From 14a57efa7f231ca74e53d4b263ec6b2f032a98e4 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 28 Nov 2022 20:59:41 +0000 Subject: [PATCH 1/2] feat: add a FastSocket API PiperOrigin-RevId: 491381130 Source-Link: https://github.com/googleapis/googleapis/commit/6485d9c71aa756107393c3e03a30c344aabcc2c6 Source-Link: https://github.com/googleapis/googleapis-gen/commit/36f17cc94e07623aa384cbd40d694c111e97e41c Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6IjM2ZjE3Y2M5NGUwNzYyM2FhMzg0Y2JkNDBkNjk0YzExMWU5N2U0MWMifQ== --- .../container/v1/ClusterManagerGrpc.java | 4086 ---------- .../container/v1beta1/ClusterManagerGrpc.java | 4345 ---------- .../container/v1/AutopilotOrBuilder.java | 38 - .../v1/ClientCertificateConfigOrBuilder.java | 38 - .../container/v1/ClusterServiceProto.java | 3333 -------- .../v1/ConfidentialNodesOrBuilder.java | 38 - .../v1/ConfigConnectorConfigOrBuilder.java | 38 - .../v1/CostManagementConfigOrBuilder.java | 38 - .../v1/DefaultSnatStatusOrBuilder.java | 38 - .../container/v1/DnsCacheConfigOrBuilder.java | 38 - .../container/v1/FastSocketOrBuilder.java | 38 - ...ersistentDiskCsiDriverConfigOrBuilder.java | 38 - .../container/v1/GcfsConfigOrBuilder.java | 38 - .../GcpFilestoreCsiDriverConfigOrBuilder.java | 38 - .../v1/GkeBackupAgentConfigOrBuilder.java | 38 - .../v1/HorizontalPodAutoscalingOrBuilder.java | 40 - .../v1/HttpLoadBalancingOrBuilder.java | 40 - .../v1/ILBSubsettingConfigOrBuilder.java | 38 - .../v1/IdentityServiceConfigOrBuilder.java | 38 - .../IntraNodeVisibilityConfigOrBuilder.java | 38 - .../v1/KubernetesDashboardOrBuilder.java | 38 - .../v1/ManagedPrometheusConfigOrBuilder.java | 38 - .../v1/MaxPodsConstraintOrBuilder.java | 38 - .../v1/NetworkPolicyConfigOrBuilder.java | 38 - ...sterMasterGlobalAccessConfigOrBuilder.java | 38 - .../v1/ServiceExternalIPsConfigOrBuilder.java | 38 - .../container/v1/ShieldedNodesOrBuilder.java | 38 - .../v1/VerticalPodAutoscalingOrBuilder.java | 38 - .../container/v1/VirtualNICOrBuilder.java | 38 - .../v1/WorkloadIdentityConfigOrBuilder.java | 50 - .../container/v1beta1/AutopilotOrBuilder.java | 38 - .../ClientCertificateConfigOrBuilder.java | 38 - .../v1beta1/ClusterServiceProto.java | 3737 --------- .../v1beta1/ConfidentialNodesOrBuilder.java | 38 - .../ConfigConnectorConfigOrBuilder.java | 38 - .../CostManagementConfigOrBuilder.java | 38 - .../v1beta1/DefaultSnatStatusOrBuilder.java | 38 - .../v1beta1/DnsCacheConfigOrBuilder.java | 38 - .../EphemeralStorageConfigOrBuilder.java | 40 - ...ersistentDiskCsiDriverConfigOrBuilder.java | 38 - .../v1beta1/GcfsConfigOrBuilder.java | 38 - .../GcpFilestoreCsiDriverConfigOrBuilder.java | 38 - .../GkeBackupAgentConfigOrBuilder.java | 38 - .../HorizontalPodAutoscalingOrBuilder.java | 40 - .../v1beta1/HttpLoadBalancingOrBuilder.java | 40 - .../v1beta1/ILBSubsettingConfigOrBuilder.java | 38 - .../IdentityServiceConfigOrBuilder.java | 38 - .../IntraNodeVisibilityConfigOrBuilder.java | 38 - .../v1beta1/KalmConfigOrBuilder.java | 41 - .../v1beta1/KubernetesDashboardOrBuilder.java | 38 - .../ManagedPrometheusConfigOrBuilder.java | 38 - .../container/v1beta1/MasterOrBuilder.java | 24 - .../v1beta1/MaxPodsConstraintOrBuilder.java | 38 - .../v1beta1/NetworkPolicyConfigOrBuilder.java | 38 - .../PodSecurityPolicyConfigOrBuilder.java | 39 - ...sterMasterGlobalAccessConfigOrBuilder.java | 38 - .../ServiceExternalIPsConfigOrBuilder.java | 38 - .../v1beta1/ShieldedNodesOrBuilder.java | 38 - .../VerticalPodAutoscalingOrBuilder.java | 38 - .../v1beta1/VirtualNICOrBuilder.java | 38 - .../container/v1/ClusterManagerClient.java | 0 .../container/v1/ClusterManagerSettings.java | 1 + .../cloud/container/v1/gapic_metadata.json | 0 .../cloud/container/v1/package-info.java | 0 .../container/v1/stub/ClusterManagerStub.java | 0 .../v1/stub/ClusterManagerStubSettings.java | 0 .../GrpcClusterManagerCallableFactory.java | 0 .../v1/stub/GrpcClusterManagerStub.java | 1 + .../v1/ClusterManagerClientTest.java | 0 .../container/v1/MockClusterManager.java | 0 .../container/v1/MockClusterManagerImpl.java | 0 .../container/v1/ClusterManagerGrpc.java | 3175 ++++++++ .../container/v1/AcceleratorConfig.java | 528 +- .../v1/AcceleratorConfigOrBuilder.java | 47 +- .../com/google/container/v1/AddonsConfig.java | 1355 +--- .../container/v1/AddonsConfigOrBuilder.java | 151 +- .../container/v1/AdvancedMachineFeatures.java | 288 +- .../v1/AdvancedMachineFeaturesOrBuilder.java | 24 +- .../v1/AuthenticatorGroupsConfig.java | 365 +- .../AuthenticatorGroupsConfigOrBuilder.java | 30 +- .../container/v1/AutoUpgradeOptions.java | 399 +- .../v1/AutoUpgradeOptionsOrBuilder.java | 36 +- .../com/google/container/v1/Autopilot.java | 275 +- .../container/v1/AutopilotOrBuilder.java | 19 + .../v1/AutoprovisioningNodePoolDefaults.java | 1109 +-- ...provisioningNodePoolDefaultsOrBuilder.java | 120 +- .../container/v1/BinaryAuthorization.java | 446 +- .../v1/BinaryAuthorizationOrBuilder.java | 34 +- .../container/v1/BlueGreenSettings.java | 1073 +-- .../v1/BlueGreenSettingsOrBuilder.java | 46 +- .../container/v1/CancelOperationRequest.java | 674 +- .../v1/CancelOperationRequestOrBuilder.java | 90 +- .../container/v1/ClientCertificateConfig.java | 285 +- .../v1/ClientCertificateConfigOrBuilder.java | 19 + .../google/container/v1/CloudRunConfig.java | 409 +- .../container/v1/CloudRunConfigOrBuilder.java | 27 +- .../java/com/google/container/v1/Cluster.java | 6124 +++++--------- .../container/v1/ClusterAutoscaling.java | 870 +- .../v1/ClusterAutoscalingOrBuilder.java | 92 +- .../google/container/v1/ClusterOrBuilder.java | 684 +- .../container/v1/ClusterServiceProto.java | 2860 +++++++ .../google/container/v1/ClusterUpdate.java | 4177 +++------- .../container/v1/ClusterUpdateOrBuilder.java | 407 +- .../v1/CompleteIPRotationRequest.java | 681 +- .../CompleteIPRotationRequestOrBuilder.java | 90 +- .../v1/CompleteNodePoolUpgradeRequest.java | 333 +- ...mpleteNodePoolUpgradeRequestOrBuilder.java | 27 +- .../container/v1/ConfidentialNodes.java | 282 +- .../v1/ConfidentialNodesOrBuilder.java | 19 + .../container/v1/ConfigConnectorConfig.java | 282 +- .../v1/ConfigConnectorConfigOrBuilder.java | 19 + .../container/v1/CostManagementConfig.java | 282 +- .../v1/CostManagementConfigOrBuilder.java | 19 + .../container/v1/CreateClusterRequest.java | 665 +- .../v1/CreateClusterRequestOrBuilder.java | 86 +- .../container/v1/CreateNodePoolRequest.java | 791 +- .../v1/CreateNodePoolRequestOrBuilder.java | 107 +- .../com/google/container/v1/DNSConfig.java | 558 +- .../container/v1/DNSConfigOrBuilder.java | 39 +- .../container/v1/DailyMaintenanceWindow.java | 399 +- .../v1/DailyMaintenanceWindowOrBuilder.java | 36 +- .../container/v1/DatabaseEncryption.java | 444 +- .../v1/DatabaseEncryptionOrBuilder.java | 33 +- .../google/container/v1/DatapathProvider.java | 82 +- .../container/v1/DefaultSnatStatus.java | 282 +- .../v1/DefaultSnatStatusOrBuilder.java | 19 + .../container/v1/DeleteClusterRequest.java | 674 +- .../v1/DeleteClusterRequestOrBuilder.java | 90 +- .../container/v1/DeleteNodePoolRequest.java | 792 +- .../v1/DeleteNodePoolRequestOrBuilder.java | 111 +- .../google/container/v1/DnsCacheConfig.java | 275 +- .../container/v1/DnsCacheConfigOrBuilder.java | 19 + .../com/google/container/v1/FastSocket.java | 275 +- .../container/v1/FastSocketOrBuilder.java | 19 + .../google/container/v1/GPUSharingConfig.java | 438 +- .../v1/GPUSharingConfigOrBuilder.java | 42 +- .../google/container/v1/GatewayAPIConfig.java | 375 +- .../v1/GatewayAPIConfigOrBuilder.java | 24 +- .../v1/GcePersistentDiskCsiDriverConfig.java | 295 +- ...ersistentDiskCsiDriverConfigOrBuilder.java | 19 + .../com/google/container/v1/GcfsConfig.java | 275 +- .../container/v1/GcfsConfigOrBuilder.java | 19 + .../v1/GcpFilestoreCsiDriverConfig.java | 289 +- .../GcpFilestoreCsiDriverConfigOrBuilder.java | 19 + .../container/v1/GetClusterRequest.java | 674 +- .../v1/GetClusterRequestOrBuilder.java | 90 +- .../container/v1/GetJSONWebKeysRequest.java | 320 +- .../v1/GetJSONWebKeysRequestOrBuilder.java | 27 +- .../container/v1/GetJSONWebKeysResponse.java | 406 +- .../v1/GetJSONWebKeysResponseOrBuilder.java | 37 +- .../container/v1/GetNodePoolRequest.java | 792 +- .../v1/GetNodePoolRequestOrBuilder.java | 111 +- .../container/v1/GetOpenIDConfigRequest.java | 320 +- .../v1/GetOpenIDConfigRequestOrBuilder.java | 27 +- .../container/v1/GetOpenIDConfigResponse.java | 939 +-- .../v1/GetOpenIDConfigResponseOrBuilder.java | 126 +- .../container/v1/GetOperationRequest.java | 674 +- .../v1/GetOperationRequestOrBuilder.java | 90 +- .../container/v1/GetServerConfigRequest.java | 554 +- .../v1/GetServerConfigRequestOrBuilder.java | 69 +- .../container/v1/GkeBackupAgentConfig.java | 282 +- .../v1/GkeBackupAgentConfigOrBuilder.java | 19 + .../v1/HorizontalPodAutoscaling.java | 289 +- .../v1/HorizontalPodAutoscalingOrBuilder.java | 21 + .../container/v1/HttpLoadBalancing.java | 282 +- .../v1/HttpLoadBalancingOrBuilder.java | 21 + .../container/v1/ILBSubsettingConfig.java | 282 +- .../v1/ILBSubsettingConfigOrBuilder.java | 19 + .../container/v1/IPAllocationPolicy.java | 1395 ++-- .../v1/IPAllocationPolicyOrBuilder.java | 165 +- .../google/container/v1/IPv6AccessType.java | 82 +- .../container/v1/IdentityServiceConfig.java | 282 +- .../v1/IdentityServiceConfigOrBuilder.java | 19 + .../v1/IntraNodeVisibilityConfig.java | 289 +- .../IntraNodeVisibilityConfigOrBuilder.java | 19 + .../java/com/google/container/v1/Jwk.java | 939 +-- .../com/google/container/v1/JwkOrBuilder.java | 99 +- .../container/v1/KubernetesDashboard.java | 282 +- .../v1/KubernetesDashboardOrBuilder.java | 19 + .../com/google/container/v1/LegacyAbac.java | 275 +- .../container/v1/LegacyAbacOrBuilder.java | 21 +- .../google/container/v1/LinuxNodeConfig.java | 631 +- .../v1/LinuxNodeConfigOrBuilder.java | 55 +- .../container/v1/ListClustersRequest.java | 554 +- .../v1/ListClustersRequestOrBuilder.java | 69 +- .../container/v1/ListClustersResponse.java | 509 +- .../v1/ListClustersResponseOrBuilder.java | 55 +- .../container/v1/ListNodePoolsRequest.java | 674 +- .../v1/ListNodePoolsRequestOrBuilder.java | 90 +- .../container/v1/ListNodePoolsResponse.java | 397 +- .../v1/ListNodePoolsResponseOrBuilder.java | 37 +- .../container/v1/ListOperationsRequest.java | 554 +- .../v1/ListOperationsRequestOrBuilder.java | 69 +- .../container/v1/ListOperationsResponse.java | 504 +- .../v1/ListOperationsResponseOrBuilder.java | 55 +- .../v1/ListUsableSubnetworksRequest.java | 514 +- ...ListUsableSubnetworksRequestOrBuilder.java | 48 +- .../v1/ListUsableSubnetworksResponse.java | 486 +- ...istUsableSubnetworksResponseOrBuilder.java | 45 +- .../container/v1/LoggingComponentConfig.java | 520 +- .../v1/LoggingComponentConfigOrBuilder.java | 54 +- .../google/container/v1/LoggingConfig.java | 326 +- .../container/v1/LoggingConfigOrBuilder.java | 26 +- .../container/v1/LoggingVariantConfig.java | 375 +- .../v1/LoggingVariantConfigOrBuilder.java | 24 +- .../v1/MaintenanceExclusionOptions.java | 386 +- .../MaintenanceExclusionOptionsOrBuilder.java | 24 +- .../container/v1/MaintenancePolicy.java | 409 +- .../v1/MaintenancePolicyOrBuilder.java | 35 +- .../container/v1/MaintenanceWindow.java | 719 +- .../v1/MaintenanceWindowOrBuilder.java | 65 +- .../container/v1/ManagedPrometheusConfig.java | 285 +- .../v1/ManagedPrometheusConfigOrBuilder.java | 19 + .../com/google/container/v1/MasterAuth.java | 816 +- .../container/v1/MasterAuthOrBuilder.java | 95 +- .../v1/MasterAuthorizedNetworksConfig.java | 1038 +-- ...sterAuthorizedNetworksConfigOrBuilder.java | 57 +- .../container/v1/MaxPodsConstraint.java | 282 +- .../v1/MaxPodsConstraintOrBuilder.java | 19 + .../google/container/v1/MeshCertificates.java | 331 +- .../v1/MeshCertificatesOrBuilder.java | 26 +- .../v1/MonitoringComponentConfig.java | 542 +- .../MonitoringComponentConfigOrBuilder.java | 54 +- .../google/container/v1/MonitoringConfig.java | 433 +- .../v1/MonitoringConfigOrBuilder.java | 34 +- .../google/container/v1/NetworkConfig.java | 963 +-- .../container/v1/NetworkConfigOrBuilder.java | 86 +- .../google/container/v1/NetworkPolicy.java | 394 +- .../container/v1/NetworkPolicyConfig.java | 282 +- .../v1/NetworkPolicyConfigOrBuilder.java | 19 + .../container/v1/NetworkPolicyOrBuilder.java | 27 +- .../com/google/container/v1/NetworkTags.java | 341 +- .../container/v1/NetworkTagsOrBuilder.java | 36 +- .../com/google/container/v1/NodeConfig.java | 3279 +++----- .../container/v1/NodeConfigDefaults.java | 419 +- .../v1/NodeConfigDefaultsOrBuilder.java | 34 +- .../container/v1/NodeConfigOrBuilder.java | 355 +- .../container/v1/NodeKubeletConfig.java | 514 +- .../v1/NodeKubeletConfigOrBuilder.java | 47 +- .../com/google/container/v1/NodeLabels.java | 496 +- .../container/v1/NodeLabelsOrBuilder.java | 49 +- .../google/container/v1/NodeManagement.java | 399 +- .../container/v1/NodeManagementOrBuilder.java | 32 +- .../container/v1/NodeNetworkConfig.java | 1118 +-- .../v1/NodeNetworkConfigOrBuilder.java | 68 +- .../com/google/container/v1/NodePool.java | 3939 ++++----- .../container/v1/NodePoolAutoConfig.java | 333 +- .../v1/NodePoolAutoConfigOrBuilder.java | 26 +- .../container/v1/NodePoolAutoscaling.java | 596 +- .../v1/NodePoolAutoscalingOrBuilder.java | 42 +- .../google/container/v1/NodePoolDefaults.java | 328 +- .../v1/NodePoolDefaultsOrBuilder.java | 26 +- .../container/v1/NodePoolLoggingConfig.java | 330 +- .../v1/NodePoolLoggingConfigOrBuilder.java | 26 +- .../container/v1/NodePoolOrBuilder.java | 208 +- .../container/v1/NodePoolUpdateStrategy.java | 77 +- .../com/google/container/v1/NodeTaint.java | 521 +- .../container/v1/NodeTaintOrBuilder.java | 42 +- .../com/google/container/v1/NodeTaints.java | 397 +- .../container/v1/NodeTaintsOrBuilder.java | 37 +- .../container/v1/NotificationConfig.java | 1238 ++- .../v1/NotificationConfigOrBuilder.java | 26 +- .../com/google/container/v1/Operation.java | 2209 ++--- .../container/v1/OperationOrBuilder.java | 265 +- .../container/v1/OperationProgress.java | 1276 ++- .../v1/OperationProgressOrBuilder.java | 69 +- .../container/v1/PrivateClusterConfig.java | 879 +- .../v1/PrivateClusterConfigOrBuilder.java | 92 +- ...rivateClusterMasterGlobalAccessConfig.java | 313 +- ...sterMasterGlobalAccessConfigOrBuilder.java | 19 + .../container/v1/PrivateIPv6GoogleAccess.java | 84 +- .../container/v1/RecurringTimeWindow.java | 395 +- .../v1/RecurringTimeWindowOrBuilder.java | 35 +- .../google/container/v1/ReleaseChannel.java | 361 +- .../container/v1/ReleaseChannelOrBuilder.java | 24 +- .../container/v1/ReservationAffinity.java | 565 +- .../v1/ReservationAffinityOrBuilder.java | 51 +- .../google/container/v1/ResourceLabels.java | 496 +- .../container/v1/ResourceLabelsOrBuilder.java | 49 +- .../google/container/v1/ResourceLimit.java | 392 +- .../container/v1/ResourceLimitOrBuilder.java | 33 +- .../v1/ResourceUsageExportConfig.java | 1360 ++-- .../ResourceUsageExportConfigOrBuilder.java | 70 +- .../v1/RollbackNodePoolUpgradeRequest.java | 833 +- ...llbackNodePoolUpgradeRequestOrBuilder.java | 114 +- .../google/container/v1/SandboxConfig.java | 350 +- .../container/v1/SandboxConfigOrBuilder.java | 24 +- .../container/v1/SecurityBulletinEvent.java | 1081 +-- .../v1/SecurityBulletinEventOrBuilder.java | 129 +- .../com/google/container/v1/ServerConfig.java | 1381 ++-- .../container/v1/ServerConfigOrBuilder.java | 105 +- .../v1/ServiceExternalIPsConfig.java | 289 +- .../v1/ServiceExternalIPsConfigOrBuilder.java | 19 + .../container/v1/SetAddonsConfigRequest.java | 807 +- .../v1/SetAddonsConfigRequestOrBuilder.java | 110 +- .../google/container/v1/SetLabelsRequest.java | 1045 ++- .../v1/SetLabelsRequestOrBuilder.java | 145 +- .../container/v1/SetLegacyAbacRequest.java | 710 +- .../v1/SetLegacyAbacRequestOrBuilder.java | 93 +- .../container/v1/SetLocationsRequest.java | 781 +- .../v1/SetLocationsRequestOrBuilder.java | 108 +- .../v1/SetLoggingServiceRequest.java | 758 +- .../v1/SetLoggingServiceRequestOrBuilder.java | 99 +- .../v1/SetMaintenancePolicyRequest.java | 689 +- .../SetMaintenancePolicyRequestOrBuilder.java | 74 +- .../container/v1/SetMasterAuthRequest.java | 958 +-- .../v1/SetMasterAuthRequestOrBuilder.java | 121 +- .../v1/SetMonitoringServiceRequest.java | 758 +- .../SetMonitoringServiceRequestOrBuilder.java | 99 +- .../container/v1/SetNetworkPolicyRequest.java | 810 +- .../v1/SetNetworkPolicyRequestOrBuilder.java | 110 +- .../v1/SetNodePoolAutoscalingRequest.java | 944 +-- ...etNodePoolAutoscalingRequestOrBuilder.java | 131 +- .../v1/SetNodePoolManagementRequest.java | 944 +-- ...SetNodePoolManagementRequestOrBuilder.java | 131 +- .../container/v1/SetNodePoolSizeRequest.java | 837 +- .../v1/SetNodePoolSizeRequestOrBuilder.java | 114 +- .../container/v1/ShieldedInstanceConfig.java | 320 +- .../v1/ShieldedInstanceConfigOrBuilder.java | 24 +- .../google/container/v1/ShieldedNodes.java | 278 +- .../container/v1/ShieldedNodesOrBuilder.java | 19 + .../com/google/container/v1/StackType.java | 82 +- .../container/v1/StartIPRotationRequest.java | 710 +- .../v1/StartIPRotationRequestOrBuilder.java | 93 +- .../google/container/v1/StatusCondition.java | 560 +- .../v1/StatusConditionOrBuilder.java | 53 +- .../com/google/container/v1/TimeWindow.java | 570 +- .../container/v1/TimeWindowOrBuilder.java | 54 +- .../container/v1/UpdateClusterRequest.java | 800 +- .../v1/UpdateClusterRequestOrBuilder.java | 107 +- .../container/v1/UpdateMasterRequest.java | 751 +- .../v1/UpdateMasterRequestOrBuilder.java | 99 +- .../container/v1/UpdateNodePoolRequest.java | 2261 ++---- .../v1/UpdateNodePoolRequestOrBuilder.java | 259 +- .../container/v1/UpgradeAvailableEvent.java | 541 +- .../v1/UpgradeAvailableEventOrBuilder.java | 50 +- .../com/google/container/v1/UpgradeEvent.java | 706 +- .../container/v1/UpgradeEventOrBuilder.java | 68 +- .../container/v1/UpgradeResourceType.java | 77 +- .../google/container/v1/UsableSubnetwork.java | 787 +- .../v1/UsableSubnetworkOrBuilder.java | 84 +- .../v1/UsableSubnetworkSecondaryRange.java | 566 +- ...ableSubnetworkSecondaryRangeOrBuilder.java | 42 +- .../container/v1/VerticalPodAutoscaling.java | 282 +- .../v1/VerticalPodAutoscalingOrBuilder.java | 19 + .../com/google/container/v1/VirtualNIC.java | 275 +- .../container/v1/VirtualNICOrBuilder.java | 19 + .../container/v1/WorkloadIdentityConfig.java | 320 +- .../v1/WorkloadIdentityConfigOrBuilder.java | 29 + .../container/v1/WorkloadMetadataConfig.java | 369 +- .../v1/WorkloadMetadataConfigOrBuilder.java | 24 +- .../google/container/v1/cluster_service.proto | 0 .../v1beta1/ClusterManagerClient.java | 2 + .../v1beta1/ClusterManagerSettings.java | 1 + .../container/v1beta1/gapic_metadata.json | 0 .../cloud/container/v1beta1/package-info.java | 0 .../v1beta1/stub/ClusterManagerStub.java | 0 .../stub/ClusterManagerStubSettings.java | 0 .../GrpcClusterManagerCallableFactory.java | 0 .../v1beta1/stub/GrpcClusterManagerStub.java | 1 + .../v1beta1/ClusterManagerClientTest.java | 4 + .../container/v1beta1/MockClusterManager.java | 0 .../v1beta1/MockClusterManagerImpl.java | 0 .../container/v1beta1/ClusterManagerGrpc.java | 3261 ++++++++ .../container/v1beta1/AcceleratorConfig.java | 592 +- .../v1beta1/AcceleratorConfigOrBuilder.java | 57 +- .../container/v1beta1/AddonsConfig.java | 1725 ++-- .../v1beta1/AddonsConfigOrBuilder.java | 213 +- .../v1beta1/AdvancedMachineFeatures.java | 292 +- .../AdvancedMachineFeaturesOrBuilder.java | 24 +- .../v1beta1/AuthenticatorGroupsConfig.java | 368 +- .../AuthenticatorGroupsConfigOrBuilder.java | 30 +- .../container/v1beta1/AutoUpgradeOptions.java | 402 +- .../v1beta1/AutoUpgradeOptionsOrBuilder.java | 36 +- .../google/container/v1beta1/Autopilot.java | 275 +- .../container/v1beta1/AutopilotOrBuilder.java | 19 + .../AutoprovisioningNodePoolDefaults.java | 1129 +-- ...provisioningNodePoolDefaultsOrBuilder.java | 120 +- .../v1beta1/BinaryAuthorization.java | 505 +- .../v1beta1/BinaryAuthorizationOrBuilder.java | 44 +- .../container/v1beta1/BlueGreenSettings.java | 1113 +-- .../v1beta1/BlueGreenSettingsOrBuilder.java | 49 +- .../v1beta1/CancelOperationRequest.java | 723 +- .../CancelOperationRequestOrBuilder.java | 102 +- .../v1beta1/ClientCertificateConfig.java | 289 +- .../ClientCertificateConfigOrBuilder.java | 19 + .../container/v1beta1/CloudRunConfig.java | 433 +- .../v1beta1/CloudRunConfigOrBuilder.java | 27 +- .../com/google/container/v1beta1/Cluster.java | 7107 ++++++----------- .../container/v1beta1/ClusterAutoscaling.java | 880 +- .../v1beta1/ClusterAutoscalingOrBuilder.java | 95 +- .../container/v1beta1/ClusterOrBuilder.java | 791 +- .../v1beta1/ClusterServiceProto.java | 3217 ++++++++ .../container/v1beta1/ClusterTelemetry.java | 376 +- .../v1beta1/ClusterTelemetryOrBuilder.java | 24 +- .../container/v1beta1/ClusterUpdate.java | 5279 ++++-------- .../v1beta1/ClusterUpdateOrBuilder.java | 594 +- .../v1beta1/CompleteIPRotationRequest.java | 726 +- .../CompleteIPRotationRequestOrBuilder.java | 102 +- .../CompleteNodePoolUpgradeRequest.java | 333 +- ...mpleteNodePoolUpgradeRequestOrBuilder.java | 27 +- .../container/v1beta1/ConfidentialNodes.java | 282 +- .../v1beta1/ConfidentialNodesOrBuilder.java | 19 + .../v1beta1/ConfigConnectorConfig.java | 289 +- .../ConfigConnectorConfigOrBuilder.java | 19 + .../v1beta1/CostManagementConfig.java | 289 +- .../CostManagementConfigOrBuilder.java | 19 + .../v1beta1/CreateClusterRequest.java | 710 +- .../CreateClusterRequestOrBuilder.java | 92 +- .../v1beta1/CreateNodePoolRequest.java | 856 +- .../CreateNodePoolRequestOrBuilder.java | 122 +- .../google/container/v1beta1/DNSConfig.java | 565 +- .../container/v1beta1/DNSConfigOrBuilder.java | 39 +- .../v1beta1/DailyMaintenanceWindow.java | 406 +- .../DailyMaintenanceWindowOrBuilder.java | 36 +- .../container/v1beta1/DatabaseEncryption.java | 451 +- .../v1beta1/DatabaseEncryptionOrBuilder.java | 33 +- .../container/v1beta1/DatapathProvider.java | 82 +- .../container/v1beta1/DefaultSnatStatus.java | 282 +- .../v1beta1/DefaultSnatStatusOrBuilder.java | 19 + .../v1beta1/DeleteClusterRequest.java | 723 +- .../DeleteClusterRequestOrBuilder.java | 102 +- .../v1beta1/DeleteNodePoolRequest.java | 862 +- .../DeleteNodePoolRequestOrBuilder.java | 129 +- .../container/v1beta1/DnsCacheConfig.java | 282 +- .../v1beta1/DnsCacheConfigOrBuilder.java | 19 + .../v1beta1/EphemeralStorageConfig.java | 286 +- .../EphemeralStorageConfigOrBuilder.java | 21 + .../google/container/v1beta1/FastSocket.java | 490 ++ .../v1beta1/FastSocketOrBuilder.java | 19 + .../container/v1beta1/GPUSharingConfig.java | 446 +- .../v1beta1/GPUSharingConfigOrBuilder.java | 42 +- .../container/v1beta1/GatewayAPIConfig.java | 382 +- .../v1beta1/GatewayAPIConfigOrBuilder.java | 24 +- .../GcePersistentDiskCsiDriverConfig.java | 302 +- ...ersistentDiskCsiDriverConfigOrBuilder.java | 19 + .../google/container/v1beta1/GcfsConfig.java | 279 +- .../v1beta1/GcfsConfigOrBuilder.java | 19 + .../v1beta1/GcpFilestoreCsiDriverConfig.java | 292 +- .../GcpFilestoreCsiDriverConfigOrBuilder.java | 19 + .../container/v1beta1/GetClusterRequest.java | 716 +- .../v1beta1/GetClusterRequestOrBuilder.java | 102 +- .../v1beta1/GetJSONWebKeysRequest.java | 327 +- .../GetJSONWebKeysRequestOrBuilder.java | 27 +- .../v1beta1/GetJSONWebKeysResponse.java | 410 +- .../GetJSONWebKeysResponseOrBuilder.java | 37 +- .../container/v1beta1/GetNodePoolRequest.java | 858 +- .../v1beta1/GetNodePoolRequestOrBuilder.java | 129 +- .../v1beta1/GetOpenIDConfigRequest.java | 327 +- .../GetOpenIDConfigRequestOrBuilder.java | 27 +- .../v1beta1/GetOpenIDConfigResponse.java | 943 +-- .../GetOpenIDConfigResponseOrBuilder.java | 126 +- .../v1beta1/GetOperationRequest.java | 723 +- .../v1beta1/GetOperationRequestOrBuilder.java | 102 +- .../v1beta1/GetServerConfigRequest.java | 582 +- .../GetServerConfigRequestOrBuilder.java | 75 +- .../v1beta1/GkeBackupAgentConfig.java | 289 +- .../GkeBackupAgentConfigOrBuilder.java | 19 + .../v1beta1/HorizontalPodAutoscaling.java | 292 +- .../HorizontalPodAutoscalingOrBuilder.java | 21 + .../container/v1beta1/HttpLoadBalancing.java | 282 +- .../v1beta1/HttpLoadBalancingOrBuilder.java | 21 + .../v1beta1/ILBSubsettingConfig.java | 289 +- .../v1beta1/ILBSubsettingConfigOrBuilder.java | 19 + .../container/v1beta1/IPAllocationPolicy.java | 1783 ++--- .../v1beta1/IPAllocationPolicyOrBuilder.java | 186 +- .../v1beta1/IdentityServiceConfig.java | 289 +- .../IdentityServiceConfigOrBuilder.java | 19 + .../v1beta1/IntraNodeVisibilityConfig.java | 292 +- .../IntraNodeVisibilityConfigOrBuilder.java | 19 + .../google/container/v1beta1/IstioConfig.java | 483 +- .../v1beta1/IstioConfigOrBuilder.java | 48 +- .../com/google/container/v1beta1/Jwk.java | 942 +-- .../container/v1beta1/JwkOrBuilder.java | 99 +- .../google/container/v1beta1/KalmConfig.java | 307 +- .../v1beta1/KalmConfigOrBuilder.java | 21 + .../v1beta1/KubernetesDashboard.java | 289 +- .../v1beta1/KubernetesDashboardOrBuilder.java | 19 + .../google/container/v1beta1/LegacyAbac.java | 279 +- .../v1beta1/LegacyAbacOrBuilder.java | 21 +- .../container/v1beta1/LinuxNodeConfig.java | 636 +- .../v1beta1/LinuxNodeConfigOrBuilder.java | 55 +- .../v1beta1/ListClustersRequest.java | 582 +- .../v1beta1/ListClustersRequestOrBuilder.java | 75 +- .../v1beta1/ListClustersResponse.java | 511 +- .../ListClustersResponseOrBuilder.java | 54 +- .../v1beta1/ListLocationsRequest.java | 327 +- .../ListLocationsRequestOrBuilder.java | 27 +- .../v1beta1/ListLocationsResponse.java | 482 +- .../ListLocationsResponseOrBuilder.java | 45 +- .../v1beta1/ListNodePoolsRequest.java | 723 +- .../ListNodePoolsRequestOrBuilder.java | 102 +- .../v1beta1/ListNodePoolsResponse.java | 405 +- .../ListNodePoolsResponseOrBuilder.java | 36 +- .../v1beta1/ListOperationsRequest.java | 582 +- .../ListOperationsRequestOrBuilder.java | 75 +- .../v1beta1/ListOperationsResponse.java | 512 +- .../ListOperationsResponseOrBuilder.java | 54 +- .../v1beta1/ListUsableSubnetworksRequest.java | 517 +- ...ListUsableSubnetworksRequestOrBuilder.java | 48 +- .../ListUsableSubnetworksResponse.java | 483 +- ...istUsableSubnetworksResponseOrBuilder.java | 45 +- .../google/container/v1beta1/Location.java | 490 +- .../container/v1beta1/LocationOrBuilder.java | 36 +- .../v1beta1/LoggingComponentConfig.java | 554 +- .../LoggingComponentConfigOrBuilder.java | 59 +- .../container/v1beta1/LoggingConfig.java | 336 +- .../v1beta1/LoggingConfigOrBuilder.java | 26 +- .../v1beta1/LoggingVariantConfig.java | 388 +- .../LoggingVariantConfigOrBuilder.java | 24 +- .../v1beta1/MaintenanceExclusionOptions.java | 389 +- .../MaintenanceExclusionOptionsOrBuilder.java | 24 +- .../container/v1beta1/MaintenancePolicy.java | 406 +- .../v1beta1/MaintenancePolicyOrBuilder.java | 35 +- .../container/v1beta1/MaintenanceWindow.java | 753 +- .../v1beta1/MaintenanceWindowOrBuilder.java | 78 +- .../v1beta1/ManagedPrometheusConfig.java | 289 +- .../ManagedPrometheusConfigOrBuilder.java | 19 + .../com/google/container/v1beta1/Master.java | 237 +- .../google/container/v1beta1/MasterAuth.java | 807 +- .../v1beta1/MasterAuthOrBuilder.java | 94 +- .../MasterAuthorizedNetworksConfig.java | 1082 +-- ...sterAuthorizedNetworksConfigOrBuilder.java | 66 +- .../container/v1beta1/MasterOrBuilder.java | 9 + .../container/v1beta1/MaxPodsConstraint.java | 282 +- .../v1beta1/MaxPodsConstraintOrBuilder.java | 19 + .../container/v1beta1/MeshCertificates.java | 334 +- .../v1beta1/MeshCertificatesOrBuilder.java | 26 +- .../v1beta1/MonitoringComponentConfig.java | 561 +- .../MonitoringComponentConfigOrBuilder.java | 59 +- .../container/v1beta1/MonitoringConfig.java | 449 +- .../v1beta1/MonitoringConfigOrBuilder.java | 37 +- .../container/v1beta1/NetworkConfig.java | 1035 +-- .../v1beta1/NetworkConfigOrBuilder.java | 98 +- .../container/v1beta1/NetworkPolicy.java | 406 +- .../v1beta1/NetworkPolicyConfig.java | 289 +- .../v1beta1/NetworkPolicyConfigOrBuilder.java | 19 + .../v1beta1/NetworkPolicyOrBuilder.java | 27 +- .../google/container/v1beta1/NetworkTags.java | 345 +- .../v1beta1/NetworkTagsOrBuilder.java | 36 +- .../google/container/v1beta1/NodeConfig.java | 3571 ++++----- .../container/v1beta1/NodeConfigDefaults.java | 422 +- .../v1beta1/NodeConfigDefaultsOrBuilder.java | 34 +- .../v1beta1/NodeConfigOrBuilder.java | 380 +- .../container/v1beta1/NodeKubeletConfig.java | 514 +- .../v1beta1/NodeKubeletConfigOrBuilder.java | 47 +- .../google/container/v1beta1/NodeLabels.java | 500 +- .../v1beta1/NodeLabelsOrBuilder.java | 49 +- .../container/v1beta1/NodeManagement.java | 406 +- .../v1beta1/NodeManagementOrBuilder.java | 32 +- .../container/v1beta1/NodeNetworkConfig.java | 1289 ++- .../v1beta1/NodeNetworkConfigOrBuilder.java | 71 +- .../google/container/v1beta1/NodePool.java | 4051 ++++------ .../container/v1beta1/NodePoolAutoConfig.java | 333 +- .../v1beta1/NodePoolAutoConfigOrBuilder.java | 26 +- .../v1beta1/NodePoolAutoscaling.java | 620 +- .../v1beta1/NodePoolAutoscalingOrBuilder.java | 42 +- .../container/v1beta1/NodePoolDefaults.java | 334 +- .../v1beta1/NodePoolDefaultsOrBuilder.java | 26 +- .../v1beta1/NodePoolLoggingConfig.java | 337 +- .../NodePoolLoggingConfigOrBuilder.java | 26 +- .../container/v1beta1/NodePoolOrBuilder.java | 208 +- .../v1beta1/NodePoolUpdateStrategy.java | 77 +- .../google/container/v1beta1/NodeTaint.java | 521 +- .../container/v1beta1/NodeTaintOrBuilder.java | 42 +- .../google/container/v1beta1/NodeTaints.java | 395 +- .../v1beta1/NodeTaintsOrBuilder.java | 36 +- .../container/v1beta1/NotificationConfig.java | 1286 ++- .../v1beta1/NotificationConfigOrBuilder.java | 26 +- .../google/container/v1beta1/Operation.java | 2210 ++--- .../container/v1beta1/OperationOrBuilder.java | 265 +- .../container/v1beta1/OperationProgress.java | 1266 ++- .../v1beta1/OperationProgressOrBuilder.java | 69 +- .../v1beta1/PodSecurityPolicyConfig.java | 289 +- .../PodSecurityPolicyConfigOrBuilder.java | 20 + .../v1beta1/PrivateClusterConfig.java | 894 +-- .../PrivateClusterConfigOrBuilder.java | 92 +- ...rivateClusterMasterGlobalAccessConfig.java | 328 +- ...sterMasterGlobalAccessConfigOrBuilder.java | 19 + .../v1beta1/PrivateIPv6GoogleAccess.java | 84 +- .../container/v1beta1/ProtectConfig.java | 510 +- .../v1beta1/ProtectConfigOrBuilder.java | 50 +- .../v1beta1/RecurringTimeWindow.java | 408 +- .../v1beta1/RecurringTimeWindowOrBuilder.java | 35 +- .../container/v1beta1/ReleaseChannel.java | 376 +- .../v1beta1/ReleaseChannelOrBuilder.java | 24 +- .../v1beta1/ReservationAffinity.java | 576 +- .../v1beta1/ReservationAffinityOrBuilder.java | 51 +- .../container/v1beta1/ResourceLabels.java | 503 +- .../v1beta1/ResourceLabelsOrBuilder.java | 49 +- .../container/v1beta1/ResourceLimit.java | 396 +- .../v1beta1/ResourceLimitOrBuilder.java | 33 +- .../v1beta1/ResourceUsageExportConfig.java | 1436 ++-- .../ResourceUsageExportConfigOrBuilder.java | 73 +- .../RollbackNodePoolUpgradeRequest.java | 884 +- ...llbackNodePoolUpgradeRequestOrBuilder.java | 120 +- .../container/v1beta1/SandboxConfig.java | 474 +- .../v1beta1/SandboxConfigOrBuilder.java | 45 +- .../v1beta1/SecurityBulletinEvent.java | 1088 +-- .../SecurityBulletinEventOrBuilder.java | 129 +- .../container/v1beta1/ServerConfig.java | 2699 +++---- .../v1beta1/ServerConfigOrBuilder.java | 149 +- .../v1beta1/ServiceExternalIPsConfig.java | 292 +- .../ServiceExternalIPsConfigOrBuilder.java | 19 + .../v1beta1/SetAddonsConfigRequest.java | 853 +- .../SetAddonsConfigRequestOrBuilder.java | 122 +- .../container/v1beta1/SetLabelsRequest.java | 1092 ++- .../v1beta1/SetLabelsRequestOrBuilder.java | 157 +- .../v1beta1/SetLegacyAbacRequest.java | 759 +- .../SetLegacyAbacRequestOrBuilder.java | 105 +- .../v1beta1/SetLocationsRequest.java | 830 +- .../v1beta1/SetLocationsRequestOrBuilder.java | 120 +- .../v1beta1/SetLoggingServiceRequest.java | 803 +- .../SetLoggingServiceRequestOrBuilder.java | 111 +- .../v1beta1/SetMaintenancePolicyRequest.java | 692 +- .../SetMaintenancePolicyRequestOrBuilder.java | 74 +- .../v1beta1/SetMasterAuthRequest.java | 1029 +-- .../SetMasterAuthRequestOrBuilder.java | 136 +- .../v1beta1/SetMonitoringServiceRequest.java | 783 +- .../SetMonitoringServiceRequestOrBuilder.java | 111 +- .../v1beta1/SetNetworkPolicyRequest.java | 853 +- .../SetNetworkPolicyRequestOrBuilder.java | 122 +- .../SetNodePoolAutoscalingRequest.java | 975 +-- ...etNodePoolAutoscalingRequestOrBuilder.java | 137 +- .../v1beta1/SetNodePoolManagementRequest.java | 973 +-- ...SetNodePoolManagementRequestOrBuilder.java | 145 +- .../v1beta1/SetNodePoolSizeRequest.java | 907 +-- .../SetNodePoolSizeRequestOrBuilder.java | 132 +- .../v1beta1/ShieldedInstanceConfig.java | 327 +- .../ShieldedInstanceConfigOrBuilder.java | 24 +- .../container/v1beta1/ShieldedNodes.java | 282 +- .../v1beta1/ShieldedNodesOrBuilder.java | 19 + .../v1beta1/StartIPRotationRequest.java | 759 +- .../StartIPRotationRequestOrBuilder.java | 105 +- .../container/v1beta1/StatusCondition.java | 568 +- .../v1beta1/StatusConditionOrBuilder.java | 53 +- .../google/container/v1beta1/TimeWindow.java | 586 +- .../v1beta1/TimeWindowOrBuilder.java | 54 +- .../google/container/v1beta1/TpuConfig.java | 389 +- .../container/v1beta1/TpuConfigOrBuilder.java | 33 +- .../v1beta1/UpdateClusterRequest.java | 856 +- .../UpdateClusterRequestOrBuilder.java | 122 +- .../v1beta1/UpdateMasterRequest.java | 800 +- .../v1beta1/UpdateMasterRequestOrBuilder.java | 111 +- .../v1beta1/UpdateNodePoolRequest.java | 2542 +++--- .../UpdateNodePoolRequestOrBuilder.java | 292 +- .../v1beta1/UpgradeAvailableEvent.java | 646 +- .../UpgradeAvailableEventOrBuilder.java | 58 +- .../container/v1beta1/UpgradeEvent.java | 717 +- .../v1beta1/UpgradeEventOrBuilder.java | 68 +- .../v1beta1/UpgradeResourceType.java | 77 +- .../container/v1beta1/UsableSubnetwork.java | 834 +- .../v1beta1/UsableSubnetworkOrBuilder.java | 92 +- .../UsableSubnetworkSecondaryRange.java | 569 +- ...ableSubnetworkSecondaryRangeOrBuilder.java | 42 +- .../v1beta1/VerticalPodAutoscaling.java | 289 +- .../VerticalPodAutoscalingOrBuilder.java | 19 + .../google/container/v1beta1/VirtualNIC.java | 279 +- .../v1beta1/VirtualNICOrBuilder.java | 19 + .../container/v1beta1/WindowsVersions.java | 1002 +-- .../v1beta1/WindowsVersionsOrBuilder.java | 47 +- .../container/v1beta1/WorkloadALTSConfig.java | 330 +- .../v1beta1/WorkloadALTSConfigOrBuilder.java | 26 +- .../v1beta1/WorkloadCertificates.java | 341 +- .../WorkloadCertificatesOrBuilder.java | 26 +- .../container/v1beta1/WorkloadConfig.java | 386 +- .../v1beta1/WorkloadConfigOrBuilder.java | 27 +- .../v1beta1/WorkloadIdentityConfig.java | 512 +- .../WorkloadIdentityConfigOrBuilder.java | 53 +- .../v1beta1/WorkloadMetadataConfig.java | 605 +- .../WorkloadMetadataConfigOrBuilder.java | 52 +- .../container/v1beta1/cluster_service.proto | 17 +- 672 files changed, 98624 insertions(+), 158708 deletions(-) delete mode 100644 java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java delete mode 100644 java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java delete mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java (99%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java (99%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java (100%) rename {java-container => owl-bot-staging/java-container/v1}/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java (100%) create mode 100644 owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java (74%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java (82%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java (57%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java (74%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java (82%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java (77%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java (74%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java (88%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java (89%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java (55%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java (54%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java (53%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java (54%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java (75%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java (65%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java (65%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java (77%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java (83%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java (50%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java (76%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java (53%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java (56%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java (78%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java (79%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java (75%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java (75%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java (88%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java (58%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java (56%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java (77%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java (90%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java (77%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java (84%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java (57%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java (77%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java (76%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java (76%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java (59%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java (86%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java (59%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java (58%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java (75%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java (81%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java (60%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java (76%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java (82%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java (55%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java (58%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java (57%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java (60%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java (52%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java (75%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java (80%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java (74%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java (78%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java (75%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java (66%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java (76%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java (87%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java (70%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java (74%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java (71%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java (69%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java (64%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java (63%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java (66%) create mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java (68%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java (56%) rename {java-container => owl-bot-staging/java-container/v1}/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto (100%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java (99%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java (99%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json (100%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java (100%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java (100%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java (100%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java (100%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java (99%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java (99%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java (100%) rename {java-container => owl-bot-staging/java-container/v1beta1}/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java (100%) create mode 100644 owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java (57%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java (86%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java (88%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetry.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java (52%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java (82%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java (56%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java (65%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java (55%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java (62%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java (53%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java (54%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java (75%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java (65%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java (65%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java (77%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java (84%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java (50%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java (61%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java (50%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java (53%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java (74%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java (54%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java (57%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java (74%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java (57%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java (75%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java (52%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java (74%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java (86%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java (58%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java (56%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java (77%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java (90%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java (77%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java (84%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java (57%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java (75%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java (86%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java (60%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java (59%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java (76%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java (82%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java (58%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java (75%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java (82%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java (56%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java (57%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java (51%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java (57%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java (58%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java (50%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java (56%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java (75%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java (80%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java (75%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java (63%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java (73%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java (59%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java (61%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java (74%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java (85%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java (71%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java (77%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java (74%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java (67%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java (64%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java (68%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java (64%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java (63%) create mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java (59%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java (70%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java (72%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java (75%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java (62%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java (69%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java (65%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java (66%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java (52%) rename {java-container => owl-bot-staging/java-container/v1beta1}/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto (99%) diff --git a/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java b/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java deleted file mode 100644 index c1c2f1dd4085..000000000000 --- a/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java +++ /dev/null @@ -1,4086 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.container.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Google Kubernetes Engine Cluster Manager v1
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/container/v1/cluster_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ClusterManagerGrpc { - - private ClusterManagerGrpc() {} - - public static final String SERVICE_NAME = "google.container.v1.ClusterManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.ListClustersRequest, com.google.container.v1.ListClustersResponse> - getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.container.v1.ListClustersRequest.class, - responseType = com.google.container.v1.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.ListClustersRequest, com.google.container.v1.ListClustersResponse> - getListClustersMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.ListClustersRequest, - com.google.container.v1.ListClustersResponse> - getListClustersMethod; - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - ClusterManagerGrpc.getListClustersMethod = - getListClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListClustersRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListClustersResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster> - getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.container.v1.GetClusterRequest.class, - responseType = com.google.container.v1.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster> - getGetClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster> - getGetClusterMethod; - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - ClusterManagerGrpc.getGetClusterMethod = - getGetClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation> - getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.container.v1.CreateClusterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation> - getCreateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation> - getCreateClusterMethod; - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - ClusterManagerGrpc.getCreateClusterMethod = - getCreateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CreateClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation> - getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.container.v1.UpdateClusterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation> - getUpdateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation> - getUpdateClusterMethod; - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - ClusterManagerGrpc.getUpdateClusterMethod = - getUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.UpdateClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation> - getUpdateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", - requestType = com.google.container.v1.UpdateNodePoolRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation> - getUpdateNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation> - getUpdateNodePoolMethod; - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - ClusterManagerGrpc.getUpdateNodePoolMethod = - getUpdateNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.UpdateNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) - .build(); - } - } - } - return getUpdateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolAutoscalingRequest, com.google.container.v1.Operation> - getSetNodePoolAutoscalingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", - requestType = com.google.container.v1.SetNodePoolAutoscalingRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolAutoscalingRequest, com.google.container.v1.Operation> - getSetNodePoolAutoscalingMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolAutoscalingRequest, - com.google.container.v1.Operation> - getSetNodePoolAutoscalingMethod; - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) - == null) { - ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = - getSetNodePoolAutoscalingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNodePoolAutoscalingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) - .build(); - } - } - } - return getSetNodePoolAutoscalingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation> - getSetLoggingServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", - requestType = com.google.container.v1.SetLoggingServiceRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation> - getSetLoggingServiceMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation> - getSetLoggingServiceMethod; - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - ClusterManagerGrpc.getSetLoggingServiceMethod = - getSetLoggingServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLoggingServiceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) - .build(); - } - } - } - return getSetLoggingServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation> - getSetMonitoringServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", - requestType = com.google.container.v1.SetMonitoringServiceRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation> - getSetMonitoringServiceMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation> - getSetMonitoringServiceMethod; - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) - == null) { - ClusterManagerGrpc.getSetMonitoringServiceMethod = - getSetMonitoringServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetMonitoringServiceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) - .build(); - } - } - } - return getSetMonitoringServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation> - getSetAddonsConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", - requestType = com.google.container.v1.SetAddonsConfigRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation> - getSetAddonsConfigMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation> - getSetAddonsConfigMethod; - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - ClusterManagerGrpc.getSetAddonsConfigMethod = - getSetAddonsConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetAddonsConfigRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) - .build(); - } - } - } - return getSetAddonsConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation> - getSetLocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLocations", - requestType = com.google.container.v1.SetLocationsRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation> - getSetLocationsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation> - getSetLocationsMethod; - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - ClusterManagerGrpc.getSetLocationsMethod = - getSetLocationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLocationsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetLocations")) - .build(); - } - } - } - return getSetLocationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation> - getUpdateMasterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", - requestType = com.google.container.v1.UpdateMasterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation> - getUpdateMasterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation> - getUpdateMasterMethod; - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - ClusterManagerGrpc.getUpdateMasterMethod = - getUpdateMasterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.UpdateMasterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) - .build(); - } - } - } - return getUpdateMasterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation> - getSetMasterAuthMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", - requestType = com.google.container.v1.SetMasterAuthRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation> - getSetMasterAuthMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation> - getSetMasterAuthMethod; - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - ClusterManagerGrpc.getSetMasterAuthMethod = - getSetMasterAuthMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetMasterAuthRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) - .build(); - } - } - } - return getSetMasterAuthMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation> - getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.container.v1.DeleteClusterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation> - getDeleteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation> - getDeleteClusterMethod; - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - ClusterManagerGrpc.getDeleteClusterMethod = - getDeleteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.DeleteClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.ListOperationsRequest, - com.google.container.v1.ListOperationsResponse> - getListOperationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOperations", - requestType = com.google.container.v1.ListOperationsRequest.class, - responseType = com.google.container.v1.ListOperationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.ListOperationsRequest, - com.google.container.v1.ListOperationsResponse> - getListOperationsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.ListOperationsRequest, - com.google.container.v1.ListOperationsResponse> - getListOperationsMethod; - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - ClusterManagerGrpc.getListOperationsMethod = - getListOperationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListOperationsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListOperationsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListOperations")) - .build(); - } - } - } - return getListOperationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation> - getGetOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOperation", - requestType = com.google.container.v1.GetOperationRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation> - getGetOperationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation> - getGetOperationMethod; - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - ClusterManagerGrpc.getGetOperationMethod = - getGetOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetOperation")) - .build(); - } - } - } - return getGetOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelOperation", - requestType = com.google.container.v1.CancelOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod; - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - ClusterManagerGrpc.getCancelOperationMethod = - getCancelOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CancelOperationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CancelOperation")) - .build(); - } - } - } - return getCancelOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig> - getGetServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", - requestType = com.google.container.v1.GetServerConfigRequest.class, - responseType = com.google.container.v1.ServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig> - getGetServerConfigMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig> - getGetServerConfigMethod; - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - ClusterManagerGrpc.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.container.v1.GetServerConfigRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ServerConfig.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) - .build(); - } - } - } - return getGetServerConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.GetJSONWebKeysRequest, - com.google.container.v1.GetJSONWebKeysResponse> - getGetJSONWebKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", - requestType = com.google.container.v1.GetJSONWebKeysRequest.class, - responseType = com.google.container.v1.GetJSONWebKeysResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.GetJSONWebKeysRequest, - com.google.container.v1.GetJSONWebKeysResponse> - getGetJSONWebKeysMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.GetJSONWebKeysRequest, - com.google.container.v1.GetJSONWebKeysResponse> - getGetJSONWebKeysMethod; - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - ClusterManagerGrpc.getGetJSONWebKeysMethod = - getGetJSONWebKeysMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetJSONWebKeysRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetJSONWebKeysResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) - .build(); - } - } - } - return getGetJSONWebKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.ListNodePoolsRequest, - com.google.container.v1.ListNodePoolsResponse> - getListNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNodePools", - requestType = com.google.container.v1.ListNodePoolsRequest.class, - responseType = com.google.container.v1.ListNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.ListNodePoolsRequest, - com.google.container.v1.ListNodePoolsResponse> - getListNodePoolsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.ListNodePoolsRequest, - com.google.container.v1.ListNodePoolsResponse> - getListNodePoolsMethod; - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - ClusterManagerGrpc.getListNodePoolsMethod = - getListNodePoolsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListNodePoolsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListNodePoolsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListNodePools")) - .build(); - } - } - } - return getListNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool> - getGetNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNodePool", - requestType = com.google.container.v1.GetNodePoolRequest.class, - responseType = com.google.container.v1.NodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool> - getGetNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool> - getGetNodePoolMethod; - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - ClusterManagerGrpc.getGetNodePoolMethod = - getGetNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.NodePool.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetNodePool")) - .build(); - } - } - } - return getGetNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation> - getCreateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", - requestType = com.google.container.v1.CreateNodePoolRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation> - getCreateNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation> - getCreateNodePoolMethod; - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - ClusterManagerGrpc.getCreateNodePoolMethod = - getCreateNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CreateNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) - .build(); - } - } - } - return getCreateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation> - getDeleteNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", - requestType = com.google.container.v1.DeleteNodePoolRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation> - getDeleteNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation> - getDeleteNodePoolMethod; - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - ClusterManagerGrpc.getDeleteNodePoolMethod = - getDeleteNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.DeleteNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) - .build(); - } - } - } - return getDeleteNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> - getCompleteNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", - requestType = com.google.container.v1.CompleteNodePoolUpgradeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> - getCompleteNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> - getCompleteNodePoolUpgradeMethod; - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) - == null) { - ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = - getCompleteNodePoolUpgradeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CompleteNodePoolUpgradeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) - .build(); - } - } - } - return getCompleteNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.RollbackNodePoolUpgradeRequest, com.google.container.v1.Operation> - getRollbackNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", - requestType = com.google.container.v1.RollbackNodePoolUpgradeRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.RollbackNodePoolUpgradeRequest, com.google.container.v1.Operation> - getRollbackNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.RollbackNodePoolUpgradeRequest, - com.google.container.v1.Operation> - getRollbackNodePoolUpgradeMethod; - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) - == null) { - ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = - getRollbackNodePoolUpgradeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.RollbackNodePoolUpgradeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) - .build(); - } - } - } - return getRollbackNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation> - getSetNodePoolManagementMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", - requestType = com.google.container.v1.SetNodePoolManagementRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation> - getSetNodePoolManagementMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation> - getSetNodePoolManagementMethod; - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) - == null) { - ClusterManagerGrpc.getSetNodePoolManagementMethod = - getSetNodePoolManagementMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNodePoolManagementRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) - .build(); - } - } - } - return getSetNodePoolManagementMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation> - getSetLabelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLabels", - requestType = com.google.container.v1.SetLabelsRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation> - getSetLabelsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation> - getSetLabelsMethod; - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - ClusterManagerGrpc.getSetLabelsMethod = - getSetLabelsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLabelsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) - .build(); - } - } - } - return getSetLabelsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation> - getSetLegacyAbacMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", - requestType = com.google.container.v1.SetLegacyAbacRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation> - getSetLegacyAbacMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation> - getSetLegacyAbacMethod; - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - ClusterManagerGrpc.getSetLegacyAbacMethod = - getSetLegacyAbacMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLegacyAbacRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) - .build(); - } - } - } - return getSetLegacyAbacMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation> - getStartIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", - requestType = com.google.container.v1.StartIPRotationRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation> - getStartIPRotationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation> - getStartIPRotationMethod; - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - ClusterManagerGrpc.getStartIPRotationMethod = - getStartIPRotationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.StartIPRotationRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) - .build(); - } - } - } - return getStartIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation> - getCompleteIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", - requestType = com.google.container.v1.CompleteIPRotationRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation> - getCompleteIPRotationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation> - getCompleteIPRotationMethod; - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) - == null) { - ClusterManagerGrpc.getCompleteIPRotationMethod = - getCompleteIPRotationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CompleteIPRotationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) - .build(); - } - } - } - return getCompleteIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation> - getSetNodePoolSizeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", - requestType = com.google.container.v1.SetNodePoolSizeRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation> - getSetNodePoolSizeMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation> - getSetNodePoolSizeMethod; - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - ClusterManagerGrpc.getSetNodePoolSizeMethod = - getSetNodePoolSizeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNodePoolSizeRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) - .build(); - } - } - } - return getSetNodePoolSizeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation> - getSetNetworkPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", - requestType = com.google.container.v1.SetNetworkPolicyRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation> - getSetNetworkPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation> - getSetNetworkPolicyMethod; - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - ClusterManagerGrpc.getSetNetworkPolicyMethod = - getSetNetworkPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) - .build(); - } - } - } - return getSetNetworkPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation> - getSetMaintenancePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", - requestType = com.google.container.v1.SetMaintenancePolicyRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation> - getSetMaintenancePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation> - getSetMaintenancePolicyMethod; - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) - == null) { - ClusterManagerGrpc.getSetMaintenancePolicyMethod = - getSetMaintenancePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetMaintenancePolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) - .build(); - } - } - } - return getSetMaintenancePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1.ListUsableSubnetworksRequest, - com.google.container.v1.ListUsableSubnetworksResponse> - getListUsableSubnetworksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", - requestType = com.google.container.v1.ListUsableSubnetworksRequest.class, - responseType = com.google.container.v1.ListUsableSubnetworksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1.ListUsableSubnetworksRequest, - com.google.container.v1.ListUsableSubnetworksResponse> - getListUsableSubnetworksMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1.ListUsableSubnetworksRequest, - com.google.container.v1.ListUsableSubnetworksResponse> - getListUsableSubnetworksMethod; - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) - == null) { - ClusterManagerGrpc.getListUsableSubnetworksMethod = - getListUsableSubnetworksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListUsableSubnetworksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListUsableSubnetworksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) - .build(); - } - } - } - return getListUsableSubnetworksMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ClusterManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - }; - return ClusterManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ClusterManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - }; - return ClusterManagerBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ClusterManagerFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - }; - return ClusterManagerFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public abstract static class ClusterManagerImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters( - com.google.container.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public void getCluster( - com.google.container.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster( - com.google.container.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public void updateCluster( - com.google.container.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public void updateNodePool( - com.google.container.v1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public void setNodePoolAutoscaling( - com.google.container.v1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNodePoolAutoscalingMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService( - com.google.container.v1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetLoggingServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService( - com.google.container.v1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetMonitoringServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig( - com.google.container.v1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetAddonsConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations( - com.google.container.v1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetLocationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster( - com.google.container.v1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateMasterMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth( - com.google.container.v1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetMasterAuthMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster( - com.google.container.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public void listOperations( - com.google.container.v1.ListOperationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOperationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation( - com.google.container.v1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOperationMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation( - com.google.container.v1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelOperationMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig( - com.google.container.v1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetServerConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys( - com.google.container.v1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetJSONWebKeysMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools( - com.google.container.v1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListNodePoolsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool( - com.google.container.v1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool( - com.google.container.v1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool( - com.google.container.v1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade( - com.google.container.v1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteNodePoolUpgradeMethod(), responseObserver); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade( - com.google.container.v1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRollbackNodePoolUpgradeMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement( - com.google.container.v1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNodePoolManagementMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels( - com.google.container.v1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac( - com.google.container.v1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetLegacyAbacMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation( - com.google.container.v1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartIPRotationMethod(), responseObserver); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation( - com.google.container.v1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteIPRotationMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize( - com.google.container.v1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNodePoolSizeMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy( - com.google.container.v1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNetworkPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy( - com.google.container.v1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetMaintenancePolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks( - com.google.container.v1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListUsableSubnetworksMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListClustersRequest, - com.google.container.v1.ListClustersResponse>(this, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster>( - this, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CreateClusterRequest, - com.google.container.v1.Operation>(this, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.UpdateClusterRequest, - com.google.container.v1.Operation>(this, METHODID_UPDATE_CLUSTER))) - .addMethod( - getUpdateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.UpdateNodePoolRequest, - com.google.container.v1.Operation>(this, METHODID_UPDATE_NODE_POOL))) - .addMethod( - getSetNodePoolAutoscalingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNodePoolAutoscalingRequest, - com.google.container.v1.Operation>(this, METHODID_SET_NODE_POOL_AUTOSCALING))) - .addMethod( - getSetLoggingServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLoggingServiceRequest, - com.google.container.v1.Operation>(this, METHODID_SET_LOGGING_SERVICE))) - .addMethod( - getSetMonitoringServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetMonitoringServiceRequest, - com.google.container.v1.Operation>(this, METHODID_SET_MONITORING_SERVICE))) - .addMethod( - getSetAddonsConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetAddonsConfigRequest, - com.google.container.v1.Operation>(this, METHODID_SET_ADDONS_CONFIG))) - .addMethod( - getSetLocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLocationsRequest, - com.google.container.v1.Operation>(this, METHODID_SET_LOCATIONS))) - .addMethod( - getUpdateMasterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.UpdateMasterRequest, - com.google.container.v1.Operation>(this, METHODID_UPDATE_MASTER))) - .addMethod( - getSetMasterAuthMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetMasterAuthRequest, - com.google.container.v1.Operation>(this, METHODID_SET_MASTER_AUTH))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.DeleteClusterRequest, - com.google.container.v1.Operation>(this, METHODID_DELETE_CLUSTER))) - .addMethod( - getListOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListOperationsRequest, - com.google.container.v1.ListOperationsResponse>( - this, METHODID_LIST_OPERATIONS))) - .addMethod( - getGetOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetOperationRequest, - com.google.container.v1.Operation>(this, METHODID_GET_OPERATION))) - .addMethod( - getCancelOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty>( - this, METHODID_CANCEL_OPERATION))) - .addMethod( - getGetServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetServerConfigRequest, - com.google.container.v1.ServerConfig>(this, METHODID_GET_SERVER_CONFIG))) - .addMethod( - getGetJSONWebKeysMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetJSONWebKeysRequest, - com.google.container.v1.GetJSONWebKeysResponse>( - this, METHODID_GET_JSONWEB_KEYS))) - .addMethod( - getListNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListNodePoolsRequest, - com.google.container.v1.ListNodePoolsResponse>( - this, METHODID_LIST_NODE_POOLS))) - .addMethod( - getGetNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool>( - this, METHODID_GET_NODE_POOL))) - .addMethod( - getCreateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CreateNodePoolRequest, - com.google.container.v1.Operation>(this, METHODID_CREATE_NODE_POOL))) - .addMethod( - getDeleteNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.DeleteNodePoolRequest, - com.google.container.v1.Operation>(this, METHODID_DELETE_NODE_POOL))) - .addMethod( - getCompleteNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CompleteNodePoolUpgradeRequest, - com.google.protobuf.Empty>(this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) - .addMethod( - getRollbackNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.RollbackNodePoolUpgradeRequest, - com.google.container.v1.Operation>( - this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) - .addMethod( - getSetNodePoolManagementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNodePoolManagementRequest, - com.google.container.v1.Operation>(this, METHODID_SET_NODE_POOL_MANAGEMENT))) - .addMethod( - getSetLabelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation>( - this, METHODID_SET_LABELS))) - .addMethod( - getSetLegacyAbacMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLegacyAbacRequest, - com.google.container.v1.Operation>(this, METHODID_SET_LEGACY_ABAC))) - .addMethod( - getStartIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.StartIPRotationRequest, - com.google.container.v1.Operation>(this, METHODID_START_IPROTATION))) - .addMethod( - getCompleteIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CompleteIPRotationRequest, - com.google.container.v1.Operation>(this, METHODID_COMPLETE_IPROTATION))) - .addMethod( - getSetNodePoolSizeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNodePoolSizeRequest, - com.google.container.v1.Operation>(this, METHODID_SET_NODE_POOL_SIZE))) - .addMethod( - getSetNetworkPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNetworkPolicyRequest, - com.google.container.v1.Operation>(this, METHODID_SET_NETWORK_POLICY))) - .addMethod( - getSetMaintenancePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetMaintenancePolicyRequest, - com.google.container.v1.Operation>(this, METHODID_SET_MAINTENANCE_POLICY))) - .addMethod( - getListUsableSubnetworksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListUsableSubnetworksRequest, - com.google.container.v1.ListUsableSubnetworksResponse>( - this, METHODID_LIST_USABLE_SUBNETWORKS))) - .build(); - } - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public static final class ClusterManagerStub - extends io.grpc.stub.AbstractAsyncStub { - private ClusterManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters( - com.google.container.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public void getCluster( - com.google.container.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster( - com.google.container.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public void updateCluster( - com.google.container.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public void updateNodePool( - com.google.container.v1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public void setNodePoolAutoscaling( - com.google.container.v1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService( - com.google.container.v1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService( - com.google.container.v1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig( - com.google.container.v1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations( - com.google.container.v1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster( - com.google.container.v1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth( - com.google.container.v1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster( - com.google.container.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public void listOperations( - com.google.container.v1.ListOperationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation( - com.google.container.v1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation( - com.google.container.v1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig( - com.google.container.v1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys( - com.google.container.v1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools( - com.google.container.v1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool( - com.google.container.v1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool( - com.google.container.v1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool( - com.google.container.v1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade( - com.google.container.v1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade( - com.google.container.v1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement( - com.google.container.v1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels( - com.google.container.v1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac( - com.google.container.v1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation( - com.google.container.v1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation( - com.google.container.v1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize( - com.google.container.v1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy( - com.google.container.v1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy( - com.google.container.v1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks( - com.google.container.v1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public static final class ClusterManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ClusterManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.container.v1.ListClustersResponse listClusters( - com.google.container.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public com.google.container.v1.Cluster getCluster( - com.google.container.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.container.v1.Operation createCluster( - com.google.container.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation updateCluster( - com.google.container.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public com.google.container.v1.Operation updateNodePool( - com.google.container.v1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public com.google.container.v1.Operation setNodePoolAutoscaling( - com.google.container.v1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation setLoggingService( - com.google.container.v1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation setMonitoringService( - com.google.container.v1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation setAddonsConfig( - com.google.container.v1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.container.v1.Operation setLocations( - com.google.container.v1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLocationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation updateMaster( - com.google.container.v1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMasterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.container.v1.Operation setMasterAuth( - com.google.container.v1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.container.v1.Operation deleteCluster( - com.google.container.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public com.google.container.v1.ListOperationsResponse listOperations( - com.google.container.v1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOperationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.container.v1.Operation getOperation( - com.google.container.v1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOperationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.protobuf.Empty cancelOperation( - com.google.container.v1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelOperationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.container.v1.ServerConfig getServerConfig( - com.google.container.v1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServerConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.container.v1.GetJSONWebKeysResponse getJSONWebKeys( - com.google.container.v1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.container.v1.ListNodePoolsResponse listNodePools( - com.google.container.v1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNodePoolsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.container.v1.NodePool getNodePool( - com.google.container.v1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.container.v1.Operation createNodePool( - com.google.container.v1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.container.v1.Operation deleteNodePool( - com.google.container.v1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.protobuf.Empty completeNodePoolUpgrade( - com.google.container.v1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.container.v1.Operation rollbackNodePoolUpgrade( - com.google.container.v1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.container.v1.Operation setNodePoolManagement( - com.google.container.v1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.container.v1.Operation setLabels( - com.google.container.v1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLabelsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.container.v1.Operation setLegacyAbac( - com.google.container.v1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.container.v1.Operation startIPRotation( - com.google.container.v1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartIPRotationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.container.v1.Operation completeIPRotation( - com.google.container.v1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public com.google.container.v1.Operation setNodePoolSize( - com.google.container.v1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.container.v1.Operation setNetworkPolicy( - com.google.container.v1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.container.v1.Operation setMaintenancePolicy( - com.google.container.v1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public com.google.container.v1.ListUsableSubnetworksResponse listUsableSubnetworks( - com.google.container.v1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public static final class ClusterManagerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ClusterManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1.ListClustersResponse> - listClusters(com.google.container.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getCluster(com.google.container.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCluster(com.google.container.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCluster(com.google.container.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateNodePool(com.google.container.v1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setLoggingService(com.google.container.v1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture - setLocations(com.google.container.v1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateMaster(com.google.container.v1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setMasterAuth(com.google.container.v1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCluster(com.google.container.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1.ListOperationsResponse> - listOperations(com.google.container.v1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getOperation(com.google.container.v1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - cancelOperation(com.google.container.v1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getServerConfig(com.google.container.v1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1.GetJSONWebKeysResponse> - getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1.ListNodePoolsResponse> - listNodePools(com.google.container.v1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getNodePool(com.google.container.v1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createNodePool(com.google.container.v1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setLabels(com.google.container.v1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - startIPRotation(com.google.container.v1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1.ListUsableSubnetworksResponse> - listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), 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_UPDATE_NODE_POOL = 4; - private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; - private static final int METHODID_SET_LOGGING_SERVICE = 6; - private static final int METHODID_SET_MONITORING_SERVICE = 7; - private static final int METHODID_SET_ADDONS_CONFIG = 8; - private static final int METHODID_SET_LOCATIONS = 9; - private static final int METHODID_UPDATE_MASTER = 10; - private static final int METHODID_SET_MASTER_AUTH = 11; - private static final int METHODID_DELETE_CLUSTER = 12; - private static final int METHODID_LIST_OPERATIONS = 13; - private static final int METHODID_GET_OPERATION = 14; - private static final int METHODID_CANCEL_OPERATION = 15; - private static final int METHODID_GET_SERVER_CONFIG = 16; - private static final int METHODID_GET_JSONWEB_KEYS = 17; - private static final int METHODID_LIST_NODE_POOLS = 18; - private static final int METHODID_GET_NODE_POOL = 19; - private static final int METHODID_CREATE_NODE_POOL = 20; - private static final int METHODID_DELETE_NODE_POOL = 21; - private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; - private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; - private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; - private static final int METHODID_SET_LABELS = 25; - private static final int METHODID_SET_LEGACY_ABAC = 26; - private static final int METHODID_START_IPROTATION = 27; - private static final int METHODID_COMPLETE_IPROTATION = 28; - private static final int METHODID_SET_NODE_POOL_SIZE = 29; - private static final int METHODID_SET_NETWORK_POLICY = 30; - private static final int METHODID_SET_MAINTENANCE_POLICY = 31; - private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final ClusterManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters( - (com.google.container.v1.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster( - (com.google.container.v1.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster( - (com.google.container.v1.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster( - (com.google.container.v1.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_NODE_POOL: - serviceImpl.updateNodePool( - (com.google.container.v1.UpdateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_AUTOSCALING: - serviceImpl.setNodePoolAutoscaling( - (com.google.container.v1.SetNodePoolAutoscalingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LOGGING_SERVICE: - serviceImpl.setLoggingService( - (com.google.container.v1.SetLoggingServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MONITORING_SERVICE: - serviceImpl.setMonitoringService( - (com.google.container.v1.SetMonitoringServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_ADDONS_CONFIG: - serviceImpl.setAddonsConfig( - (com.google.container.v1.SetAddonsConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LOCATIONS: - serviceImpl.setLocations( - (com.google.container.v1.SetLocationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MASTER: - serviceImpl.updateMaster( - (com.google.container.v1.UpdateMasterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MASTER_AUTH: - serviceImpl.setMasterAuth( - (com.google.container.v1.SetMasterAuthRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster( - (com.google.container.v1.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OPERATIONS: - serviceImpl.listOperations( - (com.google.container.v1.ListOperationsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_OPERATION: - serviceImpl.getOperation( - (com.google.container.v1.GetOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_OPERATION: - serviceImpl.cancelOperation( - (com.google.container.v1.CancelOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVER_CONFIG: - serviceImpl.getServerConfig( - (com.google.container.v1.GetServerConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JSONWEB_KEYS: - serviceImpl.getJSONWebKeys( - (com.google.container.v1.GetJSONWebKeysRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_NODE_POOLS: - serviceImpl.listNodePools( - (com.google.container.v1.ListNodePoolsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_NODE_POOL: - serviceImpl.getNodePool( - (com.google.container.v1.GetNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_NODE_POOL: - serviceImpl.createNodePool( - (com.google.container.v1.CreateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_NODE_POOL: - serviceImpl.deleteNodePool( - (com.google.container.v1.DeleteNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMPLETE_NODE_POOL_UPGRADE: - serviceImpl.completeNodePoolUpgrade( - (com.google.container.v1.CompleteNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_NODE_POOL_UPGRADE: - serviceImpl.rollbackNodePoolUpgrade( - (com.google.container.v1.RollbackNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_MANAGEMENT: - serviceImpl.setNodePoolManagement( - (com.google.container.v1.SetNodePoolManagementRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LABELS: - serviceImpl.setLabels( - (com.google.container.v1.SetLabelsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LEGACY_ABAC: - serviceImpl.setLegacyAbac( - (com.google.container.v1.SetLegacyAbacRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_IPROTATION: - serviceImpl.startIPRotation( - (com.google.container.v1.StartIPRotationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMPLETE_IPROTATION: - serviceImpl.completeIPRotation( - (com.google.container.v1.CompleteIPRotationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_SIZE: - serviceImpl.setNodePoolSize( - (com.google.container.v1.SetNodePoolSizeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NETWORK_POLICY: - serviceImpl.setNetworkPolicy( - (com.google.container.v1.SetNetworkPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MAINTENANCE_POLICY: - serviceImpl.setMaintenancePolicy( - (com.google.container.v1.SetMaintenancePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USABLE_SUBNETWORKS: - serviceImpl.listUsableSubnetworks( - (com.google.container.v1.ListUsableSubnetworksRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ClusterManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.container.v1.ClusterServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ClusterManager"); - } - } - - private static final class ClusterManagerFileDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier { - ClusterManagerFileDescriptorSupplier() {} - } - - private static final class ClusterManagerMethodDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ClusterManagerMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ClusterManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getUpdateNodePoolMethod()) - .addMethod(getSetNodePoolAutoscalingMethod()) - .addMethod(getSetLoggingServiceMethod()) - .addMethod(getSetMonitoringServiceMethod()) - .addMethod(getSetAddonsConfigMethod()) - .addMethod(getSetLocationsMethod()) - .addMethod(getUpdateMasterMethod()) - .addMethod(getSetMasterAuthMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getListOperationsMethod()) - .addMethod(getGetOperationMethod()) - .addMethod(getCancelOperationMethod()) - .addMethod(getGetServerConfigMethod()) - .addMethod(getGetJSONWebKeysMethod()) - .addMethod(getListNodePoolsMethod()) - .addMethod(getGetNodePoolMethod()) - .addMethod(getCreateNodePoolMethod()) - .addMethod(getDeleteNodePoolMethod()) - .addMethod(getCompleteNodePoolUpgradeMethod()) - .addMethod(getRollbackNodePoolUpgradeMethod()) - .addMethod(getSetNodePoolManagementMethod()) - .addMethod(getSetLabelsMethod()) - .addMethod(getSetLegacyAbacMethod()) - .addMethod(getStartIPRotationMethod()) - .addMethod(getCompleteIPRotationMethod()) - .addMethod(getSetNodePoolSizeMethod()) - .addMethod(getSetNetworkPolicyMethod()) - .addMethod(getSetMaintenancePolicyMethod()) - .addMethod(getListUsableSubnetworksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java b/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java deleted file mode 100644 index c6a2c8f05b27..000000000000 --- a/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java +++ /dev/null @@ -1,4345 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.container.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Google Kubernetes Engine Cluster Manager v1beta1
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/container/v1beta1/cluster_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ClusterManagerGrpc { - - private ClusterManagerGrpc() {} - - public static final String SERVICE_NAME = "google.container.v1beta1.ClusterManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListClustersRequest, - com.google.container.v1beta1.ListClustersResponse> - getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.container.v1beta1.ListClustersRequest.class, - responseType = com.google.container.v1beta1.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListClustersRequest, - com.google.container.v1beta1.ListClustersResponse> - getListClustersMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListClustersRequest, - com.google.container.v1beta1.ListClustersResponse> - getListClustersMethod; - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - ClusterManagerGrpc.getListClustersMethod = - getListClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetClusterRequest, com.google.container.v1beta1.Cluster> - getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.container.v1beta1.GetClusterRequest.class, - responseType = com.google.container.v1beta1.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetClusterRequest, com.google.container.v1beta1.Cluster> - getGetClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetClusterRequest, com.google.container.v1beta1.Cluster> - getGetClusterMethod; - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - ClusterManagerGrpc.getGetClusterMethod = - getGetClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.CreateClusterRequest, com.google.container.v1beta1.Operation> - getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.container.v1beta1.CreateClusterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.CreateClusterRequest, com.google.container.v1beta1.Operation> - getCreateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.CreateClusterRequest, - com.google.container.v1beta1.Operation> - getCreateClusterMethod; - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - ClusterManagerGrpc.getCreateClusterMethod = - getCreateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CreateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateClusterRequest, com.google.container.v1beta1.Operation> - getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.container.v1beta1.UpdateClusterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateClusterRequest, com.google.container.v1beta1.Operation> - getUpdateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateClusterRequest, - com.google.container.v1beta1.Operation> - getUpdateClusterMethod; - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - ClusterManagerGrpc.getUpdateClusterMethod = - getUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.UpdateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateNodePoolRequest, - com.google.container.v1beta1.Operation> - getUpdateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", - requestType = com.google.container.v1beta1.UpdateNodePoolRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateNodePoolRequest, - com.google.container.v1beta1.Operation> - getUpdateNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateNodePoolRequest, - com.google.container.v1beta1.Operation> - getUpdateNodePoolMethod; - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - ClusterManagerGrpc.getUpdateNodePoolMethod = - getUpdateNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.UpdateNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) - .build(); - } - } - } - return getUpdateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolAutoscalingRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolAutoscalingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", - requestType = com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolAutoscalingRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolAutoscalingMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolAutoscalingRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolAutoscalingMethod; - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) - == null) { - ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = - getSetNodePoolAutoscalingMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) - .build(); - } - } - } - return getSetNodePoolAutoscalingMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLoggingServiceRequest, - com.google.container.v1beta1.Operation> - getSetLoggingServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", - requestType = com.google.container.v1beta1.SetLoggingServiceRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLoggingServiceRequest, - com.google.container.v1beta1.Operation> - getSetLoggingServiceMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLoggingServiceRequest, - com.google.container.v1beta1.Operation> - getSetLoggingServiceMethod; - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - ClusterManagerGrpc.getSetLoggingServiceMethod = - getSetLoggingServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLoggingServiceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) - .build(); - } - } - } - return getSetLoggingServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMonitoringServiceRequest, - com.google.container.v1beta1.Operation> - getSetMonitoringServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", - requestType = com.google.container.v1beta1.SetMonitoringServiceRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMonitoringServiceRequest, - com.google.container.v1beta1.Operation> - getSetMonitoringServiceMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMonitoringServiceRequest, - com.google.container.v1beta1.Operation> - getSetMonitoringServiceMethod; - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) - == null) { - ClusterManagerGrpc.getSetMonitoringServiceMethod = - getSetMonitoringServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetMonitoringServiceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) - .build(); - } - } - } - return getSetMonitoringServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetAddonsConfigRequest, - com.google.container.v1beta1.Operation> - getSetAddonsConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", - requestType = com.google.container.v1beta1.SetAddonsConfigRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetAddonsConfigRequest, - com.google.container.v1beta1.Operation> - getSetAddonsConfigMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetAddonsConfigRequest, - com.google.container.v1beta1.Operation> - getSetAddonsConfigMethod; - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - ClusterManagerGrpc.getSetAddonsConfigMethod = - getSetAddonsConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetAddonsConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) - .build(); - } - } - } - return getSetAddonsConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLocationsRequest, com.google.container.v1beta1.Operation> - getSetLocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLocations", - requestType = com.google.container.v1beta1.SetLocationsRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLocationsRequest, com.google.container.v1beta1.Operation> - getSetLocationsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLocationsRequest, - com.google.container.v1beta1.Operation> - getSetLocationsMethod; - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - ClusterManagerGrpc.getSetLocationsMethod = - getSetLocationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLocationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetLocations")) - .build(); - } - } - } - return getSetLocationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateMasterRequest, com.google.container.v1beta1.Operation> - getUpdateMasterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", - requestType = com.google.container.v1beta1.UpdateMasterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateMasterRequest, com.google.container.v1beta1.Operation> - getUpdateMasterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.UpdateMasterRequest, - com.google.container.v1beta1.Operation> - getUpdateMasterMethod; - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - ClusterManagerGrpc.getUpdateMasterMethod = - getUpdateMasterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.UpdateMasterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) - .build(); - } - } - } - return getUpdateMasterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMasterAuthRequest, com.google.container.v1beta1.Operation> - getSetMasterAuthMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", - requestType = com.google.container.v1beta1.SetMasterAuthRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMasterAuthRequest, com.google.container.v1beta1.Operation> - getSetMasterAuthMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMasterAuthRequest, - com.google.container.v1beta1.Operation> - getSetMasterAuthMethod; - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - ClusterManagerGrpc.getSetMasterAuthMethod = - getSetMasterAuthMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetMasterAuthRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) - .build(); - } - } - } - return getSetMasterAuthMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.DeleteClusterRequest, com.google.container.v1beta1.Operation> - getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.container.v1beta1.DeleteClusterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.DeleteClusterRequest, com.google.container.v1beta1.Operation> - getDeleteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.DeleteClusterRequest, - com.google.container.v1beta1.Operation> - getDeleteClusterMethod; - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - ClusterManagerGrpc.getDeleteClusterMethod = - getDeleteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.DeleteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListOperationsRequest, - com.google.container.v1beta1.ListOperationsResponse> - getListOperationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOperations", - requestType = com.google.container.v1beta1.ListOperationsRequest.class, - responseType = com.google.container.v1beta1.ListOperationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListOperationsRequest, - com.google.container.v1beta1.ListOperationsResponse> - getListOperationsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListOperationsRequest, - com.google.container.v1beta1.ListOperationsResponse> - getListOperationsMethod; - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - ClusterManagerGrpc.getListOperationsMethod = - getListOperationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListOperationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListOperationsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListOperations")) - .build(); - } - } - } - return getListOperationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetOperationRequest, com.google.container.v1beta1.Operation> - getGetOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOperation", - requestType = com.google.container.v1beta1.GetOperationRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetOperationRequest, com.google.container.v1beta1.Operation> - getGetOperationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetOperationRequest, - com.google.container.v1beta1.Operation> - getGetOperationMethod; - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - ClusterManagerGrpc.getGetOperationMethod = - getGetOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetOperationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetOperation")) - .build(); - } - } - } - return getGetOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelOperation", - requestType = com.google.container.v1beta1.CancelOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.CancelOperationRequest, com.google.protobuf.Empty> - getCancelOperationMethod; - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - ClusterManagerGrpc.getCancelOperationMethod = - getCancelOperationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CancelOperationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CancelOperation")) - .build(); - } - } - } - return getCancelOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetServerConfigRequest, - com.google.container.v1beta1.ServerConfig> - getGetServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", - requestType = com.google.container.v1beta1.GetServerConfigRequest.class, - responseType = com.google.container.v1beta1.ServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetServerConfigRequest, - com.google.container.v1beta1.ServerConfig> - getGetServerConfigMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetServerConfigRequest, - com.google.container.v1beta1.ServerConfig> - getGetServerConfigMethod; - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - ClusterManagerGrpc.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.container.v1beta1.GetServerConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ServerConfig.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) - .build(); - } - } - } - return getGetServerConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListNodePoolsRequest, - com.google.container.v1beta1.ListNodePoolsResponse> - getListNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNodePools", - requestType = com.google.container.v1beta1.ListNodePoolsRequest.class, - responseType = com.google.container.v1beta1.ListNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListNodePoolsRequest, - com.google.container.v1beta1.ListNodePoolsResponse> - getListNodePoolsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListNodePoolsRequest, - com.google.container.v1beta1.ListNodePoolsResponse> - getListNodePoolsMethod; - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - ClusterManagerGrpc.getListNodePoolsMethod = - getListNodePoolsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListNodePoolsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListNodePoolsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListNodePools")) - .build(); - } - } - } - return getListNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetJSONWebKeysRequest, - com.google.container.v1beta1.GetJSONWebKeysResponse> - getGetJSONWebKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", - requestType = com.google.container.v1beta1.GetJSONWebKeysRequest.class, - responseType = com.google.container.v1beta1.GetJSONWebKeysResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetJSONWebKeysRequest, - com.google.container.v1beta1.GetJSONWebKeysResponse> - getGetJSONWebKeysMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetJSONWebKeysRequest, - com.google.container.v1beta1.GetJSONWebKeysResponse> - getGetJSONWebKeysMethod; - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - ClusterManagerGrpc.getGetJSONWebKeysMethod = - getGetJSONWebKeysMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetJSONWebKeysRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetJSONWebKeysResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) - .build(); - } - } - } - return getGetJSONWebKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetNodePoolRequest, com.google.container.v1beta1.NodePool> - getGetNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNodePool", - requestType = com.google.container.v1beta1.GetNodePoolRequest.class, - responseType = com.google.container.v1beta1.NodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetNodePoolRequest, com.google.container.v1beta1.NodePool> - getGetNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.GetNodePoolRequest, com.google.container.v1beta1.NodePool> - getGetNodePoolMethod; - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - ClusterManagerGrpc.getGetNodePoolMethod = - getGetNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.NodePool.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("GetNodePool")) - .build(); - } - } - } - return getGetNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.CreateNodePoolRequest, - com.google.container.v1beta1.Operation> - getCreateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", - requestType = com.google.container.v1beta1.CreateNodePoolRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.CreateNodePoolRequest, - com.google.container.v1beta1.Operation> - getCreateNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.CreateNodePoolRequest, - com.google.container.v1beta1.Operation> - getCreateNodePoolMethod; - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - ClusterManagerGrpc.getCreateNodePoolMethod = - getCreateNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CreateNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) - .build(); - } - } - } - return getCreateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.DeleteNodePoolRequest, - com.google.container.v1beta1.Operation> - getDeleteNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", - requestType = com.google.container.v1beta1.DeleteNodePoolRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.DeleteNodePoolRequest, - com.google.container.v1beta1.Operation> - getDeleteNodePoolMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.DeleteNodePoolRequest, - com.google.container.v1beta1.Operation> - getDeleteNodePoolMethod; - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - ClusterManagerGrpc.getDeleteNodePoolMethod = - getDeleteNodePoolMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.DeleteNodePoolRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) - .build(); - } - } - } - return getDeleteNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> - getCompleteNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", - requestType = com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> - getCompleteNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> - getCompleteNodePoolUpgradeMethod; - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) - == null) { - ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = - getCompleteNodePoolUpgradeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) - .build(); - } - } - } - return getCompleteNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, - com.google.container.v1beta1.Operation> - getRollbackNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", - requestType = com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, - com.google.container.v1beta1.Operation> - getRollbackNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, - com.google.container.v1beta1.Operation> - getRollbackNodePoolUpgradeMethod; - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) - == null) { - ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = - getRollbackNodePoolUpgradeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) - .build(); - } - } - } - return getRollbackNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolManagementRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolManagementMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", - requestType = com.google.container.v1beta1.SetNodePoolManagementRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolManagementRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolManagementMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolManagementRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolManagementMethod; - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) - == null) { - ClusterManagerGrpc.getSetNodePoolManagementMethod = - getSetNodePoolManagementMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNodePoolManagementRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) - .build(); - } - } - } - return getSetNodePoolManagementMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLabelsRequest, com.google.container.v1beta1.Operation> - getSetLabelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLabels", - requestType = com.google.container.v1beta1.SetLabelsRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLabelsRequest, com.google.container.v1beta1.Operation> - getSetLabelsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLabelsRequest, com.google.container.v1beta1.Operation> - getSetLabelsMethod; - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - ClusterManagerGrpc.getSetLabelsMethod = - getSetLabelsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLabelsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) - .build(); - } - } - } - return getSetLabelsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLegacyAbacRequest, com.google.container.v1beta1.Operation> - getSetLegacyAbacMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", - requestType = com.google.container.v1beta1.SetLegacyAbacRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLegacyAbacRequest, com.google.container.v1beta1.Operation> - getSetLegacyAbacMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetLegacyAbacRequest, - com.google.container.v1beta1.Operation> - getSetLegacyAbacMethod; - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - ClusterManagerGrpc.getSetLegacyAbacMethod = - getSetLegacyAbacMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLegacyAbacRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) - .build(); - } - } - } - return getSetLegacyAbacMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.StartIPRotationRequest, - com.google.container.v1beta1.Operation> - getStartIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", - requestType = com.google.container.v1beta1.StartIPRotationRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.StartIPRotationRequest, - com.google.container.v1beta1.Operation> - getStartIPRotationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.StartIPRotationRequest, - com.google.container.v1beta1.Operation> - getStartIPRotationMethod; - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - ClusterManagerGrpc.getStartIPRotationMethod = - getStartIPRotationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.StartIPRotationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) - .build(); - } - } - } - return getStartIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.CompleteIPRotationRequest, - com.google.container.v1beta1.Operation> - getCompleteIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", - requestType = com.google.container.v1beta1.CompleteIPRotationRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.CompleteIPRotationRequest, - com.google.container.v1beta1.Operation> - getCompleteIPRotationMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.CompleteIPRotationRequest, - com.google.container.v1beta1.Operation> - getCompleteIPRotationMethod; - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) - == null) { - ClusterManagerGrpc.getCompleteIPRotationMethod = - getCompleteIPRotationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CompleteIPRotationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) - .build(); - } - } - } - return getCompleteIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolSizeRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolSizeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", - requestType = com.google.container.v1beta1.SetNodePoolSizeRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolSizeRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolSizeMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNodePoolSizeRequest, - com.google.container.v1beta1.Operation> - getSetNodePoolSizeMethod; - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - ClusterManagerGrpc.getSetNodePoolSizeMethod = - getSetNodePoolSizeMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNodePoolSizeRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) - .build(); - } - } - } - return getSetNodePoolSizeMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNetworkPolicyRequest, - com.google.container.v1beta1.Operation> - getSetNetworkPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", - requestType = com.google.container.v1beta1.SetNetworkPolicyRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNetworkPolicyRequest, - com.google.container.v1beta1.Operation> - getSetNetworkPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetNetworkPolicyRequest, - com.google.container.v1beta1.Operation> - getSetNetworkPolicyMethod; - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - ClusterManagerGrpc.getSetNetworkPolicyMethod = - getSetNetworkPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNetworkPolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) - .build(); - } - } - } - return getSetNetworkPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMaintenancePolicyRequest, - com.google.container.v1beta1.Operation> - getSetMaintenancePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", - requestType = com.google.container.v1beta1.SetMaintenancePolicyRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMaintenancePolicyRequest, - com.google.container.v1beta1.Operation> - getSetMaintenancePolicyMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.SetMaintenancePolicyRequest, - com.google.container.v1beta1.Operation> - getSetMaintenancePolicyMethod; - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) - == null) { - ClusterManagerGrpc.getSetMaintenancePolicyMethod = - getSetMaintenancePolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetMaintenancePolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) - .build(); - } - } - } - return getSetMaintenancePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListUsableSubnetworksRequest, - com.google.container.v1beta1.ListUsableSubnetworksResponse> - getListUsableSubnetworksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", - requestType = com.google.container.v1beta1.ListUsableSubnetworksRequest.class, - responseType = com.google.container.v1beta1.ListUsableSubnetworksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListUsableSubnetworksRequest, - com.google.container.v1beta1.ListUsableSubnetworksResponse> - getListUsableSubnetworksMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListUsableSubnetworksRequest, - com.google.container.v1beta1.ListUsableSubnetworksResponse> - getListUsableSubnetworksMethod; - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) - == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) - == null) { - ClusterManagerGrpc.getListUsableSubnetworksMethod = - getListUsableSubnetworksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListUsableSubnetworksRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListUsableSubnetworksResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) - .build(); - } - } - } - return getListUsableSubnetworksMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListLocationsRequest, - com.google.container.v1beta1.ListLocationsResponse> - getListLocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListLocations", - requestType = com.google.container.v1beta1.ListLocationsRequest.class, - responseType = com.google.container.v1beta1.ListLocationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListLocationsRequest, - com.google.container.v1beta1.ListLocationsResponse> - getListLocationsMethod() { - io.grpc.MethodDescriptor< - com.google.container.v1beta1.ListLocationsRequest, - com.google.container.v1beta1.ListLocationsResponse> - getListLocationsMethod; - if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { - ClusterManagerGrpc.getListLocationsMethod = - getListLocationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListLocationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListLocationsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ClusterManagerMethodDescriptorSupplier("ListLocations")) - .build(); - } - } - } - return getListLocationsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ClusterManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - }; - return ClusterManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ClusterManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - }; - return ClusterManagerBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ClusterManagerFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - }; - return ClusterManagerFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public abstract static class ClusterManagerImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters( - com.google.container.v1beta1.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public void getCluster( - com.google.container.v1beta1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster( - com.google.container.v1beta1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public void updateCluster( - com.google.container.v1beta1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public void updateNodePool( - com.google.container.v1beta1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public void setNodePoolAutoscaling( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNodePoolAutoscalingMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService( - com.google.container.v1beta1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetLoggingServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService( - com.google.container.v1beta1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetMonitoringServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig( - com.google.container.v1beta1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetAddonsConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations( - com.google.container.v1beta1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetLocationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster( - com.google.container.v1beta1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateMasterMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth( - com.google.container.v1beta1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetMasterAuthMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster( - com.google.container.v1beta1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public void listOperations( - com.google.container.v1beta1.ListOperationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListOperationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation( - com.google.container.v1beta1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetOperationMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation( - com.google.container.v1beta1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelOperationMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig( - com.google.container.v1beta1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetServerConfigMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools( - com.google.container.v1beta1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListNodePoolsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys( - com.google.container.v1beta1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetJSONWebKeysMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool( - com.google.container.v1beta1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool( - com.google.container.v1beta1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool( - com.google.container.v1beta1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteNodePoolMethod(), responseObserver); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteNodePoolUpgradeMethod(), responseObserver); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRollbackNodePoolUpgradeMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement( - com.google.container.v1beta1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNodePoolManagementMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels( - com.google.container.v1beta1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac( - com.google.container.v1beta1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetLegacyAbacMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation( - com.google.container.v1beta1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getStartIPRotationMethod(), responseObserver); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation( - com.google.container.v1beta1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCompleteIPRotationMethod(), responseObserver); - } - - /** - * - * - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize( - com.google.container.v1beta1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNodePoolSizeMethod(), responseObserver); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy( - com.google.container.v1beta1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetNetworkPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy( - com.google.container.v1beta1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetMaintenancePolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks( - com.google.container.v1beta1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListUsableSubnetworksMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public void listLocations( - com.google.container.v1beta1.ListLocationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListLocationsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListClustersRequest, - com.google.container.v1beta1.ListClustersResponse>( - this, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetClusterRequest, - com.google.container.v1beta1.Cluster>(this, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CreateClusterRequest, - com.google.container.v1beta1.Operation>(this, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.UpdateClusterRequest, - com.google.container.v1beta1.Operation>(this, METHODID_UPDATE_CLUSTER))) - .addMethod( - getUpdateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.UpdateNodePoolRequest, - com.google.container.v1beta1.Operation>(this, METHODID_UPDATE_NODE_POOL))) - .addMethod( - getSetNodePoolAutoscalingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNodePoolAutoscalingRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_NODE_POOL_AUTOSCALING))) - .addMethod( - getSetLoggingServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLoggingServiceRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_LOGGING_SERVICE))) - .addMethod( - getSetMonitoringServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetMonitoringServiceRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_MONITORING_SERVICE))) - .addMethod( - getSetAddonsConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetAddonsConfigRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_ADDONS_CONFIG))) - .addMethod( - getSetLocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLocationsRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_LOCATIONS))) - .addMethod( - getUpdateMasterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.UpdateMasterRequest, - com.google.container.v1beta1.Operation>(this, METHODID_UPDATE_MASTER))) - .addMethod( - getSetMasterAuthMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetMasterAuthRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_MASTER_AUTH))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.DeleteClusterRequest, - com.google.container.v1beta1.Operation>(this, METHODID_DELETE_CLUSTER))) - .addMethod( - getListOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListOperationsRequest, - com.google.container.v1beta1.ListOperationsResponse>( - this, METHODID_LIST_OPERATIONS))) - .addMethod( - getGetOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetOperationRequest, - com.google.container.v1beta1.Operation>(this, METHODID_GET_OPERATION))) - .addMethod( - getCancelOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CancelOperationRequest, - com.google.protobuf.Empty>(this, METHODID_CANCEL_OPERATION))) - .addMethod( - getGetServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetServerConfigRequest, - com.google.container.v1beta1.ServerConfig>(this, METHODID_GET_SERVER_CONFIG))) - .addMethod( - getListNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListNodePoolsRequest, - com.google.container.v1beta1.ListNodePoolsResponse>( - this, METHODID_LIST_NODE_POOLS))) - .addMethod( - getGetJSONWebKeysMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetJSONWebKeysRequest, - com.google.container.v1beta1.GetJSONWebKeysResponse>( - this, METHODID_GET_JSONWEB_KEYS))) - .addMethod( - getGetNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetNodePoolRequest, - com.google.container.v1beta1.NodePool>(this, METHODID_GET_NODE_POOL))) - .addMethod( - getCreateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CreateNodePoolRequest, - com.google.container.v1beta1.Operation>(this, METHODID_CREATE_NODE_POOL))) - .addMethod( - getDeleteNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.DeleteNodePoolRequest, - com.google.container.v1beta1.Operation>(this, METHODID_DELETE_NODE_POOL))) - .addMethod( - getCompleteNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, - com.google.protobuf.Empty>(this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) - .addMethod( - getRollbackNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) - .addMethod( - getSetNodePoolManagementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNodePoolManagementRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_NODE_POOL_MANAGEMENT))) - .addMethod( - getSetLabelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLabelsRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_LABELS))) - .addMethod( - getSetLegacyAbacMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLegacyAbacRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_LEGACY_ABAC))) - .addMethod( - getStartIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.StartIPRotationRequest, - com.google.container.v1beta1.Operation>(this, METHODID_START_IPROTATION))) - .addMethod( - getCompleteIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CompleteIPRotationRequest, - com.google.container.v1beta1.Operation>(this, METHODID_COMPLETE_IPROTATION))) - .addMethod( - getSetNodePoolSizeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNodePoolSizeRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_NODE_POOL_SIZE))) - .addMethod( - getSetNetworkPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNetworkPolicyRequest, - com.google.container.v1beta1.Operation>(this, METHODID_SET_NETWORK_POLICY))) - .addMethod( - getSetMaintenancePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetMaintenancePolicyRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_MAINTENANCE_POLICY))) - .addMethod( - getListUsableSubnetworksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListUsableSubnetworksRequest, - com.google.container.v1beta1.ListUsableSubnetworksResponse>( - this, METHODID_LIST_USABLE_SUBNETWORKS))) - .addMethod( - getListLocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListLocationsRequest, - com.google.container.v1beta1.ListLocationsResponse>( - this, METHODID_LIST_LOCATIONS))) - .build(); - } - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public static final class ClusterManagerStub - extends io.grpc.stub.AbstractAsyncStub { - private ClusterManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters( - com.google.container.v1beta1.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public void getCluster( - com.google.container.v1beta1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster( - com.google.container.v1beta1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public void updateCluster( - com.google.container.v1beta1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public void updateNodePool( - com.google.container.v1beta1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public void setNodePoolAutoscaling( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService( - com.google.container.v1beta1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService( - com.google.container.v1beta1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig( - com.google.container.v1beta1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations( - com.google.container.v1beta1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster( - com.google.container.v1beta1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth( - com.google.container.v1beta1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster( - com.google.container.v1beta1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public void listOperations( - com.google.container.v1beta1.ListOperationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation( - com.google.container.v1beta1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation( - com.google.container.v1beta1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig( - com.google.container.v1beta1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools( - com.google.container.v1beta1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys( - com.google.container.v1beta1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool( - com.google.container.v1beta1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool( - com.google.container.v1beta1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool( - com.google.container.v1beta1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement( - com.google.container.v1beta1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels( - com.google.container.v1beta1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac( - com.google.container.v1beta1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation( - com.google.container.v1beta1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation( - com.google.container.v1beta1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize( - com.google.container.v1beta1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy( - com.google.container.v1beta1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy( - com.google.container.v1beta1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks( - com.google.container.v1beta1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public void listLocations( - com.google.container.v1beta1.ListLocationsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLocationsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public static final class ClusterManagerBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ClusterManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.container.v1beta1.ListClustersResponse listClusters( - com.google.container.v1beta1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Cluster getCluster( - com.google.container.v1beta1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.container.v1beta1.Operation createCluster( - com.google.container.v1beta1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation updateCluster( - com.google.container.v1beta1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public com.google.container.v1beta1.Operation updateNodePool( - com.google.container.v1beta1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public com.google.container.v1beta1.Operation setNodePoolAutoscaling( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setLoggingService( - com.google.container.v1beta1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setMonitoringService( - com.google.container.v1beta1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setAddonsConfig( - com.google.container.v1beta1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.container.v1beta1.Operation setLocations( - com.google.container.v1beta1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLocationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation updateMaster( - com.google.container.v1beta1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMasterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.container.v1beta1.Operation setMasterAuth( - com.google.container.v1beta1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.container.v1beta1.Operation deleteCluster( - com.google.container.v1beta1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public com.google.container.v1beta1.ListOperationsResponse listOperations( - com.google.container.v1beta1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOperationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.container.v1beta1.Operation getOperation( - com.google.container.v1beta1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOperationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.protobuf.Empty cancelOperation( - com.google.container.v1beta1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelOperationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.container.v1beta1.ServerConfig getServerConfig( - com.google.container.v1beta1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServerConfigMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.container.v1beta1.ListNodePoolsResponse listNodePools( - com.google.container.v1beta1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNodePoolsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.container.v1beta1.GetJSONWebKeysResponse getJSONWebKeys( - com.google.container.v1beta1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.container.v1beta1.NodePool getNodePool( - com.google.container.v1beta1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation createNodePool( - com.google.container.v1beta1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation deleteNodePool( - com.google.container.v1beta1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.protobuf.Empty completeNodePoolUpgrade( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.container.v1beta1.Operation rollbackNodePoolUpgrade( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.container.v1beta1.Operation setNodePoolManagement( - com.google.container.v1beta1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setLabels( - com.google.container.v1beta1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLabelsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setLegacyAbac( - com.google.container.v1beta1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.container.v1beta1.Operation startIPRotation( - com.google.container.v1beta1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartIPRotationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.container.v1beta1.Operation completeIPRotation( - com.google.container.v1beta1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public com.google.container.v1beta1.Operation setNodePoolSize( - com.google.container.v1beta1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setNetworkPolicy( - com.google.container.v1beta1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setMaintenancePolicy( - com.google.container.v1beta1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public com.google.container.v1beta1.ListUsableSubnetworksResponse listUsableSubnetworks( - com.google.container.v1beta1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public com.google.container.v1beta1.ListLocationsResponse listLocations( - com.google.container.v1beta1.ListLocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListLocationsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public static final class ClusterManagerFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ClusterManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.ListClustersResponse> - listClusters(com.google.container.v1beta1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getCluster(com.google.container.v1beta1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - createCluster(com.google.container.v1beta1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - updateCluster(com.google.container.v1beta1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setLocations(com.google.container.v1beta1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - updateMaster(com.google.container.v1beta1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.ListOperationsResponse> - listOperations(com.google.container.v1beta1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - getOperation(com.google.container.v1beta1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - cancelOperation(com.google.container.v1beta1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.ServerConfig> - getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.ListNodePoolsResponse> - listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.GetJSONWebKeysResponse> - getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getNodePool(com.google.container.v1beta1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - completeNodePoolUpgrade( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - rollbackNodePoolUpgrade( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setLabels(com.google.container.v1beta1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.Operation> - setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.ListUsableSubnetworksResponse> - listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.container.v1beta1.ListLocationsResponse> - listLocations(com.google.container.v1beta1.ListLocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListLocationsMethod(), 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_UPDATE_NODE_POOL = 4; - private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; - private static final int METHODID_SET_LOGGING_SERVICE = 6; - private static final int METHODID_SET_MONITORING_SERVICE = 7; - private static final int METHODID_SET_ADDONS_CONFIG = 8; - private static final int METHODID_SET_LOCATIONS = 9; - private static final int METHODID_UPDATE_MASTER = 10; - private static final int METHODID_SET_MASTER_AUTH = 11; - private static final int METHODID_DELETE_CLUSTER = 12; - private static final int METHODID_LIST_OPERATIONS = 13; - private static final int METHODID_GET_OPERATION = 14; - private static final int METHODID_CANCEL_OPERATION = 15; - private static final int METHODID_GET_SERVER_CONFIG = 16; - private static final int METHODID_LIST_NODE_POOLS = 17; - private static final int METHODID_GET_JSONWEB_KEYS = 18; - private static final int METHODID_GET_NODE_POOL = 19; - private static final int METHODID_CREATE_NODE_POOL = 20; - private static final int METHODID_DELETE_NODE_POOL = 21; - private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; - private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; - private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; - private static final int METHODID_SET_LABELS = 25; - private static final int METHODID_SET_LEGACY_ABAC = 26; - private static final int METHODID_START_IPROTATION = 27; - private static final int METHODID_COMPLETE_IPROTATION = 28; - private static final int METHODID_SET_NODE_POOL_SIZE = 29; - private static final int METHODID_SET_NETWORK_POLICY = 30; - private static final int METHODID_SET_MAINTENANCE_POLICY = 31; - private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; - private static final int METHODID_LIST_LOCATIONS = 33; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final ClusterManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters( - (com.google.container.v1beta1.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster( - (com.google.container.v1beta1.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster( - (com.google.container.v1beta1.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster( - (com.google.container.v1beta1.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_NODE_POOL: - serviceImpl.updateNodePool( - (com.google.container.v1beta1.UpdateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_NODE_POOL_AUTOSCALING: - serviceImpl.setNodePoolAutoscaling( - (com.google.container.v1beta1.SetNodePoolAutoscalingRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_LOGGING_SERVICE: - serviceImpl.setLoggingService( - (com.google.container.v1beta1.SetLoggingServiceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_MONITORING_SERVICE: - serviceImpl.setMonitoringService( - (com.google.container.v1beta1.SetMonitoringServiceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_ADDONS_CONFIG: - serviceImpl.setAddonsConfig( - (com.google.container.v1beta1.SetAddonsConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_LOCATIONS: - serviceImpl.setLocations( - (com.google.container.v1beta1.SetLocationsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_MASTER: - serviceImpl.updateMaster( - (com.google.container.v1beta1.UpdateMasterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_MASTER_AUTH: - serviceImpl.setMasterAuth( - (com.google.container.v1beta1.SetMasterAuthRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster( - (com.google.container.v1beta1.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_OPERATIONS: - serviceImpl.listOperations( - (com.google.container.v1beta1.ListOperationsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_OPERATION: - serviceImpl.getOperation( - (com.google.container.v1beta1.GetOperationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CANCEL_OPERATION: - serviceImpl.cancelOperation( - (com.google.container.v1beta1.CancelOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVER_CONFIG: - serviceImpl.getServerConfig( - (com.google.container.v1beta1.GetServerConfigRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_NODE_POOLS: - serviceImpl.listNodePools( - (com.google.container.v1beta1.ListNodePoolsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_JSONWEB_KEYS: - serviceImpl.getJSONWebKeys( - (com.google.container.v1beta1.GetJSONWebKeysRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_NODE_POOL: - serviceImpl.getNodePool( - (com.google.container.v1beta1.GetNodePoolRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_NODE_POOL: - serviceImpl.createNodePool( - (com.google.container.v1beta1.CreateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_NODE_POOL: - serviceImpl.deleteNodePool( - (com.google.container.v1beta1.DeleteNodePoolRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_COMPLETE_NODE_POOL_UPGRADE: - serviceImpl.completeNodePoolUpgrade( - (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_NODE_POOL_UPGRADE: - serviceImpl.rollbackNodePoolUpgrade( - (com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_NODE_POOL_MANAGEMENT: - serviceImpl.setNodePoolManagement( - (com.google.container.v1beta1.SetNodePoolManagementRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_LABELS: - serviceImpl.setLabels( - (com.google.container.v1beta1.SetLabelsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_LEGACY_ABAC: - serviceImpl.setLegacyAbac( - (com.google.container.v1beta1.SetLegacyAbacRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_START_IPROTATION: - serviceImpl.startIPRotation( - (com.google.container.v1beta1.StartIPRotationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_COMPLETE_IPROTATION: - serviceImpl.completeIPRotation( - (com.google.container.v1beta1.CompleteIPRotationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_NODE_POOL_SIZE: - serviceImpl.setNodePoolSize( - (com.google.container.v1beta1.SetNodePoolSizeRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_NETWORK_POLICY: - serviceImpl.setNetworkPolicy( - (com.google.container.v1beta1.SetNetworkPolicyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SET_MAINTENANCE_POLICY: - serviceImpl.setMaintenancePolicy( - (com.google.container.v1beta1.SetMaintenancePolicyRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_USABLE_SUBNETWORKS: - serviceImpl.listUsableSubnetworks( - (com.google.container.v1beta1.ListUsableSubnetworksRequest) request, - (io.grpc.stub.StreamObserver< - com.google.container.v1beta1.ListUsableSubnetworksResponse>) - responseObserver); - break; - case METHODID_LIST_LOCATIONS: - serviceImpl.listLocations( - (com.google.container.v1beta1.ListLocationsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ClusterManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ClusterManager"); - } - } - - private static final class ClusterManagerFileDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier { - ClusterManagerFileDescriptorSupplier() {} - } - - private static final class ClusterManagerMethodDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ClusterManagerMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ClusterManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getUpdateNodePoolMethod()) - .addMethod(getSetNodePoolAutoscalingMethod()) - .addMethod(getSetLoggingServiceMethod()) - .addMethod(getSetMonitoringServiceMethod()) - .addMethod(getSetAddonsConfigMethod()) - .addMethod(getSetLocationsMethod()) - .addMethod(getUpdateMasterMethod()) - .addMethod(getSetMasterAuthMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getListOperationsMethod()) - .addMethod(getGetOperationMethod()) - .addMethod(getCancelOperationMethod()) - .addMethod(getGetServerConfigMethod()) - .addMethod(getListNodePoolsMethod()) - .addMethod(getGetJSONWebKeysMethod()) - .addMethod(getGetNodePoolMethod()) - .addMethod(getCreateNodePoolMethod()) - .addMethod(getDeleteNodePoolMethod()) - .addMethod(getCompleteNodePoolUpgradeMethod()) - .addMethod(getRollbackNodePoolUpgradeMethod()) - .addMethod(getSetNodePoolManagementMethod()) - .addMethod(getSetLabelsMethod()) - .addMethod(getSetLegacyAbacMethod()) - .addMethod(getStartIPRotationMethod()) - .addMethod(getCompleteIPRotationMethod()) - .addMethod(getSetNodePoolSizeMethod()) - .addMethod(getSetNetworkPolicyMethod()) - .addMethod(getSetMaintenancePolicyMethod()) - .addMethod(getListUsableSubnetworksMethod()) - .addMethod(getListLocationsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java deleted file mode 100644 index 8a90c260da0f..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface AutopilotOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.Autopilot) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enable Autopilot
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java deleted file mode 100644 index b4144311d851..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ClientCertificateConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ClientCertificateConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Issue a client certificate.
-   * 
- * - * bool issue_client_certificate = 1; - * - * @return The issueClientCertificate. - */ - boolean getIssueClientCertificate(); -} 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 deleted file mode 100644 index a6b0f8515798..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java +++ /dev/null @@ -1,3333 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public final class ClusterServiceProto { - private ClusterServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LinuxNodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeKubeletConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeNetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SandboxConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SandboxConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GcfsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GcfsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ReservationAffinity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeTaint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeTaint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeTaints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeTaints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeLabels_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceLabels_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkTags_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkTags_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MasterAuth_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MasterAuth_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ClientCertificateConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AddonsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AddonsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_HttpLoadBalancing_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_KubernetesDashboard_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkPolicyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DnsCacheConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_PrivateClusterConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CloudRunConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ConfigConnectorConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LegacyAbac_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LegacyAbac_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_BinaryAuthorization_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_IPAllocationPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Cluster_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolAutoConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolDefaults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfigDefaults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ClusterUpdate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Operation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Operation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_OperationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_OperationProgress_Metric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CreateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpdateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLocationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpdateMasterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetMasterAuthRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DeleteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CancelOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetServerConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ServerConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CreateNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListNodePoolsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_BlueGreenSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_UpdateInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeManagement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeManagement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AutoUpgradeOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenancePolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenanceWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_TimeWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_RecurringTimeWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListNodePoolsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ClusterAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceLimit_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceLimit_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLabelsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLegacyAbacRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_StartIPRotationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AcceleratorConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GPUSharingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_WorkloadMetadataConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_StatusCondition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_StatusCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GatewayAPIConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Jwk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Jwk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ReleaseChannel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CostManagementConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ILBSubsettingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DNSConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DNSConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaxPodsConstraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_WorkloadIdentityConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_IdentityServiceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MeshCertificates_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MeshCertificates_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DatabaseEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UsableSubnetwork_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_VerticalPodAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DefaultSnatStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ShieldedNodes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_VirtualNIC_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_VirtualNIC_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_FastSocket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_FastSocket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NotificationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NotificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NotificationConfig_Filter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ConfidentialNodes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpgradeEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpgradeAvailableEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SecurityBulletinEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Autopilot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Autopilot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LoggingComponentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MonitoringConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LoggingVariantConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MonitoringComponentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ManagedPrometheusConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n)google/container/v1/cluster_service.pr" - + "oto\022\023google.container.v1\032\034google/api/ann" - + "otations.proto\032\027google/api/client.proto\032" - + "\037google/api/field_behavior.proto\032\031google" - + "/api/resource.proto\032\036google/protobuf/dur" - + "ation.proto\032\033google/protobuf/empty.proto" - + "\032\037google/protobuf/timestamp.proto\032\036googl" - + "e/protobuf/wrappers.proto\032\025google/rpc/co" - + "de.proto\032\027google/rpc/status.proto\"\236\002\n\017Li" - + "nuxNodeConfig\022B\n\007sysctls\030\001 \003(\01321.google." - + "container.v1.LinuxNodeConfig.SysctlsEntr" - + "y\022D\n\013cgroup_mode\030\002 \001(\0162/.google.containe" - + "r.v1.LinuxNodeConfig.CgroupMode\032.\n\014Sysct" - + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" - + "Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECIFIED" - + "\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MODE_V2" - + "\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_manager_" - + "policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132\032.go" - + "ogle.protobuf.BoolValue\022\034\n\024cpu_cfs_quota" - + "_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(\003\"\237\014" - + "\n\nNodeConfig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014di" - + "sk_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(" - + "\0132-.google.container.v1.NodeConfig.Metad" - + "ataEntry\022\022\n\nimage_type\030\005 \001(\t\022;\n\006labels\030\006" - + " \003(\0132+.google.container.v1.NodeConfig.La" - + "belsEntry\022\027\n\017local_ssd_count\030\007 \001(\005\022\014\n\004ta" - + "gs\030\010 \003(\t\022\023\n\013preemptible\030\n \001(\010\022<\n\014acceler" - + "ators\030\013 \003(\0132&.google.container.v1.Accele" - + "ratorConfig\022\021\n\tdisk_type\030\014 \001(\t\022\030\n\020min_cp" - + "u_platform\030\r \001(\t\022M\n\030workload_metadata_co" - + "nfig\030\016 \001(\0132+.google.container.v1.Workloa" - + "dMetadataConfig\022.\n\006taints\030\017 \003(\0132\036.google" - + ".container.v1.NodeTaint\022:\n\016sandbox_confi" - + "g\030\021 \001(\0132\".google.container.v1.SandboxCon" - + "fig\022\022\n\nnode_group\030\022 \001(\t\022F\n\024reservation_a" - + "ffinity\030\023 \001(\0132(.google.container.v1.Rese" - + "rvationAffinity\022M\n\030shielded_instance_con" - + "fig\030\024 \001(\0132+.google.container.v1.Shielded" - + "InstanceConfig\022?\n\021linux_node_config\030\025 \001(" - + "\0132$.google.container.v1.LinuxNodeConfig\022" - + ">\n\016kubelet_config\030\026 \001(\0132&.google.contain" - + "er.v1.NodeKubeletConfig\022\031\n\021boot_disk_kms" - + "_key\030\027 \001(\t\0224\n\013gcfs_config\030\031 \001(\0132\037.google" - + ".container.v1.GcfsConfig\022O\n\031advanced_mac" - + "hine_features\030\032 \001(\0132,.google.container.v" - + "1.AdvancedMachineFeatures\022.\n\005gvnic\030\035 \001(\013" - + "2\037.google.container.v1.VirtualNIC\022\014\n\004spo" - + "t\030 \001(\010\022B\n\022confidential_nodes\030# \001(\0132&.go" - + "ogle.container.v1.ConfidentialNodes\0229\n\013f" - + "ast_socket\030$ \001(\0132\037.google.container.v1.F" - + "astSocketH\000\210\001\001\022L\n\017resource_labels\030% \003(\0132" - + "3.google.container.v1.NodeConfig.Resourc" - + "eLabelsEntry\022B\n\016logging_config\030& \001(\0132*.g" - + "oogle.container.v1.NodePoolLoggingConfig" - + "\032/\n\rMetadataEntry\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\020th" - + "reads_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_pe" - + "r_core\"\376\003\n\021NodeNetworkConfig\022\035\n\020create_p" - + "od_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_pr" - + "ivate_nodes\030\t \001(\010H\000\210\001\001\022h\n\032network_perfor" - + "mance_config\030\013 \001(\0132?.google.container.v1" - + ".NodeNetworkConfig.NetworkPerformanceCon" - + "figH\001\210\001\001\032\324\001\n\030NetworkPerformanceConfig\022n\n" - + "\033total_egress_bandwidth_tier\030\001 \001(\0162D.goo" - + "gle.container.v1.NodeNetworkConfig.Netwo" - + "rkPerformanceConfig.TierH\000\210\001\001\"(\n\004Tier\022\024\n" - + "\020TIER_UNSPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_tota" - + "l_egress_bandwidth_tierB\027\n\025_enable_priva" - + "te_nodesB\035\n\033_network_performance_config\"" - + "Y\n\026ShieldedInstanceConfig\022\032\n\022enable_secu" - + "re_boot\030\001 \001(\010\022#\n\033enable_integrity_monito" - + "ring\030\002 \001(\010\"k\n\rSandboxConfig\0225\n\004type\030\002 \001(" - + "\0162\'.google.container.v1.SandboxConfig.Ty" - + "pe\"#\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\023Reser" - + "vationAffinity\022O\n\030consume_reservation_ty" - + "pe\030\001 \001(\0162-.google.container.v1.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\"\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%.goo" - + "gle.container.v1.NodeTaint.Effect\"Y\n\006Eff" - + "ect\022\026\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDU" - + "LE\020\001\022\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECU" - + "TE\020\003\"<\n\nNodeTaints\022.\n\006taints\030\001 \003(\0132\036.goo" - + "gle.container.v1.NodeTaint\"x\n\nNodeLabels" - + "\022;\n\006labels\030\001 \003(\0132+.google.container.v1.N" - + "odeLabels.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\016Resourc" - + "eLabels\022?\n\006labels\030\001 \003(\0132/.google.contain" - + "er.v1.ResourceLabels.LabelsEntry\032-\n\013Labe" - + "lsEntry\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\"\331\001\n\nMasterA" - + "uth\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.ClientCertifica" - + "teConfig\022\036\n\026cluster_ca_certificate\030d \001(\t" - + "\022\032\n\022client_certificate\030e \001(\t\022\022\n\nclient_k" - + "ey\030f \001(\t\";\n\027ClientCertificateConfig\022 \n\030i" - + "ssue_client_certificate\030\001 \001(\010\"\223\006\n\014Addons" - + "Config\022C\n\023http_load_balancing\030\001 \001(\0132&.go" - + "ogle.container.v1.HttpLoadBalancing\022Q\n\032h" - + "orizontal_pod_autoscaling\030\002 \001(\0132-.google" - + ".container.v1.HorizontalPodAutoscaling\022J" - + "\n\024kubernetes_dashboard\030\003 \001(\0132(.google.co" - + "ntainer.v1.KubernetesDashboardB\002\030\001\022G\n\025ne" - + "twork_policy_config\030\004 \001(\0132(.google.conta" - + "iner.v1.NetworkPolicyConfig\022=\n\020cloud_run" - + "_config\030\007 \001(\0132#.google.container.v1.Clou" - + "dRunConfig\022=\n\020dns_cache_config\030\010 \001(\0132#.g" - + "oogle.container.v1.DnsCacheConfig\022K\n\027con" - + "fig_connector_config\030\n \001(\0132*.google.cont" - + "ainer.v1.ConfigConnectorConfig\022d\n%gce_pe" - + "rsistent_disk_csi_driver_config\030\013 \001(\01325." - + "google.container.v1.GcePersistentDiskCsi" - + "DriverConfig\022Y\n\037gcp_filestore_csi_driver" - + "_config\030\016 \001(\01320.google.container.v1.GcpF" - + "ilestoreCsiDriverConfig\022J\n\027gke_backup_ag" - + "ent_config\030\020 \001(\0132).google.container.v1.G" - + "keBackupAgentConfig\"%\n\021HttpLoadBalancing" - + "\022\020\n\010disabled\030\001 \001(\010\",\n\030HorizontalPodAutos" - + "caling\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDa" - + "shboard\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPoli" - + "cyConfig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheCo" - + "nfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClusterM" - + "asterGlobalAccessConfig\022\017\n\007enabled\030\001 \001(\010" - + "\"\305\002\n\024PrivateClusterConfig\022\034\n\024enable_priv" - + "ate_nodes\030\001 \001(\010\022\037\n\027enable_private_endpoi" - + "nt\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_end" - + "point\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022`\n\033mas" - + "ter_global_access_config\030\010 \001(\0132;.google." - + "container.v1.PrivateClusterMasterGlobalA" - + "ccessConfig\022#\n\033private_endpoint_subnetwo" - + "rk\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\016CloudRunConfig\022\020\n\010disabled\030\001 \001(\010\022P\n\022l" - + "oad_balancer_type\030\003 \001(\01624.google.contain" - + "er.v1.CloudRunConfig.LoadBalancerType\"x\n" - + "\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TYPE_" - + "UNSPECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTE" - + "RNAL\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"" - + "(\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\024GkeBackupAgent" - + "Config\022\017\n\007enabled\030\001 \001(\010\"\216\002\n\036MasterAuthor" - + "izedNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022R\n\013c" - + "idr_blocks\030\002 \003(\0132=.google.container.v1.M" - + "asterAuthorizedNetworksConfig.CidrBlock\022" - + ",\n\037gcp_public_cidrs_access_enabled\030\003 \001(\010" - + "H\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_cidr" - + "s_access_enabled\"\035\n\nLegacyAbac\022\017\n\007enable" - + "d\030\001 \001(\010\"\221\001\n\rNetworkPolicy\022=\n\010provider\030\001 " - + "\001(\0162+.google.container.v1.NetworkPolicy." - + "Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010Provider\022\030\n" - + "\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CALICO\020\001\"\343\001\n\023" - + "BinaryAuthorization\022\023\n\007enabled\030\001 \001(\010B\002\030\001" - + "\022P\n\017evaluation_mode\030\002 \001(\01627.google.conta" - + "iner.v1.BinaryAuthorization.EvaluationMo" - + "de\"e\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_" - + "UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_S" - + "INGLETON_POLICY_ENFORCE\020\002\"\215\004\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\023tpu_ipv" - + "4_cidr_block\030\r \001(\t\022\022\n\nuse_routes\030\017 \001(\010\0222" - + "\n\nstack_type\030\020 \001(\0162\036.google.container.v1" - + ".StackType\022=\n\020ipv6_access_type\030\021 \001(\0162#.g" - + "oogle.container.v1.IPv6AccessType\"\207\031\n\007Cl" - + "uster\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\0228\n\013node" - + "_config\030\004 \001(\0132\037.google.container.v1.Node" - + "ConfigB\002\030\001\0224\n\013master_auth\030\005 \001(\0132\037.google" - + ".container.v1.MasterAuth\022\027\n\017logging_serv" - + "ice\030\006 \001(\t\022\032\n\022monitoring_service\030\007 \001(\t\022\017\n" - + "\007network\030\010 \001(\t\022\031\n\021cluster_ipv4_cidr\030\t \001(" - + "\t\0228\n\raddons_config\030\n \001(\0132!.google.contai" - + "ner.v1.AddonsConfig\022\022\n\nsubnetwork\030\013 \001(\t\022" - + "1\n\nnode_pools\030\014 \003(\0132\035.google.container.v" - + "1.NodePool\022\021\n\tlocations\030\r \003(\t\022\037\n\027enable_" - + "kubernetes_alpha\030\016 \001(\010\022I\n\017resource_label" - + "s\030\017 \003(\01320.google.container.v1.Cluster.Re" - + "sourceLabelsEntry\022\031\n\021label_fingerprint\030\020" - + " \001(\t\0224\n\013legacy_abac\030\022 \001(\0132\037.google.conta" - + "iner.v1.LegacyAbac\022:\n\016network_policy\030\023 \001" - + "(\0132\".google.container.v1.NetworkPolicy\022E" - + "\n\024ip_allocation_policy\030\024 \001(\0132\'.google.co" - + "ntainer.v1.IPAllocationPolicy\022^\n!master_" - + "authorized_networks_config\030\026 \001(\01323.googl" - + "e.container.v1.MasterAuthorizedNetworksC" - + "onfig\022B\n\022maintenance_policy\030\027 \001(\0132&.goog" - + "le.container.v1.MaintenancePolicy\022F\n\024bin" - + "ary_authorization\030\030 \001(\0132(.google.contain" - + "er.v1.BinaryAuthorization\022<\n\013autoscaling" - + "\030\032 \001(\0132\'.google.container.v1.ClusterAuto" - + "scaling\022:\n\016network_config\030\033 \001(\0132\".google" - + ".container.v1.NetworkConfig\022K\n\033default_m" - + "ax_pods_constraint\030\036 \001(\0132&.google.contai" - + "ner.v1.MaxPodsConstraint\022T\n\034resource_usa" - + "ge_export_config\030! \001(\0132..google.containe" - + "r.v1.ResourceUsageExportConfig\022S\n\033authen" - + "ticator_groups_config\030\" \001(\0132..google.con" - + "tainer.v1.AuthenticatorGroupsConfig\022I\n\026p" - + "rivate_cluster_config\030% \001(\0132).google.con" - + "tainer.v1.PrivateClusterConfig\022D\n\023databa" - + "se_encryption\030& \001(\0132\'.google.container.v" - + "1.DatabaseEncryption\022M\n\030vertical_pod_aut" - + "oscaling\030\' \001(\0132+.google.container.v1.Ver" - + "ticalPodAutoscaling\022:\n\016shielded_nodes\030( " - + "\001(\0132\".google.container.v1.ShieldedNodes\022" - + "<\n\017release_channel\030) \001(\0132#.google.contai" - + "ner.v1.ReleaseChannel\022M\n\030workload_identi" - + "ty_config\030+ \001(\0132+.google.container.v1.Wo" - + "rkloadIdentityConfig\022@\n\021mesh_certificate" - + "s\030C \001(\0132%.google.container.v1.MeshCertif" - + "icates\022I\n\026cost_management_config\030- \001(\0132)" - + ".google.container.v1.CostManagementConfi" - + "g\022D\n\023notification_config\0301 \001(\0132\'.google." - + "container.v1.NotificationConfig\022B\n\022confi" - + "dential_nodes\0302 \001(\0132&.google.container.v" - + "1.ConfidentialNodes\022K\n\027identity_service_" - + "config\0306 \001(\0132*.google.container.v1.Ident" - + "ityServiceConfig\022\021\n\tself_link\030d \001(\t\022\020\n\004z" - + "one\030e \001(\tB\002\030\001\022\020\n\010endpoint\030f \001(\t\022\037\n\027initi" - + "al_cluster_version\030g \001(\t\022\036\n\026current_mast" - + "er_version\030h \001(\t\022 \n\024current_node_version" - + "\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\0223\n\006statu" - + "s\030k \001(\0162#.google.container.v1.Cluster.St" - + "atus\022\032\n\016status_message\030l \001(\tB\002\030\001\022\033\n\023node" - + "_ipv4_cidr_size\030m \001(\005\022\032\n\022services_ipv4_c" - + "idr\030n \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\013ex" - + "pire_time\030q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nena" - + "ble_tpu\030s \001(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001" - + "(\t\0228\n\nconditions\030v \003(\0132$.google.containe" - + "r.v1.StatusCondition\0222\n\tautopilot\030\200\001 \001(\013" - + "2\036.google.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" - + "%.google.container.v1.NodePoolDefaultsH\000" - + "\210\001\001\022;\n\016logging_config\030\204\001 \001(\0132\".google.co" - + "ntainer.v1.LoggingConfig\022A\n\021monitoring_c" - + "onfig\030\205\001 \001(\0132%.google.container.v1.Monit" - + "oringConfig\022G\n\025node_pool_auto_config\030\210\001 " - + "\001(\0132\'.google.container.v1.NodePoolAutoCo" - + "nfig\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_" - + "UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNI" - + "NG\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005E" - + "RROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defau" - + "lts\"L\n\022NodePoolAutoConfig\0226\n\014network_tag" - + "s\030\001 \001(\0132 .google.container.v1.NetworkTag" - + "s\"Y\n\020NodePoolDefaults\022E\n\024node_config_def" - + "aults\030\001 \001(\0132\'.google.container.v1.NodeCo" - + "nfigDefaults\"\216\001\n\022NodeConfigDefaults\0224\n\013g" - + "cfs_config\030\001 \001(\0132\037.google.container.v1.G" - + "cfsConfig\022B\n\016logging_config\030\003 \001(\0132*.goog" - + "le.container.v1.NodePoolLoggingConfig\"\243\025" - + "\n\rClusterUpdate\022\034\n\024desired_node_version\030" - + "\004 \001(\t\022\"\n\032desired_monitoring_service\030\005 \001(" - + "\t\022@\n\025desired_addons_config\030\006 \001(\0132!.googl" - + "e.container.v1.AddonsConfig\022\034\n\024desired_n" - + "ode_pool_id\030\007 \001(\t\022\032\n\022desired_image_type\030" - + "\010 \001(\t\022L\n\033desired_database_encryption\030. \001" - + "(\0132\'.google.container.v1.DatabaseEncrypt" - + "ion\022U\n desired_workload_identity_config\030" - + "/ \001(\0132+.google.container.v1.WorkloadIden" - + "tityConfig\022H\n\031desired_mesh_certificates\030" - + "C \001(\0132%.google.container.v1.MeshCertific" - + "ates\022B\n\026desired_shielded_nodes\0300 \001(\0132\".g" - + "oogle.container.v1.ShieldedNodes\022Q\n\036desi" - + "red_cost_management_config\0301 \001(\0132).googl" - + "e.container.v1.CostManagementConfig\022:\n\022d" - + "esired_dns_config\0305 \001(\0132\036.google.contain" - + "er.v1.DNSConfig\022O\n\035desired_node_pool_aut" - + "oscaling\030\t \001(\0132(.google.container.v1.Nod" - + "ePoolAutoscaling\022\031\n\021desired_locations\030\n " - + "\003(\t\022f\n)desired_master_authorized_network" - + "s_config\030\014 \001(\01323.google.container.v1.Mas" - + "terAuthorizedNetworksConfig\022L\n\033desired_c" - + "luster_autoscaling\030\017 \001(\0132\'.google.contai" - + "ner.v1.ClusterAutoscaling\022N\n\034desired_bin" - + "ary_authorization\030\020 \001(\0132(.google.contain" - + "er.v1.BinaryAuthorization\022\037\n\027desired_log" - + "ging_service\030\023 \001(\t\022\\\n$desired_resource_u" - + "sage_export_config\030\025 \001(\0132..google.contai" - + "ner.v1.ResourceUsageExportConfig\022U\n desi" - + "red_vertical_pod_autoscaling\030\026 \001(\0132+.goo" - + "gle.container.v1.VerticalPodAutoscaling\022" - + "Q\n\036desired_private_cluster_config\030\031 \001(\0132" - + ").google.container.v1.PrivateClusterConf" - + "ig\022\\\n$desired_intra_node_visibility_conf" - + "ig\030\032 \001(\0132..google.container.v1.IntraNode" - + "VisibilityConfig\022K\n\033desired_default_snat" - + "_status\030\034 \001(\0132&.google.container.v1.Defa" - + "ultSnatStatus\022D\n\027desired_release_channel" - + "\030\037 \001(\0132#.google.container.v1.ReleaseChan" - + "nel\022Q\n\037desired_l4ilb_subsetting_config\030\'" - + " \001(\0132(.google.container.v1.ILBSubsetting" - + "Config\022H\n\031desired_datapath_provider\0302 \001(" - + "\0162%.google.container.v1.DatapathProvider" - + "\022X\n\"desired_private_ipv6_google_access\0303" - + " \001(\0162,.google.container.v1.PrivateIPv6Go" - + "ogleAccess\022L\n\033desired_notification_confi" - + "g\0307 \001(\0132\'.google.container.v1.Notificati" - + "onConfig\022[\n#desired_authenticator_groups" - + "_config\030? \001(\0132..google.container.v1.Auth" - + "enticatorGroupsConfig\022B\n\026desired_logging" - + "_config\030@ \001(\0132\".google.container.v1.Logg" - + "ingConfig\022H\n\031desired_monitoring_config\030A" - + " \001(\0132%.google.container.v1.MonitoringCon" - + "fig\022S\n\037desired_identity_service_config\030B" - + " \001(\0132*.google.container.v1.IdentityServi" - + "ceConfig\022Z\n#desired_service_external_ips" - + "_config\030< \001(\0132-.google.container.v1.Serv" - + "iceExternalIPsConfig\022,\n\037desired_enable_p" - + "rivate_endpoint\030G \001(\010H\000\210\001\001\022\036\n\026desired_ma" - + "ster_version\030d \001(\t\022<\n\023desired_gcfs_confi" - + "g\030m \001(\0132\037.google.container.v1.GcfsConfig" - + "\022T\n*desired_node_pool_auto_config_networ" - + "k_tags\030n \001(\0132 .google.container.v1.Netwo" - + "rkTags\022I\n\032desired_gateway_api_config\030r \001" - + "(\0132%.google.container.v1.GatewayAPIConfi" - + "g\022T\n desired_node_pool_logging_config\030t " - + "\001(\0132*.google.container.v1.NodePoolLoggin" - + "gConfigB\"\n _desired_enable_private_endpo" - + "int\"\361\007\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#.goog" - + "le.container.v1.Operation.Type\0225\n\006status" - + "\030\004 \001(\0162%.google.container.v1.Operation.S" - + "tatus\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\013targe" - + "t_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\010progress" - + "\030\014 \001(\0132&.google.container.v1.OperationPr" - + "ogressB\003\340A\003\022D\n\022cluster_conditions\030\r \003(\0132" - + "$.google.container.v1.StatusConditionB\002\030" - + "\001\022E\n\023nodepool_conditions\030\016 \003(\0132$.google." - + "container.v1.StatusConditionB\002\030\001\022!\n\005erro" - + "r\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\007RU" - + "NNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\375\002\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\016UPGRADE_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_POO" - + "L\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_PO" - + "OL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026" - + "\n\022AUTO_UPGRADE_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023" - + "\n\017SET_MASTER_AUTH\020\r\022\026\n\022SET_NODE_POOL_SIZ" - + "E\020\016\022\026\n\022SET_NETWORK_POLICY\020\017\022\032\n\026SET_MAINT" - + "ENANCE_POLICY\020\020\"\273\002\n\021OperationProgress\022\014\n" - + "\004name\030\001 \001(\t\0225\n\006status\030\002 \001(\0162%.google.con" - + "tainer.v1.Operation.Status\022>\n\007metrics\030\003 " - + "\003(\0132-.google.container.v1.OperationProgr" - + "ess.Metric\0226\n\006stages\030\004 \003(\0132&.google.cont" - + "ainer.v1.OperationProgress\032i\n\006Metric\022\021\n\004" - + "name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014" - + "double_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\nproject_id\030\001 \001(\tB\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\006parent\030\005 \001(\t\"c\n\021GetClust" - + "erRequest\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\014\n\004n" - + "ame\030\005 \001(\t\"\237\001\n\024UpdateClusterRequest\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\0227\n\006update\030\004 \001(\0132\".g" - + "oogle.container.v1.ClusterUpdateB\003\340A\002\022\014\n" - + "\004name\030\005 \001(\t\"\232\010\n\025UpdateNodePoolRequest\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\031\n\014node_version\030\005 \001(\tB\003\340A\002\022\027\n\n" - + "image_type\030\006 \001(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tl" - + "ocations\030\r \003(\t\022M\n\030workload_metadata_conf" - + "ig\030\016 \001(\0132+.google.container.v1.WorkloadM" - + "etadataConfig\022G\n\020upgrade_settings\030\017 \001(\0132" - + "-.google.container.v1.NodePool.UpgradeSe" - + "ttings\022.\n\004tags\030\020 \001(\0132 .google.container." - + "v1.NetworkTags\022/\n\006taints\030\021 \001(\0132\037.google." - + "container.v1.NodeTaints\022/\n\006labels\030\022 \001(\0132" - + "\037.google.container.v1.NodeLabels\022?\n\021linu" - + "x_node_config\030\023 \001(\0132$.google.container.v" - + "1.LinuxNodeConfig\022>\n\016kubelet_config\030\024 \001(" - + "\0132&.google.container.v1.NodeKubeletConfi" - + "g\022C\n\023node_network_config\030\025 \001(\0132&.google." - + "container.v1.NodeNetworkConfig\0224\n\013gcfs_c", - "onfig\030\026 \001(\0132\037.google.container.v1.GcfsCo" - + "nfig\022B\n\022confidential_nodes\030\027 \001(\0132&.googl" - + "e.container.v1.ConfidentialNodes\022.\n\005gvni" - + "c\030\035 \001(\0132\037.google.container.v1.VirtualNIC" - + "\0224\n\013fast_socket\030\037 \001(\0132\037.google.container" - + ".v1.FastSocket\022B\n\016logging_config\030 \001(\0132*" - + ".google.container.v1.NodePoolLoggingConf" - + "ig\022<\n\017resource_labels\030! \001(\0132#.google.con" - + "tainer.v1.ResourceLabels\"\315\001\n\035SetNodePool" - + "AutoscalingRequest\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\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autosc" - + "aling\030\005 \001(\0132(.google.container.v1.NodePo" - + "olAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030Set" - + "LoggingServiceRequest\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\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022\014\n" - + "\004name\030\005 \001(\t\"\216\001\n\033SetMonitoringServiceRequ" - + "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\037\n\022monitor" - + "ing_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_config\030\004 \001(\0132!.googl" - + "e.container.v1.AddonsConfigB\003\340A\002\022\014\n\004name" - + "\030\006 \001(\t\"}\n\023SetLocationsRequest\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\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_id\030\003 \001(\tB\002\030\001\022\033\n\016master_versio" - + "n\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMaster" - + "AuthRequest\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\022E\n" - + "\006action\030\004 \001(\01620.google.container.v1.SetM" - + "asterAuthRequest.ActionB\003\340A\002\0224\n\006update\030\005" - + " \001(\0132\037.google.container.v1.MasterAuthB\003\340" - + "A\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\"f\n\024DeleteClusterReque" - + "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" - + "B\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\024ListClustersResponse\022.\n\010clusters\030" - + "\001 \003(\0132\034.google.container.v1.Cluster\022\025\n\rm" - + "issing_zones\030\002 \003(\t\"g\n\023GetOperationReques" - + "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\030\n\014operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 " - + "\001(\t\"Q\n\025ListOperationsRequest\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\026CancelOperationRequest\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\030\n\014op" - + "eration_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"c\n\026Li" - + "stOperationsResponse\0222\n\noperations\030\001 \003(\013" - + "2\036.google.container.v1.Operation\022\025\n\rmiss" - + "ing_zones\030\002 \003(\t\"P\n\026GetServerConfigReques" - + "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\014\n\004name\030\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027de" - + "fault_cluster_version\030\001 \001(\t\022\033\n\023valid_nod" - + "e_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" - + "_master_versions\030\006 \003(\t\022H\n\010channels\030\t \003(\013" - + "26.google.container.v1.ServerConfig.Rele" - + "aseChannelConfig\032\205\001\n\024ReleaseChannelConfi" - + "g\022<\n\007channel\030\001 \001(\0162+.google.container.v1" - + ".ReleaseChannel.Channel\022\027\n\017default_versi" - + "on\030\002 \001(\t\022\026\n\016valid_versions\030\004 \003(\t\"\240\001\n\025Cre" - + "ateNodePoolRequest\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\0225\n\tnode_pool\030\004 \001(\0132\035.google.contain" - + "er.v1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025" - + "DeleteNodePoolRequest\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\004nam" - + "e\030\006 \001(\t\"h\n\024ListNodePoolsRequest\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\016\n\006parent\030\005 \001(\t\"~\n\022Get" - + "NodePoolRequest\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\004name\030\006 \001(" - + "\t\"\237\003\n\021BlueGreenSettings\022_\n\027standard_roll" - + "out_policy\030\001 \001(\0132<.google.container.v1.B" - + "lueGreenSettings.StandardRolloutPolicyH\000" - + "\022?\n\027node_pool_soak_duration\030\002 \001(\0132\031.goog" - + "le.protobuf.DurationH\001\210\001\001\032\271\001\n\025StandardRo" - + "lloutPolicy\022\032\n\020batch_percentage\030\001 \001(\002H\000\022" - + "\032\n\020batch_node_count\030\002 \001(\005H\000\022;\n\023batch_soa" - + "k_duration\030\003 \001(\0132\031.google.protobuf.Durat" - + "ionH\001\210\001\001B\023\n\021update_batch_sizeB\026\n\024_batch_" - + "soak_durationB\020\n\016rollout_policyB\032\n\030_node" - + "_pool_soak_duration\"\266\016\n\010NodePool\022\014\n\004name" - + "\030\001 \001(\t\022/\n\006config\030\002 \001(\0132\037.google.containe" - + "r.v1.NodeConfig\022\032\n\022initial_node_count\030\003 " - + "\001(\005\022\021\n\tlocations\030\r \003(\t\022>\n\016network_config" - + "\030\016 \001(\0132&.google.container.v1.NodeNetwork" - + "Config\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\006statu" - + "s\030g \001(\0162$.google.container.v1.NodePool.S" - + "tatus\022\032\n\016status_message\030h \001(\tB\002\030\001\022=\n\013aut" - + "oscaling\030\004 \001(\0132(.google.container.v1.Nod" - + "ePoolAutoscaling\0227\n\nmanagement\030\005 \001(\0132#.g" - + "oogle.container.v1.NodeManagement\022C\n\023max" - + "_pods_constraint\030\006 \001(\0132&.google.containe" - + "r.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.container.v1.Nod" - + "ePool.UpgradeSettings\022G\n\020placement_polic" - + "y\030l \001(\0132-.google.container.v1.NodePool.P" - + "lacementPolicy\022B\n\013update_info\030m \001(\0132(.go" - + "ogle.container.v1.NodePool.UpdateInfoB\003\340" - + "A\003\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~\n\017PlacementPolicy\022@\n\004type\030\001 \001(" - + "\01622.google.container.v1.NodePool.Placeme" - + "ntPolicy.Type\")\n\004Type\022\024\n\020TYPE_UNSPECIFIE" - + "D\020\000\022\013\n\007COMPACT\020\001\"\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\"}\n\016NodeMana" - + "gement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_rep" - + "air\030\002 \001(\010\022@\n\017upgrade_options\030\n \001(\0132\'.goo" - + "gle.container.v1.AutoUpgradeOptions\"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\"\230\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\"H\n\rResou" - + "rceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minim" - + "um\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\307\002\n\023NodePoolAu" - + "toscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_c" - + "ount\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017au" - + "toprovisioned\030\004 \001(\010\022P\n\017location_policy\030\005" - + " \001(\01627.google.container.v1.NodePoolAutos" - + "caling.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\033LOCATION_POLICY_U" - + "NSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"\222\002\n\020" - + "SetLabelsRequest\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.con" - + "tainer.v1.SetLabelsRequest.ResourceLabel" - + "sEntryB\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\"|\n\024SetL" - + "egacyAbacRequest\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\ncluster_i" - + "d\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022rotate_cred" - + "entials\030\007 \001(\010\"k\n\031CompleteIPRotationReque" - + "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" - + "B\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\007 \001" - + "(\t\"\303\001\n\021AcceleratorConfig\022\031\n\021accelerator_" - + "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_sharing" - + "_config\030\005 \001(\0132%.google.container.v1.GPUS" - + "haringConfigH\000\210\001\001B\025\n\023_gpu_sharing_config" - + "\"\372\001\n\020GPUSharingConfig\022\"\n\032max_shared_clie" - + "nts_per_gpu\030\001 \001(\003\022[\n\024gpu_sharing_strateg" - + "y\030\002 \001(\01628.google.container.v1.GPUSharing" - + "Config.GPUSharingStrategyH\000\210\001\001\"L\n\022GPUSha" - + "ringStrategy\022$\n GPU_SHARING_STRATEGY_UNS" - + "PECIFIED\020\000\022\020\n\014TIME_SHARING\020\001B\027\n\025_gpu_sha" - + "ring_strategy\"\232\001\n\026WorkloadMetadataConfig" - + "\022>\n\004mode\030\002 \001(\01620.google.container.v1.Wor" - + "kloadMetadataConfig.Mode\"@\n\004Mode\022\024\n\020MODE" - + "_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GKE_" - + "METADATA\020\002\"\252\001\n\027SetNetworkPolicyRequest\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\016network_poli" - + "cy\030\004 \001(\0132\".google.container.v1.NetworkPo" - + "licyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\271\001\n\033SetMaintenan" - + "cePolicyRequest\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&.googl" - + "e.container.v1.MaintenancePolicyB\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.StatusCondit" - + "ion.CodeB\002\030\001\022\017\n\007message\030\002 \001(\t\022(\n\016canonic" - + "al_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_S" - + "ERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOTA_EX" - + "CEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLOUD_K" - + "MS_KEY_ERROR\020\007\022\017\n\013CA_EXPIRING\020\t\"\237\004\n\rNetw" - + "orkConfig\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&.goog" - + "le.container.v1.DefaultSnatStatus\022\037\n\027ena" - + "ble_l4ilb_subsetting\030\n \001(\010\022@\n\021datapath_p" - + "rovider\030\013 \001(\0162%.google.container.v1.Data" - + "pathProvider\022P\n\032private_ipv6_google_acce" - + "ss\030\014 \001(\0162,.google.container.v1.PrivateIP" - + "v6GoogleAccess\0222\n\ndns_config\030\r \001(\0132\036.goo" - + "gle.container.v1.DNSConfig\022R\n\033service_ex" - + "ternal_ips_config\030\017 \001(\0132-.google.contain" - + "er.v1.ServiceExternalIPsConfig\022A\n\022gatewa" - + "y_api_config\030\020 \001(\0132%.google.container.v1" - + ".GatewayAPIConfig\"\274\001\n\020GatewayAPIConfig\022>" - + "\n\007channel\030\001 \001(\0162-.google.container.v1.Ga" - + "tewayAPIConfig.Channel\"h\n\007Channel\022\027\n\023CHA" - + "NNEL_UNSPECIFIED\020\000\022\024\n\020CHANNEL_DISABLED\020\001" - + "\022\030\n\024CHANNEL_EXPERIMENTAL\020\003\022\024\n\020CHANNEL_ST" - + "ANDARD\020\004\"+\n\030ServiceExternalIPsConfig\022\017\n\007" - + "enabled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022" - + "\016\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRespo" - + "nse\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n" - + "\030response_types_supported\030\003 \003(\t\022\037\n\027subje" - + "ct_types_supported\030\004 \003(\t\022-\n%id_token_sig" - + "ning_alg_values_supported\030\005 \003(\t\022\030\n\020claim" - + "s_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\003crv\030\t \001(\t\"@\n\026G" - + "etJSONWebKeysResponse\022&\n\004keys\030\001 \003(\0132\030.go" - + "ogle.container.v1.Jwk\"\216\001\n\016ReleaseChannel" - + "\022<\n\007channel\030\001 \001(\0162+.google.container.v1." - + "ReleaseChannel.Channel\">\n\007Channel\022\017\n\013UNS" - + "PECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020\002\022\n\n\006ST" - + "ABLE\020\003\"\'\n\024CostManagementConfig\022\017\n\007enable" - + "d\030\001 \001(\010\",\n\031IntraNodeVisibilityConfig\022\017\n\007" - + "enabled\030\001 \001(\010\"&\n\023ILBSubsettingConfig\022\017\n\007" - + "enabled\030\001 \001(\010\"\252\002\n\tDNSConfig\022<\n\013cluster_d" - + "ns\030\001 \001(\0162\'.google.container.v1.DNSConfig" - + ".Provider\022B\n\021cluster_dns_scope\030\002 \001(\0162\'.g" - + "oogle.container.v1.DNSConfig.DNSScope\022\032\n" - + "\022cluster_dns_domain\030\003 \001(\t\"I\n\010Provider\022\030\n" - + "\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_DEFA" - + "ULT\020\001\022\r\n\tCLOUD_DNS\020\002\"4\n\010DNSScope\022\031\n\025DNS_" - + "SCOPE_UNSPECIFIED\020\000\022\r\n\tVPC_SCOPE\020\002\".\n\021Ma" - + "xPodsConstraint\022\031\n\021max_pods_per_node\030\001 \001" - + "(\003\"/\n\026WorkloadIdentityConfig\022\025\n\rworkload" - + "_pool\030\002 \001(\t\"(\n\025IdentityServiceConfig\022\017\n\007" - + "enabled\030\001 \001(\010\"K\n\020MeshCertificates\0227\n\023ena" - + "ble_certificates\030\001 \001(\0132\032.google.protobuf" - + ".BoolValue\"\230\001\n\022DatabaseEncryption\022<\n\005sta" - + "te\030\002 \001(\0162-.google.container.v1.DatabaseE" - + "ncryption.State\022\020\n\010key_name\030\001 \001(\t\"2\n\005Sta" - + "te\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYP" - + "TED\020\002\"e\n\034ListUsableSubnetworksRequest\022\016\n" - + "\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si" - + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"t\n\035ListUsab" - + "leSubnetworksResponse\022:\n\013subnetworks\030\001 \003" - + "(\0132%.google.container.v1.UsableSubnetwor" - + "k\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\036UsableSub" - + "networkSecondaryRange\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(\016" - + "2:.google.container.v1.UsableSubnetworkS" - + "econdaryRange.Status\"g\n\006Status\022\013\n\007UNKNOW" - + "N\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024I" - + "N_USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_" - + "POD\020\004\"\270\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\022P\n\023secondary_ip_ranges\030\004 \003(\01323.go" - + "ogle.container.v1.UsableSubnetworkSecond" - + "aryRange\022\026\n\016status_message\030\005 \001(\t\"\355\002\n\031Res" - + "ourceUsageExportConfig\022`\n\024bigquery_desti" - + "nation\030\001 \001(\0132B.google.container.v1.Resou" - + "rceUsageExportConfig.BigQueryDestination" - + "\022&\n\036enable_network_egress_metering\030\002 \001(\010" - + "\022m\n\033consumption_metering_config\030\003 \001(\0132H." - + "google.container.v1.ResourceUsageExportC" - + "onfig.ConsumptionMeteringConfig\032)\n\023BigQu" - + "eryDestination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Co" - + "nsumptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010" - + "\")\n\026VerticalPodAutoscaling\022\017\n\007enabled\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\n" - + "VirtualNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocke" - + "t\022\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationConfi" - + "g\022>\n\006pubsub\030\001 \001(\0132..google.container.v1." - + "NotificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007" - + "enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsu" - + "b.googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132." - + ".google.container.v1.NotificationConfig." - + "Filter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.g" - + "oogle.container.v1.NotificationConfig.Ev" - + "entType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPE" - + "CIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n" - + "\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EV" - + "ENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007enabled\030\001 " - + "\001(\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_type\030\001 " - + "\001(\0162(.google.container.v1.UpgradeResourc" - + "eType\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_st" - + "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mp\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_ve" - + "rsion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025Upgrad" - + "eAvailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rreso" - + "urce_type\030\002 \001(\0162(.google.container.v1.Up" - + "gradeResourceType\022<\n\017release_channel\030\003 \001" - + "(\0132#.google.container.v1.ReleaseChannel\022" - + "\020\n\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEv" - + "ent\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013b" - + "ulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sev" - + "erity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021bri" - + "ef_description\030\006 \001(\t\022!\n\031affected_support" - + "ed_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\025m" - + "anual_steps_required\030\n \001(\010\"\034\n\tAutopilot\022" - + "\017\n\007enabled\030\001 \001(\010\"V\n\rLoggingConfig\022E\n\020com" - + "ponent_config\030\001 \001(\0132+.google.container.v" - + "1.LoggingComponentConfig\"\357\001\n\026LoggingComp" - + "onentConfig\022P\n\021enable_components\030\001 \003(\01625" - + ".google.container.v1.LoggingComponentCon" - + "fig.Component\"\202\001\n\tComponent\022\031\n\025COMPONENT" - + "_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\tSCHEDULER" - + "\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\"\255\001\n\020Monitorin" - + "gConfig\022H\n\020component_config\030\001 \001(\0132..goog" - + "le.container.v1.MonitoringComponentConfi" - + "g\022O\n\031managed_prometheus_config\030\002 \001(\0132,.g" - + "oogle.container.v1.ManagedPrometheusConf" - + "ig\"Z\n\025NodePoolLoggingConfig\022A\n\016variant_c" - + "onfig\030\001 \001(\0132).google.container.v1.Loggin" - + "gVariantConfig\"\237\001\n\024LoggingVariantConfig\022" - + "B\n\007variant\030\001 \001(\01621.google.container.v1.L" - + "oggingVariantConfig.Variant\"C\n\007Variant\022\027" - + "\n\023VARIANT_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n\016" - + "MAX_THROUGHPUT\020\002\"\345\001\n\031MonitoringComponent" - + "Config\022S\n\021enable_components\030\001 \003(\01628.goog", - "le.container.v1.MonitoringComponentConfi" - + "g.Component\"s\n\tComponent\022\031\n\025COMPONENT_UN" - + "SPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tAP" - + "ISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER_M" - + "ANAGER\020\005\"*\n\027ManagedPrometheusConfig\022\017\n\007e" - + "nabled\030\001 \001(\010*\306\001\n\027PrivateIPv6GoogleAccess" - + "\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFI" - + "ED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCESS_DISAB" - + "LED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCESS_TO_G" - + "OOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_ACCESS_BI" - + "DIRECTIONAL\020\003*W\n\023UpgradeResourceType\022%\n!" - + "UPGRADE_RESOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006M" - + "ASTER\020\001\022\r\n\tNODE_POOL\020\002*a\n\020DatapathProvid" - + "er\022!\n\035DATAPATH_PROVIDER_UNSPECIFIED\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_G" - + "REEN\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_IPV" - + "6\020\002*N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TYP" - + "E_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERNA" - + "L\020\0022\303G\n\016ClusterManager\022\350\001\n\014ListClusters\022" - + "(.google.container.v1.ListClustersReques" - + "t\032).google.container.v1.ListClustersResp" - + "onse\"\202\001\202\323\344\223\002a\022,/v1/{parent=projects/*/lo" - + "cations/*}/clustersZ1\022//v1/projects/{pro" - + "ject_id}/zones/{zone}/clusters\332A\017project" - + "_id,zone\332A\006parent\022\355\001\n\nGetCluster\022&.googl" - + "e.container.v1.GetClusterRequest\032\034.googl" - + "e.container.v1.Cluster\"\230\001\202\323\344\223\002n\022,/v1/{na" - + "me=projects/*/locations/*/clusters/*}Z>\022" - + "*/v1/{name=proje" - + "cts/*/locations/*/clusters/*}:setResourc" - + "eLabels:\001*ZP\"K/v1/projects/{project_id}/" - + "zones/{zone}/clusters/{cluster_id}/resou" - + "rceLabels:\001*\022\245\002\n\rSetLegacyAbac\022).google." - + "container.v1.SetLegacyAbacRequest\032\036.goog" - + "le.container.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1" - + "/{name=projects/*/locations/*/clusters/*" - + "}:setLegacyAbac:\001*ZL\"G/v1/projects/{proj" - + "ect_id}/zones/{zone}/clusters/{cluster_i" - + "d}/legacyAbac:\001*\332A\"project_id,zone,clust" - + "er_id,enabled\332A\014name,enabled\022\240\002\n\017StartIP" - + "Rotation\022+.google.container.v1.StartIPRo" - + "tationRequest\032\036.google.container.v1.Oper" - + "ation\"\277\001\202\323\344\223\002\224\001\" - * Whether Confidential Nodes feature is enabled. - * - * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java deleted file mode 100644 index c954a4408063..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ConfigConnectorConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ConfigConnectorConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether Cloud Connector is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java deleted file mode 100644 index d098c880edac..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface CostManagementConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.CostManagementConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the feature is enabled or not.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java deleted file mode 100644 index d6c81209e69c..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface DefaultSnatStatusOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.DefaultSnatStatus) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Disables cluster default sNAT rules.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java deleted file mode 100644 index aa30a25d141a..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface DnsCacheConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.DnsCacheConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether NodeLocal DNSCache is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java deleted file mode 100644 index 529d0468f224..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface FastSocketOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.FastSocket) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether Fast Socket features are enabled in the node pool.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java deleted file mode 100644 index 9e3e81556c7a..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GcePersistentDiskCsiDriverConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GcePersistentDiskCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java deleted file mode 100644 index cd3b815cf7f0..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GcfsConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GcfsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether to use GCFS.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java deleted file mode 100644 index cb4455a7b753..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GcpFilestoreCsiDriverConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GcpFilestoreCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the GCP Filestore CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java deleted file mode 100644 index ff1cf3b2f186..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GkeBackupAgentConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GkeBackupAgentConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Backup for GKE agent is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java deleted file mode 100644 index 435d07170208..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface HorizontalPodAutoscalingOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.HorizontalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
-   * When enabled, it ensures that metrics are collected into Stackdriver
-   * Monitoring.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java deleted file mode 100644 index bccec888e5a5..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface HttpLoadBalancingOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.HttpLoadBalancing) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the HTTP Load Balancing controller is enabled in the cluster.
-   * When enabled, it runs a small pod in the cluster that manages the load
-   * balancers.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java deleted file mode 100644 index 6182c273ffa2..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ILBSubsettingConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ILBSubsettingConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enables l4 ILB subsetting for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java deleted file mode 100644 index 7be1d3e9bf67..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface IdentityServiceConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.IdentityServiceConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether to enable the Identity Service component
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java deleted file mode 100644 index 38e2b812a11d..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface IntraNodeVisibilityConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.IntraNodeVisibilityConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enables intra node visibility for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java deleted file mode 100644 index 3132e05c1074..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface KubernetesDashboardOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.KubernetesDashboard) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Kubernetes Dashboard is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java deleted file mode 100644 index 31d5392d9566..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ManagedPrometheusConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ManagedPrometheusConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enable Managed Collection.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index 4a616a667705..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface MaxPodsConstraintOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.MaxPodsConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Constraint enforced on the max num of pods per node.
-   * 
- * - * int64 max_pods_per_node = 1; - * - * @return The maxPodsPerNode. - */ - long getMaxPodsPerNode(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java deleted file mode 100644 index 416b080be4f3..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface NetworkPolicyConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkPolicyConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether NetworkPolicy is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java deleted file mode 100644 index 59fcbb68446b..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface PrivateClusterMasterGlobalAccessConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.PrivateClusterMasterGlobalAccessConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whenever master is accessible globally or not.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java deleted file mode 100644 index fac6de360d8d..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ServiceExternalIPsConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ServiceExternalIPsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether Services with ExternalIPs field are allowed or not.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java deleted file mode 100644 index d933e9bd835d..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ShieldedNodesOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ShieldedNodes) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java deleted file mode 100644 index e03a9612b844..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface VerticalPodAutoscalingOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.VerticalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enables vertical pod autoscaling.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java deleted file mode 100644 index 64ae3647a714..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface VirtualNICOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.VirtualNIC) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether gVNIC features are enabled in the node pool.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java deleted file mode 100644 index 759c92b49796..000000000000 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface WorkloadIdentityConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1.WorkloadIdentityConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The workload pool to attach all Kubernetes service accounts to.
-   * 
- * - * string workload_pool = 2; - * - * @return The workloadPool. - */ - java.lang.String getWorkloadPool(); - /** - * - * - *
-   * The workload pool to attach all Kubernetes service accounts to.
-   * 
- * - * string workload_pool = 2; - * - * @return The bytes for workloadPool. - */ - com.google.protobuf.ByteString getWorkloadPoolBytes(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java deleted file mode 100644 index 6e1be05d194a..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface AutopilotOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Autopilot) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enable Autopilot
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java deleted file mode 100644 index 140c54b4b40b..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ClientCertificateConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClientCertificateConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Issue a client certificate.
-   * 
- * - * bool issue_client_certificate = 1; - * - * @return The issueClientCertificate. - */ - boolean getIssueClientCertificate(); -} 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 deleted file mode 100644 index 946a15434b19..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java +++ /dev/null @@ -1,3737 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public final class ClusterServiceProto { - private ClusterServiceProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SandboxConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GcfsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ReservationAffinity_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeTaint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeTaints_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeLabels_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceLabels_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkTags_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MasterAuth_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AddonsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_KalmConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IstioConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CloudRunConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LegacyAbac_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ProtectConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClusterUpdate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Operation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Operation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WindowsVersions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeManagement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_TimeWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceLimit_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLabelsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListLocationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Location_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_StatusCondition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UsableSubnetwork_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DNSConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MeshCertificates_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ShieldedNodes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_VirtualNIC_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Jwk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Jwk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ReleaseChannel_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CostManagementConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_TpuConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Master_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Master_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Autopilot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NotificationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ConfidentialNodes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpgradeEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MonitoringConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/container/v1beta1/cluster_servi" - + "ce.proto\022\030google.container.v1beta1\032\034goog" - + "le/api/annotations.proto\032\027google/api/cli" - + "ent.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032\036google/pr" - + "otobuf/duration.proto\032\033google/protobuf/e" - + "mpty.proto\032\037google/protobuf/timestamp.pr" - + "oto\032\036google/protobuf/wrappers.proto\032\025goo" - + "gle/rpc/code.proto\032\027google/rpc/status.pr" - + "oto\032\026google/type/date.proto\"\250\002\n\017LinuxNod" - + "eConfig\022G\n\007sysctls\030\001 \003(\01326.google.contai" - + "ner.v1beta1.LinuxNodeConfig.SysctlsEntry" - + "\022I\n\013cgroup_mode\030\002 \001(\01624.google.container" - + ".v1beta1.LinuxNodeConfig.CgroupMode\032.\n\014S" - + "ysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001\"Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECI" - + "FIED\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MOD" - + "E_V2\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_mana" - + "ger_policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132" - + "\032.google.protobuf.BoolValue\022\034\n\024cpu_cfs_q" - + "uota_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(" - + "\003\"\370\014\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\010metadata\030" - + "\004 \003(\01322.google.container.v1beta1.NodeCon" - + "fig.MetadataEntry\022\022\n\nimage_type\030\005 \001(\t\022@\n" - + "\006labels\030\006 \003(\01320.google.container.v1beta1" - + ".NodeConfig.LabelsEntry\022\027\n\017local_ssd_cou" - + "nt\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible\030\n " - + "\001(\010\022A\n\014accelerators\030\013 \003(\0132+.google.conta" - + "iner.v1beta1.AcceleratorConfig\022?\n\016sandbo" - + "x_config\030\021 \001(\0132\'.google.container.v1beta" - + "1.SandboxConfig\022\022\n\nnode_group\030\022 \001(\t\022K\n\024r" - + "eservation_affinity\030\023 \001(\0132-.google.conta" - + "iner.v1beta1.ReservationAffinity\022\021\n\tdisk" - + "_type\030\014 \001(\t\022\030\n\020min_cpu_platform\030\r \001(\t\022R\n" - + "\030workload_metadata_config\030\016 \001(\01320.google" - + ".container.v1beta1.WorkloadMetadataConfi" - + "g\0223\n\006taints\030\017 \003(\0132#.google.container.v1b" - + "eta1.NodeTaint\022\031\n\021boot_disk_kms_key\030\027 \001(" - + "\t\022R\n\030shielded_instance_config\030\024 \001(\01320.go" - + "ogle.container.v1beta1.ShieldedInstanceC" - + "onfig\022D\n\021linux_node_config\030\025 \001(\0132).googl" - + "e.container.v1beta1.LinuxNodeConfig\022C\n\016k" - + "ubelet_config\030\026 \001(\0132+.google.container.v" - + "1beta1.NodeKubeletConfig\022R\n\030ephemeral_st" - + "orage_config\030\030 \001(\01320.google.container.v1" - + "beta1.EphemeralStorageConfig\0229\n\013gcfs_con" - + "fig\030\031 \001(\0132$.google.container.v1beta1.Gcf" - + "sConfig\022T\n\031advanced_machine_features\030\032 \001" - + "(\01321.google.container.v1beta1.AdvancedMa" - + "chineFeatures\0223\n\005gvnic\030\035 \001(\0132$.google.co" - + "ntainer.v1beta1.VirtualNIC\022\014\n\004spot\030 \001(\010" - + "\022G\n\022confidential_nodes\030# \001(\0132+.google.co" - + "ntainer.v1beta1.ConfidentialNodes\022Q\n\017res" - + "ource_labels\030% \003(\01328.google.container.v1" - + "beta1.NodeConfig.ResourceLabelsEntry\022G\n\016" - + "logging_config\030& \001(\0132/.google.container." - + "v1beta1.NodePoolLoggingConfig\032/\n\rMetadat" - + "aEntry\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\001\"M\n\027AdvancedMachineF" - + "eatures\022\035\n\020threads_per_core\030\001 \001(\003H\000\210\001\001B\023" - + "\n\021_threads_per_core\"\251\005\n\021NodeNetworkConfi" - + "g\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\032n" - + "etwork_performance_config\030\013 \001(\0132D.google" - + ".container.v1beta1.NodeNetworkConfig.Net" - + "workPerformanceConfigH\001\210\001\001\032\372\002\n\030NetworkPe" - + "rformanceConfig\022s\n\033total_egress_bandwidt" - + "h_tier\030\001 \001(\0162I.google.container.v1beta1." - + "NodeNetworkConfig.NetworkPerformanceConf" - + "ig.TierH\000\210\001\001\022y\n!external_ip_egress_bandw" - + "idth_tier\030\002 \001(\0162I.google.container.v1bet" - + "a1.NodeNetworkConfig.NetworkPerformanceC" - + "onfig.TierH\001\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIF" - + "IED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_total_egress_bandw" - + "idth_tierB$\n\"_external_ip_egress_bandwid" - + "th_tierB\027\n\025_enable_private_nodesB\035\n\033_net" - + "work_performance_config\"Y\n\026ShieldedInsta" - + "nceConfig\022\032\n\022enable_secure_boot\030\001 \001(\010\022#\n" - + "\033enable_integrity_monitoring\030\002 \001(\010\"\212\001\n\rS" - + "andboxConfig\022\030\n\014sandbox_type\030\001 \001(\tB\002\030\001\022:" - + "\n\004type\030\002 \001(\0162,.google.container.v1beta1." - + "SandboxConfig.Type\"#\n\004Type\022\017\n\013UNSPECIFIE" - + "D\020\000\022\n\n\006GVISOR\020\001\"1\n\026EphemeralStorageConfi" - + "g\022\027\n\017local_ssd_count\030\001 \001(\005\"\035\n\nGcfsConfig" - + "\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\023ReservationAffinit" - + "y\022T\n\030consume_reservation_type\030\001 \001(\01622.go" - + "ogle.container.v1beta1.ReservationAffini" - + "ty.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004" - + "Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESERVATION\020" - + "\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIFIC_RESER" - + "VATION\020\003\"\276\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t\022:\n\006effect\030\003 \001(\0162*.google.cont" - + "ainer.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" - + ".container.v1beta1.NodeTaint\"}\n\nNodeLabe" - + "ls\022@\n\006labels\030\001 \003(\01320.google.container.v1" - + "beta1.NodeLabels.LabelsEntry\032-\n\013LabelsEn" - + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\016" - + "ResourceLabels\022D\n\006labels\030\001 \003(\01324.google." - + "container.v1beta1.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" - + "\"\336\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\022T\n\031client_certificat" - + "e_config\030\003 \001(\01321.google.container.v1beta" - + "1.ClientCertificateConfig\022\036\n\026cluster_ca_" - + "certificate\030d \001(\t\022\032\n\022client_certificate\030" - + "e \001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCerti" - + "ficateConfig\022 \n\030issue_client_certificate" - + "\030\001 \001(\010\"\305\007\n\014AddonsConfig\022H\n\023http_load_bal" - + "ancing\030\001 \001(\0132+.google.container.v1beta1." - + "HttpLoadBalancing\022V\n\032horizontal_pod_auto" - + "scaling\030\002 \001(\01322.google.container.v1beta1" - + ".HorizontalPodAutoscaling\022O\n\024kubernetes_" - + "dashboard\030\003 \001(\0132-.google.container.v1bet" - + "a1.KubernetesDashboardB\002\030\001\022L\n\025network_po" - + "licy_config\030\004 \001(\0132-.google.container.v1b" - + "eta1.NetworkPolicyConfig\022?\n\014istio_config" - + "\030\005 \001(\0132%.google.container.v1beta1.IstioC" - + "onfigB\002\030\001\022B\n\020cloud_run_config\030\007 \001(\0132(.go" - + "ogle.container.v1beta1.CloudRunConfig\022B\n" - + "\020dns_cache_config\030\010 \001(\0132(.google.contain" - + "er.v1beta1.DnsCacheConfig\022P\n\027config_conn" - + "ector_config\030\n \001(\0132/.google.container.v1" - + "beta1.ConfigConnectorConfig\022i\n%gce_persi" - + "stent_disk_csi_driver_config\030\013 \001(\0132:.goo" - + "gle.container.v1beta1.GcePersistentDiskC" - + "siDriverConfig\022=\n\013kalm_config\030\014 \001(\0132$.go" - + "ogle.container.v1beta1.KalmConfigB\002\030\001\022^\n" - + "\037gcp_filestore_csi_driver_config\030\016 \001(\01325" - + ".google.container.v1beta1.GcpFilestoreCs" - + "iDriverConfig\022O\n\027gke_backup_agent_config" - + "\030\020 \001(\0132..google.container.v1beta1.GkeBac" - + "kupAgentConfig\"%\n\021HttpLoadBalancing\022\020\n\010d" - + "isabled\030\001 \001(\010\",\n\030HorizontalPodAutoscalin" - + "g\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDashboa" - + "rd\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPolicyCon" - + "fig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheConfig\022" - + "\017\n\007enabled\030\001 \001(\010\"!\n\nKalmConfig\022\023\n\007enable" - + "d\030\001 \001(\010B\002\030\001\"\'\n\024GkeBackupAgentConfig\022\017\n\007e" - + "nabled\030\001 \001(\010\"(\n\025ConfigConnectorConfig\022\017\n" - + "\007enabled\030\001 \001(\010\"3\n GcePersistentDiskCsiDr" - + "iverConfig\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilest" - + "oreCsiDriverConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&P" - + "rivateClusterMasterGlobalAccessConfig\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_ci" - + "dr_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_nam" - + "e\030\007 \001(\t\022e\n\033master_global_access_config\030\010" - + " \001(\0132@.google.container.v1beta1.PrivateC" - + "lusterMasterGlobalAccessConfig\022#\n\033privat" - + "e_endpoint_subnetwork\030\n \001(\t\"\237\001\n\013IstioCon" - + "fig\022\024\n\010disabled\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\0162" - + "3.google.container.v1beta1.IstioConfig.I" - + "stioAuthModeB\002\030\001\"3\n\rIstioAuthMode\022\r\n\tAUT" - + "H_NONE\020\000\022\023\n\017AUTH_MUTUAL_TLS\020\001\"\363\001\n\016CloudR" - + "unConfig\022\020\n\010disabled\030\001 \001(\010\022U\n\022load_balan" - + "cer_type\030\003 \001(\01629.google.container.v1beta" - + "1.CloudRunConfig.LoadBalancerType\"x\n\020Loa" - + "dBalancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSP" - + "ECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL" - + "\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"\223\002\n\036" - + "MasterAuthorizedNetworksConfig\022\017\n\007enable" - + "d\030\001 \001(\010\022W\n\013cidr_blocks\030\002 \003(\0132B.google.co" - + "ntainer.v1beta1.MasterAuthorizedNetworks" - + "Config.CidrBlock\022,\n\037gcp_public_cidrs_acc" - + "ess_enabled\030\003 \001(\010H\000\210\001\001\0325\n\tCidrBlock\022\024\n\014d" - + "isplay_name\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\tB\"\n" - + " _gcp_public_cidrs_access_enabled\"\035\n\nLeg" - + "acyAbac\022\017\n\007enabled\030\001 \001(\010\"\226\001\n\rNetworkPoli" - + "cy\022B\n\010provider\030\001 \001(\01620.google.container." - + "v1beta1.NetworkPolicy.Provider\022\017\n\007enable" - + "d\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_UNSPECIF" - + "IED\020\000\022\n\n\006CALICO\020\001\"\270\006\n\022IPAllocationPolicy" - + "\022\026\n\016use_ip_aliases\030\001 \001(\010\022\031\n\021create_subne" - + "twork\030\002 \001(\010\022\027\n\017subnetwork_name\030\003 \001(\t\022\035\n\021" - + "cluster_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_cidr\030\006 " - + "\001(\tB\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" - + "\024node_ipv4_cidr_block\030\n \001(\t\022 \n\030services_" - + "ipv4_cidr_block\030\013 \001(\t\022\033\n\023allow_route_ove" - + "rlap\030\014 \001(\010\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022" - + "\022\n\nuse_routes\030\017 \001(\010\022J\n\nstack_type\030\020 \001(\0162" - + "6.google.container.v1beta1.IPAllocationP" - + "olicy.StackType\022U\n\020ipv6_access_type\030\021 \001(" - + "\0162;.google.container.v1beta1.IPAllocatio" - + "nPolicy.IPv6AccessType\022#\n\026subnet_ipv6_ci" - + "dr_block\030\026 \001(\tB\003\340A\003\022%\n\030services_ipv6_cid" - + "r_block\030\027 \001(\tB\003\340A\003\"@\n\tStackType\022\032\n\026STACK" - + "_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_IP" - + "V6\020\002\"N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TY" - + "PE_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERN" - + "AL\020\002\"\350\001\n\023BinaryAuthorization\022\023\n\007enabled\030" - + "\001 \001(\010B\002\030\001\022U\n\017evaluation_mode\030\002 \001(\0162<.goo" - + "gle.container.v1beta1.BinaryAuthorizatio" - + "n.EvaluationMode\"e\n\016EvaluationMode\022\037\n\033EV" - + "ALUATION_MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020" - + "\001\022$\n PROJECT_SINGLETON_POLICY_ENFORCE\020\002\"" - + "*\n\027PodSecurityPolicyConfig\022\017\n\007enabled\030\001 " - + "\001(\010\"D\n\031AuthenticatorGroupsConfig\022\017\n\007enab" - + "led\030\001 \001(\010\022\026\n\016security_group\030\002 \001(\t\"\226\001\n\020Cl" - + "usterTelemetry\022=\n\004type\030\001 \001(\0162/.google.co" - + "ntainer.v1beta1.ClusterTelemetry.Type\"C\n" - + "\004Type\022\017\n\013UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\013\n\007" - + "ENABLED\020\002\022\017\n\013SYSTEM_ONLY\020\003\"\360\036\n\007Cluster\022\014" - + "\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022ini" - + "tial_node_count\030\003 \001(\005B\002\030\001\022=\n\013node_config" - + "\030\004 \001(\0132$.google.container.v1beta1.NodeCo" - + "nfigB\002\030\001\0229\n\013master_auth\030\005 \001(\0132$.google.c" - + "ontainer.v1beta1.MasterAuth\022\027\n\017logging_s" - + "ervice\030\006 \001(\t\022\032\n\022monitoring_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_config\030\n \001(\0132&.google.con" - + "tainer.v1beta1.AddonsConfig\022\022\n\nsubnetwor" - + "k\030\013 \001(\t\0226\n\nnode_pools\030\014 \003(\0132\".google.con" - + "tainer.v1beta1.NodePool\022\021\n\tlocations\030\r \003" - + "(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001(\010\022N\n\017r" - + "esource_labels\030\017 \003(\01325.google.container." - + "v1beta1.Cluster.ResourceLabelsEntry\022\031\n\021l" - + "abel_fingerprint\030\020 \001(\t\0229\n\013legacy_abac\030\022 " - + "\001(\0132$.google.container.v1beta1.LegacyAba" - + "c\022?\n\016network_policy\030\023 \001(\0132\'.google.conta" - + "iner.v1beta1.NetworkPolicy\022J\n\024ip_allocat" - + "ion_policy\030\024 \001(\0132,.google.container.v1be" - + "ta1.IPAllocationPolicy\022c\n!master_authori" - + "zed_networks_config\030\026 \001(\01328.google.conta" - + "iner.v1beta1.MasterAuthorizedNetworksCon" - + "fig\022G\n\022maintenance_policy\030\027 \001(\0132+.google" - + ".container.v1beta1.MaintenancePolicy\022K\n\024" - + "binary_authorization\030\030 \001(\0132-.google.cont" - + "ainer.v1beta1.BinaryAuthorization\022U\n\032pod" - + "_security_policy_config\030\031 \001(\01321.google.c" - + "ontainer.v1beta1.PodSecurityPolicyConfig" - + "\022A\n\013autoscaling\030\032 \001(\0132,.google.container" - + ".v1beta1.ClusterAutoscaling\022?\n\016network_c" - + "onfig\030\033 \001(\0132\'.google.container.v1beta1.N" - + "etworkConfig\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(\0132+.goo" - + "gle.container.v1beta1.MaxPodsConstraint\022" - + "Y\n\034resource_usage_export_config\030! \001(\01323." - + "google.container.v1beta1.ResourceUsageEx" - + "portConfig\022X\n\033authenticator_groups_confi" - + "g\030\" \001(\01323.google.container.v1beta1.Authe" - + "nticatorGroupsConfig\022N\n\026private_cluster_" - + "config\030% \001(\0132..google.container.v1beta1." - + "PrivateClusterConfig\022R\n\030vertical_pod_aut" - + "oscaling\030\' \001(\01320.google.container.v1beta" - + "1.VerticalPodAutoscaling\022?\n\016shielded_nod" - + "es\030( \001(\0132\'.google.container.v1beta1.Shie" - + "ldedNodes\022A\n\017release_channel\030) \001(\0132(.goo" - + "gle.container.v1beta1.ReleaseChannel\022R\n\030" - + "workload_identity_config\030+ \001(\01320.google." - + "container.v1beta1.WorkloadIdentityConfig" - + "\022M\n\025workload_certificates\0304 \001(\0132..google" - + ".container.v1beta1.WorkloadCertificates\022" - + "E\n\021mesh_certificates\030C \001(\0132*.google.cont" - + "ainer.v1beta1.MeshCertificates\022J\n\024worklo" - + "ad_alts_config\0305 \001(\0132,.google.container." - + "v1beta1.WorkloadALTSConfig\022N\n\026cost_manag" - + "ement_config\030- \001(\0132..google.container.v1" - + "beta1.CostManagementConfig\022E\n\021cluster_te" - + "lemetry\030. \001(\0132*.google.container.v1beta1" - + ".ClusterTelemetry\0227\n\ntpu_config\030/ \001(\0132#." - + "google.container.v1beta1.TpuConfig\022I\n\023no" - + "tification_config\0301 \001(\0132,.google.contain" - + "er.v1beta1.NotificationConfig\022G\n\022confide" - + "ntial_nodes\0302 \001(\0132+.google.container.v1b" - + "eta1.ConfidentialNodes\022P\n\027identity_servi" - + "ce_config\0306 \001(\0132/.google.container.v1bet" - + "a1.IdentityServiceConfig\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_version\030g \001(\t\022\036\n\026curr" - + "ent_master_version\030h \001(\t\022 \n\024current_node" - + "_version\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\022" - + "8\n\006status\030k \001(\0162(.google.container.v1bet" - + "a1.Cluster.Status\022\032\n\016status_message\030l \001(" - + "\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m \001(\005\022\032\n\022se" - + "rvices_ipv4_cidr\030n \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_c" - + "idr_block\030t \001(\t\022I\n\023database_encryption\030&" - + " \001(\0132,.google.container.v1beta1.Database" - + "Encryption\022=\n\nconditions\030v \003(\0132).google." - + "container.v1beta1.StatusCondition\0220\n\006mas" - + "ter\030| \001(\0132 .google.container.v1beta1.Mas" - + "ter\0227\n\tautopilot\030\200\001 \001(\0132#.google.contain" - + "er.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.con" - + "tainer.v1beta1.NodePoolDefaultsH\000\210\001\001\022@\n\016" - + "logging_config\030\204\001 \001(\0132\'.google.container" - + ".v1beta1.LoggingConfig\022F\n\021monitoring_con" - + "fig\030\205\001 \001(\0132*.google.container.v1beta1.Mo" - + "nitoringConfig\022L\n\025node_pool_auto_config\030" - + "\210\001 \001(\0132,.google.container.v1beta1.NodePo" - + "olAutoConfig\022E\n\016protect_config\030\211\001 \001(\0132\'." - + "google.container.v1beta1.ProtectConfigH\001" - + "\210\001\001\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_U" - + "NSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNIN" - + "G\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ER" - + "ROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defaul" - + "tsB\021\n\017_protect_config\"\304\001\n\016WorkloadConfig" - + "\022F\n\naudit_mode\030\001 \001(\0162-.google.container." - + "v1beta1.WorkloadConfig.ModeH\000\210\001\001\"[\n\004Mode" - + "\022\024\n\020MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005" - + "BASIC\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.contain" - + "er.v1beta1.WorkloadConfigH\000\210\001\001\022k\n\033worklo" - + "ad_vulnerability_mode\030\002 \001(\0162A.google.con" - + "tainer.v1beta1.ProtectConfig.WorkloadVul" - + "nerabilityModeH\001\210\001\001\"a\n\031WorkloadVulnerabi" - + "lityMode\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_vulnerab" - + "ility_mode\"^\n\020NodePoolDefaults\022J\n\024node_c" - + "onfig_defaults\030\001 \001(\0132,.google.container." - + "v1beta1.NodeConfigDefaults\"\230\001\n\022NodeConfi" - + "gDefaults\0229\n\013gcfs_config\030\001 \001(\0132$.google." - + "container.v1beta1.GcfsConfig\022G\n\016logging_" - + "config\030\003 \001(\0132/.google.container.v1beta1." - + "NodePoolLoggingConfig\"Q\n\022NodePoolAutoCon" - + "fig\022;\n\014network_tags\030\001 \001(\0132%.google.conta" - + "iner.v1beta1.NetworkTags\"\366\032\n\rClusterUpda" - + "te\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032desi" - + "red_monitoring_service\030\005 \001(\t\022E\n\025desired_" - + "addons_config\030\006 \001(\0132&.google.container.v" - + "1beta1.AddonsConfig\022\034\n\024desired_node_pool" - + "_id\030\007 \001(\t\022\032\n\022desired_image_type\030\010 \001(\t\022T\n" - + "\035desired_node_pool_autoscaling\030\t \001(\0132-.g" - + "oogle.container.v1beta1.NodePoolAutoscal" - + "ing\022\031\n\021desired_locations\030\n \003(\t\022k\n)desire" - + "d_master_authorized_networks_config\030\014 \001(" - + "\01328.google.container.v1beta1.MasterAutho" - + "rizedNetworksConfig\022]\n\"desired_pod_secur" - + "ity_policy_config\030\016 \001(\01321.google.contain" - + "er.v1beta1.PodSecurityPolicyConfig\022Q\n\033de" - + "sired_cluster_autoscaling\030\017 \001(\0132,.google" - + ".container.v1beta1.ClusterAutoscaling\022S\n" - + "\034desired_binary_authorization\030\020 \001(\0132-.go" - + "ogle.container.v1beta1.BinaryAuthorizati" - + "on\022\037\n\027desired_logging_service\030\023 \001(\t\022a\n$d" - + "esired_resource_usage_export_config\030\025 \001(" - + "\01323.google.container.v1beta1.ResourceUsa" - + "geExportConfig\022Z\n desired_vertical_pod_a" - + "utoscaling\030\026 \001(\01320.google.container.v1be" - + "ta1.VerticalPodAutoscaling\022V\n\036desired_pr" - + "ivate_cluster_config\030\031 \001(\0132..google.cont" - + "ainer.v1beta1.PrivateClusterConfig\022a\n$de" - + "sired_intra_node_visibility_config\030\032 \001(\013" - + "23.google.container.v1beta1.IntraNodeVis" - + "ibilityConfig\022P\n\033desired_default_snat_st" - + "atus\030\034 \001(\0132+.google.container.v1beta1.De" - + "faultSnatStatus\022M\n\031desired_cluster_telem" - + "etry\030\036 \001(\0132*.google.container.v1beta1.Cl" - + "usterTelemetry\022I\n\027desired_release_channe" - + "l\030\037 \001(\0132(.google.container.v1beta1.Relea" - + "seChannel\022?\n\022desired_tpu_config\030& \001(\0132#." - + "google.container.v1beta1.TpuConfig\022V\n\037de" - + "sired_l4ilb_subsetting_config\030\' \001(\0132-.go" - + "ogle.container.v1beta1.ILBSubsettingConf" - + "ig\022M\n\031desired_datapath_provider\0302 \001(\0162*." - + "google.container.v1beta1.DatapathProvide" - + "r\022]\n\"desired_private_ipv6_google_access\030" - + "3 \001(\01621.google.container.v1beta1.Private" - + "IPv6GoogleAccess\022Q\n\033desired_notification" - + "_config\0307 \001(\0132,.google.container.v1beta1" - + ".NotificationConfig\022\036\n\026desired_master_ve" - + "rsion\030d \001(\t\022A\n\023desired_gcfs_config\030m \001(\013" - + "2$.google.container.v1beta1.GcfsConfig\022Q" - + "\n\033desired_database_encryption\030. \001(\0132,.go" - + "ogle.container.v1beta1.DatabaseEncryptio" - + "n\022Z\n desired_workload_identity_config\030/ " - + "\001(\01320.google.container.v1beta1.WorkloadI" - + "dentityConfig\022U\n\035desired_workload_certif" - + "icates\030= \001(\0132..google.container.v1beta1." - + "WorkloadCertificates\022M\n\031desired_mesh_cer" - + "tificates\030C \001(\0132*.google.container.v1bet" - + "a1.MeshCertificates\022R\n\034desired_workload_" - + "alts_config\030> \001(\0132,.google.container.v1b" - + "eta1.WorkloadALTSConfig\022G\n\026desired_shiel" - + "ded_nodes\0300 \001(\0132\'.google.container.v1bet" - + "a1.ShieldedNodes\022V\n\036desired_cost_managem" - + "ent_config\0301 \001(\0132..google.container.v1be" - + "ta1.CostManagementConfig\0228\n\016desired_mast" - + "er\0304 \001(\0132 .google.container.v1beta1.Mast" - + "er\022?\n\022desired_dns_config\0305 \001(\0132#.google.", - "container.v1beta1.DNSConfig\022_\n#desired_s" - + "ervice_external_ips_config\030< \001(\01322.googl" - + "e.container.v1beta1.ServiceExternalIPsCo" - + "nfig\022`\n#desired_authenticator_groups_con" - + "fig\030? \001(\01323.google.container.v1beta1.Aut" - + "henticatorGroupsConfig\022G\n\026desired_loggin" - + "g_config\030@ \001(\0132\'.google.container.v1beta" - + "1.LoggingConfig\022M\n\031desired_monitoring_co" - + "nfig\030A \001(\0132*.google.container.v1beta1.Mo" - + "nitoringConfig\022X\n\037desired_identity_servi" - + "ce_config\030B \001(\0132/.google.container.v1bet" - + "a1.IdentityServiceConfig\022,\n\037desired_enab" - + "le_private_endpoint\030G \001(\010H\000\210\001\001\022Y\n*desire" - + "d_node_pool_auto_config_network_tags\030n \001" - + "(\0132%.google.container.v1beta1.NetworkTag" - + "s\022L\n\026desired_protect_config\030p \001(\0132\'.goog" - + "le.container.v1beta1.ProtectConfigH\001\210\001\001\022" - + "N\n\032desired_gateway_api_config\030r \001(\0132*.go" - + "ogle.container.v1beta1.GatewayAPIConfig\022" - + "Y\n desired_node_pool_logging_config\030t \001(" - + "\0132/.google.container.v1beta1.NodePoolLog" - + "gingConfigB\"\n _desired_enable_private_en" - + "dpointB\031\n\027_desired_protect_config\"\212\010\n\tOp" - + "eration\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.contain" - + "er.v1beta1.Operation.Type\022:\n\006status\030\004 \001(" - + "\0162*.google.container.v1beta1.Operation.S" - + "tatus\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\013targe" - + "t_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+.google.container.v1beta1.Operat" - + "ionProgressB\003\340A\003\022I\n\022cluster_conditions\030\r" - + " \003(\0132).google.container.v1beta1.StatusCo" - + "nditionB\002\030\001\022J\n\023nodepool_conditions\030\016 \003(\013" - + "2).google.container.v1beta1.StatusCondit" - + "ionB\002\030\001\022!\n\005error\030\017 \001(\0132\022.google.rpc.Stat" - + "us\"R\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007" - + "PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABOR" - + "TING\020\004\"\375\002\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" - + "\016UPGRADE_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016" - + "REPAIR_CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020" - + "CREATE_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_R" - + "EPAIR_NODES\020\n\022\026\n\022AUTO_UPGRADE_NODES\020\013\022\016\n" - + "\nSET_LABELS\020\014\022\023\n\017SET_MASTER_AUTH\020\r\022\026\n\022SE" - + "T_NODE_POOL_SIZE\020\016\022\026\n\022SET_NETWORK_POLICY" - + "\020\017\022\032\n\026SET_MAINTENANCE_POLICY\020\020\"\312\002\n\021Opera" - + "tionProgress\022\014\n\004name\030\001 \001(\t\022:\n\006status\030\002 \001" - + "(\0162*.google.container.v1beta1.Operation." - + "Status\022C\n\007metrics\030\003 \003(\01322.google.contain" - + "er.v1beta1.OperationProgress.Metric\022;\n\006s" - + "tages\030\004 \003(\0132+.google.container.v1beta1.O" - + "perationProgress\032i\n\006Metric\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014double_val" - + "ue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005va" - + "lue\"\217\001\n\024CreateClusterRequest\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\007" - + "cluster\030\003 \001(\0132!.google.container.v1beta1" - + ".ClusterB\003\340A\002\022\016\n\006parent\030\005 \001(\t\"l\n\021GetClus" - + "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\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\024UpdateClusterReq" - + "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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" - + "<\n\006update\030\004 \001(\0132\'.google.container.v1bet" - + "a1.ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\261\010\n\025" - + "UpdateNodePoolRequest\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_version\030\005 \001(\tB\003\340A\002\022\027\n\nimag" - + "e_type\030\006 \001(\tB\003\340A\002\022\021\n\tlocations\030\r \003(\t\022R\n\030" - + "workload_metadata_config\030\016 \001(\01320.google." - + "container.v1beta1.WorkloadMetadataConfig" - + "\022\014\n\004name\030\010 \001(\t\022L\n\020upgrade_settings\030\017 \001(\013" - + "22.google.container.v1beta1.NodePool.Upg" - + "radeSettings\0223\n\004tags\030\020 \001(\0132%.google.cont" - + "ainer.v1beta1.NetworkTags\0224\n\006taints\030\021 \001(" - + "\0132$.google.container.v1beta1.NodeTaints\022" - + "4\n\006labels\030\022 \001(\0132$.google.container.v1bet" - + "a1.NodeLabels\022D\n\021linux_node_config\030\023 \001(\013" - + "2).google.container.v1beta1.LinuxNodeCon" - + "fig\022C\n\016kubelet_config\030\024 \001(\0132+.google.con" - + "tainer.v1beta1.NodeKubeletConfig\022H\n\023node" - + "_network_config\030\025 \001(\0132+.google.container" - + ".v1beta1.NodeNetworkConfig\0229\n\013gcfs_confi" - + "g\030\026 \001(\0132$.google.container.v1beta1.GcfsC" - + "onfig\022G\n\022confidential_nodes\030\027 \001(\0132+.goog" - + "le.container.v1beta1.ConfidentialNodes\0223" - + "\n\005gvnic\030\035 \001(\0132$.google.container.v1beta1" - + ".VirtualNIC\022G\n\016logging_config\030 \001(\0132/.go" - + "ogle.container.v1beta1.NodePoolLoggingCo" - + "nfig\022A\n\017resource_labels\030! \001(\0132(.google.c" - + "ontainer.v1beta1.ResourceLabels\"\336\001\n\035SetN" - + "odePoolAutoscalingRequest\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\033\n\014node_pool_id\030\004 \001" - + "(\tB\005\030\001\340A\002\022G\n\013autoscaling\030\005 \001(\0132-.google." - + "container.v1beta1.NodePoolAutoscalingB\003\340" - + "A\002\022\014\n\004name\030\006 \001(\t\"\221\001\n\030SetLoggingServiceRe" - + "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\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\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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\037\n\022monit" - + "oring_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\nclu" - + "ster_id\030\003 \001(\tB\005\030\001\340A\002\022B\n\raddons_config\030\004 " - + "\001(\0132&.google.container.v1beta1.AddonsCon" - + "figB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\206\001\n\023SetLocationsR" - + "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\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\nclust" - + "er_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\024SetMasterAuthR" - + "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\022J\n\006action\030\004 \001(\01625.google.container.v1b" - + "eta1.SetMasterAuthRequest.ActionB\003\340A\002\0229\n" - + "\006update\030\005 \001(\0132$.google.container.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\021GENER" - + "ATE_PASSWORD\020\002\022\020\n\014SET_USERNAME\020\003\"o\n\024Dele" - + "teClusterRequest\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\023ListCluster" - + "sRequest\022\031\n\nproject_id\030\001 \001(\tB\005\030\001\340A\002\022\023\n\004z" - + "one\030\002 \001(\tB\005\030\001\340A\002\022\016\n\006parent\030\004 \001(\t\"b\n\024List" - + "ClustersResponse\0223\n\010clusters\030\001 \003(\0132!.goo" - + "gle.container.v1beta1.Cluster\022\025\n\rmissing" - + "_zones\030\002 \003(\t\"p\n\023GetOperationRequest\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\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\nproje" - + "ct_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\026CancelOperationReques" - + "t\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\0227" - + "\n\noperations\030\001 \003(\0132#.google.container.v1" - + "beta1.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\004name" - + "\030\004 \001(\t\"\351\005\n\014ServerConfig\022\037\n\027default_clust" - + "er_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\021val" - + "id_image_types\030\005 \003(\t\022\035\n\025valid_master_ver" - + "sions\030\006 \003(\t\022M\n\010channels\030\t \003(\0132;.google.c" - + "ontainer.v1beta1.ServerConfig.ReleaseCha" - + "nnelConfig\022\\\n\024windows_version_maps\030\n \003(\013" - + "2>.google.container.v1beta1.ServerConfig" - + ".WindowsVersionMapsEntry\032\261\002\n\024ReleaseChan" - + "nelConfig\022A\n\007channel\030\001 \001(\01620.google.cont" - + "ainer.v1beta1.ReleaseChannel.Channel\022\027\n\017" - + "default_version\030\002 \001(\t\022l\n\022available_versi" - + "ons\030\003 \003(\0132L.google.container.v1beta1.Ser" - + "verConfig.ReleaseChannelConfig.Available" - + "VersionB\002\030\001\022\026\n\016valid_versions\030\004 \003(\t\0327\n\020A" - + "vailableVersion\022\017\n\007version\030\001 \001(\t\022\016\n\006reas" - + "on\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.con" - + "tainer.v1beta1.WindowsVersions:\0028\001\"\314\001\n\017W" - + "indowsVersions\022R\n\020windows_versions\030\001 \003(\013" - + "28.google.container.v1beta1.WindowsVersi" - + "ons.WindowsVersion\032e\n\016WindowsVersion\022\022\n\n" - + "image_type\030\001 \001(\t\022\022\n\nos_version\030\002 \001(\t\022+\n\020" - + "support_end_date\030\003 \001(\0132\021.google.type.Dat" - + "e\"\256\001\n\025CreateNodePoolRequest\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:\n\tnode_pool\030\004 \001(" - + "\0132\".google.container.v1beta1.NodePoolB\003\340" - + "A\002\022\016\n\006parent\030\006 \001(\t\"\215\001\n\025DeleteNodePoolReq" - + "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\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_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\016\n\006parent\030\005 \001(\t\"\212\001" - + "\n\022GetNodePoolRequest\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\022\014\n\004name\030\006 \001(\t\"\244\003\n\021BlueGreenSettings" - + "\022d\n\027standard_rollout_policy\030\001 \001(\0132A.goog" - + "le.container.v1beta1.BlueGreenSettings.S" - + "tandardRolloutPolicyH\000\022?\n\027node_pool_soak" - + "_duration\030\002 \001(\0132\031.google.protobuf.Durati" - + "onH\001\210\001\001\032\271\001\n\025StandardRolloutPolicy\022\032\n\020bat" - + "ch_percentage\030\001 \001(\002H\000\022\032\n\020batch_node_coun" - + "t\030\002 \001(\005H\000\022;\n\023batch_soak_duration\030\003 \001(\0132\031" - + ".google.protobuf.DurationH\001\210\001\001B\023\n\021update" - + "_batch_sizeB\026\n\024_batch_soak_durationB\020\n\016r" - + "ollout_policyB\032\n\030_node_pool_soak_duratio" - + "n\"\202\017\n\010NodePool\022\014\n\004name\030\001 \001(\t\0224\n\006config\030\002" - + " \001(\0132$.google.container.v1beta1.NodeConf" - + "ig\022\032\n\022initial_node_count\030\003 \001(\005\022\021\n\tlocati" - + "ons\030\r \003(\t\022C\n\016network_config\030\016 \001(\0132+.goog" - + "le.container.v1beta1.NodeNetworkConfig\022\021" - + "\n\tself_link\030d \001(\t\022\017\n\007version\030e \001(\t\022\033\n\023in" - + "stance_group_urls\030f \003(\t\0229\n\006status\030g \001(\0162" - + ").google.container.v1beta1.NodePool.Stat" - + "us\022\032\n\016status_message\030h \001(\tB\002\030\001\022B\n\013autosc" - + "aling\030\004 \001(\0132-.google.container.v1beta1.N" - + "odePoolAutoscaling\022<\n\nmanagement\030\005 \001(\0132(" - + ".google.container.v1beta1.NodeManagement" - + "\022H\n\023max_pods_constraint\030\006 \001(\0132+.google.c" - + "ontainer.v1beta1.MaxPodsConstraint\022=\n\nco" - + "nditions\030i \003(\0132).google.container.v1beta" - + "1.StatusCondition\022\032\n\022pod_ipv4_cidr_size\030" - + "\007 \001(\005\022L\n\020upgrade_settings\030k \001(\01322.google" - + ".container.v1beta1.NodePool.UpgradeSetti" - + "ngs\022L\n\020placement_policy\030l \001(\01322.google.c" - + "ontainer.v1beta1.NodePool.PlacementPolic" - + "y\022G\n\013update_info\030m \001(\0132-.google.containe" - + "r.v1beta1.NodePool.UpdateInfoB\003\340A\003\032\372\001\n\017U" - + "pgradeSettings\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.g" - + "oogle.container.v1beta1.NodePoolUpdateSt" - + "rategyH\000\210\001\001\022M\n\023blue_green_settings\030\004 \001(\013" - + "2+.google.container.v1beta1.BlueGreenSet" - + "tingsH\001\210\001\001B\013\n\t_strategyB\026\n\024_blue_green_s" - + "ettings\032\222\004\n\nUpdateInfo\022T\n\017blue_green_inf" - + "o\030\001 \001(\0132;.google.container.v1beta1.NodeP" - + "ool.UpdateInfo.BlueGreenInfo\032\255\003\n\rBlueGre" - + "enInfo\022P\n\005phase\030\001 \001(\0162A.google.container" - + ".v1beta1.NodePool.UpdateInfo.BlueGreenIn" - + "fo.Phase\022 \n\030blue_instance_group_urls\030\002 \003" - + "(\t\022!\n\031green_instance_group_urls\030\003 \003(\t\022%\n" - + "\035blue_pool_deletion_start_time\030\004 \001(\t\022\032\n\022" - + "green_pool_version\030\005 \001(\t\"\301\001\n\005Phase\022\025\n\021PH" - + "ASE_UNSPECIFIED\020\000\022\022\n\016UPDATE_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\022DELETING_BLUE_POOL\020\006\022\024" - + "\n\020ROLLBACK_STARTED\020\007\032\203\001\n\017PlacementPolicy" - + "\022E\n\004type\030\001 \001(\01627.google.container.v1beta" - + "1.NodePool.PlacementPolicy.Type\")\n\004Type\022" - + "\024\n\020TYPE_UNSPECIFIED\020\000\022\013\n\007COMPACT\020\001\"\201\001\n\006S" - + "tatus\022\026\n\022STATUS_UNSPECIFIED\020\000\022\020\n\014PROVISI" - + "ONING\020\001\022\013\n\007RUNNING\020\002\022\026\n\022RUNNING_WITH_ERR" - + "OR\020\003\022\017\n\013RECONCILING\020\004\022\014\n\010STOPPING\020\005\022\t\n\005E" - + "RROR\020\006\"\202\001\n\016NodeManagement\022\024\n\014auto_upgrad" - + "e\030\001 \001(\010\022\023\n\013auto_repair\030\002 \001(\010\022E\n\017upgrade_" - + "options\030\n \001(\0132,.google.container.v1beta1" - + ".AutoUpgradeOptions\"J\n\022AutoUpgradeOption" - + "s\022\037\n\027auto_upgrade_start_time\030\001 \001(\t\022\023\n\013de" - + "scription\030\002 \001(\t\"j\n\021MaintenancePolicy\022;\n\006" - + "window\030\001 \001(\0132+.google.container.v1beta1." - + "MaintenanceWindow\022\030\n\020resource_version\030\003 " - + "\001(\t\"\212\003\n\021MaintenanceWindow\022T\n\030daily_maint" - + "enance_window\030\002 \001(\01320.google.container.v" - + "1beta1.DailyMaintenanceWindowH\000\022I\n\020recur" - + "ring_window\030\003 \001(\0132-.google.container.v1b" - + "eta1.RecurringTimeWindowH\000\022f\n\026maintenanc" - + "e_exclusions\030\004 \003(\0132F.google.container.v1" - + "beta1.MaintenanceWindow.MaintenanceExclu" - + "sionsEntry\032b\n\032MaintenanceExclusionsEntry" - + "\022\013\n\003key\030\001 \001(\t\0223\n\005value\030\002 \001(\0132$.google.co" - + "ntainer.v1beta1.TimeWindow:\0028\001B\010\n\006policy" - + "\"\325\001\n\nTimeWindow\022^\n\035maintenance_exclusion" - + "_options\030\003 \001(\01325.google.container.v1beta" - + "1.MaintenanceExclusionOptionsH\000\022.\n\nstart" - + "_time\030\001 \001(\0132\032.google.protobuf.Timestamp\022" - + ",\n\010end_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stampB\t\n\007options\"\271\001\n\033MaintenanceExclusio" - + "nOptions\022J\n\005scope\030\001 \001(\0162;.google.contain" - + "er.v1beta1.MaintenanceExclusionOptions.S" - + "cope\"N\n\005Scope\022\017\n\013NO_UPGRADES\020\000\022\025\n\021NO_MIN" - + "OR_UPGRADES\020\001\022\035\n\031NO_MINOR_OR_NODE_UPGRAD" - + "ES\020\002\"_\n\023RecurringTimeWindow\0224\n\006window\030\001 " - + "\001(\0132$.google.container.v1beta1.TimeWindo" - + "w\022\022\n\nrecurrence\030\002 \001(\t\">\n\026DailyMaintenanc" - + "eWindow\022\022\n\nstart_time\030\002 \001(\t\022\020\n\010duration\030" - + "\003 \001(\t\"\327\001\n\034SetNodePoolManagementRequest\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\014nod" - + "e_pool_id\030\004 \001(\tB\005\030\001\340A\002\022A\n\nmanagement\030\005 \001" - + "(\0132(.google.container.v1beta1.NodeManage" - + "mentB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\247\001\n\026SetNodePoolS" - + "izeRequest\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\027\n\nno" - + "de_count\030\005 \001(\005B\003\340A\002\022\014\n\004name\030\007 \001(\t\".\n\036Com" - + "pleteNodePoolUpgradeRequest\022\014\n\004name\030\001 \001(" - + "\t\"\253\001\n\036RollbackNodePoolUpgradeRequest\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\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\022\023\n\013re" - + "spect_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_autoprovisioning\030\001 \001(\010\022@\n" - + "\017resource_limits\030\002 \003(\0132\'.google.containe" - + "r.v1beta1.ResourceLimit\022\\\n\023autoscaling_p" - + "rofile\030\003 \001(\0162?.google.container.v1beta1." - + "ClusterAutoscaling.AutoscalingProfile\022g\n" - + "#autoprovisioning_node_pool_defaults\030\004 \001" - + "(\0132:.google.container.v1beta1.Autoprovis" - + "ioningNodePoolDefaults\022\"\n\032autoprovisioni" - + "ng_locations\030\005 \003(\t\"U\n\022AutoscalingProfile" - + "\022\027\n\023PROFILE_UNSPECIFIED\020\000\022\030\n\024OPTIMIZE_UT" - + "ILIZATION\020\001\022\014\n\010BALANCED\020\002\"\247\003\n Autoprovis" - + "ioningNodePoolDefaults\022\024\n\014oauth_scopes\030\001" - + " \003(\t\022\027\n\017service_account\030\002 \001(\t\022L\n\020upgrade" - + "_settings\030\003 \001(\01322.google.container.v1bet" - + "a1.NodePool.UpgradeSettings\022<\n\nmanagemen" - + "t\030\004 \001(\0132(.google.container.v1beta1.NodeM" - + "anagement\022\034\n\020min_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" - + "\022R\n\030shielded_instance_config\030\010 \001(\01320.goo" - + "gle.container.v1beta1.ShieldedInstanceCo" - + "nfig\022\031\n\021boot_disk_kms_key\030\t \001(\t\022\022\n\nimage" - + "_type\030\n \001(\t\"H\n\rResourceLimit\022\025\n\rresource" - + "_type\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_no" - + "de_count\030\003 \001(\005\022\027\n\017autoprovisioned\030\004 \001(\010\022" - + "U\n\017location_policy\030\005 \001(\0162<.google.contai" - + "ner.v1beta1.NodePoolAutoscaling.Location" - + "Policy\022\034\n\024total_min_node_count\030\006 \001(\005\022\034\n\024" - + "total_max_node_count\030\007 \001(\005\"H\n\016LocationPo" - + "licy\022\037\n\033LOCATION_POLICY_UNSPECIFIED\020\000\022\014\n" - + "\010BALANCED\020\001\022\007\n\003ANY\020\002\"\240\002\n\020SetLabelsReques" - + "t\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\017" - + "resource_labels\030\004 \003(\0132>.google.container" - + ".v1beta1.SetLabelsRequest.ResourceLabels" - + "EntryB\003\340A\002\022\036\n\021label_fingerprint\030\005 \001(\tB\003\340" - + "A\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\024SetL" - + "egacyAbacRequest\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\004nam" - + "e\030\006 \001(\t\"\215\001\n\026StartIPRotationRequest\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\014\n\004name\030\006 " - + "\001(\t\022\032\n\022rotate_credentials\030\007 \001(\010\"t\n\031Compl" - + "eteIPRotationRequest\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\014\n\004name\030\007 \001(\t\"\365\001\n\021Accele" - + "ratorConfig\022\031\n\021accelerator_count\030\001 \001(\003\022\030" - + "\n\020accelerator_type\030\002 \001(\t\022\032\n\022gpu_partitio" - + "n_size\030\003 \001(\t\022+\n\037max_time_shared_clients_" - + "per_gpu\030\004 \001(\003B\002\030\001\022K\n\022gpu_sharing_config\030" - + "\005 \001(\0132*.google.container.v1beta1.GPUShar" - + "ingConfigH\000\210\001\001B\025\n\023_gpu_sharing_config\"\377\001" - + "\n\020GPUSharingConfig\022\"\n\032max_shared_clients" - + "_per_gpu\030\001 \001(\003\022`\n\024gpu_sharing_strategy\030\002" - + " \001(\0162=.google.container.v1beta1.GPUShari" - + "ngConfig.GPUSharingStrategyH\000\210\001\001\"L\n\022GPUS" - + "haringStrategy\022$\n GPU_SHARING_STRATEGY_U" - + "NSPECIFIED\020\000\022\020\n\014TIME_SHARING\020\001B\027\n\025_gpu_s" - + "haring_strategy\"*\n\027ManagedPrometheusConf" - + "ig\022\017\n\007enabled\030\001 \001(\010\"\313\002\n\026WorkloadMetadata" - + "Config\022X\n\rnode_metadata\030\001 \001(\0162=.google.c" - + "ontainer.v1beta1.WorkloadMetadataConfig." - + "NodeMetadataB\002\030\001\022C\n\004mode\030\002 \001(\01625.google." - + "container.v1beta1.WorkloadMetadataConfig" - + ".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_S" - + "ERVER\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\027Se" - + "tNetworkPolicyRequest\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\022D\n\016network_policy\030\004 \001(\013" - + "2\'.google.container.v1beta1.NetworkPolic" - + "yB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\276\001\n\033SetMaintenanceP" - + "olicyRequest\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.c" - + "ontainer.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\025ListLocationsRespo" - + "nse\0225\n\tlocations\030\001 \003(\0132\".google.containe" - + "r.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\014Lo" - + "cationType\022\035\n\031LOCATION_TYPE_UNSPECIFIED\020" - + "\000\022\010\n\004ZONE\020\001\022\n\n\006REGION\020\002\"\262\002\n\017StatusCondit" - + "ion\022@\n\004code\030\001 \001(\0162..google.container.v1b" - + "eta1.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_ST" - + "OCKOUT\020\001\022\037\n\033GKE_SERVICE_ACCOUNT_DELETED\020" - + "\002\022\026\n\022GCE_QUOTA_EXCEEDED\020\003\022\023\n\017SET_BY_OPER" - + "ATOR\020\004\022\027\n\023CLOUD_KMS_KEY_ERROR\020\007\022\017\n\013CA_EX" - + "PIRING\020\t\032\002\030\001\"\275\004\n\rNetworkConfig\022\017\n\007networ" - + "k\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022$\n\034enable_in" - + "tra_node_visibility\030\005 \001(\010\022H\n\023default_sna" - + "t_status\030\007 \001(\0132+.google.container.v1beta" - + "1.DefaultSnatStatus\022\037\n\027enable_l4ilb_subs" - + "etting\030\n \001(\010\022E\n\021datapath_provider\030\013 \001(\0162" - + "*.google.container.v1beta1.DatapathProvi" - + "der\022U\n\032private_ipv6_google_access\030\014 \001(\0162" - + "1.google.container.v1beta1.PrivateIPv6Go", - "ogleAccess\0227\n\ndns_config\030\r \001(\0132#.google." - + "container.v1beta1.DNSConfig\022W\n\033service_e" - + "xternal_ips_config\030\017 \001(\01322.google.contai" - + "ner.v1beta1.ServiceExternalIPsConfig\022F\n\022" - + "gateway_api_config\030\020 \001(\0132*.google.contai" - + "ner.v1beta1.GatewayAPIConfig\"\301\001\n\020Gateway" - + "APIConfig\022C\n\007channel\030\001 \001(\01622.google.cont" - + "ainer.v1beta1.GatewayAPIConfig.Channel\"h" - + "\n\007Channel\022\027\n\023CHANNEL_UNSPECIFIED\020\000\022\024\n\020CH" - + "ANNEL_DISABLED\020\001\022\030\n\024CHANNEL_EXPERIMENTAL" - + "\020\003\022\024\n\020CHANNEL_STANDARD\020\004\"+\n\030ServiceExter" - + "nalIPsConfig\022\017\n\007enabled\030\001 \001(\010\"j\n\034ListUsa" - + "bleSubnetworksRequest\022\023\n\006parent\030\001 \001(\tB\003\340" - + "A\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\035ListUsableSubnetwor" - + "ksResponse\022?\n\013subnetworks\030\001 \003(\0132*.google" - + ".container.v1beta1.UsableSubnetwork\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\"\205\002\n\036UsableSubnetwor" - + "kSecondaryRange\022\022\n\nrange_name\030\001 \001(\t\022\025\n\ri" - + "p_cidr_range\030\002 \001(\t\022O\n\006status\030\003 \001(\0162?.goo" - + "gle.container.v1beta1.UsableSubnetworkSe" - + "condaryRange.Status\"g\n\006Status\022\013\n\007UNKNOWN" - + "\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_MANAGED_P" - + "OD\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\022U\n\023secondary_ip_ranges\030\004 \003(\01328.goo" - + "gle.container.v1beta1.UsableSubnetworkSe" - + "condaryRange\022\026\n\016status_message\030\005 \001(\t\")\n\026" - + "VerticalPodAutoscaling\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\"\307\002\n\tDNSConfig\022A\n\013cluster_dns\030\001 \001(\0162" - + ",.google.container.v1beta1.DNSConfig.Pro" - + "vider\022G\n\021cluster_dns_scope\030\002 \001(\0162,.googl" - + "e.container.v1beta1.DNSConfig.DNSScope\022\032" - + "\n\022cluster_dns_domain\030\003 \001(\t\"I\n\010Provider\022\030" - + "\n\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_DEF" - + "AULT\020\001\022\r\n\tCLOUD_DNS\020\002\"G\n\010DNSScope\022\031\n\025DNS" - + "_SCOPE_UNSPECIFIED\020\000\022\021\n\rCLUSTER_SCOPE\020\001\022" - + "\r\n\tVPC_SCOPE\020\002\".\n\021MaxPodsConstraint\022\031\n\021m" - + "ax_pods_per_node\030\001 \001(\003\"j\n\026WorkloadIdenti" - + "tyConfig\022\036\n\022identity_namespace\030\001 \001(\tB\002\030\001" - + "\022\025\n\rworkload_pool\030\002 \001(\t\022\031\n\021identity_prov" - + "ider\030\003 \001(\t\"E\n\022WorkloadALTSConfig\022/\n\013enab" - + "le_alts\030\001 \001(\0132\032.google.protobuf.BoolValu" - + "e\"O\n\024WorkloadCertificates\0227\n\023enable_cert" - + "ificates\030\001 \001(\0132\032.google.protobuf.BoolVal" - + "ue\"K\n\020MeshCertificates\0227\n\023enable_certifi" - + "cates\030\001 \001(\0132\032.google.protobuf.BoolValue\"" - + "\235\001\n\022DatabaseEncryption\022A\n\005state\030\002 \001(\01622." - + "google.container.v1beta1.DatabaseEncrypt" - + "ion.State\022\020\n\010key_name\030\001 \001(\t\"2\n\005State\022\013\n\007" - + "UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYPTED\020\002\"" - + "\367\002\n\031ResourceUsageExportConfig\022e\n\024bigquer" - + "y_destination\030\001 \001(\0132G.google.container.v" - + "1beta1.ResourceUsageExportConfig.BigQuer" - + "yDestination\022&\n\036enable_network_egress_me" - + "tering\030\002 \001(\010\022r\n\033consumption_metering_con" - + "fig\030\003 \001(\0132M.google.container.v1beta1.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\rShieldedNodes\022\017\n\007en" - + "abled\030\001 \001(\010\"\035\n\nVirtualNIC\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\006issu" - + "er\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030response_t" - + "ypes_supported\030\003 \003(\t\022\037\n\027subject_types_su" - + "pported\030\004 \003(\t\022-\n%id_token_signing_alg_va" - + "lues_supported\030\005 \003(\t\022\030\n\020claims_supported" - + "\030\006 \003(\t\022\023\n\013grant_types\030\007 \003(\t\"\'\n\025GetJSONWe" - + "bKeysRequest\022\016\n\006parent\030\001 \001(\t\"r\n\003Jwk\022\013\n\003k" - + "ty\030\001 \001(\t\022\013\n\003alg\030\002 \001(\t\022\013\n\003use\030\003 \001(\t\022\013\n\003ki" - + "d\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\026GetJSONWebKe" - + "ysResponse\022+\n\004keys\030\001 \003(\0132\035.google.contai" - + "ner.v1beta1.Jwk\"\223\001\n\016ReleaseChannel\022A\n\007ch" - + "annel\030\001 \001(\01620.google.container.v1beta1.R" - + "eleaseChannel.Channel\">\n\007Channel\022\017\n\013UNSP" - + "ECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020\002\022\n\n\006STA" - + "BLE\020\003\"\'\n\024CostManagementConfig\022\017\n\007enabled" - + "\030\001 \001(\010\"U\n\tTpuConfig\022\017\n\007enabled\030\001 \001(\010\022\036\n\026" - + "use_service_networking\030\002 \001(\010\022\027\n\017ipv4_cid" - + "r_block\030\003 \001(\t\"\010\n\006Master\"\034\n\tAutopilot\022\017\n\007" - + "enabled\030\001 \001(\010\"\267\003\n\022NotificationConfig\022C\n\006" - + "pubsub\030\001 \001(\01323.google.container.v1beta1." - + "NotificationConfig.PubSub\032\217\001\n\006PubSub\022\017\n\007" - + "enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsu" - + "b.googleapis.com/Topic\022C\n\006filter\030\003 \001(\01323" - + ".google.container.v1beta1.NotificationCo" - + "nfig.Filter\032T\n\006Filter\022J\n\nevent_type\030\001 \003(" - + "\01626.google.container.v1beta1.Notificatio" - + "nConfig.EventType\"t\n\tEventType\022\032\n\026EVENT_" - + "TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_" - + "EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_B" - + "ULLETIN_EVENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007" - + "enabled\030\001 \001(\010\"\344\001\n\014UpgradeEvent\022D\n\rresour" - + "ce_type\030\001 \001(\0162-.google.container.v1beta1" - + ".UpgradeResourceType\022\021\n\toperation\030\002 \001(\t\022" - + "8\n\024operation_start_time\030\003 \001(\0132\032.google.p" - + "rotobuf.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\007versio" - + "n\030\001 \001(\t\022D\n\rresource_type\030\002 \001(\0162-.google." - + "container.v1beta1.UpgradeResourceType\022A\n" - + "\017release_channel\030\003 \001(\0132(.google.containe" - + "r.v1beta1.ReleaseChannel\022\020\n\010resource\030\004 \001" - + "(\t\022C\n\020windows_versions\030\005 \001(\0132).google.co" - + "ntainer.v1beta1.WindowsVersions\"\236\002\n\025Secu" - + "rityBulletinEvent\022\036\n\026resource_type_affec" - + "ted\030\001 \001(\t\022\023\n\013bulletin_id\030\002 \001(\t\022\017\n\007cve_id" - + "s\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014bulletin_ur" - + "i\030\005 \001(\t\022\031\n\021brief_description\030\006 \001(\t\022!\n\031af" - + "fected_supported_minors\030\007 \003(\t\022\030\n\020patched" - + "_versions\030\010 \003(\t\022 \n\030suggested_upgrade_tar" - + "get\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.Logging" - + "ComponentConfig\"\364\001\n\026LoggingComponentConf" - + "ig\022U\n\021enable_components\030\001 \003(\0162:.google.c" - + "ontainer.v1beta1.LoggingComponentConfig." - + "Component\"\202\001\n\tComponent\022\031\n\025COMPONENT_UNS" - + "PECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tWOR" - + "KLOADS\020\002\022\r\n\tAPISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026" - + "\n\022CONTROLLER_MANAGER\020\005\"\267\001\n\020MonitoringCon" - + "fig\022M\n\020component_config\030\001 \001(\01323.google.c" - + "ontainer.v1beta1.MonitoringComponentConf" - + "ig\022T\n\031managed_prometheus_config\030\002 \001(\01321." - + "google.container.v1beta1.ManagedPromethe" - + "usConfig\"_\n\025NodePoolLoggingConfig\022F\n\016var" - + "iant_config\030\001 \001(\0132..google.container.v1b" - + "eta1.LoggingVariantConfig\"\244\001\n\024LoggingVar" - + "iantConfig\022G\n\007variant\030\001 \001(\01626.google.con" - + "tainer.v1beta1.LoggingVariantConfig.Vari" - + "ant\"C\n\007Variant\022\027\n\023VARIANT_UNSPECIFIED\020\000\022" - + "\013\n\007DEFAULT\020\001\022\022\n\016MAX_THROUGHPUT\020\002\"\376\001\n\031Mon" - + "itoringComponentConfig\022X\n\021enable_compone" - + "nts\030\001 \003(\0162=.google.container.v1beta1.Mon" - + "itoringComponentConfig.Component\"\206\001\n\tCom" - + "ponent\022\031\n\025COMPONENT_UNSPECIFIED\020\000\022\025\n\021SYS" - + "TEM_COMPONENTS\020\001\022\021\n\tWORKLOADS\020\002\032\002\010\001\022\r\n\tA" - + "PISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER_" - + "MANAGER\020\005*\306\001\n\027PrivateIPv6GoogleAccess\022*\n" - + "&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED\020" - + "\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED" - + "\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOG" - + "LE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_ACCESS_BIDIR" - + "ECTIONAL\020\003*W\n\023UpgradeResourceType\022%\n!UPG" - + "RADE_RESOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006MAST" - + "ER\020\001\022\r\n\tNODE_POOL\020\002*^\n\026NodePoolUpdateStr" - + "ategy\022)\n%NODE_POOL_UPDATE_STRATEGY_UNSPE" - + "CIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022\t\n\005SURGE\020\003*a\n\020D" - + "atapathProvider\022!\n\035DATAPATH_PROVIDER_UNS" - + "PECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020\001\022\025\n\021ADVAN" - + "CED_DATAPATH\020\0022\262L\n\016ClusterManager\022\363\001\n\014Li" - + "stClusters\022-.google.container.v1beta1.Li" - + "stClustersRequest\032..google.container.v1b" - + "eta1.ListClustersResponse\"\203\001\202\323\344\223\002k\0221/v1b" - + "eta1/{parent=projects/*/locations/*}/clu" - + "stersZ6\0224/v1beta1/projects/{project_id}/" - + "zones/{zone}/clusters\332A\017project_id,zone\022" - + "\372\001\n\nGetCluster\022+.google.container.v1beta" - + "1.GetClusterRequest\032!.google.container.v" - + "1beta1.Cluster\"\233\001\202\323\344\223\002x\0221/v1beta1/{name=" - + "projects/*/locations/*/clusters/*}ZC\022A/v" - + "1beta1/projects/{project_id}/zones/{zone" - + "}/clusters/{cluster_id}\332A\032project_id,zon" - + "e,cluster_id\022\370\001\n\rCreateCluster\022..google." - + "container.v1beta1.CreateClusterRequest\032#" - + ".google.container.v1beta1.Operation\"\221\001\202\323" - + "\344\223\002q\"1/v1beta1/{parent=projects/*/locati" - + "ons/*}/clusters:\001*Z9\"4/v1beta1/projects/" - + "{project_id}/zones/{zone}/clusters:\001*\332A\027" - + "project_id,zone,cluster\022\217\002\n\rUpdateCluste" - + "r\022..google.container.v1beta1.UpdateClust" - + "erRequest\032#.google.container.v1beta1.Ope" - + "ration\"\250\001\202\323\344\223\002~\0321/v1beta1/{name=projects" - + "/*/locations/*/clusters/*}:\001*ZF\032A/v1beta" - + "1/projects/{project_id}/zones/{zone}/clu" - + "sters/{cluster_id}:\001*\332A!project_id,zone," - + "cluster_id,update\022\232\002\n\016UpdateNodePool\022/.g" - + "oogle.container.v1beta1.UpdateNodePoolRe" - + "quest\032#.google.container.v1beta1.Operati" - + "on\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{name=projects/*/" - + "locations/*/clusters/*/nodePools/*}:\001*Zf" - + "\"a/v1beta1/projects/{project_id}/zones/{" - + "zone}/clusters/{cluster_id}/nodePools/{n" - + "ode_pool_id}/update:\001*\022\276\002\n\026SetNodePoolAu" - + "toscaling\0227.google.container.v1beta1.Set" - + "NodePoolAutoscalingRequest\032#.google.cont" - + "ainer.v1beta1.Operation\"\305\001\202\323\344\223\002\276\001\"L/v1be" - + "ta1/{name=projects/*/locations/*/cluster" - + "s/*/nodePools/*}:setAutoscaling:\001*Zk\"f/v" - + "1beta1/projects/{project_id}/zones/{zone" - + "}/clusters/{cluster_id}/nodePools/{node_" - + "pool_id}/autoscaling:\001*\022\264\002\n\021SetLoggingSe" - + "rvice\0222.google.container.v1beta1.SetLogg" - + "ingServiceRequest\032#.google.container.v1b" - + "eta1.Operation\"\305\001\202\323\344\223\002\221\001\"/" - + "v1beta1/{name=projects/*/locations/*/clu" - + "sters/*}:setLocations:\001*ZP\"K/v1beta1/pro" - + "jects/{project_id}/zones/{zone}/clusters" - + "/{cluster_id}/locations:\001*\332A$project_id," - + "zone,cluster_id,locations\022\252\002\n\014UpdateMast" - + "er\022-.google.container.v1beta1.UpdateMast" - + "erRequest\032#.google.container.v1beta1.Ope" - + "ration\"\305\001\202\323\344\223\002\222\001\">/v1beta1/{name=project" - + "s/*/locations/*/clusters/*}:updateMaster" - + ":\001*ZM\"H/v1beta1/projects/{project_id}/zo" - + "nes/{zone}/clusters/{cluster_id}/master:" - + "\001*\332A)project_id,zone,cluster_id,master_v" - + "ersion\022\210\002\n\rSetMasterAuth\022..google.contai" - + "ner.v1beta1.SetMasterAuthRequest\032#.googl" - + "e.container.v1beta1.Operation\"\241\001\202\323\344\223\002\232\001\"" - + "?/v1beta1/{name=projects/*/locations/*/c" - + "lusters/*}:setMasterAuth:\001*ZT\"O/v1beta1/" - + "projects/{project_id}/zones/{zone}/clust" - + "ers/{cluster_id}:setMasterAuth:\001*\022\202\002\n\rDe" - + "leteCluster\022..google.container.v1beta1.D" - + "eleteClusterRequest\032#.google.container.v" - + "1beta1.Operation\"\233\001\202\323\344\223\002x*1/v1beta1/{nam" - + "e=projects/*/locations/*/clusters/*}ZC*A" - + "/v1beta1/projects/{project_id}/zones/{zo" - + "ne}/clusters/{cluster_id}\332A\032project_id,z" - + "one,cluster_id\022\375\001\n\016ListOperations\022/.goog" - + "le.container.v1beta1.ListOperationsReque" - + "st\0320.google.container.v1beta1.ListOperat" - + "ionsResponse\"\207\001\202\323\344\223\002o\0223/v1beta1/{parent=" - + "projects/*/locations/*}/operationsZ8\0226/v" - + "1beta1/projects/{project_id}/zones/{zone" - + "}/operations\332A\017project_id,zone\022\210\002\n\014GetOp" - + "eration\022-.google.container.v1beta1.GetOp" - + "erationRequest\032#.google.container.v1beta" - + "1.Operation\"\243\001\202\323\344\223\002~\0223/v1beta1/{name=pro" - + "jects/*/locations/*/operations/*}ZG\022E/v1" - + "beta1/projects/{project_id}/zones/{zone}" - + "/operations/{operation_id}\332A\034project_id," - + "zone,operation_id\022\226\002\n\017CancelOperation\0220." - + "google.container.v1beta1.CancelOperation" - + "Request\032\026.google.protobuf.Empty\"\270\001\202\323\344\223\002\222" - + "\001\":/v1beta1/{name=projects/*/locations/*" - + "/operations/*}:cancel:\001*ZQ\"L/v1beta1/pro" - + "jects/{project_id}/zones/{zone}/operatio" - + "ns/{operation_id}:cancel:\001*\332A\034project_id" - + ",zone,operation_id\022\367\001\n\017GetServerConfig\0220" - + ".google.container.v1beta1.GetServerConfi" - + "gRequest\032&.google.container.v1beta1.Serv" - + "erConfig\"\211\001\202\323\344\223\002q\0223/v1beta1/{name=projec" - + "ts/*/locations/*}/serverConfigZ:\0228/v1bet" - + "a1/projects/{project_id}/zones/{zone}/se" - + "rverconfig\332A\017project_id,zone\022\245\002\n\rListNod" - + "ePools\022..google.container.v1beta1.ListNo" - + "dePoolsRequest\032/.google.container.v1beta" - + "1.ListNodePoolsResponse\"\262\001\202\323\344\223\002\216\001\022=/v1be" - + "ta1/{parent=projects/*/locations/*/clust" - + "ers/*}/nodePoolsZM\022K/v1beta1/projects/{p" - + "roject_id}/zones/{zone}/clusters/{cluste" - + "r_id}/nodePools\332A\032project_id,zone,cluste" - + "r_id\022\265\001\n\016GetJSONWebKeys\022/.google.contain" - + "er.v1beta1.GetJSONWebKeysRequest\0320.googl" - + "e.container.v1beta1.GetJSONWebKeysRespon" - + "se\"@\202\323\344\223\002:\0228/v1beta1/{parent=projects/*/" - + "locations/*/clusters/*}/jwks\022\260\002\n\013GetNode" - + "Pool\022,.google.container.v1beta1.GetNodeP" - + "oolRequest\032\".google.container.v1beta1.No" - + "dePool\"\316\001\202\323\344\223\002\235\001\022=/v1beta1/{name=project" - + "s/*/locations/*/clusters/*/nodePools/*}Z" - + "\\\022Z/v1beta1/projects/{project_id}/zones/" - + "{zone}/clusters/{cluster_id}/nodePools/{" - + "node_pool_id}\332A\'project_id,zone,cluster_" - + "id,node_pool_id\022\253\002\n\016CreateNodePool\022/.goo" - + "gle.container.v1beta1.CreateNodePoolRequ" - + "est\032#.google.container.v1beta1.Operation" - + "\"\302\001\202\323\344\223\002\224\001\"=/v1beta1/{parent=projects/*/" - + "locations/*/clusters/*}/nodePools:\001*ZP\"K" - + "/v1beta1/projects/{project_id}/zones/{zo" - + "ne}/clusters/{cluster_id}/nodePools:\001*\332A" - + "$project_id,zone,cluster_id,node_pool\022\267\002" - + "\n\016DeleteNodePool\022/.google.container.v1be" - + "ta1.DeleteNodePoolRequest\032#.google.conta" - + "iner.v1beta1.Operation\"\316\001\202\323\344\223\002\235\001*=/v1bet" - + "a1/{name=projects/*/locations/*/clusters" - + "/*/nodePools/*}Z\\*Z/v1beta1/projects/{pr" - + "oject_id}/zones/{zone}/clusters/{cluster" - + "_id}/nodePools/{node_pool_id}\332A\'project_" - + "id,zone,cluster_id,node_pool_id\022\305\001\n\027Comp" - + "leteNodePoolUpgrade\0228.google.container.v" - + "1beta1.CompleteNodePoolUpgradeRequest\032\026." - + "google.protobuf.Empty\"X\202\323\344\223\002R\"M/v1beta1/" - + "{name=projects/*/locations/*/clusters/*/" - + "nodePools/*}:completeUpgrade:\001*\022\341\002\n\027Roll" - + "backNodePoolUpgrade\0228.google.container.v" - + "1beta1.RollbackNodePoolUpgradeRequest\032#." - + "google.container.v1beta1.Operation\"\346\001\202\323\344" - + "\223\002\265\001\"F/v1beta1/{name=projects/*/location" - + "s/*/clusters/*/nodePools/*}:rollback:\001*Z" - + "h\"c/v1beta1/projects/{project_id}/zones/" - + "{zone}/clusters/{cluster_id}/nodePools/{" - + "node_pool_id}:rollback:\001*\332A\'project_id,z" - + "one,cluster_id,node_pool_id\022\362\002\n\025SetNodeP" - + "oolManagement\0226.google.container.v1beta1" - + ".SetNodePoolManagementRequest\032#.google.c" - + "ontainer.v1beta1.Operation\"\373\001\202\323\344\223\002\277\001\"K/v" - + "1beta1/{name=projects/*/locations/*/clus" - + "ters/*/nodePools/*}:setManagement:\001*Zm\"h" - + "/v1beta1/projects/{project_id}/zones/{zo" - + "ne}/clusters/{cluster_id}/nodePools/{nod" - + "e_pool_id}/setManagement:\001*\332A2project_id" - + ",zone,cluster_id,node_pool_id,management" - + "\022\304\002\n\tSetLabels\022*.google.container.v1beta" - + "1.SetLabelsRequest\032#.google.container.v1" - + "beta1.Operation\"\345\001\202\323\344\223\002\237\001\"C/v1beta1/{nam" - + "e=projects/*/locations/*/clusters/*}:set" - + "ResourceLabels:\001*ZU\"P/v1beta1/projects/{" - + "project_id}/zones/{zone}/clusters/{clust" - + "er_id}/resourceLabels:\001*\332A - * Whether Confidential Nodes feature is enabled. - * - * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java deleted file mode 100644 index 03bbc8fc52df..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ConfigConnectorConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ConfigConnectorConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether Cloud Connector is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java deleted file mode 100644 index ec715bfa4659..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface CostManagementConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CostManagementConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the feature is enabled or not.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java deleted file mode 100644 index c2d2542c55bf..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface DefaultSnatStatusOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DefaultSnatStatus) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Disables cluster default sNAT rules.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java deleted file mode 100644 index 2d4b812ac240..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface DnsCacheConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DnsCacheConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether NodeLocal DNSCache is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java deleted file mode 100644 index 6a4da1420e23..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface EphemeralStorageConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.EphemeralStorageConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Number of local SSDs to use to back ephemeral storage. Uses NVMe
-   * interfaces. Each local SSD is 375 GB in size.
-   * If zero, it means to disable using local SSDs as ephemeral storage.
-   * 
- * - * int32 local_ssd_count = 1; - * - * @return The localSsdCount. - */ - int getLocalSsdCount(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java deleted file mode 100644 index 17dcc8620733..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GcePersistentDiskCsiDriverConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java deleted file mode 100644 index 9e15cbe75ade..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GcfsConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcfsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether to use GCFS.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java deleted file mode 100644 index b1b391d8f450..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GcpFilestoreCsiDriverConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcpFilestoreCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the GCP Filestore CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java deleted file mode 100644 index d6916e8e2c67..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GkeBackupAgentConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GkeBackupAgentConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Backup for GKE agent is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java deleted file mode 100644 index 00047639fc2e..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface HorizontalPodAutoscalingOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HorizontalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
-   * When enabled, it ensures that metrics are collected into Stackdriver
-   * Monitoring.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java deleted file mode 100644 index cc8ca3b2dff7..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface HttpLoadBalancingOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HttpLoadBalancing) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the HTTP Load Balancing controller is enabled in the cluster.
-   * When enabled, it runs a small pod in the cluster that manages the load
-   * balancers.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java deleted file mode 100644 index f46385570e11..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ILBSubsettingConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ILBSubsettingConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enables l4 ILB subsetting for this cluster
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java deleted file mode 100644 index f1fb042b871d..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface IdentityServiceConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IdentityServiceConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether to enable the Identity Service component
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java deleted file mode 100644 index 0cfb8e6df040..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface IntraNodeVisibilityConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IntraNodeVisibilityConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enables intra node visibility for this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} 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 deleted file mode 100644 index 1c935b967030..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface KalmConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KalmConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether KALM is enabled for this cluster.
-   * 
- * - * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1130 - * @return The enabled. - */ - @java.lang.Deprecated - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java deleted file mode 100644 index ce5bd328fd41..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface KubernetesDashboardOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KubernetesDashboard) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether the Kubernetes Dashboard is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java deleted file mode 100644 index 17db836374dd..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ManagedPrometheusConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ManagedPrometheusConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enable Managed Collection.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java deleted file mode 100644 index 85a303c7bbbe..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface MasterOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Master) - com.google.protobuf.MessageOrBuilder {} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index 13ada7162cd1..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface MaxPodsConstraintOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaxPodsConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Constraint enforced on the max num of pods per node.
-   * 
- * - * int64 max_pods_per_node = 1; - * - * @return The maxPodsPerNode. - */ - long getMaxPodsPerNode(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java deleted file mode 100644 index cb3a02dca5db..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface NetworkPolicyConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkPolicyConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether NetworkPolicy is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java deleted file mode 100644 index ce6bf7f032ad..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface PodSecurityPolicyConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PodSecurityPolicyConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
-   * must be valid under a PodSecurityPolicy to be created.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java deleted file mode 100644 index e1eeb7fc6248..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface PrivateClusterMasterGlobalAccessConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whenever master is accessible globally or not.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java deleted file mode 100644 index 49036833d6d7..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ServiceExternalIPsConfigOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServiceExternalIPsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether Services with ExternalIPs field are allowed or not.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java deleted file mode 100644 index 9342c124cffd..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ShieldedNodesOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ShieldedNodes) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java deleted file mode 100644 index bf8c72e0854d..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface VerticalPodAutoscalingOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VerticalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Enables vertical pod autoscaling.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java deleted file mode 100644 index 1482a7848dc7..000000000000 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface VirtualNICOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VirtualNIC) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether gVNIC features are enabled in the node pool.
-   * 
- * - * bool enabled = 1; - * - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java similarity index 99% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java index 4a7cc8076b11..aec67db85ebf 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java +++ b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.container.v1.stub.ClusterManagerStubSettings; diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java similarity index 99% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java index 4561644d9508..8ae2ac50ca28 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java +++ b/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java @@ -72,6 +72,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java similarity index 100% rename from java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java similarity index 100% rename from java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java b/owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java similarity index 100% rename from java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java rename to owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java diff --git a/owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java b/owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java new file mode 100644 index 000000000000..b40809697a30 --- /dev/null +++ b/owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java @@ -0,0 +1,3175 @@ +package com.google.container.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Google Kubernetes Engine Cluster Manager v1
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/container/v1/cluster_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ClusterManagerGrpc { + + private ClusterManagerGrpc() {} + + public static final String SERVICE_NAME = "google.container.v1.ClusterManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.container.v1.ListClustersRequest.class, + responseType = com.google.container.v1.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + ClusterManagerGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.container.v1.GetClusterRequest.class, + responseType = com.google.container.v1.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + ClusterManagerGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.container.v1.CreateClusterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + ClusterManagerGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.container.v1.UpdateClusterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + ClusterManagerGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.UpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", + requestType = com.google.container.v1.UpdateNodePoolRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateNodePoolMethod() { + io.grpc.MethodDescriptor getUpdateNodePoolMethod; + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + ClusterManagerGrpc.getUpdateNodePoolMethod = getUpdateNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.UpdateNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) + .build(); + } + } + } + return getUpdateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", + requestType = com.google.container.v1.SetNodePoolAutoscalingRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod() { + io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { + ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = getSetNodePoolAutoscalingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNodePoolAutoscalingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) + .build(); + } + } + } + return getSetNodePoolAutoscalingMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLoggingServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", + requestType = com.google.container.v1.SetLoggingServiceRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLoggingServiceMethod() { + io.grpc.MethodDescriptor getSetLoggingServiceMethod; + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + ClusterManagerGrpc.getSetLoggingServiceMethod = getSetLoggingServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLoggingServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) + .build(); + } + } + } + return getSetLoggingServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetMonitoringServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", + requestType = com.google.container.v1.SetMonitoringServiceRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetMonitoringServiceMethod() { + io.grpc.MethodDescriptor getSetMonitoringServiceMethod; + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { + ClusterManagerGrpc.getSetMonitoringServiceMethod = getSetMonitoringServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetMonitoringServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) + .build(); + } + } + } + return getSetMonitoringServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetAddonsConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", + requestType = com.google.container.v1.SetAddonsConfigRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetAddonsConfigMethod() { + io.grpc.MethodDescriptor getSetAddonsConfigMethod; + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + ClusterManagerGrpc.getSetAddonsConfigMethod = getSetAddonsConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetAddonsConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) + .build(); + } + } + } + return getSetAddonsConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLocations", + requestType = com.google.container.v1.SetLocationsRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLocationsMethod() { + io.grpc.MethodDescriptor getSetLocationsMethod; + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + ClusterManagerGrpc.getSetLocationsMethod = getSetLocationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLocationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLocations")) + .build(); + } + } + } + return getSetLocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateMasterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", + requestType = com.google.container.v1.UpdateMasterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateMasterMethod() { + io.grpc.MethodDescriptor getUpdateMasterMethod; + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + ClusterManagerGrpc.getUpdateMasterMethod = getUpdateMasterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.UpdateMasterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) + .build(); + } + } + } + return getUpdateMasterMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetMasterAuthMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", + requestType = com.google.container.v1.SetMasterAuthRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetMasterAuthMethod() { + io.grpc.MethodDescriptor getSetMasterAuthMethod; + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + ClusterManagerGrpc.getSetMasterAuthMethod = getSetMasterAuthMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetMasterAuthRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) + .build(); + } + } + } + return getSetMasterAuthMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.container.v1.DeleteClusterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + ClusterManagerGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOperationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOperations", + requestType = com.google.container.v1.ListOperationsRequest.class, + responseType = com.google.container.v1.ListOperationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOperationsMethod() { + io.grpc.MethodDescriptor getListOperationsMethod; + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + ClusterManagerGrpc.getListOperationsMethod = getListOperationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListOperationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListOperationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListOperations")) + .build(); + } + } + } + return getListOperationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOperation", + requestType = com.google.container.v1.GetOperationRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetOperationMethod() { + io.grpc.MethodDescriptor getGetOperationMethod; + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + ClusterManagerGrpc.getGetOperationMethod = getGetOperationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetOperation")) + .build(); + } + } + } + return getGetOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelOperation", + requestType = com.google.container.v1.CancelOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelOperationMethod() { + io.grpc.MethodDescriptor getCancelOperationMethod; + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + ClusterManagerGrpc.getCancelOperationMethod = getCancelOperationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CancelOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CancelOperation")) + .build(); + } + } + } + return getCancelOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", + requestType = com.google.container.v1.GetServerConfigRequest.class, + responseType = com.google.container.v1.ServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetServerConfigMethod() { + io.grpc.MethodDescriptor getGetServerConfigMethod; + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + ClusterManagerGrpc.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.container.v1.GetServerConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ServerConfig.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) + .build(); + } + } + } + return getGetServerConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJSONWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", + requestType = com.google.container.v1.GetJSONWebKeysRequest.class, + responseType = com.google.container.v1.GetJSONWebKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJSONWebKeysMethod() { + io.grpc.MethodDescriptor getGetJSONWebKeysMethod; + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + ClusterManagerGrpc.getGetJSONWebKeysMethod = getGetJSONWebKeysMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetJSONWebKeysRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetJSONWebKeysResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) + .build(); + } + } + } + return getGetJSONWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor getListNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNodePools", + requestType = com.google.container.v1.ListNodePoolsRequest.class, + responseType = com.google.container.v1.ListNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListNodePoolsMethod() { + io.grpc.MethodDescriptor getListNodePoolsMethod; + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + ClusterManagerGrpc.getListNodePoolsMethod = getListNodePoolsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListNodePoolsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListNodePoolsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListNodePools")) + .build(); + } + } + } + return getListNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNodePool", + requestType = com.google.container.v1.GetNodePoolRequest.class, + responseType = com.google.container.v1.NodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetNodePoolMethod() { + io.grpc.MethodDescriptor getGetNodePoolMethod; + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + ClusterManagerGrpc.getGetNodePoolMethod = getGetNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.NodePool.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetNodePool")) + .build(); + } + } + } + return getGetNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", + requestType = com.google.container.v1.CreateNodePoolRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateNodePoolMethod() { + io.grpc.MethodDescriptor getCreateNodePoolMethod; + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + ClusterManagerGrpc.getCreateNodePoolMethod = getCreateNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CreateNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) + .build(); + } + } + } + return getCreateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", + requestType = com.google.container.v1.DeleteNodePoolRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteNodePoolMethod() { + io.grpc.MethodDescriptor getDeleteNodePoolMethod; + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + ClusterManagerGrpc.getDeleteNodePoolMethod = getDeleteNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.DeleteNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) + .build(); + } + } + } + return getDeleteNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", + requestType = com.google.container.v1.CompleteNodePoolUpgradeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { + ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = getCompleteNodePoolUpgradeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) + .build(); + } + } + } + return getCompleteNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", + requestType = com.google.container.v1.RollbackNodePoolUpgradeRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { + ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = getRollbackNodePoolUpgradeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.RollbackNodePoolUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) + .build(); + } + } + } + return getRollbackNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNodePoolManagementMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", + requestType = com.google.container.v1.SetNodePoolManagementRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNodePoolManagementMethod() { + io.grpc.MethodDescriptor getSetNodePoolManagementMethod; + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { + ClusterManagerGrpc.getSetNodePoolManagementMethod = getSetNodePoolManagementMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNodePoolManagementRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) + .build(); + } + } + } + return getSetNodePoolManagementMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLabelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLabels", + requestType = com.google.container.v1.SetLabelsRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLabelsMethod() { + io.grpc.MethodDescriptor getSetLabelsMethod; + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + ClusterManagerGrpc.getSetLabelsMethod = getSetLabelsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLabelsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) + .build(); + } + } + } + return getSetLabelsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLegacyAbacMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", + requestType = com.google.container.v1.SetLegacyAbacRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLegacyAbacMethod() { + io.grpc.MethodDescriptor getSetLegacyAbacMethod; + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + ClusterManagerGrpc.getSetLegacyAbacMethod = getSetLegacyAbacMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLegacyAbacRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) + .build(); + } + } + } + return getSetLegacyAbacMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", + requestType = com.google.container.v1.StartIPRotationRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartIPRotationMethod() { + io.grpc.MethodDescriptor getStartIPRotationMethod; + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + ClusterManagerGrpc.getStartIPRotationMethod = getStartIPRotationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.StartIPRotationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) + .build(); + } + } + } + return getStartIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCompleteIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", + requestType = com.google.container.v1.CompleteIPRotationRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCompleteIPRotationMethod() { + io.grpc.MethodDescriptor getCompleteIPRotationMethod; + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { + ClusterManagerGrpc.getCompleteIPRotationMethod = getCompleteIPRotationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CompleteIPRotationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) + .build(); + } + } + } + return getCompleteIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNodePoolSizeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", + requestType = com.google.container.v1.SetNodePoolSizeRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNodePoolSizeMethod() { + io.grpc.MethodDescriptor getSetNodePoolSizeMethod; + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + ClusterManagerGrpc.getSetNodePoolSizeMethod = getSetNodePoolSizeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNodePoolSizeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) + .build(); + } + } + } + return getSetNodePoolSizeMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNetworkPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", + requestType = com.google.container.v1.SetNetworkPolicyRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNetworkPolicyMethod() { + io.grpc.MethodDescriptor getSetNetworkPolicyMethod; + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + ClusterManagerGrpc.getSetNetworkPolicyMethod = getSetNetworkPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) + .build(); + } + } + } + return getSetNetworkPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", + requestType = com.google.container.v1.SetMaintenancePolicyRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetMaintenancePolicyMethod() { + io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { + ClusterManagerGrpc.getSetMaintenancePolicyMethod = getSetMaintenancePolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetMaintenancePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) + .build(); + } + } + } + return getSetMaintenancePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUsableSubnetworksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", + requestType = com.google.container.v1.ListUsableSubnetworksRequest.class, + responseType = com.google.container.v1.ListUsableSubnetworksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUsableSubnetworksMethod() { + io.grpc.MethodDescriptor getListUsableSubnetworksMethod; + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { + ClusterManagerGrpc.getListUsableSubnetworksMethod = getListUsableSubnetworksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListUsableSubnetworksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListUsableSubnetworksResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) + .build(); + } + } + } + return getListUsableSubnetworksMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ClusterManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + }; + return ClusterManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ClusterManagerBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + }; + return ClusterManagerBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ClusterManagerFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + }; + return ClusterManagerFutureStub.newStub(factory, channel); + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public static abstract class ClusterManagerImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters(com.google.container.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public void getCluster(com.google.container.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster(com.google.container.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public void updateCluster(com.google.container.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public void updateNodePool(com.google.container.v1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNodePoolMethod(), responseObserver); + } + + /** + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public void setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolAutoscalingMethod(), responseObserver); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService(com.google.container.v1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLoggingServiceMethod(), responseObserver); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMonitoringServiceMethod(), responseObserver); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetAddonsConfigMethod(), responseObserver); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations(com.google.container.v1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLocationsMethod(), responseObserver); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster(com.google.container.v1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMasterMethod(), responseObserver); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth(com.google.container.v1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMasterAuthMethod(), responseObserver); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster(com.google.container.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public void listOperations(com.google.container.v1.ListOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation(com.google.container.v1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOperationMethod(), responseObserver); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation(com.google.container.v1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelOperationMethod(), responseObserver); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig(com.google.container.v1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServerConfigMethod(), responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJSONWebKeysMethod(), responseObserver); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools(com.google.container.v1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNodePoolsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool(com.google.container.v1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNodePoolMethod(), responseObserver); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool(com.google.container.v1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNodePoolMethod(), responseObserver); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNodePoolMethod(), responseObserver); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteNodePoolUpgradeMethod(), responseObserver); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackNodePoolUpgradeMethod(), responseObserver); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolManagementMethod(), responseObserver); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels(com.google.container.v1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLegacyAbacMethod(), responseObserver); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation(com.google.container.v1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartIPRotationMethod(), responseObserver); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteIPRotationMethod(), responseObserver); + } + + /** + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolSizeMethod(), responseObserver); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNetworkPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMaintenancePolicyMethod(), responseObserver); + } + + /** + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsableSubnetworksMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListClustersRequest, + com.google.container.v1.ListClustersResponse>( + this, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetClusterRequest, + com.google.container.v1.Cluster>( + this, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CreateClusterRequest, + com.google.container.v1.Operation>( + this, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.UpdateClusterRequest, + com.google.container.v1.Operation>( + this, METHODID_UPDATE_CLUSTER))) + .addMethod( + getUpdateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.UpdateNodePoolRequest, + com.google.container.v1.Operation>( + this, METHODID_UPDATE_NODE_POOL))) + .addMethod( + getSetNodePoolAutoscalingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNodePoolAutoscalingRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_NODE_POOL_AUTOSCALING))) + .addMethod( + getSetLoggingServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLoggingServiceRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_LOGGING_SERVICE))) + .addMethod( + getSetMonitoringServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetMonitoringServiceRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_MONITORING_SERVICE))) + .addMethod( + getSetAddonsConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetAddonsConfigRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_ADDONS_CONFIG))) + .addMethod( + getSetLocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLocationsRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_LOCATIONS))) + .addMethod( + getUpdateMasterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.UpdateMasterRequest, + com.google.container.v1.Operation>( + this, METHODID_UPDATE_MASTER))) + .addMethod( + getSetMasterAuthMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetMasterAuthRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_MASTER_AUTH))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.DeleteClusterRequest, + com.google.container.v1.Operation>( + this, METHODID_DELETE_CLUSTER))) + .addMethod( + getListOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListOperationsRequest, + com.google.container.v1.ListOperationsResponse>( + this, METHODID_LIST_OPERATIONS))) + .addMethod( + getGetOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetOperationRequest, + com.google.container.v1.Operation>( + this, METHODID_GET_OPERATION))) + .addMethod( + getCancelOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CancelOperationRequest, + com.google.protobuf.Empty>( + this, METHODID_CANCEL_OPERATION))) + .addMethod( + getGetServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetServerConfigRequest, + com.google.container.v1.ServerConfig>( + this, METHODID_GET_SERVER_CONFIG))) + .addMethod( + getGetJSONWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetJSONWebKeysRequest, + com.google.container.v1.GetJSONWebKeysResponse>( + this, METHODID_GET_JSONWEB_KEYS))) + .addMethod( + getListNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListNodePoolsRequest, + com.google.container.v1.ListNodePoolsResponse>( + this, METHODID_LIST_NODE_POOLS))) + .addMethod( + getGetNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetNodePoolRequest, + com.google.container.v1.NodePool>( + this, METHODID_GET_NODE_POOL))) + .addMethod( + getCreateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CreateNodePoolRequest, + com.google.container.v1.Operation>( + this, METHODID_CREATE_NODE_POOL))) + .addMethod( + getDeleteNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.DeleteNodePoolRequest, + com.google.container.v1.Operation>( + this, METHODID_DELETE_NODE_POOL))) + .addMethod( + getCompleteNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CompleteNodePoolUpgradeRequest, + com.google.protobuf.Empty>( + this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) + .addMethod( + getRollbackNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.RollbackNodePoolUpgradeRequest, + com.google.container.v1.Operation>( + this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) + .addMethod( + getSetNodePoolManagementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNodePoolManagementRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_NODE_POOL_MANAGEMENT))) + .addMethod( + getSetLabelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLabelsRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_LABELS))) + .addMethod( + getSetLegacyAbacMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLegacyAbacRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_LEGACY_ABAC))) + .addMethod( + getStartIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.StartIPRotationRequest, + com.google.container.v1.Operation>( + this, METHODID_START_IPROTATION))) + .addMethod( + getCompleteIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CompleteIPRotationRequest, + com.google.container.v1.Operation>( + this, METHODID_COMPLETE_IPROTATION))) + .addMethod( + getSetNodePoolSizeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNodePoolSizeRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_NODE_POOL_SIZE))) + .addMethod( + getSetNetworkPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNetworkPolicyRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_NETWORK_POLICY))) + .addMethod( + getSetMaintenancePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetMaintenancePolicyRequest, + com.google.container.v1.Operation>( + this, METHODID_SET_MAINTENANCE_POLICY))) + .addMethod( + getListUsableSubnetworksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListUsableSubnetworksRequest, + com.google.container.v1.ListUsableSubnetworksResponse>( + this, METHODID_LIST_USABLE_SUBNETWORKS))) + .build(); + } + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public static final class ClusterManagerStub extends io.grpc.stub.AbstractAsyncStub { + private ClusterManagerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters(com.google.container.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public void getCluster(com.google.container.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster(com.google.container.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public void updateCluster(com.google.container.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public void updateNodePool(com.google.container.v1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public void setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService(com.google.container.v1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations(com.google.container.v1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster(com.google.container.v1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth(com.google.container.v1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster(com.google.container.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public void listOperations(com.google.container.v1.ListOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation(com.google.container.v1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation(com.google.container.v1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig(com.google.container.v1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools(com.google.container.v1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool(com.google.container.v1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool(com.google.container.v1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels(com.google.container.v1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation(com.google.container.v1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public static final class ClusterManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ClusterManagerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.container.v1.ListClustersResponse listClusters(com.google.container.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public com.google.container.v1.Cluster getCluster(com.google.container.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.container.v1.Operation createCluster(com.google.container.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation updateCluster(com.google.container.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public com.google.container.v1.Operation updateNodePool(com.google.container.v1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public com.google.container.v1.Operation setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation setLoggingService(com.google.container.v1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.container.v1.Operation setLocations(com.google.container.v1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLocationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation updateMaster(com.google.container.v1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMasterMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.container.v1.Operation setMasterAuth(com.google.container.v1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.container.v1.Operation deleteCluster(com.google.container.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public com.google.container.v1.ListOperationsResponse listOperations(com.google.container.v1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOperationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.container.v1.Operation getOperation(com.google.container.v1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOperationMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.protobuf.Empty cancelOperation(com.google.container.v1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelOperationMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.container.v1.ServerConfig getServerConfig(com.google.container.v1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServerConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.container.v1.GetJSONWebKeysResponse getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.container.v1.ListNodePoolsResponse listNodePools(com.google.container.v1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNodePoolsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.container.v1.NodePool getNodePool(com.google.container.v1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.container.v1.Operation createNodePool(com.google.container.v1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.container.v1.Operation deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.protobuf.Empty completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.container.v1.Operation rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.container.v1.Operation setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setLabels(com.google.container.v1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLabelsMethod(), getCallOptions(), request); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.container.v1.Operation startIPRotation(com.google.container.v1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartIPRotationMethod(), getCallOptions(), request); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.container.v1.Operation completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public com.google.container.v1.Operation setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public com.google.container.v1.ListUsableSubnetworksResponse listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public static final class ClusterManagerFutureStub extends io.grpc.stub.AbstractFutureStub { + private ClusterManagerFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.container.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.container.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.container.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.container.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateNodePool( + com.google.container.v1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNodePoolAutoscaling( + com.google.container.v1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setLoggingService( + com.google.container.v1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setMonitoringService( + com.google.container.v1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setAddonsConfig( + com.google.container.v1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture setLocations( + com.google.container.v1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateMaster( + com.google.container.v1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setMasterAuth( + com.google.container.v1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.container.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOperations( + com.google.container.v1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getOperation( + com.google.container.v1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelOperation( + com.google.container.v1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getServerConfig( + com.google.container.v1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJSONWebKeys( + com.google.container.v1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listNodePools( + com.google.container.v1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getNodePool( + com.google.container.v1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createNodePool( + com.google.container.v1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteNodePool( + com.google.container.v1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture completeNodePoolUpgrade( + com.google.container.v1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollbackNodePoolUpgrade( + com.google.container.v1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNodePoolManagement( + com.google.container.v1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setLabels( + com.google.container.v1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setLegacyAbac( + com.google.container.v1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startIPRotation( + com.google.container.v1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture completeIPRotation( + com.google.container.v1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNodePoolSize( + com.google.container.v1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNetworkPolicy( + com.google.container.v1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setMaintenancePolicy( + com.google.container.v1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUsableSubnetworks( + com.google.container.v1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), 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_UPDATE_NODE_POOL = 4; + private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; + private static final int METHODID_SET_LOGGING_SERVICE = 6; + private static final int METHODID_SET_MONITORING_SERVICE = 7; + private static final int METHODID_SET_ADDONS_CONFIG = 8; + private static final int METHODID_SET_LOCATIONS = 9; + private static final int METHODID_UPDATE_MASTER = 10; + private static final int METHODID_SET_MASTER_AUTH = 11; + private static final int METHODID_DELETE_CLUSTER = 12; + private static final int METHODID_LIST_OPERATIONS = 13; + private static final int METHODID_GET_OPERATION = 14; + private static final int METHODID_CANCEL_OPERATION = 15; + private static final int METHODID_GET_SERVER_CONFIG = 16; + private static final int METHODID_GET_JSONWEB_KEYS = 17; + private static final int METHODID_LIST_NODE_POOLS = 18; + private static final int METHODID_GET_NODE_POOL = 19; + private static final int METHODID_CREATE_NODE_POOL = 20; + private static final int METHODID_DELETE_NODE_POOL = 21; + private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; + private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; + private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; + private static final int METHODID_SET_LABELS = 25; + private static final int METHODID_SET_LEGACY_ABAC = 26; + private static final int METHODID_START_IPROTATION = 27; + private static final int METHODID_COMPLETE_IPROTATION = 28; + private static final int METHODID_SET_NODE_POOL_SIZE = 29; + private static final int METHODID_SET_NETWORK_POLICY = 30; + private static final int METHODID_SET_MAINTENANCE_POLICY = 31; + private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final ClusterManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.container.v1.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.container.v1.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.container.v1.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.container.v1.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_NODE_POOL: + serviceImpl.updateNodePool((com.google.container.v1.UpdateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_AUTOSCALING: + serviceImpl.setNodePoolAutoscaling((com.google.container.v1.SetNodePoolAutoscalingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LOGGING_SERVICE: + serviceImpl.setLoggingService((com.google.container.v1.SetLoggingServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MONITORING_SERVICE: + serviceImpl.setMonitoringService((com.google.container.v1.SetMonitoringServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_ADDONS_CONFIG: + serviceImpl.setAddonsConfig((com.google.container.v1.SetAddonsConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LOCATIONS: + serviceImpl.setLocations((com.google.container.v1.SetLocationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MASTER: + serviceImpl.updateMaster((com.google.container.v1.UpdateMasterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MASTER_AUTH: + serviceImpl.setMasterAuth((com.google.container.v1.SetMasterAuthRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.container.v1.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OPERATIONS: + serviceImpl.listOperations((com.google.container.v1.ListOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OPERATION: + serviceImpl.getOperation((com.google.container.v1.GetOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_OPERATION: + serviceImpl.cancelOperation((com.google.container.v1.CancelOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVER_CONFIG: + serviceImpl.getServerConfig((com.google.container.v1.GetServerConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JSONWEB_KEYS: + serviceImpl.getJSONWebKeys((com.google.container.v1.GetJSONWebKeysRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_NODE_POOLS: + serviceImpl.listNodePools((com.google.container.v1.ListNodePoolsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NODE_POOL: + serviceImpl.getNodePool((com.google.container.v1.GetNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_NODE_POOL: + serviceImpl.createNodePool((com.google.container.v1.CreateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_NODE_POOL: + serviceImpl.deleteNodePool((com.google.container.v1.DeleteNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMPLETE_NODE_POOL_UPGRADE: + serviceImpl.completeNodePoolUpgrade((com.google.container.v1.CompleteNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_NODE_POOL_UPGRADE: + serviceImpl.rollbackNodePoolUpgrade((com.google.container.v1.RollbackNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_MANAGEMENT: + serviceImpl.setNodePoolManagement((com.google.container.v1.SetNodePoolManagementRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LABELS: + serviceImpl.setLabels((com.google.container.v1.SetLabelsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LEGACY_ABAC: + serviceImpl.setLegacyAbac((com.google.container.v1.SetLegacyAbacRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_IPROTATION: + serviceImpl.startIPRotation((com.google.container.v1.StartIPRotationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMPLETE_IPROTATION: + serviceImpl.completeIPRotation((com.google.container.v1.CompleteIPRotationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_SIZE: + serviceImpl.setNodePoolSize((com.google.container.v1.SetNodePoolSizeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NETWORK_POLICY: + serviceImpl.setNetworkPolicy((com.google.container.v1.SetNetworkPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MAINTENANCE_POLICY: + serviceImpl.setMaintenancePolicy((com.google.container.v1.SetMaintenancePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USABLE_SUBNETWORKS: + serviceImpl.listUsableSubnetworks((com.google.container.v1.ListUsableSubnetworksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ClusterManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.container.v1.ClusterServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ClusterManager"); + } + } + + private static final class ClusterManagerFileDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier { + ClusterManagerFileDescriptorSupplier() {} + } + + private static final class ClusterManagerMethodDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ClusterManagerMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ClusterManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getUpdateNodePoolMethod()) + .addMethod(getSetNodePoolAutoscalingMethod()) + .addMethod(getSetLoggingServiceMethod()) + .addMethod(getSetMonitoringServiceMethod()) + .addMethod(getSetAddonsConfigMethod()) + .addMethod(getSetLocationsMethod()) + .addMethod(getUpdateMasterMethod()) + .addMethod(getSetMasterAuthMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getListOperationsMethod()) + .addMethod(getGetOperationMethod()) + .addMethod(getCancelOperationMethod()) + .addMethod(getGetServerConfigMethod()) + .addMethod(getGetJSONWebKeysMethod()) + .addMethod(getListNodePoolsMethod()) + .addMethod(getGetNodePoolMethod()) + .addMethod(getCreateNodePoolMethod()) + .addMethod(getDeleteNodePoolMethod()) + .addMethod(getCompleteNodePoolUpgradeMethod()) + .addMethod(getRollbackNodePoolUpgradeMethod()) + .addMethod(getSetNodePoolManagementMethod()) + .addMethod(getSetLabelsMethod()) + .addMethod(getSetLegacyAbacMethod()) + .addMethod(getStartIPRotationMethod()) + .addMethod(getCompleteIPRotationMethod()) + .addMethod(getSetNodePoolSizeMethod()) + .addMethod(getSetNetworkPolicyMethod()) + .addMethod(getSetMaintenancePolicyMethod()) + .addMethod(getListUsableSubnetworksMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java index cbdf37bb58ae..21d5a401ce31 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * AcceleratorConfig represents a Hardware Accelerator request.
  * 
* * Protobuf type {@code google.container.v1.AcceleratorConfig} */ -public final class AcceleratorConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AcceleratorConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.AcceleratorConfig) AcceleratorConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AcceleratorConfig.newBuilder() to construct. private AcceleratorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AcceleratorConfig() { acceleratorType_ = ""; gpuPartitionSize_ = ""; @@ -44,42 +26,38 @@ private AcceleratorConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AcceleratorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AcceleratorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AcceleratorConfig.class, - com.google.container.v1.AcceleratorConfig.Builder.class); + com.google.container.v1.AcceleratorConfig.class, com.google.container.v1.AcceleratorConfig.Builder.class); } private int bitField0_; public static final int ACCELERATOR_COUNT_FIELD_NUMBER = 1; private long acceleratorCount_; /** - * - * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; - * * @return The acceleratorCount. */ @java.lang.Override @@ -90,15 +68,12 @@ public long getAcceleratorCount() { public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object acceleratorType_; /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The acceleratorType. */ @java.lang.Override @@ -107,30 +82,30 @@ public java.lang.String getAcceleratorType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; } } /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The bytes for acceleratorType. */ @java.lang.Override - public com.google.protobuf.ByteString getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString + getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -141,8 +116,6 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() { public static final int GPU_PARTITION_SIZE_FIELD_NUMBER = 3; private volatile java.lang.Object gpuPartitionSize_; /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -150,7 +123,6 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() {
    * 
* * string gpu_partition_size = 3; - * * @return The gpuPartitionSize. */ @java.lang.Override @@ -159,15 +131,14 @@ public java.lang.String getGpuPartitionSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; } } /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -175,15 +146,16 @@ public java.lang.String getGpuPartitionSize() {
    * 
* * string gpu_partition_size = 3; - * * @return The bytes for gpuPartitionSize. */ @java.lang.Override - public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString + getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -194,14 +166,11 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { public static final int GPU_SHARING_CONFIG_FIELD_NUMBER = 5; private com.google.container.v1.GPUSharingConfig gpuSharingConfig_; /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; - * * @return Whether the gpuSharingConfig field is set. */ @java.lang.Override @@ -209,25 +178,18 @@ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; - * * @return The gpuSharingConfig. */ @java.lang.Override public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { - return gpuSharingConfig_ == null - ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } /** - * - * *
    * The configuration for GPU sharing options.
    * 
@@ -236,13 +198,10 @@ public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { */ @java.lang.Override public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { - return gpuSharingConfig_ == null - ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +213,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (acceleratorCount_ != 0L) { output.writeInt64(1, acceleratorCount_); } @@ -277,7 +237,8 @@ public int getSerializedSize() { size = 0; if (acceleratorCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, acceleratorCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, acceleratorCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, acceleratorType_); @@ -286,7 +247,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gpuPartitionSize_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGpuSharingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getGpuSharingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -296,20 +258,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AcceleratorConfig)) { return super.equals(obj); } - com.google.container.v1.AcceleratorConfig other = - (com.google.container.v1.AcceleratorConfig) obj; - - if (getAcceleratorCount() != other.getAcceleratorCount()) return false; - if (!getAcceleratorType().equals(other.getAcceleratorType())) return false; - if (!getGpuPartitionSize().equals(other.getGpuPartitionSize())) return false; + com.google.container.v1.AcceleratorConfig other = (com.google.container.v1.AcceleratorConfig) obj; + + if (getAcceleratorCount() + != other.getAcceleratorCount()) return false; + if (!getAcceleratorType() + .equals(other.getAcceleratorType())) return false; + if (!getGpuPartitionSize() + .equals(other.getGpuPartitionSize())) return false; if (hasGpuSharingConfig() != other.hasGpuSharingConfig()) return false; if (hasGpuSharingConfig()) { - if (!getGpuSharingConfig().equals(other.getGpuSharingConfig())) return false; + if (!getGpuSharingConfig() + .equals(other.getGpuSharingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -323,7 +288,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACCELERATOR_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAcceleratorCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAcceleratorCount()); hash = (37 * hash) + ACCELERATOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorType().hashCode(); hash = (37 * hash) + GPU_PARTITION_SIZE_FIELD_NUMBER; @@ -337,127 +303,118 @@ public int hashCode() { return hash; } - public static com.google.container.v1.AcceleratorConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.AcceleratorConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AcceleratorConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AcceleratorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AcceleratorConfig parseFrom( 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.AcceleratorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AcceleratorConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.AcceleratorConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AcceleratorConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.AcceleratorConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.AcceleratorConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.AcceleratorConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.AcceleratorConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AcceleratorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.AcceleratorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AcceleratorConfig represents a Hardware Accelerator request.
    * 
* * Protobuf type {@code google.container.v1.AcceleratorConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.AcceleratorConfig) com.google.container.v1.AcceleratorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AcceleratorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AcceleratorConfig.class, - com.google.container.v1.AcceleratorConfig.Builder.class); + com.google.container.v1.AcceleratorConfig.class, com.google.container.v1.AcceleratorConfig.Builder.class); } // Construct using com.google.container.v1.AcceleratorConfig.newBuilder() @@ -465,17 +422,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGpuSharingConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -495,9 +452,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AcceleratorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_descriptor; } @java.lang.Override @@ -516,8 +473,7 @@ public com.google.container.v1.AcceleratorConfig build() { @java.lang.Override public com.google.container.v1.AcceleratorConfig buildPartial() { - com.google.container.v1.AcceleratorConfig result = - new com.google.container.v1.AcceleratorConfig(this); + com.google.container.v1.AcceleratorConfig result = new com.google.container.v1.AcceleratorConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.acceleratorCount_ = acceleratorCount_; @@ -540,39 +496,38 @@ public com.google.container.v1.AcceleratorConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.AcceleratorConfig) { - return mergeFrom((com.google.container.v1.AcceleratorConfig) other); + return mergeFrom((com.google.container.v1.AcceleratorConfig)other); } else { super.mergeFrom(other); return this; @@ -621,38 +576,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - acceleratorCount_ = input.readInt64(); + case 8: { + acceleratorCount_ = input.readInt64(); - break; - } // case 8 - case 18: - { - acceleratorType_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + acceleratorType_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - gpuPartitionSize_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + gpuPartitionSize_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: - { - input.readMessage( - getGpuSharingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + case 42: { + input.readMessage( + getGpuSharingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -662,19 +613,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long acceleratorCount_; + private long acceleratorCount_ ; /** - * - * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; - * * @return The acceleratorCount. */ @java.lang.Override @@ -682,36 +629,30 @@ public long getAcceleratorCount() { return acceleratorCount_; } /** - * - * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; - * * @param value The acceleratorCount to set. * @return This builder for chaining. */ public Builder setAcceleratorCount(long value) { - + acceleratorCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; - * * @return This builder for chaining. */ public Builder clearAcceleratorCount() { - + acceleratorCount_ = 0L; onChanged(); return this; @@ -719,21 +660,19 @@ public Builder clearAcceleratorCount() { private java.lang.Object acceleratorType_ = ""; /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @return The acceleratorType. */ public java.lang.String getAcceleratorType() { java.lang.Object ref = acceleratorType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; @@ -742,22 +681,21 @@ public java.lang.String getAcceleratorType() { } } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @return The bytes for acceleratorType. */ - public com.google.protobuf.ByteString getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString + getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -765,64 +703,57 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() { } } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType(java.lang.String value) { + public Builder setAcceleratorType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + acceleratorType_ = value; onChanged(); return this; } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = getDefaultInstance().getAcceleratorType(); onChanged(); return this; } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @param value The bytes for acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAcceleratorTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + acceleratorType_ = value; onChanged(); return this; @@ -830,8 +761,6 @@ public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object gpuPartitionSize_ = ""; /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -839,13 +768,13 @@ public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string gpu_partition_size = 3; - * * @return The gpuPartitionSize. */ public java.lang.String getGpuPartitionSize() { java.lang.Object ref = gpuPartitionSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; @@ -854,8 +783,6 @@ public java.lang.String getGpuPartitionSize() { } } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -863,14 +790,15 @@ public java.lang.String getGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; - * * @return The bytes for gpuPartitionSize. */ - public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString + getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -878,8 +806,6 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { } } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -887,22 +813,20 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() {
      * 
* * string gpu_partition_size = 3; - * * @param value The gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSize(java.lang.String value) { + public Builder setGpuPartitionSize( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpuPartitionSize_ = value; onChanged(); return this; } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -910,18 +834,15 @@ public Builder setGpuPartitionSize(java.lang.String value) {
      * 
* * string gpu_partition_size = 3; - * * @return This builder for chaining. */ public Builder clearGpuPartitionSize() { - + gpuPartitionSize_ = getDefaultInstance().getGpuPartitionSize(); onChanged(); return this; } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -929,16 +850,16 @@ public Builder clearGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; - * * @param value The bytes for gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { + public Builder setGpuPartitionSizeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpuPartitionSize_ = value; onChanged(); return this; @@ -946,47 +867,34 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.GPUSharingConfig gpuSharingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GPUSharingConfig, - com.google.container.v1.GPUSharingConfig.Builder, - com.google.container.v1.GPUSharingConfigOrBuilder> - gpuSharingConfigBuilder_; + com.google.container.v1.GPUSharingConfig, com.google.container.v1.GPUSharingConfig.Builder, com.google.container.v1.GPUSharingConfigOrBuilder> gpuSharingConfigBuilder_; /** - * - * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; - * * @return Whether the gpuSharingConfig field is set. */ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; - * * @return The gpuSharingConfig. */ public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { if (gpuSharingConfigBuilder_ == null) { - return gpuSharingConfig_ == null - ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } else { return gpuSharingConfigBuilder_.getMessage(); } } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1007,8 +915,6 @@ public Builder setGpuSharingConfig(com.google.container.v1.GPUSharingConfig valu return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1027,8 +933,6 @@ public Builder setGpuSharingConfig( return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1037,13 +941,11 @@ public Builder setGpuSharingConfig( */ public Builder mergeGpuSharingConfig(com.google.container.v1.GPUSharingConfig value) { if (gpuSharingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && gpuSharingConfig_ != null - && gpuSharingConfig_ != com.google.container.v1.GPUSharingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + gpuSharingConfig_ != null && + gpuSharingConfig_ != com.google.container.v1.GPUSharingConfig.getDefaultInstance()) { gpuSharingConfig_ = - com.google.container.v1.GPUSharingConfig.newBuilder(gpuSharingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GPUSharingConfig.newBuilder(gpuSharingConfig_).mergeFrom(value).buildPartial(); } else { gpuSharingConfig_ = value; } @@ -1055,8 +957,6 @@ public Builder mergeGpuSharingConfig(com.google.container.v1.GPUSharingConfig va return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1074,8 +974,6 @@ public Builder clearGpuSharingConfig() { return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1088,8 +986,6 @@ public com.google.container.v1.GPUSharingConfig.Builder getGpuSharingConfigBuild return getGpuSharingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1100,14 +996,11 @@ public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBu if (gpuSharingConfigBuilder_ != null) { return gpuSharingConfigBuilder_.getMessageOrBuilder(); } else { - return gpuSharingConfig_ == null - ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? + com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1115,24 +1008,21 @@ public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBu * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GPUSharingConfig, - com.google.container.v1.GPUSharingConfig.Builder, - com.google.container.v1.GPUSharingConfigOrBuilder> + com.google.container.v1.GPUSharingConfig, com.google.container.v1.GPUSharingConfig.Builder, com.google.container.v1.GPUSharingConfigOrBuilder> getGpuSharingConfigFieldBuilder() { if (gpuSharingConfigBuilder_ == null) { - gpuSharingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GPUSharingConfig, - com.google.container.v1.GPUSharingConfig.Builder, - com.google.container.v1.GPUSharingConfigOrBuilder>( - getGpuSharingConfig(), getParentForChildren(), isClean()); + gpuSharingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GPUSharingConfig, com.google.container.v1.GPUSharingConfig.Builder, com.google.container.v1.GPUSharingConfigOrBuilder>( + getGpuSharingConfig(), + getParentForChildren(), + isClean()); gpuSharingConfig_ = null; } return gpuSharingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1142,12 +1032,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.AcceleratorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.AcceleratorConfig) private static final com.google.container.v1.AcceleratorConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.AcceleratorConfig(); } @@ -1156,27 +1046,27 @@ public static com.google.container.v1.AcceleratorConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcceleratorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcceleratorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,4 +1081,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AcceleratorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java similarity index 74% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java index 429f89ea9c26..055414b349d9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java @@ -1,71 +1,45 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface AcceleratorConfigOrBuilder - extends +public interface AcceleratorConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.AcceleratorConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; - * * @return The acceleratorCount. */ long getAcceleratorCount(); /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The acceleratorType. */ java.lang.String getAcceleratorType(); /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The bytes for acceleratorType. */ - com.google.protobuf.ByteString getAcceleratorTypeBytes(); + com.google.protobuf.ByteString + getAcceleratorTypeBytes(); /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -73,13 +47,10 @@ public interface AcceleratorConfigOrBuilder
    * 
* * string gpu_partition_size = 3; - * * @return The gpuPartitionSize. */ java.lang.String getGpuPartitionSize(); /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -87,38 +58,30 @@ public interface AcceleratorConfigOrBuilder
    * 
* * string gpu_partition_size = 3; - * * @return The bytes for gpuPartitionSize. */ - com.google.protobuf.ByteString getGpuPartitionSizeBytes(); + com.google.protobuf.ByteString + getGpuPartitionSizeBytes(); /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; - * * @return Whether the gpuSharingConfig field is set. */ boolean hasGpuSharingConfig(); /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; - * * @return The gpuSharingConfig. */ com.google.container.v1.GPUSharingConfig getGpuSharingConfig(); /** - * - * *
    * The configuration for GPU sharing options.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index 8894d72c6c45..c8af379b04e1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration for the addons that can be automatically spun up in the
  * cluster, enabling additional functionality.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.container.v1.AddonsConfig}
  */
-public final class AddonsConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AddonsConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.AddonsConfig)
     AddonsConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AddonsConfig.newBuilder() to construct.
   private AddonsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AddonsConfig() {}
+  private AddonsConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AddonsConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_AddonsConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.AddonsConfig.class,
-            com.google.container.v1.AddonsConfig.Builder.class);
+            com.google.container.v1.AddonsConfig.class, com.google.container.v1.AddonsConfig.Builder.class);
   }
 
   public static final int HTTP_LOAD_BALANCING_FIELD_NUMBER = 1;
   private com.google.container.v1.HttpLoadBalancing httpLoadBalancing_;
   /**
-   *
-   *
    * 
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; - * * @return Whether the httpLoadBalancing field is set. */ @java.lang.Override @@ -85,26 +64,19 @@ public boolean hasHttpLoadBalancing() { return httpLoadBalancing_ != null; } /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; - * * @return The httpLoadBalancing. */ @java.lang.Override public com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing() { - return httpLoadBalancing_ == null - ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() - : httpLoadBalancing_; + return httpLoadBalancing_ == null ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; } /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -120,8 +92,6 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
   public static final int HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER = 2;
   private com.google.container.v1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
   /**
-   *
-   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -129,7 +99,6 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return Whether the horizontalPodAutoscaling field is set. */ @java.lang.Override @@ -137,8 +106,6 @@ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscaling_ != null; } /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -146,18 +113,13 @@ public boolean hasHorizontalPodAutoscaling() {
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return The horizontalPodAutoscaling. */ @java.lang.Override public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { - return horizontalPodAutoscaling_ == null - ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() - : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; } /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -167,16 +129,13 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal
    * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
    */
   @java.lang.Override
-  public com.google.container.v1.HorizontalPodAutoscalingOrBuilder
-      getHorizontalPodAutoscalingOrBuilder() {
+  public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() {
     return getHorizontalPodAutoscaling();
   }
 
   public static final int KUBERNETES_DASHBOARD_FIELD_NUMBER = 3;
   private com.google.container.v1.KubernetesDashboard kubernetesDashboard_;
   /**
-   *
-   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -185,21 +144,16 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1/cluster_service.proto;l=1046 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasKubernetesDashboard() { + @java.lang.Deprecated public boolean hasKubernetesDashboard() { return kubernetesDashboard_ != null; } /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -208,23 +162,16 @@ public boolean hasKubernetesDashboard() {
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1/cluster_service.proto;l=1046 * @return The kubernetesDashboard. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { - return kubernetesDashboard_ == null - ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() - : kubernetesDashboard_; + @java.lang.Deprecated public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { + return kubernetesDashboard_ == null ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; } /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -233,20 +180,16 @@ public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() {
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { return getKubernetesDashboard(); } public static final int NETWORK_POLICY_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1.NetworkPolicyConfig networkPolicyConfig_; /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -254,7 +197,6 @@ public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboa
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; - * * @return Whether the networkPolicyConfig field is set. */ @java.lang.Override @@ -262,8 +204,6 @@ public boolean hasNetworkPolicyConfig() { return networkPolicyConfig_ != null; } /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -271,18 +211,13 @@ public boolean hasNetworkPolicyConfig() {
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; - * * @return The networkPolicyConfig. */ @java.lang.Override public com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig() { - return networkPolicyConfig_ == null - ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() - : networkPolicyConfig_; + return networkPolicyConfig_ == null ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; } /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -299,15 +234,12 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
   public static final int CLOUD_RUN_CONFIG_FIELD_NUMBER = 7;
   private com.google.container.v1.CloudRunConfig cloudRunConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; - * * @return Whether the cloudRunConfig field is set. */ @java.lang.Override @@ -315,26 +247,19 @@ public boolean hasCloudRunConfig() { return cloudRunConfig_ != null; } /** - * - * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; - * * @return The cloudRunConfig. */ @java.lang.Override public com.google.container.v1.CloudRunConfig getCloudRunConfig() { - return cloudRunConfig_ == null - ? com.google.container.v1.CloudRunConfig.getDefaultInstance() - : cloudRunConfig_; + return cloudRunConfig_ == null ? com.google.container.v1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; } /** - * - * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
@@ -350,14 +275,11 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
   public static final int DNS_CACHE_CONFIG_FIELD_NUMBER = 8;
   private com.google.container.v1.DnsCacheConfig dnsCacheConfig_;
   /**
-   *
-   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; - * * @return Whether the dnsCacheConfig field is set. */ @java.lang.Override @@ -365,25 +287,18 @@ public boolean hasDnsCacheConfig() { return dnsCacheConfig_ != null; } /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; - * * @return The dnsCacheConfig. */ @java.lang.Override public com.google.container.v1.DnsCacheConfig getDnsCacheConfig() { - return dnsCacheConfig_ == null - ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() - : dnsCacheConfig_; + return dnsCacheConfig_ == null ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; } /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -398,15 +313,12 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde public static final int CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1.ConfigConnectorConfig configConnectorConfig_; /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; - * * @return Whether the configConnectorConfig field is set. */ @java.lang.Override @@ -414,26 +326,19 @@ public boolean hasConfigConnectorConfig() { return configConnectorConfig_ != null; } /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; - * * @return The configConnectorConfig. */ @java.lang.Override public com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig() { - return configConnectorConfig_ == null - ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() - : configConnectorConfig_; + return configConnectorConfig_ == null ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; } /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -442,25 +347,18 @@ public com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig()
    * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
    */
   @java.lang.Override
-  public com.google.container.v1.ConfigConnectorConfigOrBuilder
-      getConfigConnectorConfigOrBuilder() {
+  public com.google.container.v1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
     return getConfigConnectorConfig();
   }
 
   public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER = 11;
-  private com.google.container.v1.GcePersistentDiskCsiDriverConfig
-      gcePersistentDiskCsiDriverConfig_;
+  private com.google.container.v1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ @java.lang.Override @@ -468,54 +366,37 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { return gcePersistentDiskCsiDriverConfig_ != null; } /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return The gcePersistentDiskCsiDriverConfig. */ @java.lang.Override - public com.google.container.v1.GcePersistentDiskCsiDriverConfig - getGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfig_ == null - ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() - : gcePersistentDiskCsiDriverConfig_; + public com.google.container.v1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { + return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; } /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ @java.lang.Override - public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder - getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { return getGcePersistentDiskCsiDriverConfig(); } public static final int GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_; /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ @java.lang.Override @@ -523,50 +404,37 @@ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfig_ != null; } /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return The gcpFilestoreCsiDriverConfig. */ @java.lang.Override public com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { - return gcpFilestoreCsiDriverConfig_ == null - ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() - : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; } /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ @java.lang.Override - public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder - getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { return getGcpFilestoreCsiDriverConfig(); } public static final int GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER = 16; private com.google.container.v1.GkeBackupAgentConfig gkeBackupAgentConfig_; /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return Whether the gkeBackupAgentConfig field is set. */ @java.lang.Override @@ -574,25 +442,18 @@ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfig_ != null; } /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return The gkeBackupAgentConfig. */ @java.lang.Override public com.google.container.v1.GkeBackupAgentConfig getGkeBackupAgentConfig() { - return gkeBackupAgentConfig_ == null - ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() - : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; } /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
@@ -605,7 +466,6 @@ public com.google.container.v1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentCo } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -617,7 +477,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (httpLoadBalancing_ != null) { output.writeMessage(1, getHttpLoadBalancing()); } @@ -658,42 +519,44 @@ public int getSerializedSize() { size = 0; if (httpLoadBalancing_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHttpLoadBalancing()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHttpLoadBalancing()); } if (horizontalPodAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getHorizontalPodAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getHorizontalPodAutoscaling()); } if (kubernetesDashboard_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getKubernetesDashboard()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getKubernetesDashboard()); } if (networkPolicyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNetworkPolicyConfig()); } if (cloudRunConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCloudRunConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCloudRunConfig()); } if (dnsCacheConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDnsCacheConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getDnsCacheConfig()); } if (configConnectorConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(10, getConfigConnectorConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getConfigConnectorConfig()); } if (gcePersistentDiskCsiDriverConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, getGcePersistentDiskCsiDriverConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getGcePersistentDiskCsiDriverConfig()); } if (gcpFilestoreCsiDriverConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, getGcpFilestoreCsiDriverConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getGcpFilestoreCsiDriverConfig()); } if (gkeBackupAgentConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGkeBackupAgentConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getGkeBackupAgentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -703,7 +566,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AddonsConfig)) { return super.equals(obj); @@ -712,46 +575,53 @@ public boolean equals(final java.lang.Object obj) { if (hasHttpLoadBalancing() != other.hasHttpLoadBalancing()) return false; if (hasHttpLoadBalancing()) { - if (!getHttpLoadBalancing().equals(other.getHttpLoadBalancing())) return false; + if (!getHttpLoadBalancing() + .equals(other.getHttpLoadBalancing())) return false; } if (hasHorizontalPodAutoscaling() != other.hasHorizontalPodAutoscaling()) return false; if (hasHorizontalPodAutoscaling()) { - if (!getHorizontalPodAutoscaling().equals(other.getHorizontalPodAutoscaling())) return false; + if (!getHorizontalPodAutoscaling() + .equals(other.getHorizontalPodAutoscaling())) return false; } if (hasKubernetesDashboard() != other.hasKubernetesDashboard()) return false; if (hasKubernetesDashboard()) { - if (!getKubernetesDashboard().equals(other.getKubernetesDashboard())) return false; + if (!getKubernetesDashboard() + .equals(other.getKubernetesDashboard())) return false; } if (hasNetworkPolicyConfig() != other.hasNetworkPolicyConfig()) return false; if (hasNetworkPolicyConfig()) { - if (!getNetworkPolicyConfig().equals(other.getNetworkPolicyConfig())) return false; + if (!getNetworkPolicyConfig() + .equals(other.getNetworkPolicyConfig())) return false; } if (hasCloudRunConfig() != other.hasCloudRunConfig()) return false; if (hasCloudRunConfig()) { - if (!getCloudRunConfig().equals(other.getCloudRunConfig())) return false; + if (!getCloudRunConfig() + .equals(other.getCloudRunConfig())) return false; } if (hasDnsCacheConfig() != other.hasDnsCacheConfig()) return false; if (hasDnsCacheConfig()) { - if (!getDnsCacheConfig().equals(other.getDnsCacheConfig())) return false; + if (!getDnsCacheConfig() + .equals(other.getDnsCacheConfig())) return false; } if (hasConfigConnectorConfig() != other.hasConfigConnectorConfig()) return false; if (hasConfigConnectorConfig()) { - if (!getConfigConnectorConfig().equals(other.getConfigConnectorConfig())) return false; + if (!getConfigConnectorConfig() + .equals(other.getConfigConnectorConfig())) return false; } - if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) - return false; + if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) return false; if (hasGcePersistentDiskCsiDriverConfig()) { if (!getGcePersistentDiskCsiDriverConfig() .equals(other.getGcePersistentDiskCsiDriverConfig())) return false; } if (hasGcpFilestoreCsiDriverConfig() != other.hasGcpFilestoreCsiDriverConfig()) return false; if (hasGcpFilestoreCsiDriverConfig()) { - if (!getGcpFilestoreCsiDriverConfig().equals(other.getGcpFilestoreCsiDriverConfig())) - return false; + if (!getGcpFilestoreCsiDriverConfig() + .equals(other.getGcpFilestoreCsiDriverConfig())) return false; } if (hasGkeBackupAgentConfig() != other.hasGkeBackupAgentConfig()) return false; if (hasGkeBackupAgentConfig()) { - if (!getGkeBackupAgentConfig().equals(other.getGkeBackupAgentConfig())) return false; + if (!getGkeBackupAgentConfig() + .equals(other.getGkeBackupAgentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -809,103 +679,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.AddonsConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.AddonsConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AddonsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AddonsConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.AddonsConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AddonsConfig parseFrom( 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.AddonsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AddonsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.AddonsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AddonsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.AddonsConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.AddonsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.AddonsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AddonsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.AddonsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the addons that can be automatically spun up in the
    * cluster, enabling additional functionality.
@@ -913,32 +777,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.AddonsConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.AddonsConfig)
       com.google.container.v1.AddonsConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AddonsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.AddonsConfig.class,
-              com.google.container.v1.AddonsConfig.Builder.class);
+              com.google.container.v1.AddonsConfig.class, com.google.container.v1.AddonsConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.AddonsConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1006,9 +871,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AddonsConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1086,39 +951,38 @@ public com.google.container.v1.AddonsConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.AddonsConfig) {
-        return mergeFrom((com.google.container.v1.AddonsConfig) other);
+        return mergeFrom((com.google.container.v1.AddonsConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1183,82 +1047,82 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getHttpLoadBalancingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getHorizontalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getKubernetesDashboardFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getNetworkPolicyConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 58:
-              {
-                input.readMessage(getCloudRunConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getDnsCacheConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 82:
-              {
-                input.readMessage(
-                    getConfigConnectorConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(
-                    getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 90
-            case 114:
-              {
-                input.readMessage(
-                    getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 114
-            case 130:
-              {
-                input.readMessage(
-                    getGkeBackupAgentConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 130
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getHttpLoadBalancingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getHorizontalPodAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getKubernetesDashboardFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getNetworkPolicyConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 58: {
+              input.readMessage(
+                  getCloudRunConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getDnsCacheConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 82: {
+              input.readMessage(
+                  getConfigConnectorConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 90
+            case 114: {
+              input.readMessage(
+                  getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 114
+            case 130: {
+              input.readMessage(
+                  getGkeBackupAgentConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 130
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1271,49 +1135,36 @@ public Builder mergeFrom(
 
     private com.google.container.v1.HttpLoadBalancing httpLoadBalancing_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.HttpLoadBalancing,
-            com.google.container.v1.HttpLoadBalancing.Builder,
-            com.google.container.v1.HttpLoadBalancingOrBuilder>
-        httpLoadBalancingBuilder_;
+        com.google.container.v1.HttpLoadBalancing, com.google.container.v1.HttpLoadBalancing.Builder, com.google.container.v1.HttpLoadBalancingOrBuilder> httpLoadBalancingBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; - * * @return Whether the httpLoadBalancing field is set. */ public boolean hasHttpLoadBalancing() { return httpLoadBalancingBuilder_ != null || httpLoadBalancing_ != null; } /** - * - * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; - * * @return The httpLoadBalancing. */ public com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing() { if (httpLoadBalancingBuilder_ == null) { - return httpLoadBalancing_ == null - ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() - : httpLoadBalancing_; + return httpLoadBalancing_ == null ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; } else { return httpLoadBalancingBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1335,8 +1186,6 @@ public Builder setHttpLoadBalancing(com.google.container.v1.HttpLoadBalancing va
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1356,8 +1205,6 @@ public Builder setHttpLoadBalancing(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1369,9 +1216,7 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1.HttpLoadBalancing
       if (httpLoadBalancingBuilder_ == null) {
         if (httpLoadBalancing_ != null) {
           httpLoadBalancing_ =
-              com.google.container.v1.HttpLoadBalancing.newBuilder(httpLoadBalancing_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.HttpLoadBalancing.newBuilder(httpLoadBalancing_).mergeFrom(value).buildPartial();
         } else {
           httpLoadBalancing_ = value;
         }
@@ -1383,8 +1228,6 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1.HttpLoadBalancing
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1404,8 +1247,6 @@ public Builder clearHttpLoadBalancing() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1414,13 +1255,11 @@ public Builder clearHttpLoadBalancing() {
      * .google.container.v1.HttpLoadBalancing http_load_balancing = 1;
      */
     public com.google.container.v1.HttpLoadBalancing.Builder getHttpLoadBalancingBuilder() {
-
+      
       onChanged();
       return getHttpLoadBalancingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1432,14 +1271,11 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
       if (httpLoadBalancingBuilder_ != null) {
         return httpLoadBalancingBuilder_.getMessageOrBuilder();
       } else {
-        return httpLoadBalancing_ == null
-            ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance()
-            : httpLoadBalancing_;
+        return httpLoadBalancing_ == null ?
+            com.google.container.v1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1448,17 +1284,14 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
      * .google.container.v1.HttpLoadBalancing http_load_balancing = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.HttpLoadBalancing,
-            com.google.container.v1.HttpLoadBalancing.Builder,
-            com.google.container.v1.HttpLoadBalancingOrBuilder>
+        com.google.container.v1.HttpLoadBalancing, com.google.container.v1.HttpLoadBalancing.Builder, com.google.container.v1.HttpLoadBalancingOrBuilder> 
         getHttpLoadBalancingFieldBuilder() {
       if (httpLoadBalancingBuilder_ == null) {
-        httpLoadBalancingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.HttpLoadBalancing,
-                com.google.container.v1.HttpLoadBalancing.Builder,
-                com.google.container.v1.HttpLoadBalancingOrBuilder>(
-                getHttpLoadBalancing(), getParentForChildren(), isClean());
+        httpLoadBalancingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.HttpLoadBalancing, com.google.container.v1.HttpLoadBalancing.Builder, com.google.container.v1.HttpLoadBalancingOrBuilder>(
+                getHttpLoadBalancing(),
+                getParentForChildren(),
+                isClean());
         httpLoadBalancing_ = null;
       }
       return httpLoadBalancingBuilder_;
@@ -1466,13 +1299,8 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
 
     private com.google.container.v1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.HorizontalPodAutoscaling,
-            com.google.container.v1.HorizontalPodAutoscaling.Builder,
-            com.google.container.v1.HorizontalPodAutoscalingOrBuilder>
-        horizontalPodAutoscalingBuilder_;
+        com.google.container.v1.HorizontalPodAutoscaling, com.google.container.v1.HorizontalPodAutoscaling.Builder, com.google.container.v1.HorizontalPodAutoscalingOrBuilder> horizontalPodAutoscalingBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1480,15 +1308,12 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
      * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return Whether the horizontalPodAutoscaling field is set. */ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscalingBuilder_ != null || horizontalPodAutoscaling_ != null; } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1496,21 +1321,16 @@ public boolean hasHorizontalPodAutoscaling() {
      * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return The horizontalPodAutoscaling. */ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { if (horizontalPodAutoscalingBuilder_ == null) { - return horizontalPodAutoscaling_ == null - ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() - : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; } else { return horizontalPodAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1519,8 +1339,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public Builder setHorizontalPodAutoscaling(
-        com.google.container.v1.HorizontalPodAutoscaling value) {
+    public Builder setHorizontalPodAutoscaling(com.google.container.v1.HorizontalPodAutoscaling value) {
       if (horizontalPodAutoscalingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1534,8 +1353,6 @@ public Builder setHorizontalPodAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1556,8 +1373,6 @@ public Builder setHorizontalPodAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1566,14 +1381,11 @@ public Builder setHorizontalPodAutoscaling(
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public Builder mergeHorizontalPodAutoscaling(
-        com.google.container.v1.HorizontalPodAutoscaling value) {
+    public Builder mergeHorizontalPodAutoscaling(com.google.container.v1.HorizontalPodAutoscaling value) {
       if (horizontalPodAutoscalingBuilder_ == null) {
         if (horizontalPodAutoscaling_ != null) {
           horizontalPodAutoscaling_ =
-              com.google.container.v1.HorizontalPodAutoscaling.newBuilder(horizontalPodAutoscaling_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.HorizontalPodAutoscaling.newBuilder(horizontalPodAutoscaling_).mergeFrom(value).buildPartial();
         } else {
           horizontalPodAutoscaling_ = value;
         }
@@ -1585,8 +1397,6 @@ public Builder mergeHorizontalPodAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1607,8 +1417,6 @@ public Builder clearHorizontalPodAutoscaling() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1617,15 +1425,12 @@ public Builder clearHorizontalPodAutoscaling() {
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public com.google.container.v1.HorizontalPodAutoscaling.Builder
-        getHorizontalPodAutoscalingBuilder() {
-
+    public com.google.container.v1.HorizontalPodAutoscaling.Builder getHorizontalPodAutoscalingBuilder() {
+      
       onChanged();
       return getHorizontalPodAutoscalingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1634,19 +1439,15 @@ public Builder clearHorizontalPodAutoscaling() {
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public com.google.container.v1.HorizontalPodAutoscalingOrBuilder
-        getHorizontalPodAutoscalingOrBuilder() {
+    public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() {
       if (horizontalPodAutoscalingBuilder_ != null) {
         return horizontalPodAutoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return horizontalPodAutoscaling_ == null
-            ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance()
-            : horizontalPodAutoscaling_;
+        return horizontalPodAutoscaling_ == null ?
+            com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1656,17 +1457,14 @@ public Builder clearHorizontalPodAutoscaling() {
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.HorizontalPodAutoscaling,
-            com.google.container.v1.HorizontalPodAutoscaling.Builder,
-            com.google.container.v1.HorizontalPodAutoscalingOrBuilder>
+        com.google.container.v1.HorizontalPodAutoscaling, com.google.container.v1.HorizontalPodAutoscaling.Builder, com.google.container.v1.HorizontalPodAutoscalingOrBuilder> 
         getHorizontalPodAutoscalingFieldBuilder() {
       if (horizontalPodAutoscalingBuilder_ == null) {
-        horizontalPodAutoscalingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.HorizontalPodAutoscaling,
-                com.google.container.v1.HorizontalPodAutoscaling.Builder,
-                com.google.container.v1.HorizontalPodAutoscalingOrBuilder>(
-                getHorizontalPodAutoscaling(), getParentForChildren(), isClean());
+        horizontalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.HorizontalPodAutoscaling, com.google.container.v1.HorizontalPodAutoscaling.Builder, com.google.container.v1.HorizontalPodAutoscalingOrBuilder>(
+                getHorizontalPodAutoscaling(),
+                getParentForChildren(),
+                isClean());
         horizontalPodAutoscaling_ = null;
       }
       return horizontalPodAutoscalingBuilder_;
@@ -1674,13 +1472,8 @@ public Builder clearHorizontalPodAutoscaling() {
 
     private com.google.container.v1.KubernetesDashboard kubernetesDashboard_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.KubernetesDashboard,
-            com.google.container.v1.KubernetesDashboard.Builder,
-            com.google.container.v1.KubernetesDashboardOrBuilder>
-        kubernetesDashboardBuilder_;
+        com.google.container.v1.KubernetesDashboard, com.google.container.v1.KubernetesDashboard.Builder, com.google.container.v1.KubernetesDashboardOrBuilder> kubernetesDashboardBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1689,20 +1482,15 @@ public Builder clearHorizontalPodAutoscaling() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1/cluster_service.proto;l=1046 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated - public boolean hasKubernetesDashboard() { + @java.lang.Deprecated public boolean hasKubernetesDashboard() { return kubernetesDashboardBuilder_ != null || kubernetesDashboard_ != null; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1711,26 +1499,19 @@ public boolean hasKubernetesDashboard() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1/cluster_service.proto;l=1046 * @return The kubernetesDashboard. */ - @java.lang.Deprecated - public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { + @java.lang.Deprecated public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { - return kubernetesDashboard_ == null - ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() - : kubernetesDashboard_; + return kubernetesDashboard_ == null ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; } else { return kubernetesDashboardBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1739,11 +1520,9 @@ public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { + @java.lang.Deprecated public Builder setKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1757,8 +1536,6 @@ public Builder setKubernetesDashboard(com.google.container.v1.KubernetesDashboar return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1767,11 +1544,9 @@ public Builder setKubernetesDashboard(com.google.container.v1.KubernetesDashboar
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setKubernetesDashboard( + @java.lang.Deprecated public Builder setKubernetesDashboard( com.google.container.v1.KubernetesDashboard.Builder builderForValue) { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = builderForValue.build(); @@ -1783,8 +1558,6 @@ public Builder setKubernetesDashboard( return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1793,17 +1566,13 @@ public Builder setKubernetesDashboard(
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { + @java.lang.Deprecated public Builder mergeKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (kubernetesDashboard_ != null) { kubernetesDashboard_ = - com.google.container.v1.KubernetesDashboard.newBuilder(kubernetesDashboard_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.KubernetesDashboard.newBuilder(kubernetesDashboard_).mergeFrom(value).buildPartial(); } else { kubernetesDashboard_ = value; } @@ -1815,8 +1584,6 @@ public Builder mergeKubernetesDashboard(com.google.container.v1.KubernetesDashbo return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1825,11 +1592,9 @@ public Builder mergeKubernetesDashboard(com.google.container.v1.KubernetesDashbo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearKubernetesDashboard() { + @java.lang.Deprecated public Builder clearKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = null; onChanged(); @@ -1841,8 +1606,6 @@ public Builder clearKubernetesDashboard() { return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1851,18 +1614,14 @@ public Builder clearKubernetesDashboard() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.KubernetesDashboard.Builder getKubernetesDashboardBuilder() { - + @java.lang.Deprecated public com.google.container.v1.KubernetesDashboard.Builder getKubernetesDashboardBuilder() { + onChanged(); return getKubernetesDashboardFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1871,22 +1630,17 @@ public com.google.container.v1.KubernetesDashboard.Builder getKubernetesDashboar
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { if (kubernetesDashboardBuilder_ != null) { return kubernetesDashboardBuilder_.getMessageOrBuilder(); } else { - return kubernetesDashboard_ == null - ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() - : kubernetesDashboard_; + return kubernetesDashboard_ == null ? + com.google.container.v1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; } } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1895,21 +1649,17 @@ public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboa
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.KubernetesDashboard, - com.google.container.v1.KubernetesDashboard.Builder, - com.google.container.v1.KubernetesDashboardOrBuilder> + com.google.container.v1.KubernetesDashboard, com.google.container.v1.KubernetesDashboard.Builder, com.google.container.v1.KubernetesDashboardOrBuilder> getKubernetesDashboardFieldBuilder() { if (kubernetesDashboardBuilder_ == null) { - kubernetesDashboardBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.KubernetesDashboard, - com.google.container.v1.KubernetesDashboard.Builder, - com.google.container.v1.KubernetesDashboardOrBuilder>( - getKubernetesDashboard(), getParentForChildren(), isClean()); + kubernetesDashboardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.KubernetesDashboard, com.google.container.v1.KubernetesDashboard.Builder, com.google.container.v1.KubernetesDashboardOrBuilder>( + getKubernetesDashboard(), + getParentForChildren(), + isClean()); kubernetesDashboard_ = null; } return kubernetesDashboardBuilder_; @@ -1917,13 +1667,8 @@ public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboa private com.google.container.v1.NetworkPolicyConfig networkPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicyConfig, - com.google.container.v1.NetworkPolicyConfig.Builder, - com.google.container.v1.NetworkPolicyConfigOrBuilder> - networkPolicyConfigBuilder_; + com.google.container.v1.NetworkPolicyConfig, com.google.container.v1.NetworkPolicyConfig.Builder, com.google.container.v1.NetworkPolicyConfigOrBuilder> networkPolicyConfigBuilder_; /** - * - * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1931,15 +1676,12 @@ public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboa
      * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; - * * @return Whether the networkPolicyConfig field is set. */ public boolean hasNetworkPolicyConfig() { return networkPolicyConfigBuilder_ != null || networkPolicyConfig_ != null; } /** - * - * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1947,21 +1689,16 @@ public boolean hasNetworkPolicyConfig() {
      * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; - * * @return The networkPolicyConfig. */ public com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig() { if (networkPolicyConfigBuilder_ == null) { - return networkPolicyConfig_ == null - ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() - : networkPolicyConfig_; + return networkPolicyConfig_ == null ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; } else { return networkPolicyConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1984,8 +1721,6 @@ public Builder setNetworkPolicyConfig(com.google.container.v1.NetworkPolicyConfi
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2006,8 +1741,6 @@ public Builder setNetworkPolicyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2020,9 +1753,7 @@ public Builder mergeNetworkPolicyConfig(com.google.container.v1.NetworkPolicyCon
       if (networkPolicyConfigBuilder_ == null) {
         if (networkPolicyConfig_ != null) {
           networkPolicyConfig_ =
-              com.google.container.v1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_).mergeFrom(value).buildPartial();
         } else {
           networkPolicyConfig_ = value;
         }
@@ -2034,8 +1765,6 @@ public Builder mergeNetworkPolicyConfig(com.google.container.v1.NetworkPolicyCon
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2056,8 +1785,6 @@ public Builder clearNetworkPolicyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2067,13 +1794,11 @@ public Builder clearNetworkPolicyConfig() {
      * .google.container.v1.NetworkPolicyConfig network_policy_config = 4;
      */
     public com.google.container.v1.NetworkPolicyConfig.Builder getNetworkPolicyConfigBuilder() {
-
+      
       onChanged();
       return getNetworkPolicyConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2086,14 +1811,11 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
       if (networkPolicyConfigBuilder_ != null) {
         return networkPolicyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkPolicyConfig_ == null
-            ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance()
-            : networkPolicyConfig_;
+        return networkPolicyConfig_ == null ?
+            com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2103,17 +1825,14 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
      * .google.container.v1.NetworkPolicyConfig network_policy_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NetworkPolicyConfig,
-            com.google.container.v1.NetworkPolicyConfig.Builder,
-            com.google.container.v1.NetworkPolicyConfigOrBuilder>
+        com.google.container.v1.NetworkPolicyConfig, com.google.container.v1.NetworkPolicyConfig.Builder, com.google.container.v1.NetworkPolicyConfigOrBuilder> 
         getNetworkPolicyConfigFieldBuilder() {
       if (networkPolicyConfigBuilder_ == null) {
-        networkPolicyConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NetworkPolicyConfig,
-                com.google.container.v1.NetworkPolicyConfig.Builder,
-                com.google.container.v1.NetworkPolicyConfigOrBuilder>(
-                getNetworkPolicyConfig(), getParentForChildren(), isClean());
+        networkPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NetworkPolicyConfig, com.google.container.v1.NetworkPolicyConfig.Builder, com.google.container.v1.NetworkPolicyConfigOrBuilder>(
+                getNetworkPolicyConfig(),
+                getParentForChildren(),
+                isClean());
         networkPolicyConfig_ = null;
       }
       return networkPolicyConfigBuilder_;
@@ -2121,49 +1840,36 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
 
     private com.google.container.v1.CloudRunConfig cloudRunConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.CloudRunConfig,
-            com.google.container.v1.CloudRunConfig.Builder,
-            com.google.container.v1.CloudRunConfigOrBuilder>
-        cloudRunConfigBuilder_;
+        com.google.container.v1.CloudRunConfig, com.google.container.v1.CloudRunConfig.Builder, com.google.container.v1.CloudRunConfigOrBuilder> cloudRunConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
      * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; - * * @return Whether the cloudRunConfig field is set. */ public boolean hasCloudRunConfig() { return cloudRunConfigBuilder_ != null || cloudRunConfig_ != null; } /** - * - * *
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
      * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; - * * @return The cloudRunConfig. */ public com.google.container.v1.CloudRunConfig getCloudRunConfig() { if (cloudRunConfigBuilder_ == null) { - return cloudRunConfig_ == null - ? com.google.container.v1.CloudRunConfig.getDefaultInstance() - : cloudRunConfig_; + return cloudRunConfig_ == null ? com.google.container.v1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; } else { return cloudRunConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -2185,8 +1891,6 @@ public Builder setCloudRunConfig(com.google.container.v1.CloudRunConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -2206,8 +1910,6 @@ public Builder setCloudRunConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -2219,9 +1921,7 @@ public Builder mergeCloudRunConfig(com.google.container.v1.CloudRunConfig value)
       if (cloudRunConfigBuilder_ == null) {
         if (cloudRunConfig_ != null) {
           cloudRunConfig_ =
-              com.google.container.v1.CloudRunConfig.newBuilder(cloudRunConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.CloudRunConfig.newBuilder(cloudRunConfig_).mergeFrom(value).buildPartial();
         } else {
           cloudRunConfig_ = value;
         }
@@ -2233,8 +1933,6 @@ public Builder mergeCloudRunConfig(com.google.container.v1.CloudRunConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -2254,8 +1952,6 @@ public Builder clearCloudRunConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -2264,13 +1960,11 @@ public Builder clearCloudRunConfig() {
      * .google.container.v1.CloudRunConfig cloud_run_config = 7;
      */
     public com.google.container.v1.CloudRunConfig.Builder getCloudRunConfigBuilder() {
-
+      
       onChanged();
       return getCloudRunConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -2282,14 +1976,11 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
       if (cloudRunConfigBuilder_ != null) {
         return cloudRunConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cloudRunConfig_ == null
-            ? com.google.container.v1.CloudRunConfig.getDefaultInstance()
-            : cloudRunConfig_;
+        return cloudRunConfig_ == null ?
+            com.google.container.v1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -2298,17 +1989,14 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
      * .google.container.v1.CloudRunConfig cloud_run_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.CloudRunConfig,
-            com.google.container.v1.CloudRunConfig.Builder,
-            com.google.container.v1.CloudRunConfigOrBuilder>
+        com.google.container.v1.CloudRunConfig, com.google.container.v1.CloudRunConfig.Builder, com.google.container.v1.CloudRunConfigOrBuilder> 
         getCloudRunConfigFieldBuilder() {
       if (cloudRunConfigBuilder_ == null) {
-        cloudRunConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.CloudRunConfig,
-                com.google.container.v1.CloudRunConfig.Builder,
-                com.google.container.v1.CloudRunConfigOrBuilder>(
-                getCloudRunConfig(), getParentForChildren(), isClean());
+        cloudRunConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.CloudRunConfig, com.google.container.v1.CloudRunConfig.Builder, com.google.container.v1.CloudRunConfigOrBuilder>(
+                getCloudRunConfig(),
+                getParentForChildren(),
+                isClean());
         cloudRunConfig_ = null;
       }
       return cloudRunConfigBuilder_;
@@ -2316,47 +2004,34 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
 
     private com.google.container.v1.DnsCacheConfig dnsCacheConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.DnsCacheConfig,
-            com.google.container.v1.DnsCacheConfig.Builder,
-            com.google.container.v1.DnsCacheConfigOrBuilder>
-        dnsCacheConfigBuilder_;
+        com.google.container.v1.DnsCacheConfig, com.google.container.v1.DnsCacheConfig.Builder, com.google.container.v1.DnsCacheConfigOrBuilder> dnsCacheConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; - * * @return Whether the dnsCacheConfig field is set. */ public boolean hasDnsCacheConfig() { return dnsCacheConfigBuilder_ != null || dnsCacheConfig_ != null; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; - * * @return The dnsCacheConfig. */ public com.google.container.v1.DnsCacheConfig getDnsCacheConfig() { if (dnsCacheConfigBuilder_ == null) { - return dnsCacheConfig_ == null - ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() - : dnsCacheConfig_; + return dnsCacheConfig_ == null ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; } else { return dnsCacheConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2377,8 +2052,6 @@ public Builder setDnsCacheConfig(com.google.container.v1.DnsCacheConfig value) { return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2397,8 +2070,6 @@ public Builder setDnsCacheConfig( return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2409,9 +2080,7 @@ public Builder mergeDnsCacheConfig(com.google.container.v1.DnsCacheConfig value) if (dnsCacheConfigBuilder_ == null) { if (dnsCacheConfig_ != null) { dnsCacheConfig_ = - com.google.container.v1.DnsCacheConfig.newBuilder(dnsCacheConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.DnsCacheConfig.newBuilder(dnsCacheConfig_).mergeFrom(value).buildPartial(); } else { dnsCacheConfig_ = value; } @@ -2423,8 +2092,6 @@ public Builder mergeDnsCacheConfig(com.google.container.v1.DnsCacheConfig value) return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2443,8 +2110,6 @@ public Builder clearDnsCacheConfig() { return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2452,13 +2117,11 @@ public Builder clearDnsCacheConfig() { * .google.container.v1.DnsCacheConfig dns_cache_config = 8; */ public com.google.container.v1.DnsCacheConfig.Builder getDnsCacheConfigBuilder() { - + onChanged(); return getDnsCacheConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2469,14 +2132,11 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde if (dnsCacheConfigBuilder_ != null) { return dnsCacheConfigBuilder_.getMessageOrBuilder(); } else { - return dnsCacheConfig_ == null - ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() - : dnsCacheConfig_; + return dnsCacheConfig_ == null ? + com.google.container.v1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; } } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2484,17 +2144,14 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde * .google.container.v1.DnsCacheConfig dns_cache_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DnsCacheConfig, - com.google.container.v1.DnsCacheConfig.Builder, - com.google.container.v1.DnsCacheConfigOrBuilder> + com.google.container.v1.DnsCacheConfig, com.google.container.v1.DnsCacheConfig.Builder, com.google.container.v1.DnsCacheConfigOrBuilder> getDnsCacheConfigFieldBuilder() { if (dnsCacheConfigBuilder_ == null) { - dnsCacheConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DnsCacheConfig, - com.google.container.v1.DnsCacheConfig.Builder, - com.google.container.v1.DnsCacheConfigOrBuilder>( - getDnsCacheConfig(), getParentForChildren(), isClean()); + dnsCacheConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DnsCacheConfig, com.google.container.v1.DnsCacheConfig.Builder, com.google.container.v1.DnsCacheConfigOrBuilder>( + getDnsCacheConfig(), + getParentForChildren(), + isClean()); dnsCacheConfig_ = null; } return dnsCacheConfigBuilder_; @@ -2502,49 +2159,36 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde private com.google.container.v1.ConfigConnectorConfig configConnectorConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfigConnectorConfig, - com.google.container.v1.ConfigConnectorConfig.Builder, - com.google.container.v1.ConfigConnectorConfigOrBuilder> - configConnectorConfigBuilder_; + com.google.container.v1.ConfigConnectorConfig, com.google.container.v1.ConfigConnectorConfig.Builder, com.google.container.v1.ConfigConnectorConfigOrBuilder> configConnectorConfigBuilder_; /** - * - * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; - * * @return Whether the configConnectorConfig field is set. */ public boolean hasConfigConnectorConfig() { return configConnectorConfigBuilder_ != null || configConnectorConfig_ != null; } /** - * - * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; - * * @return The configConnectorConfig. */ public com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig() { if (configConnectorConfigBuilder_ == null) { - return configConnectorConfig_ == null - ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() - : configConnectorConfig_; + return configConnectorConfig_ == null ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; } else { return configConnectorConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2566,8 +2210,6 @@ public Builder setConfigConnectorConfig(com.google.container.v1.ConfigConnectorC
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2587,8 +2229,6 @@ public Builder setConfigConnectorConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2600,9 +2240,7 @@ public Builder mergeConfigConnectorConfig(com.google.container.v1.ConfigConnecto
       if (configConnectorConfigBuilder_ == null) {
         if (configConnectorConfig_ != null) {
           configConnectorConfig_ =
-              com.google.container.v1.ConfigConnectorConfig.newBuilder(configConnectorConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ConfigConnectorConfig.newBuilder(configConnectorConfig_).mergeFrom(value).buildPartial();
         } else {
           configConnectorConfig_ = value;
         }
@@ -2614,8 +2252,6 @@ public Builder mergeConfigConnectorConfig(com.google.container.v1.ConfigConnecto
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2635,8 +2271,6 @@ public Builder clearConfigConnectorConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2645,13 +2279,11 @@ public Builder clearConfigConnectorConfig() {
      * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
      */
     public com.google.container.v1.ConfigConnectorConfig.Builder getConfigConnectorConfigBuilder() {
-
+      
       onChanged();
       return getConfigConnectorConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2659,19 +2291,15 @@ public com.google.container.v1.ConfigConnectorConfig.Builder getConfigConnectorC
      *
      * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public com.google.container.v1.ConfigConnectorConfigOrBuilder
-        getConfigConnectorConfigOrBuilder() {
+    public com.google.container.v1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
       if (configConnectorConfigBuilder_ != null) {
         return configConnectorConfigBuilder_.getMessageOrBuilder();
       } else {
-        return configConnectorConfig_ == null
-            ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance()
-            : configConnectorConfig_;
+        return configConnectorConfig_ == null ?
+            com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2680,82 +2308,56 @@ public com.google.container.v1.ConfigConnectorConfig.Builder getConfigConnectorC
      * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfigConnectorConfig,
-            com.google.container.v1.ConfigConnectorConfig.Builder,
-            com.google.container.v1.ConfigConnectorConfigOrBuilder>
+        com.google.container.v1.ConfigConnectorConfig, com.google.container.v1.ConfigConnectorConfig.Builder, com.google.container.v1.ConfigConnectorConfigOrBuilder> 
         getConfigConnectorConfigFieldBuilder() {
       if (configConnectorConfigBuilder_ == null) {
-        configConnectorConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ConfigConnectorConfig,
-                com.google.container.v1.ConfigConnectorConfig.Builder,
-                com.google.container.v1.ConfigConnectorConfigOrBuilder>(
-                getConfigConnectorConfig(), getParentForChildren(), isClean());
+        configConnectorConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ConfigConnectorConfig, com.google.container.v1.ConfigConnectorConfig.Builder, com.google.container.v1.ConfigConnectorConfigOrBuilder>(
+                getConfigConnectorConfig(),
+                getParentForChildren(),
+                isClean());
         configConnectorConfig_ = null;
       }
       return configConnectorConfigBuilder_;
     }
 
-    private com.google.container.v1.GcePersistentDiskCsiDriverConfig
-        gcePersistentDiskCsiDriverConfig_;
+    private com.google.container.v1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.GcePersistentDiskCsiDriverConfig,
-            com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder,
-            com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder>
-        gcePersistentDiskCsiDriverConfigBuilder_;
+        com.google.container.v1.GcePersistentDiskCsiDriverConfig, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder> gcePersistentDiskCsiDriverConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ public boolean hasGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfigBuilder_ != null - || gcePersistentDiskCsiDriverConfig_ != null; + return gcePersistentDiskCsiDriverConfigBuilder_ != null || gcePersistentDiskCsiDriverConfig_ != null; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return The gcePersistentDiskCsiDriverConfig. */ - public com.google.container.v1.GcePersistentDiskCsiDriverConfig - getGcePersistentDiskCsiDriverConfig() { + public com.google.container.v1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - return gcePersistentDiskCsiDriverConfig_ == null - ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() - : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; } else { return gcePersistentDiskCsiDriverConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public Builder setGcePersistentDiskCsiDriverConfig( - com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { + public Builder setGcePersistentDiskCsiDriverConfig(com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2769,15 +2371,11 @@ public Builder setGcePersistentDiskCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ public Builder setGcePersistentDiskCsiDriverConfig( com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder builderForValue) { @@ -2791,25 +2389,17 @@ public Builder setGcePersistentDiskCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public Builder mergeGcePersistentDiskCsiDriverConfig( - com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { + public Builder mergeGcePersistentDiskCsiDriverConfig(com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (gcePersistentDiskCsiDriverConfig_ != null) { gcePersistentDiskCsiDriverConfig_ = - com.google.container.v1.GcePersistentDiskCsiDriverConfig.newBuilder( - gcePersistentDiskCsiDriverConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GcePersistentDiskCsiDriverConfig.newBuilder(gcePersistentDiskCsiDriverConfig_).mergeFrom(value).buildPartial(); } else { gcePersistentDiskCsiDriverConfig_ = value; } @@ -2821,15 +2411,11 @@ public Builder mergeGcePersistentDiskCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ public Builder clearGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { @@ -2843,66 +2429,48 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder - getGcePersistentDiskCsiDriverConfigBuilder() { - + public com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder getGcePersistentDiskCsiDriverConfigBuilder() { + onChanged(); return getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder - getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ != null) { return gcePersistentDiskCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcePersistentDiskCsiDriverConfig_ == null - ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() - : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null ? + com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; } } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcePersistentDiskCsiDriverConfig, - com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, - com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder> + com.google.container.v1.GcePersistentDiskCsiDriverConfig, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder> getGcePersistentDiskCsiDriverConfigFieldBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - gcePersistentDiskCsiDriverConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcePersistentDiskCsiDriverConfig, - com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, - com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder>( - getGcePersistentDiskCsiDriverConfig(), getParentForChildren(), isClean()); + gcePersistentDiskCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcePersistentDiskCsiDriverConfig, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder>( + getGcePersistentDiskCsiDriverConfig(), + getParentForChildren(), + isClean()); gcePersistentDiskCsiDriverConfig_ = null; } return gcePersistentDiskCsiDriverConfigBuilder_; @@ -2910,58 +2478,41 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { private com.google.container.v1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcpFilestoreCsiDriverConfig, - com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, - com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> - gcpFilestoreCsiDriverConfigBuilder_; + com.google.container.v1.GcpFilestoreCsiDriverConfig, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> gcpFilestoreCsiDriverConfigBuilder_; /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfigBuilder_ != null || gcpFilestoreCsiDriverConfig_ != null; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return The gcpFilestoreCsiDriverConfig. */ public com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - return gcpFilestoreCsiDriverConfig_ == null - ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() - : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; } else { return gcpFilestoreCsiDriverConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public Builder setGcpFilestoreCsiDriverConfig( - com.google.container.v1.GcpFilestoreCsiDriverConfig value) { + public Builder setGcpFilestoreCsiDriverConfig(com.google.container.v1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2975,14 +2526,11 @@ public Builder setGcpFilestoreCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ public Builder setGcpFilestoreCsiDriverConfig( com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder builderForValue) { @@ -2996,24 +2544,17 @@ public Builder setGcpFilestoreCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public Builder mergeGcpFilestoreCsiDriverConfig( - com.google.container.v1.GcpFilestoreCsiDriverConfig value) { + public Builder mergeGcpFilestoreCsiDriverConfig(com.google.container.v1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (gcpFilestoreCsiDriverConfig_ != null) { gcpFilestoreCsiDriverConfig_ = - com.google.container.v1.GcpFilestoreCsiDriverConfig.newBuilder( - gcpFilestoreCsiDriverConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GcpFilestoreCsiDriverConfig.newBuilder(gcpFilestoreCsiDriverConfig_).mergeFrom(value).buildPartial(); } else { gcpFilestoreCsiDriverConfig_ = value; } @@ -3025,14 +2566,11 @@ public Builder mergeGcpFilestoreCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ public Builder clearGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { @@ -3046,63 +2584,48 @@ public Builder clearGcpFilestoreCsiDriverConfig() { return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder - getGcpFilestoreCsiDriverConfigBuilder() { - + public com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder getGcpFilestoreCsiDriverConfigBuilder() { + onChanged(); return getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder - getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ != null) { return gcpFilestoreCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcpFilestoreCsiDriverConfig_ == null - ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() - : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null ? + com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; } } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcpFilestoreCsiDriverConfig, - com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, - com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> + com.google.container.v1.GcpFilestoreCsiDriverConfig, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> getGcpFilestoreCsiDriverConfigFieldBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - gcpFilestoreCsiDriverConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcpFilestoreCsiDriverConfig, - com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, - com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder>( - getGcpFilestoreCsiDriverConfig(), getParentForChildren(), isClean()); + gcpFilestoreCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcpFilestoreCsiDriverConfig, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder>( + getGcpFilestoreCsiDriverConfig(), + getParentForChildren(), + isClean()); gcpFilestoreCsiDriverConfig_ = null; } return gcpFilestoreCsiDriverConfigBuilder_; @@ -3110,47 +2633,34 @@ public Builder clearGcpFilestoreCsiDriverConfig() { private com.google.container.v1.GkeBackupAgentConfig gkeBackupAgentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GkeBackupAgentConfig, - com.google.container.v1.GkeBackupAgentConfig.Builder, - com.google.container.v1.GkeBackupAgentConfigOrBuilder> - gkeBackupAgentConfigBuilder_; + com.google.container.v1.GkeBackupAgentConfig, com.google.container.v1.GkeBackupAgentConfig.Builder, com.google.container.v1.GkeBackupAgentConfigOrBuilder> gkeBackupAgentConfigBuilder_; /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return Whether the gkeBackupAgentConfig field is set. */ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfigBuilder_ != null || gkeBackupAgentConfig_ != null; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return The gkeBackupAgentConfig. */ public com.google.container.v1.GkeBackupAgentConfig getGkeBackupAgentConfig() { if (gkeBackupAgentConfigBuilder_ == null) { - return gkeBackupAgentConfig_ == null - ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() - : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; } else { return gkeBackupAgentConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3171,8 +2681,6 @@ public Builder setGkeBackupAgentConfig(com.google.container.v1.GkeBackupAgentCon return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3191,8 +2699,6 @@ public Builder setGkeBackupAgentConfig( return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3203,9 +2709,7 @@ public Builder mergeGkeBackupAgentConfig(com.google.container.v1.GkeBackupAgentC if (gkeBackupAgentConfigBuilder_ == null) { if (gkeBackupAgentConfig_ != null) { gkeBackupAgentConfig_ = - com.google.container.v1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_).mergeFrom(value).buildPartial(); } else { gkeBackupAgentConfig_ = value; } @@ -3217,8 +2721,6 @@ public Builder mergeGkeBackupAgentConfig(com.google.container.v1.GkeBackupAgentC return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3237,8 +2739,6 @@ public Builder clearGkeBackupAgentConfig() { return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3246,32 +2746,26 @@ public Builder clearGkeBackupAgentConfig() { * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ public com.google.container.v1.GkeBackupAgentConfig.Builder getGkeBackupAgentConfigBuilder() { - + onChanged(); return getGkeBackupAgentConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public com.google.container.v1.GkeBackupAgentConfigOrBuilder - getGkeBackupAgentConfigOrBuilder() { + public com.google.container.v1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder() { if (gkeBackupAgentConfigBuilder_ != null) { return gkeBackupAgentConfigBuilder_.getMessageOrBuilder(); } else { - return gkeBackupAgentConfig_ == null - ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() - : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null ? + com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; } } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3279,24 +2773,21 @@ public com.google.container.v1.GkeBackupAgentConfig.Builder getGkeBackupAgentCon * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GkeBackupAgentConfig, - com.google.container.v1.GkeBackupAgentConfig.Builder, - com.google.container.v1.GkeBackupAgentConfigOrBuilder> + com.google.container.v1.GkeBackupAgentConfig, com.google.container.v1.GkeBackupAgentConfig.Builder, com.google.container.v1.GkeBackupAgentConfigOrBuilder> getGkeBackupAgentConfigFieldBuilder() { if (gkeBackupAgentConfigBuilder_ == null) { - gkeBackupAgentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GkeBackupAgentConfig, - com.google.container.v1.GkeBackupAgentConfig.Builder, - com.google.container.v1.GkeBackupAgentConfigOrBuilder>( - getGkeBackupAgentConfig(), getParentForChildren(), isClean()); + gkeBackupAgentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GkeBackupAgentConfig, com.google.container.v1.GkeBackupAgentConfig.Builder, com.google.container.v1.GkeBackupAgentConfigOrBuilder>( + getGkeBackupAgentConfig(), + getParentForChildren(), + isClean()); gkeBackupAgentConfig_ = null; } return gkeBackupAgentConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3306,12 +2797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.AddonsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.AddonsConfig) private static final com.google.container.v1.AddonsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.AddonsConfig(); } @@ -3320,27 +2811,27 @@ public static com.google.container.v1.AddonsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddonsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddonsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3355,4 +2846,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AddonsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java similarity index 82% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java index 29ddb68f394a..2f2ca799d5d1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface AddonsConfigOrBuilder - extends +public interface AddonsConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.AddonsConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; - * * @return Whether the httpLoadBalancing field is set. */ boolean hasHttpLoadBalancing(); /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; - * * @return The httpLoadBalancing. */ com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing(); /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -62,8 +38,6 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -71,13 +45,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return Whether the horizontalPodAutoscaling field is set. */ boolean hasHorizontalPodAutoscaling(); /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -85,13 +56,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return The horizontalPodAutoscaling. */ com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscaling(); /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -103,8 +71,6 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -113,18 +79,13 @@ public interface AddonsConfigOrBuilder
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1/cluster_service.proto;l=1046 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated - boolean hasKubernetesDashboard(); + @java.lang.Deprecated boolean hasKubernetesDashboard(); /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -133,18 +94,13 @@ public interface AddonsConfigOrBuilder
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1/cluster_service.proto;l=1046 * @return The kubernetesDashboard. */ - @java.lang.Deprecated - com.google.container.v1.KubernetesDashboard getKubernetesDashboard(); + @java.lang.Deprecated com.google.container.v1.KubernetesDashboard getKubernetesDashboard(); /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -153,15 +109,11 @@ public interface AddonsConfigOrBuilder
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); + @java.lang.Deprecated com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -169,13 +121,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; - * * @return Whether the networkPolicyConfig field is set. */ boolean hasNetworkPolicyConfig(); /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -183,13 +132,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; - * * @return The networkPolicyConfig. */ com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig(); /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -201,34 +147,26 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; - * * @return Whether the cloudRunConfig field is set. */ boolean hasCloudRunConfig(); /** - * - * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; - * * @return The cloudRunConfig. */ com.google.container.v1.CloudRunConfig getCloudRunConfig(); /** - * - * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
@@ -239,32 +177,24 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; - * * @return Whether the dnsCacheConfig field is set. */ boolean hasDnsCacheConfig(); /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; - * * @return The dnsCacheConfig. */ com.google.container.v1.DnsCacheConfig getDnsCacheConfig(); /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -274,34 +204,26 @@ public interface AddonsConfigOrBuilder com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder(); /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; - * * @return Whether the configConnectorConfig field is set. */ boolean hasConfigConnectorConfig(); /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; - * * @return The configConnectorConfig. */ com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig(); /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -312,113 +234,78 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ boolean hasGcePersistentDiskCsiDriverConfig(); /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return The gcePersistentDiskCsiDriverConfig. */ com.google.container.v1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig(); /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder - getGcePersistentDiskCsiDriverConfigOrBuilder(); + com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder(); /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ boolean hasGcpFilestoreCsiDriverConfig(); /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return The gcpFilestoreCsiDriverConfig. */ com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig(); /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder - getGcpFilestoreCsiDriverConfigOrBuilder(); + com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder(); /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return Whether the gkeBackupAgentConfig field is set. */ boolean hasGkeBackupAgentConfig(); /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return The gkeBackupAgentConfig. */ com.google.container.v1.GkeBackupAgentConfig getGkeBackupAgentConfig(); /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java index 56c11e6f6c81..3f6c14206f07 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java @@ -1,76 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Specifies options for controlling advanced machine features.
  * 
* * Protobuf type {@code google.container.v1.AdvancedMachineFeatures} */ -public final class AdvancedMachineFeatures extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AdvancedMachineFeatures extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.AdvancedMachineFeatures) AdvancedMachineFeaturesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AdvancedMachineFeatures.newBuilder() to construct. private AdvancedMachineFeatures(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AdvancedMachineFeatures() {} + private AdvancedMachineFeatures() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AdvancedMachineFeatures(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AdvancedMachineFeatures.class, - com.google.container.v1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1.AdvancedMachineFeatures.class, com.google.container.v1.AdvancedMachineFeatures.Builder.class); } private int bitField0_; public static final int THREADS_PER_CORE_FIELD_NUMBER = 1; private long threadsPerCore_; /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * optional int64 threads_per_core = 1; - * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -86,8 +65,6 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -95,7 +72,6 @@ public boolean hasThreadsPerCore() {
    * 
* * optional int64 threads_per_core = 1; - * * @return The threadsPerCore. */ @java.lang.Override @@ -104,7 +80,6 @@ public long getThreadsPerCore() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,7 +91,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, threadsPerCore_); } @@ -130,7 +106,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, threadsPerCore_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, threadsPerCore_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -140,17 +117,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AdvancedMachineFeatures)) { return super.equals(obj); } - com.google.container.v1.AdvancedMachineFeatures other = - (com.google.container.v1.AdvancedMachineFeatures) obj; + com.google.container.v1.AdvancedMachineFeatures other = (com.google.container.v1.AdvancedMachineFeatures) obj; if (hasThreadsPerCore() != other.hasThreadsPerCore()) return false; if (hasThreadsPerCore()) { - if (getThreadsPerCore() != other.getThreadsPerCore()) return false; + if (getThreadsPerCore() + != other.getThreadsPerCore()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -165,143 +142,138 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasThreadsPerCore()) { hash = (37 * hash) + THREADS_PER_CORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getThreadsPerCore()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getThreadsPerCore()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.AdvancedMachineFeatures parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AdvancedMachineFeatures parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom( 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.AdvancedMachineFeatures parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.AdvancedMachineFeatures parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.AdvancedMachineFeatures parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.AdvancedMachineFeatures parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.AdvancedMachineFeatures prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies options for controlling advanced machine features.
    * 
* * Protobuf type {@code google.container.v1.AdvancedMachineFeatures} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.AdvancedMachineFeatures) com.google.container.v1.AdvancedMachineFeaturesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AdvancedMachineFeatures.class, - com.google.container.v1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1.AdvancedMachineFeatures.class, com.google.container.v1.AdvancedMachineFeatures.Builder.class); } // Construct using com.google.container.v1.AdvancedMachineFeatures.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -311,9 +283,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; } @java.lang.Override @@ -332,8 +304,7 @@ public com.google.container.v1.AdvancedMachineFeatures build() { @java.lang.Override public com.google.container.v1.AdvancedMachineFeatures buildPartial() { - com.google.container.v1.AdvancedMachineFeatures result = - new com.google.container.v1.AdvancedMachineFeatures(this); + com.google.container.v1.AdvancedMachineFeatures result = new com.google.container.v1.AdvancedMachineFeatures(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -349,39 +320,38 @@ public com.google.container.v1.AdvancedMachineFeatures buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.AdvancedMachineFeatures) { - return mergeFrom((com.google.container.v1.AdvancedMachineFeatures) other); + return mergeFrom((com.google.container.v1.AdvancedMachineFeatures)other); } else { super.mergeFrom(other); return this; @@ -389,8 +359,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.AdvancedMachineFeatures other) { - if (other == com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance()) - return this; + if (other == com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance()) return this; if (other.hasThreadsPerCore()) { setThreadsPerCore(other.getThreadsPerCore()); } @@ -420,19 +389,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - threadsPerCore_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + threadsPerCore_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -442,13 +409,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long threadsPerCore_; + private long threadsPerCore_ ; /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -456,7 +420,6 @@ public Builder mergeFrom(
      * 
* * optional int64 threads_per_core = 1; - * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -464,8 +427,6 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -473,7 +434,6 @@ public boolean hasThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; - * * @return The threadsPerCore. */ @java.lang.Override @@ -481,8 +441,6 @@ public long getThreadsPerCore() { return threadsPerCore_; } /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -490,7 +448,6 @@ public long getThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; - * * @param value The threadsPerCore to set. * @return This builder for chaining. */ @@ -501,8 +458,6 @@ public Builder setThreadsPerCore(long value) { return this; } /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -510,7 +465,6 @@ public Builder setThreadsPerCore(long value) {
      * 
* * optional int64 threads_per_core = 1; - * * @return This builder for chaining. */ public Builder clearThreadsPerCore() { @@ -519,9 +473,9 @@ public Builder clearThreadsPerCore() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -531,12 +485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.AdvancedMachineFeatures) } // @@protoc_insertion_point(class_scope:google.container.v1.AdvancedMachineFeatures) private static final com.google.container.v1.AdvancedMachineFeatures DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.AdvancedMachineFeatures(); } @@ -545,27 +499,27 @@ public static com.google.container.v1.AdvancedMachineFeatures getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvancedMachineFeatures parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvancedMachineFeatures parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,4 +534,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AdvancedMachineFeatures getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java index afd7ee39003d..ed62ca6d7e8d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AdvancedMachineFeaturesOrBuilder - extends +public interface AdvancedMachineFeaturesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.AdvancedMachineFeatures) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -33,13 +15,10 @@ public interface AdvancedMachineFeaturesOrBuilder
    * 
* * optional int64 threads_per_core = 1; - * * @return Whether the threadsPerCore field is set. */ boolean hasThreadsPerCore(); /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -47,7 +26,6 @@ public interface AdvancedMachineFeaturesOrBuilder
    * 
* * optional int64 threads_per_core = 1; - * * @return The threadsPerCore. */ long getThreadsPerCore(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java index 09860cbd78fa..3dee169bac35 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java @@ -1,84 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for returning group information from authenticators.
  * 
* * Protobuf type {@code google.container.v1.AuthenticatorGroupsConfig} */ -public final class AuthenticatorGroupsConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuthenticatorGroupsConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.AuthenticatorGroupsConfig) AuthenticatorGroupsConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuthenticatorGroupsConfig.newBuilder() to construct. private AuthenticatorGroupsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuthenticatorGroupsConfig() { securityGroup_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuthenticatorGroupsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AuthenticatorGroupsConfig.class, - com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1.AuthenticatorGroupsConfig.class, com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -89,15 +67,12 @@ public boolean getEnabled() { public static final int SECURITY_GROUP_FIELD_NUMBER = 2; private volatile java.lang.Object securityGroup_; /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The securityGroup. */ @java.lang.Override @@ -106,30 +81,30 @@ public java.lang.String getSecurityGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; } } /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The bytes for securityGroup. */ @java.lang.Override - public com.google.protobuf.ByteString getSecurityGroupBytes() { + public com.google.protobuf.ByteString + getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -138,7 +113,6 @@ public com.google.protobuf.ByteString getSecurityGroupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +124,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -167,7 +142,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, securityGroup_); @@ -180,16 +156,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AuthenticatorGroupsConfig)) { return super.equals(obj); } - com.google.container.v1.AuthenticatorGroupsConfig other = - (com.google.container.v1.AuthenticatorGroupsConfig) obj; + com.google.container.v1.AuthenticatorGroupsConfig other = (com.google.container.v1.AuthenticatorGroupsConfig) obj; - if (getEnabled() != other.getEnabled()) return false; - if (!getSecurityGroup().equals(other.getSecurityGroup())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getSecurityGroup() + .equals(other.getSecurityGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,7 +179,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + SECURITY_GROUP_FIELD_NUMBER; hash = (53 * hash) + getSecurityGroup().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -211,135 +189,129 @@ public int hashCode() { } public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( 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.AuthenticatorGroupsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.AuthenticatorGroupsConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.AuthenticatorGroupsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.AuthenticatorGroupsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for returning group information from authenticators.
    * 
* * Protobuf type {@code google.container.v1.AuthenticatorGroupsConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.AuthenticatorGroupsConfig) com.google.container.v1.AuthenticatorGroupsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AuthenticatorGroupsConfig.class, - com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1.AuthenticatorGroupsConfig.class, com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); } // Construct using com.google.container.v1.AuthenticatorGroupsConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override @@ -372,8 +344,7 @@ public com.google.container.v1.AuthenticatorGroupsConfig build() { @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfig buildPartial() { - com.google.container.v1.AuthenticatorGroupsConfig result = - new com.google.container.v1.AuthenticatorGroupsConfig(this); + com.google.container.v1.AuthenticatorGroupsConfig result = new com.google.container.v1.AuthenticatorGroupsConfig(this); result.enabled_ = enabled_; result.securityGroup_ = securityGroup_; onBuilt(); @@ -384,39 +355,38 @@ public com.google.container.v1.AuthenticatorGroupsConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.AuthenticatorGroupsConfig) { - return mergeFrom((com.google.container.v1.AuthenticatorGroupsConfig) other); + return mergeFrom((com.google.container.v1.AuthenticatorGroupsConfig)other); } else { super.mergeFrom(other); return this; @@ -424,8 +394,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.AuthenticatorGroupsConfig other) { - if (other == com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -459,25 +428,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: - { - securityGroup_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: { + securityGroup_ = input.readStringRequireUtf8(); + + 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) { @@ -488,17 +454,14 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -506,38 +469,32 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -545,21 +502,19 @@ public Builder clearEnabled() { private java.lang.Object securityGroup_ = ""; /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @return The securityGroup. */ public java.lang.String getSecurityGroup() { java.lang.Object ref = securityGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; @@ -568,22 +523,21 @@ public java.lang.String getSecurityGroup() { } } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @return The bytes for securityGroup. */ - public com.google.protobuf.ByteString getSecurityGroupBytes() { + public com.google.protobuf.ByteString + getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -591,71 +545,64 @@ public com.google.protobuf.ByteString getSecurityGroupBytes() { } } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @param value The securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroup(java.lang.String value) { + public Builder setSecurityGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + securityGroup_ = value; onChanged(); return this; } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @return This builder for chaining. */ public Builder clearSecurityGroup() { - + securityGroup_ = getDefaultInstance().getSecurityGroup(); onChanged(); return this; } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @param value The bytes for securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroupBytes(com.google.protobuf.ByteString value) { + public Builder setSecurityGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + securityGroup_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -665,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.AuthenticatorGroupsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.AuthenticatorGroupsConfig) private static final com.google.container.v1.AuthenticatorGroupsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.AuthenticatorGroupsConfig(); } @@ -679,27 +626,27 @@ public static com.google.container.v1.AuthenticatorGroupsConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthenticatorGroupsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthenticatorGroupsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,4 +661,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.AuthenticatorGroupsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java similarity index 57% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java index 2335da047486..5787609630bb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java @@ -1,66 +1,42 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AuthenticatorGroupsConfigOrBuilder - extends +public interface AuthenticatorGroupsConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.AuthenticatorGroupsConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The securityGroup. */ java.lang.String getSecurityGroup(); /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The bytes for securityGroup. */ - com.google.protobuf.ByteString getSecurityGroupBytes(); + com.google.protobuf.ByteString + getSecurityGroupBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java index a5356f5e628d..8489548245c1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * AutoUpgradeOptions defines the set of options for the user to control how
  * the Auto Upgrades will proceed.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.AutoUpgradeOptions}
  */
-public final class AutoUpgradeOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AutoUpgradeOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.AutoUpgradeOptions)
     AutoUpgradeOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AutoUpgradeOptions.newBuilder() to construct.
   private AutoUpgradeOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AutoUpgradeOptions() {
     autoUpgradeStartTime_ = "";
     description_ = "";
@@ -45,35 +27,32 @@ private AutoUpgradeOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AutoUpgradeOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.AutoUpgradeOptions.class,
-            com.google.container.v1.AutoUpgradeOptions.Builder.class);
+            com.google.container.v1.AutoUpgradeOptions.class, com.google.container.v1.AutoUpgradeOptions.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_START_TIME_FIELD_NUMBER = 1;
   private volatile java.lang.Object autoUpgradeStartTime_;
   /**
-   *
-   *
    * 
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string auto_upgrade_start_time = 1; - * * @return The autoUpgradeStartTime. */ @java.lang.Override @@ -90,15 +68,14 @@ public java.lang.String getAutoUpgradeStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; } } /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -106,15 +83,16 @@ public java.lang.String getAutoUpgradeStartTime() {
    * 
* * string auto_upgrade_start_time = 1; - * * @return The bytes for autoUpgradeStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString + getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -125,15 +103,12 @@ public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -142,30 +117,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -174,7 +149,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +160,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(autoUpgradeStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, autoUpgradeStartTime_); } @@ -216,16 +191,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AutoUpgradeOptions)) { return super.equals(obj); } - com.google.container.v1.AutoUpgradeOptions other = - (com.google.container.v1.AutoUpgradeOptions) obj; + com.google.container.v1.AutoUpgradeOptions other = (com.google.container.v1.AutoUpgradeOptions) obj; - if (!getAutoUpgradeStartTime().equals(other.getAutoUpgradeStartTime())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getAutoUpgradeStartTime() + .equals(other.getAutoUpgradeStartTime())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,104 +222,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.AutoUpgradeOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.AutoUpgradeOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AutoUpgradeOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoUpgradeOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AutoUpgradeOptions parseFrom( 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.AutoUpgradeOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AutoUpgradeOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.AutoUpgradeOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AutoUpgradeOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.AutoUpgradeOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.AutoUpgradeOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.AutoUpgradeOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.AutoUpgradeOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AutoUpgradeOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.AutoUpgradeOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AutoUpgradeOptions defines the set of options for the user to control how
    * the Auto Upgrades will proceed.
@@ -351,32 +320,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.AutoUpgradeOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.AutoUpgradeOptions)
       com.google.container.v1.AutoUpgradeOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.AutoUpgradeOptions.class,
-              com.google.container.v1.AutoUpgradeOptions.Builder.class);
+              com.google.container.v1.AutoUpgradeOptions.class, com.google.container.v1.AutoUpgradeOptions.Builder.class);
     }
 
     // Construct using com.google.container.v1.AutoUpgradeOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +358,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
@@ -409,8 +379,7 @@ public com.google.container.v1.AutoUpgradeOptions build() {
 
     @java.lang.Override
     public com.google.container.v1.AutoUpgradeOptions buildPartial() {
-      com.google.container.v1.AutoUpgradeOptions result =
-          new com.google.container.v1.AutoUpgradeOptions(this);
+      com.google.container.v1.AutoUpgradeOptions result = new com.google.container.v1.AutoUpgradeOptions(this);
       result.autoUpgradeStartTime_ = autoUpgradeStartTime_;
       result.description_ = description_;
       onBuilt();
@@ -421,39 +390,38 @@ public com.google.container.v1.AutoUpgradeOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.AutoUpgradeOptions) {
-        return mergeFrom((com.google.container.v1.AutoUpgradeOptions) other);
+        return mergeFrom((com.google.container.v1.AutoUpgradeOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -496,25 +464,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                autoUpgradeStartTime_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              autoUpgradeStartTime_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
+
+              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) {
@@ -527,8 +492,6 @@ public Builder mergeFrom(
 
     private java.lang.Object autoUpgradeStartTime_ = "";
     /**
-     *
-     *
      * 
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -536,13 +499,13 @@ public Builder mergeFrom(
      * 
* * string auto_upgrade_start_time = 1; - * * @return The autoUpgradeStartTime. */ public java.lang.String getAutoUpgradeStartTime() { java.lang.Object ref = autoUpgradeStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; @@ -551,8 +514,6 @@ public java.lang.String getAutoUpgradeStartTime() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -560,14 +521,15 @@ public java.lang.String getAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; - * * @return The bytes for autoUpgradeStartTime. */ - public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString + getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -575,8 +537,6 @@ public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -584,22 +544,20 @@ public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() {
      * 
* * string auto_upgrade_start_time = 1; - * * @param value The autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTime(java.lang.String value) { + public Builder setAutoUpgradeStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + autoUpgradeStartTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -607,18 +565,15 @@ public Builder setAutoUpgradeStartTime(java.lang.String value) {
      * 
* * string auto_upgrade_start_time = 1; - * * @return This builder for chaining. */ public Builder clearAutoUpgradeStartTime() { - + autoUpgradeStartTime_ = getDefaultInstance().getAutoUpgradeStartTime(); onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -626,16 +581,16 @@ public Builder clearAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; - * * @param value The bytes for autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setAutoUpgradeStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + autoUpgradeStartTime_ = value; onChanged(); return this; @@ -643,21 +598,19 @@ public Builder setAutoUpgradeStartTimeBytes(com.google.protobuf.ByteString value private java.lang.Object description_ = ""; /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -666,22 +619,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -689,71 +641,64 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -763,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.AutoUpgradeOptions) } // @@protoc_insertion_point(class_scope:google.container.v1.AutoUpgradeOptions) private static final com.google.container.v1.AutoUpgradeOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.AutoUpgradeOptions(); } @@ -777,27 +722,27 @@ public static com.google.container.v1.AutoUpgradeOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoUpgradeOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoUpgradeOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -812,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AutoUpgradeOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java index 28a3e058c08d..1b40fa18779b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AutoUpgradeOptionsOrBuilder - extends +public interface AutoUpgradeOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.AutoUpgradeOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -33,13 +15,10 @@ public interface AutoUpgradeOptionsOrBuilder
    * 
* * string auto_upgrade_start_time = 1; - * * @return The autoUpgradeStartTime. */ java.lang.String getAutoUpgradeStartTime(); /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -47,35 +26,30 @@ public interface AutoUpgradeOptionsOrBuilder
    * 
* * string auto_upgrade_start_time = 1; - * * @return The bytes for autoUpgradeStartTime. */ - com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes(); + com.google.protobuf.ByteString + getAutoUpgradeStartTimeBytes(); /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java index c82710001b6d..66801a6a70a6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Autopilot is the configuration for Autopilot settings on the cluster.
  * 
* * Protobuf type {@code google.container.v1.Autopilot} */ -public final class Autopilot extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Autopilot extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.Autopilot) AutopilotOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Autopilot.newBuilder() to construct. private Autopilot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Autopilot() {} + private Autopilot() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Autopilot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Autopilot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Autopilot_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.Autopilot.class, - com.google.container.v1.Autopilot.Builder.class); + com.google.container.v1.Autopilot.class, com.google.container.v1.Autopilot.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Enable Autopilot
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.Autopilot)) { return super.equals(obj); } com.google.container.v1.Autopilot other = (com.google.container.v1.Autopilot) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,141 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.Autopilot parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.Autopilot parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Autopilot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Autopilot parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.Autopilot parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Autopilot parseFrom( 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.Autopilot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Autopilot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.Autopilot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.Autopilot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.Autopilot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.Autopilot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.Autopilot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.Autopilot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.Autopilot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Autopilot is the configuration for Autopilot settings on the cluster.
    * 
* * Protobuf type {@code google.container.v1.Autopilot} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.Autopilot) com.google.container.v1.AutopilotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Autopilot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Autopilot_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.Autopilot.class, - com.google.container.v1.Autopilot.Builder.class); + com.google.container.v1.Autopilot.class, com.google.container.v1.Autopilot.Builder.class); } // Construct using com.google.container.v1.Autopilot.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -284,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Autopilot_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_descriptor; } @java.lang.Override @@ -315,39 +292,38 @@ public com.google.container.v1.Autopilot buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.Autopilot) { - return mergeFrom((com.google.container.v1.Autopilot) other); + return mergeFrom((com.google.container.v1.Autopilot)other); } else { super.mergeFrom(other); return this; @@ -385,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -408,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Enable Autopilot
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -425,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enable Autopilot
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enable Autopilot
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -471,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.Autopilot) } // @@protoc_insertion_point(class_scope:google.container.v1.Autopilot) private static final com.google.container.v1.Autopilot DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.Autopilot(); } @@ -485,27 +450,27 @@ public static com.google.container.v1.Autopilot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Autopilot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Autopilot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.Autopilot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java new file mode 100644 index 000000000000..226b8506a2ed --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface AutopilotOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.Autopilot) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enable Autopilot
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java similarity index 74% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java index cdf1f52bc24e..1f880227e2dd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
  * by NAP.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.AutoprovisioningNodePoolDefaults}
  */
-public final class AutoprovisioningNodePoolDefaults extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AutoprovisioningNodePoolDefaults extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.AutoprovisioningNodePoolDefaults)
     AutoprovisioningNodePoolDefaultsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AutoprovisioningNodePoolDefaults.newBuilder() to construct.
-  private AutoprovisioningNodePoolDefaults(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AutoprovisioningNodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AutoprovisioningNodePoolDefaults() {
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     serviceAccount_ = "";
@@ -50,69 +31,60 @@ private AutoprovisioningNodePoolDefaults() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AutoprovisioningNodePoolDefaults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.AutoprovisioningNodePoolDefaults.class,
-            com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
+            com.google.container.v1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
   }
 
   public static final int OAUTH_SCOPES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList oauthScopes_;
   /**
-   *
-   *
    * 
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_; } /** - * - * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -120,32 +92,27 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; - * * @return The serviceAccount. */ @java.lang.Override @@ -154,29 +121,29 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -187,14 +154,11 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 3; private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; /** - * - * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -202,25 +166,18 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** - * - * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } /** - * - * *
    * Specifies the upgrade settings for NAP created node pools
    * 
@@ -235,14 +192,11 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti public static final int MANAGEMENT_FIELD_NUMBER = 4; private com.google.container.v1.NodeManagement management_; /** - * - * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; - * * @return Whether the management field is set. */ @java.lang.Override @@ -250,25 +204,18 @@ public boolean hasManagement() { return management_ != null; } /** - * - * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; - * * @return The management. */ @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } /** - * - * *
    * Specifies the node management options for NAP created node-pools.
    * 
@@ -283,8 +230,6 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 5; private volatile java.lang.Object minCpuPlatform_; /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -301,27 +246,24 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @return The minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -338,18 +280,18 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @return The bytes for minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -360,8 +302,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 6; private int diskSizeGb_; /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -369,7 +309,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
    * 
* * int32 disk_size_gb = 6; - * * @return The diskSizeGb. */ @java.lang.Override @@ -380,8 +319,6 @@ public int getDiskSizeGb() { public static final int DISK_TYPE_FIELD_NUMBER = 7; private volatile java.lang.Object diskType_; /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -389,7 +326,6 @@ public int getDiskSizeGb() {
    * 
* * string disk_type = 7; - * * @return The diskType. */ @java.lang.Override @@ -398,15 +334,14 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -414,15 +349,16 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 7; - * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -433,14 +369,11 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 8; private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_; /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -448,25 +381,18 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null - ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } /** - * - * *
    * Shielded Instance options.
    * 
@@ -474,16 +400,13 @@ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig( * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ @java.lang.Override - public com.google.container.v1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 9; private volatile java.lang.Object bootDiskKmsKey_; /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -494,7 +417,6 @@ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig(
    * 
* * string boot_disk_kms_key = 9; - * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -503,15 +425,14 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -522,15 +443,16 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 9; - * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -541,14 +463,11 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { public static final int IMAGE_TYPE_FIELD_NUMBER = 10; private volatile java.lang.Object imageType_; /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The imageType. */ @java.lang.Override @@ -557,29 +476,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -588,7 +507,6 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -600,7 +518,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oauthScopes_.getRaw(i)); } @@ -652,23 +571,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpgradeSettings()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getManagement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCpuPlatform_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, minCpuPlatform_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, diskSizeGb_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, diskType_); } if (shieldedInstanceConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(8, getShieldedInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getShieldedInstanceConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bootDiskKmsKey_); @@ -684,33 +606,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AutoprovisioningNodePoolDefaults)) { return super.equals(obj); } - com.google.container.v1.AutoprovisioningNodePoolDefaults other = - (com.google.container.v1.AutoprovisioningNodePoolDefaults) obj; + com.google.container.v1.AutoprovisioningNodePoolDefaults other = (com.google.container.v1.AutoprovisioningNodePoolDefaults) obj; - if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getOauthScopesList() + .equals(other.getOauthScopesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings() + .equals(other.getUpgradeSettings())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement().equals(other.getManagement())) return false; - } - if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; - if (getDiskSizeGb() != other.getDiskSizeGb()) return false; - if (!getDiskType().equals(other.getDiskType())) return false; + if (!getManagement() + .equals(other.getManagement())) return false; + } + if (!getMinCpuPlatform() + .equals(other.getMinCpuPlatform())) return false; + if (getDiskSizeGb() + != other.getDiskSizeGb()) return false; + if (!getDiskType() + .equals(other.getDiskType())) return false; if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig() + .equals(other.getShieldedInstanceConfig())) return false; } - if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; - if (!getImageType().equals(other.getImageType())) return false; + if (!getBootDiskKmsKey() + .equals(other.getBootDiskKmsKey())) return false; + if (!getImageType() + .equals(other.getImageType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -756,104 +687,96 @@ public int hashCode() { } public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( 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.AutoprovisioningNodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.AutoprovisioningNodePoolDefaults prototype) { + public static Builder newBuilder(com.google.container.v1.AutoprovisioningNodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
    * by NAP.
@@ -861,32 +784,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.AutoprovisioningNodePoolDefaults}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.AutoprovisioningNodePoolDefaults)
       com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.AutoprovisioningNodePoolDefaults.class,
-              com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
+              com.google.container.v1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
     }
 
     // Construct using com.google.container.v1.AutoprovisioningNodePoolDefaults.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -926,9 +850,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
@@ -947,8 +871,7 @@ public com.google.container.v1.AutoprovisioningNodePoolDefaults build() {
 
     @java.lang.Override
     public com.google.container.v1.AutoprovisioningNodePoolDefaults buildPartial() {
-      com.google.container.v1.AutoprovisioningNodePoolDefaults result =
-          new com.google.container.v1.AutoprovisioningNodePoolDefaults(this);
+      com.google.container.v1.AutoprovisioningNodePoolDefaults result = new com.google.container.v1.AutoprovisioningNodePoolDefaults(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = oauthScopes_.getUnmodifiableView();
@@ -984,39 +907,38 @@ public com.google.container.v1.AutoprovisioningNodePoolDefaults buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.AutoprovisioningNodePoolDefaults) {
-        return mergeFrom((com.google.container.v1.AutoprovisioningNodePoolDefaults) other);
+        return mergeFrom((com.google.container.v1.AutoprovisioningNodePoolDefaults)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1024,8 +946,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.AutoprovisioningNodePoolDefaults other) {
-      if (other == com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance()) return this;
       if (!other.oauthScopes_.isEmpty()) {
         if (oauthScopes_.isEmpty()) {
           oauthScopes_ = other.oauthScopes_;
@@ -1094,75 +1015,69 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureOauthScopesIsMutable();
-                oauthScopes_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                minCpuPlatform_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 48:
-              {
-                diskSizeGb_ = input.readInt32();
-
-                break;
-              } // case 48
-            case 58:
-              {
-                diskType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 82:
-              {
-                imageType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 82
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureOauthScopesIsMutable();
+              oauthScopes_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              serviceAccount_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getUpgradeSettingsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getManagementFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              minCpuPlatform_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 48: {
+              diskSizeGb_ = input.readInt32();
+
+              break;
+            } // case 48
+            case 58: {
+              diskType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 82: {
+              imageType_ = input.readStringRequireUtf8();
+
+              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) {
@@ -1172,55 +1087,44 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList oauthScopes_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureOauthScopesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -1228,90 +1132,80 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes(int index, java.lang.String value) { + public Builder setOauthScopes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes(java.lang.String value) { + public Builder addOauthScopes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes(java.lang.Iterable values) { + public Builder addAllOauthScopes( + java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oauthScopes_); onChanged(); return this; } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -1321,22 +1215,20 @@ public Builder clearOauthScopes() { return this; } /** - * - * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; - * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -1345,20 +1237,18 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1367,21 +1257,20 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1389,61 +1278,54 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -1451,47 +1333,34 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> - upgradeSettingsBuilder_; + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return The upgradeSettings. */ public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1512,8 +1381,6 @@ public Builder setUpgradeSettings(com.google.container.v1.NodePool.UpgradeSettin return this; } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1532,8 +1399,6 @@ public Builder setUpgradeSettings( return this; } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1544,9 +1409,7 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); } else { upgradeSettings_ = value; } @@ -1558,8 +1421,6 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett return this; } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1578,8 +1439,6 @@ public Builder clearUpgradeSettings() { return this; } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1587,13 +1446,11 @@ public Builder clearUpgradeSettings() { * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; */ public com.google.container.v1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1604,14 +1461,11 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? + com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } } /** - * - * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1619,17 +1473,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), getParentForChildren(), isClean()); + upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), + getParentForChildren(), + isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -1637,47 +1488,34 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti private com.google.container.v1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder> - managementBuilder_; + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> managementBuilder_; /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
* * .google.container.v1.NodeManagement management = 4; - * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
* * .google.container.v1.NodeManagement management = 4; - * * @return The management. */ public com.google.container.v1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } else { return managementBuilder_.getMessage(); } } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1698,15 +1536,14 @@ public Builder setManagement(com.google.container.v1.NodeManagement value) { return this; } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
* * .google.container.v1.NodeManagement management = 4; */ - public Builder setManagement(com.google.container.v1.NodeManagement.Builder builderForValue) { + public Builder setManagement( + com.google.container.v1.NodeManagement.Builder builderForValue) { if (managementBuilder_ == null) { management_ = builderForValue.build(); onChanged(); @@ -1717,8 +1554,6 @@ public Builder setManagement(com.google.container.v1.NodeManagement.Builder buil return this; } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1729,9 +1564,7 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1.NodeManagement.newBuilder(management_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); } else { management_ = value; } @@ -1743,8 +1576,6 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { return this; } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1763,8 +1594,6 @@ public Builder clearManagement() { return this; } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1772,13 +1601,11 @@ public Builder clearManagement() { * .google.container.v1.NodeManagement management = 4; */ public com.google.container.v1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1789,14 +1616,11 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? + com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } } /** - * - * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1804,17 +1628,14 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * .google.container.v1.NodeManagement management = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder> + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder>( - getManagement(), getParentForChildren(), isClean()); + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); management_ = null; } return managementBuilder_; @@ -1822,8 +1643,6 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() private java.lang.Object minCpuPlatform_ = ""; /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1840,16 +1659,15 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @return The minCpuPlatform. */ - @java.lang.Deprecated - public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -1858,8 +1676,6 @@ public java.lang.String getMinCpuPlatform() { } } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1876,17 +1692,17 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -1894,8 +1710,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { } } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1912,25 +1726,22 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMinCpuPlatform(java.lang.String value) { + @java.lang.Deprecated public Builder setMinCpuPlatform( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1947,21 +1758,17 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMinCpuPlatform() { - + @java.lang.Deprecated public Builder clearMinCpuPlatform() { + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1978,28 +1785,25 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setMinCpuPlatformBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; } - private int diskSizeGb_; + private int diskSizeGb_ ; /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -2007,7 +1811,6 @@ public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 disk_size_gb = 6; - * * @return The diskSizeGb. */ @java.lang.Override @@ -2015,8 +1818,6 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -2024,19 +1825,16 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 6; - * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -2044,11 +1842,10 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 6; - * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; @@ -2056,8 +1853,6 @@ public Builder clearDiskSizeGb() { private java.lang.Object diskType_ = ""; /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2065,13 +1860,13 @@ public Builder clearDiskSizeGb() {
      * 
* * string disk_type = 7; - * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -2080,8 +1875,6 @@ public java.lang.String getDiskType() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2089,14 +1882,15 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 7; - * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -2104,8 +1898,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2113,22 +1905,20 @@ public com.google.protobuf.ByteString getDiskTypeBytes() {
      * 
* * string disk_type = 7; - * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType(java.lang.String value) { + public Builder setDiskType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2136,18 +1926,15 @@ public Builder setDiskType(java.lang.String value) {
      * 
* * string disk_type = 7; - * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2155,16 +1942,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 7; - * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -2172,47 +1959,34 @@ public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, - com.google.container.v1.ShieldedInstanceConfig.Builder, - com.google.container.v1.ShieldedInstanceConfigOrBuilder> - shieldedInstanceConfigBuilder_; + com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_; /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return The shieldedInstanceConfig. */ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null - ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Shielded Instance options.
      * 
@@ -2233,8 +2007,6 @@ public Builder setShieldedInstanceConfig(com.google.container.v1.ShieldedInstanc return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -2253,22 +2025,17 @@ public Builder setShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public Builder mergeShieldedInstanceConfig( - com.google.container.v1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig(com.google.container.v1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -2280,8 +2047,6 @@ public Builder mergeShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -2300,42 +2065,33 @@ public Builder clearShieldedInstanceConfig() { return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1.ShieldedInstanceConfig.Builder - getShieldedInstanceConfigBuilder() { - + public com.google.container.v1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null - ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? + com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } } /** - * - * *
      * Shielded Instance options.
      * 
@@ -2343,17 +2099,14 @@ public Builder clearShieldedInstanceConfig() { * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, - com.google.container.v1.ShieldedInstanceConfig.Builder, - com.google.container.v1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, - com.google.container.v1.ShieldedInstanceConfig.Builder, - com.google.container.v1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), getParentForChildren(), isClean()); + shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), + getParentForChildren(), + isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -2361,8 +2114,6 @@ public Builder clearShieldedInstanceConfig() { private java.lang.Object bootDiskKmsKey_ = ""; /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2373,13 +2124,13 @@ public Builder clearShieldedInstanceConfig() {
      * 
* * string boot_disk_kms_key = 9; - * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -2388,8 +2139,6 @@ public java.lang.String getBootDiskKmsKey() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2400,14 +2149,15 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; - * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -2415,8 +2165,6 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2427,22 +2175,20 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() {
      * 
* * string boot_disk_kms_key = 9; - * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey(java.lang.String value) { + public Builder setBootDiskKmsKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2453,18 +2199,15 @@ public Builder setBootDiskKmsKey(java.lang.String value) {
      * 
* * string boot_disk_kms_key = 9; - * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2475,16 +2218,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; - * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -2492,20 +2235,18 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageType_ = ""; /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2514,21 +2255,20 @@ public java.lang.String getImageType() { } } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -2536,68 +2276,61 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2607,12 +2340,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.AutoprovisioningNodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1.AutoprovisioningNodePoolDefaults) private static final com.google.container.v1.AutoprovisioningNodePoolDefaults DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.AutoprovisioningNodePoolDefaults(); } @@ -2621,27 +2354,27 @@ public static com.google.container.v1.AutoprovisioningNodePoolDefaults getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoprovisioningNodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoprovisioningNodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2656,4 +2389,6 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1.AutoprovisioningNodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java similarity index 82% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java index efa0fe6832a0..b697717b5677 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -1,131 +1,92 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface AutoprovisioningNodePoolDefaultsOrBuilder - extends +public interface AutoprovisioningNodePoolDefaultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.AutoprovisioningNodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @return A list containing the oauthScopes. */ - java.util.List getOauthScopesList(); + java.util.List + getOauthScopesList(); /** - * - * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** - * - * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** - * - * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString getOauthScopesBytes(int index); + com.google.protobuf.ByteString + getOauthScopesBytes(int index); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** - * - * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return The upgradeSettings. */ com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings(); /** - * - * *
    * Specifies the upgrade settings for NAP created node pools
    * 
@@ -135,32 +96,24 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** - * - * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; - * * @return Whether the management field is set. */ boolean hasManagement(); /** - * - * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; - * * @return The management. */ com.google.container.v1.NodeManagement getManagement(); /** - * - * *
    * Specifies the node management options for NAP created node-pools.
    * 
@@ -170,8 +123,6 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder(); /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -188,16 +139,12 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @return The minCpuPlatform. */ - @java.lang.Deprecated - java.lang.String getMinCpuPlatform(); + @java.lang.Deprecated java.lang.String getMinCpuPlatform(); /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -214,17 +161,14 @@ 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=3423 + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1/cluster_service.proto;l=3423 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getMinCpuPlatformBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getMinCpuPlatformBytes(); /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -232,14 +176,11 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * int32 disk_size_gb = 6; - * * @return The diskSizeGb. */ int getDiskSizeGb(); /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -247,13 +188,10 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string disk_type = 7; - * * @return The diskType. */ java.lang.String getDiskType(); /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -261,38 +199,30 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string disk_type = 7; - * * @return The bytes for diskType. */ - com.google.protobuf.ByteString getDiskTypeBytes(); + com.google.protobuf.ByteString + getDiskTypeBytes(); /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return The shieldedInstanceConfig. */ com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
@@ -302,8 +232,6 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -314,13 +242,10 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string boot_disk_kms_key = 9; - * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -331,33 +256,28 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string boot_disk_kms_key = 9; - * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString + getBootDiskKmsKeyBytes(); /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index 9a3129989d74..2ca23d774e78 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for Binary Authorization.
  * 
* * Protobuf type {@code google.container.v1.BinaryAuthorization} */ -public final class BinaryAuthorization extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BinaryAuthorization extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.BinaryAuthorization) BinaryAuthorizationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BinaryAuthorization.newBuilder() to construct. private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BinaryAuthorization() { evaluationMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BinaryAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BinaryAuthorization.class, - com.google.container.v1.BinaryAuthorization.Builder.class); + com.google.container.v1.BinaryAuthorization.class, com.google.container.v1.BinaryAuthorization.Builder.class); } /** - * - * *
    * Binary Authorization mode of operation.
    * 
* * Protobuf enum {@code google.container.v1.BinaryAuthorization.EvaluationMode} */ - public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value
      * 
@@ -88,8 +66,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ EVALUATION_MODE_UNSPECIFIED(0), /** - * - * *
      * Disable BinaryAuthorization
      * 
@@ -98,8 +74,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ DISABLED(1), /** - * - * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -113,8 +87,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value
      * 
@@ -123,8 +95,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Disable BinaryAuthorization
      * 
@@ -133,8 +103,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 1; /** - * - * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -145,6 +113,7 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -169,49 +138,49 @@ public static EvaluationMode valueOf(int value) {
      */
     public static EvaluationMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return EVALUATION_MODE_UNSPECIFIED;
-        case 1:
-          return DISABLED;
-        case 2:
-          return PROJECT_SINGLETON_POLICY_ENFORCE;
-        default:
-          return null;
+        case 0: return EVALUATION_MODE_UNSPECIFIED;
+        case 1: return DISABLED;
+        case 2: return PROJECT_SINGLETON_POLICY_ENFORCE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EvaluationMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EvaluationMode findValueByNumber(int number) {
+              return EvaluationMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EvaluationMode findValueByNumber(int number) {
-            return EvaluationMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EvaluationMode[] VALUES = values();
 
-    public static EvaluationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EvaluationMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -231,8 +200,6 @@ private EvaluationMode(int value) {
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -240,59 +207,45 @@ 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=1281 + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1/cluster_service.proto;l=1281 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getEnabled() { + @java.lang.Deprecated public boolean getEnabled() { return enabled_; } public static final int EVALUATION_MODE_FIELD_NUMBER = 2; private int evaluationMode_; /** - * - * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The evaluationMode. */ - @java.lang.Override - public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @java.lang.Override public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1.BinaryAuthorization.EvaluationMode result = - com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null - ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED - : result; + com.google.container.v1.BinaryAuthorization.EvaluationMode result = com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -304,13 +257,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } - if (evaluationMode_ - != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED - .getNumber()) { + if (evaluationMode_ != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, evaluationMode_); } getUnknownFields().writeTo(output); @@ -323,12 +275,12 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } - if (evaluationMode_ - != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, evaluationMode_); + if (evaluationMode_ != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, evaluationMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -338,15 +290,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.BinaryAuthorization)) { return super.equals(obj); } - com.google.container.v1.BinaryAuthorization other = - (com.google.container.v1.BinaryAuthorization) obj; + com.google.container.v1.BinaryAuthorization other = (com.google.container.v1.BinaryAuthorization) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (evaluationMode_ != other.evaluationMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -360,7 +312,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + EVALUATION_MODE_FIELD_NUMBER; hash = (53 * hash) + evaluationMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -368,136 +321,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.BinaryAuthorization parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.BinaryAuthorization parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.BinaryAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.BinaryAuthorization parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.BinaryAuthorization parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.BinaryAuthorization parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.BinaryAuthorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.BinaryAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.BinaryAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.BinaryAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * Protobuf type {@code google.container.v1.BinaryAuthorization} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.BinaryAuthorization) com.google.container.v1.BinaryAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BinaryAuthorization.class, - com.google.container.v1.BinaryAuthorization.Builder.class); + com.google.container.v1.BinaryAuthorization.class, com.google.container.v1.BinaryAuthorization.Builder.class); } // Construct using com.google.container.v1.BinaryAuthorization.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -509,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BinaryAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_descriptor; } @java.lang.Override @@ -530,8 +477,7 @@ public com.google.container.v1.BinaryAuthorization build() { @java.lang.Override public com.google.container.v1.BinaryAuthorization buildPartial() { - com.google.container.v1.BinaryAuthorization result = - new com.google.container.v1.BinaryAuthorization(this); + com.google.container.v1.BinaryAuthorization result = new com.google.container.v1.BinaryAuthorization(this); result.enabled_ = enabled_; result.evaluationMode_ = evaluationMode_; onBuilt(); @@ -542,39 +488,38 @@ public com.google.container.v1.BinaryAuthorization buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.BinaryAuthorization) { - return mergeFrom((com.google.container.v1.BinaryAuthorization) other); + return mergeFrom((com.google.container.v1.BinaryAuthorization)other); } else { super.mergeFrom(other); return this; @@ -615,25 +560,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - case 16: - { - evaluationMode_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + case 16: { + evaluationMode_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -644,10 +586,8 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -655,19 +595,15 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1281 + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1/cluster_service.proto;l=1281 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getEnabled() { + @java.lang.Deprecated public boolean getEnabled() { return enabled_; } /** - * - * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -675,22 +611,18 @@ public boolean getEnabled() {
      * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1281 + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1/cluster_service.proto;l=1281 * @param value The enabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setEnabled(boolean value) { - + @java.lang.Deprecated public Builder setEnabled(boolean value) { + enabled_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -698,14 +630,12 @@ 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=1281 + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1/cluster_service.proto;l=1281 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearEnabled() { - + @java.lang.Deprecated public Builder clearEnabled() { + enabled_ = false; onChanged(); return this; @@ -713,105 +643,85 @@ public Builder clearEnabled() { private int evaluationMode_ = 0; /** - * - * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ public Builder setEvaluationModeValue(int value) { - + evaluationMode_ = value; onChanged(); return this; } /** - * - * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The evaluationMode. */ @java.lang.Override public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1.BinaryAuthorization.EvaluationMode result = - com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null - ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED - : result; + com.google.container.v1.BinaryAuthorization.EvaluationMode result = com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; } /** - * - * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode( - com.google.container.v1.BinaryAuthorization.EvaluationMode value) { + public Builder setEvaluationMode(com.google.container.v1.BinaryAuthorization.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } - + evaluationMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return This builder for chaining. */ public Builder clearEvaluationMode() { - + evaluationMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -821,12 +731,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.BinaryAuthorization) } // @@protoc_insertion_point(class_scope:google.container.v1.BinaryAuthorization) private static final com.google.container.v1.BinaryAuthorization DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.BinaryAuthorization(); } @@ -835,27 +745,27 @@ public static com.google.container.v1.BinaryAuthorization getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BinaryAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BinaryAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -870,4 +780,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.BinaryAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java index 1c0a01d4c7f3..66db0516b8fd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface BinaryAuthorizationOrBuilder - extends +public interface BinaryAuthorizationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.BinaryAuthorization) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -33,37 +15,29 @@ public interface BinaryAuthorizationOrBuilder
    * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1/cluster_service.proto;l=1281 + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1/cluster_service.proto;l=1281 * @return The enabled. */ - @java.lang.Deprecated - boolean getEnabled(); + @java.lang.Deprecated boolean getEnabled(); /** - * - * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** - * - * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The evaluationMode. */ com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java index 254152b0357a..252cb6e9e818 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java @@ -1,154 +1,115 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Settings for blue-green upgrade.
  * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings} */ -public final class BlueGreenSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BlueGreenSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.BlueGreenSettings) BlueGreenSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BlueGreenSettings.newBuilder() to construct. private BlueGreenSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BlueGreenSettings() {} + private BlueGreenSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BlueGreenSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.class, - com.google.container.v1.BlueGreenSettings.Builder.class); + com.google.container.v1.BlueGreenSettings.class, com.google.container.v1.BlueGreenSettings.Builder.class); } - public interface StandardRolloutPolicyOrBuilder - extends + public interface StandardRolloutPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return Whether the batchPercentage field is set. */ boolean hasBatchPercentage(); /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return The batchPercentage. */ float getBatchPercentage(); /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return Whether the batchNodeCount field is set. */ boolean hasBatchNodeCount(); /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return The batchNodeCount. */ int getBatchNodeCount(); /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return Whether the batchSoakDuration field is set. */ boolean hasBatchSoakDuration(); /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return The batchSoakDuration. */ com.google.protobuf.Duration getBatchSoakDuration(); /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -157,69 +118,62 @@ public interface StandardRolloutPolicyOrBuilder */ com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder(); - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase - getUpdateBatchSizeCase(); + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase getUpdateBatchSizeCase(); } /** - * - * *
    * Standard rollout policy is the default policy for blue-green.
    * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class StandardRolloutPolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StandardRolloutPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) StandardRolloutPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StandardRolloutPolicy.newBuilder() to construct. private StandardRolloutPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StandardRolloutPolicy() {} + private StandardRolloutPolicy() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StandardRolloutPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } private int bitField0_; private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; - public enum UpdateBatchSizeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_PERCENTAGE(1), BATCH_NODE_COUNT(2), UPDATEBATCHSIZE_NOT_SET(0); private final int value; - private UpdateBatchSizeCase(int value) { this.value = value; } @@ -235,37 +189,31 @@ public static UpdateBatchSizeCase valueOf(int value) { public static UpdateBatchSizeCase forNumber(int value) { switch (value) { - case 1: - return BATCH_PERCENTAGE; - case 2: - return BATCH_NODE_COUNT; - case 0: - return UPDATEBATCHSIZE_NOT_SET; - default: - return null; + case 1: return BATCH_PERCENTAGE; + case 2: return BATCH_NODE_COUNT; + case 0: return UPDATEBATCHSIZE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public UpdateBatchSizeCase getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + public UpdateBatchSizeCase + getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber( + updateBatchSizeCase_); } public static final int BATCH_PERCENTAGE_FIELD_NUMBER = 1; /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return Whether the batchPercentage field is set. */ @java.lang.Override @@ -273,15 +221,12 @@ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return The batchPercentage. */ @java.lang.Override @@ -294,14 +239,11 @@ public float getBatchPercentage() { public static final int BATCH_NODE_COUNT_FIELD_NUMBER = 2; /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return Whether the batchNodeCount field is set. */ @java.lang.Override @@ -309,14 +251,11 @@ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return The batchNodeCount. */ @java.lang.Override @@ -330,14 +269,11 @@ public int getBatchNodeCount() { public static final int BATCH_SOAK_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration batchSoakDuration_; /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return Whether the batchSoakDuration field is set. */ @java.lang.Override @@ -345,25 +281,18 @@ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return The batchSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getBatchSoakDuration() { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -372,13 +301,10 @@ public com.google.protobuf.Duration getBatchSoakDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,12 +316,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateBatchSizeCase_ == 1) { - output.writeFloat(1, (float) ((java.lang.Float) updateBatchSize_)); + output.writeFloat( + 1, (float)((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) updateBatchSize_)); + output.writeInt32( + 2, (int)((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBatchSoakDuration()); @@ -410,17 +339,18 @@ public int getSerializedSize() { size = 0; if (updateBatchSizeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeFloatSize( - 1, (float) ((java.lang.Float) updateBatchSize_)); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize( + 1, (float)((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) updateBatchSize_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBatchSoakDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBatchSoakDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -430,26 +360,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy)) { return super.equals(obj); } - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other = - (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) obj; + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other = (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) obj; if (hasBatchSoakDuration() != other.hasBatchSoakDuration()) return false; if (hasBatchSoakDuration()) { - if (!getBatchSoakDuration().equals(other.getBatchSoakDuration())) return false; + if (!getBatchSoakDuration() + .equals(other.getBatchSoakDuration())) return false; } if (!getUpdateBatchSizeCase().equals(other.getUpdateBatchSizeCase())) return false; switch (updateBatchSizeCase_) { case 1: if (java.lang.Float.floatToIntBits(getBatchPercentage()) - != java.lang.Float.floatToIntBits(other.getBatchPercentage())) return false; + != java.lang.Float.floatToIntBits( + other.getBatchPercentage())) return false; break; case 2: - if (getBatchNodeCount() != other.getBatchNodeCount()) return false; + if (getBatchNodeCount() + != other.getBatchNodeCount()) return false; break; case 0: default: @@ -472,7 +404,8 @@ public int hashCode() { switch (updateBatchSizeCase_) { case 1: hash = (37 * hash) + BATCH_PERCENTAGE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBatchPercentage()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBatchPercentage()); break; case 2: hash = (37 * hash) + BATCH_NODE_COUNT_FIELD_NUMBER; @@ -487,95 +420,87 @@ public int hashCode() { } public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - 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.BlueGreenSettings.StandardRolloutPolicy 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy prototype) { + public static Builder newBuilder(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -585,51 +510,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Standard rollout policy is the default policy for blue-green.
      * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } - // Construct using - // com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() + // Construct using com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBatchSoakDurationFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -645,14 +564,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - getDefaultInstanceForType() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } @@ -667,8 +585,7 @@ public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy build() { @java.lang.Override public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy buildPartial() { - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy result = - new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(this); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy result = new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (updateBatchSizeCase_ == 1) { @@ -695,70 +612,61 @@ public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BlueGreenSettings.StandardRolloutPolicy) { - return mergeFrom((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) other); + return mergeFrom((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other) { - if (other - == com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other) { + if (other == com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) return this; if (other.hasBatchSoakDuration()) { mergeBatchSoakDuration(other.getBatchSoakDuration()); } switch (other.getUpdateBatchSizeCase()) { - case BATCH_PERCENTAGE: - { - setBatchPercentage(other.getBatchPercentage()); - break; - } - case BATCH_NODE_COUNT: - { - setBatchNodeCount(other.getBatchNodeCount()); - break; - } - case UPDATEBATCHSIZE_NOT_SET: - { - break; - } + case BATCH_PERCENTAGE: { + setBatchPercentage(other.getBatchPercentage()); + break; + } + case BATCH_NODE_COUNT: { + setBatchNodeCount(other.getBatchNodeCount()); + break; + } + case UPDATEBATCHSIZE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -786,32 +694,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - updateBatchSize_ = input.readFloat(); - updateBatchSizeCase_ = 1; - break; - } // case 13 - case 16: - { - updateBatchSize_ = input.readInt32(); - updateBatchSizeCase_ = 2; - break; - } // case 16 - case 26: - { - input.readMessage( - getBatchSoakDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + updateBatchSize_ = input.readFloat(); + updateBatchSizeCase_ = 1; + break; + } // case 13 + case 16: { + updateBatchSize_ = input.readInt32(); + updateBatchSizeCase_ = 2; + break; + } // case 16 + case 26: { + input.readMessage( + getBatchSoakDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -821,12 +726,12 @@ public Builder mergeFrom( } // finally return this; } - private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; - - public UpdateBatchSizeCase getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + public UpdateBatchSizeCase + getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber( + updateBatchSizeCase_); } public Builder clearUpdateBatchSize() { @@ -839,30 +744,24 @@ public Builder clearUpdateBatchSize() { private int bitField0_; /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @return Whether the batchPercentage field is set. */ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @return The batchPercentage. */ public float getBatchPercentage() { @@ -872,15 +771,12 @@ public float getBatchPercentage() { return 0F; } /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @param value The batchPercentage to set. * @return This builder for chaining. */ @@ -891,15 +787,12 @@ public Builder setBatchPercentage(float value) { return this; } /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @return This builder for chaining. */ public Builder clearBatchPercentage() { @@ -912,28 +805,22 @@ public Builder clearBatchPercentage() { } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @return Whether the batchNodeCount field is set. */ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @return The batchNodeCount. */ public int getBatchNodeCount() { @@ -943,14 +830,11 @@ public int getBatchNodeCount() { return 0; } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @param value The batchNodeCount to set. * @return This builder for chaining. */ @@ -961,14 +845,11 @@ public Builder setBatchNodeCount(int value) { return this; } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @return This builder for chaining. */ public Builder clearBatchNodeCount() { @@ -982,47 +863,34 @@ public Builder clearBatchNodeCount() { private com.google.protobuf.Duration batchSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - batchSoakDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> batchSoakDurationBuilder_; /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return Whether the batchSoakDuration field is set. */ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return The batchSoakDuration. */ public com.google.protobuf.Duration getBatchSoakDuration() { if (batchSoakDurationBuilder_ == null) { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } else { return batchSoakDurationBuilder_.getMessage(); } } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1043,15 +911,14 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; */ - public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setBatchSoakDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (batchSoakDurationBuilder_ == null) { batchSoakDuration_ = builderForValue.build(); onChanged(); @@ -1062,8 +929,6 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builder return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1072,13 +937,11 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builder */ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { if (batchSoakDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && batchSoakDuration_ != null - && batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + batchSoakDuration_ != null && + batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { batchSoakDuration_ = - com.google.protobuf.Duration.newBuilder(batchSoakDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(batchSoakDuration_).mergeFrom(value).buildPartial(); } else { batchSoakDuration_ = value; } @@ -1090,8 +953,6 @@ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1109,8 +970,6 @@ public Builder clearBatchSoakDuration() { return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1123,8 +982,6 @@ public com.google.protobuf.Duration.Builder getBatchSoakDurationBuilder() { return getBatchSoakDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1135,14 +992,11 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { if (batchSoakDurationBuilder_ != null) { return batchSoakDurationBuilder_.getMessageOrBuilder(); } else { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1150,22 +1004,18 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { * optional .google.protobuf.Duration batch_soak_duration = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getBatchSoakDurationFieldBuilder() { if (batchSoakDurationBuilder_ == null) { - batchSoakDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getBatchSoakDuration(), getParentForChildren(), isClean()); + batchSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getBatchSoakDuration(), + getParentForChildren(), + isClean()); batchSoakDuration_ = null; } return batchSoakDurationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1178,44 +1028,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) - private static final com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - DEFAULT_INSTANCE; - + private static final com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - getDefaultInstance() { + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StandardRolloutPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardRolloutPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1227,24 +1074,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - getDefaultInstanceForType() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; - public enum RolloutPolicyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STANDARD_ROLLOUT_POLICY(1), ROLLOUTPOLICY_NOT_SET(0); private final int value; - private RolloutPolicyCase(int value) { this.value = value; } @@ -1260,35 +1104,29 @@ public static RolloutPolicyCase valueOf(int value) { public static RolloutPolicyCase forNumber(int value) { switch (value) { - case 1: - return STANDARD_ROLLOUT_POLICY; - case 0: - return ROLLOUTPOLICY_NOT_SET; - default: - return null; + case 1: return STANDARD_ROLLOUT_POLICY; + case 0: return ROLLOUTPOLICY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RolloutPolicyCase getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + public RolloutPolicyCase + getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber( + rolloutPolicyCase_); } public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER = 1; /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1296,40 +1134,31 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - getStandardRolloutPolicy() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder - getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } @@ -1337,15 +1166,12 @@ public boolean hasStandardRolloutPolicy() { public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration nodePoolSoakDuration_; /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return Whether the nodePoolSoakDuration field is set. */ @java.lang.Override @@ -1353,26 +1179,19 @@ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return The nodePoolSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getNodePoolSoakDuration() { - return nodePoolSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; } /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
@@ -1382,13 +1201,10 @@ public com.google.protobuf.Duration getNodePoolSoakDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() {
-    return nodePoolSoakDuration_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : nodePoolSoakDuration_;
+    return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1400,10 +1216,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (rolloutPolicyCase_ == 1) {
-      output.writeMessage(
-          1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
+      output.writeMessage(1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getNodePoolSoakDuration());
@@ -1418,13 +1234,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (rolloutPolicyCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNodePoolSoakDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getNodePoolSoakDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1434,22 +1249,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.BlueGreenSettings)) {
       return super.equals(obj);
     }
-    com.google.container.v1.BlueGreenSettings other =
-        (com.google.container.v1.BlueGreenSettings) obj;
+    com.google.container.v1.BlueGreenSettings other = (com.google.container.v1.BlueGreenSettings) obj;
 
     if (hasNodePoolSoakDuration() != other.hasNodePoolSoakDuration()) return false;
     if (hasNodePoolSoakDuration()) {
-      if (!getNodePoolSoakDuration().equals(other.getNodePoolSoakDuration())) return false;
+      if (!getNodePoolSoakDuration()
+          .equals(other.getNodePoolSoakDuration())) return false;
     }
     if (!getRolloutPolicyCase().equals(other.getRolloutPolicyCase())) return false;
     switch (rolloutPolicyCase_) {
       case 1:
-        if (!getStandardRolloutPolicy().equals(other.getStandardRolloutPolicy())) return false;
+        if (!getStandardRolloutPolicy()
+            .equals(other.getStandardRolloutPolicy())) return false;
         break;
       case 0:
       default:
@@ -1482,127 +1298,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.BlueGreenSettings parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.BlueGreenSettings parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.BlueGreenSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseFrom(
       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.BlueGreenSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1.BlueGreenSettings parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1.BlueGreenSettings parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.BlueGreenSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.BlueGreenSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Settings for blue-green upgrade.
    * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.BlueGreenSettings) com.google.container.v1.BlueGreenSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.class, - com.google.container.v1.BlueGreenSettings.Builder.class); + com.google.container.v1.BlueGreenSettings.class, com.google.container.v1.BlueGreenSettings.Builder.class); } // Construct using com.google.container.v1.BlueGreenSettings.newBuilder() @@ -1610,17 +1417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNodePoolSoakDurationFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1639,9 +1446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_BlueGreenSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_descriptor; } @java.lang.Override @@ -1660,8 +1467,7 @@ public com.google.container.v1.BlueGreenSettings build() { @java.lang.Override public com.google.container.v1.BlueGreenSettings buildPartial() { - com.google.container.v1.BlueGreenSettings result = - new com.google.container.v1.BlueGreenSettings(this); + com.google.container.v1.BlueGreenSettings result = new com.google.container.v1.BlueGreenSettings(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (rolloutPolicyCase_ == 1) { @@ -1689,39 +1495,38 @@ public com.google.container.v1.BlueGreenSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.BlueGreenSettings) { - return mergeFrom((com.google.container.v1.BlueGreenSettings) other); + return mergeFrom((com.google.container.v1.BlueGreenSettings)other); } else { super.mergeFrom(other); return this; @@ -1734,15 +1539,13 @@ public Builder mergeFrom(com.google.container.v1.BlueGreenSettings other) { mergeNodePoolSoakDuration(other.getNodePoolSoakDuration()); } switch (other.getRolloutPolicyCase()) { - case STANDARD_ROLLOUT_POLICY: - { - mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); - break; - } - case ROLLOUTPOLICY_NOT_SET: - { - break; - } + case STANDARD_ROLLOUT_POLICY: { + mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); + break; + } + case ROLLOUTPOLICY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1770,27 +1573,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getStandardRolloutPolicyFieldBuilder().getBuilder(), extensionRegistry); - rolloutPolicyCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getNodePoolSoakDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStandardRolloutPolicyFieldBuilder().getBuilder(), + extensionRegistry); + rolloutPolicyCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getNodePoolSoakDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1800,12 +1602,12 @@ public Builder mergeFrom( } // finally return this; } - private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; - - public RolloutPolicyCase getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + public RolloutPolicyCase + getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber( + rolloutPolicyCase_); } public Builder clearRolloutPolicy() { @@ -1818,21 +1620,13 @@ public Builder clearRolloutPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> - standardRolloutPolicyBuilder_; + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> standardRolloutPolicyBuilder_; /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1840,21 +1634,15 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - getStandardRolloutPolicy() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { if (rolloutPolicyCase_ == 1) { return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; @@ -1868,18 +1656,13 @@ public boolean hasStandardRolloutPolicy() { } } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - public Builder setStandardRolloutPolicy( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder setStandardRolloutPolicy(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1893,15 +1676,11 @@ public Builder setStandardRolloutPolicy( return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ public Builder setStandardRolloutPolicy( com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder builderForValue) { @@ -1915,29 +1694,18 @@ public Builder setStandardRolloutPolicy( return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - public Builder mergeStandardRolloutPolicy( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder mergeStandardRolloutPolicy(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { - if (rolloutPolicyCase_ == 1 - && rolloutPolicy_ - != com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance()) { - rolloutPolicy_ = - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder( - (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) - rolloutPolicy_) - .mergeFrom(value) - .buildPartial(); + if (rolloutPolicyCase_ == 1 && + rolloutPolicy_ != com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) { + rolloutPolicy_ = com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_) + .mergeFrom(value).buildPartial(); } else { rolloutPolicy_ = value; } @@ -1953,15 +1721,11 @@ public Builder mergeStandardRolloutPolicy( return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ public Builder clearStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { @@ -1980,34 +1744,24 @@ public Builder clearStandardRolloutPolicy() { return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder - getStandardRolloutPolicyBuilder() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder() { return getStandardRolloutPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder - getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { if ((rolloutPolicyCase_ == 1) && (standardRolloutPolicyBuilder_ != null)) { return standardRolloutPolicyBuilder_.getMessageOrBuilder(); } else { @@ -2018,87 +1772,63 @@ public Builder clearStandardRolloutPolicy() { } } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> getStandardRolloutPolicyFieldBuilder() { if (standardRolloutPolicyBuilder_ == null) { if (!(rolloutPolicyCase_ == 1)) { - rolloutPolicy_ = - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + rolloutPolicy_ = com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } - standardRolloutPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( + standardRolloutPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_, getParentForChildren(), isClean()); rolloutPolicy_ = null; } rolloutPolicyCase_ = 1; - onChanged(); - ; + onChanged();; return standardRolloutPolicyBuilder_; } private com.google.protobuf.Duration nodePoolSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - nodePoolSoakDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> nodePoolSoakDurationBuilder_; /** - * - * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return Whether the nodePoolSoakDuration field is set. */ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return The nodePoolSoakDuration. */ public com.google.protobuf.Duration getNodePoolSoakDuration() { if (nodePoolSoakDurationBuilder_ == null) { - return nodePoolSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; } else { return nodePoolSoakDurationBuilder_.getMessage(); } } /** - * - * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2120,8 +1850,6 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2129,7 +1857,8 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
      *
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
-    public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setNodePoolSoakDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (nodePoolSoakDurationBuilder_ == null) {
         nodePoolSoakDuration_ = builderForValue.build();
         onChanged();
@@ -2140,8 +1869,6 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2151,13 +1878,11 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder buil
      */
     public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       if (nodePoolSoakDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && nodePoolSoakDuration_ != null
-            && nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+            nodePoolSoakDuration_ != null &&
+            nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           nodePoolSoakDuration_ =
-              com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_).mergeFrom(value).buildPartial();
         } else {
           nodePoolSoakDuration_ = value;
         }
@@ -2169,8 +1894,6 @@ public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2189,8 +1912,6 @@ public Builder clearNodePoolSoakDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2204,8 +1925,6 @@ public com.google.protobuf.Duration.Builder getNodePoolSoakDurationBuilder() {
       return getNodePoolSoakDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2217,14 +1936,11 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
       if (nodePoolSoakDurationBuilder_ != null) {
         return nodePoolSoakDurationBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolSoakDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : nodePoolSoakDuration_;
+        return nodePoolSoakDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2233,24 +1949,21 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getNodePoolSoakDurationFieldBuilder() {
       if (nodePoolSoakDurationBuilder_ == null) {
-        nodePoolSoakDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getNodePoolSoakDuration(), getParentForChildren(), isClean());
+        nodePoolSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getNodePoolSoakDuration(),
+                getParentForChildren(),
+                isClean());
         nodePoolSoakDuration_ = null;
       }
       return nodePoolSoakDurationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2260,12 +1973,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.BlueGreenSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.BlueGreenSettings)
   private static final com.google.container.v1.BlueGreenSettings DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.BlueGreenSettings();
   }
@@ -2274,27 +1987,27 @@ public static com.google.container.v1.BlueGreenSettings getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BlueGreenSettings parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BlueGreenSettings parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2309,4 +2022,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.BlueGreenSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
similarity index 69%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
index 486ad17f4e63..dbb224c08e31 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
@@ -1,96 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
 
 package com.google.container.v1;
 
-public interface BlueGreenSettingsOrBuilder
-    extends
+public interface BlueGreenSettingsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.BlueGreenSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return Whether the standardRolloutPolicy field is set. */ boolean hasStandardRolloutPolicy(); /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return The standardRolloutPolicy. */ com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy(); /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder - getStandardRolloutPolicyOrBuilder(); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder(); /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return Whether the nodePoolSoakDuration field is set. */ boolean hasNodePoolSoakDuration(); /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return The nodePoolSoakDuration. */ com.google.protobuf.Duration getNodePoolSoakDuration(); /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java
similarity index 68%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java
index abd329b72c4e..37ca3ec196b5 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * CancelOperationRequest cancels a single operation.
  * 
* * Protobuf type {@code google.container.v1.CancelOperationRequest} */ -public final class CancelOperationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelOperationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.CancelOperationRequest) CancelOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelOperationRequest.newBuilder() to construct. private CancelOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelOperationRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private CancelOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CancelOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CancelOperationRequest.class, - com.google.container.v1.CancelOperationRequest.Builder.class); + com.google.container.v1.CancelOperationRequest.class, com.google.container.v1.CancelOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -250,15 +216,12 @@ public com.google.protobuf.ByteString getOperationIdBytes() { public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The name. */ @java.lang.Override @@ -267,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -299,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -353,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CancelOperationRequest)) { return super.equals(obj); } - com.google.container.v1.CancelOperationRequest other = - (com.google.container.v1.CancelOperationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getOperationId().equals(other.getOperationId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.CancelOperationRequest other = (com.google.container.v1.CancelOperationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getOperationId() + .equals(other.getOperationId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,136 +355,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CancelOperationRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.CancelOperationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CancelOperationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CancelOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CancelOperationRequest parseFrom( 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.CancelOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CancelOperationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.CancelOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CancelOperationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.CancelOperationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.CancelOperationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.CancelOperationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CancelOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CancelOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.CancelOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CancelOperationRequest cancels a single operation.
    * 
* * Protobuf type {@code google.container.v1.CancelOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.CancelOperationRequest) com.google.container.v1.CancelOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CancelOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CancelOperationRequest.class, - com.google.container.v1.CancelOperationRequest.Builder.class); + com.google.container.v1.CancelOperationRequest.class, com.google.container.v1.CancelOperationRequest.Builder.class); } // Construct using com.google.container.v1.CancelOperationRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CancelOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_descriptor; } @java.lang.Override @@ -555,8 +515,7 @@ public com.google.container.v1.CancelOperationRequest build() { @java.lang.Override public com.google.container.v1.CancelOperationRequest buildPartial() { - com.google.container.v1.CancelOperationRequest result = - new com.google.container.v1.CancelOperationRequest(this); + com.google.container.v1.CancelOperationRequest result = new com.google.container.v1.CancelOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -569,39 +528,38 @@ public com.google.container.v1.CancelOperationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CancelOperationRequest) { - return mergeFrom((com.google.container.v1.CancelOperationRequest) other); + return mergeFrom((com.google.container.v1.CancelOperationRequest)other); } else { super.mergeFrom(other); return this; @@ -652,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -695,8 +648,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,16 +655,15 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -722,8 +672,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -731,17 +679,17 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -749,8 +697,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -758,25 +704,22 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -784,21 +727,17 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -806,19 +745,18 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -826,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -836,16 +772,15 @@ 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=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -854,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -864,17 +797,17 @@ 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=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -882,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -892,25 +823,22 @@ 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=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -919,21 +847,17 @@ 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=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -942,19 +866,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,24 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object operationId_ = ""; /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @return The operationId. */ - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -988,25 +908,23 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @return The bytes for operationId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -1014,73 +932,63 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationId(java.lang.String value) { + @java.lang.Deprecated public Builder setOperationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearOperationId() { - + @java.lang.Deprecated public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -1088,21 +996,19 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1111,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1134,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1208,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.CancelOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CancelOperationRequest) private static final com.google.container.v1.CancelOperationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.CancelOperationRequest(); } @@ -1222,27 +1120,27 @@ public static com.google.container.v1.CancelOperationRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CancelOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index 3e9d605384d0..c50ecda6ab83 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CancelOperationRequestOrBuilder - extends +public interface CancelOperationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.CancelOperationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2634 + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2634 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface CancelOperationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,71 +58,58 @@ public interface CancelOperationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2640 + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2640 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @return The operationId. */ - @java.lang.Deprecated - java.lang.String getOperationId(); + @java.lang.Deprecated java.lang.String getOperationId(); /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2644 + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2644 * @return The bytes for operationId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getOperationIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getOperationIdBytes(); /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java index 812e0924e960..2027fd6427d7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for client certificates on the cluster.
  * 
* * Protobuf type {@code google.container.v1.ClientCertificateConfig} */ -public final class ClientCertificateConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ClientCertificateConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ClientCertificateConfig) ClientCertificateConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ClientCertificateConfig.newBuilder() to construct. private ClientCertificateConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClientCertificateConfig() {} + private ClientCertificateConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClientCertificateConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ClientCertificateConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ClientCertificateConfig.class, - com.google.container.v1.ClientCertificateConfig.Builder.class); + com.google.container.v1.ClientCertificateConfig.class, com.google.container.v1.ClientCertificateConfig.Builder.class); } public static final int ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER = 1; private boolean issueClientCertificate_; /** - * - * *
    * Issue a client certificate.
    * 
* * bool issue_client_certificate = 1; - * * @return The issueClientCertificate. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getIssueClientCertificate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (issueClientCertificate_ != false) { output.writeBool(1, issueClientCertificate_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (issueClientCertificate_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, issueClientCertificate_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, issueClientCertificate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ClientCertificateConfig)) { return super.equals(obj); } - com.google.container.v1.ClientCertificateConfig other = - (com.google.container.v1.ClientCertificateConfig) obj; + com.google.container.v1.ClientCertificateConfig other = (com.google.container.v1.ClientCertificateConfig) obj; - if (getIssueClientCertificate() != other.getIssueClientCertificate()) return false; + if (getIssueClientCertificate() + != other.getIssueClientCertificate()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIssueClientCertificate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIssueClientCertificate()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ClientCertificateConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ClientCertificateConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClientCertificateConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClientCertificateConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClientCertificateConfig parseFrom( 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.ClientCertificateConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClientCertificateConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ClientCertificateConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ClientCertificateConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ClientCertificateConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ClientCertificateConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ClientCertificateConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ClientCertificateConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ClientCertificateConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ClientCertificateConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for client certificates on the cluster.
    * 
* * Protobuf type {@code google.container.v1.ClientCertificateConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ClientCertificateConfig) com.google.container.v1.ClientCertificateConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ClientCertificateConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ClientCertificateConfig.class, - com.google.container.v1.ClientCertificateConfig.Builder.class); + com.google.container.v1.ClientCertificateConfig.class, com.google.container.v1.ClientCertificateConfig.Builder.class); } // Construct using com.google.container.v1.ClientCertificateConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ClientCertificateConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.ClientCertificateConfig build() { @java.lang.Override public com.google.container.v1.ClientCertificateConfig buildPartial() { - com.google.container.v1.ClientCertificateConfig result = - new com.google.container.v1.ClientCertificateConfig(this); + com.google.container.v1.ClientCertificateConfig result = new com.google.container.v1.ClientCertificateConfig(this); result.issueClientCertificate_ = issueClientCertificate_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.ClientCertificateConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ClientCertificateConfig) { - return mergeFrom((com.google.container.v1.ClientCertificateConfig) other); + return mergeFrom((com.google.container.v1.ClientCertificateConfig)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ClientCertificateConfig other) { - if (other == com.google.container.v1.ClientCertificateConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.ClientCertificateConfig.getDefaultInstance()) return this; if (other.getIssueClientCertificate() != false) { setIssueClientCertificate(other.getIssueClientCertificate()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - issueClientCertificate_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + issueClientCertificate_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean issueClientCertificate_; + private boolean issueClientCertificate_ ; /** - * - * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; - * * @return The issueClientCertificate. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getIssueClientCertificate() { return issueClientCertificate_; } /** - * - * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; - * * @param value The issueClientCertificate to set. * @return This builder for chaining. */ public Builder setIssueClientCertificate(boolean value) { - + issueClientCertificate_ = value; onChanged(); return this; } /** - * - * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; - * * @return This builder for chaining. */ public Builder clearIssueClientCertificate() { - + issueClientCertificate_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ClientCertificateConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ClientCertificateConfig) private static final com.google.container.v1.ClientCertificateConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ClientCertificateConfig(); } @@ -489,27 +450,27 @@ public static com.google.container.v1.ClientCertificateConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientCertificateConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientCertificateConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ClientCertificateConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java new file mode 100644 index 000000000000..fd8b4826c1a8 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ClientCertificateConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ClientCertificateConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Issue a client certificate.
+   * 
+ * + * bool issue_client_certificate = 1; + * @return The issueClientCertificate. + */ + boolean getIssueClientCertificate(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java index d29c5c085499..68ca6778d7aa 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration options for the Cloud Run feature.
  * 
* * Protobuf type {@code google.container.v1.CloudRunConfig} */ -public final class CloudRunConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudRunConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.CloudRunConfig) CloudRunConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudRunConfig.newBuilder() to construct. private CloudRunConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudRunConfig() { loadBalancerType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudRunConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CloudRunConfig.class, - com.google.container.v1.CloudRunConfig.Builder.class); + com.google.container.v1.CloudRunConfig.class, com.google.container.v1.CloudRunConfig.Builder.class); } /** - * - * *
    * Load balancer type of ingress service of Cloud Run.
    * 
* * Protobuf enum {@code google.container.v1.CloudRunConfig.LoadBalancerType} */ - public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -88,8 +66,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Install external load balancer for Cloud Run.
      * 
@@ -98,8 +74,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ LOAD_BALANCER_TYPE_EXTERNAL(1), /** - * - * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -111,8 +85,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -121,8 +93,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Install external load balancer for Cloud Run.
      * 
@@ -131,8 +101,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_EXTERNAL_VALUE = 1; /** - * - * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -141,6 +109,7 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_INTERNAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,42 +134,39 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: - return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: - return LOAD_BALANCER_TYPE_EXTERNAL; - case 2: - return LOAD_BALANCER_TYPE_INTERNAL; - default: - return null; + case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: return LOAD_BALANCER_TYPE_EXTERNAL; + case 2: return LOAD_BALANCER_TYPE_INTERNAL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LoadBalancerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.CloudRunConfig.getDescriptor().getEnumTypes().get(0); } @@ -209,7 +175,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LoadBalancerType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -229,14 +196,11 @@ private LoadBalancerType(int value) { public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** - * - * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -247,43 +211,31 @@ public boolean getDisabled() { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 3; private int loadBalancerType_; /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The loadBalancerType. */ - @java.lang.Override - public com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { + @java.lang.Override public com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1.CloudRunConfig.LoadBalancerType result = - com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null - ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED - : result; + com.google.container.v1.CloudRunConfig.LoadBalancerType result = com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,13 +247,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } - if (loadBalancerType_ - != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { + if (loadBalancerType_ != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, loadBalancerType_); } getUnknownFields().writeTo(output); @@ -314,12 +265,12 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } - if (loadBalancerType_ - != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, loadBalancerType_); + if (loadBalancerType_ != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, loadBalancerType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -329,14 +280,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CloudRunConfig)) { return super.equals(obj); } com.google.container.v1.CloudRunConfig other = (com.google.container.v1.CloudRunConfig) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (loadBalancerType_ != other.loadBalancerType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -350,7 +302,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (37 * hash) + LOAD_BALANCER_TYPE_FIELD_NUMBER; hash = (53 * hash) + loadBalancerType_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -358,136 +311,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CloudRunConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.CloudRunConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CloudRunConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CloudRunConfig parseFrom( 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.CloudRunConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CloudRunConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.CloudRunConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CloudRunConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CloudRunConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.CloudRunConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CloudRunConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CloudRunConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.CloudRunConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the Cloud Run feature.
    * 
* * Protobuf type {@code google.container.v1.CloudRunConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.CloudRunConfig) com.google.container.v1.CloudRunConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CloudRunConfig.class, - com.google.container.v1.CloudRunConfig.Builder.class); + com.google.container.v1.CloudRunConfig.class, com.google.container.v1.CloudRunConfig.Builder.class); } // Construct using com.google.container.v1.CloudRunConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -499,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CloudRunConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_descriptor; } @java.lang.Override @@ -520,8 +467,7 @@ public com.google.container.v1.CloudRunConfig build() { @java.lang.Override public com.google.container.v1.CloudRunConfig buildPartial() { - com.google.container.v1.CloudRunConfig result = - new com.google.container.v1.CloudRunConfig(this); + com.google.container.v1.CloudRunConfig result = new com.google.container.v1.CloudRunConfig(this); result.disabled_ = disabled_; result.loadBalancerType_ = loadBalancerType_; onBuilt(); @@ -532,39 +478,38 @@ public com.google.container.v1.CloudRunConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CloudRunConfig) { - return mergeFrom((com.google.container.v1.CloudRunConfig) other); + return mergeFrom((com.google.container.v1.CloudRunConfig)other); } else { super.mergeFrom(other); return this; @@ -605,25 +550,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disabled_ = input.readBool(); - - break; - } // case 8 - case 24: - { - loadBalancerType_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disabled_ = input.readBool(); + + break; + } // case 8 + case 24: { + loadBalancerType_ = input.readEnum(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -634,16 +576,13 @@ public Builder mergeFrom( return this; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -651,36 +590,30 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; @@ -688,100 +621,80 @@ public Builder clearDisabled() { private int loadBalancerType_ = 0; /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ public Builder setLoadBalancerTypeValue(int value) { - + loadBalancerType_ = value; onChanged(); return this; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The loadBalancerType. */ @java.lang.Override public com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1.CloudRunConfig.LoadBalancerType result = - com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null - ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED - : result; + com.google.container.v1.CloudRunConfig.LoadBalancerType result = com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType( - com.google.container.v1.CloudRunConfig.LoadBalancerType value) { + public Builder setLoadBalancerType(com.google.container.v1.CloudRunConfig.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } - + loadBalancerType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return This builder for chaining. */ public Builder clearLoadBalancerType() { - + loadBalancerType_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -791,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.CloudRunConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.CloudRunConfig) private static final com.google.container.v1.CloudRunConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.CloudRunConfig(); } @@ -805,27 +718,27 @@ public static com.google.container.v1.CloudRunConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CloudRunConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java index 7a70eb9844ca..d12a13c53e46 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface CloudRunConfigOrBuilder - extends +public interface CloudRunConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.CloudRunConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The loadBalancerType. */ com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java similarity index 77% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index 81d6dd60602a..a0042a1dc047 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * A Google Kubernetes Engine cluster.
  * 
* * Protobuf type {@code google.container.v1.Cluster} */ -public final class Cluster extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cluster extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.Cluster) ClusterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cluster.newBuilder() to construct. private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cluster() { name_ = ""; description_ = ""; @@ -68,53 +50,51 @@ private Cluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Cluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Cluster_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Cluster.class, com.google.container.v1.Cluster.Builder.class); } /** - * - * *
    * The current status of the cluster.
    * 
* * Protobuf enum {@code google.container.v1.Cluster.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -123,8 +103,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -133,8 +111,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -144,8 +120,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -156,8 +130,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(3),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -166,8 +138,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the cluster is unusable. It will be
      * automatically deleted. Details can be found in the `statusMessage` field.
@@ -177,8 +147,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -191,8 +159,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -201,8 +167,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -211,8 +175,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -222,8 +184,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -234,8 +194,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECONCILING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -244,8 +202,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 4; /** - * - * *
      * The ERROR state indicates the cluster is unusable. It will be
      * automatically deleted. Details can be found in the `statusMessage` field.
@@ -255,8 +211,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 5;
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -266,6 +220,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEGRADED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -290,57 +245,53 @@ public static Status valueOf(int 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 RECONCILING;
-        case 4:
-          return STOPPING;
-        case 5:
-          return ERROR;
-        case 6:
-          return DEGRADED;
-        default:
-          return null;
+        case 0: return STATUS_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RECONCILING;
+        case 4: return STOPPING;
+        case 5: return ERROR;
+        case 6: return DEGRADED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Status> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Status findValueByNumber(int number) {
+              return Status.forNumber(number);
+            }
+          };
 
-    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() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.Cluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -361,8 +312,6 @@ private Status(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -373,7 +322,6 @@ private Status(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -382,15 +330,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -401,15 +348,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -420,14 +368,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -436,29 +381,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -469,8 +414,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** - * - * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -484,22 +427,18 @@ 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=1466 + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1466 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getInitialNodeCount() { + @java.lang.Deprecated public int getInitialNodeCount() { return initialNodeCount_; } public static final int NODE_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1.NodeConfig nodeConfig_; /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -514,19 +453,15 @@ 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=1479 + * @deprecated google.container.v1.Cluster.node_config is deprecated. + * See google/container/v1/cluster_service.proto;l=1479 * @return Whether the nodeConfig field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasNodeConfig() { + @java.lang.Deprecated public boolean hasNodeConfig() { return nodeConfig_ != null; } /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -541,21 +476,15 @@ 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=1479 + * @deprecated google.container.v1.Cluster.node_config is deprecated. + * See google/container/v1/cluster_service.proto;l=1479 * @return The nodeConfig. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.NodeConfig getNodeConfig() { - return nodeConfig_ == null - ? com.google.container.v1.NodeConfig.getDefaultInstance() - : nodeConfig_; + @java.lang.Deprecated public com.google.container.v1.NodeConfig getNodeConfig() { + return nodeConfig_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : nodeConfig_; } /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -572,16 +501,13 @@ public com.google.container.v1.NodeConfig getNodeConfig() {
    * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+  @java.lang.Deprecated public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
     return getNodeConfig();
   }
 
   public static final int MASTER_AUTH_FIELD_NUMBER = 5;
   private com.google.container.v1.MasterAuth masterAuth_;
   /**
-   *
-   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -591,7 +517,6 @@ public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
    * 
* * .google.container.v1.MasterAuth master_auth = 5; - * * @return Whether the masterAuth field is set. */ @java.lang.Override @@ -599,8 +524,6 @@ public boolean hasMasterAuth() { return masterAuth_ != null; } /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -610,18 +533,13 @@ public boolean hasMasterAuth() {
    * 
* * .google.container.v1.MasterAuth master_auth = 5; - * * @return The masterAuth. */ @java.lang.Override public com.google.container.v1.MasterAuth getMasterAuth() { - return masterAuth_ == null - ? com.google.container.v1.MasterAuth.getDefaultInstance() - : masterAuth_; + return masterAuth_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : masterAuth_; } /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -640,8 +558,6 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
   public static final int LOGGING_SERVICE_FIELD_NUMBER = 6;
   private volatile java.lang.Object loggingService_;
   /**
-   *
-   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -655,7 +571,6 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
    * 
* * string logging_service = 6; - * * @return The loggingService. */ @java.lang.Override @@ -664,15 +579,14 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -686,15 +600,16 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 6; - * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -705,8 +620,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { public static final int MONITORING_SERVICE_FIELD_NUMBER = 7; private volatile java.lang.Object monitoringService_; /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -720,7 +633,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() {
    * 
* * string monitoring_service = 7; - * * @return The monitoringService. */ @java.lang.Override @@ -729,15 +641,14 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -751,15 +662,16 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 7; - * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -770,8 +682,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { public static final int NETWORK_FIELD_NUMBER = 8; private volatile java.lang.Object network_; /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -780,7 +690,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() {
    * 
* * string network = 8; - * * @return The network. */ @java.lang.Override @@ -789,15 +698,14 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -806,15 +714,16 @@ public java.lang.String getNetwork() {
    * 
* * string network = 8; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -825,8 +734,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4Cidr_; /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -835,7 +742,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -844,15 +750,14 @@ public java.lang.String getClusterIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -861,15 +766,16 @@ public java.lang.String getClusterIpv4Cidr() {
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -880,14 +786,11 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { public static final int ADDONS_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1.AddonsConfig addonsConfig_; /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; - * * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -895,25 +798,18 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; - * * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -928,8 +824,6 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() public static final int SUBNETWORK_FIELD_NUMBER = 11; private volatile java.lang.Object subnetwork_; /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -937,7 +831,6 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder()
    * 
* * string subnetwork = 11; - * * @return The subnetwork. */ @java.lang.Override @@ -946,15 +839,14 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -962,15 +854,16 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 11; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -981,8 +874,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int NODE_POOLS_FIELD_NUMBER = 12; private java.util.List nodePools_; /** - * - * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -996,8 +887,6 @@ public java.util.List getNodePoolsList() {
     return nodePools_;
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1007,13 +896,11 @@ public java.util.List getNodePoolsList() {
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getNodePoolsOrBuilderList() {
     return nodePools_;
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1027,8 +914,6 @@ public int getNodePoolsCount() {
     return nodePools_.size();
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1042,8 +927,6 @@ public com.google.container.v1.NodePool getNodePools(int index) {
     return nodePools_.get(index);
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1053,15 +936,14 @@ public com.google.container.v1.NodePool getNodePools(int index) {
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
+  public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
+      int index) {
     return nodePools_.get(index);
   }
 
   public static final int LOCATIONS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList locations_;
   /**
-   *
-   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1075,15 +957,13 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1097,15 +977,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1119,7 +996,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1127,8 +1003,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1142,19 +1016,17 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER = 14; private boolean enableKubernetesAlpha_; /** - * - * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -1165,7 +1037,6 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
    * 
* * bool enable_kubernetes_alpha = 14; - * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -1174,22 +1045,21 @@ public boolean getEnableKubernetesAlpha() { } public static final int RESOURCE_LABELS_FIELD_NUMBER = 15; - private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField resourceLabels_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1201,8 +1071,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1210,22 +1078,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 15;
    */
+
   @java.lang.Override
-  public boolean containsResourceLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsResourceLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1234,12 +1102,11 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
+
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1248,17 +1115,16 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
+
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1267,11 +1133,12 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+
+  public java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1281,14 +1148,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
   public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 16;
   private volatile java.lang.Object labelFingerprint_;
   /**
-   *
-   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The labelFingerprint. */ @java.lang.Override @@ -1297,29 +1161,29 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** - * - * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1330,14 +1194,11 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { public static final int LEGACY_ABAC_FIELD_NUMBER = 18; private com.google.container.v1.LegacyAbac legacyAbac_; /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; - * * @return Whether the legacyAbac field is set. */ @java.lang.Override @@ -1345,25 +1206,18 @@ public boolean hasLegacyAbac() { return legacyAbac_ != null; } /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; - * * @return The legacyAbac. */ @java.lang.Override public com.google.container.v1.LegacyAbac getLegacyAbac() { - return legacyAbac_ == null - ? com.google.container.v1.LegacyAbac.getDefaultInstance() - : legacyAbac_; + return legacyAbac_ == null ? com.google.container.v1.LegacyAbac.getDefaultInstance() : legacyAbac_; } /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -1378,14 +1232,11 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { public static final int NETWORK_POLICY_FIELD_NUMBER = 19; private com.google.container.v1.NetworkPolicy networkPolicy_; /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; - * * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -1393,25 +1244,18 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; - * * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null - ? com.google.container.v1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -1426,14 +1270,11 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 20; private com.google.container.v1.IPAllocationPolicy ipAllocationPolicy_; /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -1441,25 +1282,18 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return The ipAllocationPolicy. */ @java.lang.Override public com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy() { - return ipAllocationPolicy_ == null - ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } /** - * - * *
    * Configuration for cluster IP allocation.
    * 
@@ -1474,16 +1308,11 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -1491,53 +1320,37 @@ public boolean hasMasterAuthorizedNetworksConfig() { return masterAuthorizedNetworksConfig_ != null; } /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return The masterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig - getMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfig_ == null - ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : masterAuthorizedNetworksConfig_; + public com.google.container.v1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { + return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; } /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder - getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { return getMasterAuthorizedNetworksConfig(); } public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 23; private com.google.container.v1.MaintenancePolicy maintenancePolicy_; /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; - * * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -1545,25 +1358,18 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; - * * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null - ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -1578,14 +1384,11 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 24; private com.google.container.v1.BinaryAuthorization binaryAuthorization_; /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; - * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -1593,25 +1396,18 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; - * * @return The binaryAuthorization. */ @java.lang.Override public com.google.container.v1.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null - ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } /** - * - * *
    * Configuration for Binary Authorization.
    * 
@@ -1626,14 +1422,11 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati public static final int AUTOSCALING_FIELD_NUMBER = 26; private com.google.container.v1.ClusterAutoscaling autoscaling_; /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; - * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -1641,25 +1434,18 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; - * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1.ClusterAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -1674,14 +1460,11 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild public static final int NETWORK_CONFIG_FIELD_NUMBER = 27; private com.google.container.v1.NetworkConfig networkConfig_; /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; - * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1689,25 +1472,18 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; - * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.container.v1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1.NetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * *
    * Configuration for cluster networking.
    * 
@@ -1722,8 +1498,6 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( public static final int DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER = 30; private com.google.container.v1.MaxPodsConstraint defaultMaxPodsConstraint_; /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1731,7 +1505,6 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return Whether the defaultMaxPodsConstraint field is set. */ @java.lang.Override @@ -1739,8 +1512,6 @@ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraint_ != null; } /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1748,18 +1519,13 @@ public boolean hasDefaultMaxPodsConstraint() {
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return The defaultMaxPodsConstraint. */ @java.lang.Override public com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint() { - return defaultMaxPodsConstraint_ == null - ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() - : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; } /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1776,15 +1542,12 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConst
   public static final int RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 33;
   private com.google.container.v1.ResourceUsageExportConfig resourceUsageExportConfig_;
   /**
-   *
-   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * * @return Whether the resourceUsageExportConfig field is set. */ @java.lang.Override @@ -1792,26 +1555,19 @@ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfig_ != null; } /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * * @return The resourceUsageExportConfig. */ @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportConfig() { - return resourceUsageExportConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() - : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; } /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
@@ -1820,22 +1576,18 @@ public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportC
    * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;
    */
   @java.lang.Override
-  public com.google.container.v1.ResourceUsageExportConfigOrBuilder
-      getResourceUsageExportConfigOrBuilder() {
+  public com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() {
     return getResourceUsageExportConfig();
   }
 
   public static final int AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 34;
   private com.google.container.v1.AuthenticatorGroupsConfig authenticatorGroupsConfig_;
   /**
-   *
-   *
    * 
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * * @return Whether the authenticatorGroupsConfig field is set. */ @java.lang.Override @@ -1843,25 +1595,18 @@ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfig_ != null; } /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * * @return The authenticatorGroupsConfig. */ @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { - return authenticatorGroupsConfig_ == null - ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() - : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; } /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
@@ -1869,22 +1614,18 @@ public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsC * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ @java.lang.Override - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder - getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { return getAuthenticatorGroupsConfig(); } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 37; private com.google.container.v1.PrivateClusterConfig privateClusterConfig_; /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; - * * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -1892,25 +1633,18 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; - * * @return The privateClusterConfig. */ @java.lang.Override public com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig() { - return privateClusterConfig_ == null - ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } /** - * - * *
    * Configuration for private cluster.
    * 
@@ -1925,14 +1659,11 @@ public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterCo public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 38; private com.google.container.v1.DatabaseEncryption databaseEncryption_; /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; - * * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -1940,25 +1671,18 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; - * * @return The databaseEncryption. */ @java.lang.Override public com.google.container.v1.DatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null - ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; } /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -1973,14 +1697,11 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption public static final int VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 39; private com.google.container.v1.VerticalPodAutoscaling verticalPodAutoscaling_; /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return Whether the verticalPodAutoscaling field is set. */ @java.lang.Override @@ -1988,25 +1709,18 @@ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscaling_ != null; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return The verticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling() { - return verticalPodAutoscaling_ == null - ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() - : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -2014,22 +1728,18 @@ public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling( * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ @java.lang.Override - public com.google.container.v1.VerticalPodAutoscalingOrBuilder - getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { return getVerticalPodAutoscaling(); } public static final int SHIELDED_NODES_FIELD_NUMBER = 40; private com.google.container.v1.ShieldedNodes shieldedNodes_; /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; - * * @return Whether the shieldedNodes field is set. */ @java.lang.Override @@ -2037,25 +1747,18 @@ public boolean hasShieldedNodes() { return shieldedNodes_ != null; } /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; - * * @return The shieldedNodes. */ @java.lang.Override public com.google.container.v1.ShieldedNodes getShieldedNodes() { - return shieldedNodes_ == null - ? com.google.container.v1.ShieldedNodes.getDefaultInstance() - : shieldedNodes_; + return shieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; } /** - * - * *
    * Shielded Nodes configuration.
    * 
@@ -2070,14 +1773,11 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( public static final int RELEASE_CHANNEL_FIELD_NUMBER = 41; private com.google.container.v1.ReleaseChannel releaseChannel_; /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; - * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -2085,25 +1785,18 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; - * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } /** - * - * *
    * Release channel configuration.
    * 
@@ -2118,15 +1811,12 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 43; private com.google.container.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -2134,26 +1824,19 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null - ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -2162,23 +1845,19 @@ public com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(
    * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
    */
   @java.lang.Override
-  public com.google.container.v1.WorkloadIdentityConfigOrBuilder
-      getWorkloadIdentityConfigOrBuilder() {
+  public com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
     return getWorkloadIdentityConfig();
   }
 
   public static final int MESH_CERTIFICATES_FIELD_NUMBER = 67;
   private com.google.container.v1.MeshCertificates meshCertificates_;
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; - * * @return Whether the meshCertificates field is set. */ @java.lang.Override @@ -2186,26 +1865,19 @@ public boolean hasMeshCertificates() { return meshCertificates_ != null; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; - * * @return The meshCertificates. */ @java.lang.Override public com.google.container.v1.MeshCertificates getMeshCertificates() { - return meshCertificates_ == null - ? com.google.container.v1.MeshCertificates.getDefaultInstance() - : meshCertificates_; + return meshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : meshCertificates_; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -2221,14 +1893,11 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
   public static final int COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 45;
   private com.google.container.v1.CostManagementConfig costManagementConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; - * * @return Whether the costManagementConfig field is set. */ @java.lang.Override @@ -2236,25 +1905,18 @@ public boolean hasCostManagementConfig() { return costManagementConfig_ != null; } /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; - * * @return The costManagementConfig. */ @java.lang.Override public com.google.container.v1.CostManagementConfig getCostManagementConfig() { - return costManagementConfig_ == null - ? com.google.container.v1.CostManagementConfig.getDefaultInstance() - : costManagementConfig_; + return costManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; } /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -2269,14 +1931,11 @@ public com.google.container.v1.CostManagementConfigOrBuilder getCostManagementCo public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1.NotificationConfig notificationConfig_; /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; - * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -2284,25 +1943,18 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; - * * @return The notificationConfig. */ @java.lang.Override public com.google.container.v1.NotificationConfig getNotificationConfig() { - return notificationConfig_ == null - ? com.google.container.v1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; } /** - * - * *
    * Notification configuration of the cluster.
    * 
@@ -2317,15 +1969,12 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 50; private com.google.container.v1.ConfidentialNodes confidentialNodes_; /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; - * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -2333,26 +1982,19 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; - * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null - ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -2368,14 +2010,11 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
   public static final int IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 54;
   private com.google.container.v1.IdentityServiceConfig identityServiceConfig_;
   /**
-   *
-   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; - * * @return Whether the identityServiceConfig field is set. */ @java.lang.Override @@ -2383,25 +2022,18 @@ public boolean hasIdentityServiceConfig() { return identityServiceConfig_ != null; } /** - * - * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; - * * @return The identityServiceConfig. */ @java.lang.Override public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() { - return identityServiceConfig_ == null - ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() - : identityServiceConfig_; + return identityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; } /** - * - * *
    * Configuration for Identity Service component.
    * 
@@ -2409,22 +2041,18 @@ public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ @java.lang.Override - public com.google.container.v1.IdentityServiceConfigOrBuilder - getIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { return getIdentityServiceConfig(); } public static final int SELF_LINK_FIELD_NUMBER = 100; private volatile java.lang.Object selfLink_; /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ @java.lang.Override @@ -2433,29 +2061,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -2466,8 +2094,6 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { public static final int ZONE_FIELD_NUMBER = 101; private volatile java.lang.Object zone_; /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2475,27 +2101,24 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2503,18 +2126,18 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -2525,8 +2148,6 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int ENDPOINT_FIELD_NUMBER = 102; private volatile java.lang.Object endpoint_; /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2536,7 +2157,6 @@ public com.google.protobuf.ByteString getZoneBytes() {
    * 
* * string endpoint = 102; - * * @return The endpoint. */ @java.lang.Override @@ -2545,15 +2165,14 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2563,15 +2182,16 @@ public java.lang.String getEndpoint() {
    * 
* * string endpoint = 102; - * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -2582,8 +2202,6 @@ public com.google.protobuf.ByteString getEndpointBytes() { public static final int INITIAL_CLUSTER_VERSION_FIELD_NUMBER = 103; private volatile java.lang.Object initialClusterVersion_; /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2599,7 +2217,6 @@ public com.google.protobuf.ByteString getEndpointBytes() {
    * 
* * string initial_cluster_version = 103; - * * @return The initialClusterVersion. */ @java.lang.Override @@ -2608,15 +2225,14 @@ public java.lang.String getInitialClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; } } /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2632,15 +2248,16 @@ public java.lang.String getInitialClusterVersion() {
    * 
* * string initial_cluster_version = 103; - * * @return The bytes for initialClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString + getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -2651,14 +2268,11 @@ public com.google.protobuf.ByteString getInitialClusterVersionBytes() { public static final int CURRENT_MASTER_VERSION_FIELD_NUMBER = 104; private volatile java.lang.Object currentMasterVersion_; /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The currentMasterVersion. */ @java.lang.Override @@ -2667,29 +2281,29 @@ public java.lang.String getCurrentMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; } } /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The bytes for currentMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString + getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -2700,8 +2314,6 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { public static final int CURRENT_NODE_VERSION_FIELD_NUMBER = 105; private volatile java.lang.Object currentNodeVersion_; /** - * - * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -2711,27 +2323,24 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @return The currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; } } /** - * - * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -2741,18 +2350,18 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @return The bytes for currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -2763,15 +2372,12 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 106; private volatile java.lang.Object createTime_; /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The createTime. */ @java.lang.Override @@ -2780,30 +2386,30 @@ public java.lang.String getCreateTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The bytes for createTime. */ @java.lang.Override - public com.google.protobuf.ByteString getCreateTimeBytes() { + public com.google.protobuf.ByteString + getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createTime_ = b; return b; } else { @@ -2814,44 +2420,33 @@ public com.google.protobuf.ByteString getCreateTimeBytes() { public static final int STATUS_FIELD_NUMBER = 107; private int status_; /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1.Cluster.Status getStatus() { + @java.lang.Override public com.google.container.v1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Cluster.Status result = - com.google.container.v1.Cluster.Status.valueOf(status_); + com.google.container.v1.Cluster.Status result = com.google.container.v1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1.Cluster.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 108; private volatile java.lang.Object statusMessage_; /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -2859,27 +2454,24 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -2887,18 +2479,18 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -2909,8 +2501,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int NODE_IPV4_CIDR_SIZE_FIELD_NUMBER = 109; private int nodeIpv4CidrSize_; /** - * - * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -2919,7 +2509,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * int32 node_ipv4_cidr_size = 109; - * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -2930,8 +2519,6 @@ public int getNodeIpv4CidrSize() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 110; private volatile java.lang.Object servicesIpv4Cidr_; /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2941,7 +2528,6 @@ public int getNodeIpv4CidrSize() {
    * 
* * string services_ipv4_cidr = 110; - * * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -2950,15 +2536,14 @@ public java.lang.String getServicesIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2968,15 +2553,16 @@ public java.lang.String getServicesIpv4Cidr() {
    * 
* * string services_ipv4_cidr = 110; - * * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -2987,110 +2573,89 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 111; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated - public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int CURRENT_NODE_COUNT_FIELD_NUMBER = 112; private int currentNodeCount_; /** - * - * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1710 + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1710 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getCurrentNodeCount() { + @java.lang.Deprecated public int getCurrentNodeCount() { return currentNodeCount_; } public static final int EXPIRE_TIME_FIELD_NUMBER = 113; private volatile java.lang.Object expireTime_; /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The expireTime. */ @java.lang.Override @@ -3099,30 +2664,30 @@ public java.lang.String getExpireTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The bytes for expireTime. */ @java.lang.Override - public com.google.protobuf.ByteString getExpireTimeBytes() { + public com.google.protobuf.ByteString + getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expireTime_ = b; return b; } else { @@ -3133,8 +2698,6 @@ public com.google.protobuf.ByteString getExpireTimeBytes() { public static final int LOCATION_FIELD_NUMBER = 114; private volatile java.lang.Object location_; /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3144,7 +2707,6 @@ public com.google.protobuf.ByteString getExpireTimeBytes() {
    * 
* * string location = 114; - * * @return The location. */ @java.lang.Override @@ -3153,15 +2715,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3171,15 +2732,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 114; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3190,14 +2752,11 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int ENABLE_TPU_FIELD_NUMBER = 115; private boolean enableTpu_; /** - * - * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * 
* * bool enable_tpu = 115; - * * @return The enableTpu. */ @java.lang.Override @@ -3208,8 +2767,6 @@ public boolean getEnableTpu() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 116; private volatile java.lang.Object tpuIpv4CidrBlock_; /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -3217,7 +2774,6 @@ public boolean getEnableTpu() {
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -3226,15 +2782,14 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -3242,15 +2797,16 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -3261,8 +2817,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { public static final int CONDITIONS_FIELD_NUMBER = 118; private java.util.List conditions_; /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3274,8 +2828,6 @@ public java.util.List getConditionsList return conditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3283,13 +2835,11 @@ public java.util.List getConditionsList * repeated .google.container.v1.StatusCondition conditions = 118; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3301,8 +2851,6 @@ public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3314,8 +2862,6 @@ public com.google.container.v1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3323,21 +2869,19 @@ public com.google.container.v1.StatusCondition getConditions(int index) { * repeated .google.container.v1.StatusCondition conditions = 118; */ @java.lang.Override - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int AUTOPILOT_FIELD_NUMBER = 128; private com.google.container.v1.Autopilot autopilot_; /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; - * * @return Whether the autopilot field is set. */ @java.lang.Override @@ -3345,14 +2889,11 @@ public boolean hasAutopilot() { return autopilot_ != null; } /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; - * * @return The autopilot. */ @java.lang.Override @@ -3360,8 +2901,6 @@ public com.google.container.v1.Autopilot getAutopilot() { return autopilot_ == null ? com.google.container.v1.Autopilot.getDefaultInstance() : autopilot_; } /** - * - * *
    * Autopilot configuration for the cluster.
    * 
@@ -3376,14 +2915,11 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { public static final int ID_FIELD_NUMBER = 129; private volatile java.lang.Object id_; /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The id. */ @java.lang.Override @@ -3392,29 +2928,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -3425,15 +2961,12 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int NODE_POOL_DEFAULTS_FIELD_NUMBER = 131; private com.google.container.v1.NodePoolDefaults nodePoolDefaults_; /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; - * * @return Whether the nodePoolDefaults field is set. */ @java.lang.Override @@ -3441,26 +2974,19 @@ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; - * * @return The nodePoolDefaults. */ @java.lang.Override public com.google.container.v1.NodePoolDefaults getNodePoolDefaults() { - return nodePoolDefaults_ == null - ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() - : nodePoolDefaults_; + return nodePoolDefaults_ == null ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; } /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -3470,22 +2996,17 @@ public com.google.container.v1.NodePoolDefaults getNodePoolDefaults() {
    */
   @java.lang.Override
   public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder() {
-    return nodePoolDefaults_ == null
-        ? com.google.container.v1.NodePoolDefaults.getDefaultInstance()
-        : nodePoolDefaults_;
+    return nodePoolDefaults_ == null ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
   }
 
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 132;
   private com.google.container.v1.LoggingConfig loggingConfig_;
   /**
-   *
-   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -3493,25 +3014,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration for the cluster.
    * 
@@ -3526,14 +3040,11 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( public static final int MONITORING_CONFIG_FIELD_NUMBER = 133; private com.google.container.v1.MonitoringConfig monitoringConfig_; /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; - * * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -3541,25 +3052,18 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; - * * @return The monitoringConfig. */ @java.lang.Override public com.google.container.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null - ? com.google.container.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } /** - * - * *
    * Monitoring configuration for the cluster.
    * 
@@ -3574,15 +3078,12 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu public static final int NODE_POOL_AUTO_CONFIG_FIELD_NUMBER = 136; private com.google.container.v1.NodePoolAutoConfig nodePoolAutoConfig_; /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return Whether the nodePoolAutoConfig field is set. */ @java.lang.Override @@ -3590,26 +3091,19 @@ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfig_ != null; } /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return The nodePoolAutoConfig. */ @java.lang.Override public com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig() { - return nodePoolAutoConfig_ == null - ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() - : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; } /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -3623,7 +3117,6 @@ public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfig
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -3635,7 +3128,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -3678,8 +3172,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (enableKubernetesAlpha_ != false) {
       output.writeBool(14, enableKubernetesAlpha_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 15);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetResourceLabels(),
+        ResourceLabelsDefaultEntryHolder.defaultEntry,
+        15);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 16, labelFingerprint_);
     }
@@ -3837,13 +3335,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
     }
     if (initialNodeCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(3, initialNodeCount_);
     }
     if (nodeConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodeConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getNodeConfig());
     }
     if (masterAuth_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMasterAuth());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getMasterAuth());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggingService_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, loggingService_);
@@ -3858,13 +3359,15 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4Cidr_);
     }
     if (addonsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getAddonsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, getAddonsConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, subnetwork_);
     }
     for (int i = 0; i < nodePools_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, nodePools_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, nodePools_.get(i));
     }
     {
       int dataSize = 0;
@@ -3875,100 +3378,109 @@ public int getSerializedSize() {
       size += 1 * getLocationsList().size();
     }
     if (enableKubernetesAlpha_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, enableKubernetesAlpha_);
-    }
-    for (java.util.Map.Entry entry :
-        internalGetResourceLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry resourceLabels__ =
-          ResourceLabelsDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, resourceLabels__);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(14, enableKubernetesAlpha_);
+    }
+    for (java.util.Map.Entry entry
+         : internalGetResourceLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(15, resourceLabels__);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, labelFingerprint_);
     }
     if (legacyAbac_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLegacyAbac());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(18, getLegacyAbac());
     }
     if (networkPolicy_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getNetworkPolicy());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(19, getNetworkPolicy());
     }
     if (ipAllocationPolicy_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getIpAllocationPolicy());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(20, getIpAllocationPolicy());
     }
     if (masterAuthorizedNetworksConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              22, getMasterAuthorizedNetworksConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(22, getMasterAuthorizedNetworksConfig());
     }
     if (maintenancePolicy_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getMaintenancePolicy());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(23, getMaintenancePolicy());
     }
     if (binaryAuthorization_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(24, getBinaryAuthorization());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(24, getBinaryAuthorization());
     }
     if (autoscaling_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getAutoscaling());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(26, getAutoscaling());
     }
     if (networkConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getNetworkConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(27, getNetworkConfig());
     }
     if (defaultMaxPodsConstraint_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              30, getDefaultMaxPodsConstraint());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(30, getDefaultMaxPodsConstraint());
     }
     if (resourceUsageExportConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              33, getResourceUsageExportConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(33, getResourceUsageExportConfig());
     }
     if (authenticatorGroupsConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              34, getAuthenticatorGroupsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(34, getAuthenticatorGroupsConfig());
     }
     if (privateClusterConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(37, getPrivateClusterConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(37, getPrivateClusterConfig());
     }
     if (databaseEncryption_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getDatabaseEncryption());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(38, getDatabaseEncryption());
     }
     if (verticalPodAutoscaling_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(39, getVerticalPodAutoscaling());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(39, getVerticalPodAutoscaling());
     }
     if (shieldedNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(40, getShieldedNodes());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(40, getShieldedNodes());
     }
     if (releaseChannel_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(41, getReleaseChannel());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(41, getReleaseChannel());
     }
     if (workloadIdentityConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(43, getWorkloadIdentityConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(43, getWorkloadIdentityConfig());
     }
     if (costManagementConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(45, getCostManagementConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(45, getCostManagementConfig());
     }
     if (notificationConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(49, getNotificationConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(49, getNotificationConfig());
     }
     if (confidentialNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getConfidentialNodes());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(50, getConfidentialNodes());
     }
     if (identityServiceConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(54, getIdentityServiceConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(54, getIdentityServiceConfig());
     }
     if (meshCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(67, getMeshCertificates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(67, getMeshCertificates());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_);
@@ -3992,13 +3504,15 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, createTime_);
     }
     if (status_ != com.google.container.v1.Cluster.Status.STATUS_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(107, status_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(107, status_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(108, statusMessage_);
     }
     if (nodeIpv4CidrSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(109, nodeIpv4CidrSize_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(109, nodeIpv4CidrSize_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesIpv4Cidr_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(110, servicesIpv4Cidr_);
@@ -4012,7 +3526,8 @@ public int getSerializedSize() {
       size += 2 * getInstanceGroupUrlsList().size();
     }
     if (currentNodeCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(112, currentNodeCount_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(112, currentNodeCount_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireTime_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(113, expireTime_);
@@ -4021,32 +3536,38 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114, location_);
     }
     if (enableTpu_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(115, enableTpu_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(115, enableTpu_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tpuIpv4CidrBlock_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(116, tpuIpv4CidrBlock_);
     }
     for (int i = 0; i < conditions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(118, conditions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(118, conditions_.get(i));
     }
     if (autopilot_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(128, getAutopilot());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(128, getAutopilot());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(129, id_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(131, getNodePoolDefaults());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(131, getNodePoolDefaults());
     }
     if (loggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(132, getLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(132, getLoggingConfig());
     }
     if (monitoringConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getMonitoringConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(133, getMonitoringConfig());
     }
     if (nodePoolAutoConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(136, getNodePoolAutoConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(136, getNodePoolAutoConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -4056,168 +3577,225 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.Cluster)) {
       return super.equals(obj);
     }
     com.google.container.v1.Cluster other = (com.google.container.v1.Cluster) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
-    if (getInitialNodeCount() != other.getInitialNodeCount()) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) return false;
+    if (getInitialNodeCount()
+        != other.getInitialNodeCount()) return false;
     if (hasNodeConfig() != other.hasNodeConfig()) return false;
     if (hasNodeConfig()) {
-      if (!getNodeConfig().equals(other.getNodeConfig())) return false;
+      if (!getNodeConfig()
+          .equals(other.getNodeConfig())) return false;
     }
     if (hasMasterAuth() != other.hasMasterAuth()) return false;
     if (hasMasterAuth()) {
-      if (!getMasterAuth().equals(other.getMasterAuth())) return false;
-    }
-    if (!getLoggingService().equals(other.getLoggingService())) return false;
-    if (!getMonitoringService().equals(other.getMonitoringService())) return false;
-    if (!getNetwork().equals(other.getNetwork())) return false;
-    if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false;
+      if (!getMasterAuth()
+          .equals(other.getMasterAuth())) return false;
+    }
+    if (!getLoggingService()
+        .equals(other.getLoggingService())) return false;
+    if (!getMonitoringService()
+        .equals(other.getMonitoringService())) return false;
+    if (!getNetwork()
+        .equals(other.getNetwork())) return false;
+    if (!getClusterIpv4Cidr()
+        .equals(other.getClusterIpv4Cidr())) return false;
     if (hasAddonsConfig() != other.hasAddonsConfig()) return false;
     if (hasAddonsConfig()) {
-      if (!getAddonsConfig().equals(other.getAddonsConfig())) return false;
-    }
-    if (!getSubnetwork().equals(other.getSubnetwork())) return false;
-    if (!getNodePoolsList().equals(other.getNodePoolsList())) return false;
-    if (!getLocationsList().equals(other.getLocationsList())) return false;
-    if (getEnableKubernetesAlpha() != other.getEnableKubernetesAlpha()) return false;
-    if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false;
-    if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false;
+      if (!getAddonsConfig()
+          .equals(other.getAddonsConfig())) return false;
+    }
+    if (!getSubnetwork()
+        .equals(other.getSubnetwork())) return false;
+    if (!getNodePoolsList()
+        .equals(other.getNodePoolsList())) return false;
+    if (!getLocationsList()
+        .equals(other.getLocationsList())) return false;
+    if (getEnableKubernetesAlpha()
+        != other.getEnableKubernetesAlpha()) return false;
+    if (!internalGetResourceLabels().equals(
+        other.internalGetResourceLabels())) return false;
+    if (!getLabelFingerprint()
+        .equals(other.getLabelFingerprint())) return false;
     if (hasLegacyAbac() != other.hasLegacyAbac()) return false;
     if (hasLegacyAbac()) {
-      if (!getLegacyAbac().equals(other.getLegacyAbac())) return false;
+      if (!getLegacyAbac()
+          .equals(other.getLegacyAbac())) return false;
     }
     if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false;
     if (hasNetworkPolicy()) {
-      if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false;
+      if (!getNetworkPolicy()
+          .equals(other.getNetworkPolicy())) return false;
     }
     if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false;
     if (hasIpAllocationPolicy()) {
-      if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false;
+      if (!getIpAllocationPolicy()
+          .equals(other.getIpAllocationPolicy())) return false;
     }
-    if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig())
-      return false;
+    if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig()) return false;
     if (hasMasterAuthorizedNetworksConfig()) {
-      if (!getMasterAuthorizedNetworksConfig().equals(other.getMasterAuthorizedNetworksConfig()))
-        return false;
+      if (!getMasterAuthorizedNetworksConfig()
+          .equals(other.getMasterAuthorizedNetworksConfig())) return false;
     }
     if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false;
     if (hasMaintenancePolicy()) {
-      if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false;
+      if (!getMaintenancePolicy()
+          .equals(other.getMaintenancePolicy())) return false;
     }
     if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false;
     if (hasBinaryAuthorization()) {
-      if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false;
+      if (!getBinaryAuthorization()
+          .equals(other.getBinaryAuthorization())) return false;
     }
     if (hasAutoscaling() != other.hasAutoscaling()) return false;
     if (hasAutoscaling()) {
-      if (!getAutoscaling().equals(other.getAutoscaling())) return false;
+      if (!getAutoscaling()
+          .equals(other.getAutoscaling())) return false;
     }
     if (hasNetworkConfig() != other.hasNetworkConfig()) return false;
     if (hasNetworkConfig()) {
-      if (!getNetworkConfig().equals(other.getNetworkConfig())) return false;
+      if (!getNetworkConfig()
+          .equals(other.getNetworkConfig())) return false;
     }
     if (hasDefaultMaxPodsConstraint() != other.hasDefaultMaxPodsConstraint()) return false;
     if (hasDefaultMaxPodsConstraint()) {
-      if (!getDefaultMaxPodsConstraint().equals(other.getDefaultMaxPodsConstraint())) return false;
+      if (!getDefaultMaxPodsConstraint()
+          .equals(other.getDefaultMaxPodsConstraint())) return false;
     }
     if (hasResourceUsageExportConfig() != other.hasResourceUsageExportConfig()) return false;
     if (hasResourceUsageExportConfig()) {
-      if (!getResourceUsageExportConfig().equals(other.getResourceUsageExportConfig()))
-        return false;
+      if (!getResourceUsageExportConfig()
+          .equals(other.getResourceUsageExportConfig())) return false;
     }
     if (hasAuthenticatorGroupsConfig() != other.hasAuthenticatorGroupsConfig()) return false;
     if (hasAuthenticatorGroupsConfig()) {
-      if (!getAuthenticatorGroupsConfig().equals(other.getAuthenticatorGroupsConfig()))
-        return false;
+      if (!getAuthenticatorGroupsConfig()
+          .equals(other.getAuthenticatorGroupsConfig())) return false;
     }
     if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false;
     if (hasPrivateClusterConfig()) {
-      if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false;
+      if (!getPrivateClusterConfig()
+          .equals(other.getPrivateClusterConfig())) return false;
     }
     if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false;
     if (hasDatabaseEncryption()) {
-      if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false;
+      if (!getDatabaseEncryption()
+          .equals(other.getDatabaseEncryption())) return false;
     }
     if (hasVerticalPodAutoscaling() != other.hasVerticalPodAutoscaling()) return false;
     if (hasVerticalPodAutoscaling()) {
-      if (!getVerticalPodAutoscaling().equals(other.getVerticalPodAutoscaling())) return false;
+      if (!getVerticalPodAutoscaling()
+          .equals(other.getVerticalPodAutoscaling())) return false;
     }
     if (hasShieldedNodes() != other.hasShieldedNodes()) return false;
     if (hasShieldedNodes()) {
-      if (!getShieldedNodes().equals(other.getShieldedNodes())) return false;
+      if (!getShieldedNodes()
+          .equals(other.getShieldedNodes())) return false;
     }
     if (hasReleaseChannel() != other.hasReleaseChannel()) return false;
     if (hasReleaseChannel()) {
-      if (!getReleaseChannel().equals(other.getReleaseChannel())) return false;
+      if (!getReleaseChannel()
+          .equals(other.getReleaseChannel())) return false;
     }
     if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false;
     if (hasWorkloadIdentityConfig()) {
-      if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false;
+      if (!getWorkloadIdentityConfig()
+          .equals(other.getWorkloadIdentityConfig())) return false;
     }
     if (hasMeshCertificates() != other.hasMeshCertificates()) return false;
     if (hasMeshCertificates()) {
-      if (!getMeshCertificates().equals(other.getMeshCertificates())) return false;
+      if (!getMeshCertificates()
+          .equals(other.getMeshCertificates())) return false;
     }
     if (hasCostManagementConfig() != other.hasCostManagementConfig()) return false;
     if (hasCostManagementConfig()) {
-      if (!getCostManagementConfig().equals(other.getCostManagementConfig())) return false;
+      if (!getCostManagementConfig()
+          .equals(other.getCostManagementConfig())) return false;
     }
     if (hasNotificationConfig() != other.hasNotificationConfig()) return false;
     if (hasNotificationConfig()) {
-      if (!getNotificationConfig().equals(other.getNotificationConfig())) return false;
+      if (!getNotificationConfig()
+          .equals(other.getNotificationConfig())) return false;
     }
     if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false;
     if (hasConfidentialNodes()) {
-      if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false;
+      if (!getConfidentialNodes()
+          .equals(other.getConfidentialNodes())) return false;
     }
     if (hasIdentityServiceConfig() != other.hasIdentityServiceConfig()) return false;
     if (hasIdentityServiceConfig()) {
-      if (!getIdentityServiceConfig().equals(other.getIdentityServiceConfig())) return false;
-    }
-    if (!getSelfLink().equals(other.getSelfLink())) return false;
-    if (!getZone().equals(other.getZone())) return false;
-    if (!getEndpoint().equals(other.getEndpoint())) return false;
-    if (!getInitialClusterVersion().equals(other.getInitialClusterVersion())) return false;
-    if (!getCurrentMasterVersion().equals(other.getCurrentMasterVersion())) return false;
-    if (!getCurrentNodeVersion().equals(other.getCurrentNodeVersion())) return false;
-    if (!getCreateTime().equals(other.getCreateTime())) return false;
+      if (!getIdentityServiceConfig()
+          .equals(other.getIdentityServiceConfig())) return false;
+    }
+    if (!getSelfLink()
+        .equals(other.getSelfLink())) return false;
+    if (!getZone()
+        .equals(other.getZone())) return false;
+    if (!getEndpoint()
+        .equals(other.getEndpoint())) return false;
+    if (!getInitialClusterVersion()
+        .equals(other.getInitialClusterVersion())) return false;
+    if (!getCurrentMasterVersion()
+        .equals(other.getCurrentMasterVersion())) return false;
+    if (!getCurrentNodeVersion()
+        .equals(other.getCurrentNodeVersion())) return false;
+    if (!getCreateTime()
+        .equals(other.getCreateTime())) return false;
     if (status_ != other.status_) return false;
-    if (!getStatusMessage().equals(other.getStatusMessage())) return false;
-    if (getNodeIpv4CidrSize() != other.getNodeIpv4CidrSize()) return false;
-    if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false;
-    if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false;
-    if (getCurrentNodeCount() != other.getCurrentNodeCount()) return false;
-    if (!getExpireTime().equals(other.getExpireTime())) return false;
-    if (!getLocation().equals(other.getLocation())) return false;
-    if (getEnableTpu() != other.getEnableTpu()) return false;
-    if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false;
-    if (!getConditionsList().equals(other.getConditionsList())) return false;
+    if (!getStatusMessage()
+        .equals(other.getStatusMessage())) return false;
+    if (getNodeIpv4CidrSize()
+        != other.getNodeIpv4CidrSize()) return false;
+    if (!getServicesIpv4Cidr()
+        .equals(other.getServicesIpv4Cidr())) return false;
+    if (!getInstanceGroupUrlsList()
+        .equals(other.getInstanceGroupUrlsList())) return false;
+    if (getCurrentNodeCount()
+        != other.getCurrentNodeCount()) return false;
+    if (!getExpireTime()
+        .equals(other.getExpireTime())) return false;
+    if (!getLocation()
+        .equals(other.getLocation())) return false;
+    if (getEnableTpu()
+        != other.getEnableTpu()) return false;
+    if (!getTpuIpv4CidrBlock()
+        .equals(other.getTpuIpv4CidrBlock())) return false;
+    if (!getConditionsList()
+        .equals(other.getConditionsList())) return false;
     if (hasAutopilot() != other.hasAutopilot()) return false;
     if (hasAutopilot()) {
-      if (!getAutopilot().equals(other.getAutopilot())) return false;
+      if (!getAutopilot()
+          .equals(other.getAutopilot())) return false;
     }
-    if (!getId().equals(other.getId())) return false;
+    if (!getId()
+        .equals(other.getId())) return false;
     if (hasNodePoolDefaults() != other.hasNodePoolDefaults()) return false;
     if (hasNodePoolDefaults()) {
-      if (!getNodePoolDefaults().equals(other.getNodePoolDefaults())) return false;
+      if (!getNodePoolDefaults()
+          .equals(other.getNodePoolDefaults())) return false;
     }
     if (hasLoggingConfig() != other.hasLoggingConfig()) return false;
     if (hasLoggingConfig()) {
-      if (!getLoggingConfig().equals(other.getLoggingConfig())) return false;
+      if (!getLoggingConfig()
+          .equals(other.getLoggingConfig())) return false;
     }
     if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false;
     if (hasMonitoringConfig()) {
-      if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false;
+      if (!getMonitoringConfig()
+          .equals(other.getMonitoringConfig())) return false;
     }
     if (hasNodePoolAutoConfig() != other.hasNodePoolAutoConfig()) return false;
     if (hasNodePoolAutoConfig()) {
-      if (!getNodePoolAutoConfig().equals(other.getNodePoolAutoConfig())) return false;
+      if (!getNodePoolAutoConfig()
+          .equals(other.getNodePoolAutoConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -4267,7 +3845,8 @@ public int hashCode() {
       hash = (53 * hash) + getLocationsList().hashCode();
     }
     hash = (37 * hash) + ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableKubernetesAlpha());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getEnableKubernetesAlpha());
     if (!internalGetResourceLabels().getMap().isEmpty()) {
       hash = (37 * hash) + RESOURCE_LABELS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetResourceLabels().hashCode();
@@ -4395,7 +3974,8 @@ public int hashCode() {
     hash = (37 * hash) + LOCATION_FIELD_NUMBER;
     hash = (53 * hash) + getLocation().hashCode();
     hash = (37 * hash) + ENABLE_TPU_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTpu());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getEnableTpu());
     hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER;
     hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode();
     if (getConditionsCount() > 0) {
@@ -4429,143 +4009,138 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.Cluster parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.Cluster parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.Cluster parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.Cluster parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.container.v1.Cluster parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.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.container.v1.Cluster parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.Cluster parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.Cluster parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.Cluster parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.Cluster parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.Cluster parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.Cluster parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.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);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.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);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A Google Kubernetes Engine cluster.
    * 
* * Protobuf type {@code google.container.v1.Cluster} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.Cluster) com.google.container.v1.ClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Cluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 15: return internalGetMutableResourceLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Cluster_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Cluster.class, com.google.container.v1.Cluster.Builder.class); } @@ -4575,19 +4150,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNodePoolsFieldBuilder(); getConditionsFieldBuilder(); getNodePoolDefaultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4848,9 +4423,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Cluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_descriptor; } @java.lang.Override @@ -5091,39 +4666,38 @@ public com.google.container.v1.Cluster buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.Cluster) { - return mergeFrom((com.google.container.v1.Cluster) other); + return mergeFrom((com.google.container.v1.Cluster)other); } else { super.mergeFrom(other); return this; @@ -5190,10 +4764,9 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodePoolsFieldBuilder() - : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNodePoolsFieldBuilder() : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -5212,7 +4785,8 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { if (other.getEnableKubernetesAlpha() != false) { setEnableKubernetesAlpha(other.getEnableKubernetesAlpha()); } - internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels()); + internalGetMutableResourceLabels().mergeFrom( + other.internalGetResourceLabels()); if (!other.getLabelFingerprint().isEmpty()) { labelFingerprint_ = other.labelFingerprint_; onChanged(); @@ -5371,10 +4945,9 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { conditionsBuilder_ = null; conditions_ = other.conditions_; bitField0_ = (bitField0_ & ~0x00000010); - conditionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConditionsFieldBuilder() - : null; + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConditionsFieldBuilder() : null; } else { conditionsBuilder_.addAllMessages(other.conditions_); } @@ -5425,425 +4998,403 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - initialNodeCount_ = input.readInt32(); - - break; - } // case 24 - case 34: - { - input.readMessage(getNodeConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getMasterAuthFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - loggingService_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - monitoringService_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - network_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: - { - input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 82 - case 90: - { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 98: - { - com.google.container.v1.NodePool m = - input.readMessage(com.google.container.v1.NodePool.parser(), extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 112: - { - enableKubernetesAlpha_ = input.readBool(); - - break; - } // case 112 - case 122: - { - com.google.protobuf.MapEntry resourceLabels__ = - input.readMessage( - ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableResourceLabels() - .getMutableMap() - .put(resourceLabels__.getKey(), resourceLabels__.getValue()); - break; - } // case 122 - case 130: - { - labelFingerprint_ = input.readStringRequireUtf8(); - - break; - } // case 130 - case 146: - { - input.readMessage(getLegacyAbacFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 146 - case 154: - { - input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 154 - case 162: - { - input.readMessage( - getIpAllocationPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 162 - case 178: - { - input.readMessage( - getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 178 - case 186: - { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 186 - case 194: - { - input.readMessage( - getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 194 - case 210: - { - input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 210 - case 218: - { - input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 218 - case 242: - { - input.readMessage( - getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 242 - case 266: - { - input.readMessage( - getResourceUsageExportConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 266 - case 274: - { - input.readMessage( - getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 274 - case 298: - { - input.readMessage( - getPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 298 - case 306: - { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 306 - case 314: - { - input.readMessage( - getVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 314 - case 322: - { - input.readMessage(getShieldedNodesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 322 - case 330: - { - input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 330 - case 346: - { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 346 - case 362: - { - input.readMessage( - getCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 362 - case 394: - { - input.readMessage( - getNotificationConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 394 - case 402: - { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 402 - case 434: - { - input.readMessage( - getIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 434 - case 538: - { - input.readMessage( - getMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 538 - case 802: - { - selfLink_ = input.readStringRequireUtf8(); - - break; - } // case 802 - case 810: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 810 - case 818: - { - endpoint_ = input.readStringRequireUtf8(); - - break; - } // case 818 - case 826: - { - initialClusterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 826 - case 834: - { - currentMasterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 834 - case 842: - { - currentNodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 842 - case 850: - { - createTime_ = input.readStringRequireUtf8(); - - break; - } // case 850 - case 856: - { - status_ = input.readEnum(); - - break; - } // case 856 - case 866: - { - statusMessage_ = input.readStringRequireUtf8(); - - break; - } // case 866 - case 872: - { - nodeIpv4CidrSize_ = input.readInt32(); - - break; - } // case 872 - case 882: - { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 882 - case 890: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceGroupUrlsIsMutable(); - instanceGroupUrls_.add(s); - break; - } // case 890 - case 896: - { - currentNodeCount_ = input.readInt32(); - - break; - } // case 896 - case 906: - { - expireTime_ = input.readStringRequireUtf8(); - - break; - } // case 906 - case 914: - { - location_ = input.readStringRequireUtf8(); - - break; - } // case 914 - case 920: - { - enableTpu_ = input.readBool(); - - break; - } // case 920 - case 930: - { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 930 - case 946: - { - com.google.container.v1.StatusCondition m = - input.readMessage( - com.google.container.v1.StatusCondition.parser(), extensionRegistry); - if (conditionsBuilder_ == null) { - ensureConditionsIsMutable(); - conditions_.add(m); - } else { - conditionsBuilder_.addMessage(m); - } - break; - } // case 946 - case 1026: - { - input.readMessage(getAutopilotFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1026 - case 1034: - { - id_ = input.readStringRequireUtf8(); - - break; - } // case 1034 - case 1050: - { - input.readMessage( - getNodePoolDefaultsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 1050 - case 1058: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1058 - case 1066: - { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1066 - case 1090: - { - input.readMessage( - getNodePoolAutoConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1090 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + initialNodeCount_ = input.readInt32(); + + break; + } // case 24 + case 34: { + input.readMessage( + getNodeConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getMasterAuthFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + loggingService_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + monitoringService_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + network_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: { + input.readMessage( + getAddonsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 82 + case 90: { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 98: { + com.google.container.v1.NodePool m = + input.readMessage( + com.google.container.v1.NodePool.parser(), + extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 106 + case 112: { + enableKubernetesAlpha_ = input.readBool(); + + break; + } // case 112 + case 122: { + com.google.protobuf.MapEntry + resourceLabels__ = input.readMessage( + ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableResourceLabels().getMutableMap().put( + resourceLabels__.getKey(), resourceLabels__.getValue()); + break; + } // case 122 + case 130: { + labelFingerprint_ = input.readStringRequireUtf8(); + + break; + } // case 130 + case 146: { + input.readMessage( + getLegacyAbacFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 146 + case 154: { + input.readMessage( + getNetworkPolicyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 154 + case 162: { + input.readMessage( + getIpAllocationPolicyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 162 + case 178: { + input.readMessage( + getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 178 + case 186: { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 186 + case 194: { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 194 + case 210: { + input.readMessage( + getAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 210 + case 218: { + input.readMessage( + getNetworkConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 218 + case 242: { + input.readMessage( + getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 242 + case 266: { + input.readMessage( + getResourceUsageExportConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 266 + case 274: { + input.readMessage( + getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 274 + case 298: { + input.readMessage( + getPrivateClusterConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 298 + case 306: { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 306 + case 314: { + input.readMessage( + getVerticalPodAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 314 + case 322: { + input.readMessage( + getShieldedNodesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 322 + case 330: { + input.readMessage( + getReleaseChannelFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 330 + case 346: { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 346 + case 362: { + input.readMessage( + getCostManagementConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 362 + case 394: { + input.readMessage( + getNotificationConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 394 + case 402: { + input.readMessage( + getConfidentialNodesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 402 + case 434: { + input.readMessage( + getIdentityServiceConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 434 + case 538: { + input.readMessage( + getMeshCertificatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 538 + case 802: { + selfLink_ = input.readStringRequireUtf8(); + + break; + } // case 802 + case 810: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 810 + case 818: { + endpoint_ = input.readStringRequireUtf8(); + + break; + } // case 818 + case 826: { + initialClusterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 826 + case 834: { + currentMasterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 834 + case 842: { + currentNodeVersion_ = input.readStringRequireUtf8(); + + break; + } // case 842 + case 850: { + createTime_ = input.readStringRequireUtf8(); + + break; + } // case 850 + case 856: { + status_ = input.readEnum(); + + break; + } // case 856 + case 866: { + statusMessage_ = input.readStringRequireUtf8(); + + break; + } // case 866 + case 872: { + nodeIpv4CidrSize_ = input.readInt32(); + + break; + } // case 872 + case 882: { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 882 + case 890: { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceGroupUrlsIsMutable(); + instanceGroupUrls_.add(s); + break; + } // case 890 + case 896: { + currentNodeCount_ = input.readInt32(); + + break; + } // case 896 + case 906: { + expireTime_ = input.readStringRequireUtf8(); + + break; + } // case 906 + case 914: { + location_ = input.readStringRequireUtf8(); + + break; + } // case 914 + case 920: { + enableTpu_ = input.readBool(); + + break; + } // case 920 + case 930: { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 930 + case 946: { + com.google.container.v1.StatusCondition m = + input.readMessage( + com.google.container.v1.StatusCondition.parser(), + extensionRegistry); + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(m); + } else { + conditionsBuilder_.addMessage(m); + } + break; + } // case 946 + case 1026: { + input.readMessage( + getAutopilotFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1026 + case 1034: { + id_ = input.readStringRequireUtf8(); + + break; + } // case 1034 + case 1050: { + input.readMessage( + getNodePoolDefaultsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 1050 + case 1058: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1058 + case 1066: { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1066 + case 1090: { + input.readMessage( + getNodePoolAutoConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1090 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5853,13 +5404,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5870,13 +5418,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -5885,8 +5433,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5897,14 +5443,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -5912,8 +5459,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5924,22 +5469,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5950,18 +5493,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5972,16 +5512,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5989,20 +5529,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6011,21 +5549,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -6033,70 +5570,61 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private int initialNodeCount_; + private int initialNodeCount_ ; /** - * - * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6110,19 +5638,15 @@ 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=1466 + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1466 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getInitialNodeCount() { + @java.lang.Deprecated public int getInitialNodeCount() { return initialNodeCount_; } /** - * - * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6136,22 +5660,18 @@ 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=1466 + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1466 * @param value The initialNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setInitialNodeCount(int value) { - + @java.lang.Deprecated public Builder setInitialNodeCount(int value) { + initialNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6165,14 +5685,12 @@ 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=1466 + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1466 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearInitialNodeCount() { - + @java.lang.Deprecated public Builder clearInitialNodeCount() { + initialNodeCount_ = 0; onChanged(); return this; @@ -6180,13 +5698,8 @@ public Builder clearInitialNodeCount() { private com.google.container.v1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, - com.google.container.v1.NodeConfig.Builder, - com.google.container.v1.NodeConfigOrBuilder> - nodeConfigBuilder_; + com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> nodeConfigBuilder_; /** - * - * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6201,18 +5714,14 @@ 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=1479 + * @deprecated google.container.v1.Cluster.node_config is deprecated. + * See google/container/v1/cluster_service.proto;l=1479 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated - public boolean hasNodeConfig() { + @java.lang.Deprecated public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** - * - * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6227,24 +5736,18 @@ 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=1479 + * @deprecated google.container.v1.Cluster.node_config is deprecated. + * See google/container/v1/cluster_service.proto;l=1479 * @return The nodeConfig. */ - @java.lang.Deprecated - public com.google.container.v1.NodeConfig getNodeConfig() { + @java.lang.Deprecated public com.google.container.v1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null - ? com.google.container.v1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** - * - * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6260,8 +5763,7 @@ public com.google.container.v1.NodeConfig getNodeConfig() {
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setNodeConfig(com.google.container.v1.NodeConfig value) {
+    @java.lang.Deprecated public Builder setNodeConfig(com.google.container.v1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6275,8 +5777,6 @@ public Builder setNodeConfig(com.google.container.v1.NodeConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6292,8 +5792,8 @@ public Builder setNodeConfig(com.google.container.v1.NodeConfig value) {
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setNodeConfig(com.google.container.v1.NodeConfig.Builder builderForValue) {
+    @java.lang.Deprecated public Builder setNodeConfig(
+        com.google.container.v1.NodeConfig.Builder builderForValue) {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = builderForValue.build();
         onChanged();
@@ -6304,8 +5804,6 @@ public Builder setNodeConfig(com.google.container.v1.NodeConfig.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6321,14 +5819,11 @@ public Builder setNodeConfig(com.google.container.v1.NodeConfig.Builder builderF
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder mergeNodeConfig(com.google.container.v1.NodeConfig value) {
+    @java.lang.Deprecated public Builder mergeNodeConfig(com.google.container.v1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (nodeConfig_ != null) {
           nodeConfig_ =
-              com.google.container.v1.NodeConfig.newBuilder(nodeConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial();
         } else {
           nodeConfig_ = value;
         }
@@ -6340,8 +5835,6 @@ public Builder mergeNodeConfig(com.google.container.v1.NodeConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6357,8 +5850,7 @@ public Builder mergeNodeConfig(com.google.container.v1.NodeConfig value) {
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder clearNodeConfig() {
+    @java.lang.Deprecated public Builder clearNodeConfig() {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = null;
         onChanged();
@@ -6370,8 +5862,6 @@ public Builder clearNodeConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6387,15 +5877,12 @@ public Builder clearNodeConfig() {
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1.NodeConfig.Builder getNodeConfigBuilder() {
-
+    @java.lang.Deprecated public com.google.container.v1.NodeConfig.Builder getNodeConfigBuilder() {
+      
       onChanged();
       return getNodeConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6411,19 +5898,15 @@ public com.google.container.v1.NodeConfig.Builder getNodeConfigBuilder() {
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+    @java.lang.Deprecated public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
       if (nodeConfigBuilder_ != null) {
         return nodeConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodeConfig_ == null
-            ? com.google.container.v1.NodeConfig.getDefaultInstance()
-            : nodeConfig_;
+        return nodeConfig_ == null ?
+            com.google.container.v1.NodeConfig.getDefaultInstance() : nodeConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6440,17 +5923,14 @@ public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeConfig,
-            com.google.container.v1.NodeConfig.Builder,
-            com.google.container.v1.NodeConfigOrBuilder>
+        com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> 
         getNodeConfigFieldBuilder() {
       if (nodeConfigBuilder_ == null) {
-        nodeConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodeConfig,
-                com.google.container.v1.NodeConfig.Builder,
-                com.google.container.v1.NodeConfigOrBuilder>(
-                getNodeConfig(), getParentForChildren(), isClean());
+        nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder>(
+                getNodeConfig(),
+                getParentForChildren(),
+                isClean());
         nodeConfig_ = null;
       }
       return nodeConfigBuilder_;
@@ -6458,13 +5938,8 @@ public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
 
     private com.google.container.v1.MasterAuth masterAuth_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MasterAuth,
-            com.google.container.v1.MasterAuth.Builder,
-            com.google.container.v1.MasterAuthOrBuilder>
-        masterAuthBuilder_;
+        com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> masterAuthBuilder_;
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6474,15 +5949,12 @@ public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
      * 
* * .google.container.v1.MasterAuth master_auth = 5; - * * @return Whether the masterAuth field is set. */ public boolean hasMasterAuth() { return masterAuthBuilder_ != null || masterAuth_ != null; } /** - * - * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6492,21 +5964,16 @@ public boolean hasMasterAuth() {
      * 
* * .google.container.v1.MasterAuth master_auth = 5; - * * @return The masterAuth. */ public com.google.container.v1.MasterAuth getMasterAuth() { if (masterAuthBuilder_ == null) { - return masterAuth_ == null - ? com.google.container.v1.MasterAuth.getDefaultInstance() - : masterAuth_; + return masterAuth_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : masterAuth_; } else { return masterAuthBuilder_.getMessage(); } } /** - * - * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6531,8 +5998,6 @@ public Builder setMasterAuth(com.google.container.v1.MasterAuth value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6543,7 +6008,8 @@ public Builder setMasterAuth(com.google.container.v1.MasterAuth value) {
      *
      * .google.container.v1.MasterAuth master_auth = 5;
      */
-    public Builder setMasterAuth(com.google.container.v1.MasterAuth.Builder builderForValue) {
+    public Builder setMasterAuth(
+        com.google.container.v1.MasterAuth.Builder builderForValue) {
       if (masterAuthBuilder_ == null) {
         masterAuth_ = builderForValue.build();
         onChanged();
@@ -6554,8 +6020,6 @@ public Builder setMasterAuth(com.google.container.v1.MasterAuth.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6570,9 +6034,7 @@ public Builder mergeMasterAuth(com.google.container.v1.MasterAuth value) {
       if (masterAuthBuilder_ == null) {
         if (masterAuth_ != null) {
           masterAuth_ =
-              com.google.container.v1.MasterAuth.newBuilder(masterAuth_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.MasterAuth.newBuilder(masterAuth_).mergeFrom(value).buildPartial();
         } else {
           masterAuth_ = value;
         }
@@ -6584,8 +6046,6 @@ public Builder mergeMasterAuth(com.google.container.v1.MasterAuth value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6608,8 +6068,6 @@ public Builder clearMasterAuth() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6621,13 +6079,11 @@ public Builder clearMasterAuth() {
      * .google.container.v1.MasterAuth master_auth = 5;
      */
     public com.google.container.v1.MasterAuth.Builder getMasterAuthBuilder() {
-
+      
       onChanged();
       return getMasterAuthFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6642,14 +6098,11 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
       if (masterAuthBuilder_ != null) {
         return masterAuthBuilder_.getMessageOrBuilder();
       } else {
-        return masterAuth_ == null
-            ? com.google.container.v1.MasterAuth.getDefaultInstance()
-            : masterAuth_;
+        return masterAuth_ == null ?
+            com.google.container.v1.MasterAuth.getDefaultInstance() : masterAuth_;
       }
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6661,17 +6114,14 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
      * .google.container.v1.MasterAuth master_auth = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MasterAuth,
-            com.google.container.v1.MasterAuth.Builder,
-            com.google.container.v1.MasterAuthOrBuilder>
+        com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> 
         getMasterAuthFieldBuilder() {
       if (masterAuthBuilder_ == null) {
-        masterAuthBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.MasterAuth,
-                com.google.container.v1.MasterAuth.Builder,
-                com.google.container.v1.MasterAuthOrBuilder>(
-                getMasterAuth(), getParentForChildren(), isClean());
+        masterAuthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder>(
+                getMasterAuth(),
+                getParentForChildren(),
+                isClean());
         masterAuth_ = null;
       }
       return masterAuthBuilder_;
@@ -6679,8 +6129,6 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
 
     private java.lang.Object loggingService_ = "";
     /**
-     *
-     *
      * 
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6694,13 +6142,13 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
      * 
* * string logging_service = 6; - * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -6709,8 +6157,6 @@ public java.lang.String getLoggingService() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6724,14 +6170,15 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 6; - * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -6739,8 +6186,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6754,22 +6199,20 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() {
      * 
* * string logging_service = 6; - * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService(java.lang.String value) { + public Builder setLoggingService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6783,18 +6226,15 @@ public Builder setLoggingService(java.lang.String value) {
      * 
* * string logging_service = 6; - * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6808,16 +6248,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 6; - * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -6825,8 +6265,6 @@ public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object monitoringService_ = ""; /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6840,13 +6278,13 @@ public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string monitoring_service = 7; - * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -6855,8 +6293,6 @@ public java.lang.String getMonitoringService() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6870,14 +6306,15 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 7; - * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -6885,8 +6322,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6900,22 +6335,20 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() {
      * 
* * string monitoring_service = 7; - * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService(java.lang.String value) { + public Builder setMonitoringService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6929,18 +6362,15 @@ public Builder setMonitoringService(java.lang.String value) {
      * 
* * string monitoring_service = 7; - * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6954,16 +6384,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 7; - * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -6971,8 +6401,6 @@ public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -6981,13 +6409,13 @@ public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string network = 8; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -6996,8 +6424,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7006,14 +6432,15 @@ public java.lang.String getNetwork() {
      * 
* * string network = 8; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -7021,8 +6448,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7031,22 +6456,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string network = 8; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7055,18 +6478,15 @@ public Builder setNetwork(java.lang.String value) {
      * 
* * string network = 8; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7075,16 +6495,16 @@ public Builder clearNetwork() {
      * 
* * string network = 8; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -7092,8 +6512,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterIpv4Cidr_ = ""; /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7102,13 +6520,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_ipv4_cidr = 9; - * * @return The clusterIpv4Cidr. */ public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -7117,8 +6535,6 @@ public java.lang.String getClusterIpv4Cidr() { } } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7127,14 +6543,15 @@ public java.lang.String getClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; - * * @return The bytes for clusterIpv4Cidr. */ - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -7142,8 +6559,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { } } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7152,22 +6567,20 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() {
      * 
* * string cluster_ipv4_cidr = 9; - * * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4Cidr(java.lang.String value) { + public Builder setClusterIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7176,18 +6589,15 @@ public Builder setClusterIpv4Cidr(java.lang.String value) {
      * 
* * string cluster_ipv4_cidr = 9; - * * @return This builder for chaining. */ public Builder clearClusterIpv4Cidr() { - + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7196,16 +6606,16 @@ public Builder clearClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; - * * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -7213,47 +6623,34 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder> - addonsConfigBuilder_; + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> addonsConfigBuilder_; /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig addons_config = 10; - * * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig addons_config = 10; - * * @return The addonsConfig. */ public com.google.container.v1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7274,15 +6671,14 @@ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig addons_config = 10; */ - public Builder setAddonsConfig(com.google.container.v1.AddonsConfig.Builder builderForValue) { + public Builder setAddonsConfig( + com.google.container.v1.AddonsConfig.Builder builderForValue) { if (addonsConfigBuilder_ == null) { addonsConfig_ = builderForValue.build(); onChanged(); @@ -7293,8 +6689,6 @@ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig.Builder buil return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7305,9 +6699,7 @@ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); } else { addonsConfig_ = value; } @@ -7319,8 +6711,6 @@ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7339,8 +6729,6 @@ public Builder clearAddonsConfig() { return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7348,13 +6736,11 @@ public Builder clearAddonsConfig() { * .google.container.v1.AddonsConfig addons_config = 10; */ public com.google.container.v1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7365,14 +6751,11 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? + com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7380,17 +6763,14 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() * .google.container.v1.AddonsConfig addons_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder> + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder>( - getAddonsConfig(), getParentForChildren(), isClean()); + addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder>( + getAddonsConfig(), + getParentForChildren(), + isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -7398,8 +6778,6 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() private java.lang.Object subnetwork_ = ""; /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7407,13 +6785,13 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder()
      * 
* * string subnetwork = 11; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -7422,8 +6800,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7431,14 +6807,15 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 11; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -7446,8 +6823,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7455,22 +6830,20 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
      * 
* * string subnetwork = 11; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7478,18 +6851,15 @@ public Builder setSubnetwork(java.lang.String value) {
      * 
* * string subnetwork = 11; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7497,40 +6867,34 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 11; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } private java.util.List nodePools_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, - com.google.container.v1.NodePool.Builder, - com.google.container.v1.NodePoolOrBuilder> - nodePoolsBuilder_; + com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> nodePoolsBuilder_; /** - * - * *
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7547,8 +6911,6 @@ public java.util.List getNodePoolsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7565,8 +6927,6 @@ public int getNodePoolsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7583,8 +6943,6 @@ public com.google.container.v1.NodePool getNodePools(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7593,7 +6951,8 @@ public com.google.container.v1.NodePool getNodePools(int index) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public Builder setNodePools(int index, com.google.container.v1.NodePool value) {
+    public Builder setNodePools(
+        int index, com.google.container.v1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7607,8 +6966,6 @@ public Builder setNodePools(int index, com.google.container.v1.NodePool value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7629,8 +6986,6 @@ public Builder setNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7653,8 +7008,6 @@ public Builder addNodePools(com.google.container.v1.NodePool value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7663,7 +7016,8 @@ public Builder addNodePools(com.google.container.v1.NodePool value) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(int index, com.google.container.v1.NodePool value) {
+    public Builder addNodePools(
+        int index, com.google.container.v1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7677,8 +7031,6 @@ public Builder addNodePools(int index, com.google.container.v1.NodePool value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7687,7 +7039,8 @@ public Builder addNodePools(int index, com.google.container.v1.NodePool value) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(com.google.container.v1.NodePool.Builder builderForValue) {
+    public Builder addNodePools(
+        com.google.container.v1.NodePool.Builder builderForValue) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
         nodePools_.add(builderForValue.build());
@@ -7698,8 +7051,6 @@ public Builder addNodePools(com.google.container.v1.NodePool.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7720,8 +7071,6 @@ public Builder addNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7734,7 +7083,8 @@ public Builder addAllNodePools(
         java.lang.Iterable values) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, nodePools_);
         onChanged();
       } else {
         nodePoolsBuilder_.addAllMessages(values);
@@ -7742,8 +7092,6 @@ public Builder addAllNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7763,8 +7111,6 @@ public Builder clearNodePools() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7784,8 +7130,6 @@ public Builder removeNodePools(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7794,12 +7138,11 @@ public Builder removeNodePools(int index) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(int index) {
+    public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(
+        int index) {
       return getNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7808,16 +7151,14 @@ public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(int index) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
+    public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
+        int index) {
       if (nodePoolsBuilder_ == null) {
-        return nodePools_.get(index);
-      } else {
+        return nodePools_.get(index);  } else {
         return nodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7826,8 +7167,8 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public java.util.List
-        getNodePoolsOrBuilderList() {
+    public java.util.List 
+         getNodePoolsOrBuilderList() {
       if (nodePoolsBuilder_ != null) {
         return nodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -7835,8 +7176,6 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7846,12 +7185,10 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
     public com.google.container.v1.NodePool.Builder addNodePoolsBuilder() {
-      return getNodePoolsFieldBuilder()
-          .addBuilder(com.google.container.v1.NodePool.getDefaultInstance());
+      return getNodePoolsFieldBuilder().addBuilder(
+          com.google.container.v1.NodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7860,13 +7197,12 @@ public com.google.container.v1.NodePool.Builder addNodePoolsBuilder() {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(int index) {
-      return getNodePoolsFieldBuilder()
-          .addBuilder(index, com.google.container.v1.NodePool.getDefaultInstance());
+    public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(
+        int index) {
+      return getNodePoolsFieldBuilder().addBuilder(
+          index, com.google.container.v1.NodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7875,39 +7211,33 @@ public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(int index) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public java.util.List getNodePoolsBuilderList() {
+    public java.util.List 
+         getNodePoolsBuilderList() {
       return getNodePoolsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.NodePool,
-            com.google.container.v1.NodePool.Builder,
-            com.google.container.v1.NodePoolOrBuilder>
+        com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> 
         getNodePoolsFieldBuilder() {
       if (nodePoolsBuilder_ == null) {
-        nodePoolsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1.NodePool,
-                com.google.container.v1.NodePool.Builder,
-                com.google.container.v1.NodePoolOrBuilder>(
-                nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder>(
+                nodePools_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         nodePools_ = null;
       }
       return nodePoolsBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList locations_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureLocationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         locations_ = new com.google.protobuf.LazyStringArrayList(locations_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7921,15 +7251,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7943,15 +7271,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7965,7 +7290,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -7973,8 +7297,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7988,16 +7310,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8011,23 +7331,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8041,22 +7359,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8070,19 +7386,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8096,7 +7411,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 13; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -8106,8 +7420,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8121,25 +7433,23 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } - private boolean enableKubernetesAlpha_; + private boolean enableKubernetesAlpha_ ; /** - * - * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -8150,7 +7460,6 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) {
      * 
* * bool enable_kubernetes_alpha = 14; - * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -8158,8 +7467,6 @@ public boolean getEnableKubernetesAlpha() { return enableKubernetesAlpha_; } /** - * - * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -8170,19 +7477,16 @@ public boolean getEnableKubernetesAlpha() {
      * 
* * bool enable_kubernetes_alpha = 14; - * * @param value The enableKubernetesAlpha to set. * @return This builder for chaining. */ public Builder setEnableKubernetesAlpha(boolean value) { - + enableKubernetesAlpha_ = value; onChanged(); return this; } /** - * - * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -8193,34 +7497,31 @@ public Builder setEnableKubernetesAlpha(boolean value) {
      * 
* * bool enable_kubernetes_alpha = 14; - * * @return This builder for chaining. */ public Builder clearEnableKubernetesAlpha() { - + enableKubernetesAlpha_ = false; onChanged(); return this; } - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } - private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged(); - ; + internalGetMutableResourceLabels() { + onChanged();; if (resourceLabels_ == null) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -8232,8 +7533,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8241,22 +7540,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 15;
      */
+
     @java.lang.Override
-    public boolean containsResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getResourceLabelsMap()} instead. */
+    /**
+     * Use {@link #getResourceLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8265,12 +7564,11 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
+
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8279,17 +7577,16 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
+
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8298,11 +7595,12 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+
+    public java.lang.String getResourceLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -8310,12 +7608,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap().clear();
+      internalGetMutableResourceLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8323,21 +7620,23 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder removeResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableResourceLabels().getMutableMap().remove(key);
+
+    public Builder removeResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableResourceLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableResourceLabels() {
+    public java.util.Map
+    getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8345,20 +7644,19 @@ public java.util.Map getMutableResourceLabel
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putResourceLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableResourceLabels().getMutableMap().put(key, value);
+      internalGetMutableResourceLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8366,27 +7664,28 @@ public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder putAllResourceLabels(java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap().putAll(values);
+
+    public Builder putAllResourceLabels(
+        java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private java.lang.Object labelFingerprint_ = "";
     /**
-     *
-     *
      * 
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @return The labelFingerprint. */ public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; @@ -8395,21 +7694,20 @@ public java.lang.String getLabelFingerprint() { } } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -8417,61 +7715,54 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { } } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint(java.lang.String value) { + public Builder setLabelFingerprint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -8479,47 +7770,34 @@ public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.LegacyAbac legacyAbac_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LegacyAbac, - com.google.container.v1.LegacyAbac.Builder, - com.google.container.v1.LegacyAbacOrBuilder> - legacyAbacBuilder_; + com.google.container.v1.LegacyAbac, com.google.container.v1.LegacyAbac.Builder, com.google.container.v1.LegacyAbacOrBuilder> legacyAbacBuilder_; /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; - * * @return Whether the legacyAbac field is set. */ public boolean hasLegacyAbac() { return legacyAbacBuilder_ != null || legacyAbac_ != null; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; - * * @return The legacyAbac. */ public com.google.container.v1.LegacyAbac getLegacyAbac() { if (legacyAbacBuilder_ == null) { - return legacyAbac_ == null - ? com.google.container.v1.LegacyAbac.getDefaultInstance() - : legacyAbac_; + return legacyAbac_ == null ? com.google.container.v1.LegacyAbac.getDefaultInstance() : legacyAbac_; } else { return legacyAbacBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8540,15 +7818,14 @@ public Builder setLegacyAbac(com.google.container.v1.LegacyAbac value) { return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; */ - public Builder setLegacyAbac(com.google.container.v1.LegacyAbac.Builder builderForValue) { + public Builder setLegacyAbac( + com.google.container.v1.LegacyAbac.Builder builderForValue) { if (legacyAbacBuilder_ == null) { legacyAbac_ = builderForValue.build(); onChanged(); @@ -8559,8 +7836,6 @@ public Builder setLegacyAbac(com.google.container.v1.LegacyAbac.Builder builderF return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8571,9 +7846,7 @@ public Builder mergeLegacyAbac(com.google.container.v1.LegacyAbac value) { if (legacyAbacBuilder_ == null) { if (legacyAbac_ != null) { legacyAbac_ = - com.google.container.v1.LegacyAbac.newBuilder(legacyAbac_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.LegacyAbac.newBuilder(legacyAbac_).mergeFrom(value).buildPartial(); } else { legacyAbac_ = value; } @@ -8585,8 +7858,6 @@ public Builder mergeLegacyAbac(com.google.container.v1.LegacyAbac value) { return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8605,8 +7876,6 @@ public Builder clearLegacyAbac() { return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8614,13 +7883,11 @@ public Builder clearLegacyAbac() { * .google.container.v1.LegacyAbac legacy_abac = 18; */ public com.google.container.v1.LegacyAbac.Builder getLegacyAbacBuilder() { - + onChanged(); return getLegacyAbacFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8631,14 +7898,11 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { if (legacyAbacBuilder_ != null) { return legacyAbacBuilder_.getMessageOrBuilder(); } else { - return legacyAbac_ == null - ? com.google.container.v1.LegacyAbac.getDefaultInstance() - : legacyAbac_; + return legacyAbac_ == null ? + com.google.container.v1.LegacyAbac.getDefaultInstance() : legacyAbac_; } } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8646,17 +7910,14 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { * .google.container.v1.LegacyAbac legacy_abac = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LegacyAbac, - com.google.container.v1.LegacyAbac.Builder, - com.google.container.v1.LegacyAbacOrBuilder> + com.google.container.v1.LegacyAbac, com.google.container.v1.LegacyAbac.Builder, com.google.container.v1.LegacyAbacOrBuilder> getLegacyAbacFieldBuilder() { if (legacyAbacBuilder_ == null) { - legacyAbacBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LegacyAbac, - com.google.container.v1.LegacyAbac.Builder, - com.google.container.v1.LegacyAbacOrBuilder>( - getLegacyAbac(), getParentForChildren(), isClean()); + legacyAbacBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LegacyAbac, com.google.container.v1.LegacyAbac.Builder, com.google.container.v1.LegacyAbacOrBuilder>( + getLegacyAbac(), + getParentForChildren(), + isClean()); legacyAbac_ = null; } return legacyAbacBuilder_; @@ -8664,47 +7925,34 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { private com.google.container.v1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, - com.google.container.v1.NetworkPolicy.Builder, - com.google.container.v1.NetworkPolicyOrBuilder> - networkPolicyBuilder_; + com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> networkPolicyBuilder_; /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1.NetworkPolicy network_policy = 19; - * * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1.NetworkPolicy network_policy = 19; - * * @return The networkPolicy. */ public com.google.container.v1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null - ? com.google.container.v1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8725,15 +7973,14 @@ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1.NetworkPolicy network_policy = 19; */ - public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy.Builder builderForValue) { + public Builder setNetworkPolicy( + com.google.container.v1.NetworkPolicy.Builder builderForValue) { if (networkPolicyBuilder_ == null) { networkPolicy_ = builderForValue.build(); onChanged(); @@ -8744,8 +7991,6 @@ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy.Builder bu return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8756,9 +8001,7 @@ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); } else { networkPolicy_ = value; } @@ -8770,8 +8013,6 @@ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8790,8 +8031,6 @@ public Builder clearNetworkPolicy() { return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8799,13 +8038,11 @@ public Builder clearNetworkPolicy() { * .google.container.v1.NetworkPolicy network_policy = 19; */ public com.google.container.v1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8816,14 +8053,11 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null - ? com.google.container.v1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? + com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8831,17 +8065,14 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( * .google.container.v1.NetworkPolicy network_policy = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, - com.google.container.v1.NetworkPolicy.Builder, - com.google.container.v1.NetworkPolicyOrBuilder> + com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, - com.google.container.v1.NetworkPolicy.Builder, - com.google.container.v1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), getParentForChildren(), isClean()); + networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), + getParentForChildren(), + isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -8849,47 +8080,34 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( private com.google.container.v1.IPAllocationPolicy ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IPAllocationPolicy, - com.google.container.v1.IPAllocationPolicy.Builder, - com.google.container.v1.IPAllocationPolicyOrBuilder> - ipAllocationPolicyBuilder_; + com.google.container.v1.IPAllocationPolicy, com.google.container.v1.IPAllocationPolicy.Builder, com.google.container.v1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; /** - * - * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return The ipAllocationPolicy. */ public com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null - ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -8910,8 +8128,6 @@ public Builder setIpAllocationPolicy(com.google.container.v1.IPAllocationPolicy return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -8930,8 +8146,6 @@ public Builder setIpAllocationPolicy( return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -8942,9 +8156,7 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1.IPAllocationPolic if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.container.v1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -8956,8 +8168,6 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1.IPAllocationPolic return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -8976,8 +8186,6 @@ public Builder clearIpAllocationPolicy() { return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -8985,13 +8193,11 @@ public Builder clearIpAllocationPolicy() { * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; */ public com.google.container.v1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { - + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9002,14 +8208,11 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null - ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? + com.google.container.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9017,17 +8220,14 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IPAllocationPolicy, - com.google.container.v1.IPAllocationPolicy.Builder, - com.google.container.v1.IPAllocationPolicyOrBuilder> + com.google.container.v1.IPAllocationPolicy, com.google.container.v1.IPAllocationPolicy.Builder, com.google.container.v1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IPAllocationPolicy, - com.google.container.v1.IPAllocationPolicy.Builder, - com.google.container.v1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), getParentForChildren(), isClean()); + ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IPAllocationPolicy, com.google.container.v1.IPAllocationPolicy.Builder, com.google.container.v1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), + getParentForChildren(), + isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; @@ -9035,63 +8235,41 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy private com.google.container.v1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, - com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> - masterAuthorizedNetworksConfigBuilder_; + com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> masterAuthorizedNetworksConfigBuilder_; /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return Whether the masterAuthorizedNetworksConfig field is set. */ public boolean hasMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfigBuilder_ != null - || masterAuthorizedNetworksConfig_ != null; + return masterAuthorizedNetworksConfigBuilder_ != null || masterAuthorizedNetworksConfig_ != null; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return The masterAuthorizedNetworksConfig. */ - public com.google.container.v1.MasterAuthorizedNetworksConfig - getMasterAuthorizedNetworksConfig() { + public com.google.container.v1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - return masterAuthorizedNetworksConfig_ == null - ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; } else { return masterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public Builder setMasterAuthorizedNetworksConfig( - com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder setMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9105,15 +8283,11 @@ public Builder setMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ public Builder setMasterAuthorizedNetworksConfig( com.google.container.v1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -9127,25 +8301,17 @@ public Builder setMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public Builder mergeMasterAuthorizedNetworksConfig( - com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder mergeMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (masterAuthorizedNetworksConfig_ != null) { masterAuthorizedNetworksConfig_ = - com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder( - masterAuthorizedNetworksConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder(masterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); } else { masterAuthorizedNetworksConfig_ = value; } @@ -9157,15 +8323,11 @@ public Builder mergeMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ public Builder clearMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { @@ -9179,66 +8341,48 @@ public Builder clearMasterAuthorizedNetworksConfig() { return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder - getMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder getMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder - getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { if (masterAuthorizedNetworksConfigBuilder_ != null) { return masterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return masterAuthorizedNetworksConfig_ == null - ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null ? + com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; } } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, - com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> getMasterAuthorizedNetworksConfigFieldBuilder() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - masterAuthorizedNetworksConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, - com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( - getMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); + masterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( + getMasterAuthorizedNetworksConfig(), + getParentForChildren(), + isClean()); masterAuthorizedNetworksConfig_ = null; } return masterAuthorizedNetworksConfigBuilder_; @@ -9246,47 +8390,34 @@ public Builder clearMasterAuthorizedNetworksConfig() { private com.google.container.v1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, - com.google.container.v1.MaintenancePolicy.Builder, - com.google.container.v1.MaintenancePolicyOrBuilder> - maintenancePolicyBuilder_; + com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; - * * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; - * * @return The maintenancePolicy. */ public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null - ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9307,8 +8438,6 @@ public Builder setMaintenancePolicy(com.google.container.v1.MaintenancePolicy va return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9327,8 +8456,6 @@ public Builder setMaintenancePolicy( return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9339,9 +8466,7 @@ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); } else { maintenancePolicy_ = value; } @@ -9353,8 +8478,6 @@ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9373,8 +8496,6 @@ public Builder clearMaintenancePolicy() { return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9382,13 +8503,11 @@ public Builder clearMaintenancePolicy() { * .google.container.v1.MaintenancePolicy maintenance_policy = 23; */ public com.google.container.v1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9399,14 +8518,11 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null - ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? + com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9414,17 +8530,14 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr * .google.container.v1.MaintenancePolicy maintenance_policy = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, - com.google.container.v1.MaintenancePolicy.Builder, - com.google.container.v1.MaintenancePolicyOrBuilder> + com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, - com.google.container.v1.MaintenancePolicy.Builder, - com.google.container.v1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), getParentForChildren(), isClean()); + maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), + getParentForChildren(), + isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -9432,47 +8545,34 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr private com.google.container.v1.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, - com.google.container.v1.BinaryAuthorization.Builder, - com.google.container.v1.BinaryAuthorizationOrBuilder> - binaryAuthorizationBuilder_; + com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; /** - * - * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; - * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return binaryAuthorizationBuilder_ != null || binaryAuthorization_ != null; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; - * * @return The binaryAuthorization. */ public com.google.container.v1.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null - ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -9493,8 +8593,6 @@ public Builder setBinaryAuthorization(com.google.container.v1.BinaryAuthorizatio return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -9513,8 +8611,6 @@ public Builder setBinaryAuthorization( return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -9525,9 +8621,7 @@ public Builder mergeBinaryAuthorization(com.google.container.v1.BinaryAuthorizat if (binaryAuthorizationBuilder_ == null) { if (binaryAuthorization_ != null) { binaryAuthorization_ = - com.google.container.v1.BinaryAuthorization.newBuilder(binaryAuthorization_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.BinaryAuthorization.newBuilder(binaryAuthorization_).mergeFrom(value).buildPartial(); } else { binaryAuthorization_ = value; } @@ -9539,8 +8633,6 @@ public Builder mergeBinaryAuthorization(com.google.container.v1.BinaryAuthorizat return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -9559,8 +8651,6 @@ public Builder clearBinaryAuthorization() { return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -9568,13 +8658,11 @@ public Builder clearBinaryAuthorization() { * .google.container.v1.BinaryAuthorization binary_authorization = 24; */ public com.google.container.v1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { - + onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -9585,14 +8673,11 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null - ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? + com.google.container.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -9600,17 +8685,14 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati * .google.container.v1.BinaryAuthorization binary_authorization = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, - com.google.container.v1.BinaryAuthorization.Builder, - com.google.container.v1.BinaryAuthorizationOrBuilder> + com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, - com.google.container.v1.BinaryAuthorization.Builder, - com.google.container.v1.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), getParentForChildren(), isClean()); + binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), + getParentForChildren(), + isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; @@ -9618,47 +8700,34 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati private com.google.container.v1.ClusterAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, - com.google.container.v1.ClusterAutoscaling.Builder, - com.google.container.v1.ClusterAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; - * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; - * * @return The autoscaling. */ public com.google.container.v1.ClusterAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9679,8 +8748,6 @@ public Builder setAutoscaling(com.google.container.v1.ClusterAutoscaling value) return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9699,8 +8766,6 @@ public Builder setAutoscaling( return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9711,9 +8776,7 @@ public Builder mergeAutoscaling(com.google.container.v1.ClusterAutoscaling value if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1.ClusterAutoscaling.newBuilder(autoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ClusterAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); } else { autoscaling_ = value; } @@ -9725,8 +8788,6 @@ public Builder mergeAutoscaling(com.google.container.v1.ClusterAutoscaling value return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9745,8 +8806,6 @@ public Builder clearAutoscaling() { return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9754,13 +8813,11 @@ public Builder clearAutoscaling() { * .google.container.v1.ClusterAutoscaling autoscaling = 26; */ public com.google.container.v1.ClusterAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9771,14 +8828,11 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null - ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? + com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9786,17 +8840,14 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild * .google.container.v1.ClusterAutoscaling autoscaling = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, - com.google.container.v1.ClusterAutoscaling.Builder, - com.google.container.v1.ClusterAutoscalingOrBuilder> + com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, - com.google.container.v1.ClusterAutoscaling.Builder, - com.google.container.v1.ClusterAutoscalingOrBuilder>( - getAutoscaling(), getParentForChildren(), isClean()); + autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder>( + getAutoscaling(), + getParentForChildren(), + isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -9804,47 +8855,34 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild private com.google.container.v1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkConfig, - com.google.container.v1.NetworkConfig.Builder, - com.google.container.v1.NetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.container.v1.NetworkConfig, com.google.container.v1.NetworkConfig.Builder, com.google.container.v1.NetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1.NetworkConfig network_config = 27; - * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** - * - * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1.NetworkConfig network_config = 27; - * * @return The networkConfig. */ public com.google.container.v1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.container.v1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1.NetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -9865,15 +8903,14 @@ public Builder setNetworkConfig(com.google.container.v1.NetworkConfig value) { return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1.NetworkConfig network_config = 27; */ - public Builder setNetworkConfig(com.google.container.v1.NetworkConfig.Builder builderForValue) { + public Builder setNetworkConfig( + com.google.container.v1.NetworkConfig.Builder builderForValue) { if (networkConfigBuilder_ == null) { networkConfig_ = builderForValue.build(); onChanged(); @@ -9884,8 +8921,6 @@ public Builder setNetworkConfig(com.google.container.v1.NetworkConfig.Builder bu return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -9896,9 +8931,7 @@ public Builder mergeNetworkConfig(com.google.container.v1.NetworkConfig value) { if (networkConfigBuilder_ == null) { if (networkConfig_ != null) { networkConfig_ = - com.google.container.v1.NetworkConfig.newBuilder(networkConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial(); } else { networkConfig_ = value; } @@ -9910,8 +8943,6 @@ public Builder mergeNetworkConfig(com.google.container.v1.NetworkConfig value) { return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -9930,8 +8961,6 @@ public Builder clearNetworkConfig() { return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -9939,13 +8968,11 @@ public Builder clearNetworkConfig() { * .google.container.v1.NetworkConfig network_config = 27; */ public com.google.container.v1.NetworkConfig.Builder getNetworkConfigBuilder() { - + onChanged(); return getNetworkConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -9956,14 +8983,11 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null - ? com.google.container.v1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? + com.google.container.v1.NetworkConfig.getDefaultInstance() : networkConfig_; } } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -9971,17 +8995,14 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( * .google.container.v1.NetworkConfig network_config = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkConfig, - com.google.container.v1.NetworkConfig.Builder, - com.google.container.v1.NetworkConfigOrBuilder> + com.google.container.v1.NetworkConfig, com.google.container.v1.NetworkConfig.Builder, com.google.container.v1.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkConfig, - com.google.container.v1.NetworkConfig.Builder, - com.google.container.v1.NetworkConfigOrBuilder>( - getNetworkConfig(), getParentForChildren(), isClean()); + networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkConfig, com.google.container.v1.NetworkConfig.Builder, com.google.container.v1.NetworkConfigOrBuilder>( + getNetworkConfig(), + getParentForChildren(), + isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -9989,13 +9010,8 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( private com.google.container.v1.MaxPodsConstraint defaultMaxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaxPodsConstraint, - com.google.container.v1.MaxPodsConstraint.Builder, - com.google.container.v1.MaxPodsConstraintOrBuilder> - defaultMaxPodsConstraintBuilder_; + com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> defaultMaxPodsConstraintBuilder_; /** - * - * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10003,15 +9019,12 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(
      * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return Whether the defaultMaxPodsConstraint field is set. */ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraintBuilder_ != null || defaultMaxPodsConstraint_ != null; } /** - * - * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10019,21 +9032,16 @@ public boolean hasDefaultMaxPodsConstraint() {
      * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return The defaultMaxPodsConstraint. */ public com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint() { if (defaultMaxPodsConstraintBuilder_ == null) { - return defaultMaxPodsConstraint_ == null - ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() - : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; } else { return defaultMaxPodsConstraintBuilder_.getMessage(); } } /** - * - * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10056,8 +9064,6 @@ public Builder setDefaultMaxPodsConstraint(com.google.container.v1.MaxPodsConstr
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10078,8 +9084,6 @@ public Builder setDefaultMaxPodsConstraint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10092,9 +9096,7 @@ public Builder mergeDefaultMaxPodsConstraint(com.google.container.v1.MaxPodsCons
       if (defaultMaxPodsConstraintBuilder_ == null) {
         if (defaultMaxPodsConstraint_ != null) {
           defaultMaxPodsConstraint_ =
-              com.google.container.v1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_).mergeFrom(value).buildPartial();
         } else {
           defaultMaxPodsConstraint_ = value;
         }
@@ -10106,8 +9108,6 @@ public Builder mergeDefaultMaxPodsConstraint(com.google.container.v1.MaxPodsCons
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10128,8 +9128,6 @@ public Builder clearDefaultMaxPodsConstraint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10139,13 +9137,11 @@ public Builder clearDefaultMaxPodsConstraint() {
      * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
     public com.google.container.v1.MaxPodsConstraint.Builder getDefaultMaxPodsConstraintBuilder() {
-
+      
       onChanged();
       return getDefaultMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10154,19 +9150,15 @@ public com.google.container.v1.MaxPodsConstraint.Builder getDefaultMaxPodsConstr
      *
      * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public com.google.container.v1.MaxPodsConstraintOrBuilder
-        getDefaultMaxPodsConstraintOrBuilder() {
+    public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder() {
       if (defaultMaxPodsConstraintBuilder_ != null) {
         return defaultMaxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return defaultMaxPodsConstraint_ == null
-            ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance()
-            : defaultMaxPodsConstraint_;
+        return defaultMaxPodsConstraint_ == null ?
+            com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_;
       }
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10176,17 +9168,14 @@ public com.google.container.v1.MaxPodsConstraint.Builder getDefaultMaxPodsConstr
      * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MaxPodsConstraint,
-            com.google.container.v1.MaxPodsConstraint.Builder,
-            com.google.container.v1.MaxPodsConstraintOrBuilder>
+        com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> 
         getDefaultMaxPodsConstraintFieldBuilder() {
       if (defaultMaxPodsConstraintBuilder_ == null) {
-        defaultMaxPodsConstraintBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.MaxPodsConstraint,
-                com.google.container.v1.MaxPodsConstraint.Builder,
-                com.google.container.v1.MaxPodsConstraintOrBuilder>(
-                getDefaultMaxPodsConstraint(), getParentForChildren(), isClean());
+        defaultMaxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder>(
+                getDefaultMaxPodsConstraint(),
+                getParentForChildren(),
+                isClean());
         defaultMaxPodsConstraint_ = null;
       }
       return defaultMaxPodsConstraintBuilder_;
@@ -10194,61 +9183,44 @@ public com.google.container.v1.MaxPodsConstraint.Builder getDefaultMaxPodsConstr
 
     private com.google.container.v1.ResourceUsageExportConfig resourceUsageExportConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ResourceUsageExportConfig,
-            com.google.container.v1.ResourceUsageExportConfig.Builder,
-            com.google.container.v1.ResourceUsageExportConfigOrBuilder>
-        resourceUsageExportConfigBuilder_;
+        com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> resourceUsageExportConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return Whether the resourceUsageExportConfig field is set. */ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfigBuilder_ != null || resourceUsageExportConfig_ != null; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return The resourceUsageExportConfig. */ public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { - return resourceUsageExportConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() - : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; } else { return resourceUsageExportConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public Builder setResourceUsageExportConfig( - com.google.container.v1.ResourceUsageExportConfig value) { + public Builder setResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10262,15 +9234,12 @@ public Builder setResourceUsageExportConfig( return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ public Builder setResourceUsageExportConfig( com.google.container.v1.ResourceUsageExportConfig.Builder builderForValue) { @@ -10284,25 +9253,18 @@ public Builder setResourceUsageExportConfig( return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public Builder mergeResourceUsageExportConfig( - com.google.container.v1.ResourceUsageExportConfig value) { + public Builder mergeResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (resourceUsageExportConfig_ != null) { resourceUsageExportConfig_ = - com.google.container.v1.ResourceUsageExportConfig.newBuilder( - resourceUsageExportConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.newBuilder(resourceUsageExportConfig_).mergeFrom(value).buildPartial(); } else { resourceUsageExportConfig_ = value; } @@ -10314,15 +9276,12 @@ public Builder mergeResourceUsageExportConfig( return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ public Builder clearResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { @@ -10336,66 +9295,51 @@ public Builder clearResourceUsageExportConfig() { return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public com.google.container.v1.ResourceUsageExportConfig.Builder - getResourceUsageExportConfigBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.Builder getResourceUsageExportConfigBuilder() { + onChanged(); return getResourceUsageExportConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public com.google.container.v1.ResourceUsageExportConfigOrBuilder - getResourceUsageExportConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() { if (resourceUsageExportConfigBuilder_ != null) { return resourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return resourceUsageExportConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() - : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null ? + com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; } } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, - com.google.container.v1.ResourceUsageExportConfig.Builder, - com.google.container.v1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> getResourceUsageExportConfigFieldBuilder() { if (resourceUsageExportConfigBuilder_ == null) { - resourceUsageExportConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, - com.google.container.v1.ResourceUsageExportConfig.Builder, - com.google.container.v1.ResourceUsageExportConfigOrBuilder>( - getResourceUsageExportConfig(), getParentForChildren(), isClean()); + resourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder>( + getResourceUsageExportConfig(), + getParentForChildren(), + isClean()); resourceUsageExportConfig_ = null; } return resourceUsageExportConfigBuilder_; @@ -10403,55 +9347,41 @@ public Builder clearResourceUsageExportConfig() { private com.google.container.v1.AuthenticatorGroupsConfig authenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, - com.google.container.v1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> - authenticatorGroupsConfigBuilder_; + com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> authenticatorGroupsConfigBuilder_; /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * * @return Whether the authenticatorGroupsConfig field is set. */ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfigBuilder_ != null || authenticatorGroupsConfig_ != null; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * * @return The authenticatorGroupsConfig. */ public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { if (authenticatorGroupsConfigBuilder_ == null) { - return authenticatorGroupsConfig_ == null - ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() - : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; } else { return authenticatorGroupsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public Builder setAuthenticatorGroupsConfig( - com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder setAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10465,8 +9395,6 @@ public Builder setAuthenticatorGroupsConfig( return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
@@ -10485,23 +9413,17 @@ public Builder setAuthenticatorGroupsConfig( return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public Builder mergeAuthenticatorGroupsConfig( - com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder mergeAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (authenticatorGroupsConfig_ != null) { authenticatorGroupsConfig_ = - com.google.container.v1.AuthenticatorGroupsConfig.newBuilder( - authenticatorGroupsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AuthenticatorGroupsConfig.newBuilder(authenticatorGroupsConfig_).mergeFrom(value).buildPartial(); } else { authenticatorGroupsConfig_ = value; } @@ -10513,8 +9435,6 @@ public Builder mergeAuthenticatorGroupsConfig( return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
@@ -10533,42 +9453,33 @@ public Builder clearAuthenticatorGroupsConfig() { return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public com.google.container.v1.AuthenticatorGroupsConfig.Builder - getAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1.AuthenticatorGroupsConfig.Builder getAuthenticatorGroupsConfigBuilder() { + onChanged(); return getAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder - getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { if (authenticatorGroupsConfigBuilder_ != null) { return authenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return authenticatorGroupsConfig_ == null - ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() - : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null ? + com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; } } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
@@ -10576,17 +9487,14 @@ public Builder clearAuthenticatorGroupsConfig() { * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, - com.google.container.v1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> getAuthenticatorGroupsConfigFieldBuilder() { if (authenticatorGroupsConfigBuilder_ == null) { - authenticatorGroupsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, - com.google.container.v1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( - getAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); + authenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( + getAuthenticatorGroupsConfig(), + getParentForChildren(), + isClean()); authenticatorGroupsConfig_ = null; } return authenticatorGroupsConfigBuilder_; @@ -10594,47 +9502,34 @@ public Builder clearAuthenticatorGroupsConfig() { private com.google.container.v1.PrivateClusterConfig privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, - com.google.container.v1.PrivateClusterConfig.Builder, - com.google.container.v1.PrivateClusterConfigOrBuilder> - privateClusterConfigBuilder_; + com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; - * * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; - * * @return The privateClusterConfig. */ public com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null - ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -10655,8 +9550,6 @@ public Builder setPrivateClusterConfig(com.google.container.v1.PrivateClusterCon return this; } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -10675,8 +9568,6 @@ public Builder setPrivateClusterConfig( return this; } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -10687,9 +9578,7 @@ public Builder mergePrivateClusterConfig(com.google.container.v1.PrivateClusterC if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.container.v1.PrivateClusterConfig.newBuilder(privateClusterConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); } else { privateClusterConfig_ = value; } @@ -10701,8 +9590,6 @@ public Builder mergePrivateClusterConfig(com.google.container.v1.PrivateClusterC return this; } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -10721,8 +9608,6 @@ public Builder clearPrivateClusterConfig() { return this; } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -10730,32 +9615,26 @@ public Builder clearPrivateClusterConfig() { * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; */ public com.google.container.v1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { - + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; */ - public com.google.container.v1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder() { + public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null - ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? + com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -10763,17 +9642,14 @@ public com.google.container.v1.PrivateClusterConfig.Builder getPrivateClusterCon * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, - com.google.container.v1.PrivateClusterConfig.Builder, - com.google.container.v1.PrivateClusterConfigOrBuilder> + com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, - com.google.container.v1.PrivateClusterConfig.Builder, - com.google.container.v1.PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), getParentForChildren(), isClean()); + privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), + getParentForChildren(), + isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -10781,47 +9657,34 @@ public com.google.container.v1.PrivateClusterConfig.Builder getPrivateClusterCon private com.google.container.v1.DatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, - com.google.container.v1.DatabaseEncryption.Builder, - com.google.container.v1.DatabaseEncryptionOrBuilder> - databaseEncryptionBuilder_; + com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; - * * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return databaseEncryptionBuilder_ != null || databaseEncryption_ != null; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; - * * @return The databaseEncryption. */ public com.google.container.v1.DatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null - ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -10842,8 +9705,6 @@ public Builder setDatabaseEncryption(com.google.container.v1.DatabaseEncryption return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -10862,8 +9723,6 @@ public Builder setDatabaseEncryption( return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -10874,9 +9733,7 @@ public Builder mergeDatabaseEncryption(com.google.container.v1.DatabaseEncryptio if (databaseEncryptionBuilder_ == null) { if (databaseEncryption_ != null) { databaseEncryption_ = - com.google.container.v1.DatabaseEncryption.newBuilder(databaseEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.DatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); } else { databaseEncryption_ = value; } @@ -10888,8 +9745,6 @@ public Builder mergeDatabaseEncryption(com.google.container.v1.DatabaseEncryptio return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -10908,8 +9763,6 @@ public Builder clearDatabaseEncryption() { return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -10917,13 +9770,11 @@ public Builder clearDatabaseEncryption() { * .google.container.v1.DatabaseEncryption database_encryption = 38; */ public com.google.container.v1.DatabaseEncryption.Builder getDatabaseEncryptionBuilder() { - + onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -10934,14 +9785,11 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null - ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? + com.google.container.v1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; } } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -10949,17 +9797,14 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption * .google.container.v1.DatabaseEncryption database_encryption = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, - com.google.container.v1.DatabaseEncryption.Builder, - com.google.container.v1.DatabaseEncryptionOrBuilder> + com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, - com.google.container.v1.DatabaseEncryption.Builder, - com.google.container.v1.DatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), getParentForChildren(), isClean()); + databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), + getParentForChildren(), + isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; @@ -10967,47 +9812,34 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption private com.google.container.v1.VerticalPodAutoscaling verticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, - com.google.container.v1.VerticalPodAutoscaling.Builder, - com.google.container.v1.VerticalPodAutoscalingOrBuilder> - verticalPodAutoscalingBuilder_; + com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> verticalPodAutoscalingBuilder_; /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return Whether the verticalPodAutoscaling field is set. */ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscalingBuilder_ != null || verticalPodAutoscaling_ != null; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return The verticalPodAutoscaling. */ public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling() { if (verticalPodAutoscalingBuilder_ == null) { - return verticalPodAutoscaling_ == null - ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() - : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; } else { return verticalPodAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -11028,8 +9860,6 @@ public Builder setVerticalPodAutoscaling(com.google.container.v1.VerticalPodAuto return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -11048,22 +9878,17 @@ public Builder setVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public Builder mergeVerticalPodAutoscaling( - com.google.container.v1.VerticalPodAutoscaling value) { + public Builder mergeVerticalPodAutoscaling(com.google.container.v1.VerticalPodAutoscaling value) { if (verticalPodAutoscalingBuilder_ == null) { if (verticalPodAutoscaling_ != null) { verticalPodAutoscaling_ = - com.google.container.v1.VerticalPodAutoscaling.newBuilder(verticalPodAutoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.VerticalPodAutoscaling.newBuilder(verticalPodAutoscaling_).mergeFrom(value).buildPartial(); } else { verticalPodAutoscaling_ = value; } @@ -11075,8 +9900,6 @@ public Builder mergeVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -11095,42 +9918,33 @@ public Builder clearVerticalPodAutoscaling() { return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1.VerticalPodAutoscaling.Builder - getVerticalPodAutoscalingBuilder() { - + public com.google.container.v1.VerticalPodAutoscaling.Builder getVerticalPodAutoscalingBuilder() { + onChanged(); return getVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1.VerticalPodAutoscalingOrBuilder - getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { if (verticalPodAutoscalingBuilder_ != null) { return verticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return verticalPodAutoscaling_ == null - ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() - : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null ? + com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -11138,17 +9952,14 @@ public Builder clearVerticalPodAutoscaling() { * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, - com.google.container.v1.VerticalPodAutoscaling.Builder, - com.google.container.v1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> getVerticalPodAutoscalingFieldBuilder() { if (verticalPodAutoscalingBuilder_ == null) { - verticalPodAutoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, - com.google.container.v1.VerticalPodAutoscaling.Builder, - com.google.container.v1.VerticalPodAutoscalingOrBuilder>( - getVerticalPodAutoscaling(), getParentForChildren(), isClean()); + verticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder>( + getVerticalPodAutoscaling(), + getParentForChildren(), + isClean()); verticalPodAutoscaling_ = null; } return verticalPodAutoscalingBuilder_; @@ -11156,47 +9967,34 @@ public Builder clearVerticalPodAutoscaling() { private com.google.container.v1.ShieldedNodes shieldedNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, - com.google.container.v1.ShieldedNodes.Builder, - com.google.container.v1.ShieldedNodesOrBuilder> - shieldedNodesBuilder_; + com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> shieldedNodesBuilder_; /** - * - * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; - * * @return Whether the shieldedNodes field is set. */ public boolean hasShieldedNodes() { return shieldedNodesBuilder_ != null || shieldedNodes_ != null; } /** - * - * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; - * * @return The shieldedNodes. */ public com.google.container.v1.ShieldedNodes getShieldedNodes() { if (shieldedNodesBuilder_ == null) { - return shieldedNodes_ == null - ? com.google.container.v1.ShieldedNodes.getDefaultInstance() - : shieldedNodes_; + return shieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; } else { return shieldedNodesBuilder_.getMessage(); } } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -11217,15 +10015,14 @@ public Builder setShieldedNodes(com.google.container.v1.ShieldedNodes value) { return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; */ - public Builder setShieldedNodes(com.google.container.v1.ShieldedNodes.Builder builderForValue) { + public Builder setShieldedNodes( + com.google.container.v1.ShieldedNodes.Builder builderForValue) { if (shieldedNodesBuilder_ == null) { shieldedNodes_ = builderForValue.build(); onChanged(); @@ -11236,8 +10033,6 @@ public Builder setShieldedNodes(com.google.container.v1.ShieldedNodes.Builder bu return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -11248,9 +10043,7 @@ public Builder mergeShieldedNodes(com.google.container.v1.ShieldedNodes value) { if (shieldedNodesBuilder_ == null) { if (shieldedNodes_ != null) { shieldedNodes_ = - com.google.container.v1.ShieldedNodes.newBuilder(shieldedNodes_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ShieldedNodes.newBuilder(shieldedNodes_).mergeFrom(value).buildPartial(); } else { shieldedNodes_ = value; } @@ -11262,8 +10055,6 @@ public Builder mergeShieldedNodes(com.google.container.v1.ShieldedNodes value) { return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -11282,8 +10073,6 @@ public Builder clearShieldedNodes() { return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -11291,13 +10080,11 @@ public Builder clearShieldedNodes() { * .google.container.v1.ShieldedNodes shielded_nodes = 40; */ public com.google.container.v1.ShieldedNodes.Builder getShieldedNodesBuilder() { - + onChanged(); return getShieldedNodesFieldBuilder().getBuilder(); } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -11308,14 +10095,11 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( if (shieldedNodesBuilder_ != null) { return shieldedNodesBuilder_.getMessageOrBuilder(); } else { - return shieldedNodes_ == null - ? com.google.container.v1.ShieldedNodes.getDefaultInstance() - : shieldedNodes_; + return shieldedNodes_ == null ? + com.google.container.v1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; } } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -11323,17 +10107,14 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( * .google.container.v1.ShieldedNodes shielded_nodes = 40; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, - com.google.container.v1.ShieldedNodes.Builder, - com.google.container.v1.ShieldedNodesOrBuilder> + com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> getShieldedNodesFieldBuilder() { if (shieldedNodesBuilder_ == null) { - shieldedNodesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, - com.google.container.v1.ShieldedNodes.Builder, - com.google.container.v1.ShieldedNodesOrBuilder>( - getShieldedNodes(), getParentForChildren(), isClean()); + shieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder>( + getShieldedNodes(), + getParentForChildren(), + isClean()); shieldedNodes_ = null; } return shieldedNodesBuilder_; @@ -11341,47 +10122,34 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( private com.google.container.v1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, - com.google.container.v1.ReleaseChannel.Builder, - com.google.container.v1.ReleaseChannelOrBuilder> - releaseChannelBuilder_; + com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> releaseChannelBuilder_; /** - * - * *
      * Release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 41; - * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** - * - * *
      * Release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 41; - * * @return The releaseChannel. */ public com.google.container.v1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** - * - * *
      * Release channel configuration.
      * 
@@ -11402,8 +10170,6 @@ public Builder setReleaseChannel(com.google.container.v1.ReleaseChannel value) { return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -11422,8 +10188,6 @@ public Builder setReleaseChannel( return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -11434,9 +10198,7 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value) if (releaseChannelBuilder_ == null) { if (releaseChannel_ != null) { releaseChannel_ = - com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial(); } else { releaseChannel_ = value; } @@ -11448,8 +10210,6 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value) return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -11468,8 +10228,6 @@ public Builder clearReleaseChannel() { return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -11477,13 +10235,11 @@ public Builder clearReleaseChannel() { * .google.container.v1.ReleaseChannel release_channel = 41; */ public com.google.container.v1.ReleaseChannel.Builder getReleaseChannelBuilder() { - + onChanged(); return getReleaseChannelFieldBuilder().getBuilder(); } /** - * - * *
      * Release channel configuration.
      * 
@@ -11494,14 +10250,11 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde if (releaseChannelBuilder_ != null) { return releaseChannelBuilder_.getMessageOrBuilder(); } else { - return releaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? + com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } } /** - * - * *
      * Release channel configuration.
      * 
@@ -11509,17 +10262,14 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde * .google.container.v1.ReleaseChannel release_channel = 41; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, - com.google.container.v1.ReleaseChannel.Builder, - com.google.container.v1.ReleaseChannelOrBuilder> + com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> getReleaseChannelFieldBuilder() { if (releaseChannelBuilder_ == null) { - releaseChannelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, - com.google.container.v1.ReleaseChannel.Builder, - com.google.container.v1.ReleaseChannelOrBuilder>( - getReleaseChannel(), getParentForChildren(), isClean()); + releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder>( + getReleaseChannel(), + getParentForChildren(), + isClean()); releaseChannel_ = null; } return releaseChannelBuilder_; @@ -11527,49 +10277,36 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde private com.google.container.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, - com.google.container.v1.WorkloadIdentityConfig.Builder, - com.google.container.v1.WorkloadIdentityConfigOrBuilder> - workloadIdentityConfigBuilder_; + com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; /** - * - * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfigBuilder_ != null || workloadIdentityConfig_ != null; } /** - * - * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return The workloadIdentityConfig. */ public com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null - ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11591,8 +10328,6 @@ public Builder setWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentit
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11612,8 +10347,6 @@ public Builder setWorkloadIdentityConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11621,14 +10354,11 @@ public Builder setWorkloadIdentityConfig(
      *
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public Builder mergeWorkloadIdentityConfig(
-        com.google.container.v1.WorkloadIdentityConfig value) {
+    public Builder mergeWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentityConfig value) {
       if (workloadIdentityConfigBuilder_ == null) {
         if (workloadIdentityConfig_ != null) {
           workloadIdentityConfig_ =
-              com.google.container.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial();
         } else {
           workloadIdentityConfig_ = value;
         }
@@ -11640,8 +10370,6 @@ public Builder mergeWorkloadIdentityConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11661,8 +10389,6 @@ public Builder clearWorkloadIdentityConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11670,15 +10396,12 @@ public Builder clearWorkloadIdentityConfig() {
      *
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1.WorkloadIdentityConfig.Builder
-        getWorkloadIdentityConfigBuilder() {
-
+    public com.google.container.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() {
+      
       onChanged();
       return getWorkloadIdentityConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11686,19 +10409,15 @@ public Builder clearWorkloadIdentityConfig() {
      *
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1.WorkloadIdentityConfigOrBuilder
-        getWorkloadIdentityConfigOrBuilder() {
+    public com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
       if (workloadIdentityConfigBuilder_ != null) {
         return workloadIdentityConfigBuilder_.getMessageOrBuilder();
       } else {
-        return workloadIdentityConfig_ == null
-            ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance()
-            : workloadIdentityConfig_;
+        return workloadIdentityConfig_ == null ?
+            com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11707,17 +10426,14 @@ public Builder clearWorkloadIdentityConfig() {
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.WorkloadIdentityConfig,
-            com.google.container.v1.WorkloadIdentityConfig.Builder,
-            com.google.container.v1.WorkloadIdentityConfigOrBuilder>
+        com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> 
         getWorkloadIdentityConfigFieldBuilder() {
       if (workloadIdentityConfigBuilder_ == null) {
-        workloadIdentityConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.WorkloadIdentityConfig,
-                com.google.container.v1.WorkloadIdentityConfig.Builder,
-                com.google.container.v1.WorkloadIdentityConfigOrBuilder>(
-                getWorkloadIdentityConfig(), getParentForChildren(), isClean());
+        workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder>(
+                getWorkloadIdentityConfig(),
+                getParentForChildren(),
+                isClean());
         workloadIdentityConfig_ = null;
       }
       return workloadIdentityConfigBuilder_;
@@ -11725,49 +10441,36 @@ public Builder clearWorkloadIdentityConfig() {
 
     private com.google.container.v1.MeshCertificates meshCertificates_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MeshCertificates,
-            com.google.container.v1.MeshCertificates.Builder,
-            com.google.container.v1.MeshCertificatesOrBuilder>
-        meshCertificatesBuilder_;
+        com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> meshCertificatesBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; - * * @return Whether the meshCertificates field is set. */ public boolean hasMeshCertificates() { return meshCertificatesBuilder_ != null || meshCertificates_ != null; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; - * * @return The meshCertificates. */ public com.google.container.v1.MeshCertificates getMeshCertificates() { if (meshCertificatesBuilder_ == null) { - return meshCertificates_ == null - ? com.google.container.v1.MeshCertificates.getDefaultInstance() - : meshCertificates_; + return meshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : meshCertificates_; } else { return meshCertificatesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11789,8 +10492,6 @@ public Builder setMeshCertificates(com.google.container.v1.MeshCertificates valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11810,8 +10511,6 @@ public Builder setMeshCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11823,9 +10522,7 @@ public Builder mergeMeshCertificates(com.google.container.v1.MeshCertificates va
       if (meshCertificatesBuilder_ == null) {
         if (meshCertificates_ != null) {
           meshCertificates_ =
-              com.google.container.v1.MeshCertificates.newBuilder(meshCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.MeshCertificates.newBuilder(meshCertificates_).mergeFrom(value).buildPartial();
         } else {
           meshCertificates_ = value;
         }
@@ -11837,8 +10534,6 @@ public Builder mergeMeshCertificates(com.google.container.v1.MeshCertificates va
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11858,8 +10553,6 @@ public Builder clearMeshCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11868,13 +10561,11 @@ public Builder clearMeshCertificates() {
      * .google.container.v1.MeshCertificates mesh_certificates = 67;
      */
     public com.google.container.v1.MeshCertificates.Builder getMeshCertificatesBuilder() {
-
+      
       onChanged();
       return getMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11886,14 +10577,11 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
       if (meshCertificatesBuilder_ != null) {
         return meshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return meshCertificates_ == null
-            ? com.google.container.v1.MeshCertificates.getDefaultInstance()
-            : meshCertificates_;
+        return meshCertificates_ == null ?
+            com.google.container.v1.MeshCertificates.getDefaultInstance() : meshCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11902,17 +10590,14 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
      * .google.container.v1.MeshCertificates mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MeshCertificates,
-            com.google.container.v1.MeshCertificates.Builder,
-            com.google.container.v1.MeshCertificatesOrBuilder>
+        com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> 
         getMeshCertificatesFieldBuilder() {
       if (meshCertificatesBuilder_ == null) {
-        meshCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.MeshCertificates,
-                com.google.container.v1.MeshCertificates.Builder,
-                com.google.container.v1.MeshCertificatesOrBuilder>(
-                getMeshCertificates(), getParentForChildren(), isClean());
+        meshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder>(
+                getMeshCertificates(),
+                getParentForChildren(),
+                isClean());
         meshCertificates_ = null;
       }
       return meshCertificatesBuilder_;
@@ -11920,47 +10605,34 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
 
     private com.google.container.v1.CostManagementConfig costManagementConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.CostManagementConfig,
-            com.google.container.v1.CostManagementConfig.Builder,
-            com.google.container.v1.CostManagementConfigOrBuilder>
-        costManagementConfigBuilder_;
+        com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> costManagementConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; - * * @return Whether the costManagementConfig field is set. */ public boolean hasCostManagementConfig() { return costManagementConfigBuilder_ != null || costManagementConfig_ != null; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; - * * @return The costManagementConfig. */ public com.google.container.v1.CostManagementConfig getCostManagementConfig() { if (costManagementConfigBuilder_ == null) { - return costManagementConfig_ == null - ? com.google.container.v1.CostManagementConfig.getDefaultInstance() - : costManagementConfig_; + return costManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; } else { return costManagementConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -11981,8 +10653,6 @@ public Builder setCostManagementConfig(com.google.container.v1.CostManagementCon return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -12001,8 +10671,6 @@ public Builder setCostManagementConfig( return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -12013,9 +10681,7 @@ public Builder mergeCostManagementConfig(com.google.container.v1.CostManagementC if (costManagementConfigBuilder_ == null) { if (costManagementConfig_ != null) { costManagementConfig_ = - com.google.container.v1.CostManagementConfig.newBuilder(costManagementConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.CostManagementConfig.newBuilder(costManagementConfig_).mergeFrom(value).buildPartial(); } else { costManagementConfig_ = value; } @@ -12027,8 +10693,6 @@ public Builder mergeCostManagementConfig(com.google.container.v1.CostManagementC return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -12047,8 +10711,6 @@ public Builder clearCostManagementConfig() { return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -12056,32 +10718,26 @@ public Builder clearCostManagementConfig() { * .google.container.v1.CostManagementConfig cost_management_config = 45; */ public com.google.container.v1.CostManagementConfig.Builder getCostManagementConfigBuilder() { - + onChanged(); return getCostManagementConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; */ - public com.google.container.v1.CostManagementConfigOrBuilder - getCostManagementConfigOrBuilder() { + public com.google.container.v1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder() { if (costManagementConfigBuilder_ != null) { return costManagementConfigBuilder_.getMessageOrBuilder(); } else { - return costManagementConfig_ == null - ? com.google.container.v1.CostManagementConfig.getDefaultInstance() - : costManagementConfig_; + return costManagementConfig_ == null ? + com.google.container.v1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; } } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -12089,17 +10745,14 @@ public com.google.container.v1.CostManagementConfig.Builder getCostManagementCon * .google.container.v1.CostManagementConfig cost_management_config = 45; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, - com.google.container.v1.CostManagementConfig.Builder, - com.google.container.v1.CostManagementConfigOrBuilder> + com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> getCostManagementConfigFieldBuilder() { if (costManagementConfigBuilder_ == null) { - costManagementConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, - com.google.container.v1.CostManagementConfig.Builder, - com.google.container.v1.CostManagementConfigOrBuilder>( - getCostManagementConfig(), getParentForChildren(), isClean()); + costManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder>( + getCostManagementConfig(), + getParentForChildren(), + isClean()); costManagementConfig_ = null; } return costManagementConfigBuilder_; @@ -12107,47 +10760,34 @@ public com.google.container.v1.CostManagementConfig.Builder getCostManagementCon private com.google.container.v1.NotificationConfig notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, - com.google.container.v1.NotificationConfig.Builder, - com.google.container.v1.NotificationConfigOrBuilder> - notificationConfigBuilder_; + com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> notificationConfigBuilder_; /** - * - * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1.NotificationConfig notification_config = 49; - * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** - * - * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1.NotificationConfig notification_config = 49; - * * @return The notificationConfig. */ public com.google.container.v1.NotificationConfig getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null - ? com.google.container.v1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -12168,8 +10808,6 @@ public Builder setNotificationConfig(com.google.container.v1.NotificationConfig return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -12188,8 +10826,6 @@ public Builder setNotificationConfig( return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -12200,9 +10836,7 @@ public Builder mergeNotificationConfig(com.google.container.v1.NotificationConfi if (notificationConfigBuilder_ == null) { if (notificationConfig_ != null) { notificationConfig_ = - com.google.container.v1.NotificationConfig.newBuilder(notificationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial(); } else { notificationConfig_ = value; } @@ -12214,8 +10848,6 @@ public Builder mergeNotificationConfig(com.google.container.v1.NotificationConfi return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -12234,8 +10866,6 @@ public Builder clearNotificationConfig() { return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -12243,13 +10873,11 @@ public Builder clearNotificationConfig() { * .google.container.v1.NotificationConfig notification_config = 49; */ public com.google.container.v1.NotificationConfig.Builder getNotificationConfigBuilder() { - + onChanged(); return getNotificationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -12260,14 +10888,11 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig if (notificationConfigBuilder_ != null) { return notificationConfigBuilder_.getMessageOrBuilder(); } else { - return notificationConfig_ == null - ? com.google.container.v1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? + com.google.container.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; } } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -12275,17 +10900,14 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig * .google.container.v1.NotificationConfig notification_config = 49; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, - com.google.container.v1.NotificationConfig.Builder, - com.google.container.v1.NotificationConfigOrBuilder> + com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> getNotificationConfigFieldBuilder() { if (notificationConfigBuilder_ == null) { - notificationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, - com.google.container.v1.NotificationConfig.Builder, - com.google.container.v1.NotificationConfigOrBuilder>( - getNotificationConfig(), getParentForChildren(), isClean()); + notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder>( + getNotificationConfig(), + getParentForChildren(), + isClean()); notificationConfig_ = null; } return notificationConfigBuilder_; @@ -12293,49 +10915,36 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig private com.google.container.v1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfidentialNodes, - com.google.container.v1.ConfidentialNodes.Builder, - com.google.container.v1.ConfidentialNodesOrBuilder> - confidentialNodesBuilder_; + com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; /** - * - * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; - * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** - * - * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; - * * @return The confidentialNodes. */ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null - ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** - * - * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12357,8 +10966,6 @@ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes va
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12378,8 +10985,6 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12391,9 +10996,7 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-              com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -12405,8 +11008,6 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12426,8 +11027,6 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12436,13 +11035,11 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
      */
     public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-
+      
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12454,14 +11051,11 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null
-            ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
-            : confidentialNodes_;
+        return confidentialNodes_ == null ?
+            com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12470,17 +11064,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
      * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfidentialNodes,
-            com.google.container.v1.ConfidentialNodes.Builder,
-            com.google.container.v1.ConfidentialNodesOrBuilder>
+        com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> 
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ConfidentialNodes,
-                com.google.container.v1.ConfidentialNodes.Builder,
-                com.google.container.v1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(), getParentForChildren(), isClean());
+        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(),
+                getParentForChildren(),
+                isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -12488,47 +11079,34 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
 
     private com.google.container.v1.IdentityServiceConfig identityServiceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.IdentityServiceConfig,
-            com.google.container.v1.IdentityServiceConfig.Builder,
-            com.google.container.v1.IdentityServiceConfigOrBuilder>
-        identityServiceConfigBuilder_;
+        com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> identityServiceConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for Identity Service component.
      * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; - * * @return Whether the identityServiceConfig field is set. */ public boolean hasIdentityServiceConfig() { return identityServiceConfigBuilder_ != null || identityServiceConfig_ != null; } /** - * - * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; - * * @return The identityServiceConfig. */ public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() { if (identityServiceConfigBuilder_ == null) { - return identityServiceConfig_ == null - ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() - : identityServiceConfig_; + return identityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; } else { return identityServiceConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -12549,8 +11127,6 @@ public Builder setIdentityServiceConfig(com.google.container.v1.IdentityServiceC return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -12569,8 +11145,6 @@ public Builder setIdentityServiceConfig( return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -12581,9 +11155,7 @@ public Builder mergeIdentityServiceConfig(com.google.container.v1.IdentityServic if (identityServiceConfigBuilder_ == null) { if (identityServiceConfig_ != null) { identityServiceConfig_ = - com.google.container.v1.IdentityServiceConfig.newBuilder(identityServiceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.IdentityServiceConfig.newBuilder(identityServiceConfig_).mergeFrom(value).buildPartial(); } else { identityServiceConfig_ = value; } @@ -12595,8 +11167,6 @@ public Builder mergeIdentityServiceConfig(com.google.container.v1.IdentityServic return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -12615,8 +11185,6 @@ public Builder clearIdentityServiceConfig() { return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -12624,32 +11192,26 @@ public Builder clearIdentityServiceConfig() { * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ public com.google.container.v1.IdentityServiceConfig.Builder getIdentityServiceConfigBuilder() { - + onChanged(); return getIdentityServiceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ - public com.google.container.v1.IdentityServiceConfigOrBuilder - getIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { if (identityServiceConfigBuilder_ != null) { return identityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return identityServiceConfig_ == null - ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() - : identityServiceConfig_; + return identityServiceConfig_ == null ? + com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; } } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -12657,17 +11219,14 @@ public com.google.container.v1.IdentityServiceConfig.Builder getIdentityServiceC * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, - com.google.container.v1.IdentityServiceConfig.Builder, - com.google.container.v1.IdentityServiceConfigOrBuilder> + com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> getIdentityServiceConfigFieldBuilder() { if (identityServiceConfigBuilder_ == null) { - identityServiceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, - com.google.container.v1.IdentityServiceConfig.Builder, - com.google.container.v1.IdentityServiceConfigOrBuilder>( - getIdentityServiceConfig(), getParentForChildren(), isClean()); + identityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder>( + getIdentityServiceConfig(), + getParentForChildren(), + isClean()); identityServiceConfig_ = null; } return identityServiceConfigBuilder_; @@ -12675,20 +11234,18 @@ public com.google.container.v1.IdentityServiceConfig.Builder getIdentityServiceC private java.lang.Object selfLink_ = ""; /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -12697,21 +11254,20 @@ public java.lang.String getSelfLink() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -12719,61 +11275,54 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink(java.lang.String value) { + public Builder setSelfLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -12781,8 +11330,6 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12790,16 +11337,15 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -12808,8 +11354,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12817,17 +11361,17 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -12835,8 +11379,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12844,25 +11386,22 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12870,21 +11409,17 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12892,19 +11427,18 @@ public Builder clearZone() {
      * 
* * string zone = 101 [deprecated = true]; - * - * @deprecated google.container.v1.Cluster.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -12912,8 +11446,6 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object endpoint_ = ""; /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -12923,13 +11455,13 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string endpoint = 102; - * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -12938,8 +11470,6 @@ public java.lang.String getEndpoint() { } } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -12949,14 +11479,15 @@ public java.lang.String getEndpoint() {
      * 
* * string endpoint = 102; - * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -12964,8 +11495,6 @@ public com.google.protobuf.ByteString getEndpointBytes() { } } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -12975,22 +11504,20 @@ public com.google.protobuf.ByteString getEndpointBytes() {
      * 
* * string endpoint = 102; - * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint(java.lang.String value) { + public Builder setEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -13000,18 +11527,15 @@ public Builder setEndpoint(java.lang.String value) {
      * 
* * string endpoint = 102; - * * @return This builder for chaining. */ public Builder clearEndpoint() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); return this; } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -13021,16 +11545,16 @@ public Builder clearEndpoint() {
      * 
* * string endpoint = 102; - * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -13038,8 +11562,6 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object initialClusterVersion_ = ""; /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13055,13 +11577,13 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
      * 
* * string initial_cluster_version = 103; - * * @return The initialClusterVersion. */ public java.lang.String getInitialClusterVersion() { java.lang.Object ref = initialClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; @@ -13070,8 +11592,6 @@ public java.lang.String getInitialClusterVersion() { } } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13087,14 +11607,15 @@ public java.lang.String getInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; - * * @return The bytes for initialClusterVersion. */ - public com.google.protobuf.ByteString getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString + getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -13102,8 +11623,6 @@ public com.google.protobuf.ByteString getInitialClusterVersionBytes() { } } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13119,22 +11638,20 @@ public com.google.protobuf.ByteString getInitialClusterVersionBytes() {
      * 
* * string initial_cluster_version = 103; - * * @param value The initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersion(java.lang.String value) { + public Builder setInitialClusterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + initialClusterVersion_ = value; onChanged(); return this; } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13150,18 +11667,15 @@ public Builder setInitialClusterVersion(java.lang.String value) {
      * 
* * string initial_cluster_version = 103; - * * @return This builder for chaining. */ public Builder clearInitialClusterVersion() { - + initialClusterVersion_ = getDefaultInstance().getInitialClusterVersion(); onChanged(); return this; } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13177,16 +11691,16 @@ public Builder clearInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; - * * @param value The bytes for initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setInitialClusterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + initialClusterVersion_ = value; onChanged(); return this; @@ -13194,20 +11708,18 @@ public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString valu private java.lang.Object currentMasterVersion_ = ""; /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @return The currentMasterVersion. */ public java.lang.String getCurrentMasterVersion() { java.lang.Object ref = currentMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; @@ -13216,21 +11728,20 @@ public java.lang.String getCurrentMasterVersion() { } } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @return The bytes for currentMasterVersion. */ - public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString + getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -13238,61 +11749,54 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { } } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @param value The currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersion(java.lang.String value) { + public Builder setCurrentMasterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentMasterVersion_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @return This builder for chaining. */ public Builder clearCurrentMasterVersion() { - + currentMasterVersion_ = getDefaultInstance().getCurrentMasterVersion(); onChanged(); return this; } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @param value The bytes for currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setCurrentMasterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentMasterVersion_ = value; onChanged(); return this; @@ -13300,8 +11804,6 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value private java.lang.Object currentNodeVersion_ = ""; /** - * - * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -13311,16 +11813,15 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @return The currentNodeVersion. */ - @java.lang.Deprecated - public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; @@ -13329,8 +11830,6 @@ public java.lang.String getCurrentNodeVersion() { } } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -13340,17 +11839,17 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -13358,8 +11857,6 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { } } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -13369,25 +11866,22 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCurrentNodeVersion(java.lang.String value) { + @java.lang.Deprecated public Builder setCurrentNodeVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentNodeVersion_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -13397,21 +11891,17 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearCurrentNodeVersion() { - + @java.lang.Deprecated public Builder clearCurrentNodeVersion() { + currentNodeVersion_ = getDefaultInstance().getCurrentNodeVersion(); onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -13421,19 +11911,18 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setCurrentNodeVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentNodeVersion_ = value; onChanged(); return this; @@ -13441,21 +11930,19 @@ public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) private java.lang.Object createTime_ = ""; /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @return The createTime. */ public java.lang.String getCreateTime() { java.lang.Object ref = createTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; @@ -13464,22 +11951,21 @@ public java.lang.String getCreateTime() { } } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @return The bytes for createTime. */ - public com.google.protobuf.ByteString getCreateTimeBytes() { + public com.google.protobuf.ByteString + getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createTime_ = b; return b; } else { @@ -13487,64 +11973,57 @@ public com.google.protobuf.ByteString getCreateTimeBytes() { } } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @param value The createTime to set. * @return This builder for chaining. */ - public Builder setCreateTime(java.lang.String value) { + public Builder setCreateTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @return This builder for chaining. */ public Builder clearCreateTime() { - + createTime_ = getDefaultInstance().getCreateTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @param value The bytes for createTime to set. * @return This builder for chaining. */ - public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) { + public Builder setCreateTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createTime_ = value; onChanged(); return this; @@ -13552,65 +12031,51 @@ public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; - * * @return The status. */ @java.lang.Override public com.google.container.v1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Cluster.Status result = - com.google.container.v1.Cluster.Status.valueOf(status_); + com.google.container.v1.Cluster.Status result = com.google.container.v1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1.Cluster.Status.UNRECOGNIZED : result; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; - * * @param value The status to set. * @return This builder for chaining. */ @@ -13618,24 +12083,21 @@ public Builder setStatus(com.google.container.v1.Cluster.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -13643,8 +12105,6 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13652,16 +12112,15 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @return The statusMessage. */ - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -13670,8 +12129,6 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13679,17 +12136,17 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -13697,8 +12154,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13706,25 +12161,22 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessage(java.lang.String value) { + @java.lang.Deprecated public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13732,21 +12184,17 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearStatusMessage() { - + @java.lang.Deprecated public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13754,28 +12202,25 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private int nodeIpv4CidrSize_; + private int nodeIpv4CidrSize_ ; /** - * - * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -13784,7 +12229,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 node_ipv4_cidr_size = 109; - * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -13792,8 +12236,6 @@ public int getNodeIpv4CidrSize() { return nodeIpv4CidrSize_; } /** - * - * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -13802,19 +12244,16 @@ public int getNodeIpv4CidrSize() {
      * 
* * int32 node_ipv4_cidr_size = 109; - * * @param value The nodeIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setNodeIpv4CidrSize(int value) { - + nodeIpv4CidrSize_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -13823,11 +12262,10 @@ public Builder setNodeIpv4CidrSize(int value) {
      * 
* * int32 node_ipv4_cidr_size = 109; - * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrSize() { - + nodeIpv4CidrSize_ = 0; onChanged(); return this; @@ -13835,8 +12273,6 @@ public Builder clearNodeIpv4CidrSize() { private java.lang.Object servicesIpv4Cidr_ = ""; /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13846,13 +12282,13 @@ public Builder clearNodeIpv4CidrSize() {
      * 
* * string services_ipv4_cidr = 110; - * * @return The servicesIpv4Cidr. */ public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -13861,8 +12297,6 @@ public java.lang.String getServicesIpv4Cidr() { } } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13872,14 +12306,15 @@ public java.lang.String getServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; - * * @return The bytes for servicesIpv4Cidr. */ - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -13887,8 +12322,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { } } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13898,22 +12331,20 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() {
      * 
* * string services_ipv4_cidr = 110; - * * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4Cidr(java.lang.String value) { + public Builder setServicesIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13923,18 +12354,15 @@ public Builder setServicesIpv4Cidr(java.lang.String value) {
      * 
* * string services_ipv4_cidr = 110; - * * @return This builder for chaining. */ public Builder clearServicesIpv4Cidr() { - + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13944,275 +12372,232 @@ public Builder clearServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; - * * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated - public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setInstanceGroupUrls(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstanceGroupUrls(java.lang.String value) { + @java.lang.Deprecated public Builder addInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllInstanceGroupUrls( + java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceGroupUrls_); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearInstanceGroupUrls() { + @java.lang.Deprecated public Builder clearInstanceGroupUrls() { instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder addInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } - private int currentNodeCount_; + private int currentNodeCount_ ; /** - * - * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1710 + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1710 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getCurrentNodeCount() { + @java.lang.Deprecated public int getCurrentNodeCount() { return currentNodeCount_; } /** - * - * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1710 + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1710 * @param value The currentNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCurrentNodeCount(int value) { - + @java.lang.Deprecated public Builder setCurrentNodeCount(int value) { + currentNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1710 + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1710 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearCurrentNodeCount() { - + @java.lang.Deprecated public Builder clearCurrentNodeCount() { + currentNodeCount_ = 0; onChanged(); return this; @@ -14220,21 +12605,19 @@ public Builder clearCurrentNodeCount() { private java.lang.Object expireTime_ = ""; /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @return The expireTime. */ public java.lang.String getExpireTime() { java.lang.Object ref = expireTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; @@ -14243,22 +12626,21 @@ public java.lang.String getExpireTime() { } } /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @return The bytes for expireTime. */ - public com.google.protobuf.ByteString getExpireTimeBytes() { + public com.google.protobuf.ByteString + getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expireTime_ = b; return b; } else { @@ -14266,64 +12648,57 @@ public com.google.protobuf.ByteString getExpireTimeBytes() { } } /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @param value The expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTime(java.lang.String value) { + public Builder setExpireTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expireTime_ = value; onChanged(); return this; } - /** - * - * + /** *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @return This builder for chaining. */ public Builder clearExpireTime() { - + expireTime_ = getDefaultInstance().getExpireTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @param value The bytes for expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) { + public Builder setExpireTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expireTime_ = value; onChanged(); return this; @@ -14331,8 +12706,6 @@ public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14342,13 +12715,13 @@ public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) {
      * 
* * string location = 114; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -14357,8 +12730,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14368,14 +12739,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 114; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -14383,8 +12755,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14394,22 +12764,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 114; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14419,18 +12787,15 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 114; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14440,31 +12805,28 @@ public Builder clearLocation() {
      * 
* * string location = 114; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private boolean enableTpu_; + private boolean enableTpu_ ; /** - * - * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * 
* * bool enable_tpu = 115; - * * @return The enableTpu. */ @java.lang.Override @@ -14472,36 +12834,30 @@ public boolean getEnableTpu() { return enableTpu_; } /** - * - * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * 
* * bool enable_tpu = 115; - * * @param value The enableTpu to set. * @return This builder for chaining. */ public Builder setEnableTpu(boolean value) { - + enableTpu_ = value; onChanged(); return this; } /** - * - * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * 
* * bool enable_tpu = 115; - * * @return This builder for chaining. */ public Builder clearEnableTpu() { - + enableTpu_ = false; onChanged(); return this; @@ -14509,8 +12865,6 @@ public Builder clearEnableTpu() { private java.lang.Object tpuIpv4CidrBlock_ = ""; /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14518,13 +12872,13 @@ public Builder clearEnableTpu() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -14533,8 +12887,6 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14542,14 +12894,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -14557,8 +12910,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { } } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14566,22 +12917,20 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock(java.lang.String value) { + public Builder setTpuIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14589,18 +12938,15 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14608,40 +12954,34 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; } private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder> - conditionsBuilder_; + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> conditionsBuilder_; /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14656,8 +12996,6 @@ public java.util.List getConditionsList } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14672,8 +13010,6 @@ public int getConditionsCount() { } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14688,15 +13024,14 @@ public com.google.container.v1.StatusCondition getConditions(int index) { } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public Builder setConditions(int index, com.google.container.v1.StatusCondition value) { + public Builder setConditions( + int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14710,8 +13045,6 @@ public Builder setConditions(int index, com.google.container.v1.StatusCondition return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14730,8 +13063,6 @@ public Builder setConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14752,15 +13083,14 @@ public Builder addConditions(com.google.container.v1.StatusCondition value) { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public Builder addConditions(int index, com.google.container.v1.StatusCondition value) { + public Builder addConditions( + int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14774,15 +13104,14 @@ public Builder addConditions(int index, com.google.container.v1.StatusCondition return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public Builder addConditions(com.google.container.v1.StatusCondition.Builder builderForValue) { + public Builder addConditions( + com.google.container.v1.StatusCondition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -14793,8 +13122,6 @@ public Builder addConditions(com.google.container.v1.StatusCondition.Builder bui return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14813,8 +13140,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14825,7 +13150,8 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -14833,8 +13159,6 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14852,8 +13176,6 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14871,44 +13193,39 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public com.google.container.v1.StatusCondition.Builder getConditionsBuilder(int index) { + public com.google.container.v1.StatusCondition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -14916,8 +13233,6 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(i } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -14925,48 +13240,42 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(i * repeated .google.container.v1.StatusCondition conditions = 118; */ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public com.google.container.v1.StatusCondition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); + public com.google.container.v1.StatusCondition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; @@ -14974,47 +13283,34 @@ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder(int private com.google.container.v1.Autopilot autopilot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Autopilot, - com.google.container.v1.Autopilot.Builder, - com.google.container.v1.AutopilotOrBuilder> - autopilotBuilder_; + com.google.container.v1.Autopilot, com.google.container.v1.Autopilot.Builder, com.google.container.v1.AutopilotOrBuilder> autopilotBuilder_; /** - * - * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1.Autopilot autopilot = 128; - * * @return Whether the autopilot field is set. */ public boolean hasAutopilot() { return autopilotBuilder_ != null || autopilot_ != null; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1.Autopilot autopilot = 128; - * * @return The autopilot. */ public com.google.container.v1.Autopilot getAutopilot() { if (autopilotBuilder_ == null) { - return autopilot_ == null - ? com.google.container.v1.Autopilot.getDefaultInstance() - : autopilot_; + return autopilot_ == null ? com.google.container.v1.Autopilot.getDefaultInstance() : autopilot_; } else { return autopilotBuilder_.getMessage(); } } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -15035,15 +13331,14 @@ public Builder setAutopilot(com.google.container.v1.Autopilot value) { return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1.Autopilot autopilot = 128; */ - public Builder setAutopilot(com.google.container.v1.Autopilot.Builder builderForValue) { + public Builder setAutopilot( + com.google.container.v1.Autopilot.Builder builderForValue) { if (autopilotBuilder_ == null) { autopilot_ = builderForValue.build(); onChanged(); @@ -15054,8 +13349,6 @@ public Builder setAutopilot(com.google.container.v1.Autopilot.Builder builderFor return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -15066,9 +13359,7 @@ public Builder mergeAutopilot(com.google.container.v1.Autopilot value) { if (autopilotBuilder_ == null) { if (autopilot_ != null) { autopilot_ = - com.google.container.v1.Autopilot.newBuilder(autopilot_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.Autopilot.newBuilder(autopilot_).mergeFrom(value).buildPartial(); } else { autopilot_ = value; } @@ -15080,8 +13371,6 @@ public Builder mergeAutopilot(com.google.container.v1.Autopilot value) { return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -15100,8 +13389,6 @@ public Builder clearAutopilot() { return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -15109,13 +13396,11 @@ public Builder clearAutopilot() { * .google.container.v1.Autopilot autopilot = 128; */ public com.google.container.v1.Autopilot.Builder getAutopilotBuilder() { - + onChanged(); return getAutopilotFieldBuilder().getBuilder(); } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -15126,14 +13411,11 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { if (autopilotBuilder_ != null) { return autopilotBuilder_.getMessageOrBuilder(); } else { - return autopilot_ == null - ? com.google.container.v1.Autopilot.getDefaultInstance() - : autopilot_; + return autopilot_ == null ? + com.google.container.v1.Autopilot.getDefaultInstance() : autopilot_; } } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -15141,17 +13423,14 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { * .google.container.v1.Autopilot autopilot = 128; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Autopilot, - com.google.container.v1.Autopilot.Builder, - com.google.container.v1.AutopilotOrBuilder> + com.google.container.v1.Autopilot, com.google.container.v1.Autopilot.Builder, com.google.container.v1.AutopilotOrBuilder> getAutopilotFieldBuilder() { if (autopilotBuilder_ == null) { - autopilotBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Autopilot, - com.google.container.v1.Autopilot.Builder, - com.google.container.v1.AutopilotOrBuilder>( - getAutopilot(), getParentForChildren(), isClean()); + autopilotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.Autopilot, com.google.container.v1.Autopilot.Builder, com.google.container.v1.AutopilotOrBuilder>( + getAutopilot(), + getParentForChildren(), + isClean()); autopilot_ = null; } return autopilotBuilder_; @@ -15159,20 +13438,18 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { private java.lang.Object id_ = ""; /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -15181,21 +13458,20 @@ public java.lang.String getId() { } } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -15203,61 +13479,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -15265,49 +13534,36 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodePoolDefaults nodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolDefaults, - com.google.container.v1.NodePoolDefaults.Builder, - com.google.container.v1.NodePoolDefaultsOrBuilder> - nodePoolDefaultsBuilder_; + com.google.container.v1.NodePoolDefaults, com.google.container.v1.NodePoolDefaults.Builder, com.google.container.v1.NodePoolDefaultsOrBuilder> nodePoolDefaultsBuilder_; /** - * - * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; - * * @return Whether the nodePoolDefaults field is set. */ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; - * * @return The nodePoolDefaults. */ public com.google.container.v1.NodePoolDefaults getNodePoolDefaults() { if (nodePoolDefaultsBuilder_ == null) { - return nodePoolDefaults_ == null - ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() - : nodePoolDefaults_; + return nodePoolDefaults_ == null ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; } else { return nodePoolDefaultsBuilder_.getMessage(); } } /** - * - * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15329,8 +13585,6 @@ public Builder setNodePoolDefaults(com.google.container.v1.NodePoolDefaults valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15350,8 +13604,6 @@ public Builder setNodePoolDefaults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15361,13 +13613,11 @@ public Builder setNodePoolDefaults(
      */
     public Builder mergeNodePoolDefaults(com.google.container.v1.NodePoolDefaults value) {
       if (nodePoolDefaultsBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && nodePoolDefaults_ != null
-            && nodePoolDefaults_ != com.google.container.v1.NodePoolDefaults.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+            nodePoolDefaults_ != null &&
+            nodePoolDefaults_ != com.google.container.v1.NodePoolDefaults.getDefaultInstance()) {
           nodePoolDefaults_ =
-              com.google.container.v1.NodePoolDefaults.newBuilder(nodePoolDefaults_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodePoolDefaults.newBuilder(nodePoolDefaults_).mergeFrom(value).buildPartial();
         } else {
           nodePoolDefaults_ = value;
         }
@@ -15379,8 +13629,6 @@ public Builder mergeNodePoolDefaults(com.google.container.v1.NodePoolDefaults va
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15399,8 +13647,6 @@ public Builder clearNodePoolDefaults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15414,8 +13660,6 @@ public com.google.container.v1.NodePoolDefaults.Builder getNodePoolDefaultsBuild
       return getNodePoolDefaultsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15427,14 +13671,11 @@ public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBu
       if (nodePoolDefaultsBuilder_ != null) {
         return nodePoolDefaultsBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolDefaults_ == null
-            ? com.google.container.v1.NodePoolDefaults.getDefaultInstance()
-            : nodePoolDefaults_;
+        return nodePoolDefaults_ == null ?
+            com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
       }
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15443,17 +13684,14 @@ public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBu
      * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolDefaults,
-            com.google.container.v1.NodePoolDefaults.Builder,
-            com.google.container.v1.NodePoolDefaultsOrBuilder>
+        com.google.container.v1.NodePoolDefaults, com.google.container.v1.NodePoolDefaults.Builder, com.google.container.v1.NodePoolDefaultsOrBuilder> 
         getNodePoolDefaultsFieldBuilder() {
       if (nodePoolDefaultsBuilder_ == null) {
-        nodePoolDefaultsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodePoolDefaults,
-                com.google.container.v1.NodePoolDefaults.Builder,
-                com.google.container.v1.NodePoolDefaultsOrBuilder>(
-                getNodePoolDefaults(), getParentForChildren(), isClean());
+        nodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodePoolDefaults, com.google.container.v1.NodePoolDefaults.Builder, com.google.container.v1.NodePoolDefaultsOrBuilder>(
+                getNodePoolDefaults(),
+                getParentForChildren(),
+                isClean());
         nodePoolDefaults_ = null;
       }
       return nodePoolDefaultsBuilder_;
@@ -15461,47 +13699,34 @@ public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBu
 
     private com.google.container.v1.LoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.LoggingConfig,
-            com.google.container.v1.LoggingConfig.Builder,
-            com.google.container.v1.LoggingConfigOrBuilder>
-        loggingConfigBuilder_;
+        com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> loggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Logging configuration for the cluster.
      * 
* * .google.container.v1.LoggingConfig logging_config = 132; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration for the cluster.
      * 
* * .google.container.v1.LoggingConfig logging_config = 132; - * * @return The loggingConfig. */ public com.google.container.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -15522,15 +13747,14 @@ public Builder setLoggingConfig(com.google.container.v1.LoggingConfig value) { return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
* * .google.container.v1.LoggingConfig logging_config = 132; */ - public Builder setLoggingConfig(com.google.container.v1.LoggingConfig.Builder builderForValue) { + public Builder setLoggingConfig( + com.google.container.v1.LoggingConfig.Builder builderForValue) { if (loggingConfigBuilder_ == null) { loggingConfig_ = builderForValue.build(); onChanged(); @@ -15541,8 +13765,6 @@ public Builder setLoggingConfig(com.google.container.v1.LoggingConfig.Builder bu return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -15553,9 +13775,7 @@ public Builder mergeLoggingConfig(com.google.container.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.LoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -15567,8 +13787,6 @@ public Builder mergeLoggingConfig(com.google.container.v1.LoggingConfig value) { return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -15587,8 +13805,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -15596,13 +13812,11 @@ public Builder clearLoggingConfig() { * .google.container.v1.LoggingConfig logging_config = 132; */ public com.google.container.v1.LoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -15613,14 +13827,11 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -15628,17 +13839,14 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( * .google.container.v1.LoggingConfig logging_config = 132; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, - com.google.container.v1.LoggingConfig.Builder, - com.google.container.v1.LoggingConfigOrBuilder> + com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, - com.google.container.v1.LoggingConfig.Builder, - com.google.container.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -15646,47 +13854,34 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( private com.google.container.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, - com.google.container.v1.MonitoringConfig.Builder, - com.google.container.v1.MonitoringConfigOrBuilder> - monitoringConfigBuilder_; + com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; /** - * - * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; - * * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return monitoringConfigBuilder_ != null || monitoringConfig_ != null; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; - * * @return The monitoringConfig. */ public com.google.container.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null - ? com.google.container.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -15707,8 +13902,6 @@ public Builder setMonitoringConfig(com.google.container.v1.MonitoringConfig valu return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -15727,8 +13920,6 @@ public Builder setMonitoringConfig( return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -15739,9 +13930,7 @@ public Builder mergeMonitoringConfig(com.google.container.v1.MonitoringConfig va if (monitoringConfigBuilder_ == null) { if (monitoringConfig_ != null) { monitoringConfig_ = - com.google.container.v1.MonitoringConfig.newBuilder(monitoringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MonitoringConfig.newBuilder(monitoringConfig_).mergeFrom(value).buildPartial(); } else { monitoringConfig_ = value; } @@ -15753,8 +13942,6 @@ public Builder mergeMonitoringConfig(com.google.container.v1.MonitoringConfig va return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -15773,8 +13960,6 @@ public Builder clearMonitoringConfig() { return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -15782,13 +13967,11 @@ public Builder clearMonitoringConfig() { * .google.container.v1.MonitoringConfig monitoring_config = 133; */ public com.google.container.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { - + onChanged(); return getMonitoringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -15799,14 +13982,11 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null - ? com.google.container.v1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? + com.google.container.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -15814,17 +13994,14 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu * .google.container.v1.MonitoringConfig monitoring_config = 133; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, - com.google.container.v1.MonitoringConfig.Builder, - com.google.container.v1.MonitoringConfigOrBuilder> + com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, - com.google.container.v1.MonitoringConfig.Builder, - com.google.container.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), getParentForChildren(), isClean()); + monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), + getParentForChildren(), + isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; @@ -15832,49 +14009,36 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu private com.google.container.v1.NodePoolAutoConfig nodePoolAutoConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoConfig, - com.google.container.v1.NodePoolAutoConfig.Builder, - com.google.container.v1.NodePoolAutoConfigOrBuilder> - nodePoolAutoConfigBuilder_; + com.google.container.v1.NodePoolAutoConfig, com.google.container.v1.NodePoolAutoConfig.Builder, com.google.container.v1.NodePoolAutoConfigOrBuilder> nodePoolAutoConfigBuilder_; /** - * - * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return Whether the nodePoolAutoConfig field is set. */ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfigBuilder_ != null || nodePoolAutoConfig_ != null; } /** - * - * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return The nodePoolAutoConfig. */ public com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig() { if (nodePoolAutoConfigBuilder_ == null) { - return nodePoolAutoConfig_ == null - ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() - : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; } else { return nodePoolAutoConfigBuilder_.getMessage(); } } /** - * - * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15896,8 +14060,6 @@ public Builder setNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15917,8 +14079,6 @@ public Builder setNodePoolAutoConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15930,9 +14090,7 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfi
       if (nodePoolAutoConfigBuilder_ == null) {
         if (nodePoolAutoConfig_ != null) {
           nodePoolAutoConfig_ =
-              com.google.container.v1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_).mergeFrom(value).buildPartial();
         } else {
           nodePoolAutoConfig_ = value;
         }
@@ -15944,8 +14102,6 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfi
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15965,8 +14121,6 @@ public Builder clearNodePoolAutoConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15975,13 +14129,11 @@ public Builder clearNodePoolAutoConfig() {
      * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     public com.google.container.v1.NodePoolAutoConfig.Builder getNodePoolAutoConfigBuilder() {
-
+      
       onChanged();
       return getNodePoolAutoConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15993,14 +14145,11 @@ public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfig
       if (nodePoolAutoConfigBuilder_ != null) {
         return nodePoolAutoConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolAutoConfig_ == null
-            ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance()
-            : nodePoolAutoConfig_;
+        return nodePoolAutoConfig_ == null ?
+            com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -16009,24 +14158,21 @@ public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfig
      * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolAutoConfig,
-            com.google.container.v1.NodePoolAutoConfig.Builder,
-            com.google.container.v1.NodePoolAutoConfigOrBuilder>
+        com.google.container.v1.NodePoolAutoConfig, com.google.container.v1.NodePoolAutoConfig.Builder, com.google.container.v1.NodePoolAutoConfigOrBuilder> 
         getNodePoolAutoConfigFieldBuilder() {
       if (nodePoolAutoConfigBuilder_ == null) {
-        nodePoolAutoConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodePoolAutoConfig,
-                com.google.container.v1.NodePoolAutoConfig.Builder,
-                com.google.container.v1.NodePoolAutoConfigOrBuilder>(
-                getNodePoolAutoConfig(), getParentForChildren(), isClean());
+        nodePoolAutoConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodePoolAutoConfig, com.google.container.v1.NodePoolAutoConfig.Builder, com.google.container.v1.NodePoolAutoConfigOrBuilder>(
+                getNodePoolAutoConfig(),
+                getParentForChildren(),
+                isClean());
         nodePoolAutoConfig_ = null;
       }
       return nodePoolAutoConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -16036,12 +14182,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.Cluster)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.Cluster)
   private static final com.google.container.v1.Cluster DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.Cluster();
   }
@@ -16050,27 +14196,27 @@ public static com.google.container.v1.Cluster getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Cluster parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Cluster parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -16085,4 +14231,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.Cluster getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
similarity index 71%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
index e3ebb0ddc033..2935d3b68222 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * ClusterAutoscaling contains global, per-cluster information
  * required by Cluster Autoscaler to automatically adjust
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.container.v1.ClusterAutoscaling}
  */
-public final class ClusterAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClusterAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ClusterAutoscaling)
     ClusterAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClusterAutoscaling.newBuilder() to construct.
   private ClusterAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClusterAutoscaling() {
     resourceLimits_ = java.util.Collections.emptyList();
     autoscalingProfile_ = 0;
@@ -48,43 +30,39 @@ private ClusterAutoscaling() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClusterAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ClusterAutoscaling.class,
-            com.google.container.v1.ClusterAutoscaling.Builder.class);
+            com.google.container.v1.ClusterAutoscaling.class, com.google.container.v1.ClusterAutoscaling.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Defines possible options for autoscaling_profile field.
    * 
* * Protobuf enum {@code google.container.v1.ClusterAutoscaling.AutoscalingProfile} */ - public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnum { + public enum AutoscalingProfile + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No change to autoscaling configuration.
      * 
@@ -93,8 +71,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ PROFILE_UNSPECIFIED(0), /** - * - * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -103,8 +79,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ OPTIMIZE_UTILIZATION(1), /** - * - * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -116,8 +90,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
      * No change to autoscaling configuration.
      * 
@@ -126,8 +98,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ public static final int PROFILE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -136,8 +106,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ public static final int OPTIMIZE_UTILIZATION_VALUE = 1; /** - * - * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -146,6 +114,7 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ public static final int BALANCED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,14 +139,10 @@ public static AutoscalingProfile valueOf(int value) { */ public static AutoscalingProfile forNumber(int value) { switch (value) { - case 0: - return PROFILE_UNSPECIFIED; - case 1: - return OPTIMIZE_UTILIZATION; - case 2: - return BALANCED; - default: - return null; + case 0: return PROFILE_UNSPECIFIED; + case 1: return OPTIMIZE_UTILIZATION; + case 2: return BALANCED; + default: return null; } } @@ -185,28 +150,28 @@ public static AutoscalingProfile forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + AutoscalingProfile> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AutoscalingProfile findValueByNumber(int number) { + return AutoscalingProfile.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AutoscalingProfile findValueByNumber(int number) { - return AutoscalingProfile.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.ClusterAutoscaling.getDescriptor().getEnumTypes().get(0); } @@ -215,7 +180,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AutoscalingProfile valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -235,14 +201,11 @@ private AutoscalingProfile(int value) { public static final int ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER = 1; private boolean enableNodeAutoprovisioning_; /** - * - * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; - * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -253,8 +216,6 @@ public boolean getEnableNodeAutoprovisioning() { public static final int RESOURCE_LIMITS_FIELD_NUMBER = 2; private java.util.List resourceLimits_; /** - * - * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -267,8 +228,6 @@ public java.util.List getResourceLimitsLi
     return resourceLimits_;
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -277,13 +236,11 @@ public java.util.List getResourceLimitsLi
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResourceLimitsOrBuilderList() {
     return resourceLimits_;
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -296,8 +253,6 @@ public int getResourceLimitsCount() {
     return resourceLimits_.size();
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -310,8 +265,6 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
     return resourceLimits_.get(index);
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -320,65 +273,47 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index) {
+  public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
+      int index) {
     return resourceLimits_.get(index);
   }
 
   public static final int AUTOSCALING_PROFILE_FIELD_NUMBER = 3;
   private int autoscalingProfile_;
   /**
-   *
-   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override - public int getAutoscalingProfileValue() { + @java.lang.Override public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** - * - * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The autoscalingProfile. */ - @java.lang.Override - public com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { + @java.lang.Override public com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = - com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); - return result == null - ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED - : result; + com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); + return result == null ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; } public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER = 4; - private com.google.container.v1.AutoprovisioningNodePoolDefaults - autoprovisioningNodePoolDefaults_; + private com.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return Whether the autoprovisioningNodePoolDefaults field is set. */ @java.lang.Override @@ -386,49 +321,34 @@ public boolean hasAutoprovisioningNodePoolDefaults() { return autoprovisioningNodePoolDefaults_ != null; } /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return The autoprovisioningNodePoolDefaults. */ @java.lang.Override - public com.google.container.v1.AutoprovisioningNodePoolDefaults - getAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaults_ == null - ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() - : autoprovisioningNodePoolDefaults_; + public com.google.container.v1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { + return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; } /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ @java.lang.Override - public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder - getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { return getAutoprovisioningNodePoolDefaults(); } public static final int AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList autoprovisioningLocations_; /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -436,15 +356,13 @@ public boolean hasAutoprovisioningNodePoolDefaults() {
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList + getAutoprovisioningLocationsList() { return autoprovisioningLocations_; } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -452,15 +370,12 @@ public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList()
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -468,7 +383,6 @@ public int getAutoprovisioningLocationsCount() {
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -476,8 +390,6 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -485,16 +397,15 @@ public java.lang.String getAutoprovisioningLocations(int index) {
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString + getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -506,24 +417,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enableNodeAutoprovisioning_ != false) { output.writeBool(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { output.writeMessage(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ - != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED - .getNumber()) { + if (autoscalingProfile_ != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { output.writeEnum(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { output.writeMessage(4, getAutoprovisioningNodePoolDefaults()); } for (int i = 0; i < autoprovisioningLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, autoprovisioningLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, autoprovisioningLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -535,20 +444,20 @@ public int getSerializedSize() { size = 0; if (enableNodeAutoprovisioning_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableNodeAutoprovisioning_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resourceLimits_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ - != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, autoscalingProfile_); + if (autoscalingProfile_ != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getAutoprovisioningNodePoolDefaults()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAutoprovisioningNodePoolDefaults()); } { int dataSize = 0; @@ -566,25 +475,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ClusterAutoscaling)) { return super.equals(obj); } - com.google.container.v1.ClusterAutoscaling other = - (com.google.container.v1.ClusterAutoscaling) obj; + com.google.container.v1.ClusterAutoscaling other = (com.google.container.v1.ClusterAutoscaling) obj; - if (getEnableNodeAutoprovisioning() != other.getEnableNodeAutoprovisioning()) return false; - if (!getResourceLimitsList().equals(other.getResourceLimitsList())) return false; + if (getEnableNodeAutoprovisioning() + != other.getEnableNodeAutoprovisioning()) return false; + if (!getResourceLimitsList() + .equals(other.getResourceLimitsList())) return false; if (autoscalingProfile_ != other.autoscalingProfile_) return false; - if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) - return false; + if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) return false; if (hasAutoprovisioningNodePoolDefaults()) { if (!getAutoprovisioningNodePoolDefaults() .equals(other.getAutoprovisioningNodePoolDefaults())) return false; } - if (!getAutoprovisioningLocationsList().equals(other.getAutoprovisioningLocationsList())) - return false; + if (!getAutoprovisioningLocationsList() + .equals(other.getAutoprovisioningLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -597,7 +506,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNodeAutoprovisioning()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableNodeAutoprovisioning()); if (getResourceLimitsCount() > 0) { hash = (37 * hash) + RESOURCE_LIMITS_FIELD_NUMBER; hash = (53 * hash) + getResourceLimitsList().hashCode(); @@ -617,104 +527,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ClusterAutoscaling parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ClusterAutoscaling parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClusterAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClusterAutoscaling parseFrom( 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.ClusterAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClusterAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ClusterAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ClusterAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ClusterAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ClusterAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ClusterAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ClusterAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ClusterAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ClusterAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ClusterAutoscaling contains global, per-cluster information
    * required by Cluster Autoscaler to automatically adjust
@@ -724,32 +627,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ClusterAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ClusterAutoscaling)
       com.google.container.v1.ClusterAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ClusterAutoscaling.class,
-              com.google.container.v1.ClusterAutoscaling.Builder.class);
+              com.google.container.v1.ClusterAutoscaling.class, com.google.container.v1.ClusterAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.ClusterAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -776,9 +680,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -797,8 +701,7 @@ public com.google.container.v1.ClusterAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.ClusterAutoscaling buildPartial() {
-      com.google.container.v1.ClusterAutoscaling result =
-          new com.google.container.v1.ClusterAutoscaling(this);
+      com.google.container.v1.ClusterAutoscaling result = new com.google.container.v1.ClusterAutoscaling(this);
       int from_bitField0_ = bitField0_;
       result.enableNodeAutoprovisioning_ = enableNodeAutoprovisioning_;
       if (resourceLimitsBuilder_ == null) {
@@ -829,39 +732,38 @@ public com.google.container.v1.ClusterAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ClusterAutoscaling) {
-        return mergeFrom((com.google.container.v1.ClusterAutoscaling) other);
+        return mergeFrom((com.google.container.v1.ClusterAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -891,10 +793,9 @@ public Builder mergeFrom(com.google.container.v1.ClusterAutoscaling other) {
             resourceLimitsBuilder_ = null;
             resourceLimits_ = other.resourceLimits_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceLimitsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResourceLimitsFieldBuilder()
-                    : null;
+            resourceLimitsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResourceLimitsFieldBuilder() : null;
           } else {
             resourceLimitsBuilder_.addAllMessages(other.resourceLimits_);
           }
@@ -942,53 +843,48 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enableNodeAutoprovisioning_ = input.readBool();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                com.google.container.v1.ResourceLimit m =
-                    input.readMessage(
-                        com.google.container.v1.ResourceLimit.parser(), extensionRegistry);
-                if (resourceLimitsBuilder_ == null) {
-                  ensureResourceLimitsIsMutable();
-                  resourceLimits_.add(m);
-                } else {
-                  resourceLimitsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                autoscalingProfile_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAutoprovisioningLocationsIsMutable();
-                autoprovisioningLocations_.add(s);
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enableNodeAutoprovisioning_ = input.readBool();
+
+              break;
+            } // case 8
+            case 18: {
+              com.google.container.v1.ResourceLimit m =
+                  input.readMessage(
+                      com.google.container.v1.ResourceLimit.parser(),
+                      extensionRegistry);
+              if (resourceLimitsBuilder_ == null) {
+                ensureResourceLimitsIsMutable();
+                resourceLimits_.add(m);
+              } else {
+                resourceLimitsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              autoscalingProfile_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAutoprovisioningLocationsIsMutable();
+              autoprovisioningLocations_.add(s);
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -998,19 +894,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enableNodeAutoprovisioning_;
+    private boolean enableNodeAutoprovisioning_ ;
     /**
-     *
-     *
      * 
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; - * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -1018,61 +910,48 @@ public boolean getEnableNodeAutoprovisioning() { return enableNodeAutoprovisioning_; } /** - * - * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; - * * @param value The enableNodeAutoprovisioning to set. * @return This builder for chaining. */ public Builder setEnableNodeAutoprovisioning(boolean value) { - + enableNodeAutoprovisioning_ = value; onChanged(); return this; } /** - * - * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; - * * @return This builder for chaining. */ public Builder clearEnableNodeAutoprovisioning() { - + enableNodeAutoprovisioning_ = false; onChanged(); return this; } private java.util.List resourceLimits_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourceLimitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceLimits_ = - new java.util.ArrayList(resourceLimits_); + resourceLimits_ = new java.util.ArrayList(resourceLimits_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ResourceLimit, - com.google.container.v1.ResourceLimit.Builder, - com.google.container.v1.ResourceLimitOrBuilder> - resourceLimitsBuilder_; + com.google.container.v1.ResourceLimit, com.google.container.v1.ResourceLimit.Builder, com.google.container.v1.ResourceLimitOrBuilder> resourceLimitsBuilder_; /** - * - * *
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1088,8 +967,6 @@ public java.util.List getResourceLimitsLi
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1105,8 +982,6 @@ public int getResourceLimitsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1122,8 +997,6 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1131,7 +1004,8 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public Builder setResourceLimits(int index, com.google.container.v1.ResourceLimit value) {
+    public Builder setResourceLimits(
+        int index, com.google.container.v1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1145,8 +1019,6 @@ public Builder setResourceLimits(int index, com.google.container.v1.ResourceLimi
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1166,8 +1038,6 @@ public Builder setResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1189,8 +1059,6 @@ public Builder addResourceLimits(com.google.container.v1.ResourceLimit value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1198,7 +1066,8 @@ public Builder addResourceLimits(com.google.container.v1.ResourceLimit value) {
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public Builder addResourceLimits(int index, com.google.container.v1.ResourceLimit value) {
+    public Builder addResourceLimits(
+        int index, com.google.container.v1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1212,8 +1081,6 @@ public Builder addResourceLimits(int index, com.google.container.v1.ResourceLimi
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1233,8 +1100,6 @@ public Builder addResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1254,8 +1119,6 @@ public Builder addResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1267,7 +1130,8 @@ public Builder addAllResourceLimits(
         java.lang.Iterable values) {
       if (resourceLimitsBuilder_ == null) {
         ensureResourceLimitsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceLimits_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, resourceLimits_);
         onChanged();
       } else {
         resourceLimitsBuilder_.addAllMessages(values);
@@ -1275,8 +1139,6 @@ public Builder addAllResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1295,8 +1157,6 @@ public Builder clearResourceLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1315,8 +1175,6 @@ public Builder removeResourceLimits(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1324,12 +1182,11 @@ public Builder removeResourceLimits(int index) {
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1.ResourceLimit.Builder getResourceLimitsBuilder(int index) {
+    public com.google.container.v1.ResourceLimit.Builder getResourceLimitsBuilder(
+        int index) {
       return getResourceLimitsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1337,16 +1194,14 @@ public com.google.container.v1.ResourceLimit.Builder getResourceLimitsBuilder(in
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index) {
+    public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
+        int index) {
       if (resourceLimitsBuilder_ == null) {
-        return resourceLimits_.get(index);
-      } else {
+        return resourceLimits_.get(index);  } else {
         return resourceLimitsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1354,8 +1209,8 @@ public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List
-        getResourceLimitsOrBuilderList() {
+    public java.util.List 
+         getResourceLimitsOrBuilderList() {
       if (resourceLimitsBuilder_ != null) {
         return resourceLimitsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1363,8 +1218,6 @@ public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1373,12 +1226,10 @@ public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
     public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder() {
-      return getResourceLimitsFieldBuilder()
-          .addBuilder(com.google.container.v1.ResourceLimit.getDefaultInstance());
+      return getResourceLimitsFieldBuilder().addBuilder(
+          com.google.container.v1.ResourceLimit.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1386,13 +1237,12 @@ public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder()
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(int index) {
-      return getResourceLimitsFieldBuilder()
-          .addBuilder(index, com.google.container.v1.ResourceLimit.getDefaultInstance());
+    public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(
+        int index) {
+      return getResourceLimitsFieldBuilder().addBuilder(
+          index, com.google.container.v1.ResourceLimit.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1400,22 +1250,16 @@ public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(in
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List
-        getResourceLimitsBuilderList() {
+    public java.util.List 
+         getResourceLimitsBuilderList() {
       return getResourceLimitsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.ResourceLimit,
-            com.google.container.v1.ResourceLimit.Builder,
-            com.google.container.v1.ResourceLimitOrBuilder>
+        com.google.container.v1.ResourceLimit, com.google.container.v1.ResourceLimit.Builder, com.google.container.v1.ResourceLimitOrBuilder> 
         getResourceLimitsFieldBuilder() {
       if (resourceLimitsBuilder_ == null) {
-        resourceLimitsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1.ResourceLimit,
-                com.google.container.v1.ResourceLimit.Builder,
-                com.google.container.v1.ResourceLimitOrBuilder>(
+        resourceLimitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1.ResourceLimit, com.google.container.v1.ResourceLimit.Builder, com.google.container.v1.ResourceLimitOrBuilder>(
                 resourceLimits_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1427,167 +1271,118 @@ public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(in
 
     private int autoscalingProfile_ = 0;
     /**
-     *
-     *
      * 
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override - public int getAutoscalingProfileValue() { + @java.lang.Override public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @param value The enum numeric value on the wire for autoscalingProfile to set. * @return This builder for chaining. */ public Builder setAutoscalingProfileValue(int value) { - + autoscalingProfile_ = value; onChanged(); return this; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The autoscalingProfile. */ @java.lang.Override public com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = - com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf( - autoscalingProfile_); - return result == null - ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED - : result; + com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); + return result == null ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @param value The autoscalingProfile to set. * @return This builder for chaining. */ - public Builder setAutoscalingProfile( - com.google.container.v1.ClusterAutoscaling.AutoscalingProfile value) { + public Builder setAutoscalingProfile(com.google.container.v1.ClusterAutoscaling.AutoscalingProfile value) { if (value == null) { throw new NullPointerException(); } - + autoscalingProfile_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return This builder for chaining. */ public Builder clearAutoscalingProfile() { - + autoscalingProfile_ = 0; onChanged(); return this; } - private com.google.container.v1.AutoprovisioningNodePoolDefaults - autoprovisioningNodePoolDefaults_; + private com.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoprovisioningNodePoolDefaults, - com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, - com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> - autoprovisioningNodePoolDefaultsBuilder_; + com.google.container.v1.AutoprovisioningNodePoolDefaults, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> autoprovisioningNodePoolDefaultsBuilder_; /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return Whether the autoprovisioningNodePoolDefaults field is set. */ public boolean hasAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaultsBuilder_ != null - || autoprovisioningNodePoolDefaults_ != null; + return autoprovisioningNodePoolDefaultsBuilder_ != null || autoprovisioningNodePoolDefaults_ != null; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return The autoprovisioningNodePoolDefaults. */ - public com.google.container.v1.AutoprovisioningNodePoolDefaults - getAutoprovisioningNodePoolDefaults() { + public com.google.container.v1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - return autoprovisioningNodePoolDefaults_ == null - ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() - : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; } else { return autoprovisioningNodePoolDefaultsBuilder_.getMessage(); } } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public Builder setAutoprovisioningNodePoolDefaults( - com.google.container.v1.AutoprovisioningNodePoolDefaults value) { + public Builder setAutoprovisioningNodePoolDefaults(com.google.container.v1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1601,16 +1396,12 @@ public Builder setAutoprovisioningNodePoolDefaults( return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ public Builder setAutoprovisioningNodePoolDefaults( com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder builderForValue) { @@ -1624,26 +1415,18 @@ public Builder setAutoprovisioningNodePoolDefaults( return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public Builder mergeAutoprovisioningNodePoolDefaults( - com.google.container.v1.AutoprovisioningNodePoolDefaults value) { + public Builder mergeAutoprovisioningNodePoolDefaults(com.google.container.v1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (autoprovisioningNodePoolDefaults_ != null) { autoprovisioningNodePoolDefaults_ = - com.google.container.v1.AutoprovisioningNodePoolDefaults.newBuilder( - autoprovisioningNodePoolDefaults_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AutoprovisioningNodePoolDefaults.newBuilder(autoprovisioningNodePoolDefaults_).mergeFrom(value).buildPartial(); } else { autoprovisioningNodePoolDefaults_ = value; } @@ -1655,16 +1438,12 @@ public Builder mergeAutoprovisioningNodePoolDefaults( return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ public Builder clearAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { @@ -1678,87 +1457,64 @@ public Builder clearAutoprovisioningNodePoolDefaults() { return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder - getAutoprovisioningNodePoolDefaultsBuilder() { - + public com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder getAutoprovisioningNodePoolDefaultsBuilder() { + onChanged(); return getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(); } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder - getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ != null) { return autoprovisioningNodePoolDefaultsBuilder_.getMessageOrBuilder(); } else { - return autoprovisioningNodePoolDefaults_ == null - ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() - : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null ? + com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; } } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoprovisioningNodePoolDefaults, - com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, - com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> + com.google.container.v1.AutoprovisioningNodePoolDefaults, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> getAutoprovisioningNodePoolDefaultsFieldBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - autoprovisioningNodePoolDefaultsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoprovisioningNodePoolDefaults, - com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, - com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder>( - getAutoprovisioningNodePoolDefaults(), getParentForChildren(), isClean()); + autoprovisioningNodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AutoprovisioningNodePoolDefaults, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder>( + getAutoprovisioningNodePoolDefaults(), + getParentForChildren(), + isClean()); autoprovisioningNodePoolDefaults_ = null; } return autoprovisioningNodePoolDefaultsBuilder_; } - private com.google.protobuf.LazyStringList autoprovisioningLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList autoprovisioningLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAutoprovisioningLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - autoprovisioningLocations_ = - new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); + autoprovisioningLocations_ = new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1766,15 +1522,13 @@ private void ensureAutoprovisioningLocationsIsMutable() {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList + getAutoprovisioningLocationsList() { return autoprovisioningLocations_.getUnmodifiableView(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1782,15 +1536,12 @@ public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList()
      * 
* * repeated string autoprovisioning_locations = 5; - * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1798,7 +1549,6 @@ public int getAutoprovisioningLocationsCount() {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -1806,8 +1556,6 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1815,16 +1563,14 @@ public java.lang.String getAutoprovisioningLocations(int index) {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString + getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1832,23 +1578,21 @@ public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int inde
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index to set the value at. * @param value The autoprovisioningLocations to set. * @return This builder for chaining. */ - public Builder setAutoprovisioningLocations(int index, java.lang.String value) { + public Builder setAutoprovisioningLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1856,22 +1600,20 @@ public Builder setAutoprovisioningLocations(int index, java.lang.String value) {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param value The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocations(java.lang.String value) { + public Builder addAutoprovisioningLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1879,19 +1621,18 @@ public Builder addAutoprovisioningLocations(java.lang.String value) {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param values The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAllAutoprovisioningLocations(java.lang.Iterable values) { + public Builder addAllAutoprovisioningLocations( + java.lang.Iterable values) { ensureAutoprovisioningLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, autoprovisioningLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, autoprovisioningLocations_); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1899,7 +1640,6 @@ public Builder addAllAutoprovisioningLocations(java.lang.Iterable
      *
      * repeated string autoprovisioning_locations = 5;
-     *
      * @return This builder for chaining.
      */
     public Builder clearAutoprovisioningLocations() {
@@ -1909,8 +1649,6 @@ public Builder clearAutoprovisioningLocations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1918,23 +1656,23 @@ public Builder clearAutoprovisioningLocations() {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param value The bytes of the autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addAutoprovisioningLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1944,12 +1682,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ClusterAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.ClusterAutoscaling) private static final com.google.container.v1.ClusterAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ClusterAutoscaling(); } @@ -1958,27 +1696,27 @@ public static com.google.container.v1.ClusterAutoscaling getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1993,4 +1731,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ClusterAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java similarity index 74% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java index 21b42e123253..f6ac5183224e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface ClusterAutoscalingOrBuilder - extends +public interface ClusterAutoscalingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ClusterAutoscaling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; - * * @return The enableNodeAutoprovisioning. */ boolean getEnableNodeAutoprovisioning(); /** - * - * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -46,10 +25,9 @@ public interface ClusterAutoscalingOrBuilder
    *
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
-  java.util.List getResourceLimitsList();
+  java.util.List 
+      getResourceLimitsList();
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -59,8 +37,6 @@ public interface ClusterAutoscalingOrBuilder
    */
   com.google.container.v1.ResourceLimit getResourceLimits(int index);
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -70,8 +46,6 @@ public interface ClusterAutoscalingOrBuilder
    */
   int getResourceLimitsCount();
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -79,11 +53,9 @@ public interface ClusterAutoscalingOrBuilder
    *
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
-  java.util.List
+  java.util.List 
       getResourceLimitsOrBuilderList();
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -91,83 +63,59 @@ public interface ClusterAutoscalingOrBuilder
    *
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
-  com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index);
+  com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The enum numeric value on the wire for autoscalingProfile. */ int getAutoscalingProfileValue(); /** - * - * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The autoscalingProfile. */ com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile(); /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return Whether the autoprovisioningNodePoolDefaults field is set. */ boolean hasAutoprovisioningNodePoolDefaults(); /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return The autoprovisioningNodePoolDefaults. */ com.google.container.v1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults(); /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder - getAutoprovisioningNodePoolDefaultsOrBuilder(); + com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -175,13 +123,11 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return A list containing the autoprovisioningLocations. */ - java.util.List getAutoprovisioningLocationsList(); + java.util.List + getAutoprovisioningLocationsList(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -189,13 +135,10 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return The count of autoprovisioningLocations. */ int getAutoprovisioningLocationsCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -203,14 +146,11 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ java.lang.String getAutoprovisioningLocations(int index); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -218,9 +158,9 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index); + com.google.protobuf.ByteString + getAutoprovisioningLocationsBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java similarity index 88% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java index 6dc0416dbf54..b4503586fb3d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ClusterOrBuilder - extends +public interface ClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.Cluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -36,13 +18,10 @@ public interface ClusterOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -53,39 +32,32 @@ public interface ClusterOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -99,17 +71,13 @@ 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=1466 + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1466 * @return The initialNodeCount. */ - @java.lang.Deprecated - int getInitialNodeCount(); + @java.lang.Deprecated int getInitialNodeCount(); /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -124,16 +92,12 @@ 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=1479 + * @deprecated google.container.v1.Cluster.node_config is deprecated. + * See google/container/v1/cluster_service.proto;l=1479 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated - boolean hasNodeConfig(); + @java.lang.Deprecated boolean hasNodeConfig(); /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -148,16 +112,12 @@ 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=1479 + * @deprecated google.container.v1.Cluster.node_config is deprecated. + * See google/container/v1/cluster_service.proto;l=1479 * @return The nodeConfig. */ - @java.lang.Deprecated - com.google.container.v1.NodeConfig getNodeConfig(); + @java.lang.Deprecated com.google.container.v1.NodeConfig getNodeConfig(); /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -173,12 +133,9 @@ public interface ClusterOrBuilder
    *
    * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
    */
-  @java.lang.Deprecated
-  com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder();
+  @java.lang.Deprecated com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -188,13 +145,10 @@ public interface ClusterOrBuilder
    * 
* * .google.container.v1.MasterAuth master_auth = 5; - * * @return Whether the masterAuth field is set. */ boolean hasMasterAuth(); /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -204,13 +158,10 @@ public interface ClusterOrBuilder
    * 
* * .google.container.v1.MasterAuth master_auth = 5; - * * @return The masterAuth. */ com.google.container.v1.MasterAuth getMasterAuth(); /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -224,8 +175,6 @@ public interface ClusterOrBuilder
   com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder();
 
   /**
-   *
-   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -239,13 +188,10 @@ public interface ClusterOrBuilder
    * 
* * string logging_service = 6; - * * @return The loggingService. */ java.lang.String getLoggingService(); /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -259,14 +205,12 @@ public interface ClusterOrBuilder
    * 
* * string logging_service = 6; - * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString getLoggingServiceBytes(); + com.google.protobuf.ByteString + getLoggingServiceBytes(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -280,13 +224,10 @@ public interface ClusterOrBuilder
    * 
* * string monitoring_service = 7; - * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -300,14 +241,12 @@ public interface ClusterOrBuilder
    * 
* * string monitoring_service = 7; - * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString getMonitoringServiceBytes(); + com.google.protobuf.ByteString + getMonitoringServiceBytes(); /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -316,13 +255,10 @@ public interface ClusterOrBuilder
    * 
* * string network = 8; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -331,14 +267,12 @@ public interface ClusterOrBuilder
    * 
* * string network = 8; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -347,13 +281,10 @@ public interface ClusterOrBuilder
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The clusterIpv4Cidr. */ java.lang.String getClusterIpv4Cidr(); /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -362,38 +293,30 @@ public interface ClusterOrBuilder
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The bytes for clusterIpv4Cidr. */ - com.google.protobuf.ByteString getClusterIpv4CidrBytes(); + com.google.protobuf.ByteString + getClusterIpv4CidrBytes(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; - * * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; - * * @return The addonsConfig. */ com.google.container.v1.AddonsConfig getAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -403,8 +326,6 @@ public interface ClusterOrBuilder com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -412,13 +333,10 @@ public interface ClusterOrBuilder
    * 
* * string subnetwork = 11; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -426,14 +344,12 @@ public interface ClusterOrBuilder
    * 
* * string subnetwork = 11; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -442,10 +358,9 @@ public interface ClusterOrBuilder
    *
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
-  java.util.List getNodePoolsList();
+  java.util.List 
+      getNodePoolsList();
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -456,8 +371,6 @@ public interface ClusterOrBuilder
    */
   com.google.container.v1.NodePool getNodePools(int index);
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -468,8 +381,6 @@ public interface ClusterOrBuilder
    */
   int getNodePoolsCount();
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -478,10 +389,9 @@ public interface ClusterOrBuilder
    *
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
-  java.util.List getNodePoolsOrBuilderList();
+  java.util.List 
+      getNodePoolsOrBuilderList();
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -490,11 +400,10 @@ public interface ClusterOrBuilder
    *
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
-  com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index);
+  com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -508,13 +417,11 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -528,13 +435,10 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -548,14 +452,11 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -569,15 +470,13 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -588,14 +487,11 @@ public interface ClusterOrBuilder
    * 
* * bool enable_kubernetes_alpha = 14; - * * @return The enableKubernetesAlpha. */ boolean getEnableKubernetesAlpha(); /** - * - * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -605,8 +501,6 @@ public interface ClusterOrBuilder
    */
   int getResourceLabelsCount();
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -614,13 +508,15 @@ public interface ClusterOrBuilder
    *
    * map<string, string> resource_labels = 15;
    */
-  boolean containsResourceLabels(java.lang.String key);
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  boolean containsResourceLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getResourceLabels();
+  java.util.Map
+  getResourceLabels();
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -628,10 +524,9 @@ public interface ClusterOrBuilder
    *
    * map<string, string> resource_labels = 15;
    */
-  java.util.Map getResourceLabelsMap();
+  java.util.Map
+  getResourceLabelsMap();
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -641,13 +536,11 @@ public interface ClusterOrBuilder
    */
 
   /* nullable */
-  java.lang.String getResourceLabelsOrDefault(
+java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -655,60 +548,49 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 15;
    */
-  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** - * - * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString getLabelFingerprintBytes(); + com.google.protobuf.ByteString + getLabelFingerprintBytes(); /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; - * * @return Whether the legacyAbac field is set. */ boolean hasLegacyAbac(); /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; - * * @return The legacyAbac. */ com.google.container.v1.LegacyAbac getLegacyAbac(); /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -718,32 +600,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder(); /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; - * * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; - * * @return The networkPolicy. */ com.google.container.v1.NetworkPolicy getNetworkPolicy(); /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -753,32 +627,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return The ipAllocationPolicy. */ com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy(); /** - * - * *
    * Configuration for cluster IP allocation.
    * 
@@ -788,74 +654,51 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return Whether the masterAuthorizedNetworksConfig field is set. */ boolean hasMasterAuthorizedNetworksConfig(); /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return The masterAuthorizedNetworksConfig. */ com.google.container.v1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig(); /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder - getMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder(); /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; - * * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; - * * @return The maintenancePolicy. */ com.google.container.v1.MaintenancePolicy getMaintenancePolicy(); /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -865,32 +708,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; - * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; - * * @return The binaryAuthorization. */ com.google.container.v1.BinaryAuthorization getBinaryAuthorization(); /** - * - * *
    * Configuration for Binary Authorization.
    * 
@@ -900,32 +735,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; - * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; - * * @return The autoscaling. */ com.google.container.v1.ClusterAutoscaling getAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -935,32 +762,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuilder(); /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; - * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; - * * @return The networkConfig. */ com.google.container.v1.NetworkConfig getNetworkConfig(); /** - * - * *
    * Configuration for cluster networking.
    * 
@@ -970,8 +789,6 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -979,13 +796,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return Whether the defaultMaxPodsConstraint field is set. */ boolean hasDefaultMaxPodsConstraint(); /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -993,13 +807,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return The defaultMaxPodsConstraint. */ com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint(); /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1011,34 +822,26 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * * @return Whether the resourceUsageExportConfig field is set. */ boolean hasResourceUsageExportConfig(); /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; - * * @return The resourceUsageExportConfig. */ com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportConfig(); /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
@@ -1046,72 +849,54 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;
    */
-  com.google.container.v1.ResourceUsageExportConfigOrBuilder
-      getResourceUsageExportConfigOrBuilder();
+  com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * * @return Whether the authenticatorGroupsConfig field is set. */ boolean hasAuthenticatorGroupsConfig(); /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * * @return The authenticatorGroupsConfig. */ com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig(); /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder - getAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder(); /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; - * * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; - * * @return The privateClusterConfig. */ com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig(); /** - * - * *
    * Configuration for private cluster.
    * 
@@ -1121,32 +906,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; - * * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; - * * @return The databaseEncryption. */ com.google.container.v1.DatabaseEncryption getDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -1156,32 +933,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return Whether the verticalPodAutoscaling field is set. */ boolean hasVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return The verticalPodAutoscaling. */ com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -1191,32 +960,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder(); /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; - * * @return Whether the shieldedNodes field is set. */ boolean hasShieldedNodes(); /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; - * * @return The shieldedNodes. */ com.google.container.v1.ShieldedNodes getShieldedNodes(); /** - * - * *
    * Shielded Nodes configuration.
    * 
@@ -1226,32 +987,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder(); /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; - * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; - * * @return The releaseChannel. */ com.google.container.v1.ReleaseChannel getReleaseChannel(); /** - * - * *
    * Release channel configuration.
    * 
@@ -1261,34 +1014,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder(); /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return The workloadIdentityConfig. */ com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -1299,34 +1044,26 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; - * * @return Whether the meshCertificates field is set. */ boolean hasMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; - * * @return The meshCertificates. */ com.google.container.v1.MeshCertificates getMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1337,32 +1074,24 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; - * * @return Whether the costManagementConfig field is set. */ boolean hasCostManagementConfig(); /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; - * * @return The costManagementConfig. */ com.google.container.v1.CostManagementConfig getCostManagementConfig(); /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -1372,32 +1101,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder(); /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; - * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; - * * @return The notificationConfig. */ com.google.container.v1.NotificationConfig getNotificationConfig(); /** - * - * *
    * Notification configuration of the cluster.
    * 
@@ -1407,34 +1128,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder(); /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; - * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; - * * @return The confidentialNodes. */ com.google.container.v1.ConfidentialNodes getConfidentialNodes(); /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -1445,32 +1158,24 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; - * * @return Whether the identityServiceConfig field is set. */ boolean hasIdentityServiceConfig(); /** - * - * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; - * * @return The identityServiceConfig. */ com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig(); /** - * - * *
    * Configuration for Identity Service component.
    * 
@@ -1480,33 +1185,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder(); /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ java.lang.String getSelfLink(); /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString getSelfLinkBytes(); + com.google.protobuf.ByteString + getSelfLinkBytes(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1514,16 +1212,12 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1531,17 +1225,14 @@ 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=1645 + * @deprecated google.container.v1.Cluster.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=1645 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1551,13 +1242,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string endpoint = 102; - * * @return The endpoint. */ java.lang.String getEndpoint(); /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1567,14 +1255,12 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string endpoint = 102; - * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString getEndpointBytes(); + com.google.protobuf.ByteString + getEndpointBytes(); /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1590,13 +1276,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string initial_cluster_version = 103; - * * @return The initialClusterVersion. */ java.lang.String getInitialClusterVersion(); /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1612,39 +1295,32 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string initial_cluster_version = 103; - * * @return The bytes for initialClusterVersion. */ - com.google.protobuf.ByteString getInitialClusterVersionBytes(); + com.google.protobuf.ByteString + getInitialClusterVersionBytes(); /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The currentMasterVersion. */ java.lang.String getCurrentMasterVersion(); /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The bytes for currentMasterVersion. */ - com.google.protobuf.ByteString getCurrentMasterVersionBytes(); + com.google.protobuf.ByteString + getCurrentMasterVersionBytes(); /** - * - * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -1654,16 +1330,12 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @return The currentNodeVersion. */ - @java.lang.Deprecated - java.lang.String getCurrentNodeVersion(); + @java.lang.Deprecated java.lang.String getCurrentNodeVersion(); /** - * - * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -1673,69 +1345,55 @@ 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=1678 + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. + * See google/container/v1/cluster_service.proto;l=1678 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getCurrentNodeVersionBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getCurrentNodeVersionBytes(); /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The createTime. */ java.lang.String getCreateTime(); /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The bytes for createTime. */ - com.google.protobuf.ByteString getCreateTimeBytes(); + com.google.protobuf.ByteString + getCreateTimeBytes(); /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; - * * @return The status. */ com.google.container.v1.Cluster.Status getStatus(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1743,16 +1401,12 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @return The statusMessage. */ - @java.lang.Deprecated - java.lang.String getStatusMessage(); + @java.lang.Deprecated java.lang.String getStatusMessage(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1760,17 +1414,14 @@ 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=1690 + * @deprecated google.container.v1.Cluster.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=1690 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getStatusMessageBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -1779,14 +1430,11 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * int32 node_ipv4_cidr_size = 109; - * * @return The nodeIpv4CidrSize. */ int getNodeIpv4CidrSize(); /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -1796,13 +1444,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string services_ipv4_cidr = 110; - * * @return The servicesIpv4Cidr. */ java.lang.String getServicesIpv4Cidr(); /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -1812,121 +1457,96 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string services_ipv4_cidr = 110; - * * @return The bytes for servicesIpv4Cidr. */ - com.google.protobuf.ByteString getServicesIpv4CidrBytes(); + com.google.protobuf.ByteString + getServicesIpv4CidrBytes(); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated - java.util.List getInstanceGroupUrlsList(); + @java.lang.Deprecated java.util.List + getInstanceGroupUrlsList(); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated - int getInstanceGroupUrlsCount(); + @java.lang.Deprecated int getInstanceGroupUrlsCount(); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated - java.lang.String getInstanceGroupUrls(int index); + @java.lang.Deprecated java.lang.String getInstanceGroupUrls(int index); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. + * See google/container/v1/cluster_service.proto;l=1706 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index); /** - * - * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1710 + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. + * See google/container/v1/cluster_service.proto;l=1710 * @return The currentNodeCount. */ - @java.lang.Deprecated - int getCurrentNodeCount(); + @java.lang.Deprecated int getCurrentNodeCount(); /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The expireTime. */ java.lang.String getExpireTime(); /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The bytes for expireTime. */ - com.google.protobuf.ByteString getExpireTimeBytes(); + com.google.protobuf.ByteString + getExpireTimeBytes(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1936,13 +1556,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string location = 114; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1952,27 +1569,22 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string location = 114; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * 
* * bool enable_tpu = 115; - * * @return The enableTpu. */ boolean getEnableTpu(); /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -1980,13 +1592,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -1994,24 +1603,21 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -2020,8 +1626,6 @@ java.lang.String getResourceLabelsOrDefault( */ com.google.container.v1.StatusCondition getConditions(int index); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -2030,54 +1634,43 @@ java.lang.String getResourceLabelsOrDefault( */ int getConditionsCount(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index); + com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; - * * @return Whether the autopilot field is set. */ boolean hasAutopilot(); /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; - * * @return The autopilot. */ com.google.container.v1.Autopilot getAutopilot(); /** - * - * *
    * Autopilot configuration for the cluster.
    * 
@@ -2087,59 +1680,46 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder(); /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; - * * @return Whether the nodePoolDefaults field is set. */ boolean hasNodePoolDefaults(); /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; - * * @return The nodePoolDefaults. */ com.google.container.v1.NodePoolDefaults getNodePoolDefaults(); /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -2150,32 +1730,24 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; - * * @return The loggingConfig. */ com.google.container.v1.LoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration for the cluster.
    * 
@@ -2185,32 +1757,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; - * * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; - * * @return The monitoringConfig. */ com.google.container.v1.MonitoringConfig getMonitoringConfig(); /** - * - * *
    * Monitoring configuration for the cluster.
    * 
@@ -2220,34 +1784,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return Whether the nodePoolAutoConfig field is set. */ boolean hasNodePoolAutoConfig(); /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return The nodePoolAutoConfig. */ com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig(); /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
new file mode 100644
index 000000000000..d0ca3cde3161
--- /dev/null
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
@@ -0,0 +1,2860 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/container/v1/cluster_service.proto
+
+package com.google.container.v1;
+
+public final class ClusterServiceProto {
+  private ClusterServiceProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_LinuxNodeConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeKubeletConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_MetadataEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_AdvancedMachineFeatures_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeNetworkConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ShieldedInstanceConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SandboxConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SandboxConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GcfsConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GcfsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ReservationAffinity_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeTaint_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeTaint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeTaints_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeTaints_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeLabels_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeLabels_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeLabels_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ResourceLabels_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceLabels_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceLabels_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NetworkTags_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkTags_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MasterAuth_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MasterAuth_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ClientCertificateConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_AddonsConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AddonsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_KubernetesDashboard_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_DnsCacheConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_PrivateClusterConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_CloudRunConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ConfigConnectorConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GkeBackupAgentConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_LegacyAbac_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LegacyAbac_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NetworkPolicy_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_BinaryAuthorization_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_IPAllocationPolicy_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_Cluster_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Cluster_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Cluster_ResourceLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePoolDefaults_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeConfigDefaults_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ClusterUpdate_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_Operation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Operation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_OperationProgress_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_OperationProgress_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_OperationProgress_Metric_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_CreateClusterRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetClusterRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_UpdateClusterRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_UpdateNodePoolRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetLoggingServiceRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetAddonsConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetLocationsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_UpdateMasterRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetMasterAuthRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_DeleteClusterRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListClustersRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListClustersResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetOperationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListOperationsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_CancelOperationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListOperationsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetServerConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ServerConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ServerConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_CreateNodePoolRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_DeleteNodePoolRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListNodePoolsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetNodePoolRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_BlueGreenSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePool_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodeManagement_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeManagement_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MaintenancePolicy_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MaintenanceWindow_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_TimeWindow_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_TimeWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_RecurringTimeWindow_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_DailyMaintenanceWindow_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListNodePoolsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ResourceLimit_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceLimit_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetLabelsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_CompleteIPRotationRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_AcceleratorConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GPUSharingConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_StatusCondition_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_StatusCondition_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NetworkConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GatewayAPIConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_Jwk_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Jwk_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ReleaseChannel_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_CostManagementConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_DNSConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DNSConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MaxPodsConstraint_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MeshCertificates_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MeshCertificates_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_DatabaseEncryption_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_UsableSubnetwork_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ResourceUsageExportConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ShieldedNodes_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_VirtualNIC_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_VirtualNIC_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_FastSocket_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_FastSocket_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NotificationConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NotificationConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NotificationConfig_PubSub_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ConfidentialNodes_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_UpgradeEvent_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_Autopilot_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Autopilot_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_LoggingConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LoggingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_LoggingComponentConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MonitoringConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_NodePoolLoggingConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_LoggingVariantConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_MonitoringComponentConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n)google/container/v1/cluster_service.pr" +
+      "oto\022\023google.container.v1\032\034google/api/ann" +
+      "otations.proto\032\027google/api/client.proto\032" +
+      "\037google/api/field_behavior.proto\032\031google" +
+      "/api/resource.proto\032\036google/protobuf/dur" +
+      "ation.proto\032\033google/protobuf/empty.proto" +
+      "\032\037google/protobuf/timestamp.proto\032\036googl" +
+      "e/protobuf/wrappers.proto\032\025google/rpc/co" +
+      "de.proto\032\027google/rpc/status.proto\"\236\002\n\017Li" +
+      "nuxNodeConfig\022B\n\007sysctls\030\001 \003(\01321.google." +
+      "container.v1.LinuxNodeConfig.SysctlsEntr" +
+      "y\022D\n\013cgroup_mode\030\002 \001(\0162/.google.containe" +
+      "r.v1.LinuxNodeConfig.CgroupMode\032.\n\014Sysct" +
+      "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" +
+      "Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECIFIED" +
+      "\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MODE_V2" +
+      "\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_manager_" +
+      "policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132\032.go" +
+      "ogle.protobuf.BoolValue\022\034\n\024cpu_cfs_quota" +
+      "_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(\003\"\237\014" +
+      "\n\nNodeConfig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014di" +
+      "sk_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(" +
+      "\0132-.google.container.v1.NodeConfig.Metad" +
+      "ataEntry\022\022\n\nimage_type\030\005 \001(\t\022;\n\006labels\030\006" +
+      " \003(\0132+.google.container.v1.NodeConfig.La" +
+      "belsEntry\022\027\n\017local_ssd_count\030\007 \001(\005\022\014\n\004ta" +
+      "gs\030\010 \003(\t\022\023\n\013preemptible\030\n \001(\010\022<\n\014acceler" +
+      "ators\030\013 \003(\0132&.google.container.v1.Accele" +
+      "ratorConfig\022\021\n\tdisk_type\030\014 \001(\t\022\030\n\020min_cp" +
+      "u_platform\030\r \001(\t\022M\n\030workload_metadata_co" +
+      "nfig\030\016 \001(\0132+.google.container.v1.Workloa" +
+      "dMetadataConfig\022.\n\006taints\030\017 \003(\0132\036.google" +
+      ".container.v1.NodeTaint\022:\n\016sandbox_confi" +
+      "g\030\021 \001(\0132\".google.container.v1.SandboxCon" +
+      "fig\022\022\n\nnode_group\030\022 \001(\t\022F\n\024reservation_a" +
+      "ffinity\030\023 \001(\0132(.google.container.v1.Rese" +
+      "rvationAffinity\022M\n\030shielded_instance_con" +
+      "fig\030\024 \001(\0132+.google.container.v1.Shielded" +
+      "InstanceConfig\022?\n\021linux_node_config\030\025 \001(" +
+      "\0132$.google.container.v1.LinuxNodeConfig\022" +
+      ">\n\016kubelet_config\030\026 \001(\0132&.google.contain" +
+      "er.v1.NodeKubeletConfig\022\031\n\021boot_disk_kms" +
+      "_key\030\027 \001(\t\0224\n\013gcfs_config\030\031 \001(\0132\037.google" +
+      ".container.v1.GcfsConfig\022O\n\031advanced_mac" +
+      "hine_features\030\032 \001(\0132,.google.container.v" +
+      "1.AdvancedMachineFeatures\022.\n\005gvnic\030\035 \001(\013" +
+      "2\037.google.container.v1.VirtualNIC\022\014\n\004spo" +
+      "t\030  \001(\010\022B\n\022confidential_nodes\030# \001(\0132&.go" +
+      "ogle.container.v1.ConfidentialNodes\0229\n\013f" +
+      "ast_socket\030$ \001(\0132\037.google.container.v1.F" +
+      "astSocketH\000\210\001\001\022L\n\017resource_labels\030% \003(\0132" +
+      "3.google.container.v1.NodeConfig.Resourc" +
+      "eLabelsEntry\022B\n\016logging_config\030& \001(\0132*.g" +
+      "oogle.container.v1.NodePoolLoggingConfig" +
+      "\032/\n\rMetadataEntry\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\020th" +
+      "reads_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_pe" +
+      "r_core\"\376\003\n\021NodeNetworkConfig\022\035\n\020create_p" +
+      "od_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_pr" +
+      "ivate_nodes\030\t \001(\010H\000\210\001\001\022h\n\032network_perfor" +
+      "mance_config\030\013 \001(\0132?.google.container.v1" +
+      ".NodeNetworkConfig.NetworkPerformanceCon" +
+      "figH\001\210\001\001\032\324\001\n\030NetworkPerformanceConfig\022n\n" +
+      "\033total_egress_bandwidth_tier\030\001 \001(\0162D.goo" +
+      "gle.container.v1.NodeNetworkConfig.Netwo" +
+      "rkPerformanceConfig.TierH\000\210\001\001\"(\n\004Tier\022\024\n" +
+      "\020TIER_UNSPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_tota" +
+      "l_egress_bandwidth_tierB\027\n\025_enable_priva" +
+      "te_nodesB\035\n\033_network_performance_config\"" +
+      "Y\n\026ShieldedInstanceConfig\022\032\n\022enable_secu" +
+      "re_boot\030\001 \001(\010\022#\n\033enable_integrity_monito" +
+      "ring\030\002 \001(\010\"k\n\rSandboxConfig\0225\n\004type\030\002 \001(" +
+      "\0162\'.google.container.v1.SandboxConfig.Ty" +
+      "pe\"#\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\023Reser" +
+      "vationAffinity\022O\n\030consume_reservation_ty" +
+      "pe\030\001 \001(\0162-.google.container.v1.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\"\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%.goo" +
+      "gle.container.v1.NodeTaint.Effect\"Y\n\006Eff" +
+      "ect\022\026\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDU" +
+      "LE\020\001\022\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECU" +
+      "TE\020\003\"<\n\nNodeTaints\022.\n\006taints\030\001 \003(\0132\036.goo" +
+      "gle.container.v1.NodeTaint\"x\n\nNodeLabels" +
+      "\022;\n\006labels\030\001 \003(\0132+.google.container.v1.N" +
+      "odeLabels.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003" +
+      "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\016Resourc" +
+      "eLabels\022?\n\006labels\030\001 \003(\0132/.google.contain" +
+      "er.v1.ResourceLabels.LabelsEntry\032-\n\013Labe" +
+      "lsEntry\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\"\331\001\n\nMasterA" +
+      "uth\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.ClientCertifica" +
+      "teConfig\022\036\n\026cluster_ca_certificate\030d \001(\t" +
+      "\022\032\n\022client_certificate\030e \001(\t\022\022\n\nclient_k" +
+      "ey\030f \001(\t\";\n\027ClientCertificateConfig\022 \n\030i" +
+      "ssue_client_certificate\030\001 \001(\010\"\223\006\n\014Addons" +
+      "Config\022C\n\023http_load_balancing\030\001 \001(\0132&.go" +
+      "ogle.container.v1.HttpLoadBalancing\022Q\n\032h" +
+      "orizontal_pod_autoscaling\030\002 \001(\0132-.google" +
+      ".container.v1.HorizontalPodAutoscaling\022J" +
+      "\n\024kubernetes_dashboard\030\003 \001(\0132(.google.co" +
+      "ntainer.v1.KubernetesDashboardB\002\030\001\022G\n\025ne" +
+      "twork_policy_config\030\004 \001(\0132(.google.conta" +
+      "iner.v1.NetworkPolicyConfig\022=\n\020cloud_run" +
+      "_config\030\007 \001(\0132#.google.container.v1.Clou" +
+      "dRunConfig\022=\n\020dns_cache_config\030\010 \001(\0132#.g" +
+      "oogle.container.v1.DnsCacheConfig\022K\n\027con" +
+      "fig_connector_config\030\n \001(\0132*.google.cont" +
+      "ainer.v1.ConfigConnectorConfig\022d\n%gce_pe" +
+      "rsistent_disk_csi_driver_config\030\013 \001(\01325." +
+      "google.container.v1.GcePersistentDiskCsi" +
+      "DriverConfig\022Y\n\037gcp_filestore_csi_driver" +
+      "_config\030\016 \001(\01320.google.container.v1.GcpF" +
+      "ilestoreCsiDriverConfig\022J\n\027gke_backup_ag" +
+      "ent_config\030\020 \001(\0132).google.container.v1.G" +
+      "keBackupAgentConfig\"%\n\021HttpLoadBalancing" +
+      "\022\020\n\010disabled\030\001 \001(\010\",\n\030HorizontalPodAutos" +
+      "caling\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDa" +
+      "shboard\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPoli" +
+      "cyConfig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheCo" +
+      "nfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClusterM" +
+      "asterGlobalAccessConfig\022\017\n\007enabled\030\001 \001(\010" +
+      "\"\305\002\n\024PrivateClusterConfig\022\034\n\024enable_priv" +
+      "ate_nodes\030\001 \001(\010\022\037\n\027enable_private_endpoi" +
+      "nt\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_end" +
+      "point\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022`\n\033mas" +
+      "ter_global_access_config\030\010 \001(\0132;.google." +
+      "container.v1.PrivateClusterMasterGlobalA" +
+      "ccessConfig\022#\n\033private_endpoint_subnetwo" +
+      "rk\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\016CloudRunConfig\022\020\n\010disabled\030\001 \001(\010\022P\n\022l" +
+      "oad_balancer_type\030\003 \001(\01624.google.contain" +
+      "er.v1.CloudRunConfig.LoadBalancerType\"x\n" +
+      "\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TYPE_" +
+      "UNSPECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTE" +
+      "RNAL\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"" +
+      "(\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\024GkeBackupAgent" +
+      "Config\022\017\n\007enabled\030\001 \001(\010\"\216\002\n\036MasterAuthor" +
+      "izedNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022R\n\013c" +
+      "idr_blocks\030\002 \003(\0132=.google.container.v1.M" +
+      "asterAuthorizedNetworksConfig.CidrBlock\022" +
+      ",\n\037gcp_public_cidrs_access_enabled\030\003 \001(\010" +
+      "H\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_cidr" +
+      "s_access_enabled\"\035\n\nLegacyAbac\022\017\n\007enable" +
+      "d\030\001 \001(\010\"\221\001\n\rNetworkPolicy\022=\n\010provider\030\001 " +
+      "\001(\0162+.google.container.v1.NetworkPolicy." +
+      "Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010Provider\022\030\n" +
+      "\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CALICO\020\001\"\343\001\n\023" +
+      "BinaryAuthorization\022\023\n\007enabled\030\001 \001(\010B\002\030\001" +
+      "\022P\n\017evaluation_mode\030\002 \001(\01627.google.conta" +
+      "iner.v1.BinaryAuthorization.EvaluationMo" +
+      "de\"e\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_" +
+      "UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_S" +
+      "INGLETON_POLICY_ENFORCE\020\002\"\215\004\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\023tpu_ipv" +
+      "4_cidr_block\030\r \001(\t\022\022\n\nuse_routes\030\017 \001(\010\0222" +
+      "\n\nstack_type\030\020 \001(\0162\036.google.container.v1" +
+      ".StackType\022=\n\020ipv6_access_type\030\021 \001(\0162#.g" +
+      "oogle.container.v1.IPv6AccessType\"\207\031\n\007Cl" +
+      "uster\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\0228\n\013node" +
+      "_config\030\004 \001(\0132\037.google.container.v1.Node" +
+      "ConfigB\002\030\001\0224\n\013master_auth\030\005 \001(\0132\037.google" +
+      ".container.v1.MasterAuth\022\027\n\017logging_serv" +
+      "ice\030\006 \001(\t\022\032\n\022monitoring_service\030\007 \001(\t\022\017\n" +
+      "\007network\030\010 \001(\t\022\031\n\021cluster_ipv4_cidr\030\t \001(" +
+      "\t\0228\n\raddons_config\030\n \001(\0132!.google.contai" +
+      "ner.v1.AddonsConfig\022\022\n\nsubnetwork\030\013 \001(\t\022" +
+      "1\n\nnode_pools\030\014 \003(\0132\035.google.container.v" +
+      "1.NodePool\022\021\n\tlocations\030\r \003(\t\022\037\n\027enable_" +
+      "kubernetes_alpha\030\016 \001(\010\022I\n\017resource_label" +
+      "s\030\017 \003(\01320.google.container.v1.Cluster.Re" +
+      "sourceLabelsEntry\022\031\n\021label_fingerprint\030\020" +
+      " \001(\t\0224\n\013legacy_abac\030\022 \001(\0132\037.google.conta" +
+      "iner.v1.LegacyAbac\022:\n\016network_policy\030\023 \001" +
+      "(\0132\".google.container.v1.NetworkPolicy\022E" +
+      "\n\024ip_allocation_policy\030\024 \001(\0132\'.google.co" +
+      "ntainer.v1.IPAllocationPolicy\022^\n!master_" +
+      "authorized_networks_config\030\026 \001(\01323.googl" +
+      "e.container.v1.MasterAuthorizedNetworksC" +
+      "onfig\022B\n\022maintenance_policy\030\027 \001(\0132&.goog" +
+      "le.container.v1.MaintenancePolicy\022F\n\024bin" +
+      "ary_authorization\030\030 \001(\0132(.google.contain" +
+      "er.v1.BinaryAuthorization\022<\n\013autoscaling" +
+      "\030\032 \001(\0132\'.google.container.v1.ClusterAuto" +
+      "scaling\022:\n\016network_config\030\033 \001(\0132\".google" +
+      ".container.v1.NetworkConfig\022K\n\033default_m" +
+      "ax_pods_constraint\030\036 \001(\0132&.google.contai" +
+      "ner.v1.MaxPodsConstraint\022T\n\034resource_usa" +
+      "ge_export_config\030! \001(\0132..google.containe" +
+      "r.v1.ResourceUsageExportConfig\022S\n\033authen" +
+      "ticator_groups_config\030\" \001(\0132..google.con" +
+      "tainer.v1.AuthenticatorGroupsConfig\022I\n\026p" +
+      "rivate_cluster_config\030% \001(\0132).google.con" +
+      "tainer.v1.PrivateClusterConfig\022D\n\023databa" +
+      "se_encryption\030& \001(\0132\'.google.container.v" +
+      "1.DatabaseEncryption\022M\n\030vertical_pod_aut" +
+      "oscaling\030\' \001(\0132+.google.container.v1.Ver" +
+      "ticalPodAutoscaling\022:\n\016shielded_nodes\030( " +
+      "\001(\0132\".google.container.v1.ShieldedNodes\022" +
+      "<\n\017release_channel\030) \001(\0132#.google.contai" +
+      "ner.v1.ReleaseChannel\022M\n\030workload_identi" +
+      "ty_config\030+ \001(\0132+.google.container.v1.Wo" +
+      "rkloadIdentityConfig\022@\n\021mesh_certificate" +
+      "s\030C \001(\0132%.google.container.v1.MeshCertif" +
+      "icates\022I\n\026cost_management_config\030- \001(\0132)" +
+      ".google.container.v1.CostManagementConfi" +
+      "g\022D\n\023notification_config\0301 \001(\0132\'.google." +
+      "container.v1.NotificationConfig\022B\n\022confi" +
+      "dential_nodes\0302 \001(\0132&.google.container.v" +
+      "1.ConfidentialNodes\022K\n\027identity_service_" +
+      "config\0306 \001(\0132*.google.container.v1.Ident" +
+      "ityServiceConfig\022\021\n\tself_link\030d \001(\t\022\020\n\004z" +
+      "one\030e \001(\tB\002\030\001\022\020\n\010endpoint\030f \001(\t\022\037\n\027initi" +
+      "al_cluster_version\030g \001(\t\022\036\n\026current_mast" +
+      "er_version\030h \001(\t\022 \n\024current_node_version" +
+      "\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\0223\n\006statu" +
+      "s\030k \001(\0162#.google.container.v1.Cluster.St" +
+      "atus\022\032\n\016status_message\030l \001(\tB\002\030\001\022\033\n\023node" +
+      "_ipv4_cidr_size\030m \001(\005\022\032\n\022services_ipv4_c" +
+      "idr\030n \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\013ex" +
+      "pire_time\030q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nena" +
+      "ble_tpu\030s \001(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001" +
+      "(\t\0228\n\nconditions\030v \003(\0132$.google.containe" +
+      "r.v1.StatusCondition\0222\n\tautopilot\030\200\001 \001(\013" +
+      "2\036.google.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" +
+      "%.google.container.v1.NodePoolDefaultsH\000" +
+      "\210\001\001\022;\n\016logging_config\030\204\001 \001(\0132\".google.co" +
+      "ntainer.v1.LoggingConfig\022A\n\021monitoring_c" +
+      "onfig\030\205\001 \001(\0132%.google.container.v1.Monit" +
+      "oringConfig\022G\n\025node_pool_auto_config\030\210\001 " +
+      "\001(\0132\'.google.container.v1.NodePoolAutoCo" +
+      "nfig\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_" +
+      "UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNI" +
+      "NG\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005E" +
+      "RROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defau" +
+      "lts\"L\n\022NodePoolAutoConfig\0226\n\014network_tag" +
+      "s\030\001 \001(\0132 .google.container.v1.NetworkTag" +
+      "s\"Y\n\020NodePoolDefaults\022E\n\024node_config_def" +
+      "aults\030\001 \001(\0132\'.google.container.v1.NodeCo" +
+      "nfigDefaults\"\216\001\n\022NodeConfigDefaults\0224\n\013g" +
+      "cfs_config\030\001 \001(\0132\037.google.container.v1.G" +
+      "cfsConfig\022B\n\016logging_config\030\003 \001(\0132*.goog" +
+      "le.container.v1.NodePoolLoggingConfig\"\243\025" +
+      "\n\rClusterUpdate\022\034\n\024desired_node_version\030" +
+      "\004 \001(\t\022\"\n\032desired_monitoring_service\030\005 \001(" +
+      "\t\022@\n\025desired_addons_config\030\006 \001(\0132!.googl" +
+      "e.container.v1.AddonsConfig\022\034\n\024desired_n" +
+      "ode_pool_id\030\007 \001(\t\022\032\n\022desired_image_type\030" +
+      "\010 \001(\t\022L\n\033desired_database_encryption\030. \001" +
+      "(\0132\'.google.container.v1.DatabaseEncrypt" +
+      "ion\022U\n desired_workload_identity_config\030" +
+      "/ \001(\0132+.google.container.v1.WorkloadIden" +
+      "tityConfig\022H\n\031desired_mesh_certificates\030" +
+      "C \001(\0132%.google.container.v1.MeshCertific" +
+      "ates\022B\n\026desired_shielded_nodes\0300 \001(\0132\".g" +
+      "oogle.container.v1.ShieldedNodes\022Q\n\036desi" +
+      "red_cost_management_config\0301 \001(\0132).googl" +
+      "e.container.v1.CostManagementConfig\022:\n\022d" +
+      "esired_dns_config\0305 \001(\0132\036.google.contain" +
+      "er.v1.DNSConfig\022O\n\035desired_node_pool_aut" +
+      "oscaling\030\t \001(\0132(.google.container.v1.Nod" +
+      "ePoolAutoscaling\022\031\n\021desired_locations\030\n " +
+      "\003(\t\022f\n)desired_master_authorized_network" +
+      "s_config\030\014 \001(\01323.google.container.v1.Mas" +
+      "terAuthorizedNetworksConfig\022L\n\033desired_c" +
+      "luster_autoscaling\030\017 \001(\0132\'.google.contai" +
+      "ner.v1.ClusterAutoscaling\022N\n\034desired_bin" +
+      "ary_authorization\030\020 \001(\0132(.google.contain" +
+      "er.v1.BinaryAuthorization\022\037\n\027desired_log" +
+      "ging_service\030\023 \001(\t\022\\\n$desired_resource_u" +
+      "sage_export_config\030\025 \001(\0132..google.contai" +
+      "ner.v1.ResourceUsageExportConfig\022U\n desi" +
+      "red_vertical_pod_autoscaling\030\026 \001(\0132+.goo" +
+      "gle.container.v1.VerticalPodAutoscaling\022" +
+      "Q\n\036desired_private_cluster_config\030\031 \001(\0132" +
+      ").google.container.v1.PrivateClusterConf" +
+      "ig\022\\\n$desired_intra_node_visibility_conf" +
+      "ig\030\032 \001(\0132..google.container.v1.IntraNode" +
+      "VisibilityConfig\022K\n\033desired_default_snat" +
+      "_status\030\034 \001(\0132&.google.container.v1.Defa" +
+      "ultSnatStatus\022D\n\027desired_release_channel" +
+      "\030\037 \001(\0132#.google.container.v1.ReleaseChan" +
+      "nel\022Q\n\037desired_l4ilb_subsetting_config\030\'" +
+      " \001(\0132(.google.container.v1.ILBSubsetting" +
+      "Config\022H\n\031desired_datapath_provider\0302 \001(" +
+      "\0162%.google.container.v1.DatapathProvider" +
+      "\022X\n\"desired_private_ipv6_google_access\0303" +
+      " \001(\0162,.google.container.v1.PrivateIPv6Go" +
+      "ogleAccess\022L\n\033desired_notification_confi" +
+      "g\0307 \001(\0132\'.google.container.v1.Notificati" +
+      "onConfig\022[\n#desired_authenticator_groups" +
+      "_config\030? \001(\0132..google.container.v1.Auth" +
+      "enticatorGroupsConfig\022B\n\026desired_logging" +
+      "_config\030@ \001(\0132\".google.container.v1.Logg" +
+      "ingConfig\022H\n\031desired_monitoring_config\030A" +
+      " \001(\0132%.google.container.v1.MonitoringCon" +
+      "fig\022S\n\037desired_identity_service_config\030B" +
+      " \001(\0132*.google.container.v1.IdentityServi" +
+      "ceConfig\022Z\n#desired_service_external_ips" +
+      "_config\030< \001(\0132-.google.container.v1.Serv" +
+      "iceExternalIPsConfig\022,\n\037desired_enable_p" +
+      "rivate_endpoint\030G \001(\010H\000\210\001\001\022\036\n\026desired_ma" +
+      "ster_version\030d \001(\t\022<\n\023desired_gcfs_confi" +
+      "g\030m \001(\0132\037.google.container.v1.GcfsConfig" +
+      "\022T\n*desired_node_pool_auto_config_networ" +
+      "k_tags\030n \001(\0132 .google.container.v1.Netwo" +
+      "rkTags\022I\n\032desired_gateway_api_config\030r \001" +
+      "(\0132%.google.container.v1.GatewayAPIConfi" +
+      "g\022T\n desired_node_pool_logging_config\030t " +
+      "\001(\0132*.google.container.v1.NodePoolLoggin" +
+      "gConfigB\"\n _desired_enable_private_endpo" +
+      "int\"\361\007\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#.goog" +
+      "le.container.v1.Operation.Type\0225\n\006status" +
+      "\030\004 \001(\0162%.google.container.v1.Operation.S" +
+      "tatus\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\013targe" +
+      "t_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\010progress" +
+      "\030\014 \001(\0132&.google.container.v1.OperationPr" +
+      "ogressB\003\340A\003\022D\n\022cluster_conditions\030\r \003(\0132" +
+      "$.google.container.v1.StatusConditionB\002\030" +
+      "\001\022E\n\023nodepool_conditions\030\016 \003(\0132$.google." +
+      "container.v1.StatusConditionB\002\030\001\022!\n\005erro" +
+      "r\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\007RU" +
+      "NNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\375\002\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\016UPGRADE_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_POO" +
+      "L\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_PO" +
+      "OL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026" +
+      "\n\022AUTO_UPGRADE_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023" +
+      "\n\017SET_MASTER_AUTH\020\r\022\026\n\022SET_NODE_POOL_SIZ" +
+      "E\020\016\022\026\n\022SET_NETWORK_POLICY\020\017\022\032\n\026SET_MAINT" +
+      "ENANCE_POLICY\020\020\"\273\002\n\021OperationProgress\022\014\n" +
+      "\004name\030\001 \001(\t\0225\n\006status\030\002 \001(\0162%.google.con" +
+      "tainer.v1.Operation.Status\022>\n\007metrics\030\003 " +
+      "\003(\0132-.google.container.v1.OperationProgr" +
+      "ess.Metric\0226\n\006stages\030\004 \003(\0132&.google.cont" +
+      "ainer.v1.OperationProgress\032i\n\006Metric\022\021\n\004" +
+      "name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014" +
+      "double_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\nproject_id\030\001 \001(\tB\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\006parent\030\005 \001(\t\"c\n\021GetClust" +
+      "erRequest\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\014\n\004n" +
+      "ame\030\005 \001(\t\"\237\001\n\024UpdateClusterRequest\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\0227\n\006update\030\004 \001(\0132\".g" +
+      "oogle.container.v1.ClusterUpdateB\003\340A\002\022\014\n" +
+      "\004name\030\005 \001(\t\"\232\010\n\025UpdateNodePoolRequest\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\031\n\014node_version\030\005 \001(\tB\003\340A\002\022\027\n\n" +
+      "image_type\030\006 \001(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tl" +
+      "ocations\030\r \003(\t\022M\n\030workload_metadata_conf" +
+      "ig\030\016 \001(\0132+.google.container.v1.WorkloadM" +
+      "etadataConfig\022G\n\020upgrade_settings\030\017 \001(\0132" +
+      "-.google.container.v1.NodePool.UpgradeSe" +
+      "ttings\022.\n\004tags\030\020 \001(\0132 .google.container." +
+      "v1.NetworkTags\022/\n\006taints\030\021 \001(\0132\037.google." +
+      "container.v1.NodeTaints\022/\n\006labels\030\022 \001(\0132" +
+      "\037.google.container.v1.NodeLabels\022?\n\021linu" +
+      "x_node_config\030\023 \001(\0132$.google.container.v" +
+      "1.LinuxNodeConfig\022>\n\016kubelet_config\030\024 \001(" +
+      "\0132&.google.container.v1.NodeKubeletConfi" +
+      "g\022C\n\023node_network_config\030\025 \001(\0132&.google." +
+      "container.v1.NodeNetworkConfig\0224\n\013gcfs_c",
+      "onfig\030\026 \001(\0132\037.google.container.v1.GcfsCo" +
+      "nfig\022B\n\022confidential_nodes\030\027 \001(\0132&.googl" +
+      "e.container.v1.ConfidentialNodes\022.\n\005gvni" +
+      "c\030\035 \001(\0132\037.google.container.v1.VirtualNIC" +
+      "\0224\n\013fast_socket\030\037 \001(\0132\037.google.container" +
+      ".v1.FastSocket\022B\n\016logging_config\030  \001(\0132*" +
+      ".google.container.v1.NodePoolLoggingConf" +
+      "ig\022<\n\017resource_labels\030! \001(\0132#.google.con" +
+      "tainer.v1.ResourceLabels\"\315\001\n\035SetNodePool" +
+      "AutoscalingRequest\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\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autosc" +
+      "aling\030\005 \001(\0132(.google.container.v1.NodePo" +
+      "olAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030Set" +
+      "LoggingServiceRequest\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\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022\014\n" +
+      "\004name\030\005 \001(\t\"\216\001\n\033SetMonitoringServiceRequ" +
+      "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\037\n\022monitor" +
+      "ing_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_config\030\004 \001(\0132!.googl" +
+      "e.container.v1.AddonsConfigB\003\340A\002\022\014\n\004name" +
+      "\030\006 \001(\t\"}\n\023SetLocationsRequest\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\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_id\030\003 \001(\tB\002\030\001\022\033\n\016master_versio" +
+      "n\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMaster" +
+      "AuthRequest\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\022E\n" +
+      "\006action\030\004 \001(\01620.google.container.v1.SetM" +
+      "asterAuthRequest.ActionB\003\340A\002\0224\n\006update\030\005" +
+      " \001(\0132\037.google.container.v1.MasterAuthB\003\340" +
+      "A\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\"f\n\024DeleteClusterReque" +
+      "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" +
+      "B\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\024ListClustersResponse\022.\n\010clusters\030" +
+      "\001 \003(\0132\034.google.container.v1.Cluster\022\025\n\rm" +
+      "issing_zones\030\002 \003(\t\"g\n\023GetOperationReques" +
+      "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\030\n\014operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 " +
+      "\001(\t\"Q\n\025ListOperationsRequest\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\026CancelOperationRequest\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\030\n\014op" +
+      "eration_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"c\n\026Li" +
+      "stOperationsResponse\0222\n\noperations\030\001 \003(\013" +
+      "2\036.google.container.v1.Operation\022\025\n\rmiss" +
+      "ing_zones\030\002 \003(\t\"P\n\026GetServerConfigReques" +
+      "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\014\n\004name\030\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027de" +
+      "fault_cluster_version\030\001 \001(\t\022\033\n\023valid_nod" +
+      "e_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" +
+      "_master_versions\030\006 \003(\t\022H\n\010channels\030\t \003(\013" +
+      "26.google.container.v1.ServerConfig.Rele" +
+      "aseChannelConfig\032\205\001\n\024ReleaseChannelConfi" +
+      "g\022<\n\007channel\030\001 \001(\0162+.google.container.v1" +
+      ".ReleaseChannel.Channel\022\027\n\017default_versi" +
+      "on\030\002 \001(\t\022\026\n\016valid_versions\030\004 \003(\t\"\240\001\n\025Cre" +
+      "ateNodePoolRequest\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\0225\n\tnode_pool\030\004 \001(\0132\035.google.contain" +
+      "er.v1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025" +
+      "DeleteNodePoolRequest\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\004nam" +
+      "e\030\006 \001(\t\"h\n\024ListNodePoolsRequest\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\016\n\006parent\030\005 \001(\t\"~\n\022Get" +
+      "NodePoolRequest\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\004name\030\006 \001(" +
+      "\t\"\237\003\n\021BlueGreenSettings\022_\n\027standard_roll" +
+      "out_policy\030\001 \001(\0132<.google.container.v1.B" +
+      "lueGreenSettings.StandardRolloutPolicyH\000" +
+      "\022?\n\027node_pool_soak_duration\030\002 \001(\0132\031.goog" +
+      "le.protobuf.DurationH\001\210\001\001\032\271\001\n\025StandardRo" +
+      "lloutPolicy\022\032\n\020batch_percentage\030\001 \001(\002H\000\022" +
+      "\032\n\020batch_node_count\030\002 \001(\005H\000\022;\n\023batch_soa" +
+      "k_duration\030\003 \001(\0132\031.google.protobuf.Durat" +
+      "ionH\001\210\001\001B\023\n\021update_batch_sizeB\026\n\024_batch_" +
+      "soak_durationB\020\n\016rollout_policyB\032\n\030_node" +
+      "_pool_soak_duration\"\266\016\n\010NodePool\022\014\n\004name" +
+      "\030\001 \001(\t\022/\n\006config\030\002 \001(\0132\037.google.containe" +
+      "r.v1.NodeConfig\022\032\n\022initial_node_count\030\003 " +
+      "\001(\005\022\021\n\tlocations\030\r \003(\t\022>\n\016network_config" +
+      "\030\016 \001(\0132&.google.container.v1.NodeNetwork" +
+      "Config\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\006statu" +
+      "s\030g \001(\0162$.google.container.v1.NodePool.S" +
+      "tatus\022\032\n\016status_message\030h \001(\tB\002\030\001\022=\n\013aut" +
+      "oscaling\030\004 \001(\0132(.google.container.v1.Nod" +
+      "ePoolAutoscaling\0227\n\nmanagement\030\005 \001(\0132#.g" +
+      "oogle.container.v1.NodeManagement\022C\n\023max" +
+      "_pods_constraint\030\006 \001(\0132&.google.containe" +
+      "r.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.container.v1.Nod" +
+      "ePool.UpgradeSettings\022G\n\020placement_polic" +
+      "y\030l \001(\0132-.google.container.v1.NodePool.P" +
+      "lacementPolicy\022B\n\013update_info\030m \001(\0132(.go" +
+      "ogle.container.v1.NodePool.UpdateInfoB\003\340" +
+      "A\003\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~\n\017PlacementPolicy\022@\n\004type\030\001 \001(" +
+      "\01622.google.container.v1.NodePool.Placeme" +
+      "ntPolicy.Type\")\n\004Type\022\024\n\020TYPE_UNSPECIFIE" +
+      "D\020\000\022\013\n\007COMPACT\020\001\"\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\"}\n\016NodeMana" +
+      "gement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_rep" +
+      "air\030\002 \001(\010\022@\n\017upgrade_options\030\n \001(\0132\'.goo" +
+      "gle.container.v1.AutoUpgradeOptions\"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\"\230\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\"H\n\rResou" +
+      "rceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minim" +
+      "um\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\307\002\n\023NodePoolAu" +
+      "toscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_c" +
+      "ount\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017au" +
+      "toprovisioned\030\004 \001(\010\022P\n\017location_policy\030\005" +
+      " \001(\01627.google.container.v1.NodePoolAutos" +
+      "caling.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\033LOCATION_POLICY_U" +
+      "NSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"\222\002\n\020" +
+      "SetLabelsRequest\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.con" +
+      "tainer.v1.SetLabelsRequest.ResourceLabel" +
+      "sEntryB\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\"|\n\024SetL" +
+      "egacyAbacRequest\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\ncluster_i" +
+      "d\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022rotate_cred" +
+      "entials\030\007 \001(\010\"k\n\031CompleteIPRotationReque" +
+      "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" +
+      "B\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\007 \001" +
+      "(\t\"\303\001\n\021AcceleratorConfig\022\031\n\021accelerator_" +
+      "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_sharing" +
+      "_config\030\005 \001(\0132%.google.container.v1.GPUS" +
+      "haringConfigH\000\210\001\001B\025\n\023_gpu_sharing_config" +
+      "\"\372\001\n\020GPUSharingConfig\022\"\n\032max_shared_clie" +
+      "nts_per_gpu\030\001 \001(\003\022[\n\024gpu_sharing_strateg" +
+      "y\030\002 \001(\01628.google.container.v1.GPUSharing" +
+      "Config.GPUSharingStrategyH\000\210\001\001\"L\n\022GPUSha" +
+      "ringStrategy\022$\n GPU_SHARING_STRATEGY_UNS" +
+      "PECIFIED\020\000\022\020\n\014TIME_SHARING\020\001B\027\n\025_gpu_sha" +
+      "ring_strategy\"\232\001\n\026WorkloadMetadataConfig" +
+      "\022>\n\004mode\030\002 \001(\01620.google.container.v1.Wor" +
+      "kloadMetadataConfig.Mode\"@\n\004Mode\022\024\n\020MODE" +
+      "_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GKE_" +
+      "METADATA\020\002\"\252\001\n\027SetNetworkPolicyRequest\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\016network_poli" +
+      "cy\030\004 \001(\0132\".google.container.v1.NetworkPo" +
+      "licyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\271\001\n\033SetMaintenan" +
+      "cePolicyRequest\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&.googl" +
+      "e.container.v1.MaintenancePolicyB\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.StatusCondit" +
+      "ion.CodeB\002\030\001\022\017\n\007message\030\002 \001(\t\022(\n\016canonic" +
+      "al_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_S" +
+      "ERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOTA_EX" +
+      "CEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLOUD_K" +
+      "MS_KEY_ERROR\020\007\022\017\n\013CA_EXPIRING\020\t\"\237\004\n\rNetw" +
+      "orkConfig\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&.goog" +
+      "le.container.v1.DefaultSnatStatus\022\037\n\027ena" +
+      "ble_l4ilb_subsetting\030\n \001(\010\022@\n\021datapath_p" +
+      "rovider\030\013 \001(\0162%.google.container.v1.Data" +
+      "pathProvider\022P\n\032private_ipv6_google_acce" +
+      "ss\030\014 \001(\0162,.google.container.v1.PrivateIP" +
+      "v6GoogleAccess\0222\n\ndns_config\030\r \001(\0132\036.goo" +
+      "gle.container.v1.DNSConfig\022R\n\033service_ex" +
+      "ternal_ips_config\030\017 \001(\0132-.google.contain" +
+      "er.v1.ServiceExternalIPsConfig\022A\n\022gatewa" +
+      "y_api_config\030\020 \001(\0132%.google.container.v1" +
+      ".GatewayAPIConfig\"\274\001\n\020GatewayAPIConfig\022>" +
+      "\n\007channel\030\001 \001(\0162-.google.container.v1.Ga" +
+      "tewayAPIConfig.Channel\"h\n\007Channel\022\027\n\023CHA" +
+      "NNEL_UNSPECIFIED\020\000\022\024\n\020CHANNEL_DISABLED\020\001" +
+      "\022\030\n\024CHANNEL_EXPERIMENTAL\020\003\022\024\n\020CHANNEL_ST" +
+      "ANDARD\020\004\"+\n\030ServiceExternalIPsConfig\022\017\n\007" +
+      "enabled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022" +
+      "\016\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRespo" +
+      "nse\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n" +
+      "\030response_types_supported\030\003 \003(\t\022\037\n\027subje" +
+      "ct_types_supported\030\004 \003(\t\022-\n%id_token_sig" +
+      "ning_alg_values_supported\030\005 \003(\t\022\030\n\020claim" +
+      "s_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\003crv\030\t \001(\t\"@\n\026G" +
+      "etJSONWebKeysResponse\022&\n\004keys\030\001 \003(\0132\030.go" +
+      "ogle.container.v1.Jwk\"\216\001\n\016ReleaseChannel" +
+      "\022<\n\007channel\030\001 \001(\0162+.google.container.v1." +
+      "ReleaseChannel.Channel\">\n\007Channel\022\017\n\013UNS" +
+      "PECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020\002\022\n\n\006ST" +
+      "ABLE\020\003\"\'\n\024CostManagementConfig\022\017\n\007enable" +
+      "d\030\001 \001(\010\",\n\031IntraNodeVisibilityConfig\022\017\n\007" +
+      "enabled\030\001 \001(\010\"&\n\023ILBSubsettingConfig\022\017\n\007" +
+      "enabled\030\001 \001(\010\"\252\002\n\tDNSConfig\022<\n\013cluster_d" +
+      "ns\030\001 \001(\0162\'.google.container.v1.DNSConfig" +
+      ".Provider\022B\n\021cluster_dns_scope\030\002 \001(\0162\'.g" +
+      "oogle.container.v1.DNSConfig.DNSScope\022\032\n" +
+      "\022cluster_dns_domain\030\003 \001(\t\"I\n\010Provider\022\030\n" +
+      "\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_DEFA" +
+      "ULT\020\001\022\r\n\tCLOUD_DNS\020\002\"4\n\010DNSScope\022\031\n\025DNS_" +
+      "SCOPE_UNSPECIFIED\020\000\022\r\n\tVPC_SCOPE\020\002\".\n\021Ma" +
+      "xPodsConstraint\022\031\n\021max_pods_per_node\030\001 \001" +
+      "(\003\"/\n\026WorkloadIdentityConfig\022\025\n\rworkload" +
+      "_pool\030\002 \001(\t\"(\n\025IdentityServiceConfig\022\017\n\007" +
+      "enabled\030\001 \001(\010\"K\n\020MeshCertificates\0227\n\023ena" +
+      "ble_certificates\030\001 \001(\0132\032.google.protobuf" +
+      ".BoolValue\"\230\001\n\022DatabaseEncryption\022<\n\005sta" +
+      "te\030\002 \001(\0162-.google.container.v1.DatabaseE" +
+      "ncryption.State\022\020\n\010key_name\030\001 \001(\t\"2\n\005Sta" +
+      "te\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYP" +
+      "TED\020\002\"e\n\034ListUsableSubnetworksRequest\022\016\n" +
+      "\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si" +
+      "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"t\n\035ListUsab" +
+      "leSubnetworksResponse\022:\n\013subnetworks\030\001 \003" +
+      "(\0132%.google.container.v1.UsableSubnetwor" +
+      "k\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\036UsableSub" +
+      "networkSecondaryRange\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(\016" +
+      "2:.google.container.v1.UsableSubnetworkS" +
+      "econdaryRange.Status\"g\n\006Status\022\013\n\007UNKNOW" +
+      "N\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024I" +
+      "N_USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_" +
+      "POD\020\004\"\270\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\022P\n\023secondary_ip_ranges\030\004 \003(\01323.go" +
+      "ogle.container.v1.UsableSubnetworkSecond" +
+      "aryRange\022\026\n\016status_message\030\005 \001(\t\"\355\002\n\031Res" +
+      "ourceUsageExportConfig\022`\n\024bigquery_desti" +
+      "nation\030\001 \001(\0132B.google.container.v1.Resou" +
+      "rceUsageExportConfig.BigQueryDestination" +
+      "\022&\n\036enable_network_egress_metering\030\002 \001(\010" +
+      "\022m\n\033consumption_metering_config\030\003 \001(\0132H." +
+      "google.container.v1.ResourceUsageExportC" +
+      "onfig.ConsumptionMeteringConfig\032)\n\023BigQu" +
+      "eryDestination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Co" +
+      "nsumptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010" +
+      "\")\n\026VerticalPodAutoscaling\022\017\n\007enabled\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\n" +
+      "VirtualNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocke" +
+      "t\022\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationConfi" +
+      "g\022>\n\006pubsub\030\001 \001(\0132..google.container.v1." +
+      "NotificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007" +
+      "enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsu" +
+      "b.googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132." +
+      ".google.container.v1.NotificationConfig." +
+      "Filter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.g" +
+      "oogle.container.v1.NotificationConfig.Ev" +
+      "entType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPE" +
+      "CIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n" +
+      "\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EV" +
+      "ENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007enabled\030\001 " +
+      "\001(\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_type\030\001 " +
+      "\001(\0162(.google.container.v1.UpgradeResourc" +
+      "eType\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_st" +
+      "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" +
+      "mp\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_ve" +
+      "rsion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025Upgrad" +
+      "eAvailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rreso" +
+      "urce_type\030\002 \001(\0162(.google.container.v1.Up" +
+      "gradeResourceType\022<\n\017release_channel\030\003 \001" +
+      "(\0132#.google.container.v1.ReleaseChannel\022" +
+      "\020\n\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEv" +
+      "ent\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013b" +
+      "ulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sev" +
+      "erity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021bri" +
+      "ef_description\030\006 \001(\t\022!\n\031affected_support" +
+      "ed_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\025m" +
+      "anual_steps_required\030\n \001(\010\"\034\n\tAutopilot\022" +
+      "\017\n\007enabled\030\001 \001(\010\"V\n\rLoggingConfig\022E\n\020com" +
+      "ponent_config\030\001 \001(\0132+.google.container.v" +
+      "1.LoggingComponentConfig\"\357\001\n\026LoggingComp" +
+      "onentConfig\022P\n\021enable_components\030\001 \003(\01625" +
+      ".google.container.v1.LoggingComponentCon" +
+      "fig.Component\"\202\001\n\tComponent\022\031\n\025COMPONENT" +
+      "_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\tSCHEDULER" +
+      "\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\"\255\001\n\020Monitorin" +
+      "gConfig\022H\n\020component_config\030\001 \001(\0132..goog" +
+      "le.container.v1.MonitoringComponentConfi" +
+      "g\022O\n\031managed_prometheus_config\030\002 \001(\0132,.g" +
+      "oogle.container.v1.ManagedPrometheusConf" +
+      "ig\"Z\n\025NodePoolLoggingConfig\022A\n\016variant_c" +
+      "onfig\030\001 \001(\0132).google.container.v1.Loggin" +
+      "gVariantConfig\"\237\001\n\024LoggingVariantConfig\022" +
+      "B\n\007variant\030\001 \001(\01621.google.container.v1.L" +
+      "oggingVariantConfig.Variant\"C\n\007Variant\022\027" +
+      "\n\023VARIANT_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n\016" +
+      "MAX_THROUGHPUT\020\002\"\345\001\n\031MonitoringComponent" +
+      "Config\022S\n\021enable_components\030\001 \003(\01628.goog",
+      "le.container.v1.MonitoringComponentConfi" +
+      "g.Component\"s\n\tComponent\022\031\n\025COMPONENT_UN" +
+      "SPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tAP" +
+      "ISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER_M" +
+      "ANAGER\020\005\"*\n\027ManagedPrometheusConfig\022\017\n\007e" +
+      "nabled\030\001 \001(\010*\306\001\n\027PrivateIPv6GoogleAccess" +
+      "\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFI" +
+      "ED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCESS_DISAB" +
+      "LED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCESS_TO_G" +
+      "OOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_ACCESS_BI" +
+      "DIRECTIONAL\020\003*W\n\023UpgradeResourceType\022%\n!" +
+      "UPGRADE_RESOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006M" +
+      "ASTER\020\001\022\r\n\tNODE_POOL\020\002*a\n\020DatapathProvid" +
+      "er\022!\n\035DATAPATH_PROVIDER_UNSPECIFIED\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_G" +
+      "REEN\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_IPV" +
+      "6\020\002*N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TYP" +
+      "E_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERNA" +
+      "L\020\0022\303G\n\016ClusterManager\022\350\001\n\014ListClusters\022" +
+      "(.google.container.v1.ListClustersReques" +
+      "t\032).google.container.v1.ListClustersResp" +
+      "onse\"\202\001\202\323\344\223\002a\022,/v1/{parent=projects/*/lo" +
+      "cations/*}/clustersZ1\022//v1/projects/{pro" +
+      "ject_id}/zones/{zone}/clusters\332A\017project" +
+      "_id,zone\332A\006parent\022\355\001\n\nGetCluster\022&.googl" +
+      "e.container.v1.GetClusterRequest\032\034.googl" +
+      "e.container.v1.Cluster\"\230\001\202\323\344\223\002n\022,/v1/{na" +
+      "me=projects/*/locations/*/clusters/*}Z>\022" +
+      "*/v1/{name=proje" +
+      "cts/*/locations/*/clusters/*}:setResourc" +
+      "eLabels:\001*ZP\"K/v1/projects/{project_id}/" +
+      "zones/{zone}/clusters/{cluster_id}/resou" +
+      "rceLabels:\001*\022\245\002\n\rSetLegacyAbac\022).google." +
+      "container.v1.SetLegacyAbacRequest\032\036.goog" +
+      "le.container.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1" +
+      "/{name=projects/*/locations/*/clusters/*" +
+      "}:setLegacyAbac:\001*ZL\"G/v1/projects/{proj" +
+      "ect_id}/zones/{zone}/clusters/{cluster_i" +
+      "d}/legacyAbac:\001*\332A\"project_id,zone,clust" +
+      "er_id,enabled\332A\014name,enabled\022\240\002\n\017StartIP" +
+      "Rotation\022+.google.container.v1.StartIPRo" +
+      "tationRequest\032\036.google.container.v1.Oper" +
+      "ation\"\277\001\202\323\344\223\002\224\001\"
  * ClusterUpdate describes an update to the cluster. Exactly one update can
  * be applied to a cluster with each request, so at most one field can be
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1.ClusterUpdate}
  */
-public final class ClusterUpdate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClusterUpdate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ClusterUpdate)
     ClusterUpdateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClusterUpdate.newBuilder() to construct.
   private ClusterUpdate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClusterUpdate() {
     desiredNodeVersion_ = "";
     desiredMonitoringService_ = "";
@@ -53,36 +35,33 @@ private ClusterUpdate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClusterUpdate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ClusterUpdate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ClusterUpdate.class,
-            com.google.container.v1.ClusterUpdate.Builder.class);
+            com.google.container.v1.ClusterUpdate.class, com.google.container.v1.ClusterUpdate.Builder.class);
   }
 
   private int bitField0_;
   public static final int DESIRED_NODE_VERSION_FIELD_NUMBER = 4;
   private volatile java.lang.Object desiredNodeVersion_;
   /**
-   *
-   *
    * 
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -96,7 +75,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string desired_node_version = 4; - * * @return The desiredNodeVersion. */ @java.lang.Override @@ -105,15 +83,14 @@ public java.lang.String getDesiredNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; } } /** - * - * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -127,15 +104,16 @@ public java.lang.String getDesiredNodeVersion() {
    * 
* * string desired_node_version = 4; - * * @return The bytes for desiredNodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString + getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -146,8 +124,6 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { public static final int DESIRED_MONITORING_SERVICE_FIELD_NUMBER = 5; private volatile java.lang.Object desiredMonitoringService_; /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -161,7 +137,6 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() {
    * 
* * string desired_monitoring_service = 5; - * * @return The desiredMonitoringService. */ @java.lang.Override @@ -170,15 +145,14 @@ public java.lang.String getDesiredMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; } } /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -192,15 +166,16 @@ public java.lang.String getDesiredMonitoringService() {
    * 
* * string desired_monitoring_service = 5; - * * @return The bytes for desiredMonitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -211,14 +186,11 @@ public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { public static final int DESIRED_ADDONS_CONFIG_FIELD_NUMBER = 6; private com.google.container.v1.AddonsConfig desiredAddonsConfig_; /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; - * * @return Whether the desiredAddonsConfig field is set. */ @java.lang.Override @@ -226,25 +198,18 @@ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfig_ != null; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; - * * @return The desiredAddonsConfig. */ @java.lang.Override public com.google.container.v1.AddonsConfig getDesiredAddonsConfig() { - return desiredAddonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : desiredAddonsConfig_; + return desiredAddonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -259,8 +224,6 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui public static final int DESIRED_NODE_POOL_ID_FIELD_NUMBER = 7; private volatile java.lang.Object desiredNodePoolId_; /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -269,7 +232,6 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui
    * 
* * string desired_node_pool_id = 7; - * * @return The desiredNodePoolId. */ @java.lang.Override @@ -278,15 +240,14 @@ public java.lang.String getDesiredNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; } } /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -295,15 +256,16 @@ public java.lang.String getDesiredNodePoolId() {
    * 
* * string desired_node_pool_id = 7; - * * @return The bytes for desiredNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString + getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -314,15 +276,12 @@ public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { public static final int DESIRED_IMAGE_TYPE_FIELD_NUMBER = 8; private volatile java.lang.Object desiredImageType_; /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The desiredImageType. */ @java.lang.Override @@ -331,30 +290,30 @@ public java.lang.String getDesiredImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; } } /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The bytes for desiredImageType. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString + getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -365,14 +324,11 @@ public com.google.protobuf.ByteString getDesiredImageTypeBytes() { public static final int DESIRED_DATABASE_ENCRYPTION_FIELD_NUMBER = 46; private com.google.container.v1.DatabaseEncryption desiredDatabaseEncryption_; /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; - * * @return Whether the desiredDatabaseEncryption field is set. */ @java.lang.Override @@ -380,25 +336,18 @@ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryption_ != null; } /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; - * * @return The desiredDatabaseEncryption. */ @java.lang.Override public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() { - return desiredDatabaseEncryption_ == null - ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() - : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; } /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -406,22 +355,18 @@ public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ @java.lang.Override - public com.google.container.v1.DatabaseEncryptionOrBuilder - getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { return getDesiredDatabaseEncryption(); } public static final int DESIRED_WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 47; private com.google.container.v1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; /** - * - * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * * @return Whether the desiredWorkloadIdentityConfig field is set. */ @java.lang.Override @@ -429,25 +374,18 @@ public boolean hasDesiredWorkloadIdentityConfig() { return desiredWorkloadIdentityConfig_ != null; } /** - * - * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * * @return The desiredWorkloadIdentityConfig. */ @java.lang.Override public com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfig_ == null - ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() - : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; } /** - * - * *
    * Configuration for Workload Identity.
    * 
@@ -455,23 +393,19 @@ public com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentity * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ @java.lang.Override - public com.google.container.v1.WorkloadIdentityConfigOrBuilder - getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { return getDesiredWorkloadIdentityConfig(); } public static final int DESIRED_MESH_CERTIFICATES_FIELD_NUMBER = 67; private com.google.container.v1.MeshCertificates desiredMeshCertificates_; /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; - * * @return Whether the desiredMeshCertificates field is set. */ @java.lang.Override @@ -479,26 +413,19 @@ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificates_ != null; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; - * * @return The desiredMeshCertificates. */ @java.lang.Override public com.google.container.v1.MeshCertificates getDesiredMeshCertificates() { - return desiredMeshCertificates_ == null - ? com.google.container.v1.MeshCertificates.getDefaultInstance() - : desiredMeshCertificates_; + return desiredMeshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -514,14 +441,11 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
   public static final int DESIRED_SHIELDED_NODES_FIELD_NUMBER = 48;
   private com.google.container.v1.ShieldedNodes desiredShieldedNodes_;
   /**
-   *
-   *
    * 
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; - * * @return Whether the desiredShieldedNodes field is set. */ @java.lang.Override @@ -529,25 +453,18 @@ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodes_ != null; } /** - * - * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; - * * @return The desiredShieldedNodes. */ @java.lang.Override public com.google.container.v1.ShieldedNodes getDesiredShieldedNodes() { - return desiredShieldedNodes_ == null - ? com.google.container.v1.ShieldedNodes.getDefaultInstance() - : desiredShieldedNodes_; + return desiredShieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; } /** - * - * *
    * Configuration for Shielded Nodes.
    * 
@@ -562,14 +479,11 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB public static final int DESIRED_COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1.CostManagementConfig desiredCostManagementConfig_; /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; - * * @return Whether the desiredCostManagementConfig field is set. */ @java.lang.Override @@ -577,25 +491,18 @@ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfig_ != null; } /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; - * * @return The desiredCostManagementConfig. */ @java.lang.Override public com.google.container.v1.CostManagementConfig getDesiredCostManagementConfig() { - return desiredCostManagementConfig_ == null - ? com.google.container.v1.CostManagementConfig.getDefaultInstance() - : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; } /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
@@ -603,22 +510,18 @@ public com.google.container.v1.CostManagementConfig getDesiredCostManagementConf * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ @java.lang.Override - public com.google.container.v1.CostManagementConfigOrBuilder - getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { return getDesiredCostManagementConfig(); } public static final int DESIRED_DNS_CONFIG_FIELD_NUMBER = 53; private com.google.container.v1.DNSConfig desiredDnsConfig_; /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; - * * @return Whether the desiredDnsConfig field is set. */ @java.lang.Override @@ -626,25 +529,18 @@ public boolean hasDesiredDnsConfig() { return desiredDnsConfig_ != null; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; - * * @return The desiredDnsConfig. */ @java.lang.Override public com.google.container.v1.DNSConfig getDesiredDnsConfig() { - return desiredDnsConfig_ == null - ? com.google.container.v1.DNSConfig.getDefaultInstance() - : desiredDnsConfig_; + return desiredDnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -659,8 +555,6 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() public static final int DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER = 9; private com.google.container.v1.NodePoolAutoscaling desiredNodePoolAutoscaling_; /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -669,7 +563,6 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder()
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return Whether the desiredNodePoolAutoscaling field is set. */ @java.lang.Override @@ -677,8 +570,6 @@ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscaling_ != null; } /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -687,18 +578,13 @@ public boolean hasDesiredNodePoolAutoscaling() {
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return The desiredNodePoolAutoscaling. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { - return desiredNodePoolAutoscaling_ == null - ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() - : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; } /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -709,16 +595,13 @@ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling
    * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
    */
   @java.lang.Override
-  public com.google.container.v1.NodePoolAutoscalingOrBuilder
-      getDesiredNodePoolAutoscalingOrBuilder() {
+  public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
     return getDesiredNodePoolAutoscaling();
   }
 
   public static final int DESIRED_LOCATIONS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList desiredLocations_;
   /**
-   *
-   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -729,15 +612,13 @@ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling
    * 
* * repeated string desired_locations = 10; - * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList + getDesiredLocationsList() { return desiredLocations_; } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -748,15 +629,12 @@ public com.google.protobuf.ProtocolStringList getDesiredLocationsList() {
    * 
* * repeated string desired_locations = 10; - * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -767,7 +645,6 @@ public int getDesiredLocationsCount() {
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -775,8 +652,6 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -787,28 +662,22 @@ public java.lang.String getDesiredLocations(int index) {
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString + getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } public static final int DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 12; - private com.google.container.v1.MasterAuthorizedNetworksConfig - desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -816,53 +685,37 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { return desiredMasterAuthorizedNetworksConfig_ != null; } /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig - getDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfig_ == null - ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : desiredMasterAuthorizedNetworksConfig_; + public com.google.container.v1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { + return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; } /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder - getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { return getDesiredMasterAuthorizedNetworksConfig(); } public static final int DESIRED_CLUSTER_AUTOSCALING_FIELD_NUMBER = 15; private com.google.container.v1.ClusterAutoscaling desiredClusterAutoscaling_; /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return Whether the desiredClusterAutoscaling field is set. */ @java.lang.Override @@ -870,25 +723,18 @@ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscaling_ != null; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return The desiredClusterAutoscaling. */ @java.lang.Override public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() { - return desiredClusterAutoscaling_ == null - ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() - : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -896,22 +742,18 @@ public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ @java.lang.Override - public com.google.container.v1.ClusterAutoscalingOrBuilder - getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { return getDesiredClusterAutoscaling(); } public static final int DESIRED_BINARY_AUTHORIZATION_FIELD_NUMBER = 16; private com.google.container.v1.BinaryAuthorization desiredBinaryAuthorization_; /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; - * * @return Whether the desiredBinaryAuthorization field is set. */ @java.lang.Override @@ -919,25 +761,18 @@ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorization_ != null; } /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; - * * @return The desiredBinaryAuthorization. */ @java.lang.Override public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization() { - return desiredBinaryAuthorization_ == null - ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() - : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; } /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
@@ -945,16 +780,13 @@ public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ @java.lang.Override - public com.google.container.v1.BinaryAuthorizationOrBuilder - getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { return getDesiredBinaryAuthorization(); } public static final int DESIRED_LOGGING_SERVICE_FIELD_NUMBER = 19; private volatile java.lang.Object desiredLoggingService_; /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -968,7 +800,6 @@ public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization
    * 
* * string desired_logging_service = 19; - * * @return The desiredLoggingService. */ @java.lang.Override @@ -977,15 +808,14 @@ public java.lang.String getDesiredLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; } } /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -999,15 +829,16 @@ public java.lang.String getDesiredLoggingService() {
    * 
* * string desired_logging_service = 19; - * * @return The bytes for desiredLoggingService. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString + getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -1018,15 +849,11 @@ public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { public static final int DESIRED_RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return Whether the desiredResourceUsageExportConfig field is set. */ @java.lang.Override @@ -1034,50 +861,37 @@ public boolean hasDesiredResourceUsageExportConfig() { return desiredResourceUsageExportConfig_ != null; } /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return The desiredResourceUsageExportConfig. */ @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() - : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; } /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfigOrBuilder - getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { return getDesiredResourceUsageExportConfig(); } public static final int DESIRED_VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 22; private com.google.container.v1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * * @return Whether the desiredVerticalPodAutoscaling field is set. */ @java.lang.Override @@ -1085,25 +899,18 @@ public boolean hasDesiredVerticalPodAutoscaling() { return desiredVerticalPodAutoscaling_ != null; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * * @return The desiredVerticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscaling_ == null - ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() - : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -1111,22 +918,18 @@ public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutos * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ @java.lang.Override - public com.google.container.v1.VerticalPodAutoscalingOrBuilder - getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { return getDesiredVerticalPodAutoscaling(); } public static final int DESIRED_PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1.PrivateClusterConfig desiredPrivateClusterConfig_; /** - * - * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; - * * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Override @@ -1134,25 +937,18 @@ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfig_ != null; } /** - * - * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; - * * @return The desiredPrivateClusterConfig. */ @java.lang.Override public com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConfig() { - return desiredPrivateClusterConfig_ == null - ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() - : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; } /** - * - * *
    * The desired private cluster configuration.
    * 
@@ -1160,23 +956,18 @@ public com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConf * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ @java.lang.Override - public com.google.container.v1.PrivateClusterConfigOrBuilder - getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { return getDesiredPrivateClusterConfig(); } public static final int DESIRED_INTRA_NODE_VISIBILITY_CONFIG_FIELD_NUMBER = 26; private com.google.container.v1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ @java.lang.Override @@ -1184,50 +975,37 @@ public boolean hasDesiredIntraNodeVisibilityConfig() { return desiredIntraNodeVisibilityConfig_ != null; } /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return The desiredIntraNodeVisibilityConfig. */ @java.lang.Override public com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfig_ == null - ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() - : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; } /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ @java.lang.Override - public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder - getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { return getDesiredIntraNodeVisibilityConfig(); } public static final int DESIRED_DEFAULT_SNAT_STATUS_FIELD_NUMBER = 28; private com.google.container.v1.DefaultSnatStatus desiredDefaultSnatStatus_; /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return Whether the desiredDefaultSnatStatus field is set. */ @java.lang.Override @@ -1235,25 +1013,18 @@ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatus_ != null; } /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return The desiredDefaultSnatStatus. */ @java.lang.Override public com.google.container.v1.DefaultSnatStatus getDesiredDefaultSnatStatus() { - return desiredDefaultSnatStatus_ == null - ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() - : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; } /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -1268,14 +1039,11 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatS public static final int DESIRED_RELEASE_CHANNEL_FIELD_NUMBER = 31; private com.google.container.v1.ReleaseChannel desiredReleaseChannel_; /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; - * * @return Whether the desiredReleaseChannel field is set. */ @java.lang.Override @@ -1283,25 +1051,18 @@ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannel_ != null; } /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; - * * @return The desiredReleaseChannel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel getDesiredReleaseChannel() { - return desiredReleaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : desiredReleaseChannel_; + return desiredReleaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; } /** - * - * *
    * The desired release channel configuration.
    * 
@@ -1316,14 +1077,11 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO public static final int DESIRED_L4ILB_SUBSETTING_CONFIG_FIELD_NUMBER = 39; private com.google.container.v1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ @java.lang.Override @@ -1331,25 +1089,18 @@ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfig_ != null; } /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * * @return The desiredL4ilbSubsettingConfig. */ @java.lang.Override public com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { - return desiredL4IlbSubsettingConfig_ == null - ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() - : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; } /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
@@ -1357,96 +1108,72 @@ public com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConf * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ @java.lang.Override - public com.google.container.v1.ILBSubsettingConfigOrBuilder - getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { return getDesiredL4IlbSubsettingConfig(); } public static final int DESIRED_DATAPATH_PROVIDER_FIELD_NUMBER = 50; private int desiredDatapathProvider_; /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override - public int getDesiredDatapathProviderValue() { + @java.lang.Override public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @return The desiredDatapathProvider. */ - @java.lang.Override - public com.google.container.v1.DatapathProvider getDesiredDatapathProvider() { + @java.lang.Override public com.google.container.v1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = - com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } public static final int DESIRED_PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 51; private int desiredPrivateIpv6GoogleAccess_; /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override - public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override - public com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { + @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = - com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } public static final int DESIRED_NOTIFICATION_CONFIG_FIELD_NUMBER = 55; private com.google.container.v1.NotificationConfig desiredNotificationConfig_; /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; - * * @return Whether the desiredNotificationConfig field is set. */ @java.lang.Override @@ -1454,25 +1181,18 @@ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfig_ != null; } /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; - * * @return The desiredNotificationConfig. */ @java.lang.Override public com.google.container.v1.NotificationConfig getDesiredNotificationConfig() { - return desiredNotificationConfig_ == null - ? com.google.container.v1.NotificationConfig.getDefaultInstance() - : desiredNotificationConfig_; + return desiredNotificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; } /** - * - * *
    * The desired notification configuration.
    * 
@@ -1480,23 +1200,18 @@ public com.google.container.v1.NotificationConfig getDesiredNotificationConfig() * .google.container.v1.NotificationConfig desired_notification_config = 55; */ @java.lang.Override - public com.google.container.v1.NotificationConfigOrBuilder - getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { return getDesiredNotificationConfig(); } public static final int DESIRED_AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 63; private com.google.container.v1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; /** - * - * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ @java.lang.Override @@ -1504,50 +1219,37 @@ public boolean hasDesiredAuthenticatorGroupsConfig() { return desiredAuthenticatorGroupsConfig_ != null; } /** - * - * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return The desiredAuthenticatorGroupsConfig. */ @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfig_ == null - ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() - : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; } /** - * - * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ @java.lang.Override - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder - getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { return getDesiredAuthenticatorGroupsConfig(); } public static final int DESIRED_LOGGING_CONFIG_FIELD_NUMBER = 64; private com.google.container.v1.LoggingConfig desiredLoggingConfig_; /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; - * * @return Whether the desiredLoggingConfig field is set. */ @java.lang.Override @@ -1555,25 +1257,18 @@ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfig_ != null; } /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; - * * @return The desiredLoggingConfig. */ @java.lang.Override public com.google.container.v1.LoggingConfig getDesiredLoggingConfig() { - return desiredLoggingConfig_ == null - ? com.google.container.v1.LoggingConfig.getDefaultInstance() - : desiredLoggingConfig_; + return desiredLoggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; } /** - * - * *
    * The desired logging configuration.
    * 
@@ -1588,14 +1283,11 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB public static final int DESIRED_MONITORING_CONFIG_FIELD_NUMBER = 65; private com.google.container.v1.MonitoringConfig desiredMonitoringConfig_; /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; - * * @return Whether the desiredMonitoringConfig field is set. */ @java.lang.Override @@ -1603,25 +1295,18 @@ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfig_ != null; } /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; - * * @return The desiredMonitoringConfig. */ @java.lang.Override public com.google.container.v1.MonitoringConfig getDesiredMonitoringConfig() { - return desiredMonitoringConfig_ == null - ? com.google.container.v1.MonitoringConfig.getDefaultInstance() - : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; } /** - * - * *
    * The desired monitoring configuration.
    * 
@@ -1636,14 +1321,11 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon public static final int DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 66; private com.google.container.v1.IdentityServiceConfig desiredIdentityServiceConfig_; /** - * - * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; - * * @return Whether the desiredIdentityServiceConfig field is set. */ @java.lang.Override @@ -1651,25 +1333,18 @@ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfig_ != null; } /** - * - * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; - * * @return The desiredIdentityServiceConfig. */ @java.lang.Override public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig() { - return desiredIdentityServiceConfig_ == null - ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() - : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; } /** - * - * *
    * The desired Identity Service component configuration.
    * 
@@ -1677,24 +1352,19 @@ public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceCo * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ @java.lang.Override - public com.google.container.v1.IdentityServiceConfigOrBuilder - getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { return getDesiredIdentityServiceConfig(); } public static final int DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 60; private com.google.container.v1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return Whether the desiredServiceExternalIpsConfig field is set. */ @java.lang.Override @@ -1702,52 +1372,39 @@ public boolean hasDesiredServiceExternalIpsConfig() { return desiredServiceExternalIpsConfig_ != null; } /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return The desiredServiceExternalIpsConfig. */ @java.lang.Override public com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfig_ == null - ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() - : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; } /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ @java.lang.Override - public com.google.container.v1.ServiceExternalIPsConfigOrBuilder - getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { return getDesiredServiceExternalIpsConfig(); } public static final int DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 71; private boolean desiredEnablePrivateEndpoint_; /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -1755,14 +1412,11 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -1773,8 +1427,6 @@ public boolean getDesiredEnablePrivateEndpoint() { public static final int DESIRED_MASTER_VERSION_FIELD_NUMBER = 100; private volatile java.lang.Object desiredMasterVersion_; /** - * - * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -1787,7 +1439,6 @@ public boolean getDesiredEnablePrivateEndpoint() {
    * 
* * string desired_master_version = 100; - * * @return The desiredMasterVersion. */ @java.lang.Override @@ -1796,15 +1447,14 @@ public java.lang.String getDesiredMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; } } /** - * - * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -1817,15 +1467,16 @@ public java.lang.String getDesiredMasterVersion() {
    * 
* * string desired_master_version = 100; - * * @return The bytes for desiredMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString + getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -1836,14 +1487,11 @@ public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { public static final int DESIRED_GCFS_CONFIG_FIELD_NUMBER = 109; private com.google.container.v1.GcfsConfig desiredGcfsConfig_; /** - * - * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; - * * @return Whether the desiredGcfsConfig field is set. */ @java.lang.Override @@ -1851,25 +1499,18 @@ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfig_ != null; } /** - * - * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; - * * @return The desiredGcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getDesiredGcfsConfig() { - return desiredGcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : desiredGcfsConfig_; + return desiredGcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; } /** - * - * *
    * The desired GCFS config for the cluster
    * 
@@ -1884,15 +1525,12 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder public static final int DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER = 110; private com.google.container.v1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ @java.lang.Override @@ -1900,26 +1538,19 @@ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { return desiredNodePoolAutoConfigNetworkTags_ != null; } /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * * @return The desiredNodePoolAutoConfigNetworkTags. */ @java.lang.Override public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTags_ == null - ? com.google.container.v1.NetworkTags.getDefaultInstance() - : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; } /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -1928,22 +1559,18 @@ public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTa
    * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;
    */
   @java.lang.Override
-  public com.google.container.v1.NetworkTagsOrBuilder
-      getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() {
+  public com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() {
     return getDesiredNodePoolAutoConfigNetworkTags();
   }
 
   public static final int DESIRED_GATEWAY_API_CONFIG_FIELD_NUMBER = 114;
   private com.google.container.v1.GatewayAPIConfig desiredGatewayApiConfig_;
   /**
-   *
-   *
    * 
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return Whether the desiredGatewayApiConfig field is set. */ @java.lang.Override @@ -1951,25 +1578,18 @@ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfig_ != null; } /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return The desiredGatewayApiConfig. */ @java.lang.Override public com.google.container.v1.GatewayAPIConfig getDesiredGatewayApiConfig() { - return desiredGatewayApiConfig_ == null - ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() - : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; } /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -1984,14 +1604,11 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon public static final int DESIRED_NODE_POOL_LOGGING_CONFIG_FIELD_NUMBER = 116; private com.google.container.v1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * * @return Whether the desiredNodePoolLoggingConfig field is set. */ @java.lang.Override @@ -1999,25 +1616,18 @@ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfig_ != null; } /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * * @return The desiredNodePoolLoggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { - return desiredNodePoolLoggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; } /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
@@ -2025,13 +1635,11 @@ public com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingCo * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ @java.lang.Override - public com.google.container.v1.NodePoolLoggingConfigOrBuilder - getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { return getDesiredNodePoolLoggingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2043,7 +1651,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodeVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, desiredNodeVersion_); } @@ -2110,13 +1719,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (desiredCostManagementConfig_ != null) { output.writeMessage(49, getDesiredCostManagementConfig()); } - if (desiredDatapathProvider_ - != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { + if (desiredDatapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(50, desiredDatapathProvider_); } - if (desiredPrivateIpv6GoogleAccess_ - != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED - .getNumber()) { + if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { output.writeEnum(51, desiredPrivateIpv6GoogleAccess_); } if (desiredDnsConfig_ != null) { @@ -2174,11 +1780,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, desiredNodeVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMonitoringService_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); } if (desiredAddonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDesiredAddonsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDesiredAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, desiredNodePoolId_); @@ -2187,9 +1793,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, desiredImageType_); } if (desiredNodePoolAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, getDesiredNodePoolAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDesiredNodePoolAutoscaling()); } { int dataSize = 0; @@ -2200,148 +1805,126 @@ public int getSerializedSize() { size += 1 * getDesiredLocationsList().size(); } if (desiredMasterAuthorizedNetworksConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, getDesiredMasterAuthorizedNetworksConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDesiredMasterAuthorizedNetworksConfig()); } if (desiredClusterAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, getDesiredClusterAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getDesiredClusterAutoscaling()); } if (desiredBinaryAuthorization_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, getDesiredBinaryAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getDesiredBinaryAuthorization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredLoggingService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, desiredLoggingService_); } if (desiredResourceUsageExportConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, getDesiredResourceUsageExportConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getDesiredResourceUsageExportConfig()); } if (desiredVerticalPodAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, getDesiredVerticalPodAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getDesiredVerticalPodAutoscaling()); } if (desiredPrivateClusterConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 25, getDesiredPrivateClusterConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getDesiredPrivateClusterConfig()); } if (desiredIntraNodeVisibilityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 26, getDesiredIntraNodeVisibilityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getDesiredIntraNodeVisibilityConfig()); } if (desiredDefaultSnatStatus_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 28, getDesiredDefaultSnatStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getDesiredDefaultSnatStatus()); } if (desiredReleaseChannel_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(31, getDesiredReleaseChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(31, getDesiredReleaseChannel()); } if (desiredL4IlbSubsettingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 39, getDesiredL4IlbSubsettingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, getDesiredL4IlbSubsettingConfig()); } if (desiredDatabaseEncryption_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 46, getDesiredDatabaseEncryption()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(46, getDesiredDatabaseEncryption()); } if (desiredWorkloadIdentityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 47, getDesiredWorkloadIdentityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(47, getDesiredWorkloadIdentityConfig()); } if (desiredShieldedNodes_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(48, getDesiredShieldedNodes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(48, getDesiredShieldedNodes()); } if (desiredCostManagementConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 49, getDesiredCostManagementConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(49, getDesiredCostManagementConfig()); } - if (desiredDatapathProvider_ - != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(50, desiredDatapathProvider_); + if (desiredDatapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(50, desiredDatapathProvider_); } - if (desiredPrivateIpv6GoogleAccess_ - != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 51, desiredPrivateIpv6GoogleAccess_); + if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(51, desiredPrivateIpv6GoogleAccess_); } if (desiredDnsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getDesiredDnsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(53, getDesiredDnsConfig()); } if (desiredNotificationConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 55, getDesiredNotificationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(55, getDesiredNotificationConfig()); } if (desiredServiceExternalIpsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 60, getDesiredServiceExternalIpsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(60, getDesiredServiceExternalIpsConfig()); } if (desiredAuthenticatorGroupsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 63, getDesiredAuthenticatorGroupsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(63, getDesiredAuthenticatorGroupsConfig()); } if (desiredLoggingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(64, getDesiredLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(64, getDesiredLoggingConfig()); } if (desiredMonitoringConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 65, getDesiredMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(65, getDesiredMonitoringConfig()); } if (desiredIdentityServiceConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 66, getDesiredIdentityServiceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(66, getDesiredIdentityServiceConfig()); } if (desiredMeshCertificates_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 67, getDesiredMeshCertificates()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(67, getDesiredMeshCertificates()); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(71, desiredEnablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(71, desiredEnablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMasterVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, desiredMasterVersion_); } if (desiredGcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getDesiredGcfsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(109, getDesiredGcfsConfig()); } if (desiredNodePoolAutoConfigNetworkTags_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 110, getDesiredNodePoolAutoConfigNetworkTags()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(110, getDesiredNodePoolAutoConfigNetworkTags()); } if (desiredGatewayApiConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 114, getDesiredGatewayApiConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(114, getDesiredGatewayApiConfig()); } if (desiredNodePoolLoggingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 116, getDesiredNodePoolLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(116, getDesiredNodePoolLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2351,164 +1934,173 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ClusterUpdate)) { return super.equals(obj); } com.google.container.v1.ClusterUpdate other = (com.google.container.v1.ClusterUpdate) obj; - if (!getDesiredNodeVersion().equals(other.getDesiredNodeVersion())) return false; - if (!getDesiredMonitoringService().equals(other.getDesiredMonitoringService())) return false; + if (!getDesiredNodeVersion() + .equals(other.getDesiredNodeVersion())) return false; + if (!getDesiredMonitoringService() + .equals(other.getDesiredMonitoringService())) return false; if (hasDesiredAddonsConfig() != other.hasDesiredAddonsConfig()) return false; if (hasDesiredAddonsConfig()) { - if (!getDesiredAddonsConfig().equals(other.getDesiredAddonsConfig())) return false; + if (!getDesiredAddonsConfig() + .equals(other.getDesiredAddonsConfig())) return false; } - if (!getDesiredNodePoolId().equals(other.getDesiredNodePoolId())) return false; - if (!getDesiredImageType().equals(other.getDesiredImageType())) return false; + if (!getDesiredNodePoolId() + .equals(other.getDesiredNodePoolId())) return false; + if (!getDesiredImageType() + .equals(other.getDesiredImageType())) return false; if (hasDesiredDatabaseEncryption() != other.hasDesiredDatabaseEncryption()) return false; if (hasDesiredDatabaseEncryption()) { - if (!getDesiredDatabaseEncryption().equals(other.getDesiredDatabaseEncryption())) - return false; + if (!getDesiredDatabaseEncryption() + .equals(other.getDesiredDatabaseEncryption())) return false; } - if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) - return false; + if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) return false; if (hasDesiredWorkloadIdentityConfig()) { - if (!getDesiredWorkloadIdentityConfig().equals(other.getDesiredWorkloadIdentityConfig())) - return false; + if (!getDesiredWorkloadIdentityConfig() + .equals(other.getDesiredWorkloadIdentityConfig())) return false; } if (hasDesiredMeshCertificates() != other.hasDesiredMeshCertificates()) return false; if (hasDesiredMeshCertificates()) { - if (!getDesiredMeshCertificates().equals(other.getDesiredMeshCertificates())) return false; + if (!getDesiredMeshCertificates() + .equals(other.getDesiredMeshCertificates())) return false; } if (hasDesiredShieldedNodes() != other.hasDesiredShieldedNodes()) return false; if (hasDesiredShieldedNodes()) { - if (!getDesiredShieldedNodes().equals(other.getDesiredShieldedNodes())) return false; + if (!getDesiredShieldedNodes() + .equals(other.getDesiredShieldedNodes())) return false; } if (hasDesiredCostManagementConfig() != other.hasDesiredCostManagementConfig()) return false; if (hasDesiredCostManagementConfig()) { - if (!getDesiredCostManagementConfig().equals(other.getDesiredCostManagementConfig())) - return false; + if (!getDesiredCostManagementConfig() + .equals(other.getDesiredCostManagementConfig())) return false; } if (hasDesiredDnsConfig() != other.hasDesiredDnsConfig()) return false; if (hasDesiredDnsConfig()) { - if (!getDesiredDnsConfig().equals(other.getDesiredDnsConfig())) return false; + if (!getDesiredDnsConfig() + .equals(other.getDesiredDnsConfig())) return false; } if (hasDesiredNodePoolAutoscaling() != other.hasDesiredNodePoolAutoscaling()) return false; if (hasDesiredNodePoolAutoscaling()) { - if (!getDesiredNodePoolAutoscaling().equals(other.getDesiredNodePoolAutoscaling())) - return false; + if (!getDesiredNodePoolAutoscaling() + .equals(other.getDesiredNodePoolAutoscaling())) return false; } - if (!getDesiredLocationsList().equals(other.getDesiredLocationsList())) return false; - if (hasDesiredMasterAuthorizedNetworksConfig() - != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; + if (!getDesiredLocationsList() + .equals(other.getDesiredLocationsList())) return false; + if (hasDesiredMasterAuthorizedNetworksConfig() != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; if (hasDesiredMasterAuthorizedNetworksConfig()) { if (!getDesiredMasterAuthorizedNetworksConfig() .equals(other.getDesiredMasterAuthorizedNetworksConfig())) return false; } if (hasDesiredClusterAutoscaling() != other.hasDesiredClusterAutoscaling()) return false; if (hasDesiredClusterAutoscaling()) { - if (!getDesiredClusterAutoscaling().equals(other.getDesiredClusterAutoscaling())) - return false; + if (!getDesiredClusterAutoscaling() + .equals(other.getDesiredClusterAutoscaling())) return false; } if (hasDesiredBinaryAuthorization() != other.hasDesiredBinaryAuthorization()) return false; if (hasDesiredBinaryAuthorization()) { - if (!getDesiredBinaryAuthorization().equals(other.getDesiredBinaryAuthorization())) - return false; + if (!getDesiredBinaryAuthorization() + .equals(other.getDesiredBinaryAuthorization())) return false; } - if (!getDesiredLoggingService().equals(other.getDesiredLoggingService())) return false; - if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) - return false; + if (!getDesiredLoggingService() + .equals(other.getDesiredLoggingService())) return false; + if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) return false; if (hasDesiredResourceUsageExportConfig()) { if (!getDesiredResourceUsageExportConfig() .equals(other.getDesiredResourceUsageExportConfig())) return false; } - if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) - return false; + if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) return false; if (hasDesiredVerticalPodAutoscaling()) { - if (!getDesiredVerticalPodAutoscaling().equals(other.getDesiredVerticalPodAutoscaling())) - return false; + if (!getDesiredVerticalPodAutoscaling() + .equals(other.getDesiredVerticalPodAutoscaling())) return false; } if (hasDesiredPrivateClusterConfig() != other.hasDesiredPrivateClusterConfig()) return false; if (hasDesiredPrivateClusterConfig()) { - if (!getDesiredPrivateClusterConfig().equals(other.getDesiredPrivateClusterConfig())) - return false; + if (!getDesiredPrivateClusterConfig() + .equals(other.getDesiredPrivateClusterConfig())) return false; } - if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) - return false; + if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) return false; if (hasDesiredIntraNodeVisibilityConfig()) { if (!getDesiredIntraNodeVisibilityConfig() .equals(other.getDesiredIntraNodeVisibilityConfig())) return false; } if (hasDesiredDefaultSnatStatus() != other.hasDesiredDefaultSnatStatus()) return false; if (hasDesiredDefaultSnatStatus()) { - if (!getDesiredDefaultSnatStatus().equals(other.getDesiredDefaultSnatStatus())) return false; + if (!getDesiredDefaultSnatStatus() + .equals(other.getDesiredDefaultSnatStatus())) return false; } if (hasDesiredReleaseChannel() != other.hasDesiredReleaseChannel()) return false; if (hasDesiredReleaseChannel()) { - if (!getDesiredReleaseChannel().equals(other.getDesiredReleaseChannel())) return false; + if (!getDesiredReleaseChannel() + .equals(other.getDesiredReleaseChannel())) return false; } if (hasDesiredL4IlbSubsettingConfig() != other.hasDesiredL4IlbSubsettingConfig()) return false; if (hasDesiredL4IlbSubsettingConfig()) { - if (!getDesiredL4IlbSubsettingConfig().equals(other.getDesiredL4IlbSubsettingConfig())) - return false; + if (!getDesiredL4IlbSubsettingConfig() + .equals(other.getDesiredL4IlbSubsettingConfig())) return false; } if (desiredDatapathProvider_ != other.desiredDatapathProvider_) return false; if (desiredPrivateIpv6GoogleAccess_ != other.desiredPrivateIpv6GoogleAccess_) return false; if (hasDesiredNotificationConfig() != other.hasDesiredNotificationConfig()) return false; if (hasDesiredNotificationConfig()) { - if (!getDesiredNotificationConfig().equals(other.getDesiredNotificationConfig())) - return false; + if (!getDesiredNotificationConfig() + .equals(other.getDesiredNotificationConfig())) return false; } - if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) - return false; + if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) return false; if (hasDesiredAuthenticatorGroupsConfig()) { if (!getDesiredAuthenticatorGroupsConfig() .equals(other.getDesiredAuthenticatorGroupsConfig())) return false; } if (hasDesiredLoggingConfig() != other.hasDesiredLoggingConfig()) return false; if (hasDesiredLoggingConfig()) { - if (!getDesiredLoggingConfig().equals(other.getDesiredLoggingConfig())) return false; + if (!getDesiredLoggingConfig() + .equals(other.getDesiredLoggingConfig())) return false; } if (hasDesiredMonitoringConfig() != other.hasDesiredMonitoringConfig()) return false; if (hasDesiredMonitoringConfig()) { - if (!getDesiredMonitoringConfig().equals(other.getDesiredMonitoringConfig())) return false; + if (!getDesiredMonitoringConfig() + .equals(other.getDesiredMonitoringConfig())) return false; } if (hasDesiredIdentityServiceConfig() != other.hasDesiredIdentityServiceConfig()) return false; if (hasDesiredIdentityServiceConfig()) { - if (!getDesiredIdentityServiceConfig().equals(other.getDesiredIdentityServiceConfig())) - return false; + if (!getDesiredIdentityServiceConfig() + .equals(other.getDesiredIdentityServiceConfig())) return false; } - if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) - return false; + if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) return false; if (hasDesiredServiceExternalIpsConfig()) { - if (!getDesiredServiceExternalIpsConfig().equals(other.getDesiredServiceExternalIpsConfig())) - return false; + if (!getDesiredServiceExternalIpsConfig() + .equals(other.getDesiredServiceExternalIpsConfig())) return false; } if (hasDesiredEnablePrivateEndpoint() != other.hasDesiredEnablePrivateEndpoint()) return false; if (hasDesiredEnablePrivateEndpoint()) { - if (getDesiredEnablePrivateEndpoint() != other.getDesiredEnablePrivateEndpoint()) - return false; + if (getDesiredEnablePrivateEndpoint() + != other.getDesiredEnablePrivateEndpoint()) return false; } - if (!getDesiredMasterVersion().equals(other.getDesiredMasterVersion())) return false; + if (!getDesiredMasterVersion() + .equals(other.getDesiredMasterVersion())) return false; if (hasDesiredGcfsConfig() != other.hasDesiredGcfsConfig()) return false; if (hasDesiredGcfsConfig()) { - if (!getDesiredGcfsConfig().equals(other.getDesiredGcfsConfig())) return false; + if (!getDesiredGcfsConfig() + .equals(other.getDesiredGcfsConfig())) return false; } - if (hasDesiredNodePoolAutoConfigNetworkTags() - != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; + if (hasDesiredNodePoolAutoConfigNetworkTags() != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; if (hasDesiredNodePoolAutoConfigNetworkTags()) { if (!getDesiredNodePoolAutoConfigNetworkTags() .equals(other.getDesiredNodePoolAutoConfigNetworkTags())) return false; } if (hasDesiredGatewayApiConfig() != other.hasDesiredGatewayApiConfig()) return false; if (hasDesiredGatewayApiConfig()) { - if (!getDesiredGatewayApiConfig().equals(other.getDesiredGatewayApiConfig())) return false; + if (!getDesiredGatewayApiConfig() + .equals(other.getDesiredGatewayApiConfig())) return false; } if (hasDesiredNodePoolLoggingConfig() != other.hasDesiredNodePoolLoggingConfig()) return false; if (hasDesiredNodePoolLoggingConfig()) { - if (!getDesiredNodePoolLoggingConfig().equals(other.getDesiredNodePoolLoggingConfig())) - return false; + if (!getDesiredNodePoolLoggingConfig() + .equals(other.getDesiredNodePoolLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2637,8 +2229,8 @@ public int hashCode() { } if (hasDesiredEnablePrivateEndpoint()) { hash = (37 * hash) + DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesiredEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDesiredEnablePrivateEndpoint()); } hash = (37 * hash) + DESIRED_MASTER_VERSION_FIELD_NUMBER; hash = (53 * hash) + getDesiredMasterVersion().hashCode(); @@ -2663,103 +2255,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ClusterUpdate parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ClusterUpdate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClusterUpdate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterUpdate parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.ClusterUpdate parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClusterUpdate parseFrom( 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.ClusterUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ClusterUpdate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ClusterUpdate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ClusterUpdate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ClusterUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ClusterUpdate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ClusterUpdate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ClusterUpdate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ClusterUpdate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ClusterUpdate describes an update to the cluster. Exactly one update can
    * be applied to a cluster with each request, so at most one field can be
@@ -2768,32 +2354,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ClusterUpdate}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ClusterUpdate)
       com.google.container.v1.ClusterUpdateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ClusterUpdate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ClusterUpdate.class,
-              com.google.container.v1.ClusterUpdate.Builder.class);
+              com.google.container.v1.ClusterUpdate.class, com.google.container.v1.ClusterUpdate.Builder.class);
     }
 
     // Construct using com.google.container.v1.ClusterUpdate.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2989,9 +2576,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ClusterUpdate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
@@ -3010,8 +2597,7 @@ public com.google.container.v1.ClusterUpdate build() {
 
     @java.lang.Override
     public com.google.container.v1.ClusterUpdate buildPartial() {
-      com.google.container.v1.ClusterUpdate result =
-          new com.google.container.v1.ClusterUpdate(this);
+      com.google.container.v1.ClusterUpdate result = new com.google.container.v1.ClusterUpdate(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.desiredNodeVersion_ = desiredNodeVersion_;
@@ -3066,8 +2652,7 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
       if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) {
         result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfig_;
       } else {
-        result.desiredMasterAuthorizedNetworksConfig_ =
-            desiredMasterAuthorizedNetworksConfigBuilder_.build();
+        result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfigBuilder_.build();
       }
       if (desiredClusterAutoscalingBuilder_ == null) {
         result.desiredClusterAutoscaling_ = desiredClusterAutoscaling_;
@@ -3160,8 +2745,7 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
       if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) {
         result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTags_;
       } else {
-        result.desiredNodePoolAutoConfigNetworkTags_ =
-            desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
+        result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
       }
       if (desiredGatewayApiConfigBuilder_ == null) {
         result.desiredGatewayApiConfig_ = desiredGatewayApiConfig_;
@@ -3182,39 +2766,38 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ClusterUpdate) {
-        return mergeFrom((com.google.container.v1.ClusterUpdate) other);
+        return mergeFrom((com.google.container.v1.ClusterUpdate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3274,8 +2857,7 @@ public Builder mergeFrom(com.google.container.v1.ClusterUpdate other) {
         onChanged();
       }
       if (other.hasDesiredMasterAuthorizedNetworksConfig()) {
-        mergeDesiredMasterAuthorizedNetworksConfig(
-            other.getDesiredMasterAuthorizedNetworksConfig());
+        mergeDesiredMasterAuthorizedNetworksConfig(other.getDesiredMasterAuthorizedNetworksConfig());
       }
       if (other.hasDesiredClusterAutoscaling()) {
         mergeDesiredClusterAutoscaling(other.getDesiredClusterAutoscaling());
@@ -3377,276 +2959,259 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 34:
-              {
-                desiredNodeVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                desiredMonitoringService_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getDesiredAddonsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                desiredNodePoolId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                desiredImageType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 82:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDesiredLocationsIsMutable();
-                desiredLocations_.add(s);
-                break;
-              } // case 82
-            case 98:
-              {
-                input.readMessage(
-                    getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 98
-            case 122:
-              {
-                input.readMessage(
-                    getDesiredClusterAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(
-                    getDesiredBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 130
-            case 154:
-              {
-                desiredLoggingService_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 154
-            case 170:
-              {
-                input.readMessage(
-                    getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(
-                    getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 178
-            case 202:
-              {
-                input.readMessage(
-                    getDesiredPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 210
-            case 226:
-              {
-                input.readMessage(
-                    getDesiredDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 226
-            case 250:
-              {
-                input.readMessage(
-                    getDesiredReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 250
-            case 314:
-              {
-                input.readMessage(
-                    getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 314
-            case 370:
-              {
-                input.readMessage(
-                    getDesiredDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 370
-            case 378:
-              {
-                input.readMessage(
-                    getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 378
-            case 386:
-              {
-                input.readMessage(
-                    getDesiredShieldedNodesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 386
-            case 394:
-              {
-                input.readMessage(
-                    getDesiredCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 394
-            case 400:
-              {
-                desiredDatapathProvider_ = input.readEnum();
-
-                break;
-              } // case 400
-            case 408:
-              {
-                desiredPrivateIpv6GoogleAccess_ = input.readEnum();
-
-                break;
-              } // case 408
-            case 426:
-              {
-                input.readMessage(
-                    getDesiredDnsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 426
-            case 442:
-              {
-                input.readMessage(
-                    getDesiredNotificationConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 442
-            case 482:
-              {
-                input.readMessage(
-                    getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 482
-            case 506:
-              {
-                input.readMessage(
-                    getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 506
-            case 514:
-              {
-                input.readMessage(
-                    getDesiredLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 514
-            case 522:
-              {
-                input.readMessage(
-                    getDesiredMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 522
-            case 530:
-              {
-                input.readMessage(
-                    getDesiredIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 530
-            case 538:
-              {
-                input.readMessage(
-                    getDesiredMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 538
-            case 568:
-              {
-                desiredEnablePrivateEndpoint_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 568
-            case 802:
-              {
-                desiredMasterVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 802
-            case 874:
-              {
-                input.readMessage(
-                    getDesiredGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 874
-            case 882:
-              {
-                input.readMessage(
-                    getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 882
-            case 914:
-              {
-                input.readMessage(
-                    getDesiredGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 914
-            case 930:
-              {
-                input.readMessage(
-                    getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 930
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 34: {
+              desiredNodeVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              desiredMonitoringService_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDesiredAddonsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              desiredNodePoolId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              desiredImageType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 82: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDesiredLocationsIsMutable();
+              desiredLocations_.add(s);
+              break;
+            } // case 82
+            case 98: {
+              input.readMessage(
+                  getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 98
+            case 122: {
+              input.readMessage(
+                  getDesiredClusterAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getDesiredBinaryAuthorizationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 130
+            case 154: {
+              desiredLoggingService_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 154
+            case 170: {
+              input.readMessage(
+                  getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 178
+            case 202: {
+              input.readMessage(
+                  getDesiredPrivateClusterConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 210
+            case 226: {
+              input.readMessage(
+                  getDesiredDefaultSnatStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 226
+            case 250: {
+              input.readMessage(
+                  getDesiredReleaseChannelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 250
+            case 314: {
+              input.readMessage(
+                  getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 314
+            case 370: {
+              input.readMessage(
+                  getDesiredDatabaseEncryptionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 370
+            case 378: {
+              input.readMessage(
+                  getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 378
+            case 386: {
+              input.readMessage(
+                  getDesiredShieldedNodesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 386
+            case 394: {
+              input.readMessage(
+                  getDesiredCostManagementConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 394
+            case 400: {
+              desiredDatapathProvider_ = input.readEnum();
+
+              break;
+            } // case 400
+            case 408: {
+              desiredPrivateIpv6GoogleAccess_ = input.readEnum();
+
+              break;
+            } // case 408
+            case 426: {
+              input.readMessage(
+                  getDesiredDnsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 426
+            case 442: {
+              input.readMessage(
+                  getDesiredNotificationConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 442
+            case 482: {
+              input.readMessage(
+                  getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 482
+            case 506: {
+              input.readMessage(
+                  getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 506
+            case 514: {
+              input.readMessage(
+                  getDesiredLoggingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 514
+            case 522: {
+              input.readMessage(
+                  getDesiredMonitoringConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 522
+            case 530: {
+              input.readMessage(
+                  getDesiredIdentityServiceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 530
+            case 538: {
+              input.readMessage(
+                  getDesiredMeshCertificatesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 538
+            case 568: {
+              desiredEnablePrivateEndpoint_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 568
+            case 802: {
+              desiredMasterVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 802
+            case 874: {
+              input.readMessage(
+                  getDesiredGcfsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 874
+            case 882: {
+              input.readMessage(
+                  getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 882
+            case 914: {
+              input.readMessage(
+                  getDesiredGatewayApiConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 914
+            case 930: {
+              input.readMessage(
+                  getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 930
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3656,13 +3221,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object desiredNodeVersion_ = "";
     /**
-     *
-     *
      * 
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3676,13 +3238,13 @@ public Builder mergeFrom(
      * 
* * string desired_node_version = 4; - * * @return The desiredNodeVersion. */ public java.lang.String getDesiredNodeVersion() { java.lang.Object ref = desiredNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; @@ -3691,8 +3253,6 @@ public java.lang.String getDesiredNodeVersion() { } } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3706,14 +3266,15 @@ public java.lang.String getDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; - * * @return The bytes for desiredNodeVersion. */ - public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString + getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -3721,8 +3282,6 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { } } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3736,22 +3295,20 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() {
      * 
* * string desired_node_version = 4; - * * @param value The desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersion(java.lang.String value) { + public Builder setDesiredNodeVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodeVersion_ = value; onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3765,18 +3322,15 @@ public Builder setDesiredNodeVersion(java.lang.String value) {
      * 
* * string desired_node_version = 4; - * * @return This builder for chaining. */ public Builder clearDesiredNodeVersion() { - + desiredNodeVersion_ = getDefaultInstance().getDesiredNodeVersion(); onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3790,16 +3344,16 @@ public Builder clearDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; - * * @param value The bytes for desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredNodeVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodeVersion_ = value; onChanged(); return this; @@ -3807,8 +3361,6 @@ public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value) private java.lang.Object desiredMonitoringService_ = ""; /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3822,13 +3374,13 @@ public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value)
      * 
* * string desired_monitoring_service = 5; - * * @return The desiredMonitoringService. */ public java.lang.String getDesiredMonitoringService() { java.lang.Object ref = desiredMonitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; @@ -3837,8 +3389,6 @@ public java.lang.String getDesiredMonitoringService() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3852,14 +3402,15 @@ public java.lang.String getDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; - * * @return The bytes for desiredMonitoringService. */ - public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -3867,8 +3418,6 @@ public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3882,22 +3431,20 @@ public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() {
      * 
* * string desired_monitoring_service = 5; - * * @param value The desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringService(java.lang.String value) { + public Builder setDesiredMonitoringService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMonitoringService_ = value; onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3911,18 +3458,15 @@ public Builder setDesiredMonitoringService(java.lang.String value) {
      * 
* * string desired_monitoring_service = 5; - * * @return This builder for chaining. */ public Builder clearDesiredMonitoringService() { - + desiredMonitoringService_ = getDefaultInstance().getDesiredMonitoringService(); onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3936,16 +3480,16 @@ public Builder clearDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; - * * @param value The bytes for desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringServiceBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredMonitoringServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMonitoringService_ = value; onChanged(); return this; @@ -3953,47 +3497,34 @@ public Builder setDesiredMonitoringServiceBytes(com.google.protobuf.ByteString v private com.google.container.v1.AddonsConfig desiredAddonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder> - desiredAddonsConfigBuilder_; + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> desiredAddonsConfigBuilder_; /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; - * * @return Whether the desiredAddonsConfig field is set. */ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfigBuilder_ != null || desiredAddonsConfig_ != null; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; - * * @return The desiredAddonsConfig. */ public com.google.container.v1.AddonsConfig getDesiredAddonsConfig() { if (desiredAddonsConfigBuilder_ == null) { - return desiredAddonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : desiredAddonsConfig_; + return desiredAddonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; } else { return desiredAddonsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4014,8 +3545,6 @@ public Builder setDesiredAddonsConfig(com.google.container.v1.AddonsConfig value return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4034,8 +3563,6 @@ public Builder setDesiredAddonsConfig( return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4046,9 +3573,7 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1.AddonsConfig val if (desiredAddonsConfigBuilder_ == null) { if (desiredAddonsConfig_ != null) { desiredAddonsConfig_ = - com.google.container.v1.AddonsConfig.newBuilder(desiredAddonsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AddonsConfig.newBuilder(desiredAddonsConfig_).mergeFrom(value).buildPartial(); } else { desiredAddonsConfig_ = value; } @@ -4060,8 +3585,6 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1.AddonsConfig val return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4080,8 +3603,6 @@ public Builder clearDesiredAddonsConfig() { return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4089,13 +3610,11 @@ public Builder clearDesiredAddonsConfig() { * .google.container.v1.AddonsConfig desired_addons_config = 6; */ public com.google.container.v1.AddonsConfig.Builder getDesiredAddonsConfigBuilder() { - + onChanged(); return getDesiredAddonsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4106,14 +3625,11 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui if (desiredAddonsConfigBuilder_ != null) { return desiredAddonsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAddonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : desiredAddonsConfig_; + return desiredAddonsConfig_ == null ? + com.google.container.v1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4121,17 +3637,14 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui * .google.container.v1.AddonsConfig desired_addons_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder> + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> getDesiredAddonsConfigFieldBuilder() { if (desiredAddonsConfigBuilder_ == null) { - desiredAddonsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder>( - getDesiredAddonsConfig(), getParentForChildren(), isClean()); + desiredAddonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder>( + getDesiredAddonsConfig(), + getParentForChildren(), + isClean()); desiredAddonsConfig_ = null; } return desiredAddonsConfigBuilder_; @@ -4139,8 +3652,6 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui private java.lang.Object desiredNodePoolId_ = ""; /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -4149,13 +3660,13 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui
      * 
* * string desired_node_pool_id = 7; - * * @return The desiredNodePoolId. */ public java.lang.String getDesiredNodePoolId() { java.lang.Object ref = desiredNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; @@ -4164,8 +3675,6 @@ public java.lang.String getDesiredNodePoolId() { } } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -4174,14 +3683,15 @@ public java.lang.String getDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; - * * @return The bytes for desiredNodePoolId. */ - public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString + getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -4189,8 +3699,6 @@ public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { } } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -4199,22 +3707,20 @@ public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() {
      * 
* * string desired_node_pool_id = 7; - * * @param value The desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolId(java.lang.String value) { + public Builder setDesiredNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -4223,18 +3729,15 @@ public Builder setDesiredNodePoolId(java.lang.String value) {
      * 
* * string desired_node_pool_id = 7; - * * @return This builder for chaining. */ public Builder clearDesiredNodePoolId() { - + desiredNodePoolId_ = getDefaultInstance().getDesiredNodePoolId(); onChanged(); return this; } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -4243,16 +3746,16 @@ public Builder clearDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; - * * @param value The bytes for desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolIdBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodePoolId_ = value; onChanged(); return this; @@ -4260,21 +3763,19 @@ public Builder setDesiredNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object desiredImageType_ = ""; /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @return The desiredImageType. */ public java.lang.String getDesiredImageType() { java.lang.Object ref = desiredImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; @@ -4283,22 +3784,21 @@ public java.lang.String getDesiredImageType() { } } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @return The bytes for desiredImageType. */ - public com.google.protobuf.ByteString getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString + getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -4306,64 +3806,57 @@ public com.google.protobuf.ByteString getDesiredImageTypeBytes() { } } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @param value The desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageType(java.lang.String value) { + public Builder setDesiredImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredImageType_ = value; onChanged(); return this; } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @return This builder for chaining. */ public Builder clearDesiredImageType() { - + desiredImageType_ = getDefaultInstance().getDesiredImageType(); onChanged(); return this; } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @param value The bytes for desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredImageType_ = value; onChanged(); return this; @@ -4371,47 +3864,34 @@ public Builder setDesiredImageTypeBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.DatabaseEncryption desiredDatabaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, - com.google.container.v1.DatabaseEncryption.Builder, - com.google.container.v1.DatabaseEncryptionOrBuilder> - desiredDatabaseEncryptionBuilder_; + com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> desiredDatabaseEncryptionBuilder_; /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; - * * @return Whether the desiredDatabaseEncryption field is set. */ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryptionBuilder_ != null || desiredDatabaseEncryption_ != null; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; - * * @return The desiredDatabaseEncryption. */ public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() { if (desiredDatabaseEncryptionBuilder_ == null) { - return desiredDatabaseEncryption_ == null - ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() - : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; } else { return desiredDatabaseEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -4432,8 +3912,6 @@ public Builder setDesiredDatabaseEncryption(com.google.container.v1.DatabaseEncr return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -4452,22 +3930,17 @@ public Builder setDesiredDatabaseEncryption( return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ - public Builder mergeDesiredDatabaseEncryption( - com.google.container.v1.DatabaseEncryption value) { + public Builder mergeDesiredDatabaseEncryption(com.google.container.v1.DatabaseEncryption value) { if (desiredDatabaseEncryptionBuilder_ == null) { if (desiredDatabaseEncryption_ != null) { desiredDatabaseEncryption_ = - com.google.container.v1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_).mergeFrom(value).buildPartial(); } else { desiredDatabaseEncryption_ = value; } @@ -4479,8 +3952,6 @@ public Builder mergeDesiredDatabaseEncryption( return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -4499,42 +3970,33 @@ public Builder clearDesiredDatabaseEncryption() { return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1.DatabaseEncryption.Builder - getDesiredDatabaseEncryptionBuilder() { - + public com.google.container.v1.DatabaseEncryption.Builder getDesiredDatabaseEncryptionBuilder() { + onChanged(); return getDesiredDatabaseEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1.DatabaseEncryptionOrBuilder - getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { if (desiredDatabaseEncryptionBuilder_ != null) { return desiredDatabaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return desiredDatabaseEncryption_ == null - ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() - : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null ? + com.google.container.v1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; } } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -4542,17 +4004,14 @@ public Builder clearDesiredDatabaseEncryption() { * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, - com.google.container.v1.DatabaseEncryption.Builder, - com.google.container.v1.DatabaseEncryptionOrBuilder> + com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> getDesiredDatabaseEncryptionFieldBuilder() { if (desiredDatabaseEncryptionBuilder_ == null) { - desiredDatabaseEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, - com.google.container.v1.DatabaseEncryption.Builder, - com.google.container.v1.DatabaseEncryptionOrBuilder>( - getDesiredDatabaseEncryption(), getParentForChildren(), isClean()); + desiredDatabaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder>( + getDesiredDatabaseEncryption(), + getParentForChildren(), + isClean()); desiredDatabaseEncryption_ = null; } return desiredDatabaseEncryptionBuilder_; @@ -4560,59 +4019,41 @@ public Builder clearDesiredDatabaseEncryption() { private com.google.container.v1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, - com.google.container.v1.WorkloadIdentityConfig.Builder, - com.google.container.v1.WorkloadIdentityConfigOrBuilder> - desiredWorkloadIdentityConfigBuilder_; + com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> desiredWorkloadIdentityConfigBuilder_; /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return Whether the desiredWorkloadIdentityConfig field is set. */ public boolean hasDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfigBuilder_ != null - || desiredWorkloadIdentityConfig_ != null; + return desiredWorkloadIdentityConfigBuilder_ != null || desiredWorkloadIdentityConfig_ != null; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return The desiredWorkloadIdentityConfig. */ public com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - return desiredWorkloadIdentityConfig_ == null - ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() - : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; } else { return desiredWorkloadIdentityConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public Builder setDesiredWorkloadIdentityConfig( - com.google.container.v1.WorkloadIdentityConfig value) { + public Builder setDesiredWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4626,14 +4067,11 @@ public Builder setDesiredWorkloadIdentityConfig( return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ public Builder setDesiredWorkloadIdentityConfig( com.google.container.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -4647,24 +4085,17 @@ public Builder setDesiredWorkloadIdentityConfig( return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public Builder mergeDesiredWorkloadIdentityConfig( - com.google.container.v1.WorkloadIdentityConfig value) { + public Builder mergeDesiredWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (desiredWorkloadIdentityConfig_ != null) { desiredWorkloadIdentityConfig_ = - com.google.container.v1.WorkloadIdentityConfig.newBuilder( - desiredWorkloadIdentityConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.WorkloadIdentityConfig.newBuilder(desiredWorkloadIdentityConfig_).mergeFrom(value).buildPartial(); } else { desiredWorkloadIdentityConfig_ = value; } @@ -4676,14 +4107,11 @@ public Builder mergeDesiredWorkloadIdentityConfig( return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ public Builder clearDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { @@ -4697,63 +4125,48 @@ public Builder clearDesiredWorkloadIdentityConfig() { return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public com.google.container.v1.WorkloadIdentityConfig.Builder - getDesiredWorkloadIdentityConfigBuilder() { - + public com.google.container.v1.WorkloadIdentityConfig.Builder getDesiredWorkloadIdentityConfigBuilder() { + onChanged(); return getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public com.google.container.v1.WorkloadIdentityConfigOrBuilder - getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { if (desiredWorkloadIdentityConfigBuilder_ != null) { return desiredWorkloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadIdentityConfig_ == null - ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() - : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null ? + com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; } } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, - com.google.container.v1.WorkloadIdentityConfig.Builder, - com.google.container.v1.WorkloadIdentityConfigOrBuilder> + com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> getDesiredWorkloadIdentityConfigFieldBuilder() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - desiredWorkloadIdentityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, - com.google.container.v1.WorkloadIdentityConfig.Builder, - com.google.container.v1.WorkloadIdentityConfigOrBuilder>( - getDesiredWorkloadIdentityConfig(), getParentForChildren(), isClean()); + desiredWorkloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder>( + getDesiredWorkloadIdentityConfig(), + getParentForChildren(), + isClean()); desiredWorkloadIdentityConfig_ = null; } return desiredWorkloadIdentityConfigBuilder_; @@ -4761,49 +4174,36 @@ public Builder clearDesiredWorkloadIdentityConfig() { private com.google.container.v1.MeshCertificates desiredMeshCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MeshCertificates, - com.google.container.v1.MeshCertificates.Builder, - com.google.container.v1.MeshCertificatesOrBuilder> - desiredMeshCertificatesBuilder_; + com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> desiredMeshCertificatesBuilder_; /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; - * * @return Whether the desiredMeshCertificates field is set. */ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificatesBuilder_ != null || desiredMeshCertificates_ != null; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; - * * @return The desiredMeshCertificates. */ public com.google.container.v1.MeshCertificates getDesiredMeshCertificates() { if (desiredMeshCertificatesBuilder_ == null) { - return desiredMeshCertificates_ == null - ? com.google.container.v1.MeshCertificates.getDefaultInstance() - : desiredMeshCertificates_; + return desiredMeshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; } else { return desiredMeshCertificatesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4825,8 +4225,6 @@ public Builder setDesiredMeshCertificates(com.google.container.v1.MeshCertificat
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4846,8 +4244,6 @@ public Builder setDesiredMeshCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4859,9 +4255,7 @@ public Builder mergeDesiredMeshCertificates(com.google.container.v1.MeshCertific
       if (desiredMeshCertificatesBuilder_ == null) {
         if (desiredMeshCertificates_ != null) {
           desiredMeshCertificates_ =
-              com.google.container.v1.MeshCertificates.newBuilder(desiredMeshCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.MeshCertificates.newBuilder(desiredMeshCertificates_).mergeFrom(value).buildPartial();
         } else {
           desiredMeshCertificates_ = value;
         }
@@ -4873,8 +4267,6 @@ public Builder mergeDesiredMeshCertificates(com.google.container.v1.MeshCertific
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4894,8 +4286,6 @@ public Builder clearDesiredMeshCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4904,13 +4294,11 @@ public Builder clearDesiredMeshCertificates() {
      * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
      */
     public com.google.container.v1.MeshCertificates.Builder getDesiredMeshCertificatesBuilder() {
-
+      
       onChanged();
       return getDesiredMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4922,14 +4310,11 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
       if (desiredMeshCertificatesBuilder_ != null) {
         return desiredMeshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return desiredMeshCertificates_ == null
-            ? com.google.container.v1.MeshCertificates.getDefaultInstance()
-            : desiredMeshCertificates_;
+        return desiredMeshCertificates_ == null ?
+            com.google.container.v1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4938,17 +4323,14 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
      * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MeshCertificates,
-            com.google.container.v1.MeshCertificates.Builder,
-            com.google.container.v1.MeshCertificatesOrBuilder>
+        com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> 
         getDesiredMeshCertificatesFieldBuilder() {
       if (desiredMeshCertificatesBuilder_ == null) {
-        desiredMeshCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.MeshCertificates,
-                com.google.container.v1.MeshCertificates.Builder,
-                com.google.container.v1.MeshCertificatesOrBuilder>(
-                getDesiredMeshCertificates(), getParentForChildren(), isClean());
+        desiredMeshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder>(
+                getDesiredMeshCertificates(),
+                getParentForChildren(),
+                isClean());
         desiredMeshCertificates_ = null;
       }
       return desiredMeshCertificatesBuilder_;
@@ -4956,47 +4338,34 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
 
     private com.google.container.v1.ShieldedNodes desiredShieldedNodes_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ShieldedNodes,
-            com.google.container.v1.ShieldedNodes.Builder,
-            com.google.container.v1.ShieldedNodesOrBuilder>
-        desiredShieldedNodesBuilder_;
+        com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> desiredShieldedNodesBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; - * * @return Whether the desiredShieldedNodes field is set. */ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodesBuilder_ != null || desiredShieldedNodes_ != null; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; - * * @return The desiredShieldedNodes. */ public com.google.container.v1.ShieldedNodes getDesiredShieldedNodes() { if (desiredShieldedNodesBuilder_ == null) { - return desiredShieldedNodes_ == null - ? com.google.container.v1.ShieldedNodes.getDefaultInstance() - : desiredShieldedNodes_; + return desiredShieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; } else { return desiredShieldedNodesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -5017,8 +4386,6 @@ public Builder setDesiredShieldedNodes(com.google.container.v1.ShieldedNodes val return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -5037,8 +4404,6 @@ public Builder setDesiredShieldedNodes( return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -5049,9 +4414,7 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1.ShieldedNodes v if (desiredShieldedNodesBuilder_ == null) { if (desiredShieldedNodes_ != null) { desiredShieldedNodes_ = - com.google.container.v1.ShieldedNodes.newBuilder(desiredShieldedNodes_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ShieldedNodes.newBuilder(desiredShieldedNodes_).mergeFrom(value).buildPartial(); } else { desiredShieldedNodes_ = value; } @@ -5063,8 +4426,6 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1.ShieldedNodes v return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -5083,8 +4444,6 @@ public Builder clearDesiredShieldedNodes() { return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -5092,13 +4451,11 @@ public Builder clearDesiredShieldedNodes() { * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; */ public com.google.container.v1.ShieldedNodes.Builder getDesiredShieldedNodesBuilder() { - + onChanged(); return getDesiredShieldedNodesFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -5109,14 +4466,11 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB if (desiredShieldedNodesBuilder_ != null) { return desiredShieldedNodesBuilder_.getMessageOrBuilder(); } else { - return desiredShieldedNodes_ == null - ? com.google.container.v1.ShieldedNodes.getDefaultInstance() - : desiredShieldedNodes_; + return desiredShieldedNodes_ == null ? + com.google.container.v1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; } } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -5124,17 +4478,14 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, - com.google.container.v1.ShieldedNodes.Builder, - com.google.container.v1.ShieldedNodesOrBuilder> + com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> getDesiredShieldedNodesFieldBuilder() { if (desiredShieldedNodesBuilder_ == null) { - desiredShieldedNodesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, - com.google.container.v1.ShieldedNodes.Builder, - com.google.container.v1.ShieldedNodesOrBuilder>( - getDesiredShieldedNodes(), getParentForChildren(), isClean()); + desiredShieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder>( + getDesiredShieldedNodes(), + getParentForChildren(), + isClean()); desiredShieldedNodes_ = null; } return desiredShieldedNodesBuilder_; @@ -5142,55 +4493,41 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB private com.google.container.v1.CostManagementConfig desiredCostManagementConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, - com.google.container.v1.CostManagementConfig.Builder, - com.google.container.v1.CostManagementConfigOrBuilder> - desiredCostManagementConfigBuilder_; + com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> desiredCostManagementConfigBuilder_; /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; - * * @return Whether the desiredCostManagementConfig field is set. */ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfigBuilder_ != null || desiredCostManagementConfig_ != null; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; - * * @return The desiredCostManagementConfig. */ public com.google.container.v1.CostManagementConfig getDesiredCostManagementConfig() { if (desiredCostManagementConfigBuilder_ == null) { - return desiredCostManagementConfig_ == null - ? com.google.container.v1.CostManagementConfig.getDefaultInstance() - : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; } else { return desiredCostManagementConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public Builder setDesiredCostManagementConfig( - com.google.container.v1.CostManagementConfig value) { + public Builder setDesiredCostManagementConfig(com.google.container.v1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5204,8 +4541,6 @@ public Builder setDesiredCostManagementConfig( return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
@@ -5224,22 +4559,17 @@ public Builder setDesiredCostManagementConfig( return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public Builder mergeDesiredCostManagementConfig( - com.google.container.v1.CostManagementConfig value) { + public Builder mergeDesiredCostManagementConfig(com.google.container.v1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (desiredCostManagementConfig_ != null) { desiredCostManagementConfig_ = - com.google.container.v1.CostManagementConfig.newBuilder(desiredCostManagementConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.CostManagementConfig.newBuilder(desiredCostManagementConfig_).mergeFrom(value).buildPartial(); } else { desiredCostManagementConfig_ = value; } @@ -5251,8 +4581,6 @@ public Builder mergeDesiredCostManagementConfig( return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
@@ -5271,42 +4599,33 @@ public Builder clearDesiredCostManagementConfig() { return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public com.google.container.v1.CostManagementConfig.Builder - getDesiredCostManagementConfigBuilder() { - + public com.google.container.v1.CostManagementConfig.Builder getDesiredCostManagementConfigBuilder() { + onChanged(); return getDesiredCostManagementConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public com.google.container.v1.CostManagementConfigOrBuilder - getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { if (desiredCostManagementConfigBuilder_ != null) { return desiredCostManagementConfigBuilder_.getMessageOrBuilder(); } else { - return desiredCostManagementConfig_ == null - ? com.google.container.v1.CostManagementConfig.getDefaultInstance() - : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null ? + com.google.container.v1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; } } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
@@ -5314,17 +4633,14 @@ public Builder clearDesiredCostManagementConfig() { * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, - com.google.container.v1.CostManagementConfig.Builder, - com.google.container.v1.CostManagementConfigOrBuilder> + com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> getDesiredCostManagementConfigFieldBuilder() { if (desiredCostManagementConfigBuilder_ == null) { - desiredCostManagementConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, - com.google.container.v1.CostManagementConfig.Builder, - com.google.container.v1.CostManagementConfigOrBuilder>( - getDesiredCostManagementConfig(), getParentForChildren(), isClean()); + desiredCostManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder>( + getDesiredCostManagementConfig(), + getParentForChildren(), + isClean()); desiredCostManagementConfig_ = null; } return desiredCostManagementConfigBuilder_; @@ -5332,47 +4648,34 @@ public Builder clearDesiredCostManagementConfig() { private com.google.container.v1.DNSConfig desiredDnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, - com.google.container.v1.DNSConfig.Builder, - com.google.container.v1.DNSConfigOrBuilder> - desiredDnsConfigBuilder_; + com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> desiredDnsConfigBuilder_; /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; - * * @return Whether the desiredDnsConfig field is set. */ public boolean hasDesiredDnsConfig() { return desiredDnsConfigBuilder_ != null || desiredDnsConfig_ != null; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; - * * @return The desiredDnsConfig. */ public com.google.container.v1.DNSConfig getDesiredDnsConfig() { if (desiredDnsConfigBuilder_ == null) { - return desiredDnsConfig_ == null - ? com.google.container.v1.DNSConfig.getDefaultInstance() - : desiredDnsConfig_; + return desiredDnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; } else { return desiredDnsConfigBuilder_.getMessage(); } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -5393,15 +4696,14 @@ public Builder setDesiredDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; */ - public Builder setDesiredDnsConfig(com.google.container.v1.DNSConfig.Builder builderForValue) { + public Builder setDesiredDnsConfig( + com.google.container.v1.DNSConfig.Builder builderForValue) { if (desiredDnsConfigBuilder_ == null) { desiredDnsConfig_ = builderForValue.build(); onChanged(); @@ -5412,8 +4714,6 @@ public Builder setDesiredDnsConfig(com.google.container.v1.DNSConfig.Builder bui return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -5424,9 +4724,7 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1.DNSConfig value) { if (desiredDnsConfigBuilder_ == null) { if (desiredDnsConfig_ != null) { desiredDnsConfig_ = - com.google.container.v1.DNSConfig.newBuilder(desiredDnsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.DNSConfig.newBuilder(desiredDnsConfig_).mergeFrom(value).buildPartial(); } else { desiredDnsConfig_ = value; } @@ -5438,8 +4736,6 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -5458,8 +4754,6 @@ public Builder clearDesiredDnsConfig() { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -5467,13 +4761,11 @@ public Builder clearDesiredDnsConfig() { * .google.container.v1.DNSConfig desired_dns_config = 53; */ public com.google.container.v1.DNSConfig.Builder getDesiredDnsConfigBuilder() { - + onChanged(); return getDesiredDnsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -5484,14 +4776,11 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() if (desiredDnsConfigBuilder_ != null) { return desiredDnsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredDnsConfig_ == null - ? com.google.container.v1.DNSConfig.getDefaultInstance() - : desiredDnsConfig_; + return desiredDnsConfig_ == null ? + com.google.container.v1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -5499,17 +4788,14 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() * .google.container.v1.DNSConfig desired_dns_config = 53; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, - com.google.container.v1.DNSConfig.Builder, - com.google.container.v1.DNSConfigOrBuilder> + com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> getDesiredDnsConfigFieldBuilder() { if (desiredDnsConfigBuilder_ == null) { - desiredDnsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, - com.google.container.v1.DNSConfig.Builder, - com.google.container.v1.DNSConfigOrBuilder>( - getDesiredDnsConfig(), getParentForChildren(), isClean()); + desiredDnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder>( + getDesiredDnsConfig(), + getParentForChildren(), + isClean()); desiredDnsConfig_ = null; } return desiredDnsConfigBuilder_; @@ -5517,13 +4803,8 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() private com.google.container.v1.NodePoolAutoscaling desiredNodePoolAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, - com.google.container.v1.NodePoolAutoscaling.Builder, - com.google.container.v1.NodePoolAutoscalingOrBuilder> - desiredNodePoolAutoscalingBuilder_; + com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> desiredNodePoolAutoscalingBuilder_; /** - * - * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5532,15 +4813,12 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder()
      * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return Whether the desiredNodePoolAutoscaling field is set. */ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscalingBuilder_ != null || desiredNodePoolAutoscaling_ != null; } /** - * - * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5549,21 +4827,16 @@ public boolean hasDesiredNodePoolAutoscaling() {
      * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return The desiredNodePoolAutoscaling. */ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { if (desiredNodePoolAutoscalingBuilder_ == null) { - return desiredNodePoolAutoscaling_ == null - ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() - : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; } else { return desiredNodePoolAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5573,8 +4846,7 @@ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder setDesiredNodePoolAutoscaling(
-        com.google.container.v1.NodePoolAutoscaling value) {
+    public Builder setDesiredNodePoolAutoscaling(com.google.container.v1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5588,8 +4860,6 @@ public Builder setDesiredNodePoolAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5611,8 +4881,6 @@ public Builder setDesiredNodePoolAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5622,14 +4890,11 @@ public Builder setDesiredNodePoolAutoscaling(
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder mergeDesiredNodePoolAutoscaling(
-        com.google.container.v1.NodePoolAutoscaling value) {
+    public Builder mergeDesiredNodePoolAutoscaling(com.google.container.v1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (desiredNodePoolAutoscaling_ != null) {
           desiredNodePoolAutoscaling_ =
-              com.google.container.v1.NodePoolAutoscaling.newBuilder(desiredNodePoolAutoscaling_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodePoolAutoscaling.newBuilder(desiredNodePoolAutoscaling_).mergeFrom(value).buildPartial();
         } else {
           desiredNodePoolAutoscaling_ = value;
         }
@@ -5641,8 +4906,6 @@ public Builder mergeDesiredNodePoolAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5664,8 +4927,6 @@ public Builder clearDesiredNodePoolAutoscaling() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5675,15 +4936,12 @@ public Builder clearDesiredNodePoolAutoscaling() {
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1.NodePoolAutoscaling.Builder
-        getDesiredNodePoolAutoscalingBuilder() {
-
+    public com.google.container.v1.NodePoolAutoscaling.Builder getDesiredNodePoolAutoscalingBuilder() {
+      
       onChanged();
       return getDesiredNodePoolAutoscalingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5693,19 +4951,15 @@ public Builder clearDesiredNodePoolAutoscaling() {
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1.NodePoolAutoscalingOrBuilder
-        getDesiredNodePoolAutoscalingOrBuilder() {
+    public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ != null) {
         return desiredNodePoolAutoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return desiredNodePoolAutoscaling_ == null
-            ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance()
-            : desiredNodePoolAutoscaling_;
+        return desiredNodePoolAutoscaling_ == null ?
+            com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_;
       }
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5716,34 +4970,27 @@ public Builder clearDesiredNodePoolAutoscaling() {
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolAutoscaling,
-            com.google.container.v1.NodePoolAutoscaling.Builder,
-            com.google.container.v1.NodePoolAutoscalingOrBuilder>
+        com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> 
         getDesiredNodePoolAutoscalingFieldBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
-        desiredNodePoolAutoscalingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodePoolAutoscaling,
-                com.google.container.v1.NodePoolAutoscaling.Builder,
-                com.google.container.v1.NodePoolAutoscalingOrBuilder>(
-                getDesiredNodePoolAutoscaling(), getParentForChildren(), isClean());
+        desiredNodePoolAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder>(
+                getDesiredNodePoolAutoscaling(),
+                getParentForChildren(),
+                isClean());
         desiredNodePoolAutoscaling_ = null;
       }
       return desiredNodePoolAutoscalingBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList desiredLocations_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList desiredLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureDesiredLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         desiredLocations_ = new com.google.protobuf.LazyStringArrayList(desiredLocations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5754,15 +5001,13 @@ private void ensureDesiredLocationsIsMutable() {
      * 
* * repeated string desired_locations = 10; - * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList + getDesiredLocationsList() { return desiredLocations_.getUnmodifiableView(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5773,15 +5018,12 @@ public com.google.protobuf.ProtocolStringList getDesiredLocationsList() {
      * 
* * repeated string desired_locations = 10; - * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5792,7 +5034,6 @@ public int getDesiredLocationsCount() {
      * 
* * repeated string desired_locations = 10; - * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -5800,8 +5041,6 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5812,16 +5051,14 @@ public java.lang.String getDesiredLocations(int index) {
      * 
* * repeated string desired_locations = 10; - * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString + getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5832,23 +5069,21 @@ public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) {
      * 
* * repeated string desired_locations = 10; - * * @param index The index to set the value at. * @param value The desiredLocations to set. * @return This builder for chaining. */ - public Builder setDesiredLocations(int index, java.lang.String value) { + public Builder setDesiredLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5859,22 +5094,20 @@ public Builder setDesiredLocations(int index, java.lang.String value) {
      * 
* * repeated string desired_locations = 10; - * * @param value The desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocations(java.lang.String value) { + public Builder addDesiredLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5885,19 +5118,18 @@ public Builder addDesiredLocations(java.lang.String value) {
      * 
* * repeated string desired_locations = 10; - * * @param values The desiredLocations to add. * @return This builder for chaining. */ - public Builder addAllDesiredLocations(java.lang.Iterable values) { + public Builder addAllDesiredLocations( + java.lang.Iterable values) { ensureDesiredLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, desiredLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, desiredLocations_); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5908,7 +5140,6 @@ public Builder addAllDesiredLocations(java.lang.Iterable value
      * 
* * repeated string desired_locations = 10; - * * @return This builder for chaining. */ public Builder clearDesiredLocations() { @@ -5918,8 +5149,6 @@ public Builder clearDesiredLocations() { return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5930,81 +5159,58 @@ public Builder clearDesiredLocations() {
      * 
* * repeated string desired_locations = 10; - * * @param value The bytes of the desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addDesiredLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } - private com.google.container.v1.MasterAuthorizedNetworksConfig - desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, - com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> - desiredMasterAuthorizedNetworksConfigBuilder_; + com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> desiredMasterAuthorizedNetworksConfigBuilder_; /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ public boolean hasDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfigBuilder_ != null - || desiredMasterAuthorizedNetworksConfig_ != null; + return desiredMasterAuthorizedNetworksConfigBuilder_ != null || desiredMasterAuthorizedNetworksConfig_ != null; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return The desiredMasterAuthorizedNetworksConfig. */ - public com.google.container.v1.MasterAuthorizedNetworksConfig - getDesiredMasterAuthorizedNetworksConfig() { + public com.google.container.v1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - return desiredMasterAuthorizedNetworksConfig_ == null - ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; } else { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public Builder setDesiredMasterAuthorizedNetworksConfig( - com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder setDesiredMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6018,15 +5224,11 @@ public Builder setDesiredMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ public Builder setDesiredMasterAuthorizedNetworksConfig( com.google.container.v1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -6040,25 +5242,17 @@ public Builder setDesiredMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public Builder mergeDesiredMasterAuthorizedNetworksConfig( - com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder mergeDesiredMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (desiredMasterAuthorizedNetworksConfig_ != null) { desiredMasterAuthorizedNetworksConfig_ = - com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder( - desiredMasterAuthorizedNetworksConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder(desiredMasterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); } else { desiredMasterAuthorizedNetworksConfig_ = value; } @@ -6070,15 +5264,11 @@ public Builder mergeDesiredMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ public Builder clearDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { @@ -6092,66 +5282,48 @@ public Builder clearDesiredMasterAuthorizedNetworksConfig() { return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder - getDesiredMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder getDesiredMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder - getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ != null) { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMasterAuthorizedNetworksConfig_ == null - ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null ? + com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; } } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, - com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> getDesiredMasterAuthorizedNetworksConfigFieldBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - desiredMasterAuthorizedNetworksConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, - com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( - getDesiredMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); + desiredMasterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( + getDesiredMasterAuthorizedNetworksConfig(), + getParentForChildren(), + isClean()); desiredMasterAuthorizedNetworksConfig_ = null; } return desiredMasterAuthorizedNetworksConfigBuilder_; @@ -6159,47 +5331,34 @@ public Builder clearDesiredMasterAuthorizedNetworksConfig() { private com.google.container.v1.ClusterAutoscaling desiredClusterAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, - com.google.container.v1.ClusterAutoscaling.Builder, - com.google.container.v1.ClusterAutoscalingOrBuilder> - desiredClusterAutoscalingBuilder_; + com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> desiredClusterAutoscalingBuilder_; /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return Whether the desiredClusterAutoscaling field is set. */ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscalingBuilder_ != null || desiredClusterAutoscaling_ != null; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return The desiredClusterAutoscaling. */ public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() { if (desiredClusterAutoscalingBuilder_ == null) { - return desiredClusterAutoscaling_ == null - ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() - : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; } else { return desiredClusterAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -6220,8 +5379,6 @@ public Builder setDesiredClusterAutoscaling(com.google.container.v1.ClusterAutos return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -6240,22 +5397,17 @@ public Builder setDesiredClusterAutoscaling( return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public Builder mergeDesiredClusterAutoscaling( - com.google.container.v1.ClusterAutoscaling value) { + public Builder mergeDesiredClusterAutoscaling(com.google.container.v1.ClusterAutoscaling value) { if (desiredClusterAutoscalingBuilder_ == null) { if (desiredClusterAutoscaling_ != null) { desiredClusterAutoscaling_ = - com.google.container.v1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_).mergeFrom(value).buildPartial(); } else { desiredClusterAutoscaling_ = value; } @@ -6267,8 +5419,6 @@ public Builder mergeDesiredClusterAutoscaling( return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -6287,42 +5437,33 @@ public Builder clearDesiredClusterAutoscaling() { return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1.ClusterAutoscaling.Builder - getDesiredClusterAutoscalingBuilder() { - + public com.google.container.v1.ClusterAutoscaling.Builder getDesiredClusterAutoscalingBuilder() { + onChanged(); return getDesiredClusterAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1.ClusterAutoscalingOrBuilder - getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { if (desiredClusterAutoscalingBuilder_ != null) { return desiredClusterAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredClusterAutoscaling_ == null - ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() - : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null ? + com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -6330,17 +5471,14 @@ public Builder clearDesiredClusterAutoscaling() { * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, - com.google.container.v1.ClusterAutoscaling.Builder, - com.google.container.v1.ClusterAutoscalingOrBuilder> + com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> getDesiredClusterAutoscalingFieldBuilder() { if (desiredClusterAutoscalingBuilder_ == null) { - desiredClusterAutoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, - com.google.container.v1.ClusterAutoscaling.Builder, - com.google.container.v1.ClusterAutoscalingOrBuilder>( - getDesiredClusterAutoscaling(), getParentForChildren(), isClean()); + desiredClusterAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder>( + getDesiredClusterAutoscaling(), + getParentForChildren(), + isClean()); desiredClusterAutoscaling_ = null; } return desiredClusterAutoscalingBuilder_; @@ -6348,55 +5486,41 @@ public Builder clearDesiredClusterAutoscaling() { private com.google.container.v1.BinaryAuthorization desiredBinaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, - com.google.container.v1.BinaryAuthorization.Builder, - com.google.container.v1.BinaryAuthorizationOrBuilder> - desiredBinaryAuthorizationBuilder_; + com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> desiredBinaryAuthorizationBuilder_; /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; - * * @return Whether the desiredBinaryAuthorization field is set. */ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorizationBuilder_ != null || desiredBinaryAuthorization_ != null; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; - * * @return The desiredBinaryAuthorization. */ public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization() { if (desiredBinaryAuthorizationBuilder_ == null) { - return desiredBinaryAuthorization_ == null - ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() - : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; } else { return desiredBinaryAuthorizationBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder setDesiredBinaryAuthorization( - com.google.container.v1.BinaryAuthorization value) { + public Builder setDesiredBinaryAuthorization(com.google.container.v1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6410,8 +5534,6 @@ public Builder setDesiredBinaryAuthorization( return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -6430,22 +5552,17 @@ public Builder setDesiredBinaryAuthorization( return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder mergeDesiredBinaryAuthorization( - com.google.container.v1.BinaryAuthorization value) { + public Builder mergeDesiredBinaryAuthorization(com.google.container.v1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (desiredBinaryAuthorization_ != null) { desiredBinaryAuthorization_ = - com.google.container.v1.BinaryAuthorization.newBuilder(desiredBinaryAuthorization_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.BinaryAuthorization.newBuilder(desiredBinaryAuthorization_).mergeFrom(value).buildPartial(); } else { desiredBinaryAuthorization_ = value; } @@ -6457,8 +5574,6 @@ public Builder mergeDesiredBinaryAuthorization( return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -6477,42 +5592,33 @@ public Builder clearDesiredBinaryAuthorization() { return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1.BinaryAuthorization.Builder - getDesiredBinaryAuthorizationBuilder() { - + public com.google.container.v1.BinaryAuthorization.Builder getDesiredBinaryAuthorizationBuilder() { + onChanged(); return getDesiredBinaryAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1.BinaryAuthorizationOrBuilder - getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { if (desiredBinaryAuthorizationBuilder_ != null) { return desiredBinaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return desiredBinaryAuthorization_ == null - ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() - : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null ? + com.google.container.v1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; } } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -6520,17 +5626,14 @@ public Builder clearDesiredBinaryAuthorization() { * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, - com.google.container.v1.BinaryAuthorization.Builder, - com.google.container.v1.BinaryAuthorizationOrBuilder> + com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> getDesiredBinaryAuthorizationFieldBuilder() { if (desiredBinaryAuthorizationBuilder_ == null) { - desiredBinaryAuthorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, - com.google.container.v1.BinaryAuthorization.Builder, - com.google.container.v1.BinaryAuthorizationOrBuilder>( - getDesiredBinaryAuthorization(), getParentForChildren(), isClean()); + desiredBinaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder>( + getDesiredBinaryAuthorization(), + getParentForChildren(), + isClean()); desiredBinaryAuthorization_ = null; } return desiredBinaryAuthorizationBuilder_; @@ -6538,8 +5641,6 @@ public Builder clearDesiredBinaryAuthorization() { private java.lang.Object desiredLoggingService_ = ""; /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6553,13 +5654,13 @@ public Builder clearDesiredBinaryAuthorization() {
      * 
* * string desired_logging_service = 19; - * * @return The desiredLoggingService. */ public java.lang.String getDesiredLoggingService() { java.lang.Object ref = desiredLoggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; @@ -6568,8 +5669,6 @@ public java.lang.String getDesiredLoggingService() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6583,14 +5682,15 @@ public java.lang.String getDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; - * * @return The bytes for desiredLoggingService. */ - public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString + getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -6598,8 +5698,6 @@ public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6613,22 +5711,20 @@ public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() {
      * 
* * string desired_logging_service = 19; - * * @param value The desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingService(java.lang.String value) { + public Builder setDesiredLoggingService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredLoggingService_ = value; onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6642,18 +5738,15 @@ public Builder setDesiredLoggingService(java.lang.String value) {
      * 
* * string desired_logging_service = 19; - * * @return This builder for chaining. */ public Builder clearDesiredLoggingService() { - + desiredLoggingService_ = getDefaultInstance().getDesiredLoggingService(); onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6667,16 +5760,16 @@ public Builder clearDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; - * * @param value The bytes for desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingServiceBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredLoggingServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredLoggingService_ = value; onChanged(); return this; @@ -6684,62 +5777,41 @@ public Builder setDesiredLoggingServiceBytes(com.google.protobuf.ByteString valu private com.google.container.v1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, - com.google.container.v1.ResourceUsageExportConfig.Builder, - com.google.container.v1.ResourceUsageExportConfigOrBuilder> - desiredResourceUsageExportConfigBuilder_; + com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> desiredResourceUsageExportConfigBuilder_; /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return Whether the desiredResourceUsageExportConfig field is set. */ public boolean hasDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfigBuilder_ != null - || desiredResourceUsageExportConfig_ != null; + return desiredResourceUsageExportConfigBuilder_ != null || desiredResourceUsageExportConfig_ != null; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return The desiredResourceUsageExportConfig. */ public com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { - return desiredResourceUsageExportConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() - : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; } else { return desiredResourceUsageExportConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public Builder setDesiredResourceUsageExportConfig( - com.google.container.v1.ResourceUsageExportConfig value) { + public Builder setDesiredResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6753,15 +5825,11 @@ public Builder setDesiredResourceUsageExportConfig( return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ public Builder setDesiredResourceUsageExportConfig( com.google.container.v1.ResourceUsageExportConfig.Builder builderForValue) { @@ -6775,25 +5843,17 @@ public Builder setDesiredResourceUsageExportConfig( return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public Builder mergeDesiredResourceUsageExportConfig( - com.google.container.v1.ResourceUsageExportConfig value) { + public Builder mergeDesiredResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (desiredResourceUsageExportConfig_ != null) { desiredResourceUsageExportConfig_ = - com.google.container.v1.ResourceUsageExportConfig.newBuilder( - desiredResourceUsageExportConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.newBuilder(desiredResourceUsageExportConfig_).mergeFrom(value).buildPartial(); } else { desiredResourceUsageExportConfig_ = value; } @@ -6805,15 +5865,11 @@ public Builder mergeDesiredResourceUsageExportConfig( return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ public Builder clearDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { @@ -6827,66 +5883,48 @@ public Builder clearDesiredResourceUsageExportConfig() { return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public com.google.container.v1.ResourceUsageExportConfig.Builder - getDesiredResourceUsageExportConfigBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.Builder getDesiredResourceUsageExportConfigBuilder() { + onChanged(); return getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public com.google.container.v1.ResourceUsageExportConfigOrBuilder - getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { if (desiredResourceUsageExportConfigBuilder_ != null) { return desiredResourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return desiredResourceUsageExportConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() - : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null ? + com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; } } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, - com.google.container.v1.ResourceUsageExportConfig.Builder, - com.google.container.v1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> getDesiredResourceUsageExportConfigFieldBuilder() { if (desiredResourceUsageExportConfigBuilder_ == null) { - desiredResourceUsageExportConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, - com.google.container.v1.ResourceUsageExportConfig.Builder, - com.google.container.v1.ResourceUsageExportConfigOrBuilder>( - getDesiredResourceUsageExportConfig(), getParentForChildren(), isClean()); + desiredResourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder>( + getDesiredResourceUsageExportConfig(), + getParentForChildren(), + isClean()); desiredResourceUsageExportConfig_ = null; } return desiredResourceUsageExportConfigBuilder_; @@ -6894,59 +5932,41 @@ public Builder clearDesiredResourceUsageExportConfig() { private com.google.container.v1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, - com.google.container.v1.VerticalPodAutoscaling.Builder, - com.google.container.v1.VerticalPodAutoscalingOrBuilder> - desiredVerticalPodAutoscalingBuilder_; + com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> desiredVerticalPodAutoscalingBuilder_; /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return Whether the desiredVerticalPodAutoscaling field is set. */ public boolean hasDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscalingBuilder_ != null - || desiredVerticalPodAutoscaling_ != null; + return desiredVerticalPodAutoscalingBuilder_ != null || desiredVerticalPodAutoscaling_ != null; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return The desiredVerticalPodAutoscaling. */ public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - return desiredVerticalPodAutoscaling_ == null - ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() - : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; } else { return desiredVerticalPodAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public Builder setDesiredVerticalPodAutoscaling( - com.google.container.v1.VerticalPodAutoscaling value) { + public Builder setDesiredVerticalPodAutoscaling(com.google.container.v1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6960,14 +5980,11 @@ public Builder setDesiredVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ public Builder setDesiredVerticalPodAutoscaling( com.google.container.v1.VerticalPodAutoscaling.Builder builderForValue) { @@ -6981,24 +5998,17 @@ public Builder setDesiredVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public Builder mergeDesiredVerticalPodAutoscaling( - com.google.container.v1.VerticalPodAutoscaling value) { + public Builder mergeDesiredVerticalPodAutoscaling(com.google.container.v1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (desiredVerticalPodAutoscaling_ != null) { desiredVerticalPodAutoscaling_ = - com.google.container.v1.VerticalPodAutoscaling.newBuilder( - desiredVerticalPodAutoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.VerticalPodAutoscaling.newBuilder(desiredVerticalPodAutoscaling_).mergeFrom(value).buildPartial(); } else { desiredVerticalPodAutoscaling_ = value; } @@ -7010,14 +6020,11 @@ public Builder mergeDesiredVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ public Builder clearDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { @@ -7031,63 +6038,48 @@ public Builder clearDesiredVerticalPodAutoscaling() { return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public com.google.container.v1.VerticalPodAutoscaling.Builder - getDesiredVerticalPodAutoscalingBuilder() { - + public com.google.container.v1.VerticalPodAutoscaling.Builder getDesiredVerticalPodAutoscalingBuilder() { + onChanged(); return getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public com.google.container.v1.VerticalPodAutoscalingOrBuilder - getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { if (desiredVerticalPodAutoscalingBuilder_ != null) { return desiredVerticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredVerticalPodAutoscaling_ == null - ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() - : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null ? + com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, - com.google.container.v1.VerticalPodAutoscaling.Builder, - com.google.container.v1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> getDesiredVerticalPodAutoscalingFieldBuilder() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - desiredVerticalPodAutoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, - com.google.container.v1.VerticalPodAutoscaling.Builder, - com.google.container.v1.VerticalPodAutoscalingOrBuilder>( - getDesiredVerticalPodAutoscaling(), getParentForChildren(), isClean()); + desiredVerticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder>( + getDesiredVerticalPodAutoscaling(), + getParentForChildren(), + isClean()); desiredVerticalPodAutoscaling_ = null; } return desiredVerticalPodAutoscalingBuilder_; @@ -7095,55 +6087,41 @@ public Builder clearDesiredVerticalPodAutoscaling() { private com.google.container.v1.PrivateClusterConfig desiredPrivateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, - com.google.container.v1.PrivateClusterConfig.Builder, - com.google.container.v1.PrivateClusterConfigOrBuilder> - desiredPrivateClusterConfigBuilder_; + com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> desiredPrivateClusterConfigBuilder_; /** - * - * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; - * * @return Whether the desiredPrivateClusterConfig field is set. */ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfigBuilder_ != null || desiredPrivateClusterConfig_ != null; } /** - * - * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; - * * @return The desiredPrivateClusterConfig. */ public com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConfig() { if (desiredPrivateClusterConfigBuilder_ == null) { - return desiredPrivateClusterConfig_ == null - ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() - : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; } else { return desiredPrivateClusterConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public Builder setDesiredPrivateClusterConfig( - com.google.container.v1.PrivateClusterConfig value) { + public Builder setDesiredPrivateClusterConfig(com.google.container.v1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7157,8 +6135,6 @@ public Builder setDesiredPrivateClusterConfig( return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
@@ -7177,22 +6153,17 @@ public Builder setDesiredPrivateClusterConfig( return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public Builder mergeDesiredPrivateClusterConfig( - com.google.container.v1.PrivateClusterConfig value) { + public Builder mergeDesiredPrivateClusterConfig(com.google.container.v1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (desiredPrivateClusterConfig_ != null) { desiredPrivateClusterConfig_ = - com.google.container.v1.PrivateClusterConfig.newBuilder(desiredPrivateClusterConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.PrivateClusterConfig.newBuilder(desiredPrivateClusterConfig_).mergeFrom(value).buildPartial(); } else { desiredPrivateClusterConfig_ = value; } @@ -7204,8 +6175,6 @@ public Builder mergeDesiredPrivateClusterConfig( return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
@@ -7224,42 +6193,33 @@ public Builder clearDesiredPrivateClusterConfig() { return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public com.google.container.v1.PrivateClusterConfig.Builder - getDesiredPrivateClusterConfigBuilder() { - + public com.google.container.v1.PrivateClusterConfig.Builder getDesiredPrivateClusterConfigBuilder() { + onChanged(); return getDesiredPrivateClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public com.google.container.v1.PrivateClusterConfigOrBuilder - getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { if (desiredPrivateClusterConfigBuilder_ != null) { return desiredPrivateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return desiredPrivateClusterConfig_ == null - ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() - : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null ? + com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; } } /** - * - * *
      * The desired private cluster configuration.
      * 
@@ -7267,17 +6227,14 @@ public Builder clearDesiredPrivateClusterConfig() { * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, - com.google.container.v1.PrivateClusterConfig.Builder, - com.google.container.v1.PrivateClusterConfigOrBuilder> + com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> getDesiredPrivateClusterConfigFieldBuilder() { if (desiredPrivateClusterConfigBuilder_ == null) { - desiredPrivateClusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, - com.google.container.v1.PrivateClusterConfig.Builder, - com.google.container.v1.PrivateClusterConfigOrBuilder>( - getDesiredPrivateClusterConfig(), getParentForChildren(), isClean()); + desiredPrivateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder>( + getDesiredPrivateClusterConfig(), + getParentForChildren(), + isClean()); desiredPrivateClusterConfig_ = null; } return desiredPrivateClusterConfigBuilder_; @@ -7285,62 +6242,41 @@ public Builder clearDesiredPrivateClusterConfig() { private com.google.container.v1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IntraNodeVisibilityConfig, - com.google.container.v1.IntraNodeVisibilityConfig.Builder, - com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> - desiredIntraNodeVisibilityConfigBuilder_; + com.google.container.v1.IntraNodeVisibilityConfig, com.google.container.v1.IntraNodeVisibilityConfig.Builder, com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> desiredIntraNodeVisibilityConfigBuilder_; /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ public boolean hasDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfigBuilder_ != null - || desiredIntraNodeVisibilityConfig_ != null; + return desiredIntraNodeVisibilityConfigBuilder_ != null || desiredIntraNodeVisibilityConfig_ != null; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return The desiredIntraNodeVisibilityConfig. */ public com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - return desiredIntraNodeVisibilityConfig_ == null - ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() - : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; } else { return desiredIntraNodeVisibilityConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public Builder setDesiredIntraNodeVisibilityConfig( - com.google.container.v1.IntraNodeVisibilityConfig value) { + public Builder setDesiredIntraNodeVisibilityConfig(com.google.container.v1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7354,15 +6290,11 @@ public Builder setDesiredIntraNodeVisibilityConfig( return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ public Builder setDesiredIntraNodeVisibilityConfig( com.google.container.v1.IntraNodeVisibilityConfig.Builder builderForValue) { @@ -7376,25 +6308,17 @@ public Builder setDesiredIntraNodeVisibilityConfig( return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public Builder mergeDesiredIntraNodeVisibilityConfig( - com.google.container.v1.IntraNodeVisibilityConfig value) { + public Builder mergeDesiredIntraNodeVisibilityConfig(com.google.container.v1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (desiredIntraNodeVisibilityConfig_ != null) { desiredIntraNodeVisibilityConfig_ = - com.google.container.v1.IntraNodeVisibilityConfig.newBuilder( - desiredIntraNodeVisibilityConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.IntraNodeVisibilityConfig.newBuilder(desiredIntraNodeVisibilityConfig_).mergeFrom(value).buildPartial(); } else { desiredIntraNodeVisibilityConfig_ = value; } @@ -7406,15 +6330,11 @@ public Builder mergeDesiredIntraNodeVisibilityConfig( return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ public Builder clearDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { @@ -7428,66 +6348,48 @@ public Builder clearDesiredIntraNodeVisibilityConfig() { return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public com.google.container.v1.IntraNodeVisibilityConfig.Builder - getDesiredIntraNodeVisibilityConfigBuilder() { - + public com.google.container.v1.IntraNodeVisibilityConfig.Builder getDesiredIntraNodeVisibilityConfigBuilder() { + onChanged(); return getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder - getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ != null) { return desiredIntraNodeVisibilityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIntraNodeVisibilityConfig_ == null - ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() - : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null ? + com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; } } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IntraNodeVisibilityConfig, - com.google.container.v1.IntraNodeVisibilityConfig.Builder, - com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> + com.google.container.v1.IntraNodeVisibilityConfig, com.google.container.v1.IntraNodeVisibilityConfig.Builder, com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> getDesiredIntraNodeVisibilityConfigFieldBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - desiredIntraNodeVisibilityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IntraNodeVisibilityConfig, - com.google.container.v1.IntraNodeVisibilityConfig.Builder, - com.google.container.v1.IntraNodeVisibilityConfigOrBuilder>( - getDesiredIntraNodeVisibilityConfig(), getParentForChildren(), isClean()); + desiredIntraNodeVisibilityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IntraNodeVisibilityConfig, com.google.container.v1.IntraNodeVisibilityConfig.Builder, com.google.container.v1.IntraNodeVisibilityConfigOrBuilder>( + getDesiredIntraNodeVisibilityConfig(), + getParentForChildren(), + isClean()); desiredIntraNodeVisibilityConfig_ = null; } return desiredIntraNodeVisibilityConfigBuilder_; @@ -7495,47 +6397,34 @@ public Builder clearDesiredIntraNodeVisibilityConfig() { private com.google.container.v1.DefaultSnatStatus desiredDefaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, - com.google.container.v1.DefaultSnatStatus.Builder, - com.google.container.v1.DefaultSnatStatusOrBuilder> - desiredDefaultSnatStatusBuilder_; + com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> desiredDefaultSnatStatusBuilder_; /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return Whether the desiredDefaultSnatStatus field is set. */ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatusBuilder_ != null || desiredDefaultSnatStatus_ != null; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return The desiredDefaultSnatStatus. */ public com.google.container.v1.DefaultSnatStatus getDesiredDefaultSnatStatus() { if (desiredDefaultSnatStatusBuilder_ == null) { - return desiredDefaultSnatStatus_ == null - ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() - : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; } else { return desiredDefaultSnatStatusBuilder_.getMessage(); } } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7556,8 +6445,6 @@ public Builder setDesiredDefaultSnatStatus(com.google.container.v1.DefaultSnatSt return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7576,8 +6463,6 @@ public Builder setDesiredDefaultSnatStatus( return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7588,9 +6473,7 @@ public Builder mergeDesiredDefaultSnatStatus(com.google.container.v1.DefaultSnat if (desiredDefaultSnatStatusBuilder_ == null) { if (desiredDefaultSnatStatus_ != null) { desiredDefaultSnatStatus_ = - com.google.container.v1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_).mergeFrom(value).buildPartial(); } else { desiredDefaultSnatStatus_ = value; } @@ -7602,8 +6485,6 @@ public Builder mergeDesiredDefaultSnatStatus(com.google.container.v1.DefaultSnat return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7622,8 +6503,6 @@ public Builder clearDesiredDefaultSnatStatus() { return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7631,32 +6510,26 @@ public Builder clearDesiredDefaultSnatStatus() { * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; */ public com.google.container.v1.DefaultSnatStatus.Builder getDesiredDefaultSnatStatusBuilder() { - + onChanged(); return getDesiredDefaultSnatStatusFieldBuilder().getBuilder(); } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; */ - public com.google.container.v1.DefaultSnatStatusOrBuilder - getDesiredDefaultSnatStatusOrBuilder() { + public com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder() { if (desiredDefaultSnatStatusBuilder_ != null) { return desiredDefaultSnatStatusBuilder_.getMessageOrBuilder(); } else { - return desiredDefaultSnatStatus_ == null - ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() - : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null ? + com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; } } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7664,17 +6537,14 @@ public com.google.container.v1.DefaultSnatStatus.Builder getDesiredDefaultSnatSt * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, - com.google.container.v1.DefaultSnatStatus.Builder, - com.google.container.v1.DefaultSnatStatusOrBuilder> + com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> getDesiredDefaultSnatStatusFieldBuilder() { if (desiredDefaultSnatStatusBuilder_ == null) { - desiredDefaultSnatStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, - com.google.container.v1.DefaultSnatStatus.Builder, - com.google.container.v1.DefaultSnatStatusOrBuilder>( - getDesiredDefaultSnatStatus(), getParentForChildren(), isClean()); + desiredDefaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder>( + getDesiredDefaultSnatStatus(), + getParentForChildren(), + isClean()); desiredDefaultSnatStatus_ = null; } return desiredDefaultSnatStatusBuilder_; @@ -7682,47 +6552,34 @@ public com.google.container.v1.DefaultSnatStatus.Builder getDesiredDefaultSnatSt private com.google.container.v1.ReleaseChannel desiredReleaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, - com.google.container.v1.ReleaseChannel.Builder, - com.google.container.v1.ReleaseChannelOrBuilder> - desiredReleaseChannelBuilder_; + com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> desiredReleaseChannelBuilder_; /** - * - * *
      * The desired release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; - * * @return Whether the desiredReleaseChannel field is set. */ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannelBuilder_ != null || desiredReleaseChannel_ != null; } /** - * - * *
      * The desired release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; - * * @return The desiredReleaseChannel. */ public com.google.container.v1.ReleaseChannel getDesiredReleaseChannel() { if (desiredReleaseChannelBuilder_ == null) { - return desiredReleaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : desiredReleaseChannel_; + return desiredReleaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; } else { return desiredReleaseChannelBuilder_.getMessage(); } } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7743,8 +6600,6 @@ public Builder setDesiredReleaseChannel(com.google.container.v1.ReleaseChannel v return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7763,8 +6618,6 @@ public Builder setDesiredReleaseChannel( return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7775,9 +6628,7 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1.ReleaseChannel if (desiredReleaseChannelBuilder_ == null) { if (desiredReleaseChannel_ != null) { desiredReleaseChannel_ = - com.google.container.v1.ReleaseChannel.newBuilder(desiredReleaseChannel_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ReleaseChannel.newBuilder(desiredReleaseChannel_).mergeFrom(value).buildPartial(); } else { desiredReleaseChannel_ = value; } @@ -7789,8 +6640,6 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1.ReleaseChannel return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7809,8 +6658,6 @@ public Builder clearDesiredReleaseChannel() { return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7818,13 +6665,11 @@ public Builder clearDesiredReleaseChannel() { * .google.container.v1.ReleaseChannel desired_release_channel = 31; */ public com.google.container.v1.ReleaseChannel.Builder getDesiredReleaseChannelBuilder() { - + onChanged(); return getDesiredReleaseChannelFieldBuilder().getBuilder(); } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7835,14 +6680,11 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO if (desiredReleaseChannelBuilder_ != null) { return desiredReleaseChannelBuilder_.getMessageOrBuilder(); } else { - return desiredReleaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : desiredReleaseChannel_; + return desiredReleaseChannel_ == null ? + com.google.container.v1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; } } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7850,17 +6692,14 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO * .google.container.v1.ReleaseChannel desired_release_channel = 31; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, - com.google.container.v1.ReleaseChannel.Builder, - com.google.container.v1.ReleaseChannelOrBuilder> + com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> getDesiredReleaseChannelFieldBuilder() { if (desiredReleaseChannelBuilder_ == null) { - desiredReleaseChannelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, - com.google.container.v1.ReleaseChannel.Builder, - com.google.container.v1.ReleaseChannelOrBuilder>( - getDesiredReleaseChannel(), getParentForChildren(), isClean()); + desiredReleaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder>( + getDesiredReleaseChannel(), + getParentForChildren(), + isClean()); desiredReleaseChannel_ = null; } return desiredReleaseChannelBuilder_; @@ -7868,55 +6707,41 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO private com.google.container.v1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ILBSubsettingConfig, - com.google.container.v1.ILBSubsettingConfig.Builder, - com.google.container.v1.ILBSubsettingConfigOrBuilder> - desiredL4IlbSubsettingConfigBuilder_; + com.google.container.v1.ILBSubsettingConfig, com.google.container.v1.ILBSubsettingConfig.Builder, com.google.container.v1.ILBSubsettingConfigOrBuilder> desiredL4IlbSubsettingConfigBuilder_; /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfigBuilder_ != null || desiredL4IlbSubsettingConfig_ != null; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * * @return The desiredL4ilbSubsettingConfig. */ public com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - return desiredL4IlbSubsettingConfig_ == null - ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() - : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; } else { return desiredL4IlbSubsettingConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public Builder setDesiredL4IlbSubsettingConfig( - com.google.container.v1.ILBSubsettingConfig value) { + public Builder setDesiredL4IlbSubsettingConfig(com.google.container.v1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7930,8 +6755,6 @@ public Builder setDesiredL4IlbSubsettingConfig( return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
@@ -7950,22 +6773,17 @@ public Builder setDesiredL4IlbSubsettingConfig( return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public Builder mergeDesiredL4IlbSubsettingConfig( - com.google.container.v1.ILBSubsettingConfig value) { + public Builder mergeDesiredL4IlbSubsettingConfig(com.google.container.v1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (desiredL4IlbSubsettingConfig_ != null) { desiredL4IlbSubsettingConfig_ = - com.google.container.v1.ILBSubsettingConfig.newBuilder(desiredL4IlbSubsettingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ILBSubsettingConfig.newBuilder(desiredL4IlbSubsettingConfig_).mergeFrom(value).buildPartial(); } else { desiredL4IlbSubsettingConfig_ = value; } @@ -7977,8 +6795,6 @@ public Builder mergeDesiredL4IlbSubsettingConfig( return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
@@ -7997,42 +6813,33 @@ public Builder clearDesiredL4IlbSubsettingConfig() { return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public com.google.container.v1.ILBSubsettingConfig.Builder - getDesiredL4IlbSubsettingConfigBuilder() { - + public com.google.container.v1.ILBSubsettingConfig.Builder getDesiredL4IlbSubsettingConfigBuilder() { + onChanged(); return getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public com.google.container.v1.ILBSubsettingConfigOrBuilder - getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ != null) { return desiredL4IlbSubsettingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredL4IlbSubsettingConfig_ == null - ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() - : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null ? + com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; } } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
@@ -8040,17 +6847,14 @@ public Builder clearDesiredL4IlbSubsettingConfig() { * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ILBSubsettingConfig, - com.google.container.v1.ILBSubsettingConfig.Builder, - com.google.container.v1.ILBSubsettingConfigOrBuilder> + com.google.container.v1.ILBSubsettingConfig, com.google.container.v1.ILBSubsettingConfig.Builder, com.google.container.v1.ILBSubsettingConfigOrBuilder> getDesiredL4IlbSubsettingConfigFieldBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - desiredL4IlbSubsettingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ILBSubsettingConfig, - com.google.container.v1.ILBSubsettingConfig.Builder, - com.google.container.v1.ILBSubsettingConfigOrBuilder>( - getDesiredL4IlbSubsettingConfig(), getParentForChildren(), isClean()); + desiredL4IlbSubsettingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ILBSubsettingConfig, com.google.container.v1.ILBSubsettingConfig.Builder, com.google.container.v1.ILBSubsettingConfigOrBuilder>( + getDesiredL4IlbSubsettingConfig(), + getParentForChildren(), + isClean()); desiredL4IlbSubsettingConfig_ = null; } return desiredL4IlbSubsettingConfigBuilder_; @@ -8058,65 +6862,51 @@ public Builder clearDesiredL4IlbSubsettingConfig() { private int desiredDatapathProvider_ = 0; /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override - public int getDesiredDatapathProviderValue() { + @java.lang.Override public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @param value The enum numeric value on the wire for desiredDatapathProvider to set. * @return This builder for chaining. */ public Builder setDesiredDatapathProviderValue(int value) { - + desiredDatapathProvider_ = value; onChanged(); return this; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @return The desiredDatapathProvider. */ @java.lang.Override public com.google.container.v1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = - com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @param value The desiredDatapathProvider to set. * @return This builder for chaining. */ @@ -8124,24 +6914,21 @@ public Builder setDesiredDatapathProvider(com.google.container.v1.DatapathProvid if (value == null) { throw new NullPointerException(); } - + desiredDatapathProvider_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @return This builder for chaining. */ public Builder clearDesiredDatapathProvider() { - + desiredDatapathProvider_ = 0; onChanged(); return this; @@ -8149,96 +6936,73 @@ public Builder clearDesiredDatapathProvider() { private int desiredPrivateIpv6GoogleAccess_ = 0; /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override - public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @param value The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setDesiredPrivateIpv6GoogleAccessValue(int value) { - + desiredPrivateIpv6GoogleAccess_ = value; onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The desiredPrivateIpv6GoogleAccess. */ @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = - com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @param value The desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setDesiredPrivateIpv6GoogleAccess( - com.google.container.v1.PrivateIPv6GoogleAccess value) { + public Builder setDesiredPrivateIpv6GoogleAccess(com.google.container.v1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + desiredPrivateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return This builder for chaining. */ public Builder clearDesiredPrivateIpv6GoogleAccess() { - + desiredPrivateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -8246,47 +7010,34 @@ public Builder clearDesiredPrivateIpv6GoogleAccess() { private com.google.container.v1.NotificationConfig desiredNotificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, - com.google.container.v1.NotificationConfig.Builder, - com.google.container.v1.NotificationConfigOrBuilder> - desiredNotificationConfigBuilder_; + com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> desiredNotificationConfigBuilder_; /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; - * * @return Whether the desiredNotificationConfig field is set. */ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfigBuilder_ != null || desiredNotificationConfig_ != null; } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; - * * @return The desiredNotificationConfig. */ public com.google.container.v1.NotificationConfig getDesiredNotificationConfig() { if (desiredNotificationConfigBuilder_ == null) { - return desiredNotificationConfig_ == null - ? com.google.container.v1.NotificationConfig.getDefaultInstance() - : desiredNotificationConfig_; + return desiredNotificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; } else { return desiredNotificationConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired notification configuration.
      * 
@@ -8306,9 +7057,7 @@ public Builder setDesiredNotificationConfig(com.google.container.v1.Notification return this; } - /** - * - * + /** *
      * The desired notification configuration.
      * 
@@ -8327,22 +7076,17 @@ public Builder setDesiredNotificationConfig( return this; } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; */ - public Builder mergeDesiredNotificationConfig( - com.google.container.v1.NotificationConfig value) { + public Builder mergeDesiredNotificationConfig(com.google.container.v1.NotificationConfig value) { if (desiredNotificationConfigBuilder_ == null) { if (desiredNotificationConfig_ != null) { desiredNotificationConfig_ = - com.google.container.v1.NotificationConfig.newBuilder(desiredNotificationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NotificationConfig.newBuilder(desiredNotificationConfig_).mergeFrom(value).buildPartial(); } else { desiredNotificationConfig_ = value; } @@ -8354,8 +7098,6 @@ public Builder mergeDesiredNotificationConfig( return this; } /** - * - * *
      * The desired notification configuration.
      * 
@@ -8374,42 +7116,33 @@ public Builder clearDesiredNotificationConfig() { return this; } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1.NotificationConfig.Builder - getDesiredNotificationConfigBuilder() { - + public com.google.container.v1.NotificationConfig.Builder getDesiredNotificationConfigBuilder() { + onChanged(); return getDesiredNotificationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1.NotificationConfigOrBuilder - getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { if (desiredNotificationConfigBuilder_ != null) { return desiredNotificationConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNotificationConfig_ == null - ? com.google.container.v1.NotificationConfig.getDefaultInstance() - : desiredNotificationConfig_; + return desiredNotificationConfig_ == null ? + com.google.container.v1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; } } /** - * - * *
      * The desired notification configuration.
      * 
@@ -8417,17 +7150,14 @@ public Builder clearDesiredNotificationConfig() { * .google.container.v1.NotificationConfig desired_notification_config = 55; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, - com.google.container.v1.NotificationConfig.Builder, - com.google.container.v1.NotificationConfigOrBuilder> + com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> getDesiredNotificationConfigFieldBuilder() { if (desiredNotificationConfigBuilder_ == null) { - desiredNotificationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, - com.google.container.v1.NotificationConfig.Builder, - com.google.container.v1.NotificationConfigOrBuilder>( - getDesiredNotificationConfig(), getParentForChildren(), isClean()); + desiredNotificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder>( + getDesiredNotificationConfig(), + getParentForChildren(), + isClean()); desiredNotificationConfig_ = null; } return desiredNotificationConfigBuilder_; @@ -8435,62 +7165,41 @@ public Builder clearDesiredNotificationConfig() { private com.google.container.v1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, - com.google.container.v1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> - desiredAuthenticatorGroupsConfigBuilder_; + com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> desiredAuthenticatorGroupsConfigBuilder_; /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ public boolean hasDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfigBuilder_ != null - || desiredAuthenticatorGroupsConfig_ != null; + return desiredAuthenticatorGroupsConfigBuilder_ != null || desiredAuthenticatorGroupsConfig_ != null; } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return The desiredAuthenticatorGroupsConfig. */ public com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - return desiredAuthenticatorGroupsConfig_ == null - ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() - : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; } else { return desiredAuthenticatorGroupsConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public Builder setDesiredAuthenticatorGroupsConfig( - com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder setDesiredAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8504,15 +7213,11 @@ public Builder setDesiredAuthenticatorGroupsConfig( return this; } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ public Builder setDesiredAuthenticatorGroupsConfig( com.google.container.v1.AuthenticatorGroupsConfig.Builder builderForValue) { @@ -8526,25 +7231,17 @@ public Builder setDesiredAuthenticatorGroupsConfig( return this; } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public Builder mergeDesiredAuthenticatorGroupsConfig( - com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder mergeDesiredAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (desiredAuthenticatorGroupsConfig_ != null) { desiredAuthenticatorGroupsConfig_ = - com.google.container.v1.AuthenticatorGroupsConfig.newBuilder( - desiredAuthenticatorGroupsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AuthenticatorGroupsConfig.newBuilder(desiredAuthenticatorGroupsConfig_).mergeFrom(value).buildPartial(); } else { desiredAuthenticatorGroupsConfig_ = value; } @@ -8556,15 +7253,11 @@ public Builder mergeDesiredAuthenticatorGroupsConfig( return this; } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ public Builder clearDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { @@ -8578,66 +7271,48 @@ public Builder clearDesiredAuthenticatorGroupsConfig() { return this; } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public com.google.container.v1.AuthenticatorGroupsConfig.Builder - getDesiredAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1.AuthenticatorGroupsConfig.Builder getDesiredAuthenticatorGroupsConfigBuilder() { + onChanged(); return getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder - getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ != null) { return desiredAuthenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAuthenticatorGroupsConfig_ == null - ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() - : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null ? + com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; } } /** - * - * *
      * The desired authenticator groups config for the cluster.
      * 
* - * - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, - com.google.container.v1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> getDesiredAuthenticatorGroupsConfigFieldBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - desiredAuthenticatorGroupsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, - com.google.container.v1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( - getDesiredAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); + desiredAuthenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( + getDesiredAuthenticatorGroupsConfig(), + getParentForChildren(), + isClean()); desiredAuthenticatorGroupsConfig_ = null; } return desiredAuthenticatorGroupsConfigBuilder_; @@ -8645,47 +7320,34 @@ public Builder clearDesiredAuthenticatorGroupsConfig() { private com.google.container.v1.LoggingConfig desiredLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, - com.google.container.v1.LoggingConfig.Builder, - com.google.container.v1.LoggingConfigOrBuilder> - desiredLoggingConfigBuilder_; + com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> desiredLoggingConfigBuilder_; /** - * - * *
      * The desired logging configuration.
      * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; - * * @return Whether the desiredLoggingConfig field is set. */ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfigBuilder_ != null || desiredLoggingConfig_ != null; } /** - * - * *
      * The desired logging configuration.
      * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; - * * @return The desiredLoggingConfig. */ public com.google.container.v1.LoggingConfig getDesiredLoggingConfig() { if (desiredLoggingConfigBuilder_ == null) { - return desiredLoggingConfig_ == null - ? com.google.container.v1.LoggingConfig.getDefaultInstance() - : desiredLoggingConfig_; + return desiredLoggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; } else { return desiredLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired logging configuration.
      * 
@@ -8706,8 +7368,6 @@ public Builder setDesiredLoggingConfig(com.google.container.v1.LoggingConfig val return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -8726,8 +7386,6 @@ public Builder setDesiredLoggingConfig( return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -8738,9 +7396,7 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1.LoggingConfig v if (desiredLoggingConfigBuilder_ == null) { if (desiredLoggingConfig_ != null) { desiredLoggingConfig_ = - com.google.container.v1.LoggingConfig.newBuilder(desiredLoggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.LoggingConfig.newBuilder(desiredLoggingConfig_).mergeFrom(value).buildPartial(); } else { desiredLoggingConfig_ = value; } @@ -8752,8 +7408,6 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1.LoggingConfig v return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -8772,8 +7426,6 @@ public Builder clearDesiredLoggingConfig() { return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -8781,13 +7433,11 @@ public Builder clearDesiredLoggingConfig() { * .google.container.v1.LoggingConfig desired_logging_config = 64; */ public com.google.container.v1.LoggingConfig.Builder getDesiredLoggingConfigBuilder() { - + onChanged(); return getDesiredLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired logging configuration.
      * 
@@ -8798,14 +7448,11 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB if (desiredLoggingConfigBuilder_ != null) { return desiredLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredLoggingConfig_ == null - ? com.google.container.v1.LoggingConfig.getDefaultInstance() - : desiredLoggingConfig_; + return desiredLoggingConfig_ == null ? + com.google.container.v1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; } } /** - * - * *
      * The desired logging configuration.
      * 
@@ -8813,17 +7460,14 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB * .google.container.v1.LoggingConfig desired_logging_config = 64; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, - com.google.container.v1.LoggingConfig.Builder, - com.google.container.v1.LoggingConfigOrBuilder> + com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> getDesiredLoggingConfigFieldBuilder() { if (desiredLoggingConfigBuilder_ == null) { - desiredLoggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, - com.google.container.v1.LoggingConfig.Builder, - com.google.container.v1.LoggingConfigOrBuilder>( - getDesiredLoggingConfig(), getParentForChildren(), isClean()); + desiredLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder>( + getDesiredLoggingConfig(), + getParentForChildren(), + isClean()); desiredLoggingConfig_ = null; } return desiredLoggingConfigBuilder_; @@ -8831,47 +7475,34 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB private com.google.container.v1.MonitoringConfig desiredMonitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, - com.google.container.v1.MonitoringConfig.Builder, - com.google.container.v1.MonitoringConfigOrBuilder> - desiredMonitoringConfigBuilder_; + com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> desiredMonitoringConfigBuilder_; /** - * - * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; - * * @return Whether the desiredMonitoringConfig field is set. */ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfigBuilder_ != null || desiredMonitoringConfig_ != null; } /** - * - * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; - * * @return The desiredMonitoringConfig. */ public com.google.container.v1.MonitoringConfig getDesiredMonitoringConfig() { if (desiredMonitoringConfigBuilder_ == null) { - return desiredMonitoringConfig_ == null - ? com.google.container.v1.MonitoringConfig.getDefaultInstance() - : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; } else { return desiredMonitoringConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -8892,8 +7523,6 @@ public Builder setDesiredMonitoringConfig(com.google.container.v1.MonitoringConf return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -8912,8 +7541,6 @@ public Builder setDesiredMonitoringConfig( return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -8924,9 +7551,7 @@ public Builder mergeDesiredMonitoringConfig(com.google.container.v1.MonitoringCo if (desiredMonitoringConfigBuilder_ == null) { if (desiredMonitoringConfig_ != null) { desiredMonitoringConfig_ = - com.google.container.v1.MonitoringConfig.newBuilder(desiredMonitoringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MonitoringConfig.newBuilder(desiredMonitoringConfig_).mergeFrom(value).buildPartial(); } else { desiredMonitoringConfig_ = value; } @@ -8938,8 +7563,6 @@ public Builder mergeDesiredMonitoringConfig(com.google.container.v1.MonitoringCo return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -8958,8 +7581,6 @@ public Builder clearDesiredMonitoringConfig() { return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -8967,13 +7588,11 @@ public Builder clearDesiredMonitoringConfig() { * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; */ public com.google.container.v1.MonitoringConfig.Builder getDesiredMonitoringConfigBuilder() { - + onChanged(); return getDesiredMonitoringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -8984,14 +7603,11 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon if (desiredMonitoringConfigBuilder_ != null) { return desiredMonitoringConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMonitoringConfig_ == null - ? com.google.container.v1.MonitoringConfig.getDefaultInstance() - : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null ? + com.google.container.v1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; } } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -8999,17 +7615,14 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, - com.google.container.v1.MonitoringConfig.Builder, - com.google.container.v1.MonitoringConfigOrBuilder> + com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> getDesiredMonitoringConfigFieldBuilder() { if (desiredMonitoringConfigBuilder_ == null) { - desiredMonitoringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, - com.google.container.v1.MonitoringConfig.Builder, - com.google.container.v1.MonitoringConfigOrBuilder>( - getDesiredMonitoringConfig(), getParentForChildren(), isClean()); + desiredMonitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder>( + getDesiredMonitoringConfig(), + getParentForChildren(), + isClean()); desiredMonitoringConfig_ = null; } return desiredMonitoringConfigBuilder_; @@ -9017,55 +7630,41 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon private com.google.container.v1.IdentityServiceConfig desiredIdentityServiceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, - com.google.container.v1.IdentityServiceConfig.Builder, - com.google.container.v1.IdentityServiceConfigOrBuilder> - desiredIdentityServiceConfigBuilder_; + com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> desiredIdentityServiceConfigBuilder_; /** - * - * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; - * * @return Whether the desiredIdentityServiceConfig field is set. */ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfigBuilder_ != null || desiredIdentityServiceConfig_ != null; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; - * * @return The desiredIdentityServiceConfig. */ public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig() { if (desiredIdentityServiceConfigBuilder_ == null) { - return desiredIdentityServiceConfig_ == null - ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() - : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; } else { return desiredIdentityServiceConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public Builder setDesiredIdentityServiceConfig( - com.google.container.v1.IdentityServiceConfig value) { + public Builder setDesiredIdentityServiceConfig(com.google.container.v1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9079,8 +7678,6 @@ public Builder setDesiredIdentityServiceConfig( return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
@@ -9099,23 +7696,17 @@ public Builder setDesiredIdentityServiceConfig( return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public Builder mergeDesiredIdentityServiceConfig( - com.google.container.v1.IdentityServiceConfig value) { + public Builder mergeDesiredIdentityServiceConfig(com.google.container.v1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (desiredIdentityServiceConfig_ != null) { desiredIdentityServiceConfig_ = - com.google.container.v1.IdentityServiceConfig.newBuilder( - desiredIdentityServiceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.IdentityServiceConfig.newBuilder(desiredIdentityServiceConfig_).mergeFrom(value).buildPartial(); } else { desiredIdentityServiceConfig_ = value; } @@ -9127,8 +7718,6 @@ public Builder mergeDesiredIdentityServiceConfig( return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
@@ -9147,42 +7736,33 @@ public Builder clearDesiredIdentityServiceConfig() { return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public com.google.container.v1.IdentityServiceConfig.Builder - getDesiredIdentityServiceConfigBuilder() { - + public com.google.container.v1.IdentityServiceConfig.Builder getDesiredIdentityServiceConfigBuilder() { + onChanged(); return getDesiredIdentityServiceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public com.google.container.v1.IdentityServiceConfigOrBuilder - getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { if (desiredIdentityServiceConfigBuilder_ != null) { return desiredIdentityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIdentityServiceConfig_ == null - ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() - : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null ? + com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; } } /** - * - * *
      * The desired Identity Service component configuration.
      * 
@@ -9190,17 +7770,14 @@ public Builder clearDesiredIdentityServiceConfig() { * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, - com.google.container.v1.IdentityServiceConfig.Builder, - com.google.container.v1.IdentityServiceConfigOrBuilder> + com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> getDesiredIdentityServiceConfigFieldBuilder() { if (desiredIdentityServiceConfigBuilder_ == null) { - desiredIdentityServiceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, - com.google.container.v1.IdentityServiceConfig.Builder, - com.google.container.v1.IdentityServiceConfigOrBuilder>( - getDesiredIdentityServiceConfig(), getParentForChildren(), isClean()); + desiredIdentityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder>( + getDesiredIdentityServiceConfig(), + getParentForChildren(), + isClean()); desiredIdentityServiceConfig_ = null; } return desiredIdentityServiceConfigBuilder_; @@ -9208,62 +7785,44 @@ public Builder clearDesiredIdentityServiceConfig() { private com.google.container.v1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, - com.google.container.v1.ServiceExternalIPsConfig.Builder, - com.google.container.v1.ServiceExternalIPsConfigOrBuilder> - desiredServiceExternalIpsConfigBuilder_; + com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> desiredServiceExternalIpsConfigBuilder_; /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return Whether the desiredServiceExternalIpsConfig field is set. */ public boolean hasDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfigBuilder_ != null - || desiredServiceExternalIpsConfig_ != null; + return desiredServiceExternalIpsConfigBuilder_ != null || desiredServiceExternalIpsConfig_ != null; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return The desiredServiceExternalIpsConfig. */ public com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - return desiredServiceExternalIpsConfig_ == null - ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() - : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; } else { return desiredServiceExternalIpsConfigBuilder_.getMessage(); } } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public Builder setDesiredServiceExternalIpsConfig( - com.google.container.v1.ServiceExternalIPsConfig value) { + public Builder setDesiredServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9277,15 +7836,12 @@ public Builder setDesiredServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ public Builder setDesiredServiceExternalIpsConfig( com.google.container.v1.ServiceExternalIPsConfig.Builder builderForValue) { @@ -9299,25 +7855,18 @@ public Builder setDesiredServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public Builder mergeDesiredServiceExternalIpsConfig( - com.google.container.v1.ServiceExternalIPsConfig value) { + public Builder mergeDesiredServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (desiredServiceExternalIpsConfig_ != null) { desiredServiceExternalIpsConfig_ = - com.google.container.v1.ServiceExternalIPsConfig.newBuilder( - desiredServiceExternalIpsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ServiceExternalIPsConfig.newBuilder(desiredServiceExternalIpsConfig_).mergeFrom(value).buildPartial(); } else { desiredServiceExternalIpsConfig_ = value; } @@ -9329,15 +7878,12 @@ public Builder mergeDesiredServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ public Builder clearDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { @@ -9351,81 +7897,63 @@ public Builder clearDesiredServiceExternalIpsConfig() { return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public com.google.container.v1.ServiceExternalIPsConfig.Builder - getDesiredServiceExternalIpsConfigBuilder() { - + public com.google.container.v1.ServiceExternalIPsConfig.Builder getDesiredServiceExternalIpsConfigBuilder() { + onChanged(); return getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public com.google.container.v1.ServiceExternalIPsConfigOrBuilder - getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { if (desiredServiceExternalIpsConfigBuilder_ != null) { return desiredServiceExternalIpsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredServiceExternalIpsConfig_ == null - ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() - : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null ? + com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; } } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, - com.google.container.v1.ServiceExternalIPsConfig.Builder, - com.google.container.v1.ServiceExternalIPsConfigOrBuilder> + com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> getDesiredServiceExternalIpsConfigFieldBuilder() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - desiredServiceExternalIpsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, - com.google.container.v1.ServiceExternalIPsConfig.Builder, - com.google.container.v1.ServiceExternalIPsConfigOrBuilder>( - getDesiredServiceExternalIpsConfig(), getParentForChildren(), isClean()); + desiredServiceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder>( + getDesiredServiceExternalIpsConfig(), + getParentForChildren(), + isClean()); desiredServiceExternalIpsConfig_ = null; } return desiredServiceExternalIpsConfigBuilder_; } - private boolean desiredEnablePrivateEndpoint_; + private boolean desiredEnablePrivateEndpoint_ ; /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -9433,14 +7961,11 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -9448,14 +7973,11 @@ public boolean getDesiredEnablePrivateEndpoint() { return desiredEnablePrivateEndpoint_; } /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @param value The desiredEnablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -9466,14 +7988,11 @@ public Builder setDesiredEnablePrivateEndpoint(boolean value) { return this; } /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return This builder for chaining. */ public Builder clearDesiredEnablePrivateEndpoint() { @@ -9485,8 +8004,6 @@ public Builder clearDesiredEnablePrivateEndpoint() { private java.lang.Object desiredMasterVersion_ = ""; /** - * - * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -9499,13 +8016,13 @@ public Builder clearDesiredEnablePrivateEndpoint() {
      * 
* * string desired_master_version = 100; - * * @return The desiredMasterVersion. */ public java.lang.String getDesiredMasterVersion() { java.lang.Object ref = desiredMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; @@ -9514,8 +8031,6 @@ public java.lang.String getDesiredMasterVersion() { } } /** - * - * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -9528,14 +8043,15 @@ public java.lang.String getDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; - * * @return The bytes for desiredMasterVersion. */ - public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString + getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -9543,8 +8059,6 @@ public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { } } /** - * - * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -9557,22 +8071,20 @@ public com.google.protobuf.ByteString getDesiredMasterVersionBytes() {
      * 
* * string desired_master_version = 100; - * * @param value The desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersion(java.lang.String value) { + public Builder setDesiredMasterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMasterVersion_ = value; onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -9585,18 +8097,15 @@ public Builder setDesiredMasterVersion(java.lang.String value) {
      * 
* * string desired_master_version = 100; - * * @return This builder for chaining. */ public Builder clearDesiredMasterVersion() { - + desiredMasterVersion_ = getDefaultInstance().getDesiredMasterVersion(); onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -9609,16 +8118,16 @@ public Builder clearDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; - * * @param value The bytes for desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredMasterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMasterVersion_ = value; onChanged(); return this; @@ -9626,47 +8135,34 @@ public Builder setDesiredMasterVersionBytes(com.google.protobuf.ByteString value private com.google.container.v1.GcfsConfig desiredGcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> - desiredGcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> desiredGcfsConfigBuilder_; /** - * - * *
      * The desired GCFS config for the cluster
      * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; - * * @return Whether the desiredGcfsConfig field is set. */ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfigBuilder_ != null || desiredGcfsConfig_ != null; } /** - * - * *
      * The desired GCFS config for the cluster
      * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; - * * @return The desiredGcfsConfig. */ public com.google.container.v1.GcfsConfig getDesiredGcfsConfig() { if (desiredGcfsConfigBuilder_ == null) { - return desiredGcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : desiredGcfsConfig_; + return desiredGcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; } else { return desiredGcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired GCFS config for the cluster
      * 
@@ -9687,8 +8183,6 @@ public Builder setDesiredGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** - * - * *
      * The desired GCFS config for the cluster
      * 
@@ -9707,8 +8201,6 @@ public Builder setDesiredGcfsConfig( return this; } /** - * - * *
      * The desired GCFS config for the cluster
      * 
@@ -9719,9 +8211,7 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1.GcfsConfig value) if (desiredGcfsConfigBuilder_ == null) { if (desiredGcfsConfig_ != null) { desiredGcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(desiredGcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(desiredGcfsConfig_).mergeFrom(value).buildPartial(); } else { desiredGcfsConfig_ = value; } @@ -9733,8 +8223,6 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1.GcfsConfig value) return this; } /** - * - * *
      * The desired GCFS config for the cluster
      * 
@@ -9753,8 +8241,6 @@ public Builder clearDesiredGcfsConfig() { return this; } /** - * - * *
      * The desired GCFS config for the cluster
      * 
@@ -9762,13 +8248,11 @@ public Builder clearDesiredGcfsConfig() { * .google.container.v1.GcfsConfig desired_gcfs_config = 109; */ public com.google.container.v1.GcfsConfig.Builder getDesiredGcfsConfigBuilder() { - + onChanged(); return getDesiredGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired GCFS config for the cluster
      * 
@@ -9779,14 +8263,11 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder if (desiredGcfsConfigBuilder_ != null) { return desiredGcfsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : desiredGcfsConfig_; + return desiredGcfsConfig_ == null ? + com.google.container.v1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; } } /** - * - * *
      * The desired GCFS config for the cluster
      * 
@@ -9794,17 +8275,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder * .google.container.v1.GcfsConfig desired_gcfs_config = 109; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> getDesiredGcfsConfigFieldBuilder() { if (desiredGcfsConfigBuilder_ == null) { - desiredGcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder>( - getDesiredGcfsConfig(), getParentForChildren(), isClean()); + desiredGcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( + getDesiredGcfsConfig(), + getParentForChildren(), + isClean()); desiredGcfsConfig_ = null; } return desiredGcfsConfigBuilder_; @@ -9812,62 +8290,44 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder private com.google.container.v1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, - com.google.container.v1.NetworkTags.Builder, - com.google.container.v1.NetworkTagsOrBuilder> - desiredNodePoolAutoConfigNetworkTagsBuilder_; + com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> desiredNodePoolAutoConfigNetworkTagsBuilder_; /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null - || desiredNodePoolAutoConfigNetworkTags_ != null; + return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null || desiredNodePoolAutoConfigNetworkTags_ != null; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return The desiredNodePoolAutoConfigNetworkTags. */ public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - return desiredNodePoolAutoConfigNetworkTags_ == null - ? com.google.container.v1.NetworkTags.getDefaultInstance() - : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; } else { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessage(); } } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public Builder setDesiredNodePoolAutoConfigNetworkTags( - com.google.container.v1.NetworkTags value) { + public Builder setDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9881,15 +8341,12 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags( return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ public Builder setDesiredNodePoolAutoConfigNetworkTags( com.google.container.v1.NetworkTags.Builder builderForValue) { @@ -9903,24 +8360,18 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags( return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public Builder mergeDesiredNodePoolAutoConfigNetworkTags( - com.google.container.v1.NetworkTags value) { + public Builder mergeDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (desiredNodePoolAutoConfigNetworkTags_ != null) { desiredNodePoolAutoConfigNetworkTags_ = - com.google.container.v1.NetworkTags.newBuilder(desiredNodePoolAutoConfigNetworkTags_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NetworkTags.newBuilder(desiredNodePoolAutoConfigNetworkTags_).mergeFrom(value).buildPartial(); } else { desiredNodePoolAutoConfigNetworkTags_ = value; } @@ -9932,15 +8383,12 @@ public Builder mergeDesiredNodePoolAutoConfigNetworkTags( return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { @@ -9954,66 +8402,51 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public com.google.container.v1.NetworkTags.Builder - getDesiredNodePoolAutoConfigNetworkTagsBuilder() { - + public com.google.container.v1.NetworkTags.Builder getDesiredNodePoolAutoConfigNetworkTagsBuilder() { + onChanged(); return getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(); } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public com.google.container.v1.NetworkTagsOrBuilder - getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + public com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ != null) { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolAutoConfigNetworkTags_ == null - ? com.google.container.v1.NetworkTags.getDefaultInstance() - : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null ? + com.google.container.v1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; } } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, - com.google.container.v1.NetworkTags.Builder, - com.google.container.v1.NetworkTagsOrBuilder> + com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - desiredNodePoolAutoConfigNetworkTagsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, - com.google.container.v1.NetworkTags.Builder, - com.google.container.v1.NetworkTagsOrBuilder>( - getDesiredNodePoolAutoConfigNetworkTags(), getParentForChildren(), isClean()); + desiredNodePoolAutoConfigNetworkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder>( + getDesiredNodePoolAutoConfigNetworkTags(), + getParentForChildren(), + isClean()); desiredNodePoolAutoConfigNetworkTags_ = null; } return desiredNodePoolAutoConfigNetworkTagsBuilder_; @@ -10021,47 +8454,34 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { private com.google.container.v1.GatewayAPIConfig desiredGatewayApiConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GatewayAPIConfig, - com.google.container.v1.GatewayAPIConfig.Builder, - com.google.container.v1.GatewayAPIConfigOrBuilder> - desiredGatewayApiConfigBuilder_; + com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> desiredGatewayApiConfigBuilder_; /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return Whether the desiredGatewayApiConfig field is set. */ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfigBuilder_ != null || desiredGatewayApiConfig_ != null; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return The desiredGatewayApiConfig. */ public com.google.container.v1.GatewayAPIConfig getDesiredGatewayApiConfig() { if (desiredGatewayApiConfigBuilder_ == null) { - return desiredGatewayApiConfig_ == null - ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() - : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; } else { return desiredGatewayApiConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10082,8 +8502,6 @@ public Builder setDesiredGatewayApiConfig(com.google.container.v1.GatewayAPIConf return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10102,8 +8520,6 @@ public Builder setDesiredGatewayApiConfig( return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10114,9 +8530,7 @@ public Builder mergeDesiredGatewayApiConfig(com.google.container.v1.GatewayAPICo if (desiredGatewayApiConfigBuilder_ == null) { if (desiredGatewayApiConfig_ != null) { desiredGatewayApiConfig_ = - com.google.container.v1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_).mergeFrom(value).buildPartial(); } else { desiredGatewayApiConfig_ = value; } @@ -10128,8 +8542,6 @@ public Builder mergeDesiredGatewayApiConfig(com.google.container.v1.GatewayAPICo return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10148,8 +8560,6 @@ public Builder clearDesiredGatewayApiConfig() { return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10157,13 +8567,11 @@ public Builder clearDesiredGatewayApiConfig() { * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; */ public com.google.container.v1.GatewayAPIConfig.Builder getDesiredGatewayApiConfigBuilder() { - + onChanged(); return getDesiredGatewayApiConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10174,14 +8582,11 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon if (desiredGatewayApiConfigBuilder_ != null) { return desiredGatewayApiConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGatewayApiConfig_ == null - ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() - : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null ? + com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; } } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10189,17 +8594,14 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GatewayAPIConfig, - com.google.container.v1.GatewayAPIConfig.Builder, - com.google.container.v1.GatewayAPIConfigOrBuilder> + com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> getDesiredGatewayApiConfigFieldBuilder() { if (desiredGatewayApiConfigBuilder_ == null) { - desiredGatewayApiConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GatewayAPIConfig, - com.google.container.v1.GatewayAPIConfig.Builder, - com.google.container.v1.GatewayAPIConfigOrBuilder>( - getDesiredGatewayApiConfig(), getParentForChildren(), isClean()); + desiredGatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder>( + getDesiredGatewayApiConfig(), + getParentForChildren(), + isClean()); desiredGatewayApiConfig_ = null; } return desiredGatewayApiConfigBuilder_; @@ -10207,58 +8609,41 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon private com.google.container.v1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder> - desiredNodePoolLoggingConfigBuilder_; + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> desiredNodePoolLoggingConfigBuilder_; /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return Whether the desiredNodePoolLoggingConfig field is set. */ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfigBuilder_ != null || desiredNodePoolLoggingConfig_ != null; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return The desiredNodePoolLoggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - return desiredNodePoolLoggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; } else { return desiredNodePoolLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public Builder setDesiredNodePoolLoggingConfig( - com.google.container.v1.NodePoolLoggingConfig value) { + public Builder setDesiredNodePoolLoggingConfig(com.google.container.v1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10272,14 +8657,11 @@ public Builder setDesiredNodePoolLoggingConfig( return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ public Builder setDesiredNodePoolLoggingConfig( com.google.container.v1.NodePoolLoggingConfig.Builder builderForValue) { @@ -10293,24 +8675,17 @@ public Builder setDesiredNodePoolLoggingConfig( return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public Builder mergeDesiredNodePoolLoggingConfig( - com.google.container.v1.NodePoolLoggingConfig value) { + public Builder mergeDesiredNodePoolLoggingConfig(com.google.container.v1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (desiredNodePoolLoggingConfig_ != null) { desiredNodePoolLoggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder( - desiredNodePoolLoggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder(desiredNodePoolLoggingConfig_).mergeFrom(value).buildPartial(); } else { desiredNodePoolLoggingConfig_ = value; } @@ -10322,14 +8697,11 @@ public Builder mergeDesiredNodePoolLoggingConfig( return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ public Builder clearDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { @@ -10343,70 +8715,55 @@ public Builder clearDesiredNodePoolLoggingConfig() { return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public com.google.container.v1.NodePoolLoggingConfig.Builder - getDesiredNodePoolLoggingConfigBuilder() { - + public com.google.container.v1.NodePoolLoggingConfig.Builder getDesiredNodePoolLoggingConfigBuilder() { + onChanged(); return getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public com.google.container.v1.NodePoolLoggingConfigOrBuilder - getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { if (desiredNodePoolLoggingConfigBuilder_ != null) { return desiredNodePoolLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolLoggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null ? + com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; } } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> getDesiredNodePoolLoggingConfigFieldBuilder() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - desiredNodePoolLoggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getDesiredNodePoolLoggingConfig(), getParentForChildren(), isClean()); + desiredNodePoolLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getDesiredNodePoolLoggingConfig(), + getParentForChildren(), + isClean()); desiredNodePoolLoggingConfig_ = null; } return desiredNodePoolLoggingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10416,12 +8773,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ClusterUpdate) } // @@protoc_insertion_point(class_scope:google.container.v1.ClusterUpdate) private static final com.google.container.v1.ClusterUpdate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ClusterUpdate(); } @@ -10430,27 +8787,27 @@ public static com.google.container.v1.ClusterUpdate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterUpdate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterUpdate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10465,4 +8822,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ClusterUpdate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java similarity index 89% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java index 0c5da93948d9..63645a781307 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ClusterUpdateOrBuilder - extends +public interface ClusterUpdateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ClusterUpdate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -39,13 +21,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_version = 4; - * * @return The desiredNodeVersion. */ java.lang.String getDesiredNodeVersion(); /** - * - * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -59,14 +38,12 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_version = 4; - * * @return The bytes for desiredNodeVersion. */ - com.google.protobuf.ByteString getDesiredNodeVersionBytes(); + com.google.protobuf.ByteString + getDesiredNodeVersionBytes(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -80,13 +57,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_monitoring_service = 5; - * * @return The desiredMonitoringService. */ java.lang.String getDesiredMonitoringService(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -100,38 +74,30 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_monitoring_service = 5; - * * @return The bytes for desiredMonitoringService. */ - com.google.protobuf.ByteString getDesiredMonitoringServiceBytes(); + com.google.protobuf.ByteString + getDesiredMonitoringServiceBytes(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; - * * @return Whether the desiredAddonsConfig field is set. */ boolean hasDesiredAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; - * * @return The desiredAddonsConfig. */ com.google.container.v1.AddonsConfig getDesiredAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -141,8 +107,6 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder(); /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -151,13 +115,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_pool_id = 7; - * * @return The desiredNodePoolId. */ java.lang.String getDesiredNodePoolId(); /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -166,65 +127,52 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_pool_id = 7; - * * @return The bytes for desiredNodePoolId. */ - com.google.protobuf.ByteString getDesiredNodePoolIdBytes(); + com.google.protobuf.ByteString + getDesiredNodePoolIdBytes(); /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The desiredImageType. */ java.lang.String getDesiredImageType(); /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The bytes for desiredImageType. */ - com.google.protobuf.ByteString getDesiredImageTypeBytes(); + com.google.protobuf.ByteString + getDesiredImageTypeBytes(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; - * * @return Whether the desiredDatabaseEncryption field is set. */ boolean hasDesiredDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; - * * @return The desiredDatabaseEncryption. */ com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -234,70 +182,53 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder(); /** - * - * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * * @return Whether the desiredWorkloadIdentityConfig field is set. */ boolean hasDesiredWorkloadIdentityConfig(); /** - * - * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * * @return The desiredWorkloadIdentityConfig. */ com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig(); /** - * - * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - com.google.container.v1.WorkloadIdentityConfigOrBuilder - getDesiredWorkloadIdentityConfigOrBuilder(); + com.google.container.v1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; - * * @return Whether the desiredMeshCertificates field is set. */ boolean hasDesiredMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; - * * @return The desiredMeshCertificates. */ com.google.container.v1.MeshCertificates getDesiredMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -308,32 +239,24 @@ public interface ClusterUpdateOrBuilder
   com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; - * * @return Whether the desiredShieldedNodes field is set. */ boolean hasDesiredShieldedNodes(); /** - * - * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; - * * @return The desiredShieldedNodes. */ com.google.container.v1.ShieldedNodes getDesiredShieldedNodes(); /** - * - * *
    * Configuration for Shielded Nodes.
    * 
@@ -343,32 +266,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder(); /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; - * * @return Whether the desiredCostManagementConfig field is set. */ boolean hasDesiredCostManagementConfig(); /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; - * * @return The desiredCostManagementConfig. */ com.google.container.v1.CostManagementConfig getDesiredCostManagementConfig(); /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
@@ -378,32 +293,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; - * * @return Whether the desiredDnsConfig field is set. */ boolean hasDesiredDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; - * * @return The desiredDnsConfig. */ com.google.container.v1.DNSConfig getDesiredDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -413,8 +320,6 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder(); /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -423,13 +328,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return Whether the desiredNodePoolAutoscaling field is set. */ boolean hasDesiredNodePoolAutoscaling(); /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -438,13 +340,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return The desiredNodePoolAutoscaling. */ com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling(); /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -457,8 +356,6 @@ public interface ClusterUpdateOrBuilder
   com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -469,13 +366,11 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @return A list containing the desiredLocations. */ - java.util.List getDesiredLocationsList(); + java.util.List + getDesiredLocationsList(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -486,13 +381,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @return The count of desiredLocations. */ int getDesiredLocationsCount(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -503,14 +395,11 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ java.lang.String getDesiredLocations(int index); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -521,81 +410,58 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - com.google.protobuf.ByteString getDesiredLocationsBytes(int index); + com.google.protobuf.ByteString + getDesiredLocationsBytes(int index); /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ boolean hasDesiredMasterAuthorizedNetworksConfig(); /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return The desiredMasterAuthorizedNetworksConfig. */ com.google.container.v1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig(); /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder - getDesiredMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return Whether the desiredClusterAutoscaling field is set. */ boolean hasDesiredClusterAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return The desiredClusterAutoscaling. */ com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -605,32 +471,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder(); /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; - * * @return Whether the desiredBinaryAuthorization field is set. */ boolean hasDesiredBinaryAuthorization(); /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; - * * @return The desiredBinaryAuthorization. */ com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization(); /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
@@ -640,8 +498,6 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder(); /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -655,13 +511,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_logging_service = 19; - * * @return The desiredLoggingService. */ java.lang.String getDesiredLoggingService(); /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -675,113 +528,84 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_logging_service = 19; - * * @return The bytes for desiredLoggingService. */ - com.google.protobuf.ByteString getDesiredLoggingServiceBytes(); + com.google.protobuf.ByteString + getDesiredLoggingServiceBytes(); /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return Whether the desiredResourceUsageExportConfig field is set. */ boolean hasDesiredResourceUsageExportConfig(); /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return The desiredResourceUsageExportConfig. */ com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig(); /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - com.google.container.v1.ResourceUsageExportConfigOrBuilder - getDesiredResourceUsageExportConfigOrBuilder(); + com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * * @return Whether the desiredVerticalPodAutoscaling field is set. */ boolean hasDesiredVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * * @return The desiredVerticalPodAutoscaling. */ com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - com.google.container.v1.VerticalPodAutoscalingOrBuilder - getDesiredVerticalPodAutoscalingOrBuilder(); + com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder(); /** - * - * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; - * * @return Whether the desiredPrivateClusterConfig field is set. */ boolean hasDesiredPrivateClusterConfig(); /** - * - * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; - * * @return The desiredPrivateClusterConfig. */ com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConfig(); /** - * - * *
    * The desired private cluster configuration.
    * 
@@ -791,71 +615,51 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder(); /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ boolean hasDesiredIntraNodeVisibilityConfig(); /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return The desiredIntraNodeVisibilityConfig. */ com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig(); /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - com.google.container.v1.IntraNodeVisibilityConfigOrBuilder - getDesiredIntraNodeVisibilityConfigOrBuilder(); + com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder(); /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return Whether the desiredDefaultSnatStatus field is set. */ boolean hasDesiredDefaultSnatStatus(); /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return The desiredDefaultSnatStatus. */ com.google.container.v1.DefaultSnatStatus getDesiredDefaultSnatStatus(); /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -865,32 +669,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder(); /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; - * * @return Whether the desiredReleaseChannel field is set. */ boolean hasDesiredReleaseChannel(); /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; - * * @return The desiredReleaseChannel. */ com.google.container.v1.ReleaseChannel getDesiredReleaseChannel(); /** - * - * *
    * The desired release channel configuration.
    * 
@@ -900,32 +696,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder(); /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ boolean hasDesiredL4IlbSubsettingConfig(); /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * * @return The desiredL4ilbSubsettingConfig. */ com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig(); /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
@@ -935,84 +723,62 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder(); /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @return The enum numeric value on the wire for desiredDatapathProvider. */ int getDesiredDatapathProviderValue(); /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; - * * @return The desiredDatapathProvider. */ com.google.container.v1.DatapathProvider getDesiredDatapathProvider(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ int getDesiredPrivateIpv6GoogleAccessValue(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The desiredPrivateIpv6GoogleAccess. */ com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess(); /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; - * * @return Whether the desiredNotificationConfig field is set. */ boolean hasDesiredNotificationConfig(); /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; - * * @return The desiredNotificationConfig. */ com.google.container.v1.NotificationConfig getDesiredNotificationConfig(); /** - * - * *
    * The desired notification configuration.
    * 
@@ -1022,71 +788,51 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder(); /** - * - * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ boolean hasDesiredAuthenticatorGroupsConfig(); /** - * - * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return The desiredAuthenticatorGroupsConfig. */ com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig(); /** - * - * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder - getDesiredAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder(); /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; - * * @return Whether the desiredLoggingConfig field is set. */ boolean hasDesiredLoggingConfig(); /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; - * * @return The desiredLoggingConfig. */ com.google.container.v1.LoggingConfig getDesiredLoggingConfig(); /** - * - * *
    * The desired logging configuration.
    * 
@@ -1096,32 +842,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder(); /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; - * * @return Whether the desiredMonitoringConfig field is set. */ boolean hasDesiredMonitoringConfig(); /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; - * * @return The desiredMonitoringConfig. */ com.google.container.v1.MonitoringConfig getDesiredMonitoringConfig(); /** - * - * *
    * The desired monitoring configuration.
    * 
@@ -1131,32 +869,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder(); /** - * - * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; - * * @return Whether the desiredIdentityServiceConfig field is set. */ boolean hasDesiredIdentityServiceConfig(); /** - * - * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; - * * @return The desiredIdentityServiceConfig. */ com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig(); /** - * - * *
    * The desired Identity Service component configuration.
    * 
@@ -1166,75 +896,55 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder(); /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return Whether the desiredServiceExternalIpsConfig field is set. */ boolean hasDesiredServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return The desiredServiceExternalIpsConfig. */ com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - com.google.container.v1.ServiceExternalIPsConfigOrBuilder - getDesiredServiceExternalIpsConfigOrBuilder(); + com.google.container.v1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder(); /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return Whether the desiredEnablePrivateEndpoint field is set. */ boolean hasDesiredEnablePrivateEndpoint(); /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return The desiredEnablePrivateEndpoint. */ boolean getDesiredEnablePrivateEndpoint(); /** - * - * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -1247,13 +957,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_master_version = 100; - * * @return The desiredMasterVersion. */ java.lang.String getDesiredMasterVersion(); /** - * - * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -1266,38 +973,30 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_master_version = 100; - * * @return The bytes for desiredMasterVersion. */ - com.google.protobuf.ByteString getDesiredMasterVersionBytes(); + com.google.protobuf.ByteString + getDesiredMasterVersionBytes(); /** - * - * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; - * * @return Whether the desiredGcfsConfig field is set. */ boolean hasDesiredGcfsConfig(); /** - * - * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; - * * @return The desiredGcfsConfig. */ com.google.container.v1.GcfsConfig getDesiredGcfsConfig(); /** - * - * *
    * The desired GCFS config for the cluster
    * 
@@ -1307,34 +1006,26 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder(); /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ boolean hasDesiredNodePoolAutoConfigNetworkTags(); /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * * @return The desiredNodePoolAutoConfigNetworkTags. */ com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags(); /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -1345,32 +1036,24 @@ public interface ClusterUpdateOrBuilder
   com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return Whether the desiredGatewayApiConfig field is set. */ boolean hasDesiredGatewayApiConfig(); /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return The desiredGatewayApiConfig. */ com.google.container.v1.GatewayAPIConfig getDesiredGatewayApiConfig(); /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -1380,32 +1063,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder(); /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * * @return Whether the desiredNodePoolLoggingConfig field is set. */ boolean hasDesiredNodePoolLoggingConfig(); /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * * @return The desiredNodePoolLoggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig(); /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index 7859be76f38b..4787ca239cfc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
  * 
* * Protobuf type {@code google.container.v1.CompleteIPRotationRequest} */ -public final class CompleteIPRotationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteIPRotationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.CompleteIPRotationRequest) CompleteIPRotationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteIPRotationRequest.newBuilder() to construct. private CompleteIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteIPRotationRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private CompleteIPRotationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteIPRotationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CompleteIPRotationRequest.class, - com.google.container.v1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1.CompleteIPRotationRequest.class, com.google.container.v1.CompleteIPRotationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -267,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -299,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -353,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CompleteIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1.CompleteIPRotationRequest other = - (com.google.container.v1.CompleteIPRotationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.CompleteIPRotationRequest other = (com.google.container.v1.CompleteIPRotationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -390,135 +356,129 @@ public int hashCode() { } public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CompleteIPRotationRequest parseFrom( 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.CompleteIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.CompleteIPRotationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.CompleteIPRotationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.CompleteIPRotationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.CompleteIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CompleteIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.CompleteIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
    * 
* * Protobuf type {@code google.container.v1.CompleteIPRotationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.CompleteIPRotationRequest) com.google.container.v1.CompleteIPRotationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CompleteIPRotationRequest.class, - com.google.container.v1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1.CompleteIPRotationRequest.class, com.google.container.v1.CompleteIPRotationRequest.Builder.class); } // Construct using com.google.container.v1.CompleteIPRotationRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; } @java.lang.Override @@ -555,8 +515,7 @@ public com.google.container.v1.CompleteIPRotationRequest build() { @java.lang.Override public com.google.container.v1.CompleteIPRotationRequest buildPartial() { - com.google.container.v1.CompleteIPRotationRequest result = - new com.google.container.v1.CompleteIPRotationRequest(this); + com.google.container.v1.CompleteIPRotationRequest result = new com.google.container.v1.CompleteIPRotationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -569,39 +528,38 @@ public com.google.container.v1.CompleteIPRotationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CompleteIPRotationRequest) { - return mergeFrom((com.google.container.v1.CompleteIPRotationRequest) other); + return mergeFrom((com.google.container.v1.CompleteIPRotationRequest)other); } else { super.mergeFrom(other); return this; @@ -609,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.CompleteIPRotationRequest other) { - if (other == com.google.container.v1.CompleteIPRotationRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1.CompleteIPRotationRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -653,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 58: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 58: { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -696,8 +648,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -705,16 +655,15 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -723,8 +672,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -732,17 +679,17 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -750,8 +697,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -759,25 +704,22 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -785,21 +727,17 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -807,19 +745,18 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -827,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -837,16 +772,15 @@ 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=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -855,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -865,17 +797,17 @@ 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=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -883,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -893,25 +823,22 @@ 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=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -920,21 +847,17 @@ 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=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,19 +866,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -963,24 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -989,25 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1015,73 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1089,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1112,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1135,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1209,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.CompleteIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CompleteIPRotationRequest) private static final com.google.container.v1.CompleteIPRotationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.CompleteIPRotationRequest(); } @@ -1223,27 +1120,27 @@ public static com.google.container.v1.CompleteIPRotationRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1258,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.CompleteIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index f9a73ef32bba..353533a55d30 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CompleteIPRotationRequestOrBuilder - extends +public interface CompleteIPRotationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.CompleteIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3604 + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3604 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface CompleteIPRotationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,71 +58,58 @@ public interface CompleteIPRotationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3610 + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3610 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3614 + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3614 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java index b72144367862..2e7f70131ae4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
  * upgrade.
@@ -28,52 +11,47 @@
  *
  * Protobuf type {@code google.container.v1.CompleteNodePoolUpgradeRequest}
  */
-public final class CompleteNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CompleteNodePoolUpgradeRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.CompleteNodePoolUpgradeRequest)
     CompleteNodePoolUpgradeRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CompleteNodePoolUpgradeRequest.newBuilder() to construct.
-  private CompleteNodePoolUpgradeRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CompleteNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CompleteNodePoolUpgradeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CompleteNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.CompleteNodePoolUpgradeRequest.class,
-            com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -90,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -106,15 +82,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CompleteNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1.CompleteNodePoolUpgradeRequest other = - (com.google.container.v1.CompleteNodePoolUpgradeRequest) obj; + com.google.container.v1.CompleteNodePoolUpgradeRequest other = (com.google.container.v1.CompleteNodePoolUpgradeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,104 +164,96 @@ public int hashCode() { } public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( 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.CompleteNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.CompleteNodePoolUpgradeRequest prototype) { + public static Builder newBuilder(com.google.container.v1.CompleteNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
    * upgrade.
@@ -292,32 +261,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.CompleteNodePoolUpgradeRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.CompleteNodePoolUpgradeRequest)
       com.google.container.v1.CompleteNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.CompleteNodePoolUpgradeRequest.class,
-              com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.CompleteNodePoolUpgradeRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +297,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,8 +318,7 @@ public com.google.container.v1.CompleteNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.CompleteNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1.CompleteNodePoolUpgradeRequest result =
-          new com.google.container.v1.CompleteNodePoolUpgradeRequest(this);
+      com.google.container.v1.CompleteNodePoolUpgradeRequest result = new com.google.container.v1.CompleteNodePoolUpgradeRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -359,39 +328,38 @@ public com.google.container.v1.CompleteNodePoolUpgradeRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.CompleteNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1.CompleteNodePoolUpgradeRequest) other);
+        return mergeFrom((com.google.container.v1.CompleteNodePoolUpgradeRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.CompleteNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -431,19 +398,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -456,8 +421,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -465,13 +428,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -480,8 +443,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -489,14 +450,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -504,8 +466,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -513,22 +473,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -536,18 +494,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -555,23 +510,23 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -581,12 +536,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.CompleteNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CompleteNodePoolUpgradeRequest) private static final com.google.container.v1.CompleteNodePoolUpgradeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.CompleteNodePoolUpgradeRequest(); } @@ -595,27 +550,27 @@ public static com.google.container.v1.CompleteNodePoolUpgradeRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -630,4 +585,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java similarity index 55% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java index dd70b7346cd8..ff2c79c06a89 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CompleteNodePoolUpgradeRequestOrBuilder - extends +public interface CompleteNodePoolUpgradeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.CompleteNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -33,13 +15,10 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -47,8 +26,8 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java index 6b5eb134720b..a159101d9324 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ConfidentialNodes is configuration for the confidential nodes feature, which
  * makes nodes run on confidential VMs.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1.ConfidentialNodes}
  */
-public final class ConfidentialNodes extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ConfidentialNodes extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ConfidentialNodes)
     ConfidentialNodesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ConfidentialNodes.newBuilder() to construct.
   private ConfidentialNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ConfidentialNodes() {}
+  private ConfidentialNodes() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ConfidentialNodes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ConfidentialNodes_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ConfidentialNodes.class,
-            com.google.container.v1.ConfidentialNodes.Builder.class);
+            com.google.container.v1.ConfidentialNodes.class, com.google.container.v1.ConfidentialNodes.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ConfidentialNodes)) { return super.equals(obj); } - com.google.container.v1.ConfidentialNodes other = - (com.google.container.v1.ConfidentialNodes) obj; + com.google.container.v1.ConfidentialNodes other = (com.google.container.v1.ConfidentialNodes) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ConfidentialNodes parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ConfidentialNodes parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ConfidentialNodes parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfidentialNodes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ConfidentialNodes parseFrom( 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.ConfidentialNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ConfidentialNodes parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ConfidentialNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ConfidentialNodes parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ConfidentialNodes parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ConfidentialNodes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ConfidentialNodes parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ConfidentialNodes parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ConfidentialNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ConfidentialNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ConfidentialNodes is configuration for the confidential nodes feature, which
    * makes nodes run on confidential VMs.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ConfidentialNodes}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ConfidentialNodes)
       com.google.container.v1.ConfidentialNodesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ConfidentialNodes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ConfidentialNodes.class,
-              com.google.container.v1.ConfidentialNodes.Builder.class);
+              com.google.container.v1.ConfidentialNodes.class, com.google.container.v1.ConfidentialNodes.Builder.class);
     }
 
     // Construct using com.google.container.v1.ConfidentialNodes.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ConfidentialNodes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1.ConfidentialNodes build() {
 
     @java.lang.Override
     public com.google.container.v1.ConfidentialNodes buildPartial() {
-      com.google.container.v1.ConfidentialNodes result =
-          new com.google.container.v1.ConfidentialNodes(this);
+      com.google.container.v1.ConfidentialNodes result = new com.google.container.v1.ConfidentialNodes(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1.ConfidentialNodes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ConfidentialNodes) {
-        return mergeFrom((com.google.container.v1.ConfidentialNodes) other);
+        return mergeFrom((com.google.container.v1.ConfidentialNodes)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -413,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -430,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ConfidentialNodes) } // @@protoc_insertion_point(class_scope:google.container.v1.ConfidentialNodes) private static final com.google.container.v1.ConfidentialNodes DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ConfidentialNodes(); } @@ -490,27 +452,27 @@ public static com.google.container.v1.ConfidentialNodes getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfidentialNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfidentialNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ConfidentialNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java new file mode 100644 index 000000000000..55a496362a15 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ConfidentialNodesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ConfidentialNodes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Confidential Nodes feature is enabled.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java index 5165b9df4dda..5026f0bdfc0a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration options for the Config Connector add-on.
  * 
* * Protobuf type {@code google.container.v1.ConfigConnectorConfig} */ -public final class ConfigConnectorConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigConnectorConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ConfigConnectorConfig) ConfigConnectorConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigConnectorConfig.newBuilder() to construct. private ConfigConnectorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConfigConnectorConfig() {} + private ConfigConnectorConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigConnectorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ConfigConnectorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ConfigConnectorConfig.class, - com.google.container.v1.ConfigConnectorConfig.Builder.class); + com.google.container.v1.ConfigConnectorConfig.class, com.google.container.v1.ConfigConnectorConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Cloud Connector is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ConfigConnectorConfig)) { return super.equals(obj); } - com.google.container.v1.ConfigConnectorConfig other = - (com.google.container.v1.ConfigConnectorConfig) obj; + com.google.container.v1.ConfigConnectorConfig other = (com.google.container.v1.ConfigConnectorConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ConfigConnectorConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ConfigConnectorConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ConfigConnectorConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfigConnectorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ConfigConnectorConfig parseFrom( 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.ConfigConnectorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ConfigConnectorConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ConfigConnectorConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ConfigConnectorConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ConfigConnectorConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ConfigConnectorConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ConfigConnectorConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ConfigConnectorConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ConfigConnectorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ConfigConnectorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the Config Connector add-on.
    * 
* * Protobuf type {@code google.container.v1.ConfigConnectorConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ConfigConnectorConfig) com.google.container.v1.ConfigConnectorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ConfigConnectorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ConfigConnectorConfig.class, - com.google.container.v1.ConfigConnectorConfig.Builder.class); + com.google.container.v1.ConfigConnectorConfig.class, com.google.container.v1.ConfigConnectorConfig.Builder.class); } // Construct using com.google.container.v1.ConfigConnectorConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ConfigConnectorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.ConfigConnectorConfig build() { @java.lang.Override public com.google.container.v1.ConfigConnectorConfig buildPartial() { - com.google.container.v1.ConfigConnectorConfig result = - new com.google.container.v1.ConfigConnectorConfig(this); + com.google.container.v1.ConfigConnectorConfig result = new com.google.container.v1.ConfigConnectorConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.ConfigConnectorConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ConfigConnectorConfig) { - return mergeFrom((com.google.container.v1.ConfigConnectorConfig) other); + return mergeFrom((com.google.container.v1.ConfigConnectorConfig)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -428,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ConfigConnectorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ConfigConnectorConfig) private static final com.google.container.v1.ConfigConnectorConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ConfigConnectorConfig(); } @@ -488,27 +450,27 @@ public static com.google.container.v1.ConfigConnectorConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigConnectorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigConnectorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ConfigConnectorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java new file mode 100644 index 000000000000..895ef561f6c6 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ConfigConnectorConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ConfigConnectorConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Cloud Connector is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java index ac107bad5b93..c8054cbd378a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for fine-grained cost management feature.
  * 
* * Protobuf type {@code google.container.v1.CostManagementConfig} */ -public final class CostManagementConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CostManagementConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.CostManagementConfig) CostManagementConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CostManagementConfig.newBuilder() to construct. private CostManagementConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CostManagementConfig() {} + private CostManagementConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CostManagementConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CostManagementConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CostManagementConfig.class, - com.google.container.v1.CostManagementConfig.Builder.class); + com.google.container.v1.CostManagementConfig.class, com.google.container.v1.CostManagementConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the feature is enabled or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CostManagementConfig)) { return super.equals(obj); } - com.google.container.v1.CostManagementConfig other = - (com.google.container.v1.CostManagementConfig) obj; + com.google.container.v1.CostManagementConfig other = (com.google.container.v1.CostManagementConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.CostManagementConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.CostManagementConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CostManagementConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CostManagementConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CostManagementConfig parseFrom( 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.CostManagementConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CostManagementConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.CostManagementConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CostManagementConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.CostManagementConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.CostManagementConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.CostManagementConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CostManagementConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CostManagementConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.CostManagementConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for fine-grained cost management feature.
    * 
* * Protobuf type {@code google.container.v1.CostManagementConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.CostManagementConfig) com.google.container.v1.CostManagementConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CostManagementConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CostManagementConfig.class, - com.google.container.v1.CostManagementConfig.Builder.class); + com.google.container.v1.CostManagementConfig.class, com.google.container.v1.CostManagementConfig.Builder.class); } // Construct using com.google.container.v1.CostManagementConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CostManagementConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.CostManagementConfig build() { @java.lang.Override public com.google.container.v1.CostManagementConfig buildPartial() { - com.google.container.v1.CostManagementConfig result = - new com.google.container.v1.CostManagementConfig(this); + com.google.container.v1.CostManagementConfig result = new com.google.container.v1.CostManagementConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.CostManagementConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CostManagementConfig) { - return mergeFrom((com.google.container.v1.CostManagementConfig) other); + return mergeFrom((com.google.container.v1.CostManagementConfig)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -428,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.CostManagementConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.CostManagementConfig) private static final com.google.container.v1.CostManagementConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.CostManagementConfig(); } @@ -488,27 +450,27 @@ public static com.google.container.v1.CostManagementConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CostManagementConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CostManagementConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CostManagementConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java new file mode 100644 index 000000000000..c8f4e47cd289 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface CostManagementConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.CostManagementConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the feature is enabled or not.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index f8611fa8dca8..56f7412dff52 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * CreateClusterRequest creates a cluster.
  * 
* * Protobuf type {@code google.container.v1.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -45,35 +27,32 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateClusterRequest.class, - com.google.container.v1.CreateClusterRequest.Builder.class); + com.google.container.v1.CreateClusterRequest.class, com.google.container.v1.CreateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -81,27 +60,24 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -109,18 +85,18 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -131,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -141,27 +115,24 @@ 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=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -170,18 +141,18 @@ 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=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -192,16 +163,12 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.container.v1.Cluster cluster_; /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -209,16 +176,12 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -226,15 +189,12 @@ public com.google.container.v1.Cluster getCluster() { return cluster_ == null ? com.google.container.v1.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -244,15 +204,12 @@ public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -261,30 +218,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -293,7 +250,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -334,7 +291,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); @@ -347,21 +305,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CreateClusterRequest)) { return super.equals(obj); } - com.google.container.v1.CreateClusterRequest other = - (com.google.container.v1.CreateClusterRequest) obj; + com.google.container.v1.CreateClusterRequest other = (com.google.container.v1.CreateClusterRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -388,136 +349,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CreateClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.CreateClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CreateClusterRequest parseFrom( 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.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.CreateClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CreateClusterRequest creates a cluster.
    * 
* * Protobuf type {@code google.container.v1.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.CreateClusterRequest) com.google.container.v1.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateClusterRequest.class, - com.google.container.v1.CreateClusterRequest.Builder.class); + com.google.container.v1.CreateClusterRequest.class, com.google.container.v1.CreateClusterRequest.Builder.class); } // Construct using com.google.container.v1.CreateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -537,9 +492,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_descriptor; } @java.lang.Override @@ -558,8 +513,7 @@ public com.google.container.v1.CreateClusterRequest build() { @java.lang.Override public com.google.container.v1.CreateClusterRequest buildPartial() { - com.google.container.v1.CreateClusterRequest result = - new com.google.container.v1.CreateClusterRequest(this); + com.google.container.v1.CreateClusterRequest result = new com.google.container.v1.CreateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; if (clusterBuilder_ == null) { @@ -576,39 +530,38 @@ public com.google.container.v1.CreateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CreateClusterRequest) { - return mergeFrom((com.google.container.v1.CreateClusterRequest) other); + return mergeFrom((com.google.container.v1.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -658,37 +611,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 42: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -701,8 +651,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -710,16 +658,15 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -728,8 +675,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -737,17 +682,17 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -755,8 +700,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -764,25 +707,22 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -790,21 +730,17 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -812,19 +748,18 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -832,8 +767,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -842,16 +775,15 @@ 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=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -860,8 +792,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -870,17 +800,17 @@ 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=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -888,8 +818,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -898,25 +826,22 @@ 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=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -925,21 +850,17 @@ 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=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -948,19 +869,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -968,37 +888,26 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Cluster, - com.google.container.v1.Cluster.Builder, - com.google.container.v1.ClusterOrBuilder> - clusterBuilder_; + com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.container.v1.Cluster getCluster() { @@ -1009,15 +918,12 @@ public com.google.container.v1.Cluster getCluster() { } } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.container.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -1033,17 +939,15 @@ public Builder setCluster(com.google.container.v1.Cluster value) { return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.container.v1.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.container.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); onChanged(); @@ -1054,21 +958,18 @@ public Builder setCluster(com.google.container.v1.Cluster.Builder builderForValu return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.container.v1.Cluster value) { if (clusterBuilder_ == null) { if (cluster_ != null) { cluster_ = - com.google.container.v1.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); + com.google.container.v1.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); } else { cluster_ = value; } @@ -1080,15 +981,12 @@ public Builder mergeCluster(com.google.container.v1.Cluster value) { return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { if (clusterBuilder_ == null) { @@ -1102,62 +1000,51 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.Cluster.Builder getClusterBuilder() { - + onChanged(); return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? com.google.container.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null ? + com.google.container.v1.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Cluster, - com.google.container.v1.Cluster.Builder, - com.google.container.v1.ClusterOrBuilder> + com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Cluster, - com.google.container.v1.Cluster.Builder, - com.google.container.v1.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1165,21 +1052,19 @@ public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1188,22 +1073,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1211,71 +1095,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1285,12 +1162,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CreateClusterRequest) private static final com.google.container.v1.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.CreateClusterRequest(); } @@ -1299,27 +1176,27 @@ public static com.google.container.v1.CreateClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1334,4 +1211,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index 15314162ffb1..494b2eeb21ef 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CreateClusterRequestOrBuilder - extends +public interface CreateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2135 + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2135 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,79 +58,62 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2141 + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2141 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.container.v1.Cluster getCluster(); /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 81bcd56f9ba5..6163c8072e8b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * CreateNodePoolRequest creates a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1.CreateNodePoolRequest} */ -public final class CreateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.CreateNodePoolRequest) CreateNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateNodePoolRequest.newBuilder() to construct. private CreateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private CreateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateNodePoolRequest.class, - com.google.container.v1.CreateNodePoolRequest.Builder.class); + com.google.container.v1.CreateNodePoolRequest.class, com.google.container.v1.CreateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,15 +216,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_FIELD_NUMBER = 4; private com.google.container.v1.NodePool nodePool_; /** - * - * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nodePool field is set. */ @java.lang.Override @@ -266,15 +228,11 @@ public boolean hasNodePool() { return nodePool_ != null; } /** - * - * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The nodePool. */ @java.lang.Override @@ -282,14 +240,11 @@ public com.google.container.v1.NodePool getNodePool() { return nodePool_ == null ? com.google.container.v1.NodePool.getDefaultInstance() : nodePool_; } /** - * - * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { @@ -299,8 +254,6 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { public static final int PARENT_FIELD_NUMBER = 6; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -308,7 +261,6 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() {
    * 
* * string parent = 6; - * * @return The parent. */ @java.lang.Override @@ -317,15 +269,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -333,15 +284,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 6; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -350,7 +302,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -362,7 +313,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -397,7 +349,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (nodePool_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodePool()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, parent_); @@ -410,22 +363,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CreateNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1.CreateNodePoolRequest other = - (com.google.container.v1.CreateNodePoolRequest) obj; + com.google.container.v1.CreateNodePoolRequest other = (com.google.container.v1.CreateNodePoolRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasNodePool() != other.hasNodePool()) return false; if (hasNodePool()) { - if (!getNodePool().equals(other.getNodePool())) return false; + if (!getNodePool() + .equals(other.getNodePool())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -454,136 +411,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CreateNodePoolRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.CreateNodePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CreateNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CreateNodePoolRequest parseFrom( 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.CreateNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.CreateNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.CreateNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CreateNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.CreateNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.CreateNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.CreateNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.CreateNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.CreateNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.CreateNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CreateNodePoolRequest creates a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1.CreateNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.CreateNodePoolRequest) com.google.container.v1.CreateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateNodePoolRequest.class, - com.google.container.v1.CreateNodePoolRequest.Builder.class); + com.google.container.v1.CreateNodePoolRequest.class, com.google.container.v1.CreateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.CreateNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -605,9 +556,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_CreateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_descriptor; } @java.lang.Override @@ -626,8 +577,7 @@ public com.google.container.v1.CreateNodePoolRequest build() { @java.lang.Override public com.google.container.v1.CreateNodePoolRequest buildPartial() { - com.google.container.v1.CreateNodePoolRequest result = - new com.google.container.v1.CreateNodePoolRequest(this); + com.google.container.v1.CreateNodePoolRequest result = new com.google.container.v1.CreateNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -645,39 +595,38 @@ public com.google.container.v1.CreateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CreateNodePoolRequest) { - return mergeFrom((com.google.container.v1.CreateNodePoolRequest) other); + return mergeFrom((com.google.container.v1.CreateNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -731,43 +680,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getNodePoolFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getNodePoolFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 50: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -780,8 +725,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -789,16 +732,15 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -807,8 +749,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -816,17 +756,17 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -834,8 +774,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -843,25 +781,22 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -869,21 +804,17 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -891,19 +822,18 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -911,8 +841,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -921,16 +849,15 @@ 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=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -939,8 +866,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -949,17 +874,17 @@ 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=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -967,8 +892,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -977,25 +900,22 @@ 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=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1004,21 +924,17 @@ 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=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1027,19 +943,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1047,24 +962,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1073,25 +985,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1099,73 +1009,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1173,55 +1073,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodePool nodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool, - com.google.container.v1.NodePool.Builder, - com.google.container.v1.NodePoolOrBuilder> - nodePoolBuilder_; + com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> nodePoolBuilder_; /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nodePool field is set. */ public boolean hasNodePool() { return nodePoolBuilder_ != null || nodePool_ != null; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The nodePool. */ public com.google.container.v1.NodePool getNodePool() { if (nodePoolBuilder_ == null) { - return nodePool_ == null - ? com.google.container.v1.NodePool.getDefaultInstance() - : nodePool_; + return nodePool_ == null ? com.google.container.v1.NodePool.getDefaultInstance() : nodePool_; } else { return nodePoolBuilder_.getMessage(); } } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNodePool(com.google.container.v1.NodePool value) { if (nodePoolBuilder_ == null) { @@ -1237,16 +1121,14 @@ public Builder setNodePool(com.google.container.v1.NodePool value) { return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setNodePool(com.google.container.v1.NodePool.Builder builderForValue) { + public Builder setNodePool( + com.google.container.v1.NodePool.Builder builderForValue) { if (nodePoolBuilder_ == null) { nodePool_ = builderForValue.build(); onChanged(); @@ -1257,22 +1139,17 @@ public Builder setNodePool(com.google.container.v1.NodePool.Builder builderForVa return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNodePool(com.google.container.v1.NodePool value) { if (nodePoolBuilder_ == null) { if (nodePool_ != null) { nodePool_ = - com.google.container.v1.NodePool.newBuilder(nodePool_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePool.newBuilder(nodePool_).mergeFrom(value).buildPartial(); } else { nodePool_ = value; } @@ -1284,14 +1161,11 @@ public Builder mergeNodePool(com.google.container.v1.NodePool value) { return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNodePool() { if (nodePoolBuilder_ == null) { @@ -1305,61 +1179,48 @@ public Builder clearNodePool() { return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NodePool.Builder getNodePoolBuilder() { - + onChanged(); return getNodePoolFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { if (nodePoolBuilder_ != null) { return nodePoolBuilder_.getMessageOrBuilder(); } else { - return nodePool_ == null - ? com.google.container.v1.NodePool.getDefaultInstance() - : nodePool_; + return nodePool_ == null ? + com.google.container.v1.NodePool.getDefaultInstance() : nodePool_; } } /** - * - * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool, - com.google.container.v1.NodePool.Builder, - com.google.container.v1.NodePoolOrBuilder> + com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> getNodePoolFieldBuilder() { if (nodePoolBuilder_ == null) { - nodePoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool, - com.google.container.v1.NodePool.Builder, - com.google.container.v1.NodePoolOrBuilder>( - getNodePool(), getParentForChildren(), isClean()); + nodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder>( + getNodePool(), + getParentForChildren(), + isClean()); nodePool_ = null; } return nodePoolBuilder_; @@ -1367,8 +1228,6 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1376,13 +1235,13 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() {
      * 
* * string parent = 6; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1391,8 +1250,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1400,14 +1257,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 6; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1415,8 +1273,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1424,22 +1280,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 6; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1447,18 +1301,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 6; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1466,23 +1317,23 @@ public Builder clearParent() {
      * 
* * string parent = 6; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1492,12 +1343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.CreateNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CreateNodePoolRequest) private static final com.google.container.v1.CreateNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.CreateNodePoolRequest(); } @@ -1506,27 +1357,27 @@ public static com.google.container.v1.CreateNodePoolRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1541,4 +1392,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CreateNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index 47a2076e2abe..314be9903f6d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CreateNodePoolRequestOrBuilder - extends +public interface CreateNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.CreateNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2717 + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2717 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface CreateNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,88 +58,67 @@ public interface CreateNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2723 + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2723 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2727 + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2727 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nodePool field is set. */ boolean hasNodePool(); /** - * - * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The nodePool. */ com.google.container.v1.NodePool getNodePool(); /** - * - * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder(); /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -176,13 +126,10 @@ public interface CreateNodePoolRequestOrBuilder
    * 
* * string parent = 6; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -190,8 +137,8 @@ public interface CreateNodePoolRequestOrBuilder
    * 
* * string parent = 6; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java index 3a9c3dfb5f6f..b79dcc95ed62 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * DNSConfig contains the desired set of options for configuring clusterDNS.
  * 
* * Protobuf type {@code google.container.v1.DNSConfig} */ -public final class DNSConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DNSConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.DNSConfig) DNSConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DNSConfig.newBuilder() to construct. private DNSConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DNSConfig() { clusterDns_ = 0; clusterDnsScope_ = 0; @@ -45,43 +27,39 @@ private DNSConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DNSConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DNSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DNSConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DNSConfig.class, - com.google.container.v1.DNSConfig.Builder.class); + com.google.container.v1.DNSConfig.class, com.google.container.v1.DNSConfig.Builder.class); } /** - * - * *
    * Provider lists the various in-cluster DNS providers.
    * 
* * Protobuf enum {@code google.container.v1.DNSConfig.Provider} */ - public enum Provider implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value
      * 
@@ -90,8 +68,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ PROVIDER_UNSPECIFIED(0), /** - * - * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -100,8 +76,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ PLATFORM_DEFAULT(1), /** - * - * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -113,8 +87,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value
      * 
@@ -123,8 +95,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -133,8 +103,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PLATFORM_DEFAULT_VALUE = 1; /** - * - * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -143,6 +111,7 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_DNS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,49 +136,49 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: - return PROVIDER_UNSPECIFIED; - case 1: - return PLATFORM_DEFAULT; - case 2: - return CLOUD_DNS; - default: - return null; + case 0: return PROVIDER_UNSPECIFIED; + case 1: return PLATFORM_DEFAULT; + case 2: return CLOUD_DNS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Provider> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.DNSConfig.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -227,18 +196,15 @@ private Provider(int value) { } /** - * - * *
    * DNSScope lists the various scopes of access to cluster DNS records.
    * 
* * Protobuf enum {@code google.container.v1.DNSConfig.DNSScope} */ - public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { + public enum DNSScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -247,8 +213,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ DNS_SCOPE_UNSPECIFIED(0), /** - * - * *
      * DNS records are accessible from within the VPC.
      * 
@@ -260,8 +224,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -270,8 +232,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DNS_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DNS records are accessible from within the VPC.
      * 
@@ -280,6 +240,7 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VPC_SCOPE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -304,47 +265,48 @@ public static DNSScope valueOf(int value) { */ public static DNSScope forNumber(int value) { switch (value) { - case 0: - return DNS_SCOPE_UNSPECIFIED; - case 2: - return VPC_SCOPE; - default: - return null; + case 0: return DNS_SCOPE_UNSPECIFIED; + case 2: return VPC_SCOPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DNSScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DNSScope findValueByNumber(int number) { + return DNSScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DNSScope findValueByNumber(int number) { - return DNSScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.DNSConfig.getDescriptor().getEnumTypes().get(1); } private static final DNSScope[] VALUES = values(); - public static DNSScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DNSScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -364,86 +326,65 @@ private DNSScope(int value) { public static final int CLUSTER_DNS_FIELD_NUMBER = 1; private int clusterDns_; /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override - public int getClusterDnsValue() { + @java.lang.Override public int getClusterDnsValue() { return clusterDns_; } /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @return The clusterDns. */ - @java.lang.Override - public com.google.container.v1.DNSConfig.Provider getClusterDns() { + @java.lang.Override public com.google.container.v1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.Provider result = - com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1.DNSConfig.Provider result = com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1.DNSConfig.Provider.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_SCOPE_FIELD_NUMBER = 2; private int clusterDnsScope_; /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override - public int getClusterDnsScopeValue() { + @java.lang.Override public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The clusterDnsScope. */ - @java.lang.Override - public com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope() { + @java.lang.Override public com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.DNSScope result = - com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1.DNSConfig.DNSScope result = com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1.DNSConfig.DNSScope.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_DOMAIN_FIELD_NUMBER = 3; private volatile java.lang.Object clusterDnsDomain_; /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The clusterDnsDomain. */ @java.lang.Override @@ -452,29 +393,29 @@ public java.lang.String getClusterDnsDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; } } /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The bytes for clusterDnsDomain. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString + getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -483,7 +424,6 @@ public com.google.protobuf.ByteString getClusterDnsDomainBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -495,13 +435,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (clusterDns_ - != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (clusterDns_ != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, clusterDns_); } - if (clusterDnsScope_ - != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + if (clusterDnsScope_ != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { @@ -516,13 +455,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (clusterDns_ - != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, clusterDns_); + if (clusterDns_ != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, clusterDns_); } - if (clusterDnsScope_ - != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, clusterDnsScope_); + if (clusterDnsScope_ != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterDnsDomain_); @@ -535,7 +474,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DNSConfig)) { return super.equals(obj); @@ -544,7 +483,8 @@ public boolean equals(final java.lang.Object obj) { if (clusterDns_ != other.clusterDns_) return false; if (clusterDnsScope_ != other.clusterDnsScope_) return false; - if (!getClusterDnsDomain().equals(other.getClusterDnsDomain())) return false; + if (!getClusterDnsDomain() + .equals(other.getClusterDnsDomain())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -567,135 +507,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DNSConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.DNSConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DNSConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DNSConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.DNSConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DNSConfig parseFrom( 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.DNSConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DNSConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.DNSConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DNSConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DNSConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.DNSConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DNSConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DNSConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.DNSConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DNSConfig contains the desired set of options for configuring clusterDNS.
    * 
* * Protobuf type {@code google.container.v1.DNSConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.DNSConfig) com.google.container.v1.DNSConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DNSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DNSConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DNSConfig.class, - com.google.container.v1.DNSConfig.Builder.class); + com.google.container.v1.DNSConfig.class, com.google.container.v1.DNSConfig.Builder.class); } // Construct using com.google.container.v1.DNSConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -709,9 +644,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DNSConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_descriptor; } @java.lang.Override @@ -742,39 +677,38 @@ public com.google.container.v1.DNSConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DNSConfig) { - return mergeFrom((com.google.container.v1.DNSConfig) other); + return mergeFrom((com.google.container.v1.DNSConfig)other); } else { super.mergeFrom(other); return this; @@ -819,31 +753,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - clusterDns_ = input.readEnum(); - - break; - } // case 8 - case 16: - { - clusterDnsScope_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - clusterDnsDomain_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + clusterDns_ = input.readEnum(); + + break; + } // case 8 + case 16: { + clusterDnsScope_ = input.readEnum(); + + break; + } // case 16 + case 26: { + clusterDnsDomain_ = input.readStringRequireUtf8(); + + 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) { @@ -856,65 +786,51 @@ public Builder mergeFrom( private int clusterDns_ = 0; /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override - public int getClusterDnsValue() { + @java.lang.Override public int getClusterDnsValue() { return clusterDns_; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @param value The enum numeric value on the wire for clusterDns to set. * @return This builder for chaining. */ public Builder setClusterDnsValue(int value) { - + clusterDns_ = value; onChanged(); return this; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @return The clusterDns. */ @java.lang.Override public com.google.container.v1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.Provider result = - com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1.DNSConfig.Provider result = com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1.DNSConfig.Provider.UNRECOGNIZED : result; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @param value The clusterDns to set. * @return This builder for chaining. */ @@ -922,24 +838,21 @@ public Builder setClusterDns(com.google.container.v1.DNSConfig.Provider value) { if (value == null) { throw new NullPointerException(); } - + clusterDns_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @return This builder for chaining. */ public Builder clearClusterDns() { - + clusterDns_ = 0; onChanged(); return this; @@ -947,65 +860,51 @@ public Builder clearClusterDns() { private int clusterDnsScope_ = 0; /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override - public int getClusterDnsScopeValue() { + @java.lang.Override public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @param value The enum numeric value on the wire for clusterDnsScope to set. * @return This builder for chaining. */ public Builder setClusterDnsScopeValue(int value) { - + clusterDnsScope_ = value; onChanged(); return this; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The clusterDnsScope. */ @java.lang.Override public com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.DNSScope result = - com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1.DNSConfig.DNSScope result = com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1.DNSConfig.DNSScope.UNRECOGNIZED : result; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @param value The clusterDnsScope to set. * @return This builder for chaining. */ @@ -1013,24 +912,21 @@ public Builder setClusterDnsScope(com.google.container.v1.DNSConfig.DNSScope val if (value == null) { throw new NullPointerException(); } - + clusterDnsScope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return This builder for chaining. */ public Builder clearClusterDnsScope() { - + clusterDnsScope_ = 0; onChanged(); return this; @@ -1038,20 +934,18 @@ public Builder clearClusterDnsScope() { private java.lang.Object clusterDnsDomain_ = ""; /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @return The clusterDnsDomain. */ public java.lang.String getClusterDnsDomain() { java.lang.Object ref = clusterDnsDomain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; @@ -1060,21 +954,20 @@ public java.lang.String getClusterDnsDomain() { } } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @return The bytes for clusterDnsDomain. */ - public com.google.protobuf.ByteString getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString + getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -1082,68 +975,61 @@ public com.google.protobuf.ByteString getClusterDnsDomainBytes() { } } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @param value The clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomain(java.lang.String value) { + public Builder setClusterDnsDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterDnsDomain_ = value; onChanged(); return this; } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @return This builder for chaining. */ public Builder clearClusterDnsDomain() { - + clusterDnsDomain_ = getDefaultInstance().getClusterDnsDomain(); onChanged(); return this; } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @param value The bytes for clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomainBytes(com.google.protobuf.ByteString value) { + public Builder setClusterDnsDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterDnsDomain_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1039,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.DNSConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.DNSConfig) private static final com.google.container.v1.DNSConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.DNSConfig(); } @@ -1167,27 +1053,27 @@ public static com.google.container.v1.DNSConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DNSConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DNSConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1202,4 +1088,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DNSConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java index 2e1cf9377c63..a7a67399b1a9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java @@ -1,100 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DNSConfigOrBuilder - extends +public interface DNSConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.DNSConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @return The enum numeric value on the wire for clusterDns. */ int getClusterDnsValue(); /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; - * * @return The clusterDns. */ com.google.container.v1.DNSConfig.Provider getClusterDns(); /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The enum numeric value on the wire for clusterDnsScope. */ int getClusterDnsScopeValue(); /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The clusterDnsScope. */ com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope(); /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The clusterDnsDomain. */ java.lang.String getClusterDnsDomain(); /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The bytes for clusterDnsDomain. */ - com.google.protobuf.ByteString getClusterDnsDomainBytes(); + com.google.protobuf.ByteString + getClusterDnsDomainBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java index 292f14348c1e..667cdd0f346c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Time window specified for daily maintenance operations.
  * 
* * Protobuf type {@code google.container.v1.DailyMaintenanceWindow} */ -public final class DailyMaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DailyMaintenanceWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.DailyMaintenanceWindow) DailyMaintenanceWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DailyMaintenanceWindow.newBuilder() to construct. private DailyMaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DailyMaintenanceWindow() { startTime_ = ""; duration_ = ""; @@ -44,35 +26,32 @@ private DailyMaintenanceWindow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DailyMaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DailyMaintenanceWindow.class, - com.google.container.v1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1.DailyMaintenanceWindow.class, com.google.container.v1.DailyMaintenanceWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 2; private volatile java.lang.Object startTime_; /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -80,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -89,15 +67,14 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -105,15 +82,16 @@ public java.lang.String getStartTime() {
    * 
* * string start_time = 2; - * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -124,8 +102,6 @@ public com.google.protobuf.ByteString getStartTimeBytes() { public static final int DURATION_FIELD_NUMBER = 3; private volatile java.lang.Object duration_; /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -134,7 +110,6 @@ public com.google.protobuf.ByteString getStartTimeBytes() {
    * 
* * string duration = 3; - * * @return The duration. */ @java.lang.Override @@ -143,15 +118,14 @@ public java.lang.String getDuration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; } } /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -160,15 +134,16 @@ public java.lang.String getDuration() {
    * 
* * string duration = 3; - * * @return The bytes for duration. */ @java.lang.Override - public com.google.protobuf.ByteString getDurationBytes() { + public com.google.protobuf.ByteString + getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); duration_ = b; return b; } else { @@ -177,7 +152,6 @@ public com.google.protobuf.ByteString getDurationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startTime_); } @@ -219,16 +194,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DailyMaintenanceWindow)) { return super.equals(obj); } - com.google.container.v1.DailyMaintenanceWindow other = - (com.google.container.v1.DailyMaintenanceWindow) obj; + com.google.container.v1.DailyMaintenanceWindow other = (com.google.container.v1.DailyMaintenanceWindow) obj; - if (!getStartTime().equals(other.getStartTime())) return false; - if (!getDuration().equals(other.getDuration())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,136 +225,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.DailyMaintenanceWindow parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DailyMaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom( 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.DailyMaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.DailyMaintenanceWindow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.DailyMaintenanceWindow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.DailyMaintenanceWindow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.DailyMaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Time window specified for daily maintenance operations.
    * 
* * Protobuf type {@code google.container.v1.DailyMaintenanceWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.DailyMaintenanceWindow) com.google.container.v1.DailyMaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DailyMaintenanceWindow.class, - com.google.container.v1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1.DailyMaintenanceWindow.class, com.google.container.v1.DailyMaintenanceWindow.Builder.class); } // Construct using com.google.container.v1.DailyMaintenanceWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -390,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; } @java.lang.Override @@ -411,8 +381,7 @@ public com.google.container.v1.DailyMaintenanceWindow build() { @java.lang.Override public com.google.container.v1.DailyMaintenanceWindow buildPartial() { - com.google.container.v1.DailyMaintenanceWindow result = - new com.google.container.v1.DailyMaintenanceWindow(this); + com.google.container.v1.DailyMaintenanceWindow result = new com.google.container.v1.DailyMaintenanceWindow(this); result.startTime_ = startTime_; result.duration_ = duration_; onBuilt(); @@ -423,39 +392,38 @@ public com.google.container.v1.DailyMaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DailyMaintenanceWindow) { - return mergeFrom((com.google.container.v1.DailyMaintenanceWindow) other); + return mergeFrom((com.google.container.v1.DailyMaintenanceWindow)other); } else { super.mergeFrom(other); return this; @@ -498,25 +466,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - startTime_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - duration_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + startTime_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + duration_ = input.readStringRequireUtf8(); + + 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) { @@ -529,8 +494,6 @@ public Builder mergeFrom( private java.lang.Object startTime_ = ""; /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -538,13 +501,13 @@ public Builder mergeFrom(
      * 
* * string start_time = 2; - * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -553,8 +516,6 @@ public java.lang.String getStartTime() { } } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -562,14 +523,15 @@ public java.lang.String getStartTime() {
      * 
* * string start_time = 2; - * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -577,8 +539,6 @@ public com.google.protobuf.ByteString getStartTimeBytes() { } } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -586,22 +546,20 @@ public com.google.protobuf.ByteString getStartTimeBytes() {
      * 
* * string start_time = 2; - * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime(java.lang.String value) { + public Builder setStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -609,18 +567,15 @@ public Builder setStartTime(java.lang.String value) {
      * 
* * string start_time = 2; - * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -628,16 +583,16 @@ public Builder clearStartTime() {
      * 
* * string start_time = 2; - * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -645,8 +600,6 @@ public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { private java.lang.Object duration_ = ""; /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -655,13 +608,13 @@ public Builder setStartTimeBytes(com.google.protobuf.ByteString value) {
      * 
* * string duration = 3; - * * @return The duration. */ public java.lang.String getDuration() { java.lang.Object ref = duration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; @@ -670,8 +623,6 @@ public java.lang.String getDuration() { } } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -680,14 +631,15 @@ public java.lang.String getDuration() {
      * 
* * string duration = 3; - * * @return The bytes for duration. */ - public com.google.protobuf.ByteString getDurationBytes() { + public com.google.protobuf.ByteString + getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); duration_ = b; return b; } else { @@ -695,8 +647,6 @@ public com.google.protobuf.ByteString getDurationBytes() { } } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -705,22 +655,20 @@ public com.google.protobuf.ByteString getDurationBytes() {
      * 
* * string duration = 3; - * * @param value The duration to set. * @return This builder for chaining. */ - public Builder setDuration(java.lang.String value) { + public Builder setDuration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + duration_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -729,18 +677,15 @@ public Builder setDuration(java.lang.String value) {
      * 
* * string duration = 3; - * * @return This builder for chaining. */ public Builder clearDuration() { - + duration_ = getDefaultInstance().getDuration(); onChanged(); return this; } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -749,23 +694,23 @@ public Builder clearDuration() {
      * 
* * string duration = 3; - * * @param value The bytes for duration to set. * @return This builder for chaining. */ - public Builder setDurationBytes(com.google.protobuf.ByteString value) { + public Builder setDurationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + duration_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -775,12 +720,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.DailyMaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.container.v1.DailyMaintenanceWindow) private static final com.google.container.v1.DailyMaintenanceWindow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.DailyMaintenanceWindow(); } @@ -789,27 +734,27 @@ public static com.google.container.v1.DailyMaintenanceWindow getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DailyMaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DailyMaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +769,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DailyMaintenanceWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java index 3367a4edc193..9ff19d6f5325 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DailyMaintenanceWindowOrBuilder - extends +public interface DailyMaintenanceWindowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.DailyMaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -33,13 +15,10 @@ public interface DailyMaintenanceWindowOrBuilder
    * 
* * string start_time = 2; - * * @return The startTime. */ java.lang.String getStartTime(); /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -47,14 +26,12 @@ public interface DailyMaintenanceWindowOrBuilder
    * 
* * string start_time = 2; - * * @return The bytes for startTime. */ - com.google.protobuf.ByteString getStartTimeBytes(); + com.google.protobuf.ByteString + getStartTimeBytes(); /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -63,13 +40,10 @@ public interface DailyMaintenanceWindowOrBuilder
    * 
* * string duration = 3; - * * @return The duration. */ java.lang.String getDuration(); /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -78,8 +52,8 @@ public interface DailyMaintenanceWindowOrBuilder
    * 
* * string duration = 3; - * * @return The bytes for duration. */ - com.google.protobuf.ByteString getDurationBytes(); + com.google.protobuf.ByteString + getDurationBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java index 2d51a90b5b11..bbc090e55be1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration of etcd encryption.
  * 
* * Protobuf type {@code google.container.v1.DatabaseEncryption} */ -public final class DatabaseEncryption extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DatabaseEncryption extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.DatabaseEncryption) DatabaseEncryptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DatabaseEncryption.newBuilder() to construct. private DatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatabaseEncryption() { state_ = 0; keyName_ = ""; @@ -44,43 +26,39 @@ private DatabaseEncryption() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatabaseEncryption(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DatabaseEncryption.class, - com.google.container.v1.DatabaseEncryption.Builder.class); + com.google.container.v1.DatabaseEncryption.class, com.google.container.v1.DatabaseEncryption.Builder.class); } /** - * - * *
    * State of etcd encryption.
    * 
* * Protobuf enum {@code google.container.v1.DatabaseEncryption.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Should never be set
      * 
@@ -89,8 +67,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * Secrets in etcd are encrypted.
      * 
@@ -99,8 +75,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTED(1), /** - * - * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -113,8 +87,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Should never be set
      * 
@@ -123,8 +95,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * Secrets in etcd are encrypted.
      * 
@@ -133,8 +103,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTED_VALUE = 1; /** - * - * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -144,6 +112,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DECRYPTED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,49 +137,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNKNOWN;
-        case 1:
-          return ENCRYPTED;
-        case 2:
-          return DECRYPTED;
-        default:
-          return null;
+        case 0: return UNKNOWN;
+        case 1: return ENCRYPTED;
+        case 2: return DECRYPTED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.DatabaseEncryption.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -230,51 +199,39 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 2;
   private int state_;
   /**
-   *
-   *
    * 
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @return The state. */ - @java.lang.Override - public com.google.container.v1.DatabaseEncryption.State getState() { + @java.lang.Override public com.google.container.v1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1.DatabaseEncryption.State result = - com.google.container.v1.DatabaseEncryption.State.valueOf(state_); + com.google.container.v1.DatabaseEncryption.State result = com.google.container.v1.DatabaseEncryption.State.valueOf(state_); return result == null ? com.google.container.v1.DatabaseEncryption.State.UNRECOGNIZED : result; } public static final int KEY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object keyName_; /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The keyName. */ @java.lang.Override @@ -283,30 +240,30 @@ public java.lang.String getKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } } /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The bytes for keyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyNameBytes() { + public com.google.protobuf.ByteString + getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyName_ = b; return b; } else { @@ -315,7 +272,6 @@ public com.google.protobuf.ByteString getKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -327,7 +283,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyName_); } @@ -347,7 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyName_); } if (state_ != com.google.container.v1.DatabaseEncryption.State.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -357,16 +315,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DatabaseEncryption)) { return super.equals(obj); } - com.google.container.v1.DatabaseEncryption other = - (com.google.container.v1.DatabaseEncryption) obj; + com.google.container.v1.DatabaseEncryption other = (com.google.container.v1.DatabaseEncryption) obj; if (state_ != other.state_) return false; - if (!getKeyName().equals(other.getKeyName())) return false; + if (!getKeyName() + .equals(other.getKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -387,136 +345,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DatabaseEncryption parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.DatabaseEncryption parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DatabaseEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DatabaseEncryption parseFrom( 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.DatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DatabaseEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.DatabaseEncryption parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DatabaseEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.DatabaseEncryption parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.DatabaseEncryption parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.DatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.DatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of etcd encryption.
    * 
* * Protobuf type {@code google.container.v1.DatabaseEncryption} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.DatabaseEncryption) com.google.container.v1.DatabaseEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DatabaseEncryption.class, - com.google.container.v1.DatabaseEncryption.Builder.class); + com.google.container.v1.DatabaseEncryption.class, com.google.container.v1.DatabaseEncryption.Builder.class); } // Construct using com.google.container.v1.DatabaseEncryption.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -528,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DatabaseEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_descriptor; } @java.lang.Override @@ -549,8 +501,7 @@ public com.google.container.v1.DatabaseEncryption build() { @java.lang.Override public com.google.container.v1.DatabaseEncryption buildPartial() { - com.google.container.v1.DatabaseEncryption result = - new com.google.container.v1.DatabaseEncryption(this); + com.google.container.v1.DatabaseEncryption result = new com.google.container.v1.DatabaseEncryption(this); result.state_ = state_; result.keyName_ = keyName_; onBuilt(); @@ -561,39 +512,38 @@ public com.google.container.v1.DatabaseEncryption buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DatabaseEncryption) { - return mergeFrom((com.google.container.v1.DatabaseEncryption) other); + return mergeFrom((com.google.container.v1.DatabaseEncryption)other); } else { super.mergeFrom(other); return this; @@ -635,25 +585,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - keyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - state_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + keyName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + state_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -666,67 +613,51 @@ public Builder mergeFrom( private int state_ = 0; /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @return The state. */ @java.lang.Override public com.google.container.v1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1.DatabaseEncryption.State result = - com.google.container.v1.DatabaseEncryption.State.valueOf(state_); - return result == null - ? com.google.container.v1.DatabaseEncryption.State.UNRECOGNIZED - : result; + com.google.container.v1.DatabaseEncryption.State result = com.google.container.v1.DatabaseEncryption.State.valueOf(state_); + return result == null ? com.google.container.v1.DatabaseEncryption.State.UNRECOGNIZED : result; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @param value The state to set. * @return This builder for chaining. */ @@ -734,24 +665,21 @@ public Builder setState(com.google.container.v1.DatabaseEncryption.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -759,21 +687,19 @@ public Builder clearState() { private java.lang.Object keyName_ = ""; /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; @@ -782,22 +708,21 @@ public java.lang.String getKeyName() { } } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @return The bytes for keyName. */ - public com.google.protobuf.ByteString getKeyNameBytes() { + public com.google.protobuf.ByteString + getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyName_ = b; return b; } else { @@ -805,71 +730,64 @@ public com.google.protobuf.ByteString getKeyNameBytes() { } } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @param value The keyName to set. * @return This builder for chaining. */ - public Builder setKeyName(java.lang.String value) { + public Builder setKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyName_ = value; onChanged(); return this; } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @return This builder for chaining. */ public Builder clearKeyName() { - + keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @param value The bytes for keyName to set. * @return This builder for chaining. */ - public Builder setKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -879,12 +797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.DatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.container.v1.DatabaseEncryption) private static final com.google.container.v1.DatabaseEncryption DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.DatabaseEncryption(); } @@ -893,27 +811,27 @@ public static com.google.container.v1.DatabaseEncryption getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,4 +846,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java index ecc94abaec3e..c28529eac451 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java @@ -1,77 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DatabaseEncryptionOrBuilder - extends +public interface DatabaseEncryptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.DatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; - * * @return The state. */ com.google.container.v1.DatabaseEncryption.State getState(); /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The keyName. */ java.lang.String getKeyName(); /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The bytes for keyName. */ - com.google.protobuf.ByteString getKeyNameBytes(); + com.google.protobuf.ByteString + getKeyNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java index 89b85b88b22c..c89134ff3f02 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * The datapath provider selects the implementation of the Kubernetes networking
  * model for service resolution and network policy enforcement.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.container.v1.DatapathProvider}
  */
-public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum {
+public enum DatapathProvider
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -40,8 +22,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ DATAPATH_PROVIDER_UNSPECIFIED(0), /** - * - * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -50,8 +30,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ LEGACY_DATAPATH(1), /** - * - * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -66,8 +44,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -76,8 +52,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -86,8 +60,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ public static final int LEGACY_DATAPATH_VALUE = 1; /** - * - * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -99,6 +71,7 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int ADVANCED_DATAPATH_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -123,49 +96,49 @@ public static DatapathProvider valueOf(int value) {
    */
   public static DatapathProvider forNumber(int value) {
     switch (value) {
-      case 0:
-        return DATAPATH_PROVIDER_UNSPECIFIED;
-      case 1:
-        return LEGACY_DATAPATH;
-      case 2:
-        return ADVANCED_DATAPATH;
-      default:
-        return null;
+      case 0: return DATAPATH_PROVIDER_UNSPECIFIED;
+      case 1: return LEGACY_DATAPATH;
+      case 2: return ADVANCED_DATAPATH;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public DatapathProvider findValueByNumber(int number) {
-          return DatapathProvider.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DatapathProvider> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DatapathProvider findValueByNumber(int number) {
+            return DatapathProvider.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DatapathProvider[] VALUES = values();
 
-  public static DatapathProvider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DatapathProvider valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -181,3 +154,4 @@ private DatapathProvider(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1.DatapathProvider)
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
similarity index 63%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
index b04914d7f39c..daa0b7dd2390 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * DefaultSnatStatus contains the desired state of whether default sNAT should
  * be disabled on the cluster.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1.DefaultSnatStatus}
  */
-public final class DefaultSnatStatus extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DefaultSnatStatus extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.DefaultSnatStatus)
     DefaultSnatStatusOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DefaultSnatStatus.newBuilder() to construct.
   private DefaultSnatStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DefaultSnatStatus() {}
+  private DefaultSnatStatus() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DefaultSnatStatus();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.DefaultSnatStatus.class,
-            com.google.container.v1.DefaultSnatStatus.Builder.class);
+            com.google.container.v1.DefaultSnatStatus.class, com.google.container.v1.DefaultSnatStatus.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Disables cluster default sNAT rules.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DefaultSnatStatus)) { return super.equals(obj); } - com.google.container.v1.DefaultSnatStatus other = - (com.google.container.v1.DefaultSnatStatus) obj; + com.google.container.v1.DefaultSnatStatus other = (com.google.container.v1.DefaultSnatStatus) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.DefaultSnatStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.DefaultSnatStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DefaultSnatStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DefaultSnatStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DefaultSnatStatus parseFrom( 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.DefaultSnatStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DefaultSnatStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.DefaultSnatStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DefaultSnatStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.DefaultSnatStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.DefaultSnatStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.DefaultSnatStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DefaultSnatStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DefaultSnatStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.DefaultSnatStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DefaultSnatStatus contains the desired state of whether default sNAT should
    * be disabled on the cluster.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.DefaultSnatStatus}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.DefaultSnatStatus)
       com.google.container.v1.DefaultSnatStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.DefaultSnatStatus.class,
-              com.google.container.v1.DefaultSnatStatus.Builder.class);
+              com.google.container.v1.DefaultSnatStatus.class, com.google.container.v1.DefaultSnatStatus.Builder.class);
     }
 
     // Construct using com.google.container.v1.DefaultSnatStatus.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1.DefaultSnatStatus build() {
 
     @java.lang.Override
     public com.google.container.v1.DefaultSnatStatus buildPartial() {
-      com.google.container.v1.DefaultSnatStatus result =
-          new com.google.container.v1.DefaultSnatStatus(this);
+      com.google.container.v1.DefaultSnatStatus result = new com.google.container.v1.DefaultSnatStatus(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1.DefaultSnatStatus buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.DefaultSnatStatus) {
-        return mergeFrom((com.google.container.v1.DefaultSnatStatus) other);
+        return mergeFrom((com.google.container.v1.DefaultSnatStatus)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -413,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -430,43 +398,37 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.DefaultSnatStatus) } // @@protoc_insertion_point(class_scope:google.container.v1.DefaultSnatStatus) private static final com.google.container.v1.DefaultSnatStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.DefaultSnatStatus(); } @@ -490,27 +452,27 @@ public static com.google.container.v1.DefaultSnatStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DefaultSnatStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DefaultSnatStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DefaultSnatStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java new file mode 100644 index 000000000000..f0e89de1a17b --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface DefaultSnatStatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.DefaultSnatStatus) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Disables cluster default sNAT rules.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 44d284957ab2..5b4d7d4c02cb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * DeleteClusterRequest deletes a cluster.
  * 
* * Protobuf type {@code google.container.v1.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteClusterRequest.class, - com.google.container.v1.DeleteClusterRequest.Builder.class); + com.google.container.v1.DeleteClusterRequest.class, com.google.container.v1.DeleteClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The name. */ @java.lang.Override @@ -267,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -299,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -353,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DeleteClusterRequest)) { return super.equals(obj); } - com.google.container.v1.DeleteClusterRequest other = - (com.google.container.v1.DeleteClusterRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.DeleteClusterRequest other = (com.google.container.v1.DeleteClusterRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,136 +355,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DeleteClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.DeleteClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DeleteClusterRequest parseFrom( 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.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.DeleteClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DeleteClusterRequest deletes a cluster.
    * 
* * Protobuf type {@code google.container.v1.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.DeleteClusterRequest) com.google.container.v1.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteClusterRequest.class, - com.google.container.v1.DeleteClusterRequest.Builder.class); + com.google.container.v1.DeleteClusterRequest.class, com.google.container.v1.DeleteClusterRequest.Builder.class); } // Construct using com.google.container.v1.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -555,8 +515,7 @@ public com.google.container.v1.DeleteClusterRequest build() { @java.lang.Override public com.google.container.v1.DeleteClusterRequest buildPartial() { - com.google.container.v1.DeleteClusterRequest result = - new com.google.container.v1.DeleteClusterRequest(this); + com.google.container.v1.DeleteClusterRequest result = new com.google.container.v1.DeleteClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -569,39 +528,38 @@ public com.google.container.v1.DeleteClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DeleteClusterRequest) { - return mergeFrom((com.google.container.v1.DeleteClusterRequest) other); + return mergeFrom((com.google.container.v1.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -652,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -695,8 +648,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,16 +655,15 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -722,8 +672,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -731,17 +679,17 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -749,8 +697,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -758,25 +704,22 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -784,21 +727,17 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -806,19 +745,18 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -826,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -836,16 +772,15 @@ 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=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -854,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -864,17 +797,17 @@ 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=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -882,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -892,25 +823,22 @@ 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=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -919,21 +847,17 @@ 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=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -942,19 +866,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,24 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -988,25 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1014,73 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1088,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1111,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1134,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1208,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.DeleteClusterRequest) private static final com.google.container.v1.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.DeleteClusterRequest(); } @@ -1222,27 +1120,27 @@ public static com.google.container.v1.DeleteClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index e8a410580ce8..ff047c730125 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DeleteClusterRequestOrBuilder - extends +public interface DeleteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2541 + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,71 +58,58 @@ public interface DeleteClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2547 + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2551 + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 0ebd6476a8c6..7a69619775d4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * DeleteNodePoolRequest deletes a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1.DeleteNodePoolRequest} */ -public final class DeleteNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.DeleteNodePoolRequest) DeleteNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteNodePoolRequest.newBuilder() to construct. private DeleteNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private DeleteNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteNodePoolRequest.class, - com.google.container.v1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1.DeleteNodePoolRequest.class, com.google.container.v1.DeleteNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,53 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -308,8 +269,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -317,7 +276,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -326,15 +284,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -342,15 +299,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -359,7 +317,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,7 +328,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -419,19 +377,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DeleteNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1.DeleteNodePoolRequest other = - (com.google.container.v1.DeleteNodePoolRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.DeleteNodePoolRequest other = (com.google.container.v1.DeleteNodePoolRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,136 +420,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.DeleteNodePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom( 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.DeleteNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.DeleteNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.DeleteNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.DeleteNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.DeleteNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DeleteNodePoolRequest deletes a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1.DeleteNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.DeleteNodePoolRequest) com.google.container.v1.DeleteNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteNodePoolRequest.class, - com.google.container.v1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1.DeleteNodePoolRequest.class, com.google.container.v1.DeleteNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.DeleteNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -605,9 +561,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; } @java.lang.Override @@ -626,8 +582,7 @@ public com.google.container.v1.DeleteNodePoolRequest build() { @java.lang.Override public com.google.container.v1.DeleteNodePoolRequest buildPartial() { - com.google.container.v1.DeleteNodePoolRequest result = - new com.google.container.v1.DeleteNodePoolRequest(this); + com.google.container.v1.DeleteNodePoolRequest result = new com.google.container.v1.DeleteNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -641,39 +596,38 @@ public com.google.container.v1.DeleteNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DeleteNodePoolRequest) { - return mergeFrom((com.google.container.v1.DeleteNodePoolRequest) other); + return mergeFrom((com.google.container.v1.DeleteNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -728,43 +682,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -777,8 +725,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -786,16 +732,15 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -804,8 +749,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -813,17 +756,17 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -831,8 +774,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -840,25 +781,22 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -866,21 +804,17 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -888,19 +822,18 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -908,8 +841,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -918,16 +849,15 @@ 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=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -936,8 +866,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -946,17 +874,17 @@ 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=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -964,8 +892,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -974,25 +900,22 @@ 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=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1001,21 +924,17 @@ 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=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1024,19 +943,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1044,24 +962,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1070,25 +985,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1096,73 +1009,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1170,24 +1073,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1196,25 +1096,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1222,73 +1120,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1296,8 +1184,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1305,13 +1191,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1320,8 +1206,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1329,14 +1213,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1344,8 +1229,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1353,22 +1236,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1376,18 +1257,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1395,23 +1273,23 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1421,12 +1299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.DeleteNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.DeleteNodePoolRequest) private static final com.google.container.v1.DeleteNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.DeleteNodePoolRequest(); } @@ -1435,27 +1313,27 @@ public static com.google.container.v1.DeleteNodePoolRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1470,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DeleteNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index 830737a8c19a..8b4f2e619189 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DeleteNodePoolRequestOrBuilder - extends +public interface DeleteNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.DeleteNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2743 + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2743 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface DeleteNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,83 +58,66 @@ public interface DeleteNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2749 + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2749 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2753 + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2753 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2757 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -171,13 +125,10 @@ public interface DeleteNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -185,8 +136,8 @@ public interface DeleteNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java index 42d89a27b8ec..c6d248736b20 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for NodeLocal DNSCache
  * 
* * Protobuf type {@code google.container.v1.DnsCacheConfig} */ -public final class DnsCacheConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DnsCacheConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.DnsCacheConfig) DnsCacheConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DnsCacheConfig.newBuilder() to construct. private DnsCacheConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DnsCacheConfig() {} + private DnsCacheConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DnsCacheConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DnsCacheConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DnsCacheConfig.class, - com.google.container.v1.DnsCacheConfig.Builder.class); + com.google.container.v1.DnsCacheConfig.class, com.google.container.v1.DnsCacheConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether NodeLocal DNSCache is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DnsCacheConfig)) { return super.equals(obj); } com.google.container.v1.DnsCacheConfig other = (com.google.container.v1.DnsCacheConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.DnsCacheConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.DnsCacheConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DnsCacheConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DnsCacheConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DnsCacheConfig parseFrom( 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.DnsCacheConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.DnsCacheConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.DnsCacheConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DnsCacheConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DnsCacheConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.DnsCacheConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.DnsCacheConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.DnsCacheConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.DnsCacheConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for NodeLocal DNSCache
    * 
* * Protobuf type {@code google.container.v1.DnsCacheConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.DnsCacheConfig) com.google.container.v1.DnsCacheConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DnsCacheConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DnsCacheConfig.class, - com.google.container.v1.DnsCacheConfig.Builder.class); + com.google.container.v1.DnsCacheConfig.class, com.google.container.v1.DnsCacheConfig.Builder.class); } // Construct using com.google.container.v1.DnsCacheConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_DnsCacheConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_descriptor; } @java.lang.Override @@ -306,8 +282,7 @@ public com.google.container.v1.DnsCacheConfig build() { @java.lang.Override public com.google.container.v1.DnsCacheConfig buildPartial() { - com.google.container.v1.DnsCacheConfig result = - new com.google.container.v1.DnsCacheConfig(this); + com.google.container.v1.DnsCacheConfig result = new com.google.container.v1.DnsCacheConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -317,39 +292,38 @@ public com.google.container.v1.DnsCacheConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DnsCacheConfig) { - return mergeFrom((com.google.container.v1.DnsCacheConfig) other); + return mergeFrom((com.google.container.v1.DnsCacheConfig)other); } else { super.mergeFrom(other); return this; @@ -387,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -410,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -427,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -473,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.DnsCacheConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.DnsCacheConfig) private static final com.google.container.v1.DnsCacheConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.DnsCacheConfig(); } @@ -487,27 +450,27 @@ public static com.google.container.v1.DnsCacheConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsCacheConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsCacheConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -522,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DnsCacheConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java new file mode 100644 index 000000000000..8acfad5ddae9 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface DnsCacheConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.DnsCacheConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether NodeLocal DNSCache is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java index d27a56c24022..00f506e5c418 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration of Fast Socket feature.
  * 
* * Protobuf type {@code google.container.v1.FastSocket} */ -public final class FastSocket extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FastSocket extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.FastSocket) FastSocketOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FastSocket.newBuilder() to construct. private FastSocket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FastSocket() {} + private FastSocket() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FastSocket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_FastSocket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_FastSocket_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.FastSocket.class, - com.google.container.v1.FastSocket.Builder.class); + com.google.container.v1.FastSocket.class, com.google.container.v1.FastSocket.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Fast Socket features are enabled in the node pool.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.FastSocket)) { return super.equals(obj); } com.google.container.v1.FastSocket other = (com.google.container.v1.FastSocket) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,141 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.FastSocket parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.FastSocket parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.FastSocket parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.FastSocket parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.FastSocket parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.FastSocket parseFrom( 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.FastSocket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.FastSocket parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.FastSocket parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.FastSocket parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.FastSocket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.FastSocket parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.FastSocket parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.FastSocket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.FastSocket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of Fast Socket feature.
    * 
* * Protobuf type {@code google.container.v1.FastSocket} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.FastSocket) com.google.container.v1.FastSocketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_FastSocket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_FastSocket_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.FastSocket.class, - com.google.container.v1.FastSocket.Builder.class); + com.google.container.v1.FastSocket.class, com.google.container.v1.FastSocket.Builder.class); } // Construct using com.google.container.v1.FastSocket.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -284,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_FastSocket_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_descriptor; } @java.lang.Override @@ -315,39 +292,38 @@ public com.google.container.v1.FastSocket buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.FastSocket) { - return mergeFrom((com.google.container.v1.FastSocket) other); + return mergeFrom((com.google.container.v1.FastSocket)other); } else { super.mergeFrom(other); return this; @@ -385,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -408,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -425,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -471,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.FastSocket) } // @@protoc_insertion_point(class_scope:google.container.v1.FastSocket) private static final com.google.container.v1.FastSocket DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.FastSocket(); } @@ -485,27 +450,27 @@ public static com.google.container.v1.FastSocket getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FastSocket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FastSocket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.FastSocket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java new file mode 100644 index 000000000000..0c7c51a0219c --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface FastSocketOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.FastSocket) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Fast Socket features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java index 78de9c49a70c..d80037c9480c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GPUSharingConfig represents the GPU sharing configuration for Hardware
  * Accelerators.
@@ -28,59 +11,54 @@
  *
  * Protobuf type {@code google.container.v1.GPUSharingConfig}
  */
-public final class GPUSharingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GPUSharingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GPUSharingConfig)
     GPUSharingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GPUSharingConfig.newBuilder() to construct.
   private GPUSharingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GPUSharingConfig() {
     gpuSharingStrategy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GPUSharingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GPUSharingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GPUSharingConfig.class,
-            com.google.container.v1.GPUSharingConfig.Builder.class);
+            com.google.container.v1.GPUSharingConfig.class, com.google.container.v1.GPUSharingConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of GPU sharing strategy currently provided.
    * 
* * Protobuf enum {@code google.container.v1.GPUSharingConfig.GPUSharingStrategy} */ - public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnum { + public enum GPUSharingStrategy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -89,8 +67,6 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu */ GPU_SHARING_STRATEGY_UNSPECIFIED(0), /** - * - * *
      * GPUs are time-shared between containers.
      * 
@@ -102,8 +78,6 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
      * Default value.
      * 
@@ -112,8 +86,6 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu */ public static final int GPU_SHARING_STRATEGY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * GPUs are time-shared between containers.
      * 
@@ -122,6 +94,7 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu */ public static final int TIME_SHARING_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -146,12 +119,9 @@ public static GPUSharingStrategy valueOf(int value) { */ public static GPUSharingStrategy forNumber(int value) { switch (value) { - case 0: - return GPU_SHARING_STRATEGY_UNSPECIFIED; - case 1: - return TIME_SHARING; - default: - return null; + case 0: return GPU_SHARING_STRATEGY_UNSPECIFIED; + case 1: return TIME_SHARING; + default: return null; } } @@ -159,28 +129,28 @@ public static GPUSharingStrategy forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + GPUSharingStrategy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GPUSharingStrategy findValueByNumber(int number) { + return GPUSharingStrategy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GPUSharingStrategy findValueByNumber(int number) { - return GPUSharingStrategy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.GPUSharingConfig.getDescriptor().getEnumTypes().get(0); } @@ -189,7 +159,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GPUSharingStrategy valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -210,14 +181,11 @@ private GPUSharingStrategy(int value) { public static final int MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 1; private long maxSharedClientsPerGpu_; /** - * - * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -228,64 +196,42 @@ public long getMaxSharedClientsPerGpu() { public static final int GPU_SHARING_STRATEGY_FIELD_NUMBER = 2; private int gpuSharingStrategy_; /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override - public boolean hasGpuSharingStrategy() { + @java.lang.Override public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override - public int getGpuSharingStrategyValue() { + @java.lang.Override public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The gpuSharingStrategy. */ - @java.lang.Override - public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + @java.lang.Override public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = - com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); - return result == null - ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED - : result; + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +243,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxSharedClientsPerGpu_ != 0L) { output.writeInt64(1, maxSharedClientsPerGpu_); } @@ -314,10 +261,12 @@ public int getSerializedSize() { size = 0; if (maxSharedClientsPerGpu_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxSharedClientsPerGpu_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, maxSharedClientsPerGpu_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, gpuSharingStrategy_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, gpuSharingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -327,14 +276,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GPUSharingConfig)) { return super.equals(obj); } com.google.container.v1.GPUSharingConfig other = (com.google.container.v1.GPUSharingConfig) obj; - if (getMaxSharedClientsPerGpu() != other.getMaxSharedClientsPerGpu()) return false; + if (getMaxSharedClientsPerGpu() + != other.getMaxSharedClientsPerGpu()) return false; if (hasGpuSharingStrategy() != other.hasGpuSharingStrategy()) return false; if (hasGpuSharingStrategy()) { if (gpuSharingStrategy_ != other.gpuSharingStrategy_) return false; @@ -351,7 +301,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxSharedClientsPerGpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxSharedClientsPerGpu()); if (hasGpuSharingStrategy()) { hash = (37 * hash) + GPU_SHARING_STRATEGY_FIELD_NUMBER; hash = (53 * hash) + gpuSharingStrategy_; @@ -361,104 +312,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GPUSharingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GPUSharingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GPUSharingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GPUSharingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GPUSharingConfig parseFrom( 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.GPUSharingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GPUSharingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GPUSharingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GPUSharingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GPUSharingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GPUSharingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GPUSharingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GPUSharingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GPUSharingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GPUSharingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GPUSharingConfig represents the GPU sharing configuration for Hardware
    * Accelerators.
@@ -466,32 +410,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.GPUSharingConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GPUSharingConfig)
       com.google.container.v1.GPUSharingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GPUSharingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GPUSharingConfig.class,
-              com.google.container.v1.GPUSharingConfig.Builder.class);
+              com.google.container.v1.GPUSharingConfig.class, com.google.container.v1.GPUSharingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.GPUSharingConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,9 +448,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GPUSharingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -524,8 +469,7 @@ public com.google.container.v1.GPUSharingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.GPUSharingConfig buildPartial() {
-      com.google.container.v1.GPUSharingConfig result =
-          new com.google.container.v1.GPUSharingConfig(this);
+      com.google.container.v1.GPUSharingConfig result = new com.google.container.v1.GPUSharingConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.maxSharedClientsPerGpu_ = maxSharedClientsPerGpu_;
@@ -542,39 +486,38 @@ public com.google.container.v1.GPUSharingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GPUSharingConfig) {
-        return mergeFrom((com.google.container.v1.GPUSharingConfig) other);
+        return mergeFrom((com.google.container.v1.GPUSharingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -615,25 +558,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                maxSharedClientsPerGpu_ = input.readInt64();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                gpuSharingStrategy_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              maxSharedClientsPerGpu_ = input.readInt64();
+
+              break;
+            } // case 8
+            case 16: {
+              gpuSharingStrategy_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -643,19 +583,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long maxSharedClientsPerGpu_;
+    private long maxSharedClientsPerGpu_ ;
     /**
-     *
-     *
      * 
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -663,36 +599,30 @@ public long getMaxSharedClientsPerGpu() { return maxSharedClientsPerGpu_; } /** - * - * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; - * * @param value The maxSharedClientsPerGpu to set. * @return This builder for chaining. */ public Builder setMaxSharedClientsPerGpu(long value) { - + maxSharedClientsPerGpu_ = value; onChanged(); return this; } /** - * - * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return This builder for chaining. */ public Builder clearMaxSharedClientsPerGpu() { - + maxSharedClientsPerGpu_ = 0L; onChanged(); return this; @@ -700,50 +630,33 @@ public Builder clearMaxSharedClientsPerGpu() { private int gpuSharingStrategy_ = 0; /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override - public boolean hasGpuSharingStrategy() { + @java.lang.Override public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override - public int getGpuSharingStrategyValue() { + @java.lang.Override public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @param value The enum numeric value on the wire for gpuSharingStrategy to set. * @return This builder for chaining. */ @@ -754,43 +667,29 @@ public Builder setGpuSharingStrategyValue(int value) { return this; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The gpuSharingStrategy. */ @java.lang.Override public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = - com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); - return result == null - ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED - : result; + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @param value The gpuSharingStrategy to set. * @return This builder for chaining. */ - public Builder setGpuSharingStrategy( - com.google.container.v1.GPUSharingConfig.GPUSharingStrategy value) { + public Builder setGpuSharingStrategy(com.google.container.v1.GPUSharingConfig.GPUSharingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -800,16 +699,11 @@ public Builder setGpuSharingStrategy( return this; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return This builder for chaining. */ public Builder clearGpuSharingStrategy() { @@ -818,9 +712,9 @@ public Builder clearGpuSharingStrategy() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -830,12 +724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GPUSharingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GPUSharingConfig) private static final com.google.container.v1.GPUSharingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GPUSharingConfig(); } @@ -844,27 +738,27 @@ public static com.google.container.v1.GPUSharingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GPUSharingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GPUSharingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -879,4 +773,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GPUSharingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java index b259514e2645..cd7d0b60981f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java @@ -1,80 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface GPUSharingConfigOrBuilder - extends +public interface GPUSharingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GPUSharingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return The maxSharedClientsPerGpu. */ long getMaxSharedClientsPerGpu(); /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return Whether the gpuSharingStrategy field is set. */ boolean hasGpuSharingStrategy(); /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The enum numeric value on the wire for gpuSharingStrategy. */ int getGpuSharingStrategyValue(); /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The gpuSharingStrategy. */ com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java index cf2a66a6776e..03a3cd464a1c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java @@ -1,75 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
  * 
* * Protobuf type {@code google.container.v1.GatewayAPIConfig} */ -public final class GatewayAPIConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GatewayAPIConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GatewayAPIConfig) GatewayAPIConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GatewayAPIConfig.newBuilder() to construct. private GatewayAPIConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GatewayAPIConfig() { channel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GatewayAPIConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GatewayAPIConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GatewayAPIConfig.class, - com.google.container.v1.GatewayAPIConfig.Builder.class); + com.google.container.v1.GatewayAPIConfig.class, com.google.container.v1.GatewayAPIConfig.Builder.class); } /** - * - * *
    * Channel describes if/how Gateway API should be installed and implemented in
    * a cluster.
@@ -77,10 +56,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1.GatewayAPIConfig.Channel}
    */
-  public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Channel
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -89,8 +67,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ CHANNEL_UNSPECIFIED(0), /** - * - * *
      * Gateway API support is disabled
      * 
@@ -99,8 +75,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ CHANNEL_DISABLED(1), /** - * - * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -109,8 +83,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ CHANNEL_EXPERIMENTAL(3), /** - * - * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -122,8 +94,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -132,8 +102,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Gateway API support is disabled
      * 
@@ -142,8 +110,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_DISABLED_VALUE = 1; /** - * - * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -152,8 +118,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_EXPERIMENTAL_VALUE = 3; /** - * - * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -162,6 +126,7 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_STANDARD_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,51 +151,50 @@ public static Channel valueOf(int value) { */ public static Channel forNumber(int value) { switch (value) { - case 0: - return CHANNEL_UNSPECIFIED; - case 1: - return CHANNEL_DISABLED; - case 3: - return CHANNEL_EXPERIMENTAL; - case 4: - return CHANNEL_STANDARD; - default: - return null; + case 0: return CHANNEL_UNSPECIFIED; + case 1: return CHANNEL_DISABLED; + case 3: return CHANNEL_EXPERIMENTAL; + case 4: return CHANNEL_STANDARD; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Channel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Channel findValueByNumber(int number) { + return Channel.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Channel findValueByNumber(int number) { - return Channel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.GatewayAPIConfig.getDescriptor().getEnumTypes().get(0); } private static final Channel[] VALUES = values(); - public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Channel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -250,41 +214,31 @@ private Channel(int value) { public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @return The channel. */ - @java.lang.Override - public com.google.container.v1.GatewayAPIConfig.Channel getChannel() { + @java.lang.Override public com.google.container.v1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.GatewayAPIConfig.Channel result = - com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); + com.google.container.v1.GatewayAPIConfig.Channel result = com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); return result == null ? com.google.container.v1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,9 +250,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (channel_ - != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (channel_ != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } getUnknownFields().writeTo(output); @@ -310,9 +264,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (channel_ - != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); + if (channel_ != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -322,7 +276,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GatewayAPIConfig)) { return super.equals(obj); @@ -348,136 +302,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GatewayAPIConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GatewayAPIConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GatewayAPIConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GatewayAPIConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GatewayAPIConfig parseFrom( 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.GatewayAPIConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GatewayAPIConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GatewayAPIConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GatewayAPIConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GatewayAPIConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GatewayAPIConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GatewayAPIConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GatewayAPIConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GatewayAPIConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GatewayAPIConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
    * 
* * Protobuf type {@code google.container.v1.GatewayAPIConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GatewayAPIConfig) com.google.container.v1.GatewayAPIConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GatewayAPIConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GatewayAPIConfig.class, - com.google.container.v1.GatewayAPIConfig.Builder.class); + com.google.container.v1.GatewayAPIConfig.class, com.google.container.v1.GatewayAPIConfig.Builder.class); } // Construct using com.google.container.v1.GatewayAPIConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GatewayAPIConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_descriptor; } @java.lang.Override @@ -508,8 +456,7 @@ public com.google.container.v1.GatewayAPIConfig build() { @java.lang.Override public com.google.container.v1.GatewayAPIConfig buildPartial() { - com.google.container.v1.GatewayAPIConfig result = - new com.google.container.v1.GatewayAPIConfig(this); + com.google.container.v1.GatewayAPIConfig result = new com.google.container.v1.GatewayAPIConfig(this); result.channel_ = channel_; onBuilt(); return result; @@ -519,39 +466,38 @@ public com.google.container.v1.GatewayAPIConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GatewayAPIConfig) { - return mergeFrom((com.google.container.v1.GatewayAPIConfig) other); + return mergeFrom((com.google.container.v1.GatewayAPIConfig)other); } else { super.mergeFrom(other); return this; @@ -589,19 +535,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - channel_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + channel_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,67 +558,51 @@ public Builder mergeFrom( private int channel_ = 0; /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @return The channel. */ @java.lang.Override public com.google.container.v1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.GatewayAPIConfig.Channel result = - com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1.GatewayAPIConfig.Channel.UNRECOGNIZED - : result; + com.google.container.v1.GatewayAPIConfig.Channel result = com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); + return result == null ? com.google.container.v1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @param value The channel to set. * @return This builder for chaining. */ @@ -682,31 +610,28 @@ public Builder setChannel(com.google.container.v1.GatewayAPIConfig.Channel value if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -716,12 +641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GatewayAPIConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GatewayAPIConfig) private static final com.google.container.v1.GatewayAPIConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GatewayAPIConfig(); } @@ -730,27 +655,27 @@ public static com.google.container.v1.GatewayAPIConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GatewayAPIConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GatewayAPIConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -765,4 +690,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GatewayAPIConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java similarity index 54% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java index f3c6d01e77ce..0b046cd810cc 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface GatewayAPIConfigOrBuilder - extends +public interface GatewayAPIConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GatewayAPIConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; - * * @return The channel. */ com.google.container.v1.GatewayAPIConfig.Channel getChannel(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java index dd335385d18c..dfe9fa7b5120 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java @@ -1,82 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for the Compute Engine PD CSI driver.
  * 
* * Protobuf type {@code google.container.v1.GcePersistentDiskCsiDriverConfig} */ -public final class GcePersistentDiskCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcePersistentDiskCsiDriverConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GcePersistentDiskCsiDriverConfig) GcePersistentDiskCsiDriverConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcePersistentDiskCsiDriverConfig.newBuilder() to construct. - private GcePersistentDiskCsiDriverConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GcePersistentDiskCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcePersistentDiskCsiDriverConfig() {} + private GcePersistentDiskCsiDriverConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcePersistentDiskCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, - com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the Compute Engine PD CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GcePersistentDiskCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1.GcePersistentDiskCsiDriverConfig other = - (com.google.container.v1.GcePersistentDiskCsiDriverConfig) obj; + com.google.container.v1.GcePersistentDiskCsiDriverConfig other = (com.google.container.v1.GcePersistentDiskCsiDriverConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,143 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( 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.GcePersistentDiskCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.GcePersistentDiskCsiDriverConfig prototype) { + public static Builder newBuilder(com.google.container.v1.GcePersistentDiskCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the Compute Engine PD CSI driver.
    * 
* * Protobuf type {@code google.container.v1.GcePersistentDiskCsiDriverConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GcePersistentDiskCsiDriverConfig) com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, - com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1.GcePersistentDiskCsiDriverConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -288,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override @@ -309,8 +282,7 @@ public com.google.container.v1.GcePersistentDiskCsiDriverConfig build() { @java.lang.Override public com.google.container.v1.GcePersistentDiskCsiDriverConfig buildPartial() { - com.google.container.v1.GcePersistentDiskCsiDriverConfig result = - new com.google.container.v1.GcePersistentDiskCsiDriverConfig(this); + com.google.container.v1.GcePersistentDiskCsiDriverConfig result = new com.google.container.v1.GcePersistentDiskCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -320,39 +292,38 @@ public com.google.container.v1.GcePersistentDiskCsiDriverConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GcePersistentDiskCsiDriverConfig) { - return mergeFrom((com.google.container.v1.GcePersistentDiskCsiDriverConfig) other); + return mergeFrom((com.google.container.v1.GcePersistentDiskCsiDriverConfig)other); } else { super.mergeFrom(other); return this; @@ -360,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.GcePersistentDiskCsiDriverConfig other) { - if (other == com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -391,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -414,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -431,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -477,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GcePersistentDiskCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GcePersistentDiskCsiDriverConfig) private static final com.google.container.v1.GcePersistentDiskCsiDriverConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GcePersistentDiskCsiDriverConfig(); } @@ -491,27 +450,27 @@ public static com.google.container.v1.GcePersistentDiskCsiDriverConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcePersistentDiskCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcePersistentDiskCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -526,4 +485,6 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1.GcePersistentDiskCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..c2d5188e850b --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GcePersistentDiskCsiDriverConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GcePersistentDiskCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java index c8e4473ab13e..77fb6152731a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GcfsConfig contains configurations of Google Container File System
  * (image streaming).
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1.GcfsConfig}
  */
-public final class GcfsConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GcfsConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GcfsConfig)
     GcfsConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GcfsConfig.newBuilder() to construct.
   private GcfsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private GcfsConfig() {}
+  private GcfsConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GcfsConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GcfsConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GcfsConfig.class,
-            com.google.container.v1.GcfsConfig.Builder.class);
+            com.google.container.v1.GcfsConfig.class, com.google.container.v1.GcfsConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Whether to use GCFS.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,14 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GcfsConfig)) { return super.equals(obj); } com.google.container.v1.GcfsConfig other = (com.google.container.v1.GcfsConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,109 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.GcfsConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GcfsConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcfsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcfsConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.GcfsConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcfsConfig parseFrom( 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.GcfsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcfsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GcfsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GcfsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GcfsConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GcfsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GcfsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GcfsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GcfsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GcfsConfig contains configurations of Google Container File System
    * (image streaming).
@@ -251,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.GcfsConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GcfsConfig)
       com.google.container.v1.GcfsConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GcfsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GcfsConfig.class,
-              com.google.container.v1.GcfsConfig.Builder.class);
+              com.google.container.v1.GcfsConfig.class, com.google.container.v1.GcfsConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.GcfsConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -286,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GcfsConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_descriptor;
     }
 
     @java.lang.Override
@@ -317,39 +294,38 @@ public com.google.container.v1.GcfsConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GcfsConfig) {
-        return mergeFrom((com.google.container.v1.GcfsConfig) other);
+        return mergeFrom((com.google.container.v1.GcfsConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -387,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -410,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether to use GCFS.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -427,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -473,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GcfsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GcfsConfig) private static final com.google.container.v1.GcfsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GcfsConfig(); } @@ -487,27 +452,27 @@ public static com.google.container.v1.GcfsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcfsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcfsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -522,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GcfsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java new file mode 100644 index 000000000000..6e8550f61df3 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GcfsConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GcfsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether to use GCFS.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java index 80e4e8242622..dfbcbe0303a3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for the GCP Filestore CSI driver.
  * 
* * Protobuf type {@code google.container.v1.GcpFilestoreCsiDriverConfig} */ -public final class GcpFilestoreCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcpFilestoreCsiDriverConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GcpFilestoreCsiDriverConfig) GcpFilestoreCsiDriverConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcpFilestoreCsiDriverConfig.newBuilder() to construct. private GcpFilestoreCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcpFilestoreCsiDriverConfig() {} + private GcpFilestoreCsiDriverConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcpFilestoreCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcpFilestoreCsiDriverConfig.class, - com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the GCP Filestore CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GcpFilestoreCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1.GcpFilestoreCsiDriverConfig other = - (com.google.container.v1.GcpFilestoreCsiDriverConfig) obj; + com.google.container.v1.GcpFilestoreCsiDriverConfig other = (com.google.container.v1.GcpFilestoreCsiDriverConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( 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.GcpFilestoreCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GcpFilestoreCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* * Protobuf type {@code google.container.v1.GcpFilestoreCsiDriverConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GcpFilestoreCsiDriverConfig) com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcpFilestoreCsiDriverConfig.class, - com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1.GcpFilestoreCsiDriverConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.GcpFilestoreCsiDriverConfig build() { @java.lang.Override public com.google.container.v1.GcpFilestoreCsiDriverConfig buildPartial() { - com.google.container.v1.GcpFilestoreCsiDriverConfig result = - new com.google.container.v1.GcpFilestoreCsiDriverConfig(this); + com.google.container.v1.GcpFilestoreCsiDriverConfig result = new com.google.container.v1.GcpFilestoreCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.GcpFilestoreCsiDriverConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GcpFilestoreCsiDriverConfig) { - return mergeFrom((com.google.container.v1.GcpFilestoreCsiDriverConfig) other); + return mergeFrom((com.google.container.v1.GcpFilestoreCsiDriverConfig)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.GcpFilestoreCsiDriverConfig other) { - if (other == com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GcpFilestoreCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GcpFilestoreCsiDriverConfig) private static final com.google.container.v1.GcpFilestoreCsiDriverConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GcpFilestoreCsiDriverConfig(); } @@ -489,27 +450,27 @@ public static com.google.container.v1.GcpFilestoreCsiDriverConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcpFilestoreCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcpFilestoreCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.GcpFilestoreCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..5e164058f180 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GcpFilestoreCsiDriverConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GcpFilestoreCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the GCP Filestore CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index 5e06f7d47d3f..2e16d5eb8b30 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GetClusterRequest gets the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetClusterRequest.class, - com.google.container.v1.GetClusterRequest.Builder.class); + com.google.container.v1.GetClusterRequest.class, com.google.container.v1.GetClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -267,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -299,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -353,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetClusterRequest)) { return super.equals(obj); } - com.google.container.v1.GetClusterRequest other = - (com.google.container.v1.GetClusterRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.GetClusterRequest other = (com.google.container.v1.GetClusterRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,136 +355,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GetClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetClusterRequest parseFrom( 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.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetClusterRequest gets the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetClusterRequest) com.google.container.v1.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetClusterRequest.class, - com.google.container.v1.GetClusterRequest.Builder.class); + com.google.container.v1.GetClusterRequest.class, com.google.container.v1.GetClusterRequest.Builder.class); } // Construct using com.google.container.v1.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_descriptor; } @java.lang.Override @@ -555,8 +515,7 @@ public com.google.container.v1.GetClusterRequest build() { @java.lang.Override public com.google.container.v1.GetClusterRequest buildPartial() { - com.google.container.v1.GetClusterRequest result = - new com.google.container.v1.GetClusterRequest(this); + com.google.container.v1.GetClusterRequest result = new com.google.container.v1.GetClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -569,39 +528,38 @@ public com.google.container.v1.GetClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetClusterRequest) { - return mergeFrom((com.google.container.v1.GetClusterRequest) other); + return mergeFrom((com.google.container.v1.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -652,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -695,8 +648,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,16 +655,15 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -722,8 +672,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -731,17 +679,17 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -749,8 +697,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -758,25 +704,22 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -784,21 +727,17 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -806,19 +745,18 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -826,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -836,16 +772,15 @@ 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=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -854,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -864,17 +797,17 @@ 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=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -882,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -892,25 +823,22 @@ 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=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -919,21 +847,17 @@ 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=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -942,19 +866,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,24 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -988,25 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1014,73 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1088,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1111,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1134,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1208,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetClusterRequest) private static final com.google.container.v1.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GetClusterRequest(); } @@ -1222,27 +1120,27 @@ public static com.google.container.v1.GetClusterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index 5de52c61783d..69fa39f86ad0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetClusterRequestOrBuilder - extends +public interface GetClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2157 + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2157 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface GetClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,71 +58,58 @@ public interface GetClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2163 + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2163 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2167 + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2167 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java index 1c531d01ced4..ec1b4c61bb77 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GetJSONWebKeysRequest gets the public component of the keys used by the
  * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -30,58 +13,53 @@
  *
  * Protobuf type {@code google.container.v1.GetJSONWebKeysRequest}
  */
-public final class GetJSONWebKeysRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetJSONWebKeysRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GetJSONWebKeysRequest)
     GetJSONWebKeysRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetJSONWebKeysRequest.newBuilder() to construct.
   private GetJSONWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetJSONWebKeysRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetJSONWebKeysRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GetJSONWebKeysRequest.class,
-            com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
+            com.google.container.v1.GetJSONWebKeysRequest.class, com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,7 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -158,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetJSONWebKeysRequest)) { return super.equals(obj); } - com.google.container.v1.GetJSONWebKeysRequest other = - (com.google.container.v1.GetJSONWebKeysRequest) obj; + com.google.container.v1.GetJSONWebKeysRequest other = (com.google.container.v1.GetJSONWebKeysRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,104 +163,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetJSONWebKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( 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.GetJSONWebKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GetJSONWebKeysRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GetJSONWebKeysRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GetJSONWebKeysRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GetJSONWebKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetJSONWebKeysRequest gets the public component of the keys used by the
    * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -292,32 +263,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.GetJSONWebKeysRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GetJSONWebKeysRequest)
       com.google.container.v1.GetJSONWebKeysRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GetJSONWebKeysRequest.class,
-              com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
+              com.google.container.v1.GetJSONWebKeysRequest.class, com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.GetJSONWebKeysRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +299,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,8 +320,7 @@ public com.google.container.v1.GetJSONWebKeysRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.GetJSONWebKeysRequest buildPartial() {
-      com.google.container.v1.GetJSONWebKeysRequest result =
-          new com.google.container.v1.GetJSONWebKeysRequest(this);
+      com.google.container.v1.GetJSONWebKeysRequest result = new com.google.container.v1.GetJSONWebKeysRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -359,39 +330,38 @@ public com.google.container.v1.GetJSONWebKeysRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GetJSONWebKeysRequest) {
-        return mergeFrom((com.google.container.v1.GetJSONWebKeysRequest) other);
+        return mergeFrom((com.google.container.v1.GetJSONWebKeysRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -430,19 +400,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              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) {
@@ -455,21 +423,19 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -478,22 +444,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -501,71 +466,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -575,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GetJSONWebKeysRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetJSONWebKeysRequest) private static final com.google.container.v1.GetJSONWebKeysRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GetJSONWebKeysRequest(); } @@ -589,27 +547,27 @@ public static com.google.container.v1.GetJSONWebKeysRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJSONWebKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJSONWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -624,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetJSONWebKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java similarity index 53% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java index bb47f6a3dd8f..73a69640e1a2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetJSONWebKeysRequestOrBuilder - extends +public interface GetJSONWebKeysRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetJSONWebKeysRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java index fe085f38f8f2..7bccb3c18b78 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
  * 
* * Protobuf type {@code google.container.v1.GetJSONWebKeysResponse} */ -public final class GetJSONWebKeysResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJSONWebKeysResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GetJSONWebKeysResponse) GetJSONWebKeysResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJSONWebKeysResponse.newBuilder() to construct. private GetJSONWebKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJSONWebKeysResponse() { keys_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJSONWebKeysResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetJSONWebKeysResponse.class, - com.google.container.v1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1.GetJSONWebKeysResponse.class, com.google.container.v1.GetJSONWebKeysResponse.Builder.class); } public static final int KEYS_FIELD_NUMBER = 1; private java.util.List keys_; /** - * - * *
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -84,8 +63,6 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -94,12 +71,11 @@ public java.util.List getKeysList() {
    * repeated .google.container.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public java.util.List getKeysOrBuilderList() {
+  public java.util.List 
+      getKeysOrBuilderList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -112,8 +88,6 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -126,8 +100,6 @@ public com.google.container.v1.Jwk getKeys(int index) {
     return keys_.get(index);
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -136,12 +108,12 @@ public com.google.container.v1.Jwk getKeys(int index) {
    * repeated .google.container.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(int index) {
+  public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
+      int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -153,7 +125,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -167,7 +140,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -177,15 +151,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.GetJSONWebKeysResponse)) {
       return super.equals(obj);
     }
-    com.google.container.v1.GetJSONWebKeysResponse other =
-        (com.google.container.v1.GetJSONWebKeysResponse) obj;
+    com.google.container.v1.GetJSONWebKeysResponse other = (com.google.container.v1.GetJSONWebKeysResponse) obj;
 
-    if (!getKeysList().equals(other.getKeysList())) return false;
+    if (!getKeysList()
+        .equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -206,136 +180,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
       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.GetJSONWebKeysResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1.GetJSONWebKeysResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1.GetJSONWebKeysResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.GetJSONWebKeysResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
    * 
* * Protobuf type {@code google.container.v1.GetJSONWebKeysResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetJSONWebKeysResponse) com.google.container.v1.GetJSONWebKeysResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetJSONWebKeysResponse.class, - com.google.container.v1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1.GetJSONWebKeysResponse.class, com.google.container.v1.GetJSONWebKeysResponse.Builder.class); } // Construct using com.google.container.v1.GetJSONWebKeysResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override @@ -371,8 +339,7 @@ public com.google.container.v1.GetJSONWebKeysResponse build() { @java.lang.Override public com.google.container.v1.GetJSONWebKeysResponse buildPartial() { - com.google.container.v1.GetJSONWebKeysResponse result = - new com.google.container.v1.GetJSONWebKeysResponse(this); + com.google.container.v1.GetJSONWebKeysResponse result = new com.google.container.v1.GetJSONWebKeysResponse(this); int from_bitField0_ = bitField0_; if (keysBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -391,39 +358,38 @@ public com.google.container.v1.GetJSONWebKeysResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetJSONWebKeysResponse) { - return mergeFrom((com.google.container.v1.GetJSONWebKeysResponse) other); + return mergeFrom((com.google.container.v1.GetJSONWebKeysResponse)other); } else { super.mergeFrom(other); return this; @@ -450,10 +416,9 @@ public Builder mergeFrom(com.google.container.v1.GetJSONWebKeysResponse other) { keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getKeysFieldBuilder() - : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKeysFieldBuilder() : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -485,25 +450,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1.Jwk m = - input.readMessage(com.google.container.v1.Jwk.parser(), extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1.Jwk m = + input.readMessage( + com.google.container.v1.Jwk.parser(), + extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -513,27 +478,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List keys_ = java.util.Collections.emptyList(); - + private java.util.List keys_ = + java.util.Collections.emptyList(); private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Jwk, - com.google.container.v1.Jwk.Builder, - com.google.container.v1.JwkOrBuilder> - keysBuilder_; + com.google.container.v1.Jwk, com.google.container.v1.Jwk.Builder, com.google.container.v1.JwkOrBuilder> keysBuilder_; /** - * - * *
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -549,8 +508,6 @@ public java.util.List getKeysList() {
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -566,8 +523,6 @@ public int getKeysCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -583,8 +538,6 @@ public com.google.container.v1.Jwk getKeys(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -592,7 +545,8 @@ public com.google.container.v1.Jwk getKeys(int index) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder setKeys(int index, com.google.container.v1.Jwk value) {
+    public Builder setKeys(
+        int index, com.google.container.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -606,8 +560,6 @@ public Builder setKeys(int index, com.google.container.v1.Jwk value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -615,7 +567,8 @@ public Builder setKeys(int index, com.google.container.v1.Jwk value) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder setKeys(int index, com.google.container.v1.Jwk.Builder builderForValue) {
+    public Builder setKeys(
+        int index, com.google.container.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -626,8 +579,6 @@ public Builder setKeys(int index, com.google.container.v1.Jwk.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -649,8 +600,6 @@ public Builder addKeys(com.google.container.v1.Jwk value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -658,7 +607,8 @@ public Builder addKeys(com.google.container.v1.Jwk value) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addKeys(int index, com.google.container.v1.Jwk value) {
+    public Builder addKeys(
+        int index, com.google.container.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -672,8 +622,6 @@ public Builder addKeys(int index, com.google.container.v1.Jwk value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -681,7 +629,8 @@ public Builder addKeys(int index, com.google.container.v1.Jwk value) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addKeys(com.google.container.v1.Jwk.Builder builderForValue) {
+    public Builder addKeys(
+        com.google.container.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -692,8 +641,6 @@ public Builder addKeys(com.google.container.v1.Jwk.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -701,7 +648,8 @@ public Builder addKeys(com.google.container.v1.Jwk.Builder builderForValue) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addKeys(int index, com.google.container.v1.Jwk.Builder builderForValue) {
+    public Builder addKeys(
+        int index, com.google.container.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -712,8 +660,6 @@ public Builder addKeys(int index, com.google.container.v1.Jwk.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -721,10 +667,12 @@ public Builder addKeys(int index, com.google.container.v1.Jwk.Builder builderFor
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addAllKeys(java.lang.Iterable values) {
+    public Builder addAllKeys(
+        java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -732,8 +680,6 @@ public Builder addAllKeys(java.lang.Iterable
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -752,8 +698,6 @@ public Builder clearKeys() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -772,8 +716,6 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -781,12 +723,11 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public com.google.container.v1.Jwk.Builder getKeysBuilder(int index) {
+    public com.google.container.v1.Jwk.Builder getKeysBuilder(
+        int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -794,16 +735,14 @@ public com.google.container.v1.Jwk.Builder getKeysBuilder(int index) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(int index) {
+    public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
+        int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);
-      } else {
+        return keys_.get(index);  } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -811,7 +750,8 @@ public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(int index) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public java.util.List getKeysOrBuilderList() {
+    public java.util.List 
+         getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -819,8 +759,6 @@ public java.util.List getKeysOrB
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -829,11 +767,10 @@ public java.util.List getKeysOrB
      * repeated .google.container.v1.Jwk keys = 1;
      */
     public com.google.container.v1.Jwk.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(com.google.container.v1.Jwk.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(
+          com.google.container.v1.Jwk.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -841,13 +778,12 @@ public com.google.container.v1.Jwk.Builder addKeysBuilder() {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public com.google.container.v1.Jwk.Builder addKeysBuilder(int index) {
-      return getKeysFieldBuilder()
-          .addBuilder(index, com.google.container.v1.Jwk.getDefaultInstance());
+    public com.google.container.v1.Jwk.Builder addKeysBuilder(
+        int index) {
+      return getKeysFieldBuilder().addBuilder(
+          index, com.google.container.v1.Jwk.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -855,29 +791,27 @@ public com.google.container.v1.Jwk.Builder addKeysBuilder(int index) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public java.util.List getKeysBuilderList() {
+    public java.util.List 
+         getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.Jwk,
-            com.google.container.v1.Jwk.Builder,
-            com.google.container.v1.JwkOrBuilder>
+        com.google.container.v1.Jwk, com.google.container.v1.Jwk.Builder, com.google.container.v1.JwkOrBuilder> 
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1.Jwk,
-                com.google.container.v1.Jwk.Builder,
-                com.google.container.v1.JwkOrBuilder>(
-                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1.Jwk, com.google.container.v1.Jwk.Builder, com.google.container.v1.JwkOrBuilder>(
+                keys_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -887,12 +821,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.GetJSONWebKeysResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.GetJSONWebKeysResponse)
   private static final com.google.container.v1.GetJSONWebKeysResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.GetJSONWebKeysResponse();
   }
@@ -901,27 +835,27 @@ public static com.google.container.v1.GetJSONWebKeysResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GetJSONWebKeysResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GetJSONWebKeysResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -936,4 +870,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.GetJSONWebKeysResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
similarity index 61%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
index dcc6e6f26894..0031bb1117a5 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface GetJSONWebKeysResponseOrBuilder
-    extends
+public interface GetJSONWebKeysResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.GetJSONWebKeysResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -33,10 +15,9 @@ public interface GetJSONWebKeysResponseOrBuilder
    *
    * repeated .google.container.v1.Jwk keys = 1;
    */
-  java.util.List getKeysList();
+  java.util.List 
+      getKeysList();
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -46,8 +27,6 @@ public interface GetJSONWebKeysResponseOrBuilder
    */
   com.google.container.v1.Jwk getKeys(int index);
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -57,8 +36,6 @@ public interface GetJSONWebKeysResponseOrBuilder
    */
   int getKeysCount();
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -66,10 +43,9 @@ public interface GetJSONWebKeysResponseOrBuilder
    *
    * repeated .google.container.v1.Jwk keys = 1;
    */
-  java.util.List getKeysOrBuilderList();
+  java.util.List 
+      getKeysOrBuilderList();
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -77,5 +53,6 @@ public interface GetJSONWebKeysResponseOrBuilder
    *
    * repeated .google.container.v1.Jwk keys = 1;
    */
-  com.google.container.v1.JwkOrBuilder getKeysOrBuilder(int index);
+  com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
+      int index);
 }
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java
similarity index 68%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java
index d8ce71728660..9ce43ce8f9b3 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * GetNodePoolRequest retrieves a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1.GetNodePoolRequest} */ -public final class GetNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GetNodePoolRequest) GetNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetNodePoolRequest.newBuilder() to construct. private GetNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private GetNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetNodePoolRequest.class, - com.google.container.v1.GetNodePoolRequest.Builder.class); + com.google.container.v1.GetNodePoolRequest.class, com.google.container.v1.GetNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,53 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -308,8 +269,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -317,7 +276,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -326,15 +284,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -342,15 +299,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -359,7 +317,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,7 +328,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -419,19 +377,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1.GetNodePoolRequest other = - (com.google.container.v1.GetNodePoolRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.GetNodePoolRequest other = (com.google.container.v1.GetNodePoolRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,136 +420,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetNodePoolRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GetNodePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetNodePoolRequest parseFrom( 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.GetNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GetNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GetNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GetNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GetNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GetNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetNodePoolRequest retrieves a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1.GetNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetNodePoolRequest) com.google.container.v1.GetNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetNodePoolRequest.class, - com.google.container.v1.GetNodePoolRequest.Builder.class); + com.google.container.v1.GetNodePoolRequest.class, com.google.container.v1.GetNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.GetNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -605,9 +561,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_descriptor; } @java.lang.Override @@ -626,8 +582,7 @@ public com.google.container.v1.GetNodePoolRequest build() { @java.lang.Override public com.google.container.v1.GetNodePoolRequest buildPartial() { - com.google.container.v1.GetNodePoolRequest result = - new com.google.container.v1.GetNodePoolRequest(this); + com.google.container.v1.GetNodePoolRequest result = new com.google.container.v1.GetNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -641,39 +596,38 @@ public com.google.container.v1.GetNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetNodePoolRequest) { - return mergeFrom((com.google.container.v1.GetNodePoolRequest) other); + return mergeFrom((com.google.container.v1.GetNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -728,43 +682,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -777,8 +725,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -786,16 +732,15 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -804,8 +749,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -813,17 +756,17 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -831,8 +774,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -840,25 +781,22 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -866,21 +804,17 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -888,19 +822,18 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -908,8 +841,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -918,16 +849,15 @@ 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=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -936,8 +866,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -946,17 +874,17 @@ 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=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -964,8 +892,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -974,25 +900,22 @@ 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=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1001,21 +924,17 @@ 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=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1024,19 +943,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1044,24 +962,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1070,25 +985,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1096,73 +1009,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1170,24 +1073,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1196,25 +1096,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1222,73 +1120,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1296,8 +1184,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1305,13 +1191,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1320,8 +1206,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1329,14 +1213,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1344,8 +1229,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1353,22 +1236,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1376,18 +1257,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1395,23 +1273,23 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1421,12 +1299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GetNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetNodePoolRequest) private static final com.google.container.v1.GetNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GetNodePoolRequest(); } @@ -1435,27 +1313,27 @@ public static com.google.container.v1.GetNodePoolRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1470,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index f1d7d80beba4..25c2bd879adf 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetNodePoolRequestOrBuilder - extends +public interface GetNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2792 + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface GetNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,83 +58,66 @@ public interface GetNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2798 + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2802 + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -171,13 +125,10 @@ public interface GetNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -185,8 +136,8 @@ public interface GetNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java index 4dbfa10daed7..452c3789a691 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GetOpenIDConfigRequest gets the OIDC discovery document for the
  * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -28,58 +11,53 @@
  *
  * Protobuf type {@code google.container.v1.GetOpenIDConfigRequest}
  */
-public final class GetOpenIDConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetOpenIDConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GetOpenIDConfigRequest)
     GetOpenIDConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigRequest.newBuilder() to construct.
   private GetOpenIDConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetOpenIDConfigRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetOpenIDConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GetOpenIDConfigRequest.class,
-            com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
+            com.google.container.v1.GetOpenIDConfigRequest.class, com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -88,30 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -120,7 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -156,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetOpenIDConfigRequest)) { return super.equals(obj); } - com.google.container.v1.GetOpenIDConfigRequest other = - (com.google.container.v1.GetOpenIDConfigRequest) obj; + com.google.container.v1.GetOpenIDConfigRequest other = (com.google.container.v1.GetOpenIDConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,104 +161,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( 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.GetOpenIDConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GetOpenIDConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetOpenIDConfigRequest gets the OIDC discovery document for the
    * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -288,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.GetOpenIDConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GetOpenIDConfigRequest)
       com.google.container.v1.GetOpenIDConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GetOpenIDConfigRequest.class,
-              com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
+              com.google.container.v1.GetOpenIDConfigRequest.class, com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.GetOpenIDConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -323,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
@@ -344,8 +316,7 @@ public com.google.container.v1.GetOpenIDConfigRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.GetOpenIDConfigRequest buildPartial() {
-      com.google.container.v1.GetOpenIDConfigRequest result =
-          new com.google.container.v1.GetOpenIDConfigRequest(this);
+      com.google.container.v1.GetOpenIDConfigRequest result = new com.google.container.v1.GetOpenIDConfigRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -355,39 +326,38 @@ public com.google.container.v1.GetOpenIDConfigRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GetOpenIDConfigRequest) {
-        return mergeFrom((com.google.container.v1.GetOpenIDConfigRequest) other);
+        return mergeFrom((com.google.container.v1.GetOpenIDConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -426,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -451,21 +419,19 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -474,22 +440,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -497,71 +462,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -571,12 +529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GetOpenIDConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetOpenIDConfigRequest) private static final com.google.container.v1.GetOpenIDConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GetOpenIDConfigRequest(); } @@ -585,27 +543,27 @@ public static com.google.container.v1.GetOpenIDConfigRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -620,4 +578,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetOpenIDConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java similarity index 54% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java index b0e8910cc938..619f46728e64 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetOpenIDConfigRequestOrBuilder - extends +public interface GetOpenIDConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetOpenIDConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java index a9dd9a69b02d..79426236a0fa 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
  * See the OpenID Connect Discovery 1.0 specification for details.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.GetOpenIDConfigResponse}
  */
-public final class GetOpenIDConfigResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetOpenIDConfigResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GetOpenIDConfigResponse)
     GetOpenIDConfigResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigResponse.newBuilder() to construct.
   private GetOpenIDConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetOpenIDConfigResponse() {
     issuer_ = "";
     jwksUri_ = "";
@@ -50,41 +32,37 @@ private GetOpenIDConfigResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetOpenIDConfigResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GetOpenIDConfigResponse.class,
-            com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
+            com.google.container.v1.GetOpenIDConfigResponse.class, com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
   }
 
   public static final int ISSUER_FIELD_NUMBER = 1;
   private volatile java.lang.Object issuer_;
   /**
-   *
-   *
    * 
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The issuer. */ @java.lang.Override @@ -93,29 +71,29 @@ public java.lang.String getIssuer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** - * - * *
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The bytes for issuer. */ @java.lang.Override - public com.google.protobuf.ByteString getIssuerBytes() { + public com.google.protobuf.ByteString + getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuer_ = b; return b; } else { @@ -126,14 +104,11 @@ public com.google.protobuf.ByteString getIssuerBytes() { public static final int JWKS_URI_FIELD_NUMBER = 2; private volatile java.lang.Object jwksUri_; /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The jwksUri. */ @java.lang.Override @@ -142,29 +117,29 @@ public java.lang.String getJwksUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; } } /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The bytes for jwksUri. */ @java.lang.Override - public com.google.protobuf.ByteString getJwksUriBytes() { + public com.google.protobuf.ByteString + getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -175,42 +150,34 @@ public com.google.protobuf.ByteString getJwksUriBytes() { public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList responseTypesSupported_; /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { return responseTypesSupported_; } /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -218,60 +185,50 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList subjectTypesSupported_; /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { return subjectTypesSupported_; } /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -279,60 +236,50 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_; /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_; } /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -340,60 +287,50 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList claimsSupported_; /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { return claimsSupported_; } /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -401,60 +338,50 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } public static final int GRANT_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList grantTypes_; /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList getGrantTypesList() { + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { return grantTypes_; } /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -462,23 +389,20 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -490,7 +414,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); } @@ -498,16 +423,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); } for (int i = 0; i < responseTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, responseTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); } for (int i = 0; i < subjectTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, subjectTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); } for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); } for (int i = 0; i < claimsSupported_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); @@ -578,23 +500,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetOpenIDConfigResponse)) { return super.equals(obj); } - com.google.container.v1.GetOpenIDConfigResponse other = - (com.google.container.v1.GetOpenIDConfigResponse) obj; + com.google.container.v1.GetOpenIDConfigResponse other = (com.google.container.v1.GetOpenIDConfigResponse) obj; - if (!getIssuer().equals(other.getIssuer())) return false; - if (!getJwksUri().equals(other.getJwksUri())) return false; - if (!getResponseTypesSupportedList().equals(other.getResponseTypesSupportedList())) - return false; - if (!getSubjectTypesSupportedList().equals(other.getSubjectTypesSupportedList())) return false; + if (!getIssuer() + .equals(other.getIssuer())) return false; + if (!getJwksUri() + .equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList() + .equals(other.getResponseTypesSupportedList())) return false; + if (!getSubjectTypesSupportedList() + .equals(other.getSubjectTypesSupportedList())) return false; if (!getIdTokenSigningAlgValuesSupportedList() .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; - if (!getClaimsSupportedList().equals(other.getClaimsSupportedList())) return false; - if (!getGrantTypesList().equals(other.getGrantTypesList())) return false; + if (!getClaimsSupportedList() + .equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList() + .equals(other.getGrantTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -635,104 +561,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 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.GetOpenIDConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GetOpenIDConfigResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
    * See the OpenID Connect Discovery 1.0 specification for details.
@@ -740,32 +659,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.GetOpenIDConfigResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GetOpenIDConfigResponse)
       com.google.container.v1.GetOpenIDConfigResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GetOpenIDConfigResponse.class,
-              com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
+              com.google.container.v1.GetOpenIDConfigResponse.class, com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1.GetOpenIDConfigResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -787,9 +707,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
@@ -808,8 +728,7 @@ public com.google.container.v1.GetOpenIDConfigResponse build() {
 
     @java.lang.Override
     public com.google.container.v1.GetOpenIDConfigResponse buildPartial() {
-      com.google.container.v1.GetOpenIDConfigResponse result =
-          new com.google.container.v1.GetOpenIDConfigResponse(this);
+      com.google.container.v1.GetOpenIDConfigResponse result = new com.google.container.v1.GetOpenIDConfigResponse(this);
       int from_bitField0_ = bitField0_;
       result.issuer_ = issuer_;
       result.jwksUri_ = jwksUri_;
@@ -846,39 +765,38 @@ public com.google.container.v1.GetOpenIDConfigResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GetOpenIDConfigResponse) {
-        return mergeFrom((com.google.container.v1.GetOpenIDConfigResponse) other);
+        return mergeFrom((com.google.container.v1.GetOpenIDConfigResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -886,8 +804,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.GetOpenIDConfigResponse other) {
-      if (other == com.google.container.v1.GetOpenIDConfigResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.GetOpenIDConfigResponse.getDefaultInstance()) return this;
       if (!other.getIssuer().isEmpty()) {
         issuer_ = other.issuer_;
         onChanged();
@@ -972,60 +889,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                issuer_ = input.readStringRequireUtf8();
+            case 10: {
+              issuer_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                jwksUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              jwksUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureResponseTypesSupportedIsMutable();
-                responseTypesSupported_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureSubjectTypesSupportedIsMutable();
-                subjectTypesSupported_.add(s);
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureIdTokenSigningAlgValuesSupportedIsMutable();
-                idTokenSigningAlgValuesSupported_.add(s);
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureClaimsSupportedIsMutable();
-                claimsSupported_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureGrantTypesIsMutable();
-                grantTypes_.add(s);
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureResponseTypesSupportedIsMutable();
+              responseTypesSupported_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureSubjectTypesSupportedIsMutable();
+              subjectTypesSupported_.add(s);
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureIdTokenSigningAlgValuesSupportedIsMutable();
+              idTokenSigningAlgValuesSupported_.add(s);
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureClaimsSupportedIsMutable();
+              claimsSupported_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureGrantTypesIsMutable();
+              grantTypes_.add(s);
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1035,25 +944,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object issuer_ = "";
     /**
-     *
-     *
      * 
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; @@ -1062,21 +968,20 @@ public java.lang.String getIssuer() { } } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @return The bytes for issuer. */ - public com.google.protobuf.ByteString getIssuerBytes() { + public com.google.protobuf.ByteString + getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuer_ = b; return b; } else { @@ -1084,61 +989,54 @@ public com.google.protobuf.ByteString getIssuerBytes() { } } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @param value The issuer to set. * @return This builder for chaining. */ - public Builder setIssuer(java.lang.String value) { + public Builder setIssuer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issuer_ = value; onChanged(); return this; } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @return This builder for chaining. */ public Builder clearIssuer() { - + issuer_ = getDefaultInstance().getIssuer(); onChanged(); return this; } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @param value The bytes for issuer to set. * @return This builder for chaining. */ - public Builder setIssuerBytes(com.google.protobuf.ByteString value) { + public Builder setIssuerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuer_ = value; onChanged(); return this; @@ -1146,20 +1044,18 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) { private java.lang.Object jwksUri_ = ""; /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @return The jwksUri. */ public java.lang.String getJwksUri() { java.lang.Object ref = jwksUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; @@ -1168,21 +1064,20 @@ public java.lang.String getJwksUri() { } } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @return The bytes for jwksUri. */ - public com.google.protobuf.ByteString getJwksUriBytes() { + public com.google.protobuf.ByteString + getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -1190,113 +1085,95 @@ public com.google.protobuf.ByteString getJwksUriBytes() { } } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @param value The jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUri(java.lang.String value) { + public Builder setJwksUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jwksUri_ = value; onChanged(); return this; } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @return This builder for chaining. */ public Builder clearJwksUri() { - + jwksUri_ = getDefaultInstance().getJwksUri(); onChanged(); return this; } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @param value The bytes for jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { + public Builder setJwksUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jwksUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList responseTypesSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureResponseTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - responseTypesSupported_ = - new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { return responseTypesSupported_.getUnmodifiableView(); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -1304,90 +1181,80 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param index The index to set the value at. * @param value The responseTypesSupported to set. * @return This builder for chaining. */ - public Builder setResponseTypesSupported(int index, java.lang.String value) { + public Builder setResponseTypesSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param value The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupported(java.lang.String value) { + public Builder addResponseTypesSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param values The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllResponseTypesSupported(java.lang.Iterable values) { + public Builder addAllResponseTypesSupported( + java.lang.Iterable values) { ensureResponseTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, responseTypesSupported_); onChanged(); return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @return This builder for chaining. */ public Builder clearResponseTypesSupported() { @@ -1397,75 +1264,62 @@ public Builder clearResponseTypesSupported() { return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param value The bytes of the responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addResponseTypesSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList subjectTypesSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSubjectTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - subjectTypesSupported_ = - new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { return subjectTypesSupported_.getUnmodifiableView(); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -1473,90 +1327,80 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param index The index to set the value at. * @param value The subjectTypesSupported to set. * @return This builder for chaining. */ - public Builder setSubjectTypesSupported(int index, java.lang.String value) { + public Builder setSubjectTypesSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param value The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupported(java.lang.String value) { + public Builder addSubjectTypesSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param values The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllSubjectTypesSupported(java.lang.Iterable values) { + public Builder addAllSubjectTypesSupported( + java.lang.Iterable values) { ensureSubjectTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subjectTypesSupported_); onChanged(); return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @return This builder for chaining. */ public Builder clearSubjectTypesSupported() { @@ -1566,75 +1410,62 @@ public Builder clearSubjectTypesSupported() { return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param value The bytes of the subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addSubjectTypesSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - idTokenSigningAlgValuesSupported_ = - new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_.getUnmodifiableView(); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -1642,72 +1473,63 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index to set the value at. * @param value The idTokenSigningAlgValuesSupported to set. * @return This builder for chaining. */ - public Builder setIdTokenSigningAlgValuesSupported(int index, java.lang.String value) { + public Builder setIdTokenSigningAlgValuesSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param value The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupported(java.lang.String value) { + public Builder addIdTokenSigningAlgValuesSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param values The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ @@ -1720,14 +1542,11 @@ public Builder addAllIdTokenSigningAlgValuesSupported( return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return This builder for chaining. */ public Builder clearIdTokenSigningAlgValuesSupported() { @@ -1737,74 +1556,62 @@ public Builder clearIdTokenSigningAlgValuesSupported() { return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param value The bytes of the idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addIdTokenSigningAlgValuesSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList claimsSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList claimsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureClaimsSupportedIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { return claimsSupported_.getUnmodifiableView(); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -1812,90 +1619,80 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param index The index to set the value at. * @param value The claimsSupported to set. * @return This builder for chaining. */ - public Builder setClaimsSupported(int index, java.lang.String value) { + public Builder setClaimsSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param value The claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupported(java.lang.String value) { + public Builder addClaimsSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param values The claimsSupported to add. * @return This builder for chaining. */ - public Builder addAllClaimsSupported(java.lang.Iterable values) { + public Builder addAllClaimsSupported( + java.lang.Iterable values) { ensureClaimsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, claimsSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, claimsSupported_); onChanged(); return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @return This builder for chaining. */ public Builder clearClaimsSupported() { @@ -1905,74 +1702,62 @@ public Builder clearClaimsSupported() { return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param value The bytes of the claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addClaimsSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList grantTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList grantTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGrantTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList getGrantTypesList() { + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { return grantTypes_.getUnmodifiableView(); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -1980,90 +1765,80 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param index The index to set the value at. * @param value The grantTypes to set. * @return This builder for chaining. */ - public Builder setGrantTypes(int index, java.lang.String value) { + public Builder setGrantTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param value The grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypes(java.lang.String value) { + public Builder addGrantTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param values The grantTypes to add. * @return This builder for chaining. */ - public Builder addAllGrantTypes(java.lang.Iterable values) { + public Builder addAllGrantTypes( + java.lang.Iterable values) { ensureGrantTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, grantTypes_); onChanged(); return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @return This builder for chaining. */ public Builder clearGrantTypes() { @@ -2073,30 +1848,28 @@ public Builder clearGrantTypes() { return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param value The bytes of the grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypesBytes(com.google.protobuf.ByteString value) { + public Builder addGrantTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2106,12 +1879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GetOpenIDConfigResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.GetOpenIDConfigResponse) private static final com.google.container.v1.GetOpenIDConfigResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GetOpenIDConfigResponse(); } @@ -2120,27 +1893,27 @@ public static com.google.container.v1.GetOpenIDConfigResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2155,4 +1928,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetOpenIDConfigResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java similarity index 75% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java index 4a8530873439..71468d75b97b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java @@ -1,330 +1,254 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface GetOpenIDConfigResponseOrBuilder - extends +public interface GetOpenIDConfigResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetOpenIDConfigResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The issuer. */ java.lang.String getIssuer(); /** - * - * *
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The bytes for issuer. */ - com.google.protobuf.ByteString getIssuerBytes(); + com.google.protobuf.ByteString + getIssuerBytes(); /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The jwksUri. */ java.lang.String getJwksUri(); /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The bytes for jwksUri. */ - com.google.protobuf.ByteString getJwksUriBytes(); + com.google.protobuf.ByteString + getJwksUriBytes(); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return A list containing the responseTypesSupported. */ - java.util.List getResponseTypesSupportedList(); + java.util.List + getResponseTypesSupportedList(); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return The count of responseTypesSupported. */ int getResponseTypesSupportedCount(); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ java.lang.String getResponseTypesSupported(int index); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index); + com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return A list containing the subjectTypesSupported. */ - java.util.List getSubjectTypesSupportedList(); + java.util.List + getSubjectTypesSupportedList(); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return The count of subjectTypesSupported. */ int getSubjectTypesSupportedCount(); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ java.lang.String getSubjectTypesSupported(int index); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index); + com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return A list containing the idTokenSigningAlgValuesSupported. */ - java.util.List getIdTokenSigningAlgValuesSupportedList(); + java.util.List + getIdTokenSigningAlgValuesSupportedList(); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return The count of idTokenSigningAlgValuesSupported. */ int getIdTokenSigningAlgValuesSupportedCount(); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ java.lang.String getIdTokenSigningAlgValuesSupported(int index); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index); + com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return A list containing the claimsSupported. */ - java.util.List getClaimsSupportedList(); + java.util.List + getClaimsSupportedList(); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return The count of claimsSupported. */ int getClaimsSupportedCount(); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ java.lang.String getClaimsSupported(int index); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - com.google.protobuf.ByteString getClaimsSupportedBytes(int index); + com.google.protobuf.ByteString + getClaimsSupportedBytes(int index); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return A list containing the grantTypes. */ - java.util.List getGrantTypesList(); + java.util.List + getGrantTypesList(); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return The count of grantTypes. */ int getGrantTypesCount(); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the element to return. * @return The grantTypes at the given index. */ java.lang.String getGrantTypes(int index); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - com.google.protobuf.ByteString getGrantTypesBytes(int index); + com.google.protobuf.ByteString + getGrantTypesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index b3b6988fd4fe..5e263e3ce612 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * GetOperationRequest gets a single operation.
  * 
* * Protobuf type {@code google.container.v1.GetOperationRequest} */ -public final class GetOperationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOperationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GetOperationRequest) GetOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOperationRequest.newBuilder() to construct. private GetOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOperationRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private GetOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetOperationRequest.class, - com.google.container.v1.GetOperationRequest.Builder.class); + com.google.container.v1.GetOperationRequest.class, com.google.container.v1.GetOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -250,15 +216,12 @@ public com.google.protobuf.ByteString getOperationIdBytes() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -267,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -299,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -353,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetOperationRequest)) { return super.equals(obj); } - com.google.container.v1.GetOperationRequest other = - (com.google.container.v1.GetOperationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getOperationId().equals(other.getOperationId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.GetOperationRequest other = (com.google.container.v1.GetOperationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getOperationId() + .equals(other.getOperationId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,136 +355,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetOperationRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GetOperationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOperationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOperationRequest parseFrom( 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.GetOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetOperationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GetOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetOperationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GetOperationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GetOperationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GetOperationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GetOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetOperationRequest gets a single operation.
    * 
* * Protobuf type {@code google.container.v1.GetOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetOperationRequest) com.google.container.v1.GetOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetOperationRequest.class, - com.google.container.v1.GetOperationRequest.Builder.class); + com.google.container.v1.GetOperationRequest.class, com.google.container.v1.GetOperationRequest.Builder.class); } // Construct using com.google.container.v1.GetOperationRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_descriptor; } @java.lang.Override @@ -555,8 +515,7 @@ public com.google.container.v1.GetOperationRequest build() { @java.lang.Override public com.google.container.v1.GetOperationRequest buildPartial() { - com.google.container.v1.GetOperationRequest result = - new com.google.container.v1.GetOperationRequest(this); + com.google.container.v1.GetOperationRequest result = new com.google.container.v1.GetOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -569,39 +528,38 @@ public com.google.container.v1.GetOperationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetOperationRequest) { - return mergeFrom((com.google.container.v1.GetOperationRequest) other); + return mergeFrom((com.google.container.v1.GetOperationRequest)other); } else { super.mergeFrom(other); return this; @@ -652,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -695,8 +648,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,16 +655,15 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -722,8 +672,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -731,17 +679,17 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -749,8 +697,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -758,25 +704,22 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -784,21 +727,17 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -806,19 +745,18 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -826,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -836,16 +772,15 @@ 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=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -854,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -864,17 +797,17 @@ 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=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -882,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -892,25 +823,22 @@ 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=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -919,21 +847,17 @@ 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=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -942,19 +866,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,24 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object operationId_ = ""; /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @return The operationId. */ - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -988,25 +908,23 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @return The bytes for operationId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -1014,73 +932,63 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationId(java.lang.String value) { + @java.lang.Deprecated public Builder setOperationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearOperationId() { - + @java.lang.Deprecated public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -1088,21 +996,19 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1111,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1134,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1208,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GetOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetOperationRequest) private static final com.google.container.v1.GetOperationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GetOperationRequest(); } @@ -1222,27 +1120,27 @@ public static com.google.container.v1.GetOperationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index c5a3bed20a2b..e21b09f0c7ad 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetOperationRequestOrBuilder - extends +public interface GetOperationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetOperationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2593 + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface GetOperationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,71 +58,58 @@ public interface GetOperationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2599 + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @return The operationId. */ - @java.lang.Deprecated - java.lang.String getOperationId(); + @java.lang.Deprecated java.lang.String getOperationId(); /** - * - * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2603 + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2603 * @return The bytes for operationId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getOperationIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getOperationIdBytes(); /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index 76c281023535..89aa652abb83 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Gets the current Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1.GetServerConfigRequest} */ -public final class GetServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetServerConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GetServerConfigRequest) GetServerConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetServerConfigRequest.newBuilder() to construct. private GetServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetServerConfigRequest() { projectId_ = ""; zone_ = ""; @@ -45,35 +27,32 @@ private GetServerConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetServerConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetServerConfigRequest.class, - com.google.container.v1.GetServerConfigRequest.Builder.class); + com.google.container.v1.GetServerConfigRequest.class, com.google.container.v1.GetServerConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -81,27 +60,24 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -109,18 +85,18 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -131,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -141,27 +115,24 @@ 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=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -170,18 +141,18 @@ 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=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -192,15 +163,12 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The name. */ @java.lang.Override @@ -209,30 +177,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -241,7 +209,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +220,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -289,17 +257,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetServerConfigRequest)) { return super.equals(obj); } - com.google.container.v1.GetServerConfigRequest other = - (com.google.container.v1.GetServerConfigRequest) obj; + com.google.container.v1.GetServerConfigRequest other = (com.google.container.v1.GetServerConfigRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getName().equals(other.getName())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -322,136 +292,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetServerConfigRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GetServerConfigRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetServerConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.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.container.v1.GetServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GetServerConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GetServerConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GetServerConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GetServerConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GetServerConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GetServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.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); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Gets the current Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1.GetServerConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetServerConfigRequest) com.google.container.v1.GetServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetServerConfigRequest.class, - com.google.container.v1.GetServerConfigRequest.Builder.class); + com.google.container.v1.GetServerConfigRequest.class, com.google.container.v1.GetServerConfigRequest.Builder.class); } // Construct using com.google.container.v1.GetServerConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -465,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GetServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_descriptor; } @java.lang.Override @@ -486,8 +450,7 @@ public com.google.container.v1.GetServerConfigRequest build() { @java.lang.Override public com.google.container.v1.GetServerConfigRequest buildPartial() { - com.google.container.v1.GetServerConfigRequest result = - new com.google.container.v1.GetServerConfigRequest(this); + com.google.container.v1.GetServerConfigRequest result = new com.google.container.v1.GetServerConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.name_ = name_; @@ -499,39 +462,38 @@ public com.google.container.v1.GetServerConfigRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetServerConfigRequest) { - return mergeFrom((com.google.container.v1.GetServerConfigRequest) other); + return mergeFrom((com.google.container.v1.GetServerConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -578,31 +540,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -615,8 +573,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -624,16 +580,15 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -642,8 +597,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -651,17 +604,17 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -669,8 +622,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -678,25 +629,22 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,21 +652,17 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -726,19 +670,18 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -746,8 +689,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -756,16 +697,15 @@ 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=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -774,8 +714,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -784,17 +722,17 @@ 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=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -802,8 +740,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -812,25 +748,22 @@ 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=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -839,21 +772,17 @@ 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=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -862,19 +791,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -882,21 +810,19 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -905,22 +831,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -928,71 +853,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GetServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetServerConfigRequest) private static final com.google.container.v1.GetServerConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GetServerConfigRequest(); } @@ -1016,27 +934,27 @@ public static com.google.container.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(); - } - }; + 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; @@ -1051,4 +969,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index db321552fcc6..ead88c713ee7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetServerConfigRequestOrBuilder - extends +public interface GetServerConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2666 + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -69,16 +44,12 @@ public interface GetServerConfigRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -87,38 +58,32 @@ public interface GetServerConfigRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2672 + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2672 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java index 84b8305689e2..8b906c39ba5f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for the Backup for GKE Agent.
  * 
* * Protobuf type {@code google.container.v1.GkeBackupAgentConfig} */ -public final class GkeBackupAgentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GkeBackupAgentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.GkeBackupAgentConfig) GkeBackupAgentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GkeBackupAgentConfig.newBuilder() to construct. private GkeBackupAgentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GkeBackupAgentConfig() {} + private GkeBackupAgentConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GkeBackupAgentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GkeBackupAgentConfig.class, - com.google.container.v1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1.GkeBackupAgentConfig.class, com.google.container.v1.GkeBackupAgentConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the Backup for GKE agent is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GkeBackupAgentConfig)) { return super.equals(obj); } - com.google.container.v1.GkeBackupAgentConfig other = - (com.google.container.v1.GkeBackupAgentConfig) obj; + com.google.container.v1.GkeBackupAgentConfig other = (com.google.container.v1.GkeBackupAgentConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.GkeBackupAgentConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GkeBackupAgentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom( 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.GkeBackupAgentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.GkeBackupAgentConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.GkeBackupAgentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.GkeBackupAgentConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GkeBackupAgentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the Backup for GKE Agent.
    * 
* * Protobuf type {@code google.container.v1.GkeBackupAgentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.GkeBackupAgentConfig) com.google.container.v1.GkeBackupAgentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GkeBackupAgentConfig.class, - com.google.container.v1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1.GkeBackupAgentConfig.class, com.google.container.v1.GkeBackupAgentConfig.Builder.class); } // Construct using com.google.container.v1.GkeBackupAgentConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.GkeBackupAgentConfig build() { @java.lang.Override public com.google.container.v1.GkeBackupAgentConfig buildPartial() { - com.google.container.v1.GkeBackupAgentConfig result = - new com.google.container.v1.GkeBackupAgentConfig(this); + com.google.container.v1.GkeBackupAgentConfig result = new com.google.container.v1.GkeBackupAgentConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.GkeBackupAgentConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GkeBackupAgentConfig) { - return mergeFrom((com.google.container.v1.GkeBackupAgentConfig) other); + return mergeFrom((com.google.container.v1.GkeBackupAgentConfig)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -428,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.GkeBackupAgentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GkeBackupAgentConfig) private static final com.google.container.v1.GkeBackupAgentConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.GkeBackupAgentConfig(); } @@ -488,27 +450,27 @@ public static com.google.container.v1.GkeBackupAgentConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GkeBackupAgentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GkeBackupAgentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GkeBackupAgentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java new file mode 100644 index 000000000000..ca9068a13417 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GkeBackupAgentConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GkeBackupAgentConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Backup for GKE agent is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java index 50f19e3a7758..d858fe81db38 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration options for the horizontal pod autoscaling feature, which
  * increases or decreases the number of replica pods a replication controller
@@ -29,49 +12,46 @@
  *
  * Protobuf type {@code google.container.v1.HorizontalPodAutoscaling}
  */
-public final class HorizontalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HorizontalPodAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.HorizontalPodAutoscaling)
     HorizontalPodAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HorizontalPodAutoscaling.newBuilder() to construct.
   private HorizontalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private HorizontalPodAutoscaling() {}
+  private HorizontalPodAutoscaling() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HorizontalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.HorizontalPodAutoscaling.class,
-            com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
+            com.google.container.v1.HorizontalPodAutoscaling.class, com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
    * When enabled, it ensures that metrics are collected into Stackdriver
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -88,7 +67,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,7 +78,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -114,7 +93,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,15 +104,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.HorizontalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1.HorizontalPodAutoscaling other = - (com.google.container.v1.HorizontalPodAutoscaling) obj; + com.google.container.v1.HorizontalPodAutoscaling other = (com.google.container.v1.HorizontalPodAutoscaling) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -145,110 +125,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HorizontalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( 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.HorizontalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.HorizontalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.HorizontalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.HorizontalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.HorizontalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -257,32 +231,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.HorizontalPodAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.HorizontalPodAutoscaling)
       com.google.container.v1.HorizontalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.HorizontalPodAutoscaling.class,
-              com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
+              com.google.container.v1.HorizontalPodAutoscaling.class, com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.HorizontalPodAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -292,9 +267,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -313,8 +288,7 @@ public com.google.container.v1.HorizontalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.HorizontalPodAutoscaling buildPartial() {
-      com.google.container.v1.HorizontalPodAutoscaling result =
-          new com.google.container.v1.HorizontalPodAutoscaling(this);
+      com.google.container.v1.HorizontalPodAutoscaling result = new com.google.container.v1.HorizontalPodAutoscaling(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -324,39 +298,38 @@ public com.google.container.v1.HorizontalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.HorizontalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1.HorizontalPodAutoscaling) other);
+        return mergeFrom((com.google.container.v1.HorizontalPodAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -364,8 +337,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.HorizontalPodAutoscaling other) {
-      if (other == com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance()) return this;
       if (other.getDisabled() != false) {
         setDisabled(other.getDisabled());
       }
@@ -395,19 +367,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -418,10 +388,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -429,7 +397,6 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -437,8 +404,6 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -446,19 +411,16 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -466,18 +428,17 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -487,12 +448,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.HorizontalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.HorizontalPodAutoscaling) private static final com.google.container.v1.HorizontalPodAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.HorizontalPodAutoscaling(); } @@ -501,27 +462,27 @@ public static com.google.container.v1.HorizontalPodAutoscaling getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HorizontalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HorizontalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -536,4 +497,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.HorizontalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..c3d6f5670b00 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface HorizontalPodAutoscalingOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.HorizontalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
+   * When enabled, it ensures that metrics are collected into Stackdriver
+   * Monitoring.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java index 0dcbb366d5d5..334384b6508d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration options for the HTTP (L7) load balancing controller addon,
  * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1.HttpLoadBalancing}
  */
-public final class HttpLoadBalancing extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpLoadBalancing extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.HttpLoadBalancing)
     HttpLoadBalancingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpLoadBalancing.newBuilder() to construct.
   private HttpLoadBalancing(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private HttpLoadBalancing() {}
+  private HttpLoadBalancing() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpLoadBalancing();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.HttpLoadBalancing.class,
-            com.google.container.v1.HttpLoadBalancing.Builder.class);
+            com.google.container.v1.HttpLoadBalancing.class, com.google.container.v1.HttpLoadBalancing.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Whether the HTTP Load Balancing controller is enabled in the cluster.
    * When enabled, it runs a small pod in the cluster that manages the load
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -87,7 +66,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +77,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -113,7 +92,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,15 +103,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.HttpLoadBalancing)) { return super.equals(obj); } - com.google.container.v1.HttpLoadBalancing other = - (com.google.container.v1.HttpLoadBalancing) obj; + com.google.container.v1.HttpLoadBalancing other = (com.google.container.v1.HttpLoadBalancing) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -144,110 +124,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.HttpLoadBalancing parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.HttpLoadBalancing parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.HttpLoadBalancing parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HttpLoadBalancing parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.HttpLoadBalancing parseFrom( 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.HttpLoadBalancing parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.HttpLoadBalancing parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.HttpLoadBalancing parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.HttpLoadBalancing parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.HttpLoadBalancing parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.HttpLoadBalancing parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.HttpLoadBalancing parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.HttpLoadBalancing parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.HttpLoadBalancing parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.HttpLoadBalancing prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the HTTP (L7) load balancing controller addon,
    * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -255,32 +229,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.HttpLoadBalancing}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.HttpLoadBalancing)
       com.google.container.v1.HttpLoadBalancingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.HttpLoadBalancing.class,
-              com.google.container.v1.HttpLoadBalancing.Builder.class);
+              com.google.container.v1.HttpLoadBalancing.class, com.google.container.v1.HttpLoadBalancing.Builder.class);
     }
 
     // Construct using com.google.container.v1.HttpLoadBalancing.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +265,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +286,7 @@ public com.google.container.v1.HttpLoadBalancing build() {
 
     @java.lang.Override
     public com.google.container.v1.HttpLoadBalancing buildPartial() {
-      com.google.container.v1.HttpLoadBalancing result =
-          new com.google.container.v1.HttpLoadBalancing(this);
+      com.google.container.v1.HttpLoadBalancing result = new com.google.container.v1.HttpLoadBalancing(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -322,39 +296,38 @@ public com.google.container.v1.HttpLoadBalancing buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.HttpLoadBalancing) {
-        return mergeFrom((com.google.container.v1.HttpLoadBalancing) other);
+        return mergeFrom((com.google.container.v1.HttpLoadBalancing)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -392,19 +365,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -415,10 +386,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -426,7 +395,6 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -434,8 +402,6 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -443,19 +409,16 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -463,18 +426,17 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -484,12 +446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.HttpLoadBalancing) } // @@protoc_insertion_point(class_scope:google.container.v1.HttpLoadBalancing) private static final com.google.container.v1.HttpLoadBalancing DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.HttpLoadBalancing(); } @@ -498,27 +460,27 @@ public static com.google.container.v1.HttpLoadBalancing getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpLoadBalancing parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpLoadBalancing parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -533,4 +495,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.HttpLoadBalancing getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java new file mode 100644 index 000000000000..5ea4b6a9c23a --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface HttpLoadBalancingOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.HttpLoadBalancing) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the HTTP Load Balancing controller is enabled in the cluster.
+   * When enabled, it runs a small pod in the cluster that manages the load
+   * balancers.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java index e3b12a2f3156..0b595d870c9a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
  * subsetting on this cluster.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1.ILBSubsettingConfig}
  */
-public final class ILBSubsettingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ILBSubsettingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ILBSubsettingConfig)
     ILBSubsettingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ILBSubsettingConfig.newBuilder() to construct.
   private ILBSubsettingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ILBSubsettingConfig() {}
+  private ILBSubsettingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ILBSubsettingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ILBSubsettingConfig.class,
-            com.google.container.v1.ILBSubsettingConfig.Builder.class);
+            com.google.container.v1.ILBSubsettingConfig.class, com.google.container.v1.ILBSubsettingConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enables l4 ILB subsetting for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ILBSubsettingConfig)) { return super.equals(obj); } - com.google.container.v1.ILBSubsettingConfig other = - (com.google.container.v1.ILBSubsettingConfig) obj; + com.google.container.v1.ILBSubsettingConfig other = (com.google.container.v1.ILBSubsettingConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ILBSubsettingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ILBSubsettingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ILBSubsettingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ILBSubsettingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ILBSubsettingConfig parseFrom( 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.ILBSubsettingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ILBSubsettingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ILBSubsettingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ILBSubsettingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ILBSubsettingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ILBSubsettingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ILBSubsettingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ILBSubsettingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ILBSubsettingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ILBSubsettingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
    * subsetting on this cluster.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ILBSubsettingConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ILBSubsettingConfig)
       com.google.container.v1.ILBSubsettingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ILBSubsettingConfig.class,
-              com.google.container.v1.ILBSubsettingConfig.Builder.class);
+              com.google.container.v1.ILBSubsettingConfig.class, com.google.container.v1.ILBSubsettingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.ILBSubsettingConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1.ILBSubsettingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.ILBSubsettingConfig buildPartial() {
-      com.google.container.v1.ILBSubsettingConfig result =
-          new com.google.container.v1.ILBSubsettingConfig(this);
+      com.google.container.v1.ILBSubsettingConfig result = new com.google.container.v1.ILBSubsettingConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1.ILBSubsettingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ILBSubsettingConfig) {
-        return mergeFrom((com.google.container.v1.ILBSubsettingConfig) other);
+        return mergeFrom((com.google.container.v1.ILBSubsettingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -413,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enables l4 ILB subsetting for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -430,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enables l4 ILB subsetting for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enables l4 ILB subsetting for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ILBSubsettingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ILBSubsettingConfig) private static final com.google.container.v1.ILBSubsettingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ILBSubsettingConfig(); } @@ -490,27 +452,27 @@ public static com.google.container.v1.ILBSubsettingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ILBSubsettingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ILBSubsettingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ILBSubsettingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java new file mode 100644 index 000000000000..65a0e12e259d --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ILBSubsettingConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ILBSubsettingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enables l4 ILB subsetting for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java similarity index 77% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index 310d0fefd105..a6aae0c97c73 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration for controlling how IPs are allocated in the cluster.
  * 
* * Protobuf type {@code google.container.v1.IPAllocationPolicy} */ -public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IPAllocationPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.IPAllocationPolicy) IPAllocationPolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IPAllocationPolicy.newBuilder() to construct. private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IPAllocationPolicy() { subnetworkName_ = ""; clusterIpv4Cidr_ = ""; @@ -54,35 +36,32 @@ private IPAllocationPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IPAllocationPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_IPAllocationPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.IPAllocationPolicy.class, - com.google.container.v1.IPAllocationPolicy.Builder.class); + com.google.container.v1.IPAllocationPolicy.class, com.google.container.v1.IPAllocationPolicy.Builder.class); } public static final int USE_IP_ALIASES_FIELD_NUMBER = 1; private boolean useIpAliases_; /** - * - * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -91,7 +70,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool use_ip_aliases = 1; - * * @return The useIpAliases. */ @java.lang.Override @@ -102,15 +80,12 @@ public boolean getUseIpAliases() { public static final int CREATE_SUBNETWORK_FIELD_NUMBER = 2; private boolean createSubnetwork_; /** - * - * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; - * * @return The createSubnetwork. */ @java.lang.Override @@ -121,8 +96,6 @@ public boolean getCreateSubnetwork() { public static final int SUBNETWORK_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object subnetworkName_; /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -130,7 +103,6 @@ public boolean getCreateSubnetwork() {
    * 
* * string subnetwork_name = 3; - * * @return The subnetworkName. */ @java.lang.Override @@ -139,15 +111,14 @@ public java.lang.String getSubnetworkName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; } } /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -155,15 +126,16 @@ public java.lang.String getSubnetworkName() {
    * 
* * string subnetwork_name = 3; - * * @return The bytes for subnetworkName. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkNameBytes() { + public com.google.protobuf.ByteString + getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -174,51 +146,46 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 4; private volatile java.lang.Object clusterIpv4Cidr_; /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @return The clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -229,51 +196,46 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { public static final int NODE_IPV4_CIDR_FIELD_NUMBER = 5; private volatile java.lang.Object nodeIpv4Cidr_; /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @return The nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; } } /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -284,51 +246,46 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 6; private volatile java.lang.Object servicesIpv4Cidr_; /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @return The servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -339,8 +296,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object clusterSecondaryRangeName_; /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -351,7 +306,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() {
    * 
* * string cluster_secondary_range_name = 7; - * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -360,15 +314,14 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; } } /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -379,15 +332,16 @@ public java.lang.String getClusterSecondaryRangeName() {
    * 
* * string cluster_secondary_range_name = 7; - * * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -398,8 +352,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object servicesSecondaryRangeName_; /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -410,7 +362,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() {
    * 
* * string services_secondary_range_name = 8; - * * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -419,15 +370,14 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; } } /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -438,15 +388,16 @@ public java.lang.String getServicesSecondaryRangeName() {
    * 
* * string services_secondary_range_name = 8; - * * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -457,8 +408,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4CidrBlock_; /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -474,7 +423,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -483,15 +431,14 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -507,15 +454,16 @@ public java.lang.String getClusterIpv4CidrBlock() {
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -526,8 +474,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { public static final int NODE_IPV4_CIDR_BLOCK_FIELD_NUMBER = 10; private volatile java.lang.Object nodeIpv4CidrBlock_; /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -542,7 +488,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The nodeIpv4CidrBlock. */ @java.lang.Override @@ -551,15 +496,14 @@ public java.lang.String getNodeIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -574,15 +518,16 @@ public java.lang.String getNodeIpv4CidrBlock() {
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The bytes for nodeIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -593,8 +538,6 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 11; private volatile java.lang.Object servicesIpv4CidrBlock_; /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -610,7 +553,6 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() {
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -619,15 +561,14 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -643,15 +584,16 @@ public java.lang.String getServicesIpv4CidrBlock() {
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -662,8 +604,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 13; private volatile java.lang.Object tpuIpv4CidrBlock_; /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -679,7 +619,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() {
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -688,15 +627,14 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -712,15 +650,16 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -731,8 +670,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { public static final int USE_ROUTES_FIELD_NUMBER = 15; private boolean useRoutes_; /** - * - * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -741,7 +678,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() {
    * 
* * bool use_routes = 15; - * * @return The useRoutes. */ @java.lang.Override @@ -752,77 +688,58 @@ public boolean getUseRoutes() { public static final int STACK_TYPE_FIELD_NUMBER = 16; private int stackType_; /** - * - * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; - * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override - public int getStackTypeValue() { + @java.lang.Override public int getStackTypeValue() { return stackType_; } /** - * - * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; - * * @return The stackType. */ - @java.lang.Override - public com.google.container.v1.StackType getStackType() { + @java.lang.Override public com.google.container.v1.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1.StackType result = - com.google.container.v1.StackType.valueOf(stackType_); + com.google.container.v1.StackType result = com.google.container.v1.StackType.valueOf(stackType_); return result == null ? com.google.container.v1.StackType.UNRECOGNIZED : result; } public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER = 17; private int ipv6AccessType_; /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override - public int getIpv6AccessTypeValue() { + @java.lang.Override public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @return The ipv6AccessType. */ - @java.lang.Override - public com.google.container.v1.IPv6AccessType getIpv6AccessType() { + @java.lang.Override public com.google.container.v1.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1.IPv6AccessType result = - com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); + com.google.container.v1.IPv6AccessType result = com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); return result == null ? com.google.container.v1.IPv6AccessType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -834,7 +751,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -877,8 +795,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (stackType_ != com.google.container.v1.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(16, stackType_); } - if (ipv6AccessType_ - != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { + if (ipv6AccessType_ != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(17, ipv6AccessType_); } getUnknownFields().writeTo(output); @@ -891,10 +808,12 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, useIpAliases_); } if (createSubnetwork_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, createSubnetwork_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, createSubnetwork_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetworkName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subnetworkName_); @@ -909,12 +828,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, servicesIpv4Cidr_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterSecondaryRangeName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesSecondaryRangeName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4CidrBlock_); @@ -929,14 +846,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, tpuIpv4CidrBlock_); } if (useRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, useRoutes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, useRoutes_); } if (stackType_ != com.google.container.v1.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, stackType_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, stackType_); } - if (ipv6AccessType_ - != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, ipv6AccessType_); + if (ipv6AccessType_ != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(17, ipv6AccessType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -946,28 +865,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.container.v1.IPAllocationPolicy other = - (com.google.container.v1.IPAllocationPolicy) obj; - - if (getUseIpAliases() != other.getUseIpAliases()) return false; - if (getCreateSubnetwork() != other.getCreateSubnetwork()) return false; - if (!getSubnetworkName().equals(other.getSubnetworkName())) return false; - if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false; - if (!getNodeIpv4Cidr().equals(other.getNodeIpv4Cidr())) return false; - if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false; - if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) return false; - if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) - return false; - if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; - if (!getNodeIpv4CidrBlock().equals(other.getNodeIpv4CidrBlock())) return false; - if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; - if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false; - if (getUseRoutes() != other.getUseRoutes()) return false; + com.google.container.v1.IPAllocationPolicy other = (com.google.container.v1.IPAllocationPolicy) obj; + + if (getUseIpAliases() + != other.getUseIpAliases()) return false; + if (getCreateSubnetwork() + != other.getCreateSubnetwork()) return false; + if (!getSubnetworkName() + .equals(other.getSubnetworkName())) return false; + if (!getClusterIpv4Cidr() + .equals(other.getClusterIpv4Cidr())) return false; + if (!getNodeIpv4Cidr() + .equals(other.getNodeIpv4Cidr())) return false; + if (!getServicesIpv4Cidr() + .equals(other.getServicesIpv4Cidr())) return false; + if (!getClusterSecondaryRangeName() + .equals(other.getClusterSecondaryRangeName())) return false; + if (!getServicesSecondaryRangeName() + .equals(other.getServicesSecondaryRangeName())) return false; + if (!getClusterIpv4CidrBlock() + .equals(other.getClusterIpv4CidrBlock())) return false; + if (!getNodeIpv4CidrBlock() + .equals(other.getNodeIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock() + .equals(other.getServicesIpv4CidrBlock())) return false; + if (!getTpuIpv4CidrBlock() + .equals(other.getTpuIpv4CidrBlock())) return false; + if (getUseRoutes() + != other.getUseRoutes()) return false; if (stackType_ != other.stackType_) return false; if (ipv6AccessType_ != other.ipv6AccessType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -982,9 +912,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseIpAliases()); hash = (37 * hash) + CREATE_SUBNETWORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreateSubnetwork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCreateSubnetwork()); hash = (37 * hash) + SUBNETWORK_NAME_FIELD_NUMBER; hash = (53 * hash) + getSubnetworkName().hashCode(); hash = (37 * hash) + CLUSTER_IPV4_CIDR_FIELD_NUMBER; @@ -1006,7 +938,8 @@ public int hashCode() { hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode(); hash = (37 * hash) + USE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseRoutes()); hash = (37 * hash) + STACK_TYPE_FIELD_NUMBER; hash = (53 * hash) + stackType_; hash = (37 * hash) + IPV6_ACCESS_TYPE_FIELD_NUMBER; @@ -1016,136 +949,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.IPAllocationPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.IPAllocationPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IPAllocationPolicy parseFrom( 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.IPAllocationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IPAllocationPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.IPAllocationPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.IPAllocationPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.IPAllocationPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.IPAllocationPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for controlling how IPs are allocated in the cluster.
    * 
* * Protobuf type {@code google.container.v1.IPAllocationPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.IPAllocationPolicy) com.google.container.v1.IPAllocationPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_IPAllocationPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.IPAllocationPolicy.class, - com.google.container.v1.IPAllocationPolicy.Builder.class); + com.google.container.v1.IPAllocationPolicy.class, com.google.container.v1.IPAllocationPolicy.Builder.class); } // Construct using com.google.container.v1.IPAllocationPolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1183,9 +1110,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_IPAllocationPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_descriptor; } @java.lang.Override @@ -1204,8 +1131,7 @@ public com.google.container.v1.IPAllocationPolicy build() { @java.lang.Override public com.google.container.v1.IPAllocationPolicy buildPartial() { - com.google.container.v1.IPAllocationPolicy result = - new com.google.container.v1.IPAllocationPolicy(this); + com.google.container.v1.IPAllocationPolicy result = new com.google.container.v1.IPAllocationPolicy(this); result.useIpAliases_ = useIpAliases_; result.createSubnetwork_ = createSubnetwork_; result.subnetworkName_ = subnetworkName_; @@ -1229,39 +1155,38 @@ public com.google.container.v1.IPAllocationPolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.IPAllocationPolicy) { - return mergeFrom((com.google.container.v1.IPAllocationPolicy) other); + return mergeFrom((com.google.container.v1.IPAllocationPolicy)other); } else { super.mergeFrom(other); return this; @@ -1351,103 +1276,87 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - useIpAliases_ = input.readBool(); - - break; - } // case 8 - case 16: - { - createSubnetwork_ = input.readBool(); - - break; - } // case 16 - case 26: - { - subnetworkName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - nodeIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - clusterSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - servicesSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: - { - nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 90: - { - servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 106: - { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 106 - case 120: - { - useRoutes_ = input.readBool(); - - break; - } // case 120 - case 128: - { - stackType_ = input.readEnum(); - - break; - } // case 128 - case 136: - { - ipv6AccessType_ = input.readEnum(); - - break; - } // case 136 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + useIpAliases_ = input.readBool(); + + break; + } // case 8 + case 16: { + createSubnetwork_ = input.readBool(); + + break; + } // case 16 + case 26: { + subnetworkName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + nodeIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + clusterSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + servicesSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: { + nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 90: { + servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 106: { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 120: { + useRoutes_ = input.readBool(); + + break; + } // case 120 + case 128: { + stackType_ = input.readEnum(); + + break; + } // case 128 + case 136: { + ipv6AccessType_ = input.readEnum(); + + break; + } // case 136 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1458,10 +1367,8 @@ public Builder mergeFrom( return this; } - private boolean useIpAliases_; + private boolean useIpAliases_ ; /** - * - * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1470,7 +1377,6 @@ public Builder mergeFrom(
      * 
* * bool use_ip_aliases = 1; - * * @return The useIpAliases. */ @java.lang.Override @@ -1478,8 +1384,6 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** - * - * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1488,19 +1392,16 @@ public boolean getUseIpAliases() {
      * 
* * bool use_ip_aliases = 1; - * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** - * - * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1509,27 +1410,23 @@ public Builder setUseIpAliases(boolean value) {
      * 
* * bool use_ip_aliases = 1; - * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; } - private boolean createSubnetwork_; + private boolean createSubnetwork_ ; /** - * - * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; - * * @return The createSubnetwork. */ @java.lang.Override @@ -1537,38 +1434,32 @@ public boolean getCreateSubnetwork() { return createSubnetwork_; } /** - * - * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; - * * @param value The createSubnetwork to set. * @return This builder for chaining. */ public Builder setCreateSubnetwork(boolean value) { - + createSubnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; - * * @return This builder for chaining. */ public Builder clearCreateSubnetwork() { - + createSubnetwork_ = false; onChanged(); return this; @@ -1576,8 +1467,6 @@ public Builder clearCreateSubnetwork() { private java.lang.Object subnetworkName_ = ""; /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1585,13 +1474,13 @@ public Builder clearCreateSubnetwork() {
      * 
* * string subnetwork_name = 3; - * * @return The subnetworkName. */ public java.lang.String getSubnetworkName() { java.lang.Object ref = subnetworkName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; @@ -1600,8 +1489,6 @@ public java.lang.String getSubnetworkName() { } } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1609,14 +1496,15 @@ public java.lang.String getSubnetworkName() {
      * 
* * string subnetwork_name = 3; - * * @return The bytes for subnetworkName. */ - public com.google.protobuf.ByteString getSubnetworkNameBytes() { + public com.google.protobuf.ByteString + getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -1624,8 +1512,6 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { } } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1633,22 +1519,20 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() {
      * 
* * string subnetwork_name = 3; - * * @param value The subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkName(java.lang.String value) { + public Builder setSubnetworkName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetworkName_ = value; onChanged(); return this; } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1656,18 +1540,15 @@ public Builder setSubnetworkName(java.lang.String value) {
      * 
* * string subnetwork_name = 3; - * * @return This builder for chaining. */ public Builder clearSubnetworkName() { - + subnetworkName_ = getDefaultInstance().getSubnetworkName(); onChanged(); return this; } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1675,16 +1556,16 @@ public Builder clearSubnetworkName() {
      * 
* * string subnetwork_name = 3; - * * @param value The bytes for subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetworkName_ = value; onChanged(); return this; @@ -1692,23 +1573,20 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterIpv4Cidr_ = ""; /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated - public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -1717,24 +1595,22 @@ public java.lang.String getClusterIpv4Cidr() { } } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -1742,70 +1618,60 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { } } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIpv4Cidr(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterIpv4Cidr() { - + @java.lang.Deprecated public Builder clearClusterIpv4Cidr() { + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -1813,23 +1679,20 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodeIpv4Cidr_ = ""; /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated - public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; @@ -1838,24 +1701,22 @@ public java.lang.String getNodeIpv4Cidr() { } } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -1863,70 +1724,60 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { } } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodeIpv4Cidr(java.lang.String value) { + @java.lang.Deprecated public Builder setNodeIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodeIpv4Cidr() { - + @java.lang.Deprecated public Builder clearNodeIpv4Cidr() { + nodeIpv4Cidr_ = getDefaultInstance().getNodeIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodeIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4Cidr_ = value; onChanged(); return this; @@ -1934,23 +1785,20 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { private java.lang.Object servicesIpv4Cidr_ = ""; /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated - public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -1959,24 +1807,22 @@ public java.lang.String getServicesIpv4Cidr() { } } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -1984,70 +1830,60 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { } } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServicesIpv4Cidr(java.lang.String value) { + @java.lang.Deprecated public Builder setServicesIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearServicesIpv4Cidr() { - + @java.lang.Deprecated public Builder clearServicesIpv4Cidr() { + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setServicesIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; @@ -2055,8 +1891,6 @@ public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterSecondaryRangeName_ = ""; /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2067,13 +1901,13 @@ public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_secondary_range_name = 7; - * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { java.lang.Object ref = clusterSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; @@ -2082,8 +1916,6 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2094,14 +1926,15 @@ public java.lang.String getClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; - * * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -2109,8 +1942,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { } } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2121,22 +1952,20 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() {
      * 
* * string cluster_secondary_range_name = 7; - * * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName(java.lang.String value) { + public Builder setClusterSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterSecondaryRangeName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2147,18 +1976,15 @@ public Builder setClusterSecondaryRangeName(java.lang.String value) {
      * 
* * string cluster_secondary_range_name = 7; - * * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { - + clusterSecondaryRangeName_ = getDefaultInstance().getClusterSecondaryRangeName(); onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2169,16 +1995,16 @@ public Builder clearClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; - * * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterSecondaryRangeName_ = value; onChanged(); return this; @@ -2186,8 +2012,6 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString private java.lang.Object servicesSecondaryRangeName_ = ""; /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2198,13 +2022,13 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString
      * 
* * string services_secondary_range_name = 8; - * * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { java.lang.Object ref = servicesSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; @@ -2213,8 +2037,6 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2225,14 +2047,15 @@ public java.lang.String getServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; - * * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -2240,8 +2063,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { } } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2252,22 +2073,20 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
      * 
* * string services_secondary_range_name = 8; - * * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName(java.lang.String value) { + public Builder setServicesSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesSecondaryRangeName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2278,18 +2097,15 @@ public Builder setServicesSecondaryRangeName(java.lang.String value) {
      * 
* * string services_secondary_range_name = 8; - * * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { - + servicesSecondaryRangeName_ = getDefaultInstance().getServicesSecondaryRangeName(); onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2300,16 +2116,16 @@ public Builder clearServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; - * * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesSecondaryRangeName_ = value; onChanged(); return this; @@ -2317,8 +2133,6 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString private java.lang.Object clusterIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2334,13 +2148,13 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { java.lang.Object ref = clusterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; @@ -2349,8 +2163,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2366,14 +2178,15 @@ public java.lang.String getClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -2381,8 +2194,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2398,22 +2209,20 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock(java.lang.String value) { + public Builder setClusterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2429,18 +2238,15 @@ public Builder setClusterIpv4CidrBlock(java.lang.String value) {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { - + clusterIpv4CidrBlock_ = getDefaultInstance().getClusterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2456,16 +2262,16 @@ public Builder clearClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4CidrBlock_ = value; onChanged(); return this; @@ -2473,8 +2279,6 @@ public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value private java.lang.Object nodeIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2489,13 +2293,13 @@ public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value
      * 
* * string node_ipv4_cidr_block = 10; - * * @return The nodeIpv4CidrBlock. */ public java.lang.String getNodeIpv4CidrBlock() { java.lang.Object ref = nodeIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; @@ -2504,8 +2308,6 @@ public java.lang.String getNodeIpv4CidrBlock() { } } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2520,14 +2322,15 @@ public java.lang.String getNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; - * * @return The bytes for nodeIpv4CidrBlock. */ - public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -2535,8 +2338,6 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2551,22 +2352,20 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() {
      * 
* * string node_ipv4_cidr_block = 10; - * * @param value The nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlock(java.lang.String value) { + public Builder setNodeIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2581,18 +2380,15 @@ public Builder setNodeIpv4CidrBlock(java.lang.String value) {
      * 
* * string node_ipv4_cidr_block = 10; - * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrBlock() { - + nodeIpv4CidrBlock_ = getDefaultInstance().getNodeIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2607,16 +2403,16 @@ public Builder clearNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; - * * @param value The bytes for nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setNodeIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4CidrBlock_ = value; onChanged(); return this; @@ -2624,8 +2420,6 @@ public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { private java.lang.Object servicesIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2641,13 +2435,13 @@ public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) {
      * 
* * string services_ipv4_cidr_block = 11; - * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { java.lang.Object ref = servicesIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; @@ -2656,8 +2450,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2673,14 +2465,15 @@ public java.lang.String getServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; - * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -2688,8 +2481,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2705,22 +2496,20 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() {
      * 
* * string services_ipv4_cidr_block = 11; - * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock(java.lang.String value) { + public Builder setServicesIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2736,18 +2525,15 @@ public Builder setServicesIpv4CidrBlock(java.lang.String value) {
      * 
* * string services_ipv4_cidr_block = 11; - * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { - + servicesIpv4CidrBlock_ = getDefaultInstance().getServicesIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2763,16 +2549,16 @@ public Builder clearServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; - * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4CidrBlock_ = value; onChanged(); return this; @@ -2780,8 +2566,6 @@ public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString valu private java.lang.Object tpuIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2797,13 +2581,13 @@ public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString valu
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -2812,8 +2596,6 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2829,14 +2611,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -2844,8 +2627,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2861,22 +2642,20 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock(java.lang.String value) { + public Builder setTpuIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2892,18 +2671,15 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2919,25 +2695,23 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean useRoutes_; + private boolean useRoutes_ ; /** - * - * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -2946,7 +2720,6 @@ public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) {
      * 
* * bool use_routes = 15; - * * @return The useRoutes. */ @java.lang.Override @@ -2954,8 +2727,6 @@ public boolean getUseRoutes() { return useRoutes_; } /** - * - * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -2964,19 +2735,16 @@ public boolean getUseRoutes() {
      * 
* * bool use_routes = 15; - * * @param value The useRoutes to set. * @return This builder for chaining. */ public Builder setUseRoutes(boolean value) { - + useRoutes_ = value; onChanged(); return this; } /** - * - * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -2985,11 +2753,10 @@ public Builder setUseRoutes(boolean value) {
      * 
* * bool use_routes = 15; - * * @return This builder for chaining. */ public Builder clearUseRoutes() { - + useRoutes_ = false; onChanged(); return this; @@ -2997,65 +2764,51 @@ public Builder clearUseRoutes() { private int stackType_ = 0; /** - * - * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; - * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override - public int getStackTypeValue() { + @java.lang.Override public int getStackTypeValue() { return stackType_; } /** - * - * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; - * * @param value The enum numeric value on the wire for stackType to set. * @return This builder for chaining. */ public Builder setStackTypeValue(int value) { - + stackType_ = value; onChanged(); return this; } /** - * - * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; - * * @return The stackType. */ @java.lang.Override public com.google.container.v1.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1.StackType result = - com.google.container.v1.StackType.valueOf(stackType_); + com.google.container.v1.StackType result = com.google.container.v1.StackType.valueOf(stackType_); return result == null ? com.google.container.v1.StackType.UNRECOGNIZED : result; } /** - * - * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; - * * @param value The stackType to set. * @return This builder for chaining. */ @@ -3063,24 +2816,21 @@ public Builder setStackType(com.google.container.v1.StackType value) { if (value == null) { throw new NullPointerException(); } - + stackType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; - * * @return This builder for chaining. */ public Builder clearStackType() { - + stackType_ = 0; onChanged(); return this; @@ -3088,65 +2838,51 @@ public Builder clearStackType() { private int ipv6AccessType_ = 0; /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override - public int getIpv6AccessTypeValue() { + @java.lang.Override public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @param value The enum numeric value on the wire for ipv6AccessType to set. * @return This builder for chaining. */ public Builder setIpv6AccessTypeValue(int value) { - + ipv6AccessType_ = value; onChanged(); return this; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @return The ipv6AccessType. */ @java.lang.Override public com.google.container.v1.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1.IPv6AccessType result = - com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); + com.google.container.v1.IPv6AccessType result = com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); return result == null ? com.google.container.v1.IPv6AccessType.UNRECOGNIZED : result; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @param value The ipv6AccessType to set. * @return This builder for chaining. */ @@ -3154,31 +2890,28 @@ public Builder setIpv6AccessType(com.google.container.v1.IPv6AccessType value) { if (value == null) { throw new NullPointerException(); } - + ipv6AccessType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @return This builder for chaining. */ public Builder clearIpv6AccessType() { - + ipv6AccessType_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3188,12 +2921,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.IPAllocationPolicy) private static final com.google.container.v1.IPAllocationPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.IPAllocationPolicy(); } @@ -3202,27 +2935,27 @@ public static com.google.container.v1.IPAllocationPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3237,4 +2970,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.IPAllocationPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java similarity index 83% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java index bf2a16ea123d..0374867d097b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface IPAllocationPolicyOrBuilder - extends +public interface IPAllocationPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -34,28 +16,22 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * bool use_ip_aliases = 1; - * * @return The useIpAliases. */ boolean getUseIpAliases(); /** - * - * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; - * * @return The createSubnetwork. */ boolean getCreateSubnetwork(); /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -63,13 +39,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string subnetwork_name = 3; - * * @return The subnetworkName. */ java.lang.String getSubnetworkName(); /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -77,107 +50,84 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string subnetwork_name = 3; - * * @return The bytes for subnetworkName. */ - com.google.protobuf.ByteString getSubnetworkNameBytes(); + com.google.protobuf.ByteString + getSubnetworkNameBytes(); /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated - java.lang.String getClusterIpv4Cidr(); + @java.lang.Deprecated java.lang.String getClusterIpv4Cidr(); /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1307 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIpv4CidrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIpv4CidrBytes(); /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated - java.lang.String getNodeIpv4Cidr(); + @java.lang.Deprecated java.lang.String getNodeIpv4Cidr(); /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1310 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodeIpv4CidrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodeIpv4CidrBytes(); /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated - java.lang.String getServicesIpv4Cidr(); + @java.lang.Deprecated java.lang.String getServicesIpv4Cidr(); /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1/cluster_service.proto;l=1313 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getServicesIpv4CidrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getServicesIpv4CidrBytes(); /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -188,13 +138,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_secondary_range_name = 7; - * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -205,14 +152,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_secondary_range_name = 7; - * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes(); /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -223,13 +168,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_secondary_range_name = 8; - * * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -240,14 +182,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_secondary_range_name = 8; - * * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes(); /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -263,13 +203,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -285,14 +222,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes(); /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -307,13 +242,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The nodeIpv4CidrBlock. */ java.lang.String getNodeIpv4CidrBlock(); /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -328,14 +260,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The bytes for nodeIpv4CidrBlock. */ - com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getNodeIpv4CidrBlockBytes(); /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -351,13 +281,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -373,14 +300,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes(); /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -396,13 +321,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -418,14 +340,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes(); /** - * - * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -434,57 +354,44 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * bool use_routes = 15; - * * @return The useRoutes. */ boolean getUseRoutes(); /** - * - * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; - * * @return The enum numeric value on the wire for stackType. */ int getStackTypeValue(); /** - * - * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; - * * @return The stackType. */ com.google.container.v1.StackType getStackType(); /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @return The enum numeric value on the wire for ipv6AccessType. */ int getIpv6AccessTypeValue(); /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; - * * @return The ipv6AccessType. */ com.google.container.v1.IPv6AccessType getIpv6AccessType(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java index 7819f8a97459..20e4a95e03bd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Possible values for IPv6 access type
  * 
* * Protobuf enum {@code google.container.v1.IPv6AccessType} */ -public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { +public enum IPv6AccessType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value, will be defaulted as type external.
    * 
@@ -39,8 +21,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ IPV6_ACCESS_TYPE_UNSPECIFIED(0), /** - * - * *
    * Access type internal (all v6 addresses are internal IPs)
    * 
@@ -49,8 +29,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ INTERNAL(1), /** - * - * *
    * Access type external (all v6 addresses are external IPs)
    * 
@@ -62,8 +40,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value, will be defaulted as type external.
    * 
@@ -72,8 +48,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IPV6_ACCESS_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Access type internal (all v6 addresses are internal IPs)
    * 
@@ -82,8 +56,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERNAL_VALUE = 1; /** - * - * *
    * Access type external (all v6 addresses are external IPs)
    * 
@@ -92,6 +64,7 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXTERNAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static IPv6AccessType valueOf(int value) { */ public static IPv6AccessType forNumber(int value) { switch (value) { - case 0: - return IPV6_ACCESS_TYPE_UNSPECIFIED; - case 1: - return INTERNAL; - case 2: - return EXTERNAL; - default: - return null; + case 0: return IPV6_ACCESS_TYPE_UNSPECIFIED; + case 1: return INTERNAL; + case 2: return EXTERNAL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IPv6AccessType findValueByNumber(int number) { - return IPv6AccessType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + IPv6AccessType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IPv6AccessType findValueByNumber(int number) { + return IPv6AccessType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(5); } private static final IPv6AccessType[] VALUES = values(); - public static IPv6AccessType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IPv6AccessType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private IPv6AccessType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.IPv6AccessType) } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java index 6bd9aa6b74ae..c94418d6f35f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * IdentityServiceConfig is configuration for Identity Service which allows
  * customers to use external identity providers with the K8S API
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1.IdentityServiceConfig}
  */
-public final class IdentityServiceConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IdentityServiceConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.IdentityServiceConfig)
     IdentityServiceConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IdentityServiceConfig.newBuilder() to construct.
   private IdentityServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private IdentityServiceConfig() {}
+  private IdentityServiceConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IdentityServiceConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.IdentityServiceConfig.class,
-            com.google.container.v1.IdentityServiceConfig.Builder.class);
+            com.google.container.v1.IdentityServiceConfig.class, com.google.container.v1.IdentityServiceConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Whether to enable the Identity Service component
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.IdentityServiceConfig)) { return super.equals(obj); } - com.google.container.v1.IdentityServiceConfig other = - (com.google.container.v1.IdentityServiceConfig) obj; + com.google.container.v1.IdentityServiceConfig other = (com.google.container.v1.IdentityServiceConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.IdentityServiceConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.IdentityServiceConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IdentityServiceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IdentityServiceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IdentityServiceConfig parseFrom( 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.IdentityServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IdentityServiceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.IdentityServiceConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.IdentityServiceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.IdentityServiceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.IdentityServiceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.IdentityServiceConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.IdentityServiceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.IdentityServiceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.IdentityServiceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IdentityServiceConfig is configuration for Identity Service which allows
    * customers to use external identity providers with the K8S API
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.IdentityServiceConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.IdentityServiceConfig)
       com.google.container.v1.IdentityServiceConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.IdentityServiceConfig.class,
-              com.google.container.v1.IdentityServiceConfig.Builder.class);
+              com.google.container.v1.IdentityServiceConfig.class, com.google.container.v1.IdentityServiceConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.IdentityServiceConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1.IdentityServiceConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.IdentityServiceConfig buildPartial() {
-      com.google.container.v1.IdentityServiceConfig result =
-          new com.google.container.v1.IdentityServiceConfig(this);
+      com.google.container.v1.IdentityServiceConfig result = new com.google.container.v1.IdentityServiceConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1.IdentityServiceConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.IdentityServiceConfig) {
-        return mergeFrom((com.google.container.v1.IdentityServiceConfig) other);
+        return mergeFrom((com.google.container.v1.IdentityServiceConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -413,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -430,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.IdentityServiceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.IdentityServiceConfig) private static final com.google.container.v1.IdentityServiceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.IdentityServiceConfig(); } @@ -490,27 +452,27 @@ public static com.google.container.v1.IdentityServiceConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentityServiceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentityServiceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.IdentityServiceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java new file mode 100644 index 000000000000..e9a7d076cdbd --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface IdentityServiceConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.IdentityServiceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether to enable the Identity Service component
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java index 6dc2502d2e6f..a793944407b9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * IntraNodeVisibilityConfig contains the desired config of the intra-node
  * visibility on this cluster.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1.IntraNodeVisibilityConfig}
  */
-public final class IntraNodeVisibilityConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IntraNodeVisibilityConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.IntraNodeVisibilityConfig)
     IntraNodeVisibilityConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IntraNodeVisibilityConfig.newBuilder() to construct.
   private IntraNodeVisibilityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private IntraNodeVisibilityConfig() {}
+  private IntraNodeVisibilityConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IntraNodeVisibilityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.IntraNodeVisibilityConfig.class,
-            com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
+            com.google.container.v1.IntraNodeVisibilityConfig.class, com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enables intra node visibility for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.IntraNodeVisibilityConfig)) { return super.equals(obj); } - com.google.container.v1.IntraNodeVisibilityConfig other = - (com.google.container.v1.IntraNodeVisibilityConfig) obj; + com.google.container.v1.IntraNodeVisibilityConfig other = (com.google.container.v1.IntraNodeVisibilityConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( 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.IntraNodeVisibilityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.IntraNodeVisibilityConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.IntraNodeVisibilityConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.IntraNodeVisibilityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IntraNodeVisibilityConfig contains the desired config of the intra-node
    * visibility on this cluster.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.IntraNodeVisibilityConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.IntraNodeVisibilityConfig)
       com.google.container.v1.IntraNodeVisibilityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.IntraNodeVisibilityConfig.class,
-              com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
+              com.google.container.v1.IntraNodeVisibilityConfig.class, com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.IntraNodeVisibilityConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1.IntraNodeVisibilityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.IntraNodeVisibilityConfig buildPartial() {
-      com.google.container.v1.IntraNodeVisibilityConfig result =
-          new com.google.container.v1.IntraNodeVisibilityConfig(this);
+      com.google.container.v1.IntraNodeVisibilityConfig result = new com.google.container.v1.IntraNodeVisibilityConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1.IntraNodeVisibilityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.IntraNodeVisibilityConfig) {
-        return mergeFrom((com.google.container.v1.IntraNodeVisibilityConfig) other);
+        return mergeFrom((com.google.container.v1.IntraNodeVisibilityConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -360,8 +333,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.IntraNodeVisibilityConfig other) {
-      if (other == com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -391,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -414,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -431,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -477,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.IntraNodeVisibilityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.IntraNodeVisibilityConfig) private static final com.google.container.v1.IntraNodeVisibilityConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.IntraNodeVisibilityConfig(); } @@ -491,27 +452,27 @@ public static com.google.container.v1.IntraNodeVisibilityConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntraNodeVisibilityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntraNodeVisibilityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -526,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.IntraNodeVisibilityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java new file mode 100644 index 000000000000..9b281fd79caa --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface IntraNodeVisibilityConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.IntraNodeVisibilityConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enables intra node visibility for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java index 2c3404bf6aed..f42524b3eff3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Jwk is a JSON Web Key as specified in RFC 7517
  * 
* * Protobuf type {@code google.container.v1.Jwk} */ -public final class Jwk extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Jwk extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.Jwk) JwkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Jwk.newBuilder() to construct. private Jwk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Jwk() { kty_ = ""; alg_ = ""; @@ -51,25 +33,25 @@ private Jwk() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Jwk(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Jwk_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Jwk.class, com.google.container.v1.Jwk.Builder.class); } @@ -77,14 +59,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int KTY_FIELD_NUMBER = 1; private volatile java.lang.Object kty_; /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The kty. */ @java.lang.Override @@ -93,29 +72,29 @@ public java.lang.String getKty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; } } /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The bytes for kty. */ @java.lang.Override - public com.google.protobuf.ByteString getKtyBytes() { + public com.google.protobuf.ByteString + getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kty_ = b; return b; } else { @@ -126,14 +105,11 @@ public com.google.protobuf.ByteString getKtyBytes() { public static final int ALG_FIELD_NUMBER = 2; private volatile java.lang.Object alg_; /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The alg. */ @java.lang.Override @@ -142,29 +118,29 @@ public java.lang.String getAlg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; } } /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The bytes for alg. */ @java.lang.Override - public com.google.protobuf.ByteString getAlgBytes() { + public com.google.protobuf.ByteString + getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alg_ = b; return b; } else { @@ -175,14 +151,11 @@ public com.google.protobuf.ByteString getAlgBytes() { public static final int USE_FIELD_NUMBER = 3; private volatile java.lang.Object use_; /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The use. */ @java.lang.Override @@ -191,29 +164,29 @@ public java.lang.String getUse() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; } } /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The bytes for use. */ @java.lang.Override - public com.google.protobuf.ByteString getUseBytes() { + public com.google.protobuf.ByteString + getUseBytes() { java.lang.Object ref = use_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); use_ = b; return b; } else { @@ -224,14 +197,11 @@ public com.google.protobuf.ByteString getUseBytes() { public static final int KID_FIELD_NUMBER = 4; private volatile java.lang.Object kid_; /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The kid. */ @java.lang.Override @@ -240,29 +210,29 @@ public java.lang.String getKid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; } } /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The bytes for kid. */ @java.lang.Override - public com.google.protobuf.ByteString getKidBytes() { + public com.google.protobuf.ByteString + getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kid_ = b; return b; } else { @@ -273,14 +243,11 @@ public com.google.protobuf.ByteString getKidBytes() { public static final int N_FIELD_NUMBER = 5; private volatile java.lang.Object n_; /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The n. */ @java.lang.Override @@ -289,29 +256,29 @@ public java.lang.String getN() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; } } /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The bytes for n. */ @java.lang.Override - public com.google.protobuf.ByteString getNBytes() { + public com.google.protobuf.ByteString + getNBytes() { java.lang.Object ref = n_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); n_ = b; return b; } else { @@ -322,14 +289,11 @@ public com.google.protobuf.ByteString getNBytes() { public static final int E_FIELD_NUMBER = 6; private volatile java.lang.Object e_; /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The e. */ @java.lang.Override @@ -338,29 +302,29 @@ public java.lang.String getE() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; } } /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The bytes for e. */ @java.lang.Override - public com.google.protobuf.ByteString getEBytes() { + public com.google.protobuf.ByteString + getEBytes() { java.lang.Object ref = e_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); e_ = b; return b; } else { @@ -371,14 +335,11 @@ public com.google.protobuf.ByteString getEBytes() { public static final int X_FIELD_NUMBER = 7; private volatile java.lang.Object x_; /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The x. */ @java.lang.Override @@ -387,29 +348,29 @@ public java.lang.String getX() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; } } /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The bytes for x. */ @java.lang.Override - public com.google.protobuf.ByteString getXBytes() { + public com.google.protobuf.ByteString + getXBytes() { java.lang.Object ref = x_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); x_ = b; return b; } else { @@ -420,14 +381,11 @@ public com.google.protobuf.ByteString getXBytes() { public static final int Y_FIELD_NUMBER = 8; private volatile java.lang.Object y_; /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The y. */ @java.lang.Override @@ -436,29 +394,29 @@ public java.lang.String getY() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; } } /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The bytes for y. */ @java.lang.Override - public com.google.protobuf.ByteString getYBytes() { + public com.google.protobuf.ByteString + getYBytes() { java.lang.Object ref = y_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); y_ = b; return b; } else { @@ -469,14 +427,11 @@ public com.google.protobuf.ByteString getYBytes() { public static final int CRV_FIELD_NUMBER = 9; private volatile java.lang.Object crv_; /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The crv. */ @java.lang.Override @@ -485,29 +440,29 @@ public java.lang.String getCrv() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; } } /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The bytes for crv. */ @java.lang.Override - public com.google.protobuf.ByteString getCrvBytes() { + public com.google.protobuf.ByteString + getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); crv_ = b; return b; } else { @@ -516,7 +471,6 @@ public com.google.protobuf.ByteString getCrvBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -528,7 +482,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kty_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kty_); } @@ -600,22 +555,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.Jwk)) { return super.equals(obj); } com.google.container.v1.Jwk other = (com.google.container.v1.Jwk) obj; - if (!getKty().equals(other.getKty())) return false; - if (!getAlg().equals(other.getAlg())) return false; - if (!getUse().equals(other.getUse())) return false; - if (!getKid().equals(other.getKid())) return false; - if (!getN().equals(other.getN())) return false; - if (!getE().equals(other.getE())) return false; - if (!getX().equals(other.getX())) return false; - if (!getY().equals(other.getY())) return false; - if (!getCrv().equals(other.getCrv())) return false; + if (!getKty() + .equals(other.getKty())) return false; + if (!getAlg() + .equals(other.getAlg())) return false; + if (!getUse() + .equals(other.getUse())) return false; + if (!getKid() + .equals(other.getKid())) return false; + if (!getN() + .equals(other.getN())) return false; + if (!getE() + .equals(other.getE())) return false; + if (!getX() + .equals(other.getX())) return false; + if (!getY() + .equals(other.getY())) return false; + if (!getCrv() + .equals(other.getCrv())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -650,134 +614,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.Jwk parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.Jwk parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Jwk parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.Jwk parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.Jwk parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Jwk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.Jwk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Jwk parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.Jwk parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.Jwk parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.Jwk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.Jwk parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.Jwk parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.container.v1.Jwk parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.Jwk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.Jwk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Jwk is a JSON Web Key as specified in RFC 7517
    * 
* * Protobuf type {@code google.container.v1.Jwk} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.Jwk) com.google.container.v1.JwkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Jwk_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Jwk.class, com.google.container.v1.Jwk.Builder.class); } // Construct using com.google.container.v1.Jwk.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -803,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_Jwk_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_descriptor; } @java.lang.Override @@ -842,39 +802,38 @@ public com.google.container.v1.Jwk buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.Jwk) { - return mergeFrom((com.google.container.v1.Jwk) other); + return mergeFrom((com.google.container.v1.Jwk)other); } else { super.mergeFrom(other); return this; @@ -945,67 +904,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - kty_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - alg_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - use_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - kid_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - n_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - e_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - x_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - y_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - crv_ = input.readStringRequireUtf8(); - - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + kty_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + alg_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + use_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + kid_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + n_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + e_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + x_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + y_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + crv_ = input.readStringRequireUtf8(); + + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1018,20 +967,18 @@ public Builder mergeFrom( private java.lang.Object kty_ = ""; /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @return The kty. */ public java.lang.String getKty() { java.lang.Object ref = kty_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; @@ -1040,21 +987,20 @@ public java.lang.String getKty() { } } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @return The bytes for kty. */ - public com.google.protobuf.ByteString getKtyBytes() { + public com.google.protobuf.ByteString + getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kty_ = b; return b; } else { @@ -1062,61 +1008,54 @@ public com.google.protobuf.ByteString getKtyBytes() { } } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @param value The kty to set. * @return This builder for chaining. */ - public Builder setKty(java.lang.String value) { + public Builder setKty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kty_ = value; onChanged(); return this; } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @return This builder for chaining. */ public Builder clearKty() { - + kty_ = getDefaultInstance().getKty(); onChanged(); return this; } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @param value The bytes for kty to set. * @return This builder for chaining. */ - public Builder setKtyBytes(com.google.protobuf.ByteString value) { + public Builder setKtyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kty_ = value; onChanged(); return this; @@ -1124,20 +1063,18 @@ public Builder setKtyBytes(com.google.protobuf.ByteString value) { private java.lang.Object alg_ = ""; /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @return The alg. */ public java.lang.String getAlg() { java.lang.Object ref = alg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; @@ -1146,21 +1083,20 @@ public java.lang.String getAlg() { } } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @return The bytes for alg. */ - public com.google.protobuf.ByteString getAlgBytes() { + public com.google.protobuf.ByteString + getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alg_ = b; return b; } else { @@ -1168,61 +1104,54 @@ public com.google.protobuf.ByteString getAlgBytes() { } } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @param value The alg to set. * @return This builder for chaining. */ - public Builder setAlg(java.lang.String value) { + public Builder setAlg( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alg_ = value; onChanged(); return this; } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @return This builder for chaining. */ public Builder clearAlg() { - + alg_ = getDefaultInstance().getAlg(); onChanged(); return this; } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @param value The bytes for alg to set. * @return This builder for chaining. */ - public Builder setAlgBytes(com.google.protobuf.ByteString value) { + public Builder setAlgBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alg_ = value; onChanged(); return this; @@ -1230,20 +1159,18 @@ public Builder setAlgBytes(com.google.protobuf.ByteString value) { private java.lang.Object use_ = ""; /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @return The use. */ public java.lang.String getUse() { java.lang.Object ref = use_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; @@ -1252,21 +1179,20 @@ public java.lang.String getUse() { } } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @return The bytes for use. */ - public com.google.protobuf.ByteString getUseBytes() { + public com.google.protobuf.ByteString + getUseBytes() { java.lang.Object ref = use_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); use_ = b; return b; } else { @@ -1274,61 +1200,54 @@ public com.google.protobuf.ByteString getUseBytes() { } } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @param value The use to set. * @return This builder for chaining. */ - public Builder setUse(java.lang.String value) { + public Builder setUse( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + use_ = value; onChanged(); return this; } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @return This builder for chaining. */ public Builder clearUse() { - + use_ = getDefaultInstance().getUse(); onChanged(); return this; } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @param value The bytes for use to set. * @return This builder for chaining. */ - public Builder setUseBytes(com.google.protobuf.ByteString value) { + public Builder setUseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + use_ = value; onChanged(); return this; @@ -1336,20 +1255,18 @@ public Builder setUseBytes(com.google.protobuf.ByteString value) { private java.lang.Object kid_ = ""; /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @return The kid. */ public java.lang.String getKid() { java.lang.Object ref = kid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; @@ -1358,21 +1275,20 @@ public java.lang.String getKid() { } } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @return The bytes for kid. */ - public com.google.protobuf.ByteString getKidBytes() { + public com.google.protobuf.ByteString + getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kid_ = b; return b; } else { @@ -1380,61 +1296,54 @@ public com.google.protobuf.ByteString getKidBytes() { } } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @param value The kid to set. * @return This builder for chaining. */ - public Builder setKid(java.lang.String value) { + public Builder setKid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kid_ = value; onChanged(); return this; } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @return This builder for chaining. */ public Builder clearKid() { - + kid_ = getDefaultInstance().getKid(); onChanged(); return this; } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @param value The bytes for kid to set. * @return This builder for chaining. */ - public Builder setKidBytes(com.google.protobuf.ByteString value) { + public Builder setKidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kid_ = value; onChanged(); return this; @@ -1442,20 +1351,18 @@ public Builder setKidBytes(com.google.protobuf.ByteString value) { private java.lang.Object n_ = ""; /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @return The n. */ public java.lang.String getN() { java.lang.Object ref = n_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; @@ -1464,21 +1371,20 @@ public java.lang.String getN() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @return The bytes for n. */ - public com.google.protobuf.ByteString getNBytes() { + public com.google.protobuf.ByteString + getNBytes() { java.lang.Object ref = n_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); n_ = b; return b; } else { @@ -1486,61 +1392,54 @@ public com.google.protobuf.ByteString getNBytes() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @param value The n to set. * @return This builder for chaining. */ - public Builder setN(java.lang.String value) { + public Builder setN( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + n_ = value; onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @return This builder for chaining. */ public Builder clearN() { - + n_ = getDefaultInstance().getN(); onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @param value The bytes for n to set. * @return This builder for chaining. */ - public Builder setNBytes(com.google.protobuf.ByteString value) { + public Builder setNBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + n_ = value; onChanged(); return this; @@ -1548,20 +1447,18 @@ public Builder setNBytes(com.google.protobuf.ByteString value) { private java.lang.Object e_ = ""; /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @return The e. */ public java.lang.String getE() { java.lang.Object ref = e_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; @@ -1570,21 +1467,20 @@ public java.lang.String getE() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @return The bytes for e. */ - public com.google.protobuf.ByteString getEBytes() { + public com.google.protobuf.ByteString + getEBytes() { java.lang.Object ref = e_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); e_ = b; return b; } else { @@ -1592,61 +1488,54 @@ public com.google.protobuf.ByteString getEBytes() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @param value The e to set. * @return This builder for chaining. */ - public Builder setE(java.lang.String value) { + public Builder setE( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + e_ = value; onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @return This builder for chaining. */ public Builder clearE() { - + e_ = getDefaultInstance().getE(); onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @param value The bytes for e to set. * @return This builder for chaining. */ - public Builder setEBytes(com.google.protobuf.ByteString value) { + public Builder setEBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + e_ = value; onChanged(); return this; @@ -1654,20 +1543,18 @@ public Builder setEBytes(com.google.protobuf.ByteString value) { private java.lang.Object x_ = ""; /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @return The x. */ public java.lang.String getX() { java.lang.Object ref = x_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; @@ -1676,21 +1563,20 @@ public java.lang.String getX() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @return The bytes for x. */ - public com.google.protobuf.ByteString getXBytes() { + public com.google.protobuf.ByteString + getXBytes() { java.lang.Object ref = x_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); x_ = b; return b; } else { @@ -1698,61 +1584,54 @@ public com.google.protobuf.ByteString getXBytes() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @param value The x to set. * @return This builder for chaining. */ - public Builder setX(java.lang.String value) { + public Builder setX( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + x_ = value; onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @return This builder for chaining. */ public Builder clearX() { - + x_ = getDefaultInstance().getX(); onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @param value The bytes for x to set. * @return This builder for chaining. */ - public Builder setXBytes(com.google.protobuf.ByteString value) { + public Builder setXBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + x_ = value; onChanged(); return this; @@ -1760,20 +1639,18 @@ public Builder setXBytes(com.google.protobuf.ByteString value) { private java.lang.Object y_ = ""; /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @return The y. */ public java.lang.String getY() { java.lang.Object ref = y_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; @@ -1782,21 +1659,20 @@ public java.lang.String getY() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @return The bytes for y. */ - public com.google.protobuf.ByteString getYBytes() { + public com.google.protobuf.ByteString + getYBytes() { java.lang.Object ref = y_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); y_ = b; return b; } else { @@ -1804,61 +1680,54 @@ public com.google.protobuf.ByteString getYBytes() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @param value The y to set. * @return This builder for chaining. */ - public Builder setY(java.lang.String value) { + public Builder setY( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + y_ = value; onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @return This builder for chaining. */ public Builder clearY() { - + y_ = getDefaultInstance().getY(); onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @param value The bytes for y to set. * @return This builder for chaining. */ - public Builder setYBytes(com.google.protobuf.ByteString value) { + public Builder setYBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + y_ = value; onChanged(); return this; @@ -1866,20 +1735,18 @@ public Builder setYBytes(com.google.protobuf.ByteString value) { private java.lang.Object crv_ = ""; /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @return The crv. */ public java.lang.String getCrv() { java.lang.Object ref = crv_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; @@ -1888,21 +1755,20 @@ public java.lang.String getCrv() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @return The bytes for crv. */ - public com.google.protobuf.ByteString getCrvBytes() { + public com.google.protobuf.ByteString + getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); crv_ = b; return b; } else { @@ -1910,68 +1776,61 @@ public com.google.protobuf.ByteString getCrvBytes() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @param value The crv to set. * @return This builder for chaining. */ - public Builder setCrv(java.lang.String value) { + public Builder setCrv( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + crv_ = value; onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @return This builder for chaining. */ public Builder clearCrv() { - + crv_ = getDefaultInstance().getCrv(); onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @param value The bytes for crv to set. * @return This builder for chaining. */ - public Builder setCrvBytes(com.google.protobuf.ByteString value) { + public Builder setCrvBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + crv_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1981,12 +1840,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.Jwk) } // @@protoc_insertion_point(class_scope:google.container.v1.Jwk) private static final com.google.container.v1.Jwk DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.Jwk(); } @@ -1995,27 +1854,27 @@ public static com.google.container.v1.Jwk getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Jwk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Jwk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2030,4 +1889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.Jwk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java index 1a1d84d21012..3adfbb359150 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java @@ -1,250 +1,189 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface JwkOrBuilder - extends +public interface JwkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.Jwk) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The kty. */ java.lang.String getKty(); /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The bytes for kty. */ - com.google.protobuf.ByteString getKtyBytes(); + com.google.protobuf.ByteString + getKtyBytes(); /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The alg. */ java.lang.String getAlg(); /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The bytes for alg. */ - com.google.protobuf.ByteString getAlgBytes(); + com.google.protobuf.ByteString + getAlgBytes(); /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The use. */ java.lang.String getUse(); /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The bytes for use. */ - com.google.protobuf.ByteString getUseBytes(); + com.google.protobuf.ByteString + getUseBytes(); /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The kid. */ java.lang.String getKid(); /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The bytes for kid. */ - com.google.protobuf.ByteString getKidBytes(); + com.google.protobuf.ByteString + getKidBytes(); /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The n. */ java.lang.String getN(); /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The bytes for n. */ - com.google.protobuf.ByteString getNBytes(); + com.google.protobuf.ByteString + getNBytes(); /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The e. */ java.lang.String getE(); /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The bytes for e. */ - com.google.protobuf.ByteString getEBytes(); + com.google.protobuf.ByteString + getEBytes(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The x. */ java.lang.String getX(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The bytes for x. */ - com.google.protobuf.ByteString getXBytes(); + com.google.protobuf.ByteString + getXBytes(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The y. */ java.lang.String getY(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The bytes for y. */ - com.google.protobuf.ByteString getYBytes(); + com.google.protobuf.ByteString + getYBytes(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The crv. */ java.lang.String getCrv(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The bytes for crv. */ - com.google.protobuf.ByteString getCrvBytes(); + com.google.protobuf.ByteString + getCrvBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java index 3a1ff1c90d4a..fc7dce82a21a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for the Kubernetes Dashboard.
  * 
* * Protobuf type {@code google.container.v1.KubernetesDashboard} */ -public final class KubernetesDashboard extends com.google.protobuf.GeneratedMessageV3 - implements +public final class KubernetesDashboard extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.KubernetesDashboard) KubernetesDashboardOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use KubernetesDashboard.newBuilder() to construct. private KubernetesDashboard(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private KubernetesDashboard() {} + private KubernetesDashboard() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new KubernetesDashboard(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_KubernetesDashboard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.KubernetesDashboard.class, - com.google.container.v1.KubernetesDashboard.Builder.class); + com.google.container.v1.KubernetesDashboard.class, com.google.container.v1.KubernetesDashboard.Builder.class); } public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** - * - * *
    * Whether the Kubernetes Dashboard is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.KubernetesDashboard)) { return super.equals(obj); } - com.google.container.v1.KubernetesDashboard other = - (com.google.container.v1.KubernetesDashboard) obj; + com.google.container.v1.KubernetesDashboard other = (com.google.container.v1.KubernetesDashboard) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.KubernetesDashboard parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.KubernetesDashboard parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.KubernetesDashboard parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.KubernetesDashboard parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.KubernetesDashboard parseFrom( 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.KubernetesDashboard parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.KubernetesDashboard parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.KubernetesDashboard parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.KubernetesDashboard parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.KubernetesDashboard parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.KubernetesDashboard parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.KubernetesDashboard parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.KubernetesDashboard parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.KubernetesDashboard parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.KubernetesDashboard prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * 
* * Protobuf type {@code google.container.v1.KubernetesDashboard} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.KubernetesDashboard) com.google.container.v1.KubernetesDashboardOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_KubernetesDashboard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.KubernetesDashboard.class, - com.google.container.v1.KubernetesDashboard.Builder.class); + com.google.container.v1.KubernetesDashboard.class, com.google.container.v1.KubernetesDashboard.Builder.class); } // Construct using com.google.container.v1.KubernetesDashboard.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_KubernetesDashboard_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.KubernetesDashboard build() { @java.lang.Override public com.google.container.v1.KubernetesDashboard buildPartial() { - com.google.container.v1.KubernetesDashboard result = - new com.google.container.v1.KubernetesDashboard(this); + com.google.container.v1.KubernetesDashboard result = new com.google.container.v1.KubernetesDashboard(this); result.disabled_ = disabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.KubernetesDashboard buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.KubernetesDashboard) { - return mergeFrom((com.google.container.v1.KubernetesDashboard) other); + return mergeFrom((com.google.container.v1.KubernetesDashboard)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -428,43 +396,37 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.KubernetesDashboard) } // @@protoc_insertion_point(class_scope:google.container.v1.KubernetesDashboard) private static final com.google.container.v1.KubernetesDashboard DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.KubernetesDashboard(); } @@ -488,27 +450,27 @@ public static com.google.container.v1.KubernetesDashboard getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KubernetesDashboard parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KubernetesDashboard parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.KubernetesDashboard getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java new file mode 100644 index 000000000000..edaebef86342 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface KubernetesDashboardOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.KubernetesDashboard) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Kubernetes Dashboard is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java index b329e6a30734..2013343aa1c4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration for the legacy Attribute Based Access Control authorization
  * mode.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1.LegacyAbac}
  */
-public final class LegacyAbac extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LegacyAbac extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.LegacyAbac)
     LegacyAbacOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LegacyAbac.newBuilder() to construct.
   private LegacyAbac(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private LegacyAbac() {}
+  private LegacyAbac() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LegacyAbac();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_LegacyAbac_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.LegacyAbac.class,
-            com.google.container.v1.LegacyAbac.Builder.class);
+            com.google.container.v1.LegacyAbac.class, com.google.container.v1.LegacyAbac.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -88,7 +67,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,7 +78,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -114,7 +93,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,14 +104,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LegacyAbac)) { return super.equals(obj); } com.google.container.v1.LegacyAbac other = (com.google.container.v1.LegacyAbac) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -144,109 +125,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.LegacyAbac parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.LegacyAbac parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LegacyAbac parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LegacyAbac parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.LegacyAbac parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LegacyAbac parseFrom( 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.LegacyAbac parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LegacyAbac parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LegacyAbac parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LegacyAbac parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.LegacyAbac parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.LegacyAbac parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.LegacyAbac parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LegacyAbac parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.LegacyAbac prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the legacy Attribute Based Access Control authorization
    * mode.
@@ -254,32 +230,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.LegacyAbac}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.LegacyAbac)
       com.google.container.v1.LegacyAbacOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_LegacyAbac_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.LegacyAbac.class,
-              com.google.container.v1.LegacyAbac.Builder.class);
+              com.google.container.v1.LegacyAbac.class, com.google.container.v1.LegacyAbac.Builder.class);
     }
 
     // Construct using com.google.container.v1.LegacyAbac.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -289,9 +266,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_LegacyAbac_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
@@ -320,39 +297,38 @@ public com.google.container.v1.LegacyAbac buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.LegacyAbac) {
-        return mergeFrom((com.google.container.v1.LegacyAbac) other);
+        return mergeFrom((com.google.container.v1.LegacyAbac)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,19 +366,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -413,10 +387,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -425,7 +397,6 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -433,8 +404,6 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -443,19 +412,16 @@ public boolean getEnabled() {
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -464,18 +430,17 @@ public Builder setEnabled(boolean value) {
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,12 +450,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.LegacyAbac) } // @@protoc_insertion_point(class_scope:google.container.v1.LegacyAbac) private static final com.google.container.v1.LegacyAbac DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.LegacyAbac(); } @@ -499,27 +464,27 @@ public static com.google.container.v1.LegacyAbac getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LegacyAbac parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LegacyAbac parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -534,4 +499,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LegacyAbac getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java similarity index 50% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java index 373ff779c46c..0636733e2229 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LegacyAbacOrBuilder - extends +public interface LegacyAbacOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.LegacyAbac) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -34,7 +16,6 @@ public interface LegacyAbacOrBuilder
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java index bf260f7ea241..6866ae365e93 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java @@ -1,96 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Parameters that can be configured on Linux nodes.
  * 
* * Protobuf type {@code google.container.v1.LinuxNodeConfig} */ -public final class LinuxNodeConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LinuxNodeConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.LinuxNodeConfig) LinuxNodeConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LinuxNodeConfig.newBuilder() to construct. private LinuxNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LinuxNodeConfig() { cgroupMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LinuxNodeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LinuxNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LinuxNodeConfig.class, - com.google.container.v1.LinuxNodeConfig.Builder.class); + com.google.container.v1.LinuxNodeConfig.class, com.google.container.v1.LinuxNodeConfig.Builder.class); } /** - * - * *
    * Possible cgroup modes that can be used.
    * 
* * Protobuf enum {@code google.container.v1.LinuxNodeConfig.CgroupMode} */ - public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum { + public enum CgroupMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -100,8 +79,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     CGROUP_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -111,8 +88,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     CGROUP_MODE_V1(1),
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -125,8 +100,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -136,8 +109,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CGROUP_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -147,8 +118,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CGROUP_MODE_V1_VALUE = 1;
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -158,6 +127,7 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CGROUP_MODE_V2_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -182,49 +152,49 @@ public static CgroupMode valueOf(int value) {
      */
     public static CgroupMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return CGROUP_MODE_UNSPECIFIED;
-        case 1:
-          return CGROUP_MODE_V1;
-        case 2:
-          return CGROUP_MODE_V2;
-        default:
-          return null;
+        case 0: return CGROUP_MODE_UNSPECIFIED;
+        case 1: return CGROUP_MODE_V1;
+        case 2: return CGROUP_MODE_V2;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CgroupMode findValueByNumber(int number) {
-            return CgroupMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CgroupMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CgroupMode findValueByNumber(int number) {
+              return CgroupMode.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.LinuxNodeConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final CgroupMode[] VALUES = values();
 
-    public static CgroupMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CgroupMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -242,23 +212,24 @@ private CgroupMode(int value) {
   }
 
   public static final int SYSCTLS_FIELD_NUMBER = 1;
-
   private static final class SysctlsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.container.v1.ClusterServiceProto
-                .internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField sysctls_;
-
-  private com.google.protobuf.MapField internalGetSysctls() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> sysctls_;
+  private com.google.protobuf.MapField
+  internalGetSysctls() {
     if (sysctls_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          SysctlsDefaultEntryHolder.defaultEntry);
     }
     return sysctls_;
   }
@@ -267,8 +238,6 @@ public int getSysctlsCount() {
     return internalGetSysctls().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -288,22 +257,22 @@ public int getSysctlsCount() {
    *
    * map<string, string> sysctls = 1;
    */
+
   @java.lang.Override
-  public boolean containsSysctls(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsSysctls(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetSysctls().getMap().containsKey(key);
   }
-  /** Use {@link #getSysctlsMap()} instead. */
+  /**
+   * Use {@link #getSysctlsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSysctls() {
     return getSysctlsMap();
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -324,12 +293,11 @@ public java.util.Map getSysctls() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
+
   public java.util.Map getSysctlsMap() {
     return internalGetSysctls().getMap();
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -350,16 +318,16 @@ public java.util.Map getSysctlsMap() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-  public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetSysctls().getMap();
+
+  public java.lang.String getSysctlsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetSysctls().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -380,11 +348,12 @@ public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-  public java.lang.String getSysctlsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetSysctls().getMap();
+
+  public java.lang.String getSysctlsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetSysctls().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -394,43 +363,31 @@ public java.lang.String getSysctlsOrThrow(java.lang.String key) {
   public static final int CGROUP_MODE_FIELD_NUMBER = 2;
   private int cgroupMode_;
   /**
-   *
-   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override - public int getCgroupModeValue() { + @java.lang.Override public int getCgroupModeValue() { return cgroupMode_; } /** - * - * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The cgroupMode. */ - @java.lang.Override - public com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode() { + @java.lang.Override public com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1.LinuxNodeConfig.CgroupMode result = - com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null - ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED - : result; + com.google.container.v1.LinuxNodeConfig.CgroupMode result = com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -442,11 +399,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetSysctls(), SysctlsDefaultEntryHolder.defaultEntry, 1); - if (cgroupMode_ - != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSysctls(), + SysctlsDefaultEntryHolder.defaultEntry, + 1); + if (cgroupMode_ != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, cgroupMode_); } getUnknownFields().writeTo(output); @@ -458,19 +419,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry : - internalGetSysctls().getMap().entrySet()) { - com.google.protobuf.MapEntry sysctls__ = - SysctlsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sysctls__); + for (java.util.Map.Entry entry + : internalGetSysctls().getMap().entrySet()) { + com.google.protobuf.MapEntry + sysctls__ = SysctlsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, sysctls__); } - if (cgroupMode_ - != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, cgroupMode_); + if (cgroupMode_ != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, cgroupMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -480,14 +441,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LinuxNodeConfig)) { return super.equals(obj); } com.google.container.v1.LinuxNodeConfig other = (com.google.container.v1.LinuxNodeConfig) obj; - if (!internalGetSysctls().equals(other.internalGetSysctls())) return false; + if (!internalGetSysctls().equals( + other.internalGetSysctls())) return false; if (cgroupMode_ != other.cgroupMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -511,156 +473,152 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LinuxNodeConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.LinuxNodeConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LinuxNodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LinuxNodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LinuxNodeConfig parseFrom( 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.LinuxNodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LinuxNodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LinuxNodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LinuxNodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.LinuxNodeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.LinuxNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LinuxNodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.LinuxNodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * Protobuf type {@code google.container.v1.LinuxNodeConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.LinuxNodeConfig) com.google.container.v1.LinuxNodeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LinuxNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 1: return internalGetMutableSysctls(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LinuxNodeConfig.class, - com.google.container.v1.LinuxNodeConfig.Builder.class); + com.google.container.v1.LinuxNodeConfig.class, com.google.container.v1.LinuxNodeConfig.Builder.class); } // Construct using com.google.container.v1.LinuxNodeConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -671,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LinuxNodeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_descriptor; } @java.lang.Override @@ -692,8 +650,7 @@ public com.google.container.v1.LinuxNodeConfig build() { @java.lang.Override public com.google.container.v1.LinuxNodeConfig buildPartial() { - com.google.container.v1.LinuxNodeConfig result = - new com.google.container.v1.LinuxNodeConfig(this); + com.google.container.v1.LinuxNodeConfig result = new com.google.container.v1.LinuxNodeConfig(this); int from_bitField0_ = bitField0_; result.sysctls_ = internalGetSysctls(); result.sysctls_.makeImmutable(); @@ -706,39 +663,38 @@ public com.google.container.v1.LinuxNodeConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LinuxNodeConfig) { - return mergeFrom((com.google.container.v1.LinuxNodeConfig) other); + return mergeFrom((com.google.container.v1.LinuxNodeConfig)other); } else { super.mergeFrom(other); return this; @@ -747,7 +703,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1.LinuxNodeConfig other) { if (other == com.google.container.v1.LinuxNodeConfig.getDefaultInstance()) return this; - internalGetMutableSysctls().mergeFrom(other.internalGetSysctls()); + internalGetMutableSysctls().mergeFrom( + other.internalGetSysctls()); if (other.cgroupMode_ != 0) { setCgroupModeValue(other.getCgroupModeValue()); } @@ -777,30 +734,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry sysctls__ = - input.readMessage( - SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSysctls() - .getMutableMap() - .put(sysctls__.getKey(), sysctls__.getValue()); - break; - } // case 10 - case 16: - { - cgroupMode_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + sysctls__ = input.readMessage( + SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSysctls().getMutableMap().put( + sysctls__.getKey(), sysctls__.getValue()); + break; + } // case 10 + case 16: { + cgroupMode_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -810,24 +762,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField sysctls_; - - private com.google.protobuf.MapField internalGetSysctls() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> sysctls_; + private com.google.protobuf.MapField + internalGetSysctls() { if (sysctls_ == null) { - return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + SysctlsDefaultEntryHolder.defaultEntry); } return sysctls_; } - private com.google.protobuf.MapField - internalGetMutableSysctls() { - onChanged(); - ; + internalGetMutableSysctls() { + onChanged();; if (sysctls_ == null) { - sysctls_ = com.google.protobuf.MapField.newMapField(SysctlsDefaultEntryHolder.defaultEntry); + sysctls_ = com.google.protobuf.MapField.newMapField( + SysctlsDefaultEntryHolder.defaultEntry); } if (!sysctls_.isMutable()) { sysctls_ = sysctls_.copy(); @@ -839,8 +791,6 @@ public int getSysctlsCount() { return internalGetSysctls().getMap().size(); } /** - * - * *
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -860,22 +810,22 @@ public int getSysctlsCount() {
      *
      * map<string, string> sysctls = 1;
      */
+
     @java.lang.Override
-    public boolean containsSysctls(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsSysctls(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetSysctls().getMap().containsKey(key);
     }
-    /** Use {@link #getSysctlsMap()} instead. */
+    /**
+     * Use {@link #getSysctlsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSysctls() {
       return getSysctlsMap();
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -896,12 +846,11 @@ public java.util.Map getSysctls() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
+
     public java.util.Map getSysctlsMap() {
       return internalGetSysctls().getMap();
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -922,17 +871,16 @@ public java.util.Map getSysctlsMap() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
+
     public java.lang.String getSysctlsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSysctls().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSysctls().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -953,11 +901,12 @@ public java.lang.String getSysctlsOrDefault(
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-    public java.lang.String getSysctlsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSysctls().getMap();
+
+    public java.lang.String getSysctlsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSysctls().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -965,12 +914,11 @@ public java.lang.String getSysctlsOrThrow(java.lang.String key) {
     }
 
     public Builder clearSysctls() {
-      internalGetMutableSysctls().getMutableMap().clear();
+      internalGetMutableSysctls().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -990,21 +938,23 @@ public Builder clearSysctls() {
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder removeSysctls(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableSysctls().getMutableMap().remove(key);
+
+    public Builder removeSysctls(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableSysctls().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableSysctls() {
+    public java.util.Map
+    getMutableSysctls() {
       return internalGetMutableSysctls().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -1024,20 +974,19 @@ public java.util.Map getMutableSysctls() {
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder putSysctls(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putSysctls(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableSysctls().getMutableMap().put(key, value);
+      internalGetMutableSysctls().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -1057,74 +1006,61 @@ public Builder putSysctls(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder putAllSysctls(java.util.Map values) {
-      internalGetMutableSysctls().getMutableMap().putAll(values);
+
+    public Builder putAllSysctls(
+        java.util.Map values) {
+      internalGetMutableSysctls().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private int cgroupMode_ = 0;
     /**
-     *
-     *
      * 
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override - public int getCgroupModeValue() { + @java.lang.Override public int getCgroupModeValue() { return cgroupMode_; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @param value The enum numeric value on the wire for cgroupMode to set. * @return This builder for chaining. */ public Builder setCgroupModeValue(int value) { - + cgroupMode_ = value; onChanged(); return this; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The cgroupMode. */ @java.lang.Override public com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1.LinuxNodeConfig.CgroupMode result = - com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null - ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED - : result; + com.google.container.v1.LinuxNodeConfig.CgroupMode result = com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @param value The cgroupMode to set. * @return This builder for chaining. */ @@ -1132,31 +1068,28 @@ public Builder setCgroupMode(com.google.container.v1.LinuxNodeConfig.CgroupMode if (value == null) { throw new NullPointerException(); } - + cgroupMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return This builder for chaining. */ public Builder clearCgroupMode() { - + cgroupMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1166,12 +1099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.LinuxNodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LinuxNodeConfig) private static final com.google.container.v1.LinuxNodeConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.LinuxNodeConfig(); } @@ -1180,27 +1113,27 @@ public static com.google.container.v1.LinuxNodeConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinuxNodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinuxNodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1215,4 +1148,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LinuxNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java similarity index 76% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java index 4e74478d4ab7..6c909b2d2ddb 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LinuxNodeConfigOrBuilder - extends +public interface LinuxNodeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.LinuxNodeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -47,8 +29,6 @@ public interface LinuxNodeConfigOrBuilder
    */
   int getSysctlsCount();
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -68,13 +48,15 @@ public interface LinuxNodeConfigOrBuilder
    *
    * map<string, string> sysctls = 1;
    */
-  boolean containsSysctls(java.lang.String key);
-  /** Use {@link #getSysctlsMap()} instead. */
+  boolean containsSysctls(
+      java.lang.String key);
+  /**
+   * Use {@link #getSysctlsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getSysctls();
+  java.util.Map
+  getSysctls();
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -94,10 +76,9 @@ public interface LinuxNodeConfigOrBuilder
    *
    * map<string, string> sysctls = 1;
    */
-  java.util.Map getSysctlsMap();
+  java.util.Map
+  getSysctlsMap();
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -119,13 +100,11 @@ public interface LinuxNodeConfigOrBuilder
    */
 
   /* nullable */
-  java.lang.String getSysctlsOrDefault(
+java.lang.String getSysctlsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -145,29 +124,25 @@ java.lang.String getSysctlsOrDefault(
    *
    * map<string, string> sysctls = 1;
    */
-  java.lang.String getSysctlsOrThrow(java.lang.String key);
+
+  java.lang.String getSysctlsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The enum numeric value on the wire for cgroupMode. */ int getCgroupModeValue(); /** - * - * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The cgroupMode. */ com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index 3e68d9d2b662..322cc8cb3598 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListClustersRequest lists clusters.
  * 
* * Protobuf type {@code google.container.v1.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { projectId_ = ""; zone_ = ""; @@ -45,35 +27,32 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersRequest.class, - com.google.container.v1.ListClustersRequest.Builder.class); + com.google.container.v1.ListClustersRequest.class, com.google.container.v1.ListClustersRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -81,27 +60,24 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -109,18 +85,18 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -131,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -141,27 +115,24 @@ 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=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -170,18 +141,18 @@ 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=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -201,7 +170,6 @@ public com.google.protobuf.ByteString getZoneBytes() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -210,15 +178,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -226,15 +193,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -243,7 +211,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -291,17 +259,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListClustersRequest)) { return super.equals(obj); } - com.google.container.v1.ListClustersRequest other = - (com.google.container.v1.ListClustersRequest) obj; + com.google.container.v1.ListClustersRequest other = (com.google.container.v1.ListClustersRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getParent().equals(other.getParent())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,136 +294,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListClustersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ListClustersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListClustersRequest parseFrom( 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.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListClustersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListClustersRequest lists clusters.
    * 
* * Protobuf type {@code google.container.v1.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListClustersRequest) com.google.container.v1.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersRequest.class, - com.google.container.v1.ListClustersRequest.Builder.class); + com.google.container.v1.ListClustersRequest.class, com.google.container.v1.ListClustersRequest.Builder.class); } // Construct using com.google.container.v1.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_descriptor; } @java.lang.Override @@ -488,8 +452,7 @@ public com.google.container.v1.ListClustersRequest build() { @java.lang.Override public com.google.container.v1.ListClustersRequest buildPartial() { - com.google.container.v1.ListClustersRequest result = - new com.google.container.v1.ListClustersRequest(this); + com.google.container.v1.ListClustersRequest result = new com.google.container.v1.ListClustersRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -501,39 +464,38 @@ public com.google.container.v1.ListClustersRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListClustersRequest) { - return mergeFrom((com.google.container.v1.ListClustersRequest) other); + return mergeFrom((com.google.container.v1.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -580,31 +542,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -617,8 +575,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -626,16 +582,15 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -644,8 +599,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -653,17 +606,17 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -671,8 +624,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -680,25 +631,22 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -706,21 +654,17 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -728,19 +672,18 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -748,8 +691,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -758,16 +699,15 @@ 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=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -776,8 +716,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -786,17 +724,17 @@ 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=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -804,8 +742,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -814,25 +750,22 @@ 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=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -841,21 +774,17 @@ 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=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -864,19 +793,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -884,8 +812,6 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -893,13 +819,13 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 4; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -908,8 +834,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -917,14 +841,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -932,8 +857,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -941,22 +864,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 4; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -964,18 +885,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 4; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -983,23 +901,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1009,12 +927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListClustersRequest) private static final com.google.container.v1.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListClustersRequest(); } @@ -1023,27 +941,27 @@ public static com.google.container.v1.ListClustersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,4 +976,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index 6b7c13356c7e..df6c6530de02 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListClustersRequestOrBuilder - extends +public interface ListClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2563 + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2563 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface ListClustersRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,17 +58,14 @@ public interface ListClustersRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2569 + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2569 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -105,13 +73,10 @@ public interface ListClustersRequestOrBuilder
    * 
* * string parent = 4; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -119,8 +84,8 @@ public interface ListClustersRequestOrBuilder
    * 
* * string parent = 4; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java index ad359a581ef1..8125a4c4075a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListClustersResponse is the result of ListClustersRequest.
  * 
* * Protobuf type {@code google.container.v1.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,35 +26,32 @@ private ListClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersResponse.class, - com.google.container.v1.ListClustersResponse.Builder.class); + com.google.container.v1.ListClustersResponse.class, com.google.container.v1.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; private java.util.List clusters_; /** - * - * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -85,8 +64,6 @@ public java.util.List getClustersList() {
     return clusters_;
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -95,13 +72,11 @@ public java.util.List getClustersList() {
    * repeated .google.container.v1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getClustersOrBuilderList() {
     return clusters_;
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -114,8 +89,6 @@ public int getClustersCount() {
     return clusters_.size();
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -128,8 +101,6 @@ public com.google.container.v1.Cluster getClusters(int index) {
     return clusters_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -138,52 +109,45 @@ public com.google.container.v1.Cluster getClusters(int index) {
    * repeated .google.container.v1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index) {
+  public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
+      int index) {
     return clusters_.get(index);
   }
 
   public static final int MISSING_ZONES_FIELD_NUMBER = 2;
   private com.google.protobuf.LazyStringList missingZones_;
   /**
-   *
-   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_; } /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -191,24 +155,21 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -237,7 +199,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } { int dataSize = 0; @@ -255,16 +218,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListClustersResponse)) { return super.equals(obj); } - com.google.container.v1.ListClustersResponse other = - (com.google.container.v1.ListClustersResponse) obj; + com.google.container.v1.ListClustersResponse other = (com.google.container.v1.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getMissingZonesList() + .equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -289,136 +253,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListClustersResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ListClustersResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListClustersResponse parseFrom( 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.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListClustersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListClustersResponse is the result of ListClustersRequest.
    * 
* * Protobuf type {@code google.container.v1.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListClustersResponse) com.google.container.v1.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersResponse.class, - com.google.container.v1.ListClustersResponse.Builder.class); + com.google.container.v1.ListClustersResponse.class, com.google.container.v1.ListClustersResponse.Builder.class); } // Construct using com.google.container.v1.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_descriptor; } @java.lang.Override @@ -456,8 +414,7 @@ public com.google.container.v1.ListClustersResponse build() { @java.lang.Override public com.google.container.v1.ListClustersResponse buildPartial() { - com.google.container.v1.ListClustersResponse result = - new com.google.container.v1.ListClustersResponse(this); + com.google.container.v1.ListClustersResponse result = new com.google.container.v1.ListClustersResponse(this); int from_bitField0_ = bitField0_; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,39 +438,38 @@ public com.google.container.v1.ListClustersResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListClustersResponse) { - return mergeFrom((com.google.container.v1.ListClustersResponse) other); + return mergeFrom((com.google.container.v1.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -540,10 +496,9 @@ public Builder mergeFrom(com.google.container.v1.ListClustersResponse other) { clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -585,32 +540,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1.Cluster m = - input.readMessage(com.google.container.v1.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1.Cluster m = + input.readMessage( + com.google.container.v1.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -620,28 +574,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Cluster, - com.google.container.v1.Cluster.Builder, - com.google.container.v1.ClusterOrBuilder> - clustersBuilder_; + com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -657,8 +604,6 @@ public java.util.List getClustersList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -674,8 +619,6 @@ public int getClustersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -691,8 +634,6 @@ public com.google.container.v1.Cluster getClusters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -700,7 +641,8 @@ public com.google.container.v1.Cluster getClusters(int index) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder setClusters(int index, com.google.container.v1.Cluster value) {
+    public Builder setClusters(
+        int index, com.google.container.v1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -714,8 +656,6 @@ public Builder setClusters(int index, com.google.container.v1.Cluster value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -723,7 +663,8 @@ public Builder setClusters(int index, com.google.container.v1.Cluster value) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder setClusters(int index, com.google.container.v1.Cluster.Builder builderForValue) {
+    public Builder setClusters(
+        int index, com.google.container.v1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.set(index, builderForValue.build());
@@ -734,8 +675,6 @@ public Builder setClusters(int index, com.google.container.v1.Cluster.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -757,8 +696,6 @@ public Builder addClusters(com.google.container.v1.Cluster value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -766,7 +703,8 @@ public Builder addClusters(com.google.container.v1.Cluster value) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder addClusters(int index, com.google.container.v1.Cluster value) {
+    public Builder addClusters(
+        int index, com.google.container.v1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -780,8 +718,6 @@ public Builder addClusters(int index, com.google.container.v1.Cluster value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -789,7 +725,8 @@ public Builder addClusters(int index, com.google.container.v1.Cluster value) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder addClusters(com.google.container.v1.Cluster.Builder builderForValue) {
+    public Builder addClusters(
+        com.google.container.v1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.add(builderForValue.build());
@@ -800,8 +737,6 @@ public Builder addClusters(com.google.container.v1.Cluster.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -809,7 +744,8 @@ public Builder addClusters(com.google.container.v1.Cluster.Builder builderForVal
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder addClusters(int index, com.google.container.v1.Cluster.Builder builderForValue) {
+    public Builder addClusters(
+        int index, com.google.container.v1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.add(index, builderForValue.build());
@@ -820,8 +756,6 @@ public Builder addClusters(int index, com.google.container.v1.Cluster.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -833,7 +767,8 @@ public Builder addAllClusters(
         java.lang.Iterable values) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, clusters_);
         onChanged();
       } else {
         clustersBuilder_.addAllMessages(values);
@@ -841,8 +776,6 @@ public Builder addAllClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -861,8 +794,6 @@ public Builder clearClusters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -881,8 +812,6 @@ public Builder removeClusters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -890,12 +819,11 @@ public Builder removeClusters(int index) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public com.google.container.v1.Cluster.Builder getClustersBuilder(int index) {
+    public com.google.container.v1.Cluster.Builder getClustersBuilder(
+        int index) {
       return getClustersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -903,16 +831,14 @@ public com.google.container.v1.Cluster.Builder getClustersBuilder(int index) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index) {
+    public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
+        int index) {
       if (clustersBuilder_ == null) {
-        return clusters_.get(index);
-      } else {
+        return clusters_.get(index);  } else {
         return clustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -920,8 +846,8 @@ public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index)
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public java.util.List
-        getClustersOrBuilderList() {
+    public java.util.List 
+         getClustersOrBuilderList() {
       if (clustersBuilder_ != null) {
         return clustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -929,8 +855,6 @@ public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -939,12 +863,10 @@ public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index)
      * repeated .google.container.v1.Cluster clusters = 1;
      */
     public com.google.container.v1.Cluster.Builder addClustersBuilder() {
-      return getClustersFieldBuilder()
-          .addBuilder(com.google.container.v1.Cluster.getDefaultInstance());
+      return getClustersFieldBuilder().addBuilder(
+          com.google.container.v1.Cluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -952,13 +874,12 @@ public com.google.container.v1.Cluster.Builder addClustersBuilder() {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public com.google.container.v1.Cluster.Builder addClustersBuilder(int index) {
-      return getClustersFieldBuilder()
-          .addBuilder(index, com.google.container.v1.Cluster.getDefaultInstance());
+    public com.google.container.v1.Cluster.Builder addClustersBuilder(
+        int index) {
+      return getClustersFieldBuilder().addBuilder(
+          index, com.google.container.v1.Cluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -966,76 +887,64 @@ public com.google.container.v1.Cluster.Builder addClustersBuilder(int index) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public java.util.List getClustersBuilderList() {
+    public java.util.List 
+         getClustersBuilderList() {
       return getClustersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.Cluster,
-            com.google.container.v1.Cluster.Builder,
-            com.google.container.v1.ClusterOrBuilder>
+        com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> 
         getClustersFieldBuilder() {
       if (clustersBuilder_ == null) {
-        clustersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1.Cluster,
-                com.google.container.v1.Cluster.Builder,
-                com.google.container.v1.ClusterOrBuilder>(
-                clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder>(
+                clusters_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         clusters_ = null;
       }
       return clustersBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList missingZones_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureMissingZonesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -1043,95 +952,85 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones(int index, java.lang.String value) { + public Builder setMissingZones( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones(java.lang.String value) { + public Builder addMissingZones( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones(java.lang.Iterable values) { + public Builder addAllMissingZones( + java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, missingZones_); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1141,31 +1040,29 @@ public Builder clearMissingZones() { return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1175,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListClustersResponse) private static final com.google.container.v1.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListClustersResponse(); } @@ -1189,27 +1086,27 @@ public static com.google.container.v1.ListClustersResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1224,4 +1121,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java index e50ec4c0dd1e..a455fa03da2b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListClustersResponseOrBuilder - extends +public interface ListClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -33,10 +15,9 @@ public interface ListClustersResponseOrBuilder
    *
    * repeated .google.container.v1.Cluster clusters = 1;
    */
-  java.util.List getClustersList();
+  java.util.List 
+      getClustersList();
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -46,8 +27,6 @@ public interface ListClustersResponseOrBuilder
    */
   com.google.container.v1.Cluster getClusters(int index);
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -57,8 +36,6 @@ public interface ListClustersResponseOrBuilder
    */
   int getClustersCount();
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -66,10 +43,9 @@ public interface ListClustersResponseOrBuilder
    *
    * repeated .google.container.v1.Cluster clusters = 1;
    */
-  java.util.List getClustersOrBuilderList();
+  java.util.List 
+      getClustersOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -77,60 +53,51 @@ public interface ListClustersResponseOrBuilder
    *
    * repeated .google.container.v1.Cluster clusters = 1;
    */
-  com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index);
+  com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - java.util.List getMissingZonesList(); + java.util.List + getMissingZonesList(); /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ int getMissingZonesCount(); /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString getMissingZonesBytes(int index); + com.google.protobuf.ByteString + getMissingZonesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index cd343d27cea0..3ebf94e30c45 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListNodePoolsRequest lists the node pool(s) for a cluster.
  * 
* * Protobuf type {@code google.container.v1.ListNodePoolsRequest} */ -public final class ListNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNodePoolsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ListNodePoolsRequest) ListNodePoolsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNodePoolsRequest.newBuilder() to construct. private ListNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNodePoolsRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private ListNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsRequest.class, - com.google.container.v1.ListNodePoolsRequest.Builder.class); + com.google.container.v1.ListNodePoolsRequest.class, com.google.container.v1.ListNodePoolsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -267,30 +230,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -299,7 +262,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -353,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListNodePoolsRequest)) { return super.equals(obj); } - com.google.container.v1.ListNodePoolsRequest other = - (com.google.container.v1.ListNodePoolsRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getParent().equals(other.getParent())) return false; + com.google.container.v1.ListNodePoolsRequest other = (com.google.container.v1.ListNodePoolsRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,136 +355,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListNodePoolsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ListNodePoolsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListNodePoolsRequest parseFrom( 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.ListNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListNodePoolsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListNodePoolsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListNodePoolsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListNodePoolsRequest lists the node pool(s) for a cluster.
    * 
* * Protobuf type {@code google.container.v1.ListNodePoolsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListNodePoolsRequest) com.google.container.v1.ListNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsRequest.class, - com.google.container.v1.ListNodePoolsRequest.Builder.class); + com.google.container.v1.ListNodePoolsRequest.class, com.google.container.v1.ListNodePoolsRequest.Builder.class); } // Construct using com.google.container.v1.ListNodePoolsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_descriptor; } @java.lang.Override @@ -555,8 +515,7 @@ public com.google.container.v1.ListNodePoolsRequest build() { @java.lang.Override public com.google.container.v1.ListNodePoolsRequest buildPartial() { - com.google.container.v1.ListNodePoolsRequest result = - new com.google.container.v1.ListNodePoolsRequest(this); + com.google.container.v1.ListNodePoolsRequest result = new com.google.container.v1.ListNodePoolsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -569,39 +528,38 @@ public com.google.container.v1.ListNodePoolsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListNodePoolsRequest) { - return mergeFrom((com.google.container.v1.ListNodePoolsRequest) other); + return mergeFrom((com.google.container.v1.ListNodePoolsRequest)other); } else { super.mergeFrom(other); return this; @@ -652,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -695,8 +648,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,16 +655,15 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -722,8 +672,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -731,17 +679,17 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -749,8 +697,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -758,25 +704,22 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -784,21 +727,17 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -806,19 +745,18 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -826,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -836,16 +772,15 @@ 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=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -854,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -864,17 +797,17 @@ 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=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -882,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -892,25 +823,22 @@ 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=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -919,21 +847,17 @@ 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=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -942,19 +866,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,24 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -988,25 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1014,73 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1088,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1111,22 +1017,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1134,71 +1039,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1208,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListNodePoolsRequest) private static final com.google.container.v1.ListNodePoolsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListNodePoolsRequest(); } @@ -1222,27 +1120,27 @@ public static com.google.container.v1.ListNodePoolsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1257,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index 85d7525c7d61..a9750aec80a0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListNodePoolsRequestOrBuilder - extends +public interface ListNodePoolsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2770 + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2770 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface ListNodePoolsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,71 +58,58 @@ public interface ListNodePoolsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2776 + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2776 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2780 + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2780 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java index 01e7e3989fe2..bbc366161298 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListNodePoolsResponse is the result of ListNodePoolsRequest.
  * 
* * Protobuf type {@code google.container.v1.ListNodePoolsResponse} */ -public final class ListNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNodePoolsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ListNodePoolsResponse) ListNodePoolsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNodePoolsResponse.newBuilder() to construct. private ListNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNodePoolsResponse() { nodePools_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsResponse.class, - com.google.container.v1.ListNodePoolsResponse.Builder.class); + com.google.container.v1.ListNodePoolsResponse.class, com.google.container.v1.ListNodePoolsResponse.Builder.class); } public static final int NODE_POOLS_FIELD_NUMBER = 1; private java.util.List nodePools_; /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -83,8 +62,6 @@ public java.util.List getNodePoolsList() { return nodePools_; } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -92,13 +69,11 @@ public java.util.List getNodePoolsList() { * repeated .google.container.v1.NodePool node_pools = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNodePoolsOrBuilderList() { return nodePools_; } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -110,8 +85,6 @@ public int getNodePoolsCount() { return nodePools_.size(); } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -123,8 +96,6 @@ public com.google.container.v1.NodePool getNodePools(int index) { return nodePools_.get(index); } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -132,12 +103,12 @@ public com.google.container.v1.NodePool getNodePools(int index) { * repeated .google.container.v1.NodePool node_pools = 1; */ @java.lang.Override - public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { + public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( + int index) { return nodePools_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < nodePools_.size(); i++) { output.writeMessage(1, nodePools_.get(i)); } @@ -163,7 +135,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < nodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, nodePools_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListNodePoolsResponse)) { return super.equals(obj); } - com.google.container.v1.ListNodePoolsResponse other = - (com.google.container.v1.ListNodePoolsResponse) obj; + com.google.container.v1.ListNodePoolsResponse other = (com.google.container.v1.ListNodePoolsResponse) obj; - if (!getNodePoolsList().equals(other.getNodePoolsList())) return false; + if (!getNodePoolsList() + .equals(other.getNodePoolsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,136 +175,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListNodePoolsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ListNodePoolsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListNodePoolsResponse parseFrom( 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.ListNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListNodePoolsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListNodePoolsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListNodePoolsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListNodePoolsResponse is the result of ListNodePoolsRequest.
    * 
* * Protobuf type {@code google.container.v1.ListNodePoolsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListNodePoolsResponse) com.google.container.v1.ListNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsResponse.class, - com.google.container.v1.ListNodePoolsResponse.Builder.class); + com.google.container.v1.ListNodePoolsResponse.class, com.google.container.v1.ListNodePoolsResponse.Builder.class); } // Construct using com.google.container.v1.ListNodePoolsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -346,9 +313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_descriptor; } @java.lang.Override @@ -367,8 +334,7 @@ public com.google.container.v1.ListNodePoolsResponse build() { @java.lang.Override public com.google.container.v1.ListNodePoolsResponse buildPartial() { - com.google.container.v1.ListNodePoolsResponse result = - new com.google.container.v1.ListNodePoolsResponse(this); + com.google.container.v1.ListNodePoolsResponse result = new com.google.container.v1.ListNodePoolsResponse(this); int from_bitField0_ = bitField0_; if (nodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -387,39 +353,38 @@ public com.google.container.v1.ListNodePoolsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListNodePoolsResponse) { - return mergeFrom((com.google.container.v1.ListNodePoolsResponse) other); + return mergeFrom((com.google.container.v1.ListNodePoolsResponse)other); } else { super.mergeFrom(other); return this; @@ -446,10 +411,9 @@ public Builder mergeFrom(com.google.container.v1.ListNodePoolsResponse other) { nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodePoolsFieldBuilder() - : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNodePoolsFieldBuilder() : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -481,25 +445,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1.NodePool m = - input.readMessage(com.google.container.v1.NodePool.parser(), extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1.NodePool m = + input.readMessage( + com.google.container.v1.NodePool.parser(), + extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -509,28 +473,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List nodePools_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, - com.google.container.v1.NodePool.Builder, - com.google.container.v1.NodePoolOrBuilder> - nodePoolsBuilder_; + com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> nodePoolsBuilder_; /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -545,8 +502,6 @@ public java.util.List getNodePoolsList() { } } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -561,8 +516,6 @@ public int getNodePoolsCount() { } } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -577,15 +530,14 @@ public com.google.container.v1.NodePool getNodePools(int index) { } } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public Builder setNodePools(int index, com.google.container.v1.NodePool value) { + public Builder setNodePools( + int index, com.google.container.v1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -599,8 +551,6 @@ public Builder setNodePools(int index, com.google.container.v1.NodePool value) { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -619,8 +569,6 @@ public Builder setNodePools( return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -641,15 +589,14 @@ public Builder addNodePools(com.google.container.v1.NodePool value) { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public Builder addNodePools(int index, com.google.container.v1.NodePool value) { + public Builder addNodePools( + int index, com.google.container.v1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -663,15 +610,14 @@ public Builder addNodePools(int index, com.google.container.v1.NodePool value) { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public Builder addNodePools(com.google.container.v1.NodePool.Builder builderForValue) { + public Builder addNodePools( + com.google.container.v1.NodePool.Builder builderForValue) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); nodePools_.add(builderForValue.build()); @@ -682,8 +628,6 @@ public Builder addNodePools(com.google.container.v1.NodePool.Builder builderForV return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -702,8 +646,6 @@ public Builder addNodePools( return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -714,7 +656,8 @@ public Builder addAllNodePools( java.lang.Iterable values) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodePools_); onChanged(); } else { nodePoolsBuilder_.addAllMessages(values); @@ -722,8 +665,6 @@ public Builder addAllNodePools( return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -741,8 +682,6 @@ public Builder clearNodePools() { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -760,44 +699,39 @@ public Builder removeNodePools(int index) { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(int index) { + public com.google.container.v1.NodePool.Builder getNodePoolsBuilder( + int index) { return getNodePoolsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { + public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( + int index) { if (nodePoolsBuilder_ == null) { - return nodePools_.get(index); - } else { + return nodePools_.get(index); } else { return nodePoolsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public java.util.List - getNodePoolsOrBuilderList() { + public java.util.List + getNodePoolsOrBuilderList() { if (nodePoolsBuilder_ != null) { return nodePoolsBuilder_.getMessageOrBuilderList(); } else { @@ -805,8 +739,6 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index } } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -814,54 +746,49 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index * repeated .google.container.v1.NodePool node_pools = 1; */ public com.google.container.v1.NodePool.Builder addNodePoolsBuilder() { - return getNodePoolsFieldBuilder() - .addBuilder(com.google.container.v1.NodePool.getDefaultInstance()); + return getNodePoolsFieldBuilder().addBuilder( + com.google.container.v1.NodePool.getDefaultInstance()); } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(int index) { - return getNodePoolsFieldBuilder() - .addBuilder(index, com.google.container.v1.NodePool.getDefaultInstance()); + public com.google.container.v1.NodePool.Builder addNodePoolsBuilder( + int index) { + return getNodePoolsFieldBuilder().addBuilder( + index, com.google.container.v1.NodePool.getDefaultInstance()); } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public java.util.List getNodePoolsBuilderList() { + public java.util.List + getNodePoolsBuilderList() { return getNodePoolsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, - com.google.container.v1.NodePool.Builder, - com.google.container.v1.NodePoolOrBuilder> + com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> getNodePoolsFieldBuilder() { if (nodePoolsBuilder_ == null) { - nodePoolsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, - com.google.container.v1.NodePool.Builder, - com.google.container.v1.NodePoolOrBuilder>( - nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder>( + nodePools_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); nodePools_ = null; } return nodePoolsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListNodePoolsResponse) private static final com.google.container.v1.ListNodePoolsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListNodePoolsResponse(); } @@ -885,27 +812,27 @@ public static com.google.container.v1.ListNodePoolsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java index ce1bc174c7cd..a076cf1b8278 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListNodePoolsResponseOrBuilder - extends +public interface ListNodePoolsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - java.util.List getNodePoolsList(); + java.util.List + getNodePoolsList(); /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -44,8 +25,6 @@ public interface ListNodePoolsResponseOrBuilder */ com.google.container.v1.NodePool getNodePools(int index); /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -54,23 +33,21 @@ public interface ListNodePoolsResponseOrBuilder */ int getNodePoolsCount(); /** - * - * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - java.util.List getNodePoolsOrBuilderList(); + java.util.List + getNodePoolsOrBuilderList(); /** - * - * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index); + com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( + int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index a9d5e8f59f92..3a6c6920a2a6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListOperationsRequest lists operations.
  * 
* * Protobuf type {@code google.container.v1.ListOperationsRequest} */ -public final class ListOperationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOperationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ListOperationsRequest) ListOperationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOperationsRequest.newBuilder() to construct. private ListOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOperationsRequest() { projectId_ = ""; zone_ = ""; @@ -45,35 +27,32 @@ private ListOperationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOperationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsRequest.class, - com.google.container.v1.ListOperationsRequest.Builder.class); + com.google.container.v1.ListOperationsRequest.class, com.google.container.v1.ListOperationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -81,27 +60,24 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -109,18 +85,18 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -131,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -141,27 +115,24 @@ 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=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -170,18 +141,18 @@ 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=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -192,8 +163,6 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -201,7 +170,6 @@ public com.google.protobuf.ByteString getZoneBytes() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -210,15 +178,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -226,15 +193,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -243,7 +211,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -291,17 +259,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListOperationsRequest)) { return super.equals(obj); } - com.google.container.v1.ListOperationsRequest other = - (com.google.container.v1.ListOperationsRequest) obj; + com.google.container.v1.ListOperationsRequest other = (com.google.container.v1.ListOperationsRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getParent().equals(other.getParent())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -324,136 +294,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListOperationsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ListOperationsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListOperationsRequest parseFrom( 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.ListOperationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListOperationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListOperationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListOperationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListOperationsRequest lists operations.
    * 
* * Protobuf type {@code google.container.v1.ListOperationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListOperationsRequest) com.google.container.v1.ListOperationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsRequest.class, - com.google.container.v1.ListOperationsRequest.Builder.class); + com.google.container.v1.ListOperationsRequest.class, com.google.container.v1.ListOperationsRequest.Builder.class); } // Construct using com.google.container.v1.ListOperationsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_descriptor; } @java.lang.Override @@ -488,8 +452,7 @@ public com.google.container.v1.ListOperationsRequest build() { @java.lang.Override public com.google.container.v1.ListOperationsRequest buildPartial() { - com.google.container.v1.ListOperationsRequest result = - new com.google.container.v1.ListOperationsRequest(this); + com.google.container.v1.ListOperationsRequest result = new com.google.container.v1.ListOperationsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -501,39 +464,38 @@ public com.google.container.v1.ListOperationsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListOperationsRequest) { - return mergeFrom((com.google.container.v1.ListOperationsRequest) other); + return mergeFrom((com.google.container.v1.ListOperationsRequest)other); } else { super.mergeFrom(other); return this; @@ -580,31 +542,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -617,8 +575,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -626,16 +582,15 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -644,8 +599,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -653,17 +606,17 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -671,8 +624,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -680,25 +631,22 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -706,21 +654,17 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -728,19 +672,18 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -748,8 +691,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -758,16 +699,15 @@ 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=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -776,8 +716,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -786,17 +724,17 @@ 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=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -804,8 +742,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -814,25 +750,22 @@ 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=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -841,21 +774,17 @@ 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=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -864,19 +793,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -884,8 +812,6 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -893,13 +819,13 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 4; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -908,8 +834,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -917,14 +841,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -932,8 +857,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -941,22 +864,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 4; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -964,18 +885,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 4; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -983,23 +901,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1009,12 +927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListOperationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListOperationsRequest) private static final com.google.container.v1.ListOperationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListOperationsRequest(); } @@ -1023,27 +941,27 @@ public static com.google.container.v1.ListOperationsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1058,4 +976,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index baea43df41d4..9aa5f1fdcf0e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListOperationsRequestOrBuilder - extends +public interface ListOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2615 + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2615 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -69,16 +44,12 @@ public interface ListOperationsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -87,17 +58,14 @@ public interface ListOperationsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2621 + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2621 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -105,13 +73,10 @@ public interface ListOperationsRequestOrBuilder
    * 
* * string parent = 4; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -119,8 +84,8 @@ public interface ListOperationsRequestOrBuilder
    * 
* * string parent = 4; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java index 3cf7a437b96c..e13804ffa279 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListOperationsResponse is the result of ListOperationsRequest.
  * 
* * Protobuf type {@code google.container.v1.ListOperationsResponse} */ -public final class ListOperationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOperationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ListOperationsResponse) ListOperationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOperationsResponse.newBuilder() to construct. private ListOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOperationsResponse() { operations_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,35 +26,32 @@ private ListOperationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOperationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsResponse.class, - com.google.container.v1.ListOperationsResponse.Builder.class); + com.google.container.v1.ListOperationsResponse.class, com.google.container.v1.ListOperationsResponse.Builder.class); } public static final int OPERATIONS_FIELD_NUMBER = 1; private java.util.List operations_; /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -84,8 +63,6 @@ public java.util.List getOperationsList() { return operations_; } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -93,13 +70,11 @@ public java.util.List getOperationsList() { * repeated .google.container.v1.Operation operations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOperationsOrBuilderList() { return operations_; } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -111,8 +86,6 @@ public int getOperationsCount() { return operations_.size(); } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -124,8 +97,6 @@ public com.google.container.v1.Operation getOperations(int index) { return operations_.get(index); } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -133,52 +104,45 @@ public com.google.container.v1.Operation getOperations(int index) { * repeated .google.container.v1.Operation operations = 1; */ @java.lang.Override - public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int index) { + public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( + int index) { return operations_.get(index); } public static final int MISSING_ZONES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList missingZones_; /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_; } /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -186,24 +150,21 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -232,7 +194,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } { int dataSize = 0; @@ -250,16 +213,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListOperationsResponse)) { return super.equals(obj); } - com.google.container.v1.ListOperationsResponse other = - (com.google.container.v1.ListOperationsResponse) obj; + com.google.container.v1.ListOperationsResponse other = (com.google.container.v1.ListOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getMissingZonesList() + .equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -284,136 +248,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListOperationsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ListOperationsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListOperationsResponse parseFrom( 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.ListOperationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListOperationsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListOperationsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListOperationsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListOperationsResponse is the result of ListOperationsRequest.
    * 
* * Protobuf type {@code google.container.v1.ListOperationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListOperationsResponse) com.google.container.v1.ListOperationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsResponse.class, - com.google.container.v1.ListOperationsResponse.Builder.class); + com.google.container.v1.ListOperationsResponse.class, com.google.container.v1.ListOperationsResponse.Builder.class); } // Construct using com.google.container.v1.ListOperationsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -430,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ListOperationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_descriptor; } @java.lang.Override @@ -451,8 +409,7 @@ public com.google.container.v1.ListOperationsResponse build() { @java.lang.Override public com.google.container.v1.ListOperationsResponse buildPartial() { - com.google.container.v1.ListOperationsResponse result = - new com.google.container.v1.ListOperationsResponse(this); + com.google.container.v1.ListOperationsResponse result = new com.google.container.v1.ListOperationsResponse(this); int from_bitField0_ = bitField0_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,39 +433,38 @@ public com.google.container.v1.ListOperationsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListOperationsResponse) { - return mergeFrom((com.google.container.v1.ListOperationsResponse) other); + return mergeFrom((com.google.container.v1.ListOperationsResponse)other); } else { super.mergeFrom(other); return this; @@ -535,10 +491,9 @@ public Builder mergeFrom(com.google.container.v1.ListOperationsResponse other) { operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); - operationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOperationsFieldBuilder() - : null; + operationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); } @@ -580,33 +535,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1.Operation m = - input.readMessage( - com.google.container.v1.Operation.parser(), extensionRegistry); - if (operationsBuilder_ == null) { - ensureOperationsIsMutable(); - operations_.add(m); - } else { - operationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1.Operation m = + input.readMessage( + com.google.container.v1.Operation.parser(), + extensionRegistry); + if (operationsBuilder_ == null) { + ensureOperationsIsMutable(); + operations_.add(m); + } else { + operationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -616,28 +569,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List operations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Operation, - com.google.container.v1.Operation.Builder, - com.google.container.v1.OperationOrBuilder> - operationsBuilder_; + com.google.container.v1.Operation, com.google.container.v1.Operation.Builder, com.google.container.v1.OperationOrBuilder> operationsBuilder_; /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -652,8 +598,6 @@ public java.util.List getOperationsList() { } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -668,8 +612,6 @@ public int getOperationsCount() { } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -684,15 +626,14 @@ public com.google.container.v1.Operation getOperations(int index) { } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public Builder setOperations(int index, com.google.container.v1.Operation value) { + public Builder setOperations( + int index, com.google.container.v1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -706,8 +647,6 @@ public Builder setOperations(int index, com.google.container.v1.Operation value) return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -726,8 +665,6 @@ public Builder setOperations( return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -748,15 +685,14 @@ public Builder addOperations(com.google.container.v1.Operation value) { return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public Builder addOperations(int index, com.google.container.v1.Operation value) { + public Builder addOperations( + int index, com.google.container.v1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -770,15 +706,14 @@ public Builder addOperations(int index, com.google.container.v1.Operation value) return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public Builder addOperations(com.google.container.v1.Operation.Builder builderForValue) { + public Builder addOperations( + com.google.container.v1.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); @@ -789,8 +724,6 @@ public Builder addOperations(com.google.container.v1.Operation.Builder builderFo return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -809,8 +742,6 @@ public Builder addOperations( return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -821,7 +752,8 @@ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); @@ -829,8 +761,6 @@ public Builder addAllOperations( return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -848,8 +778,6 @@ public Builder clearOperations() { return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -867,44 +795,39 @@ public Builder removeOperations(int index) { return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public com.google.container.v1.Operation.Builder getOperationsBuilder(int index) { + public com.google.container.v1.Operation.Builder getOperationsBuilder( + int index) { return getOperationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int index) { + public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( + int index) { if (operationsBuilder_ == null) { - return operations_.get(index); - } else { + return operations_.get(index); } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public java.util.List - getOperationsOrBuilderList() { + public java.util.List + getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { @@ -912,8 +835,6 @@ public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int ind } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -921,101 +842,86 @@ public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int ind * repeated .google.container.v1.Operation operations = 1; */ public com.google.container.v1.Operation.Builder addOperationsBuilder() { - return getOperationsFieldBuilder() - .addBuilder(com.google.container.v1.Operation.getDefaultInstance()); + return getOperationsFieldBuilder().addBuilder( + com.google.container.v1.Operation.getDefaultInstance()); } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public com.google.container.v1.Operation.Builder addOperationsBuilder(int index) { - return getOperationsFieldBuilder() - .addBuilder(index, com.google.container.v1.Operation.getDefaultInstance()); + public com.google.container.v1.Operation.Builder addOperationsBuilder( + int index) { + return getOperationsFieldBuilder().addBuilder( + index, com.google.container.v1.Operation.getDefaultInstance()); } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public java.util.List getOperationsBuilderList() { + public java.util.List + getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Operation, - com.google.container.v1.Operation.Builder, - com.google.container.v1.OperationOrBuilder> + com.google.container.v1.Operation, com.google.container.v1.Operation.Builder, com.google.container.v1.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { - operationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Operation, - com.google.container.v1.Operation.Builder, - com.google.container.v1.OperationOrBuilder>( - operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.Operation, com.google.container.v1.Operation.Builder, com.google.container.v1.OperationOrBuilder>( + operations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); operations_ = null; } return operationsBuilder_; } - private com.google.protobuf.LazyStringList missingZones_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMissingZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -1023,95 +929,85 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones(int index, java.lang.String value) { + public Builder setMissingZones( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones(java.lang.String value) { + public Builder addMissingZones( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones(java.lang.Iterable values) { + public Builder addAllMissingZones( + java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, missingZones_); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1121,31 +1017,29 @@ public Builder clearMissingZones() { return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1155,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListOperationsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListOperationsResponse) private static final com.google.container.v1.ListOperationsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListOperationsResponse(); } @@ -1169,27 +1063,27 @@ public static com.google.container.v1.ListOperationsResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1204,4 +1098,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java index 7ca207bd42d4..2fb4c22ccafd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListOperationsResponseOrBuilder - extends +public interface ListOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1.Operation operations = 1; */ - java.util.List getOperationsList(); + java.util.List + getOperationsList(); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -44,8 +25,6 @@ public interface ListOperationsResponseOrBuilder */ com.google.container.v1.Operation getOperations(int index); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -54,78 +33,66 @@ public interface ListOperationsResponseOrBuilder */ int getOperationsCount(); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1.Operation operations = 1; */ - java.util.List getOperationsOrBuilderList(); + java.util.List + getOperationsOrBuilderList(); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1.Operation operations = 1; */ - com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int index); + com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( + int index); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - java.util.List getMissingZonesList(); + java.util.List + getMissingZonesList(); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ int getMissingZonesCount(); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString getMissingZonesBytes(int index); + com.google.protobuf.ByteString + getMissingZonesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java index 7361cff73884..a75a2848c253 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListUsableSubnetworksRequest requests the list of usable subnetworks
  * available to a user for creating clusters.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.ListUsableSubnetworksRequest}
  */
-public final class ListUsableSubnetworksRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListUsableSubnetworksRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ListUsableSubnetworksRequest)
     ListUsableSubnetworksRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksRequest.newBuilder() to construct.
   private ListUsableSubnetworksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListUsableSubnetworksRequest() {
     parent_ = "";
     filter_ = "";
@@ -46,42 +28,38 @@ private ListUsableSubnetworksRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ListUsableSubnetworksRequest.class,
-            com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
+            com.google.container.v1.ListUsableSubnetworksRequest.class, com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -134,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -143,15 +118,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -160,15 +134,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -179,8 +154,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -189,7 +162,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -200,15 +172,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -217,30 +186,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -249,7 +218,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -290,7 +259,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -303,18 +273,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListUsableSubnetworksRequest)) { return super.equals(obj); } - com.google.container.v1.ListUsableSubnetworksRequest other = - (com.google.container.v1.ListUsableSubnetworksRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.container.v1.ListUsableSubnetworksRequest other = (com.google.container.v1.ListUsableSubnetworksRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -340,103 +313,96 @@ public int hashCode() { } public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( 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.ListUsableSubnetworksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListUsableSubnetworksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListUsableSubnetworksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListUsableSubnetworksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListUsableSubnetworksRequest requests the list of usable subnetworks
    * available to a user for creating clusters.
@@ -444,32 +410,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ListUsableSubnetworksRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ListUsableSubnetworksRequest)
       com.google.container.v1.ListUsableSubnetworksRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ListUsableSubnetworksRequest.class,
-              com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
+              com.google.container.v1.ListUsableSubnetworksRequest.class, com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.ListUsableSubnetworksRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -485,9 +452,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
@@ -506,8 +473,7 @@ public com.google.container.v1.ListUsableSubnetworksRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.ListUsableSubnetworksRequest buildPartial() {
-      com.google.container.v1.ListUsableSubnetworksRequest result =
-          new com.google.container.v1.ListUsableSubnetworksRequest(this);
+      com.google.container.v1.ListUsableSubnetworksRequest result = new com.google.container.v1.ListUsableSubnetworksRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -520,39 +486,38 @@ public com.google.container.v1.ListUsableSubnetworksRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ListUsableSubnetworksRequest) {
-        return mergeFrom((com.google.container.v1.ListUsableSubnetworksRequest) other);
+        return mergeFrom((com.google.container.v1.ListUsableSubnetworksRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -560,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.ListUsableSubnetworksRequest other) {
-      if (other == com.google.container.v1.ListUsableSubnetworksRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.ListUsableSubnetworksRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -603,37 +567,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -646,21 +605,19 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -669,22 +626,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -692,64 +648,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -757,8 +706,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -767,13 +714,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -782,8 +729,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -792,14 +737,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -807,8 +753,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -817,22 +761,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -841,18 +783,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -861,25 +800,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -888,7 +825,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -896,8 +832,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -906,19 +840,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -927,11 +858,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -939,21 +869,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -962,22 +890,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -985,71 +912,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListUsableSubnetworksRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListUsableSubnetworksRequest) private static final com.google.container.v1.ListUsableSubnetworksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListUsableSubnetworksRequest(); } @@ -1073,27 +993,27 @@ public static com.google.container.v1.ListUsableSubnetworksRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1108,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1.ListUsableSubnetworksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java index 35ff092caa2f..a909d6513302 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListUsableSubnetworksRequestOrBuilder - extends +public interface ListUsableSubnetworksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListUsableSubnetworksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -61,13 +38,10 @@ public interface ListUsableSubnetworksRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -76,14 +50,12 @@ public interface ListUsableSubnetworksRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -92,35 +64,29 @@ public interface ListUsableSubnetworksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java index 2aba78b94eb1..71dbcc66eae6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ListUsableSubnetworksResponse is the response of
  * ListUsableSubnetworksRequest.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.ListUsableSubnetworksResponse}
  */
-public final class ListUsableSubnetworksResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListUsableSubnetworksResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ListUsableSubnetworksResponse)
     ListUsableSubnetworksResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksResponse.newBuilder() to construct.
   private ListUsableSubnetworksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListUsableSubnetworksResponse() {
     subnetworks_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,35 +27,32 @@ private ListUsableSubnetworksResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ListUsableSubnetworksResponse.class,
-            com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
+            com.google.container.v1.ListUsableSubnetworksResponse.class, com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
   }
 
   public static final int SUBNETWORKS_FIELD_NUMBER = 1;
   private java.util.List subnetworks_;
   /**
-   *
-   *
    * 
    * A list of usable subnetworks in the specified network project.
    * 
@@ -85,8 +64,6 @@ public java.util.List getSubnetworksLi return subnetworks_; } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -94,13 +71,11 @@ public java.util.List getSubnetworksLi * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSubnetworksOrBuilderList() { return subnetworks_; } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -112,8 +87,6 @@ public int getSubnetworksCount() { return subnetworks_.size(); } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -125,8 +98,6 @@ public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { return subnetworks_.get(index); } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -134,15 +105,14 @@ public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index) { + public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( + int index) { return subnetworks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -151,7 +121,6 @@ public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,15 +129,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -177,15 +145,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < subnetworks_.size(); i++) { output.writeMessage(1, subnetworks_.get(i)); } @@ -223,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < subnetworks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, subnetworks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, subnetworks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListUsableSubnetworksResponse)) { return super.equals(obj); } - com.google.container.v1.ListUsableSubnetworksResponse other = - (com.google.container.v1.ListUsableSubnetworksResponse) obj; + com.google.container.v1.ListUsableSubnetworksResponse other = (com.google.container.v1.ListUsableSubnetworksResponse) obj; - if (!getSubnetworksList().equals(other.getSubnetworksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSubnetworksList() + .equals(other.getSubnetworksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,104 +240,96 @@ public int hashCode() { } public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( 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.ListUsableSubnetworksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ListUsableSubnetworksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ListUsableSubnetworksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.ListUsableSubnetworksResponse prototype) { + public static Builder newBuilder(com.google.container.v1.ListUsableSubnetworksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListUsableSubnetworksResponse is the response of
    * ListUsableSubnetworksRequest.
@@ -374,32 +337,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ListUsableSubnetworksResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ListUsableSubnetworksResponse)
       com.google.container.v1.ListUsableSubnetworksResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ListUsableSubnetworksResponse.class,
-              com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
+              com.google.container.v1.ListUsableSubnetworksResponse.class, com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1.ListUsableSubnetworksResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -416,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
@@ -437,8 +401,7 @@ public com.google.container.v1.ListUsableSubnetworksResponse build() {
 
     @java.lang.Override
     public com.google.container.v1.ListUsableSubnetworksResponse buildPartial() {
-      com.google.container.v1.ListUsableSubnetworksResponse result =
-          new com.google.container.v1.ListUsableSubnetworksResponse(this);
+      com.google.container.v1.ListUsableSubnetworksResponse result = new com.google.container.v1.ListUsableSubnetworksResponse(this);
       int from_bitField0_ = bitField0_;
       if (subnetworksBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -458,39 +421,38 @@ public com.google.container.v1.ListUsableSubnetworksResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ListUsableSubnetworksResponse) {
-        return mergeFrom((com.google.container.v1.ListUsableSubnetworksResponse) other);
+        return mergeFrom((com.google.container.v1.ListUsableSubnetworksResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -498,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.ListUsableSubnetworksResponse other) {
-      if (other == com.google.container.v1.ListUsableSubnetworksResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.ListUsableSubnetworksResponse.getDefaultInstance()) return this;
       if (subnetworksBuilder_ == null) {
         if (!other.subnetworks_.isEmpty()) {
           if (subnetworks_.isEmpty()) {
@@ -518,10 +479,9 @@ public Builder mergeFrom(com.google.container.v1.ListUsableSubnetworksResponse o
             subnetworksBuilder_ = null;
             subnetworks_ = other.subnetworks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subnetworksBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSubnetworksFieldBuilder()
-                    : null;
+            subnetworksBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSubnetworksFieldBuilder() : null;
           } else {
             subnetworksBuilder_.addAllMessages(other.subnetworks_);
           }
@@ -557,32 +517,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.container.v1.UsableSubnetwork m =
-                    input.readMessage(
-                        com.google.container.v1.UsableSubnetwork.parser(), extensionRegistry);
-                if (subnetworksBuilder_ == null) {
-                  ensureSubnetworksIsMutable();
-                  subnetworks_.add(m);
-                } else {
-                  subnetworksBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
+            case 10: {
+              com.google.container.v1.UsableSubnetwork m =
+                  input.readMessage(
+                      com.google.container.v1.UsableSubnetwork.parser(),
+                      extensionRegistry);
+              if (subnetworksBuilder_ == null) {
+                ensureSubnetworksIsMutable();
+                subnetworks_.add(m);
+              } else {
+                subnetworksBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -592,29 +550,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List subnetworks_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSubnetworksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        subnetworks_ =
-            new java.util.ArrayList(subnetworks_);
+        subnetworks_ = new java.util.ArrayList(subnetworks_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.UsableSubnetwork,
-            com.google.container.v1.UsableSubnetwork.Builder,
-            com.google.container.v1.UsableSubnetworkOrBuilder>
-        subnetworksBuilder_;
+        com.google.container.v1.UsableSubnetwork, com.google.container.v1.UsableSubnetwork.Builder, com.google.container.v1.UsableSubnetworkOrBuilder> subnetworksBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of usable subnetworks in the specified network project.
      * 
@@ -629,8 +579,6 @@ public java.util.List getSubnetworksLi } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -645,8 +593,6 @@ public int getSubnetworksCount() { } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -661,15 +607,14 @@ public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public Builder setSubnetworks(int index, com.google.container.v1.UsableSubnetwork value) { + public Builder setSubnetworks( + int index, com.google.container.v1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -683,8 +628,6 @@ public Builder setSubnetworks(int index, com.google.container.v1.UsableSubnetwor return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -703,8 +646,6 @@ public Builder setSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -725,15 +666,14 @@ public Builder addSubnetworks(com.google.container.v1.UsableSubnetwork value) { return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public Builder addSubnetworks(int index, com.google.container.v1.UsableSubnetwork value) { + public Builder addSubnetworks( + int index, com.google.container.v1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -747,8 +687,6 @@ public Builder addSubnetworks(int index, com.google.container.v1.UsableSubnetwor return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -767,8 +705,6 @@ public Builder addSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -787,8 +723,6 @@ public Builder addSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -799,7 +733,8 @@ public Builder addAllSubnetworks( java.lang.Iterable values) { if (subnetworksBuilder_ == null) { ensureSubnetworksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnetworks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subnetworks_); onChanged(); } else { subnetworksBuilder_.addAllMessages(values); @@ -807,8 +742,6 @@ public Builder addAllSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -826,8 +759,6 @@ public Builder clearSubnetworks() { return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -845,44 +776,39 @@ public Builder removeSubnetworks(int index) { return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1.UsableSubnetwork.Builder getSubnetworksBuilder(int index) { + public com.google.container.v1.UsableSubnetwork.Builder getSubnetworksBuilder( + int index) { return getSubnetworksFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index) { + public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( + int index) { if (subnetworksBuilder_ == null) { - return subnetworks_.get(index); - } else { + return subnetworks_.get(index); } else { return subnetworksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksOrBuilderList() { + public java.util.List + getSubnetworksOrBuilderList() { if (subnetworksBuilder_ != null) { return subnetworksBuilder_.getMessageOrBuilderList(); } else { @@ -890,8 +816,6 @@ public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -899,48 +823,42 @@ public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder() { - return getSubnetworksFieldBuilder() - .addBuilder(com.google.container.v1.UsableSubnetwork.getDefaultInstance()); + return getSubnetworksFieldBuilder().addBuilder( + com.google.container.v1.UsableSubnetwork.getDefaultInstance()); } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder(int index) { - return getSubnetworksFieldBuilder() - .addBuilder(index, com.google.container.v1.UsableSubnetwork.getDefaultInstance()); + public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder( + int index) { + return getSubnetworksFieldBuilder().addBuilder( + index, com.google.container.v1.UsableSubnetwork.getDefaultInstance()); } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksBuilderList() { + public java.util.List + getSubnetworksBuilderList() { return getSubnetworksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetwork, - com.google.container.v1.UsableSubnetwork.Builder, - com.google.container.v1.UsableSubnetworkOrBuilder> + com.google.container.v1.UsableSubnetwork, com.google.container.v1.UsableSubnetwork.Builder, com.google.container.v1.UsableSubnetworkOrBuilder> getSubnetworksFieldBuilder() { if (subnetworksBuilder_ == null) { - subnetworksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetwork, - com.google.container.v1.UsableSubnetwork.Builder, - com.google.container.v1.UsableSubnetworkOrBuilder>( - subnetworks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + subnetworksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.UsableSubnetwork, com.google.container.v1.UsableSubnetwork.Builder, com.google.container.v1.UsableSubnetworkOrBuilder>( + subnetworks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); subnetworks_ = null; } return subnetworksBuilder_; @@ -948,8 +866,6 @@ public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder(in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -958,13 +874,13 @@ public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder(in
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -973,8 +889,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -983,14 +897,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -998,8 +913,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -1008,22 +921,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -1032,18 +943,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -1052,23 +960,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1078,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ListUsableSubnetworksResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListUsableSubnetworksResponse) private static final com.google.container.v1.ListUsableSubnetworksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ListUsableSubnetworksResponse(); } @@ -1092,27 +1000,27 @@ public static com.google.container.v1.ListUsableSubnetworksResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1127,4 +1035,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1.ListUsableSubnetworksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java index 6eb2bb2bf0d6..8f083537b33f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListUsableSubnetworksResponseOrBuilder - extends +public interface ListUsableSubnetworksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListUsableSubnetworksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - java.util.List getSubnetworksList(); + java.util.List + getSubnetworksList(); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -44,8 +25,6 @@ public interface ListUsableSubnetworksResponseOrBuilder */ com.google.container.v1.UsableSubnetwork getSubnetworks(int index); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -54,30 +33,25 @@ public interface ListUsableSubnetworksResponseOrBuilder */ int getSubnetworksCount(); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - java.util.List + java.util.List getSubnetworksOrBuilderList(); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index); + com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( + int index); /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -86,13 +60,10 @@ public interface ListUsableSubnetworksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -101,8 +72,8 @@ public interface ListUsableSubnetworksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java index 548aba5887b3..4e510d5fed39 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * LoggingComponentConfig is cluster logging component configuration.
  * 
* * Protobuf type {@code google.container.v1.LoggingComponentConfig} */ -public final class LoggingComponentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingComponentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.LoggingComponentConfig) LoggingComponentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingComponentConfig.newBuilder() to construct. private LoggingComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingComponentConfig.class, - com.google.container.v1.LoggingComponentConfig.Builder.class); + com.google.container.v1.LoggingComponentConfig.class, com.google.container.v1.LoggingComponentConfig.Builder.class); } /** - * - * *
    * GKE components exposing logs
    * 
* * Protobuf enum {@code google.container.v1.LoggingComponentConfig.Component} */ - public enum Component implements com.google.protobuf.ProtocolMessageEnum { + public enum Component + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -88,8 +66,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ COMPONENT_UNSPECIFIED(0), /** - * - * *
      * system components
      * 
@@ -98,8 +74,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM_COMPONENTS(1), /** - * - * *
      * workloads
      * 
@@ -108,8 +82,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ WORKLOADS(2), /** - * - * *
      * kube-apiserver
      * 
@@ -118,8 +90,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ APISERVER(3), /** - * - * *
      * kube-scheduler
      * 
@@ -128,8 +98,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SCHEDULER(4), /** - * - * *
      * kube-controller-manager
      * 
@@ -141,8 +109,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -151,8 +117,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * system components
      * 
@@ -161,8 +125,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** - * - * *
      * workloads
      * 
@@ -171,8 +133,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORKLOADS_VALUE = 2; /** - * - * *
      * kube-apiserver
      * 
@@ -181,8 +141,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APISERVER_VALUE = 3; /** - * - * *
      * kube-scheduler
      * 
@@ -191,8 +149,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEDULER_VALUE = 4; /** - * - * *
      * kube-controller-manager
      * 
@@ -201,6 +157,7 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTROLLER_MANAGER_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -225,55 +182,52 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: - return COMPONENT_UNSPECIFIED; - case 1: - return SYSTEM_COMPONENTS; - case 2: - return WORKLOADS; - case 3: - return APISERVER; - case 4: - return SCHEDULER; - case 5: - return CONTROLLER_MANAGER; - default: - return null; + case 0: return COMPONENT_UNSPECIFIED; + case 1: return SYSTEM_COMPONENTS; + case 2: return WORKLOADS; + case 3: return APISERVER; + case 4: return SCHEDULER; + case 5: return CONTROLLER_MANAGER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Component> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.LoggingComponentConfig.getDescriptor().getEnumTypes().get(0); } private static final Component[] VALUES = values(); - public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -293,49 +247,34 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component> - enableComponents_converter_ = + java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component> enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>() { - public com.google.container.v1.LoggingComponentConfig.Component convert( - java.lang.Integer from) { + public com.google.container.v1.LoggingComponentConfig.Component convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1.LoggingComponentConfig.Component result = - com.google.container.v1.LoggingComponentConfig.Component.valueOf(from); - return result == null - ? com.google.container.v1.LoggingComponentConfig.Component.UNRECOGNIZED - : result; + com.google.container.v1.LoggingComponentConfig.Component result = com.google.container.v1.LoggingComponentConfig.Component.valueOf(from); + return result == null ? com.google.container.v1.LoggingComponentConfig.Component.UNRECOGNIZED : result; } }; /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ @java.lang.Override @@ -343,15 +282,11 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ @@ -360,31 +295,24 @@ public com.google.container.v1.LoggingComponentConfig.Component getEnableCompone return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return enableComponents_; } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -392,11 +320,9 @@ public java.util.List getEnableComponentsValueList() { public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } - private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -429,15 +356,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -447,13 +373,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LoggingComponentConfig)) { return super.equals(obj); } - com.google.container.v1.LoggingComponentConfig other = - (com.google.container.v1.LoggingComponentConfig) obj; + com.google.container.v1.LoggingComponentConfig other = (com.google.container.v1.LoggingComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -476,136 +401,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LoggingComponentConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.LoggingComponentConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LoggingComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingComponentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LoggingComponentConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingComponentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.LoggingComponentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.LoggingComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.LoggingComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * LoggingComponentConfig is cluster logging component configuration.
    * 
* * Protobuf type {@code google.container.v1.LoggingComponentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.LoggingComponentConfig) com.google.container.v1.LoggingComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingComponentConfig.class, - com.google.container.v1.LoggingComponentConfig.Builder.class); + com.google.container.v1.LoggingComponentConfig.class, com.google.container.v1.LoggingComponentConfig.Builder.class); } // Construct using com.google.container.v1.LoggingComponentConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -615,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_descriptor; } @java.lang.Override @@ -636,8 +555,7 @@ public com.google.container.v1.LoggingComponentConfig build() { @java.lang.Override public com.google.container.v1.LoggingComponentConfig buildPartial() { - com.google.container.v1.LoggingComponentConfig result = - new com.google.container.v1.LoggingComponentConfig(this); + com.google.container.v1.LoggingComponentConfig result = new com.google.container.v1.LoggingComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -652,39 +570,38 @@ public com.google.container.v1.LoggingComponentConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LoggingComponentConfig) { - return mergeFrom((com.google.container.v1.LoggingComponentConfig) other); + return mergeFrom((com.google.container.v1.LoggingComponentConfig)other); } else { super.mergeFrom(other); return this; @@ -729,32 +646,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { + case 8: { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + break; + } // case 8 + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -764,11 +678,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List enableComponents_ = java.util.Collections.emptyList(); - + private java.util.List enableComponents_ = + java.util.Collections.emptyList(); private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -776,48 +689,34 @@ private void ensureEnableComponentsIsMutable() { } } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ @@ -825,15 +724,11 @@ public com.google.container.v1.LoggingComponentConfig.Component getEnableCompone return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -849,20 +744,15 @@ public Builder setEnableComponents( return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents( - com.google.container.v1.LoggingComponentConfig.Component value) { + public Builder addEnableComponents(com.google.container.v1.LoggingComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -872,21 +762,16 @@ public Builder addEnableComponents( return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1.LoggingComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -895,15 +780,11 @@ public Builder addAllEnableComponents( return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -913,30 +794,23 @@ public Builder clearEnableComponents() { return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -944,35 +818,28 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue(int index, int value) { + public Builder setEnableComponentsValue( + int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -983,19 +850,16 @@ public Builder addEnableComponentsValue(int value) { return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue(java.lang.Iterable values) { + public Builder addAllEnableComponentsValue( + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -1003,9 +867,9 @@ public Builder addAllEnableComponentsValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1015,12 +879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.LoggingComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LoggingComponentConfig) private static final com.google.container.v1.LoggingComponentConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.LoggingComponentConfig(); } @@ -1029,27 +893,27 @@ public static com.google.container.v1.LoggingComponentConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1064,4 +928,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java index aaf90da84840..4c8365528d3d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java @@ -1,92 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LoggingComponentConfigOrBuilder - extends +public interface LoggingComponentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.LoggingComponentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - java.util.List - getEnableComponentsList(); + java.util.List getEnableComponentsList(); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ int getEnableComponentsCount(); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1.LoggingComponentConfig.Component getEnableComponents(int index); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List getEnableComponentsValueList(); + java.util.List + getEnableComponentsValueList(); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java index c855dd259d77..ae967f8abc8b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * LoggingConfig is cluster logging configuration.
  * 
* * Protobuf type {@code google.container.v1.LoggingConfig} */ -public final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.LoggingConfig) LoggingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingConfig.newBuilder() to construct. private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LoggingConfig() {} + private LoggingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingConfig.class, - com.google.container.v1.LoggingConfig.Builder.class); + com.google.container.v1.LoggingConfig.class, com.google.container.v1.LoggingConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.LoggingComponentConfig componentConfig_; /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1.LoggingComponentConfig getComponentConfig() { - return componentConfig_ == null - ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } /** - * - * *
    * Logging components configuration
    * 
@@ -114,7 +86,6 @@ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfi } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } @@ -140,7 +112,8 @@ public int getSerializedSize() { size = 0; if (componentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getComponentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,7 +123,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LoggingConfig)) { return super.equals(obj); @@ -159,7 +132,8 @@ public boolean equals(final java.lang.Object obj) { if (hasComponentConfig() != other.hasComponentConfig()) return false; if (hasComponentConfig()) { - if (!getComponentConfig().equals(other.getComponentConfig())) return false; + if (!getComponentConfig() + .equals(other.getComponentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,135 +155,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LoggingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.LoggingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.LoggingConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.LoggingConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.LoggingConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.LoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.LoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * LoggingConfig is cluster logging configuration.
    * 
* * Protobuf type {@code google.container.v1.LoggingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.LoggingConfig) com.google.container.v1.LoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingConfig.class, - com.google.container.v1.LoggingConfig.Builder.class); + com.google.container.v1.LoggingConfig.class, com.google.container.v1.LoggingConfig.Builder.class); } // Construct using com.google.container.v1.LoggingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_descriptor; } @java.lang.Override @@ -344,8 +313,7 @@ public com.google.container.v1.LoggingConfig build() { @java.lang.Override public com.google.container.v1.LoggingConfig buildPartial() { - com.google.container.v1.LoggingConfig result = - new com.google.container.v1.LoggingConfig(this); + com.google.container.v1.LoggingConfig result = new com.google.container.v1.LoggingConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -359,39 +327,38 @@ public com.google.container.v1.LoggingConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LoggingConfig) { - return mergeFrom((com.google.container.v1.LoggingConfig) other); + return mergeFrom((com.google.container.v1.LoggingConfig)other); } else { super.mergeFrom(other); return this; @@ -429,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getComponentConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -454,47 +421,34 @@ public Builder mergeFrom( private com.google.container.v1.LoggingComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingComponentConfig, - com.google.container.v1.LoggingComponentConfig.Builder, - com.google.container.v1.LoggingComponentConfigOrBuilder> - componentConfigBuilder_; + com.google.container.v1.LoggingComponentConfig, com.google.container.v1.LoggingComponentConfig.Builder, com.google.container.v1.LoggingComponentConfigOrBuilder> componentConfigBuilder_; /** - * - * *
      * Logging components configuration
      * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** - * - * *
      * Logging components configuration
      * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ public com.google.container.v1.LoggingComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null - ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging components configuration
      * 
@@ -515,8 +469,6 @@ public Builder setComponentConfig(com.google.container.v1.LoggingComponentConfig return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -535,8 +487,6 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -547,9 +497,7 @@ public Builder mergeComponentConfig(com.google.container.v1.LoggingComponentConf if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1.LoggingComponentConfig.newBuilder(componentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.LoggingComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); } else { componentConfig_ = value; } @@ -561,8 +509,6 @@ public Builder mergeComponentConfig(com.google.container.v1.LoggingComponentConf return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -581,8 +527,6 @@ public Builder clearComponentConfig() { return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -590,13 +534,11 @@ public Builder clearComponentConfig() { * .google.container.v1.LoggingComponentConfig component_config = 1; */ public com.google.container.v1.LoggingComponentConfig.Builder getComponentConfigBuilder() { - + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging components configuration
      * 
@@ -607,14 +549,11 @@ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfi if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null - ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? + com.google.container.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } } /** - * - * *
      * Logging components configuration
      * 
@@ -622,24 +561,21 @@ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfi * .google.container.v1.LoggingComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingComponentConfig, - com.google.container.v1.LoggingComponentConfig.Builder, - com.google.container.v1.LoggingComponentConfigOrBuilder> + com.google.container.v1.LoggingComponentConfig, com.google.container.v1.LoggingComponentConfig.Builder, com.google.container.v1.LoggingComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingComponentConfig, - com.google.container.v1.LoggingComponentConfig.Builder, - com.google.container.v1.LoggingComponentConfigOrBuilder>( - getComponentConfig(), getParentForChildren(), isClean()); + componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingComponentConfig, com.google.container.v1.LoggingComponentConfig.Builder, com.google.container.v1.LoggingComponentConfigOrBuilder>( + getComponentConfig(), + getParentForChildren(), + isClean()); componentConfig_ = null; } return componentConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -649,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LoggingConfig) private static final com.google.container.v1.LoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.LoggingConfig(); } @@ -663,27 +599,27 @@ public static com.google.container.v1.LoggingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -698,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java index 3f338b9fc591..b01b33511bb3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LoggingConfigOrBuilder - extends +public interface LoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ com.google.container.v1.LoggingComponentConfig getComponentConfig(); /** - * - * *
    * Logging components configuration
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java index 79051db12c08..5ff72af7cc96 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * LoggingVariantConfig specifies the behaviour of the logging component.
  * 
* * Protobuf type {@code google.container.v1.LoggingVariantConfig} */ -public final class LoggingVariantConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingVariantConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.LoggingVariantConfig) LoggingVariantConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingVariantConfig.newBuilder() to construct. private LoggingVariantConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingVariantConfig() { variant_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingVariantConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingVariantConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingVariantConfig.class, - com.google.container.v1.LoggingVariantConfig.Builder.class); + com.google.container.v1.LoggingVariantConfig.class, com.google.container.v1.LoggingVariantConfig.Builder.class); } /** - * - * *
    * Logging component variants.
    * 
* * Protobuf enum {@code google.container.v1.LoggingVariantConfig.Variant} */ - public enum Variant implements com.google.protobuf.ProtocolMessageEnum { + public enum Variant + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -88,8 +66,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ VARIANT_UNSPECIFIED(0), /** - * - * *
      * default logging variant.
      * 
@@ -98,8 +74,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT(1), /** - * - * *
      * maximum logging throughput variant.
      * 
@@ -111,8 +85,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -121,8 +93,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VARIANT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * default logging variant.
      * 
@@ -131,8 +101,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_VALUE = 1; /** - * - * *
      * maximum logging throughput variant.
      * 
@@ -141,6 +109,7 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAX_THROUGHPUT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static Variant valueOf(int value) { */ public static Variant forNumber(int value) { switch (value) { - case 0: - return VARIANT_UNSPECIFIED; - case 1: - return DEFAULT; - case 2: - return MAX_THROUGHPUT; - default: - return null; + case 0: return VARIANT_UNSPECIFIED; + case 1: return DEFAULT; + case 2: return MAX_THROUGHPUT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Variant> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Variant findValueByNumber(int number) { + return Variant.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Variant findValueByNumber(int number) { - return Variant.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.LoggingVariantConfig.getDescriptor().getEnumTypes().get(0); } private static final Variant[] VALUES = values(); - public static Variant valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Variant valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -227,43 +196,31 @@ private Variant(int value) { public static final int VARIANT_FIELD_NUMBER = 1; private int variant_; /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override - public int getVariantValue() { + @java.lang.Override public int getVariantValue() { return variant_; } /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @return The variant. */ - @java.lang.Override - public com.google.container.v1.LoggingVariantConfig.Variant getVariant() { + @java.lang.Override public com.google.container.v1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1.LoggingVariantConfig.Variant result = - com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null - ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED - : result; + com.google.container.v1.LoggingVariantConfig.Variant result = com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,9 +232,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (variant_ - != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (variant_ != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { output.writeEnum(1, variant_); } getUnknownFields().writeTo(output); @@ -289,9 +246,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (variant_ - != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, variant_); + if (variant_ != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, variant_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -301,13 +258,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LoggingVariantConfig)) { return super.equals(obj); } - com.google.container.v1.LoggingVariantConfig other = - (com.google.container.v1.LoggingVariantConfig) obj; + com.google.container.v1.LoggingVariantConfig other = (com.google.container.v1.LoggingVariantConfig) obj; if (variant_ != other.variant_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -328,136 +284,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LoggingVariantConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.LoggingVariantConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingVariantConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LoggingVariantConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingVariantConfig parseFrom( 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.LoggingVariantConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.LoggingVariantConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LoggingVariantConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingVariantConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.LoggingVariantConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.LoggingVariantConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingVariantConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.LoggingVariantConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.LoggingVariantConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.LoggingVariantConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * LoggingVariantConfig specifies the behaviour of the logging component.
    * 
* * Protobuf type {@code google.container.v1.LoggingVariantConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.LoggingVariantConfig) com.google.container.v1.LoggingVariantConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingVariantConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingVariantConfig.class, - com.google.container.v1.LoggingVariantConfig.Builder.class); + com.google.container.v1.LoggingVariantConfig.class, com.google.container.v1.LoggingVariantConfig.Builder.class); } // Construct using com.google.container.v1.LoggingVariantConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_LoggingVariantConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_descriptor; } @java.lang.Override @@ -488,8 +438,7 @@ public com.google.container.v1.LoggingVariantConfig build() { @java.lang.Override public com.google.container.v1.LoggingVariantConfig buildPartial() { - com.google.container.v1.LoggingVariantConfig result = - new com.google.container.v1.LoggingVariantConfig(this); + com.google.container.v1.LoggingVariantConfig result = new com.google.container.v1.LoggingVariantConfig(this); result.variant_ = variant_; onBuilt(); return result; @@ -499,39 +448,38 @@ public com.google.container.v1.LoggingVariantConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LoggingVariantConfig) { - return mergeFrom((com.google.container.v1.LoggingVariantConfig) other); + return mergeFrom((com.google.container.v1.LoggingVariantConfig)other); } else { super.mergeFrom(other); return this; @@ -569,19 +517,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - variant_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + variant_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -594,67 +540,51 @@ public Builder mergeFrom( private int variant_ = 0; /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override - public int getVariantValue() { + @java.lang.Override public int getVariantValue() { return variant_; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @param value The enum numeric value on the wire for variant to set. * @return This builder for chaining. */ public Builder setVariantValue(int value) { - + variant_ = value; onChanged(); return this; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @return The variant. */ @java.lang.Override public com.google.container.v1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1.LoggingVariantConfig.Variant result = - com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null - ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED - : result; + com.google.container.v1.LoggingVariantConfig.Variant result = com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @param value The variant to set. * @return This builder for chaining. */ @@ -662,31 +592,28 @@ public Builder setVariant(com.google.container.v1.LoggingVariantConfig.Variant v if (value == null) { throw new NullPointerException(); } - + variant_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @return This builder for chaining. */ public Builder clearVariant() { - + variant_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -696,12 +623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.LoggingVariantConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LoggingVariantConfig) private static final com.google.container.v1.LoggingVariantConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.LoggingVariantConfig(); } @@ -710,27 +637,27 @@ public static com.google.container.v1.LoggingVariantConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingVariantConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingVariantConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -745,4 +672,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LoggingVariantConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java similarity index 53% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java index a32f194be8fc..f998a52c6e06 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface LoggingVariantConfigOrBuilder - extends +public interface LoggingVariantConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.LoggingVariantConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @return The enum numeric value on the wire for variant. */ int getVariantValue(); /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; - * * @return The variant. */ com.google.container.v1.LoggingVariantConfig.Variant getVariant(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java index 2bedf6fc4c23..aa502fccbb88 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Represents the Maintenance exclusion option.
  * 
* * Protobuf type {@code google.container.v1.MaintenanceExclusionOptions} */ -public final class MaintenanceExclusionOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaintenanceExclusionOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MaintenanceExclusionOptions) MaintenanceExclusionOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaintenanceExclusionOptions.newBuilder() to construct. private MaintenanceExclusionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaintenanceExclusionOptions() { scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaintenanceExclusionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceExclusionOptions.class, - com.google.container.v1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1.MaintenanceExclusionOptions.class, com.google.container.v1.MaintenanceExclusionOptions.Builder.class); } /** - * - * *
    * Scope of exclusion.
    * 
* * Protobuf enum {@code google.container.v1.MaintenanceExclusionOptions.Scope} */ - public enum Scope implements com.google.protobuf.ProtocolMessageEnum { + public enum Scope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -90,8 +68,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_UPGRADES(0),
     /**
-     *
-     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -101,8 +77,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_MINOR_UPGRADES(1),
     /**
-     *
-     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -116,8 +90,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -128,8 +100,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_UPGRADES_VALUE = 0;
     /**
-     *
-     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -139,8 +109,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_MINOR_UPGRADES_VALUE = 1;
     /**
-     *
-     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -151,6 +119,7 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_MINOR_OR_NODE_UPGRADES_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -175,51 +144,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0:
-          return NO_UPGRADES;
-        case 1:
-          return NO_MINOR_UPGRADES;
-        case 2:
-          return NO_MINOR_OR_NODE_UPGRADES;
-        default:
-          return null;
+        case 0: return NO_UPGRADES;
+        case 1: return NO_MINOR_UPGRADES;
+        case 2: return NO_MINOR_OR_NODE_UPGRADES;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Scope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Scope findValueByNumber(int number) {
+              return Scope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Scope findValueByNumber(int number) {
-            return Scope.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.container.v1.MaintenanceExclusionOptions.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.container.v1.MaintenanceExclusionOptions.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -239,45 +206,33 @@ private Scope(int value) {
   public static final int SCOPE_FIELD_NUMBER = 1;
   private int scope_;
   /**
-   *
-   *
    * 
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The scope. */ - @java.lang.Override - public com.google.container.v1.MaintenanceExclusionOptions.Scope getScope() { + @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1.MaintenanceExclusionOptions.Scope result = - com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null - ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED - : result; + com.google.container.v1.MaintenanceExclusionOptions.Scope result = com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,9 +244,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (scope_ - != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (scope_ != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { output.writeEnum(1, scope_); } getUnknownFields().writeTo(output); @@ -303,9 +258,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ - != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); + if (scope_ != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, scope_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,13 +270,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MaintenanceExclusionOptions)) { return super.equals(obj); } - com.google.container.v1.MaintenanceExclusionOptions other = - (com.google.container.v1.MaintenanceExclusionOptions) obj; + com.google.container.v1.MaintenanceExclusionOptions other = (com.google.container.v1.MaintenanceExclusionOptions) obj; if (scope_ != other.scope_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -343,135 +297,129 @@ public int hashCode() { } public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenanceExclusionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( 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.MaintenanceExclusionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.MaintenanceExclusionOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.MaintenanceExclusionOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.MaintenanceExclusionOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.MaintenanceExclusionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the Maintenance exclusion option.
    * 
* * Protobuf type {@code google.container.v1.MaintenanceExclusionOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaintenanceExclusionOptions) com.google.container.v1.MaintenanceExclusionOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceExclusionOptions.class, - com.google.container.v1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1.MaintenanceExclusionOptions.class, com.google.container.v1.MaintenanceExclusionOptions.Builder.class); } // Construct using com.google.container.v1.MaintenanceExclusionOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override @@ -502,8 +450,7 @@ public com.google.container.v1.MaintenanceExclusionOptions build() { @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions buildPartial() { - com.google.container.v1.MaintenanceExclusionOptions result = - new com.google.container.v1.MaintenanceExclusionOptions(this); + com.google.container.v1.MaintenanceExclusionOptions result = new com.google.container.v1.MaintenanceExclusionOptions(this); result.scope_ = scope_; onBuilt(); return result; @@ -513,39 +460,38 @@ public com.google.container.v1.MaintenanceExclusionOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaintenanceExclusionOptions) { - return mergeFrom((com.google.container.v1.MaintenanceExclusionOptions) other); + return mergeFrom((com.google.container.v1.MaintenanceExclusionOptions)other); } else { super.mergeFrom(other); return this; @@ -553,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.MaintenanceExclusionOptions other) { - if (other == com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) - return this; + if (other == com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) return this; if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } @@ -584,19 +529,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - scope_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + scope_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -609,71 +552,55 @@ public Builder mergeFrom( private int scope_ = 0; /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The scope. */ @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1.MaintenanceExclusionOptions.Scope result = - com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null - ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED - : result; + com.google.container.v1.MaintenanceExclusionOptions.Scope result = com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -681,32 +608,29 @@ public Builder setScope(com.google.container.v1.MaintenanceExclusionOptions.Scop if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -716,12 +640,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.MaintenanceExclusionOptions) } // @@protoc_insertion_point(class_scope:google.container.v1.MaintenanceExclusionOptions) private static final com.google.container.v1.MaintenanceExclusionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.MaintenanceExclusionOptions(); } @@ -730,27 +654,27 @@ public static com.google.container.v1.MaintenanceExclusionOptions getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceExclusionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceExclusionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -765,4 +689,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.MaintenanceExclusionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java similarity index 56% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java index b9753b402e8d..a168f3674b06 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java @@ -1,51 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface MaintenanceExclusionOptionsOrBuilder - extends +public interface MaintenanceExclusionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.MaintenanceExclusionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The scope. */ com.google.container.v1.MaintenanceExclusionOptions.Scope getScope(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java index 875f44567294..5d5e7c8964b0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * MaintenancePolicy defines the maintenance policy to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1.MaintenancePolicy} */ -public final class MaintenancePolicy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaintenancePolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MaintenancePolicy) MaintenancePolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaintenancePolicy.newBuilder() to construct. private MaintenancePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaintenancePolicy() { resourceVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaintenancePolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenancePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenancePolicy.class, - com.google.container.v1.MaintenancePolicy.Builder.class); + com.google.container.v1.MaintenancePolicy.class, com.google.container.v1.MaintenancePolicy.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1.MaintenanceWindow window_; /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; - * * @return Whether the window field is set. */ @java.lang.Override @@ -85,25 +63,18 @@ public boolean hasWindow() { return window_ != null; } /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; - * * @return The window. */ @java.lang.Override public com.google.container.v1.MaintenanceWindow getWindow() { - return window_ == null - ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() : window_; } /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -118,8 +89,6 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { public static final int RESOURCE_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object resourceVersion_; /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -129,7 +98,6 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() {
    * 
* * string resource_version = 3; - * * @return The resourceVersion. */ @java.lang.Override @@ -138,15 +106,14 @@ public java.lang.String getResourceVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; } } /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -156,15 +123,16 @@ public java.lang.String getResourceVersion() {
    * 
* * string resource_version = 3; - * * @return The bytes for resourceVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceVersionBytes() { + public com.google.protobuf.ByteString + getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -173,7 +141,6 @@ public com.google.protobuf.ByteString getResourceVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -202,7 +170,8 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resourceVersion_); @@ -215,19 +184,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MaintenancePolicy)) { return super.equals(obj); } - com.google.container.v1.MaintenancePolicy other = - (com.google.container.v1.MaintenancePolicy) obj; + com.google.container.v1.MaintenancePolicy other = (com.google.container.v1.MaintenancePolicy) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow().equals(other.getWindow())) return false; + if (!getWindow() + .equals(other.getWindow())) return false; } - if (!getResourceVersion().equals(other.getResourceVersion())) return false; + if (!getResourceVersion() + .equals(other.getResourceVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -250,136 +220,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.MaintenancePolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.MaintenancePolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaintenancePolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenancePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaintenancePolicy parseFrom( 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.MaintenancePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaintenancePolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MaintenancePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MaintenancePolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.MaintenancePolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.MaintenancePolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.MaintenancePolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.MaintenancePolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MaintenancePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.MaintenancePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MaintenancePolicy defines the maintenance policy to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1.MaintenancePolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaintenancePolicy) com.google.container.v1.MaintenancePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenancePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenancePolicy.class, - com.google.container.v1.MaintenancePolicy.Builder.class); + com.google.container.v1.MaintenancePolicy.class, com.google.container.v1.MaintenancePolicy.Builder.class); } // Construct using com.google.container.v1.MaintenancePolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +359,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenancePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_descriptor; } @java.lang.Override @@ -416,8 +380,7 @@ public com.google.container.v1.MaintenancePolicy build() { @java.lang.Override public com.google.container.v1.MaintenancePolicy buildPartial() { - com.google.container.v1.MaintenancePolicy result = - new com.google.container.v1.MaintenancePolicy(this); + com.google.container.v1.MaintenancePolicy result = new com.google.container.v1.MaintenancePolicy(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -432,39 +395,38 @@ public com.google.container.v1.MaintenancePolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaintenancePolicy) { - return mergeFrom((com.google.container.v1.MaintenancePolicy) other); + return mergeFrom((com.google.container.v1.MaintenancePolicy)other); } else { super.mergeFrom(other); return this; @@ -506,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 26: - { - resourceVersion_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getWindowFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 26: { + resourceVersion_ = input.readStringRequireUtf8(); + + 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) { @@ -537,47 +498,34 @@ public Builder mergeFrom( private com.google.container.v1.MaintenanceWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceWindow, - com.google.container.v1.MaintenanceWindow.Builder, - com.google.container.v1.MaintenanceWindowOrBuilder> - windowBuilder_; + com.google.container.v1.MaintenanceWindow, com.google.container.v1.MaintenanceWindow.Builder, com.google.container.v1.MaintenanceWindowOrBuilder> windowBuilder_; /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1.MaintenanceWindow window = 1; - * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1.MaintenanceWindow window = 1; - * * @return The window. */ public com.google.container.v1.MaintenanceWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null - ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() : window_; } else { return windowBuilder_.getMessage(); } } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -598,15 +546,14 @@ public Builder setWindow(com.google.container.v1.MaintenanceWindow value) { return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1.MaintenanceWindow window = 1; */ - public Builder setWindow(com.google.container.v1.MaintenanceWindow.Builder builderForValue) { + public Builder setWindow( + com.google.container.v1.MaintenanceWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -617,8 +564,6 @@ public Builder setWindow(com.google.container.v1.MaintenanceWindow.Builder build return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -629,9 +574,7 @@ public Builder mergeWindow(com.google.container.v1.MaintenanceWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1.MaintenanceWindow.newBuilder(window_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MaintenanceWindow.newBuilder(window_).mergeFrom(value).buildPartial(); } else { window_ = value; } @@ -643,8 +586,6 @@ public Builder mergeWindow(com.google.container.v1.MaintenanceWindow value) { return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -663,8 +604,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -672,13 +611,11 @@ public Builder clearWindow() { * .google.container.v1.MaintenanceWindow window = 1; */ public com.google.container.v1.MaintenanceWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -689,14 +626,11 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null - ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() - : window_; + return window_ == null ? + com.google.container.v1.MaintenanceWindow.getDefaultInstance() : window_; } } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -704,17 +638,14 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { * .google.container.v1.MaintenanceWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceWindow, - com.google.container.v1.MaintenanceWindow.Builder, - com.google.container.v1.MaintenanceWindowOrBuilder> + com.google.container.v1.MaintenanceWindow, com.google.container.v1.MaintenanceWindow.Builder, com.google.container.v1.MaintenanceWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceWindow, - com.google.container.v1.MaintenanceWindow.Builder, - com.google.container.v1.MaintenanceWindowOrBuilder>( - getWindow(), getParentForChildren(), isClean()); + windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenanceWindow, com.google.container.v1.MaintenanceWindow.Builder, com.google.container.v1.MaintenanceWindowOrBuilder>( + getWindow(), + getParentForChildren(), + isClean()); window_ = null; } return windowBuilder_; @@ -722,8 +653,6 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { private java.lang.Object resourceVersion_ = ""; /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -733,13 +662,13 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() {
      * 
* * string resource_version = 3; - * * @return The resourceVersion. */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; @@ -748,8 +677,6 @@ public java.lang.String getResourceVersion() { } } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -759,14 +686,15 @@ public java.lang.String getResourceVersion() {
      * 
* * string resource_version = 3; - * * @return The bytes for resourceVersion. */ - public com.google.protobuf.ByteString getResourceVersionBytes() { + public com.google.protobuf.ByteString + getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -774,8 +702,6 @@ public com.google.protobuf.ByteString getResourceVersionBytes() { } } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -785,22 +711,20 @@ public com.google.protobuf.ByteString getResourceVersionBytes() {
      * 
* * string resource_version = 3; - * * @param value The resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersion(java.lang.String value) { + public Builder setResourceVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceVersion_ = value; onChanged(); return this; } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -810,18 +734,15 @@ public Builder setResourceVersion(java.lang.String value) {
      * 
* * string resource_version = 3; - * * @return This builder for chaining. */ public Builder clearResourceVersion() { - + resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -831,23 +752,23 @@ public Builder clearResourceVersion() {
      * 
* * string resource_version = 3; - * * @param value The bytes for resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { + public Builder setResourceVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceVersion_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -857,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.MaintenancePolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.MaintenancePolicy) private static final com.google.container.v1.MaintenancePolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.MaintenancePolicy(); } @@ -871,27 +792,27 @@ public static com.google.container.v1.MaintenancePolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenancePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenancePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,4 +827,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.MaintenancePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java index b021ce8026dd..c3afa9206bbf 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface MaintenancePolicyOrBuilder - extends +public interface MaintenancePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.MaintenancePolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; - * * @return Whether the window field is set. */ boolean hasWindow(); /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; - * * @return The window. */ com.google.container.v1.MaintenanceWindow getWindow(); /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -59,8 +35,6 @@ public interface MaintenancePolicyOrBuilder com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder(); /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -70,13 +44,10 @@ public interface MaintenancePolicyOrBuilder
    * 
* * string resource_version = 3; - * * @return The resourceVersion. */ java.lang.String getResourceVersion(); /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -86,8 +57,8 @@ public interface MaintenancePolicyOrBuilder
    * 
* * string resource_version = 3; - * * @return The bytes for resourceVersion. */ - com.google.protobuf.ByteString getResourceVersionBytes(); + com.google.protobuf.ByteString + getResourceVersionBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java index c0fe9c9155ae..9eb05f608799 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java @@ -1,93 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * MaintenanceWindow defines the maintenance window to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1.MaintenanceWindow} */ -public final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaintenanceWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MaintenanceWindow) MaintenanceWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaintenanceWindow.newBuilder() to construct. private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MaintenanceWindow() {} + private MaintenanceWindow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceWindow.class, - com.google.container.v1.MaintenanceWindow.Builder.class); + com.google.container.v1.MaintenanceWindow.class, com.google.container.v1.MaintenanceWindow.Builder.class); } private int policyCase_ = 0; private java.lang.Object policy_; - public enum PolicyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DAILY_MAINTENANCE_WINDOW(2), RECURRING_WINDOW(3), POLICY_NOT_SET(0); private final int value; - private PolicyCase(int value) { this.value = value; } @@ -103,36 +83,30 @@ public static PolicyCase valueOf(int value) { public static PolicyCase forNumber(int value) { switch (value) { - case 2: - return DAILY_MAINTENANCE_WINDOW; - case 3: - return RECURRING_WINDOW; - case 0: - return POLICY_NOT_SET; - default: - return null; + case 2: return DAILY_MAINTENANCE_WINDOW; + case 3: return RECURRING_WINDOW; + case 0: return POLICY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public PolicyCase getPolicyCase() { - return PolicyCase.forNumber(policyCase_); + public PolicyCase + getPolicyCase() { + return PolicyCase.forNumber( + policyCase_); } public static final int DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER = 2; /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -140,26 +114,21 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return The dailyMaintenanceWindow. */ @java.lang.Override public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow() { if (policyCase_ == 2) { - return (com.google.container.v1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1.DailyMaintenanceWindow) policy_; } return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance(); } /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -167,18 +136,15 @@ public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow( * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1.DailyMaintenanceWindowOrBuilder - getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { if (policyCase_ == 2) { - return (com.google.container.v1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1.DailyMaintenanceWindow) policy_; } return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance(); } public static final int RECURRING_WINDOW_FIELD_NUMBER = 3; /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -186,7 +152,6 @@ public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow(
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; - * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -194,8 +159,6 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -203,19 +166,16 @@ public boolean hasRecurringWindow() {
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; - * * @return The recurringWindow. */ @java.lang.Override public com.google.container.v1.RecurringTimeWindow getRecurringWindow() { if (policyCase_ == 3) { - return (com.google.container.v1.RecurringTimeWindow) policy_; + return (com.google.container.v1.RecurringTimeWindow) policy_; } return com.google.container.v1.RecurringTimeWindow.getDefaultInstance(); } /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -227,31 +187,27 @@ public com.google.container.v1.RecurringTimeWindow getRecurringWindow() {
   @java.lang.Override
   public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder() {
     if (policyCase_ == 3) {
-      return (com.google.container.v1.RecurringTimeWindow) policy_;
+       return (com.google.container.v1.RecurringTimeWindow) policy_;
     }
     return com.google.container.v1.RecurringTimeWindow.getDefaultInstance();
   }
 
   public static final int MAINTENANCE_EXCLUSIONS_FIELD_NUMBER = 4;
-
   private static final class MaintenanceExclusionsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.container.v1.TimeWindow> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.container.v1.ClusterServiceProto
-                        .internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.container.v1.TimeWindow.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.container.v1.TimeWindow.getDefaultInstance());
   }
-
-  private com.google.protobuf.MapField
-      maintenanceExclusions_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.container.v1.TimeWindow> maintenanceExclusions_;
   private com.google.protobuf.MapField
-      internalGetMaintenanceExclusions() {
+  internalGetMaintenanceExclusions() {
     if (maintenanceExclusions_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
@@ -263,8 +219,6 @@ public int getMaintenanceExclusionsCount() {
     return internalGetMaintenanceExclusions().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -272,23 +226,22 @@ public int getMaintenanceExclusionsCount() {
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
+
   @java.lang.Override
-  public boolean containsMaintenanceExclusions(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMaintenanceExclusions(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMaintenanceExclusions().getMap().containsKey(key);
   }
-  /** Use {@link #getMaintenanceExclusionsMap()} instead. */
+  /**
+   * Use {@link #getMaintenanceExclusionsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getMaintenanceExclusions() {
+  public java.util.Map getMaintenanceExclusions() {
     return getMaintenanceExclusionsMap();
   }
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -297,13 +250,11 @@ public boolean containsMaintenanceExclusions(java.lang.String key) {
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
   @java.lang.Override
-  public java.util.Map
-      getMaintenanceExclusionsMap() {
+
+  public java.util.Map getMaintenanceExclusionsMap() {
     return internalGetMaintenanceExclusions().getMap();
   }
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -312,18 +263,16 @@ public boolean containsMaintenanceExclusions(java.lang.String key) {
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
   @java.lang.Override
+
   public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
-      java.lang.String key, com.google.container.v1.TimeWindow defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String key,
+      com.google.container.v1.TimeWindow defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetMaintenanceExclusions().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -332,10 +281,10 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
   @java.lang.Override
-  public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+
+  public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetMaintenanceExclusions().getMap();
     if (!map.containsKey(key)) {
@@ -345,7 +294,6 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(java.l
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -357,14 +305,16 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (policyCase_ == 2) {
       output.writeMessage(2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
     }
     if (policyCase_ == 3) {
       output.writeMessage(3, (com.google.container.v1.RecurringTimeWindow) policy_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
         output,
         internalGetMaintenanceExclusions(),
         MaintenanceExclusionsDefaultEntryHolder.defaultEntry,
@@ -379,25 +329,22 @@ public int getSerializedSize() {
 
     size = 0;
     if (policyCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
     }
     if (policyCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.container.v1.RecurringTimeWindow) policy_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.container.v1.RecurringTimeWindow) policy_);
     }
-    for (java.util.Map.Entry entry :
-        internalGetMaintenanceExclusions().getMap().entrySet()) {
+    for (java.util.Map.Entry entry
+         : internalGetMaintenanceExclusions().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-          maintenanceExclusions__ =
-              MaintenanceExclusionsDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, maintenanceExclusions__);
+      maintenanceExclusions__ = MaintenanceExclusionsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, maintenanceExclusions__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -407,23 +354,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.MaintenanceWindow)) {
       return super.equals(obj);
     }
-    com.google.container.v1.MaintenanceWindow other =
-        (com.google.container.v1.MaintenanceWindow) obj;
+    com.google.container.v1.MaintenanceWindow other = (com.google.container.v1.MaintenanceWindow) obj;
 
-    if (!internalGetMaintenanceExclusions().equals(other.internalGetMaintenanceExclusions()))
-      return false;
+    if (!internalGetMaintenanceExclusions().equals(
+        other.internalGetMaintenanceExclusions())) return false;
     if (!getPolicyCase().equals(other.getPolicyCase())) return false;
     switch (policyCase_) {
       case 2:
-        if (!getDailyMaintenanceWindow().equals(other.getDailyMaintenanceWindow())) return false;
+        if (!getDailyMaintenanceWindow()
+            .equals(other.getDailyMaintenanceWindow())) return false;
         break;
       case 3:
-        if (!getRecurringWindow().equals(other.getRecurringWindow())) return false;
+        if (!getRecurringWindow()
+            .equals(other.getRecurringWindow())) return false;
         break;
       case 0:
       default:
@@ -460,156 +408,152 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.MaintenanceWindow parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.MaintenanceWindow parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.MaintenanceWindow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseFrom(
       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.MaintenanceWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1.MaintenanceWindow parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1.MaintenanceWindow parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MaintenanceWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.MaintenanceWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * MaintenanceWindow defines the maintenance window to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1.MaintenanceWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaintenanceWindow) com.google.container.v1.MaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableMaintenanceExclusions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceWindow.class, - com.google.container.v1.MaintenanceWindow.Builder.class); + com.google.container.v1.MaintenanceWindow.class, com.google.container.v1.MaintenanceWindow.Builder.class); } // Construct using com.google.container.v1.MaintenanceWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -626,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor; } @java.lang.Override @@ -647,8 +591,7 @@ public com.google.container.v1.MaintenanceWindow build() { @java.lang.Override public com.google.container.v1.MaintenanceWindow buildPartial() { - com.google.container.v1.MaintenanceWindow result = - new com.google.container.v1.MaintenanceWindow(this); + com.google.container.v1.MaintenanceWindow result = new com.google.container.v1.MaintenanceWindow(this); int from_bitField0_ = bitField0_; if (policyCase_ == 2) { if (dailyMaintenanceWindowBuilder_ == null) { @@ -675,39 +618,38 @@ public com.google.container.v1.MaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaintenanceWindow) { - return mergeFrom((com.google.container.v1.MaintenanceWindow) other); + return mergeFrom((com.google.container.v1.MaintenanceWindow)other); } else { super.mergeFrom(other); return this; @@ -716,22 +658,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1.MaintenanceWindow other) { if (other == com.google.container.v1.MaintenanceWindow.getDefaultInstance()) return this; - internalGetMutableMaintenanceExclusions().mergeFrom(other.internalGetMaintenanceExclusions()); + internalGetMutableMaintenanceExclusions().mergeFrom( + other.internalGetMaintenanceExclusions()); switch (other.getPolicyCase()) { - case DAILY_MAINTENANCE_WINDOW: - { - mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); - break; - } - case RECURRING_WINDOW: - { - mergeRecurringWindow(other.getRecurringWindow()); - break; - } - case POLICY_NOT_SET: - { - break; - } + case DAILY_MAINTENANCE_WINDOW: { + mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); + break; + } + case RECURRING_WINDOW: { + mergeRecurringWindow(other.getRecurringWindow()); + break; + } + case POLICY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -759,38 +699,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage( - getDailyMaintenanceWindowFieldBuilder().getBuilder(), extensionRegistry); - policyCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getRecurringWindowFieldBuilder().getBuilder(), extensionRegistry); - policyCase_ = 3; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry - maintenanceExclusions__ = - input.readMessage( - MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMaintenanceExclusions() - .getMutableMap() - .put(maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getDailyMaintenanceWindowFieldBuilder().getBuilder(), + extensionRegistry); + policyCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getRecurringWindowFieldBuilder().getBuilder(), + extensionRegistry); + policyCase_ = 3; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + maintenanceExclusions__ = input.readMessage( + MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMaintenanceExclusions().getMutableMap().put( + maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); + 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) { @@ -800,12 +736,12 @@ public Builder mergeFrom( } // finally return this; } - private int policyCase_ = 0; private java.lang.Object policy_; - - public PolicyCase getPolicyCase() { - return PolicyCase.forNumber(policyCase_); + public PolicyCase + getPolicyCase() { + return PolicyCase.forNumber( + policyCase_); } public Builder clearPolicy() { @@ -818,19 +754,13 @@ public Builder clearPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DailyMaintenanceWindow, - com.google.container.v1.DailyMaintenanceWindow.Builder, - com.google.container.v1.DailyMaintenanceWindowOrBuilder> - dailyMaintenanceWindowBuilder_; + com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder> dailyMaintenanceWindowBuilder_; /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -838,14 +768,11 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return The dailyMaintenanceWindow. */ @java.lang.Override @@ -863,8 +790,6 @@ public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow( } } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -885,8 +810,6 @@ public Builder setDailyMaintenanceWindow(com.google.container.v1.DailyMaintenanc return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -905,24 +828,18 @@ public Builder setDailyMaintenanceWindow( return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public Builder mergeDailyMaintenanceWindow( - com.google.container.v1.DailyMaintenanceWindow value) { + public Builder mergeDailyMaintenanceWindow(com.google.container.v1.DailyMaintenanceWindow value) { if (dailyMaintenanceWindowBuilder_ == null) { - if (policyCase_ == 2 - && policy_ != com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance()) { - policy_ = - com.google.container.v1.DailyMaintenanceWindow.newBuilder( - (com.google.container.v1.DailyMaintenanceWindow) policy_) - .mergeFrom(value) - .buildPartial(); + if (policyCase_ == 2 && + policy_ != com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance()) { + policy_ = com.google.container.v1.DailyMaintenanceWindow.newBuilder((com.google.container.v1.DailyMaintenanceWindow) policy_) + .mergeFrom(value).buildPartial(); } else { policy_ = value; } @@ -938,8 +855,6 @@ public Builder mergeDailyMaintenanceWindow( return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -963,21 +878,16 @@ public Builder clearDailyMaintenanceWindow() { return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public com.google.container.v1.DailyMaintenanceWindow.Builder - getDailyMaintenanceWindowBuilder() { + public com.google.container.v1.DailyMaintenanceWindow.Builder getDailyMaintenanceWindowBuilder() { return getDailyMaintenanceWindowFieldBuilder().getBuilder(); } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -985,8 +895,7 @@ public Builder clearDailyMaintenanceWindow() { * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1.DailyMaintenanceWindowOrBuilder - getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { if ((policyCase_ == 2) && (dailyMaintenanceWindowBuilder_ != null)) { return dailyMaintenanceWindowBuilder_.getMessageOrBuilder(); } else { @@ -997,8 +906,6 @@ public Builder clearDailyMaintenanceWindow() { } } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -1006,38 +913,27 @@ public Builder clearDailyMaintenanceWindow() { * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DailyMaintenanceWindow, - com.google.container.v1.DailyMaintenanceWindow.Builder, - com.google.container.v1.DailyMaintenanceWindowOrBuilder> + com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder> getDailyMaintenanceWindowFieldBuilder() { if (dailyMaintenanceWindowBuilder_ == null) { if (!(policyCase_ == 2)) { policy_ = com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance(); } - dailyMaintenanceWindowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DailyMaintenanceWindow, - com.google.container.v1.DailyMaintenanceWindow.Builder, - com.google.container.v1.DailyMaintenanceWindowOrBuilder>( + dailyMaintenanceWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder>( (com.google.container.v1.DailyMaintenanceWindow) policy_, getParentForChildren(), isClean()); policy_ = null; } policyCase_ = 2; - onChanged(); - ; + onChanged();; return dailyMaintenanceWindowBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.RecurringTimeWindow, - com.google.container.v1.RecurringTimeWindow.Builder, - com.google.container.v1.RecurringTimeWindowOrBuilder> - recurringWindowBuilder_; + com.google.container.v1.RecurringTimeWindow, com.google.container.v1.RecurringTimeWindow.Builder, com.google.container.v1.RecurringTimeWindowOrBuilder> recurringWindowBuilder_; /** - * - * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1045,7 +941,6 @@ public Builder clearDailyMaintenanceWindow() {
      * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; - * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -1053,8 +948,6 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** - * - * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1062,7 +955,6 @@ public boolean hasRecurringWindow() {
      * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; - * * @return The recurringWindow. */ @java.lang.Override @@ -1080,8 +972,6 @@ public com.google.container.v1.RecurringTimeWindow getRecurringWindow() { } } /** - * - * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1104,8 +994,6 @@ public Builder setRecurringWindow(com.google.container.v1.RecurringTimeWindow va
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1126,8 +1014,6 @@ public Builder setRecurringWindow(
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1138,13 +1024,10 @@ public Builder setRecurringWindow(
      */
     public Builder mergeRecurringWindow(com.google.container.v1.RecurringTimeWindow value) {
       if (recurringWindowBuilder_ == null) {
-        if (policyCase_ == 3
-            && policy_ != com.google.container.v1.RecurringTimeWindow.getDefaultInstance()) {
-          policy_ =
-              com.google.container.v1.RecurringTimeWindow.newBuilder(
-                      (com.google.container.v1.RecurringTimeWindow) policy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (policyCase_ == 3 &&
+            policy_ != com.google.container.v1.RecurringTimeWindow.getDefaultInstance()) {
+          policy_ = com.google.container.v1.RecurringTimeWindow.newBuilder((com.google.container.v1.RecurringTimeWindow) policy_)
+              .mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -1160,8 +1043,6 @@ public Builder mergeRecurringWindow(com.google.container.v1.RecurringTimeWindow
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1187,8 +1068,6 @@ public Builder clearRecurringWindow() {
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1201,8 +1080,6 @@ public com.google.container.v1.RecurringTimeWindow.Builder getRecurringWindowBui
       return getRecurringWindowFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1223,8 +1100,6 @@ public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOr
       }
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1234,50 +1109,40 @@ public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOr
      * .google.container.v1.RecurringTimeWindow recurring_window = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.RecurringTimeWindow,
-            com.google.container.v1.RecurringTimeWindow.Builder,
-            com.google.container.v1.RecurringTimeWindowOrBuilder>
+        com.google.container.v1.RecurringTimeWindow, com.google.container.v1.RecurringTimeWindow.Builder, com.google.container.v1.RecurringTimeWindowOrBuilder> 
         getRecurringWindowFieldBuilder() {
       if (recurringWindowBuilder_ == null) {
         if (!(policyCase_ == 3)) {
           policy_ = com.google.container.v1.RecurringTimeWindow.getDefaultInstance();
         }
-        recurringWindowBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.RecurringTimeWindow,
-                com.google.container.v1.RecurringTimeWindow.Builder,
-                com.google.container.v1.RecurringTimeWindowOrBuilder>(
+        recurringWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.RecurringTimeWindow, com.google.container.v1.RecurringTimeWindow.Builder, com.google.container.v1.RecurringTimeWindowOrBuilder>(
                 (com.google.container.v1.RecurringTimeWindow) policy_,
                 getParentForChildren(),
                 isClean());
         policy_ = null;
       }
       policyCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return recurringWindowBuilder_;
     }
 
+    private com.google.protobuf.MapField<
+        java.lang.String, com.google.container.v1.TimeWindow> maintenanceExclusions_;
     private com.google.protobuf.MapField
-        maintenanceExclusions_;
-
-    private com.google.protobuf.MapField
-        internalGetMaintenanceExclusions() {
+    internalGetMaintenanceExclusions() {
       if (maintenanceExclusions_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       return maintenanceExclusions_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableMaintenanceExclusions() {
-      onChanged();
-      ;
+    internalGetMutableMaintenanceExclusions() {
+      onChanged();;
       if (maintenanceExclusions_ == null) {
-        maintenanceExclusions_ =
-            com.google.protobuf.MapField.newMapField(
-                MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
+        maintenanceExclusions_ = com.google.protobuf.MapField.newMapField(
+            MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       if (!maintenanceExclusions_.isMutable()) {
         maintenanceExclusions_ = maintenanceExclusions_.copy();
@@ -1289,8 +1154,6 @@ public int getMaintenanceExclusionsCount() {
       return internalGetMaintenanceExclusions().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1298,23 +1161,22 @@ public int getMaintenanceExclusionsCount() {
      *
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
+
     @java.lang.Override
-    public boolean containsMaintenanceExclusions(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMaintenanceExclusions(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMaintenanceExclusions().getMap().containsKey(key);
     }
-    /** Use {@link #getMaintenanceExclusionsMap()} instead. */
+    /**
+     * Use {@link #getMaintenanceExclusionsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map
-        getMaintenanceExclusions() {
+    public java.util.Map getMaintenanceExclusions() {
       return getMaintenanceExclusionsMap();
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1323,13 +1185,11 @@ public boolean containsMaintenanceExclusions(java.lang.String key) {
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     @java.lang.Override
-    public java.util.Map
-        getMaintenanceExclusionsMap() {
+
+    public java.util.Map getMaintenanceExclusionsMap() {
       return internalGetMaintenanceExclusions().getMap();
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1338,18 +1198,16 @@ public boolean containsMaintenanceExclusions(java.lang.String key) {
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     @java.lang.Override
+
     public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
-        java.lang.String key, com.google.container.v1.TimeWindow defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.container.v1.TimeWindow defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetMaintenanceExclusions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1358,11 +1216,10 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     @java.lang.Override
+
     public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
         java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetMaintenanceExclusions().getMap();
       if (!map.containsKey(key)) {
@@ -1372,12 +1229,11 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
     }
 
     public Builder clearMaintenanceExclusions() {
-      internalGetMutableMaintenanceExclusions().getMutableMap().clear();
+      internalGetMutableMaintenanceExclusions().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1385,22 +1241,23 @@ public Builder clearMaintenanceExclusions() {
      *
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
-    public Builder removeMaintenanceExclusions(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMaintenanceExclusions().getMutableMap().remove(key);
+
+    public Builder removeMaintenanceExclusions(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMaintenanceExclusions().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
-        getMutableMaintenanceExclusions() {
+    getMutableMaintenanceExclusions() {
       return internalGetMutableMaintenanceExclusions().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1409,20 +1266,18 @@ public Builder removeMaintenanceExclusions(java.lang.String key) {
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     public Builder putMaintenanceExclusions(
-        java.lang.String key, com.google.container.v1.TimeWindow value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        com.google.container.v1.TimeWindow value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMaintenanceExclusions().getMutableMap().put(key, value);
+      internalGetMutableMaintenanceExclusions().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1430,14 +1285,16 @@ public Builder putMaintenanceExclusions(
      *
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
+
     public Builder putAllMaintenanceExclusions(
         java.util.Map values) {
-      internalGetMutableMaintenanceExclusions().getMutableMap().putAll(values);
+      internalGetMutableMaintenanceExclusions().getMutableMap()
+          .putAll(values);
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1447,12 +1304,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.MaintenanceWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.MaintenanceWindow)
   private static final com.google.container.v1.MaintenanceWindow DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.MaintenanceWindow();
   }
@@ -1461,27 +1318,27 @@ public static com.google.container.v1.MaintenanceWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MaintenanceWindow parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MaintenanceWindow parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1496,4 +1353,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.MaintenanceWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
similarity index 78%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
index 3083d2c8b662..7c1c7d929694 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface MaintenanceWindowOrBuilder
-    extends
+public interface MaintenanceWindowOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.MaintenanceWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return Whether the dailyMaintenanceWindow field is set. */ boolean hasDailyMaintenanceWindow(); /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return The dailyMaintenanceWindow. */ com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow(); /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -59,8 +35,6 @@ public interface MaintenanceWindowOrBuilder com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder(); /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -68,13 +42,10 @@ public interface MaintenanceWindowOrBuilder
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; - * * @return Whether the recurringWindow field is set. */ boolean hasRecurringWindow(); /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -82,13 +53,10 @@ public interface MaintenanceWindowOrBuilder
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; - * * @return The recurringWindow. */ com.google.container.v1.RecurringTimeWindow getRecurringWindow(); /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -100,8 +68,6 @@ public interface MaintenanceWindowOrBuilder
   com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder();
 
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -111,8 +77,6 @@ public interface MaintenanceWindowOrBuilder
    */
   int getMaintenanceExclusionsCount();
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -120,13 +84,15 @@ public interface MaintenanceWindowOrBuilder
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
-  boolean containsMaintenanceExclusions(java.lang.String key);
-  /** Use {@link #getMaintenanceExclusionsMap()} instead. */
+  boolean containsMaintenanceExclusions(
+      java.lang.String key);
+  /**
+   * Use {@link #getMaintenanceExclusionsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMaintenanceExclusions();
+  java.util.Map
+  getMaintenanceExclusions();
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -134,10 +100,9 @@ public interface MaintenanceWindowOrBuilder
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
-  java.util.Map getMaintenanceExclusionsMap();
+  java.util.Map
+  getMaintenanceExclusionsMap();
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -147,13 +112,11 @@ public interface MaintenanceWindowOrBuilder
    */
 
   /* nullable */
-  com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
+com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.container.v1.TimeWindow defaultValue);
+com.google.container.v1.TimeWindow defaultValue);
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -161,7 +124,9 @@ com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
-  com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(java.lang.String key);
+
+  com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
+      java.lang.String key);
 
   public com.google.container.v1.MaintenanceWindow.PolicyCase getPolicyCase();
 }
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
similarity index 64%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
index b41aabd26bdb..7d6b9acafeda 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * ManagedPrometheusConfig defines the configuration for
  * Google Cloud Managed Service for Prometheus.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1.ManagedPrometheusConfig}
  */
-public final class ManagedPrometheusConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ManagedPrometheusConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ManagedPrometheusConfig)
     ManagedPrometheusConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ManagedPrometheusConfig.newBuilder() to construct.
   private ManagedPrometheusConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ManagedPrometheusConfig() {}
+  private ManagedPrometheusConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ManagedPrometheusConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ManagedPrometheusConfig.class,
-            com.google.container.v1.ManagedPrometheusConfig.Builder.class);
+            com.google.container.v1.ManagedPrometheusConfig.class, com.google.container.v1.ManagedPrometheusConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enable Managed Collection.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ManagedPrometheusConfig)) { return super.equals(obj); } - com.google.container.v1.ManagedPrometheusConfig other = - (com.google.container.v1.ManagedPrometheusConfig) obj; + com.google.container.v1.ManagedPrometheusConfig other = (com.google.container.v1.ManagedPrometheusConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ManagedPrometheusConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ManagedPrometheusConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ManagedPrometheusConfig defines the configuration for
    * Google Cloud Managed Service for Prometheus.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ManagedPrometheusConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ManagedPrometheusConfig)
       com.google.container.v1.ManagedPrometheusConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ManagedPrometheusConfig.class,
-              com.google.container.v1.ManagedPrometheusConfig.Builder.class);
+              com.google.container.v1.ManagedPrometheusConfig.class, com.google.container.v1.ManagedPrometheusConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.ManagedPrometheusConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1.ManagedPrometheusConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.ManagedPrometheusConfig buildPartial() {
-      com.google.container.v1.ManagedPrometheusConfig result =
-          new com.google.container.v1.ManagedPrometheusConfig(this);
+      com.google.container.v1.ManagedPrometheusConfig result = new com.google.container.v1.ManagedPrometheusConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1.ManagedPrometheusConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ManagedPrometheusConfig) {
-        return mergeFrom((com.google.container.v1.ManagedPrometheusConfig) other);
+        return mergeFrom((com.google.container.v1.ManagedPrometheusConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -360,8 +333,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.ManagedPrometheusConfig other) {
-      if (other == com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -391,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -414,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -431,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -477,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ManagedPrometheusConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ManagedPrometheusConfig) private static final com.google.container.v1.ManagedPrometheusConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ManagedPrometheusConfig(); } @@ -491,27 +452,27 @@ public static com.google.container.v1.ManagedPrometheusConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedPrometheusConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedPrometheusConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -526,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ManagedPrometheusConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java new file mode 100644 index 000000000000..a0fee708ab6e --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ManagedPrometheusConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ManagedPrometheusConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index b6c44b10b2cb..aeeb8faf3444 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * The authentication information for accessing the master endpoint.
  * Authentication can be done using HTTP basic auth or using client
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1.MasterAuth}
  */
-public final class MasterAuth extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MasterAuth extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.MasterAuth)
     MasterAuthOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MasterAuth.newBuilder() to construct.
   private MasterAuth(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MasterAuth() {
     username_ = "";
     password_ = "";
@@ -49,35 +31,32 @@ private MasterAuth() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MasterAuth();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_MasterAuth_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_MasterAuth_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.MasterAuth.class,
-            com.google.container.v1.MasterAuth.Builder.class);
+            com.google.container.v1.MasterAuth.class, com.google.container.v1.MasterAuth.Builder.class);
   }
 
   public static final int USERNAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object username_;
   /**
-   *
-   *
    * 
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -89,27 +68,24 @@ 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=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @return The username. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getUsername() { + @java.lang.Deprecated public java.lang.String getUsername() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -121,18 +97,18 @@ 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=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @return The bytes for username. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getUsernameBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -143,8 +119,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -157,27 +131,24 @@ 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=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @return The password. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getPassword() { + @java.lang.Deprecated public java.lang.String getPassword() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -190,18 +161,18 @@ 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=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @return The bytes for password. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getPasswordBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -212,8 +183,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int CLIENT_CERTIFICATE_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1.ClientCertificateConfig clientCertificateConfig_; /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -221,7 +190,6 @@ public com.google.protobuf.ByteString getPasswordBytes() {
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; - * * @return Whether the clientCertificateConfig field is set. */ @java.lang.Override @@ -229,8 +197,6 @@ public boolean hasClientCertificateConfig() { return clientCertificateConfig_ != null; } /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -238,18 +204,13 @@ public boolean hasClientCertificateConfig() {
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; - * * @return The clientCertificateConfig. */ @java.lang.Override public com.google.container.v1.ClientCertificateConfig getClientCertificateConfig() { - return clientCertificateConfig_ == null - ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() - : clientCertificateConfig_; + return clientCertificateConfig_ == null ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; } /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -259,23 +220,19 @@ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfi
    * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
    */
   @java.lang.Override
-  public com.google.container.v1.ClientCertificateConfigOrBuilder
-      getClientCertificateConfigOrBuilder() {
+  public com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
     return getClientCertificateConfig();
   }
 
   public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 100;
   private volatile java.lang.Object clusterCaCertificate_;
   /**
-   *
-   *
    * 
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; - * * @return The clusterCaCertificate. */ @java.lang.Override @@ -284,30 +241,30 @@ public java.lang.String getClusterCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; } } /** - * - * *
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; - * * @return The bytes for clusterCaCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString + getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -318,15 +275,12 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { public static final int CLIENT_CERTIFICATE_FIELD_NUMBER = 101; private volatile java.lang.Object clientCertificate_; /** - * - * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The clientCertificate. */ @java.lang.Override @@ -335,30 +289,30 @@ public java.lang.String getClientCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; } } /** - * - * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The bytes for clientCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -369,15 +323,12 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { public static final int CLIENT_KEY_FIELD_NUMBER = 102; private volatile java.lang.Object clientKey_; /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The clientKey. */ @java.lang.Override @@ -386,30 +337,30 @@ public java.lang.String getClientKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; } } /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The bytes for clientKey. */ @java.lang.Override - public com.google.protobuf.ByteString getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -418,7 +369,6 @@ public com.google.protobuf.ByteString getClientKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -430,7 +380,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -465,8 +416,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } if (clientCertificateConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getClientCertificateConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getClientCertificateConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, clusterCaCertificate_); @@ -485,22 +436,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MasterAuth)) { return super.equals(obj); } com.google.container.v1.MasterAuth other = (com.google.container.v1.MasterAuth) obj; - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (hasClientCertificateConfig() != other.hasClientCertificateConfig()) return false; if (hasClientCertificateConfig()) { - if (!getClientCertificateConfig().equals(other.getClientCertificateConfig())) return false; - } - if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; - if (!getClientCertificate().equals(other.getClientCertificate())) return false; - if (!getClientKey().equals(other.getClientKey())) return false; + if (!getClientCertificateConfig() + .equals(other.getClientCertificateConfig())) return false; + } + if (!getClusterCaCertificate() + .equals(other.getClusterCaCertificate())) return false; + if (!getClientCertificate() + .equals(other.getClientCertificate())) return false; + if (!getClientKey() + .equals(other.getClientKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -531,103 +488,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.MasterAuth parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.MasterAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuth parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuth parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.MasterAuth parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuth parseFrom( 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.MasterAuth parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuth parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MasterAuth parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuth parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.MasterAuth parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuth parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.MasterAuth parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.MasterAuth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The authentication information for accessing the master endpoint.
    * Authentication can be done using HTTP basic auth or using client
@@ -636,32 +587,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.MasterAuth}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.MasterAuth)
       com.google.container.v1.MasterAuthOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_MasterAuth_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_MasterAuth_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.MasterAuth.class,
-              com.google.container.v1.MasterAuth.Builder.class);
+              com.google.container.v1.MasterAuth.class, com.google.container.v1.MasterAuth.Builder.class);
     }
 
     // Construct using com.google.container.v1.MasterAuth.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -685,9 +637,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_MasterAuth_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
@@ -725,39 +677,38 @@ public com.google.container.v1.MasterAuth buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.MasterAuth) {
-        return mergeFrom((com.google.container.v1.MasterAuth) other);
+        return mergeFrom((com.google.container.v1.MasterAuth)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -815,50 +766,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                username_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                password_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getClientCertificateConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 802:
-              {
-                clusterCaCertificate_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 802
-            case 810:
-              {
-                clientCertificate_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 810
-            case 818:
-              {
-                clientKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 818
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              username_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              password_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getClientCertificateConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 802: {
+              clusterCaCertificate_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 802
+            case 810: {
+              clientCertificate_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 810
+            case 818: {
+              clientKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 818
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -871,8 +816,6 @@ public Builder mergeFrom(
 
     private java.lang.Object username_ = "";
     /**
-     *
-     *
      * 
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -884,16 +827,15 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @return The username. */ - @java.lang.Deprecated - public java.lang.String getUsername() { + @java.lang.Deprecated public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -902,8 +844,6 @@ public java.lang.String getUsername() { } } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -915,17 +855,17 @@ 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=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @return The bytes for username. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getUsernameBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -933,8 +873,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -946,25 +884,22 @@ 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=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @param value The username to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setUsername(java.lang.String value) { + @java.lang.Deprecated public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -976,21 +911,17 @@ 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=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearUsername() { - + @java.lang.Deprecated public Builder clearUsername() { + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -1002,19 +933,18 @@ public Builder clearUsername() {
      * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @param value The bytes for username to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -1022,8 +952,6 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1036,16 +964,15 @@ 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=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @return The password. */ - @java.lang.Deprecated - public java.lang.String getPassword() { + @java.lang.Deprecated public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -1054,8 +981,6 @@ public java.lang.String getPassword() { } } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1068,17 +993,17 @@ 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=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @return The bytes for password. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPasswordBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1086,8 +1011,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1100,25 +1023,22 @@ 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=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @param value The password to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPassword(java.lang.String value) { + @java.lang.Deprecated public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1131,21 +1051,17 @@ 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=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPassword() { - + @java.lang.Deprecated public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1158,19 +1074,18 @@ public Builder clearPassword() {
      * 
* * string password = 2 [deprecated = true]; - * - * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @param value The bytes for password to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1178,13 +1093,8 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.ClientCertificateConfig clientCertificateConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClientCertificateConfig, - com.google.container.v1.ClientCertificateConfig.Builder, - com.google.container.v1.ClientCertificateConfigOrBuilder> - clientCertificateConfigBuilder_; + com.google.container.v1.ClientCertificateConfig, com.google.container.v1.ClientCertificateConfig.Builder, com.google.container.v1.ClientCertificateConfigOrBuilder> clientCertificateConfigBuilder_; /** - * - * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1192,15 +1102,12 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; - * * @return Whether the clientCertificateConfig field is set. */ public boolean hasClientCertificateConfig() { return clientCertificateConfigBuilder_ != null || clientCertificateConfig_ != null; } /** - * - * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1208,21 +1115,16 @@ public boolean hasClientCertificateConfig() {
      * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; - * * @return The clientCertificateConfig. */ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfig() { if (clientCertificateConfigBuilder_ == null) { - return clientCertificateConfig_ == null - ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() - : clientCertificateConfig_; + return clientCertificateConfig_ == null ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; } else { return clientCertificateConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1231,8 +1133,7 @@ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfi
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder setClientCertificateConfig(
-        com.google.container.v1.ClientCertificateConfig value) {
+    public Builder setClientCertificateConfig(com.google.container.v1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1246,8 +1147,6 @@ public Builder setClientCertificateConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1268,8 +1167,6 @@ public Builder setClientCertificateConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1278,14 +1175,11 @@ public Builder setClientCertificateConfig(
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder mergeClientCertificateConfig(
-        com.google.container.v1.ClientCertificateConfig value) {
+    public Builder mergeClientCertificateConfig(com.google.container.v1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (clientCertificateConfig_ != null) {
           clientCertificateConfig_ =
-              com.google.container.v1.ClientCertificateConfig.newBuilder(clientCertificateConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ClientCertificateConfig.newBuilder(clientCertificateConfig_).mergeFrom(value).buildPartial();
         } else {
           clientCertificateConfig_ = value;
         }
@@ -1297,8 +1191,6 @@ public Builder mergeClientCertificateConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1319,8 +1211,6 @@ public Builder clearClientCertificateConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1329,15 +1219,12 @@ public Builder clearClientCertificateConfig() {
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1.ClientCertificateConfig.Builder
-        getClientCertificateConfigBuilder() {
-
+    public com.google.container.v1.ClientCertificateConfig.Builder getClientCertificateConfigBuilder() {
+      
       onChanged();
       return getClientCertificateConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1346,19 +1233,15 @@ public Builder clearClientCertificateConfig() {
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1.ClientCertificateConfigOrBuilder
-        getClientCertificateConfigOrBuilder() {
+    public com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
       if (clientCertificateConfigBuilder_ != null) {
         return clientCertificateConfigBuilder_.getMessageOrBuilder();
       } else {
-        return clientCertificateConfig_ == null
-            ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance()
-            : clientCertificateConfig_;
+        return clientCertificateConfig_ == null ?
+            com.google.container.v1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1368,17 +1251,14 @@ public Builder clearClientCertificateConfig() {
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ClientCertificateConfig,
-            com.google.container.v1.ClientCertificateConfig.Builder,
-            com.google.container.v1.ClientCertificateConfigOrBuilder>
+        com.google.container.v1.ClientCertificateConfig, com.google.container.v1.ClientCertificateConfig.Builder, com.google.container.v1.ClientCertificateConfigOrBuilder> 
         getClientCertificateConfigFieldBuilder() {
       if (clientCertificateConfigBuilder_ == null) {
-        clientCertificateConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ClientCertificateConfig,
-                com.google.container.v1.ClientCertificateConfig.Builder,
-                com.google.container.v1.ClientCertificateConfigOrBuilder>(
-                getClientCertificateConfig(), getParentForChildren(), isClean());
+        clientCertificateConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ClientCertificateConfig, com.google.container.v1.ClientCertificateConfig.Builder, com.google.container.v1.ClientCertificateConfigOrBuilder>(
+                getClientCertificateConfig(),
+                getParentForChildren(),
+                isClean());
         clientCertificateConfig_ = null;
       }
       return clientCertificateConfigBuilder_;
@@ -1386,21 +1266,19 @@ public Builder clearClientCertificateConfig() {
 
     private java.lang.Object clusterCaCertificate_ = "";
     /**
-     *
-     *
      * 
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; - * * @return The clusterCaCertificate. */ public java.lang.String getClusterCaCertificate() { java.lang.Object ref = clusterCaCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; @@ -1409,22 +1287,21 @@ public java.lang.String getClusterCaCertificate() { } } /** - * - * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; - * * @return The bytes for clusterCaCertificate. */ - public com.google.protobuf.ByteString getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString + getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -1432,64 +1309,57 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { } } /** - * - * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; - * * @param value The clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificate(java.lang.String value) { + public Builder setClusterCaCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterCaCertificate_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; - * * @return This builder for chaining. */ public Builder clearClusterCaCertificate() { - + clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; - * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setClusterCaCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterCaCertificate_ = value; onChanged(); return this; @@ -1497,21 +1367,19 @@ public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value private java.lang.Object clientCertificate_ = ""; /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; @@ -1520,22 +1388,21 @@ public java.lang.String getClientCertificate() { } } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @return The bytes for clientCertificate. */ - public com.google.protobuf.ByteString getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -1543,64 +1410,57 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { } } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @param value The clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificate(java.lang.String value) { + public Builder setClientCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientCertificate_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @return This builder for chaining. */ public Builder clearClientCertificate() { - + clientCertificate_ = getDefaultInstance().getClientCertificate(); onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @param value The bytes for clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setClientCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientCertificate_ = value; onChanged(); return this; @@ -1608,21 +1468,19 @@ public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { private java.lang.Object clientKey_ = ""; /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; @@ -1631,22 +1489,21 @@ public java.lang.String getClientKey() { } } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @return The bytes for clientKey. */ - public com.google.protobuf.ByteString getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -1654,71 +1511,64 @@ public com.google.protobuf.ByteString getClientKeyBytes() { } } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @param value The clientKey to set. * @return This builder for chaining. */ - public Builder setClientKey(java.lang.String value) { + public Builder setClientKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientKey_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @return This builder for chaining. */ public Builder clearClientKey() { - + clientKey_ = getDefaultInstance().getClientKey(); onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @param value The bytes for clientKey to set. * @return This builder for chaining. */ - public Builder setClientKeyBytes(com.google.protobuf.ByteString value) { + public Builder setClientKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientKey_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1578,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.MasterAuth) } // @@protoc_insertion_point(class_scope:google.container.v1.MasterAuth) private static final com.google.container.v1.MasterAuth DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.MasterAuth(); } @@ -1742,27 +1592,27 @@ public static com.google.container.v1.MasterAuth getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1777,4 +1627,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.MasterAuth getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java similarity index 79% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java index c766e6e79645..af4762cf7551 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface MasterAuthOrBuilder - extends +public interface MasterAuthOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.MasterAuth) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -37,16 +19,12 @@ public interface MasterAuthOrBuilder
    * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @return The username. */ - @java.lang.Deprecated - java.lang.String getUsername(); + @java.lang.Deprecated java.lang.String getUsername(); /** - * - * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -58,17 +36,14 @@ public interface MasterAuthOrBuilder
    * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1.MasterAuth.username is deprecated. See - * google/container/v1/cluster_service.proto;l=992 + * @deprecated google.container.v1.MasterAuth.username is deprecated. + * See google/container/v1/cluster_service.proto;l=992 * @return The bytes for username. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getUsernameBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -81,16 +56,12 @@ public interface MasterAuthOrBuilder
    * 
* * string password = 2 [deprecated = true]; - * - * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @return The password. */ - @java.lang.Deprecated - java.lang.String getPassword(); + @java.lang.Deprecated java.lang.String getPassword(); /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -103,17 +74,14 @@ public interface MasterAuthOrBuilder
    * 
* * string password = 2 [deprecated = true]; - * - * @deprecated google.container.v1.MasterAuth.password is deprecated. See - * google/container/v1/cluster_service.proto;l=1003 + * @deprecated google.container.v1.MasterAuth.password is deprecated. + * See google/container/v1/cluster_service.proto;l=1003 * @return The bytes for password. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getPasswordBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -121,13 +89,10 @@ public interface MasterAuthOrBuilder
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; - * * @return Whether the clientCertificateConfig field is set. */ boolean hasClientCertificateConfig(); /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -135,13 +100,10 @@ public interface MasterAuthOrBuilder
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; - * * @return The clientCertificateConfig. */ com.google.container.v1.ClientCertificateConfig getClientCertificateConfig(); /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -153,83 +115,68 @@ public interface MasterAuthOrBuilder
   com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; - * * @return The clusterCaCertificate. */ java.lang.String getClusterCaCertificate(); /** - * - * *
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; - * * @return The bytes for clusterCaCertificate. */ - com.google.protobuf.ByteString getClusterCaCertificateBytes(); + com.google.protobuf.ByteString + getClusterCaCertificateBytes(); /** - * - * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The clientCertificate. */ java.lang.String getClientCertificate(); /** - * - * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The bytes for clientCertificate. */ - com.google.protobuf.ByteString getClientCertificateBytes(); + com.google.protobuf.ByteString + getClientCertificateBytes(); /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The clientKey. */ java.lang.String getClientKey(); /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The bytes for clientKey. */ - com.google.protobuf.ByteString getClientKeyBytes(); + com.google.protobuf.ByteString + getClientKeyBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java index df913d7841f9..560d509c0384 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration options for the master authorized networks feature. Enabled
  * master authorized networks will disallow all external traffic to access
@@ -30,121 +13,104 @@
  *
  * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig}
  */
-public final class MasterAuthorizedNetworksConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MasterAuthorizedNetworksConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.MasterAuthorizedNetworksConfig)
     MasterAuthorizedNetworksConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MasterAuthorizedNetworksConfig.newBuilder() to construct.
-  private MasterAuthorizedNetworksConfig(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private MasterAuthorizedNetworksConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MasterAuthorizedNetworksConfig() {
     cidrBlocks_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MasterAuthorizedNetworksConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.MasterAuthorizedNetworksConfig.class,
-            com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
+            com.google.container.v1.MasterAuthorizedNetworksConfig.class, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
   }
 
-  public interface CidrBlockOrBuilder
-      extends
+  public interface CidrBlockOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The cidrBlock. */ java.lang.String getCidrBlock(); /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The bytes for cidrBlock. */ - com.google.protobuf.ByteString getCidrBlockBytes(); + com.google.protobuf.ByteString + getCidrBlockBytes(); } /** - * - * *
    * CidrBlock contains an optional name and one CIDR block.
    * 
* * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class CidrBlock extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CidrBlock extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) CidrBlockOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CidrBlock.newBuilder() to construct. private CidrBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CidrBlock() { displayName_ = ""; cidrBlock_ = ""; @@ -152,41 +118,37 @@ private CidrBlock() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CidrBlock(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** - * - * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -195,29 +157,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -228,14 +190,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object cidrBlock_; /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The cidrBlock. */ @java.lang.Override @@ -244,29 +203,29 @@ public java.lang.String getCidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; } } /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The bytes for cidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getCidrBlockBytes() { + public com.google.protobuf.ByteString + getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -275,7 +234,6 @@ public com.google.protobuf.ByteString getCidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -317,16 +276,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock)) { return super.equals(obj); } - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other = - (com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) obj; + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other = (com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getCidrBlock().equals(other.getCidrBlock())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getCidrBlock() + .equals(other.getCidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -348,95 +308,87 @@ public int hashCode() { } public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - 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.MasterAuthorizedNetworksConfig.CidrBlock 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { + public static Builder newBuilder(com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -446,42 +398,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * CidrBlock contains an optional name and one CIDR block.
      * 
* * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); } - // Construct using - // com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() - private Builder() {} + // Construct using com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -493,16 +442,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - getDefaultInstanceForType() { - return com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance(); + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { + return com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance(); } @java.lang.Override @@ -516,8 +463,7 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock build() @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock buildPartial() { - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock result = - new com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock(this); + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock result = new com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock(this); result.displayName_ = displayName_; result.cidrBlock_ = cidrBlock_; onBuilt(); @@ -528,53 +474,46 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.MasterAuthorizedNetworksConfig.CidrBlock) { - return mergeFrom( - (com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) other); + return mergeFrom((com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other) { - if (other - == com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other) { + if (other == com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -609,25 +548,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - cidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + cidrBlock_ = input.readStringRequireUtf8(); + + 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) { @@ -640,20 +576,18 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -662,21 +596,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -684,61 +617,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -746,20 +672,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object cidrBlock_ = ""; /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @return The cidrBlock. */ public java.lang.String getCidrBlock() { java.lang.Object ref = cidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; @@ -768,21 +692,20 @@ public java.lang.String getCidrBlock() { } } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @return The bytes for cidrBlock. */ - public com.google.protobuf.ByteString getCidrBlockBytes() { + public com.google.protobuf.ByteString + getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -790,66 +713,58 @@ public com.google.protobuf.ByteString getCidrBlockBytes() { } } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @param value The cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlock(java.lang.String value) { + public Builder setCidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cidrBlock_ = value; onChanged(); return this; } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @return This builder for chaining. */ public Builder clearCidrBlock() { - + cidrBlock_ = getDefaultInstance().getCidrBlock(); onChanged(); return this; } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @param value The bytes for cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setCidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cidrBlock_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -862,44 +777,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) } // @@protoc_insertion_point(class_scope:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) - private static final com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - DEFAULT_INSTANCE; - + private static final com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock(); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - getDefaultInstance() { + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CidrBlock parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CidrBlock parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,24 +823,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - getDefaultInstanceForType() { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -937,99 +846,78 @@ public boolean getEnabled() { } public static final int CIDR_BLOCKS_FIELD_NUMBER = 2; - private java.util.List - cidrBlocks_; + private java.util.List cidrBlocks_; /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override - public java.util.List - getCidrBlocksList() { + public java.util.List getCidrBlocksList() { return cidrBlocks_; } /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + public java.util.List getCidrBlocksOrBuilderList() { return cidrBlocks_; } /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override public int getCidrBlocksCount() { return cidrBlocks_.size(); } /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { return cidrBlocks_.get(index); } /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder - getCidrBlocksOrBuilder(int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( + int index) { return cidrBlocks_.get(index); } public static final int GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER = 3; private boolean gcpPublicCidrsAccessEnabled_; /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -1037,14 +925,11 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -1053,7 +938,6 @@ public boolean getGcpPublicCidrsAccessEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1065,7 +949,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -1085,14 +970,16 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } for (int i = 0; i < cidrBlocks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, cidrBlocks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, cidrBlocks_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(3, gcpPublicCidrsAccessEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, gcpPublicCidrsAccessEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1102,19 +989,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MasterAuthorizedNetworksConfig)) { return super.equals(obj); } - com.google.container.v1.MasterAuthorizedNetworksConfig other = - (com.google.container.v1.MasterAuthorizedNetworksConfig) obj; + com.google.container.v1.MasterAuthorizedNetworksConfig other = (com.google.container.v1.MasterAuthorizedNetworksConfig) obj; - if (getEnabled() != other.getEnabled()) return false; - if (!getCidrBlocksList().equals(other.getCidrBlocksList())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getCidrBlocksList() + .equals(other.getCidrBlocksList())) return false; if (hasGcpPublicCidrsAccessEnabled() != other.hasGcpPublicCidrsAccessEnabled()) return false; if (hasGcpPublicCidrsAccessEnabled()) { - if (getGcpPublicCidrsAccessEnabled() != other.getGcpPublicCidrsAccessEnabled()) return false; + if (getGcpPublicCidrsAccessEnabled() + != other.getGcpPublicCidrsAccessEnabled()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1128,15 +1017,16 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); if (getCidrBlocksCount() > 0) { hash = (37 * hash) + CIDR_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + getCidrBlocksList().hashCode(); } if (hasGcpPublicCidrsAccessEnabled()) { hash = (37 * hash) + GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getGcpPublicCidrsAccessEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getGcpPublicCidrsAccessEnabled()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1144,104 +1034,96 @@ public int hashCode() { } public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( 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.MasterAuthorizedNetworksConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.MasterAuthorizedNetworksConfig prototype) { + public static Builder newBuilder(com.google.container.v1.MasterAuthorizedNetworksConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the master authorized networks feature. Enabled
    * master authorized networks will disallow all external traffic to access
@@ -1251,32 +1133,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.MasterAuthorizedNetworksConfig)
       com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.MasterAuthorizedNetworksConfig.class,
-              com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
+              com.google.container.v1.MasterAuthorizedNetworksConfig.class, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1295,9 +1178,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1316,8 +1199,7 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.MasterAuthorizedNetworksConfig buildPartial() {
-      com.google.container.v1.MasterAuthorizedNetworksConfig result =
-          new com.google.container.v1.MasterAuthorizedNetworksConfig(this);
+      com.google.container.v1.MasterAuthorizedNetworksConfig result = new com.google.container.v1.MasterAuthorizedNetworksConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.enabled_ = enabled_;
@@ -1343,39 +1225,38 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.MasterAuthorizedNetworksConfig) {
-        return mergeFrom((com.google.container.v1.MasterAuthorizedNetworksConfig) other);
+        return mergeFrom((com.google.container.v1.MasterAuthorizedNetworksConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1383,8 +1264,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.MasterAuthorizedNetworksConfig other) {
-      if (other == com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -1406,10 +1286,9 @@ public Builder mergeFrom(com.google.container.v1.MasterAuthorizedNetworksConfig
             cidrBlocksBuilder_ = null;
             cidrBlocks_ = other.cidrBlocks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cidrBlocksBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCidrBlocksFieldBuilder()
-                    : null;
+            cidrBlocksBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCidrBlocksFieldBuilder() : null;
           } else {
             cidrBlocksBuilder_.addAllMessages(other.cidrBlocks_);
           }
@@ -1444,39 +1323,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
+            case 8: {
+              enabled_ = input.readBool();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock m =
-                    input.readMessage(
-                        com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.parser(),
-                        extensionRegistry);
-                if (cidrBlocksBuilder_ == null) {
-                  ensureCidrBlocksIsMutable();
-                  cidrBlocks_.add(m);
-                } else {
-                  cidrBlocksBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                gcpPublicCidrsAccessEnabled_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 8
+            case 18: {
+              com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock m =
+                  input.readMessage(
+                      com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.parser(),
+                      extensionRegistry);
+              if (cidrBlocksBuilder_ == null) {
+                ensureCidrBlocksIsMutable();
+                cidrBlocks_.add(m);
+              } else {
+                cidrBlocksBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              gcpPublicCidrsAccessEnabled_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1486,19 +1361,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -1506,72 +1377,56 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private java.util.List - cidrBlocks_ = java.util.Collections.emptyList(); - + private java.util.List cidrBlocks_ = + java.util.Collections.emptyList(); private void ensureCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - cidrBlocks_ = - new java.util.ArrayList< - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock>(cidrBlocks_); + cidrBlocks_ = new java.util.ArrayList(cidrBlocks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> - cidrBlocksBuilder_; + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> cidrBlocksBuilder_; /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public java.util.List - getCidrBlocksList() { + public java.util.List getCidrBlocksList() { if (cidrBlocksBuilder_ == null) { return java.util.Collections.unmodifiableList(cidrBlocks_); } else { @@ -1579,15 +1434,12 @@ private void ensureCidrBlocksIsMutable() { } } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public int getCidrBlocksCount() { if (cidrBlocksBuilder_ == null) { @@ -1597,18 +1449,14 @@ public int getCidrBlocksCount() { } } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks( - int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { if (cidrBlocksBuilder_ == null) { return cidrBlocks_.get(index); } else { @@ -1616,15 +1464,12 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrB } } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder setCidrBlocks( int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1641,19 +1486,15 @@ public Builder setCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder setCidrBlocks( - int index, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { + int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.set(index, builderForValue.build()); @@ -1664,18 +1505,14 @@ public Builder setCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public Builder addCidrBlocks( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { + public Builder addCidrBlocks(com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { if (cidrBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1689,15 +1526,12 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addCidrBlocks( int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1714,15 +1548,12 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addCidrBlocks( com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { @@ -1736,19 +1567,15 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addCidrBlocks( - int index, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { + int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.add(index, builderForValue.build()); @@ -1759,23 +1586,19 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addAllCidrBlocks( - java.lang.Iterable< - ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock> - values) { + java.lang.Iterable values) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cidrBlocks_); onChanged(); } else { cidrBlocksBuilder_.addAllMessages(values); @@ -1783,15 +1606,12 @@ public Builder addAllCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder clearCidrBlocks() { if (cidrBlocksBuilder_ == null) { @@ -1804,15 +1624,12 @@ public Builder clearCidrBlocks() { return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder removeCidrBlocks(int index) { if (cidrBlocksBuilder_ == null) { @@ -1825,53 +1642,42 @@ public Builder removeCidrBlocks(int index) { return this; } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - getCidrBlocksBuilder(int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder( + int index) { return getCidrBlocksFieldBuilder().getBuilder(index); } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder - getCidrBlocksOrBuilder(int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( + int index) { if (cidrBlocksBuilder_ == null) { - return cidrBlocks_.get(index); - } else { + return cidrBlocks_.get(index); } else { return cidrBlocksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public java.util.List< - ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> - getCidrBlocksOrBuilderList() { + public java.util.List + getCidrBlocksOrBuilderList() { if (cidrBlocksBuilder_ != null) { return cidrBlocksBuilder_.getMessageOrBuilderList(); } else { @@ -1879,85 +1685,64 @@ public Builder removeCidrBlocks(int index) { } } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - addCidrBlocksBuilder() { - return getCidrBlocksFieldBuilder() - .addBuilder( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance()); + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder() { + return getCidrBlocksFieldBuilder().addBuilder( + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - addCidrBlocksBuilder(int index) { - return getCidrBlocksFieldBuilder() - .addBuilder( - index, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance()); + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder( + int index) { + return getCidrBlocksFieldBuilder().addBuilder( + index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); } /** - * - * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public java.util.List - getCidrBlocksBuilderList() { + public java.util.List + getCidrBlocksBuilderList() { return getCidrBlocksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksFieldBuilder() { if (cidrBlocksBuilder_ == null) { - cidrBlocksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( - cidrBlocks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + cidrBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( + cidrBlocks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); cidrBlocks_ = null; } return cidrBlocksBuilder_; } - private boolean gcpPublicCidrsAccessEnabled_; + private boolean gcpPublicCidrsAccessEnabled_ ; /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -1965,14 +1750,11 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -1980,14 +1762,11 @@ public boolean getGcpPublicCidrsAccessEnabled() { return gcpPublicCidrsAccessEnabled_; } /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @param value The gcpPublicCidrsAccessEnabled to set. * @return This builder for chaining. */ @@ -1998,14 +1777,11 @@ public Builder setGcpPublicCidrsAccessEnabled(boolean value) { return this; } /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return This builder for chaining. */ public Builder clearGcpPublicCidrsAccessEnabled() { @@ -2014,9 +1790,9 @@ public Builder clearGcpPublicCidrsAccessEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2026,12 +1802,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.MasterAuthorizedNetworksConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.MasterAuthorizedNetworksConfig) private static final com.google.container.v1.MasterAuthorizedNetworksConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.MasterAuthorizedNetworksConfig(); } @@ -2040,27 +1816,27 @@ public static com.google.container.v1.MasterAuthorizedNetworksConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuthorizedNetworksConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuthorizedNetworksConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2075,4 +1851,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.MasterAuthorizedNetworksConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java index 3215b76ae0a9..aea4f7c7ba78 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java @@ -1,127 +1,86 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface MasterAuthorizedNetworksConfigOrBuilder - extends +public interface MasterAuthorizedNetworksConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.MasterAuthorizedNetworksConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - java.util.List + java.util.List getCidrBlocksList(); /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index); /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ int getCidrBlocksCount(); /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - java.util.List< - ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + java.util.List getCidrBlocksOrBuilderList(); /** - * - * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( int index); /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ boolean hasGcpPublicCidrsAccessEnabled(); /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return The gcpPublicCidrsAccessEnabled. */ boolean getGcpPublicCidrsAccessEnabled(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java index 9d6a25f82b1c..2dac334a980b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Constraints applied to pods.
  * 
* * Protobuf type {@code google.container.v1.MaxPodsConstraint} */ -public final class MaxPodsConstraint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaxPodsConstraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MaxPodsConstraint) MaxPodsConstraintOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaxPodsConstraint.newBuilder() to construct. private MaxPodsConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MaxPodsConstraint() {} + private MaxPodsConstraint() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaxPodsConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaxPodsConstraint.class, - com.google.container.v1.MaxPodsConstraint.Builder.class); + com.google.container.v1.MaxPodsConstraint.class, com.google.container.v1.MaxPodsConstraint.Builder.class); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 1; private long maxPodsPerNode_; /** - * - * *
    * Constraint enforced on the max num of pods per node.
    * 
* * int64 max_pods_per_node = 1; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -84,7 +63,6 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxPodsPerNode_ != 0L) { output.writeInt64(1, maxPodsPerNode_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (maxPodsPerNode_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, maxPodsPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MaxPodsConstraint)) { return super.equals(obj); } - com.google.container.v1.MaxPodsConstraint other = - (com.google.container.v1.MaxPodsConstraint) obj; + com.google.container.v1.MaxPodsConstraint other = (com.google.container.v1.MaxPodsConstraint) obj; - if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() + != other.getMaxPodsPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_PODS_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPodsPerNode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxPodsPerNode()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.MaxPodsConstraint parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.MaxPodsConstraint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MaxPodsConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MaxPodsConstraint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MaxPodsConstraint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MaxPodsConstraint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.MaxPodsConstraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.MaxPodsConstraint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MaxPodsConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.MaxPodsConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Constraints applied to pods.
    * 
* * Protobuf type {@code google.container.v1.MaxPodsConstraint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaxPodsConstraint) com.google.container.v1.MaxPodsConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaxPodsConstraint.class, - com.google.container.v1.MaxPodsConstraint.Builder.class); + com.google.container.v1.MaxPodsConstraint.class, com.google.container.v1.MaxPodsConstraint.Builder.class); } // Construct using com.google.container.v1.MaxPodsConstraint.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MaxPodsConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.MaxPodsConstraint build() { @java.lang.Override public com.google.container.v1.MaxPodsConstraint buildPartial() { - com.google.container.v1.MaxPodsConstraint result = - new com.google.container.v1.MaxPodsConstraint(this); + com.google.container.v1.MaxPodsConstraint result = new com.google.container.v1.MaxPodsConstraint(this); result.maxPodsPerNode_ = maxPodsPerNode_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.MaxPodsConstraint buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaxPodsConstraint) { - return mergeFrom((com.google.container.v1.MaxPodsConstraint) other); + return mergeFrom((com.google.container.v1.MaxPodsConstraint)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - maxPodsPerNode_ = input.readInt64(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + maxPodsPerNode_ = input.readInt64(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private long maxPodsPerNode_; + private long maxPodsPerNode_ ; /** - * - * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -428,43 +396,37 @@ public long getMaxPodsPerNode() { return maxPodsPerNode_; } /** - * - * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; - * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ public Builder setMaxPodsPerNode(long value) { - + maxPodsPerNode_ = value; onChanged(); return this; } /** - * - * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; - * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { - + maxPodsPerNode_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.MaxPodsConstraint) } // @@protoc_insertion_point(class_scope:google.container.v1.MaxPodsConstraint) private static final com.google.container.v1.MaxPodsConstraint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.MaxPodsConstraint(); } @@ -488,27 +450,27 @@ public static com.google.container.v1.MaxPodsConstraint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaxPodsConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaxPodsConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 000000000000..e464d2c19d29 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface MaxPodsConstraintOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.MaxPodsConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Constraint enforced on the max num of pods per node.
+   * 
+ * + * int64 max_pods_per_node = 1; + * @return The maxPodsPerNode. + */ + long getMaxPodsPerNode(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java index bd4bd5dacedd..25212914b057 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
  * 
* * Protobuf type {@code google.container.v1.MeshCertificates} */ -public final class MeshCertificates extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MeshCertificates extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MeshCertificates) MeshCertificatesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MeshCertificates.newBuilder() to construct. private MeshCertificates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MeshCertificates() {} + private MeshCertificates() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MeshCertificates(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MeshCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MeshCertificates_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MeshCertificates.class, - com.google.container.v1.MeshCertificates.Builder.class); + com.google.container.v1.MeshCertificates.class, com.google.container.v1.MeshCertificates.Builder.class); } public static final int ENABLE_CERTIFICATES_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableCertificates_; /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -81,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean hasEnableCertificates() { return enableCertificates_ != null; } /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -102,18 +79,13 @@ public boolean hasEnableCertificates() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ @java.lang.Override public com.google.protobuf.BoolValue getEnableCertificates() { - return enableCertificates_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : enableCertificates_; + return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; } /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -132,7 +104,6 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -144,7 +115,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (enableCertificates_ != null) {
       output.writeMessage(1, getEnableCertificates());
     }
@@ -158,7 +130,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableCertificates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEnableCertificates());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -168,7 +141,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.MeshCertificates)) {
       return super.equals(obj);
@@ -177,7 +150,8 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasEnableCertificates() != other.hasEnableCertificates()) return false;
     if (hasEnableCertificates()) {
-      if (!getEnableCertificates().equals(other.getEnableCertificates())) return false;
+      if (!getEnableCertificates()
+          .equals(other.getEnableCertificates())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -199,136 +173,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.MeshCertificates parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.MeshCertificates parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MeshCertificates parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.MeshCertificates parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MeshCertificates parseFrom(
       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.MeshCertificates parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MeshCertificates parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.MeshCertificates parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MeshCertificates parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1.MeshCertificates parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1.MeshCertificates parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MeshCertificates parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.MeshCertificates parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MeshCertificates parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.MeshCertificates prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
    * 
* * Protobuf type {@code google.container.v1.MeshCertificates} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MeshCertificates) com.google.container.v1.MeshCertificatesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MeshCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MeshCertificates_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MeshCertificates.class, - com.google.container.v1.MeshCertificates.Builder.class); + com.google.container.v1.MeshCertificates.class, com.google.container.v1.MeshCertificates.Builder.class); } // Construct using com.google.container.v1.MeshCertificates.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -342,9 +310,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MeshCertificates_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_descriptor; } @java.lang.Override @@ -363,8 +331,7 @@ public com.google.container.v1.MeshCertificates build() { @java.lang.Override public com.google.container.v1.MeshCertificates buildPartial() { - com.google.container.v1.MeshCertificates result = - new com.google.container.v1.MeshCertificates(this); + com.google.container.v1.MeshCertificates result = new com.google.container.v1.MeshCertificates(this); if (enableCertificatesBuilder_ == null) { result.enableCertificates_ = enableCertificates_; } else { @@ -378,39 +345,38 @@ public com.google.container.v1.MeshCertificates buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MeshCertificates) { - return mergeFrom((com.google.container.v1.MeshCertificates) other); + return mergeFrom((com.google.container.v1.MeshCertificates)other); } else { super.mergeFrom(other); return this; @@ -448,20 +414,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getEnableCertificatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getEnableCertificatesFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -474,13 +439,8 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - enableCertificatesBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableCertificatesBuilder_; /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -492,15 +452,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ public boolean hasEnableCertificates() { return enableCertificatesBuilder_ != null || enableCertificates_ != null; } /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -512,21 +469,16 @@ public boolean hasEnableCertificates() {
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ public com.google.protobuf.BoolValue getEnableCertificates() { if (enableCertificatesBuilder_ == null) { - return enableCertificates_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : enableCertificates_; + return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; } else { return enableCertificatesBuilder_.getMessage(); } } /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -553,8 +505,6 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -567,7 +517,8 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
-    public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableCertificates(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableCertificatesBuilder_ == null) {
         enableCertificates_ = builderForValue.build();
         onChanged();
@@ -578,8 +529,6 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -596,9 +545,7 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       if (enableCertificatesBuilder_ == null) {
         if (enableCertificates_ != null) {
           enableCertificates_ =
-              com.google.protobuf.BoolValue.newBuilder(enableCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(enableCertificates_).mergeFrom(value).buildPartial();
         } else {
           enableCertificates_ = value;
         }
@@ -610,8 +557,6 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -636,8 +581,6 @@ public Builder clearEnableCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -651,13 +594,11 @@ public Builder clearEnableCertificates() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableCertificatesBuilder() {
-
+      
       onChanged();
       return getEnableCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -674,14 +615,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
       if (enableCertificatesBuilder_ != null) {
         return enableCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return enableCertificates_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : enableCertificates_;
+        return enableCertificates_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -695,24 +633,21 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getEnableCertificatesFieldBuilder() {
       if (enableCertificatesBuilder_ == null) {
-        enableCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getEnableCertificates(), getParentForChildren(), isClean());
+        enableCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getEnableCertificates(),
+                getParentForChildren(),
+                isClean());
         enableCertificates_ = null;
       }
       return enableCertificatesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -722,12 +657,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.MeshCertificates)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.MeshCertificates)
   private static final com.google.container.v1.MeshCertificates DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.MeshCertificates();
   }
@@ -736,27 +671,27 @@ public static com.google.container.v1.MeshCertificates getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MeshCertificates parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MeshCertificates parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -771,4 +706,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.MeshCertificates getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
similarity index 75%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
index e89502bb35db..68e3a75867da 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface MeshCertificatesOrBuilder
-    extends
+public interface MeshCertificatesOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.MeshCertificates)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -37,13 +19,10 @@ public interface MeshCertificatesOrBuilder
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ boolean hasEnableCertificates(); /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -55,13 +34,10 @@ public interface MeshCertificatesOrBuilder
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ com.google.protobuf.BoolValue getEnableCertificates(); /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
similarity index 66%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
index 2222b5da005c..4546e3888efa 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
@@ -1,85 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * MonitoringComponentConfig is cluster monitoring component configuration.
  * 
* * Protobuf type {@code google.container.v1.MonitoringComponentConfig} */ -public final class MonitoringComponentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MonitoringComponentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MonitoringComponentConfig) MonitoringComponentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MonitoringComponentConfig.newBuilder() to construct. private MonitoringComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MonitoringComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MonitoringComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringComponentConfig.class, - com.google.container.v1.MonitoringComponentConfig.Builder.class); + com.google.container.v1.MonitoringComponentConfig.class, com.google.container.v1.MonitoringComponentConfig.Builder.class); } /** - * - * *
    * GKE components exposing metrics
    * 
* * Protobuf enum {@code google.container.v1.MonitoringComponentConfig.Component} */ - public enum Component implements com.google.protobuf.ProtocolMessageEnum { + public enum Component + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -88,8 +66,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ COMPONENT_UNSPECIFIED(0), /** - * - * *
      * system components
      * 
@@ -98,8 +74,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM_COMPONENTS(1), /** - * - * *
      * kube-apiserver
      * 
@@ -108,8 +82,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ APISERVER(3), /** - * - * *
      * kube-scheduler
      * 
@@ -118,8 +90,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SCHEDULER(4), /** - * - * *
      * kube-controller-manager
      * 
@@ -131,8 +101,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -141,8 +109,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * system components
      * 
@@ -151,8 +117,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** - * - * *
      * kube-apiserver
      * 
@@ -161,8 +125,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APISERVER_VALUE = 3; /** - * - * *
      * kube-scheduler
      * 
@@ -171,8 +133,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEDULER_VALUE = 4; /** - * - * *
      * kube-controller-manager
      * 
@@ -181,6 +141,7 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTROLLER_MANAGER_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -205,55 +166,51 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: - return COMPONENT_UNSPECIFIED; - case 1: - return SYSTEM_COMPONENTS; - case 3: - return APISERVER; - case 4: - return SCHEDULER; - case 5: - return CONTROLLER_MANAGER; - default: - return null; + case 0: return COMPONENT_UNSPECIFIED; + case 1: return SYSTEM_COMPONENTS; + case 3: return APISERVER; + case 4: return SCHEDULER; + case 5: return CONTROLLER_MANAGER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Component> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1.MonitoringComponentConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1.MonitoringComponentConfig.getDescriptor().getEnumTypes().get(0); } private static final Component[] VALUES = values(); - public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -273,51 +230,36 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component> - enableComponents_converter_ = + java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component> enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>() { - public com.google.container.v1.MonitoringComponentConfig.Component convert( - java.lang.Integer from) { + public com.google.container.v1.MonitoringComponentConfig.Component convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1.MonitoringComponentConfig.Component result = - com.google.container.v1.MonitoringComponentConfig.Component.valueOf(from); - return result == null - ? com.google.container.v1.MonitoringComponentConfig.Component.UNRECOGNIZED - : result; + com.google.container.v1.MonitoringComponentConfig.Component result = com.google.container.v1.MonitoringComponentConfig.Component.valueOf(from); + return result == null ? com.google.container.v1.MonitoringComponentConfig.Component.UNRECOGNIZED : result; } }; /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ @java.lang.Override @@ -325,52 +267,40 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents( - int index) { + public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return enableComponents_; } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -378,11 +308,9 @@ public java.util.List getEnableComponentsValueList() { public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } - private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,7 +322,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -415,15 +344,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -433,13 +361,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MonitoringComponentConfig)) { return super.equals(obj); } - com.google.container.v1.MonitoringComponentConfig other = - (com.google.container.v1.MonitoringComponentConfig) obj; + com.google.container.v1.MonitoringComponentConfig other = (com.google.container.v1.MonitoringComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -463,135 +390,129 @@ public int hashCode() { } public static com.google.container.v1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MonitoringComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MonitoringComponentConfig parseFrom( 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.MonitoringComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.MonitoringComponentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.MonitoringComponentConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.MonitoringComponentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MonitoringComponentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.MonitoringComponentConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.MonitoringComponentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.MonitoringComponentConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.MonitoringComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.MonitoringComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.MonitoringComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MonitoringComponentConfig is cluster monitoring component configuration.
    * 
* * Protobuf type {@code google.container.v1.MonitoringComponentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MonitoringComponentConfig) com.google.container.v1.MonitoringComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringComponentConfig.class, - com.google.container.v1.MonitoringComponentConfig.Builder.class); + com.google.container.v1.MonitoringComponentConfig.class, com.google.container.v1.MonitoringComponentConfig.Builder.class); } // Construct using com.google.container.v1.MonitoringComponentConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -601,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_descriptor; } @java.lang.Override @@ -622,8 +543,7 @@ public com.google.container.v1.MonitoringComponentConfig build() { @java.lang.Override public com.google.container.v1.MonitoringComponentConfig buildPartial() { - com.google.container.v1.MonitoringComponentConfig result = - new com.google.container.v1.MonitoringComponentConfig(this); + com.google.container.v1.MonitoringComponentConfig result = new com.google.container.v1.MonitoringComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -638,39 +558,38 @@ public com.google.container.v1.MonitoringComponentConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MonitoringComponentConfig) { - return mergeFrom((com.google.container.v1.MonitoringComponentConfig) other); + return mergeFrom((com.google.container.v1.MonitoringComponentConfig)other); } else { super.mergeFrom(other); return this; @@ -678,8 +597,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.MonitoringComponentConfig other) { - if (other == com.google.container.v1.MonitoringComponentConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.MonitoringComponentConfig.getDefaultInstance()) return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -716,32 +634,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { + case 8: { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + break; + } // case 8 + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -751,11 +666,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List enableComponents_ = java.util.Collections.emptyList(); - + private java.util.List enableComponents_ = + java.util.Collections.emptyList(); private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -763,73 +677,50 @@ private void ensureEnableComponentsIsMutable() { } } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents( - int index) { + public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -845,22 +736,16 @@ public Builder setEnableComponents( return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents( - com.google.container.v1.MonitoringComponentConfig.Component value) { + public Builder addEnableComponents(com.google.container.v1.MonitoringComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -870,23 +755,17 @@ public Builder addEnableComponents( return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1.MonitoringComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -895,17 +774,12 @@ public Builder addAllEnableComponents( return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -915,34 +789,25 @@ public Builder clearEnableComponents() { return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -950,39 +815,30 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue(int index, int value) { + public Builder setEnableComponentsValue( + int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -993,21 +849,17 @@ public Builder addEnableComponentsValue(int value) { return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue(java.lang.Iterable values) { + public Builder addAllEnableComponentsValue( + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -1015,9 +867,9 @@ public Builder addAllEnableComponentsValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.MonitoringComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.MonitoringComponentConfig) private static final com.google.container.v1.MonitoringComponentConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.MonitoringComponentConfig(); } @@ -1041,27 +893,27 @@ public static com.google.container.v1.MonitoringComponentConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoringComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1076,4 +928,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.MonitoringComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java index b2cd819bca9b..0237d74edd21 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java @@ -1,97 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface MonitoringComponentConfigOrBuilder - extends +public interface MonitoringComponentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.MonitoringComponentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - java.util.List - getEnableComponentsList(); + java.util.List getEnableComponentsList(); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ int getEnableComponentsCount(); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents(int index); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List getEnableComponentsValueList(); + java.util.List + getEnableComponentsValueList(); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java index 87689d2ef324..00be870ea12b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * MonitoringConfig is cluster monitoring configuration.
  * 
* * Protobuf type {@code google.container.v1.MonitoringConfig} */ -public final class MonitoringConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MonitoringConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.MonitoringConfig) MonitoringConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MonitoringConfig.newBuilder() to construct. private MonitoringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MonitoringConfig() {} + private MonitoringConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MonitoringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringConfig.class, - com.google.container.v1.MonitoringConfig.Builder.class); + com.google.container.v1.MonitoringConfig.class, com.google.container.v1.MonitoringConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.MonitoringComponentConfig componentConfig_; /** - * - * *
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** - * - * *
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; - * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1.MonitoringComponentConfig getComponentConfig() { - return componentConfig_ == null - ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; } /** - * - * *
    * Monitoring components configuration
    * 
@@ -116,15 +88,12 @@ public com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentCo public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER = 2; private com.google.container.v1.ManagedPrometheusConfig managedPrometheusConfig_; /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return Whether the managedPrometheusConfig field is set. */ @java.lang.Override @@ -132,26 +101,19 @@ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfig_ != null; } /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return The managedPrometheusConfig. */ @java.lang.Override public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { - return managedPrometheusConfig_ == null - ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + return managedPrometheusConfig_ == null ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
@@ -160,13 +122,11 @@ public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfi
    * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
    */
   @java.lang.Override
-  public com.google.container.v1.ManagedPrometheusConfigOrBuilder
-      getManagedPrometheusConfigOrBuilder() {
+  public com.google.container.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
     return getManagedPrometheusConfig();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -178,7 +138,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (componentConfig_ != null) {
       output.writeMessage(1, getComponentConfig());
     }
@@ -195,11 +156,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (componentConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getComponentConfig());
     }
     if (managedPrometheusConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagedPrometheusConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getManagedPrometheusConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -209,7 +171,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.MonitoringConfig)) {
       return super.equals(obj);
@@ -218,11 +180,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasComponentConfig() != other.hasComponentConfig()) return false;
     if (hasComponentConfig()) {
-      if (!getComponentConfig().equals(other.getComponentConfig())) return false;
+      if (!getComponentConfig()
+          .equals(other.getComponentConfig())) return false;
     }
     if (hasManagedPrometheusConfig() != other.hasManagedPrometheusConfig()) return false;
     if (hasManagedPrometheusConfig()) {
-      if (!getManagedPrometheusConfig().equals(other.getManagedPrometheusConfig())) return false;
+      if (!getManagedPrometheusConfig()
+          .equals(other.getManagedPrometheusConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -248,136 +212,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.MonitoringConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.MonitoringConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1.MonitoringConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1.MonitoringConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MonitoringConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.MonitoringConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.MonitoringConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * MonitoringConfig is cluster monitoring configuration.
    * 
* * Protobuf type {@code google.container.v1.MonitoringConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.MonitoringConfig) com.google.container.v1.MonitoringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringConfig.class, - com.google.container.v1.MonitoringConfig.Builder.class); + com.google.container.v1.MonitoringConfig.class, com.google.container.v1.MonitoringConfig.Builder.class); } // Construct using com.google.container.v1.MonitoringConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -397,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_MonitoringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_descriptor; } @java.lang.Override @@ -418,8 +376,7 @@ public com.google.container.v1.MonitoringConfig build() { @java.lang.Override public com.google.container.v1.MonitoringConfig buildPartial() { - com.google.container.v1.MonitoringConfig result = - new com.google.container.v1.MonitoringConfig(this); + com.google.container.v1.MonitoringConfig result = new com.google.container.v1.MonitoringConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -438,39 +395,38 @@ public com.google.container.v1.MonitoringConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MonitoringConfig) { - return mergeFrom((com.google.container.v1.MonitoringConfig) other); + return mergeFrom((com.google.container.v1.MonitoringConfig)other); } else { super.mergeFrom(other); return this; @@ -511,26 +467,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getManagedPrometheusConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getComponentConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getManagedPrometheusConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -543,47 +499,34 @@ public Builder mergeFrom( private com.google.container.v1.MonitoringComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringComponentConfig, - com.google.container.v1.MonitoringComponentConfig.Builder, - com.google.container.v1.MonitoringComponentConfigOrBuilder> - componentConfigBuilder_; + com.google.container.v1.MonitoringComponentConfig, com.google.container.v1.MonitoringComponentConfig.Builder, com.google.container.v1.MonitoringComponentConfigOrBuilder> componentConfigBuilder_; /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; - * * @return The componentConfig. */ public com.google.container.v1.MonitoringComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null - ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** - * - * *
      * Monitoring components configuration
      * 
@@ -604,8 +547,6 @@ public Builder setComponentConfig(com.google.container.v1.MonitoringComponentCon return this; } /** - * - * *
      * Monitoring components configuration
      * 
@@ -624,8 +565,6 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * Monitoring components configuration
      * 
@@ -636,9 +575,7 @@ public Builder mergeComponentConfig(com.google.container.v1.MonitoringComponentC if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1.MonitoringComponentConfig.newBuilder(componentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MonitoringComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); } else { componentConfig_ = value; } @@ -650,8 +587,6 @@ public Builder mergeComponentConfig(com.google.container.v1.MonitoringComponentC return this; } /** - * - * *
      * Monitoring components configuration
      * 
@@ -670,8 +605,6 @@ public Builder clearComponentConfig() { return this; } /** - * - * *
      * Monitoring components configuration
      * 
@@ -679,32 +612,26 @@ public Builder clearComponentConfig() { * .google.container.v1.MonitoringComponentConfig component_config = 1; */ public com.google.container.v1.MonitoringComponentConfig.Builder getComponentConfigBuilder() { - + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; */ - public com.google.container.v1.MonitoringComponentConfigOrBuilder - getComponentConfigOrBuilder() { + public com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null - ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? + com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; } } /** - * - * *
      * Monitoring components configuration
      * 
@@ -712,17 +639,14 @@ public com.google.container.v1.MonitoringComponentConfig.Builder getComponentCon * .google.container.v1.MonitoringComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringComponentConfig, - com.google.container.v1.MonitoringComponentConfig.Builder, - com.google.container.v1.MonitoringComponentConfigOrBuilder> + com.google.container.v1.MonitoringComponentConfig, com.google.container.v1.MonitoringComponentConfig.Builder, com.google.container.v1.MonitoringComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringComponentConfig, - com.google.container.v1.MonitoringComponentConfig.Builder, - com.google.container.v1.MonitoringComponentConfigOrBuilder>( - getComponentConfig(), getParentForChildren(), isClean()); + componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MonitoringComponentConfig, com.google.container.v1.MonitoringComponentConfig.Builder, com.google.container.v1.MonitoringComponentConfigOrBuilder>( + getComponentConfig(), + getParentForChildren(), + isClean()); componentConfig_ = null; } return componentConfigBuilder_; @@ -730,49 +654,36 @@ public com.google.container.v1.MonitoringComponentConfig.Builder getComponentCon private com.google.container.v1.ManagedPrometheusConfig managedPrometheusConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ManagedPrometheusConfig, - com.google.container.v1.ManagedPrometheusConfig.Builder, - com.google.container.v1.ManagedPrometheusConfigOrBuilder> - managedPrometheusConfigBuilder_; + com.google.container.v1.ManagedPrometheusConfig, com.google.container.v1.ManagedPrometheusConfig.Builder, com.google.container.v1.ManagedPrometheusConfigOrBuilder> managedPrometheusConfigBuilder_; /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return Whether the managedPrometheusConfig field is set. */ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfigBuilder_ != null || managedPrometheusConfig_ != null; } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return The managedPrometheusConfig. */ public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { if (managedPrometheusConfigBuilder_ == null) { - return managedPrometheusConfig_ == null - ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + return managedPrometheusConfig_ == null ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } else { return managedPrometheusConfigBuilder_.getMessage(); } } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -780,8 +691,7 @@ public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfi
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder setManagedPrometheusConfig(
-        com.google.container.v1.ManagedPrometheusConfig value) {
+    public Builder setManagedPrometheusConfig(com.google.container.v1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -795,8 +705,6 @@ public Builder setManagedPrometheusConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -816,8 +724,6 @@ public Builder setManagedPrometheusConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -825,14 +731,11 @@ public Builder setManagedPrometheusConfig(
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder mergeManagedPrometheusConfig(
-        com.google.container.v1.ManagedPrometheusConfig value) {
+    public Builder mergeManagedPrometheusConfig(com.google.container.v1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (managedPrometheusConfig_ != null) {
           managedPrometheusConfig_ =
-              com.google.container.v1.ManagedPrometheusConfig.newBuilder(managedPrometheusConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ManagedPrometheusConfig.newBuilder(managedPrometheusConfig_).mergeFrom(value).buildPartial();
         } else {
           managedPrometheusConfig_ = value;
         }
@@ -844,8 +747,6 @@ public Builder mergeManagedPrometheusConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -865,8 +766,6 @@ public Builder clearManagedPrometheusConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -874,15 +773,12 @@ public Builder clearManagedPrometheusConfig() {
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1.ManagedPrometheusConfig.Builder
-        getManagedPrometheusConfigBuilder() {
-
+    public com.google.container.v1.ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder() {
+      
       onChanged();
       return getManagedPrometheusConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -890,19 +786,15 @@ public Builder clearManagedPrometheusConfig() {
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1.ManagedPrometheusConfigOrBuilder
-        getManagedPrometheusConfigOrBuilder() {
+    public com.google.container.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
       if (managedPrometheusConfigBuilder_ != null) {
         return managedPrometheusConfigBuilder_.getMessageOrBuilder();
       } else {
-        return managedPrometheusConfig_ == null
-            ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance()
-            : managedPrometheusConfig_;
+        return managedPrometheusConfig_ == null ?
+            com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -911,24 +803,21 @@ public Builder clearManagedPrometheusConfig() {
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ManagedPrometheusConfig,
-            com.google.container.v1.ManagedPrometheusConfig.Builder,
-            com.google.container.v1.ManagedPrometheusConfigOrBuilder>
+        com.google.container.v1.ManagedPrometheusConfig, com.google.container.v1.ManagedPrometheusConfig.Builder, com.google.container.v1.ManagedPrometheusConfigOrBuilder> 
         getManagedPrometheusConfigFieldBuilder() {
       if (managedPrometheusConfigBuilder_ == null) {
-        managedPrometheusConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ManagedPrometheusConfig,
-                com.google.container.v1.ManagedPrometheusConfig.Builder,
-                com.google.container.v1.ManagedPrometheusConfigOrBuilder>(
-                getManagedPrometheusConfig(), getParentForChildren(), isClean());
+        managedPrometheusConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ManagedPrometheusConfig, com.google.container.v1.ManagedPrometheusConfig.Builder, com.google.container.v1.ManagedPrometheusConfigOrBuilder>(
+                getManagedPrometheusConfig(),
+                getParentForChildren(),
+                isClean());
         managedPrometheusConfig_ = null;
       }
       return managedPrometheusConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -938,12 +827,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.MonitoringConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.MonitoringConfig)
   private static final com.google.container.v1.MonitoringConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.MonitoringConfig();
   }
@@ -952,27 +841,27 @@ public static com.google.container.v1.MonitoringConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MonitoringConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MonitoringConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -987,4 +876,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.MonitoringConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
similarity index 73%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
index a7987b4fac57..75ec3888f408 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface MonitoringConfigOrBuilder
-    extends
+public interface MonitoringConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.MonitoringConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** - * - * *
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; - * * @return The componentConfig. */ com.google.container.v1.MonitoringComponentConfig getComponentConfig(); /** - * - * *
    * Monitoring components configuration
    * 
@@ -59,34 +35,26 @@ public interface MonitoringConfigOrBuilder com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return Whether the managedPrometheusConfig field is set. */ boolean hasManagedPrometheusConfig(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return The managedPrometheusConfig. */ com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
similarity index 75%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
index e4d3b2a5647d..b790ba55013c 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * NetworkConfig reports the relative names of network & subnetwork.
  * 
* * Protobuf type {@code google.container.v1.NetworkConfig} */ -public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NetworkConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkConfig() { network_ = ""; subnetwork_ = ""; @@ -46,35 +28,32 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NetworkConfig.class, - com.google.container.v1.NetworkConfig.Builder.class); + com.google.container.v1.NetworkConfig.class, com.google.container.v1.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; private volatile java.lang.Object network_; /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string network = 1; - * * @return The network. */ @java.lang.Override @@ -92,15 +70,14 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -109,15 +86,16 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -128,8 +106,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int SUBNETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object subnetwork_; /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -138,7 +114,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string subnetwork = 2; - * * @return The subnetwork. */ @java.lang.Override @@ -147,15 +122,14 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -164,15 +138,16 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -183,15 +158,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER = 5; private boolean enableIntraNodeVisibility_; /** - * - * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; - * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -202,8 +174,6 @@ public boolean getEnableIntraNodeVisibility() { public static final int DEFAULT_SNAT_STATUS_FIELD_NUMBER = 7; private com.google.container.v1.DefaultSnatStatus defaultSnatStatus_; /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -212,7 +182,6 @@ public boolean getEnableIntraNodeVisibility() {
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; - * * @return Whether the defaultSnatStatus field is set. */ @java.lang.Override @@ -220,8 +189,6 @@ public boolean hasDefaultSnatStatus() { return defaultSnatStatus_ != null; } /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -230,18 +197,13 @@ public boolean hasDefaultSnatStatus() {
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; - * * @return The defaultSnatStatus. */ @java.lang.Override public com.google.container.v1.DefaultSnatStatus getDefaultSnatStatus() { - return defaultSnatStatus_ == null - ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() - : defaultSnatStatus_; + return defaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; } /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -259,14 +221,11 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOr
   public static final int ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER = 10;
   private boolean enableL4IlbSubsetting_;
   /**
-   *
-   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; - * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -277,46 +236,35 @@ public boolean getEnableL4IlbSubsetting() { public static final int DATAPATH_PROVIDER_FIELD_NUMBER = 11; private int datapathProvider_; /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override - public int getDatapathProviderValue() { + @java.lang.Override public int getDatapathProviderValue() { return datapathProvider_; } /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @return The datapathProvider. */ - @java.lang.Override - public com.google.container.v1.DatapathProvider getDatapathProvider() { + @java.lang.Override public com.google.container.v1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = - com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 12; private int privateIpv6GoogleAccess_; /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -324,16 +272,12 @@ public com.google.container.v1.DatapathProvider getDatapathProvider() {
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override - public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -341,28 +285,22 @@ public int getPrivateIpv6GoogleAccessValue() {
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The privateIpv6GoogleAccess. */ - @java.lang.Override - public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { + @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = - com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } public static final int DNS_CONFIG_FIELD_NUMBER = 13; private com.google.container.v1.DNSConfig dnsConfig_; /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; - * * @return Whether the dnsConfig field is set. */ @java.lang.Override @@ -370,14 +308,11 @@ public boolean hasDnsConfig() { return dnsConfig_ != null; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; - * * @return The dnsConfig. */ @java.lang.Override @@ -385,8 +320,6 @@ public com.google.container.v1.DNSConfig getDnsConfig() { return dnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : dnsConfig_; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -401,15 +334,12 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { public static final int SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 15; private com.google.container.v1.ServiceExternalIPsConfig serviceExternalIpsConfig_; /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; - * * @return Whether the serviceExternalIpsConfig field is set. */ @java.lang.Override @@ -417,26 +347,19 @@ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfig_ != null; } /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; - * * @return The serviceExternalIpsConfig. */ @java.lang.Override public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { - return serviceExternalIpsConfig_ == null - ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() - : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; } /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
@@ -445,23 +368,19 @@ public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsCon
    * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
    */
   @java.lang.Override
-  public com.google.container.v1.ServiceExternalIPsConfigOrBuilder
-      getServiceExternalIpsConfigOrBuilder() {
+  public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() {
     return getServiceExternalIpsConfig();
   }
 
   public static final int GATEWAY_API_CONFIG_FIELD_NUMBER = 16;
   private com.google.container.v1.GatewayAPIConfig gatewayApiConfig_;
   /**
-   *
-   *
    * 
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; - * * @return Whether the gatewayApiConfig field is set. */ @java.lang.Override @@ -469,26 +388,19 @@ public boolean hasGatewayApiConfig() { return gatewayApiConfig_ != null; } /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; - * * @return The gatewayApiConfig. */ @java.lang.Override public com.google.container.v1.GatewayAPIConfig getGatewayApiConfig() { - return gatewayApiConfig_ == null - ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() - : gatewayApiConfig_; + return gatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; } /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
@@ -502,7 +414,6 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getGatewayApiConfigOrBu
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -514,7 +425,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_);
     }
@@ -530,13 +442,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (enableL4IlbSubsetting_ != false) {
       output.writeBool(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_
-        != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
+    if (datapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
       output.writeEnum(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_
-        != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
-            .getNumber()) {
+    if (privateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
       output.writeEnum(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
@@ -564,33 +473,36 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnetwork_);
     }
     if (enableIntraNodeVisibility_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableIntraNodeVisibility_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(5, enableIntraNodeVisibility_);
     }
     if (defaultSnatStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDefaultSnatStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getDefaultSnatStatus());
     }
     if (enableL4IlbSubsetting_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enableL4IlbSubsetting_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_
-        != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, datapathProvider_);
+    if (datapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_
-        != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, privateIpv6GoogleAccess_);
+    if (privateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDnsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(13, getDnsConfig());
     }
     if (serviceExternalIpsConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              15, getServiceExternalIpsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(15, getServiceExternalIpsConfig());
     }
     if (gatewayApiConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGatewayApiConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(16, getGatewayApiConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -600,34 +512,42 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.NetworkConfig)) {
       return super.equals(obj);
     }
     com.google.container.v1.NetworkConfig other = (com.google.container.v1.NetworkConfig) obj;
 
-    if (!getNetwork().equals(other.getNetwork())) return false;
-    if (!getSubnetwork().equals(other.getSubnetwork())) return false;
-    if (getEnableIntraNodeVisibility() != other.getEnableIntraNodeVisibility()) return false;
+    if (!getNetwork()
+        .equals(other.getNetwork())) return false;
+    if (!getSubnetwork()
+        .equals(other.getSubnetwork())) return false;
+    if (getEnableIntraNodeVisibility()
+        != other.getEnableIntraNodeVisibility()) return false;
     if (hasDefaultSnatStatus() != other.hasDefaultSnatStatus()) return false;
     if (hasDefaultSnatStatus()) {
-      if (!getDefaultSnatStatus().equals(other.getDefaultSnatStatus())) return false;
+      if (!getDefaultSnatStatus()
+          .equals(other.getDefaultSnatStatus())) return false;
     }
-    if (getEnableL4IlbSubsetting() != other.getEnableL4IlbSubsetting()) return false;
+    if (getEnableL4IlbSubsetting()
+        != other.getEnableL4IlbSubsetting()) return false;
     if (datapathProvider_ != other.datapathProvider_) return false;
     if (privateIpv6GoogleAccess_ != other.privateIpv6GoogleAccess_) return false;
     if (hasDnsConfig() != other.hasDnsConfig()) return false;
     if (hasDnsConfig()) {
-      if (!getDnsConfig().equals(other.getDnsConfig())) return false;
+      if (!getDnsConfig()
+          .equals(other.getDnsConfig())) return false;
     }
     if (hasServiceExternalIpsConfig() != other.hasServiceExternalIpsConfig()) return false;
     if (hasServiceExternalIpsConfig()) {
-      if (!getServiceExternalIpsConfig().equals(other.getServiceExternalIpsConfig())) return false;
+      if (!getServiceExternalIpsConfig()
+          .equals(other.getServiceExternalIpsConfig())) return false;
     }
     if (hasGatewayApiConfig() != other.hasGatewayApiConfig()) return false;
     if (hasGatewayApiConfig()) {
-      if (!getGatewayApiConfig().equals(other.getGatewayApiConfig())) return false;
+      if (!getGatewayApiConfig()
+          .equals(other.getGatewayApiConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -645,13 +565,15 @@ public int hashCode() {
     hash = (37 * hash) + SUBNETWORK_FIELD_NUMBER;
     hash = (53 * hash) + getSubnetwork().hashCode();
     hash = (37 * hash) + ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntraNodeVisibility());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getEnableIntraNodeVisibility());
     if (hasDefaultSnatStatus()) {
       hash = (37 * hash) + DEFAULT_SNAT_STATUS_FIELD_NUMBER;
       hash = (53 * hash) + getDefaultSnatStatus().hashCode();
     }
     hash = (37 * hash) + ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableL4IlbSubsetting());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getEnableL4IlbSubsetting());
     hash = (37 * hash) + DATAPATH_PROVIDER_FIELD_NUMBER;
     hash = (53 * hash) + datapathProvider_;
     hash = (37 * hash) + PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER;
@@ -673,135 +595,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.NetworkConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.NetworkConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.NetworkConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NetworkConfig parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.container.v1.NetworkConfig parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.NetworkConfig parseFrom(
       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.NetworkConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.NetworkConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.NetworkConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.NetworkConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.NetworkConfig parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.NetworkConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.NetworkConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.NetworkConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.NetworkConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NetworkConfig reports the relative names of network & subnetwork.
    * 
* * Protobuf type {@code google.container.v1.NetworkConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkConfig) com.google.container.v1.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NetworkConfig.class, - com.google.container.v1.NetworkConfig.Builder.class); + com.google.container.v1.NetworkConfig.class, com.google.container.v1.NetworkConfig.Builder.class); } // Construct using com.google.container.v1.NetworkConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -845,9 +762,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_descriptor; } @java.lang.Override @@ -866,8 +783,7 @@ public com.google.container.v1.NetworkConfig build() { @java.lang.Override public com.google.container.v1.NetworkConfig buildPartial() { - com.google.container.v1.NetworkConfig result = - new com.google.container.v1.NetworkConfig(this); + com.google.container.v1.NetworkConfig result = new com.google.container.v1.NetworkConfig(this); result.network_ = network_; result.subnetwork_ = subnetwork_; result.enableIntraNodeVisibility_ = enableIntraNodeVisibility_; @@ -902,39 +818,38 @@ public com.google.container.v1.NetworkConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NetworkConfig) { - return mergeFrom((com.google.container.v1.NetworkConfig) other); + return mergeFrom((com.google.container.v1.NetworkConfig)other); } else { super.mergeFrom(other); return this; @@ -1001,76 +916,70 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - network_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 40: - { - enableIntraNodeVisibility_ = input.readBool(); - - break; - } // case 40 - case 58: - { - input.readMessage( - getDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 80: - { - enableL4IlbSubsetting_ = input.readBool(); - - break; - } // case 80 - case 88: - { - datapathProvider_ = input.readEnum(); - - break; - } // case 88 - case 96: - { - privateIpv6GoogleAccess_ = input.readEnum(); - - break; - } // case 96 - case 106: - { - input.readMessage(getDnsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 106 - case 122: - { - input.readMessage( - getServiceExternalIpsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 122 - case 130: - { - input.readMessage( - getGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 130 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + network_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 40: { + enableIntraNodeVisibility_ = input.readBool(); + + break; + } // case 40 + case 58: { + input.readMessage( + getDefaultSnatStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 80: { + enableL4IlbSubsetting_ = input.readBool(); + + break; + } // case 80 + case 88: { + datapathProvider_ = input.readEnum(); + + break; + } // case 88 + case 96: { + privateIpv6GoogleAccess_ = input.readEnum(); + + break; + } // case 96 + case 106: { + input.readMessage( + getDnsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 106 + case 122: { + input.readMessage( + getServiceExternalIpsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 122 + case 130: { + input.readMessage( + getGatewayApiConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 130 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1083,8 +992,6 @@ public Builder mergeFrom( private java.lang.Object network_ = ""; /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1093,13 +1000,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1108,8 +1015,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1118,14 +1023,15 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -1133,8 +1039,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1143,22 +1047,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string network = 1; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1167,18 +1069,15 @@ public Builder setNetwork(java.lang.String value) {
      * 
* * string network = 1; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1187,16 +1086,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1204,8 +1103,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnetwork_ = ""; /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1214,13 +1111,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * string subnetwork = 2; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1229,8 +1126,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1239,14 +1134,15 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1254,8 +1150,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1264,22 +1158,20 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
      * 
* * string subnetwork = 2; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1288,18 +1180,15 @@ public Builder setSubnetwork(java.lang.String value) {
      * 
* * string subnetwork = 2; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1308,32 +1197,29 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 2; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private boolean enableIntraNodeVisibility_; + private boolean enableIntraNodeVisibility_ ; /** - * - * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; - * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -1341,38 +1227,32 @@ public boolean getEnableIntraNodeVisibility() { return enableIntraNodeVisibility_; } /** - * - * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; - * * @param value The enableIntraNodeVisibility to set. * @return This builder for chaining. */ public Builder setEnableIntraNodeVisibility(boolean value) { - + enableIntraNodeVisibility_ = value; onChanged(); return this; } /** - * - * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; - * * @return This builder for chaining. */ public Builder clearEnableIntraNodeVisibility() { - + enableIntraNodeVisibility_ = false; onChanged(); return this; @@ -1380,13 +1260,8 @@ public Builder clearEnableIntraNodeVisibility() { private com.google.container.v1.DefaultSnatStatus defaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, - com.google.container.v1.DefaultSnatStatus.Builder, - com.google.container.v1.DefaultSnatStatusOrBuilder> - defaultSnatStatusBuilder_; + com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> defaultSnatStatusBuilder_; /** - * - * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1395,15 +1270,12 @@ public Builder clearEnableIntraNodeVisibility() {
      * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; - * * @return Whether the defaultSnatStatus field is set. */ public boolean hasDefaultSnatStatus() { return defaultSnatStatusBuilder_ != null || defaultSnatStatus_ != null; } /** - * - * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1412,21 +1284,16 @@ public boolean hasDefaultSnatStatus() {
      * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; - * * @return The defaultSnatStatus. */ public com.google.container.v1.DefaultSnatStatus getDefaultSnatStatus() { if (defaultSnatStatusBuilder_ == null) { - return defaultSnatStatus_ == null - ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() - : defaultSnatStatus_; + return defaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; } else { return defaultSnatStatusBuilder_.getMessage(); } } /** - * - * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1450,8 +1317,6 @@ public Builder setDefaultSnatStatus(com.google.container.v1.DefaultSnatStatus va
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1473,8 +1338,6 @@ public Builder setDefaultSnatStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1488,9 +1351,7 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1.DefaultSnatStatus
       if (defaultSnatStatusBuilder_ == null) {
         if (defaultSnatStatus_ != null) {
           defaultSnatStatus_ =
-              com.google.container.v1.DefaultSnatStatus.newBuilder(defaultSnatStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.DefaultSnatStatus.newBuilder(defaultSnatStatus_).mergeFrom(value).buildPartial();
         } else {
           defaultSnatStatus_ = value;
         }
@@ -1502,8 +1363,6 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1.DefaultSnatStatus
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1525,8 +1384,6 @@ public Builder clearDefaultSnatStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1537,13 +1394,11 @@ public Builder clearDefaultSnatStatus() {
      * .google.container.v1.DefaultSnatStatus default_snat_status = 7;
      */
     public com.google.container.v1.DefaultSnatStatus.Builder getDefaultSnatStatusBuilder() {
-
+      
       onChanged();
       return getDefaultSnatStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1557,14 +1412,11 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOr
       if (defaultSnatStatusBuilder_ != null) {
         return defaultSnatStatusBuilder_.getMessageOrBuilder();
       } else {
-        return defaultSnatStatus_ == null
-            ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance()
-            : defaultSnatStatus_;
+        return defaultSnatStatus_ == null ?
+            com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1575,32 +1427,26 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOr
      * .google.container.v1.DefaultSnatStatus default_snat_status = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.DefaultSnatStatus,
-            com.google.container.v1.DefaultSnatStatus.Builder,
-            com.google.container.v1.DefaultSnatStatusOrBuilder>
+        com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> 
         getDefaultSnatStatusFieldBuilder() {
       if (defaultSnatStatusBuilder_ == null) {
-        defaultSnatStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.DefaultSnatStatus,
-                com.google.container.v1.DefaultSnatStatus.Builder,
-                com.google.container.v1.DefaultSnatStatusOrBuilder>(
-                getDefaultSnatStatus(), getParentForChildren(), isClean());
+        defaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder>(
+                getDefaultSnatStatus(),
+                getParentForChildren(),
+                isClean());
         defaultSnatStatus_ = null;
       }
       return defaultSnatStatusBuilder_;
     }
 
-    private boolean enableL4IlbSubsetting_;
+    private boolean enableL4IlbSubsetting_ ;
     /**
-     *
-     *
      * 
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; - * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -1608,36 +1454,30 @@ public boolean getEnableL4IlbSubsetting() { return enableL4IlbSubsetting_; } /** - * - * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; - * * @param value The enableL4ilbSubsetting to set. * @return This builder for chaining. */ public Builder setEnableL4IlbSubsetting(boolean value) { - + enableL4IlbSubsetting_ = value; onChanged(); return this; } /** - * - * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; - * * @return This builder for chaining. */ public Builder clearEnableL4IlbSubsetting() { - + enableL4IlbSubsetting_ = false; onChanged(); return this; @@ -1645,69 +1485,55 @@ public Builder clearEnableL4IlbSubsetting() { private int datapathProvider_ = 0; /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override - public int getDatapathProviderValue() { + @java.lang.Override public int getDatapathProviderValue() { return datapathProvider_; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @param value The enum numeric value on the wire for datapathProvider to set. * @return This builder for chaining. */ public Builder setDatapathProviderValue(int value) { - + datapathProvider_ = value; onChanged(); return this; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @return The datapathProvider. */ @java.lang.Override public com.google.container.v1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = - com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @param value The datapathProvider to set. * @return This builder for chaining. */ @@ -1715,25 +1541,22 @@ public Builder setDatapathProvider(com.google.container.v1.DatapathProvider valu if (value == null) { throw new NullPointerException(); } - + datapathProvider_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @return This builder for chaining. */ public Builder clearDatapathProvider() { - + datapathProvider_ = 0; onChanged(); return this; @@ -1741,8 +1564,6 @@ public Builder clearDatapathProvider() { private int privateIpv6GoogleAccess_ = 0; /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1750,16 +1571,12 @@ public Builder clearDatapathProvider() {
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override - public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1767,19 +1584,16 @@ public int getPrivateIpv6GoogleAccessValue() {
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @param value The enum numeric value on the wire for privateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setPrivateIpv6GoogleAccessValue(int value) { - + privateIpv6GoogleAccess_ = value; onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1787,19 +1601,15 @@ public Builder setPrivateIpv6GoogleAccessValue(int value) {
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The privateIpv6GoogleAccess. */ @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = - com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1807,23 +1617,19 @@ public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAcces
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @param value The privateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setPrivateIpv6GoogleAccess( - com.google.container.v1.PrivateIPv6GoogleAccess value) { + public Builder setPrivateIpv6GoogleAccess(com.google.container.v1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + privateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1831,11 +1637,10 @@ public Builder setPrivateIpv6GoogleAccess(
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return This builder for chaining. */ public Builder clearPrivateIpv6GoogleAccess() { - + privateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -1843,47 +1648,34 @@ public Builder clearPrivateIpv6GoogleAccess() { private com.google.container.v1.DNSConfig dnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, - com.google.container.v1.DNSConfig.Builder, - com.google.container.v1.DNSConfigOrBuilder> - dnsConfigBuilder_; + com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> dnsConfigBuilder_; /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig dns_config = 13; - * * @return Whether the dnsConfig field is set. */ public boolean hasDnsConfig() { return dnsConfigBuilder_ != null || dnsConfig_ != null; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig dns_config = 13; - * * @return The dnsConfig. */ public com.google.container.v1.DNSConfig getDnsConfig() { if (dnsConfigBuilder_ == null) { - return dnsConfig_ == null - ? com.google.container.v1.DNSConfig.getDefaultInstance() - : dnsConfig_; + return dnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : dnsConfig_; } else { return dnsConfigBuilder_.getMessage(); } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1904,15 +1696,14 @@ public Builder setDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig dns_config = 13; */ - public Builder setDnsConfig(com.google.container.v1.DNSConfig.Builder builderForValue) { + public Builder setDnsConfig( + com.google.container.v1.DNSConfig.Builder builderForValue) { if (dnsConfigBuilder_ == null) { dnsConfig_ = builderForValue.build(); onChanged(); @@ -1923,8 +1714,6 @@ public Builder setDnsConfig(com.google.container.v1.DNSConfig.Builder builderFor return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1935,9 +1724,7 @@ public Builder mergeDnsConfig(com.google.container.v1.DNSConfig value) { if (dnsConfigBuilder_ == null) { if (dnsConfig_ != null) { dnsConfig_ = - com.google.container.v1.DNSConfig.newBuilder(dnsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.DNSConfig.newBuilder(dnsConfig_).mergeFrom(value).buildPartial(); } else { dnsConfig_ = value; } @@ -1949,8 +1736,6 @@ public Builder mergeDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1969,8 +1754,6 @@ public Builder clearDnsConfig() { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1978,13 +1761,11 @@ public Builder clearDnsConfig() { * .google.container.v1.DNSConfig dns_config = 13; */ public com.google.container.v1.DNSConfig.Builder getDnsConfigBuilder() { - + onChanged(); return getDnsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1995,14 +1776,11 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { if (dnsConfigBuilder_ != null) { return dnsConfigBuilder_.getMessageOrBuilder(); } else { - return dnsConfig_ == null - ? com.google.container.v1.DNSConfig.getDefaultInstance() - : dnsConfig_; + return dnsConfig_ == null ? + com.google.container.v1.DNSConfig.getDefaultInstance() : dnsConfig_; } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -2010,17 +1788,14 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { * .google.container.v1.DNSConfig dns_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, - com.google.container.v1.DNSConfig.Builder, - com.google.container.v1.DNSConfigOrBuilder> + com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> getDnsConfigFieldBuilder() { if (dnsConfigBuilder_ == null) { - dnsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, - com.google.container.v1.DNSConfig.Builder, - com.google.container.v1.DNSConfigOrBuilder>( - getDnsConfig(), getParentForChildren(), isClean()); + dnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder>( + getDnsConfig(), + getParentForChildren(), + isClean()); dnsConfig_ = null; } return dnsConfigBuilder_; @@ -2028,49 +1803,36 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { private com.google.container.v1.ServiceExternalIPsConfig serviceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, - com.google.container.v1.ServiceExternalIPsConfig.Builder, - com.google.container.v1.ServiceExternalIPsConfigOrBuilder> - serviceExternalIpsConfigBuilder_; + com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> serviceExternalIpsConfigBuilder_; /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; - * * @return Whether the serviceExternalIpsConfig field is set. */ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfigBuilder_ != null || serviceExternalIpsConfig_ != null; } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; - * * @return The serviceExternalIpsConfig. */ public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { if (serviceExternalIpsConfigBuilder_ == null) { - return serviceExternalIpsConfig_ == null - ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() - : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; } else { return serviceExternalIpsConfigBuilder_.getMessage(); } } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -2078,8 +1840,7 @@ public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsCon
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public Builder setServiceExternalIpsConfig(
-        com.google.container.v1.ServiceExternalIPsConfig value) {
+    public Builder setServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) {
       if (serviceExternalIpsConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2093,8 +1854,6 @@ public Builder setServiceExternalIpsConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -2114,8 +1873,6 @@ public Builder setServiceExternalIpsConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -2123,14 +1880,11 @@ public Builder setServiceExternalIpsConfig(
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public Builder mergeServiceExternalIpsConfig(
-        com.google.container.v1.ServiceExternalIPsConfig value) {
+    public Builder mergeServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) {
       if (serviceExternalIpsConfigBuilder_ == null) {
         if (serviceExternalIpsConfig_ != null) {
           serviceExternalIpsConfig_ =
-              com.google.container.v1.ServiceExternalIPsConfig.newBuilder(serviceExternalIpsConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ServiceExternalIPsConfig.newBuilder(serviceExternalIpsConfig_).mergeFrom(value).buildPartial();
         } else {
           serviceExternalIpsConfig_ = value;
         }
@@ -2142,8 +1896,6 @@ public Builder mergeServiceExternalIpsConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -2163,8 +1915,6 @@ public Builder clearServiceExternalIpsConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -2172,15 +1922,12 @@ public Builder clearServiceExternalIpsConfig() {
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public com.google.container.v1.ServiceExternalIPsConfig.Builder
-        getServiceExternalIpsConfigBuilder() {
-
+    public com.google.container.v1.ServiceExternalIPsConfig.Builder getServiceExternalIpsConfigBuilder() {
+      
       onChanged();
       return getServiceExternalIpsConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -2188,19 +1935,15 @@ public Builder clearServiceExternalIpsConfig() {
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public com.google.container.v1.ServiceExternalIPsConfigOrBuilder
-        getServiceExternalIpsConfigOrBuilder() {
+    public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() {
       if (serviceExternalIpsConfigBuilder_ != null) {
         return serviceExternalIpsConfigBuilder_.getMessageOrBuilder();
       } else {
-        return serviceExternalIpsConfig_ == null
-            ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance()
-            : serviceExternalIpsConfig_;
+        return serviceExternalIpsConfig_ == null ?
+            com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -2209,17 +1952,14 @@ public Builder clearServiceExternalIpsConfig() {
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ServiceExternalIPsConfig,
-            com.google.container.v1.ServiceExternalIPsConfig.Builder,
-            com.google.container.v1.ServiceExternalIPsConfigOrBuilder>
+        com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> 
         getServiceExternalIpsConfigFieldBuilder() {
       if (serviceExternalIpsConfigBuilder_ == null) {
-        serviceExternalIpsConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ServiceExternalIPsConfig,
-                com.google.container.v1.ServiceExternalIPsConfig.Builder,
-                com.google.container.v1.ServiceExternalIPsConfigOrBuilder>(
-                getServiceExternalIpsConfig(), getParentForChildren(), isClean());
+        serviceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder>(
+                getServiceExternalIpsConfig(),
+                getParentForChildren(),
+                isClean());
         serviceExternalIpsConfig_ = null;
       }
       return serviceExternalIpsConfigBuilder_;
@@ -2227,49 +1967,36 @@ public Builder clearServiceExternalIpsConfig() {
 
     private com.google.container.v1.GatewayAPIConfig gatewayApiConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.GatewayAPIConfig,
-            com.google.container.v1.GatewayAPIConfig.Builder,
-            com.google.container.v1.GatewayAPIConfigOrBuilder>
-        gatewayApiConfigBuilder_;
+        com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> gatewayApiConfigBuilder_;
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; - * * @return Whether the gatewayApiConfig field is set. */ public boolean hasGatewayApiConfig() { return gatewayApiConfigBuilder_ != null || gatewayApiConfig_ != null; } /** - * - * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; - * * @return The gatewayApiConfig. */ public com.google.container.v1.GatewayAPIConfig getGatewayApiConfig() { if (gatewayApiConfigBuilder_ == null) { - return gatewayApiConfig_ == null - ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() - : gatewayApiConfig_; + return gatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; } else { return gatewayApiConfigBuilder_.getMessage(); } } /** - * - * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2291,8 +2018,6 @@ public Builder setGatewayApiConfig(com.google.container.v1.GatewayAPIConfig valu
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2312,8 +2037,6 @@ public Builder setGatewayApiConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2325,9 +2048,7 @@ public Builder mergeGatewayApiConfig(com.google.container.v1.GatewayAPIConfig va
       if (gatewayApiConfigBuilder_ == null) {
         if (gatewayApiConfig_ != null) {
           gatewayApiConfig_ =
-              com.google.container.v1.GatewayAPIConfig.newBuilder(gatewayApiConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.GatewayAPIConfig.newBuilder(gatewayApiConfig_).mergeFrom(value).buildPartial();
         } else {
           gatewayApiConfig_ = value;
         }
@@ -2339,8 +2060,6 @@ public Builder mergeGatewayApiConfig(com.google.container.v1.GatewayAPIConfig va
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2360,8 +2079,6 @@ public Builder clearGatewayApiConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2370,13 +2087,11 @@ public Builder clearGatewayApiConfig() {
      * .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
      */
     public com.google.container.v1.GatewayAPIConfig.Builder getGatewayApiConfigBuilder() {
-
+      
       onChanged();
       return getGatewayApiConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2388,14 +2103,11 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getGatewayApiConfigOrBu
       if (gatewayApiConfigBuilder_ != null) {
         return gatewayApiConfigBuilder_.getMessageOrBuilder();
       } else {
-        return gatewayApiConfig_ == null
-            ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance()
-            : gatewayApiConfig_;
+        return gatewayApiConfig_ == null ?
+            com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2404,24 +2116,21 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getGatewayApiConfigOrBu
      * .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.GatewayAPIConfig,
-            com.google.container.v1.GatewayAPIConfig.Builder,
-            com.google.container.v1.GatewayAPIConfigOrBuilder>
+        com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> 
         getGatewayApiConfigFieldBuilder() {
       if (gatewayApiConfigBuilder_ == null) {
-        gatewayApiConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.GatewayAPIConfig,
-                com.google.container.v1.GatewayAPIConfig.Builder,
-                com.google.container.v1.GatewayAPIConfigOrBuilder>(
-                getGatewayApiConfig(), getParentForChildren(), isClean());
+        gatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder>(
+                getGatewayApiConfig(),
+                getParentForChildren(),
+                isClean());
         gatewayApiConfig_ = null;
       }
       return gatewayApiConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2431,12 +2140,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.NetworkConfig)
   private static final com.google.container.v1.NetworkConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.NetworkConfig();
   }
@@ -2445,27 +2154,27 @@ public static com.google.container.v1.NetworkConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public NetworkConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public NetworkConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2480,4 +2189,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.NetworkConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
similarity index 88%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
index bcc3d1d78e8d..794bd06153b8 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface NetworkConfigOrBuilder
-    extends
+public interface NetworkConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -34,13 +16,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -49,14 +28,12 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -65,13 +42,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string subnetwork = 2; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -80,28 +54,23 @@ public interface NetworkConfigOrBuilder
    * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; - * * @return The enableIntraNodeVisibility. */ boolean getEnableIntraNodeVisibility(); /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -110,13 +79,10 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; - * * @return Whether the defaultSnatStatus field is set. */ boolean hasDefaultSnatStatus(); /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -125,13 +91,10 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; - * * @return The defaultSnatStatus. */ com.google.container.v1.DefaultSnatStatus getDefaultSnatStatus(); /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -144,48 +107,37 @@ public interface NetworkConfigOrBuilder
   com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; - * * @return The enableL4ilbSubsetting. */ boolean getEnableL4IlbSubsetting(); /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @return The enum numeric value on the wire for datapathProvider. */ int getDatapathProviderValue(); /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; - * * @return The datapathProvider. */ com.google.container.v1.DatapathProvider getDatapathProvider(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -193,13 +145,10 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ int getPrivateIpv6GoogleAccessValue(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -207,38 +156,29 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The privateIpv6GoogleAccess. */ com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; - * * @return Whether the dnsConfig field is set. */ boolean hasDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; - * * @return The dnsConfig. */ com.google.container.v1.DNSConfig getDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -248,34 +188,26 @@ public interface NetworkConfigOrBuilder com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder(); /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; - * * @return Whether the serviceExternalIpsConfig field is set. */ boolean hasServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; - * * @return The serviceExternalIpsConfig. */ com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
@@ -286,34 +218,26 @@ public interface NetworkConfigOrBuilder
   com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; - * * @return Whether the gatewayApiConfig field is set. */ boolean hasGatewayApiConfig(); /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; - * * @return The gatewayApiConfig. */ com.google.container.v1.GatewayAPIConfig getGatewayApiConfig(); /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
similarity index 67%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
index ed0a16c42c65..31275362f880 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * Configuration options for the NetworkPolicy feature.
  * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -28,59 +11,54 @@
  *
  * Protobuf type {@code google.container.v1.NetworkPolicy}
  */
-public final class NetworkPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NetworkPolicy)
     NetworkPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkPolicy.newBuilder() to construct.
   private NetworkPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NetworkPolicy() {
     provider_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NetworkPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NetworkPolicy.class,
-            com.google.container.v1.NetworkPolicy.Builder.class);
+            com.google.container.v1.NetworkPolicy.class, com.google.container.v1.NetworkPolicy.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Allowed Network Policy providers.
    * 
* * Protobuf enum {@code google.container.v1.NetworkPolicy.Provider} */ - public enum Provider implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set
      * 
@@ -89,8 +67,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ PROVIDER_UNSPECIFIED(0), /** - * - * *
      * Tigera (Calico Felix).
      * 
@@ -102,8 +78,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set
      * 
@@ -112,8 +86,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Tigera (Calico Felix).
      * 
@@ -122,6 +94,7 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CALICO_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -146,47 +119,48 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: - return PROVIDER_UNSPECIFIED; - case 1: - return CALICO; - default: - return null; + case 0: return PROVIDER_UNSPECIFIED; + case 1: return CALICO; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Provider> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.NetworkPolicy.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -206,50 +180,38 @@ private Provider(int value) { public static final int PROVIDER_FIELD_NUMBER = 1; private int provider_; /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override - public int getProviderValue() { + @java.lang.Override public int getProviderValue() { return provider_; } /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @return The provider. */ - @java.lang.Override - public com.google.container.v1.NetworkPolicy.Provider getProvider() { + @java.lang.Override public com.google.container.v1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.NetworkPolicy.Provider result = - com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); + com.google.container.v1.NetworkPolicy.Provider result = com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); return result == null ? com.google.container.v1.NetworkPolicy.Provider.UNRECOGNIZED : result; } public static final int ENABLED_FIELD_NUMBER = 2; private boolean enabled_; /** - * - * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; - * * @return The enabled. */ @java.lang.Override @@ -258,7 +220,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,9 +231,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (provider_ - != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (provider_ != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, provider_); } if (enabled_ != false) { @@ -287,12 +248,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (provider_ - != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, provider_); + if (provider_ != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, provider_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -302,7 +264,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NetworkPolicy)) { return super.equals(obj); @@ -310,7 +272,8 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1.NetworkPolicy other = (com.google.container.v1.NetworkPolicy) obj; if (provider_ != other.provider_) return false; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,109 +288,104 @@ public int hashCode() { hash = (37 * hash) + PROVIDER_FIELD_NUMBER; hash = (53 * hash) + provider_; hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.NetworkPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NetworkPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicy parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.NetworkPolicy parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkPolicy parseFrom( 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.NetworkPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NetworkPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NetworkPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NetworkPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NetworkPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -435,32 +393,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NetworkPolicy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkPolicy)
       com.google.container.v1.NetworkPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NetworkPolicy.class,
-              com.google.container.v1.NetworkPolicy.Builder.class);
+              com.google.container.v1.NetworkPolicy.class, com.google.container.v1.NetworkPolicy.Builder.class);
     }
 
     // Construct using com.google.container.v1.NetworkPolicy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -493,8 +452,7 @@ public com.google.container.v1.NetworkPolicy build() {
 
     @java.lang.Override
     public com.google.container.v1.NetworkPolicy buildPartial() {
-      com.google.container.v1.NetworkPolicy result =
-          new com.google.container.v1.NetworkPolicy(this);
+      com.google.container.v1.NetworkPolicy result = new com.google.container.v1.NetworkPolicy(this);
       result.provider_ = provider_;
       result.enabled_ = enabled_;
       onBuilt();
@@ -505,39 +463,38 @@ public com.google.container.v1.NetworkPolicy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NetworkPolicy) {
-        return mergeFrom((com.google.container.v1.NetworkPolicy) other);
+        return mergeFrom((com.google.container.v1.NetworkPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -578,25 +535,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                provider_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              provider_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 16: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -609,65 +563,51 @@ public Builder mergeFrom(
 
     private int provider_ = 0;
     /**
-     *
-     *
      * 
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override - public int getProviderValue() { + @java.lang.Override public int getProviderValue() { return provider_; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @param value The enum numeric value on the wire for provider to set. * @return This builder for chaining. */ public Builder setProviderValue(int value) { - + provider_ = value; onChanged(); return this; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @return The provider. */ @java.lang.Override public com.google.container.v1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.NetworkPolicy.Provider result = - com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); + com.google.container.v1.NetworkPolicy.Provider result = com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); return result == null ? com.google.container.v1.NetworkPolicy.Provider.UNRECOGNIZED : result; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @param value The provider to set. * @return This builder for chaining. */ @@ -675,39 +615,33 @@ public Builder setProvider(com.google.container.v1.NetworkPolicy.Provider value) if (value == null) { throw new NullPointerException(); } - + provider_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @return This builder for chaining. */ public Builder clearProvider() { - + provider_ = 0; onChanged(); return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; - * * @return The enabled. */ @java.lang.Override @@ -715,43 +649,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -761,12 +689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.NetworkPolicy) private static final com.google.container.v1.NetworkPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NetworkPolicy(); } @@ -775,27 +703,27 @@ public static com.google.container.v1.NetworkPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -810,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NetworkPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java index f55b87da8498..63b8d2187d6b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration for NetworkPolicy. This only tracks whether the addon
  * is enabled or not on the Master, it does not track whether network policy
@@ -29,55 +12,51 @@
  *
  * Protobuf type {@code google.container.v1.NetworkPolicyConfig}
  */
-public final class NetworkPolicyConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkPolicyConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NetworkPolicyConfig)
     NetworkPolicyConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkPolicyConfig.newBuilder() to construct.
   private NetworkPolicyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NetworkPolicyConfig() {}
+  private NetworkPolicyConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkPolicyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NetworkPolicyConfig.class,
-            com.google.container.v1.NetworkPolicyConfig.Builder.class);
+            com.google.container.v1.NetworkPolicyConfig.class, com.google.container.v1.NetworkPolicyConfig.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Whether NetworkPolicy is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -86,7 +65,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -112,7 +91,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,15 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NetworkPolicyConfig)) { return super.equals(obj); } - com.google.container.v1.NetworkPolicyConfig other = - (com.google.container.v1.NetworkPolicyConfig) obj; + com.google.container.v1.NetworkPolicyConfig other = (com.google.container.v1.NetworkPolicyConfig) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,110 +123,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.NetworkPolicyConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NetworkPolicyConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkPolicyConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkPolicyConfig parseFrom( 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.NetworkPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkPolicyConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NetworkPolicyConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkPolicyConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NetworkPolicyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NetworkPolicyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkPolicyConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NetworkPolicyConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkPolicyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NetworkPolicyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -255,32 +229,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NetworkPolicyConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkPolicyConfig)
       com.google.container.v1.NetworkPolicyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NetworkPolicyConfig.class,
-              com.google.container.v1.NetworkPolicyConfig.Builder.class);
+              com.google.container.v1.NetworkPolicyConfig.class, com.google.container.v1.NetworkPolicyConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.NetworkPolicyConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +265,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +286,7 @@ public com.google.container.v1.NetworkPolicyConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.NetworkPolicyConfig buildPartial() {
-      com.google.container.v1.NetworkPolicyConfig result =
-          new com.google.container.v1.NetworkPolicyConfig(this);
+      com.google.container.v1.NetworkPolicyConfig result = new com.google.container.v1.NetworkPolicyConfig(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -322,39 +296,38 @@ public com.google.container.v1.NetworkPolicyConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NetworkPolicyConfig) {
-        return mergeFrom((com.google.container.v1.NetworkPolicyConfig) other);
+        return mergeFrom((com.google.container.v1.NetworkPolicyConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -392,19 +365,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -415,16 +386,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -432,43 +400,37 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -478,12 +440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkPolicyConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NetworkPolicyConfig) private static final com.google.container.v1.NetworkPolicyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NetworkPolicyConfig(); } @@ -492,27 +454,27 @@ public static com.google.container.v1.NetworkPolicyConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -527,4 +489,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NetworkPolicyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java new file mode 100644 index 000000000000..1a0d64619d28 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface NetworkPolicyConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkPolicyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether NetworkPolicy is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java similarity index 58% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java index b0040af07147..cf813ba09e96 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface NetworkPolicyOrBuilder - extends +public interface NetworkPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @return The enum numeric value on the wire for provider. */ int getProviderValue(); /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; - * * @return The provider. */ com.google.container.v1.NetworkPolicy.Provider getProvider(); /** - * - * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; - * * @return The enabled. */ boolean getEnabled(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java index 9879837a6cc2..a5e44f50ea7f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Collection of Compute Engine network tags that can be applied to a node's
  * underlying VM instance.
@@ -28,85 +11,75 @@
  *
  * Protobuf type {@code google.container.v1.NetworkTags}
  */
-public final class NetworkTags extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkTags extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NetworkTags)
     NetworkTagsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkTags.newBuilder() to construct.
   private NetworkTags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NetworkTags() {
     tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkTags();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NetworkTags_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NetworkTags_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NetworkTags.class,
-            com.google.container.v1.NetworkTags.Builder.class);
+            com.google.container.v1.NetworkTags.class, com.google.container.v1.NetworkTags.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList tags_;
   /**
-   *
-   *
    * 
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -114,23 +87,20 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); } @@ -171,14 +142,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NetworkTags)) { return super.equals(obj); } com.google.container.v1.NetworkTags other = (com.google.container.v1.NetworkTags) obj; - if (!getTagsList().equals(other.getTagsList())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -199,103 +171,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NetworkTags parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NetworkTags parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkTags parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkTags parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.NetworkTags parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkTags parseFrom( 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.NetworkTags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NetworkTags parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NetworkTags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkTags parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NetworkTags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkTags parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NetworkTags parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NetworkTags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NetworkTags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of Compute Engine network tags that can be applied to a node's
    * underlying VM instance.
@@ -303,32 +269,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NetworkTags}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkTags)
       com.google.container.v1.NetworkTagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkTags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkTags_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NetworkTags.class,
-              com.google.container.v1.NetworkTags.Builder.class);
+              com.google.container.v1.NetworkTags.class, com.google.container.v1.NetworkTags.Builder.class);
     }
 
     // Construct using com.google.container.v1.NetworkTags.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -338,9 +305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NetworkTags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
@@ -374,39 +341,38 @@ public com.google.container.v1.NetworkTags buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NetworkTags) {
-        return mergeFrom((com.google.container.v1.NetworkTags) other);
+        return mergeFrom((com.google.container.v1.NetworkTags)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -451,20 +417,18 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTagsIsMutable();
-                tags_.add(s);
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTagsIsMutable();
+              tags_.add(s);
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -474,55 +438,44 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList tags_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -530,90 +483,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -623,30 +566,28 @@ public Builder clearTags() { return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -656,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkTags) } // @@protoc_insertion_point(class_scope:google.container.v1.NetworkTags) private static final com.google.container.v1.NetworkTags DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NetworkTags(); } @@ -670,27 +611,27 @@ public static com.google.container.v1.NetworkTags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkTags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkTags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -705,4 +646,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NetworkTags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java similarity index 56% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java index c31c0a25f76b..72af3639ab15 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NetworkTagsOrBuilder - extends +public interface NetworkTagsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkTags) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java similarity index 77% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java index 6e05b0574402..221d04509647 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Parameters that describe the nodes in a cluster.
  * GKE Autopilot clusters do not
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.container.v1.NodeConfig}
  */
-public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeConfig)
     NodeConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeConfig.newBuilder() to construct.
   private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodeConfig() {
     machineType_ = "";
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -57,23 +39,25 @@ private NodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetMetadata();
@@ -82,26 +66,22 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
       case 37:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeConfig.class,
-            com.google.container.v1.NodeConfig.Builder.class);
+            com.google.container.v1.NodeConfig.class, com.google.container.v1.NodeConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object machineType_;
   /**
-   *
-   *
    * 
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -109,7 +89,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string machine_type = 1; - * * @return The machineType. */ @java.lang.Override @@ -118,15 +97,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -134,15 +112,16 @@ public java.lang.String getMachineType() {
    * 
* * string machine_type = 1; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -153,8 +132,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 2; private int diskSizeGb_; /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -162,7 +139,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
    * 
* * int32 disk_size_gb = 2; - * * @return The diskSizeGb. */ @java.lang.Override @@ -173,8 +149,6 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList oauthScopes_; /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -191,15 +165,13 @@ public int getDiskSizeGb() {
    * 
* * repeated string oauth_scopes = 3; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_; } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -216,15 +188,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
    * 
* * repeated string oauth_scopes = 3; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -241,7 +210,6 @@ public int getOauthScopesCount() {
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -249,8 +217,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -267,19 +233,17 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 9; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -287,7 +251,6 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
    * 
* * string service_account = 9; - * * @return The serviceAccount. */ @java.lang.Override @@ -296,15 +259,14 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -312,15 +274,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -329,23 +292,24 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } public static final int METADATA_FIELD_NUMBER = 4; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -354,8 +318,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -389,22 +351,22 @@ public int getMetadataCount() {
    *
    * map<string, string> metadata = 4;
    */
+
   @java.lang.Override
-  public boolean containsMetadata(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMetadata(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /** Use {@link #getMetadataMap()} instead. */
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -439,12 +401,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -479,17 +440,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -524,11 +484,12 @@ public java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+
+  public java.lang.String getMetadataOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -538,15 +499,12 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int IMAGE_TYPE_FIELD_NUMBER = 5;
   private volatile java.lang.Object imageType_;
   /**
-   *
-   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The imageType. */ @java.lang.Override @@ -555,30 +513,30 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -587,23 +545,24 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -612,8 +571,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -627,22 +584,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 6;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -657,12 +614,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -677,16 +633,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -701,11 +657,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -715,8 +672,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int LOCAL_SSD_COUNT_FIELD_NUMBER = 7;
   private int localSsdCount_;
   /**
-   *
-   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -726,7 +681,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * int32 local_ssd_count = 7; - * * @return The localSsdCount. */ @java.lang.Override @@ -737,8 +691,6 @@ public int getLocalSsdCount() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -747,15 +699,13 @@ public int getLocalSsdCount() {
    * 
* * repeated string tags = 8; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -764,15 +714,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
    * 
* * repeated string tags = 8; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -781,7 +728,6 @@ public int getTagsCount() {
    * 
* * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -789,8 +735,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -799,19 +743,17 @@ public java.lang.String getTags(int index) {
    * 
* * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int PREEMPTIBLE_FIELD_NUMBER = 10; private boolean preemptible_; /** - * - * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -819,7 +761,6 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
    * 
* * bool preemptible = 10; - * * @return The preemptible. */ @java.lang.Override @@ -830,8 +771,6 @@ public boolean getPreemptible() { public static final int ACCELERATORS_FIELD_NUMBER = 11; private java.util.List accelerators_; /** - * - * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -845,8 +784,6 @@ public java.util.List getAccelerators
     return accelerators_;
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -856,13 +793,11 @@ public java.util.List getAccelerators
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAcceleratorsOrBuilderList() {
     return accelerators_;
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -876,8 +811,6 @@ public int getAcceleratorsCount() {
     return accelerators_.size();
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -891,8 +824,6 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
     return accelerators_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -902,15 +833,14 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
   @java.lang.Override
-  public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index) {
+  public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
+      int index) {
     return accelerators_.get(index);
   }
 
   public static final int DISK_TYPE_FIELD_NUMBER = 12;
   private volatile java.lang.Object diskType_;
   /**
-   *
-   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -918,7 +848,6 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
    * 
* * string disk_type = 12; - * * @return The diskType. */ @java.lang.Override @@ -927,15 +856,14 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -943,15 +871,16 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 12; - * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -962,8 +891,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 13; private volatile java.lang.Object minCpuPlatform_; /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -975,7 +902,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() {
    * 
* * string min_cpu_platform = 13; - * * @return The minCpuPlatform. */ @java.lang.Override @@ -984,15 +910,14 @@ public java.lang.String getMinCpuPlatform() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -1004,15 +929,16 @@ public java.lang.String getMinCpuPlatform() {
    * 
* * string min_cpu_platform = 13; - * * @return The bytes for minCpuPlatform. */ @java.lang.Override - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -1023,14 +949,11 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -1038,25 +961,18 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null - ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } /** - * - * *
    * The workload metadata configuration for this node.
    * 
@@ -1064,16 +980,13 @@ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig( * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int TAINTS_FIELD_NUMBER = 15; private java.util.List taints_; /** - * - * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1087,8 +1000,6 @@ public java.util.List getTaintsList() {
     return taints_;
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1098,13 +1009,11 @@ public java.util.List getTaintsList() {
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTaintsOrBuilderList() {
     return taints_;
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1118,8 +1027,6 @@ public int getTaintsCount() {
     return taints_.size();
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1133,8 +1040,6 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
     return taints_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1144,21 +1049,19 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
+  public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
+      int index) {
     return taints_.get(index);
   }
 
   public static final int SANDBOX_CONFIG_FIELD_NUMBER = 17;
   private com.google.container.v1.SandboxConfig sandboxConfig_;
   /**
-   *
-   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; - * * @return Whether the sandboxConfig field is set. */ @java.lang.Override @@ -1166,25 +1069,18 @@ public boolean hasSandboxConfig() { return sandboxConfig_ != null; } /** - * - * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; - * * @return The sandboxConfig. */ @java.lang.Override public com.google.container.v1.SandboxConfig getSandboxConfig() { - return sandboxConfig_ == null - ? com.google.container.v1.SandboxConfig.getDefaultInstance() - : sandboxConfig_; + return sandboxConfig_ == null ? com.google.container.v1.SandboxConfig.getDefaultInstance() : sandboxConfig_; } /** - * - * *
    * Sandbox configuration for this node.
    * 
@@ -1199,8 +1095,6 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( public static final int NODE_GROUP_FIELD_NUMBER = 18; private volatile java.lang.Object nodeGroup_; /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -1209,7 +1103,6 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(
    * 
* * string node_group = 18; - * * @return The nodeGroup. */ @java.lang.Override @@ -1218,15 +1111,14 @@ public java.lang.String getNodeGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; } } /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -1235,15 +1127,16 @@ public java.lang.String getNodeGroup() {
    * 
* * string node_group = 18; - * * @return The bytes for nodeGroup. */ @java.lang.Override - public com.google.protobuf.ByteString getNodeGroupBytes() { + public com.google.protobuf.ByteString + getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -1254,8 +1147,6 @@ public com.google.protobuf.ByteString getNodeGroupBytes() { public static final int RESERVATION_AFFINITY_FIELD_NUMBER = 19; private com.google.container.v1.ReservationAffinity reservationAffinity_; /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1264,7 +1155,6 @@ public com.google.protobuf.ByteString getNodeGroupBytes() {
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; - * * @return Whether the reservationAffinity field is set. */ @java.lang.Override @@ -1272,8 +1162,6 @@ public boolean hasReservationAffinity() { return reservationAffinity_ != null; } /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1282,18 +1170,13 @@ public boolean hasReservationAffinity() {
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; - * * @return The reservationAffinity. */ @java.lang.Override public com.google.container.v1.ReservationAffinity getReservationAffinity() { - return reservationAffinity_ == null - ? com.google.container.v1.ReservationAffinity.getDefaultInstance() - : reservationAffinity_; + return reservationAffinity_ == null ? com.google.container.v1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; } /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1311,14 +1194,11 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
   public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 20;
   private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_;
   /**
-   *
-   *
    * 
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -1326,25 +1206,18 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null - ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } /** - * - * *
    * Shielded Instance options.
    * 
@@ -1352,22 +1225,18 @@ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig( * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ @java.lang.Override - public com.google.container.v1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_; /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; - * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -1375,25 +1244,18 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; - * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null - ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -1408,14 +1270,11 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil public static final int KUBELET_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1.NodeKubeletConfig kubeletConfig_; /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; - * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -1423,25 +1282,18 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; - * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null - ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } /** - * - * *
    * Node kubelet configs.
    * 
@@ -1456,8 +1308,6 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 23; private volatile java.lang.Object bootDiskKmsKey_; /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1468,7 +1318,6 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil
    * 
* * string boot_disk_kms_key = 23; - * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -1477,15 +1326,14 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1496,15 +1344,16 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 23; - * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -1515,14 +1364,11 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { public static final int GCFS_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1.GcfsConfig gcfsConfig_; /** - * - * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; - * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -1530,25 +1376,18 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** - * - * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; - * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } /** - * - * *
    * Google Container File System (image streaming) configs.
    * 
@@ -1563,14 +1402,11 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { public static final int ADVANCED_MACHINE_FEATURES_FIELD_NUMBER = 26; private com.google.container.v1.AdvancedMachineFeatures advancedMachineFeatures_; /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return Whether the advancedMachineFeatures field is set. */ @java.lang.Override @@ -1578,25 +1414,18 @@ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeatures_ != null; } /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return The advancedMachineFeatures. */ @java.lang.Override public com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeatures() { - return advancedMachineFeatures_ == null - ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() - : advancedMachineFeatures_; + return advancedMachineFeatures_ == null ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; } /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
@@ -1604,22 +1433,18 @@ public com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeature * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ @java.lang.Override - public com.google.container.v1.AdvancedMachineFeaturesOrBuilder - getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { return getAdvancedMachineFeatures(); } public static final int GVNIC_FIELD_NUMBER = 29; private com.google.container.v1.VirtualNIC gvnic_; /** - * - * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -1627,14 +1452,11 @@ public boolean hasGvnic() { return gvnic_ != null; } /** - * - * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ @java.lang.Override @@ -1642,8 +1464,6 @@ public com.google.container.v1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } /** - * - * *
    * Enable or disable gvnic in the node pool.
    * 
@@ -1658,15 +1478,12 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { public static final int SPOT_FIELD_NUMBER = 32; private boolean spot_; /** - * - * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; - * * @return The spot. */ @java.lang.Override @@ -1677,15 +1494,12 @@ public boolean getSpot() { public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 35; private com.google.container.v1.ConfidentialNodes confidentialNodes_; /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; - * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -1693,26 +1507,19 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; - * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null - ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1728,14 +1535,11 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
   public static final int FAST_SOCKET_FIELD_NUMBER = 36;
   private com.google.container.v1.FastSocket fastSocket_;
   /**
-   *
-   *
    * 
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; - * * @return Whether the fastSocket field is set. */ @java.lang.Override @@ -1743,25 +1547,18 @@ public boolean hasFastSocket() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; - * * @return The fastSocket. */ @java.lang.Override public com.google.container.v1.FastSocket getFastSocket() { - return fastSocket_ == null - ? com.google.container.v1.FastSocket.getDefaultInstance() - : fastSocket_; + return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; } /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -1770,28 +1567,25 @@ public com.google.container.v1.FastSocket getFastSocket() { */ @java.lang.Override public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { - return fastSocket_ == null - ? com.google.container.v1.FastSocket.getDefaultInstance() - : fastSocket_; + return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; } public static final int RESOURCE_LABELS_FIELD_NUMBER = 37; - private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField resourceLabels_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1803,8 +1597,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1812,22 +1604,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 37;
    */
+
   @java.lang.Override
-  public boolean containsResourceLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsResourceLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1836,12 +1628,11 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
+
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1850,17 +1641,16 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
+
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1869,11 +1659,12 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+
+  public java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1883,14 +1674,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 38;
   private com.google.container.v1.NodePoolLoggingConfig loggingConfig_;
   /**
-   *
-   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1898,25 +1686,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration.
    * 
@@ -1929,7 +1710,6 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1941,7 +1721,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -1951,13 +1732,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, oauthScopes_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageType_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (localSsdCount_ != 0) { output.writeInt32(7, localSsdCount_); } @@ -2024,8 +1813,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(36, getFastSocket()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 37); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetResourceLabels(), + ResourceLabelsDefaultEntryHolder.defaultEntry, + 37); if (loggingConfig_ != null) { output.writeMessage(38, getLoggingConfig()); } @@ -2042,7 +1835,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, machineType_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, diskSizeGb_); } { int dataSize = 0; @@ -2052,31 +1846,32 @@ public int getSerializedSize() { size += dataSize; size += 1 * getOauthScopesList().size(); } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageType_); } - 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(6, labels__); + 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(6, labels__); } if (localSsdCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, localSsdCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, localSsdCount_); } { int dataSize = 0; @@ -2090,10 +1885,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceAccount_); } if (preemptible_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, preemptible_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, preemptible_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, diskType_); @@ -2102,67 +1899,76 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, minCpuPlatform_); } if (workloadMetadataConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getWorkloadMetadataConfig()); } for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, taints_.get(i)); } if (sandboxConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getSandboxConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getSandboxConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, nodeGroup_); } if (reservationAffinity_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(19, getReservationAffinity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getReservationAffinity()); } if (shieldedInstanceConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(20, getShieldedInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getShieldedInstanceConfig()); } if (linuxNodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getLinuxNodeConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getLinuxNodeConfig()); } if (kubeletConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getKubeletConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getKubeletConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, bootDiskKmsKey_); } if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getGcfsConfig()); } if (advancedMachineFeatures_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 26, getAdvancedMachineFeatures()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getAdvancedMachineFeatures()); } if (gvnic_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getGvnic()); } if (spot_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(32, spot_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(32, spot_); } if (confidentialNodes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, getConfidentialNodes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(35, getConfidentialNodes()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(36, getFastSocket()); - } - for (java.util.Map.Entry entry : - internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry resourceLabels__ = - ResourceLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, resourceLabels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(36, getFastSocket()); + } + for (java.util.Map.Entry entry + : internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, resourceLabels__); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2172,78 +1978,108 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeConfig)) { return super.equals(obj); } com.google.container.v1.NodeConfig other = (com.google.container.v1.NodeConfig) obj; - if (!getMachineType().equals(other.getMachineType())) return false; - if (getDiskSizeGb() != other.getDiskSizeGb()) return false; - if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getImageType().equals(other.getImageType())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (getLocalSsdCount() != other.getLocalSsdCount()) return false; - if (!getTagsList().equals(other.getTagsList())) return false; - if (getPreemptible() != other.getPreemptible()) return false; - if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; - if (!getDiskType().equals(other.getDiskType())) return false; - if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; + if (getDiskSizeGb() + != other.getDiskSizeGb()) return false; + if (!getOauthScopesList() + .equals(other.getOauthScopesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getImageType() + .equals(other.getImageType())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (getLocalSsdCount() + != other.getLocalSsdCount()) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (getPreemptible() + != other.getPreemptible()) return false; + if (!getAcceleratorsList() + .equals(other.getAcceleratorsList())) return false; + if (!getDiskType() + .equals(other.getDiskType())) return false; + if (!getMinCpuPlatform() + .equals(other.getMinCpuPlatform())) return false; if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false; if (hasWorkloadMetadataConfig()) { - if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false; + if (!getWorkloadMetadataConfig() + .equals(other.getWorkloadMetadataConfig())) return false; } - if (!getTaintsList().equals(other.getTaintsList())) return false; + if (!getTaintsList() + .equals(other.getTaintsList())) return false; if (hasSandboxConfig() != other.hasSandboxConfig()) return false; if (hasSandboxConfig()) { - if (!getSandboxConfig().equals(other.getSandboxConfig())) return false; + if (!getSandboxConfig() + .equals(other.getSandboxConfig())) return false; } - if (!getNodeGroup().equals(other.getNodeGroup())) return false; + if (!getNodeGroup() + .equals(other.getNodeGroup())) return false; if (hasReservationAffinity() != other.hasReservationAffinity()) return false; if (hasReservationAffinity()) { - if (!getReservationAffinity().equals(other.getReservationAffinity())) return false; + if (!getReservationAffinity() + .equals(other.getReservationAffinity())) return false; } if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig() + .equals(other.getShieldedInstanceConfig())) return false; } if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false; if (hasLinuxNodeConfig()) { - if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false; + if (!getLinuxNodeConfig() + .equals(other.getLinuxNodeConfig())) return false; } if (hasKubeletConfig() != other.hasKubeletConfig()) return false; if (hasKubeletConfig()) { - if (!getKubeletConfig().equals(other.getKubeletConfig())) return false; + if (!getKubeletConfig() + .equals(other.getKubeletConfig())) return false; } - if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; + if (!getBootDiskKmsKey() + .equals(other.getBootDiskKmsKey())) return false; if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig() + .equals(other.getGcfsConfig())) return false; } if (hasAdvancedMachineFeatures() != other.hasAdvancedMachineFeatures()) return false; if (hasAdvancedMachineFeatures()) { - if (!getAdvancedMachineFeatures().equals(other.getAdvancedMachineFeatures())) return false; + if (!getAdvancedMachineFeatures() + .equals(other.getAdvancedMachineFeatures())) return false; } if (hasGvnic() != other.hasGvnic()) return false; if (hasGvnic()) { - if (!getGvnic().equals(other.getGvnic())) return false; + if (!getGvnic() + .equals(other.getGvnic())) return false; } - if (getSpot() != other.getSpot()) return false; + if (getSpot() + != other.getSpot()) return false; if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; if (hasConfidentialNodes()) { - if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; + if (!getConfidentialNodes() + .equals(other.getConfidentialNodes())) return false; } if (hasFastSocket() != other.hasFastSocket()) return false; if (hasFastSocket()) { - if (!getFastSocket().equals(other.getFastSocket())) return false; + if (!getFastSocket() + .equals(other.getFastSocket())) return false; } - if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; + if (!internalGetResourceLabels().equals( + other.internalGetResourceLabels())) return false; if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2283,7 +2119,8 @@ public int hashCode() { hash = (53 * hash) + getTagsList().hashCode(); } hash = (37 * hash) + PREEMPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPreemptible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPreemptible()); if (getAcceleratorsCount() > 0) { hash = (37 * hash) + ACCELERATORS_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorsList().hashCode(); @@ -2337,7 +2174,8 @@ public int hashCode() { hash = (53 * hash) + getGvnic().hashCode(); } hash = (37 * hash) + SPOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSpot()); if (hasConfidentialNodes()) { hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; hash = (53 * hash) + getConfidentialNodes().hashCode(); @@ -2359,103 +2197,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.NodeConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.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.container.v1.NodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that describe the nodes in a cluster.
    * GKE Autopilot clusters do not
@@ -2466,17 +2298,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodeConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeConfig)
       com.google.container.v1.NodeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMetadata();
@@ -2485,12 +2318,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
         case 37:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableMetadata();
@@ -2499,18 +2333,16 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         case 37:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeConfig.class,
-              com.google.container.v1.NodeConfig.Builder.class);
+              com.google.container.v1.NodeConfig.class, com.google.container.v1.NodeConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeConfig.newBuilder()
@@ -2518,19 +2350,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getAcceleratorsFieldBuilder();
         getTaintsFieldBuilder();
         getFastSocketFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2653,9 +2485,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -2794,39 +2626,38 @@ public com.google.container.v1.NodeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeConfig) {
-        return mergeFrom((com.google.container.v1.NodeConfig) other);
+        return mergeFrom((com.google.container.v1.NodeConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2856,12 +2687,14 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
         serviceAccount_ = other.serviceAccount_;
         onChanged();
       }
-      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(
+          other.internalGetMetadata());
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.getLocalSsdCount() != 0) {
         setLocalSsdCount(other.getLocalSsdCount());
       }
@@ -2896,10 +2729,9 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
             acceleratorsBuilder_ = null;
             accelerators_ = other.accelerators_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            acceleratorsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAcceleratorsFieldBuilder()
-                    : null;
+            acceleratorsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAcceleratorsFieldBuilder() : null;
           } else {
             acceleratorsBuilder_.addAllMessages(other.accelerators_);
           }
@@ -2934,10 +2766,9 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            taintsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaintsFieldBuilder()
-                    : null;
+            taintsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaintsFieldBuilder() : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -2984,7 +2815,8 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
       if (other.hasFastSocket()) {
         mergeFastSocket(other.getFastSocket());
       }
-      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
+      internalGetMutableResourceLabels().mergeFrom(
+          other.internalGetResourceLabels());
       if (other.hasLoggingConfig()) {
         mergeLoggingConfig(other.getLoggingConfig());
       }
@@ -3014,229 +2846,213 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                machineType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                diskSizeGb_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureOauthScopesIsMutable();
-                oauthScopes_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.protobuf.MapEntry metadata__ =
-                    input.readMessage(
-                        MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableMetadata()
-                    .getMutableMap()
-                    .put(metadata__.getKey(), metadata__.getValue());
-                break;
-              } // case 34
-            case 42:
-              {
-                imageType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 50
-            case 56:
-              {
-                localSsdCount_ = input.readInt32();
-
-                break;
-              } // case 56
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTagsIsMutable();
-                tags_.add(s);
-                break;
-              } // case 66
-            case 74:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 80:
-              {
-                preemptible_ = input.readBool();
-
-                break;
-              } // case 80
-            case 90:
-              {
-                com.google.container.v1.AcceleratorConfig m =
-                    input.readMessage(
-                        com.google.container.v1.AcceleratorConfig.parser(), extensionRegistry);
-                if (acceleratorsBuilder_ == null) {
-                  ensureAcceleratorsIsMutable();
-                  accelerators_.add(m);
-                } else {
-                  acceleratorsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 90
-            case 98:
-              {
-                diskType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 106:
-              {
-                minCpuPlatform_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(
-                    getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 114
-            case 122:
-              {
-                com.google.container.v1.NodeTaint m =
-                    input.readMessage(
-                        com.google.container.v1.NodeTaint.parser(), extensionRegistry);
-                if (taintsBuilder_ == null) {
-                  ensureTaintsIsMutable();
-                  taints_.add(m);
-                } else {
-                  taintsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 122
-            case 138:
-              {
-                input.readMessage(getSandboxConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 138
-            case 146:
-              {
-                nodeGroup_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(
-                    getReservationAffinityFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 154
-            case 162:
-              {
-                input.readMessage(
-                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 178
-            case 186:
-              {
-                bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 186
-            case 202:
-              {
-                input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getAdvancedMachineFeaturesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 210
-            case 234:
-              {
-                input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 234
-            case 256:
-              {
-                spot_ = input.readBool();
-
-                break;
-              } // case 256
-            case 282:
-              {
-                input.readMessage(
-                    getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 282
-            case 290:
-              {
-                input.readMessage(getFastSocketFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 290
-            case 298:
-              {
-                com.google.protobuf.MapEntry resourceLabels__ =
-                    input.readMessage(
-                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableResourceLabels()
-                    .getMutableMap()
-                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
-                break;
-              } // case 298
-            case 306:
-              {
-                input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 306
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              machineType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              diskSizeGb_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureOauthScopesIsMutable();
+              oauthScopes_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              com.google.protobuf.MapEntry
+              metadata__ = input.readMessage(
+                  MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableMetadata().getMutableMap().put(
+                  metadata__.getKey(), metadata__.getValue());
+              break;
+            } // case 34
+            case 42: {
+              imageType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 50
+            case 56: {
+              localSsdCount_ = input.readInt32();
+
+              break;
+            } // case 56
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTagsIsMutable();
+              tags_.add(s);
+              break;
+            } // case 66
+            case 74: {
+              serviceAccount_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 80: {
+              preemptible_ = input.readBool();
+
+              break;
+            } // case 80
+            case 90: {
+              com.google.container.v1.AcceleratorConfig m =
+                  input.readMessage(
+                      com.google.container.v1.AcceleratorConfig.parser(),
+                      extensionRegistry);
+              if (acceleratorsBuilder_ == null) {
+                ensureAcceleratorsIsMutable();
+                accelerators_.add(m);
+              } else {
+                acceleratorsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 90
+            case 98: {
+              diskType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 98
+            case 106: {
+              minCpuPlatform_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getWorkloadMetadataConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 114
+            case 122: {
+              com.google.container.v1.NodeTaint m =
+                  input.readMessage(
+                      com.google.container.v1.NodeTaint.parser(),
+                      extensionRegistry);
+              if (taintsBuilder_ == null) {
+                ensureTaintsIsMutable();
+                taints_.add(m);
+              } else {
+                taintsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 122
+            case 138: {
+              input.readMessage(
+                  getSandboxConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 138
+            case 146: {
+              nodeGroup_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getReservationAffinityFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getLinuxNodeConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getKubeletConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 178
+            case 186: {
+              bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 186
+            case 202: {
+              input.readMessage(
+                  getGcfsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getAdvancedMachineFeaturesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 210
+            case 234: {
+              input.readMessage(
+                  getGvnicFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 234
+            case 256: {
+              spot_ = input.readBool();
+
+              break;
+            } // case 256
+            case 282: {
+              input.readMessage(
+                  getConfidentialNodesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 282
+            case 290: {
+              input.readMessage(
+                  getFastSocketFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 290
+            case 298: {
+              com.google.protobuf.MapEntry
+              resourceLabels__ = input.readMessage(
+                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableResourceLabels().getMutableMap().put(
+                  resourceLabels__.getKey(), resourceLabels__.getValue());
+              break;
+            } // case 298
+            case 306: {
+              input.readMessage(
+                  getLoggingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 306
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3246,13 +3062,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object machineType_ = "";
     /**
-     *
-     *
      * 
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3260,13 +3073,13 @@ public Builder mergeFrom(
      * 
* * string machine_type = 1; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -3275,8 +3088,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3284,14 +3095,15 @@ public java.lang.String getMachineType() {
      * 
* * string machine_type = 1; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -3299,8 +3111,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3308,22 +3118,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
      * 
* * string machine_type = 1; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3331,18 +3139,15 @@ public Builder setMachineType(java.lang.String value) {
      * 
* * string machine_type = 1; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3350,25 +3155,23 @@ public Builder clearMachineType() {
      * 
* * string machine_type = 1; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private int diskSizeGb_; + private int diskSizeGb_ ; /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3376,7 +3179,6 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 disk_size_gb = 2; - * * @return The diskSizeGb. */ @java.lang.Override @@ -3384,8 +3186,6 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3393,19 +3193,16 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 2; - * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3413,28 +3210,23 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 2; - * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3451,15 +3243,13 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 3; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3476,15 +3266,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
      * 
* * repeated string oauth_scopes = 3; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3501,7 +3288,6 @@ public int getOauthScopesCount() {
      * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -3509,8 +3295,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3527,16 +3311,14 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3553,23 +3335,21 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
      * 
* * repeated string oauth_scopes = 3; - * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes(int index, java.lang.String value) { + public Builder setOauthScopes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3586,22 +3366,20 @@ public Builder setOauthScopes(int index, java.lang.String value) {
      * 
* * repeated string oauth_scopes = 3; - * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes(java.lang.String value) { + public Builder addOauthScopes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3618,19 +3396,18 @@ public Builder addOauthScopes(java.lang.String value) {
      * 
* * repeated string oauth_scopes = 3; - * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes(java.lang.Iterable values) { + public Builder addAllOauthScopes( + java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oauthScopes_); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3647,7 +3424,6 @@ public Builder addAllOauthScopes(java.lang.Iterable values) {
      * 
* * repeated string oauth_scopes = 3; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -3657,8 +3433,6 @@ public Builder clearOauthScopes() { return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3675,15 +3449,15 @@ public Builder clearOauthScopes() {
      * 
* * repeated string oauth_scopes = 3; - * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -3692,8 +3466,6 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3701,13 +3473,13 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account = 9; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -3716,8 +3488,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3725,14 +3495,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -3740,8 +3511,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3749,22 +3518,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 9; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3772,18 +3539,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 9; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3791,37 +3555,37 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 9; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3833,8 +3597,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3868,22 +3630,22 @@ public int getMetadataCount() {
      *
      * map<string, string> metadata = 4;
      */
+
     @java.lang.Override
-    public boolean containsMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /** Use {@link #getMetadataMap()} instead. */
+    /**
+     * Use {@link #getMetadataMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3918,12 +3680,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3958,17 +3719,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4003,11 +3763,12 @@ public java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+
+    public java.lang.String getMetadataOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4015,12 +3776,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4054,21 +3814,23 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder removeMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMetadata().getMutableMap().remove(key);
+
+    public Builder removeMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMetadata().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableMetadata() {
+    public java.util.Map
+    getMutableMetadata() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4102,20 +3864,19 @@ public java.util.Map getMutableMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putMetadata(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4149,28 +3910,29 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putAllMetadata(java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap().putAll(values);
+
+    public Builder putAllMetadata(
+        java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private java.lang.Object imageType_ = "";
     /**
-     *
-     *
      * 
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -4179,22 +3941,21 @@ public java.lang.String getImageType() { } } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -4202,84 +3963,78 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4291,8 +4046,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4306,22 +4059,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 6;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4336,12 +4089,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4356,17 +4108,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4381,11 +4132,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4393,12 +4145,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4412,21 +4163,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4440,20 +4193,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 6;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4467,15 +4219,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 6;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private int localSsdCount_;
+    private int localSsdCount_ ;
     /**
-     *
-     *
      * 
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4485,7 +4238,6 @@ public Builder putAllLabels(java.util.Map va
      * 
* * int32 local_ssd_count = 7; - * * @return The localSsdCount. */ @java.lang.Override @@ -4493,8 +4245,6 @@ public int getLocalSsdCount() { return localSsdCount_; } /** - * - * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4504,19 +4254,16 @@ public int getLocalSsdCount() {
      * 
* * int32 local_ssd_count = 7; - * * @param value The localSsdCount to set. * @return This builder for chaining. */ public Builder setLocalSsdCount(int value) { - + localSsdCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4526,28 +4273,23 @@ public Builder setLocalSsdCount(int value) {
      * 
* * int32 local_ssd_count = 7; - * * @return This builder for chaining. */ public Builder clearLocalSsdCount() { - + localSsdCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4556,15 +4298,13 @@ private void ensureTagsIsMutable() {
      * 
* * repeated string tags = 8; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4573,15 +4313,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
      * 
* * repeated string tags = 8; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4590,7 +4327,6 @@ public int getTagsCount() {
      * 
* * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -4598,8 +4334,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4608,16 +4342,14 @@ public java.lang.String getTags(int index) {
      * 
* * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4626,23 +4358,21 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
      * 
* * repeated string tags = 8; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4651,22 +4381,20 @@ public Builder setTags(int index, java.lang.String value) {
      * 
* * repeated string tags = 8; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4675,19 +4403,18 @@ public Builder addTags(java.lang.String value) {
      * 
* * repeated string tags = 8; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4696,7 +4423,6 @@ public Builder addAllTags(java.lang.Iterable values) {
      * 
* * repeated string tags = 8; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -4706,8 +4432,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4716,25 +4440,23 @@ public Builder clearTags() {
      * 
* * repeated string tags = 8; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private boolean preemptible_; + private boolean preemptible_ ; /** - * - * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4742,7 +4464,6 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * bool preemptible = 10; - * * @return The preemptible. */ @java.lang.Override @@ -4750,8 +4471,6 @@ public boolean getPreemptible() { return preemptible_; } /** - * - * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4759,19 +4478,16 @@ public boolean getPreemptible() {
      * 
* * bool preemptible = 10; - * * @param value The preemptible to set. * @return This builder for chaining. */ public Builder setPreemptible(boolean value) { - + preemptible_ = value; onChanged(); return this; } /** - * - * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4779,36 +4495,28 @@ public Builder setPreemptible(boolean value) {
      * 
* * bool preemptible = 10; - * * @return This builder for chaining. */ public Builder clearPreemptible() { - + preemptible_ = false; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - accelerators_ = - new java.util.ArrayList(accelerators_); + accelerators_ = new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.AcceleratorConfig, - com.google.container.v1.AcceleratorConfig.Builder, - com.google.container.v1.AcceleratorConfigOrBuilder> - acceleratorsBuilder_; + com.google.container.v1.AcceleratorConfig, com.google.container.v1.AcceleratorConfig.Builder, com.google.container.v1.AcceleratorConfigOrBuilder> acceleratorsBuilder_; /** - * - * *
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4825,8 +4533,6 @@ public java.util.List getAccelerators
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4843,8 +4549,6 @@ public int getAcceleratorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4861,8 +4565,6 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4871,7 +4573,8 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public Builder setAccelerators(int index, com.google.container.v1.AcceleratorConfig value) {
+    public Builder setAccelerators(
+        int index, com.google.container.v1.AcceleratorConfig value) {
       if (acceleratorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4885,8 +4588,6 @@ public Builder setAccelerators(int index, com.google.container.v1.AcceleratorCon
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4907,8 +4608,6 @@ public Builder setAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4931,8 +4630,6 @@ public Builder addAccelerators(com.google.container.v1.AcceleratorConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4941,7 +4638,8 @@ public Builder addAccelerators(com.google.container.v1.AcceleratorConfig value)
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public Builder addAccelerators(int index, com.google.container.v1.AcceleratorConfig value) {
+    public Builder addAccelerators(
+        int index, com.google.container.v1.AcceleratorConfig value) {
       if (acceleratorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4955,8 +4653,6 @@ public Builder addAccelerators(int index, com.google.container.v1.AcceleratorCon
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4977,8 +4673,6 @@ public Builder addAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4999,8 +4693,6 @@ public Builder addAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5013,7 +4705,8 @@ public Builder addAllAccelerators(
         java.lang.Iterable values) {
       if (acceleratorsBuilder_ == null) {
         ensureAcceleratorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, accelerators_);
         onChanged();
       } else {
         acceleratorsBuilder_.addAllMessages(values);
@@ -5021,8 +4714,6 @@ public Builder addAllAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5042,8 +4733,6 @@ public Builder clearAccelerators() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5063,8 +4752,6 @@ public Builder removeAccelerators(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5073,12 +4760,11 @@ public Builder removeAccelerators(int index) {
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public com.google.container.v1.AcceleratorConfig.Builder getAcceleratorsBuilder(int index) {
+    public com.google.container.v1.AcceleratorConfig.Builder getAcceleratorsBuilder(
+        int index) {
       return getAcceleratorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5087,16 +4773,14 @@ public com.google.container.v1.AcceleratorConfig.Builder getAcceleratorsBuilder(
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index) {
+    public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
+        int index) {
       if (acceleratorsBuilder_ == null) {
-        return accelerators_.get(index);
-      } else {
+        return accelerators_.get(index);  } else {
         return acceleratorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5105,8 +4789,8 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List
-        getAcceleratorsOrBuilderList() {
+    public java.util.List 
+         getAcceleratorsOrBuilderList() {
       if (acceleratorsBuilder_ != null) {
         return acceleratorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -5114,8 +4798,6 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5125,12 +4807,10 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
     public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder() {
-      return getAcceleratorsFieldBuilder()
-          .addBuilder(com.google.container.v1.AcceleratorConfig.getDefaultInstance());
+      return getAcceleratorsFieldBuilder().addBuilder(
+          com.google.container.v1.AcceleratorConfig.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5139,13 +4819,12 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(int index) {
-      return getAcceleratorsFieldBuilder()
-          .addBuilder(index, com.google.container.v1.AcceleratorConfig.getDefaultInstance());
+    public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
+        int index) {
+      return getAcceleratorsFieldBuilder().addBuilder(
+          index, com.google.container.v1.AcceleratorConfig.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5154,23 +4833,20 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List
-        getAcceleratorsBuilderList() {
+    public java.util.List 
+         getAcceleratorsBuilderList() {
       return getAcceleratorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.AcceleratorConfig,
-            com.google.container.v1.AcceleratorConfig.Builder,
-            com.google.container.v1.AcceleratorConfigOrBuilder>
+        com.google.container.v1.AcceleratorConfig, com.google.container.v1.AcceleratorConfig.Builder, com.google.container.v1.AcceleratorConfigOrBuilder> 
         getAcceleratorsFieldBuilder() {
       if (acceleratorsBuilder_ == null) {
-        acceleratorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1.AcceleratorConfig,
-                com.google.container.v1.AcceleratorConfig.Builder,
-                com.google.container.v1.AcceleratorConfigOrBuilder>(
-                accelerators_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1.AcceleratorConfig, com.google.container.v1.AcceleratorConfig.Builder, com.google.container.v1.AcceleratorConfigOrBuilder>(
+                accelerators_,
+                ((bitField0_ & 0x00000010) != 0),
+                getParentForChildren(),
+                isClean());
         accelerators_ = null;
       }
       return acceleratorsBuilder_;
@@ -5178,8 +4854,6 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
 
     private java.lang.Object diskType_ = "";
     /**
-     *
-     *
      * 
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5187,13 +4861,13 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
      * 
* * string disk_type = 12; - * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -5202,8 +4876,6 @@ public java.lang.String getDiskType() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5211,14 +4883,15 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 12; - * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -5226,8 +4899,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5235,22 +4906,20 @@ public com.google.protobuf.ByteString getDiskTypeBytes() {
      * 
* * string disk_type = 12; - * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType(java.lang.String value) { + public Builder setDiskType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5258,18 +4927,15 @@ public Builder setDiskType(java.lang.String value) {
      * 
* * string disk_type = 12; - * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5277,16 +4943,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 12; - * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -5294,8 +4960,6 @@ public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object minCpuPlatform_ = ""; /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5307,13 +4971,13 @@ public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string min_cpu_platform = 13; - * * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -5322,8 +4986,6 @@ public java.lang.String getMinCpuPlatform() { } } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5335,14 +4997,15 @@ public java.lang.String getMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; - * * @return The bytes for minCpuPlatform. */ - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -5350,8 +5013,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { } } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5363,22 +5024,20 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
      * 
* * string min_cpu_platform = 13; - * * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatform(java.lang.String value) { + public Builder setMinCpuPlatform( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5390,18 +5049,15 @@ public Builder setMinCpuPlatform(java.lang.String value) {
      * 
* * string min_cpu_platform = 13; - * * @return This builder for chaining. */ public Builder clearMinCpuPlatform() { - + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5413,16 +5069,16 @@ public Builder clearMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; - * * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { + public Builder setMinCpuPlatformBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; @@ -5430,47 +5086,34 @@ public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, - com.google.container.v1.WorkloadMetadataConfig.Builder, - com.google.container.v1.WorkloadMetadataConfigOrBuilder> - workloadMetadataConfigBuilder_; + com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null - ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** - * - * *
      * The workload metadata configuration for this node.
      * 
@@ -5491,8 +5134,6 @@ public Builder setWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadat return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
@@ -5511,22 +5152,17 @@ public Builder setWorkloadMetadataConfig( return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig( - com.google.container.v1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -5538,8 +5174,6 @@ public Builder mergeWorkloadMetadataConfig( return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
@@ -5558,42 +5192,33 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfig.Builder - getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null - ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? + com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } } /** - * - * *
      * The workload metadata configuration for this node.
      * 
@@ -5601,41 +5226,32 @@ public Builder clearWorkloadMetadataConfig() { * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, - com.google.container.v1.WorkloadMetadataConfig.Builder, - com.google.container.v1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, - com.google.container.v1.WorkloadMetadataConfig.Builder, - com.google.container.v1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), getParentForChildren(), isClean()); + workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), + getParentForChildren(), + isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodeTaint, - com.google.container.v1.NodeTaint.Builder, - com.google.container.v1.NodeTaintOrBuilder> - taintsBuilder_; + com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> taintsBuilder_; /** - * - * *
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5652,8 +5268,6 @@ public java.util.List getTaintsList() {
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5670,8 +5284,6 @@ public int getTaintsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5688,8 +5300,6 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5698,7 +5308,8 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder setTaints(int index, com.google.container.v1.NodeTaint value) {
+    public Builder setTaints(
+        int index, com.google.container.v1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5712,8 +5323,6 @@ public Builder setTaints(int index, com.google.container.v1.NodeTaint value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5722,7 +5331,8 @@ public Builder setTaints(int index, com.google.container.v1.NodeTaint value) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder setTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
+    public Builder setTaints(
+        int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.set(index, builderForValue.build());
@@ -5733,8 +5343,6 @@ public Builder setTaints(int index, com.google.container.v1.NodeTaint.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5757,8 +5365,6 @@ public Builder addTaints(com.google.container.v1.NodeTaint value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5767,7 +5373,8 @@ public Builder addTaints(com.google.container.v1.NodeTaint value) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder addTaints(int index, com.google.container.v1.NodeTaint value) {
+    public Builder addTaints(
+        int index, com.google.container.v1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5781,8 +5388,6 @@ public Builder addTaints(int index, com.google.container.v1.NodeTaint value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5791,7 +5396,8 @@ public Builder addTaints(int index, com.google.container.v1.NodeTaint value) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForValue) {
+    public Builder addTaints(
+        com.google.container.v1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.add(builderForValue.build());
@@ -5802,8 +5408,6 @@ public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5812,7 +5416,8 @@ public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForVal
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder addTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
+    public Builder addTaints(
+        int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.add(index, builderForValue.build());
@@ -5823,8 +5428,6 @@ public Builder addTaints(int index, com.google.container.v1.NodeTaint.Builder bu
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5837,7 +5440,8 @@ public Builder addAllTaints(
         java.lang.Iterable values) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, taints_);
         onChanged();
       } else {
         taintsBuilder_.addAllMessages(values);
@@ -5845,8 +5449,6 @@ public Builder addAllTaints(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5866,8 +5468,6 @@ public Builder clearTaints() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5887,8 +5487,6 @@ public Builder removeTaints(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5897,12 +5495,11 @@ public Builder removeTaints(int index) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(int index) {
+    public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(
+        int index) {
       return getTaintsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5911,16 +5508,14 @@ public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(int index) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
+    public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
+        int index) {
       if (taintsBuilder_ == null) {
-        return taints_.get(index);
-      } else {
+        return taints_.get(index);  } else {
         return taintsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5929,8 +5524,8 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index)
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public java.util.List
-        getTaintsOrBuilderList() {
+    public java.util.List 
+         getTaintsOrBuilderList() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilderList();
       } else {
@@ -5938,8 +5533,6 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index)
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5949,12 +5542,10 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index)
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
     public com.google.container.v1.NodeTaint.Builder addTaintsBuilder() {
-      return getTaintsFieldBuilder()
-          .addBuilder(com.google.container.v1.NodeTaint.getDefaultInstance());
+      return getTaintsFieldBuilder().addBuilder(
+          com.google.container.v1.NodeTaint.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5963,13 +5554,12 @@ public com.google.container.v1.NodeTaint.Builder addTaintsBuilder() {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(int index) {
-      return getTaintsFieldBuilder()
-          .addBuilder(index, com.google.container.v1.NodeTaint.getDefaultInstance());
+    public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(
+        int index) {
+      return getTaintsFieldBuilder().addBuilder(
+          index, com.google.container.v1.NodeTaint.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5978,22 +5568,20 @@ public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(int index) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public java.util.List getTaintsBuilderList() {
+    public java.util.List 
+         getTaintsBuilderList() {
       return getTaintsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.NodeTaint,
-            com.google.container.v1.NodeTaint.Builder,
-            com.google.container.v1.NodeTaintOrBuilder>
+        com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> 
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1.NodeTaint,
-                com.google.container.v1.NodeTaint.Builder,
-                com.google.container.v1.NodeTaintOrBuilder>(
-                taints_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder>(
+                taints_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -6001,47 +5589,34 @@ public java.util.List getTaintsBuilde
 
     private com.google.container.v1.SandboxConfig sandboxConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.SandboxConfig,
-            com.google.container.v1.SandboxConfig.Builder,
-            com.google.container.v1.SandboxConfigOrBuilder>
-        sandboxConfigBuilder_;
+        com.google.container.v1.SandboxConfig, com.google.container.v1.SandboxConfig.Builder, com.google.container.v1.SandboxConfigOrBuilder> sandboxConfigBuilder_;
     /**
-     *
-     *
      * 
      * Sandbox configuration for this node.
      * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; - * * @return Whether the sandboxConfig field is set. */ public boolean hasSandboxConfig() { return sandboxConfigBuilder_ != null || sandboxConfig_ != null; } /** - * - * *
      * Sandbox configuration for this node.
      * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; - * * @return The sandboxConfig. */ public com.google.container.v1.SandboxConfig getSandboxConfig() { if (sandboxConfigBuilder_ == null) { - return sandboxConfig_ == null - ? com.google.container.v1.SandboxConfig.getDefaultInstance() - : sandboxConfig_; + return sandboxConfig_ == null ? com.google.container.v1.SandboxConfig.getDefaultInstance() : sandboxConfig_; } else { return sandboxConfigBuilder_.getMessage(); } } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -6062,15 +5637,14 @@ public Builder setSandboxConfig(com.google.container.v1.SandboxConfig value) { return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; */ - public Builder setSandboxConfig(com.google.container.v1.SandboxConfig.Builder builderForValue) { + public Builder setSandboxConfig( + com.google.container.v1.SandboxConfig.Builder builderForValue) { if (sandboxConfigBuilder_ == null) { sandboxConfig_ = builderForValue.build(); onChanged(); @@ -6081,8 +5655,6 @@ public Builder setSandboxConfig(com.google.container.v1.SandboxConfig.Builder bu return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -6093,9 +5665,7 @@ public Builder mergeSandboxConfig(com.google.container.v1.SandboxConfig value) { if (sandboxConfigBuilder_ == null) { if (sandboxConfig_ != null) { sandboxConfig_ = - com.google.container.v1.SandboxConfig.newBuilder(sandboxConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.SandboxConfig.newBuilder(sandboxConfig_).mergeFrom(value).buildPartial(); } else { sandboxConfig_ = value; } @@ -6107,8 +5677,6 @@ public Builder mergeSandboxConfig(com.google.container.v1.SandboxConfig value) { return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -6127,8 +5695,6 @@ public Builder clearSandboxConfig() { return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -6136,13 +5702,11 @@ public Builder clearSandboxConfig() { * .google.container.v1.SandboxConfig sandbox_config = 17; */ public com.google.container.v1.SandboxConfig.Builder getSandboxConfigBuilder() { - + onChanged(); return getSandboxConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -6153,14 +5717,11 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( if (sandboxConfigBuilder_ != null) { return sandboxConfigBuilder_.getMessageOrBuilder(); } else { - return sandboxConfig_ == null - ? com.google.container.v1.SandboxConfig.getDefaultInstance() - : sandboxConfig_; + return sandboxConfig_ == null ? + com.google.container.v1.SandboxConfig.getDefaultInstance() : sandboxConfig_; } } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -6168,17 +5729,14 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( * .google.container.v1.SandboxConfig sandbox_config = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.SandboxConfig, - com.google.container.v1.SandboxConfig.Builder, - com.google.container.v1.SandboxConfigOrBuilder> + com.google.container.v1.SandboxConfig, com.google.container.v1.SandboxConfig.Builder, com.google.container.v1.SandboxConfigOrBuilder> getSandboxConfigFieldBuilder() { if (sandboxConfigBuilder_ == null) { - sandboxConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.SandboxConfig, - com.google.container.v1.SandboxConfig.Builder, - com.google.container.v1.SandboxConfigOrBuilder>( - getSandboxConfig(), getParentForChildren(), isClean()); + sandboxConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.SandboxConfig, com.google.container.v1.SandboxConfig.Builder, com.google.container.v1.SandboxConfigOrBuilder>( + getSandboxConfig(), + getParentForChildren(), + isClean()); sandboxConfig_ = null; } return sandboxConfigBuilder_; @@ -6186,8 +5744,6 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( private java.lang.Object nodeGroup_ = ""; /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -6196,13 +5752,13 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(
      * 
* * string node_group = 18; - * * @return The nodeGroup. */ public java.lang.String getNodeGroup() { java.lang.Object ref = nodeGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; @@ -6211,8 +5767,6 @@ public java.lang.String getNodeGroup() { } } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -6221,14 +5775,15 @@ public java.lang.String getNodeGroup() {
      * 
* * string node_group = 18; - * * @return The bytes for nodeGroup. */ - public com.google.protobuf.ByteString getNodeGroupBytes() { + public com.google.protobuf.ByteString + getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -6236,8 +5791,6 @@ public com.google.protobuf.ByteString getNodeGroupBytes() { } } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -6246,22 +5799,20 @@ public com.google.protobuf.ByteString getNodeGroupBytes() {
      * 
* * string node_group = 18; - * * @param value The nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroup(java.lang.String value) { + public Builder setNodeGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeGroup_ = value; onChanged(); return this; } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -6270,18 +5821,15 @@ public Builder setNodeGroup(java.lang.String value) {
      * 
* * string node_group = 18; - * * @return This builder for chaining. */ public Builder clearNodeGroup() { - + nodeGroup_ = getDefaultInstance().getNodeGroup(); onChanged(); return this; } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -6290,16 +5838,16 @@ public Builder clearNodeGroup() {
      * 
* * string node_group = 18; - * * @param value The bytes for nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) { + public Builder setNodeGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeGroup_ = value; onChanged(); return this; @@ -6307,13 +5855,8 @@ public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.ReservationAffinity reservationAffinity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReservationAffinity, - com.google.container.v1.ReservationAffinity.Builder, - com.google.container.v1.ReservationAffinityOrBuilder> - reservationAffinityBuilder_; + com.google.container.v1.ReservationAffinity, com.google.container.v1.ReservationAffinity.Builder, com.google.container.v1.ReservationAffinityOrBuilder> reservationAffinityBuilder_; /** - * - * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6322,15 +5865,12 @@ public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; - * * @return Whether the reservationAffinity field is set. */ public boolean hasReservationAffinity() { return reservationAffinityBuilder_ != null || reservationAffinity_ != null; } /** - * - * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6339,21 +5879,16 @@ public boolean hasReservationAffinity() {
      * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; - * * @return The reservationAffinity. */ public com.google.container.v1.ReservationAffinity getReservationAffinity() { if (reservationAffinityBuilder_ == null) { - return reservationAffinity_ == null - ? com.google.container.v1.ReservationAffinity.getDefaultInstance() - : reservationAffinity_; + return reservationAffinity_ == null ? com.google.container.v1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; } else { return reservationAffinityBuilder_.getMessage(); } } /** - * - * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6377,8 +5912,6 @@ public Builder setReservationAffinity(com.google.container.v1.ReservationAffinit
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6400,8 +5933,6 @@ public Builder setReservationAffinity(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6415,9 +5946,7 @@ public Builder mergeReservationAffinity(com.google.container.v1.ReservationAffin
       if (reservationAffinityBuilder_ == null) {
         if (reservationAffinity_ != null) {
           reservationAffinity_ =
-              com.google.container.v1.ReservationAffinity.newBuilder(reservationAffinity_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ReservationAffinity.newBuilder(reservationAffinity_).mergeFrom(value).buildPartial();
         } else {
           reservationAffinity_ = value;
         }
@@ -6429,8 +5958,6 @@ public Builder mergeReservationAffinity(com.google.container.v1.ReservationAffin
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6452,8 +5979,6 @@ public Builder clearReservationAffinity() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6464,13 +5989,11 @@ public Builder clearReservationAffinity() {
      * .google.container.v1.ReservationAffinity reservation_affinity = 19;
      */
     public com.google.container.v1.ReservationAffinity.Builder getReservationAffinityBuilder() {
-
+      
       onChanged();
       return getReservationAffinityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6484,14 +6007,11 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
       if (reservationAffinityBuilder_ != null) {
         return reservationAffinityBuilder_.getMessageOrBuilder();
       } else {
-        return reservationAffinity_ == null
-            ? com.google.container.v1.ReservationAffinity.getDefaultInstance()
-            : reservationAffinity_;
+        return reservationAffinity_ == null ?
+            com.google.container.v1.ReservationAffinity.getDefaultInstance() : reservationAffinity_;
       }
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6502,17 +6022,14 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
      * .google.container.v1.ReservationAffinity reservation_affinity = 19;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ReservationAffinity,
-            com.google.container.v1.ReservationAffinity.Builder,
-            com.google.container.v1.ReservationAffinityOrBuilder>
+        com.google.container.v1.ReservationAffinity, com.google.container.v1.ReservationAffinity.Builder, com.google.container.v1.ReservationAffinityOrBuilder> 
         getReservationAffinityFieldBuilder() {
       if (reservationAffinityBuilder_ == null) {
-        reservationAffinityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ReservationAffinity,
-                com.google.container.v1.ReservationAffinity.Builder,
-                com.google.container.v1.ReservationAffinityOrBuilder>(
-                getReservationAffinity(), getParentForChildren(), isClean());
+        reservationAffinityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ReservationAffinity, com.google.container.v1.ReservationAffinity.Builder, com.google.container.v1.ReservationAffinityOrBuilder>(
+                getReservationAffinity(),
+                getParentForChildren(),
+                isClean());
         reservationAffinity_ = null;
       }
       return reservationAffinityBuilder_;
@@ -6520,47 +6037,34 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
 
     private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ShieldedInstanceConfig,
-            com.google.container.v1.ShieldedInstanceConfig.Builder,
-            com.google.container.v1.ShieldedInstanceConfigOrBuilder>
-        shieldedInstanceConfigBuilder_;
+        com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_;
     /**
-     *
-     *
      * 
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return The shieldedInstanceConfig. */ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null - ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Shielded Instance options.
      * 
@@ -6581,8 +6085,6 @@ public Builder setShieldedInstanceConfig(com.google.container.v1.ShieldedInstanc return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -6601,22 +6103,17 @@ public Builder setShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public Builder mergeShieldedInstanceConfig( - com.google.container.v1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig(com.google.container.v1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -6628,8 +6125,6 @@ public Builder mergeShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -6648,42 +6143,33 @@ public Builder clearShieldedInstanceConfig() { return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1.ShieldedInstanceConfig.Builder - getShieldedInstanceConfigBuilder() { - + public com.google.container.v1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null - ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? + com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } } /** - * - * *
      * Shielded Instance options.
      * 
@@ -6691,17 +6177,14 @@ public Builder clearShieldedInstanceConfig() { * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, - com.google.container.v1.ShieldedInstanceConfig.Builder, - com.google.container.v1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, - com.google.container.v1.ShieldedInstanceConfig.Builder, - com.google.container.v1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), getParentForChildren(), isClean()); + shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), + getParentForChildren(), + isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -6709,47 +6192,34 @@ public Builder clearShieldedInstanceConfig() { private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, - com.google.container.v1.LinuxNodeConfig.Builder, - com.google.container.v1.LinuxNodeConfigOrBuilder> - linuxNodeConfigBuilder_; + com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_; /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; - * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; - * * @return The linuxNodeConfig. */ public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null - ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6770,8 +6240,6 @@ public Builder setLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig value) return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6790,8 +6258,6 @@ public Builder setLinuxNodeConfig( return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6802,9 +6268,7 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); } else { linuxNodeConfig_ = value; } @@ -6816,8 +6280,6 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6836,8 +6298,6 @@ public Builder clearLinuxNodeConfig() { return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6845,13 +6305,11 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1.LinuxNodeConfig linux_node_config = 21; */ public com.google.container.v1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6862,14 +6320,11 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null - ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? + com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6877,17 +6332,14 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil * .google.container.v1.LinuxNodeConfig linux_node_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, - com.google.container.v1.LinuxNodeConfig.Builder, - com.google.container.v1.LinuxNodeConfigOrBuilder> + com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, - com.google.container.v1.LinuxNodeConfig.Builder, - com.google.container.v1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), getParentForChildren(), isClean()); + linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), + getParentForChildren(), + isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -6895,47 +6347,34 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil private com.google.container.v1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, - com.google.container.v1.NodeKubeletConfig.Builder, - com.google.container.v1.NodeKubeletConfigOrBuilder> - kubeletConfigBuilder_; + com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; - * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; - * * @return The kubeletConfig. */ public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null - ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -6956,8 +6395,6 @@ public Builder setKubeletConfig(com.google.container.v1.NodeKubeletConfig value) return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -6976,8 +6413,6 @@ public Builder setKubeletConfig( return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -6988,9 +6423,7 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); } else { kubeletConfig_ = value; } @@ -7002,8 +6435,6 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7022,8 +6453,6 @@ public Builder clearKubeletConfig() { return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7031,13 +6460,11 @@ public Builder clearKubeletConfig() { * .google.container.v1.NodeKubeletConfig kubelet_config = 22; */ public com.google.container.v1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7048,14 +6475,11 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null - ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? + com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7063,17 +6487,14 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil * .google.container.v1.NodeKubeletConfig kubelet_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, - com.google.container.v1.NodeKubeletConfig.Builder, - com.google.container.v1.NodeKubeletConfigOrBuilder> + com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, - com.google.container.v1.NodeKubeletConfig.Builder, - com.google.container.v1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), getParentForChildren(), isClean()); + kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), + getParentForChildren(), + isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -7081,8 +6502,6 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil private java.lang.Object bootDiskKmsKey_ = ""; /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -7093,13 +6512,13 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil
      * 
* * string boot_disk_kms_key = 23; - * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -7108,8 +6527,6 @@ public java.lang.String getBootDiskKmsKey() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -7120,14 +6537,15 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; - * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -7135,8 +6553,6 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -7147,22 +6563,20 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() {
      * 
* * string boot_disk_kms_key = 23; - * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey(java.lang.String value) { + public Builder setBootDiskKmsKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -7173,18 +6587,15 @@ public Builder setBootDiskKmsKey(java.lang.String value) {
      * 
* * string boot_disk_kms_key = 23; - * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -7195,16 +6606,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; - * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -7212,47 +6623,34 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> - gcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> gcfsConfigBuilder_; /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; - * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; - * * @return The gcfsConfig. */ public com.google.container.v1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
@@ -7273,15 +6671,14 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; */ - public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig( + com.google.container.v1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -7292,8 +6689,6 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderF return this; } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
@@ -7304,9 +6699,7 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); } else { gcfsConfig_ = value; } @@ -7318,8 +6711,6 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
@@ -7338,8 +6729,6 @@ public Builder clearGcfsConfig() { return this; } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
@@ -7347,13 +6736,11 @@ public Builder clearGcfsConfig() { * .google.container.v1.GcfsConfig gcfs_config = 25; */ public com.google.container.v1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
@@ -7364,14 +6751,11 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? + com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } } /** - * - * *
      * Google Container File System (image streaming) configs.
      * 
@@ -7379,17 +6763,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { * .google.container.v1.GcfsConfig gcfs_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder>( - getGcfsConfig(), getParentForChildren(), isClean()); + gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( + getGcfsConfig(), + getParentForChildren(), + isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -7397,55 +6778,41 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { private com.google.container.v1.AdvancedMachineFeatures advancedMachineFeatures_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AdvancedMachineFeatures, - com.google.container.v1.AdvancedMachineFeatures.Builder, - com.google.container.v1.AdvancedMachineFeaturesOrBuilder> - advancedMachineFeaturesBuilder_; + com.google.container.v1.AdvancedMachineFeatures, com.google.container.v1.AdvancedMachineFeatures.Builder, com.google.container.v1.AdvancedMachineFeaturesOrBuilder> advancedMachineFeaturesBuilder_; /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return Whether the advancedMachineFeatures field is set. */ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeaturesBuilder_ != null || advancedMachineFeatures_ != null; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return The advancedMachineFeatures. */ public com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeatures() { if (advancedMachineFeaturesBuilder_ == null) { - return advancedMachineFeatures_ == null - ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() - : advancedMachineFeatures_; + return advancedMachineFeatures_ == null ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; } else { return advancedMachineFeaturesBuilder_.getMessage(); } } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public Builder setAdvancedMachineFeatures( - com.google.container.v1.AdvancedMachineFeatures value) { + public Builder setAdvancedMachineFeatures(com.google.container.v1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7459,8 +6826,6 @@ public Builder setAdvancedMachineFeatures( return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
@@ -7479,22 +6844,17 @@ public Builder setAdvancedMachineFeatures( return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public Builder mergeAdvancedMachineFeatures( - com.google.container.v1.AdvancedMachineFeatures value) { + public Builder mergeAdvancedMachineFeatures(com.google.container.v1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (advancedMachineFeatures_ != null) { advancedMachineFeatures_ = - com.google.container.v1.AdvancedMachineFeatures.newBuilder(advancedMachineFeatures_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AdvancedMachineFeatures.newBuilder(advancedMachineFeatures_).mergeFrom(value).buildPartial(); } else { advancedMachineFeatures_ = value; } @@ -7506,8 +6866,6 @@ public Builder mergeAdvancedMachineFeatures( return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
@@ -7526,42 +6884,33 @@ public Builder clearAdvancedMachineFeatures() { return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public com.google.container.v1.AdvancedMachineFeatures.Builder - getAdvancedMachineFeaturesBuilder() { - + public com.google.container.v1.AdvancedMachineFeatures.Builder getAdvancedMachineFeaturesBuilder() { + onChanged(); return getAdvancedMachineFeaturesFieldBuilder().getBuilder(); } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public com.google.container.v1.AdvancedMachineFeaturesOrBuilder - getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { if (advancedMachineFeaturesBuilder_ != null) { return advancedMachineFeaturesBuilder_.getMessageOrBuilder(); } else { - return advancedMachineFeatures_ == null - ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() - : advancedMachineFeatures_; + return advancedMachineFeatures_ == null ? + com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; } } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
@@ -7569,17 +6918,14 @@ public Builder clearAdvancedMachineFeatures() { * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AdvancedMachineFeatures, - com.google.container.v1.AdvancedMachineFeatures.Builder, - com.google.container.v1.AdvancedMachineFeaturesOrBuilder> + com.google.container.v1.AdvancedMachineFeatures, com.google.container.v1.AdvancedMachineFeatures.Builder, com.google.container.v1.AdvancedMachineFeaturesOrBuilder> getAdvancedMachineFeaturesFieldBuilder() { if (advancedMachineFeaturesBuilder_ == null) { - advancedMachineFeaturesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AdvancedMachineFeatures, - com.google.container.v1.AdvancedMachineFeatures.Builder, - com.google.container.v1.AdvancedMachineFeaturesOrBuilder>( - getAdvancedMachineFeatures(), getParentForChildren(), isClean()); + advancedMachineFeaturesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AdvancedMachineFeatures, com.google.container.v1.AdvancedMachineFeatures.Builder, com.google.container.v1.AdvancedMachineFeaturesOrBuilder>( + getAdvancedMachineFeatures(), + getParentForChildren(), + isClean()); advancedMachineFeatures_ = null; } return advancedMachineFeaturesBuilder_; @@ -7587,33 +6933,24 @@ public Builder clearAdvancedMachineFeatures() { private com.google.container.v1.VirtualNIC gvnic_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, - com.google.container.v1.VirtualNIC.Builder, - com.google.container.v1.VirtualNICOrBuilder> - gvnicBuilder_; + com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> gvnicBuilder_; /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ public com.google.container.v1.VirtualNIC getGvnic() { @@ -7624,8 +6961,6 @@ public com.google.container.v1.VirtualNIC getGvnic() { } } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7646,15 +6981,14 @@ public Builder setGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; */ - public Builder setGvnic(com.google.container.v1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic( + com.google.container.v1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -7665,8 +6999,6 @@ public Builder setGvnic(com.google.container.v1.VirtualNIC.Builder builderForVal return this; } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7677,7 +7009,7 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); + com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); } else { gvnic_ = value; } @@ -7689,8 +7021,6 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7709,8 +7039,6 @@ public Builder clearGvnic() { return this; } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7718,13 +7046,11 @@ public Builder clearGvnic() { * .google.container.v1.VirtualNIC gvnic = 29; */ public com.google.container.v1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7735,12 +7061,11 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null ? + com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } } /** - * - * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7748,33 +7073,27 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, - com.google.container.v1.VirtualNIC.Builder, - com.google.container.v1.VirtualNICOrBuilder> + com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, - com.google.container.v1.VirtualNIC.Builder, - com.google.container.v1.VirtualNICOrBuilder>( - getGvnic(), getParentForChildren(), isClean()); + gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder>( + getGvnic(), + getParentForChildren(), + isClean()); gvnic_ = null; } return gvnicBuilder_; } - private boolean spot_; + private boolean spot_ ; /** - * - * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; - * * @return The spot. */ @java.lang.Override @@ -7782,38 +7101,32 @@ public boolean getSpot() { return spot_; } /** - * - * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; - * * @param value The spot to set. * @return This builder for chaining. */ public Builder setSpot(boolean value) { - + spot_ = value; onChanged(); return this; } /** - * - * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; - * * @return This builder for chaining. */ public Builder clearSpot() { - + spot_ = false; onChanged(); return this; @@ -7821,49 +7134,36 @@ public Builder clearSpot() { private com.google.container.v1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfidentialNodes, - com.google.container.v1.ConfidentialNodes.Builder, - com.google.container.v1.ConfidentialNodesOrBuilder> - confidentialNodesBuilder_; + com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; - * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; - * * @return The confidentialNodes. */ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null - ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7885,8 +7185,6 @@ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes va
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7906,8 +7204,6 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7919,9 +7215,7 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-              com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -7933,8 +7227,6 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7954,8 +7246,6 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7964,13 +7254,11 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1.ConfidentialNodes confidential_nodes = 35;
      */
     public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-
+      
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7982,14 +7270,11 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null
-            ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
-            : confidentialNodes_;
+        return confidentialNodes_ == null ?
+            com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
       }
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7998,17 +7283,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
      * .google.container.v1.ConfidentialNodes confidential_nodes = 35;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfidentialNodes,
-            com.google.container.v1.ConfidentialNodes.Builder,
-            com.google.container.v1.ConfidentialNodesOrBuilder>
+        com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> 
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ConfidentialNodes,
-                com.google.container.v1.ConfidentialNodes.Builder,
-                com.google.container.v1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(), getParentForChildren(), isClean());
+        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(),
+                getParentForChildren(),
+                isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -8016,47 +7298,34 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
 
     private com.google.container.v1.FastSocket fastSocket_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.FastSocket,
-            com.google.container.v1.FastSocket.Builder,
-            com.google.container.v1.FastSocketOrBuilder>
-        fastSocketBuilder_;
+        com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> fastSocketBuilder_;
     /**
-     *
-     *
      * 
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1.FastSocket fast_socket = 36; - * * @return Whether the fastSocket field is set. */ public boolean hasFastSocket() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1.FastSocket fast_socket = 36; - * * @return The fastSocket. */ public com.google.container.v1.FastSocket getFastSocket() { if (fastSocketBuilder_ == null) { - return fastSocket_ == null - ? com.google.container.v1.FastSocket.getDefaultInstance() - : fastSocket_; + return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; } else { return fastSocketBuilder_.getMessage(); } } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -8077,15 +7346,14 @@ public Builder setFastSocket(com.google.container.v1.FastSocket value) { return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1.FastSocket fast_socket = 36; */ - public Builder setFastSocket(com.google.container.v1.FastSocket.Builder builderForValue) { + public Builder setFastSocket( + com.google.container.v1.FastSocket.Builder builderForValue) { if (fastSocketBuilder_ == null) { fastSocket_ = builderForValue.build(); onChanged(); @@ -8096,8 +7364,6 @@ public Builder setFastSocket(com.google.container.v1.FastSocket.Builder builderF return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -8106,13 +7372,11 @@ public Builder setFastSocket(com.google.container.v1.FastSocket.Builder builderF */ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { if (fastSocketBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && fastSocket_ != null - && fastSocket_ != com.google.container.v1.FastSocket.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + fastSocket_ != null && + fastSocket_ != com.google.container.v1.FastSocket.getDefaultInstance()) { fastSocket_ = - com.google.container.v1.FastSocket.newBuilder(fastSocket_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); } else { fastSocket_ = value; } @@ -8124,8 +7388,6 @@ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -8143,8 +7405,6 @@ public Builder clearFastSocket() { return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -8157,8 +7417,6 @@ public com.google.container.v1.FastSocket.Builder getFastSocketBuilder() { return getFastSocketFieldBuilder().getBuilder(); } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -8169,14 +7427,11 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { if (fastSocketBuilder_ != null) { return fastSocketBuilder_.getMessageOrBuilder(); } else { - return fastSocket_ == null - ? com.google.container.v1.FastSocket.getDefaultInstance() - : fastSocket_; + return fastSocket_ == null ? + com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; } } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -8184,40 +7439,35 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { * optional .google.container.v1.FastSocket fast_socket = 36; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, - com.google.container.v1.FastSocket.Builder, - com.google.container.v1.FastSocketOrBuilder> + com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> getFastSocketFieldBuilder() { if (fastSocketBuilder_ == null) { - fastSocketBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, - com.google.container.v1.FastSocket.Builder, - com.google.container.v1.FastSocketOrBuilder>( - getFastSocket(), getParentForChildren(), isClean()); + fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder>( + getFastSocket(), + getParentForChildren(), + isClean()); fastSocket_ = null; } return fastSocketBuilder_; } - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } - private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged(); - ; + internalGetMutableResourceLabels() { + onChanged();; if (resourceLabels_ == null) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -8229,8 +7479,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8238,22 +7486,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 37;
      */
+
     @java.lang.Override
-    public boolean containsResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getResourceLabelsMap()} instead. */
+    /**
+     * Use {@link #getResourceLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8262,12 +7510,11 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
+
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8276,17 +7523,16 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
+
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8295,11 +7541,12 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+
+    public java.lang.String getResourceLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -8307,12 +7554,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap().clear();
+      internalGetMutableResourceLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8320,21 +7566,23 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder removeResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableResourceLabels().getMutableMap().remove(key);
+
+    public Builder removeResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableResourceLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableResourceLabels() {
+    public java.util.Map
+    getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8342,20 +7590,19 @@ public java.util.Map getMutableResourceLabel
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putResourceLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableResourceLabels().getMutableMap().put(key, value);
+      internalGetMutableResourceLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8363,54 +7610,44 @@ public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder putAllResourceLabels(java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap().putAll(values);
+
+    public Builder putAllResourceLabels(
+        java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.container.v1.NodePoolLoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolLoggingConfig,
-            com.google.container.v1.NodePoolLoggingConfig.Builder,
-            com.google.container.v1.NodePoolLoggingConfigOrBuilder>
-        loggingConfigBuilder_;
+        com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; - * * @return The loggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration.
      * 
@@ -8431,8 +7668,6 @@ public Builder setLoggingConfig(com.google.container.v1.NodePoolLoggingConfig va return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8451,8 +7686,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8463,9 +7696,7 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -8477,8 +7708,6 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8497,8 +7726,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8506,13 +7733,11 @@ public Builder clearLoggingConfig() { * .google.container.v1.NodePoolLoggingConfig logging_config = 38; */ public com.google.container.v1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration.
      * 
@@ -8523,14 +7748,11 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration.
      * 
@@ -8538,24 +7760,21 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr * .google.container.v1.NodePoolLoggingConfig logging_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8565,12 +7784,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeConfig) private static final com.google.container.v1.NodeConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeConfig(); } @@ -8579,27 +7798,27 @@ public static com.google.container.v1.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(); - } - }; + 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; @@ -8614,4 +7833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java index c9b816644861..a0bc24b50f49 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Subset of NodeConfig message that has defaults.
  * 
* * Protobuf type {@code google.container.v1.NodeConfigDefaults} */ -public final class NodeConfigDefaults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodeConfigDefaults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeConfigDefaults) NodeConfigDefaultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodeConfigDefaults.newBuilder() to construct. private NodeConfigDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NodeConfigDefaults() {} + private NodeConfigDefaults() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeConfigDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfigDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeConfigDefaults.class, - com.google.container.v1.NodeConfigDefaults.Builder.class); + com.google.container.v1.NodeConfigDefaults.class, com.google.container.v1.NodeConfigDefaults.Builder.class); } public static final int GCFS_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.GcfsConfig gcfsConfig_; /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; - * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; - * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -116,14 +88,11 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { public static final int LOGGING_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -131,25 +100,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration for node pools.
    * 
@@ -162,7 +124,6 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (gcfsConfig_ != null) { output.writeMessage(1, getGcfsConfig()); } @@ -191,10 +153,12 @@ public int getSerializedSize() { size = 0; if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGcfsConfig()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeConfigDefaults)) { return super.equals(obj); } - com.google.container.v1.NodeConfigDefaults other = - (com.google.container.v1.NodeConfigDefaults) obj; + com.google.container.v1.NodeConfigDefaults other = (com.google.container.v1.NodeConfigDefaults) obj; if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig() + .equals(other.getGcfsConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -244,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeConfigDefaults parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeConfigDefaults parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeConfigDefaults parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfigDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeConfigDefaults parseFrom( 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.NodeConfigDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeConfigDefaults parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeConfigDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeConfigDefaults parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodeConfigDefaults parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodeConfigDefaults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeConfigDefaults parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeConfigDefaults parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeConfigDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeConfigDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * Protobuf type {@code google.container.v1.NodeConfigDefaults} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeConfigDefaults) com.google.container.v1.NodeConfigDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfigDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeConfigDefaults.class, - com.google.container.v1.NodeConfigDefaults.Builder.class); + com.google.container.v1.NodeConfigDefaults.class, com.google.container.v1.NodeConfigDefaults.Builder.class); } // Construct using com.google.container.v1.NodeConfigDefaults.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeConfigDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_descriptor; } @java.lang.Override @@ -414,8 +373,7 @@ public com.google.container.v1.NodeConfigDefaults build() { @java.lang.Override public com.google.container.v1.NodeConfigDefaults buildPartial() { - com.google.container.v1.NodeConfigDefaults result = - new com.google.container.v1.NodeConfigDefaults(this); + com.google.container.v1.NodeConfigDefaults result = new com.google.container.v1.NodeConfigDefaults(this); if (gcfsConfigBuilder_ == null) { result.gcfsConfig_ = gcfsConfig_; } else { @@ -434,39 +392,38 @@ public com.google.container.v1.NodeConfigDefaults buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodeConfigDefaults) { - return mergeFrom((com.google.container.v1.NodeConfigDefaults) other); + return mergeFrom((com.google.container.v1.NodeConfigDefaults)other); } else { super.mergeFrom(other); return this; @@ -507,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 26: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcfsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 26: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -538,47 +496,34 @@ public Builder mergeFrom( private com.google.container.v1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> - gcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> gcfsConfigBuilder_; /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; - * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; - * * @return The gcfsConfig. */ public com.google.container.v1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -599,15 +544,14 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; */ - public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig( + com.google.container.v1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -618,8 +562,6 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderF return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -630,9 +572,7 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); } else { gcfsConfig_ = value; } @@ -644,8 +584,6 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -664,8 +602,6 @@ public Builder clearGcfsConfig() { return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -673,13 +609,11 @@ public Builder clearGcfsConfig() { * .google.container.v1.GcfsConfig gcfs_config = 1; */ public com.google.container.v1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -690,14 +624,11 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? + com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -705,17 +636,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { * .google.container.v1.GcfsConfig gcfs_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder>( - getGcfsConfig(), getParentForChildren(), isClean()); + gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( + getGcfsConfig(), + getParentForChildren(), + isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -723,47 +651,34 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder> - loggingConfigBuilder_; + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; /** - * - * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; - * * @return The loggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -784,8 +699,6 @@ public Builder setLoggingConfig(com.google.container.v1.NodePoolLoggingConfig va return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -804,8 +717,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -816,9 +727,7 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -830,8 +739,6 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -850,8 +757,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -859,13 +764,11 @@ public Builder clearLoggingConfig() { * .google.container.v1.NodePoolLoggingConfig logging_config = 3; */ public com.google.container.v1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -876,14 +779,11 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -891,24 +791,21 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr * .google.container.v1.NodePoolLoggingConfig logging_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -918,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeConfigDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeConfigDefaults) private static final com.google.container.v1.NodeConfigDefaults DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeConfigDefaults(); } @@ -932,27 +829,27 @@ public static com.google.container.v1.NodeConfigDefaults getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfigDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfigDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -967,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeConfigDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java index 8e42bc9a3e8d..24c1596bb7f0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeConfigDefaultsOrBuilder - extends +public interface NodeConfigDefaultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeConfigDefaults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; - * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; - * * @return The gcfsConfig. */ com.google.container.v1.GcfsConfig getGcfsConfig(); /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -59,32 +35,24 @@ public interface NodeConfigDefaultsOrBuilder com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; - * * @return The loggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration for node pools.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java similarity index 90% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java index abe62a38d01f..660917eeb005 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeConfigOrBuilder - extends +public interface NodeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -33,13 +15,10 @@ public interface NodeConfigOrBuilder
    * 
* * string machine_type = 1; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -47,14 +26,12 @@ public interface NodeConfigOrBuilder
    * 
* * string machine_type = 1; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -62,14 +39,11 @@ public interface NodeConfigOrBuilder
    * 
* * int32 disk_size_gb = 2; - * * @return The diskSizeGb. */ int getDiskSizeGb(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -86,13 +60,11 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @return A list containing the oauthScopes. */ - java.util.List getOauthScopesList(); + java.util.List + getOauthScopesList(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -109,13 +81,10 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -132,14 +101,11 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -156,15 +122,13 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString getOauthScopesBytes(int index); + com.google.protobuf.ByteString + getOauthScopesBytes(int index); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -172,13 +136,10 @@ public interface NodeConfigOrBuilder
    * 
* * string service_account = 9; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -186,14 +147,12 @@ public interface NodeConfigOrBuilder
    * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -229,8 +188,6 @@ public interface NodeConfigOrBuilder
    */
   int getMetadataCount();
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -264,13 +221,15 @@ public interface NodeConfigOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(java.lang.String key);
-  /** Use {@link #getMetadataMap()} instead. */
+  boolean containsMetadata(
+      java.lang.String key);
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMetadata();
+  java.util.Map
+  getMetadata();
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -304,10 +263,9 @@ public interface NodeConfigOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map getMetadataMap();
+  java.util.Map
+  getMetadataMap();
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -343,13 +301,11 @@ public interface NodeConfigOrBuilder
    */
 
   /* nullable */
-  java.lang.String getMetadataOrDefault(
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -383,38 +339,33 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-  java.lang.String getMetadataOrThrow(java.lang.String key);
+
+  java.lang.String getMetadataOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); /** - * - * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -430,8 +381,6 @@ java.lang.String getMetadataOrDefault(
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -445,13 +394,15 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -465,10 +416,9 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -484,13 +434,11 @@ java.lang.String getMetadataOrDefault(
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -504,11 +452,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -518,14 +466,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * int32 local_ssd_count = 7; - * * @return The localSsdCount. */ int getLocalSsdCount(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -534,13 +479,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -549,13 +492,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -564,14 +504,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -580,15 +517,13 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -596,14 +531,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * bool preemptible = 10; - * * @return The preemptible. */ boolean getPreemptible(); /** - * - * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -612,10 +544,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List getAcceleratorsList();
+  java.util.List 
+      getAcceleratorsList();
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -626,8 +557,6 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.container.v1.AcceleratorConfig getAccelerators(int index);
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -638,8 +567,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAcceleratorsCount();
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -648,11 +575,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List
+  java.util.List 
       getAcceleratorsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -661,11 +586,10 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
-  com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index);
+  com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -673,13 +597,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string disk_type = 12; - * * @return The diskType. */ java.lang.String getDiskType(); /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -687,14 +608,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string disk_type = 12; - * * @return The bytes for diskType. */ - com.google.protobuf.ByteString getDiskTypeBytes(); + com.google.protobuf.ByteString + getDiskTypeBytes(); /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -706,13 +625,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string min_cpu_platform = 13; - * * @return The minCpuPlatform. */ java.lang.String getMinCpuPlatform(); /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -724,38 +640,30 @@ java.lang.String getLabelsOrDefault(
    * 
* * string min_cpu_platform = 13; - * * @return The bytes for minCpuPlatform. */ - com.google.protobuf.ByteString getMinCpuPlatformBytes(); + com.google.protobuf.ByteString + getMinCpuPlatformBytes(); /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** - * - * *
    * The workload metadata configuration for this node.
    * 
@@ -765,8 +673,6 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** - * - * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -775,10 +681,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
-  java.util.List getTaintsList();
+  java.util.List 
+      getTaintsList();
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -789,8 +694,6 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.container.v1.NodeTaint getTaints(int index);
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -801,8 +704,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getTaintsCount();
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -811,10 +712,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
-  java.util.List getTaintsOrBuilderList();
+  java.util.List 
+      getTaintsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -823,35 +723,28 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
-  com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index);
+  com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; - * * @return Whether the sandboxConfig field is set. */ boolean hasSandboxConfig(); /** - * - * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; - * * @return The sandboxConfig. */ com.google.container.v1.SandboxConfig getSandboxConfig(); /** - * - * *
    * Sandbox configuration for this node.
    * 
@@ -861,8 +754,6 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(); /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -871,13 +762,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string node_group = 18; - * * @return The nodeGroup. */ java.lang.String getNodeGroup(); /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -886,14 +774,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string node_group = 18; - * * @return The bytes for nodeGroup. */ - com.google.protobuf.ByteString getNodeGroupBytes(); + com.google.protobuf.ByteString + getNodeGroupBytes(); /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -902,13 +788,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; - * * @return Whether the reservationAffinity field is set. */ boolean hasReservationAffinity(); /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -917,13 +800,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; - * * @return The reservationAffinity. */ com.google.container.v1.ReservationAffinity getReservationAffinity(); /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -936,32 +816,24 @@ java.lang.String getLabelsOrDefault(
   com.google.container.v1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder();
 
   /**
-   *
-   *
    * 
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return The shieldedInstanceConfig. */ com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
@@ -971,32 +843,24 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; - * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; - * * @return The linuxNodeConfig. */ com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -1006,32 +870,24 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; - * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; - * * @return The kubeletConfig. */ com.google.container.v1.NodeKubeletConfig getKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
@@ -1041,8 +897,6 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1053,13 +907,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string boot_disk_kms_key = 23; - * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1070,38 +921,30 @@ java.lang.String getLabelsOrDefault(
    * 
* * string boot_disk_kms_key = 23; - * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString + getBootDiskKmsKeyBytes(); /** - * - * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; - * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** - * - * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; - * * @return The gcfsConfig. */ com.google.container.v1.GcfsConfig getGcfsConfig(); /** - * - * *
    * Google Container File System (image streaming) configs.
    * 
@@ -1111,32 +954,24 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return Whether the advancedMachineFeatures field is set. */ boolean hasAdvancedMachineFeatures(); /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return The advancedMachineFeatures. */ com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeatures(); /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
@@ -1146,32 +981,24 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder(); /** - * - * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** - * - * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ com.google.container.v1.VirtualNIC getGvnic(); /** - * - * *
    * Enable or disable gvnic in the node pool.
    * 
@@ -1181,48 +1008,37 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder(); /** - * - * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; - * * @return The spot. */ boolean getSpot(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; - * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; - * * @return The confidentialNodes. */ com.google.container.v1.ConfidentialNodes getConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1233,32 +1049,24 @@ java.lang.String getLabelsOrDefault(
   com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; - * * @return Whether the fastSocket field is set. */ boolean hasFastSocket(); /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; - * * @return The fastSocket. */ com.google.container.v1.FastSocket getFastSocket(); /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -1268,8 +1076,6 @@ java.lang.String getLabelsOrDefault( com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder(); /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1279,8 +1085,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getResourceLabelsCount();
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1288,13 +1092,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-  boolean containsResourceLabels(java.lang.String key);
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  boolean containsResourceLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getResourceLabels();
+  java.util.Map
+  getResourceLabels();
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1302,10 +1108,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-  java.util.Map getResourceLabelsMap();
+  java.util.Map
+  getResourceLabelsMap();
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1315,13 +1120,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getResourceLabelsOrDefault(
+java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1329,35 +1132,29 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; - * * @return The loggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java similarity index 77% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java index eebc314010f2..490c8b060cb7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Node kubelet configs.
  * 
* * Protobuf type {@code google.container.v1.NodeKubeletConfig} */ -public final class NodeKubeletConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodeKubeletConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeKubeletConfig) NodeKubeletConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodeKubeletConfig.newBuilder() to construct. private NodeKubeletConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeKubeletConfig() { cpuManagerPolicy_ = ""; cpuCfsQuotaPeriod_ = ""; @@ -44,35 +26,32 @@ private NodeKubeletConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeKubeletConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeKubeletConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeKubeletConfig.class, - com.google.container.v1.NodeKubeletConfig.Builder.class); + com.google.container.v1.NodeKubeletConfig.class, com.google.container.v1.NodeKubeletConfig.Builder.class); } public static final int CPU_MANAGER_POLICY_FIELD_NUMBER = 1; private volatile java.lang.Object cpuManagerPolicy_; /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -85,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string cpu_manager_policy = 1; - * * @return The cpuManagerPolicy. */ @java.lang.Override @@ -94,15 +72,14 @@ public java.lang.String getCpuManagerPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; } } /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -115,15 +92,16 @@ public java.lang.String getCpuManagerPolicy() {
    * 
* * string cpu_manager_policy = 1; - * * @return The bytes for cpuManagerPolicy. */ @java.lang.Override - public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString + getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -134,8 +112,6 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { public static final int CPU_CFS_QUOTA_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue cpuCfsQuota_; /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -148,7 +124,6 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return Whether the cpuCfsQuota field is set. */ @java.lang.Override @@ -156,8 +131,6 @@ public boolean hasCpuCfsQuota() { return cpuCfsQuota_ != null; } /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -170,7 +143,6 @@ public boolean hasCpuCfsQuota() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return The cpuCfsQuota. */ @java.lang.Override @@ -178,8 +150,6 @@ public com.google.protobuf.BoolValue getCpuCfsQuota() { return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; } /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -201,8 +171,6 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
   public static final int CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER = 3;
   private volatile java.lang.Object cpuCfsQuotaPeriod_;
   /**
-   *
-   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -212,7 +180,6 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The cpuCfsQuotaPeriod. */ @java.lang.Override @@ -221,15 +188,14 @@ public java.lang.String getCpuCfsQuotaPeriod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; } } /** - * - * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -239,15 +205,16 @@ public java.lang.String getCpuCfsQuotaPeriod() {
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The bytes for cpuCfsQuotaPeriod. */ @java.lang.Override - public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString + getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -258,8 +225,6 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { public static final int POD_PIDS_LIMIT_FIELD_NUMBER = 4; private long podPidsLimit_; /** - * - * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -268,7 +233,6 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() {
    * 
* * int64 pod_pids_limit = 4; - * * @return The podPidsLimit. */ @java.lang.Override @@ -277,7 +241,6 @@ public long getPodPidsLimit() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuManagerPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cpuManagerPolicy_); } @@ -315,13 +279,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cpuManagerPolicy_); } if (cpuCfsQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCpuCfsQuota()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCpuCfsQuota()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cpuCfsQuotaPeriod_); } if (podPidsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, podPidsLimit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, podPidsLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,21 +297,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeKubeletConfig)) { return super.equals(obj); } - com.google.container.v1.NodeKubeletConfig other = - (com.google.container.v1.NodeKubeletConfig) obj; + com.google.container.v1.NodeKubeletConfig other = (com.google.container.v1.NodeKubeletConfig) obj; - if (!getCpuManagerPolicy().equals(other.getCpuManagerPolicy())) return false; + if (!getCpuManagerPolicy() + .equals(other.getCpuManagerPolicy())) return false; if (hasCpuCfsQuota() != other.hasCpuCfsQuota()) return false; if (hasCpuCfsQuota()) { - if (!getCpuCfsQuota().equals(other.getCpuCfsQuota())) return false; + if (!getCpuCfsQuota() + .equals(other.getCpuCfsQuota())) return false; } - if (!getCpuCfsQuotaPeriod().equals(other.getCpuCfsQuotaPeriod())) return false; - if (getPodPidsLimit() != other.getPodPidsLimit()) return false; + if (!getCpuCfsQuotaPeriod() + .equals(other.getCpuCfsQuotaPeriod())) return false; + if (getPodPidsLimit() + != other.getPodPidsLimit()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,142 +335,137 @@ public int hashCode() { hash = (37 * hash) + CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getCpuCfsQuotaPeriod().hashCode(); hash = (37 * hash) + POD_PIDS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPodPidsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPodPidsLimit()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.NodeKubeletConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeKubeletConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeKubeletConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeKubeletConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeKubeletConfig parseFrom( 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.NodeKubeletConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeKubeletConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeKubeletConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeKubeletConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodeKubeletConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodeKubeletConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeKubeletConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeKubeletConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeKubeletConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeKubeletConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Node kubelet configs.
    * 
* * Protobuf type {@code google.container.v1.NodeKubeletConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeKubeletConfig) com.google.container.v1.NodeKubeletConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeKubeletConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeKubeletConfig.class, - com.google.container.v1.NodeKubeletConfig.Builder.class); + com.google.container.v1.NodeKubeletConfig.class, com.google.container.v1.NodeKubeletConfig.Builder.class); } // Construct using com.google.container.v1.NodeKubeletConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -521,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeKubeletConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_descriptor; } @java.lang.Override @@ -542,8 +506,7 @@ public com.google.container.v1.NodeKubeletConfig build() { @java.lang.Override public com.google.container.v1.NodeKubeletConfig buildPartial() { - com.google.container.v1.NodeKubeletConfig result = - new com.google.container.v1.NodeKubeletConfig(this); + com.google.container.v1.NodeKubeletConfig result = new com.google.container.v1.NodeKubeletConfig(this); result.cpuManagerPolicy_ = cpuManagerPolicy_; if (cpuCfsQuotaBuilder_ == null) { result.cpuCfsQuota_ = cpuCfsQuota_; @@ -560,39 +523,38 @@ public com.google.container.v1.NodeKubeletConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodeKubeletConfig) { - return mergeFrom((com.google.container.v1.NodeKubeletConfig) other); + return mergeFrom((com.google.container.v1.NodeKubeletConfig)other); } else { super.mergeFrom(other); return this; @@ -641,37 +603,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - cpuManagerPolicy_ = input.readStringRequireUtf8(); + case 10: { + cpuManagerPolicy_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getCpuCfsQuotaFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getCpuCfsQuotaFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - podPidsLimit_ = input.readInt64(); + break; + } // case 26 + case 32: { + podPidsLimit_ = input.readInt64(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -684,8 +643,6 @@ public Builder mergeFrom( private java.lang.Object cpuManagerPolicy_ = ""; /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -698,13 +655,13 @@ public Builder mergeFrom(
      * 
* * string cpu_manager_policy = 1; - * * @return The cpuManagerPolicy. */ public java.lang.String getCpuManagerPolicy() { java.lang.Object ref = cpuManagerPolicy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; @@ -713,8 +670,6 @@ public java.lang.String getCpuManagerPolicy() { } } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -727,14 +682,15 @@ public java.lang.String getCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; - * * @return The bytes for cpuManagerPolicy. */ - public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString + getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -742,8 +698,6 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { } } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -756,22 +710,20 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() {
      * 
* * string cpu_manager_policy = 1; - * * @param value The cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicy(java.lang.String value) { + public Builder setCpuManagerPolicy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuManagerPolicy_ = value; onChanged(); return this; } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -784,18 +736,15 @@ public Builder setCpuManagerPolicy(java.lang.String value) {
      * 
* * string cpu_manager_policy = 1; - * * @return This builder for chaining. */ public Builder clearCpuManagerPolicy() { - + cpuManagerPolicy_ = getDefaultInstance().getCpuManagerPolicy(); onChanged(); return this; } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -808,16 +757,16 @@ public Builder clearCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; - * * @param value The bytes for cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) { + public Builder setCpuManagerPolicyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuManagerPolicy_ = value; onChanged(); return this; @@ -825,13 +774,8 @@ public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.BoolValue cpuCfsQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - cpuCfsQuotaBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> cpuCfsQuotaBuilder_; /** - * - * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -844,15 +788,12 @@ public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return Whether the cpuCfsQuota field is set. */ public boolean hasCpuCfsQuota() { return cpuCfsQuotaBuilder_ != null || cpuCfsQuota_ != null; } /** - * - * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -865,21 +806,16 @@ public boolean hasCpuCfsQuota() {
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return The cpuCfsQuota. */ public com.google.protobuf.BoolValue getCpuCfsQuota() { if (cpuCfsQuotaBuilder_ == null) { - return cpuCfsQuota_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : cpuCfsQuota_; + return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; } else { return cpuCfsQuotaBuilder_.getMessage(); } } /** - * - * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -907,8 +843,6 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -922,7 +856,8 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
-    public Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setCpuCfsQuota(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (cpuCfsQuotaBuilder_ == null) {
         cpuCfsQuota_ = builderForValue.build();
         onChanged();
@@ -933,8 +868,6 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -952,9 +885,7 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       if (cpuCfsQuotaBuilder_ == null) {
         if (cpuCfsQuota_ != null) {
           cpuCfsQuota_ =
-              com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_).mergeFrom(value).buildPartial();
         } else {
           cpuCfsQuota_ = value;
         }
@@ -966,8 +897,6 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -993,8 +922,6 @@ public Builder clearCpuCfsQuota() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -1009,13 +936,11 @@ public Builder clearCpuCfsQuota() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     public com.google.protobuf.BoolValue.Builder getCpuCfsQuotaBuilder() {
-
+      
       onChanged();
       return getCpuCfsQuotaFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -1033,14 +958,11 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
       if (cpuCfsQuotaBuilder_ != null) {
         return cpuCfsQuotaBuilder_.getMessageOrBuilder();
       } else {
-        return cpuCfsQuota_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : cpuCfsQuota_;
+        return cpuCfsQuota_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_;
       }
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -1055,17 +977,14 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getCpuCfsQuotaFieldBuilder() {
       if (cpuCfsQuotaBuilder_ == null) {
-        cpuCfsQuotaBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getCpuCfsQuota(), getParentForChildren(), isClean());
+        cpuCfsQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getCpuCfsQuota(),
+                getParentForChildren(),
+                isClean());
         cpuCfsQuota_ = null;
       }
       return cpuCfsQuotaBuilder_;
@@ -1073,8 +992,6 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
 
     private java.lang.Object cpuCfsQuotaPeriod_ = "";
     /**
-     *
-     *
      * 
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1084,13 +1001,13 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @return The cpuCfsQuotaPeriod. */ public java.lang.String getCpuCfsQuotaPeriod() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; @@ -1099,8 +1016,6 @@ public java.lang.String getCpuCfsQuotaPeriod() { } } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1110,14 +1025,15 @@ public java.lang.String getCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @return The bytes for cpuCfsQuotaPeriod. */ - public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString + getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -1125,8 +1041,6 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { } } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1136,22 +1050,20 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @param value The cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriod(java.lang.String value) { + public Builder setCpuCfsQuotaPeriod( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1161,18 +1073,15 @@ public Builder setCpuCfsQuotaPeriod(java.lang.String value) {
      * 
* * string cpu_cfs_quota_period = 3; - * * @return This builder for chaining. */ public Builder clearCpuCfsQuotaPeriod() { - + cpuCfsQuotaPeriod_ = getDefaultInstance().getCpuCfsQuotaPeriod(); onChanged(); return this; } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1182,25 +1091,23 @@ public Builder clearCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @param value The bytes for cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) { + public Builder setCpuCfsQuotaPeriodBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } - private long podPidsLimit_; + private long podPidsLimit_ ; /** - * - * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1209,7 +1116,6 @@ public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 pod_pids_limit = 4; - * * @return The podPidsLimit. */ @java.lang.Override @@ -1217,8 +1123,6 @@ public long getPodPidsLimit() { return podPidsLimit_; } /** - * - * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1227,19 +1131,16 @@ public long getPodPidsLimit() {
      * 
* * int64 pod_pids_limit = 4; - * * @param value The podPidsLimit to set. * @return This builder for chaining. */ public Builder setPodPidsLimit(long value) { - + podPidsLimit_ = value; onChanged(); return this; } /** - * - * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1248,18 +1149,17 @@ public Builder setPodPidsLimit(long value) {
      * 
* * int64 pod_pids_limit = 4; - * * @return This builder for chaining. */ public Builder clearPodPidsLimit() { - + podPidsLimit_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeKubeletConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeKubeletConfig) private static final com.google.container.v1.NodeKubeletConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeKubeletConfig(); } @@ -1283,27 +1183,27 @@ public static com.google.container.v1.NodeKubeletConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeKubeletConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeKubeletConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1318,4 +1218,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeKubeletConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java similarity index 84% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java index be3530bb1888..54a2d51dec0d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeKubeletConfigOrBuilder - extends +public interface NodeKubeletConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeKubeletConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -38,13 +20,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_manager_policy = 1; - * * @return The cpuManagerPolicy. */ java.lang.String getCpuManagerPolicy(); /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -57,14 +36,12 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_manager_policy = 1; - * * @return The bytes for cpuManagerPolicy. */ - com.google.protobuf.ByteString getCpuManagerPolicyBytes(); + com.google.protobuf.ByteString + getCpuManagerPolicyBytes(); /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -77,13 +54,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return Whether the cpuCfsQuota field is set. */ boolean hasCpuCfsQuota(); /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -96,13 +70,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return The cpuCfsQuota. */ com.google.protobuf.BoolValue getCpuCfsQuota(); /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -119,8 +90,6 @@ public interface NodeKubeletConfigOrBuilder
   com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder();
 
   /**
-   *
-   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -130,13 +99,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The cpuCfsQuotaPeriod. */ java.lang.String getCpuCfsQuotaPeriod(); /** - * - * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -146,14 +112,12 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The bytes for cpuCfsQuotaPeriod. */ - com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes(); + com.google.protobuf.ByteString + getCpuCfsQuotaPeriodBytes(); /** - * - * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -162,7 +126,6 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * int64 pod_pids_limit = 4; - * * @return The podPidsLimit. */ long getPodPidsLimit(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java similarity index 57% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java index 45faf3d07d5c..25fa3a560ed5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Collection of node-level [Kubernetes
  * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -28,73 +11,74 @@
  *
  * Protobuf type {@code google.container.v1.NodeLabels}
  */
-public final class NodeLabels extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeLabels extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeLabels)
     NodeLabelsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeLabels.newBuilder() to construct.
   private NodeLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NodeLabels() {}
+  private NodeLabels() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeLabels_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeLabels_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeLabels.class,
-            com.google.container.v1.NodeLabels.Builder.class);
+            com.google.container.v1.NodeLabels.class, com.google.container.v1.NodeLabels.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.container.v1.ClusterServiceProto
-                .internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
-  }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -103,30 +87,28 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -134,12 +116,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -147,16 +128,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -164,11 +145,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -176,7 +158,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,9 +169,14 @@ public final boolean isInitialized() { } @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); + 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); } @@ -200,15 +186,15 @@ public int getSerializedSize() { 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__); + 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; @@ -218,14 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeLabels)) { return super.equals(obj); } com.google.container.v1.NodeLabels other = (com.google.container.v1.NodeLabels) obj; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,103 +233,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeLabels parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeLabels parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeLabels parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeLabels parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.NodeLabels parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeLabels parseFrom( 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.NodeLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeLabels parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeLabels parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeLabels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeLabels parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeLabels parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of node-level [Kubernetes
    * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -350,52 +331,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodeLabels}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeLabels)
       com.google.container.v1.NodeLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeLabels_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeLabels.class,
-              com.google.container.v1.NodeLabels.Builder.class);
+              com.google.container.v1.NodeLabels.class, com.google.container.v1.NodeLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeLabels.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -404,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_descriptor;
     }
 
     @java.lang.Override
@@ -437,39 +421,38 @@ public com.google.container.v1.NodeLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeLabels) {
-        return mergeFrom((com.google.container.v1.NodeLabels) other);
+        return mergeFrom((com.google.container.v1.NodeLabels)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -478,7 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1.NodeLabels other) {
       if (other == com.google.container.v1.NodeLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -505,24 +489,20 @@ public Builder mergeFrom(
             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());
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              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) {
@@ -532,24 +512,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -561,30 +541,28 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -592,12 +570,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -605,17 +582,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -623,11 +599,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -635,66 +612,69 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -704,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeLabels) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeLabels) private static final com.google.container.v1.NodeLabels DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeLabels(); } @@ -718,27 +698,27 @@ public static com.google.container.v1.NodeLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,4 +733,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java index f4310a7fede1..9ce8b7223585 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeLabelsOrBuilder - extends +public interface NodeLabelsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeLabels) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -34,31 +16,30 @@ public interface NodeLabelsOrBuilder */ int getLabelsCount(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -67,18 +48,18 @@ public interface NodeLabelsOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java index 73d5bde3aa7b..33452b5029f6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * NodeManagement defines the set of node management services turned on for the
  * node pool.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1.NodeManagement}
  */
-public final class NodeManagement extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeManagement extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeManagement)
     NodeManagementOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeManagement.newBuilder() to construct.
   private NodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NodeManagement() {}
+  private NodeManagement() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeManagement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeManagement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeManagement_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeManagement.class,
-            com.google.container.v1.NodeManagement.Builder.class);
+            com.google.container.v1.NodeManagement.class, com.google.container.v1.NodeManagement.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_FIELD_NUMBER = 1;
   private boolean autoUpgrade_;
   /**
-   *
-   *
    * 
    * A flag that specifies whether node auto-upgrade is enabled for the node
    * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool auto_upgrade = 1; - * * @return The autoUpgrade. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean getAutoUpgrade() { public static final int AUTO_REPAIR_FIELD_NUMBER = 2; private boolean autoRepair_; /** - * - * *
    * A flag that specifies whether the node auto-repair is enabled for the node
    * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -99,7 +76,6 @@ public boolean getAutoUpgrade() {
    * 
* * bool auto_repair = 2; - * * @return The autoRepair. */ @java.lang.Override @@ -110,14 +86,11 @@ public boolean getAutoRepair() { public static final int UPGRADE_OPTIONS_FIELD_NUMBER = 10; private com.google.container.v1.AutoUpgradeOptions upgradeOptions_; /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; - * * @return Whether the upgradeOptions field is set. */ @java.lang.Override @@ -125,25 +98,18 @@ public boolean hasUpgradeOptions() { return upgradeOptions_ != null; } /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; - * * @return The upgradeOptions. */ @java.lang.Override public com.google.container.v1.AutoUpgradeOptions getUpgradeOptions() { - return upgradeOptions_ == null - ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() - : upgradeOptions_; + return upgradeOptions_ == null ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; } /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
@@ -156,7 +122,6 @@ public com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBu } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (autoUpgrade_ != false) { output.writeBool(1, autoUpgrade_); } @@ -188,13 +154,16 @@ public int getSerializedSize() { size = 0; if (autoUpgrade_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, autoUpgrade_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, autoUpgrade_); } if (autoRepair_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, autoRepair_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, autoRepair_); } if (upgradeOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpgradeOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getUpgradeOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,18 +173,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeManagement)) { return super.equals(obj); } com.google.container.v1.NodeManagement other = (com.google.container.v1.NodeManagement) obj; - if (getAutoUpgrade() != other.getAutoUpgrade()) return false; - if (getAutoRepair() != other.getAutoRepair()) return false; + if (getAutoUpgrade() + != other.getAutoUpgrade()) return false; + if (getAutoRepair() + != other.getAutoRepair()) return false; if (hasUpgradeOptions() != other.hasUpgradeOptions()) return false; if (hasUpgradeOptions()) { - if (!getUpgradeOptions().equals(other.getUpgradeOptions())) return false; + if (!getUpgradeOptions() + .equals(other.getUpgradeOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -229,9 +201,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AUTO_UPGRADE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoUpgrade()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoUpgrade()); hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoRepair()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoRepair()); if (hasUpgradeOptions()) { hash = (37 * hash) + UPGRADE_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getUpgradeOptions().hashCode(); @@ -241,104 +215,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeManagement parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeManagement parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeManagement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeManagement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeManagement parseFrom( 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.NodeManagement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeManagement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeManagement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeManagement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeManagement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeManagement parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeManagement parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeManagement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeManagement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodeManagement defines the set of node management services turned on for the
    * node pool.
@@ -346,32 +313,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodeManagement}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeManagement)
       com.google.container.v1.NodeManagementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeManagement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeManagement_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeManagement.class,
-              com.google.container.v1.NodeManagement.Builder.class);
+              com.google.container.v1.NodeManagement.class, com.google.container.v1.NodeManagement.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeManagement.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,9 +357,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeManagement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
@@ -410,8 +378,7 @@ public com.google.container.v1.NodeManagement build() {
 
     @java.lang.Override
     public com.google.container.v1.NodeManagement buildPartial() {
-      com.google.container.v1.NodeManagement result =
-          new com.google.container.v1.NodeManagement(this);
+      com.google.container.v1.NodeManagement result = new com.google.container.v1.NodeManagement(this);
       result.autoUpgrade_ = autoUpgrade_;
       result.autoRepair_ = autoRepair_;
       if (upgradeOptionsBuilder_ == null) {
@@ -427,39 +394,38 @@ public com.google.container.v1.NodeManagement buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeManagement) {
-        return mergeFrom((com.google.container.v1.NodeManagement) other);
+        return mergeFrom((com.google.container.v1.NodeManagement)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -503,31 +469,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                autoUpgrade_ = input.readBool();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                autoRepair_ = input.readBool();
-
-                break;
-              } // case 16
-            case 82:
-              {
-                input.readMessage(getUpgradeOptionsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 82
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              autoUpgrade_ = input.readBool();
+
+              break;
+            } // case 8
+            case 16: {
+              autoRepair_ = input.readBool();
+
+              break;
+            } // case 16
+            case 82: {
+              input.readMessage(
+                  getUpgradeOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -538,10 +502,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean autoUpgrade_;
+    private boolean autoUpgrade_ ;
     /**
-     *
-     *
      * 
      * A flag that specifies whether node auto-upgrade is enabled for the node
      * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -549,7 +511,6 @@ public Builder mergeFrom(
      * 
* * bool auto_upgrade = 1; - * * @return The autoUpgrade. */ @java.lang.Override @@ -557,8 +518,6 @@ public boolean getAutoUpgrade() { return autoUpgrade_; } /** - * - * *
      * A flag that specifies whether node auto-upgrade is enabled for the node
      * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -566,19 +525,16 @@ public boolean getAutoUpgrade() {
      * 
* * bool auto_upgrade = 1; - * * @param value The autoUpgrade to set. * @return This builder for chaining. */ public Builder setAutoUpgrade(boolean value) { - + autoUpgrade_ = value; onChanged(); return this; } /** - * - * *
      * A flag that specifies whether node auto-upgrade is enabled for the node
      * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -586,20 +542,17 @@ public Builder setAutoUpgrade(boolean value) {
      * 
* * bool auto_upgrade = 1; - * * @return This builder for chaining. */ public Builder clearAutoUpgrade() { - + autoUpgrade_ = false; onChanged(); return this; } - private boolean autoRepair_; + private boolean autoRepair_ ; /** - * - * *
      * A flag that specifies whether the node auto-repair is enabled for the node
      * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -608,7 +561,6 @@ public Builder clearAutoUpgrade() {
      * 
* * bool auto_repair = 2; - * * @return The autoRepair. */ @java.lang.Override @@ -616,8 +568,6 @@ public boolean getAutoRepair() { return autoRepair_; } /** - * - * *
      * A flag that specifies whether the node auto-repair is enabled for the node
      * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -626,19 +576,16 @@ public boolean getAutoRepair() {
      * 
* * bool auto_repair = 2; - * * @param value The autoRepair to set. * @return This builder for chaining. */ public Builder setAutoRepair(boolean value) { - + autoRepair_ = value; onChanged(); return this; } /** - * - * *
      * A flag that specifies whether the node auto-repair is enabled for the node
      * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -647,11 +594,10 @@ public Builder setAutoRepair(boolean value) {
      * 
* * bool auto_repair = 2; - * * @return This builder for chaining. */ public Builder clearAutoRepair() { - + autoRepair_ = false; onChanged(); return this; @@ -659,47 +605,34 @@ public Builder clearAutoRepair() { private com.google.container.v1.AutoUpgradeOptions upgradeOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoUpgradeOptions, - com.google.container.v1.AutoUpgradeOptions.Builder, - com.google.container.v1.AutoUpgradeOptionsOrBuilder> - upgradeOptionsBuilder_; + com.google.container.v1.AutoUpgradeOptions, com.google.container.v1.AutoUpgradeOptions.Builder, com.google.container.v1.AutoUpgradeOptionsOrBuilder> upgradeOptionsBuilder_; /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; - * * @return Whether the upgradeOptions field is set. */ public boolean hasUpgradeOptions() { return upgradeOptionsBuilder_ != null || upgradeOptions_ != null; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; - * * @return The upgradeOptions. */ public com.google.container.v1.AutoUpgradeOptions getUpgradeOptions() { if (upgradeOptionsBuilder_ == null) { - return upgradeOptions_ == null - ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() - : upgradeOptions_; + return upgradeOptions_ == null ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; } else { return upgradeOptionsBuilder_.getMessage(); } } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -720,8 +653,6 @@ public Builder setUpgradeOptions(com.google.container.v1.AutoUpgradeOptions valu return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -740,8 +671,6 @@ public Builder setUpgradeOptions( return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -752,9 +681,7 @@ public Builder mergeUpgradeOptions(com.google.container.v1.AutoUpgradeOptions va if (upgradeOptionsBuilder_ == null) { if (upgradeOptions_ != null) { upgradeOptions_ = - com.google.container.v1.AutoUpgradeOptions.newBuilder(upgradeOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AutoUpgradeOptions.newBuilder(upgradeOptions_).mergeFrom(value).buildPartial(); } else { upgradeOptions_ = value; } @@ -766,8 +693,6 @@ public Builder mergeUpgradeOptions(com.google.container.v1.AutoUpgradeOptions va return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -786,8 +711,6 @@ public Builder clearUpgradeOptions() { return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -795,13 +718,11 @@ public Builder clearUpgradeOptions() { * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; */ public com.google.container.v1.AutoUpgradeOptions.Builder getUpgradeOptionsBuilder() { - + onChanged(); return getUpgradeOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -812,14 +733,11 @@ public com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBu if (upgradeOptionsBuilder_ != null) { return upgradeOptionsBuilder_.getMessageOrBuilder(); } else { - return upgradeOptions_ == null - ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() - : upgradeOptions_; + return upgradeOptions_ == null ? + com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; } } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -827,24 +745,21 @@ public com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBu * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoUpgradeOptions, - com.google.container.v1.AutoUpgradeOptions.Builder, - com.google.container.v1.AutoUpgradeOptionsOrBuilder> + com.google.container.v1.AutoUpgradeOptions, com.google.container.v1.AutoUpgradeOptions.Builder, com.google.container.v1.AutoUpgradeOptionsOrBuilder> getUpgradeOptionsFieldBuilder() { if (upgradeOptionsBuilder_ == null) { - upgradeOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoUpgradeOptions, - com.google.container.v1.AutoUpgradeOptions.Builder, - com.google.container.v1.AutoUpgradeOptionsOrBuilder>( - getUpgradeOptions(), getParentForChildren(), isClean()); + upgradeOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AutoUpgradeOptions, com.google.container.v1.AutoUpgradeOptions.Builder, com.google.container.v1.AutoUpgradeOptionsOrBuilder>( + getUpgradeOptions(), + getParentForChildren(), + isClean()); upgradeOptions_ = null; } return upgradeOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -854,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeManagement) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeManagement) private static final com.google.container.v1.NodeManagement DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeManagement(); } @@ -868,27 +783,27 @@ public static com.google.container.v1.NodeManagement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeManagement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,4 +818,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeManagement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java index 552c8cccdd4c..04cd94ad14f8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeManagementOrBuilder - extends +public interface NodeManagementOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeManagement) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A flag that specifies whether node auto-upgrade is enabled for the node
    * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -33,14 +15,11 @@ public interface NodeManagementOrBuilder
    * 
* * bool auto_upgrade = 1; - * * @return The autoUpgrade. */ boolean getAutoUpgrade(); /** - * - * *
    * A flag that specifies whether the node auto-repair is enabled for the node
    * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -49,38 +28,29 @@ public interface NodeManagementOrBuilder
    * 
* * bool auto_repair = 2; - * * @return The autoRepair. */ boolean getAutoRepair(); /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; - * * @return Whether the upgradeOptions field is set. */ boolean hasUpgradeOptions(); /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; - * * @return The upgradeOptions. */ com.google.container.v1.AutoUpgradeOptions getUpgradeOptions(); /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java index bb957b6fe6ce..ee5c30909f28 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Parameters for node pool-level network config.
  * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig} */ -public final class NodeNetworkConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodeNetworkConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeNetworkConfig) NodeNetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodeNetworkConfig.newBuilder() to construct. private NodeNetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeNetworkConfig() { podRange_ = ""; podIpv4CidrBlock_ = ""; @@ -44,141 +26,116 @@ private NodeNetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeNetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.class, - com.google.container.v1.NodeNetworkConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.class, com.google.container.v1.NodeNetworkConfig.Builder.class); } - public interface NetworkPerformanceConfigOrBuilder - extends + public interface NetworkPerformanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return Whether the totalEgressBandwidthTier field is set. */ boolean hasTotalEgressBandwidthTier(); /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ int getTotalEgressBandwidthTierValue(); /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The totalEgressBandwidthTier. */ - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getTotalEgressBandwidthTier(); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier(); } /** - * - * *
    * Configuration of all network bandwidth tiers
    * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class NetworkPerformanceConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NetworkPerformanceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) NetworkPerformanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkPerformanceConfig.newBuilder() to construct. private NetworkPerformanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkPerformanceConfig() { totalEgressBandwidthTier_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkPerformanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); } /** - * - * *
      * Node network tier
      * 
* * Protobuf enum {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} */ - public enum Tier implements com.google.protobuf.ProtocolMessageEnum { + public enum Tier + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value
        * 
@@ -187,8 +144,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ TIER_UNSPECIFIED(0), /** - * - * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -200,8 +155,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Default value
        * 
@@ -210,8 +163,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIER_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -220,6 +171,7 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIER_1_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -244,49 +196,48 @@ public static Tier valueOf(int value) { */ public static Tier forNumber(int value) { switch (value) { - case 0: - return TIER_UNSPECIFIED; - case 1: - return TIER_1; - default: - return null; + case 0: return TIER_UNSPECIFIED; + case 1: return TIER_1; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Tier> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Tier findValueByNumber(int number) { + return Tier.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tier findValueByNumber(int number) { - return Tier.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDescriptor().getEnumTypes().get(0); } private static final Tier[] VALUES = values(); - public static Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tier valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -307,66 +258,42 @@ private Tier(int value) { public static final int TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 1; private int totalEgressBandwidthTier_; /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override - public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override - public int getTotalEgressBandwidthTierValue() { + @java.lang.Override public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The totalEgressBandwidthTier. */ - @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getTotalEgressBandwidthTier() { + @java.lang.Override public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( - totalEgressBandwidthTier_); - return result == null - ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED - : result; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); + return result == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +305,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, totalEgressBandwidthTier_); } @@ -392,7 +320,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, totalEgressBandwidthTier_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, totalEgressBandwidthTier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -402,13 +331,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig)) { return super.equals(obj); } - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other = - (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) obj; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other = (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) obj; if (hasTotalEgressBandwidthTier() != other.hasTotalEgressBandwidthTier()) return false; if (hasTotalEgressBandwidthTier()) { @@ -435,95 +363,87 @@ public int hashCode() { } public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - 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.NodeNetworkConfig.NetworkPerformanceConfig 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { + public static Builder newBuilder(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -533,42 +453,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration of all network bandwidth tiers
      * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); } - // Construct using - // com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() - private Builder() {} + // Construct using com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -578,16 +495,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - getDefaultInstanceForType() { - return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance(); + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { + return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance(); } @java.lang.Override @@ -601,8 +516,7 @@ public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig build( @java.lang.Override public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig buildPartial() { - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig result = - new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(this); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig result = new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -618,53 +532,46 @@ public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NodeNetworkConfig.NetworkPerformanceConfig) { - return mergeFrom( - (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) other); + return mergeFrom((com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other) { - if (other - == com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other) { + if (other == com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) return this; if (other.hasTotalEgressBandwidthTier()) { setTotalEgressBandwidthTier(other.getTotalEgressBandwidthTier()); } @@ -694,19 +601,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - totalEgressBandwidthTier_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + totalEgressBandwidthTier_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -716,55 +621,37 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int totalEgressBandwidthTier_ = 0; /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override - public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override - public int getTotalEgressBandwidthTierValue() { + @java.lang.Override public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @param value The enum numeric value on the wire for totalEgressBandwidthTier to set. * @return This builder for chaining. */ @@ -775,45 +662,29 @@ public Builder setTotalEgressBandwidthTierValue(int value) { return this; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The totalEgressBandwidthTier. */ @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getTotalEgressBandwidthTier() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( - totalEgressBandwidthTier_); - return result == null - ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED - : result; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); + return result == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @param value The totalEgressBandwidthTier to set. * @return This builder for chaining. */ - public Builder setTotalEgressBandwidthTier( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + public Builder setTotalEgressBandwidthTier(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { if (value == null) { throw new NullPointerException(); } @@ -823,16 +694,11 @@ public Builder setTotalEgressBandwidthTier( return this; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return This builder for chaining. */ public Builder clearTotalEgressBandwidthTier() { @@ -841,7 +707,6 @@ public Builder clearTotalEgressBandwidthTier() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -854,44 +719,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) - private static final com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - getDefaultInstance() { + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPerformanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPerformanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -903,18 +765,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - getDefaultInstanceForType() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int CREATE_POD_RANGE_FIELD_NUMBER = 4; private boolean createPodRange_; /** - * - * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -927,7 +787,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The createPodRange. */ @java.lang.Override @@ -938,8 +797,6 @@ public boolean getCreatePodRange() { public static final int POD_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object podRange_; /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -950,7 +807,6 @@ public boolean getCreatePodRange() {
    * 
* * string pod_range = 5; - * * @return The podRange. */ @java.lang.Override @@ -959,15 +815,14 @@ public java.lang.String getPodRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; } } /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -978,15 +833,16 @@ public java.lang.String getPodRange() {
    * 
* * string pod_range = 5; - * * @return The bytes for podRange. */ @java.lang.Override - public com.google.protobuf.ByteString getPodRangeBytes() { + public com.google.protobuf.ByteString + getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podRange_ = b; return b; } else { @@ -997,8 +853,6 @@ public com.google.protobuf.ByteString getPodRangeBytes() { public static final int POD_IPV4_CIDR_BLOCK_FIELD_NUMBER = 6; private volatile java.lang.Object podIpv4CidrBlock_; /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -1013,7 +867,6 @@ public com.google.protobuf.ByteString getPodRangeBytes() {
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The podIpv4CidrBlock. */ @java.lang.Override @@ -1022,15 +875,14 @@ public java.lang.String getPodIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -1045,15 +897,16 @@ public java.lang.String getPodIpv4CidrBlock() {
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The bytes for podIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -1064,8 +917,6 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 9; private boolean enablePrivateNodes_; /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -1073,7 +924,6 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() {
    * 
* * optional bool enable_private_nodes = 9; - * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -1081,8 +931,6 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -1090,7 +938,6 @@ public boolean hasEnablePrivateNodes() {
    * 
* * optional bool enable_private_nodes = 9; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -1099,19 +946,13 @@ public boolean getEnablePrivateNodes() { } public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER = 11; - private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - networkPerformanceConfig_; + private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return Whether the networkPerformanceConfig field is set. */ @java.lang.Override @@ -1119,46 +960,30 @@ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return The networkPerformanceConfig. */ @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - getNetworkPerformanceConfig() { - return networkPerformanceConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() - : networkPerformanceConfig_; + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { + return networkPerformanceConfig_ == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder - getNetworkPerformanceConfigOrBuilder() { - return networkPerformanceConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() - : networkPerformanceConfig_; + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { + return networkPerformanceConfig_ == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1170,7 +995,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createPodRange_ != false) { output.writeBool(4, createPodRange_); } @@ -1196,7 +1022,8 @@ public int getSerializedSize() { size = 0; if (createPodRange_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, createPodRange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, createPodRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, podRange_); @@ -1205,12 +1032,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, podIpv4CidrBlock_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, enablePrivateNodes_); } if (((bitField0_ & 0x00000002) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, getNetworkPerformanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getNetworkPerformanceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1220,24 +1047,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeNetworkConfig)) { return super.equals(obj); } - com.google.container.v1.NodeNetworkConfig other = - (com.google.container.v1.NodeNetworkConfig) obj; + com.google.container.v1.NodeNetworkConfig other = (com.google.container.v1.NodeNetworkConfig) obj; - if (getCreatePodRange() != other.getCreatePodRange()) return false; - if (!getPodRange().equals(other.getPodRange())) return false; - if (!getPodIpv4CidrBlock().equals(other.getPodIpv4CidrBlock())) return false; + if (getCreatePodRange() + != other.getCreatePodRange()) return false; + if (!getPodRange() + .equals(other.getPodRange())) return false; + if (!getPodIpv4CidrBlock() + .equals(other.getPodIpv4CidrBlock())) return false; if (hasEnablePrivateNodes() != other.hasEnablePrivateNodes()) return false; if (hasEnablePrivateNodes()) { - if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateNodes() + != other.getEnablePrivateNodes()) return false; } if (hasNetworkPerformanceConfig() != other.hasNetworkPerformanceConfig()) return false; if (hasNetworkPerformanceConfig()) { - if (!getNetworkPerformanceConfig().equals(other.getNetworkPerformanceConfig())) return false; + if (!getNetworkPerformanceConfig() + .equals(other.getNetworkPerformanceConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1251,14 +1082,16 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CREATE_POD_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreatePodRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCreatePodRange()); hash = (37 * hash) + POD_RANGE_FIELD_NUMBER; hash = (53 * hash) + getPodRange().hashCode(); hash = (37 * hash) + POD_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getPodIpv4CidrBlock().hashCode(); if (hasEnablePrivateNodes()) { hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateNodes()); } if (hasNetworkPerformanceConfig()) { hash = (37 * hash) + NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER; @@ -1269,127 +1102,118 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeNetworkConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeNetworkConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeNetworkConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeNetworkConfig parseFrom( 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.NodeNetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeNetworkConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeNetworkConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeNetworkConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodeNetworkConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodeNetworkConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeNetworkConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeNetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeNetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeNetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters for node pool-level network config.
    * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeNetworkConfig) com.google.container.v1.NodeNetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.class, - com.google.container.v1.NodeNetworkConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.class, com.google.container.v1.NodeNetworkConfig.Builder.class); } // Construct using com.google.container.v1.NodeNetworkConfig.newBuilder() @@ -1397,17 +1221,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNetworkPerformanceConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1429,9 +1253,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodeNetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_descriptor; } @java.lang.Override @@ -1450,8 +1274,7 @@ public com.google.container.v1.NodeNetworkConfig build() { @java.lang.Override public com.google.container.v1.NodeNetworkConfig buildPartial() { - com.google.container.v1.NodeNetworkConfig result = - new com.google.container.v1.NodeNetworkConfig(this); + com.google.container.v1.NodeNetworkConfig result = new com.google.container.v1.NodeNetworkConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.createPodRange_ = createPodRange_; @@ -1478,39 +1301,38 @@ public com.google.container.v1.NodeNetworkConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodeNetworkConfig) { - return mergeFrom((com.google.container.v1.NodeNetworkConfig) other); + return mergeFrom((com.google.container.v1.NodeNetworkConfig)other); } else { super.mergeFrom(other); return this; @@ -1562,44 +1384,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 32: - { - createPodRange_ = input.readBool(); + case 32: { + createPodRange_ = input.readBool(); - break; - } // case 32 - case 42: - { - podRange_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: { + podRange_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: - { - podIpv4CidrBlock_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: { + podIpv4CidrBlock_ = input.readStringRequireUtf8(); - break; - } // case 50 - case 72: - { - enablePrivateNodes_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 72 - case 90: - { - input.readMessage( - getNetworkPerformanceConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + case 72: { + enablePrivateNodes_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 72 + case 90: { + input.readMessage( + getNetworkPerformanceConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1609,13 +1426,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean createPodRange_; + private boolean createPodRange_ ; /** - * - * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1628,7 +1442,6 @@ public Builder mergeFrom(
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The createPodRange. */ @java.lang.Override @@ -1636,8 +1449,6 @@ public boolean getCreatePodRange() { return createPodRange_; } /** - * - * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1650,19 +1461,16 @@ public boolean getCreatePodRange() {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The createPodRange to set. * @return This builder for chaining. */ public Builder setCreatePodRange(boolean value) { - + createPodRange_ = value; onChanged(); return this; } /** - * - * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1675,11 +1483,10 @@ public Builder setCreatePodRange(boolean value) {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCreatePodRange() { - + createPodRange_ = false; onChanged(); return this; @@ -1687,8 +1494,6 @@ public Builder clearCreatePodRange() { private java.lang.Object podRange_ = ""; /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1699,13 +1504,13 @@ public Builder clearCreatePodRange() {
      * 
* * string pod_range = 5; - * * @return The podRange. */ public java.lang.String getPodRange() { java.lang.Object ref = podRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; @@ -1714,8 +1519,6 @@ public java.lang.String getPodRange() { } } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1726,14 +1529,15 @@ public java.lang.String getPodRange() {
      * 
* * string pod_range = 5; - * * @return The bytes for podRange. */ - public com.google.protobuf.ByteString getPodRangeBytes() { + public com.google.protobuf.ByteString + getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podRange_ = b; return b; } else { @@ -1741,8 +1545,6 @@ public com.google.protobuf.ByteString getPodRangeBytes() { } } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1753,22 +1555,20 @@ public com.google.protobuf.ByteString getPodRangeBytes() {
      * 
* * string pod_range = 5; - * * @param value The podRange to set. * @return This builder for chaining. */ - public Builder setPodRange(java.lang.String value) { + public Builder setPodRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podRange_ = value; onChanged(); return this; } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1779,18 +1579,15 @@ public Builder setPodRange(java.lang.String value) {
      * 
* * string pod_range = 5; - * * @return This builder for chaining. */ public Builder clearPodRange() { - + podRange_ = getDefaultInstance().getPodRange(); onChanged(); return this; } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1801,16 +1598,16 @@ public Builder clearPodRange() {
      * 
* * string pod_range = 5; - * * @param value The bytes for podRange to set. * @return This builder for chaining. */ - public Builder setPodRangeBytes(com.google.protobuf.ByteString value) { + public Builder setPodRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podRange_ = value; onChanged(); return this; @@ -1818,8 +1615,6 @@ public Builder setPodRangeBytes(com.google.protobuf.ByteString value) { private java.lang.Object podIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1834,13 +1629,13 @@ public Builder setPodRangeBytes(com.google.protobuf.ByteString value) {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @return The podIpv4CidrBlock. */ public java.lang.String getPodIpv4CidrBlock() { java.lang.Object ref = podIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; @@ -1849,8 +1644,6 @@ public java.lang.String getPodIpv4CidrBlock() { } } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1865,14 +1658,15 @@ public java.lang.String getPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @return The bytes for podIpv4CidrBlock. */ - public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -1880,8 +1674,6 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1896,22 +1688,20 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @param value The podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlock(java.lang.String value) { + public Builder setPodIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1926,18 +1716,15 @@ public Builder setPodIpv4CidrBlock(java.lang.String value) {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @return This builder for chaining. */ public Builder clearPodIpv4CidrBlock() { - + podIpv4CidrBlock_ = getDefaultInstance().getPodIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1952,25 +1739,23 @@ public Builder clearPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @param value The bytes for podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setPodIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean enablePrivateNodes_; + private boolean enablePrivateNodes_ ; /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1978,7 +1763,6 @@ public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) {
      * 
* * optional bool enable_private_nodes = 9; - * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -1986,8 +1770,6 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1995,7 +1777,6 @@ public boolean hasEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -2003,8 +1784,6 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -2012,7 +1791,6 @@ public boolean getEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; - * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ @@ -2023,8 +1801,6 @@ public Builder setEnablePrivateNodes(boolean value) { return this; } /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -2032,7 +1808,6 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * optional bool enable_private_nodes = 9; - * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { @@ -2042,66 +1817,43 @@ public Builder clearEnablePrivateNodes() { return this; } - private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - networkPerformanceConfig_; + private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> - networkPerformanceConfigBuilder_; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> networkPerformanceConfigBuilder_; /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return Whether the networkPerformanceConfig field is set. */ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return The networkPerformanceConfig. */ - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - getNetworkPerformanceConfig() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { - return networkPerformanceConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance() - : networkPerformanceConfig_; + return networkPerformanceConfig_ == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } else { return networkPerformanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public Builder setNetworkPerformanceConfig( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder setNetworkPerformanceConfig(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2115,19 +1867,14 @@ public Builder setNetworkPerformanceConfig( return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ public Builder setNetworkPerformanceConfig( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder - builderForValue) { + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder builderForValue) { if (networkPerformanceConfigBuilder_ == null) { networkPerformanceConfig_ = builderForValue.build(); onChanged(); @@ -2138,29 +1885,19 @@ public Builder setNetworkPerformanceConfig( return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public Builder mergeNetworkPerformanceConfig( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder mergeNetworkPerformanceConfig(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && networkPerformanceConfig_ != null - && networkPerformanceConfig_ - != com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + networkPerformanceConfig_ != null && + networkPerformanceConfig_ != com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) { networkPerformanceConfig_ = - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder( - networkPerformanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder(networkPerformanceConfig_).mergeFrom(value).buildPartial(); } else { networkPerformanceConfig_ = value; } @@ -2172,15 +1909,11 @@ public Builder mergeNetworkPerformanceConfig( return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ public Builder clearNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { @@ -2193,74 +1926,55 @@ public Builder clearNetworkPerformanceConfig() { return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder - getNetworkPerformanceConfigBuilder() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNetworkPerformanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder - getNetworkPerformanceConfigOrBuilder() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { if (networkPerformanceConfigBuilder_ != null) { return networkPerformanceConfigBuilder_.getMessageOrBuilder(); } else { - return networkPerformanceConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance() - : networkPerformanceConfig_; + return networkPerformanceConfig_ == null ? + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> getNetworkPerformanceConfigFieldBuilder() { if (networkPerformanceConfigBuilder_ == null) { - networkPerformanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( - getNetworkPerformanceConfig(), getParentForChildren(), isClean()); + networkPerformanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( + getNetworkPerformanceConfig(), + getParentForChildren(), + isClean()); networkPerformanceConfig_ = null; } return networkPerformanceConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2270,12 +1984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeNetworkConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeNetworkConfig) private static final com.google.container.v1.NodeNetworkConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeNetworkConfig(); } @@ -2284,27 +1998,27 @@ public static com.google.container.v1.NodeNetworkConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeNetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeNetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2319,4 +2033,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeNetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java similarity index 77% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java index 989675a008b4..d5b386e12354 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeNetworkConfigOrBuilder - extends +public interface NodeNetworkConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeNetworkConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -38,14 +20,11 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The createPodRange. */ boolean getCreatePodRange(); /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -56,13 +35,10 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_range = 5; - * * @return The podRange. */ java.lang.String getPodRange(); /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -73,14 +49,12 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_range = 5; - * * @return The bytes for podRange. */ - com.google.protobuf.ByteString getPodRangeBytes(); + com.google.protobuf.ByteString + getPodRangeBytes(); /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -95,13 +69,10 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The podIpv4CidrBlock. */ java.lang.String getPodIpv4CidrBlock(); /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -116,14 +87,12 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The bytes for podIpv4CidrBlock. */ - com.google.protobuf.ByteString getPodIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getPodIpv4CidrBlockBytes(); /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -131,13 +100,10 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * optional bool enable_private_nodes = 9; - * * @return Whether the enablePrivateNodes field is set. */ boolean hasEnablePrivateNodes(); /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -145,50 +111,34 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * optional bool enable_private_nodes = 9; - * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return Whether the networkPerformanceConfig field is set. */ boolean hasNetworkPerformanceConfig(); /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return The networkPerformanceConfig. */ com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig(); /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder - getNetworkPerformanceConfigOrBuilder(); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java similarity index 76% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index 612df7aa2280..26a7b4f5efc7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * NodePool contains the name and configuration for a cluster's node pool.
  * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.container.v1.NodePool}
  */
-public final class NodePool extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodePool extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodePool)
     NodePoolOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodePool.newBuilder() to construct.
   private NodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodePool() {
     name_ = "";
     locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -55,42 +37,39 @@ private NodePool() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodePool();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodePool_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodePool_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.container.v1.NodePool.class, com.google.container.v1.NodePool.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The current status of the node pool instance.
    * 
* * Protobuf enum {@code google.container.v1.NodePool.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -99,8 +78,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -109,8 +86,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -120,8 +95,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -133,8 +106,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING_WITH_ERROR(3),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -145,8 +116,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(4),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -155,8 +124,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(5), /** - * - * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -169,8 +136,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -179,8 +144,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -189,8 +152,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -200,8 +161,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -213,8 +172,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_WITH_ERROR_VALUE = 3;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -225,8 +182,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECONCILING_VALUE = 4;
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -235,8 +190,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 5; /** - * - * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -246,6 +199,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -270,57 +224,53 @@ public static Status valueOf(int 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 RUNNING_WITH_ERROR;
-        case 4:
-          return RECONCILING;
-        case 5:
-          return STOPPING;
-        case 6:
-          return ERROR;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATUS_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RUNNING_WITH_ERROR;
+        case 4: return RECONCILING;
+        case 5: return STOPPING;
+        case 6: return ERROR;
+        default: return null;
+      }
     }
 
-    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 static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Status> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Status findValueByNumber(int number) {
+              return Status.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.NodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -337,28 +287,22 @@ private Status(int value) {
     // @@protoc_insertion_point(enum_scope:google.container.v1.NodePool.Status)
   }
 
-  public interface UpgradeSettingsOrBuilder
-      extends
+  public interface UpgradeSettingsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpgradeSettings)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; - * * @return The maxSurge. */ int getMaxSurge(); /** - * - * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -366,75 +310,57 @@ public interface UpgradeSettingsOrBuilder
      * 
* * int32 max_unavailable = 2; - * * @return The maxUnavailable. */ int getMaxUnavailable(); /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return Whether the strategy field is set. */ boolean hasStrategy(); /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return The enum numeric value on the wire for strategy. */ int getStrategyValue(); /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return The strategy. */ com.google.container.v1.NodePoolUpdateStrategy getStrategy(); /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; - * * @return Whether the blueGreenSettings field is set. */ boolean hasBlueGreenSettings(); /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; - * * @return The blueGreenSettings. */ com.google.container.v1.BlueGreenSettings getBlueGreenSettings(); /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -444,8 +370,6 @@ public interface UpgradeSettingsOrBuilder com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder(); } /** - * - * *
    * These upgrade settings control the level of parallelism and the level of
    * disruption caused by an upgrade.
@@ -489,59 +413,54 @@ public interface UpgradeSettingsOrBuilder
    *
    * Protobuf type {@code google.container.v1.NodePool.UpgradeSettings}
    */
-  public static final class UpgradeSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class UpgradeSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpgradeSettings)
       UpgradeSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use UpgradeSettings.newBuilder() to construct.
     private UpgradeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private UpgradeSettings() {
       strategy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new UpgradeSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePool.UpgradeSettings.class,
-              com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
+              com.google.container.v1.NodePool.UpgradeSettings.class, com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
     }
 
     private int bitField0_;
     public static final int MAX_SURGE_FIELD_NUMBER = 1;
     private int maxSurge_;
     /**
-     *
-     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; - * * @return The maxSurge. */ @java.lang.Override @@ -552,8 +471,6 @@ public int getMaxSurge() { public static final int MAX_UNAVAILABLE_FIELD_NUMBER = 2; private int maxUnavailable_; /** - * - * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -561,7 +478,6 @@ public int getMaxSurge() {
      * 
* * int32 max_unavailable = 2; - * * @return The maxUnavailable. */ @java.lang.Override @@ -572,65 +488,49 @@ public int getMaxUnavailable() { public static final int STRATEGY_FIELD_NUMBER = 3; private int strategy_; /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return Whether the strategy field is set. */ - @java.lang.Override - public boolean hasStrategy() { + @java.lang.Override public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override - public int getStrategyValue() { + @java.lang.Override public int getStrategyValue() { return strategy_; } /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return The strategy. */ - @java.lang.Override - public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { + @java.lang.Override public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolUpdateStrategy result = - com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); + com.google.container.v1.NodePoolUpdateStrategy result = com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); return result == null ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED : result; } public static final int BLUE_GREEN_SETTINGS_FIELD_NUMBER = 4; private com.google.container.v1.BlueGreenSettings blueGreenSettings_; /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; - * * @return Whether the blueGreenSettings field is set. */ @java.lang.Override @@ -638,25 +538,18 @@ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; - * * @return The blueGreenSettings. */ @java.lang.Override public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { - return blueGreenSettings_ == null - ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -665,13 +558,10 @@ public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { */ @java.lang.Override public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { - return blueGreenSettings_ == null - ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -683,7 +573,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxSurge_ != 0) { output.writeInt32(1, maxSurge_); } @@ -706,16 +597,20 @@ public int getSerializedSize() { size = 0; if (maxSurge_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxSurge_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxSurge_); } if (maxUnavailable_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxUnavailable_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxUnavailable_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, strategy_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, strategy_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBlueGreenSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getBlueGreenSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -725,23 +620,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.UpgradeSettings)) { return super.equals(obj); } - com.google.container.v1.NodePool.UpgradeSettings other = - (com.google.container.v1.NodePool.UpgradeSettings) obj; + com.google.container.v1.NodePool.UpgradeSettings other = (com.google.container.v1.NodePool.UpgradeSettings) obj; - if (getMaxSurge() != other.getMaxSurge()) return false; - if (getMaxUnavailable() != other.getMaxUnavailable()) return false; + if (getMaxSurge() + != other.getMaxSurge()) return false; + if (getMaxUnavailable() + != other.getMaxUnavailable()) return false; if (hasStrategy() != other.hasStrategy()) return false; if (hasStrategy()) { if (strategy_ != other.strategy_) return false; } if (hasBlueGreenSettings() != other.hasBlueGreenSettings()) return false; if (hasBlueGreenSettings()) { - if (!getBlueGreenSettings().equals(other.getBlueGreenSettings())) return false; + if (!getBlueGreenSettings() + .equals(other.getBlueGreenSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -772,93 +669,87 @@ public int hashCode() { } public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpgradeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( 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.NodePool.UpgradeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodePool.UpgradeSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodePool.UpgradeSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpgradeSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePool.UpgradeSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -868,8 +759,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * These upgrade settings control the level of parallelism and the level of
      * disruption caused by an upgrade.
@@ -913,24 +802,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1.NodePool.UpgradeSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpgradeSettings)
         com.google.container.v1.NodePool.UpgradeSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1.NodePool.UpgradeSettings.class,
-                com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
+                com.google.container.v1.NodePool.UpgradeSettings.class, com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
       }
 
       // Construct using com.google.container.v1.NodePool.UpgradeSettings.newBuilder()
@@ -938,17 +824,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getBlueGreenSettingsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -968,9 +854,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
@@ -989,8 +875,7 @@ public com.google.container.v1.NodePool.UpgradeSettings build() {
 
       @java.lang.Override
       public com.google.container.v1.NodePool.UpgradeSettings buildPartial() {
-        com.google.container.v1.NodePool.UpgradeSettings result =
-            new com.google.container.v1.NodePool.UpgradeSettings(this);
+        com.google.container.v1.NodePool.UpgradeSettings result = new com.google.container.v1.NodePool.UpgradeSettings(this);
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         result.maxSurge_ = maxSurge_;
@@ -1016,41 +901,38 @@ public com.google.container.v1.NodePool.UpgradeSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.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.NodePool.UpgradeSettings) {
-          return mergeFrom((com.google.container.v1.NodePool.UpgradeSettings) other);
+          return mergeFrom((com.google.container.v1.NodePool.UpgradeSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1058,8 +940,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1.NodePool.UpgradeSettings other) {
-        if (other == com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance()) return this;
         if (other.getMaxSurge() != 0) {
           setMaxSurge(other.getMaxSurge());
         }
@@ -1098,38 +979,34 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  maxSurge_ = input.readInt32();
+              case 8: {
+                maxSurge_ = input.readInt32();
 
-                  break;
-                } // case 8
-              case 16:
-                {
-                  maxUnavailable_ = input.readInt32();
+                break;
+              } // case 8
+              case 16: {
+                maxUnavailable_ = input.readInt32();
 
-                  break;
-                } // case 16
-              case 24:
-                {
-                  strategy_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 24
-              case 34:
-                {
-                  input.readMessage(
-                      getBlueGreenSettingsFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 34
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                break;
+              } // case 16
+              case 24: {
+                strategy_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 24
+              case 34: {
+                input.readMessage(
+                    getBlueGreenSettingsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                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) {
@@ -1139,20 +1016,16 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int maxSurge_;
+      private int maxSurge_ ;
       /**
-       *
-       *
        * 
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; - * * @return The maxSurge. */ @java.lang.Override @@ -1160,47 +1033,39 @@ public int getMaxSurge() { return maxSurge_; } /** - * - * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; - * * @param value The maxSurge to set. * @return This builder for chaining. */ public Builder setMaxSurge(int value) { - + maxSurge_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; - * * @return This builder for chaining. */ public Builder clearMaxSurge() { - + maxSurge_ = 0; onChanged(); return this; } - private int maxUnavailable_; + private int maxUnavailable_ ; /** - * - * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1208,7 +1073,6 @@ public Builder clearMaxSurge() {
        * 
* * int32 max_unavailable = 2; - * * @return The maxUnavailable. */ @java.lang.Override @@ -1216,8 +1080,6 @@ public int getMaxUnavailable() { return maxUnavailable_; } /** - * - * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1225,19 +1087,16 @@ public int getMaxUnavailable() {
        * 
* * int32 max_unavailable = 2; - * * @param value The maxUnavailable to set. * @return This builder for chaining. */ public Builder setMaxUnavailable(int value) { - + maxUnavailable_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1245,11 +1104,10 @@ public Builder setMaxUnavailable(int value) {
        * 
* * int32 max_unavailable = 2; - * * @return This builder for chaining. */ public Builder clearMaxUnavailable() { - + maxUnavailable_ = 0; onChanged(); return this; @@ -1257,44 +1115,33 @@ public Builder clearMaxUnavailable() { private int strategy_ = 0; /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return Whether the strategy field is set. */ - @java.lang.Override - public boolean hasStrategy() { + @java.lang.Override public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override - public int getStrategyValue() { + @java.lang.Override public int getStrategyValue() { return strategy_; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @param value The enum numeric value on the wire for strategy to set. * @return This builder for chaining. */ @@ -1305,34 +1152,25 @@ public Builder setStrategyValue(int value) { return this; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return The strategy. */ @java.lang.Override public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolUpdateStrategy result = - com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); - return result == null - ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED - : result; + com.google.container.v1.NodePoolUpdateStrategy result = com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED : result; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @param value The strategy to set. * @return This builder for chaining. */ @@ -1346,14 +1184,11 @@ public Builder setStrategy(com.google.container.v1.NodePoolUpdateStrategy value) return this; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; - * * @return This builder for chaining. */ public Builder clearStrategy() { @@ -1365,47 +1200,34 @@ public Builder clearStrategy() { private com.google.container.v1.BlueGreenSettings blueGreenSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings, - com.google.container.v1.BlueGreenSettings.Builder, - com.google.container.v1.BlueGreenSettingsOrBuilder> - blueGreenSettingsBuilder_; + com.google.container.v1.BlueGreenSettings, com.google.container.v1.BlueGreenSettings.Builder, com.google.container.v1.BlueGreenSettingsOrBuilder> blueGreenSettingsBuilder_; /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; - * * @return Whether the blueGreenSettings field is set. */ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; - * * @return The blueGreenSettings. */ public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { if (blueGreenSettingsBuilder_ == null) { - return blueGreenSettings_ == null - ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } else { return blueGreenSettingsBuilder_.getMessage(); } } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1426,8 +1248,6 @@ public Builder setBlueGreenSettings(com.google.container.v1.BlueGreenSettings va return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1446,8 +1266,6 @@ public Builder setBlueGreenSettings( return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1456,14 +1274,11 @@ public Builder setBlueGreenSettings( */ public Builder mergeBlueGreenSettings(com.google.container.v1.BlueGreenSettings value) { if (blueGreenSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && blueGreenSettings_ != null - && blueGreenSettings_ - != com.google.container.v1.BlueGreenSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + blueGreenSettings_ != null && + blueGreenSettings_ != com.google.container.v1.BlueGreenSettings.getDefaultInstance()) { blueGreenSettings_ = - com.google.container.v1.BlueGreenSettings.newBuilder(blueGreenSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.BlueGreenSettings.newBuilder(blueGreenSettings_).mergeFrom(value).buildPartial(); } else { blueGreenSettings_ = value; } @@ -1475,8 +1290,6 @@ public Builder mergeBlueGreenSettings(com.google.container.v1.BlueGreenSettings return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1494,8 +1307,6 @@ public Builder clearBlueGreenSettings() { return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1508,8 +1319,6 @@ public com.google.container.v1.BlueGreenSettings.Builder getBlueGreenSettingsBui return getBlueGreenSettingsFieldBuilder().getBuilder(); } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1520,14 +1329,11 @@ public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOr if (blueGreenSettingsBuilder_ != null) { return blueGreenSettingsBuilder_.getMessageOrBuilder(); } else { - return blueGreenSettings_ == null - ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? + com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1535,22 +1341,18 @@ public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOr * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings, - com.google.container.v1.BlueGreenSettings.Builder, - com.google.container.v1.BlueGreenSettingsOrBuilder> + com.google.container.v1.BlueGreenSettings, com.google.container.v1.BlueGreenSettings.Builder, com.google.container.v1.BlueGreenSettingsOrBuilder> getBlueGreenSettingsFieldBuilder() { if (blueGreenSettingsBuilder_ == null) { - blueGreenSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings, - com.google.container.v1.BlueGreenSettings.Builder, - com.google.container.v1.BlueGreenSettingsOrBuilder>( - getBlueGreenSettings(), getParentForChildren(), isClean()); + blueGreenSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings, com.google.container.v1.BlueGreenSettings.Builder, com.google.container.v1.BlueGreenSettingsOrBuilder>( + getBlueGreenSettings(), + getParentForChildren(), + isClean()); blueGreenSettings_ = null; } return blueGreenSettingsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1563,12 +1365,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpgradeSettings) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpgradeSettings) private static final com.google.container.v1.NodePool.UpgradeSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpgradeSettings(); } @@ -1577,28 +1379,27 @@ public static com.google.container.v1.NodePool.UpgradeSettings getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1613,40 +1414,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.UpgradeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdateInfoOrBuilder - extends + public interface UpdateInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpdateInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return Whether the blueGreenInfo field is set. */ boolean hasBlueGreenInfo(); /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return The blueGreenInfo. */ com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo(); /** - * - * *
      * Information of a blue-green upgrade.
      * 
@@ -1656,8 +1449,6 @@ public interface UpdateInfoOrBuilder com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder(); } /** - * - * *
    * UpdateInfo contains resource (instance groups, etc), status and other
    * intermediate information relevant to a node pool upgrade.
@@ -1665,77 +1456,67 @@ public interface UpdateInfoOrBuilder
    *
    * Protobuf type {@code google.container.v1.NodePool.UpdateInfo}
    */
-  public static final class UpdateInfo extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class UpdateInfo extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpdateInfo)
       UpdateInfoOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use UpdateInfo.newBuilder() to construct.
     private UpdateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private UpdateInfo() {}
+    private UpdateInfo() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new UpdateInfo();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePool.UpdateInfo.class,
-              com.google.container.v1.NodePool.UpdateInfo.Builder.class);
+              com.google.container.v1.NodePool.UpdateInfo.class, com.google.container.v1.NodePool.UpdateInfo.Builder.class);
     }
 
-    public interface BlueGreenInfoOrBuilder
-        extends
+    public interface BlueGreenInfoOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The enum numeric value on the wire for phase. */ int getPhaseValue(); /** - * - * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The phase. */ com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1743,13 +1524,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return A list containing the blueInstanceGroupUrls. */ - java.util.List getBlueInstanceGroupUrlsList(); + java.util.List + getBlueInstanceGroupUrlsList(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1757,13 +1536,10 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return The count of blueInstanceGroupUrls. */ int getBlueInstanceGroupUrlsCount(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1771,14 +1547,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ java.lang.String getBlueInstanceGroupUrls(int index); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1786,15 +1559,13 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString + getBlueInstanceGroupUrlsBytes(int index); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1802,13 +1573,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @return A list containing the greenInstanceGroupUrls. */ - java.util.List getGreenInstanceGroupUrlsList(); + java.util.List + getGreenInstanceGroupUrlsList(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1816,13 +1585,10 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @return The count of greenInstanceGroupUrls. */ int getGreenInstanceGroupUrlsCount(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1830,14 +1596,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ java.lang.String getGreenInstanceGroupUrls(int index); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1845,83 +1608,70 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString + getGreenInstanceGroupUrlsBytes(int index); /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bluePoolDeletionStartTime. */ java.lang.String getBluePoolDeletionStartTime(); /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bytes for bluePoolDeletionStartTime. */ - com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes(); + com.google.protobuf.ByteString + getBluePoolDeletionStartTimeBytes(); /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The greenPoolVersion. */ java.lang.String getGreenPoolVersion(); /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The bytes for greenPoolVersion. */ - com.google.protobuf.ByteString getGreenPoolVersionBytes(); + com.google.protobuf.ByteString + getGreenPoolVersionBytes(); } /** - * - * *
      * Information relevant to blue-green upgrade.
      * 
* * Protobuf type {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class BlueGreenInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BlueGreenInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) BlueGreenInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BlueGreenInfo.newBuilder() to construct. private BlueGreenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BlueGreenInfo() { phase_ = 0; blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1932,43 +1682,39 @@ private BlueGreenInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BlueGreenInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } /** - * - * *
        * Phase represents the different stages blue-green upgrade is running in.
        * 
* * Protobuf enum {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase} */ - public enum Phase implements com.google.protobuf.ProtocolMessageEnum { + public enum Phase + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unspecified phase.
          * 
@@ -1977,8 +1723,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ PHASE_UNSPECIFIED(0), /** - * - * *
          * blue-green upgrade has been initiated.
          * 
@@ -1987,8 +1731,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE_STARTED(1), /** - * - * *
          * Start creating green pool nodes.
          * 
@@ -1997,8 +1739,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ CREATING_GREEN_POOL(2), /** - * - * *
          * Start cordoning blue pool nodes.
          * 
@@ -2007,8 +1747,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ CORDONING_BLUE_POOL(3), /** - * - * *
          * Start draining blue pool nodes.
          * 
@@ -2017,8 +1755,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ DRAINING_BLUE_POOL(4), /** - * - * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -2027,8 +1763,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ NODE_POOL_SOAKING(5), /** - * - * *
          * Start deleting blue nodes.
          * 
@@ -2037,8 +1771,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ DELETING_BLUE_POOL(6), /** - * - * *
          * Rollback has been initiated.
          * 
@@ -2050,8 +1782,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * Unspecified phase.
          * 
@@ -2060,8 +1790,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PHASE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * blue-green upgrade has been initiated.
          * 
@@ -2070,8 +1798,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_STARTED_VALUE = 1; /** - * - * *
          * Start creating green pool nodes.
          * 
@@ -2080,8 +1806,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_GREEN_POOL_VALUE = 2; /** - * - * *
          * Start cordoning blue pool nodes.
          * 
@@ -2090,8 +1814,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CORDONING_BLUE_POOL_VALUE = 3; /** - * - * *
          * Start draining blue pool nodes.
          * 
@@ -2100,8 +1822,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRAINING_BLUE_POOL_VALUE = 4; /** - * - * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -2110,8 +1830,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NODE_POOL_SOAKING_VALUE = 5; /** - * - * *
          * Start deleting blue nodes.
          * 
@@ -2120,8 +1838,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_BLUE_POOL_VALUE = 6; /** - * - * *
          * Rollback has been initiated.
          * 
@@ -2130,6 +1846,7 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLLBACK_STARTED_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2154,62 +1871,54 @@ public static Phase valueOf(int value) { */ public static Phase forNumber(int value) { switch (value) { - case 0: - return PHASE_UNSPECIFIED; - case 1: - return UPDATE_STARTED; - case 2: - return CREATING_GREEN_POOL; - case 3: - return CORDONING_BLUE_POOL; - case 4: - return DRAINING_BLUE_POOL; - case 5: - return NODE_POOL_SOAKING; - case 6: - return DELETING_BLUE_POOL; - case 7: - return ROLLBACK_STARTED; - default: - return null; + case 0: return PHASE_UNSPECIFIED; + case 1: return UPDATE_STARTED; + case 2: return CREATING_GREEN_POOL; + case 3: return CORDONING_BLUE_POOL; + case 4: return DRAINING_BLUE_POOL; + case 5: return NODE_POOL_SOAKING; + case 6: return DELETING_BLUE_POOL; + case 7: return ROLLBACK_STARTED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Phase> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Phase findValueByNumber(int number) { + return Phase.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Phase findValueByNumber(int number) { - return Phase.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor().getEnumTypes().get(0); } private static final Phase[] VALUES = values(); - public static Phase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Phase valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2229,46 +1938,33 @@ private Phase(int value) { public static final int PHASE_FIELD_NUMBER = 1; private int phase_; /** - * - * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override - public int getPhaseValue() { + @java.lang.Override public int getPhaseValue() { return phase_; } /** - * - * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The phase. */ - @java.lang.Override - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null - ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED - : result; + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; } public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList blueInstanceGroupUrls_; /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2276,15 +1972,13 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase(
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_; } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2292,15 +1986,12 @@ public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() {
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2308,7 +1999,6 @@ public int getBlueInstanceGroupUrlsCount() {
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -2316,8 +2006,6 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2325,19 +2013,17 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList greenInstanceGroupUrls_; /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2345,15 +2031,13 @@ public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) {
        * 
* * repeated string green_instance_group_urls = 3; - * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_; } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2361,15 +2045,12 @@ public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() {
        * 
* * repeated string green_instance_group_urls = 3; - * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2377,7 +2058,6 @@ public int getGreenInstanceGroupUrlsCount() {
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -2385,8 +2065,6 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2394,26 +2072,23 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER = 4; private volatile java.lang.Object bluePoolDeletionStartTime_; /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bluePoolDeletionStartTime. */ @java.lang.Override @@ -2422,30 +2097,30 @@ public java.lang.String getBluePoolDeletionStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; } } /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bytes for bluePoolDeletionStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString + getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -2456,14 +2131,11 @@ public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { public static final int GREEN_POOL_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object greenPoolVersion_; /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The greenPoolVersion. */ @java.lang.Override @@ -2472,29 +2144,29 @@ public java.lang.String getGreenPoolVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; } } /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The bytes for greenPoolVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString + getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -2503,7 +2175,6 @@ public com.google.protobuf.ByteString getGreenPoolVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2515,19 +2186,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (phase_ - != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (phase_ != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { output.writeEnum(1, phase_); } for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, blueInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, blueInstanceGroupUrls_.getRaw(i)); } for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, greenInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, greenInstanceGroupUrls_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, bluePoolDeletionStartTime_); @@ -2544,10 +2212,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (phase_ - != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, phase_); + if (phase_ != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, phase_); } { int dataSize = 0; @@ -2566,9 +2233,7 @@ public int getSerializedSize() { size += 1 * getGreenInstanceGroupUrlsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 4, bluePoolDeletionStartTime_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, bluePoolDeletionStartTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, greenPoolVersion_); @@ -2581,22 +2246,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo)) { return super.equals(obj); } - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other = - (com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) obj; + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other = (com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) obj; if (phase_ != other.phase_) return false; - if (!getBlueInstanceGroupUrlsList().equals(other.getBlueInstanceGroupUrlsList())) - return false; - if (!getGreenInstanceGroupUrlsList().equals(other.getGreenInstanceGroupUrlsList())) - return false; - if (!getBluePoolDeletionStartTime().equals(other.getBluePoolDeletionStartTime())) - return false; - if (!getGreenPoolVersion().equals(other.getGreenPoolVersion())) return false; + if (!getBlueInstanceGroupUrlsList() + .equals(other.getBlueInstanceGroupUrlsList())) return false; + if (!getGreenInstanceGroupUrlsList() + .equals(other.getGreenInstanceGroupUrlsList())) return false; + if (!getBluePoolDeletionStartTime() + .equals(other.getBluePoolDeletionStartTime())) return false; + if (!getGreenPoolVersion() + .equals(other.getGreenPoolVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2628,94 +2293,87 @@ public int hashCode() { } public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo prototype) { + public static Builder newBuilder(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2725,41 +2383,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Information relevant to blue-green upgrade.
        * 
* * Protobuf type {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } // Construct using com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2777,14 +2433,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo - getDefaultInstanceForType() { + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { return com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance(); } @@ -2799,8 +2454,7 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo build() { @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() { - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo result = - new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(this); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo result = new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(this); int from_bitField0_ = bitField0_; result.phase_ = phase_; if (((bitField0_ & 0x00000001) != 0)) { @@ -2823,41 +2477,38 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NodePool.UpdateInfo.BlueGreenInfo) { - return mergeFrom((com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) other); + return mergeFrom((com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo)other); } else { super.mergeFrom(other); return this; @@ -2865,9 +2516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other) { - if (other - == com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance()) - return this; + if (other == com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance()) return this; if (other.phase_ != 0) { setPhaseValue(other.getPhaseValue()); } @@ -2925,45 +2574,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - phase_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureBlueInstanceGroupUrlsIsMutable(); - blueInstanceGroupUrls_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureGreenInstanceGroupUrlsIsMutable(); - greenInstanceGroupUrls_.add(s); - break; - } // case 26 - case 34: - { - bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - greenPoolVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + phase_ = input.readEnum(); + + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(s); + break; + } // case 26 + case 34: { + bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + greenPoolVersion_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2973,116 +2616,90 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int phase_ = 0; /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override - public int getPhaseValue() { + @java.lang.Override public int getPhaseValue() { return phase_; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @param value The enum numeric value on the wire for phase to set. * @return This builder for chaining. */ public Builder setPhaseValue(int value) { - + phase_ = value; onChanged(); return this; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The phase. */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null - ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED - : result; + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @param value The phase to set. * @return This builder for chaining. */ - public Builder setPhase( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { + public Builder setPhase(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { if (value == null) { throw new NullPointerException(); } - + phase_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return This builder for chaining. */ public Builder clearPhase() { - + phase_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBlueInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - blueInstanceGroupUrls_ = - new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); + blueInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3090,15 +2707,13 @@ private void ensureBlueInstanceGroupUrlsIsMutable() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3106,15 +2721,12 @@ public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3122,7 +2734,6 @@ public int getBlueInstanceGroupUrlsCount() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -3130,8 +2741,6 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3139,16 +2748,14 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3156,23 +2763,21 @@ public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index to set the value at. * @param value The blueInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) { + public Builder setBlueInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3180,22 +2785,20 @@ public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param value The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrls(java.lang.String value) { + public Builder addBlueInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3203,19 +2806,18 @@ public Builder addBlueInstanceGroupUrls(java.lang.String value) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param values The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable values) { + public Builder addAllBlueInstanceGroupUrls( + java.lang.Iterable values) { ensureBlueInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blueInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, blueInstanceGroupUrls_); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3223,7 +2825,6 @@ public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable
          * 
* * repeated string blue_instance_group_urls = 2; - * * @return This builder for chaining. */ public Builder clearBlueInstanceGroupUrls() { @@ -3233,8 +2834,6 @@ public Builder clearBlueInstanceGroupUrls() { return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3242,34 +2841,29 @@ public Builder clearBlueInstanceGroupUrls() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param value The bytes of the blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addBlueInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGreenInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - greenInstanceGroupUrls_ = - new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); + greenInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3277,15 +2871,13 @@ private void ensureGreenInstanceGroupUrlsIsMutable() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3293,15 +2885,12 @@ public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3309,7 +2898,6 @@ public int getGreenInstanceGroupUrlsCount() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -3317,8 +2905,6 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3326,16 +2912,14 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3343,23 +2927,21 @@ public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index)
          * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index to set the value at. * @param value The greenInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) { + public Builder setGreenInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3367,22 +2949,20 @@ public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param value The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrls(java.lang.String value) { + public Builder addGreenInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3390,19 +2970,18 @@ public Builder addGreenInstanceGroupUrls(java.lang.String value) {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param values The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable values) { + public Builder addAllGreenInstanceGroupUrls( + java.lang.Iterable values) { ensureGreenInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, greenInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, greenInstanceGroupUrls_); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3410,7 +2989,6 @@ public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable
          * 
* * repeated string green_instance_group_urls = 3; - * * @return This builder for chaining. */ public Builder clearGreenInstanceGroupUrls() { @@ -3420,8 +2998,6 @@ public Builder clearGreenInstanceGroupUrls() { return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3429,15 +3005,15 @@ public Builder clearGreenInstanceGroupUrls() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param value The bytes of the greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addGreenInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); @@ -3446,21 +3022,19 @@ public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString val private java.lang.Object bluePoolDeletionStartTime_ = ""; /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bluePoolDeletionStartTime. */ public java.lang.String getBluePoolDeletionStartTime() { java.lang.Object ref = bluePoolDeletionStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; @@ -3469,22 +3043,21 @@ public java.lang.String getBluePoolDeletionStartTime() { } } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bytes for bluePoolDeletionStartTime. */ - public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString + getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -3492,64 +3065,57 @@ public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { } } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @param value The bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTime(java.lang.String value) { + public Builder setBluePoolDeletionStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bluePoolDeletionStartTime_ = value; onChanged(); return this; } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @return This builder for chaining. */ public Builder clearBluePoolDeletionStartTime() { - + bluePoolDeletionStartTime_ = getDefaultInstance().getBluePoolDeletionStartTime(); onChanged(); return this; } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @param value The bytes for bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setBluePoolDeletionStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bluePoolDeletionStartTime_ = value; onChanged(); return this; @@ -3557,20 +3123,18 @@ public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString private java.lang.Object greenPoolVersion_ = ""; /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @return The greenPoolVersion. */ public java.lang.String getGreenPoolVersion() { java.lang.Object ref = greenPoolVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; @@ -3579,21 +3143,20 @@ public java.lang.String getGreenPoolVersion() { } } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @return The bytes for greenPoolVersion. */ - public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString + getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -3601,66 +3164,58 @@ public com.google.protobuf.ByteString getGreenPoolVersionBytes() { } } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @param value The greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersion(java.lang.String value) { + public Builder setGreenPoolVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + greenPoolVersion_ = value; onChanged(); return this; } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @return This builder for chaining. */ public Builder clearGreenPoolVersion() { - + greenPoolVersion_ = getDefaultInstance().getGreenPoolVersion(); onChanged(); return this; } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @param value The bytes for greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value) { + public Builder setGreenPoolVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + greenPoolVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3673,13 +3228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) - private static final com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo - DEFAULT_INSTANCE; - + private static final com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(); } @@ -3688,28 +3242,27 @@ public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BlueGreenInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3724,19 +3277,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BLUE_GREEN_INFO_FIELD_NUMBER = 1; private com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return Whether the blueGreenInfo field is set. */ @java.lang.Override @@ -3744,25 +3295,18 @@ public boolean hasBlueGreenInfo() { return blueGreenInfo_ != null; } /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return The blueGreenInfo. */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { - return blueGreenInfo_ == null - ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() - : blueGreenInfo_; + return blueGreenInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; } /** - * - * *
      * Information of a blue-green upgrade.
      * 
@@ -3770,13 +3314,11 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInf * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ @java.lang.Override - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder - getBlueGreenInfoOrBuilder() { + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { return getBlueGreenInfo(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3788,7 +3330,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (blueGreenInfo_ != null) { output.writeMessage(1, getBlueGreenInfo()); } @@ -3802,7 +3345,8 @@ public int getSerializedSize() { size = 0; if (blueGreenInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBlueGreenInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBlueGreenInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3812,17 +3356,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.UpdateInfo)) { return super.equals(obj); } - com.google.container.v1.NodePool.UpdateInfo other = - (com.google.container.v1.NodePool.UpdateInfo) obj; + com.google.container.v1.NodePool.UpdateInfo other = (com.google.container.v1.NodePool.UpdateInfo) obj; if (hasBlueGreenInfo() != other.hasBlueGreenInfo()) return false; if (hasBlueGreenInfo()) { - if (!getBlueGreenInfo().equals(other.getBlueGreenInfo())) return false; + if (!getBlueGreenInfo() + .equals(other.getBlueGreenInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3844,94 +3388,88 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom( 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.NodePool.UpdateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodePool.UpdateInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodePool.UpdateInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpdateInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePool.UpdateInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3941,8 +3479,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * UpdateInfo contains resource (instance groups, etc), status and other
      * intermediate information relevant to a node pool upgrade.
@@ -3950,33 +3486,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1.NodePool.UpdateInfo}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpdateInfo)
         com.google.container.v1.NodePool.UpdateInfoOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1.NodePool.UpdateInfo.class,
-                com.google.container.v1.NodePool.UpdateInfo.Builder.class);
+                com.google.container.v1.NodePool.UpdateInfo.class, com.google.container.v1.NodePool.UpdateInfo.Builder.class);
       }
 
       // Construct using com.google.container.v1.NodePool.UpdateInfo.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3990,9 +3526,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
@@ -4011,8 +3547,7 @@ public com.google.container.v1.NodePool.UpdateInfo build() {
 
       @java.lang.Override
       public com.google.container.v1.NodePool.UpdateInfo buildPartial() {
-        com.google.container.v1.NodePool.UpdateInfo result =
-            new com.google.container.v1.NodePool.UpdateInfo(this);
+        com.google.container.v1.NodePool.UpdateInfo result = new com.google.container.v1.NodePool.UpdateInfo(this);
         if (blueGreenInfoBuilder_ == null) {
           result.blueGreenInfo_ = blueGreenInfo_;
         } else {
@@ -4026,41 +3561,38 @@ public com.google.container.v1.NodePool.UpdateInfo buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.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.NodePool.UpdateInfo) {
-          return mergeFrom((com.google.container.v1.NodePool.UpdateInfo) other);
+          return mergeFrom((com.google.container.v1.NodePool.UpdateInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4098,19 +3630,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getBlueGreenInfoFieldBuilder().getBuilder(), extensionRegistry);
+              case 10: {
+                input.readMessage(
+                    getBlueGreenInfoFieldBuilder().getBuilder(),
+                    extensionRegistry);
 
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                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) {
@@ -4123,55 +3655,41 @@ public Builder mergeFrom(
 
       private com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo,
-              com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder,
-              com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>
-          blueGreenInfoBuilder_;
+          com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> blueGreenInfoBuilder_;
       /**
-       *
-       *
        * 
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return Whether the blueGreenInfo field is set. */ public boolean hasBlueGreenInfo() { return blueGreenInfoBuilder_ != null || blueGreenInfo_ != null; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return The blueGreenInfo. */ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { if (blueGreenInfoBuilder_ == null) { - return blueGreenInfo_ == null - ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() - : blueGreenInfo_; + return blueGreenInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; } else { return blueGreenInfoBuilder_.getMessage(); } } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder setBlueGreenInfo( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder setBlueGreenInfo(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4185,8 +3703,6 @@ public Builder setBlueGreenInfo( return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
@@ -4205,22 +3721,17 @@ public Builder setBlueGreenInfo( return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder mergeBlueGreenInfo( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder mergeBlueGreenInfo(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (blueGreenInfo_ != null) { blueGreenInfo_ = - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder(blueGreenInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder(blueGreenInfo_).mergeFrom(value).buildPartial(); } else { blueGreenInfo_ = value; } @@ -4232,8 +3743,6 @@ public Builder mergeBlueGreenInfo( return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
@@ -4252,42 +3761,33 @@ public Builder clearBlueGreenInfo() { return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder - getBlueGreenInfoBuilder() { - + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder getBlueGreenInfoBuilder() { + onChanged(); return getBlueGreenInfoFieldBuilder().getBuilder(); } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder - getBlueGreenInfoOrBuilder() { + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { if (blueGreenInfoBuilder_ != null) { return blueGreenInfoBuilder_.getMessageOrBuilder(); } else { - return blueGreenInfo_ == null - ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() - : blueGreenInfo_; + return blueGreenInfo_ == null ? + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; } } /** - * - * *
        * Information of a blue-green upgrade.
        * 
@@ -4295,22 +3795,18 @@ public Builder clearBlueGreenInfo() { * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> getBlueGreenInfoFieldBuilder() { if (blueGreenInfoBuilder_ == null) { - blueGreenInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( - getBlueGreenInfo(), getParentForChildren(), isClean()); + blueGreenInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( + getBlueGreenInfo(), + getParentForChildren(), + isClean()); blueGreenInfo_ = null; } return blueGreenInfoBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4323,12 +3819,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpdateInfo) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpdateInfo) private static final com.google.container.v1.NodePool.UpdateInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpdateInfo(); } @@ -4337,28 +3833,27 @@ public static com.google.container.v1.NodePool.UpdateInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4373,100 +3868,87 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.UpdateInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PlacementPolicyOrBuilder - extends + public interface PlacementPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.PlacementPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @return The type. */ com.google.container.v1.NodePool.PlacementPolicy.Type getType(); } /** - * - * *
    * PlacementPolicy defines the placement policy used by the node pool.
    * 
* * Protobuf type {@code google.container.v1.NodePool.PlacementPolicy} */ - public static final class PlacementPolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PlacementPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.PlacementPolicy) PlacementPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PlacementPolicy.newBuilder() to construct. private PlacementPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PlacementPolicy() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PlacementPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.PlacementPolicy.class, - com.google.container.v1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1.NodePool.PlacementPolicy.class, com.google.container.v1.NodePool.PlacementPolicy.Builder.class); } /** - * - * *
      * Type defines the type of placement policy.
      * 
* * Protobuf enum {@code google.container.v1.NodePool.PlacementPolicy.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -4476,8 +3958,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       TYPE_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -4490,8 +3970,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -4501,8 +3979,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int TYPE_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -4512,6 +3988,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int COMPACT_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4536,49 +4013,48 @@ public static Type valueOf(int value) {
        */
       public static Type forNumber(int value) {
         switch (value) {
-          case 0:
-            return TYPE_UNSPECIFIED;
-          case 1:
-            return COMPACT;
-          default:
-            return null;
+          case 0: return TYPE_UNSPECIFIED;
+          case 1: return COMPACT;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Type> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Type findValueByNumber(int number) {
+                return Type.forNumber(number);
+              }
+            };
 
-      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() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.container.v1.NodePool.PlacementPolicy.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.container.v1.NodePool.PlacementPolicy.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Type[] VALUES = values();
 
-      public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      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.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -4598,43 +4074,31 @@ private Type(int value) {
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
-     *
-     *
      * 
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.container.v1.NodePool.PlacementPolicy.Type getType() { + @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.PlacementPolicy.Type result = - com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null - ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED - : result; + com.google.container.v1.NodePool.PlacementPolicy.Type result = com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4646,9 +4110,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } getUnknownFields().writeTo(output); @@ -4660,9 +4124,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4672,13 +4136,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.PlacementPolicy)) { return super.equals(obj); } - com.google.container.v1.NodePool.PlacementPolicy other = - (com.google.container.v1.NodePool.PlacementPolicy) obj; + com.google.container.v1.NodePool.PlacementPolicy other = (com.google.container.v1.NodePool.PlacementPolicy) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4700,93 +4163,87 @@ public int hashCode() { } public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.PlacementPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( 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.NodePool.PlacementPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodePool.PlacementPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodePool.PlacementPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.PlacementPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePool.PlacementPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4796,41 +4253,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * PlacementPolicy defines the placement policy used by the node pool.
      * 
* * Protobuf type {@code google.container.v1.NodePool.PlacementPolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.PlacementPolicy) com.google.container.v1.NodePool.PlacementPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.PlacementPolicy.class, - com.google.container.v1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1.NodePool.PlacementPolicy.class, com.google.container.v1.NodePool.PlacementPolicy.Builder.class); } // Construct using com.google.container.v1.NodePool.PlacementPolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4840,9 +4295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override @@ -4861,8 +4316,7 @@ public com.google.container.v1.NodePool.PlacementPolicy build() { @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy buildPartial() { - com.google.container.v1.NodePool.PlacementPolicy result = - new com.google.container.v1.NodePool.PlacementPolicy(this); + com.google.container.v1.NodePool.PlacementPolicy result = new com.google.container.v1.NodePool.PlacementPolicy(this); result.type_ = type_; onBuilt(); return result; @@ -4872,41 +4326,38 @@ public com.google.container.v1.NodePool.PlacementPolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NodePool.PlacementPolicy) { - return mergeFrom((com.google.container.v1.NodePool.PlacementPolicy) other); + return mergeFrom((com.google.container.v1.NodePool.PlacementPolicy)other); } else { super.mergeFrom(other); return this; @@ -4914,8 +4365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.NodePool.PlacementPolicy other) { - if (other == com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance()) - return this; + if (other == com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -4945,19 +4395,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); + case 8: { + type_ = input.readEnum(); - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4970,67 +4418,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @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; onChanged(); return this; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.PlacementPolicy.Type result = - com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null - ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED - : result; + com.google.container.v1.NodePool.PlacementPolicy.Type result = com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -5038,29 +4470,25 @@ public Builder setType(com.google.container.v1.NodePool.PlacementPolicy.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5073,12 +4501,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.PlacementPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.PlacementPolicy) private static final com.google.container.v1.NodePool.PlacementPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.PlacementPolicy(); } @@ -5087,28 +4515,27 @@ public static com.google.container.v1.NodePool.PlacementPolicy getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PlacementPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlacementPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5123,19 +4550,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.PlacementPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -5144,29 +4569,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -5177,14 +4602,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.container.v1.NodeConfig config_; /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; - * * @return Whether the config field is set. */ @java.lang.Override @@ -5192,14 +4614,11 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; - * * @return The config. */ @java.lang.Override @@ -5207,8 +4626,6 @@ public com.google.container.v1.NodeConfig getConfig() { return config_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : config_; } /** - * - * *
    * The node configuration of the pool.
    * 
@@ -5223,8 +4640,6 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** - * - * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -5233,7 +4648,6 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() {
    * 
* * int32 initial_node_count = 3; - * * @return The initialNodeCount. */ @java.lang.Override @@ -5244,8 +4658,6 @@ public int getInitialNodeCount() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5258,15 +4670,13 @@ public int getInitialNodeCount() {
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5279,15 +4689,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5300,7 +4707,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -5308,8 +4714,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5322,26 +4726,23 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NETWORK_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.NodeNetworkConfig networkConfig_; /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; - * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -5349,26 +4750,19 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; - * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1.NodeNetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -5384,14 +4778,11 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
   public static final int SELF_LINK_FIELD_NUMBER = 100;
   private volatile java.lang.Object selfLink_;
   /**
-   *
-   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ @java.lang.Override @@ -5400,29 +4791,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -5433,14 +4824,11 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { public static final int VERSION_FIELD_NUMBER = 101; private volatile java.lang.Object version_; /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The version. */ @java.lang.Override @@ -5449,29 +4837,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -5482,8 +4870,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 102; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5493,15 +4879,13 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * repeated string instance_group_urls = 102; - * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5511,15 +4895,12 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() {
    * 
* * repeated string instance_group_urls = 102; - * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5529,7 +4910,6 @@ public int getInstanceGroupUrlsCount() {
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -5537,8 +4917,6 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5548,55 +4926,44 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int STATUS_FIELD_NUMBER = 103; private int status_; /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1.NodePool.Status getStatus() { + @java.lang.Override public com.google.container.v1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.Status result = - com.google.container.v1.NodePool.Status.valueOf(status_); + com.google.container.v1.NodePool.Status result = com.google.container.v1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1.NodePool.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 104; private volatile java.lang.Object statusMessage_; /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -5604,27 +4971,24 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -5632,18 +4996,18 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -5654,15 +5018,12 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int AUTOSCALING_FIELD_NUMBER = 4; private com.google.container.v1.NodePoolAutoscaling autoscaling_; /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; - * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -5670,26 +5031,19 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; - * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -5705,14 +5059,11 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
   public static final int MANAGEMENT_FIELD_NUMBER = 5;
   private com.google.container.v1.NodeManagement management_;
   /**
-   *
-   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; - * * @return Whether the management field is set. */ @java.lang.Override @@ -5720,25 +5071,18 @@ public boolean hasManagement() { return management_ != null; } /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; - * * @return The management. */ @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -5753,15 +5097,12 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 6; private com.google.container.v1.MaxPodsConstraint maxPodsConstraint_; /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; - * * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -5769,26 +5110,19 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; - * * @return The maxPodsConstraint. */ @java.lang.Override public com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null - ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -5804,8 +5138,6 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOr
   public static final int CONDITIONS_FIELD_NUMBER = 105;
   private java.util.List conditions_;
   /**
-   *
-   *
    * 
    * Which conditions caused the current node pool state.
    * 
@@ -5817,8 +5149,6 @@ public java.util.List getConditionsList return conditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5826,13 +5156,11 @@ public java.util.List getConditionsList * repeated .google.container.v1.StatusCondition conditions = 105; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5844,8 +5172,6 @@ public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5857,8 +5183,6 @@ public com.google.container.v1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5866,21 +5190,19 @@ public com.google.container.v1.StatusCondition getConditions(int index) { * repeated .google.container.v1.StatusCondition conditions = 105; */ @java.lang.Override - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int POD_IPV4_CIDR_SIZE_FIELD_NUMBER = 7; private int podIpv4CidrSize_; /** - * - * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -5891,14 +5213,11 @@ public int getPodIpv4CidrSize() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 107; private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -5906,25 +5225,18 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -5939,14 +5251,11 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti public static final int PLACEMENT_POLICY_FIELD_NUMBER = 108; private com.google.container.v1.NodePool.PlacementPolicy placementPolicy_; /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; - * * @return Whether the placementPolicy field is set. */ @java.lang.Override @@ -5954,25 +5263,18 @@ public boolean hasPlacementPolicy() { return placementPolicy_ != null; } /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; - * * @return The placementPolicy. */ @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy getPlacementPolicy() { - return placementPolicy_ == null - ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() - : placementPolicy_; + return placementPolicy_ == null ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; } /** - * - * *
    * Specifies the node placement policy.
    * 
@@ -5987,17 +5289,12 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol public static final int UPDATE_INFO_FIELD_NUMBER = 109; private com.google.container.v1.NodePool.UpdateInfo updateInfo_; /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateInfo field is set. */ @java.lang.Override @@ -6005,36 +5302,25 @@ public boolean hasUpdateInfo() { return updateInfo_ != null; } /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateInfo. */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo getUpdateInfo() { - return updateInfo_ == null - ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() - : updateInfo_; + return updateInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; } /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { @@ -6042,7 +5328,6 @@ public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6054,7 +5339,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6122,22 +5408,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConfig()); } if (initialNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, initialNodeCount_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAutoscaling()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getManagement()); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMaxPodsConstraint()); } if (podIpv4CidrSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, podIpv4CidrSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, podIpv4CidrSize_); } { int dataSize = 0; @@ -6148,7 +5440,8 @@ public int getSerializedSize() { size += 1 * getLocationsList().size(); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getNetworkConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_); @@ -6165,22 +5458,27 @@ public int getSerializedSize() { size += 2 * getInstanceGroupUrlsList().size(); } if (status_ != com.google.container.v1.NodePool.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(103, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(103, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104, statusMessage_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(105, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(105, conditions_.get(i)); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(107, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(107, getUpgradeSettings()); } if (placementPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(108, getPlacementPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(108, getPlacementPolicy()); } if (updateInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getUpdateInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(109, getUpdateInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6190,54 +5488,71 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool)) { return super.equals(obj); } com.google.container.v1.NodePool other = (com.google.container.v1.NodePool) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; } - if (getInitialNodeCount() != other.getInitialNodeCount()) return false; - if (!getLocationsList().equals(other.getLocationsList())) return false; + if (getInitialNodeCount() + != other.getInitialNodeCount()) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; - } - if (!getSelfLink().equals(other.getSelfLink())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; + } + if (!getSelfLink() + .equals(other.getSelfLink())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstanceGroupUrlsList() + .equals(other.getInstanceGroupUrlsList())) return false; if (status_ != other.status_) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling().equals(other.getAutoscaling())) return false; + if (!getAutoscaling() + .equals(other.getAutoscaling())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement().equals(other.getManagement())) return false; + if (!getManagement() + .equals(other.getManagement())) return false; } if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint() + .equals(other.getMaxPodsConstraint())) return false; } - if (!getConditionsList().equals(other.getConditionsList())) return false; - if (getPodIpv4CidrSize() != other.getPodIpv4CidrSize()) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (getPodIpv4CidrSize() + != other.getPodIpv4CidrSize()) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings() + .equals(other.getUpgradeSettings())) return false; } if (hasPlacementPolicy() != other.hasPlacementPolicy()) return false; if (hasPlacementPolicy()) { - if (!getPlacementPolicy().equals(other.getPlacementPolicy())) return false; + if (!getPlacementPolicy() + .equals(other.getPlacementPolicy())) return false; } if (hasUpdateInfo() != other.hasUpdateInfo()) return false; if (hasUpdateInfo()) { - if (!getUpdateInfo().equals(other.getUpdateInfo())) return false; + if (!getUpdateInfo() + .equals(other.getUpdateInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6313,103 +5628,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePool parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodePool parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.NodePool parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool parseFrom( 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.NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePool parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodePool contains the name and configuration for a cluster's node pool.
    * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -6421,32 +5730,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodePool}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool)
       com.google.container.v1.NodePoolOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePool_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePool_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePool.class,
-              com.google.container.v1.NodePool.Builder.class);
+              com.google.container.v1.NodePool.class, com.google.container.v1.NodePool.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodePool.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6527,9 +5837,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePool_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_descriptor;
     }
 
     @java.lang.Override
@@ -6624,39 +5934,38 @@ public com.google.container.v1.NodePool buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodePool) {
-        return mergeFrom((com.google.container.v1.NodePool) other);
+        return mergeFrom((com.google.container.v1.NodePool)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6740,10 +6049,9 @@ public Builder mergeFrom(com.google.container.v1.NodePool other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            conditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConditionsFieldBuilder()
-                    : null;
+            conditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConditionsFieldBuilder() : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -6787,131 +6095,128 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 24:
-              {
-                initialNodeCount_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              initialNodeCount_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getManagementFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getMaxPodsConstraintFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 50
-            case 56:
-              {
-                podIpv4CidrSize_ = input.readInt32();
+              break;
+            } // case 50
+            case 56: {
+              podIpv4CidrSize_ = input.readInt32();
 
-                break;
-              } // case 56
-            case 106:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLocationsIsMutable();
-                locations_.add(s);
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 56
+            case 106: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureLocationsIsMutable();
+              locations_.add(s);
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getNetworkConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 114
-            case 802:
-              {
-                selfLink_ = input.readStringRequireUtf8();
+              break;
+            } // case 114
+            case 802: {
+              selfLink_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 802
-            case 810:
-              {
-                version_ = input.readStringRequireUtf8();
+              break;
+            } // case 802
+            case 810: {
+              version_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 810
-            case 818:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureInstanceGroupUrlsIsMutable();
-                instanceGroupUrls_.add(s);
-                break;
-              } // case 818
-            case 824:
-              {
-                status_ = input.readEnum();
+              break;
+            } // case 810
+            case 818: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureInstanceGroupUrlsIsMutable();
+              instanceGroupUrls_.add(s);
+              break;
+            } // case 818
+            case 824: {
+              status_ = input.readEnum();
 
-                break;
-              } // case 824
-            case 834:
-              {
-                statusMessage_ = input.readStringRequireUtf8();
+              break;
+            } // case 824
+            case 834: {
+              statusMessage_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 834
-            case 842:
-              {
-                com.google.container.v1.StatusCondition m =
-                    input.readMessage(
-                        com.google.container.v1.StatusCondition.parser(), extensionRegistry);
-                if (conditionsBuilder_ == null) {
-                  ensureConditionsIsMutable();
-                  conditions_.add(m);
-                } else {
-                  conditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 842
-            case 858:
-              {
-                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 834
+            case 842: {
+              com.google.container.v1.StatusCondition m =
+                  input.readMessage(
+                      com.google.container.v1.StatusCondition.parser(),
+                      extensionRegistry);
+              if (conditionsBuilder_ == null) {
+                ensureConditionsIsMutable();
+                conditions_.add(m);
+              } else {
+                conditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 842
+            case 858: {
+              input.readMessage(
+                  getUpgradeSettingsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 858
-            case 866:
-              {
-                input.readMessage(getPlacementPolicyFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 858
+            case 866: {
+              input.readMessage(
+                  getPlacementPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 866
-            case 874:
-              {
-                input.readMessage(getUpdateInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 866
+            case 874: {
+              input.readMessage(
+                  getUpdateInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 874
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 874
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6921,25 +6226,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the node pool.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6948,21 +6250,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6970,61 +6271,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7032,33 +6326,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, - com.google.container.v1.NodeConfig.Builder, - com.google.container.v1.NodeConfigOrBuilder> - configBuilder_; + com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> configBuilder_; /** - * - * *
      * The node configuration of the pool.
      * 
* * .google.container.v1.NodeConfig config = 2; - * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
      * The node configuration of the pool.
      * 
* * .google.container.v1.NodeConfig config = 2; - * * @return The config. */ public com.google.container.v1.NodeConfig getConfig() { @@ -7069,8 +6354,6 @@ public com.google.container.v1.NodeConfig getConfig() { } } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7091,15 +6374,14 @@ public Builder setConfig(com.google.container.v1.NodeConfig value) { return this; } /** - * - * *
      * The node configuration of the pool.
      * 
* * .google.container.v1.NodeConfig config = 2; */ - public Builder setConfig(com.google.container.v1.NodeConfig.Builder builderForValue) { + public Builder setConfig( + com.google.container.v1.NodeConfig.Builder builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -7110,8 +6392,6 @@ public Builder setConfig(com.google.container.v1.NodeConfig.Builder builderForVa return this; } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7122,9 +6402,7 @@ public Builder mergeConfig(com.google.container.v1.NodeConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.container.v1.NodeConfig.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -7136,8 +6414,6 @@ public Builder mergeConfig(com.google.container.v1.NodeConfig value) { return this; } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7156,8 +6432,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7165,13 +6439,11 @@ public Builder clearConfig() { * .google.container.v1.NodeConfig config = 2; */ public com.google.container.v1.NodeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7182,12 +6454,11 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : config_; + return config_ == null ? + com.google.container.v1.NodeConfig.getDefaultInstance() : config_; } } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7195,26 +6466,21 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { * .google.container.v1.NodeConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, - com.google.container.v1.NodeConfig.Builder, - com.google.container.v1.NodeConfigOrBuilder> + com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, - com.google.container.v1.NodeConfig.Builder, - com.google.container.v1.NodeConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; } - private int initialNodeCount_; + private int initialNodeCount_ ; /** - * - * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -7223,7 +6489,6 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() {
      * 
* * int32 initial_node_count = 3; - * * @return The initialNodeCount. */ @java.lang.Override @@ -7231,8 +6496,6 @@ public int getInitialNodeCount() { return initialNodeCount_; } /** - * - * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -7241,19 +6504,16 @@ public int getInitialNodeCount() {
      * 
* * int32 initial_node_count = 3; - * * @param value The initialNodeCount to set. * @return This builder for chaining. */ public Builder setInitialNodeCount(int value) { - + initialNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -7262,28 +6522,23 @@ public Builder setInitialNodeCount(int value) {
      * 
* * int32 initial_node_count = 3; - * * @return This builder for chaining. */ public Builder clearInitialNodeCount() { - + initialNodeCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7296,15 +6551,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7317,15 +6570,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7338,7 +6588,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -7346,8 +6595,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7360,16 +6607,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7382,23 +6627,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7411,22 +6654,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7439,19 +6680,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7464,7 +6704,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 13; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -7474,8 +6713,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7488,15 +6725,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -7505,49 +6742,36 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodeNetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, - com.google.container.v1.NodeNetworkConfig.Builder, - com.google.container.v1.NodeNetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; - * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** - * - * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; - * * @return The networkConfig. */ public com.google.container.v1.NodeNetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7569,8 +6793,6 @@ public Builder setNetworkConfig(com.google.container.v1.NodeNetworkConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7590,8 +6812,6 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7603,9 +6823,7 @@ public Builder mergeNetworkConfig(com.google.container.v1.NodeNetworkConfig valu
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-              com.google.container.v1.NodeNetworkConfig.newBuilder(networkConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodeNetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -7617,8 +6835,6 @@ public Builder mergeNetworkConfig(com.google.container.v1.NodeNetworkConfig valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7638,8 +6854,6 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7648,13 +6862,11 @@ public Builder clearNetworkConfig() {
      * .google.container.v1.NodeNetworkConfig network_config = 14;
      */
     public com.google.container.v1.NodeNetworkConfig.Builder getNetworkConfigBuilder() {
-
+      
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7666,14 +6878,11 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null
-            ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance()
-            : networkConfig_;
+        return networkConfig_ == null ?
+            com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : networkConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7682,17 +6891,14 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
      * .google.container.v1.NodeNetworkConfig network_config = 14;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeNetworkConfig,
-            com.google.container.v1.NodeNetworkConfig.Builder,
-            com.google.container.v1.NodeNetworkConfigOrBuilder>
+        com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> 
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodeNetworkConfig,
-                com.google.container.v1.NodeNetworkConfig.Builder,
-                com.google.container.v1.NodeNetworkConfigOrBuilder>(
-                getNetworkConfig(), getParentForChildren(), isClean());
+        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder>(
+                getNetworkConfig(),
+                getParentForChildren(),
+                isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
@@ -7700,20 +6906,18 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
 
     private java.lang.Object selfLink_ = "";
     /**
-     *
-     *
      * 
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -7722,21 +6926,20 @@ public java.lang.String getSelfLink() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -7744,61 +6947,54 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink(java.lang.String value) { + public Builder setSelfLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -7806,20 +7002,18 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -7828,21 +7022,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -7850,78 +7043,67 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7931,15 +7113,13 @@ private void ensureInstanceGroupUrlsIsMutable() {
      * 
* * repeated string instance_group_urls = 102; - * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7949,15 +7129,12 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() {
      * 
* * repeated string instance_group_urls = 102; - * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7967,7 +7144,6 @@ public int getInstanceGroupUrlsCount() {
      * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -7975,8 +7151,6 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7986,16 +7160,14 @@ public java.lang.String getInstanceGroupUrls(int index) {
      * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8005,23 +7177,21 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) {
      * 
* * repeated string instance_group_urls = 102; - * * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setInstanceGroupUrls(int index, java.lang.String value) { + public Builder setInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8031,22 +7201,20 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) {
      * 
* * repeated string instance_group_urls = 102; - * * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrls(java.lang.String value) { + public Builder addInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8056,19 +7224,18 @@ public Builder addInstanceGroupUrls(java.lang.String value) {
      * 
* * repeated string instance_group_urls = 102; - * * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { + public Builder addAllInstanceGroupUrls( + java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceGroupUrls_); onChanged(); return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8078,7 +7245,6 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu
      * 
* * repeated string instance_group_urls = 102; - * * @return This builder for chaining. */ public Builder clearInstanceGroupUrls() { @@ -8088,8 +7254,6 @@ public Builder clearInstanceGroupUrls() { return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8099,15 +7263,15 @@ public Builder clearInstanceGroupUrls() {
      * 
* * repeated string instance_group_urls = 102; - * * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); @@ -8116,65 +7280,51 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } - /** - * - * + /** *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; - * * @return The status. */ @java.lang.Override public com.google.container.v1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.Status result = - com.google.container.v1.NodePool.Status.valueOf(status_); + com.google.container.v1.NodePool.Status result = com.google.container.v1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1.NodePool.Status.UNRECOGNIZED : result; } /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; - * * @param value The status to set. * @return This builder for chaining. */ @@ -8182,24 +7332,21 @@ public Builder setStatus(com.google.container.v1.NodePool.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -8207,8 +7354,6 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8216,16 +7361,15 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @return The statusMessage. */ - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -8234,8 +7378,6 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8243,17 +7385,17 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -8261,8 +7403,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8270,25 +7410,22 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessage(java.lang.String value) { + @java.lang.Deprecated public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8296,21 +7433,17 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearStatusMessage() { - + @java.lang.Deprecated public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8318,19 +7451,18 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -8338,49 +7470,36 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, - com.google.container.v1.NodePoolAutoscaling.Builder, - com.google.container.v1.NodePoolAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; - * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** - * - * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; - * * @return The autoscaling. */ public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8402,8 +7521,6 @@ public Builder setAutoscaling(com.google.container.v1.NodePoolAutoscaling value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8423,8 +7540,6 @@ public Builder setAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8436,9 +7551,7 @@ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling valu
       if (autoscalingBuilder_ == null) {
         if (autoscaling_ != null) {
           autoscaling_ =
-              com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial();
         } else {
           autoscaling_ = value;
         }
@@ -8450,8 +7563,6 @@ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8471,8 +7582,6 @@ public Builder clearAutoscaling() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8481,13 +7590,11 @@ public Builder clearAutoscaling() {
      * .google.container.v1.NodePoolAutoscaling autoscaling = 4;
      */
     public com.google.container.v1.NodePoolAutoscaling.Builder getAutoscalingBuilder() {
-
+      
       onChanged();
       return getAutoscalingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8499,14 +7606,11 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
       if (autoscalingBuilder_ != null) {
         return autoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return autoscaling_ == null
-            ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance()
-            : autoscaling_;
+        return autoscaling_ == null ?
+            com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_;
       }
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8515,17 +7619,14 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
      * .google.container.v1.NodePoolAutoscaling autoscaling = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolAutoscaling,
-            com.google.container.v1.NodePoolAutoscaling.Builder,
-            com.google.container.v1.NodePoolAutoscalingOrBuilder>
+        com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> 
         getAutoscalingFieldBuilder() {
       if (autoscalingBuilder_ == null) {
-        autoscalingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodePoolAutoscaling,
-                com.google.container.v1.NodePoolAutoscaling.Builder,
-                com.google.container.v1.NodePoolAutoscalingOrBuilder>(
-                getAutoscaling(), getParentForChildren(), isClean());
+        autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder>(
+                getAutoscaling(),
+                getParentForChildren(),
+                isClean());
         autoscaling_ = null;
       }
       return autoscalingBuilder_;
@@ -8533,47 +7634,34 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
 
     private com.google.container.v1.NodeManagement management_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeManagement,
-            com.google.container.v1.NodeManagement.Builder,
-            com.google.container.v1.NodeManagementOrBuilder>
-        managementBuilder_;
+        com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> managementBuilder_;
     /**
-     *
-     *
      * 
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1.NodeManagement management = 5; - * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1.NodeManagement management = 5; - * * @return The management. */ public com.google.container.v1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } else { return managementBuilder_.getMessage(); } } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8594,15 +7682,14 @@ public Builder setManagement(com.google.container.v1.NodeManagement value) { return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1.NodeManagement management = 5; */ - public Builder setManagement(com.google.container.v1.NodeManagement.Builder builderForValue) { + public Builder setManagement( + com.google.container.v1.NodeManagement.Builder builderForValue) { if (managementBuilder_ == null) { management_ = builderForValue.build(); onChanged(); @@ -8613,8 +7700,6 @@ public Builder setManagement(com.google.container.v1.NodeManagement.Builder buil return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8625,9 +7710,7 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1.NodeManagement.newBuilder(management_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); } else { management_ = value; } @@ -8639,8 +7722,6 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8659,8 +7740,6 @@ public Builder clearManagement() { return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8668,13 +7747,11 @@ public Builder clearManagement() { * .google.container.v1.NodeManagement management = 5; */ public com.google.container.v1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8685,14 +7762,11 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? + com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8700,17 +7774,14 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * .google.container.v1.NodeManagement management = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder> + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder>( - getManagement(), getParentForChildren(), isClean()); + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); management_ = null; } return managementBuilder_; @@ -8718,49 +7789,36 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() private com.google.container.v1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaxPodsConstraint, - com.google.container.v1.MaxPodsConstraint.Builder, - com.google.container.v1.MaxPodsConstraintOrBuilder> - maxPodsConstraintBuilder_; + com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; /** - * - * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; - * * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return maxPodsConstraintBuilder_ != null || maxPodsConstraint_ != null; } /** - * - * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; - * * @return The maxPodsConstraint. */ public com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null - ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** - * - * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8782,8 +7840,6 @@ public Builder setMaxPodsConstraint(com.google.container.v1.MaxPodsConstraint va
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8803,8 +7859,6 @@ public Builder setMaxPodsConstraint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8816,9 +7870,7 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1.MaxPodsConstraint
       if (maxPodsConstraintBuilder_ == null) {
         if (maxPodsConstraint_ != null) {
           maxPodsConstraint_ =
-              com.google.container.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial();
         } else {
           maxPodsConstraint_ = value;
         }
@@ -8830,8 +7882,6 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1.MaxPodsConstraint
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8851,8 +7901,6 @@ public Builder clearMaxPodsConstraint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8861,13 +7909,11 @@ public Builder clearMaxPodsConstraint() {
      * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
      */
     public com.google.container.v1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() {
-
+      
       onChanged();
       return getMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8879,14 +7925,11 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOr
       if (maxPodsConstraintBuilder_ != null) {
         return maxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return maxPodsConstraint_ == null
-            ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance()
-            : maxPodsConstraint_;
+        return maxPodsConstraint_ == null ?
+            com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_;
       }
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8895,41 +7938,32 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOr
      * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MaxPodsConstraint,
-            com.google.container.v1.MaxPodsConstraint.Builder,
-            com.google.container.v1.MaxPodsConstraintOrBuilder>
+        com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> 
         getMaxPodsConstraintFieldBuilder() {
       if (maxPodsConstraintBuilder_ == null) {
-        maxPodsConstraintBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.MaxPodsConstraint,
-                com.google.container.v1.MaxPodsConstraint.Builder,
-                com.google.container.v1.MaxPodsConstraintOrBuilder>(
-                getMaxPodsConstraint(), getParentForChildren(), isClean());
+        maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder>(
+                getMaxPodsConstraint(),
+                getParentForChildren(),
+                isClean());
         maxPodsConstraint_ = null;
       }
       return maxPodsConstraintBuilder_;
     }
 
     private java.util.List conditions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureConditionsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         conditions_ = new java.util.ArrayList(conditions_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.StatusCondition,
-            com.google.container.v1.StatusCondition.Builder,
-            com.google.container.v1.StatusConditionOrBuilder>
-        conditionsBuilder_;
+        com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> conditionsBuilder_;
 
     /**
-     *
-     *
      * 
      * Which conditions caused the current node pool state.
      * 
@@ -8944,8 +7978,6 @@ public java.util.List getConditionsList } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -8960,8 +7992,6 @@ public int getConditionsCount() { } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -8976,15 +8006,14 @@ public com.google.container.v1.StatusCondition getConditions(int index) { } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public Builder setConditions(int index, com.google.container.v1.StatusCondition value) { + public Builder setConditions( + int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8998,8 +8027,6 @@ public Builder setConditions(int index, com.google.container.v1.StatusCondition return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9018,8 +8045,6 @@ public Builder setConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9040,15 +8065,14 @@ public Builder addConditions(com.google.container.v1.StatusCondition value) { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public Builder addConditions(int index, com.google.container.v1.StatusCondition value) { + public Builder addConditions( + int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9062,15 +8086,14 @@ public Builder addConditions(int index, com.google.container.v1.StatusCondition return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public Builder addConditions(com.google.container.v1.StatusCondition.Builder builderForValue) { + public Builder addConditions( + com.google.container.v1.StatusCondition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -9081,8 +8104,6 @@ public Builder addConditions(com.google.container.v1.StatusCondition.Builder bui return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9101,8 +8122,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9113,7 +8132,8 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -9121,8 +8141,6 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9140,8 +8158,6 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9159,44 +8175,39 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public com.google.container.v1.StatusCondition.Builder getConditionsBuilder(int index) { + public com.google.container.v1.StatusCondition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -9204,8 +8215,6 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(i } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9213,63 +8222,54 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(i * repeated .google.container.v1.StatusCondition conditions = 105; */ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public com.google.container.v1.StatusCondition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); + public com.google.container.v1.StatusCondition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - private int podIpv4CidrSize_; + private int podIpv4CidrSize_ ; /** - * - * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -9277,36 +8277,30 @@ public int getPodIpv4CidrSize() { return podIpv4CidrSize_; } /** - * - * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; - * * @param value The podIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setPodIpv4CidrSize(int value) { - + podIpv4CidrSize_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return This builder for chaining. */ public Builder clearPodIpv4CidrSize() { - + podIpv4CidrSize_ = 0; onChanged(); return this; @@ -9314,47 +8308,34 @@ public Builder clearPodIpv4CidrSize() { private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> - upgradeSettingsBuilder_; + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return The upgradeSettings. */ public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9375,8 +8356,6 @@ public Builder setUpgradeSettings(com.google.container.v1.NodePool.UpgradeSettin return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9395,8 +8374,6 @@ public Builder setUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9407,9 +8384,7 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); } else { upgradeSettings_ = value; } @@ -9421,8 +8396,6 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9441,8 +8414,6 @@ public Builder clearUpgradeSettings() { return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9450,13 +8421,11 @@ public Builder clearUpgradeSettings() { * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; */ public com.google.container.v1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9467,14 +8436,11 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? + com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9482,17 +8448,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), getParentForChildren(), isClean()); + upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), + getParentForChildren(), + isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -9500,47 +8463,34 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti private com.google.container.v1.NodePool.PlacementPolicy placementPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.PlacementPolicy, - com.google.container.v1.NodePool.PlacementPolicy.Builder, - com.google.container.v1.NodePool.PlacementPolicyOrBuilder> - placementPolicyBuilder_; + com.google.container.v1.NodePool.PlacementPolicy, com.google.container.v1.NodePool.PlacementPolicy.Builder, com.google.container.v1.NodePool.PlacementPolicyOrBuilder> placementPolicyBuilder_; /** - * - * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; - * * @return Whether the placementPolicy field is set. */ public boolean hasPlacementPolicy() { return placementPolicyBuilder_ != null || placementPolicy_ != null; } /** - * - * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; - * * @return The placementPolicy. */ public com.google.container.v1.NodePool.PlacementPolicy getPlacementPolicy() { if (placementPolicyBuilder_ == null) { - return placementPolicy_ == null - ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() - : placementPolicy_; + return placementPolicy_ == null ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; } else { return placementPolicyBuilder_.getMessage(); } } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9561,8 +8511,6 @@ public Builder setPlacementPolicy(com.google.container.v1.NodePool.PlacementPoli return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9581,8 +8529,6 @@ public Builder setPlacementPolicy( return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9593,9 +8539,7 @@ public Builder mergePlacementPolicy(com.google.container.v1.NodePool.PlacementPo if (placementPolicyBuilder_ == null) { if (placementPolicy_ != null) { placementPolicy_ = - com.google.container.v1.NodePool.PlacementPolicy.newBuilder(placementPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePool.PlacementPolicy.newBuilder(placementPolicy_).mergeFrom(value).buildPartial(); } else { placementPolicy_ = value; } @@ -9607,8 +8551,6 @@ public Builder mergePlacementPolicy(com.google.container.v1.NodePool.PlacementPo return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9627,8 +8569,6 @@ public Builder clearPlacementPolicy() { return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9636,13 +8576,11 @@ public Builder clearPlacementPolicy() { * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; */ public com.google.container.v1.NodePool.PlacementPolicy.Builder getPlacementPolicyBuilder() { - + onChanged(); return getPlacementPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9653,14 +8591,11 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol if (placementPolicyBuilder_ != null) { return placementPolicyBuilder_.getMessageOrBuilder(); } else { - return placementPolicy_ == null - ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() - : placementPolicy_; + return placementPolicy_ == null ? + com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; } } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9668,17 +8603,14 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.PlacementPolicy, - com.google.container.v1.NodePool.PlacementPolicy.Builder, - com.google.container.v1.NodePool.PlacementPolicyOrBuilder> + com.google.container.v1.NodePool.PlacementPolicy, com.google.container.v1.NodePool.PlacementPolicy.Builder, com.google.container.v1.NodePool.PlacementPolicyOrBuilder> getPlacementPolicyFieldBuilder() { if (placementPolicyBuilder_ == null) { - placementPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.PlacementPolicy, - com.google.container.v1.NodePool.PlacementPolicy.Builder, - com.google.container.v1.NodePool.PlacementPolicyOrBuilder>( - getPlacementPolicy(), getParentForChildren(), isClean()); + placementPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.PlacementPolicy, com.google.container.v1.NodePool.PlacementPolicy.Builder, com.google.container.v1.NodePool.PlacementPolicyOrBuilder>( + getPlacementPolicy(), + getParentForChildren(), + isClean()); placementPolicy_ = null; } return placementPolicyBuilder_; @@ -9686,61 +8618,42 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol private com.google.container.v1.NodePool.UpdateInfo updateInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo, - com.google.container.v1.NodePool.UpdateInfo.Builder, - com.google.container.v1.NodePool.UpdateInfoOrBuilder> - updateInfoBuilder_; + com.google.container.v1.NodePool.UpdateInfo, com.google.container.v1.NodePool.UpdateInfo.Builder, com.google.container.v1.NodePool.UpdateInfoOrBuilder> updateInfoBuilder_; /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateInfo field is set. */ public boolean hasUpdateInfo() { return updateInfoBuilder_ != null || updateInfo_ != null; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateInfo. */ public com.google.container.v1.NodePool.UpdateInfo getUpdateInfo() { if (updateInfoBuilder_ == null) { - return updateInfo_ == null - ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() - : updateInfo_; + return updateInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; } else { return updateInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { @@ -9756,16 +8669,12 @@ public Builder setUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateInfo( com.google.container.v1.NodePool.UpdateInfo.Builder builderForValue) { @@ -9779,24 +8688,18 @@ public Builder setUpdateInfo( return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { if (updateInfo_ != null) { updateInfo_ = - com.google.container.v1.NodePool.UpdateInfo.newBuilder(updateInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePool.UpdateInfo.newBuilder(updateInfo_).mergeFrom(value).buildPartial(); } else { updateInfo_ = value; } @@ -9808,16 +8711,12 @@ public Builder mergeUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateInfo() { if (updateInfoBuilder_ == null) { @@ -9831,74 +8730,58 @@ public Builder clearUpdateInfo() { return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1.NodePool.UpdateInfo.Builder getUpdateInfoBuilder() { - + onChanged(); return getUpdateInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { if (updateInfoBuilder_ != null) { return updateInfoBuilder_.getMessageOrBuilder(); } else { - return updateInfo_ == null - ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() - : updateInfo_; + return updateInfo_ == null ? + com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; } } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo, - com.google.container.v1.NodePool.UpdateInfo.Builder, - com.google.container.v1.NodePool.UpdateInfoOrBuilder> + com.google.container.v1.NodePool.UpdateInfo, com.google.container.v1.NodePool.UpdateInfo.Builder, com.google.container.v1.NodePool.UpdateInfoOrBuilder> getUpdateInfoFieldBuilder() { if (updateInfoBuilder_ == null) { - updateInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo, - com.google.container.v1.NodePool.UpdateInfo.Builder, - com.google.container.v1.NodePool.UpdateInfoOrBuilder>( - getUpdateInfo(), getParentForChildren(), isClean()); + updateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo, com.google.container.v1.NodePool.UpdateInfo.Builder, com.google.container.v1.NodePool.UpdateInfoOrBuilder>( + getUpdateInfo(), + getParentForChildren(), + isClean()); updateInfo_ = null; } return updateInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9908,12 +8791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool) private static final com.google.container.v1.NodePool DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool(); } @@ -9922,27 +8805,27 @@ public static com.google.container.v1.NodePool getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9957,4 +8840,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java index 7daa3b1553c4..94810cb39cb2 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Node pool configs that apply to all auto-provisioned node pools
  * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1.NodePoolAutoConfig}
  */
-public final class NodePoolAutoConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodePoolAutoConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolAutoConfig)
     NodePoolAutoConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodePoolAutoConfig.newBuilder() to construct.
   private NodePoolAutoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NodePoolAutoConfig() {}
+  private NodePoolAutoConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodePoolAutoConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodePoolAutoConfig.class,
-            com.google.container.v1.NodePoolAutoConfig.Builder.class);
+            com.google.container.v1.NodePoolAutoConfig.class, com.google.container.v1.NodePoolAutoConfig.Builder.class);
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 1;
   private com.google.container.v1.NetworkTags networkTags_;
   /**
-   *
-   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.container.v1.NetworkTags network_tags = 1; - * * @return Whether the networkTags field is set. */ @java.lang.Override @@ -87,8 +66,6 @@ public boolean hasNetworkTags() { return networkTags_ != null; } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -97,18 +74,13 @@ public boolean hasNetworkTags() {
    * 
* * .google.container.v1.NetworkTags network_tags = 1; - * * @return The networkTags. */ @java.lang.Override public com.google.container.v1.NetworkTags getNetworkTags() { - return networkTags_ == null - ? com.google.container.v1.NetworkTags.getDefaultInstance() - : networkTags_; + return networkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : networkTags_; } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -124,7 +96,6 @@ public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -136,7 +107,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (networkTags_ != null) {
       output.writeMessage(1, getNetworkTags());
     }
@@ -150,7 +122,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (networkTags_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNetworkTags());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getNetworkTags());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -160,17 +133,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.NodePoolAutoConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1.NodePoolAutoConfig other =
-        (com.google.container.v1.NodePoolAutoConfig) obj;
+    com.google.container.v1.NodePoolAutoConfig other = (com.google.container.v1.NodePoolAutoConfig) obj;
 
     if (hasNetworkTags() != other.hasNetworkTags()) return false;
     if (hasNetworkTags()) {
-      if (!getNetworkTags().equals(other.getNetworkTags())) return false;
+      if (!getNetworkTags()
+          .equals(other.getNetworkTags())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -192,104 +165,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.NodePoolAutoConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.NodePoolAutoConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NodePoolAutoConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
       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.NodePoolAutoConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1.NodePoolAutoConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1.NodePoolAutoConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.NodePoolAutoConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -297,32 +263,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodePoolAutoConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolAutoConfig)
       com.google.container.v1.NodePoolAutoConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePoolAutoConfig.class,
-              com.google.container.v1.NodePoolAutoConfig.Builder.class);
+              com.google.container.v1.NodePoolAutoConfig.class, com.google.container.v1.NodePoolAutoConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodePoolAutoConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,9 +303,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
@@ -357,8 +324,7 @@ public com.google.container.v1.NodePoolAutoConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.NodePoolAutoConfig buildPartial() {
-      com.google.container.v1.NodePoolAutoConfig result =
-          new com.google.container.v1.NodePoolAutoConfig(this);
+      com.google.container.v1.NodePoolAutoConfig result = new com.google.container.v1.NodePoolAutoConfig(this);
       if (networkTagsBuilder_ == null) {
         result.networkTags_ = networkTags_;
       } else {
@@ -372,39 +338,38 @@ public com.google.container.v1.NodePoolAutoConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodePoolAutoConfig) {
-        return mergeFrom((com.google.container.v1.NodePoolAutoConfig) other);
+        return mergeFrom((com.google.container.v1.NodePoolAutoConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -442,19 +407,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getNetworkTagsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getNetworkTagsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -467,13 +432,8 @@ public Builder mergeFrom(
 
     private com.google.container.v1.NetworkTags networkTags_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NetworkTags,
-            com.google.container.v1.NetworkTags.Builder,
-            com.google.container.v1.NetworkTagsOrBuilder>
-        networkTagsBuilder_;
+        com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> networkTagsBuilder_;
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -482,15 +442,12 @@ public Builder mergeFrom(
      * 
* * .google.container.v1.NetworkTags network_tags = 1; - * * @return Whether the networkTags field is set. */ public boolean hasNetworkTags() { return networkTagsBuilder_ != null || networkTags_ != null; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -499,21 +456,16 @@ public boolean hasNetworkTags() {
      * 
* * .google.container.v1.NetworkTags network_tags = 1; - * * @return The networkTags. */ public com.google.container.v1.NetworkTags getNetworkTags() { if (networkTagsBuilder_ == null) { - return networkTags_ == null - ? com.google.container.v1.NetworkTags.getDefaultInstance() - : networkTags_; + return networkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : networkTags_; } else { return networkTagsBuilder_.getMessage(); } } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -537,8 +489,6 @@ public Builder setNetworkTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -548,7 +498,8 @@ public Builder setNetworkTags(com.google.container.v1.NetworkTags value) {
      *
      * .google.container.v1.NetworkTags network_tags = 1;
      */
-    public Builder setNetworkTags(com.google.container.v1.NetworkTags.Builder builderForValue) {
+    public Builder setNetworkTags(
+        com.google.container.v1.NetworkTags.Builder builderForValue) {
       if (networkTagsBuilder_ == null) {
         networkTags_ = builderForValue.build();
         onChanged();
@@ -559,8 +510,6 @@ public Builder setNetworkTags(com.google.container.v1.NetworkTags.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -574,9 +523,7 @@ public Builder mergeNetworkTags(com.google.container.v1.NetworkTags value) {
       if (networkTagsBuilder_ == null) {
         if (networkTags_ != null) {
           networkTags_ =
-              com.google.container.v1.NetworkTags.newBuilder(networkTags_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NetworkTags.newBuilder(networkTags_).mergeFrom(value).buildPartial();
         } else {
           networkTags_ = value;
         }
@@ -588,8 +535,6 @@ public Builder mergeNetworkTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -611,8 +556,6 @@ public Builder clearNetworkTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -623,13 +566,11 @@ public Builder clearNetworkTags() {
      * .google.container.v1.NetworkTags network_tags = 1;
      */
     public com.google.container.v1.NetworkTags.Builder getNetworkTagsBuilder() {
-
+      
       onChanged();
       return getNetworkTagsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -643,14 +584,11 @@ public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() {
       if (networkTagsBuilder_ != null) {
         return networkTagsBuilder_.getMessageOrBuilder();
       } else {
-        return networkTags_ == null
-            ? com.google.container.v1.NetworkTags.getDefaultInstance()
-            : networkTags_;
+        return networkTags_ == null ?
+            com.google.container.v1.NetworkTags.getDefaultInstance() : networkTags_;
       }
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -661,24 +599,21 @@ public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() {
      * .google.container.v1.NetworkTags network_tags = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NetworkTags,
-            com.google.container.v1.NetworkTags.Builder,
-            com.google.container.v1.NetworkTagsOrBuilder>
+        com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> 
         getNetworkTagsFieldBuilder() {
       if (networkTagsBuilder_ == null) {
-        networkTagsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NetworkTags,
-                com.google.container.v1.NetworkTags.Builder,
-                com.google.container.v1.NetworkTagsOrBuilder>(
-                getNetworkTags(), getParentForChildren(), isClean());
+        networkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder>(
+                getNetworkTags(),
+                getParentForChildren(),
+                isClean());
         networkTags_ = null;
       }
       return networkTagsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -688,12 +623,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolAutoConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolAutoConfig)
   private static final com.google.container.v1.NodePoolAutoConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.NodePoolAutoConfig();
   }
@@ -702,27 +637,27 @@ public static com.google.container.v1.NodePoolAutoConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public NodePoolAutoConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public NodePoolAutoConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -737,4 +672,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.NodePoolAutoConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
similarity index 69%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
index 0f3dd0c0ed9b..10745fbd8c78 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface NodePoolAutoConfigOrBuilder
-    extends
+public interface NodePoolAutoConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolAutoConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -34,13 +16,10 @@ public interface NodePoolAutoConfigOrBuilder
    * 
* * .google.container.v1.NetworkTags network_tags = 1; - * * @return Whether the networkTags field is set. */ boolean hasNetworkTags(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -49,13 +28,10 @@ public interface NodePoolAutoConfigOrBuilder
    * 
* * .google.container.v1.NetworkTags network_tags = 1; - * * @return The networkTags. */ com.google.container.v1.NetworkTags getNetworkTags(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
similarity index 72%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
index 5977f2226662..fc6be505e6a4 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * NodePoolAutoscaling contains information required by cluster autoscaler to
  * adjust the size of the node pool to the current cluster usage.
@@ -28,49 +11,45 @@
  *
  * Protobuf type {@code google.container.v1.NodePoolAutoscaling}
  */
-public final class NodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodePoolAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolAutoscaling)
     NodePoolAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodePoolAutoscaling.newBuilder() to construct.
   private NodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodePoolAutoscaling() {
     locationPolicy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodePoolAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodePoolAutoscaling.class,
-            com.google.container.v1.NodePoolAutoscaling.Builder.class);
+            com.google.container.v1.NodePoolAutoscaling.class, com.google.container.v1.NodePoolAutoscaling.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Location policy specifies how zones are picked when scaling up the
    * nodepool.
@@ -78,10 +57,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1.NodePoolAutoscaling.LocationPolicy}
    */
-  public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LocationPolicy
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -90,8 +68,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_POLICY_UNSPECIFIED(0), /** - * - * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -101,8 +77,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
      */
     BALANCED(1),
     /**
-     *
-     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -114,8 +88,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -124,8 +96,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_POLICY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -135,8 +105,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BALANCED_VALUE = 1;
     /**
-     *
-     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -145,6 +113,7 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,49 +138,49 @@ public static LocationPolicy valueOf(int value) { */ public static LocationPolicy forNumber(int value) { switch (value) { - case 0: - return LOCATION_POLICY_UNSPECIFIED; - case 1: - return BALANCED; - case 2: - return ANY; - default: - return null; + case 0: return LOCATION_POLICY_UNSPECIFIED; + case 1: return BALANCED; + case 2: return ANY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LocationPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationPolicy findValueByNumber(int number) { + return LocationPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationPolicy findValueByNumber(int number) { - return LocationPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.NodePoolAutoscaling.getDescriptor().getEnumTypes().get(0); } private static final LocationPolicy[] VALUES = values(); - public static LocationPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationPolicy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,14 +200,11 @@ private LocationPolicy(int value) { public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -249,15 +215,12 @@ public boolean getEnabled() { public static final int MIN_NODE_COUNT_FIELD_NUMBER = 2; private int minNodeCount_; /** - * - * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; - * * @return The minNodeCount. */ @java.lang.Override @@ -268,15 +231,12 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 3; private int maxNodeCount_; /** - * - * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; - * * @return The maxNodeCount. */ @java.lang.Override @@ -287,14 +247,11 @@ public int getMaxNodeCount() { public static final int AUTOPROVISIONED_FIELD_NUMBER = 4; private boolean autoprovisioned_; /** - * - * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; - * * @return The autoprovisioned. */ @java.lang.Override @@ -305,46 +262,33 @@ public boolean getAutoprovisioned() { public static final int LOCATION_POLICY_FIELD_NUMBER = 5; private int locationPolicy_; /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override - public int getLocationPolicyValue() { + @java.lang.Override public int getLocationPolicyValue() { return locationPolicy_; } /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The locationPolicy. */ - @java.lang.Override - public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @java.lang.Override public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = - com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null - ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED - : result; + com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; } public static final int TOTAL_MIN_NODE_COUNT_FIELD_NUMBER = 6; private int totalMinNodeCount_; /** - * - * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -353,7 +297,6 @@ public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPol
    * 
* * int32 total_min_node_count = 6; - * * @return The totalMinNodeCount. */ @java.lang.Override @@ -364,8 +307,6 @@ public int getTotalMinNodeCount() { public static final int TOTAL_MAX_NODE_COUNT_FIELD_NUMBER = 7; private int totalMaxNodeCount_; /** - * - * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -374,7 +315,6 @@ public int getTotalMinNodeCount() {
    * 
* * int32 total_max_node_count = 7; - * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -383,7 +323,6 @@ public int getTotalMaxNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -408,9 +348,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (autoprovisioned_ != false) { output.writeBool(4, autoprovisioned_); } - if (locationPolicy_ - != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED - .getNumber()) { + if (locationPolicy_ != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { @@ -429,27 +367,32 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, minNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxNodeCount_); } if (autoprovisioned_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, autoprovisioned_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, autoprovisioned_); } - if (locationPolicy_ - != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, locationPolicy_); + if (locationPolicy_ != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalMinNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, totalMinNodeCount_); } if (totalMaxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, totalMaxNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, totalMaxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -459,21 +402,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePoolAutoscaling)) { return super.equals(obj); } - com.google.container.v1.NodePoolAutoscaling other = - (com.google.container.v1.NodePoolAutoscaling) obj; + com.google.container.v1.NodePoolAutoscaling other = (com.google.container.v1.NodePoolAutoscaling) obj; - if (getEnabled() != other.getEnabled()) return false; - if (getMinNodeCount() != other.getMinNodeCount()) return false; - if (getMaxNodeCount() != other.getMaxNodeCount()) return false; - if (getAutoprovisioned() != other.getAutoprovisioned()) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (getMinNodeCount() + != other.getMinNodeCount()) return false; + if (getMaxNodeCount() + != other.getMaxNodeCount()) return false; + if (getAutoprovisioned() + != other.getAutoprovisioned()) return false; if (locationPolicy_ != other.locationPolicy_) return false; - if (getTotalMinNodeCount() != other.getTotalMinNodeCount()) return false; - if (getTotalMaxNodeCount() != other.getTotalMaxNodeCount()) return false; + if (getTotalMinNodeCount() + != other.getTotalMinNodeCount()) return false; + if (getTotalMaxNodeCount() + != other.getTotalMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -486,13 +434,15 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + MIN_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMinNodeCount(); hash = (37 * hash) + MAX_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMaxNodeCount(); hash = (37 * hash) + AUTOPROVISIONED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoprovisioned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoprovisioned()); hash = (37 * hash) + LOCATION_POLICY_FIELD_NUMBER; hash = (53 * hash) + locationPolicy_; hash = (37 * hash) + TOTAL_MIN_NODE_COUNT_FIELD_NUMBER; @@ -504,104 +454,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePoolAutoscaling parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodePoolAutoscaling parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolAutoscaling parseFrom( 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.NodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePoolAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodePoolAutoscaling contains information required by cluster autoscaler to
    * adjust the size of the node pool to the current cluster usage.
@@ -609,32 +552,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodePoolAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolAutoscaling)
       com.google.container.v1.NodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePoolAutoscaling.class,
-              com.google.container.v1.NodePoolAutoscaling.Builder.class);
+              com.google.container.v1.NodePoolAutoscaling.class, com.google.container.v1.NodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodePoolAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -656,9 +600,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -677,8 +621,7 @@ public com.google.container.v1.NodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.NodePoolAutoscaling buildPartial() {
-      com.google.container.v1.NodePoolAutoscaling result =
-          new com.google.container.v1.NodePoolAutoscaling(this);
+      com.google.container.v1.NodePoolAutoscaling result = new com.google.container.v1.NodePoolAutoscaling(this);
       result.enabled_ = enabled_;
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
@@ -694,39 +637,38 @@ public com.google.container.v1.NodePoolAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodePoolAutoscaling) {
-        return mergeFrom((com.google.container.v1.NodePoolAutoscaling) other);
+        return mergeFrom((com.google.container.v1.NodePoolAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -782,55 +724,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                minNodeCount_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 24:
-              {
-                maxNodeCount_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                autoprovisioned_ = input.readBool();
-
-                break;
-              } // case 32
-            case 40:
-              {
-                locationPolicy_ = input.readEnum();
-
-                break;
-              } // case 40
-            case 48:
-              {
-                totalMinNodeCount_ = input.readInt32();
-
-                break;
-              } // case 48
-            case 56:
-              {
-                totalMaxNodeCount_ = input.readInt32();
-
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            case 16: {
+              minNodeCount_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 24: {
+              maxNodeCount_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              autoprovisioned_ = input.readBool();
+
+              break;
+            } // case 32
+            case 40: {
+              locationPolicy_ = input.readEnum();
+
+              break;
+            } // case 40
+            case 48: {
+              totalMinNodeCount_ = input.readInt32();
+
+              break;
+            } // case 48
+            case 56: {
+              totalMaxNodeCount_ = input.readInt32();
+
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -841,16 +775,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -858,52 +789,43 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private int minNodeCount_; + private int minNodeCount_ ; /** - * - * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; - * * @return The minNodeCount. */ @java.lang.Override @@ -911,54 +833,45 @@ public int getMinNodeCount() { return minNodeCount_; } /** - * - * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; - * * @param value The minNodeCount to set. * @return This builder for chaining. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; - * * @return This builder for chaining. */ public Builder clearMinNodeCount() { - + minNodeCount_ = 0; onChanged(); return this; } - private int maxNodeCount_; + private int maxNodeCount_ ; /** - * - * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; - * * @return The maxNodeCount. */ @java.lang.Override @@ -966,53 +879,44 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** - * - * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; - * * @param value The maxNodeCount to set. * @return This builder for chaining. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; - * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { - + maxNodeCount_ = 0; onChanged(); return this; } - private boolean autoprovisioned_; + private boolean autoprovisioned_ ; /** - * - * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; - * * @return The autoprovisioned. */ @java.lang.Override @@ -1020,36 +924,30 @@ public boolean getAutoprovisioned() { return autoprovisioned_; } /** - * - * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; - * * @param value The autoprovisioned to set. * @return This builder for chaining. */ public Builder setAutoprovisioned(boolean value) { - + autoprovisioned_ = value; onChanged(); return this; } /** - * - * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; - * * @return This builder for chaining. */ public Builder clearAutoprovisioned() { - + autoprovisioned_ = false; onChanged(); return this; @@ -1057,102 +955,80 @@ public Builder clearAutoprovisioned() { private int locationPolicy_ = 0; /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override - public int getLocationPolicyValue() { + @java.lang.Override public int getLocationPolicyValue() { return locationPolicy_; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @param value The enum numeric value on the wire for locationPolicy to set. * @return This builder for chaining. */ public Builder setLocationPolicyValue(int value) { - + locationPolicy_ = value; onChanged(); return this; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The locationPolicy. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = - com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null - ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED - : result; + com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @param value The locationPolicy to set. * @return This builder for chaining. */ - public Builder setLocationPolicy( - com.google.container.v1.NodePoolAutoscaling.LocationPolicy value) { + public Builder setLocationPolicy(com.google.container.v1.NodePoolAutoscaling.LocationPolicy value) { if (value == null) { throw new NullPointerException(); } - + locationPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return This builder for chaining. */ public Builder clearLocationPolicy() { - + locationPolicy_ = 0; onChanged(); return this; } - private int totalMinNodeCount_; + private int totalMinNodeCount_ ; /** - * - * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1161,7 +1037,6 @@ public Builder clearLocationPolicy() {
      * 
* * int32 total_min_node_count = 6; - * * @return The totalMinNodeCount. */ @java.lang.Override @@ -1169,8 +1044,6 @@ public int getTotalMinNodeCount() { return totalMinNodeCount_; } /** - * - * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1179,19 +1052,16 @@ public int getTotalMinNodeCount() {
      * 
* * int32 total_min_node_count = 6; - * * @param value The totalMinNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMinNodeCount(int value) { - + totalMinNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1200,20 +1070,17 @@ public Builder setTotalMinNodeCount(int value) {
      * 
* * int32 total_min_node_count = 6; - * * @return This builder for chaining. */ public Builder clearTotalMinNodeCount() { - + totalMinNodeCount_ = 0; onChanged(); return this; } - private int totalMaxNodeCount_; + private int totalMaxNodeCount_ ; /** - * - * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1222,7 +1089,6 @@ public Builder clearTotalMinNodeCount() {
      * 
* * int32 total_max_node_count = 7; - * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -1230,8 +1096,6 @@ public int getTotalMaxNodeCount() { return totalMaxNodeCount_; } /** - * - * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1240,19 +1104,16 @@ public int getTotalMaxNodeCount() {
      * 
* * int32 total_max_node_count = 7; - * * @param value The totalMaxNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMaxNodeCount(int value) { - + totalMaxNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1261,18 +1122,17 @@ public Builder setTotalMaxNodeCount(int value) {
      * 
* * int32 total_max_node_count = 7; - * * @return This builder for chaining. */ public Builder clearTotalMaxNodeCount() { - + totalMaxNodeCount_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1282,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolAutoscaling) private static final com.google.container.v1.NodePoolAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodePoolAutoscaling(); } @@ -1296,27 +1156,27 @@ public static com.google.container.v1.NodePoolAutoscaling getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1331,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java similarity index 76% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java index 49de5039c911..9ac0a071cbc3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java @@ -1,110 +1,74 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface NodePoolAutoscalingOrBuilder - extends +public interface NodePoolAutoscalingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; - * * @return The minNodeCount. */ int getMinNodeCount(); /** - * - * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; - * * @return The maxNodeCount. */ int getMaxNodeCount(); /** - * - * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; - * * @return The autoprovisioned. */ boolean getAutoprovisioned(); /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The enum numeric value on the wire for locationPolicy. */ int getLocationPolicyValue(); /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The locationPolicy. */ com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy(); /** - * - * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -113,14 +77,11 @@ public interface NodePoolAutoscalingOrBuilder
    * 
* * int32 total_min_node_count = 6; - * * @return The totalMinNodeCount. */ int getTotalMinNodeCount(); /** - * - * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -129,7 +90,6 @@ public interface NodePoolAutoscalingOrBuilder
    * 
* * int32 total_max_node_count = 7; - * * @return The totalMaxNodeCount. */ int getTotalMaxNodeCount(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java index 5c857df3af48..2bb2b0aa1a8a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Subset of Nodepool message that has defaults.
  * 
* * Protobuf type {@code google.container.v1.NodePoolDefaults} */ -public final class NodePoolDefaults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodePoolDefaults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolDefaults) NodePoolDefaultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodePoolDefaults.newBuilder() to construct. private NodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NodePoolDefaults() {} + private NodePoolDefaults() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodePoolDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolDefaults.class, - com.google.container.v1.NodePoolDefaults.Builder.class); + com.google.container.v1.NodePoolDefaults.class, com.google.container.v1.NodePoolDefaults.Builder.class); } public static final int NODE_CONFIG_DEFAULTS_FIELD_NUMBER = 1; private com.google.container.v1.NodeConfigDefaults nodeConfigDefaults_; /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; - * * @return Whether the nodeConfigDefaults field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasNodeConfigDefaults() { return nodeConfigDefaults_ != null; } /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; - * * @return The nodeConfigDefaults. */ @java.lang.Override public com.google.container.v1.NodeConfigDefaults getNodeConfigDefaults() { - return nodeConfigDefaults_ == null - ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() - : nodeConfigDefaults_; + return nodeConfigDefaults_ == null ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; } /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
@@ -114,7 +86,6 @@ public com.google.container.v1.NodeConfigDefaultsOrBuilder getNodeConfigDefaults } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (nodeConfigDefaults_ != null) { output.writeMessage(1, getNodeConfigDefaults()); } @@ -140,7 +112,8 @@ public int getSerializedSize() { size = 0; if (nodeConfigDefaults_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNodeConfigDefaults()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNodeConfigDefaults()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,7 +123,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePoolDefaults)) { return super.equals(obj); @@ -159,7 +132,8 @@ public boolean equals(final java.lang.Object obj) { if (hasNodeConfigDefaults() != other.hasNodeConfigDefaults()) return false; if (hasNodeConfigDefaults()) { - if (!getNodeConfigDefaults().equals(other.getNodeConfigDefaults())) return false; + if (!getNodeConfigDefaults() + .equals(other.getNodeConfigDefaults())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,136 +155,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePoolDefaults parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodePoolDefaults parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolDefaults parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolDefaults parseFrom( 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.NodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolDefaults parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePoolDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolDefaults parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodePoolDefaults parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodePoolDefaults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Subset of Nodepool message that has defaults.
    * 
* * Protobuf type {@code google.container.v1.NodePoolDefaults} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolDefaults) com.google.container.v1.NodePoolDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolDefaults.class, - com.google.container.v1.NodePoolDefaults.Builder.class); + com.google.container.v1.NodePoolDefaults.class, com.google.container.v1.NodePoolDefaults.Builder.class); } // Construct using com.google.container.v1.NodePoolDefaults.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -324,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_descriptor; } @java.lang.Override @@ -345,8 +313,7 @@ public com.google.container.v1.NodePoolDefaults build() { @java.lang.Override public com.google.container.v1.NodePoolDefaults buildPartial() { - com.google.container.v1.NodePoolDefaults result = - new com.google.container.v1.NodePoolDefaults(this); + com.google.container.v1.NodePoolDefaults result = new com.google.container.v1.NodePoolDefaults(this); if (nodeConfigDefaultsBuilder_ == null) { result.nodeConfigDefaults_ = nodeConfigDefaults_; } else { @@ -360,39 +327,38 @@ public com.google.container.v1.NodePoolDefaults buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodePoolDefaults) { - return mergeFrom((com.google.container.v1.NodePoolDefaults) other); + return mergeFrom((com.google.container.v1.NodePoolDefaults)other); } else { super.mergeFrom(other); return this; @@ -430,20 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getNodeConfigDefaultsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getNodeConfigDefaultsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,47 +421,34 @@ public Builder mergeFrom( private com.google.container.v1.NodeConfigDefaults nodeConfigDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfigDefaults, - com.google.container.v1.NodeConfigDefaults.Builder, - com.google.container.v1.NodeConfigDefaultsOrBuilder> - nodeConfigDefaultsBuilder_; + com.google.container.v1.NodeConfigDefaults, com.google.container.v1.NodeConfigDefaults.Builder, com.google.container.v1.NodeConfigDefaultsOrBuilder> nodeConfigDefaultsBuilder_; /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; - * * @return Whether the nodeConfigDefaults field is set. */ public boolean hasNodeConfigDefaults() { return nodeConfigDefaultsBuilder_ != null || nodeConfigDefaults_ != null; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; - * * @return The nodeConfigDefaults. */ public com.google.container.v1.NodeConfigDefaults getNodeConfigDefaults() { if (nodeConfigDefaultsBuilder_ == null) { - return nodeConfigDefaults_ == null - ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() - : nodeConfigDefaults_; + return nodeConfigDefaults_ == null ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; } else { return nodeConfigDefaultsBuilder_.getMessage(); } } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -517,8 +469,6 @@ public Builder setNodeConfigDefaults(com.google.container.v1.NodeConfigDefaults return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -537,8 +487,6 @@ public Builder setNodeConfigDefaults( return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -549,9 +497,7 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1.NodeConfigDefault if (nodeConfigDefaultsBuilder_ == null) { if (nodeConfigDefaults_ != null) { nodeConfigDefaults_ = - com.google.container.v1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_).mergeFrom(value).buildPartial(); } else { nodeConfigDefaults_ = value; } @@ -563,8 +509,6 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1.NodeConfigDefault return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -583,8 +527,6 @@ public Builder clearNodeConfigDefaults() { return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -592,13 +534,11 @@ public Builder clearNodeConfigDefaults() { * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; */ public com.google.container.v1.NodeConfigDefaults.Builder getNodeConfigDefaultsBuilder() { - + onChanged(); return getNodeConfigDefaultsFieldBuilder().getBuilder(); } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -609,14 +549,11 @@ public com.google.container.v1.NodeConfigDefaultsOrBuilder getNodeConfigDefaults if (nodeConfigDefaultsBuilder_ != null) { return nodeConfigDefaultsBuilder_.getMessageOrBuilder(); } else { - return nodeConfigDefaults_ == null - ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() - : nodeConfigDefaults_; + return nodeConfigDefaults_ == null ? + com.google.container.v1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; } } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -624,24 +561,21 @@ public com.google.container.v1.NodeConfigDefaultsOrBuilder getNodeConfigDefaults * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfigDefaults, - com.google.container.v1.NodeConfigDefaults.Builder, - com.google.container.v1.NodeConfigDefaultsOrBuilder> + com.google.container.v1.NodeConfigDefaults, com.google.container.v1.NodeConfigDefaults.Builder, com.google.container.v1.NodeConfigDefaultsOrBuilder> getNodeConfigDefaultsFieldBuilder() { if (nodeConfigDefaultsBuilder_ == null) { - nodeConfigDefaultsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfigDefaults, - com.google.container.v1.NodeConfigDefaults.Builder, - com.google.container.v1.NodeConfigDefaultsOrBuilder>( - getNodeConfigDefaults(), getParentForChildren(), isClean()); + nodeConfigDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeConfigDefaults, com.google.container.v1.NodeConfigDefaults.Builder, com.google.container.v1.NodeConfigDefaultsOrBuilder>( + getNodeConfigDefaults(), + getParentForChildren(), + isClean()); nodeConfigDefaults_ = null; } return nodeConfigDefaultsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -651,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolDefaults) private static final com.google.container.v1.NodePoolDefaults DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodePoolDefaults(); } @@ -665,27 +599,27 @@ public static com.google.container.v1.NodePoolDefaults getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -700,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java similarity index 61% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java index bf1825798cb5..bdee1c8f0482 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodePoolDefaultsOrBuilder - extends +public interface NodePoolDefaultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; - * * @return Whether the nodeConfigDefaults field is set. */ boolean hasNodeConfigDefaults(); /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; - * * @return The nodeConfigDefaults. */ com.google.container.v1.NodeConfigDefaults getNodeConfigDefaults(); /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java index 226f775d45ad..ea72c5521fa6 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * NodePoolLoggingConfig specifies logging configuration for nodepools.
  * 
* * Protobuf type {@code google.container.v1.NodePoolLoggingConfig} */ -public final class NodePoolLoggingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodePoolLoggingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolLoggingConfig) NodePoolLoggingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodePoolLoggingConfig.newBuilder() to construct. private NodePoolLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NodePoolLoggingConfig() {} + private NodePoolLoggingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodePoolLoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolLoggingConfig.class, - com.google.container.v1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1.NodePoolLoggingConfig.class, com.google.container.v1.NodePoolLoggingConfig.Builder.class); } public static final int VARIANT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.LoggingVariantConfig variantConfig_; /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; - * * @return Whether the variantConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasVariantConfig() { return variantConfig_ != null; } /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; - * * @return The variantConfig. */ @java.lang.Override public com.google.container.v1.LoggingVariantConfig getVariantConfig() { - return variantConfig_ == null - ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() - : variantConfig_; + return variantConfig_ == null ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; } /** - * - * *
    * Logging variant configuration.
    * 
@@ -114,7 +86,6 @@ public com.google.container.v1.LoggingVariantConfigOrBuilder getVariantConfigOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (variantConfig_ != null) { output.writeMessage(1, getVariantConfig()); } @@ -140,7 +112,8 @@ public int getSerializedSize() { size = 0; if (variantConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getVariantConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getVariantConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +123,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePoolLoggingConfig)) { return super.equals(obj); } - com.google.container.v1.NodePoolLoggingConfig other = - (com.google.container.v1.NodePoolLoggingConfig) obj; + com.google.container.v1.NodePoolLoggingConfig other = (com.google.container.v1.NodePoolLoggingConfig) obj; if (hasVariantConfig() != other.hasVariantConfig()) return false; if (hasVariantConfig()) { - if (!getVariantConfig().equals(other.getVariantConfig())) return false; + if (!getVariantConfig() + .equals(other.getVariantConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -182,136 +155,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodePoolLoggingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom( 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.NodePoolLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NodePoolLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NodePoolLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolLoggingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePoolLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodePoolLoggingConfig specifies logging configuration for nodepools.
    * 
* * Protobuf type {@code google.container.v1.NodePoolLoggingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolLoggingConfig) com.google.container.v1.NodePoolLoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolLoggingConfig.class, - com.google.container.v1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1.NodePoolLoggingConfig.class, com.google.container.v1.NodePoolLoggingConfig.Builder.class); } // Construct using com.google.container.v1.NodePoolLoggingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; } @java.lang.Override @@ -346,8 +313,7 @@ public com.google.container.v1.NodePoolLoggingConfig build() { @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig buildPartial() { - com.google.container.v1.NodePoolLoggingConfig result = - new com.google.container.v1.NodePoolLoggingConfig(this); + com.google.container.v1.NodePoolLoggingConfig result = new com.google.container.v1.NodePoolLoggingConfig(this); if (variantConfigBuilder_ == null) { result.variantConfig_ = variantConfig_; } else { @@ -361,39 +327,38 @@ public com.google.container.v1.NodePoolLoggingConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodePoolLoggingConfig) { - return mergeFrom((com.google.container.v1.NodePoolLoggingConfig) other); + return mergeFrom((com.google.container.v1.NodePoolLoggingConfig)other); } else { super.mergeFrom(other); return this; @@ -431,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getVariantConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getVariantConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,47 +421,34 @@ public Builder mergeFrom( private com.google.container.v1.LoggingVariantConfig variantConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingVariantConfig, - com.google.container.v1.LoggingVariantConfig.Builder, - com.google.container.v1.LoggingVariantConfigOrBuilder> - variantConfigBuilder_; + com.google.container.v1.LoggingVariantConfig, com.google.container.v1.LoggingVariantConfig.Builder, com.google.container.v1.LoggingVariantConfigOrBuilder> variantConfigBuilder_; /** - * - * *
      * Logging variant configuration.
      * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; - * * @return Whether the variantConfig field is set. */ public boolean hasVariantConfig() { return variantConfigBuilder_ != null || variantConfig_ != null; } /** - * - * *
      * Logging variant configuration.
      * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; - * * @return The variantConfig. */ public com.google.container.v1.LoggingVariantConfig getVariantConfig() { if (variantConfigBuilder_ == null) { - return variantConfig_ == null - ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() - : variantConfig_; + return variantConfig_ == null ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; } else { return variantConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging variant configuration.
      * 
@@ -517,8 +469,6 @@ public Builder setVariantConfig(com.google.container.v1.LoggingVariantConfig val return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -537,8 +487,6 @@ public Builder setVariantConfig( return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -549,9 +497,7 @@ public Builder mergeVariantConfig(com.google.container.v1.LoggingVariantConfig v if (variantConfigBuilder_ == null) { if (variantConfig_ != null) { variantConfig_ = - com.google.container.v1.LoggingVariantConfig.newBuilder(variantConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.LoggingVariantConfig.newBuilder(variantConfig_).mergeFrom(value).buildPartial(); } else { variantConfig_ = value; } @@ -563,8 +509,6 @@ public Builder mergeVariantConfig(com.google.container.v1.LoggingVariantConfig v return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -583,8 +527,6 @@ public Builder clearVariantConfig() { return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -592,13 +534,11 @@ public Builder clearVariantConfig() { * .google.container.v1.LoggingVariantConfig variant_config = 1; */ public com.google.container.v1.LoggingVariantConfig.Builder getVariantConfigBuilder() { - + onChanged(); return getVariantConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging variant configuration.
      * 
@@ -609,14 +549,11 @@ public com.google.container.v1.LoggingVariantConfigOrBuilder getVariantConfigOrB if (variantConfigBuilder_ != null) { return variantConfigBuilder_.getMessageOrBuilder(); } else { - return variantConfig_ == null - ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() - : variantConfig_; + return variantConfig_ == null ? + com.google.container.v1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; } } /** - * - * *
      * Logging variant configuration.
      * 
@@ -624,24 +561,21 @@ public com.google.container.v1.LoggingVariantConfigOrBuilder getVariantConfigOrB * .google.container.v1.LoggingVariantConfig variant_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingVariantConfig, - com.google.container.v1.LoggingVariantConfig.Builder, - com.google.container.v1.LoggingVariantConfigOrBuilder> + com.google.container.v1.LoggingVariantConfig, com.google.container.v1.LoggingVariantConfig.Builder, com.google.container.v1.LoggingVariantConfigOrBuilder> getVariantConfigFieldBuilder() { if (variantConfigBuilder_ == null) { - variantConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingVariantConfig, - com.google.container.v1.LoggingVariantConfig.Builder, - com.google.container.v1.LoggingVariantConfigOrBuilder>( - getVariantConfig(), getParentForChildren(), isClean()); + variantConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingVariantConfig, com.google.container.v1.LoggingVariantConfig.Builder, com.google.container.v1.LoggingVariantConfigOrBuilder>( + getVariantConfig(), + getParentForChildren(), + isClean()); variantConfig_ = null; } return variantConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -651,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolLoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolLoggingConfig) private static final com.google.container.v1.NodePoolLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodePoolLoggingConfig(); } @@ -665,27 +599,27 @@ public static com.google.container.v1.NodePoolLoggingConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -700,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePoolLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java similarity index 59% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java index db60ea9d0ac4..47d649a6d40c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodePoolLoggingConfigOrBuilder - extends +public interface NodePoolLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; - * * @return Whether the variantConfig field is set. */ boolean hasVariantConfig(); /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; - * * @return The variantConfig. */ com.google.container.v1.LoggingVariantConfig getVariantConfig(); /** - * - * *
    * Logging variant configuration.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java similarity index 86% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index 8af789b8c24f..90cbd38b5635 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface NodePoolOrBuilder - extends +public interface NodePoolOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; - * * @return The config. */ com.google.container.v1.NodeConfig getConfig(); /** - * - * *
    * The node configuration of the pool.
    * 
@@ -84,8 +55,6 @@ public interface NodePoolOrBuilder com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -94,14 +63,11 @@ public interface NodePoolOrBuilder
    * 
* * int32 initial_node_count = 3; - * * @return The initialNodeCount. */ int getInitialNodeCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -114,13 +80,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -133,13 +97,10 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -152,14 +113,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,41 +130,33 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; - * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; - * * @return The networkConfig. */ com.google.container.v1.NodeNetworkConfig getNetworkConfig(); /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -217,58 +167,46 @@ public interface NodePoolOrBuilder
   com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ java.lang.String getSelfLink(); /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString getSelfLinkBytes(); + com.google.protobuf.ByteString + getSelfLinkBytes(); /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -278,13 +216,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @return A list containing the instanceGroupUrls. */ - java.util.List getInstanceGroupUrlsList(); + java.util.List + getInstanceGroupUrlsList(); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -294,13 +230,10 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @return The count of instanceGroupUrls. */ int getInstanceGroupUrlsCount(); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -310,14 +243,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ java.lang.String getInstanceGroupUrls(int index); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -327,40 +257,32 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index); /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; - * * @return The status. */ com.google.container.v1.NodePool.Status getStatus(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -368,16 +290,12 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @return The statusMessage. */ - @java.lang.Deprecated - java.lang.String getStatusMessage(); + @java.lang.Deprecated java.lang.String getStatusMessage(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -385,43 +303,34 @@ 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=3065 + * @deprecated google.container.v1.NodePool.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=3065 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getStatusMessageBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; - * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; - * * @return The autoscaling. */ com.google.container.v1.NodePoolAutoscaling getAutoscaling(); /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -432,32 +341,24 @@ public interface NodePoolOrBuilder
   com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder();
 
   /**
-   *
-   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; - * * @return Whether the management field is set. */ boolean hasManagement(); /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; - * * @return The management. */ com.google.container.v1.NodeManagement getManagement(); /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -467,34 +368,26 @@ public interface NodePoolOrBuilder com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder(); /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; - * * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; - * * @return The maxPodsConstraint. */ com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint(); /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -505,18 +398,15 @@ public interface NodePoolOrBuilder
   com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder();
 
   /**
-   *
-   *
    * 
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -525,8 +415,6 @@ public interface NodePoolOrBuilder */ com.google.container.v1.StatusCondition getConditions(int index); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -535,67 +423,53 @@ public interface NodePoolOrBuilder */ int getConditionsCount(); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index); + com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return The podIpv4CidrSize. */ int getPodIpv4CidrSize(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return The upgradeSettings. */ com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -605,32 +479,24 @@ public interface NodePoolOrBuilder com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; - * * @return Whether the placementPolicy field is set. */ boolean hasPlacementPolicy(); /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; - * * @return The placementPolicy. */ com.google.container.v1.NodePool.PlacementPolicy getPlacementPolicy(); /** - * - * *
    * Specifies the node placement policy.
    * 
@@ -640,46 +506,32 @@ public interface NodePoolOrBuilder com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder(); /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateInfo field is set. */ boolean hasUpdateInfo(); /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateInfo. */ com.google.container.v1.NodePool.UpdateInfo getUpdateInfo(); /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java index 390a302c4ab3..85f1307f2c07 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Strategy used for node pool update.
  * 
* * Protobuf enum {@code google.container.v1.NodePoolUpdateStrategy} */ -public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessageEnum { +public enum NodePoolUpdateStrategy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value.
    * 
@@ -39,8 +21,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED(0), /** - * - * *
    * blue-green upgrade.
    * 
@@ -49,8 +29,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ BLUE_GREEN(2), /** - * - * *
    * SURGE is the traditional way of upgrade a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -63,8 +41,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -73,8 +49,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ public static final int NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * blue-green upgrade.
    * 
@@ -83,8 +57,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ public static final int BLUE_GREEN_VALUE = 2; /** - * - * *
    * SURGE is the traditional way of upgrade a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -94,6 +66,7 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag
    */
   public static final int SURGE_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -118,14 +91,10 @@ public static NodePoolUpdateStrategy valueOf(int value) {
    */
   public static NodePoolUpdateStrategy forNumber(int value) {
     switch (value) {
-      case 0:
-        return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
-      case 2:
-        return BLUE_GREEN;
-      case 3:
-        return SURGE;
-      default:
-        return null;
+      case 0: return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
+      case 2: return BLUE_GREEN;
+      case 3: return SURGE;
+      default: return null;
     }
   }
 
@@ -133,28 +102,28 @@ public static NodePoolUpdateStrategy forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public NodePoolUpdateStrategy findValueByNumber(int number) {
-              return NodePoolUpdateStrategy.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      NodePoolUpdateStrategy> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public NodePoolUpdateStrategy findValueByNumber(int number) {
+            return NodePoolUpdateStrategy.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(3);
   }
 
@@ -163,7 +132,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static NodePoolUpdateStrategy valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -179,3 +149,4 @@ private NodePoolUpdateStrategy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1.NodePoolUpdateStrategy)
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
similarity index 69%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
index 1825a43c2b8b..8b073915054d 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
  * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.container.v1.NodeTaint}
  */
-public final class NodeTaint extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeTaint extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeTaint)
     NodeTaintOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeTaint.newBuilder() to construct.
   private NodeTaint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodeTaint() {
     key_ = "";
     value_ = "";
@@ -49,43 +31,39 @@ private NodeTaint() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeTaint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeTaint_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeTaint_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeTaint.class,
-            com.google.container.v1.NodeTaint.Builder.class);
+            com.google.container.v1.NodeTaint.class, com.google.container.v1.NodeTaint.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible values for Effect in taint.
    * 
* * Protobuf enum {@code google.container.v1.NodeTaint.Effect} */ - public enum Effect implements com.google.protobuf.ProtocolMessageEnum { + public enum Effect + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set
      * 
@@ -94,8 +72,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ EFFECT_UNSPECIFIED(0), /** - * - * *
      * NoSchedule
      * 
@@ -104,8 +80,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ NO_SCHEDULE(1), /** - * - * *
      * PreferNoSchedule
      * 
@@ -114,8 +88,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ PREFER_NO_SCHEDULE(2), /** - * - * *
      * NoExecute
      * 
@@ -127,8 +99,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set
      * 
@@ -137,8 +107,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EFFECT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * NoSchedule
      * 
@@ -147,8 +115,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_SCHEDULE_VALUE = 1; /** - * - * *
      * PreferNoSchedule
      * 
@@ -157,8 +123,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PREFER_NO_SCHEDULE_VALUE = 2; /** - * - * *
      * NoExecute
      * 
@@ -167,6 +131,7 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_EXECUTE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -191,51 +156,50 @@ public static Effect valueOf(int value) { */ public static Effect forNumber(int value) { switch (value) { - case 0: - return EFFECT_UNSPECIFIED; - case 1: - return NO_SCHEDULE; - case 2: - return PREFER_NO_SCHEDULE; - case 3: - return NO_EXECUTE; - default: - return null; + case 0: return EFFECT_UNSPECIFIED; + case 1: return NO_SCHEDULE; + case 2: return PREFER_NO_SCHEDULE; + case 3: return NO_EXECUTE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Effect findValueByNumber(int number) { - return Effect.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Effect> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Effect findValueByNumber(int number) { + return Effect.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.NodeTaint.getDescriptor().getEnumTypes().get(0); } private static final Effect[] VALUES = values(); - public static Effect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Effect valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -255,14 +219,11 @@ private Effect(int value) { public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -271,29 +232,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -304,14 +265,11 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The value. */ @java.lang.Override @@ -320,29 +278,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -353,41 +311,31 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int EFFECT_FIELD_NUMBER = 3; private int effect_; /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override - public int getEffectValue() { + @java.lang.Override public int getEffectValue() { return effect_; } /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @return The effect. */ - @java.lang.Override - public com.google.container.v1.NodeTaint.Effect getEffect() { + @java.lang.Override public com.google.container.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeTaint.Effect result = - com.google.container.v1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1.NodeTaint.Effect result = com.google.container.v1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1.NodeTaint.Effect.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -425,7 +374,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (effect_ != com.google.container.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, effect_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, effect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -435,15 +385,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeTaint)) { return super.equals(obj); } com.google.container.v1.NodeTaint other = (com.google.container.v1.NodeTaint) obj; - if (!getKey().equals(other.getKey())) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (effect_ != other.effect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -467,103 +419,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeTaint parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeTaint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeTaint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.NodeTaint parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.NodeTaint parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeTaint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeTaint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeTaint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeTaint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeTaint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeTaint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeTaint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeTaint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeTaint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeTaint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
    * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -574,32 +520,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodeTaint}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeTaint)
       com.google.container.v1.NodeTaintOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeTaint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeTaint_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeTaint.class,
-              com.google.container.v1.NodeTaint.Builder.class);
+              com.google.container.v1.NodeTaint.class, com.google.container.v1.NodeTaint.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeTaint.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -613,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeTaint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
@@ -646,39 +593,38 @@ public com.google.container.v1.NodeTaint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeTaint) {
-        return mergeFrom((com.google.container.v1.NodeTaint) other);
+        return mergeFrom((com.google.container.v1.NodeTaint)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -724,31 +670,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                key_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                value_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                effect_ = input.readEnum();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              key_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              value_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              effect_ = input.readEnum();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -761,20 +703,18 @@ public Builder mergeFrom(
 
     private java.lang.Object key_ = "";
     /**
-     *
-     *
      * 
      * Key for taint.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -783,21 +723,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -805,61 +744,54 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -867,20 +799,18 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object value_ = ""; /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -889,21 +819,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -911,61 +840,54 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -973,65 +895,51 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { private int effect_ = 0; /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override - public int getEffectValue() { + @java.lang.Override public int getEffectValue() { return effect_; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @param value The enum numeric value on the wire for effect to set. * @return This builder for chaining. */ public Builder setEffectValue(int value) { - + effect_ = value; onChanged(); return this; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @return The effect. */ @java.lang.Override public com.google.container.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeTaint.Effect result = - com.google.container.v1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1.NodeTaint.Effect result = com.google.container.v1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1.NodeTaint.Effect.UNRECOGNIZED : result; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @param value The effect to set. * @return This builder for chaining. */ @@ -1039,31 +947,28 @@ public Builder setEffect(com.google.container.v1.NodeTaint.Effect value) { if (value == null) { throw new NullPointerException(); } - + effect_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @return This builder for chaining. */ public Builder clearEffect() { - + effect_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1073,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeTaint) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeTaint) private static final com.google.container.v1.NodeTaint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeTaint(); } @@ -1087,27 +992,27 @@ public static com.google.container.v1.NodeTaint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java index 06b6935b9fbe..0481a7d8c770 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java @@ -1,99 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeTaintOrBuilder - extends +public interface NodeTaintOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeTaint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @return The enum numeric value on the wire for effect. */ int getEffectValue(); /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; - * * @return The effect. */ com.google.container.v1.NodeTaint.Effect getEffect(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java index 25da01106a51..6b177fc3f548 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Collection of Kubernetes [node
  * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.container.v1.NodeTaints}
  */
-public final class NodeTaints extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeTaints extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeTaints)
     NodeTaintsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeTaints.newBuilder() to construct.
   private NodeTaints(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodeTaints() {
     taints_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeTaints();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeTaints_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_NodeTaints_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeTaints.class,
-            com.google.container.v1.NodeTaints.Builder.class);
+            com.google.container.v1.NodeTaints.class, com.google.container.v1.NodeTaints.Builder.class);
   }
 
   public static final int TAINTS_FIELD_NUMBER = 1;
   private java.util.List taints_;
   /**
-   *
-   *
    * 
    * List of node taints.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTaintsList() { return taints_; } /** - * - * *
    * List of node taints.
    * 
@@ -93,13 +70,11 @@ public java.util.List getTaintsList() { * repeated .google.container.v1.NodeTaint taints = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** - * - * *
    * List of node taints.
    * 
@@ -111,8 +86,6 @@ public int getTaintsCount() { return taints_.size(); } /** - * - * *
    * List of node taints.
    * 
@@ -124,8 +97,6 @@ public com.google.container.v1.NodeTaint getTaints(int index) { return taints_.get(index); } /** - * - * *
    * List of node taints.
    * 
@@ -133,12 +104,12 @@ public com.google.container.v1.NodeTaint getTaints(int index) { * repeated .google.container.v1.NodeTaint taints = 1; */ @java.lang.Override - public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { return taints_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taints_.size(); i++) { output.writeMessage(1, taints_.get(i)); } @@ -164,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taints_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,14 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeTaints)) { return super.equals(obj); } com.google.container.v1.NodeTaints other = (com.google.container.v1.NodeTaints) obj; - if (!getTaintsList().equals(other.getTaintsList())) return false; + if (!getTaintsList() + .equals(other.getTaintsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,103 +176,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeTaints parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NodeTaints parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeTaints parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeTaints parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.NodeTaints parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeTaints parseFrom( 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.NodeTaints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NodeTaints parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeTaints parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeTaints parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeTaints parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeTaints parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeTaints parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NodeTaints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeTaints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of Kubernetes [node
    * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -306,32 +274,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.NodeTaints}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeTaints)
       com.google.container.v1.NodeTaintsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeTaints_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeTaints_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeTaints.class,
-              com.google.container.v1.NodeTaints.Builder.class);
+              com.google.container.v1.NodeTaints.class, com.google.container.v1.NodeTaints.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeTaints.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -346,9 +315,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NodeTaints_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
@@ -386,39 +355,38 @@ public com.google.container.v1.NodeTaints buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeTaints) {
-        return mergeFrom((com.google.container.v1.NodeTaints) other);
+        return mergeFrom((com.google.container.v1.NodeTaints)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -445,10 +413,9 @@ public Builder mergeFrom(com.google.container.v1.NodeTaints other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taintsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaintsFieldBuilder()
-                    : null;
+            taintsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaintsFieldBuilder() : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -480,26 +447,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.container.v1.NodeTaint m =
-                    input.readMessage(
-                        com.google.container.v1.NodeTaint.parser(), extensionRegistry);
-                if (taintsBuilder_ == null) {
-                  ensureTaintsIsMutable();
-                  taints_.add(m);
-                } else {
-                  taintsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.container.v1.NodeTaint m =
+                  input.readMessage(
+                      com.google.container.v1.NodeTaint.parser(),
+                      extensionRegistry);
+              if (taintsBuilder_ == null) {
+                ensureTaintsIsMutable();
+                taints_.add(m);
+              } else {
+                taintsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -509,28 +475,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taints_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaintsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         taints_ = new java.util.ArrayList(taints_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.NodeTaint,
-            com.google.container.v1.NodeTaint.Builder,
-            com.google.container.v1.NodeTaintOrBuilder>
-        taintsBuilder_;
+        com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> taintsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of node taints.
      * 
@@ -545,8 +504,6 @@ public java.util.List getTaintsList() { } } /** - * - * *
      * List of node taints.
      * 
@@ -561,8 +518,6 @@ public int getTaintsCount() { } } /** - * - * *
      * List of node taints.
      * 
@@ -577,15 +532,14 @@ public com.google.container.v1.NodeTaint getTaints(int index) { } } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder setTaints(int index, com.google.container.v1.NodeTaint value) { + public Builder setTaints( + int index, com.google.container.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -599,15 +553,14 @@ public Builder setTaints(int index, com.google.container.v1.NodeTaint value) { return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder setTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) { + public Builder setTaints( + int index, com.google.container.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.set(index, builderForValue.build()); @@ -618,8 +571,6 @@ public Builder setTaints(int index, com.google.container.v1.NodeTaint.Builder bu return this; } /** - * - * *
      * List of node taints.
      * 
@@ -640,15 +591,14 @@ public Builder addTaints(com.google.container.v1.NodeTaint value) { return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder addTaints(int index, com.google.container.v1.NodeTaint value) { + public Builder addTaints( + int index, com.google.container.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,15 +612,14 @@ public Builder addTaints(int index, com.google.container.v1.NodeTaint value) { return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints( + com.google.container.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -681,15 +630,14 @@ public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForVal return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder addTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints( + int index, com.google.container.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(index, builderForValue.build()); @@ -700,8 +648,6 @@ public Builder addTaints(int index, com.google.container.v1.NodeTaint.Builder bu return this; } /** - * - * *
      * List of node taints.
      * 
@@ -712,7 +658,8 @@ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -720,8 +667,6 @@ public Builder addAllTaints( return this; } /** - * - * *
      * List of node taints.
      * 
@@ -739,8 +684,6 @@ public Builder clearTaints() { return this; } /** - * - * *
      * List of node taints.
      * 
@@ -758,44 +701,39 @@ public Builder removeTaints(int index) { return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(int index) { + public com.google.container.v1.NodeTaint.Builder getTaintsBuilder( + int index) { return getTaintsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { if (taintsBuilder_ == null) { - return taints_.get(index); - } else { + return taints_.get(index); } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -803,8 +741,6 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) } } /** - * - * *
      * List of node taints.
      * 
@@ -812,54 +748,49 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) * repeated .google.container.v1.NodeTaint taints = 1; */ public com.google.container.v1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder() - .addBuilder(com.google.container.v1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder().addBuilder( + com.google.container.v1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(int index) { - return getTaintsFieldBuilder() - .addBuilder(index, com.google.container.v1.NodeTaint.getDefaultInstance()); + public com.google.container.v1.NodeTaint.Builder addTaintsBuilder( + int index) { + return getTaintsFieldBuilder().addBuilder( + index, com.google.container.v1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public java.util.List getTaintsBuilderList() { + public java.util.List + getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodeTaint, - com.google.container.v1.NodeTaint.Builder, - com.google.container.v1.NodeTaintOrBuilder> + com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodeTaint, - com.google.container.v1.NodeTaint.Builder, - com.google.container.v1.NodeTaintOrBuilder>( - taints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder>( + taints_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taints_ = null; } return taintsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -869,12 +800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NodeTaints) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeTaints) private static final com.google.container.v1.NodeTaints DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NodeTaints(); } @@ -883,27 +814,27 @@ public static com.google.container.v1.NodeTaints getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -918,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeTaints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java similarity index 59% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java index a08d04356636..748f3bc46295 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeTaintsOrBuilder - extends +public interface NodeTaintsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeTaints) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of node taints.
    * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - java.util.List getTaintsList(); + java.util.List + getTaintsList(); /** - * - * *
    * List of node taints.
    * 
@@ -44,8 +25,6 @@ public interface NodeTaintsOrBuilder */ com.google.container.v1.NodeTaint getTaints(int index); /** - * - * *
    * List of node taints.
    * 
@@ -54,23 +33,21 @@ public interface NodeTaintsOrBuilder */ int getTaintsCount(); /** - * - * *
    * List of node taints.
    * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - java.util.List getTaintsOrBuilderList(); + java.util.List + getTaintsOrBuilderList(); /** - * - * *
    * List of node taints.
    * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index); + com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( + int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java index bfba525118be..4c9fd4143607 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java @@ -1,73 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * NotificationConfig is the configuration of notifications.
  * 
* * Protobuf type {@code google.container.v1.NotificationConfig} */ -public final class NotificationConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NotificationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NotificationConfig) NotificationConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NotificationConfig.newBuilder() to construct. private NotificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NotificationConfig() {} + private NotificationConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NotificationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.class, - com.google.container.v1.NotificationConfig.Builder.class); + com.google.container.v1.NotificationConfig.class, com.google.container.v1.NotificationConfig.Builder.class); } /** - * - * *
    * Types of notifications currently supported. Can be used to filter what
    * notifications are sent.
@@ -75,10 +55,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1.NotificationConfig.EventType}
    */
-  public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum EventType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set, will be ignored.
      * 
@@ -87,8 +66,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -97,8 +74,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_AVAILABLE_EVENT(1), /** - * - * *
      * Corresponds with UpgradeEvent.
      * 
@@ -107,8 +82,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_EVENT(2), /** - * - * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -120,8 +93,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set, will be ignored.
      * 
@@ -130,8 +101,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -140,8 +109,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_AVAILABLE_EVENT_VALUE = 1; /** - * - * *
      * Corresponds with UpgradeEvent.
      * 
@@ -150,8 +117,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_EVENT_VALUE = 2; /** - * - * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -160,6 +125,7 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SECURITY_BULLETIN_EVENT_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,51 +150,50 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: - return EVENT_TYPE_UNSPECIFIED; - case 1: - return UPGRADE_AVAILABLE_EVENT; - case 2: - return UPGRADE_EVENT; - case 3: - return SECURITY_BULLETIN_EVENT; - default: - return null; + case 0: return EVENT_TYPE_UNSPECIFIED; + case 1: return UPGRADE_AVAILABLE_EVENT; + case 2: return UPGRADE_EVENT; + case 3: return SECURITY_BULLETIN_EVENT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EventType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EventType findValueByNumber(int number) { + return EventType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EventType findValueByNumber(int number) { - return EventType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.NotificationConfig.getDescriptor().getEnumTypes().get(0); } private static final EventType[] VALUES = values(); - public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EventType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -245,54 +210,43 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.NotificationConfig.EventType) } - public interface PubSubOrBuilder - extends + public interface PubSubOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NotificationConfig.PubSub) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The topic. */ java.lang.String getTopic(); /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topic. */ - com.google.protobuf.ByteString getTopicBytes(); + com.google.protobuf.ByteString + getTopicBytes(); /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -300,13 +254,10 @@ public interface PubSubOrBuilder
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -314,13 +265,10 @@ public interface PubSubOrBuilder
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; - * * @return The filter. */ com.google.container.v1.NotificationConfig.Filter getFilter(); /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -332,65 +280,58 @@ public interface PubSubOrBuilder
     com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Pub/Sub specific notification config.
    * 
* * Protobuf type {@code google.container.v1.NotificationConfig.PubSub} */ - public static final class PubSub extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PubSub extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.NotificationConfig.PubSub) PubSubOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSub.newBuilder() to construct. private PubSub(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PubSub() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PubSub(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.PubSub.class, - com.google.container.v1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1.NotificationConfig.PubSub.class, com.google.container.v1.NotificationConfig.PubSub.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -401,15 +342,12 @@ public boolean getEnabled() { public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The topic. */ @java.lang.Override @@ -418,30 +356,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -452,8 +390,6 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int FILTER_FIELD_NUMBER = 3; private com.google.container.v1.NotificationConfig.Filter filter_; /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -461,7 +397,6 @@ public com.google.protobuf.ByteString getTopicBytes() {
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -469,8 +404,6 @@ public boolean hasFilter() { return filter_ != null; } /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -478,18 +411,13 @@ public boolean hasFilter() {
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; - * * @return The filter. */ @java.lang.Override public com.google.container.v1.NotificationConfig.Filter getFilter() { - return filter_ == null - ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() - : filter_; + return filter_ == null ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() : filter_; } /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -504,7 +432,6 @@ public com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBui
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -516,7 +443,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (enabled_ != false) {
         output.writeBool(1, enabled_);
       }
@@ -536,13 +464,15 @@ public int getSerializedSize() {
 
       size = 0;
       if (enabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(1, enabled_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_);
       }
       if (filter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getFilter());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -552,19 +482,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.container.v1.NotificationConfig.PubSub)) {
         return super.equals(obj);
       }
-      com.google.container.v1.NotificationConfig.PubSub other =
-          (com.google.container.v1.NotificationConfig.PubSub) obj;
+      com.google.container.v1.NotificationConfig.PubSub other = (com.google.container.v1.NotificationConfig.PubSub) obj;
 
-      if (getEnabled() != other.getEnabled()) return false;
-      if (!getTopic().equals(other.getTopic())) return false;
+      if (getEnabled()
+          != other.getEnabled()) return false;
+      if (!getTopic()
+          .equals(other.getTopic())) return false;
       if (hasFilter() != other.hasFilter()) return false;
       if (hasFilter()) {
-        if (!getFilter().equals(other.getFilter())) return false;
+        if (!getFilter()
+            .equals(other.getFilter())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -578,7 +510,8 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getEnabled());
       hash = (37 * hash) + TOPIC_FIELD_NUMBER;
       hash = (53 * hash) + getTopic().hashCode();
       if (hasFilter()) {
@@ -591,93 +524,87 @@ public int hashCode() {
     }
 
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        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.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
         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.NotificationConfig.PubSub parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.container.v1.NotificationConfig.PubSub parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.container.v1.NotificationConfig.PubSub parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.container.v1.NotificationConfig.PubSub parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.container.v1.NotificationConfig.PubSub parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.container.v1.NotificationConfig.PubSub prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -687,41 +614,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Pub/Sub specific notification config.
      * 
* * Protobuf type {@code google.container.v1.NotificationConfig.PubSub} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NotificationConfig.PubSub) com.google.container.v1.NotificationConfig.PubSubOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.PubSub.class, - com.google.container.v1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1.NotificationConfig.PubSub.class, com.google.container.v1.NotificationConfig.PubSub.Builder.class); } // Construct using com.google.container.v1.NotificationConfig.PubSub.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -739,9 +664,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; } @java.lang.Override @@ -760,8 +685,7 @@ public com.google.container.v1.NotificationConfig.PubSub build() { @java.lang.Override public com.google.container.v1.NotificationConfig.PubSub buildPartial() { - com.google.container.v1.NotificationConfig.PubSub result = - new com.google.container.v1.NotificationConfig.PubSub(this); + com.google.container.v1.NotificationConfig.PubSub result = new com.google.container.v1.NotificationConfig.PubSub(this); result.enabled_ = enabled_; result.topic_ = topic_; if (filterBuilder_ == null) { @@ -777,41 +701,38 @@ public com.google.container.v1.NotificationConfig.PubSub buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NotificationConfig.PubSub) { - return mergeFrom((com.google.container.v1.NotificationConfig.PubSub) other); + return mergeFrom((com.google.container.v1.NotificationConfig.PubSub)other); } else { super.mergeFrom(other); return this; @@ -819,8 +740,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.NotificationConfig.PubSub other) { - if (other == com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance()) - return this; + if (other == com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -857,31 +777,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: - { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -892,16 +810,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -909,36 +824,30 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -946,21 +855,19 @@ public Builder clearEnabled() { private java.lang.Object topic_ = ""; /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -969,22 +876,21 @@ public java.lang.String getTopic() { } } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topic. */ - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -992,64 +898,57 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; @@ -1057,13 +956,8 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NotificationConfig.Filter filter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.Filter, - com.google.container.v1.NotificationConfig.Filter.Builder, - com.google.container.v1.NotificationConfig.FilterOrBuilder> - filterBuilder_; + com.google.container.v1.NotificationConfig.Filter, com.google.container.v1.NotificationConfig.Filter.Builder, com.google.container.v1.NotificationConfig.FilterOrBuilder> filterBuilder_; /** - * - * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1071,15 +965,12 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** - * - * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1087,21 +978,16 @@ public boolean hasFilter() {
        * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; - * * @return The filter. */ public com.google.container.v1.NotificationConfig.Filter getFilter() { if (filterBuilder_ == null) { - return filter_ == null - ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() - : filter_; + return filter_ == null ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** - * - * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1124,8 +1010,6 @@ public Builder setFilter(com.google.container.v1.NotificationConfig.Filter value
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1146,8 +1030,6 @@ public Builder setFilter(
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1160,9 +1042,7 @@ public Builder mergeFilter(com.google.container.v1.NotificationConfig.Filter val
         if (filterBuilder_ == null) {
           if (filter_ != null) {
             filter_ =
-                com.google.container.v1.NotificationConfig.Filter.newBuilder(filter_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.container.v1.NotificationConfig.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
           } else {
             filter_ = value;
           }
@@ -1174,8 +1054,6 @@ public Builder mergeFilter(com.google.container.v1.NotificationConfig.Filter val
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1196,8 +1074,6 @@ public Builder clearFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1207,13 +1083,11 @@ public Builder clearFilter() {
        * .google.container.v1.NotificationConfig.Filter filter = 3;
        */
       public com.google.container.v1.NotificationConfig.Filter.Builder getFilterBuilder() {
-
+        
         onChanged();
         return getFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1226,14 +1100,11 @@ public com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBui
         if (filterBuilder_ != null) {
           return filterBuilder_.getMessageOrBuilder();
         } else {
-          return filter_ == null
-              ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance()
-              : filter_;
+          return filter_ == null ?
+              com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() : filter_;
         }
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1243,22 +1114,18 @@ public com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBui
        * .google.container.v1.NotificationConfig.Filter filter = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.container.v1.NotificationConfig.Filter,
-              com.google.container.v1.NotificationConfig.Filter.Builder,
-              com.google.container.v1.NotificationConfig.FilterOrBuilder>
+          com.google.container.v1.NotificationConfig.Filter, com.google.container.v1.NotificationConfig.Filter.Builder, com.google.container.v1.NotificationConfig.FilterOrBuilder> 
           getFilterFieldBuilder() {
         if (filterBuilder_ == null) {
-          filterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.container.v1.NotificationConfig.Filter,
-                  com.google.container.v1.NotificationConfig.Filter.Builder,
-                  com.google.container.v1.NotificationConfig.FilterOrBuilder>(
-                  getFilter(), getParentForChildren(), isClean());
+          filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.container.v1.NotificationConfig.Filter, com.google.container.v1.NotificationConfig.Filter.Builder, com.google.container.v1.NotificationConfig.FilterOrBuilder>(
+                  getFilter(),
+                  getParentForChildren(),
+                  isClean());
           filter_ = null;
         }
         return filterBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1271,12 +1138,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.container.v1.NotificationConfig.PubSub)
     }
 
     // @@protoc_insertion_point(class_scope:google.container.v1.NotificationConfig.PubSub)
     private static final com.google.container.v1.NotificationConfig.PubSub DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.container.v1.NotificationConfig.PubSub();
     }
@@ -1285,28 +1152,27 @@ public static com.google.container.v1.NotificationConfig.PubSub getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public PubSub parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public PubSub parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1321,79 +1187,63 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.container.v1.NotificationConfig.PubSub getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface FilterOrBuilder
-      extends
+  public interface FilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.container.v1.NotificationConfig.Filter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the eventType. */ java.util.List getEventTypeList(); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return The count of eventType. */ int getEventTypeCount(); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the element to return. * @return The eventType at the given index. */ com.google.container.v1.NotificationConfig.EventType getEventType(int index); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the enum numeric values on the wire for eventType. */ - java.util.List getEventTypeValueList(); + java.util.List + getEventTypeValueList(); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ int getEventTypeValue(int index); } /** - * - * *
    * Allows filtering to one or more specific event types. If event types are
    * present, those and only those event types will be transmitted to the
@@ -1403,89 +1253,75 @@ public interface FilterOrBuilder
    *
    * Protobuf type {@code google.container.v1.NotificationConfig.Filter}
    */
-  public static final class Filter extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Filter extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.container.v1.NotificationConfig.Filter)
       FilterOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Filter.newBuilder() to construct.
     private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Filter() {
       eventType_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Filter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NotificationConfig.Filter.class,
-              com.google.container.v1.NotificationConfig.Filter.Builder.class);
+              com.google.container.v1.NotificationConfig.Filter.class, com.google.container.v1.NotificationConfig.Filter.Builder.class);
     }
 
     public static final int EVENT_TYPE_FIELD_NUMBER = 1;
     private java.util.List eventType_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>
-        eventType_converter_ =
+        java.lang.Integer, com.google.container.v1.NotificationConfig.EventType> eventType_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>() {
-              public com.google.container.v1.NotificationConfig.EventType convert(
-                  java.lang.Integer from) {
+              public com.google.container.v1.NotificationConfig.EventType convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.container.v1.NotificationConfig.EventType result =
-                    com.google.container.v1.NotificationConfig.EventType.valueOf(from);
-                return result == null
-                    ? com.google.container.v1.NotificationConfig.EventType.UNRECOGNIZED
-                    : result;
+                com.google.container.v1.NotificationConfig.EventType result = com.google.container.v1.NotificationConfig.EventType.valueOf(from);
+                return result == null ? com.google.container.v1.NotificationConfig.EventType.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the eventType. */ @java.lang.Override public java.util.List getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>( - eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>(eventType_, eventType_converter_); } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return The count of eventType. */ @java.lang.Override @@ -1493,14 +1329,11 @@ public int getEventTypeCount() { return eventType_.size(); } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1509,29 +1342,24 @@ public com.google.container.v1.NotificationConfig.EventType getEventType(int ind return eventType_converter_.convert(eventType_.get(index)); } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the enum numeric values on the wire for eventType. */ @java.lang.Override - public java.util.List getEventTypeValueList() { + public java.util.List + getEventTypeValueList() { return eventType_; } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -1539,11 +1367,9 @@ public java.util.List getEventTypeValueList() { public int getEventTypeValue(int index) { return eventType_.get(index); } - private int eventTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1555,7 +1381,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getEventTypeList().size() > 0) { output.writeUInt32NoTag(10); @@ -1576,14 +1403,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < eventType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(eventType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(eventType_.get(i)); } size += dataSize; - if (!getEventTypeList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - eventTypeMemoizedSerializedSize = dataSize; + if (!getEventTypeList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }eventTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1593,13 +1420,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NotificationConfig.Filter)) { return super.equals(obj); } - com.google.container.v1.NotificationConfig.Filter other = - (com.google.container.v1.NotificationConfig.Filter) obj; + com.google.container.v1.NotificationConfig.Filter other = (com.google.container.v1.NotificationConfig.Filter) obj; if (!eventType_.equals(other.eventType_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1623,93 +1449,87 @@ public int hashCode() { } public static com.google.container.v1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NotificationConfig.Filter parseFrom( 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.NotificationConfig.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NotificationConfig.Filter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.NotificationConfig.Filter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.NotificationConfig.Filter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NotificationConfig.Filter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NotificationConfig.Filter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NotificationConfig.Filter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NotificationConfig.Filter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NotificationConfig.Filter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NotificationConfig.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NotificationConfig.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1719,8 +1539,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Allows filtering to one or more specific event types. If event types are
      * present, those and only those event types will be transmitted to the
@@ -1730,33 +1548,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1.NotificationConfig.Filter}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.container.v1.NotificationConfig.Filter)
         com.google.container.v1.NotificationConfig.FilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1.NotificationConfig.Filter.class,
-                com.google.container.v1.NotificationConfig.Filter.Builder.class);
+                com.google.container.v1.NotificationConfig.Filter.class, com.google.container.v1.NotificationConfig.Filter.Builder.class);
       }
 
       // Construct using com.google.container.v1.NotificationConfig.Filter.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1766,9 +1584,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.container.v1.ClusterServiceProto
-            .internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
@@ -1787,8 +1605,7 @@ public com.google.container.v1.NotificationConfig.Filter build() {
 
       @java.lang.Override
       public com.google.container.v1.NotificationConfig.Filter buildPartial() {
-        com.google.container.v1.NotificationConfig.Filter result =
-            new com.google.container.v1.NotificationConfig.Filter(this);
+        com.google.container.v1.NotificationConfig.Filter result = new com.google.container.v1.NotificationConfig.Filter(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           eventType_ = java.util.Collections.unmodifiableList(eventType_);
@@ -1803,41 +1620,38 @@ public com.google.container.v1.NotificationConfig.Filter buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.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.NotificationConfig.Filter) {
-          return mergeFrom((com.google.container.v1.NotificationConfig.Filter) other);
+          return mergeFrom((com.google.container.v1.NotificationConfig.Filter)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1845,8 +1659,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1.NotificationConfig.Filter other) {
-        if (other == com.google.container.v1.NotificationConfig.Filter.getDefaultInstance())
-          return this;
+        if (other == com.google.container.v1.NotificationConfig.Filter.getDefaultInstance()) return this;
         if (!other.eventType_.isEmpty()) {
           if (eventType_.isEmpty()) {
             eventType_ = other.eventType_;
@@ -1883,32 +1696,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
+              case 8: {
+                int tmpRaw = input.readEnum();
+                ensureEventTypeIsMutable();
+                eventType_.add(tmpRaw);
+                break;
+              } // case 8
+              case 10: {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while(input.getBytesUntilLimit() > 0) {
                   int tmpRaw = input.readEnum();
                   ensureEventTypeIsMutable();
                   eventType_.add(tmpRaw);
-                  break;
-                } // case 8
-              case 10:
-                {
-                  int length = input.readRawVarint32();
-                  int oldLimit = input.pushLimit(length);
-                  while (input.getBytesUntilLimit() > 0) {
-                    int tmpRaw = input.readEnum();
-                    ensureEventTypeIsMutable();
-                    eventType_.add(tmpRaw);
-                  }
-                  input.popLimit(oldLimit);
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1918,11 +1728,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List eventType_ = java.util.Collections.emptyList();
-
+      private java.util.List eventType_ =
+        java.util.Collections.emptyList();
       private void ensureEventTypeIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           eventType_ = new java.util.ArrayList(eventType_);
@@ -1930,45 +1739,34 @@ private void ensureEventTypeIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the eventType. */ - public java.util.List - getEventTypeList() { + public java.util.List getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>( - eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>(eventType_, eventType_converter_); } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return The count of eventType. */ public int getEventTypeCount() { return eventType_.size(); } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1976,14 +1774,11 @@ public com.google.container.v1.NotificationConfig.EventType getEventType(int ind return eventType_converter_.convert(eventType_.get(index)); } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index to set the value at. * @param value The eventType to set. * @return This builder for chaining. @@ -1999,14 +1794,11 @@ public Builder setEventType( return this; } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param value The eventType to add. * @return This builder for chaining. */ @@ -2020,20 +1812,16 @@ public Builder addEventType(com.google.container.v1.NotificationConfig.EventType return this; } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param values The eventType to add. * @return This builder for chaining. */ public Builder addAllEventType( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureEventTypeIsMutable(); for (com.google.container.v1.NotificationConfig.EventType value : values) { eventType_.add(value.getNumber()); @@ -2042,14 +1830,11 @@ public Builder addAllEventType( return this; } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return This builder for chaining. */ public Builder clearEventType() { @@ -2059,28 +1844,23 @@ public Builder clearEventType() { return this; } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the enum numeric values on the wire for eventType. */ - public java.util.List getEventTypeValueList() { + public java.util.List + getEventTypeValueList() { return java.util.Collections.unmodifiableList(eventType_); } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -2088,33 +1868,28 @@ public int getEventTypeValue(int index) { return eventType_.get(index); } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param index The index to set the value at. * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ - public Builder setEventTypeValue(int index, int value) { + public Builder setEventTypeValue( + int index, int value) { ensureEventTypeIsMutable(); eventType_.set(index, value); onChanged(); return this; } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param value The enum numeric value on the wire for eventType to add. * @return This builder for chaining. */ @@ -2125,18 +1900,16 @@ public Builder addEventTypeValue(int value) { return this; } /** - * - * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; - * * @param values The enum numeric values on the wire for eventType to add. * @return This builder for chaining. */ - public Builder addAllEventTypeValue(java.lang.Iterable values) { + public Builder addAllEventTypeValue( + java.lang.Iterable values) { ensureEventTypeIsMutable(); for (int value : values) { eventType_.add(value); @@ -2144,7 +1917,6 @@ public Builder addAllEventTypeValue(java.lang.Iterable values onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2157,12 +1929,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NotificationConfig.Filter) } // @@protoc_insertion_point(class_scope:google.container.v1.NotificationConfig.Filter) private static final com.google.container.v1.NotificationConfig.Filter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NotificationConfig.Filter(); } @@ -2171,28 +1943,27 @@ public static com.google.container.v1.NotificationConfig.Filter getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2207,19 +1978,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NotificationConfig.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PUBSUB_FIELD_NUMBER = 1; private com.google.container.v1.NotificationConfig.PubSub pubsub_; /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; - * * @return Whether the pubsub field is set. */ @java.lang.Override @@ -2227,25 +1996,18 @@ public boolean hasPubsub() { return pubsub_ != null; } /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; - * * @return The pubsub. */ @java.lang.Override public com.google.container.v1.NotificationConfig.PubSub getPubsub() { - return pubsub_ == null - ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() - : pubsub_; + return pubsub_ == null ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; } /** - * - * *
    * Notification config for Pub/Sub.
    * 
@@ -2258,7 +2020,6 @@ public com.google.container.v1.NotificationConfig.PubSubOrBuilder getPubsubOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2270,7 +2031,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pubsub_ != null) { output.writeMessage(1, getPubsub()); } @@ -2284,7 +2046,8 @@ public int getSerializedSize() { size = 0; if (pubsub_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPubsub()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPubsub()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2294,17 +2057,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NotificationConfig)) { return super.equals(obj); } - com.google.container.v1.NotificationConfig other = - (com.google.container.v1.NotificationConfig) obj; + com.google.container.v1.NotificationConfig other = (com.google.container.v1.NotificationConfig) obj; if (hasPubsub() != other.hasPubsub()) return false; if (hasPubsub()) { - if (!getPubsub().equals(other.getPubsub())) return false; + if (!getPubsub() + .equals(other.getPubsub())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2326,136 +2089,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NotificationConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.NotificationConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NotificationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NotificationConfig parseFrom( 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.NotificationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.NotificationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NotificationConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NotificationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.NotificationConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.NotificationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NotificationConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.NotificationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.NotificationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NotificationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NotificationConfig is the configuration of notifications.
    * 
* * Protobuf type {@code google.container.v1.NotificationConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.NotificationConfig) com.google.container.v1.NotificationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.class, - com.google.container.v1.NotificationConfig.Builder.class); + com.google.container.v1.NotificationConfig.class, com.google.container.v1.NotificationConfig.Builder.class); } // Construct using com.google.container.v1.NotificationConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2469,9 +2226,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_NotificationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_descriptor; } @java.lang.Override @@ -2490,8 +2247,7 @@ public com.google.container.v1.NotificationConfig build() { @java.lang.Override public com.google.container.v1.NotificationConfig buildPartial() { - com.google.container.v1.NotificationConfig result = - new com.google.container.v1.NotificationConfig(this); + com.google.container.v1.NotificationConfig result = new com.google.container.v1.NotificationConfig(this); if (pubsubBuilder_ == null) { result.pubsub_ = pubsub_; } else { @@ -2505,39 +2261,38 @@ public com.google.container.v1.NotificationConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NotificationConfig) { - return mergeFrom((com.google.container.v1.NotificationConfig) other); + return mergeFrom((com.google.container.v1.NotificationConfig)other); } else { super.mergeFrom(other); return this; @@ -2575,19 +2330,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPubsubFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getPubsubFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -2600,47 +2355,34 @@ public Builder mergeFrom( private com.google.container.v1.NotificationConfig.PubSub pubsub_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.PubSub, - com.google.container.v1.NotificationConfig.PubSub.Builder, - com.google.container.v1.NotificationConfig.PubSubOrBuilder> - pubsubBuilder_; + com.google.container.v1.NotificationConfig.PubSub, com.google.container.v1.NotificationConfig.PubSub.Builder, com.google.container.v1.NotificationConfig.PubSubOrBuilder> pubsubBuilder_; /** - * - * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; - * * @return Whether the pubsub field is set. */ public boolean hasPubsub() { return pubsubBuilder_ != null || pubsub_ != null; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; - * * @return The pubsub. */ public com.google.container.v1.NotificationConfig.PubSub getPubsub() { if (pubsubBuilder_ == null) { - return pubsub_ == null - ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() - : pubsub_; + return pubsub_ == null ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; } else { return pubsubBuilder_.getMessage(); } } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2661,8 +2403,6 @@ public Builder setPubsub(com.google.container.v1.NotificationConfig.PubSub value return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2681,8 +2421,6 @@ public Builder setPubsub( return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2693,9 +2431,7 @@ public Builder mergePubsub(com.google.container.v1.NotificationConfig.PubSub val if (pubsubBuilder_ == null) { if (pubsub_ != null) { pubsub_ = - com.google.container.v1.NotificationConfig.PubSub.newBuilder(pubsub_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NotificationConfig.PubSub.newBuilder(pubsub_).mergeFrom(value).buildPartial(); } else { pubsub_ = value; } @@ -2707,8 +2443,6 @@ public Builder mergePubsub(com.google.container.v1.NotificationConfig.PubSub val return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2727,8 +2461,6 @@ public Builder clearPubsub() { return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2736,13 +2468,11 @@ public Builder clearPubsub() { * .google.container.v1.NotificationConfig.PubSub pubsub = 1; */ public com.google.container.v1.NotificationConfig.PubSub.Builder getPubsubBuilder() { - + onChanged(); return getPubsubFieldBuilder().getBuilder(); } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2753,14 +2483,11 @@ public com.google.container.v1.NotificationConfig.PubSubOrBuilder getPubsubOrBui if (pubsubBuilder_ != null) { return pubsubBuilder_.getMessageOrBuilder(); } else { - return pubsub_ == null - ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() - : pubsub_; + return pubsub_ == null ? + com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; } } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2768,24 +2495,21 @@ public com.google.container.v1.NotificationConfig.PubSubOrBuilder getPubsubOrBui * .google.container.v1.NotificationConfig.PubSub pubsub = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.PubSub, - com.google.container.v1.NotificationConfig.PubSub.Builder, - com.google.container.v1.NotificationConfig.PubSubOrBuilder> + com.google.container.v1.NotificationConfig.PubSub, com.google.container.v1.NotificationConfig.PubSub.Builder, com.google.container.v1.NotificationConfig.PubSubOrBuilder> getPubsubFieldBuilder() { if (pubsubBuilder_ == null) { - pubsubBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.PubSub, - com.google.container.v1.NotificationConfig.PubSub.Builder, - com.google.container.v1.NotificationConfig.PubSubOrBuilder>( - getPubsub(), getParentForChildren(), isClean()); + pubsubBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NotificationConfig.PubSub, com.google.container.v1.NotificationConfig.PubSub.Builder, com.google.container.v1.NotificationConfig.PubSubOrBuilder>( + getPubsub(), + getParentForChildren(), + isClean()); pubsub_ = null; } return pubsubBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2795,12 +2519,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.NotificationConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NotificationConfig) private static final com.google.container.v1.NotificationConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.NotificationConfig(); } @@ -2809,27 +2533,27 @@ public static com.google.container.v1.NotificationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2844,4 +2568,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NotificationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java similarity index 58% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java index dce60f58e538..f80755c0442e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NotificationConfigOrBuilder - extends +public interface NotificationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.NotificationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; - * * @return Whether the pubsub field is set. */ boolean hasPubsub(); /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; - * * @return The pubsub. */ com.google.container.v1.NotificationConfig.PubSub getPubsub(); /** - * - * *
    * Notification config for Pub/Sub.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index 6b8f0211db1c..928bae0c0b71 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * This operation resource represents operations that may have happened or are
  * happening on the cluster. All fields are output only.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.Operation}
  */
-public final class Operation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Operation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.Operation)
     OperationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Operation.newBuilder() to construct.
   private Operation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Operation() {
     name_ = "";
     zone_ = "";
@@ -56,43 +38,39 @@ private Operation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Operation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_Operation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_Operation_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.Operation.class,
-            com.google.container.v1.Operation.Builder.class);
+            com.google.container.v1.Operation.class, com.google.container.v1.Operation.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Current status of the operation.
    * 
* * Protobuf enum {@code google.container.v1.Operation.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -101,8 +79,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * The operation has been created.
      * 
@@ -111,8 +87,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The operation is currently running.
      * 
@@ -121,8 +95,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The operation is done, either cancelled or completed.
      * 
@@ -131,8 +103,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ DONE(3), /** - * - * *
      * The operation is aborting.
      * 
@@ -144,8 +114,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -154,8 +122,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The operation has been created.
      * 
@@ -164,8 +130,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The operation is currently running.
      * 
@@ -174,8 +138,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The operation is done, either cancelled or completed.
      * 
@@ -184,8 +146,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DONE_VALUE = 3; /** - * - * *
      * The operation is aborting.
      * 
@@ -194,6 +154,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABORTING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -218,53 +179,51 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: - return STATUS_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return RUNNING; - case 3: - return DONE; - case 4: - return ABORTING; - default: - return null; + case 0: return STATUS_UNSPECIFIED; + case 1: return PENDING; + case 2: return RUNNING; + case 3: return DONE; + case 4: return ABORTING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Status> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.Operation.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -282,18 +241,15 @@ private Status(int value) { } /** - * - * *
    * Operation type.
    * 
* * Protobuf enum {@code google.container.v1.Operation.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -302,8 +258,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Cluster create.
      * 
@@ -312,8 +266,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE_CLUSTER(1), /** - * - * *
      * Cluster delete.
      * 
@@ -322,8 +274,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE_CLUSTER(2), /** - * - * *
      * A master upgrade.
      * 
@@ -332,8 +282,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_MASTER(3), /** - * - * *
      * A node upgrade.
      * 
@@ -342,8 +290,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_NODES(4), /** - * - * *
      * Cluster repair.
      * 
@@ -352,8 +298,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ REPAIR_CLUSTER(5), /** - * - * *
      * Cluster update.
      * 
@@ -362,8 +306,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE_CLUSTER(6), /** - * - * *
      * Node pool create.
      * 
@@ -372,8 +314,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE_NODE_POOL(7), /** - * - * *
      * Node pool delete.
      * 
@@ -382,8 +322,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE_NODE_POOL(8), /** - * - * *
      * Set node pool management.
      * 
@@ -392,8 +330,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_NODE_POOL_MANAGEMENT(9), /** - * - * *
      * Automatic node pool repair.
      * 
@@ -402,8 +338,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_REPAIR_NODES(10), /** - * - * *
      * Automatic node upgrade.
      * 
@@ -412,8 +346,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPGRADE_NODES(11), /** - * - * *
      * Set labels.
      * 
@@ -422,8 +354,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_LABELS(12), /** - * - * *
      * Set/generate master auth materials
      * 
@@ -432,8 +362,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_MASTER_AUTH(13), /** - * - * *
      * Set node pool size.
      * 
@@ -442,8 +370,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_NODE_POOL_SIZE(14), /** - * - * *
      * Updates network policy for a cluster.
      * 
@@ -452,8 +378,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_NETWORK_POLICY(15), /** - * - * *
      * Set the maintenance policy.
      * 
@@ -465,8 +389,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -475,8 +397,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Cluster create.
      * 
@@ -485,8 +405,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_CLUSTER_VALUE = 1; /** - * - * *
      * Cluster delete.
      * 
@@ -495,8 +413,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_CLUSTER_VALUE = 2; /** - * - * *
      * A master upgrade.
      * 
@@ -505,8 +421,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_MASTER_VALUE = 3; /** - * - * *
      * A node upgrade.
      * 
@@ -515,8 +429,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_NODES_VALUE = 4; /** - * - * *
      * Cluster repair.
      * 
@@ -525,8 +437,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REPAIR_CLUSTER_VALUE = 5; /** - * - * *
      * Cluster update.
      * 
@@ -535,8 +445,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_CLUSTER_VALUE = 6; /** - * - * *
      * Node pool create.
      * 
@@ -545,8 +453,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_NODE_POOL_VALUE = 7; /** - * - * *
      * Node pool delete.
      * 
@@ -555,8 +461,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_NODE_POOL_VALUE = 8; /** - * - * *
      * Set node pool management.
      * 
@@ -565,8 +469,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_NODE_POOL_MANAGEMENT_VALUE = 9; /** - * - * *
      * Automatic node pool repair.
      * 
@@ -575,8 +477,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_REPAIR_NODES_VALUE = 10; /** - * - * *
      * Automatic node upgrade.
      * 
@@ -585,8 +485,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPGRADE_NODES_VALUE = 11; /** - * - * *
      * Set labels.
      * 
@@ -595,8 +493,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_LABELS_VALUE = 12; /** - * - * *
      * Set/generate master auth materials
      * 
@@ -605,8 +501,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_MASTER_AUTH_VALUE = 13; /** - * - * *
      * Set node pool size.
      * 
@@ -615,8 +509,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_NODE_POOL_SIZE_VALUE = 14; /** - * - * *
      * Updates network policy for a cluster.
      * 
@@ -625,8 +517,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_NETWORK_POLICY_VALUE = 15; /** - * - * *
      * Set the maintenance policy.
      * 
@@ -635,6 +525,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_MAINTENANCE_POLICY_VALUE = 16; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -659,77 +550,63 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return CREATE_CLUSTER; - case 2: - return DELETE_CLUSTER; - case 3: - return UPGRADE_MASTER; - case 4: - return UPGRADE_NODES; - case 5: - return REPAIR_CLUSTER; - case 6: - return UPDATE_CLUSTER; - case 7: - return CREATE_NODE_POOL; - case 8: - return DELETE_NODE_POOL; - case 9: - return SET_NODE_POOL_MANAGEMENT; - case 10: - return AUTO_REPAIR_NODES; - case 11: - return AUTO_UPGRADE_NODES; - case 12: - return SET_LABELS; - case 13: - return SET_MASTER_AUTH; - case 14: - return SET_NODE_POOL_SIZE; - case 15: - return SET_NETWORK_POLICY; - case 16: - return SET_MAINTENANCE_POLICY; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return CREATE_CLUSTER; + case 2: return DELETE_CLUSTER; + case 3: return UPGRADE_MASTER; + case 4: return UPGRADE_NODES; + case 5: return REPAIR_CLUSTER; + case 6: return UPDATE_CLUSTER; + case 7: return CREATE_NODE_POOL; + case 8: return DELETE_NODE_POOL; + case 9: return SET_NODE_POOL_MANAGEMENT; + case 10: return AUTO_REPAIR_NODES; + case 11: return AUTO_UPGRADE_NODES; + case 12: return SET_LABELS; + case 13: return SET_MASTER_AUTH; + case 14: return SET_NODE_POOL_SIZE; + case 15: return SET_NETWORK_POLICY; + case 16: return SET_MAINTENANCE_POLICY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.Operation.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -749,14 +626,11 @@ private Type(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -765,29 +639,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -798,8 +672,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -807,27 +679,24 @@ 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=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -835,18 +704,18 @@ 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=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -857,86 +726,65 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int OPERATION_TYPE_FIELD_NUMBER = 3; private int operationType_; /** - * - * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @return The operationType. */ - @java.lang.Override - public com.google.container.v1.Operation.Type getOperationType() { + @java.lang.Override public com.google.container.v1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Type result = - com.google.container.v1.Operation.Type.valueOf(operationType_); + com.google.container.v1.Operation.Type result = com.google.container.v1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1.Operation.Type.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1.Operation.Status getStatus() { + @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = - com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } public static final int DETAIL_FIELD_NUMBER = 8; private volatile java.lang.Object detail_; /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The detail. */ @java.lang.Override @@ -945,29 +793,29 @@ public java.lang.String getDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; } } /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The bytes for detail. */ @java.lang.Override - public com.google.protobuf.ByteString getDetailBytes() { + public com.google.protobuf.ByteString + getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detail_ = b; return b; } else { @@ -978,57 +826,48 @@ public com.google.protobuf.ByteString getDetailBytes() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1039,14 +878,11 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int SELF_LINK_FIELD_NUMBER = 6; private volatile java.lang.Object selfLink_; /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The selfLink. */ @java.lang.Override @@ -1055,29 +891,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -1088,14 +924,11 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { public static final int TARGET_LINK_FIELD_NUMBER = 7; private volatile java.lang.Object targetLink_; /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The targetLink. */ @java.lang.Override @@ -1104,29 +937,29 @@ public java.lang.String getTargetLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; } } /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The bytes for targetLink. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetLinkBytes() { + public com.google.protobuf.ByteString + getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetLink_ = b; return b; } else { @@ -1137,8 +970,6 @@ public com.google.protobuf.ByteString getTargetLinkBytes() { public static final int LOCATION_FIELD_NUMBER = 9; private volatile java.lang.Object location_; /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1148,7 +979,6 @@ public com.google.protobuf.ByteString getTargetLinkBytes() {
    * 
* * string location = 9; - * * @return The location. */ @java.lang.Override @@ -1157,15 +987,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1175,15 +1004,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 9; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1194,15 +1024,12 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int START_TIME_FIELD_NUMBER = 10; private volatile java.lang.Object startTime_; /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The startTime. */ @java.lang.Override @@ -1211,30 +1038,30 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -1245,15 +1072,12 @@ public com.google.protobuf.ByteString getStartTimeBytes() { public static final int END_TIME_FIELD_NUMBER = 11; private volatile java.lang.Object endTime_; /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The endTime. */ @java.lang.Override @@ -1262,30 +1086,30 @@ public java.lang.String getEndTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The bytes for endTime. */ @java.lang.Override - public com.google.protobuf.ByteString getEndTimeBytes() { + public com.google.protobuf.ByteString + getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endTime_ = b; return b; } else { @@ -1296,16 +1120,11 @@ public com.google.protobuf.ByteString getEndTimeBytes() { public static final int PROGRESS_FIELD_NUMBER = 12; private com.google.container.v1.OperationProgress progress_; /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the progress field is set. */ @java.lang.Override @@ -1313,34 +1132,23 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The progress. */ @java.lang.Override public com.google.container.v1.OperationProgress getProgress() { - return progress_ == null - ? com.google.container.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.container.v1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder() { @@ -1350,178 +1158,129 @@ public com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder() public static final int CLUSTER_CONDITIONS_FIELD_NUMBER = 13; private java.util.List clusterConditions_; /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List getClusterConditionsList() { + @java.lang.Deprecated public java.util.List getClusterConditionsList() { return clusterConditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List + @java.lang.Deprecated public java.util.List getClusterConditionsOrBuilderList() { return clusterConditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public int getClusterConditionsCount() { + @java.lang.Deprecated public int getClusterConditionsCount() { return clusterConditions_.size(); } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated public com.google.container.v1.StatusCondition getClusterConditions(int index) { return clusterConditions_.get(index); } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder(int index) { + @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + int index) { return clusterConditions_.get(index); } public static final int NODEPOOL_CONDITIONS_FIELD_NUMBER = 14; private java.util.List nodepoolConditions_; /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List getNodepoolConditionsList() { + @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { return nodepoolConditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List + @java.lang.Deprecated public java.util.List getNodepoolConditionsOrBuilderList() { return nodepoolConditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public int getNodepoolConditionsCount() { + @java.lang.Deprecated public int getNodepoolConditionsCount() { return nodepoolConditions_.size(); } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { return nodepoolConditions_.get(index); } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { return nodepoolConditions_.get(index); } @@ -1529,14 +1288,11 @@ public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrB public static final int ERROR_FIELD_NUMBER = 15; private com.google.rpc.Status error_; /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1544,14 +1300,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return The error. */ @java.lang.Override @@ -1559,8 +1312,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The error result of the operation in case of failure.
    * 
@@ -1573,7 +1324,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1585,7 +1335,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1647,10 +1398,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } if (operationType_ != com.google.container.v1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationType_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operationType_); } if (status_ != com.google.container.v1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -1674,18 +1427,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, endTime_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getProgress()); } for (int i = 0; i < clusterConditions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, clusterConditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, clusterConditions_.get(i)); } for (int i = 0; i < nodepoolConditions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(14, nodepoolConditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, nodepoolConditions_.get(i)); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getError()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1695,33 +1450,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.Operation)) { return super.equals(obj); } com.google.container.v1.Operation other = (com.google.container.v1.Operation) obj; - if (!getName().equals(other.getName())) return false; - if (!getZone().equals(other.getZone())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getZone() + .equals(other.getZone())) return false; if (operationType_ != other.operationType_) return false; if (status_ != other.status_) return false; - if (!getDetail().equals(other.getDetail())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (!getSelfLink().equals(other.getSelfLink())) return false; - if (!getTargetLink().equals(other.getTargetLink())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (!getStartTime().equals(other.getStartTime())) return false; - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getDetail() + .equals(other.getDetail())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (!getSelfLink() + .equals(other.getSelfLink())) return false; + if (!getTargetLink() + .equals(other.getTargetLink())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } - if (!getClusterConditionsList().equals(other.getClusterConditionsList())) return false; - if (!getNodepoolConditionsList().equals(other.getNodepoolConditionsList())) return false; + if (!getClusterConditionsList() + .equals(other.getClusterConditionsList())) return false; + if (!getNodepoolConditionsList() + .equals(other.getNodepoolConditionsList())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1777,103 +1545,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.Operation parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.Operation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Operation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Operation parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.Operation parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Operation parseFrom( 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.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.Operation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.Operation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.Operation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.Operation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.Operation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.Operation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This operation resource represents operations that may have happened or are
    * happening on the cluster. All fields are output only.
@@ -1881,32 +1643,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.Operation}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.Operation)
       com.google.container.v1.OperationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_Operation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_Operation_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.Operation.class,
-              com.google.container.v1.Operation.Builder.class);
+              com.google.container.v1.Operation.class, com.google.container.v1.Operation.Builder.class);
     }
 
     // Construct using com.google.container.v1.Operation.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1962,9 +1725,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_Operation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_descriptor;
     }
 
     @java.lang.Override
@@ -2032,39 +1795,38 @@ public com.google.container.v1.Operation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.Operation) {
-        return mergeFrom((com.google.container.v1.Operation) other);
+        return mergeFrom((com.google.container.v1.Operation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2136,10 +1898,9 @@ public Builder mergeFrom(com.google.container.v1.Operation other) {
             clusterConditionsBuilder_ = null;
             clusterConditions_ = other.clusterConditions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            clusterConditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getClusterConditionsFieldBuilder()
-                    : null;
+            clusterConditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getClusterConditionsFieldBuilder() : null;
           } else {
             clusterConditionsBuilder_.addAllMessages(other.clusterConditions_);
           }
@@ -2163,10 +1924,9 @@ public Builder mergeFrom(com.google.container.v1.Operation other) {
             nodepoolConditionsBuilder_ = null;
             nodepoolConditions_ = other.nodepoolConditions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            nodepoolConditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNodepoolConditionsFieldBuilder()
-                    : null;
+            nodepoolConditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNodepoolConditionsFieldBuilder() : null;
           } else {
             nodepoolConditionsBuilder_.addAllMessages(other.nodepoolConditions_);
           }
@@ -2201,118 +1961,108 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                operationType_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                status_ = input.readEnum();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                statusMessage_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                selfLink_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 58:
-              {
-                targetLink_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                detail_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 66
-            case 74:
-              {
-                location_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 82:
-              {
-                startTime_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 82
-            case 90:
-              {
-                endTime_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 98
-            case 106:
-              {
-                com.google.container.v1.StatusCondition m =
-                    input.readMessage(
-                        com.google.container.v1.StatusCondition.parser(), extensionRegistry);
-                if (clusterConditionsBuilder_ == null) {
-                  ensureClusterConditionsIsMutable();
-                  clusterConditions_.add(m);
-                } else {
-                  clusterConditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 106
-            case 114:
-              {
-                com.google.container.v1.StatusCondition m =
-                    input.readMessage(
-                        com.google.container.v1.StatusCondition.parser(), extensionRegistry);
-                if (nodepoolConditionsBuilder_ == null) {
-                  ensureNodepoolConditionsIsMutable();
-                  nodepoolConditions_.add(m);
-                } else {
-                  nodepoolConditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 122
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
-          } // switch (tag)
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              operationType_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 32: {
+              status_ = input.readEnum();
+
+              break;
+            } // case 32
+            case 42: {
+              statusMessage_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              selfLink_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 58: {
+              targetLink_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              detail_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 66
+            case 74: {
+              location_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 82: {
+              startTime_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 82
+            case 90: {
+              endTime_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 98
+            case 106: {
+              com.google.container.v1.StatusCondition m =
+                  input.readMessage(
+                      com.google.container.v1.StatusCondition.parser(),
+                      extensionRegistry);
+              if (clusterConditionsBuilder_ == null) {
+                ensureClusterConditionsIsMutable();
+                clusterConditions_.add(m);
+              } else {
+                clusterConditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 106
+            case 114: {
+              com.google.container.v1.StatusCondition m =
+                  input.readMessage(
+                      com.google.container.v1.StatusCondition.parser(),
+                      extensionRegistry);
+              if (nodepoolConditionsBuilder_ == null) {
+                ensureNodepoolConditionsIsMutable();
+                nodepoolConditions_.add(m);
+              } else {
+                nodepoolConditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getErrorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 122
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
+          } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.unwrapIOException();
@@ -2321,25 +2071,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2348,21 +2095,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2370,61 +2116,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2432,8 +2171,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2441,16 +2178,15 @@ 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=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2459,8 +2195,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2468,17 +2202,17 @@ 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=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -2486,8 +2220,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2495,25 +2227,22 @@ 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=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2521,21 +2250,17 @@ 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=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2543,19 +2268,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2563,65 +2287,51 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private int operationType_ = 0; /** - * - * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @return The operationType. */ @java.lang.Override public com.google.container.v1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Type result = - com.google.container.v1.Operation.Type.valueOf(operationType_); + com.google.container.v1.Operation.Type result = com.google.container.v1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1.Operation.Type.UNRECOGNIZED : result; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @param value The operationType to set. * @return This builder for chaining. */ @@ -2629,24 +2339,21 @@ public Builder setOperationType(com.google.container.v1.Operation.Type value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -2654,65 +2361,51 @@ public Builder clearOperationType() { private int status_ = 0; /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; - * * @return The status. */ @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = - com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; - * * @param value The status to set. * @return This builder for chaining. */ @@ -2720,24 +2413,21 @@ public Builder setStatus(com.google.container.v1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -2745,20 +2435,18 @@ public Builder clearStatus() { private java.lang.Object detail_ = ""; /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; @@ -2767,21 +2455,20 @@ public java.lang.String getDetail() { } } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @return The bytes for detail. */ - public com.google.protobuf.ByteString getDetailBytes() { + public com.google.protobuf.ByteString + getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detail_ = b; return b; } else { @@ -2789,61 +2476,54 @@ public com.google.protobuf.ByteString getDetailBytes() { } } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @param value The detail to set. * @return This builder for chaining. */ - public Builder setDetail(java.lang.String value) { + public Builder setDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detail_ = value; onChanged(); return this; } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @return This builder for chaining. */ public Builder clearDetail() { - + detail_ = getDefaultInstance().getDetail(); onChanged(); return this; } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @param value The bytes for detail to set. * @return This builder for chaining. */ - public Builder setDetailBytes(com.google.protobuf.ByteString value) { + public Builder setDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detail_ = value; onChanged(); return this; @@ -2851,26 +2531,21 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @return The statusMessage. */ - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -2879,27 +2554,23 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -2907,79 +2578,63 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessage(java.lang.String value) { + @java.lang.Deprecated public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearStatusMessage() { - + @java.lang.Deprecated public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -2987,20 +2642,18 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object selfLink_ = ""; /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -3009,21 +2662,20 @@ public java.lang.String getSelfLink() { } } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -3031,61 +2683,54 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink(java.lang.String value) { + public Builder setSelfLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -3093,20 +2738,18 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetLink_ = ""; /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @return The targetLink. */ public java.lang.String getTargetLink() { java.lang.Object ref = targetLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; @@ -3115,21 +2758,20 @@ public java.lang.String getTargetLink() { } } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @return The bytes for targetLink. */ - public com.google.protobuf.ByteString getTargetLinkBytes() { + public com.google.protobuf.ByteString + getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetLink_ = b; return b; } else { @@ -3137,61 +2779,54 @@ public com.google.protobuf.ByteString getTargetLinkBytes() { } } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @param value The targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLink(java.lang.String value) { + public Builder setTargetLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetLink_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @return This builder for chaining. */ public Builder clearTargetLink() { - + targetLink_ = getDefaultInstance().getTargetLink(); onChanged(); return this; } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @param value The bytes for targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { + public Builder setTargetLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetLink_ = value; onChanged(); return this; @@ -3199,8 +2834,6 @@ public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3210,13 +2843,13 @@ public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) {
      * 
* * string location = 9; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -3225,8 +2858,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3236,14 +2867,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 9; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3251,8 +2883,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3262,22 +2892,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 9; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3287,18 +2915,15 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 9; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3308,16 +2933,16 @@ public Builder clearLocation() {
      * 
* * string location = 9; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -3325,21 +2950,19 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object startTime_ = ""; /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -3348,22 +2971,21 @@ public java.lang.String getStartTime() { } } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -3371,64 +2993,57 @@ public com.google.protobuf.ByteString getStartTimeBytes() { } } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime(java.lang.String value) { + public Builder setStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -3436,21 +3051,19 @@ public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { private java.lang.Object endTime_ = ""; /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @return The endTime. */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; @@ -3459,22 +3072,21 @@ public java.lang.String getEndTime() { } } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @return The bytes for endTime. */ - public com.google.protobuf.ByteString getEndTimeBytes() { + public com.google.protobuf.ByteString + getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endTime_ = b; return b; } else { @@ -3482,64 +3094,57 @@ public com.google.protobuf.ByteString getEndTimeBytes() { } } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @param value The endTime to set. * @return This builder for chaining. */ - public Builder setEndTime(java.lang.String value) { + public Builder setEndTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @return This builder for chaining. */ public Builder clearEndTime() { - + endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @param value The bytes for endTime to set. * @return This builder for chaining. */ - public Builder setEndTimeBytes(com.google.protobuf.ByteString value) { + public Builder setEndTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endTime_ = value; onChanged(); return this; @@ -3547,58 +3152,39 @@ public Builder setEndTimeBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.OperationProgress, - com.google.container.v1.OperationProgress.Builder, - com.google.container.v1.OperationProgressOrBuilder> - progressBuilder_; + com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the progress field is set. */ public boolean hasProgress() { return progressBuilder_ != null || progress_ != null; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The progress. */ public com.google.container.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.container.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.container.v1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProgress(com.google.container.v1.OperationProgress value) { if (progressBuilder_ == null) { @@ -3614,17 +3200,14 @@ public Builder setProgress(com.google.container.v1.OperationProgress value) { return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setProgress(com.google.container.v1.OperationProgress.Builder builderForValue) { + public Builder setProgress( + com.google.container.v1.OperationProgress.Builder builderForValue) { if (progressBuilder_ == null) { progress_ = builderForValue.build(); onChanged(); @@ -3635,23 +3218,17 @@ public Builder setProgress(com.google.container.v1.OperationProgress.Builder bui return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeProgress(com.google.container.v1.OperationProgress value) { if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.container.v1.OperationProgress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } @@ -3663,15 +3240,11 @@ public Builder mergeProgress(com.google.container.v1.OperationProgress value) { return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProgress() { if (progressBuilder_ == null) { @@ -3685,100 +3258,74 @@ public Builder clearProgress() { return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.container.v1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.container.v1.OperationProgress.getDefaultInstance() : progress_; } } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.OperationProgress, - com.google.container.v1.OperationProgress.Builder, - com.google.container.v1.OperationProgressOrBuilder> + com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.OperationProgress, - com.google.container.v1.OperationProgress.Builder, - com.google.container.v1.OperationProgressOrBuilder>( - getProgress(), getParentForChildren(), isClean()); + progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder>( + getProgress(), + getParentForChildren(), + isClean()); progress_ = null; } return progressBuilder_; } private java.util.List clusterConditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClusterConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - clusterConditions_ = - new java.util.ArrayList(clusterConditions_); + clusterConditions_ = new java.util.ArrayList(clusterConditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder> - clusterConditionsBuilder_; + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> clusterConditionsBuilder_; /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List getClusterConditionsList() { + @java.lang.Deprecated public java.util.List getClusterConditionsList() { if (clusterConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(clusterConditions_); } else { @@ -3786,19 +3333,14 @@ public java.util.List getClusterConditi } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public int getClusterConditionsCount() { + @java.lang.Deprecated public int getClusterConditionsCount() { if (clusterConditionsBuilder_ == null) { return clusterConditions_.size(); } else { @@ -3806,19 +3348,14 @@ public int getClusterConditionsCount() { } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated public com.google.container.v1.StatusCondition getClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { return clusterConditions_.get(index); } else { @@ -3826,19 +3363,15 @@ public com.google.container.v1.StatusCondition getClusterConditions(int index) { } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setClusterConditions(int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated public Builder setClusterConditions( + int index, com.google.container.v1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3852,19 +3385,14 @@ public Builder setClusterConditions(int index, com.google.container.v1.StatusCon return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setClusterConditions( + @java.lang.Deprecated public Builder setClusterConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3876,19 +3404,14 @@ public Builder setClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions(com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated public Builder addClusterConditions(com.google.container.v1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3902,19 +3425,15 @@ public Builder addClusterConditions(com.google.container.v1.StatusCondition valu return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions(int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated public Builder addClusterConditions( + int index, com.google.container.v1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3928,19 +3447,14 @@ public Builder addClusterConditions(int index, com.google.container.v1.StatusCon return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions( + @java.lang.Deprecated public Builder addClusterConditions( com.google.container.v1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3952,19 +3466,14 @@ public Builder addClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions( + @java.lang.Deprecated public Builder addClusterConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3976,23 +3485,19 @@ public Builder addClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAllClusterConditions( + @java.lang.Deprecated public Builder addAllClusterConditions( java.lang.Iterable values) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterConditions_); onChanged(); } else { clusterConditionsBuilder_.addAllMessages(values); @@ -4000,19 +3505,14 @@ public Builder addAllClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearClusterConditions() { + @java.lang.Deprecated public Builder clearClusterConditions() { if (clusterConditionsBuilder_ == null) { clusterConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -4023,19 +3523,14 @@ public Builder clearClusterConditions() { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder removeClusterConditions(int index) { + @java.lang.Deprecated public Builder removeClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); clusterConditions_.remove(index); @@ -4046,57 +3541,42 @@ public Builder removeClusterConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Builder getClusterConditionsBuilder(int index) { + @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder getClusterConditionsBuilder( + int index) { return getClusterConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( int index) { if (clusterConditionsBuilder_ == null) { - return clusterConditions_.get(index); - } else { + return clusterConditions_.get(index); } else { return clusterConditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getClusterConditionsOrBuilderList() { + @java.lang.Deprecated public java.util.List + getClusterConditionsOrBuilderList() { if (clusterConditionsBuilder_ != null) { return clusterConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -4104,68 +3584,48 @@ public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBu } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder() { - return getClusterConditionsFieldBuilder() - .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder() { + return getClusterConditionsFieldBuilder().addBuilder( + com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder(int index) { - return getClusterConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder( + int index) { + return getClusterConditionsFieldBuilder().addBuilder( + index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getClusterConditionsBuilderList() { + @java.lang.Deprecated public java.util.List + getClusterConditionsBuilderList() { return getClusterConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> getClusterConditionsFieldBuilder() { if (clusterConditionsBuilder_ == null) { - clusterConditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder>( + clusterConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( clusterConditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4176,36 +3636,26 @@ public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuild } private java.util.List nodepoolConditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodepoolConditionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nodepoolConditions_ = - new java.util.ArrayList(nodepoolConditions_); + nodepoolConditions_ = new java.util.ArrayList(nodepoolConditions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder> - nodepoolConditionsBuilder_; + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> nodepoolConditionsBuilder_; /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List getNodepoolConditionsList() { + @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { if (nodepoolConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(nodepoolConditions_); } else { @@ -4213,19 +3663,14 @@ public java.util.List getNodepoolCondit } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public int getNodepoolConditionsCount() { + @java.lang.Deprecated public int getNodepoolConditionsCount() { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.size(); } else { @@ -4233,19 +3678,14 @@ public int getNodepoolConditionsCount() { } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.get(index); } else { @@ -4253,19 +3693,15 @@ public com.google.container.v1.StatusCondition getNodepoolConditions(int index) } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setNodepoolConditions(int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated public Builder setNodepoolConditions( + int index, com.google.container.v1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4279,19 +3715,14 @@ public Builder setNodepoolConditions(int index, com.google.container.v1.StatusCo return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setNodepoolConditions( + @java.lang.Deprecated public Builder setNodepoolConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -4303,19 +3734,14 @@ public Builder setNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions(com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated public Builder addNodepoolConditions(com.google.container.v1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4329,19 +3755,15 @@ public Builder addNodepoolConditions(com.google.container.v1.StatusCondition val return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions(int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated public Builder addNodepoolConditions( + int index, com.google.container.v1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4355,19 +3777,14 @@ public Builder addNodepoolConditions(int index, com.google.container.v1.StatusCo return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions( + @java.lang.Deprecated public Builder addNodepoolConditions( com.google.container.v1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -4379,19 +3796,14 @@ public Builder addNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions( + @java.lang.Deprecated public Builder addNodepoolConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -4403,23 +3815,19 @@ public Builder addNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAllNodepoolConditions( + @java.lang.Deprecated public Builder addAllNodepoolConditions( java.lang.Iterable values) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodepoolConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodepoolConditions_); onChanged(); } else { nodepoolConditionsBuilder_.addAllMessages(values); @@ -4427,19 +3835,14 @@ public Builder addAllNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearNodepoolConditions() { + @java.lang.Deprecated public Builder clearNodepoolConditions() { if (nodepoolConditionsBuilder_ == null) { nodepoolConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); @@ -4450,19 +3853,14 @@ public Builder clearNodepoolConditions() { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder removeNodepoolConditions(int index) { + @java.lang.Deprecated public Builder removeNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); nodepoolConditions_.remove(index); @@ -4473,57 +3871,42 @@ public Builder removeNodepoolConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Builder getNodepoolConditionsBuilder(int index) { + @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder getNodepoolConditionsBuilder( + int index) { return getNodepoolConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { if (nodepoolConditionsBuilder_ == null) { - return nodepoolConditions_.get(index); - } else { + return nodepoolConditions_.get(index); } else { return nodepoolConditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getNodepoolConditionsOrBuilderList() { + @java.lang.Deprecated public java.util.List + getNodepoolConditionsOrBuilderList() { if (nodepoolConditionsBuilder_ != null) { return nodepoolConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -4531,68 +3914,48 @@ public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrB } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder() { - return getNodepoolConditionsFieldBuilder() - .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder() { + return getNodepoolConditionsFieldBuilder().addBuilder( + com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder(int index) { - return getNodepoolConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder( + int index) { + return getNodepoolConditionsFieldBuilder().addBuilder( + index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getNodepoolConditionsBuilderList() { + @java.lang.Deprecated public java.util.List + getNodepoolConditionsBuilderList() { return getNodepoolConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> getNodepoolConditionsFieldBuilder() { if (nodepoolConditionsBuilder_ == null) { - nodepoolConditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, - com.google.container.v1.StatusCondition.Builder, - com.google.container.v1.StatusConditionOrBuilder>( + nodepoolConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( nodepoolConditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4604,31 +3967,24 @@ public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuil private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -4639,8 +3995,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4661,15 +4015,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -4680,8 +4033,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4691,7 +4042,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -4703,8 +4055,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4723,8 +4073,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4732,13 +4080,11 @@ public Builder clearError() { * .google.rpc.Status error = 15; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4749,12 +4095,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4762,21 +4107,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4786,12 +4131,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.Operation) } // @@protoc_insertion_point(class_scope:google.container.v1.Operation) private static final com.google.container.v1.Operation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.Operation(); } @@ -4800,27 +4145,27 @@ public static com.google.container.v1.Operation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4835,4 +4180,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.Operation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java index 8d1580987a94..fe211e5ecabe 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface OperationOrBuilder - extends +public interface OperationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.Operation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,16 +35,12 @@ public interface OperationOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -75,179 +48,138 @@ public interface OperationOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.Operation.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2036 + * @deprecated google.container.v1.Operation.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2036 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** - * - * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; - * * @return The operationType. */ com.google.container.v1.Operation.Type getOperationType(); /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; - * * @return The status. */ com.google.container.v1.Operation.Status getStatus(); /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The detail. */ java.lang.String getDetail(); /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The bytes for detail. */ - com.google.protobuf.ByteString getDetailBytes(); + com.google.protobuf.ByteString + getDetailBytes(); /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @return The statusMessage. */ - @java.lang.Deprecated - java.lang.String getStatusMessage(); + @java.lang.Deprecated java.lang.String getStatusMessage(); /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1.Operation.status_message is deprecated. See - * google/container/v1/cluster_service.proto;l=2049 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1.Operation.status_message is deprecated. + * See google/container/v1/cluster_service.proto;l=2049 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getStatusMessageBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The selfLink. */ java.lang.String getSelfLink(); /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString getSelfLinkBytes(); + com.google.protobuf.ByteString + getSelfLinkBytes(); /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The targetLink. */ java.lang.String getTargetLink(); /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The bytes for targetLink. */ - com.google.protobuf.ByteString getTargetLinkBytes(); + com.google.protobuf.ByteString + getTargetLinkBytes(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -257,13 +189,10 @@ public interface OperationOrBuilder
    * 
* * string location = 9; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -273,277 +202,199 @@ public interface OperationOrBuilder
    * 
* * string location = 9; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The startTime. */ java.lang.String getStartTime(); /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The bytes for startTime. */ - com.google.protobuf.ByteString getStartTimeBytes(); + com.google.protobuf.ByteString + getStartTimeBytes(); /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The endTime. */ java.lang.String getEndTime(); /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The bytes for endTime. */ - com.google.protobuf.ByteString getEndTimeBytes(); + com.google.protobuf.ByteString + getEndTimeBytes(); /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The progress. */ com.google.container.v1.OperationProgress getProgress(); /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List getClusterConditionsList(); + @java.lang.Deprecated java.util.List + getClusterConditionsList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1.StatusCondition getClusterConditions(int index); + @java.lang.Deprecated com.google.container.v1.StatusCondition getClusterConditions(int index); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - int getClusterConditionsCount(); + @java.lang.Deprecated int getClusterConditionsCount(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List + @java.lang.Deprecated java.util.List getClusterConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder(int index); + @java.lang.Deprecated com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + int index); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List getNodepoolConditionsList(); + @java.lang.Deprecated java.util.List + getNodepoolConditionsList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1.StatusCondition getNodepoolConditions(int index); + @java.lang.Deprecated com.google.container.v1.StatusCondition getNodepoolConditions(int index); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - int getNodepoolConditionsCount(); + @java.lang.Deprecated int getNodepoolConditionsCount(); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List + @java.lang.Deprecated java.util.List getNodepoolConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index); + @java.lang.Deprecated com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + int index); /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The error result of the operation in case of failure.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java similarity index 75% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java index a2454a38288c..35a84866e89a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Information about operation (or operation stage) progress.
  * 
* * Protobuf type {@code google.container.v1.OperationProgress} */ -public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.OperationProgress) OperationProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationProgress.newBuilder() to construct. private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationProgress() { name_ = ""; status_ = 0; @@ -46,211 +28,177 @@ private OperationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.class, - com.google.container.v1.OperationProgress.Builder.class); + com.google.container.v1.OperationProgress.class, com.google.container.v1.OperationProgress.Builder.class); } - public interface MetricOrBuilder - extends + public interface MetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.OperationProgress.Metric) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ boolean hasIntValue(); /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return The intValue. */ long getIntValue(); /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); public com.google.container.v1.OperationProgress.Metric.ValueCase getValueCase(); } /** - * - * *
    * Progress metric is (string, int|float|string) pair.
    * 
* * Protobuf type {@code google.container.v1.OperationProgress.Metric} */ - public static final class Metric extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Metric extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.OperationProgress.Metric) MetricOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metric.newBuilder() to construct. private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Metric() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Metric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_Metric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.Metric.class, - com.google.container.v1.OperationProgress.Metric.Builder.class); + com.google.container.v1.OperationProgress.Metric.class, com.google.container.v1.OperationProgress.Metric.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT_VALUE(2), DOUBLE_VALUE(3), STRING_VALUE(4), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -266,39 +214,32 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 2: - return INT_VALUE; - case 3: - return DOUBLE_VALUE; - case 4: - return STRING_VALUE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 2: return INT_VALUE; + case 3: return DOUBLE_VALUE; + case 4: return STRING_VALUE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -307,29 +248,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -339,14 +280,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INT_VALUE_FIELD_NUMBER = 2; /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ @java.lang.Override @@ -354,14 +292,11 @@ public boolean hasIntValue() { return valueCase_ == 2; } /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return The intValue. */ @java.lang.Override @@ -374,14 +309,11 @@ public long getIntValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -389,14 +321,11 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -409,28 +338,22 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -441,7 +364,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -450,24 +374,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -478,7 +401,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -490,15 +412,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (valueCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) value_)); + output.writeInt64( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) value_)); + output.writeDouble( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -516,14 +441,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (valueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) value_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) value_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); @@ -536,26 +461,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.OperationProgress.Metric)) { return super.equals(obj); } - com.google.container.v1.OperationProgress.Metric other = - (com.google.container.v1.OperationProgress.Metric) obj; + com.google.container.v1.OperationProgress.Metric other = (com.google.container.v1.OperationProgress.Metric) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 2: - if (getIntValue() != other.getIntValue()) return false; + if (getIntValue() + != other.getIntValue()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 4: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 0: default: @@ -576,14 +504,13 @@ public int hashCode() { switch (valueCase_) { case 2: hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIntValue()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -598,93 +525,87 @@ public int hashCode() { } public static com.google.container.v1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress.Metric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.OperationProgress.Metric parseFrom( 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.OperationProgress.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.OperationProgress.Metric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.OperationProgress.Metric parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.OperationProgress.Metric parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.OperationProgress.Metric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.OperationProgress.Metric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.OperationProgress.Metric parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.OperationProgress.Metric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.OperationProgress.Metric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.OperationProgress.Metric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.OperationProgress.Metric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -694,41 +615,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Progress metric is (string, int|float|string) pair.
      * 
* * Protobuf type {@code google.container.v1.OperationProgress.Metric} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.OperationProgress.Metric) com.google.container.v1.OperationProgress.MetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_Metric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.Metric.class, - com.google.container.v1.OperationProgress.Metric.Builder.class); + com.google.container.v1.OperationProgress.Metric.class, com.google.container.v1.OperationProgress.Metric.Builder.class); } // Construct using com.google.container.v1.OperationProgress.Metric.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -740,9 +659,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_Metric_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_descriptor; } @java.lang.Override @@ -761,8 +680,7 @@ public com.google.container.v1.OperationProgress.Metric build() { @java.lang.Override public com.google.container.v1.OperationProgress.Metric buildPartial() { - com.google.container.v1.OperationProgress.Metric result = - new com.google.container.v1.OperationProgress.Metric(this); + com.google.container.v1.OperationProgress.Metric result = new com.google.container.v1.OperationProgress.Metric(this); result.name_ = name_; if (valueCase_ == 2) { result.value_ = value_; @@ -782,41 +700,38 @@ public com.google.container.v1.OperationProgress.Metric buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.OperationProgress.Metric) { - return mergeFrom((com.google.container.v1.OperationProgress.Metric) other); + return mergeFrom((com.google.container.v1.OperationProgress.Metric)other); } else { super.mergeFrom(other); return this; @@ -824,34 +739,29 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.OperationProgress.Metric other) { - if (other == com.google.container.v1.OperationProgress.Metric.getDefaultInstance()) - return this; + if (other == com.google.container.v1.OperationProgress.Metric.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } switch (other.getValueCase()) { - case INT_VALUE: - { - setIntValue(other.getIntValue()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: - { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case VALUE_NOT_SET: - { - break; - } + case INT_VALUE: { + setIntValue(other.getIntValue()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -879,38 +789,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } // case 16 - case 25: - { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } // case 25 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } // case 16 + case 25: { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } // case 25 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + 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) { @@ -920,12 +825,12 @@ public Builder mergeFrom( } // finally return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -935,22 +840,21 @@ public Builder clearValue() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -959,21 +863,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -981,89 +884,76 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ public boolean hasIntValue() { return valueCase_ == 2; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @return The intValue. */ public long getIntValue() { @@ -1073,14 +963,11 @@ public long getIntValue() { return 0L; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @param value The intValue to set. * @return This builder for chaining. */ @@ -1091,14 +978,11 @@ public Builder setIntValue(long value) { return this; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @return This builder for chaining. */ public Builder clearIntValue() { @@ -1111,28 +995,22 @@ public Builder clearIntValue() { } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1142,14 +1020,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1160,14 +1035,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1180,14 +1052,11 @@ public Builder clearDoubleValue() { } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1195,14 +1064,11 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return The stringValue. */ @java.lang.Override @@ -1212,7 +1078,8 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1223,25 +1090,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1251,35 +1117,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1291,28 +1152,25 @@ public Builder clearStringValue() { return this; } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1325,12 +1183,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.OperationProgress.Metric) } // @@protoc_insertion_point(class_scope:google.container.v1.OperationProgress.Metric) private static final com.google.container.v1.OperationProgress.Metric DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.OperationProgress.Metric(); } @@ -1339,28 +1197,27 @@ public static com.google.container.v1.OperationProgress.Metric getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1375,20 +1232,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.OperationProgress.Metric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1397,30 +1252,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1431,46 +1286,35 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATUS_FIELD_NUMBER = 2; private int status_; /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1.Operation.Status getStatus() { + @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = - com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** - * - * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1487,8 +1331,6 @@ public java.util.List getMetri
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1501,13 +1343,11 @@ public java.util.List getMetri
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1524,8 +1364,6 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1542,8 +1380,6 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1556,15 +1392,14 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
   @java.lang.Override
-  public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(int index) {
+  public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
+      int index) {
     return metrics_.get(index);
   }
 
   public static final int STAGES_FIELD_NUMBER = 4;
   private java.util.List stages_;
   /**
-   *
-   *
    * 
    * Substages of an operation or a stage.
    * 
@@ -1576,8 +1411,6 @@ public java.util.List getStagesList() return stages_; } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1585,13 +1418,11 @@ public java.util.List getStagesList() * repeated .google.container.v1.OperationProgress stages = 4; */ @java.lang.Override - public java.util.List + public java.util.List getStagesOrBuilderList() { return stages_; } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1603,8 +1434,6 @@ public int getStagesCount() { return stages_.size(); } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1616,8 +1445,6 @@ public com.google.container.v1.OperationProgress getStages(int index) { return stages_.get(index); } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1625,12 +1452,12 @@ public com.google.container.v1.OperationProgress getStages(int index) { * repeated .google.container.v1.OperationProgress stages = 4; */ @java.lang.Override - public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int index) { + public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( + int index) { return stages_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1642,7 +1469,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1668,13 +1496,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (status_ != com.google.container.v1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, status_); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < stages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, stages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, stages_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1684,18 +1515,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.OperationProgress)) { return super.equals(obj); } - com.google.container.v1.OperationProgress other = - (com.google.container.v1.OperationProgress) obj; + com.google.container.v1.OperationProgress other = (com.google.container.v1.OperationProgress) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (status_ != other.status_) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!getStagesList().equals(other.getStagesList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; + if (!getStagesList() + .equals(other.getStagesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1724,136 +1557,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.OperationProgress parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.OperationProgress parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.OperationProgress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.OperationProgress parseFrom( 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.OperationProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.OperationProgress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.OperationProgress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.OperationProgress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.OperationProgress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.OperationProgress parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.OperationProgress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.OperationProgress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.OperationProgress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about operation (or operation stage) progress.
    * 
* * Protobuf type {@code google.container.v1.OperationProgress} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.OperationProgress) com.google.container.v1.OperationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.class, - com.google.container.v1.OperationProgress.Builder.class); + com.google.container.v1.OperationProgress.class, com.google.container.v1.OperationProgress.Builder.class); } // Construct using com.google.container.v1.OperationProgress.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1879,9 +1706,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_OperationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_descriptor; } @java.lang.Override @@ -1900,8 +1727,7 @@ public com.google.container.v1.OperationProgress build() { @java.lang.Override public com.google.container.v1.OperationProgress buildPartial() { - com.google.container.v1.OperationProgress result = - new com.google.container.v1.OperationProgress(this); + com.google.container.v1.OperationProgress result = new com.google.container.v1.OperationProgress(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.status_ = status_; @@ -1931,39 +1757,38 @@ public com.google.container.v1.OperationProgress buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.OperationProgress) { - return mergeFrom((com.google.container.v1.OperationProgress) other); + return mergeFrom((com.google.container.v1.OperationProgress)other); } else { super.mergeFrom(other); return this; @@ -1997,10 +1822,9 @@ public Builder mergeFrom(com.google.container.v1.OperationProgress other) { metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000001); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -2024,10 +1848,9 @@ public Builder mergeFrom(com.google.container.v1.OperationProgress other) { stagesBuilder_ = null; stages_ = other.stages_; bitField0_ = (bitField0_ & ~0x00000002); - stagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStagesFieldBuilder() - : null; + stagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStagesFieldBuilder() : null; } else { stagesBuilder_.addAllMessages(other.stages_); } @@ -2059,52 +1882,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - status_ = input.readEnum(); + break; + } // case 10 + case 16: { + status_ = input.readEnum(); - break; - } // case 16 - case 26: - { - com.google.container.v1.OperationProgress.Metric m = - input.readMessage( - com.google.container.v1.OperationProgress.Metric.parser(), - extensionRegistry); - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(m); - } else { - metricsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.container.v1.OperationProgress m = - input.readMessage( - com.google.container.v1.OperationProgress.parser(), extensionRegistry); - if (stagesBuilder_ == null) { - ensureStagesIsMutable(); - stages_.add(m); - } else { - stagesBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 26: { + com.google.container.v1.OperationProgress.Metric m = + input.readMessage( + com.google.container.v1.OperationProgress.Metric.parser(), + extensionRegistry); + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(m); + } else { + metricsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.container.v1.OperationProgress m = + input.readMessage( + com.google.container.v1.OperationProgress.parser(), + extensionRegistry); + if (stagesBuilder_ == null) { + ensureStagesIsMutable(); + stages_.add(m); + } else { + stagesBuilder_.addMessage(m); + } + 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) { @@ -2114,26 +1933,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2142,22 +1958,21 @@ public java.lang.String getName() { } } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2165,64 +1980,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2230,69 +2038,55 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; - * * @return The status. */ @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = - com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; - * * @param value The status to set. * @return This builder for chaining. */ @@ -2300,50 +2094,40 @@ public Builder setStatus(com.google.container.v1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } private java.util.List metrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - metrics_ = - new java.util.ArrayList(metrics_); + metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.OperationProgress.Metric, - com.google.container.v1.OperationProgress.Metric.Builder, - com.google.container.v1.OperationProgress.MetricOrBuilder> - metricsBuilder_; + com.google.container.v1.OperationProgress.Metric, com.google.container.v1.OperationProgress.Metric.Builder, com.google.container.v1.OperationProgress.MetricOrBuilder> metricsBuilder_; /** - * - * *
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2363,8 +2147,6 @@ public java.util.List getMetri
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2384,8 +2166,6 @@ public int getMetricsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2405,8 +2185,6 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2418,7 +2196,8 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public Builder setMetrics(int index, com.google.container.v1.OperationProgress.Metric value) {
+    public Builder setMetrics(
+        int index, com.google.container.v1.OperationProgress.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2432,8 +2211,6 @@ public Builder setMetrics(int index, com.google.container.v1.OperationProgress.M
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2457,8 +2234,6 @@ public Builder setMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2484,8 +2259,6 @@ public Builder addMetrics(com.google.container.v1.OperationProgress.Metric value
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2497,7 +2270,8 @@ public Builder addMetrics(com.google.container.v1.OperationProgress.Metric value
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public Builder addMetrics(int index, com.google.container.v1.OperationProgress.Metric value) {
+    public Builder addMetrics(
+        int index, com.google.container.v1.OperationProgress.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2511,8 +2285,6 @@ public Builder addMetrics(int index, com.google.container.v1.OperationProgress.M
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2536,8 +2308,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2561,8 +2331,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2578,7 +2346,8 @@ public Builder addAllMetrics(
         java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -2586,8 +2355,6 @@ public Builder addAllMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2610,8 +2377,6 @@ public Builder clearMetrics() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2634,8 +2399,6 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2647,12 +2410,11 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public com.google.container.v1.OperationProgress.Metric.Builder getMetricsBuilder(int index) {
+    public com.google.container.v1.OperationProgress.Metric.Builder getMetricsBuilder(
+        int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2667,14 +2429,11 @@ public com.google.container.v1.OperationProgress.Metric.Builder getMetricsBuilde
     public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
         int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);
-      } else {
+        return metrics_.get(index);  } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2686,8 +2445,8 @@ public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBui
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List
-        getMetricsOrBuilderList() {
+    public java.util.List 
+         getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2695,8 +2454,6 @@ public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBui
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2709,12 +2466,10 @@ public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBui
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
     public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder()
-          .addBuilder(com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder().addBuilder(
+          com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2726,13 +2481,12 @@ public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilde
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilder(int index) {
-      return getMetricsFieldBuilder()
-          .addBuilder(index, com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
+    public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilder(
+        int index) {
+      return getMetricsFieldBuilder().addBuilder(
+          index, com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2744,47 +2498,38 @@ public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilde
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List
-        getMetricsBuilderList() {
+    public java.util.List 
+         getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.OperationProgress.Metric,
-            com.google.container.v1.OperationProgress.Metric.Builder,
-            com.google.container.v1.OperationProgress.MetricOrBuilder>
+        com.google.container.v1.OperationProgress.Metric, com.google.container.v1.OperationProgress.Metric.Builder, com.google.container.v1.OperationProgress.MetricOrBuilder> 
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1.OperationProgress.Metric,
-                com.google.container.v1.OperationProgress.Metric.Builder,
-                com.google.container.v1.OperationProgress.MetricOrBuilder>(
-                metrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1.OperationProgress.Metric, com.google.container.v1.OperationProgress.Metric.Builder, com.google.container.v1.OperationProgress.MetricOrBuilder>(
+                metrics_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List stages_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureStagesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         stages_ = new java.util.ArrayList(stages_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.OperationProgress,
-            com.google.container.v1.OperationProgress.Builder,
-            com.google.container.v1.OperationProgressOrBuilder>
-        stagesBuilder_;
+        com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> stagesBuilder_;
 
     /**
-     *
-     *
      * 
      * Substages of an operation or a stage.
      * 
@@ -2799,8 +2544,6 @@ public java.util.List getStagesList() } } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2815,8 +2558,6 @@ public int getStagesCount() { } } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2831,15 +2572,14 @@ public com.google.container.v1.OperationProgress getStages(int index) { } } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public Builder setStages(int index, com.google.container.v1.OperationProgress value) { + public Builder setStages( + int index, com.google.container.v1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2853,8 +2593,6 @@ public Builder setStages(int index, com.google.container.v1.OperationProgress va return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2873,8 +2611,6 @@ public Builder setStages( return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2895,15 +2631,14 @@ public Builder addStages(com.google.container.v1.OperationProgress value) { return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public Builder addStages(int index, com.google.container.v1.OperationProgress value) { + public Builder addStages( + int index, com.google.container.v1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2917,15 +2652,14 @@ public Builder addStages(int index, com.google.container.v1.OperationProgress va return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public Builder addStages(com.google.container.v1.OperationProgress.Builder builderForValue) { + public Builder addStages( + com.google.container.v1.OperationProgress.Builder builderForValue) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); stages_.add(builderForValue.build()); @@ -2936,8 +2670,6 @@ public Builder addStages(com.google.container.v1.OperationProgress.Builder build return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2956,8 +2688,6 @@ public Builder addStages( return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2968,7 +2698,8 @@ public Builder addAllStages( java.lang.Iterable values) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stages_); onChanged(); } else { stagesBuilder_.addAllMessages(values); @@ -2976,8 +2707,6 @@ public Builder addAllStages( return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2995,8 +2724,6 @@ public Builder clearStages() { return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -3014,44 +2741,39 @@ public Builder removeStages(int index) { return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public com.google.container.v1.OperationProgress.Builder getStagesBuilder(int index) { + public com.google.container.v1.OperationProgress.Builder getStagesBuilder( + int index) { return getStagesFieldBuilder().getBuilder(index); } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int index) { + public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( + int index) { if (stagesBuilder_ == null) { - return stages_.get(index); - } else { + return stages_.get(index); } else { return stagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public java.util.List - getStagesOrBuilderList() { + public java.util.List + getStagesOrBuilderList() { if (stagesBuilder_ != null) { return stagesBuilder_.getMessageOrBuilderList(); } else { @@ -3059,8 +2781,6 @@ public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int } } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -3068,55 +2788,49 @@ public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int * repeated .google.container.v1.OperationProgress stages = 4; */ public com.google.container.v1.OperationProgress.Builder addStagesBuilder() { - return getStagesFieldBuilder() - .addBuilder(com.google.container.v1.OperationProgress.getDefaultInstance()); + return getStagesFieldBuilder().addBuilder( + com.google.container.v1.OperationProgress.getDefaultInstance()); } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public com.google.container.v1.OperationProgress.Builder addStagesBuilder(int index) { - return getStagesFieldBuilder() - .addBuilder(index, com.google.container.v1.OperationProgress.getDefaultInstance()); + public com.google.container.v1.OperationProgress.Builder addStagesBuilder( + int index) { + return getStagesFieldBuilder().addBuilder( + index, com.google.container.v1.OperationProgress.getDefaultInstance()); } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public java.util.List - getStagesBuilderList() { + public java.util.List + getStagesBuilderList() { return getStagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.OperationProgress, - com.google.container.v1.OperationProgress.Builder, - com.google.container.v1.OperationProgressOrBuilder> + com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> getStagesFieldBuilder() { if (stagesBuilder_ == null) { - stagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.OperationProgress, - com.google.container.v1.OperationProgress.Builder, - com.google.container.v1.OperationProgressOrBuilder>( - stages_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder>( + stages_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); stages_ = null; } return stagesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3126,12 +2840,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.OperationProgress) } // @@protoc_insertion_point(class_scope:google.container.v1.OperationProgress) private static final com.google.container.v1.OperationProgress DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.OperationProgress(); } @@ -3140,27 +2854,27 @@ public static com.google.container.v1.OperationProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3175,4 +2889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.OperationProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java similarity index 81% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java index 5f11ca8c7760..a2e915aaa202 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java @@ -1,85 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface OperationProgressOrBuilder - extends +public interface OperationProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.OperationProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; - * * @return The status. */ com.google.container.v1.Operation.Status getStatus(); /** - * - * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -91,10 +62,9 @@ public interface OperationProgressOrBuilder
    *
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List getMetricsList();
+  java.util.List 
+      getMetricsList();
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -108,8 +78,6 @@ public interface OperationProgressOrBuilder
    */
   com.google.container.v1.OperationProgress.Metric getMetrics(int index);
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -123,8 +91,6 @@ public interface OperationProgressOrBuilder
    */
   int getMetricsCount();
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -136,11 +102,9 @@ public interface OperationProgressOrBuilder
    *
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List
+  java.util.List 
       getMetricsOrBuilderList();
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -152,21 +116,19 @@ public interface OperationProgressOrBuilder
    *
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
-  com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(int index);
+  com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - java.util.List getStagesList(); + java.util.List + getStagesList(); /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -175,8 +137,6 @@ public interface OperationProgressOrBuilder */ com.google.container.v1.OperationProgress getStages(int index); /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -185,24 +145,21 @@ public interface OperationProgressOrBuilder */ int getStagesCount(); /** - * - * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - java.util.List + java.util.List getStagesOrBuilderList(); /** - * - * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int index); + com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( + int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java index 1562d5a7b88e..14fd55c7171d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration options for private clusters.
  * 
* * Protobuf type {@code google.container.v1.PrivateClusterConfig} */ -public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrivateClusterConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.PrivateClusterConfig) PrivateClusterConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrivateClusterConfig.newBuilder() to construct. private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrivateClusterConfig() { masterIpv4CidrBlock_ = ""; privateEndpoint_ = ""; @@ -47,35 +29,32 @@ private PrivateClusterConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivateClusterConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterConfig.class, - com.google.container.v1.PrivateClusterConfig.Builder.class); + com.google.container.v1.PrivateClusterConfig.class, com.google.container.v1.PrivateClusterConfig.Builder.class); } public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 1; private boolean enablePrivateNodes_; /** - * - * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool enable_private_nodes = 1; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -94,14 +72,11 @@ public boolean getEnablePrivateNodes() { public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 2; private boolean enablePrivateEndpoint_; /** - * - * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -112,8 +87,6 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4CidrBlock_; /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -122,7 +95,6 @@ public boolean getEnablePrivateEndpoint() {
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -131,15 +103,14 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -148,15 +119,16 @@ public java.lang.String getMasterIpv4CidrBlock() {
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -167,14 +139,11 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { public static final int PRIVATE_ENDPOINT_FIELD_NUMBER = 4; private volatile java.lang.Object privateEndpoint_; /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The privateEndpoint. */ @java.lang.Override @@ -183,29 +152,29 @@ public java.lang.String getPrivateEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; } } /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The bytes for privateEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateEndpointBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -216,14 +185,11 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { public static final int PUBLIC_ENDPOINT_FIELD_NUMBER = 5; private volatile java.lang.Object publicEndpoint_; /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The publicEndpoint. */ @java.lang.Override @@ -232,29 +198,29 @@ public java.lang.String getPublicEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; } } /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The bytes for publicEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicEndpointBytes() { + public com.google.protobuf.ByteString + getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -265,14 +231,11 @@ public com.google.protobuf.ByteString getPublicEndpointBytes() { public static final int PEERING_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object peeringName_; /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The peeringName. */ @java.lang.Override @@ -281,29 +244,29 @@ public java.lang.String getPeeringName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; } } /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The bytes for peeringName. */ @java.lang.Override - public com.google.protobuf.ByteString getPeeringNameBytes() { + public com.google.protobuf.ByteString + getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); peeringName_ = b; return b; } else { @@ -314,16 +277,11 @@ public com.google.protobuf.ByteString getPeeringNameBytes() { public static final int MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER = 8; private com.google.container.v1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Override @@ -331,54 +289,38 @@ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfig_ != null; } /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return The masterGlobalAccessConfig. */ @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig - getMasterGlobalAccessConfig() { - return masterGlobalAccessConfig_ == null - ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() - : masterGlobalAccessConfig_; + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { + return masterGlobalAccessConfig_ == null ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; } /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder - getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { return getMasterGlobalAccessConfig(); } public static final int PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER = 10; private volatile java.lang.Object privateEndpointSubnetwork_; /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The privateEndpointSubnetwork. */ @java.lang.Override @@ -387,30 +329,30 @@ public java.lang.String getPrivateEndpointSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; } } /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -419,7 +361,6 @@ public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -431,7 +372,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enablePrivateNodes_ != false) { output.writeBool(1, enablePrivateNodes_); } @@ -466,10 +408,12 @@ public int getSerializedSize() { size = 0; if (enablePrivateNodes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enablePrivateNodes_); } if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, masterIpv4CidrBlock_); @@ -484,13 +428,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, peeringName_); } if (masterGlobalAccessConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, getMasterGlobalAccessConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getMasterGlobalAccessConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateEndpointSubnetwork_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -500,25 +442,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.container.v1.PrivateClusterConfig other = - (com.google.container.v1.PrivateClusterConfig) obj; - - if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; - if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; - if (!getPrivateEndpoint().equals(other.getPrivateEndpoint())) return false; - if (!getPublicEndpoint().equals(other.getPublicEndpoint())) return false; - if (!getPeeringName().equals(other.getPeeringName())) return false; + com.google.container.v1.PrivateClusterConfig other = (com.google.container.v1.PrivateClusterConfig) obj; + + if (getEnablePrivateNodes() + != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateEndpoint() + != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock() + .equals(other.getMasterIpv4CidrBlock())) return false; + if (!getPrivateEndpoint() + .equals(other.getPrivateEndpoint())) return false; + if (!getPublicEndpoint() + .equals(other.getPublicEndpoint())) return false; + if (!getPeeringName() + .equals(other.getPeeringName())) return false; if (hasMasterGlobalAccessConfig() != other.hasMasterGlobalAccessConfig()) return false; if (hasMasterGlobalAccessConfig()) { - if (!getMasterGlobalAccessConfig().equals(other.getMasterGlobalAccessConfig())) return false; + if (!getMasterGlobalAccessConfig() + .equals(other.getMasterGlobalAccessConfig())) return false; } - if (!getPrivateEndpointSubnetwork().equals(other.getPrivateEndpointSubnetwork())) return false; + if (!getPrivateEndpointSubnetwork() + .equals(other.getPrivateEndpointSubnetwork())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -531,9 +480,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateNodes()); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + PRIVATE_ENDPOINT_FIELD_NUMBER; @@ -553,136 +504,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.PrivateClusterConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.PrivateClusterConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.PrivateClusterConfig parseFrom( 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.PrivateClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.PrivateClusterConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.PrivateClusterConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.PrivateClusterConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.PrivateClusterConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.PrivateClusterConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.PrivateClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for private clusters.
    * 
* * Protobuf type {@code google.container.v1.PrivateClusterConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.PrivateClusterConfig) com.google.container.v1.PrivateClusterConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterConfig.class, - com.google.container.v1.PrivateClusterConfig.Builder.class); + com.google.container.v1.PrivateClusterConfig.class, com.google.container.v1.PrivateClusterConfig.Builder.class); } // Construct using com.google.container.v1.PrivateClusterConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -710,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_descriptor; } @java.lang.Override @@ -731,8 +676,7 @@ public com.google.container.v1.PrivateClusterConfig build() { @java.lang.Override public com.google.container.v1.PrivateClusterConfig buildPartial() { - com.google.container.v1.PrivateClusterConfig result = - new com.google.container.v1.PrivateClusterConfig(this); + com.google.container.v1.PrivateClusterConfig result = new com.google.container.v1.PrivateClusterConfig(this); result.enablePrivateNodes_ = enablePrivateNodes_; result.enablePrivateEndpoint_ = enablePrivateEndpoint_; result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_; @@ -753,39 +697,38 @@ public com.google.container.v1.PrivateClusterConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.PrivateClusterConfig) { - return mergeFrom((com.google.container.v1.PrivateClusterConfig) other); + return mergeFrom((com.google.container.v1.PrivateClusterConfig)other); } else { super.mergeFrom(other); return this; @@ -849,62 +792,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enablePrivateNodes_ = input.readBool(); - - break; - } // case 8 - case 16: - { - enablePrivateEndpoint_ = input.readBool(); - - break; - } // case 16 - case 26: - { - masterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - privateEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - publicEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 58: - { - peeringName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - input.readMessage( - getMasterGlobalAccessConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 82: - { - privateEndpointSubnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enablePrivateNodes_ = input.readBool(); + + break; + } // case 8 + case 16: { + enablePrivateEndpoint_ = input.readBool(); + + break; + } // case 16 + case 26: { + masterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + privateEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + publicEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 58: { + peeringName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + input.readMessage( + getMasterGlobalAccessConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + case 82: { + privateEndpointSubnetwork_ = input.readStringRequireUtf8(); + + 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) { @@ -915,10 +850,8 @@ public Builder mergeFrom( return this; } - private boolean enablePrivateNodes_; + private boolean enablePrivateNodes_ ; /** - * - * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -926,7 +859,6 @@ public Builder mergeFrom(
      * 
* * bool enable_private_nodes = 1; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -934,8 +866,6 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** - * - * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -943,19 +873,16 @@ public boolean getEnablePrivateNodes() {
      * 
* * bool enable_private_nodes = 1; - * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ public Builder setEnablePrivateNodes(boolean value) { - + enablePrivateNodes_ = value; onChanged(); return this; } /** - * - * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -963,26 +890,22 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * bool enable_private_nodes = 1; - * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { - + enablePrivateNodes_ = false; onChanged(); return this; } - private boolean enablePrivateEndpoint_; + private boolean enablePrivateEndpoint_ ; /** - * - * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -990,36 +913,30 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** - * - * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; - * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; - * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -1027,8 +944,6 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1037,13 +952,13 @@ public Builder clearEnablePrivateEndpoint() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -1052,8 +967,6 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1062,14 +975,15 @@ public java.lang.String getMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -1077,8 +991,6 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1087,22 +999,20 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock(java.lang.String value) { + public Builder setMasterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1111,18 +1021,15 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) {
      * 
* * string master_ipv4_cidr_block = 3; - * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1131,16 +1038,16 @@ public Builder clearMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -1148,20 +1055,18 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) private java.lang.Object privateEndpoint_ = ""; /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @return The privateEndpoint. */ public java.lang.String getPrivateEndpoint() { java.lang.Object ref = privateEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; @@ -1170,21 +1075,20 @@ public java.lang.String getPrivateEndpoint() { } } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @return The bytes for privateEndpoint. */ - public com.google.protobuf.ByteString getPrivateEndpointBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -1192,61 +1096,54 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { } } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @param value The privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpoint(java.lang.String value) { + public Builder setPrivateEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @return This builder for chaining. */ public Builder clearPrivateEndpoint() { - + privateEndpoint_ = getDefaultInstance().getPrivateEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @param value The bytes for privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpoint_ = value; onChanged(); return this; @@ -1254,20 +1151,18 @@ public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object publicEndpoint_ = ""; /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @return The publicEndpoint. */ public java.lang.String getPublicEndpoint() { java.lang.Object ref = publicEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; @@ -1276,21 +1171,20 @@ public java.lang.String getPublicEndpoint() { } } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @return The bytes for publicEndpoint. */ - public com.google.protobuf.ByteString getPublicEndpointBytes() { + public com.google.protobuf.ByteString + getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -1298,61 +1192,54 @@ public com.google.protobuf.ByteString getPublicEndpointBytes() { } } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @param value The publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpoint(java.lang.String value) { + public Builder setPublicEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @return This builder for chaining. */ public Builder clearPublicEndpoint() { - + publicEndpoint_ = getDefaultInstance().getPublicEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @param value The bytes for publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setPublicEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicEndpoint_ = value; onChanged(); return this; @@ -1360,20 +1247,18 @@ public Builder setPublicEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object peeringName_ = ""; /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @return The peeringName. */ public java.lang.String getPeeringName() { java.lang.Object ref = peeringName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; @@ -1382,21 +1267,20 @@ public java.lang.String getPeeringName() { } } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @return The bytes for peeringName. */ - public com.google.protobuf.ByteString getPeeringNameBytes() { + public com.google.protobuf.ByteString + getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); peeringName_ = b; return b; } else { @@ -1404,125 +1288,96 @@ public com.google.protobuf.ByteString getPeeringNameBytes() { } } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @param value The peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringName(java.lang.String value) { + public Builder setPeeringName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + peeringName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @return This builder for chaining. */ public Builder clearPeeringName() { - + peeringName_ = getDefaultInstance().getPeeringName(); onChanged(); return this; } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @param value The bytes for peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringNameBytes(com.google.protobuf.ByteString value) { + public Builder setPeeringNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peeringName_ = value; onChanged(); return this; } - private com.google.container.v1.PrivateClusterMasterGlobalAccessConfig - masterGlobalAccessConfig_; + private com.google.container.v1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> - masterGlobalAccessConfigBuilder_; + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> masterGlobalAccessConfigBuilder_; /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return Whether the masterGlobalAccessConfig field is set. */ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfigBuilder_ != null || masterGlobalAccessConfig_ != null; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return The masterGlobalAccessConfig. */ - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig - getMasterGlobalAccessConfig() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { - return masterGlobalAccessConfig_ == null - ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() - : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; } else { return masterGlobalAccessConfigBuilder_.getMessage(); } } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public Builder setMasterGlobalAccessConfig( - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder setMasterGlobalAccessConfig(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1536,15 +1391,11 @@ public Builder setMasterGlobalAccessConfig( return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ public Builder setMasterGlobalAccessConfig( com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder builderForValue) { @@ -1558,25 +1409,17 @@ public Builder setMasterGlobalAccessConfig( return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public Builder mergeMasterGlobalAccessConfig( - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder mergeMasterGlobalAccessConfig(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (masterGlobalAccessConfig_ != null) { masterGlobalAccessConfig_ = - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.newBuilder( - masterGlobalAccessConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.newBuilder(masterGlobalAccessConfig_).mergeFrom(value).buildPartial(); } else { masterGlobalAccessConfig_ = value; } @@ -1588,15 +1431,11 @@ public Builder mergeMasterGlobalAccessConfig( return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ public Builder clearMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { @@ -1610,66 +1449,48 @@ public Builder clearMasterGlobalAccessConfig() { return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder - getMasterGlobalAccessConfigBuilder() { - + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder getMasterGlobalAccessConfigBuilder() { + onChanged(); return getMasterGlobalAccessConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder - getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { if (masterGlobalAccessConfigBuilder_ != null) { return masterGlobalAccessConfigBuilder_.getMessageOrBuilder(); } else { - return masterGlobalAccessConfig_ == null - ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() - : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null ? + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; } } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> getMasterGlobalAccessConfigFieldBuilder() { if (masterGlobalAccessConfigBuilder_ == null) { - masterGlobalAccessConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( - getMasterGlobalAccessConfig(), getParentForChildren(), isClean()); + masterGlobalAccessConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( + getMasterGlobalAccessConfig(), + getParentForChildren(), + isClean()); masterGlobalAccessConfig_ = null; } return masterGlobalAccessConfigBuilder_; @@ -1677,21 +1498,19 @@ public Builder clearMasterGlobalAccessConfig() { private java.lang.Object privateEndpointSubnetwork_ = ""; /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @return The privateEndpointSubnetwork. */ public java.lang.String getPrivateEndpointSubnetwork() { java.lang.Object ref = privateEndpointSubnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; @@ -1700,22 +1519,21 @@ public java.lang.String getPrivateEndpointSubnetwork() { } } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @return The bytes for privateEndpointSubnetwork. */ - public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -1723,71 +1541,64 @@ public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { } } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @param value The privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetwork(java.lang.String value) { + public Builder setPrivateEndpointSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpointSubnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @return This builder for chaining. */ public Builder clearPrivateEndpointSubnetwork() { - + privateEndpointSubnetwork_ = getDefaultInstance().getPrivateEndpointSubnetwork(); onChanged(); return this; } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @param value The bytes for privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpointSubnetwork_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1797,12 +1608,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.PrivateClusterConfig) private static final com.google.container.v1.PrivateClusterConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.PrivateClusterConfig(); } @@ -1811,27 +1622,27 @@ public static com.google.container.v1.PrivateClusterConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1846,4 +1657,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.PrivateClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java index 48ad74d50dd7..8d04d286674e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface PrivateClusterConfigOrBuilder - extends +public interface PrivateClusterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -33,27 +15,21 @@ public interface PrivateClusterConfigOrBuilder
    * 
* * bool enable_private_nodes = 1; - * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** - * - * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; - * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -62,13 +38,10 @@ public interface PrivateClusterConfigOrBuilder
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -77,152 +50,117 @@ public interface PrivateClusterConfigOrBuilder
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes(); /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The privateEndpoint. */ java.lang.String getPrivateEndpoint(); /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The bytes for privateEndpoint. */ - com.google.protobuf.ByteString getPrivateEndpointBytes(); + com.google.protobuf.ByteString + getPrivateEndpointBytes(); /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The publicEndpoint. */ java.lang.String getPublicEndpoint(); /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The bytes for publicEndpoint. */ - com.google.protobuf.ByteString getPublicEndpointBytes(); + com.google.protobuf.ByteString + getPublicEndpointBytes(); /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The peeringName. */ java.lang.String getPeeringName(); /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The bytes for peeringName. */ - com.google.protobuf.ByteString getPeeringNameBytes(); + com.google.protobuf.ByteString + getPeeringNameBytes(); /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return Whether the masterGlobalAccessConfig field is set. */ boolean hasMasterGlobalAccessConfig(); /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return The masterGlobalAccessConfig. */ com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig(); /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder - getMasterGlobalAccessConfigOrBuilder(); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder(); /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The privateEndpointSubnetwork. */ java.lang.String getPrivateEndpointSubnetwork(); /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The bytes for privateEndpointSubnetwork. */ - com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes(); + com.google.protobuf.ByteString + getPrivateEndpointSubnetworkBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java similarity index 60% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java index 484f60dadbfa..5af3acce8d7a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java @@ -1,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for controlling master global access settings.
  * 
* * Protobuf type {@code google.container.v1.PrivateClusterMasterGlobalAccessConfig} */ -public final class PrivateClusterMasterGlobalAccessConfig - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrivateClusterMasterGlobalAccessConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.PrivateClusterMasterGlobalAccessConfig) PrivateClusterMasterGlobalAccessConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrivateClusterMasterGlobalAccessConfig.newBuilder() to construct. - private PrivateClusterMasterGlobalAccessConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PrivateClusterMasterGlobalAccessConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PrivateClusterMasterGlobalAccessConfig() {} + private PrivateClusterMasterGlobalAccessConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivateClusterMasterGlobalAccessConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whenever master is accessible globally or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -86,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -112,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.PrivateClusterMasterGlobalAccessConfig)) { return super.equals(obj); } - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig other = - (com.google.container.v1.PrivateClusterMasterGlobalAccessConfig) obj; + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig other = (com.google.container.v1.PrivateClusterMasterGlobalAccessConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,143 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( 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.PrivateClusterMasterGlobalAccessConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig prototype) { + public static Builder newBuilder(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for controlling master global access settings.
    * 
* * Protobuf type {@code google.container.v1.PrivateClusterMasterGlobalAccessConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.PrivateClusterMasterGlobalAccessConfig) com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } // Construct using com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -289,14 +261,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig - getDefaultInstanceForType() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { return com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance(); } @@ -311,8 +282,7 @@ public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig build() { @java.lang.Override public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig buildPartial() { - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig result = - new com.google.container.v1.PrivateClusterMasterGlobalAccessConfig(this); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig result = new com.google.container.v1.PrivateClusterMasterGlobalAccessConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -322,39 +292,38 @@ public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.PrivateClusterMasterGlobalAccessConfig) { - return mergeFrom((com.google.container.v1.PrivateClusterMasterGlobalAccessConfig) other); + return mergeFrom((com.google.container.v1.PrivateClusterMasterGlobalAccessConfig)other); } else { super.mergeFrom(other); return this; @@ -362,9 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig other) { - if (other - == com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -394,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -434,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -480,43 +436,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.PrivateClusterMasterGlobalAccessConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.PrivateClusterMasterGlobalAccessConfig) - private static final com.google.container.v1.PrivateClusterMasterGlobalAccessConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1.PrivateClusterMasterGlobalAccessConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1.PrivateClusterMasterGlobalAccessConfig(); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig - getDefaultInstance() { + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -528,8 +482,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig - getDefaultInstanceForType() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java new file mode 100644 index 000000000000..61074efec595 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface PrivateClusterMasterGlobalAccessConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.PrivateClusterMasterGlobalAccessConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whenever master is accessible globally or not.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java index 44bae8d7d6ef..8329b170cf3a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * PrivateIPv6GoogleAccess controls whether and how the pods can communicate
  * with Google Services through gRPC over IPv6.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.container.v1.PrivateIPv6GoogleAccess}
  */
-public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessageEnum {
+public enum PrivateIPv6GoogleAccess
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. Same as DISABLED
    * 
@@ -40,8 +22,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED(0), /** - * - * *
    * No private access to or from Google Services
    * 
@@ -50,8 +30,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED(1), /** - * - * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -60,8 +38,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE(2), /** - * - * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -73,8 +49,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa ; /** - * - * *
    * Default value. Same as DISABLED
    * 
@@ -83,8 +57,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE = 0; /** - * - * *
    * No private access to or from Google Services
    * 
@@ -93,8 +65,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED_VALUE = 1; /** - * - * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -103,8 +73,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE_VALUE = 2; /** - * - * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -113,6 +81,7 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,16 +106,11 @@ public static PrivateIPv6GoogleAccess valueOf(int value) { */ public static PrivateIPv6GoogleAccess forNumber(int value) { switch (value) { - case 0: - return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; - case 1: - return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; - case 2: - return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; - case 3: - return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; - default: - return null; + case 0: return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; + case 1: return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; + case 2: return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; + case 3: return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; + default: return null; } } @@ -154,28 +118,28 @@ public static PrivateIPv6GoogleAccess forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrivateIPv6GoogleAccess findValueByNumber(int number) { - return PrivateIPv6GoogleAccess.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PrivateIPv6GoogleAccess> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PrivateIPv6GoogleAccess findValueByNumber(int number) { + return PrivateIPv6GoogleAccess.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(0); } @@ -184,7 +148,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PrivateIPv6GoogleAccess valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -200,3 +165,4 @@ private PrivateIPv6GoogleAccess(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.PrivateIPv6GoogleAccess) } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java similarity index 76% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java index ec0b2bbec66d..8919346714f3 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Represents an arbitrary window of time that recurs.
  * 
* * Protobuf type {@code google.container.v1.RecurringTimeWindow} */ -public final class RecurringTimeWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RecurringTimeWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.RecurringTimeWindow) RecurringTimeWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RecurringTimeWindow.newBuilder() to construct. private RecurringTimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RecurringTimeWindow() { recurrence_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RecurringTimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_RecurringTimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.RecurringTimeWindow.class, - com.google.container.v1.RecurringTimeWindow.Builder.class); + com.google.container.v1.RecurringTimeWindow.class, com.google.container.v1.RecurringTimeWindow.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1.TimeWindow window_; /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; - * * @return Whether the window field is set. */ @java.lang.Override @@ -85,14 +63,11 @@ public boolean hasWindow() { return window_ != null; } /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; - * * @return The window. */ @java.lang.Override @@ -100,8 +75,6 @@ public com.google.container.v1.TimeWindow getWindow() { return window_ == null ? com.google.container.v1.TimeWindow.getDefaultInstance() : window_; } /** - * - * *
    * The window of the first recurrence.
    * 
@@ -116,8 +89,6 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int RECURRENCE_FIELD_NUMBER = 2; private volatile java.lang.Object recurrence_; /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -148,7 +119,6 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() {
    * 
* * string recurrence = 2; - * * @return The recurrence. */ @java.lang.Override @@ -157,15 +127,14 @@ public java.lang.String getRecurrence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; } } /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -196,15 +165,16 @@ public java.lang.String getRecurrence() {
    * 
* * string recurrence = 2; - * * @return The bytes for recurrence. */ @java.lang.Override - public com.google.protobuf.ByteString getRecurrenceBytes() { + public com.google.protobuf.ByteString + getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recurrence_ = b; return b; } else { @@ -213,7 +183,6 @@ public com.google.protobuf.ByteString getRecurrenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -242,7 +212,8 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recurrence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recurrence_); @@ -255,19 +226,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.RecurringTimeWindow)) { return super.equals(obj); } - com.google.container.v1.RecurringTimeWindow other = - (com.google.container.v1.RecurringTimeWindow) obj; + com.google.container.v1.RecurringTimeWindow other = (com.google.container.v1.RecurringTimeWindow) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow().equals(other.getWindow())) return false; + if (!getWindow() + .equals(other.getWindow())) return false; } - if (!getRecurrence().equals(other.getRecurrence())) return false; + if (!getRecurrence() + .equals(other.getRecurrence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,136 +262,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.RecurringTimeWindow parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.RecurringTimeWindow parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.RecurringTimeWindow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RecurringTimeWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.RecurringTimeWindow parseFrom( 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.RecurringTimeWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.RecurringTimeWindow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.RecurringTimeWindow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.RecurringTimeWindow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.RecurringTimeWindow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.RecurringTimeWindow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.RecurringTimeWindow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.RecurringTimeWindow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.RecurringTimeWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.RecurringTimeWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents an arbitrary window of time that recurs.
    * 
* * Protobuf type {@code google.container.v1.RecurringTimeWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.RecurringTimeWindow) com.google.container.v1.RecurringTimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_RecurringTimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.RecurringTimeWindow.class, - com.google.container.v1.RecurringTimeWindow.Builder.class); + com.google.container.v1.RecurringTimeWindow.class, com.google.container.v1.RecurringTimeWindow.Builder.class); } // Construct using com.google.container.v1.RecurringTimeWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_RecurringTimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_descriptor; } @java.lang.Override @@ -456,8 +422,7 @@ public com.google.container.v1.RecurringTimeWindow build() { @java.lang.Override public com.google.container.v1.RecurringTimeWindow buildPartial() { - com.google.container.v1.RecurringTimeWindow result = - new com.google.container.v1.RecurringTimeWindow(this); + com.google.container.v1.RecurringTimeWindow result = new com.google.container.v1.RecurringTimeWindow(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -472,39 +437,38 @@ public com.google.container.v1.RecurringTimeWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.RecurringTimeWindow) { - return mergeFrom((com.google.container.v1.RecurringTimeWindow) other); + return mergeFrom((com.google.container.v1.RecurringTimeWindow)other); } else { super.mergeFrom(other); return this; @@ -546,25 +510,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getWindowFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - recurrence_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + recurrence_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -577,33 +540,24 @@ public Builder mergeFrom( private com.google.container.v1.TimeWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.TimeWindow, - com.google.container.v1.TimeWindow.Builder, - com.google.container.v1.TimeWindowOrBuilder> - windowBuilder_; + com.google.container.v1.TimeWindow, com.google.container.v1.TimeWindow.Builder, com.google.container.v1.TimeWindowOrBuilder> windowBuilder_; /** - * - * *
      * The window of the first recurrence.
      * 
* * .google.container.v1.TimeWindow window = 1; - * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** - * - * *
      * The window of the first recurrence.
      * 
* * .google.container.v1.TimeWindow window = 1; - * * @return The window. */ public com.google.container.v1.TimeWindow getWindow() { @@ -614,8 +568,6 @@ public com.google.container.v1.TimeWindow getWindow() { } } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -636,15 +588,14 @@ public Builder setWindow(com.google.container.v1.TimeWindow value) { return this; } /** - * - * *
      * The window of the first recurrence.
      * 
* * .google.container.v1.TimeWindow window = 1; */ - public Builder setWindow(com.google.container.v1.TimeWindow.Builder builderForValue) { + public Builder setWindow( + com.google.container.v1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -655,8 +606,6 @@ public Builder setWindow(com.google.container.v1.TimeWindow.Builder builderForVa return this; } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -667,9 +616,7 @@ public Builder mergeWindow(com.google.container.v1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1.TimeWindow.newBuilder(window_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); } else { window_ = value; } @@ -681,8 +628,6 @@ public Builder mergeWindow(com.google.container.v1.TimeWindow value) { return this; } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -701,8 +646,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -710,13 +653,11 @@ public Builder clearWindow() { * .google.container.v1.TimeWindow window = 1; */ public com.google.container.v1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -727,12 +668,11 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null ? com.google.container.v1.TimeWindow.getDefaultInstance() : window_; + return window_ == null ? + com.google.container.v1.TimeWindow.getDefaultInstance() : window_; } } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -740,17 +680,14 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { * .google.container.v1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.TimeWindow, - com.google.container.v1.TimeWindow.Builder, - com.google.container.v1.TimeWindowOrBuilder> + com.google.container.v1.TimeWindow, com.google.container.v1.TimeWindow.Builder, com.google.container.v1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.TimeWindow, - com.google.container.v1.TimeWindow.Builder, - com.google.container.v1.TimeWindowOrBuilder>( - getWindow(), getParentForChildren(), isClean()); + windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.TimeWindow, com.google.container.v1.TimeWindow.Builder, com.google.container.v1.TimeWindowOrBuilder>( + getWindow(), + getParentForChildren(), + isClean()); window_ = null; } return windowBuilder_; @@ -758,8 +695,6 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { private java.lang.Object recurrence_ = ""; /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -790,13 +725,13 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() {
      * 
* * string recurrence = 2; - * * @return The recurrence. */ public java.lang.String getRecurrence() { java.lang.Object ref = recurrence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; @@ -805,8 +740,6 @@ public java.lang.String getRecurrence() { } } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -837,14 +770,15 @@ public java.lang.String getRecurrence() {
      * 
* * string recurrence = 2; - * * @return The bytes for recurrence. */ - public com.google.protobuf.ByteString getRecurrenceBytes() { + public com.google.protobuf.ByteString + getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recurrence_ = b; return b; } else { @@ -852,8 +786,6 @@ public com.google.protobuf.ByteString getRecurrenceBytes() { } } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -884,22 +816,20 @@ public com.google.protobuf.ByteString getRecurrenceBytes() {
      * 
* * string recurrence = 2; - * * @param value The recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrence(java.lang.String value) { + public Builder setRecurrence( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recurrence_ = value; onChanged(); return this; } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -930,18 +860,15 @@ public Builder setRecurrence(java.lang.String value) {
      * 
* * string recurrence = 2; - * * @return This builder for chaining. */ public Builder clearRecurrence() { - + recurrence_ = getDefaultInstance().getRecurrence(); onChanged(); return this; } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -972,23 +899,23 @@ public Builder clearRecurrence() {
      * 
* * string recurrence = 2; - * * @param value The bytes for recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrenceBytes(com.google.protobuf.ByteString value) { + public Builder setRecurrenceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recurrence_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -998,12 +925,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.RecurringTimeWindow) } // @@protoc_insertion_point(class_scope:google.container.v1.RecurringTimeWindow) private static final com.google.container.v1.RecurringTimeWindow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.RecurringTimeWindow(); } @@ -1012,27 +939,27 @@ public static com.google.container.v1.RecurringTimeWindow getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringTimeWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringTimeWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,4 +974,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.RecurringTimeWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java similarity index 82% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java index c17f3e73de66..e934f5f1a5f4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface RecurringTimeWindowOrBuilder - extends +public interface RecurringTimeWindowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.RecurringTimeWindow) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; - * * @return Whether the window field is set. */ boolean hasWindow(); /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; - * * @return The window. */ com.google.container.v1.TimeWindow getWindow(); /** - * - * *
    * The window of the first recurrence.
    * 
@@ -59,8 +35,6 @@ public interface RecurringTimeWindowOrBuilder com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder(); /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -91,13 +65,10 @@ public interface RecurringTimeWindowOrBuilder
    * 
* * string recurrence = 2; - * * @return The recurrence. */ java.lang.String getRecurrence(); /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -128,8 +99,8 @@ public interface RecurringTimeWindowOrBuilder
    * 
* * string recurrence = 2; - * * @return The bytes for recurrence. */ - com.google.protobuf.ByteString getRecurrenceBytes(); + com.google.protobuf.ByteString + getRecurrenceBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java index fbe78c7a0d2d..b5f1dbc6bd80 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * ReleaseChannel indicates which release channel a cluster is
  * subscribed to. Release channels are arranged in order of risk.
@@ -31,59 +14,54 @@
  *
  * Protobuf type {@code google.container.v1.ReleaseChannel}
  */
-public final class ReleaseChannel extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReleaseChannel extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ReleaseChannel)
     ReleaseChannelOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReleaseChannel.newBuilder() to construct.
   private ReleaseChannel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReleaseChannel() {
     channel_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReleaseChannel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ReleaseChannel_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ReleaseChannel.class,
-            com.google.container.v1.ReleaseChannel.Builder.class);
+            com.google.container.v1.ReleaseChannel.class, com.google.container.v1.ReleaseChannel.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible values for 'channel'.
    * 
* * Protobuf enum {@code google.container.v1.ReleaseChannel.Channel} */ - public enum Channel implements com.google.protobuf.ProtocolMessageEnum { + public enum Channel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No channel specified.
      * 
@@ -92,8 +70,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -106,8 +82,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     RAPID(1),
     /**
-     *
-     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -118,8 +92,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGULAR(2),
     /**
-     *
-     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -132,8 +104,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No channel specified.
      * 
@@ -142,8 +112,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -156,8 +124,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RAPID_VALUE = 1;
     /**
-     *
-     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -168,8 +134,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGULAR_VALUE = 2;
     /**
-     *
-     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -179,6 +143,7 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STABLE_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -203,51 +168,50 @@ public static Channel valueOf(int value) {
      */
     public static Channel forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return RAPID;
-        case 2:
-          return REGULAR;
-        case 3:
-          return STABLE;
-        default:
-          return null;
+        case 0: return UNSPECIFIED;
+        case 1: return RAPID;
+        case 2: return REGULAR;
+        case 3: return STABLE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Channel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Channel findValueByNumber(int number) {
+              return Channel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Channel findValueByNumber(int number) {
-            return Channel.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.ReleaseChannel.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Channel[] VALUES = values();
 
-    public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Channel valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -267,41 +231,31 @@ private Channel(int value) {
   public static final int CHANNEL_FIELD_NUMBER = 1;
   private int channel_;
   /**
-   *
-   *
    * 
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ - @java.lang.Override - public com.google.container.v1.ReleaseChannel.Channel getChannel() { + @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = - com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,7 +267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -337,7 +293,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ReleaseChannel)) { return super.equals(obj); @@ -363,104 +319,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ReleaseChannel parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ReleaseChannel parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ReleaseChannel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReleaseChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ReleaseChannel parseFrom( 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.ReleaseChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ReleaseChannel parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ReleaseChannel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ReleaseChannel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ReleaseChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ReleaseChannel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ReleaseChannel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ReleaseChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ReleaseChannel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ReleaseChannel indicates which release channel a cluster is
    * subscribed to. Release channels are arranged in order of risk.
@@ -471,32 +420,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ReleaseChannel}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ReleaseChannel)
       com.google.container.v1.ReleaseChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ReleaseChannel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ReleaseChannel.class,
-              com.google.container.v1.ReleaseChannel.Builder.class);
+              com.google.container.v1.ReleaseChannel.class, com.google.container.v1.ReleaseChannel.Builder.class);
     }
 
     // Construct using com.google.container.v1.ReleaseChannel.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -506,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ReleaseChannel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
@@ -527,8 +477,7 @@ public com.google.container.v1.ReleaseChannel build() {
 
     @java.lang.Override
     public com.google.container.v1.ReleaseChannel buildPartial() {
-      com.google.container.v1.ReleaseChannel result =
-          new com.google.container.v1.ReleaseChannel(this);
+      com.google.container.v1.ReleaseChannel result = new com.google.container.v1.ReleaseChannel(this);
       result.channel_ = channel_;
       onBuilt();
       return result;
@@ -538,39 +487,38 @@ public com.google.container.v1.ReleaseChannel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ReleaseChannel) {
-        return mergeFrom((com.google.container.v1.ReleaseChannel) other);
+        return mergeFrom((com.google.container.v1.ReleaseChannel)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -608,19 +556,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                channel_ = input.readEnum();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              channel_ = input.readEnum();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -633,65 +579,51 @@ public Builder mergeFrom(
 
     private int channel_ = 0;
     /**
-     *
-     *
      * 
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = - com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @param value The channel to set. * @return This builder for chaining. */ @@ -699,31 +631,28 @@ public Builder setChannel(com.google.container.v1.ReleaseChannel.Channel value) if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -733,12 +662,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ReleaseChannel) } // @@protoc_insertion_point(class_scope:google.container.v1.ReleaseChannel) private static final com.google.container.v1.ReleaseChannel DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ReleaseChannel(); } @@ -747,27 +676,27 @@ public static com.google.container.v1.ReleaseChannel getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -782,4 +711,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ReleaseChannel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java similarity index 55% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java index f529cad11e9e..4bff212b2e30 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface ReleaseChannelOrBuilder - extends +public interface ReleaseChannelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ReleaseChannel) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** - * - * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ com.google.container.v1.ReleaseChannel.Channel getChannel(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java index fff30f751e4b..04247413a993 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
  * is the configuration of desired reservation which instances could take
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1.ReservationAffinity}
  */
-public final class ReservationAffinity extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReservationAffinity extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ReservationAffinity)
     ReservationAffinityOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReservationAffinity.newBuilder() to construct.
   private ReservationAffinity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReservationAffinity() {
     consumeReservationType_ = 0;
     key_ = "";
@@ -47,43 +29,39 @@ private ReservationAffinity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReservationAffinity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ReservationAffinity_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ReservationAffinity.class,
-            com.google.container.v1.ReservationAffinity.Builder.class);
+            com.google.container.v1.ReservationAffinity.class, com.google.container.v1.ReservationAffinity.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Indicates whether to consume capacity from a reservation or not.
    * 
* * Protobuf enum {@code google.container.v1.ReservationAffinity.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This should not be used.
      * 
@@ -92,8 +70,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * Do not consume from any reserved capacity.
      * 
@@ -102,8 +78,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ NO_RESERVATION(1), /** - * - * *
      * Consume any reservation available.
      * 
@@ -112,8 +86,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ANY_RESERVATION(2), /** - * - * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -126,8 +98,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value. This should not be used.
      * 
@@ -136,8 +106,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not consume from any reserved capacity.
      * 
@@ -146,8 +114,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_RESERVATION_VALUE = 1; /** - * - * *
      * Consume any reservation available.
      * 
@@ -156,8 +122,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANY_RESERVATION_VALUE = 2; /** - * - * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -167,6 +131,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SPECIFIC_RESERVATION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -191,51 +156,50 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return NO_RESERVATION;
-        case 2:
-          return ANY_RESERVATION;
-        case 3:
-          return SPECIFIC_RESERVATION;
-        default:
-          return null;
+        case 0: return UNSPECIFIED;
+        case 1: return NO_RESERVATION;
+        case 2: return ANY_RESERVATION;
+        case 3: return SPECIFIC_RESERVATION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> 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() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.ReservationAffinity.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -255,44 +219,33 @@ private Type(int value) {
   public static final int CONSUME_RESERVATION_TYPE_FIELD_NUMBER = 1;
   private int consumeReservationType_;
   /**
-   *
-   *
    * 
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override - public int getConsumeReservationTypeValue() { + @java.lang.Override public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** - * - * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The consumeReservationType. */ - @java.lang.Override - public com.google.container.v1.ReservationAffinity.Type getConsumeReservationType() { + @java.lang.Override public com.google.container.v1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1.ReservationAffinity.Type result = - com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); + com.google.container.v1.ReservationAffinity.Type result = com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); return result == null ? com.google.container.v1.ReservationAffinity.Type.UNRECOGNIZED : result; } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -301,7 +254,6 @@ public com.google.container.v1.ReservationAffinity.Type getConsumeReservationTyp
    * 
* * string key = 2; - * * @return The key. */ @java.lang.Override @@ -310,15 +262,14 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -327,15 +278,16 @@ public java.lang.String getKey() {
    * 
* * string key = 2; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -346,42 +298,34 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VALUES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList values_; /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_; } /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -389,23 +333,20 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,9 +358,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (consumeReservationType_ - != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (consumeReservationType_ != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { output.writeEnum(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { @@ -437,9 +378,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (consumeReservationType_ - != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, consumeReservationType_); + if (consumeReservationType_ != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); @@ -460,17 +401,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ReservationAffinity)) { return super.equals(obj); } - com.google.container.v1.ReservationAffinity other = - (com.google.container.v1.ReservationAffinity) obj; + com.google.container.v1.ReservationAffinity other = (com.google.container.v1.ReservationAffinity) obj; if (consumeReservationType_ != other.consumeReservationType_) return false; - if (!getKey().equals(other.getKey())) return false; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -495,104 +437,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ReservationAffinity parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ReservationAffinity parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ReservationAffinity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReservationAffinity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ReservationAffinity parseFrom( 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.ReservationAffinity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ReservationAffinity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ReservationAffinity parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ReservationAffinity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ReservationAffinity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ReservationAffinity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ReservationAffinity parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ReservationAffinity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ReservationAffinity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ReservationAffinity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
    * is the configuration of desired reservation which instances could take
@@ -601,32 +536,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ReservationAffinity}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ReservationAffinity)
       com.google.container.v1.ReservationAffinityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ReservationAffinity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ReservationAffinity.class,
-              com.google.container.v1.ReservationAffinity.Builder.class);
+              com.google.container.v1.ReservationAffinity.class, com.google.container.v1.ReservationAffinity.Builder.class);
     }
 
     // Construct using com.google.container.v1.ReservationAffinity.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -640,9 +576,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ReservationAffinity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
@@ -661,8 +597,7 @@ public com.google.container.v1.ReservationAffinity build() {
 
     @java.lang.Override
     public com.google.container.v1.ReservationAffinity buildPartial() {
-      com.google.container.v1.ReservationAffinity result =
-          new com.google.container.v1.ReservationAffinity(this);
+      com.google.container.v1.ReservationAffinity result = new com.google.container.v1.ReservationAffinity(this);
       int from_bitField0_ = bitField0_;
       result.consumeReservationType_ = consumeReservationType_;
       result.key_ = key_;
@@ -679,39 +614,38 @@ public com.google.container.v1.ReservationAffinity buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ReservationAffinity) {
-        return mergeFrom((com.google.container.v1.ReservationAffinity) other);
+        return mergeFrom((com.google.container.v1.ReservationAffinity)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -763,32 +697,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                consumeReservationType_ = input.readEnum();
+            case 8: {
+              consumeReservationType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                key_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              key_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureValuesIsMutable();
-                values_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureValuesIsMutable();
+              values_.add(s);
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -798,98 +728,77 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int consumeReservationType_ = 0;
     /**
-     *
-     *
      * 
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override - public int getConsumeReservationTypeValue() { + @java.lang.Override public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @param value The enum numeric value on the wire for consumeReservationType to set. * @return This builder for chaining. */ public Builder setConsumeReservationTypeValue(int value) { - + consumeReservationType_ = value; onChanged(); return this; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The consumeReservationType. */ @java.lang.Override public com.google.container.v1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1.ReservationAffinity.Type result = - com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); - return result == null - ? com.google.container.v1.ReservationAffinity.Type.UNRECOGNIZED - : result; + com.google.container.v1.ReservationAffinity.Type result = com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); + return result == null ? com.google.container.v1.ReservationAffinity.Type.UNRECOGNIZED : result; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @param value The consumeReservationType to set. * @return This builder for chaining. */ - public Builder setConsumeReservationType( - com.google.container.v1.ReservationAffinity.Type value) { + public Builder setConsumeReservationType(com.google.container.v1.ReservationAffinity.Type value) { if (value == null) { throw new NullPointerException(); } - + consumeReservationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return This builder for chaining. */ public Builder clearConsumeReservationType() { - + consumeReservationType_ = 0; onChanged(); return this; @@ -897,8 +806,6 @@ public Builder clearConsumeReservationType() { private java.lang.Object key_ = ""; /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -907,13 +814,13 @@ public Builder clearConsumeReservationType() {
      * 
* * string key = 2; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -922,8 +829,6 @@ public java.lang.String getKey() { } } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -932,14 +837,15 @@ public java.lang.String getKey() {
      * 
* * string key = 2; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -947,8 +853,6 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -957,22 +861,20 @@ public com.google.protobuf.ByteString getKeyBytes() {
      * 
* * string key = 2; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -981,18 +883,15 @@ public Builder setKey(java.lang.String value) {
      * 
* * string key = 2; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -1001,67 +900,57 @@ public Builder clearKey() {
      * 
* * string key = 2; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList values_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_.getUnmodifiableView(); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1069,90 +958,80 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues(int index, java.lang.String value) { + public Builder setValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues(java.lang.String value) { + public Builder addValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues(java.lang.Iterable values) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @return This builder for chaining. */ public Builder clearValues() { @@ -1162,30 +1041,28 @@ public Builder clearValues() { return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1195,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ReservationAffinity) } // @@protoc_insertion_point(class_scope:google.container.v1.ReservationAffinity) private static final com.google.container.v1.ReservationAffinity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ReservationAffinity(); } @@ -1209,27 +1086,27 @@ public static com.google.container.v1.ReservationAffinity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReservationAffinity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReservationAffinity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1244,4 +1121,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ReservationAffinity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java index de90b6ab0983..405f7673896d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface ReservationAffinityOrBuilder - extends +public interface ReservationAffinityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ReservationAffinity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The enum numeric value on the wire for consumeReservationType. */ int getConsumeReservationTypeValue(); /** - * - * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The consumeReservationType. */ com.google.container.v1.ReservationAffinity.Type getConsumeReservationType(); /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -59,13 +35,10 @@ public interface ReservationAffinityOrBuilder
    * 
* * string key = 2; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -74,59 +47,49 @@ public interface ReservationAffinityOrBuilder
    * 
* * string key = 2; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return The count of values. */ int getValuesCount(); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString getValuesBytes(int index); + com.google.protobuf.ByteString + getValuesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java similarity index 58% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java index 74bdba55d122..b86774e6ef48 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Collection of [GCP
  * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -28,73 +11,74 @@
  *
  * Protobuf type {@code google.container.v1.ResourceLabels}
  */
-public final class ResourceLabels extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResourceLabels extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ResourceLabels)
     ResourceLabelsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResourceLabels.newBuilder() to construct.
   private ResourceLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ResourceLabels() {}
+  private ResourceLabels() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResourceLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ResourceLabels_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ResourceLabels.class,
-            com.google.container.v1.ResourceLabels.Builder.class);
+            com.google.container.v1.ResourceLabels.class, com.google.container.v1.ResourceLabels.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.container.v1.ClusterServiceProto
-                .internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
-  }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -103,30 +87,28 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -134,12 +116,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -147,16 +128,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -164,11 +145,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -176,7 +158,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,9 +169,14 @@ public final boolean isInitialized() { } @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); + 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); } @@ -200,15 +186,15 @@ public int getSerializedSize() { 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__); + 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; @@ -218,14 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceLabels)) { return super.equals(obj); } com.google.container.v1.ResourceLabels other = (com.google.container.v1.ResourceLabels) obj; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,104 +233,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ResourceLabels parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ResourceLabels parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceLabels parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceLabels parseFrom( 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.ResourceLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceLabels parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ResourceLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceLabels parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ResourceLabels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceLabels parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ResourceLabels parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ResourceLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of [GCP
    * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -351,52 +331,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ResourceLabels}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceLabels)
       com.google.container.v1.ResourceLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ResourceLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ResourceLabels.class,
-              com.google.container.v1.ResourceLabels.Builder.class);
+              com.google.container.v1.ResourceLabels.class, com.google.container.v1.ResourceLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1.ResourceLabels.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -405,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ResourceLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_descriptor;
     }
 
     @java.lang.Override
@@ -426,8 +409,7 @@ public com.google.container.v1.ResourceLabels build() {
 
     @java.lang.Override
     public com.google.container.v1.ResourceLabels buildPartial() {
-      com.google.container.v1.ResourceLabels result =
-          new com.google.container.v1.ResourceLabels(this);
+      com.google.container.v1.ResourceLabels result = new com.google.container.v1.ResourceLabels(this);
       int from_bitField0_ = bitField0_;
       result.labels_ = internalGetLabels();
       result.labels_.makeImmutable();
@@ -439,39 +421,38 @@ public com.google.container.v1.ResourceLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ResourceLabels) {
-        return mergeFrom((com.google.container.v1.ResourceLabels) other);
+        return mergeFrom((com.google.container.v1.ResourceLabels)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -480,7 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1.ResourceLabels other) {
       if (other == com.google.container.v1.ResourceLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -507,24 +489,20 @@ public Builder mergeFrom(
             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());
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              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) {
@@ -534,24 +512,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -563,30 +541,28 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -594,12 +570,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -607,17 +582,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -625,11 +599,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -637,66 +612,69 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -706,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceLabels) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceLabels) private static final com.google.container.v1.ResourceLabels DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ResourceLabels(); } @@ -720,27 +698,27 @@ public static com.google.container.v1.ResourceLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,4 +733,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ResourceLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java index 5a42f4b5369b..91e658b1fce7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ResourceLabelsOrBuilder - extends +public interface ResourceLabelsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceLabels) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -34,31 +16,30 @@ public interface ResourceLabelsOrBuilder */ int getLabelsCount(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -67,18 +48,18 @@ public interface ResourceLabelsOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java index 84a7c9b67f01..4485bc3aa598 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Contains information about amount of some resource in the cluster.
  * For memory, value should be in GB.
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.container.v1.ResourceLimit}
  */
-public final class ResourceLimit extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResourceLimit extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ResourceLimit)
     ResourceLimitOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResourceLimit.newBuilder() to construct.
   private ResourceLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResourceLimit() {
     resourceType_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResourceLimit();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ResourceLimit_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ResourceLimit.class,
-            com.google.container.v1.ResourceLimit.Builder.class);
+            com.google.container.v1.ResourceLimit.class, com.google.container.v1.ResourceLimit.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceType_;
   /**
-   *
-   *
    * 
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The resourceType. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; } } /** - * - * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The bytes for resourceType. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceTypeBytes() { + public com.google.protobuf.ByteString + getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceType_ = b; return b; } else { @@ -120,14 +98,11 @@ public com.google.protobuf.ByteString getResourceTypeBytes() { public static final int MINIMUM_FIELD_NUMBER = 2; private long minimum_; /** - * - * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; - * * @return The minimum. */ @java.lang.Override @@ -138,14 +113,11 @@ public long getMinimum() { public static final int MAXIMUM_FIELD_NUMBER = 3; private long maximum_; /** - * - * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; - * * @return The maximum. */ @java.lang.Override @@ -154,7 +126,6 @@ public long getMaximum() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,7 +137,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceType_); } @@ -189,10 +161,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceType_); } if (minimum_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, minimum_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, minimum_); } if (maximum_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, maximum_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, maximum_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -202,16 +176,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceLimit)) { return super.equals(obj); } com.google.container.v1.ResourceLimit other = (com.google.container.v1.ResourceLimit) obj; - if (!getResourceType().equals(other.getResourceType())) return false; - if (getMinimum() != other.getMinimum()) return false; - if (getMaximum() != other.getMaximum()) return false; + if (!getResourceType() + .equals(other.getResourceType())) return false; + if (getMinimum() + != other.getMinimum()) return false; + if (getMaximum() + != other.getMaximum()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -226,111 +203,107 @@ public int hashCode() { hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getResourceType().hashCode(); hash = (37 * hash) + MINIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinimum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMinimum()); hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaximum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaximum()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ResourceLimit parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ResourceLimit parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceLimit parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLimit parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.ResourceLimit parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceLimit parseFrom( 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.ResourceLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceLimit parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ResourceLimit parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceLimit parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ResourceLimit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceLimit parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ResourceLimit parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceLimit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ResourceLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information about amount of some resource in the cluster.
    * For memory, value should be in GB.
@@ -338,32 +311,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.ResourceLimit}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceLimit)
       com.google.container.v1.ResourceLimitOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ResourceLimit_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ResourceLimit.class,
-              com.google.container.v1.ResourceLimit.Builder.class);
+              com.google.container.v1.ResourceLimit.class, com.google.container.v1.ResourceLimit.Builder.class);
     }
 
     // Construct using com.google.container.v1.ResourceLimit.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -377,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_ResourceLimit_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
@@ -398,8 +372,7 @@ public com.google.container.v1.ResourceLimit build() {
 
     @java.lang.Override
     public com.google.container.v1.ResourceLimit buildPartial() {
-      com.google.container.v1.ResourceLimit result =
-          new com.google.container.v1.ResourceLimit(this);
+      com.google.container.v1.ResourceLimit result = new com.google.container.v1.ResourceLimit(this);
       result.resourceType_ = resourceType_;
       result.minimum_ = minimum_;
       result.maximum_ = maximum_;
@@ -411,39 +384,38 @@ public com.google.container.v1.ResourceLimit buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ResourceLimit) {
-        return mergeFrom((com.google.container.v1.ResourceLimit) other);
+        return mergeFrom((com.google.container.v1.ResourceLimit)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -488,31 +460,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                resourceType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                minimum_ = input.readInt64();
-
-                break;
-              } // case 16
-            case 24:
-              {
-                maximum_ = input.readInt64();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              resourceType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              minimum_ = input.readInt64();
+
+              break;
+            } // case 16
+            case 24: {
+              maximum_ = input.readInt64();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -525,20 +493,18 @@ public Builder mergeFrom(
 
     private java.lang.Object resourceType_ = "";
     /**
-     *
-     *
      * 
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @return The resourceType. */ public java.lang.String getResourceType() { java.lang.Object ref = resourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; @@ -547,21 +513,20 @@ public java.lang.String getResourceType() { } } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @return The bytes for resourceType. */ - public com.google.protobuf.ByteString getResourceTypeBytes() { + public com.google.protobuf.ByteString + getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceType_ = b; return b; } else { @@ -569,76 +534,66 @@ public com.google.protobuf.ByteString getResourceTypeBytes() { } } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @param value The resourceType to set. * @return This builder for chaining. */ - public Builder setResourceType(java.lang.String value) { + public Builder setResourceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceType_ = value; onChanged(); return this; } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = getDefaultInstance().getResourceType(); onChanged(); return this; } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @param value The bytes for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { + public Builder setResourceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceType_ = value; onChanged(); return this; } - private long minimum_; + private long minimum_ ; /** - * - * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; - * * @return The minimum. */ @java.lang.Override @@ -646,51 +601,42 @@ public long getMinimum() { return minimum_; } /** - * - * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; - * * @param value The minimum to set. * @return This builder for chaining. */ public Builder setMinimum(long value) { - + minimum_ = value; onChanged(); return this; } /** - * - * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; - * * @return This builder for chaining. */ public Builder clearMinimum() { - + minimum_ = 0L; onChanged(); return this; } - private long maximum_; + private long maximum_ ; /** - * - * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; - * * @return The maximum. */ @java.lang.Override @@ -698,43 +644,37 @@ public long getMaximum() { return maximum_; } /** - * - * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; - * * @param value The maximum to set. * @return This builder for chaining. */ public Builder setMaximum(long value) { - + maximum_ = value; onChanged(); return this; } /** - * - * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; - * * @return This builder for chaining. */ public Builder clearMaximum() { - + maximum_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -744,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceLimit) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceLimit) private static final com.google.container.v1.ResourceLimit DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ResourceLimit(); } @@ -758,27 +698,27 @@ public static com.google.container.v1.ResourceLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -793,4 +733,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ResourceLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java similarity index 57% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java index 65a681ae607a..b619c07f9c0f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface ResourceLimitOrBuilder - extends +public interface ResourceLimitOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceLimit) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The resourceType. */ java.lang.String getResourceType(); /** - * - * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The bytes for resourceType. */ - com.google.protobuf.ByteString getResourceTypeBytes(); + com.google.protobuf.ByteString + getResourceTypeBytes(); /** - * - * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; - * * @return The minimum. */ long getMinimum(); /** - * - * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; - * * @return The maximum. */ long getMaximum(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java similarity index 60% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java index 73e65f83744e..0d817e13d6ec 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java @@ -1,160 +1,129 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration for exporting cluster resource usages.
  * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig} */ -public final class ResourceUsageExportConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResourceUsageExportConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ResourceUsageExportConfig) ResourceUsageExportConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResourceUsageExportConfig.newBuilder() to construct. private ResourceUsageExportConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResourceUsageExportConfig() {} + private ResourceUsageExportConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceUsageExportConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.class, - com.google.container.v1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.class, com.google.container.v1.ResourceUsageExportConfig.Builder.class); } - public interface BigQueryDestinationOrBuilder - extends + public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The datasetId. */ java.lang.String getDatasetId(); /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString getDatasetIdBytes(); + com.google.protobuf.ByteString + getDatasetIdBytes(); } /** - * - * *
    * Parameters for using BigQuery as the destination of resource usage export.
    * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryDestination() { datasetId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); } public static final int DATASET_ID_FIELD_NUMBER = 1; private volatile java.lang.Object datasetId_; /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The datasetId. */ @java.lang.Override @@ -163,29 +132,29 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -194,7 +163,6 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); } @@ -230,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other = - (com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) obj; + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other = (com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) obj; - if (!getDatasetId().equals(other.getDatasetId())) return false; + if (!getDatasetId() + .equals(other.getDatasetId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -258,95 +227,87 @@ public int hashCode() { } public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceUsageExportConfig.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( 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.ResourceUsageExportConfig.BigQueryDestination parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - 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.ResourceUsageExportConfig.BigQueryDestination 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.ResourceUsageExportConfig.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination prototype) { + public static Builder newBuilder(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -356,43 +317,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Parameters for using BigQuery as the destination of resource usage export.
      * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder - .class); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); } - // Construct using - // com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() - private Builder() {} + // Construct using com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,22 +359,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - getDefaultInstanceForType() { - return com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance(); + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { + return com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance(); } @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination build() { - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = - buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -426,8 +380,7 @@ public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bui @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination buildPartial() { - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = - new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(this); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(this); result.datasetId_ = datasetId_; onBuilt(); return result; @@ -437,54 +390,46 @@ public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ResourceUsageExportConfig.BigQueryDestination) { - return mergeFrom( - (com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) other); + if (other instanceof com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) { + return mergeFrom((com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other) { - if (other - == com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other) { + if (other == com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance()) return this; if (!other.getDatasetId().isEmpty()) { datasetId_ = other.datasetId_; onChanged(); @@ -515,19 +460,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - datasetId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + datasetId_ = input.readStringRequireUtf8(); + + 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) { @@ -540,20 +483,18 @@ public Builder mergeFrom( private java.lang.Object datasetId_ = ""; /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -562,21 +503,20 @@ public java.lang.String getDatasetId() { } } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -584,66 +524,58 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId(java.lang.String value) { + public Builder setDatasetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -656,45 +588,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) - private static final com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - DEFAULT_INSTANCE; - + private static final com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(); + DEFAULT_INSTANCE = new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - getDefaultInstance() { + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -706,20 +634,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - getDefaultInstanceForType() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConsumptionMeteringConfigOrBuilder - extends + public interface ConsumptionMeteringConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -727,64 +652,57 @@ public interface ConsumptionMeteringConfigOrBuilder
      * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); } /** - * - * *
    * Parameters for controlling consumption metering.
    * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class ConsumptionMeteringConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ConsumptionMeteringConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) ConsumptionMeteringConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConsumptionMeteringConfig.newBuilder() to construct. private ConsumptionMeteringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConsumptionMeteringConfig() {} + private ConsumptionMeteringConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConsumptionMeteringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder - .class); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -792,7 +710,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -801,7 +718,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -813,7 +729,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -827,7 +744,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -837,16 +755,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { + if (!(obj instanceof com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { return super.equals(obj); } - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = - (com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = (com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -859,107 +776,95 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - 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.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - 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.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig prototype) { + public static Builder newBuilder(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -969,43 +874,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Parameters for controlling consumption metering.
      * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder - .class); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); } - // Construct using - // com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() - private Builder() {} + // Construct using com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1015,22 +916,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getDefaultInstanceForType() { - return com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance(); + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { + return com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance(); } @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig build() { - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = - buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1038,10 +936,8 @@ public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConf } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - buildPartial() { - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = - new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(this); + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig buildPartial() { + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -1051,55 +947,46 @@ public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConf public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ResourceUsageExportConfig.ConsumptionMeteringConfig) { - return mergeFrom( - (com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) other); + if (other instanceof com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) { + return mergeFrom((com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { - if (other - == com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { + if (other == com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -1129,19 +1016,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1152,10 +1037,8 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1163,7 +1046,6 @@ public Builder mergeFrom(
        * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -1171,8 +1053,6 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1180,19 +1060,16 @@ public boolean getEnabled() {
        * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1200,16 +1077,14 @@ public Builder setEnabled(boolean value) {
        * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1222,45 +1097,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) - private static final com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); + DEFAULT_INSTANCE = new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getDefaultInstance() { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConsumptionMeteringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConsumptionMeteringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,26 +1143,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getDefaultInstanceForType() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 1; - private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - bigqueryDestination_; + private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -1299,54 +1164,38 @@ public boolean hasBigqueryDestination() { return bigqueryDestination_ != null; } /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - getBigqueryDestination() { - return bigqueryDestination_ == null - ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() - : bigqueryDestination_; + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { + return bigqueryDestination_ == null ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { return getBigqueryDestination(); } public static final int ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER = 2; private boolean enableNetworkEgressMetering_; /** - * - * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; - * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -1355,19 +1204,13 @@ public boolean getEnableNetworkEgressMetering() { } public static final int CONSUMPTION_METERING_CONFIG_FIELD_NUMBER = 3; - private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - consumptionMeteringConfig_; + private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return Whether the consumptionMeteringConfig field is set. */ @java.lang.Override @@ -1375,45 +1218,30 @@ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfig_ != null; } /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return The consumptionMeteringConfig. */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getConsumptionMeteringConfig() { - return consumptionMeteringConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance() - : consumptionMeteringConfig_; + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { + return consumptionMeteringConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; } /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder - getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { return getConsumptionMeteringConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1425,7 +1253,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryDestination_ != null) { output.writeMessage(1, getBigqueryDestination()); } @@ -1445,16 +1274,16 @@ public int getSerializedSize() { size = 0; if (bigqueryDestination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryDestination()); } if (enableNetworkEgressMetering_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableNetworkEgressMetering_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enableNetworkEgressMetering_); } if (consumptionMeteringConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getConsumptionMeteringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getConsumptionMeteringConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1464,23 +1293,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceUsageExportConfig)) { return super.equals(obj); } - com.google.container.v1.ResourceUsageExportConfig other = - (com.google.container.v1.ResourceUsageExportConfig) obj; + com.google.container.v1.ResourceUsageExportConfig other = (com.google.container.v1.ResourceUsageExportConfig) obj; if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false; if (hasBigqueryDestination()) { - if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination() + .equals(other.getBigqueryDestination())) return false; } - if (getEnableNetworkEgressMetering() != other.getEnableNetworkEgressMetering()) return false; + if (getEnableNetworkEgressMetering() + != other.getEnableNetworkEgressMetering()) return false; if (hasConsumptionMeteringConfig() != other.hasConsumptionMeteringConfig()) return false; if (hasConsumptionMeteringConfig()) { - if (!getConsumptionMeteringConfig().equals(other.getConsumptionMeteringConfig())) - return false; + if (!getConsumptionMeteringConfig() + .equals(other.getConsumptionMeteringConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1498,7 +1328,8 @@ public int hashCode() { hash = (53 * hash) + getBigqueryDestination().hashCode(); } hash = (37 * hash) + ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNetworkEgressMetering()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableNetworkEgressMetering()); if (hasConsumptionMeteringConfig()) { hash = (37 * hash) + CONSUMPTION_METERING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConsumptionMeteringConfig().hashCode(); @@ -1509,135 +1340,129 @@ public int hashCode() { } public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceUsageExportConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig parseFrom( 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.ResourceUsageExportConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ResourceUsageExportConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ResourceUsageExportConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ResourceUsageExportConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ResourceUsageExportConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for exporting cluster resource usages.
    * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceUsageExportConfig) com.google.container.v1.ResourceUsageExportConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.class, - com.google.container.v1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.class, com.google.container.v1.ResourceUsageExportConfig.Builder.class); } // Construct using com.google.container.v1.ResourceUsageExportConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1659,9 +1484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; } @java.lang.Override @@ -1680,8 +1505,7 @@ public com.google.container.v1.ResourceUsageExportConfig build() { @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig buildPartial() { - com.google.container.v1.ResourceUsageExportConfig result = - new com.google.container.v1.ResourceUsageExportConfig(this); + com.google.container.v1.ResourceUsageExportConfig result = new com.google.container.v1.ResourceUsageExportConfig(this); if (bigqueryDestinationBuilder_ == null) { result.bigqueryDestination_ = bigqueryDestination_; } else { @@ -1701,39 +1525,38 @@ public com.google.container.v1.ResourceUsageExportConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ResourceUsageExportConfig) { - return mergeFrom((com.google.container.v1.ResourceUsageExportConfig) other); + return mergeFrom((com.google.container.v1.ResourceUsageExportConfig)other); } else { super.mergeFrom(other); return this; @@ -1741,8 +1564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ResourceUsageExportConfig other) { - if (other == com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance()) return this; if (other.hasBigqueryDestination()) { mergeBigqueryDestination(other.getBigqueryDestination()); } @@ -1778,33 +1600,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 16: - { - enableNetworkEgressMetering_ = input.readBool(); + break; + } // case 10 + case 16: { + enableNetworkEgressMetering_ = input.readBool(); - break; - } // case 16 - case 26: - { - input.readMessage( - getConsumptionMeteringConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 16 + case 26: { + input.readMessage( + getConsumptionMeteringConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1815,66 +1635,43 @@ public Builder mergeFrom( return this; } - private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - bigqueryDestination_; + private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> - bigqueryDestinationBuilder_; + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ public boolean hasBigqueryDestination() { return bigqueryDestinationBuilder_ != null || bigqueryDestination_ != null; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - getBigqueryDestination() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { - return bigqueryDestination_ == null - ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance() - : bigqueryDestination_; + return bigqueryDestination_ == null ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } else { return bigqueryDestinationBuilder_.getMessage(); } } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public Builder setBigqueryDestination( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder setBigqueryDestination(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1888,19 +1685,14 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ public Builder setBigqueryDestination( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder - builderForValue) { + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder builderForValue) { if (bigqueryDestinationBuilder_ == null) { bigqueryDestination_ = builderForValue.build(); onChanged(); @@ -1911,25 +1703,17 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public Builder mergeBigqueryDestination( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (bigqueryDestination_ != null) { bigqueryDestination_ = - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder( - bigqueryDestination_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder(bigqueryDestination_).mergeFrom(value).buildPartial(); } else { bigqueryDestination_ = value; } @@ -1941,15 +1725,11 @@ public Builder mergeBigqueryDestination( return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ public Builder clearBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { @@ -1963,83 +1743,61 @@ public Builder clearBigqueryDestination() { return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder - getBigqueryDestinationBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { + onChanged(); return getBigqueryDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { if (bigqueryDestinationBuilder_ != null) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { - return bigqueryDestination_ == null - ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance() - : bigqueryDestination_; + return bigqueryDestination_ == null ? + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { - bigqueryDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder>( - getBigqueryDestination(), getParentForChildren(), isClean()); + bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder>( + getBigqueryDestination(), + getParentForChildren(), + isClean()); bigqueryDestination_ = null; } return bigqueryDestinationBuilder_; } - private boolean enableNetworkEgressMetering_; + private boolean enableNetworkEgressMetering_ ; /** - * - * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; - * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -2047,103 +1805,74 @@ public boolean getEnableNetworkEgressMetering() { return enableNetworkEgressMetering_; } /** - * - * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; - * * @param value The enableNetworkEgressMetering to set. * @return This builder for chaining. */ public Builder setEnableNetworkEgressMetering(boolean value) { - + enableNetworkEgressMetering_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; - * * @return This builder for chaining. */ public Builder clearEnableNetworkEgressMetering() { - + enableNetworkEgressMetering_ = false; onChanged(); return this; } - private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - consumptionMeteringConfig_; + private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> - consumptionMeteringConfigBuilder_; + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> consumptionMeteringConfigBuilder_; /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return Whether the consumptionMeteringConfig field is set. */ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfigBuilder_ != null || consumptionMeteringConfig_ != null; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return The consumptionMeteringConfig. */ - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getConsumptionMeteringConfig() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { - return consumptionMeteringConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance() - : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; } else { return consumptionMeteringConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public Builder setConsumptionMeteringConfig( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder setConsumptionMeteringConfig(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2157,19 +1886,14 @@ public Builder setConsumptionMeteringConfig( return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ public Builder setConsumptionMeteringConfig( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder - builderForValue) { + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder builderForValue) { if (consumptionMeteringConfigBuilder_ == null) { consumptionMeteringConfig_ = builderForValue.build(); onChanged(); @@ -2180,25 +1904,17 @@ public Builder setConsumptionMeteringConfig( return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public Builder mergeConsumptionMeteringConfig( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder mergeConsumptionMeteringConfig(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (consumptionMeteringConfig_ != null) { consumptionMeteringConfig_ = - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .newBuilder(consumptionMeteringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder(consumptionMeteringConfig_).mergeFrom(value).buildPartial(); } else { consumptionMeteringConfig_ = value; } @@ -2210,15 +1926,11 @@ public Builder mergeConsumptionMeteringConfig( return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ public Builder clearConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { @@ -2232,75 +1944,55 @@ public Builder clearConsumptionMeteringConfig() { return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder - getConsumptionMeteringConfigBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder getConsumptionMeteringConfigBuilder() { + onChanged(); return getConsumptionMeteringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder - getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { if (consumptionMeteringConfigBuilder_ != null) { return consumptionMeteringConfigBuilder_.getMessageOrBuilder(); } else { - return consumptionMeteringConfig_ == null - ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance() - : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null ? + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; } } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> getConsumptionMeteringConfigFieldBuilder() { if (consumptionMeteringConfigBuilder_ == null) { - consumptionMeteringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, - com.google.container.v1.ResourceUsageExportConfig - .ConsumptionMeteringConfigOrBuilder>( - getConsumptionMeteringConfig(), getParentForChildren(), isClean()); + consumptionMeteringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder>( + getConsumptionMeteringConfig(), + getParentForChildren(), + isClean()); consumptionMeteringConfig_ = null; } return consumptionMeteringConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2310,12 +2002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceUsageExportConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig) private static final com.google.container.v1.ResourceUsageExportConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ResourceUsageExportConfig(); } @@ -2324,27 +2016,27 @@ public static com.google.container.v1.ResourceUsageExportConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceUsageExportConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceUsageExportConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2359,4 +2051,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.ResourceUsageExportConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java index 9921d1a616bc..efb1b6d735c5 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java @@ -1,124 +1,74 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface ResourceUsageExportConfigOrBuilder - extends +public interface ResourceUsageExportConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceUsageExportConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination(); /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder(); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); /** - * - * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; - * * @return The enableNetworkEgressMetering. */ boolean getEnableNetworkEgressMetering(); /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return Whether the consumptionMeteringConfig field is set. */ boolean hasConsumptionMeteringConfig(); /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return The consumptionMeteringConfig. */ - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getConsumptionMeteringConfig(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig(); /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder - getConsumptionMeteringConfigOrBuilder(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index 1c77bc27ee5f..acca4f4f7d35 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
  * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -29,17 +12,15 @@
  *
  * Protobuf type {@code google.container.v1.RollbackNodePoolUpgradeRequest}
  */
-public final class RollbackNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RollbackNodePoolUpgradeRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.RollbackNodePoolUpgradeRequest)
     RollbackNodePoolUpgradeRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RollbackNodePoolUpgradeRequest.newBuilder() to construct.
-  private RollbackNodePoolUpgradeRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private RollbackNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RollbackNodePoolUpgradeRequest() {
     projectId_ = "";
     zone_ = "";
@@ -50,35 +31,32 @@ private RollbackNodePoolUpgradeRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RollbackNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.RollbackNodePoolUpgradeRequest.class,
-            com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,27 +64,24 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -114,18 +89,18 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -136,8 +111,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,27 +119,24 @@ 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=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -175,18 +145,18 @@ 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=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -197,53 +167,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,53 +219,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3341 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3341 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -311,8 +271,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -320,7 +278,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -329,15 +286,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -345,15 +301,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -364,15 +321,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPECT_PDB_FIELD_NUMBER = 7; private boolean respectPdb_; /** - * - * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; - * * @return The respectPdb. */ @java.lang.Override @@ -381,7 +335,6 @@ public boolean getRespectPdb() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +346,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -437,7 +391,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (respectPdb_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, respectPdb_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, respectPdb_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -447,20 +402,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.RollbackNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1.RollbackNodePoolUpgradeRequest other = - (com.google.container.v1.RollbackNodePoolUpgradeRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (!getName().equals(other.getName())) return false; - if (getRespectPdb() != other.getRespectPdb()) return false; + com.google.container.v1.RollbackNodePoolUpgradeRequest other = (com.google.container.v1.RollbackNodePoolUpgradeRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getRespectPdb() + != other.getRespectPdb()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -483,111 +443,104 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRespectPdb()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRespectPdb()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( 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.RollbackNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.RollbackNodePoolUpgradeRequest prototype) { + public static Builder newBuilder(com.google.container.v1.RollbackNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
    * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -596,32 +549,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.RollbackNodePoolUpgradeRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.RollbackNodePoolUpgradeRequest)
       com.google.container.v1.RollbackNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.RollbackNodePoolUpgradeRequest.class,
-              com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.RollbackNodePoolUpgradeRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -641,9 +595,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -662,8 +616,7 @@ public com.google.container.v1.RollbackNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.RollbackNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1.RollbackNodePoolUpgradeRequest result =
-          new com.google.container.v1.RollbackNodePoolUpgradeRequest(this);
+      com.google.container.v1.RollbackNodePoolUpgradeRequest result = new com.google.container.v1.RollbackNodePoolUpgradeRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -678,39 +631,38 @@ public com.google.container.v1.RollbackNodePoolUpgradeRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.RollbackNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1.RollbackNodePoolUpgradeRequest) other);
+        return mergeFrom((com.google.container.v1.RollbackNodePoolUpgradeRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -718,8 +670,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.RollbackNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1.RollbackNodePoolUpgradeRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.RollbackNodePoolUpgradeRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -769,49 +720,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                nodePoolId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 50:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 56:
-              {
-                respectPdb_ = input.readBool();
-
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              nodePoolId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 50: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 56: {
+              respectPdb_ = input.readBool();
+
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -824,8 +768,6 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -833,16 +775,15 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -851,8 +792,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -860,17 +799,17 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -878,8 +817,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -887,25 +824,22 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -913,21 +847,17 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -935,19 +865,18 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -955,8 +884,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -965,16 +892,15 @@ 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=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -983,8 +909,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -993,17 +917,17 @@ 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=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1011,8 +935,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1021,25 +943,22 @@ 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=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1048,21 +967,17 @@ 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=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1071,19 +986,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1091,24 +1005,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1117,25 +1028,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1143,73 +1052,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1217,24 +1116,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1243,25 +1139,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1269,73 +1163,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1343,8 +1227,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1352,13 +1234,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1367,8 +1249,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1376,14 +1256,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1391,8 +1272,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1400,22 +1279,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1423,18 +1300,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1442,32 +1316,29 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean respectPdb_; + private boolean respectPdb_ ; /** - * - * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; - * * @return The respectPdb. */ @java.lang.Override @@ -1475,45 +1346,39 @@ public boolean getRespectPdb() { return respectPdb_; } /** - * - * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; - * * @param value The respectPdb to set. * @return This builder for chaining. */ public Builder setRespectPdb(boolean value) { - + respectPdb_ = value; onChanged(); return this; } /** - * - * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; - * * @return This builder for chaining. */ public Builder clearRespectPdb() { - + respectPdb_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1523,12 +1388,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.RollbackNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.RollbackNodePoolUpgradeRequest) private static final com.google.container.v1.RollbackNodePoolUpgradeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.RollbackNodePoolUpgradeRequest(); } @@ -1537,27 +1402,27 @@ public static com.google.container.v1.RollbackNodePoolUpgradeRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1572,4 +1437,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.RollbackNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index e36152df2cc5..a5632b283c43 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface RollbackNodePoolUpgradeRequestOrBuilder - extends +public interface RollbackNodePoolUpgradeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.RollbackNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3327 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3327 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,83 +58,66 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3333 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3333 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3337 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3337 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3341 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3341 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -171,13 +125,10 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -185,21 +136,18 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; - * * @return The respectPdb. */ boolean getRespectPdb(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java index e0701242c3af..771d4ad925db 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * SandboxConfig contains configurations of the sandbox to use for the node.
  * 
* * Protobuf type {@code google.container.v1.SandboxConfig} */ -public final class SandboxConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SandboxConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SandboxConfig) SandboxConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SandboxConfig.newBuilder() to construct. private SandboxConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SandboxConfig() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SandboxConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SandboxConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SandboxConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SandboxConfig.class, - com.google.container.v1.SandboxConfig.Builder.class); + com.google.container.v1.SandboxConfig.class, com.google.container.v1.SandboxConfig.Builder.class); } /** - * - * *
    * Possible types of sandboxes.
    * 
* * Protobuf enum {@code google.container.v1.SandboxConfig.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This should not be used.
      * 
@@ -88,8 +66,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * Run sandbox using gvisor.
      * 
@@ -101,8 +77,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This should not be used.
      * 
@@ -111,8 +85,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * Run sandbox using gvisor.
      * 
@@ -121,6 +93,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GVISOR_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -145,47 +118,48 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return UNSPECIFIED; - case 1: - return GVISOR; - default: - return null; + case 0: return UNSPECIFIED; + case 1: return GVISOR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.SandboxConfig.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -205,41 +179,31 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.container.v1.SandboxConfig.Type getType() { + @java.lang.Override public com.google.container.v1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.SandboxConfig.Type result = - com.google.container.v1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1.SandboxConfig.Type result = com.google.container.v1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1.SandboxConfig.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,7 +215,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (type_ != com.google.container.v1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } @@ -265,7 +230,8 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.container.v1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,7 +241,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SandboxConfig)) { return super.equals(obj); @@ -301,135 +267,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SandboxConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SandboxConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SandboxConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SandboxConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.SandboxConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SandboxConfig parseFrom( 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.SandboxConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SandboxConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SandboxConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SandboxConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SandboxConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SandboxConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SandboxConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SandboxConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SandboxConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SandboxConfig contains configurations of the sandbox to use for the node.
    * 
* * Protobuf type {@code google.container.v1.SandboxConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SandboxConfig) com.google.container.v1.SandboxConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SandboxConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SandboxConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SandboxConfig.class, - com.google.container.v1.SandboxConfig.Builder.class); + com.google.container.v1.SandboxConfig.class, com.google.container.v1.SandboxConfig.Builder.class); } // Construct using com.google.container.v1.SandboxConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SandboxConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_descriptor; } @java.lang.Override @@ -460,8 +421,7 @@ public com.google.container.v1.SandboxConfig build() { @java.lang.Override public com.google.container.v1.SandboxConfig buildPartial() { - com.google.container.v1.SandboxConfig result = - new com.google.container.v1.SandboxConfig(this); + com.google.container.v1.SandboxConfig result = new com.google.container.v1.SandboxConfig(this); result.type_ = type_; onBuilt(); return result; @@ -471,39 +431,38 @@ public com.google.container.v1.SandboxConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SandboxConfig) { - return mergeFrom((com.google.container.v1.SandboxConfig) other); + return mergeFrom((com.google.container.v1.SandboxConfig)other); } else { super.mergeFrom(other); return this; @@ -541,19 +500,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - type_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + type_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,65 +523,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @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; onChanged(); return this; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @return The type. */ @java.lang.Override public com.google.container.v1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.SandboxConfig.Type result = - com.google.container.v1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1.SandboxConfig.Type result = com.google.container.v1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1.SandboxConfig.Type.UNRECOGNIZED : result; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -632,31 +575,28 @@ public Builder setType(com.google.container.v1.SandboxConfig.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -666,12 +606,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SandboxConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.SandboxConfig) private static final com.google.container.v1.SandboxConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SandboxConfig(); } @@ -680,27 +620,27 @@ public static com.google.container.v1.SandboxConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SandboxConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SandboxConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -715,4 +655,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SandboxConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java similarity index 52% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java index 14fa5bc23370..f70984795018 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface SandboxConfigOrBuilder - extends +public interface SandboxConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SandboxConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; - * * @return The type. */ com.google.container.v1.SandboxConfig.Type getType(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java similarity index 75% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java index 78488da9ef98..2360f587c62c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SecurityBulletinEvent is a notification sent to customers when a security
  * bulletin has been posted that they are vulnerable to.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.SecurityBulletinEvent}
  */
-public final class SecurityBulletinEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SecurityBulletinEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SecurityBulletinEvent)
     SecurityBulletinEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SecurityBulletinEvent.newBuilder() to construct.
   private SecurityBulletinEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SecurityBulletinEvent() {
     resourceTypeAffected_ = "";
     bulletinId_ = "";
@@ -52,35 +34,32 @@ private SecurityBulletinEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SecurityBulletinEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SecurityBulletinEvent.class,
-            com.google.container.v1.SecurityBulletinEvent.Builder.class);
+            com.google.container.v1.SecurityBulletinEvent.class, com.google.container.v1.SecurityBulletinEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_AFFECTED_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceTypeAffected_;
   /**
-   *
-   *
    * 
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -88,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string resource_type_affected = 1; - * * @return The resourceTypeAffected. */ @java.lang.Override @@ -97,15 +75,14 @@ public java.lang.String getResourceTypeAffected() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; } } /** - * - * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -113,15 +90,16 @@ public java.lang.String getResourceTypeAffected() {
    * 
* * string resource_type_affected = 1; - * * @return The bytes for resourceTypeAffected. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString + getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -132,14 +110,11 @@ public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { public static final int BULLETIN_ID_FIELD_NUMBER = 2; private volatile java.lang.Object bulletinId_; /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bulletinId. */ @java.lang.Override @@ -148,29 +123,29 @@ public java.lang.String getBulletinId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; } } /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bytes for bulletinId. */ @java.lang.Override - public com.google.protobuf.ByteString getBulletinIdBytes() { + public com.google.protobuf.ByteString + getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -181,42 +156,34 @@ public com.google.protobuf.ByteString getBulletinIdBytes() { public static final int CVE_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList cveIds_; /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList getCveIdsList() { + public com.google.protobuf.ProtocolStringList + getCveIdsList() { return cveIds_; } /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -224,32 +191,27 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString getCveIdsBytes(int index) { + public com.google.protobuf.ByteString + getCveIdsBytes(int index) { return cveIds_.getByteString(index); } public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The severity. */ @java.lang.Override @@ -258,29 +220,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -291,14 +253,11 @@ public com.google.protobuf.ByteString getSeverityBytes() { public static final int BULLETIN_URI_FIELD_NUMBER = 5; private volatile java.lang.Object bulletinUri_; /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bulletinUri. */ @java.lang.Override @@ -307,29 +266,29 @@ public java.lang.String getBulletinUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; } } /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bytes for bulletinUri. */ @java.lang.Override - public com.google.protobuf.ByteString getBulletinUriBytes() { + public com.google.protobuf.ByteString + getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -340,15 +299,12 @@ public com.google.protobuf.ByteString getBulletinUriBytes() { public static final int BRIEF_DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object briefDescription_; /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The briefDescription. */ @java.lang.Override @@ -357,30 +313,30 @@ public java.lang.String getBriefDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; } } /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The bytes for briefDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getBriefDescriptionBytes() { + public com.google.protobuf.ByteString + getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -391,42 +347,34 @@ public com.google.protobuf.ByteString getBriefDescriptionBytes() { public static final int AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList affectedSupportedMinors_; /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList + getAffectedSupportedMinorsList() { return affectedSupportedMinors_; } /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -434,60 +382,50 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString + getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } public static final int PATCHED_VERSIONS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList patchedVersions_; /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList + getPatchedVersionsList() { return patchedVersions_; } /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -495,26 +433,22 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString + getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } public static final int SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER = 9; private volatile java.lang.Object suggestedUpgradeTarget_; /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -524,7 +458,6 @@ public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) {
    * 
* * string suggested_upgrade_target = 9; - * * @return The suggestedUpgradeTarget. */ @java.lang.Override @@ -533,15 +466,14 @@ public java.lang.String getSuggestedUpgradeTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; } } /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -551,15 +483,16 @@ public java.lang.String getSuggestedUpgradeTarget() {
    * 
* * string suggested_upgrade_target = 9; - * * @return The bytes for suggestedUpgradeTarget. */ @java.lang.Override - public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString + getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -570,15 +503,12 @@ public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { public static final int MANUAL_STEPS_REQUIRED_FIELD_NUMBER = 10; private boolean manualStepsRequired_; /** - * - * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; - * * @return The manualStepsRequired. */ @java.lang.Override @@ -587,7 +517,6 @@ public boolean getManualStepsRequired() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -599,7 +528,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceTypeAffected_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceTypeAffected_); } @@ -619,8 +549,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 6, briefDescription_); } for (int i = 0; i < affectedSupportedMinors_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 7, affectedSupportedMinors_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, affectedSupportedMinors_.getRaw(i)); } for (int i = 0; i < patchedVersions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, patchedVersions_.getRaw(i)); @@ -683,7 +612,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, suggestedUpgradeTarget_); } if (manualStepsRequired_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, manualStepsRequired_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, manualStepsRequired_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -693,25 +623,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SecurityBulletinEvent)) { return super.equals(obj); } - com.google.container.v1.SecurityBulletinEvent other = - (com.google.container.v1.SecurityBulletinEvent) obj; - - if (!getResourceTypeAffected().equals(other.getResourceTypeAffected())) return false; - if (!getBulletinId().equals(other.getBulletinId())) return false; - if (!getCveIdsList().equals(other.getCveIdsList())) return false; - if (!getSeverity().equals(other.getSeverity())) return false; - if (!getBulletinUri().equals(other.getBulletinUri())) return false; - if (!getBriefDescription().equals(other.getBriefDescription())) return false; - if (!getAffectedSupportedMinorsList().equals(other.getAffectedSupportedMinorsList())) - return false; - if (!getPatchedVersionsList().equals(other.getPatchedVersionsList())) return false; - if (!getSuggestedUpgradeTarget().equals(other.getSuggestedUpgradeTarget())) return false; - if (getManualStepsRequired() != other.getManualStepsRequired()) return false; + com.google.container.v1.SecurityBulletinEvent other = (com.google.container.v1.SecurityBulletinEvent) obj; + + if (!getResourceTypeAffected() + .equals(other.getResourceTypeAffected())) return false; + if (!getBulletinId() + .equals(other.getBulletinId())) return false; + if (!getCveIdsList() + .equals(other.getCveIdsList())) return false; + if (!getSeverity() + .equals(other.getSeverity())) return false; + if (!getBulletinUri() + .equals(other.getBulletinUri())) return false; + if (!getBriefDescription() + .equals(other.getBriefDescription())) return false; + if (!getAffectedSupportedMinorsList() + .equals(other.getAffectedSupportedMinorsList())) return false; + if (!getPatchedVersionsList() + .equals(other.getPatchedVersionsList())) return false; + if (!getSuggestedUpgradeTarget() + .equals(other.getSuggestedUpgradeTarget())) return false; + if (getManualStepsRequired() + != other.getManualStepsRequired()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -748,110 +686,104 @@ public int hashCode() { hash = (37 * hash) + SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER; hash = (53 * hash) + getSuggestedUpgradeTarget().hashCode(); hash = (37 * hash) + MANUAL_STEPS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualStepsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getManualStepsRequired()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.SecurityBulletinEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SecurityBulletinEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SecurityBulletinEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SecurityBulletinEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SecurityBulletinEvent parseFrom( 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.SecurityBulletinEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SecurityBulletinEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SecurityBulletinEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SecurityBulletinEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SecurityBulletinEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SecurityBulletinEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SecurityBulletinEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SecurityBulletinEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SecurityBulletinEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SecurityBulletinEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SecurityBulletinEvent is a notification sent to customers when a security
    * bulletin has been posted that they are vulnerable to.
@@ -859,32 +791,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.SecurityBulletinEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SecurityBulletinEvent)
       com.google.container.v1.SecurityBulletinEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SecurityBulletinEvent.class,
-              com.google.container.v1.SecurityBulletinEvent.Builder.class);
+              com.google.container.v1.SecurityBulletinEvent.class, com.google.container.v1.SecurityBulletinEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1.SecurityBulletinEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -912,9 +845,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
@@ -933,8 +866,7 @@ public com.google.container.v1.SecurityBulletinEvent build() {
 
     @java.lang.Override
     public com.google.container.v1.SecurityBulletinEvent buildPartial() {
-      com.google.container.v1.SecurityBulletinEvent result =
-          new com.google.container.v1.SecurityBulletinEvent(this);
+      com.google.container.v1.SecurityBulletinEvent result = new com.google.container.v1.SecurityBulletinEvent(this);
       int from_bitField0_ = bitField0_;
       result.resourceTypeAffected_ = resourceTypeAffected_;
       result.bulletinId_ = bulletinId_;
@@ -966,39 +898,38 @@ public com.google.container.v1.SecurityBulletinEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SecurityBulletinEvent) {
-        return mergeFrom((com.google.container.v1.SecurityBulletinEvent) other);
+        return mergeFrom((com.google.container.v1.SecurityBulletinEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1090,76 +1021,65 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                resourceTypeAffected_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                bulletinId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureCveIdsIsMutable();
-                cveIds_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                severity_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                bulletinUri_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                briefDescription_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAffectedSupportedMinorsIsMutable();
-                affectedSupportedMinors_.add(s);
-                break;
-              } // case 58
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensurePatchedVersionsIsMutable();
-                patchedVersions_.add(s);
-                break;
-              } // case 66
-            case 74:
-              {
-                suggestedUpgradeTarget_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 80:
-              {
-                manualStepsRequired_ = input.readBool();
-
-                break;
-              } // case 80
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              resourceTypeAffected_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              bulletinId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCveIdsIsMutable();
+              cveIds_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              severity_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              bulletinUri_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              briefDescription_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAffectedSupportedMinorsIsMutable();
+              affectedSupportedMinors_.add(s);
+              break;
+            } // case 58
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensurePatchedVersionsIsMutable();
+              patchedVersions_.add(s);
+              break;
+            } // case 66
+            case 74: {
+              suggestedUpgradeTarget_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 80: {
+              manualStepsRequired_ = input.readBool();
+
+              break;
+            } // case 80
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1169,13 +1089,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object resourceTypeAffected_ = "";
     /**
-     *
-     *
      * 
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1183,13 +1100,13 @@ public Builder mergeFrom(
      * 
* * string resource_type_affected = 1; - * * @return The resourceTypeAffected. */ public java.lang.String getResourceTypeAffected() { java.lang.Object ref = resourceTypeAffected_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; @@ -1198,8 +1115,6 @@ public java.lang.String getResourceTypeAffected() { } } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1207,14 +1122,15 @@ public java.lang.String getResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; - * * @return The bytes for resourceTypeAffected. */ - public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString + getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -1222,8 +1138,6 @@ public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { } } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1231,22 +1145,20 @@ public com.google.protobuf.ByteString getResourceTypeAffectedBytes() {
      * 
* * string resource_type_affected = 1; - * * @param value The resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffected(java.lang.String value) { + public Builder setResourceTypeAffected( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceTypeAffected_ = value; onChanged(); return this; } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1254,18 +1166,15 @@ public Builder setResourceTypeAffected(java.lang.String value) {
      * 
* * string resource_type_affected = 1; - * * @return This builder for chaining. */ public Builder clearResourceTypeAffected() { - + resourceTypeAffected_ = getDefaultInstance().getResourceTypeAffected(); onChanged(); return this; } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1273,16 +1182,16 @@ public Builder clearResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; - * * @param value The bytes for resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffectedBytes(com.google.protobuf.ByteString value) { + public Builder setResourceTypeAffectedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceTypeAffected_ = value; onChanged(); return this; @@ -1290,20 +1199,18 @@ public Builder setResourceTypeAffectedBytes(com.google.protobuf.ByteString value private java.lang.Object bulletinId_ = ""; /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @return The bulletinId. */ public java.lang.String getBulletinId() { java.lang.Object ref = bulletinId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; @@ -1312,21 +1219,20 @@ public java.lang.String getBulletinId() { } } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @return The bytes for bulletinId. */ - public com.google.protobuf.ByteString getBulletinIdBytes() { + public com.google.protobuf.ByteString + getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -1334,112 +1240,95 @@ public com.google.protobuf.ByteString getBulletinIdBytes() { } } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @param value The bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinId(java.lang.String value) { + public Builder setBulletinId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinId_ = value; onChanged(); return this; } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @return This builder for chaining. */ public Builder clearBulletinId() { - + bulletinId_ = getDefaultInstance().getBulletinId(); onChanged(); return this; } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @param value The bytes for bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinIdBytes(com.google.protobuf.ByteString value) { + public Builder setBulletinIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList cveIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList cveIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCveIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { cveIds_ = new com.google.protobuf.LazyStringArrayList(cveIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList getCveIdsList() { + public com.google.protobuf.ProtocolStringList + getCveIdsList() { return cveIds_.getUnmodifiableView(); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -1447,90 +1336,80 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString getCveIdsBytes(int index) { + public com.google.protobuf.ByteString + getCveIdsBytes(int index) { return cveIds_.getByteString(index); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param index The index to set the value at. * @param value The cveIds to set. * @return This builder for chaining. */ - public Builder setCveIds(int index, java.lang.String value) { + public Builder setCveIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param value The cveIds to add. * @return This builder for chaining. */ - public Builder addCveIds(java.lang.String value) { + public Builder addCveIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param values The cveIds to add. * @return This builder for chaining. */ - public Builder addAllCveIds(java.lang.Iterable values) { + public Builder addAllCveIds( + java.lang.Iterable values) { ensureCveIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cveIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cveIds_); onChanged(); return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @return This builder for chaining. */ public Builder clearCveIds() { @@ -1540,22 +1419,20 @@ public Builder clearCveIds() { return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param value The bytes of the cveIds to add. * @return This builder for chaining. */ - public Builder addCveIdsBytes(com.google.protobuf.ByteString value) { + public Builder addCveIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); @@ -1564,20 +1441,18 @@ public Builder addCveIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object severity_ = ""; /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -1586,21 +1461,20 @@ public java.lang.String getSeverity() { } } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @return The bytes for severity. */ - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -1608,61 +1482,54 @@ public com.google.protobuf.ByteString getSeverityBytes() { } } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(java.lang.String value) { + public Builder setSeverity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes(com.google.protobuf.ByteString value) { + public Builder setSeverityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -1670,20 +1537,18 @@ public Builder setSeverityBytes(com.google.protobuf.ByteString value) { private java.lang.Object bulletinUri_ = ""; /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @return The bulletinUri. */ public java.lang.String getBulletinUri() { java.lang.Object ref = bulletinUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; @@ -1692,21 +1557,20 @@ public java.lang.String getBulletinUri() { } } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @return The bytes for bulletinUri. */ - public com.google.protobuf.ByteString getBulletinUriBytes() { + public com.google.protobuf.ByteString + getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -1714,61 +1578,54 @@ public com.google.protobuf.ByteString getBulletinUriBytes() { } } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @param value The bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUri(java.lang.String value) { + public Builder setBulletinUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @return This builder for chaining. */ public Builder clearBulletinUri() { - + bulletinUri_ = getDefaultInstance().getBulletinUri(); onChanged(); return this; } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @param value The bytes for bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUriBytes(com.google.protobuf.ByteString value) { + public Builder setBulletinUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinUri_ = value; onChanged(); return this; @@ -1776,21 +1633,19 @@ public Builder setBulletinUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object briefDescription_ = ""; /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @return The briefDescription. */ public java.lang.String getBriefDescription() { java.lang.Object ref = briefDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; @@ -1799,22 +1654,21 @@ public java.lang.String getBriefDescription() { } } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @return The bytes for briefDescription. */ - public com.google.protobuf.ByteString getBriefDescriptionBytes() { + public com.google.protobuf.ByteString + getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -1822,116 +1676,98 @@ public com.google.protobuf.ByteString getBriefDescriptionBytes() { } } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @param value The briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescription(java.lang.String value) { + public Builder setBriefDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + briefDescription_ = value; onChanged(); return this; } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @return This builder for chaining. */ public Builder clearBriefDescription() { - + briefDescription_ = getDefaultInstance().getBriefDescription(); onChanged(); return this; } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @param value The bytes for briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setBriefDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + briefDescription_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList affectedSupportedMinors_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList affectedSupportedMinors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAffectedSupportedMinorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - affectedSupportedMinors_ = - new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); + affectedSupportedMinors_ = new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList + getAffectedSupportedMinorsList() { return affectedSupportedMinors_.getUnmodifiableView(); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -1939,90 +1775,80 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString + getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param index The index to set the value at. * @param value The affectedSupportedMinors to set. * @return This builder for chaining. */ - public Builder setAffectedSupportedMinors(int index, java.lang.String value) { + public Builder setAffectedSupportedMinors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.set(index, value); onChanged(); return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param value The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinors(java.lang.String value) { + public Builder addAffectedSupportedMinors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param values The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAllAffectedSupportedMinors(java.lang.Iterable values) { + public Builder addAllAffectedSupportedMinors( + java.lang.Iterable values) { ensureAffectedSupportedMinorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, affectedSupportedMinors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, affectedSupportedMinors_); onChanged(); return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @return This builder for chaining. */ public Builder clearAffectedSupportedMinors() { @@ -2032,74 +1858,62 @@ public Builder clearAffectedSupportedMinors() { return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param value The bytes of the affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinorsBytes(com.google.protobuf.ByteString value) { + public Builder addAffectedSupportedMinorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList patchedVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList patchedVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePatchedVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { patchedVersions_ = new com.google.protobuf.LazyStringArrayList(patchedVersions_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList + getPatchedVersionsList() { return patchedVersions_.getUnmodifiableView(); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -2107,90 +1921,80 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString + getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param index The index to set the value at. * @param value The patchedVersions to set. * @return This builder for chaining. */ - public Builder setPatchedVersions(int index, java.lang.String value) { + public Builder setPatchedVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param value The patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersions(java.lang.String value) { + public Builder addPatchedVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param values The patchedVersions to add. * @return This builder for chaining. */ - public Builder addAllPatchedVersions(java.lang.Iterable values) { + public Builder addAllPatchedVersions( + java.lang.Iterable values) { ensurePatchedVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchedVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchedVersions_); onChanged(); return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @return This builder for chaining. */ public Builder clearPatchedVersions() { @@ -2200,22 +2004,20 @@ public Builder clearPatchedVersions() { return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param value The bytes of the patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addPatchedVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); @@ -2224,8 +2026,6 @@ public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) { private java.lang.Object suggestedUpgradeTarget_ = ""; /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2235,13 +2035,13 @@ public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) {
      * 
* * string suggested_upgrade_target = 9; - * * @return The suggestedUpgradeTarget. */ public java.lang.String getSuggestedUpgradeTarget() { java.lang.Object ref = suggestedUpgradeTarget_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; @@ -2250,8 +2050,6 @@ public java.lang.String getSuggestedUpgradeTarget() { } } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2261,14 +2059,15 @@ public java.lang.String getSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; - * * @return The bytes for suggestedUpgradeTarget. */ - public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString + getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -2276,8 +2075,6 @@ public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { } } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2287,22 +2084,20 @@ public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() {
      * 
* * string suggested_upgrade_target = 9; - * * @param value The suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTarget(java.lang.String value) { + public Builder setSuggestedUpgradeTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestedUpgradeTarget_ = value; onChanged(); return this; } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2312,18 +2107,15 @@ public Builder setSuggestedUpgradeTarget(java.lang.String value) {
      * 
* * string suggested_upgrade_target = 9; - * * @return This builder for chaining. */ public Builder clearSuggestedUpgradeTarget() { - + suggestedUpgradeTarget_ = getDefaultInstance().getSuggestedUpgradeTarget(); onChanged(); return this; } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2333,32 +2125,29 @@ public Builder clearSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; - * * @param value The bytes for suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTargetBytes(com.google.protobuf.ByteString value) { + public Builder setSuggestedUpgradeTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestedUpgradeTarget_ = value; onChanged(); return this; } - private boolean manualStepsRequired_; + private boolean manualStepsRequired_ ; /** - * - * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; - * * @return The manualStepsRequired. */ @java.lang.Override @@ -2366,45 +2155,39 @@ public boolean getManualStepsRequired() { return manualStepsRequired_; } /** - * - * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; - * * @param value The manualStepsRequired to set. * @return This builder for chaining. */ public Builder setManualStepsRequired(boolean value) { - + manualStepsRequired_ = value; onChanged(); return this; } /** - * - * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; - * * @return This builder for chaining. */ public Builder clearManualStepsRequired() { - + manualStepsRequired_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2414,12 +2197,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SecurityBulletinEvent) } // @@protoc_insertion_point(class_scope:google.container.v1.SecurityBulletinEvent) private static final com.google.container.v1.SecurityBulletinEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SecurityBulletinEvent(); } @@ -2428,27 +2211,27 @@ public static com.google.container.v1.SecurityBulletinEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityBulletinEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityBulletinEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2463,4 +2246,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SecurityBulletinEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java similarity index 80% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java index 315059d85039..0490cf959a1e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SecurityBulletinEventOrBuilder - extends +public interface SecurityBulletinEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SecurityBulletinEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -33,13 +15,10 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string resource_type_affected = 1; - * * @return The resourceTypeAffected. */ java.lang.String getResourceTypeAffected(); /** - * - * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -47,269 +26,217 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string resource_type_affected = 1; - * * @return The bytes for resourceTypeAffected. */ - com.google.protobuf.ByteString getResourceTypeAffectedBytes(); + com.google.protobuf.ByteString + getResourceTypeAffectedBytes(); /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bulletinId. */ java.lang.String getBulletinId(); /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bytes for bulletinId. */ - com.google.protobuf.ByteString getBulletinIdBytes(); + com.google.protobuf.ByteString + getBulletinIdBytes(); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return A list containing the cveIds. */ - java.util.List getCveIdsList(); + java.util.List + getCveIdsList(); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return The count of cveIds. */ int getCveIdsCount(); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the element to return. * @return The cveIds at the given index. */ java.lang.String getCveIds(int index); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - com.google.protobuf.ByteString getCveIdsBytes(int index); + com.google.protobuf.ByteString + getCveIdsBytes(int index); /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The severity. */ java.lang.String getSeverity(); /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The bytes for severity. */ - com.google.protobuf.ByteString getSeverityBytes(); + com.google.protobuf.ByteString + getSeverityBytes(); /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bulletinUri. */ java.lang.String getBulletinUri(); /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bytes for bulletinUri. */ - com.google.protobuf.ByteString getBulletinUriBytes(); + com.google.protobuf.ByteString + getBulletinUriBytes(); /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The briefDescription. */ java.lang.String getBriefDescription(); /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The bytes for briefDescription. */ - com.google.protobuf.ByteString getBriefDescriptionBytes(); + com.google.protobuf.ByteString + getBriefDescriptionBytes(); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return A list containing the affectedSupportedMinors. */ - java.util.List getAffectedSupportedMinorsList(); + java.util.List + getAffectedSupportedMinorsList(); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return The count of affectedSupportedMinors. */ int getAffectedSupportedMinorsCount(); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ java.lang.String getAffectedSupportedMinors(int index); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index); + com.google.protobuf.ByteString + getAffectedSupportedMinorsBytes(int index); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return A list containing the patchedVersions. */ - java.util.List getPatchedVersionsList(); + java.util.List + getPatchedVersionsList(); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return The count of patchedVersions. */ int getPatchedVersionsCount(); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ java.lang.String getPatchedVersions(int index); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - com.google.protobuf.ByteString getPatchedVersionsBytes(int index); + com.google.protobuf.ByteString + getPatchedVersionsBytes(int index); /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -319,13 +246,10 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string suggested_upgrade_target = 9; - * * @return The suggestedUpgradeTarget. */ java.lang.String getSuggestedUpgradeTarget(); /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -335,21 +259,18 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string suggested_upgrade_target = 9; - * * @return The bytes for suggestedUpgradeTarget. */ - com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes(); + com.google.protobuf.ByteString + getSuggestedUpgradeTargetBytes(); /** - * - * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; - * * @return The manualStepsRequired. */ boolean getManualStepsRequired(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java similarity index 74% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java index b2e2ad4ec9e8..bc331bfa0958 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1.ServerConfig} */ -public final class ServerConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ServerConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ServerConfig) ServerConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ServerConfig.newBuilder() to construct. private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ServerConfig() { defaultClusterVersion_ = ""; validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -48,155 +30,129 @@ private ServerConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.class, - com.google.container.v1.ServerConfig.Builder.class); + com.google.container.v1.ServerConfig.class, com.google.container.v1.ServerConfig.Builder.class); } - public interface ReleaseChannelConfigOrBuilder - extends + public interface ReleaseChannelConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ServerConfig.ReleaseChannelConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ com.google.container.v1.ReleaseChannel.Channel getChannel(); /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The defaultVersion. */ java.lang.String getDefaultVersion(); /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The bytes for defaultVersion. */ - com.google.protobuf.ByteString getDefaultVersionBytes(); + com.google.protobuf.ByteString + getDefaultVersionBytes(); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return A list containing the validVersions. */ - java.util.List getValidVersionsList(); + java.util.List + getValidVersionsList(); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return The count of validVersions. */ int getValidVersionsCount(); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the element to return. * @return The validVersions at the given index. */ java.lang.String getValidVersions(int index); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - com.google.protobuf.ByteString getValidVersionsBytes(int index); + com.google.protobuf.ByteString + getValidVersionsBytes(int index); } /** - * - * *
    * ReleaseChannelConfig exposes configuration for a release channel.
    * 
* * Protobuf type {@code google.container.v1.ServerConfig.ReleaseChannelConfig} */ - public static final class ReleaseChannelConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReleaseChannelConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ServerConfig.ReleaseChannelConfig) ReleaseChannelConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReleaseChannelConfig.newBuilder() to construct. private ReleaseChannelConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReleaseChannelConfig() { channel_ = 0; defaultVersion_ = ""; @@ -205,77 +161,64 @@ private ReleaseChannelConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReleaseChannelConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); } public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ - @java.lang.Override - public com.google.container.v1.ReleaseChannel.Channel getChannel() { + @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = - com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; } public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object defaultVersion_; /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The defaultVersion. */ @java.lang.Override @@ -284,29 +227,29 @@ public java.lang.String getDefaultVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; } } /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The bytes for defaultVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -317,42 +260,34 @@ public com.google.protobuf.ByteString getDefaultVersionBytes() { public static final int VALID_VERSIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList validVersions_; /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList getValidVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidVersionsList() { return validVersions_; } /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -360,23 +295,20 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -388,7 +320,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -408,7 +341,8 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, channel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultVersion_); @@ -429,17 +363,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ServerConfig.ReleaseChannelConfig)) { return super.equals(obj); } - com.google.container.v1.ServerConfig.ReleaseChannelConfig other = - (com.google.container.v1.ServerConfig.ReleaseChannelConfig) obj; + com.google.container.v1.ServerConfig.ReleaseChannelConfig other = (com.google.container.v1.ServerConfig.ReleaseChannelConfig) obj; if (channel_ != other.channel_) return false; - if (!getDefaultVersion().equals(other.getDefaultVersion())) return false; - if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; + if (!getDefaultVersion() + .equals(other.getDefaultVersion())) return false; + if (!getValidVersionsList() + .equals(other.getValidVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -465,94 +400,87 @@ public int hashCode() { } public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( 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.ServerConfig.ReleaseChannelConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.ServerConfig.ReleaseChannelConfig prototype) { + public static Builder newBuilder(com.google.container.v1.ServerConfig.ReleaseChannelConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -562,41 +490,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * ReleaseChannelConfig exposes configuration for a release channel.
      * 
* * Protobuf type {@code google.container.v1.ServerConfig.ReleaseChannelConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ServerConfig.ReleaseChannelConfig) com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); } // Construct using com.google.container.v1.ServerConfig.ReleaseChannelConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -610,9 +536,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override @@ -631,8 +557,7 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig build() { @java.lang.Override public com.google.container.v1.ServerConfig.ReleaseChannelConfig buildPartial() { - com.google.container.v1.ServerConfig.ReleaseChannelConfig result = - new com.google.container.v1.ServerConfig.ReleaseChannelConfig(this); + com.google.container.v1.ServerConfig.ReleaseChannelConfig result = new com.google.container.v1.ServerConfig.ReleaseChannelConfig(this); int from_bitField0_ = bitField0_; result.channel_ = channel_; result.defaultVersion_ = defaultVersion_; @@ -649,41 +574,38 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ServerConfig.ReleaseChannelConfig) { - return mergeFrom((com.google.container.v1.ServerConfig.ReleaseChannelConfig) other); + return mergeFrom((com.google.container.v1.ServerConfig.ReleaseChannelConfig)other); } else { super.mergeFrom(other); return this; @@ -691,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ServerConfig.ReleaseChannelConfig other) { - if (other == com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) return this; if (other.channel_ != 0) { setChannelValue(other.getChannelValue()); } @@ -736,32 +657,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - channel_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - defaultVersion_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidVersionsIsMutable(); - validVersions_.add(s); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + channel_ = input.readEnum(); + + break; + } // case 8 + case 18: { + defaultVersion_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidVersionsIsMutable(); + validVersions_.add(s); + 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) { @@ -771,72 +688,55 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int channel_ = 0; /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = - com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED - : result; + com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @param value The channel to set. * @return This builder for chaining. */ @@ -844,24 +744,21 @@ public Builder setChannel(com.google.container.v1.ReleaseChannel.Channel value) if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; - * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; @@ -869,20 +766,18 @@ public Builder clearChannel() { private java.lang.Object defaultVersion_ = ""; /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; @@ -891,21 +786,20 @@ public java.lang.String getDefaultVersion() { } } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @return The bytes for defaultVersion. */ - public com.google.protobuf.ByteString getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -913,112 +807,95 @@ public com.google.protobuf.ByteString getDefaultVersionBytes() { } } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @param value The defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersion(java.lang.String value) { + public Builder setDefaultVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultVersion_ = value; onChanged(); return this; } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = getDefaultInstance().getDefaultVersion(); onChanged(); return this; } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @param value The bytes for defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultVersion_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { validVersions_ = new com.google.protobuf.LazyStringArrayList(validVersions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList getValidVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidVersionsList() { return validVersions_.getUnmodifiableView(); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -1026,90 +903,80 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param index The index to set the value at. * @param value The validVersions to set. * @return This builder for chaining. */ - public Builder setValidVersions(int index, java.lang.String value) { + public Builder setValidVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param value The validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersions(java.lang.String value) { + public Builder addValidVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param values The validVersions to add. * @return This builder for chaining. */ - public Builder addAllValidVersions(java.lang.Iterable values) { + public Builder addAllValidVersions( + java.lang.Iterable values) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validVersions_); onChanged(); return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @return This builder for chaining. */ public Builder clearValidVersions() { @@ -1119,28 +986,25 @@ public Builder clearValidVersions() { return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param value The bytes of the validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addValidVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1153,12 +1017,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ServerConfig.ReleaseChannelConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ServerConfig.ReleaseChannelConfig) private static final com.google.container.v1.ServerConfig.ReleaseChannelConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ServerConfig.ReleaseChannelConfig(); } @@ -1167,28 +1031,27 @@ public static com.google.container.v1.ServerConfig.ReleaseChannelConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannelConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannelConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1203,19 +1066,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ServerConfig.ReleaseChannelConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object defaultClusterVersion_; /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The defaultClusterVersion. */ @java.lang.Override @@ -1224,29 +1085,29 @@ public java.lang.String getDefaultClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; } } /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The bytes for defaultClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString + getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -1257,42 +1118,34 @@ public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { public static final int VALID_NODE_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList validNodeVersions_; /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidNodeVersionsList() { return validNodeVersions_; } /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -1300,32 +1153,27 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object defaultImageType_; /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The defaultImageType. */ @java.lang.Override @@ -1334,29 +1182,29 @@ public java.lang.String getDefaultImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; } } /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The bytes for defaultImageType. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString + getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -1367,42 +1215,34 @@ public com.google.protobuf.ByteString getDefaultImageTypeBytes() { public static final int VALID_IMAGE_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList validImageTypes_; /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList + getValidImageTypesList() { return validImageTypes_; } /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -1410,60 +1250,50 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString + getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList validMasterVersions_; /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidMasterVersionsList() { return validMasterVersions_; } /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -1471,26 +1301,22 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } public static final int CHANNELS_FIELD_NUMBER = 9; private java.util.List channels_; /** - * - * *
    * List of release channel configurations.
    * 
@@ -1498,13 +1324,10 @@ public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List - getChannelsList() { + public java.util.List getChannelsList() { return channels_; } /** - * - * *
    * List of release channel configurations.
    * 
@@ -1512,14 +1335,11 @@ public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List< - ? extends com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> + public java.util.List getChannelsOrBuilderList() { return channels_; } /** - * - * *
    * List of release channel configurations.
    * 
@@ -1531,8 +1351,6 @@ public int getChannelsCount() { return channels_.size(); } /** - * - * *
    * List of release channel configurations.
    * 
@@ -1544,8 +1362,6 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig getChannels(int return channels_.get(index); } /** - * - * *
    * List of release channel configurations.
    * 
@@ -1559,7 +1375,6 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getCha } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1571,7 +1386,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultClusterVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultClusterVersion_); } @@ -1630,7 +1446,8 @@ public int getSerializedSize() { size += 1 * getValidMasterVersionsList().size(); } for (int i = 0; i < channels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, channels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, channels_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1640,19 +1457,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ServerConfig)) { return super.equals(obj); } com.google.container.v1.ServerConfig other = (com.google.container.v1.ServerConfig) obj; - if (!getDefaultClusterVersion().equals(other.getDefaultClusterVersion())) return false; - if (!getValidNodeVersionsList().equals(other.getValidNodeVersionsList())) return false; - if (!getDefaultImageType().equals(other.getDefaultImageType())) return false; - if (!getValidImageTypesList().equals(other.getValidImageTypesList())) return false; - if (!getValidMasterVersionsList().equals(other.getValidMasterVersionsList())) return false; - if (!getChannelsList().equals(other.getChannelsList())) return false; + if (!getDefaultClusterVersion() + .equals(other.getDefaultClusterVersion())) return false; + if (!getValidNodeVersionsList() + .equals(other.getValidNodeVersionsList())) return false; + if (!getDefaultImageType() + .equals(other.getDefaultImageType())) return false; + if (!getValidImageTypesList() + .equals(other.getValidImageTypesList())) return false; + if (!getValidMasterVersionsList() + .equals(other.getValidMasterVersionsList())) return false; + if (!getChannelsList() + .equals(other.getChannelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1689,135 +1512,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ServerConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ServerConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServerConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.ServerConfig parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.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.container.v1.ServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServerConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ServerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ServerConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ServerConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ServerConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.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); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1.ServerConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ServerConfig) com.google.container.v1.ServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.class, - com.google.container.v1.ServerConfig.Builder.class); + com.google.container.v1.ServerConfig.class, com.google.container.v1.ServerConfig.Builder.class); } // Construct using com.google.container.v1.ServerConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1842,9 +1660,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_descriptor; } @java.lang.Override @@ -1899,39 +1717,38 @@ public com.google.container.v1.ServerConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ServerConfig) { - return mergeFrom((com.google.container.v1.ServerConfig) other); + return mergeFrom((com.google.container.v1.ServerConfig)other); } else { super.mergeFrom(other); return this; @@ -1996,10 +1813,9 @@ public Builder mergeFrom(com.google.container.v1.ServerConfig other) { channelsBuilder_ = null; channels_ = other.channels_; bitField0_ = (bitField0_ & ~0x00000008); - channelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChannelsFieldBuilder() - : null; + channelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChannelsFieldBuilder() : null; } else { channelsBuilder_.addAllMessages(other.channels_); } @@ -2031,60 +1847,53 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - defaultClusterVersion_ = input.readStringRequireUtf8(); + case 10: { + defaultClusterVersion_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidNodeVersionsIsMutable(); - validNodeVersions_.add(s); - break; - } // case 26 - case 34: - { - defaultImageType_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidNodeVersionsIsMutable(); + validNodeVersions_.add(s); + break; + } // case 26 + case 34: { + defaultImageType_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidImageTypesIsMutable(); - validImageTypes_.add(s); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidMasterVersionsIsMutable(); - validMasterVersions_.add(s); - break; - } // case 50 - case 74: - { - com.google.container.v1.ServerConfig.ReleaseChannelConfig m = - input.readMessage( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.parser(), - extensionRegistry); - if (channelsBuilder_ == null) { - ensureChannelsIsMutable(); - channels_.add(m); - } else { - channelsBuilder_.addMessage(m); - } - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidImageTypesIsMutable(); + validImageTypes_.add(s); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidMasterVersionsIsMutable(); + validMasterVersions_.add(s); + break; + } // case 50 + case 74: { + com.google.container.v1.ServerConfig.ReleaseChannelConfig m = + input.readMessage( + com.google.container.v1.ServerConfig.ReleaseChannelConfig.parser(), + extensionRegistry); + if (channelsBuilder_ == null) { + ensureChannelsIsMutable(); + channels_.add(m); + } else { + channelsBuilder_.addMessage(m); + } + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2094,25 +1903,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object defaultClusterVersion_ = ""; /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @return The defaultClusterVersion. */ public java.lang.String getDefaultClusterVersion() { java.lang.Object ref = defaultClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; @@ -2121,21 +1927,20 @@ public java.lang.String getDefaultClusterVersion() { } } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @return The bytes for defaultClusterVersion. */ - public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString + getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -2143,112 +1948,95 @@ public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { } } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @param value The defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersion(java.lang.String value) { + public Builder setDefaultClusterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultClusterVersion_ = value; onChanged(); return this; } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @return This builder for chaining. */ public Builder clearDefaultClusterVersion() { - + defaultClusterVersion_ = getDefaultInstance().getDefaultClusterVersion(); onChanged(); return this; } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @param value The bytes for defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultClusterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultClusterVersion_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validNodeVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidNodeVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { validNodeVersions_ = new com.google.protobuf.LazyStringArrayList(validNodeVersions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidNodeVersionsList() { return validNodeVersions_.getUnmodifiableView(); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -2256,90 +2044,80 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param index The index to set the value at. * @param value The validNodeVersions to set. * @return This builder for chaining. */ - public Builder setValidNodeVersions(int index, java.lang.String value) { + public Builder setValidNodeVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param value The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersions(java.lang.String value) { + public Builder addValidNodeVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param values The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addAllValidNodeVersions(java.lang.Iterable values) { + public Builder addAllValidNodeVersions( + java.lang.Iterable values) { ensureValidNodeVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validNodeVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validNodeVersions_); onChanged(); return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @return This builder for chaining. */ public Builder clearValidNodeVersions() { @@ -2349,22 +2127,20 @@ public Builder clearValidNodeVersions() { return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param value The bytes of the validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addValidNodeVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); @@ -2373,20 +2149,18 @@ public Builder addValidNodeVersionsBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultImageType_ = ""; /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @return The defaultImageType. */ public java.lang.String getDefaultImageType() { java.lang.Object ref = defaultImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; @@ -2395,21 +2169,20 @@ public java.lang.String getDefaultImageType() { } } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @return The bytes for defaultImageType. */ - public com.google.protobuf.ByteString getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString + getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -2417,112 +2190,95 @@ public com.google.protobuf.ByteString getDefaultImageTypeBytes() { } } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @param value The defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageType(java.lang.String value) { + public Builder setDefaultImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultImageType_ = value; onChanged(); return this; } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @return This builder for chaining. */ public Builder clearDefaultImageType() { - + defaultImageType_ = getDefaultInstance().getDefaultImageType(); onChanged(); return this; } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @param value The bytes for defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultImageType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validImageTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validImageTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidImageTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validImageTypes_ = new com.google.protobuf.LazyStringArrayList(validImageTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList + getValidImageTypesList() { return validImageTypes_.getUnmodifiableView(); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -2530,90 +2286,80 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString + getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param index The index to set the value at. * @param value The validImageTypes to set. * @return This builder for chaining. */ - public Builder setValidImageTypes(int index, java.lang.String value) { + public Builder setValidImageTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param value The validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypes(java.lang.String value) { + public Builder addValidImageTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param values The validImageTypes to add. * @return This builder for chaining. */ - public Builder addAllValidImageTypes(java.lang.Iterable values) { + public Builder addAllValidImageTypes( + java.lang.Iterable values) { ensureValidImageTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validImageTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validImageTypes_); onChanged(); return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @return This builder for chaining. */ public Builder clearValidImageTypes() { @@ -2623,74 +2369,62 @@ public Builder clearValidImageTypes() { return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param value The bytes of the validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypesBytes(com.google.protobuf.ByteString value) { + public Builder addValidImageTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList validMasterVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validMasterVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidMasterVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { validMasterVersions_ = new com.google.protobuf.LazyStringArrayList(validMasterVersions_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidMasterVersionsList() { return validMasterVersions_.getUnmodifiableView(); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -2698,90 +2432,80 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param index The index to set the value at. * @param value The validMasterVersions to set. * @return This builder for chaining. */ - public Builder setValidMasterVersions(int index, java.lang.String value) { + public Builder setValidMasterVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param value The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersions(java.lang.String value) { + public Builder addValidMasterVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param values The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addAllValidMasterVersions(java.lang.Iterable values) { + public Builder addAllValidMasterVersions( + java.lang.Iterable values) { ensureValidMasterVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validMasterVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validMasterVersions_); onChanged(); return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @return This builder for chaining. */ public Builder clearValidMasterVersions() { @@ -2791,22 +2515,20 @@ public Builder clearValidMasterVersions() { return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param value The bytes of the validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addValidMasterVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); @@ -2814,34 +2536,25 @@ public Builder addValidMasterVersionsBytes(com.google.protobuf.ByteString value) } private java.util.List channels_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - channels_ = - new java.util.ArrayList( - channels_); + channels_ = new java.util.ArrayList(channels_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ServerConfig.ReleaseChannelConfig, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, - com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> - channelsBuilder_; + com.google.container.v1.ServerConfig.ReleaseChannelConfig, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> channelsBuilder_; /** - * - * *
      * List of release channel configurations.
      * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List - getChannelsList() { + public java.util.List getChannelsList() { if (channelsBuilder_ == null) { return java.util.Collections.unmodifiableList(channels_); } else { @@ -2849,8 +2562,6 @@ private void ensureChannelsIsMutable() { } } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2865,8 +2576,6 @@ public int getChannelsCount() { } } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2881,8 +2590,6 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig getChannels(int } } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2904,8 +2611,6 @@ public Builder setChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2913,8 +2618,7 @@ public Builder setChannels( * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder setChannels( - int index, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.set(index, builderForValue.build()); @@ -2925,8 +2629,6 @@ public Builder setChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2947,8 +2649,6 @@ public Builder addChannels(com.google.container.v1.ServerConfig.ReleaseChannelCo return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2970,8 +2670,6 @@ public Builder addChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2990,8 +2688,6 @@ public Builder addChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -2999,8 +2695,7 @@ public Builder addChannels( * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addChannels( - int index, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(index, builderForValue.build()); @@ -3011,8 +2706,6 @@ public Builder addChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -3020,11 +2713,11 @@ public Builder addChannels( * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addAllChannels( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channels_); onChanged(); } else { channelsBuilder_.addAllMessages(values); @@ -3032,8 +2725,6 @@ public Builder addAllChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -3051,8 +2742,6 @@ public Builder clearChannels() { return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -3070,8 +2759,6 @@ public Builder removeChannels(int index) { return this; } /** - * - * *
      * List of release channel configurations.
      * 
@@ -3083,8 +2770,6 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder getChan return getChannelsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of release channel configurations.
      * 
@@ -3094,23 +2779,19 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder getChan public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder( int index) { if (channelsBuilder_ == null) { - return channels_.get(index); - } else { + return channels_.get(index); } else { return channelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of release channel configurations.
      * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List< - ? extends com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> - getChannelsOrBuilderList() { + public java.util.List + getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); } else { @@ -3118,8 +2799,6 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getCha } } /** - * - * *
      * List of release channel configurations.
      * 
@@ -3127,13 +2806,10 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getCha * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder() { - return getChannelsFieldBuilder() - .addBuilder( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + return getChannelsFieldBuilder().addBuilder( + com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** - * - * *
      * List of release channel configurations.
      * 
@@ -3142,44 +2818,37 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder addChan */ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder( int index) { - return getChannelsFieldBuilder() - .addBuilder( - index, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + return getChannelsFieldBuilder().addBuilder( + index, com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** - * - * *
      * List of release channel configurations.
      * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List - getChannelsBuilderList() { + public java.util.List + getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ServerConfig.ReleaseChannelConfig, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, - com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> + com.google.container.v1.ServerConfig.ReleaseChannelConfig, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { - channelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ServerConfig.ReleaseChannelConfig, - com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, - com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder>( - channels_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.ServerConfig.ReleaseChannelConfig, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder>( + channels_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); channels_ = null; } return channelsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3189,12 +2858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ServerConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ServerConfig) private static final com.google.container.v1.ServerConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ServerConfig(); } @@ -3203,27 +2872,27 @@ public static com.google.container.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(); - } - }; + 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; @@ -3238,4 +2907,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java similarity index 78% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java index e9170ae71edc..3a2d9976882d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java @@ -1,244 +1,185 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface ServerConfigOrBuilder - extends +public interface ServerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ServerConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The defaultClusterVersion. */ java.lang.String getDefaultClusterVersion(); /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The bytes for defaultClusterVersion. */ - com.google.protobuf.ByteString getDefaultClusterVersionBytes(); + com.google.protobuf.ByteString + getDefaultClusterVersionBytes(); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return A list containing the validNodeVersions. */ - java.util.List getValidNodeVersionsList(); + java.util.List + getValidNodeVersionsList(); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return The count of validNodeVersions. */ int getValidNodeVersionsCount(); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ java.lang.String getValidNodeVersions(int index); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - com.google.protobuf.ByteString getValidNodeVersionsBytes(int index); + com.google.protobuf.ByteString + getValidNodeVersionsBytes(int index); /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The defaultImageType. */ java.lang.String getDefaultImageType(); /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The bytes for defaultImageType. */ - com.google.protobuf.ByteString getDefaultImageTypeBytes(); + com.google.protobuf.ByteString + getDefaultImageTypeBytes(); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return A list containing the validImageTypes. */ - java.util.List getValidImageTypesList(); + java.util.List + getValidImageTypesList(); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return The count of validImageTypes. */ int getValidImageTypesCount(); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ java.lang.String getValidImageTypes(int index); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - com.google.protobuf.ByteString getValidImageTypesBytes(int index); + com.google.protobuf.ByteString + getValidImageTypesBytes(int index); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return A list containing the validMasterVersions. */ - java.util.List getValidMasterVersionsList(); + java.util.List + getValidMasterVersionsList(); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return The count of validMasterVersions. */ int getValidMasterVersionsCount(); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ java.lang.String getValidMasterVersions(int index); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - com.google.protobuf.ByteString getValidMasterVersionsBytes(int index); + com.google.protobuf.ByteString + getValidMasterVersionsBytes(int index); /** - * - * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List getChannelsList(); + java.util.List + getChannelsList(); /** - * - * *
    * List of release channel configurations.
    * 
@@ -247,8 +188,6 @@ public interface ServerConfigOrBuilder */ com.google.container.v1.ServerConfig.ReleaseChannelConfig getChannels(int index); /** - * - * *
    * List of release channel configurations.
    * 
@@ -257,19 +196,15 @@ public interface ServerConfigOrBuilder */ int getChannelsCount(); /** - * - * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** - * - * *
    * List of release channel configurations.
    * 
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java index 3c07c3377159..7a18bdb3d17c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Config to block services with externalIPs field.
  * 
* * Protobuf type {@code google.container.v1.ServiceExternalIPsConfig} */ -public final class ServiceExternalIPsConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ServiceExternalIPsConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ServiceExternalIPsConfig) ServiceExternalIPsConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ServiceExternalIPsConfig.newBuilder() to construct. private ServiceExternalIPsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ServiceExternalIPsConfig() {} + private ServiceExternalIPsConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ServiceExternalIPsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServiceExternalIPsConfig.class, - com.google.container.v1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1.ServiceExternalIPsConfig.class, com.google.container.v1.ServiceExternalIPsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Services with ExternalIPs field are allowed or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ServiceExternalIPsConfig)) { return super.equals(obj); } - com.google.container.v1.ServiceExternalIPsConfig other = - (com.google.container.v1.ServiceExternalIPsConfig) obj; + com.google.container.v1.ServiceExternalIPsConfig other = (com.google.container.v1.ServiceExternalIPsConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServiceExternalIPsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( 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.ServiceExternalIPsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ServiceExternalIPsConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ServiceExternalIPsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ServiceExternalIPsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ServiceExternalIPsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Config to block services with externalIPs field.
    * 
* * Protobuf type {@code google.container.v1.ServiceExternalIPsConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ServiceExternalIPsConfig) com.google.container.v1.ServiceExternalIPsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServiceExternalIPsConfig.class, - com.google.container.v1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1.ServiceExternalIPsConfig.class, com.google.container.v1.ServiceExternalIPsConfig.Builder.class); } // Construct using com.google.container.v1.ServiceExternalIPsConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1.ServiceExternalIPsConfig build() { @java.lang.Override public com.google.container.v1.ServiceExternalIPsConfig buildPartial() { - com.google.container.v1.ServiceExternalIPsConfig result = - new com.google.container.v1.ServiceExternalIPsConfig(this); + com.google.container.v1.ServiceExternalIPsConfig result = new com.google.container.v1.ServiceExternalIPsConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1.ServiceExternalIPsConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ServiceExternalIPsConfig) { - return mergeFrom((com.google.container.v1.ServiceExternalIPsConfig) other); + return mergeFrom((com.google.container.v1.ServiceExternalIPsConfig)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ServiceExternalIPsConfig other) { - if (other == com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ServiceExternalIPsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ServiceExternalIPsConfig) private static final com.google.container.v1.ServiceExternalIPsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ServiceExternalIPsConfig(); } @@ -489,27 +450,27 @@ public static com.google.container.v1.ServiceExternalIPsConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceExternalIPsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceExternalIPsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ServiceExternalIPsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java new file mode 100644 index 000000000000..9448d4b20b7e --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ServiceExternalIPsConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ServiceExternalIPsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Services with ExternalIPs field are allowed or not.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index 27e64fddabbb..10a3c0aacf5f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetAddonsConfigRequest sets the addons associated with the cluster.
  * 
* * Protobuf type {@code google.container.v1.SetAddonsConfigRequest} */ -public final class SetAddonsConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetAddonsConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetAddonsConfigRequest) SetAddonsConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetAddonsConfigRequest.newBuilder() to construct. private SetAddonsConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetAddonsConfigRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private SetAddonsConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetAddonsConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetAddonsConfigRequest.class, - com.google.container.v1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1.SetAddonsConfigRequest.class, com.google.container.v1.SetAddonsConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,17 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ADDONS_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1.AddonsConfig addonsConfig_; /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -268,36 +229,25 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; } /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { @@ -307,15 +257,12 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -324,30 +271,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -356,7 +303,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -368,7 +314,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -403,7 +350,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (addonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAddonsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -416,22 +364,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetAddonsConfigRequest)) { return super.equals(obj); } - com.google.container.v1.SetAddonsConfigRequest other = - (com.google.container.v1.SetAddonsConfigRequest) obj; + com.google.container.v1.SetAddonsConfigRequest other = (com.google.container.v1.SetAddonsConfigRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasAddonsConfig() != other.hasAddonsConfig()) return false; if (hasAddonsConfig()) { - if (!getAddonsConfig().equals(other.getAddonsConfig())) return false; + if (!getAddonsConfig() + .equals(other.getAddonsConfig())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -460,136 +412,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetAddonsConfigRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetAddonsConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom( 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.SetAddonsConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetAddonsConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetAddonsConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetAddonsConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetAddonsConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetAddonsConfigRequest sets the addons associated with the cluster.
    * 
* * Protobuf type {@code google.container.v1.SetAddonsConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetAddonsConfigRequest) com.google.container.v1.SetAddonsConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetAddonsConfigRequest.class, - com.google.container.v1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1.SetAddonsConfigRequest.class, com.google.container.v1.SetAddonsConfigRequest.Builder.class); } // Construct using com.google.container.v1.SetAddonsConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -611,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; } @java.lang.Override @@ -632,8 +578,7 @@ public com.google.container.v1.SetAddonsConfigRequest build() { @java.lang.Override public com.google.container.v1.SetAddonsConfigRequest buildPartial() { - com.google.container.v1.SetAddonsConfigRequest result = - new com.google.container.v1.SetAddonsConfigRequest(this); + com.google.container.v1.SetAddonsConfigRequest result = new com.google.container.v1.SetAddonsConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -651,39 +596,38 @@ public com.google.container.v1.SetAddonsConfigRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetAddonsConfigRequest) { - return mergeFrom((com.google.container.v1.SetAddonsConfigRequest) other); + return mergeFrom((com.google.container.v1.SetAddonsConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -737,43 +681,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getAddonsConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -786,8 +726,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -795,16 +733,15 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -813,8 +750,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -822,17 +757,17 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -840,8 +775,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -849,25 +782,22 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -875,21 +805,17 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -897,19 +823,18 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -917,8 +842,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -927,16 +850,15 @@ 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=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -945,8 +867,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -955,17 +875,17 @@ 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=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -973,8 +893,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -983,25 +901,22 @@ 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=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1010,21 +925,17 @@ 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=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1033,19 +944,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1053,24 +963,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1079,25 +986,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1105,73 +1010,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1179,61 +1074,42 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder> - addonsConfigBuilder_; + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> addonsConfigBuilder_; /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The addonsConfig. */ public com.google.container.v1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { @@ -1249,18 +1125,15 @@ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAddonsConfig(com.google.container.v1.AddonsConfig.Builder builderForValue) { + public Builder setAddonsConfig( + com.google.container.v1.AddonsConfig.Builder builderForValue) { if (addonsConfigBuilder_ == null) { addonsConfig_ = builderForValue.build(); onChanged(); @@ -1271,24 +1144,18 @@ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig.Builder buil return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); } else { addonsConfig_ = value; } @@ -1300,16 +1167,12 @@ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAddonsConfig() { if (addonsConfigBuilder_ == null) { @@ -1323,67 +1186,51 @@ public Builder clearAddonsConfig() { return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null - ? com.google.container.v1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? + com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; } } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder> + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, - com.google.container.v1.AddonsConfig.Builder, - com.google.container.v1.AddonsConfigOrBuilder>( - getAddonsConfig(), getParentForChildren(), isClean()); + addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder>( + getAddonsConfig(), + getParentForChildren(), + isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -1391,21 +1238,19 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1414,22 +1259,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1437,71 +1281,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1511,12 +1348,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetAddonsConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetAddonsConfigRequest) private static final com.google.container.v1.SetAddonsConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetAddonsConfigRequest(); } @@ -1525,27 +1362,27 @@ public static com.google.container.v1.SetAddonsConfigRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetAddonsConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetAddonsConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1560,4 +1397,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetAddonsConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index 2347e4a1afcf..4251f9ac31d7 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetAddonsConfigRequestOrBuilder - extends +public interface SetAddonsConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetAddonsConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2404 + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2404 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetAddonsConfigRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,115 +58,88 @@ public interface SetAddonsConfigRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2410 + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2410 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2414 + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2414 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The addonsConfig. */ com.google.container.v1.AddonsConfig getAddonsConfig(); /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index 76f726be2dc8..4b5f31146441 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
  * Engine cluster, which will in turn set them for Google Compute Engine
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1.SetLabelsRequest}
  */
-public final class SetLabelsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SetLabelsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SetLabelsRequest)
     SetLabelsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SetLabelsRequest.newBuilder() to construct.
   private SetLabelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SetLabelsRequest() {
     projectId_ = "";
     zone_ = "";
@@ -49,46 +31,44 @@ private SetLabelsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SetLabelsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SetLabelsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SetLabelsRequest.class,
-            com.google.container.v1.SetLabelsRequest.Builder.class);
+            com.google.container.v1.SetLabelsRequest.class, com.google.container.v1.SetLabelsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -96,27 +76,24 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string project_id = 1 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -124,18 +101,18 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -146,8 +123,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -156,27 +131,24 @@ 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=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -185,18 +157,18 @@ 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=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -207,53 +179,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -262,22 +229,21 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } public static final int RESOURCE_LABELS_FIELD_NUMBER = 4; - private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -289,77 +255,70 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ + @java.lang.Override - public boolean containsResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetResourceLabels().getMap().containsKey(key); } - /** Use {@link #getResourceLabelsMap()} instead. */ + /** + * Use {@link #getResourceLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + + public java.lang.String getResourceLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -369,8 +328,6 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 5; private volatile java.lang.Object labelFingerprint_; /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -381,7 +338,6 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The labelFingerprint. */ @java.lang.Override @@ -390,15 +346,14 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -409,15 +364,16 @@ public java.lang.String getLabelFingerprint() {
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -428,15 +384,12 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -445,30 +398,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -477,7 +430,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -489,7 +441,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -499,8 +452,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterId_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetResourceLabels(), + ResourceLabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, labelFingerprint_); } @@ -525,15 +482,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } - for (java.util.Map.Entry entry : - internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry resourceLabels__ = - ResourceLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceLabels__); + for (java.util.Map.Entry entry + : internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, resourceLabels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, labelFingerprint_); @@ -549,19 +506,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLabelsRequest)) { return super.equals(obj); } com.google.container.v1.SetLabelsRequest other = (com.google.container.v1.SetLabelsRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; - if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false; - if (!getName().equals(other.getName())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!internalGetResourceLabels().equals( + other.internalGetResourceLabels())) return false; + if (!getLabelFingerprint() + .equals(other.getLabelFingerprint())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -592,104 +555,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLabelsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetLabelsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLabelsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLabelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLabelsRequest parseFrom( 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.SetLabelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLabelsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetLabelsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLabelsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetLabelsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetLabelsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetLabelsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLabelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLabelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetLabelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
    * Engine cluster, which will in turn set them for Google Compute Engine
@@ -698,52 +654,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.SetLabelsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SetLabelsRequest)
       com.google.container.v1.SetLabelsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetLabelsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SetLabelsRequest.class,
-              com.google.container.v1.SetLabelsRequest.Builder.class);
+              com.google.container.v1.SetLabelsRequest.class, com.google.container.v1.SetLabelsRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.SetLabelsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -762,9 +721,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetLabelsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -783,8 +742,7 @@ public com.google.container.v1.SetLabelsRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.SetLabelsRequest buildPartial() {
-      com.google.container.v1.SetLabelsRequest result =
-          new com.google.container.v1.SetLabelsRequest(this);
+      com.google.container.v1.SetLabelsRequest result = new com.google.container.v1.SetLabelsRequest(this);
       int from_bitField0_ = bitField0_;
       result.projectId_ = projectId_;
       result.zone_ = zone_;
@@ -801,39 +759,38 @@ public com.google.container.v1.SetLabelsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SetLabelsRequest) {
-        return mergeFrom((com.google.container.v1.SetLabelsRequest) other);
+        return mergeFrom((com.google.container.v1.SetLabelsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -854,7 +811,8 @@ public Builder mergeFrom(com.google.container.v1.SetLabelsRequest other) {
         clusterId_ = other.clusterId_;
         onChanged();
       }
-      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
+      internalGetMutableResourceLabels().mergeFrom(
+          other.internalGetResourceLabels());
       if (!other.getLabelFingerprint().isEmpty()) {
         labelFingerprint_ = other.labelFingerprint_;
         onChanged();
@@ -889,54 +847,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.protobuf.MapEntry resourceLabels__ =
-                    input.readMessage(
-                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableResourceLabels()
-                    .getMutableMap()
-                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
-                break;
-              } // case 34
-            case 42:
-              {
-                labelFingerprint_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 58:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              com.google.protobuf.MapEntry
+              resourceLabels__ = input.readMessage(
+                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableResourceLabels().getMutableMap().put(
+                  resourceLabels__.getKey(), resourceLabels__.getValue());
+              break;
+            } // case 34
+            case 42: {
+              labelFingerprint_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 58: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -946,13 +895,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -960,16 +906,15 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -978,8 +923,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -987,17 +930,17 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1005,8 +948,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1014,25 +955,22 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1040,21 +978,17 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1062,19 +996,18 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1082,8 +1015,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1092,16 +1023,15 @@ 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=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1110,8 +1040,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1120,17 +1048,17 @@ 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=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1138,8 +1066,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1148,25 +1074,22 @@ 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=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1175,21 +1098,17 @@ 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=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1198,19 +1117,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1218,24 +1136,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1244,25 +1159,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1270,96 +1183,84 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } - private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged(); - ; + internalGetMutableResourceLabels() { + onChanged();; if (resourceLabels_ == null) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -1371,81 +1272,70 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ + @java.lang.Override - public boolean containsResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetResourceLabels().getMap().containsKey(key); } - /** Use {@link #getResourceLabelsMap()} instead. */ + /** + * Use {@link #getResourceLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + + public java.lang.String getResourceLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1453,74 +1343,69 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { } public Builder clearResourceLabels() { - internalGetMutableResourceLabels().getMutableMap().clear(); + internalGetMutableResourceLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableResourceLabels().getMutableMap().remove(key); + + public Builder removeResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableResourceLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableResourceLabels() { + public java.util.Map + getMutableResourceLabels() { return internalGetMutableResourceLabels().getMutableMap(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putResourceLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putResourceLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableResourceLabels().getMutableMap().put(key, value); + internalGetMutableResourceLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putAllResourceLabels(java.util.Map values) { - internalGetMutableResourceLabels().getMutableMap().putAll(values); + + public Builder putAllResourceLabels( + java.util.Map values) { + internalGetMutableResourceLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object labelFingerprint_ = ""; /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1531,13 +1416,13 @@ public Builder putAllResourceLabels(java.util.Map
      *
      * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED];
-     *
      * @return The labelFingerprint.
      */
     public java.lang.String getLabelFingerprint() {
       java.lang.Object ref = labelFingerprint_;
       if (!(ref instanceof java.lang.String)) {
-        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+        com.google.protobuf.ByteString bs =
+            (com.google.protobuf.ByteString) ref;
         java.lang.String s = bs.toStringUtf8();
         labelFingerprint_ = s;
         return s;
@@ -1546,8 +1431,6 @@ public java.lang.String getLabelFingerprint() {
       }
     }
     /**
-     *
-     *
      * 
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1558,14 +1441,15 @@ public java.lang.String getLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1573,8 +1457,6 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { } } /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1585,22 +1467,20 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint(java.lang.String value) { + public Builder setLabelFingerprint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1611,18 +1491,15 @@ public Builder setLabelFingerprint(java.lang.String value) {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1633,16 +1510,16 @@ public Builder clearLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -1650,21 +1527,19 @@ public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1673,22 +1548,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1696,71 +1570,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1770,12 +1637,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetLabelsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLabelsRequest) private static final com.google.container.v1.SetLabelsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetLabelsRequest(); } @@ -1784,27 +1651,27 @@ public static com.google.container.v1.SetLabelsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLabelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLabelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1819,4 +1686,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLabelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java similarity index 67% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 4e286de67424..5de446b18977 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLabelsRequestOrBuilder - extends +public interface SetLabelsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLabelsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3519 + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3519 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetLabelsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,114 +58,96 @@ public interface SetLabelsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3525 + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3525 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3529 + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3529 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getResourceLabelsCount(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsResourceLabels( + java.lang.String key); + /** + * Use {@link #getResourceLabelsMap()} instead. */ - boolean containsResourceLabels(java.lang.String key); - /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map getResourceLabels(); + java.util.Map + getResourceLabels(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getResourceLabelsMap(); + java.util.Map + getResourceLabelsMap(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - java.lang.String getResourceLabelsOrDefault( +java.lang.String getResourceLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.lang.String getResourceLabelsOrThrow(java.lang.String key); + + java.lang.String getResourceLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -205,13 +158,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -222,35 +172,30 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString getLabelFingerprintBytes(); + com.google.protobuf.ByteString + getLabelFingerprintBytes(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 416317f725c3..69d2fdf64d3d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
  * a cluster.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.SetLegacyAbacRequest}
  */
-public final class SetLegacyAbacRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SetLegacyAbacRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SetLegacyAbacRequest)
     SetLegacyAbacRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SetLegacyAbacRequest.newBuilder() to construct.
   private SetLegacyAbacRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SetLegacyAbacRequest() {
     projectId_ = "";
     zone_ = "";
@@ -47,35 +29,32 @@ private SetLegacyAbacRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SetLegacyAbacRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SetLegacyAbacRequest.class,
-            com.google.container.v1.SetLegacyAbacRequest.Builder.class);
+            com.google.container.v1.SetLegacyAbacRequest.class, com.google.container.v1.SetLegacyAbacRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,14 +217,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ENABLED_FIELD_NUMBER = 4; private boolean enabled_; /** - * - * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ @java.lang.Override @@ -269,15 +232,12 @@ public boolean getEnabled() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -286,30 +246,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -318,7 +278,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -365,7 +325,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -378,19 +339,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLegacyAbacRequest)) { return super.equals(obj); } - com.google.container.v1.SetLegacyAbacRequest other = - (com.google.container.v1.SetLegacyAbacRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (getEnabled() != other.getEnabled()) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.SetLegacyAbacRequest other = (com.google.container.v1.SetLegacyAbacRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,7 +374,8 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -417,104 +383,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetLegacyAbacRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLegacyAbacRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom( 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.SetLegacyAbacRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetLegacyAbacRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetLegacyAbacRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetLegacyAbacRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetLegacyAbacRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
    * a cluster.
@@ -522,32 +481,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.SetLegacyAbacRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SetLegacyAbacRequest)
       com.google.container.v1.SetLegacyAbacRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SetLegacyAbacRequest.class,
-              com.google.container.v1.SetLegacyAbacRequest.Builder.class);
+              com.google.container.v1.SetLegacyAbacRequest.class, com.google.container.v1.SetLegacyAbacRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.SetLegacyAbacRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -565,9 +525,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
@@ -586,8 +546,7 @@ public com.google.container.v1.SetLegacyAbacRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.SetLegacyAbacRequest buildPartial() {
-      com.google.container.v1.SetLegacyAbacRequest result =
-          new com.google.container.v1.SetLegacyAbacRequest(this);
+      com.google.container.v1.SetLegacyAbacRequest result = new com.google.container.v1.SetLegacyAbacRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -601,39 +560,38 @@ public com.google.container.v1.SetLegacyAbacRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SetLegacyAbacRequest) {
-        return mergeFrom((com.google.container.v1.SetLegacyAbacRequest) other);
+        return mergeFrom((com.google.container.v1.SetLegacyAbacRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -687,43 +645,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                enabled_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              enabled_ = input.readBool();
 
-                break;
-              } // case 32
-            case 50:
-              {
-                name_ = input.readStringRequireUtf8();
+              break;
+            } // case 32
+            case 50: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -736,8 +688,6 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,16 +695,15 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -763,8 +712,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -772,17 +719,17 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -790,8 +737,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -799,25 +744,22 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -825,21 +767,17 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -847,19 +785,18 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -867,8 +804,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -877,16 +812,15 @@ 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=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -895,8 +829,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -905,17 +837,17 @@ 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=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -923,8 +855,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -933,25 +863,22 @@ 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=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -960,21 +887,17 @@ 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=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -983,19 +906,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1003,24 +925,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1029,25 +948,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1055,88 +972,75 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ @java.lang.Override @@ -1144,36 +1048,30 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -1181,21 +1079,19 @@ public Builder clearEnabled() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1204,22 +1100,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1227,71 +1122,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1301,12 +1189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetLegacyAbacRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLegacyAbacRequest) private static final com.google.container.v1.SetLegacyAbacRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetLegacyAbacRequest(); } @@ -1315,27 +1203,27 @@ public static com.google.container.v1.SetLegacyAbacRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLegacyAbacRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLegacyAbacRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,4 +1238,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLegacyAbacRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index 9730030380cf..4a6ca6c0b93a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLegacyAbacRequestOrBuilder - extends +public interface SetLegacyAbacRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLegacyAbacRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3553 + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3553 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetLegacyAbacRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,84 +58,68 @@ public interface SetLegacyAbacRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3559 + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3559 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3563 + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3563 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index 06aa31f2f495..a3068640b7a8 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetLocationsRequest sets the locations of the cluster.
  * 
* * Protobuf type {@code google.container.v1.SetLocationsRequest} */ -public final class SetLocationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetLocationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetLocationsRequest) SetLocationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetLocationsRequest.newBuilder() to construct. private SetLocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetLocationsRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private SetLocationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetLocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLocationsRequest.class, - com.google.container.v1.SetLocationsRequest.Builder.class); + com.google.container.v1.SetLocationsRequest.class, com.google.container.v1.SetLocationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int LOCATIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList locations_; /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -263,15 +227,13 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -282,15 +244,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -301,7 +260,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -309,8 +267,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -321,26 +277,23 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -349,30 +302,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -381,7 +334,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -393,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -446,19 +399,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLocationsRequest)) { return super.equals(obj); } - com.google.container.v1.SetLocationsRequest other = - (com.google.container.v1.SetLocationsRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getLocationsList().equals(other.getLocationsList())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.SetLocationsRequest other = (com.google.container.v1.SetLocationsRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,136 +444,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLocationsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetLocationsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLocationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLocationsRequest parseFrom( 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.SetLocationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLocationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetLocationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLocationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetLocationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetLocationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetLocationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetLocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLocationsRequest sets the locations of the cluster.
    * 
* * Protobuf type {@code google.container.v1.SetLocationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetLocationsRequest) com.google.container.v1.SetLocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLocationsRequest.class, - com.google.container.v1.SetLocationsRequest.Builder.class); + com.google.container.v1.SetLocationsRequest.class, com.google.container.v1.SetLocationsRequest.Builder.class); } // Construct using com.google.container.v1.SetLocationsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -634,9 +585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_descriptor; } @java.lang.Override @@ -655,8 +606,7 @@ public com.google.container.v1.SetLocationsRequest build() { @java.lang.Override public com.google.container.v1.SetLocationsRequest buildPartial() { - com.google.container.v1.SetLocationsRequest result = - new com.google.container.v1.SetLocationsRequest(this); + com.google.container.v1.SetLocationsRequest result = new com.google.container.v1.SetLocationsRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -675,39 +625,38 @@ public com.google.container.v1.SetLocationsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetLocationsRequest) { - return mergeFrom((com.google.container.v1.SetLocationsRequest) other); + return mergeFrom((com.google.container.v1.SetLocationsRequest)other); } else { super.mergeFrom(other); return this; @@ -768,44 +717,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -815,13 +758,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -829,16 +769,15 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -847,8 +786,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -856,17 +793,17 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -874,8 +811,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -883,25 +818,22 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -909,21 +841,17 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -931,19 +859,18 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -951,8 +878,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -961,16 +886,15 @@ 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=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -979,8 +903,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -989,17 +911,17 @@ 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=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1007,8 +929,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1017,25 +937,22 @@ 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=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1044,21 +961,17 @@ 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=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1067,19 +980,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1087,24 +999,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1113,25 +1022,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1139,90 +1046,76 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1233,15 +1126,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1252,15 +1143,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1271,7 +1159,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1279,8 +1166,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1291,16 +1176,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1311,23 +1194,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1338,22 +1219,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1364,19 +1243,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1387,7 +1265,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -1397,8 +1274,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1409,15 +1284,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -1426,21 +1301,19 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1449,22 +1322,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1472,71 +1344,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1546,12 +1411,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetLocationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLocationsRequest) private static final com.google.container.v1.SetLocationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetLocationsRequest(); } @@ -1560,27 +1425,27 @@ public static com.google.container.v1.SetLocationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1595,4 +1460,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLocationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java similarity index 75% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index af295256689e..ac969ba62e70 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLocationsRequestOrBuilder - extends +public interface SetLocationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLocationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2430 + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2430 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetLocationsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,50 +58,40 @@ public interface SetLocationsRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2436 + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2436 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2440 + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2440 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -141,13 +102,11 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -158,13 +117,10 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -175,14 +131,11 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -193,36 +146,31 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index 31d9d1d5871f..c0334acc4268 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetLoggingServiceRequest sets the logging service of a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetLoggingServiceRequest} */ -public final class SetLoggingServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetLoggingServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetLoggingServiceRequest) SetLoggingServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetLoggingServiceRequest.newBuilder() to construct. private SetLoggingServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetLoggingServiceRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private SetLoggingServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetLoggingServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLoggingServiceRequest.class, - com.google.container.v1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1.SetLoggingServiceRequest.class, com.google.container.v1.SetLoggingServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int LOGGING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object loggingService_; /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -266,7 +230,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The loggingService. */ @java.lang.Override @@ -275,15 +238,14 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -297,15 +259,16 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -316,15 +279,12 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -333,30 +293,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -365,7 +325,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,7 +336,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -425,19 +385,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLoggingServiceRequest)) { return super.equals(obj); } - com.google.container.v1.SetLoggingServiceRequest other = - (com.google.container.v1.SetLoggingServiceRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getLoggingService().equals(other.getLoggingService())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.SetLoggingServiceRequest other = (com.google.container.v1.SetLoggingServiceRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getLoggingService() + .equals(other.getLoggingService())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -464,136 +428,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLoggingServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( 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.SetLoggingServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.SetLoggingServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetLoggingServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetLoggingServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetLoggingServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetLoggingServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLoggingServiceRequest sets the logging service of a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetLoggingServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetLoggingServiceRequest) com.google.container.v1.SetLoggingServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLoggingServiceRequest.class, - com.google.container.v1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1.SetLoggingServiceRequest.class, com.google.container.v1.SetLoggingServiceRequest.Builder.class); } // Construct using com.google.container.v1.SetLoggingServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -611,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; } @java.lang.Override @@ -632,8 +590,7 @@ public com.google.container.v1.SetLoggingServiceRequest build() { @java.lang.Override public com.google.container.v1.SetLoggingServiceRequest buildPartial() { - com.google.container.v1.SetLoggingServiceRequest result = - new com.google.container.v1.SetLoggingServiceRequest(this); + com.google.container.v1.SetLoggingServiceRequest result = new com.google.container.v1.SetLoggingServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -647,39 +604,38 @@ public com.google.container.v1.SetLoggingServiceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetLoggingServiceRequest) { - return mergeFrom((com.google.container.v1.SetLoggingServiceRequest) other); + return mergeFrom((com.google.container.v1.SetLoggingServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -687,8 +643,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetLoggingServiceRequest other) { - if (other == com.google.container.v1.SetLoggingServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1.SetLoggingServiceRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -735,43 +690,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - loggingService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + loggingService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -784,8 +733,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -793,16 +740,15 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -811,8 +757,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -820,17 +764,17 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -838,8 +782,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -847,25 +789,22 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -873,21 +812,17 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -895,19 +830,18 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -915,8 +849,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -925,16 +857,15 @@ 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=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -943,8 +874,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -953,17 +882,17 @@ 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=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -971,8 +900,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -981,25 +908,22 @@ 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=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1008,21 +932,17 @@ 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=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1031,19 +951,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1051,24 +970,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1077,25 +993,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1103,73 +1017,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1177,8 +1081,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object loggingService_ = ""; /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1192,13 +1094,13 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -1207,8 +1109,6 @@ public java.lang.String getLoggingService() { } } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1222,14 +1122,15 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -1237,8 +1138,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { } } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1252,22 +1151,20 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService(java.lang.String value) { + public Builder setLoggingService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1281,18 +1178,15 @@ public Builder setLoggingService(java.lang.String value) {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1306,16 +1200,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -1323,21 +1217,19 @@ public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1346,22 +1238,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1369,71 +1260,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1443,12 +1327,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetLoggingServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLoggingServiceRequest) private static final com.google.container.v1.SetLoggingServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetLoggingServiceRequest(); } @@ -1457,27 +1341,27 @@ public static com.google.container.v1.SetLoggingServiceRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLoggingServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLoggingServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1492,4 +1376,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLoggingServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index 433f4f852732..b48a94b3e909 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLoggingServiceRequestOrBuilder - extends +public interface SetLoggingServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLoggingServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2334 + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetLoggingServiceRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,50 +58,40 @@ public interface SetLoggingServiceRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2340 + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2340 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2344 + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2344 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -144,13 +105,10 @@ public interface SetLoggingServiceRequestOrBuilder
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The loggingService. */ java.lang.String getLoggingService(); /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -164,35 +122,30 @@ public interface SetLoggingServiceRequestOrBuilder
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString getLoggingServiceBytes(); + com.google.protobuf.ByteString + getLoggingServiceBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java index ca30b3759120..6b63bdd5f149 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetMaintenancePolicyRequest} */ -public final class SetMaintenancePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetMaintenancePolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetMaintenancePolicyRequest) SetMaintenancePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetMaintenancePolicyRequest.newBuilder() to construct. private SetMaintenancePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetMaintenancePolicyRequest() { projectId_ = ""; zone_ = ""; @@ -46,42 +28,38 @@ private SetMaintenancePolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetMaintenancePolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMaintenancePolicyRequest.class, - com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1.SetMaintenancePolicyRequest.class, com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -124,8 +102,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -133,7 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ @java.lang.Override @@ -142,15 +117,14 @@ public java.lang.String getZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -158,15 +132,16 @@ public java.lang.String getZone() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -177,14 +152,11 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -193,29 +165,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -226,17 +198,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 4; private com.google.container.v1.MaintenancePolicy maintenancePolicy_; /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -244,36 +211,25 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null - ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { @@ -283,8 +239,6 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -292,7 +246,6 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -301,15 +254,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -317,15 +269,16 @@ public java.lang.String getName() {
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -334,7 +287,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,7 +298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -381,7 +334,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (maintenancePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaintenancePolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaintenancePolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -394,22 +348,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetMaintenancePolicyRequest)) { return super.equals(obj); } - com.google.container.v1.SetMaintenancePolicyRequest other = - (com.google.container.v1.SetMaintenancePolicyRequest) obj; + com.google.container.v1.SetMaintenancePolicyRequest other = (com.google.container.v1.SetMaintenancePolicyRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; if (hasMaintenancePolicy()) { - if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; + if (!getMaintenancePolicy() + .equals(other.getMaintenancePolicy())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -439,135 +397,129 @@ public int hashCode() { } public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( 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.SetMaintenancePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetMaintenancePolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetMaintenancePolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetMaintenancePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetMaintenancePolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetMaintenancePolicyRequest) com.google.container.v1.SetMaintenancePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMaintenancePolicyRequest.class, - com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1.SetMaintenancePolicyRequest.class, com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); } // Construct using com.google.container.v1.SetMaintenancePolicyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override @@ -610,8 +562,7 @@ public com.google.container.v1.SetMaintenancePolicyRequest build() { @java.lang.Override public com.google.container.v1.SetMaintenancePolicyRequest buildPartial() { - com.google.container.v1.SetMaintenancePolicyRequest result = - new com.google.container.v1.SetMaintenancePolicyRequest(this); + com.google.container.v1.SetMaintenancePolicyRequest result = new com.google.container.v1.SetMaintenancePolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -629,39 +580,38 @@ public com.google.container.v1.SetMaintenancePolicyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetMaintenancePolicyRequest) { - return mergeFrom((com.google.container.v1.SetMaintenancePolicyRequest) other); + return mergeFrom((com.google.container.v1.SetMaintenancePolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -669,8 +619,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetMaintenancePolicyRequest other) { - if (other == com.google.container.v1.SetMaintenancePolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1.SetMaintenancePolicyRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -716,44 +665,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -766,21 +710,19 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -789,22 +731,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -812,64 +753,57 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -877,8 +811,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -886,13 +818,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -901,8 +833,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -910,14 +840,15 @@ public java.lang.String getZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -925,8 +856,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -934,22 +863,20 @@ public com.google.protobuf.ByteString getZoneBytes() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -957,18 +884,15 @@ public Builder setZone(java.lang.String value) {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -976,16 +900,16 @@ public Builder clearZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -993,20 +917,18 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1015,21 +937,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1037,61 +958,54 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { + public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1099,61 +1013,42 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, - com.google.container.v1.MaintenancePolicy.Builder, - com.google.container.v1.MaintenancePolicyOrBuilder> - maintenancePolicyBuilder_; + com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The maintenancePolicy. */ public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null - ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaintenancePolicy(com.google.container.v1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { @@ -1169,16 +1064,12 @@ public Builder setMaintenancePolicy(com.google.container.v1.MaintenancePolicy va return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaintenancePolicy( com.google.container.v1.MaintenancePolicy.Builder builderForValue) { @@ -1192,24 +1083,18 @@ public Builder setMaintenancePolicy( return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); } else { maintenancePolicy_ = value; } @@ -1221,16 +1106,12 @@ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { @@ -1244,67 +1125,51 @@ public Builder clearMaintenancePolicy() { return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null - ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? + com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, - com.google.container.v1.MaintenancePolicy.Builder, - com.google.container.v1.MaintenancePolicyOrBuilder> + com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, - com.google.container.v1.MaintenancePolicy.Builder, - com.google.container.v1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), getParentForChildren(), isClean()); + maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), + getParentForChildren(), + isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -1312,8 +1177,6 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1321,13 +1184,13 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1336,8 +1199,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1345,14 +1206,15 @@ public java.lang.String getName() {
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1360,8 +1222,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1369,22 +1229,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1392,18 +1250,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1411,23 +1266,23 @@ public Builder clearName() {
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1437,12 +1292,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetMaintenancePolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetMaintenancePolicyRequest) private static final com.google.container.v1.SetMaintenancePolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetMaintenancePolicyRequest(); } @@ -1451,27 +1306,27 @@ public static com.google.container.v1.SetMaintenancePolicyRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMaintenancePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMaintenancePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1486,4 +1341,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.SetMaintenancePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java index 19df4b8e9d6a..5c93cec78a60 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetMaintenancePolicyRequestOrBuilder - extends +public interface SetMaintenancePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetMaintenancePolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -60,13 +37,10 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -74,83 +48,62 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The maintenancePolicy. */ com.google.container.v1.MaintenancePolicy getMaintenancePolicy(); /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -158,13 +111,10 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -172,8 +122,8 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index 1c17b607afe0..0d14f0805731 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetMasterAuthRequest updates the admin password of a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetMasterAuthRequest} */ -public final class SetMasterAuthRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetMasterAuthRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetMasterAuthRequest) SetMasterAuthRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetMasterAuthRequest.newBuilder() to construct. private SetMasterAuthRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetMasterAuthRequest() { projectId_ = ""; zone_ = ""; @@ -47,43 +29,39 @@ private SetMasterAuthRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetMasterAuthRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMasterAuthRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMasterAuthRequest.class, - com.google.container.v1.SetMasterAuthRequest.Builder.class); + com.google.container.v1.SetMasterAuthRequest.class, com.google.container.v1.SetMasterAuthRequest.Builder.class); } /** - * - * *
    * Operation type: what type update to perform.
    * 
* * Protobuf enum {@code google.container.v1.SetMasterAuthRequest.Action} */ - public enum Action implements com.google.protobuf.ProtocolMessageEnum { + public enum Action + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Operation is unknown and will error out.
      * 
@@ -92,8 +70,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * Set the password to a user generated value.
      * 
@@ -102,8 +78,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ SET_PASSWORD(1), /** - * - * *
      * Generate a new password and set it to that.
      * 
@@ -112,8 +86,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ GENERATE_PASSWORD(2), /** - * - * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -128,8 +100,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Operation is unknown and will error out.
      * 
@@ -138,8 +108,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * Set the password to a user generated value.
      * 
@@ -148,8 +116,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_PASSWORD_VALUE = 1; /** - * - * *
      * Generate a new password and set it to that.
      * 
@@ -158,8 +124,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GENERATE_PASSWORD_VALUE = 2; /** - * - * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -171,6 +135,7 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SET_USERNAME_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -195,51 +160,50 @@ public static Action valueOf(int value) {
      */
     public static Action forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNKNOWN;
-        case 1:
-          return SET_PASSWORD;
-        case 2:
-          return GENERATE_PASSWORD;
-        case 3:
-          return SET_USERNAME;
-        default:
-          return null;
+        case 0: return UNKNOWN;
+        case 1: return SET_PASSWORD;
+        case 2: return GENERATE_PASSWORD;
+        case 3: return SET_USERNAME;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Action> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Action findValueByNumber(int number) {
+              return Action.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Action findValueByNumber(int number) {
-            return Action.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.SetMasterAuthRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Action[] VALUES = values();
 
-    public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Action valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -259,8 +223,6 @@ private Action(int value) {
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -268,27 +230,24 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -296,18 +255,18 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -318,8 +277,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -328,27 +285,24 @@ 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=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -357,18 +311,18 @@ 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=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -379,53 +333,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -436,57 +385,38 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ACTION_FIELD_NUMBER = 4; private int action_; /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The action. */ - @java.lang.Override - public com.google.container.v1.SetMasterAuthRequest.Action getAction() { + @java.lang.Override public com.google.container.v1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1.SetMasterAuthRequest.Action result = - com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null - ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED - : result; + com.google.container.v1.SetMasterAuthRequest.Action result = com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; } public static final int UPDATE_FIELD_NUMBER = 5; private com.google.container.v1.MasterAuth update_; /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ @java.lang.Override @@ -494,15 +424,11 @@ public boolean hasUpdate() { return update_ != null; } /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ @java.lang.Override @@ -510,14 +436,11 @@ public com.google.container.v1.MasterAuth getUpdate() { return update_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : update_; } /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { @@ -527,15 +450,12 @@ public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -544,30 +464,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -576,7 +496,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -588,7 +507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -626,10 +546,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (action_ != com.google.container.v1.SetMasterAuthRequest.Action.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, action_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, action_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -642,23 +564,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetMasterAuthRequest)) { return super.equals(obj); } - com.google.container.v1.SetMasterAuthRequest other = - (com.google.container.v1.SetMasterAuthRequest) obj; + com.google.container.v1.SetMasterAuthRequest other = (com.google.container.v1.SetMasterAuthRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (action_ != other.action_) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -689,136 +615,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetMasterAuthRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetMasterAuthRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMasterAuthRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMasterAuthRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMasterAuthRequest parseFrom( 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.SetMasterAuthRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMasterAuthRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetMasterAuthRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetMasterAuthRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetMasterAuthRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetMasterAuthRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetMasterAuthRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetMasterAuthRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetMasterAuthRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetMasterAuthRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetMasterAuthRequest updates the admin password of a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetMasterAuthRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetMasterAuthRequest) com.google.container.v1.SetMasterAuthRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMasterAuthRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMasterAuthRequest.class, - com.google.container.v1.SetMasterAuthRequest.Builder.class); + com.google.container.v1.SetMasterAuthRequest.class, com.google.container.v1.SetMasterAuthRequest.Builder.class); } // Construct using com.google.container.v1.SetMasterAuthRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -842,9 +762,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMasterAuthRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_descriptor; } @java.lang.Override @@ -863,8 +783,7 @@ public com.google.container.v1.SetMasterAuthRequest build() { @java.lang.Override public com.google.container.v1.SetMasterAuthRequest buildPartial() { - com.google.container.v1.SetMasterAuthRequest result = - new com.google.container.v1.SetMasterAuthRequest(this); + com.google.container.v1.SetMasterAuthRequest result = new com.google.container.v1.SetMasterAuthRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -883,39 +802,38 @@ public com.google.container.v1.SetMasterAuthRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetMasterAuthRequest) { - return mergeFrom((com.google.container.v1.SetMasterAuthRequest) other); + return mergeFrom((com.google.container.v1.SetMasterAuthRequest)other); } else { super.mergeFrom(other); return this; @@ -972,49 +890,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - action_ = input.readEnum(); - - break; - } // case 32 - case 42: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 58: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + action_ = input.readEnum(); + + break; + } // case 32 + case 42: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 58: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1027,8 +940,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1036,16 +947,15 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1054,8 +964,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1063,17 +971,17 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1081,8 +989,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1090,25 +996,22 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1116,21 +1019,17 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1138,19 +1037,18 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1158,8 +1056,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1168,16 +1064,15 @@ 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=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1186,8 +1081,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1196,17 +1089,17 @@ 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=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1214,8 +1107,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1224,25 +1115,22 @@ 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=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1251,21 +1139,17 @@ 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=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1274,19 +1158,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1294,24 +1177,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1320,25 +1200,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1346,73 +1224,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1420,75 +1288,51 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private int action_ = 0; /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ public Builder setActionValue(int value) { - + action_ = value; onChanged(); return this; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The action. */ @java.lang.Override public com.google.container.v1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1.SetMasterAuthRequest.Action result = - com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null - ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED - : result; + com.google.container.v1.SetMasterAuthRequest.Action result = com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The action to set. * @return This builder for chaining. */ @@ -1496,26 +1340,21 @@ public Builder setAction(com.google.container.v1.SetMasterAuthRequest.Action val if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearAction() { - + action_ = 0; onChanged(); return this; @@ -1523,35 +1362,24 @@ public Builder clearAction() { private com.google.container.v1.MasterAuth update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuth, - com.google.container.v1.MasterAuth.Builder, - com.google.container.v1.MasterAuthOrBuilder> - updateBuilder_; + com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> updateBuilder_; /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ public com.google.container.v1.MasterAuth getUpdate() { @@ -1562,14 +1390,11 @@ public com.google.container.v1.MasterAuth getUpdate() { } } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdate(com.google.container.v1.MasterAuth value) { if (updateBuilder_ == null) { @@ -1585,16 +1410,14 @@ public Builder setUpdate(com.google.container.v1.MasterAuth value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdate(com.google.container.v1.MasterAuth.Builder builderForValue) { + public Builder setUpdate( + com.google.container.v1.MasterAuth.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1605,22 +1428,17 @@ public Builder setUpdate(com.google.container.v1.MasterAuth.Builder builderForVa return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdate(com.google.container.v1.MasterAuth value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1.MasterAuth.newBuilder(update_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.MasterAuth.newBuilder(update_).mergeFrom(value).buildPartial(); } else { update_ = value; } @@ -1632,14 +1450,11 @@ public Builder mergeUpdate(com.google.container.v1.MasterAuth value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1653,59 +1468,48 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.MasterAuth.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : update_; + return update_ == null ? + com.google.container.v1.MasterAuth.getDefaultInstance() : update_; } } /** - * - * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuth, - com.google.container.v1.MasterAuth.Builder, - com.google.container.v1.MasterAuthOrBuilder> + com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuth, - com.google.container.v1.MasterAuth.Builder, - com.google.container.v1.MasterAuthOrBuilder>( - getUpdate(), getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder>( + getUpdate(), + getParentForChildren(), + isClean()); update_ = null; } return updateBuilder_; @@ -1713,21 +1517,19 @@ public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1736,22 +1538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1759,71 +1560,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1833,12 +1627,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetMasterAuthRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetMasterAuthRequest) private static final com.google.container.v1.SetMasterAuthRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetMasterAuthRequest(); } @@ -1847,27 +1641,27 @@ public static com.google.container.v1.SetMasterAuthRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMasterAuthRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMasterAuthRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1882,4 +1676,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetMasterAuthRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index 1f70c6decf25..758064538337 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetMasterAuthRequestOrBuilder - extends +public interface SetMasterAuthRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetMasterAuthRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2513 + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2513 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetMasterAuthRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,138 +58,104 @@ public interface SetMasterAuthRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2519 + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2519 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2523 + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2523 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for action. */ int getActionValue(); /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The action. */ com.google.container.v1.SetMasterAuthRequest.Action getAction(); /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ com.google.container.v1.MasterAuth getUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index baaa9a349c5f..3db4dd6b4bd4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetMonitoringServiceRequest sets the monitoring service of a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetMonitoringServiceRequest} */ -public final class SetMonitoringServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetMonitoringServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetMonitoringServiceRequest) SetMonitoringServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetMonitoringServiceRequest.newBuilder() to construct. private SetMonitoringServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetMonitoringServiceRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private SetMonitoringServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetMonitoringServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMonitoringServiceRequest.class, - com.google.container.v1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1.SetMonitoringServiceRequest.class, com.google.container.v1.SetMonitoringServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int MONITORING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object monitoringService_; /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -266,7 +230,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monitoringService. */ @java.lang.Override @@ -275,15 +238,14 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -297,15 +259,16 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -316,15 +279,12 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -333,30 +293,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -365,7 +325,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,7 +336,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -425,19 +385,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetMonitoringServiceRequest)) { return super.equals(obj); } - com.google.container.v1.SetMonitoringServiceRequest other = - (com.google.container.v1.SetMonitoringServiceRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getMonitoringService().equals(other.getMonitoringService())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.SetMonitoringServiceRequest other = (com.google.container.v1.SetMonitoringServiceRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getMonitoringService() + .equals(other.getMonitoringService())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -465,135 +429,129 @@ public int hashCode() { } public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMonitoringServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( 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.SetMonitoringServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetMonitoringServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetMonitoringServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetMonitoringServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetMonitoringServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetMonitoringServiceRequest sets the monitoring service of a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetMonitoringServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetMonitoringServiceRequest) com.google.container.v1.SetMonitoringServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMonitoringServiceRequest.class, - com.google.container.v1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1.SetMonitoringServiceRequest.class, com.google.container.v1.SetMonitoringServiceRequest.Builder.class); } // Construct using com.google.container.v1.SetMonitoringServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -611,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override @@ -632,8 +590,7 @@ public com.google.container.v1.SetMonitoringServiceRequest build() { @java.lang.Override public com.google.container.v1.SetMonitoringServiceRequest buildPartial() { - com.google.container.v1.SetMonitoringServiceRequest result = - new com.google.container.v1.SetMonitoringServiceRequest(this); + com.google.container.v1.SetMonitoringServiceRequest result = new com.google.container.v1.SetMonitoringServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -647,39 +604,38 @@ public com.google.container.v1.SetMonitoringServiceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetMonitoringServiceRequest) { - return mergeFrom((com.google.container.v1.SetMonitoringServiceRequest) other); + return mergeFrom((com.google.container.v1.SetMonitoringServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -687,8 +643,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetMonitoringServiceRequest other) { - if (other == com.google.container.v1.SetMonitoringServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1.SetMonitoringServiceRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -735,43 +690,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - monitoringService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + monitoringService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -784,8 +733,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -793,16 +740,15 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -811,8 +757,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -820,17 +764,17 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -838,8 +782,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -847,25 +789,22 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -873,21 +812,17 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -895,19 +830,18 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -915,8 +849,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -925,16 +857,15 @@ 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=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -943,8 +874,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -953,17 +882,17 @@ 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=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -971,8 +900,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -981,25 +908,22 @@ 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=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1008,21 +932,17 @@ 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=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1031,19 +951,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1051,24 +970,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1077,25 +993,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1103,73 +1017,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1177,8 +1081,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object monitoringService_ = ""; /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1192,13 +1094,13 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -1207,8 +1109,6 @@ public java.lang.String getMonitoringService() { } } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1222,14 +1122,15 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -1237,8 +1138,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { } } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1252,22 +1151,20 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService(java.lang.String value) { + public Builder setMonitoringService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1281,18 +1178,15 @@ public Builder setMonitoringService(java.lang.String value) {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1306,16 +1200,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -1323,21 +1217,19 @@ public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1346,22 +1238,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1369,71 +1260,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1443,12 +1327,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetMonitoringServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetMonitoringServiceRequest) private static final com.google.container.v1.SetMonitoringServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetMonitoringServiceRequest(); } @@ -1457,27 +1341,27 @@ public static com.google.container.v1.SetMonitoringServiceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMonitoringServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMonitoringServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1492,4 +1376,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.SetMonitoringServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index 190f6a8e5540..b520445f03da 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetMonitoringServiceRequestOrBuilder - extends +public interface SetMonitoringServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetMonitoringServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2369 + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2369 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetMonitoringServiceRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,50 +58,40 @@ public interface SetMonitoringServiceRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2375 + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2375 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2379 + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2379 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -144,13 +105,10 @@ public interface SetMonitoringServiceRequestOrBuilder
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -164,35 +122,30 @@ public interface SetMonitoringServiceRequestOrBuilder
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString getMonitoringServiceBytes(); + com.google.protobuf.ByteString + getMonitoringServiceBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index d8472b415c33..a7e8b13ab36c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetNetworkPolicyRequest enables/disables network policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetNetworkPolicyRequest} */ -public final class SetNetworkPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetNetworkPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetNetworkPolicyRequest) SetNetworkPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetNetworkPolicyRequest.newBuilder() to construct. private SetNetworkPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetNetworkPolicyRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private SetNetworkPolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetNetworkPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNetworkPolicyRequest.class, - com.google.container.v1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1.SetNetworkPolicyRequest.class, com.google.container.v1.SetNetworkPolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,16 +216,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NETWORK_POLICY_FIELD_NUMBER = 4; private com.google.container.v1.NetworkPolicy networkPolicy_; /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -267,34 +228,23 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null - ? com.google.container.v1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { @@ -304,15 +254,12 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -321,30 +268,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -353,7 +300,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -400,7 +347,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (networkPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNetworkPolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -413,22 +361,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNetworkPolicyRequest)) { return super.equals(obj); } - com.google.container.v1.SetNetworkPolicyRequest other = - (com.google.container.v1.SetNetworkPolicyRequest) obj; + com.google.container.v1.SetNetworkPolicyRequest other = (com.google.container.v1.SetNetworkPolicyRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false; if (hasNetworkPolicy()) { - if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false; + if (!getNetworkPolicy() + .equals(other.getNetworkPolicy())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -457,136 +409,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNetworkPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( 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.SetNetworkPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetNetworkPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetNetworkPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetNetworkPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetNetworkPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNetworkPolicyRequest enables/disables network policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetNetworkPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetNetworkPolicyRequest) com.google.container.v1.SetNetworkPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNetworkPolicyRequest.class, - com.google.container.v1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1.SetNetworkPolicyRequest.class, com.google.container.v1.SetNetworkPolicyRequest.Builder.class); } // Construct using com.google.container.v1.SetNetworkPolicyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -608,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override @@ -629,8 +575,7 @@ public com.google.container.v1.SetNetworkPolicyRequest build() { @java.lang.Override public com.google.container.v1.SetNetworkPolicyRequest buildPartial() { - com.google.container.v1.SetNetworkPolicyRequest result = - new com.google.container.v1.SetNetworkPolicyRequest(this); + com.google.container.v1.SetNetworkPolicyRequest result = new com.google.container.v1.SetNetworkPolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -648,39 +593,38 @@ public com.google.container.v1.SetNetworkPolicyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetNetworkPolicyRequest) { - return mergeFrom((com.google.container.v1.SetNetworkPolicyRequest) other); + return mergeFrom((com.google.container.v1.SetNetworkPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -688,8 +632,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetNetworkPolicyRequest other) { - if (other == com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -735,43 +678,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getNetworkPolicyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -784,8 +723,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -793,16 +730,15 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -811,8 +747,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -820,17 +754,17 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -838,8 +772,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -847,25 +779,22 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -873,21 +802,17 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -895,19 +820,18 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -915,8 +839,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -925,16 +847,15 @@ 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=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -943,8 +864,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -953,17 +872,17 @@ 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=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -971,8 +890,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -981,25 +898,22 @@ 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=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1008,21 +922,17 @@ 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=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1031,19 +941,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1051,24 +960,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1077,25 +983,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1103,73 +1007,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1177,58 +1071,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, - com.google.container.v1.NetworkPolicy.Builder, - com.google.container.v1.NetworkPolicyOrBuilder> - networkPolicyBuilder_; + com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> networkPolicyBuilder_; /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networkPolicy. */ public com.google.container.v1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null - ? com.google.container.v1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { @@ -1244,17 +1119,14 @@ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy.Builder builderForValue) { + public Builder setNetworkPolicy( + com.google.container.v1.NetworkPolicy.Builder builderForValue) { if (networkPolicyBuilder_ == null) { networkPolicy_ = builderForValue.build(); onChanged(); @@ -1265,23 +1137,17 @@ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy.Builder bu return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); } else { networkPolicy_ = value; } @@ -1293,15 +1159,11 @@ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNetworkPolicy() { if (networkPolicyBuilder_ == null) { @@ -1315,64 +1177,48 @@ public Builder clearNetworkPolicy() { return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null - ? com.google.container.v1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? + com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, - com.google.container.v1.NetworkPolicy.Builder, - com.google.container.v1.NetworkPolicyOrBuilder> + com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, - com.google.container.v1.NetworkPolicy.Builder, - com.google.container.v1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), getParentForChildren(), isClean()); + networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), + getParentForChildren(), + isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -1380,21 +1226,19 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1403,22 +1247,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1426,71 +1269,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1500,12 +1336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetNetworkPolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNetworkPolicyRequest) private static final com.google.container.v1.SetNetworkPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetNetworkPolicyRequest(); } @@ -1514,27 +1350,27 @@ public static com.google.container.v1.SetNetworkPolicyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNetworkPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNetworkPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1549,4 +1385,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetNetworkPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index 13eb27c71fe7..43cfaa269d12 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNetworkPolicyRequestOrBuilder - extends +public interface SetNetworkPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNetworkPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3688 + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3688 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetNetworkPolicyRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,112 +58,85 @@ public interface SetNetworkPolicyRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3694 + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3694 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3698 + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3698 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networkPolicy. */ com.google.container.v1.NetworkPolicy getNetworkPolicy(); /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 12cd59b0251d..a2c0f62e25d0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
  * 
* * Protobuf type {@code google.container.v1.SetNodePoolAutoscalingRequest} */ -public final class SetNodePoolAutoscalingRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetNodePoolAutoscalingRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetNodePoolAutoscalingRequest) SetNodePoolAutoscalingRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetNodePoolAutoscalingRequest.newBuilder() to construct. private SetNodePoolAutoscalingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetNodePoolAutoscalingRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private SetNodePoolAutoscalingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetNodePoolAutoscalingRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolAutoscalingRequest.class, - com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1.SetNodePoolAutoscalingRequest.class, com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,53 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -308,16 +269,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int AUTOSCALING_FIELD_NUMBER = 5; private com.google.container.v1.NodePoolAutoscaling autoscaling_; /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -325,34 +281,23 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { @@ -362,8 +307,6 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -371,7 +314,6 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -380,15 +322,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -396,15 +337,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -413,7 +355,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -425,7 +366,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -466,7 +408,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAutoscaling()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -479,23 +422,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNodePoolAutoscalingRequest)) { return super.equals(obj); } - com.google.container.v1.SetNodePoolAutoscalingRequest other = - (com.google.container.v1.SetNodePoolAutoscalingRequest) obj; + com.google.container.v1.SetNodePoolAutoscalingRequest other = (com.google.container.v1.SetNodePoolAutoscalingRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling().equals(other.getAutoscaling())) return false; + if (!getAutoscaling() + .equals(other.getAutoscaling())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -527,136 +475,129 @@ public int hashCode() { } public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( 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.SetNodePoolAutoscalingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.SetNodePoolAutoscalingRequest prototype) { + public static Builder newBuilder(com.google.container.v1.SetNodePoolAutoscalingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
    * 
* * Protobuf type {@code google.container.v1.SetNodePoolAutoscalingRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetNodePoolAutoscalingRequest) com.google.container.v1.SetNodePoolAutoscalingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolAutoscalingRequest.class, - com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1.SetNodePoolAutoscalingRequest.class, com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); } // Construct using com.google.container.v1.SetNodePoolAutoscalingRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -680,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override @@ -701,8 +642,7 @@ public com.google.container.v1.SetNodePoolAutoscalingRequest build() { @java.lang.Override public com.google.container.v1.SetNodePoolAutoscalingRequest buildPartial() { - com.google.container.v1.SetNodePoolAutoscalingRequest result = - new com.google.container.v1.SetNodePoolAutoscalingRequest(this); + com.google.container.v1.SetNodePoolAutoscalingRequest result = new com.google.container.v1.SetNodePoolAutoscalingRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -721,39 +661,38 @@ public com.google.container.v1.SetNodePoolAutoscalingRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetNodePoolAutoscalingRequest) { - return mergeFrom((com.google.container.v1.SetNodePoolAutoscalingRequest) other); + return mergeFrom((com.google.container.v1.SetNodePoolAutoscalingRequest)other); } else { super.mergeFrom(other); return this; @@ -761,8 +700,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetNodePoolAutoscalingRequest other) { - if (other == com.google.container.v1.SetNodePoolAutoscalingRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1.SetNodePoolAutoscalingRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -812,49 +750,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + input.readMessage( + getAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -867,8 +800,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -876,16 +807,15 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -894,8 +824,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -903,17 +831,17 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -921,8 +849,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -930,25 +856,22 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -956,21 +879,17 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -978,19 +897,18 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -998,8 +916,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1008,16 +924,15 @@ 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=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1026,8 +941,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1036,17 +949,17 @@ 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=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1054,8 +967,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1064,25 +975,22 @@ 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=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1091,21 +999,17 @@ 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=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1114,19 +1018,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1134,24 +1037,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1160,25 +1060,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1186,73 +1084,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1260,24 +1148,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1286,25 +1171,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1312,73 +1195,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1386,58 +1259,39 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, - com.google.container.v1.NodePoolAutoscaling.Builder, - com.google.container.v1.NodePoolAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscaling(com.google.container.v1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { @@ -1453,15 +1307,11 @@ public Builder setAutoscaling(com.google.container.v1.NodePoolAutoscaling value) return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscaling( com.google.container.v1.NodePoolAutoscaling.Builder builderForValue) { @@ -1475,23 +1325,17 @@ public Builder setAutoscaling( return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); } else { autoscaling_ = value; } @@ -1503,15 +1347,11 @@ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling valu return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscaling() { if (autoscalingBuilder_ == null) { @@ -1525,64 +1365,48 @@ public Builder clearAutoscaling() { return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NodePoolAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null - ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? + com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, - com.google.container.v1.NodePoolAutoscaling.Builder, - com.google.container.v1.NodePoolAutoscalingOrBuilder> + com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, - com.google.container.v1.NodePoolAutoscaling.Builder, - com.google.container.v1.NodePoolAutoscalingOrBuilder>( - getAutoscaling(), getParentForChildren(), isClean()); + autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder>( + getAutoscaling(), + getParentForChildren(), + isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -1590,8 +1414,6 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1599,13 +1421,13 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1614,8 +1436,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1623,14 +1443,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1638,8 +1459,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1647,22 +1466,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1670,18 +1487,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1689,23 +1503,23 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1715,12 +1529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetNodePoolAutoscalingRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolAutoscalingRequest) private static final com.google.container.v1.SetNodePoolAutoscalingRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetNodePoolAutoscalingRequest(); } @@ -1729,27 +1543,27 @@ public static com.google.container.v1.SetNodePoolAutoscalingRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolAutoscalingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolAutoscalingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1764,4 +1578,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1.SetNodePoolAutoscalingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index 1fbf018078c0..c9cc10198d5d 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNodePoolAutoscalingRequestOrBuilder - extends +public interface SetNodePoolAutoscalingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNodePoolAutoscalingRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2304 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2304 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetNodePoolAutoscalingRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,124 +58,93 @@ public interface SetNodePoolAutoscalingRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2310 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2310 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2314 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2314 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2318 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ com.google.container.v1.NodePoolAutoscaling getAutoscaling(); /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -212,13 +152,10 @@ public interface SetNodePoolAutoscalingRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -226,8 +163,8 @@ public interface SetNodePoolAutoscalingRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index 371764ff4f20..f9eec3097b31 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetNodePoolManagementRequest sets the node management properties of a node
  * pool.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.SetNodePoolManagementRequest}
  */
-public final class SetNodePoolManagementRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SetNodePoolManagementRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SetNodePoolManagementRequest)
     SetNodePoolManagementRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SetNodePoolManagementRequest.newBuilder() to construct.
   private SetNodePoolManagementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SetNodePoolManagementRequest() {
     projectId_ = "";
     zone_ = "";
@@ -48,35 +30,32 @@ private SetNodePoolManagementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SetNodePoolManagementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SetNodePoolManagementRequest.class,
-            com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
+            com.google.container.v1.SetNodePoolManagementRequest.class, com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -84,27 +63,24 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -112,18 +88,18 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +110,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +118,24 @@ 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=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +144,18 @@ 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=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,53 +166,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -252,53 +218,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -309,16 +270,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int MANAGEMENT_FIELD_NUMBER = 5; private com.google.container.v1.NodeManagement management_; /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the management field is set. */ @java.lang.Override @@ -326,34 +282,23 @@ public boolean hasManagement() { return management_ != null; } /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The management. */ @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() { @@ -363,8 +308,6 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -372,7 +315,6 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -381,15 +323,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -397,15 +338,16 @@ public java.lang.String getName() {
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -414,7 +356,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,7 +367,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -467,7 +409,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -480,23 +423,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNodePoolManagementRequest)) { return super.equals(obj); } - com.google.container.v1.SetNodePoolManagementRequest other = - (com.google.container.v1.SetNodePoolManagementRequest) obj; + com.google.container.v1.SetNodePoolManagementRequest other = (com.google.container.v1.SetNodePoolManagementRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement().equals(other.getManagement())) return false; + if (!getManagement() + .equals(other.getManagement())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -528,103 +476,96 @@ public int hashCode() { } public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolManagementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( 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.SetNodePoolManagementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetNodePoolManagementRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetNodePoolManagementRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolManagementRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetNodePoolManagementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNodePoolManagementRequest sets the node management properties of a node
    * pool.
@@ -632,32 +573,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.SetNodePoolManagementRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SetNodePoolManagementRequest)
       com.google.container.v1.SetNodePoolManagementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SetNodePoolManagementRequest.class,
-              com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
+              com.google.container.v1.SetNodePoolManagementRequest.class, com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.SetNodePoolManagementRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -681,9 +623,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -702,8 +644,7 @@ public com.google.container.v1.SetNodePoolManagementRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.SetNodePoolManagementRequest buildPartial() {
-      com.google.container.v1.SetNodePoolManagementRequest result =
-          new com.google.container.v1.SetNodePoolManagementRequest(this);
+      com.google.container.v1.SetNodePoolManagementRequest result = new com.google.container.v1.SetNodePoolManagementRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -722,39 +663,38 @@ public com.google.container.v1.SetNodePoolManagementRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SetNodePoolManagementRequest) {
-        return mergeFrom((com.google.container.v1.SetNodePoolManagementRequest) other);
+        return mergeFrom((com.google.container.v1.SetNodePoolManagementRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -762,8 +702,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.SetNodePoolManagementRequest other) {
-      if (other == com.google.container.v1.SetNodePoolManagementRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1.SetNodePoolManagementRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -813,49 +752,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                nodePoolId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 58:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              nodePoolId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getManagementFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 58: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -868,8 +802,6 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -877,16 +809,15 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -895,8 +826,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -904,17 +833,17 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -922,8 +851,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -931,25 +858,22 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -957,21 +881,17 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -979,19 +899,18 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -999,8 +918,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1009,16 +926,15 @@ 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=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1027,8 +943,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1037,17 +951,17 @@ 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=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1055,8 +969,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1065,25 +977,22 @@ 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=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1092,21 +1001,17 @@ 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=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1115,19 +1020,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1135,24 +1039,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1161,25 +1062,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1187,73 +1086,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1261,24 +1150,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1287,25 +1173,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1313,73 +1197,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1387,58 +1261,39 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder> - managementBuilder_; + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> managementBuilder_; /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The management. */ public com.google.container.v1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } else { return managementBuilder_.getMessage(); } } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { @@ -1454,17 +1309,14 @@ public Builder setManagement(com.google.container.v1.NodeManagement value) { return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setManagement(com.google.container.v1.NodeManagement.Builder builderForValue) { + public Builder setManagement( + com.google.container.v1.NodeManagement.Builder builderForValue) { if (managementBuilder_ == null) { management_ = builderForValue.build(); onChanged(); @@ -1475,23 +1327,17 @@ public Builder setManagement(com.google.container.v1.NodeManagement.Builder buil return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1.NodeManagement.newBuilder(management_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); } else { management_ = value; } @@ -1503,15 +1349,11 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearManagement() { if (managementBuilder_ == null) { @@ -1525,64 +1367,48 @@ public Builder clearManagement() { return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() { if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null - ? com.google.container.v1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? + com.google.container.v1.NodeManagement.getDefaultInstance() : management_; } } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder> + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, - com.google.container.v1.NodeManagement.Builder, - com.google.container.v1.NodeManagementOrBuilder>( - getManagement(), getParentForChildren(), isClean()); + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); management_ = null; } return managementBuilder_; @@ -1590,8 +1416,6 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1599,13 +1423,13 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1614,8 +1438,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1623,14 +1445,15 @@ public java.lang.String getName() {
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1638,8 +1461,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1647,22 +1468,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1670,18 +1489,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1689,23 +1505,23 @@ public Builder clearName() {
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1715,12 +1531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetNodePoolManagementRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolManagementRequest) private static final com.google.container.v1.SetNodePoolManagementRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetNodePoolManagementRequest(); } @@ -1729,27 +1545,27 @@ public static com.google.container.v1.SetNodePoolManagementRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolManagementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolManagementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1764,4 +1580,6 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1.SetNodePoolManagementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index ba20f535ddfa..1a620a80b04a 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNodePoolManagementRequestOrBuilder - extends +public interface SetNodePoolManagementRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNodePoolManagementRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3256 + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3256 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetNodePoolManagementRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,124 +58,93 @@ public interface SetNodePoolManagementRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3262 + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3262 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3266 + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3266 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3270 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the management field is set. */ boolean hasManagement(); /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The management. */ com.google.container.v1.NodeManagement getManagement(); /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -212,13 +152,10 @@ public interface SetNodePoolManagementRequestOrBuilder
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -226,8 +163,8 @@ public interface SetNodePoolManagementRequestOrBuilder
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index 699fa68ec09b..bb7f281a5d0c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * SetNodePoolSizeRequest sets the size of a node pool.
  * 
* * Protobuf type {@code google.container.v1.SetNodePoolSizeRequest} */ -public final class SetNodePoolSizeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetNodePoolSizeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.SetNodePoolSizeRequest) SetNodePoolSizeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetNodePoolSizeRequest.newBuilder() to construct. private SetNodePoolSizeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetNodePoolSizeRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private SetNodePoolSizeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetNodePoolSizeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolSizeRequest.class, - com.google.container.v1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1.SetNodePoolSizeRequest.class, com.google.container.v1.SetNodePoolSizeRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,53 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -308,14 +269,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 5; private int nodeCount_; /** - * - * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeCount. */ @java.lang.Override @@ -326,8 +284,6 @@ public int getNodeCount() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -335,7 +291,6 @@ public int getNodeCount() {
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -344,15 +299,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -360,15 +314,16 @@ public java.lang.String getName() {
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -377,7 +332,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -389,7 +343,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -430,7 +385,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, nodeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -443,20 +399,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNodePoolSizeRequest)) { return super.equals(obj); } - com.google.container.v1.SetNodePoolSizeRequest other = - (com.google.container.v1.SetNodePoolSizeRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (getNodeCount() != other.getNodeCount()) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.SetNodePoolSizeRequest other = (com.google.container.v1.SetNodePoolSizeRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (getNodeCount() + != other.getNodeCount()) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -485,136 +446,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolSizeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( 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.SetNodePoolSizeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.SetNodePoolSizeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.SetNodePoolSizeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolSizeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetNodePoolSizeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNodePoolSizeRequest sets the size of a node pool.
    * 
* * Protobuf type {@code google.container.v1.SetNodePoolSizeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetNodePoolSizeRequest) com.google.container.v1.SetNodePoolSizeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolSizeRequest.class, - com.google.container.v1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1.SetNodePoolSizeRequest.class, com.google.container.v1.SetNodePoolSizeRequest.Builder.class); } // Construct using com.google.container.v1.SetNodePoolSizeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -634,9 +589,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override @@ -655,8 +610,7 @@ public com.google.container.v1.SetNodePoolSizeRequest build() { @java.lang.Override public com.google.container.v1.SetNodePoolSizeRequest buildPartial() { - com.google.container.v1.SetNodePoolSizeRequest result = - new com.google.container.v1.SetNodePoolSizeRequest(this); + com.google.container.v1.SetNodePoolSizeRequest result = new com.google.container.v1.SetNodePoolSizeRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -671,39 +625,38 @@ public com.google.container.v1.SetNodePoolSizeRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetNodePoolSizeRequest) { - return mergeFrom((com.google.container.v1.SetNodePoolSizeRequest) other); + return mergeFrom((com.google.container.v1.SetNodePoolSizeRequest)other); } else { super.mergeFrom(other); return this; @@ -761,49 +714,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: - { - nodeCount_ = input.readInt32(); - - break; - } // case 40 - case 58: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: { + nodeCount_ = input.readInt32(); + + break; + } // case 40 + case 58: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -816,8 +762,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -825,16 +769,15 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -843,8 +786,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -852,17 +793,17 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -870,8 +811,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -879,25 +818,22 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -905,21 +841,17 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -927,19 +859,18 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -947,8 +878,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -957,16 +886,15 @@ 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=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -975,8 +903,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -985,17 +911,17 @@ 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=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1003,8 +929,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1013,25 +937,22 @@ 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=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1040,21 +961,17 @@ 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=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1063,19 +980,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1083,24 +999,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1109,25 +1022,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1135,73 +1046,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1209,24 +1110,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1235,25 +1133,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1261,88 +1157,75 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeCount. */ @java.lang.Override @@ -1350,36 +1233,30 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -1387,8 +1264,6 @@ public Builder clearNodeCount() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1396,13 +1271,13 @@ public Builder clearNodeCount() {
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1411,8 +1286,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1420,14 +1293,15 @@ public java.lang.String getName() {
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1435,8 +1309,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1444,22 +1316,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1467,18 +1337,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1486,23 +1353,23 @@ public Builder clearName() {
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1512,12 +1379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.SetNodePoolSizeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolSizeRequest) private static final com.google.container.v1.SetNodePoolSizeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.SetNodePoolSizeRequest(); } @@ -1526,27 +1393,27 @@ public static com.google.container.v1.SetNodePoolSizeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolSizeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolSizeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1561,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetNodePoolSizeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index b391ddf784ea..609448cd8b3f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNodePoolSizeRequestOrBuilder - extends +public interface SetNodePoolSizeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNodePoolSizeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3286 + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface SetNodePoolSizeRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,96 +58,76 @@ public interface SetNodePoolSizeRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3292 + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3292 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3296 + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3296 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3300 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -184,13 +135,10 @@ public interface SetNodePoolSizeRequestOrBuilder
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -198,8 +146,8 @@ public interface SetNodePoolSizeRequestOrBuilder
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java index 7f1d9ff1df55..3f93bd0ae4a4 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * A set of Shielded Instance options.
  * 
* * Protobuf type {@code google.container.v1.ShieldedInstanceConfig} */ -public final class ShieldedInstanceConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShieldedInstanceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ShieldedInstanceConfig) ShieldedInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShieldedInstanceConfig.newBuilder() to construct. private ShieldedInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ShieldedInstanceConfig() {} + private ShieldedInstanceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShieldedInstanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedInstanceConfig.class, - com.google.container.v1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1.ShieldedInstanceConfig.class, com.google.container.v1.ShieldedInstanceConfig.Builder.class); } public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER = 1; private boolean enableSecureBoot_; /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool enable_secure_boot = 1; - * * @return The enableSecureBoot. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean getEnableSecureBoot() { public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER = 2; private boolean enableIntegrityMonitoring_; /** - * - * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -100,7 +77,6 @@ public boolean getEnableSecureBoot() {
    * 
* * bool enable_integrity_monitoring = 2; - * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -109,7 +85,6 @@ public boolean getEnableIntegrityMonitoring() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,7 +96,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enableSecureBoot_ != false) { output.writeBool(1, enableSecureBoot_); } @@ -138,10 +114,12 @@ public int getSerializedSize() { size = 0; if (enableSecureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableSecureBoot_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableSecureBoot_); } if (enableIntegrityMonitoring_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableIntegrityMonitoring_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enableIntegrityMonitoring_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,16 +129,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ShieldedInstanceConfig)) { return super.equals(obj); } - com.google.container.v1.ShieldedInstanceConfig other = - (com.google.container.v1.ShieldedInstanceConfig) obj; + com.google.container.v1.ShieldedInstanceConfig other = (com.google.container.v1.ShieldedInstanceConfig) obj; - if (getEnableSecureBoot() != other.getEnableSecureBoot()) return false; - if (getEnableIntegrityMonitoring() != other.getEnableIntegrityMonitoring()) return false; + if (getEnableSecureBoot() + != other.getEnableSecureBoot()) return false; + if (getEnableIntegrityMonitoring() + != other.getEnableIntegrityMonitoring()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,144 +152,140 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableSecureBoot()); hash = (37 * hash) + ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntegrityMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableIntegrityMonitoring()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ShieldedInstanceConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom( 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.ShieldedInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ShieldedInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A set of Shielded Instance options.
    * 
* * Protobuf type {@code google.container.v1.ShieldedInstanceConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ShieldedInstanceConfig) com.google.container.v1.ShieldedInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedInstanceConfig.class, - com.google.container.v1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1.ShieldedInstanceConfig.class, com.google.container.v1.ShieldedInstanceConfig.Builder.class); } // Construct using com.google.container.v1.ShieldedInstanceConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; } @java.lang.Override @@ -343,8 +318,7 @@ public com.google.container.v1.ShieldedInstanceConfig build() { @java.lang.Override public com.google.container.v1.ShieldedInstanceConfig buildPartial() { - com.google.container.v1.ShieldedInstanceConfig result = - new com.google.container.v1.ShieldedInstanceConfig(this); + com.google.container.v1.ShieldedInstanceConfig result = new com.google.container.v1.ShieldedInstanceConfig(this); result.enableSecureBoot_ = enableSecureBoot_; result.enableIntegrityMonitoring_ = enableIntegrityMonitoring_; onBuilt(); @@ -355,39 +329,38 @@ public com.google.container.v1.ShieldedInstanceConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ShieldedInstanceConfig) { - return mergeFrom((com.google.container.v1.ShieldedInstanceConfig) other); + return mergeFrom((com.google.container.v1.ShieldedInstanceConfig)other); } else { super.mergeFrom(other); return this; @@ -428,25 +401,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enableSecureBoot_ = input.readBool(); - - break; - } // case 8 - case 16: - { - enableIntegrityMonitoring_ = input.readBool(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enableSecureBoot_ = input.readBool(); + + break; + } // case 8 + case 16: { + enableIntegrityMonitoring_ = input.readBool(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,10 +427,8 @@ public Builder mergeFrom( return this; } - private boolean enableSecureBoot_; + private boolean enableSecureBoot_ ; /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -469,7 +437,6 @@ public Builder mergeFrom(
      * 
* * bool enable_secure_boot = 1; - * * @return The enableSecureBoot. */ @java.lang.Override @@ -477,8 +444,6 @@ public boolean getEnableSecureBoot() { return enableSecureBoot_; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -487,19 +452,16 @@ public boolean getEnableSecureBoot() {
      * 
* * bool enable_secure_boot = 1; - * * @param value The enableSecureBoot to set. * @return This builder for chaining. */ public Builder setEnableSecureBoot(boolean value) { - + enableSecureBoot_ = value; onChanged(); return this; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -508,20 +470,17 @@ public Builder setEnableSecureBoot(boolean value) {
      * 
* * bool enable_secure_boot = 1; - * * @return This builder for chaining. */ public Builder clearEnableSecureBoot() { - + enableSecureBoot_ = false; onChanged(); return this; } - private boolean enableIntegrityMonitoring_; + private boolean enableIntegrityMonitoring_ ; /** - * - * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -531,7 +490,6 @@ public Builder clearEnableSecureBoot() {
      * 
* * bool enable_integrity_monitoring = 2; - * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -539,8 +497,6 @@ public boolean getEnableIntegrityMonitoring() { return enableIntegrityMonitoring_; } /** - * - * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -550,19 +506,16 @@ public boolean getEnableIntegrityMonitoring() {
      * 
* * bool enable_integrity_monitoring = 2; - * * @param value The enableIntegrityMonitoring to set. * @return This builder for chaining. */ public Builder setEnableIntegrityMonitoring(boolean value) { - + enableIntegrityMonitoring_ = value; onChanged(); return this; } /** - * - * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -572,18 +525,17 @@ public Builder setEnableIntegrityMonitoring(boolean value) {
      * 
* * bool enable_integrity_monitoring = 2; - * * @return This builder for chaining. */ public Builder clearEnableIntegrityMonitoring() { - + enableIntegrityMonitoring_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +545,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ShieldedInstanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ShieldedInstanceConfig) private static final com.google.container.v1.ShieldedInstanceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ShieldedInstanceConfig(); } @@ -607,27 +559,27 @@ public static com.google.container.v1.ShieldedInstanceConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +594,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ShieldedInstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java index 82f09724595e..f98b574be7dd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ShieldedInstanceConfigOrBuilder - extends +public interface ShieldedInstanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.ShieldedInstanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -34,14 +16,11 @@ public interface ShieldedInstanceConfigOrBuilder
    * 
* * bool enable_secure_boot = 1; - * * @return The enableSecureBoot. */ boolean getEnableSecureBoot(); /** - * - * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -51,7 +30,6 @@ public interface ShieldedInstanceConfigOrBuilder
    * 
* * bool enable_integrity_monitoring = 2; - * * @return The enableIntegrityMonitoring. */ boolean getEnableIntegrityMonitoring(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java index 50453a0a968e..cd0cf19f7bd1 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration of Shielded Nodes feature.
  * 
* * Protobuf type {@code google.container.v1.ShieldedNodes} */ -public final class ShieldedNodes extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShieldedNodes extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.ShieldedNodes) ShieldedNodesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShieldedNodes.newBuilder() to construct. private ShieldedNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ShieldedNodes() {} + private ShieldedNodes() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShieldedNodes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedNodes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedNodes.class, - com.google.container.v1.ShieldedNodes.Builder.class); + com.google.container.v1.ShieldedNodes.class, com.google.container.v1.ShieldedNodes.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Shielded Nodes features are enabled on all nodes in this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ShieldedNodes)) { return super.equals(obj); } com.google.container.v1.ShieldedNodes other = (com.google.container.v1.ShieldedNodes) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,141 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ShieldedNodes parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.ShieldedNodes parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ShieldedNodes parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedNodes parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.ShieldedNodes parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ShieldedNodes parseFrom( 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.ShieldedNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ShieldedNodes parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ShieldedNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ShieldedNodes parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ShieldedNodes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ShieldedNodes parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.ShieldedNodes parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.ShieldedNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ShieldedNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of Shielded Nodes feature.
    * 
* * Protobuf type {@code google.container.v1.ShieldedNodes} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.ShieldedNodes) com.google.container.v1.ShieldedNodesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedNodes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedNodes.class, - com.google.container.v1.ShieldedNodes.Builder.class); + com.google.container.v1.ShieldedNodes.class, com.google.container.v1.ShieldedNodes.Builder.class); } // Construct using com.google.container.v1.ShieldedNodes.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -284,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_ShieldedNodes_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_descriptor; } @java.lang.Override @@ -305,8 +282,7 @@ public com.google.container.v1.ShieldedNodes build() { @java.lang.Override public com.google.container.v1.ShieldedNodes buildPartial() { - com.google.container.v1.ShieldedNodes result = - new com.google.container.v1.ShieldedNodes(this); + com.google.container.v1.ShieldedNodes result = new com.google.container.v1.ShieldedNodes(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -316,39 +292,38 @@ public com.google.container.v1.ShieldedNodes buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ShieldedNodes) { - return mergeFrom((com.google.container.v1.ShieldedNodes) other); + return mergeFrom((com.google.container.v1.ShieldedNodes)other); } else { super.mergeFrom(other); return this; @@ -386,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -409,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -426,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -472,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.ShieldedNodes) } // @@protoc_insertion_point(class_scope:google.container.v1.ShieldedNodes) private static final com.google.container.v1.ShieldedNodes DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.ShieldedNodes(); } @@ -486,27 +450,27 @@ public static com.google.container.v1.ShieldedNodes getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -521,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ShieldedNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java new file mode 100644 index 000000000000..efa2231db7fa --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ShieldedNodesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ShieldedNodes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java index a75179c74555..1e71e3a71678 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Possible values for IP stack type
  * 
* * Protobuf enum {@code google.container.v1.StackType} */ -public enum StackType implements com.google.protobuf.ProtocolMessageEnum { +public enum StackType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value, will be defaulted as IPV4 only
    * 
@@ -39,8 +21,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ STACK_TYPE_UNSPECIFIED(0), /** - * - * *
    * Cluster is IPV4 only
    * 
@@ -49,8 +29,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ IPV4(1), /** - * - * *
    * Cluster can use both IPv4 and IPv6
    * 
@@ -62,8 +40,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Default value, will be defaulted as IPV4 only
    * 
@@ -72,8 +48,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STACK_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Cluster is IPV4 only
    * 
@@ -82,8 +56,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IPV4_VALUE = 1; /** - * - * *
    * Cluster can use both IPv4 and IPv6
    * 
@@ -92,6 +64,7 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IPV4_IPV6_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static StackType valueOf(int value) { */ public static StackType forNumber(int value) { switch (value) { - case 0: - return STACK_TYPE_UNSPECIFIED; - case 1: - return IPV4; - case 2: - return IPV4_IPV6; - default: - return null; + case 0: return STACK_TYPE_UNSPECIFIED; + case 1: return IPV4; + case 2: return IPV4_IPV6; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StackType findValueByNumber(int number) { - return StackType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + StackType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StackType findValueByNumber(int number) { + return StackType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(4); } private static final StackType[] VALUES = values(); - public static StackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StackType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private StackType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.StackType) } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index 43b4bd8779e2..c75805b55f68 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * StartIPRotationRequest creates a new IP for the cluster and then performs
  * a node upgrade on each node pool to point to the new IP.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.StartIPRotationRequest}
  */
-public final class StartIPRotationRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StartIPRotationRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.StartIPRotationRequest)
     StartIPRotationRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StartIPRotationRequest.newBuilder() to construct.
   private StartIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StartIPRotationRequest() {
     projectId_ = "";
     zone_ = "";
@@ -47,35 +29,32 @@ private StartIPRotationRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StartIPRotationRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.StartIPRotationRequest.class,
-            com.google.container.v1.StartIPRotationRequest.Builder.class);
+            com.google.container.v1.StartIPRotationRequest.class, com.google.container.v1.StartIPRotationRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,15 +217,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -268,30 +231,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -302,14 +265,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ROTATE_CREDENTIALS_FIELD_NUMBER = 7; private boolean rotateCredentials_; /** - * - * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; - * * @return The rotateCredentials. */ @java.lang.Override @@ -318,7 +278,6 @@ public boolean getRotateCredentials() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -368,7 +328,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (rotateCredentials_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, rotateCredentials_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, rotateCredentials_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -378,19 +339,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.StartIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1.StartIPRotationRequest other = - (com.google.container.v1.StartIPRotationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; - if (getRotateCredentials() != other.getRotateCredentials()) return false; + com.google.container.v1.StartIPRotationRequest other = (com.google.container.v1.StartIPRotationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getRotateCredentials() + != other.getRotateCredentials()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -411,110 +376,104 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ROTATE_CREDENTIALS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRotateCredentials()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRotateCredentials()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.StartIPRotationRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.StartIPRotationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.StartIPRotationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.StartIPRotationRequest parseFrom( 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.StartIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.StartIPRotationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.StartIPRotationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.StartIPRotationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.StartIPRotationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.StartIPRotationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.StartIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.StartIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.StartIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.StartIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * StartIPRotationRequest creates a new IP for the cluster and then performs
    * a node upgrade on each node pool to point to the new IP.
@@ -522,32 +481,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.StartIPRotationRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.StartIPRotationRequest)
       com.google.container.v1.StartIPRotationRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.StartIPRotationRequest.class,
-              com.google.container.v1.StartIPRotationRequest.Builder.class);
+              com.google.container.v1.StartIPRotationRequest.class, com.google.container.v1.StartIPRotationRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.StartIPRotationRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -565,9 +525,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
@@ -586,8 +546,7 @@ public com.google.container.v1.StartIPRotationRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.StartIPRotationRequest buildPartial() {
-      com.google.container.v1.StartIPRotationRequest result =
-          new com.google.container.v1.StartIPRotationRequest(this);
+      com.google.container.v1.StartIPRotationRequest result = new com.google.container.v1.StartIPRotationRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -601,39 +560,38 @@ public com.google.container.v1.StartIPRotationRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.StartIPRotationRequest) {
-        return mergeFrom((com.google.container.v1.StartIPRotationRequest) other);
+        return mergeFrom((com.google.container.v1.StartIPRotationRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -687,43 +645,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 50:
-              {
-                name_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 50: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 50
-            case 56:
-              {
-                rotateCredentials_ = input.readBool();
+              break;
+            } // case 50
+            case 56: {
+              rotateCredentials_ = input.readBool();
 
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -736,8 +688,6 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,16 +695,15 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -763,8 +712,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -772,17 +719,17 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -790,8 +737,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -799,25 +744,22 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -825,21 +767,17 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -847,19 +785,18 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -867,8 +804,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -877,16 +812,15 @@ 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=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -895,8 +829,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -905,17 +837,17 @@ 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=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -923,8 +855,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -933,25 +863,22 @@ 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=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -960,21 +887,17 @@ 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=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -983,19 +906,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1003,24 +925,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1029,25 +948,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1055,73 +972,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1129,21 +1036,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1152,22 +1057,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1175,79 +1079,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean rotateCredentials_; + private boolean rotateCredentials_ ; /** - * - * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; - * * @return The rotateCredentials. */ @java.lang.Override @@ -1255,43 +1149,37 @@ public boolean getRotateCredentials() { return rotateCredentials_; } /** - * - * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; - * * @param value The rotateCredentials to set. * @return This builder for chaining. */ public Builder setRotateCredentials(boolean value) { - + rotateCredentials_ = value; onChanged(); return this; } /** - * - * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; - * * @return This builder for chaining. */ public Builder clearRotateCredentials() { - + rotateCredentials_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1301,12 +1189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.StartIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.StartIPRotationRequest) private static final com.google.container.v1.StartIPRotationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.StartIPRotationRequest(); } @@ -1315,27 +1203,27 @@ public static com.google.container.v1.StartIPRotationRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,4 +1238,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.StartIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index a633c5c5e27d..c128b9968b6b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface StartIPRotationRequestOrBuilder - extends +public interface StartIPRotationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.StartIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=3579 + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3579 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface StartIPRotationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,83 +58,67 @@ public interface StartIPRotationRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=3585 + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=3585 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=3589 + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=3589 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; - * * @return The rotateCredentials. */ boolean getRotateCredentials(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index 31daf9a6fd4f..3ead10b23ece 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * StatusCondition describes why a cluster or a node pool has a certain status
  * (e.g., ERROR or DEGRADED).
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.StatusCondition}
  */
-public final class StatusCondition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StatusCondition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.StatusCondition)
     StatusConditionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StatusCondition.newBuilder() to construct.
   private StatusCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StatusCondition() {
     code_ = 0;
     message_ = "";
@@ -46,43 +28,39 @@ private StatusCondition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StatusCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_StatusCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_StatusCondition_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.StatusCondition.class,
-            com.google.container.v1.StatusCondition.Builder.class);
+            com.google.container.v1.StatusCondition.class, com.google.container.v1.StatusCondition.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Code for each condition
    * 
* * Protobuf enum {@code google.container.v1.StatusCondition.Code} */ - public enum Code implements com.google.protobuf.ProtocolMessageEnum { + public enum Code + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * UNKNOWN indicates a generic condition.
      * 
@@ -91,8 +69,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -102,8 +78,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     GCE_STOCKOUT(1),
     /**
-     *
-     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -113,8 +87,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     GKE_SERVICE_ACCOUNT_DELETED(2),
     /**
-     *
-     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -123,8 +95,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ GCE_QUOTA_EXCEEDED(3), /** - * - * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -133,8 +103,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ SET_BY_OPERATOR(4), /** - * - * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -144,8 +112,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     CLOUD_KMS_KEY_ERROR(7),
     /**
-     *
-     *
      * 
      * Cluster CA is expiring soon.
      * 
@@ -157,8 +123,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * UNKNOWN indicates a generic condition.
      * 
@@ -167,8 +131,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -178,8 +140,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GCE_STOCKOUT_VALUE = 1;
     /**
-     *
-     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -189,8 +149,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GKE_SERVICE_ACCOUNT_DELETED_VALUE = 2;
     /**
-     *
-     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -199,8 +157,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCE_QUOTA_EXCEEDED_VALUE = 3; /** - * - * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -209,8 +165,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_BY_OPERATOR_VALUE = 4; /** - * - * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -220,8 +174,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CLOUD_KMS_KEY_ERROR_VALUE = 7;
     /**
-     *
-     *
      * 
      * Cluster CA is expiring soon.
      * 
@@ -230,6 +182,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CA_EXPIRING_VALUE = 9; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -254,57 +207,53 @@ public static Code valueOf(int value) { */ public static Code forNumber(int value) { switch (value) { - case 0: - return UNKNOWN; - case 1: - return GCE_STOCKOUT; - case 2: - return GKE_SERVICE_ACCOUNT_DELETED; - case 3: - return GCE_QUOTA_EXCEEDED; - case 4: - return SET_BY_OPERATOR; - case 7: - return CLOUD_KMS_KEY_ERROR; - case 9: - return CA_EXPIRING; - default: - return null; + case 0: return UNKNOWN; + case 1: return GCE_STOCKOUT; + case 2: return GKE_SERVICE_ACCOUNT_DELETED; + case 3: return GCE_QUOTA_EXCEEDED; + case 4: return SET_BY_OPERATOR; + case 7: return CLOUD_KMS_KEY_ERROR; + case 9: return CA_EXPIRING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Code findValueByNumber(int number) { - return Code.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Code> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Code findValueByNumber(int number) { + return Code.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.StatusCondition.getDescriptor().getEnumTypes().get(0); } private static final Code[] VALUES = values(); - public static Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Code valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -324,58 +273,44 @@ private Code(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_; /** - * - * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @return The enum numeric value on the wire for code. */ - @java.lang.Override - @java.lang.Deprecated - public int getCodeValue() { + @java.lang.Override @java.lang.Deprecated public int getCodeValue() { return code_; } /** - * - * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @return The code. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Code getCode() { + @java.lang.Override @java.lang.Deprecated public com.google.container.v1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1.StatusCondition.Code result = - com.google.container.v1.StatusCondition.Code.valueOf(code_); + com.google.container.v1.StatusCondition.Code result = com.google.container.v1.StatusCondition.Code.valueOf(code_); return result == null ? com.google.container.v1.StatusCondition.Code.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -384,29 +319,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -417,40 +352,31 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int CANONICAL_CODE_FIELD_NUMBER = 3; private int canonicalCode_; /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override - public int getCanonicalCodeValue() { + @java.lang.Override public int getCanonicalCodeValue() { return canonicalCode_; } /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The canonicalCode. */ - @java.lang.Override - public com.google.rpc.Code getCanonicalCode() { + @java.lang.Override public com.google.rpc.Code getCanonicalCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(canonicalCode_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -462,7 +388,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (code_ != com.google.container.v1.StatusCondition.Code.UNKNOWN.getNumber()) { output.writeEnum(1, code_); } @@ -482,13 +409,15 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.container.v1.StatusCondition.Code.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (canonicalCode_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, canonicalCode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, canonicalCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -498,7 +427,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.StatusCondition)) { return super.equals(obj); @@ -506,7 +435,8 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1.StatusCondition other = (com.google.container.v1.StatusCondition) obj; if (code_ != other.code_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (canonicalCode_ != other.canonicalCode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -530,104 +460,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.StatusCondition parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.StatusCondition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.StatusCondition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StatusCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.StatusCondition parseFrom( 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.StatusCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.StatusCondition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.StatusCondition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.StatusCondition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.StatusCondition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.StatusCondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.StatusCondition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.StatusCondition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.StatusCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.StatusCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * StatusCondition describes why a cluster or a node pool has a certain status
    * (e.g., ERROR or DEGRADED).
@@ -635,32 +558,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.StatusCondition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.StatusCondition)
       com.google.container.v1.StatusConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_StatusCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_StatusCondition_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.StatusCondition.class,
-              com.google.container.v1.StatusCondition.Builder.class);
+              com.google.container.v1.StatusCondition.class, com.google.container.v1.StatusCondition.Builder.class);
     }
 
     // Construct using com.google.container.v1.StatusCondition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -674,9 +598,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_StatusCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
@@ -695,8 +619,7 @@ public com.google.container.v1.StatusCondition build() {
 
     @java.lang.Override
     public com.google.container.v1.StatusCondition buildPartial() {
-      com.google.container.v1.StatusCondition result =
-          new com.google.container.v1.StatusCondition(this);
+      com.google.container.v1.StatusCondition result = new com.google.container.v1.StatusCondition(this);
       result.code_ = code_;
       result.message_ = message_;
       result.canonicalCode_ = canonicalCode_;
@@ -708,39 +631,38 @@ public com.google.container.v1.StatusCondition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.StatusCondition) {
-        return mergeFrom((com.google.container.v1.StatusCondition) other);
+        return mergeFrom((com.google.container.v1.StatusCondition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -785,31 +707,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                message_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                canonicalCode_ = input.readEnum();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              code_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              message_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              canonicalCode_ = input.readEnum();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -822,110 +740,88 @@ public Builder mergeFrom(
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @return The enum numeric value on the wire for code. */ - @java.lang.Override - @java.lang.Deprecated - public int getCodeValue() { + @java.lang.Override @java.lang.Deprecated public int getCodeValue() { return code_; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCodeValue(int value) { - + @java.lang.Deprecated public Builder setCodeValue(int value) { + code_ = value; onChanged(); return this; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @return The code. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1.StatusCondition.Code getCode() { + @java.lang.Deprecated public com.google.container.v1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1.StatusCondition.Code result = - com.google.container.v1.StatusCondition.Code.valueOf(code_); + com.google.container.v1.StatusCondition.Code result = com.google.container.v1.StatusCondition.Code.valueOf(code_); return result == null ? com.google.container.v1.StatusCondition.Code.UNRECOGNIZED : result; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @param value The code to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCode(com.google.container.v1.StatusCondition.Code value) { + @java.lang.Deprecated public Builder setCode(com.google.container.v1.StatusCondition.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearCode() { - + @java.lang.Deprecated public Builder clearCode() { + code_ = 0; onChanged(); return this; @@ -933,20 +829,18 @@ public Builder clearCode() { private java.lang.Object message_ = ""; /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -955,21 +849,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -977,61 +870,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -1039,47 +925,37 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private int canonicalCode_ = 0; /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override - public int getCanonicalCodeValue() { + @java.lang.Override public int getCanonicalCodeValue() { return canonicalCode_; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @param value The enum numeric value on the wire for canonicalCode to set. * @return This builder for chaining. */ public Builder setCanonicalCodeValue(int value) { - + canonicalCode_ = value; onChanged(); return this; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @return The canonicalCode. */ @java.lang.Override @@ -1089,14 +965,11 @@ public com.google.rpc.Code getCanonicalCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @param value The canonicalCode to set. * @return This builder for chaining. */ @@ -1104,31 +977,28 @@ public Builder setCanonicalCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + canonicalCode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @return This builder for chaining. */ public Builder clearCanonicalCode() { - + canonicalCode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1138,12 +1008,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.StatusCondition) } // @@protoc_insertion_point(class_scope:google.container.v1.StatusCondition) private static final com.google.container.v1.StatusCondition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.StatusCondition(); } @@ -1152,27 +1022,27 @@ public static com.google.container.v1.StatusCondition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatusCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatusCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1187,4 +1057,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.StatusCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java index a15945275630..38135397e5ab 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java @@ -1,107 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface StatusConditionOrBuilder - extends +public interface StatusConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.StatusCondition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @return The enum numeric value on the wire for code. */ - @java.lang.Deprecated - int getCodeValue(); + @java.lang.Deprecated int getCodeValue(); /** - * - * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * @deprecated google.container.v1.StatusCondition.code is deprecated. + * See google/container/v1/cluster_service.proto;l=3764 * @return The code. */ - @java.lang.Deprecated - com.google.container.v1.StatusCondition.Code getCode(); + @java.lang.Deprecated com.google.container.v1.StatusCondition.Code getCode(); /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The enum numeric value on the wire for canonicalCode. */ int getCanonicalCodeValue(); /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The canonicalCode. */ com.google.rpc.Code getCanonicalCode(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java similarity index 70% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java index 27c4fea4ca40..1c65269b996c 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Represents an arbitrary window of time.
  * 
* * Protobuf type {@code google.container.v1.TimeWindow} */ -public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimeWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.TimeWindow) TimeWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimeWindow() {} + private TimeWindow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_TimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.TimeWindow.class, - com.google.container.v1.TimeWindow.Builder.class); + com.google.container.v1.TimeWindow.class, com.google.container.v1.TimeWindow.Builder.class); } private int optionsCase_ = 0; private java.lang.Object options_; - public enum OptionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAINTENANCE_EXCLUSION_OPTIONS(3), OPTIONS_NOT_SET(0); private final int value; - private OptionsCase(int value) { this.value = value; } @@ -91,36 +70,30 @@ public static OptionsCase valueOf(int value) { public static OptionsCase forNumber(int value) { switch (value) { - case 3: - return MAINTENANCE_EXCLUSION_OPTIONS; - case 0: - return OPTIONS_NOT_SET; - default: - return null; + case 3: return MAINTENANCE_EXCLUSION_OPTIONS; + case 0: return OPTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OptionsCase getOptionsCase() { - return OptionsCase.forNumber(optionsCase_); + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); } public static final int MAINTENANCE_EXCLUSION_OPTIONS_FIELD_NUMBER = 3; /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -128,41 +101,33 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return The maintenanceExclusionOptions. */ @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions getMaintenanceExclusionOptions() { if (optionsCase_ == 3) { - return (com.google.container.v1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1.MaintenanceExclusionOptions) options_; } return com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance(); } /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ @java.lang.Override - public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder - getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { if (optionsCase_ == 3) { - return (com.google.container.v1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1.MaintenanceExclusionOptions) options_; } return com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance(); } @@ -170,14 +135,11 @@ public com.google.container.v1.MaintenanceExclusionOptions getMaintenanceExclusi public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -185,14 +147,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -200,8 +159,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time that the window first starts.
    * 
@@ -216,15 +173,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -232,15 +186,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -248,8 +199,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
@@ -263,7 +212,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -275,7 +223,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -295,15 +244,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     if (optionsCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.container.v1.MaintenanceExclusionOptions) options_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.container.v1.MaintenanceExclusionOptions) options_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -313,7 +263,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.TimeWindow)) {
       return super.equals(obj);
@@ -322,17 +272,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getOptionsCase().equals(other.getOptionsCase())) return false;
     switch (optionsCase_) {
       case 3:
-        if (!getMaintenanceExclusionOptions().equals(other.getMaintenanceExclusionOptions()))
-          return false;
+        if (!getMaintenanceExclusionOptions()
+            .equals(other.getMaintenanceExclusionOptions())) return false;
         break;
       case 0:
       default:
@@ -369,135 +321,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.TimeWindow parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.TimeWindow parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.TimeWindow parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.container.v1.TimeWindow parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.TimeWindow parseFrom(
       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.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.TimeWindow parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.TimeWindow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.TimeWindow parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.TimeWindow parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Represents an arbitrary window of time.
    * 
* * Protobuf type {@code google.container.v1.TimeWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.TimeWindow) com.google.container.v1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_TimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.TimeWindow.class, - com.google.container.v1.TimeWindow.Builder.class); + com.google.container.v1.TimeWindow.class, com.google.container.v1.TimeWindow.Builder.class); } // Construct using com.google.container.v1.TimeWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_descriptor; } @java.lang.Override @@ -570,39 +517,38 @@ public com.google.container.v1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.TimeWindow) { - return mergeFrom((com.google.container.v1.TimeWindow) other); + return mergeFrom((com.google.container.v1.TimeWindow)other); } else { super.mergeFrom(other); return this; @@ -618,15 +564,13 @@ public Builder mergeFrom(com.google.container.v1.TimeWindow other) { mergeEndTime(other.getEndTime()); } switch (other.getOptionsCase()) { - case MAINTENANCE_EXCLUSION_OPTIONS: - { - mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); - break; - } - case OPTIONS_NOT_SET: - { - break; - } + case MAINTENANCE_EXCLUSION_OPTIONS: { + mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); + break; + } + case OPTIONS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -654,32 +598,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage( - getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), extensionRegistry); - optionsCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: { + input.readMessage( + getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + optionsCase_ = 3; + 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) { @@ -689,12 +634,12 @@ public Builder mergeFrom( } // finally return this; } - private int optionsCase_ = 0; private java.lang.Object options_; - - public OptionsCase getOptionsCase() { - return OptionsCase.forNumber(optionsCase_); + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); } public Builder clearOptions() { @@ -704,22 +649,16 @@ public Builder clearOptions() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceExclusionOptions, - com.google.container.v1.MaintenanceExclusionOptions.Builder, - com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> - maintenanceExclusionOptionsBuilder_; + com.google.container.v1.MaintenanceExclusionOptions, com.google.container.v1.MaintenanceExclusionOptions.Builder, com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> maintenanceExclusionOptionsBuilder_; /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -727,16 +666,12 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return The maintenanceExclusionOptions. */ @java.lang.Override @@ -754,18 +689,14 @@ public com.google.container.v1.MaintenanceExclusionOptions getMaintenanceExclusi } } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - public Builder setMaintenanceExclusionOptions( - com.google.container.v1.MaintenanceExclusionOptions value) { + public Builder setMaintenanceExclusionOptions(com.google.container.v1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -779,15 +710,12 @@ public Builder setMaintenanceExclusionOptions( return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ public Builder setMaintenanceExclusionOptions( com.google.container.v1.MaintenanceExclusionOptions.Builder builderForValue) { @@ -801,27 +729,19 @@ public Builder setMaintenanceExclusionOptions( return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - public Builder mergeMaintenanceExclusionOptions( - com.google.container.v1.MaintenanceExclusionOptions value) { + public Builder mergeMaintenanceExclusionOptions(com.google.container.v1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { - if (optionsCase_ == 3 - && options_ - != com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) { - options_ = - com.google.container.v1.MaintenanceExclusionOptions.newBuilder( - (com.google.container.v1.MaintenanceExclusionOptions) options_) - .mergeFrom(value) - .buildPartial(); + if (optionsCase_ == 3 && + options_ != com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) { + options_ = com.google.container.v1.MaintenanceExclusionOptions.newBuilder((com.google.container.v1.MaintenanceExclusionOptions) options_) + .mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -837,15 +757,12 @@ public Builder mergeMaintenanceExclusionOptions( return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ public Builder clearMaintenanceExclusionOptions() { if (maintenanceExclusionOptionsBuilder_ == null) { @@ -864,34 +781,26 @@ public Builder clearMaintenanceExclusionOptions() { return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - public com.google.container.v1.MaintenanceExclusionOptions.Builder - getMaintenanceExclusionOptionsBuilder() { + public com.google.container.v1.MaintenanceExclusionOptions.Builder getMaintenanceExclusionOptionsBuilder() { return getMaintenanceExclusionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ @java.lang.Override - public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder - getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { if ((optionsCase_ == 3) && (maintenanceExclusionOptionsBuilder_ != null)) { return maintenanceExclusionOptionsBuilder_.getMessageOrBuilder(); } else { @@ -902,70 +811,52 @@ public Builder clearMaintenanceExclusionOptions() { } } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceExclusionOptions, - com.google.container.v1.MaintenanceExclusionOptions.Builder, - com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> + com.google.container.v1.MaintenanceExclusionOptions, com.google.container.v1.MaintenanceExclusionOptions.Builder, com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> getMaintenanceExclusionOptionsFieldBuilder() { if (maintenanceExclusionOptionsBuilder_ == null) { if (!(optionsCase_ == 3)) { options_ = com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance(); } - maintenanceExclusionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceExclusionOptions, - com.google.container.v1.MaintenanceExclusionOptions.Builder, - com.google.container.v1.MaintenanceExclusionOptionsOrBuilder>( + maintenanceExclusionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenanceExclusionOptions, com.google.container.v1.MaintenanceExclusionOptions.Builder, com.google.container.v1.MaintenanceExclusionOptionsOrBuilder>( (com.google.container.v1.MaintenanceExclusionOptions) options_, getParentForChildren(), isClean()); options_ = null; } optionsCase_ = 3; - onChanged(); - ; + onChanged();; return maintenanceExclusionOptionsBuilder_; } 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -976,8 +867,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time that the window first starts.
      * 
@@ -998,15 +887,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -1017,8 +905,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1029,7 +915,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1041,8 +927,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1061,8 +945,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1070,13 +952,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1087,12 +967,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1100,17 +979,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1118,35 +994,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1157,8 +1024,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1180,8 +1045,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1189,7 +1052,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1200,8 +1064,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1213,7 +1075,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1225,8 +1087,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1246,8 +1106,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1256,13 +1114,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1274,12 +1130,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1288,24 +1143,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1315,12 +1167,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.TimeWindow)
   private static final com.google.container.v1.TimeWindow DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.TimeWindow();
   }
@@ -1329,27 +1181,27 @@ public static com.google.container.v1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TimeWindow parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TimeWindow parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1364,4 +1216,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
similarity index 72%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
index 138f1df66a8c..ad8e8591b31e 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
@@ -1,97 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
 
 package com.google.container.v1;
 
-public interface TimeWindowOrBuilder
-    extends
+public interface TimeWindowOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return Whether the maintenanceExclusionOptions field is set. */ boolean hasMaintenanceExclusionOptions(); /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return The maintenanceExclusionOptions. */ com.google.container.v1.MaintenanceExclusionOptions getMaintenanceExclusionOptions(); /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - com.google.container.v1.MaintenanceExclusionOptionsOrBuilder - getMaintenanceExclusionOptionsOrBuilder(); + com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder(); /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time that the window first starts.
    * 
@@ -101,34 +65,26 @@ public interface TimeWindowOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java
similarity index 67%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java
index 0718c9533c22..cbb670d28055 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * UpdateClusterRequest updates the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.UpdateClusterRequest) UpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -46,35 +28,32 @@ private UpdateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateClusterRequest.class, - com.google.container.v1.UpdateClusterRequest.Builder.class); + com.google.container.v1.UpdateClusterRequest.class, com.google.container.v1.UpdateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -82,27 +61,24 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -110,18 +86,18 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -132,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,27 +116,24 @@ 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=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -171,18 +142,18 @@ 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=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -193,53 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -250,15 +216,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int UPDATE_FIELD_NUMBER = 4; private com.google.container.v1.ClusterUpdate update_; /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ @java.lang.Override @@ -266,15 +228,11 @@ public boolean hasUpdate() { return update_ != null; } /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ @java.lang.Override @@ -282,14 +240,11 @@ public com.google.container.v1.ClusterUpdate getUpdate() { return update_ == null ? com.google.container.v1.ClusterUpdate.getDefaultInstance() : update_; } /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { @@ -299,15 +254,12 @@ public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -316,30 +268,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -348,7 +300,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -360,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -395,7 +347,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -408,22 +361,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpdateClusterRequest)) { return super.equals(obj); } - com.google.container.v1.UpdateClusterRequest other = - (com.google.container.v1.UpdateClusterRequest) obj; + com.google.container.v1.UpdateClusterRequest other = (com.google.container.v1.UpdateClusterRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -452,136 +409,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpdateClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.UpdateClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpdateClusterRequest parseFrom( 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.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.UpdateClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpdateClusterRequest updates the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1.UpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.UpdateClusterRequest) com.google.container.v1.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateClusterRequest.class, - com.google.container.v1.UpdateClusterRequest.Builder.class); + com.google.container.v1.UpdateClusterRequest.class, com.google.container.v1.UpdateClusterRequest.Builder.class); } // Construct using com.google.container.v1.UpdateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -603,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -624,8 +575,7 @@ public com.google.container.v1.UpdateClusterRequest build() { @java.lang.Override public com.google.container.v1.UpdateClusterRequest buildPartial() { - com.google.container.v1.UpdateClusterRequest result = - new com.google.container.v1.UpdateClusterRequest(this); + com.google.container.v1.UpdateClusterRequest result = new com.google.container.v1.UpdateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -643,39 +593,38 @@ public com.google.container.v1.UpdateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UpdateClusterRequest) { - return mergeFrom((com.google.container.v1.UpdateClusterRequest) other); + return mergeFrom((com.google.container.v1.UpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -729,43 +678,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -778,8 +723,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -787,16 +730,15 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -805,8 +747,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -814,17 +754,17 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -832,8 +772,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -841,25 +779,22 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -867,21 +802,17 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -889,19 +820,18 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -909,8 +839,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -919,16 +847,15 @@ 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=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -937,8 +864,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -947,17 +872,17 @@ 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=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -965,8 +890,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -975,25 +898,22 @@ 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=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1002,21 +922,17 @@ 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=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1025,19 +941,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1045,24 +960,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1071,25 +983,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1097,73 +1007,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1171,58 +1071,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.ClusterUpdate update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterUpdate, - com.google.container.v1.ClusterUpdate.Builder, - com.google.container.v1.ClusterUpdateOrBuilder> - updateBuilder_; + com.google.container.v1.ClusterUpdate, com.google.container.v1.ClusterUpdate.Builder, com.google.container.v1.ClusterUpdateOrBuilder> updateBuilder_; /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ public com.google.container.v1.ClusterUpdate getUpdate() { if (updateBuilder_ == null) { - return update_ == null - ? com.google.container.v1.ClusterUpdate.getDefaultInstance() - : update_; + return update_ == null ? com.google.container.v1.ClusterUpdate.getDefaultInstance() : update_; } else { return updateBuilder_.getMessage(); } } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdate(com.google.container.v1.ClusterUpdate value) { if (updateBuilder_ == null) { @@ -1238,17 +1119,14 @@ public Builder setUpdate(com.google.container.v1.ClusterUpdate value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdate(com.google.container.v1.ClusterUpdate.Builder builderForValue) { + public Builder setUpdate( + com.google.container.v1.ClusterUpdate.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1259,23 +1137,17 @@ public Builder setUpdate(com.google.container.v1.ClusterUpdate.Builder builderFo return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdate(com.google.container.v1.ClusterUpdate value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1.ClusterUpdate.newBuilder(update_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.ClusterUpdate.newBuilder(update_).mergeFrom(value).buildPartial(); } else { update_ = value; } @@ -1287,15 +1159,11 @@ public Builder mergeUpdate(com.google.container.v1.ClusterUpdate value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1309,64 +1177,48 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.ClusterUpdate.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null - ? com.google.container.v1.ClusterUpdate.getDefaultInstance() - : update_; + return update_ == null ? + com.google.container.v1.ClusterUpdate.getDefaultInstance() : update_; } } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterUpdate, - com.google.container.v1.ClusterUpdate.Builder, - com.google.container.v1.ClusterUpdateOrBuilder> + com.google.container.v1.ClusterUpdate, com.google.container.v1.ClusterUpdate.Builder, com.google.container.v1.ClusterUpdateOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterUpdate, - com.google.container.v1.ClusterUpdate.Builder, - com.google.container.v1.ClusterUpdateOrBuilder>( - getUpdate(), getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ClusterUpdate, com.google.container.v1.ClusterUpdate.Builder, com.google.container.v1.ClusterUpdateOrBuilder>( + getUpdate(), + getParentForChildren(), + isClean()); update_ = null; } return updateBuilder_; @@ -1374,21 +1226,19 @@ public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1397,22 +1247,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1420,71 +1269,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1494,12 +1336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.UpdateClusterRequest) private static final com.google.container.v1.UpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.UpdateClusterRequest(); } @@ -1508,27 +1350,27 @@ public static com.google.container.v1.UpdateClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1543,4 +1385,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index 6c5b23eef4fc..4f8db7ed30fe 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface UpdateClusterRequestOrBuilder - extends +public interface UpdateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2179 + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2179 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,109 +58,85 @@ public interface UpdateClusterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2185 + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2185 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2189 + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2189 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ com.google.container.v1.ClusterUpdate getUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index 9ae2cc7bff8b..a720e33dc0cd 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * UpdateMasterRequest updates the master of the cluster.
  * 
* * Protobuf type {@code google.container.v1.UpdateMasterRequest} */ -public final class UpdateMasterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateMasterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.UpdateMasterRequest) UpdateMasterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateMasterRequest.newBuilder() to construct. private UpdateMasterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateMasterRequest() { projectId_ = ""; zone_ = ""; @@ -47,35 +29,32 @@ private UpdateMasterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateMasterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateMasterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateMasterRequest.class, - com.google.container.v1.UpdateMasterRequest.Builder.class); + com.google.container.v1.UpdateMasterRequest.class, com.google.container.v1.UpdateMasterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -83,27 +62,24 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -111,18 +87,18 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +117,24 @@ 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=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +143,18 @@ 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=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,53 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -251,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int MASTER_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object masterVersion_; /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -265,7 +229,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The masterVersion. */ @java.lang.Override @@ -274,15 +237,14 @@ public java.lang.String getMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -295,15 +257,16 @@ public java.lang.String getMasterVersion() {
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for masterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterVersionBytes() { + public com.google.protobuf.ByteString + getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -314,15 +277,12 @@ public com.google.protobuf.ByteString getMasterVersionBytes() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -331,30 +291,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -363,7 +323,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -423,19 +383,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpdateMasterRequest)) { return super.equals(obj); } - com.google.container.v1.UpdateMasterRequest other = - (com.google.container.v1.UpdateMasterRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getMasterVersion().equals(other.getMasterVersion())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1.UpdateMasterRequest other = (com.google.container.v1.UpdateMasterRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getMasterVersion() + .equals(other.getMasterVersion())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -462,136 +426,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpdateMasterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.UpdateMasterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpdateMasterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateMasterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpdateMasterRequest parseFrom( 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.UpdateMasterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpdateMasterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.UpdateMasterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpdateMasterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.UpdateMasterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.UpdateMasterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.UpdateMasterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpdateMasterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpdateMasterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.UpdateMasterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpdateMasterRequest updates the master of the cluster.
    * 
* * Protobuf type {@code google.container.v1.UpdateMasterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.UpdateMasterRequest) com.google.container.v1.UpdateMasterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateMasterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateMasterRequest.class, - com.google.container.v1.UpdateMasterRequest.Builder.class); + com.google.container.v1.UpdateMasterRequest.class, com.google.container.v1.UpdateMasterRequest.Builder.class); } // Construct using com.google.container.v1.UpdateMasterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -609,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateMasterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_descriptor; } @java.lang.Override @@ -630,8 +588,7 @@ public com.google.container.v1.UpdateMasterRequest build() { @java.lang.Override public com.google.container.v1.UpdateMasterRequest buildPartial() { - com.google.container.v1.UpdateMasterRequest result = - new com.google.container.v1.UpdateMasterRequest(this); + com.google.container.v1.UpdateMasterRequest result = new com.google.container.v1.UpdateMasterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -645,39 +602,38 @@ public com.google.container.v1.UpdateMasterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UpdateMasterRequest) { - return mergeFrom((com.google.container.v1.UpdateMasterRequest) other); + return mergeFrom((com.google.container.v1.UpdateMasterRequest)other); } else { super.mergeFrom(other); return this; @@ -732,43 +688,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - masterVersion_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + masterVersion_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 58: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 58: { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -781,8 +731,6 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -790,16 +738,15 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -808,8 +755,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -817,17 +762,17 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -835,8 +780,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -844,25 +787,22 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -870,21 +810,17 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -892,19 +828,18 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -912,8 +847,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -922,16 +855,15 @@ 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=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -940,8 +872,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -950,17 +880,17 @@ 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=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -968,8 +898,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -978,25 +906,22 @@ 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=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1005,21 +930,17 @@ 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=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1028,19 +949,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1048,24 +968,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1074,25 +991,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1100,73 +1015,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1174,8 +1079,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object masterVersion_ = ""; /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1188,13 +1091,13 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The masterVersion. */ public java.lang.String getMasterVersion() { java.lang.Object ref = masterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; @@ -1203,8 +1106,6 @@ public java.lang.String getMasterVersion() { } } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1217,14 +1118,15 @@ public java.lang.String getMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for masterVersion. */ - public com.google.protobuf.ByteString getMasterVersionBytes() { + public com.google.protobuf.ByteString + getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -1232,8 +1134,6 @@ public com.google.protobuf.ByteString getMasterVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1246,22 +1146,20 @@ public com.google.protobuf.ByteString getMasterVersionBytes() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersion(java.lang.String value) { + public Builder setMasterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterVersion_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1274,18 +1172,15 @@ public Builder setMasterVersion(java.lang.String value) {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMasterVersion() { - + masterVersion_ = getDefaultInstance().getMasterVersion(); onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1298,16 +1193,16 @@ public Builder clearMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setMasterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterVersion_ = value; onChanged(); return this; @@ -1315,21 +1210,19 @@ public Builder setMasterVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1338,22 +1231,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1361,71 +1253,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1435,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.UpdateMasterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.UpdateMasterRequest) private static final com.google.container.v1.UpdateMasterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.UpdateMasterRequest(); } @@ -1449,27 +1334,27 @@ public static com.google.container.v1.UpdateMasterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMasterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMasterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1484,4 +1369,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpdateMasterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index b2fcc636afa3..94092f476ee9 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface UpdateMasterRequestOrBuilder - extends +public interface UpdateMasterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpdateMasterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2461 + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2461 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface UpdateMasterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,50 +58,40 @@ public interface UpdateMasterRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2467 + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2467 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2471 + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2471 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -143,13 +104,10 @@ public interface UpdateMasterRequestOrBuilder
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The masterVersion. */ java.lang.String getMasterVersion(); /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -162,35 +120,30 @@ public interface UpdateMasterRequestOrBuilder
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for masterVersion. */ - com.google.protobuf.ByteString getMasterVersionBytes(); + com.google.protobuf.ByteString + getMasterVersionBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java similarity index 76% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index 9e52e017dcbf..8eaa783e3651 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * UpdateNodePoolRequests update a node pool's image and/or version.
  * 
* * Protobuf type {@code google.container.v1.UpdateNodePoolRequest} */ -public final class UpdateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.UpdateNodePoolRequest) UpdateNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateNodePoolRequest.newBuilder() to construct. private UpdateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -50,35 +32,32 @@ private UpdateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateNodePoolRequest.class, - com.google.container.v1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1.UpdateNodePoolRequest.class, com.google.container.v1.UpdateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,27 +65,24 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -114,18 +90,18 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -136,8 +112,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,27 +120,24 @@ 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=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -175,18 +146,18 @@ 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=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -197,53 +168,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,53 +220,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -311,8 +272,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NODE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object nodeVersion_; /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -326,7 +285,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeVersion. */ @java.lang.Override @@ -335,15 +293,14 @@ public java.lang.String getNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -357,15 +314,16 @@ public java.lang.String getNodeVersion() {
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for nodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -376,14 +334,11 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { public static final int IMAGE_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object imageType_; /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageType. */ @java.lang.Override @@ -392,29 +347,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -425,8 +380,6 @@ public com.google.protobuf.ByteString getImageTypeBytes() { public static final int NAME_FIELD_NUMBER = 8; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -434,7 +387,6 @@ public com.google.protobuf.ByteString getImageTypeBytes() {
    * 
* * string name = 8; - * * @return The name. */ @java.lang.Override @@ -443,15 +395,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -459,15 +410,16 @@ public java.lang.String getName() {
    * 
* * string name = 8; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -478,8 +430,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -489,15 +439,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -507,15 +455,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -525,7 +470,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -533,8 +477,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -544,25 +486,22 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -570,25 +509,18 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null - ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
@@ -596,22 +528,18 @@ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig( * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 15; private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -619,25 +547,18 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -652,8 +573,6 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti public static final int TAGS_FIELD_NUMBER = 16; private com.google.container.v1.NetworkTags tags_; /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -661,7 +580,6 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti
    * 
* * .google.container.v1.NetworkTags tags = 16; - * * @return Whether the tags field is set. */ @java.lang.Override @@ -669,8 +587,6 @@ public boolean hasTags() { return tags_ != null; } /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -678,7 +594,6 @@ public boolean hasTags() {
    * 
* * .google.container.v1.NetworkTags tags = 16; - * * @return The tags. */ @java.lang.Override @@ -686,8 +601,6 @@ public com.google.container.v1.NetworkTags getTags() { return tags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : tags_; } /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -704,8 +617,6 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
   public static final int TAINTS_FIELD_NUMBER = 17;
   private com.google.container.v1.NodeTaints taints_;
   /**
-   *
-   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -713,7 +624,6 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
    * 
* * .google.container.v1.NodeTaints taints = 17; - * * @return Whether the taints field is set. */ @java.lang.Override @@ -721,8 +631,6 @@ public boolean hasTaints() { return taints_ != null; } /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -730,7 +638,6 @@ public boolean hasTaints() {
    * 
* * .google.container.v1.NodeTaints taints = 17; - * * @return The taints. */ @java.lang.Override @@ -738,8 +645,6 @@ public com.google.container.v1.NodeTaints getTaints() { return taints_ == null ? com.google.container.v1.NodeTaints.getDefaultInstance() : taints_; } /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -756,8 +661,6 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
   public static final int LABELS_FIELD_NUMBER = 18;
   private com.google.container.v1.NodeLabels labels_;
   /**
-   *
-   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -765,7 +668,6 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
    * 
* * .google.container.v1.NodeLabels labels = 18; - * * @return Whether the labels field is set. */ @java.lang.Override @@ -773,8 +675,6 @@ public boolean hasLabels() { return labels_ != null; } /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -782,7 +682,6 @@ public boolean hasLabels() {
    * 
* * .google.container.v1.NodeLabels labels = 18; - * * @return The labels. */ @java.lang.Override @@ -790,8 +689,6 @@ public com.google.container.v1.NodeLabels getLabels() { return labels_ == null ? com.google.container.v1.NodeLabels.getDefaultInstance() : labels_; } /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -808,14 +705,11 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
   public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 19;
   private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_;
   /**
-   *
-   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; - * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -823,25 +717,18 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; - * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null - ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -856,14 +743,11 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil public static final int KUBELET_CONFIG_FIELD_NUMBER = 20; private com.google.container.v1.NodeKubeletConfig kubeletConfig_; /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; - * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -871,25 +755,18 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; - * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null - ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } /** - * - * *
    * Node kubelet configs.
    * 
@@ -904,14 +781,11 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil public static final int NODE_NETWORK_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1.NodeNetworkConfig nodeNetworkConfig_; /** - * - * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; - * * @return Whether the nodeNetworkConfig field is set. */ @java.lang.Override @@ -919,25 +793,18 @@ public boolean hasNodeNetworkConfig() { return nodeNetworkConfig_ != null; } /** - * - * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; - * * @return The nodeNetworkConfig. */ @java.lang.Override public com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig() { - return nodeNetworkConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() - : nodeNetworkConfig_; + return nodeNetworkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; } /** - * - * *
    * Node network config.
    * 
@@ -952,14 +819,11 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr public static final int GCFS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1.GcfsConfig gcfsConfig_; /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; - * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -967,25 +831,18 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; - * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } /** - * - * *
    * GCFS config.
    * 
@@ -1000,15 +857,12 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 23; private com.google.container.v1.ConfidentialNodes confidentialNodes_; /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; - * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -1016,26 +870,19 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; - * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null - ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1051,14 +898,11 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
   public static final int GVNIC_FIELD_NUMBER = 29;
   private com.google.container.v1.VirtualNIC gvnic_;
   /**
-   *
-   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -1066,14 +910,11 @@ public boolean hasGvnic() { return gvnic_ != null; } /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ @java.lang.Override @@ -1081,8 +922,6 @@ public com.google.container.v1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -1097,14 +936,11 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { public static final int FAST_SOCKET_FIELD_NUMBER = 31; private com.google.container.v1.FastSocket fastSocket_; /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; - * * @return Whether the fastSocket field is set. */ @java.lang.Override @@ -1112,25 +948,18 @@ public boolean hasFastSocket() { return fastSocket_ != null; } /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; - * * @return The fastSocket. */ @java.lang.Override public com.google.container.v1.FastSocket getFastSocket() { - return fastSocket_ == null - ? com.google.container.v1.FastSocket.getDefaultInstance() - : fastSocket_; + return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; } /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -1145,14 +974,11 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { public static final int LOGGING_CONFIG_FIELD_NUMBER = 32; private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1160,25 +986,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration.
    * 
@@ -1193,15 +1012,12 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr public static final int RESOURCE_LABELS_FIELD_NUMBER = 33; private com.google.container.v1.ResourceLabels resourceLabels_; /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; - * * @return Whether the resourceLabels field is set. */ @java.lang.Override @@ -1209,26 +1025,19 @@ public boolean hasResourceLabels() { return resourceLabels_ != null; } /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; - * * @return The resourceLabels. */ @java.lang.Override public com.google.container.v1.ResourceLabels getResourceLabels() { - return resourceLabels_ == null - ? com.google.container.v1.ResourceLabels.getDefaultInstance() - : resourceLabels_; + return resourceLabels_ == null ? com.google.container.v1.ResourceLabels.getDefaultInstance() : resourceLabels_; } /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1242,7 +1051,6 @@ public com.google.container.v1.ResourceLabelsOrBuilder getResourceLabelsOrBuilde
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1254,7 +1062,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
@@ -1360,47 +1169,60 @@ public int getSerializedSize() {
       size += 1 * getLocationsList().size();
     }
     if (workloadMetadataConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(14, getWorkloadMetadataConfig());
     }
     if (upgradeSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getUpgradeSettings());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(15, getUpgradeSettings());
     }
     if (tags_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getTags());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(16, getTags());
     }
     if (taints_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getTaints());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(17, getTaints());
     }
     if (labels_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLabels());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(18, getLabels());
     }
     if (linuxNodeConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLinuxNodeConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(19, getLinuxNodeConfig());
     }
     if (kubeletConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getKubeletConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(20, getKubeletConfig());
     }
     if (nodeNetworkConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getNodeNetworkConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(21, getNodeNetworkConfig());
     }
     if (gcfsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getGcfsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(22, getGcfsConfig());
     }
     if (confidentialNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getConfidentialNodes());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(23, getConfidentialNodes());
     }
     if (gvnic_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(29, getGvnic());
     }
     if (fastSocket_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(31, getFastSocket());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(31, getFastSocket());
     }
     if (loggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, getLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(32, getLoggingConfig());
     }
     if (resourceLabels_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(33, getResourceLabels());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(33, getResourceLabels());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1410,77 +1232,98 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1.UpdateNodePoolRequest)) {
       return super.equals(obj);
     }
-    com.google.container.v1.UpdateNodePoolRequest other =
-        (com.google.container.v1.UpdateNodePoolRequest) obj;
-
-    if (!getProjectId().equals(other.getProjectId())) return false;
-    if (!getZone().equals(other.getZone())) return false;
-    if (!getClusterId().equals(other.getClusterId())) return false;
-    if (!getNodePoolId().equals(other.getNodePoolId())) return false;
-    if (!getNodeVersion().equals(other.getNodeVersion())) return false;
-    if (!getImageType().equals(other.getImageType())) return false;
-    if (!getName().equals(other.getName())) return false;
-    if (!getLocationsList().equals(other.getLocationsList())) return false;
+    com.google.container.v1.UpdateNodePoolRequest other = (com.google.container.v1.UpdateNodePoolRequest) obj;
+
+    if (!getProjectId()
+        .equals(other.getProjectId())) return false;
+    if (!getZone()
+        .equals(other.getZone())) return false;
+    if (!getClusterId()
+        .equals(other.getClusterId())) return false;
+    if (!getNodePoolId()
+        .equals(other.getNodePoolId())) return false;
+    if (!getNodeVersion()
+        .equals(other.getNodeVersion())) return false;
+    if (!getImageType()
+        .equals(other.getImageType())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getLocationsList()
+        .equals(other.getLocationsList())) return false;
     if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false;
     if (hasWorkloadMetadataConfig()) {
-      if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false;
+      if (!getWorkloadMetadataConfig()
+          .equals(other.getWorkloadMetadataConfig())) return false;
     }
     if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false;
     if (hasUpgradeSettings()) {
-      if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false;
+      if (!getUpgradeSettings()
+          .equals(other.getUpgradeSettings())) return false;
     }
     if (hasTags() != other.hasTags()) return false;
     if (hasTags()) {
-      if (!getTags().equals(other.getTags())) return false;
+      if (!getTags()
+          .equals(other.getTags())) return false;
     }
     if (hasTaints() != other.hasTaints()) return false;
     if (hasTaints()) {
-      if (!getTaints().equals(other.getTaints())) return false;
+      if (!getTaints()
+          .equals(other.getTaints())) return false;
     }
     if (hasLabels() != other.hasLabels()) return false;
     if (hasLabels()) {
-      if (!getLabels().equals(other.getLabels())) return false;
+      if (!getLabels()
+          .equals(other.getLabels())) return false;
     }
     if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false;
     if (hasLinuxNodeConfig()) {
-      if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false;
+      if (!getLinuxNodeConfig()
+          .equals(other.getLinuxNodeConfig())) return false;
     }
     if (hasKubeletConfig() != other.hasKubeletConfig()) return false;
     if (hasKubeletConfig()) {
-      if (!getKubeletConfig().equals(other.getKubeletConfig())) return false;
+      if (!getKubeletConfig()
+          .equals(other.getKubeletConfig())) return false;
     }
     if (hasNodeNetworkConfig() != other.hasNodeNetworkConfig()) return false;
     if (hasNodeNetworkConfig()) {
-      if (!getNodeNetworkConfig().equals(other.getNodeNetworkConfig())) return false;
+      if (!getNodeNetworkConfig()
+          .equals(other.getNodeNetworkConfig())) return false;
     }
     if (hasGcfsConfig() != other.hasGcfsConfig()) return false;
     if (hasGcfsConfig()) {
-      if (!getGcfsConfig().equals(other.getGcfsConfig())) return false;
+      if (!getGcfsConfig()
+          .equals(other.getGcfsConfig())) return false;
     }
     if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false;
     if (hasConfidentialNodes()) {
-      if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false;
+      if (!getConfidentialNodes()
+          .equals(other.getConfidentialNodes())) return false;
     }
     if (hasGvnic() != other.hasGvnic()) return false;
     if (hasGvnic()) {
-      if (!getGvnic().equals(other.getGvnic())) return false;
+      if (!getGvnic()
+          .equals(other.getGvnic())) return false;
     }
     if (hasFastSocket() != other.hasFastSocket()) return false;
     if (hasFastSocket()) {
-      if (!getFastSocket().equals(other.getFastSocket())) return false;
+      if (!getFastSocket()
+          .equals(other.getFastSocket())) return false;
     }
     if (hasLoggingConfig() != other.hasLoggingConfig()) return false;
     if (hasLoggingConfig()) {
-      if (!getLoggingConfig().equals(other.getLoggingConfig())) return false;
+      if (!getLoggingConfig()
+          .equals(other.getLoggingConfig())) return false;
     }
     if (hasResourceLabels() != other.hasResourceLabels()) return false;
     if (hasResourceLabels()) {
-      if (!getResourceLabels().equals(other.getResourceLabels())) return false;
+      if (!getResourceLabels()
+          .equals(other.getResourceLabels())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1572,136 +1415,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.UpdateNodePoolRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
       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.UpdateNodePoolRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1.UpdateNodePoolRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1.UpdateNodePoolRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1.UpdateNodePoolRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * UpdateNodePoolRequests update a node pool's image and/or version.
    * 
* * Protobuf type {@code google.container.v1.UpdateNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.UpdateNodePoolRequest) com.google.container.v1.UpdateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateNodePoolRequest.class, - com.google.container.v1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1.UpdateNodePoolRequest.class, com.google.container.v1.UpdateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.UpdateNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1809,9 +1646,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; } @java.lang.Override @@ -1830,8 +1667,7 @@ public com.google.container.v1.UpdateNodePoolRequest build() { @java.lang.Override public com.google.container.v1.UpdateNodePoolRequest buildPartial() { - com.google.container.v1.UpdateNodePoolRequest result = - new com.google.container.v1.UpdateNodePoolRequest(this); + com.google.container.v1.UpdateNodePoolRequest result = new com.google.container.v1.UpdateNodePoolRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -1923,39 +1759,38 @@ public com.google.container.v1.UpdateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UpdateNodePoolRequest) { - return mergeFrom((com.google.container.v1.UpdateNodePoolRequest) other); + return mergeFrom((com.google.container.v1.UpdateNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -2070,149 +1905,151 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - nodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - imageType_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 66: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 114: - { - input.readMessage( - getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 114 - case 122: - { - input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 122 - case 130: - { - input.readMessage(getTagsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 130 - case 138: - { - input.readMessage(getTaintsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 138 - case 146: - { - input.readMessage(getLabelsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 146 - case 154: - { - input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 154 - case 162: - { - input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 162 - case 170: - { - input.readMessage( - getNodeNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 170 - case 178: - { - input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 178 - case 186: - { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 186 - case 234: - { - input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 234 - case 250: - { - input.readMessage(getFastSocketFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 250 - case 258: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 258 - case 266: - { - input.readMessage(getResourceLabelsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 266 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + nodeVersion_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + imageType_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 66: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 106 + case 114: { + input.readMessage( + getWorkloadMetadataConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 114 + case 122: { + input.readMessage( + getUpgradeSettingsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 122 + case 130: { + input.readMessage( + getTagsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 130 + case 138: { + input.readMessage( + getTaintsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 138 + case 146: { + input.readMessage( + getLabelsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 146 + case 154: { + input.readMessage( + getLinuxNodeConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 154 + case 162: { + input.readMessage( + getKubeletConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 162 + case 170: { + input.readMessage( + getNodeNetworkConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 170 + case 178: { + input.readMessage( + getGcfsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 178 + case 186: { + input.readMessage( + getConfidentialNodesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 186 + case 234: { + input.readMessage( + getGvnicFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 234 + case 250: { + input.readMessage( + getFastSocketFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 250 + case 258: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 258 + case 266: { + input.readMessage( + getResourceLabelsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 266 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2222,13 +2059,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2236,16 +2070,15 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2254,8 +2087,6 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2263,17 +2094,17 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -2281,8 +2112,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2290,25 +2119,22 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2316,21 +2142,17 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2338,19 +2160,18 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -2358,8 +2179,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2368,16 +2187,15 @@ 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=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2386,8 +2204,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2396,17 +2212,17 @@ 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=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -2414,8 +2230,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2424,25 +2238,22 @@ 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=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2451,21 +2262,17 @@ 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=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2474,19 +2281,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2494,24 +2300,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -2520,25 +2323,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -2546,73 +2347,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -2620,24 +2411,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -2646,25 +2434,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -2672,73 +2458,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -2746,8 +2522,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodeVersion_ = ""; /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2761,13 +2535,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; @@ -2776,8 +2550,6 @@ public java.lang.String getNodeVersion() { } } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2791,14 +2563,15 @@ public java.lang.String getNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for nodeVersion. */ - public com.google.protobuf.ByteString getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -2806,8 +2579,6 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2821,22 +2592,20 @@ public com.google.protobuf.ByteString getNodeVersionBytes() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersion(java.lang.String value) { + public Builder setNodeVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeVersion_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2850,18 +2619,15 @@ public Builder setNodeVersion(java.lang.String value) {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNodeVersion() { - + nodeVersion_ = getDefaultInstance().getNodeVersion(); onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2875,16 +2641,16 @@ public Builder clearNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { + public Builder setNodeVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeVersion_ = value; onChanged(); return this; @@ -2892,20 +2658,18 @@ public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageType_ = ""; /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2914,21 +2678,20 @@ public java.lang.String getImageType() { } } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -2936,61 +2699,54 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -2998,8 +2754,6 @@ public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3007,13 +2761,13 @@ public Builder setImageTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 8; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3022,8 +2776,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3031,14 +2783,15 @@ public java.lang.String getName() {
      * 
* * string name = 8; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3046,8 +2799,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3055,22 +2806,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 8; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3078,18 +2827,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 8; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3097,33 +2843,29 @@ public Builder clearName() {
      * 
* * string name = 8; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3133,15 +2875,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3151,15 +2891,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3169,7 +2906,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -3177,8 +2913,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3188,16 +2922,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3207,23 +2939,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3233,22 +2963,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3258,19 +2986,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3280,7 +3007,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 13; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -3290,8 +3016,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3301,15 +3025,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -3318,47 +3042,34 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) { private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, - com.google.container.v1.WorkloadMetadataConfig.Builder, - com.google.container.v1.WorkloadMetadataConfigOrBuilder> - workloadMetadataConfigBuilder_; + com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null - ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3379,8 +3090,6 @@ public Builder setWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadat return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3399,22 +3108,17 @@ public Builder setWorkloadMetadataConfig( return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig( - com.google.container.v1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -3426,8 +3130,6 @@ public Builder mergeWorkloadMetadataConfig( return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3446,42 +3148,33 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfig.Builder - getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null - ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? + com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3489,17 +3182,14 @@ public Builder clearWorkloadMetadataConfig() { * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, - com.google.container.v1.WorkloadMetadataConfig.Builder, - com.google.container.v1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, - com.google.container.v1.WorkloadMetadataConfig.Builder, - com.google.container.v1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), getParentForChildren(), isClean()); + workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), + getParentForChildren(), + isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; @@ -3507,47 +3197,34 @@ public Builder clearWorkloadMetadataConfig() { private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> - upgradeSettingsBuilder_; + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return The upgradeSettings. */ public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3568,8 +3245,6 @@ public Builder setUpgradeSettings(com.google.container.v1.NodePool.UpgradeSettin return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3588,8 +3263,6 @@ public Builder setUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3600,9 +3273,7 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); } else { upgradeSettings_ = value; } @@ -3614,8 +3285,6 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3634,8 +3303,6 @@ public Builder clearUpgradeSettings() { return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3643,13 +3310,11 @@ public Builder clearUpgradeSettings() { * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; */ public com.google.container.v1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3660,14 +3325,11 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null - ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? + com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3675,17 +3337,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, - com.google.container.v1.NodePool.UpgradeSettings.Builder, - com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), getParentForChildren(), isClean()); + upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), + getParentForChildren(), + isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -3693,13 +3352,8 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti private com.google.container.v1.NetworkTags tags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, - com.google.container.v1.NetworkTags.Builder, - com.google.container.v1.NetworkTagsOrBuilder> - tagsBuilder_; + com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> tagsBuilder_; /** - * - * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3707,15 +3361,12 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti
      * 
* * .google.container.v1.NetworkTags tags = 16; - * * @return Whether the tags field is set. */ public boolean hasTags() { return tagsBuilder_ != null || tags_ != null; } /** - * - * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3723,7 +3374,6 @@ public boolean hasTags() {
      * 
* * .google.container.v1.NetworkTags tags = 16; - * * @return The tags. */ public com.google.container.v1.NetworkTags getTags() { @@ -3734,8 +3384,6 @@ public com.google.container.v1.NetworkTags getTags() { } } /** - * - * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3758,8 +3406,6 @@ public Builder setTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3768,7 +3414,8 @@ public Builder setTags(com.google.container.v1.NetworkTags value) {
      *
      * .google.container.v1.NetworkTags tags = 16;
      */
-    public Builder setTags(com.google.container.v1.NetworkTags.Builder builderForValue) {
+    public Builder setTags(
+        com.google.container.v1.NetworkTags.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         tags_ = builderForValue.build();
         onChanged();
@@ -3779,8 +3426,6 @@ public Builder setTags(com.google.container.v1.NetworkTags.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3793,7 +3438,7 @@ public Builder mergeTags(com.google.container.v1.NetworkTags value) {
       if (tagsBuilder_ == null) {
         if (tags_ != null) {
           tags_ =
-              com.google.container.v1.NetworkTags.newBuilder(tags_).mergeFrom(value).buildPartial();
+            com.google.container.v1.NetworkTags.newBuilder(tags_).mergeFrom(value).buildPartial();
         } else {
           tags_ = value;
         }
@@ -3805,8 +3450,6 @@ public Builder mergeTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3827,8 +3470,6 @@ public Builder clearTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3838,13 +3479,11 @@ public Builder clearTags() {
      * .google.container.v1.NetworkTags tags = 16;
      */
     public com.google.container.v1.NetworkTags.Builder getTagsBuilder() {
-
+      
       onChanged();
       return getTagsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3857,12 +3496,11 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
       if (tagsBuilder_ != null) {
         return tagsBuilder_.getMessageOrBuilder();
       } else {
-        return tags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : tags_;
+        return tags_ == null ?
+            com.google.container.v1.NetworkTags.getDefaultInstance() : tags_;
       }
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3872,17 +3510,14 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * .google.container.v1.NetworkTags tags = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NetworkTags,
-            com.google.container.v1.NetworkTags.Builder,
-            com.google.container.v1.NetworkTagsOrBuilder>
+        com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> 
         getTagsFieldBuilder() {
       if (tagsBuilder_ == null) {
-        tagsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NetworkTags,
-                com.google.container.v1.NetworkTags.Builder,
-                com.google.container.v1.NetworkTagsOrBuilder>(
-                getTags(), getParentForChildren(), isClean());
+        tagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder>(
+                getTags(),
+                getParentForChildren(),
+                isClean());
         tags_ = null;
       }
       return tagsBuilder_;
@@ -3890,13 +3525,8 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
 
     private com.google.container.v1.NodeTaints taints_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeTaints,
-            com.google.container.v1.NodeTaints.Builder,
-            com.google.container.v1.NodeTaintsOrBuilder>
-        taintsBuilder_;
+        com.google.container.v1.NodeTaints, com.google.container.v1.NodeTaints.Builder, com.google.container.v1.NodeTaintsOrBuilder> taintsBuilder_;
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3904,15 +3534,12 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * 
* * .google.container.v1.NodeTaints taints = 17; - * * @return Whether the taints field is set. */ public boolean hasTaints() { return taintsBuilder_ != null || taints_ != null; } /** - * - * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3920,7 +3547,6 @@ public boolean hasTaints() {
      * 
* * .google.container.v1.NodeTaints taints = 17; - * * @return The taints. */ public com.google.container.v1.NodeTaints getTaints() { @@ -3931,8 +3557,6 @@ public com.google.container.v1.NodeTaints getTaints() { } } /** - * - * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3955,8 +3579,6 @@ public Builder setTaints(com.google.container.v1.NodeTaints value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3965,7 +3587,8 @@ public Builder setTaints(com.google.container.v1.NodeTaints value) {
      *
      * .google.container.v1.NodeTaints taints = 17;
      */
-    public Builder setTaints(com.google.container.v1.NodeTaints.Builder builderForValue) {
+    public Builder setTaints(
+        com.google.container.v1.NodeTaints.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         taints_ = builderForValue.build();
         onChanged();
@@ -3976,8 +3599,6 @@ public Builder setTaints(com.google.container.v1.NodeTaints.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3990,9 +3611,7 @@ public Builder mergeTaints(com.google.container.v1.NodeTaints value) {
       if (taintsBuilder_ == null) {
         if (taints_ != null) {
           taints_ =
-              com.google.container.v1.NodeTaints.newBuilder(taints_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodeTaints.newBuilder(taints_).mergeFrom(value).buildPartial();
         } else {
           taints_ = value;
         }
@@ -4004,8 +3623,6 @@ public Builder mergeTaints(com.google.container.v1.NodeTaints value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -4026,8 +3643,6 @@ public Builder clearTaints() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -4037,13 +3652,11 @@ public Builder clearTaints() {
      * .google.container.v1.NodeTaints taints = 17;
      */
     public com.google.container.v1.NodeTaints.Builder getTaintsBuilder() {
-
+      
       onChanged();
       return getTaintsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -4056,12 +3669,11 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilder();
       } else {
-        return taints_ == null ? com.google.container.v1.NodeTaints.getDefaultInstance() : taints_;
+        return taints_ == null ?
+            com.google.container.v1.NodeTaints.getDefaultInstance() : taints_;
       }
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -4071,17 +3683,14 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * .google.container.v1.NodeTaints taints = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeTaints,
-            com.google.container.v1.NodeTaints.Builder,
-            com.google.container.v1.NodeTaintsOrBuilder>
+        com.google.container.v1.NodeTaints, com.google.container.v1.NodeTaints.Builder, com.google.container.v1.NodeTaintsOrBuilder> 
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodeTaints,
-                com.google.container.v1.NodeTaints.Builder,
-                com.google.container.v1.NodeTaintsOrBuilder>(
-                getTaints(), getParentForChildren(), isClean());
+        taintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodeTaints, com.google.container.v1.NodeTaints.Builder, com.google.container.v1.NodeTaintsOrBuilder>(
+                getTaints(),
+                getParentForChildren(),
+                isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -4089,13 +3698,8 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
 
     private com.google.container.v1.NodeLabels labels_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeLabels,
-            com.google.container.v1.NodeLabels.Builder,
-            com.google.container.v1.NodeLabelsOrBuilder>
-        labelsBuilder_;
+        com.google.container.v1.NodeLabels, com.google.container.v1.NodeLabels.Builder, com.google.container.v1.NodeLabelsOrBuilder> labelsBuilder_;
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4103,15 +3707,12 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * 
* * .google.container.v1.NodeLabels labels = 18; - * * @return Whether the labels field is set. */ public boolean hasLabels() { return labelsBuilder_ != null || labels_ != null; } /** - * - * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4119,7 +3720,6 @@ public boolean hasLabels() {
      * 
* * .google.container.v1.NodeLabels labels = 18; - * * @return The labels. */ public com.google.container.v1.NodeLabels getLabels() { @@ -4130,8 +3730,6 @@ public com.google.container.v1.NodeLabels getLabels() { } } /** - * - * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4154,8 +3752,6 @@ public Builder setLabels(com.google.container.v1.NodeLabels value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4164,7 +3760,8 @@ public Builder setLabels(com.google.container.v1.NodeLabels value) {
      *
      * .google.container.v1.NodeLabels labels = 18;
      */
-    public Builder setLabels(com.google.container.v1.NodeLabels.Builder builderForValue) {
+    public Builder setLabels(
+        com.google.container.v1.NodeLabels.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         labels_ = builderForValue.build();
         onChanged();
@@ -4175,8 +3772,6 @@ public Builder setLabels(com.google.container.v1.NodeLabels.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4189,9 +3784,7 @@ public Builder mergeLabels(com.google.container.v1.NodeLabels value) {
       if (labelsBuilder_ == null) {
         if (labels_ != null) {
           labels_ =
-              com.google.container.v1.NodeLabels.newBuilder(labels_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.NodeLabels.newBuilder(labels_).mergeFrom(value).buildPartial();
         } else {
           labels_ = value;
         }
@@ -4203,8 +3796,6 @@ public Builder mergeLabels(com.google.container.v1.NodeLabels value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4225,8 +3816,6 @@ public Builder clearLabels() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4236,13 +3825,11 @@ public Builder clearLabels() {
      * .google.container.v1.NodeLabels labels = 18;
      */
     public com.google.container.v1.NodeLabels.Builder getLabelsBuilder() {
-
+      
       onChanged();
       return getLabelsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4255,12 +3842,11 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilder();
       } else {
-        return labels_ == null ? com.google.container.v1.NodeLabels.getDefaultInstance() : labels_;
+        return labels_ == null ?
+            com.google.container.v1.NodeLabels.getDefaultInstance() : labels_;
       }
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4270,17 +3856,14 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
      * .google.container.v1.NodeLabels labels = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeLabels,
-            com.google.container.v1.NodeLabels.Builder,
-            com.google.container.v1.NodeLabelsOrBuilder>
+        com.google.container.v1.NodeLabels, com.google.container.v1.NodeLabels.Builder, com.google.container.v1.NodeLabelsOrBuilder> 
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.NodeLabels,
-                com.google.container.v1.NodeLabels.Builder,
-                com.google.container.v1.NodeLabelsOrBuilder>(
-                getLabels(), getParentForChildren(), isClean());
+        labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.NodeLabels, com.google.container.v1.NodeLabels.Builder, com.google.container.v1.NodeLabelsOrBuilder>(
+                getLabels(),
+                getParentForChildren(),
+                isClean());
         labels_ = null;
       }
       return labelsBuilder_;
@@ -4288,47 +3871,34 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
 
     private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.LinuxNodeConfig,
-            com.google.container.v1.LinuxNodeConfig.Builder,
-            com.google.container.v1.LinuxNodeConfigOrBuilder>
-        linuxNodeConfigBuilder_;
+        com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_;
     /**
-     *
-     *
      * 
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; - * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; - * * @return The linuxNodeConfig. */ public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null - ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4349,8 +3919,6 @@ public Builder setLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig value) return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4369,8 +3937,6 @@ public Builder setLinuxNodeConfig( return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4381,9 +3947,7 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); } else { linuxNodeConfig_ = value; } @@ -4395,8 +3959,6 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4415,8 +3977,6 @@ public Builder clearLinuxNodeConfig() { return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4424,13 +3984,11 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1.LinuxNodeConfig linux_node_config = 19; */ public com.google.container.v1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4441,14 +3999,11 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null - ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? + com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4456,17 +4011,14 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil * .google.container.v1.LinuxNodeConfig linux_node_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, - com.google.container.v1.LinuxNodeConfig.Builder, - com.google.container.v1.LinuxNodeConfigOrBuilder> + com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, - com.google.container.v1.LinuxNodeConfig.Builder, - com.google.container.v1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), getParentForChildren(), isClean()); + linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), + getParentForChildren(), + isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -4474,47 +4026,34 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil private com.google.container.v1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, - com.google.container.v1.NodeKubeletConfig.Builder, - com.google.container.v1.NodeKubeletConfigOrBuilder> - kubeletConfigBuilder_; + com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; - * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; - * * @return The kubeletConfig. */ public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null - ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4535,8 +4074,6 @@ public Builder setKubeletConfig(com.google.container.v1.NodeKubeletConfig value) return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4555,8 +4092,6 @@ public Builder setKubeletConfig( return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4567,9 +4102,7 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); } else { kubeletConfig_ = value; } @@ -4581,8 +4114,6 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4601,8 +4132,6 @@ public Builder clearKubeletConfig() { return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4610,13 +4139,11 @@ public Builder clearKubeletConfig() { * .google.container.v1.NodeKubeletConfig kubelet_config = 20; */ public com.google.container.v1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4627,14 +4154,11 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null - ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? + com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4642,17 +4166,14 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil * .google.container.v1.NodeKubeletConfig kubelet_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, - com.google.container.v1.NodeKubeletConfig.Builder, - com.google.container.v1.NodeKubeletConfigOrBuilder> + com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, - com.google.container.v1.NodeKubeletConfig.Builder, - com.google.container.v1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), getParentForChildren(), isClean()); + kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), + getParentForChildren(), + isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -4660,47 +4181,34 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil private com.google.container.v1.NodeNetworkConfig nodeNetworkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, - com.google.container.v1.NodeNetworkConfig.Builder, - com.google.container.v1.NodeNetworkConfigOrBuilder> - nodeNetworkConfigBuilder_; + com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> nodeNetworkConfigBuilder_; /** - * - * *
      * Node network config.
      * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; - * * @return Whether the nodeNetworkConfig field is set. */ public boolean hasNodeNetworkConfig() { return nodeNetworkConfigBuilder_ != null || nodeNetworkConfig_ != null; } /** - * - * *
      * Node network config.
      * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; - * * @return The nodeNetworkConfig. */ public com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig() { if (nodeNetworkConfigBuilder_ == null) { - return nodeNetworkConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() - : nodeNetworkConfig_; + return nodeNetworkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; } else { return nodeNetworkConfigBuilder_.getMessage(); } } /** - * - * *
      * Node network config.
      * 
@@ -4721,8 +4229,6 @@ public Builder setNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig va return this; } /** - * - * *
      * Node network config.
      * 
@@ -4741,8 +4247,6 @@ public Builder setNodeNetworkConfig( return this; } /** - * - * *
      * Node network config.
      * 
@@ -4753,9 +4257,7 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig if (nodeNetworkConfigBuilder_ == null) { if (nodeNetworkConfig_ != null) { nodeNetworkConfig_ = - com.google.container.v1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_).mergeFrom(value).buildPartial(); } else { nodeNetworkConfig_ = value; } @@ -4767,8 +4269,6 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig return this; } /** - * - * *
      * Node network config.
      * 
@@ -4787,8 +4287,6 @@ public Builder clearNodeNetworkConfig() { return this; } /** - * - * *
      * Node network config.
      * 
@@ -4796,13 +4294,11 @@ public Builder clearNodeNetworkConfig() { * .google.container.v1.NodeNetworkConfig node_network_config = 21; */ public com.google.container.v1.NodeNetworkConfig.Builder getNodeNetworkConfigBuilder() { - + onChanged(); return getNodeNetworkConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Node network config.
      * 
@@ -4813,14 +4309,11 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr if (nodeNetworkConfigBuilder_ != null) { return nodeNetworkConfigBuilder_.getMessageOrBuilder(); } else { - return nodeNetworkConfig_ == null - ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() - : nodeNetworkConfig_; + return nodeNetworkConfig_ == null ? + com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; } } /** - * - * *
      * Node network config.
      * 
@@ -4828,17 +4321,14 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr * .google.container.v1.NodeNetworkConfig node_network_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, - com.google.container.v1.NodeNetworkConfig.Builder, - com.google.container.v1.NodeNetworkConfigOrBuilder> + com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> getNodeNetworkConfigFieldBuilder() { if (nodeNetworkConfigBuilder_ == null) { - nodeNetworkConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, - com.google.container.v1.NodeNetworkConfig.Builder, - com.google.container.v1.NodeNetworkConfigOrBuilder>( - getNodeNetworkConfig(), getParentForChildren(), isClean()); + nodeNetworkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder>( + getNodeNetworkConfig(), + getParentForChildren(), + isClean()); nodeNetworkConfig_ = null; } return nodeNetworkConfigBuilder_; @@ -4846,47 +4336,34 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr private com.google.container.v1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> - gcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> gcfsConfigBuilder_; /** - * - * *
      * GCFS config.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; - * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** - * - * *
      * GCFS config.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; - * * @return The gcfsConfig. */ public com.google.container.v1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * GCFS config.
      * 
@@ -4907,15 +4384,14 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS config.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; */ - public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig( + com.google.container.v1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -4926,8 +4402,6 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderF return this; } /** - * - * *
      * GCFS config.
      * 
@@ -4938,9 +4412,7 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); } else { gcfsConfig_ = value; } @@ -4952,8 +4424,6 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS config.
      * 
@@ -4972,8 +4442,6 @@ public Builder clearGcfsConfig() { return this; } /** - * - * *
      * GCFS config.
      * 
@@ -4981,13 +4449,11 @@ public Builder clearGcfsConfig() { * .google.container.v1.GcfsConfig gcfs_config = 22; */ public com.google.container.v1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * GCFS config.
      * 
@@ -4998,14 +4464,11 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null - ? com.google.container.v1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? + com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } } /** - * - * *
      * GCFS config.
      * 
@@ -5013,17 +4476,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { * .google.container.v1.GcfsConfig gcfs_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, - com.google.container.v1.GcfsConfig.Builder, - com.google.container.v1.GcfsConfigOrBuilder>( - getGcfsConfig(), getParentForChildren(), isClean()); + gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( + getGcfsConfig(), + getParentForChildren(), + isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -5031,49 +4491,36 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { private com.google.container.v1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfidentialNodes, - com.google.container.v1.ConfidentialNodes.Builder, - com.google.container.v1.ConfidentialNodesOrBuilder> - confidentialNodesBuilder_; + com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; - * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; - * * @return The confidentialNodes. */ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null - ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5095,8 +4542,6 @@ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes va
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5116,8 +4561,6 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5129,9 +4572,7 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-              com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -5143,8 +4584,6 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5164,8 +4603,6 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5174,13 +4611,11 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1.ConfidentialNodes confidential_nodes = 23;
      */
     public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-
+      
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5192,14 +4627,11 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null
-            ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
-            : confidentialNodes_;
+        return confidentialNodes_ == null ?
+            com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
       }
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5208,17 +4640,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
      * .google.container.v1.ConfidentialNodes confidential_nodes = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfidentialNodes,
-            com.google.container.v1.ConfidentialNodes.Builder,
-            com.google.container.v1.ConfidentialNodesOrBuilder>
+        com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> 
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ConfidentialNodes,
-                com.google.container.v1.ConfidentialNodes.Builder,
-                com.google.container.v1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(), getParentForChildren(), isClean());
+        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(),
+                getParentForChildren(),
+                isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -5226,33 +4655,24 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
 
     private com.google.container.v1.VirtualNIC gvnic_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.VirtualNIC,
-            com.google.container.v1.VirtualNIC.Builder,
-            com.google.container.v1.VirtualNICOrBuilder>
-        gvnicBuilder_;
+        com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> gvnicBuilder_;
     /**
-     *
-     *
      * 
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ public com.google.container.v1.VirtualNIC getGvnic() { @@ -5263,8 +4683,6 @@ public com.google.container.v1.VirtualNIC getGvnic() { } } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5285,15 +4703,14 @@ public Builder setGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; */ - public Builder setGvnic(com.google.container.v1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic( + com.google.container.v1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -5304,8 +4721,6 @@ public Builder setGvnic(com.google.container.v1.VirtualNIC.Builder builderForVal return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5316,7 +4731,7 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); + com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); } else { gvnic_ = value; } @@ -5328,8 +4743,6 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5348,8 +4761,6 @@ public Builder clearGvnic() { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5357,13 +4768,11 @@ public Builder clearGvnic() { * .google.container.v1.VirtualNIC gvnic = 29; */ public com.google.container.v1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5374,12 +4783,11 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null ? + com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5387,17 +4795,14 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, - com.google.container.v1.VirtualNIC.Builder, - com.google.container.v1.VirtualNICOrBuilder> + com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, - com.google.container.v1.VirtualNIC.Builder, - com.google.container.v1.VirtualNICOrBuilder>( - getGvnic(), getParentForChildren(), isClean()); + gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder>( + getGvnic(), + getParentForChildren(), + isClean()); gvnic_ = null; } return gvnicBuilder_; @@ -5405,47 +4810,34 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { private com.google.container.v1.FastSocket fastSocket_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, - com.google.container.v1.FastSocket.Builder, - com.google.container.v1.FastSocketOrBuilder> - fastSocketBuilder_; + com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> fastSocketBuilder_; /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1.FastSocket fast_socket = 31; - * * @return Whether the fastSocket field is set. */ public boolean hasFastSocket() { return fastSocketBuilder_ != null || fastSocket_ != null; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1.FastSocket fast_socket = 31; - * * @return The fastSocket. */ public com.google.container.v1.FastSocket getFastSocket() { if (fastSocketBuilder_ == null) { - return fastSocket_ == null - ? com.google.container.v1.FastSocket.getDefaultInstance() - : fastSocket_; + return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; } else { return fastSocketBuilder_.getMessage(); } } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -5466,15 +4858,14 @@ public Builder setFastSocket(com.google.container.v1.FastSocket value) { return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1.FastSocket fast_socket = 31; */ - public Builder setFastSocket(com.google.container.v1.FastSocket.Builder builderForValue) { + public Builder setFastSocket( + com.google.container.v1.FastSocket.Builder builderForValue) { if (fastSocketBuilder_ == null) { fastSocket_ = builderForValue.build(); onChanged(); @@ -5485,8 +4876,6 @@ public Builder setFastSocket(com.google.container.v1.FastSocket.Builder builderF return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -5497,9 +4886,7 @@ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { if (fastSocketBuilder_ == null) { if (fastSocket_ != null) { fastSocket_ = - com.google.container.v1.FastSocket.newBuilder(fastSocket_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); } else { fastSocket_ = value; } @@ -5511,8 +4898,6 @@ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -5531,8 +4916,6 @@ public Builder clearFastSocket() { return this; } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -5540,13 +4923,11 @@ public Builder clearFastSocket() { * .google.container.v1.FastSocket fast_socket = 31; */ public com.google.container.v1.FastSocket.Builder getFastSocketBuilder() { - + onChanged(); return getFastSocketFieldBuilder().getBuilder(); } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -5557,14 +4938,11 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { if (fastSocketBuilder_ != null) { return fastSocketBuilder_.getMessageOrBuilder(); } else { - return fastSocket_ == null - ? com.google.container.v1.FastSocket.getDefaultInstance() - : fastSocket_; + return fastSocket_ == null ? + com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; } } /** - * - * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -5572,17 +4950,14 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { * .google.container.v1.FastSocket fast_socket = 31; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, - com.google.container.v1.FastSocket.Builder, - com.google.container.v1.FastSocketOrBuilder> + com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> getFastSocketFieldBuilder() { if (fastSocketBuilder_ == null) { - fastSocketBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, - com.google.container.v1.FastSocket.Builder, - com.google.container.v1.FastSocketOrBuilder>( - getFastSocket(), getParentForChildren(), isClean()); + fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder>( + getFastSocket(), + getParentForChildren(), + isClean()); fastSocket_ = null; } return fastSocketBuilder_; @@ -5590,47 +4965,34 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder> - loggingConfigBuilder_; + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; /** - * - * *
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; - * * @return The loggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration.
      * 
@@ -5651,8 +5013,6 @@ public Builder setLoggingConfig(com.google.container.v1.NodePoolLoggingConfig va return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5671,8 +5031,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5683,9 +5041,7 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -5697,8 +5053,6 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5717,8 +5071,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5726,13 +5078,11 @@ public Builder clearLoggingConfig() { * .google.container.v1.NodePoolLoggingConfig logging_config = 32; */ public com.google.container.v1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration.
      * 
@@ -5743,14 +5093,11 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration.
      * 
@@ -5758,17 +5105,14 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr * .google.container.v1.NodePoolLoggingConfig logging_config = 32; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, - com.google.container.v1.NodePoolLoggingConfig.Builder, - com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -5776,49 +5120,36 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr private com.google.container.v1.ResourceLabels resourceLabels_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceLabels, - com.google.container.v1.ResourceLabels.Builder, - com.google.container.v1.ResourceLabelsOrBuilder> - resourceLabelsBuilder_; + com.google.container.v1.ResourceLabels, com.google.container.v1.ResourceLabels.Builder, com.google.container.v1.ResourceLabelsOrBuilder> resourceLabelsBuilder_; /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1.ResourceLabels resource_labels = 33; - * * @return Whether the resourceLabels field is set. */ public boolean hasResourceLabels() { return resourceLabelsBuilder_ != null || resourceLabels_ != null; } /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1.ResourceLabels resource_labels = 33; - * * @return The resourceLabels. */ public com.google.container.v1.ResourceLabels getResourceLabels() { if (resourceLabelsBuilder_ == null) { - return resourceLabels_ == null - ? com.google.container.v1.ResourceLabels.getDefaultInstance() - : resourceLabels_; + return resourceLabels_ == null ? com.google.container.v1.ResourceLabels.getDefaultInstance() : resourceLabels_; } else { return resourceLabelsBuilder_.getMessage(); } } /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5840,8 +5171,6 @@ public Builder setResourceLabels(com.google.container.v1.ResourceLabels value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5861,8 +5190,6 @@ public Builder setResourceLabels(
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5874,9 +5201,7 @@ public Builder mergeResourceLabels(com.google.container.v1.ResourceLabels value)
       if (resourceLabelsBuilder_ == null) {
         if (resourceLabels_ != null) {
           resourceLabels_ =
-              com.google.container.v1.ResourceLabels.newBuilder(resourceLabels_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ResourceLabels.newBuilder(resourceLabels_).mergeFrom(value).buildPartial();
         } else {
           resourceLabels_ = value;
         }
@@ -5888,8 +5213,6 @@ public Builder mergeResourceLabels(com.google.container.v1.ResourceLabels value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5909,8 +5232,6 @@ public Builder clearResourceLabels() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5919,13 +5240,11 @@ public Builder clearResourceLabels() {
      * .google.container.v1.ResourceLabels resource_labels = 33;
      */
     public com.google.container.v1.ResourceLabels.Builder getResourceLabelsBuilder() {
-
+      
       onChanged();
       return getResourceLabelsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5937,14 +5256,11 @@ public com.google.container.v1.ResourceLabelsOrBuilder getResourceLabelsOrBuilde
       if (resourceLabelsBuilder_ != null) {
         return resourceLabelsBuilder_.getMessageOrBuilder();
       } else {
-        return resourceLabels_ == null
-            ? com.google.container.v1.ResourceLabels.getDefaultInstance()
-            : resourceLabels_;
+        return resourceLabels_ == null ?
+            com.google.container.v1.ResourceLabels.getDefaultInstance() : resourceLabels_;
       }
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5953,24 +5269,21 @@ public com.google.container.v1.ResourceLabelsOrBuilder getResourceLabelsOrBuilde
      * .google.container.v1.ResourceLabels resource_labels = 33;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ResourceLabels,
-            com.google.container.v1.ResourceLabels.Builder,
-            com.google.container.v1.ResourceLabelsOrBuilder>
+        com.google.container.v1.ResourceLabels, com.google.container.v1.ResourceLabels.Builder, com.google.container.v1.ResourceLabelsOrBuilder> 
         getResourceLabelsFieldBuilder() {
       if (resourceLabelsBuilder_ == null) {
-        resourceLabelsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ResourceLabels,
-                com.google.container.v1.ResourceLabels.Builder,
-                com.google.container.v1.ResourceLabelsOrBuilder>(
-                getResourceLabels(), getParentForChildren(), isClean());
+        resourceLabelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ResourceLabels, com.google.container.v1.ResourceLabels.Builder, com.google.container.v1.ResourceLabelsOrBuilder>(
+                getResourceLabels(),
+                getParentForChildren(),
+                isClean());
         resourceLabels_ = null;
       }
       return resourceLabelsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -5980,12 +5293,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1.UpdateNodePoolRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.UpdateNodePoolRequest)
   private static final com.google.container.v1.UpdateNodePoolRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.UpdateNodePoolRequest();
   }
@@ -5994,27 +5307,27 @@ public static com.google.container.v1.UpdateNodePoolRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateNodePoolRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateNodePoolRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -6029,4 +5342,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.UpdateNodePoolRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java
similarity index 87%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java
index 7c768e339e99..03404af7995d 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface UpdateNodePoolRequestOrBuilder
-    extends
+public interface UpdateNodePoolRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.UpdateNodePoolRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -33,16 +15,12 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -50,17 +28,14 @@ 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=2204 + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2204 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -69,16 +44,12 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -87,83 +58,66 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See - * google/container/v1/cluster_service.proto;l=2210 + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1/cluster_service.proto;l=2210 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1/cluster_service.proto;l=2214 + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2214 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1/cluster_service.proto;l=2218 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -177,13 +131,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeVersion. */ java.lang.String getNodeVersion(); /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -197,39 +148,32 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for nodeVersion. */ - com.google.protobuf.ByteString getNodeVersionBytes(); + com.google.protobuf.ByteString + getNodeVersionBytes(); /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -237,13 +181,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string name = 8; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -251,14 +192,12 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string name = 8; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -268,13 +207,11 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -284,13 +221,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -300,14 +234,11 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -317,39 +248,31 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
@@ -359,32 +282,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return The upgradeSettings. */ com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -394,8 +309,6 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -403,13 +316,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1.NetworkTags tags = 16; - * * @return Whether the tags field is set. */ boolean hasTags(); /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -417,13 +327,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1.NetworkTags tags = 16; - * * @return The tags. */ com.google.container.v1.NetworkTags getTags(); /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -435,8 +342,6 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -444,13 +349,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1.NodeTaints taints = 17; - * * @return Whether the taints field is set. */ boolean hasTaints(); /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -458,13 +360,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1.NodeTaints taints = 17; - * * @return The taints. */ com.google.container.v1.NodeTaints getTaints(); /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -476,8 +375,6 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -485,13 +382,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1.NodeLabels labels = 18; - * * @return Whether the labels field is set. */ boolean hasLabels(); /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -499,13 +393,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1.NodeLabels labels = 18; - * * @return The labels. */ com.google.container.v1.NodeLabels getLabels(); /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -517,32 +408,24 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; - * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; - * * @return The linuxNodeConfig. */ com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -552,32 +435,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; - * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; - * * @return The kubeletConfig. */ com.google.container.v1.NodeKubeletConfig getKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
@@ -587,32 +462,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** - * - * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; - * * @return Whether the nodeNetworkConfig field is set. */ boolean hasNodeNetworkConfig(); /** - * - * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; - * * @return The nodeNetworkConfig. */ com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig(); /** - * - * *
    * Node network config.
    * 
@@ -622,32 +489,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder(); /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; - * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; - * * @return The gcfsConfig. */ com.google.container.v1.GcfsConfig getGcfsConfig(); /** - * - * *
    * GCFS config.
    * 
@@ -657,34 +516,26 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; - * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; - * * @return The confidentialNodes. */ com.google.container.v1.ConfidentialNodes getConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -695,32 +546,24 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ com.google.container.v1.VirtualNIC getGvnic(); /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -730,32 +573,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder(); /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; - * * @return Whether the fastSocket field is set. */ boolean hasFastSocket(); /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; - * * @return The fastSocket. */ com.google.container.v1.FastSocket getFastSocket(); /** - * - * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -765,32 +600,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder(); /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; - * * @return The loggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
@@ -800,34 +627,26 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; - * * @return Whether the resourceLabels field is set. */ boolean hasResourceLabels(); /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; - * * @return The resourceLabels. */ com.google.container.v1.ResourceLabels getResourceLabels(); /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
similarity index 70%
rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
index 4693c6900bfb..8b8b23d6a4f2 100644
--- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
+++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
- *
- *
  * 
  * UpgradeAvailableEvent is a notification sent to customers when a new
  * available version is released.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.UpgradeAvailableEvent}
  */
-public final class UpgradeAvailableEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpgradeAvailableEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.UpgradeAvailableEvent)
     UpgradeAvailableEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpgradeAvailableEvent.newBuilder() to construct.
   private UpgradeAvailableEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpgradeAvailableEvent() {
     version_ = "";
     resourceType_ = 0;
@@ -46,41 +28,37 @@ private UpgradeAvailableEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpgradeAvailableEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.UpgradeAvailableEvent.class,
-            com.google.container.v1.UpgradeAvailableEvent.Builder.class);
+            com.google.container.v1.UpgradeAvailableEvent.class, com.google.container.v1.UpgradeAvailableEvent.Builder.class);
   }
 
   public static final int VERSION_FIELD_NUMBER = 1;
   private volatile java.lang.Object version_;
   /**
-   *
-   *
    * 
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -89,29 +67,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -122,51 +100,39 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private int resourceType_; /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @return The resourceType. */ - @java.lang.Override - public com.google.container.v1.UpgradeResourceType getResourceType() { + @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = - com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int RELEASE_CHANNEL_FIELD_NUMBER = 3; private com.google.container.v1.ReleaseChannel releaseChannel_; /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; - * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -174,26 +140,19 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; - * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -209,15 +168,12 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
   public static final int RESOURCE_FIELD_NUMBER = 4;
   private volatile java.lang.Object resource_;
   /**
-   *
-   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The resource. */ @java.lang.Override @@ -226,30 +182,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -258,7 +214,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,13 +225,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } - if (resourceType_ - != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { + if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, resourceType_); } if (releaseChannel_ != null) { @@ -297,13 +251,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } - if (resourceType_ - != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, resourceType_); + if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, resourceType_); } if (releaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReleaseChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getReleaseChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resource_); @@ -316,21 +270,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpgradeAvailableEvent)) { return super.equals(obj); } - com.google.container.v1.UpgradeAvailableEvent other = - (com.google.container.v1.UpgradeAvailableEvent) obj; + com.google.container.v1.UpgradeAvailableEvent other = (com.google.container.v1.UpgradeAvailableEvent) obj; - if (!getVersion().equals(other.getVersion())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (resourceType_ != other.resourceType_) return false; if (hasReleaseChannel() != other.hasReleaseChannel()) return false; if (hasReleaseChannel()) { - if (!getReleaseChannel().equals(other.getReleaseChannel())) return false; + if (!getReleaseChannel() + .equals(other.getReleaseChannel())) return false; } - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -357,104 +313,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.UpgradeAvailableEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeAvailableEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom( 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.UpgradeAvailableEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.UpgradeAvailableEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.UpgradeAvailableEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.UpgradeAvailableEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.UpgradeAvailableEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpgradeAvailableEvent is a notification sent to customers when a new
    * available version is released.
@@ -462,32 +411,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.UpgradeAvailableEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.UpgradeAvailableEvent)
       com.google.container.v1.UpgradeAvailableEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.UpgradeAvailableEvent.class,
-              com.google.container.v1.UpgradeAvailableEvent.Builder.class);
+              com.google.container.v1.UpgradeAvailableEvent.class, com.google.container.v1.UpgradeAvailableEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1.UpgradeAvailableEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -507,9 +457,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
@@ -528,8 +478,7 @@ public com.google.container.v1.UpgradeAvailableEvent build() {
 
     @java.lang.Override
     public com.google.container.v1.UpgradeAvailableEvent buildPartial() {
-      com.google.container.v1.UpgradeAvailableEvent result =
-          new com.google.container.v1.UpgradeAvailableEvent(this);
+      com.google.container.v1.UpgradeAvailableEvent result = new com.google.container.v1.UpgradeAvailableEvent(this);
       result.version_ = version_;
       result.resourceType_ = resourceType_;
       if (releaseChannelBuilder_ == null) {
@@ -546,39 +495,38 @@ public com.google.container.v1.UpgradeAvailableEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.UpgradeAvailableEvent) {
-        return mergeFrom((com.google.container.v1.UpgradeAvailableEvent) other);
+        return mergeFrom((com.google.container.v1.UpgradeAvailableEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -627,37 +575,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                version_ = input.readStringRequireUtf8();
+            case 10: {
+              version_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                resourceType_ = input.readEnum();
+              break;
+            } // case 10
+            case 16: {
+              resourceType_ = input.readEnum();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getReleaseChannelFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            case 34:
-              {
-                resource_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              resource_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -670,20 +615,18 @@ public Builder mergeFrom(
 
     private java.lang.Object version_ = "";
     /**
-     *
-     *
      * 
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -692,21 +635,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -714,61 +656,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -776,65 +711,51 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private int resourceType_ = 0; /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @return The resourceType. */ @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = - com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -842,24 +763,21 @@ public Builder setResourceType(com.google.container.v1.UpgradeResourceType value if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -867,49 +785,36 @@ public Builder clearResourceType() { private com.google.container.v1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, - com.google.container.v1.ReleaseChannel.Builder, - com.google.container.v1.ReleaseChannelOrBuilder> - releaseChannelBuilder_; + com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> releaseChannelBuilder_; /** - * - * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 3; - * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** - * - * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 3; - * * @return The releaseChannel. */ public com.google.container.v1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null - ? com.google.container.v1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** - * - * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -931,8 +836,6 @@ public Builder setReleaseChannel(com.google.container.v1.ReleaseChannel value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -952,8 +855,6 @@ public Builder setReleaseChannel(
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -965,9 +866,7 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value)
       if (releaseChannelBuilder_ == null) {
         if (releaseChannel_ != null) {
           releaseChannel_ =
-              com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial();
         } else {
           releaseChannel_ = value;
         }
@@ -979,8 +878,6 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1000,8 +897,6 @@ public Builder clearReleaseChannel() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1010,13 +905,11 @@ public Builder clearReleaseChannel() {
      * .google.container.v1.ReleaseChannel release_channel = 3;
      */
     public com.google.container.v1.ReleaseChannel.Builder getReleaseChannelBuilder() {
-
+      
       onChanged();
       return getReleaseChannelFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1028,14 +921,11 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
       if (releaseChannelBuilder_ != null) {
         return releaseChannelBuilder_.getMessageOrBuilder();
       } else {
-        return releaseChannel_ == null
-            ? com.google.container.v1.ReleaseChannel.getDefaultInstance()
-            : releaseChannel_;
+        return releaseChannel_ == null ?
+            com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_;
       }
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1044,17 +934,14 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
      * .google.container.v1.ReleaseChannel release_channel = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ReleaseChannel,
-            com.google.container.v1.ReleaseChannel.Builder,
-            com.google.container.v1.ReleaseChannelOrBuilder>
+        com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> 
         getReleaseChannelFieldBuilder() {
       if (releaseChannelBuilder_ == null) {
-        releaseChannelBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1.ReleaseChannel,
-                com.google.container.v1.ReleaseChannel.Builder,
-                com.google.container.v1.ReleaseChannelOrBuilder>(
-                getReleaseChannel(), getParentForChildren(), isClean());
+        releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder>(
+                getReleaseChannel(),
+                getParentForChildren(),
+                isClean());
         releaseChannel_ = null;
       }
       return releaseChannelBuilder_;
@@ -1062,21 +949,19 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
 
     private java.lang.Object resource_ = "";
     /**
-     *
-     *
      * 
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1085,22 +970,21 @@ public java.lang.String getResource() { } } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -1108,71 +992,64 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1182,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.UpgradeAvailableEvent) } // @@protoc_insertion_point(class_scope:google.container.v1.UpgradeAvailableEvent) private static final com.google.container.v1.UpgradeAvailableEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.UpgradeAvailableEvent(); } @@ -1196,27 +1073,27 @@ public static com.google.container.v1.UpgradeAvailableEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeAvailableEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeAvailableEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,4 +1108,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpgradeAvailableEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java index 29a873de761d..e34337847fe0 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java @@ -1,107 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface UpgradeAvailableEventOrBuilder - extends +public interface UpgradeAvailableEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpgradeAvailableEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; - * * @return The resourceType. */ com.google.container.v1.UpgradeResourceType getResourceType(); /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; - * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; - * * @return The releaseChannel. */ com.google.container.v1.ReleaseChannel getReleaseChannel(); /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -112,29 +77,24 @@ public interface UpgradeAvailableEventOrBuilder
   com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java index 5f4579569282..bf6b7993459e 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * UpgradeEvent is a notification sent to customers by the cluster server when
  * a resource is upgrading.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.UpgradeEvent}
  */
-public final class UpgradeEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpgradeEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.UpgradeEvent)
     UpgradeEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpgradeEvent.newBuilder() to construct.
   private UpgradeEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpgradeEvent() {
     resourceType_ = 0;
     operation_ = "";
@@ -48,77 +30,64 @@ private UpgradeEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpgradeEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_UpgradeEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.UpgradeEvent.class,
-            com.google.container.v1.UpgradeEvent.Builder.class);
+            com.google.container.v1.UpgradeEvent.class, com.google.container.v1.UpgradeEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private int resourceType_;
   /**
-   *
-   *
    * 
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @return The resourceType. */ - @java.lang.Override - public com.google.container.v1.UpgradeResourceType getResourceType() { + @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = - com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int OPERATION_FIELD_NUMBER = 2; private volatile java.lang.Object operation_; /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The operation. */ @java.lang.Override @@ -127,29 +96,29 @@ public java.lang.String getOperation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } } /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The bytes for operation. */ @java.lang.Override - public com.google.protobuf.ByteString getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -160,14 +129,11 @@ public com.google.protobuf.ByteString getOperationBytes() { public static final int OPERATION_START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp operationStartTime_; /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return Whether the operationStartTime field is set. */ @java.lang.Override @@ -175,25 +141,18 @@ public boolean hasOperationStartTime() { return operationStartTime_ != null; } /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return The operationStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOperationStartTime() { - return operationStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : operationStartTime_; + return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; } /** - * - * *
    * The time when the operation was started.
    * 
@@ -208,14 +167,11 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { public static final int CURRENT_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object currentVersion_; /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The currentVersion. */ @java.lang.Override @@ -224,29 +180,29 @@ public java.lang.String getCurrentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; } } /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The bytes for currentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrentVersionBytes() { + public com.google.protobuf.ByteString + getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -257,14 +213,11 @@ public com.google.protobuf.ByteString getCurrentVersionBytes() { public static final int TARGET_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object targetVersion_; /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The targetVersion. */ @java.lang.Override @@ -273,29 +226,29 @@ public java.lang.String getTargetVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; } } /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The bytes for targetVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -306,15 +259,12 @@ public com.google.protobuf.ByteString getTargetVersionBytes() { public static final int RESOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object resource_; /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The resource. */ @java.lang.Override @@ -323,30 +273,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -355,7 +305,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,10 +316,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (resourceType_ - != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { @@ -397,16 +345,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (resourceType_ - != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, resourceType_); + if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); } if (operationStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOperationStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOperationStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, currentVersion_); @@ -425,7 +373,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpgradeEvent)) { return super.equals(obj); @@ -433,14 +381,19 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1.UpgradeEvent other = (com.google.container.v1.UpgradeEvent) obj; if (resourceType_ != other.resourceType_) return false; - if (!getOperation().equals(other.getOperation())) return false; + if (!getOperation() + .equals(other.getOperation())) return false; if (hasOperationStartTime() != other.hasOperationStartTime()) return false; if (hasOperationStartTime()) { - if (!getOperationStartTime().equals(other.getOperationStartTime())) return false; - } - if (!getCurrentVersion().equals(other.getCurrentVersion())) return false; - if (!getTargetVersion().equals(other.getTargetVersion())) return false; - if (!getResource().equals(other.getResource())) return false; + if (!getOperationStartTime() + .equals(other.getOperationStartTime())) return false; + } + if (!getCurrentVersion() + .equals(other.getCurrentVersion())) return false; + if (!getTargetVersion() + .equals(other.getTargetVersion())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -471,103 +424,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpgradeEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.UpgradeEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpgradeEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeEvent parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.UpgradeEvent parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpgradeEvent parseFrom( 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.UpgradeEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UpgradeEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.UpgradeEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpgradeEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpgradeEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.UpgradeEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpgradeEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UpgradeEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.UpgradeEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpgradeEvent is a notification sent to customers by the cluster server when
    * a resource is upgrading.
@@ -575,32 +522,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.UpgradeEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.UpgradeEvent)
       com.google.container.v1.UpgradeEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UpgradeEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.UpgradeEvent.class,
-              com.google.container.v1.UpgradeEvent.Builder.class);
+              com.google.container.v1.UpgradeEvent.class, com.google.container.v1.UpgradeEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1.UpgradeEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -624,9 +572,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UpgradeEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
@@ -664,39 +612,38 @@ public com.google.container.v1.UpgradeEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.UpgradeEvent) {
-        return mergeFrom((com.google.container.v1.UpgradeEvent) other);
+        return mergeFrom((com.google.container.v1.UpgradeEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -753,50 +700,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                resourceType_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                operation_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getOperationStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                currentVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                targetVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                resource_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              resourceType_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              operation_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getOperationStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              currentVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              targetVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              resource_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -809,65 +750,51 @@ public Builder mergeFrom(
 
     private int resourceType_ = 0;
     /**
-     *
-     *
      * 
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @return The resourceType. */ @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = - com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -875,24 +802,21 @@ public Builder setResourceType(com.google.container.v1.UpgradeResourceType value if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -900,20 +824,18 @@ public Builder clearResourceType() { private java.lang.Object operation_ = ""; /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; @@ -922,21 +844,20 @@ public java.lang.String getOperation() { } } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @return The bytes for operation. */ - public com.google.protobuf.ByteString getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -944,61 +865,54 @@ public com.google.protobuf.ByteString getOperationBytes() { } } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(java.lang.String value) { + public Builder setOperation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operation_ = value; onChanged(); return this; } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @return This builder for chaining. */ public Builder clearOperation() { - + operation_ = getDefaultInstance().getOperation(); onChanged(); return this; } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @param value The bytes for operation to set. * @return This builder for chaining. */ - public Builder setOperationBytes(com.google.protobuf.ByteString value) { + public Builder setOperationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operation_ = value; onChanged(); return this; @@ -1006,47 +920,34 @@ public Builder setOperationBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp operationStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - operationStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> operationStartTimeBuilder_; /** - * - * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return Whether the operationStartTime field is set. */ public boolean hasOperationStartTime() { return operationStartTimeBuilder_ != null || operationStartTime_ != null; } /** - * - * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return The operationStartTime. */ public com.google.protobuf.Timestamp getOperationStartTime() { if (operationStartTimeBuilder_ == null) { - return operationStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : operationStartTime_; + return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; } else { return operationStartTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1067,15 +968,14 @@ public Builder setOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; */ - public Builder setOperationStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setOperationStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (operationStartTimeBuilder_ == null) { operationStartTime_ = builderForValue.build(); onChanged(); @@ -1086,8 +986,6 @@ public Builder setOperationStartTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1098,9 +996,7 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { if (operationStartTimeBuilder_ == null) { if (operationStartTime_ != null) { operationStartTime_ = - com.google.protobuf.Timestamp.newBuilder(operationStartTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(operationStartTime_).mergeFrom(value).buildPartial(); } else { operationStartTime_ = value; } @@ -1112,8 +1008,6 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1132,8 +1026,6 @@ public Builder clearOperationStartTime() { return this; } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1141,13 +1033,11 @@ public Builder clearOperationStartTime() { * .google.protobuf.Timestamp operation_start_time = 3; */ public com.google.protobuf.Timestamp.Builder getOperationStartTimeBuilder() { - + onChanged(); return getOperationStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1158,14 +1048,11 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { if (operationStartTimeBuilder_ != null) { return operationStartTimeBuilder_.getMessageOrBuilder(); } else { - return operationStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : operationStartTime_; + return operationStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; } } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1173,17 +1060,14 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { * .google.protobuf.Timestamp operation_start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getOperationStartTimeFieldBuilder() { if (operationStartTimeBuilder_ == null) { - operationStartTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOperationStartTime(), getParentForChildren(), isClean()); + operationStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOperationStartTime(), + getParentForChildren(), + isClean()); operationStartTime_ = null; } return operationStartTimeBuilder_; @@ -1191,20 +1075,18 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { private java.lang.Object currentVersion_ = ""; /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @return The currentVersion. */ public java.lang.String getCurrentVersion() { java.lang.Object ref = currentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; @@ -1213,21 +1095,20 @@ public java.lang.String getCurrentVersion() { } } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @return The bytes for currentVersion. */ - public com.google.protobuf.ByteString getCurrentVersionBytes() { + public com.google.protobuf.ByteString + getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -1235,61 +1116,54 @@ public com.google.protobuf.ByteString getCurrentVersionBytes() { } } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @param value The currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersion(java.lang.String value) { + public Builder setCurrentVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentVersion_ = value; onChanged(); return this; } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @return This builder for chaining. */ public Builder clearCurrentVersion() { - + currentVersion_ = getDefaultInstance().getCurrentVersion(); onChanged(); return this; } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @param value The bytes for currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) { + public Builder setCurrentVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentVersion_ = value; onChanged(); return this; @@ -1297,20 +1171,18 @@ public Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetVersion_ = ""; /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; @@ -1319,21 +1191,20 @@ public java.lang.String getTargetVersion() { } } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @return The bytes for targetVersion. */ - public com.google.protobuf.ByteString getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -1341,61 +1212,54 @@ public com.google.protobuf.ByteString getTargetVersionBytes() { } } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @param value The targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersion(java.lang.String value) { + public Builder setTargetVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetVersion_ = value; onChanged(); return this; } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @return This builder for chaining. */ public Builder clearTargetVersion() { - + targetVersion_ = getDefaultInstance().getTargetVersion(); onChanged(); return this; } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @param value The bytes for targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { + public Builder setTargetVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetVersion_ = value; onChanged(); return this; @@ -1403,21 +1267,19 @@ public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object resource_ = ""; /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1426,22 +1288,21 @@ public java.lang.String getResource() { } } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -1449,71 +1310,64 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1523,12 +1377,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.UpgradeEvent) } // @@protoc_insertion_point(class_scope:google.container.v1.UpgradeEvent) private static final com.google.container.v1.UpgradeEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.UpgradeEvent(); } @@ -1537,27 +1391,27 @@ public static com.google.container.v1.UpgradeEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1572,4 +1426,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpgradeEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java similarity index 74% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java index d6dadc9ecbd0..270950ec4f17 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java @@ -1,105 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface UpgradeEventOrBuilder - extends +public interface UpgradeEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpgradeEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** - * - * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; - * * @return The resourceType. */ com.google.container.v1.UpgradeResourceType getResourceType(); /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The operation. */ java.lang.String getOperation(); /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The bytes for operation. */ - com.google.protobuf.ByteString getOperationBytes(); + com.google.protobuf.ByteString + getOperationBytes(); /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return Whether the operationStartTime field is set. */ boolean hasOperationStartTime(); /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return The operationStartTime. */ com.google.protobuf.Timestamp getOperationStartTime(); /** - * - * *
    * The time when the operation was started.
    * 
@@ -109,79 +74,64 @@ public interface UpgradeEventOrBuilder com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder(); /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The currentVersion. */ java.lang.String getCurrentVersion(); /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The bytes for currentVersion. */ - com.google.protobuf.ByteString getCurrentVersionBytes(); + com.google.protobuf.ByteString + getCurrentVersionBytes(); /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The targetVersion. */ java.lang.String getTargetVersion(); /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The bytes for targetVersion. */ - com.google.protobuf.ByteString getTargetVersionBytes(); + com.google.protobuf.ByteString + getTargetVersionBytes(); /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java index 7c574e6b2189..70c269066f62 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * UpgradeResourceType is the resource type that is upgrading. It is used
  * in upgrade notifications.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.container.v1.UpgradeResourceType}
  */
-public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEnum {
+public enum UpgradeResourceType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. This shouldn't be used.
    * 
@@ -40,8 +22,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ UPGRADE_RESOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Master / control plane
    * 
@@ -50,8 +30,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ MASTER(1), /** - * - * *
    * Node pool
    * 
@@ -63,8 +41,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
    * Default value. This shouldn't be used.
    * 
@@ -73,8 +49,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int UPGRADE_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Master / control plane
    * 
@@ -83,8 +57,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int MASTER_VALUE = 1; /** - * - * *
    * Node pool
    * 
@@ -93,6 +65,7 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int NODE_POOL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,14 +90,10 @@ public static UpgradeResourceType valueOf(int value) { */ public static UpgradeResourceType forNumber(int value) { switch (value) { - case 0: - return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; - case 1: - return MASTER; - case 2: - return NODE_POOL; - default: - return null; + case 0: return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; + case 1: return MASTER; + case 2: return NODE_POOL; + default: return null; } } @@ -132,28 +101,28 @@ public static UpgradeResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UpgradeResourceType findValueByNumber(int number) { - return UpgradeResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + UpgradeResourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UpgradeResourceType findValueByNumber(int number) { + return UpgradeResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); } @@ -162,7 +131,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static UpgradeResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -178,3 +148,4 @@ private UpgradeResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.UpgradeResourceType) } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java similarity index 71% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java index 9887a6ff4938..27f9684ff407 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * UsableSubnetwork resource returns the subnetwork name, its associated network
  * and the primary CIDR range.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1.UsableSubnetwork}
  */
-public final class UsableSubnetwork extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UsableSubnetwork extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.UsableSubnetwork)
     UsableSubnetworkOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UsableSubnetwork.newBuilder() to construct.
   private UsableSubnetwork(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UsableSubnetwork() {
     subnetwork_ = "";
     network_ = "";
@@ -48,42 +30,38 @@ private UsableSubnetwork() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UsableSubnetwork();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_UsableSubnetwork_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.UsableSubnetwork.class,
-            com.google.container.v1.UsableSubnetwork.Builder.class);
+            com.google.container.v1.UsableSubnetwork.class, com.google.container.v1.UsableSubnetwork.Builder.class);
   }
 
   public static final int SUBNETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object subnetwork_;
   /**
-   *
-   *
    * 
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The subnetwork. */ @java.lang.Override @@ -92,30 +70,30 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -126,15 +104,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int NETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object network_; /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The network. */ @java.lang.Override @@ -143,30 +118,30 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -177,14 +152,11 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object ipCidrRange_; /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The ipCidrRange. */ @java.lang.Override @@ -193,29 +165,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -226,84 +198,66 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { public static final int SECONDARY_IP_RANGES_FIELD_NUMBER = 4; private java.util.List secondaryIpRanges_; /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override - public java.util.List - getSecondaryIpRangesList() { + public java.util.List getSecondaryIpRangesList() { return secondaryIpRanges_; } /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override - public java.util.List + public java.util.List getSecondaryIpRangesOrBuilderList() { return secondaryIpRanges_; } /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override public int getSecondaryIpRangesCount() { return secondaryIpRanges_.size(); } /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { return secondaryIpRanges_.get(index); } /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override - public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder - getSecondaryIpRangesOrBuilder(int index) { + public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( + int index) { return secondaryIpRanges_.get(index); } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -312,7 +266,6 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRang
    * 
* * string status_message = 5; - * * @return The statusMessage. */ @java.lang.Override @@ -321,15 +274,14 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -338,15 +290,16 @@ public java.lang.String getStatusMessage() {
    * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -355,7 +308,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,7 +319,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subnetwork_); } @@ -402,8 +355,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipCidrRange_); } for (int i = 0; i < secondaryIpRanges_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, secondaryIpRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, secondaryIpRanges_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -416,18 +369,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UsableSubnetwork)) { return super.equals(obj); } com.google.container.v1.UsableSubnetwork other = (com.google.container.v1.UsableSubnetwork) obj; - if (!getSubnetwork().equals(other.getSubnetwork())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; - if (!getSecondaryIpRangesList().equals(other.getSecondaryIpRangesList())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (!getSubnetwork() + .equals(other.getSubnetwork())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getIpCidrRange() + .equals(other.getIpCidrRange())) return false; + if (!getSecondaryIpRangesList() + .equals(other.getSecondaryIpRangesList())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -456,104 +414,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UsableSubnetwork parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.UsableSubnetwork parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UsableSubnetwork parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetwork parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UsableSubnetwork parseFrom( 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.UsableSubnetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UsableSubnetwork parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.UsableSubnetwork parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UsableSubnetwork parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.UsableSubnetwork parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.UsableSubnetwork parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.UsableSubnetwork parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.UsableSubnetwork parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UsableSubnetwork parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.UsableSubnetwork prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UsableSubnetwork resource returns the subnetwork name, its associated network
    * and the primary CIDR range.
@@ -561,32 +512,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.UsableSubnetwork}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.UsableSubnetwork)
       com.google.container.v1.UsableSubnetworkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UsableSubnetwork_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.UsableSubnetwork.class,
-              com.google.container.v1.UsableSubnetwork.Builder.class);
+              com.google.container.v1.UsableSubnetwork.class, com.google.container.v1.UsableSubnetwork.Builder.class);
     }
 
     // Construct using com.google.container.v1.UsableSubnetwork.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -609,9 +561,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_UsableSubnetwork_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
@@ -630,8 +582,7 @@ public com.google.container.v1.UsableSubnetwork build() {
 
     @java.lang.Override
     public com.google.container.v1.UsableSubnetwork buildPartial() {
-      com.google.container.v1.UsableSubnetwork result =
-          new com.google.container.v1.UsableSubnetwork(this);
+      com.google.container.v1.UsableSubnetwork result = new com.google.container.v1.UsableSubnetwork(this);
       int from_bitField0_ = bitField0_;
       result.subnetwork_ = subnetwork_;
       result.network_ = network_;
@@ -654,39 +605,38 @@ public com.google.container.v1.UsableSubnetwork buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.UsableSubnetwork) {
-        return mergeFrom((com.google.container.v1.UsableSubnetwork) other);
+        return mergeFrom((com.google.container.v1.UsableSubnetwork)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -725,10 +675,9 @@ public Builder mergeFrom(com.google.container.v1.UsableSubnetwork other) {
             secondaryIpRangesBuilder_ = null;
             secondaryIpRanges_ = other.secondaryIpRanges_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            secondaryIpRangesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSecondaryIpRangesFieldBuilder()
-                    : null;
+            secondaryIpRangesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSecondaryIpRangesFieldBuilder() : null;
           } else {
             secondaryIpRangesBuilder_.addAllMessages(other.secondaryIpRanges_);
           }
@@ -764,51 +713,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                subnetwork_ = input.readStringRequireUtf8();
+            case 10: {
+              subnetwork_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                network_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              network_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                ipCidrRange_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              ipCidrRange_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.container.v1.UsableSubnetworkSecondaryRange m =
-                    input.readMessage(
-                        com.google.container.v1.UsableSubnetworkSecondaryRange.parser(),
-                        extensionRegistry);
-                if (secondaryIpRangesBuilder_ == null) {
-                  ensureSecondaryIpRangesIsMutable();
-                  secondaryIpRanges_.add(m);
-                } else {
-                  secondaryIpRangesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            case 42:
-              {
-                statusMessage_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              com.google.container.v1.UsableSubnetworkSecondaryRange m =
+                  input.readMessage(
+                      com.google.container.v1.UsableSubnetworkSecondaryRange.parser(),
+                      extensionRegistry);
+              if (secondaryIpRangesBuilder_ == null) {
+                ensureSecondaryIpRangesIsMutable();
+                secondaryIpRanges_.add(m);
+              } else {
+                secondaryIpRangesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            case 42: {
+              statusMessage_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -818,26 +761,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object subnetwork_ = "";
     /**
-     *
-     *
      * 
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -846,22 +786,21 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -869,64 +808,57 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; @@ -934,21 +866,19 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -957,22 +887,21 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -980,64 +909,57 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1045,20 +967,18 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipCidrRange_ = ""; /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -1067,21 +987,20 @@ public java.lang.String getIpCidrRange() { } } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -1089,96 +1008,79 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { } } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange(java.lang.String value) { + public Builder setIpCidrRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; } - private java.util.List - secondaryIpRanges_ = java.util.Collections.emptyList(); - + private java.util.List secondaryIpRanges_ = + java.util.Collections.emptyList(); private void ensureSecondaryIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - secondaryIpRanges_ = - new java.util.ArrayList( - secondaryIpRanges_); + secondaryIpRanges_ = new java.util.ArrayList(secondaryIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetworkSecondaryRange, - com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, - com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> - secondaryIpRangesBuilder_; + com.google.container.v1.UsableSubnetworkSecondaryRange, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> secondaryIpRangesBuilder_; /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public java.util.List - getSecondaryIpRangesList() { + public java.util.List getSecondaryIpRangesList() { if (secondaryIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(secondaryIpRanges_); } else { @@ -1186,14 +1088,11 @@ private void ensureSecondaryIpRangesIsMutable() { } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public int getSecondaryIpRangesCount() { if (secondaryIpRangesBuilder_ == null) { @@ -1203,14 +1102,11 @@ public int getSecondaryIpRangesCount() { } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { if (secondaryIpRangesBuilder_ == null) { @@ -1220,14 +1116,11 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRang } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder setSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange value) { @@ -1244,14 +1137,11 @@ public Builder setSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder setSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1265,17 +1155,13 @@ public Builder setSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public Builder addSecondaryIpRanges( - com.google.container.v1.UsableSubnetworkSecondaryRange value) { + public Builder addSecondaryIpRanges(com.google.container.v1.UsableSubnetworkSecondaryRange value) { if (secondaryIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1289,14 +1175,11 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange value) { @@ -1313,14 +1196,11 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addSecondaryIpRanges( com.google.container.v1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1334,14 +1214,11 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1355,21 +1232,18 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addAllSecondaryIpRanges( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, secondaryIpRanges_); onChanged(); } else { secondaryIpRangesBuilder_.addAllMessages(values); @@ -1377,14 +1251,11 @@ public Builder addAllSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder clearSecondaryIpRanges() { if (secondaryIpRangesBuilder_ == null) { @@ -1397,14 +1268,11 @@ public Builder clearSecondaryIpRanges() { return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder removeSecondaryIpRanges(int index) { if (secondaryIpRangesBuilder_ == null) { @@ -1417,49 +1285,39 @@ public Builder removeSecondaryIpRanges(int index) { return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder - getSecondaryIpRangesBuilder(int index) { + public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder( + int index) { return getSecondaryIpRangesFieldBuilder().getBuilder(index); } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder - getSecondaryIpRangesOrBuilder(int index) { + public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( + int index) { if (secondaryIpRangesBuilder_ == null) { - return secondaryIpRanges_.get(index); - } else { + return secondaryIpRanges_.get(index); } else { return secondaryIpRangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public java.util.List - getSecondaryIpRangesOrBuilderList() { + public java.util.List + getSecondaryIpRangesOrBuilderList() { if (secondaryIpRangesBuilder_ != null) { return secondaryIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1467,62 +1325,45 @@ public Builder removeSecondaryIpRanges(int index) { } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder - addSecondaryIpRangesBuilder() { - return getSecondaryIpRangesFieldBuilder() - .addBuilder(com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder() { + return getSecondaryIpRangesFieldBuilder().addBuilder( + com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder - addSecondaryIpRangesBuilder(int index) { - return getSecondaryIpRangesFieldBuilder() - .addBuilder( - index, com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder( + int index) { + return getSecondaryIpRangesFieldBuilder().addBuilder( + index, com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** - * - * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public java.util.List - getSecondaryIpRangesBuilderList() { + public java.util.List + getSecondaryIpRangesBuilderList() { return getSecondaryIpRangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetworkSecondaryRange, - com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, - com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> + com.google.container.v1.UsableSubnetworkSecondaryRange, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesFieldBuilder() { if (secondaryIpRangesBuilder_ == null) { - secondaryIpRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetworkSecondaryRange, - com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, - com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder>( + secondaryIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.UsableSubnetworkSecondaryRange, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder>( secondaryIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1534,8 +1375,6 @@ public Builder removeSecondaryIpRanges(int index) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1544,13 +1383,13 @@ public Builder removeSecondaryIpRanges(int index) {
      * 
* * string status_message = 5; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1559,8 +1398,6 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1569,14 +1406,15 @@ public java.lang.String getStatusMessage() {
      * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1584,8 +1422,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1594,22 +1430,20 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
      * 
* * string status_message = 5; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { + public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1618,18 +1452,15 @@ public Builder setStatusMessage(java.lang.String value) {
      * 
* * string status_message = 5; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1638,23 +1469,23 @@ public Builder clearStatusMessage() {
      * 
* * string status_message = 5; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1664,12 +1495,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.UsableSubnetwork) } // @@protoc_insertion_point(class_scope:google.container.v1.UsableSubnetwork) private static final com.google.container.v1.UsableSubnetwork DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.UsableSubnetwork(); } @@ -1678,27 +1509,27 @@ public static com.google.container.v1.UsableSubnetwork getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetwork parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetwork parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1713,4 +1544,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UsableSubnetwork getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java index 1b967b99c28e..aff66f02a78b 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java @@ -1,168 +1,121 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface UsableSubnetworkOrBuilder - extends +public interface UsableSubnetworkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.UsableSubnetwork) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString getIpCidrRangeBytes(); + com.google.protobuf.ByteString + getIpCidrRangeBytes(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - java.util.List getSecondaryIpRangesList(); + java.util.List + getSecondaryIpRangesList(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index); /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ int getSecondaryIpRangesCount(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - java.util.List + java.util.List getSecondaryIpRangesOrBuilderList(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( int index); /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -171,13 +124,10 @@ com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRa
    * 
* * string status_message = 5; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -186,8 +136,8 @@ com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRa
    * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); } diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java similarity index 69% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java index f8e42cf4aef6..5fc19eb41747 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Secondary IP range of a usable subnetwork.
  * 
* * Protobuf type {@code google.container.v1.UsableSubnetworkSecondaryRange} */ -public final class UsableSubnetworkSecondaryRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UsableSubnetworkSecondaryRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.UsableSubnetworkSecondaryRange) UsableSubnetworkSecondaryRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UsableSubnetworkSecondaryRange.newBuilder() to construct. - private UsableSubnetworkSecondaryRange( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UsableSubnetworkSecondaryRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UsableSubnetworkSecondaryRange() { rangeName_ = ""; ipCidrRange_ = ""; @@ -46,43 +27,39 @@ private UsableSubnetworkSecondaryRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UsableSubnetworkSecondaryRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UsableSubnetworkSecondaryRange.class, - com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1.UsableSubnetworkSecondaryRange.class, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); } /** - * - * *
    * Status shows the current usage of a secondary IP range.
    * 
* * Protobuf enum {@code google.container.v1.UsableSubnetworkSecondaryRange.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -91,8 +68,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -101,8 +76,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ UNUSED(1), /** - * - * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -112,8 +85,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     IN_USE_SERVICE(2),
     /**
-     *
-     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -124,8 +95,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     IN_USE_SHAREABLE_POD(3),
     /**
-     *
-     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -138,8 +107,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -148,8 +115,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -158,8 +123,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNUSED_VALUE = 1; /** - * - * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -169,8 +132,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IN_USE_SERVICE_VALUE = 2;
     /**
-     *
-     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -181,8 +142,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IN_USE_SHAREABLE_POD_VALUE = 3;
     /**
-     *
-     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -192,6 +151,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IN_USE_MANAGED_POD_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -216,55 +176,51 @@ public static Status valueOf(int value) {
      */
     public static Status forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNKNOWN;
-        case 1:
-          return UNUSED;
-        case 2:
-          return IN_USE_SERVICE;
-        case 3:
-          return IN_USE_SHAREABLE_POD;
-        case 4:
-          return IN_USE_MANAGED_POD;
-        default:
-          return null;
+        case 0: return UNKNOWN;
+        case 1: return UNUSED;
+        case 2: return IN_USE_SERVICE;
+        case 3: return IN_USE_SHAREABLE_POD;
+        case 4: return IN_USE_MANAGED_POD;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Status findValueByNumber(int number) {
-            return Status.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Status> 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() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.container.v1.UsableSubnetworkSecondaryRange.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.container.v1.UsableSubnetworkSecondaryRange.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -284,15 +240,12 @@ private Status(int value) {
   public static final int RANGE_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object rangeName_;
   /**
-   *
-   *
    * 
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The rangeName. */ @java.lang.Override @@ -301,30 +254,30 @@ public java.lang.String getRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; } } /** - * - * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The bytes for rangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getRangeNameBytes() { + public com.google.protobuf.ByteString + getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rangeName_ = b; return b; } else { @@ -335,14 +288,11 @@ public com.google.protobuf.ByteString getRangeNameBytes() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 2; private volatile java.lang.Object ipCidrRange_; /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The ipCidrRange. */ @java.lang.Override @@ -351,29 +301,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -384,43 +334,31 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { public static final int STATUS_FIELD_NUMBER = 3; private int status_; /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { + @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = - com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null - ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED - : result; + com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -432,15 +370,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rangeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ipCidrRange_); } - if (status_ - != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + if (status_ != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { output.writeEnum(3, status_); } getUnknownFields().writeTo(output); @@ -458,9 +396,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ipCidrRange_); } - if (status_ - != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, status_); + if (status_ != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, status_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -470,16 +408,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UsableSubnetworkSecondaryRange)) { return super.equals(obj); } - com.google.container.v1.UsableSubnetworkSecondaryRange other = - (com.google.container.v1.UsableSubnetworkSecondaryRange) obj; + com.google.container.v1.UsableSubnetworkSecondaryRange other = (com.google.container.v1.UsableSubnetworkSecondaryRange) obj; - if (!getRangeName().equals(other.getRangeName())) return false; - if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; + if (!getRangeName() + .equals(other.getRangeName())) return false; + if (!getIpCidrRange() + .equals(other.getIpCidrRange())) return false; if (status_ != other.status_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -504,136 +443,129 @@ public int hashCode() { } public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( 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.UsableSubnetworkSecondaryRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1.UsableSubnetworkSecondaryRange prototype) { + public static Builder newBuilder(com.google.container.v1.UsableSubnetworkSecondaryRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Secondary IP range of a usable subnetwork.
    * 
* * Protobuf type {@code google.container.v1.UsableSubnetworkSecondaryRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.UsableSubnetworkSecondaryRange) com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UsableSubnetworkSecondaryRange.class, - com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1.UsableSubnetworkSecondaryRange.class, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); } // Construct using com.google.container.v1.UsableSubnetworkSecondaryRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +579,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override @@ -668,8 +600,7 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange build() { @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange buildPartial() { - com.google.container.v1.UsableSubnetworkSecondaryRange result = - new com.google.container.v1.UsableSubnetworkSecondaryRange(this); + com.google.container.v1.UsableSubnetworkSecondaryRange result = new com.google.container.v1.UsableSubnetworkSecondaryRange(this); result.rangeName_ = rangeName_; result.ipCidrRange_ = ipCidrRange_; result.status_ = status_; @@ -681,39 +612,38 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UsableSubnetworkSecondaryRange) { - return mergeFrom((com.google.container.v1.UsableSubnetworkSecondaryRange) other); + return mergeFrom((com.google.container.v1.UsableSubnetworkSecondaryRange)other); } else { super.mergeFrom(other); return this; @@ -721,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.UsableSubnetworkSecondaryRange other) { - if (other == com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()) - return this; + if (other == com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()) return this; if (!other.getRangeName().isEmpty()) { rangeName_ = other.rangeName_; onChanged(); @@ -760,31 +689,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rangeName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - ipCidrRange_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - status_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rangeName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + ipCidrRange_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + status_ = input.readEnum(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -797,21 +722,19 @@ public Builder mergeFrom( private java.lang.Object rangeName_ = ""; /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @return The rangeName. */ public java.lang.String getRangeName() { java.lang.Object ref = rangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; @@ -820,22 +743,21 @@ public java.lang.String getRangeName() { } } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @return The bytes for rangeName. */ - public com.google.protobuf.ByteString getRangeNameBytes() { + public com.google.protobuf.ByteString + getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rangeName_ = b; return b; } else { @@ -843,64 +765,57 @@ public com.google.protobuf.ByteString getRangeNameBytes() { } } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @param value The rangeName to set. * @return This builder for chaining. */ - public Builder setRangeName(java.lang.String value) { + public Builder setRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rangeName_ = value; onChanged(); return this; } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @return This builder for chaining. */ public Builder clearRangeName() { - + rangeName_ = getDefaultInstance().getRangeName(); onChanged(); return this; } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @param value The bytes for rangeName to set. * @return This builder for chaining. */ - public Builder setRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rangeName_ = value; onChanged(); return this; @@ -908,20 +823,18 @@ public Builder setRangeNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipCidrRange_ = ""; /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -930,21 +843,20 @@ public java.lang.String getIpCidrRange() { } } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -952,61 +864,54 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { } } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange(java.lang.String value) { + public Builder setIpCidrRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; @@ -1014,67 +919,51 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The status. */ @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = - com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null - ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED - : result; + com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @param value The status to set. * @return This builder for chaining. */ @@ -1082,31 +971,28 @@ public Builder setStatus(com.google.container.v1.UsableSubnetworkSecondaryRange. if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.UsableSubnetworkSecondaryRange) } // @@protoc_insertion_point(class_scope:google.container.v1.UsableSubnetworkSecondaryRange) private static final com.google.container.v1.UsableSubnetworkSecondaryRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.UsableSubnetworkSecondaryRange(); } @@ -1130,27 +1016,27 @@ public static com.google.container.v1.UsableSubnetworkSecondaryRange getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetworkSecondaryRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetworkSecondaryRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,4 +1051,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.UsableSubnetworkSecondaryRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java index 44fc87c7f346..5f4ddb9cce63 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java @@ -1,101 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; -public interface UsableSubnetworkSecondaryRangeOrBuilder - extends +public interface UsableSubnetworkSecondaryRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.UsableSubnetworkSecondaryRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The rangeName. */ java.lang.String getRangeName(); /** - * - * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The bytes for rangeName. */ - com.google.protobuf.ByteString getRangeNameBytes(); + com.google.protobuf.ByteString + getRangeNameBytes(); /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString getIpCidrRangeBytes(); + com.google.protobuf.ByteString + getIpCidrRangeBytes(); /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The status. */ com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java similarity index 64% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java index 4bd6b6eac1d0..89610a6fa869 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * VerticalPodAutoscaling contains global, per-cluster information
  * required by Vertical Pod Autoscaler to automatically adjust
@@ -29,55 +12,51 @@
  *
  * Protobuf type {@code google.container.v1.VerticalPodAutoscaling}
  */
-public final class VerticalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VerticalPodAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.VerticalPodAutoscaling)
     VerticalPodAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VerticalPodAutoscaling.newBuilder() to construct.
   private VerticalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private VerticalPodAutoscaling() {}
+  private VerticalPodAutoscaling() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VerticalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.VerticalPodAutoscaling.class,
-            com.google.container.v1.VerticalPodAutoscaling.Builder.class);
+            com.google.container.v1.VerticalPodAutoscaling.class, com.google.container.v1.VerticalPodAutoscaling.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enables vertical pod autoscaling.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -86,7 +65,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -112,7 +91,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,15 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.VerticalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1.VerticalPodAutoscaling other = - (com.google.container.v1.VerticalPodAutoscaling) obj; + com.google.container.v1.VerticalPodAutoscaling other = (com.google.container.v1.VerticalPodAutoscaling) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,110 +123,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.VerticalPodAutoscaling parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VerticalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom( 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.VerticalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.VerticalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.VerticalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.VerticalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.VerticalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * VerticalPodAutoscaling contains global, per-cluster information
    * required by Vertical Pod Autoscaler to automatically adjust
@@ -255,32 +229,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.VerticalPodAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.VerticalPodAutoscaling)
       com.google.container.v1.VerticalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.VerticalPodAutoscaling.class,
-              com.google.container.v1.VerticalPodAutoscaling.Builder.class);
+              com.google.container.v1.VerticalPodAutoscaling.class, com.google.container.v1.VerticalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.VerticalPodAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +265,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +286,7 @@ public com.google.container.v1.VerticalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.VerticalPodAutoscaling buildPartial() {
-      com.google.container.v1.VerticalPodAutoscaling result =
-          new com.google.container.v1.VerticalPodAutoscaling(this);
+      com.google.container.v1.VerticalPodAutoscaling result = new com.google.container.v1.VerticalPodAutoscaling(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -322,39 +296,38 @@ public com.google.container.v1.VerticalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.VerticalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1.VerticalPodAutoscaling) other);
+        return mergeFrom((com.google.container.v1.VerticalPodAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -392,19 +365,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -415,16 +386,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -432,43 +400,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -478,12 +440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.VerticalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.VerticalPodAutoscaling) private static final com.google.container.v1.VerticalPodAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.VerticalPodAutoscaling(); } @@ -492,27 +454,27 @@ public static com.google.container.v1.VerticalPodAutoscaling getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerticalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerticalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -527,4 +489,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.VerticalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..5ff0bcd48680 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface VerticalPodAutoscalingOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.VerticalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enables vertical pod autoscaling.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java similarity index 63% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java index 608617fa322b..af385c5ee452 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1; /** - * - * *
  * Configuration of gVNIC feature.
  * 
* * Protobuf type {@code google.container.v1.VirtualNIC} */ -public final class VirtualNIC extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VirtualNIC extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1.VirtualNIC) VirtualNICOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VirtualNIC.newBuilder() to construct. private VirtualNIC(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VirtualNIC() {} + private VirtualNIC() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VirtualNIC(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_VirtualNIC_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_VirtualNIC_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.VirtualNIC.class, - com.google.container.v1.VirtualNIC.Builder.class); + com.google.container.v1.VirtualNIC.class, com.google.container.v1.VirtualNIC.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether gVNIC features are enabled in the node pool.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.VirtualNIC)) { return super.equals(obj); } com.google.container.v1.VirtualNIC other = (com.google.container.v1.VirtualNIC) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,141 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.VirtualNIC parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.VirtualNIC parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.VirtualNIC parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VirtualNIC parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1.VirtualNIC parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.VirtualNIC parseFrom( 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.VirtualNIC parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.VirtualNIC parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.VirtualNIC parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.VirtualNIC parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.VirtualNIC parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.VirtualNIC parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.VirtualNIC parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.VirtualNIC parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.VirtualNIC prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of gVNIC feature.
    * 
* * Protobuf type {@code google.container.v1.VirtualNIC} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1.VirtualNIC) com.google.container.v1.VirtualNICOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_VirtualNIC_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_VirtualNIC_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.VirtualNIC.class, - com.google.container.v1.VirtualNIC.Builder.class); + com.google.container.v1.VirtualNIC.class, com.google.container.v1.VirtualNIC.Builder.class); } // Construct using com.google.container.v1.VirtualNIC.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -284,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto - .internal_static_google_container_v1_VirtualNIC_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_descriptor; } @java.lang.Override @@ -315,39 +292,38 @@ public com.google.container.v1.VirtualNIC buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.VirtualNIC) { - return mergeFrom((com.google.container.v1.VirtualNIC) other); + return mergeFrom((com.google.container.v1.VirtualNIC)other); } else { super.mergeFrom(other); return this; @@ -385,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -408,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -425,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -471,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.VirtualNIC) } // @@protoc_insertion_point(class_scope:google.container.v1.VirtualNIC) private static final com.google.container.v1.VirtualNIC DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.VirtualNIC(); } @@ -485,27 +450,27 @@ public static com.google.container.v1.VirtualNIC getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtualNIC parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VirtualNIC parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -520,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.VirtualNIC getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java new file mode 100644 index 000000000000..c662317b6743 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface VirtualNICOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.VirtualNIC) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether gVNIC features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java index 2abb91f76d62..84a3091f014f 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * Configuration for the use of Kubernetes Service Accounts in GCP IAM
  * policies.
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.container.v1.WorkloadIdentityConfig}
  */
-public final class WorkloadIdentityConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WorkloadIdentityConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.WorkloadIdentityConfig)
     WorkloadIdentityConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WorkloadIdentityConfig.newBuilder() to construct.
   private WorkloadIdentityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WorkloadIdentityConfig() {
     workloadPool_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WorkloadIdentityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.WorkloadIdentityConfig.class,
-            com.google.container.v1.WorkloadIdentityConfig.Builder.class);
+            com.google.container.v1.WorkloadIdentityConfig.class, com.google.container.v1.WorkloadIdentityConfig.Builder.class);
   }
 
   public static final int WORKLOAD_POOL_FIELD_NUMBER = 2;
   private volatile java.lang.Object workloadPool_;
   /**
-   *
-   *
    * 
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; - * * @return The workloadPool. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getWorkloadPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; } } /** - * - * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkloadPoolBytes() { + public com.google.protobuf.ByteString + getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -118,7 +96,6 @@ public com.google.protobuf.ByteString getWorkloadPoolBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workloadPool_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workloadPool_); } @@ -154,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.WorkloadIdentityConfig)) { return super.equals(obj); } - com.google.container.v1.WorkloadIdentityConfig other = - (com.google.container.v1.WorkloadIdentityConfig) obj; + com.google.container.v1.WorkloadIdentityConfig other = (com.google.container.v1.WorkloadIdentityConfig) obj; - if (!getWorkloadPool().equals(other.getWorkloadPool())) return false; + if (!getWorkloadPool() + .equals(other.getWorkloadPool())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -181,104 +159,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.WorkloadIdentityConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.WorkloadIdentityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -286,32 +257,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.WorkloadIdentityConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.WorkloadIdentityConfig)
       com.google.container.v1.WorkloadIdentityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.WorkloadIdentityConfig.class,
-              com.google.container.v1.WorkloadIdentityConfig.Builder.class);
+              com.google.container.v1.WorkloadIdentityConfig.class, com.google.container.v1.WorkloadIdentityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.WorkloadIdentityConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -321,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -342,8 +314,7 @@ public com.google.container.v1.WorkloadIdentityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.WorkloadIdentityConfig buildPartial() {
-      com.google.container.v1.WorkloadIdentityConfig result =
-          new com.google.container.v1.WorkloadIdentityConfig(this);
+      com.google.container.v1.WorkloadIdentityConfig result = new com.google.container.v1.WorkloadIdentityConfig(this);
       result.workloadPool_ = workloadPool_;
       onBuilt();
       return result;
@@ -353,39 +324,38 @@ public com.google.container.v1.WorkloadIdentityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.WorkloadIdentityConfig) {
-        return mergeFrom((com.google.container.v1.WorkloadIdentityConfig) other);
+        return mergeFrom((com.google.container.v1.WorkloadIdentityConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -424,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                workloadPool_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              workloadPool_ = input.readStringRequireUtf8();
+
+              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) {
@@ -449,20 +417,18 @@ public Builder mergeFrom(
 
     private java.lang.Object workloadPool_ = "";
     /**
-     *
-     *
      * 
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @return The workloadPool. */ public java.lang.String getWorkloadPool() { java.lang.Object ref = workloadPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; @@ -471,21 +437,20 @@ public java.lang.String getWorkloadPool() { } } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ - public com.google.protobuf.ByteString getWorkloadPoolBytes() { + public com.google.protobuf.ByteString + getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -493,68 +458,61 @@ public com.google.protobuf.ByteString getWorkloadPoolBytes() { } } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @param value The workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPool(java.lang.String value) { + public Builder setWorkloadPool( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workloadPool_ = value; onChanged(); return this; } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @return This builder for chaining. */ public Builder clearWorkloadPool() { - + workloadPool_ = getDefaultInstance().getWorkloadPool(); onChanged(); return this; } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @param value The bytes for workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { + public Builder setWorkloadPoolBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workloadPool_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -564,12 +522,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.WorkloadIdentityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.WorkloadIdentityConfig) private static final com.google.container.v1.WorkloadIdentityConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.WorkloadIdentityConfig(); } @@ -578,27 +536,27 @@ public static com.google.container.v1.WorkloadIdentityConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadIdentityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadIdentityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,4 +571,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java new file mode 100644 index 000000000000..499e602573f7 --- /dev/null +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface WorkloadIdentityConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1.WorkloadIdentityConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The workload pool to attach all Kubernetes service accounts to.
+   * 
+ * + * string workload_pool = 2; + * @return The workloadPool. + */ + java.lang.String getWorkloadPool(); + /** + *
+   * The workload pool to attach all Kubernetes service accounts to.
+   * 
+ * + * string workload_pool = 2; + * @return The bytes for workloadPool. + */ + com.google.protobuf.ByteString + getWorkloadPoolBytes(); +} diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java similarity index 68% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java index 4d280d9951f9..b82828e7f906 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** - * - * *
  * WorkloadMetadataConfig defines the metadata configuration to expose to
  * workloads on the node pool.
@@ -28,49 +11,45 @@
  *
  * Protobuf type {@code google.container.v1.WorkloadMetadataConfig}
  */
-public final class WorkloadMetadataConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WorkloadMetadataConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1.WorkloadMetadataConfig)
     WorkloadMetadataConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WorkloadMetadataConfig.newBuilder() to construct.
   private WorkloadMetadataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WorkloadMetadataConfig() {
     mode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WorkloadMetadataConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto
-        .internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.WorkloadMetadataConfig.class,
-            com.google.container.v1.WorkloadMetadataConfig.Builder.class);
+            com.google.container.v1.WorkloadMetadataConfig.class, com.google.container.v1.WorkloadMetadataConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node.
@@ -78,10 +57,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1.WorkloadMetadataConfig.Mode}
    */
-  public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Mode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -90,8 +68,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -100,8 +76,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ GCE_METADATA(1), /** - * - * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -117,8 +91,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -127,8 +99,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -137,8 +107,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCE_METADATA_VALUE = 1; /** - * - * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -151,6 +119,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GKE_METADATA_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -175,49 +144,49 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0:
-          return MODE_UNSPECIFIED;
-        case 1:
-          return GCE_METADATA;
-        case 2:
-          return GKE_METADATA;
-        default:
-          return null;
+        case 0: return MODE_UNSPECIFIED;
+        case 1: return GCE_METADATA;
+        case 2: return GKE_METADATA;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Mode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Mode findValueByNumber(int number) {
+              return Mode.forNumber(number);
+            }
+          };
 
-    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() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1.WorkloadMetadataConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -237,45 +206,33 @@ private Mode(int value) {
   public static final int MODE_FIELD_NUMBER = 2;
   private int mode_;
   /**
-   *
-   *
    * 
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The mode. */ - @java.lang.Override - public com.google.container.v1.WorkloadMetadataConfig.Mode getMode() { + @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1.WorkloadMetadataConfig.Mode result = - com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null - ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED - : result; + com.google.container.v1.WorkloadMetadataConfig.Mode result = com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mode_ != com.google.container.v1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } @@ -301,7 +259,8 @@ public int getSerializedSize() { size = 0; if (mode_ != com.google.container.v1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,13 +270,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.WorkloadMetadataConfig)) { return super.equals(obj); } - com.google.container.v1.WorkloadMetadataConfig other = - (com.google.container.v1.WorkloadMetadataConfig) obj; + com.google.container.v1.WorkloadMetadataConfig other = (com.google.container.v1.WorkloadMetadataConfig) obj; if (mode_ != other.mode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -338,104 +296,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1.WorkloadMetadataConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WorkloadMetadataConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom( 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.WorkloadMetadataConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1.WorkloadMetadataConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1.WorkloadMetadataConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.WorkloadMetadataConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.WorkloadMetadataConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * WorkloadMetadataConfig defines the metadata configuration to expose to
    * workloads on the node pool.
@@ -443,32 +394,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1.WorkloadMetadataConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.WorkloadMetadataConfig)
       com.google.container.v1.WorkloadMetadataConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.WorkloadMetadataConfig.class,
-              com.google.container.v1.WorkloadMetadataConfig.Builder.class);
+              com.google.container.v1.WorkloadMetadataConfig.class, com.google.container.v1.WorkloadMetadataConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.WorkloadMetadataConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto
-          .internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
@@ -499,8 +451,7 @@ public com.google.container.v1.WorkloadMetadataConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.WorkloadMetadataConfig buildPartial() {
-      com.google.container.v1.WorkloadMetadataConfig result =
-          new com.google.container.v1.WorkloadMetadataConfig(this);
+      com.google.container.v1.WorkloadMetadataConfig result = new com.google.container.v1.WorkloadMetadataConfig(this);
       result.mode_ = mode_;
       onBuilt();
       return result;
@@ -510,39 +461,38 @@ public com.google.container.v1.WorkloadMetadataConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.WorkloadMetadataConfig) {
-        return mergeFrom((com.google.container.v1.WorkloadMetadataConfig) other);
+        return mergeFrom((com.google.container.v1.WorkloadMetadataConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -580,19 +530,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 16:
-              {
-                mode_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 16: {
+              mode_ = input.readEnum();
+
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -605,71 +553,55 @@ public Builder mergeFrom(
 
     private int mode_ = 0;
     /**
-     *
-     *
      * 
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @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; onChanged(); return this; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The mode. */ @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1.WorkloadMetadataConfig.Mode result = - com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null - ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED - : result; + com.google.container.v1.WorkloadMetadataConfig.Mode result = com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -677,32 +609,29 @@ public Builder setMode(com.google.container.v1.WorkloadMetadataConfig.Mode value if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -712,12 +641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1.WorkloadMetadataConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.WorkloadMetadataConfig) private static final com.google.container.v1.WorkloadMetadataConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1.WorkloadMetadataConfig(); } @@ -726,27 +655,27 @@ public static com.google.container.v1.WorkloadMetadataConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadMetadataConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadMetadataConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,4 +690,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.WorkloadMetadataConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java similarity index 56% rename from java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java index d24b40fb5cd6..00308faac843 100644 --- a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java @@ -1,51 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface WorkloadMetadataConfigOrBuilder - extends +public interface WorkloadMetadataConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.WorkloadMetadataConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The mode. */ com.google.container.v1.WorkloadMetadataConfig.Mode getMode(); diff --git a/java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto similarity index 100% rename from java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto rename to owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java similarity index 99% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java index 2149b27d5252..0d70963bccc5 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java +++ b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java @@ -683,6 +683,7 @@ public final UnaryCallable updateClusterCallabl * .setGcfsConfig(GcfsConfig.newBuilder().build()) * .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) * .setGvnic(VirtualNIC.newBuilder().build()) + * .setFastSocket(FastSocket.newBuilder().build()) * .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) * .setResourceLabels(ResourceLabels.newBuilder().build()) * .build(); @@ -731,6 +732,7 @@ public final Operation updateNodePool(UpdateNodePoolRequest request) { * .setGcfsConfig(GcfsConfig.newBuilder().build()) * .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) * .setGvnic(VirtualNIC.newBuilder().build()) + * .setFastSocket(FastSocket.newBuilder().build()) * .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) * .setResourceLabels(ResourceLabels.newBuilder().build()) * .build(); diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java similarity index 99% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java index 9c8e7e5a3ba3..67bd5a8270e1 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java +++ b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java @@ -27,6 +27,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.container.v1beta1.stub.ClusterManagerStubSettings; diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java similarity index 100% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java similarity index 99% rename from java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java index 2999b3d01d6a..a342ed55a570 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java +++ b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java @@ -75,6 +75,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java similarity index 99% rename from java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java index d247d788aebc..73fe02c54c5b 100644 --- a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java +++ b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java @@ -44,6 +44,7 @@ import com.google.container.v1beta1.DatabaseEncryption; import com.google.container.v1beta1.DeleteClusterRequest; import com.google.container.v1beta1.DeleteNodePoolRequest; +import com.google.container.v1beta1.FastSocket; import com.google.container.v1beta1.GcfsConfig; import com.google.container.v1beta1.GetClusterRequest; import com.google.container.v1beta1.GetJSONWebKeysRequest; @@ -495,6 +496,7 @@ public void updateNodePoolTest() throws Exception { .setGcfsConfig(GcfsConfig.newBuilder().build()) .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) .setGvnic(VirtualNIC.newBuilder().build()) + .setFastSocket(FastSocket.newBuilder().build()) .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) .setResourceLabels(ResourceLabels.newBuilder().build()) .build(); @@ -526,6 +528,7 @@ public void updateNodePoolTest() throws Exception { Assert.assertEquals(request.getGcfsConfig(), actualRequest.getGcfsConfig()); Assert.assertEquals(request.getConfidentialNodes(), actualRequest.getConfidentialNodes()); Assert.assertEquals(request.getGvnic(), actualRequest.getGvnic()); + Assert.assertEquals(request.getFastSocket(), actualRequest.getFastSocket()); Assert.assertEquals(request.getLoggingConfig(), actualRequest.getLoggingConfig()); Assert.assertEquals(request.getResourceLabels(), actualRequest.getResourceLabels()); Assert.assertTrue( @@ -561,6 +564,7 @@ public void updateNodePoolExceptionTest() throws Exception { .setGcfsConfig(GcfsConfig.newBuilder().build()) .setConfidentialNodes(ConfidentialNodes.newBuilder().build()) .setGvnic(VirtualNIC.newBuilder().build()) + .setFastSocket(FastSocket.newBuilder().build()) .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build()) .setResourceLabels(ResourceLabels.newBuilder().build()) .build(); diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java similarity index 100% rename from java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java diff --git a/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java b/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java similarity index 100% rename from java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java rename to owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java diff --git a/owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java b/owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java new file mode 100644 index 000000000000..0251a0b314c5 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java @@ -0,0 +1,3261 @@ +package com.google.container.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Google Kubernetes Engine Cluster Manager v1beta1
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/container/v1beta1/cluster_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ClusterManagerGrpc { + + private ClusterManagerGrpc() {} + + public static final String SERVICE_NAME = "google.container.v1beta1.ClusterManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.container.v1beta1.ListClustersRequest.class, + responseType = com.google.container.v1beta1.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + ClusterManagerGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.container.v1beta1.GetClusterRequest.class, + responseType = com.google.container.v1beta1.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + ClusterManagerGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.container.v1beta1.CreateClusterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + ClusterManagerGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.container.v1beta1.UpdateClusterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + ClusterManagerGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.UpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", + requestType = com.google.container.v1beta1.UpdateNodePoolRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateNodePoolMethod() { + io.grpc.MethodDescriptor getUpdateNodePoolMethod; + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + ClusterManagerGrpc.getUpdateNodePoolMethod = getUpdateNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.UpdateNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) + .build(); + } + } + } + return getUpdateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", + requestType = com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod() { + io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { + ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = getSetNodePoolAutoscalingMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNodePoolAutoscalingRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) + .build(); + } + } + } + return getSetNodePoolAutoscalingMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLoggingServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", + requestType = com.google.container.v1beta1.SetLoggingServiceRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLoggingServiceMethod() { + io.grpc.MethodDescriptor getSetLoggingServiceMethod; + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + ClusterManagerGrpc.getSetLoggingServiceMethod = getSetLoggingServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLoggingServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) + .build(); + } + } + } + return getSetLoggingServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetMonitoringServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", + requestType = com.google.container.v1beta1.SetMonitoringServiceRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetMonitoringServiceMethod() { + io.grpc.MethodDescriptor getSetMonitoringServiceMethod; + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { + ClusterManagerGrpc.getSetMonitoringServiceMethod = getSetMonitoringServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetMonitoringServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) + .build(); + } + } + } + return getSetMonitoringServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetAddonsConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", + requestType = com.google.container.v1beta1.SetAddonsConfigRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetAddonsConfigMethod() { + io.grpc.MethodDescriptor getSetAddonsConfigMethod; + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + ClusterManagerGrpc.getSetAddonsConfigMethod = getSetAddonsConfigMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetAddonsConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) + .build(); + } + } + } + return getSetAddonsConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLocations", + requestType = com.google.container.v1beta1.SetLocationsRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLocationsMethod() { + io.grpc.MethodDescriptor getSetLocationsMethod; + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + ClusterManagerGrpc.getSetLocationsMethod = getSetLocationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLocationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLocations")) + .build(); + } + } + } + return getSetLocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateMasterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", + requestType = com.google.container.v1beta1.UpdateMasterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateMasterMethod() { + io.grpc.MethodDescriptor getUpdateMasterMethod; + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + ClusterManagerGrpc.getUpdateMasterMethod = getUpdateMasterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.UpdateMasterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) + .build(); + } + } + } + return getUpdateMasterMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetMasterAuthMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", + requestType = com.google.container.v1beta1.SetMasterAuthRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetMasterAuthMethod() { + io.grpc.MethodDescriptor getSetMasterAuthMethod; + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + ClusterManagerGrpc.getSetMasterAuthMethod = getSetMasterAuthMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetMasterAuthRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) + .build(); + } + } + } + return getSetMasterAuthMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.container.v1beta1.DeleteClusterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + ClusterManagerGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListOperationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOperations", + requestType = com.google.container.v1beta1.ListOperationsRequest.class, + responseType = com.google.container.v1beta1.ListOperationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListOperationsMethod() { + io.grpc.MethodDescriptor getListOperationsMethod; + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + ClusterManagerGrpc.getListOperationsMethod = getListOperationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListOperationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListOperationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListOperations")) + .build(); + } + } + } + return getListOperationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOperation", + requestType = com.google.container.v1beta1.GetOperationRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetOperationMethod() { + io.grpc.MethodDescriptor getGetOperationMethod; + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + ClusterManagerGrpc.getGetOperationMethod = getGetOperationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetOperation")) + .build(); + } + } + } + return getGetOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelOperation", + requestType = com.google.container.v1beta1.CancelOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelOperationMethod() { + io.grpc.MethodDescriptor getCancelOperationMethod; + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + ClusterManagerGrpc.getCancelOperationMethod = getCancelOperationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CancelOperationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CancelOperation")) + .build(); + } + } + } + return getCancelOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", + requestType = com.google.container.v1beta1.GetServerConfigRequest.class, + responseType = com.google.container.v1beta1.ServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetServerConfigMethod() { + io.grpc.MethodDescriptor getGetServerConfigMethod; + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + ClusterManagerGrpc.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.container.v1beta1.GetServerConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ServerConfig.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) + .build(); + } + } + } + return getGetServerConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor getListNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNodePools", + requestType = com.google.container.v1beta1.ListNodePoolsRequest.class, + responseType = com.google.container.v1beta1.ListNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListNodePoolsMethod() { + io.grpc.MethodDescriptor getListNodePoolsMethod; + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + ClusterManagerGrpc.getListNodePoolsMethod = getListNodePoolsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListNodePoolsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListNodePoolsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListNodePools")) + .build(); + } + } + } + return getListNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJSONWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", + requestType = com.google.container.v1beta1.GetJSONWebKeysRequest.class, + responseType = com.google.container.v1beta1.GetJSONWebKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJSONWebKeysMethod() { + io.grpc.MethodDescriptor getGetJSONWebKeysMethod; + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + ClusterManagerGrpc.getGetJSONWebKeysMethod = getGetJSONWebKeysMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetJSONWebKeysRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetJSONWebKeysResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) + .build(); + } + } + } + return getGetJSONWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNodePool", + requestType = com.google.container.v1beta1.GetNodePoolRequest.class, + responseType = com.google.container.v1beta1.NodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetNodePoolMethod() { + io.grpc.MethodDescriptor getGetNodePoolMethod; + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + ClusterManagerGrpc.getGetNodePoolMethod = getGetNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.NodePool.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetNodePool")) + .build(); + } + } + } + return getGetNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", + requestType = com.google.container.v1beta1.CreateNodePoolRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateNodePoolMethod() { + io.grpc.MethodDescriptor getCreateNodePoolMethod; + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + ClusterManagerGrpc.getCreateNodePoolMethod = getCreateNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CreateNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) + .build(); + } + } + } + return getCreateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", + requestType = com.google.container.v1beta1.DeleteNodePoolRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteNodePoolMethod() { + io.grpc.MethodDescriptor getDeleteNodePoolMethod; + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + ClusterManagerGrpc.getDeleteNodePoolMethod = getDeleteNodePoolMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.DeleteNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) + .build(); + } + } + } + return getDeleteNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", + requestType = com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { + ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = getCompleteNodePoolUpgradeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) + .build(); + } + } + } + return getCompleteNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", + requestType = com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { + ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = getRollbackNodePoolUpgradeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) + .build(); + } + } + } + return getRollbackNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNodePoolManagementMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", + requestType = com.google.container.v1beta1.SetNodePoolManagementRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNodePoolManagementMethod() { + io.grpc.MethodDescriptor getSetNodePoolManagementMethod; + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { + ClusterManagerGrpc.getSetNodePoolManagementMethod = getSetNodePoolManagementMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNodePoolManagementRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) + .build(); + } + } + } + return getSetNodePoolManagementMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLabelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLabels", + requestType = com.google.container.v1beta1.SetLabelsRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLabelsMethod() { + io.grpc.MethodDescriptor getSetLabelsMethod; + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + ClusterManagerGrpc.getSetLabelsMethod = getSetLabelsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLabelsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) + .build(); + } + } + } + return getSetLabelsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetLegacyAbacMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", + requestType = com.google.container.v1beta1.SetLegacyAbacRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetLegacyAbacMethod() { + io.grpc.MethodDescriptor getSetLegacyAbacMethod; + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + ClusterManagerGrpc.getSetLegacyAbacMethod = getSetLegacyAbacMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLegacyAbacRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) + .build(); + } + } + } + return getSetLegacyAbacMethod; + } + + private static volatile io.grpc.MethodDescriptor getStartIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", + requestType = com.google.container.v1beta1.StartIPRotationRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getStartIPRotationMethod() { + io.grpc.MethodDescriptor getStartIPRotationMethod; + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + ClusterManagerGrpc.getStartIPRotationMethod = getStartIPRotationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.StartIPRotationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) + .build(); + } + } + } + return getStartIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCompleteIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", + requestType = com.google.container.v1beta1.CompleteIPRotationRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCompleteIPRotationMethod() { + io.grpc.MethodDescriptor getCompleteIPRotationMethod; + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { + ClusterManagerGrpc.getCompleteIPRotationMethod = getCompleteIPRotationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CompleteIPRotationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) + .build(); + } + } + } + return getCompleteIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNodePoolSizeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", + requestType = com.google.container.v1beta1.SetNodePoolSizeRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNodePoolSizeMethod() { + io.grpc.MethodDescriptor getSetNodePoolSizeMethod; + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + ClusterManagerGrpc.getSetNodePoolSizeMethod = getSetNodePoolSizeMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNodePoolSizeRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) + .build(); + } + } + } + return getSetNodePoolSizeMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetNetworkPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", + requestType = com.google.container.v1beta1.SetNetworkPolicyRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetNetworkPolicyMethod() { + io.grpc.MethodDescriptor getSetNetworkPolicyMethod; + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + ClusterManagerGrpc.getSetNetworkPolicyMethod = getSetNetworkPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNetworkPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) + .build(); + } + } + } + return getSetNetworkPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", + requestType = com.google.container.v1beta1.SetMaintenancePolicyRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetMaintenancePolicyMethod() { + io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { + ClusterManagerGrpc.getSetMaintenancePolicyMethod = getSetMaintenancePolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetMaintenancePolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) + .build(); + } + } + } + return getSetMaintenancePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getListUsableSubnetworksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", + requestType = com.google.container.v1beta1.ListUsableSubnetworksRequest.class, + responseType = com.google.container.v1beta1.ListUsableSubnetworksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListUsableSubnetworksMethod() { + io.grpc.MethodDescriptor getListUsableSubnetworksMethod; + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { + ClusterManagerGrpc.getListUsableSubnetworksMethod = getListUsableSubnetworksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListUsableSubnetworksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListUsableSubnetworksResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) + .build(); + } + } + } + return getListUsableSubnetworksMethod; + } + + private static volatile io.grpc.MethodDescriptor getListLocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListLocations", + requestType = com.google.container.v1beta1.ListLocationsRequest.class, + responseType = com.google.container.v1beta1.ListLocationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListLocationsMethod() { + io.grpc.MethodDescriptor getListLocationsMethod; + if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { + ClusterManagerGrpc.getListLocationsMethod = getListLocationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListLocationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListLocationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListLocations")) + .build(); + } + } + } + return getListLocationsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ClusterManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + }; + return ClusterManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ClusterManagerBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + }; + return ClusterManagerBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ClusterManagerFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + }; + return ClusterManagerFutureStub.newStub(factory, channel); + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public static abstract class ClusterManagerImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters(com.google.container.v1beta1.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public void getCluster(com.google.container.v1beta1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster(com.google.container.v1beta1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public void updateCluster(com.google.container.v1beta1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public void updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNodePoolMethod(), responseObserver); + } + + /** + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public void setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolAutoscalingMethod(), responseObserver); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLoggingServiceMethod(), responseObserver); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMonitoringServiceMethod(), responseObserver); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetAddonsConfigMethod(), responseObserver); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations(com.google.container.v1beta1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLocationsMethod(), responseObserver); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster(com.google.container.v1beta1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMasterMethod(), responseObserver); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMasterAuthMethod(), responseObserver); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public void listOperations(com.google.container.v1beta1.ListOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation(com.google.container.v1beta1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOperationMethod(), responseObserver); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation(com.google.container.v1beta1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelOperationMethod(), responseObserver); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServerConfigMethod(), responseObserver); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNodePoolsMethod(), responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJSONWebKeysMethod(), responseObserver); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool(com.google.container.v1beta1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNodePoolMethod(), responseObserver); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNodePoolMethod(), responseObserver); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNodePoolMethod(), responseObserver); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteNodePoolUpgradeMethod(), responseObserver); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackNodePoolUpgradeMethod(), responseObserver); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolManagementMethod(), responseObserver); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels(com.google.container.v1beta1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLegacyAbacMethod(), responseObserver); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartIPRotationMethod(), responseObserver); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteIPRotationMethod(), responseObserver); + } + + /** + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolSizeMethod(), responseObserver); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNetworkPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMaintenancePolicyMethod(), responseObserver); + } + + /** + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsableSubnetworksMethod(), responseObserver); + } + + /** + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public void listLocations(com.google.container.v1beta1.ListLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLocationsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListClustersRequest, + com.google.container.v1beta1.ListClustersResponse>( + this, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetClusterRequest, + com.google.container.v1beta1.Cluster>( + this, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CreateClusterRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.UpdateClusterRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_UPDATE_CLUSTER))) + .addMethod( + getUpdateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.UpdateNodePoolRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_UPDATE_NODE_POOL))) + .addMethod( + getSetNodePoolAutoscalingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNodePoolAutoscalingRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_NODE_POOL_AUTOSCALING))) + .addMethod( + getSetLoggingServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLoggingServiceRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_LOGGING_SERVICE))) + .addMethod( + getSetMonitoringServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetMonitoringServiceRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_MONITORING_SERVICE))) + .addMethod( + getSetAddonsConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetAddonsConfigRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_ADDONS_CONFIG))) + .addMethod( + getSetLocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLocationsRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_LOCATIONS))) + .addMethod( + getUpdateMasterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.UpdateMasterRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_UPDATE_MASTER))) + .addMethod( + getSetMasterAuthMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetMasterAuthRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_MASTER_AUTH))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.DeleteClusterRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_DELETE_CLUSTER))) + .addMethod( + getListOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListOperationsRequest, + com.google.container.v1beta1.ListOperationsResponse>( + this, METHODID_LIST_OPERATIONS))) + .addMethod( + getGetOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetOperationRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_GET_OPERATION))) + .addMethod( + getCancelOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CancelOperationRequest, + com.google.protobuf.Empty>( + this, METHODID_CANCEL_OPERATION))) + .addMethod( + getGetServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetServerConfigRequest, + com.google.container.v1beta1.ServerConfig>( + this, METHODID_GET_SERVER_CONFIG))) + .addMethod( + getListNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListNodePoolsRequest, + com.google.container.v1beta1.ListNodePoolsResponse>( + this, METHODID_LIST_NODE_POOLS))) + .addMethod( + getGetJSONWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetJSONWebKeysRequest, + com.google.container.v1beta1.GetJSONWebKeysResponse>( + this, METHODID_GET_JSONWEB_KEYS))) + .addMethod( + getGetNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetNodePoolRequest, + com.google.container.v1beta1.NodePool>( + this, METHODID_GET_NODE_POOL))) + .addMethod( + getCreateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CreateNodePoolRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_CREATE_NODE_POOL))) + .addMethod( + getDeleteNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.DeleteNodePoolRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_DELETE_NODE_POOL))) + .addMethod( + getCompleteNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, + com.google.protobuf.Empty>( + this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) + .addMethod( + getRollbackNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) + .addMethod( + getSetNodePoolManagementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNodePoolManagementRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_NODE_POOL_MANAGEMENT))) + .addMethod( + getSetLabelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLabelsRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_LABELS))) + .addMethod( + getSetLegacyAbacMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLegacyAbacRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_LEGACY_ABAC))) + .addMethod( + getStartIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.StartIPRotationRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_START_IPROTATION))) + .addMethod( + getCompleteIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CompleteIPRotationRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_COMPLETE_IPROTATION))) + .addMethod( + getSetNodePoolSizeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNodePoolSizeRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_NODE_POOL_SIZE))) + .addMethod( + getSetNetworkPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNetworkPolicyRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_NETWORK_POLICY))) + .addMethod( + getSetMaintenancePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetMaintenancePolicyRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_MAINTENANCE_POLICY))) + .addMethod( + getListUsableSubnetworksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListUsableSubnetworksRequest, + com.google.container.v1beta1.ListUsableSubnetworksResponse>( + this, METHODID_LIST_USABLE_SUBNETWORKS))) + .addMethod( + getListLocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListLocationsRequest, + com.google.container.v1beta1.ListLocationsResponse>( + this, METHODID_LIST_LOCATIONS))) + .build(); + } + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public static final class ClusterManagerStub extends io.grpc.stub.AbstractAsyncStub { + private ClusterManagerStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters(com.google.container.v1beta1.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public void getCluster(com.google.container.v1beta1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster(com.google.container.v1beta1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public void updateCluster(com.google.container.v1beta1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public void updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public void setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations(com.google.container.v1beta1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster(com.google.container.v1beta1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public void listOperations(com.google.container.v1beta1.ListOperationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation(com.google.container.v1beta1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation(com.google.container.v1beta1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool(com.google.container.v1beta1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels(com.google.container.v1beta1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public void listLocations(com.google.container.v1beta1.ListLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListLocationsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public static final class ClusterManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ClusterManagerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.container.v1beta1.ListClustersResponse listClusters(com.google.container.v1beta1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Cluster getCluster(com.google.container.v1beta1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.container.v1beta1.Operation createCluster(com.google.container.v1beta1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation updateCluster(com.google.container.v1beta1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public com.google.container.v1beta1.Operation updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public com.google.container.v1beta1.Operation setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.container.v1beta1.Operation setLocations(com.google.container.v1beta1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLocationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation updateMaster(com.google.container.v1beta1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMasterMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.container.v1beta1.Operation setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.container.v1beta1.Operation deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public com.google.container.v1beta1.ListOperationsResponse listOperations(com.google.container.v1beta1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOperationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.container.v1beta1.Operation getOperation(com.google.container.v1beta1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOperationMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.protobuf.Empty cancelOperation(com.google.container.v1beta1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelOperationMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.container.v1beta1.ServerConfig getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServerConfigMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.ListNodePoolsResponse listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNodePoolsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.container.v1beta1.GetJSONWebKeysResponse getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.container.v1beta1.NodePool getNodePool(com.google.container.v1beta1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.protobuf.Empty completeNodePoolUpgrade(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.container.v1beta1.Operation rollbackNodePoolUpgrade(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.container.v1beta1.Operation setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setLabels(com.google.container.v1beta1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLabelsMethod(), getCallOptions(), request); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.container.v1beta1.Operation startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartIPRotationMethod(), getCallOptions(), request); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.container.v1beta1.Operation completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); + } + + /** + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public com.google.container.v1beta1.Operation setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public com.google.container.v1beta1.ListUsableSubnetworksResponse listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public com.google.container.v1beta1.ListLocationsResponse listLocations(com.google.container.v1beta1.ListLocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListLocationsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public static final class ClusterManagerFutureStub extends io.grpc.stub.AbstractFutureStub { + private ClusterManagerFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + + /** + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.container.v1beta1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.container.v1beta1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.container.v1beta1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.container.v1beta1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateNodePool( + com.google.container.v1beta1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNodePoolAutoscaling( + com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setLoggingService( + com.google.container.v1beta1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setMonitoringService( + com.google.container.v1beta1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setAddonsConfig( + com.google.container.v1beta1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture setLocations( + com.google.container.v1beta1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateMaster( + com.google.container.v1beta1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setMasterAuth( + com.google.container.v1beta1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.container.v1beta1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listOperations( + com.google.container.v1beta1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getOperation( + com.google.container.v1beta1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelOperation( + com.google.container.v1beta1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getServerConfig( + com.google.container.v1beta1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listNodePools( + com.google.container.v1beta1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJSONWebKeys( + com.google.container.v1beta1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getNodePool( + com.google.container.v1beta1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createNodePool( + com.google.container.v1beta1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteNodePool( + com.google.container.v1beta1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); + } + + /** + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture rollbackNodePoolUpgrade( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNodePoolManagement( + com.google.container.v1beta1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setLabels( + com.google.container.v1beta1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); + } + + /** + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setLegacyAbac( + com.google.container.v1beta1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); + } + + /** + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture startIPRotation( + com.google.container.v1beta1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); + } + + /** + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture completeIPRotation( + com.google.container.v1beta1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); + } + + /** + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNodePoolSize( + com.google.container.v1beta1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); + } + + /** + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setNetworkPolicy( + com.google.container.v1beta1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setMaintenancePolicy( + com.google.container.v1beta1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listUsableSubnetworks( + com.google.container.v1beta1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listLocations( + com.google.container.v1beta1.ListLocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListLocationsMethod(), 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_UPDATE_NODE_POOL = 4; + private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; + private static final int METHODID_SET_LOGGING_SERVICE = 6; + private static final int METHODID_SET_MONITORING_SERVICE = 7; + private static final int METHODID_SET_ADDONS_CONFIG = 8; + private static final int METHODID_SET_LOCATIONS = 9; + private static final int METHODID_UPDATE_MASTER = 10; + private static final int METHODID_SET_MASTER_AUTH = 11; + private static final int METHODID_DELETE_CLUSTER = 12; + private static final int METHODID_LIST_OPERATIONS = 13; + private static final int METHODID_GET_OPERATION = 14; + private static final int METHODID_CANCEL_OPERATION = 15; + private static final int METHODID_GET_SERVER_CONFIG = 16; + private static final int METHODID_LIST_NODE_POOLS = 17; + private static final int METHODID_GET_JSONWEB_KEYS = 18; + private static final int METHODID_GET_NODE_POOL = 19; + private static final int METHODID_CREATE_NODE_POOL = 20; + private static final int METHODID_DELETE_NODE_POOL = 21; + private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; + private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; + private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; + private static final int METHODID_SET_LABELS = 25; + private static final int METHODID_SET_LEGACY_ABAC = 26; + private static final int METHODID_START_IPROTATION = 27; + private static final int METHODID_COMPLETE_IPROTATION = 28; + private static final int METHODID_SET_NODE_POOL_SIZE = 29; + private static final int METHODID_SET_NETWORK_POLICY = 30; + private static final int METHODID_SET_MAINTENANCE_POLICY = 31; + private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; + private static final int METHODID_LIST_LOCATIONS = 33; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final ClusterManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.container.v1beta1.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.container.v1beta1.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.container.v1beta1.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.container.v1beta1.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_NODE_POOL: + serviceImpl.updateNodePool((com.google.container.v1beta1.UpdateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_AUTOSCALING: + serviceImpl.setNodePoolAutoscaling((com.google.container.v1beta1.SetNodePoolAutoscalingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LOGGING_SERVICE: + serviceImpl.setLoggingService((com.google.container.v1beta1.SetLoggingServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MONITORING_SERVICE: + serviceImpl.setMonitoringService((com.google.container.v1beta1.SetMonitoringServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_ADDONS_CONFIG: + serviceImpl.setAddonsConfig((com.google.container.v1beta1.SetAddonsConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LOCATIONS: + serviceImpl.setLocations((com.google.container.v1beta1.SetLocationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MASTER: + serviceImpl.updateMaster((com.google.container.v1beta1.UpdateMasterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MASTER_AUTH: + serviceImpl.setMasterAuth((com.google.container.v1beta1.SetMasterAuthRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.container.v1beta1.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OPERATIONS: + serviceImpl.listOperations((com.google.container.v1beta1.ListOperationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_OPERATION: + serviceImpl.getOperation((com.google.container.v1beta1.GetOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_OPERATION: + serviceImpl.cancelOperation((com.google.container.v1beta1.CancelOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVER_CONFIG: + serviceImpl.getServerConfig((com.google.container.v1beta1.GetServerConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_NODE_POOLS: + serviceImpl.listNodePools((com.google.container.v1beta1.ListNodePoolsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JSONWEB_KEYS: + serviceImpl.getJSONWebKeys((com.google.container.v1beta1.GetJSONWebKeysRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_NODE_POOL: + serviceImpl.getNodePool((com.google.container.v1beta1.GetNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_NODE_POOL: + serviceImpl.createNodePool((com.google.container.v1beta1.CreateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_NODE_POOL: + serviceImpl.deleteNodePool((com.google.container.v1beta1.DeleteNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMPLETE_NODE_POOL_UPGRADE: + serviceImpl.completeNodePoolUpgrade((com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_NODE_POOL_UPGRADE: + serviceImpl.rollbackNodePoolUpgrade((com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_MANAGEMENT: + serviceImpl.setNodePoolManagement((com.google.container.v1beta1.SetNodePoolManagementRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LABELS: + serviceImpl.setLabels((com.google.container.v1beta1.SetLabelsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LEGACY_ABAC: + serviceImpl.setLegacyAbac((com.google.container.v1beta1.SetLegacyAbacRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_IPROTATION: + serviceImpl.startIPRotation((com.google.container.v1beta1.StartIPRotationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMPLETE_IPROTATION: + serviceImpl.completeIPRotation((com.google.container.v1beta1.CompleteIPRotationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_SIZE: + serviceImpl.setNodePoolSize((com.google.container.v1beta1.SetNodePoolSizeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NETWORK_POLICY: + serviceImpl.setNetworkPolicy((com.google.container.v1beta1.SetNetworkPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MAINTENANCE_POLICY: + serviceImpl.setMaintenancePolicy((com.google.container.v1beta1.SetMaintenancePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USABLE_SUBNETWORKS: + serviceImpl.listUsableSubnetworks((com.google.container.v1beta1.ListUsableSubnetworksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_LOCATIONS: + serviceImpl.listLocations((com.google.container.v1beta1.ListLocationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ClusterManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ClusterManager"); + } + } + + private static final class ClusterManagerFileDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier { + ClusterManagerFileDescriptorSupplier() {} + } + + private static final class ClusterManagerMethodDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ClusterManagerMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ClusterManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getUpdateNodePoolMethod()) + .addMethod(getSetNodePoolAutoscalingMethod()) + .addMethod(getSetLoggingServiceMethod()) + .addMethod(getSetMonitoringServiceMethod()) + .addMethod(getSetAddonsConfigMethod()) + .addMethod(getSetLocationsMethod()) + .addMethod(getUpdateMasterMethod()) + .addMethod(getSetMasterAuthMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getListOperationsMethod()) + .addMethod(getGetOperationMethod()) + .addMethod(getCancelOperationMethod()) + .addMethod(getGetServerConfigMethod()) + .addMethod(getListNodePoolsMethod()) + .addMethod(getGetJSONWebKeysMethod()) + .addMethod(getGetNodePoolMethod()) + .addMethod(getCreateNodePoolMethod()) + .addMethod(getDeleteNodePoolMethod()) + .addMethod(getCompleteNodePoolUpgradeMethod()) + .addMethod(getRollbackNodePoolUpgradeMethod()) + .addMethod(getSetNodePoolManagementMethod()) + .addMethod(getSetLabelsMethod()) + .addMethod(getSetLegacyAbacMethod()) + .addMethod(getStartIPRotationMethod()) + .addMethod(getCompleteIPRotationMethod()) + .addMethod(getSetNodePoolSizeMethod()) + .addMethod(getSetNetworkPolicyMethod()) + .addMethod(getSetMaintenancePolicyMethod()) + .addMethod(getListUsableSubnetworksMethod()) + .addMethod(getListLocationsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java index 0fea13e3f7e8..ba4fbf56cefc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * AcceleratorConfig represents a Hardware Accelerator request.
  * 
* * Protobuf type {@code google.container.v1beta1.AcceleratorConfig} */ -public final class AcceleratorConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AcceleratorConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.AcceleratorConfig) AcceleratorConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AcceleratorConfig.newBuilder() to construct. private AcceleratorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AcceleratorConfig() { acceleratorType_ = ""; gpuPartitionSize_ = ""; @@ -44,42 +26,38 @@ private AcceleratorConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AcceleratorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AcceleratorConfig.class, - com.google.container.v1beta1.AcceleratorConfig.Builder.class); + com.google.container.v1beta1.AcceleratorConfig.class, com.google.container.v1beta1.AcceleratorConfig.Builder.class); } private int bitField0_; public static final int ACCELERATOR_COUNT_FIELD_NUMBER = 1; private long acceleratorCount_; /** - * - * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; - * * @return The acceleratorCount. */ @java.lang.Override @@ -90,15 +68,12 @@ public long getAcceleratorCount() { public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object acceleratorType_; /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The acceleratorType. */ @java.lang.Override @@ -107,30 +82,30 @@ public java.lang.String getAcceleratorType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; } } /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The bytes for acceleratorType. */ @java.lang.Override - public com.google.protobuf.ByteString getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString + getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -141,8 +116,6 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() { public static final int GPU_PARTITION_SIZE_FIELD_NUMBER = 3; private volatile java.lang.Object gpuPartitionSize_; /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -150,7 +123,6 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() {
    * 
* * string gpu_partition_size = 3; - * * @return The gpuPartitionSize. */ @java.lang.Override @@ -159,15 +131,14 @@ public java.lang.String getGpuPartitionSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; } } /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -175,15 +146,16 @@ public java.lang.String getGpuPartitionSize() {
    * 
* * string gpu_partition_size = 3; - * * @return The bytes for gpuPartitionSize. */ @java.lang.Override - public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString + getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -194,35 +166,28 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { public static final int MAX_TIME_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 4; private long maxTimeSharedClientsPerGpu_; /** - * - * *
    * The number of time-shared GPU resources to expose for each physical GPU.
    * 
* * 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=4167 + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4172 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override - @java.lang.Deprecated - public long getMaxTimeSharedClientsPerGpu() { + @java.lang.Deprecated public long getMaxTimeSharedClientsPerGpu() { return maxTimeSharedClientsPerGpu_; } public static final int GPU_SHARING_CONFIG_FIELD_NUMBER = 5; private com.google.container.v1beta1.GPUSharingConfig gpuSharingConfig_; /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; - * * @return Whether the gpuSharingConfig field is set. */ @java.lang.Override @@ -230,25 +195,18 @@ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; - * * @return The gpuSharingConfig. */ @java.lang.Override public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { - return gpuSharingConfig_ == null - ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } /** - * - * *
    * The configuration for GPU sharing options.
    * 
@@ -257,13 +215,10 @@ public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { */ @java.lang.Override public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { - return gpuSharingConfig_ == null - ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -275,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (acceleratorCount_ != 0L) { output.writeInt64(1, acceleratorCount_); } @@ -301,7 +257,8 @@ public int getSerializedSize() { size = 0; if (acceleratorCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, acceleratorCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, acceleratorCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, acceleratorType_); @@ -310,11 +267,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gpuPartitionSize_); } if (maxTimeSharedClientsPerGpu_ != 0L) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size(4, maxTimeSharedClientsPerGpu_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, maxTimeSharedClientsPerGpu_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGpuSharingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getGpuSharingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -324,21 +282,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AcceleratorConfig)) { return super.equals(obj); } - com.google.container.v1beta1.AcceleratorConfig other = - (com.google.container.v1beta1.AcceleratorConfig) obj; + com.google.container.v1beta1.AcceleratorConfig other = (com.google.container.v1beta1.AcceleratorConfig) obj; - if (getAcceleratorCount() != other.getAcceleratorCount()) return false; - if (!getAcceleratorType().equals(other.getAcceleratorType())) return false; - if (!getGpuPartitionSize().equals(other.getGpuPartitionSize())) return false; - if (getMaxTimeSharedClientsPerGpu() != other.getMaxTimeSharedClientsPerGpu()) return false; + if (getAcceleratorCount() + != other.getAcceleratorCount()) return false; + if (!getAcceleratorType() + .equals(other.getAcceleratorType())) return false; + if (!getGpuPartitionSize() + .equals(other.getGpuPartitionSize())) return false; + if (getMaxTimeSharedClientsPerGpu() + != other.getMaxTimeSharedClientsPerGpu()) return false; if (hasGpuSharingConfig() != other.hasGpuSharingConfig()) return false; if (hasGpuSharingConfig()) { - if (!getGpuSharingConfig().equals(other.getGpuSharingConfig())) return false; + if (!getGpuSharingConfig() + .equals(other.getGpuSharingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -352,13 +314,15 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACCELERATOR_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAcceleratorCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAcceleratorCount()); hash = (37 * hash) + ACCELERATOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorType().hashCode(); hash = (37 * hash) + GPU_PARTITION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getGpuPartitionSize().hashCode(); hash = (37 * hash) + MAX_TIME_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxTimeSharedClientsPerGpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxTimeSharedClientsPerGpu()); if (hasGpuSharingConfig()) { hash = (37 * hash) + GPU_SHARING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGpuSharingConfig().hashCode(); @@ -368,127 +332,118 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.AcceleratorConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AcceleratorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom( 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.AcceleratorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.AcceleratorConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.AcceleratorConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AcceleratorConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.AcceleratorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AcceleratorConfig represents a Hardware Accelerator request.
    * 
* * Protobuf type {@code google.container.v1beta1.AcceleratorConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AcceleratorConfig) com.google.container.v1beta1.AcceleratorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AcceleratorConfig.class, - com.google.container.v1beta1.AcceleratorConfig.Builder.class); + com.google.container.v1beta1.AcceleratorConfig.class, com.google.container.v1beta1.AcceleratorConfig.Builder.class); } // Construct using com.google.container.v1beta1.AcceleratorConfig.newBuilder() @@ -496,17 +451,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGpuSharingConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; } @java.lang.Override @@ -549,8 +504,7 @@ public com.google.container.v1beta1.AcceleratorConfig build() { @java.lang.Override public com.google.container.v1beta1.AcceleratorConfig buildPartial() { - com.google.container.v1beta1.AcceleratorConfig result = - new com.google.container.v1beta1.AcceleratorConfig(this); + com.google.container.v1beta1.AcceleratorConfig result = new com.google.container.v1beta1.AcceleratorConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.acceleratorCount_ = acceleratorCount_; @@ -574,39 +528,38 @@ public com.google.container.v1beta1.AcceleratorConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.AcceleratorConfig) { - return mergeFrom((com.google.container.v1beta1.AcceleratorConfig) other); + return mergeFrom((com.google.container.v1beta1.AcceleratorConfig)other); } else { super.mergeFrom(other); return this; @@ -658,44 +611,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - acceleratorCount_ = input.readInt64(); + case 8: { + acceleratorCount_ = input.readInt64(); - break; - } // case 8 - case 18: - { - acceleratorType_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + acceleratorType_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - gpuPartitionSize_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + gpuPartitionSize_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - maxTimeSharedClientsPerGpu_ = input.readInt64(); + break; + } // case 26 + case 32: { + maxTimeSharedClientsPerGpu_ = input.readInt64(); - break; - } // case 32 - case 42: - { - input.readMessage( - getGpuSharingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + case 42: { + input.readMessage( + getGpuSharingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -705,19 +653,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long acceleratorCount_; + private long acceleratorCount_ ; /** - * - * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; - * * @return The acceleratorCount. */ @java.lang.Override @@ -725,36 +669,30 @@ public long getAcceleratorCount() { return acceleratorCount_; } /** - * - * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; - * * @param value The acceleratorCount to set. * @return This builder for chaining. */ public Builder setAcceleratorCount(long value) { - + acceleratorCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; - * * @return This builder for chaining. */ public Builder clearAcceleratorCount() { - + acceleratorCount_ = 0L; onChanged(); return this; @@ -762,21 +700,19 @@ public Builder clearAcceleratorCount() { private java.lang.Object acceleratorType_ = ""; /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @return The acceleratorType. */ public java.lang.String getAcceleratorType() { java.lang.Object ref = acceleratorType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; @@ -785,22 +721,21 @@ public java.lang.String getAcceleratorType() { } } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @return The bytes for acceleratorType. */ - public com.google.protobuf.ByteString getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString + getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -808,64 +743,57 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() { } } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType(java.lang.String value) { + public Builder setAcceleratorType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + acceleratorType_ = value; onChanged(); return this; } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = getDefaultInstance().getAcceleratorType(); onChanged(); return this; } /** - * - * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; - * * @param value The bytes for acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { + public Builder setAcceleratorTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + acceleratorType_ = value; onChanged(); return this; @@ -873,8 +801,6 @@ public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object gpuPartitionSize_ = ""; /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -882,13 +808,13 @@ public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string gpu_partition_size = 3; - * * @return The gpuPartitionSize. */ public java.lang.String getGpuPartitionSize() { java.lang.Object ref = gpuPartitionSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; @@ -897,8 +823,6 @@ public java.lang.String getGpuPartitionSize() { } } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -906,14 +830,15 @@ public java.lang.String getGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; - * * @return The bytes for gpuPartitionSize. */ - public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString + getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -921,8 +846,6 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { } } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -930,22 +853,20 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() {
      * 
* * string gpu_partition_size = 3; - * * @param value The gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSize(java.lang.String value) { + public Builder setGpuPartitionSize( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpuPartitionSize_ = value; onChanged(); return this; } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -953,18 +874,15 @@ public Builder setGpuPartitionSize(java.lang.String value) {
      * 
* * string gpu_partition_size = 3; - * * @return This builder for chaining. */ public Builder clearGpuPartitionSize() { - + gpuPartitionSize_ = getDefaultInstance().getGpuPartitionSize(); onChanged(); return this; } /** - * - * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -972,77 +890,65 @@ public Builder clearGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; - * * @param value The bytes for gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { + public Builder setGpuPartitionSizeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpuPartitionSize_ = value; onChanged(); return this; } - private long maxTimeSharedClientsPerGpu_; + private long maxTimeSharedClientsPerGpu_ ; /** - * - * *
      * The number of time-shared GPU resources to expose for each physical GPU.
      * 
* * 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=4167 + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4172 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override - @java.lang.Deprecated - public long getMaxTimeSharedClientsPerGpu() { + @java.lang.Deprecated public long getMaxTimeSharedClientsPerGpu() { return maxTimeSharedClientsPerGpu_; } /** - * - * *
      * The number of time-shared GPU resources to expose for each physical GPU.
      * 
* * 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=4167 + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4172 * @param value The maxTimeSharedClientsPerGpu to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMaxTimeSharedClientsPerGpu(long value) { - + @java.lang.Deprecated public Builder setMaxTimeSharedClientsPerGpu(long value) { + maxTimeSharedClientsPerGpu_ = value; onChanged(); return this; } /** - * - * *
      * The number of time-shared GPU resources to expose for each physical GPU.
      * 
* * 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=4167 + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4172 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMaxTimeSharedClientsPerGpu() { - + @java.lang.Deprecated public Builder clearMaxTimeSharedClientsPerGpu() { + maxTimeSharedClientsPerGpu_ = 0L; onChanged(); return this; @@ -1050,47 +956,34 @@ public Builder clearMaxTimeSharedClientsPerGpu() { private com.google.container.v1beta1.GPUSharingConfig gpuSharingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GPUSharingConfig, - com.google.container.v1beta1.GPUSharingConfig.Builder, - com.google.container.v1beta1.GPUSharingConfigOrBuilder> - gpuSharingConfigBuilder_; + com.google.container.v1beta1.GPUSharingConfig, com.google.container.v1beta1.GPUSharingConfig.Builder, com.google.container.v1beta1.GPUSharingConfigOrBuilder> gpuSharingConfigBuilder_; /** - * - * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; - * * @return Whether the gpuSharingConfig field is set. */ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; - * * @return The gpuSharingConfig. */ public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { if (gpuSharingConfigBuilder_ == null) { - return gpuSharingConfig_ == null - ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } else { return gpuSharingConfigBuilder_.getMessage(); } } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1111,8 +1004,6 @@ public Builder setGpuSharingConfig(com.google.container.v1beta1.GPUSharingConfig return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1131,8 +1022,6 @@ public Builder setGpuSharingConfig( return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1141,14 +1030,11 @@ public Builder setGpuSharingConfig( */ public Builder mergeGpuSharingConfig(com.google.container.v1beta1.GPUSharingConfig value) { if (gpuSharingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && gpuSharingConfig_ != null - && gpuSharingConfig_ - != com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + gpuSharingConfig_ != null && + gpuSharingConfig_ != com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance()) { gpuSharingConfig_ = - com.google.container.v1beta1.GPUSharingConfig.newBuilder(gpuSharingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GPUSharingConfig.newBuilder(gpuSharingConfig_).mergeFrom(value).buildPartial(); } else { gpuSharingConfig_ = value; } @@ -1160,8 +1046,6 @@ public Builder mergeGpuSharingConfig(com.google.container.v1beta1.GPUSharingConf return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1179,8 +1063,6 @@ public Builder clearGpuSharingConfig() { return this; } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1193,8 +1075,6 @@ public com.google.container.v1beta1.GPUSharingConfig.Builder getGpuSharingConfig return getGpuSharingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1205,14 +1085,11 @@ public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfi if (gpuSharingConfigBuilder_ != null) { return gpuSharingConfigBuilder_.getMessageOrBuilder(); } else { - return gpuSharingConfig_ == null - ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() - : gpuSharingConfig_; + return gpuSharingConfig_ == null ? + com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; } } /** - * - * *
      * The configuration for GPU sharing options.
      * 
@@ -1220,24 +1097,21 @@ public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfi * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GPUSharingConfig, - com.google.container.v1beta1.GPUSharingConfig.Builder, - com.google.container.v1beta1.GPUSharingConfigOrBuilder> + com.google.container.v1beta1.GPUSharingConfig, com.google.container.v1beta1.GPUSharingConfig.Builder, com.google.container.v1beta1.GPUSharingConfigOrBuilder> getGpuSharingConfigFieldBuilder() { if (gpuSharingConfigBuilder_ == null) { - gpuSharingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GPUSharingConfig, - com.google.container.v1beta1.GPUSharingConfig.Builder, - com.google.container.v1beta1.GPUSharingConfigOrBuilder>( - getGpuSharingConfig(), getParentForChildren(), isClean()); + gpuSharingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GPUSharingConfig, com.google.container.v1beta1.GPUSharingConfig.Builder, com.google.container.v1beta1.GPUSharingConfigOrBuilder>( + getGpuSharingConfig(), + getParentForChildren(), + isClean()); gpuSharingConfig_ = null; } return gpuSharingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1247,12 +1121,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AcceleratorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AcceleratorConfig) private static final com.google.container.v1beta1.AcceleratorConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AcceleratorConfig(); } @@ -1261,27 +1135,27 @@ public static com.google.container.v1beta1.AcceleratorConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcceleratorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcceleratorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1296,4 +1170,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AcceleratorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java index c875e13454ad..2469b3dba8d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java @@ -1,71 +1,45 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface AcceleratorConfigOrBuilder - extends +public interface AcceleratorConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AcceleratorConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; - * * @return The acceleratorCount. */ long getAcceleratorCount(); /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The acceleratorType. */ java.lang.String getAcceleratorType(); /** - * - * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; - * * @return The bytes for acceleratorType. */ - com.google.protobuf.ByteString getAcceleratorTypeBytes(); + com.google.protobuf.ByteString + getAcceleratorTypeBytes(); /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -73,13 +47,10 @@ public interface AcceleratorConfigOrBuilder
    * 
* * string gpu_partition_size = 3; - * * @return The gpuPartitionSize. */ java.lang.String getGpuPartitionSize(); /** - * - * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -87,54 +58,42 @@ public interface AcceleratorConfigOrBuilder
    * 
* * string gpu_partition_size = 3; - * * @return The bytes for gpuPartitionSize. */ - com.google.protobuf.ByteString getGpuPartitionSizeBytes(); + com.google.protobuf.ByteString + getGpuPartitionSizeBytes(); /** - * - * *
    * The number of time-shared GPU resources to expose for each physical GPU.
    * 
* * 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=4167 + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4172 * @return The maxTimeSharedClientsPerGpu. */ - @java.lang.Deprecated - long getMaxTimeSharedClientsPerGpu(); + @java.lang.Deprecated long getMaxTimeSharedClientsPerGpu(); /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; - * * @return Whether the gpuSharingConfig field is set. */ boolean hasGpuSharingConfig(); /** - * - * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; - * * @return The gpuSharingConfig. */ com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig(); /** - * - * *
    * The configuration for GPU sharing options.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java index 69c48081c1fc..d10a61effbd6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration for the addons that can be automatically spun up in the
  * cluster, enabling additional functionality.
@@ -28,56 +11,52 @@
  *
  * Protobuf type {@code google.container.v1beta1.AddonsConfig}
  */
-public final class AddonsConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AddonsConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.AddonsConfig)
     AddonsConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AddonsConfig.newBuilder() to construct.
   private AddonsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AddonsConfig() {}
+  private AddonsConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AddonsConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_AddonsConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.AddonsConfig.class,
-            com.google.container.v1beta1.AddonsConfig.Builder.class);
+            com.google.container.v1beta1.AddonsConfig.class, com.google.container.v1beta1.AddonsConfig.Builder.class);
   }
 
   public static final int HTTP_LOAD_BALANCING_FIELD_NUMBER = 1;
   private com.google.container.v1beta1.HttpLoadBalancing httpLoadBalancing_;
   /**
-   *
-   *
    * 
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; - * * @return Whether the httpLoadBalancing field is set. */ @java.lang.Override @@ -85,26 +64,19 @@ public boolean hasHttpLoadBalancing() { return httpLoadBalancing_ != null; } /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; - * * @return The httpLoadBalancing. */ @java.lang.Override public com.google.container.v1beta1.HttpLoadBalancing getHttpLoadBalancing() { - return httpLoadBalancing_ == null - ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() - : httpLoadBalancing_; + return httpLoadBalancing_ == null ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; } /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -120,8 +92,6 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
   public static final int HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER = 2;
   private com.google.container.v1beta1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
   /**
-   *
-   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -129,7 +99,6 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return Whether the horizontalPodAutoscaling field is set. */ @java.lang.Override @@ -137,8 +106,6 @@ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscaling_ != null; } /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -146,18 +113,13 @@ public boolean hasHorizontalPodAutoscaling() {
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return The horizontalPodAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { - return horizontalPodAutoscaling_ == null - ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() - : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; } /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -167,16 +129,13 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut
    * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder
-      getHorizontalPodAutoscalingOrBuilder() {
+  public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() {
     return getHorizontalPodAutoscaling();
   }
 
   public static final int KUBERNETES_DASHBOARD_FIELD_NUMBER = 3;
   private com.google.container.v1beta1.KubernetesDashboard kubernetesDashboard_;
   /**
-   *
-   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -185,22 +144,16 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1051 + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1054 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasKubernetesDashboard() { + @java.lang.Deprecated public boolean hasKubernetesDashboard() { return kubernetesDashboard_ != null; } /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -209,24 +162,16 @@ public boolean hasKubernetesDashboard() {
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1051 + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1054 * @return The kubernetesDashboard. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { - return kubernetesDashboard_ == null - ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() - : kubernetesDashboard_; + @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { + return kubernetesDashboard_ == null ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; } /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -235,22 +180,16 @@ public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard()
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.KubernetesDashboardOrBuilder - getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { return getKubernetesDashboard(); } public static final int NETWORK_POLICY_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1beta1.NetworkPolicyConfig networkPolicyConfig_; /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -258,7 +197,6 @@ public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard()
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; - * * @return Whether the networkPolicyConfig field is set. */ @java.lang.Override @@ -266,8 +204,6 @@ public boolean hasNetworkPolicyConfig() { return networkPolicyConfig_ != null; } /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -275,18 +211,13 @@ public boolean hasNetworkPolicyConfig() {
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; - * * @return The networkPolicyConfig. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() { - return networkPolicyConfig_ == null - ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() - : networkPolicyConfig_; + return networkPolicyConfig_ == null ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; } /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -296,56 +227,43 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig()
    * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder
-      getNetworkPolicyConfigOrBuilder() {
+  public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder() {
     return getNetworkPolicyConfig();
   }
 
   public static final int ISTIO_CONFIG_FIELD_NUMBER = 5;
   private com.google.container.v1beta1.IstioConfig istioConfig_;
   /**
-   *
-   *
    * 
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1060 + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1063 * @return Whether the istioConfig field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasIstioConfig() { + @java.lang.Deprecated public boolean hasIstioConfig() { return istioConfig_ != null; } /** - * - * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1060 + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1063 * @return The istioConfig. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.IstioConfig getIstioConfig() { - return istioConfig_ == null - ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() - : istioConfig_; + @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig getIstioConfig() { + return istioConfig_ == null ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() : istioConfig_; } /** - * - * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
@@ -354,16 +272,13 @@ public com.google.container.v1beta1.IstioConfig getIstioConfig() {
    * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
+  @java.lang.Deprecated public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
     return getIstioConfig();
   }
 
   public static final int CLOUD_RUN_CONFIG_FIELD_NUMBER = 7;
   private com.google.container.v1beta1.CloudRunConfig cloudRunConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -371,7 +286,6 @@ public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; - * * @return Whether the cloudRunConfig field is set. */ @java.lang.Override @@ -379,8 +293,6 @@ public boolean hasCloudRunConfig() { return cloudRunConfig_ != null; } /** - * - * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -388,18 +300,13 @@ public boolean hasCloudRunConfig() {
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; - * * @return The cloudRunConfig. */ @java.lang.Override public com.google.container.v1beta1.CloudRunConfig getCloudRunConfig() { - return cloudRunConfig_ == null - ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() - : cloudRunConfig_; + return cloudRunConfig_ == null ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; } /** - * - * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -416,14 +323,11 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
   public static final int DNS_CACHE_CONFIG_FIELD_NUMBER = 8;
   private com.google.container.v1beta1.DnsCacheConfig dnsCacheConfig_;
   /**
-   *
-   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; - * * @return Whether the dnsCacheConfig field is set. */ @java.lang.Override @@ -431,25 +335,18 @@ public boolean hasDnsCacheConfig() { return dnsCacheConfig_ != null; } /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; - * * @return The dnsCacheConfig. */ @java.lang.Override public com.google.container.v1beta1.DnsCacheConfig getDnsCacheConfig() { - return dnsCacheConfig_ == null - ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() - : dnsCacheConfig_; + return dnsCacheConfig_ == null ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; } /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -464,15 +361,12 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB public static final int CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1beta1.ConfigConnectorConfig configConnectorConfig_; /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; - * * @return Whether the configConnectorConfig field is set. */ @java.lang.Override @@ -480,26 +374,19 @@ public boolean hasConfigConnectorConfig() { return configConnectorConfig_ != null; } /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; - * * @return The configConnectorConfig. */ @java.lang.Override public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConfig() { - return configConnectorConfig_ == null - ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() - : configConnectorConfig_; + return configConnectorConfig_ == null ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; } /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -508,25 +395,18 @@ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConf
    * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder
-      getConfigConnectorConfigOrBuilder() {
+  public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
     return getConfigConnectorConfig();
   }
 
   public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER = 11;
-  private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig
-      gcePersistentDiskCsiDriverConfig_;
+  private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ @java.lang.Override @@ -534,87 +414,62 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { return gcePersistentDiskCsiDriverConfig_ != null; } /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return The gcePersistentDiskCsiDriverConfig. */ @java.lang.Override - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig - getGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfig_ == null - ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() - : gcePersistentDiskCsiDriverConfig_; + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { + return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; } /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ @java.lang.Override - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder - getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { return getGcePersistentDiskCsiDriverConfig(); } public static final int KALM_CONFIG_FIELD_NUMBER = 12; private com.google.container.v1beta1.KalmConfig kalmConfig_; /** - * - * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1079 + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1082 * @return Whether the kalmConfig field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasKalmConfig() { + @java.lang.Deprecated public boolean hasKalmConfig() { return kalmConfig_ != null; } /** - * - * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1079 + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1082 * @return The kalmConfig. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.KalmConfig getKalmConfig() { - return kalmConfig_ == null - ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() - : kalmConfig_; + @java.lang.Deprecated public com.google.container.v1beta1.KalmConfig getKalmConfig() { + return kalmConfig_ == null ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() : kalmConfig_; } /** - * - * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
@@ -623,24 +478,18 @@ public com.google.container.v1beta1.KalmConfig getKalmConfig() {
    * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
+  @java.lang.Deprecated public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
     return getKalmConfig();
   }
 
   public static final int GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER = 14;
   private com.google.container.v1beta1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_;
   /**
-   *
-   *
    * 
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ @java.lang.Override @@ -648,52 +497,37 @@ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfig_ != null; } /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return The gcpFilestoreCsiDriverConfig. */ @java.lang.Override public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { - return gcpFilestoreCsiDriverConfig_ == null - ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() - : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; } /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ @java.lang.Override - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder - getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { return getGcpFilestoreCsiDriverConfig(); } public static final int GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER = 16; private com.google.container.v1beta1.GkeBackupAgentConfig gkeBackupAgentConfig_; /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return Whether the gkeBackupAgentConfig field is set. */ @java.lang.Override @@ -701,25 +535,18 @@ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfig_ != null; } /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return The gkeBackupAgentConfig. */ @java.lang.Override public com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig() { - return gkeBackupAgentConfig_ == null - ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() - : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; } /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
@@ -727,13 +554,11 @@ public com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ @java.lang.Override - public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder - getGkeBackupAgentConfigOrBuilder() { + public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder() { return getGkeBackupAgentConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -745,7 +570,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (httpLoadBalancing_ != null) { output.writeMessage(1, getHttpLoadBalancing()); } @@ -792,48 +618,52 @@ public int getSerializedSize() { size = 0; if (httpLoadBalancing_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHttpLoadBalancing()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHttpLoadBalancing()); } if (horizontalPodAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getHorizontalPodAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getHorizontalPodAutoscaling()); } if (kubernetesDashboard_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getKubernetesDashboard()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getKubernetesDashboard()); } if (networkPolicyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNetworkPolicyConfig()); } if (istioConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getIstioConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getIstioConfig()); } if (cloudRunConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCloudRunConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCloudRunConfig()); } if (dnsCacheConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDnsCacheConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getDnsCacheConfig()); } if (configConnectorConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(10, getConfigConnectorConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getConfigConnectorConfig()); } if (gcePersistentDiskCsiDriverConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, getGcePersistentDiskCsiDriverConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getGcePersistentDiskCsiDriverConfig()); } if (kalmConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getKalmConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getKalmConfig()); } if (gcpFilestoreCsiDriverConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, getGcpFilestoreCsiDriverConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getGcpFilestoreCsiDriverConfig()); } if (gkeBackupAgentConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGkeBackupAgentConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getGkeBackupAgentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -843,64 +673,72 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AddonsConfig)) { return super.equals(obj); } - com.google.container.v1beta1.AddonsConfig other = - (com.google.container.v1beta1.AddonsConfig) obj; + com.google.container.v1beta1.AddonsConfig other = (com.google.container.v1beta1.AddonsConfig) obj; if (hasHttpLoadBalancing() != other.hasHttpLoadBalancing()) return false; if (hasHttpLoadBalancing()) { - if (!getHttpLoadBalancing().equals(other.getHttpLoadBalancing())) return false; + if (!getHttpLoadBalancing() + .equals(other.getHttpLoadBalancing())) return false; } if (hasHorizontalPodAutoscaling() != other.hasHorizontalPodAutoscaling()) return false; if (hasHorizontalPodAutoscaling()) { - if (!getHorizontalPodAutoscaling().equals(other.getHorizontalPodAutoscaling())) return false; + if (!getHorizontalPodAutoscaling() + .equals(other.getHorizontalPodAutoscaling())) return false; } if (hasKubernetesDashboard() != other.hasKubernetesDashboard()) return false; if (hasKubernetesDashboard()) { - if (!getKubernetesDashboard().equals(other.getKubernetesDashboard())) return false; + if (!getKubernetesDashboard() + .equals(other.getKubernetesDashboard())) return false; } if (hasNetworkPolicyConfig() != other.hasNetworkPolicyConfig()) return false; if (hasNetworkPolicyConfig()) { - if (!getNetworkPolicyConfig().equals(other.getNetworkPolicyConfig())) return false; + if (!getNetworkPolicyConfig() + .equals(other.getNetworkPolicyConfig())) return false; } if (hasIstioConfig() != other.hasIstioConfig()) return false; if (hasIstioConfig()) { - if (!getIstioConfig().equals(other.getIstioConfig())) return false; + if (!getIstioConfig() + .equals(other.getIstioConfig())) return false; } if (hasCloudRunConfig() != other.hasCloudRunConfig()) return false; if (hasCloudRunConfig()) { - if (!getCloudRunConfig().equals(other.getCloudRunConfig())) return false; + if (!getCloudRunConfig() + .equals(other.getCloudRunConfig())) return false; } if (hasDnsCacheConfig() != other.hasDnsCacheConfig()) return false; if (hasDnsCacheConfig()) { - if (!getDnsCacheConfig().equals(other.getDnsCacheConfig())) return false; + if (!getDnsCacheConfig() + .equals(other.getDnsCacheConfig())) return false; } if (hasConfigConnectorConfig() != other.hasConfigConnectorConfig()) return false; if (hasConfigConnectorConfig()) { - if (!getConfigConnectorConfig().equals(other.getConfigConnectorConfig())) return false; + if (!getConfigConnectorConfig() + .equals(other.getConfigConnectorConfig())) return false; } - if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) - return false; + if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) return false; if (hasGcePersistentDiskCsiDriverConfig()) { if (!getGcePersistentDiskCsiDriverConfig() .equals(other.getGcePersistentDiskCsiDriverConfig())) return false; } if (hasKalmConfig() != other.hasKalmConfig()) return false; if (hasKalmConfig()) { - if (!getKalmConfig().equals(other.getKalmConfig())) return false; + if (!getKalmConfig() + .equals(other.getKalmConfig())) return false; } if (hasGcpFilestoreCsiDriverConfig() != other.hasGcpFilestoreCsiDriverConfig()) return false; if (hasGcpFilestoreCsiDriverConfig()) { - if (!getGcpFilestoreCsiDriverConfig().equals(other.getGcpFilestoreCsiDriverConfig())) - return false; + if (!getGcpFilestoreCsiDriverConfig() + .equals(other.getGcpFilestoreCsiDriverConfig())) return false; } if (hasGkeBackupAgentConfig() != other.hasGkeBackupAgentConfig()) return false; if (hasGkeBackupAgentConfig()) { - if (!getGkeBackupAgentConfig().equals(other.getGkeBackupAgentConfig())) return false; + if (!getGkeBackupAgentConfig() + .equals(other.getGkeBackupAgentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -966,104 +804,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.AddonsConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.AddonsConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AddonsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AddonsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AddonsConfig parseFrom( 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.AddonsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AddonsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.AddonsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AddonsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.AddonsConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.AddonsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AddonsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AddonsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AddonsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.AddonsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the addons that can be automatically spun up in the
    * cluster, enabling additional functionality.
@@ -1071,32 +902,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.AddonsConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AddonsConfig)
       com.google.container.v1beta1.AddonsConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AddonsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.AddonsConfig.class,
-              com.google.container.v1beta1.AddonsConfig.Builder.class);
+              com.google.container.v1beta1.AddonsConfig.class, com.google.container.v1beta1.AddonsConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.AddonsConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1176,9 +1008,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AddonsConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1197,8 +1029,7 @@ public com.google.container.v1beta1.AddonsConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.AddonsConfig buildPartial() {
-      com.google.container.v1beta1.AddonsConfig result =
-          new com.google.container.v1beta1.AddonsConfig(this);
+      com.google.container.v1beta1.AddonsConfig result = new com.google.container.v1beta1.AddonsConfig(this);
       if (httpLoadBalancingBuilder_ == null) {
         result.httpLoadBalancing_ = httpLoadBalancing_;
       } else {
@@ -1267,39 +1098,38 @@ public com.google.container.v1beta1.AddonsConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.AddonsConfig) {
-        return mergeFrom((com.google.container.v1beta1.AddonsConfig) other);
+        return mergeFrom((com.google.container.v1beta1.AddonsConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1370,94 +1200,96 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getHttpLoadBalancingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getHorizontalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getKubernetesDashboardFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(
-                    getNetworkPolicyConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getIstioConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 58:
-              {
-                input.readMessage(getCloudRunConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getDnsCacheConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 82:
-              {
-                input.readMessage(
-                    getConfigConnectorConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(
-                    getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getKalmConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 98
-            case 114:
-              {
-                input.readMessage(
-                    getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 114
-            case 130:
-              {
-                input.readMessage(
-                    getGkeBackupAgentConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 130
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getHttpLoadBalancingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getHorizontalPodAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getKubernetesDashboardFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getNetworkPolicyConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getIstioConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 58: {
+              input.readMessage(
+                  getCloudRunConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getDnsCacheConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 82: {
+              input.readMessage(
+                  getConfigConnectorConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getKalmConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 98
+            case 114: {
+              input.readMessage(
+                  getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 114
+            case 130: {
+              input.readMessage(
+                  getGkeBackupAgentConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 130
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1470,49 +1302,36 @@ public Builder mergeFrom(
 
     private com.google.container.v1beta1.HttpLoadBalancing httpLoadBalancing_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.HttpLoadBalancing,
-            com.google.container.v1beta1.HttpLoadBalancing.Builder,
-            com.google.container.v1beta1.HttpLoadBalancingOrBuilder>
-        httpLoadBalancingBuilder_;
+        com.google.container.v1beta1.HttpLoadBalancing, com.google.container.v1beta1.HttpLoadBalancing.Builder, com.google.container.v1beta1.HttpLoadBalancingOrBuilder> httpLoadBalancingBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; - * * @return Whether the httpLoadBalancing field is set. */ public boolean hasHttpLoadBalancing() { return httpLoadBalancingBuilder_ != null || httpLoadBalancing_ != null; } /** - * - * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; - * * @return The httpLoadBalancing. */ public com.google.container.v1beta1.HttpLoadBalancing getHttpLoadBalancing() { if (httpLoadBalancingBuilder_ == null) { - return httpLoadBalancing_ == null - ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() - : httpLoadBalancing_; + return httpLoadBalancing_ == null ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; } else { return httpLoadBalancingBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1534,8 +1353,6 @@ public Builder setHttpLoadBalancing(com.google.container.v1beta1.HttpLoadBalanci
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1555,8 +1372,6 @@ public Builder setHttpLoadBalancing(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1568,9 +1383,7 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1beta1.HttpLoadBalan
       if (httpLoadBalancingBuilder_ == null) {
         if (httpLoadBalancing_ != null) {
           httpLoadBalancing_ =
-              com.google.container.v1beta1.HttpLoadBalancing.newBuilder(httpLoadBalancing_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.HttpLoadBalancing.newBuilder(httpLoadBalancing_).mergeFrom(value).buildPartial();
         } else {
           httpLoadBalancing_ = value;
         }
@@ -1582,8 +1395,6 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1beta1.HttpLoadBalan
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1603,8 +1414,6 @@ public Builder clearHttpLoadBalancing() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1613,13 +1422,11 @@ public Builder clearHttpLoadBalancing() {
      * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1;
      */
     public com.google.container.v1beta1.HttpLoadBalancing.Builder getHttpLoadBalancingBuilder() {
-
+      
       onChanged();
       return getHttpLoadBalancingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1631,14 +1438,11 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
       if (httpLoadBalancingBuilder_ != null) {
         return httpLoadBalancingBuilder_.getMessageOrBuilder();
       } else {
-        return httpLoadBalancing_ == null
-            ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance()
-            : httpLoadBalancing_;
+        return httpLoadBalancing_ == null ?
+            com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1647,17 +1451,14 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
      * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.HttpLoadBalancing,
-            com.google.container.v1beta1.HttpLoadBalancing.Builder,
-            com.google.container.v1beta1.HttpLoadBalancingOrBuilder>
+        com.google.container.v1beta1.HttpLoadBalancing, com.google.container.v1beta1.HttpLoadBalancing.Builder, com.google.container.v1beta1.HttpLoadBalancingOrBuilder> 
         getHttpLoadBalancingFieldBuilder() {
       if (httpLoadBalancingBuilder_ == null) {
-        httpLoadBalancingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.HttpLoadBalancing,
-                com.google.container.v1beta1.HttpLoadBalancing.Builder,
-                com.google.container.v1beta1.HttpLoadBalancingOrBuilder>(
-                getHttpLoadBalancing(), getParentForChildren(), isClean());
+        httpLoadBalancingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.HttpLoadBalancing, com.google.container.v1beta1.HttpLoadBalancing.Builder, com.google.container.v1beta1.HttpLoadBalancingOrBuilder>(
+                getHttpLoadBalancing(),
+                getParentForChildren(),
+                isClean());
         httpLoadBalancing_ = null;
       }
       return httpLoadBalancingBuilder_;
@@ -1665,64 +1466,47 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
 
     private com.google.container.v1beta1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.HorizontalPodAutoscaling,
-            com.google.container.v1beta1.HorizontalPodAutoscaling.Builder,
-            com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder>
-        horizontalPodAutoscalingBuilder_;
+        com.google.container.v1beta1.HorizontalPodAutoscaling, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder> horizontalPodAutoscalingBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; * @return Whether the horizontalPodAutoscaling field is set. */ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscalingBuilder_ != null || horizontalPodAutoscaling_ != null; } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; * @return The horizontalPodAutoscaling. */ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { if (horizontalPodAutoscalingBuilder_ == null) { - return horizontalPodAutoscaling_ == null - ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() - : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; } else { return horizontalPodAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ - public Builder setHorizontalPodAutoscaling( - com.google.container.v1beta1.HorizontalPodAutoscaling value) { + public Builder setHorizontalPodAutoscaling(com.google.container.v1beta1.HorizontalPodAutoscaling value) { if (horizontalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1736,16 +1520,13 @@ public Builder setHorizontalPodAutoscaling( return this; } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ public Builder setHorizontalPodAutoscaling( com.google.container.v1beta1.HorizontalPodAutoscaling.Builder builderForValue) { @@ -1759,26 +1540,19 @@ public Builder setHorizontalPodAutoscaling( return this; } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ - public Builder mergeHorizontalPodAutoscaling( - com.google.container.v1beta1.HorizontalPodAutoscaling value) { + public Builder mergeHorizontalPodAutoscaling(com.google.container.v1beta1.HorizontalPodAutoscaling value) { if (horizontalPodAutoscalingBuilder_ == null) { if (horizontalPodAutoscaling_ != null) { horizontalPodAutoscaling_ = - com.google.container.v1beta1.HorizontalPodAutoscaling.newBuilder( - horizontalPodAutoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.HorizontalPodAutoscaling.newBuilder(horizontalPodAutoscaling_).mergeFrom(value).buildPartial(); } else { horizontalPodAutoscaling_ = value; } @@ -1790,16 +1564,13 @@ public Builder mergeHorizontalPodAutoscaling( return this; } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ public Builder clearHorizontalPodAutoscaling() { if (horizontalPodAutoscalingBuilder_ == null) { @@ -1813,69 +1584,54 @@ public Builder clearHorizontalPodAutoscaling() { return this; } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ - public com.google.container.v1beta1.HorizontalPodAutoscaling.Builder - getHorizontalPodAutoscalingBuilder() { - + public com.google.container.v1beta1.HorizontalPodAutoscaling.Builder getHorizontalPodAutoscalingBuilder() { + onChanged(); return getHorizontalPodAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ - public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder - getHorizontalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() { if (horizontalPodAutoscalingBuilder_ != null) { return horizontalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return horizontalPodAutoscaling_ == null - ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() - : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null ? + com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; } } /** - * - * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.HorizontalPodAutoscaling, - com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, - com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder> + com.google.container.v1beta1.HorizontalPodAutoscaling, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder> getHorizontalPodAutoscalingFieldBuilder() { if (horizontalPodAutoscalingBuilder_ == null) { - horizontalPodAutoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.HorizontalPodAutoscaling, - com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, - com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder>( - getHorizontalPodAutoscaling(), getParentForChildren(), isClean()); + horizontalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.HorizontalPodAutoscaling, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder>( + getHorizontalPodAutoscaling(), + getParentForChildren(), + isClean()); horizontalPodAutoscaling_ = null; } return horizontalPodAutoscalingBuilder_; @@ -1883,13 +1639,8 @@ public Builder clearHorizontalPodAutoscaling() { private com.google.container.v1beta1.KubernetesDashboard kubernetesDashboard_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KubernetesDashboard, - com.google.container.v1beta1.KubernetesDashboard.Builder, - com.google.container.v1beta1.KubernetesDashboardOrBuilder> - kubernetesDashboardBuilder_; + com.google.container.v1beta1.KubernetesDashboard, com.google.container.v1beta1.KubernetesDashboard.Builder, com.google.container.v1beta1.KubernetesDashboardOrBuilder> kubernetesDashboardBuilder_; /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1898,21 +1649,15 @@ public Builder clearHorizontalPodAutoscaling() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1051 + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1054 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated - public boolean hasKubernetesDashboard() { + @java.lang.Deprecated public boolean hasKubernetesDashboard() { return kubernetesDashboardBuilder_ != null || kubernetesDashboard_ != null; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1921,27 +1666,19 @@ public boolean hasKubernetesDashboard() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1051 + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1054 * @return The kubernetesDashboard. */ - @java.lang.Deprecated - public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { + @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { - return kubernetesDashboard_ == null - ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() - : kubernetesDashboard_; + return kubernetesDashboard_ == null ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; } else { return kubernetesDashboardBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1950,12 +1687,9 @@ public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard()
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setKubernetesDashboard(com.google.container.v1beta1.KubernetesDashboard value) { + @java.lang.Deprecated public Builder setKubernetesDashboard(com.google.container.v1beta1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1969,8 +1703,6 @@ public Builder setKubernetesDashboard(com.google.container.v1beta1.KubernetesDas return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1979,12 +1711,9 @@ public Builder setKubernetesDashboard(com.google.container.v1beta1.KubernetesDas
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setKubernetesDashboard( + @java.lang.Deprecated public Builder setKubernetesDashboard( com.google.container.v1beta1.KubernetesDashboard.Builder builderForValue) { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = builderForValue.build(); @@ -1996,8 +1725,6 @@ public Builder setKubernetesDashboard( return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -2006,19 +1733,13 @@ public Builder setKubernetesDashboard(
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder mergeKubernetesDashboard( - com.google.container.v1beta1.KubernetesDashboard value) { + @java.lang.Deprecated public Builder mergeKubernetesDashboard(com.google.container.v1beta1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (kubernetesDashboard_ != null) { kubernetesDashboard_ = - com.google.container.v1beta1.KubernetesDashboard.newBuilder(kubernetesDashboard_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.KubernetesDashboard.newBuilder(kubernetesDashboard_).mergeFrom(value).buildPartial(); } else { kubernetesDashboard_ = value; } @@ -2030,8 +1751,6 @@ public Builder mergeKubernetesDashboard( return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -2040,12 +1759,9 @@ public Builder mergeKubernetesDashboard(
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearKubernetesDashboard() { + @java.lang.Deprecated public Builder clearKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = null; onChanged(); @@ -2057,8 +1773,6 @@ public Builder clearKubernetesDashboard() { return this; } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -2067,20 +1781,14 @@ public Builder clearKubernetesDashboard() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.KubernetesDashboard.Builder - getKubernetesDashboardBuilder() { - + @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboard.Builder getKubernetesDashboardBuilder() { + onChanged(); return getKubernetesDashboardFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -2089,24 +1797,17 @@ public Builder clearKubernetesDashboard() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.KubernetesDashboardOrBuilder - getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { if (kubernetesDashboardBuilder_ != null) { return kubernetesDashboardBuilder_.getMessageOrBuilder(); } else { - return kubernetesDashboard_ == null - ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() - : kubernetesDashboard_; + return kubernetesDashboard_ == null ? + com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; } } /** - * - * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -2115,22 +1816,17 @@ public Builder clearKubernetesDashboard() {
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KubernetesDashboard, - com.google.container.v1beta1.KubernetesDashboard.Builder, - com.google.container.v1beta1.KubernetesDashboardOrBuilder> + com.google.container.v1beta1.KubernetesDashboard, com.google.container.v1beta1.KubernetesDashboard.Builder, com.google.container.v1beta1.KubernetesDashboardOrBuilder> getKubernetesDashboardFieldBuilder() { if (kubernetesDashboardBuilder_ == null) { - kubernetesDashboardBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KubernetesDashboard, - com.google.container.v1beta1.KubernetesDashboard.Builder, - com.google.container.v1beta1.KubernetesDashboardOrBuilder>( - getKubernetesDashboard(), getParentForChildren(), isClean()); + kubernetesDashboardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.KubernetesDashboard, com.google.container.v1beta1.KubernetesDashboard.Builder, com.google.container.v1beta1.KubernetesDashboardOrBuilder>( + getKubernetesDashboard(), + getParentForChildren(), + isClean()); kubernetesDashboard_ = null; } return kubernetesDashboardBuilder_; @@ -2138,13 +1834,8 @@ public Builder clearKubernetesDashboard() { private com.google.container.v1beta1.NetworkPolicyConfig networkPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicyConfig, - com.google.container.v1beta1.NetworkPolicyConfig.Builder, - com.google.container.v1beta1.NetworkPolicyConfigOrBuilder> - networkPolicyConfigBuilder_; + com.google.container.v1beta1.NetworkPolicyConfig, com.google.container.v1beta1.NetworkPolicyConfig.Builder, com.google.container.v1beta1.NetworkPolicyConfigOrBuilder> networkPolicyConfigBuilder_; /** - * - * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2152,15 +1843,12 @@ public Builder clearKubernetesDashboard() {
      * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; - * * @return Whether the networkPolicyConfig field is set. */ public boolean hasNetworkPolicyConfig() { return networkPolicyConfigBuilder_ != null || networkPolicyConfig_ != null; } /** - * - * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2168,21 +1856,16 @@ public boolean hasNetworkPolicyConfig() {
      * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; - * * @return The networkPolicyConfig. */ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() { if (networkPolicyConfigBuilder_ == null) { - return networkPolicyConfig_ == null - ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() - : networkPolicyConfig_; + return networkPolicyConfig_ == null ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; } else { return networkPolicyConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2205,8 +1888,6 @@ public Builder setNetworkPolicyConfig(com.google.container.v1beta1.NetworkPolicy
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2227,8 +1908,6 @@ public Builder setNetworkPolicyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2237,14 +1916,11 @@ public Builder setNetworkPolicyConfig(
      *
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
-    public Builder mergeNetworkPolicyConfig(
-        com.google.container.v1beta1.NetworkPolicyConfig value) {
+    public Builder mergeNetworkPolicyConfig(com.google.container.v1beta1.NetworkPolicyConfig value) {
       if (networkPolicyConfigBuilder_ == null) {
         if (networkPolicyConfig_ != null) {
           networkPolicyConfig_ =
-              com.google.container.v1beta1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_).mergeFrom(value).buildPartial();
         } else {
           networkPolicyConfig_ = value;
         }
@@ -2256,8 +1932,6 @@ public Builder mergeNetworkPolicyConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2278,8 +1952,6 @@ public Builder clearNetworkPolicyConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2288,15 +1960,12 @@ public Builder clearNetworkPolicyConfig() {
      *
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
-    public com.google.container.v1beta1.NetworkPolicyConfig.Builder
-        getNetworkPolicyConfigBuilder() {
-
+    public com.google.container.v1beta1.NetworkPolicyConfig.Builder getNetworkPolicyConfigBuilder() {
+      
       onChanged();
       return getNetworkPolicyConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2305,19 +1974,15 @@ public Builder clearNetworkPolicyConfig() {
      *
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
-    public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder
-        getNetworkPolicyConfigOrBuilder() {
+    public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder() {
       if (networkPolicyConfigBuilder_ != null) {
         return networkPolicyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkPolicyConfig_ == null
-            ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance()
-            : networkPolicyConfig_;
+        return networkPolicyConfig_ == null ?
+            com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -2327,17 +1992,14 @@ public Builder clearNetworkPolicyConfig() {
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NetworkPolicyConfig,
-            com.google.container.v1beta1.NetworkPolicyConfig.Builder,
-            com.google.container.v1beta1.NetworkPolicyConfigOrBuilder>
+        com.google.container.v1beta1.NetworkPolicyConfig, com.google.container.v1beta1.NetworkPolicyConfig.Builder, com.google.container.v1beta1.NetworkPolicyConfigOrBuilder> 
         getNetworkPolicyConfigFieldBuilder() {
       if (networkPolicyConfigBuilder_ == null) {
-        networkPolicyConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NetworkPolicyConfig,
-                com.google.container.v1beta1.NetworkPolicyConfig.Builder,
-                com.google.container.v1beta1.NetworkPolicyConfigOrBuilder>(
-                getNetworkPolicyConfig(), getParentForChildren(), isClean());
+        networkPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NetworkPolicyConfig, com.google.container.v1beta1.NetworkPolicyConfig.Builder, com.google.container.v1beta1.NetworkPolicyConfigOrBuilder>(
+                getNetworkPolicyConfig(),
+                getParentForChildren(),
+                isClean());
         networkPolicyConfig_ = null;
       }
       return networkPolicyConfigBuilder_;
@@ -2345,55 +2007,40 @@ public Builder clearNetworkPolicyConfig() {
 
     private com.google.container.v1beta1.IstioConfig istioConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.IstioConfig,
-            com.google.container.v1beta1.IstioConfig.Builder,
-            com.google.container.v1beta1.IstioConfigOrBuilder>
-        istioConfigBuilder_;
+        com.google.container.v1beta1.IstioConfig, com.google.container.v1beta1.IstioConfig.Builder, com.google.container.v1beta1.IstioConfigOrBuilder> istioConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
      * 
* * .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=1060 + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1063 * @return Whether the istioConfig field is set. */ - @java.lang.Deprecated - public boolean hasIstioConfig() { + @java.lang.Deprecated public boolean hasIstioConfig() { return istioConfigBuilder_ != null || istioConfig_ != null; } /** - * - * *
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
      * 
* * .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=1060 + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1063 * @return The istioConfig. */ - @java.lang.Deprecated - public com.google.container.v1beta1.IstioConfig getIstioConfig() { + @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig getIstioConfig() { if (istioConfigBuilder_ == null) { - return istioConfig_ == null - ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() - : istioConfig_; + return istioConfig_ == null ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() : istioConfig_; } else { return istioConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2401,8 +2048,7 @@ public com.google.container.v1beta1.IstioConfig getIstioConfig() {
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setIstioConfig(com.google.container.v1beta1.IstioConfig value) {
+    @java.lang.Deprecated public Builder setIstioConfig(com.google.container.v1beta1.IstioConfig value) {
       if (istioConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2416,8 +2062,6 @@ public Builder setIstioConfig(com.google.container.v1beta1.IstioConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2425,8 +2069,7 @@ public Builder setIstioConfig(com.google.container.v1beta1.IstioConfig value) {
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setIstioConfig(
+    @java.lang.Deprecated public Builder setIstioConfig(
         com.google.container.v1beta1.IstioConfig.Builder builderForValue) {
       if (istioConfigBuilder_ == null) {
         istioConfig_ = builderForValue.build();
@@ -2438,8 +2081,6 @@ public Builder setIstioConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2447,14 +2088,11 @@ public Builder setIstioConfig(
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder mergeIstioConfig(com.google.container.v1beta1.IstioConfig value) {
+    @java.lang.Deprecated public Builder mergeIstioConfig(com.google.container.v1beta1.IstioConfig value) {
       if (istioConfigBuilder_ == null) {
         if (istioConfig_ != null) {
           istioConfig_ =
-              com.google.container.v1beta1.IstioConfig.newBuilder(istioConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.IstioConfig.newBuilder(istioConfig_).mergeFrom(value).buildPartial();
         } else {
           istioConfig_ = value;
         }
@@ -2466,8 +2104,6 @@ public Builder mergeIstioConfig(com.google.container.v1beta1.IstioConfig value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2475,8 +2111,7 @@ public Builder mergeIstioConfig(com.google.container.v1beta1.IstioConfig value)
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder clearIstioConfig() {
+    @java.lang.Deprecated public Builder clearIstioConfig() {
       if (istioConfigBuilder_ == null) {
         istioConfig_ = null;
         onChanged();
@@ -2488,8 +2123,6 @@ public Builder clearIstioConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2497,15 +2130,12 @@ public Builder clearIstioConfig() {
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1beta1.IstioConfig.Builder getIstioConfigBuilder() {
-
+    @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig.Builder getIstioConfigBuilder() {
+      
       onChanged();
       return getIstioConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2513,19 +2143,15 @@ public com.google.container.v1beta1.IstioConfig.Builder getIstioConfigBuilder()
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
+    @java.lang.Deprecated public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
       if (istioConfigBuilder_ != null) {
         return istioConfigBuilder_.getMessageOrBuilder();
       } else {
-        return istioConfig_ == null
-            ? com.google.container.v1beta1.IstioConfig.getDefaultInstance()
-            : istioConfig_;
+        return istioConfig_ == null ?
+            com.google.container.v1beta1.IstioConfig.getDefaultInstance() : istioConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2534,17 +2160,14 @@ public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.IstioConfig,
-            com.google.container.v1beta1.IstioConfig.Builder,
-            com.google.container.v1beta1.IstioConfigOrBuilder>
+        com.google.container.v1beta1.IstioConfig, com.google.container.v1beta1.IstioConfig.Builder, com.google.container.v1beta1.IstioConfigOrBuilder> 
         getIstioConfigFieldBuilder() {
       if (istioConfigBuilder_ == null) {
-        istioConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.IstioConfig,
-                com.google.container.v1beta1.IstioConfig.Builder,
-                com.google.container.v1beta1.IstioConfigOrBuilder>(
-                getIstioConfig(), getParentForChildren(), isClean());
+        istioConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.IstioConfig, com.google.container.v1beta1.IstioConfig.Builder, com.google.container.v1beta1.IstioConfigOrBuilder>(
+                getIstioConfig(),
+                getParentForChildren(),
+                isClean());
         istioConfig_ = null;
       }
       return istioConfigBuilder_;
@@ -2552,13 +2175,8 @@ public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder
 
     private com.google.container.v1beta1.CloudRunConfig cloudRunConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.CloudRunConfig,
-            com.google.container.v1beta1.CloudRunConfig.Builder,
-            com.google.container.v1beta1.CloudRunConfigOrBuilder>
-        cloudRunConfigBuilder_;
+        com.google.container.v1beta1.CloudRunConfig, com.google.container.v1beta1.CloudRunConfig.Builder, com.google.container.v1beta1.CloudRunConfigOrBuilder> cloudRunConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2566,15 +2184,12 @@ public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder
      * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; - * * @return Whether the cloudRunConfig field is set. */ public boolean hasCloudRunConfig() { return cloudRunConfigBuilder_ != null || cloudRunConfig_ != null; } /** - * - * *
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2582,21 +2197,16 @@ public boolean hasCloudRunConfig() {
      * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; - * * @return The cloudRunConfig. */ public com.google.container.v1beta1.CloudRunConfig getCloudRunConfig() { if (cloudRunConfigBuilder_ == null) { - return cloudRunConfig_ == null - ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() - : cloudRunConfig_; + return cloudRunConfig_ == null ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; } else { return cloudRunConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2619,8 +2229,6 @@ public Builder setCloudRunConfig(com.google.container.v1beta1.CloudRunConfig val
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2641,8 +2249,6 @@ public Builder setCloudRunConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2655,9 +2261,7 @@ public Builder mergeCloudRunConfig(com.google.container.v1beta1.CloudRunConfig v
       if (cloudRunConfigBuilder_ == null) {
         if (cloudRunConfig_ != null) {
           cloudRunConfig_ =
-              com.google.container.v1beta1.CloudRunConfig.newBuilder(cloudRunConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.CloudRunConfig.newBuilder(cloudRunConfig_).mergeFrom(value).buildPartial();
         } else {
           cloudRunConfig_ = value;
         }
@@ -2669,8 +2273,6 @@ public Builder mergeCloudRunConfig(com.google.container.v1beta1.CloudRunConfig v
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2691,8 +2293,6 @@ public Builder clearCloudRunConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2702,13 +2302,11 @@ public Builder clearCloudRunConfig() {
      * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7;
      */
     public com.google.container.v1beta1.CloudRunConfig.Builder getCloudRunConfigBuilder() {
-
+      
       onChanged();
       return getCloudRunConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2721,14 +2319,11 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
       if (cloudRunConfigBuilder_ != null) {
         return cloudRunConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cloudRunConfig_ == null
-            ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance()
-            : cloudRunConfig_;
+        return cloudRunConfig_ == null ?
+            com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2738,17 +2333,14 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
      * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.CloudRunConfig,
-            com.google.container.v1beta1.CloudRunConfig.Builder,
-            com.google.container.v1beta1.CloudRunConfigOrBuilder>
+        com.google.container.v1beta1.CloudRunConfig, com.google.container.v1beta1.CloudRunConfig.Builder, com.google.container.v1beta1.CloudRunConfigOrBuilder> 
         getCloudRunConfigFieldBuilder() {
       if (cloudRunConfigBuilder_ == null) {
-        cloudRunConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.CloudRunConfig,
-                com.google.container.v1beta1.CloudRunConfig.Builder,
-                com.google.container.v1beta1.CloudRunConfigOrBuilder>(
-                getCloudRunConfig(), getParentForChildren(), isClean());
+        cloudRunConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.CloudRunConfig, com.google.container.v1beta1.CloudRunConfig.Builder, com.google.container.v1beta1.CloudRunConfigOrBuilder>(
+                getCloudRunConfig(),
+                getParentForChildren(),
+                isClean());
         cloudRunConfig_ = null;
       }
       return cloudRunConfigBuilder_;
@@ -2756,47 +2348,34 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
 
     private com.google.container.v1beta1.DnsCacheConfig dnsCacheConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.DnsCacheConfig,
-            com.google.container.v1beta1.DnsCacheConfig.Builder,
-            com.google.container.v1beta1.DnsCacheConfigOrBuilder>
-        dnsCacheConfigBuilder_;
+        com.google.container.v1beta1.DnsCacheConfig, com.google.container.v1beta1.DnsCacheConfig.Builder, com.google.container.v1beta1.DnsCacheConfigOrBuilder> dnsCacheConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; - * * @return Whether the dnsCacheConfig field is set. */ public boolean hasDnsCacheConfig() { return dnsCacheConfigBuilder_ != null || dnsCacheConfig_ != null; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; - * * @return The dnsCacheConfig. */ public com.google.container.v1beta1.DnsCacheConfig getDnsCacheConfig() { if (dnsCacheConfigBuilder_ == null) { - return dnsCacheConfig_ == null - ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() - : dnsCacheConfig_; + return dnsCacheConfig_ == null ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; } else { return dnsCacheConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2817,8 +2396,6 @@ public Builder setDnsCacheConfig(com.google.container.v1beta1.DnsCacheConfig val return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2837,8 +2414,6 @@ public Builder setDnsCacheConfig( return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2849,9 +2424,7 @@ public Builder mergeDnsCacheConfig(com.google.container.v1beta1.DnsCacheConfig v if (dnsCacheConfigBuilder_ == null) { if (dnsCacheConfig_ != null) { dnsCacheConfig_ = - com.google.container.v1beta1.DnsCacheConfig.newBuilder(dnsCacheConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.DnsCacheConfig.newBuilder(dnsCacheConfig_).mergeFrom(value).buildPartial(); } else { dnsCacheConfig_ = value; } @@ -2863,8 +2436,6 @@ public Builder mergeDnsCacheConfig(com.google.container.v1beta1.DnsCacheConfig v return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2883,8 +2454,6 @@ public Builder clearDnsCacheConfig() { return this; } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2892,13 +2461,11 @@ public Builder clearDnsCacheConfig() { * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; */ public com.google.container.v1beta1.DnsCacheConfig.Builder getDnsCacheConfigBuilder() { - + onChanged(); return getDnsCacheConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2909,14 +2476,11 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB if (dnsCacheConfigBuilder_ != null) { return dnsCacheConfigBuilder_.getMessageOrBuilder(); } else { - return dnsCacheConfig_ == null - ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() - : dnsCacheConfig_; + return dnsCacheConfig_ == null ? + com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; } } /** - * - * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2924,17 +2488,14 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DnsCacheConfig, - com.google.container.v1beta1.DnsCacheConfig.Builder, - com.google.container.v1beta1.DnsCacheConfigOrBuilder> + com.google.container.v1beta1.DnsCacheConfig, com.google.container.v1beta1.DnsCacheConfig.Builder, com.google.container.v1beta1.DnsCacheConfigOrBuilder> getDnsCacheConfigFieldBuilder() { if (dnsCacheConfigBuilder_ == null) { - dnsCacheConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DnsCacheConfig, - com.google.container.v1beta1.DnsCacheConfig.Builder, - com.google.container.v1beta1.DnsCacheConfigOrBuilder>( - getDnsCacheConfig(), getParentForChildren(), isClean()); + dnsCacheConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DnsCacheConfig, com.google.container.v1beta1.DnsCacheConfig.Builder, com.google.container.v1beta1.DnsCacheConfigOrBuilder>( + getDnsCacheConfig(), + getParentForChildren(), + isClean()); dnsCacheConfig_ = null; } return dnsCacheConfigBuilder_; @@ -2942,49 +2503,36 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB private com.google.container.v1beta1.ConfigConnectorConfig configConnectorConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfigConnectorConfig, - com.google.container.v1beta1.ConfigConnectorConfig.Builder, - com.google.container.v1beta1.ConfigConnectorConfigOrBuilder> - configConnectorConfigBuilder_; + com.google.container.v1beta1.ConfigConnectorConfig, com.google.container.v1beta1.ConfigConnectorConfig.Builder, com.google.container.v1beta1.ConfigConnectorConfigOrBuilder> configConnectorConfigBuilder_; /** - * - * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; - * * @return Whether the configConnectorConfig field is set. */ public boolean hasConfigConnectorConfig() { return configConnectorConfigBuilder_ != null || configConnectorConfig_ != null; } /** - * - * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; - * * @return The configConnectorConfig. */ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConfig() { if (configConnectorConfigBuilder_ == null) { - return configConnectorConfig_ == null - ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() - : configConnectorConfig_; + return configConnectorConfig_ == null ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; } else { return configConnectorConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2992,8 +2540,7 @@ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConf
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public Builder setConfigConnectorConfig(
-        com.google.container.v1beta1.ConfigConnectorConfig value) {
+    public Builder setConfigConnectorConfig(com.google.container.v1beta1.ConfigConnectorConfig value) {
       if (configConnectorConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3007,8 +2554,6 @@ public Builder setConfigConnectorConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -3028,8 +2573,6 @@ public Builder setConfigConnectorConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -3037,14 +2580,11 @@ public Builder setConfigConnectorConfig(
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public Builder mergeConfigConnectorConfig(
-        com.google.container.v1beta1.ConfigConnectorConfig value) {
+    public Builder mergeConfigConnectorConfig(com.google.container.v1beta1.ConfigConnectorConfig value) {
       if (configConnectorConfigBuilder_ == null) {
         if (configConnectorConfig_ != null) {
           configConnectorConfig_ =
-              com.google.container.v1beta1.ConfigConnectorConfig.newBuilder(configConnectorConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ConfigConnectorConfig.newBuilder(configConnectorConfig_).mergeFrom(value).buildPartial();
         } else {
           configConnectorConfig_ = value;
         }
@@ -3056,8 +2596,6 @@ public Builder mergeConfigConnectorConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -3077,8 +2615,6 @@ public Builder clearConfigConnectorConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -3086,15 +2622,12 @@ public Builder clearConfigConnectorConfig() {
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public com.google.container.v1beta1.ConfigConnectorConfig.Builder
-        getConfigConnectorConfigBuilder() {
-
+    public com.google.container.v1beta1.ConfigConnectorConfig.Builder getConfigConnectorConfigBuilder() {
+      
       onChanged();
       return getConfigConnectorConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -3102,19 +2635,15 @@ public Builder clearConfigConnectorConfig() {
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder
-        getConfigConnectorConfigOrBuilder() {
+    public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
       if (configConnectorConfigBuilder_ != null) {
         return configConnectorConfigBuilder_.getMessageOrBuilder();
       } else {
-        return configConnectorConfig_ == null
-            ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance()
-            : configConnectorConfig_;
+        return configConnectorConfig_ == null ?
+            com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -3123,82 +2652,56 @@ public Builder clearConfigConnectorConfig() {
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfigConnectorConfig,
-            com.google.container.v1beta1.ConfigConnectorConfig.Builder,
-            com.google.container.v1beta1.ConfigConnectorConfigOrBuilder>
+        com.google.container.v1beta1.ConfigConnectorConfig, com.google.container.v1beta1.ConfigConnectorConfig.Builder, com.google.container.v1beta1.ConfigConnectorConfigOrBuilder> 
         getConfigConnectorConfigFieldBuilder() {
       if (configConnectorConfigBuilder_ == null) {
-        configConnectorConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ConfigConnectorConfig,
-                com.google.container.v1beta1.ConfigConnectorConfig.Builder,
-                com.google.container.v1beta1.ConfigConnectorConfigOrBuilder>(
-                getConfigConnectorConfig(), getParentForChildren(), isClean());
+        configConnectorConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ConfigConnectorConfig, com.google.container.v1beta1.ConfigConnectorConfig.Builder, com.google.container.v1beta1.ConfigConnectorConfigOrBuilder>(
+                getConfigConnectorConfig(),
+                getParentForChildren(),
+                isClean());
         configConnectorConfig_ = null;
       }
       return configConnectorConfigBuilder_;
     }
 
-    private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig
-        gcePersistentDiskCsiDriverConfig_;
+    private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig,
-            com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder,
-            com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder>
-        gcePersistentDiskCsiDriverConfigBuilder_;
+        com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder> gcePersistentDiskCsiDriverConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ public boolean hasGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfigBuilder_ != null - || gcePersistentDiskCsiDriverConfig_ != null; + return gcePersistentDiskCsiDriverConfigBuilder_ != null || gcePersistentDiskCsiDriverConfig_ != null; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return The gcePersistentDiskCsiDriverConfig. */ - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig - getGcePersistentDiskCsiDriverConfig() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - return gcePersistentDiskCsiDriverConfig_ == null - ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() - : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; } else { return gcePersistentDiskCsiDriverConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public Builder setGcePersistentDiskCsiDriverConfig( - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { + public Builder setGcePersistentDiskCsiDriverConfig(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3212,15 +2715,11 @@ public Builder setGcePersistentDiskCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ public Builder setGcePersistentDiskCsiDriverConfig( com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder builderForValue) { @@ -3234,25 +2733,17 @@ public Builder setGcePersistentDiskCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public Builder mergeGcePersistentDiskCsiDriverConfig( - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { + public Builder mergeGcePersistentDiskCsiDriverConfig(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (gcePersistentDiskCsiDriverConfig_ != null) { gcePersistentDiskCsiDriverConfig_ = - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.newBuilder( - gcePersistentDiskCsiDriverConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.newBuilder(gcePersistentDiskCsiDriverConfig_).mergeFrom(value).buildPartial(); } else { gcePersistentDiskCsiDriverConfig_ = value; } @@ -3264,15 +2755,11 @@ public Builder mergeGcePersistentDiskCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ public Builder clearGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { @@ -3286,66 +2773,48 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { return this; } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder - getGcePersistentDiskCsiDriverConfigBuilder() { - + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder getGcePersistentDiskCsiDriverConfigBuilder() { + onChanged(); return getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder - getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ != null) { return gcePersistentDiskCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcePersistentDiskCsiDriverConfig_ == null - ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() - : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null ? + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; } } /** - * - * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder> + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder> getGcePersistentDiskCsiDriverConfigFieldBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - gcePersistentDiskCsiDriverConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder>( - getGcePersistentDiskCsiDriverConfig(), getParentForChildren(), isClean()); + gcePersistentDiskCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder>( + getGcePersistentDiskCsiDriverConfig(), + getParentForChildren(), + isClean()); gcePersistentDiskCsiDriverConfig_ = null; } return gcePersistentDiskCsiDriverConfigBuilder_; @@ -3353,55 +2822,40 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { private com.google.container.v1beta1.KalmConfig kalmConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KalmConfig, - com.google.container.v1beta1.KalmConfig.Builder, - com.google.container.v1beta1.KalmConfigOrBuilder> - kalmConfigBuilder_; + com.google.container.v1beta1.KalmConfig, com.google.container.v1beta1.KalmConfig.Builder, com.google.container.v1beta1.KalmConfigOrBuilder> kalmConfigBuilder_; /** - * - * *
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
      * 
* * .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=1079 + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1082 * @return Whether the kalmConfig field is set. */ - @java.lang.Deprecated - public boolean hasKalmConfig() { + @java.lang.Deprecated public boolean hasKalmConfig() { return kalmConfigBuilder_ != null || kalmConfig_ != null; } /** - * - * *
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
      * 
* * .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=1079 + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1082 * @return The kalmConfig. */ - @java.lang.Deprecated - public com.google.container.v1beta1.KalmConfig getKalmConfig() { + @java.lang.Deprecated public com.google.container.v1beta1.KalmConfig getKalmConfig() { if (kalmConfigBuilder_ == null) { - return kalmConfig_ == null - ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() - : kalmConfig_; + return kalmConfig_ == null ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() : kalmConfig_; } else { return kalmConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -3409,8 +2863,7 @@ public com.google.container.v1beta1.KalmConfig getKalmConfig() {
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig value) {
+    @java.lang.Deprecated public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig value) {
       if (kalmConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -3424,8 +2877,6 @@ public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -3433,8 +2884,8 @@ public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig value) {
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig.Builder builderForValue) {
+    @java.lang.Deprecated public Builder setKalmConfig(
+        com.google.container.v1beta1.KalmConfig.Builder builderForValue) {
       if (kalmConfigBuilder_ == null) {
         kalmConfig_ = builderForValue.build();
         onChanged();
@@ -3445,8 +2896,6 @@ public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -3454,14 +2903,11 @@ public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig.Builder bui
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder mergeKalmConfig(com.google.container.v1beta1.KalmConfig value) {
+    @java.lang.Deprecated public Builder mergeKalmConfig(com.google.container.v1beta1.KalmConfig value) {
       if (kalmConfigBuilder_ == null) {
         if (kalmConfig_ != null) {
           kalmConfig_ =
-              com.google.container.v1beta1.KalmConfig.newBuilder(kalmConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.KalmConfig.newBuilder(kalmConfig_).mergeFrom(value).buildPartial();
         } else {
           kalmConfig_ = value;
         }
@@ -3473,8 +2919,6 @@ public Builder mergeKalmConfig(com.google.container.v1beta1.KalmConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -3482,8 +2926,7 @@ public Builder mergeKalmConfig(com.google.container.v1beta1.KalmConfig value) {
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder clearKalmConfig() {
+    @java.lang.Deprecated public Builder clearKalmConfig() {
       if (kalmConfigBuilder_ == null) {
         kalmConfig_ = null;
         onChanged();
@@ -3495,8 +2938,6 @@ public Builder clearKalmConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -3504,15 +2945,12 @@ public Builder clearKalmConfig() {
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1beta1.KalmConfig.Builder getKalmConfigBuilder() {
-
+    @java.lang.Deprecated public com.google.container.v1beta1.KalmConfig.Builder getKalmConfigBuilder() {
+      
       onChanged();
       return getKalmConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -3520,19 +2958,15 @@ public com.google.container.v1beta1.KalmConfig.Builder getKalmConfigBuilder() {
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
+    @java.lang.Deprecated public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
       if (kalmConfigBuilder_ != null) {
         return kalmConfigBuilder_.getMessageOrBuilder();
       } else {
-        return kalmConfig_ == null
-            ? com.google.container.v1beta1.KalmConfig.getDefaultInstance()
-            : kalmConfig_;
+        return kalmConfig_ == null ?
+            com.google.container.v1beta1.KalmConfig.getDefaultInstance() : kalmConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -3541,17 +2975,14 @@ public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder()
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.KalmConfig,
-            com.google.container.v1beta1.KalmConfig.Builder,
-            com.google.container.v1beta1.KalmConfigOrBuilder>
+        com.google.container.v1beta1.KalmConfig, com.google.container.v1beta1.KalmConfig.Builder, com.google.container.v1beta1.KalmConfigOrBuilder> 
         getKalmConfigFieldBuilder() {
       if (kalmConfigBuilder_ == null) {
-        kalmConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.KalmConfig,
-                com.google.container.v1beta1.KalmConfig.Builder,
-                com.google.container.v1beta1.KalmConfigOrBuilder>(
-                getKalmConfig(), getParentForChildren(), isClean());
+        kalmConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.KalmConfig, com.google.container.v1beta1.KalmConfig.Builder, com.google.container.v1beta1.KalmConfigOrBuilder>(
+                getKalmConfig(),
+                getParentForChildren(),
+                isClean());
         kalmConfig_ = null;
       }
       return kalmConfigBuilder_;
@@ -3559,62 +2990,41 @@ public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder()
 
     private com.google.container.v1beta1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.GcpFilestoreCsiDriverConfig,
-            com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder,
-            com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder>
-        gcpFilestoreCsiDriverConfigBuilder_;
+        com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder> gcpFilestoreCsiDriverConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfigBuilder_ != null || gcpFilestoreCsiDriverConfig_ != null; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return The gcpFilestoreCsiDriverConfig. */ - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig - getGcpFilestoreCsiDriverConfig() { + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - return gcpFilestoreCsiDriverConfig_ == null - ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() - : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; } else { return gcpFilestoreCsiDriverConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public Builder setGcpFilestoreCsiDriverConfig( - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { + public Builder setGcpFilestoreCsiDriverConfig(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3628,15 +3038,11 @@ public Builder setGcpFilestoreCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ public Builder setGcpFilestoreCsiDriverConfig( com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder builderForValue) { @@ -3650,25 +3056,17 @@ public Builder setGcpFilestoreCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public Builder mergeGcpFilestoreCsiDriverConfig( - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { + public Builder mergeGcpFilestoreCsiDriverConfig(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (gcpFilestoreCsiDriverConfig_ != null) { gcpFilestoreCsiDriverConfig_ = - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.newBuilder( - gcpFilestoreCsiDriverConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.newBuilder(gcpFilestoreCsiDriverConfig_).mergeFrom(value).buildPartial(); } else { gcpFilestoreCsiDriverConfig_ = value; } @@ -3680,15 +3078,11 @@ public Builder mergeGcpFilestoreCsiDriverConfig( return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ public Builder clearGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { @@ -3702,66 +3096,48 @@ public Builder clearGcpFilestoreCsiDriverConfig() { return this; } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder - getGcpFilestoreCsiDriverConfigBuilder() { - + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder getGcpFilestoreCsiDriverConfigBuilder() { + onChanged(); return getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder - getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ != null) { return gcpFilestoreCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcpFilestoreCsiDriverConfig_ == null - ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() - : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null ? + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; } } /** - * - * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, - com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder> + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder> getGcpFilestoreCsiDriverConfigFieldBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - gcpFilestoreCsiDriverConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, - com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder>( - getGcpFilestoreCsiDriverConfig(), getParentForChildren(), isClean()); + gcpFilestoreCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder>( + getGcpFilestoreCsiDriverConfig(), + getParentForChildren(), + isClean()); gcpFilestoreCsiDriverConfig_ = null; } return gcpFilestoreCsiDriverConfigBuilder_; @@ -3769,55 +3145,41 @@ public Builder clearGcpFilestoreCsiDriverConfig() { private com.google.container.v1beta1.GkeBackupAgentConfig gkeBackupAgentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GkeBackupAgentConfig, - com.google.container.v1beta1.GkeBackupAgentConfig.Builder, - com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> - gkeBackupAgentConfigBuilder_; + com.google.container.v1beta1.GkeBackupAgentConfig, com.google.container.v1beta1.GkeBackupAgentConfig.Builder, com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> gkeBackupAgentConfigBuilder_; /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return Whether the gkeBackupAgentConfig field is set. */ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfigBuilder_ != null || gkeBackupAgentConfig_ != null; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return The gkeBackupAgentConfig. */ public com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig() { if (gkeBackupAgentConfigBuilder_ == null) { - return gkeBackupAgentConfig_ == null - ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() - : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; } else { return gkeBackupAgentConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public Builder setGkeBackupAgentConfig( - com.google.container.v1beta1.GkeBackupAgentConfig value) { + public Builder setGkeBackupAgentConfig(com.google.container.v1beta1.GkeBackupAgentConfig value) { if (gkeBackupAgentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3831,8 +3193,6 @@ public Builder setGkeBackupAgentConfig( return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3851,22 +3211,17 @@ public Builder setGkeBackupAgentConfig( return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public Builder mergeGkeBackupAgentConfig( - com.google.container.v1beta1.GkeBackupAgentConfig value) { + public Builder mergeGkeBackupAgentConfig(com.google.container.v1beta1.GkeBackupAgentConfig value) { if (gkeBackupAgentConfigBuilder_ == null) { if (gkeBackupAgentConfig_ != null) { gkeBackupAgentConfig_ = - com.google.container.v1beta1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_).mergeFrom(value).buildPartial(); } else { gkeBackupAgentConfig_ = value; } @@ -3878,8 +3233,6 @@ public Builder mergeGkeBackupAgentConfig( return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3898,42 +3251,33 @@ public Builder clearGkeBackupAgentConfig() { return this; } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public com.google.container.v1beta1.GkeBackupAgentConfig.Builder - getGkeBackupAgentConfigBuilder() { - + public com.google.container.v1beta1.GkeBackupAgentConfig.Builder getGkeBackupAgentConfigBuilder() { + onChanged(); return getGkeBackupAgentConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder - getGkeBackupAgentConfigOrBuilder() { + public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder() { if (gkeBackupAgentConfigBuilder_ != null) { return gkeBackupAgentConfigBuilder_.getMessageOrBuilder(); } else { - return gkeBackupAgentConfig_ == null - ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() - : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null ? + com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; } } /** - * - * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3941,24 +3285,21 @@ public Builder clearGkeBackupAgentConfig() { * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GkeBackupAgentConfig, - com.google.container.v1beta1.GkeBackupAgentConfig.Builder, - com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> + com.google.container.v1beta1.GkeBackupAgentConfig, com.google.container.v1beta1.GkeBackupAgentConfig.Builder, com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> getGkeBackupAgentConfigFieldBuilder() { if (gkeBackupAgentConfigBuilder_ == null) { - gkeBackupAgentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GkeBackupAgentConfig, - com.google.container.v1beta1.GkeBackupAgentConfig.Builder, - com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder>( - getGkeBackupAgentConfig(), getParentForChildren(), isClean()); + gkeBackupAgentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GkeBackupAgentConfig, com.google.container.v1beta1.GkeBackupAgentConfig.Builder, com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder>( + getGkeBackupAgentConfig(), + getParentForChildren(), + isClean()); gkeBackupAgentConfig_ = null; } return gkeBackupAgentConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3968,12 +3309,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AddonsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AddonsConfig) private static final com.google.container.v1beta1.AddonsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AddonsConfig(); } @@ -3982,27 +3323,27 @@ public static com.google.container.v1beta1.AddonsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddonsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddonsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4017,4 +3358,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AddonsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java index cde70dfff744..22119af8ad76 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface AddonsConfigOrBuilder - extends +public interface AddonsConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AddonsConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; - * * @return Whether the httpLoadBalancing field is set. */ boolean hasHttpLoadBalancing(); /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; - * * @return The httpLoadBalancing. */ com.google.container.v1beta1.HttpLoadBalancing getHttpLoadBalancing(); /** - * - * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -62,8 +38,6 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -71,13 +45,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return Whether the horizontalPodAutoscaling field is set. */ boolean hasHorizontalPodAutoscaling(); /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -85,13 +56,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; - * * @return The horizontalPodAutoscaling. */ com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAutoscaling(); /** - * - * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -100,12 +68,9 @@ public interface AddonsConfigOrBuilder
    *
    * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
    */
-  com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder
-      getHorizontalPodAutoscalingOrBuilder();
+  com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -114,19 +79,13 @@ public interface AddonsConfigOrBuilder
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1051 + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1054 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated - boolean hasKubernetesDashboard(); + @java.lang.Deprecated boolean hasKubernetesDashboard(); /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -135,19 +94,13 @@ public interface AddonsConfigOrBuilder
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1051 + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1054 * @return The kubernetesDashboard. */ - @java.lang.Deprecated - com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard(); + @java.lang.Deprecated com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard(); /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -156,16 +109,11 @@ public interface AddonsConfigOrBuilder
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); + @java.lang.Deprecated com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -173,13 +121,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; - * * @return Whether the networkPolicyConfig field is set. */ boolean hasNetworkPolicyConfig(); /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -187,13 +132,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; - * * @return The networkPolicyConfig. */ com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig(); /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -205,40 +147,30 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1060 + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1063 * @return Whether the istioConfig field is set. */ - @java.lang.Deprecated - boolean hasIstioConfig(); + @java.lang.Deprecated boolean hasIstioConfig(); /** - * - * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1060 + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1063 * @return The istioConfig. */ - @java.lang.Deprecated - com.google.container.v1beta1.IstioConfig getIstioConfig(); + @java.lang.Deprecated com.google.container.v1beta1.IstioConfig getIstioConfig(); /** - * - * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
@@ -246,12 +178,9 @@ public interface AddonsConfigOrBuilder
    *
    * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
    */
-  @java.lang.Deprecated
-  com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder();
+  @java.lang.Deprecated com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -259,13 +188,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; - * * @return Whether the cloudRunConfig field is set. */ boolean hasCloudRunConfig(); /** - * - * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -273,13 +199,10 @@ public interface AddonsConfigOrBuilder
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; - * * @return The cloudRunConfig. */ com.google.container.v1beta1.CloudRunConfig getCloudRunConfig(); /** - * - * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -291,32 +214,24 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; - * * @return Whether the dnsCacheConfig field is set. */ boolean hasDnsCacheConfig(); /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; - * * @return The dnsCacheConfig. */ com.google.container.v1beta1.DnsCacheConfig getDnsCacheConfig(); /** - * - * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -326,34 +241,26 @@ public interface AddonsConfigOrBuilder com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder(); /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; - * * @return Whether the configConnectorConfig field is set. */ boolean hasConfigConnectorConfig(); /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; - * * @return The configConnectorConfig. */ com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConfig(); /** - * - * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -364,83 +271,57 @@ public interface AddonsConfigOrBuilder
   com.google.container.v1beta1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ boolean hasGcePersistentDiskCsiDriverConfig(); /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; * @return The gcePersistentDiskCsiDriverConfig. */ - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig - getGcePersistentDiskCsiDriverConfig(); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig(); /** - * - * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; - * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; */ - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder - getGcePersistentDiskCsiDriverConfigOrBuilder(); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder(); /** - * - * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1079 + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1082 * @return Whether the kalmConfig field is set. */ - @java.lang.Deprecated - boolean hasKalmConfig(); + @java.lang.Deprecated boolean hasKalmConfig(); /** - * - * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1079 + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1082 * @return The kalmConfig. */ - @java.lang.Deprecated - com.google.container.v1beta1.KalmConfig getKalmConfig(); + @java.lang.Deprecated com.google.container.v1beta1.KalmConfig getKalmConfig(); /** - * - * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
@@ -448,78 +329,54 @@ public interface AddonsConfigOrBuilder
    *
    * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
    */
-  @java.lang.Deprecated
-  com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder();
+  @java.lang.Deprecated com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ boolean hasGcpFilestoreCsiDriverConfig(); /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; * @return The gcpFilestoreCsiDriverConfig. */ com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig(); /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; - * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; */ - com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder - getGcpFilestoreCsiDriverConfigOrBuilder(); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder(); /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return Whether the gkeBackupAgentConfig field is set. */ boolean hasGkeBackupAgentConfig(); /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; - * * @return The gkeBackupAgentConfig. */ com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig(); /** - * - * *
    * Configuration for the Backup for GKE agent addon.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java index b773c0ee9f4d..b2fd5f86fdc5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java @@ -1,76 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Specifies options for controlling advanced machine features.
  * 
* * Protobuf type {@code google.container.v1beta1.AdvancedMachineFeatures} */ -public final class AdvancedMachineFeatures extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AdvancedMachineFeatures extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.AdvancedMachineFeatures) AdvancedMachineFeaturesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AdvancedMachineFeatures.newBuilder() to construct. private AdvancedMachineFeatures(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AdvancedMachineFeatures() {} + private AdvancedMachineFeatures() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AdvancedMachineFeatures(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AdvancedMachineFeatures.class, - com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1beta1.AdvancedMachineFeatures.class, com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); } private int bitField0_; public static final int THREADS_PER_CORE_FIELD_NUMBER = 1; private long threadsPerCore_; /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * optional int64 threads_per_core = 1; - * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -86,8 +65,6 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -95,7 +72,6 @@ public boolean hasThreadsPerCore() {
    * 
* * optional int64 threads_per_core = 1; - * * @return The threadsPerCore. */ @java.lang.Override @@ -104,7 +80,6 @@ public long getThreadsPerCore() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,7 +91,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, threadsPerCore_); } @@ -130,7 +106,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, threadsPerCore_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, threadsPerCore_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -140,17 +117,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AdvancedMachineFeatures)) { return super.equals(obj); } - com.google.container.v1beta1.AdvancedMachineFeatures other = - (com.google.container.v1beta1.AdvancedMachineFeatures) obj; + com.google.container.v1beta1.AdvancedMachineFeatures other = (com.google.container.v1beta1.AdvancedMachineFeatures) obj; if (hasThreadsPerCore() != other.hasThreadsPerCore()) return false; if (hasThreadsPerCore()) { - if (getThreadsPerCore() != other.getThreadsPerCore()) return false; + if (getThreadsPerCore() + != other.getThreadsPerCore()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -165,7 +142,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasThreadsPerCore()) { hash = (37 * hash) + THREADS_PER_CORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getThreadsPerCore()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getThreadsPerCore()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -173,135 +151,129 @@ public int hashCode() { } public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AdvancedMachineFeatures parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( 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.AdvancedMachineFeatures parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.AdvancedMachineFeatures parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.AdvancedMachineFeatures parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.AdvancedMachineFeatures prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies options for controlling advanced machine features.
    * 
* * Protobuf type {@code google.container.v1beta1.AdvancedMachineFeatures} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AdvancedMachineFeatures) com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AdvancedMachineFeatures.class, - com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1beta1.AdvancedMachineFeatures.class, com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); } // Construct using com.google.container.v1beta1.AdvancedMachineFeatures.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -311,9 +283,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; } @java.lang.Override @@ -332,8 +304,7 @@ public com.google.container.v1beta1.AdvancedMachineFeatures build() { @java.lang.Override public com.google.container.v1beta1.AdvancedMachineFeatures buildPartial() { - com.google.container.v1beta1.AdvancedMachineFeatures result = - new com.google.container.v1beta1.AdvancedMachineFeatures(this); + com.google.container.v1beta1.AdvancedMachineFeatures result = new com.google.container.v1beta1.AdvancedMachineFeatures(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -349,39 +320,38 @@ public com.google.container.v1beta1.AdvancedMachineFeatures buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.AdvancedMachineFeatures) { - return mergeFrom((com.google.container.v1beta1.AdvancedMachineFeatures) other); + return mergeFrom((com.google.container.v1beta1.AdvancedMachineFeatures)other); } else { super.mergeFrom(other); return this; @@ -389,8 +359,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.AdvancedMachineFeatures other) { - if (other == com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance()) return this; if (other.hasThreadsPerCore()) { setThreadsPerCore(other.getThreadsPerCore()); } @@ -420,19 +389,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - threadsPerCore_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + threadsPerCore_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -442,13 +409,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long threadsPerCore_; + private long threadsPerCore_ ; /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -456,7 +420,6 @@ public Builder mergeFrom(
      * 
* * optional int64 threads_per_core = 1; - * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -464,8 +427,6 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -473,7 +434,6 @@ public boolean hasThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; - * * @return The threadsPerCore. */ @java.lang.Override @@ -481,8 +441,6 @@ public long getThreadsPerCore() { return threadsPerCore_; } /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -490,7 +448,6 @@ public long getThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; - * * @param value The threadsPerCore to set. * @return This builder for chaining. */ @@ -501,8 +458,6 @@ public Builder setThreadsPerCore(long value) { return this; } /** - * - * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -510,7 +465,6 @@ public Builder setThreadsPerCore(long value) {
      * 
* * optional int64 threads_per_core = 1; - * * @return This builder for chaining. */ public Builder clearThreadsPerCore() { @@ -519,9 +473,9 @@ public Builder clearThreadsPerCore() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -531,12 +485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AdvancedMachineFeatures) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AdvancedMachineFeatures) private static final com.google.container.v1beta1.AdvancedMachineFeatures DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AdvancedMachineFeatures(); } @@ -545,27 +499,27 @@ public static com.google.container.v1beta1.AdvancedMachineFeatures getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvancedMachineFeatures parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvancedMachineFeatures parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -580,4 +534,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AdvancedMachineFeatures getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java index 025bbd7208f2..5981e45af7ac 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AdvancedMachineFeaturesOrBuilder - extends +public interface AdvancedMachineFeaturesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AdvancedMachineFeatures) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -33,13 +15,10 @@ public interface AdvancedMachineFeaturesOrBuilder
    * 
* * optional int64 threads_per_core = 1; - * * @return Whether the threadsPerCore field is set. */ boolean hasThreadsPerCore(); /** - * - * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -47,7 +26,6 @@ public interface AdvancedMachineFeaturesOrBuilder
    * 
* * optional int64 threads_per_core = 1; - * * @return The threadsPerCore. */ long getThreadsPerCore(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java index 1042d6e70843..42899f04d576 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java @@ -1,84 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for returning group information from authenticators.
  * 
* * Protobuf type {@code google.container.v1beta1.AuthenticatorGroupsConfig} */ -public final class AuthenticatorGroupsConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AuthenticatorGroupsConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.AuthenticatorGroupsConfig) AuthenticatorGroupsConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AuthenticatorGroupsConfig.newBuilder() to construct. private AuthenticatorGroupsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AuthenticatorGroupsConfig() { securityGroup_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AuthenticatorGroupsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AuthenticatorGroupsConfig.class, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1beta1.AuthenticatorGroupsConfig.class, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -89,15 +67,12 @@ public boolean getEnabled() { public static final int SECURITY_GROUP_FIELD_NUMBER = 2; private volatile java.lang.Object securityGroup_; /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The securityGroup. */ @java.lang.Override @@ -106,30 +81,30 @@ public java.lang.String getSecurityGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; } } /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The bytes for securityGroup. */ @java.lang.Override - public com.google.protobuf.ByteString getSecurityGroupBytes() { + public com.google.protobuf.ByteString + getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -138,7 +113,6 @@ public com.google.protobuf.ByteString getSecurityGroupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +124,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -167,7 +142,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, securityGroup_); @@ -180,16 +156,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AuthenticatorGroupsConfig)) { return super.equals(obj); } - com.google.container.v1beta1.AuthenticatorGroupsConfig other = - (com.google.container.v1beta1.AuthenticatorGroupsConfig) obj; + com.google.container.v1beta1.AuthenticatorGroupsConfig other = (com.google.container.v1beta1.AuthenticatorGroupsConfig) obj; - if (getEnabled() != other.getEnabled()) return false; - if (!getSecurityGroup().equals(other.getSecurityGroup())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getSecurityGroup() + .equals(other.getSecurityGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,7 +179,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + SECURITY_GROUP_FIELD_NUMBER; hash = (53 * hash) + getSecurityGroup().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -211,136 +189,129 @@ public int hashCode() { } public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( 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.AuthenticatorGroupsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.AuthenticatorGroupsConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.AuthenticatorGroupsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for returning group information from authenticators.
    * 
* * Protobuf type {@code google.container.v1beta1.AuthenticatorGroupsConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AuthenticatorGroupsConfig) com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AuthenticatorGroupsConfig.class, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1beta1.AuthenticatorGroupsConfig.class, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); } // Construct using com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override @@ -373,8 +344,7 @@ public com.google.container.v1beta1.AuthenticatorGroupsConfig build() { @java.lang.Override public com.google.container.v1beta1.AuthenticatorGroupsConfig buildPartial() { - com.google.container.v1beta1.AuthenticatorGroupsConfig result = - new com.google.container.v1beta1.AuthenticatorGroupsConfig(this); + com.google.container.v1beta1.AuthenticatorGroupsConfig result = new com.google.container.v1beta1.AuthenticatorGroupsConfig(this); result.enabled_ = enabled_; result.securityGroup_ = securityGroup_; onBuilt(); @@ -385,39 +355,38 @@ public com.google.container.v1beta1.AuthenticatorGroupsConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.AuthenticatorGroupsConfig) { - return mergeFrom((com.google.container.v1beta1.AuthenticatorGroupsConfig) other); + return mergeFrom((com.google.container.v1beta1.AuthenticatorGroupsConfig)other); } else { super.mergeFrom(other); return this; @@ -425,8 +394,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.AuthenticatorGroupsConfig other) { - if (other == com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -460,25 +428,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: - { - securityGroup_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: { + securityGroup_ = input.readStringRequireUtf8(); + + 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) { @@ -489,17 +454,14 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -507,38 +469,32 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -546,21 +502,19 @@ public Builder clearEnabled() { private java.lang.Object securityGroup_ = ""; /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @return The securityGroup. */ public java.lang.String getSecurityGroup() { java.lang.Object ref = securityGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; @@ -569,22 +523,21 @@ public java.lang.String getSecurityGroup() { } } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @return The bytes for securityGroup. */ - public com.google.protobuf.ByteString getSecurityGroupBytes() { + public com.google.protobuf.ByteString + getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -592,71 +545,64 @@ public com.google.protobuf.ByteString getSecurityGroupBytes() { } } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @param value The securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroup(java.lang.String value) { + public Builder setSecurityGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + securityGroup_ = value; onChanged(); return this; } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @return This builder for chaining. */ public Builder clearSecurityGroup() { - + securityGroup_ = getDefaultInstance().getSecurityGroup(); onChanged(); return this; } /** - * - * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; - * * @param value The bytes for securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroupBytes(com.google.protobuf.ByteString value) { + public Builder setSecurityGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + securityGroup_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -666,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AuthenticatorGroupsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AuthenticatorGroupsConfig) private static final com.google.container.v1beta1.AuthenticatorGroupsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AuthenticatorGroupsConfig(); } @@ -680,27 +626,27 @@ public static com.google.container.v1beta1.AuthenticatorGroupsConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthenticatorGroupsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthenticatorGroupsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -715,4 +661,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.AuthenticatorGroupsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java similarity index 57% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java index 99a8d7b9d144..25e2aca398de 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java @@ -1,66 +1,42 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AuthenticatorGroupsConfigOrBuilder - extends +public interface AuthenticatorGroupsConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AuthenticatorGroupsConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The securityGroup. */ java.lang.String getSecurityGroup(); /** - * - * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; - * * @return The bytes for securityGroup. */ - com.google.protobuf.ByteString getSecurityGroupBytes(); + com.google.protobuf.ByteString + getSecurityGroupBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java index bb44a0661ce2..e9eb4101038a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * AutoUpgradeOptions defines the set of options for the user to control how
  * the Auto Upgrades will proceed.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.AutoUpgradeOptions}
  */
-public final class AutoUpgradeOptions extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AutoUpgradeOptions extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.AutoUpgradeOptions)
     AutoUpgradeOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AutoUpgradeOptions.newBuilder() to construct.
   private AutoUpgradeOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AutoUpgradeOptions() {
     autoUpgradeStartTime_ = "";
     description_ = "";
@@ -45,35 +27,32 @@ private AutoUpgradeOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AutoUpgradeOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.AutoUpgradeOptions.class,
-            com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
+            com.google.container.v1beta1.AutoUpgradeOptions.class, com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_START_TIME_FIELD_NUMBER = 1;
   private volatile java.lang.Object autoUpgradeStartTime_;
   /**
-   *
-   *
    * 
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -81,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string auto_upgrade_start_time = 1; - * * @return The autoUpgradeStartTime. */ @java.lang.Override @@ -90,15 +68,14 @@ public java.lang.String getAutoUpgradeStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; } } /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -106,15 +83,16 @@ public java.lang.String getAutoUpgradeStartTime() {
    * 
* * string auto_upgrade_start_time = 1; - * * @return The bytes for autoUpgradeStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString + getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -125,15 +103,12 @@ public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -142,30 +117,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -174,7 +149,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,7 +160,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(autoUpgradeStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, autoUpgradeStartTime_); } @@ -216,16 +191,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AutoUpgradeOptions)) { return super.equals(obj); } - com.google.container.v1beta1.AutoUpgradeOptions other = - (com.google.container.v1beta1.AutoUpgradeOptions) obj; + com.google.container.v1beta1.AutoUpgradeOptions other = (com.google.container.v1beta1.AutoUpgradeOptions) obj; - if (!getAutoUpgradeStartTime().equals(other.getAutoUpgradeStartTime())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getAutoUpgradeStartTime() + .equals(other.getAutoUpgradeStartTime())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,104 +222,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoUpgradeOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( 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.AutoUpgradeOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.AutoUpgradeOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.AutoUpgradeOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.AutoUpgradeOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AutoUpgradeOptions defines the set of options for the user to control how
    * the Auto Upgrades will proceed.
@@ -351,32 +320,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.AutoUpgradeOptions}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AutoUpgradeOptions)
       com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.AutoUpgradeOptions.class,
-              com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
+              com.google.container.v1beta1.AutoUpgradeOptions.class, com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.AutoUpgradeOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +358,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
@@ -409,8 +379,7 @@ public com.google.container.v1beta1.AutoUpgradeOptions build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.AutoUpgradeOptions buildPartial() {
-      com.google.container.v1beta1.AutoUpgradeOptions result =
-          new com.google.container.v1beta1.AutoUpgradeOptions(this);
+      com.google.container.v1beta1.AutoUpgradeOptions result = new com.google.container.v1beta1.AutoUpgradeOptions(this);
       result.autoUpgradeStartTime_ = autoUpgradeStartTime_;
       result.description_ = description_;
       onBuilt();
@@ -421,39 +390,38 @@ public com.google.container.v1beta1.AutoUpgradeOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.AutoUpgradeOptions) {
-        return mergeFrom((com.google.container.v1beta1.AutoUpgradeOptions) other);
+        return mergeFrom((com.google.container.v1beta1.AutoUpgradeOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,8 +429,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.AutoUpgradeOptions other) {
-      if (other == com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance()) return this;
       if (!other.getAutoUpgradeStartTime().isEmpty()) {
         autoUpgradeStartTime_ = other.autoUpgradeStartTime_;
         onChanged();
@@ -497,25 +464,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                autoUpgradeStartTime_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              autoUpgradeStartTime_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -528,8 +492,6 @@ public Builder mergeFrom(
 
     private java.lang.Object autoUpgradeStartTime_ = "";
     /**
-     *
-     *
      * 
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -537,13 +499,13 @@ public Builder mergeFrom(
      * 
* * string auto_upgrade_start_time = 1; - * * @return The autoUpgradeStartTime. */ public java.lang.String getAutoUpgradeStartTime() { java.lang.Object ref = autoUpgradeStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; @@ -552,8 +514,6 @@ public java.lang.String getAutoUpgradeStartTime() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -561,14 +521,15 @@ public java.lang.String getAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; - * * @return The bytes for autoUpgradeStartTime. */ - public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString + getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -576,8 +537,6 @@ public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -585,22 +544,20 @@ public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() {
      * 
* * string auto_upgrade_start_time = 1; - * * @param value The autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTime(java.lang.String value) { + public Builder setAutoUpgradeStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + autoUpgradeStartTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -608,18 +565,15 @@ public Builder setAutoUpgradeStartTime(java.lang.String value) {
      * 
* * string auto_upgrade_start_time = 1; - * * @return This builder for chaining. */ public Builder clearAutoUpgradeStartTime() { - + autoUpgradeStartTime_ = getDefaultInstance().getAutoUpgradeStartTime(); onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -627,16 +581,16 @@ public Builder clearAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; - * * @param value The bytes for autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setAutoUpgradeStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + autoUpgradeStartTime_ = value; onChanged(); return this; @@ -644,21 +598,19 @@ public Builder setAutoUpgradeStartTimeBytes(com.google.protobuf.ByteString value private java.lang.Object description_ = ""; /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -667,22 +619,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -690,71 +641,64 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -764,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AutoUpgradeOptions) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AutoUpgradeOptions) private static final com.google.container.v1beta1.AutoUpgradeOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AutoUpgradeOptions(); } @@ -778,27 +722,27 @@ public static com.google.container.v1beta1.AutoUpgradeOptions getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoUpgradeOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoUpgradeOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AutoUpgradeOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java index 45248671b94b..7ce415728298 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AutoUpgradeOptionsOrBuilder - extends +public interface AutoUpgradeOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AutoUpgradeOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -33,13 +15,10 @@ public interface AutoUpgradeOptionsOrBuilder
    * 
* * string auto_upgrade_start_time = 1; - * * @return The autoUpgradeStartTime. */ java.lang.String getAutoUpgradeStartTime(); /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -47,35 +26,30 @@ public interface AutoUpgradeOptionsOrBuilder
    * 
* * string auto_upgrade_start_time = 1; - * * @return The bytes for autoUpgradeStartTime. */ - com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes(); + com.google.protobuf.ByteString + getAutoUpgradeStartTimeBytes(); /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java index bf3172a49bb4..0ea4cc7ba1c2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Autopilot is the configuration for Autopilot settings on the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.Autopilot} */ -public final class Autopilot extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Autopilot extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Autopilot) AutopilotOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Autopilot.newBuilder() to construct. private Autopilot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Autopilot() {} + private Autopilot() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Autopilot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Autopilot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Autopilot.class, - com.google.container.v1beta1.Autopilot.Builder.class); + com.google.container.v1beta1.Autopilot.class, com.google.container.v1beta1.Autopilot.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Enable Autopilot
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Autopilot)) { return super.equals(obj); } com.google.container.v1beta1.Autopilot other = (com.google.container.v1beta1.Autopilot) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.Autopilot parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Autopilot parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Autopilot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Autopilot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Autopilot parseFrom( 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.Autopilot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Autopilot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Autopilot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Autopilot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Autopilot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Autopilot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Autopilot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Autopilot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.Autopilot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Autopilot is the configuration for Autopilot settings on the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.Autopilot} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Autopilot) com.google.container.v1beta1.AutopilotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Autopilot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Autopilot.class, - com.google.container.v1beta1.Autopilot.Builder.class); + com.google.container.v1beta1.Autopilot.class, com.google.container.v1beta1.Autopilot.Builder.class); } // Construct using com.google.container.v1beta1.Autopilot.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Autopilot_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_descriptor; } @java.lang.Override @@ -306,8 +282,7 @@ public com.google.container.v1beta1.Autopilot build() { @java.lang.Override public com.google.container.v1beta1.Autopilot buildPartial() { - com.google.container.v1beta1.Autopilot result = - new com.google.container.v1beta1.Autopilot(this); + com.google.container.v1beta1.Autopilot result = new com.google.container.v1beta1.Autopilot(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -317,39 +292,38 @@ public com.google.container.v1beta1.Autopilot buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Autopilot) { - return mergeFrom((com.google.container.v1beta1.Autopilot) other); + return mergeFrom((com.google.container.v1beta1.Autopilot)other); } else { super.mergeFrom(other); return this; @@ -387,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -410,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Enable Autopilot
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -427,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enable Autopilot
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enable Autopilot
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -473,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Autopilot) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Autopilot) private static final com.google.container.v1beta1.Autopilot DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Autopilot(); } @@ -487,27 +450,27 @@ public static com.google.container.v1beta1.Autopilot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Autopilot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Autopilot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -522,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Autopilot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java new file mode 100644 index 000000000000..dd13e338bb6d --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface AutopilotOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Autopilot) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enable Autopilot
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java index 3c3fc5c2d7db..3da34e853fa3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
  * by NAP.
@@ -28,17 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.AutoprovisioningNodePoolDefaults}
  */
-public final class AutoprovisioningNodePoolDefaults extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AutoprovisioningNodePoolDefaults extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.AutoprovisioningNodePoolDefaults)
     AutoprovisioningNodePoolDefaultsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AutoprovisioningNodePoolDefaults.newBuilder() to construct.
-  private AutoprovisioningNodePoolDefaults(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AutoprovisioningNodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AutoprovisioningNodePoolDefaults() {
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     serviceAccount_ = "";
@@ -50,35 +31,32 @@ private AutoprovisioningNodePoolDefaults() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AutoprovisioningNodePoolDefaults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class,
-            com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
+            com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
   }
 
   public static final int OAUTH_SCOPES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList oauthScopes_;
   /**
-   *
-   *
    * 
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -95,15 +73,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string oauth_scopes = 1; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_; } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -120,15 +96,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
    * 
* * repeated string oauth_scopes = 1; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -145,7 +118,6 @@ public int getOauthScopesCount() {
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -153,8 +125,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -171,19 +141,17 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -191,7 +159,6 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
    * 
* * string service_account = 2; - * * @return The serviceAccount. */ @java.lang.Override @@ -200,15 +167,14 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -216,15 +182,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 2; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -235,14 +202,11 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 3; private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -250,25 +214,18 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -276,22 +233,18 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings( * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder - getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { return getUpgradeSettings(); } public static final int MANAGEMENT_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodeManagement management_; /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; - * * @return Whether the management field is set. */ @java.lang.Override @@ -299,25 +252,18 @@ public boolean hasManagement() { return management_ != null; } /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; - * * @return The management. */ @java.lang.Override public com.google.container.v1beta1.NodeManagement getManagement() { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -332,8 +278,6 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 5; private volatile java.lang.Object minCpuPlatform_; /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -350,27 +294,24 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @return The minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -387,18 +328,18 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @return The bytes for minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -409,8 +350,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 6; private int diskSizeGb_; /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -418,7 +357,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
    * 
* * int32 disk_size_gb = 6; - * * @return The diskSizeGb. */ @java.lang.Override @@ -429,8 +367,6 @@ public int getDiskSizeGb() { public static final int DISK_TYPE_FIELD_NUMBER = 7; private volatile java.lang.Object diskType_; /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -438,7 +374,6 @@ public int getDiskSizeGb() {
    * 
* * string disk_type = 7; - * * @return The diskType. */ @java.lang.Override @@ -447,15 +382,14 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -463,15 +397,16 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 7; - * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -482,14 +417,11 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 8; private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -497,25 +429,18 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null - ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } /** - * - * *
    * Shielded Instance options.
    * 
@@ -523,16 +448,13 @@ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceCo * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ @java.lang.Override - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 9; private volatile java.lang.Object bootDiskKmsKey_; /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -543,7 +465,6 @@ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceCo
    * 
* * string boot_disk_kms_key = 9; - * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -552,15 +473,14 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -571,15 +491,16 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 9; - * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -590,14 +511,11 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { public static final int IMAGE_TYPE_FIELD_NUMBER = 10; private volatile java.lang.Object imageType_; /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The imageType. */ @java.lang.Override @@ -606,29 +524,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -637,7 +555,6 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -649,7 +566,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oauthScopes_.getRaw(i)); } @@ -701,23 +619,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpgradeSettings()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getManagement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCpuPlatform_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, minCpuPlatform_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, diskSizeGb_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, diskType_); } if (shieldedInstanceConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(8, getShieldedInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getShieldedInstanceConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bootDiskKmsKey_); @@ -733,33 +654,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AutoprovisioningNodePoolDefaults)) { return super.equals(obj); } - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults other = - (com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) obj; + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults other = (com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) obj; - if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getOauthScopesList() + .equals(other.getOauthScopesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings() + .equals(other.getUpgradeSettings())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement().equals(other.getManagement())) return false; - } - if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; - if (getDiskSizeGb() != other.getDiskSizeGb()) return false; - if (!getDiskType().equals(other.getDiskType())) return false; + if (!getManagement() + .equals(other.getManagement())) return false; + } + if (!getMinCpuPlatform() + .equals(other.getMinCpuPlatform())) return false; + if (getDiskSizeGb() + != other.getDiskSizeGb()) return false; + if (!getDiskType() + .equals(other.getDiskType())) return false; if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig() + .equals(other.getShieldedInstanceConfig())) return false; } - if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; - if (!getImageType().equals(other.getImageType())) return false; + if (!getBootDiskKmsKey() + .equals(other.getBootDiskKmsKey())) return false; + if (!getImageType() + .equals(other.getImageType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -805,104 +735,96 @@ public int hashCode() { } public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( 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.AutoprovisioningNodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults prototype) { + public static Builder newBuilder(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
    * by NAP.
@@ -910,32 +832,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.AutoprovisioningNodePoolDefaults}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AutoprovisioningNodePoolDefaults)
       com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class,
-              com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
+              com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -975,14 +898,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
-    public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults
-        getDefaultInstanceForType() {
+    public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getDefaultInstanceForType() {
       return com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance();
     }
 
@@ -997,8 +919,7 @@ public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults buildPartial() {
-      com.google.container.v1beta1.AutoprovisioningNodePoolDefaults result =
-          new com.google.container.v1beta1.AutoprovisioningNodePoolDefaults(this);
+      com.google.container.v1beta1.AutoprovisioningNodePoolDefaults result = new com.google.container.v1beta1.AutoprovisioningNodePoolDefaults(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = oauthScopes_.getUnmodifiableView();
@@ -1034,39 +955,38 @@ public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) {
-        return mergeFrom((com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) other);
+        return mergeFrom((com.google.container.v1beta1.AutoprovisioningNodePoolDefaults)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1074,9 +994,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults other) {
-      if (other
-          == com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance()) return this;
       if (!other.oauthScopes_.isEmpty()) {
         if (oauthScopes_.isEmpty()) {
           oauthScopes_ = other.oauthScopes_;
@@ -1145,75 +1063,69 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureOauthScopesIsMutable();
-                oauthScopes_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                minCpuPlatform_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 48:
-              {
-                diskSizeGb_ = input.readInt32();
-
-                break;
-              } // case 48
-            case 58:
-              {
-                diskType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 82:
-              {
-                imageType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 82
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureOauthScopesIsMutable();
+              oauthScopes_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              serviceAccount_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getUpgradeSettingsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getManagementFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              minCpuPlatform_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 48: {
+              diskSizeGb_ = input.readInt32();
+
+              break;
+            } // case 48
+            case 58: {
+              diskType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 82: {
+              imageType_ = input.readStringRequireUtf8();
+
+              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) {
@@ -1223,21 +1135,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList oauthScopes_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureOauthScopesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1254,15 +1161,13 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 1; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1279,15 +1184,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
      * 
* * repeated string oauth_scopes = 1; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1304,7 +1206,6 @@ public int getOauthScopesCount() {
      * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -1312,8 +1213,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1330,16 +1229,14 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1356,23 +1253,21 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
      * 
* * repeated string oauth_scopes = 1; - * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes(int index, java.lang.String value) { + public Builder setOauthScopes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1389,22 +1284,20 @@ public Builder setOauthScopes(int index, java.lang.String value) {
      * 
* * repeated string oauth_scopes = 1; - * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes(java.lang.String value) { + public Builder addOauthScopes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1421,19 +1314,18 @@ public Builder addOauthScopes(java.lang.String value) {
      * 
* * repeated string oauth_scopes = 1; - * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes(java.lang.Iterable values) { + public Builder addAllOauthScopes( + java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oauthScopes_); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1450,7 +1342,6 @@ public Builder addAllOauthScopes(java.lang.Iterable values) {
      * 
* * repeated string oauth_scopes = 1; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -1460,8 +1351,6 @@ public Builder clearOauthScopes() { return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1478,15 +1367,15 @@ public Builder clearOauthScopes() {
      * 
* * repeated string oauth_scopes = 1; - * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -1495,8 +1384,6 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1504,13 +1391,13 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account = 2; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1519,8 +1406,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1528,14 +1413,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 2; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1543,8 +1429,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1552,22 +1436,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 2; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1575,18 +1457,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 2; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1594,16 +1473,16 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 2; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -1611,47 +1490,34 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> - upgradeSettingsBuilder_; + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return The upgradeSettings. */ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1672,8 +1538,6 @@ public Builder setUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeS return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1692,22 +1556,17 @@ public Builder setUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ - public Builder mergeUpgradeSettings( - com.google.container.v1beta1.NodePool.UpgradeSettings value) { + public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeSettings value) { if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); } else { upgradeSettings_ = value; } @@ -1719,8 +1578,6 @@ public Builder mergeUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1739,42 +1596,33 @@ public Builder clearUpgradeSettings() { return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ - public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder - getUpgradeSettingsBuilder() { - + public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder - getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? + com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1782,17 +1630,14 @@ public Builder clearUpgradeSettings() { * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), getParentForChildren(), isClean()); + upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), + getParentForChildren(), + isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -1800,47 +1645,34 @@ public Builder clearUpgradeSettings() { private com.google.container.v1beta1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder> - managementBuilder_; + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> managementBuilder_; /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 4; - * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 4; - * * @return The management. */ public com.google.container.v1beta1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } else { return managementBuilder_.getMessage(); } } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1861,8 +1693,6 @@ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1881,8 +1711,6 @@ public Builder setManagement( return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1893,9 +1721,7 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1beta1.NodeManagement.newBuilder(management_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); } else { management_ = value; } @@ -1907,8 +1733,6 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1927,8 +1751,6 @@ public Builder clearManagement() { return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1936,13 +1758,11 @@ public Builder clearManagement() { * .google.container.v1beta1.NodeManagement management = 4; */ public com.google.container.v1beta1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1953,14 +1773,11 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? + com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1968,17 +1785,14 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * .google.container.v1beta1.NodeManagement management = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder> + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder>( - getManagement(), getParentForChildren(), isClean()); + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); management_ = null; } return managementBuilder_; @@ -1986,8 +1800,6 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild private java.lang.Object minCpuPlatform_ = ""; /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -2004,16 +1816,15 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @return The minCpuPlatform. */ - @java.lang.Deprecated - public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -2022,8 +1833,6 @@ public java.lang.String getMinCpuPlatform() { } } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -2040,17 +1849,17 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -2058,8 +1867,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { } } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -2076,25 +1883,22 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMinCpuPlatform(java.lang.String value) { + @java.lang.Deprecated public Builder setMinCpuPlatform( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -2111,21 +1915,17 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMinCpuPlatform() { - + @java.lang.Deprecated public Builder clearMinCpuPlatform() { + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** - * - * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -2142,28 +1942,25 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setMinCpuPlatformBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; } - private int diskSizeGb_; + private int diskSizeGb_ ; /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -2171,7 +1968,6 @@ public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 disk_size_gb = 6; - * * @return The diskSizeGb. */ @java.lang.Override @@ -2179,8 +1975,6 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -2188,19 +1982,16 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 6; - * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -2208,11 +1999,10 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 6; - * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; @@ -2220,8 +2010,6 @@ public Builder clearDiskSizeGb() { private java.lang.Object diskType_ = ""; /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2229,13 +2017,13 @@ public Builder clearDiskSizeGb() {
      * 
* * string disk_type = 7; - * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -2244,8 +2032,6 @@ public java.lang.String getDiskType() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2253,14 +2039,15 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 7; - * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -2268,8 +2055,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2277,22 +2062,20 @@ public com.google.protobuf.ByteString getDiskTypeBytes() {
      * 
* * string disk_type = 7; - * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType(java.lang.String value) { + public Builder setDiskType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2300,18 +2083,15 @@ public Builder setDiskType(java.lang.String value) {
      * 
* * string disk_type = 7; - * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2319,16 +2099,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 7; - * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -2336,55 +2116,41 @@ public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder, - com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> - shieldedInstanceConfigBuilder_; + com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_; /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return The shieldedInstanceConfig. */ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null - ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public Builder setShieldedInstanceConfig( - com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder setShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2398,8 +2164,6 @@ public Builder setShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -2418,23 +2182,17 @@ public Builder setShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public Builder mergeShieldedInstanceConfig( - com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder( - shieldedInstanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -2446,8 +2204,6 @@ public Builder mergeShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -2466,42 +2222,33 @@ public Builder clearShieldedInstanceConfig() { return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1beta1.ShieldedInstanceConfig.Builder - getShieldedInstanceConfigBuilder() { - + public com.google.container.v1beta1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null - ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? + com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } } /** - * - * *
      * Shielded Instance options.
      * 
@@ -2509,17 +2256,14 @@ public Builder clearShieldedInstanceConfig() { * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder, - com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder, - com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), getParentForChildren(), isClean()); + shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), + getParentForChildren(), + isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -2527,8 +2271,6 @@ public Builder clearShieldedInstanceConfig() { private java.lang.Object bootDiskKmsKey_ = ""; /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2539,13 +2281,13 @@ public Builder clearShieldedInstanceConfig() {
      * 
* * string boot_disk_kms_key = 9; - * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -2554,8 +2296,6 @@ public java.lang.String getBootDiskKmsKey() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2566,14 +2306,15 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; - * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -2581,8 +2322,6 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2593,22 +2332,20 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() {
      * 
* * string boot_disk_kms_key = 9; - * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey(java.lang.String value) { + public Builder setBootDiskKmsKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2619,18 +2356,15 @@ public Builder setBootDiskKmsKey(java.lang.String value) {
      * 
* * string boot_disk_kms_key = 9; - * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2641,16 +2375,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; - * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -2658,20 +2392,18 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageType_ = ""; /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2680,21 +2412,20 @@ public java.lang.String getImageType() { } } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -2702,68 +2433,61 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** - * - * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2773,13 +2497,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AutoprovisioningNodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AutoprovisioningNodePoolDefaults) - private static final com.google.container.v1beta1.AutoprovisioningNodePoolDefaults - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.AutoprovisioningNodePoolDefaults DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AutoprovisioningNodePoolDefaults(); } @@ -2788,27 +2511,27 @@ public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoprovisioningNodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoprovisioningNodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2823,4 +2546,6 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java similarity index 86% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java index bbd70f6724dd..13fa190a4b6e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AutoprovisioningNodePoolDefaultsOrBuilder - extends +public interface AutoprovisioningNodePoolDefaultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AutoprovisioningNodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -42,13 +24,11 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * repeated string oauth_scopes = 1; - * * @return A list containing the oauthScopes. */ - java.util.List getOauthScopesList(); + java.util.List + getOauthScopesList(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -65,13 +45,10 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * repeated string oauth_scopes = 1; - * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -88,14 +65,11 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -112,15 +86,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * repeated string oauth_scopes = 1; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString getOauthScopesBytes(int index); + com.google.protobuf.ByteString + getOauthScopesBytes(int index); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -128,13 +100,10 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string service_account = 2; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -142,38 +111,30 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string service_account = 2; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; - * * @return The upgradeSettings. */ com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -183,32 +144,24 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; - * * @return Whether the management field is set. */ boolean hasManagement(); /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; - * * @return The management. */ com.google.container.v1beta1.NodeManagement getManagement(); /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -218,8 +171,6 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder(); /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -236,16 +187,12 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @return The minCpuPlatform. */ - @java.lang.Deprecated - java.lang.String getMinCpuPlatform(); + @java.lang.Deprecated java.lang.String getMinCpuPlatform(); /** - * - * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -262,17 +209,14 @@ 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=3917 + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3922 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getMinCpuPlatformBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getMinCpuPlatformBytes(); /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -280,14 +224,11 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * int32 disk_size_gb = 6; - * * @return The diskSizeGb. */ int getDiskSizeGb(); /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -295,13 +236,10 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string disk_type = 7; - * * @return The diskType. */ java.lang.String getDiskType(); /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -309,38 +247,30 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string disk_type = 7; - * * @return The bytes for diskType. */ - com.google.protobuf.ByteString getDiskTypeBytes(); + com.google.protobuf.ByteString + getDiskTypeBytes(); /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; - * * @return The shieldedInstanceConfig. */ com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
@@ -350,8 +280,6 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -362,13 +290,10 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string boot_disk_kms_key = 9; - * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -379,33 +304,28 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
    * 
* * string boot_disk_kms_key = 9; - * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString + getBootDiskKmsKeyBytes(); /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java index e80310d01679..abb7365d74b1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for Binary Authorization.
  * 
* * Protobuf type {@code google.container.v1beta1.BinaryAuthorization} */ -public final class BinaryAuthorization extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BinaryAuthorization extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.BinaryAuthorization) BinaryAuthorizationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BinaryAuthorization.newBuilder() to construct. private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BinaryAuthorization() { evaluationMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BinaryAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BinaryAuthorization.class, - com.google.container.v1beta1.BinaryAuthorization.Builder.class); + com.google.container.v1beta1.BinaryAuthorization.class, com.google.container.v1beta1.BinaryAuthorization.Builder.class); } /** - * - * *
    * Binary Authorization mode of operation.
    * 
* * Protobuf enum {@code google.container.v1beta1.BinaryAuthorization.EvaluationMode} */ - public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value
      * 
@@ -88,8 +66,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ EVALUATION_MODE_UNSPECIFIED(0), /** - * - * *
      * Disable BinaryAuthorization
      * 
@@ -98,8 +74,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ DISABLED(1), /** - * - * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -113,8 +87,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value
      * 
@@ -123,8 +95,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Disable BinaryAuthorization
      * 
@@ -133,8 +103,6 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 1; /** - * - * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -145,6 +113,7 @@ public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -169,49 +138,49 @@ public static EvaluationMode valueOf(int value) {
      */
     public static EvaluationMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return EVALUATION_MODE_UNSPECIFIED;
-        case 1:
-          return DISABLED;
-        case 2:
-          return PROJECT_SINGLETON_POLICY_ENFORCE;
-        default:
-          return null;
+        case 0: return EVALUATION_MODE_UNSPECIFIED;
+        case 1: return DISABLED;
+        case 2: return PROJECT_SINGLETON_POLICY_ENFORCE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EvaluationMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EvaluationMode findValueByNumber(int number) {
+              return EvaluationMode.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EvaluationMode findValueByNumber(int number) {
-            return EvaluationMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EvaluationMode[] VALUES = values();
 
-    public static EvaluationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EvaluationMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -231,8 +200,6 @@ private EvaluationMode(int value) {
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -240,61 +207,45 @@ private EvaluationMode(int value) {
    * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1478 + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1481 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getEnabled() { + @java.lang.Deprecated public boolean getEnabled() { return enabled_; } public static final int EVALUATION_MODE_FIELD_NUMBER = 2; private int evaluationMode_; /** - * - * *
-   * Mode of operation for binauthz policy evaluation. Currently the only
-   * options are equivalent to enable/disable. If unspecified, defaults to
-   * DISABLED.
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
-   * Mode of operation for binauthz policy evaluation. Currently the only
-   * options are equivalent to enable/disable. If unspecified, defaults to
-   * DISABLED.
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The evaluationMode. */ - @java.lang.Override - public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = - com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null - ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -306,14 +257,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } - if (evaluationMode_ - != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode - .EVALUATION_MODE_UNSPECIFIED - .getNumber()) { + if (evaluationMode_ != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, evaluationMode_); } getUnknownFields().writeTo(output); @@ -326,13 +275,12 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } - if (evaluationMode_ - != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode - .EVALUATION_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, evaluationMode_); + if (evaluationMode_ != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, evaluationMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -342,15 +290,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.BinaryAuthorization)) { return super.equals(obj); } - com.google.container.v1beta1.BinaryAuthorization other = - (com.google.container.v1beta1.BinaryAuthorization) obj; + com.google.container.v1beta1.BinaryAuthorization other = (com.google.container.v1beta1.BinaryAuthorization) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (evaluationMode_ != other.evaluationMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -364,7 +312,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + EVALUATION_MODE_FIELD_NUMBER; hash = (53 * hash) + evaluationMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -372,136 +321,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.BinaryAuthorization parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.BinaryAuthorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.BinaryAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * Protobuf type {@code google.container.v1beta1.BinaryAuthorization} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BinaryAuthorization) com.google.container.v1beta1.BinaryAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BinaryAuthorization.class, - com.google.container.v1beta1.BinaryAuthorization.Builder.class); + com.google.container.v1beta1.BinaryAuthorization.class, com.google.container.v1beta1.BinaryAuthorization.Builder.class); } // Construct using com.google.container.v1beta1.BinaryAuthorization.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -513,9 +456,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; } @java.lang.Override @@ -534,8 +477,7 @@ public com.google.container.v1beta1.BinaryAuthorization build() { @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization buildPartial() { - com.google.container.v1beta1.BinaryAuthorization result = - new com.google.container.v1beta1.BinaryAuthorization(this); + com.google.container.v1beta1.BinaryAuthorization result = new com.google.container.v1beta1.BinaryAuthorization(this); result.enabled_ = enabled_; result.evaluationMode_ = evaluationMode_; onBuilt(); @@ -546,39 +488,38 @@ public com.google.container.v1beta1.BinaryAuthorization buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.BinaryAuthorization) { - return mergeFrom((com.google.container.v1beta1.BinaryAuthorization) other); + return mergeFrom((com.google.container.v1beta1.BinaryAuthorization)other); } else { super.mergeFrom(other); return this; @@ -586,8 +527,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.BinaryAuthorization other) { - if (other == com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -620,25 +560,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - case 16: - { - evaluationMode_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + case 16: { + evaluationMode_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -649,10 +586,8 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -660,19 +595,15 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1478 + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1481 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getEnabled() { + @java.lang.Deprecated public boolean getEnabled() { return enabled_; } /** - * - * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -680,22 +611,18 @@ public boolean getEnabled() {
      * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1478 + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1481 * @param value The enabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setEnabled(boolean value) { - + @java.lang.Deprecated public Builder setEnabled(boolean value) { + enabled_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -703,14 +630,12 @@ 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=1478 + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1481 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearEnabled() { - + @java.lang.Deprecated public Builder clearEnabled() { + enabled_ = false; onChanged(); return this; @@ -718,115 +643,85 @@ public Builder clearEnabled() { private int evaluationMode_ = 0; /** - * - * *
-     * Mode of operation for binauthz policy evaluation. Currently the only
-     * options are equivalent to enable/disable. If unspecified, defaults to
-     * DISABLED.
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * - * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override - public int getEvaluationModeValue() { + @java.lang.Override public int getEvaluationModeValue() { return evaluationMode_; } /** - * - * *
-     * Mode of operation for binauthz policy evaluation. Currently the only
-     * options are equivalent to enable/disable. If unspecified, defaults to
-     * DISABLED.
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * - * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ public Builder setEvaluationModeValue(int value) { - + evaluationMode_ = value; onChanged(); return this; } /** - * - * *
-     * Mode of operation for binauthz policy evaluation. Currently the only
-     * options are equivalent to enable/disable. If unspecified, defaults to
-     * DISABLED.
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * - * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; * @return The evaluationMode. */ @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = - com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null - ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; } /** - * - * *
-     * Mode of operation for binauthz policy evaluation. Currently the only
-     * options are equivalent to enable/disable. If unspecified, defaults to
-     * DISABLED.
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * - * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode( - com.google.container.v1beta1.BinaryAuthorization.EvaluationMode value) { + public Builder setEvaluationMode(com.google.container.v1beta1.BinaryAuthorization.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } - + evaluationMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
-     * Mode of operation for binauthz policy evaluation. Currently the only
-     * options are equivalent to enable/disable. If unspecified, defaults to
-     * DISABLED.
+     * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+     * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * - * + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; * @return This builder for chaining. */ public Builder clearEvaluationMode() { - + evaluationMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -836,12 +731,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.BinaryAuthorization) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.BinaryAuthorization) private static final com.google.container.v1beta1.BinaryAuthorization DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.BinaryAuthorization(); } @@ -850,27 +745,27 @@ public static com.google.container.v1beta1.BinaryAuthorization getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BinaryAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BinaryAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,4 +780,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.BinaryAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java index f47d67a19eb6..9d7109d9d3cf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface BinaryAuthorizationOrBuilder - extends +public interface BinaryAuthorizationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BinaryAuthorization) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -33,39 +15,29 @@ public interface BinaryAuthorizationOrBuilder
    * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1478 + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1481 * @return The enabled. */ - @java.lang.Deprecated - boolean getEnabled(); + @java.lang.Deprecated boolean getEnabled(); /** - * - * *
-   * Mode of operation for binauthz policy evaluation. Currently the only
-   * options are equivalent to enable/disable. If unspecified, defaults to
-   * DISABLED.
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** - * - * *
-   * Mode of operation for binauthz policy evaluation. Currently the only
-   * options are equivalent to enable/disable. If unspecified, defaults to
-   * DISABLED.
+   * Mode of operation for binauthz policy evaluation. If unspecified, defaults
+   * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; - * * @return The evaluationMode. */ com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java index f4cd73bc2033..43368e975a1d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java @@ -1,154 +1,115 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Settings for blue-green upgrade.
  * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings} */ -public final class BlueGreenSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BlueGreenSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.BlueGreenSettings) BlueGreenSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BlueGreenSettings.newBuilder() to construct. private BlueGreenSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private BlueGreenSettings() {} + private BlueGreenSettings() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BlueGreenSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.class, - com.google.container.v1beta1.BlueGreenSettings.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.class, com.google.container.v1beta1.BlueGreenSettings.Builder.class); } - public interface StandardRolloutPolicyOrBuilder - extends + public interface StandardRolloutPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return Whether the batchPercentage field is set. */ boolean hasBatchPercentage(); /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return The batchPercentage. */ float getBatchPercentage(); /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return Whether the batchNodeCount field is set. */ boolean hasBatchNodeCount(); /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return The batchNodeCount. */ int getBatchNodeCount(); /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return Whether the batchSoakDuration field is set. */ boolean hasBatchSoakDuration(); /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return The batchSoakDuration. */ com.google.protobuf.Duration getBatchSoakDuration(); /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -157,69 +118,62 @@ public interface StandardRolloutPolicyOrBuilder */ com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder(); - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase - getUpdateBatchSizeCase(); + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase getUpdateBatchSizeCase(); } /** - * - * *
    * Standard rollout policy is the default policy for blue-green.
    * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class StandardRolloutPolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class StandardRolloutPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) StandardRolloutPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StandardRolloutPolicy.newBuilder() to construct. private StandardRolloutPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private StandardRolloutPolicy() {} + private StandardRolloutPolicy() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StandardRolloutPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } private int bitField0_; private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; - public enum UpdateBatchSizeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_PERCENTAGE(1), BATCH_NODE_COUNT(2), UPDATEBATCHSIZE_NOT_SET(0); private final int value; - private UpdateBatchSizeCase(int value) { this.value = value; } @@ -235,37 +189,31 @@ public static UpdateBatchSizeCase valueOf(int value) { public static UpdateBatchSizeCase forNumber(int value) { switch (value) { - case 1: - return BATCH_PERCENTAGE; - case 2: - return BATCH_NODE_COUNT; - case 0: - return UPDATEBATCHSIZE_NOT_SET; - default: - return null; + case 1: return BATCH_PERCENTAGE; + case 2: return BATCH_NODE_COUNT; + case 0: return UPDATEBATCHSIZE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public UpdateBatchSizeCase getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + public UpdateBatchSizeCase + getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber( + updateBatchSizeCase_); } public static final int BATCH_PERCENTAGE_FIELD_NUMBER = 1; /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return Whether the batchPercentage field is set. */ @java.lang.Override @@ -273,15 +221,12 @@ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** - * - * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; - * * @return The batchPercentage. */ @java.lang.Override @@ -294,14 +239,11 @@ public float getBatchPercentage() { public static final int BATCH_NODE_COUNT_FIELD_NUMBER = 2; /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return Whether the batchNodeCount field is set. */ @java.lang.Override @@ -309,14 +251,11 @@ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** - * - * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; - * * @return The batchNodeCount. */ @java.lang.Override @@ -330,14 +269,11 @@ public int getBatchNodeCount() { public static final int BATCH_SOAK_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration batchSoakDuration_; /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return Whether the batchSoakDuration field is set. */ @java.lang.Override @@ -345,25 +281,18 @@ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return The batchSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getBatchSoakDuration() { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } /** - * - * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -372,13 +301,10 @@ public com.google.protobuf.Duration getBatchSoakDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,12 +316,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateBatchSizeCase_ == 1) { - output.writeFloat(1, (float) ((java.lang.Float) updateBatchSize_)); + output.writeFloat( + 1, (float)((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - output.writeInt32(2, (int) ((java.lang.Integer) updateBatchSize_)); + output.writeInt32( + 2, (int)((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBatchSoakDuration()); @@ -410,17 +339,18 @@ public int getSerializedSize() { size = 0; if (updateBatchSizeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeFloatSize( - 1, (float) ((java.lang.Float) updateBatchSize_)); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize( + 1, (float)((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 2, (int) ((java.lang.Integer) updateBatchSize_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 2, (int)((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBatchSoakDuration()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBatchSoakDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -430,26 +360,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other = - (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) obj; + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other = (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) obj; if (hasBatchSoakDuration() != other.hasBatchSoakDuration()) return false; if (hasBatchSoakDuration()) { - if (!getBatchSoakDuration().equals(other.getBatchSoakDuration())) return false; + if (!getBatchSoakDuration() + .equals(other.getBatchSoakDuration())) return false; } if (!getUpdateBatchSizeCase().equals(other.getUpdateBatchSizeCase())) return false; switch (updateBatchSizeCase_) { case 1: if (java.lang.Float.floatToIntBits(getBatchPercentage()) - != java.lang.Float.floatToIntBits(other.getBatchPercentage())) return false; + != java.lang.Float.floatToIntBits( + other.getBatchPercentage())) return false; break; case 2: - if (getBatchNodeCount() != other.getBatchNodeCount()) return false; + if (getBatchNodeCount() + != other.getBatchNodeCount()) return false; break; case 0: default: @@ -472,7 +404,8 @@ public int hashCode() { switch (updateBatchSizeCase_) { case 1: hash = (37 * hash) + BATCH_PERCENTAGE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getBatchPercentage()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getBatchPercentage()); break; case 2: hash = (37 * hash) + BATCH_NODE_COUNT_FIELD_NUMBER; @@ -487,95 +420,87 @@ public int hashCode() { } public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - 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.BlueGreenSettings.StandardRolloutPolicy 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy prototype) { + public static Builder newBuilder(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -585,51 +510,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Standard rollout policy is the default policy for blue-green.
      * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } - // Construct using - // com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() + // Construct using com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getBatchSoakDurationFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -645,22 +564,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - getDefaultInstanceForType() { - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance(); + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy build() { - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = - buildPartial(); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -669,8 +585,7 @@ public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy buil @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy buildPartial() { - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = - new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(this); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (updateBatchSizeCase_ == 1) { @@ -697,71 +612,61 @@ public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.BlueGreenSettings.StandardRolloutPolicy) { - return mergeFrom( - (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) other); + return mergeFrom((com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other) { - if (other - == com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other) { + if (other == com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) return this; if (other.hasBatchSoakDuration()) { mergeBatchSoakDuration(other.getBatchSoakDuration()); } switch (other.getUpdateBatchSizeCase()) { - case BATCH_PERCENTAGE: - { - setBatchPercentage(other.getBatchPercentage()); - break; - } - case BATCH_NODE_COUNT: - { - setBatchNodeCount(other.getBatchNodeCount()); - break; - } - case UPDATEBATCHSIZE_NOT_SET: - { - break; - } + case BATCH_PERCENTAGE: { + setBatchPercentage(other.getBatchPercentage()); + break; + } + case BATCH_NODE_COUNT: { + setBatchNodeCount(other.getBatchNodeCount()); + break; + } + case UPDATEBATCHSIZE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -789,32 +694,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: - { - updateBatchSize_ = input.readFloat(); - updateBatchSizeCase_ = 1; - break; - } // case 13 - case 16: - { - updateBatchSize_ = input.readInt32(); - updateBatchSizeCase_ = 2; - break; - } // case 16 - case 26: - { - input.readMessage( - getBatchSoakDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: { + updateBatchSize_ = input.readFloat(); + updateBatchSizeCase_ = 1; + break; + } // case 13 + case 16: { + updateBatchSize_ = input.readInt32(); + updateBatchSizeCase_ = 2; + break; + } // case 16 + case 26: { + input.readMessage( + getBatchSoakDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -824,12 +726,12 @@ public Builder mergeFrom( } // finally return this; } - private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; - - public UpdateBatchSizeCase getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); + public UpdateBatchSizeCase + getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber( + updateBatchSizeCase_); } public Builder clearUpdateBatchSize() { @@ -842,30 +744,24 @@ public Builder clearUpdateBatchSize() { private int bitField0_; /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @return Whether the batchPercentage field is set. */ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @return The batchPercentage. */ public float getBatchPercentage() { @@ -875,15 +771,12 @@ public float getBatchPercentage() { return 0F; } /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @param value The batchPercentage to set. * @return This builder for chaining. */ @@ -894,15 +787,12 @@ public Builder setBatchPercentage(float value) { return this; } /** - * - * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; - * * @return This builder for chaining. */ public Builder clearBatchPercentage() { @@ -915,28 +805,22 @@ public Builder clearBatchPercentage() { } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @return Whether the batchNodeCount field is set. */ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @return The batchNodeCount. */ public int getBatchNodeCount() { @@ -946,14 +830,11 @@ public int getBatchNodeCount() { return 0; } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @param value The batchNodeCount to set. * @return This builder for chaining. */ @@ -964,14 +845,11 @@ public Builder setBatchNodeCount(int value) { return this; } /** - * - * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; - * * @return This builder for chaining. */ public Builder clearBatchNodeCount() { @@ -985,47 +863,34 @@ public Builder clearBatchNodeCount() { private com.google.protobuf.Duration batchSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - batchSoakDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> batchSoakDurationBuilder_; /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return Whether the batchSoakDuration field is set. */ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; - * * @return The batchSoakDuration. */ public com.google.protobuf.Duration getBatchSoakDuration() { if (batchSoakDurationBuilder_ == null) { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } else { return batchSoakDurationBuilder_.getMessage(); } } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1046,15 +911,14 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; */ - public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setBatchSoakDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (batchSoakDurationBuilder_ == null) { batchSoakDuration_ = builderForValue.build(); onChanged(); @@ -1065,8 +929,6 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builder return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1075,13 +937,11 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builder */ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { if (batchSoakDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && batchSoakDuration_ != null - && batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + batchSoakDuration_ != null && + batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { batchSoakDuration_ = - com.google.protobuf.Duration.newBuilder(batchSoakDuration_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(batchSoakDuration_).mergeFrom(value).buildPartial(); } else { batchSoakDuration_ = value; } @@ -1093,8 +953,6 @@ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1112,8 +970,6 @@ public Builder clearBatchSoakDuration() { return this; } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1126,8 +982,6 @@ public com.google.protobuf.Duration.Builder getBatchSoakDurationBuilder() { return getBatchSoakDurationFieldBuilder().getBuilder(); } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1138,14 +992,11 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { if (batchSoakDurationBuilder_ != null) { return batchSoakDurationBuilder_.getMessageOrBuilder(); } else { - return batchSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : batchSoakDuration_; + return batchSoakDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; } } /** - * - * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1153,22 +1004,18 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { * optional .google.protobuf.Duration batch_soak_duration = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getBatchSoakDurationFieldBuilder() { if (batchSoakDurationBuilder_ == null) { - batchSoakDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getBatchSoakDuration(), getParentForChildren(), isClean()); + batchSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getBatchSoakDuration(), + getParentForChildren(), + isClean()); batchSoakDuration_ = null; } return batchSoakDurationBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1181,44 +1028,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) - private static final com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - getDefaultInstance() { + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StandardRolloutPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardRolloutPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1230,24 +1074,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - getDefaultInstanceForType() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; - public enum RolloutPolicyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STANDARD_ROLLOUT_POLICY(1), ROLLOUTPOLICY_NOT_SET(0); private final int value; - private RolloutPolicyCase(int value) { this.value = value; } @@ -1263,36 +1104,29 @@ public static RolloutPolicyCase valueOf(int value) { public static RolloutPolicyCase forNumber(int value) { switch (value) { - case 1: - return STANDARD_ROLLOUT_POLICY; - case 0: - return ROLLOUTPOLICY_NOT_SET; - default: - return null; + case 1: return STANDARD_ROLLOUT_POLICY; + case 0: return ROLLOUTPOLICY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RolloutPolicyCase getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + public RolloutPolicyCase + getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber( + rolloutPolicyCase_); } public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER = 1; /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1300,60 +1134,44 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - getStandardRolloutPolicy() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder - getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration nodePoolSoakDuration_; /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return Whether the nodePoolSoakDuration field is set. */ @java.lang.Override @@ -1361,26 +1179,19 @@ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return The nodePoolSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getNodePoolSoakDuration() { - return nodePoolSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; } /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
@@ -1390,13 +1201,10 @@ public com.google.protobuf.Duration getNodePoolSoakDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() {
-    return nodePoolSoakDuration_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : nodePoolSoakDuration_;
+    return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1408,10 +1216,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (rolloutPolicyCase_ == 1) {
-      output.writeMessage(
-          1, (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
+      output.writeMessage(1, (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getNodePoolSoakDuration());
@@ -1426,15 +1234,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (rolloutPolicyCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1,
-              (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy)
-                  rolloutPolicy_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNodePoolSoakDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getNodePoolSoakDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1444,22 +1249,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.BlueGreenSettings)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.BlueGreenSettings other =
-        (com.google.container.v1beta1.BlueGreenSettings) obj;
+    com.google.container.v1beta1.BlueGreenSettings other = (com.google.container.v1beta1.BlueGreenSettings) obj;
 
     if (hasNodePoolSoakDuration() != other.hasNodePoolSoakDuration()) return false;
     if (hasNodePoolSoakDuration()) {
-      if (!getNodePoolSoakDuration().equals(other.getNodePoolSoakDuration())) return false;
+      if (!getNodePoolSoakDuration()
+          .equals(other.getNodePoolSoakDuration())) return false;
     }
     if (!getRolloutPolicyCase().equals(other.getRolloutPolicyCase())) return false;
     switch (rolloutPolicyCase_) {
       case 1:
-        if (!getStandardRolloutPolicy().equals(other.getStandardRolloutPolicy())) return false;
+        if (!getStandardRolloutPolicy()
+            .equals(other.getStandardRolloutPolicy())) return false;
         break;
       case 0:
       default:
@@ -1492,127 +1298,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.BlueGreenSettings parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.BlueGreenSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
       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.BlueGreenSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.BlueGreenSettings parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.BlueGreenSettings parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.BlueGreenSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Settings for blue-green upgrade.
    * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BlueGreenSettings) com.google.container.v1beta1.BlueGreenSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.class, - com.google.container.v1beta1.BlueGreenSettings.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.class, com.google.container.v1beta1.BlueGreenSettings.Builder.class); } // Construct using com.google.container.v1beta1.BlueGreenSettings.newBuilder() @@ -1620,17 +1417,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNodePoolSoakDurationFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1649,9 +1446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; } @java.lang.Override @@ -1670,8 +1467,7 @@ public com.google.container.v1beta1.BlueGreenSettings build() { @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings buildPartial() { - com.google.container.v1beta1.BlueGreenSettings result = - new com.google.container.v1beta1.BlueGreenSettings(this); + com.google.container.v1beta1.BlueGreenSettings result = new com.google.container.v1beta1.BlueGreenSettings(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (rolloutPolicyCase_ == 1) { @@ -1699,39 +1495,38 @@ public com.google.container.v1beta1.BlueGreenSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.BlueGreenSettings) { - return mergeFrom((com.google.container.v1beta1.BlueGreenSettings) other); + return mergeFrom((com.google.container.v1beta1.BlueGreenSettings)other); } else { super.mergeFrom(other); return this; @@ -1744,15 +1539,13 @@ public Builder mergeFrom(com.google.container.v1beta1.BlueGreenSettings other) { mergeNodePoolSoakDuration(other.getNodePoolSoakDuration()); } switch (other.getRolloutPolicyCase()) { - case STANDARD_ROLLOUT_POLICY: - { - mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); - break; - } - case ROLLOUTPOLICY_NOT_SET: - { - break; - } + case STANDARD_ROLLOUT_POLICY: { + mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); + break; + } + case ROLLOUTPOLICY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1780,27 +1573,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getStandardRolloutPolicyFieldBuilder().getBuilder(), extensionRegistry); - rolloutPolicyCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getNodePoolSoakDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStandardRolloutPolicyFieldBuilder().getBuilder(), + extensionRegistry); + rolloutPolicyCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getNodePoolSoakDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1810,12 +1602,12 @@ public Builder mergeFrom( } // finally return this; } - private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; - - public RolloutPolicyCase getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber(rolloutPolicyCase_); + public RolloutPolicyCase + getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber( + rolloutPolicyCase_); } public Builder clearRolloutPolicy() { @@ -1828,21 +1620,13 @@ public Builder clearRolloutPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> - standardRolloutPolicyBuilder_; + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> standardRolloutPolicyBuilder_; /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1850,49 +1634,35 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - getStandardRolloutPolicy() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) - rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } else { if (rolloutPolicyCase_ == 1) { return standardRolloutPolicyBuilder_.getMessage(); } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - public Builder setStandardRolloutPolicy( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder setStandardRolloutPolicy(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1906,19 +1676,14 @@ public Builder setStandardRolloutPolicy( return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ public Builder setStandardRolloutPolicy( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder - builderForValue) { + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder builderForValue) { if (standardRolloutPolicyBuilder_ == null) { rolloutPolicy_ = builderForValue.build(); onChanged(); @@ -1929,29 +1694,18 @@ public Builder setStandardRolloutPolicy( return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - public Builder mergeStandardRolloutPolicy( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder mergeStandardRolloutPolicy(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { - if (rolloutPolicyCase_ == 1 - && rolloutPolicy_ - != com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance()) { - rolloutPolicy_ = - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder( - (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) - rolloutPolicy_) - .mergeFrom(value) - .buildPartial(); + if (rolloutPolicyCase_ == 1 && + rolloutPolicy_ != com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) { + rolloutPolicy_ = com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder((com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_) + .mergeFrom(value).buildPartial(); } else { rolloutPolicy_ = value; } @@ -1967,15 +1721,11 @@ public Builder mergeStandardRolloutPolicy( return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ public Builder clearStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { @@ -1994,129 +1744,91 @@ public Builder clearStandardRolloutPolicy() { return this; } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder - getStandardRolloutPolicyBuilder() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder() { return getStandardRolloutPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder - getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { if ((rolloutPolicyCase_ == 1) && (standardRolloutPolicyBuilder_ != null)) { return standardRolloutPolicyBuilder_.getMessageOrBuilder(); } else { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) - rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } } /** - * - * *
      * Standard policy for the blue-green upgrade.
      * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> getStandardRolloutPolicyFieldBuilder() { if (standardRolloutPolicyBuilder_ == null) { if (!(rolloutPolicyCase_ == 1)) { - rolloutPolicy_ = - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy - .getDefaultInstance(); + rolloutPolicy_ = com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } - standardRolloutPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( - (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) - rolloutPolicy_, + standardRolloutPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_, getParentForChildren(), isClean()); rolloutPolicy_ = null; } rolloutPolicyCase_ = 1; - onChanged(); - ; + onChanged();; return standardRolloutPolicyBuilder_; } private com.google.protobuf.Duration nodePoolSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - nodePoolSoakDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> nodePoolSoakDurationBuilder_; /** - * - * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return Whether the nodePoolSoakDuration field is set. */ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return The nodePoolSoakDuration. */ public com.google.protobuf.Duration getNodePoolSoakDuration() { if (nodePoolSoakDurationBuilder_ == null) { - return nodePoolSoakDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; } else { return nodePoolSoakDurationBuilder_.getMessage(); } } /** - * - * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2138,8 +1850,6 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2147,7 +1857,8 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
      *
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
-    public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setNodePoolSoakDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (nodePoolSoakDurationBuilder_ == null) {
         nodePoolSoakDuration_ = builderForValue.build();
         onChanged();
@@ -2158,8 +1869,6 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2169,13 +1878,11 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder buil
      */
     public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       if (nodePoolSoakDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && nodePoolSoakDuration_ != null
-            && nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+            nodePoolSoakDuration_ != null &&
+            nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           nodePoolSoakDuration_ =
-              com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_).mergeFrom(value).buildPartial();
         } else {
           nodePoolSoakDuration_ = value;
         }
@@ -2187,8 +1894,6 @@ public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2207,8 +1912,6 @@ public Builder clearNodePoolSoakDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2222,8 +1925,6 @@ public com.google.protobuf.Duration.Builder getNodePoolSoakDurationBuilder() {
       return getNodePoolSoakDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2235,14 +1936,11 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
       if (nodePoolSoakDurationBuilder_ != null) {
         return nodePoolSoakDurationBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolSoakDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : nodePoolSoakDuration_;
+        return nodePoolSoakDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -2251,24 +1949,21 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getNodePoolSoakDurationFieldBuilder() {
       if (nodePoolSoakDurationBuilder_ == null) {
-        nodePoolSoakDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getNodePoolSoakDuration(), getParentForChildren(), isClean());
+        nodePoolSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getNodePoolSoakDuration(),
+                getParentForChildren(),
+                isClean());
         nodePoolSoakDuration_ = null;
       }
       return nodePoolSoakDurationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2278,12 +1973,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.BlueGreenSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.BlueGreenSettings)
   private static final com.google.container.v1beta1.BlueGreenSettings DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.BlueGreenSettings();
   }
@@ -2292,27 +1987,27 @@ public static com.google.container.v1beta1.BlueGreenSettings getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public BlueGreenSettings parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public BlueGreenSettings parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2327,4 +2022,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.BlueGreenSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
similarity index 62%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
index b72103c8b59e..e9ca8ff88a0c 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
@@ -1,99 +1,60 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
 
 package com.google.container.v1beta1;
 
-public interface BlueGreenSettingsOrBuilder
-    extends
+public interface BlueGreenSettingsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BlueGreenSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Standard policy for the blue-green upgrade.
    * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return Whether the standardRolloutPolicy field is set. */ boolean hasStandardRolloutPolicy(); /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; * @return The standardRolloutPolicy. */ com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy(); /** - * - * *
    * Standard policy for the blue-green upgrade.
    * 
* - * - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; - * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; */ - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder - getStandardRolloutPolicyOrBuilder(); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder(); /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return Whether the nodePoolSoakDuration field is set. */ boolean hasNodePoolSoakDuration(); /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; - * * @return The nodePoolSoakDuration. */ com.google.protobuf.Duration getNodePoolSoakDuration(); /** - * - * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java
similarity index 67%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java
index a566d79017c7..dc339fe81341 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * CancelOperationRequest cancels a single operation.
  * 
* * Protobuf type {@code google.container.v1beta1.CancelOperationRequest} */ -public final class CancelOperationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelOperationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CancelOperationRequest) CancelOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelOperationRequest.newBuilder() to construct. private CancelOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelOperationRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private CancelOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CancelOperationRequest.class, - com.google.container.v1beta1.CancelOperationRequest.Builder.class); + com.google.container.v1beta1.CancelOperationRequest.class, com.google.container.v1beta1.CancelOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -254,15 +216,12 @@ public com.google.protobuf.ByteString getOperationIdBytes() { public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The name. */ @java.lang.Override @@ -271,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -303,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -357,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CancelOperationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CancelOperationRequest other = - (com.google.container.v1beta1.CancelOperationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getOperationId().equals(other.getOperationId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.CancelOperationRequest other = (com.google.container.v1beta1.CancelOperationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getOperationId() + .equals(other.getOperationId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,135 +356,129 @@ public int hashCode() { } public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CancelOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CancelOperationRequest parseFrom( 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.CancelOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.CancelOperationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.CancelOperationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.CancelOperationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CancelOperationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CancelOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.CancelOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CancelOperationRequest cancels a single operation.
    * 
* * Protobuf type {@code google.container.v1beta1.CancelOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CancelOperationRequest) com.google.container.v1beta1.CancelOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CancelOperationRequest.class, - com.google.container.v1beta1.CancelOperationRequest.Builder.class); + com.google.container.v1beta1.CancelOperationRequest.class, com.google.container.v1beta1.CancelOperationRequest.Builder.class); } // Construct using com.google.container.v1beta1.CancelOperationRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -538,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; } @java.lang.Override @@ -559,8 +515,7 @@ public com.google.container.v1beta1.CancelOperationRequest build() { @java.lang.Override public com.google.container.v1beta1.CancelOperationRequest buildPartial() { - com.google.container.v1beta1.CancelOperationRequest result = - new com.google.container.v1beta1.CancelOperationRequest(this); + com.google.container.v1beta1.CancelOperationRequest result = new com.google.container.v1beta1.CancelOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -573,39 +528,38 @@ public com.google.container.v1beta1.CancelOperationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CancelOperationRequest) { - return mergeFrom((com.google.container.v1beta1.CancelOperationRequest) other); + return mergeFrom((com.google.container.v1beta1.CancelOperationRequest)other); } else { super.mergeFrom(other); return this; @@ -613,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CancelOperationRequest other) { - if (other == com.google.container.v1beta1.CancelOperationRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.CancelOperationRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -657,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -700,26 +648,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -728,27 +672,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -756,79 +697,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -836,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -846,16 +772,15 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +797,17 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -892,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -902,25 +823,22 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -929,21 +847,17 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -952,19 +866,18 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -972,25 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object operationId_ = ""; /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @return The operationId. */ - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -999,26 +908,23 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @return The bytes for operationId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -1026,76 +932,63 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationId(java.lang.String value) { + @java.lang.Deprecated public Builder setOperationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearOperationId() { - + @java.lang.Deprecated public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -1103,21 +996,19 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1126,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1149,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1223,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CancelOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CancelOperationRequest) private static final com.google.container.v1beta1.CancelOperationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CancelOperationRequest(); } @@ -1237,27 +1120,27 @@ public static com.google.container.v1beta1.CancelOperationRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CancelOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java index ea943cf53653..88c41ebe2671 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface CancelOperationRequestOrBuilder - extends +public interface CancelOperationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CancelOperationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2989 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,73 +58,58 @@ 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=2998 + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @return The operationId. */ - @java.lang.Deprecated - java.lang.String getOperationId(); + @java.lang.Deprecated java.lang.String getOperationId(); /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3005 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3010 * @return The bytes for operationId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getOperationIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getOperationIdBytes(); /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java index eaa490c669cd..d8eaa0d74d32 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for client certificates on the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.ClientCertificateConfig} */ -public final class ClientCertificateConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ClientCertificateConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClientCertificateConfig) ClientCertificateConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ClientCertificateConfig.newBuilder() to construct. private ClientCertificateConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClientCertificateConfig() {} + private ClientCertificateConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClientCertificateConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClientCertificateConfig.class, - com.google.container.v1beta1.ClientCertificateConfig.Builder.class); + com.google.container.v1beta1.ClientCertificateConfig.class, com.google.container.v1beta1.ClientCertificateConfig.Builder.class); } public static final int ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER = 1; private boolean issueClientCertificate_; /** - * - * *
    * Issue a client certificate.
    * 
* * bool issue_client_certificate = 1; - * * @return The issueClientCertificate. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getIssueClientCertificate() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (issueClientCertificate_ != false) { output.writeBool(1, issueClientCertificate_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (issueClientCertificate_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, issueClientCertificate_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, issueClientCertificate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClientCertificateConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ClientCertificateConfig other = - (com.google.container.v1beta1.ClientCertificateConfig) obj; + com.google.container.v1beta1.ClientCertificateConfig other = (com.google.container.v1beta1.ClientCertificateConfig) obj; - if (getIssueClientCertificate() != other.getIssueClientCertificate()) return false; + if (getIssueClientCertificate() + != other.getIssueClientCertificate()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIssueClientCertificate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIssueClientCertificate()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClientCertificateConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( 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.ClientCertificateConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ClientCertificateConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ClientCertificateConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClientCertificateConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ClientCertificateConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for client certificates on the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.ClientCertificateConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClientCertificateConfig) com.google.container.v1beta1.ClientCertificateConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClientCertificateConfig.class, - com.google.container.v1beta1.ClientCertificateConfig.Builder.class); + com.google.container.v1beta1.ClientCertificateConfig.class, com.google.container.v1beta1.ClientCertificateConfig.Builder.class); } // Construct using com.google.container.v1beta1.ClientCertificateConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.ClientCertificateConfig build() { @java.lang.Override public com.google.container.v1beta1.ClientCertificateConfig buildPartial() { - com.google.container.v1beta1.ClientCertificateConfig result = - new com.google.container.v1beta1.ClientCertificateConfig(this); + com.google.container.v1beta1.ClientCertificateConfig result = new com.google.container.v1beta1.ClientCertificateConfig(this); result.issueClientCertificate_ = issueClientCertificate_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.ClientCertificateConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ClientCertificateConfig) { - return mergeFrom((com.google.container.v1beta1.ClientCertificateConfig) other); + return mergeFrom((com.google.container.v1beta1.ClientCertificateConfig)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ClientCertificateConfig other) { - if (other == com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance()) return this; if (other.getIssueClientCertificate() != false) { setIssueClientCertificate(other.getIssueClientCertificate()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - issueClientCertificate_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + issueClientCertificate_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean issueClientCertificate_; + private boolean issueClientCertificate_ ; /** - * - * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; - * * @return The issueClientCertificate. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getIssueClientCertificate() { return issueClientCertificate_; } /** - * - * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; - * * @param value The issueClientCertificate to set. * @return This builder for chaining. */ public Builder setIssueClientCertificate(boolean value) { - + issueClientCertificate_ = value; onChanged(); return this; } /** - * - * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; - * * @return This builder for chaining. */ public Builder clearIssueClientCertificate() { - + issueClientCertificate_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClientCertificateConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClientCertificateConfig) private static final com.google.container.v1beta1.ClientCertificateConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClientCertificateConfig(); } @@ -489,27 +450,27 @@ public static com.google.container.v1beta1.ClientCertificateConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientCertificateConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientCertificateConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClientCertificateConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java new file mode 100644 index 000000000000..6c9b8b7ea37b --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ClientCertificateConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClientCertificateConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Issue a client certificate.
+   * 
+ * + * bool issue_client_certificate = 1; + * @return The issueClientCertificate. + */ + boolean getIssueClientCertificate(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java index 5619d2626c32..b994edad8fd9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration options for the Cloud Run feature.
  * 
* * Protobuf type {@code google.container.v1beta1.CloudRunConfig} */ -public final class CloudRunConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudRunConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CloudRunConfig) CloudRunConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudRunConfig.newBuilder() to construct. private CloudRunConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudRunConfig() { loadBalancerType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudRunConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CloudRunConfig.class, - com.google.container.v1beta1.CloudRunConfig.Builder.class); + com.google.container.v1beta1.CloudRunConfig.class, com.google.container.v1beta1.CloudRunConfig.Builder.class); } /** - * - * *
    * Load balancer type of ingress service of Cloud Run.
    * 
* * Protobuf enum {@code google.container.v1beta1.CloudRunConfig.LoadBalancerType} */ - public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -88,8 +66,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** - * - * *
      * Install external load balancer for Cloud Run.
      * 
@@ -98,8 +74,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ LOAD_BALANCER_TYPE_EXTERNAL(1), /** - * - * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -111,8 +85,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -121,8 +93,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Install external load balancer for Cloud Run.
      * 
@@ -131,8 +101,6 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_EXTERNAL_VALUE = 1; /** - * - * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -141,6 +109,7 @@ public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum */ public static final int LOAD_BALANCER_TYPE_INTERNAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,42 +134,39 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: - return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: - return LOAD_BALANCER_TYPE_EXTERNAL; - case 2: - return LOAD_BALANCER_TYPE_INTERNAL; - default: - return null; + case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: return LOAD_BALANCER_TYPE_EXTERNAL; + case 2: return LOAD_BALANCER_TYPE_INTERNAL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LoadBalancerType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.CloudRunConfig.getDescriptor().getEnumTypes().get(0); } @@ -209,7 +175,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static LoadBalancerType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -229,14 +196,11 @@ private LoadBalancerType(int value) { public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** - * - * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -247,43 +211,31 @@ public boolean getDisabled() { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 3; private int loadBalancerType_; /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The loadBalancerType. */ - @java.lang.Override - public com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { + @java.lang.Override public com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = - com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null - ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED - : result; + com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,14 +247,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } - if (loadBalancerType_ - != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType - .LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { + if (loadBalancerType_ != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, loadBalancerType_); } getUnknownFields().writeTo(output); @@ -315,13 +265,12 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } - if (loadBalancerType_ - != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType - .LOAD_BALANCER_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, loadBalancerType_); + if (loadBalancerType_ != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, loadBalancerType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,15 +280,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CloudRunConfig)) { return super.equals(obj); } - com.google.container.v1beta1.CloudRunConfig other = - (com.google.container.v1beta1.CloudRunConfig) obj; + com.google.container.v1beta1.CloudRunConfig other = (com.google.container.v1beta1.CloudRunConfig) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (loadBalancerType_ != other.loadBalancerType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -353,7 +302,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (37 * hash) + LOAD_BALANCER_TYPE_FIELD_NUMBER; hash = (53 * hash) + loadBalancerType_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -361,136 +311,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.CloudRunConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.CloudRunConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CloudRunConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CloudRunConfig parseFrom( 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.CloudRunConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CloudRunConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.CloudRunConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CloudRunConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.CloudRunConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.CloudRunConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CloudRunConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CloudRunConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CloudRunConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.CloudRunConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the Cloud Run feature.
    * 
* * Protobuf type {@code google.container.v1beta1.CloudRunConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CloudRunConfig) com.google.container.v1beta1.CloudRunConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CloudRunConfig.class, - com.google.container.v1beta1.CloudRunConfig.Builder.class); + com.google.container.v1beta1.CloudRunConfig.class, com.google.container.v1beta1.CloudRunConfig.Builder.class); } // Construct using com.google.container.v1beta1.CloudRunConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -502,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_descriptor; } @java.lang.Override @@ -523,8 +467,7 @@ public com.google.container.v1beta1.CloudRunConfig build() { @java.lang.Override public com.google.container.v1beta1.CloudRunConfig buildPartial() { - com.google.container.v1beta1.CloudRunConfig result = - new com.google.container.v1beta1.CloudRunConfig(this); + com.google.container.v1beta1.CloudRunConfig result = new com.google.container.v1beta1.CloudRunConfig(this); result.disabled_ = disabled_; result.loadBalancerType_ = loadBalancerType_; onBuilt(); @@ -535,39 +478,38 @@ public com.google.container.v1beta1.CloudRunConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CloudRunConfig) { - return mergeFrom((com.google.container.v1beta1.CloudRunConfig) other); + return mergeFrom((com.google.container.v1beta1.CloudRunConfig)other); } else { super.mergeFrom(other); return this; @@ -608,25 +550,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disabled_ = input.readBool(); - - break; - } // case 8 - case 24: - { - loadBalancerType_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disabled_ = input.readBool(); + + break; + } // case 8 + case 24: { + loadBalancerType_ = input.readEnum(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -637,16 +576,13 @@ public Builder mergeFrom( return this; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -654,36 +590,30 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; @@ -691,105 +621,80 @@ public Builder clearDisabled() { private int loadBalancerType_ = 0; /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * - * + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override - public int getLoadBalancerTypeValue() { + @java.lang.Override public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * - * + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ public Builder setLoadBalancerTypeValue(int value) { - + loadBalancerType_ = value; onChanged(); return this; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * - * + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; * @return The loadBalancerType. */ @java.lang.Override public com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = - com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null - ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED - : result; + com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * - * + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType( - com.google.container.v1beta1.CloudRunConfig.LoadBalancerType value) { + public Builder setLoadBalancerType(com.google.container.v1beta1.CloudRunConfig.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } - + loadBalancerType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * - * + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; * @return This builder for chaining. */ public Builder clearLoadBalancerType() { - + loadBalancerType_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -799,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CloudRunConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CloudRunConfig) private static final com.google.container.v1beta1.CloudRunConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CloudRunConfig(); } @@ -813,27 +718,27 @@ public static com.google.container.v1beta1.CloudRunConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -848,4 +753,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CloudRunConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java index bff94563086f..a0e491706ec3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface CloudRunConfigOrBuilder - extends +public interface CloudRunConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CloudRunConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** - * - * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; - * * @return The loadBalancerType. */ com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java index ae77eb7e52ac..e8bf6f767a09 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * A Google Kubernetes Engine cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.Cluster} */ -public final class Cluster extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cluster extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Cluster) ClusterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cluster.newBuilder() to construct. private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cluster() { name_ = ""; description_ = ""; @@ -69,54 +51,51 @@ private Cluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Cluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Cluster_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Cluster.class, - com.google.container.v1beta1.Cluster.Builder.class); + com.google.container.v1beta1.Cluster.class, com.google.container.v1beta1.Cluster.Builder.class); } /** - * - * *
    * The current status of the cluster.
    * 
* * Protobuf enum {@code google.container.v1beta1.Cluster.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -125,8 +104,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -135,8 +112,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -146,8 +121,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -158,8 +131,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(3),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -168,8 +139,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(4), /** - * - * *
      * The ERROR state indicates the cluster may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -179,8 +148,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     ERROR(5),
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -193,8 +160,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -203,8 +168,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -213,8 +176,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -224,8 +185,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -236,8 +195,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECONCILING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -246,8 +203,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 4; /** - * - * *
      * The ERROR state indicates the cluster may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -257,8 +212,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 5;
     /**
-     *
-     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -268,6 +221,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEGRADED_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -292,57 +246,53 @@ public static Status valueOf(int 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 RECONCILING;
-        case 4:
-          return STOPPING;
-        case 5:
-          return ERROR;
-        case 6:
-          return DEGRADED;
-        default:
-          return null;
+        case 0: return STATUS_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RECONCILING;
+        case 4: return STOPPING;
+        case 5: return ERROR;
+        case 6: return DEGRADED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Status> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Status findValueByNumber(int number) {
+              return Status.forNumber(number);
+            }
+          };
 
-    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() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.Cluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -363,8 +313,6 @@ private Status(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -375,7 +323,6 @@ private Status(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -384,15 +331,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -403,15 +349,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -422,14 +369,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -438,29 +382,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -471,8 +415,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** - * - * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -486,22 +428,18 @@ 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=1578 + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1580 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getInitialNodeCount() { + @java.lang.Deprecated public int getInitialNodeCount() { return initialNodeCount_; } public static final int NODE_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodeConfig nodeConfig_; /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -516,19 +454,15 @@ 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=1591 + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1593 * @return Whether the nodeConfig field is set. */ @java.lang.Override - @java.lang.Deprecated - public boolean hasNodeConfig() { + @java.lang.Deprecated public boolean hasNodeConfig() { return nodeConfig_ != null; } /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -543,21 +477,15 @@ 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=1591 + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1593 * @return The nodeConfig. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.NodeConfig getNodeConfig() { - return nodeConfig_ == null - ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() - : nodeConfig_; + @java.lang.Deprecated public com.google.container.v1beta1.NodeConfig getNodeConfig() { + return nodeConfig_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; } /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -574,16 +502,13 @@ public com.google.container.v1beta1.NodeConfig getNodeConfig() {
    * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated
-  public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+  @java.lang.Deprecated public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
     return getNodeConfig();
   }
 
   public static final int MASTER_AUTH_FIELD_NUMBER = 5;
   private com.google.container.v1beta1.MasterAuth masterAuth_;
   /**
-   *
-   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -593,7 +518,6 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder()
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; - * * @return Whether the masterAuth field is set. */ @java.lang.Override @@ -601,8 +525,6 @@ public boolean hasMasterAuth() { return masterAuth_ != null; } /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -612,18 +534,13 @@ public boolean hasMasterAuth() {
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; - * * @return The masterAuth. */ @java.lang.Override public com.google.container.v1beta1.MasterAuth getMasterAuth() { - return masterAuth_ == null - ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() - : masterAuth_; + return masterAuth_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : masterAuth_; } /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -642,8 +559,6 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
   public static final int LOGGING_SERVICE_FIELD_NUMBER = 6;
   private volatile java.lang.Object loggingService_;
   /**
-   *
-   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -657,7 +572,6 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
    * 
* * string logging_service = 6; - * * @return The loggingService. */ @java.lang.Override @@ -666,15 +580,14 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -688,15 +601,16 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 6; - * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -707,8 +621,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { public static final int MONITORING_SERVICE_FIELD_NUMBER = 7; private volatile java.lang.Object monitoringService_; /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -722,7 +634,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() {
    * 
* * string monitoring_service = 7; - * * @return The monitoringService. */ @java.lang.Override @@ -731,15 +642,14 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -753,15 +663,16 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 7; - * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -772,8 +683,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { public static final int NETWORK_FIELD_NUMBER = 8; private volatile java.lang.Object network_; /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -783,7 +692,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() {
    * 
* * string network = 8; - * * @return The network. */ @java.lang.Override @@ -792,15 +700,14 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -810,15 +717,16 @@ public java.lang.String getNetwork() {
    * 
* * string network = 8; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -829,8 +737,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4Cidr_; /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -839,7 +745,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -848,15 +753,14 @@ public java.lang.String getClusterIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -865,15 +769,16 @@ public java.lang.String getClusterIpv4Cidr() {
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -884,14 +789,11 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { public static final int ADDONS_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1beta1.AddonsConfig addonsConfig_; /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; - * * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -899,25 +801,18 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; - * * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -932,8 +827,6 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild public static final int SUBNETWORK_FIELD_NUMBER = 11; private volatile java.lang.Object subnetwork_; /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -942,7 +835,6 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild
    * 
* * string subnetwork = 11; - * * @return The subnetwork. */ @java.lang.Override @@ -951,15 +843,14 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -968,15 +859,16 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 11; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -987,8 +879,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int NODE_POOLS_FIELD_NUMBER = 12; private java.util.List nodePools_; /** - * - * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1002,8 +892,6 @@ public java.util.List getNodePoolsList()
     return nodePools_;
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1013,13 +901,11 @@ public java.util.List getNodePoolsList()
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getNodePoolsOrBuilderList() {
     return nodePools_;
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1033,8 +919,6 @@ public int getNodePoolsCount() {
     return nodePools_.size();
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1048,8 +932,6 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
     return nodePools_.get(index);
   }
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -1059,15 +941,14 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
+  public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
+      int index) {
     return nodePools_.get(index);
   }
 
   public static final int LOCATIONS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList locations_;
   /**
-   *
-   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1081,15 +962,13 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1103,15 +982,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1125,7 +1001,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1133,8 +1008,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1148,19 +1021,17 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER = 14; private boolean enableKubernetesAlpha_; /** - * - * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -1171,7 +1042,6 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
    * 
* * bool enable_kubernetes_alpha = 14; - * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -1180,22 +1050,21 @@ public boolean getEnableKubernetesAlpha() { } public static final int RESOURCE_LABELS_FIELD_NUMBER = 15; - private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField resourceLabels_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1207,8 +1076,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1216,22 +1083,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 15;
    */
+
   @java.lang.Override
-  public boolean containsResourceLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsResourceLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1240,12 +1107,11 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
+
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1254,17 +1120,16 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
+
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1273,11 +1138,12 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+
+  public java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1287,14 +1153,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
   public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 16;
   private volatile java.lang.Object labelFingerprint_;
   /**
-   *
-   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The labelFingerprint. */ @java.lang.Override @@ -1303,29 +1166,29 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** - * - * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1336,14 +1199,11 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { public static final int LEGACY_ABAC_FIELD_NUMBER = 18; private com.google.container.v1beta1.LegacyAbac legacyAbac_; /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; - * * @return Whether the legacyAbac field is set. */ @java.lang.Override @@ -1351,25 +1211,18 @@ public boolean hasLegacyAbac() { return legacyAbac_ != null; } /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; - * * @return The legacyAbac. */ @java.lang.Override public com.google.container.v1beta1.LegacyAbac getLegacyAbac() { - return legacyAbac_ == null - ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() - : legacyAbac_; + return legacyAbac_ == null ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() : legacyAbac_; } /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -1384,14 +1237,11 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() public static final int NETWORK_POLICY_FIELD_NUMBER = 19; private com.google.container.v1beta1.NetworkPolicy networkPolicy_; /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; - * * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -1399,25 +1249,18 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; - * * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null - ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -1432,14 +1275,11 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 20; private com.google.container.v1beta1.IPAllocationPolicy ipAllocationPolicy_; /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -1447,25 +1287,18 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return The ipAllocationPolicy. */ @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { - return ipAllocationPolicy_ == null - ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } /** - * - * *
    * Configuration for cluster IP allocation.
    * 
@@ -1478,19 +1311,13 @@ public com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationP } public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 22; - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig - masterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -1498,53 +1325,37 @@ public boolean hasMasterAuthorizedNetworksConfig() { return masterAuthorizedNetworksConfig_ != null; } /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return The masterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig - getMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfig_ == null - ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : masterAuthorizedNetworksConfig_; + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { + return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; } /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder - getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { return getMasterAuthorizedNetworksConfig(); } public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 23; private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; - * * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -1552,25 +1363,18 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; - * * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null - ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -1585,14 +1389,11 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 24; private com.google.container.v1beta1.BinaryAuthorization binaryAuthorization_; /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; - * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -1600,25 +1401,18 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; - * * @return The binaryAuthorization. */ @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null - ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } /** - * - * *
    * Configuration for Binary Authorization.
    * 
@@ -1626,22 +1420,18 @@ public com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization() * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ @java.lang.Override - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder - getBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { return getBinaryAuthorization(); } public static final int POD_SECURITY_POLICY_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1beta1.PodSecurityPolicyConfig podSecurityPolicyConfig_; /** - * - * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * * @return Whether the podSecurityPolicyConfig field is set. */ @java.lang.Override @@ -1649,25 +1439,18 @@ public boolean hasPodSecurityPolicyConfig() { return podSecurityPolicyConfig_ != null; } /** - * - * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * * @return The podSecurityPolicyConfig. */ @java.lang.Override public com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicyConfig() { - return podSecurityPolicyConfig_ == null - ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() - : podSecurityPolicyConfig_; + return podSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : podSecurityPolicyConfig_; } /** - * - * *
    * Configuration for the PodSecurityPolicy feature.
    * 
@@ -1675,22 +1458,18 @@ public com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicy * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ @java.lang.Override - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder - getPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getPodSecurityPolicyConfigOrBuilder() { return getPodSecurityPolicyConfig(); } public static final int AUTOSCALING_FIELD_NUMBER = 26; private com.google.container.v1beta1.ClusterAutoscaling autoscaling_; /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; - * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -1698,25 +1477,18 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; - * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1beta1.ClusterAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -1731,14 +1503,11 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr public static final int NETWORK_CONFIG_FIELD_NUMBER = 27; private com.google.container.v1beta1.NetworkConfig networkConfig_; /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; - * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1746,25 +1515,18 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; - * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1beta1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * *
    * Configuration for cluster networking.
    * 
@@ -1779,8 +1541,6 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui public static final int PRIVATE_CLUSTER_FIELD_NUMBER = 28; private boolean privateCluster_; /** - * - * *
    * If this is a private cluster setup. Private clusters are clusters that, by
    * default have no external IP addresses on the nodes and where nodes and the
@@ -1790,22 +1550,18 @@ 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=1713 + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1715 * @return The privateCluster. */ @java.lang.Override - @java.lang.Deprecated - public boolean getPrivateCluster() { + @java.lang.Deprecated public boolean getPrivateCluster() { return privateCluster_; } public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 29; private volatile java.lang.Object masterIpv4CidrBlock_; /** - * - * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -1815,27 +1571,24 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @return The masterIpv4CidrBlock. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getMasterIpv4CidrBlock() { + @java.lang.Deprecated public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -1845,18 +1598,18 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -1867,8 +1620,6 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { public static final int DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER = 30; private com.google.container.v1beta1.MaxPodsConstraint defaultMaxPodsConstraint_; /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1876,7 +1627,6 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() {
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return Whether the defaultMaxPodsConstraint field is set. */ @java.lang.Override @@ -1884,8 +1634,6 @@ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraint_ != null; } /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1893,18 +1641,13 @@ public boolean hasDefaultMaxPodsConstraint() {
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return The defaultMaxPodsConstraint. */ @java.lang.Override public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstraint() { - return defaultMaxPodsConstraint_ == null - ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() - : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; } /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1914,24 +1657,19 @@ public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstrain
    * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.MaxPodsConstraintOrBuilder
-      getDefaultMaxPodsConstraintOrBuilder() {
+  public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder() {
     return getDefaultMaxPodsConstraint();
   }
 
   public static final int RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 33;
   private com.google.container.v1beta1.ResourceUsageExportConfig resourceUsageExportConfig_;
   /**
-   *
-   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return Whether the resourceUsageExportConfig field is set. */ @java.lang.Override @@ -1939,53 +1677,39 @@ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfig_ != null; } /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return The resourceUsageExportConfig. */ @java.lang.Override public com.google.container.v1beta1.ResourceUsageExportConfig getResourceUsageExportConfig() { - return resourceUsageExportConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() - : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; } /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder - getResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() { return getResourceUsageExportConfig(); } public static final int AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 34; private com.google.container.v1beta1.AuthenticatorGroupsConfig authenticatorGroupsConfig_; /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; * @return Whether the authenticatorGroupsConfig field is set. */ @java.lang.Override @@ -1993,50 +1717,37 @@ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfig_ != null; } /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; * @return The authenticatorGroupsConfig. */ @java.lang.Override public com.google.container.v1beta1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { - return authenticatorGroupsConfig_ == null - ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() - : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; } /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ @java.lang.Override - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder - getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { return getAuthenticatorGroupsConfig(); } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 37; private com.google.container.v1beta1.PrivateClusterConfig privateClusterConfig_; /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; - * * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -2044,25 +1755,18 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; - * * @return The privateClusterConfig. */ @java.lang.Override public com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { - return privateClusterConfig_ == null - ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } /** - * - * *
    * Configuration for private cluster.
    * 
@@ -2070,22 +1774,18 @@ public com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { return getPrivateClusterConfig(); } public static final int VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 39; private com.google.container.v1beta1.VerticalPodAutoscaling verticalPodAutoscaling_; /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return Whether the verticalPodAutoscaling field is set. */ @java.lang.Override @@ -2093,25 +1793,18 @@ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscaling_ != null; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return The verticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutoscaling() { - return verticalPodAutoscaling_ == null - ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() - : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -2119,22 +1812,18 @@ public com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutosca * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ @java.lang.Override - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder - getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { return getVerticalPodAutoscaling(); } public static final int SHIELDED_NODES_FIELD_NUMBER = 40; private com.google.container.v1beta1.ShieldedNodes shieldedNodes_; /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; - * * @return Whether the shieldedNodes field is set. */ @java.lang.Override @@ -2142,25 +1831,18 @@ public boolean hasShieldedNodes() { return shieldedNodes_ != null; } /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; - * * @return The shieldedNodes. */ @java.lang.Override public com.google.container.v1beta1.ShieldedNodes getShieldedNodes() { - return shieldedNodes_ == null - ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() - : shieldedNodes_; + return shieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; } /** - * - * *
    * Shielded Nodes configuration.
    * 
@@ -2175,14 +1857,11 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBui public static final int RELEASE_CHANNEL_FIELD_NUMBER = 41; private com.google.container.v1beta1.ReleaseChannel releaseChannel_; /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; - * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -2190,25 +1869,18 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; - * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } /** - * - * *
    * Release channel configuration.
    * 
@@ -2223,15 +1895,12 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 43; private com.google.container.v1beta1.WorkloadIdentityConfig workloadIdentityConfig_; /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -2239,26 +1908,19 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null - ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -2267,23 +1929,19 @@ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityCo
    * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder
-      getWorkloadIdentityConfigOrBuilder() {
+  public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
     return getWorkloadIdentityConfig();
   }
 
   public static final int WORKLOAD_CERTIFICATES_FIELD_NUMBER = 52;
   private com.google.container.v1beta1.WorkloadCertificates workloadCertificates_;
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; - * * @return Whether the workloadCertificates field is set. */ @java.lang.Override @@ -2291,26 +1949,19 @@ public boolean hasWorkloadCertificates() { return workloadCertificates_ != null; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; - * * @return The workloadCertificates. */ @java.lang.Override public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates() { - return workloadCertificates_ == null - ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() - : workloadCertificates_; + return workloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : workloadCertificates_; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -2319,23 +1970,19 @@ public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates
    * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder
-      getWorkloadCertificatesOrBuilder() {
+  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCertificatesOrBuilder() {
     return getWorkloadCertificates();
   }
 
   public static final int MESH_CERTIFICATES_FIELD_NUMBER = 67;
   private com.google.container.v1beta1.MeshCertificates meshCertificates_;
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; - * * @return Whether the meshCertificates field is set. */ @java.lang.Override @@ -2343,26 +1990,19 @@ public boolean hasMeshCertificates() { return meshCertificates_ != null; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; - * * @return The meshCertificates. */ @java.lang.Override public com.google.container.v1beta1.MeshCertificates getMeshCertificates() { - return meshCertificates_ == null - ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() - : meshCertificates_; + return meshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : meshCertificates_; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -2378,14 +2018,11 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
   public static final int WORKLOAD_ALTS_CONFIG_FIELD_NUMBER = 53;
   private com.google.container.v1beta1.WorkloadALTSConfig workloadAltsConfig_;
   /**
-   *
-   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; - * * @return Whether the workloadAltsConfig field is set. */ @java.lang.Override @@ -2393,25 +2030,18 @@ public boolean hasWorkloadAltsConfig() { return workloadAltsConfig_ != null; } /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; - * * @return The workloadAltsConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { - return workloadAltsConfig_ == null - ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() - : workloadAltsConfig_; + return workloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : workloadAltsConfig_; } /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -2426,14 +2056,11 @@ public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsC public static final int COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 45; private com.google.container.v1beta1.CostManagementConfig costManagementConfig_; /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; - * * @return Whether the costManagementConfig field is set. */ @java.lang.Override @@ -2441,25 +2068,18 @@ public boolean hasCostManagementConfig() { return costManagementConfig_ != null; } /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; - * * @return The costManagementConfig. */ @java.lang.Override public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig() { - return costManagementConfig_ == null - ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() - : costManagementConfig_; + return costManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; } /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -2467,22 +2087,18 @@ public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ @java.lang.Override - public com.google.container.v1beta1.CostManagementConfigOrBuilder - getCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder() { return getCostManagementConfig(); } public static final int CLUSTER_TELEMETRY_FIELD_NUMBER = 46; private com.google.container.v1beta1.ClusterTelemetry clusterTelemetry_; /** - * - * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; - * * @return Whether the clusterTelemetry field is set. */ @java.lang.Override @@ -2490,25 +2106,18 @@ public boolean hasClusterTelemetry() { return clusterTelemetry_ != null; } /** - * - * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; - * * @return The clusterTelemetry. */ @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry() { - return clusterTelemetry_ == null - ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() - : clusterTelemetry_; + return clusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : clusterTelemetry_; } /** - * - * *
    * Telemetry integration for the cluster.
    * 
@@ -2523,14 +2132,11 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr public static final int TPU_CONFIG_FIELD_NUMBER = 47; private com.google.container.v1beta1.TpuConfig tpuConfig_; /** - * - * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; - * * @return Whether the tpuConfig field is set. */ @java.lang.Override @@ -2538,25 +2144,18 @@ public boolean hasTpuConfig() { return tpuConfig_ != null; } /** - * - * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; - * * @return The tpuConfig. */ @java.lang.Override public com.google.container.v1beta1.TpuConfig getTpuConfig() { - return tpuConfig_ == null - ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() - : tpuConfig_; + return tpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : tpuConfig_; } /** - * - * *
    * Configuration for Cloud TPU support;
    * 
@@ -2571,14 +2170,11 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1beta1.NotificationConfig notificationConfig_; /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; - * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -2586,25 +2182,18 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; - * * @return The notificationConfig. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig getNotificationConfig() { - return notificationConfig_ == null - ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : notificationConfig_; } /** - * - * *
    * Notification configuration of the cluster.
    * 
@@ -2619,15 +2208,12 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationC public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 50; private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; - * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -2635,26 +2221,19 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; - * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null - ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -2670,14 +2249,11 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
   public static final int IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 54;
   private com.google.container.v1beta1.IdentityServiceConfig identityServiceConfig_;
   /**
-   *
-   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; - * * @return Whether the identityServiceConfig field is set. */ @java.lang.Override @@ -2685,25 +2261,18 @@ public boolean hasIdentityServiceConfig() { return identityServiceConfig_ != null; } /** - * - * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; - * * @return The identityServiceConfig. */ @java.lang.Override public com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConfig() { - return identityServiceConfig_ == null - ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() - : identityServiceConfig_; + return identityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; } /** - * - * *
    * Configuration for Identity Service component.
    * 
@@ -2711,22 +2280,18 @@ public com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConf * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ @java.lang.Override - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder - getIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { return getIdentityServiceConfig(); } public static final int SELF_LINK_FIELD_NUMBER = 100; private volatile java.lang.Object selfLink_; /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ @java.lang.Override @@ -2735,29 +2300,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -2768,8 +2333,6 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { public static final int ZONE_FIELD_NUMBER = 101; private volatile java.lang.Object zone_; /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2777,27 +2340,24 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2805,18 +2365,18 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -2827,8 +2387,6 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int ENDPOINT_FIELD_NUMBER = 102; private volatile java.lang.Object endpoint_; /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2838,7 +2396,6 @@ public com.google.protobuf.ByteString getZoneBytes() {
    * 
* * string endpoint = 102; - * * @return The endpoint. */ @java.lang.Override @@ -2847,15 +2404,14 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2865,15 +2421,16 @@ public java.lang.String getEndpoint() {
    * 
* * string endpoint = 102; - * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -2884,8 +2441,6 @@ public com.google.protobuf.ByteString getEndpointBytes() { public static final int INITIAL_CLUSTER_VERSION_FIELD_NUMBER = 103; private volatile java.lang.Object initialClusterVersion_; /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2901,7 +2456,6 @@ public com.google.protobuf.ByteString getEndpointBytes() {
    * 
* * string initial_cluster_version = 103; - * * @return The initialClusterVersion. */ @java.lang.Override @@ -2910,15 +2464,14 @@ public java.lang.String getInitialClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; } } /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2934,15 +2487,16 @@ public java.lang.String getInitialClusterVersion() {
    * 
* * string initial_cluster_version = 103; - * * @return The bytes for initialClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString + getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -2953,14 +2507,11 @@ public com.google.protobuf.ByteString getInitialClusterVersionBytes() { public static final int CURRENT_MASTER_VERSION_FIELD_NUMBER = 104; private volatile java.lang.Object currentMasterVersion_; /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The currentMasterVersion. */ @java.lang.Override @@ -2969,29 +2520,29 @@ public java.lang.String getCurrentMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; } } /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The bytes for currentMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString + getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -3002,8 +2553,6 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { public static final int CURRENT_NODE_VERSION_FIELD_NUMBER = 105; private volatile java.lang.Object currentNodeVersion_; /** - * - * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -3013,27 +2562,24 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @return The currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; } } /** - * - * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -3043,18 +2589,18 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @return The bytes for currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -3065,15 +2611,12 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 106; private volatile java.lang.Object createTime_; /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The createTime. */ @java.lang.Override @@ -3082,30 +2625,30 @@ public java.lang.String getCreateTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The bytes for createTime. */ @java.lang.Override - public com.google.protobuf.ByteString getCreateTimeBytes() { + public com.google.protobuf.ByteString + getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createTime_ = b; return b; } else { @@ -3116,44 +2659,33 @@ public com.google.protobuf.ByteString getCreateTimeBytes() { public static final int STATUS_FIELD_NUMBER = 107; private int status_; /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1beta1.Cluster.Status getStatus() { + @java.lang.Override public com.google.container.v1beta1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Cluster.Status result = - com.google.container.v1beta1.Cluster.Status.valueOf(status_); + com.google.container.v1beta1.Cluster.Status result = com.google.container.v1beta1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Cluster.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 108; private volatile java.lang.Object statusMessage_; /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -3161,27 +2693,24 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -3189,18 +2718,18 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -3211,8 +2740,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int NODE_IPV4_CIDR_SIZE_FIELD_NUMBER = 109; private int nodeIpv4CidrSize_; /** - * - * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -3221,7 +2748,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * int32 node_ipv4_cidr_size = 109; - * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -3232,8 +2758,6 @@ public int getNodeIpv4CidrSize() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 110; private volatile java.lang.Object servicesIpv4Cidr_; /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -3243,7 +2767,6 @@ public int getNodeIpv4CidrSize() {
    * 
* * string services_ipv4_cidr = 110; - * * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -3252,15 +2775,14 @@ public java.lang.String getServicesIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -3270,15 +2792,16 @@ public java.lang.String getServicesIpv4Cidr() {
    * 
* * string services_ipv4_cidr = 110; - * * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -3289,110 +2812,89 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 111; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated - public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int CURRENT_NODE_COUNT_FIELD_NUMBER = 112; private int currentNodeCount_; /** - * - * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1851 + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1853 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getCurrentNodeCount() { + @java.lang.Deprecated public int getCurrentNodeCount() { return currentNodeCount_; } public static final int EXPIRE_TIME_FIELD_NUMBER = 113; private volatile java.lang.Object expireTime_; /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The expireTime. */ @java.lang.Override @@ -3401,30 +2903,30 @@ public java.lang.String getExpireTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The bytes for expireTime. */ @java.lang.Override - public com.google.protobuf.ByteString getExpireTimeBytes() { + public com.google.protobuf.ByteString + getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expireTime_ = b; return b; } else { @@ -3435,8 +2937,6 @@ public com.google.protobuf.ByteString getExpireTimeBytes() { public static final int LOCATION_FIELD_NUMBER = 114; private volatile java.lang.Object location_; /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3446,7 +2946,6 @@ public com.google.protobuf.ByteString getExpireTimeBytes() {
    * 
* * string location = 114; - * * @return The location. */ @java.lang.Override @@ -3455,15 +2954,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3473,15 +2971,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 114; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3492,15 +2991,12 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int ENABLE_TPU_FIELD_NUMBER = 115; private boolean enableTpu_; /** - * - * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * This field is deprecated, use tpu_config.enabled instead.
    * 
* * bool enable_tpu = 115; - * * @return The enableTpu. */ @java.lang.Override @@ -3511,8 +3007,6 @@ public boolean getEnableTpu() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 116; private volatile java.lang.Object tpuIpv4CidrBlock_; /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -3520,7 +3014,6 @@ public boolean getEnableTpu() {
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -3529,15 +3022,14 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -3545,15 +3037,16 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -3564,14 +3057,11 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 38; private com.google.container.v1beta1.DatabaseEncryption databaseEncryption_; /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; - * * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -3579,25 +3069,18 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; - * * @return The databaseEncryption. */ @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null - ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; } /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -3612,8 +3095,6 @@ public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDatabaseEncry public static final int CONDITIONS_FIELD_NUMBER = 118; private java.util.List conditions_; /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3625,8 +3106,6 @@ public java.util.List getCondition return conditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3634,13 +3113,11 @@ public java.util.List getCondition * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3652,8 +3129,6 @@ public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3665,8 +3140,6 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -3674,21 +3147,19 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ @java.lang.Override - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int MASTER_FIELD_NUMBER = 124; private com.google.container.v1beta1.Master master_; /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; - * * @return Whether the master field is set. */ @java.lang.Override @@ -3696,14 +3167,11 @@ public boolean hasMaster() { return master_ != null; } /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; - * * @return The master. */ @java.lang.Override @@ -3711,8 +3179,6 @@ public com.google.container.v1beta1.Master getMaster() { return master_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : master_; } /** - * - * *
    * Configuration for master components.
    * 
@@ -3727,14 +3193,11 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { public static final int AUTOPILOT_FIELD_NUMBER = 128; private com.google.container.v1beta1.Autopilot autopilot_; /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; - * * @return Whether the autopilot field is set. */ @java.lang.Override @@ -3742,25 +3205,18 @@ public boolean hasAutopilot() { return autopilot_ != null; } /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; - * * @return The autopilot. */ @java.lang.Override public com.google.container.v1beta1.Autopilot getAutopilot() { - return autopilot_ == null - ? com.google.container.v1beta1.Autopilot.getDefaultInstance() - : autopilot_; + return autopilot_ == null ? com.google.container.v1beta1.Autopilot.getDefaultInstance() : autopilot_; } /** - * - * *
    * Autopilot configuration for the cluster.
    * 
@@ -3775,14 +3231,11 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { public static final int ID_FIELD_NUMBER = 129; private volatile java.lang.Object id_; /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The id. */ @java.lang.Override @@ -3791,29 +3244,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -3824,15 +3277,12 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int NODE_POOL_DEFAULTS_FIELD_NUMBER = 131; private com.google.container.v1beta1.NodePoolDefaults nodePoolDefaults_; /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; - * * @return Whether the nodePoolDefaults field is set. */ @java.lang.Override @@ -3840,26 +3290,19 @@ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; - * * @return The nodePoolDefaults. */ @java.lang.Override public com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults() { - return nodePoolDefaults_ == null - ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() - : nodePoolDefaults_; + return nodePoolDefaults_ == null ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; } /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -3869,22 +3312,17 @@ public com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults() {
    */
   @java.lang.Override
   public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder() {
-    return nodePoolDefaults_ == null
-        ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()
-        : nodePoolDefaults_;
+    return nodePoolDefaults_ == null ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
   }
 
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 132;
   private com.google.container.v1beta1.LoggingConfig loggingConfig_;
   /**
-   *
-   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -3892,25 +3330,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration for the cluster.
    * 
@@ -3925,14 +3356,11 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui public static final int MONITORING_CONFIG_FIELD_NUMBER = 133; private com.google.container.v1beta1.MonitoringConfig monitoringConfig_; /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; - * * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -3940,25 +3368,18 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; - * * @return The monitoringConfig. */ @java.lang.Override public com.google.container.v1beta1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null - ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } /** - * - * *
    * Monitoring configuration for the cluster.
    * 
@@ -3973,15 +3394,12 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi public static final int NODE_POOL_AUTO_CONFIG_FIELD_NUMBER = 136; private com.google.container.v1beta1.NodePoolAutoConfig nodePoolAutoConfig_; /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return Whether the nodePoolAutoConfig field is set. */ @java.lang.Override @@ -3989,26 +3407,19 @@ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfig_ != null; } /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return The nodePoolAutoConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig() { - return nodePoolAutoConfig_ == null - ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() - : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; } /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -4024,14 +3435,11 @@ public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoC
   public static final int PROTECT_CONFIG_FIELD_NUMBER = 137;
   private com.google.container.v1beta1.ProtectConfig protectConfig_;
   /**
-   *
-   *
    * 
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; - * * @return Whether the protectConfig field is set. */ @java.lang.Override @@ -4039,25 +3447,18 @@ public boolean hasProtectConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; - * * @return The protectConfig. */ @java.lang.Override public com.google.container.v1beta1.ProtectConfig getProtectConfig() { - return protectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : protectConfig_; + return protectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; } /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
@@ -4066,13 +3467,10 @@ public com.google.container.v1beta1.ProtectConfig getProtectConfig() { */ @java.lang.Override public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBuilder() { - return protectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : protectConfig_; + return protectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4084,7 +3482,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -4127,8 +3526,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableKubernetesAlpha_ != false) { output.writeBool(14, enableKubernetesAlpha_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 15); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetResourceLabels(), + ResourceLabelsDefaultEntryHolder.defaultEntry, + 15); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, labelFingerprint_); } @@ -4313,13 +3716,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (initialNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, initialNodeCount_); } if (nodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodeConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNodeConfig()); } if (masterAuth_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMasterAuth()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getMasterAuth()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggingService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, loggingService_); @@ -4334,13 +3740,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4Cidr_); } if (addonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getAddonsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, subnetwork_); } for (int i = 0; i < nodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, nodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, nodePools_.get(i)); } { int dataSize = 0; @@ -4351,124 +3759,136 @@ public int getSerializedSize() { size += 1 * getLocationsList().size(); } if (enableKubernetesAlpha_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, enableKubernetesAlpha_); - } - for (java.util.Map.Entry entry : - internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry resourceLabels__ = - ResourceLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, resourceLabels__); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(14, enableKubernetesAlpha_); + } + for (java.util.Map.Entry entry + : internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, resourceLabels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, labelFingerprint_); } if (legacyAbac_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLegacyAbac()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getLegacyAbac()); } if (networkPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getNetworkPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getNetworkPolicy()); } if (ipAllocationPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getIpAllocationPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getIpAllocationPolicy()); } if (masterAuthorizedNetworksConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, getMasterAuthorizedNetworksConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getMasterAuthorizedNetworksConfig()); } if (maintenancePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getMaintenancePolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(23, getMaintenancePolicy()); } if (binaryAuthorization_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(24, getBinaryAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getBinaryAuthorization()); } if (podSecurityPolicyConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 25, getPodSecurityPolicyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getPodSecurityPolicyConfig()); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getAutoscaling()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getNetworkConfig()); } if (privateCluster_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(28, privateCluster_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(28, privateCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, masterIpv4CidrBlock_); } if (defaultMaxPodsConstraint_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 30, getDefaultMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getDefaultMaxPodsConstraint()); } if (resourceUsageExportConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 33, getResourceUsageExportConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(33, getResourceUsageExportConfig()); } if (authenticatorGroupsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 34, getAuthenticatorGroupsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(34, getAuthenticatorGroupsConfig()); } if (privateClusterConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(37, getPrivateClusterConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, getPrivateClusterConfig()); } if (databaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getDatabaseEncryption()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, getDatabaseEncryption()); } if (verticalPodAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(39, getVerticalPodAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, getVerticalPodAutoscaling()); } if (shieldedNodes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(40, getShieldedNodes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(40, getShieldedNodes()); } if (releaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(41, getReleaseChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(41, getReleaseChannel()); } if (workloadIdentityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(43, getWorkloadIdentityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(43, getWorkloadIdentityConfig()); } if (costManagementConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(45, getCostManagementConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(45, getCostManagementConfig()); } if (clusterTelemetry_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(46, getClusterTelemetry()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(46, getClusterTelemetry()); } if (tpuConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(47, getTpuConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(47, getTpuConfig()); } if (notificationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(49, getNotificationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(49, getNotificationConfig()); } if (confidentialNodes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getConfidentialNodes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(50, getConfidentialNodes()); } if (workloadCertificates_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(52, getWorkloadCertificates()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(52, getWorkloadCertificates()); } if (workloadAltsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getWorkloadAltsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(53, getWorkloadAltsConfig()); } if (identityServiceConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(54, getIdentityServiceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(54, getIdentityServiceConfig()); } if (meshCertificates_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(67, getMeshCertificates()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(67, getMeshCertificates()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_); @@ -4492,13 +3912,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, createTime_); } if (status_ != com.google.container.v1beta1.Cluster.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(107, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(107, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(108, statusMessage_); } if (nodeIpv4CidrSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(109, nodeIpv4CidrSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(109, nodeIpv4CidrSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesIpv4Cidr_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(110, servicesIpv4Cidr_); @@ -4512,7 +3934,8 @@ public int getSerializedSize() { size += 2 * getInstanceGroupUrlsList().size(); } if (currentNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(112, currentNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(112, currentNodeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(113, expireTime_); @@ -4521,38 +3944,46 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114, location_); } if (enableTpu_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(115, enableTpu_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(115, enableTpu_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tpuIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(116, tpuIpv4CidrBlock_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(118, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(118, conditions_.get(i)); } if (master_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(124, getMaster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(124, getMaster()); } if (autopilot_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(128, getAutopilot()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(128, getAutopilot()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(129, id_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(131, getNodePoolDefaults()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(131, getNodePoolDefaults()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(132, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(132, getLoggingConfig()); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(133, getMonitoringConfig()); } if (nodePoolAutoConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(136, getNodePoolAutoConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(136, getNodePoolAutoConfig()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(137, getProtectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(137, getProtectConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4562,198 +3993,264 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Cluster)) { return super.equals(obj); } com.google.container.v1beta1.Cluster other = (com.google.container.v1beta1.Cluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (getInitialNodeCount() != other.getInitialNodeCount()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (getInitialNodeCount() + != other.getInitialNodeCount()) return false; if (hasNodeConfig() != other.hasNodeConfig()) return false; if (hasNodeConfig()) { - if (!getNodeConfig().equals(other.getNodeConfig())) return false; + if (!getNodeConfig() + .equals(other.getNodeConfig())) return false; } if (hasMasterAuth() != other.hasMasterAuth()) return false; if (hasMasterAuth()) { - if (!getMasterAuth().equals(other.getMasterAuth())) return false; - } - if (!getLoggingService().equals(other.getLoggingService())) return false; - if (!getMonitoringService().equals(other.getMonitoringService())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false; + if (!getMasterAuth() + .equals(other.getMasterAuth())) return false; + } + if (!getLoggingService() + .equals(other.getLoggingService())) return false; + if (!getMonitoringService() + .equals(other.getMonitoringService())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getClusterIpv4Cidr() + .equals(other.getClusterIpv4Cidr())) return false; if (hasAddonsConfig() != other.hasAddonsConfig()) return false; if (hasAddonsConfig()) { - if (!getAddonsConfig().equals(other.getAddonsConfig())) return false; - } - if (!getSubnetwork().equals(other.getSubnetwork())) return false; - if (!getNodePoolsList().equals(other.getNodePoolsList())) return false; - if (!getLocationsList().equals(other.getLocationsList())) return false; - if (getEnableKubernetesAlpha() != other.getEnableKubernetesAlpha()) return false; - if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; - if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false; + if (!getAddonsConfig() + .equals(other.getAddonsConfig())) return false; + } + if (!getSubnetwork() + .equals(other.getSubnetwork())) return false; + if (!getNodePoolsList() + .equals(other.getNodePoolsList())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; + if (getEnableKubernetesAlpha() + != other.getEnableKubernetesAlpha()) return false; + if (!internalGetResourceLabels().equals( + other.internalGetResourceLabels())) return false; + if (!getLabelFingerprint() + .equals(other.getLabelFingerprint())) return false; if (hasLegacyAbac() != other.hasLegacyAbac()) return false; if (hasLegacyAbac()) { - if (!getLegacyAbac().equals(other.getLegacyAbac())) return false; + if (!getLegacyAbac() + .equals(other.getLegacyAbac())) return false; } if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false; if (hasNetworkPolicy()) { - if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false; + if (!getNetworkPolicy() + .equals(other.getNetworkPolicy())) return false; } if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false; if (hasIpAllocationPolicy()) { - if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false; + if (!getIpAllocationPolicy() + .equals(other.getIpAllocationPolicy())) return false; } - if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig()) - return false; + if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig()) return false; if (hasMasterAuthorizedNetworksConfig()) { - if (!getMasterAuthorizedNetworksConfig().equals(other.getMasterAuthorizedNetworksConfig())) - return false; + if (!getMasterAuthorizedNetworksConfig() + .equals(other.getMasterAuthorizedNetworksConfig())) return false; } if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; if (hasMaintenancePolicy()) { - if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; + if (!getMaintenancePolicy() + .equals(other.getMaintenancePolicy())) return false; } if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; if (hasBinaryAuthorization()) { - if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false; + if (!getBinaryAuthorization() + .equals(other.getBinaryAuthorization())) return false; } if (hasPodSecurityPolicyConfig() != other.hasPodSecurityPolicyConfig()) return false; if (hasPodSecurityPolicyConfig()) { - if (!getPodSecurityPolicyConfig().equals(other.getPodSecurityPolicyConfig())) return false; + if (!getPodSecurityPolicyConfig() + .equals(other.getPodSecurityPolicyConfig())) return false; } if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling().equals(other.getAutoscaling())) return false; + if (!getAutoscaling() + .equals(other.getAutoscaling())) return false; } if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; } - if (getPrivateCluster() != other.getPrivateCluster()) return false; - if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; + if (getPrivateCluster() + != other.getPrivateCluster()) return false; + if (!getMasterIpv4CidrBlock() + .equals(other.getMasterIpv4CidrBlock())) return false; if (hasDefaultMaxPodsConstraint() != other.hasDefaultMaxPodsConstraint()) return false; if (hasDefaultMaxPodsConstraint()) { - if (!getDefaultMaxPodsConstraint().equals(other.getDefaultMaxPodsConstraint())) return false; + if (!getDefaultMaxPodsConstraint() + .equals(other.getDefaultMaxPodsConstraint())) return false; } if (hasResourceUsageExportConfig() != other.hasResourceUsageExportConfig()) return false; if (hasResourceUsageExportConfig()) { - if (!getResourceUsageExportConfig().equals(other.getResourceUsageExportConfig())) - return false; + if (!getResourceUsageExportConfig() + .equals(other.getResourceUsageExportConfig())) return false; } if (hasAuthenticatorGroupsConfig() != other.hasAuthenticatorGroupsConfig()) return false; if (hasAuthenticatorGroupsConfig()) { - if (!getAuthenticatorGroupsConfig().equals(other.getAuthenticatorGroupsConfig())) - return false; + if (!getAuthenticatorGroupsConfig() + .equals(other.getAuthenticatorGroupsConfig())) return false; } if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false; if (hasPrivateClusterConfig()) { - if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false; + if (!getPrivateClusterConfig() + .equals(other.getPrivateClusterConfig())) return false; } if (hasVerticalPodAutoscaling() != other.hasVerticalPodAutoscaling()) return false; if (hasVerticalPodAutoscaling()) { - if (!getVerticalPodAutoscaling().equals(other.getVerticalPodAutoscaling())) return false; + if (!getVerticalPodAutoscaling() + .equals(other.getVerticalPodAutoscaling())) return false; } if (hasShieldedNodes() != other.hasShieldedNodes()) return false; if (hasShieldedNodes()) { - if (!getShieldedNodes().equals(other.getShieldedNodes())) return false; + if (!getShieldedNodes() + .equals(other.getShieldedNodes())) return false; } if (hasReleaseChannel() != other.hasReleaseChannel()) return false; if (hasReleaseChannel()) { - if (!getReleaseChannel().equals(other.getReleaseChannel())) return false; + if (!getReleaseChannel() + .equals(other.getReleaseChannel())) return false; } if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig() + .equals(other.getWorkloadIdentityConfig())) return false; } if (hasWorkloadCertificates() != other.hasWorkloadCertificates()) return false; if (hasWorkloadCertificates()) { - if (!getWorkloadCertificates().equals(other.getWorkloadCertificates())) return false; + if (!getWorkloadCertificates() + .equals(other.getWorkloadCertificates())) return false; } if (hasMeshCertificates() != other.hasMeshCertificates()) return false; if (hasMeshCertificates()) { - if (!getMeshCertificates().equals(other.getMeshCertificates())) return false; + if (!getMeshCertificates() + .equals(other.getMeshCertificates())) return false; } if (hasWorkloadAltsConfig() != other.hasWorkloadAltsConfig()) return false; if (hasWorkloadAltsConfig()) { - if (!getWorkloadAltsConfig().equals(other.getWorkloadAltsConfig())) return false; + if (!getWorkloadAltsConfig() + .equals(other.getWorkloadAltsConfig())) return false; } if (hasCostManagementConfig() != other.hasCostManagementConfig()) return false; if (hasCostManagementConfig()) { - if (!getCostManagementConfig().equals(other.getCostManagementConfig())) return false; + if (!getCostManagementConfig() + .equals(other.getCostManagementConfig())) return false; } if (hasClusterTelemetry() != other.hasClusterTelemetry()) return false; if (hasClusterTelemetry()) { - if (!getClusterTelemetry().equals(other.getClusterTelemetry())) return false; + if (!getClusterTelemetry() + .equals(other.getClusterTelemetry())) return false; } if (hasTpuConfig() != other.hasTpuConfig()) return false; if (hasTpuConfig()) { - if (!getTpuConfig().equals(other.getTpuConfig())) return false; + if (!getTpuConfig() + .equals(other.getTpuConfig())) return false; } if (hasNotificationConfig() != other.hasNotificationConfig()) return false; if (hasNotificationConfig()) { - if (!getNotificationConfig().equals(other.getNotificationConfig())) return false; + if (!getNotificationConfig() + .equals(other.getNotificationConfig())) return false; } if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; if (hasConfidentialNodes()) { - if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; + if (!getConfidentialNodes() + .equals(other.getConfidentialNodes())) return false; } if (hasIdentityServiceConfig() != other.hasIdentityServiceConfig()) return false; if (hasIdentityServiceConfig()) { - if (!getIdentityServiceConfig().equals(other.getIdentityServiceConfig())) return false; - } - if (!getSelfLink().equals(other.getSelfLink())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getEndpoint().equals(other.getEndpoint())) return false; - if (!getInitialClusterVersion().equals(other.getInitialClusterVersion())) return false; - if (!getCurrentMasterVersion().equals(other.getCurrentMasterVersion())) return false; - if (!getCurrentNodeVersion().equals(other.getCurrentNodeVersion())) return false; - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getIdentityServiceConfig() + .equals(other.getIdentityServiceConfig())) return false; + } + if (!getSelfLink() + .equals(other.getSelfLink())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getEndpoint() + .equals(other.getEndpoint())) return false; + if (!getInitialClusterVersion() + .equals(other.getInitialClusterVersion())) return false; + if (!getCurrentMasterVersion() + .equals(other.getCurrentMasterVersion())) return false; + if (!getCurrentNodeVersion() + .equals(other.getCurrentNodeVersion())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; if (status_ != other.status_) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (getNodeIpv4CidrSize() != other.getNodeIpv4CidrSize()) return false; - if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false; - if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false; - if (getCurrentNodeCount() != other.getCurrentNodeCount()) return false; - if (!getExpireTime().equals(other.getExpireTime())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (getEnableTpu() != other.getEnableTpu()) return false; - if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (getNodeIpv4CidrSize() + != other.getNodeIpv4CidrSize()) return false; + if (!getServicesIpv4Cidr() + .equals(other.getServicesIpv4Cidr())) return false; + if (!getInstanceGroupUrlsList() + .equals(other.getInstanceGroupUrlsList())) return false; + if (getCurrentNodeCount() + != other.getCurrentNodeCount()) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (getEnableTpu() + != other.getEnableTpu()) return false; + if (!getTpuIpv4CidrBlock() + .equals(other.getTpuIpv4CidrBlock())) return false; if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false; if (hasDatabaseEncryption()) { - if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false; + if (!getDatabaseEncryption() + .equals(other.getDatabaseEncryption())) return false; } - if (!getConditionsList().equals(other.getConditionsList())) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; if (hasMaster() != other.hasMaster()) return false; if (hasMaster()) { - if (!getMaster().equals(other.getMaster())) return false; + if (!getMaster() + .equals(other.getMaster())) return false; } if (hasAutopilot() != other.hasAutopilot()) return false; if (hasAutopilot()) { - if (!getAutopilot().equals(other.getAutopilot())) return false; + if (!getAutopilot() + .equals(other.getAutopilot())) return false; } - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (hasNodePoolDefaults() != other.hasNodePoolDefaults()) return false; if (hasNodePoolDefaults()) { - if (!getNodePoolDefaults().equals(other.getNodePoolDefaults())) return false; + if (!getNodePoolDefaults() + .equals(other.getNodePoolDefaults())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig() + .equals(other.getMonitoringConfig())) return false; } if (hasNodePoolAutoConfig() != other.hasNodePoolAutoConfig()) return false; if (hasNodePoolAutoConfig()) { - if (!getNodePoolAutoConfig().equals(other.getNodePoolAutoConfig())) return false; + if (!getNodePoolAutoConfig() + .equals(other.getNodePoolAutoConfig())) return false; } if (hasProtectConfig() != other.hasProtectConfig()) return false; if (hasProtectConfig()) { - if (!getProtectConfig().equals(other.getProtectConfig())) return false; + if (!getProtectConfig() + .equals(other.getProtectConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4803,7 +4300,8 @@ public int hashCode() { hash = (53 * hash) + getLocationsList().hashCode(); } hash = (37 * hash) + ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableKubernetesAlpha()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableKubernetesAlpha()); if (!internalGetResourceLabels().getMap().isEmpty()) { hash = (37 * hash) + RESOURCE_LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetResourceLabels().hashCode(); @@ -4847,7 +4345,8 @@ public int hashCode() { hash = (53 * hash) + getNetworkConfig().hashCode(); } hash = (37 * hash) + PRIVATE_CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrivateCluster()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPrivateCluster()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); if (hasDefaultMaxPodsConstraint()) { @@ -4951,7 +4450,8 @@ public int hashCode() { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); hash = (37 * hash) + ENABLE_TPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableTpu()); hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode(); if (hasDatabaseEncryption()) { @@ -4997,146 +4497,140 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Cluster parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Cluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Cluster parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1beta1.Cluster parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.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.container.v1beta1.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Cluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Google Kubernetes Engine cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.Cluster} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Cluster) com.google.container.v1beta1.ClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Cluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 15: return internalGetMutableResourceLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Cluster_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Cluster.class, - com.google.container.v1beta1.Cluster.Builder.class); + com.google.container.v1beta1.Cluster.class, com.google.container.v1beta1.Cluster.Builder.class); } // Construct using com.google.container.v1beta1.Cluster.newBuilder() @@ -5144,20 +4638,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNodePoolsFieldBuilder(); getConditionsFieldBuilder(); getNodePoolDefaultsFieldBuilder(); getProtectConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -5464,9 +4958,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Cluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_descriptor; } @java.lang.Override @@ -5747,39 +5241,38 @@ public com.google.container.v1beta1.Cluster buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Cluster) { - return mergeFrom((com.google.container.v1beta1.Cluster) other); + return mergeFrom((com.google.container.v1beta1.Cluster)other); } else { super.mergeFrom(other); return this; @@ -5846,10 +5339,9 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodePoolsFieldBuilder() - : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNodePoolsFieldBuilder() : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -5868,7 +5360,8 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { if (other.getEnableKubernetesAlpha() != false) { setEnableKubernetesAlpha(other.getEnableKubernetesAlpha()); } - internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels()); + internalGetMutableResourceLabels().mergeFrom( + other.internalGetResourceLabels()); if (!other.getLabelFingerprint().isEmpty()) { labelFingerprint_ = other.labelFingerprint_; onChanged(); @@ -6049,10 +5542,9 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { conditionsBuilder_ = null; conditions_ = other.conditions_; bitField0_ = (bitField0_ & ~0x00000010); - conditionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConditionsFieldBuilder() - : null; + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConditionsFieldBuilder() : null; } else { conditionsBuilder_.addAllMessages(other.conditions_); } @@ -6109,484 +5601,462 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - initialNodeCount_ = input.readInt32(); - - break; - } // case 24 - case 34: - { - input.readMessage(getNodeConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getMasterAuthFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - loggingService_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - monitoringService_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - network_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: - { - input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 82 - case 90: - { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 98: - { - com.google.container.v1beta1.NodePool m = - input.readMessage( - com.google.container.v1beta1.NodePool.parser(), extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 112: - { - enableKubernetesAlpha_ = input.readBool(); - - break; - } // case 112 - case 122: - { - com.google.protobuf.MapEntry resourceLabels__ = - input.readMessage( - ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableResourceLabels() - .getMutableMap() - .put(resourceLabels__.getKey(), resourceLabels__.getValue()); - break; - } // case 122 - case 130: - { - labelFingerprint_ = input.readStringRequireUtf8(); - - break; - } // case 130 - case 146: - { - input.readMessage(getLegacyAbacFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 146 - case 154: - { - input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 154 - case 162: - { - input.readMessage( - getIpAllocationPolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 162 - case 178: - { - input.readMessage( - getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 178 - case 186: - { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 186 - case 194: - { - input.readMessage( - getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 194 - case 202: - { - input.readMessage( - getPodSecurityPolicyConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 202 - case 210: - { - input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 210 - case 218: - { - input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 218 - case 224: - { - privateCluster_ = input.readBool(); - - break; - } // case 224 - case 234: - { - masterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 234 - case 242: - { - input.readMessage( - getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 242 - case 266: - { - input.readMessage( - getResourceUsageExportConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 266 - case 274: - { - input.readMessage( - getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 274 - case 298: - { - input.readMessage( - getPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 298 - case 306: - { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 306 - case 314: - { - input.readMessage( - getVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 314 - case 322: - { - input.readMessage(getShieldedNodesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 322 - case 330: - { - input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 330 - case 346: - { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 346 - case 362: - { - input.readMessage( - getCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 362 - case 370: - { - input.readMessage( - getClusterTelemetryFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 370 - case 378: - { - input.readMessage(getTpuConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 378 - case 394: - { - input.readMessage( - getNotificationConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 394 - case 402: - { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 402 - case 418: - { - input.readMessage( - getWorkloadCertificatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 418 - case 426: - { - input.readMessage( - getWorkloadAltsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 426 - case 434: - { - input.readMessage( - getIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 434 - case 538: - { - input.readMessage( - getMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 538 - case 802: - { - selfLink_ = input.readStringRequireUtf8(); - - break; - } // case 802 - case 810: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 810 - case 818: - { - endpoint_ = input.readStringRequireUtf8(); - - break; - } // case 818 - case 826: - { - initialClusterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 826 - case 834: - { - currentMasterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 834 - case 842: - { - currentNodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 842 - case 850: - { - createTime_ = input.readStringRequireUtf8(); - - break; - } // case 850 - case 856: - { - status_ = input.readEnum(); - - break; - } // case 856 - case 866: - { - statusMessage_ = input.readStringRequireUtf8(); - - break; - } // case 866 - case 872: - { - nodeIpv4CidrSize_ = input.readInt32(); - - break; - } // case 872 - case 882: - { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 882 - case 890: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceGroupUrlsIsMutable(); - instanceGroupUrls_.add(s); - break; - } // case 890 - case 896: - { - currentNodeCount_ = input.readInt32(); - - break; - } // case 896 - case 906: - { - expireTime_ = input.readStringRequireUtf8(); - - break; - } // case 906 - case 914: - { - location_ = input.readStringRequireUtf8(); - - break; - } // case 914 - case 920: - { - enableTpu_ = input.readBool(); - - break; - } // case 920 - case 930: - { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 930 - case 946: - { - com.google.container.v1beta1.StatusCondition m = - input.readMessage( - com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry); - if (conditionsBuilder_ == null) { - ensureConditionsIsMutable(); - conditions_.add(m); - } else { - conditionsBuilder_.addMessage(m); - } - break; - } // case 946 - case 994: - { - input.readMessage(getMasterFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 994 - case 1026: - { - input.readMessage(getAutopilotFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1026 - case 1034: - { - id_ = input.readStringRequireUtf8(); - - break; - } // case 1034 - case 1050: - { - input.readMessage( - getNodePoolDefaultsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 1050 - case 1058: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1058 - case 1066: - { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1066 - case 1090: - { - input.readMessage( - getNodePoolAutoConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 1090 - case 1098: - { - input.readMessage(getProtectConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 1098 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + initialNodeCount_ = input.readInt32(); + + break; + } // case 24 + case 34: { + input.readMessage( + getNodeConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getMasterAuthFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + loggingService_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + monitoringService_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + network_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: { + input.readMessage( + getAddonsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 82 + case 90: { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 98: { + com.google.container.v1beta1.NodePool m = + input.readMessage( + com.google.container.v1beta1.NodePool.parser(), + extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 106 + case 112: { + enableKubernetesAlpha_ = input.readBool(); + + break; + } // case 112 + case 122: { + com.google.protobuf.MapEntry + resourceLabels__ = input.readMessage( + ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableResourceLabels().getMutableMap().put( + resourceLabels__.getKey(), resourceLabels__.getValue()); + break; + } // case 122 + case 130: { + labelFingerprint_ = input.readStringRequireUtf8(); + + break; + } // case 130 + case 146: { + input.readMessage( + getLegacyAbacFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 146 + case 154: { + input.readMessage( + getNetworkPolicyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 154 + case 162: { + input.readMessage( + getIpAllocationPolicyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 162 + case 178: { + input.readMessage( + getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 178 + case 186: { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 186 + case 194: { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 194 + case 202: { + input.readMessage( + getPodSecurityPolicyConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 202 + case 210: { + input.readMessage( + getAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 210 + case 218: { + input.readMessage( + getNetworkConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 218 + case 224: { + privateCluster_ = input.readBool(); + + break; + } // case 224 + case 234: { + masterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 234 + case 242: { + input.readMessage( + getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 242 + case 266: { + input.readMessage( + getResourceUsageExportConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 266 + case 274: { + input.readMessage( + getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 274 + case 298: { + input.readMessage( + getPrivateClusterConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 298 + case 306: { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 306 + case 314: { + input.readMessage( + getVerticalPodAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 314 + case 322: { + input.readMessage( + getShieldedNodesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 322 + case 330: { + input.readMessage( + getReleaseChannelFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 330 + case 346: { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 346 + case 362: { + input.readMessage( + getCostManagementConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 362 + case 370: { + input.readMessage( + getClusterTelemetryFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 370 + case 378: { + input.readMessage( + getTpuConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 378 + case 394: { + input.readMessage( + getNotificationConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 394 + case 402: { + input.readMessage( + getConfidentialNodesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 402 + case 418: { + input.readMessage( + getWorkloadCertificatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 418 + case 426: { + input.readMessage( + getWorkloadAltsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 426 + case 434: { + input.readMessage( + getIdentityServiceConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 434 + case 538: { + input.readMessage( + getMeshCertificatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 538 + case 802: { + selfLink_ = input.readStringRequireUtf8(); + + break; + } // case 802 + case 810: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 810 + case 818: { + endpoint_ = input.readStringRequireUtf8(); + + break; + } // case 818 + case 826: { + initialClusterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 826 + case 834: { + currentMasterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 834 + case 842: { + currentNodeVersion_ = input.readStringRequireUtf8(); + + break; + } // case 842 + case 850: { + createTime_ = input.readStringRequireUtf8(); + + break; + } // case 850 + case 856: { + status_ = input.readEnum(); + + break; + } // case 856 + case 866: { + statusMessage_ = input.readStringRequireUtf8(); + + break; + } // case 866 + case 872: { + nodeIpv4CidrSize_ = input.readInt32(); + + break; + } // case 872 + case 882: { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 882 + case 890: { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceGroupUrlsIsMutable(); + instanceGroupUrls_.add(s); + break; + } // case 890 + case 896: { + currentNodeCount_ = input.readInt32(); + + break; + } // case 896 + case 906: { + expireTime_ = input.readStringRequireUtf8(); + + break; + } // case 906 + case 914: { + location_ = input.readStringRequireUtf8(); + + break; + } // case 914 + case 920: { + enableTpu_ = input.readBool(); + + break; + } // case 920 + case 930: { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 930 + case 946: { + com.google.container.v1beta1.StatusCondition m = + input.readMessage( + com.google.container.v1beta1.StatusCondition.parser(), + extensionRegistry); + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(m); + } else { + conditionsBuilder_.addMessage(m); + } + break; + } // case 946 + case 994: { + input.readMessage( + getMasterFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 994 + case 1026: { + input.readMessage( + getAutopilotFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1026 + case 1034: { + id_ = input.readStringRequireUtf8(); + + break; + } // case 1034 + case 1050: { + input.readMessage( + getNodePoolDefaultsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 1050 + case 1058: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1058 + case 1066: { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1066 + case 1090: { + input.readMessage( + getNodePoolAutoConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 1090 + case 1098: { + input.readMessage( + getProtectConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 1098 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6596,13 +6066,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6613,13 +6080,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6628,8 +6095,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6640,14 +6105,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -6655,8 +6121,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6667,22 +6131,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6693,18 +6155,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6715,16 +6174,16 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6732,20 +6191,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6754,21 +6211,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -6776,70 +6232,61 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * An optional description of this cluster.
      * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private int initialNodeCount_; + private int initialNodeCount_ ; /** - * - * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6853,19 +6300,15 @@ 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=1578 + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1580 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getInitialNodeCount() { + @java.lang.Deprecated public int getInitialNodeCount() { return initialNodeCount_; } /** - * - * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6879,22 +6322,18 @@ 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=1578 + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1580 * @param value The initialNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setInitialNodeCount(int value) { - + @java.lang.Deprecated public Builder setInitialNodeCount(int value) { + initialNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6908,14 +6347,12 @@ 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=1578 + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1580 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearInitialNodeCount() { - + @java.lang.Deprecated public Builder clearInitialNodeCount() { + initialNodeCount_ = 0; onChanged(); return this; @@ -6923,13 +6360,8 @@ public Builder clearInitialNodeCount() { private com.google.container.v1beta1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, - com.google.container.v1beta1.NodeConfig.Builder, - com.google.container.v1beta1.NodeConfigOrBuilder> - nodeConfigBuilder_; + com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> nodeConfigBuilder_; /** - * - * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6944,18 +6376,14 @@ 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=1591 + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1593 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated - public boolean hasNodeConfig() { + @java.lang.Deprecated public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** - * - * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6970,24 +6398,18 @@ 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=1591 + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1593 * @return The nodeConfig. */ - @java.lang.Deprecated - public com.google.container.v1beta1.NodeConfig getNodeConfig() { + @java.lang.Deprecated public com.google.container.v1beta1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null - ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() - : nodeConfig_; + return nodeConfig_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** - * - * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -7003,8 +6425,7 @@ public com.google.container.v1beta1.NodeConfig getNodeConfig() {
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig value) {
+    @java.lang.Deprecated public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7018,8 +6439,6 @@ public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -7035,8 +6454,8 @@ public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig value) {
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig.Builder builderForValue) {
+    @java.lang.Deprecated public Builder setNodeConfig(
+        com.google.container.v1beta1.NodeConfig.Builder builderForValue) {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = builderForValue.build();
         onChanged();
@@ -7047,8 +6466,6 @@ public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -7064,14 +6481,11 @@ public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig.Builder bui
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder mergeNodeConfig(com.google.container.v1beta1.NodeConfig value) {
+    @java.lang.Deprecated public Builder mergeNodeConfig(com.google.container.v1beta1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (nodeConfig_ != null) {
           nodeConfig_ =
-              com.google.container.v1beta1.NodeConfig.newBuilder(nodeConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial();
         } else {
           nodeConfig_ = value;
         }
@@ -7083,8 +6497,6 @@ public Builder mergeNodeConfig(com.google.container.v1beta1.NodeConfig value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -7100,8 +6512,7 @@ public Builder mergeNodeConfig(com.google.container.v1beta1.NodeConfig value) {
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public Builder clearNodeConfig() {
+    @java.lang.Deprecated public Builder clearNodeConfig() {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = null;
         onChanged();
@@ -7113,8 +6524,6 @@ public Builder clearNodeConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -7130,15 +6539,12 @@ public Builder clearNodeConfig() {
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1beta1.NodeConfig.Builder getNodeConfigBuilder() {
-
+    @java.lang.Deprecated public com.google.container.v1beta1.NodeConfig.Builder getNodeConfigBuilder() {
+      
       onChanged();
       return getNodeConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -7154,19 +6560,15 @@ public com.google.container.v1beta1.NodeConfig.Builder getNodeConfigBuilder() {
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated
-    public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+    @java.lang.Deprecated public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
       if (nodeConfigBuilder_ != null) {
         return nodeConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodeConfig_ == null
-            ? com.google.container.v1beta1.NodeConfig.getDefaultInstance()
-            : nodeConfig_;
+        return nodeConfig_ == null ?
+            com.google.container.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -7183,17 +6585,14 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder()
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeConfig,
-            com.google.container.v1beta1.NodeConfig.Builder,
-            com.google.container.v1beta1.NodeConfigOrBuilder>
+        com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> 
         getNodeConfigFieldBuilder() {
       if (nodeConfigBuilder_ == null) {
-        nodeConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodeConfig,
-                com.google.container.v1beta1.NodeConfig.Builder,
-                com.google.container.v1beta1.NodeConfigOrBuilder>(
-                getNodeConfig(), getParentForChildren(), isClean());
+        nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder>(
+                getNodeConfig(),
+                getParentForChildren(),
+                isClean());
         nodeConfig_ = null;
       }
       return nodeConfigBuilder_;
@@ -7201,13 +6600,8 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder()
 
     private com.google.container.v1beta1.MasterAuth masterAuth_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MasterAuth,
-            com.google.container.v1beta1.MasterAuth.Builder,
-            com.google.container.v1beta1.MasterAuthOrBuilder>
-        masterAuthBuilder_;
+        com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> masterAuthBuilder_;
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7217,15 +6611,12 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder()
      * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; - * * @return Whether the masterAuth field is set. */ public boolean hasMasterAuth() { return masterAuthBuilder_ != null || masterAuth_ != null; } /** - * - * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7235,21 +6626,16 @@ public boolean hasMasterAuth() {
      * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; - * * @return The masterAuth. */ public com.google.container.v1beta1.MasterAuth getMasterAuth() { if (masterAuthBuilder_ == null) { - return masterAuth_ == null - ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() - : masterAuth_; + return masterAuth_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : masterAuth_; } else { return masterAuthBuilder_.getMessage(); } } /** - * - * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7274,8 +6660,6 @@ public Builder setMasterAuth(com.google.container.v1beta1.MasterAuth value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7286,7 +6670,8 @@ public Builder setMasterAuth(com.google.container.v1beta1.MasterAuth value) {
      *
      * .google.container.v1beta1.MasterAuth master_auth = 5;
      */
-    public Builder setMasterAuth(com.google.container.v1beta1.MasterAuth.Builder builderForValue) {
+    public Builder setMasterAuth(
+        com.google.container.v1beta1.MasterAuth.Builder builderForValue) {
       if (masterAuthBuilder_ == null) {
         masterAuth_ = builderForValue.build();
         onChanged();
@@ -7297,8 +6682,6 @@ public Builder setMasterAuth(com.google.container.v1beta1.MasterAuth.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7313,9 +6696,7 @@ public Builder mergeMasterAuth(com.google.container.v1beta1.MasterAuth value) {
       if (masterAuthBuilder_ == null) {
         if (masterAuth_ != null) {
           masterAuth_ =
-              com.google.container.v1beta1.MasterAuth.newBuilder(masterAuth_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.MasterAuth.newBuilder(masterAuth_).mergeFrom(value).buildPartial();
         } else {
           masterAuth_ = value;
         }
@@ -7327,8 +6708,6 @@ public Builder mergeMasterAuth(com.google.container.v1beta1.MasterAuth value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7351,8 +6730,6 @@ public Builder clearMasterAuth() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7364,13 +6741,11 @@ public Builder clearMasterAuth() {
      * .google.container.v1beta1.MasterAuth master_auth = 5;
      */
     public com.google.container.v1beta1.MasterAuth.Builder getMasterAuthBuilder() {
-
+      
       onChanged();
       return getMasterAuthFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7385,14 +6760,11 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
       if (masterAuthBuilder_ != null) {
         return masterAuthBuilder_.getMessageOrBuilder();
       } else {
-        return masterAuth_ == null
-            ? com.google.container.v1beta1.MasterAuth.getDefaultInstance()
-            : masterAuth_;
+        return masterAuth_ == null ?
+            com.google.container.v1beta1.MasterAuth.getDefaultInstance() : masterAuth_;
       }
     }
     /**
-     *
-     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -7404,17 +6776,14 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
      * .google.container.v1beta1.MasterAuth master_auth = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MasterAuth,
-            com.google.container.v1beta1.MasterAuth.Builder,
-            com.google.container.v1beta1.MasterAuthOrBuilder>
+        com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> 
         getMasterAuthFieldBuilder() {
       if (masterAuthBuilder_ == null) {
-        masterAuthBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.MasterAuth,
-                com.google.container.v1beta1.MasterAuth.Builder,
-                com.google.container.v1beta1.MasterAuthOrBuilder>(
-                getMasterAuth(), getParentForChildren(), isClean());
+        masterAuthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder>(
+                getMasterAuth(),
+                getParentForChildren(),
+                isClean());
         masterAuth_ = null;
       }
       return masterAuthBuilder_;
@@ -7422,8 +6791,6 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
 
     private java.lang.Object loggingService_ = "";
     /**
-     *
-     *
      * 
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -7437,13 +6804,13 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
      * 
* * string logging_service = 6; - * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -7452,8 +6819,6 @@ public java.lang.String getLoggingService() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -7467,14 +6832,15 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 6; - * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -7482,8 +6848,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -7497,22 +6861,20 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() {
      * 
* * string logging_service = 6; - * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService(java.lang.String value) { + public Builder setLoggingService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -7526,18 +6888,15 @@ public Builder setLoggingService(java.lang.String value) {
      * 
* * string logging_service = 6; - * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -7551,16 +6910,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 6; - * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -7568,8 +6927,6 @@ public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object monitoringService_ = ""; /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -7583,13 +6940,13 @@ public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string monitoring_service = 7; - * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -7598,8 +6955,6 @@ public java.lang.String getMonitoringService() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -7613,14 +6968,15 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 7; - * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -7628,8 +6984,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -7643,22 +6997,20 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() {
      * 
* * string monitoring_service = 7; - * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService(java.lang.String value) { + public Builder setMonitoringService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -7672,18 +7024,15 @@ public Builder setMonitoringService(java.lang.String value) {
      * 
* * string monitoring_service = 7; - * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -7697,16 +7046,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 7; - * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -7714,8 +7063,6 @@ public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7725,13 +7072,13 @@ public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) {
      * 
* * string network = 8; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -7740,8 +7087,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7751,14 +7096,15 @@ public java.lang.String getNetwork() {
      * 
* * string network = 8; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -7766,8 +7112,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7777,22 +7121,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string network = 8; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7802,18 +7144,15 @@ public Builder setNetwork(java.lang.String value) {
      * 
* * string network = 8; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7823,16 +7162,16 @@ public Builder clearNetwork() {
      * 
* * string network = 8; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -7840,8 +7179,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterIpv4Cidr_ = ""; /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7850,13 +7187,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_ipv4_cidr = 9; - * * @return The clusterIpv4Cidr. */ public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -7865,8 +7202,6 @@ public java.lang.String getClusterIpv4Cidr() { } } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7875,14 +7210,15 @@ public java.lang.String getClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; - * * @return The bytes for clusterIpv4Cidr. */ - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -7890,8 +7226,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { } } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7900,22 +7234,20 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() {
      * 
* * string cluster_ipv4_cidr = 9; - * * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4Cidr(java.lang.String value) { + public Builder setClusterIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7924,18 +7256,15 @@ public Builder setClusterIpv4Cidr(java.lang.String value) {
      * 
* * string cluster_ipv4_cidr = 9; - * * @return This builder for chaining. */ public Builder clearClusterIpv4Cidr() { - + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7944,16 +7273,16 @@ public Builder clearClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; - * * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -7961,47 +7290,34 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder> - addonsConfigBuilder_; + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> addonsConfigBuilder_; /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; - * * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; - * * @return The addonsConfig. */ public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -8022,8 +7338,6 @@ public Builder setAddonsConfig(com.google.container.v1beta1.AddonsConfig value) return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -8042,8 +7356,6 @@ public Builder setAddonsConfig( return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -8054,9 +7366,7 @@ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); } else { addonsConfig_ = value; } @@ -8068,8 +7378,6 @@ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -8088,8 +7396,6 @@ public Builder clearAddonsConfig() { return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -8097,13 +7403,11 @@ public Builder clearAddonsConfig() { * .google.container.v1beta1.AddonsConfig addons_config = 10; */ public com.google.container.v1beta1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -8114,14 +7418,11 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? + com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -8129,17 +7430,14 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild * .google.container.v1beta1.AddonsConfig addons_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder> + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder>( - getAddonsConfig(), getParentForChildren(), isClean()); + addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder>( + getAddonsConfig(), + getParentForChildren(), + isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -8147,8 +7445,6 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild private java.lang.Object subnetwork_ = ""; /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -8157,13 +7453,13 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild
      * 
* * string subnetwork = 11; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -8172,8 +7468,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -8182,14 +7476,15 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 11; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -8197,8 +7492,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -8207,22 +7500,20 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
      * 
* * string subnetwork = 11; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -8231,18 +7522,15 @@ public Builder setSubnetwork(java.lang.String value) {
      * 
* * string subnetwork = 11; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -8251,40 +7539,34 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 11; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } private java.util.List nodePools_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, - com.google.container.v1beta1.NodePool.Builder, - com.google.container.v1beta1.NodePoolOrBuilder> - nodePoolsBuilder_; + com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> nodePoolsBuilder_; /** - * - * *
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8301,8 +7583,6 @@ public java.util.List getNodePoolsList()
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8319,8 +7599,6 @@ public int getNodePoolsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8337,8 +7615,6 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8347,7 +7623,8 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public Builder setNodePools(int index, com.google.container.v1beta1.NodePool value) {
+    public Builder setNodePools(
+        int index, com.google.container.v1beta1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8361,8 +7638,6 @@ public Builder setNodePools(int index, com.google.container.v1beta1.NodePool val
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8383,8 +7658,6 @@ public Builder setNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8407,8 +7680,6 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8417,7 +7688,8 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool value) {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(int index, com.google.container.v1beta1.NodePool value) {
+    public Builder addNodePools(
+        int index, com.google.container.v1beta1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -8431,8 +7703,6 @@ public Builder addNodePools(int index, com.google.container.v1beta1.NodePool val
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8441,7 +7711,8 @@ public Builder addNodePools(int index, com.google.container.v1beta1.NodePool val
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(com.google.container.v1beta1.NodePool.Builder builderForValue) {
+    public Builder addNodePools(
+        com.google.container.v1beta1.NodePool.Builder builderForValue) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
         nodePools_.add(builderForValue.build());
@@ -8452,8 +7723,6 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8474,8 +7743,6 @@ public Builder addNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8488,7 +7755,8 @@ public Builder addAllNodePools(
         java.lang.Iterable values) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, nodePools_);
         onChanged();
       } else {
         nodePoolsBuilder_.addAllMessages(values);
@@ -8496,8 +7764,6 @@ public Builder addAllNodePools(
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8517,8 +7783,6 @@ public Builder clearNodePools() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8538,8 +7802,6 @@ public Builder removeNodePools(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8548,12 +7810,11 @@ public Builder removeNodePools(int index) {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(int index) {
+    public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(
+        int index) {
       return getNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8562,16 +7823,14 @@ public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(int ind
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
+    public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
+        int index) {
       if (nodePoolsBuilder_ == null) {
-        return nodePools_.get(index);
-      } else {
+        return nodePools_.get(index);  } else {
         return nodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8580,8 +7839,8 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public java.util.List
-        getNodePoolsOrBuilderList() {
+    public java.util.List 
+         getNodePoolsOrBuilderList() {
       if (nodePoolsBuilder_ != null) {
         return nodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -8589,8 +7848,6 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int
       }
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8600,12 +7857,10 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
     public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder() {
-      return getNodePoolsFieldBuilder()
-          .addBuilder(com.google.container.v1beta1.NodePool.getDefaultInstance());
+      return getNodePoolsFieldBuilder().addBuilder(
+          com.google.container.v1beta1.NodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8614,13 +7869,12 @@ public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder() {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(int index) {
-      return getNodePoolsFieldBuilder()
-          .addBuilder(index, com.google.container.v1beta1.NodePool.getDefaultInstance());
+    public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(
+        int index) {
+      return getNodePoolsFieldBuilder().addBuilder(
+          index, com.google.container.v1beta1.NodePool.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -8629,39 +7883,33 @@ public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(int ind
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public java.util.List getNodePoolsBuilderList() {
+    public java.util.List 
+         getNodePoolsBuilderList() {
       return getNodePoolsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.NodePool,
-            com.google.container.v1beta1.NodePool.Builder,
-            com.google.container.v1beta1.NodePoolOrBuilder>
+        com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> 
         getNodePoolsFieldBuilder() {
       if (nodePoolsBuilder_ == null) {
-        nodePoolsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1beta1.NodePool,
-                com.google.container.v1beta1.NodePool.Builder,
-                com.google.container.v1beta1.NodePoolOrBuilder>(
-                nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder>(
+                nodePools_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         nodePools_ = null;
       }
       return nodePoolsBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList locations_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureLocationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         locations_ = new com.google.protobuf.LazyStringArrayList(locations_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8675,15 +7923,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8697,15 +7943,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8719,7 +7962,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -8727,8 +7969,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8742,16 +7982,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8765,23 +8003,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8795,22 +8031,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8824,19 +8058,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8850,7 +8083,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 13; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -8860,8 +8092,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8875,25 +8105,23 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } - private boolean enableKubernetesAlpha_; + private boolean enableKubernetesAlpha_ ; /** - * - * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -8904,7 +8132,6 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) {
      * 
* * bool enable_kubernetes_alpha = 14; - * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -8912,8 +8139,6 @@ public boolean getEnableKubernetesAlpha() { return enableKubernetesAlpha_; } /** - * - * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -8924,19 +8149,16 @@ public boolean getEnableKubernetesAlpha() {
      * 
* * bool enable_kubernetes_alpha = 14; - * * @param value The enableKubernetesAlpha to set. * @return This builder for chaining. */ public Builder setEnableKubernetesAlpha(boolean value) { - + enableKubernetesAlpha_ = value; onChanged(); return this; } /** - * - * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -8947,34 +8169,31 @@ public Builder setEnableKubernetesAlpha(boolean value) {
      * 
* * bool enable_kubernetes_alpha = 14; - * * @return This builder for chaining. */ public Builder clearEnableKubernetesAlpha() { - + enableKubernetesAlpha_ = false; onChanged(); return this; } - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } - private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged(); - ; + internalGetMutableResourceLabels() { + onChanged();; if (resourceLabels_ == null) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -8986,8 +8205,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8995,22 +8212,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 15;
      */
+
     @java.lang.Override
-    public boolean containsResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getResourceLabelsMap()} instead. */
+    /**
+     * Use {@link #getResourceLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -9019,12 +8236,11 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
+
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -9033,17 +8249,16 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
+
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -9052,11 +8267,12 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+
+    public java.lang.String getResourceLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -9064,12 +8280,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap().clear();
+      internalGetMutableResourceLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -9077,21 +8292,23 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder removeResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableResourceLabels().getMutableMap().remove(key);
+
+    public Builder removeResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableResourceLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableResourceLabels() {
+    public java.util.Map
+    getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -9099,20 +8316,19 @@ public java.util.Map getMutableResourceLabel
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putResourceLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableResourceLabels().getMutableMap().put(key, value);
+      internalGetMutableResourceLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -9120,27 +8336,28 @@ public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder putAllResourceLabels(java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap().putAll(values);
+
+    public Builder putAllResourceLabels(
+        java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private java.lang.Object labelFingerprint_ = "";
     /**
-     *
-     *
      * 
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @return The labelFingerprint. */ public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; @@ -9149,21 +8366,20 @@ public java.lang.String getLabelFingerprint() { } } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -9171,61 +8387,54 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { } } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint(java.lang.String value) { + public Builder setLabelFingerprint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** - * - * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; - * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -9233,47 +8442,34 @@ public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.LegacyAbac legacyAbac_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LegacyAbac, - com.google.container.v1beta1.LegacyAbac.Builder, - com.google.container.v1beta1.LegacyAbacOrBuilder> - legacyAbacBuilder_; + com.google.container.v1beta1.LegacyAbac, com.google.container.v1beta1.LegacyAbac.Builder, com.google.container.v1beta1.LegacyAbacOrBuilder> legacyAbacBuilder_; /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; - * * @return Whether the legacyAbac field is set. */ public boolean hasLegacyAbac() { return legacyAbacBuilder_ != null || legacyAbac_ != null; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; - * * @return The legacyAbac. */ public com.google.container.v1beta1.LegacyAbac getLegacyAbac() { if (legacyAbacBuilder_ == null) { - return legacyAbac_ == null - ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() - : legacyAbac_; + return legacyAbac_ == null ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() : legacyAbac_; } else { return legacyAbacBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -9294,15 +8490,14 @@ public Builder setLegacyAbac(com.google.container.v1beta1.LegacyAbac value) { return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; */ - public Builder setLegacyAbac(com.google.container.v1beta1.LegacyAbac.Builder builderForValue) { + public Builder setLegacyAbac( + com.google.container.v1beta1.LegacyAbac.Builder builderForValue) { if (legacyAbacBuilder_ == null) { legacyAbac_ = builderForValue.build(); onChanged(); @@ -9313,8 +8508,6 @@ public Builder setLegacyAbac(com.google.container.v1beta1.LegacyAbac.Builder bui return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -9325,9 +8518,7 @@ public Builder mergeLegacyAbac(com.google.container.v1beta1.LegacyAbac value) { if (legacyAbacBuilder_ == null) { if (legacyAbac_ != null) { legacyAbac_ = - com.google.container.v1beta1.LegacyAbac.newBuilder(legacyAbac_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.LegacyAbac.newBuilder(legacyAbac_).mergeFrom(value).buildPartial(); } else { legacyAbac_ = value; } @@ -9339,8 +8530,6 @@ public Builder mergeLegacyAbac(com.google.container.v1beta1.LegacyAbac value) { return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -9359,8 +8548,6 @@ public Builder clearLegacyAbac() { return this; } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -9368,13 +8555,11 @@ public Builder clearLegacyAbac() { * .google.container.v1beta1.LegacyAbac legacy_abac = 18; */ public com.google.container.v1beta1.LegacyAbac.Builder getLegacyAbacBuilder() { - + onChanged(); return getLegacyAbacFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -9385,14 +8570,11 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() if (legacyAbacBuilder_ != null) { return legacyAbacBuilder_.getMessageOrBuilder(); } else { - return legacyAbac_ == null - ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() - : legacyAbac_; + return legacyAbac_ == null ? + com.google.container.v1beta1.LegacyAbac.getDefaultInstance() : legacyAbac_; } } /** - * - * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -9400,17 +8582,14 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() * .google.container.v1beta1.LegacyAbac legacy_abac = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LegacyAbac, - com.google.container.v1beta1.LegacyAbac.Builder, - com.google.container.v1beta1.LegacyAbacOrBuilder> + com.google.container.v1beta1.LegacyAbac, com.google.container.v1beta1.LegacyAbac.Builder, com.google.container.v1beta1.LegacyAbacOrBuilder> getLegacyAbacFieldBuilder() { if (legacyAbacBuilder_ == null) { - legacyAbacBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LegacyAbac, - com.google.container.v1beta1.LegacyAbac.Builder, - com.google.container.v1beta1.LegacyAbacOrBuilder>( - getLegacyAbac(), getParentForChildren(), isClean()); + legacyAbacBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LegacyAbac, com.google.container.v1beta1.LegacyAbac.Builder, com.google.container.v1beta1.LegacyAbacOrBuilder>( + getLegacyAbac(), + getParentForChildren(), + isClean()); legacyAbac_ = null; } return legacyAbacBuilder_; @@ -9418,47 +8597,34 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() private com.google.container.v1beta1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, - com.google.container.v1beta1.NetworkPolicy.Builder, - com.google.container.v1beta1.NetworkPolicyOrBuilder> - networkPolicyBuilder_; + com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> networkPolicyBuilder_; /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; - * * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; - * * @return The networkPolicy. */ public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null - ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -9479,8 +8645,6 @@ public Builder setNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -9499,8 +8663,6 @@ public Builder setNetworkPolicy( return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -9511,9 +8673,7 @@ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy val if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); } else { networkPolicy_ = value; } @@ -9525,8 +8685,6 @@ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy val return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -9545,8 +8703,6 @@ public Builder clearNetworkPolicy() { return this; } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -9554,13 +8710,11 @@ public Builder clearNetworkPolicy() { * .google.container.v1beta1.NetworkPolicy network_policy = 19; */ public com.google.container.v1beta1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -9571,14 +8725,11 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null - ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? + com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } } /** - * - * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -9586,17 +8737,14 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui * .google.container.v1beta1.NetworkPolicy network_policy = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, - com.google.container.v1beta1.NetworkPolicy.Builder, - com.google.container.v1beta1.NetworkPolicyOrBuilder> + com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, - com.google.container.v1beta1.NetworkPolicy.Builder, - com.google.container.v1beta1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), getParentForChildren(), isClean()); + networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), + getParentForChildren(), + isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -9604,47 +8752,34 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui private com.google.container.v1beta1.IPAllocationPolicy ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IPAllocationPolicy, - com.google.container.v1beta1.IPAllocationPolicy.Builder, - com.google.container.v1beta1.IPAllocationPolicyOrBuilder> - ipAllocationPolicyBuilder_; + com.google.container.v1beta1.IPAllocationPolicy, com.google.container.v1beta1.IPAllocationPolicy.Builder, com.google.container.v1beta1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; /** - * - * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return The ipAllocationPolicy. */ public com.google.container.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null - ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9665,8 +8800,6 @@ public Builder setIpAllocationPolicy(com.google.container.v1beta1.IPAllocationPo return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9685,8 +8818,6 @@ public Builder setIpAllocationPolicy( return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9697,9 +8828,7 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1beta1.IPAllocation if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.container.v1beta1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -9711,8 +8840,6 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1beta1.IPAllocation return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9731,8 +8858,6 @@ public Builder clearIpAllocationPolicy() { return this; } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9740,32 +8865,26 @@ public Builder clearIpAllocationPolicy() { * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; */ public com.google.container.v1beta1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { - + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; */ - public com.google.container.v1beta1.IPAllocationPolicyOrBuilder - getIpAllocationPolicyOrBuilder() { + public com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null - ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() - : ipAllocationPolicy_; + return ipAllocationPolicy_ == null ? + com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; } } /** - * - * *
      * Configuration for cluster IP allocation.
      * 
@@ -9773,82 +8892,56 @@ public com.google.container.v1beta1.IPAllocationPolicy.Builder getIpAllocationPo * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IPAllocationPolicy, - com.google.container.v1beta1.IPAllocationPolicy.Builder, - com.google.container.v1beta1.IPAllocationPolicyOrBuilder> + com.google.container.v1beta1.IPAllocationPolicy, com.google.container.v1beta1.IPAllocationPolicy.Builder, com.google.container.v1beta1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IPAllocationPolicy, - com.google.container.v1beta1.IPAllocationPolicy.Builder, - com.google.container.v1beta1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), getParentForChildren(), isClean()); + ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IPAllocationPolicy, com.google.container.v1beta1.IPAllocationPolicy.Builder, com.google.container.v1beta1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), + getParentForChildren(), + isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; } - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig - masterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> - masterAuthorizedNetworksConfigBuilder_; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> masterAuthorizedNetworksConfigBuilder_; /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return Whether the masterAuthorizedNetworksConfig field is set. */ public boolean hasMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfigBuilder_ != null - || masterAuthorizedNetworksConfig_ != null; + return masterAuthorizedNetworksConfigBuilder_ != null || masterAuthorizedNetworksConfig_ != null; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return The masterAuthorizedNetworksConfig. */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig - getMasterAuthorizedNetworksConfig() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - return masterAuthorizedNetworksConfig_ == null - ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; } else { return masterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public Builder setMasterAuthorizedNetworksConfig( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder setMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9862,15 +8955,11 @@ public Builder setMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ public Builder setMasterAuthorizedNetworksConfig( com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -9884,25 +8973,17 @@ public Builder setMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public Builder mergeMasterAuthorizedNetworksConfig( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder mergeMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (masterAuthorizedNetworksConfig_ != null) { masterAuthorizedNetworksConfig_ = - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder( - masterAuthorizedNetworksConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder(masterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); } else { masterAuthorizedNetworksConfig_ = value; } @@ -9914,15 +8995,11 @@ public Builder mergeMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ public Builder clearMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { @@ -9936,66 +9013,48 @@ public Builder clearMasterAuthorizedNetworksConfig() { return this; } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder - getMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder getMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder - getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { if (masterAuthorizedNetworksConfigBuilder_ != null) { return masterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return masterAuthorizedNetworksConfig_ == null - ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null ? + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; } } /** - * - * *
      * The configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> getMasterAuthorizedNetworksConfigFieldBuilder() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - masterAuthorizedNetworksConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( - getMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); + masterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( + getMasterAuthorizedNetworksConfig(), + getParentForChildren(), + isClean()); masterAuthorizedNetworksConfig_ = null; } return masterAuthorizedNetworksConfigBuilder_; @@ -10003,47 +9062,34 @@ public Builder clearMasterAuthorizedNetworksConfig() { private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, - com.google.container.v1beta1.MaintenancePolicy.Builder, - com.google.container.v1beta1.MaintenancePolicyOrBuilder> - maintenancePolicyBuilder_; + com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; - * * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; - * * @return The maintenancePolicy. */ public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null - ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -10064,8 +9110,6 @@ public Builder setMaintenancePolicy(com.google.container.v1beta1.MaintenancePoli return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -10084,8 +9128,6 @@ public Builder setMaintenancePolicy( return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -10096,9 +9138,7 @@ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePo if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); } else { maintenancePolicy_ = value; } @@ -10110,8 +9150,6 @@ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePo return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -10130,8 +9168,6 @@ public Builder clearMaintenancePolicy() { return this; } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -10139,13 +9175,11 @@ public Builder clearMaintenancePolicy() { * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; */ public com.google.container.v1beta1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -10156,14 +9190,11 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null - ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? + com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } } /** - * - * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -10171,17 +9202,14 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, - com.google.container.v1beta1.MaintenancePolicy.Builder, - com.google.container.v1beta1.MaintenancePolicyOrBuilder> + com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, - com.google.container.v1beta1.MaintenancePolicy.Builder, - com.google.container.v1beta1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), getParentForChildren(), isClean()); + maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), + getParentForChildren(), + isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -10189,47 +9217,34 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol private com.google.container.v1beta1.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, - com.google.container.v1beta1.BinaryAuthorization.Builder, - com.google.container.v1beta1.BinaryAuthorizationOrBuilder> - binaryAuthorizationBuilder_; + com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; /** - * - * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; - * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return binaryAuthorizationBuilder_ != null || binaryAuthorization_ != null; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; - * * @return The binaryAuthorization. */ public com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null - ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -10250,8 +9265,6 @@ public Builder setBinaryAuthorization(com.google.container.v1beta1.BinaryAuthori return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -10270,22 +9283,17 @@ public Builder setBinaryAuthorization( return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ - public Builder mergeBinaryAuthorization( - com.google.container.v1beta1.BinaryAuthorization value) { + public Builder mergeBinaryAuthorization(com.google.container.v1beta1.BinaryAuthorization value) { if (binaryAuthorizationBuilder_ == null) { if (binaryAuthorization_ != null) { binaryAuthorization_ = - com.google.container.v1beta1.BinaryAuthorization.newBuilder(binaryAuthorization_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.BinaryAuthorization.newBuilder(binaryAuthorization_).mergeFrom(value).buildPartial(); } else { binaryAuthorization_ = value; } @@ -10297,8 +9305,6 @@ public Builder mergeBinaryAuthorization( return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -10317,42 +9323,33 @@ public Builder clearBinaryAuthorization() { return this; } /** - * - * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ - public com.google.container.v1beta1.BinaryAuthorization.Builder - getBinaryAuthorizationBuilder() { - + public com.google.container.v1beta1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { + onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder - getBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null - ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? + com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } } /** - * - * *
      * Configuration for Binary Authorization.
      * 
@@ -10360,17 +9357,14 @@ public Builder clearBinaryAuthorization() { * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, - com.google.container.v1beta1.BinaryAuthorization.Builder, - com.google.container.v1beta1.BinaryAuthorizationOrBuilder> + com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, - com.google.container.v1beta1.BinaryAuthorization.Builder, - com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), getParentForChildren(), isClean()); + binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), + getParentForChildren(), + isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; @@ -10378,58 +9372,41 @@ public Builder clearBinaryAuthorization() { private com.google.container.v1beta1.PodSecurityPolicyConfig podSecurityPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> - podSecurityPolicyConfigBuilder_; + com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> podSecurityPolicyConfigBuilder_; /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; * @return Whether the podSecurityPolicyConfig field is set. */ public boolean hasPodSecurityPolicyConfig() { return podSecurityPolicyConfigBuilder_ != null || podSecurityPolicyConfig_ != null; } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; * @return The podSecurityPolicyConfig. */ public com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicyConfig() { if (podSecurityPolicyConfigBuilder_ == null) { - return podSecurityPolicyConfig_ == null - ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() - : podSecurityPolicyConfig_; + return podSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : podSecurityPolicyConfig_; } else { return podSecurityPolicyConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ - public Builder setPodSecurityPolicyConfig( - com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder setPodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (podSecurityPolicyConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10443,14 +9420,11 @@ public Builder setPodSecurityPolicyConfig( return this; } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ public Builder setPodSecurityPolicyConfig( com.google.container.v1beta1.PodSecurityPolicyConfig.Builder builderForValue) { @@ -10464,24 +9438,17 @@ public Builder setPodSecurityPolicyConfig( return this; } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ - public Builder mergePodSecurityPolicyConfig( - com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder mergePodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (podSecurityPolicyConfigBuilder_ == null) { if (podSecurityPolicyConfig_ != null) { podSecurityPolicyConfig_ = - com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder( - podSecurityPolicyConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder(podSecurityPolicyConfig_).mergeFrom(value).buildPartial(); } else { podSecurityPolicyConfig_ = value; } @@ -10493,14 +9460,11 @@ public Builder mergePodSecurityPolicyConfig( return this; } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ public Builder clearPodSecurityPolicyConfig() { if (podSecurityPolicyConfigBuilder_ == null) { @@ -10514,63 +9478,48 @@ public Builder clearPodSecurityPolicyConfig() { return this; } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ - public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder - getPodSecurityPolicyConfigBuilder() { - + public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder getPodSecurityPolicyConfigBuilder() { + onChanged(); return getPodSecurityPolicyConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder - getPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getPodSecurityPolicyConfigOrBuilder() { if (podSecurityPolicyConfigBuilder_ != null) { return podSecurityPolicyConfigBuilder_.getMessageOrBuilder(); } else { - return podSecurityPolicyConfig_ == null - ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() - : podSecurityPolicyConfig_; + return podSecurityPolicyConfig_ == null ? + com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : podSecurityPolicyConfig_; } } /** - * - * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> + com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> getPodSecurityPolicyConfigFieldBuilder() { if (podSecurityPolicyConfigBuilder_ == null) { - podSecurityPolicyConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( - getPodSecurityPolicyConfig(), getParentForChildren(), isClean()); + podSecurityPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( + getPodSecurityPolicyConfig(), + getParentForChildren(), + isClean()); podSecurityPolicyConfig_ = null; } return podSecurityPolicyConfigBuilder_; @@ -10578,47 +9527,34 @@ public Builder clearPodSecurityPolicyConfig() { private com.google.container.v1beta1.ClusterAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, - com.google.container.v1beta1.ClusterAutoscaling.Builder, - com.google.container.v1beta1.ClusterAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; - * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; - * * @return The autoscaling. */ public com.google.container.v1beta1.ClusterAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -10639,8 +9575,6 @@ public Builder setAutoscaling(com.google.container.v1beta1.ClusterAutoscaling va return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -10659,8 +9593,6 @@ public Builder setAutoscaling( return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -10671,9 +9603,7 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.ClusterAutoscaling if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1beta1.ClusterAutoscaling.newBuilder(autoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ClusterAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); } else { autoscaling_ = value; } @@ -10685,8 +9615,6 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.ClusterAutoscaling return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -10705,8 +9633,6 @@ public Builder clearAutoscaling() { return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -10714,13 +9640,11 @@ public Builder clearAutoscaling() { * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; */ public com.google.container.v1beta1.ClusterAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -10731,14 +9655,11 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null - ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? + com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -10746,17 +9667,14 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, - com.google.container.v1beta1.ClusterAutoscaling.Builder, - com.google.container.v1beta1.ClusterAutoscalingOrBuilder> + com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, - com.google.container.v1beta1.ClusterAutoscaling.Builder, - com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( - getAutoscaling(), getParentForChildren(), isClean()); + autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( + getAutoscaling(), + getParentForChildren(), + isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -10764,47 +9682,34 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr private com.google.container.v1beta1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkConfig, - com.google.container.v1beta1.NetworkConfig.Builder, - com.google.container.v1beta1.NetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.container.v1beta1.NetworkConfig, com.google.container.v1beta1.NetworkConfig.Builder, com.google.container.v1beta1.NetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; - * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** - * - * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; - * * @return The networkConfig. */ public com.google.container.v1beta1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -10825,8 +9730,6 @@ public Builder setNetworkConfig(com.google.container.v1beta1.NetworkConfig value return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -10845,8 +9748,6 @@ public Builder setNetworkConfig( return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -10857,9 +9758,7 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NetworkConfig val if (networkConfigBuilder_ == null) { if (networkConfig_ != null) { networkConfig_ = - com.google.container.v1beta1.NetworkConfig.newBuilder(networkConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial(); } else { networkConfig_ = value; } @@ -10871,8 +9770,6 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NetworkConfig val return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -10891,8 +9788,6 @@ public Builder clearNetworkConfig() { return this; } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -10900,13 +9795,11 @@ public Builder clearNetworkConfig() { * .google.container.v1beta1.NetworkConfig network_config = 27; */ public com.google.container.v1beta1.NetworkConfig.Builder getNetworkConfigBuilder() { - + onChanged(); return getNetworkConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -10917,14 +9810,11 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null - ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? + com.google.container.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; } } /** - * - * *
      * Configuration for cluster networking.
      * 
@@ -10932,26 +9822,21 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * .google.container.v1beta1.NetworkConfig network_config = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkConfig, - com.google.container.v1beta1.NetworkConfig.Builder, - com.google.container.v1beta1.NetworkConfigOrBuilder> + com.google.container.v1beta1.NetworkConfig, com.google.container.v1beta1.NetworkConfig.Builder, com.google.container.v1beta1.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkConfig, - com.google.container.v1beta1.NetworkConfig.Builder, - com.google.container.v1beta1.NetworkConfigOrBuilder>( - getNetworkConfig(), getParentForChildren(), isClean()); + networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkConfig, com.google.container.v1beta1.NetworkConfig.Builder, com.google.container.v1beta1.NetworkConfigOrBuilder>( + getNetworkConfig(), + getParentForChildren(), + isClean()); networkConfig_ = null; } return networkConfigBuilder_; } - private boolean privateCluster_; + private boolean privateCluster_ ; /** - * - * *
      * If this is a private cluster setup. Private clusters are clusters that, by
      * default have no external IP addresses on the nodes and where nodes and the
@@ -10961,19 +9846,15 @@ 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=1713 + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1715 * @return The privateCluster. */ @java.lang.Override - @java.lang.Deprecated - public boolean getPrivateCluster() { + @java.lang.Deprecated public boolean getPrivateCluster() { return privateCluster_; } /** - * - * *
      * If this is a private cluster setup. Private clusters are clusters that, by
      * default have no external IP addresses on the nodes and where nodes and the
@@ -10983,22 +9864,18 @@ 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=1713 + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1715 * @param value The privateCluster to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPrivateCluster(boolean value) { - + @java.lang.Deprecated public Builder setPrivateCluster(boolean value) { + privateCluster_ = value; onChanged(); return this; } /** - * - * *
      * If this is a private cluster setup. Private clusters are clusters that, by
      * default have no external IP addresses on the nodes and where nodes and the
@@ -11008,14 +9885,12 @@ 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=1713 + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1715 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPrivateCluster() { - + @java.lang.Deprecated public Builder clearPrivateCluster() { + privateCluster_ = false; onChanged(); return this; @@ -11023,8 +9898,6 @@ public Builder clearPrivateCluster() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** - * - * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -11034,16 +9907,15 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @return The masterIpv4CidrBlock. */ - @java.lang.Deprecated - public java.lang.String getMasterIpv4CidrBlock() { + @java.lang.Deprecated public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -11052,8 +9924,6 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** - * - * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -11063,17 +9933,17 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @return The bytes for masterIpv4CidrBlock. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -11081,8 +9951,6 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -11092,25 +9960,22 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMasterIpv4CidrBlock(java.lang.String value) { + @java.lang.Deprecated public Builder setMasterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -11120,21 +9985,17 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearMasterIpv4CidrBlock() { - + @java.lang.Deprecated public Builder clearMasterIpv4CidrBlock() { + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -11144,19 +10005,18 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setMasterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -11164,13 +10024,8 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) private com.google.container.v1beta1.MaxPodsConstraint defaultMaxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaxPodsConstraint, - com.google.container.v1beta1.MaxPodsConstraint.Builder, - com.google.container.v1beta1.MaxPodsConstraintOrBuilder> - defaultMaxPodsConstraintBuilder_; + com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> defaultMaxPodsConstraintBuilder_; /** - * - * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11178,15 +10033,12 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value)
      * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return Whether the defaultMaxPodsConstraint field is set. */ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraintBuilder_ != null || defaultMaxPodsConstraint_ != null; } /** - * - * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11194,21 +10046,16 @@ public boolean hasDefaultMaxPodsConstraint() {
      * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return The defaultMaxPodsConstraint. */ public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstraint() { if (defaultMaxPodsConstraintBuilder_ == null) { - return defaultMaxPodsConstraint_ == null - ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() - : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; } else { return defaultMaxPodsConstraintBuilder_.getMessage(); } } /** - * - * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11217,8 +10064,7 @@ public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstrain
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public Builder setDefaultMaxPodsConstraint(
-        com.google.container.v1beta1.MaxPodsConstraint value) {
+    public Builder setDefaultMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstraint value) {
       if (defaultMaxPodsConstraintBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11232,8 +10078,6 @@ public Builder setDefaultMaxPodsConstraint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11254,8 +10098,6 @@ public Builder setDefaultMaxPodsConstraint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11264,14 +10106,11 @@ public Builder setDefaultMaxPodsConstraint(
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public Builder mergeDefaultMaxPodsConstraint(
-        com.google.container.v1beta1.MaxPodsConstraint value) {
+    public Builder mergeDefaultMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstraint value) {
       if (defaultMaxPodsConstraintBuilder_ == null) {
         if (defaultMaxPodsConstraint_ != null) {
           defaultMaxPodsConstraint_ =
-              com.google.container.v1beta1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_).mergeFrom(value).buildPartial();
         } else {
           defaultMaxPodsConstraint_ = value;
         }
@@ -11283,8 +10122,6 @@ public Builder mergeDefaultMaxPodsConstraint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11305,8 +10142,6 @@ public Builder clearDefaultMaxPodsConstraint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11315,15 +10150,12 @@ public Builder clearDefaultMaxPodsConstraint() {
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public com.google.container.v1beta1.MaxPodsConstraint.Builder
-        getDefaultMaxPodsConstraintBuilder() {
-
+    public com.google.container.v1beta1.MaxPodsConstraint.Builder getDefaultMaxPodsConstraintBuilder() {
+      
       onChanged();
       return getDefaultMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11332,19 +10164,15 @@ public Builder clearDefaultMaxPodsConstraint() {
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public com.google.container.v1beta1.MaxPodsConstraintOrBuilder
-        getDefaultMaxPodsConstraintOrBuilder() {
+    public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder() {
       if (defaultMaxPodsConstraintBuilder_ != null) {
         return defaultMaxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return defaultMaxPodsConstraint_ == null
-            ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance()
-            : defaultMaxPodsConstraint_;
+        return defaultMaxPodsConstraint_ == null ?
+            com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_;
       }
     }
     /**
-     *
-     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -11354,17 +10182,14 @@ public Builder clearDefaultMaxPodsConstraint() {
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MaxPodsConstraint,
-            com.google.container.v1beta1.MaxPodsConstraint.Builder,
-            com.google.container.v1beta1.MaxPodsConstraintOrBuilder>
+        com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> 
         getDefaultMaxPodsConstraintFieldBuilder() {
       if (defaultMaxPodsConstraintBuilder_ == null) {
-        defaultMaxPodsConstraintBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.MaxPodsConstraint,
-                com.google.container.v1beta1.MaxPodsConstraint.Builder,
-                com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
-                getDefaultMaxPodsConstraint(), getParentForChildren(), isClean());
+        defaultMaxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
+                getDefaultMaxPodsConstraint(),
+                getParentForChildren(),
+                isClean());
         defaultMaxPodsConstraint_ = null;
       }
       return defaultMaxPodsConstraintBuilder_;
@@ -11372,61 +10197,44 @@ public Builder clearDefaultMaxPodsConstraint() {
 
     private com.google.container.v1beta1.ResourceUsageExportConfig resourceUsageExportConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ResourceUsageExportConfig,
-            com.google.container.v1beta1.ResourceUsageExportConfig.Builder,
-            com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>
-        resourceUsageExportConfigBuilder_;
+        com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> resourceUsageExportConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return Whether the resourceUsageExportConfig field is set. */ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfigBuilder_ != null || resourceUsageExportConfig_ != null; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return The resourceUsageExportConfig. */ public com.google.container.v1beta1.ResourceUsageExportConfig getResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { - return resourceUsageExportConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() - : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; } else { return resourceUsageExportConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public Builder setResourceUsageExportConfig( - com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder setResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11440,15 +10248,12 @@ public Builder setResourceUsageExportConfig( return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ public Builder setResourceUsageExportConfig( com.google.container.v1beta1.ResourceUsageExportConfig.Builder builderForValue) { @@ -11462,25 +10267,18 @@ public Builder setResourceUsageExportConfig( return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public Builder mergeResourceUsageExportConfig( - com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder mergeResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (resourceUsageExportConfig_ != null) { resourceUsageExportConfig_ = - com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder( - resourceUsageExportConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder(resourceUsageExportConfig_).mergeFrom(value).buildPartial(); } else { resourceUsageExportConfig_ = value; } @@ -11492,15 +10290,12 @@ public Builder mergeResourceUsageExportConfig( return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ public Builder clearResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { @@ -11514,66 +10309,51 @@ public Builder clearResourceUsageExportConfig() { return this; } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public com.google.container.v1beta1.ResourceUsageExportConfig.Builder - getResourceUsageExportConfigBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.Builder getResourceUsageExportConfigBuilder() { + onChanged(); return getResourceUsageExportConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder - getResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() { if (resourceUsageExportConfigBuilder_ != null) { return resourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return resourceUsageExportConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() - : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null ? + com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; } } /** - * - * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.Builder, - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> getResourceUsageExportConfigFieldBuilder() { if (resourceUsageExportConfigBuilder_ == null) { - resourceUsageExportConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.Builder, - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( - getResourceUsageExportConfig(), getParentForChildren(), isClean()); + resourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( + getResourceUsageExportConfig(), + getParentForChildren(), + isClean()); resourceUsageExportConfig_ = null; } return resourceUsageExportConfigBuilder_; @@ -11581,58 +10361,41 @@ public Builder clearResourceUsageExportConfig() { private com.google.container.v1beta1.AuthenticatorGroupsConfig authenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> - authenticatorGroupsConfigBuilder_; + com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> authenticatorGroupsConfigBuilder_; /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; * @return Whether the authenticatorGroupsConfig field is set. */ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfigBuilder_ != null || authenticatorGroupsConfig_ != null; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; * @return The authenticatorGroupsConfig. */ public com.google.container.v1beta1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { if (authenticatorGroupsConfigBuilder_ == null) { - return authenticatorGroupsConfig_ == null - ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() - : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; } else { return authenticatorGroupsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public Builder setAuthenticatorGroupsConfig( - com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder setAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11646,14 +10409,11 @@ public Builder setAuthenticatorGroupsConfig( return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ public Builder setAuthenticatorGroupsConfig( com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder builderForValue) { @@ -11667,24 +10427,17 @@ public Builder setAuthenticatorGroupsConfig( return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public Builder mergeAuthenticatorGroupsConfig( - com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder mergeAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (authenticatorGroupsConfig_ != null) { authenticatorGroupsConfig_ = - com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder( - authenticatorGroupsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder(authenticatorGroupsConfig_).mergeFrom(value).buildPartial(); } else { authenticatorGroupsConfig_ = value; } @@ -11696,14 +10449,11 @@ public Builder mergeAuthenticatorGroupsConfig( return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ public Builder clearAuthenticatorGroupsConfig() { if (authenticatorGroupsConfigBuilder_ == null) { @@ -11717,63 +10467,48 @@ public Builder clearAuthenticatorGroupsConfig() { return this; } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder - getAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder getAuthenticatorGroupsConfigBuilder() { + onChanged(); return getAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder - getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { if (authenticatorGroupsConfigBuilder_ != null) { return authenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return authenticatorGroupsConfig_ == null - ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() - : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null ? + com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; } } /** - * - * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> getAuthenticatorGroupsConfigFieldBuilder() { if (authenticatorGroupsConfigBuilder_ == null) { - authenticatorGroupsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( - getAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); + authenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( + getAuthenticatorGroupsConfig(), + getParentForChildren(), + isClean()); authenticatorGroupsConfig_ = null; } return authenticatorGroupsConfigBuilder_; @@ -11781,55 +10516,41 @@ public Builder clearAuthenticatorGroupsConfig() { private com.google.container.v1beta1.PrivateClusterConfig privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, - com.google.container.v1beta1.PrivateClusterConfig.Builder, - com.google.container.v1beta1.PrivateClusterConfigOrBuilder> - privateClusterConfigBuilder_; + com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; - * * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; - * * @return The privateClusterConfig. */ public com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null - ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public Builder setPrivateClusterConfig( - com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder setPrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11843,8 +10564,6 @@ public Builder setPrivateClusterConfig( return this; } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -11863,22 +10582,17 @@ public Builder setPrivateClusterConfig( return this; } /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public Builder mergePrivateClusterConfig( - com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder mergePrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.container.v1beta1.PrivateClusterConfig.newBuilder(privateClusterConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); } else { privateClusterConfig_ = value; } @@ -11890,8 +10604,6 @@ public Builder mergePrivateClusterConfig( return this; } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -11910,42 +10622,33 @@ public Builder clearPrivateClusterConfig() { return this; } /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public com.google.container.v1beta1.PrivateClusterConfig.Builder - getPrivateClusterConfigBuilder() { - + public com.google.container.v1beta1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder - getPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null - ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() - : privateClusterConfig_; + return privateClusterConfig_ == null ? + com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; } } /** - * - * *
      * Configuration for private cluster.
      * 
@@ -11953,17 +10656,14 @@ public Builder clearPrivateClusterConfig() { * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, - com.google.container.v1beta1.PrivateClusterConfig.Builder, - com.google.container.v1beta1.PrivateClusterConfigOrBuilder> + com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, - com.google.container.v1beta1.PrivateClusterConfig.Builder, - com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), getParentForChildren(), isClean()); + privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), + getParentForChildren(), + isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -11971,55 +10671,41 @@ public Builder clearPrivateClusterConfig() { private com.google.container.v1beta1.VerticalPodAutoscaling verticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, - com.google.container.v1beta1.VerticalPodAutoscaling.Builder, - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> - verticalPodAutoscalingBuilder_; + com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> verticalPodAutoscalingBuilder_; /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return Whether the verticalPodAutoscaling field is set. */ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscalingBuilder_ != null || verticalPodAutoscaling_ != null; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return The verticalPodAutoscaling. */ public com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutoscaling() { if (verticalPodAutoscalingBuilder_ == null) { - return verticalPodAutoscaling_ == null - ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() - : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; } else { return verticalPodAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public Builder setVerticalPodAutoscaling( - com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder setVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { if (verticalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12033,8 +10719,6 @@ public Builder setVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -12053,23 +10737,17 @@ public Builder setVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public Builder mergeVerticalPodAutoscaling( - com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder mergeVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { if (verticalPodAutoscalingBuilder_ == null) { if (verticalPodAutoscaling_ != null) { verticalPodAutoscaling_ = - com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder( - verticalPodAutoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder(verticalPodAutoscaling_).mergeFrom(value).buildPartial(); } else { verticalPodAutoscaling_ = value; } @@ -12081,8 +10759,6 @@ public Builder mergeVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -12101,42 +10777,33 @@ public Builder clearVerticalPodAutoscaling() { return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1beta1.VerticalPodAutoscaling.Builder - getVerticalPodAutoscalingBuilder() { - + public com.google.container.v1beta1.VerticalPodAutoscaling.Builder getVerticalPodAutoscalingBuilder() { + onChanged(); return getVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder - getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { if (verticalPodAutoscalingBuilder_ != null) { return verticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return verticalPodAutoscaling_ == null - ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() - : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null ? + com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -12144,17 +10811,14 @@ public Builder clearVerticalPodAutoscaling() { * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, - com.google.container.v1beta1.VerticalPodAutoscaling.Builder, - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> getVerticalPodAutoscalingFieldBuilder() { if (verticalPodAutoscalingBuilder_ == null) { - verticalPodAutoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, - com.google.container.v1beta1.VerticalPodAutoscaling.Builder, - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( - getVerticalPodAutoscaling(), getParentForChildren(), isClean()); + verticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( + getVerticalPodAutoscaling(), + getParentForChildren(), + isClean()); verticalPodAutoscaling_ = null; } return verticalPodAutoscalingBuilder_; @@ -12162,47 +10826,34 @@ public Builder clearVerticalPodAutoscaling() { private com.google.container.v1beta1.ShieldedNodes shieldedNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, - com.google.container.v1beta1.ShieldedNodes.Builder, - com.google.container.v1beta1.ShieldedNodesOrBuilder> - shieldedNodesBuilder_; + com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> shieldedNodesBuilder_; /** - * - * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; - * * @return Whether the shieldedNodes field is set. */ public boolean hasShieldedNodes() { return shieldedNodesBuilder_ != null || shieldedNodes_ != null; } /** - * - * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; - * * @return The shieldedNodes. */ public com.google.container.v1beta1.ShieldedNodes getShieldedNodes() { if (shieldedNodesBuilder_ == null) { - return shieldedNodes_ == null - ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() - : shieldedNodes_; + return shieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; } else { return shieldedNodesBuilder_.getMessage(); } } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -12223,8 +10874,6 @@ public Builder setShieldedNodes(com.google.container.v1beta1.ShieldedNodes value return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -12243,8 +10892,6 @@ public Builder setShieldedNodes( return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -12255,9 +10902,7 @@ public Builder mergeShieldedNodes(com.google.container.v1beta1.ShieldedNodes val if (shieldedNodesBuilder_ == null) { if (shieldedNodes_ != null) { shieldedNodes_ = - com.google.container.v1beta1.ShieldedNodes.newBuilder(shieldedNodes_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ShieldedNodes.newBuilder(shieldedNodes_).mergeFrom(value).buildPartial(); } else { shieldedNodes_ = value; } @@ -12269,8 +10914,6 @@ public Builder mergeShieldedNodes(com.google.container.v1beta1.ShieldedNodes val return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -12289,8 +10932,6 @@ public Builder clearShieldedNodes() { return this; } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -12298,13 +10939,11 @@ public Builder clearShieldedNodes() { * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; */ public com.google.container.v1beta1.ShieldedNodes.Builder getShieldedNodesBuilder() { - + onChanged(); return getShieldedNodesFieldBuilder().getBuilder(); } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -12315,14 +10954,11 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBui if (shieldedNodesBuilder_ != null) { return shieldedNodesBuilder_.getMessageOrBuilder(); } else { - return shieldedNodes_ == null - ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() - : shieldedNodes_; + return shieldedNodes_ == null ? + com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; } } /** - * - * *
      * Shielded Nodes configuration.
      * 
@@ -12330,17 +10966,14 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBui * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, - com.google.container.v1beta1.ShieldedNodes.Builder, - com.google.container.v1beta1.ShieldedNodesOrBuilder> + com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> getShieldedNodesFieldBuilder() { if (shieldedNodesBuilder_ == null) { - shieldedNodesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, - com.google.container.v1beta1.ShieldedNodes.Builder, - com.google.container.v1beta1.ShieldedNodesOrBuilder>( - getShieldedNodes(), getParentForChildren(), isClean()); + shieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder>( + getShieldedNodes(), + getParentForChildren(), + isClean()); shieldedNodes_ = null; } return shieldedNodesBuilder_; @@ -12348,47 +10981,34 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBui private com.google.container.v1beta1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, - com.google.container.v1beta1.ReleaseChannel.Builder, - com.google.container.v1beta1.ReleaseChannelOrBuilder> - releaseChannelBuilder_; + com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> releaseChannelBuilder_; /** - * - * *
      * Release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; - * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** - * - * *
      * Release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; - * * @return The releaseChannel. */ public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** - * - * *
      * Release channel configuration.
      * 
@@ -12409,8 +11029,6 @@ public Builder setReleaseChannel(com.google.container.v1beta1.ReleaseChannel val return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -12429,8 +11047,6 @@ public Builder setReleaseChannel( return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -12441,9 +11057,7 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v if (releaseChannelBuilder_ == null) { if (releaseChannel_ != null) { releaseChannel_ = - com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial(); } else { releaseChannel_ = value; } @@ -12455,8 +11069,6 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -12475,8 +11087,6 @@ public Builder clearReleaseChannel() { return this; } /** - * - * *
      * Release channel configuration.
      * 
@@ -12484,13 +11094,11 @@ public Builder clearReleaseChannel() { * .google.container.v1beta1.ReleaseChannel release_channel = 41; */ public com.google.container.v1beta1.ReleaseChannel.Builder getReleaseChannelBuilder() { - + onChanged(); return getReleaseChannelFieldBuilder().getBuilder(); } /** - * - * *
      * Release channel configuration.
      * 
@@ -12501,14 +11109,11 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB if (releaseChannelBuilder_ != null) { return releaseChannelBuilder_.getMessageOrBuilder(); } else { - return releaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? + com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } } /** - * - * *
      * Release channel configuration.
      * 
@@ -12516,17 +11121,14 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB * .google.container.v1beta1.ReleaseChannel release_channel = 41; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, - com.google.container.v1beta1.ReleaseChannel.Builder, - com.google.container.v1beta1.ReleaseChannelOrBuilder> + com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> getReleaseChannelFieldBuilder() { if (releaseChannelBuilder_ == null) { - releaseChannelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, - com.google.container.v1beta1.ReleaseChannel.Builder, - com.google.container.v1beta1.ReleaseChannelOrBuilder>( - getReleaseChannel(), getParentForChildren(), isClean()); + releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder>( + getReleaseChannel(), + getParentForChildren(), + isClean()); releaseChannel_ = null; } return releaseChannelBuilder_; @@ -12534,49 +11136,36 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB private com.google.container.v1beta1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, - com.google.container.v1beta1.WorkloadIdentityConfig.Builder, - com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> - workloadIdentityConfigBuilder_; + com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; /** - * - * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfigBuilder_ != null || workloadIdentityConfig_ != null; } /** - * - * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return The workloadIdentityConfig. */ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null - ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() - : workloadIdentityConfig_; + return workloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -12584,8 +11173,7 @@ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityCo
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public Builder setWorkloadIdentityConfig(
-        com.google.container.v1beta1.WorkloadIdentityConfig value) {
+    public Builder setWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) {
       if (workloadIdentityConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -12599,8 +11187,6 @@ public Builder setWorkloadIdentityConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -12620,8 +11206,6 @@ public Builder setWorkloadIdentityConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -12629,15 +11213,11 @@ public Builder setWorkloadIdentityConfig(
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public Builder mergeWorkloadIdentityConfig(
-        com.google.container.v1beta1.WorkloadIdentityConfig value) {
+    public Builder mergeWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) {
       if (workloadIdentityConfigBuilder_ == null) {
         if (workloadIdentityConfig_ != null) {
           workloadIdentityConfig_ =
-              com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder(
-                      workloadIdentityConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial();
         } else {
           workloadIdentityConfig_ = value;
         }
@@ -12649,8 +11229,6 @@ public Builder mergeWorkloadIdentityConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -12670,8 +11248,6 @@ public Builder clearWorkloadIdentityConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -12679,15 +11255,12 @@ public Builder clearWorkloadIdentityConfig() {
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1beta1.WorkloadIdentityConfig.Builder
-        getWorkloadIdentityConfigBuilder() {
-
+    public com.google.container.v1beta1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() {
+      
       onChanged();
       return getWorkloadIdentityConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -12695,19 +11268,15 @@ public Builder clearWorkloadIdentityConfig() {
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder
-        getWorkloadIdentityConfigOrBuilder() {
+    public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
       if (workloadIdentityConfigBuilder_ != null) {
         return workloadIdentityConfigBuilder_.getMessageOrBuilder();
       } else {
-        return workloadIdentityConfig_ == null
-            ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance()
-            : workloadIdentityConfig_;
+        return workloadIdentityConfig_ == null ?
+            com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -12716,17 +11285,14 @@ public Builder clearWorkloadIdentityConfig() {
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadIdentityConfig,
-            com.google.container.v1beta1.WorkloadIdentityConfig.Builder,
-            com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>
+        com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> 
         getWorkloadIdentityConfigFieldBuilder() {
       if (workloadIdentityConfigBuilder_ == null) {
-        workloadIdentityConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.WorkloadIdentityConfig,
-                com.google.container.v1beta1.WorkloadIdentityConfig.Builder,
-                com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>(
-                getWorkloadIdentityConfig(), getParentForChildren(), isClean());
+        workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>(
+                getWorkloadIdentityConfig(),
+                getParentForChildren(),
+                isClean());
         workloadIdentityConfig_ = null;
       }
       return workloadIdentityConfigBuilder_;
@@ -12734,49 +11300,36 @@ public Builder clearWorkloadIdentityConfig() {
 
     private com.google.container.v1beta1.WorkloadCertificates workloadCertificates_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadCertificates,
-            com.google.container.v1beta1.WorkloadCertificates.Builder,
-            com.google.container.v1beta1.WorkloadCertificatesOrBuilder>
-        workloadCertificatesBuilder_;
+        com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> workloadCertificatesBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; - * * @return Whether the workloadCertificates field is set. */ public boolean hasWorkloadCertificates() { return workloadCertificatesBuilder_ != null || workloadCertificates_ != null; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; - * * @return The workloadCertificates. */ public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates() { if (workloadCertificatesBuilder_ == null) { - return workloadCertificates_ == null - ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() - : workloadCertificates_; + return workloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : workloadCertificates_; } else { return workloadCertificatesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12784,8 +11337,7 @@ public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public Builder setWorkloadCertificates(
-        com.google.container.v1beta1.WorkloadCertificates value) {
+    public Builder setWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) {
       if (workloadCertificatesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -12799,8 +11351,6 @@ public Builder setWorkloadCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12820,8 +11370,6 @@ public Builder setWorkloadCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12829,14 +11377,11 @@ public Builder setWorkloadCertificates(
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public Builder mergeWorkloadCertificates(
-        com.google.container.v1beta1.WorkloadCertificates value) {
+    public Builder mergeWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) {
       if (workloadCertificatesBuilder_ == null) {
         if (workloadCertificates_ != null) {
           workloadCertificates_ =
-              com.google.container.v1beta1.WorkloadCertificates.newBuilder(workloadCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.WorkloadCertificates.newBuilder(workloadCertificates_).mergeFrom(value).buildPartial();
         } else {
           workloadCertificates_ = value;
         }
@@ -12848,8 +11393,6 @@ public Builder mergeWorkloadCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12869,8 +11412,6 @@ public Builder clearWorkloadCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12878,15 +11419,12 @@ public Builder clearWorkloadCertificates() {
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public com.google.container.v1beta1.WorkloadCertificates.Builder
-        getWorkloadCertificatesBuilder() {
-
+    public com.google.container.v1beta1.WorkloadCertificates.Builder getWorkloadCertificatesBuilder() {
+      
       onChanged();
       return getWorkloadCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12894,19 +11432,15 @@ public Builder clearWorkloadCertificates() {
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public com.google.container.v1beta1.WorkloadCertificatesOrBuilder
-        getWorkloadCertificatesOrBuilder() {
+    public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCertificatesOrBuilder() {
       if (workloadCertificatesBuilder_ != null) {
         return workloadCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return workloadCertificates_ == null
-            ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance()
-            : workloadCertificates_;
+        return workloadCertificates_ == null ?
+            com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : workloadCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12915,17 +11449,14 @@ public Builder clearWorkloadCertificates() {
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadCertificates,
-            com.google.container.v1beta1.WorkloadCertificates.Builder,
-            com.google.container.v1beta1.WorkloadCertificatesOrBuilder>
+        com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> 
         getWorkloadCertificatesFieldBuilder() {
       if (workloadCertificatesBuilder_ == null) {
-        workloadCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.WorkloadCertificates,
-                com.google.container.v1beta1.WorkloadCertificates.Builder,
-                com.google.container.v1beta1.WorkloadCertificatesOrBuilder>(
-                getWorkloadCertificates(), getParentForChildren(), isClean());
+        workloadCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder>(
+                getWorkloadCertificates(),
+                getParentForChildren(),
+                isClean());
         workloadCertificates_ = null;
       }
       return workloadCertificatesBuilder_;
@@ -12933,49 +11464,36 @@ public Builder clearWorkloadCertificates() {
 
     private com.google.container.v1beta1.MeshCertificates meshCertificates_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MeshCertificates,
-            com.google.container.v1beta1.MeshCertificates.Builder,
-            com.google.container.v1beta1.MeshCertificatesOrBuilder>
-        meshCertificatesBuilder_;
+        com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> meshCertificatesBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; - * * @return Whether the meshCertificates field is set. */ public boolean hasMeshCertificates() { return meshCertificatesBuilder_ != null || meshCertificates_ != null; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; - * * @return The meshCertificates. */ public com.google.container.v1beta1.MeshCertificates getMeshCertificates() { if (meshCertificatesBuilder_ == null) { - return meshCertificates_ == null - ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() - : meshCertificates_; + return meshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : meshCertificates_; } else { return meshCertificatesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -12997,8 +11515,6 @@ public Builder setMeshCertificates(com.google.container.v1beta1.MeshCertificates
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -13018,8 +11534,6 @@ public Builder setMeshCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -13031,9 +11545,7 @@ public Builder mergeMeshCertificates(com.google.container.v1beta1.MeshCertificat
       if (meshCertificatesBuilder_ == null) {
         if (meshCertificates_ != null) {
           meshCertificates_ =
-              com.google.container.v1beta1.MeshCertificates.newBuilder(meshCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.MeshCertificates.newBuilder(meshCertificates_).mergeFrom(value).buildPartial();
         } else {
           meshCertificates_ = value;
         }
@@ -13045,8 +11557,6 @@ public Builder mergeMeshCertificates(com.google.container.v1beta1.MeshCertificat
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -13066,8 +11576,6 @@ public Builder clearMeshCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -13076,13 +11584,11 @@ public Builder clearMeshCertificates() {
      * .google.container.v1beta1.MeshCertificates mesh_certificates = 67;
      */
     public com.google.container.v1beta1.MeshCertificates.Builder getMeshCertificatesBuilder() {
-
+      
       onChanged();
       return getMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -13094,14 +11600,11 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
       if (meshCertificatesBuilder_ != null) {
         return meshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return meshCertificates_ == null
-            ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance()
-            : meshCertificates_;
+        return meshCertificates_ == null ?
+            com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : meshCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -13110,17 +11613,14 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
      * .google.container.v1beta1.MeshCertificates mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MeshCertificates,
-            com.google.container.v1beta1.MeshCertificates.Builder,
-            com.google.container.v1beta1.MeshCertificatesOrBuilder>
+        com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> 
         getMeshCertificatesFieldBuilder() {
       if (meshCertificatesBuilder_ == null) {
-        meshCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.MeshCertificates,
-                com.google.container.v1beta1.MeshCertificates.Builder,
-                com.google.container.v1beta1.MeshCertificatesOrBuilder>(
-                getMeshCertificates(), getParentForChildren(), isClean());
+        meshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder>(
+                getMeshCertificates(),
+                getParentForChildren(),
+                isClean());
         meshCertificates_ = null;
       }
       return meshCertificatesBuilder_;
@@ -13128,47 +11628,34 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
 
     private com.google.container.v1beta1.WorkloadALTSConfig workloadAltsConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadALTSConfig,
-            com.google.container.v1beta1.WorkloadALTSConfig.Builder,
-            com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>
-        workloadAltsConfigBuilder_;
+        com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> workloadAltsConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; - * * @return Whether the workloadAltsConfig field is set. */ public boolean hasWorkloadAltsConfig() { return workloadAltsConfigBuilder_ != null || workloadAltsConfig_ != null; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; - * * @return The workloadAltsConfig. */ public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { if (workloadAltsConfigBuilder_ == null) { - return workloadAltsConfig_ == null - ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() - : workloadAltsConfig_; + return workloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : workloadAltsConfig_; } else { return workloadAltsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -13189,8 +11676,6 @@ public Builder setWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSCo return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -13209,8 +11694,6 @@ public Builder setWorkloadAltsConfig( return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -13221,9 +11704,7 @@ public Builder mergeWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTS if (workloadAltsConfigBuilder_ == null) { if (workloadAltsConfig_ != null) { workloadAltsConfig_ = - com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(workloadAltsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(workloadAltsConfig_).mergeFrom(value).buildPartial(); } else { workloadAltsConfig_ = value; } @@ -13235,8 +11716,6 @@ public Builder mergeWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTS return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -13255,8 +11734,6 @@ public Builder clearWorkloadAltsConfig() { return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -13264,32 +11741,26 @@ public Builder clearWorkloadAltsConfig() { * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ public com.google.container.v1beta1.WorkloadALTSConfig.Builder getWorkloadAltsConfigBuilder() { - + onChanged(); return getWorkloadAltsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder - getWorkloadAltsConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsConfigOrBuilder() { if (workloadAltsConfigBuilder_ != null) { return workloadAltsConfigBuilder_.getMessageOrBuilder(); } else { - return workloadAltsConfig_ == null - ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() - : workloadAltsConfig_; + return workloadAltsConfig_ == null ? + com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : workloadAltsConfig_; } } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -13297,17 +11768,14 @@ public com.google.container.v1beta1.WorkloadALTSConfig.Builder getWorkloadAltsCo * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, - com.google.container.v1beta1.WorkloadALTSConfig.Builder, - com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> getWorkloadAltsConfigFieldBuilder() { if (workloadAltsConfigBuilder_ == null) { - workloadAltsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, - com.google.container.v1beta1.WorkloadALTSConfig.Builder, - com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( - getWorkloadAltsConfig(), getParentForChildren(), isClean()); + workloadAltsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( + getWorkloadAltsConfig(), + getParentForChildren(), + isClean()); workloadAltsConfig_ = null; } return workloadAltsConfigBuilder_; @@ -13315,55 +11783,41 @@ public com.google.container.v1beta1.WorkloadALTSConfig.Builder getWorkloadAltsCo private com.google.container.v1beta1.CostManagementConfig costManagementConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, - com.google.container.v1beta1.CostManagementConfig.Builder, - com.google.container.v1beta1.CostManagementConfigOrBuilder> - costManagementConfigBuilder_; + com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> costManagementConfigBuilder_; /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; - * * @return Whether the costManagementConfig field is set. */ public boolean hasCostManagementConfig() { return costManagementConfigBuilder_ != null || costManagementConfig_ != null; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; - * * @return The costManagementConfig. */ public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig() { if (costManagementConfigBuilder_ == null) { - return costManagementConfig_ == null - ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() - : costManagementConfig_; + return costManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; } else { return costManagementConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public Builder setCostManagementConfig( - com.google.container.v1beta1.CostManagementConfig value) { + public Builder setCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { if (costManagementConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13377,8 +11831,6 @@ public Builder setCostManagementConfig( return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -13397,22 +11849,17 @@ public Builder setCostManagementConfig( return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public Builder mergeCostManagementConfig( - com.google.container.v1beta1.CostManagementConfig value) { + public Builder mergeCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { if (costManagementConfigBuilder_ == null) { if (costManagementConfig_ != null) { costManagementConfig_ = - com.google.container.v1beta1.CostManagementConfig.newBuilder(costManagementConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.CostManagementConfig.newBuilder(costManagementConfig_).mergeFrom(value).buildPartial(); } else { costManagementConfig_ = value; } @@ -13424,8 +11871,6 @@ public Builder mergeCostManagementConfig( return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -13444,42 +11889,33 @@ public Builder clearCostManagementConfig() { return this; } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public com.google.container.v1beta1.CostManagementConfig.Builder - getCostManagementConfigBuilder() { - + public com.google.container.v1beta1.CostManagementConfig.Builder getCostManagementConfigBuilder() { + onChanged(); return getCostManagementConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public com.google.container.v1beta1.CostManagementConfigOrBuilder - getCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder() { if (costManagementConfigBuilder_ != null) { return costManagementConfigBuilder_.getMessageOrBuilder(); } else { - return costManagementConfig_ == null - ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() - : costManagementConfig_; + return costManagementConfig_ == null ? + com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; } } /** - * - * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -13487,17 +11923,14 @@ public Builder clearCostManagementConfig() { * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, - com.google.container.v1beta1.CostManagementConfig.Builder, - com.google.container.v1beta1.CostManagementConfigOrBuilder> + com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> getCostManagementConfigFieldBuilder() { if (costManagementConfigBuilder_ == null) { - costManagementConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, - com.google.container.v1beta1.CostManagementConfig.Builder, - com.google.container.v1beta1.CostManagementConfigOrBuilder>( - getCostManagementConfig(), getParentForChildren(), isClean()); + costManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder>( + getCostManagementConfig(), + getParentForChildren(), + isClean()); costManagementConfig_ = null; } return costManagementConfigBuilder_; @@ -13505,47 +11938,34 @@ public Builder clearCostManagementConfig() { private com.google.container.v1beta1.ClusterTelemetry clusterTelemetry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, - com.google.container.v1beta1.ClusterTelemetry.Builder, - com.google.container.v1beta1.ClusterTelemetryOrBuilder> - clusterTelemetryBuilder_; + com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> clusterTelemetryBuilder_; /** - * - * *
      * Telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; - * * @return Whether the clusterTelemetry field is set. */ public boolean hasClusterTelemetry() { return clusterTelemetryBuilder_ != null || clusterTelemetry_ != null; } /** - * - * *
      * Telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; - * * @return The clusterTelemetry. */ public com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry() { if (clusterTelemetryBuilder_ == null) { - return clusterTelemetry_ == null - ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() - : clusterTelemetry_; + return clusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : clusterTelemetry_; } else { return clusterTelemetryBuilder_.getMessage(); } } /** - * - * *
      * Telemetry integration for the cluster.
      * 
@@ -13566,8 +11986,6 @@ public Builder setClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry return this; } /** - * - * *
      * Telemetry integration for the cluster.
      * 
@@ -13586,8 +12004,6 @@ public Builder setClusterTelemetry( return this; } /** - * - * *
      * Telemetry integration for the cluster.
      * 
@@ -13598,9 +12014,7 @@ public Builder mergeClusterTelemetry(com.google.container.v1beta1.ClusterTelemet if (clusterTelemetryBuilder_ == null) { if (clusterTelemetry_ != null) { clusterTelemetry_ = - com.google.container.v1beta1.ClusterTelemetry.newBuilder(clusterTelemetry_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ClusterTelemetry.newBuilder(clusterTelemetry_).mergeFrom(value).buildPartial(); } else { clusterTelemetry_ = value; } @@ -13612,8 +12026,6 @@ public Builder mergeClusterTelemetry(com.google.container.v1beta1.ClusterTelemet return this; } /** - * - * *
      * Telemetry integration for the cluster.
      * 
@@ -13632,8 +12044,6 @@ public Builder clearClusterTelemetry() { return this; } /** - * - * *
      * Telemetry integration for the cluster.
      * 
@@ -13641,13 +12051,11 @@ public Builder clearClusterTelemetry() { * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; */ public com.google.container.v1beta1.ClusterTelemetry.Builder getClusterTelemetryBuilder() { - + onChanged(); return getClusterTelemetryFieldBuilder().getBuilder(); } /** - * - * *
      * Telemetry integration for the cluster.
      * 
@@ -13658,14 +12066,11 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr if (clusterTelemetryBuilder_ != null) { return clusterTelemetryBuilder_.getMessageOrBuilder(); } else { - return clusterTelemetry_ == null - ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() - : clusterTelemetry_; + return clusterTelemetry_ == null ? + com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : clusterTelemetry_; } } /** - * - * *
      * Telemetry integration for the cluster.
      * 
@@ -13673,17 +12078,14 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, - com.google.container.v1beta1.ClusterTelemetry.Builder, - com.google.container.v1beta1.ClusterTelemetryOrBuilder> + com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> getClusterTelemetryFieldBuilder() { if (clusterTelemetryBuilder_ == null) { - clusterTelemetryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, - com.google.container.v1beta1.ClusterTelemetry.Builder, - com.google.container.v1beta1.ClusterTelemetryOrBuilder>( - getClusterTelemetry(), getParentForChildren(), isClean()); + clusterTelemetryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder>( + getClusterTelemetry(), + getParentForChildren(), + isClean()); clusterTelemetry_ = null; } return clusterTelemetryBuilder_; @@ -13691,47 +12093,34 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr private com.google.container.v1beta1.TpuConfig tpuConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, - com.google.container.v1beta1.TpuConfig.Builder, - com.google.container.v1beta1.TpuConfigOrBuilder> - tpuConfigBuilder_; + com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> tpuConfigBuilder_; /** - * - * *
      * Configuration for Cloud TPU support;
      * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; - * * @return Whether the tpuConfig field is set. */ public boolean hasTpuConfig() { return tpuConfigBuilder_ != null || tpuConfig_ != null; } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; - * * @return The tpuConfig. */ public com.google.container.v1beta1.TpuConfig getTpuConfig() { if (tpuConfigBuilder_ == null) { - return tpuConfig_ == null - ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() - : tpuConfig_; + return tpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : tpuConfig_; } else { return tpuConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
@@ -13752,15 +12141,14 @@ public Builder setTpuConfig(com.google.container.v1beta1.TpuConfig value) { return this; } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; */ - public Builder setTpuConfig(com.google.container.v1beta1.TpuConfig.Builder builderForValue) { + public Builder setTpuConfig( + com.google.container.v1beta1.TpuConfig.Builder builderForValue) { if (tpuConfigBuilder_ == null) { tpuConfig_ = builderForValue.build(); onChanged(); @@ -13771,8 +12159,6 @@ public Builder setTpuConfig(com.google.container.v1beta1.TpuConfig.Builder build return this; } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
@@ -13783,9 +12169,7 @@ public Builder mergeTpuConfig(com.google.container.v1beta1.TpuConfig value) { if (tpuConfigBuilder_ == null) { if (tpuConfig_ != null) { tpuConfig_ = - com.google.container.v1beta1.TpuConfig.newBuilder(tpuConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.TpuConfig.newBuilder(tpuConfig_).mergeFrom(value).buildPartial(); } else { tpuConfig_ = value; } @@ -13797,8 +12181,6 @@ public Builder mergeTpuConfig(com.google.container.v1beta1.TpuConfig value) { return this; } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
@@ -13817,8 +12199,6 @@ public Builder clearTpuConfig() { return this; } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
@@ -13826,13 +12206,11 @@ public Builder clearTpuConfig() { * .google.container.v1beta1.TpuConfig tpu_config = 47; */ public com.google.container.v1beta1.TpuConfig.Builder getTpuConfigBuilder() { - + onChanged(); return getTpuConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
@@ -13843,14 +12221,11 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { if (tpuConfigBuilder_ != null) { return tpuConfigBuilder_.getMessageOrBuilder(); } else { - return tpuConfig_ == null - ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() - : tpuConfig_; + return tpuConfig_ == null ? + com.google.container.v1beta1.TpuConfig.getDefaultInstance() : tpuConfig_; } } /** - * - * *
      * Configuration for Cloud TPU support;
      * 
@@ -13858,17 +12233,14 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { * .google.container.v1beta1.TpuConfig tpu_config = 47; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, - com.google.container.v1beta1.TpuConfig.Builder, - com.google.container.v1beta1.TpuConfigOrBuilder> + com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> getTpuConfigFieldBuilder() { if (tpuConfigBuilder_ == null) { - tpuConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, - com.google.container.v1beta1.TpuConfig.Builder, - com.google.container.v1beta1.TpuConfigOrBuilder>( - getTpuConfig(), getParentForChildren(), isClean()); + tpuConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder>( + getTpuConfig(), + getParentForChildren(), + isClean()); tpuConfig_ = null; } return tpuConfigBuilder_; @@ -13876,47 +12248,34 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { private com.google.container.v1beta1.NotificationConfig notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, - com.google.container.v1beta1.NotificationConfig.Builder, - com.google.container.v1beta1.NotificationConfigOrBuilder> - notificationConfigBuilder_; + com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> notificationConfigBuilder_; /** - * - * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; - * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** - * - * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; - * * @return The notificationConfig. */ public com.google.container.v1beta1.NotificationConfig getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null - ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -13937,8 +12296,6 @@ public Builder setNotificationConfig(com.google.container.v1beta1.NotificationCo return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -13957,8 +12314,6 @@ public Builder setNotificationConfig( return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -13969,9 +12324,7 @@ public Builder mergeNotificationConfig(com.google.container.v1beta1.Notification if (notificationConfigBuilder_ == null) { if (notificationConfig_ != null) { notificationConfig_ = - com.google.container.v1beta1.NotificationConfig.newBuilder(notificationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial(); } else { notificationConfig_ = value; } @@ -13983,8 +12336,6 @@ public Builder mergeNotificationConfig(com.google.container.v1beta1.Notification return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -14003,8 +12354,6 @@ public Builder clearNotificationConfig() { return this; } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -14012,32 +12361,26 @@ public Builder clearNotificationConfig() { * .google.container.v1beta1.NotificationConfig notification_config = 49; */ public com.google.container.v1beta1.NotificationConfig.Builder getNotificationConfigBuilder() { - + onChanged(); return getNotificationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; */ - public com.google.container.v1beta1.NotificationConfigOrBuilder - getNotificationConfigOrBuilder() { + public com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { if (notificationConfigBuilder_ != null) { return notificationConfigBuilder_.getMessageOrBuilder(); } else { - return notificationConfig_ == null - ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() - : notificationConfig_; + return notificationConfig_ == null ? + com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : notificationConfig_; } } /** - * - * *
      * Notification configuration of the cluster.
      * 
@@ -14045,17 +12388,14 @@ public com.google.container.v1beta1.NotificationConfig.Builder getNotificationCo * .google.container.v1beta1.NotificationConfig notification_config = 49; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, - com.google.container.v1beta1.NotificationConfig.Builder, - com.google.container.v1beta1.NotificationConfigOrBuilder> + com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> getNotificationConfigFieldBuilder() { if (notificationConfigBuilder_ == null) { - notificationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, - com.google.container.v1beta1.NotificationConfig.Builder, - com.google.container.v1beta1.NotificationConfigOrBuilder>( - getNotificationConfig(), getParentForChildren(), isClean()); + notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder>( + getNotificationConfig(), + getParentForChildren(), + isClean()); notificationConfig_ = null; } return notificationConfigBuilder_; @@ -14063,49 +12403,36 @@ public com.google.container.v1beta1.NotificationConfig.Builder getNotificationCo private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfidentialNodes, - com.google.container.v1beta1.ConfidentialNodes.Builder, - com.google.container.v1beta1.ConfidentialNodesOrBuilder> - confidentialNodesBuilder_; + com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; /** - * - * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; - * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** - * - * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; - * * @return The confidentialNodes. */ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null - ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** - * - * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -14127,8 +12454,6 @@ public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNod
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -14148,8 +12473,6 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -14161,9 +12484,7 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-              com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -14175,8 +12496,6 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -14196,8 +12515,6 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -14206,13 +12523,11 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50;
      */
     public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-
+      
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -14224,14 +12539,11 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null
-            ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance()
-            : confidentialNodes_;
+        return confidentialNodes_ == null ?
+            com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -14240,17 +12552,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfidentialNodes,
-            com.google.container.v1beta1.ConfidentialNodes.Builder,
-            com.google.container.v1beta1.ConfidentialNodesOrBuilder>
+        com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> 
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ConfidentialNodes,
-                com.google.container.v1beta1.ConfidentialNodes.Builder,
-                com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(), getParentForChildren(), isClean());
+        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(),
+                getParentForChildren(),
+                isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -14258,55 +12567,41 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
 
     private com.google.container.v1beta1.IdentityServiceConfig identityServiceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.IdentityServiceConfig,
-            com.google.container.v1beta1.IdentityServiceConfig.Builder,
-            com.google.container.v1beta1.IdentityServiceConfigOrBuilder>
-        identityServiceConfigBuilder_;
+        com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> identityServiceConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; - * * @return Whether the identityServiceConfig field is set. */ public boolean hasIdentityServiceConfig() { return identityServiceConfigBuilder_ != null || identityServiceConfig_ != null; } /** - * - * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; - * * @return The identityServiceConfig. */ public com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConfig() { if (identityServiceConfigBuilder_ == null) { - return identityServiceConfig_ == null - ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() - : identityServiceConfig_; + return identityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; } else { return identityServiceConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public Builder setIdentityServiceConfig( - com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder setIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { if (identityServiceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14320,8 +12615,6 @@ public Builder setIdentityServiceConfig( return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -14340,22 +12633,17 @@ public Builder setIdentityServiceConfig( return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public Builder mergeIdentityServiceConfig( - com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder mergeIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { if (identityServiceConfigBuilder_ == null) { if (identityServiceConfig_ != null) { identityServiceConfig_ = - com.google.container.v1beta1.IdentityServiceConfig.newBuilder(identityServiceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.IdentityServiceConfig.newBuilder(identityServiceConfig_).mergeFrom(value).buildPartial(); } else { identityServiceConfig_ = value; } @@ -14367,8 +12655,6 @@ public Builder mergeIdentityServiceConfig( return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -14387,42 +12673,33 @@ public Builder clearIdentityServiceConfig() { return this; } /** - * - * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public com.google.container.v1beta1.IdentityServiceConfig.Builder - getIdentityServiceConfigBuilder() { - + public com.google.container.v1beta1.IdentityServiceConfig.Builder getIdentityServiceConfigBuilder() { + onChanged(); return getIdentityServiceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder - getIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { if (identityServiceConfigBuilder_ != null) { return identityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return identityServiceConfig_ == null - ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() - : identityServiceConfig_; + return identityServiceConfig_ == null ? + com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; } } /** - * - * *
      * Configuration for Identity Service component.
      * 
@@ -14430,17 +12707,14 @@ public Builder clearIdentityServiceConfig() { * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, - com.google.container.v1beta1.IdentityServiceConfig.Builder, - com.google.container.v1beta1.IdentityServiceConfigOrBuilder> + com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> getIdentityServiceConfigFieldBuilder() { if (identityServiceConfigBuilder_ == null) { - identityServiceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, - com.google.container.v1beta1.IdentityServiceConfig.Builder, - com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( - getIdentityServiceConfig(), getParentForChildren(), isClean()); + identityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( + getIdentityServiceConfig(), + getParentForChildren(), + isClean()); identityServiceConfig_ = null; } return identityServiceConfigBuilder_; @@ -14448,20 +12722,18 @@ public Builder clearIdentityServiceConfig() { private java.lang.Object selfLink_ = ""; /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -14470,21 +12742,20 @@ public java.lang.String getSelfLink() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -14492,61 +12763,54 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink(java.lang.String value) { + public Builder setSelfLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -14554,8 +12818,6 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -14563,16 +12825,15 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -14581,8 +12842,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -14590,17 +12849,17 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -14608,8 +12867,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -14617,25 +12874,22 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -14643,21 +12897,17 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -14665,19 +12915,18 @@ public Builder clearZone() {
      * 
* * string zone = 101 [deprecated = true]; - * - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -14685,8 +12934,6 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object endpoint_ = ""; /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -14696,13 +12943,13 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string endpoint = 102; - * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -14711,8 +12958,6 @@ public java.lang.String getEndpoint() { } } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -14722,14 +12967,15 @@ public java.lang.String getEndpoint() {
      * 
* * string endpoint = 102; - * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString getEndpointBytes() { + public com.google.protobuf.ByteString + getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endpoint_ = b; return b; } else { @@ -14737,8 +12983,6 @@ public com.google.protobuf.ByteString getEndpointBytes() { } } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -14748,22 +12992,20 @@ public com.google.protobuf.ByteString getEndpointBytes() {
      * 
* * string endpoint = 102; - * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint(java.lang.String value) { + public Builder setEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -14773,18 +13015,15 @@ public Builder setEndpoint(java.lang.String value) {
      * 
* * string endpoint = 102; - * * @return This builder for chaining. */ public Builder clearEndpoint() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); return this; } /** - * - * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -14794,16 +13033,16 @@ public Builder clearEndpoint() {
      * 
* * string endpoint = 102; - * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -14811,8 +13050,6 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object initialClusterVersion_ = ""; /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -14828,13 +13065,13 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
      * 
* * string initial_cluster_version = 103; - * * @return The initialClusterVersion. */ public java.lang.String getInitialClusterVersion() { java.lang.Object ref = initialClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; @@ -14843,8 +13080,6 @@ public java.lang.String getInitialClusterVersion() { } } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -14860,14 +13095,15 @@ public java.lang.String getInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; - * * @return The bytes for initialClusterVersion. */ - public com.google.protobuf.ByteString getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString + getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -14875,8 +13111,6 @@ public com.google.protobuf.ByteString getInitialClusterVersionBytes() { } } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -14892,22 +13126,20 @@ public com.google.protobuf.ByteString getInitialClusterVersionBytes() {
      * 
* * string initial_cluster_version = 103; - * * @param value The initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersion(java.lang.String value) { + public Builder setInitialClusterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + initialClusterVersion_ = value; onChanged(); return this; } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -14923,18 +13155,15 @@ public Builder setInitialClusterVersion(java.lang.String value) {
      * 
* * string initial_cluster_version = 103; - * * @return This builder for chaining. */ public Builder clearInitialClusterVersion() { - + initialClusterVersion_ = getDefaultInstance().getInitialClusterVersion(); onChanged(); return this; } /** - * - * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -14950,16 +13179,16 @@ public Builder clearInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; - * * @param value The bytes for initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setInitialClusterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + initialClusterVersion_ = value; onChanged(); return this; @@ -14967,20 +13196,18 @@ public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString valu private java.lang.Object currentMasterVersion_ = ""; /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @return The currentMasterVersion. */ public java.lang.String getCurrentMasterVersion() { java.lang.Object ref = currentMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; @@ -14989,21 +13216,20 @@ public java.lang.String getCurrentMasterVersion() { } } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @return The bytes for currentMasterVersion. */ - public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString + getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -15011,61 +13237,54 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { } } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @param value The currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersion(java.lang.String value) { + public Builder setCurrentMasterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentMasterVersion_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @return This builder for chaining. */ public Builder clearCurrentMasterVersion() { - + currentMasterVersion_ = getDefaultInstance().getCurrentMasterVersion(); onChanged(); return this; } /** - * - * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; - * * @param value The bytes for currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setCurrentMasterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentMasterVersion_ = value; onChanged(); return this; @@ -15073,8 +13292,6 @@ public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value private java.lang.Object currentNodeVersion_ = ""; /** - * - * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -15084,16 +13301,15 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @return The currentNodeVersion. */ - @java.lang.Deprecated - public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; @@ -15102,8 +13318,6 @@ public java.lang.String getCurrentNodeVersion() { } } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -15113,17 +13327,17 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -15131,8 +13345,6 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { } } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -15142,25 +13354,22 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCurrentNodeVersion(java.lang.String value) { + @java.lang.Deprecated public Builder setCurrentNodeVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentNodeVersion_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -15170,21 +13379,17 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearCurrentNodeVersion() { - + @java.lang.Deprecated public Builder clearCurrentNodeVersion() { + currentNodeVersion_ = getDefaultInstance().getCurrentNodeVersion(); onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -15194,19 +13399,18 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setCurrentNodeVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentNodeVersion_ = value; onChanged(); return this; @@ -15214,21 +13418,19 @@ public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) private java.lang.Object createTime_ = ""; /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @return The createTime. */ public java.lang.String getCreateTime() { java.lang.Object ref = createTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; @@ -15237,22 +13439,21 @@ public java.lang.String getCreateTime() { } } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @return The bytes for createTime. */ - public com.google.protobuf.ByteString getCreateTimeBytes() { + public com.google.protobuf.ByteString + getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createTime_ = b; return b; } else { @@ -15260,64 +13461,57 @@ public com.google.protobuf.ByteString getCreateTimeBytes() { } } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @param value The createTime to set. * @return This builder for chaining. */ - public Builder setCreateTime(java.lang.String value) { + public Builder setCreateTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @return This builder for chaining. */ public Builder clearCreateTime() { - + createTime_ = getDefaultInstance().getCreateTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; - * * @param value The bytes for createTime to set. * @return This builder for chaining. */ - public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) { + public Builder setCreateTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createTime_ = value; onChanged(); return this; @@ -15325,65 +13519,51 @@ public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Cluster.Status result = - com.google.container.v1beta1.Cluster.Status.valueOf(status_); + com.google.container.v1beta1.Cluster.Status result = com.google.container.v1beta1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Cluster.Status.UNRECOGNIZED : result; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @param value The status to set. * @return This builder for chaining. */ @@ -15391,24 +13571,21 @@ public Builder setStatus(com.google.container.v1beta1.Cluster.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -15416,8 +13593,6 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -15425,16 +13600,15 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @return The statusMessage. */ - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -15443,8 +13617,6 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -15452,17 +13624,17 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -15470,8 +13642,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -15479,25 +13649,22 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessage(java.lang.String value) { + @java.lang.Deprecated public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -15505,21 +13672,17 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearStatusMessage() { - + @java.lang.Deprecated public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -15527,28 +13690,25 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private int nodeIpv4CidrSize_; + private int nodeIpv4CidrSize_ ; /** - * - * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -15557,7 +13717,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 node_ipv4_cidr_size = 109; - * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -15565,8 +13724,6 @@ public int getNodeIpv4CidrSize() { return nodeIpv4CidrSize_; } /** - * - * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -15575,19 +13732,16 @@ public int getNodeIpv4CidrSize() {
      * 
* * int32 node_ipv4_cidr_size = 109; - * * @param value The nodeIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setNodeIpv4CidrSize(int value) { - + nodeIpv4CidrSize_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -15596,11 +13750,10 @@ public Builder setNodeIpv4CidrSize(int value) {
      * 
* * int32 node_ipv4_cidr_size = 109; - * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrSize() { - + nodeIpv4CidrSize_ = 0; onChanged(); return this; @@ -15608,8 +13761,6 @@ public Builder clearNodeIpv4CidrSize() { private java.lang.Object servicesIpv4Cidr_ = ""; /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -15619,13 +13770,13 @@ public Builder clearNodeIpv4CidrSize() {
      * 
* * string services_ipv4_cidr = 110; - * * @return The servicesIpv4Cidr. */ public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -15634,8 +13785,6 @@ public java.lang.String getServicesIpv4Cidr() { } } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -15645,14 +13794,15 @@ public java.lang.String getServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; - * * @return The bytes for servicesIpv4Cidr. */ - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -15660,8 +13810,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { } } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -15671,22 +13819,20 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() {
      * 
* * string services_ipv4_cidr = 110; - * * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4Cidr(java.lang.String value) { + public Builder setServicesIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -15696,18 +13842,15 @@ public Builder setServicesIpv4Cidr(java.lang.String value) {
      * 
* * string services_ipv4_cidr = 110; - * * @return This builder for chaining. */ public Builder clearServicesIpv4Cidr() { - + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -15717,275 +13860,232 @@ public Builder clearServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; - * * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated - public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setInstanceGroupUrls(int index, java.lang.String value) { + @java.lang.Deprecated public Builder setInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstanceGroupUrls(java.lang.String value) { + @java.lang.Deprecated public Builder addInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { + @java.lang.Deprecated public Builder addAllInstanceGroupUrls( + java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceGroupUrls_); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearInstanceGroupUrls() { + @java.lang.Deprecated public Builder clearInstanceGroupUrls() { instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** - * - * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder addInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } - private int currentNodeCount_; + private int currentNodeCount_ ; /** - * - * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1851 + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1853 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated - public int getCurrentNodeCount() { + @java.lang.Deprecated public int getCurrentNodeCount() { return currentNodeCount_; } /** - * - * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1851 + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1853 * @param value The currentNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCurrentNodeCount(int value) { - + @java.lang.Deprecated public Builder setCurrentNodeCount(int value) { + currentNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1851 + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1853 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearCurrentNodeCount() { - + @java.lang.Deprecated public Builder clearCurrentNodeCount() { + currentNodeCount_ = 0; onChanged(); return this; @@ -15993,21 +14093,19 @@ public Builder clearCurrentNodeCount() { private java.lang.Object expireTime_ = ""; /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @return The expireTime. */ public java.lang.String getExpireTime() { java.lang.Object ref = expireTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; @@ -16016,22 +14114,21 @@ public java.lang.String getExpireTime() { } } /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @return The bytes for expireTime. */ - public com.google.protobuf.ByteString getExpireTimeBytes() { + public com.google.protobuf.ByteString + getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); expireTime_ = b; return b; } else { @@ -16039,64 +14136,57 @@ public com.google.protobuf.ByteString getExpireTimeBytes() { } } /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @param value The expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTime(java.lang.String value) { + public Builder setExpireTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expireTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @return This builder for chaining. */ public Builder clearExpireTime() { - + expireTime_ = getDefaultInstance().getExpireTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; - * * @param value The bytes for expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) { + public Builder setExpireTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expireTime_ = value; onChanged(); return this; @@ -16104,8 +14194,6 @@ public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -16115,13 +14203,13 @@ public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) {
      * 
* * string location = 114; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -16130,8 +14218,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -16141,14 +14227,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 114; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -16156,8 +14243,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -16167,22 +14252,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 114; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -16192,18 +14275,15 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 114; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -16213,32 +14293,29 @@ public Builder clearLocation() {
      * 
* * string location = 114; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private boolean enableTpu_; + private boolean enableTpu_ ; /** - * - * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * This field is deprecated, use tpu_config.enabled instead.
      * 
* * bool enable_tpu = 115; - * * @return The enableTpu. */ @java.lang.Override @@ -16246,38 +14323,32 @@ public boolean getEnableTpu() { return enableTpu_; } /** - * - * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * This field is deprecated, use tpu_config.enabled instead.
      * 
* * bool enable_tpu = 115; - * * @param value The enableTpu to set. * @return This builder for chaining. */ public Builder setEnableTpu(boolean value) { - + enableTpu_ = value; onChanged(); return this; } /** - * - * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * This field is deprecated, use tpu_config.enabled instead.
      * 
* * bool enable_tpu = 115; - * * @return This builder for chaining. */ public Builder clearEnableTpu() { - + enableTpu_ = false; onChanged(); return this; @@ -16285,8 +14356,6 @@ public Builder clearEnableTpu() { private java.lang.Object tpuIpv4CidrBlock_ = ""; /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -16294,13 +14363,13 @@ public Builder clearEnableTpu() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -16309,8 +14378,6 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -16318,14 +14385,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -16333,8 +14401,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { } } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -16342,22 +14408,20 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock(java.lang.String value) { + public Builder setTpuIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -16365,18 +14429,15 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -16384,16 +14445,16 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; - * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; @@ -16401,47 +14462,34 @@ public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.DatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, - com.google.container.v1beta1.DatabaseEncryption.Builder, - com.google.container.v1beta1.DatabaseEncryptionOrBuilder> - databaseEncryptionBuilder_; + com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; - * * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return databaseEncryptionBuilder_ != null || databaseEncryption_ != null; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; - * * @return The databaseEncryption. */ public com.google.container.v1beta1.DatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null - ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -16462,8 +14510,6 @@ public Builder setDatabaseEncryption(com.google.container.v1beta1.DatabaseEncryp return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -16482,8 +14528,6 @@ public Builder setDatabaseEncryption( return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -16494,9 +14538,7 @@ public Builder mergeDatabaseEncryption(com.google.container.v1beta1.DatabaseEncr if (databaseEncryptionBuilder_ == null) { if (databaseEncryption_ != null) { databaseEncryption_ = - com.google.container.v1beta1.DatabaseEncryption.newBuilder(databaseEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.DatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); } else { databaseEncryption_ = value; } @@ -16508,8 +14550,6 @@ public Builder mergeDatabaseEncryption(com.google.container.v1beta1.DatabaseEncr return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -16528,8 +14568,6 @@ public Builder clearDatabaseEncryption() { return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -16537,32 +14575,26 @@ public Builder clearDatabaseEncryption() { * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; */ public com.google.container.v1beta1.DatabaseEncryption.Builder getDatabaseEncryptionBuilder() { - + onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; */ - public com.google.container.v1beta1.DatabaseEncryptionOrBuilder - getDatabaseEncryptionOrBuilder() { + public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null - ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() - : databaseEncryption_; + return databaseEncryption_ == null ? + com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; } } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -16570,42 +14602,32 @@ public com.google.container.v1beta1.DatabaseEncryption.Builder getDatabaseEncryp * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, - com.google.container.v1beta1.DatabaseEncryption.Builder, - com.google.container.v1beta1.DatabaseEncryptionOrBuilder> + com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, - com.google.container.v1beta1.DatabaseEncryption.Builder, - com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), getParentForChildren(), isClean()); + databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), + getParentForChildren(), + isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; } private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - conditions_ = - new java.util.ArrayList(conditions_); + conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder> - conditionsBuilder_; + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> conditionsBuilder_; /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16620,8 +14642,6 @@ public java.util.List getCondition } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16636,8 +14656,6 @@ public int getConditionsCount() { } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16652,15 +14670,14 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public Builder setConditions(int index, com.google.container.v1beta1.StatusCondition value) { + public Builder setConditions( + int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16674,8 +14691,6 @@ public Builder setConditions(int index, com.google.container.v1beta1.StatusCondi return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16694,8 +14709,6 @@ public Builder setConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16716,15 +14729,14 @@ public Builder addConditions(com.google.container.v1beta1.StatusCondition value) return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public Builder addConditions(int index, com.google.container.v1beta1.StatusCondition value) { + public Builder addConditions( + int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -16738,8 +14750,6 @@ public Builder addConditions(int index, com.google.container.v1beta1.StatusCondi return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16758,8 +14768,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16778,8 +14786,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16790,7 +14796,8 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -16798,8 +14805,6 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16817,8 +14822,6 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16836,44 +14839,39 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder(int index) { + public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -16881,8 +14879,6 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil } } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
@@ -16890,48 +14886,42 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; @@ -16939,33 +14929,24 @@ public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder private com.google.container.v1beta1.Master master_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, - com.google.container.v1beta1.Master.Builder, - com.google.container.v1beta1.MasterOrBuilder> - masterBuilder_; + com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> masterBuilder_; /** - * - * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master master = 124; - * * @return Whether the master field is set. */ public boolean hasMaster() { return masterBuilder_ != null || master_ != null; } /** - * - * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master master = 124; - * * @return The master. */ public com.google.container.v1beta1.Master getMaster() { @@ -16976,8 +14957,6 @@ public com.google.container.v1beta1.Master getMaster() { } } /** - * - * *
      * Configuration for master components.
      * 
@@ -16998,15 +14977,14 @@ public Builder setMaster(com.google.container.v1beta1.Master value) { return this; } /** - * - * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master master = 124; */ - public Builder setMaster(com.google.container.v1beta1.Master.Builder builderForValue) { + public Builder setMaster( + com.google.container.v1beta1.Master.Builder builderForValue) { if (masterBuilder_ == null) { master_ = builderForValue.build(); onChanged(); @@ -17017,8 +14995,6 @@ public Builder setMaster(com.google.container.v1beta1.Master.Builder builderForV return this; } /** - * - * *
      * Configuration for master components.
      * 
@@ -17029,9 +15005,7 @@ public Builder mergeMaster(com.google.container.v1beta1.Master value) { if (masterBuilder_ == null) { if (master_ != null) { master_ = - com.google.container.v1beta1.Master.newBuilder(master_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.Master.newBuilder(master_).mergeFrom(value).buildPartial(); } else { master_ = value; } @@ -17043,8 +15017,6 @@ public Builder mergeMaster(com.google.container.v1beta1.Master value) { return this; } /** - * - * *
      * Configuration for master components.
      * 
@@ -17063,8 +15035,6 @@ public Builder clearMaster() { return this; } /** - * - * *
      * Configuration for master components.
      * 
@@ -17072,13 +15042,11 @@ public Builder clearMaster() { * .google.container.v1beta1.Master master = 124; */ public com.google.container.v1beta1.Master.Builder getMasterBuilder() { - + onChanged(); return getMasterFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for master components.
      * 
@@ -17089,12 +15057,11 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { if (masterBuilder_ != null) { return masterBuilder_.getMessageOrBuilder(); } else { - return master_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : master_; + return master_ == null ? + com.google.container.v1beta1.Master.getDefaultInstance() : master_; } } /** - * - * *
      * Configuration for master components.
      * 
@@ -17102,17 +15069,14 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { * .google.container.v1beta1.Master master = 124; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, - com.google.container.v1beta1.Master.Builder, - com.google.container.v1beta1.MasterOrBuilder> + com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> getMasterFieldBuilder() { if (masterBuilder_ == null) { - masterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, - com.google.container.v1beta1.Master.Builder, - com.google.container.v1beta1.MasterOrBuilder>( - getMaster(), getParentForChildren(), isClean()); + masterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder>( + getMaster(), + getParentForChildren(), + isClean()); master_ = null; } return masterBuilder_; @@ -17120,47 +15084,34 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { private com.google.container.v1beta1.Autopilot autopilot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Autopilot, - com.google.container.v1beta1.Autopilot.Builder, - com.google.container.v1beta1.AutopilotOrBuilder> - autopilotBuilder_; + com.google.container.v1beta1.Autopilot, com.google.container.v1beta1.Autopilot.Builder, com.google.container.v1beta1.AutopilotOrBuilder> autopilotBuilder_; /** - * - * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1beta1.Autopilot autopilot = 128; - * * @return Whether the autopilot field is set. */ public boolean hasAutopilot() { return autopilotBuilder_ != null || autopilot_ != null; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1beta1.Autopilot autopilot = 128; - * * @return The autopilot. */ public com.google.container.v1beta1.Autopilot getAutopilot() { if (autopilotBuilder_ == null) { - return autopilot_ == null - ? com.google.container.v1beta1.Autopilot.getDefaultInstance() - : autopilot_; + return autopilot_ == null ? com.google.container.v1beta1.Autopilot.getDefaultInstance() : autopilot_; } else { return autopilotBuilder_.getMessage(); } } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -17181,15 +15132,14 @@ public Builder setAutopilot(com.google.container.v1beta1.Autopilot value) { return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1beta1.Autopilot autopilot = 128; */ - public Builder setAutopilot(com.google.container.v1beta1.Autopilot.Builder builderForValue) { + public Builder setAutopilot( + com.google.container.v1beta1.Autopilot.Builder builderForValue) { if (autopilotBuilder_ == null) { autopilot_ = builderForValue.build(); onChanged(); @@ -17200,8 +15150,6 @@ public Builder setAutopilot(com.google.container.v1beta1.Autopilot.Builder build return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -17212,9 +15160,7 @@ public Builder mergeAutopilot(com.google.container.v1beta1.Autopilot value) { if (autopilotBuilder_ == null) { if (autopilot_ != null) { autopilot_ = - com.google.container.v1beta1.Autopilot.newBuilder(autopilot_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.Autopilot.newBuilder(autopilot_).mergeFrom(value).buildPartial(); } else { autopilot_ = value; } @@ -17226,8 +15172,6 @@ public Builder mergeAutopilot(com.google.container.v1beta1.Autopilot value) { return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -17246,8 +15190,6 @@ public Builder clearAutopilot() { return this; } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -17255,13 +15197,11 @@ public Builder clearAutopilot() { * .google.container.v1beta1.Autopilot autopilot = 128; */ public com.google.container.v1beta1.Autopilot.Builder getAutopilotBuilder() { - + onChanged(); return getAutopilotFieldBuilder().getBuilder(); } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -17272,14 +15212,11 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { if (autopilotBuilder_ != null) { return autopilotBuilder_.getMessageOrBuilder(); } else { - return autopilot_ == null - ? com.google.container.v1beta1.Autopilot.getDefaultInstance() - : autopilot_; + return autopilot_ == null ? + com.google.container.v1beta1.Autopilot.getDefaultInstance() : autopilot_; } } /** - * - * *
      * Autopilot configuration for the cluster.
      * 
@@ -17287,17 +15224,14 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { * .google.container.v1beta1.Autopilot autopilot = 128; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Autopilot, - com.google.container.v1beta1.Autopilot.Builder, - com.google.container.v1beta1.AutopilotOrBuilder> + com.google.container.v1beta1.Autopilot, com.google.container.v1beta1.Autopilot.Builder, com.google.container.v1beta1.AutopilotOrBuilder> getAutopilotFieldBuilder() { if (autopilotBuilder_ == null) { - autopilotBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Autopilot, - com.google.container.v1beta1.Autopilot.Builder, - com.google.container.v1beta1.AutopilotOrBuilder>( - getAutopilot(), getParentForChildren(), isClean()); + autopilotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Autopilot, com.google.container.v1beta1.Autopilot.Builder, com.google.container.v1beta1.AutopilotOrBuilder>( + getAutopilot(), + getParentForChildren(), + isClean()); autopilot_ = null; } return autopilotBuilder_; @@ -17305,20 +15239,18 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { private java.lang.Object id_ = ""; /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -17327,21 +15259,20 @@ public java.lang.String getId() { } } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -17349,61 +15280,54 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -17411,49 +15335,36 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodePoolDefaults nodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolDefaults, - com.google.container.v1beta1.NodePoolDefaults.Builder, - com.google.container.v1beta1.NodePoolDefaultsOrBuilder> - nodePoolDefaultsBuilder_; + com.google.container.v1beta1.NodePoolDefaults, com.google.container.v1beta1.NodePoolDefaults.Builder, com.google.container.v1beta1.NodePoolDefaultsOrBuilder> nodePoolDefaultsBuilder_; /** - * - * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; - * * @return Whether the nodePoolDefaults field is set. */ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; - * * @return The nodePoolDefaults. */ public com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults() { if (nodePoolDefaultsBuilder_ == null) { - return nodePoolDefaults_ == null - ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() - : nodePoolDefaults_; + return nodePoolDefaults_ == null ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; } else { return nodePoolDefaultsBuilder_.getMessage(); } } /** - * - * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -17475,8 +15386,6 @@ public Builder setNodePoolDefaults(com.google.container.v1beta1.NodePoolDefaults
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -17496,8 +15405,6 @@ public Builder setNodePoolDefaults(
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -17507,14 +15414,11 @@ public Builder setNodePoolDefaults(
      */
     public Builder mergeNodePoolDefaults(com.google.container.v1beta1.NodePoolDefaults value) {
       if (nodePoolDefaultsBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && nodePoolDefaults_ != null
-            && nodePoolDefaults_
-                != com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+            nodePoolDefaults_ != null &&
+            nodePoolDefaults_ != com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()) {
           nodePoolDefaults_ =
-              com.google.container.v1beta1.NodePoolDefaults.newBuilder(nodePoolDefaults_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodePoolDefaults.newBuilder(nodePoolDefaults_).mergeFrom(value).buildPartial();
         } else {
           nodePoolDefaults_ = value;
         }
@@ -17526,8 +15430,6 @@ public Builder mergeNodePoolDefaults(com.google.container.v1beta1.NodePoolDefaul
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -17546,8 +15448,6 @@ public Builder clearNodePoolDefaults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -17561,8 +15461,6 @@ public com.google.container.v1beta1.NodePoolDefaults.Builder getNodePoolDefaults
       return getNodePoolDefaultsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -17574,14 +15472,11 @@ public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefault
       if (nodePoolDefaultsBuilder_ != null) {
         return nodePoolDefaultsBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolDefaults_ == null
-            ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()
-            : nodePoolDefaults_;
+        return nodePoolDefaults_ == null ?
+            com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
       }
     }
     /**
-     *
-     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -17590,17 +15485,14 @@ public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefault
      * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolDefaults,
-            com.google.container.v1beta1.NodePoolDefaults.Builder,
-            com.google.container.v1beta1.NodePoolDefaultsOrBuilder>
+        com.google.container.v1beta1.NodePoolDefaults, com.google.container.v1beta1.NodePoolDefaults.Builder, com.google.container.v1beta1.NodePoolDefaultsOrBuilder> 
         getNodePoolDefaultsFieldBuilder() {
       if (nodePoolDefaultsBuilder_ == null) {
-        nodePoolDefaultsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodePoolDefaults,
-                com.google.container.v1beta1.NodePoolDefaults.Builder,
-                com.google.container.v1beta1.NodePoolDefaultsOrBuilder>(
-                getNodePoolDefaults(), getParentForChildren(), isClean());
+        nodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodePoolDefaults, com.google.container.v1beta1.NodePoolDefaults.Builder, com.google.container.v1beta1.NodePoolDefaultsOrBuilder>(
+                getNodePoolDefaults(),
+                getParentForChildren(),
+                isClean());
         nodePoolDefaults_ = null;
       }
       return nodePoolDefaultsBuilder_;
@@ -17608,47 +15500,34 @@ public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefault
 
     private com.google.container.v1beta1.LoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.LoggingConfig,
-            com.google.container.v1beta1.LoggingConfig.Builder,
-            com.google.container.v1beta1.LoggingConfigOrBuilder>
-        loggingConfigBuilder_;
+        com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> loggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Logging configuration for the cluster.
      * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration for the cluster.
      * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; - * * @return The loggingConfig. */ public com.google.container.v1beta1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -17669,8 +15548,6 @@ public Builder setLoggingConfig(com.google.container.v1beta1.LoggingConfig value return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -17689,8 +15566,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -17701,9 +15576,7 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.LoggingConfig val if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.LoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -17715,8 +15588,6 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.LoggingConfig val return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -17735,8 +15606,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -17744,13 +15613,11 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.LoggingConfig logging_config = 132; */ public com.google.container.v1beta1.LoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -17761,14 +15628,11 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration for the cluster.
      * 
@@ -17776,17 +15640,14 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui * .google.container.v1beta1.LoggingConfig logging_config = 132; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, - com.google.container.v1beta1.LoggingConfig.Builder, - com.google.container.v1beta1.LoggingConfigOrBuilder> + com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, - com.google.container.v1beta1.LoggingConfig.Builder, - com.google.container.v1beta1.LoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -17794,47 +15655,34 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui private com.google.container.v1beta1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, - com.google.container.v1beta1.MonitoringConfig.Builder, - com.google.container.v1beta1.MonitoringConfigOrBuilder> - monitoringConfigBuilder_; + com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; /** - * - * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; - * * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return monitoringConfigBuilder_ != null || monitoringConfig_ != null; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; - * * @return The monitoringConfig. */ public com.google.container.v1beta1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null - ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -17855,8 +15703,6 @@ public Builder setMonitoringConfig(com.google.container.v1beta1.MonitoringConfig return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -17875,8 +15721,6 @@ public Builder setMonitoringConfig( return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -17887,9 +15731,7 @@ public Builder mergeMonitoringConfig(com.google.container.v1beta1.MonitoringConf if (monitoringConfigBuilder_ == null) { if (monitoringConfig_ != null) { monitoringConfig_ = - com.google.container.v1beta1.MonitoringConfig.newBuilder(monitoringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MonitoringConfig.newBuilder(monitoringConfig_).mergeFrom(value).buildPartial(); } else { monitoringConfig_ = value; } @@ -17901,8 +15743,6 @@ public Builder mergeMonitoringConfig(com.google.container.v1beta1.MonitoringConf return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -17921,8 +15761,6 @@ public Builder clearMonitoringConfig() { return this; } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -17930,13 +15768,11 @@ public Builder clearMonitoringConfig() { * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; */ public com.google.container.v1beta1.MonitoringConfig.Builder getMonitoringConfigBuilder() { - + onChanged(); return getMonitoringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -17947,14 +15783,11 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null - ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() - : monitoringConfig_; + return monitoringConfig_ == null ? + com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; } } /** - * - * *
      * Monitoring configuration for the cluster.
      * 
@@ -17962,17 +15795,14 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, - com.google.container.v1beta1.MonitoringConfig.Builder, - com.google.container.v1beta1.MonitoringConfigOrBuilder> + com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, - com.google.container.v1beta1.MonitoringConfig.Builder, - com.google.container.v1beta1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), getParentForChildren(), isClean()); + monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), + getParentForChildren(), + isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; @@ -17980,49 +15810,36 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi private com.google.container.v1beta1.NodePoolAutoConfig nodePoolAutoConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoConfig, - com.google.container.v1beta1.NodePoolAutoConfig.Builder, - com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> - nodePoolAutoConfigBuilder_; + com.google.container.v1beta1.NodePoolAutoConfig, com.google.container.v1beta1.NodePoolAutoConfig.Builder, com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> nodePoolAutoConfigBuilder_; /** - * - * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return Whether the nodePoolAutoConfig field is set. */ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfigBuilder_ != null || nodePoolAutoConfig_ != null; } /** - * - * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return The nodePoolAutoConfig. */ public com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig() { if (nodePoolAutoConfigBuilder_ == null) { - return nodePoolAutoConfig_ == null - ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() - : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; } else { return nodePoolAutoConfigBuilder_.getMessage(); } } /** - * - * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -18044,8 +15861,6 @@ public Builder setNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAutoCo
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -18065,8 +15880,6 @@ public Builder setNodePoolAutoConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -18078,9 +15891,7 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAuto
       if (nodePoolAutoConfigBuilder_ == null) {
         if (nodePoolAutoConfig_ != null) {
           nodePoolAutoConfig_ =
-              com.google.container.v1beta1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_).mergeFrom(value).buildPartial();
         } else {
           nodePoolAutoConfig_ = value;
         }
@@ -18092,8 +15903,6 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAuto
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -18113,8 +15922,6 @@ public Builder clearNodePoolAutoConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -18123,13 +15930,11 @@ public Builder clearNodePoolAutoConfig() {
      * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoConfigBuilder() {
-
+      
       onChanged();
       return getNodePoolAutoConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -18137,19 +15942,15 @@ public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoCo
      *
      * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
-    public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder
-        getNodePoolAutoConfigOrBuilder() {
+    public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder() {
       if (nodePoolAutoConfigBuilder_ != null) {
         return nodePoolAutoConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolAutoConfig_ == null
-            ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance()
-            : nodePoolAutoConfig_;
+        return nodePoolAutoConfig_ == null ?
+            com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -18158,17 +15959,14 @@ public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoCo
      * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolAutoConfig,
-            com.google.container.v1beta1.NodePoolAutoConfig.Builder,
-            com.google.container.v1beta1.NodePoolAutoConfigOrBuilder>
+        com.google.container.v1beta1.NodePoolAutoConfig, com.google.container.v1beta1.NodePoolAutoConfig.Builder, com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> 
         getNodePoolAutoConfigFieldBuilder() {
       if (nodePoolAutoConfigBuilder_ == null) {
-        nodePoolAutoConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodePoolAutoConfig,
-                com.google.container.v1beta1.NodePoolAutoConfig.Builder,
-                com.google.container.v1beta1.NodePoolAutoConfigOrBuilder>(
-                getNodePoolAutoConfig(), getParentForChildren(), isClean());
+        nodePoolAutoConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodePoolAutoConfig, com.google.container.v1beta1.NodePoolAutoConfig.Builder, com.google.container.v1beta1.NodePoolAutoConfigOrBuilder>(
+                getNodePoolAutoConfig(),
+                getParentForChildren(),
+                isClean());
         nodePoolAutoConfig_ = null;
       }
       return nodePoolAutoConfigBuilder_;
@@ -18176,47 +15974,34 @@ public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoCo
 
     private com.google.container.v1beta1.ProtectConfig protectConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ProtectConfig,
-            com.google.container.v1beta1.ProtectConfig.Builder,
-            com.google.container.v1beta1.ProtectConfigOrBuilder>
-        protectConfigBuilder_;
+        com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> protectConfigBuilder_;
     /**
-     *
-     *
      * 
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; - * * @return Whether the protectConfig field is set. */ public boolean hasProtectConfig() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; - * * @return The protectConfig. */ public com.google.container.v1beta1.ProtectConfig getProtectConfig() { if (protectConfigBuilder_ == null) { - return protectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : protectConfig_; + return protectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; } else { return protectConfigBuilder_.getMessage(); } } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -18237,8 +16022,6 @@ public Builder setProtectConfig(com.google.container.v1beta1.ProtectConfig value return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -18257,8 +16040,6 @@ public Builder setProtectConfig( return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -18267,13 +16048,11 @@ public Builder setProtectConfig( */ public Builder mergeProtectConfig(com.google.container.v1beta1.ProtectConfig value) { if (protectConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && protectConfig_ != null - && protectConfig_ != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + protectConfig_ != null && + protectConfig_ != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { protectConfig_ = - com.google.container.v1beta1.ProtectConfig.newBuilder(protectConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ProtectConfig.newBuilder(protectConfig_).mergeFrom(value).buildPartial(); } else { protectConfig_ = value; } @@ -18285,8 +16064,6 @@ public Builder mergeProtectConfig(com.google.container.v1beta1.ProtectConfig val return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -18304,8 +16081,6 @@ public Builder clearProtectConfig() { return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -18318,8 +16093,6 @@ public com.google.container.v1beta1.ProtectConfig.Builder getProtectConfigBuilde return getProtectConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -18330,14 +16103,11 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBui if (protectConfigBuilder_ != null) { return protectConfigBuilder_.getMessageOrBuilder(); } else { - return protectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : protectConfig_; + return protectConfig_ == null ? + com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; } } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -18345,24 +16115,21 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBui * optional .google.container.v1beta1.ProtectConfig protect_config = 137; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, - com.google.container.v1beta1.ProtectConfig.Builder, - com.google.container.v1beta1.ProtectConfigOrBuilder> + com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> getProtectConfigFieldBuilder() { if (protectConfigBuilder_ == null) { - protectConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, - com.google.container.v1beta1.ProtectConfig.Builder, - com.google.container.v1beta1.ProtectConfigOrBuilder>( - getProtectConfig(), getParentForChildren(), isClean()); + protectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder>( + getProtectConfig(), + getParentForChildren(), + isClean()); protectConfig_ = null; } return protectConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -18372,12 +16139,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Cluster) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Cluster) private static final com.google.container.v1beta1.Cluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Cluster(); } @@ -18386,27 +16153,27 @@ public static com.google.container.v1beta1.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -18421,4 +16188,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java similarity index 71% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java index de5c14b1d281..c0e44c52ecd7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ClusterAutoscaling contains global, per-cluster information
  * required by Cluster Autoscaler to automatically adjust
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.ClusterAutoscaling}
  */
-public final class ClusterAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClusterAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClusterAutoscaling)
     ClusterAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClusterAutoscaling.newBuilder() to construct.
   private ClusterAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClusterAutoscaling() {
     resourceLimits_ = java.util.Collections.emptyList();
     autoscalingProfile_ = 0;
@@ -48,43 +30,39 @@ private ClusterAutoscaling() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClusterAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ClusterAutoscaling.class,
-            com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
+            com.google.container.v1beta1.ClusterAutoscaling.class, com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Defines possible options for autoscaling_profile field.
    * 
* * Protobuf enum {@code google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile} */ - public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnum { + public enum AutoscalingProfile + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No change to autoscaling configuration.
      * 
@@ -93,8 +71,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ PROFILE_UNSPECIFIED(0), /** - * - * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -103,8 +79,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ OPTIMIZE_UTILIZATION(1), /** - * - * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -116,8 +90,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
      * No change to autoscaling configuration.
      * 
@@ -126,8 +98,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ public static final int PROFILE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -136,8 +106,6 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ public static final int OPTIMIZE_UTILIZATION_VALUE = 1; /** - * - * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -146,6 +114,7 @@ public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnu */ public static final int BALANCED_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -170,14 +139,10 @@ public static AutoscalingProfile valueOf(int value) { */ public static AutoscalingProfile forNumber(int value) { switch (value) { - case 0: - return PROFILE_UNSPECIFIED; - case 1: - return OPTIMIZE_UTILIZATION; - case 2: - return BALANCED; - default: - return null; + case 0: return PROFILE_UNSPECIFIED; + case 1: return OPTIMIZE_UTILIZATION; + case 2: return BALANCED; + default: return null; } } @@ -185,28 +150,28 @@ public static AutoscalingProfile forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + AutoscalingProfile> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AutoscalingProfile findValueByNumber(int number) { + return AutoscalingProfile.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AutoscalingProfile findValueByNumber(int number) { - return AutoscalingProfile.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.ClusterAutoscaling.getDescriptor().getEnumTypes().get(0); } @@ -215,7 +180,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static AutoscalingProfile valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -235,14 +201,11 @@ private AutoscalingProfile(int value) { public static final int ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER = 1; private boolean enableNodeAutoprovisioning_; /** - * - * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; - * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -253,8 +216,6 @@ public boolean getEnableNodeAutoprovisioning() { public static final int RESOURCE_LIMITS_FIELD_NUMBER = 2; private java.util.List resourceLimits_; /** - * - * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -267,8 +228,6 @@ public java.util.List getResourceLim
     return resourceLimits_;
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -277,13 +236,11 @@ public java.util.List getResourceLim
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getResourceLimitsOrBuilderList() {
     return resourceLimits_;
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -296,8 +253,6 @@ public int getResourceLimitsCount() {
     return resourceLimits_.size();
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -310,8 +265,6 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
     return resourceLimits_.get(index);
   }
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -320,67 +273,47 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index) {
+  public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
+      int index) {
     return resourceLimits_.get(index);
   }
 
   public static final int AUTOSCALING_PROFILE_FIELD_NUMBER = 3;
   private int autoscalingProfile_;
   /**
-   *
-   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override - public int getAutoscalingProfileValue() { + @java.lang.Override public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** - * - * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The autoscalingProfile. */ - @java.lang.Override - public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile - getAutoscalingProfile() { + @java.lang.Override public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = - com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf( - autoscalingProfile_); - return result == null - ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED - : result; + com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); + return result == null ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; } public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER = 4; - private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults - autoprovisioningNodePoolDefaults_; + private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return Whether the autoprovisioningNodePoolDefaults field is set. */ @java.lang.Override @@ -388,49 +321,34 @@ public boolean hasAutoprovisioningNodePoolDefaults() { return autoprovisioningNodePoolDefaults_ != null; } /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return The autoprovisioningNodePoolDefaults. */ @java.lang.Override - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults - getAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaults_ == null - ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() - : autoprovisioningNodePoolDefaults_; + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { + return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; } /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ @java.lang.Override - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder - getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { return getAutoprovisioningNodePoolDefaults(); } public static final int AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList autoprovisioningLocations_; /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -438,15 +356,13 @@ public boolean hasAutoprovisioningNodePoolDefaults() {
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList + getAutoprovisioningLocationsList() { return autoprovisioningLocations_; } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -454,15 +370,12 @@ public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList()
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -470,7 +383,6 @@ public int getAutoprovisioningLocationsCount() {
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -478,8 +390,6 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -487,16 +397,15 @@ public java.lang.String getAutoprovisioningLocations(int index) {
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString + getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -508,24 +417,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enableNodeAutoprovisioning_ != false) { output.writeBool(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { output.writeMessage(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ - != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED - .getNumber()) { + if (autoscalingProfile_ != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { output.writeEnum(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { output.writeMessage(4, getAutoprovisioningNodePoolDefaults()); } for (int i = 0; i < autoprovisioningLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, autoprovisioningLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, autoprovisioningLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -537,20 +444,20 @@ public int getSerializedSize() { size = 0; if (enableNodeAutoprovisioning_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableNodeAutoprovisioning_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resourceLimits_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ - != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, autoscalingProfile_); + if (autoscalingProfile_ != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, getAutoprovisioningNodePoolDefaults()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAutoprovisioningNodePoolDefaults()); } { int dataSize = 0; @@ -568,25 +475,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClusterAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.ClusterAutoscaling other = - (com.google.container.v1beta1.ClusterAutoscaling) obj; + com.google.container.v1beta1.ClusterAutoscaling other = (com.google.container.v1beta1.ClusterAutoscaling) obj; - if (getEnableNodeAutoprovisioning() != other.getEnableNodeAutoprovisioning()) return false; - if (!getResourceLimitsList().equals(other.getResourceLimitsList())) return false; + if (getEnableNodeAutoprovisioning() + != other.getEnableNodeAutoprovisioning()) return false; + if (!getResourceLimitsList() + .equals(other.getResourceLimitsList())) return false; if (autoscalingProfile_ != other.autoscalingProfile_) return false; - if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) - return false; + if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) return false; if (hasAutoprovisioningNodePoolDefaults()) { if (!getAutoprovisioningNodePoolDefaults() .equals(other.getAutoprovisioningNodePoolDefaults())) return false; } - if (!getAutoprovisioningLocationsList().equals(other.getAutoprovisioningLocationsList())) - return false; + if (!getAutoprovisioningLocationsList() + .equals(other.getAutoprovisioningLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -599,7 +506,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNodeAutoprovisioning()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableNodeAutoprovisioning()); if (getResourceLimitsCount() > 0) { hash = (37 * hash) + RESOURCE_LIMITS_FIELD_NUMBER; hash = (53 * hash) + getResourceLimitsList().hashCode(); @@ -619,104 +527,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( 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.ClusterAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ClusterAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ClusterAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ClusterAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ClusterAutoscaling contains global, per-cluster information
    * required by Cluster Autoscaler to automatically adjust
@@ -726,32 +627,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ClusterAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClusterAutoscaling)
       com.google.container.v1beta1.ClusterAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ClusterAutoscaling.class,
-              com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
+              com.google.container.v1beta1.ClusterAutoscaling.class, com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ClusterAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -778,9 +680,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -799,8 +701,7 @@ public com.google.container.v1beta1.ClusterAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ClusterAutoscaling buildPartial() {
-      com.google.container.v1beta1.ClusterAutoscaling result =
-          new com.google.container.v1beta1.ClusterAutoscaling(this);
+      com.google.container.v1beta1.ClusterAutoscaling result = new com.google.container.v1beta1.ClusterAutoscaling(this);
       int from_bitField0_ = bitField0_;
       result.enableNodeAutoprovisioning_ = enableNodeAutoprovisioning_;
       if (resourceLimitsBuilder_ == null) {
@@ -831,39 +732,38 @@ public com.google.container.v1beta1.ClusterAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ClusterAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.ClusterAutoscaling) other);
+        return mergeFrom((com.google.container.v1beta1.ClusterAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -871,8 +771,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ClusterAutoscaling other) {
-      if (other == com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance()) return this;
       if (other.getEnableNodeAutoprovisioning() != false) {
         setEnableNodeAutoprovisioning(other.getEnableNodeAutoprovisioning());
       }
@@ -894,10 +793,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterAutoscaling other)
             resourceLimitsBuilder_ = null;
             resourceLimits_ = other.resourceLimits_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceLimitsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResourceLimitsFieldBuilder()
-                    : null;
+            resourceLimitsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getResourceLimitsFieldBuilder() : null;
           } else {
             resourceLimitsBuilder_.addAllMessages(other.resourceLimits_);
           }
@@ -945,53 +843,48 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enableNodeAutoprovisioning_ = input.readBool();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                com.google.container.v1beta1.ResourceLimit m =
-                    input.readMessage(
-                        com.google.container.v1beta1.ResourceLimit.parser(), extensionRegistry);
-                if (resourceLimitsBuilder_ == null) {
-                  ensureResourceLimitsIsMutable();
-                  resourceLimits_.add(m);
-                } else {
-                  resourceLimitsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                autoscalingProfile_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAutoprovisioningLocationsIsMutable();
-                autoprovisioningLocations_.add(s);
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enableNodeAutoprovisioning_ = input.readBool();
+
+              break;
+            } // case 8
+            case 18: {
+              com.google.container.v1beta1.ResourceLimit m =
+                  input.readMessage(
+                      com.google.container.v1beta1.ResourceLimit.parser(),
+                      extensionRegistry);
+              if (resourceLimitsBuilder_ == null) {
+                ensureResourceLimitsIsMutable();
+                resourceLimits_.add(m);
+              } else {
+                resourceLimitsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              autoscalingProfile_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAutoprovisioningLocationsIsMutable();
+              autoprovisioningLocations_.add(s);
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1001,19 +894,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enableNodeAutoprovisioning_;
+    private boolean enableNodeAutoprovisioning_ ;
     /**
-     *
-     *
      * 
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; - * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -1021,61 +910,48 @@ public boolean getEnableNodeAutoprovisioning() { return enableNodeAutoprovisioning_; } /** - * - * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; - * * @param value The enableNodeAutoprovisioning to set. * @return This builder for chaining. */ public Builder setEnableNodeAutoprovisioning(boolean value) { - + enableNodeAutoprovisioning_ = value; onChanged(); return this; } /** - * - * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; - * * @return This builder for chaining. */ public Builder clearEnableNodeAutoprovisioning() { - + enableNodeAutoprovisioning_ = false; onChanged(); return this; } private java.util.List resourceLimits_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureResourceLimitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceLimits_ = - new java.util.ArrayList(resourceLimits_); + resourceLimits_ = new java.util.ArrayList(resourceLimits_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ResourceLimit, - com.google.container.v1beta1.ResourceLimit.Builder, - com.google.container.v1beta1.ResourceLimitOrBuilder> - resourceLimitsBuilder_; + com.google.container.v1beta1.ResourceLimit, com.google.container.v1beta1.ResourceLimit.Builder, com.google.container.v1beta1.ResourceLimitOrBuilder> resourceLimitsBuilder_; /** - * - * *
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1091,8 +967,6 @@ public java.util.List getResourceLim
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1108,8 +982,6 @@ public int getResourceLimitsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1125,8 +997,6 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1134,7 +1004,8 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public Builder setResourceLimits(int index, com.google.container.v1beta1.ResourceLimit value) {
+    public Builder setResourceLimits(
+        int index, com.google.container.v1beta1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1148,8 +1019,6 @@ public Builder setResourceLimits(int index, com.google.container.v1beta1.Resourc
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1169,8 +1038,6 @@ public Builder setResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1192,8 +1059,6 @@ public Builder addResourceLimits(com.google.container.v1beta1.ResourceLimit valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1201,7 +1066,8 @@ public Builder addResourceLimits(com.google.container.v1beta1.ResourceLimit valu
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public Builder addResourceLimits(int index, com.google.container.v1beta1.ResourceLimit value) {
+    public Builder addResourceLimits(
+        int index, com.google.container.v1beta1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1215,8 +1081,6 @@ public Builder addResourceLimits(int index, com.google.container.v1beta1.Resourc
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1236,8 +1100,6 @@ public Builder addResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1257,8 +1119,6 @@ public Builder addResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1270,7 +1130,8 @@ public Builder addAllResourceLimits(
         java.lang.Iterable values) {
       if (resourceLimitsBuilder_ == null) {
         ensureResourceLimitsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceLimits_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, resourceLimits_);
         onChanged();
       } else {
         resourceLimitsBuilder_.addAllMessages(values);
@@ -1278,8 +1139,6 @@ public Builder addAllResourceLimits(
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1298,8 +1157,6 @@ public Builder clearResourceLimits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1318,8 +1175,6 @@ public Builder removeResourceLimits(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1327,12 +1182,11 @@ public Builder removeResourceLimits(int index) {
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1beta1.ResourceLimit.Builder getResourceLimitsBuilder(int index) {
+    public com.google.container.v1beta1.ResourceLimit.Builder getResourceLimitsBuilder(
+        int index) {
       return getResourceLimitsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1343,14 +1197,11 @@ public com.google.container.v1beta1.ResourceLimit.Builder getResourceLimitsBuild
     public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
         int index) {
       if (resourceLimitsBuilder_ == null) {
-        return resourceLimits_.get(index);
-      } else {
+        return resourceLimits_.get(index);  } else {
         return resourceLimitsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1358,8 +1209,8 @@ public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBu
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List
-        getResourceLimitsOrBuilderList() {
+    public java.util.List 
+         getResourceLimitsOrBuilderList() {
       if (resourceLimitsBuilder_ != null) {
         return resourceLimitsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1367,8 +1218,6 @@ public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1377,12 +1226,10 @@ public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBu
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
     public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuilder() {
-      return getResourceLimitsFieldBuilder()
-          .addBuilder(com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
+      return getResourceLimitsFieldBuilder().addBuilder(
+          com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1390,13 +1237,12 @@ public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuild
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuilder(int index) {
-      return getResourceLimitsFieldBuilder()
-          .addBuilder(index, com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
+    public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuilder(
+        int index) {
+      return getResourceLimitsFieldBuilder().addBuilder(
+          index, com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1404,22 +1250,16 @@ public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuild
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List
-        getResourceLimitsBuilderList() {
+    public java.util.List 
+         getResourceLimitsBuilderList() {
       return getResourceLimitsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.ResourceLimit,
-            com.google.container.v1beta1.ResourceLimit.Builder,
-            com.google.container.v1beta1.ResourceLimitOrBuilder>
+        com.google.container.v1beta1.ResourceLimit, com.google.container.v1beta1.ResourceLimit.Builder, com.google.container.v1beta1.ResourceLimitOrBuilder> 
         getResourceLimitsFieldBuilder() {
       if (resourceLimitsBuilder_ == null) {
-        resourceLimitsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1beta1.ResourceLimit,
-                com.google.container.v1beta1.ResourceLimit.Builder,
-                com.google.container.v1beta1.ResourceLimitOrBuilder>(
+        resourceLimitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1beta1.ResourceLimit, com.google.container.v1beta1.ResourceLimit.Builder, com.google.container.v1beta1.ResourceLimitOrBuilder>(
                 resourceLimits_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1431,173 +1271,118 @@ public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuild
 
     private int autoscalingProfile_ = 0;
     /**
-     *
-     *
      * 
      * Defines autoscaling behaviour.
      * 
* - * - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override - public int getAutoscalingProfileValue() { + @java.lang.Override public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @param value The enum numeric value on the wire for autoscalingProfile to set. * @return This builder for chaining. */ public Builder setAutoscalingProfileValue(int value) { - + autoscalingProfile_ = value; onChanged(); return this; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The autoscalingProfile. */ @java.lang.Override - public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile - getAutoscalingProfile() { + public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = - com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf( - autoscalingProfile_); - return result == null - ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED - : result; + com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); + return result == null ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @param value The autoscalingProfile to set. * @return This builder for chaining. */ - public Builder setAutoscalingProfile( - com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile value) { + public Builder setAutoscalingProfile(com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile value) { if (value == null) { throw new NullPointerException(); } - + autoscalingProfile_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Defines autoscaling behaviour.
      * 
* - * - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return This builder for chaining. */ public Builder clearAutoscalingProfile() { - + autoscalingProfile_ = 0; onChanged(); return this; } - private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults - autoprovisioningNodePoolDefaults_; + private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, - com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> - autoprovisioningNodePoolDefaultsBuilder_; + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> autoprovisioningNodePoolDefaultsBuilder_; /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return Whether the autoprovisioningNodePoolDefaults field is set. */ public boolean hasAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaultsBuilder_ != null - || autoprovisioningNodePoolDefaults_ != null; + return autoprovisioningNodePoolDefaultsBuilder_ != null || autoprovisioningNodePoolDefaults_ != null; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return The autoprovisioningNodePoolDefaults. */ - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults - getAutoprovisioningNodePoolDefaults() { + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - return autoprovisioningNodePoolDefaults_ == null - ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() - : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; } else { return autoprovisioningNodePoolDefaultsBuilder_.getMessage(); } } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public Builder setAutoprovisioningNodePoolDefaults( - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { + public Builder setAutoprovisioningNodePoolDefaults(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1611,16 +1396,12 @@ public Builder setAutoprovisioningNodePoolDefaults( return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ public Builder setAutoprovisioningNodePoolDefaults( com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder builderForValue) { @@ -1634,26 +1415,18 @@ public Builder setAutoprovisioningNodePoolDefaults( return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public Builder mergeAutoprovisioningNodePoolDefaults( - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { + public Builder mergeAutoprovisioningNodePoolDefaults(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (autoprovisioningNodePoolDefaults_ != null) { autoprovisioningNodePoolDefaults_ = - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.newBuilder( - autoprovisioningNodePoolDefaults_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.newBuilder(autoprovisioningNodePoolDefaults_).mergeFrom(value).buildPartial(); } else { autoprovisioningNodePoolDefaults_ = value; } @@ -1665,16 +1438,12 @@ public Builder mergeAutoprovisioningNodePoolDefaults( return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ public Builder clearAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { @@ -1688,87 +1457,64 @@ public Builder clearAutoprovisioningNodePoolDefaults() { return this; } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder - getAutoprovisioningNodePoolDefaultsBuilder() { - + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder getAutoprovisioningNodePoolDefaultsBuilder() { + onChanged(); return getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(); } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder - getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ != null) { return autoprovisioningNodePoolDefaultsBuilder_.getMessageOrBuilder(); } else { - return autoprovisioningNodePoolDefaults_ == null - ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() - : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null ? + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; } } /** - * - * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, - com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> getAutoprovisioningNodePoolDefaultsFieldBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - autoprovisioningNodePoolDefaultsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, - com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder>( - getAutoprovisioningNodePoolDefaults(), getParentForChildren(), isClean()); + autoprovisioningNodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder>( + getAutoprovisioningNodePoolDefaults(), + getParentForChildren(), + isClean()); autoprovisioningNodePoolDefaults_ = null; } return autoprovisioningNodePoolDefaultsBuilder_; } - private com.google.protobuf.LazyStringList autoprovisioningLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList autoprovisioningLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAutoprovisioningLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - autoprovisioningLocations_ = - new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); + autoprovisioningLocations_ = new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1776,15 +1522,13 @@ private void ensureAutoprovisioningLocationsIsMutable() {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList + getAutoprovisioningLocationsList() { return autoprovisioningLocations_.getUnmodifiableView(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1792,15 +1536,12 @@ public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList()
      * 
* * repeated string autoprovisioning_locations = 5; - * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1808,7 +1549,6 @@ public int getAutoprovisioningLocationsCount() {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -1816,8 +1556,6 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1825,16 +1563,14 @@ public java.lang.String getAutoprovisioningLocations(int index) {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString + getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1842,23 +1578,21 @@ public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int inde
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index to set the value at. * @param value The autoprovisioningLocations to set. * @return This builder for chaining. */ - public Builder setAutoprovisioningLocations(int index, java.lang.String value) { + public Builder setAutoprovisioningLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1866,22 +1600,20 @@ public Builder setAutoprovisioningLocations(int index, java.lang.String value) {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param value The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocations(java.lang.String value) { + public Builder addAutoprovisioningLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1889,19 +1621,18 @@ public Builder addAutoprovisioningLocations(java.lang.String value) {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param values The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAllAutoprovisioningLocations(java.lang.Iterable values) { + public Builder addAllAutoprovisioningLocations( + java.lang.Iterable values) { ensureAutoprovisioningLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, autoprovisioningLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, autoprovisioningLocations_); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1909,7 +1640,6 @@ public Builder addAllAutoprovisioningLocations(java.lang.Iterable
      *
      * repeated string autoprovisioning_locations = 5;
-     *
      * @return This builder for chaining.
      */
     public Builder clearAutoprovisioningLocations() {
@@ -1919,8 +1649,6 @@ public Builder clearAutoprovisioningLocations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1928,23 +1656,23 @@ public Builder clearAutoprovisioningLocations() {
      * 
* * repeated string autoprovisioning_locations = 5; - * * @param value The bytes of the autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addAutoprovisioningLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1954,12 +1682,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClusterAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterAutoscaling) private static final com.google.container.v1beta1.ClusterAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClusterAutoscaling(); } @@ -1968,27 +1696,27 @@ public static com.google.container.v1beta1.ClusterAutoscaling getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2003,4 +1731,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClusterAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java index de9c66f772bd..a489cb1fc997 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java @@ -1,44 +1,23 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ClusterAutoscalingOrBuilder - extends +public interface ClusterAutoscalingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClusterAutoscaling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; - * * @return The enableNodeAutoprovisioning. */ boolean getEnableNodeAutoprovisioning(); /** - * - * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -46,10 +25,9 @@ public interface ClusterAutoscalingOrBuilder
    *
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
-  java.util.List getResourceLimitsList();
+  java.util.List 
+      getResourceLimitsList();
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -59,8 +37,6 @@ public interface ClusterAutoscalingOrBuilder
    */
   com.google.container.v1beta1.ResourceLimit getResourceLimits(int index);
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -70,8 +46,6 @@ public interface ClusterAutoscalingOrBuilder
    */
   int getResourceLimitsCount();
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -79,11 +53,9 @@ public interface ClusterAutoscalingOrBuilder
    *
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
-  java.util.List
+  java.util.List 
       getResourceLimitsOrBuilderList();
   /**
-   *
-   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -91,84 +63,59 @@ public interface ClusterAutoscalingOrBuilder
    *
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
-  com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index);
+  com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The enum numeric value on the wire for autoscalingProfile. */ int getAutoscalingProfileValue(); /** - * - * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; - * - * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; * @return The autoscalingProfile. */ com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile(); /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return Whether the autoprovisioningNodePoolDefaults field is set. */ boolean hasAutoprovisioningNodePoolDefaults(); /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * @return The autoprovisioningNodePoolDefaults. */ - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults - getAutoprovisioningNodePoolDefaults(); + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults(); /** - * - * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; - * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; */ - com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder - getAutoprovisioningNodePoolDefaultsOrBuilder(); + com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -176,13 +123,11 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return A list containing the autoprovisioningLocations. */ - java.util.List getAutoprovisioningLocationsList(); + java.util.List + getAutoprovisioningLocationsList(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -190,13 +135,10 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @return The count of autoprovisioningLocations. */ int getAutoprovisioningLocationsCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -204,14 +146,11 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ java.lang.String getAutoprovisioningLocations(int index); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -219,9 +158,9 @@ public interface ClusterAutoscalingOrBuilder
    * 
* * repeated string autoprovisioning_locations = 5; - * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index); + com.google.protobuf.ByteString + getAutoprovisioningLocationsBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java similarity index 88% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java index 9a2295f80446..023a904f5ff1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ClusterOrBuilder - extends +public interface ClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Cluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -36,13 +18,10 @@ public interface ClusterOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -53,39 +32,32 @@ public interface ClusterOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * An optional description of this cluster.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -99,17 +71,13 @@ 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=1578 + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1580 * @return The initialNodeCount. */ - @java.lang.Deprecated - int getInitialNodeCount(); + @java.lang.Deprecated int getInitialNodeCount(); /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -124,16 +92,12 @@ 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=1591 + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1593 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated - boolean hasNodeConfig(); + @java.lang.Deprecated boolean hasNodeConfig(); /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -148,16 +112,12 @@ 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=1591 + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1593 * @return The nodeConfig. */ - @java.lang.Deprecated - com.google.container.v1beta1.NodeConfig getNodeConfig(); + @java.lang.Deprecated com.google.container.v1beta1.NodeConfig getNodeConfig(); /** - * - * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -173,12 +133,9 @@ public interface ClusterOrBuilder
    *
    * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
    */
-  @java.lang.Deprecated
-  com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder();
+  @java.lang.Deprecated com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -188,13 +145,10 @@ public interface ClusterOrBuilder
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; - * * @return Whether the masterAuth field is set. */ boolean hasMasterAuth(); /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -204,13 +158,10 @@ public interface ClusterOrBuilder
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; - * * @return The masterAuth. */ com.google.container.v1beta1.MasterAuth getMasterAuth(); /** - * - * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -224,8 +175,6 @@ public interface ClusterOrBuilder
   com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder();
 
   /**
-   *
-   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -239,13 +188,10 @@ public interface ClusterOrBuilder
    * 
* * string logging_service = 6; - * * @return The loggingService. */ java.lang.String getLoggingService(); /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -259,14 +205,12 @@ public interface ClusterOrBuilder
    * 
* * string logging_service = 6; - * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString getLoggingServiceBytes(); + com.google.protobuf.ByteString + getLoggingServiceBytes(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -280,13 +224,10 @@ public interface ClusterOrBuilder
    * 
* * string monitoring_service = 7; - * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -300,14 +241,12 @@ public interface ClusterOrBuilder
    * 
* * string monitoring_service = 7; - * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString getMonitoringServiceBytes(); + com.google.protobuf.ByteString + getMonitoringServiceBytes(); /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -317,13 +256,10 @@ public interface ClusterOrBuilder
    * 
* * string network = 8; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -333,14 +269,12 @@ public interface ClusterOrBuilder
    * 
* * string network = 8; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -349,13 +283,10 @@ public interface ClusterOrBuilder
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The clusterIpv4Cidr. */ java.lang.String getClusterIpv4Cidr(); /** - * - * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -364,38 +295,30 @@ public interface ClusterOrBuilder
    * 
* * string cluster_ipv4_cidr = 9; - * * @return The bytes for clusterIpv4Cidr. */ - com.google.protobuf.ByteString getClusterIpv4CidrBytes(); + com.google.protobuf.ByteString + getClusterIpv4CidrBytes(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; - * * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; - * * @return The addonsConfig. */ com.google.container.v1beta1.AddonsConfig getAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -405,8 +328,6 @@ public interface ClusterOrBuilder com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -415,13 +336,10 @@ public interface ClusterOrBuilder
    * 
* * string subnetwork = 11; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -430,14 +348,12 @@ public interface ClusterOrBuilder
    * 
* * string subnetwork = 11; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -446,10 +362,9 @@ public interface ClusterOrBuilder
    *
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
-  java.util.List getNodePoolsList();
+  java.util.List 
+      getNodePoolsList();
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -460,8 +375,6 @@ public interface ClusterOrBuilder
    */
   com.google.container.v1beta1.NodePool getNodePools(int index);
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -472,8 +385,6 @@ public interface ClusterOrBuilder
    */
   int getNodePoolsCount();
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -482,11 +393,9 @@ public interface ClusterOrBuilder
    *
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
-  java.util.List
+  java.util.List 
       getNodePoolsOrBuilderList();
   /**
-   *
-   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -495,11 +404,10 @@ public interface ClusterOrBuilder
    *
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
-  com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index);
+  com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -513,13 +421,11 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -533,13 +439,10 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -553,14 +456,11 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -574,15 +474,13 @@ public interface ClusterOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -593,14 +491,11 @@ public interface ClusterOrBuilder
    * 
* * bool enable_kubernetes_alpha = 14; - * * @return The enableKubernetesAlpha. */ boolean getEnableKubernetesAlpha(); /** - * - * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -610,8 +505,6 @@ public interface ClusterOrBuilder
    */
   int getResourceLabelsCount();
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -619,13 +512,15 @@ public interface ClusterOrBuilder
    *
    * map<string, string> resource_labels = 15;
    */
-  boolean containsResourceLabels(java.lang.String key);
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  boolean containsResourceLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getResourceLabels();
+  java.util.Map
+  getResourceLabels();
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -633,10 +528,9 @@ public interface ClusterOrBuilder
    *
    * map<string, string> resource_labels = 15;
    */
-  java.util.Map getResourceLabelsMap();
+  java.util.Map
+  getResourceLabelsMap();
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -646,13 +540,11 @@ public interface ClusterOrBuilder
    */
 
   /* nullable */
-  java.lang.String getResourceLabelsOrDefault(
+java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -660,60 +552,49 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 15;
    */
-  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** - * - * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; - * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString getLabelFingerprintBytes(); + com.google.protobuf.ByteString + getLabelFingerprintBytes(); /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; - * * @return Whether the legacyAbac field is set. */ boolean hasLegacyAbac(); /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; - * * @return The legacyAbac. */ com.google.container.v1beta1.LegacyAbac getLegacyAbac(); /** - * - * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -723,32 +604,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder(); /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; - * * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; - * * @return The networkPolicy. */ com.google.container.v1beta1.NetworkPolicy getNetworkPolicy(); /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -758,32 +631,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** - * - * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; - * * @return The ipAllocationPolicy. */ com.google.container.v1beta1.IPAllocationPolicy getIpAllocationPolicy(); /** - * - * *
    * Configuration for cluster IP allocation.
    * 
@@ -793,74 +658,51 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return Whether the masterAuthorizedNetworksConfig field is set. */ boolean hasMasterAuthorizedNetworksConfig(); /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; * @return The masterAuthorizedNetworksConfig. */ com.google.container.v1beta1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig(); /** - * - * *
    * The configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder - getMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder(); /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; - * * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; - * * @return The maintenancePolicy. */ com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy(); /** - * - * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -870,32 +712,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; - * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** - * - * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; - * * @return The binaryAuthorization. */ com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization(); /** - * - * *
    * Configuration for Binary Authorization.
    * 
@@ -905,68 +739,51 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); /** - * - * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * * @return Whether the podSecurityPolicyConfig field is set. */ boolean hasPodSecurityPolicyConfig(); /** - * - * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; - * * @return The podSecurityPolicyConfig. */ com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicyConfig(); /** - * - * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder - getPodSecurityPolicyConfigOrBuilder(); + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getPodSecurityPolicyConfigOrBuilder(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; - * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; - * * @return The autoscaling. */ com.google.container.v1beta1.ClusterAutoscaling getAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -976,32 +793,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOrBuilder(); /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; - * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; - * * @return The networkConfig. */ com.google.container.v1beta1.NetworkConfig getNetworkConfig(); /** - * - * *
    * Configuration for cluster networking.
    * 
@@ -1011,8 +820,6 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** - * - * *
    * If this is a private cluster setup. Private clusters are clusters that, by
    * default have no external IP addresses on the nodes and where nodes and the
@@ -1022,17 +829,13 @@ 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=1713 + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1715 * @return The privateCluster. */ - @java.lang.Deprecated - boolean getPrivateCluster(); + @java.lang.Deprecated boolean getPrivateCluster(); /** - * - * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -1042,16 +845,12 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @return The masterIpv4CidrBlock. */ - @java.lang.Deprecated - java.lang.String getMasterIpv4CidrBlock(); + @java.lang.Deprecated java.lang.String getMasterIpv4CidrBlock(); /** - * - * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -1061,17 +860,14 @@ 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=1720 + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1722 * @return The bytes for masterIpv4CidrBlock. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes(); /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1079,13 +875,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return Whether the defaultMaxPodsConstraint field is set. */ boolean hasDefaultMaxPodsConstraint(); /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1093,13 +886,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; - * * @return The defaultMaxPodsConstraint. */ com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstraint(); /** - * - * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1111,113 +901,81 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return Whether the resourceUsageExportConfig field is set. */ boolean hasResourceUsageExportConfig(); /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; * @return The resourceUsageExportConfig. */ com.google.container.v1beta1.ResourceUsageExportConfig getResourceUsageExportConfig(); /** - * - * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; - * + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; */ - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder - getResourceUsageExportConfigOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder(); /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; * @return Whether the authenticatorGroupsConfig field is set. */ boolean hasAuthenticatorGroupsConfig(); /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; * @return The authenticatorGroupsConfig. */ com.google.container.v1beta1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig(); /** - * - * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder - getAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder(); /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; - * * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** - * - * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; - * * @return The privateClusterConfig. */ com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig(); /** - * - * *
    * Configuration for private cluster.
    * 
@@ -1227,32 +985,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return Whether the verticalPodAutoscaling field is set. */ boolean hasVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; - * * @return The verticalPodAutoscaling. */ com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -1262,32 +1012,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder(); /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; - * * @return Whether the shieldedNodes field is set. */ boolean hasShieldedNodes(); /** - * - * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; - * * @return The shieldedNodes. */ com.google.container.v1beta1.ShieldedNodes getShieldedNodes(); /** - * - * *
    * Shielded Nodes configuration.
    * 
@@ -1297,32 +1039,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder(); /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; - * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** - * - * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; - * * @return The releaseChannel. */ com.google.container.v1beta1.ReleaseChannel getReleaseChannel(); /** - * - * *
    * Release channel configuration.
    * 
@@ -1332,34 +1066,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder(); /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; - * * @return The workloadIdentityConfig. */ com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -1370,34 +1096,26 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; - * * @return Whether the workloadCertificates field is set. */ boolean hasWorkloadCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; - * * @return The workloadCertificates. */ com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1408,34 +1126,26 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCertificatesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; - * * @return Whether the meshCertificates field is set. */ boolean hasMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; - * * @return The meshCertificates. */ com.google.container.v1beta1.MeshCertificates getMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1446,32 +1156,24 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; - * * @return Whether the workloadAltsConfig field is set. */ boolean hasWorkloadAltsConfig(); /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; - * * @return The workloadAltsConfig. */ com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig(); /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -1481,32 +1183,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsConfigOrBuilder(); /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; - * * @return Whether the costManagementConfig field is set. */ boolean hasCostManagementConfig(); /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; - * * @return The costManagementConfig. */ com.google.container.v1beta1.CostManagementConfig getCostManagementConfig(); /** - * - * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -1516,32 +1210,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder(); /** - * - * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; - * * @return Whether the clusterTelemetry field is set. */ boolean hasClusterTelemetry(); /** - * - * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; - * * @return The clusterTelemetry. */ com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry(); /** - * - * *
    * Telemetry integration for the cluster.
    * 
@@ -1551,32 +1237,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetryOrBuilder(); /** - * - * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; - * * @return Whether the tpuConfig field is set. */ boolean hasTpuConfig(); /** - * - * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; - * * @return The tpuConfig. */ com.google.container.v1beta1.TpuConfig getTpuConfig(); /** - * - * *
    * Configuration for Cloud TPU support;
    * 
@@ -1586,32 +1264,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder(); /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; - * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** - * - * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; - * * @return The notificationConfig. */ com.google.container.v1beta1.NotificationConfig getNotificationConfig(); /** - * - * *
    * Notification configuration of the cluster.
    * 
@@ -1621,34 +1291,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationConfigOrBuilder(); /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; - * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; - * * @return The confidentialNodes. */ com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); /** - * - * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -1659,32 +1321,24 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; - * * @return Whether the identityServiceConfig field is set. */ boolean hasIdentityServiceConfig(); /** - * - * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; - * * @return The identityServiceConfig. */ com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConfig(); /** - * - * *
    * Configuration for Identity Service component.
    * 
@@ -1694,33 +1348,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder(); /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ java.lang.String getSelfLink(); /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString getSelfLinkBytes(); + com.google.protobuf.ByteString + getSelfLinkBytes(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1728,16 +1375,12 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1745,17 +1388,14 @@ 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=1786 + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1788 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1765,13 +1405,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string endpoint = 102; - * * @return The endpoint. */ java.lang.String getEndpoint(); /** - * - * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1781,14 +1418,12 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string endpoint = 102; - * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString getEndpointBytes(); + com.google.protobuf.ByteString + getEndpointBytes(); /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1804,13 +1439,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string initial_cluster_version = 103; - * * @return The initialClusterVersion. */ java.lang.String getInitialClusterVersion(); /** - * - * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1826,39 +1458,32 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string initial_cluster_version = 103; - * * @return The bytes for initialClusterVersion. */ - com.google.protobuf.ByteString getInitialClusterVersionBytes(); + com.google.protobuf.ByteString + getInitialClusterVersionBytes(); /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The currentMasterVersion. */ java.lang.String getCurrentMasterVersion(); /** - * - * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; - * * @return The bytes for currentMasterVersion. */ - com.google.protobuf.ByteString getCurrentMasterVersionBytes(); + com.google.protobuf.ByteString + getCurrentMasterVersionBytes(); /** - * - * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -1868,16 +1493,12 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @return The currentNodeVersion. */ - @java.lang.Deprecated - java.lang.String getCurrentNodeVersion(); + @java.lang.Deprecated java.lang.String getCurrentNodeVersion(); /** - * - * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -1887,69 +1508,55 @@ 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=1819 + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1821 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getCurrentNodeVersionBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getCurrentNodeVersionBytes(); /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The createTime. */ java.lang.String getCreateTime(); /** - * - * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; - * * @return The bytes for createTime. */ - com.google.protobuf.ByteString getCreateTimeBytes(); + com.google.protobuf.ByteString + getCreateTimeBytes(); /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; - * * @return The status. */ com.google.container.v1beta1.Cluster.Status getStatus(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1957,16 +1564,12 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @return The statusMessage. */ - @java.lang.Deprecated - java.lang.String getStatusMessage(); + @java.lang.Deprecated java.lang.String getStatusMessage(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1974,17 +1577,14 @@ 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=1831 + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1833 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getStatusMessageBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -1993,14 +1593,11 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * int32 node_ipv4_cidr_size = 109; - * * @return The nodeIpv4CidrSize. */ int getNodeIpv4CidrSize(); /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2010,13 +1607,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string services_ipv4_cidr = 110; - * * @return The servicesIpv4Cidr. */ java.lang.String getServicesIpv4Cidr(); /** - * - * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2026,121 +1620,96 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string services_ipv4_cidr = 110; - * * @return The bytes for servicesIpv4Cidr. */ - com.google.protobuf.ByteString getServicesIpv4CidrBytes(); + com.google.protobuf.ByteString + getServicesIpv4CidrBytes(); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated - java.util.List getInstanceGroupUrlsList(); + @java.lang.Deprecated java.util.List + getInstanceGroupUrlsList(); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated - int getInstanceGroupUrlsCount(); + @java.lang.Deprecated int getInstanceGroupUrlsCount(); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated - java.lang.String getInstanceGroupUrls(int index); + @java.lang.Deprecated java.lang.String getInstanceGroupUrls(int index); /** - * - * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1847 + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); + @java.lang.Deprecated com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index); /** - * - * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1851 + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1853 * @return The currentNodeCount. */ - @java.lang.Deprecated - int getCurrentNodeCount(); + @java.lang.Deprecated int getCurrentNodeCount(); /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The expireTime. */ java.lang.String getExpireTime(); /** - * - * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; - * * @return The bytes for expireTime. */ - com.google.protobuf.ByteString getExpireTimeBytes(); + com.google.protobuf.ByteString + getExpireTimeBytes(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2150,13 +1719,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string location = 114; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2166,28 +1732,23 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string location = 114; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * This field is deprecated, use tpu_config.enabled instead.
    * 
* * bool enable_tpu = 115; - * * @return The enableTpu. */ boolean getEnableTpu(); /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -2195,13 +1756,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** - * - * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -2209,38 +1767,30 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string tpu_ipv4_cidr_block = 116; - * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; - * * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; - * * @return The databaseEncryption. */ com.google.container.v1beta1.DatabaseEncryption getDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -2250,18 +1800,15 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -2270,8 +1817,6 @@ java.lang.String getResourceLabelsOrDefault( */ com.google.container.v1beta1.StatusCondition getConditions(int index); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
@@ -2280,54 +1825,43 @@ java.lang.String getResourceLabelsOrDefault( */ int getConditionsCount(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index); + com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; - * * @return Whether the master field is set. */ boolean hasMaster(); /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; - * * @return The master. */ com.google.container.v1beta1.Master getMaster(); /** - * - * *
    * Configuration for master components.
    * 
@@ -2337,32 +1871,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder(); /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; - * * @return Whether the autopilot field is set. */ boolean hasAutopilot(); /** - * - * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; - * * @return The autopilot. */ com.google.container.v1beta1.Autopilot getAutopilot(); /** - * - * *
    * Autopilot configuration for the cluster.
    * 
@@ -2372,59 +1898,46 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder(); /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; - * * @return Whether the nodePoolDefaults field is set. */ boolean hasNodePoolDefaults(); /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; - * * @return The nodePoolDefaults. */ com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults(); /** - * - * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -2435,32 +1948,24 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; - * * @return The loggingConfig. */ com.google.container.v1beta1.LoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration for the cluster.
    * 
@@ -2470,32 +1975,24 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; - * * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** - * - * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; - * * @return The monitoringConfig. */ com.google.container.v1beta1.MonitoringConfig getMonitoringConfig(); /** - * - * *
    * Monitoring configuration for the cluster.
    * 
@@ -2505,34 +2002,26 @@ java.lang.String getResourceLabelsOrDefault( com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return Whether the nodePoolAutoConfig field is set. */ boolean hasNodePoolAutoConfig(); /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; - * * @return The nodePoolAutoConfig. */ com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig(); /** - * - * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -2543,32 +2032,24 @@ java.lang.String getResourceLabelsOrDefault(
   com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; - * * @return Whether the protectConfig field is set. */ boolean hasProtectConfig(); /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; - * * @return The protectConfig. */ com.google.container.v1beta1.ProtectConfig getProtectConfig(); /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java new file mode 100644 index 000000000000..9b8adfad9efd --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java @@ -0,0 +1,3217 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public final class ClusterServiceProto { + private ClusterServiceProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SandboxConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GcfsConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ReservationAffinity_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeTaint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeTaints_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeLabels_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceLabels_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkTags_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MasterAuth_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AddonsConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_KalmConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IstioConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LegacyAbac_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Cluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ProtectConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClusterUpdate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Operation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Operation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_OperationProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WindowsVersions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeManagement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_TimeWindow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceLimit_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLabelsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListLocationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Location_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_StatusCondition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UsableSubnetwork_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DNSConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MeshCertificates_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_VirtualNIC_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_FastSocket_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Jwk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Jwk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ReleaseChannel_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_TpuConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Master_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Master_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Autopilot_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NotificationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ConfidentialNodes_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpgradeEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LoggingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/container/v1beta1/cluster_servi" + + "ce.proto\022\030google.container.v1beta1\032\034goog" + + "le/api/annotations.proto\032\027google/api/cli" + + "ent.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\036google/pr" + + "otobuf/duration.proto\032\033google/protobuf/e" + + "mpty.proto\032\037google/protobuf/timestamp.pr" + + "oto\032\036google/protobuf/wrappers.proto\032\025goo" + + "gle/rpc/code.proto\032\027google/rpc/status.pr" + + "oto\032\026google/type/date.proto\"\250\002\n\017LinuxNod" + + "eConfig\022G\n\007sysctls\030\001 \003(\01326.google.contai" + + "ner.v1beta1.LinuxNodeConfig.SysctlsEntry" + + "\022I\n\013cgroup_mode\030\002 \001(\01624.google.container" + + ".v1beta1.LinuxNodeConfig.CgroupMode\032.\n\014S" + + "ysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECI" + + "FIED\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MOD" + + "E_V2\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_mana" + + "ger_policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132" + + "\032.google.protobuf.BoolValue\022\034\n\024cpu_cfs_q" + + "uota_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(" + + "\003\"\310\r\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\010metadata\030" + + "\004 \003(\01322.google.container.v1beta1.NodeCon" + + "fig.MetadataEntry\022\022\n\nimage_type\030\005 \001(\t\022@\n" + + "\006labels\030\006 \003(\01320.google.container.v1beta1" + + ".NodeConfig.LabelsEntry\022\027\n\017local_ssd_cou" + + "nt\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible\030\n " + + "\001(\010\022A\n\014accelerators\030\013 \003(\0132+.google.conta" + + "iner.v1beta1.AcceleratorConfig\022?\n\016sandbo" + + "x_config\030\021 \001(\0132\'.google.container.v1beta" + + "1.SandboxConfig\022\022\n\nnode_group\030\022 \001(\t\022K\n\024r" + + "eservation_affinity\030\023 \001(\0132-.google.conta" + + "iner.v1beta1.ReservationAffinity\022\021\n\tdisk" + + "_type\030\014 \001(\t\022\030\n\020min_cpu_platform\030\r \001(\t\022R\n" + + "\030workload_metadata_config\030\016 \001(\01320.google" + + ".container.v1beta1.WorkloadMetadataConfi" + + "g\0223\n\006taints\030\017 \003(\0132#.google.container.v1b" + + "eta1.NodeTaint\022\031\n\021boot_disk_kms_key\030\027 \001(" + + "\t\022R\n\030shielded_instance_config\030\024 \001(\01320.go" + + "ogle.container.v1beta1.ShieldedInstanceC" + + "onfig\022D\n\021linux_node_config\030\025 \001(\0132).googl" + + "e.container.v1beta1.LinuxNodeConfig\022C\n\016k" + + "ubelet_config\030\026 \001(\0132+.google.container.v" + + "1beta1.NodeKubeletConfig\022R\n\030ephemeral_st" + + "orage_config\030\030 \001(\01320.google.container.v1" + + "beta1.EphemeralStorageConfig\0229\n\013gcfs_con" + + "fig\030\031 \001(\0132$.google.container.v1beta1.Gcf" + + "sConfig\022T\n\031advanced_machine_features\030\032 \001" + + "(\01321.google.container.v1beta1.AdvancedMa" + + "chineFeatures\0223\n\005gvnic\030\035 \001(\0132$.google.co" + + "ntainer.v1beta1.VirtualNIC\022\014\n\004spot\030 \001(\010" + + "\022G\n\022confidential_nodes\030# \001(\0132+.google.co" + + "ntainer.v1beta1.ConfidentialNodes\022>\n\013fas" + + "t_socket\030$ \001(\0132$.google.container.v1beta" + + "1.FastSocketH\000\210\001\001\022Q\n\017resource_labels\030% \003" + + "(\01328.google.container.v1beta1.NodeConfig" + + ".ResourceLabelsEntry\022G\n\016logging_config\030&" + + " \001(\0132/.google.container.v1beta1.NodePool" + + "LoggingConfig\032/\n\rMetadataEntry\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\023Resourc" + + "eLabelsEntry\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\027AdvancedMachineF" + + "eatures\022\035\n\020threads_per_core\030\001 \001(\003H\000\210\001\001B\023" + + "\n\021_threads_per_core\"\251\005\n\021NodeNetworkConfi" + + "g\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\032n" + + "etwork_performance_config\030\013 \001(\0132D.google" + + ".container.v1beta1.NodeNetworkConfig.Net" + + "workPerformanceConfigH\001\210\001\001\032\372\002\n\030NetworkPe" + + "rformanceConfig\022s\n\033total_egress_bandwidt" + + "h_tier\030\001 \001(\0162I.google.container.v1beta1." + + "NodeNetworkConfig.NetworkPerformanceConf" + + "ig.TierH\000\210\001\001\022y\n!external_ip_egress_bandw" + + "idth_tier\030\002 \001(\0162I.google.container.v1bet" + + "a1.NodeNetworkConfig.NetworkPerformanceC" + + "onfig.TierH\001\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIF" + + "IED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_total_egress_bandw" + + "idth_tierB$\n\"_external_ip_egress_bandwid" + + "th_tierB\027\n\025_enable_private_nodesB\035\n\033_net" + + "work_performance_config\"Y\n\026ShieldedInsta" + + "nceConfig\022\032\n\022enable_secure_boot\030\001 \001(\010\022#\n" + + "\033enable_integrity_monitoring\030\002 \001(\010\"\212\001\n\rS" + + "andboxConfig\022\030\n\014sandbox_type\030\001 \001(\tB\002\030\001\022:" + + "\n\004type\030\002 \001(\0162,.google.container.v1beta1." + + "SandboxConfig.Type\"#\n\004Type\022\017\n\013UNSPECIFIE" + + "D\020\000\022\n\n\006GVISOR\020\001\"1\n\026EphemeralStorageConfi" + + "g\022\027\n\017local_ssd_count\030\001 \001(\005\"\035\n\nGcfsConfig" + + "\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\023ReservationAffinit" + + "y\022T\n\030consume_reservation_type\030\001 \001(\01622.go" + + "ogle.container.v1beta1.ReservationAffini" + + "ty.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004" + + "Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESERVATION\020" + + "\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIFIC_RESER" + + "VATION\020\003\"\276\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t\022:\n\006effect\030\003 \001(\0162*.google.cont" + + "ainer.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" + + ".container.v1beta1.NodeTaint\"}\n\nNodeLabe" + + "ls\022@\n\006labels\030\001 \003(\01320.google.container.v1" + + "beta1.NodeLabels.LabelsEntry\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\016" + + "ResourceLabels\022D\n\006labels\030\001 \003(\01324.google." + + "container.v1beta1.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" + + "\"\336\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\022T\n\031client_certificat" + + "e_config\030\003 \001(\01321.google.container.v1beta" + + "1.ClientCertificateConfig\022\036\n\026cluster_ca_" + + "certificate\030d \001(\t\022\032\n\022client_certificate\030" + + "e \001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCerti" + + "ficateConfig\022 \n\030issue_client_certificate" + + "\030\001 \001(\010\"\305\007\n\014AddonsConfig\022H\n\023http_load_bal" + + "ancing\030\001 \001(\0132+.google.container.v1beta1." + + "HttpLoadBalancing\022V\n\032horizontal_pod_auto" + + "scaling\030\002 \001(\01322.google.container.v1beta1" + + ".HorizontalPodAutoscaling\022O\n\024kubernetes_" + + "dashboard\030\003 \001(\0132-.google.container.v1bet" + + "a1.KubernetesDashboardB\002\030\001\022L\n\025network_po" + + "licy_config\030\004 \001(\0132-.google.container.v1b" + + "eta1.NetworkPolicyConfig\022?\n\014istio_config" + + "\030\005 \001(\0132%.google.container.v1beta1.IstioC" + + "onfigB\002\030\001\022B\n\020cloud_run_config\030\007 \001(\0132(.go" + + "ogle.container.v1beta1.CloudRunConfig\022B\n" + + "\020dns_cache_config\030\010 \001(\0132(.google.contain" + + "er.v1beta1.DnsCacheConfig\022P\n\027config_conn" + + "ector_config\030\n \001(\0132/.google.container.v1" + + "beta1.ConfigConnectorConfig\022i\n%gce_persi" + + "stent_disk_csi_driver_config\030\013 \001(\0132:.goo" + + "gle.container.v1beta1.GcePersistentDiskC" + + "siDriverConfig\022=\n\013kalm_config\030\014 \001(\0132$.go" + + "ogle.container.v1beta1.KalmConfigB\002\030\001\022^\n" + + "\037gcp_filestore_csi_driver_config\030\016 \001(\01325" + + ".google.container.v1beta1.GcpFilestoreCs" + + "iDriverConfig\022O\n\027gke_backup_agent_config" + + "\030\020 \001(\0132..google.container.v1beta1.GkeBac" + + "kupAgentConfig\"%\n\021HttpLoadBalancing\022\020\n\010d" + + "isabled\030\001 \001(\010\",\n\030HorizontalPodAutoscalin" + + "g\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDashboa" + + "rd\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPolicyCon" + + "fig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheConfig\022" + + "\017\n\007enabled\030\001 \001(\010\"!\n\nKalmConfig\022\023\n\007enable" + + "d\030\001 \001(\010B\002\030\001\"\'\n\024GkeBackupAgentConfig\022\017\n\007e" + + "nabled\030\001 \001(\010\"(\n\025ConfigConnectorConfig\022\017\n" + + "\007enabled\030\001 \001(\010\"3\n GcePersistentDiskCsiDr" + + "iverConfig\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilest" + + "oreCsiDriverConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&P" + + "rivateClusterMasterGlobalAccessConfig\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_ci" + + "dr_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_nam" + + "e\030\007 \001(\t\022e\n\033master_global_access_config\030\010" + + " \001(\0132@.google.container.v1beta1.PrivateC" + + "lusterMasterGlobalAccessConfig\022#\n\033privat" + + "e_endpoint_subnetwork\030\n \001(\t\"\237\001\n\013IstioCon" + + "fig\022\024\n\010disabled\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\0162" + + "3.google.container.v1beta1.IstioConfig.I" + + "stioAuthModeB\002\030\001\"3\n\rIstioAuthMode\022\r\n\tAUT" + + "H_NONE\020\000\022\023\n\017AUTH_MUTUAL_TLS\020\001\"\363\001\n\016CloudR" + + "unConfig\022\020\n\010disabled\030\001 \001(\010\022U\n\022load_balan" + + "cer_type\030\003 \001(\01629.google.container.v1beta" + + "1.CloudRunConfig.LoadBalancerType\"x\n\020Loa" + + "dBalancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSP" + + "ECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL" + + "\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"\223\002\n\036" + + "MasterAuthorizedNetworksConfig\022\017\n\007enable" + + "d\030\001 \001(\010\022W\n\013cidr_blocks\030\002 \003(\0132B.google.co" + + "ntainer.v1beta1.MasterAuthorizedNetworks" + + "Config.CidrBlock\022,\n\037gcp_public_cidrs_acc" + + "ess_enabled\030\003 \001(\010H\000\210\001\001\0325\n\tCidrBlock\022\024\n\014d" + + "isplay_name\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\tB\"\n" + + " _gcp_public_cidrs_access_enabled\"\035\n\nLeg" + + "acyAbac\022\017\n\007enabled\030\001 \001(\010\"\226\001\n\rNetworkPoli" + + "cy\022B\n\010provider\030\001 \001(\01620.google.container." + + "v1beta1.NetworkPolicy.Provider\022\017\n\007enable" + + "d\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_UNSPECIF" + + "IED\020\000\022\n\n\006CALICO\020\001\"\270\006\n\022IPAllocationPolicy" + + "\022\026\n\016use_ip_aliases\030\001 \001(\010\022\031\n\021create_subne" + + "twork\030\002 \001(\010\022\027\n\017subnetwork_name\030\003 \001(\t\022\035\n\021" + + "cluster_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_cidr\030\006 " + + "\001(\tB\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" + + "\024node_ipv4_cidr_block\030\n \001(\t\022 \n\030services_" + + "ipv4_cidr_block\030\013 \001(\t\022\033\n\023allow_route_ove" + + "rlap\030\014 \001(\010\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022" + + "\022\n\nuse_routes\030\017 \001(\010\022J\n\nstack_type\030\020 \001(\0162" + + "6.google.container.v1beta1.IPAllocationP" + + "olicy.StackType\022U\n\020ipv6_access_type\030\021 \001(" + + "\0162;.google.container.v1beta1.IPAllocatio" + + "nPolicy.IPv6AccessType\022#\n\026subnet_ipv6_ci" + + "dr_block\030\026 \001(\tB\003\340A\003\022%\n\030services_ipv6_cid" + + "r_block\030\027 \001(\tB\003\340A\003\"@\n\tStackType\022\032\n\026STACK" + + "_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_IP" + + "V6\020\002\"N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TY" + + "PE_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERN" + + "AL\020\002\"\350\001\n\023BinaryAuthorization\022\023\n\007enabled\030" + + "\001 \001(\010B\002\030\001\022U\n\017evaluation_mode\030\002 \001(\0162<.goo" + + "gle.container.v1beta1.BinaryAuthorizatio" + + "n.EvaluationMode\"e\n\016EvaluationMode\022\037\n\033EV" + + "ALUATION_MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020" + + "\001\022$\n PROJECT_SINGLETON_POLICY_ENFORCE\020\002\"" + + "*\n\027PodSecurityPolicyConfig\022\017\n\007enabled\030\001 " + + "\001(\010\"D\n\031AuthenticatorGroupsConfig\022\017\n\007enab" + + "led\030\001 \001(\010\022\026\n\016security_group\030\002 \001(\t\"\226\001\n\020Cl" + + "usterTelemetry\022=\n\004type\030\001 \001(\0162/.google.co" + + "ntainer.v1beta1.ClusterTelemetry.Type\"C\n" + + "\004Type\022\017\n\013UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\013\n\007" + + "ENABLED\020\002\022\017\n\013SYSTEM_ONLY\020\003\"\360\036\n\007Cluster\022\014" + + "\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022ini" + + "tial_node_count\030\003 \001(\005B\002\030\001\022=\n\013node_config" + + "\030\004 \001(\0132$.google.container.v1beta1.NodeCo" + + "nfigB\002\030\001\0229\n\013master_auth\030\005 \001(\0132$.google.c" + + "ontainer.v1beta1.MasterAuth\022\027\n\017logging_s" + + "ervice\030\006 \001(\t\022\032\n\022monitoring_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_config\030\n \001(\0132&.google.con" + + "tainer.v1beta1.AddonsConfig\022\022\n\nsubnetwor" + + "k\030\013 \001(\t\0226\n\nnode_pools\030\014 \003(\0132\".google.con" + + "tainer.v1beta1.NodePool\022\021\n\tlocations\030\r \003" + + "(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001(\010\022N\n\017r" + + "esource_labels\030\017 \003(\01325.google.container." + + "v1beta1.Cluster.ResourceLabelsEntry\022\031\n\021l" + + "abel_fingerprint\030\020 \001(\t\0229\n\013legacy_abac\030\022 " + + "\001(\0132$.google.container.v1beta1.LegacyAba" + + "c\022?\n\016network_policy\030\023 \001(\0132\'.google.conta" + + "iner.v1beta1.NetworkPolicy\022J\n\024ip_allocat" + + "ion_policy\030\024 \001(\0132,.google.container.v1be" + + "ta1.IPAllocationPolicy\022c\n!master_authori" + + "zed_networks_config\030\026 \001(\01328.google.conta" + + "iner.v1beta1.MasterAuthorizedNetworksCon" + + "fig\022G\n\022maintenance_policy\030\027 \001(\0132+.google" + + ".container.v1beta1.MaintenancePolicy\022K\n\024" + + "binary_authorization\030\030 \001(\0132-.google.cont" + + "ainer.v1beta1.BinaryAuthorization\022U\n\032pod" + + "_security_policy_config\030\031 \001(\01321.google.c" + + "ontainer.v1beta1.PodSecurityPolicyConfig" + + "\022A\n\013autoscaling\030\032 \001(\0132,.google.container" + + ".v1beta1.ClusterAutoscaling\022?\n\016network_c" + + "onfig\030\033 \001(\0132\'.google.container.v1beta1.N" + + "etworkConfig\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(\0132+.goo" + + "gle.container.v1beta1.MaxPodsConstraint\022" + + "Y\n\034resource_usage_export_config\030! \001(\01323." + + "google.container.v1beta1.ResourceUsageEx" + + "portConfig\022X\n\033authenticator_groups_confi" + + "g\030\" \001(\01323.google.container.v1beta1.Authe" + + "nticatorGroupsConfig\022N\n\026private_cluster_" + + "config\030% \001(\0132..google.container.v1beta1." + + "PrivateClusterConfig\022R\n\030vertical_pod_aut" + + "oscaling\030\' \001(\01320.google.container.v1beta" + + "1.VerticalPodAutoscaling\022?\n\016shielded_nod" + + "es\030( \001(\0132\'.google.container.v1beta1.Shie" + + "ldedNodes\022A\n\017release_channel\030) \001(\0132(.goo" + + "gle.container.v1beta1.ReleaseChannel\022R\n\030" + + "workload_identity_config\030+ \001(\01320.google." + + "container.v1beta1.WorkloadIdentityConfig" + + "\022M\n\025workload_certificates\0304 \001(\0132..google" + + ".container.v1beta1.WorkloadCertificates\022" + + "E\n\021mesh_certificates\030C \001(\0132*.google.cont" + + "ainer.v1beta1.MeshCertificates\022J\n\024worklo" + + "ad_alts_config\0305 \001(\0132,.google.container." + + "v1beta1.WorkloadALTSConfig\022N\n\026cost_manag" + + "ement_config\030- \001(\0132..google.container.v1" + + "beta1.CostManagementConfig\022E\n\021cluster_te" + + "lemetry\030. \001(\0132*.google.container.v1beta1" + + ".ClusterTelemetry\0227\n\ntpu_config\030/ \001(\0132#." + + "google.container.v1beta1.TpuConfig\022I\n\023no" + + "tification_config\0301 \001(\0132,.google.contain" + + "er.v1beta1.NotificationConfig\022G\n\022confide" + + "ntial_nodes\0302 \001(\0132+.google.container.v1b" + + "eta1.ConfidentialNodes\022P\n\027identity_servi" + + "ce_config\0306 \001(\0132/.google.container.v1bet" + + "a1.IdentityServiceConfig\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_version\030g \001(\t\022\036\n\026curr" + + "ent_master_version\030h \001(\t\022 \n\024current_node" + + "_version\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\022" + + "8\n\006status\030k \001(\0162(.google.container.v1bet" + + "a1.Cluster.Status\022\032\n\016status_message\030l \001(" + + "\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m \001(\005\022\032\n\022se" + + "rvices_ipv4_cidr\030n \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_c" + + "idr_block\030t \001(\t\022I\n\023database_encryption\030&" + + " \001(\0132,.google.container.v1beta1.Database" + + "Encryption\022=\n\nconditions\030v \003(\0132).google." + + "container.v1beta1.StatusCondition\0220\n\006mas" + + "ter\030| \001(\0132 .google.container.v1beta1.Mas" + + "ter\0227\n\tautopilot\030\200\001 \001(\0132#.google.contain" + + "er.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.con" + + "tainer.v1beta1.NodePoolDefaultsH\000\210\001\001\022@\n\016" + + "logging_config\030\204\001 \001(\0132\'.google.container" + + ".v1beta1.LoggingConfig\022F\n\021monitoring_con" + + "fig\030\205\001 \001(\0132*.google.container.v1beta1.Mo" + + "nitoringConfig\022L\n\025node_pool_auto_config\030" + + "\210\001 \001(\0132,.google.container.v1beta1.NodePo" + + "olAutoConfig\022E\n\016protect_config\030\211\001 \001(\0132\'." + + "google.container.v1beta1.ProtectConfigH\001" + + "\210\001\001\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_U" + + "NSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNIN" + + "G\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ER" + + "ROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defaul" + + "tsB\021\n\017_protect_config\"\304\001\n\016WorkloadConfig" + + "\022F\n\naudit_mode\030\001 \001(\0162-.google.container." + + "v1beta1.WorkloadConfig.ModeH\000\210\001\001\"[\n\004Mode" + + "\022\024\n\020MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005" + + "BASIC\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.contain" + + "er.v1beta1.WorkloadConfigH\000\210\001\001\022k\n\033worklo" + + "ad_vulnerability_mode\030\002 \001(\0162A.google.con" + + "tainer.v1beta1.ProtectConfig.WorkloadVul" + + "nerabilityModeH\001\210\001\001\"a\n\031WorkloadVulnerabi" + + "lityMode\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_vulnerab" + + "ility_mode\"^\n\020NodePoolDefaults\022J\n\024node_c" + + "onfig_defaults\030\001 \001(\0132,.google.container." + + "v1beta1.NodeConfigDefaults\"\230\001\n\022NodeConfi" + + "gDefaults\0229\n\013gcfs_config\030\001 \001(\0132$.google." + + "container.v1beta1.GcfsConfig\022G\n\016logging_" + + "config\030\003 \001(\0132/.google.container.v1beta1." + + "NodePoolLoggingConfig\"Q\n\022NodePoolAutoCon" + + "fig\022;\n\014network_tags\030\001 \001(\0132%.google.conta" + + "iner.v1beta1.NetworkTags\"\366\032\n\rClusterUpda" + + "te\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032desi" + + "red_monitoring_service\030\005 \001(\t\022E\n\025desired_" + + "addons_config\030\006 \001(\0132&.google.container.v" + + "1beta1.AddonsConfig\022\034\n\024desired_node_pool" + + "_id\030\007 \001(\t\022\032\n\022desired_image_type\030\010 \001(\t\022T\n" + + "\035desired_node_pool_autoscaling\030\t \001(\0132-.g" + + "oogle.container.v1beta1.NodePoolAutoscal" + + "ing\022\031\n\021desired_locations\030\n \003(\t\022k\n)desire" + + "d_master_authorized_networks_config\030\014 \001(" + + "\01328.google.container.v1beta1.MasterAutho" + + "rizedNetworksConfig\022]\n\"desired_pod_secur" + + "ity_policy_config\030\016 \001(\01321.google.contain" + + "er.v1beta1.PodSecurityPolicyConfig\022Q\n\033de" + + "sired_cluster_autoscaling\030\017 \001(\0132,.google" + + ".container.v1beta1.ClusterAutoscaling\022S\n" + + "\034desired_binary_authorization\030\020 \001(\0132-.go" + + "ogle.container.v1beta1.BinaryAuthorizati" + + "on\022\037\n\027desired_logging_service\030\023 \001(\t\022a\n$d" + + "esired_resource_usage_export_config\030\025 \001(" + + "\01323.google.container.v1beta1.ResourceUsa" + + "geExportConfig\022Z\n desired_vertical_pod_a" + + "utoscaling\030\026 \001(\01320.google.container.v1be" + + "ta1.VerticalPodAutoscaling\022V\n\036desired_pr" + + "ivate_cluster_config\030\031 \001(\0132..google.cont" + + "ainer.v1beta1.PrivateClusterConfig\022a\n$de" + + "sired_intra_node_visibility_config\030\032 \001(\013" + + "23.google.container.v1beta1.IntraNodeVis" + + "ibilityConfig\022P\n\033desired_default_snat_st" + + "atus\030\034 \001(\0132+.google.container.v1beta1.De" + + "faultSnatStatus\022M\n\031desired_cluster_telem" + + "etry\030\036 \001(\0132*.google.container.v1beta1.Cl" + + "usterTelemetry\022I\n\027desired_release_channe" + + "l\030\037 \001(\0132(.google.container.v1beta1.Relea" + + "seChannel\022?\n\022desired_tpu_config\030& \001(\0132#." + + "google.container.v1beta1.TpuConfig\022V\n\037de" + + "sired_l4ilb_subsetting_config\030\' \001(\0132-.go" + + "ogle.container.v1beta1.ILBSubsettingConf" + + "ig\022M\n\031desired_datapath_provider\0302 \001(\0162*." + + "google.container.v1beta1.DatapathProvide" + + "r\022]\n\"desired_private_ipv6_google_access\030" + + "3 \001(\01621.google.container.v1beta1.Private" + + "IPv6GoogleAccess\022Q\n\033desired_notification" + + "_config\0307 \001(\0132,.google.container.v1beta1" + + ".NotificationConfig\022\036\n\026desired_master_ve" + + "rsion\030d \001(\t\022A\n\023desired_gcfs_config\030m \001(\013" + + "2$.google.container.v1beta1.GcfsConfig\022Q" + + "\n\033desired_database_encryption\030. \001(\0132,.go" + + "ogle.container.v1beta1.DatabaseEncryptio" + + "n\022Z\n desired_workload_identity_config\030/ " + + "\001(\01320.google.container.v1beta1.WorkloadI" + + "dentityConfig\022U\n\035desired_workload_certif" + + "icates\030= \001(\0132..google.container.v1beta1." + + "WorkloadCertificates\022M\n\031desired_mesh_cer" + + "tificates\030C \001(\0132*.google.container.v1bet" + + "a1.MeshCertificates\022R\n\034desired_workload_" + + "alts_config\030> \001(\0132,.google.container.v1b" + + "eta1.WorkloadALTSConfig\022G\n\026desired_shiel" + + "ded_nodes\0300 \001(\0132\'.google.container.v1bet" + + "a1.ShieldedNodes\022V\n\036desired_cost_managem" + + "ent_config\0301 \001(\0132..google.container.v1be" + + "ta1.CostManagementConfig\0228\n\016desired_mast", + "er\0304 \001(\0132 .google.container.v1beta1.Mast" + + "er\022?\n\022desired_dns_config\0305 \001(\0132#.google." + + "container.v1beta1.DNSConfig\022_\n#desired_s" + + "ervice_external_ips_config\030< \001(\01322.googl" + + "e.container.v1beta1.ServiceExternalIPsCo" + + "nfig\022`\n#desired_authenticator_groups_con" + + "fig\030? \001(\01323.google.container.v1beta1.Aut" + + "henticatorGroupsConfig\022G\n\026desired_loggin" + + "g_config\030@ \001(\0132\'.google.container.v1beta" + + "1.LoggingConfig\022M\n\031desired_monitoring_co" + + "nfig\030A \001(\0132*.google.container.v1beta1.Mo" + + "nitoringConfig\022X\n\037desired_identity_servi" + + "ce_config\030B \001(\0132/.google.container.v1bet" + + "a1.IdentityServiceConfig\022,\n\037desired_enab" + + "le_private_endpoint\030G \001(\010H\000\210\001\001\022Y\n*desire" + + "d_node_pool_auto_config_network_tags\030n \001" + + "(\0132%.google.container.v1beta1.NetworkTag" + + "s\022L\n\026desired_protect_config\030p \001(\0132\'.goog" + + "le.container.v1beta1.ProtectConfigH\001\210\001\001\022" + + "N\n\032desired_gateway_api_config\030r \001(\0132*.go" + + "ogle.container.v1beta1.GatewayAPIConfig\022" + + "Y\n desired_node_pool_logging_config\030t \001(" + + "\0132/.google.container.v1beta1.NodePoolLog" + + "gingConfigB\"\n _desired_enable_private_en" + + "dpointB\031\n\027_desired_protect_config\"\212\010\n\tOp" + + "eration\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.contain" + + "er.v1beta1.Operation.Type\022:\n\006status\030\004 \001(" + + "\0162*.google.container.v1beta1.Operation.S" + + "tatus\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\013targe" + + "t_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+.google.container.v1beta1.Operat" + + "ionProgressB\003\340A\003\022I\n\022cluster_conditions\030\r" + + " \003(\0132).google.container.v1beta1.StatusCo" + + "nditionB\002\030\001\022J\n\023nodepool_conditions\030\016 \003(\013" + + "2).google.container.v1beta1.StatusCondit" + + "ionB\002\030\001\022!\n\005error\030\017 \001(\0132\022.google.rpc.Stat" + + "us\"R\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007" + + "PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABOR" + + "TING\020\004\"\375\002\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" + + "\016UPGRADE_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016" + + "REPAIR_CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020" + + "CREATE_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_R" + + "EPAIR_NODES\020\n\022\026\n\022AUTO_UPGRADE_NODES\020\013\022\016\n" + + "\nSET_LABELS\020\014\022\023\n\017SET_MASTER_AUTH\020\r\022\026\n\022SE" + + "T_NODE_POOL_SIZE\020\016\022\026\n\022SET_NETWORK_POLICY" + + "\020\017\022\032\n\026SET_MAINTENANCE_POLICY\020\020\"\312\002\n\021Opera" + + "tionProgress\022\014\n\004name\030\001 \001(\t\022:\n\006status\030\002 \001" + + "(\0162*.google.container.v1beta1.Operation." + + "Status\022C\n\007metrics\030\003 \003(\01322.google.contain" + + "er.v1beta1.OperationProgress.Metric\022;\n\006s" + + "tages\030\004 \003(\0132+.google.container.v1beta1.O" + + "perationProgress\032i\n\006Metric\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014double_val" + + "ue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005va" + + "lue\"\217\001\n\024CreateClusterRequest\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\007" + + "cluster\030\003 \001(\0132!.google.container.v1beta1" + + ".ClusterB\003\340A\002\022\016\n\006parent\030\005 \001(\t\"l\n\021GetClus" + + "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\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\024UpdateClusterReq" + + "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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" + + "<\n\006update\030\004 \001(\0132\'.google.container.v1bet" + + "a1.ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\354\010\n\025" + + "UpdateNodePoolRequest\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_version\030\005 \001(\tB\003\340A\002\022\027\n\nimag" + + "e_type\030\006 \001(\tB\003\340A\002\022\021\n\tlocations\030\r \003(\t\022R\n\030" + + "workload_metadata_config\030\016 \001(\01320.google." + + "container.v1beta1.WorkloadMetadataConfig" + + "\022\014\n\004name\030\010 \001(\t\022L\n\020upgrade_settings\030\017 \001(\013" + + "22.google.container.v1beta1.NodePool.Upg" + + "radeSettings\0223\n\004tags\030\020 \001(\0132%.google.cont" + + "ainer.v1beta1.NetworkTags\0224\n\006taints\030\021 \001(" + + "\0132$.google.container.v1beta1.NodeTaints\022" + + "4\n\006labels\030\022 \001(\0132$.google.container.v1bet" + + "a1.NodeLabels\022D\n\021linux_node_config\030\023 \001(\013" + + "2).google.container.v1beta1.LinuxNodeCon" + + "fig\022C\n\016kubelet_config\030\024 \001(\0132+.google.con" + + "tainer.v1beta1.NodeKubeletConfig\022H\n\023node" + + "_network_config\030\025 \001(\0132+.google.container" + + ".v1beta1.NodeNetworkConfig\0229\n\013gcfs_confi" + + "g\030\026 \001(\0132$.google.container.v1beta1.GcfsC" + + "onfig\022G\n\022confidential_nodes\030\027 \001(\0132+.goog" + + "le.container.v1beta1.ConfidentialNodes\0223" + + "\n\005gvnic\030\035 \001(\0132$.google.container.v1beta1" + + ".VirtualNIC\0229\n\013fast_socket\030\037 \001(\0132$.googl" + + "e.container.v1beta1.FastSocket\022G\n\016loggin" + + "g_config\030 \001(\0132/.google.container.v1beta" + + "1.NodePoolLoggingConfig\022A\n\017resource_labe" + + "ls\030! \001(\0132(.google.container.v1beta1.Reso" + + "urceLabels\"\336\001\n\035SetNodePoolAutoscalingReq" + + "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\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\022G\n\013autoscal" + + "ing\030\005 \001(\0132-.google.container.v1beta1.Nod" + + "ePoolAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\221\001\n\030" + + "SetLoggingServiceRequest\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\034\n\017logging_service\030\004" + + " \001(\tB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\227\001\n\033SetMonitorin" + + "gServiceRequest\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\037\n\022monitoring_service\030\004 \001(\tB\003" + + "\340A\002\022\014\n\004name\030\006 \001(\t\"\265\001\n\026SetAddonsConfigReq" + + "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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" + + "B\n\raddons_config\030\004 \001(\0132&.google.containe" + + "r.v1beta1.AddonsConfigB\003\340A\002\022\014\n\004name\030\006 \001(" + + "\t\"\206\001\n\023SetLocationsRequest\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\026\n\tlocations\030\004 \003(\tB" + + "\003\340A\002\022\014\n\004name\030\006 \001(\t\"\213\001\n\023UpdateMasterReque" + + "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\031\n\ncluster_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\024SetMasterAuthRequest\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\022J\n\006action\030\004 \001(\01625.g" + + "oogle.container.v1beta1.SetMasterAuthReq" + + "uest.ActionB\003\340A\002\0229\n\006update\030\005 \001(\0132$.googl" + + "e.container.v1beta1.MasterAuthB\003\340A\002\022\014\n\004n" + + "ame\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\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\014\n\004name\030\004" + + " \001(\t\"U\n\023ListClustersRequest\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\016\n\006p" + + "arent\030\004 \001(\t\"b\n\024ListClustersResponse\0223\n\010c" + + "lusters\030\001 \003(\0132!.google.container.v1beta1" + + ".Cluster\022\025\n\rmissing_zones\030\002 \003(\t\"p\n\023GetOp" + + "erationRequest\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\025ListOperati" + + "onsRequest\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\026Ca" + + "ncelOperationRequest\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\033\n\014operatio" + + "n_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"h\n\026ListO" + + "perationsResponse\0227\n\noperations\030\001 \003(\0132#." + + "google.container.v1beta1.Operation\022\025\n\rmi" + + "ssing_zones\030\002 \003(\t\"V\n\026GetServerConfigRequ" + + "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\014\n\004name\030\004 \001(\t\"\351\005\n\014ServerConf" + + "ig\022\037\n\027default_cluster_version\030\001 \001(\t\022\033\n\023v" + + "alid_node_versions\030\003 \003(\t\022\032\n\022default_imag" + + "e_type\030\004 \001(\t\022\031\n\021valid_image_types\030\005 \003(\t\022" + + "\035\n\025valid_master_versions\030\006 \003(\t\022M\n\010channe" + + "ls\030\t \003(\0132;.google.container.v1beta1.Serv" + + "erConfig.ReleaseChannelConfig\022\\\n\024windows" + + "_version_maps\030\n \003(\0132>.google.container.v" + + "1beta1.ServerConfig.WindowsVersionMapsEn" + + "try\032\261\002\n\024ReleaseChannelConfig\022A\n\007channel\030" + + "\001 \001(\01620.google.container.v1beta1.Release" + + "Channel.Channel\022\027\n\017default_version\030\002 \001(\t" + + "\022l\n\022available_versions\030\003 \003(\0132L.google.co" + + "ntainer.v1beta1.ServerConfig.ReleaseChan" + + "nelConfig.AvailableVersionB\002\030\001\022\026\n\016valid_" + + "versions\030\004 \003(\t\0327\n\020AvailableVersion\022\017\n\007ve" + + "rsion\030\001 \001(\t\022\016\n\006reason\030\002 \001(\t:\002\030\001\032d\n\027Windo" + + "wsVersionMapsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value" + + "\030\002 \001(\0132).google.container.v1beta1.Window" + + "sVersions:\0028\001\"\314\001\n\017WindowsVersions\022R\n\020win" + + "dows_versions\030\001 \003(\01328.google.container.v" + + "1beta1.WindowsVersions.WindowsVersion\032e\n" + + "\016WindowsVersion\022\022\n\nimage_type\030\001 \001(\t\022\022\n\no" + + "s_version\030\002 \001(\t\022+\n\020support_end_date\030\003 \001(" + + "\0132\021.google.type.Date\"\256\001\n\025CreateNodePoolR" + + "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:\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\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\nclust" + + "er_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\t" + + "B\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"q\n\024ListNodePoolsRe" + + "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\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(\t" + + "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014no" + + "de_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"\244\003" + + "\n\021BlueGreenSettings\022d\n\027standard_rollout_" + + "policy\030\001 \001(\0132A.google.container.v1beta1." + + "BlueGreenSettings.StandardRolloutPolicyH" + + "\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_durationB\020\n\016rollout_policyB\032\n\030_nod" + + "e_pool_soak_duration\"\202\017\n\010NodePool\022\014\n\004nam" + + "e\030\001 \001(\t\0224\n\006config\030\002 \001(\0132$.google.contain" + + "er.v1beta1.NodeConfig\022\032\n\022initial_node_co" + + "unt\030\003 \001(\005\022\021\n\tlocations\030\r \003(\t\022C\n\016network_" + + "config\030\016 \001(\0132+.google.container.v1beta1." + + "NodeNetworkConfig\022\021\n\tself_link\030d \001(\t\022\017\n\007" + + "version\030e \001(\t\022\033\n\023instance_group_urls\030f \003" + + "(\t\0229\n\006status\030g \001(\0162).google.container.v1" + + "beta1.NodePool.Status\022\032\n\016status_message\030" + + "h \001(\tB\002\030\001\022B\n\013autoscaling\030\004 \001(\0132-.google." + + "container.v1beta1.NodePoolAutoscaling\022<\n" + + "\nmanagement\030\005 \001(\0132(.google.container.v1b" + + "eta1.NodeManagement\022H\n\023max_pods_constrai" + + "nt\030\006 \001(\0132+.google.container.v1beta1.MaxP" + + "odsConstraint\022=\n\nconditions\030i \003(\0132).goog" + + "le.container.v1beta1.StatusCondition\022\032\n\022" + + "pod_ipv4_cidr_size\030\007 \001(\005\022L\n\020upgrade_sett" + + "ings\030k \001(\01322.google.container.v1beta1.No" + + "dePool.UpgradeSettings\022L\n\020placement_poli" + + "cy\030l \001(\01322.google.container.v1beta1.Node" + + "Pool.PlacementPolicy\022G\n\013update_info\030m \001(" + + "\0132-.google.container.v1beta1.NodePool.Up" + + "dateInfoB\003\340A\003\032\372\001\n\017UpgradeSettings\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.container.v1bet" + + "a1.NodePoolUpdateStrategyH\000\210\001\001\022M\n\023blue_g" + + "reen_settings\030\004 \001(\0132+.google.container.v" + + "1beta1.BlueGreenSettingsH\001\210\001\001B\013\n\t_strate" + + "gyB\026\n\024_blue_green_settings\032\222\004\n\nUpdateInf" + + "o\022T\n\017blue_green_info\030\001 \001(\0132;.google.cont" + + "ainer.v1beta1.NodePool.UpdateInfo.BlueGr" + + "eenInfo\032\255\003\n\rBlueGreenInfo\022P\n\005phase\030\001 \001(\016" + + "2A.google.container.v1beta1.NodePool.Upd" + + "ateInfo.BlueGreenInfo.Phase\022 \n\030blue_inst" + + "ance_group_urls\030\002 \003(\t\022!\n\031green_instance_" + + "group_urls\030\003 \003(\t\022%\n\035blue_pool_deletion_s" + + "tart_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\016" + + "UPDATE_STARTED\020\001\022\027\n\023CREATING_GREEN_POOL\020" + + "\002\022\027\n\023CORDONING_BLUE_POOL\020\003\022\026\n\022DRAINING_B" + + "LUE_POOL\020\004\022\025\n\021NODE_POOL_SOAKING\020\005\022\026\n\022DEL" + + "ETING_BLUE_POOL\020\006\022\024\n\020ROLLBACK_STARTED\020\007\032" + + "\203\001\n\017PlacementPolicy\022E\n\004type\030\001 \001(\01627.goog" + + "le.container.v1beta1.NodePool.PlacementP" + + "olicy.Type\")\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000" + + "\022\013\n\007COMPACT\020\001\"\201\001\n\006Status\022\026\n\022STATUS_UNSPE" + + "CIFIED\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\"\202\001\n\016NodeManage" + + "ment\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_repai" + + "r\030\002 \001(\010\022E\n\017upgrade_options\030\n \001(\0132,.googl" + + "e.container.v1beta1.AutoUpgradeOptions\"J" + + "\n\022AutoUpgradeOptions\022\037\n\027auto_upgrade_sta" + + "rt_time\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\"j\n\021Ma" + + "intenancePolicy\022;\n\006window\030\001 \001(\0132+.google" + + ".container.v1beta1.MaintenanceWindow\022\030\n\020" + + "resource_version\030\003 \001(\t\"\212\003\n\021MaintenanceWi" + + "ndow\022T\n\030daily_maintenance_window\030\002 \001(\01320" + + ".google.container.v1beta1.DailyMaintenan" + + "ceWindowH\000\022I\n\020recurring_window\030\003 \001(\0132-.g" + + "oogle.container.v1beta1.RecurringTimeWin" + + "dowH\000\022f\n\026maintenance_exclusions\030\004 \003(\0132F." + + "google.container.v1beta1.MaintenanceWind" + + "ow.MaintenanceExclusionsEntry\032b\n\032Mainten" + + "anceExclusionsEntry\022\013\n\003key\030\001 \001(\t\0223\n\005valu" + + "e\030\002 \001(\0132$.google.container.v1beta1.TimeW" + + "indow:\0028\001B\010\n\006policy\"\325\001\n\nTimeWindow\022^\n\035ma" + + "intenance_exclusion_options\030\003 \001(\01325.goog" + + "le.container.v1beta1.MaintenanceExclusio" + + "nOptionsH\000\022.\n\nstart_time\030\001 \001(\0132\032.google." + + "protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\t\n\007options\"\271\001\n\033" + + "MaintenanceExclusionOptions\022J\n\005scope\030\001 \001" + + "(\0162;.google.container.v1beta1.Maintenanc" + + "eExclusionOptions.Scope\"N\n\005Scope\022\017\n\013NO_U" + + "PGRADES\020\000\022\025\n\021NO_MINOR_UPGRADES\020\001\022\035\n\031NO_M" + + "INOR_OR_NODE_UPGRADES\020\002\"_\n\023RecurringTime" + + "Window\0224\n\006window\030\001 \001(\0132$.google.containe" + + "r.v1beta1.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\"\327\001\n\034SetNodePool" + + "ManagementRequest\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\022A\n\nmanagement\030\005 \001(\0132(.google.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\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\036CompleteNodePoolUpgradeR" + + "equest\022\014\n\004name\030\001 \001(\t\"\253\001\n\036RollbackNodePoo" + + "lUpgradeRequest\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\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\025Li" + + "stNodePoolsResponse\0226\n\nnode_pools\030\001 \003(\0132" + + "\".google.container.v1beta1.NodePool\"\276\003\n\022" + + "ClusterAutoscaling\022$\n\034enable_node_autopr" + + "ovisioning\030\001 \001(\010\022@\n\017resource_limits\030\002 \003(" + + "\0132\'.google.container.v1beta1.ResourceLim" + + "it\022\\\n\023autoscaling_profile\030\003 \001(\0162?.google" + + ".container.v1beta1.ClusterAutoscaling.Au" + + "toscalingProfile\022g\n#autoprovisioning_nod" + + "e_pool_defaults\030\004 \001(\0132:.google.container" + + ".v1beta1.AutoprovisioningNodePoolDefault" + + "s\022\"\n\032autoprovisioning_locations\030\005 \003(\t\"U\n" + + "\022AutoscalingProfile\022\027\n\023PROFILE_UNSPECIFI" + + "ED\020\000\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BALANC" + + "ED\020\002\"\247\003\n AutoprovisioningNodePoolDefault" + + "s\022\024\n\014oauth_scopes\030\001 \003(\t\022\027\n\017service_accou" + + "nt\030\002 \001(\t\022L\n\020upgrade_settings\030\003 \001(\01322.goo" + + "gle.container.v1beta1.NodePool.UpgradeSe" + + "ttings\022<\n\nmanagement\030\004 \001(\0132(.google.cont" + + "ainer.v1beta1.NodeManagement\022\034\n\020min_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\022R\n\030shielded_instance" + + "_config\030\010 \001(\01320.google.container.v1beta1" + + ".ShieldedInstanceConfig\022\031\n\021boot_disk_kms" + + "_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(\t\"H\n\rResour" + + "ceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minimu" + + "m\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\314\002\n\023NodePoolAut" + + "oscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_co" + + "unt\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017aut" + + "oprovisioned\030\004 \001(\010\022U\n\017location_policy\030\005 " + + "\001(\0162<.google.container.v1beta1.NodePoolA" + + "utoscaling.LocationPolicy\022\034\n\024total_min_n" + + "ode_count\030\006 \001(\005\022\034\n\024total_max_node_count\030" + + "\007 \001(\005\"H\n\016LocationPolicy\022\037\n\033LOCATION_POLI" + + "CY_UNSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"" + + "\240\002\n\020SetLabelsRequest\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\017resource_labels\030\004 \003(\013" + + "2>.google.container.v1beta1.SetLabelsReq" + + "uest.ResourceLabelsEntryB\003\340A\002\022\036\n\021label_f" + + "ingerprint\030\005 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023R" + + "esourceLabelsEntry\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\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\024\n\007enable" + + "d\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\215\001\n\026StartIPRo" + + "tationRequest\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\006 \001(\t\022\032\n\022rotate_credent" + + "ials\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(\t" + + "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004na" + + "me\030\007 \001(\t\"\365\001\n\021AcceleratorConfig\022\031\n\021accele" + + "rator_count\030\001 \001(\003\022\030\n\020accelerator_type\030\002 " + + "\001(\t\022\032\n\022gpu_partition_size\030\003 \001(\t\022+\n\037max_t" + + "ime_shared_clients_per_gpu\030\004 \001(\003B\002\030\001\022K\n\022" + + "gpu_sharing_config\030\005 \001(\0132*.google.contai" + + "ner.v1beta1.GPUSharingConfigH\000\210\001\001B\025\n\023_gp" + + "u_sharing_config\"\377\001\n\020GPUSharingConfig\022\"\n" + + "\032max_shared_clients_per_gpu\030\001 \001(\003\022`\n\024gpu" + + "_sharing_strategy\030\002 \001(\0162=.google.contain" + + "er.v1beta1.GPUSharingConfig.GPUSharingSt" + + "rategyH\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\"*\n\027Ma" + + "nagedPrometheusConfig\022\017\n\007enabled\030\001 \001(\010\"\313" + + "\002\n\026WorkloadMetadataConfig\022X\n\rnode_metada" + + "ta\030\001 \001(\0162=.google.container.v1beta1.Work" + + "loadMetadataConfig.NodeMetadataB\002\030\001\022C\n\004m" + + "ode\030\002 \001(\01625.google.container.v1beta1.Wor" + + "kloadMetadataConfig.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\020MO" + + "DE_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GK" + + "E_METADATA\020\002\"\270\001\n\027SetNetworkPolicyRequest" + + "\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\022D\n\016n" + + "etwork_policy\030\004 \001(\0132\'.google.container.v" + + "1beta1.NetworkPolicyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"" + + "\276\001\n\033SetMaintenancePolicyRequest\022\027\n\nproje" + + "ct_id\030\001 \001(\tB\003\340A\002\022\021\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\nc" + + "luster_id\030\003 \001(\tB\003\340A\002\022L\n\022maintenance_poli" + + "cy\030\004 \001(\0132+.google.container.v1beta1.Main" + + "tenancePolicyB\003\340A\002\022\014\n\004name\030\005 \001(\t\"+\n\024List" + + "LocationsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"g\n" + + "\025ListLocationsResponse\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\004t" + + "ype\030\001 \001(\0162/.google.container.v1beta1.Loc" + + "ation.LocationType\022\014\n\004name\030\002 \001(\t\022\023\n\013reco" + + "mmended\030\003 \001(\010\"C\n\014LocationType\022\035\n\031LOCATIO" + + "N_TYPE_UNSPECIFIED\020\000\022\010\n\004ZONE\020\001\022\n\n\006REGION" + + "\020\002\"\262\002\n\017StatusCondition\022@\n\004code\030\001 \001(\0162..g" + + "oogle.container.v1beta1.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\"\241\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\032\002\030\001\"\275\004\n\rNetw" + + "orkConfig\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\022H\n\023default_snat_status\030\007 \001(\0132+.goog" + + "le.container.v1beta1.DefaultSnatStatus\022\037" + + "\n\027enable_l4ilb_subsetting\030\n \001(\010\022E\n\021datap", + "ath_provider\030\013 \001(\0162*.google.container.v1" + + "beta1.DatapathProvider\022U\n\032private_ipv6_g" + + "oogle_access\030\014 \001(\01621.google.container.v1" + + "beta1.PrivateIPv6GoogleAccess\0227\n\ndns_con" + + "fig\030\r \001(\0132#.google.container.v1beta1.DNS" + + "Config\022W\n\033service_external_ips_config\030\017 " + + "\001(\01322.google.container.v1beta1.ServiceEx" + + "ternalIPsConfig\022F\n\022gateway_api_config\030\020 " + + "\001(\0132*.google.container.v1beta1.GatewayAP" + + "IConfig\"\301\001\n\020GatewayAPIConfig\022C\n\007channel\030" + + "\001 \001(\01622.google.container.v1beta1.Gateway" + + "APIConfig.Channel\"h\n\007Channel\022\027\n\023CHANNEL_" + + "UNSPECIFIED\020\000\022\024\n\020CHANNEL_DISABLED\020\001\022\030\n\024C" + + "HANNEL_EXPERIMENTAL\020\003\022\024\n\020CHANNEL_STANDAR" + + "D\020\004\"+\n\030ServiceExternalIPsConfig\022\017\n\007enabl" + + "ed\030\001 \001(\010\"j\n\034ListUsableSubnetworksRequest" + + "\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\035" + + "ListUsableSubnetworksResponse\022?\n\013subnetw" + + "orks\030\001 \003(\0132*.google.container.v1beta1.Us" + + "ableSubnetwork\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\205\002\n\036UsableSubnetworkSecondaryRange\022\022\n\nra" + + "nge_name\030\001 \001(\t\022\025\n\rip_cidr_range\030\002 \001(\t\022O\n" + + "\006status\030\003 \001(\0162?.google.container.v1beta1" + + ".UsableSubnetworkSecondaryRange.Status\"g" + + "\n\006Status\022\013\n\007UNKNOWN\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_MANAGED_POD\020\004\"\275\001\n\020UsableSubnet" + + "work\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\022U\n\023secondary_ip" + + "_ranges\030\004 \003(\01328.google.container.v1beta1" + + ".UsableSubnetworkSecondaryRange\022\026\n\016statu" + + "s_message\030\005 \001(\t\")\n\026VerticalPodAutoscalin" + + "g\022\017\n\007enabled\030\001 \001(\010\"%\n\021DefaultSnatStatus\022" + + "\020\n\010disabled\030\001 \001(\010\",\n\031IntraNodeVisibility" + + "Config\022\017\n\007enabled\030\001 \001(\010\"&\n\023ILBSubsetting" + + "Config\022\017\n\007enabled\030\001 \001(\010\"\307\002\n\tDNSConfig\022A\n" + + "\013cluster_dns\030\001 \001(\0162,.google.container.v1" + + "beta1.DNSConfig.Provider\022G\n\021cluster_dns_" + + "scope\030\002 \001(\0162,.google.container.v1beta1.D" + + "NSConfig.DNSScope\022\032\n\022cluster_dns_domain\030" + + "\003 \001(\t\"I\n\010Provider\022\030\n\024PROVIDER_UNSPECIFIE" + + "D\020\000\022\024\n\020PLATFORM_DEFAULT\020\001\022\r\n\tCLOUD_DNS\020\002" + + "\"G\n\010DNSScope\022\031\n\025DNS_SCOPE_UNSPECIFIED\020\000\022" + + "\021\n\rCLUSTER_SCOPE\020\001\022\r\n\tVPC_SCOPE\020\002\".\n\021Max" + + "PodsConstraint\022\031\n\021max_pods_per_node\030\001 \001(" + + "\003\"j\n\026WorkloadIdentityConfig\022\036\n\022identity_" + + "namespace\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\022Workloa" + + "dALTSConfig\022/\n\013enable_alts\030\001 \001(\0132\032.googl" + + "e.protobuf.BoolValue\"O\n\024WorkloadCertific" + + "ates\0227\n\023enable_certificates\030\001 \001(\0132\032.goog" + + "le.protobuf.BoolValue\"K\n\020MeshCertificate" + + "s\0227\n\023enable_certificates\030\001 \001(\0132\032.google." + + "protobuf.BoolValue\"\235\001\n\022DatabaseEncryptio" + + "n\022A\n\005state\030\002 \001(\01622.google.container.v1be" + + "ta1.DatabaseEncryption.State\022\020\n\010key_name" + + "\030\001 \001(\t\"2\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTE" + + "D\020\001\022\r\n\tDECRYPTED\020\002\"\367\002\n\031ResourceUsageExpo" + + "rtConfig\022e\n\024bigquery_destination\030\001 \001(\0132G" + + ".google.container.v1beta1.ResourceUsageE" + + "xportConfig.BigQueryDestination\022&\n\036enabl" + + "e_network_egress_metering\030\002 \001(\010\022r\n\033consu" + + "mption_metering_config\030\003 \001(\0132M.google.co" + + "ntainer.v1beta1.ResourceUsageExportConfi" + + "g.ConsumptionMeteringConfig\032)\n\023BigQueryD" + + "estination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Consum" + + "ptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010\" \n\r" + + "ShieldedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtua" + + "lNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocket\022\017\n\007e" + + "nabled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022\016" + + "\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRespon" + + "se\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030" + + "response_types_supported\030\003 \003(\t\022\037\n\027subjec" + + "t_types_supported\030\004 \003(\t\022-\n%id_token_sign" + + "ing_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\003crv\030\t \001(\t\"E\n\026Ge" + + "tJSONWebKeysResponse\022+\n\004keys\030\001 \003(\0132\035.goo" + + "gle.container.v1beta1.Jwk\"\223\001\n\016ReleaseCha" + + "nnel\022A\n\007channel\030\001 \001(\01620.google.container" + + ".v1beta1.ReleaseChannel.Channel\">\n\007Chann" + + "el\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULA" + + "R\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostManagementConfig\022" + + "\017\n\007enabled\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\017ipv4_cidr_block\030\003 \001(\t\"\010\n\006Master\"\034\n\tAut" + + "opilot\022\017\n\007enabled\030\001 \001(\010\"\267\003\n\022Notification" + + "Config\022C\n\006pubsub\030\001 \001(\01323.google.containe" + + "r.v1beta1.NotificationConfig.PubSub\032\217\001\n\006" + + "PubSub\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB " + + "\372A\035\n\033pubsub.googleapis.com/Topic\022C\n\006filt" + + "er\030\003 \001(\01323.google.container.v1beta1.Noti" + + "ficationConfig.Filter\032T\n\006Filter\022J\n\nevent" + + "_type\030\001 \003(\01626.google.container.v1beta1.N" + + "otificationConfig.EventType\"t\n\tEventType" + + "\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_" + + "AVAILABLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027" + + "SECURITY_BULLETIN_EVENT\020\003\"$\n\021Confidentia" + + "lNodes\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\014UpgradeEvent" + + "\022D\n\rresource_type\030\001 \001(\0162-.google.contain" + + "er.v1beta1.UpgradeResourceType\022\021\n\toperat" + + "ion\030\002 \001(\t\0228\n\024operation_start_time\030\003 \001(\0132" + + "\032.google.protobuf.Timestamp\022\027\n\017current_v" + + "ersion\030\004 \001(\t\022\026\n\016target_version\030\005 \001(\t\022\020\n\010" + + "resource\030\006 \001(\t\"\210\002\n\025UpgradeAvailableEvent" + + "\022\017\n\007version\030\001 \001(\t\022D\n\rresource_type\030\002 \001(\016" + + "2-.google.container.v1beta1.UpgradeResou" + + "rceType\022A\n\017release_channel\030\003 \001(\0132(.googl" + + "e.container.v1beta1.ReleaseChannel\022\020\n\010re" + + "source\030\004 \001(\t\022C\n\020windows_versions\030\005 \001(\0132)" + + ".google.container.v1beta1.WindowsVersion" + + "s\"\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\007cve_ids\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014b" + + "ulletin_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\020patched_versions\030\010 \003(\t\022 \n\030suggested_u" + + "pgrade_target\030\t \001(\t\022\035\n\025manual_steps_requ" + + "ired\030\n \001(\010\"(\n\025IdentityServiceConfig\022\017\n\007e" + + "nabled\030\001 \001(\010\"[\n\rLoggingConfig\022J\n\020compone" + + "nt_config\030\001 \001(\01320.google.container.v1bet" + + "a1.LoggingComponentConfig\"\364\001\n\026LoggingCom" + + "ponentConfig\022U\n\021enable_components\030\001 \003(\0162" + + ":.google.container.v1beta1.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\"\267\001\n\020Mon" + + "itoringConfig\022M\n\020component_config\030\001 \001(\0132" + + "3.google.container.v1beta1.MonitoringCom" + + "ponentConfig\022T\n\031managed_prometheus_confi" + + "g\030\002 \001(\01321.google.container.v1beta1.Manag" + + "edPrometheusConfig\"_\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\"\376\001\n\031MonitoringComponentConfig\022X\n\021enab" + + "le_components\030\001 \003(\0162=.google.container.v" + + "1beta1.MonitoringComponentConfig.Compone" + + "nt\"\206\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*\306\001\n\027PrivateIPv6Googl" + + "eAccess\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UN" + + "SPECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCES" + + "S_DISABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCE" + + "SS_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_AC" + + "CESS_BIDIRECTIONAL\020\003*W\n\023UpgradeResourceT" + + "ype\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIED" + + "\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*^\n\026NodePoo" + + "lUpdateStrategy\022)\n%NODE_POOL_UPDATE_STRA" + + "TEGY_UNSPECIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022\t\n\005SU" + + "RGE\020\003*a\n\020DatapathProvider\022!\n\035DATAPATH_PR" + + "OVIDER_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020" + + "\001\022\025\n\021ADVANCED_DATAPATH\020\0022\262L\n\016ClusterMana" + + "ger\022\363\001\n\014ListClusters\022-.google.container." + + "v1beta1.ListClustersRequest\032..google.con" + + "tainer.v1beta1.ListClustersResponse\"\203\001\202\323" + + "\344\223\002k\0221/v1beta1/{parent=projects/*/locati" + + "ons/*}/clustersZ6\0224/v1beta1/projects/{pr" + + "oject_id}/zones/{zone}/clusters\332A\017projec" + + "t_id,zone\022\372\001\n\nGetCluster\022+.google.contai" + + "ner.v1beta1.GetClusterRequest\032!.google.c" + + "ontainer.v1beta1.Cluster\"\233\001\202\323\344\223\002x\0221/v1be" + + "ta1/{name=projects/*/locations/*/cluster" + + "s/*}ZC\022A/v1beta1/projects/{project_id}/z" + + "ones/{zone}/clusters/{cluster_id}\332A\032proj" + + "ect_id,zone,cluster_id\022\370\001\n\rCreateCluster" + + "\022..google.container.v1beta1.CreateCluste" + + "rRequest\032#.google.container.v1beta1.Oper" + + "ation\"\221\001\202\323\344\223\002q\"1/v1beta1/{parent=project" + + "s/*/locations/*}/clusters:\001*Z9\"4/v1beta1" + + "/projects/{project_id}/zones/{zone}/clus" + + "ters:\001*\332A\027project_id,zone,cluster\022\217\002\n\rUp" + + "dateCluster\022..google.container.v1beta1.U" + + "pdateClusterRequest\032#.google.container.v" + + "1beta1.Operation\"\250\001\202\323\344\223\002~\0321/v1beta1/{nam" + + "e=projects/*/locations/*/clusters/*}:\001*Z" + + "F\032A/v1beta1/projects/{project_id}/zones/" + + "{zone}/clusters/{cluster_id}:\001*\332A!projec" + + "t_id,zone,cluster_id,update\022\232\002\n\016UpdateNo" + + "dePool\022/.google.container.v1beta1.Update" + + "NodePoolRequest\032#.google.container.v1bet" + + "a1.Operation\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{name=p" + + "rojects/*/locations/*/clusters/*/nodePoo" + + "ls/*}:\001*Zf\"a/v1beta1/projects/{project_i" + + "d}/zones/{zone}/clusters/{cluster_id}/no" + + "dePools/{node_pool_id}/update:\001*\022\276\002\n\026Set" + + "NodePoolAutoscaling\0227.google.container.v" + + "1beta1.SetNodePoolAutoscalingRequest\032#.g" + + "oogle.container.v1beta1.Operation\"\305\001\202\323\344\223" + + "\002\276\001\"L/v1beta1/{name=projects/*/locations" + + "/*/clusters/*/nodePools/*}:setAutoscalin" + + "g:\001*Zk\"f/v1beta1/projects/{project_id}/z" + + "ones/{zone}/clusters/{cluster_id}/nodePo" + + "ols/{node_pool_id}/autoscaling:\001*\022\264\002\n\021Se" + + "tLoggingService\0222.google.container.v1bet" + + "a1.SetLoggingServiceRequest\032#.google.con" + + "tainer.v1beta1.Operation\"\305\001\202\323\344\223\002\221\001\"/v1beta1/{name=projects/*/locat" + + "ions/*/clusters/*}:setLocations:\001*ZP\"K/v" + + "1beta1/projects/{project_id}/zones/{zone" + + "}/clusters/{cluster_id}/locations:\001*\332A$p" + + "roject_id,zone,cluster_id,locations\022\252\002\n\014" + + "UpdateMaster\022-.google.container.v1beta1." + + "UpdateMasterRequest\032#.google.container.v" + + "1beta1.Operation\"\305\001\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*\332A)project_id,zone,cluster_i" + + "d,master_version\022\210\002\n\rSetMasterAuth\022..goo" + + "gle.container.v1beta1.SetMasterAuthReque" + + "st\032#.google.container.v1beta1.Operation\"" + + "\241\001\202\323\344\223\002\232\001\"?/v1beta1/{name=projects/*/loc" + + "ations/*/clusters/*}:setMasterAuth:\001*ZT\"" + + "O/v1beta1/projects/{project_id}/zones/{z" + + "one}/clusters/{cluster_id}:setMasterAuth" + + ":\001*\022\202\002\n\rDeleteCluster\022..google.container" + + ".v1beta1.DeleteClusterRequest\032#.google.c" + + "ontainer.v1beta1.Operation\"\233\001\202\323\344\223\002x*1/v1" + + "beta1/{name=projects/*/locations/*/clust" + + "ers/*}ZC*A/v1beta1/projects/{project_id}" + + "/zones/{zone}/clusters/{cluster_id}\332A\032pr" + + "oject_id,zone,cluster_id\022\375\001\n\016ListOperati" + + "ons\022/.google.container.v1beta1.ListOpera" + + "tionsRequest\0320.google.container.v1beta1." + + "ListOperationsResponse\"\207\001\202\323\344\223\002o\0223/v1beta" + + "1/{parent=projects/*/locations/*}/operat" + + "ionsZ8\0226/v1beta1/projects/{project_id}/z" + + "ones/{zone}/operations\332A\017project_id,zone" + + "\022\210\002\n\014GetOperation\022-.google.container.v1b" + + "eta1.GetOperationRequest\032#.google.contai" + + "ner.v1beta1.Operation\"\243\001\202\323\344\223\002~\0223/v1beta1" + + "/{name=projects/*/locations/*/operations" + + "/*}ZG\022E/v1beta1/projects/{project_id}/zo" + + "nes/{zone}/operations/{operation_id}\332A\034p" + + "roject_id,zone,operation_id\022\226\002\n\017CancelOp" + + "eration\0220.google.container.v1beta1.Cance" + + "lOperationRequest\032\026.google.protobuf.Empt" + + "y\"\270\001\202\323\344\223\002\222\001\":/v1beta1/{name=projects/*/l" + + "ocations/*/operations/*}:cancel:\001*ZQ\"L/v" + + "1beta1/projects/{project_id}/zones/{zone" + + "}/operations/{operation_id}:cancel:\001*\332A\034" + + "project_id,zone,operation_id\022\367\001\n\017GetServ" + + "erConfig\0220.google.container.v1beta1.GetS" + + "erverConfigRequest\032&.google.container.v1" + + "beta1.ServerConfig\"\211\001\202\323\344\223\002q\0223/v1beta1/{n" + + "ame=projects/*/locations/*}/serverConfig" + + "Z:\0228/v1beta1/projects/{project_id}/zones" + + "/{zone}/serverconfig\332A\017project_id,zone\022\245" + + "\002\n\rListNodePools\022..google.container.v1be" + + "ta1.ListNodePoolsRequest\032/.google.contai" + + "ner.v1beta1.ListNodePoolsResponse\"\262\001\202\323\344\223" + + "\002\216\001\022=/v1beta1/{parent=projects/*/locatio" + + "ns/*/clusters/*}/nodePoolsZM\022K/v1beta1/p" + + "rojects/{project_id}/zones/{zone}/cluste" + + "rs/{cluster_id}/nodePools\332A\032project_id,z" + + "one,cluster_id\022\265\001\n\016GetJSONWebKeys\022/.goog" + + "le.container.v1beta1.GetJSONWebKeysReque" + + "st\0320.google.container.v1beta1.GetJSONWeb" + + "KeysResponse\"@\202\323\344\223\002:\0228/v1beta1/{parent=p" + + "rojects/*/locations/*/clusters/*}/jwks\022\260" + + "\002\n\013GetNodePool\022,.google.container.v1beta" + + "1.GetNodePoolRequest\032\".google.container." + + "v1beta1.NodePool\"\316\001\202\323\344\223\002\235\001\022=/v1beta1/{na" + + "me=projects/*/locations/*/clusters/*/nod" + + "ePools/*}Z\\\022Z/v1beta1/projects/{project_" + + "id}/zones/{zone}/clusters/{cluster_id}/n" + + "odePools/{node_pool_id}\332A\'project_id,zon" + + "e,cluster_id,node_pool_id\022\253\002\n\016CreateNode" + + "Pool\022/.google.container.v1beta1.CreateNo" + + "dePoolRequest\032#.google.container.v1beta1" + + ".Operation\"\302\001\202\323\344\223\002\224\001\"=/v1beta1/{parent=p" + + "rojects/*/locations/*/clusters/*}/nodePo" + + "ols:\001*ZP\"K/v1beta1/projects/{project_id}" + + "/zones/{zone}/clusters/{cluster_id}/node" + + "Pools:\001*\332A$project_id,zone,cluster_id,no" + + "de_pool\022\267\002\n\016DeleteNodePool\022/.google.cont" + + "ainer.v1beta1.DeleteNodePoolRequest\032#.go" + + "ogle.container.v1beta1.Operation\"\316\001\202\323\344\223\002" + + "\235\001*=/v1beta1/{name=projects/*/locations/" + + "*/clusters/*/nodePools/*}Z\\*Z/v1beta1/pr" + + "ojects/{project_id}/zones/{zone}/cluster" + + "s/{cluster_id}/nodePools/{node_pool_id}\332" + + "A\'project_id,zone,cluster_id,node_pool_i" + + "d\022\305\001\n\027CompleteNodePoolUpgrade\0228.google.c" + + "ontainer.v1beta1.CompleteNodePoolUpgrade" + + "Request\032\026.google.protobuf.Empty\"X\202\323\344\223\002R\"" + + "M/v1beta1/{name=projects/*/locations/*/c" + + "lusters/*/nodePools/*}:completeUpgrade:\001" + + "*\022\341\002\n\027RollbackNodePoolUpgrade\0228.google.c" + + "ontainer.v1beta1.RollbackNodePoolUpgrade" + + "Request\032#.google.container.v1beta1.Opera" + + "tion\"\346\001\202\323\344\223\002\265\001\"F/v1beta1/{name=projects/" + + "*/locations/*/clusters/*/nodePools/*}:ro" + + "llback:\001*Zh\"c/v1beta1/projects/{project_" + + "id}/zones/{zone}/clusters/{cluster_id}/n" + + "odePools/{node_pool_id}:rollback:\001*\332A\'pr" + + "oject_id,zone,cluster_id,node_pool_id\022\362\002" + + "\n\025SetNodePoolManagement\0226.google.contain" + + "er.v1beta1.SetNodePoolManagementRequest\032" + + "#.google.container.v1beta1.Operation\"\373\001\202" + + "\323\344\223\002\277\001\"K/v1beta1/{name=projects/*/locati" + + "ons/*/clusters/*/nodePools/*}:setManagem" + + "ent:\001*Zm\"h/v1beta1/projects/{project_id}" + + "/zones/{zone}/clusters/{cluster_id}/node" + + "Pools/{node_pool_id}/setManagement:\001*\332A2" + + "project_id,zone,cluster_id,node_pool_id," + + "management\022\304\002\n\tSetLabels\022*.google.contai" + + "ner.v1beta1.SetLabelsRequest\032#.google.co" + + "ntainer.v1beta1.Operation\"\345\001\202\323\344\223\002\237\001\"C/v1" + + "beta1/{name=projects/*/locations/*/clust" + + "ers/*}:setResourceLabels:\001*ZU\"P/v1beta1/" + + "projects/{project_id}/zones/{zone}/clust" + + "ers/{cluster_id}/resourceLabels:\001*\332A * Telemetry integration for the cluster. *
* * Protobuf type {@code google.container.v1beta1.ClusterTelemetry} */ -public final class ClusterTelemetry extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ClusterTelemetry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClusterTelemetry) ClusterTelemetryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ClusterTelemetry.newBuilder() to construct. private ClusterTelemetry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClusterTelemetry() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterTelemetry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClusterTelemetry.class, - com.google.container.v1beta1.ClusterTelemetry.Builder.class); + com.google.container.v1beta1.ClusterTelemetry.class, com.google.container.v1beta1.ClusterTelemetry.Builder.class); } /** - * - * *
    * Type of the integration.
    * 
* * Protobuf enum {@code google.container.v1beta1.ClusterTelemetry.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -88,8 +66,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * Monitoring integration is disabled.
      * 
@@ -98,8 +74,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DISABLED(1), /** - * - * *
      * Monitoring integration is enabled.
      * 
@@ -108,8 +82,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ENABLED(2), /** - * - * *
      * Only system components are monitored and logged.
      * 
@@ -121,8 +93,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -131,8 +101,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * Monitoring integration is disabled.
      * 
@@ -141,8 +109,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DISABLED_VALUE = 1; /** - * - * *
      * Monitoring integration is enabled.
      * 
@@ -151,8 +117,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENABLED_VALUE = 2; /** - * - * *
      * Only system components are monitored and logged.
      * 
@@ -161,6 +125,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_ONLY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,51 +150,50 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return UNSPECIFIED; - case 1: - return DISABLED; - case 2: - return ENABLED; - case 3: - return SYSTEM_ONLY; - default: - return null; + case 0: return UNSPECIFIED; + case 1: return DISABLED; + case 2: return ENABLED; + case 3: return SYSTEM_ONLY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.ClusterTelemetry.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -249,43 +213,31 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.container.v1beta1.ClusterTelemetry.Type getType() { + @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterTelemetry.Type result = - com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); - return result == null - ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED - : result; + com.google.container.v1beta1.ClusterTelemetry.Type result = com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); + return result == null ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +249,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (type_ != com.google.container.v1beta1.ClusterTelemetry.Type.UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -311,7 +264,8 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.container.v1beta1.ClusterTelemetry.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -321,13 +275,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClusterTelemetry)) { return super.equals(obj); } - com.google.container.v1beta1.ClusterTelemetry other = - (com.google.container.v1beta1.ClusterTelemetry) obj; + com.google.container.v1beta1.ClusterTelemetry other = (com.google.container.v1beta1.ClusterTelemetry) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -348,136 +301,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ClusterTelemetry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterTelemetry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom( 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.ClusterTelemetry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ClusterTelemetry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ClusterTelemetry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterTelemetry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ClusterTelemetry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Telemetry integration for the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.ClusterTelemetry} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClusterTelemetry) com.google.container.v1beta1.ClusterTelemetryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClusterTelemetry.class, - com.google.container.v1beta1.ClusterTelemetry.Builder.class); + com.google.container.v1beta1.ClusterTelemetry.class, com.google.container.v1beta1.ClusterTelemetry.Builder.class); } // Construct using com.google.container.v1beta1.ClusterTelemetry.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; } @java.lang.Override @@ -508,8 +455,7 @@ public com.google.container.v1beta1.ClusterTelemetry build() { @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry buildPartial() { - com.google.container.v1beta1.ClusterTelemetry result = - new com.google.container.v1beta1.ClusterTelemetry(this); + com.google.container.v1beta1.ClusterTelemetry result = new com.google.container.v1beta1.ClusterTelemetry(this); result.type_ = type_; onBuilt(); return result; @@ -519,39 +465,38 @@ public com.google.container.v1beta1.ClusterTelemetry buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ClusterTelemetry) { - return mergeFrom((com.google.container.v1beta1.ClusterTelemetry) other); + return mergeFrom((com.google.container.v1beta1.ClusterTelemetry)other); } else { super.mergeFrom(other); return this; @@ -589,19 +534,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + type_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,67 +557,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @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; onChanged(); return this; } /** - * - * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterTelemetry.Type result = - com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); - return result == null - ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED - : result; + com.google.container.v1beta1.ClusterTelemetry.Type result = com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); + return result == null ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED : result; } /** - * - * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -682,31 +609,28 @@ public Builder setType(com.google.container.v1beta1.ClusterTelemetry.Type value) if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -716,12 +640,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClusterTelemetry) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterTelemetry) private static final com.google.container.v1beta1.ClusterTelemetry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClusterTelemetry(); } @@ -730,27 +654,27 @@ public static com.google.container.v1beta1.ClusterTelemetry getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterTelemetry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterTelemetry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -765,4 +689,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClusterTelemetry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java similarity index 52% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java index 1729bb55e8a4..952e0c742474 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ClusterTelemetryOrBuilder - extends +public interface ClusterTelemetryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClusterTelemetry) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; - * * @return The type. */ com.google.container.v1beta1.ClusterTelemetry.Type getType(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java similarity index 71% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java index 6b05ad61a8d9..f3d7a4856783 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ClusterUpdate describes an update to the cluster. Exactly one update can
  * be applied to a cluster with each request, so at most one field can be
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.ClusterUpdate}
  */
-public final class ClusterUpdate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ClusterUpdate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClusterUpdate)
     ClusterUpdateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ClusterUpdate.newBuilder() to construct.
   private ClusterUpdate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ClusterUpdate() {
     desiredNodeVersion_ = "";
     desiredMonitoringService_ = "";
@@ -53,36 +35,33 @@ private ClusterUpdate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ClusterUpdate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ClusterUpdate.class,
-            com.google.container.v1beta1.ClusterUpdate.Builder.class);
+            com.google.container.v1beta1.ClusterUpdate.class, com.google.container.v1beta1.ClusterUpdate.Builder.class);
   }
 
   private int bitField0_;
   public static final int DESIRED_NODE_VERSION_FIELD_NUMBER = 4;
   private volatile java.lang.Object desiredNodeVersion_;
   /**
-   *
-   *
    * 
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -96,7 +75,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string desired_node_version = 4; - * * @return The desiredNodeVersion. */ @java.lang.Override @@ -105,15 +83,14 @@ public java.lang.String getDesiredNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; } } /** - * - * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -127,15 +104,16 @@ public java.lang.String getDesiredNodeVersion() {
    * 
* * string desired_node_version = 4; - * * @return The bytes for desiredNodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString + getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -146,8 +124,6 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { public static final int DESIRED_MONITORING_SERVICE_FIELD_NUMBER = 5; private volatile java.lang.Object desiredMonitoringService_; /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -161,7 +137,6 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() {
    * 
* * string desired_monitoring_service = 5; - * * @return The desiredMonitoringService. */ @java.lang.Override @@ -170,15 +145,14 @@ public java.lang.String getDesiredMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; } } /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -192,15 +166,16 @@ public java.lang.String getDesiredMonitoringService() {
    * 
* * string desired_monitoring_service = 5; - * * @return The bytes for desiredMonitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -211,14 +186,11 @@ public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { public static final int DESIRED_ADDONS_CONFIG_FIELD_NUMBER = 6; private com.google.container.v1beta1.AddonsConfig desiredAddonsConfig_; /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; - * * @return Whether the desiredAddonsConfig field is set. */ @java.lang.Override @@ -226,25 +198,18 @@ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfig_ != null; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; - * * @return The desiredAddonsConfig. */ @java.lang.Override public com.google.container.v1beta1.AddonsConfig getDesiredAddonsConfig() { - return desiredAddonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : desiredAddonsConfig_; + return desiredAddonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; } /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -259,8 +224,6 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig public static final int DESIRED_NODE_POOL_ID_FIELD_NUMBER = 7; private volatile java.lang.Object desiredNodePoolId_; /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -269,7 +232,6 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig
    * 
* * string desired_node_pool_id = 7; - * * @return The desiredNodePoolId. */ @java.lang.Override @@ -278,15 +240,14 @@ public java.lang.String getDesiredNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; } } /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -295,15 +256,16 @@ public java.lang.String getDesiredNodePoolId() {
    * 
* * string desired_node_pool_id = 7; - * * @return The bytes for desiredNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString + getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -314,15 +276,12 @@ public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { public static final int DESIRED_IMAGE_TYPE_FIELD_NUMBER = 8; private volatile java.lang.Object desiredImageType_; /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The desiredImageType. */ @java.lang.Override @@ -331,30 +290,30 @@ public java.lang.String getDesiredImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; } } /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The bytes for desiredImageType. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString + getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -365,8 +324,6 @@ public com.google.protobuf.ByteString getDesiredImageTypeBytes() { public static final int DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER = 9; private com.google.container.v1beta1.NodePoolAutoscaling desiredNodePoolAutoscaling_; /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -375,7 +332,6 @@ public com.google.protobuf.ByteString getDesiredImageTypeBytes() {
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return Whether the desiredNodePoolAutoscaling field is set. */ @java.lang.Override @@ -383,8 +339,6 @@ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscaling_ != null; } /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -393,18 +347,13 @@ public boolean hasDesiredNodePoolAutoscaling() {
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return The desiredNodePoolAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { - return desiredNodePoolAutoscaling_ == null - ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() - : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; } /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -415,16 +364,13 @@ public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutosc
    * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder
-      getDesiredNodePoolAutoscalingOrBuilder() {
+  public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
     return getDesiredNodePoolAutoscaling();
   }
 
   public static final int DESIRED_LOCATIONS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList desiredLocations_;
   /**
-   *
-   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -435,15 +381,13 @@ public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutosc
    * 
* * repeated string desired_locations = 10; - * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList + getDesiredLocationsList() { return desiredLocations_; } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -454,15 +398,12 @@ public com.google.protobuf.ProtocolStringList getDesiredLocationsList() {
    * 
* * repeated string desired_locations = 10; - * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -473,7 +414,6 @@ public int getDesiredLocationsCount() {
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -481,8 +421,6 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -493,28 +431,22 @@ public java.lang.String getDesiredLocations(int index) {
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString + getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } public static final int DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 12; - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig - desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -522,55 +454,37 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { return desiredMasterAuthorizedNetworksConfig_ != null; } /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig - getDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfig_ == null - ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : desiredMasterAuthorizedNetworksConfig_; + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { + return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; } /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder - getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { return getDesiredMasterAuthorizedNetworksConfig(); } public static final int DESIRED_POD_SECURITY_POLICY_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.PodSecurityPolicyConfig desiredPodSecurityPolicyConfig_; /** - * - * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; * @return Whether the desiredPodSecurityPolicyConfig field is set. */ @java.lang.Override @@ -578,52 +492,37 @@ public boolean hasDesiredPodSecurityPolicyConfig() { return desiredPodSecurityPolicyConfig_ != null; } /** - * - * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; * @return The desiredPodSecurityPolicyConfig. */ @java.lang.Override public com.google.container.v1beta1.PodSecurityPolicyConfig getDesiredPodSecurityPolicyConfig() { - return desiredPodSecurityPolicyConfig_ == null - ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() - : desiredPodSecurityPolicyConfig_; + return desiredPodSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : desiredPodSecurityPolicyConfig_; } /** - * - * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ @java.lang.Override - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder - getDesiredPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getDesiredPodSecurityPolicyConfigOrBuilder() { return getDesiredPodSecurityPolicyConfig(); } public static final int DESIRED_CLUSTER_AUTOSCALING_FIELD_NUMBER = 15; private com.google.container.v1beta1.ClusterAutoscaling desiredClusterAutoscaling_; /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return Whether the desiredClusterAutoscaling field is set. */ @java.lang.Override @@ -631,25 +530,18 @@ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscaling_ != null; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return The desiredClusterAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscaling() { - return desiredClusterAutoscaling_ == null - ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() - : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; } /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -657,22 +549,18 @@ public com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscal * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ @java.lang.Override - public com.google.container.v1beta1.ClusterAutoscalingOrBuilder - getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { return getDesiredClusterAutoscaling(); } public static final int DESIRED_BINARY_AUTHORIZATION_FIELD_NUMBER = 16; private com.google.container.v1beta1.BinaryAuthorization desiredBinaryAuthorization_; /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; - * * @return Whether the desiredBinaryAuthorization field is set. */ @java.lang.Override @@ -680,25 +568,18 @@ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorization_ != null; } /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; - * * @return The desiredBinaryAuthorization. */ @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthorization() { - return desiredBinaryAuthorization_ == null - ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() - : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; } /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
@@ -706,16 +587,13 @@ public com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthoriz * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ @java.lang.Override - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder - getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { return getDesiredBinaryAuthorization(); } public static final int DESIRED_LOGGING_SERVICE_FIELD_NUMBER = 19; private volatile java.lang.Object desiredLoggingService_; /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -729,7 +607,6 @@ public com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthoriz
    * 
* * string desired_logging_service = 19; - * * @return The desiredLoggingService. */ @java.lang.Override @@ -738,15 +615,14 @@ public java.lang.String getDesiredLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; } } /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -760,15 +636,16 @@ public java.lang.String getDesiredLoggingService() {
    * 
* * string desired_logging_service = 19; - * * @return The bytes for desiredLoggingService. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString + getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -779,16 +656,11 @@ public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { public static final int DESIRED_RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1beta1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return Whether the desiredResourceUsageExportConfig field is set. */ @java.lang.Override @@ -796,54 +668,37 @@ public boolean hasDesiredResourceUsageExportConfig() { return desiredResourceUsageExportConfig_ != null; } /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return The desiredResourceUsageExportConfig. */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig - getDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() - : desiredResourceUsageExportConfig_; + public com.google.container.v1beta1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { + return desiredResourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; } /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder - getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { return getDesiredResourceUsageExportConfig(); } public static final int DESIRED_VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 22; private com.google.container.v1beta1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return Whether the desiredVerticalPodAutoscaling field is set. */ @java.lang.Override @@ -851,51 +706,37 @@ public boolean hasDesiredVerticalPodAutoscaling() { return desiredVerticalPodAutoscaling_ != null; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return The desiredVerticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscaling_ == null - ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() - : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; } /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ @java.lang.Override - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder - getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { return getDesiredVerticalPodAutoscaling(); } public static final int DESIRED_PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1beta1.PrivateClusterConfig desiredPrivateClusterConfig_; /** - * - * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Override @@ -903,52 +744,37 @@ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfig_ != null; } /** - * - * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; * @return The desiredPrivateClusterConfig. */ @java.lang.Override public com.google.container.v1beta1.PrivateClusterConfig getDesiredPrivateClusterConfig() { - return desiredPrivateClusterConfig_ == null - ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() - : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; } /** - * - * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder - getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { return getDesiredPrivateClusterConfig(); } public static final int DESIRED_INTRA_NODE_VISIBILITY_CONFIG_FIELD_NUMBER = 26; private com.google.container.v1beta1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ @java.lang.Override @@ -956,53 +782,37 @@ public boolean hasDesiredIntraNodeVisibilityConfig() { return desiredIntraNodeVisibilityConfig_ != null; } /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return The desiredIntraNodeVisibilityConfig. */ @java.lang.Override - public com.google.container.v1beta1.IntraNodeVisibilityConfig - getDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfig_ == null - ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() - : desiredIntraNodeVisibilityConfig_; + public com.google.container.v1beta1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { + return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; } /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ @java.lang.Override - public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder - getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { return getDesiredIntraNodeVisibilityConfig(); } public static final int DESIRED_DEFAULT_SNAT_STATUS_FIELD_NUMBER = 28; private com.google.container.v1beta1.DefaultSnatStatus desiredDefaultSnatStatus_; /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return Whether the desiredDefaultSnatStatus field is set. */ @java.lang.Override @@ -1010,25 +820,18 @@ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatus_ != null; } /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return The desiredDefaultSnatStatus. */ @java.lang.Override public com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatus() { - return desiredDefaultSnatStatus_ == null - ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() - : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; } /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -1036,22 +839,18 @@ public com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatu * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ @java.lang.Override - public com.google.container.v1beta1.DefaultSnatStatusOrBuilder - getDesiredDefaultSnatStatusOrBuilder() { + public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder() { return getDesiredDefaultSnatStatus(); } public static final int DESIRED_CLUSTER_TELEMETRY_FIELD_NUMBER = 30; private com.google.container.v1beta1.ClusterTelemetry desiredClusterTelemetry_; /** - * - * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; - * * @return Whether the desiredClusterTelemetry field is set. */ @java.lang.Override @@ -1059,25 +858,18 @@ public boolean hasDesiredClusterTelemetry() { return desiredClusterTelemetry_ != null; } /** - * - * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; - * * @return The desiredClusterTelemetry. */ @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry() { - return desiredClusterTelemetry_ == null - ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() - : desiredClusterTelemetry_; + return desiredClusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : desiredClusterTelemetry_; } /** - * - * *
    * The desired telemetry integration for the cluster.
    * 
@@ -1085,22 +877,18 @@ public com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry( * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ @java.lang.Override - public com.google.container.v1beta1.ClusterTelemetryOrBuilder - getDesiredClusterTelemetryOrBuilder() { + public com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterTelemetryOrBuilder() { return getDesiredClusterTelemetry(); } public static final int DESIRED_RELEASE_CHANNEL_FIELD_NUMBER = 31; private com.google.container.v1beta1.ReleaseChannel desiredReleaseChannel_; /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; - * * @return Whether the desiredReleaseChannel field is set. */ @java.lang.Override @@ -1108,25 +896,18 @@ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannel_ != null; } /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; - * * @return The desiredReleaseChannel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel getDesiredReleaseChannel() { - return desiredReleaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : desiredReleaseChannel_; + return desiredReleaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; } /** - * - * *
    * The desired release channel configuration.
    * 
@@ -1141,14 +922,11 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseCha public static final int DESIRED_TPU_CONFIG_FIELD_NUMBER = 38; private com.google.container.v1beta1.TpuConfig desiredTpuConfig_; /** - * - * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; - * * @return Whether the desiredTpuConfig field is set. */ @java.lang.Override @@ -1156,25 +934,18 @@ public boolean hasDesiredTpuConfig() { return desiredTpuConfig_ != null; } /** - * - * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; - * * @return The desiredTpuConfig. */ @java.lang.Override public com.google.container.v1beta1.TpuConfig getDesiredTpuConfig() { - return desiredTpuConfig_ == null - ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() - : desiredTpuConfig_; + return desiredTpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : desiredTpuConfig_; } /** - * - * *
    * The desired Cloud TPU configuration.
    * 
@@ -1189,15 +960,11 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil public static final int DESIRED_L4ILB_SUBSETTING_CONFIG_FIELD_NUMBER = 39; private com.google.container.v1beta1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; * @return Whether the desiredL4ilbSubsettingConfig field is set. */ @java.lang.Override @@ -1205,129 +972,91 @@ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfig_ != null; } /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; * @return The desiredL4ilbSubsettingConfig. */ @java.lang.Override public com.google.container.v1beta1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { - return desiredL4IlbSubsettingConfig_ == null - ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() - : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; } /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ @java.lang.Override - public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder - getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { return getDesiredL4IlbSubsettingConfig(); } public static final int DESIRED_DATAPATH_PROVIDER_FIELD_NUMBER = 50; private int desiredDatapathProvider_; /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override - public int getDesiredDatapathProviderValue() { + @java.lang.Override public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @return The desiredDatapathProvider. */ - @java.lang.Override - public com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider() { + @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = - com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } public static final int DESIRED_PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 51; private int desiredPrivateIpv6GoogleAccess_; /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override - public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override - public com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { + @java.lang.Override public com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = - com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf( - desiredPrivateIpv6GoogleAccess_); - return result == null - ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED - : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); + return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } public static final int DESIRED_NOTIFICATION_CONFIG_FIELD_NUMBER = 55; private com.google.container.v1beta1.NotificationConfig desiredNotificationConfig_; /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; - * * @return Whether the desiredNotificationConfig field is set. */ @java.lang.Override @@ -1335,25 +1064,18 @@ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfig_ != null; } /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; - * * @return The desiredNotificationConfig. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig getDesiredNotificationConfig() { - return desiredNotificationConfig_ == null - ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() - : desiredNotificationConfig_; + return desiredNotificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; } /** - * - * *
    * The desired notification configuration.
    * 
@@ -1361,16 +1083,13 @@ public com.google.container.v1beta1.NotificationConfig getDesiredNotificationCon * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ @java.lang.Override - public com.google.container.v1beta1.NotificationConfigOrBuilder - getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { return getDesiredNotificationConfig(); } public static final int DESIRED_MASTER_VERSION_FIELD_NUMBER = 100; private volatile java.lang.Object desiredMasterVersion_; /** - * - * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -1384,7 +1103,6 @@ public com.google.container.v1beta1.NotificationConfig getDesiredNotificationCon
    * 
* * string desired_master_version = 100; - * * @return The desiredMasterVersion. */ @java.lang.Override @@ -1393,15 +1111,14 @@ public java.lang.String getDesiredMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; } } /** - * - * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -1415,15 +1132,16 @@ public java.lang.String getDesiredMasterVersion() {
    * 
* * string desired_master_version = 100; - * * @return The bytes for desiredMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString + getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -1434,14 +1152,11 @@ public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { public static final int DESIRED_GCFS_CONFIG_FIELD_NUMBER = 109; private com.google.container.v1beta1.GcfsConfig desiredGcfsConfig_; /** - * - * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; - * * @return Whether the desiredGcfsConfig field is set. */ @java.lang.Override @@ -1449,25 +1164,18 @@ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfig_ != null; } /** - * - * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; - * * @return The desiredGcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getDesiredGcfsConfig() { - return desiredGcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : desiredGcfsConfig_; + return desiredGcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; } /** - * - * *
    * The desired GCFS config for the cluster.
    * 
@@ -1482,14 +1190,11 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu public static final int DESIRED_DATABASE_ENCRYPTION_FIELD_NUMBER = 46; private com.google.container.v1beta1.DatabaseEncryption desiredDatabaseEncryption_; /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; - * * @return Whether the desiredDatabaseEncryption field is set. */ @java.lang.Override @@ -1497,25 +1202,18 @@ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryption_ != null; } /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; - * * @return The desiredDatabaseEncryption. */ @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncryption() { - return desiredDatabaseEncryption_ == null - ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() - : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; } /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -1523,23 +1221,18 @@ public com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncrypt * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ @java.lang.Override - public com.google.container.v1beta1.DatabaseEncryptionOrBuilder - getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { return getDesiredDatabaseEncryption(); } public static final int DESIRED_WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 47; private com.google.container.v1beta1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; /** - * - * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return Whether the desiredWorkloadIdentityConfig field is set. */ @java.lang.Override @@ -1547,51 +1240,38 @@ public boolean hasDesiredWorkloadIdentityConfig() { return desiredWorkloadIdentityConfig_ != null; } /** - * - * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return The desiredWorkloadIdentityConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfig_ == null - ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() - : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; } /** - * - * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ @java.lang.Override - public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder - getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { return getDesiredWorkloadIdentityConfig(); } public static final int DESIRED_WORKLOAD_CERTIFICATES_FIELD_NUMBER = 61; private com.google.container.v1beta1.WorkloadCertificates desiredWorkloadCertificates_; /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * * @return Whether the desiredWorkloadCertificates field is set. */ @java.lang.Override @@ -1599,26 +1279,19 @@ public boolean hasDesiredWorkloadCertificates() { return desiredWorkloadCertificates_ != null; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * * @return The desiredWorkloadCertificates. */ @java.lang.Override public com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCertificates() { - return desiredWorkloadCertificates_ == null - ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() - : desiredWorkloadCertificates_; + return desiredWorkloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : desiredWorkloadCertificates_; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1627,23 +1300,19 @@ public com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCerti
    * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder
-      getDesiredWorkloadCertificatesOrBuilder() {
+  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getDesiredWorkloadCertificatesOrBuilder() {
     return getDesiredWorkloadCertificates();
   }
 
   public static final int DESIRED_MESH_CERTIFICATES_FIELD_NUMBER = 67;
   private com.google.container.v1beta1.MeshCertificates desiredMeshCertificates_;
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; - * * @return Whether the desiredMeshCertificates field is set. */ @java.lang.Override @@ -1651,26 +1320,19 @@ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificates_ != null; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; - * * @return The desiredMeshCertificates. */ @java.lang.Override public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates() { - return desiredMeshCertificates_ == null - ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() - : desiredMeshCertificates_; + return desiredMeshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; } /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1679,22 +1341,18 @@ public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates(
    * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.MeshCertificatesOrBuilder
-      getDesiredMeshCertificatesOrBuilder() {
+  public com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder() {
     return getDesiredMeshCertificates();
   }
 
   public static final int DESIRED_WORKLOAD_ALTS_CONFIG_FIELD_NUMBER = 62;
   private com.google.container.v1beta1.WorkloadALTSConfig desiredWorkloadAltsConfig_;
   /**
-   *
-   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; - * * @return Whether the desiredWorkloadAltsConfig field is set. */ @java.lang.Override @@ -1702,25 +1360,18 @@ public boolean hasDesiredWorkloadAltsConfig() { return desiredWorkloadAltsConfig_ != null; } /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; - * * @return The desiredWorkloadAltsConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig() { - return desiredWorkloadAltsConfig_ == null - ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() - : desiredWorkloadAltsConfig_; + return desiredWorkloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : desiredWorkloadAltsConfig_; } /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -1728,22 +1379,18 @@ public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsCon * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ @java.lang.Override - public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder - getDesiredWorkloadAltsConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorkloadAltsConfigOrBuilder() { return getDesiredWorkloadAltsConfig(); } public static final int DESIRED_SHIELDED_NODES_FIELD_NUMBER = 48; private com.google.container.v1beta1.ShieldedNodes desiredShieldedNodes_; /** - * - * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; - * * @return Whether the desiredShieldedNodes field is set. */ @java.lang.Override @@ -1751,25 +1398,18 @@ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodes_ != null; } /** - * - * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; - * * @return The desiredShieldedNodes. */ @java.lang.Override public com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes() { - return desiredShieldedNodes_ == null - ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() - : desiredShieldedNodes_; + return desiredShieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; } /** - * - * *
    * Configuration for Shielded Nodes.
    * 
@@ -1784,15 +1424,11 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod public static final int DESIRED_COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1beta1.CostManagementConfig desiredCostManagementConfig_; /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; * @return Whether the desiredCostManagementConfig field is set. */ @java.lang.Override @@ -1800,50 +1436,37 @@ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfig_ != null; } /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; * @return The desiredCostManagementConfig. */ @java.lang.Override public com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig() { - return desiredCostManagementConfig_ == null - ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() - : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; } /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ @java.lang.Override - public com.google.container.v1beta1.CostManagementConfigOrBuilder - getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { return getDesiredCostManagementConfig(); } public static final int DESIRED_MASTER_FIELD_NUMBER = 52; private com.google.container.v1beta1.Master desiredMaster_; /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; - * * @return Whether the desiredMaster field is set. */ @java.lang.Override @@ -1851,25 +1474,18 @@ public boolean hasDesiredMaster() { return desiredMaster_ != null; } /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; - * * @return The desiredMaster. */ @java.lang.Override public com.google.container.v1beta1.Master getDesiredMaster() { - return desiredMaster_ == null - ? com.google.container.v1beta1.Master.getDefaultInstance() - : desiredMaster_; + return desiredMaster_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : desiredMaster_; } /** - * - * *
    * Configuration for master components.
    * 
@@ -1884,14 +1500,11 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() public static final int DESIRED_DNS_CONFIG_FIELD_NUMBER = 53; private com.google.container.v1beta1.DNSConfig desiredDnsConfig_; /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; - * * @return Whether the desiredDnsConfig field is set. */ @java.lang.Override @@ -1899,25 +1512,18 @@ public boolean hasDesiredDnsConfig() { return desiredDnsConfig_ != null; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; - * * @return The desiredDnsConfig. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig getDesiredDnsConfig() { - return desiredDnsConfig_ == null - ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() - : desiredDnsConfig_; + return desiredDnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -1932,17 +1538,12 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil public static final int DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 60; private com.google.container.v1beta1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return Whether the desiredServiceExternalIpsConfig field is set. */ @java.lang.Override @@ -1950,58 +1551,40 @@ public boolean hasDesiredServiceExternalIpsConfig() { return desiredServiceExternalIpsConfig_ != null; } /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return The desiredServiceExternalIpsConfig. */ @java.lang.Override - public com.google.container.v1beta1.ServiceExternalIPsConfig - getDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfig_ == null - ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() - : desiredServiceExternalIpsConfig_; + public com.google.container.v1beta1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { + return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; } /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ @java.lang.Override - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder - getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { return getDesiredServiceExternalIpsConfig(); } public static final int DESIRED_AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 63; private com.google.container.v1beta1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; /** - * - * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ @java.lang.Override @@ -2009,55 +1592,39 @@ public boolean hasDesiredAuthenticatorGroupsConfig() { return desiredAuthenticatorGroupsConfig_ != null; } /** - * - * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return The desiredAuthenticatorGroupsConfig. */ @java.lang.Override - public com.google.container.v1beta1.AuthenticatorGroupsConfig - getDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfig_ == null - ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() - : desiredAuthenticatorGroupsConfig_; + public com.google.container.v1beta1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { + return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; } /** - * - * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ @java.lang.Override - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder - getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { return getDesiredAuthenticatorGroupsConfig(); } public static final int DESIRED_LOGGING_CONFIG_FIELD_NUMBER = 64; private com.google.container.v1beta1.LoggingConfig desiredLoggingConfig_; /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; - * * @return Whether the desiredLoggingConfig field is set. */ @java.lang.Override @@ -2065,25 +1632,18 @@ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfig_ != null; } /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; - * * @return The desiredLoggingConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingConfig getDesiredLoggingConfig() { - return desiredLoggingConfig_ == null - ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() - : desiredLoggingConfig_; + return desiredLoggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; } /** - * - * *
    * The desired logging configuration.
    * 
@@ -2098,14 +1658,11 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf public static final int DESIRED_MONITORING_CONFIG_FIELD_NUMBER = 65; private com.google.container.v1beta1.MonitoringConfig desiredMonitoringConfig_; /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; - * * @return Whether the desiredMonitoringConfig field is set. */ @java.lang.Override @@ -2113,25 +1670,18 @@ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfig_ != null; } /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; - * * @return The desiredMonitoringConfig. */ @java.lang.Override public com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig() { - return desiredMonitoringConfig_ == null - ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() - : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; } /** - * - * *
    * The desired monitoring configuration.
    * 
@@ -2139,23 +1689,18 @@ public com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig( * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ @java.lang.Override - public com.google.container.v1beta1.MonitoringConfigOrBuilder - getDesiredMonitoringConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder() { return getDesiredMonitoringConfig(); } public static final int DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 66; private com.google.container.v1beta1.IdentityServiceConfig desiredIdentityServiceConfig_; /** - * - * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; * @return Whether the desiredIdentityServiceConfig field is set. */ @java.lang.Override @@ -2163,50 +1708,37 @@ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfig_ != null; } /** - * - * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; * @return The desiredIdentityServiceConfig. */ @java.lang.Override public com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServiceConfig() { - return desiredIdentityServiceConfig_ == null - ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() - : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; } /** - * - * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ @java.lang.Override - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder - getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { return getDesiredIdentityServiceConfig(); } public static final int DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 71; private boolean desiredEnablePrivateEndpoint_; /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -2214,14 +1746,11 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -2232,16 +1761,12 @@ public boolean getDesiredEnablePrivateEndpoint() { public static final int DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER = 110; private com.google.container.v1beta1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ @java.lang.Override @@ -2249,52 +1774,39 @@ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { return desiredNodePoolAutoConfigNetworkTags_ != null; } /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return The desiredNodePoolAutoConfigNetworkTags. */ @java.lang.Override public com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTags_ == null - ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() - : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; } /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ @java.lang.Override - public com.google.container.v1beta1.NetworkTagsOrBuilder - getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + public com.google.container.v1beta1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { return getDesiredNodePoolAutoConfigNetworkTags(); } public static final int DESIRED_PROTECT_CONFIG_FIELD_NUMBER = 112; private com.google.container.v1beta1.ProtectConfig desiredProtectConfig_; /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; - * * @return Whether the desiredProtectConfig field is set. */ @java.lang.Override @@ -2302,25 +1814,18 @@ public boolean hasDesiredProtectConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; - * * @return The desiredProtectConfig. */ @java.lang.Override public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { - return desiredProtectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : desiredProtectConfig_; + return desiredProtectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; } /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
@@ -2329,22 +1834,17 @@ public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { */ @java.lang.Override public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConfigOrBuilder() { - return desiredProtectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : desiredProtectConfig_; + return desiredProtectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; } public static final int DESIRED_GATEWAY_API_CONFIG_FIELD_NUMBER = 114; private com.google.container.v1beta1.GatewayAPIConfig desiredGatewayApiConfig_; /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return Whether the desiredGatewayApiConfig field is set. */ @java.lang.Override @@ -2352,25 +1852,18 @@ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfig_ != null; } /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return The desiredGatewayApiConfig. */ @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig() { - return desiredGatewayApiConfig_ == null - ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() - : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; } /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -2378,23 +1871,18 @@ public com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig( * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ @java.lang.Override - public com.google.container.v1beta1.GatewayAPIConfigOrBuilder - getDesiredGatewayApiConfigOrBuilder() { + public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder() { return getDesiredGatewayApiConfig(); } public static final int DESIRED_NODE_POOL_LOGGING_CONFIG_FIELD_NUMBER = 116; private com.google.container.v1beta1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return Whether the desiredNodePoolLoggingConfig field is set. */ @java.lang.Override @@ -2402,41 +1890,30 @@ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfig_ != null; } /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return The desiredNodePoolLoggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { - return desiredNodePoolLoggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; } /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ @java.lang.Override - public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder - getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { return getDesiredNodePoolLoggingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2448,7 +1925,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodeVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, desiredNodeVersion_); } @@ -2524,15 +2002,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (desiredCostManagementConfig_ != null) { output.writeMessage(49, getDesiredCostManagementConfig()); } - if (desiredDatapathProvider_ - != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED - .getNumber()) { + if (desiredDatapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(50, desiredDatapathProvider_); } - if (desiredPrivateIpv6GoogleAccess_ - != com.google.container.v1beta1.PrivateIPv6GoogleAccess - .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED - .getNumber()) { + if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { output.writeEnum(51, desiredPrivateIpv6GoogleAccess_); } if (desiredMaster_ != null) { @@ -2602,11 +2075,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, desiredNodeVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMonitoringService_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); } if (desiredAddonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDesiredAddonsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getDesiredAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, desiredNodePoolId_); @@ -2615,9 +2088,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, desiredImageType_); } if (desiredNodePoolAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, getDesiredNodePoolAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDesiredNodePoolAutoscaling()); } { int dataSize = 0; @@ -2628,180 +2100,154 @@ public int getSerializedSize() { size += 1 * getDesiredLocationsList().size(); } if (desiredMasterAuthorizedNetworksConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 12, getDesiredMasterAuthorizedNetworksConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDesiredMasterAuthorizedNetworksConfig()); } if (desiredPodSecurityPolicyConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 14, getDesiredPodSecurityPolicyConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getDesiredPodSecurityPolicyConfig()); } if (desiredClusterAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, getDesiredClusterAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getDesiredClusterAutoscaling()); } if (desiredBinaryAuthorization_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 16, getDesiredBinaryAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getDesiredBinaryAuthorization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredLoggingService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, desiredLoggingService_); } if (desiredResourceUsageExportConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 21, getDesiredResourceUsageExportConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getDesiredResourceUsageExportConfig()); } if (desiredVerticalPodAutoscaling_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 22, getDesiredVerticalPodAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getDesiredVerticalPodAutoscaling()); } if (desiredPrivateClusterConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 25, getDesiredPrivateClusterConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getDesiredPrivateClusterConfig()); } if (desiredIntraNodeVisibilityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 26, getDesiredIntraNodeVisibilityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getDesiredIntraNodeVisibilityConfig()); } if (desiredDefaultSnatStatus_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 28, getDesiredDefaultSnatStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, getDesiredDefaultSnatStatus()); } if (desiredClusterTelemetry_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 30, getDesiredClusterTelemetry()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(30, getDesiredClusterTelemetry()); } if (desiredReleaseChannel_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(31, getDesiredReleaseChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(31, getDesiredReleaseChannel()); } if (desiredTpuConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getDesiredTpuConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, getDesiredTpuConfig()); } if (desiredL4IlbSubsettingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 39, getDesiredL4IlbSubsettingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(39, getDesiredL4IlbSubsettingConfig()); } if (desiredDatabaseEncryption_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 46, getDesiredDatabaseEncryption()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(46, getDesiredDatabaseEncryption()); } if (desiredWorkloadIdentityConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 47, getDesiredWorkloadIdentityConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(47, getDesiredWorkloadIdentityConfig()); } if (desiredShieldedNodes_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(48, getDesiredShieldedNodes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(48, getDesiredShieldedNodes()); } if (desiredCostManagementConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 49, getDesiredCostManagementConfig()); - } - if (desiredDatapathProvider_ - != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(50, desiredDatapathProvider_); - } - if (desiredPrivateIpv6GoogleAccess_ - != com.google.container.v1beta1.PrivateIPv6GoogleAccess - .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED - .getNumber()) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 51, desiredPrivateIpv6GoogleAccess_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(49, getDesiredCostManagementConfig()); + } + if (desiredDatapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(50, desiredDatapathProvider_); + } + if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(51, desiredPrivateIpv6GoogleAccess_); } if (desiredMaster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(52, getDesiredMaster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(52, getDesiredMaster()); } if (desiredDnsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getDesiredDnsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(53, getDesiredDnsConfig()); } if (desiredNotificationConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 55, getDesiredNotificationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(55, getDesiredNotificationConfig()); } if (desiredServiceExternalIpsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 60, getDesiredServiceExternalIpsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(60, getDesiredServiceExternalIpsConfig()); } if (desiredWorkloadCertificates_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 61, getDesiredWorkloadCertificates()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(61, getDesiredWorkloadCertificates()); } if (desiredWorkloadAltsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 62, getDesiredWorkloadAltsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(62, getDesiredWorkloadAltsConfig()); } if (desiredAuthenticatorGroupsConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 63, getDesiredAuthenticatorGroupsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(63, getDesiredAuthenticatorGroupsConfig()); } if (desiredLoggingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(64, getDesiredLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(64, getDesiredLoggingConfig()); } if (desiredMonitoringConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 65, getDesiredMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(65, getDesiredMonitoringConfig()); } if (desiredIdentityServiceConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 66, getDesiredIdentityServiceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(66, getDesiredIdentityServiceConfig()); } if (desiredMeshCertificates_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 67, getDesiredMeshCertificates()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(67, getDesiredMeshCertificates()); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(71, desiredEnablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(71, desiredEnablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMasterVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, desiredMasterVersion_); } if (desiredGcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getDesiredGcfsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(109, getDesiredGcfsConfig()); } if (desiredNodePoolAutoConfigNetworkTags_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 110, getDesiredNodePoolAutoConfigNetworkTags()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(110, getDesiredNodePoolAutoConfigNetworkTags()); } if (((bitField0_ & 0x00000002) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(112, getDesiredProtectConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(112, getDesiredProtectConfig()); } if (desiredGatewayApiConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 114, getDesiredGatewayApiConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(114, getDesiredGatewayApiConfig()); } if (desiredNodePoolLoggingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 116, getDesiredNodePoolLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(116, getDesiredNodePoolLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2811,197 +2257,208 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClusterUpdate)) { return super.equals(obj); } - com.google.container.v1beta1.ClusterUpdate other = - (com.google.container.v1beta1.ClusterUpdate) obj; + com.google.container.v1beta1.ClusterUpdate other = (com.google.container.v1beta1.ClusterUpdate) obj; - if (!getDesiredNodeVersion().equals(other.getDesiredNodeVersion())) return false; - if (!getDesiredMonitoringService().equals(other.getDesiredMonitoringService())) return false; + if (!getDesiredNodeVersion() + .equals(other.getDesiredNodeVersion())) return false; + if (!getDesiredMonitoringService() + .equals(other.getDesiredMonitoringService())) return false; if (hasDesiredAddonsConfig() != other.hasDesiredAddonsConfig()) return false; if (hasDesiredAddonsConfig()) { - if (!getDesiredAddonsConfig().equals(other.getDesiredAddonsConfig())) return false; + if (!getDesiredAddonsConfig() + .equals(other.getDesiredAddonsConfig())) return false; } - if (!getDesiredNodePoolId().equals(other.getDesiredNodePoolId())) return false; - if (!getDesiredImageType().equals(other.getDesiredImageType())) return false; + if (!getDesiredNodePoolId() + .equals(other.getDesiredNodePoolId())) return false; + if (!getDesiredImageType() + .equals(other.getDesiredImageType())) return false; if (hasDesiredNodePoolAutoscaling() != other.hasDesiredNodePoolAutoscaling()) return false; if (hasDesiredNodePoolAutoscaling()) { - if (!getDesiredNodePoolAutoscaling().equals(other.getDesiredNodePoolAutoscaling())) - return false; + if (!getDesiredNodePoolAutoscaling() + .equals(other.getDesiredNodePoolAutoscaling())) return false; } - if (!getDesiredLocationsList().equals(other.getDesiredLocationsList())) return false; - if (hasDesiredMasterAuthorizedNetworksConfig() - != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; + if (!getDesiredLocationsList() + .equals(other.getDesiredLocationsList())) return false; + if (hasDesiredMasterAuthorizedNetworksConfig() != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; if (hasDesiredMasterAuthorizedNetworksConfig()) { if (!getDesiredMasterAuthorizedNetworksConfig() .equals(other.getDesiredMasterAuthorizedNetworksConfig())) return false; } - if (hasDesiredPodSecurityPolicyConfig() != other.hasDesiredPodSecurityPolicyConfig()) - return false; + if (hasDesiredPodSecurityPolicyConfig() != other.hasDesiredPodSecurityPolicyConfig()) return false; if (hasDesiredPodSecurityPolicyConfig()) { - if (!getDesiredPodSecurityPolicyConfig().equals(other.getDesiredPodSecurityPolicyConfig())) - return false; + if (!getDesiredPodSecurityPolicyConfig() + .equals(other.getDesiredPodSecurityPolicyConfig())) return false; } if (hasDesiredClusterAutoscaling() != other.hasDesiredClusterAutoscaling()) return false; if (hasDesiredClusterAutoscaling()) { - if (!getDesiredClusterAutoscaling().equals(other.getDesiredClusterAutoscaling())) - return false; + if (!getDesiredClusterAutoscaling() + .equals(other.getDesiredClusterAutoscaling())) return false; } if (hasDesiredBinaryAuthorization() != other.hasDesiredBinaryAuthorization()) return false; if (hasDesiredBinaryAuthorization()) { - if (!getDesiredBinaryAuthorization().equals(other.getDesiredBinaryAuthorization())) - return false; + if (!getDesiredBinaryAuthorization() + .equals(other.getDesiredBinaryAuthorization())) return false; } - if (!getDesiredLoggingService().equals(other.getDesiredLoggingService())) return false; - if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) - return false; + if (!getDesiredLoggingService() + .equals(other.getDesiredLoggingService())) return false; + if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) return false; if (hasDesiredResourceUsageExportConfig()) { if (!getDesiredResourceUsageExportConfig() .equals(other.getDesiredResourceUsageExportConfig())) return false; } - if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) - return false; + if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) return false; if (hasDesiredVerticalPodAutoscaling()) { - if (!getDesiredVerticalPodAutoscaling().equals(other.getDesiredVerticalPodAutoscaling())) - return false; + if (!getDesiredVerticalPodAutoscaling() + .equals(other.getDesiredVerticalPodAutoscaling())) return false; } if (hasDesiredPrivateClusterConfig() != other.hasDesiredPrivateClusterConfig()) return false; if (hasDesiredPrivateClusterConfig()) { - if (!getDesiredPrivateClusterConfig().equals(other.getDesiredPrivateClusterConfig())) - return false; + if (!getDesiredPrivateClusterConfig() + .equals(other.getDesiredPrivateClusterConfig())) return false; } - if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) - return false; + if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) return false; if (hasDesiredIntraNodeVisibilityConfig()) { if (!getDesiredIntraNodeVisibilityConfig() .equals(other.getDesiredIntraNodeVisibilityConfig())) return false; } if (hasDesiredDefaultSnatStatus() != other.hasDesiredDefaultSnatStatus()) return false; if (hasDesiredDefaultSnatStatus()) { - if (!getDesiredDefaultSnatStatus().equals(other.getDesiredDefaultSnatStatus())) return false; + if (!getDesiredDefaultSnatStatus() + .equals(other.getDesiredDefaultSnatStatus())) return false; } if (hasDesiredClusterTelemetry() != other.hasDesiredClusterTelemetry()) return false; if (hasDesiredClusterTelemetry()) { - if (!getDesiredClusterTelemetry().equals(other.getDesiredClusterTelemetry())) return false; + if (!getDesiredClusterTelemetry() + .equals(other.getDesiredClusterTelemetry())) return false; } if (hasDesiredReleaseChannel() != other.hasDesiredReleaseChannel()) return false; if (hasDesiredReleaseChannel()) { - if (!getDesiredReleaseChannel().equals(other.getDesiredReleaseChannel())) return false; + if (!getDesiredReleaseChannel() + .equals(other.getDesiredReleaseChannel())) return false; } if (hasDesiredTpuConfig() != other.hasDesiredTpuConfig()) return false; if (hasDesiredTpuConfig()) { - if (!getDesiredTpuConfig().equals(other.getDesiredTpuConfig())) return false; + if (!getDesiredTpuConfig() + .equals(other.getDesiredTpuConfig())) return false; } if (hasDesiredL4IlbSubsettingConfig() != other.hasDesiredL4IlbSubsettingConfig()) return false; if (hasDesiredL4IlbSubsettingConfig()) { - if (!getDesiredL4IlbSubsettingConfig().equals(other.getDesiredL4IlbSubsettingConfig())) - return false; + if (!getDesiredL4IlbSubsettingConfig() + .equals(other.getDesiredL4IlbSubsettingConfig())) return false; } if (desiredDatapathProvider_ != other.desiredDatapathProvider_) return false; if (desiredPrivateIpv6GoogleAccess_ != other.desiredPrivateIpv6GoogleAccess_) return false; if (hasDesiredNotificationConfig() != other.hasDesiredNotificationConfig()) return false; if (hasDesiredNotificationConfig()) { - if (!getDesiredNotificationConfig().equals(other.getDesiredNotificationConfig())) - return false; + if (!getDesiredNotificationConfig() + .equals(other.getDesiredNotificationConfig())) return false; } - if (!getDesiredMasterVersion().equals(other.getDesiredMasterVersion())) return false; + if (!getDesiredMasterVersion() + .equals(other.getDesiredMasterVersion())) return false; if (hasDesiredGcfsConfig() != other.hasDesiredGcfsConfig()) return false; if (hasDesiredGcfsConfig()) { - if (!getDesiredGcfsConfig().equals(other.getDesiredGcfsConfig())) return false; + if (!getDesiredGcfsConfig() + .equals(other.getDesiredGcfsConfig())) return false; } if (hasDesiredDatabaseEncryption() != other.hasDesiredDatabaseEncryption()) return false; if (hasDesiredDatabaseEncryption()) { - if (!getDesiredDatabaseEncryption().equals(other.getDesiredDatabaseEncryption())) - return false; + if (!getDesiredDatabaseEncryption() + .equals(other.getDesiredDatabaseEncryption())) return false; } - if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) - return false; + if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) return false; if (hasDesiredWorkloadIdentityConfig()) { - if (!getDesiredWorkloadIdentityConfig().equals(other.getDesiredWorkloadIdentityConfig())) - return false; + if (!getDesiredWorkloadIdentityConfig() + .equals(other.getDesiredWorkloadIdentityConfig())) return false; } if (hasDesiredWorkloadCertificates() != other.hasDesiredWorkloadCertificates()) return false; if (hasDesiredWorkloadCertificates()) { - if (!getDesiredWorkloadCertificates().equals(other.getDesiredWorkloadCertificates())) - return false; + if (!getDesiredWorkloadCertificates() + .equals(other.getDesiredWorkloadCertificates())) return false; } if (hasDesiredMeshCertificates() != other.hasDesiredMeshCertificates()) return false; if (hasDesiredMeshCertificates()) { - if (!getDesiredMeshCertificates().equals(other.getDesiredMeshCertificates())) return false; + if (!getDesiredMeshCertificates() + .equals(other.getDesiredMeshCertificates())) return false; } if (hasDesiredWorkloadAltsConfig() != other.hasDesiredWorkloadAltsConfig()) return false; if (hasDesiredWorkloadAltsConfig()) { - if (!getDesiredWorkloadAltsConfig().equals(other.getDesiredWorkloadAltsConfig())) - return false; + if (!getDesiredWorkloadAltsConfig() + .equals(other.getDesiredWorkloadAltsConfig())) return false; } if (hasDesiredShieldedNodes() != other.hasDesiredShieldedNodes()) return false; if (hasDesiredShieldedNodes()) { - if (!getDesiredShieldedNodes().equals(other.getDesiredShieldedNodes())) return false; + if (!getDesiredShieldedNodes() + .equals(other.getDesiredShieldedNodes())) return false; } if (hasDesiredCostManagementConfig() != other.hasDesiredCostManagementConfig()) return false; if (hasDesiredCostManagementConfig()) { - if (!getDesiredCostManagementConfig().equals(other.getDesiredCostManagementConfig())) - return false; + if (!getDesiredCostManagementConfig() + .equals(other.getDesiredCostManagementConfig())) return false; } if (hasDesiredMaster() != other.hasDesiredMaster()) return false; if (hasDesiredMaster()) { - if (!getDesiredMaster().equals(other.getDesiredMaster())) return false; + if (!getDesiredMaster() + .equals(other.getDesiredMaster())) return false; } if (hasDesiredDnsConfig() != other.hasDesiredDnsConfig()) return false; if (hasDesiredDnsConfig()) { - if (!getDesiredDnsConfig().equals(other.getDesiredDnsConfig())) return false; + if (!getDesiredDnsConfig() + .equals(other.getDesiredDnsConfig())) return false; } - if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) - return false; + if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) return false; if (hasDesiredServiceExternalIpsConfig()) { - if (!getDesiredServiceExternalIpsConfig().equals(other.getDesiredServiceExternalIpsConfig())) - return false; + if (!getDesiredServiceExternalIpsConfig() + .equals(other.getDesiredServiceExternalIpsConfig())) return false; } - if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) - return false; + if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) return false; if (hasDesiredAuthenticatorGroupsConfig()) { if (!getDesiredAuthenticatorGroupsConfig() .equals(other.getDesiredAuthenticatorGroupsConfig())) return false; } if (hasDesiredLoggingConfig() != other.hasDesiredLoggingConfig()) return false; if (hasDesiredLoggingConfig()) { - if (!getDesiredLoggingConfig().equals(other.getDesiredLoggingConfig())) return false; + if (!getDesiredLoggingConfig() + .equals(other.getDesiredLoggingConfig())) return false; } if (hasDesiredMonitoringConfig() != other.hasDesiredMonitoringConfig()) return false; if (hasDesiredMonitoringConfig()) { - if (!getDesiredMonitoringConfig().equals(other.getDesiredMonitoringConfig())) return false; + if (!getDesiredMonitoringConfig() + .equals(other.getDesiredMonitoringConfig())) return false; } if (hasDesiredIdentityServiceConfig() != other.hasDesiredIdentityServiceConfig()) return false; if (hasDesiredIdentityServiceConfig()) { - if (!getDesiredIdentityServiceConfig().equals(other.getDesiredIdentityServiceConfig())) - return false; + if (!getDesiredIdentityServiceConfig() + .equals(other.getDesiredIdentityServiceConfig())) return false; } if (hasDesiredEnablePrivateEndpoint() != other.hasDesiredEnablePrivateEndpoint()) return false; if (hasDesiredEnablePrivateEndpoint()) { - if (getDesiredEnablePrivateEndpoint() != other.getDesiredEnablePrivateEndpoint()) - return false; + if (getDesiredEnablePrivateEndpoint() + != other.getDesiredEnablePrivateEndpoint()) return false; } - if (hasDesiredNodePoolAutoConfigNetworkTags() - != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; + if (hasDesiredNodePoolAutoConfigNetworkTags() != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; if (hasDesiredNodePoolAutoConfigNetworkTags()) { if (!getDesiredNodePoolAutoConfigNetworkTags() .equals(other.getDesiredNodePoolAutoConfigNetworkTags())) return false; } if (hasDesiredProtectConfig() != other.hasDesiredProtectConfig()) return false; if (hasDesiredProtectConfig()) { - if (!getDesiredProtectConfig().equals(other.getDesiredProtectConfig())) return false; + if (!getDesiredProtectConfig() + .equals(other.getDesiredProtectConfig())) return false; } if (hasDesiredGatewayApiConfig() != other.hasDesiredGatewayApiConfig()) return false; if (hasDesiredGatewayApiConfig()) { - if (!getDesiredGatewayApiConfig().equals(other.getDesiredGatewayApiConfig())) return false; + if (!getDesiredGatewayApiConfig() + .equals(other.getDesiredGatewayApiConfig())) return false; } if (hasDesiredNodePoolLoggingConfig() != other.hasDesiredNodePoolLoggingConfig()) return false; if (hasDesiredNodePoolLoggingConfig()) { - if (!getDesiredNodePoolLoggingConfig().equals(other.getDesiredNodePoolLoggingConfig())) - return false; + if (!getDesiredNodePoolLoggingConfig() + .equals(other.getDesiredNodePoolLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3160,8 +2617,8 @@ public int hashCode() { } if (hasDesiredEnablePrivateEndpoint()) { hash = (37 * hash) + DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesiredEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDesiredEnablePrivateEndpoint()); } if (hasDesiredNodePoolAutoConfigNetworkTags()) { hash = (37 * hash) + DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER; @@ -3184,104 +2641,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ClusterUpdate parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ClusterUpdate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterUpdate parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterUpdate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterUpdate parseFrom( 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.ClusterUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ClusterUpdate parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ClusterUpdate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterUpdate parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ClusterUpdate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ClusterUpdate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterUpdate parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClusterUpdate parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ClusterUpdate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ClusterUpdate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ClusterUpdate describes an update to the cluster. Exactly one update can
    * be applied to a cluster with each request, so at most one field can be
@@ -3290,23 +2740,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ClusterUpdate}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClusterUpdate)
       com.google.container.v1beta1.ClusterUpdateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ClusterUpdate.class,
-              com.google.container.v1beta1.ClusterUpdate.Builder.class);
+              com.google.container.v1beta1.ClusterUpdate.class, com.google.container.v1beta1.ClusterUpdate.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ClusterUpdate.newBuilder()
@@ -3314,17 +2762,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getDesiredProtectConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3562,9 +3010,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
@@ -3583,8 +3031,7 @@ public com.google.container.v1beta1.ClusterUpdate build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ClusterUpdate buildPartial() {
-      com.google.container.v1beta1.ClusterUpdate result =
-          new com.google.container.v1beta1.ClusterUpdate(this);
+      com.google.container.v1beta1.ClusterUpdate result = new com.google.container.v1beta1.ClusterUpdate(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.desiredNodeVersion_ = desiredNodeVersion_;
@@ -3609,8 +3056,7 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() {
       if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) {
         result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfig_;
       } else {
-        result.desiredMasterAuthorizedNetworksConfig_ =
-            desiredMasterAuthorizedNetworksConfigBuilder_.build();
+        result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfigBuilder_.build();
       }
       if (desiredPodSecurityPolicyConfigBuilder_ == null) {
         result.desiredPodSecurityPolicyConfig_ = desiredPodSecurityPolicyConfig_;
@@ -3763,8 +3209,7 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() {
       if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) {
         result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTags_;
       } else {
-        result.desiredNodePoolAutoConfigNetworkTags_ =
-            desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
+        result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         if (desiredProtectConfigBuilder_ == null) {
@@ -3793,39 +3238,38 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ClusterUpdate) {
-        return mergeFrom((com.google.container.v1beta1.ClusterUpdate) other);
+        return mergeFrom((com.google.container.v1beta1.ClusterUpdate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3867,8 +3311,7 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterUpdate other) {
         onChanged();
       }
       if (other.hasDesiredMasterAuthorizedNetworksConfig()) {
-        mergeDesiredMasterAuthorizedNetworksConfig(
-            other.getDesiredMasterAuthorizedNetworksConfig());
+        mergeDesiredMasterAuthorizedNetworksConfig(other.getDesiredMasterAuthorizedNetworksConfig());
       }
       if (other.hasDesiredPodSecurityPolicyConfig()) {
         mergeDesiredPodSecurityPolicyConfig(other.getDesiredPodSecurityPolicyConfig());
@@ -4009,325 +3452,308 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 34:
-              {
-                desiredNodeVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                desiredMonitoringService_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getDesiredAddonsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                desiredNodePoolId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                desiredImageType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(
-                    getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 82:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDesiredLocationsIsMutable();
-                desiredLocations_.add(s);
-                break;
-              } // case 82
-            case 98:
-              {
-                input.readMessage(
-                    getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 98
-            case 114:
-              {
-                input.readMessage(
-                    getDesiredPodSecurityPolicyConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(
-                    getDesiredClusterAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(
-                    getDesiredBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 130
-            case 154:
-              {
-                desiredLoggingService_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 154
-            case 170:
-              {
-                input.readMessage(
-                    getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(
-                    getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 178
-            case 202:
-              {
-                input.readMessage(
-                    getDesiredPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 210
-            case 226:
-              {
-                input.readMessage(
-                    getDesiredDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 226
-            case 242:
-              {
-                input.readMessage(
-                    getDesiredClusterTelemetryFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 242
-            case 250:
-              {
-                input.readMessage(
-                    getDesiredReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 250
-            case 306:
-              {
-                input.readMessage(
-                    getDesiredTpuConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 306
-            case 314:
-              {
-                input.readMessage(
-                    getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 314
-            case 370:
-              {
-                input.readMessage(
-                    getDesiredDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 370
-            case 378:
-              {
-                input.readMessage(
-                    getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 378
-            case 386:
-              {
-                input.readMessage(
-                    getDesiredShieldedNodesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 386
-            case 394:
-              {
-                input.readMessage(
-                    getDesiredCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 394
-            case 400:
-              {
-                desiredDatapathProvider_ = input.readEnum();
-
-                break;
-              } // case 400
-            case 408:
-              {
-                desiredPrivateIpv6GoogleAccess_ = input.readEnum();
-
-                break;
-              } // case 408
-            case 418:
-              {
-                input.readMessage(getDesiredMasterFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 418
-            case 426:
-              {
-                input.readMessage(
-                    getDesiredDnsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 426
-            case 442:
-              {
-                input.readMessage(
-                    getDesiredNotificationConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 442
-            case 482:
-              {
-                input.readMessage(
-                    getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 482
-            case 490:
-              {
-                input.readMessage(
-                    getDesiredWorkloadCertificatesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 490
-            case 498:
-              {
-                input.readMessage(
-                    getDesiredWorkloadAltsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 498
-            case 506:
-              {
-                input.readMessage(
-                    getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 506
-            case 514:
-              {
-                input.readMessage(
-                    getDesiredLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 514
-            case 522:
-              {
-                input.readMessage(
-                    getDesiredMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 522
-            case 530:
-              {
-                input.readMessage(
-                    getDesiredIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 530
-            case 538:
-              {
-                input.readMessage(
-                    getDesiredMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 538
-            case 568:
-              {
-                desiredEnablePrivateEndpoint_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 568
-            case 802:
-              {
-                desiredMasterVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 802
-            case 874:
-              {
-                input.readMessage(
-                    getDesiredGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 874
-            case 882:
-              {
-                input.readMessage(
-                    getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 882
-            case 898:
-              {
-                input.readMessage(
-                    getDesiredProtectConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 898
-            case 914:
-              {
-                input.readMessage(
-                    getDesiredGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 914
-            case 930:
-              {
-                input.readMessage(
-                    getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 930
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 34: {
+              desiredNodeVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              desiredMonitoringService_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getDesiredAddonsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              desiredNodePoolId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              desiredImageType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 82: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureDesiredLocationsIsMutable();
+              desiredLocations_.add(s);
+              break;
+            } // case 82
+            case 98: {
+              input.readMessage(
+                  getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 98
+            case 114: {
+              input.readMessage(
+                  getDesiredPodSecurityPolicyConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getDesiredClusterAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getDesiredBinaryAuthorizationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 130
+            case 154: {
+              desiredLoggingService_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 154
+            case 170: {
+              input.readMessage(
+                  getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 178
+            case 202: {
+              input.readMessage(
+                  getDesiredPrivateClusterConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 210
+            case 226: {
+              input.readMessage(
+                  getDesiredDefaultSnatStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 226
+            case 242: {
+              input.readMessage(
+                  getDesiredClusterTelemetryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 242
+            case 250: {
+              input.readMessage(
+                  getDesiredReleaseChannelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 250
+            case 306: {
+              input.readMessage(
+                  getDesiredTpuConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 306
+            case 314: {
+              input.readMessage(
+                  getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 314
+            case 370: {
+              input.readMessage(
+                  getDesiredDatabaseEncryptionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 370
+            case 378: {
+              input.readMessage(
+                  getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 378
+            case 386: {
+              input.readMessage(
+                  getDesiredShieldedNodesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 386
+            case 394: {
+              input.readMessage(
+                  getDesiredCostManagementConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 394
+            case 400: {
+              desiredDatapathProvider_ = input.readEnum();
+
+              break;
+            } // case 400
+            case 408: {
+              desiredPrivateIpv6GoogleAccess_ = input.readEnum();
+
+              break;
+            } // case 408
+            case 418: {
+              input.readMessage(
+                  getDesiredMasterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 418
+            case 426: {
+              input.readMessage(
+                  getDesiredDnsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 426
+            case 442: {
+              input.readMessage(
+                  getDesiredNotificationConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 442
+            case 482: {
+              input.readMessage(
+                  getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 482
+            case 490: {
+              input.readMessage(
+                  getDesiredWorkloadCertificatesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 490
+            case 498: {
+              input.readMessage(
+                  getDesiredWorkloadAltsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 498
+            case 506: {
+              input.readMessage(
+                  getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 506
+            case 514: {
+              input.readMessage(
+                  getDesiredLoggingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 514
+            case 522: {
+              input.readMessage(
+                  getDesiredMonitoringConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 522
+            case 530: {
+              input.readMessage(
+                  getDesiredIdentityServiceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 530
+            case 538: {
+              input.readMessage(
+                  getDesiredMeshCertificatesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 538
+            case 568: {
+              desiredEnablePrivateEndpoint_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 568
+            case 802: {
+              desiredMasterVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 802
+            case 874: {
+              input.readMessage(
+                  getDesiredGcfsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 874
+            case 882: {
+              input.readMessage(
+                  getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 882
+            case 898: {
+              input.readMessage(
+                  getDesiredProtectConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 898
+            case 914: {
+              input.readMessage(
+                  getDesiredGatewayApiConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 914
+            case 930: {
+              input.readMessage(
+                  getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 930
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4337,13 +3763,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object desiredNodeVersion_ = "";
     /**
-     *
-     *
      * 
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -4357,13 +3780,13 @@ public Builder mergeFrom(
      * 
* * string desired_node_version = 4; - * * @return The desiredNodeVersion. */ public java.lang.String getDesiredNodeVersion() { java.lang.Object ref = desiredNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; @@ -4372,8 +3795,6 @@ public java.lang.String getDesiredNodeVersion() { } } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -4387,14 +3808,15 @@ public java.lang.String getDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; - * * @return The bytes for desiredNodeVersion. */ - public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString + getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -4402,8 +3824,6 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { } } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -4417,22 +3837,20 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() {
      * 
* * string desired_node_version = 4; - * * @param value The desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersion(java.lang.String value) { + public Builder setDesiredNodeVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodeVersion_ = value; onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -4446,18 +3864,15 @@ public Builder setDesiredNodeVersion(java.lang.String value) {
      * 
* * string desired_node_version = 4; - * * @return This builder for chaining. */ public Builder clearDesiredNodeVersion() { - + desiredNodeVersion_ = getDefaultInstance().getDesiredNodeVersion(); onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -4471,16 +3886,16 @@ public Builder clearDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; - * * @param value The bytes for desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredNodeVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodeVersion_ = value; onChanged(); return this; @@ -4488,8 +3903,6 @@ public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value) private java.lang.Object desiredMonitoringService_ = ""; /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -4503,13 +3916,13 @@ public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value)
      * 
* * string desired_monitoring_service = 5; - * * @return The desiredMonitoringService. */ public java.lang.String getDesiredMonitoringService() { java.lang.Object ref = desiredMonitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; @@ -4518,8 +3931,6 @@ public java.lang.String getDesiredMonitoringService() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -4533,14 +3944,15 @@ public java.lang.String getDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; - * * @return The bytes for desiredMonitoringService. */ - public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -4548,8 +3960,6 @@ public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { } } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -4563,22 +3973,20 @@ public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() {
      * 
* * string desired_monitoring_service = 5; - * * @param value The desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringService(java.lang.String value) { + public Builder setDesiredMonitoringService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMonitoringService_ = value; onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -4592,18 +4000,15 @@ public Builder setDesiredMonitoringService(java.lang.String value) {
      * 
* * string desired_monitoring_service = 5; - * * @return This builder for chaining. */ public Builder clearDesiredMonitoringService() { - + desiredMonitoringService_ = getDefaultInstance().getDesiredMonitoringService(); onChanged(); return this; } /** - * - * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -4617,16 +4022,16 @@ public Builder clearDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; - * * @param value The bytes for desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringServiceBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredMonitoringServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMonitoringService_ = value; onChanged(); return this; @@ -4634,47 +4039,34 @@ public Builder setDesiredMonitoringServiceBytes(com.google.protobuf.ByteString v private com.google.container.v1beta1.AddonsConfig desiredAddonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder> - desiredAddonsConfigBuilder_; + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> desiredAddonsConfigBuilder_; /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; - * * @return Whether the desiredAddonsConfig field is set. */ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfigBuilder_ != null || desiredAddonsConfig_ != null; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; - * * @return The desiredAddonsConfig. */ public com.google.container.v1beta1.AddonsConfig getDesiredAddonsConfig() { if (desiredAddonsConfigBuilder_ == null) { - return desiredAddonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : desiredAddonsConfig_; + return desiredAddonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; } else { return desiredAddonsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4695,8 +4087,6 @@ public Builder setDesiredAddonsConfig(com.google.container.v1beta1.AddonsConfig return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4715,8 +4105,6 @@ public Builder setDesiredAddonsConfig( return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4727,9 +4115,7 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1beta1.AddonsConfi if (desiredAddonsConfigBuilder_ == null) { if (desiredAddonsConfig_ != null) { desiredAddonsConfig_ = - com.google.container.v1beta1.AddonsConfig.newBuilder(desiredAddonsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AddonsConfig.newBuilder(desiredAddonsConfig_).mergeFrom(value).buildPartial(); } else { desiredAddonsConfig_ = value; } @@ -4741,8 +4127,6 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1beta1.AddonsConfi return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4761,8 +4145,6 @@ public Builder clearDesiredAddonsConfig() { return this; } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4770,13 +4152,11 @@ public Builder clearDesiredAddonsConfig() { * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; */ public com.google.container.v1beta1.AddonsConfig.Builder getDesiredAddonsConfigBuilder() { - + onChanged(); return getDesiredAddonsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4787,14 +4167,11 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig if (desiredAddonsConfigBuilder_ != null) { return desiredAddonsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAddonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : desiredAddonsConfig_; + return desiredAddonsConfig_ == null ? + com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; } } /** - * - * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4802,17 +4179,14 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder> + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> getDesiredAddonsConfigFieldBuilder() { if (desiredAddonsConfigBuilder_ == null) { - desiredAddonsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder>( - getDesiredAddonsConfig(), getParentForChildren(), isClean()); + desiredAddonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder>( + getDesiredAddonsConfig(), + getParentForChildren(), + isClean()); desiredAddonsConfig_ = null; } return desiredAddonsConfigBuilder_; @@ -4820,8 +4194,6 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig private java.lang.Object desiredNodePoolId_ = ""; /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4830,13 +4202,13 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig
      * 
* * string desired_node_pool_id = 7; - * * @return The desiredNodePoolId. */ public java.lang.String getDesiredNodePoolId() { java.lang.Object ref = desiredNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; @@ -4845,8 +4217,6 @@ public java.lang.String getDesiredNodePoolId() { } } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4855,14 +4225,15 @@ public java.lang.String getDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; - * * @return The bytes for desiredNodePoolId. */ - public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString + getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -4870,8 +4241,6 @@ public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { } } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4880,22 +4249,20 @@ public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() {
      * 
* * string desired_node_pool_id = 7; - * * @param value The desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolId(java.lang.String value) { + public Builder setDesiredNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4904,18 +4271,15 @@ public Builder setDesiredNodePoolId(java.lang.String value) {
      * 
* * string desired_node_pool_id = 7; - * * @return This builder for chaining. */ public Builder clearDesiredNodePoolId() { - + desiredNodePoolId_ = getDefaultInstance().getDesiredNodePoolId(); onChanged(); return this; } /** - * - * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4924,16 +4288,16 @@ public Builder clearDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; - * * @param value The bytes for desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolIdBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodePoolId_ = value; onChanged(); return this; @@ -4941,21 +4305,19 @@ public Builder setDesiredNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object desiredImageType_ = ""; /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @return The desiredImageType. */ public java.lang.String getDesiredImageType() { java.lang.Object ref = desiredImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; @@ -4964,22 +4326,21 @@ public java.lang.String getDesiredImageType() { } } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @return The bytes for desiredImageType. */ - public com.google.protobuf.ByteString getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString + getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -4987,64 +4348,57 @@ public com.google.protobuf.ByteString getDesiredImageTypeBytes() { } } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @param value The desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageType(java.lang.String value) { + public Builder setDesiredImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredImageType_ = value; onChanged(); return this; } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @return This builder for chaining. */ public Builder clearDesiredImageType() { - + desiredImageType_ = getDefaultInstance().getDesiredImageType(); onChanged(); return this; } /** - * - * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; - * * @param value The bytes for desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredImageType_ = value; onChanged(); return this; @@ -5052,13 +4406,8 @@ public Builder setDesiredImageTypeBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodePoolAutoscaling desiredNodePoolAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, - com.google.container.v1beta1.NodePoolAutoscaling.Builder, - com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> - desiredNodePoolAutoscalingBuilder_; + com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> desiredNodePoolAutoscalingBuilder_; /** - * - * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5067,15 +4416,12 @@ public Builder setDesiredImageTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return Whether the desiredNodePoolAutoscaling field is set. */ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscalingBuilder_ != null || desiredNodePoolAutoscaling_ != null; } /** - * - * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5084,21 +4430,16 @@ public boolean hasDesiredNodePoolAutoscaling() {
      * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return The desiredNodePoolAutoscaling. */ public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { if (desiredNodePoolAutoscalingBuilder_ == null) { - return desiredNodePoolAutoscaling_ == null - ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() - : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; } else { return desiredNodePoolAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5108,8 +4449,7 @@ public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutosc
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder setDesiredNodePoolAutoscaling(
-        com.google.container.v1beta1.NodePoolAutoscaling value) {
+    public Builder setDesiredNodePoolAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5123,8 +4463,6 @@ public Builder setDesiredNodePoolAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5146,8 +4484,6 @@ public Builder setDesiredNodePoolAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5157,15 +4493,11 @@ public Builder setDesiredNodePoolAutoscaling(
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder mergeDesiredNodePoolAutoscaling(
-        com.google.container.v1beta1.NodePoolAutoscaling value) {
+    public Builder mergeDesiredNodePoolAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (desiredNodePoolAutoscaling_ != null) {
           desiredNodePoolAutoscaling_ =
-              com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(
-                      desiredNodePoolAutoscaling_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(desiredNodePoolAutoscaling_).mergeFrom(value).buildPartial();
         } else {
           desiredNodePoolAutoscaling_ = value;
         }
@@ -5177,8 +4509,6 @@ public Builder mergeDesiredNodePoolAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5200,8 +4530,6 @@ public Builder clearDesiredNodePoolAutoscaling() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5211,15 +4539,12 @@ public Builder clearDesiredNodePoolAutoscaling() {
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1beta1.NodePoolAutoscaling.Builder
-        getDesiredNodePoolAutoscalingBuilder() {
-
+    public com.google.container.v1beta1.NodePoolAutoscaling.Builder getDesiredNodePoolAutoscalingBuilder() {
+      
       onChanged();
       return getDesiredNodePoolAutoscalingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5229,19 +4554,15 @@ public Builder clearDesiredNodePoolAutoscaling() {
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder
-        getDesiredNodePoolAutoscalingOrBuilder() {
+    public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ != null) {
         return desiredNodePoolAutoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return desiredNodePoolAutoscaling_ == null
-            ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance()
-            : desiredNodePoolAutoscaling_;
+        return desiredNodePoolAutoscaling_ == null ?
+            com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_;
       }
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -5252,34 +4573,27 @@ public Builder clearDesiredNodePoolAutoscaling() {
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolAutoscaling,
-            com.google.container.v1beta1.NodePoolAutoscaling.Builder,
-            com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>
+        com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> 
         getDesiredNodePoolAutoscalingFieldBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
-        desiredNodePoolAutoscalingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodePoolAutoscaling,
-                com.google.container.v1beta1.NodePoolAutoscaling.Builder,
-                com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
-                getDesiredNodePoolAutoscaling(), getParentForChildren(), isClean());
+        desiredNodePoolAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
+                getDesiredNodePoolAutoscaling(),
+                getParentForChildren(),
+                isClean());
         desiredNodePoolAutoscaling_ = null;
       }
       return desiredNodePoolAutoscalingBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList desiredLocations_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList desiredLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureDesiredLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         desiredLocations_ = new com.google.protobuf.LazyStringArrayList(desiredLocations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5290,15 +4604,13 @@ private void ensureDesiredLocationsIsMutable() {
      * 
* * repeated string desired_locations = 10; - * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList + getDesiredLocationsList() { return desiredLocations_.getUnmodifiableView(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5309,15 +4621,12 @@ public com.google.protobuf.ProtocolStringList getDesiredLocationsList() {
      * 
* * repeated string desired_locations = 10; - * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5328,7 +4637,6 @@ public int getDesiredLocationsCount() {
      * 
* * repeated string desired_locations = 10; - * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -5336,8 +4644,6 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5348,16 +4654,14 @@ public java.lang.String getDesiredLocations(int index) {
      * 
* * repeated string desired_locations = 10; - * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString + getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5368,23 +4672,21 @@ public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) {
      * 
* * repeated string desired_locations = 10; - * * @param index The index to set the value at. * @param value The desiredLocations to set. * @return This builder for chaining. */ - public Builder setDesiredLocations(int index, java.lang.String value) { + public Builder setDesiredLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5395,22 +4697,20 @@ public Builder setDesiredLocations(int index, java.lang.String value) {
      * 
* * repeated string desired_locations = 10; - * * @param value The desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocations(java.lang.String value) { + public Builder addDesiredLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5421,19 +4721,18 @@ public Builder addDesiredLocations(java.lang.String value) {
      * 
* * repeated string desired_locations = 10; - * * @param values The desiredLocations to add. * @return This builder for chaining. */ - public Builder addAllDesiredLocations(java.lang.Iterable values) { + public Builder addAllDesiredLocations( + java.lang.Iterable values) { ensureDesiredLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, desiredLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, desiredLocations_); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5444,7 +4743,6 @@ public Builder addAllDesiredLocations(java.lang.Iterable value
      * 
* * repeated string desired_locations = 10; - * * @return This builder for chaining. */ public Builder clearDesiredLocations() { @@ -5454,8 +4752,6 @@ public Builder clearDesiredLocations() { return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5466,81 +4762,58 @@ public Builder clearDesiredLocations() {
      * 
* * repeated string desired_locations = 10; - * * @param value The bytes of the desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addDesiredLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig - desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> - desiredMasterAuthorizedNetworksConfigBuilder_; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> desiredMasterAuthorizedNetworksConfigBuilder_; /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ public boolean hasDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfigBuilder_ != null - || desiredMasterAuthorizedNetworksConfig_ != null; + return desiredMasterAuthorizedNetworksConfigBuilder_ != null || desiredMasterAuthorizedNetworksConfig_ != null; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return The desiredMasterAuthorizedNetworksConfig. */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig - getDesiredMasterAuthorizedNetworksConfig() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - return desiredMasterAuthorizedNetworksConfig_ == null - ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; } else { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public Builder setDesiredMasterAuthorizedNetworksConfig( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder setDesiredMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5554,15 +4827,11 @@ public Builder setDesiredMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ public Builder setDesiredMasterAuthorizedNetworksConfig( com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -5576,25 +4845,17 @@ public Builder setDesiredMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public Builder mergeDesiredMasterAuthorizedNetworksConfig( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder mergeDesiredMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (desiredMasterAuthorizedNetworksConfig_ != null) { desiredMasterAuthorizedNetworksConfig_ = - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder( - desiredMasterAuthorizedNetworksConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder(desiredMasterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); } else { desiredMasterAuthorizedNetworksConfig_ = value; } @@ -5606,15 +4867,11 @@ public Builder mergeDesiredMasterAuthorizedNetworksConfig( return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ public Builder clearDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { @@ -5628,66 +4885,48 @@ public Builder clearDesiredMasterAuthorizedNetworksConfig() { return this; } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder - getDesiredMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder getDesiredMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder - getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ != null) { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMasterAuthorizedNetworksConfig_ == null - ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() - : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null ? + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; } } /** - * - * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> getDesiredMasterAuthorizedNetworksConfigFieldBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - desiredMasterAuthorizedNetworksConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( - getDesiredMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); + desiredMasterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( + getDesiredMasterAuthorizedNetworksConfig(), + getParentForChildren(), + isClean()); desiredMasterAuthorizedNetworksConfig_ = null; } return desiredMasterAuthorizedNetworksConfigBuilder_; @@ -5695,63 +4934,41 @@ public Builder clearDesiredMasterAuthorizedNetworksConfig() { private com.google.container.v1beta1.PodSecurityPolicyConfig desiredPodSecurityPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> - desiredPodSecurityPolicyConfigBuilder_; + com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> desiredPodSecurityPolicyConfigBuilder_; /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; * @return Whether the desiredPodSecurityPolicyConfig field is set. */ public boolean hasDesiredPodSecurityPolicyConfig() { - return desiredPodSecurityPolicyConfigBuilder_ != null - || desiredPodSecurityPolicyConfig_ != null; + return desiredPodSecurityPolicyConfigBuilder_ != null || desiredPodSecurityPolicyConfig_ != null; } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; * @return The desiredPodSecurityPolicyConfig. */ - public com.google.container.v1beta1.PodSecurityPolicyConfig - getDesiredPodSecurityPolicyConfig() { + public com.google.container.v1beta1.PodSecurityPolicyConfig getDesiredPodSecurityPolicyConfig() { if (desiredPodSecurityPolicyConfigBuilder_ == null) { - return desiredPodSecurityPolicyConfig_ == null - ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() - : desiredPodSecurityPolicyConfig_; + return desiredPodSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : desiredPodSecurityPolicyConfig_; } else { return desiredPodSecurityPolicyConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ - public Builder setDesiredPodSecurityPolicyConfig( - com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder setDesiredPodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (desiredPodSecurityPolicyConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5765,15 +4982,11 @@ public Builder setDesiredPodSecurityPolicyConfig( return this; } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ public Builder setDesiredPodSecurityPolicyConfig( com.google.container.v1beta1.PodSecurityPolicyConfig.Builder builderForValue) { @@ -5787,25 +5000,17 @@ public Builder setDesiredPodSecurityPolicyConfig( return this; } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ - public Builder mergeDesiredPodSecurityPolicyConfig( - com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder mergeDesiredPodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (desiredPodSecurityPolicyConfigBuilder_ == null) { if (desiredPodSecurityPolicyConfig_ != null) { desiredPodSecurityPolicyConfig_ = - com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder( - desiredPodSecurityPolicyConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder(desiredPodSecurityPolicyConfig_).mergeFrom(value).buildPartial(); } else { desiredPodSecurityPolicyConfig_ = value; } @@ -5817,15 +5022,11 @@ public Builder mergeDesiredPodSecurityPolicyConfig( return this; } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ public Builder clearDesiredPodSecurityPolicyConfig() { if (desiredPodSecurityPolicyConfigBuilder_ == null) { @@ -5839,66 +5040,48 @@ public Builder clearDesiredPodSecurityPolicyConfig() { return this; } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ - public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder - getDesiredPodSecurityPolicyConfigBuilder() { - + public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder getDesiredPodSecurityPolicyConfigBuilder() { + onChanged(); return getDesiredPodSecurityPolicyConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder - getDesiredPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getDesiredPodSecurityPolicyConfigOrBuilder() { if (desiredPodSecurityPolicyConfigBuilder_ != null) { return desiredPodSecurityPolicyConfigBuilder_.getMessageOrBuilder(); } else { - return desiredPodSecurityPolicyConfig_ == null - ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() - : desiredPodSecurityPolicyConfig_; + return desiredPodSecurityPolicyConfig_ == null ? + com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : desiredPodSecurityPolicyConfig_; } } /** - * - * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> + com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> getDesiredPodSecurityPolicyConfigFieldBuilder() { if (desiredPodSecurityPolicyConfigBuilder_ == null) { - desiredPodSecurityPolicyConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( - getDesiredPodSecurityPolicyConfig(), getParentForChildren(), isClean()); + desiredPodSecurityPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( + getDesiredPodSecurityPolicyConfig(), + getParentForChildren(), + isClean()); desiredPodSecurityPolicyConfig_ = null; } return desiredPodSecurityPolicyConfigBuilder_; @@ -5906,55 +5089,41 @@ public Builder clearDesiredPodSecurityPolicyConfig() { private com.google.container.v1beta1.ClusterAutoscaling desiredClusterAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, - com.google.container.v1beta1.ClusterAutoscaling.Builder, - com.google.container.v1beta1.ClusterAutoscalingOrBuilder> - desiredClusterAutoscalingBuilder_; + com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> desiredClusterAutoscalingBuilder_; /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return Whether the desiredClusterAutoscaling field is set. */ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscalingBuilder_ != null || desiredClusterAutoscaling_ != null; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return The desiredClusterAutoscaling. */ public com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscaling() { if (desiredClusterAutoscalingBuilder_ == null) { - return desiredClusterAutoscaling_ == null - ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() - : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; } else { return desiredClusterAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public Builder setDesiredClusterAutoscaling( - com.google.container.v1beta1.ClusterAutoscaling value) { + public Builder setDesiredClusterAutoscaling(com.google.container.v1beta1.ClusterAutoscaling value) { if (desiredClusterAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5968,8 +5137,6 @@ public Builder setDesiredClusterAutoscaling( return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5988,22 +5155,17 @@ public Builder setDesiredClusterAutoscaling( return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public Builder mergeDesiredClusterAutoscaling( - com.google.container.v1beta1.ClusterAutoscaling value) { + public Builder mergeDesiredClusterAutoscaling(com.google.container.v1beta1.ClusterAutoscaling value) { if (desiredClusterAutoscalingBuilder_ == null) { if (desiredClusterAutoscaling_ != null) { desiredClusterAutoscaling_ = - com.google.container.v1beta1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_).mergeFrom(value).buildPartial(); } else { desiredClusterAutoscaling_ = value; } @@ -6015,8 +5177,6 @@ public Builder mergeDesiredClusterAutoscaling( return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -6035,42 +5195,33 @@ public Builder clearDesiredClusterAutoscaling() { return this; } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1beta1.ClusterAutoscaling.Builder - getDesiredClusterAutoscalingBuilder() { - + public com.google.container.v1beta1.ClusterAutoscaling.Builder getDesiredClusterAutoscalingBuilder() { + onChanged(); return getDesiredClusterAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1beta1.ClusterAutoscalingOrBuilder - getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { if (desiredClusterAutoscalingBuilder_ != null) { return desiredClusterAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredClusterAutoscaling_ == null - ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() - : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null ? + com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; } } /** - * - * *
      * Cluster-level autoscaling configuration.
      * 
@@ -6078,17 +5229,14 @@ public Builder clearDesiredClusterAutoscaling() { * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, - com.google.container.v1beta1.ClusterAutoscaling.Builder, - com.google.container.v1beta1.ClusterAutoscalingOrBuilder> + com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> getDesiredClusterAutoscalingFieldBuilder() { if (desiredClusterAutoscalingBuilder_ == null) { - desiredClusterAutoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, - com.google.container.v1beta1.ClusterAutoscaling.Builder, - com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( - getDesiredClusterAutoscaling(), getParentForChildren(), isClean()); + desiredClusterAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( + getDesiredClusterAutoscaling(), + getParentForChildren(), + isClean()); desiredClusterAutoscaling_ = null; } return desiredClusterAutoscalingBuilder_; @@ -6096,55 +5244,41 @@ public Builder clearDesiredClusterAutoscaling() { private com.google.container.v1beta1.BinaryAuthorization desiredBinaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, - com.google.container.v1beta1.BinaryAuthorization.Builder, - com.google.container.v1beta1.BinaryAuthorizationOrBuilder> - desiredBinaryAuthorizationBuilder_; + com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> desiredBinaryAuthorizationBuilder_; /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; - * * @return Whether the desiredBinaryAuthorization field is set. */ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorizationBuilder_ != null || desiredBinaryAuthorization_ != null; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; - * * @return The desiredBinaryAuthorization. */ public com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthorization() { if (desiredBinaryAuthorizationBuilder_ == null) { - return desiredBinaryAuthorization_ == null - ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() - : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; } else { return desiredBinaryAuthorizationBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder setDesiredBinaryAuthorization( - com.google.container.v1beta1.BinaryAuthorization value) { + public Builder setDesiredBinaryAuthorization(com.google.container.v1beta1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6158,8 +5292,6 @@ public Builder setDesiredBinaryAuthorization( return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -6178,23 +5310,17 @@ public Builder setDesiredBinaryAuthorization( return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder mergeDesiredBinaryAuthorization( - com.google.container.v1beta1.BinaryAuthorization value) { + public Builder mergeDesiredBinaryAuthorization(com.google.container.v1beta1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (desiredBinaryAuthorization_ != null) { desiredBinaryAuthorization_ = - com.google.container.v1beta1.BinaryAuthorization.newBuilder( - desiredBinaryAuthorization_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.BinaryAuthorization.newBuilder(desiredBinaryAuthorization_).mergeFrom(value).buildPartial(); } else { desiredBinaryAuthorization_ = value; } @@ -6206,8 +5332,6 @@ public Builder mergeDesiredBinaryAuthorization( return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -6226,42 +5350,33 @@ public Builder clearDesiredBinaryAuthorization() { return this; } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1beta1.BinaryAuthorization.Builder - getDesiredBinaryAuthorizationBuilder() { - + public com.google.container.v1beta1.BinaryAuthorization.Builder getDesiredBinaryAuthorizationBuilder() { + onChanged(); return getDesiredBinaryAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder - getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { if (desiredBinaryAuthorizationBuilder_ != null) { return desiredBinaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return desiredBinaryAuthorization_ == null - ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() - : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null ? + com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; } } /** - * - * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -6269,17 +5384,14 @@ public Builder clearDesiredBinaryAuthorization() { * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, - com.google.container.v1beta1.BinaryAuthorization.Builder, - com.google.container.v1beta1.BinaryAuthorizationOrBuilder> + com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> getDesiredBinaryAuthorizationFieldBuilder() { if (desiredBinaryAuthorizationBuilder_ == null) { - desiredBinaryAuthorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, - com.google.container.v1beta1.BinaryAuthorization.Builder, - com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( - getDesiredBinaryAuthorization(), getParentForChildren(), isClean()); + desiredBinaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( + getDesiredBinaryAuthorization(), + getParentForChildren(), + isClean()); desiredBinaryAuthorization_ = null; } return desiredBinaryAuthorizationBuilder_; @@ -6287,8 +5399,6 @@ public Builder clearDesiredBinaryAuthorization() { private java.lang.Object desiredLoggingService_ = ""; /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6302,13 +5412,13 @@ public Builder clearDesiredBinaryAuthorization() {
      * 
* * string desired_logging_service = 19; - * * @return The desiredLoggingService. */ public java.lang.String getDesiredLoggingService() { java.lang.Object ref = desiredLoggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; @@ -6317,8 +5427,6 @@ public java.lang.String getDesiredLoggingService() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6332,14 +5440,15 @@ public java.lang.String getDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; - * * @return The bytes for desiredLoggingService. */ - public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString + getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -6347,8 +5456,6 @@ public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { } } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6362,22 +5469,20 @@ public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() {
      * 
* * string desired_logging_service = 19; - * * @param value The desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingService(java.lang.String value) { + public Builder setDesiredLoggingService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredLoggingService_ = value; onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6391,18 +5496,15 @@ public Builder setDesiredLoggingService(java.lang.String value) {
      * 
* * string desired_logging_service = 19; - * * @return This builder for chaining. */ public Builder clearDesiredLoggingService() { - + desiredLoggingService_ = getDefaultInstance().getDesiredLoggingService(); onChanged(); return this; } /** - * - * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6416,81 +5518,58 @@ public Builder clearDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; - * * @param value The bytes for desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingServiceBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredLoggingServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredLoggingService_ = value; onChanged(); return this; } - private com.google.container.v1beta1.ResourceUsageExportConfig - desiredResourceUsageExportConfig_; + private com.google.container.v1beta1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.Builder, - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> - desiredResourceUsageExportConfigBuilder_; + com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> desiredResourceUsageExportConfigBuilder_; /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return Whether the desiredResourceUsageExportConfig field is set. */ public boolean hasDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfigBuilder_ != null - || desiredResourceUsageExportConfig_ != null; + return desiredResourceUsageExportConfigBuilder_ != null || desiredResourceUsageExportConfig_ != null; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return The desiredResourceUsageExportConfig. */ - public com.google.container.v1beta1.ResourceUsageExportConfig - getDesiredResourceUsageExportConfig() { + public com.google.container.v1beta1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { - return desiredResourceUsageExportConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() - : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; } else { return desiredResourceUsageExportConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public Builder setDesiredResourceUsageExportConfig( - com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder setDesiredResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6504,15 +5583,11 @@ public Builder setDesiredResourceUsageExportConfig( return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ public Builder setDesiredResourceUsageExportConfig( com.google.container.v1beta1.ResourceUsageExportConfig.Builder builderForValue) { @@ -6526,25 +5601,17 @@ public Builder setDesiredResourceUsageExportConfig( return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public Builder mergeDesiredResourceUsageExportConfig( - com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder mergeDesiredResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (desiredResourceUsageExportConfig_ != null) { desiredResourceUsageExportConfig_ = - com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder( - desiredResourceUsageExportConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder(desiredResourceUsageExportConfig_).mergeFrom(value).buildPartial(); } else { desiredResourceUsageExportConfig_ = value; } @@ -6556,15 +5623,11 @@ public Builder mergeDesiredResourceUsageExportConfig( return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ public Builder clearDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { @@ -6578,66 +5641,48 @@ public Builder clearDesiredResourceUsageExportConfig() { return this; } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public com.google.container.v1beta1.ResourceUsageExportConfig.Builder - getDesiredResourceUsageExportConfigBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.Builder getDesiredResourceUsageExportConfigBuilder() { + onChanged(); return getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder - getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { if (desiredResourceUsageExportConfigBuilder_ != null) { return desiredResourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return desiredResourceUsageExportConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() - : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null ? + com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; } } /** - * - * *
      * The desired configuration for exporting resource usage.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.Builder, - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> getDesiredResourceUsageExportConfigFieldBuilder() { if (desiredResourceUsageExportConfigBuilder_ == null) { - desiredResourceUsageExportConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.Builder, - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( - getDesiredResourceUsageExportConfig(), getParentForChildren(), isClean()); + desiredResourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( + getDesiredResourceUsageExportConfig(), + getParentForChildren(), + isClean()); desiredResourceUsageExportConfig_ = null; } return desiredResourceUsageExportConfigBuilder_; @@ -6645,59 +5690,41 @@ public Builder clearDesiredResourceUsageExportConfig() { private com.google.container.v1beta1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, - com.google.container.v1beta1.VerticalPodAutoscaling.Builder, - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> - desiredVerticalPodAutoscalingBuilder_; + com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> desiredVerticalPodAutoscalingBuilder_; /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return Whether the desiredVerticalPodAutoscaling field is set. */ public boolean hasDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscalingBuilder_ != null - || desiredVerticalPodAutoscaling_ != null; + return desiredVerticalPodAutoscalingBuilder_ != null || desiredVerticalPodAutoscaling_ != null; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return The desiredVerticalPodAutoscaling. */ public com.google.container.v1beta1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - return desiredVerticalPodAutoscaling_ == null - ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() - : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; } else { return desiredVerticalPodAutoscalingBuilder_.getMessage(); } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public Builder setDesiredVerticalPodAutoscaling( - com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder setDesiredVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6711,14 +5738,11 @@ public Builder setDesiredVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ public Builder setDesiredVerticalPodAutoscaling( com.google.container.v1beta1.VerticalPodAutoscaling.Builder builderForValue) { @@ -6732,24 +5756,17 @@ public Builder setDesiredVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public Builder mergeDesiredVerticalPodAutoscaling( - com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder mergeDesiredVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (desiredVerticalPodAutoscaling_ != null) { desiredVerticalPodAutoscaling_ = - com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder( - desiredVerticalPodAutoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder(desiredVerticalPodAutoscaling_).mergeFrom(value).buildPartial(); } else { desiredVerticalPodAutoscaling_ = value; } @@ -6761,14 +5778,11 @@ public Builder mergeDesiredVerticalPodAutoscaling( return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ public Builder clearDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { @@ -6782,63 +5796,48 @@ public Builder clearDesiredVerticalPodAutoscaling() { return this; } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public com.google.container.v1beta1.VerticalPodAutoscaling.Builder - getDesiredVerticalPodAutoscalingBuilder() { - + public com.google.container.v1beta1.VerticalPodAutoscaling.Builder getDesiredVerticalPodAutoscalingBuilder() { + onChanged(); return getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder - getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { if (desiredVerticalPodAutoscalingBuilder_ != null) { return desiredVerticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredVerticalPodAutoscaling_ == null - ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() - : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null ? + com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; } } /** - * - * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, - com.google.container.v1beta1.VerticalPodAutoscaling.Builder, - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> getDesiredVerticalPodAutoscalingFieldBuilder() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - desiredVerticalPodAutoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, - com.google.container.v1beta1.VerticalPodAutoscaling.Builder, - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( - getDesiredVerticalPodAutoscaling(), getParentForChildren(), isClean()); + desiredVerticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( + getDesiredVerticalPodAutoscaling(), + getParentForChildren(), + isClean()); desiredVerticalPodAutoscaling_ = null; } return desiredVerticalPodAutoscalingBuilder_; @@ -6846,58 +5845,41 @@ public Builder clearDesiredVerticalPodAutoscaling() { private com.google.container.v1beta1.PrivateClusterConfig desiredPrivateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, - com.google.container.v1beta1.PrivateClusterConfig.Builder, - com.google.container.v1beta1.PrivateClusterConfigOrBuilder> - desiredPrivateClusterConfigBuilder_; + com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> desiredPrivateClusterConfigBuilder_; /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; * @return Whether the desiredPrivateClusterConfig field is set. */ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfigBuilder_ != null || desiredPrivateClusterConfig_ != null; } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; * @return The desiredPrivateClusterConfig. */ public com.google.container.v1beta1.PrivateClusterConfig getDesiredPrivateClusterConfig() { if (desiredPrivateClusterConfigBuilder_ == null) { - return desiredPrivateClusterConfig_ == null - ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() - : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; } else { return desiredPrivateClusterConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public Builder setDesiredPrivateClusterConfig( - com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder setDesiredPrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6911,14 +5893,11 @@ public Builder setDesiredPrivateClusterConfig( return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ public Builder setDesiredPrivateClusterConfig( com.google.container.v1beta1.PrivateClusterConfig.Builder builderForValue) { @@ -6932,24 +5911,17 @@ public Builder setDesiredPrivateClusterConfig( return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public Builder mergeDesiredPrivateClusterConfig( - com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder mergeDesiredPrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (desiredPrivateClusterConfig_ != null) { desiredPrivateClusterConfig_ = - com.google.container.v1beta1.PrivateClusterConfig.newBuilder( - desiredPrivateClusterConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.PrivateClusterConfig.newBuilder(desiredPrivateClusterConfig_).mergeFrom(value).buildPartial(); } else { desiredPrivateClusterConfig_ = value; } @@ -6961,14 +5933,11 @@ public Builder mergeDesiredPrivateClusterConfig( return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ public Builder clearDesiredPrivateClusterConfig() { if (desiredPrivateClusterConfigBuilder_ == null) { @@ -6982,128 +5951,90 @@ public Builder clearDesiredPrivateClusterConfig() { return this; } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public com.google.container.v1beta1.PrivateClusterConfig.Builder - getDesiredPrivateClusterConfigBuilder() { - + public com.google.container.v1beta1.PrivateClusterConfig.Builder getDesiredPrivateClusterConfigBuilder() { + onChanged(); return getDesiredPrivateClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder - getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { if (desiredPrivateClusterConfigBuilder_ != null) { return desiredPrivateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return desiredPrivateClusterConfig_ == null - ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() - : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null ? + com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; } } /** - * - * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, - com.google.container.v1beta1.PrivateClusterConfig.Builder, - com.google.container.v1beta1.PrivateClusterConfigOrBuilder> + com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> getDesiredPrivateClusterConfigFieldBuilder() { if (desiredPrivateClusterConfigBuilder_ == null) { - desiredPrivateClusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, - com.google.container.v1beta1.PrivateClusterConfig.Builder, - com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( - getDesiredPrivateClusterConfig(), getParentForChildren(), isClean()); + desiredPrivateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( + getDesiredPrivateClusterConfig(), + getParentForChildren(), + isClean()); desiredPrivateClusterConfig_ = null; } return desiredPrivateClusterConfigBuilder_; } - private com.google.container.v1beta1.IntraNodeVisibilityConfig - desiredIntraNodeVisibilityConfig_; + private com.google.container.v1beta1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IntraNodeVisibilityConfig, - com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, - com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> - desiredIntraNodeVisibilityConfigBuilder_; + com.google.container.v1beta1.IntraNodeVisibilityConfig, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> desiredIntraNodeVisibilityConfigBuilder_; /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ public boolean hasDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfigBuilder_ != null - || desiredIntraNodeVisibilityConfig_ != null; + return desiredIntraNodeVisibilityConfigBuilder_ != null || desiredIntraNodeVisibilityConfig_ != null; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return The desiredIntraNodeVisibilityConfig. */ - public com.google.container.v1beta1.IntraNodeVisibilityConfig - getDesiredIntraNodeVisibilityConfig() { + public com.google.container.v1beta1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - return desiredIntraNodeVisibilityConfig_ == null - ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() - : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; } else { return desiredIntraNodeVisibilityConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public Builder setDesiredIntraNodeVisibilityConfig( - com.google.container.v1beta1.IntraNodeVisibilityConfig value) { + public Builder setDesiredIntraNodeVisibilityConfig(com.google.container.v1beta1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7117,15 +6048,11 @@ public Builder setDesiredIntraNodeVisibilityConfig( return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ public Builder setDesiredIntraNodeVisibilityConfig( com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder builderForValue) { @@ -7139,25 +6066,17 @@ public Builder setDesiredIntraNodeVisibilityConfig( return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public Builder mergeDesiredIntraNodeVisibilityConfig( - com.google.container.v1beta1.IntraNodeVisibilityConfig value) { + public Builder mergeDesiredIntraNodeVisibilityConfig(com.google.container.v1beta1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (desiredIntraNodeVisibilityConfig_ != null) { desiredIntraNodeVisibilityConfig_ = - com.google.container.v1beta1.IntraNodeVisibilityConfig.newBuilder( - desiredIntraNodeVisibilityConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.IntraNodeVisibilityConfig.newBuilder(desiredIntraNodeVisibilityConfig_).mergeFrom(value).buildPartial(); } else { desiredIntraNodeVisibilityConfig_ = value; } @@ -7169,15 +6088,11 @@ public Builder mergeDesiredIntraNodeVisibilityConfig( return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ public Builder clearDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { @@ -7191,66 +6106,48 @@ public Builder clearDesiredIntraNodeVisibilityConfig() { return this; } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder - getDesiredIntraNodeVisibilityConfigBuilder() { - + public com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder getDesiredIntraNodeVisibilityConfigBuilder() { + onChanged(); return getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder - getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ != null) { return desiredIntraNodeVisibilityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIntraNodeVisibilityConfig_ == null - ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() - : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null ? + com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; } } /** - * - * *
      * The desired config of Intra-node visibility.
      * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IntraNodeVisibilityConfig, - com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, - com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> + com.google.container.v1beta1.IntraNodeVisibilityConfig, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> getDesiredIntraNodeVisibilityConfigFieldBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - desiredIntraNodeVisibilityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IntraNodeVisibilityConfig, - com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, - com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder>( - getDesiredIntraNodeVisibilityConfig(), getParentForChildren(), isClean()); + desiredIntraNodeVisibilityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IntraNodeVisibilityConfig, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder>( + getDesiredIntraNodeVisibilityConfig(), + getParentForChildren(), + isClean()); desiredIntraNodeVisibilityConfig_ = null; } return desiredIntraNodeVisibilityConfigBuilder_; @@ -7258,55 +6155,41 @@ public Builder clearDesiredIntraNodeVisibilityConfig() { private com.google.container.v1beta1.DefaultSnatStatus desiredDefaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, - com.google.container.v1beta1.DefaultSnatStatus.Builder, - com.google.container.v1beta1.DefaultSnatStatusOrBuilder> - desiredDefaultSnatStatusBuilder_; + com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> desiredDefaultSnatStatusBuilder_; /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return Whether the desiredDefaultSnatStatus field is set. */ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatusBuilder_ != null || desiredDefaultSnatStatus_ != null; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return The desiredDefaultSnatStatus. */ public com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatus() { if (desiredDefaultSnatStatusBuilder_ == null) { - return desiredDefaultSnatStatus_ == null - ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() - : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; } else { return desiredDefaultSnatStatusBuilder_.getMessage(); } } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public Builder setDesiredDefaultSnatStatus( - com.google.container.v1beta1.DefaultSnatStatus value) { + public Builder setDesiredDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatStatus value) { if (desiredDefaultSnatStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7320,8 +6203,6 @@ public Builder setDesiredDefaultSnatStatus( return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7340,22 +6221,17 @@ public Builder setDesiredDefaultSnatStatus( return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public Builder mergeDesiredDefaultSnatStatus( - com.google.container.v1beta1.DefaultSnatStatus value) { + public Builder mergeDesiredDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatStatus value) { if (desiredDefaultSnatStatusBuilder_ == null) { if (desiredDefaultSnatStatus_ != null) { desiredDefaultSnatStatus_ = - com.google.container.v1beta1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_).mergeFrom(value).buildPartial(); } else { desiredDefaultSnatStatus_ = value; } @@ -7367,8 +6243,6 @@ public Builder mergeDesiredDefaultSnatStatus( return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7387,42 +6261,33 @@ public Builder clearDesiredDefaultSnatStatus() { return this; } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public com.google.container.v1beta1.DefaultSnatStatus.Builder - getDesiredDefaultSnatStatusBuilder() { - + public com.google.container.v1beta1.DefaultSnatStatus.Builder getDesiredDefaultSnatStatusBuilder() { + onChanged(); return getDesiredDefaultSnatStatusFieldBuilder().getBuilder(); } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public com.google.container.v1beta1.DefaultSnatStatusOrBuilder - getDesiredDefaultSnatStatusOrBuilder() { + public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder() { if (desiredDefaultSnatStatusBuilder_ != null) { return desiredDefaultSnatStatusBuilder_.getMessageOrBuilder(); } else { - return desiredDefaultSnatStatus_ == null - ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() - : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null ? + com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; } } /** - * - * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -7430,17 +6295,14 @@ public Builder clearDesiredDefaultSnatStatus() { * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, - com.google.container.v1beta1.DefaultSnatStatus.Builder, - com.google.container.v1beta1.DefaultSnatStatusOrBuilder> + com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> getDesiredDefaultSnatStatusFieldBuilder() { if (desiredDefaultSnatStatusBuilder_ == null) { - desiredDefaultSnatStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, - com.google.container.v1beta1.DefaultSnatStatus.Builder, - com.google.container.v1beta1.DefaultSnatStatusOrBuilder>( - getDesiredDefaultSnatStatus(), getParentForChildren(), isClean()); + desiredDefaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder>( + getDesiredDefaultSnatStatus(), + getParentForChildren(), + isClean()); desiredDefaultSnatStatus_ = null; } return desiredDefaultSnatStatusBuilder_; @@ -7448,47 +6310,34 @@ public Builder clearDesiredDefaultSnatStatus() { private com.google.container.v1beta1.ClusterTelemetry desiredClusterTelemetry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, - com.google.container.v1beta1.ClusterTelemetry.Builder, - com.google.container.v1beta1.ClusterTelemetryOrBuilder> - desiredClusterTelemetryBuilder_; + com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> desiredClusterTelemetryBuilder_; /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; - * * @return Whether the desiredClusterTelemetry field is set. */ public boolean hasDesiredClusterTelemetry() { return desiredClusterTelemetryBuilder_ != null || desiredClusterTelemetry_ != null; } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; - * * @return The desiredClusterTelemetry. */ public com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry() { if (desiredClusterTelemetryBuilder_ == null) { - return desiredClusterTelemetry_ == null - ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() - : desiredClusterTelemetry_; + return desiredClusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : desiredClusterTelemetry_; } else { return desiredClusterTelemetryBuilder_.getMessage(); } } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
@@ -7509,8 +6358,6 @@ public Builder setDesiredClusterTelemetry(com.google.container.v1beta1.ClusterTe return this; } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
@@ -7529,22 +6376,17 @@ public Builder setDesiredClusterTelemetry( return this; } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ - public Builder mergeDesiredClusterTelemetry( - com.google.container.v1beta1.ClusterTelemetry value) { + public Builder mergeDesiredClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry value) { if (desiredClusterTelemetryBuilder_ == null) { if (desiredClusterTelemetry_ != null) { desiredClusterTelemetry_ = - com.google.container.v1beta1.ClusterTelemetry.newBuilder(desiredClusterTelemetry_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ClusterTelemetry.newBuilder(desiredClusterTelemetry_).mergeFrom(value).buildPartial(); } else { desiredClusterTelemetry_ = value; } @@ -7556,8 +6398,6 @@ public Builder mergeDesiredClusterTelemetry( return this; } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
@@ -7576,42 +6416,33 @@ public Builder clearDesiredClusterTelemetry() { return this; } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ - public com.google.container.v1beta1.ClusterTelemetry.Builder - getDesiredClusterTelemetryBuilder() { - + public com.google.container.v1beta1.ClusterTelemetry.Builder getDesiredClusterTelemetryBuilder() { + onChanged(); return getDesiredClusterTelemetryFieldBuilder().getBuilder(); } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ - public com.google.container.v1beta1.ClusterTelemetryOrBuilder - getDesiredClusterTelemetryOrBuilder() { + public com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterTelemetryOrBuilder() { if (desiredClusterTelemetryBuilder_ != null) { return desiredClusterTelemetryBuilder_.getMessageOrBuilder(); } else { - return desiredClusterTelemetry_ == null - ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() - : desiredClusterTelemetry_; + return desiredClusterTelemetry_ == null ? + com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : desiredClusterTelemetry_; } } /** - * - * *
      * The desired telemetry integration for the cluster.
      * 
@@ -7619,17 +6450,14 @@ public Builder clearDesiredClusterTelemetry() { * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, - com.google.container.v1beta1.ClusterTelemetry.Builder, - com.google.container.v1beta1.ClusterTelemetryOrBuilder> + com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> getDesiredClusterTelemetryFieldBuilder() { if (desiredClusterTelemetryBuilder_ == null) { - desiredClusterTelemetryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, - com.google.container.v1beta1.ClusterTelemetry.Builder, - com.google.container.v1beta1.ClusterTelemetryOrBuilder>( - getDesiredClusterTelemetry(), getParentForChildren(), isClean()); + desiredClusterTelemetryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder>( + getDesiredClusterTelemetry(), + getParentForChildren(), + isClean()); desiredClusterTelemetry_ = null; } return desiredClusterTelemetryBuilder_; @@ -7637,47 +6465,34 @@ public Builder clearDesiredClusterTelemetry() { private com.google.container.v1beta1.ReleaseChannel desiredReleaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, - com.google.container.v1beta1.ReleaseChannel.Builder, - com.google.container.v1beta1.ReleaseChannelOrBuilder> - desiredReleaseChannelBuilder_; + com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> desiredReleaseChannelBuilder_; /** - * - * *
      * The desired release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; - * * @return Whether the desiredReleaseChannel field is set. */ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannelBuilder_ != null || desiredReleaseChannel_ != null; } /** - * - * *
      * The desired release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; - * * @return The desiredReleaseChannel. */ public com.google.container.v1beta1.ReleaseChannel getDesiredReleaseChannel() { if (desiredReleaseChannelBuilder_ == null) { - return desiredReleaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : desiredReleaseChannel_; + return desiredReleaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; } else { return desiredReleaseChannelBuilder_.getMessage(); } } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7698,8 +6513,6 @@ public Builder setDesiredReleaseChannel(com.google.container.v1beta1.ReleaseChan return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7718,8 +6531,6 @@ public Builder setDesiredReleaseChannel( return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7730,9 +6541,7 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1beta1.ReleaseCh if (desiredReleaseChannelBuilder_ == null) { if (desiredReleaseChannel_ != null) { desiredReleaseChannel_ = - com.google.container.v1beta1.ReleaseChannel.newBuilder(desiredReleaseChannel_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ReleaseChannel.newBuilder(desiredReleaseChannel_).mergeFrom(value).buildPartial(); } else { desiredReleaseChannel_ = value; } @@ -7744,8 +6553,6 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1beta1.ReleaseCh return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7764,8 +6571,6 @@ public Builder clearDesiredReleaseChannel() { return this; } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7773,32 +6578,26 @@ public Builder clearDesiredReleaseChannel() { * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; */ public com.google.container.v1beta1.ReleaseChannel.Builder getDesiredReleaseChannelBuilder() { - + onChanged(); return getDesiredReleaseChannelFieldBuilder().getBuilder(); } /** - * - * *
      * The desired release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; */ - public com.google.container.v1beta1.ReleaseChannelOrBuilder - getDesiredReleaseChannelOrBuilder() { + public com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder() { if (desiredReleaseChannelBuilder_ != null) { return desiredReleaseChannelBuilder_.getMessageOrBuilder(); } else { - return desiredReleaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : desiredReleaseChannel_; + return desiredReleaseChannel_ == null ? + com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; } } /** - * - * *
      * The desired release channel configuration.
      * 
@@ -7806,17 +6605,14 @@ public com.google.container.v1beta1.ReleaseChannel.Builder getDesiredReleaseChan * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, - com.google.container.v1beta1.ReleaseChannel.Builder, - com.google.container.v1beta1.ReleaseChannelOrBuilder> + com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> getDesiredReleaseChannelFieldBuilder() { if (desiredReleaseChannelBuilder_ == null) { - desiredReleaseChannelBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, - com.google.container.v1beta1.ReleaseChannel.Builder, - com.google.container.v1beta1.ReleaseChannelOrBuilder>( - getDesiredReleaseChannel(), getParentForChildren(), isClean()); + desiredReleaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder>( + getDesiredReleaseChannel(), + getParentForChildren(), + isClean()); desiredReleaseChannel_ = null; } return desiredReleaseChannelBuilder_; @@ -7824,47 +6620,34 @@ public com.google.container.v1beta1.ReleaseChannel.Builder getDesiredReleaseChan private com.google.container.v1beta1.TpuConfig desiredTpuConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, - com.google.container.v1beta1.TpuConfig.Builder, - com.google.container.v1beta1.TpuConfigOrBuilder> - desiredTpuConfigBuilder_; + com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> desiredTpuConfigBuilder_; /** - * - * *
      * The desired Cloud TPU configuration.
      * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; - * * @return Whether the desiredTpuConfig field is set. */ public boolean hasDesiredTpuConfig() { return desiredTpuConfigBuilder_ != null || desiredTpuConfig_ != null; } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; - * * @return The desiredTpuConfig. */ public com.google.container.v1beta1.TpuConfig getDesiredTpuConfig() { if (desiredTpuConfigBuilder_ == null) { - return desiredTpuConfig_ == null - ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() - : desiredTpuConfig_; + return desiredTpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : desiredTpuConfig_; } else { return desiredTpuConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
@@ -7885,8 +6668,6 @@ public Builder setDesiredTpuConfig(com.google.container.v1beta1.TpuConfig value) return this; } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
@@ -7905,8 +6686,6 @@ public Builder setDesiredTpuConfig( return this; } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
@@ -7917,9 +6696,7 @@ public Builder mergeDesiredTpuConfig(com.google.container.v1beta1.TpuConfig valu if (desiredTpuConfigBuilder_ == null) { if (desiredTpuConfig_ != null) { desiredTpuConfig_ = - com.google.container.v1beta1.TpuConfig.newBuilder(desiredTpuConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.TpuConfig.newBuilder(desiredTpuConfig_).mergeFrom(value).buildPartial(); } else { desiredTpuConfig_ = value; } @@ -7931,8 +6708,6 @@ public Builder mergeDesiredTpuConfig(com.google.container.v1beta1.TpuConfig valu return this; } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
@@ -7951,8 +6726,6 @@ public Builder clearDesiredTpuConfig() { return this; } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
@@ -7960,13 +6733,11 @@ public Builder clearDesiredTpuConfig() { * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; */ public com.google.container.v1beta1.TpuConfig.Builder getDesiredTpuConfigBuilder() { - + onChanged(); return getDesiredTpuConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
@@ -7977,14 +6748,11 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil if (desiredTpuConfigBuilder_ != null) { return desiredTpuConfigBuilder_.getMessageOrBuilder(); } else { - return desiredTpuConfig_ == null - ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() - : desiredTpuConfig_; + return desiredTpuConfig_ == null ? + com.google.container.v1beta1.TpuConfig.getDefaultInstance() : desiredTpuConfig_; } } /** - * - * *
      * The desired Cloud TPU configuration.
      * 
@@ -7992,17 +6760,14 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, - com.google.container.v1beta1.TpuConfig.Builder, - com.google.container.v1beta1.TpuConfigOrBuilder> + com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> getDesiredTpuConfigFieldBuilder() { if (desiredTpuConfigBuilder_ == null) { - desiredTpuConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, - com.google.container.v1beta1.TpuConfig.Builder, - com.google.container.v1beta1.TpuConfigOrBuilder>( - getDesiredTpuConfig(), getParentForChildren(), isClean()); + desiredTpuConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder>( + getDesiredTpuConfig(), + getParentForChildren(), + isClean()); desiredTpuConfig_ = null; } return desiredTpuConfigBuilder_; @@ -8010,58 +6775,41 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil private com.google.container.v1beta1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ILBSubsettingConfig, - com.google.container.v1beta1.ILBSubsettingConfig.Builder, - com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> - desiredL4IlbSubsettingConfigBuilder_; + com.google.container.v1beta1.ILBSubsettingConfig, com.google.container.v1beta1.ILBSubsettingConfig.Builder, com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> desiredL4IlbSubsettingConfigBuilder_; /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; * @return Whether the desiredL4ilbSubsettingConfig field is set. */ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfigBuilder_ != null || desiredL4IlbSubsettingConfig_ != null; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; * @return The desiredL4ilbSubsettingConfig. */ public com.google.container.v1beta1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - return desiredL4IlbSubsettingConfig_ == null - ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() - : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; } else { return desiredL4IlbSubsettingConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public Builder setDesiredL4IlbSubsettingConfig( - com.google.container.v1beta1.ILBSubsettingConfig value) { + public Builder setDesiredL4IlbSubsettingConfig(com.google.container.v1beta1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8075,14 +6823,11 @@ public Builder setDesiredL4IlbSubsettingConfig( return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ public Builder setDesiredL4IlbSubsettingConfig( com.google.container.v1beta1.ILBSubsettingConfig.Builder builderForValue) { @@ -8096,24 +6841,17 @@ public Builder setDesiredL4IlbSubsettingConfig( return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public Builder mergeDesiredL4IlbSubsettingConfig( - com.google.container.v1beta1.ILBSubsettingConfig value) { + public Builder mergeDesiredL4IlbSubsettingConfig(com.google.container.v1beta1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (desiredL4IlbSubsettingConfig_ != null) { desiredL4IlbSubsettingConfig_ = - com.google.container.v1beta1.ILBSubsettingConfig.newBuilder( - desiredL4IlbSubsettingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ILBSubsettingConfig.newBuilder(desiredL4IlbSubsettingConfig_).mergeFrom(value).buildPartial(); } else { desiredL4IlbSubsettingConfig_ = value; } @@ -8125,14 +6863,11 @@ public Builder mergeDesiredL4IlbSubsettingConfig( return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ public Builder clearDesiredL4IlbSubsettingConfig() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { @@ -8146,63 +6881,48 @@ public Builder clearDesiredL4IlbSubsettingConfig() { return this; } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public com.google.container.v1beta1.ILBSubsettingConfig.Builder - getDesiredL4IlbSubsettingConfigBuilder() { - + public com.google.container.v1beta1.ILBSubsettingConfig.Builder getDesiredL4IlbSubsettingConfigBuilder() { + onChanged(); return getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder - getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ != null) { return desiredL4IlbSubsettingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredL4IlbSubsettingConfig_ == null - ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() - : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null ? + com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; } } /** - * - * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ILBSubsettingConfig, - com.google.container.v1beta1.ILBSubsettingConfig.Builder, - com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> + com.google.container.v1beta1.ILBSubsettingConfig, com.google.container.v1beta1.ILBSubsettingConfig.Builder, com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> getDesiredL4IlbSubsettingConfigFieldBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - desiredL4IlbSubsettingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ILBSubsettingConfig, - com.google.container.v1beta1.ILBSubsettingConfig.Builder, - com.google.container.v1beta1.ILBSubsettingConfigOrBuilder>( - getDesiredL4IlbSubsettingConfig(), getParentForChildren(), isClean()); + desiredL4IlbSubsettingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ILBSubsettingConfig, com.google.container.v1beta1.ILBSubsettingConfig.Builder, com.google.container.v1beta1.ILBSubsettingConfigOrBuilder>( + getDesiredL4IlbSubsettingConfig(), + getParentForChildren(), + isClean()); desiredL4IlbSubsettingConfig_ = null; } return desiredL4IlbSubsettingConfigBuilder_; @@ -8210,65 +6930,51 @@ public Builder clearDesiredL4IlbSubsettingConfig() { private int desiredDatapathProvider_ = 0; /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override - public int getDesiredDatapathProviderValue() { + @java.lang.Override public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @param value The enum numeric value on the wire for desiredDatapathProvider to set. * @return This builder for chaining. */ public Builder setDesiredDatapathProviderValue(int value) { - + desiredDatapathProvider_ = value; onChanged(); return this; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @return The desiredDatapathProvider. */ @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = - com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @param value The desiredDatapathProvider to set. * @return This builder for chaining. */ @@ -8276,24 +6982,21 @@ public Builder setDesiredDatapathProvider(com.google.container.v1beta1.DatapathP if (value == null) { throw new NullPointerException(); } - + desiredDatapathProvider_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @return This builder for chaining. */ public Builder clearDesiredDatapathProvider() { - + desiredDatapathProvider_ = 0; onChanged(); return this; @@ -8301,105 +7004,73 @@ public Builder clearDesiredDatapathProvider() { private int desiredPrivateIpv6GoogleAccess_ = 0; /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override - public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @param value The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setDesiredPrivateIpv6GoogleAccessValue(int value) { - + desiredPrivateIpv6GoogleAccess_ = value; onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The desiredPrivateIpv6GoogleAccess. */ @java.lang.Override - public com.google.container.v1beta1.PrivateIPv6GoogleAccess - getDesiredPrivateIpv6GoogleAccess() { + public com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = - com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf( - desiredPrivateIpv6GoogleAccess_); - return result == null - ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED - : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); + return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @param value The desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setDesiredPrivateIpv6GoogleAccess( - com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { + public Builder setDesiredPrivateIpv6GoogleAccess(com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + desiredPrivateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return This builder for chaining. */ public Builder clearDesiredPrivateIpv6GoogleAccess() { - + desiredPrivateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -8407,55 +7078,41 @@ public Builder clearDesiredPrivateIpv6GoogleAccess() { private com.google.container.v1beta1.NotificationConfig desiredNotificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, - com.google.container.v1beta1.NotificationConfig.Builder, - com.google.container.v1beta1.NotificationConfigOrBuilder> - desiredNotificationConfigBuilder_; + com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> desiredNotificationConfigBuilder_; /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; - * * @return Whether the desiredNotificationConfig field is set. */ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfigBuilder_ != null || desiredNotificationConfig_ != null; } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; - * * @return The desiredNotificationConfig. */ public com.google.container.v1beta1.NotificationConfig getDesiredNotificationConfig() { if (desiredNotificationConfigBuilder_ == null) { - return desiredNotificationConfig_ == null - ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() - : desiredNotificationConfig_; + return desiredNotificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; } else { return desiredNotificationConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public Builder setDesiredNotificationConfig( - com.google.container.v1beta1.NotificationConfig value) { + public Builder setDesiredNotificationConfig(com.google.container.v1beta1.NotificationConfig value) { if (desiredNotificationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8469,8 +7126,6 @@ public Builder setDesiredNotificationConfig( return this; } /** - * - * *
      * The desired notification configuration.
      * 
@@ -8489,22 +7144,17 @@ public Builder setDesiredNotificationConfig( return this; } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public Builder mergeDesiredNotificationConfig( - com.google.container.v1beta1.NotificationConfig value) { + public Builder mergeDesiredNotificationConfig(com.google.container.v1beta1.NotificationConfig value) { if (desiredNotificationConfigBuilder_ == null) { if (desiredNotificationConfig_ != null) { desiredNotificationConfig_ = - com.google.container.v1beta1.NotificationConfig.newBuilder(desiredNotificationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NotificationConfig.newBuilder(desiredNotificationConfig_).mergeFrom(value).buildPartial(); } else { desiredNotificationConfig_ = value; } @@ -8516,8 +7166,6 @@ public Builder mergeDesiredNotificationConfig( return this; } /** - * - * *
      * The desired notification configuration.
      * 
@@ -8536,42 +7184,33 @@ public Builder clearDesiredNotificationConfig() { return this; } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1beta1.NotificationConfig.Builder - getDesiredNotificationConfigBuilder() { - + public com.google.container.v1beta1.NotificationConfig.Builder getDesiredNotificationConfigBuilder() { + onChanged(); return getDesiredNotificationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1beta1.NotificationConfigOrBuilder - getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { if (desiredNotificationConfigBuilder_ != null) { return desiredNotificationConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNotificationConfig_ == null - ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() - : desiredNotificationConfig_; + return desiredNotificationConfig_ == null ? + com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; } } /** - * - * *
      * The desired notification configuration.
      * 
@@ -8579,17 +7218,14 @@ public Builder clearDesiredNotificationConfig() { * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, - com.google.container.v1beta1.NotificationConfig.Builder, - com.google.container.v1beta1.NotificationConfigOrBuilder> + com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> getDesiredNotificationConfigFieldBuilder() { if (desiredNotificationConfigBuilder_ == null) { - desiredNotificationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, - com.google.container.v1beta1.NotificationConfig.Builder, - com.google.container.v1beta1.NotificationConfigOrBuilder>( - getDesiredNotificationConfig(), getParentForChildren(), isClean()); + desiredNotificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder>( + getDesiredNotificationConfig(), + getParentForChildren(), + isClean()); desiredNotificationConfig_ = null; } return desiredNotificationConfigBuilder_; @@ -8597,8 +7233,6 @@ public Builder clearDesiredNotificationConfig() { private java.lang.Object desiredMasterVersion_ = ""; /** - * - * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -8612,13 +7246,13 @@ public Builder clearDesiredNotificationConfig() {
      * 
* * string desired_master_version = 100; - * * @return The desiredMasterVersion. */ public java.lang.String getDesiredMasterVersion() { java.lang.Object ref = desiredMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; @@ -8627,8 +7261,6 @@ public java.lang.String getDesiredMasterVersion() { } } /** - * - * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -8642,14 +7274,15 @@ public java.lang.String getDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; - * * @return The bytes for desiredMasterVersion. */ - public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString + getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -8657,8 +7290,6 @@ public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { } } /** - * - * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -8672,22 +7303,20 @@ public com.google.protobuf.ByteString getDesiredMasterVersionBytes() {
      * 
* * string desired_master_version = 100; - * * @param value The desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersion(java.lang.String value) { + public Builder setDesiredMasterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMasterVersion_ = value; onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -8701,18 +7330,15 @@ public Builder setDesiredMasterVersion(java.lang.String value) {
      * 
* * string desired_master_version = 100; - * * @return This builder for chaining. */ public Builder clearDesiredMasterVersion() { - + desiredMasterVersion_ = getDefaultInstance().getDesiredMasterVersion(); onChanged(); return this; } /** - * - * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -8726,16 +7352,16 @@ public Builder clearDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; - * * @param value The bytes for desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDesiredMasterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMasterVersion_ = value; onChanged(); return this; @@ -8743,47 +7369,34 @@ public Builder setDesiredMasterVersionBytes(com.google.protobuf.ByteString value private com.google.container.v1beta1.GcfsConfig desiredGcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder> - desiredGcfsConfigBuilder_; + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> desiredGcfsConfigBuilder_; /** - * - * *
      * The desired GCFS config for the cluster.
      * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; - * * @return Whether the desiredGcfsConfig field is set. */ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfigBuilder_ != null || desiredGcfsConfig_ != null; } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; - * * @return The desiredGcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getDesiredGcfsConfig() { if (desiredGcfsConfigBuilder_ == null) { - return desiredGcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : desiredGcfsConfig_; + return desiredGcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; } else { return desiredGcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
@@ -8804,8 +7417,6 @@ public Builder setDesiredGcfsConfig(com.google.container.v1beta1.GcfsConfig valu return this; } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
@@ -8824,8 +7435,6 @@ public Builder setDesiredGcfsConfig( return this; } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
@@ -8836,9 +7445,7 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1beta1.GcfsConfig va if (desiredGcfsConfigBuilder_ == null) { if (desiredGcfsConfig_ != null) { desiredGcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(desiredGcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(desiredGcfsConfig_).mergeFrom(value).buildPartial(); } else { desiredGcfsConfig_ = value; } @@ -8850,8 +7457,6 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1beta1.GcfsConfig va return this; } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
@@ -8870,8 +7475,6 @@ public Builder clearDesiredGcfsConfig() { return this; } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
@@ -8879,13 +7482,11 @@ public Builder clearDesiredGcfsConfig() { * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; */ public com.google.container.v1beta1.GcfsConfig.Builder getDesiredGcfsConfigBuilder() { - + onChanged(); return getDesiredGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
@@ -8896,14 +7497,11 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu if (desiredGcfsConfigBuilder_ != null) { return desiredGcfsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : desiredGcfsConfig_; + return desiredGcfsConfig_ == null ? + com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; } } /** - * - * *
      * The desired GCFS config for the cluster.
      * 
@@ -8911,17 +7509,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> getDesiredGcfsConfigFieldBuilder() { if (desiredGcfsConfigBuilder_ == null) { - desiredGcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder>( - getDesiredGcfsConfig(), getParentForChildren(), isClean()); + desiredGcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( + getDesiredGcfsConfig(), + getParentForChildren(), + isClean()); desiredGcfsConfig_ = null; } return desiredGcfsConfigBuilder_; @@ -8929,55 +7524,41 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu private com.google.container.v1beta1.DatabaseEncryption desiredDatabaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, - com.google.container.v1beta1.DatabaseEncryption.Builder, - com.google.container.v1beta1.DatabaseEncryptionOrBuilder> - desiredDatabaseEncryptionBuilder_; + com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> desiredDatabaseEncryptionBuilder_; /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; - * * @return Whether the desiredDatabaseEncryption field is set. */ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryptionBuilder_ != null || desiredDatabaseEncryption_ != null; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; - * * @return The desiredDatabaseEncryption. */ public com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncryption() { if (desiredDatabaseEncryptionBuilder_ == null) { - return desiredDatabaseEncryption_ == null - ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() - : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; } else { return desiredDatabaseEncryptionBuilder_.getMessage(); } } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public Builder setDesiredDatabaseEncryption( - com.google.container.v1beta1.DatabaseEncryption value) { + public Builder setDesiredDatabaseEncryption(com.google.container.v1beta1.DatabaseEncryption value) { if (desiredDatabaseEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8991,8 +7572,6 @@ public Builder setDesiredDatabaseEncryption( return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -9011,22 +7590,17 @@ public Builder setDesiredDatabaseEncryption( return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public Builder mergeDesiredDatabaseEncryption( - com.google.container.v1beta1.DatabaseEncryption value) { + public Builder mergeDesiredDatabaseEncryption(com.google.container.v1beta1.DatabaseEncryption value) { if (desiredDatabaseEncryptionBuilder_ == null) { if (desiredDatabaseEncryption_ != null) { desiredDatabaseEncryption_ = - com.google.container.v1beta1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_).mergeFrom(value).buildPartial(); } else { desiredDatabaseEncryption_ = value; } @@ -9038,8 +7612,6 @@ public Builder mergeDesiredDatabaseEncryption( return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -9058,42 +7630,33 @@ public Builder clearDesiredDatabaseEncryption() { return this; } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1beta1.DatabaseEncryption.Builder - getDesiredDatabaseEncryptionBuilder() { - + public com.google.container.v1beta1.DatabaseEncryption.Builder getDesiredDatabaseEncryptionBuilder() { + onChanged(); return getDesiredDatabaseEncryptionFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1beta1.DatabaseEncryptionOrBuilder - getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { if (desiredDatabaseEncryptionBuilder_ != null) { return desiredDatabaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return desiredDatabaseEncryption_ == null - ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() - : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null ? + com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; } } /** - * - * *
      * Configuration of etcd encryption.
      * 
@@ -9101,17 +7664,14 @@ public Builder clearDesiredDatabaseEncryption() { * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, - com.google.container.v1beta1.DatabaseEncryption.Builder, - com.google.container.v1beta1.DatabaseEncryptionOrBuilder> + com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> getDesiredDatabaseEncryptionFieldBuilder() { if (desiredDatabaseEncryptionBuilder_ == null) { - desiredDatabaseEncryptionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, - com.google.container.v1beta1.DatabaseEncryption.Builder, - com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( - getDesiredDatabaseEncryption(), getParentForChildren(), isClean()); + desiredDatabaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( + getDesiredDatabaseEncryption(), + getParentForChildren(), + isClean()); desiredDatabaseEncryption_ = null; } return desiredDatabaseEncryptionBuilder_; @@ -9119,59 +7679,41 @@ public Builder clearDesiredDatabaseEncryption() { private com.google.container.v1beta1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, - com.google.container.v1beta1.WorkloadIdentityConfig.Builder, - com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> - desiredWorkloadIdentityConfigBuilder_; + com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> desiredWorkloadIdentityConfigBuilder_; /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return Whether the desiredWorkloadIdentityConfig field is set. */ public boolean hasDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfigBuilder_ != null - || desiredWorkloadIdentityConfig_ != null; + return desiredWorkloadIdentityConfigBuilder_ != null || desiredWorkloadIdentityConfig_ != null; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return The desiredWorkloadIdentityConfig. */ public com.google.container.v1beta1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - return desiredWorkloadIdentityConfig_ == null - ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() - : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; } else { return desiredWorkloadIdentityConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public Builder setDesiredWorkloadIdentityConfig( - com.google.container.v1beta1.WorkloadIdentityConfig value) { + public Builder setDesiredWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9185,14 +7727,11 @@ public Builder setDesiredWorkloadIdentityConfig( return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ public Builder setDesiredWorkloadIdentityConfig( com.google.container.v1beta1.WorkloadIdentityConfig.Builder builderForValue) { @@ -9206,24 +7745,17 @@ public Builder setDesiredWorkloadIdentityConfig( return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public Builder mergeDesiredWorkloadIdentityConfig( - com.google.container.v1beta1.WorkloadIdentityConfig value) { + public Builder mergeDesiredWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (desiredWorkloadIdentityConfig_ != null) { desiredWorkloadIdentityConfig_ = - com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder( - desiredWorkloadIdentityConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder(desiredWorkloadIdentityConfig_).mergeFrom(value).buildPartial(); } else { desiredWorkloadIdentityConfig_ = value; } @@ -9235,14 +7767,11 @@ public Builder mergeDesiredWorkloadIdentityConfig( return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ public Builder clearDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { @@ -9256,63 +7785,48 @@ public Builder clearDesiredWorkloadIdentityConfig() { return this; } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public com.google.container.v1beta1.WorkloadIdentityConfig.Builder - getDesiredWorkloadIdentityConfigBuilder() { - + public com.google.container.v1beta1.WorkloadIdentityConfig.Builder getDesiredWorkloadIdentityConfigBuilder() { + onChanged(); return getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder - getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { if (desiredWorkloadIdentityConfigBuilder_ != null) { return desiredWorkloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadIdentityConfig_ == null - ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() - : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null ? + com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; } } /** - * - * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, - com.google.container.v1beta1.WorkloadIdentityConfig.Builder, - com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> + com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> getDesiredWorkloadIdentityConfigFieldBuilder() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - desiredWorkloadIdentityConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, - com.google.container.v1beta1.WorkloadIdentityConfig.Builder, - com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>( - getDesiredWorkloadIdentityConfig(), getParentForChildren(), isClean()); + desiredWorkloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>( + getDesiredWorkloadIdentityConfig(), + getParentForChildren(), + isClean()); desiredWorkloadIdentityConfig_ = null; } return desiredWorkloadIdentityConfigBuilder_; @@ -9320,61 +7834,44 @@ public Builder clearDesiredWorkloadIdentityConfig() { private com.google.container.v1beta1.WorkloadCertificates desiredWorkloadCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadCertificates, - com.google.container.v1beta1.WorkloadCertificates.Builder, - com.google.container.v1beta1.WorkloadCertificatesOrBuilder> - desiredWorkloadCertificatesBuilder_; + com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> desiredWorkloadCertificatesBuilder_; /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; * @return Whether the desiredWorkloadCertificates field is set. */ public boolean hasDesiredWorkloadCertificates() { return desiredWorkloadCertificatesBuilder_ != null || desiredWorkloadCertificates_ != null; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; * @return The desiredWorkloadCertificates. */ public com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCertificates() { if (desiredWorkloadCertificatesBuilder_ == null) { - return desiredWorkloadCertificates_ == null - ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() - : desiredWorkloadCertificates_; + return desiredWorkloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : desiredWorkloadCertificates_; } else { return desiredWorkloadCertificatesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; */ - public Builder setDesiredWorkloadCertificates( - com.google.container.v1beta1.WorkloadCertificates value) { + public Builder setDesiredWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) { if (desiredWorkloadCertificatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9388,15 +7885,12 @@ public Builder setDesiredWorkloadCertificates( return this; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; */ public Builder setDesiredWorkloadCertificates( com.google.container.v1beta1.WorkloadCertificates.Builder builderForValue) { @@ -9410,25 +7904,18 @@ public Builder setDesiredWorkloadCertificates( return this; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; */ - public Builder mergeDesiredWorkloadCertificates( - com.google.container.v1beta1.WorkloadCertificates value) { + public Builder mergeDesiredWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) { if (desiredWorkloadCertificatesBuilder_ == null) { if (desiredWorkloadCertificates_ != null) { desiredWorkloadCertificates_ = - com.google.container.v1beta1.WorkloadCertificates.newBuilder( - desiredWorkloadCertificates_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.WorkloadCertificates.newBuilder(desiredWorkloadCertificates_).mergeFrom(value).buildPartial(); } else { desiredWorkloadCertificates_ = value; } @@ -9440,15 +7927,12 @@ public Builder mergeDesiredWorkloadCertificates( return this; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; */ public Builder clearDesiredWorkloadCertificates() { if (desiredWorkloadCertificatesBuilder_ == null) { @@ -9462,66 +7946,51 @@ public Builder clearDesiredWorkloadCertificates() { return this; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; */ - public com.google.container.v1beta1.WorkloadCertificates.Builder - getDesiredWorkloadCertificatesBuilder() { - + public com.google.container.v1beta1.WorkloadCertificates.Builder getDesiredWorkloadCertificatesBuilder() { + onChanged(); return getDesiredWorkloadCertificatesFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; */ - public com.google.container.v1beta1.WorkloadCertificatesOrBuilder - getDesiredWorkloadCertificatesOrBuilder() { + public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getDesiredWorkloadCertificatesOrBuilder() { if (desiredWorkloadCertificatesBuilder_ != null) { return desiredWorkloadCertificatesBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadCertificates_ == null - ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() - : desiredWorkloadCertificates_; + return desiredWorkloadCertificates_ == null ? + com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : desiredWorkloadCertificates_; } } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadCertificates, - com.google.container.v1beta1.WorkloadCertificates.Builder, - com.google.container.v1beta1.WorkloadCertificatesOrBuilder> + com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> getDesiredWorkloadCertificatesFieldBuilder() { if (desiredWorkloadCertificatesBuilder_ == null) { - desiredWorkloadCertificatesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadCertificates, - com.google.container.v1beta1.WorkloadCertificates.Builder, - com.google.container.v1beta1.WorkloadCertificatesOrBuilder>( - getDesiredWorkloadCertificates(), getParentForChildren(), isClean()); + desiredWorkloadCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder>( + getDesiredWorkloadCertificates(), + getParentForChildren(), + isClean()); desiredWorkloadCertificates_ = null; } return desiredWorkloadCertificatesBuilder_; @@ -9529,49 +7998,36 @@ public Builder clearDesiredWorkloadCertificates() { private com.google.container.v1beta1.MeshCertificates desiredMeshCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MeshCertificates, - com.google.container.v1beta1.MeshCertificates.Builder, - com.google.container.v1beta1.MeshCertificatesOrBuilder> - desiredMeshCertificatesBuilder_; + com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> desiredMeshCertificatesBuilder_; /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; - * * @return Whether the desiredMeshCertificates field is set. */ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificatesBuilder_ != null || desiredMeshCertificates_ != null; } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; - * * @return The desiredMeshCertificates. */ public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates() { if (desiredMeshCertificatesBuilder_ == null) { - return desiredMeshCertificates_ == null - ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() - : desiredMeshCertificates_; + return desiredMeshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; } else { return desiredMeshCertificatesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -9593,8 +8049,6 @@ public Builder setDesiredMeshCertificates(com.google.container.v1beta1.MeshCerti
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -9614,8 +8068,6 @@ public Builder setDesiredMeshCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -9623,14 +8075,11 @@ public Builder setDesiredMeshCertificates(
      *
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
-    public Builder mergeDesiredMeshCertificates(
-        com.google.container.v1beta1.MeshCertificates value) {
+    public Builder mergeDesiredMeshCertificates(com.google.container.v1beta1.MeshCertificates value) {
       if (desiredMeshCertificatesBuilder_ == null) {
         if (desiredMeshCertificates_ != null) {
           desiredMeshCertificates_ =
-              com.google.container.v1beta1.MeshCertificates.newBuilder(desiredMeshCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.MeshCertificates.newBuilder(desiredMeshCertificates_).mergeFrom(value).buildPartial();
         } else {
           desiredMeshCertificates_ = value;
         }
@@ -9642,8 +8091,6 @@ public Builder mergeDesiredMeshCertificates(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -9663,8 +8110,6 @@ public Builder clearDesiredMeshCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -9672,15 +8117,12 @@ public Builder clearDesiredMeshCertificates() {
      *
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
-    public com.google.container.v1beta1.MeshCertificates.Builder
-        getDesiredMeshCertificatesBuilder() {
-
+    public com.google.container.v1beta1.MeshCertificates.Builder getDesiredMeshCertificatesBuilder() {
+      
       onChanged();
       return getDesiredMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -9688,19 +8130,15 @@ public Builder clearDesiredMeshCertificates() {
      *
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
-    public com.google.container.v1beta1.MeshCertificatesOrBuilder
-        getDesiredMeshCertificatesOrBuilder() {
+    public com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder() {
       if (desiredMeshCertificatesBuilder_ != null) {
         return desiredMeshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return desiredMeshCertificates_ == null
-            ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance()
-            : desiredMeshCertificates_;
+        return desiredMeshCertificates_ == null ?
+            com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -9709,17 +8147,14 @@ public Builder clearDesiredMeshCertificates() {
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MeshCertificates,
-            com.google.container.v1beta1.MeshCertificates.Builder,
-            com.google.container.v1beta1.MeshCertificatesOrBuilder>
+        com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> 
         getDesiredMeshCertificatesFieldBuilder() {
       if (desiredMeshCertificatesBuilder_ == null) {
-        desiredMeshCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.MeshCertificates,
-                com.google.container.v1beta1.MeshCertificates.Builder,
-                com.google.container.v1beta1.MeshCertificatesOrBuilder>(
-                getDesiredMeshCertificates(), getParentForChildren(), isClean());
+        desiredMeshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder>(
+                getDesiredMeshCertificates(),
+                getParentForChildren(),
+                isClean());
         desiredMeshCertificates_ = null;
       }
       return desiredMeshCertificatesBuilder_;
@@ -9727,55 +8162,41 @@ public Builder clearDesiredMeshCertificates() {
 
     private com.google.container.v1beta1.WorkloadALTSConfig desiredWorkloadAltsConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadALTSConfig,
-            com.google.container.v1beta1.WorkloadALTSConfig.Builder,
-            com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>
-        desiredWorkloadAltsConfigBuilder_;
+        com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> desiredWorkloadAltsConfigBuilder_;
     /**
-     *
-     *
      * 
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; - * * @return Whether the desiredWorkloadAltsConfig field is set. */ public boolean hasDesiredWorkloadAltsConfig() { return desiredWorkloadAltsConfigBuilder_ != null || desiredWorkloadAltsConfig_ != null; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; - * * @return The desiredWorkloadAltsConfig. */ public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig() { if (desiredWorkloadAltsConfigBuilder_ == null) { - return desiredWorkloadAltsConfig_ == null - ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() - : desiredWorkloadAltsConfig_; + return desiredWorkloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : desiredWorkloadAltsConfig_; } else { return desiredWorkloadAltsConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder setDesiredWorkloadAltsConfig( - com.google.container.v1beta1.WorkloadALTSConfig value) { + public Builder setDesiredWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSConfig value) { if (desiredWorkloadAltsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9789,8 +8210,6 @@ public Builder setDesiredWorkloadAltsConfig( return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -9809,22 +8228,17 @@ public Builder setDesiredWorkloadAltsConfig( return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder mergeDesiredWorkloadAltsConfig( - com.google.container.v1beta1.WorkloadALTSConfig value) { + public Builder mergeDesiredWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSConfig value) { if (desiredWorkloadAltsConfigBuilder_ == null) { if (desiredWorkloadAltsConfig_ != null) { desiredWorkloadAltsConfig_ = - com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(desiredWorkloadAltsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(desiredWorkloadAltsConfig_).mergeFrom(value).buildPartial(); } else { desiredWorkloadAltsConfig_ = value; } @@ -9836,8 +8250,6 @@ public Builder mergeDesiredWorkloadAltsConfig( return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -9856,42 +8268,33 @@ public Builder clearDesiredWorkloadAltsConfig() { return this; } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public com.google.container.v1beta1.WorkloadALTSConfig.Builder - getDesiredWorkloadAltsConfigBuilder() { - + public com.google.container.v1beta1.WorkloadALTSConfig.Builder getDesiredWorkloadAltsConfigBuilder() { + onChanged(); return getDesiredWorkloadAltsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder - getDesiredWorkloadAltsConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorkloadAltsConfigOrBuilder() { if (desiredWorkloadAltsConfigBuilder_ != null) { return desiredWorkloadAltsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadAltsConfig_ == null - ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() - : desiredWorkloadAltsConfig_; + return desiredWorkloadAltsConfig_ == null ? + com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : desiredWorkloadAltsConfig_; } } /** - * - * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -9899,17 +8302,14 @@ public Builder clearDesiredWorkloadAltsConfig() { * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, - com.google.container.v1beta1.WorkloadALTSConfig.Builder, - com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> getDesiredWorkloadAltsConfigFieldBuilder() { if (desiredWorkloadAltsConfigBuilder_ == null) { - desiredWorkloadAltsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, - com.google.container.v1beta1.WorkloadALTSConfig.Builder, - com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( - getDesiredWorkloadAltsConfig(), getParentForChildren(), isClean()); + desiredWorkloadAltsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( + getDesiredWorkloadAltsConfig(), + getParentForChildren(), + isClean()); desiredWorkloadAltsConfig_ = null; } return desiredWorkloadAltsConfigBuilder_; @@ -9917,47 +8317,34 @@ public Builder clearDesiredWorkloadAltsConfig() { private com.google.container.v1beta1.ShieldedNodes desiredShieldedNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, - com.google.container.v1beta1.ShieldedNodes.Builder, - com.google.container.v1beta1.ShieldedNodesOrBuilder> - desiredShieldedNodesBuilder_; + com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> desiredShieldedNodesBuilder_; /** - * - * *
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; - * * @return Whether the desiredShieldedNodes field is set. */ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodesBuilder_ != null || desiredShieldedNodes_ != null; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; - * * @return The desiredShieldedNodes. */ public com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes() { if (desiredShieldedNodesBuilder_ == null) { - return desiredShieldedNodes_ == null - ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() - : desiredShieldedNodes_; + return desiredShieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; } else { return desiredShieldedNodesBuilder_.getMessage(); } } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -9978,8 +8365,6 @@ public Builder setDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNode return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -9998,8 +8383,6 @@ public Builder setDesiredShieldedNodes( return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -10010,9 +8393,7 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNo if (desiredShieldedNodesBuilder_ == null) { if (desiredShieldedNodes_ != null) { desiredShieldedNodes_ = - com.google.container.v1beta1.ShieldedNodes.newBuilder(desiredShieldedNodes_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ShieldedNodes.newBuilder(desiredShieldedNodes_).mergeFrom(value).buildPartial(); } else { desiredShieldedNodes_ = value; } @@ -10024,8 +8405,6 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNo return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -10044,8 +8423,6 @@ public Builder clearDesiredShieldedNodes() { return this; } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -10053,13 +8430,11 @@ public Builder clearDesiredShieldedNodes() { * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; */ public com.google.container.v1beta1.ShieldedNodes.Builder getDesiredShieldedNodesBuilder() { - + onChanged(); return getDesiredShieldedNodesFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -10070,14 +8445,11 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod if (desiredShieldedNodesBuilder_ != null) { return desiredShieldedNodesBuilder_.getMessageOrBuilder(); } else { - return desiredShieldedNodes_ == null - ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() - : desiredShieldedNodes_; + return desiredShieldedNodes_ == null ? + com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; } } /** - * - * *
      * Configuration for Shielded Nodes.
      * 
@@ -10085,17 +8457,14 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, - com.google.container.v1beta1.ShieldedNodes.Builder, - com.google.container.v1beta1.ShieldedNodesOrBuilder> + com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> getDesiredShieldedNodesFieldBuilder() { if (desiredShieldedNodesBuilder_ == null) { - desiredShieldedNodesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, - com.google.container.v1beta1.ShieldedNodes.Builder, - com.google.container.v1beta1.ShieldedNodesOrBuilder>( - getDesiredShieldedNodes(), getParentForChildren(), isClean()); + desiredShieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder>( + getDesiredShieldedNodes(), + getParentForChildren(), + isClean()); desiredShieldedNodes_ = null; } return desiredShieldedNodesBuilder_; @@ -10103,58 +8472,41 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod private com.google.container.v1beta1.CostManagementConfig desiredCostManagementConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, - com.google.container.v1beta1.CostManagementConfig.Builder, - com.google.container.v1beta1.CostManagementConfigOrBuilder> - desiredCostManagementConfigBuilder_; + com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> desiredCostManagementConfigBuilder_; /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; * @return Whether the desiredCostManagementConfig field is set. */ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfigBuilder_ != null || desiredCostManagementConfig_ != null; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; * @return The desiredCostManagementConfig. */ public com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig() { if (desiredCostManagementConfigBuilder_ == null) { - return desiredCostManagementConfig_ == null - ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() - : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; } else { return desiredCostManagementConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ - public Builder setDesiredCostManagementConfig( - com.google.container.v1beta1.CostManagementConfig value) { + public Builder setDesiredCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10168,14 +8520,11 @@ public Builder setDesiredCostManagementConfig( return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ public Builder setDesiredCostManagementConfig( com.google.container.v1beta1.CostManagementConfig.Builder builderForValue) { @@ -10189,24 +8538,17 @@ public Builder setDesiredCostManagementConfig( return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ - public Builder mergeDesiredCostManagementConfig( - com.google.container.v1beta1.CostManagementConfig value) { + public Builder mergeDesiredCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (desiredCostManagementConfig_ != null) { desiredCostManagementConfig_ = - com.google.container.v1beta1.CostManagementConfig.newBuilder( - desiredCostManagementConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.CostManagementConfig.newBuilder(desiredCostManagementConfig_).mergeFrom(value).buildPartial(); } else { desiredCostManagementConfig_ = value; } @@ -10218,14 +8560,11 @@ public Builder mergeDesiredCostManagementConfig( return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ public Builder clearDesiredCostManagementConfig() { if (desiredCostManagementConfigBuilder_ == null) { @@ -10239,63 +8578,48 @@ public Builder clearDesiredCostManagementConfig() { return this; } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ - public com.google.container.v1beta1.CostManagementConfig.Builder - getDesiredCostManagementConfigBuilder() { - + public com.google.container.v1beta1.CostManagementConfig.Builder getDesiredCostManagementConfigBuilder() { + onChanged(); return getDesiredCostManagementConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ - public com.google.container.v1beta1.CostManagementConfigOrBuilder - getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { if (desiredCostManagementConfigBuilder_ != null) { return desiredCostManagementConfigBuilder_.getMessageOrBuilder(); } else { - return desiredCostManagementConfig_ == null - ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() - : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null ? + com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; } } /** - * - * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, - com.google.container.v1beta1.CostManagementConfig.Builder, - com.google.container.v1beta1.CostManagementConfigOrBuilder> + com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> getDesiredCostManagementConfigFieldBuilder() { if (desiredCostManagementConfigBuilder_ == null) { - desiredCostManagementConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, - com.google.container.v1beta1.CostManagementConfig.Builder, - com.google.container.v1beta1.CostManagementConfigOrBuilder>( - getDesiredCostManagementConfig(), getParentForChildren(), isClean()); + desiredCostManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder>( + getDesiredCostManagementConfig(), + getParentForChildren(), + isClean()); desiredCostManagementConfig_ = null; } return desiredCostManagementConfigBuilder_; @@ -10303,47 +8627,34 @@ public Builder clearDesiredCostManagementConfig() { private com.google.container.v1beta1.Master desiredMaster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, - com.google.container.v1beta1.Master.Builder, - com.google.container.v1beta1.MasterOrBuilder> - desiredMasterBuilder_; + com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> desiredMasterBuilder_; /** - * - * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master desired_master = 52; - * * @return Whether the desiredMaster field is set. */ public boolean hasDesiredMaster() { return desiredMasterBuilder_ != null || desiredMaster_ != null; } /** - * - * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master desired_master = 52; - * * @return The desiredMaster. */ public com.google.container.v1beta1.Master getDesiredMaster() { if (desiredMasterBuilder_ == null) { - return desiredMaster_ == null - ? com.google.container.v1beta1.Master.getDefaultInstance() - : desiredMaster_; + return desiredMaster_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : desiredMaster_; } else { return desiredMasterBuilder_.getMessage(); } } /** - * - * *
      * Configuration for master components.
      * 
@@ -10364,15 +8675,14 @@ public Builder setDesiredMaster(com.google.container.v1beta1.Master value) { return this; } /** - * - * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master desired_master = 52; */ - public Builder setDesiredMaster(com.google.container.v1beta1.Master.Builder builderForValue) { + public Builder setDesiredMaster( + com.google.container.v1beta1.Master.Builder builderForValue) { if (desiredMasterBuilder_ == null) { desiredMaster_ = builderForValue.build(); onChanged(); @@ -10383,8 +8693,6 @@ public Builder setDesiredMaster(com.google.container.v1beta1.Master.Builder buil return this; } /** - * - * *
      * Configuration for master components.
      * 
@@ -10395,9 +8703,7 @@ public Builder mergeDesiredMaster(com.google.container.v1beta1.Master value) { if (desiredMasterBuilder_ == null) { if (desiredMaster_ != null) { desiredMaster_ = - com.google.container.v1beta1.Master.newBuilder(desiredMaster_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.Master.newBuilder(desiredMaster_).mergeFrom(value).buildPartial(); } else { desiredMaster_ = value; } @@ -10409,8 +8715,6 @@ public Builder mergeDesiredMaster(com.google.container.v1beta1.Master value) { return this; } /** - * - * *
      * Configuration for master components.
      * 
@@ -10429,8 +8733,6 @@ public Builder clearDesiredMaster() { return this; } /** - * - * *
      * Configuration for master components.
      * 
@@ -10438,13 +8740,11 @@ public Builder clearDesiredMaster() { * .google.container.v1beta1.Master desired_master = 52; */ public com.google.container.v1beta1.Master.Builder getDesiredMasterBuilder() { - + onChanged(); return getDesiredMasterFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for master components.
      * 
@@ -10455,14 +8755,11 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() if (desiredMasterBuilder_ != null) { return desiredMasterBuilder_.getMessageOrBuilder(); } else { - return desiredMaster_ == null - ? com.google.container.v1beta1.Master.getDefaultInstance() - : desiredMaster_; + return desiredMaster_ == null ? + com.google.container.v1beta1.Master.getDefaultInstance() : desiredMaster_; } } /** - * - * *
      * Configuration for master components.
      * 
@@ -10470,17 +8767,14 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() * .google.container.v1beta1.Master desired_master = 52; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, - com.google.container.v1beta1.Master.Builder, - com.google.container.v1beta1.MasterOrBuilder> + com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> getDesiredMasterFieldBuilder() { if (desiredMasterBuilder_ == null) { - desiredMasterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, - com.google.container.v1beta1.Master.Builder, - com.google.container.v1beta1.MasterOrBuilder>( - getDesiredMaster(), getParentForChildren(), isClean()); + desiredMasterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder>( + getDesiredMaster(), + getParentForChildren(), + isClean()); desiredMaster_ = null; } return desiredMasterBuilder_; @@ -10488,47 +8782,34 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() private com.google.container.v1beta1.DNSConfig desiredDnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, - com.google.container.v1beta1.DNSConfig.Builder, - com.google.container.v1beta1.DNSConfigOrBuilder> - desiredDnsConfigBuilder_; + com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> desiredDnsConfigBuilder_; /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; - * * @return Whether the desiredDnsConfig field is set. */ public boolean hasDesiredDnsConfig() { return desiredDnsConfigBuilder_ != null || desiredDnsConfig_ != null; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; - * * @return The desiredDnsConfig. */ public com.google.container.v1beta1.DNSConfig getDesiredDnsConfig() { if (desiredDnsConfigBuilder_ == null) { - return desiredDnsConfig_ == null - ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() - : desiredDnsConfig_; + return desiredDnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; } else { return desiredDnsConfigBuilder_.getMessage(); } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -10549,8 +8830,6 @@ public Builder setDesiredDnsConfig(com.google.container.v1beta1.DNSConfig value) return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -10569,8 +8848,6 @@ public Builder setDesiredDnsConfig( return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -10581,9 +8858,7 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1beta1.DNSConfig valu if (desiredDnsConfigBuilder_ == null) { if (desiredDnsConfig_ != null) { desiredDnsConfig_ = - com.google.container.v1beta1.DNSConfig.newBuilder(desiredDnsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.DNSConfig.newBuilder(desiredDnsConfig_).mergeFrom(value).buildPartial(); } else { desiredDnsConfig_ = value; } @@ -10595,8 +8870,6 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1beta1.DNSConfig valu return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -10615,8 +8888,6 @@ public Builder clearDesiredDnsConfig() { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -10624,13 +8895,11 @@ public Builder clearDesiredDnsConfig() { * .google.container.v1beta1.DNSConfig desired_dns_config = 53; */ public com.google.container.v1beta1.DNSConfig.Builder getDesiredDnsConfigBuilder() { - + onChanged(); return getDesiredDnsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -10641,14 +8910,11 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil if (desiredDnsConfigBuilder_ != null) { return desiredDnsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredDnsConfig_ == null - ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() - : desiredDnsConfig_; + return desiredDnsConfig_ == null ? + com.google.container.v1beta1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -10656,17 +8922,14 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil * .google.container.v1beta1.DNSConfig desired_dns_config = 53; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, - com.google.container.v1beta1.DNSConfig.Builder, - com.google.container.v1beta1.DNSConfigOrBuilder> + com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> getDesiredDnsConfigFieldBuilder() { if (desiredDnsConfigBuilder_ == null) { - desiredDnsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, - com.google.container.v1beta1.DNSConfig.Builder, - com.google.container.v1beta1.DNSConfigOrBuilder>( - getDesiredDnsConfig(), getParentForChildren(), isClean()); + desiredDnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder>( + getDesiredDnsConfig(), + getParentForChildren(), + isClean()); desiredDnsConfig_ = null; } return desiredDnsConfigBuilder_; @@ -10674,66 +8937,44 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil private com.google.container.v1beta1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> - desiredServiceExternalIpsConfigBuilder_; + com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> desiredServiceExternalIpsConfigBuilder_; /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return Whether the desiredServiceExternalIpsConfig field is set. */ public boolean hasDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfigBuilder_ != null - || desiredServiceExternalIpsConfig_ != null; + return desiredServiceExternalIpsConfigBuilder_ != null || desiredServiceExternalIpsConfig_ != null; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return The desiredServiceExternalIpsConfig. */ - public com.google.container.v1beta1.ServiceExternalIPsConfig - getDesiredServiceExternalIpsConfig() { + public com.google.container.v1beta1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - return desiredServiceExternalIpsConfig_ == null - ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() - : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; } else { return desiredServiceExternalIpsConfigBuilder_.getMessage(); } } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public Builder setDesiredServiceExternalIpsConfig( - com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder setDesiredServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10747,16 +8988,12 @@ public Builder setDesiredServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ public Builder setDesiredServiceExternalIpsConfig( com.google.container.v1beta1.ServiceExternalIPsConfig.Builder builderForValue) { @@ -10770,26 +9007,18 @@ public Builder setDesiredServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public Builder mergeDesiredServiceExternalIpsConfig( - com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder mergeDesiredServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (desiredServiceExternalIpsConfig_ != null) { desiredServiceExternalIpsConfig_ = - com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder( - desiredServiceExternalIpsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder(desiredServiceExternalIpsConfig_).mergeFrom(value).buildPartial(); } else { desiredServiceExternalIpsConfig_ = value; } @@ -10801,16 +9030,12 @@ public Builder mergeDesiredServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ public Builder clearDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { @@ -10824,137 +9049,96 @@ public Builder clearDesiredServiceExternalIpsConfig() { return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder - getDesiredServiceExternalIpsConfigBuilder() { - + public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder getDesiredServiceExternalIpsConfigBuilder() { + onChanged(); return getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder - getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { if (desiredServiceExternalIpsConfigBuilder_ != null) { return desiredServiceExternalIpsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredServiceExternalIpsConfig_ == null - ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() - : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null ? + com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; } } /** - * - * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> + com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> getDesiredServiceExternalIpsConfigFieldBuilder() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - desiredServiceExternalIpsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( - getDesiredServiceExternalIpsConfig(), getParentForChildren(), isClean()); + desiredServiceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( + getDesiredServiceExternalIpsConfig(), + getParentForChildren(), + isClean()); desiredServiceExternalIpsConfig_ = null; } return desiredServiceExternalIpsConfigBuilder_; } - private com.google.container.v1beta1.AuthenticatorGroupsConfig - desiredAuthenticatorGroupsConfig_; + private com.google.container.v1beta1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> - desiredAuthenticatorGroupsConfigBuilder_; + com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> desiredAuthenticatorGroupsConfigBuilder_; /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ public boolean hasDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfigBuilder_ != null - || desiredAuthenticatorGroupsConfig_ != null; + return desiredAuthenticatorGroupsConfigBuilder_ != null || desiredAuthenticatorGroupsConfig_ != null; } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return The desiredAuthenticatorGroupsConfig. */ - public com.google.container.v1beta1.AuthenticatorGroupsConfig - getDesiredAuthenticatorGroupsConfig() { + public com.google.container.v1beta1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - return desiredAuthenticatorGroupsConfig_ == null - ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() - : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; } else { return desiredAuthenticatorGroupsConfigBuilder_.getMessage(); } } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public Builder setDesiredAuthenticatorGroupsConfig( - com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder setDesiredAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10968,16 +9152,12 @@ public Builder setDesiredAuthenticatorGroupsConfig( return this; } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ public Builder setDesiredAuthenticatorGroupsConfig( com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder builderForValue) { @@ -10991,26 +9171,18 @@ public Builder setDesiredAuthenticatorGroupsConfig( return this; } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public Builder mergeDesiredAuthenticatorGroupsConfig( - com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder mergeDesiredAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (desiredAuthenticatorGroupsConfig_ != null) { desiredAuthenticatorGroupsConfig_ = - com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder( - desiredAuthenticatorGroupsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder(desiredAuthenticatorGroupsConfig_).mergeFrom(value).buildPartial(); } else { desiredAuthenticatorGroupsConfig_ = value; } @@ -11022,16 +9194,12 @@ public Builder mergeDesiredAuthenticatorGroupsConfig( return this; } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ public Builder clearDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { @@ -11045,69 +9213,51 @@ public Builder clearDesiredAuthenticatorGroupsConfig() { return this; } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder - getDesiredAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder getDesiredAuthenticatorGroupsConfigBuilder() { + onChanged(); return getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder - getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ != null) { return desiredAuthenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAuthenticatorGroupsConfig_ == null - ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() - : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null ? + com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; } } /** - * - * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> getDesiredAuthenticatorGroupsConfigFieldBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - desiredAuthenticatorGroupsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, - com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( - getDesiredAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); + desiredAuthenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( + getDesiredAuthenticatorGroupsConfig(), + getParentForChildren(), + isClean()); desiredAuthenticatorGroupsConfig_ = null; } return desiredAuthenticatorGroupsConfigBuilder_; @@ -11115,47 +9265,34 @@ public Builder clearDesiredAuthenticatorGroupsConfig() { private com.google.container.v1beta1.LoggingConfig desiredLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, - com.google.container.v1beta1.LoggingConfig.Builder, - com.google.container.v1beta1.LoggingConfigOrBuilder> - desiredLoggingConfigBuilder_; + com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> desiredLoggingConfigBuilder_; /** - * - * *
      * The desired logging configuration.
      * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; - * * @return Whether the desiredLoggingConfig field is set. */ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfigBuilder_ != null || desiredLoggingConfig_ != null; } /** - * - * *
      * The desired logging configuration.
      * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; - * * @return The desiredLoggingConfig. */ public com.google.container.v1beta1.LoggingConfig getDesiredLoggingConfig() { if (desiredLoggingConfigBuilder_ == null) { - return desiredLoggingConfig_ == null - ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() - : desiredLoggingConfig_; + return desiredLoggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; } else { return desiredLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired logging configuration.
      * 
@@ -11176,8 +9313,6 @@ public Builder setDesiredLoggingConfig(com.google.container.v1beta1.LoggingConfi return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -11196,8 +9331,6 @@ public Builder setDesiredLoggingConfig( return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -11208,9 +9341,7 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1beta1.LoggingCon if (desiredLoggingConfigBuilder_ == null) { if (desiredLoggingConfig_ != null) { desiredLoggingConfig_ = - com.google.container.v1beta1.LoggingConfig.newBuilder(desiredLoggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.LoggingConfig.newBuilder(desiredLoggingConfig_).mergeFrom(value).buildPartial(); } else { desiredLoggingConfig_ = value; } @@ -11222,8 +9353,6 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1beta1.LoggingCon return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -11242,8 +9371,6 @@ public Builder clearDesiredLoggingConfig() { return this; } /** - * - * *
      * The desired logging configuration.
      * 
@@ -11251,13 +9378,11 @@ public Builder clearDesiredLoggingConfig() { * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; */ public com.google.container.v1beta1.LoggingConfig.Builder getDesiredLoggingConfigBuilder() { - + onChanged(); return getDesiredLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired logging configuration.
      * 
@@ -11268,14 +9393,11 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf if (desiredLoggingConfigBuilder_ != null) { return desiredLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredLoggingConfig_ == null - ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() - : desiredLoggingConfig_; + return desiredLoggingConfig_ == null ? + com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; } } /** - * - * *
      * The desired logging configuration.
      * 
@@ -11283,17 +9405,14 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, - com.google.container.v1beta1.LoggingConfig.Builder, - com.google.container.v1beta1.LoggingConfigOrBuilder> + com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> getDesiredLoggingConfigFieldBuilder() { if (desiredLoggingConfigBuilder_ == null) { - desiredLoggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, - com.google.container.v1beta1.LoggingConfig.Builder, - com.google.container.v1beta1.LoggingConfigOrBuilder>( - getDesiredLoggingConfig(), getParentForChildren(), isClean()); + desiredLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder>( + getDesiredLoggingConfig(), + getParentForChildren(), + isClean()); desiredLoggingConfig_ = null; } return desiredLoggingConfigBuilder_; @@ -11301,47 +9420,34 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf private com.google.container.v1beta1.MonitoringConfig desiredMonitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, - com.google.container.v1beta1.MonitoringConfig.Builder, - com.google.container.v1beta1.MonitoringConfigOrBuilder> - desiredMonitoringConfigBuilder_; + com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> desiredMonitoringConfigBuilder_; /** - * - * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; - * * @return Whether the desiredMonitoringConfig field is set. */ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfigBuilder_ != null || desiredMonitoringConfig_ != null; } /** - * - * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; - * * @return The desiredMonitoringConfig. */ public com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig() { if (desiredMonitoringConfigBuilder_ == null) { - return desiredMonitoringConfig_ == null - ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() - : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; } else { return desiredMonitoringConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -11362,8 +9468,6 @@ public Builder setDesiredMonitoringConfig(com.google.container.v1beta1.Monitorin return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -11382,22 +9486,17 @@ public Builder setDesiredMonitoringConfig( return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ - public Builder mergeDesiredMonitoringConfig( - com.google.container.v1beta1.MonitoringConfig value) { + public Builder mergeDesiredMonitoringConfig(com.google.container.v1beta1.MonitoringConfig value) { if (desiredMonitoringConfigBuilder_ == null) { if (desiredMonitoringConfig_ != null) { desiredMonitoringConfig_ = - com.google.container.v1beta1.MonitoringConfig.newBuilder(desiredMonitoringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MonitoringConfig.newBuilder(desiredMonitoringConfig_).mergeFrom(value).buildPartial(); } else { desiredMonitoringConfig_ = value; } @@ -11409,8 +9508,6 @@ public Builder mergeDesiredMonitoringConfig( return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -11429,42 +9526,33 @@ public Builder clearDesiredMonitoringConfig() { return this; } /** - * - * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ - public com.google.container.v1beta1.MonitoringConfig.Builder - getDesiredMonitoringConfigBuilder() { - + public com.google.container.v1beta1.MonitoringConfig.Builder getDesiredMonitoringConfigBuilder() { + onChanged(); return getDesiredMonitoringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ - public com.google.container.v1beta1.MonitoringConfigOrBuilder - getDesiredMonitoringConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder() { if (desiredMonitoringConfigBuilder_ != null) { return desiredMonitoringConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMonitoringConfig_ == null - ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() - : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null ? + com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; } } /** - * - * *
      * The desired monitoring configuration.
      * 
@@ -11472,17 +9560,14 @@ public Builder clearDesiredMonitoringConfig() { * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, - com.google.container.v1beta1.MonitoringConfig.Builder, - com.google.container.v1beta1.MonitoringConfigOrBuilder> + com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> getDesiredMonitoringConfigFieldBuilder() { if (desiredMonitoringConfigBuilder_ == null) { - desiredMonitoringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, - com.google.container.v1beta1.MonitoringConfig.Builder, - com.google.container.v1beta1.MonitoringConfigOrBuilder>( - getDesiredMonitoringConfig(), getParentForChildren(), isClean()); + desiredMonitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder>( + getDesiredMonitoringConfig(), + getParentForChildren(), + isClean()); desiredMonitoringConfig_ = null; } return desiredMonitoringConfigBuilder_; @@ -11490,58 +9575,41 @@ public Builder clearDesiredMonitoringConfig() { private com.google.container.v1beta1.IdentityServiceConfig desiredIdentityServiceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, - com.google.container.v1beta1.IdentityServiceConfig.Builder, - com.google.container.v1beta1.IdentityServiceConfigOrBuilder> - desiredIdentityServiceConfigBuilder_; + com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> desiredIdentityServiceConfigBuilder_; /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; * @return Whether the desiredIdentityServiceConfig field is set. */ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfigBuilder_ != null || desiredIdentityServiceConfig_ != null; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; * @return The desiredIdentityServiceConfig. */ public com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServiceConfig() { if (desiredIdentityServiceConfigBuilder_ == null) { - return desiredIdentityServiceConfig_ == null - ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() - : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; } else { return desiredIdentityServiceConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ - public Builder setDesiredIdentityServiceConfig( - com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder setDesiredIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11555,14 +9623,11 @@ public Builder setDesiredIdentityServiceConfig( return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ public Builder setDesiredIdentityServiceConfig( com.google.container.v1beta1.IdentityServiceConfig.Builder builderForValue) { @@ -11576,24 +9641,17 @@ public Builder setDesiredIdentityServiceConfig( return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ - public Builder mergeDesiredIdentityServiceConfig( - com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder mergeDesiredIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (desiredIdentityServiceConfig_ != null) { desiredIdentityServiceConfig_ = - com.google.container.v1beta1.IdentityServiceConfig.newBuilder( - desiredIdentityServiceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.IdentityServiceConfig.newBuilder(desiredIdentityServiceConfig_).mergeFrom(value).buildPartial(); } else { desiredIdentityServiceConfig_ = value; } @@ -11605,14 +9663,11 @@ public Builder mergeDesiredIdentityServiceConfig( return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ public Builder clearDesiredIdentityServiceConfig() { if (desiredIdentityServiceConfigBuilder_ == null) { @@ -11626,78 +9681,60 @@ public Builder clearDesiredIdentityServiceConfig() { return this; } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ - public com.google.container.v1beta1.IdentityServiceConfig.Builder - getDesiredIdentityServiceConfigBuilder() { - + public com.google.container.v1beta1.IdentityServiceConfig.Builder getDesiredIdentityServiceConfigBuilder() { + onChanged(); return getDesiredIdentityServiceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder - getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { if (desiredIdentityServiceConfigBuilder_ != null) { return desiredIdentityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIdentityServiceConfig_ == null - ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() - : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null ? + com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; } } /** - * - * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, - com.google.container.v1beta1.IdentityServiceConfig.Builder, - com.google.container.v1beta1.IdentityServiceConfigOrBuilder> + com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> getDesiredIdentityServiceConfigFieldBuilder() { if (desiredIdentityServiceConfigBuilder_ == null) { - desiredIdentityServiceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, - com.google.container.v1beta1.IdentityServiceConfig.Builder, - com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( - getDesiredIdentityServiceConfig(), getParentForChildren(), isClean()); + desiredIdentityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( + getDesiredIdentityServiceConfig(), + getParentForChildren(), + isClean()); desiredIdentityServiceConfig_ = null; } return desiredIdentityServiceConfigBuilder_; } - private boolean desiredEnablePrivateEndpoint_; + private boolean desiredEnablePrivateEndpoint_ ; /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -11705,14 +9742,11 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -11720,14 +9754,11 @@ public boolean getDesiredEnablePrivateEndpoint() { return desiredEnablePrivateEndpoint_; } /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @param value The desiredEnablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -11738,14 +9769,11 @@ public Builder setDesiredEnablePrivateEndpoint(boolean value) { return this; } /** - * - * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return This builder for chaining. */ public Builder clearDesiredEnablePrivateEndpoint() { @@ -11757,62 +9785,44 @@ public Builder clearDesiredEnablePrivateEndpoint() { private com.google.container.v1beta1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, - com.google.container.v1beta1.NetworkTags.Builder, - com.google.container.v1beta1.NetworkTagsOrBuilder> - desiredNodePoolAutoConfigNetworkTagsBuilder_; + com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> desiredNodePoolAutoConfigNetworkTagsBuilder_; /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null - || desiredNodePoolAutoConfigNetworkTags_ != null; + return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null || desiredNodePoolAutoConfigNetworkTags_ != null; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return The desiredNodePoolAutoConfigNetworkTags. */ public com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - return desiredNodePoolAutoConfigNetworkTags_ == null - ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() - : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; } else { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessage(); } } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public Builder setDesiredNodePoolAutoConfigNetworkTags( - com.google.container.v1beta1.NetworkTags value) { + public Builder setDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1beta1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11826,15 +9836,12 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags( return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ public Builder setDesiredNodePoolAutoConfigNetworkTags( com.google.container.v1beta1.NetworkTags.Builder builderForValue) { @@ -11848,25 +9855,18 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags( return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public Builder mergeDesiredNodePoolAutoConfigNetworkTags( - com.google.container.v1beta1.NetworkTags value) { + public Builder mergeDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1beta1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (desiredNodePoolAutoConfigNetworkTags_ != null) { desiredNodePoolAutoConfigNetworkTags_ = - com.google.container.v1beta1.NetworkTags.newBuilder( - desiredNodePoolAutoConfigNetworkTags_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NetworkTags.newBuilder(desiredNodePoolAutoConfigNetworkTags_).mergeFrom(value).buildPartial(); } else { desiredNodePoolAutoConfigNetworkTags_ = value; } @@ -11878,15 +9878,12 @@ public Builder mergeDesiredNodePoolAutoConfigNetworkTags( return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { @@ -11900,66 +9897,51 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { return this; } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public com.google.container.v1beta1.NetworkTags.Builder - getDesiredNodePoolAutoConfigNetworkTagsBuilder() { - + public com.google.container.v1beta1.NetworkTags.Builder getDesiredNodePoolAutoConfigNetworkTagsBuilder() { + onChanged(); return getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(); } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - public com.google.container.v1beta1.NetworkTagsOrBuilder - getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + public com.google.container.v1beta1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ != null) { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolAutoConfigNetworkTags_ == null - ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() - : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null ? + com.google.container.v1beta1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; } } /** - * - * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, - com.google.container.v1beta1.NetworkTags.Builder, - com.google.container.v1beta1.NetworkTagsOrBuilder> + com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - desiredNodePoolAutoConfigNetworkTagsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, - com.google.container.v1beta1.NetworkTags.Builder, - com.google.container.v1beta1.NetworkTagsOrBuilder>( - getDesiredNodePoolAutoConfigNetworkTags(), getParentForChildren(), isClean()); + desiredNodePoolAutoConfigNetworkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder>( + getDesiredNodePoolAutoConfigNetworkTags(), + getParentForChildren(), + isClean()); desiredNodePoolAutoConfigNetworkTags_ = null; } return desiredNodePoolAutoConfigNetworkTagsBuilder_; @@ -11967,47 +9949,34 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { private com.google.container.v1beta1.ProtectConfig desiredProtectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, - com.google.container.v1beta1.ProtectConfig.Builder, - com.google.container.v1beta1.ProtectConfigOrBuilder> - desiredProtectConfigBuilder_; + com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> desiredProtectConfigBuilder_; /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; - * * @return Whether the desiredProtectConfig field is set. */ public boolean hasDesiredProtectConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; - * * @return The desiredProtectConfig. */ public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { if (desiredProtectConfigBuilder_ == null) { - return desiredProtectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : desiredProtectConfig_; + return desiredProtectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; } else { return desiredProtectConfigBuilder_.getMessage(); } } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -12028,8 +9997,6 @@ public Builder setDesiredProtectConfig(com.google.container.v1beta1.ProtectConfi return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -12048,8 +10015,6 @@ public Builder setDesiredProtectConfig( return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -12058,14 +10023,11 @@ public Builder setDesiredProtectConfig( */ public Builder mergeDesiredProtectConfig(com.google.container.v1beta1.ProtectConfig value) { if (desiredProtectConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && desiredProtectConfig_ != null - && desiredProtectConfig_ - != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + desiredProtectConfig_ != null && + desiredProtectConfig_ != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { desiredProtectConfig_ = - com.google.container.v1beta1.ProtectConfig.newBuilder(desiredProtectConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ProtectConfig.newBuilder(desiredProtectConfig_).mergeFrom(value).buildPartial(); } else { desiredProtectConfig_ = value; } @@ -12077,8 +10039,6 @@ public Builder mergeDesiredProtectConfig(com.google.container.v1beta1.ProtectCon return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -12096,8 +10056,6 @@ public Builder clearDesiredProtectConfig() { return this; } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -12110,8 +10068,6 @@ public com.google.container.v1beta1.ProtectConfig.Builder getDesiredProtectConfi return getDesiredProtectConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -12122,14 +10078,11 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConf if (desiredProtectConfigBuilder_ != null) { return desiredProtectConfigBuilder_.getMessageOrBuilder(); } else { - return desiredProtectConfig_ == null - ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() - : desiredProtectConfig_; + return desiredProtectConfig_ == null ? + com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; } } /** - * - * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -12137,17 +10090,14 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConf * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, - com.google.container.v1beta1.ProtectConfig.Builder, - com.google.container.v1beta1.ProtectConfigOrBuilder> + com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> getDesiredProtectConfigFieldBuilder() { if (desiredProtectConfigBuilder_ == null) { - desiredProtectConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, - com.google.container.v1beta1.ProtectConfig.Builder, - com.google.container.v1beta1.ProtectConfigOrBuilder>( - getDesiredProtectConfig(), getParentForChildren(), isClean()); + desiredProtectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder>( + getDesiredProtectConfig(), + getParentForChildren(), + isClean()); desiredProtectConfig_ = null; } return desiredProtectConfigBuilder_; @@ -12155,47 +10105,34 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConf private com.google.container.v1beta1.GatewayAPIConfig desiredGatewayApiConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, - com.google.container.v1beta1.GatewayAPIConfig.Builder, - com.google.container.v1beta1.GatewayAPIConfigOrBuilder> - desiredGatewayApiConfigBuilder_; + com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> desiredGatewayApiConfigBuilder_; /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return Whether the desiredGatewayApiConfig field is set. */ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfigBuilder_ != null || desiredGatewayApiConfig_ != null; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return The desiredGatewayApiConfig. */ public com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig() { if (desiredGatewayApiConfigBuilder_ == null) { - return desiredGatewayApiConfig_ == null - ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() - : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; } else { return desiredGatewayApiConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -12216,8 +10153,6 @@ public Builder setDesiredGatewayApiConfig(com.google.container.v1beta1.GatewayAP return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -12236,22 +10171,17 @@ public Builder setDesiredGatewayApiConfig( return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ - public Builder mergeDesiredGatewayApiConfig( - com.google.container.v1beta1.GatewayAPIConfig value) { + public Builder mergeDesiredGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConfig value) { if (desiredGatewayApiConfigBuilder_ == null) { if (desiredGatewayApiConfig_ != null) { desiredGatewayApiConfig_ = - com.google.container.v1beta1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_).mergeFrom(value).buildPartial(); } else { desiredGatewayApiConfig_ = value; } @@ -12263,8 +10193,6 @@ public Builder mergeDesiredGatewayApiConfig( return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -12283,42 +10211,33 @@ public Builder clearDesiredGatewayApiConfig() { return this; } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ - public com.google.container.v1beta1.GatewayAPIConfig.Builder - getDesiredGatewayApiConfigBuilder() { - + public com.google.container.v1beta1.GatewayAPIConfig.Builder getDesiredGatewayApiConfigBuilder() { + onChanged(); return getDesiredGatewayApiConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ - public com.google.container.v1beta1.GatewayAPIConfigOrBuilder - getDesiredGatewayApiConfigOrBuilder() { + public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder() { if (desiredGatewayApiConfigBuilder_ != null) { return desiredGatewayApiConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGatewayApiConfig_ == null - ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() - : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null ? + com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; } } /** - * - * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -12326,17 +10245,14 @@ public Builder clearDesiredGatewayApiConfig() { * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, - com.google.container.v1beta1.GatewayAPIConfig.Builder, - com.google.container.v1beta1.GatewayAPIConfigOrBuilder> + com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> getDesiredGatewayApiConfigFieldBuilder() { if (desiredGatewayApiConfigBuilder_ == null) { - desiredGatewayApiConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, - com.google.container.v1beta1.GatewayAPIConfig.Builder, - com.google.container.v1beta1.GatewayAPIConfigOrBuilder>( - getDesiredGatewayApiConfig(), getParentForChildren(), isClean()); + desiredGatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder>( + getDesiredGatewayApiConfig(), + getParentForChildren(), + isClean()); desiredGatewayApiConfig_ = null; } return desiredGatewayApiConfigBuilder_; @@ -12344,58 +10260,41 @@ public Builder clearDesiredGatewayApiConfig() { private com.google.container.v1beta1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> - desiredNodePoolLoggingConfigBuilder_; + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> desiredNodePoolLoggingConfigBuilder_; /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return Whether the desiredNodePoolLoggingConfig field is set. */ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfigBuilder_ != null || desiredNodePoolLoggingConfig_ != null; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return The desiredNodePoolLoggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - return desiredNodePoolLoggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; } else { return desiredNodePoolLoggingConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public Builder setDesiredNodePoolLoggingConfig( - com.google.container.v1beta1.NodePoolLoggingConfig value) { + public Builder setDesiredNodePoolLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12409,14 +10308,11 @@ public Builder setDesiredNodePoolLoggingConfig( return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ public Builder setDesiredNodePoolLoggingConfig( com.google.container.v1beta1.NodePoolLoggingConfig.Builder builderForValue) { @@ -12430,24 +10326,17 @@ public Builder setDesiredNodePoolLoggingConfig( return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public Builder mergeDesiredNodePoolLoggingConfig( - com.google.container.v1beta1.NodePoolLoggingConfig value) { + public Builder mergeDesiredNodePoolLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (desiredNodePoolLoggingConfig_ != null) { desiredNodePoolLoggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder( - desiredNodePoolLoggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(desiredNodePoolLoggingConfig_).mergeFrom(value).buildPartial(); } else { desiredNodePoolLoggingConfig_ = value; } @@ -12459,14 +10348,11 @@ public Builder mergeDesiredNodePoolLoggingConfig( return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ public Builder clearDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { @@ -12480,70 +10366,55 @@ public Builder clearDesiredNodePoolLoggingConfig() { return this; } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public com.google.container.v1beta1.NodePoolLoggingConfig.Builder - getDesiredNodePoolLoggingConfigBuilder() { - + public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getDesiredNodePoolLoggingConfigBuilder() { + onChanged(); return getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder - getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { if (desiredNodePoolLoggingConfigBuilder_ != null) { return desiredNodePoolLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolLoggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null ? + com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; } } /** - * - * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getDesiredNodePoolLoggingConfigFieldBuilder() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - desiredNodePoolLoggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getDesiredNodePoolLoggingConfig(), getParentForChildren(), isClean()); + desiredNodePoolLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getDesiredNodePoolLoggingConfig(), + getParentForChildren(), + isClean()); desiredNodePoolLoggingConfig_ = null; } return desiredNodePoolLoggingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12553,12 +10424,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClusterUpdate) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterUpdate) private static final com.google.container.v1beta1.ClusterUpdate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClusterUpdate(); } @@ -12567,27 +10438,27 @@ public static com.google.container.v1beta1.ClusterUpdate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterUpdate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterUpdate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12602,4 +10473,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClusterUpdate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java similarity index 82% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java index 39dada4f53d1..5e299779d076 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ClusterUpdateOrBuilder - extends +public interface ClusterUpdateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClusterUpdate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -39,13 +21,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_version = 4; - * * @return The desiredNodeVersion. */ java.lang.String getDesiredNodeVersion(); /** - * - * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -59,14 +38,12 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_version = 4; - * * @return The bytes for desiredNodeVersion. */ - com.google.protobuf.ByteString getDesiredNodeVersionBytes(); + com.google.protobuf.ByteString + getDesiredNodeVersionBytes(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -80,13 +57,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_monitoring_service = 5; - * * @return The desiredMonitoringService. */ java.lang.String getDesiredMonitoringService(); /** - * - * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -100,38 +74,30 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_monitoring_service = 5; - * * @return The bytes for desiredMonitoringService. */ - com.google.protobuf.ByteString getDesiredMonitoringServiceBytes(); + com.google.protobuf.ByteString + getDesiredMonitoringServiceBytes(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; - * * @return Whether the desiredAddonsConfig field is set. */ boolean hasDesiredAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; - * * @return The desiredAddonsConfig. */ com.google.container.v1beta1.AddonsConfig getDesiredAddonsConfig(); /** - * - * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -141,8 +107,6 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder(); /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -151,13 +115,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_pool_id = 7; - * * @return The desiredNodePoolId. */ java.lang.String getDesiredNodePoolId(); /** - * - * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -166,41 +127,34 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_node_pool_id = 7; - * * @return The bytes for desiredNodePoolId. */ - com.google.protobuf.ByteString getDesiredNodePoolIdBytes(); + com.google.protobuf.ByteString + getDesiredNodePoolIdBytes(); /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The desiredImageType. */ java.lang.String getDesiredImageType(); /** - * - * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; - * * @return The bytes for desiredImageType. */ - com.google.protobuf.ByteString getDesiredImageTypeBytes(); + com.google.protobuf.ByteString + getDesiredImageTypeBytes(); /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -209,13 +163,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return Whether the desiredNodePoolAutoscaling field is set. */ boolean hasDesiredNodePoolAutoscaling(); /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -224,13 +175,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; - * * @return The desiredNodePoolAutoscaling. */ com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutoscaling(); /** - * - * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -240,12 +188,9 @@ public interface ClusterUpdateOrBuilder
    *
    * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
    */
-  com.google.container.v1beta1.NodePoolAutoscalingOrBuilder
-      getDesiredNodePoolAutoscalingOrBuilder();
+  com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -256,13 +201,11 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @return A list containing the desiredLocations. */ - java.util.List getDesiredLocationsList(); + java.util.List + getDesiredLocationsList(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -273,13 +216,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @return The count of desiredLocations. */ int getDesiredLocationsCount(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -290,14 +230,11 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ java.lang.String getDesiredLocations(int index); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -308,124 +245,85 @@ public interface ClusterUpdateOrBuilder
    * 
* * repeated string desired_locations = 10; - * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - com.google.protobuf.ByteString getDesiredLocationsBytes(int index); + com.google.protobuf.ByteString + getDesiredLocationsBytes(int index); /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ boolean hasDesiredMasterAuthorizedNetworksConfig(); /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * @return The desiredMasterAuthorizedNetworksConfig. */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfig - getDesiredMasterAuthorizedNetworksConfig(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig(); /** - * - * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; - * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder - getDesiredMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder(); /** - * - * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; * @return Whether the desiredPodSecurityPolicyConfig field is set. */ boolean hasDesiredPodSecurityPolicyConfig(); /** - * - * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; * @return The desiredPodSecurityPolicyConfig. */ com.google.container.v1beta1.PodSecurityPolicyConfig getDesiredPodSecurityPolicyConfig(); /** - * - * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; - * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; */ - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder - getDesiredPodSecurityPolicyConfigOrBuilder(); + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getDesiredPodSecurityPolicyConfigOrBuilder(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return Whether the desiredClusterAutoscaling field is set. */ boolean hasDesiredClusterAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; - * * @return The desiredClusterAutoscaling. */ com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscaling(); /** - * - * *
    * Cluster-level autoscaling configuration.
    * 
@@ -435,44 +333,33 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder(); /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; - * * @return Whether the desiredBinaryAuthorization field is set. */ boolean hasDesiredBinaryAuthorization(); /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; - * * @return The desiredBinaryAuthorization. */ com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthorization(); /** - * - * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - com.google.container.v1beta1.BinaryAuthorizationOrBuilder - getDesiredBinaryAuthorizationOrBuilder(); + com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder(); /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -486,13 +373,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_logging_service = 19; - * * @return The desiredLoggingService. */ java.lang.String getDesiredLoggingService(); /** - * - * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -506,200 +390,138 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_logging_service = 19; - * * @return The bytes for desiredLoggingService. */ - com.google.protobuf.ByteString getDesiredLoggingServiceBytes(); + com.google.protobuf.ByteString + getDesiredLoggingServiceBytes(); /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return Whether the desiredResourceUsageExportConfig field is set. */ boolean hasDesiredResourceUsageExportConfig(); /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * @return The desiredResourceUsageExportConfig. */ com.google.container.v1beta1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig(); /** - * - * *
    * The desired configuration for exporting resource usage.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; - * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; */ - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder - getDesiredResourceUsageExportConfigOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return Whether the desiredVerticalPodAutoscaling field is set. */ boolean hasDesiredVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; * @return The desiredVerticalPodAutoscaling. */ com.google.container.v1beta1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling(); /** - * - * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; - * + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder - getDesiredVerticalPodAutoscalingOrBuilder(); + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder(); /** - * - * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; * @return Whether the desiredPrivateClusterConfig field is set. */ boolean hasDesiredPrivateClusterConfig(); /** - * - * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; * @return The desiredPrivateClusterConfig. */ com.google.container.v1beta1.PrivateClusterConfig getDesiredPrivateClusterConfig(); /** - * - * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; - * + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; */ - com.google.container.v1beta1.PrivateClusterConfigOrBuilder - getDesiredPrivateClusterConfigOrBuilder(); + com.google.container.v1beta1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder(); /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ boolean hasDesiredIntraNodeVisibilityConfig(); /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * @return The desiredIntraNodeVisibilityConfig. */ com.google.container.v1beta1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig(); /** - * - * *
    * The desired config of Intra-node visibility.
    * 
* - * - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; - * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; */ - com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder - getDesiredIntraNodeVisibilityConfigOrBuilder(); + com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder(); /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return Whether the desiredDefaultSnatStatus field is set. */ boolean hasDesiredDefaultSnatStatus(); /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; - * * @return The desiredDefaultSnatStatus. */ com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatus(); /** - * - * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -709,32 +531,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder(); /** - * - * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; - * * @return Whether the desiredClusterTelemetry field is set. */ boolean hasDesiredClusterTelemetry(); /** - * - * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; - * * @return The desiredClusterTelemetry. */ com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry(); /** - * - * *
    * The desired telemetry integration for the cluster.
    * 
@@ -744,32 +558,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterTelemetryOrBuilder(); /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; - * * @return Whether the desiredReleaseChannel field is set. */ boolean hasDesiredReleaseChannel(); /** - * - * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; - * * @return The desiredReleaseChannel. */ com.google.container.v1beta1.ReleaseChannel getDesiredReleaseChannel(); /** - * - * *
    * The desired release channel configuration.
    * 
@@ -779,32 +585,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder(); /** - * - * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; - * * @return Whether the desiredTpuConfig field is set. */ boolean hasDesiredTpuConfig(); /** - * - * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; - * * @return The desiredTpuConfig. */ com.google.container.v1beta1.TpuConfig getDesiredTpuConfig(); /** - * - * *
    * The desired Cloud TPU configuration.
    * 
@@ -814,125 +612,89 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuilder(); /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; * @return Whether the desiredL4ilbSubsettingConfig field is set. */ boolean hasDesiredL4IlbSubsettingConfig(); /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; * @return The desiredL4ilbSubsettingConfig. */ com.google.container.v1beta1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig(); /** - * - * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; - * + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - com.google.container.v1beta1.ILBSubsettingConfigOrBuilder - getDesiredL4IlbSubsettingConfigOrBuilder(); + com.google.container.v1beta1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder(); /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @return The enum numeric value on the wire for desiredDatapathProvider. */ int getDesiredDatapathProviderValue(); /** - * - * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; - * * @return The desiredDatapathProvider. */ com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ int getDesiredPrivateIpv6GoogleAccessValue(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; * @return The desiredPrivateIpv6GoogleAccess. */ com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess(); /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; - * * @return Whether the desiredNotificationConfig field is set. */ boolean hasDesiredNotificationConfig(); /** - * - * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; - * * @return The desiredNotificationConfig. */ com.google.container.v1beta1.NotificationConfig getDesiredNotificationConfig(); /** - * - * *
    * The desired notification configuration.
    * 
@@ -942,8 +704,6 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder(); /** - * - * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -957,13 +717,10 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_master_version = 100; - * * @return The desiredMasterVersion. */ java.lang.String getDesiredMasterVersion(); /** - * - * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -977,38 +734,30 @@ public interface ClusterUpdateOrBuilder
    * 
* * string desired_master_version = 100; - * * @return The bytes for desiredMasterVersion. */ - com.google.protobuf.ByteString getDesiredMasterVersionBytes(); + com.google.protobuf.ByteString + getDesiredMasterVersionBytes(); /** - * - * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; - * * @return Whether the desiredGcfsConfig field is set. */ boolean hasDesiredGcfsConfig(); /** - * - * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; - * * @return The desiredGcfsConfig. */ com.google.container.v1beta1.GcfsConfig getDesiredGcfsConfig(); /** - * - * *
    * The desired GCFS config for the cluster.
    * 
@@ -1018,32 +767,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; - * * @return Whether the desiredDatabaseEncryption field is set. */ boolean hasDesiredDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; - * * @return The desiredDatabaseEncryption. */ com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncryption(); /** - * - * *
    * Configuration of etcd encryption.
    * 
@@ -1053,73 +794,53 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder(); /** - * - * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return Whether the desiredWorkloadIdentityConfig field is set. */ boolean hasDesiredWorkloadIdentityConfig(); /** - * - * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; * @return The desiredWorkloadIdentityConfig. */ com.google.container.v1beta1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig(); /** - * - * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; - * + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder - getDesiredWorkloadIdentityConfigOrBuilder(); + com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * * @return Whether the desiredWorkloadCertificates field is set. */ boolean hasDesiredWorkloadCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; - * * @return The desiredWorkloadCertificates. */ com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1127,38 +848,29 @@ public interface ClusterUpdateOrBuilder
    *
    * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61;
    */
-  com.google.container.v1beta1.WorkloadCertificatesOrBuilder
-      getDesiredWorkloadCertificatesOrBuilder();
+  com.google.container.v1beta1.WorkloadCertificatesOrBuilder getDesiredWorkloadCertificatesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; - * * @return Whether the desiredMeshCertificates field is set. */ boolean hasDesiredMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; - * * @return The desiredMeshCertificates. */ com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates(); /** - * - * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1169,32 +881,24 @@ public interface ClusterUpdateOrBuilder
   com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; - * * @return Whether the desiredWorkloadAltsConfig field is set. */ boolean hasDesiredWorkloadAltsConfig(); /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; - * * @return The desiredWorkloadAltsConfig. */ com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig(); /** - * - * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -1204,32 +908,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorkloadAltsConfigOrBuilder(); /** - * - * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; - * * @return Whether the desiredShieldedNodes field is set. */ boolean hasDesiredShieldedNodes(); /** - * - * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; - * * @return The desiredShieldedNodes. */ com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes(); /** - * - * *
    * Configuration for Shielded Nodes.
    * 
@@ -1239,71 +935,51 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder(); /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; * @return Whether the desiredCostManagementConfig field is set. */ boolean hasDesiredCostManagementConfig(); /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; * @return The desiredCostManagementConfig. */ com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig(); /** - * - * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; - * + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; */ - com.google.container.v1beta1.CostManagementConfigOrBuilder - getDesiredCostManagementConfigOrBuilder(); + com.google.container.v1beta1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder(); /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; - * * @return Whether the desiredMaster field is set. */ boolean hasDesiredMaster(); /** - * - * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; - * * @return The desiredMaster. */ com.google.container.v1beta1.Master getDesiredMaster(); /** - * - * *
    * Configuration for master components.
    * 
@@ -1313,32 +989,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; - * * @return Whether the desiredDnsConfig field is set. */ boolean hasDesiredDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; - * * @return The desiredDnsConfig. */ com.google.container.v1beta1.DNSConfig getDesiredDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -1348,122 +1016,84 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder(); /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return Whether the desiredServiceExternalIpsConfig field is set. */ boolean hasDesiredServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; * @return The desiredServiceExternalIpsConfig. */ com.google.container.v1beta1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; - * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; */ - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder - getDesiredServiceExternalIpsConfigOrBuilder(); + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder(); /** - * - * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ boolean hasDesiredAuthenticatorGroupsConfig(); /** - * - * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; * @return The desiredAuthenticatorGroupsConfig. */ com.google.container.v1beta1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig(); /** - * - * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; - * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; */ - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder - getDesiredAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder(); /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; - * * @return Whether the desiredLoggingConfig field is set. */ boolean hasDesiredLoggingConfig(); /** - * - * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; - * * @return The desiredLoggingConfig. */ com.google.container.v1beta1.LoggingConfig getDesiredLoggingConfig(); /** - * - * *
    * The desired logging configuration.
    * 
@@ -1473,32 +1103,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder(); /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; - * * @return Whether the desiredMonitoringConfig field is set. */ boolean hasDesiredMonitoringConfig(); /** - * - * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; - * * @return The desiredMonitoringConfig. */ com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig(); /** - * - * *
    * The desired monitoring configuration.
    * 
@@ -1508,138 +1130,100 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder(); /** - * - * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; * @return Whether the desiredIdentityServiceConfig field is set. */ boolean hasDesiredIdentityServiceConfig(); /** - * - * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; * @return The desiredIdentityServiceConfig. */ com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServiceConfig(); /** - * - * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; - * + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; */ - com.google.container.v1beta1.IdentityServiceConfigOrBuilder - getDesiredIdentityServiceConfigOrBuilder(); + com.google.container.v1beta1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder(); /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return Whether the desiredEnablePrivateEndpoint field is set. */ boolean hasDesiredEnablePrivateEndpoint(); /** - * - * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; - * * @return The desiredEnablePrivateEndpoint. */ boolean getDesiredEnablePrivateEndpoint(); /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ boolean hasDesiredNodePoolAutoConfigNetworkTags(); /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; * @return The desiredNodePoolAutoConfigNetworkTags. */ com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags(); /** - * - * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; - * + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; */ - com.google.container.v1beta1.NetworkTagsOrBuilder - getDesiredNodePoolAutoConfigNetworkTagsOrBuilder(); + com.google.container.v1beta1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder(); /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; - * * @return Whether the desiredProtectConfig field is set. */ boolean hasDesiredProtectConfig(); /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; - * * @return The desiredProtectConfig. */ com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig(); /** - * - * *
    * Enable/Disable Protect API features for the cluster.
    * 
@@ -1649,32 +1233,24 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConfigOrBuilder(); /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return Whether the desiredGatewayApiConfig field is set. */ boolean hasDesiredGatewayApiConfig(); /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; - * * @return The desiredGatewayApiConfig. */ com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig(); /** - * - * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -1684,41 +1260,29 @@ public interface ClusterUpdateOrBuilder com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder(); /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return Whether the desiredNodePoolLoggingConfig field is set. */ boolean hasDesiredNodePoolLoggingConfig(); /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; * @return The desiredNodePoolLoggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig(); /** - * - * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; - * + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder - getDesiredNodePoolLoggingConfigOrBuilder(); + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java index 8cd04ba7cda5..1f3182ff100b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
  * 
* * Protobuf type {@code google.container.v1beta1.CompleteIPRotationRequest} */ -public final class CompleteIPRotationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompleteIPRotationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CompleteIPRotationRequest) CompleteIPRotationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompleteIPRotationRequest.newBuilder() to construct. private CompleteIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompleteIPRotationRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private CompleteIPRotationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompleteIPRotationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CompleteIPRotationRequest.class, - com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1beta1.CompleteIPRotationRequest.class, com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -271,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -303,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -357,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CompleteIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CompleteIPRotationRequest other = - (com.google.container.v1beta1.CompleteIPRotationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.CompleteIPRotationRequest other = (com.google.container.v1beta1.CompleteIPRotationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,136 +356,129 @@ public int hashCode() { } public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( 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.CompleteIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.CompleteIPRotationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.CompleteIPRotationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.CompleteIPRotationRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.CompleteIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
    * 
* * Protobuf type {@code google.container.v1beta1.CompleteIPRotationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CompleteIPRotationRequest) com.google.container.v1beta1.CompleteIPRotationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CompleteIPRotationRequest.class, - com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1beta1.CompleteIPRotationRequest.class, com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); } // Construct using com.google.container.v1beta1.CompleteIPRotationRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; } @java.lang.Override @@ -560,8 +515,7 @@ public com.google.container.v1beta1.CompleteIPRotationRequest build() { @java.lang.Override public com.google.container.v1beta1.CompleteIPRotationRequest buildPartial() { - com.google.container.v1beta1.CompleteIPRotationRequest result = - new com.google.container.v1beta1.CompleteIPRotationRequest(this); + com.google.container.v1beta1.CompleteIPRotationRequest result = new com.google.container.v1beta1.CompleteIPRotationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -574,39 +528,38 @@ public com.google.container.v1beta1.CompleteIPRotationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CompleteIPRotationRequest) { - return mergeFrom((com.google.container.v1beta1.CompleteIPRotationRequest) other); + return mergeFrom((com.google.container.v1beta1.CompleteIPRotationRequest)other); } else { super.mergeFrom(other); return this; @@ -614,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CompleteIPRotationRequest other) { - if (other == com.google.container.v1beta1.CompleteIPRotationRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.CompleteIPRotationRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -658,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 58: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 58: { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -701,26 +648,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -729,27 +672,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -757,79 +697,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -837,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,16 +772,15 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -865,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -875,17 +797,17 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -893,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -903,25 +823,22 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -930,21 +847,17 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -953,19 +866,18 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -973,25 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1000,26 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1027,76 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1104,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1127,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1150,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1224,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CompleteIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CompleteIPRotationRequest) private static final com.google.container.v1beta1.CompleteIPRotationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CompleteIPRotationRequest(); } @@ -1238,27 +1120,27 @@ public static com.google.container.v1beta1.CompleteIPRotationRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1273,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.CompleteIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java index a0f1a1b07a17..68a2495ba8ae 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface CompleteIPRotationRequestOrBuilder - extends +public interface CompleteIPRotationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CompleteIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4126 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4131 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,73 +58,58 @@ 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=4135 + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4140 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4142 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4147 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java index 36c694feb641..7bf4e6943b9f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
  * upgrade.
@@ -28,52 +11,47 @@
  *
  * Protobuf type {@code google.container.v1beta1.CompleteNodePoolUpgradeRequest}
  */
-public final class CompleteNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CompleteNodePoolUpgradeRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.CompleteNodePoolUpgradeRequest)
     CompleteNodePoolUpgradeRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CompleteNodePoolUpgradeRequest.newBuilder() to construct.
-  private CompleteNodePoolUpgradeRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CompleteNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CompleteNodePoolUpgradeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CompleteNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class,
-            com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -90,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -106,15 +82,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CompleteNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other = - (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) obj; + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other = (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,104 +164,96 @@ public int hashCode() { } public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( 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.CompleteNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
    * upgrade.
@@ -292,32 +261,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.CompleteNodePoolUpgradeRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CompleteNodePoolUpgradeRequest)
       com.google.container.v1beta1.CompleteNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class,
-              com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +297,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,8 +318,7 @@ public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1beta1.CompleteNodePoolUpgradeRequest result =
-          new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(this);
+      com.google.container.v1beta1.CompleteNodePoolUpgradeRequest result = new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -359,39 +328,38 @@ public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) other);
+        return mergeFrom((com.google.container.v1beta1.CompleteNodePoolUpgradeRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,8 +367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -431,19 +398,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -456,8 +421,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -465,13 +428,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -480,8 +443,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -489,14 +450,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -504,8 +466,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -513,22 +473,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -536,18 +494,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -555,23 +510,23 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -581,12 +536,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CompleteNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CompleteNodePoolUpgradeRequest) private static final com.google.container.v1beta1.CompleteNodePoolUpgradeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(); } @@ -595,27 +550,27 @@ public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -630,4 +585,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java similarity index 56% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java index c0b9e9994b69..bf2754a63d4f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface CompleteNodePoolUpgradeRequestOrBuilder - extends +public interface CompleteNodePoolUpgradeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CompleteNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -33,13 +15,10 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -47,8 +26,8 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java index d91a55907402..90ad5cc17022 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ConfidentialNodes is configuration for the confidential nodes feature, which
  * makes nodes run on confidential VMs.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.ConfidentialNodes}
  */
-public final class ConfidentialNodes extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ConfidentialNodes extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ConfidentialNodes)
     ConfidentialNodesOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ConfidentialNodes.newBuilder() to construct.
   private ConfidentialNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ConfidentialNodes() {}
+  private ConfidentialNodes() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ConfidentialNodes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ConfidentialNodes.class,
-            com.google.container.v1beta1.ConfidentialNodes.Builder.class);
+            com.google.container.v1beta1.ConfidentialNodes.class, com.google.container.v1beta1.ConfidentialNodes.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ConfidentialNodes)) { return super.equals(obj); } - com.google.container.v1beta1.ConfidentialNodes other = - (com.google.container.v1beta1.ConfidentialNodes) obj; + com.google.container.v1beta1.ConfidentialNodes other = (com.google.container.v1beta1.ConfidentialNodes) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ConfidentialNodes parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfidentialNodes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom( 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.ConfidentialNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ConfidentialNodes parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ConfidentialNodes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ConfidentialNodes parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ConfidentialNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ConfidentialNodes is configuration for the confidential nodes feature, which
    * makes nodes run on confidential VMs.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ConfidentialNodes}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ConfidentialNodes)
       com.google.container.v1beta1.ConfidentialNodesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ConfidentialNodes.class,
-              com.google.container.v1beta1.ConfidentialNodes.Builder.class);
+              com.google.container.v1beta1.ConfidentialNodes.class, com.google.container.v1beta1.ConfidentialNodes.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ConfidentialNodes.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1beta1.ConfidentialNodes build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ConfidentialNodes buildPartial() {
-      com.google.container.v1beta1.ConfidentialNodes result =
-          new com.google.container.v1beta1.ConfidentialNodes(this);
+      com.google.container.v1beta1.ConfidentialNodes result = new com.google.container.v1beta1.ConfidentialNodes(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1beta1.ConfidentialNodes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ConfidentialNodes) {
-        return mergeFrom((com.google.container.v1beta1.ConfidentialNodes) other);
+        return mergeFrom((com.google.container.v1beta1.ConfidentialNodes)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -413,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -430,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ConfidentialNodes) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ConfidentialNodes) private static final com.google.container.v1beta1.ConfidentialNodes DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ConfidentialNodes(); } @@ -490,27 +452,27 @@ public static com.google.container.v1beta1.ConfidentialNodes getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfidentialNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfidentialNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ConfidentialNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java new file mode 100644 index 000000000000..0e919cb0e8ba --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ConfidentialNodesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ConfidentialNodes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Confidential Nodes feature is enabled.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java index e0b6a76edb99..38c5468d62cc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration options for the Config Connector add-on.
  * 
* * Protobuf type {@code google.container.v1beta1.ConfigConnectorConfig} */ -public final class ConfigConnectorConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConfigConnectorConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ConfigConnectorConfig) ConfigConnectorConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConfigConnectorConfig.newBuilder() to construct. private ConfigConnectorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConfigConnectorConfig() {} + private ConfigConnectorConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConfigConnectorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ConfigConnectorConfig.class, - com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); + com.google.container.v1beta1.ConfigConnectorConfig.class, com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Cloud Connector is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ConfigConnectorConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ConfigConnectorConfig other = - (com.google.container.v1beta1.ConfigConnectorConfig) obj; + com.google.container.v1beta1.ConfigConnectorConfig other = (com.google.container.v1beta1.ConfigConnectorConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfigConnectorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( 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.ConfigConnectorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ConfigConnectorConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ConfigConnectorConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ConfigConnectorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the Config Connector add-on.
    * 
* * Protobuf type {@code google.container.v1beta1.ConfigConnectorConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ConfigConnectorConfig) com.google.container.v1beta1.ConfigConnectorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ConfigConnectorConfig.class, - com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); + com.google.container.v1beta1.ConfigConnectorConfig.class, com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); } // Construct using com.google.container.v1beta1.ConfigConnectorConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.ConfigConnectorConfig build() { @java.lang.Override public com.google.container.v1beta1.ConfigConnectorConfig buildPartial() { - com.google.container.v1beta1.ConfigConnectorConfig result = - new com.google.container.v1beta1.ConfigConnectorConfig(this); + com.google.container.v1beta1.ConfigConnectorConfig result = new com.google.container.v1beta1.ConfigConnectorConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.ConfigConnectorConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ConfigConnectorConfig) { - return mergeFrom((com.google.container.v1beta1.ConfigConnectorConfig) other); + return mergeFrom((com.google.container.v1beta1.ConfigConnectorConfig)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ConfigConnectorConfig other) { - if (other == com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ConfigConnectorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ConfigConnectorConfig) private static final com.google.container.v1beta1.ConfigConnectorConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ConfigConnectorConfig(); } @@ -489,27 +450,27 @@ public static com.google.container.v1beta1.ConfigConnectorConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigConnectorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigConnectorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ConfigConnectorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java new file mode 100644 index 000000000000..c731dede7cd0 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ConfigConnectorConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ConfigConnectorConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Cloud Connector is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java index 09b2064c2ac6..9e73e1928b63 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for fine-grained cost management feature.
  * 
* * Protobuf type {@code google.container.v1beta1.CostManagementConfig} */ -public final class CostManagementConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CostManagementConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CostManagementConfig) CostManagementConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CostManagementConfig.newBuilder() to construct. private CostManagementConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CostManagementConfig() {} + private CostManagementConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CostManagementConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CostManagementConfig.class, - com.google.container.v1beta1.CostManagementConfig.Builder.class); + com.google.container.v1beta1.CostManagementConfig.class, com.google.container.v1beta1.CostManagementConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the feature is enabled or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CostManagementConfig)) { return super.equals(obj); } - com.google.container.v1beta1.CostManagementConfig other = - (com.google.container.v1beta1.CostManagementConfig) obj; + com.google.container.v1beta1.CostManagementConfig other = (com.google.container.v1beta1.CostManagementConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.CostManagementConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CostManagementConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CostManagementConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CostManagementConfig parseFrom( 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.CostManagementConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CostManagementConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.CostManagementConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.CostManagementConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CostManagementConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.CostManagementConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.CostManagementConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CostManagementConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CostManagementConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CostManagementConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.CostManagementConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for fine-grained cost management feature.
    * 
* * Protobuf type {@code google.container.v1beta1.CostManagementConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CostManagementConfig) com.google.container.v1beta1.CostManagementConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CostManagementConfig.class, - com.google.container.v1beta1.CostManagementConfig.Builder.class); + com.google.container.v1beta1.CostManagementConfig.class, com.google.container.v1beta1.CostManagementConfig.Builder.class); } // Construct using com.google.container.v1beta1.CostManagementConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.CostManagementConfig build() { @java.lang.Override public com.google.container.v1beta1.CostManagementConfig buildPartial() { - com.google.container.v1beta1.CostManagementConfig result = - new com.google.container.v1beta1.CostManagementConfig(this); + com.google.container.v1beta1.CostManagementConfig result = new com.google.container.v1beta1.CostManagementConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.CostManagementConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CostManagementConfig) { - return mergeFrom((com.google.container.v1beta1.CostManagementConfig) other); + return mergeFrom((com.google.container.v1beta1.CostManagementConfig)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CostManagementConfig other) { - if (other == com.google.container.v1beta1.CostManagementConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.CostManagementConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CostManagementConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CostManagementConfig) private static final com.google.container.v1beta1.CostManagementConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CostManagementConfig(); } @@ -489,27 +450,27 @@ public static com.google.container.v1beta1.CostManagementConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CostManagementConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CostManagementConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CostManagementConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java new file mode 100644 index 000000000000..3edefb9a590d --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface CostManagementConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CostManagementConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the feature is enabled or not.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index 0efcfa12ecce..09d4eb954005 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * CreateClusterRequest creates a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -45,84 +27,76 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateClusterRequest.class, - com.google.container.v1beta1.CreateClusterRequest.Builder.class); + com.google.container.v1beta1.CreateClusterRequest.class, com.google.container.v1beta1.CreateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +115,24 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +141,18 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,16 +163,12 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.container.v1beta1.Cluster cluster_; /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -211,16 +176,12 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -228,15 +189,12 @@ public com.google.container.v1beta1.Cluster getCluster() { return cluster_ == null ? com.google.container.v1beta1.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { @@ -246,15 +204,12 @@ public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -263,30 +218,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -295,7 +250,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -336,7 +291,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); @@ -349,21 +305,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CreateClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CreateClusterRequest other = - (com.google.container.v1beta1.CreateClusterRequest) obj; + com.google.container.v1beta1.CreateClusterRequest other = (com.google.container.v1beta1.CreateClusterRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -391,135 +350,129 @@ public int hashCode() { } public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CreateClusterRequest parseFrom( 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.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.CreateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CreateClusterRequest creates a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CreateClusterRequest) com.google.container.v1beta1.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateClusterRequest.class, - com.google.container.v1beta1.CreateClusterRequest.Builder.class); + com.google.container.v1beta1.CreateClusterRequest.class, com.google.container.v1beta1.CreateClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.CreateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +492,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; } @java.lang.Override @@ -560,8 +513,7 @@ public com.google.container.v1beta1.CreateClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.CreateClusterRequest buildPartial() { - com.google.container.v1beta1.CreateClusterRequest result = - new com.google.container.v1beta1.CreateClusterRequest(this); + com.google.container.v1beta1.CreateClusterRequest result = new com.google.container.v1beta1.CreateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; if (clusterBuilder_ == null) { @@ -578,39 +530,38 @@ public com.google.container.v1beta1.CreateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CreateClusterRequest) { - return mergeFrom((com.google.container.v1beta1.CreateClusterRequest) other); + return mergeFrom((com.google.container.v1beta1.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -618,8 +569,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CreateClusterRequest other) { - if (other == com.google.container.v1beta1.CreateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.CreateClusterRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -661,37 +611,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 42: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -704,26 +651,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -732,27 +675,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -760,79 +700,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -840,8 +767,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -850,16 +775,15 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -868,8 +792,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -878,17 +800,17 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -896,8 +818,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -906,25 +826,22 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -933,21 +850,17 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -956,19 +869,18 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -976,61 +888,42 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Cluster, - com.google.container.v1beta1.Cluster.Builder, - com.google.container.v1beta1.ClusterOrBuilder> - clusterBuilder_; + com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.container.v1beta1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.container.v1beta1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.container.v1beta1.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.container.v1beta1.Cluster value) { if (clusterBuilder_ == null) { @@ -1046,18 +939,15 @@ public Builder setCluster(com.google.container.v1beta1.Cluster value) { return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.container.v1beta1.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.container.v1beta1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); onChanged(); @@ -1068,24 +958,18 @@ public Builder setCluster(com.google.container.v1beta1.Cluster.Builder builderFo return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.container.v1beta1.Cluster value) { if (clusterBuilder_ == null) { if (cluster_ != null) { cluster_ = - com.google.container.v1beta1.Cluster.newBuilder(cluster_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); } else { cluster_ = value; } @@ -1097,16 +981,12 @@ public Builder mergeCluster(com.google.container.v1beta1.Cluster value) { return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { if (clusterBuilder_ == null) { @@ -1120,67 +1000,51 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.Cluster.Builder getClusterBuilder() { - + onChanged(); return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.container.v1beta1.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.container.v1beta1.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Cluster, - com.google.container.v1beta1.Cluster.Builder, - com.google.container.v1beta1.ClusterOrBuilder> + com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Cluster, - com.google.container.v1beta1.Cluster.Builder, - com.google.container.v1beta1.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -1188,21 +1052,19 @@ public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1211,22 +1073,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1234,71 +1095,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1308,12 +1162,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CreateClusterRequest) private static final com.google.container.v1beta1.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CreateClusterRequest(); } @@ -1322,27 +1176,27 @@ public static com.google.container.v1beta1.CreateClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1357,4 +1211,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java index 57b1bca91f4a..bfff89dac84d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface CreateClusterRequestOrBuilder - extends +public interface CreateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2361 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2363 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,79 +58,62 @@ 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=2370 + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.container.v1beta1.Cluster getCluster(); /** - * - * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java index f9d3ddb34d65..7af7c4276d9d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * CreateNodePoolRequest creates a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.CreateNodePoolRequest} */ -public final class CreateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CreateNodePoolRequest) CreateNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateNodePoolRequest.newBuilder() to construct. private CreateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private CreateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateNodePoolRequest.class, - com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); + com.google.container.v1beta1.CreateNodePoolRequest.class, com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,16 +216,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodePool nodePool_; /** - * - * *
    * Required. The node pool to create.
    * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nodePool field is set. */ @java.lang.Override @@ -271,34 +228,23 @@ public boolean hasNodePool() { return nodePool_ != null; } /** - * - * *
    * Required. The node pool to create.
    * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The nodePool. */ @java.lang.Override public com.google.container.v1beta1.NodePool getNodePool() { - return nodePool_ == null - ? com.google.container.v1beta1.NodePool.getDefaultInstance() - : nodePool_; + return nodePool_ == null ? com.google.container.v1beta1.NodePool.getDefaultInstance() : nodePool_; } /** - * - * *
    * Required. The node pool to create.
    * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { @@ -308,8 +254,6 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { public static final int PARENT_FIELD_NUMBER = 6; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -317,7 +261,6 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() {
    * 
* * string parent = 6; - * * @return The parent. */ @java.lang.Override @@ -326,15 +269,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -342,15 +284,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 6; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -359,7 +302,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -371,7 +313,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -406,7 +349,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (nodePool_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodePool()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, parent_); @@ -419,22 +363,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CreateNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CreateNodePoolRequest other = - (com.google.container.v1beta1.CreateNodePoolRequest) obj; + com.google.container.v1beta1.CreateNodePoolRequest other = (com.google.container.v1beta1.CreateNodePoolRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasNodePool() != other.hasNodePool()) return false; if (hasNodePool()) { - if (!getNodePool().equals(other.getNodePool())) return false; + if (!getNodePool() + .equals(other.getNodePool())) return false; } - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -464,135 +412,129 @@ public int hashCode() { } public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( 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.CreateNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.CreateNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.CreateNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.CreateNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * CreateNodePoolRequest creates a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.CreateNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CreateNodePoolRequest) com.google.container.v1beta1.CreateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateNodePoolRequest.class, - com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); + com.google.container.v1beta1.CreateNodePoolRequest.class, com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.CreateNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +556,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; } @java.lang.Override @@ -635,8 +577,7 @@ public com.google.container.v1beta1.CreateNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.CreateNodePoolRequest buildPartial() { - com.google.container.v1beta1.CreateNodePoolRequest result = - new com.google.container.v1beta1.CreateNodePoolRequest(this); + com.google.container.v1beta1.CreateNodePoolRequest result = new com.google.container.v1beta1.CreateNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -654,39 +595,38 @@ public com.google.container.v1beta1.CreateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CreateNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.CreateNodePoolRequest) other); + return mergeFrom((com.google.container.v1beta1.CreateNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -694,8 +634,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CreateNodePoolRequest other) { - if (other == com.google.container.v1beta1.CreateNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.CreateNodePoolRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -741,43 +680,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getNodePoolFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getNodePoolFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 50: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -790,26 +725,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -818,27 +749,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -846,79 +774,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -926,8 +841,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -936,16 +849,15 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -954,8 +866,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -964,17 +874,17 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -982,8 +892,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -992,25 +900,22 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1019,21 +924,17 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1042,19 +943,18 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1062,25 +962,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1089,26 +985,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1116,76 +1009,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1193,58 +1073,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodePool nodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool, - com.google.container.v1beta1.NodePool.Builder, - com.google.container.v1beta1.NodePoolOrBuilder> - nodePoolBuilder_; + com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> nodePoolBuilder_; /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nodePool field is set. */ public boolean hasNodePool() { return nodePoolBuilder_ != null || nodePool_ != null; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The nodePool. */ public com.google.container.v1beta1.NodePool getNodePool() { if (nodePoolBuilder_ == null) { - return nodePool_ == null - ? com.google.container.v1beta1.NodePool.getDefaultInstance() - : nodePool_; + return nodePool_ == null ? com.google.container.v1beta1.NodePool.getDefaultInstance() : nodePool_; } else { return nodePoolBuilder_.getMessage(); } } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNodePool(com.google.container.v1beta1.NodePool value) { if (nodePoolBuilder_ == null) { @@ -1260,17 +1121,14 @@ public Builder setNodePool(com.google.container.v1beta1.NodePool value) { return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setNodePool(com.google.container.v1beta1.NodePool.Builder builderForValue) { + public Builder setNodePool( + com.google.container.v1beta1.NodePool.Builder builderForValue) { if (nodePoolBuilder_ == null) { nodePool_ = builderForValue.build(); onChanged(); @@ -1281,23 +1139,17 @@ public Builder setNodePool(com.google.container.v1beta1.NodePool.Builder builder return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNodePool(com.google.container.v1beta1.NodePool value) { if (nodePoolBuilder_ == null) { if (nodePool_ != null) { nodePool_ = - com.google.container.v1beta1.NodePool.newBuilder(nodePool_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePool.newBuilder(nodePool_).mergeFrom(value).buildPartial(); } else { nodePool_ = value; } @@ -1309,15 +1161,11 @@ public Builder mergeNodePool(com.google.container.v1beta1.NodePool value) { return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNodePool() { if (nodePoolBuilder_ == null) { @@ -1331,64 +1179,48 @@ public Builder clearNodePool() { return this; } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NodePool.Builder getNodePoolBuilder() { - + onChanged(); return getNodePoolFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { if (nodePoolBuilder_ != null) { return nodePoolBuilder_.getMessageOrBuilder(); } else { - return nodePool_ == null - ? com.google.container.v1beta1.NodePool.getDefaultInstance() - : nodePool_; + return nodePool_ == null ? + com.google.container.v1beta1.NodePool.getDefaultInstance() : nodePool_; } } /** - * - * *
      * Required. The node pool to create.
      * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool, - com.google.container.v1beta1.NodePool.Builder, - com.google.container.v1beta1.NodePoolOrBuilder> + com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> getNodePoolFieldBuilder() { if (nodePoolBuilder_ == null) { - nodePoolBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool, - com.google.container.v1beta1.NodePool.Builder, - com.google.container.v1beta1.NodePoolOrBuilder>( - getNodePool(), getParentForChildren(), isClean()); + nodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder>( + getNodePool(), + getParentForChildren(), + isClean()); nodePool_ = null; } return nodePoolBuilder_; @@ -1396,8 +1228,6 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1405,13 +1235,13 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() {
      * 
* * string parent = 6; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1420,8 +1250,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1429,14 +1257,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 6; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1444,8 +1273,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1453,22 +1280,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 6; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1476,18 +1301,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 6; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1495,23 +1317,23 @@ public Builder clearParent() {
      * 
* * string parent = 6; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1521,12 +1343,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CreateNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CreateNodePoolRequest) private static final com.google.container.v1beta1.CreateNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CreateNodePoolRequest(); } @@ -1535,27 +1357,27 @@ public static com.google.container.v1beta1.CreateNodePoolRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1570,4 +1392,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CreateNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java index 1ec270abfc9d..5ce4b0fe647a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface CreateNodePoolRequestOrBuilder - extends +public interface CreateNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CreateNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3124 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3129 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,93 +58,67 @@ 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=3133 + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3138 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3140 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The node pool to create.
    * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the nodePool field is set. */ boolean hasNodePool(); /** - * - * *
    * Required. The node pool to create.
    * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The nodePool. */ com.google.container.v1beta1.NodePool getNodePool(); /** - * - * *
    * Required. The node pool to create.
    * 
* - * - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder(); /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -183,13 +126,10 @@ public interface CreateNodePoolRequestOrBuilder
    * 
* * string parent = 6; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -197,8 +137,8 @@ public interface CreateNodePoolRequestOrBuilder
    * 
* * string parent = 6; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java index 96e3a32bb519..610d3fd89979 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * DNSConfig contains the desired set of options for configuring clusterDNS.
  * 
* * Protobuf type {@code google.container.v1beta1.DNSConfig} */ -public final class DNSConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DNSConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DNSConfig) DNSConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DNSConfig.newBuilder() to construct. private DNSConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DNSConfig() { clusterDns_ = 0; clusterDnsScope_ = 0; @@ -45,43 +27,39 @@ private DNSConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DNSConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DNSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DNSConfig.class, - com.google.container.v1beta1.DNSConfig.Builder.class); + com.google.container.v1beta1.DNSConfig.class, com.google.container.v1beta1.DNSConfig.Builder.class); } /** - * - * *
    * Provider lists the various in-cluster DNS providers.
    * 
* * Protobuf enum {@code google.container.v1beta1.DNSConfig.Provider} */ - public enum Provider implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value
      * 
@@ -90,8 +68,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ PROVIDER_UNSPECIFIED(0), /** - * - * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -100,8 +76,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ PLATFORM_DEFAULT(1), /** - * - * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -113,8 +87,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value
      * 
@@ -123,8 +95,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -133,8 +103,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PLATFORM_DEFAULT_VALUE = 1; /** - * - * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -143,6 +111,7 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLOUD_DNS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,49 +136,49 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: - return PROVIDER_UNSPECIFIED; - case 1: - return PLATFORM_DEFAULT; - case 2: - return CLOUD_DNS; - default: - return null; + case 0: return PROVIDER_UNSPECIFIED; + case 1: return PLATFORM_DEFAULT; + case 2: return CLOUD_DNS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Provider> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.DNSConfig.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -227,18 +196,15 @@ private Provider(int value) { } /** - * - * *
    * DNSScope lists the various scopes of access to cluster DNS records.
    * 
* * Protobuf enum {@code google.container.v1beta1.DNSConfig.DNSScope} */ - public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { + public enum DNSScope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -247,8 +213,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ DNS_SCOPE_UNSPECIFIED(0), /** - * - * *
      * DNS records are accessible from within the cluster.
      * 
@@ -257,8 +221,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ CLUSTER_SCOPE(1), /** - * - * *
      * DNS records are accessible from within the VPC.
      * 
@@ -270,8 +232,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -280,8 +240,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DNS_SCOPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * DNS records are accessible from within the cluster.
      * 
@@ -290,8 +248,6 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CLUSTER_SCOPE_VALUE = 1; /** - * - * *
      * DNS records are accessible from within the VPC.
      * 
@@ -300,6 +256,7 @@ public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VPC_SCOPE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -324,49 +281,49 @@ public static DNSScope valueOf(int value) { */ public static DNSScope forNumber(int value) { switch (value) { - case 0: - return DNS_SCOPE_UNSPECIFIED; - case 1: - return CLUSTER_SCOPE; - case 2: - return VPC_SCOPE; - default: - return null; + case 0: return DNS_SCOPE_UNSPECIFIED; + case 1: return CLUSTER_SCOPE; + case 2: return VPC_SCOPE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + DNSScope> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DNSScope findValueByNumber(int number) { + return DNSScope.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DNSScope findValueByNumber(int number) { - return DNSScope.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.DNSConfig.getDescriptor().getEnumTypes().get(1); } private static final DNSScope[] VALUES = values(); - public static DNSScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DNSScope valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -386,86 +343,65 @@ private DNSScope(int value) { public static final int CLUSTER_DNS_FIELD_NUMBER = 1; private int clusterDns_; /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override - public int getClusterDnsValue() { + @java.lang.Override public int getClusterDnsValue() { return clusterDns_; } /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @return The clusterDns. */ - @java.lang.Override - public com.google.container.v1beta1.DNSConfig.Provider getClusterDns() { + @java.lang.Override public com.google.container.v1beta1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.Provider result = - com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1beta1.DNSConfig.Provider result = com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1beta1.DNSConfig.Provider.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_SCOPE_FIELD_NUMBER = 2; private int clusterDnsScope_; /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override - public int getClusterDnsScopeValue() { + @java.lang.Override public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The clusterDnsScope. */ - @java.lang.Override - public com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope() { + @java.lang.Override public com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.DNSScope result = - com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1beta1.DNSConfig.DNSScope result = com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1beta1.DNSConfig.DNSScope.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_DOMAIN_FIELD_NUMBER = 3; private volatile java.lang.Object clusterDnsDomain_; /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The clusterDnsDomain. */ @java.lang.Override @@ -474,29 +410,29 @@ public java.lang.String getClusterDnsDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; } } /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The bytes for clusterDnsDomain. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString + getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -505,7 +441,6 @@ public com.google.protobuf.ByteString getClusterDnsDomainBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -517,13 +452,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (clusterDns_ - != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (clusterDns_ != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, clusterDns_); } - if (clusterDnsScope_ - != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + if (clusterDnsScope_ != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { @@ -538,13 +472,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (clusterDns_ - != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, clusterDns_); + if (clusterDns_ != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, clusterDns_); } - if (clusterDnsScope_ - != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, clusterDnsScope_); + if (clusterDnsScope_ != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterDnsDomain_); @@ -557,7 +491,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DNSConfig)) { return super.equals(obj); @@ -566,7 +500,8 @@ public boolean equals(final java.lang.Object obj) { if (clusterDns_ != other.clusterDns_) return false; if (clusterDnsScope_ != other.clusterDnsScope_) return false; - if (!getClusterDnsDomain().equals(other.getClusterDnsDomain())) return false; + if (!getClusterDnsDomain() + .equals(other.getClusterDnsDomain())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -589,136 +524,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.DNSConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DNSConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DNSConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DNSConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DNSConfig parseFrom( 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.DNSConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DNSConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.DNSConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DNSConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DNSConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DNSConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DNSConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DNSConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.DNSConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DNSConfig contains the desired set of options for configuring clusterDNS.
    * 
* * Protobuf type {@code google.container.v1beta1.DNSConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DNSConfig) com.google.container.v1beta1.DNSConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DNSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DNSConfig.class, - com.google.container.v1beta1.DNSConfig.Builder.class); + com.google.container.v1beta1.DNSConfig.class, com.google.container.v1beta1.DNSConfig.Builder.class); } // Construct using com.google.container.v1beta1.DNSConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +661,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DNSConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_descriptor; } @java.lang.Override @@ -753,8 +682,7 @@ public com.google.container.v1beta1.DNSConfig build() { @java.lang.Override public com.google.container.v1beta1.DNSConfig buildPartial() { - com.google.container.v1beta1.DNSConfig result = - new com.google.container.v1beta1.DNSConfig(this); + com.google.container.v1beta1.DNSConfig result = new com.google.container.v1beta1.DNSConfig(this); result.clusterDns_ = clusterDns_; result.clusterDnsScope_ = clusterDnsScope_; result.clusterDnsDomain_ = clusterDnsDomain_; @@ -766,39 +694,38 @@ public com.google.container.v1beta1.DNSConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DNSConfig) { - return mergeFrom((com.google.container.v1beta1.DNSConfig) other); + return mergeFrom((com.google.container.v1beta1.DNSConfig)other); } else { super.mergeFrom(other); return this; @@ -843,31 +770,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - clusterDns_ = input.readEnum(); - - break; - } // case 8 - case 16: - { - clusterDnsScope_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - clusterDnsDomain_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + clusterDns_ = input.readEnum(); + + break; + } // case 8 + case 16: { + clusterDnsScope_ = input.readEnum(); + + break; + } // case 16 + case 26: { + clusterDnsDomain_ = input.readStringRequireUtf8(); + + 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) { @@ -880,65 +803,51 @@ public Builder mergeFrom( private int clusterDns_ = 0; /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override - public int getClusterDnsValue() { + @java.lang.Override public int getClusterDnsValue() { return clusterDns_; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @param value The enum numeric value on the wire for clusterDns to set. * @return This builder for chaining. */ public Builder setClusterDnsValue(int value) { - + clusterDns_ = value; onChanged(); return this; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @return The clusterDns. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.Provider result = - com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1beta1.DNSConfig.Provider result = com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1beta1.DNSConfig.Provider.UNRECOGNIZED : result; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @param value The clusterDns to set. * @return This builder for chaining. */ @@ -946,24 +855,21 @@ public Builder setClusterDns(com.google.container.v1beta1.DNSConfig.Provider val if (value == null) { throw new NullPointerException(); } - + clusterDns_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @return This builder for chaining. */ public Builder clearClusterDns() { - + clusterDns_ = 0; onChanged(); return this; @@ -971,65 +877,51 @@ public Builder clearClusterDns() { private int clusterDnsScope_ = 0; /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override - public int getClusterDnsScopeValue() { + @java.lang.Override public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @param value The enum numeric value on the wire for clusterDnsScope to set. * @return This builder for chaining. */ public Builder setClusterDnsScopeValue(int value) { - + clusterDnsScope_ = value; onChanged(); return this; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The clusterDnsScope. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.DNSScope result = - com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1beta1.DNSConfig.DNSScope result = com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1beta1.DNSConfig.DNSScope.UNRECOGNIZED : result; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @param value The clusterDnsScope to set. * @return This builder for chaining. */ @@ -1037,24 +929,21 @@ public Builder setClusterDnsScope(com.google.container.v1beta1.DNSConfig.DNSScop if (value == null) { throw new NullPointerException(); } - + clusterDnsScope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return This builder for chaining. */ public Builder clearClusterDnsScope() { - + clusterDnsScope_ = 0; onChanged(); return this; @@ -1062,20 +951,18 @@ public Builder clearClusterDnsScope() { private java.lang.Object clusterDnsDomain_ = ""; /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @return The clusterDnsDomain. */ public java.lang.String getClusterDnsDomain() { java.lang.Object ref = clusterDnsDomain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; @@ -1084,21 +971,20 @@ public java.lang.String getClusterDnsDomain() { } } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @return The bytes for clusterDnsDomain. */ - public com.google.protobuf.ByteString getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString + getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -1106,68 +992,61 @@ public com.google.protobuf.ByteString getClusterDnsDomainBytes() { } } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @param value The clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomain(java.lang.String value) { + public Builder setClusterDnsDomain( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterDnsDomain_ = value; onChanged(); return this; } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @return This builder for chaining. */ public Builder clearClusterDnsDomain() { - + clusterDnsDomain_ = getDefaultInstance().getClusterDnsDomain(); onChanged(); return this; } /** - * - * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; - * * @param value The bytes for clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomainBytes(com.google.protobuf.ByteString value) { + public Builder setClusterDnsDomainBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterDnsDomain_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1177,12 +1056,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DNSConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DNSConfig) private static final com.google.container.v1beta1.DNSConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DNSConfig(); } @@ -1191,27 +1070,27 @@ public static com.google.container.v1beta1.DNSConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DNSConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DNSConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1226,4 +1105,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DNSConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java index 6c416db2f05f..990a3e6011e7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java @@ -1,100 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface DNSConfigOrBuilder - extends +public interface DNSConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DNSConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @return The enum numeric value on the wire for clusterDns. */ int getClusterDnsValue(); /** - * - * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; - * * @return The clusterDns. */ com.google.container.v1beta1.DNSConfig.Provider getClusterDns(); /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The enum numeric value on the wire for clusterDnsScope. */ int getClusterDnsScopeValue(); /** - * - * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; - * * @return The clusterDnsScope. */ com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope(); /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The clusterDnsDomain. */ java.lang.String getClusterDnsDomain(); /** - * - * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; - * * @return The bytes for clusterDnsDomain. */ - com.google.protobuf.ByteString getClusterDnsDomainBytes(); + com.google.protobuf.ByteString + getClusterDnsDomainBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java index 883cf835beb2..f5ec0ec0b8bf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Time window specified for daily maintenance operations.
  * 
* * Protobuf type {@code google.container.v1beta1.DailyMaintenanceWindow} */ -public final class DailyMaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DailyMaintenanceWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DailyMaintenanceWindow) DailyMaintenanceWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DailyMaintenanceWindow.newBuilder() to construct. private DailyMaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DailyMaintenanceWindow() { startTime_ = ""; duration_ = ""; @@ -44,42 +26,38 @@ private DailyMaintenanceWindow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DailyMaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DailyMaintenanceWindow.class, - com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1beta1.DailyMaintenanceWindow.class, com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 2; private volatile java.lang.Object startTime_; /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -88,30 +66,30 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; - * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -122,15 +100,12 @@ public com.google.protobuf.ByteString getStartTimeBytes() { public static final int DURATION_FIELD_NUMBER = 3; private volatile java.lang.Object duration_; /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; - * * @return The duration. */ @java.lang.Override @@ -139,30 +114,30 @@ public java.lang.String getDuration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; } } /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; - * * @return The bytes for duration. */ @java.lang.Override - public com.google.protobuf.ByteString getDurationBytes() { + public com.google.protobuf.ByteString + getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); duration_ = b; return b; } else { @@ -171,7 +146,6 @@ public com.google.protobuf.ByteString getDurationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startTime_); } @@ -213,16 +188,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DailyMaintenanceWindow)) { return super.equals(obj); } - com.google.container.v1beta1.DailyMaintenanceWindow other = - (com.google.container.v1beta1.DailyMaintenanceWindow) obj; + com.google.container.v1beta1.DailyMaintenanceWindow other = (com.google.container.v1beta1.DailyMaintenanceWindow) obj; - if (!getStartTime().equals(other.getStartTime())) return false; - if (!getDuration().equals(other.getDuration())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; + if (!getDuration() + .equals(other.getDuration())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,135 +220,129 @@ public int hashCode() { } public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DailyMaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( 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.DailyMaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.DailyMaintenanceWindow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.DailyMaintenanceWindow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.DailyMaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Time window specified for daily maintenance operations.
    * 
* * Protobuf type {@code google.container.v1beta1.DailyMaintenanceWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DailyMaintenanceWindow) com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DailyMaintenanceWindow.class, - com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1beta1.DailyMaintenanceWindow.class, com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); } // Construct using com.google.container.v1beta1.DailyMaintenanceWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; } @java.lang.Override @@ -405,8 +375,7 @@ public com.google.container.v1beta1.DailyMaintenanceWindow build() { @java.lang.Override public com.google.container.v1beta1.DailyMaintenanceWindow buildPartial() { - com.google.container.v1beta1.DailyMaintenanceWindow result = - new com.google.container.v1beta1.DailyMaintenanceWindow(this); + com.google.container.v1beta1.DailyMaintenanceWindow result = new com.google.container.v1beta1.DailyMaintenanceWindow(this); result.startTime_ = startTime_; result.duration_ = duration_; onBuilt(); @@ -417,39 +386,38 @@ public com.google.container.v1beta1.DailyMaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DailyMaintenanceWindow) { - return mergeFrom((com.google.container.v1beta1.DailyMaintenanceWindow) other); + return mergeFrom((com.google.container.v1beta1.DailyMaintenanceWindow)other); } else { super.mergeFrom(other); return this; @@ -457,8 +425,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DailyMaintenanceWindow other) { - if (other == com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) return this; if (!other.getStartTime().isEmpty()) { startTime_ = other.startTime_; onChanged(); @@ -493,25 +460,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - startTime_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - duration_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + startTime_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + duration_ = input.readStringRequireUtf8(); + + 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) { @@ -524,21 +488,19 @@ public Builder mergeFrom( private java.lang.Object startTime_ = ""; /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; - * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -547,22 +509,21 @@ public java.lang.String getStartTime() { } } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; - * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -570,64 +531,57 @@ public com.google.protobuf.ByteString getStartTimeBytes() { } } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; - * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime(java.lang.String value) { + public Builder setStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; - * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** - * - * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; - * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -635,21 +589,19 @@ public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { private java.lang.Object duration_ = ""; /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; - * * @return The duration. */ public java.lang.String getDuration() { java.lang.Object ref = duration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; @@ -658,22 +610,21 @@ public java.lang.String getDuration() { } } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; - * * @return The bytes for duration. */ - public com.google.protobuf.ByteString getDurationBytes() { + public com.google.protobuf.ByteString + getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); duration_ = b; return b; } else { @@ -681,71 +632,64 @@ public com.google.protobuf.ByteString getDurationBytes() { } } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; - * * @param value The duration to set. * @return This builder for chaining. */ - public Builder setDuration(java.lang.String value) { + public Builder setDuration( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + duration_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; - * * @return This builder for chaining. */ public Builder clearDuration() { - + duration_ = getDefaultInstance().getDuration(); onChanged(); return this; } /** - * - * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; - * * @param value The bytes for duration to set. * @return This builder for chaining. */ - public Builder setDurationBytes(com.google.protobuf.ByteString value) { + public Builder setDurationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + duration_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -755,12 +699,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DailyMaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DailyMaintenanceWindow) private static final com.google.container.v1beta1.DailyMaintenanceWindow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DailyMaintenanceWindow(); } @@ -769,27 +713,27 @@ public static com.google.container.v1beta1.DailyMaintenanceWindow getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DailyMaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DailyMaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -804,4 +748,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DailyMaintenanceWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java index 68dea28b04a5..3adc0bef37d2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java @@ -1,79 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface DailyMaintenanceWindowOrBuilder - extends +public interface DailyMaintenanceWindowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DailyMaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; - * * @return The startTime. */ java.lang.String getStartTime(); /** - * - * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; - * * @return The bytes for startTime. */ - com.google.protobuf.ByteString getStartTimeBytes(); + com.google.protobuf.ByteString + getStartTimeBytes(); /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; - * * @return The duration. */ java.lang.String getDuration(); /** - * - * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; - * * @return The bytes for duration. */ - com.google.protobuf.ByteString getDurationBytes(); + com.google.protobuf.ByteString + getDurationBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java index 22ce462d4d7a..9d53524239e3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration of etcd encryption.
  * 
* * Protobuf type {@code google.container.v1beta1.DatabaseEncryption} */ -public final class DatabaseEncryption extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DatabaseEncryption extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DatabaseEncryption) DatabaseEncryptionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DatabaseEncryption.newBuilder() to construct. private DatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DatabaseEncryption() { state_ = 0; keyName_ = ""; @@ -44,43 +26,39 @@ private DatabaseEncryption() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DatabaseEncryption(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DatabaseEncryption.class, - com.google.container.v1beta1.DatabaseEncryption.Builder.class); + com.google.container.v1beta1.DatabaseEncryption.class, com.google.container.v1beta1.DatabaseEncryption.Builder.class); } /** - * - * *
    * State of etcd encryption.
    * 
* * Protobuf enum {@code google.container.v1beta1.DatabaseEncryption.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Should never be set
      * 
@@ -89,8 +67,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * Secrets in etcd are encrypted.
      * 
@@ -99,8 +75,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTED(1), /** - * - * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -113,8 +87,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Should never be set
      * 
@@ -123,8 +95,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * Secrets in etcd are encrypted.
      * 
@@ -133,8 +103,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTED_VALUE = 1; /** - * - * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -144,6 +112,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DECRYPTED_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,49 +137,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNKNOWN;
-        case 1:
-          return ENCRYPTED;
-        case 2:
-          return DECRYPTED;
-        default:
-          return null;
+        case 0: return UNKNOWN;
+        case 1: return ENCRYPTED;
+        case 2: return DECRYPTED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.DatabaseEncryption.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -230,53 +199,39 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 2;
   private int state_;
   /**
-   *
-   *
    * 
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @return The state. */ - @java.lang.Override - public com.google.container.v1beta1.DatabaseEncryption.State getState() { + @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatabaseEncryption.State result = - com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); - return result == null - ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED - : result; + com.google.container.v1beta1.DatabaseEncryption.State result = com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); + return result == null ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED : result; } public static final int KEY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object keyName_; /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The keyName. */ @java.lang.Override @@ -285,30 +240,30 @@ public java.lang.String getKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } } /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The bytes for keyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyNameBytes() { + public com.google.protobuf.ByteString + getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyName_ = b; return b; } else { @@ -317,7 +272,6 @@ public com.google.protobuf.ByteString getKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,7 +283,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyName_); } @@ -349,7 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyName_); } if (state_ != com.google.container.v1beta1.DatabaseEncryption.State.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -359,16 +315,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DatabaseEncryption)) { return super.equals(obj); } - com.google.container.v1beta1.DatabaseEncryption other = - (com.google.container.v1beta1.DatabaseEncryption) obj; + com.google.container.v1beta1.DatabaseEncryption other = (com.google.container.v1beta1.DatabaseEncryption) obj; if (state_ != other.state_) return false; - if (!getKeyName().equals(other.getKeyName())) return false; + if (!getKeyName() + .equals(other.getKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -389,136 +345,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DatabaseEncryption parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom( 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.DatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.DatabaseEncryption parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.DatabaseEncryption parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.DatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of etcd encryption.
    * 
* * Protobuf type {@code google.container.v1beta1.DatabaseEncryption} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DatabaseEncryption) com.google.container.v1beta1.DatabaseEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DatabaseEncryption.class, - com.google.container.v1beta1.DatabaseEncryption.Builder.class); + com.google.container.v1beta1.DatabaseEncryption.class, com.google.container.v1beta1.DatabaseEncryption.Builder.class); } // Construct using com.google.container.v1beta1.DatabaseEncryption.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -530,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; } @java.lang.Override @@ -551,8 +501,7 @@ public com.google.container.v1beta1.DatabaseEncryption build() { @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption buildPartial() { - com.google.container.v1beta1.DatabaseEncryption result = - new com.google.container.v1beta1.DatabaseEncryption(this); + com.google.container.v1beta1.DatabaseEncryption result = new com.google.container.v1beta1.DatabaseEncryption(this); result.state_ = state_; result.keyName_ = keyName_; onBuilt(); @@ -563,39 +512,38 @@ public com.google.container.v1beta1.DatabaseEncryption buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DatabaseEncryption) { - return mergeFrom((com.google.container.v1beta1.DatabaseEncryption) other); + return mergeFrom((com.google.container.v1beta1.DatabaseEncryption)other); } else { super.mergeFrom(other); return this; @@ -603,8 +551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DatabaseEncryption other) { - if (other == com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance()) return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -638,25 +585,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - keyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - state_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + keyName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + state_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,67 +613,51 @@ public Builder mergeFrom( private int state_ = 0; /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @return The state. */ @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatabaseEncryption.State result = - com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); - return result == null - ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED - : result; + com.google.container.v1beta1.DatabaseEncryption.State result = com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); + return result == null ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED : result; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @param value The state to set. * @return This builder for chaining. */ @@ -737,24 +665,21 @@ public Builder setState(com.google.container.v1beta1.DatabaseEncryption.State va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -762,21 +687,19 @@ public Builder clearState() { private java.lang.Object keyName_ = ""; /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; @@ -785,22 +708,21 @@ public java.lang.String getKeyName() { } } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @return The bytes for keyName. */ - public com.google.protobuf.ByteString getKeyNameBytes() { + public com.google.protobuf.ByteString + getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); keyName_ = b; return b; } else { @@ -808,71 +730,64 @@ public com.google.protobuf.ByteString getKeyNameBytes() { } } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @param value The keyName to set. * @return This builder for chaining. */ - public Builder setKeyName(java.lang.String value) { + public Builder setKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyName_ = value; onChanged(); return this; } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @return This builder for chaining. */ public Builder clearKeyName() { - + keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** - * - * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; - * * @param value The bytes for keyName to set. * @return This builder for chaining. */ - public Builder setKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DatabaseEncryption) private static final com.google.container.v1beta1.DatabaseEncryption DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DatabaseEncryption(); } @@ -896,27 +811,27 @@ public static com.google.container.v1beta1.DatabaseEncryption getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -931,4 +846,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java index 431c6fef7362..b4c39c07c742 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java @@ -1,77 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface DatabaseEncryptionOrBuilder - extends +public interface DatabaseEncryptionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; - * * @return The state. */ com.google.container.v1beta1.DatabaseEncryption.State getState(); /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The keyName. */ java.lang.String getKeyName(); /** - * - * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; - * * @return The bytes for keyName. */ - com.google.protobuf.ByteString getKeyNameBytes(); + com.google.protobuf.ByteString + getKeyNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java index 1ed4edf140ce..0b7c5601d720 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * The datapath provider selects the implementation of the Kubernetes networking
  * model for service resolution and network policy enforcement.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.container.v1beta1.DatapathProvider}
  */
-public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum {
+public enum DatapathProvider
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -40,8 +22,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ DATAPATH_PROVIDER_UNSPECIFIED(0), /** - * - * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -50,8 +30,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ LEGACY_DATAPATH(1), /** - * - * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -66,8 +44,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -76,8 +52,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -86,8 +60,6 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum */ public static final int LEGACY_DATAPATH_VALUE = 1; /** - * - * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -99,6 +71,7 @@ public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum
    */
   public static final int ADVANCED_DATAPATH_VALUE = 2;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -123,49 +96,49 @@ public static DatapathProvider valueOf(int value) {
    */
   public static DatapathProvider forNumber(int value) {
     switch (value) {
-      case 0:
-        return DATAPATH_PROVIDER_UNSPECIFIED;
-      case 1:
-        return LEGACY_DATAPATH;
-      case 2:
-        return ADVANCED_DATAPATH;
-      default:
-        return null;
+      case 0: return DATAPATH_PROVIDER_UNSPECIFIED;
+      case 1: return LEGACY_DATAPATH;
+      case 2: return ADVANCED_DATAPATH;
+      default: return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap
+      internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-      new com.google.protobuf.Internal.EnumLiteMap() {
-        public DatapathProvider findValueByNumber(int number) {
-          return DatapathProvider.forNumber(number);
-        }
-      };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      DatapathProvider> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DatapathProvider findValueByNumber(int number) {
+            return DatapathProvider.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(3);
   }
 
   private static final DatapathProvider[] VALUES = values();
 
-  public static DatapathProvider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DatapathProvider valueOf(
+      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -181,3 +154,4 @@ private DatapathProvider(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1beta1.DatapathProvider)
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
similarity index 64%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
index f60bbc7419a5..2839f67b89e4 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * DefaultSnatStatus contains the desired state of whether default sNAT should
  * be disabled on the cluster.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.DefaultSnatStatus}
  */
-public final class DefaultSnatStatus extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DefaultSnatStatus extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.DefaultSnatStatus)
     DefaultSnatStatusOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DefaultSnatStatus.newBuilder() to construct.
   private DefaultSnatStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private DefaultSnatStatus() {}
+  private DefaultSnatStatus() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DefaultSnatStatus();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.DefaultSnatStatus.class,
-            com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
+            com.google.container.v1beta1.DefaultSnatStatus.class, com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Disables cluster default sNAT rules.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DefaultSnatStatus)) { return super.equals(obj); } - com.google.container.v1beta1.DefaultSnatStatus other = - (com.google.container.v1beta1.DefaultSnatStatus) obj; + com.google.container.v1beta1.DefaultSnatStatus other = (com.google.container.v1beta1.DefaultSnatStatus) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DefaultSnatStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( 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.DefaultSnatStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.DefaultSnatStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.DefaultSnatStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DefaultSnatStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.DefaultSnatStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DefaultSnatStatus contains the desired state of whether default sNAT should
    * be disabled on the cluster.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.DefaultSnatStatus}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DefaultSnatStatus)
       com.google.container.v1beta1.DefaultSnatStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.DefaultSnatStatus.class,
-              com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
+              com.google.container.v1beta1.DefaultSnatStatus.class, com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.DefaultSnatStatus.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1beta1.DefaultSnatStatus build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.DefaultSnatStatus buildPartial() {
-      com.google.container.v1beta1.DefaultSnatStatus result =
-          new com.google.container.v1beta1.DefaultSnatStatus(this);
+      com.google.container.v1beta1.DefaultSnatStatus result = new com.google.container.v1beta1.DefaultSnatStatus(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1beta1.DefaultSnatStatus buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.DefaultSnatStatus) {
-        return mergeFrom((com.google.container.v1beta1.DefaultSnatStatus) other);
+        return mergeFrom((com.google.container.v1beta1.DefaultSnatStatus)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -390,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -413,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -430,43 +398,37 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DefaultSnatStatus) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DefaultSnatStatus) private static final com.google.container.v1beta1.DefaultSnatStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DefaultSnatStatus(); } @@ -490,27 +452,27 @@ public static com.google.container.v1beta1.DefaultSnatStatus getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DefaultSnatStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DefaultSnatStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DefaultSnatStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java new file mode 100644 index 000000000000..80737b787dda --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface DefaultSnatStatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DefaultSnatStatus) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Disables cluster default sNAT rules.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java index adce79aec529..fec57ef7aef0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * DeleteClusterRequest deletes a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteClusterRequest.class, - com.google.container.v1beta1.DeleteClusterRequest.Builder.class); + com.google.container.v1beta1.DeleteClusterRequest.class, com.google.container.v1beta1.DeleteClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The name. */ @java.lang.Override @@ -271,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -303,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -357,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DeleteClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.DeleteClusterRequest other = - (com.google.container.v1beta1.DeleteClusterRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.DeleteClusterRequest other = (com.google.container.v1beta1.DeleteClusterRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,135 +356,129 @@ public int hashCode() { } public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( 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.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DeleteClusterRequest deletes a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DeleteClusterRequest) com.google.container.v1beta1.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteClusterRequest.class, - com.google.container.v1beta1.DeleteClusterRequest.Builder.class); + com.google.container.v1beta1.DeleteClusterRequest.class, com.google.container.v1beta1.DeleteClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -538,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -559,8 +515,7 @@ public com.google.container.v1beta1.DeleteClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.DeleteClusterRequest buildPartial() { - com.google.container.v1beta1.DeleteClusterRequest result = - new com.google.container.v1beta1.DeleteClusterRequest(this); + com.google.container.v1beta1.DeleteClusterRequest result = new com.google.container.v1beta1.DeleteClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -573,39 +528,38 @@ public com.google.container.v1beta1.DeleteClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DeleteClusterRequest) { - return mergeFrom((com.google.container.v1beta1.DeleteClusterRequest) other); + return mergeFrom((com.google.container.v1beta1.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -613,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DeleteClusterRequest other) { - if (other == com.google.container.v1beta1.DeleteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.DeleteClusterRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -657,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -700,26 +648,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -728,27 +672,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -756,79 +697,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -836,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -846,16 +772,15 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +797,17 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -892,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -902,25 +823,22 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -929,21 +847,17 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -952,19 +866,18 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -972,25 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -999,26 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1026,76 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1103,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1126,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1149,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1223,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DeleteClusterRequest) private static final com.google.container.v1beta1.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DeleteClusterRequest(); } @@ -1237,27 +1120,27 @@ public static com.google.container.v1beta1.DeleteClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java index 6918902a2443..a9f44e8c4675 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface DeleteClusterRequestOrBuilder - extends +public interface DeleteClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2866 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,73 +58,58 @@ 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=2875 + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2882 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java index 20b3157a9862..f4ab1367f75b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * DeleteNodePoolRequest deletes a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.DeleteNodePoolRequest} */ -public final class DeleteNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DeleteNodePoolRequest) DeleteNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteNodePoolRequest.newBuilder() to construct. private DeleteNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private DeleteNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteNodePoolRequest.class, - com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1beta1.DeleteNodePoolRequest.class, com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,55 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -314,8 +269,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -323,7 +276,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -332,15 +284,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -348,15 +299,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -365,7 +317,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,7 +328,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -425,19 +377,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DeleteNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1beta1.DeleteNodePoolRequest other = - (com.google.container.v1beta1.DeleteNodePoolRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.DeleteNodePoolRequest other = (com.google.container.v1beta1.DeleteNodePoolRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -465,135 +421,129 @@ public int hashCode() { } public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( 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.DeleteNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.DeleteNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.DeleteNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.DeleteNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * DeleteNodePoolRequest deletes a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.DeleteNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DeleteNodePoolRequest) com.google.container.v1beta1.DeleteNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteNodePoolRequest.class, - com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1beta1.DeleteNodePoolRequest.class, com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.DeleteNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -611,9 +561,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; } @java.lang.Override @@ -632,8 +582,7 @@ public com.google.container.v1beta1.DeleteNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.DeleteNodePoolRequest buildPartial() { - com.google.container.v1beta1.DeleteNodePoolRequest result = - new com.google.container.v1beta1.DeleteNodePoolRequest(this); + com.google.container.v1beta1.DeleteNodePoolRequest result = new com.google.container.v1beta1.DeleteNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -647,39 +596,38 @@ public com.google.container.v1beta1.DeleteNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DeleteNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.DeleteNodePoolRequest) other); + return mergeFrom((com.google.container.v1beta1.DeleteNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -687,8 +635,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DeleteNodePoolRequest other) { - if (other == com.google.container.v1beta1.DeleteNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.DeleteNodePoolRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -735,43 +682,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -784,26 +725,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -812,27 +749,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -840,79 +774,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -920,8 +841,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -930,16 +849,15 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -948,8 +866,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -958,17 +874,17 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -976,8 +892,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -986,25 +900,22 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1013,21 +924,17 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1036,19 +943,18 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1056,25 +962,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1083,26 +985,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1110,76 +1009,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1187,25 +1073,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1214,26 +1096,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1241,76 +1120,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1318,8 +1184,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1327,13 +1191,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1342,8 +1206,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1351,14 +1213,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1366,8 +1229,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1375,22 +1236,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1398,18 +1257,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1417,23 +1273,23 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1443,12 +1299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DeleteNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DeleteNodePoolRequest) private static final com.google.container.v1beta1.DeleteNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DeleteNodePoolRequest(); } @@ -1457,27 +1313,27 @@ public static com.google.container.v1beta1.DeleteNodePoolRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1492,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DeleteNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java index 137fb110fae9..d93681c6a874 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface DeleteNodePoolRequestOrBuilder - extends +public interface DeleteNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DeleteNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3159 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3164 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,87 +58,66 @@ 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=3168 + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3173 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3175 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3180 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3182 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3187 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -177,13 +125,10 @@ public interface DeleteNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -191,8 +136,8 @@ public interface DeleteNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java index cdf975efe781..c4ea173af5ea 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for NodeLocal DNSCache
  * 
* * Protobuf type {@code google.container.v1beta1.DnsCacheConfig} */ -public final class DnsCacheConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DnsCacheConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DnsCacheConfig) DnsCacheConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DnsCacheConfig.newBuilder() to construct. private DnsCacheConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DnsCacheConfig() {} + private DnsCacheConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DnsCacheConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DnsCacheConfig.class, - com.google.container.v1beta1.DnsCacheConfig.Builder.class); + com.google.container.v1beta1.DnsCacheConfig.class, com.google.container.v1beta1.DnsCacheConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether NodeLocal DNSCache is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DnsCacheConfig)) { return super.equals(obj); } - com.google.container.v1beta1.DnsCacheConfig other = - (com.google.container.v1beta1.DnsCacheConfig) obj; + com.google.container.v1beta1.DnsCacheConfig other = (com.google.container.v1beta1.DnsCacheConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DnsCacheConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DnsCacheConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom( 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.DnsCacheConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.DnsCacheConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.DnsCacheConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DnsCacheConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.DnsCacheConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for NodeLocal DNSCache
    * 
* * Protobuf type {@code google.container.v1beta1.DnsCacheConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DnsCacheConfig) com.google.container.v1beta1.DnsCacheConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DnsCacheConfig.class, - com.google.container.v1beta1.DnsCacheConfig.Builder.class); + com.google.container.v1beta1.DnsCacheConfig.class, com.google.container.v1beta1.DnsCacheConfig.Builder.class); } // Construct using com.google.container.v1beta1.DnsCacheConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.DnsCacheConfig build() { @java.lang.Override public com.google.container.v1beta1.DnsCacheConfig buildPartial() { - com.google.container.v1beta1.DnsCacheConfig result = - new com.google.container.v1beta1.DnsCacheConfig(this); + com.google.container.v1beta1.DnsCacheConfig result = new com.google.container.v1beta1.DnsCacheConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.DnsCacheConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DnsCacheConfig) { - return mergeFrom((com.google.container.v1beta1.DnsCacheConfig) other); + return mergeFrom((com.google.container.v1beta1.DnsCacheConfig)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -428,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DnsCacheConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DnsCacheConfig) private static final com.google.container.v1beta1.DnsCacheConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DnsCacheConfig(); } @@ -488,27 +450,27 @@ public static com.google.container.v1beta1.DnsCacheConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsCacheConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsCacheConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DnsCacheConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java new file mode 100644 index 000000000000..17c54b189158 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface DnsCacheConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DnsCacheConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether NodeLocal DNSCache is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java index 9166cf2abbf3..6f3240bc4b3c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * EphemeralStorageConfig contains configuration for the ephemeral storage
  * filesystem.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1beta1.EphemeralStorageConfig}
  */
-public final class EphemeralStorageConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EphemeralStorageConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.EphemeralStorageConfig)
     EphemeralStorageConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EphemeralStorageConfig.newBuilder() to construct.
   private EphemeralStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private EphemeralStorageConfig() {}
+  private EphemeralStorageConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EphemeralStorageConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.EphemeralStorageConfig.class,
-            com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
+            com.google.container.v1beta1.EphemeralStorageConfig.class, com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
   }
 
   public static final int LOCAL_SSD_COUNT_FIELD_NUMBER = 1;
   private int localSsdCount_;
   /**
-   *
-   *
    * 
    * Number of local SSDs to use to back ephemeral storage. Uses NVMe
    * interfaces. Each local SSD is 375 GB in size.
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 local_ssd_count = 1; - * * @return The localSsdCount. */ @java.lang.Override @@ -87,7 +66,6 @@ public int getLocalSsdCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +77,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (localSsdCount_ != 0) { output.writeInt32(1, localSsdCount_); } @@ -113,7 +92,8 @@ public int getSerializedSize() { size = 0; if (localSsdCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, localSsdCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, localSsdCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,15 +103,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.EphemeralStorageConfig)) { return super.equals(obj); } - com.google.container.v1beta1.EphemeralStorageConfig other = - (com.google.container.v1beta1.EphemeralStorageConfig) obj; + com.google.container.v1beta1.EphemeralStorageConfig other = (com.google.container.v1beta1.EphemeralStorageConfig) obj; - if (getLocalSsdCount() != other.getLocalSsdCount()) return false; + if (getLocalSsdCount() + != other.getLocalSsdCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -151,103 +131,96 @@ public int hashCode() { } public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EphemeralStorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( 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.EphemeralStorageConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.EphemeralStorageConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.EphemeralStorageConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.EphemeralStorageConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * EphemeralStorageConfig contains configuration for the ephemeral storage
    * filesystem.
@@ -255,32 +228,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.EphemeralStorageConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.EphemeralStorageConfig)
       com.google.container.v1beta1.EphemeralStorageConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.EphemeralStorageConfig.class,
-              com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
+              com.google.container.v1beta1.EphemeralStorageConfig.class, com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.EphemeralStorageConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +264,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +285,7 @@ public com.google.container.v1beta1.EphemeralStorageConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.EphemeralStorageConfig buildPartial() {
-      com.google.container.v1beta1.EphemeralStorageConfig result =
-          new com.google.container.v1beta1.EphemeralStorageConfig(this);
+      com.google.container.v1beta1.EphemeralStorageConfig result = new com.google.container.v1beta1.EphemeralStorageConfig(this);
       result.localSsdCount_ = localSsdCount_;
       onBuilt();
       return result;
@@ -322,39 +295,38 @@ public com.google.container.v1beta1.EphemeralStorageConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.EphemeralStorageConfig) {
-        return mergeFrom((com.google.container.v1beta1.EphemeralStorageConfig) other);
+        return mergeFrom((com.google.container.v1beta1.EphemeralStorageConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -362,8 +334,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.EphemeralStorageConfig other) {
-      if (other == com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance()) return this;
       if (other.getLocalSsdCount() != 0) {
         setLocalSsdCount(other.getLocalSsdCount());
       }
@@ -393,19 +364,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                localSsdCount_ = input.readInt32();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              localSsdCount_ = input.readInt32();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -416,10 +385,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int localSsdCount_;
+    private int localSsdCount_ ;
     /**
-     *
-     *
      * 
      * Number of local SSDs to use to back ephemeral storage. Uses NVMe
      * interfaces. Each local SSD is 375 GB in size.
@@ -427,7 +394,6 @@ public Builder mergeFrom(
      * 
* * int32 local_ssd_count = 1; - * * @return The localSsdCount. */ @java.lang.Override @@ -435,8 +401,6 @@ public int getLocalSsdCount() { return localSsdCount_; } /** - * - * *
      * Number of local SSDs to use to back ephemeral storage. Uses NVMe
      * interfaces. Each local SSD is 375 GB in size.
@@ -444,19 +408,16 @@ public int getLocalSsdCount() {
      * 
* * int32 local_ssd_count = 1; - * * @param value The localSsdCount to set. * @return This builder for chaining. */ public Builder setLocalSsdCount(int value) { - + localSsdCount_ = value; onChanged(); return this; } /** - * - * *
      * Number of local SSDs to use to back ephemeral storage. Uses NVMe
      * interfaces. Each local SSD is 375 GB in size.
@@ -464,18 +425,17 @@ public Builder setLocalSsdCount(int value) {
      * 
* * int32 local_ssd_count = 1; - * * @return This builder for chaining. */ public Builder clearLocalSsdCount() { - + localSsdCount_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,12 +445,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.EphemeralStorageConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.EphemeralStorageConfig) private static final com.google.container.v1beta1.EphemeralStorageConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.EphemeralStorageConfig(); } @@ -499,27 +459,27 @@ public static com.google.container.v1beta1.EphemeralStorageConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EphemeralStorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EphemeralStorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -534,4 +494,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.EphemeralStorageConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java new file mode 100644 index 000000000000..6f9d10a0d325 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface EphemeralStorageConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.EphemeralStorageConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Number of local SSDs to use to back ephemeral storage. Uses NVMe
+   * interfaces. Each local SSD is 375 GB in size.
+   * If zero, it means to disable using local SSDs as ephemeral storage.
+   * 
+ * + * int32 local_ssd_count = 1; + * @return The localSsdCount. + */ + int getLocalSsdCount(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java new file mode 100644 index 000000000000..85885c035246 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java @@ -0,0 +1,490 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +/** + *
+ * Configuration of Fast Socket feature.
+ * 
+ * + * Protobuf type {@code google.container.v1beta1.FastSocket} + */ +public final class FastSocket extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.container.v1beta1.FastSocket) + FastSocketOrBuilder { +private static final long serialVersionUID = 0L; + // Use FastSocket.newBuilder() to construct. + private FastSocket(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FastSocket() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FastSocket(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.FastSocket.class, com.google.container.v1beta1.FastSocket.Builder.class); + } + + public static final int ENABLED_FIELD_NUMBER = 1; + private boolean enabled_; + /** + *
+   * Whether Fast Socket features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + + 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 (enabled_ != false) { + output.writeBool(1, enabled_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (enabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); + } + 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.FastSocket)) { + return super.equals(obj); + } + com.google.container.v1beta1.FastSocket other = (com.google.container.v1beta1.FastSocket) obj; + + if (getEnabled() + != other.getEnabled()) 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) + ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.container.v1beta1.FastSocket parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.container.v1beta1.FastSocket 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.FastSocket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.container.v1beta1.FastSocket parseFrom( + 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.FastSocket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.container.v1beta1.FastSocket parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.container.v1beta1.FastSocket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.container.v1beta1.FastSocket 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.FastSocket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.container.v1beta1.FastSocket 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.FastSocket parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.container.v1beta1.FastSocket 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.FastSocket 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 Fast Socket feature.
+   * 
+ * + * Protobuf type {@code google.container.v1beta1.FastSocket} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.container.v1beta1.FastSocket) + com.google.container.v1beta1.FastSocketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.container.v1beta1.FastSocket.class, com.google.container.v1beta1.FastSocket.Builder.class); + } + + // Construct using com.google.container.v1beta1.FastSocket.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + enabled_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_descriptor; + } + + @java.lang.Override + public com.google.container.v1beta1.FastSocket getDefaultInstanceForType() { + return com.google.container.v1beta1.FastSocket.getDefaultInstance(); + } + + @java.lang.Override + public com.google.container.v1beta1.FastSocket build() { + com.google.container.v1beta1.FastSocket result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.container.v1beta1.FastSocket buildPartial() { + com.google.container.v1beta1.FastSocket result = new com.google.container.v1beta1.FastSocket(this); + result.enabled_ = enabled_; + 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.FastSocket) { + return mergeFrom((com.google.container.v1beta1.FastSocket)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.container.v1beta1.FastSocket other) { + if (other == com.google.container.v1beta1.FastSocket.getDefaultInstance()) return this; + if (other.getEnabled() != false) { + setEnabled(other.getEnabled()); + } + 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: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private boolean enabled_ ; + /** + *
+     * Whether Fast Socket features are enabled in the node pool.
+     * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + @java.lang.Override + public boolean getEnabled() { + return enabled_; + } + /** + *
+     * Whether Fast Socket features are enabled in the node pool.
+     * 
+ * + * bool enabled = 1; + * @param value The enabled to set. + * @return This builder for chaining. + */ + public Builder setEnabled(boolean value) { + + enabled_ = value; + onChanged(); + return this; + } + /** + *
+     * Whether Fast Socket features are enabled in the node pool.
+     * 
+ * + * bool enabled = 1; + * @return This builder for chaining. + */ + public Builder clearEnabled() { + + enabled_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.FastSocket) + } + + // @@protoc_insertion_point(class_scope:google.container.v1beta1.FastSocket) + private static final com.google.container.v1beta1.FastSocket DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.container.v1beta1.FastSocket(); + } + + public static com.google.container.v1beta1.FastSocket getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FastSocket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.FastSocket getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java new file mode 100644 index 000000000000..c49308791b8c --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface FastSocketOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.FastSocket) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Fast Socket features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java index 3a17e8e95f69..1f8effa9c147 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GPUSharingConfig represents the GPU sharing configuration for Hardware
  * Accelerators.
@@ -28,59 +11,54 @@
  *
  * Protobuf type {@code google.container.v1beta1.GPUSharingConfig}
  */
-public final class GPUSharingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GPUSharingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GPUSharingConfig)
     GPUSharingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GPUSharingConfig.newBuilder() to construct.
   private GPUSharingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GPUSharingConfig() {
     gpuSharingStrategy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GPUSharingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GPUSharingConfig.class,
-            com.google.container.v1beta1.GPUSharingConfig.Builder.class);
+            com.google.container.v1beta1.GPUSharingConfig.class, com.google.container.v1beta1.GPUSharingConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The type of GPU sharing strategy currently provided.
    * 
* * Protobuf enum {@code google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy} */ - public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnum { + public enum GPUSharingStrategy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -89,8 +67,6 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu */ GPU_SHARING_STRATEGY_UNSPECIFIED(0), /** - * - * *
      * GPUs are time-shared between containers.
      * 
@@ -102,8 +78,6 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu ; /** - * - * *
      * Default value.
      * 
@@ -112,8 +86,6 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu */ public static final int GPU_SHARING_STRATEGY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * GPUs are time-shared between containers.
      * 
@@ -122,6 +94,7 @@ public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnu */ public static final int TIME_SHARING_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -146,12 +119,9 @@ public static GPUSharingStrategy valueOf(int value) { */ public static GPUSharingStrategy forNumber(int value) { switch (value) { - case 0: - return GPU_SHARING_STRATEGY_UNSPECIFIED; - case 1: - return TIME_SHARING; - default: - return null; + case 0: return GPU_SHARING_STRATEGY_UNSPECIFIED; + case 1: return TIME_SHARING; + default: return null; } } @@ -159,28 +129,28 @@ public static GPUSharingStrategy forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + GPUSharingStrategy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GPUSharingStrategy findValueByNumber(int number) { + return GPUSharingStrategy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GPUSharingStrategy findValueByNumber(int number) { - return GPUSharingStrategy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.GPUSharingConfig.getDescriptor().getEnumTypes().get(0); } @@ -189,7 +159,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static GPUSharingStrategy valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -210,14 +181,11 @@ private GPUSharingStrategy(int value) { public static final int MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 1; private long maxSharedClientsPerGpu_; /** - * - * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -228,65 +196,42 @@ public long getMaxSharedClientsPerGpu() { public static final int GPU_SHARING_STRATEGY_FIELD_NUMBER = 2; private int gpuSharingStrategy_; /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override - public boolean hasGpuSharingStrategy() { + @java.lang.Override public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override - public int getGpuSharingStrategyValue() { + @java.lang.Override public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The gpuSharingStrategy. */ - @java.lang.Override - public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + @java.lang.Override public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = - com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf( - gpuSharingStrategy_); - return result == null - ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED - : result; + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,7 +243,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxSharedClientsPerGpu_ != 0L) { output.writeInt64(1, maxSharedClientsPerGpu_); } @@ -315,10 +261,12 @@ public int getSerializedSize() { size = 0; if (maxSharedClientsPerGpu_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxSharedClientsPerGpu_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, maxSharedClientsPerGpu_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, gpuSharingStrategy_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, gpuSharingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -328,15 +276,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GPUSharingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GPUSharingConfig other = - (com.google.container.v1beta1.GPUSharingConfig) obj; + com.google.container.v1beta1.GPUSharingConfig other = (com.google.container.v1beta1.GPUSharingConfig) obj; - if (getMaxSharedClientsPerGpu() != other.getMaxSharedClientsPerGpu()) return false; + if (getMaxSharedClientsPerGpu() + != other.getMaxSharedClientsPerGpu()) return false; if (hasGpuSharingStrategy() != other.hasGpuSharingStrategy()) return false; if (hasGpuSharingStrategy()) { if (gpuSharingStrategy_ != other.gpuSharingStrategy_) return false; @@ -353,7 +301,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxSharedClientsPerGpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxSharedClientsPerGpu()); if (hasGpuSharingStrategy()) { hash = (37 * hash) + GPU_SHARING_STRATEGY_FIELD_NUMBER; hash = (53 * hash) + gpuSharingStrategy_; @@ -363,104 +312,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GPUSharingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom( 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.GPUSharingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GPUSharingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GPUSharingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GPUSharingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GPUSharingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GPUSharingConfig represents the GPU sharing configuration for Hardware
    * Accelerators.
@@ -468,32 +410,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.GPUSharingConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GPUSharingConfig)
       com.google.container.v1beta1.GPUSharingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GPUSharingConfig.class,
-              com.google.container.v1beta1.GPUSharingConfig.Builder.class);
+              com.google.container.v1beta1.GPUSharingConfig.class, com.google.container.v1beta1.GPUSharingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GPUSharingConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -505,9 +448,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -526,8 +469,7 @@ public com.google.container.v1beta1.GPUSharingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GPUSharingConfig buildPartial() {
-      com.google.container.v1beta1.GPUSharingConfig result =
-          new com.google.container.v1beta1.GPUSharingConfig(this);
+      com.google.container.v1beta1.GPUSharingConfig result = new com.google.container.v1beta1.GPUSharingConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.maxSharedClientsPerGpu_ = maxSharedClientsPerGpu_;
@@ -544,39 +486,38 @@ public com.google.container.v1beta1.GPUSharingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GPUSharingConfig) {
-        return mergeFrom((com.google.container.v1beta1.GPUSharingConfig) other);
+        return mergeFrom((com.google.container.v1beta1.GPUSharingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -617,25 +558,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                maxSharedClientsPerGpu_ = input.readInt64();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                gpuSharingStrategy_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              maxSharedClientsPerGpu_ = input.readInt64();
+
+              break;
+            } // case 8
+            case 16: {
+              gpuSharingStrategy_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -645,19 +583,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long maxSharedClientsPerGpu_;
+    private long maxSharedClientsPerGpu_ ;
     /**
-     *
-     *
      * 
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -665,36 +599,30 @@ public long getMaxSharedClientsPerGpu() { return maxSharedClientsPerGpu_; } /** - * - * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; - * * @param value The maxSharedClientsPerGpu to set. * @return This builder for chaining. */ public Builder setMaxSharedClientsPerGpu(long value) { - + maxSharedClientsPerGpu_ = value; onChanged(); return this; } /** - * - * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return This builder for chaining. */ public Builder clearMaxSharedClientsPerGpu() { - + maxSharedClientsPerGpu_ = 0L; onChanged(); return this; @@ -702,50 +630,33 @@ public Builder clearMaxSharedClientsPerGpu() { private int gpuSharingStrategy_ = 0; /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override - public boolean hasGpuSharingStrategy() { + @java.lang.Override public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override - public int getGpuSharingStrategyValue() { + @java.lang.Override public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @param value The enum numeric value on the wire for gpuSharingStrategy to set. * @return This builder for chaining. */ @@ -756,45 +667,29 @@ public Builder setGpuSharingStrategyValue(int value) { return this; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The gpuSharingStrategy. */ @java.lang.Override - public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy - getGpuSharingStrategy() { + public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = - com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf( - gpuSharingStrategy_); - return result == null - ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED - : result; + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @param value The gpuSharingStrategy to set. * @return This builder for chaining. */ - public Builder setGpuSharingStrategy( - com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy value) { + public Builder setGpuSharingStrategy(com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -804,16 +699,11 @@ public Builder setGpuSharingStrategy( return this; } /** - * - * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return This builder for chaining. */ public Builder clearGpuSharingStrategy() { @@ -822,9 +712,9 @@ public Builder clearGpuSharingStrategy() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,12 +724,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GPUSharingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GPUSharingConfig) private static final com.google.container.v1beta1.GPUSharingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GPUSharingConfig(); } @@ -848,27 +738,27 @@ public static com.google.container.v1beta1.GPUSharingConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GPUSharingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GPUSharingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -883,4 +773,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GPUSharingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java index 7db9d08ad7d8..0af7f88d28a5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java @@ -1,80 +1,46 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface GPUSharingConfigOrBuilder - extends +public interface GPUSharingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GPUSharingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; - * * @return The maxSharedClientsPerGpu. */ long getMaxSharedClientsPerGpu(); /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return Whether the gpuSharingStrategy field is set. */ boolean hasGpuSharingStrategy(); /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The enum numeric value on the wire for gpuSharingStrategy. */ int getGpuSharingStrategyValue(); /** - * - * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; - * - * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; * @return The gpuSharingStrategy. */ com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java index a04b17622f91..fc482b617fe1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java @@ -1,75 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.GatewayAPIConfig} */ -public final class GatewayAPIConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GatewayAPIConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GatewayAPIConfig) GatewayAPIConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GatewayAPIConfig.newBuilder() to construct. private GatewayAPIConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GatewayAPIConfig() { channel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GatewayAPIConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GatewayAPIConfig.class, - com.google.container.v1beta1.GatewayAPIConfig.Builder.class); + com.google.container.v1beta1.GatewayAPIConfig.class, com.google.container.v1beta1.GatewayAPIConfig.Builder.class); } /** - * - * *
    * Channel describes if/how Gateway API should be installed and implemented in
    * a cluster.
@@ -77,10 +56,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1beta1.GatewayAPIConfig.Channel}
    */
-  public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Channel
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -89,8 +67,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ CHANNEL_UNSPECIFIED(0), /** - * - * *
      * Gateway API support is disabled
      * 
@@ -99,8 +75,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ CHANNEL_DISABLED(1), /** - * - * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -109,8 +83,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ CHANNEL_EXPERIMENTAL(3), /** - * - * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -122,8 +94,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -132,8 +102,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Gateway API support is disabled
      * 
@@ -142,8 +110,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_DISABLED_VALUE = 1; /** - * - * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -152,8 +118,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_EXPERIMENTAL_VALUE = 3; /** - * - * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -162,6 +126,7 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CHANNEL_STANDARD_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -186,51 +151,50 @@ public static Channel valueOf(int value) { */ public static Channel forNumber(int value) { switch (value) { - case 0: - return CHANNEL_UNSPECIFIED; - case 1: - return CHANNEL_DISABLED; - case 3: - return CHANNEL_EXPERIMENTAL; - case 4: - return CHANNEL_STANDARD; - default: - return null; + case 0: return CHANNEL_UNSPECIFIED; + case 1: return CHANNEL_DISABLED; + case 3: return CHANNEL_EXPERIMENTAL; + case 4: return CHANNEL_STANDARD; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Channel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Channel findValueByNumber(int number) { + return Channel.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Channel findValueByNumber(int number) { - return Channel.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.GatewayAPIConfig.getDescriptor().getEnumTypes().get(0); } private static final Channel[] VALUES = values(); - public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Channel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -250,43 +214,31 @@ private Channel(int value) { public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @return The channel. */ - @java.lang.Override - public com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel() { + @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GatewayAPIConfig.Channel result = - com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED - : result; + com.google.container.v1beta1.GatewayAPIConfig.Channel result = com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); + return result == null ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +250,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (channel_ - != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (channel_ != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } getUnknownFields().writeTo(output); @@ -312,9 +264,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (channel_ - != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); + if (channel_ != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -324,13 +276,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GatewayAPIConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GatewayAPIConfig other = - (com.google.container.v1beta1.GatewayAPIConfig) obj; + com.google.container.v1beta1.GatewayAPIConfig other = (com.google.container.v1beta1.GatewayAPIConfig) obj; if (channel_ != other.channel_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -351,136 +302,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GatewayAPIConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( 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.GatewayAPIConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GatewayAPIConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GatewayAPIConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GatewayAPIConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GatewayAPIConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.GatewayAPIConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GatewayAPIConfig) com.google.container.v1beta1.GatewayAPIConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GatewayAPIConfig.class, - com.google.container.v1beta1.GatewayAPIConfig.Builder.class); + com.google.container.v1beta1.GatewayAPIConfig.class, com.google.container.v1beta1.GatewayAPIConfig.Builder.class); } // Construct using com.google.container.v1beta1.GatewayAPIConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -490,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; } @java.lang.Override @@ -511,8 +456,7 @@ public com.google.container.v1beta1.GatewayAPIConfig build() { @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig buildPartial() { - com.google.container.v1beta1.GatewayAPIConfig result = - new com.google.container.v1beta1.GatewayAPIConfig(this); + com.google.container.v1beta1.GatewayAPIConfig result = new com.google.container.v1beta1.GatewayAPIConfig(this); result.channel_ = channel_; onBuilt(); return result; @@ -522,39 +466,38 @@ public com.google.container.v1beta1.GatewayAPIConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GatewayAPIConfig) { - return mergeFrom((com.google.container.v1beta1.GatewayAPIConfig) other); + return mergeFrom((com.google.container.v1beta1.GatewayAPIConfig)other); } else { super.mergeFrom(other); return this; @@ -592,19 +535,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - channel_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + channel_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -617,67 +558,51 @@ public Builder mergeFrom( private int channel_ = 0; /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @return The channel. */ @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GatewayAPIConfig.Channel result = - com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED - : result; + com.google.container.v1beta1.GatewayAPIConfig.Channel result = com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); + return result == null ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @param value The channel to set. * @return This builder for chaining. */ @@ -685,31 +610,28 @@ public Builder setChannel(com.google.container.v1beta1.GatewayAPIConfig.Channel if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -719,12 +641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GatewayAPIConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GatewayAPIConfig) private static final com.google.container.v1beta1.GatewayAPIConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GatewayAPIConfig(); } @@ -733,27 +655,27 @@ public static com.google.container.v1beta1.GatewayAPIConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GatewayAPIConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GatewayAPIConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -768,4 +690,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GatewayAPIConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java similarity index 55% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java index 489a5303643e..0611228cbbc8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface GatewayAPIConfigOrBuilder - extends +public interface GatewayAPIConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GatewayAPIConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** - * - * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; - * * @return The channel. */ com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java index 8437384bb2d9..e97bb746aab3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java @@ -1,82 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for the Compute Engine PD CSI driver.
  * 
* * Protobuf type {@code google.container.v1beta1.GcePersistentDiskCsiDriverConfig} */ -public final class GcePersistentDiskCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcePersistentDiskCsiDriverConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) GcePersistentDiskCsiDriverConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcePersistentDiskCsiDriverConfig.newBuilder() to construct. - private GcePersistentDiskCsiDriverConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GcePersistentDiskCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcePersistentDiskCsiDriverConfig() {} + private GcePersistentDiskCsiDriverConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcePersistentDiskCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the Compute Engine PD CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig other = - (com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) obj; + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig other = (com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,143 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( 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.GcePersistentDiskCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the Compute Engine PD CSI driver.
    * 
* * Protobuf type {@code google.container.v1beta1.GcePersistentDiskCsiDriverConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -288,14 +261,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig - getDefaultInstanceForType() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getDefaultInstanceForType() { return com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance(); } @@ -310,8 +282,7 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig build() { @java.lang.Override public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig buildPartial() { - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig result = - new com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig(this); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig result = new com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -321,39 +292,38 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) { - return mergeFrom((com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) other); + return mergeFrom((com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig)other); } else { super.mergeFrom(other); return this; @@ -361,9 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig other) { - if (other - == com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -393,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -416,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -433,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -479,13 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) - private static final com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig(); } @@ -494,27 +450,27 @@ public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcePersistentDiskCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcePersistentDiskCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -529,4 +485,6 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..09297cae7f84 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GcePersistentDiskCsiDriverConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java index 050a7b06bcec..69c79095b327 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * GcfsConfig contains configurations of Google Container File System.
  * 
* * Protobuf type {@code google.container.v1beta1.GcfsConfig} */ -public final class GcfsConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcfsConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GcfsConfig) GcfsConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcfsConfig.newBuilder() to construct. private GcfsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcfsConfig() {} + private GcfsConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcfsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcfsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcfsConfig.class, - com.google.container.v1beta1.GcfsConfig.Builder.class); + com.google.container.v1beta1.GcfsConfig.class, com.google.container.v1beta1.GcfsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether to use GCFS.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GcfsConfig)) { return super.equals(obj); } com.google.container.v1beta1.GcfsConfig other = (com.google.container.v1beta1.GcfsConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.GcfsConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GcfsConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcfsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcfsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcfsConfig parseFrom( 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.GcfsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcfsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GcfsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcfsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GcfsConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GcfsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcfsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GcfsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcfsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GcfsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GcfsConfig contains configurations of Google Container File System.
    * 
* * Protobuf type {@code google.container.v1beta1.GcfsConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GcfsConfig) com.google.container.v1beta1.GcfsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcfsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcfsConfig.class, - com.google.container.v1beta1.GcfsConfig.Builder.class); + com.google.container.v1beta1.GcfsConfig.class, com.google.container.v1beta1.GcfsConfig.Builder.class); } // Construct using com.google.container.v1beta1.GcfsConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcfsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_descriptor; } @java.lang.Override @@ -306,8 +282,7 @@ public com.google.container.v1beta1.GcfsConfig build() { @java.lang.Override public com.google.container.v1beta1.GcfsConfig buildPartial() { - com.google.container.v1beta1.GcfsConfig result = - new com.google.container.v1beta1.GcfsConfig(this); + com.google.container.v1beta1.GcfsConfig result = new com.google.container.v1beta1.GcfsConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -317,39 +292,38 @@ public com.google.container.v1beta1.GcfsConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GcfsConfig) { - return mergeFrom((com.google.container.v1beta1.GcfsConfig) other); + return mergeFrom((com.google.container.v1beta1.GcfsConfig)other); } else { super.mergeFrom(other); return this; @@ -387,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -410,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -427,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -473,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GcfsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GcfsConfig) private static final com.google.container.v1beta1.GcfsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GcfsConfig(); } @@ -487,27 +450,27 @@ public static com.google.container.v1beta1.GcfsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcfsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcfsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -522,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GcfsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java new file mode 100644 index 000000000000..89bd1c15ef8b --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GcfsConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcfsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether to use GCFS.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java index 458e3f5817e5..c6437e5c57cb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for the GCP Filestore CSI driver.
  * 
* * Protobuf type {@code google.container.v1beta1.GcpFilestoreCsiDriverConfig} */ -public final class GcpFilestoreCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcpFilestoreCsiDriverConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GcpFilestoreCsiDriverConfig) GcpFilestoreCsiDriverConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcpFilestoreCsiDriverConfig.newBuilder() to construct. private GcpFilestoreCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcpFilestoreCsiDriverConfig() {} + private GcpFilestoreCsiDriverConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcpFilestoreCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the GCP Filestore CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GcpFilestoreCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig other = - (com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) obj; + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig other = (com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,143 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( 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.GcpFilestoreCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* * Protobuf type {@code google.container.v1beta1.GcpFilestoreCsiDriverConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GcpFilestoreCsiDriverConfig) com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -287,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override @@ -308,8 +282,7 @@ public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig build() { @java.lang.Override public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig buildPartial() { - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig result = - new com.google.container.v1beta1.GcpFilestoreCsiDriverConfig(this); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig result = new com.google.container.v1beta1.GcpFilestoreCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -319,39 +292,38 @@ public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) { - return mergeFrom((com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) other); + return mergeFrom((com.google.container.v1beta1.GcpFilestoreCsiDriverConfig)other); } else { super.mergeFrom(other); return this; @@ -359,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig other) { - if (other == com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -390,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -413,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -430,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GcpFilestoreCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GcpFilestoreCsiDriverConfig) private static final com.google.container.v1beta1.GcpFilestoreCsiDriverConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GcpFilestoreCsiDriverConfig(); } @@ -490,27 +450,27 @@ public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcpFilestoreCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcpFilestoreCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +485,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..eb246b42e7f4 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GcpFilestoreCsiDriverConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcpFilestoreCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the GCP Filestore CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index 63719647d320..a2e7bd02cffd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GetClusterRequest gets the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetClusterRequest.class, - com.google.container.v1beta1.GetClusterRequest.Builder.class); + com.google.container.v1beta1.GetClusterRequest.class, com.google.container.v1beta1.GetClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -271,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -303,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -357,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetClusterRequest other = - (com.google.container.v1beta1.GetClusterRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.GetClusterRequest other = (com.google.container.v1beta1.GetClusterRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,136 +355,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GetClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GetClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetClusterRequest parseFrom( 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.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetClusterRequest gets the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetClusterRequest) com.google.container.v1beta1.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetClusterRequest.class, - com.google.container.v1beta1.GetClusterRequest.Builder.class); + com.google.container.v1beta1.GetClusterRequest.class, com.google.container.v1beta1.GetClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -538,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_descriptor; } @java.lang.Override @@ -559,8 +515,7 @@ public com.google.container.v1beta1.GetClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.GetClusterRequest buildPartial() { - com.google.container.v1beta1.GetClusterRequest result = - new com.google.container.v1beta1.GetClusterRequest(this); + com.google.container.v1beta1.GetClusterRequest result = new com.google.container.v1beta1.GetClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -573,39 +528,38 @@ public com.google.container.v1beta1.GetClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetClusterRequest) { - return mergeFrom((com.google.container.v1beta1.GetClusterRequest) other); + return mergeFrom((com.google.container.v1beta1.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -656,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,26 +648,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -727,27 +672,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -755,79 +697,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -835,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -845,16 +772,15 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -863,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -873,17 +797,17 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -891,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -901,25 +823,22 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -928,21 +847,17 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -951,19 +866,18 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -971,25 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -998,26 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1025,76 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1102,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1125,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1148,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1222,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetClusterRequest) private static final com.google.container.v1beta1.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetClusterRequest(); } @@ -1236,27 +1120,27 @@ public static com.google.container.v1beta1.GetClusterRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1271,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java index 099ab12d9bdf..4b2d3cbf45bc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetClusterRequestOrBuilder - extends +public interface GetClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2389 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2391 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,73 +58,58 @@ 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=2398 + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2400 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2405 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2407 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java index a889184d4463..923c811d4c71 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GetJSONWebKeysRequest gets the public component of the keys used by the
  * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -30,58 +13,53 @@
  *
  * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysRequest}
  */
-public final class GetJSONWebKeysRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetJSONWebKeysRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetJSONWebKeysRequest)
     GetJSONWebKeysRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetJSONWebKeysRequest.newBuilder() to construct.
   private GetJSONWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetJSONWebKeysRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetJSONWebKeysRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GetJSONWebKeysRequest.class,
-            com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
+            com.google.container.v1beta1.GetJSONWebKeysRequest.class, com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -122,7 +100,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -158,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetJSONWebKeysRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetJSONWebKeysRequest other = - (com.google.container.v1beta1.GetJSONWebKeysRequest) obj; + com.google.container.v1beta1.GetJSONWebKeysRequest other = (com.google.container.v1beta1.GetJSONWebKeysRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,103 +164,96 @@ public int hashCode() { } public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetJSONWebKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( 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.GetJSONWebKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GetJSONWebKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetJSONWebKeysRequest gets the public component of the keys used by the
    * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -292,32 +263,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetJSONWebKeysRequest)
       com.google.container.v1beta1.GetJSONWebKeysRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GetJSONWebKeysRequest.class,
-              com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
+              com.google.container.v1beta1.GetJSONWebKeysRequest.class, com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GetJSONWebKeysRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -327,9 +299,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
@@ -348,8 +320,7 @@ public com.google.container.v1beta1.GetJSONWebKeysRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GetJSONWebKeysRequest buildPartial() {
-      com.google.container.v1beta1.GetJSONWebKeysRequest result =
-          new com.google.container.v1beta1.GetJSONWebKeysRequest(this);
+      com.google.container.v1beta1.GetJSONWebKeysRequest result = new com.google.container.v1beta1.GetJSONWebKeysRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -359,39 +330,38 @@ public com.google.container.v1beta1.GetJSONWebKeysRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GetJSONWebKeysRequest) {
-        return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysRequest) other);
+        return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -399,8 +369,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.GetJSONWebKeysRequest other) {
-      if (other == com.google.container.v1beta1.GetJSONWebKeysRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.GetJSONWebKeysRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -431,19 +400,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -456,21 +423,19 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -479,22 +444,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -502,71 +466,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -576,12 +533,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetJSONWebKeysRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetJSONWebKeysRequest) private static final com.google.container.v1beta1.GetJSONWebKeysRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetJSONWebKeysRequest(); } @@ -590,27 +547,27 @@ public static com.google.container.v1beta1.GetJSONWebKeysRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJSONWebKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJSONWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -625,4 +582,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetJSONWebKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java similarity index 53% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java index dc4775d1df7c..184db5ff192b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetJSONWebKeysRequestOrBuilder - extends +public interface GetJSONWebKeysRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetJSONWebKeysRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java index c1b4e05936d5..2e54941d1b86 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
  * 
* * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysResponse} */ -public final class GetJSONWebKeysResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetJSONWebKeysResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetJSONWebKeysResponse) GetJSONWebKeysResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetJSONWebKeysResponse.newBuilder() to construct. private GetJSONWebKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetJSONWebKeysResponse() { keys_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetJSONWebKeysResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetJSONWebKeysResponse.class, - com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1beta1.GetJSONWebKeysResponse.class, com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); } public static final int KEYS_FIELD_NUMBER = 1; private java.util.List keys_; /** - * - * *
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -84,8 +63,6 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -94,13 +71,11 @@ public java.util.List getKeysList() {
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getKeysOrBuilderList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -113,8 +88,6 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -127,8 +100,6 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
     return keys_.get(index);
   }
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -137,12 +108,12 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index) {
+  public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
+      int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -154,7 +125,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -168,7 +140,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -178,15 +151,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.GetJSONWebKeysResponse)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.GetJSONWebKeysResponse other =
-        (com.google.container.v1beta1.GetJSONWebKeysResponse) obj;
+    com.google.container.v1beta1.GetJSONWebKeysResponse other = (com.google.container.v1beta1.GetJSONWebKeysResponse) obj;
 
-    if (!getKeysList().equals(other.getKeysList())) return false;
+    if (!getKeysList()
+        .equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -208,135 +181,129 @@ public int hashCode() {
   }
 
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
       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.GetJSONWebKeysResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.GetJSONWebKeysResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
    * 
* * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetJSONWebKeysResponse) com.google.container.v1beta1.GetJSONWebKeysResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetJSONWebKeysResponse.class, - com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1beta1.GetJSONWebKeysResponse.class, com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); } // Construct using com.google.container.v1beta1.GetJSONWebKeysResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override @@ -372,8 +339,7 @@ public com.google.container.v1beta1.GetJSONWebKeysResponse build() { @java.lang.Override public com.google.container.v1beta1.GetJSONWebKeysResponse buildPartial() { - com.google.container.v1beta1.GetJSONWebKeysResponse result = - new com.google.container.v1beta1.GetJSONWebKeysResponse(this); + com.google.container.v1beta1.GetJSONWebKeysResponse result = new com.google.container.v1beta1.GetJSONWebKeysResponse(this); int from_bitField0_ = bitField0_; if (keysBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -392,39 +358,38 @@ public com.google.container.v1beta1.GetJSONWebKeysResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetJSONWebKeysResponse) { - return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysResponse) other); + return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysResponse)other); } else { super.mergeFrom(other); return this; @@ -432,8 +397,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetJSONWebKeysResponse other) { - if (other == com.google.container.v1beta1.GetJSONWebKeysResponse.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.GetJSONWebKeysResponse.getDefaultInstance()) return this; if (keysBuilder_ == null) { if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { @@ -452,10 +416,9 @@ public Builder mergeFrom(com.google.container.v1beta1.GetJSONWebKeysResponse oth keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getKeysFieldBuilder() - : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKeysFieldBuilder() : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -487,25 +450,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1beta1.Jwk m = - input.readMessage(com.google.container.v1beta1.Jwk.parser(), extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1beta1.Jwk m = + input.readMessage( + com.google.container.v1beta1.Jwk.parser(), + extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -515,28 +478,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List keys_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Jwk, - com.google.container.v1beta1.Jwk.Builder, - com.google.container.v1beta1.JwkOrBuilder> - keysBuilder_; + com.google.container.v1beta1.Jwk, com.google.container.v1beta1.Jwk.Builder, com.google.container.v1beta1.JwkOrBuilder> keysBuilder_; /** - * - * *
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -552,8 +508,6 @@ public java.util.List getKeysList() {
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -569,8 +523,6 @@ public int getKeysCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -586,8 +538,6 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -595,7 +545,8 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder setKeys(int index, com.google.container.v1beta1.Jwk value) {
+    public Builder setKeys(
+        int index, com.google.container.v1beta1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -609,8 +560,6 @@ public Builder setKeys(int index, com.google.container.v1beta1.Jwk value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -618,7 +567,8 @@ public Builder setKeys(int index, com.google.container.v1beta1.Jwk value) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder setKeys(int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
+    public Builder setKeys(
+        int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -629,8 +579,6 @@ public Builder setKeys(int index, com.google.container.v1beta1.Jwk.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -652,8 +600,6 @@ public Builder addKeys(com.google.container.v1beta1.Jwk value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -661,7 +607,8 @@ public Builder addKeys(com.google.container.v1beta1.Jwk value) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder addKeys(int index, com.google.container.v1beta1.Jwk value) {
+    public Builder addKeys(
+        int index, com.google.container.v1beta1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -675,8 +622,6 @@ public Builder addKeys(int index, com.google.container.v1beta1.Jwk value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -684,7 +629,8 @@ public Builder addKeys(int index, com.google.container.v1beta1.Jwk value) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder addKeys(com.google.container.v1beta1.Jwk.Builder builderForValue) {
+    public Builder addKeys(
+        com.google.container.v1beta1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -695,8 +641,6 @@ public Builder addKeys(com.google.container.v1beta1.Jwk.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -704,7 +648,8 @@ public Builder addKeys(com.google.container.v1beta1.Jwk.Builder builderForValue)
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder addKeys(int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
+    public Builder addKeys(
+        int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -715,8 +660,6 @@ public Builder addKeys(int index, com.google.container.v1beta1.Jwk.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -728,7 +671,8 @@ public Builder addAllKeys(
         java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -736,8 +680,6 @@ public Builder addAllKeys(
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -756,8 +698,6 @@ public Builder clearKeys() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -776,8 +716,6 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -785,12 +723,11 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public com.google.container.v1beta1.Jwk.Builder getKeysBuilder(int index) {
+    public com.google.container.v1beta1.Jwk.Builder getKeysBuilder(
+        int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -798,16 +735,14 @@ public com.google.container.v1beta1.Jwk.Builder getKeysBuilder(int index) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index) {
+    public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
+        int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);
-      } else {
+        return keys_.get(index);  } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -815,8 +750,8 @@ public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public java.util.List
-        getKeysOrBuilderList() {
+    public java.util.List 
+         getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -824,8 +759,6 @@ public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -834,12 +767,10 @@ public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index) {
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
     public com.google.container.v1beta1.Jwk.Builder addKeysBuilder() {
-      return getKeysFieldBuilder()
-          .addBuilder(com.google.container.v1beta1.Jwk.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(
+          com.google.container.v1beta1.Jwk.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -847,13 +778,12 @@ public com.google.container.v1beta1.Jwk.Builder addKeysBuilder() {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public com.google.container.v1beta1.Jwk.Builder addKeysBuilder(int index) {
-      return getKeysFieldBuilder()
-          .addBuilder(index, com.google.container.v1beta1.Jwk.getDefaultInstance());
+    public com.google.container.v1beta1.Jwk.Builder addKeysBuilder(
+        int index) {
+      return getKeysFieldBuilder().addBuilder(
+          index, com.google.container.v1beta1.Jwk.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -861,29 +791,27 @@ public com.google.container.v1beta1.Jwk.Builder addKeysBuilder(int index) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public java.util.List getKeysBuilderList() {
+    public java.util.List 
+         getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.Jwk,
-            com.google.container.v1beta1.Jwk.Builder,
-            com.google.container.v1beta1.JwkOrBuilder>
+        com.google.container.v1beta1.Jwk, com.google.container.v1beta1.Jwk.Builder, com.google.container.v1beta1.JwkOrBuilder> 
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1beta1.Jwk,
-                com.google.container.v1beta1.Jwk.Builder,
-                com.google.container.v1beta1.JwkOrBuilder>(
-                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1beta1.Jwk, com.google.container.v1beta1.Jwk.Builder, com.google.container.v1beta1.JwkOrBuilder>(
+                keys_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -893,12 +821,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetJSONWebKeysResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetJSONWebKeysResponse)
   private static final com.google.container.v1beta1.GetJSONWebKeysResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.GetJSONWebKeysResponse();
   }
@@ -907,27 +835,27 @@ public static com.google.container.v1beta1.GetJSONWebKeysResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GetJSONWebKeysResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GetJSONWebKeysResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -942,4 +870,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.GetJSONWebKeysResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
similarity index 61%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
index 80112d6a4d46..ff57f6495fe8 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface GetJSONWebKeysResponseOrBuilder
-    extends
+public interface GetJSONWebKeysResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetJSONWebKeysResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -33,10 +15,9 @@ public interface GetJSONWebKeysResponseOrBuilder
    *
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
-  java.util.List getKeysList();
+  java.util.List 
+      getKeysList();
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -46,8 +27,6 @@ public interface GetJSONWebKeysResponseOrBuilder
    */
   com.google.container.v1beta1.Jwk getKeys(int index);
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -57,8 +36,6 @@ public interface GetJSONWebKeysResponseOrBuilder
    */
   int getKeysCount();
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -66,10 +43,9 @@ public interface GetJSONWebKeysResponseOrBuilder
    *
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
-  java.util.List getKeysOrBuilderList();
+  java.util.List 
+      getKeysOrBuilderList();
   /**
-   *
-   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -77,5 +53,6 @@ public interface GetJSONWebKeysResponseOrBuilder
    *
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
-  com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index);
+  com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
+      int index);
 }
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java
similarity index 67%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java
index 6142f0dec930..14c36ffe2867 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * GetNodePoolRequest retrieves a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.GetNodePoolRequest} */ -public final class GetNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetNodePoolRequest) GetNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetNodePoolRequest.newBuilder() to construct. private GetNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private GetNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetNodePoolRequest.class, - com.google.container.v1beta1.GetNodePoolRequest.Builder.class); + com.google.container.v1beta1.GetNodePoolRequest.class, com.google.container.v1beta1.GetNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,55 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -314,8 +269,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -323,7 +276,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -332,15 +284,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -348,15 +299,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -365,7 +317,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -377,7 +328,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -425,19 +377,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetNodePoolRequest other = - (com.google.container.v1beta1.GetNodePoolRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.GetNodePoolRequest other = (com.google.container.v1beta1.GetNodePoolRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -464,136 +420,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( 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.GetNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GetNodePoolRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetNodePoolRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GetNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetNodePoolRequest retrieves a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.GetNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetNodePoolRequest) com.google.container.v1beta1.GetNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetNodePoolRequest.class, - com.google.container.v1beta1.GetNodePoolRequest.Builder.class); + com.google.container.v1beta1.GetNodePoolRequest.class, com.google.container.v1beta1.GetNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -611,9 +561,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; } @java.lang.Override @@ -632,8 +582,7 @@ public com.google.container.v1beta1.GetNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.GetNodePoolRequest buildPartial() { - com.google.container.v1beta1.GetNodePoolRequest result = - new com.google.container.v1beta1.GetNodePoolRequest(this); + com.google.container.v1beta1.GetNodePoolRequest result = new com.google.container.v1beta1.GetNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -647,39 +596,38 @@ public com.google.container.v1beta1.GetNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.GetNodePoolRequest) other); + return mergeFrom((com.google.container.v1beta1.GetNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -687,8 +635,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetNodePoolRequest other) { - if (other == com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -735,43 +682,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -784,26 +725,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -812,27 +749,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -840,79 +774,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -920,8 +841,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -930,16 +849,15 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -948,8 +866,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -958,17 +874,17 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -976,8 +892,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -986,25 +900,22 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1013,21 +924,17 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1036,19 +943,18 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1056,25 +962,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1083,26 +985,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1110,76 +1009,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1187,25 +1073,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1214,26 +1096,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1241,76 +1120,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1318,8 +1184,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1327,13 +1191,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1342,8 +1206,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1351,14 +1213,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1366,8 +1229,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1375,22 +1236,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1398,18 +1257,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1417,23 +1273,23 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1443,12 +1299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetNodePoolRequest) private static final com.google.container.v1beta1.GetNodePoolRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetNodePoolRequest(); } @@ -1457,27 +1313,27 @@ public static com.google.container.v1beta1.GetNodePoolRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1492,4 +1348,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java index f0322916113c..17cb59ddd48e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetNodePoolRequestOrBuilder - extends +public interface GetNodePoolRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3229 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3234 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,87 +58,66 @@ 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=3238 + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3243 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3245 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3250 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3252 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3257 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -177,13 +125,10 @@ public interface GetNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -191,8 +136,8 @@ public interface GetNodePoolRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java index 8ca34714a08f..4426c5a8cbd7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GetOpenIDConfigRequest gets the OIDC discovery document for the
  * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -28,58 +11,53 @@
  *
  * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigRequest}
  */
-public final class GetOpenIDConfigRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetOpenIDConfigRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetOpenIDConfigRequest)
     GetOpenIDConfigRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigRequest.newBuilder() to construct.
   private GetOpenIDConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetOpenIDConfigRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetOpenIDConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GetOpenIDConfigRequest.class,
-            com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
+            com.google.container.v1beta1.GetOpenIDConfigRequest.class, com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -88,30 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -120,7 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +109,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -156,15 +134,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetOpenIDConfigRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetOpenIDConfigRequest other = - (com.google.container.v1beta1.GetOpenIDConfigRequest) obj; + com.google.container.v1beta1.GetOpenIDConfigRequest other = (com.google.container.v1beta1.GetOpenIDConfigRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,103 +162,96 @@ public int hashCode() { } public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( 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.GetOpenIDConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GetOpenIDConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetOpenIDConfigRequest gets the OIDC discovery document for the
    * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -288,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetOpenIDConfigRequest)
       com.google.container.v1beta1.GetOpenIDConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GetOpenIDConfigRequest.class,
-              com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
+              com.google.container.v1beta1.GetOpenIDConfigRequest.class, com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GetOpenIDConfigRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -323,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
@@ -344,8 +316,7 @@ public com.google.container.v1beta1.GetOpenIDConfigRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GetOpenIDConfigRequest buildPartial() {
-      com.google.container.v1beta1.GetOpenIDConfigRequest result =
-          new com.google.container.v1beta1.GetOpenIDConfigRequest(this);
+      com.google.container.v1beta1.GetOpenIDConfigRequest result = new com.google.container.v1beta1.GetOpenIDConfigRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -355,39 +326,38 @@ public com.google.container.v1beta1.GetOpenIDConfigRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GetOpenIDConfigRequest) {
-        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigRequest) other);
+        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -395,8 +365,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.GetOpenIDConfigRequest other) {
-      if (other == com.google.container.v1beta1.GetOpenIDConfigRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.GetOpenIDConfigRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -427,19 +396,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -452,21 +419,19 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -475,22 +440,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -498,71 +462,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetOpenIDConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetOpenIDConfigRequest) private static final com.google.container.v1beta1.GetOpenIDConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetOpenIDConfigRequest(); } @@ -586,27 +543,27 @@ public static com.google.container.v1beta1.GetOpenIDConfigRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +578,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetOpenIDConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java similarity index 54% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java index 4193594546c6..905d93478a6a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetOpenIDConfigRequestOrBuilder - extends +public interface GetOpenIDConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetOpenIDConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java index deed4e6fb7d9..71c0c8111c20 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
  * See the OpenID Connect Discovery 1.0 specification for details.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigResponse}
  */
-public final class GetOpenIDConfigResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetOpenIDConfigResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetOpenIDConfigResponse)
     GetOpenIDConfigResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigResponse.newBuilder() to construct.
   private GetOpenIDConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetOpenIDConfigResponse() {
     issuer_ = "";
     jwksUri_ = "";
@@ -50,41 +32,37 @@ private GetOpenIDConfigResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetOpenIDConfigResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GetOpenIDConfigResponse.class,
-            com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
+            com.google.container.v1beta1.GetOpenIDConfigResponse.class, com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
   }
 
   public static final int ISSUER_FIELD_NUMBER = 1;
   private volatile java.lang.Object issuer_;
   /**
-   *
-   *
    * 
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The issuer. */ @java.lang.Override @@ -93,29 +71,29 @@ public java.lang.String getIssuer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** - * - * *
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The bytes for issuer. */ @java.lang.Override - public com.google.protobuf.ByteString getIssuerBytes() { + public com.google.protobuf.ByteString + getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuer_ = b; return b; } else { @@ -126,14 +104,11 @@ public com.google.protobuf.ByteString getIssuerBytes() { public static final int JWKS_URI_FIELD_NUMBER = 2; private volatile java.lang.Object jwksUri_; /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The jwksUri. */ @java.lang.Override @@ -142,29 +117,29 @@ public java.lang.String getJwksUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; } } /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The bytes for jwksUri. */ @java.lang.Override - public com.google.protobuf.ByteString getJwksUriBytes() { + public com.google.protobuf.ByteString + getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -175,42 +150,34 @@ public com.google.protobuf.ByteString getJwksUriBytes() { public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList responseTypesSupported_; /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { return responseTypesSupported_; } /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -218,60 +185,50 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList subjectTypesSupported_; /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { return subjectTypesSupported_; } /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -279,60 +236,50 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_; /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_; } /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -340,60 +287,50 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList claimsSupported_; /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { return claimsSupported_; } /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -401,60 +338,50 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } public static final int GRANT_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList grantTypes_; /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList getGrantTypesList() { + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { return grantTypes_; } /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -462,23 +389,20 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -490,7 +414,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); } @@ -498,16 +423,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); } for (int i = 0; i < responseTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, responseTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); } for (int i = 0; i < subjectTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 4, subjectTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); } for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); } for (int i = 0; i < claimsSupported_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); @@ -578,23 +500,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetOpenIDConfigResponse)) { return super.equals(obj); } - com.google.container.v1beta1.GetOpenIDConfigResponse other = - (com.google.container.v1beta1.GetOpenIDConfigResponse) obj; + com.google.container.v1beta1.GetOpenIDConfigResponse other = (com.google.container.v1beta1.GetOpenIDConfigResponse) obj; - if (!getIssuer().equals(other.getIssuer())) return false; - if (!getJwksUri().equals(other.getJwksUri())) return false; - if (!getResponseTypesSupportedList().equals(other.getResponseTypesSupportedList())) - return false; - if (!getSubjectTypesSupportedList().equals(other.getSubjectTypesSupportedList())) return false; + if (!getIssuer() + .equals(other.getIssuer())) return false; + if (!getJwksUri() + .equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList() + .equals(other.getResponseTypesSupportedList())) return false; + if (!getSubjectTypesSupportedList() + .equals(other.getSubjectTypesSupportedList())) return false; if (!getIdTokenSigningAlgValuesSupportedList() .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; - if (!getClaimsSupportedList().equals(other.getClaimsSupportedList())) return false; - if (!getGrantTypesList().equals(other.getGrantTypesList())) return false; + if (!getClaimsSupportedList() + .equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList() + .equals(other.getGrantTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -636,103 +562,96 @@ public int hashCode() { } public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( 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.GetOpenIDConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GetOpenIDConfigResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
    * See the OpenID Connect Discovery 1.0 specification for details.
@@ -740,32 +659,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetOpenIDConfigResponse)
       com.google.container.v1beta1.GetOpenIDConfigResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GetOpenIDConfigResponse.class,
-              com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
+              com.google.container.v1beta1.GetOpenIDConfigResponse.class, com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GetOpenIDConfigResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -787,9 +707,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
@@ -808,8 +728,7 @@ public com.google.container.v1beta1.GetOpenIDConfigResponse build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GetOpenIDConfigResponse buildPartial() {
-      com.google.container.v1beta1.GetOpenIDConfigResponse result =
-          new com.google.container.v1beta1.GetOpenIDConfigResponse(this);
+      com.google.container.v1beta1.GetOpenIDConfigResponse result = new com.google.container.v1beta1.GetOpenIDConfigResponse(this);
       int from_bitField0_ = bitField0_;
       result.issuer_ = issuer_;
       result.jwksUri_ = jwksUri_;
@@ -846,39 +765,38 @@ public com.google.container.v1beta1.GetOpenIDConfigResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GetOpenIDConfigResponse) {
-        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigResponse) other);
+        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -886,8 +804,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.GetOpenIDConfigResponse other) {
-      if (other == com.google.container.v1beta1.GetOpenIDConfigResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.GetOpenIDConfigResponse.getDefaultInstance()) return this;
       if (!other.getIssuer().isEmpty()) {
         issuer_ = other.issuer_;
         onChanged();
@@ -972,60 +889,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                issuer_ = input.readStringRequireUtf8();
+            case 10: {
+              issuer_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                jwksUri_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              jwksUri_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureResponseTypesSupportedIsMutable();
-                responseTypesSupported_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureSubjectTypesSupportedIsMutable();
-                subjectTypesSupported_.add(s);
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureIdTokenSigningAlgValuesSupportedIsMutable();
-                idTokenSigningAlgValuesSupported_.add(s);
-                break;
-              } // case 42
-            case 50:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureClaimsSupportedIsMutable();
-                claimsSupported_.add(s);
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureGrantTypesIsMutable();
-                grantTypes_.add(s);
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureResponseTypesSupportedIsMutable();
+              responseTypesSupported_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureSubjectTypesSupportedIsMutable();
+              subjectTypesSupported_.add(s);
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureIdTokenSigningAlgValuesSupportedIsMutable();
+              idTokenSigningAlgValuesSupported_.add(s);
+              break;
+            } // case 42
+            case 50: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureClaimsSupportedIsMutable();
+              claimsSupported_.add(s);
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureGrantTypesIsMutable();
+              grantTypes_.add(s);
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1035,25 +944,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object issuer_ = "";
     /**
-     *
-     *
      * 
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; @@ -1062,21 +968,20 @@ public java.lang.String getIssuer() { } } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @return The bytes for issuer. */ - public com.google.protobuf.ByteString getIssuerBytes() { + public com.google.protobuf.ByteString + getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); issuer_ = b; return b; } else { @@ -1084,61 +989,54 @@ public com.google.protobuf.ByteString getIssuerBytes() { } } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @param value The issuer to set. * @return This builder for chaining. */ - public Builder setIssuer(java.lang.String value) { + public Builder setIssuer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issuer_ = value; onChanged(); return this; } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @return This builder for chaining. */ public Builder clearIssuer() { - + issuer_ = getDefaultInstance().getIssuer(); onChanged(); return this; } /** - * - * *
      * OIDC Issuer.
      * 
* * string issuer = 1; - * * @param value The bytes for issuer to set. * @return This builder for chaining. */ - public Builder setIssuerBytes(com.google.protobuf.ByteString value) { + public Builder setIssuerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuer_ = value; onChanged(); return this; @@ -1146,20 +1044,18 @@ public Builder setIssuerBytes(com.google.protobuf.ByteString value) { private java.lang.Object jwksUri_ = ""; /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @return The jwksUri. */ public java.lang.String getJwksUri() { java.lang.Object ref = jwksUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; @@ -1168,21 +1064,20 @@ public java.lang.String getJwksUri() { } } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @return The bytes for jwksUri. */ - public com.google.protobuf.ByteString getJwksUriBytes() { + public com.google.protobuf.ByteString + getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -1190,113 +1085,95 @@ public com.google.protobuf.ByteString getJwksUriBytes() { } } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @param value The jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUri(java.lang.String value) { + public Builder setJwksUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jwksUri_ = value; onChanged(); return this; } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @return This builder for chaining. */ public Builder clearJwksUri() { - + jwksUri_ = getDefaultInstance().getJwksUri(); onChanged(); return this; } /** - * - * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; - * * @param value The bytes for jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { + public Builder setJwksUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jwksUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList responseTypesSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureResponseTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - responseTypesSupported_ = - new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getResponseTypesSupportedList() { return responseTypesSupported_.getUnmodifiableView(); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -1304,90 +1181,80 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param index The index to set the value at. * @param value The responseTypesSupported to set. * @return This builder for chaining. */ - public Builder setResponseTypesSupported(int index, java.lang.String value) { + public Builder setResponseTypesSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param value The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupported(java.lang.String value) { + public Builder addResponseTypesSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param values The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllResponseTypesSupported(java.lang.Iterable values) { + public Builder addAllResponseTypesSupported( + java.lang.Iterable values) { ensureResponseTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, responseTypesSupported_); onChanged(); return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @return This builder for chaining. */ public Builder clearResponseTypesSupported() { @@ -1397,75 +1264,62 @@ public Builder clearResponseTypesSupported() { return this; } /** - * - * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; - * * @param value The bytes of the responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addResponseTypesSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList subjectTypesSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSubjectTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - subjectTypesSupported_ = - new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList + getSubjectTypesSupportedList() { return subjectTypesSupported_.getUnmodifiableView(); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -1473,90 +1327,80 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param index The index to set the value at. * @param value The subjectTypesSupported to set. * @return This builder for chaining. */ - public Builder setSubjectTypesSupported(int index, java.lang.String value) { + public Builder setSubjectTypesSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param value The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupported(java.lang.String value) { + public Builder addSubjectTypesSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param values The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllSubjectTypesSupported(java.lang.Iterable values) { + public Builder addAllSubjectTypesSupported( + java.lang.Iterable values) { ensureSubjectTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subjectTypesSupported_); onChanged(); return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @return This builder for chaining. */ public Builder clearSubjectTypesSupported() { @@ -1566,75 +1410,62 @@ public Builder clearSubjectTypesSupported() { return this; } /** - * - * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; - * * @param value The bytes of the subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addSubjectTypesSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - idTokenSigningAlgValuesSupported_ = - new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList + getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_.getUnmodifiableView(); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -1642,72 +1473,63 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index to set the value at. * @param value The idTokenSigningAlgValuesSupported to set. * @return This builder for chaining. */ - public Builder setIdTokenSigningAlgValuesSupported(int index, java.lang.String value) { + public Builder setIdTokenSigningAlgValuesSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param value The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupported(java.lang.String value) { + public Builder addIdTokenSigningAlgValuesSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param values The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ @@ -1720,14 +1542,11 @@ public Builder addAllIdTokenSigningAlgValuesSupported( return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return This builder for chaining. */ public Builder clearIdTokenSigningAlgValuesSupported() { @@ -1737,74 +1556,62 @@ public Builder clearIdTokenSigningAlgValuesSupported() { return this; } /** - * - * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param value The bytes of the idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addIdTokenSigningAlgValuesSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList claimsSupported_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList claimsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureClaimsSupportedIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList + getClaimsSupportedList() { return claimsSupported_.getUnmodifiableView(); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -1812,90 +1619,80 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString + getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param index The index to set the value at. * @param value The claimsSupported to set. * @return This builder for chaining. */ - public Builder setClaimsSupported(int index, java.lang.String value) { + public Builder setClaimsSupported( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param value The claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupported(java.lang.String value) { + public Builder addClaimsSupported( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param values The claimsSupported to add. * @return This builder for chaining. */ - public Builder addAllClaimsSupported(java.lang.Iterable values) { + public Builder addAllClaimsSupported( + java.lang.Iterable values) { ensureClaimsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, claimsSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, claimsSupported_); onChanged(); return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @return This builder for chaining. */ public Builder clearClaimsSupported() { @@ -1905,74 +1702,62 @@ public Builder clearClaimsSupported() { return this; } /** - * - * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; - * * @param value The bytes of the claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value) { + public Builder addClaimsSupportedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList grantTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList grantTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGrantTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList getGrantTypesList() { + public com.google.protobuf.ProtocolStringList + getGrantTypesList() { return grantTypes_.getUnmodifiableView(); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -1980,90 +1765,80 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString + getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param index The index to set the value at. * @param value The grantTypes to set. * @return This builder for chaining. */ - public Builder setGrantTypes(int index, java.lang.String value) { + public Builder setGrantTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param value The grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypes(java.lang.String value) { + public Builder addGrantTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param values The grantTypes to add. * @return This builder for chaining. */ - public Builder addAllGrantTypes(java.lang.Iterable values) { + public Builder addAllGrantTypes( + java.lang.Iterable values) { ensureGrantTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, grantTypes_); onChanged(); return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @return This builder for chaining. */ public Builder clearGrantTypes() { @@ -2073,30 +1848,28 @@ public Builder clearGrantTypes() { return this; } /** - * - * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; - * * @param value The bytes of the grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypesBytes(com.google.protobuf.ByteString value) { + public Builder addGrantTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2106,12 +1879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetOpenIDConfigResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetOpenIDConfigResponse) private static final com.google.container.v1beta1.GetOpenIDConfigResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetOpenIDConfigResponse(); } @@ -2120,27 +1893,27 @@ public static com.google.container.v1beta1.GetOpenIDConfigResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2155,4 +1928,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetOpenIDConfigResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java similarity index 75% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java index f7efa4349c13..28a5de38bd87 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java @@ -1,330 +1,254 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface GetOpenIDConfigResponseOrBuilder - extends +public interface GetOpenIDConfigResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetOpenIDConfigResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The issuer. */ java.lang.String getIssuer(); /** - * - * *
    * OIDC Issuer.
    * 
* * string issuer = 1; - * * @return The bytes for issuer. */ - com.google.protobuf.ByteString getIssuerBytes(); + com.google.protobuf.ByteString + getIssuerBytes(); /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The jwksUri. */ java.lang.String getJwksUri(); /** - * - * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; - * * @return The bytes for jwksUri. */ - com.google.protobuf.ByteString getJwksUriBytes(); + com.google.protobuf.ByteString + getJwksUriBytes(); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return A list containing the responseTypesSupported. */ - java.util.List getResponseTypesSupportedList(); + java.util.List + getResponseTypesSupportedList(); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @return The count of responseTypesSupported. */ int getResponseTypesSupportedCount(); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ java.lang.String getResponseTypesSupported(int index); /** - * - * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; - * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index); + com.google.protobuf.ByteString + getResponseTypesSupportedBytes(int index); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return A list containing the subjectTypesSupported. */ - java.util.List getSubjectTypesSupportedList(); + java.util.List + getSubjectTypesSupportedList(); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @return The count of subjectTypesSupported. */ int getSubjectTypesSupportedCount(); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ java.lang.String getSubjectTypesSupported(int index); /** - * - * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; - * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index); + com.google.protobuf.ByteString + getSubjectTypesSupportedBytes(int index); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return A list containing the idTokenSigningAlgValuesSupported. */ - java.util.List getIdTokenSigningAlgValuesSupportedList(); + java.util.List + getIdTokenSigningAlgValuesSupportedList(); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @return The count of idTokenSigningAlgValuesSupported. */ int getIdTokenSigningAlgValuesSupportedCount(); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ java.lang.String getIdTokenSigningAlgValuesSupported(int index); /** - * - * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; - * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index); + com.google.protobuf.ByteString + getIdTokenSigningAlgValuesSupportedBytes(int index); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return A list containing the claimsSupported. */ - java.util.List getClaimsSupportedList(); + java.util.List + getClaimsSupportedList(); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @return The count of claimsSupported. */ int getClaimsSupportedCount(); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ java.lang.String getClaimsSupported(int index); /** - * - * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; - * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - com.google.protobuf.ByteString getClaimsSupportedBytes(int index); + com.google.protobuf.ByteString + getClaimsSupportedBytes(int index); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return A list containing the grantTypes. */ - java.util.List getGrantTypesList(); + java.util.List + getGrantTypesList(); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @return The count of grantTypes. */ int getGrantTypesCount(); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the element to return. * @return The grantTypes at the given index. */ java.lang.String getGrantTypes(int index); /** - * - * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; - * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - com.google.protobuf.ByteString getGrantTypesBytes(int index); + com.google.protobuf.ByteString + getGrantTypesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java index 99ff2de761e0..5073ffd7118c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * GetOperationRequest gets a single operation.
  * 
* * Protobuf type {@code google.container.v1beta1.GetOperationRequest} */ -public final class GetOperationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetOperationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetOperationRequest) GetOperationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetOperationRequest.newBuilder() to construct. private GetOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetOperationRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private GetOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetOperationRequest.class, - com.google.container.v1beta1.GetOperationRequest.Builder.class); + com.google.container.v1beta1.GetOperationRequest.class, com.google.container.v1beta1.GetOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -254,15 +216,12 @@ public com.google.protobuf.ByteString getOperationIdBytes() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -271,30 +230,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -303,7 +262,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -357,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetOperationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetOperationRequest other = - (com.google.container.v1beta1.GetOperationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getOperationId().equals(other.getOperationId())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.GetOperationRequest other = (com.google.container.v1beta1.GetOperationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getOperationId() + .equals(other.getOperationId())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -393,136 +355,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GetOperationRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GetOperationRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOperationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOperationRequest parseFrom( 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.GetOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetOperationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GetOperationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetOperationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOperationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GetOperationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetOperationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOperationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GetOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * GetOperationRequest gets a single operation.
    * 
* * Protobuf type {@code google.container.v1beta1.GetOperationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetOperationRequest) com.google.container.v1beta1.GetOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetOperationRequest.class, - com.google.container.v1beta1.GetOperationRequest.Builder.class); + com.google.container.v1beta1.GetOperationRequest.class, com.google.container.v1beta1.GetOperationRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetOperationRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -538,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_descriptor; } @java.lang.Override @@ -559,8 +515,7 @@ public com.google.container.v1beta1.GetOperationRequest build() { @java.lang.Override public com.google.container.v1beta1.GetOperationRequest buildPartial() { - com.google.container.v1beta1.GetOperationRequest result = - new com.google.container.v1beta1.GetOperationRequest(this); + com.google.container.v1beta1.GetOperationRequest result = new com.google.container.v1beta1.GetOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -573,39 +528,38 @@ public com.google.container.v1beta1.GetOperationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetOperationRequest) { - return mergeFrom((com.google.container.v1beta1.GetOperationRequest) other); + return mergeFrom((com.google.container.v1beta1.GetOperationRequest)other); } else { super.mergeFrom(other); return this; @@ -613,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetOperationRequest other) { - if (other == com.google.container.v1beta1.GetOperationRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.GetOperationRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -657,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,26 +648,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -728,27 +672,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -756,79 +697,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -836,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -846,16 +772,15 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +797,17 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -892,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -902,25 +823,22 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -929,21 +847,17 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -952,19 +866,18 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -972,25 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object operationId_ = ""; /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @return The operationId. */ - @java.lang.Deprecated - public java.lang.String getOperationId() { + @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -999,26 +908,23 @@ public java.lang.String getOperationId() { } } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @return The bytes for operationId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getOperationIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operationId_ = b; return b; } else { @@ -1026,76 +932,63 @@ public com.google.protobuf.ByteString getOperationIdBytes() { } } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationId(java.lang.String value) { + @java.lang.Deprecated public Builder setOperationId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearOperationId() { - + @java.lang.Deprecated public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -1103,21 +996,19 @@ public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1126,22 +1017,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1149,71 +1039,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1223,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetOperationRequest) private static final com.google.container.v1beta1.GetOperationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetOperationRequest(); } @@ -1237,27 +1120,27 @@ public static com.google.container.v1beta1.GetOperationRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java index 25011cb0ec0d..c7a816b3225c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetOperationRequestOrBuilder - extends +public interface GetOperationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetOperationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2933 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2938 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,73 +58,58 @@ 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=2942 + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2947 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @return The operationId. */ - @java.lang.Deprecated - java.lang.String getOperationId(); + @java.lang.Deprecated java.lang.String getOperationId(); /** - * - * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2949 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2954 * @return The bytes for operationId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getOperationIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getOperationIdBytes(); /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java index 15784c2634d2..bfc400407299 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Gets the current Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.GetServerConfigRequest} */ -public final class GetServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetServerConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetServerConfigRequest) GetServerConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetServerConfigRequest.newBuilder() to construct. private GetServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetServerConfigRequest() { projectId_ = ""; zone_ = ""; @@ -45,84 +27,76 @@ private GetServerConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetServerConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetServerConfigRequest.class, - com.google.container.v1beta1.GetServerConfigRequest.Builder.class); + com.google.container.v1beta1.GetServerConfigRequest.class, com.google.container.v1beta1.GetServerConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -143,27 +115,24 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -172,18 +141,18 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,15 +163,12 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The name. */ @java.lang.Override @@ -211,30 +177,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -243,7 +209,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +220,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -291,17 +257,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetServerConfigRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetServerConfigRequest other = - (com.google.container.v1beta1.GetServerConfigRequest) obj; + com.google.container.v1beta1.GetServerConfigRequest other = (com.google.container.v1beta1.GetServerConfigRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getName().equals(other.getName())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,135 +293,129 @@ public int hashCode() { } public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.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.container.v1beta1.GetServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetServerConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GetServerConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GetServerConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GetServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GetServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Gets the current Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.GetServerConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetServerConfigRequest) com.google.container.v1beta1.GetServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetServerConfigRequest.class, - com.google.container.v1beta1.GetServerConfigRequest.Builder.class); + com.google.container.v1beta1.GetServerConfigRequest.class, com.google.container.v1beta1.GetServerConfigRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetServerConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -467,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; } @java.lang.Override @@ -488,8 +450,7 @@ public com.google.container.v1beta1.GetServerConfigRequest build() { @java.lang.Override public com.google.container.v1beta1.GetServerConfigRequest buildPartial() { - com.google.container.v1beta1.GetServerConfigRequest result = - new com.google.container.v1beta1.GetServerConfigRequest(this); + com.google.container.v1beta1.GetServerConfigRequest result = new com.google.container.v1beta1.GetServerConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.name_ = name_; @@ -501,39 +462,38 @@ public com.google.container.v1beta1.GetServerConfigRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetServerConfigRequest) { - return mergeFrom((com.google.container.v1beta1.GetServerConfigRequest) other); + return mergeFrom((com.google.container.v1beta1.GetServerConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -541,8 +501,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetServerConfigRequest other) { - if (other == com.google.container.v1beta1.GetServerConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.GetServerConfigRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -581,31 +540,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -618,26 +573,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -646,27 +597,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -674,79 +622,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -754,8 +689,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -764,16 +697,15 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -782,8 +714,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -792,17 +722,17 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -810,8 +740,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -820,25 +748,22 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -847,21 +772,17 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -870,19 +791,18 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -890,21 +810,19 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -913,22 +831,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -936,71 +853,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1010,12 +920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetServerConfigRequest) private static final com.google.container.v1beta1.GetServerConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetServerConfigRequest(); } @@ -1024,27 +934,27 @@ public static com.google.container.v1beta1.GetServerConfigRequest getDefaultInst 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(); - } - }; + 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; @@ -1059,4 +969,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java index 4cc6515d3666..412baca9afc6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetServerConfigRequestOrBuilder - extends +public interface GetServerConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3030 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -71,16 +44,12 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -89,38 +58,32 @@ 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=3039 + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3044 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java index e9d4053715a9..bebbbced1e7c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for the Backup for GKE Agent.
  * 
* * Protobuf type {@code google.container.v1beta1.GkeBackupAgentConfig} */ -public final class GkeBackupAgentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GkeBackupAgentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GkeBackupAgentConfig) GkeBackupAgentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GkeBackupAgentConfig.newBuilder() to construct. private GkeBackupAgentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GkeBackupAgentConfig() {} + private GkeBackupAgentConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GkeBackupAgentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GkeBackupAgentConfig.class, - com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1beta1.GkeBackupAgentConfig.class, com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether the Backup for GKE agent is enabled for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GkeBackupAgentConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GkeBackupAgentConfig other = - (com.google.container.v1beta1.GkeBackupAgentConfig) obj; + com.google.container.v1beta1.GkeBackupAgentConfig other = (com.google.container.v1beta1.GkeBackupAgentConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GkeBackupAgentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( 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.GkeBackupAgentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.GkeBackupAgentConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.GkeBackupAgentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GkeBackupAgentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the Backup for GKE Agent.
    * 
* * Protobuf type {@code google.container.v1beta1.GkeBackupAgentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GkeBackupAgentConfig) com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GkeBackupAgentConfig.class, - com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1beta1.GkeBackupAgentConfig.class, com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); } // Construct using com.google.container.v1beta1.GkeBackupAgentConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.GkeBackupAgentConfig build() { @java.lang.Override public com.google.container.v1beta1.GkeBackupAgentConfig buildPartial() { - com.google.container.v1beta1.GkeBackupAgentConfig result = - new com.google.container.v1beta1.GkeBackupAgentConfig(this); + com.google.container.v1beta1.GkeBackupAgentConfig result = new com.google.container.v1beta1.GkeBackupAgentConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.GkeBackupAgentConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GkeBackupAgentConfig) { - return mergeFrom((com.google.container.v1beta1.GkeBackupAgentConfig) other); + return mergeFrom((com.google.container.v1beta1.GkeBackupAgentConfig)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GkeBackupAgentConfig other) { - if (other == com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GkeBackupAgentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GkeBackupAgentConfig) private static final com.google.container.v1beta1.GkeBackupAgentConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GkeBackupAgentConfig(); } @@ -489,27 +450,27 @@ public static com.google.container.v1beta1.GkeBackupAgentConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GkeBackupAgentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GkeBackupAgentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GkeBackupAgentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java new file mode 100644 index 000000000000..60da35fabd9b --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GkeBackupAgentConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GkeBackupAgentConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Backup for GKE agent is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java index 5abce78ef47f..21d0025b1e3d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration options for the horizontal pod autoscaling feature, which
  * increases or decreases the number of replica pods a replication controller
@@ -29,49 +12,46 @@
  *
  * Protobuf type {@code google.container.v1beta1.HorizontalPodAutoscaling}
  */
-public final class HorizontalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HorizontalPodAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.HorizontalPodAutoscaling)
     HorizontalPodAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HorizontalPodAutoscaling.newBuilder() to construct.
   private HorizontalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private HorizontalPodAutoscaling() {}
+  private HorizontalPodAutoscaling() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HorizontalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.HorizontalPodAutoscaling.class,
-            com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
+            com.google.container.v1beta1.HorizontalPodAutoscaling.class, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
    * When enabled, it ensures that metrics are collected into Stackdriver
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -88,7 +67,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,7 +78,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -114,7 +93,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,15 +104,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.HorizontalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.HorizontalPodAutoscaling other = - (com.google.container.v1beta1.HorizontalPodAutoscaling) obj; + com.google.container.v1beta1.HorizontalPodAutoscaling other = (com.google.container.v1beta1.HorizontalPodAutoscaling) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -145,111 +125,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HorizontalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( 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.HorizontalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.HorizontalPodAutoscaling prototype) { + public static Builder newBuilder(com.google.container.v1beta1.HorizontalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -258,32 +231,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.HorizontalPodAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.HorizontalPodAutoscaling)
       com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.HorizontalPodAutoscaling.class,
-              com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
+              com.google.container.v1beta1.HorizontalPodAutoscaling.class, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.HorizontalPodAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +267,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -314,8 +288,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.HorizontalPodAutoscaling buildPartial() {
-      com.google.container.v1beta1.HorizontalPodAutoscaling result =
-          new com.google.container.v1beta1.HorizontalPodAutoscaling(this);
+      com.google.container.v1beta1.HorizontalPodAutoscaling result = new com.google.container.v1beta1.HorizontalPodAutoscaling(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -325,39 +298,38 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.HorizontalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.HorizontalPodAutoscaling) other);
+        return mergeFrom((com.google.container.v1beta1.HorizontalPodAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -365,8 +337,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.HorizontalPodAutoscaling other) {
-      if (other == com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance()) return this;
       if (other.getDisabled() != false) {
         setDisabled(other.getDisabled());
       }
@@ -396,19 +367,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,10 +388,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -430,7 +397,6 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -438,8 +404,6 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -447,19 +411,16 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -467,18 +428,17 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -488,12 +448,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.HorizontalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.HorizontalPodAutoscaling) private static final com.google.container.v1beta1.HorizontalPodAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.HorizontalPodAutoscaling(); } @@ -502,27 +462,27 @@ public static com.google.container.v1beta1.HorizontalPodAutoscaling getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HorizontalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HorizontalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -537,4 +497,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.HorizontalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..07be7fd0cafd --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface HorizontalPodAutoscalingOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HorizontalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
+   * When enabled, it ensures that metrics are collected into Stackdriver
+   * Monitoring.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java index 73cece29b678..b4920e0cb22a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration options for the HTTP (L7) load balancing controller addon,
  * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1beta1.HttpLoadBalancing}
  */
-public final class HttpLoadBalancing extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HttpLoadBalancing extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.HttpLoadBalancing)
     HttpLoadBalancingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HttpLoadBalancing.newBuilder() to construct.
   private HttpLoadBalancing(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private HttpLoadBalancing() {}
+  private HttpLoadBalancing() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HttpLoadBalancing();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.HttpLoadBalancing.class,
-            com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
+            com.google.container.v1beta1.HttpLoadBalancing.class, com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Whether the HTTP Load Balancing controller is enabled in the cluster.
    * When enabled, it runs a small pod in the cluster that manages the load
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -87,7 +66,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +77,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -113,7 +92,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,15 +103,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.HttpLoadBalancing)) { return super.equals(obj); } - com.google.container.v1beta1.HttpLoadBalancing other = - (com.google.container.v1beta1.HttpLoadBalancing) obj; + com.google.container.v1beta1.HttpLoadBalancing other = (com.google.container.v1beta1.HttpLoadBalancing) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -144,110 +124,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HttpLoadBalancing parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( 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.HttpLoadBalancing parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.HttpLoadBalancing parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.HttpLoadBalancing parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.HttpLoadBalancing parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.HttpLoadBalancing prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the HTTP (L7) load balancing controller addon,
    * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -255,32 +229,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.HttpLoadBalancing}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.HttpLoadBalancing)
       com.google.container.v1beta1.HttpLoadBalancingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.HttpLoadBalancing.class,
-              com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
+              com.google.container.v1beta1.HttpLoadBalancing.class, com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.HttpLoadBalancing.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +265,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +286,7 @@ public com.google.container.v1beta1.HttpLoadBalancing build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.HttpLoadBalancing buildPartial() {
-      com.google.container.v1beta1.HttpLoadBalancing result =
-          new com.google.container.v1beta1.HttpLoadBalancing(this);
+      com.google.container.v1beta1.HttpLoadBalancing result = new com.google.container.v1beta1.HttpLoadBalancing(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -322,39 +296,38 @@ public com.google.container.v1beta1.HttpLoadBalancing buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.HttpLoadBalancing) {
-        return mergeFrom((com.google.container.v1beta1.HttpLoadBalancing) other);
+        return mergeFrom((com.google.container.v1beta1.HttpLoadBalancing)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -392,19 +365,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -415,10 +386,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -426,7 +395,6 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -434,8 +402,6 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -443,19 +409,16 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -463,18 +426,17 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -484,12 +446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.HttpLoadBalancing) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.HttpLoadBalancing) private static final com.google.container.v1beta1.HttpLoadBalancing DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.HttpLoadBalancing(); } @@ -498,27 +460,27 @@ public static com.google.container.v1beta1.HttpLoadBalancing getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpLoadBalancing parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpLoadBalancing parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -533,4 +495,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.HttpLoadBalancing getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java new file mode 100644 index 000000000000..ab941b3c7a59 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface HttpLoadBalancingOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HttpLoadBalancing) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the HTTP Load Balancing controller is enabled in the cluster.
+   * When enabled, it runs a small pod in the cluster that manages the load
+   * balancers.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java index 39bf01c6194c..6f3c8ab4e233 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
  * subsetting on this cluster.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.ILBSubsettingConfig}
  */
-public final class ILBSubsettingConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ILBSubsettingConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ILBSubsettingConfig)
     ILBSubsettingConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ILBSubsettingConfig.newBuilder() to construct.
   private ILBSubsettingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ILBSubsettingConfig() {}
+  private ILBSubsettingConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ILBSubsettingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ILBSubsettingConfig.class,
-            com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
+            com.google.container.v1beta1.ILBSubsettingConfig.class, com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enables l4 ILB subsetting for this cluster
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ILBSubsettingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ILBSubsettingConfig other = - (com.google.container.v1beta1.ILBSubsettingConfig) obj; + com.google.container.v1beta1.ILBSubsettingConfig other = (com.google.container.v1beta1.ILBSubsettingConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ILBSubsettingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( 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.ILBSubsettingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ILBSubsettingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ILBSubsettingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ILBSubsettingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
    * subsetting on this cluster.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ILBSubsettingConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ILBSubsettingConfig)
       com.google.container.v1beta1.ILBSubsettingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ILBSubsettingConfig.class,
-              com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
+              com.google.container.v1beta1.ILBSubsettingConfig.class, com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ILBSubsettingConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1beta1.ILBSubsettingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ILBSubsettingConfig buildPartial() {
-      com.google.container.v1beta1.ILBSubsettingConfig result =
-          new com.google.container.v1beta1.ILBSubsettingConfig(this);
+      com.google.container.v1beta1.ILBSubsettingConfig result = new com.google.container.v1beta1.ILBSubsettingConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1beta1.ILBSubsettingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ILBSubsettingConfig) {
-        return mergeFrom((com.google.container.v1beta1.ILBSubsettingConfig) other);
+        return mergeFrom((com.google.container.v1beta1.ILBSubsettingConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -360,8 +333,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ILBSubsettingConfig other) {
-      if (other == com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -391,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -414,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enables l4 ILB subsetting for this cluster
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -431,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enables l4 ILB subsetting for this cluster
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enables l4 ILB subsetting for this cluster
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -477,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ILBSubsettingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ILBSubsettingConfig) private static final com.google.container.v1beta1.ILBSubsettingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ILBSubsettingConfig(); } @@ -491,27 +452,27 @@ public static com.google.container.v1beta1.ILBSubsettingConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ILBSubsettingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ILBSubsettingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -526,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ILBSubsettingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java new file mode 100644 index 000000000000..2564abfed2d4 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ILBSubsettingConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ILBSubsettingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enables l4 ILB subsetting for this cluster
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java similarity index 77% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java index 94be552d4828..cb85ce88896d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration for controlling how IPs are allocated in the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.IPAllocationPolicy} */ -public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IPAllocationPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.IPAllocationPolicy) IPAllocationPolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IPAllocationPolicy.newBuilder() to construct. private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IPAllocationPolicy() { subnetworkName_ = ""; clusterIpv4Cidr_ = ""; @@ -56,43 +38,39 @@ private IPAllocationPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IPAllocationPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IPAllocationPolicy.class, - com.google.container.v1beta1.IPAllocationPolicy.Builder.class); + com.google.container.v1beta1.IPAllocationPolicy.class, com.google.container.v1beta1.IPAllocationPolicy.Builder.class); } /** - * - * *
    * Possible values for IP stack type
    * 
* * Protobuf enum {@code google.container.v1beta1.IPAllocationPolicy.StackType} */ - public enum StackType implements com.google.protobuf.ProtocolMessageEnum { + public enum StackType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * By default, the clusters will be IPV4 only
      * 
@@ -101,8 +79,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ STACK_TYPE_UNSPECIFIED(0), /** - * - * *
      * The value used if the cluster is a IPV4 only
      * 
@@ -111,8 +87,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ IPV4(1), /** - * - * *
      * The value used if the cluster is a dual stack cluster
      * 
@@ -124,8 +98,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * By default, the clusters will be IPV4 only
      * 
@@ -134,8 +106,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STACK_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The value used if the cluster is a IPV4 only
      * 
@@ -144,8 +114,6 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IPV4_VALUE = 1; /** - * - * *
      * The value used if the cluster is a dual stack cluster
      * 
@@ -154,6 +122,7 @@ public enum StackType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IPV4_IPV6_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -178,49 +147,49 @@ public static StackType valueOf(int value) { */ public static StackType forNumber(int value) { switch (value) { - case 0: - return STACK_TYPE_UNSPECIFIED; - case 1: - return IPV4; - case 2: - return IPV4_IPV6; - default: - return null; + case 0: return STACK_TYPE_UNSPECIFIED; + case 1: return IPV4; + case 2: return IPV4_IPV6; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + StackType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StackType findValueByNumber(int number) { + return StackType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StackType findValueByNumber(int number) { - return StackType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.IPAllocationPolicy.getDescriptor().getEnumTypes().get(0); } private static final StackType[] VALUES = values(); - public static StackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StackType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -238,18 +207,15 @@ private StackType(int value) { } /** - * - * *
    * IPv6 access type
    * 
* * Protobuf enum {@code google.container.v1beta1.IPAllocationPolicy.IPv6AccessType} */ - public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { + public enum IPv6AccessType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value, will be defaulted as type external.
      * 
@@ -258,8 +224,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ IPV6_ACCESS_TYPE_UNSPECIFIED(0), /** - * - * *
      * Access type internal (all v6 addresses are internal IPs)
      * 
@@ -268,8 +232,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ INTERNAL(1), /** - * - * *
      * Access type external (all v6 addresses are external IPs)
      * 
@@ -281,8 +243,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value, will be defaulted as type external.
      * 
@@ -291,8 +251,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IPV6_ACCESS_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Access type internal (all v6 addresses are internal IPs)
      * 
@@ -301,8 +259,6 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERNAL_VALUE = 1; /** - * - * *
      * Access type external (all v6 addresses are external IPs)
      * 
@@ -311,6 +267,7 @@ public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXTERNAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -335,49 +292,49 @@ public static IPv6AccessType valueOf(int value) { */ public static IPv6AccessType forNumber(int value) { switch (value) { - case 0: - return IPV6_ACCESS_TYPE_UNSPECIFIED; - case 1: - return INTERNAL; - case 2: - return EXTERNAL; - default: - return null; + case 0: return IPV6_ACCESS_TYPE_UNSPECIFIED; + case 1: return INTERNAL; + case 2: return EXTERNAL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + IPv6AccessType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IPv6AccessType findValueByNumber(int number) { + return IPv6AccessType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IPv6AccessType findValueByNumber(int number) { - return IPv6AccessType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.IPAllocationPolicy.getDescriptor().getEnumTypes().get(1); } private static final IPv6AccessType[] VALUES = values(); - public static IPv6AccessType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IPv6AccessType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -397,8 +354,6 @@ private IPv6AccessType(int value) { public static final int USE_IP_ALIASES_FIELD_NUMBER = 1; private boolean useIpAliases_; /** - * - * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -407,7 +362,6 @@ private IPv6AccessType(int value) {
    * 
* * bool use_ip_aliases = 1; - * * @return The useIpAliases. */ @java.lang.Override @@ -418,15 +372,12 @@ public boolean getUseIpAliases() { public static final int CREATE_SUBNETWORK_FIELD_NUMBER = 2; private boolean createSubnetwork_; /** - * - * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; - * * @return The createSubnetwork. */ @java.lang.Override @@ -437,8 +388,6 @@ public boolean getCreateSubnetwork() { public static final int SUBNETWORK_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object subnetworkName_; /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -446,7 +395,6 @@ public boolean getCreateSubnetwork() {
    * 
* * string subnetwork_name = 3; - * * @return The subnetworkName. */ @java.lang.Override @@ -455,15 +403,14 @@ public java.lang.String getSubnetworkName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; } } /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -471,15 +418,16 @@ public java.lang.String getSubnetworkName() {
    * 
* * string subnetwork_name = 3; - * * @return The bytes for subnetworkName. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkNameBytes() { + public com.google.protobuf.ByteString + getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -490,51 +438,46 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 4; private volatile java.lang.Object clusterIpv4Cidr_; /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @return The clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -545,51 +488,46 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { public static final int NODE_IPV4_CIDR_FIELD_NUMBER = 5; private volatile java.lang.Object nodeIpv4Cidr_; /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @return The nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; } } /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -600,51 +538,46 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 6; private volatile java.lang.Object servicesIpv4Cidr_; /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @return The servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -655,8 +588,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object clusterSecondaryRangeName_; /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -667,7 +598,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() {
    * 
* * string cluster_secondary_range_name = 7; - * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -676,15 +606,14 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; } } /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -695,15 +624,16 @@ public java.lang.String getClusterSecondaryRangeName() {
    * 
* * string cluster_secondary_range_name = 7; - * * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -714,8 +644,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object servicesSecondaryRangeName_; /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -726,7 +654,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() {
    * 
* * string services_secondary_range_name = 8; - * * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -735,15 +662,14 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; } } /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -754,15 +680,16 @@ public java.lang.String getServicesSecondaryRangeName() {
    * 
* * string services_secondary_range_name = 8; - * * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -773,8 +700,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4CidrBlock_; /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -790,7 +715,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -799,15 +723,14 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -823,15 +746,16 @@ public java.lang.String getClusterIpv4CidrBlock() {
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -842,8 +766,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { public static final int NODE_IPV4_CIDR_BLOCK_FIELD_NUMBER = 10; private volatile java.lang.Object nodeIpv4CidrBlock_; /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -858,7 +780,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The nodeIpv4CidrBlock. */ @java.lang.Override @@ -867,15 +788,14 @@ public java.lang.String getNodeIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -890,15 +810,16 @@ public java.lang.String getNodeIpv4CidrBlock() {
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The bytes for nodeIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -909,8 +830,6 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 11; private volatile java.lang.Object servicesIpv4CidrBlock_; /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -926,7 +845,6 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() {
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -935,15 +853,14 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -959,15 +876,16 @@ public java.lang.String getServicesIpv4CidrBlock() {
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -978,8 +896,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { public static final int ALLOW_ROUTE_OVERLAP_FIELD_NUMBER = 12; private boolean allowRouteOverlap_; /** - * - * *
    * If true, allow allocation of cluster CIDR ranges that overlap with certain
    * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -995,7 +911,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() {
    * 
* * bool allow_route_overlap = 12; - * * @return The allowRouteOverlap. */ @java.lang.Override @@ -1006,8 +921,6 @@ public boolean getAllowRouteOverlap() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 13; private volatile java.lang.Object tpuIpv4CidrBlock_; /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -1024,7 +937,6 @@ public boolean getAllowRouteOverlap() {
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -1033,15 +945,14 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -1058,15 +969,16 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -1077,8 +989,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { public static final int USE_ROUTES_FIELD_NUMBER = 15; private boolean useRoutes_; /** - * - * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -1087,7 +997,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() {
    * 
* * bool use_routes = 15; - * * @return The useRoutes. */ @java.lang.Override @@ -1098,90 +1007,65 @@ public boolean getUseRoutes() { public static final int STACK_TYPE_FIELD_NUMBER = 16; private int stackType_; /** - * - * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override - public int getStackTypeValue() { + @java.lang.Override public int getStackTypeValue() { return stackType_; } /** - * - * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @return The stackType. */ - @java.lang.Override - public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { + @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.StackType result = - com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); - return result == null - ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED - : result; + com.google.container.v1beta1.IPAllocationPolicy.StackType result = com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); + return result == null ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED : result; } public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER = 17; private int ipv6AccessType_; /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override - public int getIpv6AccessTypeValue() { + @java.lang.Override public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * * @return The ipv6AccessType. */ - @java.lang.Override - public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { + @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = - com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); - return result == null - ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED - : result; + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); + return result == null ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED : result; } public static final int SUBNET_IPV6_CIDR_BLOCK_FIELD_NUMBER = 22; private volatile java.lang.Object subnetIpv6CidrBlock_; /** - * - * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The subnetIpv6CidrBlock. */ @java.lang.Override @@ -1190,29 +1074,29 @@ public java.lang.String getSubnetIpv6CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetIpv6CidrBlock_ = s; return s; } } /** - * - * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for subnetIpv6CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString + getSubnetIpv6CidrBlockBytes() { java.lang.Object ref = subnetIpv6CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetIpv6CidrBlock_ = b; return b; } else { @@ -1223,14 +1107,11 @@ public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { public static final int SERVICES_IPV6_CIDR_BLOCK_FIELD_NUMBER = 23; private volatile java.lang.Object servicesIpv6CidrBlock_; /** - * - * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The servicesIpv6CidrBlock. */ @java.lang.Override @@ -1239,29 +1120,29 @@ public java.lang.String getServicesIpv6CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv6CidrBlock_ = s; return s; } } /** - * - * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for servicesIpv6CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv6CidrBlockBytes() { java.lang.Object ref = servicesIpv6CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv6CidrBlock_ = b; return b; } else { @@ -1270,7 +1151,6 @@ public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1282,7 +1162,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -1325,15 +1206,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (useRoutes_ != false) { output.writeBool(15, useRoutes_); } - if (stackType_ - != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED - .getNumber()) { + if (stackType_ != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(16, stackType_); } - if (ipv6AccessType_ - != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType - .IPV6_ACCESS_TYPE_UNSPECIFIED - .getNumber()) { + if (ipv6AccessType_ != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(17, ipv6AccessType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetIpv6CidrBlock_)) { @@ -1352,10 +1228,12 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, useIpAliases_); } if (createSubnetwork_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, createSubnetwork_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, createSubnetwork_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetworkName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subnetworkName_); @@ -1370,12 +1248,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, servicesIpv4Cidr_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterSecondaryRangeName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesSecondaryRangeName_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4CidrBlock_); @@ -1387,24 +1263,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, servicesIpv4CidrBlock_); } if (allowRouteOverlap_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, allowRouteOverlap_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(12, allowRouteOverlap_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tpuIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, tpuIpv4CidrBlock_); } if (useRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, useRoutes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(15, useRoutes_); } - if (stackType_ - != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, stackType_); + if (stackType_ != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, stackType_); } - if (ipv6AccessType_ - != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType - .IPV6_ACCESS_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, ipv6AccessType_); + if (ipv6AccessType_ != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(17, ipv6AccessType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetIpv6CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, subnetIpv6CidrBlock_); @@ -1420,33 +1295,47 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.IPAllocationPolicy other = - (com.google.container.v1beta1.IPAllocationPolicy) obj; - - if (getUseIpAliases() != other.getUseIpAliases()) return false; - if (getCreateSubnetwork() != other.getCreateSubnetwork()) return false; - if (!getSubnetworkName().equals(other.getSubnetworkName())) return false; - if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false; - if (!getNodeIpv4Cidr().equals(other.getNodeIpv4Cidr())) return false; - if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false; - if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) return false; - if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) - return false; - if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; - if (!getNodeIpv4CidrBlock().equals(other.getNodeIpv4CidrBlock())) return false; - if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; - if (getAllowRouteOverlap() != other.getAllowRouteOverlap()) return false; - if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false; - if (getUseRoutes() != other.getUseRoutes()) return false; + com.google.container.v1beta1.IPAllocationPolicy other = (com.google.container.v1beta1.IPAllocationPolicy) obj; + + if (getUseIpAliases() + != other.getUseIpAliases()) return false; + if (getCreateSubnetwork() + != other.getCreateSubnetwork()) return false; + if (!getSubnetworkName() + .equals(other.getSubnetworkName())) return false; + if (!getClusterIpv4Cidr() + .equals(other.getClusterIpv4Cidr())) return false; + if (!getNodeIpv4Cidr() + .equals(other.getNodeIpv4Cidr())) return false; + if (!getServicesIpv4Cidr() + .equals(other.getServicesIpv4Cidr())) return false; + if (!getClusterSecondaryRangeName() + .equals(other.getClusterSecondaryRangeName())) return false; + if (!getServicesSecondaryRangeName() + .equals(other.getServicesSecondaryRangeName())) return false; + if (!getClusterIpv4CidrBlock() + .equals(other.getClusterIpv4CidrBlock())) return false; + if (!getNodeIpv4CidrBlock() + .equals(other.getNodeIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock() + .equals(other.getServicesIpv4CidrBlock())) return false; + if (getAllowRouteOverlap() + != other.getAllowRouteOverlap()) return false; + if (!getTpuIpv4CidrBlock() + .equals(other.getTpuIpv4CidrBlock())) return false; + if (getUseRoutes() + != other.getUseRoutes()) return false; if (stackType_ != other.stackType_) return false; if (ipv6AccessType_ != other.ipv6AccessType_) return false; - if (!getSubnetIpv6CidrBlock().equals(other.getSubnetIpv6CidrBlock())) return false; - if (!getServicesIpv6CidrBlock().equals(other.getServicesIpv6CidrBlock())) return false; + if (!getSubnetIpv6CidrBlock() + .equals(other.getSubnetIpv6CidrBlock())) return false; + if (!getServicesIpv6CidrBlock() + .equals(other.getServicesIpv6CidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1459,9 +1348,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseIpAliases()); hash = (37 * hash) + CREATE_SUBNETWORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreateSubnetwork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCreateSubnetwork()); hash = (37 * hash) + SUBNETWORK_NAME_FIELD_NUMBER; hash = (53 * hash) + getSubnetworkName().hashCode(); hash = (37 * hash) + CLUSTER_IPV4_CIDR_FIELD_NUMBER; @@ -1481,11 +1372,13 @@ public int hashCode() { hash = (37 * hash) + SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getServicesIpv4CidrBlock().hashCode(); hash = (37 * hash) + ALLOW_ROUTE_OVERLAP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowRouteOverlap()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowRouteOverlap()); hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode(); hash = (37 * hash) + USE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseRoutes()); hash = (37 * hash) + STACK_TYPE_FIELD_NUMBER; hash = (53 * hash) + stackType_; hash = (37 * hash) + IPV6_ACCESS_TYPE_FIELD_NUMBER; @@ -1499,136 +1392,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( 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.IPAllocationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.IPAllocationPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IPAllocationPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for controlling how IPs are allocated in the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.IPAllocationPolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IPAllocationPolicy) com.google.container.v1beta1.IPAllocationPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IPAllocationPolicy.class, - com.google.container.v1beta1.IPAllocationPolicy.Builder.class); + com.google.container.v1beta1.IPAllocationPolicy.class, com.google.container.v1beta1.IPAllocationPolicy.Builder.class); } // Construct using com.google.container.v1beta1.IPAllocationPolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1672,9 +1559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; } @java.lang.Override @@ -1693,8 +1580,7 @@ public com.google.container.v1beta1.IPAllocationPolicy build() { @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy buildPartial() { - com.google.container.v1beta1.IPAllocationPolicy result = - new com.google.container.v1beta1.IPAllocationPolicy(this); + com.google.container.v1beta1.IPAllocationPolicy result = new com.google.container.v1beta1.IPAllocationPolicy(this); result.useIpAliases_ = useIpAliases_; result.createSubnetwork_ = createSubnetwork_; result.subnetworkName_ = subnetworkName_; @@ -1721,39 +1607,38 @@ public com.google.container.v1beta1.IPAllocationPolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.IPAllocationPolicy) { - return mergeFrom((com.google.container.v1beta1.IPAllocationPolicy) other); + return mergeFrom((com.google.container.v1beta1.IPAllocationPolicy)other); } else { super.mergeFrom(other); return this; @@ -1761,8 +1646,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.IPAllocationPolicy other) { - if (other == com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance()) return this; if (other.getUseIpAliases() != false) { setUseIpAliases(other.getUseIpAliases()); } @@ -1855,121 +1739,102 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - useIpAliases_ = input.readBool(); - - break; - } // case 8 - case 16: - { - createSubnetwork_ = input.readBool(); - - break; - } // case 16 - case 26: - { - subnetworkName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - nodeIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - clusterSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - servicesSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: - { - nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 90: - { - servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 96: - { - allowRouteOverlap_ = input.readBool(); - - break; - } // case 96 - case 106: - { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 106 - case 120: - { - useRoutes_ = input.readBool(); - - break; - } // case 120 - case 128: - { - stackType_ = input.readEnum(); - - break; - } // case 128 - case 136: - { - ipv6AccessType_ = input.readEnum(); - - break; - } // case 136 - case 178: - { - subnetIpv6CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 178 - case 186: - { - servicesIpv6CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 186 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + useIpAliases_ = input.readBool(); + + break; + } // case 8 + case 16: { + createSubnetwork_ = input.readBool(); + + break; + } // case 16 + case 26: { + subnetworkName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + nodeIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + clusterSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + servicesSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: { + nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 90: { + servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 96: { + allowRouteOverlap_ = input.readBool(); + + break; + } // case 96 + case 106: { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 120: { + useRoutes_ = input.readBool(); + + break; + } // case 120 + case 128: { + stackType_ = input.readEnum(); + + break; + } // case 128 + case 136: { + ipv6AccessType_ = input.readEnum(); + + break; + } // case 136 + case 178: { + subnetIpv6CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 178 + case 186: { + servicesIpv6CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 186 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1980,10 +1845,8 @@ public Builder mergeFrom( return this; } - private boolean useIpAliases_; + private boolean useIpAliases_ ; /** - * - * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1992,7 +1855,6 @@ public Builder mergeFrom(
      * 
* * bool use_ip_aliases = 1; - * * @return The useIpAliases. */ @java.lang.Override @@ -2000,8 +1862,6 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** - * - * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -2010,19 +1870,16 @@ public boolean getUseIpAliases() {
      * 
* * bool use_ip_aliases = 1; - * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** - * - * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -2031,27 +1888,23 @@ public Builder setUseIpAliases(boolean value) {
      * 
* * bool use_ip_aliases = 1; - * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; } - private boolean createSubnetwork_; + private boolean createSubnetwork_ ; /** - * - * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; - * * @return The createSubnetwork. */ @java.lang.Override @@ -2059,38 +1912,32 @@ public boolean getCreateSubnetwork() { return createSubnetwork_; } /** - * - * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; - * * @param value The createSubnetwork to set. * @return This builder for chaining. */ public Builder setCreateSubnetwork(boolean value) { - + createSubnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; - * * @return This builder for chaining. */ public Builder clearCreateSubnetwork() { - + createSubnetwork_ = false; onChanged(); return this; @@ -2098,8 +1945,6 @@ public Builder clearCreateSubnetwork() { private java.lang.Object subnetworkName_ = ""; /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -2107,13 +1952,13 @@ public Builder clearCreateSubnetwork() {
      * 
* * string subnetwork_name = 3; - * * @return The subnetworkName. */ public java.lang.String getSubnetworkName() { java.lang.Object ref = subnetworkName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; @@ -2122,8 +1967,6 @@ public java.lang.String getSubnetworkName() { } } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -2131,14 +1974,15 @@ public java.lang.String getSubnetworkName() {
      * 
* * string subnetwork_name = 3; - * * @return The bytes for subnetworkName. */ - public com.google.protobuf.ByteString getSubnetworkNameBytes() { + public com.google.protobuf.ByteString + getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -2146,8 +1990,6 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { } } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -2155,22 +1997,20 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() {
      * 
* * string subnetwork_name = 3; - * * @param value The subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkName(java.lang.String value) { + public Builder setSubnetworkName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetworkName_ = value; onChanged(); return this; } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -2178,18 +2018,15 @@ public Builder setSubnetworkName(java.lang.String value) {
      * 
* * string subnetwork_name = 3; - * * @return This builder for chaining. */ public Builder clearSubnetworkName() { - + subnetworkName_ = getDefaultInstance().getSubnetworkName(); onChanged(); return this; } /** - * - * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -2197,16 +2034,16 @@ public Builder clearSubnetworkName() {
      * 
* * string subnetwork_name = 3; - * * @param value The bytes for subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetworkName_ = value; onChanged(); return this; @@ -2214,23 +2051,20 @@ public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterIpv4Cidr_ = ""; /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated - public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -2239,24 +2073,22 @@ public java.lang.String getClusterIpv4Cidr() { } } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -2264,70 +2096,60 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { } } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIpv4Cidr(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterIpv4Cidr() { - + @java.lang.Deprecated public Builder clearClusterIpv4Cidr() { + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -2335,23 +2157,20 @@ public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodeIpv4Cidr_ = ""; /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated - public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; @@ -2360,24 +2179,22 @@ public java.lang.String getNodeIpv4Cidr() { } } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -2385,70 +2202,60 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { } } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodeIpv4Cidr(java.lang.String value) { + @java.lang.Deprecated public Builder setNodeIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodeIpv4Cidr() { - + @java.lang.Deprecated public Builder clearNodeIpv4Cidr() { + nodeIpv4Cidr_ = getDefaultInstance().getNodeIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodeIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4Cidr_ = value; onChanged(); return this; @@ -2456,23 +2263,20 @@ public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { private java.lang.Object servicesIpv4Cidr_ = ""; /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated - public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -2481,24 +2285,22 @@ public java.lang.String getServicesIpv4Cidr() { } } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -2506,70 +2308,60 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { } } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServicesIpv4Cidr(java.lang.String value) { + @java.lang.Deprecated public Builder setServicesIpv4Cidr( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearServicesIpv4Cidr() { - + @java.lang.Deprecated public Builder clearServicesIpv4Cidr() { + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** - * - * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setServicesIpv4CidrBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; @@ -2577,8 +2369,6 @@ public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterSecondaryRangeName_ = ""; /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2589,13 +2379,13 @@ public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_secondary_range_name = 7; - * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { java.lang.Object ref = clusterSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; @@ -2604,8 +2394,6 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2616,14 +2404,15 @@ public java.lang.String getClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; - * * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -2631,8 +2420,6 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { } } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2643,22 +2430,20 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() {
      * 
* * string cluster_secondary_range_name = 7; - * * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName(java.lang.String value) { + public Builder setClusterSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterSecondaryRangeName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2669,18 +2454,15 @@ public Builder setClusterSecondaryRangeName(java.lang.String value) {
      * 
* * string cluster_secondary_range_name = 7; - * * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { - + clusterSecondaryRangeName_ = getDefaultInstance().getClusterSecondaryRangeName(); onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2691,16 +2473,16 @@ public Builder clearClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; - * * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterSecondaryRangeName_ = value; onChanged(); return this; @@ -2708,8 +2490,6 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString private java.lang.Object servicesSecondaryRangeName_ = ""; /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2720,13 +2500,13 @@ public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString
      * 
* * string services_secondary_range_name = 8; - * * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { java.lang.Object ref = servicesSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; @@ -2735,8 +2515,6 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2747,14 +2525,15 @@ public java.lang.String getServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; - * * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -2762,8 +2541,6 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { } } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2774,22 +2551,20 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() {
      * 
* * string services_secondary_range_name = 8; - * * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName(java.lang.String value) { + public Builder setServicesSecondaryRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesSecondaryRangeName_ = value; onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2800,18 +2575,15 @@ public Builder setServicesSecondaryRangeName(java.lang.String value) {
      * 
* * string services_secondary_range_name = 8; - * * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { - + servicesSecondaryRangeName_ = getDefaultInstance().getServicesSecondaryRangeName(); onChanged(); return this; } /** - * - * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2822,16 +2594,16 @@ public Builder clearServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; - * * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesSecondaryRangeName_ = value; onChanged(); return this; @@ -2839,8 +2611,6 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString private java.lang.Object clusterIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2856,13 +2626,13 @@ public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { java.lang.Object ref = clusterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; @@ -2871,8 +2641,6 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2888,14 +2656,15 @@ public java.lang.String getClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -2903,8 +2672,6 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2920,22 +2687,20 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock(java.lang.String value) { + public Builder setClusterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2951,18 +2716,15 @@ public Builder setClusterIpv4CidrBlock(java.lang.String value) {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { - + clusterIpv4CidrBlock_ = getDefaultInstance().getClusterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2978,16 +2740,16 @@ public Builder clearClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; - * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4CidrBlock_ = value; onChanged(); return this; @@ -2995,8 +2757,6 @@ public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value private java.lang.Object nodeIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -3011,13 +2771,13 @@ public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value
      * 
* * string node_ipv4_cidr_block = 10; - * * @return The nodeIpv4CidrBlock. */ public java.lang.String getNodeIpv4CidrBlock() { java.lang.Object ref = nodeIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; @@ -3026,8 +2786,6 @@ public java.lang.String getNodeIpv4CidrBlock() { } } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -3042,14 +2800,15 @@ public java.lang.String getNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; - * * @return The bytes for nodeIpv4CidrBlock. */ - public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -3057,8 +2816,6 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -3073,22 +2830,20 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() {
      * 
* * string node_ipv4_cidr_block = 10; - * * @param value The nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlock(java.lang.String value) { + public Builder setNodeIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -3103,18 +2858,15 @@ public Builder setNodeIpv4CidrBlock(java.lang.String value) {
      * 
* * string node_ipv4_cidr_block = 10; - * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrBlock() { - + nodeIpv4CidrBlock_ = getDefaultInstance().getNodeIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -3129,16 +2881,16 @@ public Builder clearNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; - * * @param value The bytes for nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setNodeIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4CidrBlock_ = value; onChanged(); return this; @@ -3146,8 +2898,6 @@ public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { private java.lang.Object servicesIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -3163,13 +2913,13 @@ public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) {
      * 
* * string services_ipv4_cidr_block = 11; - * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { java.lang.Object ref = servicesIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; @@ -3178,8 +2928,6 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -3195,14 +2943,15 @@ public java.lang.String getServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; - * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -3210,8 +2959,6 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -3227,22 +2974,20 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() {
      * 
* * string services_ipv4_cidr_block = 11; - * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock(java.lang.String value) { + public Builder setServicesIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -3258,18 +3003,15 @@ public Builder setServicesIpv4CidrBlock(java.lang.String value) {
      * 
* * string services_ipv4_cidr_block = 11; - * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { - + servicesIpv4CidrBlock_ = getDefaultInstance().getServicesIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -3285,25 +3027,23 @@ public Builder clearServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; - * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean allowRouteOverlap_; + private boolean allowRouteOverlap_ ; /** - * - * *
      * If true, allow allocation of cluster CIDR ranges that overlap with certain
      * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -3319,7 +3059,6 @@ public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString valu
      * 
* * bool allow_route_overlap = 12; - * * @return The allowRouteOverlap. */ @java.lang.Override @@ -3327,8 +3066,6 @@ public boolean getAllowRouteOverlap() { return allowRouteOverlap_; } /** - * - * *
      * If true, allow allocation of cluster CIDR ranges that overlap with certain
      * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -3344,19 +3081,16 @@ public boolean getAllowRouteOverlap() {
      * 
* * bool allow_route_overlap = 12; - * * @param value The allowRouteOverlap to set. * @return This builder for chaining. */ public Builder setAllowRouteOverlap(boolean value) { - + allowRouteOverlap_ = value; onChanged(); return this; } /** - * - * *
      * If true, allow allocation of cluster CIDR ranges that overlap with certain
      * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -3372,11 +3106,10 @@ public Builder setAllowRouteOverlap(boolean value) {
      * 
* * bool allow_route_overlap = 12; - * * @return This builder for chaining. */ public Builder clearAllowRouteOverlap() { - + allowRouteOverlap_ = false; onChanged(); return this; @@ -3384,8 +3117,6 @@ public Builder clearAllowRouteOverlap() { private java.lang.Object tpuIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3402,13 +3133,13 @@ public Builder clearAllowRouteOverlap() {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -3417,8 +3148,6 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3435,14 +3164,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -3450,8 +3180,6 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3468,22 +3196,20 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock(java.lang.String value) { + public Builder setTpuIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3500,18 +3226,15 @@ public Builder setTpuIpv4CidrBlock(java.lang.String value) {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3528,25 +3251,23 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; - * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean useRoutes_; + private boolean useRoutes_ ; /** - * - * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -3555,7 +3276,6 @@ public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) {
      * 
* * bool use_routes = 15; - * * @return The useRoutes. */ @java.lang.Override @@ -3563,8 +3283,6 @@ public boolean getUseRoutes() { return useRoutes_; } /** - * - * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -3573,19 +3291,16 @@ public boolean getUseRoutes() {
      * 
* * bool use_routes = 15; - * * @param value The useRoutes to set. * @return This builder for chaining. */ public Builder setUseRoutes(boolean value) { - + useRoutes_ = value; onChanged(); return this; } /** - * - * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -3594,11 +3309,10 @@ public Builder setUseRoutes(boolean value) {
      * 
* * bool use_routes = 15; - * * @return This builder for chaining. */ public Builder clearUseRoutes() { - + useRoutes_ = false; onChanged(); return this; @@ -3606,67 +3320,51 @@ public Builder clearUseRoutes() { private int stackType_ = 0; /** - * - * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override - public int getStackTypeValue() { + @java.lang.Override public int getStackTypeValue() { return stackType_; } /** - * - * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @param value The enum numeric value on the wire for stackType to set. * @return This builder for chaining. */ public Builder setStackTypeValue(int value) { - + stackType_ = value; onChanged(); return this; } /** - * - * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @return The stackType. */ @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.StackType result = - com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); - return result == null - ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED - : result; + com.google.container.v1beta1.IPAllocationPolicy.StackType result = com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); + return result == null ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED : result; } /** - * - * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @param value The stackType to set. * @return This builder for chaining. */ @@ -3674,24 +3372,21 @@ public Builder setStackType(com.google.container.v1beta1.IPAllocationPolicy.Stac if (value == null) { throw new NullPointerException(); } - + stackType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @return This builder for chaining. */ public Builder clearStackType() { - + stackType_ = 0; onChanged(); return this; @@ -3699,98 +3394,73 @@ public Builder clearStackType() { private int ipv6AccessType_ = 0; /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * - * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override - public int getIpv6AccessTypeValue() { + @java.lang.Override public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * - * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; * @param value The enum numeric value on the wire for ipv6AccessType to set. * @return This builder for chaining. */ public Builder setIpv6AccessTypeValue(int value) { - + ipv6AccessType_ = value; onChanged(); return this; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * - * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; * @return The ipv6AccessType. */ @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = - com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); - return result == null - ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED - : result; + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); + return result == null ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED : result; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * - * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; * @param value The ipv6AccessType to set. * @return This builder for chaining. */ - public Builder setIpv6AccessType( - com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType value) { + public Builder setIpv6AccessType(com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType value) { if (value == null) { throw new NullPointerException(); } - + ipv6AccessType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * - * + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; * @return This builder for chaining. */ public Builder clearIpv6AccessType() { - + ipv6AccessType_ = 0; onChanged(); return this; @@ -3798,20 +3468,18 @@ public Builder clearIpv6AccessType() { private java.lang.Object subnetIpv6CidrBlock_ = ""; /** - * - * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The subnetIpv6CidrBlock. */ public java.lang.String getSubnetIpv6CidrBlock() { java.lang.Object ref = subnetIpv6CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetIpv6CidrBlock_ = s; return s; @@ -3820,21 +3488,20 @@ public java.lang.String getSubnetIpv6CidrBlock() { } } /** - * - * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for subnetIpv6CidrBlock. */ - public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString + getSubnetIpv6CidrBlockBytes() { java.lang.Object ref = subnetIpv6CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetIpv6CidrBlock_ = b; return b; } else { @@ -3842,61 +3509,54 @@ public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { } } /** - * - * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The subnetIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setSubnetIpv6CidrBlock(java.lang.String value) { + public Builder setSubnetIpv6CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetIpv6CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSubnetIpv6CidrBlock() { - + subnetIpv6CidrBlock_ = getDefaultInstance().getSubnetIpv6CidrBlock(); onChanged(); return this; } /** - * - * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for subnetIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setSubnetIpv6CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetIpv6CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetIpv6CidrBlock_ = value; onChanged(); return this; @@ -3904,21 +3564,18 @@ public Builder setSubnetIpv6CidrBlockBytes(com.google.protobuf.ByteString value) private java.lang.Object servicesIpv6CidrBlock_ = ""; /** - * - * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The servicesIpv6CidrBlock. */ public java.lang.String getServicesIpv6CidrBlock() { java.lang.Object ref = servicesIpv6CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv6CidrBlock_ = s; return s; @@ -3927,22 +3584,20 @@ public java.lang.String getServicesIpv6CidrBlock() { } } /** - * - * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bytes for servicesIpv6CidrBlock. */ - public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString + getServicesIpv6CidrBlockBytes() { java.lang.Object ref = servicesIpv6CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); servicesIpv6CidrBlock_ = b; return b; } else { @@ -3950,71 +3605,61 @@ public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { } } /** - * - * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The servicesIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv6CidrBlock(java.lang.String value) { + public Builder setServicesIpv6CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv6CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearServicesIpv6CidrBlock() { - + servicesIpv6CidrBlock_ = getDefaultInstance().getServicesIpv6CidrBlock(); onChanged(); return this; } /** - * - * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The bytes for servicesIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv6CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setServicesIpv6CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv6CidrBlock_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4024,12 +3669,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IPAllocationPolicy) private static final com.google.container.v1beta1.IPAllocationPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IPAllocationPolicy(); } @@ -4038,27 +3683,27 @@ public static com.google.container.v1beta1.IPAllocationPolicy getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4073,4 +3718,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.IPAllocationPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java similarity index 84% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java index c8bee2cae859..9a774bc6a969 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface IPAllocationPolicyOrBuilder - extends +public interface IPAllocationPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -34,28 +16,22 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * bool use_ip_aliases = 1; - * * @return The useIpAliases. */ boolean getUseIpAliases(); /** - * - * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; - * * @return The createSubnetwork. */ boolean getCreateSubnetwork(); /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -63,13 +39,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string subnetwork_name = 3; - * * @return The subnetworkName. */ java.lang.String getSubnetworkName(); /** - * - * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -77,107 +50,84 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string subnetwork_name = 3; - * * @return The bytes for subnetworkName. */ - com.google.protobuf.ByteString getSubnetworkNameBytes(); + com.google.protobuf.ByteString + getSubnetworkNameBytes(); /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated - java.lang.String getClusterIpv4Cidr(); + @java.lang.Deprecated java.lang.String getClusterIpv4Cidr(); /** - * - * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1332 + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1335 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIpv4CidrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIpv4CidrBytes(); /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated - java.lang.String getNodeIpv4Cidr(); + @java.lang.Deprecated java.lang.String getNodeIpv4Cidr(); /** - * - * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1335 + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1338 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodeIpv4CidrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodeIpv4CidrBytes(); /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated - java.lang.String getServicesIpv4Cidr(); + @java.lang.Deprecated java.lang.String getServicesIpv4Cidr(); /** - * - * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1338 + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1341 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getServicesIpv4CidrBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getServicesIpv4CidrBytes(); /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -188,13 +138,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_secondary_range_name = 7; - * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** - * - * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -205,14 +152,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_secondary_range_name = 7; - * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getClusterSecondaryRangeNameBytes(); /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -223,13 +168,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_secondary_range_name = 8; - * * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** - * - * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -240,14 +182,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_secondary_range_name = 8; - * * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString + getServicesSecondaryRangeNameBytes(); /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -263,13 +203,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** - * - * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -285,14 +222,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string cluster_ipv4_cidr_block = 9; - * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getClusterIpv4CidrBlockBytes(); /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -307,13 +242,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The nodeIpv4CidrBlock. */ java.lang.String getNodeIpv4CidrBlock(); /** - * - * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -328,14 +260,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string node_ipv4_cidr_block = 10; - * * @return The bytes for nodeIpv4CidrBlock. */ - com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getNodeIpv4CidrBlockBytes(); /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -351,13 +281,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** - * - * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -373,14 +300,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string services_ipv4_cidr_block = 11; - * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getServicesIpv4CidrBlockBytes(); /** - * - * *
    * If true, allow allocation of cluster CIDR ranges that overlap with certain
    * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -396,14 +321,11 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * bool allow_route_overlap = 12; - * * @return The allowRouteOverlap. */ boolean getAllowRouteOverlap(); /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -420,13 +342,10 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** - * - * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -443,14 +362,12 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * string tpu_ipv4_cidr_block = 13; - * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getTpuIpv4CidrBlockBytes(); /** - * - * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -459,108 +376,85 @@ public interface IPAllocationPolicyOrBuilder
    * 
* * bool use_routes = 15; - * * @return The useRoutes. */ boolean getUseRoutes(); /** - * - * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @return The enum numeric value on the wire for stackType. */ int getStackTypeValue(); /** - * - * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; - * * @return The stackType. */ com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType(); /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * * @return The enum numeric value on the wire for ipv6AccessType. */ int getIpv6AccessTypeValue(); /** - * - * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; - * * @return The ipv6AccessType. */ com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType(); /** - * - * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The subnetIpv6CidrBlock. */ java.lang.String getSubnetIpv6CidrBlock(); /** - * - * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for subnetIpv6CidrBlock. */ - com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes(); + com.google.protobuf.ByteString + getSubnetIpv6CidrBlockBytes(); /** - * - * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The servicesIpv6CidrBlock. */ java.lang.String getServicesIpv6CidrBlock(); /** - * - * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for servicesIpv6CidrBlock. */ - com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes(); + com.google.protobuf.ByteString + getServicesIpv6CidrBlockBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java index f74ade12da67..29479f3d3d2b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * IdentityServiceConfig is configuration for Identity Service which allows
  * customers to use external identity providers with the K8S API
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.IdentityServiceConfig}
  */
-public final class IdentityServiceConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IdentityServiceConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.IdentityServiceConfig)
     IdentityServiceConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IdentityServiceConfig.newBuilder() to construct.
   private IdentityServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private IdentityServiceConfig() {}
+  private IdentityServiceConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IdentityServiceConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.IdentityServiceConfig.class,
-            com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
+            com.google.container.v1beta1.IdentityServiceConfig.class, com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Whether to enable the Identity Service component
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IdentityServiceConfig)) { return super.equals(obj); } - com.google.container.v1beta1.IdentityServiceConfig other = - (com.google.container.v1beta1.IdentityServiceConfig) obj; + com.google.container.v1beta1.IdentityServiceConfig other = (com.google.container.v1beta1.IdentityServiceConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IdentityServiceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( 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.IdentityServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.IdentityServiceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.IdentityServiceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IdentityServiceConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.IdentityServiceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IdentityServiceConfig is configuration for Identity Service which allows
    * customers to use external identity providers with the K8S API
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.IdentityServiceConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IdentityServiceConfig)
       com.google.container.v1beta1.IdentityServiceConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.IdentityServiceConfig.class,
-              com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
+              com.google.container.v1beta1.IdentityServiceConfig.class, com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.IdentityServiceConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1beta1.IdentityServiceConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.IdentityServiceConfig buildPartial() {
-      com.google.container.v1beta1.IdentityServiceConfig result =
-          new com.google.container.v1beta1.IdentityServiceConfig(this);
+      com.google.container.v1beta1.IdentityServiceConfig result = new com.google.container.v1beta1.IdentityServiceConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1beta1.IdentityServiceConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.IdentityServiceConfig) {
-        return mergeFrom((com.google.container.v1beta1.IdentityServiceConfig) other);
+        return mergeFrom((com.google.container.v1beta1.IdentityServiceConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -360,8 +333,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.IdentityServiceConfig other) {
-      if (other == com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -391,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -414,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -431,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -477,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IdentityServiceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IdentityServiceConfig) private static final com.google.container.v1beta1.IdentityServiceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IdentityServiceConfig(); } @@ -491,27 +452,27 @@ public static com.google.container.v1beta1.IdentityServiceConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentityServiceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentityServiceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -526,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.IdentityServiceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java new file mode 100644 index 000000000000..65f8cf47c6f7 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface IdentityServiceConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IdentityServiceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether to enable the Identity Service component
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java index f2fb9d76c178..bc352b7adccc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * IntraNodeVisibilityConfig contains the desired config of the intra-node
  * visibility on this cluster.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.IntraNodeVisibilityConfig}
  */
-public final class IntraNodeVisibilityConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class IntraNodeVisibilityConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.IntraNodeVisibilityConfig)
     IntraNodeVisibilityConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use IntraNodeVisibilityConfig.newBuilder() to construct.
   private IntraNodeVisibilityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private IntraNodeVisibilityConfig() {}
+  private IntraNodeVisibilityConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new IntraNodeVisibilityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.IntraNodeVisibilityConfig.class,
-            com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
+            com.google.container.v1beta1.IntraNodeVisibilityConfig.class, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enables intra node visibility for this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IntraNodeVisibilityConfig)) { return super.equals(obj); } - com.google.container.v1beta1.IntraNodeVisibilityConfig other = - (com.google.container.v1beta1.IntraNodeVisibilityConfig) obj; + com.google.container.v1beta1.IntraNodeVisibilityConfig other = (com.google.container.v1beta1.IntraNodeVisibilityConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,111 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( 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.IntraNodeVisibilityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.IntraNodeVisibilityConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.IntraNodeVisibilityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * IntraNodeVisibilityConfig contains the desired config of the intra-node
    * visibility on this cluster.
@@ -254,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.IntraNodeVisibilityConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IntraNodeVisibilityConfig)
       com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.IntraNodeVisibilityConfig.class,
-              com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
+              com.google.container.v1beta1.IntraNodeVisibilityConfig.class, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.IntraNodeVisibilityConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -289,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -310,8 +284,7 @@ public com.google.container.v1beta1.IntraNodeVisibilityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.IntraNodeVisibilityConfig buildPartial() {
-      com.google.container.v1beta1.IntraNodeVisibilityConfig result =
-          new com.google.container.v1beta1.IntraNodeVisibilityConfig(this);
+      com.google.container.v1beta1.IntraNodeVisibilityConfig result = new com.google.container.v1beta1.IntraNodeVisibilityConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -321,39 +294,38 @@ public com.google.container.v1beta1.IntraNodeVisibilityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.IntraNodeVisibilityConfig) {
-        return mergeFrom((com.google.container.v1beta1.IntraNodeVisibilityConfig) other);
+        return mergeFrom((com.google.container.v1beta1.IntraNodeVisibilityConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -361,8 +333,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.IntraNodeVisibilityConfig other) {
-      if (other == com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -392,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -415,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -432,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -478,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IntraNodeVisibilityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IntraNodeVisibilityConfig) private static final com.google.container.v1beta1.IntraNodeVisibilityConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IntraNodeVisibilityConfig(); } @@ -492,27 +452,27 @@ public static com.google.container.v1beta1.IntraNodeVisibilityConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntraNodeVisibilityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntraNodeVisibilityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -527,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.IntraNodeVisibilityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java new file mode 100644 index 000000000000..ad14187eed67 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface IntraNodeVisibilityConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IntraNodeVisibilityConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enables intra node visibility for this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java index 11258c9d2e82..88bbd440c32e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration options for Istio addon.
  * 
* * Protobuf type {@code google.container.v1beta1.IstioConfig} */ -public final class IstioConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class IstioConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.IstioConfig) IstioConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use IstioConfig.newBuilder() to construct. private IstioConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IstioConfig() { auth_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IstioConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IstioConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IstioConfig.class, - com.google.container.v1beta1.IstioConfig.Builder.class); + com.google.container.v1beta1.IstioConfig.class, com.google.container.v1beta1.IstioConfig.Builder.class); } /** - * - * *
    * Istio auth mode, https://istio.io/docs/concepts/security/mutual-tls.html
    * 
* * Protobuf enum {@code google.container.v1beta1.IstioConfig.IstioAuthMode} */ - public enum IstioAuthMode implements com.google.protobuf.ProtocolMessageEnum { + public enum IstioAuthMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * auth not enabled
      * 
@@ -88,8 +66,6 @@ public enum IstioAuthMode implements com.google.protobuf.ProtocolMessageEnum { */ AUTH_NONE(0), /** - * - * *
      * auth mutual TLS enabled
      * 
@@ -101,8 +77,6 @@ public enum IstioAuthMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * auth not enabled
      * 
@@ -111,8 +85,6 @@ public enum IstioAuthMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTH_NONE_VALUE = 0; /** - * - * *
      * auth mutual TLS enabled
      * 
@@ -121,6 +93,7 @@ public enum IstioAuthMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTH_MUTUAL_TLS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -145,47 +118,48 @@ public static IstioAuthMode valueOf(int value) { */ public static IstioAuthMode forNumber(int value) { switch (value) { - case 0: - return AUTH_NONE; - case 1: - return AUTH_MUTUAL_TLS; - default: - return null; + case 0: return AUTH_NONE; + case 1: return AUTH_MUTUAL_TLS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + IstioAuthMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IstioAuthMode findValueByNumber(int number) { + return IstioAuthMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IstioAuthMode findValueByNumber(int number) { - return IstioAuthMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.IstioConfig.getDescriptor().getEnumTypes().get(0); } private static final IstioAuthMode[] VALUES = values(); - public static IstioAuthMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IstioAuthMode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -205,70 +179,52 @@ private IstioAuthMode(int value) { public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** - * - * *
    * Whether Istio is enabled for this cluster.
    * 
* * bool disabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1211 * @return The disabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getDisabled() { + @java.lang.Deprecated public boolean getDisabled() { return disabled_; } public static final int AUTH_FIELD_NUMBER = 2; private int auth_; /** - * - * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1211 + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1214 * @return The enum numeric value on the wire for auth. */ - @java.lang.Override - @java.lang.Deprecated - public int getAuthValue() { + @java.lang.Override @java.lang.Deprecated public int getAuthValue() { return auth_; } /** - * - * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1211 + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1214 * @return The auth. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { + @java.lang.Override @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IstioConfig.IstioAuthMode result = - com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); - return result == null - ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.IstioConfig.IstioAuthMode result = com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); + return result == null ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -297,10 +254,12 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } if (auth_ != com.google.container.v1beta1.IstioConfig.IstioAuthMode.AUTH_NONE.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, auth_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, auth_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,14 +269,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IstioConfig)) { return super.equals(obj); } com.google.container.v1beta1.IstioConfig other = (com.google.container.v1beta1.IstioConfig) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (auth_ != other.auth_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -331,7 +291,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (37 * hash) + AUTH_FIELD_NUMBER; hash = (53 * hash) + auth_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -339,136 +300,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.IstioConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.IstioConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IstioConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IstioConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IstioConfig parseFrom( 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.IstioConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.IstioConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.IstioConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IstioConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.IstioConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.IstioConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IstioConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IstioConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.IstioConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.IstioConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for Istio addon.
    * 
* * Protobuf type {@code google.container.v1beta1.IstioConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IstioConfig) com.google.container.v1beta1.IstioConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IstioConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IstioConfig.class, - com.google.container.v1beta1.IstioConfig.Builder.class); + com.google.container.v1beta1.IstioConfig.class, com.google.container.v1beta1.IstioConfig.Builder.class); } // Construct using com.google.container.v1beta1.IstioConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_IstioConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_descriptor; } @java.lang.Override @@ -501,8 +456,7 @@ public com.google.container.v1beta1.IstioConfig build() { @java.lang.Override public com.google.container.v1beta1.IstioConfig buildPartial() { - com.google.container.v1beta1.IstioConfig result = - new com.google.container.v1beta1.IstioConfig(this); + com.google.container.v1beta1.IstioConfig result = new com.google.container.v1beta1.IstioConfig(this); result.disabled_ = disabled_; result.auth_ = auth_; onBuilt(); @@ -513,39 +467,38 @@ public com.google.container.v1beta1.IstioConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.IstioConfig) { - return mergeFrom((com.google.container.v1beta1.IstioConfig) other); + return mergeFrom((com.google.container.v1beta1.IstioConfig)other); } else { super.mergeFrom(other); return this; @@ -586,25 +539,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disabled_ = input.readBool(); - - break; - } // case 8 - case 16: - { - auth_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disabled_ = input.readBool(); + + break; + } // case 8 + case 16: { + auth_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -615,62 +565,50 @@ public Builder mergeFrom( return this; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
      * Whether Istio is enabled for this cluster.
      * 
* * bool disabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1211 * @return The disabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getDisabled() { + @java.lang.Deprecated public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether Istio is enabled for this cluster.
      * 
* * bool disabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1211 * @param value The disabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setDisabled(boolean value) { - + @java.lang.Deprecated public Builder setDisabled(boolean value) { + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Istio is enabled for this cluster.
      * 
* * bool disabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1211 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearDisabled() { - + @java.lang.Deprecated public Builder clearDisabled() { + disabled_ = false; onChanged(); return this; @@ -678,119 +616,90 @@ public Builder clearDisabled() { private int auth_ = 0; /** - * - * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1211 + * .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=1214 * @return The enum numeric value on the wire for auth. */ - @java.lang.Override - @java.lang.Deprecated - public int getAuthValue() { + @java.lang.Override @java.lang.Deprecated public int getAuthValue() { return auth_; } /** - * - * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1211 + * .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=1214 * @param value The enum numeric value on the wire for auth to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setAuthValue(int value) { - + @java.lang.Deprecated public Builder setAuthValue(int value) { + auth_ = value; onChanged(); return this; } /** - * - * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1211 + * .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=1214 * @return The auth. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { + @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IstioConfig.IstioAuthMode result = - com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); - return result == null - ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.IstioConfig.IstioAuthMode result = com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); + return result == null ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED : result; } /** - * - * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1211 + * .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=1214 * @param value The auth to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode value) { + @java.lang.Deprecated public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode value) { if (value == null) { throw new NullPointerException(); } - + auth_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1211 + * .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=1214 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearAuth() { - + @java.lang.Deprecated public Builder clearAuth() { + auth_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,12 +709,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IstioConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IstioConfig) private static final com.google.container.v1beta1.IstioConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IstioConfig(); } @@ -814,27 +723,27 @@ public static com.google.container.v1beta1.IstioConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IstioConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IstioConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,4 +758,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.IstioConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java similarity index 50% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java index 84570a2b60c4..d876a0d1605a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java @@ -1,72 +1,44 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface IstioConfigOrBuilder - extends +public interface IstioConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IstioConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether Istio is enabled for this cluster.
    * 
* * bool disabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1208 + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1211 * @return The disabled. */ - @java.lang.Deprecated - boolean getDisabled(); + @java.lang.Deprecated boolean getDisabled(); /** - * - * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1211 + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1214 * @return The enum numeric value on the wire for auth. */ - @java.lang.Deprecated - int getAuthValue(); + @java.lang.Deprecated int getAuthValue(); /** - * - * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1211 + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1214 * @return The auth. */ - @java.lang.Deprecated - com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth(); + @java.lang.Deprecated com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java index 87ffec8e7cbb..74d7997755a5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Jwk is a JSON Web Key as specified in RFC 7517
  * 
* * Protobuf type {@code google.container.v1beta1.Jwk} */ -public final class Jwk extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Jwk extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Jwk) JwkOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Jwk.newBuilder() to construct. private Jwk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Jwk() { kty_ = ""; alg_ = ""; @@ -51,25 +33,25 @@ private Jwk() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Jwk(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Jwk_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1beta1.Jwk.class, com.google.container.v1beta1.Jwk.Builder.class); } @@ -77,14 +59,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int KTY_FIELD_NUMBER = 1; private volatile java.lang.Object kty_; /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The kty. */ @java.lang.Override @@ -93,29 +72,29 @@ public java.lang.String getKty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; } } /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The bytes for kty. */ @java.lang.Override - public com.google.protobuf.ByteString getKtyBytes() { + public com.google.protobuf.ByteString + getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kty_ = b; return b; } else { @@ -126,14 +105,11 @@ public com.google.protobuf.ByteString getKtyBytes() { public static final int ALG_FIELD_NUMBER = 2; private volatile java.lang.Object alg_; /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The alg. */ @java.lang.Override @@ -142,29 +118,29 @@ public java.lang.String getAlg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; } } /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The bytes for alg. */ @java.lang.Override - public com.google.protobuf.ByteString getAlgBytes() { + public com.google.protobuf.ByteString + getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alg_ = b; return b; } else { @@ -175,14 +151,11 @@ public com.google.protobuf.ByteString getAlgBytes() { public static final int USE_FIELD_NUMBER = 3; private volatile java.lang.Object use_; /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The use. */ @java.lang.Override @@ -191,29 +164,29 @@ public java.lang.String getUse() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; } } /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The bytes for use. */ @java.lang.Override - public com.google.protobuf.ByteString getUseBytes() { + public com.google.protobuf.ByteString + getUseBytes() { java.lang.Object ref = use_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); use_ = b; return b; } else { @@ -224,14 +197,11 @@ public com.google.protobuf.ByteString getUseBytes() { public static final int KID_FIELD_NUMBER = 4; private volatile java.lang.Object kid_; /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The kid. */ @java.lang.Override @@ -240,29 +210,29 @@ public java.lang.String getKid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; } } /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The bytes for kid. */ @java.lang.Override - public com.google.protobuf.ByteString getKidBytes() { + public com.google.protobuf.ByteString + getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kid_ = b; return b; } else { @@ -273,14 +243,11 @@ public com.google.protobuf.ByteString getKidBytes() { public static final int N_FIELD_NUMBER = 5; private volatile java.lang.Object n_; /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The n. */ @java.lang.Override @@ -289,29 +256,29 @@ public java.lang.String getN() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; } } /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The bytes for n. */ @java.lang.Override - public com.google.protobuf.ByteString getNBytes() { + public com.google.protobuf.ByteString + getNBytes() { java.lang.Object ref = n_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); n_ = b; return b; } else { @@ -322,14 +289,11 @@ public com.google.protobuf.ByteString getNBytes() { public static final int E_FIELD_NUMBER = 6; private volatile java.lang.Object e_; /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The e. */ @java.lang.Override @@ -338,29 +302,29 @@ public java.lang.String getE() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; } } /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The bytes for e. */ @java.lang.Override - public com.google.protobuf.ByteString getEBytes() { + public com.google.protobuf.ByteString + getEBytes() { java.lang.Object ref = e_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); e_ = b; return b; } else { @@ -371,14 +335,11 @@ public com.google.protobuf.ByteString getEBytes() { public static final int X_FIELD_NUMBER = 7; private volatile java.lang.Object x_; /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The x. */ @java.lang.Override @@ -387,29 +348,29 @@ public java.lang.String getX() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; } } /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The bytes for x. */ @java.lang.Override - public com.google.protobuf.ByteString getXBytes() { + public com.google.protobuf.ByteString + getXBytes() { java.lang.Object ref = x_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); x_ = b; return b; } else { @@ -420,14 +381,11 @@ public com.google.protobuf.ByteString getXBytes() { public static final int Y_FIELD_NUMBER = 8; private volatile java.lang.Object y_; /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The y. */ @java.lang.Override @@ -436,29 +394,29 @@ public java.lang.String getY() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; } } /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The bytes for y. */ @java.lang.Override - public com.google.protobuf.ByteString getYBytes() { + public com.google.protobuf.ByteString + getYBytes() { java.lang.Object ref = y_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); y_ = b; return b; } else { @@ -469,14 +427,11 @@ public com.google.protobuf.ByteString getYBytes() { public static final int CRV_FIELD_NUMBER = 9; private volatile java.lang.Object crv_; /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The crv. */ @java.lang.Override @@ -485,29 +440,29 @@ public java.lang.String getCrv() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; } } /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The bytes for crv. */ @java.lang.Override - public com.google.protobuf.ByteString getCrvBytes() { + public com.google.protobuf.ByteString + getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); crv_ = b; return b; } else { @@ -516,7 +471,6 @@ public com.google.protobuf.ByteString getCrvBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -528,7 +482,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kty_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kty_); } @@ -600,22 +555,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Jwk)) { return super.equals(obj); } com.google.container.v1beta1.Jwk other = (com.google.container.v1beta1.Jwk) obj; - if (!getKty().equals(other.getKty())) return false; - if (!getAlg().equals(other.getAlg())) return false; - if (!getUse().equals(other.getUse())) return false; - if (!getKid().equals(other.getKid())) return false; - if (!getN().equals(other.getN())) return false; - if (!getE().equals(other.getE())) return false; - if (!getX().equals(other.getX())) return false; - if (!getY().equals(other.getY())) return false; - if (!getCrv().equals(other.getCrv())) return false; + if (!getKty() + .equals(other.getKty())) return false; + if (!getAlg() + .equals(other.getAlg())) return false; + if (!getUse() + .equals(other.getUse())) return false; + if (!getKid() + .equals(other.getKid())) return false; + if (!getN() + .equals(other.getN())) return false; + if (!getE() + .equals(other.getE())) return false; + if (!getX() + .equals(other.getX())) return false; + if (!getY() + .equals(other.getY())) return false; + if (!getCrv() + .equals(other.getCrv())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -650,135 +614,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Jwk parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Jwk parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Jwk parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.Jwk parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1beta1.Jwk parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Jwk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Jwk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Jwk parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Jwk parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Jwk parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Jwk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Jwk parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Jwk parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Jwk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.Jwk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Jwk is a JSON Web Key as specified in RFC 7517
    * 
* * Protobuf type {@code google.container.v1beta1.Jwk} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Jwk) com.google.container.v1beta1.JwkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Jwk_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Jwk.class, - com.google.container.v1beta1.Jwk.Builder.class); + com.google.container.v1beta1.Jwk.class, com.google.container.v1beta1.Jwk.Builder.class); } // Construct using com.google.container.v1beta1.Jwk.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -804,9 +763,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Jwk_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_descriptor; } @java.lang.Override @@ -843,39 +802,38 @@ public com.google.container.v1beta1.Jwk buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Jwk) { - return mergeFrom((com.google.container.v1beta1.Jwk) other); + return mergeFrom((com.google.container.v1beta1.Jwk)other); } else { super.mergeFrom(other); return this; @@ -946,67 +904,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - kty_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - alg_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - use_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - kid_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - n_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - e_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: - { - x_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - y_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: - { - crv_ = input.readStringRequireUtf8(); - - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + kty_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + alg_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + use_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + kid_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + n_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: { + e_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: { + x_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + y_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: { + crv_ = input.readStringRequireUtf8(); + + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1019,20 +967,18 @@ public Builder mergeFrom( private java.lang.Object kty_ = ""; /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @return The kty. */ public java.lang.String getKty() { java.lang.Object ref = kty_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; @@ -1041,21 +987,20 @@ public java.lang.String getKty() { } } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @return The bytes for kty. */ - public com.google.protobuf.ByteString getKtyBytes() { + public com.google.protobuf.ByteString + getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kty_ = b; return b; } else { @@ -1063,61 +1008,54 @@ public com.google.protobuf.ByteString getKtyBytes() { } } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @param value The kty to set. * @return This builder for chaining. */ - public Builder setKty(java.lang.String value) { + public Builder setKty( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kty_ = value; onChanged(); return this; } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @return This builder for chaining. */ public Builder clearKty() { - + kty_ = getDefaultInstance().getKty(); onChanged(); return this; } /** - * - * *
      * Key Type.
      * 
* * string kty = 1; - * * @param value The bytes for kty to set. * @return This builder for chaining. */ - public Builder setKtyBytes(com.google.protobuf.ByteString value) { + public Builder setKtyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kty_ = value; onChanged(); return this; @@ -1125,20 +1063,18 @@ public Builder setKtyBytes(com.google.protobuf.ByteString value) { private java.lang.Object alg_ = ""; /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @return The alg. */ public java.lang.String getAlg() { java.lang.Object ref = alg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; @@ -1147,21 +1083,20 @@ public java.lang.String getAlg() { } } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @return The bytes for alg. */ - public com.google.protobuf.ByteString getAlgBytes() { + public com.google.protobuf.ByteString + getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); alg_ = b; return b; } else { @@ -1169,61 +1104,54 @@ public com.google.protobuf.ByteString getAlgBytes() { } } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @param value The alg to set. * @return This builder for chaining. */ - public Builder setAlg(java.lang.String value) { + public Builder setAlg( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alg_ = value; onChanged(); return this; } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @return This builder for chaining. */ public Builder clearAlg() { - + alg_ = getDefaultInstance().getAlg(); onChanged(); return this; } /** - * - * *
      * Algorithm.
      * 
* * string alg = 2; - * * @param value The bytes for alg to set. * @return This builder for chaining. */ - public Builder setAlgBytes(com.google.protobuf.ByteString value) { + public Builder setAlgBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alg_ = value; onChanged(); return this; @@ -1231,20 +1159,18 @@ public Builder setAlgBytes(com.google.protobuf.ByteString value) { private java.lang.Object use_ = ""; /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @return The use. */ public java.lang.String getUse() { java.lang.Object ref = use_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; @@ -1253,21 +1179,20 @@ public java.lang.String getUse() { } } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @return The bytes for use. */ - public com.google.protobuf.ByteString getUseBytes() { + public com.google.protobuf.ByteString + getUseBytes() { java.lang.Object ref = use_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); use_ = b; return b; } else { @@ -1275,61 +1200,54 @@ public com.google.protobuf.ByteString getUseBytes() { } } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @param value The use to set. * @return This builder for chaining. */ - public Builder setUse(java.lang.String value) { + public Builder setUse( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + use_ = value; onChanged(); return this; } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @return This builder for chaining. */ public Builder clearUse() { - + use_ = getDefaultInstance().getUse(); onChanged(); return this; } /** - * - * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; - * * @param value The bytes for use to set. * @return This builder for chaining. */ - public Builder setUseBytes(com.google.protobuf.ByteString value) { + public Builder setUseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + use_ = value; onChanged(); return this; @@ -1337,20 +1255,18 @@ public Builder setUseBytes(com.google.protobuf.ByteString value) { private java.lang.Object kid_ = ""; /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @return The kid. */ public java.lang.String getKid() { java.lang.Object ref = kid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; @@ -1359,21 +1275,20 @@ public java.lang.String getKid() { } } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @return The bytes for kid. */ - public com.google.protobuf.ByteString getKidBytes() { + public com.google.protobuf.ByteString + getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kid_ = b; return b; } else { @@ -1381,61 +1296,54 @@ public com.google.protobuf.ByteString getKidBytes() { } } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @param value The kid to set. * @return This builder for chaining. */ - public Builder setKid(java.lang.String value) { + public Builder setKid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kid_ = value; onChanged(); return this; } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @return This builder for chaining. */ public Builder clearKid() { - + kid_ = getDefaultInstance().getKid(); onChanged(); return this; } /** - * - * *
      * Key ID.
      * 
* * string kid = 4; - * * @param value The bytes for kid to set. * @return This builder for chaining. */ - public Builder setKidBytes(com.google.protobuf.ByteString value) { + public Builder setKidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kid_ = value; onChanged(); return this; @@ -1443,20 +1351,18 @@ public Builder setKidBytes(com.google.protobuf.ByteString value) { private java.lang.Object n_ = ""; /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @return The n. */ public java.lang.String getN() { java.lang.Object ref = n_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; @@ -1465,21 +1371,20 @@ public java.lang.String getN() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @return The bytes for n. */ - public com.google.protobuf.ByteString getNBytes() { + public com.google.protobuf.ByteString + getNBytes() { java.lang.Object ref = n_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); n_ = b; return b; } else { @@ -1487,61 +1392,54 @@ public com.google.protobuf.ByteString getNBytes() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @param value The n to set. * @return This builder for chaining. */ - public Builder setN(java.lang.String value) { + public Builder setN( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + n_ = value; onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @return This builder for chaining. */ public Builder clearN() { - + n_ = getDefaultInstance().getN(); onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string n = 5; - * * @param value The bytes for n to set. * @return This builder for chaining. */ - public Builder setNBytes(com.google.protobuf.ByteString value) { + public Builder setNBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + n_ = value; onChanged(); return this; @@ -1549,20 +1447,18 @@ public Builder setNBytes(com.google.protobuf.ByteString value) { private java.lang.Object e_ = ""; /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @return The e. */ public java.lang.String getE() { java.lang.Object ref = e_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; @@ -1571,21 +1467,20 @@ public java.lang.String getE() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @return The bytes for e. */ - public com.google.protobuf.ByteString getEBytes() { + public com.google.protobuf.ByteString + getEBytes() { java.lang.Object ref = e_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); e_ = b; return b; } else { @@ -1593,61 +1488,54 @@ public com.google.protobuf.ByteString getEBytes() { } } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @param value The e to set. * @return This builder for chaining. */ - public Builder setE(java.lang.String value) { + public Builder setE( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + e_ = value; onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @return This builder for chaining. */ public Builder clearE() { - + e_ = getDefaultInstance().getE(); onChanged(); return this; } /** - * - * *
      * Used for RSA keys.
      * 
* * string e = 6; - * * @param value The bytes for e to set. * @return This builder for chaining. */ - public Builder setEBytes(com.google.protobuf.ByteString value) { + public Builder setEBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + e_ = value; onChanged(); return this; @@ -1655,20 +1543,18 @@ public Builder setEBytes(com.google.protobuf.ByteString value) { private java.lang.Object x_ = ""; /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @return The x. */ public java.lang.String getX() { java.lang.Object ref = x_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; @@ -1677,21 +1563,20 @@ public java.lang.String getX() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @return The bytes for x. */ - public com.google.protobuf.ByteString getXBytes() { + public com.google.protobuf.ByteString + getXBytes() { java.lang.Object ref = x_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); x_ = b; return b; } else { @@ -1699,61 +1584,54 @@ public com.google.protobuf.ByteString getXBytes() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @param value The x to set. * @return This builder for chaining. */ - public Builder setX(java.lang.String value) { + public Builder setX( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + x_ = value; onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @return This builder for chaining. */ public Builder clearX() { - + x_ = getDefaultInstance().getX(); onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string x = 7; - * * @param value The bytes for x to set. * @return This builder for chaining. */ - public Builder setXBytes(com.google.protobuf.ByteString value) { + public Builder setXBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + x_ = value; onChanged(); return this; @@ -1761,20 +1639,18 @@ public Builder setXBytes(com.google.protobuf.ByteString value) { private java.lang.Object y_ = ""; /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @return The y. */ public java.lang.String getY() { java.lang.Object ref = y_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; @@ -1783,21 +1659,20 @@ public java.lang.String getY() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @return The bytes for y. */ - public com.google.protobuf.ByteString getYBytes() { + public com.google.protobuf.ByteString + getYBytes() { java.lang.Object ref = y_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); y_ = b; return b; } else { @@ -1805,61 +1680,54 @@ public com.google.protobuf.ByteString getYBytes() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @param value The y to set. * @return This builder for chaining. */ - public Builder setY(java.lang.String value) { + public Builder setY( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + y_ = value; onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @return This builder for chaining. */ public Builder clearY() { - + y_ = getDefaultInstance().getY(); onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string y = 8; - * * @param value The bytes for y to set. * @return This builder for chaining. */ - public Builder setYBytes(com.google.protobuf.ByteString value) { + public Builder setYBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + y_ = value; onChanged(); return this; @@ -1867,20 +1735,18 @@ public Builder setYBytes(com.google.protobuf.ByteString value) { private java.lang.Object crv_ = ""; /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @return The crv. */ public java.lang.String getCrv() { java.lang.Object ref = crv_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; @@ -1889,21 +1755,20 @@ public java.lang.String getCrv() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @return The bytes for crv. */ - public com.google.protobuf.ByteString getCrvBytes() { + public com.google.protobuf.ByteString + getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); crv_ = b; return b; } else { @@ -1911,68 +1776,61 @@ public com.google.protobuf.ByteString getCrvBytes() { } } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @param value The crv to set. * @return This builder for chaining. */ - public Builder setCrv(java.lang.String value) { + public Builder setCrv( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + crv_ = value; onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @return This builder for chaining. */ public Builder clearCrv() { - + crv_ = getDefaultInstance().getCrv(); onChanged(); return this; } /** - * - * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; - * * @param value The bytes for crv to set. * @return This builder for chaining. */ - public Builder setCrvBytes(com.google.protobuf.ByteString value) { + public Builder setCrvBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + crv_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1982,12 +1840,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Jwk) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Jwk) private static final com.google.container.v1beta1.Jwk DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Jwk(); } @@ -1996,27 +1854,27 @@ public static com.google.container.v1beta1.Jwk getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Jwk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Jwk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2031,4 +1889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Jwk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java index 0850d357f444..63bd6fe278ad 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java @@ -1,250 +1,189 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface JwkOrBuilder - extends +public interface JwkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Jwk) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The kty. */ java.lang.String getKty(); /** - * - * *
    * Key Type.
    * 
* * string kty = 1; - * * @return The bytes for kty. */ - com.google.protobuf.ByteString getKtyBytes(); + com.google.protobuf.ByteString + getKtyBytes(); /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The alg. */ java.lang.String getAlg(); /** - * - * *
    * Algorithm.
    * 
* * string alg = 2; - * * @return The bytes for alg. */ - com.google.protobuf.ByteString getAlgBytes(); + com.google.protobuf.ByteString + getAlgBytes(); /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The use. */ java.lang.String getUse(); /** - * - * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; - * * @return The bytes for use. */ - com.google.protobuf.ByteString getUseBytes(); + com.google.protobuf.ByteString + getUseBytes(); /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The kid. */ java.lang.String getKid(); /** - * - * *
    * Key ID.
    * 
* * string kid = 4; - * * @return The bytes for kid. */ - com.google.protobuf.ByteString getKidBytes(); + com.google.protobuf.ByteString + getKidBytes(); /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The n. */ java.lang.String getN(); /** - * - * *
    * Used for RSA keys.
    * 
* * string n = 5; - * * @return The bytes for n. */ - com.google.protobuf.ByteString getNBytes(); + com.google.protobuf.ByteString + getNBytes(); /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The e. */ java.lang.String getE(); /** - * - * *
    * Used for RSA keys.
    * 
* * string e = 6; - * * @return The bytes for e. */ - com.google.protobuf.ByteString getEBytes(); + com.google.protobuf.ByteString + getEBytes(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The x. */ java.lang.String getX(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string x = 7; - * * @return The bytes for x. */ - com.google.protobuf.ByteString getXBytes(); + com.google.protobuf.ByteString + getXBytes(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The y. */ java.lang.String getY(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string y = 8; - * * @return The bytes for y. */ - com.google.protobuf.ByteString getYBytes(); + com.google.protobuf.ByteString + getYBytes(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The crv. */ java.lang.String getCrv(); /** - * - * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; - * * @return The bytes for crv. */ - com.google.protobuf.ByteString getCrvBytes(); + com.google.protobuf.ByteString + getCrvBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java index ae3b378a7147..12b8b33be74b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java @@ -1,93 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration options for the KALM addon.
  * 
* * Protobuf type {@code google.container.v1beta1.KalmConfig} */ -public final class KalmConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class KalmConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.KalmConfig) KalmConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use KalmConfig.newBuilder() to construct. private KalmConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private KalmConfig() {} + private KalmConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new KalmConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KalmConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KalmConfig.class, - com.google.container.v1beta1.KalmConfig.Builder.class); + com.google.container.v1beta1.KalmConfig.class, com.google.container.v1beta1.KalmConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether KALM is enabled for this cluster.
    * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1130 + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1133 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getEnabled() { + @java.lang.Deprecated public boolean getEnabled() { return enabled_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -113,7 +91,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,14 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.KalmConfig)) { return super.equals(obj); } com.google.container.v1beta1.KalmConfig other = (com.google.container.v1beta1.KalmConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,142 +123,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.KalmConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.KalmConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.KalmConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.KalmConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.KalmConfig parseFrom( 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.KalmConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.KalmConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.KalmConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.KalmConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.KalmConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.KalmConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.KalmConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.KalmConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.KalmConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.KalmConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the KALM addon.
    * 
* * Protobuf type {@code google.container.v1beta1.KalmConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.KalmConfig) com.google.container.v1beta1.KalmConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KalmConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KalmConfig.class, - com.google.container.v1beta1.KalmConfig.Builder.class); + com.google.container.v1beta1.KalmConfig.class, com.google.container.v1beta1.KalmConfig.Builder.class); } // Construct using com.google.container.v1beta1.KalmConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -288,9 +263,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KalmConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_descriptor; } @java.lang.Override @@ -309,8 +284,7 @@ public com.google.container.v1beta1.KalmConfig build() { @java.lang.Override public com.google.container.v1beta1.KalmConfig buildPartial() { - com.google.container.v1beta1.KalmConfig result = - new com.google.container.v1beta1.KalmConfig(this); + com.google.container.v1beta1.KalmConfig result = new com.google.container.v1beta1.KalmConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -320,39 +294,38 @@ public com.google.container.v1beta1.KalmConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.KalmConfig) { - return mergeFrom((com.google.container.v1beta1.KalmConfig) other); + return mergeFrom((com.google.container.v1beta1.KalmConfig)other); } else { super.mergeFrom(other); return this; @@ -390,19 +363,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -413,69 +384,57 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether KALM is enabled for this cluster.
      * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1130 + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1133 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated - public boolean getEnabled() { + @java.lang.Deprecated public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether KALM is enabled for this cluster.
      * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1130 + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1133 * @param value The enabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setEnabled(boolean value) { - + @java.lang.Deprecated public Builder setEnabled(boolean value) { + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether KALM is enabled for this cluster.
      * 
* * bool enabled = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1130 + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1133 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearEnabled() { - + @java.lang.Deprecated public Builder clearEnabled() { + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,12 +444,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.KalmConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.KalmConfig) private static final com.google.container.v1beta1.KalmConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.KalmConfig(); } @@ -499,27 +458,27 @@ public static com.google.container.v1beta1.KalmConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KalmConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KalmConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -534,4 +493,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.KalmConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java new file mode 100644 index 000000000000..58cf5d5f98a5 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java @@ -0,0 +1,21 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface KalmConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KalmConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether KALM is enabled for this cluster.
+   * 
+ * + * bool enabled = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1133 + * @return The enabled. + */ + @java.lang.Deprecated boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java index 17aa37d89a81..7cd83e37c9fd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for the Kubernetes Dashboard.
  * 
* * Protobuf type {@code google.container.v1beta1.KubernetesDashboard} */ -public final class KubernetesDashboard extends com.google.protobuf.GeneratedMessageV3 - implements +public final class KubernetesDashboard extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.KubernetesDashboard) KubernetesDashboardOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use KubernetesDashboard.newBuilder() to construct. private KubernetesDashboard(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private KubernetesDashboard() {} + private KubernetesDashboard() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new KubernetesDashboard(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KubernetesDashboard.class, - com.google.container.v1beta1.KubernetesDashboard.Builder.class); + com.google.container.v1beta1.KubernetesDashboard.class, com.google.container.v1beta1.KubernetesDashboard.Builder.class); } public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** - * - * *
    * Whether the Kubernetes Dashboard is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.KubernetesDashboard)) { return super.equals(obj); } - com.google.container.v1beta1.KubernetesDashboard other = - (com.google.container.v1beta1.KubernetesDashboard) obj; + com.google.container.v1beta1.KubernetesDashboard other = (com.google.container.v1beta1.KubernetesDashboard) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.KubernetesDashboard parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( 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.KubernetesDashboard parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.KubernetesDashboard parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.KubernetesDashboard parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.KubernetesDashboard parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.KubernetesDashboard parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.KubernetesDashboard prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the Kubernetes Dashboard.
    * 
* * Protobuf type {@code google.container.v1beta1.KubernetesDashboard} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.KubernetesDashboard) com.google.container.v1beta1.KubernetesDashboardOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KubernetesDashboard.class, - com.google.container.v1beta1.KubernetesDashboard.Builder.class); + com.google.container.v1beta1.KubernetesDashboard.class, com.google.container.v1beta1.KubernetesDashboard.Builder.class); } // Construct using com.google.container.v1beta1.KubernetesDashboard.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.KubernetesDashboard build() { @java.lang.Override public com.google.container.v1beta1.KubernetesDashboard buildPartial() { - com.google.container.v1beta1.KubernetesDashboard result = - new com.google.container.v1beta1.KubernetesDashboard(this); + com.google.container.v1beta1.KubernetesDashboard result = new com.google.container.v1beta1.KubernetesDashboard(this); result.disabled_ = disabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.KubernetesDashboard buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.KubernetesDashboard) { - return mergeFrom((com.google.container.v1beta1.KubernetesDashboard) other); + return mergeFrom((com.google.container.v1beta1.KubernetesDashboard)other); } else { super.mergeFrom(other); return this; @@ -358,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.KubernetesDashboard other) { - if (other == com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance()) return this; if (other.getDisabled() != false) { setDisabled(other.getDisabled()); } @@ -389,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - disabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + disabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -412,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -429,43 +396,37 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -475,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.KubernetesDashboard) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.KubernetesDashboard) private static final com.google.container.v1beta1.KubernetesDashboard DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.KubernetesDashboard(); } @@ -489,27 +450,27 @@ public static com.google.container.v1beta1.KubernetesDashboard getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KubernetesDashboard parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KubernetesDashboard parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -524,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.KubernetesDashboard getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java new file mode 100644 index 000000000000..119fb93516bf --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface KubernetesDashboardOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KubernetesDashboard) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether the Kubernetes Dashboard is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java index e168b42cd47c..44d2f2828d12 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration for the legacy Attribute Based Access Control authorization
  * mode.
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1beta1.LegacyAbac}
  */
-public final class LegacyAbac extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class LegacyAbac extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.LegacyAbac)
     LegacyAbacOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use LegacyAbac.newBuilder() to construct.
   private LegacyAbac(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private LegacyAbac() {}
+  private LegacyAbac() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new LegacyAbac();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_LegacyAbac_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.LegacyAbac.class,
-            com.google.container.v1beta1.LegacyAbac.Builder.class);
+            com.google.container.v1beta1.LegacyAbac.class, com.google.container.v1beta1.LegacyAbac.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -88,7 +67,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -100,7 +78,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -114,7 +93,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -124,14 +104,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LegacyAbac)) { return super.equals(obj); } com.google.container.v1beta1.LegacyAbac other = (com.google.container.v1beta1.LegacyAbac) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -144,110 +125,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.LegacyAbac parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.LegacyAbac parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LegacyAbac parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LegacyAbac parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LegacyAbac parseFrom( 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.LegacyAbac parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LegacyAbac parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LegacyAbac parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LegacyAbac parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.LegacyAbac parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.LegacyAbac parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LegacyAbac parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LegacyAbac parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LegacyAbac parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.LegacyAbac prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the legacy Attribute Based Access Control authorization
    * mode.
@@ -255,32 +230,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.LegacyAbac}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LegacyAbac)
       com.google.container.v1beta1.LegacyAbacOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_LegacyAbac_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.LegacyAbac.class,
-              com.google.container.v1beta1.LegacyAbac.Builder.class);
+              com.google.container.v1beta1.LegacyAbac.class, com.google.container.v1beta1.LegacyAbac.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.LegacyAbac.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +266,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_LegacyAbac_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +287,7 @@ public com.google.container.v1beta1.LegacyAbac build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.LegacyAbac buildPartial() {
-      com.google.container.v1beta1.LegacyAbac result =
-          new com.google.container.v1beta1.LegacyAbac(this);
+      com.google.container.v1beta1.LegacyAbac result = new com.google.container.v1beta1.LegacyAbac(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -322,39 +297,38 @@ public com.google.container.v1beta1.LegacyAbac buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.LegacyAbac) {
-        return mergeFrom((com.google.container.v1beta1.LegacyAbac) other);
+        return mergeFrom((com.google.container.v1beta1.LegacyAbac)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -392,19 +366,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -415,10 +387,8 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -427,7 +397,6 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -435,8 +404,6 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -445,19 +412,16 @@ public boolean getEnabled() {
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -466,18 +430,17 @@ public Builder setEnabled(boolean value) {
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -487,12 +450,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LegacyAbac) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LegacyAbac) private static final com.google.container.v1beta1.LegacyAbac DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LegacyAbac(); } @@ -501,27 +464,27 @@ public static com.google.container.v1beta1.LegacyAbac getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LegacyAbac parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LegacyAbac parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -536,4 +499,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LegacyAbac getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java similarity index 50% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java index 2376daff2bc5..50ccd1db723b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LegacyAbacOrBuilder - extends +public interface LegacyAbacOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LegacyAbac) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -34,7 +16,6 @@ public interface LegacyAbacOrBuilder
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java index 7936ee9a8483..aa5ead7c3239 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java @@ -1,96 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Parameters that can be configured on Linux nodes.
  * 
* * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig} */ -public final class LinuxNodeConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LinuxNodeConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig) LinuxNodeConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LinuxNodeConfig.newBuilder() to construct. private LinuxNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LinuxNodeConfig() { cgroupMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LinuxNodeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LinuxNodeConfig.class, - com.google.container.v1beta1.LinuxNodeConfig.Builder.class); + com.google.container.v1beta1.LinuxNodeConfig.class, com.google.container.v1beta1.LinuxNodeConfig.Builder.class); } /** - * - * *
    * Possible cgroup modes that can be used.
    * 
* * Protobuf enum {@code google.container.v1beta1.LinuxNodeConfig.CgroupMode} */ - public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum { + public enum CgroupMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -100,8 +79,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     CGROUP_MODE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -111,8 +88,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     CGROUP_MODE_V1(1),
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -125,8 +100,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -136,8 +109,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CGROUP_MODE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -147,8 +118,6 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CGROUP_MODE_V1_VALUE = 1;
     /**
-     *
-     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -158,6 +127,7 @@ public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CGROUP_MODE_V2_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -182,49 +152,49 @@ public static CgroupMode valueOf(int value) {
      */
     public static CgroupMode forNumber(int value) {
       switch (value) {
-        case 0:
-          return CGROUP_MODE_UNSPECIFIED;
-        case 1:
-          return CGROUP_MODE_V1;
-        case 2:
-          return CGROUP_MODE_V2;
-        default:
-          return null;
+        case 0: return CGROUP_MODE_UNSPECIFIED;
+        case 1: return CGROUP_MODE_V1;
+        case 2: return CGROUP_MODE_V2;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public CgroupMode findValueByNumber(int number) {
-            return CgroupMode.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        CgroupMode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public CgroupMode findValueByNumber(int number) {
+              return CgroupMode.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.LinuxNodeConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final CgroupMode[] VALUES = values();
 
-    public static CgroupMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CgroupMode valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -242,23 +212,24 @@ private CgroupMode(int value) {
   }
 
   public static final int SYSCTLS_FIELD_NUMBER = 1;
-
   private static final class SysctlsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.container.v1beta1.ClusterServiceProto
-                .internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField sysctls_;
-
-  private com.google.protobuf.MapField internalGetSysctls() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> sysctls_;
+  private com.google.protobuf.MapField
+  internalGetSysctls() {
     if (sysctls_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          SysctlsDefaultEntryHolder.defaultEntry);
     }
     return sysctls_;
   }
@@ -267,8 +238,6 @@ public int getSysctlsCount() {
     return internalGetSysctls().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -288,22 +257,22 @@ public int getSysctlsCount() {
    *
    * map<string, string> sysctls = 1;
    */
+
   @java.lang.Override
-  public boolean containsSysctls(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsSysctls(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetSysctls().getMap().containsKey(key);
   }
-  /** Use {@link #getSysctlsMap()} instead. */
+  /**
+   * Use {@link #getSysctlsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSysctls() {
     return getSysctlsMap();
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -324,12 +293,11 @@ public java.util.Map getSysctls() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
+
   public java.util.Map getSysctlsMap() {
     return internalGetSysctls().getMap();
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -350,16 +318,16 @@ public java.util.Map getSysctlsMap() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-  public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetSysctls().getMap();
+
+  public java.lang.String getSysctlsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetSysctls().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -380,11 +348,12 @@ public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.Stri
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-  public java.lang.String getSysctlsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetSysctls().getMap();
+
+  public java.lang.String getSysctlsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetSysctls().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -394,43 +363,31 @@ public java.lang.String getSysctlsOrThrow(java.lang.String key) {
   public static final int CGROUP_MODE_FIELD_NUMBER = 2;
   private int cgroupMode_;
   /**
-   *
-   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override - public int getCgroupModeValue() { + @java.lang.Override public int getCgroupModeValue() { return cgroupMode_; } /** - * - * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The cgroupMode. */ - @java.lang.Override - public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { + @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null - ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -442,12 +399,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetSysctls(), SysctlsDefaultEntryHolder.defaultEntry, 1); - if (cgroupMode_ - != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetSysctls(), + SysctlsDefaultEntryHolder.defaultEntry, + 1); + if (cgroupMode_ != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, cgroupMode_); } getUnknownFields().writeTo(output); @@ -459,20 +419,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry : - internalGetSysctls().getMap().entrySet()) { - com.google.protobuf.MapEntry sysctls__ = - SysctlsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sysctls__); + for (java.util.Map.Entry entry + : internalGetSysctls().getMap().entrySet()) { + com.google.protobuf.MapEntry + sysctls__ = SysctlsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, sysctls__); } - if (cgroupMode_ - != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, cgroupMode_); + if (cgroupMode_ != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, cgroupMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -482,15 +441,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LinuxNodeConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LinuxNodeConfig other = - (com.google.container.v1beta1.LinuxNodeConfig) obj; + com.google.container.v1beta1.LinuxNodeConfig other = (com.google.container.v1beta1.LinuxNodeConfig) obj; - if (!internalGetSysctls().equals(other.internalGetSysctls())) return false; + if (!internalGetSysctls().equals( + other.internalGetSysctls())) return false; if (cgroupMode_ != other.cgroupMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -514,156 +473,152 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LinuxNodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( 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.LinuxNodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.LinuxNodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig) com.google.container.v1beta1.LinuxNodeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 1: return internalGetMutableSysctls(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LinuxNodeConfig.class, - com.google.container.v1beta1.LinuxNodeConfig.Builder.class); + com.google.container.v1beta1.LinuxNodeConfig.class, com.google.container.v1beta1.LinuxNodeConfig.Builder.class); } // Construct using com.google.container.v1beta1.LinuxNodeConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -674,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; } @java.lang.Override @@ -695,8 +650,7 @@ public com.google.container.v1beta1.LinuxNodeConfig build() { @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig buildPartial() { - com.google.container.v1beta1.LinuxNodeConfig result = - new com.google.container.v1beta1.LinuxNodeConfig(this); + com.google.container.v1beta1.LinuxNodeConfig result = new com.google.container.v1beta1.LinuxNodeConfig(this); int from_bitField0_ = bitField0_; result.sysctls_ = internalGetSysctls(); result.sysctls_.makeImmutable(); @@ -709,39 +663,38 @@ public com.google.container.v1beta1.LinuxNodeConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LinuxNodeConfig) { - return mergeFrom((com.google.container.v1beta1.LinuxNodeConfig) other); + return mergeFrom((com.google.container.v1beta1.LinuxNodeConfig)other); } else { super.mergeFrom(other); return this; @@ -750,7 +703,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1beta1.LinuxNodeConfig other) { if (other == com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance()) return this; - internalGetMutableSysctls().mergeFrom(other.internalGetSysctls()); + internalGetMutableSysctls().mergeFrom( + other.internalGetSysctls()); if (other.cgroupMode_ != 0) { setCgroupModeValue(other.getCgroupModeValue()); } @@ -780,30 +734,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry sysctls__ = - input.readMessage( - SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableSysctls() - .getMutableMap() - .put(sysctls__.getKey(), sysctls__.getValue()); - break; - } // case 10 - case 16: - { - cgroupMode_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + sysctls__ = input.readMessage( + SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableSysctls().getMutableMap().put( + sysctls__.getKey(), sysctls__.getValue()); + break; + } // case 10 + case 16: { + cgroupMode_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -813,24 +762,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField sysctls_; - - private com.google.protobuf.MapField internalGetSysctls() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> sysctls_; + private com.google.protobuf.MapField + internalGetSysctls() { if (sysctls_ == null) { - return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + SysctlsDefaultEntryHolder.defaultEntry); } return sysctls_; } - private com.google.protobuf.MapField - internalGetMutableSysctls() { - onChanged(); - ; + internalGetMutableSysctls() { + onChanged();; if (sysctls_ == null) { - sysctls_ = com.google.protobuf.MapField.newMapField(SysctlsDefaultEntryHolder.defaultEntry); + sysctls_ = com.google.protobuf.MapField.newMapField( + SysctlsDefaultEntryHolder.defaultEntry); } if (!sysctls_.isMutable()) { sysctls_ = sysctls_.copy(); @@ -842,8 +791,6 @@ public int getSysctlsCount() { return internalGetSysctls().getMap().size(); } /** - * - * *
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -863,22 +810,22 @@ public int getSysctlsCount() {
      *
      * map<string, string> sysctls = 1;
      */
+
     @java.lang.Override
-    public boolean containsSysctls(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsSysctls(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetSysctls().getMap().containsKey(key);
     }
-    /** Use {@link #getSysctlsMap()} instead. */
+    /**
+     * Use {@link #getSysctlsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSysctls() {
       return getSysctlsMap();
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -899,12 +846,11 @@ public java.util.Map getSysctls() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
+
     public java.util.Map getSysctlsMap() {
       return internalGetSysctls().getMap();
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -925,17 +871,16 @@ public java.util.Map getSysctlsMap() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
+
     public java.lang.String getSysctlsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSysctls().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSysctls().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -956,11 +901,12 @@ public java.lang.String getSysctlsOrDefault(
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-    public java.lang.String getSysctlsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetSysctls().getMap();
+
+    public java.lang.String getSysctlsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetSysctls().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -968,12 +914,11 @@ public java.lang.String getSysctlsOrThrow(java.lang.String key) {
     }
 
     public Builder clearSysctls() {
-      internalGetMutableSysctls().getMutableMap().clear();
+      internalGetMutableSysctls().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -993,21 +938,23 @@ public Builder clearSysctls() {
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder removeSysctls(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableSysctls().getMutableMap().remove(key);
+
+    public Builder removeSysctls(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableSysctls().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableSysctls() {
+    public java.util.Map
+    getMutableSysctls() {
       return internalGetMutableSysctls().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -1027,20 +974,19 @@ public java.util.Map getMutableSysctls() {
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder putSysctls(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putSysctls(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableSysctls().getMutableMap().put(key, value);
+      internalGetMutableSysctls().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -1060,74 +1006,61 @@ public Builder putSysctls(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder putAllSysctls(java.util.Map values) {
-      internalGetMutableSysctls().getMutableMap().putAll(values);
+
+    public Builder putAllSysctls(
+        java.util.Map values) {
+      internalGetMutableSysctls().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private int cgroupMode_ = 0;
     /**
-     *
-     *
      * 
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override - public int getCgroupModeValue() { + @java.lang.Override public int getCgroupModeValue() { return cgroupMode_; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @param value The enum numeric value on the wire for cgroupMode to set. * @return This builder for chaining. */ public Builder setCgroupModeValue(int value) { - + cgroupMode_ = value; onChanged(); return this; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The cgroupMode. */ @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null - ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @param value The cgroupMode to set. * @return This builder for chaining. */ @@ -1135,31 +1068,28 @@ public Builder setCgroupMode(com.google.container.v1beta1.LinuxNodeConfig.Cgroup if (value == null) { throw new NullPointerException(); } - + cgroupMode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return This builder for chaining. */ public Builder clearCgroupMode() { - + cgroupMode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1169,12 +1099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig) private static final com.google.container.v1beta1.LinuxNodeConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LinuxNodeConfig(); } @@ -1183,27 +1113,27 @@ public static com.google.container.v1beta1.LinuxNodeConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinuxNodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinuxNodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,4 +1148,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LinuxNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java index 561ea6b336c9..b05daec9df6e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LinuxNodeConfigOrBuilder - extends +public interface LinuxNodeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -47,8 +29,6 @@ public interface LinuxNodeConfigOrBuilder
    */
   int getSysctlsCount();
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -68,13 +48,15 @@ public interface LinuxNodeConfigOrBuilder
    *
    * map<string, string> sysctls = 1;
    */
-  boolean containsSysctls(java.lang.String key);
-  /** Use {@link #getSysctlsMap()} instead. */
+  boolean containsSysctls(
+      java.lang.String key);
+  /**
+   * Use {@link #getSysctlsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getSysctls();
+  java.util.Map
+  getSysctls();
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -94,10 +76,9 @@ public interface LinuxNodeConfigOrBuilder
    *
    * map<string, string> sysctls = 1;
    */
-  java.util.Map getSysctlsMap();
+  java.util.Map
+  getSysctlsMap();
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -119,13 +100,11 @@ public interface LinuxNodeConfigOrBuilder
    */
 
   /* nullable */
-  java.lang.String getSysctlsOrDefault(
+java.lang.String getSysctlsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -145,29 +124,25 @@ java.lang.String getSysctlsOrDefault(
    *
    * map<string, string> sysctls = 1;
    */
-  java.lang.String getSysctlsOrThrow(java.lang.String key);
+
+  java.lang.String getSysctlsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The enum numeric value on the wire for cgroupMode. */ int getCgroupModeValue(); /** - * - * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; - * * @return The cgroupMode. */ com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java index e70047284be0..4cd3cee8b998 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListClustersRequest lists clusters.
  * 
* * Protobuf type {@code google.container.v1beta1.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { projectId_ = ""; zone_ = ""; @@ -45,84 +27,76 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersRequest.class, - com.google.container.v1beta1.ListClustersRequest.Builder.class); + com.google.container.v1beta1.ListClustersRequest.class, com.google.container.v1beta1.ListClustersRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,27 +115,24 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,18 +141,18 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,8 +163,6 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -203,7 +170,6 @@ public com.google.protobuf.ByteString getZoneBytes() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -212,15 +178,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -228,15 +193,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -245,7 +211,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -293,17 +259,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListClustersRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListClustersRequest other = - (com.google.container.v1beta1.ListClustersRequest) obj; + com.google.container.v1beta1.ListClustersRequest other = (com.google.container.v1beta1.ListClustersRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getParent().equals(other.getParent())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -326,136 +294,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ListClustersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ListClustersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListClustersRequest parseFrom( 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.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListClustersRequest lists clusters.
    * 
* * Protobuf type {@code google.container.v1beta1.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListClustersRequest) com.google.container.v1beta1.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersRequest.class, - com.google.container.v1beta1.ListClustersRequest.Builder.class); + com.google.container.v1beta1.ListClustersRequest.class, com.google.container.v1beta1.ListClustersRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_descriptor; } @java.lang.Override @@ -490,8 +452,7 @@ public com.google.container.v1beta1.ListClustersRequest build() { @java.lang.Override public com.google.container.v1beta1.ListClustersRequest buildPartial() { - com.google.container.v1beta1.ListClustersRequest result = - new com.google.container.v1beta1.ListClustersRequest(this); + com.google.container.v1beta1.ListClustersRequest result = new com.google.container.v1beta1.ListClustersRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -503,39 +464,38 @@ public com.google.container.v1beta1.ListClustersRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListClustersRequest) { - return mergeFrom((com.google.container.v1beta1.ListClustersRequest) other); + return mergeFrom((com.google.container.v1beta1.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -543,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListClustersRequest other) { - if (other == com.google.container.v1beta1.ListClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ListClustersRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -583,31 +542,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -620,26 +575,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -648,27 +599,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -676,79 +624,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -756,8 +691,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -766,16 +699,15 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -784,8 +716,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -794,17 +724,17 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -812,8 +742,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -822,25 +750,22 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -849,21 +774,17 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -872,19 +793,18 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -892,8 +812,6 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -901,13 +819,13 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 4; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -916,8 +834,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -925,14 +841,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -940,8 +857,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -949,22 +864,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 4; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -972,18 +885,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 4; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -991,23 +901,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1017,12 +927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListClustersRequest) private static final com.google.container.v1beta1.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListClustersRequest(); } @@ -1031,27 +941,27 @@ public static com.google.container.v1beta1.ListClustersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1066,4 +976,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java index a3b12b5fa9a2..6c174dd3ad2d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListClustersRequestOrBuilder - extends +public interface ListClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2897 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,17 +58,14 @@ 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=2906 + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -107,13 +73,10 @@ public interface ListClustersRequestOrBuilder
    * 
* * string parent = 4; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -121,8 +84,8 @@ public interface ListClustersRequestOrBuilder
    * 
* * string parent = 4; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java index df73c92bd631..a4455b1ae62c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListClustersResponse is the result of ListClustersRequest.
  * 
* * Protobuf type {@code google.container.v1beta1.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,35 +26,32 @@ private ListClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersResponse.class, - com.google.container.v1beta1.ListClustersResponse.Builder.class); + com.google.container.v1beta1.ListClustersResponse.class, com.google.container.v1beta1.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; private java.util.List clusters_; /** - * - * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -85,8 +64,6 @@ public java.util.List getClustersList() {
     return clusters_;
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -95,13 +72,11 @@ public java.util.List getClustersList() {
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getClustersOrBuilderList() {
     return clusters_;
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -114,8 +89,6 @@ public int getClustersCount() {
     return clusters_.size();
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -128,8 +101,6 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
     return clusters_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -138,52 +109,45 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int index) {
+  public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
+      int index) {
     return clusters_.get(index);
   }
 
   public static final int MISSING_ZONES_FIELD_NUMBER = 2;
   private com.google.protobuf.LazyStringList missingZones_;
   /**
-   *
-   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_; } /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -191,24 +155,21 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -237,7 +199,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } { int dataSize = 0; @@ -255,16 +218,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListClustersResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListClustersResponse other = - (com.google.container.v1beta1.ListClustersResponse) obj; + com.google.container.v1beta1.ListClustersResponse other = (com.google.container.v1beta1.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getMissingZonesList() + .equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,135 +254,129 @@ public int hashCode() { } public static com.google.container.v1beta1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListClustersResponse parseFrom( 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.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListClustersResponse is the result of ListClustersRequest.
    * 
* * Protobuf type {@code google.container.v1beta1.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListClustersResponse) com.google.container.v1beta1.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersResponse.class, - com.google.container.v1beta1.ListClustersResponse.Builder.class); + com.google.container.v1beta1.ListClustersResponse.class, com.google.container.v1beta1.ListClustersResponse.Builder.class); } // Construct using com.google.container.v1beta1.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_descriptor; } @java.lang.Override @@ -456,8 +414,7 @@ public com.google.container.v1beta1.ListClustersResponse build() { @java.lang.Override public com.google.container.v1beta1.ListClustersResponse buildPartial() { - com.google.container.v1beta1.ListClustersResponse result = - new com.google.container.v1beta1.ListClustersResponse(this); + com.google.container.v1beta1.ListClustersResponse result = new com.google.container.v1beta1.ListClustersResponse(this); int from_bitField0_ = bitField0_; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -481,39 +438,38 @@ public com.google.container.v1beta1.ListClustersResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListClustersResponse) { - return mergeFrom((com.google.container.v1beta1.ListClustersResponse) other); + return mergeFrom((com.google.container.v1beta1.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -521,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListClustersResponse other) { - if (other == com.google.container.v1beta1.ListClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ListClustersResponse.getDefaultInstance()) return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -541,10 +496,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ListClustersResponse other clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -586,33 +540,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1beta1.Cluster m = - input.readMessage( - com.google.container.v1beta1.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1beta1.Cluster m = + input.readMessage( + com.google.container.v1beta1.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -622,28 +574,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Cluster, - com.google.container.v1beta1.Cluster.Builder, - com.google.container.v1beta1.ClusterOrBuilder> - clustersBuilder_; + com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -659,8 +604,6 @@ public java.util.List getClustersList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -676,8 +619,6 @@ public int getClustersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -693,8 +634,6 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -702,7 +641,8 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public Builder setClusters(int index, com.google.container.v1beta1.Cluster value) {
+    public Builder setClusters(
+        int index, com.google.container.v1beta1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,8 +656,6 @@ public Builder setClusters(int index, com.google.container.v1beta1.Cluster value
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -737,8 +675,6 @@ public Builder setClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -760,8 +696,6 @@ public Builder addClusters(com.google.container.v1beta1.Cluster value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -769,7 +703,8 @@ public Builder addClusters(com.google.container.v1beta1.Cluster value) {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public Builder addClusters(int index, com.google.container.v1beta1.Cluster value) {
+    public Builder addClusters(
+        int index, com.google.container.v1beta1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -783,8 +718,6 @@ public Builder addClusters(int index, com.google.container.v1beta1.Cluster value
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -792,7 +725,8 @@ public Builder addClusters(int index, com.google.container.v1beta1.Cluster value
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public Builder addClusters(com.google.container.v1beta1.Cluster.Builder builderForValue) {
+    public Builder addClusters(
+        com.google.container.v1beta1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.add(builderForValue.build());
@@ -803,8 +737,6 @@ public Builder addClusters(com.google.container.v1beta1.Cluster.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -824,8 +756,6 @@ public Builder addClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -837,7 +767,8 @@ public Builder addAllClusters(
         java.lang.Iterable values) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, clusters_);
         onChanged();
       } else {
         clustersBuilder_.addAllMessages(values);
@@ -845,8 +776,6 @@ public Builder addAllClusters(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -865,8 +794,6 @@ public Builder clearClusters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -885,8 +812,6 @@ public Builder removeClusters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -894,12 +819,11 @@ public Builder removeClusters(int index) {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public com.google.container.v1beta1.Cluster.Builder getClustersBuilder(int index) {
+    public com.google.container.v1beta1.Cluster.Builder getClustersBuilder(
+        int index) {
       return getClustersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -907,16 +831,14 @@ public com.google.container.v1beta1.Cluster.Builder getClustersBuilder(int index
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int index) {
+    public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
+        int index) {
       if (clustersBuilder_ == null) {
-        return clusters_.get(index);
-      } else {
+        return clusters_.get(index);  } else {
         return clustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -924,8 +846,8 @@ public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int in
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public java.util.List
-        getClustersOrBuilderList() {
+    public java.util.List 
+         getClustersOrBuilderList() {
       if (clustersBuilder_ != null) {
         return clustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -933,8 +855,6 @@ public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -943,12 +863,10 @@ public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int in
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
     public com.google.container.v1beta1.Cluster.Builder addClustersBuilder() {
-      return getClustersFieldBuilder()
-          .addBuilder(com.google.container.v1beta1.Cluster.getDefaultInstance());
+      return getClustersFieldBuilder().addBuilder(
+          com.google.container.v1beta1.Cluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -956,13 +874,12 @@ public com.google.container.v1beta1.Cluster.Builder addClustersBuilder() {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public com.google.container.v1beta1.Cluster.Builder addClustersBuilder(int index) {
-      return getClustersFieldBuilder()
-          .addBuilder(index, com.google.container.v1beta1.Cluster.getDefaultInstance());
+    public com.google.container.v1beta1.Cluster.Builder addClustersBuilder(
+        int index) {
+      return getClustersFieldBuilder().addBuilder(
+          index, com.google.container.v1beta1.Cluster.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -970,76 +887,64 @@ public com.google.container.v1beta1.Cluster.Builder addClustersBuilder(int index
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public java.util.List getClustersBuilderList() {
+    public java.util.List 
+         getClustersBuilderList() {
       return getClustersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.Cluster,
-            com.google.container.v1beta1.Cluster.Builder,
-            com.google.container.v1beta1.ClusterOrBuilder>
+        com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> 
         getClustersFieldBuilder() {
       if (clustersBuilder_ == null) {
-        clustersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1beta1.Cluster,
-                com.google.container.v1beta1.Cluster.Builder,
-                com.google.container.v1beta1.ClusterOrBuilder>(
-                clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder>(
+                clusters_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         clusters_ = null;
       }
       return clustersBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList missingZones_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureMissingZonesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -1047,95 +952,85 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones(int index, java.lang.String value) { + public Builder setMissingZones( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones(java.lang.String value) { + public Builder addMissingZones( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones(java.lang.Iterable values) { + public Builder addAllMissingZones( + java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, missingZones_); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1145,31 +1040,29 @@ public Builder clearMissingZones() { return this; } /** - * - * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1179,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListClustersResponse) private static final com.google.container.v1beta1.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListClustersResponse(); } @@ -1193,27 +1086,27 @@ public static com.google.container.v1beta1.ListClustersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1228,4 +1121,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java index b97b0769a04a..9d49676a2b65 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListClustersResponseOrBuilder - extends +public interface ListClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -33,10 +15,9 @@ public interface ListClustersResponseOrBuilder
    *
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
-  java.util.List getClustersList();
+  java.util.List 
+      getClustersList();
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -46,8 +27,6 @@ public interface ListClustersResponseOrBuilder
    */
   com.google.container.v1beta1.Cluster getClusters(int index);
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -57,8 +36,6 @@ public interface ListClustersResponseOrBuilder
    */
   int getClustersCount();
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -66,11 +43,9 @@ public interface ListClustersResponseOrBuilder
    *
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
-  java.util.List
+  java.util.List 
       getClustersOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -78,60 +53,51 @@ public interface ListClustersResponseOrBuilder
    *
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
-  com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int index);
+  com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - java.util.List getMissingZonesList(); + java.util.List + getMissingZonesList(); /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ int getMissingZonesCount(); /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** - * - * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString getMissingZonesBytes(int index); + com.google.protobuf.ByteString + getMissingZonesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java index 144394696b90..1655f5e99c8e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java @@ -1,84 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * ListLocationsRequest is used to request the locations that offer GKE.
  * 
* * Protobuf type {@code google.container.v1beta1.ListLocationsRequest} */ -public final class ListLocationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListLocationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListLocationsRequest) ListLocationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListLocationsRequest.newBuilder() to construct. private ListLocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListLocationsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListLocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListLocationsRequest.class, - com.google.container.v1beta1.ListLocationsRequest.Builder.class); + com.google.container.v1beta1.ListLocationsRequest.class, com.google.container.v1beta1.ListLocationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -87,30 +65,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -119,7 +97,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -155,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListLocationsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListLocationsRequest other = - (com.google.container.v1beta1.ListLocationsRequest) obj; + com.google.container.v1beta1.ListLocationsRequest other = (com.google.container.v1beta1.ListLocationsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,135 +161,129 @@ public int hashCode() { } public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListLocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListLocationsRequest parseFrom( 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.ListLocationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListLocationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListLocationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListLocationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListLocationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListLocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListLocationsRequest is used to request the locations that offer GKE.
    * 
* * Protobuf type {@code google.container.v1beta1.ListLocationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListLocationsRequest) com.google.container.v1beta1.ListLocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListLocationsRequest.class, - com.google.container.v1beta1.ListLocationsRequest.Builder.class); + com.google.container.v1beta1.ListLocationsRequest.class, com.google.container.v1beta1.ListLocationsRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListLocationsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -321,9 +293,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; } @java.lang.Override @@ -342,8 +314,7 @@ public com.google.container.v1beta1.ListLocationsRequest build() { @java.lang.Override public com.google.container.v1beta1.ListLocationsRequest buildPartial() { - com.google.container.v1beta1.ListLocationsRequest result = - new com.google.container.v1beta1.ListLocationsRequest(this); + com.google.container.v1beta1.ListLocationsRequest result = new com.google.container.v1beta1.ListLocationsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -353,39 +324,38 @@ public com.google.container.v1beta1.ListLocationsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListLocationsRequest) { - return mergeFrom((com.google.container.v1beta1.ListLocationsRequest) other); + return mergeFrom((com.google.container.v1beta1.ListLocationsRequest)other); } else { super.mergeFrom(other); return this; @@ -393,8 +363,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListLocationsRequest other) { - if (other == com.google.container.v1beta1.ListLocationsRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ListLocationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -425,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + 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) { @@ -450,21 +417,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -473,22 +438,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -496,71 +460,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,12 +527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListLocationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListLocationsRequest) private static final com.google.container.v1beta1.ListLocationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListLocationsRequest(); } @@ -584,27 +541,27 @@ public static com.google.container.v1beta1.ListLocationsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -619,4 +576,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListLocationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java similarity index 53% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java index 02512f84cec8..6c85e2a75b77 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListLocationsRequestOrBuilder - extends +public interface ListLocationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListLocationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java index 982509c85ce0..03e4a610c304 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListLocationsResponse returns the list of all GKE locations and their
  * recommendation state.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.ListLocationsResponse}
  */
-public final class ListLocationsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListLocationsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListLocationsResponse)
     ListLocationsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListLocationsResponse.newBuilder() to construct.
   private ListLocationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListLocationsResponse() {
     locations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,35 +27,32 @@ private ListLocationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListLocationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ListLocationsResponse.class,
-            com.google.container.v1beta1.ListLocationsResponse.Builder.class);
+            com.google.container.v1beta1.ListLocationsResponse.class, com.google.container.v1beta1.ListLocationsResponse.Builder.class);
   }
 
   public static final int LOCATIONS_FIELD_NUMBER = 1;
   private java.util.List locations_;
   /**
-   *
-   *
    * 
    * A full list of GKE locations.
    * 
@@ -85,8 +64,6 @@ public java.util.List getLocationsList() return locations_; } /** - * - * *
    * A full list of GKE locations.
    * 
@@ -94,13 +71,11 @@ public java.util.List getLocationsList() * repeated .google.container.v1beta1.Location locations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getLocationsOrBuilderList() { return locations_; } /** - * - * *
    * A full list of GKE locations.
    * 
@@ -112,8 +87,6 @@ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * A full list of GKE locations.
    * 
@@ -125,8 +98,6 @@ public com.google.container.v1beta1.Location getLocations(int index) { return locations_.get(index); } /** - * - * *
    * A full list of GKE locations.
    * 
@@ -134,15 +105,14 @@ public com.google.container.v1beta1.Location getLocations(int index) { * repeated .google.container.v1beta1.Location locations = 1; */ @java.lang.Override - public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int index) { + public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( + int index) { return locations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -151,7 +121,6 @@ public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,15 +129,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -177,15 +145,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); } @@ -223,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, locations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListLocationsResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListLocationsResponse other = - (com.google.container.v1beta1.ListLocationsResponse) obj; + com.google.container.v1beta1.ListLocationsResponse other = (com.google.container.v1beta1.ListLocationsResponse) obj; - if (!getLocationsList().equals(other.getLocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,103 +240,96 @@ public int hashCode() { } public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListLocationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListLocationsResponse parseFrom( 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.ListLocationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListLocationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListLocationsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListLocationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListLocationsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListLocationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListLocationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListLocationsResponse returns the list of all GKE locations and their
    * recommendation state.
@@ -373,32 +337,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ListLocationsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListLocationsResponse)
       com.google.container.v1beta1.ListLocationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ListLocationsResponse.class,
-              com.google.container.v1beta1.ListLocationsResponse.Builder.class);
+              com.google.container.v1beta1.ListLocationsResponse.class, com.google.container.v1beta1.ListLocationsResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ListLocationsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -415,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -436,8 +401,7 @@ public com.google.container.v1beta1.ListLocationsResponse build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ListLocationsResponse buildPartial() {
-      com.google.container.v1beta1.ListLocationsResponse result =
-          new com.google.container.v1beta1.ListLocationsResponse(this);
+      com.google.container.v1beta1.ListLocationsResponse result = new com.google.container.v1beta1.ListLocationsResponse(this);
       int from_bitField0_ = bitField0_;
       if (locationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -457,39 +421,38 @@ public com.google.container.v1beta1.ListLocationsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ListLocationsResponse) {
-        return mergeFrom((com.google.container.v1beta1.ListLocationsResponse) other);
+        return mergeFrom((com.google.container.v1beta1.ListLocationsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -497,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ListLocationsResponse other) {
-      if (other == com.google.container.v1beta1.ListLocationsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.ListLocationsResponse.getDefaultInstance()) return this;
       if (locationsBuilder_ == null) {
         if (!other.locations_.isEmpty()) {
           if (locations_.isEmpty()) {
@@ -517,10 +479,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ListLocationsResponse othe
             locationsBuilder_ = null;
             locations_ = other.locations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            locationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getLocationsFieldBuilder()
-                    : null;
+            locationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getLocationsFieldBuilder() : null;
           } else {
             locationsBuilder_.addAllMessages(other.locations_);
           }
@@ -556,32 +517,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.container.v1beta1.Location m =
-                    input.readMessage(
-                        com.google.container.v1beta1.Location.parser(), extensionRegistry);
-                if (locationsBuilder_ == null) {
-                  ensureLocationsIsMutable();
-                  locations_.add(m);
-                } else {
-                  locationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
+            case 10: {
+              com.google.container.v1beta1.Location m =
+                  input.readMessage(
+                      com.google.container.v1beta1.Location.parser(),
+                      extensionRegistry);
+              if (locationsBuilder_ == null) {
+                ensureLocationsIsMutable();
+                locations_.add(m);
+              } else {
+                locationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -591,28 +550,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List locations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         locations_ = new java.util.ArrayList(locations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.Location,
-            com.google.container.v1beta1.Location.Builder,
-            com.google.container.v1beta1.LocationOrBuilder>
-        locationsBuilder_;
+        com.google.container.v1beta1.Location, com.google.container.v1beta1.Location.Builder, com.google.container.v1beta1.LocationOrBuilder> locationsBuilder_;
 
     /**
-     *
-     *
      * 
      * A full list of GKE locations.
      * 
@@ -627,8 +579,6 @@ public java.util.List getLocationsList() } } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -643,8 +593,6 @@ public int getLocationsCount() { } } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -659,15 +607,14 @@ public com.google.container.v1beta1.Location getLocations(int index) { } } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public Builder setLocations(int index, com.google.container.v1beta1.Location value) { + public Builder setLocations( + int index, com.google.container.v1beta1.Location value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -681,8 +628,6 @@ public Builder setLocations(int index, com.google.container.v1beta1.Location val return this; } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -701,8 +646,6 @@ public Builder setLocations( return this; } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -723,15 +666,14 @@ public Builder addLocations(com.google.container.v1beta1.Location value) { return this; } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public Builder addLocations(int index, com.google.container.v1beta1.Location value) { + public Builder addLocations( + int index, com.google.container.v1beta1.Location value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -745,15 +687,14 @@ public Builder addLocations(int index, com.google.container.v1beta1.Location val return this; } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public Builder addLocations(com.google.container.v1beta1.Location.Builder builderForValue) { + public Builder addLocations( + com.google.container.v1beta1.Location.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(builderForValue.build()); @@ -764,8 +705,6 @@ public Builder addLocations(com.google.container.v1beta1.Location.Builder builde return this; } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -784,8 +723,6 @@ public Builder addLocations( return this; } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -796,7 +733,8 @@ public Builder addAllLocations( java.lang.Iterable values) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); } else { locationsBuilder_.addAllMessages(values); @@ -804,8 +742,6 @@ public Builder addAllLocations( return this; } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -823,8 +759,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -842,44 +776,39 @@ public Builder removeLocations(int index) { return this; } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public com.google.container.v1beta1.Location.Builder getLocationsBuilder(int index) { + public com.google.container.v1beta1.Location.Builder getLocationsBuilder( + int index) { return getLocationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int index) { + public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( + int index) { if (locationsBuilder_ == null) { - return locations_.get(index); - } else { + return locations_.get(index); } else { return locationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public java.util.List - getLocationsOrBuilderList() { + public java.util.List + getLocationsOrBuilderList() { if (locationsBuilder_ != null) { return locationsBuilder_.getMessageOrBuilderList(); } else { @@ -887,8 +816,6 @@ public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int } } /** - * - * *
      * A full list of GKE locations.
      * 
@@ -896,47 +823,42 @@ public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int * repeated .google.container.v1beta1.Location locations = 1; */ public com.google.container.v1beta1.Location.Builder addLocationsBuilder() { - return getLocationsFieldBuilder() - .addBuilder(com.google.container.v1beta1.Location.getDefaultInstance()); + return getLocationsFieldBuilder().addBuilder( + com.google.container.v1beta1.Location.getDefaultInstance()); } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public com.google.container.v1beta1.Location.Builder addLocationsBuilder(int index) { - return getLocationsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.Location.getDefaultInstance()); + public com.google.container.v1beta1.Location.Builder addLocationsBuilder( + int index) { + return getLocationsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.Location.getDefaultInstance()); } /** - * - * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public java.util.List getLocationsBuilderList() { + public java.util.List + getLocationsBuilderList() { return getLocationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Location, - com.google.container.v1beta1.Location.Builder, - com.google.container.v1beta1.LocationOrBuilder> + com.google.container.v1beta1.Location, com.google.container.v1beta1.Location.Builder, com.google.container.v1beta1.LocationOrBuilder> getLocationsFieldBuilder() { if (locationsBuilder_ == null) { - locationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Location, - com.google.container.v1beta1.Location.Builder, - com.google.container.v1beta1.LocationOrBuilder>( - locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.Location, com.google.container.v1beta1.Location.Builder, com.google.container.v1beta1.LocationOrBuilder>( + locations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); locations_ = null; } return locationsBuilder_; @@ -944,8 +866,6 @@ public java.util.List getLocation private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -954,13 +874,13 @@ public java.util.List getLocation
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -969,8 +889,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -979,14 +897,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -994,8 +913,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -1004,22 +921,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -1028,18 +943,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -1048,23 +960,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListLocationsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListLocationsResponse) private static final com.google.container.v1beta1.ListLocationsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListLocationsResponse(); } @@ -1088,27 +1000,27 @@ public static com.google.container.v1beta1.ListLocationsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,4 +1035,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListLocationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java index 56783a61aa59..19ad53a31a40 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListLocationsResponseOrBuilder - extends +public interface ListLocationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListLocationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A full list of GKE locations.
    * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * A full list of GKE locations.
    * 
@@ -44,8 +25,6 @@ public interface ListLocationsResponseOrBuilder */ com.google.container.v1beta1.Location getLocations(int index); /** - * - * *
    * A full list of GKE locations.
    * 
@@ -54,30 +33,25 @@ public interface ListLocationsResponseOrBuilder */ int getLocationsCount(); /** - * - * *
    * A full list of GKE locations.
    * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - java.util.List + java.util.List getLocationsOrBuilderList(); /** - * - * *
    * A full list of GKE locations.
    * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int index); + com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( + int index); /** - * - * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -86,13 +60,10 @@ public interface ListLocationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -101,8 +72,8 @@ public interface ListLocationsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java index 6a7e7e3622ed..3954e75badf9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListNodePoolsRequest lists the node pool(s) for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsRequest} */ -public final class ListNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNodePoolsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListNodePoolsRequest) ListNodePoolsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNodePoolsRequest.newBuilder() to construct. private ListNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNodePoolsRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private ListNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsRequest.class, - com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); + com.google.container.v1beta1.ListNodePoolsRequest.class, com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,15 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The parent. */ @java.lang.Override @@ -271,30 +230,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -303,7 +262,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +273,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -357,18 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListNodePoolsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListNodePoolsRequest other = - (com.google.container.v1beta1.ListNodePoolsRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getParent().equals(other.getParent())) return false; + com.google.container.v1beta1.ListNodePoolsRequest other = (com.google.container.v1beta1.ListNodePoolsRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -394,135 +356,129 @@ public int hashCode() { } public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( 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.ListNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListNodePoolsRequest lists the node pool(s) for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListNodePoolsRequest) com.google.container.v1beta1.ListNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsRequest.class, - com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); + com.google.container.v1beta1.ListNodePoolsRequest.class, com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListNodePoolsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -538,9 +494,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; } @java.lang.Override @@ -559,8 +515,7 @@ public com.google.container.v1beta1.ListNodePoolsRequest build() { @java.lang.Override public com.google.container.v1beta1.ListNodePoolsRequest buildPartial() { - com.google.container.v1beta1.ListNodePoolsRequest result = - new com.google.container.v1beta1.ListNodePoolsRequest(this); + com.google.container.v1beta1.ListNodePoolsRequest result = new com.google.container.v1beta1.ListNodePoolsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -573,39 +528,38 @@ public com.google.container.v1beta1.ListNodePoolsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListNodePoolsRequest) { - return mergeFrom((com.google.container.v1beta1.ListNodePoolsRequest) other); + return mergeFrom((com.google.container.v1beta1.ListNodePoolsRequest)other); } else { super.mergeFrom(other); return this; @@ -613,8 +567,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListNodePoolsRequest other) { - if (other == com.google.container.v1beta1.ListNodePoolsRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ListNodePoolsRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -657,37 +610,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -700,26 +648,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -728,27 +672,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -756,79 +697,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -836,8 +764,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -846,16 +772,15 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,8 +789,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +797,17 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -892,8 +815,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -902,25 +823,22 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -929,21 +847,17 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -952,19 +866,18 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -972,25 +885,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -999,26 +908,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1026,76 +932,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1103,21 +996,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1126,22 +1017,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1149,71 +1039,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1223,12 +1106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListNodePoolsRequest) private static final com.google.container.v1beta1.ListNodePoolsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListNodePoolsRequest(); } @@ -1237,27 +1120,27 @@ public static com.google.container.v1beta1.ListNodePoolsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1272,4 +1155,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java index 778c2456f79b..11208f929f6f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListNodePoolsRequestOrBuilder - extends +public interface ListNodePoolsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3198 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3203 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,73 +58,58 @@ 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=3207 + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3214 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java index 477ff7492334..19a14771ee4b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java @@ -1,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListNodePoolsResponse is the result of ListNodePoolsRequest.
  * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsResponse} */ -public final class ListNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListNodePoolsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListNodePoolsResponse) ListNodePoolsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListNodePoolsResponse.newBuilder() to construct. private ListNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListNodePoolsResponse() { nodePools_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsResponse.class, - com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); + com.google.container.v1beta1.ListNodePoolsResponse.class, com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); } public static final int NODE_POOLS_FIELD_NUMBER = 1; private java.util.List nodePools_; /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -83,8 +62,6 @@ public java.util.List getNodePoolsList() return nodePools_; } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -92,13 +69,11 @@ public java.util.List getNodePoolsList() * repeated .google.container.v1beta1.NodePool node_pools = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNodePoolsOrBuilderList() { return nodePools_; } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -110,8 +85,6 @@ public int getNodePoolsCount() { return nodePools_.size(); } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -123,8 +96,6 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) { return nodePools_.get(index); } /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -132,12 +103,12 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) { * repeated .google.container.v1beta1.NodePool node_pools = 1; */ @java.lang.Override - public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { + public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( + int index) { return nodePools_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +120,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < nodePools_.size(); i++) { output.writeMessage(1, nodePools_.get(i)); } @@ -163,7 +135,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < nodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, nodePools_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,15 +146,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListNodePoolsResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListNodePoolsResponse other = - (com.google.container.v1beta1.ListNodePoolsResponse) obj; + com.google.container.v1beta1.ListNodePoolsResponse other = (com.google.container.v1beta1.ListNodePoolsResponse) obj; - if (!getNodePoolsList().equals(other.getNodePoolsList())) return false; + if (!getNodePoolsList() + .equals(other.getNodePoolsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,135 +176,129 @@ public int hashCode() { } public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( 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.ListNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListNodePoolsResponse is the result of ListNodePoolsRequest.
    * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListNodePoolsResponse) com.google.container.v1beta1.ListNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsResponse.class, - com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); + com.google.container.v1beta1.ListNodePoolsResponse.class, com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); } // Construct using com.google.container.v1beta1.ListNodePoolsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -346,9 +313,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; } @java.lang.Override @@ -367,8 +334,7 @@ public com.google.container.v1beta1.ListNodePoolsResponse build() { @java.lang.Override public com.google.container.v1beta1.ListNodePoolsResponse buildPartial() { - com.google.container.v1beta1.ListNodePoolsResponse result = - new com.google.container.v1beta1.ListNodePoolsResponse(this); + com.google.container.v1beta1.ListNodePoolsResponse result = new com.google.container.v1beta1.ListNodePoolsResponse(this); int from_bitField0_ = bitField0_; if (nodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -387,39 +353,38 @@ public com.google.container.v1beta1.ListNodePoolsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListNodePoolsResponse) { - return mergeFrom((com.google.container.v1beta1.ListNodePoolsResponse) other); + return mergeFrom((com.google.container.v1beta1.ListNodePoolsResponse)other); } else { super.mergeFrom(other); return this; @@ -427,8 +392,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListNodePoolsResponse other) { - if (other == com.google.container.v1beta1.ListNodePoolsResponse.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ListNodePoolsResponse.getDefaultInstance()) return this; if (nodePoolsBuilder_ == null) { if (!other.nodePools_.isEmpty()) { if (nodePools_.isEmpty()) { @@ -447,10 +411,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ListNodePoolsResponse othe nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodePoolsFieldBuilder() - : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getNodePoolsFieldBuilder() : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -482,26 +445,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1beta1.NodePool m = - input.readMessage( - com.google.container.v1beta1.NodePool.parser(), extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1beta1.NodePool m = + input.readMessage( + com.google.container.v1beta1.NodePool.parser(), + extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -511,28 +473,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List nodePools_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, - com.google.container.v1beta1.NodePool.Builder, - com.google.container.v1beta1.NodePoolOrBuilder> - nodePoolsBuilder_; + com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> nodePoolsBuilder_; /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -547,8 +502,6 @@ public java.util.List getNodePoolsList() } } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -563,8 +516,6 @@ public int getNodePoolsCount() { } } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -579,15 +530,14 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) { } } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public Builder setNodePools(int index, com.google.container.v1beta1.NodePool value) { + public Builder setNodePools( + int index, com.google.container.v1beta1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -601,8 +551,6 @@ public Builder setNodePools(int index, com.google.container.v1beta1.NodePool val return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -621,8 +569,6 @@ public Builder setNodePools( return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -643,15 +589,14 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool value) { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public Builder addNodePools(int index, com.google.container.v1beta1.NodePool value) { + public Builder addNodePools( + int index, com.google.container.v1beta1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -665,15 +610,14 @@ public Builder addNodePools(int index, com.google.container.v1beta1.NodePool val return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public Builder addNodePools(com.google.container.v1beta1.NodePool.Builder builderForValue) { + public Builder addNodePools( + com.google.container.v1beta1.NodePool.Builder builderForValue) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); nodePools_.add(builderForValue.build()); @@ -684,8 +628,6 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool.Builder builde return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -704,8 +646,6 @@ public Builder addNodePools( return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -716,7 +656,8 @@ public Builder addAllNodePools( java.lang.Iterable values) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodePools_); onChanged(); } else { nodePoolsBuilder_.addAllMessages(values); @@ -724,8 +665,6 @@ public Builder addAllNodePools( return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -743,8 +682,6 @@ public Builder clearNodePools() { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -762,44 +699,39 @@ public Builder removeNodePools(int index) { return this; } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(int index) { + public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder( + int index) { return getNodePoolsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { + public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( + int index) { if (nodePoolsBuilder_ == null) { - return nodePools_.get(index); - } else { + return nodePools_.get(index); } else { return nodePoolsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public java.util.List - getNodePoolsOrBuilderList() { + public java.util.List + getNodePoolsOrBuilderList() { if (nodePoolsBuilder_ != null) { return nodePoolsBuilder_.getMessageOrBuilderList(); } else { @@ -807,8 +739,6 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int } } /** - * - * *
      * A list of node pools for a cluster.
      * 
@@ -816,54 +746,49 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int * repeated .google.container.v1beta1.NodePool node_pools = 1; */ public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder() { - return getNodePoolsFieldBuilder() - .addBuilder(com.google.container.v1beta1.NodePool.getDefaultInstance()); + return getNodePoolsFieldBuilder().addBuilder( + com.google.container.v1beta1.NodePool.getDefaultInstance()); } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(int index) { - return getNodePoolsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.NodePool.getDefaultInstance()); + public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder( + int index) { + return getNodePoolsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.NodePool.getDefaultInstance()); } /** - * - * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public java.util.List getNodePoolsBuilderList() { + public java.util.List + getNodePoolsBuilderList() { return getNodePoolsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, - com.google.container.v1beta1.NodePool.Builder, - com.google.container.v1beta1.NodePoolOrBuilder> + com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> getNodePoolsFieldBuilder() { if (nodePoolsBuilder_ == null) { - nodePoolsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, - com.google.container.v1beta1.NodePool.Builder, - com.google.container.v1beta1.NodePoolOrBuilder>( - nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder>( + nodePools_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); nodePools_ = null; } return nodePoolsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -873,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListNodePoolsResponse) private static final com.google.container.v1beta1.ListNodePoolsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListNodePoolsResponse(); } @@ -887,27 +812,27 @@ public static com.google.container.v1beta1.ListNodePoolsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java index 15665ec8e89d..078b7bc6740e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListNodePoolsResponseOrBuilder - extends +public interface ListNodePoolsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - java.util.List getNodePoolsList(); + java.util.List + getNodePoolsList(); /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -44,8 +25,6 @@ public interface ListNodePoolsResponseOrBuilder */ com.google.container.v1beta1.NodePool getNodePools(int index); /** - * - * *
    * A list of node pools for a cluster.
    * 
@@ -54,24 +33,21 @@ public interface ListNodePoolsResponseOrBuilder */ int getNodePoolsCount(); /** - * - * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - java.util.List + java.util.List getNodePoolsOrBuilderList(); /** - * - * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index); + com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( + int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java index 063fe918e42b..8260fa36fef4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListOperationsRequest lists operations.
  * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsRequest} */ -public final class ListOperationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOperationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListOperationsRequest) ListOperationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOperationsRequest.newBuilder() to construct. private ListOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOperationsRequest() { projectId_ = ""; zone_ = ""; @@ -45,84 +27,76 @@ private ListOperationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOperationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsRequest.class, - com.google.container.v1beta1.ListOperationsRequest.Builder.class); + com.google.container.v1beta1.ListOperationsRequest.class, com.google.container.v1beta1.ListOperationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -133,8 +107,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -143,27 +115,24 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -172,18 +141,18 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -194,8 +163,6 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -203,7 +170,6 @@ public com.google.protobuf.ByteString getZoneBytes() {
    * 
* * string parent = 4; - * * @return The parent. */ @java.lang.Override @@ -212,15 +178,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -228,15 +193,16 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -245,7 +211,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +222,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -293,17 +259,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListOperationsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListOperationsRequest other = - (com.google.container.v1beta1.ListOperationsRequest) obj; + com.google.container.v1beta1.ListOperationsRequest other = (com.google.container.v1beta1.ListOperationsRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getParent().equals(other.getParent())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -327,135 +295,129 @@ public int hashCode() { } public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListOperationsRequest parseFrom( 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.ListOperationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListOperationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListOperationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListOperationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListOperationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListOperationsRequest lists operations.
    * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListOperationsRequest) com.google.container.v1beta1.ListOperationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsRequest.class, - com.google.container.v1beta1.ListOperationsRequest.Builder.class); + com.google.container.v1beta1.ListOperationsRequest.class, com.google.container.v1beta1.ListOperationsRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListOperationsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; } @java.lang.Override @@ -490,8 +452,7 @@ public com.google.container.v1beta1.ListOperationsRequest build() { @java.lang.Override public com.google.container.v1beta1.ListOperationsRequest buildPartial() { - com.google.container.v1beta1.ListOperationsRequest result = - new com.google.container.v1beta1.ListOperationsRequest(this); + com.google.container.v1beta1.ListOperationsRequest result = new com.google.container.v1beta1.ListOperationsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -503,39 +464,38 @@ public com.google.container.v1beta1.ListOperationsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListOperationsRequest) { - return mergeFrom((com.google.container.v1beta1.ListOperationsRequest) other); + return mergeFrom((com.google.container.v1beta1.ListOperationsRequest)other); } else { super.mergeFrom(other); return this; @@ -543,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListOperationsRequest other) { - if (other == com.google.container.v1beta1.ListOperationsRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ListOperationsRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -583,31 +542,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: - { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -620,26 +575,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -648,27 +599,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -676,79 +624,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -756,8 +691,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -766,16 +699,15 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -784,8 +716,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -794,17 +724,17 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -812,8 +742,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -822,25 +750,22 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -849,21 +774,17 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -872,19 +793,18 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -892,8 +812,6 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object parent_ = ""; /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -901,13 +819,13 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
      * 
* * string parent = 4; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -916,8 +834,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -925,14 +841,15 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -940,8 +857,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -949,22 +864,20 @@ public com.google.protobuf.ByteString getParentBytes() {
      * 
* * string parent = 4; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -972,18 +885,15 @@ public Builder setParent(java.lang.String value) {
      * 
* * string parent = 4; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -991,23 +901,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1017,12 +927,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListOperationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListOperationsRequest) private static final com.google.container.v1beta1.ListOperationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListOperationsRequest(); } @@ -1031,27 +941,27 @@ public static com.google.container.v1beta1.ListOperationsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1066,4 +976,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java index 391faeb41128..2b7d6c76f16e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListOperationsRequestOrBuilder - extends +public interface ListOperationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListOperationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2964 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -71,16 +44,12 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -89,17 +58,14 @@ 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=2973 + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2978 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -107,13 +73,10 @@ public interface ListOperationsRequestOrBuilder
    * 
* * string parent = 4; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -121,8 +84,8 @@ public interface ListOperationsRequestOrBuilder
    * 
* * string parent = 4; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java index fb6498a87c02..84015a201cf2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListOperationsResponse is the result of ListOperationsRequest.
  * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsResponse} */ -public final class ListOperationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListOperationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListOperationsResponse) ListOperationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListOperationsResponse.newBuilder() to construct. private ListOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListOperationsResponse() { operations_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,35 +26,32 @@ private ListOperationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListOperationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsResponse.class, - com.google.container.v1beta1.ListOperationsResponse.Builder.class); + com.google.container.v1beta1.ListOperationsResponse.class, com.google.container.v1beta1.ListOperationsResponse.Builder.class); } public static final int OPERATIONS_FIELD_NUMBER = 1; private java.util.List operations_; /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -84,8 +63,6 @@ public java.util.List getOperationsList( return operations_; } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -93,13 +70,11 @@ public java.util.List getOperationsList( * repeated .google.container.v1beta1.Operation operations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOperationsOrBuilderList() { return operations_; } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -111,8 +86,6 @@ public int getOperationsCount() { return operations_.size(); } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -124,8 +97,6 @@ public com.google.container.v1beta1.Operation getOperations(int index) { return operations_.get(index); } /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -133,52 +104,45 @@ public com.google.container.v1beta1.Operation getOperations(int index) { * repeated .google.container.v1beta1.Operation operations = 1; */ @java.lang.Override - public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(int index) { + public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( + int index) { return operations_.get(index); } public static final int MISSING_ZONES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList missingZones_; /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_; } /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -186,24 +150,21 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -232,7 +194,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, operations_.get(i)); } { int dataSize = 0; @@ -250,16 +213,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListOperationsResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListOperationsResponse other = - (com.google.container.v1beta1.ListOperationsResponse) obj; + com.google.container.v1beta1.ListOperationsResponse other = (com.google.container.v1beta1.ListOperationsResponse) obj; - if (!getOperationsList().equals(other.getOperationsList())) return false; - if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; + if (!getOperationsList() + .equals(other.getOperationsList())) return false; + if (!getMissingZonesList() + .equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,135 +249,129 @@ public int hashCode() { } public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListOperationsResponse parseFrom( 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.ListOperationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListOperationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListOperationsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListOperationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListOperationsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListOperationsResponse is the result of ListOperationsRequest.
    * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListOperationsResponse) com.google.container.v1beta1.ListOperationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsResponse.class, - com.google.container.v1beta1.ListOperationsResponse.Builder.class); + com.google.container.v1beta1.ListOperationsResponse.class, com.google.container.v1beta1.ListOperationsResponse.Builder.class); } // Construct using com.google.container.v1beta1.ListOperationsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -430,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; } @java.lang.Override @@ -451,8 +409,7 @@ public com.google.container.v1beta1.ListOperationsResponse build() { @java.lang.Override public com.google.container.v1beta1.ListOperationsResponse buildPartial() { - com.google.container.v1beta1.ListOperationsResponse result = - new com.google.container.v1beta1.ListOperationsResponse(this); + com.google.container.v1beta1.ListOperationsResponse result = new com.google.container.v1beta1.ListOperationsResponse(this); int from_bitField0_ = bitField0_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -476,39 +433,38 @@ public com.google.container.v1beta1.ListOperationsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListOperationsResponse) { - return mergeFrom((com.google.container.v1beta1.ListOperationsResponse) other); + return mergeFrom((com.google.container.v1beta1.ListOperationsResponse)other); } else { super.mergeFrom(other); return this; @@ -516,8 +472,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListOperationsResponse other) { - if (other == com.google.container.v1beta1.ListOperationsResponse.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ListOperationsResponse.getDefaultInstance()) return this; if (operationsBuilder_ == null) { if (!other.operations_.isEmpty()) { if (operations_.isEmpty()) { @@ -536,10 +491,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ListOperationsResponse oth operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); - operationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOperationsFieldBuilder() - : null; + operationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); } @@ -581,33 +535,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1beta1.Operation m = - input.readMessage( - com.google.container.v1beta1.Operation.parser(), extensionRegistry); - if (operationsBuilder_ == null) { - ensureOperationsIsMutable(); - operations_.add(m); - } else { - operationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1beta1.Operation m = + input.readMessage( + com.google.container.v1beta1.Operation.parser(), + extensionRegistry); + if (operationsBuilder_ == null) { + ensureOperationsIsMutable(); + operations_.add(m); + } else { + operationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -617,28 +569,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List operations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Operation, - com.google.container.v1beta1.Operation.Builder, - com.google.container.v1beta1.OperationOrBuilder> - operationsBuilder_; + com.google.container.v1beta1.Operation, com.google.container.v1beta1.Operation.Builder, com.google.container.v1beta1.OperationOrBuilder> operationsBuilder_; /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -653,8 +598,6 @@ public java.util.List getOperationsList( } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -669,8 +612,6 @@ public int getOperationsCount() { } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -685,15 +626,14 @@ public com.google.container.v1beta1.Operation getOperations(int index) { } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public Builder setOperations(int index, com.google.container.v1beta1.Operation value) { + public Builder setOperations( + int index, com.google.container.v1beta1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -707,8 +647,6 @@ public Builder setOperations(int index, com.google.container.v1beta1.Operation v return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -727,8 +665,6 @@ public Builder setOperations( return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -749,15 +685,14 @@ public Builder addOperations(com.google.container.v1beta1.Operation value) { return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public Builder addOperations(int index, com.google.container.v1beta1.Operation value) { + public Builder addOperations( + int index, com.google.container.v1beta1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -771,15 +706,14 @@ public Builder addOperations(int index, com.google.container.v1beta1.Operation v return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public Builder addOperations(com.google.container.v1beta1.Operation.Builder builderForValue) { + public Builder addOperations( + com.google.container.v1beta1.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); @@ -790,8 +724,6 @@ public Builder addOperations(com.google.container.v1beta1.Operation.Builder buil return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -810,8 +742,6 @@ public Builder addOperations( return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -822,7 +752,8 @@ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); @@ -830,8 +761,6 @@ public Builder addAllOperations( return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -849,8 +778,6 @@ public Builder clearOperations() { return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -868,44 +795,39 @@ public Builder removeOperations(int index) { return this; } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public com.google.container.v1beta1.Operation.Builder getOperationsBuilder(int index) { + public com.google.container.v1beta1.Operation.Builder getOperationsBuilder( + int index) { return getOperationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(int index) { + public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( + int index) { if (operationsBuilder_ == null) { - return operations_.get(index); - } else { + return operations_.get(index); } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public java.util.List - getOperationsOrBuilderList() { + public java.util.List + getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { @@ -913,8 +835,6 @@ public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(in } } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
@@ -922,102 +842,86 @@ public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(in * repeated .google.container.v1beta1.Operation operations = 1; */ public com.google.container.v1beta1.Operation.Builder addOperationsBuilder() { - return getOperationsFieldBuilder() - .addBuilder(com.google.container.v1beta1.Operation.getDefaultInstance()); + return getOperationsFieldBuilder().addBuilder( + com.google.container.v1beta1.Operation.getDefaultInstance()); } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public com.google.container.v1beta1.Operation.Builder addOperationsBuilder(int index) { - return getOperationsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.Operation.getDefaultInstance()); + public com.google.container.v1beta1.Operation.Builder addOperationsBuilder( + int index) { + return getOperationsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.Operation.getDefaultInstance()); } /** - * - * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public java.util.List - getOperationsBuilderList() { + public java.util.List + getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Operation, - com.google.container.v1beta1.Operation.Builder, - com.google.container.v1beta1.OperationOrBuilder> + com.google.container.v1beta1.Operation, com.google.container.v1beta1.Operation.Builder, com.google.container.v1beta1.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { - operationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Operation, - com.google.container.v1beta1.Operation.Builder, - com.google.container.v1beta1.OperationOrBuilder>( - operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.Operation, com.google.container.v1beta1.Operation.Builder, com.google.container.v1beta1.OperationOrBuilder>( + operations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); operations_ = null; } return operationsBuilder_; } - private com.google.protobuf.LazyStringList missingZones_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMissingZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList getMissingZonesList() { + public com.google.protobuf.ProtocolStringList + getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -1025,95 +929,85 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString + getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones(int index, java.lang.String value) { + public Builder setMissingZones( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones(java.lang.String value) { + public Builder addMissingZones( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones(java.lang.Iterable values) { + public Builder addAllMissingZones( + java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, missingZones_); onChanged(); return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1123,31 +1017,29 @@ public Builder clearMissingZones() { return this; } /** - * - * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; - * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1157,12 +1049,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListOperationsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListOperationsResponse) private static final com.google.container.v1beta1.ListOperationsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListOperationsResponse(); } @@ -1171,27 +1063,27 @@ public static com.google.container.v1beta1.ListOperationsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1206,4 +1098,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java index 968c8da5ef78..7342190e7727 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListOperationsResponseOrBuilder - extends +public interface ListOperationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListOperationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - java.util.List getOperationsList(); + java.util.List + getOperationsList(); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -44,8 +25,6 @@ public interface ListOperationsResponseOrBuilder */ com.google.container.v1beta1.Operation getOperations(int index); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
@@ -54,79 +33,66 @@ public interface ListOperationsResponseOrBuilder */ int getOperationsCount(); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - java.util.List + java.util.List getOperationsOrBuilderList(); /** - * - * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(int index); + com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( + int index); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return A list containing the missingZones. */ - java.util.List getMissingZonesList(); + java.util.List + getMissingZonesList(); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @return The count of missingZones. */ int getMissingZonesCount(); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** - * - * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; - * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString getMissingZonesBytes(int index); + com.google.protobuf.ByteString + getMissingZonesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java similarity index 71% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java index 33368fc18bcc..091ca55ee26b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListUsableSubnetworksRequest requests the list of usable subnetworks.
  * available to a user for creating clusters.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksRequest}
  */
-public final class ListUsableSubnetworksRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListUsableSubnetworksRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListUsableSubnetworksRequest)
     ListUsableSubnetworksRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksRequest.newBuilder() to construct.
   private ListUsableSubnetworksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListUsableSubnetworksRequest() {
     parent_ = "";
     filter_ = "";
@@ -46,42 +28,38 @@ private ListUsableSubnetworksRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ListUsableSubnetworksRequest.class,
-            com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
+            com.google.container.v1beta1.ListUsableSubnetworksRequest.class, com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -134,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -143,15 +118,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -160,15 +134,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -179,8 +154,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -189,7 +162,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -200,15 +172,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The pageToken. */ @java.lang.Override @@ -217,30 +186,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -249,7 +218,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -290,7 +259,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -303,18 +273,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListUsableSubnetworksRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListUsableSubnetworksRequest other = - (com.google.container.v1beta1.ListUsableSubnetworksRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.container.v1beta1.ListUsableSubnetworksRequest other = (com.google.container.v1beta1.ListUsableSubnetworksRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -340,104 +313,96 @@ public int hashCode() { } public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( 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.ListUsableSubnetworksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ListUsableSubnetworksRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ListUsableSubnetworksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListUsableSubnetworksRequest requests the list of usable subnetworks.
    * available to a user for creating clusters.
@@ -445,32 +410,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListUsableSubnetworksRequest)
       com.google.container.v1beta1.ListUsableSubnetworksRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ListUsableSubnetworksRequest.class,
-              com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
+              com.google.container.v1beta1.ListUsableSubnetworksRequest.class, com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ListUsableSubnetworksRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,9 +452,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
@@ -507,8 +473,7 @@ public com.google.container.v1beta1.ListUsableSubnetworksRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ListUsableSubnetworksRequest buildPartial() {
-      com.google.container.v1beta1.ListUsableSubnetworksRequest result =
-          new com.google.container.v1beta1.ListUsableSubnetworksRequest(this);
+      com.google.container.v1beta1.ListUsableSubnetworksRequest result = new com.google.container.v1beta1.ListUsableSubnetworksRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -521,39 +486,38 @@ public com.google.container.v1beta1.ListUsableSubnetworksRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ListUsableSubnetworksRequest) {
-        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksRequest) other);
+        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -561,8 +525,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ListUsableSubnetworksRequest other) {
-      if (other == com.google.container.v1beta1.ListUsableSubnetworksRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.ListUsableSubnetworksRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -604,37 +567,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 24
+            case 34: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -647,21 +605,19 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -670,22 +626,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -693,64 +648,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -758,8 +706,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -768,13 +714,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -783,8 +729,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -793,14 +737,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -808,8 +753,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -818,22 +761,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -842,18 +783,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -862,25 +800,23 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -889,7 +825,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -897,8 +832,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -907,19 +840,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -928,11 +858,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -940,21 +869,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -963,22 +890,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -986,71 +912,64 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1060,12 +979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListUsableSubnetworksRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListUsableSubnetworksRequest) private static final com.google.container.v1beta1.ListUsableSubnetworksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListUsableSubnetworksRequest(); } @@ -1074,27 +993,27 @@ public static com.google.container.v1beta1.ListUsableSubnetworksRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1109,4 +1028,6 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1beta1.ListUsableSubnetworksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java index c78971aecaec..e70c9a24d1e6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListUsableSubnetworksRequestOrBuilder - extends +public interface ListUsableSubnetworksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListUsableSubnetworksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -61,13 +38,10 @@ public interface ListUsableSubnetworksRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -76,14 +50,12 @@ public interface ListUsableSubnetworksRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -92,35 +64,29 @@ public interface ListUsableSubnetworksRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java index 232f03d02937..45ebc22d8eff 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ListUsableSubnetworksResponse is the response of
  * ListUsableSubnetworksRequest.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksResponse}
  */
-public final class ListUsableSubnetworksResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListUsableSubnetworksResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListUsableSubnetworksResponse)
     ListUsableSubnetworksResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksResponse.newBuilder() to construct.
   private ListUsableSubnetworksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListUsableSubnetworksResponse() {
     subnetworks_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,35 +27,32 @@ private ListUsableSubnetworksResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ListUsableSubnetworksResponse.class,
-            com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
+            com.google.container.v1beta1.ListUsableSubnetworksResponse.class, com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
   }
 
   public static final int SUBNETWORKS_FIELD_NUMBER = 1;
   private java.util.List subnetworks_;
   /**
-   *
-   *
    * 
    * A list of usable subnetworks in the specified network project.
    * 
@@ -85,8 +64,6 @@ public java.util.List getSubnetwo return subnetworks_; } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -94,13 +71,11 @@ public java.util.List getSubnetwo * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSubnetworksOrBuilderList() { return subnetworks_; } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -112,8 +87,6 @@ public int getSubnetworksCount() { return subnetworks_.size(); } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -125,8 +98,6 @@ public com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index) { return subnetworks_.get(index); } /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -134,15 +105,14 @@ public com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index) { * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index) { + public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( + int index) { return subnetworks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -151,7 +121,6 @@ public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBu
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,15 +129,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -177,15 +145,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < subnetworks_.size(); i++) { output.writeMessage(1, subnetworks_.get(i)); } @@ -223,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < subnetworks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, subnetworks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, subnetworks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -236,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListUsableSubnetworksResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListUsableSubnetworksResponse other = - (com.google.container.v1beta1.ListUsableSubnetworksResponse) obj; + com.google.container.v1beta1.ListUsableSubnetworksResponse other = (com.google.container.v1beta1.ListUsableSubnetworksResponse) obj; - if (!getSubnetworksList().equals(other.getSubnetworksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSubnetworksList() + .equals(other.getSubnetworksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,104 +240,96 @@ public int hashCode() { } public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( 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.ListUsableSubnetworksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ListUsableSubnetworksResponse prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ListUsableSubnetworksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ListUsableSubnetworksResponse is the response of
    * ListUsableSubnetworksRequest.
@@ -374,32 +337,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListUsableSubnetworksResponse)
       com.google.container.v1beta1.ListUsableSubnetworksResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ListUsableSubnetworksResponse.class,
-              com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
+              com.google.container.v1beta1.ListUsableSubnetworksResponse.class, com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ListUsableSubnetworksResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -416,9 +380,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
@@ -437,8 +401,7 @@ public com.google.container.v1beta1.ListUsableSubnetworksResponse build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ListUsableSubnetworksResponse buildPartial() {
-      com.google.container.v1beta1.ListUsableSubnetworksResponse result =
-          new com.google.container.v1beta1.ListUsableSubnetworksResponse(this);
+      com.google.container.v1beta1.ListUsableSubnetworksResponse result = new com.google.container.v1beta1.ListUsableSubnetworksResponse(this);
       int from_bitField0_ = bitField0_;
       if (subnetworksBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -458,39 +421,38 @@ public com.google.container.v1beta1.ListUsableSubnetworksResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ListUsableSubnetworksResponse) {
-        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksResponse) other);
+        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -498,8 +460,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ListUsableSubnetworksResponse other) {
-      if (other == com.google.container.v1beta1.ListUsableSubnetworksResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.ListUsableSubnetworksResponse.getDefaultInstance()) return this;
       if (subnetworksBuilder_ == null) {
         if (!other.subnetworks_.isEmpty()) {
           if (subnetworks_.isEmpty()) {
@@ -518,10 +479,9 @@ public Builder mergeFrom(com.google.container.v1beta1.ListUsableSubnetworksRespo
             subnetworksBuilder_ = null;
             subnetworks_ = other.subnetworks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subnetworksBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSubnetworksFieldBuilder()
-                    : null;
+            subnetworksBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSubnetworksFieldBuilder() : null;
           } else {
             subnetworksBuilder_.addAllMessages(other.subnetworks_);
           }
@@ -557,32 +517,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.container.v1beta1.UsableSubnetwork m =
-                    input.readMessage(
-                        com.google.container.v1beta1.UsableSubnetwork.parser(), extensionRegistry);
-                if (subnetworksBuilder_ == null) {
-                  ensureSubnetworksIsMutable();
-                  subnetworks_.add(m);
-                } else {
-                  subnetworksBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
+            case 10: {
+              com.google.container.v1beta1.UsableSubnetwork m =
+                  input.readMessage(
+                      com.google.container.v1beta1.UsableSubnetwork.parser(),
+                      extensionRegistry);
+              if (subnetworksBuilder_ == null) {
+                ensureSubnetworksIsMutable();
+                subnetworks_.add(m);
+              } else {
+                subnetworksBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -592,29 +550,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List subnetworks_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSubnetworksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        subnetworks_ =
-            new java.util.ArrayList(subnetworks_);
+        subnetworks_ = new java.util.ArrayList(subnetworks_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.UsableSubnetwork,
-            com.google.container.v1beta1.UsableSubnetwork.Builder,
-            com.google.container.v1beta1.UsableSubnetworkOrBuilder>
-        subnetworksBuilder_;
+        com.google.container.v1beta1.UsableSubnetwork, com.google.container.v1beta1.UsableSubnetwork.Builder, com.google.container.v1beta1.UsableSubnetworkOrBuilder> subnetworksBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of usable subnetworks in the specified network project.
      * 
@@ -629,8 +579,6 @@ public java.util.List getSubnetwo } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -645,8 +593,6 @@ public int getSubnetworksCount() { } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -661,15 +607,14 @@ public com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index) { } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public Builder setSubnetworks(int index, com.google.container.v1beta1.UsableSubnetwork value) { + public Builder setSubnetworks( + int index, com.google.container.v1beta1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -683,8 +628,6 @@ public Builder setSubnetworks(int index, com.google.container.v1beta1.UsableSubn return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -703,8 +646,6 @@ public Builder setSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -725,15 +666,14 @@ public Builder addSubnetworks(com.google.container.v1beta1.UsableSubnetwork valu return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public Builder addSubnetworks(int index, com.google.container.v1beta1.UsableSubnetwork value) { + public Builder addSubnetworks( + int index, com.google.container.v1beta1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -747,8 +687,6 @@ public Builder addSubnetworks(int index, com.google.container.v1beta1.UsableSubn return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -767,8 +705,6 @@ public Builder addSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -787,8 +723,6 @@ public Builder addSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -799,7 +733,8 @@ public Builder addAllSubnetworks( java.lang.Iterable values) { if (subnetworksBuilder_ == null) { ensureSubnetworksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnetworks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, subnetworks_); onChanged(); } else { subnetworksBuilder_.addAllMessages(values); @@ -807,8 +742,6 @@ public Builder addAllSubnetworks( return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -826,8 +759,6 @@ public Builder clearSubnetworks() { return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -845,20 +776,17 @@ public Builder removeSubnetworks(int index) { return this; } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1beta1.UsableSubnetwork.Builder getSubnetworksBuilder(int index) { + public com.google.container.v1beta1.UsableSubnetwork.Builder getSubnetworksBuilder( + int index) { return getSubnetworksFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -868,22 +796,19 @@ public com.google.container.v1beta1.UsableSubnetwork.Builder getSubnetworksBuild public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( int index) { if (subnetworksBuilder_ == null) { - return subnetworks_.get(index); - } else { + return subnetworks_.get(index); } else { return subnetworksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksOrBuilderList() { + public java.util.List + getSubnetworksOrBuilderList() { if (subnetworksBuilder_ != null) { return subnetworksBuilder_.getMessageOrBuilderList(); } else { @@ -891,8 +816,6 @@ public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBu } } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -900,48 +823,42 @@ public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBu * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuilder() { - return getSubnetworksFieldBuilder() - .addBuilder(com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); + return getSubnetworksFieldBuilder().addBuilder( + com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuilder(int index) { - return getSubnetworksFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); + public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuilder( + int index) { + return getSubnetworksFieldBuilder().addBuilder( + index, com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); } /** - * - * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksBuilderList() { + public java.util.List + getSubnetworksBuilderList() { return getSubnetworksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetwork, - com.google.container.v1beta1.UsableSubnetwork.Builder, - com.google.container.v1beta1.UsableSubnetworkOrBuilder> + com.google.container.v1beta1.UsableSubnetwork, com.google.container.v1beta1.UsableSubnetwork.Builder, com.google.container.v1beta1.UsableSubnetworkOrBuilder> getSubnetworksFieldBuilder() { if (subnetworksBuilder_ == null) { - subnetworksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetwork, - com.google.container.v1beta1.UsableSubnetwork.Builder, - com.google.container.v1beta1.UsableSubnetworkOrBuilder>( - subnetworks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + subnetworksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.UsableSubnetwork, com.google.container.v1beta1.UsableSubnetwork.Builder, com.google.container.v1beta1.UsableSubnetworkOrBuilder>( + subnetworks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); subnetworks_ = null; } return subnetworksBuilder_; @@ -949,8 +866,6 @@ public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -959,13 +874,13 @@ public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuild
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -974,8 +889,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -984,14 +897,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -999,8 +913,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -1009,22 +921,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -1033,18 +943,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -1053,23 +960,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1079,12 +986,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListUsableSubnetworksResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListUsableSubnetworksResponse) private static final com.google.container.v1beta1.ListUsableSubnetworksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListUsableSubnetworksResponse(); } @@ -1093,27 +1000,27 @@ public static com.google.container.v1beta1.ListUsableSubnetworksResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1128,4 +1035,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1beta1.ListUsableSubnetworksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java similarity index 74% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java index 59936038be81..84c687e44edf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListUsableSubnetworksResponseOrBuilder - extends +public interface ListUsableSubnetworksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListUsableSubnetworksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - java.util.List getSubnetworksList(); + java.util.List + getSubnetworksList(); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -44,8 +25,6 @@ public interface ListUsableSubnetworksResponseOrBuilder */ com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -54,30 +33,25 @@ public interface ListUsableSubnetworksResponseOrBuilder */ int getSubnetworksCount(); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - java.util.List + java.util.List getSubnetworksOrBuilderList(); /** - * - * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index); + com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( + int index); /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -86,13 +60,10 @@ public interface ListUsableSubnetworksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -101,8 +72,8 @@ public interface ListUsableSubnetworksResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java index 95011d772c45..de1d010b376d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Location returns the location name, and if the location is recommended
  * for GKE cluster scheduling.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.Location}
  */
-public final class Location extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Location extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.Location)
     LocationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Location.newBuilder() to construct.
   private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Location() {
     type_ = 0;
     name_ = "";
@@ -45,43 +27,39 @@ private Location() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Location();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_Location_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_Location_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.Location.class,
-            com.google.container.v1beta1.Location.Builder.class);
+            com.google.container.v1beta1.Location.class, com.google.container.v1beta1.Location.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * LocationType is the type of GKE location, regional or zonal.
    * 
* * Protobuf enum {@code google.container.v1beta1.Location.LocationType} */ - public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * LOCATION_TYPE_UNSPECIFIED means the location type was not determined.
      * 
@@ -90,8 +68,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_TYPE_UNSPECIFIED(0), /** - * - * *
      * A GKE Location where Zonal clusters can be created.
      * 
@@ -100,8 +76,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ ZONE(1), /** - * - * *
      * A GKE Location where Regional clusters can be created.
      * 
@@ -113,8 +87,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * LOCATION_TYPE_UNSPECIFIED means the location type was not determined.
      * 
@@ -123,8 +95,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * A GKE Location where Zonal clusters can be created.
      * 
@@ -133,8 +103,6 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ZONE_VALUE = 1; /** - * - * *
      * A GKE Location where Regional clusters can be created.
      * 
@@ -143,6 +111,7 @@ public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REGION_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,49 +136,49 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: - return LOCATION_TYPE_UNSPECIFIED; - case 1: - return ZONE; - case 2: - return REGION; - default: - return null; + case 0: return LOCATION_TYPE_UNSPECIFIED; + case 1: return ZONE; + case 2: return REGION; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LocationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -229,55 +198,41 @@ private LocationType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.container.v1beta1.Location.LocationType getType() { + @java.lang.Override public com.google.container.v1beta1.Location.LocationType getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Location.LocationType result = - com.google.container.v1beta1.Location.LocationType.valueOf(type_); - return result == null - ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED - : result; + com.google.container.v1beta1.Location.LocationType result = com.google.container.v1beta1.Location.LocationType.valueOf(type_); + return result == null ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED : result; } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; - * * @return The name. */ @java.lang.Override @@ -286,30 +241,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -320,14 +275,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RECOMMENDED_FIELD_NUMBER = 3; private boolean recommended_; /** - * - * *
    * Whether the location is recommended for GKE cluster scheduling.
    * 
* * bool recommended = 3; - * * @return The recommended. */ @java.lang.Override @@ -336,7 +288,6 @@ public boolean getRecommended() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,10 +299,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -369,16 +319,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (recommended_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recommended_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, recommended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -388,7 +338,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Location)) { return super.equals(obj); @@ -396,8 +346,10 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1beta1.Location other = (com.google.container.v1beta1.Location) obj; if (type_ != other.type_) return false; - if (!getName().equals(other.getName())) return false; - if (getRecommended() != other.getRecommended()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getRecommended() + != other.getRecommended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,109 +366,104 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RECOMMENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecommended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRecommended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.Location parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Location parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Location parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Location parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1beta1.Location parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Location parseFrom( 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.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Location parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Location parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Location parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Location parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Location returns the location name, and if the location is recommended
    * for GKE cluster scheduling.
@@ -524,32 +471,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.Location}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Location)
       com.google.container.v1beta1.LocationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_Location_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_Location_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.Location.class,
-              com.google.container.v1beta1.Location.Builder.class);
+              com.google.container.v1beta1.Location.class, com.google.container.v1beta1.Location.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.Location.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -563,9 +511,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_Location_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_descriptor;
     }
 
     @java.lang.Override
@@ -584,8 +532,7 @@ public com.google.container.v1beta1.Location build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.Location buildPartial() {
-      com.google.container.v1beta1.Location result =
-          new com.google.container.v1beta1.Location(this);
+      com.google.container.v1beta1.Location result = new com.google.container.v1beta1.Location(this);
       result.type_ = type_;
       result.name_ = name_;
       result.recommended_ = recommended_;
@@ -597,39 +544,38 @@ public com.google.container.v1beta1.Location buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.Location) {
-        return mergeFrom((com.google.container.v1beta1.Location) other);
+        return mergeFrom((com.google.container.v1beta1.Location)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -674,31 +620,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                recommended_ = input.readBool();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              type_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              recommended_ = input.readBool();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -711,71 +653,55 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @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; onChanged(); return this; } /** - * - * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.Location.LocationType getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Location.LocationType result = - com.google.container.v1beta1.Location.LocationType.valueOf(type_); - return result == null - ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED - : result; + com.google.container.v1beta1.Location.LocationType result = com.google.container.v1beta1.Location.LocationType.valueOf(type_); + return result == null ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED : result; } /** - * - * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -783,25 +709,22 @@ public Builder setType(com.google.container.v1beta1.Location.LocationType value) if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -809,21 +732,19 @@ public Builder clearType() { private java.lang.Object name_ = ""; /** - * - * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -832,22 +753,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -855,79 +775,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean recommended_; + private boolean recommended_ ; /** - * - * *
      * Whether the location is recommended for GKE cluster scheduling.
      * 
* * bool recommended = 3; - * * @return The recommended. */ @java.lang.Override @@ -935,43 +845,37 @@ public boolean getRecommended() { return recommended_; } /** - * - * *
      * Whether the location is recommended for GKE cluster scheduling.
      * 
* * bool recommended = 3; - * * @param value The recommended to set. * @return This builder for chaining. */ public Builder setRecommended(boolean value) { - + recommended_ = value; onChanged(); return this; } /** - * - * *
      * Whether the location is recommended for GKE cluster scheduling.
      * 
* * bool recommended = 3; - * * @return This builder for chaining. */ public Builder clearRecommended() { - + recommended_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -981,12 +885,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Location) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Location) private static final com.google.container.v1beta1.Location DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Location(); } @@ -995,27 +899,27 @@ public static com.google.container.v1beta1.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +934,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java index 6b6e17c0d9ad..395535a4278f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java @@ -1,91 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface LocationOrBuilder - extends +public interface LocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Location) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; - * * @return The type. */ com.google.container.v1beta1.Location.LocationType getType(); /** - * - * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Whether the location is recommended for GKE cluster scheduling.
    * 
* * bool recommended = 3; - * * @return The recommended. */ boolean getRecommended(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java index a25797890889..09760dba38c7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * LoggingComponentConfig is cluster logging component configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.LoggingComponentConfig} */ -public final class LoggingComponentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingComponentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LoggingComponentConfig) LoggingComponentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingComponentConfig.newBuilder() to construct. private LoggingComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingComponentConfig.class, - com.google.container.v1beta1.LoggingComponentConfig.Builder.class); + com.google.container.v1beta1.LoggingComponentConfig.class, com.google.container.v1beta1.LoggingComponentConfig.Builder.class); } /** - * - * *
    * GKE components exposing logs
    * 
* * Protobuf enum {@code google.container.v1beta1.LoggingComponentConfig.Component} */ - public enum Component implements com.google.protobuf.ProtocolMessageEnum { + public enum Component + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -88,8 +66,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ COMPONENT_UNSPECIFIED(0), /** - * - * *
      * system components
      * 
@@ -98,8 +74,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM_COMPONENTS(1), /** - * - * *
      * workloads
      * 
@@ -108,8 +82,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ WORKLOADS(2), /** - * - * *
      * kube-apiserver
      * 
@@ -118,8 +90,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ APISERVER(3), /** - * - * *
      * kube-scheduler
      * 
@@ -128,8 +98,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SCHEDULER(4), /** - * - * *
      * kube-controller-manager
      * 
@@ -141,8 +109,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -151,8 +117,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * system components
      * 
@@ -161,8 +125,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** - * - * *
      * workloads
      * 
@@ -171,8 +133,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WORKLOADS_VALUE = 2; /** - * - * *
      * kube-apiserver
      * 
@@ -181,8 +141,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APISERVER_VALUE = 3; /** - * - * *
      * kube-scheduler
      * 
@@ -191,8 +149,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEDULER_VALUE = 4; /** - * - * *
      * kube-controller-manager
      * 
@@ -201,6 +157,7 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTROLLER_MANAGER_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -225,57 +182,52 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: - return COMPONENT_UNSPECIFIED; - case 1: - return SYSTEM_COMPONENTS; - case 2: - return WORKLOADS; - case 3: - return APISERVER; - case 4: - return SCHEDULER; - case 5: - return CONTROLLER_MANAGER; - default: - return null; + case 0: return COMPONENT_UNSPECIFIED; + case 1: return SYSTEM_COMPONENTS; + case 2: return WORKLOADS; + case 3: return APISERVER; + case 4: return SCHEDULER; + case 5: return CONTROLLER_MANAGER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Component> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1beta1.LoggingComponentConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1beta1.LoggingComponentConfig.getDescriptor().getEnumTypes().get(0); } private static final Component[] VALUES = values(); - public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -295,51 +247,34 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component> - enableComponents_converter_ = + java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component> enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>() { - public com.google.container.v1beta1.LoggingComponentConfig.Component convert( - java.lang.Integer from) { + public com.google.container.v1beta1.LoggingComponentConfig.Component convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LoggingComponentConfig.Component result = - com.google.container.v1beta1.LoggingComponentConfig.Component.valueOf(from); - return result == null - ? com.google.container.v1beta1.LoggingComponentConfig.Component.UNRECOGNIZED - : result; + com.google.container.v1beta1.LoggingComponentConfig.Component result = com.google.container.v1beta1.LoggingComponentConfig.Component.valueOf(from); + return result == null ? com.google.container.v1beta1.LoggingComponentConfig.Component.UNRECOGNIZED : result; } }; /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ @java.lang.Override @@ -347,52 +282,37 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents( - int index) { + public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return enableComponents_; } /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -400,11 +320,9 @@ public java.util.List getEnableComponentsValueList() { public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } - private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -437,15 +356,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -455,13 +373,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LoggingComponentConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LoggingComponentConfig other = - (com.google.container.v1beta1.LoggingComponentConfig) obj; + com.google.container.v1beta1.LoggingComponentConfig other = (com.google.container.v1beta1.LoggingComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -485,135 +402,129 @@ public int hashCode() { } public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.LoggingComponentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.LoggingComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * LoggingComponentConfig is cluster logging component configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.LoggingComponentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LoggingComponentConfig) com.google.container.v1beta1.LoggingComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingComponentConfig.class, - com.google.container.v1beta1.LoggingComponentConfig.Builder.class); + com.google.container.v1beta1.LoggingComponentConfig.class, com.google.container.v1beta1.LoggingComponentConfig.Builder.class); } // Construct using com.google.container.v1beta1.LoggingComponentConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -623,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; } @java.lang.Override @@ -644,8 +555,7 @@ public com.google.container.v1beta1.LoggingComponentConfig build() { @java.lang.Override public com.google.container.v1beta1.LoggingComponentConfig buildPartial() { - com.google.container.v1beta1.LoggingComponentConfig result = - new com.google.container.v1beta1.LoggingComponentConfig(this); + com.google.container.v1beta1.LoggingComponentConfig result = new com.google.container.v1beta1.LoggingComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -660,39 +570,38 @@ public com.google.container.v1beta1.LoggingComponentConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LoggingComponentConfig) { - return mergeFrom((com.google.container.v1beta1.LoggingComponentConfig) other); + return mergeFrom((com.google.container.v1beta1.LoggingComponentConfig)other); } else { super.mergeFrom(other); return this; @@ -700,8 +609,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.LoggingComponentConfig other) { - if (other == com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance()) return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -738,32 +646,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { + case 8: { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + break; + } // case 8 + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -773,11 +678,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List enableComponents_ = java.util.Collections.emptyList(); - + private java.util.List enableComponents_ = + java.util.Collections.emptyList(); private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -785,69 +689,46 @@ private void ensureEnableComponentsIsMutable() { } } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents( - int index) { + public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -863,21 +744,15 @@ public Builder setEnableComponents( return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents( - com.google.container.v1beta1.LoggingComponentConfig.Component value) { + public Builder addEnableComponents(com.google.container.v1beta1.LoggingComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -887,22 +762,16 @@ public Builder addEnableComponents( return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1beta1.LoggingComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -911,16 +780,11 @@ public Builder addAllEnableComponents( return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -930,32 +794,23 @@ public Builder clearEnableComponents() { return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -963,37 +818,28 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue(int index, int value) { + public Builder setEnableComponentsValue( + int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -1004,20 +850,16 @@ public Builder addEnableComponentsValue(int value) { return this; } /** - * - * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue(java.lang.Iterable values) { + public Builder addAllEnableComponentsValue( + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -1025,9 +867,9 @@ public Builder addAllEnableComponentsValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1037,12 +879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LoggingComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LoggingComponentConfig) private static final com.google.container.v1beta1.LoggingComponentConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LoggingComponentConfig(); } @@ -1051,27 +893,27 @@ public static com.google.container.v1beta1.LoggingComponentConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1086,4 +928,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java index 34666b05c87d..b2618bb4700e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java @@ -1,97 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LoggingComponentConfigOrBuilder - extends +public interface LoggingComponentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LoggingComponentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - java.util.List - getEnableComponentsList(); + java.util.List getEnableComponentsList(); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ int getEnableComponentsCount(); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents(int index); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List getEnableComponentsValueList(); + java.util.List + getEnableComponentsValueList(); /** - * - * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java index e250f8534341..b9300b5fa2a9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * LoggingConfig is cluster logging configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.LoggingConfig} */ -public final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LoggingConfig) LoggingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingConfig.newBuilder() to construct. private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private LoggingConfig() {} + private LoggingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingConfig.class, - com.google.container.v1beta1.LoggingConfig.Builder.class); + com.google.container.v1beta1.LoggingConfig.class, com.google.container.v1beta1.LoggingConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.LoggingComponentConfig componentConfig_; /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingComponentConfig getComponentConfig() { - return componentConfig_ == null - ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } /** - * - * *
    * Logging components configuration
    * 
@@ -109,13 +81,11 @@ public com.google.container.v1beta1.LoggingComponentConfig getComponentConfig() * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ @java.lang.Override - public com.google.container.v1beta1.LoggingComponentConfigOrBuilder - getComponentConfigOrBuilder() { + public com.google.container.v1beta1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { return getComponentConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } @@ -141,7 +112,8 @@ public int getSerializedSize() { size = 0; if (componentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getComponentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,17 +123,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LoggingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LoggingConfig other = - (com.google.container.v1beta1.LoggingConfig) obj; + com.google.container.v1beta1.LoggingConfig other = (com.google.container.v1beta1.LoggingConfig) obj; if (hasComponentConfig() != other.hasComponentConfig()) return false; if (hasComponentConfig()) { - if (!getComponentConfig().equals(other.getComponentConfig())) return false; + if (!getComponentConfig() + .equals(other.getComponentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,136 +155,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.LoggingConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.LoggingConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.LoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.LoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * LoggingConfig is cluster logging configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.LoggingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LoggingConfig) com.google.container.v1beta1.LoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingConfig.class, - com.google.container.v1beta1.LoggingConfig.Builder.class); + com.google.container.v1beta1.LoggingConfig.class, com.google.container.v1beta1.LoggingConfig.Builder.class); } // Construct using com.google.container.v1beta1.LoggingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_descriptor; } @java.lang.Override @@ -347,8 +313,7 @@ public com.google.container.v1beta1.LoggingConfig build() { @java.lang.Override public com.google.container.v1beta1.LoggingConfig buildPartial() { - com.google.container.v1beta1.LoggingConfig result = - new com.google.container.v1beta1.LoggingConfig(this); + com.google.container.v1beta1.LoggingConfig result = new com.google.container.v1beta1.LoggingConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -362,39 +327,38 @@ public com.google.container.v1beta1.LoggingConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LoggingConfig) { - return mergeFrom((com.google.container.v1beta1.LoggingConfig) other); + return mergeFrom((com.google.container.v1beta1.LoggingConfig)other); } else { super.mergeFrom(other); return this; @@ -432,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getComponentConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -457,47 +421,34 @@ public Builder mergeFrom( private com.google.container.v1beta1.LoggingComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingComponentConfig, - com.google.container.v1beta1.LoggingComponentConfig.Builder, - com.google.container.v1beta1.LoggingComponentConfigOrBuilder> - componentConfigBuilder_; + com.google.container.v1beta1.LoggingComponentConfig, com.google.container.v1beta1.LoggingComponentConfig.Builder, com.google.container.v1beta1.LoggingComponentConfigOrBuilder> componentConfigBuilder_; /** - * - * *
      * Logging components configuration
      * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** - * - * *
      * Logging components configuration
      * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ public com.google.container.v1beta1.LoggingComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null - ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging components configuration
      * 
@@ -518,8 +469,6 @@ public Builder setComponentConfig(com.google.container.v1beta1.LoggingComponentC return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -538,8 +487,6 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -550,9 +497,7 @@ public Builder mergeComponentConfig(com.google.container.v1beta1.LoggingComponen if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1beta1.LoggingComponentConfig.newBuilder(componentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.LoggingComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); } else { componentConfig_ = value; } @@ -564,8 +509,6 @@ public Builder mergeComponentConfig(com.google.container.v1beta1.LoggingComponen return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -584,8 +527,6 @@ public Builder clearComponentConfig() { return this; } /** - * - * *
      * Logging components configuration
      * 
@@ -593,32 +534,26 @@ public Builder clearComponentConfig() { * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ public com.google.container.v1beta1.LoggingComponentConfig.Builder getComponentConfigBuilder() { - + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging components configuration
      * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ - public com.google.container.v1beta1.LoggingComponentConfigOrBuilder - getComponentConfigOrBuilder() { + public com.google.container.v1beta1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null - ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? + com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; } } /** - * - * *
      * Logging components configuration
      * 
@@ -626,24 +561,21 @@ public com.google.container.v1beta1.LoggingComponentConfig.Builder getComponentC * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingComponentConfig, - com.google.container.v1beta1.LoggingComponentConfig.Builder, - com.google.container.v1beta1.LoggingComponentConfigOrBuilder> + com.google.container.v1beta1.LoggingComponentConfig, com.google.container.v1beta1.LoggingComponentConfig.Builder, com.google.container.v1beta1.LoggingComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingComponentConfig, - com.google.container.v1beta1.LoggingComponentConfig.Builder, - com.google.container.v1beta1.LoggingComponentConfigOrBuilder>( - getComponentConfig(), getParentForChildren(), isClean()); + componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingComponentConfig, com.google.container.v1beta1.LoggingComponentConfig.Builder, com.google.container.v1beta1.LoggingComponentConfigOrBuilder>( + getComponentConfig(), + getParentForChildren(), + isClean()); componentConfig_ = null; } return componentConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -653,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LoggingConfig) private static final com.google.container.v1beta1.LoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LoggingConfig(); } @@ -667,27 +599,27 @@ public static com.google.container.v1beta1.LoggingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -702,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java index 8f88a39fef5c..614482cc4b5c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LoggingConfigOrBuilder - extends +public interface LoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** - * - * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; - * * @return The componentConfig. */ com.google.container.v1beta1.LoggingComponentConfig getComponentConfig(); /** - * - * *
    * Logging components configuration
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java index 35eb17dcd669..85e6df627fff 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * LoggingVariantConfig specifies the behaviour of the logging component.
  * 
* * Protobuf type {@code google.container.v1beta1.LoggingVariantConfig} */ -public final class LoggingVariantConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LoggingVariantConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LoggingVariantConfig) LoggingVariantConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LoggingVariantConfig.newBuilder() to construct. private LoggingVariantConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingVariantConfig() { variant_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LoggingVariantConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingVariantConfig.class, - com.google.container.v1beta1.LoggingVariantConfig.Builder.class); + com.google.container.v1beta1.LoggingVariantConfig.class, com.google.container.v1beta1.LoggingVariantConfig.Builder.class); } /** - * - * *
    * Logging component variants.
    * 
* * Protobuf enum {@code google.container.v1beta1.LoggingVariantConfig.Variant} */ - public enum Variant implements com.google.protobuf.ProtocolMessageEnum { + public enum Variant + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -88,8 +66,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ VARIANT_UNSPECIFIED(0), /** - * - * *
      * default logging variant.
      * 
@@ -98,8 +74,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ DEFAULT(1), /** - * - * *
      * maximum logging throughput variant.
      * 
@@ -111,8 +85,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -121,8 +93,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VARIANT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * default logging variant.
      * 
@@ -131,8 +101,6 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DEFAULT_VALUE = 1; /** - * - * *
      * maximum logging throughput variant.
      * 
@@ -141,6 +109,7 @@ public enum Variant implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAX_THROUGHPUT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,51 +134,49 @@ public static Variant valueOf(int value) { */ public static Variant forNumber(int value) { switch (value) { - case 0: - return VARIANT_UNSPECIFIED; - case 1: - return DEFAULT; - case 2: - return MAX_THROUGHPUT; - default: - return null; + case 0: return VARIANT_UNSPECIFIED; + case 1: return DEFAULT; + case 2: return MAX_THROUGHPUT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Variant> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Variant findValueByNumber(int number) { + return Variant.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Variant findValueByNumber(int number) { - return Variant.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1beta1.LoggingVariantConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1beta1.LoggingVariantConfig.getDescriptor().getEnumTypes().get(0); } private static final Variant[] VALUES = values(); - public static Variant valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Variant valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -229,43 +196,31 @@ private Variant(int value) { public static final int VARIANT_FIELD_NUMBER = 1; private int variant_; /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override - public int getVariantValue() { + @java.lang.Override public int getVariantValue() { return variant_; } /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @return The variant. */ - @java.lang.Override - public com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant() { + @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LoggingVariantConfig.Variant result = - com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null - ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED - : result; + com.google.container.v1beta1.LoggingVariantConfig.Variant result = com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,10 +232,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (variant_ - != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (variant_ != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { output.writeEnum(1, variant_); } getUnknownFields().writeTo(output); @@ -292,10 +246,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (variant_ - != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, variant_); + if (variant_ != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, variant_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -305,13 +258,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LoggingVariantConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LoggingVariantConfig other = - (com.google.container.v1beta1.LoggingVariantConfig) obj; + com.google.container.v1beta1.LoggingVariantConfig other = (com.google.container.v1beta1.LoggingVariantConfig) obj; if (variant_ != other.variant_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -333,135 +285,129 @@ public int hashCode() { } public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LoggingVariantConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( 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.LoggingVariantConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.LoggingVariantConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.LoggingVariantConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingVariantConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.LoggingVariantConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * LoggingVariantConfig specifies the behaviour of the logging component.
    * 
* * Protobuf type {@code google.container.v1beta1.LoggingVariantConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LoggingVariantConfig) com.google.container.v1beta1.LoggingVariantConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingVariantConfig.class, - com.google.container.v1beta1.LoggingVariantConfig.Builder.class); + com.google.container.v1beta1.LoggingVariantConfig.class, com.google.container.v1beta1.LoggingVariantConfig.Builder.class); } // Construct using com.google.container.v1beta1.LoggingVariantConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; } @java.lang.Override @@ -492,8 +438,7 @@ public com.google.container.v1beta1.LoggingVariantConfig build() { @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig buildPartial() { - com.google.container.v1beta1.LoggingVariantConfig result = - new com.google.container.v1beta1.LoggingVariantConfig(this); + com.google.container.v1beta1.LoggingVariantConfig result = new com.google.container.v1beta1.LoggingVariantConfig(this); result.variant_ = variant_; onBuilt(); return result; @@ -503,39 +448,38 @@ public com.google.container.v1beta1.LoggingVariantConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LoggingVariantConfig) { - return mergeFrom((com.google.container.v1beta1.LoggingVariantConfig) other); + return mergeFrom((com.google.container.v1beta1.LoggingVariantConfig)other); } else { super.mergeFrom(other); return this; @@ -543,8 +487,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.LoggingVariantConfig other) { - if (other == com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance()) return this; if (other.variant_ != 0) { setVariantValue(other.getVariantValue()); } @@ -574,19 +517,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - variant_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + variant_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -599,67 +540,51 @@ public Builder mergeFrom( private int variant_ = 0; /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override - public int getVariantValue() { + @java.lang.Override public int getVariantValue() { return variant_; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @param value The enum numeric value on the wire for variant to set. * @return This builder for chaining. */ public Builder setVariantValue(int value) { - + variant_ = value; onChanged(); return this; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @return The variant. */ @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LoggingVariantConfig.Variant result = - com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null - ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED - : result; + com.google.container.v1beta1.LoggingVariantConfig.Variant result = com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @param value The variant to set. * @return This builder for chaining. */ @@ -667,31 +592,28 @@ public Builder setVariant(com.google.container.v1beta1.LoggingVariantConfig.Vari if (value == null) { throw new NullPointerException(); } - + variant_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @return This builder for chaining. */ public Builder clearVariant() { - + variant_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +623,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LoggingVariantConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LoggingVariantConfig) private static final com.google.container.v1beta1.LoggingVariantConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LoggingVariantConfig(); } @@ -715,27 +637,27 @@ public static com.google.container.v1beta1.LoggingVariantConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingVariantConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingVariantConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,4 +672,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LoggingVariantConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java similarity index 54% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java index 22ca9f166b4f..5e3024e3e7a5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface LoggingVariantConfigOrBuilder - extends +public interface LoggingVariantConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LoggingVariantConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @return The enum numeric value on the wire for variant. */ int getVariantValue(); /** - * - * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; - * * @return The variant. */ com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java index 35f73224eb76..c85a8c942f37 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java @@ -1,85 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Represents the Maintenance exclusion option.
  * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceExclusionOptions} */ -public final class MaintenanceExclusionOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaintenanceExclusionOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaintenanceExclusionOptions) MaintenanceExclusionOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaintenanceExclusionOptions.newBuilder() to construct. private MaintenanceExclusionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaintenanceExclusionOptions() { scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaintenanceExclusionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceExclusionOptions.class, - com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1beta1.MaintenanceExclusionOptions.class, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); } /** - * - * *
    * Scope of exclusion.
    * 
* * Protobuf enum {@code google.container.v1beta1.MaintenanceExclusionOptions.Scope} */ - public enum Scope implements com.google.protobuf.ProtocolMessageEnum { + public enum Scope + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -90,8 +68,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_UPGRADES(0),
     /**
-     *
-     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -101,8 +77,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_MINOR_UPGRADES(1),
     /**
-     *
-     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -116,8 +90,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -128,8 +100,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_UPGRADES_VALUE = 0;
     /**
-     *
-     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -139,8 +109,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_MINOR_UPGRADES_VALUE = 1;
     /**
-     *
-     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -151,6 +119,7 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_MINOR_OR_NODE_UPGRADES_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -175,51 +144,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0:
-          return NO_UPGRADES;
-        case 1:
-          return NO_MINOR_UPGRADES;
-        case 2:
-          return NO_MINOR_OR_NODE_UPGRADES;
-        default:
-          return null;
+        case 0: return NO_UPGRADES;
+        case 1: return NO_MINOR_UPGRADES;
+        case 2: return NO_MINOR_OR_NODE_UPGRADES;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Scope> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Scope findValueByNumber(int number) {
+              return Scope.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Scope findValueByNumber(int number) {
-            return Scope.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.container.v1beta1.MaintenanceExclusionOptions.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.MaintenanceExclusionOptions.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -239,45 +206,33 @@ private Scope(int value) {
   public static final int SCOPE_FIELD_NUMBER = 1;
   private int scope_;
   /**
-   *
-   *
    * 
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The scope. */ - @java.lang.Override - public com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope() { + @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = - com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null - ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED - : result; + com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,9 +244,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (scope_ - != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (scope_ != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { output.writeEnum(1, scope_); } getUnknownFields().writeTo(output); @@ -303,9 +258,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ - != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); + if (scope_ != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, scope_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,13 +270,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaintenanceExclusionOptions)) { return super.equals(obj); } - com.google.container.v1beta1.MaintenanceExclusionOptions other = - (com.google.container.v1beta1.MaintenanceExclusionOptions) obj; + com.google.container.v1beta1.MaintenanceExclusionOptions other = (com.google.container.v1beta1.MaintenanceExclusionOptions) obj; if (scope_ != other.scope_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -343,136 +297,129 @@ public int hashCode() { } public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenanceExclusionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( 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.MaintenanceExclusionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.MaintenanceExclusionOptions prototype) { + public static Builder newBuilder(com.google.container.v1beta1.MaintenanceExclusionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the Maintenance exclusion option.
    * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceExclusionOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaintenanceExclusionOptions) com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceExclusionOptions.class, - com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1beta1.MaintenanceExclusionOptions.class, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); } // Construct using com.google.container.v1beta1.MaintenanceExclusionOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -482,9 +429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override @@ -503,8 +450,7 @@ public com.google.container.v1beta1.MaintenanceExclusionOptions build() { @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions buildPartial() { - com.google.container.v1beta1.MaintenanceExclusionOptions result = - new com.google.container.v1beta1.MaintenanceExclusionOptions(this); + com.google.container.v1beta1.MaintenanceExclusionOptions result = new com.google.container.v1beta1.MaintenanceExclusionOptions(this); result.scope_ = scope_; onBuilt(); return result; @@ -514,39 +460,38 @@ public com.google.container.v1beta1.MaintenanceExclusionOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaintenanceExclusionOptions) { - return mergeFrom((com.google.container.v1beta1.MaintenanceExclusionOptions) other); + return mergeFrom((com.google.container.v1beta1.MaintenanceExclusionOptions)other); } else { super.mergeFrom(other); return this; @@ -554,8 +499,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.MaintenanceExclusionOptions other) { - if (other == com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) return this; if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } @@ -585,19 +529,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - scope_ = input.readEnum(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + scope_ = input.readEnum(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -610,71 +552,55 @@ public Builder mergeFrom( private int scope_ = 0; /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override - public int getScopeValue() { + @java.lang.Override public int getScopeValue() { return scope_; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The scope. */ @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = - com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null - ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED - : result; + com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @param value The scope to set. * @return This builder for chaining. */ @@ -682,32 +608,29 @@ public Builder setScope(com.google.container.v1beta1.MaintenanceExclusionOptions if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -717,12 +640,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaintenanceExclusionOptions) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenanceExclusionOptions) private static final com.google.container.v1beta1.MaintenanceExclusionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaintenanceExclusionOptions(); } @@ -731,27 +654,27 @@ public static com.google.container.v1beta1.MaintenanceExclusionOptions getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceExclusionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceExclusionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -766,4 +689,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.MaintenanceExclusionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java similarity index 57% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java index 244f049f91ac..e06968dd9317 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java @@ -1,51 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MaintenanceExclusionOptionsOrBuilder - extends +public interface MaintenanceExclusionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaintenanceExclusionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** - * - * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; - * * @return The scope. */ com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java similarity index 71% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java index cb7df4583a4c..1b16fb7471c2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * MaintenancePolicy defines the maintenance policy to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.MaintenancePolicy} */ -public final class MaintenancePolicy extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaintenancePolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaintenancePolicy) MaintenancePolicyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaintenancePolicy.newBuilder() to construct. private MaintenancePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaintenancePolicy() { resourceVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaintenancePolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenancePolicy.class, - com.google.container.v1beta1.MaintenancePolicy.Builder.class); + com.google.container.v1beta1.MaintenancePolicy.class, com.google.container.v1beta1.MaintenancePolicy.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1beta1.MaintenanceWindow window_; /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; - * * @return Whether the window field is set. */ @java.lang.Override @@ -85,25 +63,18 @@ public boolean hasWindow() { return window_ != null; } /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; - * * @return The window. */ @java.lang.Override public com.google.container.v1beta1.MaintenanceWindow getWindow() { - return window_ == null - ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() : window_; } /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -118,8 +89,6 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde public static final int RESOURCE_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object resourceVersion_; /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -129,7 +98,6 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde
    * 
* * string resource_version = 3; - * * @return The resourceVersion. */ @java.lang.Override @@ -138,15 +106,14 @@ public java.lang.String getResourceVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; } } /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -156,15 +123,16 @@ public java.lang.String getResourceVersion() {
    * 
* * string resource_version = 3; - * * @return The bytes for resourceVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceVersionBytes() { + public com.google.protobuf.ByteString + getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -173,7 +141,6 @@ public com.google.protobuf.ByteString getResourceVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -202,7 +170,8 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resourceVersion_); @@ -215,19 +184,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaintenancePolicy)) { return super.equals(obj); } - com.google.container.v1beta1.MaintenancePolicy other = - (com.google.container.v1beta1.MaintenancePolicy) obj; + com.google.container.v1beta1.MaintenancePolicy other = (com.google.container.v1beta1.MaintenancePolicy) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow().equals(other.getWindow())) return false; + if (!getWindow() + .equals(other.getWindow())) return false; } - if (!getResourceVersion().equals(other.getResourceVersion())) return false; + if (!getResourceVersion() + .equals(other.getResourceVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -250,136 +220,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MaintenancePolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenancePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom( 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.MaintenancePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MaintenancePolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MaintenancePolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenancePolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MaintenancePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MaintenancePolicy defines the maintenance policy to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.MaintenancePolicy} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaintenancePolicy) com.google.container.v1beta1.MaintenancePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenancePolicy.class, - com.google.container.v1beta1.MaintenancePolicy.Builder.class); + com.google.container.v1beta1.MaintenancePolicy.class, com.google.container.v1beta1.MaintenancePolicy.Builder.class); } // Construct using com.google.container.v1beta1.MaintenancePolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -395,9 +359,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; } @java.lang.Override @@ -416,8 +380,7 @@ public com.google.container.v1beta1.MaintenancePolicy build() { @java.lang.Override public com.google.container.v1beta1.MaintenancePolicy buildPartial() { - com.google.container.v1beta1.MaintenancePolicy result = - new com.google.container.v1beta1.MaintenancePolicy(this); + com.google.container.v1beta1.MaintenancePolicy result = new com.google.container.v1beta1.MaintenancePolicy(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -432,39 +395,38 @@ public com.google.container.v1beta1.MaintenancePolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaintenancePolicy) { - return mergeFrom((com.google.container.v1beta1.MaintenancePolicy) other); + return mergeFrom((com.google.container.v1beta1.MaintenancePolicy)other); } else { super.mergeFrom(other); return this; @@ -506,25 +468,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 26: - { - resourceVersion_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getWindowFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 26: { + resourceVersion_ = input.readStringRequireUtf8(); + + 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) { @@ -537,47 +498,34 @@ public Builder mergeFrom( private com.google.container.v1beta1.MaintenanceWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceWindow, - com.google.container.v1beta1.MaintenanceWindow.Builder, - com.google.container.v1beta1.MaintenanceWindowOrBuilder> - windowBuilder_; + com.google.container.v1beta1.MaintenanceWindow, com.google.container.v1beta1.MaintenanceWindow.Builder, com.google.container.v1beta1.MaintenanceWindowOrBuilder> windowBuilder_; /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; - * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; - * * @return The window. */ public com.google.container.v1beta1.MaintenanceWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null - ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() : window_; } else { return windowBuilder_.getMessage(); } } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -598,8 +546,6 @@ public Builder setWindow(com.google.container.v1beta1.MaintenanceWindow value) { return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -618,8 +564,6 @@ public Builder setWindow( return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -630,9 +574,7 @@ public Builder mergeWindow(com.google.container.v1beta1.MaintenanceWindow value) if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1beta1.MaintenanceWindow.newBuilder(window_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MaintenanceWindow.newBuilder(window_).mergeFrom(value).buildPartial(); } else { window_ = value; } @@ -644,8 +586,6 @@ public Builder mergeWindow(com.google.container.v1beta1.MaintenanceWindow value) return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -664,8 +604,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -673,13 +611,11 @@ public Builder clearWindow() { * .google.container.v1beta1.MaintenanceWindow window = 1; */ public com.google.container.v1beta1.MaintenanceWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -690,14 +626,11 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null - ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() - : window_; + return window_ == null ? + com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() : window_; } } /** - * - * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -705,17 +638,14 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde * .google.container.v1beta1.MaintenanceWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceWindow, - com.google.container.v1beta1.MaintenanceWindow.Builder, - com.google.container.v1beta1.MaintenanceWindowOrBuilder> + com.google.container.v1beta1.MaintenanceWindow, com.google.container.v1beta1.MaintenanceWindow.Builder, com.google.container.v1beta1.MaintenanceWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceWindow, - com.google.container.v1beta1.MaintenanceWindow.Builder, - com.google.container.v1beta1.MaintenanceWindowOrBuilder>( - getWindow(), getParentForChildren(), isClean()); + windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenanceWindow, com.google.container.v1beta1.MaintenanceWindow.Builder, com.google.container.v1beta1.MaintenanceWindowOrBuilder>( + getWindow(), + getParentForChildren(), + isClean()); window_ = null; } return windowBuilder_; @@ -723,8 +653,6 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde private java.lang.Object resourceVersion_ = ""; /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -734,13 +662,13 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde
      * 
* * string resource_version = 3; - * * @return The resourceVersion. */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; @@ -749,8 +677,6 @@ public java.lang.String getResourceVersion() { } } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -760,14 +686,15 @@ public java.lang.String getResourceVersion() {
      * 
* * string resource_version = 3; - * * @return The bytes for resourceVersion. */ - public com.google.protobuf.ByteString getResourceVersionBytes() { + public com.google.protobuf.ByteString + getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -775,8 +702,6 @@ public com.google.protobuf.ByteString getResourceVersionBytes() { } } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -786,22 +711,20 @@ public com.google.protobuf.ByteString getResourceVersionBytes() {
      * 
* * string resource_version = 3; - * * @param value The resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersion(java.lang.String value) { + public Builder setResourceVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceVersion_ = value; onChanged(); return this; } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -811,18 +734,15 @@ public Builder setResourceVersion(java.lang.String value) {
      * 
* * string resource_version = 3; - * * @return This builder for chaining. */ public Builder clearResourceVersion() { - + resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** - * - * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -832,23 +752,23 @@ public Builder clearResourceVersion() {
      * 
* * string resource_version = 3; - * * @param value The bytes for resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { + public Builder setResourceVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceVersion_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -858,12 +778,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaintenancePolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenancePolicy) private static final com.google.container.v1beta1.MaintenancePolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaintenancePolicy(); } @@ -872,27 +792,27 @@ public static com.google.container.v1beta1.MaintenancePolicy getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenancePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenancePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -907,4 +827,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MaintenancePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java index 328c4f431c81..1ddaac379c23 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MaintenancePolicyOrBuilder - extends +public interface MaintenancePolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaintenancePolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; - * * @return Whether the window field is set. */ boolean hasWindow(); /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; - * * @return The window. */ com.google.container.v1beta1.MaintenanceWindow getWindow(); /** - * - * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -59,8 +35,6 @@ public interface MaintenancePolicyOrBuilder com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilder(); /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -70,13 +44,10 @@ public interface MaintenancePolicyOrBuilder
    * 
* * string resource_version = 3; - * * @return The resourceVersion. */ java.lang.String getResourceVersion(); /** - * - * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -86,8 +57,8 @@ public interface MaintenancePolicyOrBuilder
    * 
* * string resource_version = 3; - * * @return The bytes for resourceVersion. */ - com.google.protobuf.ByteString getResourceVersionBytes(); + com.google.protobuf.ByteString + getResourceVersionBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java index b8b296867225..56c4db9bfd14 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java @@ -1,93 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * MaintenanceWindow defines the maintenance window to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceWindow} */ -public final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaintenanceWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaintenanceWindow) MaintenanceWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaintenanceWindow.newBuilder() to construct. private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MaintenanceWindow() {} + private MaintenanceWindow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceWindow.class, - com.google.container.v1beta1.MaintenanceWindow.Builder.class); + com.google.container.v1beta1.MaintenanceWindow.class, com.google.container.v1beta1.MaintenanceWindow.Builder.class); } private int policyCase_ = 0; private java.lang.Object policy_; - public enum PolicyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DAILY_MAINTENANCE_WINDOW(2), RECURRING_WINDOW(3), POLICY_NOT_SET(0); private final int value; - private PolicyCase(int value) { this.value = value; } @@ -103,36 +83,30 @@ public static PolicyCase valueOf(int value) { public static PolicyCase forNumber(int value) { switch (value) { - case 2: - return DAILY_MAINTENANCE_WINDOW; - case 3: - return RECURRING_WINDOW; - case 0: - return POLICY_NOT_SET; - default: - return null; + case 2: return DAILY_MAINTENANCE_WINDOW; + case 3: return RECURRING_WINDOW; + case 0: return POLICY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public PolicyCase getPolicyCase() { - return PolicyCase.forNumber(policyCase_); + public PolicyCase + getPolicyCase() { + return PolicyCase.forNumber( + policyCase_); } public static final int DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER = 2; /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -140,26 +114,21 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return The dailyMaintenanceWindow. */ @java.lang.Override public com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWindow() { if (policyCase_ == 2) { - return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; } return com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance(); } /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -167,18 +136,15 @@ public com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWi * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder - getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { if (policyCase_ == 2) { - return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; } return com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance(); } public static final int RECURRING_WINDOW_FIELD_NUMBER = 3; /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -186,7 +152,6 @@ public com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWi
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; - * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -194,8 +159,6 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -203,19 +166,16 @@ public boolean hasRecurringWindow() {
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; - * * @return The recurringWindow. */ @java.lang.Override public com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow() { if (policyCase_ == 3) { - return (com.google.container.v1beta1.RecurringTimeWindow) policy_; + return (com.google.container.v1beta1.RecurringTimeWindow) policy_; } return com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance(); } /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -227,32 +187,27 @@ public com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow() {
   @java.lang.Override
   public com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder() {
     if (policyCase_ == 3) {
-      return (com.google.container.v1beta1.RecurringTimeWindow) policy_;
+       return (com.google.container.v1beta1.RecurringTimeWindow) policy_;
     }
     return com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance();
   }
 
   public static final int MAINTENANCE_EXCLUSIONS_FIELD_NUMBER = 4;
-
   private static final class MaintenanceExclusionsDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-            java.lang.String, com.google.container.v1beta1.TimeWindow>
-        defaultEntry =
+        java.lang.String, com.google.container.v1beta1.TimeWindow> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.container.v1beta1.ClusterServiceProto
-                        .internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.container.v1beta1.TimeWindow.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.container.v1beta1.TimeWindow.getDefaultInstance());
   }
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.container.v1beta1.TimeWindow> maintenanceExclusions_;
   private com.google.protobuf.MapField
-      maintenanceExclusions_;
-
-  private com.google.protobuf.MapField
-      internalGetMaintenanceExclusions() {
+  internalGetMaintenanceExclusions() {
     if (maintenanceExclusions_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
@@ -264,84 +219,72 @@ public int getMaintenanceExclusionsCount() {
     return internalGetMaintenanceExclusions().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override - public boolean containsMaintenanceExclusions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMaintenanceExclusions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMaintenanceExclusions().getMap().containsKey(key); } - /** Use {@link #getMaintenanceExclusionsMap()} instead. */ + /** + * Use {@link #getMaintenanceExclusionsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getMaintenanceExclusions() { + public java.util.Map getMaintenanceExclusions() { return getMaintenanceExclusionsMap(); } /** - * - * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ @java.lang.Override - public java.util.Map - getMaintenanceExclusionsMap() { + + public java.util.Map getMaintenanceExclusionsMap() { return internalGetMaintenanceExclusions().getMap(); } /** - * - * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ @java.lang.Override + public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( - java.lang.String key, com.google.container.v1beta1.TimeWindow defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.container.v1beta1.TimeWindow defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMaintenanceExclusions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ @java.lang.Override + public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMaintenanceExclusions().getMap(); if (!map.containsKey(key)) { @@ -351,7 +294,6 @@ public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -363,14 +305,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (policyCase_ == 2) { output.writeMessage(2, (com.google.container.v1beta1.DailyMaintenanceWindow) policy_); } if (policyCase_ == 3) { output.writeMessage(3, (com.google.container.v1beta1.RecurringTimeWindow) policy_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetMaintenanceExclusions(), MaintenanceExclusionsDefaultEntryHolder.defaultEntry, @@ -385,25 +329,22 @@ public int getSerializedSize() { size = 0; if (policyCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.container.v1beta1.DailyMaintenanceWindow) policy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.container.v1beta1.DailyMaintenanceWindow) policy_); } if (policyCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.container.v1beta1.RecurringTimeWindow) policy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.container.v1beta1.RecurringTimeWindow) policy_); } - for (java.util.Map.Entry entry : - internalGetMaintenanceExclusions().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetMaintenanceExclusions().getMap().entrySet()) { com.google.protobuf.MapEntry - maintenanceExclusions__ = - MaintenanceExclusionsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, maintenanceExclusions__); + maintenanceExclusions__ = MaintenanceExclusionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, maintenanceExclusions__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -413,23 +354,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaintenanceWindow)) { return super.equals(obj); } - com.google.container.v1beta1.MaintenanceWindow other = - (com.google.container.v1beta1.MaintenanceWindow) obj; + com.google.container.v1beta1.MaintenanceWindow other = (com.google.container.v1beta1.MaintenanceWindow) obj; - if (!internalGetMaintenanceExclusions().equals(other.internalGetMaintenanceExclusions())) - return false; + if (!internalGetMaintenanceExclusions().equals( + other.internalGetMaintenanceExclusions())) return false; if (!getPolicyCase().equals(other.getPolicyCase())) return false; switch (policyCase_) { case 2: - if (!getDailyMaintenanceWindow().equals(other.getDailyMaintenanceWindow())) return false; + if (!getDailyMaintenanceWindow() + .equals(other.getDailyMaintenanceWindow())) return false; break; case 3: - if (!getRecurringWindow().equals(other.getRecurringWindow())) return false; + if (!getRecurringWindow() + .equals(other.getRecurringWindow())) return false; break; case 0: default: @@ -466,156 +408,152 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MaintenanceWindow parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom( 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.MaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MaintenanceWindow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MaintenanceWindow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenanceWindow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MaintenanceWindow defines the maintenance window to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaintenanceWindow) com.google.container.v1beta1.MaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableMaintenanceExclusions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceWindow.class, - com.google.container.v1beta1.MaintenanceWindow.Builder.class); + com.google.container.v1beta1.MaintenanceWindow.class, com.google.container.v1beta1.MaintenanceWindow.Builder.class); } // Construct using com.google.container.v1beta1.MaintenanceWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -632,9 +570,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; } @java.lang.Override @@ -653,8 +591,7 @@ public com.google.container.v1beta1.MaintenanceWindow build() { @java.lang.Override public com.google.container.v1beta1.MaintenanceWindow buildPartial() { - com.google.container.v1beta1.MaintenanceWindow result = - new com.google.container.v1beta1.MaintenanceWindow(this); + com.google.container.v1beta1.MaintenanceWindow result = new com.google.container.v1beta1.MaintenanceWindow(this); int from_bitField0_ = bitField0_; if (policyCase_ == 2) { if (dailyMaintenanceWindowBuilder_ == null) { @@ -681,39 +618,38 @@ public com.google.container.v1beta1.MaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaintenanceWindow) { - return mergeFrom((com.google.container.v1beta1.MaintenanceWindow) other); + return mergeFrom((com.google.container.v1beta1.MaintenanceWindow)other); } else { super.mergeFrom(other); return this; @@ -722,22 +658,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1beta1.MaintenanceWindow other) { if (other == com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance()) return this; - internalGetMutableMaintenanceExclusions().mergeFrom(other.internalGetMaintenanceExclusions()); + internalGetMutableMaintenanceExclusions().mergeFrom( + other.internalGetMaintenanceExclusions()); switch (other.getPolicyCase()) { - case DAILY_MAINTENANCE_WINDOW: - { - mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); - break; - } - case RECURRING_WINDOW: - { - mergeRecurringWindow(other.getRecurringWindow()); - break; - } - case POLICY_NOT_SET: - { - break; - } + case DAILY_MAINTENANCE_WINDOW: { + mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); + break; + } + case RECURRING_WINDOW: { + mergeRecurringWindow(other.getRecurringWindow()); + break; + } + case POLICY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -765,39 +699,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage( - getDailyMaintenanceWindowFieldBuilder().getBuilder(), extensionRegistry); - policyCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getRecurringWindowFieldBuilder().getBuilder(), extensionRegistry); - policyCase_ = 3; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry< - java.lang.String, com.google.container.v1beta1.TimeWindow> - maintenanceExclusions__ = - input.readMessage( - MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableMaintenanceExclusions() - .getMutableMap() - .put(maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getDailyMaintenanceWindowFieldBuilder().getBuilder(), + extensionRegistry); + policyCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getRecurringWindowFieldBuilder().getBuilder(), + extensionRegistry); + policyCase_ = 3; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + maintenanceExclusions__ = input.readMessage( + MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableMaintenanceExclusions().getMutableMap().put( + maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); + 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) { @@ -807,12 +736,12 @@ public Builder mergeFrom( } // finally return this; } - private int policyCase_ = 0; private java.lang.Object policy_; - - public PolicyCase getPolicyCase() { - return PolicyCase.forNumber(policyCase_); + public PolicyCase + getPolicyCase() { + return PolicyCase.forNumber( + policyCase_); } public Builder clearPolicy() { @@ -825,19 +754,13 @@ public Builder clearPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DailyMaintenanceWindow, - com.google.container.v1beta1.DailyMaintenanceWindow.Builder, - com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> - dailyMaintenanceWindowBuilder_; + com.google.container.v1beta1.DailyMaintenanceWindow, com.google.container.v1beta1.DailyMaintenanceWindow.Builder, com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> dailyMaintenanceWindowBuilder_; /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -845,14 +768,11 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return The dailyMaintenanceWindow. */ @java.lang.Override @@ -870,16 +790,13 @@ public com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWi } } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public Builder setDailyMaintenanceWindow( - com.google.container.v1beta1.DailyMaintenanceWindow value) { + public Builder setDailyMaintenanceWindow(com.google.container.v1beta1.DailyMaintenanceWindow value) { if (dailyMaintenanceWindowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -893,8 +810,6 @@ public Builder setDailyMaintenanceWindow( return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -913,25 +828,18 @@ public Builder setDailyMaintenanceWindow( return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public Builder mergeDailyMaintenanceWindow( - com.google.container.v1beta1.DailyMaintenanceWindow value) { + public Builder mergeDailyMaintenanceWindow(com.google.container.v1beta1.DailyMaintenanceWindow value) { if (dailyMaintenanceWindowBuilder_ == null) { - if (policyCase_ == 2 - && policy_ - != com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) { - policy_ = - com.google.container.v1beta1.DailyMaintenanceWindow.newBuilder( - (com.google.container.v1beta1.DailyMaintenanceWindow) policy_) - .mergeFrom(value) - .buildPartial(); + if (policyCase_ == 2 && + policy_ != com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) { + policy_ = com.google.container.v1beta1.DailyMaintenanceWindow.newBuilder((com.google.container.v1beta1.DailyMaintenanceWindow) policy_) + .mergeFrom(value).buildPartial(); } else { policy_ = value; } @@ -947,8 +855,6 @@ public Builder mergeDailyMaintenanceWindow( return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -972,21 +878,16 @@ public Builder clearDailyMaintenanceWindow() { return this; } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public com.google.container.v1beta1.DailyMaintenanceWindow.Builder - getDailyMaintenanceWindowBuilder() { + public com.google.container.v1beta1.DailyMaintenanceWindow.Builder getDailyMaintenanceWindowBuilder() { return getDailyMaintenanceWindowFieldBuilder().getBuilder(); } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -994,8 +895,7 @@ public Builder clearDailyMaintenanceWindow() { * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder - getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { if ((policyCase_ == 2) && (dailyMaintenanceWindowBuilder_ != null)) { return dailyMaintenanceWindowBuilder_.getMessageOrBuilder(); } else { @@ -1006,8 +906,6 @@ public Builder clearDailyMaintenanceWindow() { } } /** - * - * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -1015,38 +913,27 @@ public Builder clearDailyMaintenanceWindow() { * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DailyMaintenanceWindow, - com.google.container.v1beta1.DailyMaintenanceWindow.Builder, - com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> + com.google.container.v1beta1.DailyMaintenanceWindow, com.google.container.v1beta1.DailyMaintenanceWindow.Builder, com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> getDailyMaintenanceWindowFieldBuilder() { if (dailyMaintenanceWindowBuilder_ == null) { if (!(policyCase_ == 2)) { policy_ = com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance(); } - dailyMaintenanceWindowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DailyMaintenanceWindow, - com.google.container.v1beta1.DailyMaintenanceWindow.Builder, - com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder>( + dailyMaintenanceWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DailyMaintenanceWindow, com.google.container.v1beta1.DailyMaintenanceWindow.Builder, com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder>( (com.google.container.v1beta1.DailyMaintenanceWindow) policy_, getParentForChildren(), isClean()); policy_ = null; } policyCase_ = 2; - onChanged(); - ; + onChanged();; return dailyMaintenanceWindowBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.RecurringTimeWindow, - com.google.container.v1beta1.RecurringTimeWindow.Builder, - com.google.container.v1beta1.RecurringTimeWindowOrBuilder> - recurringWindowBuilder_; + com.google.container.v1beta1.RecurringTimeWindow, com.google.container.v1beta1.RecurringTimeWindow.Builder, com.google.container.v1beta1.RecurringTimeWindowOrBuilder> recurringWindowBuilder_; /** - * - * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1054,7 +941,6 @@ public Builder clearDailyMaintenanceWindow() {
      * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; - * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -1062,8 +948,6 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** - * - * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1071,7 +955,6 @@ public boolean hasRecurringWindow() {
      * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; - * * @return The recurringWindow. */ @java.lang.Override @@ -1089,8 +972,6 @@ public com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow() { } } /** - * - * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1113,8 +994,6 @@ public Builder setRecurringWindow(com.google.container.v1beta1.RecurringTimeWind
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1135,8 +1014,6 @@ public Builder setRecurringWindow(
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1147,13 +1024,10 @@ public Builder setRecurringWindow(
      */
     public Builder mergeRecurringWindow(com.google.container.v1beta1.RecurringTimeWindow value) {
       if (recurringWindowBuilder_ == null) {
-        if (policyCase_ == 3
-            && policy_ != com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) {
-          policy_ =
-              com.google.container.v1beta1.RecurringTimeWindow.newBuilder(
-                      (com.google.container.v1beta1.RecurringTimeWindow) policy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (policyCase_ == 3 &&
+            policy_ != com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) {
+          policy_ = com.google.container.v1beta1.RecurringTimeWindow.newBuilder((com.google.container.v1beta1.RecurringTimeWindow) policy_)
+              .mergeFrom(value).buildPartial();
         } else {
           policy_ = value;
         }
@@ -1169,8 +1043,6 @@ public Builder mergeRecurringWindow(com.google.container.v1beta1.RecurringTimeWi
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1196,8 +1068,6 @@ public Builder clearRecurringWindow() {
       return this;
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1210,8 +1080,6 @@ public com.google.container.v1beta1.RecurringTimeWindow.Builder getRecurringWind
       return getRecurringWindowFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1232,8 +1100,6 @@ public com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWin
       }
     }
     /**
-     *
-     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1243,50 +1109,40 @@ public com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWin
      * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.RecurringTimeWindow,
-            com.google.container.v1beta1.RecurringTimeWindow.Builder,
-            com.google.container.v1beta1.RecurringTimeWindowOrBuilder>
+        com.google.container.v1beta1.RecurringTimeWindow, com.google.container.v1beta1.RecurringTimeWindow.Builder, com.google.container.v1beta1.RecurringTimeWindowOrBuilder> 
         getRecurringWindowFieldBuilder() {
       if (recurringWindowBuilder_ == null) {
         if (!(policyCase_ == 3)) {
           policy_ = com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance();
         }
-        recurringWindowBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.RecurringTimeWindow,
-                com.google.container.v1beta1.RecurringTimeWindow.Builder,
-                com.google.container.v1beta1.RecurringTimeWindowOrBuilder>(
+        recurringWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.RecurringTimeWindow, com.google.container.v1beta1.RecurringTimeWindow.Builder, com.google.container.v1beta1.RecurringTimeWindowOrBuilder>(
                 (com.google.container.v1beta1.RecurringTimeWindow) policy_,
                 getParentForChildren(),
                 isClean());
         policy_ = null;
       }
       policyCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return recurringWindowBuilder_;
     }
 
+    private com.google.protobuf.MapField<
+        java.lang.String, com.google.container.v1beta1.TimeWindow> maintenanceExclusions_;
     private com.google.protobuf.MapField
-        maintenanceExclusions_;
-
-    private com.google.protobuf.MapField
-        internalGetMaintenanceExclusions() {
+    internalGetMaintenanceExclusions() {
       if (maintenanceExclusions_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       return maintenanceExclusions_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableMaintenanceExclusions() {
-      onChanged();
-      ;
+    internalGetMutableMaintenanceExclusions() {
+      onChanged();;
       if (maintenanceExclusions_ == null) {
-        maintenanceExclusions_ =
-            com.google.protobuf.MapField.newMapField(
-                MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
+        maintenanceExclusions_ = com.google.protobuf.MapField.newMapField(
+            MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       if (!maintenanceExclusions_.isMutable()) {
         maintenanceExclusions_ = maintenanceExclusions_.copy();
@@ -1298,84 +1154,72 @@ public int getMaintenanceExclusionsCount() {
       return internalGetMaintenanceExclusions().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override - public boolean containsMaintenanceExclusions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsMaintenanceExclusions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetMaintenanceExclusions().getMap().containsKey(key); } - /** Use {@link #getMaintenanceExclusionsMap()} instead. */ + /** + * Use {@link #getMaintenanceExclusionsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getMaintenanceExclusions() { + public java.util.Map getMaintenanceExclusions() { return getMaintenanceExclusionsMap(); } /** - * - * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ @java.lang.Override - public java.util.Map - getMaintenanceExclusionsMap() { + + public java.util.Map getMaintenanceExclusionsMap() { return internalGetMaintenanceExclusions().getMap(); } /** - * - * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ @java.lang.Override + public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( - java.lang.String key, com.google.container.v1beta1.TimeWindow defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.container.v1beta1.TimeWindow defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMaintenanceExclusions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ @java.lang.Override + public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMaintenanceExclusions().getMap(); if (!map.containsKey(key)) { @@ -1385,75 +1229,72 @@ public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( } public Builder clearMaintenanceExclusions() { - internalGetMutableMaintenanceExclusions().getMutableMap().clear(); + internalGetMutableMaintenanceExclusions().getMutableMap() + .clear(); return this; } /** - * - * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ - public Builder removeMaintenanceExclusions(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableMaintenanceExclusions().getMutableMap().remove(key); + + public Builder removeMaintenanceExclusions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableMaintenanceExclusions().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableMaintenanceExclusions() { + getMutableMaintenanceExclusions() { return internalGetMutableMaintenanceExclusions().getMutableMap(); } /** - * - * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ public Builder putMaintenanceExclusions( - java.lang.String key, com.google.container.v1beta1.TimeWindow value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.container.v1beta1.TimeWindow value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableMaintenanceExclusions().getMutableMap().put(key, value); + internalGetMutableMaintenanceExclusions().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ + public Builder putAllMaintenanceExclusions( java.util.Map values) { - internalGetMutableMaintenanceExclusions().getMutableMap().putAll(values); + internalGetMutableMaintenanceExclusions().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1304,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenanceWindow) private static final com.google.container.v1beta1.MaintenanceWindow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaintenanceWindow(); } @@ -1477,27 +1318,27 @@ public static com.google.container.v1beta1.MaintenanceWindow getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,4 +1353,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MaintenanceWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java similarity index 74% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java index 75fe1d7b4e7f..604b6abb571b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MaintenanceWindowOrBuilder - extends +public interface MaintenanceWindowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return Whether the dailyMaintenanceWindow field is set. */ boolean hasDailyMaintenanceWindow(); /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; - * * @return The dailyMaintenanceWindow. */ com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWindow(); /** - * - * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -59,8 +35,6 @@ public interface MaintenanceWindowOrBuilder com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder(); /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -68,13 +42,10 @@ public interface MaintenanceWindowOrBuilder
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; - * * @return Whether the recurringWindow field is set. */ boolean hasRecurringWindow(); /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -82,13 +53,10 @@ public interface MaintenanceWindowOrBuilder
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; - * * @return The recurringWindow. */ com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow(); /** - * - * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -100,75 +68,65 @@ public interface MaintenanceWindowOrBuilder
   com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder();
 
   /**
-   *
-   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ int getMaintenanceExclusionsCount(); /** - * - * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + */ + boolean containsMaintenanceExclusions( + java.lang.String key); + /** + * Use {@link #getMaintenanceExclusionsMap()} instead. */ - boolean containsMaintenanceExclusions(java.lang.String key); - /** Use {@link #getMaintenanceExclusionsMap()} instead. */ @java.lang.Deprecated java.util.Map - getMaintenanceExclusions(); + getMaintenanceExclusions(); /** - * - * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ java.util.Map - getMaintenanceExclusionsMap(); + getMaintenanceExclusionsMap(); /** - * - * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ /* nullable */ - com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( +com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( java.lang.String key, /* nullable */ - com.google.container.v1beta1.TimeWindow defaultValue); +com.google.container.v1beta1.TimeWindow defaultValue); /** - * - * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - * + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; */ - com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow(java.lang.String key); + + com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( + java.lang.String key); public com.google.container.v1beta1.MaintenanceWindow.PolicyCase getPolicyCase(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java index 45f067c6a9a3..fa3bc51e6acc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ManagedPrometheusConfig defines the configuration for
  * Google Cloud Managed Service for Prometheus.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.ManagedPrometheusConfig}
  */
-public final class ManagedPrometheusConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ManagedPrometheusConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ManagedPrometheusConfig)
     ManagedPrometheusConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ManagedPrometheusConfig.newBuilder() to construct.
   private ManagedPrometheusConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ManagedPrometheusConfig() {}
+  private ManagedPrometheusConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ManagedPrometheusConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ManagedPrometheusConfig.class,
-            com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
+            com.google.container.v1beta1.ManagedPrometheusConfig.class, com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enable Managed Collection.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ManagedPrometheusConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ManagedPrometheusConfig other = - (com.google.container.v1beta1.ManagedPrometheusConfig) obj; + com.google.container.v1beta1.ManagedPrometheusConfig other = (com.google.container.v1beta1.ManagedPrometheusConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,110 +122,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ManagedPrometheusConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ManagedPrometheusConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ManagedPrometheusConfig defines the configuration for
    * Google Cloud Managed Service for Prometheus.
@@ -253,32 +227,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ManagedPrometheusConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ManagedPrometheusConfig)
       com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ManagedPrometheusConfig.class,
-              com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
+              com.google.container.v1beta1.ManagedPrometheusConfig.class, com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ManagedPrometheusConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -288,9 +263,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
@@ -309,8 +284,7 @@ public com.google.container.v1beta1.ManagedPrometheusConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ManagedPrometheusConfig buildPartial() {
-      com.google.container.v1beta1.ManagedPrometheusConfig result =
-          new com.google.container.v1beta1.ManagedPrometheusConfig(this);
+      com.google.container.v1beta1.ManagedPrometheusConfig result = new com.google.container.v1beta1.ManagedPrometheusConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -320,39 +294,38 @@ public com.google.container.v1beta1.ManagedPrometheusConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ManagedPrometheusConfig) {
-        return mergeFrom((com.google.container.v1beta1.ManagedPrometheusConfig) other);
+        return mergeFrom((com.google.container.v1beta1.ManagedPrometheusConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -360,8 +333,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ManagedPrometheusConfig other) {
-      if (other == com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -391,19 +363,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -414,16 +384,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -431,43 +398,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -477,12 +438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ManagedPrometheusConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ManagedPrometheusConfig) private static final com.google.container.v1beta1.ManagedPrometheusConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ManagedPrometheusConfig(); } @@ -491,27 +452,27 @@ public static com.google.container.v1beta1.ManagedPrometheusConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedPrometheusConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedPrometheusConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -526,4 +487,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ManagedPrometheusConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java new file mode 100644 index 000000000000..3145ed29cbde --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ManagedPrometheusConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ManagedPrometheusConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java index f9a870af4e46..ed5ffb90f601 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java @@ -1,72 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Master is the configuration for components on master.
  * 
* * Protobuf type {@code google.container.v1beta1.Master} */ -public final class Master extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Master extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Master) MasterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Master.newBuilder() to construct. private Master(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Master() {} + private Master() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Master(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Master_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Master_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Master.class, - com.google.container.v1beta1.Master.Builder.class); + com.google.container.v1beta1.Master.class, com.google.container.v1beta1.Master.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -96,7 +78,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Master)) { return super.equals(obj); @@ -119,135 +101,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Master parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Master parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Master parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Master parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1beta1.Master parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Master parseFrom( 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.Master parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Master parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Master parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Master parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Master parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Master parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Master parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Master parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.Master prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Master is the configuration for components on master.
    * 
* * Protobuf type {@code google.container.v1beta1.Master} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Master) com.google.container.v1beta1.MasterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Master_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Master_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Master.class, - com.google.container.v1beta1.Master.Builder.class); + com.google.container.v1beta1.Master.class, com.google.container.v1beta1.Master.Builder.class); } // Construct using com.google.container.v1beta1.Master.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -255,9 +232,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_Master_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_descriptor; } @java.lang.Override @@ -285,39 +262,38 @@ public com.google.container.v1beta1.Master buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Master) { - return mergeFrom((com.google.container.v1beta1.Master) other); + return mergeFrom((com.google.container.v1beta1.Master)other); } else { super.mergeFrom(other); return this; @@ -352,13 +328,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -368,9 +343,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -380,12 +355,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Master) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Master) private static final com.google.container.v1beta1.Master DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Master(); } @@ -394,27 +369,27 @@ public static com.google.container.v1beta1.Master getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Master parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Master parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -429,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Master getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index 712788cf5c3d..18e0594dcb19 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * The authentication information for accessing the master endpoint.
  * Authentication can be done using HTTP basic auth or using client
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.MasterAuth}
  */
-public final class MasterAuth extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MasterAuth extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.MasterAuth)
     MasterAuthOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MasterAuth.newBuilder() to construct.
   private MasterAuth(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MasterAuth() {
     username_ = "";
     password_ = "";
@@ -49,35 +31,32 @@ private MasterAuth() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MasterAuth();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_MasterAuth_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.MasterAuth.class,
-            com.google.container.v1beta1.MasterAuth.Builder.class);
+            com.google.container.v1beta1.MasterAuth.class, com.google.container.v1beta1.MasterAuth.Builder.class);
   }
 
   public static final int USERNAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object username_;
   /**
-   *
-   *
    * 
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -89,27 +68,24 @@ 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=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @return The username. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getUsername() { + @java.lang.Deprecated public java.lang.String getUsername() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** - * - * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -121,18 +97,18 @@ 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=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @return The bytes for username. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getUsernameBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -143,8 +119,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -157,27 +131,24 @@ 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=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @return The password. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getPassword() { + @java.lang.Deprecated public java.lang.String getPassword() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -190,18 +161,18 @@ 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=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @return The bytes for password. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getPasswordBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -212,8 +183,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { public static final int CLIENT_CERTIFICATE_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1beta1.ClientCertificateConfig clientCertificateConfig_; /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -221,7 +190,6 @@ public com.google.protobuf.ByteString getPasswordBytes() {
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; - * * @return Whether the clientCertificateConfig field is set. */ @java.lang.Override @@ -229,8 +197,6 @@ public boolean hasClientCertificateConfig() { return clientCertificateConfig_ != null; } /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -238,18 +204,13 @@ public boolean hasClientCertificateConfig() {
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; - * * @return The clientCertificateConfig. */ @java.lang.Override public com.google.container.v1beta1.ClientCertificateConfig getClientCertificateConfig() { - return clientCertificateConfig_ == null - ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() - : clientCertificateConfig_; + return clientCertificateConfig_ == null ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; } /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -259,8 +220,7 @@ public com.google.container.v1beta1.ClientCertificateConfig getClientCertificate
    * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ClientCertificateConfigOrBuilder
-      getClientCertificateConfigOrBuilder() {
+  public com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
     return getClientCertificateConfig();
   }
 
@@ -268,7 +228,6 @@ public com.google.container.v1beta1.ClientCertificateConfig getClientCertificate
   private volatile java.lang.Object clusterCaCertificate_;
   /**
    * string cluster_ca_certificate = 100;
-   *
    * @return The clusterCaCertificate.
    */
   @java.lang.Override
@@ -277,7 +236,8 @@ public java.lang.String getClusterCaCertificate() {
     if (ref instanceof java.lang.String) {
       return (java.lang.String) ref;
     } else {
-      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+      com.google.protobuf.ByteString bs = 
+          (com.google.protobuf.ByteString) ref;
       java.lang.String s = bs.toStringUtf8();
       clusterCaCertificate_ = s;
       return s;
@@ -285,15 +245,16 @@ public java.lang.String getClusterCaCertificate() {
   }
   /**
    * string cluster_ca_certificate = 100;
-   *
    * @return The bytes for clusterCaCertificate.
    */
   @java.lang.Override
-  public com.google.protobuf.ByteString getClusterCaCertificateBytes() {
+  public com.google.protobuf.ByteString
+      getClusterCaCertificateBytes() {
     java.lang.Object ref = clusterCaCertificate_;
     if (ref instanceof java.lang.String) {
-      com.google.protobuf.ByteString b =
-          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+      com.google.protobuf.ByteString b = 
+          com.google.protobuf.ByteString.copyFromUtf8(
+              (java.lang.String) ref);
       clusterCaCertificate_ = b;
       return b;
     } else {
@@ -304,15 +265,12 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() {
   public static final int CLIENT_CERTIFICATE_FIELD_NUMBER = 101;
   private volatile java.lang.Object clientCertificate_;
   /**
-   *
-   *
    * 
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The clientCertificate. */ @java.lang.Override @@ -321,30 +279,30 @@ public java.lang.String getClientCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; } } /** - * - * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The bytes for clientCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -355,15 +313,12 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { public static final int CLIENT_KEY_FIELD_NUMBER = 102; private volatile java.lang.Object clientKey_; /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The clientKey. */ @java.lang.Override @@ -372,30 +327,30 @@ public java.lang.String getClientKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; } } /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The bytes for clientKey. */ @java.lang.Override - public com.google.protobuf.ByteString getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -404,7 +359,6 @@ public com.google.protobuf.ByteString getClientKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -416,7 +370,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -451,8 +406,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } if (clientCertificateConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, getClientCertificateConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getClientCertificateConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, clusterCaCertificate_); @@ -471,22 +426,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MasterAuth)) { return super.equals(obj); } com.google.container.v1beta1.MasterAuth other = (com.google.container.v1beta1.MasterAuth) obj; - if (!getUsername().equals(other.getUsername())) return false; - if (!getPassword().equals(other.getPassword())) return false; + if (!getUsername() + .equals(other.getUsername())) return false; + if (!getPassword() + .equals(other.getPassword())) return false; if (hasClientCertificateConfig() != other.hasClientCertificateConfig()) return false; if (hasClientCertificateConfig()) { - if (!getClientCertificateConfig().equals(other.getClientCertificateConfig())) return false; - } - if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; - if (!getClientCertificate().equals(other.getClientCertificate())) return false; - if (!getClientKey().equals(other.getClientKey())) return false; + if (!getClientCertificateConfig() + .equals(other.getClientCertificateConfig())) return false; + } + if (!getClusterCaCertificate() + .equals(other.getClusterCaCertificate())) return false; + if (!getClientCertificate() + .equals(other.getClientCertificate())) return false; + if (!getClientKey() + .equals(other.getClientKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -517,104 +478,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.MasterAuth parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MasterAuth parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuth parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuth parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuth parseFrom( 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.MasterAuth parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuth parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuth parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuth parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MasterAuth parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MasterAuth parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuth parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuth parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MasterAuth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The authentication information for accessing the master endpoint.
    * Authentication can be done using HTTP basic auth or using client
@@ -623,32 +577,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.MasterAuth}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MasterAuth)
       com.google.container.v1beta1.MasterAuthOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_MasterAuth_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.MasterAuth.class,
-              com.google.container.v1beta1.MasterAuth.Builder.class);
+              com.google.container.v1beta1.MasterAuth.class, com.google.container.v1beta1.MasterAuth.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.MasterAuth.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -672,9 +627,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_MasterAuth_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
@@ -693,8 +648,7 @@ public com.google.container.v1beta1.MasterAuth build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.MasterAuth buildPartial() {
-      com.google.container.v1beta1.MasterAuth result =
-          new com.google.container.v1beta1.MasterAuth(this);
+      com.google.container.v1beta1.MasterAuth result = new com.google.container.v1beta1.MasterAuth(this);
       result.username_ = username_;
       result.password_ = password_;
       if (clientCertificateConfigBuilder_ == null) {
@@ -713,39 +667,38 @@ public com.google.container.v1beta1.MasterAuth buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.MasterAuth) {
-        return mergeFrom((com.google.container.v1beta1.MasterAuth) other);
+        return mergeFrom((com.google.container.v1beta1.MasterAuth)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -803,50 +756,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                username_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                password_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getClientCertificateConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 802:
-              {
-                clusterCaCertificate_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 802
-            case 810:
-              {
-                clientCertificate_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 810
-            case 818:
-              {
-                clientKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 818
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              username_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              password_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getClientCertificateConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 802: {
+              clusterCaCertificate_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 802
+            case 810: {
+              clientCertificate_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 810
+            case 818: {
+              clientKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 818
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -859,8 +806,6 @@ public Builder mergeFrom(
 
     private java.lang.Object username_ = "";
     /**
-     *
-     *
      * 
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -872,16 +817,15 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @return The username. */ - @java.lang.Deprecated - public java.lang.String getUsername() { + @java.lang.Deprecated public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -890,8 +834,6 @@ public java.lang.String getUsername() { } } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -903,17 +845,17 @@ 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=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @return The bytes for username. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getUsernameBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); username_ = b; return b; } else { @@ -921,8 +863,6 @@ public com.google.protobuf.ByteString getUsernameBytes() { } } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -934,25 +874,22 @@ 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=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @param value The username to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setUsername(java.lang.String value) { + @java.lang.Deprecated public Builder setUsername( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -964,21 +901,17 @@ 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=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearUsername() { - + @java.lang.Deprecated public Builder clearUsername() { + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** - * - * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -990,19 +923,18 @@ public Builder clearUsername() {
      * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @param value The bytes for username to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setUsernameBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setUsernameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -1010,8 +942,6 @@ public Builder setUsernameBytes(com.google.protobuf.ByteString value) { private java.lang.Object password_ = ""; /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1024,16 +954,15 @@ 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=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @return The password. */ - @java.lang.Deprecated - public java.lang.String getPassword() { + @java.lang.Deprecated public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -1042,8 +971,6 @@ public java.lang.String getPassword() { } } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1056,17 +983,17 @@ 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=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @return The bytes for password. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getPasswordBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); password_ = b; return b; } else { @@ -1074,8 +1001,6 @@ public com.google.protobuf.ByteString getPasswordBytes() { } } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1088,25 +1013,22 @@ 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=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @param value The password to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPassword(java.lang.String value) { + @java.lang.Deprecated public Builder setPassword( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1119,21 +1041,17 @@ 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=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearPassword() { - + @java.lang.Deprecated public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** - * - * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1146,19 +1064,18 @@ public Builder clearPassword() {
      * 
* * string password = 2 [deprecated = true]; - * - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @param value The bytes for password to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setPasswordBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1166,13 +1083,8 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.ClientCertificateConfig clientCertificateConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClientCertificateConfig, - com.google.container.v1beta1.ClientCertificateConfig.Builder, - com.google.container.v1beta1.ClientCertificateConfigOrBuilder> - clientCertificateConfigBuilder_; + com.google.container.v1beta1.ClientCertificateConfig, com.google.container.v1beta1.ClientCertificateConfig.Builder, com.google.container.v1beta1.ClientCertificateConfigOrBuilder> clientCertificateConfigBuilder_; /** - * - * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1180,15 +1092,12 @@ public Builder setPasswordBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; - * * @return Whether the clientCertificateConfig field is set. */ public boolean hasClientCertificateConfig() { return clientCertificateConfigBuilder_ != null || clientCertificateConfig_ != null; } /** - * - * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1196,21 +1105,16 @@ public boolean hasClientCertificateConfig() {
      * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; - * * @return The clientCertificateConfig. */ public com.google.container.v1beta1.ClientCertificateConfig getClientCertificateConfig() { if (clientCertificateConfigBuilder_ == null) { - return clientCertificateConfig_ == null - ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() - : clientCertificateConfig_; + return clientCertificateConfig_ == null ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; } else { return clientCertificateConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1219,8 +1123,7 @@ public com.google.container.v1beta1.ClientCertificateConfig getClientCertificate
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder setClientCertificateConfig(
-        com.google.container.v1beta1.ClientCertificateConfig value) {
+    public Builder setClientCertificateConfig(com.google.container.v1beta1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1234,8 +1137,6 @@ public Builder setClientCertificateConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1256,8 +1157,6 @@ public Builder setClientCertificateConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1266,15 +1165,11 @@ public Builder setClientCertificateConfig(
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder mergeClientCertificateConfig(
-        com.google.container.v1beta1.ClientCertificateConfig value) {
+    public Builder mergeClientCertificateConfig(com.google.container.v1beta1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (clientCertificateConfig_ != null) {
           clientCertificateConfig_ =
-              com.google.container.v1beta1.ClientCertificateConfig.newBuilder(
-                      clientCertificateConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ClientCertificateConfig.newBuilder(clientCertificateConfig_).mergeFrom(value).buildPartial();
         } else {
           clientCertificateConfig_ = value;
         }
@@ -1286,8 +1181,6 @@ public Builder mergeClientCertificateConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1308,8 +1201,6 @@ public Builder clearClientCertificateConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1318,15 +1209,12 @@ public Builder clearClientCertificateConfig() {
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1beta1.ClientCertificateConfig.Builder
-        getClientCertificateConfigBuilder() {
-
+    public com.google.container.v1beta1.ClientCertificateConfig.Builder getClientCertificateConfigBuilder() {
+      
       onChanged();
       return getClientCertificateConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1335,19 +1223,15 @@ public Builder clearClientCertificateConfig() {
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1beta1.ClientCertificateConfigOrBuilder
-        getClientCertificateConfigOrBuilder() {
+    public com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
       if (clientCertificateConfigBuilder_ != null) {
         return clientCertificateConfigBuilder_.getMessageOrBuilder();
       } else {
-        return clientCertificateConfig_ == null
-            ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance()
-            : clientCertificateConfig_;
+        return clientCertificateConfig_ == null ?
+            com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1357,17 +1241,14 @@ public Builder clearClientCertificateConfig() {
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ClientCertificateConfig,
-            com.google.container.v1beta1.ClientCertificateConfig.Builder,
-            com.google.container.v1beta1.ClientCertificateConfigOrBuilder>
+        com.google.container.v1beta1.ClientCertificateConfig, com.google.container.v1beta1.ClientCertificateConfig.Builder, com.google.container.v1beta1.ClientCertificateConfigOrBuilder> 
         getClientCertificateConfigFieldBuilder() {
       if (clientCertificateConfigBuilder_ == null) {
-        clientCertificateConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ClientCertificateConfig,
-                com.google.container.v1beta1.ClientCertificateConfig.Builder,
-                com.google.container.v1beta1.ClientCertificateConfigOrBuilder>(
-                getClientCertificateConfig(), getParentForChildren(), isClean());
+        clientCertificateConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ClientCertificateConfig, com.google.container.v1beta1.ClientCertificateConfig.Builder, com.google.container.v1beta1.ClientCertificateConfigOrBuilder>(
+                getClientCertificateConfig(),
+                getParentForChildren(),
+                isClean());
         clientCertificateConfig_ = null;
       }
       return clientCertificateConfigBuilder_;
@@ -1376,13 +1257,13 @@ public Builder clearClientCertificateConfig() {
     private java.lang.Object clusterCaCertificate_ = "";
     /**
      * string cluster_ca_certificate = 100;
-     *
      * @return The clusterCaCertificate.
      */
     public java.lang.String getClusterCaCertificate() {
       java.lang.Object ref = clusterCaCertificate_;
       if (!(ref instanceof java.lang.String)) {
-        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+        com.google.protobuf.ByteString bs =
+            (com.google.protobuf.ByteString) ref;
         java.lang.String s = bs.toStringUtf8();
         clusterCaCertificate_ = s;
         return s;
@@ -1392,14 +1273,15 @@ public java.lang.String getClusterCaCertificate() {
     }
     /**
      * string cluster_ca_certificate = 100;
-     *
      * @return The bytes for clusterCaCertificate.
      */
-    public com.google.protobuf.ByteString getClusterCaCertificateBytes() {
+    public com.google.protobuf.ByteString
+        getClusterCaCertificateBytes() {
       java.lang.Object ref = clusterCaCertificate_;
       if (ref instanceof String) {
-        com.google.protobuf.ByteString b =
-            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+        com.google.protobuf.ByteString b = 
+            com.google.protobuf.ByteString.copyFromUtf8(
+                (java.lang.String) ref);
         clusterCaCertificate_ = b;
         return b;
       } else {
@@ -1408,42 +1290,41 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() {
     }
     /**
      * string cluster_ca_certificate = 100;
-     *
      * @param value The clusterCaCertificate to set.
      * @return This builder for chaining.
      */
-    public Builder setClusterCaCertificate(java.lang.String value) {
+    public Builder setClusterCaCertificate(
+        java.lang.String value) {
       if (value == null) {
-        throw new NullPointerException();
-      }
-
+    throw new NullPointerException();
+  }
+  
       clusterCaCertificate_ = value;
       onChanged();
       return this;
     }
     /**
      * string cluster_ca_certificate = 100;
-     *
      * @return This builder for chaining.
      */
     public Builder clearClusterCaCertificate() {
-
+      
       clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate();
       onChanged();
       return this;
     }
     /**
      * string cluster_ca_certificate = 100;
-     *
      * @param value The bytes for clusterCaCertificate to set.
      * @return This builder for chaining.
      */
-    public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) {
+    public Builder setClusterCaCertificateBytes(
+        com.google.protobuf.ByteString value) {
       if (value == null) {
-        throw new NullPointerException();
-      }
-      checkByteStringIsUtf8(value);
-
+    throw new NullPointerException();
+  }
+  checkByteStringIsUtf8(value);
+      
       clusterCaCertificate_ = value;
       onChanged();
       return this;
@@ -1451,21 +1332,19 @@ public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value
 
     private java.lang.Object clientCertificate_ = "";
     /**
-     *
-     *
      * 
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; @@ -1474,22 +1353,21 @@ public java.lang.String getClientCertificate() { } } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @return The bytes for clientCertificate. */ - public com.google.protobuf.ByteString getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -1497,64 +1375,57 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { } } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @param value The clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificate(java.lang.String value) { + public Builder setClientCertificate( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientCertificate_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @return This builder for chaining. */ public Builder clearClientCertificate() { - + clientCertificate_ = getDefaultInstance().getClientCertificate(); onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; - * * @param value The bytes for clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { + public Builder setClientCertificateBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientCertificate_ = value; onChanged(); return this; @@ -1562,21 +1433,19 @@ public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { private java.lang.Object clientKey_ = ""; /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; @@ -1585,22 +1454,21 @@ public java.lang.String getClientKey() { } } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @return The bytes for clientKey. */ - public com.google.protobuf.ByteString getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clientKey_ = b; return b; } else { @@ -1608,71 +1476,64 @@ public com.google.protobuf.ByteString getClientKeyBytes() { } } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @param value The clientKey to set. * @return This builder for chaining. */ - public Builder setClientKey(java.lang.String value) { + public Builder setClientKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientKey_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @return This builder for chaining. */ public Builder clearClientKey() { - + clientKey_ = getDefaultInstance().getClientKey(); onChanged(); return this; } /** - * - * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; - * * @param value The bytes for clientKey to set. * @return This builder for chaining. */ - public Builder setClientKeyBytes(com.google.protobuf.ByteString value) { + public Builder setClientKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientKey_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1682,12 +1543,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MasterAuth) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuth) private static final com.google.container.v1beta1.MasterAuth DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MasterAuth(); } @@ -1696,27 +1557,27 @@ public static com.google.container.v1beta1.MasterAuth getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1731,4 +1592,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MasterAuth getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java index 0c6c8190b9a9..1a1ec688e57b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MasterAuthOrBuilder - extends +public interface MasterAuthOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MasterAuth) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -37,16 +19,12 @@ public interface MasterAuthOrBuilder
    * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @return The username. */ - @java.lang.Deprecated - java.lang.String getUsername(); + @java.lang.Deprecated java.lang.String getUsername(); /** - * - * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -58,17 +36,14 @@ public interface MasterAuthOrBuilder
    * 
* * string username = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=999 + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1002 * @return The bytes for username. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getUsernameBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getUsernameBytes(); /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -81,16 +56,12 @@ public interface MasterAuthOrBuilder
    * 
* * string password = 2 [deprecated = true]; - * - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @return The password. */ - @java.lang.Deprecated - java.lang.String getPassword(); + @java.lang.Deprecated java.lang.String getPassword(); /** - * - * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -103,17 +74,14 @@ public interface MasterAuthOrBuilder
    * 
* * string password = 2 [deprecated = true]; - * - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=1010 + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=1013 * @return The bytes for password. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getPasswordBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getPasswordBytes(); /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -121,13 +89,10 @@ public interface MasterAuthOrBuilder
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; - * * @return Whether the clientCertificateConfig field is set. */ boolean hasClientCertificateConfig(); /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -135,13 +100,10 @@ public interface MasterAuthOrBuilder
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; - * * @return The clientCertificateConfig. */ com.google.container.v1beta1.ClientCertificateConfig getClientCertificateConfig(); /** - * - * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -150,73 +112,61 @@ public interface MasterAuthOrBuilder
    *
    * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
    */
-  com.google.container.v1beta1.ClientCertificateConfigOrBuilder
-      getClientCertificateConfigOrBuilder();
+  com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder();
 
   /**
    * string cluster_ca_certificate = 100;
-   *
    * @return The clusterCaCertificate.
    */
   java.lang.String getClusterCaCertificate();
   /**
    * string cluster_ca_certificate = 100;
-   *
    * @return The bytes for clusterCaCertificate.
    */
-  com.google.protobuf.ByteString getClusterCaCertificateBytes();
+  com.google.protobuf.ByteString
+      getClusterCaCertificateBytes();
 
   /**
-   *
-   *
    * 
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The clientCertificate. */ java.lang.String getClientCertificate(); /** - * - * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; - * * @return The bytes for clientCertificate. */ - com.google.protobuf.ByteString getClientCertificateBytes(); + com.google.protobuf.ByteString + getClientCertificateBytes(); /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The clientKey. */ java.lang.String getClientKey(); /** - * - * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; - * * @return The bytes for clientKey. */ - com.google.protobuf.ByteString getClientKeyBytes(); + com.google.protobuf.ByteString + getClientKeyBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java index 0b0c8505f6bb..b360c81dccc0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration options for the master authorized networks feature. Enabled
  * master authorized networks will disallow all external traffic to access
@@ -30,121 +13,104 @@
  *
  * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig}
  */
-public final class MasterAuthorizedNetworksConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MasterAuthorizedNetworksConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig)
     MasterAuthorizedNetworksConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MasterAuthorizedNetworksConfig.newBuilder() to construct.
-  private MasterAuthorizedNetworksConfig(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private MasterAuthorizedNetworksConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MasterAuthorizedNetworksConfig() {
     cidrBlocks_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MasterAuthorizedNetworksConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class,
-            com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
+            com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
   }
 
-  public interface CidrBlockOrBuilder
-      extends
+  public interface CidrBlockOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The cidrBlock. */ java.lang.String getCidrBlock(); /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The bytes for cidrBlock. */ - com.google.protobuf.ByteString getCidrBlockBytes(); + com.google.protobuf.ByteString + getCidrBlockBytes(); } /** - * - * *
    * CidrBlock contains an optional name and one CIDR block.
    * 
* * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class CidrBlock extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CidrBlock extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) CidrBlockOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CidrBlock.newBuilder() to construct. private CidrBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CidrBlock() { displayName_ = ""; cidrBlock_ = ""; @@ -152,41 +118,37 @@ private CidrBlock() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CidrBlock(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** - * - * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The displayName. */ @java.lang.Override @@ -195,29 +157,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -228,14 +190,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object cidrBlock_; /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The cidrBlock. */ @java.lang.Override @@ -244,29 +203,29 @@ public java.lang.String getCidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; } } /** - * - * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; - * * @return The bytes for cidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getCidrBlockBytes() { + public com.google.protobuf.ByteString + getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -275,7 +234,6 @@ public com.google.protobuf.ByteString getCidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -317,16 +276,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock)) { return super.equals(obj); } - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other = - (com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) obj; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other = (com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) obj; - if (!getDisplayName().equals(other.getDisplayName())) return false; - if (!getCidrBlock().equals(other.getCidrBlock())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; + if (!getCidrBlock() + .equals(other.getCidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -348,95 +308,87 @@ public int hashCode() { } public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - 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.MasterAuthorizedNetworksConfig.CidrBlock 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { + public static Builder newBuilder(com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -446,43 +398,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * CidrBlock contains an optional name and one CIDR block.
      * 
* * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - .class); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); } - // Construct using - // com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() - private Builder() {} + // Construct using com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -494,22 +442,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - getDefaultInstanceForType() { - return com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance(); + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { + return com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock build() { - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = - buildPartial(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -518,8 +463,7 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock bui @java.lang.Override public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock buildPartial() { - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = - new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(this); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(this); result.displayName_ = displayName_; result.cidrBlock_ = cidrBlock_; onBuilt(); @@ -530,54 +474,46 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.MasterAuthorizedNetworksConfig.CidrBlock) { - return mergeFrom( - (com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) other); + if (other instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) { + return mergeFrom((com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other) { - if (other - == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other) { + if (other == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -612,25 +548,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - cidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + cidrBlock_ = input.readStringRequireUtf8(); + + 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) { @@ -643,20 +576,18 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -665,21 +596,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -687,61 +617,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -749,20 +672,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object cidrBlock_ = ""; /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @return The cidrBlock. */ public java.lang.String getCidrBlock() { java.lang.Object ref = cidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; @@ -771,21 +692,20 @@ public java.lang.String getCidrBlock() { } } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @return The bytes for cidrBlock. */ - public com.google.protobuf.ByteString getCidrBlockBytes() { + public com.google.protobuf.ByteString + getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -793,66 +713,58 @@ public com.google.protobuf.ByteString getCidrBlockBytes() { } } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @param value The cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlock(java.lang.String value) { + public Builder setCidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cidrBlock_ = value; onChanged(); return this; } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @return This builder for chaining. */ public Builder clearCidrBlock() { - + cidrBlock_ = getDefaultInstance().getCidrBlock(); onChanged(); return this; } /** - * - * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; - * * @param value The bytes for cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setCidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cidrBlock_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -865,45 +777,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) - private static final com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(); + DEFAULT_INSTANCE = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - getDefaultInstance() { + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CidrBlock parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CidrBlock parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,24 +823,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - getDefaultInstanceForType() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -941,105 +846,78 @@ public boolean getEnabled() { } public static final int CIDR_BLOCKS_FIELD_NUMBER = 2; - private java.util.List - cidrBlocks_; + private java.util.List cidrBlocks_; /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override - public java.util.List - getCidrBlocksList() { + public java.util.List getCidrBlocksList() { return cidrBlocks_; } /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + public java.util.List getCidrBlocksOrBuilderList() { return cidrBlocks_; } /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override public int getCidrBlocksCount() { return cidrBlocks_.size(); } /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks( - int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { return cidrBlocks_.get(index); } /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder - getCidrBlocksOrBuilder(int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( + int index) { return cidrBlocks_.get(index); } public static final int GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER = 3; private boolean gcpPublicCidrsAccessEnabled_; /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -1047,14 +925,11 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -1063,7 +938,6 @@ public boolean getGcpPublicCidrsAccessEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1075,7 +949,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -1095,14 +970,16 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } for (int i = 0; i < cidrBlocks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, cidrBlocks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, cidrBlocks_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(3, gcpPublicCidrsAccessEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, gcpPublicCidrsAccessEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1112,19 +989,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig)) { return super.equals(obj); } - com.google.container.v1beta1.MasterAuthorizedNetworksConfig other = - (com.google.container.v1beta1.MasterAuthorizedNetworksConfig) obj; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig other = (com.google.container.v1beta1.MasterAuthorizedNetworksConfig) obj; - if (getEnabled() != other.getEnabled()) return false; - if (!getCidrBlocksList().equals(other.getCidrBlocksList())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getCidrBlocksList() + .equals(other.getCidrBlocksList())) return false; if (hasGcpPublicCidrsAccessEnabled() != other.hasGcpPublicCidrsAccessEnabled()) return false; if (hasGcpPublicCidrsAccessEnabled()) { - if (getGcpPublicCidrsAccessEnabled() != other.getGcpPublicCidrsAccessEnabled()) return false; + if (getGcpPublicCidrsAccessEnabled() + != other.getGcpPublicCidrsAccessEnabled()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1138,15 +1017,16 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); if (getCidrBlocksCount() > 0) { hash = (37 * hash) + CIDR_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + getCidrBlocksList().hashCode(); } if (hasGcpPublicCidrsAccessEnabled()) { hash = (37 * hash) + GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getGcpPublicCidrsAccessEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getGcpPublicCidrsAccessEnabled()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1154,104 +1034,96 @@ public int hashCode() { } public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( 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.MasterAuthorizedNetworksConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.MasterAuthorizedNetworksConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the master authorized networks feature. Enabled
    * master authorized networks will disallow all external traffic to access
@@ -1261,32 +1133,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig)
       com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class,
-              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
+              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1305,9 +1178,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1326,8 +1199,7 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.MasterAuthorizedNetworksConfig buildPartial() {
-      com.google.container.v1beta1.MasterAuthorizedNetworksConfig result =
-          new com.google.container.v1beta1.MasterAuthorizedNetworksConfig(this);
+      com.google.container.v1beta1.MasterAuthorizedNetworksConfig result = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.enabled_ = enabled_;
@@ -1353,39 +1225,38 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig) {
-        return mergeFrom((com.google.container.v1beta1.MasterAuthorizedNetworksConfig) other);
+        return mergeFrom((com.google.container.v1beta1.MasterAuthorizedNetworksConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1393,8 +1264,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.MasterAuthorizedNetworksConfig other) {
-      if (other == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -1416,10 +1286,9 @@ public Builder mergeFrom(com.google.container.v1beta1.MasterAuthorizedNetworksCo
             cidrBlocksBuilder_ = null;
             cidrBlocks_ = other.cidrBlocks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cidrBlocksBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCidrBlocksFieldBuilder()
-                    : null;
+            cidrBlocksBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCidrBlocksFieldBuilder() : null;
           } else {
             cidrBlocksBuilder_.addAllMessages(other.cidrBlocks_);
           }
@@ -1454,40 +1323,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
+            case 8: {
+              enabled_ = input.readBool();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock m =
-                    input.readMessage(
-                        com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock
-                            .parser(),
-                        extensionRegistry);
-                if (cidrBlocksBuilder_ == null) {
-                  ensureCidrBlocksIsMutable();
-                  cidrBlocks_.add(m);
-                } else {
-                  cidrBlocksBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                gcpPublicCidrsAccessEnabled_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 8
+            case 18: {
+              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock m =
+                  input.readMessage(
+                      com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.parser(),
+                      extensionRegistry);
+              if (cidrBlocksBuilder_ == null) {
+                ensureCidrBlocksIsMutable();
+                cidrBlocks_.add(m);
+              } else {
+                cidrBlocksBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              gcpPublicCidrsAccessEnabled_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1497,19 +1361,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -1517,73 +1377,56 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private java.util.List - cidrBlocks_ = java.util.Collections.emptyList(); - + private java.util.List cidrBlocks_ = + java.util.Collections.emptyList(); private void ensureCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - cidrBlocks_ = - new java.util.ArrayList< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock>(cidrBlocks_); + cidrBlocks_ = new java.util.ArrayList(cidrBlocks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> - cidrBlocksBuilder_; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> cidrBlocksBuilder_; /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public java.util.List - getCidrBlocksList() { + public java.util.List getCidrBlocksList() { if (cidrBlocksBuilder_ == null) { return java.util.Collections.unmodifiableList(cidrBlocks_); } else { @@ -1591,16 +1434,12 @@ private void ensureCidrBlocksIsMutable() { } } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public int getCidrBlocksCount() { if (cidrBlocksBuilder_ == null) { @@ -1610,19 +1449,14 @@ public int getCidrBlocksCount() { } } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks( - int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { if (cidrBlocksBuilder_ == null) { return cidrBlocks_.get(index); } else { @@ -1630,16 +1464,12 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock get } } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder setCidrBlocks( int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1656,21 +1486,15 @@ public Builder setCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder setCidrBlocks( - int index, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - builderForValue) { + int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.set(index, builderForValue.build()); @@ -1681,19 +1505,14 @@ public Builder setCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public Builder addCidrBlocks( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { + public Builder addCidrBlocks(com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { if (cidrBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1707,16 +1526,12 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addCidrBlocks( int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1733,20 +1548,15 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addCidrBlocks( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - builderForValue) { + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.add(builderForValue.build()); @@ -1757,21 +1567,15 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addCidrBlocks( - int index, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - builderForValue) { + int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.add(index, builderForValue.build()); @@ -1782,24 +1586,19 @@ public Builder addCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder addAllCidrBlocks( - java.lang.Iterable< - ? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock> - values) { + java.lang.Iterable values) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cidrBlocks_); onChanged(); } else { cidrBlocksBuilder_.addAllMessages(values); @@ -1807,16 +1606,12 @@ public Builder addAllCidrBlocks( return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder clearCidrBlocks() { if (cidrBlocksBuilder_ == null) { @@ -1829,16 +1624,12 @@ public Builder clearCidrBlocks() { return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ public Builder removeCidrBlocks(int index) { if (cidrBlocksBuilder_ == null) { @@ -1851,57 +1642,42 @@ public Builder removeCidrBlocks(int index) { return this; } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - getCidrBlocksBuilder(int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder( + int index) { return getCidrBlocksFieldBuilder().getBuilder(index); } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder - getCidrBlocksOrBuilder(int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( + int index) { if (cidrBlocksBuilder_ == null) { - return cidrBlocks_.get(index); - } else { + return cidrBlocks_.get(index); } else { return cidrBlocksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public java.util.List< - ? extends - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> - getCidrBlocksOrBuilderList() { + public java.util.List + getCidrBlocksOrBuilderList() { if (cidrBlocksBuilder_ != null) { return cidrBlocksBuilder_.getMessageOrBuilderList(); } else { @@ -1909,89 +1685,64 @@ public Builder removeCidrBlocks(int index) { } } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - addCidrBlocksBuilder() { - return getCidrBlocksFieldBuilder() - .addBuilder( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance()); + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder() { + return getCidrBlocksFieldBuilder().addBuilder( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder - addCidrBlocksBuilder(int index) { - return getCidrBlocksFieldBuilder() - .addBuilder( - index, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock - .getDefaultInstance()); + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder( + int index) { + return getCidrBlocksFieldBuilder().addBuilder( + index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); } /** - * - * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - public java.util.List< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder> - getCidrBlocksBuilderList() { + public java.util.List + getCidrBlocksBuilderList() { return getCidrBlocksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksFieldBuilder() { if (cidrBlocksBuilder_ == null) { - cidrBlocksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( - cidrBlocks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + cidrBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( + cidrBlocks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); cidrBlocks_ = null; } return cidrBlocksBuilder_; } - private boolean gcpPublicCidrsAccessEnabled_; + private boolean gcpPublicCidrsAccessEnabled_ ; /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -1999,14 +1750,11 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -2014,14 +1762,11 @@ public boolean getGcpPublicCidrsAccessEnabled() { return gcpPublicCidrsAccessEnabled_; } /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @param value The gcpPublicCidrsAccessEnabled to set. * @return This builder for chaining. */ @@ -2032,14 +1777,11 @@ public Builder setGcpPublicCidrsAccessEnabled(boolean value) { return this; } /** - * - * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return This builder for chaining. */ public Builder clearGcpPublicCidrsAccessEnabled() { @@ -2048,9 +1790,9 @@ public Builder clearGcpPublicCidrsAccessEnabled() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2060,12 +1802,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig) private static final com.google.container.v1beta1.MasterAuthorizedNetworksConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig(); } @@ -2074,27 +1816,27 @@ public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuthorizedNetworksConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuthorizedNetworksConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2109,4 +1851,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java similarity index 57% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java index 60afbc078429..fcef0f91293e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java @@ -1,132 +1,86 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface MasterAuthorizedNetworksConfigOrBuilder - extends +public interface MasterAuthorizedNetworksConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MasterAuthorizedNetworksConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - java.util.List + java.util.List getCidrBlocksList(); /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index); /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ int getCidrBlocksCount(); /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - java.util.List< - ? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + java.util.List getCidrBlocksOrBuilderList(); /** - * - * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; - * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder - getCidrBlocksOrBuilder(int index); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( + int index); /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ boolean hasGcpPublicCidrsAccessEnabled(); /** - * - * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; - * * @return The gcpPublicCidrsAccessEnabled. */ boolean getGcpPublicCidrsAccessEnabled(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java new file mode 100644 index 000000000000..3f0b2a408ab9 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface MasterOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Master) + com.google.protobuf.MessageOrBuilder { +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java index 8b677c36a967..25f0068b49a5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Constraints applied to pods.
  * 
* * Protobuf type {@code google.container.v1beta1.MaxPodsConstraint} */ -public final class MaxPodsConstraint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MaxPodsConstraint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaxPodsConstraint) MaxPodsConstraintOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MaxPodsConstraint.newBuilder() to construct. private MaxPodsConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MaxPodsConstraint() {} + private MaxPodsConstraint() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MaxPodsConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaxPodsConstraint.class, - com.google.container.v1beta1.MaxPodsConstraint.Builder.class); + com.google.container.v1beta1.MaxPodsConstraint.class, com.google.container.v1beta1.MaxPodsConstraint.Builder.class); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 1; private long maxPodsPerNode_; /** - * - * *
    * Constraint enforced on the max num of pods per node.
    * 
* * int64 max_pods_per_node = 1; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -84,7 +63,6 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxPodsPerNode_ != 0L) { output.writeInt64(1, maxPodsPerNode_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (maxPodsPerNode_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, maxPodsPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaxPodsConstraint)) { return super.equals(obj); } - com.google.container.v1beta1.MaxPodsConstraint other = - (com.google.container.v1beta1.MaxPodsConstraint) obj; + com.google.container.v1beta1.MaxPodsConstraint other = (com.google.container.v1beta1.MaxPodsConstraint) obj; - if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() + != other.getMaxPodsPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_PODS_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPodsPerNode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxPodsPerNode()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MaxPodsConstraint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MaxPodsConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Constraints applied to pods.
    * 
* * Protobuf type {@code google.container.v1beta1.MaxPodsConstraint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaxPodsConstraint) com.google.container.v1beta1.MaxPodsConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaxPodsConstraint.class, - com.google.container.v1beta1.MaxPodsConstraint.Builder.class); + com.google.container.v1beta1.MaxPodsConstraint.class, com.google.container.v1beta1.MaxPodsConstraint.Builder.class); } // Construct using com.google.container.v1beta1.MaxPodsConstraint.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.MaxPodsConstraint build() { @java.lang.Override public com.google.container.v1beta1.MaxPodsConstraint buildPartial() { - com.google.container.v1beta1.MaxPodsConstraint result = - new com.google.container.v1beta1.MaxPodsConstraint(this); + com.google.container.v1beta1.MaxPodsConstraint result = new com.google.container.v1beta1.MaxPodsConstraint(this); result.maxPodsPerNode_ = maxPodsPerNode_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.MaxPodsConstraint buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaxPodsConstraint) { - return mergeFrom((com.google.container.v1beta1.MaxPodsConstraint) other); + return mergeFrom((com.google.container.v1beta1.MaxPodsConstraint)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - maxPodsPerNode_ = input.readInt64(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + maxPodsPerNode_ = input.readInt64(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private long maxPodsPerNode_; + private long maxPodsPerNode_ ; /** - * - * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; - * * @return The maxPodsPerNode. */ @java.lang.Override @@ -428,43 +396,37 @@ public long getMaxPodsPerNode() { return maxPodsPerNode_; } /** - * - * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; - * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ public Builder setMaxPodsPerNode(long value) { - + maxPodsPerNode_ = value; onChanged(); return this; } /** - * - * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; - * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { - + maxPodsPerNode_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaxPodsConstraint) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaxPodsConstraint) private static final com.google.container.v1beta1.MaxPodsConstraint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaxPodsConstraint(); } @@ -488,27 +450,27 @@ public static com.google.container.v1beta1.MaxPodsConstraint getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaxPodsConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaxPodsConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 000000000000..e0c933709000 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface MaxPodsConstraintOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaxPodsConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Constraint enforced on the max num of pods per node.
+   * 
+ * + * int64 max_pods_per_node = 1; + * @return The maxPodsPerNode. + */ + long getMaxPodsPerNode(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java index fa31bea117f6..f2dd7bbb0d6d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
  * 
* * Protobuf type {@code google.container.v1beta1.MeshCertificates} */ -public final class MeshCertificates extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MeshCertificates extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MeshCertificates) MeshCertificatesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MeshCertificates.newBuilder() to construct. private MeshCertificates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MeshCertificates() {} + private MeshCertificates() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MeshCertificates(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MeshCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MeshCertificates.class, - com.google.container.v1beta1.MeshCertificates.Builder.class); + com.google.container.v1beta1.MeshCertificates.class, com.google.container.v1beta1.MeshCertificates.Builder.class); } public static final int ENABLE_CERTIFICATES_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableCertificates_; /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -81,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean hasEnableCertificates() { return enableCertificates_ != null; } /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -102,18 +79,13 @@ public boolean hasEnableCertificates() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ @java.lang.Override public com.google.protobuf.BoolValue getEnableCertificates() { - return enableCertificates_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : enableCertificates_; + return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; } /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -132,7 +104,6 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -144,7 +115,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (enableCertificates_ != null) {
       output.writeMessage(1, getEnableCertificates());
     }
@@ -158,7 +130,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableCertificates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEnableCertificates());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -168,17 +141,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.MeshCertificates)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.MeshCertificates other =
-        (com.google.container.v1beta1.MeshCertificates) obj;
+    com.google.container.v1beta1.MeshCertificates other = (com.google.container.v1beta1.MeshCertificates) obj;
 
     if (hasEnableCertificates() != other.hasEnableCertificates()) return false;
     if (hasEnableCertificates()) {
-      if (!getEnableCertificates().equals(other.getEnableCertificates())) return false;
+      if (!getEnableCertificates()
+          .equals(other.getEnableCertificates())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -200,136 +173,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.MeshCertificates parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.MeshCertificates parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.MeshCertificates parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
       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.MeshCertificates parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.MeshCertificates parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.MeshCertificates parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.MeshCertificates prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
    * 
* * Protobuf type {@code google.container.v1beta1.MeshCertificates} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MeshCertificates) com.google.container.v1beta1.MeshCertificatesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MeshCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MeshCertificates.class, - com.google.container.v1beta1.MeshCertificates.Builder.class); + com.google.container.v1beta1.MeshCertificates.class, com.google.container.v1beta1.MeshCertificates.Builder.class); } // Construct using com.google.container.v1beta1.MeshCertificates.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +310,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MeshCertificates_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_descriptor; } @java.lang.Override @@ -364,8 +331,7 @@ public com.google.container.v1beta1.MeshCertificates build() { @java.lang.Override public com.google.container.v1beta1.MeshCertificates buildPartial() { - com.google.container.v1beta1.MeshCertificates result = - new com.google.container.v1beta1.MeshCertificates(this); + com.google.container.v1beta1.MeshCertificates result = new com.google.container.v1beta1.MeshCertificates(this); if (enableCertificatesBuilder_ == null) { result.enableCertificates_ = enableCertificates_; } else { @@ -379,39 +345,38 @@ public com.google.container.v1beta1.MeshCertificates buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MeshCertificates) { - return mergeFrom((com.google.container.v1beta1.MeshCertificates) other); + return mergeFrom((com.google.container.v1beta1.MeshCertificates)other); } else { super.mergeFrom(other); return this; @@ -449,20 +414,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getEnableCertificatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getEnableCertificatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -475,13 +439,8 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - enableCertificatesBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableCertificatesBuilder_; /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -493,15 +452,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ public boolean hasEnableCertificates() { return enableCertificatesBuilder_ != null || enableCertificates_ != null; } /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -513,21 +469,16 @@ public boolean hasEnableCertificates() {
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ public com.google.protobuf.BoolValue getEnableCertificates() { if (enableCertificatesBuilder_ == null) { - return enableCertificates_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : enableCertificates_; + return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; } else { return enableCertificatesBuilder_.getMessage(); } } /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -554,8 +505,6 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -568,7 +517,8 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
-    public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableCertificates(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableCertificatesBuilder_ == null) {
         enableCertificates_ = builderForValue.build();
         onChanged();
@@ -579,8 +529,6 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -597,9 +545,7 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       if (enableCertificatesBuilder_ == null) {
         if (enableCertificates_ != null) {
           enableCertificates_ =
-              com.google.protobuf.BoolValue.newBuilder(enableCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(enableCertificates_).mergeFrom(value).buildPartial();
         } else {
           enableCertificates_ = value;
         }
@@ -611,8 +557,6 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -637,8 +581,6 @@ public Builder clearEnableCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -652,13 +594,11 @@ public Builder clearEnableCertificates() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableCertificatesBuilder() {
-
+      
       onChanged();
       return getEnableCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -675,14 +615,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
       if (enableCertificatesBuilder_ != null) {
         return enableCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return enableCertificates_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : enableCertificates_;
+        return enableCertificates_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -696,24 +633,21 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getEnableCertificatesFieldBuilder() {
       if (enableCertificatesBuilder_ == null) {
-        enableCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getEnableCertificates(), getParentForChildren(), isClean());
+        enableCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getEnableCertificates(),
+                getParentForChildren(),
+                isClean());
         enableCertificates_ = null;
       }
       return enableCertificatesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -723,12 +657,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MeshCertificates)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.MeshCertificates)
   private static final com.google.container.v1beta1.MeshCertificates DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.MeshCertificates();
   }
@@ -737,27 +671,27 @@ public static com.google.container.v1beta1.MeshCertificates getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MeshCertificates parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MeshCertificates parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -772,4 +706,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.MeshCertificates getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
similarity index 75%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
index 096f7abaa563..d4063c2d5cb7 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface MeshCertificatesOrBuilder
-    extends
+public interface MeshCertificatesOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MeshCertificates)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -37,13 +19,10 @@ public interface MeshCertificatesOrBuilder
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ boolean hasEnableCertificates(); /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -55,13 +34,10 @@ public interface MeshCertificatesOrBuilder
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ com.google.protobuf.BoolValue getEnableCertificates(); /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
similarity index 65%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
index f3895b280157..e91d0ad1ab7c 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
@@ -1,85 +1,63 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * MonitoringComponentConfig is cluster monitoring component configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.MonitoringComponentConfig} */ -public final class MonitoringComponentConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MonitoringComponentConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MonitoringComponentConfig) MonitoringComponentConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MonitoringComponentConfig.newBuilder() to construct. private MonitoringComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MonitoringComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MonitoringComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringComponentConfig.class, - com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); + com.google.container.v1beta1.MonitoringComponentConfig.class, com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); } /** - * - * *
    * GKE components exposing metrics
    * 
* * Protobuf enum {@code google.container.v1beta1.MonitoringComponentConfig.Component} */ - public enum Component implements com.google.protobuf.ProtocolMessageEnum { + public enum Component + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -88,8 +66,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ COMPONENT_UNSPECIFIED(0), /** - * - * *
      * system components
      * 
@@ -98,8 +74,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SYSTEM_COMPONENTS(1), /** - * - * *
      * Deprecated: Use Google Cloud Managed Service for Prometheus.
      * 
@@ -109,8 +83,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { @java.lang.Deprecated WORKLOADS(2), /** - * - * *
      * kube-apiserver
      * 
@@ -119,8 +91,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ APISERVER(3), /** - * - * *
      * kube-scheduler
      * 
@@ -129,8 +99,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ SCHEDULER(4), /** - * - * *
      * kube-controller-manager
      * 
@@ -142,8 +110,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This shouldn't be used.
      * 
@@ -152,8 +118,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * system components
      * 
@@ -162,8 +126,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** - * - * *
      * Deprecated: Use Google Cloud Managed Service for Prometheus.
      * 
@@ -172,8 +134,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ @java.lang.Deprecated public static final int WORKLOADS_VALUE = 2; /** - * - * *
      * kube-apiserver
      * 
@@ -182,8 +142,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APISERVER_VALUE = 3; /** - * - * *
      * kube-scheduler
      * 
@@ -192,8 +150,6 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEDULER_VALUE = 4; /** - * - * *
      * kube-controller-manager
      * 
@@ -202,6 +158,7 @@ public enum Component implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTROLLER_MANAGER_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -226,57 +183,52 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: - return COMPONENT_UNSPECIFIED; - case 1: - return SYSTEM_COMPONENTS; - case 2: - return WORKLOADS; - case 3: - return APISERVER; - case 4: - return SCHEDULER; - case 5: - return CONTROLLER_MANAGER; - default: - return null; + case 0: return COMPONENT_UNSPECIFIED; + case 1: return SYSTEM_COMPONENTS; + case 2: return WORKLOADS; + case 3: return APISERVER; + case 4: return SCHEDULER; + case 5: return CONTROLLER_MANAGER; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Component> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1beta1.MonitoringComponentConfig.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1beta1.MonitoringComponentConfig.getDescriptor().getEnumTypes().get(0); } private static final Component[] VALUES = values(); - public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -296,54 +248,36 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component> - enableComponents_converter_ = + java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component> enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, - com.google.container.v1beta1.MonitoringComponentConfig.Component>() { - public com.google.container.v1beta1.MonitoringComponentConfig.Component convert( - java.lang.Integer from) { + java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>() { + public com.google.container.v1beta1.MonitoringComponentConfig.Component convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1beta1.MonitoringComponentConfig.Component result = - com.google.container.v1beta1.MonitoringComponentConfig.Component.valueOf(from); - return result == null - ? com.google.container.v1beta1.MonitoringComponentConfig.Component.UNRECOGNIZED - : result; + com.google.container.v1beta1.MonitoringComponentConfig.Component result = com.google.container.v1beta1.MonitoringComponentConfig.Component.valueOf(from); + return result == null ? com.google.container.v1beta1.MonitoringComponentConfig.Component.UNRECOGNIZED : result; } }; /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ @java.lang.Override @@ -351,55 +285,40 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents( - int index) { + public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return enableComponents_; } /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -407,11 +326,9 @@ public java.util.List getEnableComponentsValueList() { public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } - private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -423,7 +340,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -444,15 +362,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += - com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -462,13 +379,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MonitoringComponentConfig)) { return super.equals(obj); } - com.google.container.v1beta1.MonitoringComponentConfig other = - (com.google.container.v1beta1.MonitoringComponentConfig) obj; + com.google.container.v1beta1.MonitoringComponentConfig other = (com.google.container.v1beta1.MonitoringComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -492,136 +408,129 @@ public int hashCode() { } public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MonitoringComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( 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.MonitoringComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.MonitoringComponentConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.MonitoringComponentConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.MonitoringComponentConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.MonitoringComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * MonitoringComponentConfig is cluster monitoring component configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.MonitoringComponentConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MonitoringComponentConfig) com.google.container.v1beta1.MonitoringComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringComponentConfig.class, - com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); + com.google.container.v1beta1.MonitoringComponentConfig.class, com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); } // Construct using com.google.container.v1beta1.MonitoringComponentConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -631,9 +540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; } @java.lang.Override @@ -652,8 +561,7 @@ public com.google.container.v1beta1.MonitoringComponentConfig build() { @java.lang.Override public com.google.container.v1beta1.MonitoringComponentConfig buildPartial() { - com.google.container.v1beta1.MonitoringComponentConfig result = - new com.google.container.v1beta1.MonitoringComponentConfig(this); + com.google.container.v1beta1.MonitoringComponentConfig result = new com.google.container.v1beta1.MonitoringComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -668,39 +576,38 @@ public com.google.container.v1beta1.MonitoringComponentConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MonitoringComponentConfig) { - return mergeFrom((com.google.container.v1beta1.MonitoringComponentConfig) other); + return mergeFrom((com.google.container.v1beta1.MonitoringComponentConfig)other); } else { super.mergeFrom(other); return this; @@ -708,8 +615,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.MonitoringComponentConfig other) { - if (other == com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance()) return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -746,32 +652,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { + case 8: { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + break; + } // case 8 + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + } + input.popLimit(oldLimit); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -781,11 +684,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List enableComponents_ = java.util.Collections.emptyList(); - + private java.util.List enableComponents_ = + java.util.Collections.emptyList(); private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -793,73 +695,50 @@ private void ensureEnableComponentsIsMutable() { } } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - public java.util.List - getEnableComponentsList() { + public java.util.List getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>( - enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents( - int index) { + public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents(int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -875,22 +754,16 @@ public Builder setEnableComponents( return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents( - com.google.container.v1beta1.MonitoringComponentConfig.Component value) { + public Builder addEnableComponents(com.google.container.v1beta1.MonitoringComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -900,24 +773,17 @@ public Builder addEnableComponents( return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable< - ? extends com.google.container.v1beta1.MonitoringComponentConfig.Component> - values) { + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1beta1.MonitoringComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -926,17 +792,12 @@ public Builder addAllEnableComponents( return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -946,34 +807,25 @@ public Builder clearEnableComponents() { return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List getEnableComponentsValueList() { + public java.util.List + getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -981,39 +833,30 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue(int index, int value) { + public Builder setEnableComponentsValue( + int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -1024,21 +867,17 @@ public Builder addEnableComponentsValue(int value) { return this; } /** - * - * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue(java.lang.Iterable values) { + public Builder addAllEnableComponentsValue( + java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -1046,9 +885,9 @@ public Builder addAllEnableComponentsValue(java.lang.Iterable onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1058,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MonitoringComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MonitoringComponentConfig) private static final com.google.container.v1beta1.MonitoringComponentConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MonitoringComponentConfig(); } @@ -1072,27 +911,27 @@ public static com.google.container.v1beta1.MonitoringComponentConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoringComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,4 +946,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.MonitoringComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java similarity index 52% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java index 0ed04c7d356d..bd013f0cdf91 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java @@ -1,102 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface MonitoringComponentConfigOrBuilder - extends +public interface MonitoringComponentConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MonitoringComponentConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enableComponents. */ - java.util.List - getEnableComponentsList(); + java.util.List getEnableComponentsList(); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return The count of enableComponents. */ int getEnableComponentsCount(); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents(int index); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List getEnableComponentsValueList(); + java.util.List + getEnableComponentsValueList(); /** - * - * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; - * - * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java index 1d9820df9061..bedf4ffeaa27 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * MonitoringConfig is cluster monitoring configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.MonitoringConfig} */ -public final class MonitoringConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MonitoringConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MonitoringConfig) MonitoringConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MonitoringConfig.newBuilder() to construct. private MonitoringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MonitoringConfig() {} + private MonitoringConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MonitoringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringConfig.class, - com.google.container.v1beta1.MonitoringConfig.Builder.class); + com.google.container.v1beta1.MonitoringConfig.class, com.google.container.v1beta1.MonitoringConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.MonitoringComponentConfig componentConfig_; /** - * - * *
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** - * - * *
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; - * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig() { - return componentConfig_ == null - ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; } /** - * - * *
    * Monitoring components configuration
    * 
@@ -109,23 +81,19 @@ public com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ @java.lang.Override - public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder - getComponentConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder() { return getComponentConfig(); } public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER = 2; private com.google.container.v1beta1.ManagedPrometheusConfig managedPrometheusConfig_; /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return Whether the managedPrometheusConfig field is set. */ @java.lang.Override @@ -133,26 +101,19 @@ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfig_ != null; } /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return The managedPrometheusConfig. */ @java.lang.Override public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheusConfig() { - return managedPrometheusConfig_ == null - ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + return managedPrometheusConfig_ == null ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
@@ -161,13 +122,11 @@ public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheus
    * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder
-      getManagedPrometheusConfigOrBuilder() {
+  public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
     return getManagedPrometheusConfig();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -179,7 +138,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (componentConfig_ != null) {
       output.writeMessage(1, getComponentConfig());
     }
@@ -196,11 +156,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (componentConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getComponentConfig());
     }
     if (managedPrometheusConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagedPrometheusConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getManagedPrometheusConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -210,21 +171,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.MonitoringConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.MonitoringConfig other =
-        (com.google.container.v1beta1.MonitoringConfig) obj;
+    com.google.container.v1beta1.MonitoringConfig other = (com.google.container.v1beta1.MonitoringConfig) obj;
 
     if (hasComponentConfig() != other.hasComponentConfig()) return false;
     if (hasComponentConfig()) {
-      if (!getComponentConfig().equals(other.getComponentConfig())) return false;
+      if (!getComponentConfig()
+          .equals(other.getComponentConfig())) return false;
     }
     if (hasManagedPrometheusConfig() != other.hasManagedPrometheusConfig()) return false;
     if (hasManagedPrometheusConfig()) {
-      if (!getManagedPrometheusConfig().equals(other.getManagedPrometheusConfig())) return false;
+      if (!getManagedPrometheusConfig()
+          .equals(other.getManagedPrometheusConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -250,136 +212,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.MonitoringConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.MonitoringConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.MonitoringConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.MonitoringConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.MonitoringConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * MonitoringConfig is cluster monitoring configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.MonitoringConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MonitoringConfig) com.google.container.v1beta1.MonitoringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringConfig.class, - com.google.container.v1beta1.MonitoringConfig.Builder.class); + com.google.container.v1beta1.MonitoringConfig.class, com.google.container.v1beta1.MonitoringConfig.Builder.class); } // Construct using com.google.container.v1beta1.MonitoringConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -399,9 +355,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_descriptor; } @java.lang.Override @@ -420,8 +376,7 @@ public com.google.container.v1beta1.MonitoringConfig build() { @java.lang.Override public com.google.container.v1beta1.MonitoringConfig buildPartial() { - com.google.container.v1beta1.MonitoringConfig result = - new com.google.container.v1beta1.MonitoringConfig(this); + com.google.container.v1beta1.MonitoringConfig result = new com.google.container.v1beta1.MonitoringConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -440,39 +395,38 @@ public com.google.container.v1beta1.MonitoringConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MonitoringConfig) { - return mergeFrom((com.google.container.v1beta1.MonitoringConfig) other); + return mergeFrom((com.google.container.v1beta1.MonitoringConfig)other); } else { super.mergeFrom(other); return this; @@ -513,26 +467,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getManagedPrometheusConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getComponentConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 18: { + input.readMessage( + getManagedPrometheusConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -545,55 +499,41 @@ public Builder mergeFrom( private com.google.container.v1beta1.MonitoringComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringComponentConfig, - com.google.container.v1beta1.MonitoringComponentConfig.Builder, - com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> - componentConfigBuilder_; + com.google.container.v1beta1.MonitoringComponentConfig, com.google.container.v1beta1.MonitoringComponentConfig.Builder, com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> componentConfigBuilder_; /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; - * * @return The componentConfig. */ public com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null - ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public Builder setComponentConfig( - com.google.container.v1beta1.MonitoringComponentConfig value) { + public Builder setComponentConfig(com.google.container.v1beta1.MonitoringComponentConfig value) { if (componentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -607,8 +547,6 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * Monitoring components configuration
      * 
@@ -627,22 +565,17 @@ public Builder setComponentConfig( return this; } /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public Builder mergeComponentConfig( - com.google.container.v1beta1.MonitoringComponentConfig value) { + public Builder mergeComponentConfig(com.google.container.v1beta1.MonitoringComponentConfig value) { if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1beta1.MonitoringComponentConfig.newBuilder(componentConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MonitoringComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); } else { componentConfig_ = value; } @@ -654,8 +587,6 @@ public Builder mergeComponentConfig( return this; } /** - * - * *
      * Monitoring components configuration
      * 
@@ -674,42 +605,33 @@ public Builder clearComponentConfig() { return this; } /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public com.google.container.v1beta1.MonitoringComponentConfig.Builder - getComponentConfigBuilder() { - + public com.google.container.v1beta1.MonitoringComponentConfig.Builder getComponentConfigBuilder() { + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder - getComponentConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null - ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() - : componentConfig_; + return componentConfig_ == null ? + com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; } } /** - * - * *
      * Monitoring components configuration
      * 
@@ -717,17 +639,14 @@ public Builder clearComponentConfig() { * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringComponentConfig, - com.google.container.v1beta1.MonitoringComponentConfig.Builder, - com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> + com.google.container.v1beta1.MonitoringComponentConfig, com.google.container.v1beta1.MonitoringComponentConfig.Builder, com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringComponentConfig, - com.google.container.v1beta1.MonitoringComponentConfig.Builder, - com.google.container.v1beta1.MonitoringComponentConfigOrBuilder>( - getComponentConfig(), getParentForChildren(), isClean()); + componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MonitoringComponentConfig, com.google.container.v1beta1.MonitoringComponentConfig.Builder, com.google.container.v1beta1.MonitoringComponentConfigOrBuilder>( + getComponentConfig(), + getParentForChildren(), + isClean()); componentConfig_ = null; } return componentConfigBuilder_; @@ -735,49 +654,36 @@ public Builder clearComponentConfig() { private com.google.container.v1beta1.ManagedPrometheusConfig managedPrometheusConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ManagedPrometheusConfig, - com.google.container.v1beta1.ManagedPrometheusConfig.Builder, - com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder> - managedPrometheusConfigBuilder_; + com.google.container.v1beta1.ManagedPrometheusConfig, com.google.container.v1beta1.ManagedPrometheusConfig.Builder, com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder> managedPrometheusConfigBuilder_; /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return Whether the managedPrometheusConfig field is set. */ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfigBuilder_ != null || managedPrometheusConfig_ != null; } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return The managedPrometheusConfig. */ public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheusConfig() { if (managedPrometheusConfigBuilder_ == null) { - return managedPrometheusConfig_ == null - ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() - : managedPrometheusConfig_; + return managedPrometheusConfig_ == null ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; } else { return managedPrometheusConfigBuilder_.getMessage(); } } /** - * - * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -785,8 +691,7 @@ public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheus
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder setManagedPrometheusConfig(
-        com.google.container.v1beta1.ManagedPrometheusConfig value) {
+    public Builder setManagedPrometheusConfig(com.google.container.v1beta1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -800,8 +705,6 @@ public Builder setManagedPrometheusConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -821,8 +724,6 @@ public Builder setManagedPrometheusConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -830,15 +731,11 @@ public Builder setManagedPrometheusConfig(
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder mergeManagedPrometheusConfig(
-        com.google.container.v1beta1.ManagedPrometheusConfig value) {
+    public Builder mergeManagedPrometheusConfig(com.google.container.v1beta1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (managedPrometheusConfig_ != null) {
           managedPrometheusConfig_ =
-              com.google.container.v1beta1.ManagedPrometheusConfig.newBuilder(
-                      managedPrometheusConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ManagedPrometheusConfig.newBuilder(managedPrometheusConfig_).mergeFrom(value).buildPartial();
         } else {
           managedPrometheusConfig_ = value;
         }
@@ -850,8 +747,6 @@ public Builder mergeManagedPrometheusConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -871,8 +766,6 @@ public Builder clearManagedPrometheusConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -880,15 +773,12 @@ public Builder clearManagedPrometheusConfig() {
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1beta1.ManagedPrometheusConfig.Builder
-        getManagedPrometheusConfigBuilder() {
-
+    public com.google.container.v1beta1.ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder() {
+      
       onChanged();
       return getManagedPrometheusConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -896,19 +786,15 @@ public Builder clearManagedPrometheusConfig() {
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder
-        getManagedPrometheusConfigOrBuilder() {
+    public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
       if (managedPrometheusConfigBuilder_ != null) {
         return managedPrometheusConfigBuilder_.getMessageOrBuilder();
       } else {
-        return managedPrometheusConfig_ == null
-            ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance()
-            : managedPrometheusConfig_;
+        return managedPrometheusConfig_ == null ?
+            com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -917,24 +803,21 @@ public Builder clearManagedPrometheusConfig() {
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ManagedPrometheusConfig,
-            com.google.container.v1beta1.ManagedPrometheusConfig.Builder,
-            com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder>
+        com.google.container.v1beta1.ManagedPrometheusConfig, com.google.container.v1beta1.ManagedPrometheusConfig.Builder, com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder> 
         getManagedPrometheusConfigFieldBuilder() {
       if (managedPrometheusConfigBuilder_ == null) {
-        managedPrometheusConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ManagedPrometheusConfig,
-                com.google.container.v1beta1.ManagedPrometheusConfig.Builder,
-                com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder>(
-                getManagedPrometheusConfig(), getParentForChildren(), isClean());
+        managedPrometheusConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ManagedPrometheusConfig, com.google.container.v1beta1.ManagedPrometheusConfig.Builder, com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder>(
+                getManagedPrometheusConfig(),
+                getParentForChildren(),
+                isClean());
         managedPrometheusConfig_ = null;
       }
       return managedPrometheusConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -944,12 +827,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MonitoringConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.MonitoringConfig)
   private static final com.google.container.v1beta1.MonitoringConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.MonitoringConfig();
   }
@@ -958,27 +841,27 @@ public static com.google.container.v1beta1.MonitoringConfig getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MonitoringConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MonitoringConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -993,4 +876,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.MonitoringConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
similarity index 70%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
index e4ee44b45657..e574a19af194 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface MonitoringConfigOrBuilder
-    extends
+public interface MonitoringConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MonitoringConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; - * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** - * - * *
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; - * * @return The componentConfig. */ com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig(); /** - * - * *
    * Monitoring components configuration
    * 
@@ -59,34 +35,26 @@ public interface MonitoringConfigOrBuilder com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return Whether the managedPrometheusConfig field is set. */ boolean hasManagedPrometheusConfig(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; - * * @return The managedPrometheusConfig. */ com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheusConfig(); /** - * - * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
@@ -94,6 +62,5 @@ public interface MonitoringConfigOrBuilder
    *
    * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
    */
-  com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder
-      getManagedPrometheusConfigOrBuilder();
+  com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder();
 }
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
similarity index 74%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
index 423504624a74..3eb834d6ff17 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * NetworkConfig reports the relative names of network & subnetwork.
  * 
* * Protobuf type {@code google.container.v1beta1.NetworkConfig} */ -public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NetworkConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkConfig) NetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkConfig() { network_ = ""; subnetwork_ = ""; @@ -46,35 +28,32 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NetworkConfig.class, - com.google.container.v1beta1.NetworkConfig.Builder.class); + com.google.container.v1beta1.NetworkConfig.class, com.google.container.v1beta1.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; private volatile java.lang.Object network_; /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string network = 1; - * * @return The network. */ @java.lang.Override @@ -92,15 +70,14 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -109,15 +86,16 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -128,8 +106,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int SUBNETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object subnetwork_; /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -138,7 +114,6 @@ public com.google.protobuf.ByteString getNetworkBytes() {
    * 
* * string subnetwork = 2; - * * @return The subnetwork. */ @java.lang.Override @@ -147,15 +122,14 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -164,15 +138,16 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -183,15 +158,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER = 5; private boolean enableIntraNodeVisibility_; /** - * - * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; - * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -202,8 +174,6 @@ public boolean getEnableIntraNodeVisibility() { public static final int DEFAULT_SNAT_STATUS_FIELD_NUMBER = 7; private com.google.container.v1beta1.DefaultSnatStatus defaultSnatStatus_; /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -212,7 +182,6 @@ public boolean getEnableIntraNodeVisibility() {
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; - * * @return Whether the defaultSnatStatus field is set. */ @java.lang.Override @@ -220,8 +189,6 @@ public boolean hasDefaultSnatStatus() { return defaultSnatStatus_ != null; } /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -230,18 +197,13 @@ public boolean hasDefaultSnatStatus() {
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; - * * @return The defaultSnatStatus. */ @java.lang.Override public com.google.container.v1beta1.DefaultSnatStatus getDefaultSnatStatus() { - return defaultSnatStatus_ == null - ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() - : defaultSnatStatus_; + return defaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; } /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -259,14 +221,11 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatSta
   public static final int ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER = 10;
   private boolean enableL4IlbSubsetting_;
   /**
-   *
-   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; - * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -277,46 +236,35 @@ public boolean getEnableL4IlbSubsetting() { public static final int DATAPATH_PROVIDER_FIELD_NUMBER = 11; private int datapathProvider_; /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override - public int getDatapathProviderValue() { + @java.lang.Override public int getDatapathProviderValue() { return datapathProvider_; } /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @return The datapathProvider. */ - @java.lang.Override - public com.google.container.v1beta1.DatapathProvider getDatapathProvider() { + @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = - com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 12; private int privateIpv6GoogleAccess_; /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -324,16 +272,12 @@ public com.google.container.v1beta1.DatapathProvider getDatapathProvider() {
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override - public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -341,30 +285,22 @@ public int getPrivateIpv6GoogleAccessValue() {
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The privateIpv6GoogleAccess. */ - @java.lang.Override - public com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { + @java.lang.Override public com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = - com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); - return result == null - ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED - : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } public static final int DNS_CONFIG_FIELD_NUMBER = 13; private com.google.container.v1beta1.DNSConfig dnsConfig_; /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; - * * @return Whether the dnsConfig field is set. */ @java.lang.Override @@ -372,25 +308,18 @@ public boolean hasDnsConfig() { return dnsConfig_ != null; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; - * * @return The dnsConfig. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig getDnsConfig() { - return dnsConfig_ == null - ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() - : dnsConfig_; + return dnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : dnsConfig_; } /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -405,16 +334,12 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { public static final int SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 15; private com.google.container.v1beta1.ServiceExternalIPsConfig serviceExternalIpsConfig_; /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; * @return Whether the serviceExternalIpsConfig field is set. */ @java.lang.Override @@ -422,53 +347,40 @@ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfig_ != null; } /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; * @return The serviceExternalIpsConfig. */ @java.lang.Override public com.google.container.v1beta1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { - return serviceExternalIpsConfig_ == null - ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() - : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; } /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ @java.lang.Override - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder - getServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() { return getServiceExternalIpsConfig(); } public static final int GATEWAY_API_CONFIG_FIELD_NUMBER = 16; private com.google.container.v1beta1.GatewayAPIConfig gatewayApiConfig_; /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; - * * @return Whether the gatewayApiConfig field is set. */ @java.lang.Override @@ -476,26 +388,19 @@ public boolean hasGatewayApiConfig() { return gatewayApiConfig_ != null; } /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; - * * @return The gatewayApiConfig. */ @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig getGatewayApiConfig() { - return gatewayApiConfig_ == null - ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() - : gatewayApiConfig_; + return gatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; } /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
@@ -509,7 +414,6 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getGatewayApiConfi
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -521,7 +425,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_);
     }
@@ -537,15 +442,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (enableL4IlbSubsetting_ != false) {
       output.writeBool(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_
-        != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED
-            .getNumber()) {
+    if (datapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
       output.writeEnum(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_
-        != com.google.container.v1beta1.PrivateIPv6GoogleAccess
-            .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
-            .getNumber()) {
+    if (privateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
       output.writeEnum(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
@@ -573,35 +473,36 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnetwork_);
     }
     if (enableIntraNodeVisibility_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableIntraNodeVisibility_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(5, enableIntraNodeVisibility_);
     }
     if (defaultSnatStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDefaultSnatStatus());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getDefaultSnatStatus());
     }
     if (enableL4IlbSubsetting_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enableL4IlbSubsetting_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_
-        != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, datapathProvider_);
+    if (datapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_
-        != com.google.container.v1beta1.PrivateIPv6GoogleAccess
-            .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, privateIpv6GoogleAccess_);
+    if (privateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDnsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(13, getDnsConfig());
     }
     if (serviceExternalIpsConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              15, getServiceExternalIpsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(15, getServiceExternalIpsConfig());
     }
     if (gatewayApiConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGatewayApiConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(16, getGatewayApiConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -611,35 +512,42 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.NetworkConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.NetworkConfig other =
-        (com.google.container.v1beta1.NetworkConfig) obj;
+    com.google.container.v1beta1.NetworkConfig other = (com.google.container.v1beta1.NetworkConfig) obj;
 
-    if (!getNetwork().equals(other.getNetwork())) return false;
-    if (!getSubnetwork().equals(other.getSubnetwork())) return false;
-    if (getEnableIntraNodeVisibility() != other.getEnableIntraNodeVisibility()) return false;
+    if (!getNetwork()
+        .equals(other.getNetwork())) return false;
+    if (!getSubnetwork()
+        .equals(other.getSubnetwork())) return false;
+    if (getEnableIntraNodeVisibility()
+        != other.getEnableIntraNodeVisibility()) return false;
     if (hasDefaultSnatStatus() != other.hasDefaultSnatStatus()) return false;
     if (hasDefaultSnatStatus()) {
-      if (!getDefaultSnatStatus().equals(other.getDefaultSnatStatus())) return false;
+      if (!getDefaultSnatStatus()
+          .equals(other.getDefaultSnatStatus())) return false;
     }
-    if (getEnableL4IlbSubsetting() != other.getEnableL4IlbSubsetting()) return false;
+    if (getEnableL4IlbSubsetting()
+        != other.getEnableL4IlbSubsetting()) return false;
     if (datapathProvider_ != other.datapathProvider_) return false;
     if (privateIpv6GoogleAccess_ != other.privateIpv6GoogleAccess_) return false;
     if (hasDnsConfig() != other.hasDnsConfig()) return false;
     if (hasDnsConfig()) {
-      if (!getDnsConfig().equals(other.getDnsConfig())) return false;
+      if (!getDnsConfig()
+          .equals(other.getDnsConfig())) return false;
     }
     if (hasServiceExternalIpsConfig() != other.hasServiceExternalIpsConfig()) return false;
     if (hasServiceExternalIpsConfig()) {
-      if (!getServiceExternalIpsConfig().equals(other.getServiceExternalIpsConfig())) return false;
+      if (!getServiceExternalIpsConfig()
+          .equals(other.getServiceExternalIpsConfig())) return false;
     }
     if (hasGatewayApiConfig() != other.hasGatewayApiConfig()) return false;
     if (hasGatewayApiConfig()) {
-      if (!getGatewayApiConfig().equals(other.getGatewayApiConfig())) return false;
+      if (!getGatewayApiConfig()
+          .equals(other.getGatewayApiConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -657,13 +565,15 @@ public int hashCode() {
     hash = (37 * hash) + SUBNETWORK_FIELD_NUMBER;
     hash = (53 * hash) + getSubnetwork().hashCode();
     hash = (37 * hash) + ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntraNodeVisibility());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getEnableIntraNodeVisibility());
     if (hasDefaultSnatStatus()) {
       hash = (37 * hash) + DEFAULT_SNAT_STATUS_FIELD_NUMBER;
       hash = (53 * hash) + getDefaultSnatStatus().hashCode();
     }
     hash = (37 * hash) + ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableL4IlbSubsetting());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getEnableL4IlbSubsetting());
     hash = (37 * hash) + DATAPATH_PROVIDER_FIELD_NUMBER;
     hash = (53 * hash) + datapathProvider_;
     hash = (37 * hash) + PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER;
@@ -685,136 +595,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.NetworkConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.NetworkConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NetworkConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
       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.NetworkConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.NetworkConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.NetworkConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.NetworkConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NetworkConfig reports the relative names of network & subnetwork.
    * 
* * Protobuf type {@code google.container.v1beta1.NetworkConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkConfig) com.google.container.v1beta1.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NetworkConfig.class, - com.google.container.v1beta1.NetworkConfig.Builder.class); + com.google.container.v1beta1.NetworkConfig.class, com.google.container.v1beta1.NetworkConfig.Builder.class); } // Construct using com.google.container.v1beta1.NetworkConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -858,9 +762,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_descriptor; } @java.lang.Override @@ -879,8 +783,7 @@ public com.google.container.v1beta1.NetworkConfig build() { @java.lang.Override public com.google.container.v1beta1.NetworkConfig buildPartial() { - com.google.container.v1beta1.NetworkConfig result = - new com.google.container.v1beta1.NetworkConfig(this); + com.google.container.v1beta1.NetworkConfig result = new com.google.container.v1beta1.NetworkConfig(this); result.network_ = network_; result.subnetwork_ = subnetwork_; result.enableIntraNodeVisibility_ = enableIntraNodeVisibility_; @@ -915,39 +818,38 @@ public com.google.container.v1beta1.NetworkConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NetworkConfig) { - return mergeFrom((com.google.container.v1beta1.NetworkConfig) other); + return mergeFrom((com.google.container.v1beta1.NetworkConfig)other); } else { super.mergeFrom(other); return this; @@ -1014,76 +916,70 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - network_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 40: - { - enableIntraNodeVisibility_ = input.readBool(); - - break; - } // case 40 - case 58: - { - input.readMessage( - getDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 80: - { - enableL4IlbSubsetting_ = input.readBool(); - - break; - } // case 80 - case 88: - { - datapathProvider_ = input.readEnum(); - - break; - } // case 88 - case 96: - { - privateIpv6GoogleAccess_ = input.readEnum(); - - break; - } // case 96 - case 106: - { - input.readMessage(getDnsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 106 - case 122: - { - input.readMessage( - getServiceExternalIpsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 122 - case 130: - { - input.readMessage( - getGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 130 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + network_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 40: { + enableIntraNodeVisibility_ = input.readBool(); + + break; + } // case 40 + case 58: { + input.readMessage( + getDefaultSnatStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 80: { + enableL4IlbSubsetting_ = input.readBool(); + + break; + } // case 80 + case 88: { + datapathProvider_ = input.readEnum(); + + break; + } // case 88 + case 96: { + privateIpv6GoogleAccess_ = input.readEnum(); + + break; + } // case 96 + case 106: { + input.readMessage( + getDnsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 106 + case 122: { + input.readMessage( + getServiceExternalIpsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 122 + case 130: { + input.readMessage( + getGatewayApiConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 130 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1096,8 +992,6 @@ public Builder mergeFrom( private java.lang.Object network_ = ""; /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1106,13 +1000,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1121,8 +1015,6 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1131,14 +1023,15 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -1146,8 +1039,6 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1156,22 +1047,20 @@ public com.google.protobuf.ByteString getNetworkBytes() {
      * 
* * string network = 1; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1180,18 +1069,15 @@ public Builder setNetwork(java.lang.String value) {
      * 
* * string network = 1; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1200,16 +1086,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1217,8 +1103,6 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object subnetwork_ = ""; /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1227,13 +1111,13 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
      * 
* * string subnetwork = 2; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1242,8 +1126,6 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1252,14 +1134,15 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1267,8 +1150,6 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1277,22 +1158,20 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
      * 
* * string subnetwork = 2; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1301,18 +1180,15 @@ public Builder setSubnetwork(java.lang.String value) {
      * 
* * string subnetwork = 2; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1321,32 +1197,29 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 2; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private boolean enableIntraNodeVisibility_; + private boolean enableIntraNodeVisibility_ ; /** - * - * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; - * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -1354,38 +1227,32 @@ public boolean getEnableIntraNodeVisibility() { return enableIntraNodeVisibility_; } /** - * - * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; - * * @param value The enableIntraNodeVisibility to set. * @return This builder for chaining. */ public Builder setEnableIntraNodeVisibility(boolean value) { - + enableIntraNodeVisibility_ = value; onChanged(); return this; } /** - * - * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; - * * @return This builder for chaining. */ public Builder clearEnableIntraNodeVisibility() { - + enableIntraNodeVisibility_ = false; onChanged(); return this; @@ -1393,13 +1260,8 @@ public Builder clearEnableIntraNodeVisibility() { private com.google.container.v1beta1.DefaultSnatStatus defaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, - com.google.container.v1beta1.DefaultSnatStatus.Builder, - com.google.container.v1beta1.DefaultSnatStatusOrBuilder> - defaultSnatStatusBuilder_; + com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> defaultSnatStatusBuilder_; /** - * - * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1408,15 +1270,12 @@ public Builder clearEnableIntraNodeVisibility() {
      * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; - * * @return Whether the defaultSnatStatus field is set. */ public boolean hasDefaultSnatStatus() { return defaultSnatStatusBuilder_ != null || defaultSnatStatus_ != null; } /** - * - * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1425,21 +1284,16 @@ public boolean hasDefaultSnatStatus() {
      * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; - * * @return The defaultSnatStatus. */ public com.google.container.v1beta1.DefaultSnatStatus getDefaultSnatStatus() { if (defaultSnatStatusBuilder_ == null) { - return defaultSnatStatus_ == null - ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() - : defaultSnatStatus_; + return defaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; } else { return defaultSnatStatusBuilder_.getMessage(); } } /** - * - * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1463,8 +1317,6 @@ public Builder setDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatStat
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1486,8 +1338,6 @@ public Builder setDefaultSnatStatus(
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1501,9 +1351,7 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatSt
       if (defaultSnatStatusBuilder_ == null) {
         if (defaultSnatStatus_ != null) {
           defaultSnatStatus_ =
-              com.google.container.v1beta1.DefaultSnatStatus.newBuilder(defaultSnatStatus_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.DefaultSnatStatus.newBuilder(defaultSnatStatus_).mergeFrom(value).buildPartial();
         } else {
           defaultSnatStatus_ = value;
         }
@@ -1515,8 +1363,6 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatSt
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1538,8 +1384,6 @@ public Builder clearDefaultSnatStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1550,13 +1394,11 @@ public Builder clearDefaultSnatStatus() {
      * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7;
      */
     public com.google.container.v1beta1.DefaultSnatStatus.Builder getDefaultSnatStatusBuilder() {
-
+      
       onChanged();
       return getDefaultSnatStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1570,14 +1412,11 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatSta
       if (defaultSnatStatusBuilder_ != null) {
         return defaultSnatStatusBuilder_.getMessageOrBuilder();
       } else {
-        return defaultSnatStatus_ == null
-            ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance()
-            : defaultSnatStatus_;
+        return defaultSnatStatus_ == null ?
+            com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_;
       }
     }
     /**
-     *
-     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1588,32 +1427,26 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatSta
      * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.DefaultSnatStatus,
-            com.google.container.v1beta1.DefaultSnatStatus.Builder,
-            com.google.container.v1beta1.DefaultSnatStatusOrBuilder>
+        com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> 
         getDefaultSnatStatusFieldBuilder() {
       if (defaultSnatStatusBuilder_ == null) {
-        defaultSnatStatusBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.DefaultSnatStatus,
-                com.google.container.v1beta1.DefaultSnatStatus.Builder,
-                com.google.container.v1beta1.DefaultSnatStatusOrBuilder>(
-                getDefaultSnatStatus(), getParentForChildren(), isClean());
+        defaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder>(
+                getDefaultSnatStatus(),
+                getParentForChildren(),
+                isClean());
         defaultSnatStatus_ = null;
       }
       return defaultSnatStatusBuilder_;
     }
 
-    private boolean enableL4IlbSubsetting_;
+    private boolean enableL4IlbSubsetting_ ;
     /**
-     *
-     *
      * 
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; - * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -1621,36 +1454,30 @@ public boolean getEnableL4IlbSubsetting() { return enableL4IlbSubsetting_; } /** - * - * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; - * * @param value The enableL4ilbSubsetting to set. * @return This builder for chaining. */ public Builder setEnableL4IlbSubsetting(boolean value) { - + enableL4IlbSubsetting_ = value; onChanged(); return this; } /** - * - * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; - * * @return This builder for chaining. */ public Builder clearEnableL4IlbSubsetting() { - + enableL4IlbSubsetting_ = false; onChanged(); return this; @@ -1658,69 +1485,55 @@ public Builder clearEnableL4IlbSubsetting() { private int datapathProvider_ = 0; /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override - public int getDatapathProviderValue() { + @java.lang.Override public int getDatapathProviderValue() { return datapathProvider_; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @param value The enum numeric value on the wire for datapathProvider to set. * @return This builder for chaining. */ public Builder setDatapathProviderValue(int value) { - + datapathProvider_ = value; onChanged(); return this; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @return The datapathProvider. */ @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = - com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @param value The datapathProvider to set. * @return This builder for chaining. */ @@ -1728,25 +1541,22 @@ public Builder setDatapathProvider(com.google.container.v1beta1.DatapathProvider if (value == null) { throw new NullPointerException(); } - + datapathProvider_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @return This builder for chaining. */ public Builder clearDatapathProvider() { - + datapathProvider_ = 0; onChanged(); return this; @@ -1754,108 +1564,83 @@ public Builder clearDatapathProvider() { private int privateIpv6GoogleAccess_ = 0; /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override - public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; * @param value The enum numeric value on the wire for privateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setPrivateIpv6GoogleAccessValue(int value) { - + privateIpv6GoogleAccess_ = value; onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; * @return The privateIpv6GoogleAccess. */ @java.lang.Override public com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = - com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); - return result == null - ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED - : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; * @param value The privateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setPrivateIpv6GoogleAccess( - com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { + public Builder setPrivateIpv6GoogleAccess(com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + privateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * - * + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; * @return This builder for chaining. */ public Builder clearPrivateIpv6GoogleAccess() { - + privateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -1863,47 +1648,34 @@ public Builder clearPrivateIpv6GoogleAccess() { private com.google.container.v1beta1.DNSConfig dnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, - com.google.container.v1beta1.DNSConfig.Builder, - com.google.container.v1beta1.DNSConfigOrBuilder> - dnsConfigBuilder_; + com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> dnsConfigBuilder_; /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; - * * @return Whether the dnsConfig field is set. */ public boolean hasDnsConfig() { return dnsConfigBuilder_ != null || dnsConfig_ != null; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; - * * @return The dnsConfig. */ public com.google.container.v1beta1.DNSConfig getDnsConfig() { if (dnsConfigBuilder_ == null) { - return dnsConfig_ == null - ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() - : dnsConfig_; + return dnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : dnsConfig_; } else { return dnsConfigBuilder_.getMessage(); } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1924,15 +1696,14 @@ public Builder setDnsConfig(com.google.container.v1beta1.DNSConfig value) { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; */ - public Builder setDnsConfig(com.google.container.v1beta1.DNSConfig.Builder builderForValue) { + public Builder setDnsConfig( + com.google.container.v1beta1.DNSConfig.Builder builderForValue) { if (dnsConfigBuilder_ == null) { dnsConfig_ = builderForValue.build(); onChanged(); @@ -1943,8 +1714,6 @@ public Builder setDnsConfig(com.google.container.v1beta1.DNSConfig.Builder build return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1955,9 +1724,7 @@ public Builder mergeDnsConfig(com.google.container.v1beta1.DNSConfig value) { if (dnsConfigBuilder_ == null) { if (dnsConfig_ != null) { dnsConfig_ = - com.google.container.v1beta1.DNSConfig.newBuilder(dnsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.DNSConfig.newBuilder(dnsConfig_).mergeFrom(value).buildPartial(); } else { dnsConfig_ = value; } @@ -1969,8 +1736,6 @@ public Builder mergeDnsConfig(com.google.container.v1beta1.DNSConfig value) { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1989,8 +1754,6 @@ public Builder clearDnsConfig() { return this; } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1998,13 +1761,11 @@ public Builder clearDnsConfig() { * .google.container.v1beta1.DNSConfig dns_config = 13; */ public com.google.container.v1beta1.DNSConfig.Builder getDnsConfigBuilder() { - + onChanged(); return getDnsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -2015,14 +1776,11 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { if (dnsConfigBuilder_ != null) { return dnsConfigBuilder_.getMessageOrBuilder(); } else { - return dnsConfig_ == null - ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() - : dnsConfig_; + return dnsConfig_ == null ? + com.google.container.v1beta1.DNSConfig.getDefaultInstance() : dnsConfig_; } } /** - * - * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -2030,17 +1788,14 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { * .google.container.v1beta1.DNSConfig dns_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, - com.google.container.v1beta1.DNSConfig.Builder, - com.google.container.v1beta1.DNSConfigOrBuilder> + com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> getDnsConfigFieldBuilder() { if (dnsConfigBuilder_ == null) { - dnsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, - com.google.container.v1beta1.DNSConfig.Builder, - com.google.container.v1beta1.DNSConfigOrBuilder>( - getDnsConfig(), getParentForChildren(), isClean()); + dnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder>( + getDnsConfig(), + getParentForChildren(), + isClean()); dnsConfig_ = null; } return dnsConfigBuilder_; @@ -2048,61 +1803,44 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { private com.google.container.v1beta1.ServiceExternalIPsConfig serviceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> - serviceExternalIpsConfigBuilder_; + com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> serviceExternalIpsConfigBuilder_; /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; * @return Whether the serviceExternalIpsConfig field is set. */ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfigBuilder_ != null || serviceExternalIpsConfig_ != null; } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; * @return The serviceExternalIpsConfig. */ public com.google.container.v1beta1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { if (serviceExternalIpsConfigBuilder_ == null) { - return serviceExternalIpsConfig_ == null - ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() - : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; } else { return serviceExternalIpsConfigBuilder_.getMessage(); } } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ - public Builder setServiceExternalIpsConfig( - com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder setServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (serviceExternalIpsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2116,15 +1854,12 @@ public Builder setServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ public Builder setServiceExternalIpsConfig( com.google.container.v1beta1.ServiceExternalIPsConfig.Builder builderForValue) { @@ -2138,25 +1873,18 @@ public Builder setServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ - public Builder mergeServiceExternalIpsConfig( - com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder mergeServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (serviceExternalIpsConfigBuilder_ == null) { if (serviceExternalIpsConfig_ != null) { serviceExternalIpsConfig_ = - com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder( - serviceExternalIpsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder(serviceExternalIpsConfig_).mergeFrom(value).buildPartial(); } else { serviceExternalIpsConfig_ = value; } @@ -2168,15 +1896,12 @@ public Builder mergeServiceExternalIpsConfig( return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ public Builder clearServiceExternalIpsConfig() { if (serviceExternalIpsConfigBuilder_ == null) { @@ -2190,66 +1915,51 @@ public Builder clearServiceExternalIpsConfig() { return this; } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ - public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder - getServiceExternalIpsConfigBuilder() { - + public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder getServiceExternalIpsConfigBuilder() { + onChanged(); return getServiceExternalIpsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder - getServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() { if (serviceExternalIpsConfigBuilder_ != null) { return serviceExternalIpsConfigBuilder_.getMessageOrBuilder(); } else { - return serviceExternalIpsConfig_ == null - ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() - : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null ? + com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; } } /** - * - * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> + com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> getServiceExternalIpsConfigFieldBuilder() { if (serviceExternalIpsConfigBuilder_ == null) { - serviceExternalIpsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( - getServiceExternalIpsConfig(), getParentForChildren(), isClean()); + serviceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( + getServiceExternalIpsConfig(), + getParentForChildren(), + isClean()); serviceExternalIpsConfig_ = null; } return serviceExternalIpsConfigBuilder_; @@ -2257,49 +1967,36 @@ public Builder clearServiceExternalIpsConfig() { private com.google.container.v1beta1.GatewayAPIConfig gatewayApiConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, - com.google.container.v1beta1.GatewayAPIConfig.Builder, - com.google.container.v1beta1.GatewayAPIConfigOrBuilder> - gatewayApiConfigBuilder_; + com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> gatewayApiConfigBuilder_; /** - * - * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; - * * @return Whether the gatewayApiConfig field is set. */ public boolean hasGatewayApiConfig() { return gatewayApiConfigBuilder_ != null || gatewayApiConfig_ != null; } /** - * - * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; - * * @return The gatewayApiConfig. */ public com.google.container.v1beta1.GatewayAPIConfig getGatewayApiConfig() { if (gatewayApiConfigBuilder_ == null) { - return gatewayApiConfig_ == null - ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() - : gatewayApiConfig_; + return gatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; } else { return gatewayApiConfigBuilder_.getMessage(); } } /** - * - * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2321,8 +2018,6 @@ public Builder setGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2342,8 +2037,6 @@ public Builder setGatewayApiConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2355,9 +2048,7 @@ public Builder mergeGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConf
       if (gatewayApiConfigBuilder_ == null) {
         if (gatewayApiConfig_ != null) {
           gatewayApiConfig_ =
-              com.google.container.v1beta1.GatewayAPIConfig.newBuilder(gatewayApiConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.GatewayAPIConfig.newBuilder(gatewayApiConfig_).mergeFrom(value).buildPartial();
         } else {
           gatewayApiConfig_ = value;
         }
@@ -2369,8 +2060,6 @@ public Builder mergeGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConf
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2390,8 +2079,6 @@ public Builder clearGatewayApiConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2400,13 +2087,11 @@ public Builder clearGatewayApiConfig() {
      * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16;
      */
     public com.google.container.v1beta1.GatewayAPIConfig.Builder getGatewayApiConfigBuilder() {
-
+      
       onChanged();
       return getGatewayApiConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2418,14 +2103,11 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getGatewayApiConfi
       if (gatewayApiConfigBuilder_ != null) {
         return gatewayApiConfigBuilder_.getMessageOrBuilder();
       } else {
-        return gatewayApiConfig_ == null
-            ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance()
-            : gatewayApiConfig_;
+        return gatewayApiConfig_ == null ?
+            com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2434,24 +2116,21 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getGatewayApiConfi
      * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.GatewayAPIConfig,
-            com.google.container.v1beta1.GatewayAPIConfig.Builder,
-            com.google.container.v1beta1.GatewayAPIConfigOrBuilder>
+        com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> 
         getGatewayApiConfigFieldBuilder() {
       if (gatewayApiConfigBuilder_ == null) {
-        gatewayApiConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.GatewayAPIConfig,
-                com.google.container.v1beta1.GatewayAPIConfig.Builder,
-                com.google.container.v1beta1.GatewayAPIConfigOrBuilder>(
-                getGatewayApiConfig(), getParentForChildren(), isClean());
+        gatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder>(
+                getGatewayApiConfig(),
+                getParentForChildren(),
+                isClean());
         gatewayApiConfig_ = null;
       }
       return gatewayApiConfigBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2461,12 +2140,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkConfig)
   private static final com.google.container.v1beta1.NetworkConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkConfig();
   }
@@ -2475,27 +2154,27 @@ public static com.google.container.v1beta1.NetworkConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public NetworkConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public NetworkConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2510,4 +2189,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.NetworkConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
similarity index 86%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
index d6a07d70db03..4e2bd833920d 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface NetworkConfigOrBuilder
-    extends
+public interface NetworkConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -34,13 +16,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -49,14 +28,12 @@ public interface NetworkConfigOrBuilder
    * 
* * string network = 1; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -65,13 +42,10 @@ public interface NetworkConfigOrBuilder
    * 
* * string subnetwork = 2; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -80,28 +54,23 @@ public interface NetworkConfigOrBuilder
    * 
* * string subnetwork = 2; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; - * * @return The enableIntraNodeVisibility. */ boolean getEnableIntraNodeVisibility(); /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -110,13 +79,10 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; - * * @return Whether the defaultSnatStatus field is set. */ boolean hasDefaultSnatStatus(); /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -125,13 +91,10 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; - * * @return The defaultSnatStatus. */ com.google.container.v1beta1.DefaultSnatStatus getDefaultSnatStatus(); /** - * - * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -144,48 +107,37 @@ public interface NetworkConfigOrBuilder
   com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; - * * @return The enableL4ilbSubsetting. */ boolean getEnableL4IlbSubsetting(); /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @return The enum numeric value on the wire for datapathProvider. */ int getDatapathProviderValue(); /** - * - * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; - * * @return The datapathProvider. */ com.google.container.v1beta1.DatapathProvider getDatapathProvider(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -193,13 +145,10 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ int getPrivateIpv6GoogleAccessValue(); /** - * - * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -207,38 +156,29 @@ public interface NetworkConfigOrBuilder
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; - * * @return The privateIpv6GoogleAccess. */ com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; - * * @return Whether the dnsConfig field is set. */ boolean hasDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; - * * @return The dnsConfig. */ com.google.container.v1beta1.DNSConfig getDnsConfig(); /** - * - * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -248,76 +188,56 @@ public interface NetworkConfigOrBuilder com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder(); /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; * @return Whether the serviceExternalIpsConfig field is set. */ boolean hasServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; * @return The serviceExternalIpsConfig. */ com.google.container.v1beta1.ServiceExternalIPsConfig getServiceExternalIpsConfig(); /** - * - * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; - * + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; */ - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder - getServiceExternalIpsConfigOrBuilder(); + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder(); /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; - * * @return Whether the gatewayApiConfig field is set. */ boolean hasGatewayApiConfig(); /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; - * * @return The gatewayApiConfig. */ com.google.container.v1beta1.GatewayAPIConfig getGatewayApiConfig(); /** - * - * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
similarity index 66%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
index f07989ed3da3..b74707279f86 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * Configuration options for the NetworkPolicy feature.
  * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -28,59 +11,54 @@
  *
  * Protobuf type {@code google.container.v1beta1.NetworkPolicy}
  */
-public final class NetworkPolicy extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkPolicy extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkPolicy)
     NetworkPolicyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkPolicy.newBuilder() to construct.
   private NetworkPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NetworkPolicy() {
     provider_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NetworkPolicy.class,
-            com.google.container.v1beta1.NetworkPolicy.Builder.class);
+            com.google.container.v1beta1.NetworkPolicy.class, com.google.container.v1beta1.NetworkPolicy.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Allowed Network Policy providers.
    * 
* * Protobuf enum {@code google.container.v1beta1.NetworkPolicy.Provider} */ - public enum Provider implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set
      * 
@@ -89,8 +67,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ PROVIDER_UNSPECIFIED(0), /** - * - * *
      * Tigera (Calico Felix).
      * 
@@ -102,8 +78,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set
      * 
@@ -112,8 +86,6 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Tigera (Calico Felix).
      * 
@@ -122,6 +94,7 @@ public enum Provider implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CALICO_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -146,47 +119,48 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: - return PROVIDER_UNSPECIFIED; - case 1: - return CALICO; - default: - return null; + case 0: return PROVIDER_UNSPECIFIED; + case 1: return CALICO; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Provider> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.NetworkPolicy.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -206,52 +180,38 @@ private Provider(int value) { public static final int PROVIDER_FIELD_NUMBER = 1; private int provider_; /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override - public int getProviderValue() { + @java.lang.Override public int getProviderValue() { return provider_; } /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @return The provider. */ - @java.lang.Override - public com.google.container.v1beta1.NetworkPolicy.Provider getProvider() { + @java.lang.Override public com.google.container.v1beta1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NetworkPolicy.Provider result = - com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); - return result == null - ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED - : result; + com.google.container.v1beta1.NetworkPolicy.Provider result = com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); + return result == null ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED : result; } public static final int ENABLED_FIELD_NUMBER = 2; private boolean enabled_; /** - * - * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; - * * @return The enabled. */ @java.lang.Override @@ -260,7 +220,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,9 +231,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (provider_ - != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (provider_ != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, provider_); } if (enabled_ != false) { @@ -289,12 +248,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (provider_ - != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, provider_); + if (provider_ != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, provider_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -304,16 +264,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NetworkPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.NetworkPolicy other = - (com.google.container.v1beta1.NetworkPolicy) obj; + com.google.container.v1beta1.NetworkPolicy other = (com.google.container.v1beta1.NetworkPolicy) obj; if (provider_ != other.provider_) return false; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,110 +288,104 @@ public int hashCode() { hash = (37 * hash) + PROVIDER_FIELD_NUMBER; hash = (53 * hash) + provider_; hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.NetworkPolicy parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NetworkPolicy parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkPolicy parseFrom( 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.NetworkPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NetworkPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NetworkPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NetworkPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NetworkPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NetworkPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for the NetworkPolicy feature.
    * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -439,32 +393,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NetworkPolicy}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkPolicy)
       com.google.container.v1beta1.NetworkPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NetworkPolicy.class,
-              com.google.container.v1beta1.NetworkPolicy.Builder.class);
+              com.google.container.v1beta1.NetworkPolicy.class, com.google.container.v1beta1.NetworkPolicy.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NetworkPolicy.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,9 +431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -497,8 +452,7 @@ public com.google.container.v1beta1.NetworkPolicy build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NetworkPolicy buildPartial() {
-      com.google.container.v1beta1.NetworkPolicy result =
-          new com.google.container.v1beta1.NetworkPolicy(this);
+      com.google.container.v1beta1.NetworkPolicy result = new com.google.container.v1beta1.NetworkPolicy(this);
       result.provider_ = provider_;
       result.enabled_ = enabled_;
       onBuilt();
@@ -509,39 +463,38 @@ public com.google.container.v1beta1.NetworkPolicy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NetworkPolicy) {
-        return mergeFrom((com.google.container.v1beta1.NetworkPolicy) other);
+        return mergeFrom((com.google.container.v1beta1.NetworkPolicy)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -582,25 +535,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                provider_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              provider_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 16: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -613,67 +563,51 @@ public Builder mergeFrom(
 
     private int provider_ = 0;
     /**
-     *
-     *
      * 
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override - public int getProviderValue() { + @java.lang.Override public int getProviderValue() { return provider_; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @param value The enum numeric value on the wire for provider to set. * @return This builder for chaining. */ public Builder setProviderValue(int value) { - + provider_ = value; onChanged(); return this; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @return The provider. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NetworkPolicy.Provider result = - com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); - return result == null - ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED - : result; + com.google.container.v1beta1.NetworkPolicy.Provider result = com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); + return result == null ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED : result; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @param value The provider to set. * @return This builder for chaining. */ @@ -681,39 +615,33 @@ public Builder setProvider(com.google.container.v1beta1.NetworkPolicy.Provider v if (value == null) { throw new NullPointerException(); } - + provider_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @return This builder for chaining. */ public Builder clearProvider() { - + provider_ = 0; onChanged(); return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; - * * @return The enabled. */ @java.lang.Override @@ -721,43 +649,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -767,12 +689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkPolicy) private static final com.google.container.v1beta1.NetworkPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkPolicy(); } @@ -781,27 +703,27 @@ public static com.google.container.v1beta1.NetworkPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -816,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NetworkPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java index 8dce320c3bd0..28b0920472ee 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration for NetworkPolicy. This only tracks whether the addon
  * is enabled or not on the Master, it does not track whether network policy
@@ -29,55 +12,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.NetworkPolicyConfig}
  */
-public final class NetworkPolicyConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkPolicyConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkPolicyConfig)
     NetworkPolicyConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkPolicyConfig.newBuilder() to construct.
   private NetworkPolicyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NetworkPolicyConfig() {}
+  private NetworkPolicyConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkPolicyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NetworkPolicyConfig.class,
-            com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
+            com.google.container.v1beta1.NetworkPolicyConfig.class, com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
-   *
-   *
    * 
    * Whether NetworkPolicy is enabled for this cluster.
    * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -86,7 +65,6 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -112,7 +91,8 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,15 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NetworkPolicyConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NetworkPolicyConfig other = - (com.google.container.v1beta1.NetworkPolicyConfig) obj; + com.google.container.v1beta1.NetworkPolicyConfig other = (com.google.container.v1beta1.NetworkPolicyConfig) obj; - if (getDisabled() != other.getDisabled()) return false; + if (getDisabled() + != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,110 +123,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( 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.NetworkPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NetworkPolicyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NetworkPolicyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NetworkPolicyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -255,32 +229,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NetworkPolicyConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkPolicyConfig)
       com.google.container.v1beta1.NetworkPolicyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NetworkPolicyConfig.class,
-              com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
+              com.google.container.v1beta1.NetworkPolicyConfig.class, com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NetworkPolicyConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +265,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +286,7 @@ public com.google.container.v1beta1.NetworkPolicyConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NetworkPolicyConfig buildPartial() {
-      com.google.container.v1beta1.NetworkPolicyConfig result =
-          new com.google.container.v1beta1.NetworkPolicyConfig(this);
+      com.google.container.v1beta1.NetworkPolicyConfig result = new com.google.container.v1beta1.NetworkPolicyConfig(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -322,39 +296,38 @@ public com.google.container.v1beta1.NetworkPolicyConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NetworkPolicyConfig) {
-        return mergeFrom((com.google.container.v1beta1.NetworkPolicyConfig) other);
+        return mergeFrom((com.google.container.v1beta1.NetworkPolicyConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -362,8 +335,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.NetworkPolicyConfig other) {
-      if (other == com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance()) return this;
       if (other.getDisabled() != false) {
         setDisabled(other.getDisabled());
       }
@@ -393,19 +365,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                disabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              disabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -416,16 +386,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_;
+    private boolean disabled_ ;
     /**
-     *
-     *
      * 
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return The disabled. */ @java.lang.Override @@ -433,43 +400,37 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -479,12 +440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkPolicyConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkPolicyConfig) private static final com.google.container.v1beta1.NetworkPolicyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkPolicyConfig(); } @@ -493,27 +454,27 @@ public static com.google.container.v1beta1.NetworkPolicyConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -528,4 +489,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NetworkPolicyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java new file mode 100644 index 000000000000..1dc4722cf9a1 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface NetworkPolicyConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkPolicyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether NetworkPolicy is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java similarity index 58% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java index 4e977659fbfe..4403349733ad 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface NetworkPolicyOrBuilder - extends +public interface NetworkPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @return The enum numeric value on the wire for provider. */ int getProviderValue(); /** - * - * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; - * * @return The provider. */ com.google.container.v1beta1.NetworkPolicy.Provider getProvider(); /** - * - * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; - * * @return The enabled. */ boolean getEnabled(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java index f309ec4e7f15..f7f3e29ce6f7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Collection of Compute Engine network tags that can be applied to a node's
  * underlying VM instance. (See `tags` field in
@@ -29,85 +12,75 @@
  *
  * Protobuf type {@code google.container.v1beta1.NetworkTags}
  */
-public final class NetworkTags extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NetworkTags extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkTags)
     NetworkTagsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NetworkTags.newBuilder() to construct.
   private NetworkTags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NetworkTags() {
     tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NetworkTags();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NetworkTags_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NetworkTags.class,
-            com.google.container.v1beta1.NetworkTags.Builder.class);
+            com.google.container.v1beta1.NetworkTags.class, com.google.container.v1beta1.NetworkTags.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList tags_;
   /**
-   *
-   *
    * 
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -115,23 +88,20 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,7 +113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); } @@ -172,14 +143,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NetworkTags)) { return super.equals(obj); } com.google.container.v1beta1.NetworkTags other = (com.google.container.v1beta1.NetworkTags) obj; - if (!getTagsList().equals(other.getTagsList())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,104 +172,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NetworkTags parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NetworkTags parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkTags parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkTags parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkTags parseFrom( 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.NetworkTags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NetworkTags parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NetworkTags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkTags parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NetworkTags parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NetworkTags parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkTags parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NetworkTags parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NetworkTags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NetworkTags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of Compute Engine network tags that can be applied to a node's
    * underlying VM instance. (See `tags` field in
@@ -306,32 +271,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NetworkTags}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkTags)
       com.google.container.v1beta1.NetworkTagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkTags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NetworkTags.class,
-              com.google.container.v1beta1.NetworkTags.Builder.class);
+              com.google.container.v1beta1.NetworkTags.class, com.google.container.v1beta1.NetworkTags.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NetworkTags.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -341,9 +307,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NetworkTags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
@@ -362,8 +328,7 @@ public com.google.container.v1beta1.NetworkTags build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NetworkTags buildPartial() {
-      com.google.container.v1beta1.NetworkTags result =
-          new com.google.container.v1beta1.NetworkTags(this);
+      com.google.container.v1beta1.NetworkTags result = new com.google.container.v1beta1.NetworkTags(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -378,39 +343,38 @@ public com.google.container.v1beta1.NetworkTags buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NetworkTags) {
-        return mergeFrom((com.google.container.v1beta1.NetworkTags) other);
+        return mergeFrom((com.google.container.v1beta1.NetworkTags)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -455,20 +419,18 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTagsIsMutable();
-                tags_.add(s);
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTagsIsMutable();
+              tags_.add(s);
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -478,55 +440,44 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList tags_ =
-        com.google.protobuf.LazyStringArrayList.EMPTY;
-
+    private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
     /**
-     *
-     *
      * 
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -534,90 +485,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -627,30 +568,28 @@ public Builder clearTags() { return this; } /** - * - * *
      * List of network tags.
      * 
* * repeated string tags = 1; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -660,12 +599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkTags) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkTags) private static final com.google.container.v1beta1.NetworkTags DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkTags(); } @@ -674,27 +613,27 @@ public static com.google.container.v1beta1.NetworkTags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkTags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkTags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -709,4 +648,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NetworkTags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java similarity index 56% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java index b6bb79b4ffe3..cc99ed99b6bb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NetworkTagsOrBuilder - extends +public interface NetworkTagsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkTags) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * List of network tags.
    * 
* * repeated string tags = 1; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java similarity index 77% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java index 704d60459a21..f346f4062512 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Parameters that describe the nodes in a cluster.
  * GKE Autopilot clusters do not
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeConfig}
  */
-public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeConfig)
     NodeConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeConfig.newBuilder() to construct.
   private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodeConfig() {
     machineType_ = "";
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -57,23 +39,25 @@ private NodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetMetadata();
@@ -82,25 +66,22 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
       case 37:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeConfig.class,
-            com.google.container.v1beta1.NodeConfig.Builder.class);
+            com.google.container.v1beta1.NodeConfig.class, com.google.container.v1beta1.NodeConfig.Builder.class);
   }
 
+  private int bitField0_;
   public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object machineType_;
   /**
-   *
-   *
    * 
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -109,7 +90,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string machine_type = 1; - * * @return The machineType. */ @java.lang.Override @@ -118,15 +98,14 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** - * - * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -135,15 +114,16 @@ public java.lang.String getMachineType() {
    * 
* * string machine_type = 1; - * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -154,8 +134,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 2; private int diskSizeGb_; /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -163,7 +141,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
    * 
* * int32 disk_size_gb = 2; - * * @return The diskSizeGb. */ @java.lang.Override @@ -174,8 +151,6 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList oauthScopes_; /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -192,15 +167,13 @@ public int getDiskSizeGb() {
    * 
* * repeated string oauth_scopes = 3; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_; } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -217,15 +190,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
    * 
* * repeated string oauth_scopes = 3; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -242,7 +212,6 @@ public int getOauthScopesCount() {
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -250,8 +219,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -268,19 +235,17 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 9; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -288,7 +253,6 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
    * 
* * string service_account = 9; - * * @return The serviceAccount. */ @java.lang.Override @@ -297,15 +261,14 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -313,15 +276,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -330,23 +294,24 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } public static final int METADATA_FIELD_NUMBER = 4; - private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -355,8 +320,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -390,22 +353,22 @@ public int getMetadataCount() {
    *
    * map<string, string> metadata = 4;
    */
+
   @java.lang.Override
-  public boolean containsMetadata(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsMetadata(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /** Use {@link #getMetadataMap()} instead. */
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -440,12 +403,11 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -480,17 +442,16 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
+
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -525,11 +486,12 @@ public java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-  public java.lang.String getMetadataOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetMetadata().getMap();
+
+  public java.lang.String getMetadataOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -539,15 +501,12 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
   public static final int IMAGE_TYPE_FIELD_NUMBER = 5;
   private volatile java.lang.Object imageType_;
   /**
-   *
-   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The imageType. */ @java.lang.Override @@ -556,30 +515,30 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -588,23 +547,24 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } public static final int LABELS_FIELD_NUMBER = 6; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -613,8 +573,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -628,22 +586,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 6;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -658,12 +616,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -678,16 +635,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -702,11 +659,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -716,8 +674,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int LOCAL_SSD_COUNT_FIELD_NUMBER = 7;
   private int localSsdCount_;
   /**
-   *
-   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -727,7 +683,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * int32 local_ssd_count = 7; - * * @return The localSsdCount. */ @java.lang.Override @@ -738,8 +693,6 @@ public int getLocalSsdCount() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -748,15 +701,13 @@ public int getLocalSsdCount() {
    * 
* * repeated string tags = 8; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -765,15 +716,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
    * 
* * repeated string tags = 8; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -782,7 +730,6 @@ public int getTagsCount() {
    * 
* * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -790,8 +737,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -800,19 +745,17 @@ public java.lang.String getTags(int index) {
    * 
* * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int PREEMPTIBLE_FIELD_NUMBER = 10; private boolean preemptible_; /** - * - * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -820,7 +763,6 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
    * 
* * bool preemptible = 10; - * * @return The preemptible. */ @java.lang.Override @@ -831,8 +773,6 @@ public boolean getPreemptible() { public static final int ACCELERATORS_FIELD_NUMBER = 11; private java.util.List accelerators_; /** - * - * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -846,8 +786,6 @@ public java.util.List getAcceler
     return accelerators_;
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -857,13 +795,11 @@ public java.util.List getAcceler
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getAcceleratorsOrBuilderList() {
     return accelerators_;
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -877,8 +813,6 @@ public int getAcceleratorsCount() {
     return accelerators_.size();
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -892,8 +826,6 @@ public com.google.container.v1beta1.AcceleratorConfig getAccelerators(int index)
     return accelerators_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -911,14 +843,11 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
   public static final int SANDBOX_CONFIG_FIELD_NUMBER = 17;
   private com.google.container.v1beta1.SandboxConfig sandboxConfig_;
   /**
-   *
-   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; - * * @return Whether the sandboxConfig field is set. */ @java.lang.Override @@ -926,25 +855,18 @@ public boolean hasSandboxConfig() { return sandboxConfig_ != null; } /** - * - * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; - * * @return The sandboxConfig. */ @java.lang.Override public com.google.container.v1beta1.SandboxConfig getSandboxConfig() { - return sandboxConfig_ == null - ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() - : sandboxConfig_; + return sandboxConfig_ == null ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() : sandboxConfig_; } /** - * - * *
    * Sandbox configuration for this node.
    * 
@@ -959,8 +881,6 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui public static final int NODE_GROUP_FIELD_NUMBER = 18; private volatile java.lang.Object nodeGroup_; /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -969,7 +889,6 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui
    * 
* * string node_group = 18; - * * @return The nodeGroup. */ @java.lang.Override @@ -978,15 +897,14 @@ public java.lang.String getNodeGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; } } /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -995,15 +913,16 @@ public java.lang.String getNodeGroup() {
    * 
* * string node_group = 18; - * * @return The bytes for nodeGroup. */ @java.lang.Override - public com.google.protobuf.ByteString getNodeGroupBytes() { + public com.google.protobuf.ByteString + getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -1014,8 +933,6 @@ public com.google.protobuf.ByteString getNodeGroupBytes() { public static final int RESERVATION_AFFINITY_FIELD_NUMBER = 19; private com.google.container.v1beta1.ReservationAffinity reservationAffinity_; /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1024,7 +941,6 @@ public com.google.protobuf.ByteString getNodeGroupBytes() {
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; - * * @return Whether the reservationAffinity field is set. */ @java.lang.Override @@ -1032,8 +948,6 @@ public boolean hasReservationAffinity() { return reservationAffinity_ != null; } /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1042,18 +956,13 @@ public boolean hasReservationAffinity() {
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; - * * @return The reservationAffinity. */ @java.lang.Override public com.google.container.v1beta1.ReservationAffinity getReservationAffinity() { - return reservationAffinity_ == null - ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() - : reservationAffinity_; + return reservationAffinity_ == null ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; } /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1064,16 +973,13 @@ public com.google.container.v1beta1.ReservationAffinity getReservationAffinity()
    * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ReservationAffinityOrBuilder
-      getReservationAffinityOrBuilder() {
+  public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder() {
     return getReservationAffinity();
   }
 
   public static final int DISK_TYPE_FIELD_NUMBER = 12;
   private volatile java.lang.Object diskType_;
   /**
-   *
-   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -1081,7 +987,6 @@ public com.google.container.v1beta1.ReservationAffinity getReservationAffinity()
    * 
* * string disk_type = 12; - * * @return The diskType. */ @java.lang.Override @@ -1090,15 +995,14 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -1106,15 +1010,16 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 12; - * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -1125,8 +1030,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 13; private volatile java.lang.Object minCpuPlatform_; /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -1138,7 +1041,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() {
    * 
* * string min_cpu_platform = 13; - * * @return The minCpuPlatform. */ @java.lang.Override @@ -1147,15 +1049,14 @@ public java.lang.String getMinCpuPlatform() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -1167,15 +1068,16 @@ public java.lang.String getMinCpuPlatform() {
    * 
* * string min_cpu_platform = 13; - * * @return The bytes for minCpuPlatform. */ @java.lang.Override - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -1186,14 +1088,11 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -1201,25 +1100,18 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } /** - * - * *
    * The workload metadata configuration for this node.
    * 
@@ -1227,16 +1119,13 @@ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataCo * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int TAINTS_FIELD_NUMBER = 15; private java.util.List taints_; /** - * - * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1250,8 +1139,6 @@ public java.util.List getTaintsList() {
     return taints_;
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1261,13 +1148,11 @@ public java.util.List getTaintsList() {
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTaintsOrBuilderList() {
     return taints_;
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1281,8 +1166,6 @@ public int getTaintsCount() {
     return taints_.size();
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1296,8 +1179,6 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
     return taints_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1307,15 +1188,14 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
+  public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
+      int index) {
     return taints_.get(index);
   }
 
   public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 23;
   private volatile java.lang.Object bootDiskKmsKey_;
   /**
-   *
-   *
    * 
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1326,7 +1206,6 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int in
    * 
* * string boot_disk_kms_key = 23; - * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -1335,15 +1214,14 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1354,15 +1232,16 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 23; - * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -1373,14 +1252,11 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 20; private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -1388,25 +1264,18 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null - ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } /** - * - * *
    * Shielded Instance options.
    * 
@@ -1414,22 +1283,18 @@ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceCo * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ @java.lang.Override - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_; /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; - * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -1437,25 +1302,18 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; - * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -1470,14 +1328,11 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO public static final int KUBELET_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; - * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -1485,25 +1340,18 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; - * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null - ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } /** - * - * *
    * Node kubelet configs.
    * 
@@ -1518,15 +1366,12 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO public static final int EPHEMERAL_STORAGE_CONFIG_FIELD_NUMBER = 24; private com.google.container.v1beta1.EphemeralStorageConfig ephemeralStorageConfig_; /** - * - * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; - * * @return Whether the ephemeralStorageConfig field is set. */ @java.lang.Override @@ -1534,26 +1379,19 @@ public boolean hasEphemeralStorageConfig() { return ephemeralStorageConfig_ != null; } /** - * - * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; - * * @return The ephemeralStorageConfig. */ @java.lang.Override public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageConfig() { - return ephemeralStorageConfig_ == null - ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() - : ephemeralStorageConfig_; + return ephemeralStorageConfig_ == null ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() : ephemeralStorageConfig_; } /** - * - * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
@@ -1562,22 +1400,18 @@ public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageCo
    * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder
-      getEphemeralStorageConfigOrBuilder() {
+  public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeralStorageConfigOrBuilder() {
     return getEphemeralStorageConfig();
   }
 
   public static final int GCFS_CONFIG_FIELD_NUMBER = 25;
   private com.google.container.v1beta1.GcfsConfig gcfsConfig_;
   /**
-   *
-   *
    * 
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; - * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -1585,25 +1419,18 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** - * - * *
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; - * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } /** - * - * *
    * GCFS (Google Container File System) configs.
    * 
@@ -1618,14 +1445,11 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() public static final int ADVANCED_MACHINE_FEATURES_FIELD_NUMBER = 26; private com.google.container.v1beta1.AdvancedMachineFeatures advancedMachineFeatures_; /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return Whether the advancedMachineFeatures field is set. */ @java.lang.Override @@ -1633,25 +1457,18 @@ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeatures_ != null; } /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return The advancedMachineFeatures. */ @java.lang.Override public com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFeatures() { - return advancedMachineFeatures_ == null - ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() - : advancedMachineFeatures_; + return advancedMachineFeatures_ == null ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; } /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
@@ -1659,22 +1476,18 @@ public com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFe * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ @java.lang.Override - public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder - getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { return getAdvancedMachineFeatures(); } public static final int GVNIC_FIELD_NUMBER = 29; private com.google.container.v1beta1.VirtualNIC gvnic_; /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -1682,14 +1495,11 @@ public boolean hasGvnic() { return gvnic_ != null; } /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ @java.lang.Override @@ -1697,8 +1507,6 @@ public com.google.container.v1beta1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -1713,15 +1521,12 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { public static final int SPOT_FIELD_NUMBER = 32; private boolean spot_; /** - * - * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; - * * @return The spot. */ @java.lang.Override @@ -1732,15 +1537,12 @@ public boolean getSpot() { public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 35; private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; - * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -1748,26 +1550,19 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; - * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null - ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1780,25 +1575,62 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
     return getConfidentialNodes();
   }
 
-  public static final int RESOURCE_LABELS_FIELD_NUMBER = 37;
-
-  private static final class ResourceLabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.container.v1beta1.ClusterServiceProto
-                .internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
+  public static final int FAST_SOCKET_FIELD_NUMBER = 36;
+  private com.google.container.v1beta1.FastSocket fastSocket_;
+  /**
+   * 
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * @return Whether the fastSocket field is set. + */ + @java.lang.Override + public boolean hasFastSocket() { + return ((bitField0_ & 0x00000001) != 0); } - - private com.google.protobuf.MapField resourceLabels_; - - private com.google.protobuf.MapField - internalGetResourceLabels() { - if (resourceLabels_ == null) { - return com.google.protobuf.MapField.emptyMapField( + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * @return The fastSocket. + */ + @java.lang.Override + public com.google.container.v1beta1.FastSocket getFastSocket() { + return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + } + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + @java.lang.Override + public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() { + return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + } + + public static final int RESOURCE_LABELS_FIELD_NUMBER = 37; + private static final class ResourceLabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField + internalGetResourceLabels() { + if (resourceLabels_ == null) { + return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; @@ -1808,8 +1640,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1817,22 +1647,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 37;
    */
+
   @java.lang.Override
-  public boolean containsResourceLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsResourceLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1841,12 +1671,11 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
+
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1855,17 +1684,16 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
+
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1874,11 +1702,12 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetResourceLabels().getMap();
+
+  public java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1888,14 +1717,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 38;
   private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_;
   /**
-   *
-   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1903,25 +1729,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration.
    * 
@@ -1934,7 +1753,6 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1946,7 +1764,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -1956,13 +1775,21 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, oauthScopes_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetMetadata(), + MetadataDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageType_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 6); if (localSsdCount_ != 0) { output.writeInt32(7, localSsdCount_); } @@ -2029,8 +1856,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (confidentialNodes_ != null) { output.writeMessage(35, getConfidentialNodes()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 37); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(36, getFastSocket()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetResourceLabels(), + ResourceLabelsDefaultEntryHolder.defaultEntry, + 37); if (loggingConfig_ != null) { output.writeMessage(38, getLoggingConfig()); } @@ -2047,7 +1881,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, machineType_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, diskSizeGb_); } { int dataSize = 0; @@ -2057,31 +1892,32 @@ public int getSerializedSize() { size += dataSize; size += 1 * getOauthScopesList().size(); } - for (java.util.Map.Entry entry : - internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry metadata__ = - MetadataDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); + for (java.util.Map.Entry entry + : internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry + metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageType_); } - 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(6, labels__); + 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(6, labels__); } if (localSsdCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, localSsdCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, localSsdCount_); } { int dataSize = 0; @@ -2095,10 +1931,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceAccount_); } if (preemptible_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, preemptible_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, preemptible_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, diskType_); @@ -2107,68 +1945,80 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, minCpuPlatform_); } if (workloadMetadataConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getWorkloadMetadataConfig()); } for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, taints_.get(i)); } if (sandboxConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getSandboxConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getSandboxConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, nodeGroup_); } if (reservationAffinity_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(19, getReservationAffinity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, getReservationAffinity()); } if (shieldedInstanceConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(20, getShieldedInstanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(20, getShieldedInstanceConfig()); } if (linuxNodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getLinuxNodeConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getLinuxNodeConfig()); } if (kubeletConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getKubeletConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getKubeletConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, bootDiskKmsKey_); } if (ephemeralStorageConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(24, getEphemeralStorageConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(24, getEphemeralStorageConfig()); } if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(25, getGcfsConfig()); } if (advancedMachineFeatures_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 26, getAdvancedMachineFeatures()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getAdvancedMachineFeatures()); } if (gvnic_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getGvnic()); } if (spot_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(32, spot_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(32, spot_); } if (confidentialNodes_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, getConfidentialNodes()); - } - for (java.util.Map.Entry entry : - internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry resourceLabels__ = - ResourceLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, resourceLabels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(35, getConfidentialNodes()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(36, getFastSocket()); + } + for (java.util.Map.Entry entry + : internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(37, resourceLabels__); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(38, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2178,78 +2028,113 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeConfig)) { return super.equals(obj); } com.google.container.v1beta1.NodeConfig other = (com.google.container.v1beta1.NodeConfig) obj; - if (!getMachineType().equals(other.getMachineType())) return false; - if (getDiskSizeGb() != other.getDiskSizeGb()) return false; - if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; - if (!getImageType().equals(other.getImageType())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (getLocalSsdCount() != other.getLocalSsdCount()) return false; - if (!getTagsList().equals(other.getTagsList())) return false; - if (getPreemptible() != other.getPreemptible()) return false; - if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; + if (!getMachineType() + .equals(other.getMachineType())) return false; + if (getDiskSizeGb() + != other.getDiskSizeGb()) return false; + if (!getOauthScopesList() + .equals(other.getOauthScopesList())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!internalGetMetadata().equals( + other.internalGetMetadata())) return false; + if (!getImageType() + .equals(other.getImageType())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (getLocalSsdCount() + != other.getLocalSsdCount()) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (getPreemptible() + != other.getPreemptible()) return false; + if (!getAcceleratorsList() + .equals(other.getAcceleratorsList())) return false; if (hasSandboxConfig() != other.hasSandboxConfig()) return false; if (hasSandboxConfig()) { - if (!getSandboxConfig().equals(other.getSandboxConfig())) return false; + if (!getSandboxConfig() + .equals(other.getSandboxConfig())) return false; } - if (!getNodeGroup().equals(other.getNodeGroup())) return false; + if (!getNodeGroup() + .equals(other.getNodeGroup())) return false; if (hasReservationAffinity() != other.hasReservationAffinity()) return false; if (hasReservationAffinity()) { - if (!getReservationAffinity().equals(other.getReservationAffinity())) return false; + if (!getReservationAffinity() + .equals(other.getReservationAffinity())) return false; } - if (!getDiskType().equals(other.getDiskType())) return false; - if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; + if (!getDiskType() + .equals(other.getDiskType())) return false; + if (!getMinCpuPlatform() + .equals(other.getMinCpuPlatform())) return false; if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false; if (hasWorkloadMetadataConfig()) { - if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false; + if (!getWorkloadMetadataConfig() + .equals(other.getWorkloadMetadataConfig())) return false; } - if (!getTaintsList().equals(other.getTaintsList())) return false; - if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; + if (!getTaintsList() + .equals(other.getTaintsList())) return false; + if (!getBootDiskKmsKey() + .equals(other.getBootDiskKmsKey())) return false; if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig() + .equals(other.getShieldedInstanceConfig())) return false; } if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false; if (hasLinuxNodeConfig()) { - if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false; + if (!getLinuxNodeConfig() + .equals(other.getLinuxNodeConfig())) return false; } if (hasKubeletConfig() != other.hasKubeletConfig()) return false; if (hasKubeletConfig()) { - if (!getKubeletConfig().equals(other.getKubeletConfig())) return false; + if (!getKubeletConfig() + .equals(other.getKubeletConfig())) return false; } if (hasEphemeralStorageConfig() != other.hasEphemeralStorageConfig()) return false; if (hasEphemeralStorageConfig()) { - if (!getEphemeralStorageConfig().equals(other.getEphemeralStorageConfig())) return false; + if (!getEphemeralStorageConfig() + .equals(other.getEphemeralStorageConfig())) return false; } if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig() + .equals(other.getGcfsConfig())) return false; } if (hasAdvancedMachineFeatures() != other.hasAdvancedMachineFeatures()) return false; if (hasAdvancedMachineFeatures()) { - if (!getAdvancedMachineFeatures().equals(other.getAdvancedMachineFeatures())) return false; + if (!getAdvancedMachineFeatures() + .equals(other.getAdvancedMachineFeatures())) return false; } if (hasGvnic() != other.hasGvnic()) return false; if (hasGvnic()) { - if (!getGvnic().equals(other.getGvnic())) return false; + if (!getGvnic() + .equals(other.getGvnic())) return false; } - if (getSpot() != other.getSpot()) return false; + if (getSpot() + != other.getSpot()) return false; if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; if (hasConfidentialNodes()) { - if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; + if (!getConfidentialNodes() + .equals(other.getConfidentialNodes())) return false; } - if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; + if (hasFastSocket() != other.hasFastSocket()) return false; + if (hasFastSocket()) { + if (!getFastSocket() + .equals(other.getFastSocket())) return false; + } + if (!internalGetResourceLabels().equals( + other.internalGetResourceLabels())) return false; if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2289,7 +2174,8 @@ public int hashCode() { hash = (53 * hash) + getTagsList().hashCode(); } hash = (37 * hash) + PREEMPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPreemptible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPreemptible()); if (getAcceleratorsCount() > 0) { hash = (37 * hash) + ACCELERATORS_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorsList().hashCode(); @@ -2347,11 +2233,16 @@ public int hashCode() { hash = (53 * hash) + getGvnic().hashCode(); } hash = (37 * hash) + SPOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSpot()); if (hasConfidentialNodes()) { hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; hash = (53 * hash) + getConfidentialNodes().hashCode(); } + if (hasFastSocket()) { + hash = (37 * hash) + FAST_SOCKET_FIELD_NUMBER; + hash = (53 * hash) + getFastSocket().hashCode(); + } if (!internalGetResourceLabels().getMap().isEmpty()) { hash = (37 * hash) + RESOURCE_LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetResourceLabels().hashCode(); @@ -2365,104 +2256,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.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.container.v1beta1.NodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters that describe the nodes in a cluster.
    * GKE Autopilot clusters do not
@@ -2473,17 +2357,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodeConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeConfig)
       com.google.container.v1beta1.NodeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMetadata();
@@ -2492,12 +2377,13 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
         case 37:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableMetadata();
@@ -2506,27 +2392,36 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
         case 37:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeConfig.class,
-              com.google.container.v1beta1.NodeConfig.Builder.class);
+              com.google.container.v1beta1.NodeConfig.class, com.google.container.v1beta1.NodeConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
+      maybeForceBuilderInitialization();
+    }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
+      maybeForceBuilderInitialization();
+    }
+    private void maybeForceBuilderInitialization() {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+        getAcceleratorsFieldBuilder();
+        getTaintsFieldBuilder();
+        getFastSocketFieldBuilder();
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2638,6 +2533,12 @@ public Builder clear() {
         confidentialNodes_ = null;
         confidentialNodesBuilder_ = null;
       }
+      if (fastSocketBuilder_ == null) {
+        fastSocket_ = null;
+      } else {
+        fastSocketBuilder_.clear();
+      }
+      bitField0_ = (bitField0_ & ~0x00000040);
       internalGetMutableResourceLabels().clear();
       if (loggingConfigBuilder_ == null) {
         loggingConfig_ = null;
@@ -2649,9 +2550,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -2670,9 +2571,9 @@ public com.google.container.v1beta1.NodeConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeConfig buildPartial() {
-      com.google.container.v1beta1.NodeConfig result =
-          new com.google.container.v1beta1.NodeConfig(this);
+      com.google.container.v1beta1.NodeConfig result = new com.google.container.v1beta1.NodeConfig(this);
       int from_bitField0_ = bitField0_;
+      int to_bitField0_ = 0;
       result.machineType_ = machineType_;
       result.diskSizeGb_ = diskSizeGb_;
       if (((bitField0_ & 0x00000001) != 0)) {
@@ -2771,6 +2672,14 @@ public com.google.container.v1beta1.NodeConfig buildPartial() {
       } else {
         result.confidentialNodes_ = confidentialNodesBuilder_.build();
       }
+      if (((from_bitField0_ & 0x00000040) != 0)) {
+        if (fastSocketBuilder_ == null) {
+          result.fastSocket_ = fastSocket_;
+        } else {
+          result.fastSocket_ = fastSocketBuilder_.build();
+        }
+        to_bitField0_ |= 0x00000001;
+      }
       result.resourceLabels_ = internalGetResourceLabels();
       result.resourceLabels_.makeImmutable();
       if (loggingConfigBuilder_ == null) {
@@ -2778,6 +2687,7 @@ public com.google.container.v1beta1.NodeConfig buildPartial() {
       } else {
         result.loggingConfig_ = loggingConfigBuilder_.build();
       }
+      result.bitField0_ = to_bitField0_;
       onBuilt();
       return result;
     }
@@ -2786,39 +2696,38 @@ public com.google.container.v1beta1.NodeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeConfig) {
-        return mergeFrom((com.google.container.v1beta1.NodeConfig) other);
+        return mergeFrom((com.google.container.v1beta1.NodeConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2848,12 +2757,14 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
         serviceAccount_ = other.serviceAccount_;
         onChanged();
       }
-      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(
+          other.internalGetMetadata());
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       if (other.getLocalSsdCount() != 0) {
         setLocalSsdCount(other.getLocalSsdCount());
       }
@@ -2888,10 +2799,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
             acceleratorsBuilder_ = null;
             accelerators_ = other.accelerators_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            acceleratorsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAcceleratorsFieldBuilder()
-                    : null;
+            acceleratorsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAcceleratorsFieldBuilder() : null;
           } else {
             acceleratorsBuilder_.addAllMessages(other.accelerators_);
           }
@@ -2936,10 +2846,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            taintsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaintsFieldBuilder()
-                    : null;
+            taintsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaintsFieldBuilder() : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -2976,7 +2885,11 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
       if (other.hasConfidentialNodes()) {
         mergeConfidentialNodes(other.getConfidentialNodes());
       }
-      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
+      if (other.hasFastSocket()) {
+        mergeFastSocket(other.getFastSocket());
+      }
+      internalGetMutableResourceLabels().mergeFrom(
+          other.internalGetResourceLabels());
       if (other.hasLoggingConfig()) {
         mergeLoggingConfig(other.getLoggingConfig());
       }
@@ -3006,230 +2919,220 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                machineType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                diskSizeGb_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureOauthScopesIsMutable();
-                oauthScopes_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.protobuf.MapEntry metadata__ =
-                    input.readMessage(
-                        MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableMetadata()
-                    .getMutableMap()
-                    .put(metadata__.getKey(), metadata__.getValue());
-                break;
-              } // case 34
-            case 42:
-              {
-                imageType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 50
-            case 56:
-              {
-                localSsdCount_ = input.readInt32();
-
-                break;
-              } // case 56
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureTagsIsMutable();
-                tags_.add(s);
-                break;
-              } // case 66
-            case 74:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 80:
-              {
-                preemptible_ = input.readBool();
-
-                break;
-              } // case 80
-            case 90:
-              {
-                com.google.container.v1beta1.AcceleratorConfig m =
-                    input.readMessage(
-                        com.google.container.v1beta1.AcceleratorConfig.parser(), extensionRegistry);
-                if (acceleratorsBuilder_ == null) {
-                  ensureAcceleratorsIsMutable();
-                  accelerators_.add(m);
-                } else {
-                  acceleratorsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 90
-            case 98:
-              {
-                diskType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 106:
-              {
-                minCpuPlatform_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(
-                    getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 114
-            case 122:
-              {
-                com.google.container.v1beta1.NodeTaint m =
-                    input.readMessage(
-                        com.google.container.v1beta1.NodeTaint.parser(), extensionRegistry);
-                if (taintsBuilder_ == null) {
-                  ensureTaintsIsMutable();
-                  taints_.add(m);
-                } else {
-                  taintsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 122
-            case 138:
-              {
-                input.readMessage(getSandboxConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 138
-            case 146:
-              {
-                nodeGroup_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 146
-            case 154:
-              {
-                input.readMessage(
-                    getReservationAffinityFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 154
-            case 162:
-              {
-                input.readMessage(
-                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 162
-            case 170:
-              {
-                input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 170
-            case 178:
-              {
-                input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 178
-            case 186:
-              {
-                bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 186
-            case 194:
-              {
-                input.readMessage(
-                    getEphemeralStorageConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 194
-            case 202:
-              {
-                input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 202
-            case 210:
-              {
-                input.readMessage(
-                    getAdvancedMachineFeaturesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 210
-            case 234:
-              {
-                input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 234
-            case 256:
-              {
-                spot_ = input.readBool();
-
-                break;
-              } // case 256
-            case 282:
-              {
-                input.readMessage(
-                    getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 282
-            case 298:
-              {
-                com.google.protobuf.MapEntry resourceLabels__ =
-                    input.readMessage(
-                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableResourceLabels()
-                    .getMutableMap()
-                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
-                break;
-              } // case 298
-            case 306:
-              {
-                input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 306
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              machineType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              diskSizeGb_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureOauthScopesIsMutable();
+              oauthScopes_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              com.google.protobuf.MapEntry
+              metadata__ = input.readMessage(
+                  MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableMetadata().getMutableMap().put(
+                  metadata__.getKey(), metadata__.getValue());
+              break;
+            } // case 34
+            case 42: {
+              imageType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 50
+            case 56: {
+              localSsdCount_ = input.readInt32();
+
+              break;
+            } // case 56
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureTagsIsMutable();
+              tags_.add(s);
+              break;
+            } // case 66
+            case 74: {
+              serviceAccount_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 80: {
+              preemptible_ = input.readBool();
+
+              break;
+            } // case 80
+            case 90: {
+              com.google.container.v1beta1.AcceleratorConfig m =
+                  input.readMessage(
+                      com.google.container.v1beta1.AcceleratorConfig.parser(),
+                      extensionRegistry);
+              if (acceleratorsBuilder_ == null) {
+                ensureAcceleratorsIsMutable();
+                accelerators_.add(m);
+              } else {
+                acceleratorsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 90
+            case 98: {
+              diskType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 98
+            case 106: {
+              minCpuPlatform_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getWorkloadMetadataConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 114
+            case 122: {
+              com.google.container.v1beta1.NodeTaint m =
+                  input.readMessage(
+                      com.google.container.v1beta1.NodeTaint.parser(),
+                      extensionRegistry);
+              if (taintsBuilder_ == null) {
+                ensureTaintsIsMutable();
+                taints_.add(m);
+              } else {
+                taintsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 122
+            case 138: {
+              input.readMessage(
+                  getSandboxConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 138
+            case 146: {
+              nodeGroup_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getReservationAffinityFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getLinuxNodeConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getKubeletConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 178
+            case 186: {
+              bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 186
+            case 194: {
+              input.readMessage(
+                  getEphemeralStorageConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 194
+            case 202: {
+              input.readMessage(
+                  getGcfsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 202
+            case 210: {
+              input.readMessage(
+                  getAdvancedMachineFeaturesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 210
+            case 234: {
+              input.readMessage(
+                  getGvnicFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 234
+            case 256: {
+              spot_ = input.readBool();
+
+              break;
+            } // case 256
+            case 282: {
+              input.readMessage(
+                  getConfidentialNodesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 282
+            case 290: {
+              input.readMessage(
+                  getFastSocketFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 290
+            case 298: {
+              com.google.protobuf.MapEntry
+              resourceLabels__ = input.readMessage(
+                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableResourceLabels().getMutableMap().put(
+                  resourceLabels__.getKey(), resourceLabels__.getValue());
+              break;
+            } // case 298
+            case 306: {
+              input.readMessage(
+                  getLoggingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 306
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3239,13 +3142,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object machineType_ = "";
     /**
-     *
-     *
      * 
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3254,13 +3154,13 @@ public Builder mergeFrom(
      * 
* * string machine_type = 1; - * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -3269,8 +3169,6 @@ public java.lang.String getMachineType() { } } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3279,14 +3177,15 @@ public java.lang.String getMachineType() {
      * 
* * string machine_type = 1; - * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString getMachineTypeBytes() { + public com.google.protobuf.ByteString + getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); machineType_ = b; return b; } else { @@ -3294,8 +3193,6 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { } } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3304,22 +3201,20 @@ public com.google.protobuf.ByteString getMachineTypeBytes() {
      * 
* * string machine_type = 1; - * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType(java.lang.String value) { + public Builder setMachineType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3328,18 +3223,15 @@ public Builder setMachineType(java.lang.String value) {
      * 
* * string machine_type = 1; - * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** - * - * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3348,25 +3240,23 @@ public Builder clearMachineType() {
      * 
* * string machine_type = 1; - * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private int diskSizeGb_; + private int diskSizeGb_ ; /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3374,7 +3264,6 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 disk_size_gb = 2; - * * @return The diskSizeGb. */ @java.lang.Override @@ -3382,8 +3271,6 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3391,19 +3278,16 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 2; - * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** - * - * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3411,28 +3295,23 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 2; - * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3449,15 +3328,13 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 3; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3474,15 +3351,12 @@ public com.google.protobuf.ProtocolStringList getOauthScopesList() {
      * 
* * repeated string oauth_scopes = 3; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3499,7 +3373,6 @@ public int getOauthScopesCount() {
      * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -3507,8 +3380,6 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3525,16 +3396,14 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3551,23 +3420,21 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) {
      * 
* * repeated string oauth_scopes = 3; - * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes(int index, java.lang.String value) { + public Builder setOauthScopes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3584,22 +3451,20 @@ public Builder setOauthScopes(int index, java.lang.String value) {
      * 
* * repeated string oauth_scopes = 3; - * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes(java.lang.String value) { + public Builder addOauthScopes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3616,19 +3481,18 @@ public Builder addOauthScopes(java.lang.String value) {
      * 
* * repeated string oauth_scopes = 3; - * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes(java.lang.Iterable values) { + public Builder addAllOauthScopes( + java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oauthScopes_); onChanged(); return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3645,7 +3509,6 @@ public Builder addAllOauthScopes(java.lang.Iterable values) {
      * 
* * repeated string oauth_scopes = 3; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -3655,8 +3518,6 @@ public Builder clearOauthScopes() { return this; } /** - * - * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3673,15 +3534,15 @@ public Builder clearOauthScopes() {
      * 
* * repeated string oauth_scopes = 3; - * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -3690,8 +3551,6 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3699,13 +3558,13 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) {
      * 
* * string service_account = 9; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -3714,8 +3573,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3723,14 +3580,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -3738,8 +3596,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3747,22 +3603,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 9; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3770,18 +3624,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 9; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3789,37 +3640,37 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 9; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; } - private com.google.protobuf.MapField metadata_; - - private com.google.protobuf.MapField internalGetMetadata() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> metadata_; + private com.google.protobuf.MapField + internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } - private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged(); - ; + internalGetMutableMetadata() { + onChanged();; if (metadata_ == null) { - metadata_ = - com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); + metadata_ = com.google.protobuf.MapField.newMapField( + MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3831,8 +3682,6 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** - * - * *
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3866,22 +3715,22 @@ public int getMetadataCount() {
      *
      * map<string, string> metadata = 4;
      */
+
     @java.lang.Override
-    public boolean containsMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /** Use {@link #getMetadataMap()} instead. */
+    /**
+     * Use {@link #getMetadataMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3916,12 +3765,11 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3956,17 +3804,16 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
+
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4001,11 +3848,12 @@ public java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-    public java.lang.String getMetadataOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetMetadata().getMap();
+
+    public java.lang.String getMetadataOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4013,12 +3861,11 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) {
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap().clear();
+      internalGetMutableMetadata().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4052,21 +3899,23 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder removeMetadata(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableMetadata().getMutableMap().remove(key);
+
+    public Builder removeMetadata(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableMetadata().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableMetadata() {
+    public java.util.Map
+    getMutableMetadata() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4100,20 +3949,19 @@ public java.util.Map getMutableMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putMetadata(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableMetadata().getMutableMap().put(key, value);
+      internalGetMutableMetadata().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -4147,28 +3995,29 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putAllMetadata(java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap().putAll(values);
+
+    public Builder putAllMetadata(
+        java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private java.lang.Object imageType_ = "";
     /**
-     *
-     *
      * 
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -4177,22 +4026,21 @@ public java.lang.String getImageType() { } } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -4200,84 +4048,78 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** - * - * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4289,8 +4131,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4304,22 +4144,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 6;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4334,12 +4174,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4354,17 +4193,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4379,11 +4217,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4391,12 +4230,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4410,21 +4248,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4438,20 +4278,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 6;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4465,15 +4304,16 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 6;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private int localSsdCount_;
+    private int localSsdCount_ ;
     /**
-     *
-     *
      * 
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4483,7 +4323,6 @@ public Builder putAllLabels(java.util.Map va
      * 
* * int32 local_ssd_count = 7; - * * @return The localSsdCount. */ @java.lang.Override @@ -4491,8 +4330,6 @@ public int getLocalSsdCount() { return localSsdCount_; } /** - * - * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4502,19 +4339,16 @@ public int getLocalSsdCount() {
      * 
* * int32 local_ssd_count = 7; - * * @param value The localSsdCount to set. * @return This builder for chaining. */ public Builder setLocalSsdCount(int value) { - + localSsdCount_ = value; onChanged(); return this; } /** - * - * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4524,28 +4358,23 @@ public Builder setLocalSsdCount(int value) {
      * 
* * int32 local_ssd_count = 7; - * * @return This builder for chaining. */ public Builder clearLocalSsdCount() { - + localSsdCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4554,15 +4383,13 @@ private void ensureTagsIsMutable() {
      * 
* * repeated string tags = 8; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4571,15 +4398,12 @@ public com.google.protobuf.ProtocolStringList getTagsList() {
      * 
* * repeated string tags = 8; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4588,7 +4412,6 @@ public int getTagsCount() {
      * 
* * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -4596,8 +4419,6 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4606,16 +4427,14 @@ public java.lang.String getTags(int index) {
      * 
* * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4624,23 +4443,21 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
      * 
* * repeated string tags = 8; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4649,22 +4466,20 @@ public Builder setTags(int index, java.lang.String value) {
      * 
* * repeated string tags = 8; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4673,19 +4488,18 @@ public Builder addTags(java.lang.String value) {
      * 
* * repeated string tags = 8; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4694,7 +4508,6 @@ public Builder addAllTags(java.lang.Iterable values) {
      * 
* * repeated string tags = 8; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -4704,8 +4517,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4714,25 +4525,23 @@ public Builder clearTags() {
      * 
* * repeated string tags = 8; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private boolean preemptible_; + private boolean preemptible_ ; /** - * - * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4740,7 +4549,6 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * bool preemptible = 10; - * * @return The preemptible. */ @java.lang.Override @@ -4748,8 +4556,6 @@ public boolean getPreemptible() { return preemptible_; } /** - * - * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4757,19 +4563,16 @@ public boolean getPreemptible() {
      * 
* * bool preemptible = 10; - * * @param value The preemptible to set. * @return This builder for chaining. */ public Builder setPreemptible(boolean value) { - + preemptible_ = value; onChanged(); return this; } /** - * - * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4777,36 +4580,28 @@ public Builder setPreemptible(boolean value) {
      * 
* * bool preemptible = 10; - * * @return This builder for chaining. */ public Builder clearPreemptible() { - + preemptible_ = false; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - accelerators_ = - new java.util.ArrayList(accelerators_); + accelerators_ = new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.AcceleratorConfig, - com.google.container.v1beta1.AcceleratorConfig.Builder, - com.google.container.v1beta1.AcceleratorConfigOrBuilder> - acceleratorsBuilder_; + com.google.container.v1beta1.AcceleratorConfig, com.google.container.v1beta1.AcceleratorConfig.Builder, com.google.container.v1beta1.AcceleratorConfigOrBuilder> acceleratorsBuilder_; /** - * - * *
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4823,8 +4618,6 @@ public java.util.List getAcceler
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4841,8 +4634,6 @@ public int getAcceleratorsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4859,8 +4650,6 @@ public com.google.container.v1beta1.AcceleratorConfig getAccelerators(int index)
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4884,8 +4673,6 @@ public Builder setAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4906,8 +4693,6 @@ public Builder setAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4930,8 +4715,6 @@ public Builder addAccelerators(com.google.container.v1beta1.AcceleratorConfig va
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4955,8 +4738,6 @@ public Builder addAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4977,8 +4758,6 @@ public Builder addAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4999,8 +4778,6 @@ public Builder addAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5013,7 +4790,8 @@ public Builder addAllAccelerators(
         java.lang.Iterable values) {
       if (acceleratorsBuilder_ == null) {
         ensureAcceleratorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, accelerators_);
         onChanged();
       } else {
         acceleratorsBuilder_.addAllMessages(values);
@@ -5021,8 +4799,6 @@ public Builder addAllAccelerators(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5042,8 +4818,6 @@ public Builder clearAccelerators() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5063,8 +4837,6 @@ public Builder removeAccelerators(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5078,8 +4850,6 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder getAcceleratorsBui
       return getAcceleratorsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5091,14 +4861,11 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder getAcceleratorsBui
     public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
         int index) {
       if (acceleratorsBuilder_ == null) {
-        return accelerators_.get(index);
-      } else {
+        return accelerators_.get(index);  } else {
         return acceleratorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5107,8 +4874,8 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
      *
      * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List
-        getAcceleratorsOrBuilderList() {
+    public java.util.List 
+         getAcceleratorsOrBuilderList() {
       if (acceleratorsBuilder_ != null) {
         return acceleratorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -5116,8 +4883,6 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
       }
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5127,12 +4892,10 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
      * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
      */
     public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBuilder() {
-      return getAcceleratorsFieldBuilder()
-          .addBuilder(com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
+      return getAcceleratorsFieldBuilder().addBuilder(
+          com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5143,12 +4906,10 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBui
      */
     public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBuilder(
         int index) {
-      return getAcceleratorsFieldBuilder()
-          .addBuilder(index, com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
+      return getAcceleratorsFieldBuilder().addBuilder(
+          index, com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -5157,23 +4918,20 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBui
      *
      * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List
-        getAcceleratorsBuilderList() {
+    public java.util.List 
+         getAcceleratorsBuilderList() {
       return getAcceleratorsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.AcceleratorConfig,
-            com.google.container.v1beta1.AcceleratorConfig.Builder,
-            com.google.container.v1beta1.AcceleratorConfigOrBuilder>
+        com.google.container.v1beta1.AcceleratorConfig, com.google.container.v1beta1.AcceleratorConfig.Builder, com.google.container.v1beta1.AcceleratorConfigOrBuilder> 
         getAcceleratorsFieldBuilder() {
       if (acceleratorsBuilder_ == null) {
-        acceleratorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1beta1.AcceleratorConfig,
-                com.google.container.v1beta1.AcceleratorConfig.Builder,
-                com.google.container.v1beta1.AcceleratorConfigOrBuilder>(
-                accelerators_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1beta1.AcceleratorConfig, com.google.container.v1beta1.AcceleratorConfig.Builder, com.google.container.v1beta1.AcceleratorConfigOrBuilder>(
+                accelerators_,
+                ((bitField0_ & 0x00000010) != 0),
+                getParentForChildren(),
+                isClean());
         accelerators_ = null;
       }
       return acceleratorsBuilder_;
@@ -5181,47 +4939,34 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBui
 
     private com.google.container.v1beta1.SandboxConfig sandboxConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.SandboxConfig,
-            com.google.container.v1beta1.SandboxConfig.Builder,
-            com.google.container.v1beta1.SandboxConfigOrBuilder>
-        sandboxConfigBuilder_;
+        com.google.container.v1beta1.SandboxConfig, com.google.container.v1beta1.SandboxConfig.Builder, com.google.container.v1beta1.SandboxConfigOrBuilder> sandboxConfigBuilder_;
     /**
-     *
-     *
      * 
      * Sandbox configuration for this node.
      * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; - * * @return Whether the sandboxConfig field is set. */ public boolean hasSandboxConfig() { return sandboxConfigBuilder_ != null || sandboxConfig_ != null; } /** - * - * *
      * Sandbox configuration for this node.
      * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; - * * @return The sandboxConfig. */ public com.google.container.v1beta1.SandboxConfig getSandboxConfig() { if (sandboxConfigBuilder_ == null) { - return sandboxConfig_ == null - ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() - : sandboxConfig_; + return sandboxConfig_ == null ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() : sandboxConfig_; } else { return sandboxConfigBuilder_.getMessage(); } } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -5242,8 +4987,6 @@ public Builder setSandboxConfig(com.google.container.v1beta1.SandboxConfig value return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -5262,8 +5005,6 @@ public Builder setSandboxConfig( return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -5274,9 +5015,7 @@ public Builder mergeSandboxConfig(com.google.container.v1beta1.SandboxConfig val if (sandboxConfigBuilder_ == null) { if (sandboxConfig_ != null) { sandboxConfig_ = - com.google.container.v1beta1.SandboxConfig.newBuilder(sandboxConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.SandboxConfig.newBuilder(sandboxConfig_).mergeFrom(value).buildPartial(); } else { sandboxConfig_ = value; } @@ -5288,8 +5027,6 @@ public Builder mergeSandboxConfig(com.google.container.v1beta1.SandboxConfig val return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -5308,8 +5045,6 @@ public Builder clearSandboxConfig() { return this; } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -5317,13 +5052,11 @@ public Builder clearSandboxConfig() { * .google.container.v1beta1.SandboxConfig sandbox_config = 17; */ public com.google.container.v1beta1.SandboxConfig.Builder getSandboxConfigBuilder() { - + onChanged(); return getSandboxConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -5334,14 +5067,11 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui if (sandboxConfigBuilder_ != null) { return sandboxConfigBuilder_.getMessageOrBuilder(); } else { - return sandboxConfig_ == null - ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() - : sandboxConfig_; + return sandboxConfig_ == null ? + com.google.container.v1beta1.SandboxConfig.getDefaultInstance() : sandboxConfig_; } } /** - * - * *
      * Sandbox configuration for this node.
      * 
@@ -5349,17 +5079,14 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui * .google.container.v1beta1.SandboxConfig sandbox_config = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.SandboxConfig, - com.google.container.v1beta1.SandboxConfig.Builder, - com.google.container.v1beta1.SandboxConfigOrBuilder> + com.google.container.v1beta1.SandboxConfig, com.google.container.v1beta1.SandboxConfig.Builder, com.google.container.v1beta1.SandboxConfigOrBuilder> getSandboxConfigFieldBuilder() { if (sandboxConfigBuilder_ == null) { - sandboxConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.SandboxConfig, - com.google.container.v1beta1.SandboxConfig.Builder, - com.google.container.v1beta1.SandboxConfigOrBuilder>( - getSandboxConfig(), getParentForChildren(), isClean()); + sandboxConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SandboxConfig, com.google.container.v1beta1.SandboxConfig.Builder, com.google.container.v1beta1.SandboxConfigOrBuilder>( + getSandboxConfig(), + getParentForChildren(), + isClean()); sandboxConfig_ = null; } return sandboxConfigBuilder_; @@ -5367,8 +5094,6 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui private java.lang.Object nodeGroup_ = ""; /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5377,13 +5102,13 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui
      * 
* * string node_group = 18; - * * @return The nodeGroup. */ public java.lang.String getNodeGroup() { java.lang.Object ref = nodeGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; @@ -5392,8 +5117,6 @@ public java.lang.String getNodeGroup() { } } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5402,14 +5125,15 @@ public java.lang.String getNodeGroup() {
      * 
* * string node_group = 18; - * * @return The bytes for nodeGroup. */ - public com.google.protobuf.ByteString getNodeGroupBytes() { + public com.google.protobuf.ByteString + getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -5417,8 +5141,6 @@ public com.google.protobuf.ByteString getNodeGroupBytes() { } } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5427,22 +5149,20 @@ public com.google.protobuf.ByteString getNodeGroupBytes() {
      * 
* * string node_group = 18; - * * @param value The nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroup(java.lang.String value) { + public Builder setNodeGroup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeGroup_ = value; onChanged(); return this; } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5451,18 +5171,15 @@ public Builder setNodeGroup(java.lang.String value) {
      * 
* * string node_group = 18; - * * @return This builder for chaining. */ public Builder clearNodeGroup() { - + nodeGroup_ = getDefaultInstance().getNodeGroup(); onChanged(); return this; } /** - * - * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5471,16 +5188,16 @@ public Builder clearNodeGroup() {
      * 
* * string node_group = 18; - * * @param value The bytes for nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) { + public Builder setNodeGroupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeGroup_ = value; onChanged(); return this; @@ -5488,13 +5205,8 @@ public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.ReservationAffinity reservationAffinity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReservationAffinity, - com.google.container.v1beta1.ReservationAffinity.Builder, - com.google.container.v1beta1.ReservationAffinityOrBuilder> - reservationAffinityBuilder_; + com.google.container.v1beta1.ReservationAffinity, com.google.container.v1beta1.ReservationAffinity.Builder, com.google.container.v1beta1.ReservationAffinityOrBuilder> reservationAffinityBuilder_; /** - * - * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5503,15 +5215,12 @@ public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; - * * @return Whether the reservationAffinity field is set. */ public boolean hasReservationAffinity() { return reservationAffinityBuilder_ != null || reservationAffinity_ != null; } /** - * - * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5520,21 +5229,16 @@ public boolean hasReservationAffinity() {
      * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; - * * @return The reservationAffinity. */ public com.google.container.v1beta1.ReservationAffinity getReservationAffinity() { if (reservationAffinityBuilder_ == null) { - return reservationAffinity_ == null - ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() - : reservationAffinity_; + return reservationAffinity_ == null ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; } else { return reservationAffinityBuilder_.getMessage(); } } /** - * - * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5558,8 +5262,6 @@ public Builder setReservationAffinity(com.google.container.v1beta1.ReservationAf
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5581,8 +5283,6 @@ public Builder setReservationAffinity(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5592,14 +5292,11 @@ public Builder setReservationAffinity(
      *
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
-    public Builder mergeReservationAffinity(
-        com.google.container.v1beta1.ReservationAffinity value) {
+    public Builder mergeReservationAffinity(com.google.container.v1beta1.ReservationAffinity value) {
       if (reservationAffinityBuilder_ == null) {
         if (reservationAffinity_ != null) {
           reservationAffinity_ =
-              com.google.container.v1beta1.ReservationAffinity.newBuilder(reservationAffinity_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ReservationAffinity.newBuilder(reservationAffinity_).mergeFrom(value).buildPartial();
         } else {
           reservationAffinity_ = value;
         }
@@ -5611,8 +5308,6 @@ public Builder mergeReservationAffinity(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5634,8 +5329,6 @@ public Builder clearReservationAffinity() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5645,15 +5338,12 @@ public Builder clearReservationAffinity() {
      *
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
-    public com.google.container.v1beta1.ReservationAffinity.Builder
-        getReservationAffinityBuilder() {
-
+    public com.google.container.v1beta1.ReservationAffinity.Builder getReservationAffinityBuilder() {
+      
       onChanged();
       return getReservationAffinityFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5663,19 +5353,15 @@ public Builder clearReservationAffinity() {
      *
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
-    public com.google.container.v1beta1.ReservationAffinityOrBuilder
-        getReservationAffinityOrBuilder() {
+    public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder() {
       if (reservationAffinityBuilder_ != null) {
         return reservationAffinityBuilder_.getMessageOrBuilder();
       } else {
-        return reservationAffinity_ == null
-            ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance()
-            : reservationAffinity_;
+        return reservationAffinity_ == null ?
+            com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() : reservationAffinity_;
       }
     }
     /**
-     *
-     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5686,17 +5372,14 @@ public Builder clearReservationAffinity() {
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ReservationAffinity,
-            com.google.container.v1beta1.ReservationAffinity.Builder,
-            com.google.container.v1beta1.ReservationAffinityOrBuilder>
+        com.google.container.v1beta1.ReservationAffinity, com.google.container.v1beta1.ReservationAffinity.Builder, com.google.container.v1beta1.ReservationAffinityOrBuilder> 
         getReservationAffinityFieldBuilder() {
       if (reservationAffinityBuilder_ == null) {
-        reservationAffinityBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ReservationAffinity,
-                com.google.container.v1beta1.ReservationAffinity.Builder,
-                com.google.container.v1beta1.ReservationAffinityOrBuilder>(
-                getReservationAffinity(), getParentForChildren(), isClean());
+        reservationAffinityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ReservationAffinity, com.google.container.v1beta1.ReservationAffinity.Builder, com.google.container.v1beta1.ReservationAffinityOrBuilder>(
+                getReservationAffinity(),
+                getParentForChildren(),
+                isClean());
         reservationAffinity_ = null;
       }
       return reservationAffinityBuilder_;
@@ -5704,8 +5387,6 @@ public Builder clearReservationAffinity() {
 
     private java.lang.Object diskType_ = "";
     /**
-     *
-     *
      * 
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5713,13 +5394,13 @@ public Builder clearReservationAffinity() {
      * 
* * string disk_type = 12; - * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -5728,8 +5409,6 @@ public java.lang.String getDiskType() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5737,14 +5416,15 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 12; - * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString getDiskTypeBytes() { + public com.google.protobuf.ByteString + getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); diskType_ = b; return b; } else { @@ -5752,8 +5432,6 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { } } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5761,22 +5439,20 @@ public com.google.protobuf.ByteString getDiskTypeBytes() {
      * 
* * string disk_type = 12; - * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType(java.lang.String value) { + public Builder setDiskType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5784,18 +5460,15 @@ public Builder setDiskType(java.lang.String value) {
      * 
* * string disk_type = 12; - * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** - * - * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5803,16 +5476,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 12; - * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -5820,8 +5493,6 @@ public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object minCpuPlatform_ = ""; /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5833,13 +5504,13 @@ public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * string min_cpu_platform = 13; - * * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -5848,8 +5519,6 @@ public java.lang.String getMinCpuPlatform() { } } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5861,14 +5530,15 @@ public java.lang.String getMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; - * * @return The bytes for minCpuPlatform. */ - public com.google.protobuf.ByteString getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString + getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -5876,8 +5546,6 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { } } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5889,22 +5557,20 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
      * 
* * string min_cpu_platform = 13; - * * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatform(java.lang.String value) { + public Builder setMinCpuPlatform( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5916,18 +5582,15 @@ public Builder setMinCpuPlatform(java.lang.String value) {
      * 
* * string min_cpu_platform = 13; - * * @return This builder for chaining. */ public Builder clearMinCpuPlatform() { - + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** - * - * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5939,16 +5602,16 @@ public Builder clearMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; - * * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { + public Builder setMinCpuPlatformBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; @@ -5956,55 +5619,41 @@ public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, - com.google.container.v1beta1.WorkloadMetadataConfig.Builder, - com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> - workloadMetadataConfigBuilder_; + com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder setWorkloadMetadataConfig( - com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder setWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6018,8 +5667,6 @@ public Builder setWorkloadMetadataConfig( return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
@@ -6038,23 +5685,17 @@ public Builder setWorkloadMetadataConfig( return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig( - com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder( - workloadMetadataConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -6066,8 +5707,6 @@ public Builder mergeWorkloadMetadataConfig( return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
@@ -6086,42 +5725,33 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfig.Builder - getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1beta1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? + com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } } /** - * - * *
      * The workload metadata configuration for this node.
      * 
@@ -6129,41 +5759,32 @@ public Builder clearWorkloadMetadataConfig() { * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, - com.google.container.v1beta1.WorkloadMetadataConfig.Builder, - com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, - com.google.container.v1beta1.WorkloadMetadataConfig.Builder, - com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), getParentForChildren(), isClean()); + workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), + getParentForChildren(), + isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodeTaint, - com.google.container.v1beta1.NodeTaint.Builder, - com.google.container.v1beta1.NodeTaintOrBuilder> - taintsBuilder_; + com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> taintsBuilder_; /** - * - * *
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6180,8 +5801,6 @@ public java.util.List getTaintsList() {
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6198,8 +5817,6 @@ public int getTaintsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6216,8 +5833,6 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6226,7 +5841,8 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public Builder setTaints(int index, com.google.container.v1beta1.NodeTaint value) {
+    public Builder setTaints(
+        int index, com.google.container.v1beta1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6240,8 +5856,6 @@ public Builder setTaints(int index, com.google.container.v1beta1.NodeTaint value
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6262,8 +5876,6 @@ public Builder setTaints(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6286,8 +5898,6 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6296,7 +5906,8 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint value) {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public Builder addTaints(int index, com.google.container.v1beta1.NodeTaint value) {
+    public Builder addTaints(
+        int index, com.google.container.v1beta1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6310,8 +5921,6 @@ public Builder addTaints(int index, com.google.container.v1beta1.NodeTaint value
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6320,7 +5929,8 @@ public Builder addTaints(int index, com.google.container.v1beta1.NodeTaint value
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public Builder addTaints(com.google.container.v1beta1.NodeTaint.Builder builderForValue) {
+    public Builder addTaints(
+        com.google.container.v1beta1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.add(builderForValue.build());
@@ -6331,8 +5941,6 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6353,8 +5961,6 @@ public Builder addTaints(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6367,7 +5973,8 @@ public Builder addAllTaints(
         java.lang.Iterable values) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, taints_);
         onChanged();
       } else {
         taintsBuilder_.addAllMessages(values);
@@ -6375,8 +5982,6 @@ public Builder addAllTaints(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6396,8 +6001,6 @@ public Builder clearTaints() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6417,8 +6020,6 @@ public Builder removeTaints(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6427,12 +6028,11 @@ public Builder removeTaints(int index) {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(int index) {
+    public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(
+        int index) {
       return getTaintsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6441,16 +6041,14 @@ public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(int index
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
+    public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
+        int index) {
       if (taintsBuilder_ == null) {
-        return taints_.get(index);
-      } else {
+        return taints_.get(index);  } else {
         return taintsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6459,8 +6057,8 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int in
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public java.util.List
-        getTaintsOrBuilderList() {
+    public java.util.List 
+         getTaintsOrBuilderList() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilderList();
       } else {
@@ -6468,8 +6066,6 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6479,12 +6075,10 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int in
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
     public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder() {
-      return getTaintsFieldBuilder()
-          .addBuilder(com.google.container.v1beta1.NodeTaint.getDefaultInstance());
+      return getTaintsFieldBuilder().addBuilder(
+          com.google.container.v1beta1.NodeTaint.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6493,13 +6087,12 @@ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder() {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(int index) {
-      return getTaintsFieldBuilder()
-          .addBuilder(index, com.google.container.v1beta1.NodeTaint.getDefaultInstance());
+    public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(
+        int index) {
+      return getTaintsFieldBuilder().addBuilder(
+          index, com.google.container.v1beta1.NodeTaint.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6508,22 +6101,20 @@ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(int index
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public java.util.List getTaintsBuilderList() {
+    public java.util.List 
+         getTaintsBuilderList() {
       return getTaintsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.NodeTaint,
-            com.google.container.v1beta1.NodeTaint.Builder,
-            com.google.container.v1beta1.NodeTaintOrBuilder>
+        com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> 
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1beta1.NodeTaint,
-                com.google.container.v1beta1.NodeTaint.Builder,
-                com.google.container.v1beta1.NodeTaintOrBuilder>(
-                taints_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder>(
+                taints_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -6531,8 +6122,6 @@ public java.util.List getTaintsB
 
     private java.lang.Object bootDiskKmsKey_ = "";
     /**
-     *
-     *
      * 
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6543,13 +6132,13 @@ public java.util.List getTaintsB
      * 
* * string boot_disk_kms_key = 23; - * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -6558,8 +6147,6 @@ public java.lang.String getBootDiskKmsKey() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6570,14 +6157,15 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; - * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString + getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -6585,8 +6173,6 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { } } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6597,22 +6183,20 @@ public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() {
      * 
* * string boot_disk_kms_key = 23; - * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey(java.lang.String value) { + public Builder setBootDiskKmsKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6623,18 +6207,15 @@ public Builder setBootDiskKmsKey(java.lang.String value) {
      * 
* * string boot_disk_kms_key = 23; - * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** - * - * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6645,16 +6226,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; - * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -6662,55 +6243,41 @@ public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder, - com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> - shieldedInstanceConfigBuilder_; + com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_; /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return The shieldedInstanceConfig. */ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null - ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public Builder setShieldedInstanceConfig( - com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder setShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6724,8 +6291,6 @@ public Builder setShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -6744,23 +6309,17 @@ public Builder setShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public Builder mergeShieldedInstanceConfig( - com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder( - shieldedInstanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -6772,8 +6331,6 @@ public Builder mergeShieldedInstanceConfig( return this; } /** - * - * *
      * Shielded Instance options.
      * 
@@ -6792,42 +6349,33 @@ public Builder clearShieldedInstanceConfig() { return this; } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1beta1.ShieldedInstanceConfig.Builder - getShieldedInstanceConfigBuilder() { - + public com.google.container.v1beta1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder - getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null - ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() - : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null ? + com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; } } /** - * - * *
      * Shielded Instance options.
      * 
@@ -6835,17 +6383,14 @@ public Builder clearShieldedInstanceConfig() { * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder, - com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder, - com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), getParentForChildren(), isClean()); + shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), + getParentForChildren(), + isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -6853,47 +6398,34 @@ public Builder clearShieldedInstanceConfig() { private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, - com.google.container.v1beta1.LinuxNodeConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfigOrBuilder> - linuxNodeConfigBuilder_; + com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_; /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; - * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; - * * @return The linuxNodeConfig. */ public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6914,8 +6446,6 @@ public Builder setLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig v return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6934,8 +6464,6 @@ public Builder setLinuxNodeConfig( return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6946,9 +6474,7 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); } else { linuxNodeConfig_ = value; } @@ -6960,8 +6486,6 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6980,8 +6504,6 @@ public Builder clearLinuxNodeConfig() { return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6989,13 +6511,11 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; */ public com.google.container.v1beta1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -7006,14 +6526,11 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? + com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -7021,17 +6538,14 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, - com.google.container.v1beta1.LinuxNodeConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfigOrBuilder> + com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, - com.google.container.v1beta1.LinuxNodeConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), getParentForChildren(), isClean()); + linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), + getParentForChildren(), + isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -7039,47 +6553,34 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, - com.google.container.v1beta1.NodeKubeletConfig.Builder, - com.google.container.v1beta1.NodeKubeletConfigOrBuilder> - kubeletConfigBuilder_; + com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; - * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; - * * @return The kubeletConfig. */ public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null - ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7100,8 +6601,6 @@ public Builder setKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig v return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7120,8 +6619,6 @@ public Builder setKubeletConfig( return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7132,9 +6629,7 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); } else { kubeletConfig_ = value; } @@ -7146,8 +6641,6 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7166,8 +6659,6 @@ public Builder clearKubeletConfig() { return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7175,13 +6666,11 @@ public Builder clearKubeletConfig() { * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; */ public com.google.container.v1beta1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7192,14 +6681,11 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null - ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? + com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -7207,17 +6693,14 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, - com.google.container.v1beta1.NodeKubeletConfig.Builder, - com.google.container.v1beta1.NodeKubeletConfigOrBuilder> + com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, - com.google.container.v1beta1.NodeKubeletConfig.Builder, - com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), getParentForChildren(), isClean()); + kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), + getParentForChildren(), + isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -7225,49 +6708,36 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO private com.google.container.v1beta1.EphemeralStorageConfig ephemeralStorageConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.EphemeralStorageConfig, - com.google.container.v1beta1.EphemeralStorageConfig.Builder, - com.google.container.v1beta1.EphemeralStorageConfigOrBuilder> - ephemeralStorageConfigBuilder_; + com.google.container.v1beta1.EphemeralStorageConfig, com.google.container.v1beta1.EphemeralStorageConfig.Builder, com.google.container.v1beta1.EphemeralStorageConfigOrBuilder> ephemeralStorageConfigBuilder_; /** - * - * *
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
      * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; - * * @return Whether the ephemeralStorageConfig field is set. */ public boolean hasEphemeralStorageConfig() { return ephemeralStorageConfigBuilder_ != null || ephemeralStorageConfig_ != null; } /** - * - * *
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
      * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; - * * @return The ephemeralStorageConfig. */ public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageConfig() { if (ephemeralStorageConfigBuilder_ == null) { - return ephemeralStorageConfig_ == null - ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() - : ephemeralStorageConfig_; + return ephemeralStorageConfig_ == null ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() : ephemeralStorageConfig_; } else { return ephemeralStorageConfigBuilder_.getMessage(); } } /** - * - * *
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -7275,8 +6745,7 @@ public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageCo
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public Builder setEphemeralStorageConfig(
-        com.google.container.v1beta1.EphemeralStorageConfig value) {
+    public Builder setEphemeralStorageConfig(com.google.container.v1beta1.EphemeralStorageConfig value) {
       if (ephemeralStorageConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7290,8 +6759,6 @@ public Builder setEphemeralStorageConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -7311,8 +6778,6 @@ public Builder setEphemeralStorageConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -7320,15 +6785,11 @@ public Builder setEphemeralStorageConfig(
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public Builder mergeEphemeralStorageConfig(
-        com.google.container.v1beta1.EphemeralStorageConfig value) {
+    public Builder mergeEphemeralStorageConfig(com.google.container.v1beta1.EphemeralStorageConfig value) {
       if (ephemeralStorageConfigBuilder_ == null) {
         if (ephemeralStorageConfig_ != null) {
           ephemeralStorageConfig_ =
-              com.google.container.v1beta1.EphemeralStorageConfig.newBuilder(
-                      ephemeralStorageConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.EphemeralStorageConfig.newBuilder(ephemeralStorageConfig_).mergeFrom(value).buildPartial();
         } else {
           ephemeralStorageConfig_ = value;
         }
@@ -7340,8 +6801,6 @@ public Builder mergeEphemeralStorageConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -7361,8 +6820,6 @@ public Builder clearEphemeralStorageConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -7370,15 +6827,12 @@ public Builder clearEphemeralStorageConfig() {
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public com.google.container.v1beta1.EphemeralStorageConfig.Builder
-        getEphemeralStorageConfigBuilder() {
-
+    public com.google.container.v1beta1.EphemeralStorageConfig.Builder getEphemeralStorageConfigBuilder() {
+      
       onChanged();
       return getEphemeralStorageConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -7386,19 +6840,15 @@ public Builder clearEphemeralStorageConfig() {
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder
-        getEphemeralStorageConfigOrBuilder() {
+    public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeralStorageConfigOrBuilder() {
       if (ephemeralStorageConfigBuilder_ != null) {
         return ephemeralStorageConfigBuilder_.getMessageOrBuilder();
       } else {
-        return ephemeralStorageConfig_ == null
-            ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance()
-            : ephemeralStorageConfig_;
+        return ephemeralStorageConfig_ == null ?
+            com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() : ephemeralStorageConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -7407,17 +6857,14 @@ public Builder clearEphemeralStorageConfig() {
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.EphemeralStorageConfig,
-            com.google.container.v1beta1.EphemeralStorageConfig.Builder,
-            com.google.container.v1beta1.EphemeralStorageConfigOrBuilder>
+        com.google.container.v1beta1.EphemeralStorageConfig, com.google.container.v1beta1.EphemeralStorageConfig.Builder, com.google.container.v1beta1.EphemeralStorageConfigOrBuilder> 
         getEphemeralStorageConfigFieldBuilder() {
       if (ephemeralStorageConfigBuilder_ == null) {
-        ephemeralStorageConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.EphemeralStorageConfig,
-                com.google.container.v1beta1.EphemeralStorageConfig.Builder,
-                com.google.container.v1beta1.EphemeralStorageConfigOrBuilder>(
-                getEphemeralStorageConfig(), getParentForChildren(), isClean());
+        ephemeralStorageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.EphemeralStorageConfig, com.google.container.v1beta1.EphemeralStorageConfig.Builder, com.google.container.v1beta1.EphemeralStorageConfigOrBuilder>(
+                getEphemeralStorageConfig(),
+                getParentForChildren(),
+                isClean());
         ephemeralStorageConfig_ = null;
       }
       return ephemeralStorageConfigBuilder_;
@@ -7425,47 +6872,34 @@ public Builder clearEphemeralStorageConfig() {
 
     private com.google.container.v1beta1.GcfsConfig gcfsConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.GcfsConfig,
-            com.google.container.v1beta1.GcfsConfig.Builder,
-            com.google.container.v1beta1.GcfsConfigOrBuilder>
-        gcfsConfigBuilder_;
+        com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> gcfsConfigBuilder_;
     /**
-     *
-     *
      * 
      * GCFS (Google Container File System) configs.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; - * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; - * * @return The gcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7486,15 +6920,14 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; */ - public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig( + com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -7505,8 +6938,6 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder bui return this; } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7517,9 +6948,7 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); } else { gcfsConfig_ = value; } @@ -7531,8 +6960,6 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7551,8 +6978,6 @@ public Builder clearGcfsConfig() { return this; } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7560,13 +6985,11 @@ public Builder clearGcfsConfig() { * .google.container.v1beta1.GcfsConfig gcfs_config = 25; */ public com.google.container.v1beta1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7577,14 +7000,11 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? + com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } } /** - * - * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7592,17 +7012,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() * .google.container.v1beta1.GcfsConfig gcfs_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder>( - getGcfsConfig(), getParentForChildren(), isClean()); + gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( + getGcfsConfig(), + getParentForChildren(), + isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -7610,58 +7027,41 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() private com.google.container.v1beta1.AdvancedMachineFeatures advancedMachineFeatures_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AdvancedMachineFeatures, - com.google.container.v1beta1.AdvancedMachineFeatures.Builder, - com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> - advancedMachineFeaturesBuilder_; + com.google.container.v1beta1.AdvancedMachineFeatures, com.google.container.v1beta1.AdvancedMachineFeatures.Builder, com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> advancedMachineFeaturesBuilder_; /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; * @return Whether the advancedMachineFeatures field is set. */ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeaturesBuilder_ != null || advancedMachineFeatures_ != null; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; * @return The advancedMachineFeatures. */ public com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFeatures() { if (advancedMachineFeaturesBuilder_ == null) { - return advancedMachineFeatures_ == null - ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() - : advancedMachineFeatures_; + return advancedMachineFeatures_ == null ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; } else { return advancedMachineFeaturesBuilder_.getMessage(); } } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public Builder setAdvancedMachineFeatures( - com.google.container.v1beta1.AdvancedMachineFeatures value) { + public Builder setAdvancedMachineFeatures(com.google.container.v1beta1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7675,14 +7075,11 @@ public Builder setAdvancedMachineFeatures( return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ public Builder setAdvancedMachineFeatures( com.google.container.v1beta1.AdvancedMachineFeatures.Builder builderForValue) { @@ -7696,24 +7093,17 @@ public Builder setAdvancedMachineFeatures( return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public Builder mergeAdvancedMachineFeatures( - com.google.container.v1beta1.AdvancedMachineFeatures value) { + public Builder mergeAdvancedMachineFeatures(com.google.container.v1beta1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (advancedMachineFeatures_ != null) { advancedMachineFeatures_ = - com.google.container.v1beta1.AdvancedMachineFeatures.newBuilder( - advancedMachineFeatures_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AdvancedMachineFeatures.newBuilder(advancedMachineFeatures_).mergeFrom(value).buildPartial(); } else { advancedMachineFeatures_ = value; } @@ -7725,14 +7115,11 @@ public Builder mergeAdvancedMachineFeatures( return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ public Builder clearAdvancedMachineFeatures() { if (advancedMachineFeaturesBuilder_ == null) { @@ -7746,63 +7133,48 @@ public Builder clearAdvancedMachineFeatures() { return this; } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public com.google.container.v1beta1.AdvancedMachineFeatures.Builder - getAdvancedMachineFeaturesBuilder() { - + public com.google.container.v1beta1.AdvancedMachineFeatures.Builder getAdvancedMachineFeaturesBuilder() { + onChanged(); return getAdvancedMachineFeaturesFieldBuilder().getBuilder(); } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder - getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { if (advancedMachineFeaturesBuilder_ != null) { return advancedMachineFeaturesBuilder_.getMessageOrBuilder(); } else { - return advancedMachineFeatures_ == null - ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() - : advancedMachineFeatures_; + return advancedMachineFeatures_ == null ? + com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; } } /** - * - * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AdvancedMachineFeatures, - com.google.container.v1beta1.AdvancedMachineFeatures.Builder, - com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> + com.google.container.v1beta1.AdvancedMachineFeatures, com.google.container.v1beta1.AdvancedMachineFeatures.Builder, com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> getAdvancedMachineFeaturesFieldBuilder() { if (advancedMachineFeaturesBuilder_ == null) { - advancedMachineFeaturesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AdvancedMachineFeatures, - com.google.container.v1beta1.AdvancedMachineFeatures.Builder, - com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder>( - getAdvancedMachineFeatures(), getParentForChildren(), isClean()); + advancedMachineFeaturesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AdvancedMachineFeatures, com.google.container.v1beta1.AdvancedMachineFeatures.Builder, com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder>( + getAdvancedMachineFeatures(), + getParentForChildren(), + isClean()); advancedMachineFeatures_ = null; } return advancedMachineFeaturesBuilder_; @@ -7810,47 +7182,34 @@ public Builder clearAdvancedMachineFeatures() { private com.google.container.v1beta1.VirtualNIC gvnic_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, - com.google.container.v1beta1.VirtualNIC.Builder, - com.google.container.v1beta1.VirtualNICOrBuilder> - gvnicBuilder_; + com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> gvnicBuilder_; /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ public com.google.container.v1beta1.VirtualNIC getGvnic() { if (gvnicBuilder_ == null) { - return gvnic_ == null - ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() - : gvnic_; + return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } else { return gvnicBuilder_.getMessage(); } } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7871,15 +7230,14 @@ public Builder setGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; */ - public Builder setGvnic(com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic( + com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -7890,8 +7248,6 @@ public Builder setGvnic(com.google.container.v1beta1.VirtualNIC.Builder builderF return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7902,9 +7258,7 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); } else { gvnic_ = value; } @@ -7916,8 +7270,6 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7936,8 +7288,6 @@ public Builder clearGvnic() { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7945,13 +7295,11 @@ public Builder clearGvnic() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ public com.google.container.v1beta1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7962,14 +7310,11 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null - ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() - : gvnic_; + return gvnic_ == null ? + com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7977,33 +7322,27 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, - com.google.container.v1beta1.VirtualNIC.Builder, - com.google.container.v1beta1.VirtualNICOrBuilder> + com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, - com.google.container.v1beta1.VirtualNIC.Builder, - com.google.container.v1beta1.VirtualNICOrBuilder>( - getGvnic(), getParentForChildren(), isClean()); + gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder>( + getGvnic(), + getParentForChildren(), + isClean()); gvnic_ = null; } return gvnicBuilder_; } - private boolean spot_; + private boolean spot_ ; /** - * - * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; - * * @return The spot. */ @java.lang.Override @@ -8011,38 +7350,32 @@ public boolean getSpot() { return spot_; } /** - * - * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; - * * @param value The spot to set. * @return This builder for chaining. */ public Builder setSpot(boolean value) { - + spot_ = value; onChanged(); return this; } /** - * - * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; - * * @return This builder for chaining. */ public Builder clearSpot() { - + spot_ = false; onChanged(); return this; @@ -8050,49 +7383,36 @@ public Builder clearSpot() { private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfidentialNodes, - com.google.container.v1beta1.ConfidentialNodes.Builder, - com.google.container.v1beta1.ConfidentialNodesOrBuilder> - confidentialNodesBuilder_; + com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; - * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; - * * @return The confidentialNodes. */ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null - ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -8114,8 +7434,6 @@ public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNod
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -8135,8 +7453,6 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -8148,9 +7464,7 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-              com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -8162,8 +7476,6 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -8183,8 +7495,6 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -8193,13 +7503,11 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
      */
     public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-
+      
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -8211,14 +7519,11 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null
-            ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance()
-            : confidentialNodes_;
+        return confidentialNodes_ == null ?
+            com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
       }
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -8227,40 +7532,191 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfidentialNodes,
-            com.google.container.v1beta1.ConfidentialNodes.Builder,
-            com.google.container.v1beta1.ConfidentialNodesOrBuilder>
+        com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> 
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ConfidentialNodes,
-                com.google.container.v1beta1.ConfidentialNodes.Builder,
-                com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(), getParentForChildren(), isClean());
+        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(),
+                getParentForChildren(),
+                isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
     }
 
-    private com.google.protobuf.MapField resourceLabels_;
+    private com.google.container.v1beta1.FastSocket fastSocket_;
+    private com.google.protobuf.SingleFieldBuilderV3<
+        com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> fastSocketBuilder_;
+    /**
+     * 
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * @return Whether the fastSocket field is set. + */ + public boolean hasFastSocket() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * @return The fastSocket. + */ + public com.google.container.v1beta1.FastSocket getFastSocket() { + if (fastSocketBuilder_ == null) { + return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + } else { + return fastSocketBuilder_.getMessage(); + } + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + public Builder setFastSocket(com.google.container.v1beta1.FastSocket value) { + if (fastSocketBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fastSocket_ = value; + onChanged(); + } else { + fastSocketBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + public Builder setFastSocket( + com.google.container.v1beta1.FastSocket.Builder builderForValue) { + if (fastSocketBuilder_ == null) { + fastSocket_ = builderForValue.build(); + onChanged(); + } else { + fastSocketBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + public Builder mergeFastSocket(com.google.container.v1beta1.FastSocket value) { + if (fastSocketBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + fastSocket_ != null && + fastSocket_ != com.google.container.v1beta1.FastSocket.getDefaultInstance()) { + fastSocket_ = + com.google.container.v1beta1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); + } else { + fastSocket_ = value; + } + onChanged(); + } else { + fastSocketBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + public Builder clearFastSocket() { + if (fastSocketBuilder_ == null) { + fastSocket_ = null; + onChanged(); + } else { + fastSocketBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + public com.google.container.v1beta1.FastSocket.Builder getFastSocketBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getFastSocketFieldBuilder().getBuilder(); + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() { + if (fastSocketBuilder_ != null) { + return fastSocketBuilder_.getMessageOrBuilder(); + } else { + return fastSocket_ == null ? + com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + } + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> + getFastSocketFieldBuilder() { + if (fastSocketBuilder_ == null) { + fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder>( + getFastSocket(), + getParentForChildren(), + isClean()); + fastSocket_ = null; + } + return fastSocketBuilder_; + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } - private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged(); - ; + internalGetMutableResourceLabels() { + onChanged();; if (resourceLabels_ == null) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -8272,8 +7728,6 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8281,22 +7735,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 37;
      */
+
     @java.lang.Override
-    public boolean containsResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getResourceLabelsMap()} instead. */
+    /**
+     * Use {@link #getResourceLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8305,12 +7759,11 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
+
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8319,17 +7772,16 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
+
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8338,11 +7790,12 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetResourceLabels().getMap();
+
+    public java.lang.String getResourceLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -8350,12 +7803,11 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap().clear();
+      internalGetMutableResourceLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8363,21 +7815,23 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder removeResourceLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableResourceLabels().getMutableMap().remove(key);
+
+    public Builder removeResourceLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableResourceLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableResourceLabels() {
+    public java.util.Map
+    getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8385,20 +7839,19 @@ public java.util.Map getMutableResourceLabel
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putResourceLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
       if (value == null) {
-        throw new NullPointerException("map value");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableResourceLabels().getMutableMap().put(key, value);
+      internalGetMutableResourceLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -8406,54 +7859,44 @@ public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder putAllResourceLabels(java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap().putAll(values);
+
+    public Builder putAllResourceLabels(
+        java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolLoggingConfig,
-            com.google.container.v1beta1.NodePoolLoggingConfig.Builder,
-            com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>
-        loggingConfigBuilder_;
+        com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_;
     /**
-     *
-     *
      * 
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; - * * @return The loggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration.
      * 
@@ -8474,8 +7917,6 @@ public Builder setLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConf return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8494,8 +7935,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8506,9 +7945,7 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -8520,8 +7957,6 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8540,8 +7975,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -8549,13 +7982,11 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; */ public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration.
      * 
@@ -8566,14 +7997,11 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration.
      * 
@@ -8581,24 +8009,21 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8608,12 +8033,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeConfig) private static final com.google.container.v1beta1.NodeConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeConfig(); } @@ -8622,27 +8047,27 @@ public static com.google.container.v1beta1.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(); - } - }; + 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; @@ -8657,4 +8082,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java index 64f27b131e55..577da2522e27 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Subset of NodeConfig message that has defaults.
  * 
* * Protobuf type {@code google.container.v1beta1.NodeConfigDefaults} */ -public final class NodeConfigDefaults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodeConfigDefaults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeConfigDefaults) NodeConfigDefaultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodeConfigDefaults.newBuilder() to construct. private NodeConfigDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NodeConfigDefaults() {} + private NodeConfigDefaults() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeConfigDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeConfigDefaults.class, - com.google.container.v1beta1.NodeConfigDefaults.Builder.class); + com.google.container.v1beta1.NodeConfigDefaults.class, com.google.container.v1beta1.NodeConfigDefaults.Builder.class); } public static final int GCFS_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.GcfsConfig gcfsConfig_; /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; - * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; - * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -116,14 +88,11 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() public static final int LOGGING_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -131,25 +100,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration for node pools.
    * 
@@ -162,7 +124,6 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +135,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (gcfsConfig_ != null) { output.writeMessage(1, getGcfsConfig()); } @@ -191,10 +153,12 @@ public int getSerializedSize() { size = 0; if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGcfsConfig()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,21 +168,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeConfigDefaults)) { return super.equals(obj); } - com.google.container.v1beta1.NodeConfigDefaults other = - (com.google.container.v1beta1.NodeConfigDefaults) obj; + com.google.container.v1beta1.NodeConfigDefaults other = (com.google.container.v1beta1.NodeConfigDefaults) obj; if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig() + .equals(other.getGcfsConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig() + .equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -244,136 +209,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfigDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( 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.NodeConfigDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeConfigDefaults parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeConfigDefaults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeConfigDefaults parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeConfigDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * Protobuf type {@code google.container.v1beta1.NodeConfigDefaults} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeConfigDefaults) com.google.container.v1beta1.NodeConfigDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeConfigDefaults.class, - com.google.container.v1beta1.NodeConfigDefaults.Builder.class); + com.google.container.v1beta1.NodeConfigDefaults.class, com.google.container.v1beta1.NodeConfigDefaults.Builder.class); } // Construct using com.google.container.v1beta1.NodeConfigDefaults.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; } @java.lang.Override @@ -414,8 +373,7 @@ public com.google.container.v1beta1.NodeConfigDefaults build() { @java.lang.Override public com.google.container.v1beta1.NodeConfigDefaults buildPartial() { - com.google.container.v1beta1.NodeConfigDefaults result = - new com.google.container.v1beta1.NodeConfigDefaults(this); + com.google.container.v1beta1.NodeConfigDefaults result = new com.google.container.v1beta1.NodeConfigDefaults(this); if (gcfsConfigBuilder_ == null) { result.gcfsConfig_ = gcfsConfig_; } else { @@ -434,39 +392,38 @@ public com.google.container.v1beta1.NodeConfigDefaults buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodeConfigDefaults) { - return mergeFrom((com.google.container.v1beta1.NodeConfigDefaults) other); + return mergeFrom((com.google.container.v1beta1.NodeConfigDefaults)other); } else { super.mergeFrom(other); return this; @@ -474,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NodeConfigDefaults other) { - if (other == com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance()) return this; if (other.hasGcfsConfig()) { mergeGcfsConfig(other.getGcfsConfig()); } @@ -508,25 +464,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 26: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcfsConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 26: { + input.readMessage( + getLoggingConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -539,47 +496,34 @@ public Builder mergeFrom( private com.google.container.v1beta1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder> - gcfsConfigBuilder_; + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> gcfsConfigBuilder_; /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; - * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; - * * @return The gcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -600,15 +544,14 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; */ - public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig( + com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -619,8 +562,6 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder bui return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -631,9 +572,7 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); } else { gcfsConfig_ = value; } @@ -645,8 +584,6 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -665,8 +602,6 @@ public Builder clearGcfsConfig() { return this; } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -674,13 +609,11 @@ public Builder clearGcfsConfig() { * .google.container.v1beta1.GcfsConfig gcfs_config = 1; */ public com.google.container.v1beta1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -691,14 +624,11 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? + com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } } /** - * - * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -706,17 +636,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() * .google.container.v1beta1.GcfsConfig gcfs_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder>( - getGcfsConfig(), getParentForChildren(), isClean()); + gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( + getGcfsConfig(), + getParentForChildren(), + isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -724,47 +651,34 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> - loggingConfigBuilder_; + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; /** - * - * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; - * * @return The loggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -785,8 +699,6 @@ public Builder setLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConf return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -805,8 +717,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -817,9 +727,7 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -831,8 +739,6 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -851,8 +757,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -860,13 +764,11 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; */ public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -877,14 +779,11 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration for node pools.
      * 
@@ -892,24 +791,21 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -919,12 +815,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeConfigDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeConfigDefaults) private static final com.google.container.v1beta1.NodeConfigDefaults DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeConfigDefaults(); } @@ -933,27 +829,27 @@ public static com.google.container.v1beta1.NodeConfigDefaults getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfigDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfigDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,4 +864,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeConfigDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java index b9cd3b6fcaaf..79b83d3f81b7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeConfigDefaultsOrBuilder - extends +public interface NodeConfigDefaultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeConfigDefaults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; - * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; - * * @return The gcfsConfig. */ com.google.container.v1beta1.GcfsConfig getGcfsConfig(); /** - * - * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -59,32 +35,24 @@ public interface NodeConfigDefaultsOrBuilder com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; - * * @return The loggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration for node pools.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java similarity index 90% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java index 6dca4fea0de2..71bc4797597a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeConfigOrBuilder - extends +public interface NodeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -34,13 +16,10 @@ public interface NodeConfigOrBuilder
    * 
* * string machine_type = 1; - * * @return The machineType. */ java.lang.String getMachineType(); /** - * - * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -49,14 +28,12 @@ public interface NodeConfigOrBuilder
    * 
* * string machine_type = 1; - * * @return The bytes for machineType. */ - com.google.protobuf.ByteString getMachineTypeBytes(); + com.google.protobuf.ByteString + getMachineTypeBytes(); /** - * - * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -64,14 +41,11 @@ public interface NodeConfigOrBuilder
    * 
* * int32 disk_size_gb = 2; - * * @return The diskSizeGb. */ int getDiskSizeGb(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -88,13 +62,11 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @return A list containing the oauthScopes. */ - java.util.List getOauthScopesList(); + java.util.List + getOauthScopesList(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -111,13 +83,10 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -134,14 +103,11 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** - * - * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -158,15 +124,13 @@ public interface NodeConfigOrBuilder
    * 
* * repeated string oauth_scopes = 3; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString getOauthScopesBytes(int index); + com.google.protobuf.ByteString + getOauthScopesBytes(int index); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -174,13 +138,10 @@ public interface NodeConfigOrBuilder
    * 
* * string service_account = 9; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -188,14 +149,12 @@ public interface NodeConfigOrBuilder
    * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -231,8 +190,6 @@ public interface NodeConfigOrBuilder
    */
   int getMetadataCount();
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -266,13 +223,15 @@ public interface NodeConfigOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(java.lang.String key);
-  /** Use {@link #getMetadataMap()} instead. */
+  boolean containsMetadata(
+      java.lang.String key);
+  /**
+   * Use {@link #getMetadataMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getMetadata();
+  java.util.Map
+  getMetadata();
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -306,10 +265,9 @@ public interface NodeConfigOrBuilder
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map getMetadataMap();
+  java.util.Map
+  getMetadataMap();
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -345,13 +303,11 @@ public interface NodeConfigOrBuilder
    */
 
   /* nullable */
-  java.lang.String getMetadataOrDefault(
+java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -385,38 +341,33 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-  java.lang.String getMetadataOrThrow(java.lang.String key);
+
+  java.lang.String getMetadataOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); /** - * - * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -432,8 +383,6 @@ java.lang.String getMetadataOrDefault(
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -447,13 +396,15 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -467,10 +418,9 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -486,13 +436,11 @@ java.lang.String getMetadataOrDefault(
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -506,11 +454,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -520,14 +468,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * int32 local_ssd_count = 7; - * * @return The localSsdCount. */ int getLocalSsdCount(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -536,13 +481,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -551,13 +494,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -566,14 +506,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -582,15 +519,13 @@ java.lang.String getLabelsOrDefault(
    * 
* * repeated string tags = 8; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -598,14 +533,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * bool preemptible = 10; - * * @return The preemptible. */ boolean getPreemptible(); /** - * - * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -614,10 +546,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List getAcceleratorsList();
+  java.util.List 
+      getAcceleratorsList();
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -628,8 +559,6 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.container.v1beta1.AcceleratorConfig getAccelerators(int index);
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -640,8 +569,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAcceleratorsCount();
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -650,11 +577,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List
+  java.util.List 
       getAcceleratorsOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -663,35 +588,28 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
-  com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index);
+  com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; - * * @return Whether the sandboxConfig field is set. */ boolean hasSandboxConfig(); /** - * - * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; - * * @return The sandboxConfig. */ com.google.container.v1beta1.SandboxConfig getSandboxConfig(); /** - * - * *
    * Sandbox configuration for this node.
    * 
@@ -701,8 +619,6 @@ java.lang.String getLabelsOrDefault( com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(); /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -711,13 +627,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string node_group = 18; - * * @return The nodeGroup. */ java.lang.String getNodeGroup(); /** - * - * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -726,14 +639,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string node_group = 18; - * * @return The bytes for nodeGroup. */ - com.google.protobuf.ByteString getNodeGroupBytes(); + com.google.protobuf.ByteString + getNodeGroupBytes(); /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -742,13 +653,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; - * * @return Whether the reservationAffinity field is set. */ boolean hasReservationAffinity(); /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -757,13 +665,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; - * * @return The reservationAffinity. */ com.google.container.v1beta1.ReservationAffinity getReservationAffinity(); /** - * - * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -776,8 +681,6 @@ java.lang.String getLabelsOrDefault(
   com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder();
 
   /**
-   *
-   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -785,13 +688,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string disk_type = 12; - * * @return The diskType. */ java.lang.String getDiskType(); /** - * - * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -799,14 +699,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string disk_type = 12; - * * @return The bytes for diskType. */ - com.google.protobuf.ByteString getDiskTypeBytes(); + com.google.protobuf.ByteString + getDiskTypeBytes(); /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -818,13 +716,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string min_cpu_platform = 13; - * * @return The minCpuPlatform. */ java.lang.String getMinCpuPlatform(); /** - * - * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -836,38 +731,30 @@ java.lang.String getLabelsOrDefault(
    * 
* * string min_cpu_platform = 13; - * * @return The bytes for minCpuPlatform. */ - com.google.protobuf.ByteString getMinCpuPlatformBytes(); + com.google.protobuf.ByteString + getMinCpuPlatformBytes(); /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** - * - * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** - * - * *
    * The workload metadata configuration for this node.
    * 
@@ -877,8 +764,6 @@ java.lang.String getLabelsOrDefault( com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** - * - * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -887,10 +772,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
-  java.util.List getTaintsList();
+  java.util.List 
+      getTaintsList();
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -901,8 +785,6 @@ java.lang.String getLabelsOrDefault(
    */
   com.google.container.v1beta1.NodeTaint getTaints(int index);
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -913,8 +795,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getTaintsCount();
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -923,11 +803,9 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
-  java.util.List
+  java.util.List 
       getTaintsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -936,11 +814,10 @@ java.lang.String getLabelsOrDefault(
    *
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
-  com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index);
+  com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -951,13 +828,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string boot_disk_kms_key = 23; - * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** - * - * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -968,38 +842,30 @@ java.lang.String getLabelsOrDefault(
    * 
* * string boot_disk_kms_key = 23; - * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString + getBootDiskKmsKeyBytes(); /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; - * * @return The shieldedInstanceConfig. */ com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** - * - * *
    * Shielded Instance options.
    * 
@@ -1009,32 +875,24 @@ java.lang.String getLabelsOrDefault( com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; - * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; - * * @return The linuxNodeConfig. */ com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -1044,32 +902,24 @@ java.lang.String getLabelsOrDefault( com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; - * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; - * * @return The kubeletConfig. */ com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
@@ -1079,34 +929,26 @@ java.lang.String getLabelsOrDefault( com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** - * - * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; - * * @return Whether the ephemeralStorageConfig field is set. */ boolean hasEphemeralStorageConfig(); /** - * - * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; - * * @return The ephemeralStorageConfig. */ com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageConfig(); /** - * - * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
@@ -1117,32 +959,24 @@ java.lang.String getLabelsOrDefault(
   com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeralStorageConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; - * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** - * - * *
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; - * * @return The gcfsConfig. */ com.google.container.v1beta1.GcfsConfig getGcfsConfig(); /** - * - * *
    * GCFS (Google Container File System) configs.
    * 
@@ -1152,68 +986,51 @@ java.lang.String getLabelsOrDefault( com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return Whether the advancedMachineFeatures field is set. */ boolean hasAdvancedMachineFeatures(); /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; - * * @return The advancedMachineFeatures. */ com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFeatures(); /** - * - * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ - com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder - getAdvancedMachineFeaturesOrBuilder(); + com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder(); /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ com.google.container.v1beta1.VirtualNIC getGvnic(); /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -1223,48 +1040,37 @@ java.lang.String getLabelsOrDefault( com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder(); /** - * - * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; - * * @return The spot. */ boolean getSpot(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; - * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; - * * @return The confidentialNodes. */ com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1275,8 +1081,33 @@ java.lang.String getLabelsOrDefault(
   com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
+   * 
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
* + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * @return Whether the fastSocket field is set. + */ + boolean hasFastSocket(); + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
* + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * @return The fastSocket. + */ + com.google.container.v1beta1.FastSocket getFastSocket(); + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
+ * + * optional .google.container.v1beta1.FastSocket fast_socket = 36; + */ + com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder(); + + /** *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1286,8 +1117,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getResourceLabelsCount();
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1295,13 +1124,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-  boolean containsResourceLabels(java.lang.String key);
-  /** Use {@link #getResourceLabelsMap()} instead. */
+  boolean containsResourceLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getResourceLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getResourceLabels();
+  java.util.Map
+  getResourceLabels();
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1309,10 +1140,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-  java.util.Map getResourceLabelsMap();
+  java.util.Map
+  getResourceLabelsMap();
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1322,13 +1152,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getResourceLabelsOrDefault(
+java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1336,35 +1164,29 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getResourceLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; - * * @return The loggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java similarity index 77% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java index 000c1fec9e90..ca41ef97f2ba 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Node kubelet configs.
  * 
* * Protobuf type {@code google.container.v1beta1.NodeKubeletConfig} */ -public final class NodeKubeletConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodeKubeletConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeKubeletConfig) NodeKubeletConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodeKubeletConfig.newBuilder() to construct. private NodeKubeletConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeKubeletConfig() { cpuManagerPolicy_ = ""; cpuCfsQuotaPeriod_ = ""; @@ -44,35 +26,32 @@ private NodeKubeletConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeKubeletConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeKubeletConfig.class, - com.google.container.v1beta1.NodeKubeletConfig.Builder.class); + com.google.container.v1beta1.NodeKubeletConfig.class, com.google.container.v1beta1.NodeKubeletConfig.Builder.class); } public static final int CPU_MANAGER_POLICY_FIELD_NUMBER = 1; private volatile java.lang.Object cpuManagerPolicy_; /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -85,7 +64,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string cpu_manager_policy = 1; - * * @return The cpuManagerPolicy. */ @java.lang.Override @@ -94,15 +72,14 @@ public java.lang.String getCpuManagerPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; } } /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -115,15 +92,16 @@ public java.lang.String getCpuManagerPolicy() {
    * 
* * string cpu_manager_policy = 1; - * * @return The bytes for cpuManagerPolicy. */ @java.lang.Override - public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString + getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -134,8 +112,6 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { public static final int CPU_CFS_QUOTA_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue cpuCfsQuota_; /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -148,7 +124,6 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return Whether the cpuCfsQuota field is set. */ @java.lang.Override @@ -156,8 +131,6 @@ public boolean hasCpuCfsQuota() { return cpuCfsQuota_ != null; } /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -170,7 +143,6 @@ public boolean hasCpuCfsQuota() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return The cpuCfsQuota. */ @java.lang.Override @@ -178,8 +150,6 @@ public com.google.protobuf.BoolValue getCpuCfsQuota() { return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; } /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -201,8 +171,6 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
   public static final int CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER = 3;
   private volatile java.lang.Object cpuCfsQuotaPeriod_;
   /**
-   *
-   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -212,7 +180,6 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The cpuCfsQuotaPeriod. */ @java.lang.Override @@ -221,15 +188,14 @@ public java.lang.String getCpuCfsQuotaPeriod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; } } /** - * - * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -239,15 +205,16 @@ public java.lang.String getCpuCfsQuotaPeriod() {
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The bytes for cpuCfsQuotaPeriod. */ @java.lang.Override - public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString + getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -258,8 +225,6 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { public static final int POD_PIDS_LIMIT_FIELD_NUMBER = 4; private long podPidsLimit_; /** - * - * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -268,7 +233,6 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() {
    * 
* * int64 pod_pids_limit = 4; - * * @return The podPidsLimit. */ @java.lang.Override @@ -277,7 +241,6 @@ public long getPodPidsLimit() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuManagerPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cpuManagerPolicy_); } @@ -315,13 +279,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cpuManagerPolicy_); } if (cpuCfsQuota_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCpuCfsQuota()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCpuCfsQuota()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cpuCfsQuotaPeriod_); } if (podPidsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, podPidsLimit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, podPidsLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,21 +297,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeKubeletConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodeKubeletConfig other = - (com.google.container.v1beta1.NodeKubeletConfig) obj; + com.google.container.v1beta1.NodeKubeletConfig other = (com.google.container.v1beta1.NodeKubeletConfig) obj; - if (!getCpuManagerPolicy().equals(other.getCpuManagerPolicy())) return false; + if (!getCpuManagerPolicy() + .equals(other.getCpuManagerPolicy())) return false; if (hasCpuCfsQuota() != other.hasCpuCfsQuota()) return false; if (hasCpuCfsQuota()) { - if (!getCpuCfsQuota().equals(other.getCpuCfsQuota())) return false; + if (!getCpuCfsQuota() + .equals(other.getCpuCfsQuota())) return false; } - if (!getCpuCfsQuotaPeriod().equals(other.getCpuCfsQuotaPeriod())) return false; - if (getPodPidsLimit() != other.getPodPidsLimit()) return false; + if (!getCpuCfsQuotaPeriod() + .equals(other.getCpuCfsQuotaPeriod())) return false; + if (getPodPidsLimit() + != other.getPodPidsLimit()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,142 +335,137 @@ public int hashCode() { hash = (37 * hash) + CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getCpuCfsQuotaPeriod().hashCode(); hash = (37 * hash) + POD_PIDS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPodPidsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPodPidsLimit()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeKubeletConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( 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.NodeKubeletConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeKubeletConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeKubeletConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeKubeletConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeKubeletConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Node kubelet configs.
    * 
* * Protobuf type {@code google.container.v1beta1.NodeKubeletConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeKubeletConfig) com.google.container.v1beta1.NodeKubeletConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeKubeletConfig.class, - com.google.container.v1beta1.NodeKubeletConfig.Builder.class); + com.google.container.v1beta1.NodeKubeletConfig.class, com.google.container.v1beta1.NodeKubeletConfig.Builder.class); } // Construct using com.google.container.v1beta1.NodeKubeletConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -521,9 +485,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; } @java.lang.Override @@ -542,8 +506,7 @@ public com.google.container.v1beta1.NodeKubeletConfig build() { @java.lang.Override public com.google.container.v1beta1.NodeKubeletConfig buildPartial() { - com.google.container.v1beta1.NodeKubeletConfig result = - new com.google.container.v1beta1.NodeKubeletConfig(this); + com.google.container.v1beta1.NodeKubeletConfig result = new com.google.container.v1beta1.NodeKubeletConfig(this); result.cpuManagerPolicy_ = cpuManagerPolicy_; if (cpuCfsQuotaBuilder_ == null) { result.cpuCfsQuota_ = cpuCfsQuota_; @@ -560,39 +523,38 @@ public com.google.container.v1beta1.NodeKubeletConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodeKubeletConfig) { - return mergeFrom((com.google.container.v1beta1.NodeKubeletConfig) other); + return mergeFrom((com.google.container.v1beta1.NodeKubeletConfig)other); } else { super.mergeFrom(other); return this; @@ -641,37 +603,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - cpuManagerPolicy_ = input.readStringRequireUtf8(); + case 10: { + cpuManagerPolicy_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getCpuCfsQuotaFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getCpuCfsQuotaFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - podPidsLimit_ = input.readInt64(); + break; + } // case 26 + case 32: { + podPidsLimit_ = input.readInt64(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -684,8 +643,6 @@ public Builder mergeFrom( private java.lang.Object cpuManagerPolicy_ = ""; /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -698,13 +655,13 @@ public Builder mergeFrom(
      * 
* * string cpu_manager_policy = 1; - * * @return The cpuManagerPolicy. */ public java.lang.String getCpuManagerPolicy() { java.lang.Object ref = cpuManagerPolicy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; @@ -713,8 +670,6 @@ public java.lang.String getCpuManagerPolicy() { } } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -727,14 +682,15 @@ public java.lang.String getCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; - * * @return The bytes for cpuManagerPolicy. */ - public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString + getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -742,8 +698,6 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { } } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -756,22 +710,20 @@ public com.google.protobuf.ByteString getCpuManagerPolicyBytes() {
      * 
* * string cpu_manager_policy = 1; - * * @param value The cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicy(java.lang.String value) { + public Builder setCpuManagerPolicy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuManagerPolicy_ = value; onChanged(); return this; } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -784,18 +736,15 @@ public Builder setCpuManagerPolicy(java.lang.String value) {
      * 
* * string cpu_manager_policy = 1; - * * @return This builder for chaining. */ public Builder clearCpuManagerPolicy() { - + cpuManagerPolicy_ = getDefaultInstance().getCpuManagerPolicy(); onChanged(); return this; } /** - * - * *
      * Control the CPU management policy on the node.
      * See
@@ -808,16 +757,16 @@ public Builder clearCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; - * * @param value The bytes for cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) { + public Builder setCpuManagerPolicyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuManagerPolicy_ = value; onChanged(); return this; @@ -825,13 +774,8 @@ public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.BoolValue cpuCfsQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - cpuCfsQuotaBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> cpuCfsQuotaBuilder_; /** - * - * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -844,15 +788,12 @@ public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return Whether the cpuCfsQuota field is set. */ public boolean hasCpuCfsQuota() { return cpuCfsQuotaBuilder_ != null || cpuCfsQuota_ != null; } /** - * - * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -865,21 +806,16 @@ public boolean hasCpuCfsQuota() {
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return The cpuCfsQuota. */ public com.google.protobuf.BoolValue getCpuCfsQuota() { if (cpuCfsQuotaBuilder_ == null) { - return cpuCfsQuota_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : cpuCfsQuota_; + return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; } else { return cpuCfsQuotaBuilder_.getMessage(); } } /** - * - * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -907,8 +843,6 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -922,7 +856,8 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
-    public Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setCpuCfsQuota(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (cpuCfsQuotaBuilder_ == null) {
         cpuCfsQuota_ = builderForValue.build();
         onChanged();
@@ -933,8 +868,6 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -952,9 +885,7 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       if (cpuCfsQuotaBuilder_ == null) {
         if (cpuCfsQuota_ != null) {
           cpuCfsQuota_ =
-              com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_).mergeFrom(value).buildPartial();
         } else {
           cpuCfsQuota_ = value;
         }
@@ -966,8 +897,6 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -993,8 +922,6 @@ public Builder clearCpuCfsQuota() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -1009,13 +936,11 @@ public Builder clearCpuCfsQuota() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     public com.google.protobuf.BoolValue.Builder getCpuCfsQuotaBuilder() {
-
+      
       onChanged();
       return getCpuCfsQuotaFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -1033,14 +958,11 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
       if (cpuCfsQuotaBuilder_ != null) {
         return cpuCfsQuotaBuilder_.getMessageOrBuilder();
       } else {
-        return cpuCfsQuota_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : cpuCfsQuota_;
+        return cpuCfsQuota_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_;
       }
     }
     /**
-     *
-     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -1055,17 +977,14 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getCpuCfsQuotaFieldBuilder() {
       if (cpuCfsQuotaBuilder_ == null) {
-        cpuCfsQuotaBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getCpuCfsQuota(), getParentForChildren(), isClean());
+        cpuCfsQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getCpuCfsQuota(),
+                getParentForChildren(),
+                isClean());
         cpuCfsQuota_ = null;
       }
       return cpuCfsQuotaBuilder_;
@@ -1073,8 +992,6 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
 
     private java.lang.Object cpuCfsQuotaPeriod_ = "";
     /**
-     *
-     *
      * 
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1084,13 +1001,13 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @return The cpuCfsQuotaPeriod. */ public java.lang.String getCpuCfsQuotaPeriod() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; @@ -1099,8 +1016,6 @@ public java.lang.String getCpuCfsQuotaPeriod() { } } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1110,14 +1025,15 @@ public java.lang.String getCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @return The bytes for cpuCfsQuotaPeriod. */ - public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString + getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -1125,8 +1041,6 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { } } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1136,22 +1050,20 @@ public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @param value The cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriod(java.lang.String value) { + public Builder setCpuCfsQuotaPeriod( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1161,18 +1073,15 @@ public Builder setCpuCfsQuotaPeriod(java.lang.String value) {
      * 
* * string cpu_cfs_quota_period = 3; - * * @return This builder for chaining. */ public Builder clearCpuCfsQuotaPeriod() { - + cpuCfsQuotaPeriod_ = getDefaultInstance().getCpuCfsQuotaPeriod(); onChanged(); return this; } /** - * - * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1182,25 +1091,23 @@ public Builder clearCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; - * * @param value The bytes for cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) { + public Builder setCpuCfsQuotaPeriodBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } - private long podPidsLimit_; + private long podPidsLimit_ ; /** - * - * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1209,7 +1116,6 @@ public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 pod_pids_limit = 4; - * * @return The podPidsLimit. */ @java.lang.Override @@ -1217,8 +1123,6 @@ public long getPodPidsLimit() { return podPidsLimit_; } /** - * - * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1227,19 +1131,16 @@ public long getPodPidsLimit() {
      * 
* * int64 pod_pids_limit = 4; - * * @param value The podPidsLimit to set. * @return This builder for chaining. */ public Builder setPodPidsLimit(long value) { - + podPidsLimit_ = value; onChanged(); return this; } /** - * - * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1248,18 +1149,17 @@ public Builder setPodPidsLimit(long value) {
      * 
* * int64 pod_pids_limit = 4; - * * @return This builder for chaining. */ public Builder clearPodPidsLimit() { - + podPidsLimit_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1269,12 +1169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeKubeletConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeKubeletConfig) private static final com.google.container.v1beta1.NodeKubeletConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeKubeletConfig(); } @@ -1283,27 +1183,27 @@ public static com.google.container.v1beta1.NodeKubeletConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeKubeletConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeKubeletConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1318,4 +1218,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeKubeletConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java similarity index 84% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java index 79d18d02b4d9..3d337ba52b6e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeKubeletConfigOrBuilder - extends +public interface NodeKubeletConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeKubeletConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -38,13 +20,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_manager_policy = 1; - * * @return The cpuManagerPolicy. */ java.lang.String getCpuManagerPolicy(); /** - * - * *
    * Control the CPU management policy on the node.
    * See
@@ -57,14 +36,12 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_manager_policy = 1; - * * @return The bytes for cpuManagerPolicy. */ - com.google.protobuf.ByteString getCpuManagerPolicyBytes(); + com.google.protobuf.ByteString + getCpuManagerPolicyBytes(); /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -77,13 +54,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return Whether the cpuCfsQuota field is set. */ boolean hasCpuCfsQuota(); /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -96,13 +70,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; - * * @return The cpuCfsQuota. */ com.google.protobuf.BoolValue getCpuCfsQuota(); /** - * - * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -119,8 +90,6 @@ public interface NodeKubeletConfigOrBuilder
   com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder();
 
   /**
-   *
-   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -130,13 +99,10 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The cpuCfsQuotaPeriod. */ java.lang.String getCpuCfsQuotaPeriod(); /** - * - * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -146,14 +112,12 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * string cpu_cfs_quota_period = 3; - * * @return The bytes for cpuCfsQuotaPeriod. */ - com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes(); + com.google.protobuf.ByteString + getCpuCfsQuotaPeriodBytes(); /** - * - * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -162,7 +126,6 @@ public interface NodeKubeletConfigOrBuilder
    * 
* * int64 pod_pids_limit = 4; - * * @return The podPidsLimit. */ long getPodPidsLimit(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java similarity index 57% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java index b7dee2ce1dca..2bd69fccd534 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Collection of node-level [Kubernetes
  * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -28,73 +11,74 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeLabels}
  */
-public final class NodeLabels extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeLabels extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeLabels)
     NodeLabelsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeLabels.newBuilder() to construct.
   private NodeLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NodeLabels() {}
+  private NodeLabels() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeLabels_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeLabels.class,
-            com.google.container.v1beta1.NodeLabels.Builder.class);
+            com.google.container.v1beta1.NodeLabels.class, com.google.container.v1beta1.NodeLabels.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.container.v1beta1.ClusterServiceProto
-                .internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
-  }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -103,30 +87,28 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -134,12 +116,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -147,16 +128,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -164,11 +145,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -176,7 +158,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,9 +169,14 @@ public final boolean isInitialized() { } @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); + 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); } @@ -200,15 +186,15 @@ public int getSerializedSize() { 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__); + 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; @@ -218,14 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeLabels)) { return super.equals(obj); } com.google.container.v1beta1.NodeLabels other = (com.google.container.v1beta1.NodeLabels) obj; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,104 +233,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeLabels parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeLabels parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeLabels parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeLabels parseFrom( 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.NodeLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeLabels parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeLabels parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeLabels parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeLabels parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeLabels parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeLabels parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of node-level [Kubernetes
    * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -351,52 +331,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodeLabels}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeLabels)
       com.google.container.v1beta1.NodeLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeLabels.class,
-              com.google.container.v1beta1.NodeLabels.Builder.class);
+              com.google.container.v1beta1.NodeLabels.class, com.google.container.v1beta1.NodeLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeLabels.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -405,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_descriptor;
     }
 
     @java.lang.Override
@@ -426,8 +409,7 @@ public com.google.container.v1beta1.NodeLabels build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeLabels buildPartial() {
-      com.google.container.v1beta1.NodeLabels result =
-          new com.google.container.v1beta1.NodeLabels(this);
+      com.google.container.v1beta1.NodeLabels result = new com.google.container.v1beta1.NodeLabels(this);
       int from_bitField0_ = bitField0_;
       result.labels_ = internalGetLabels();
       result.labels_.makeImmutable();
@@ -439,39 +421,38 @@ public com.google.container.v1beta1.NodeLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeLabels) {
-        return mergeFrom((com.google.container.v1beta1.NodeLabels) other);
+        return mergeFrom((com.google.container.v1beta1.NodeLabels)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -480,7 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1beta1.NodeLabels other) {
       if (other == com.google.container.v1beta1.NodeLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -507,24 +489,20 @@ public Builder mergeFrom(
             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());
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              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) {
@@ -534,24 +512,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -563,30 +541,28 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -594,12 +570,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -607,17 +582,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -625,11 +599,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -637,66 +612,69 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -706,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeLabels) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeLabels) private static final com.google.container.v1beta1.NodeLabels DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeLabels(); } @@ -720,27 +698,27 @@ public static com.google.container.v1beta1.NodeLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -755,4 +733,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java index ba73062a6185..8b1e3ff18a50 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeLabelsOrBuilder - extends +public interface NodeLabelsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeLabels) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -34,31 +16,30 @@ public interface NodeLabelsOrBuilder */ int getLabelsCount(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -67,18 +48,18 @@ public interface NodeLabelsOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java index 0d4e84b00a96..bd805b621dfd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * NodeManagement defines the set of node management services turned on for the
  * node pool.
@@ -28,55 +11,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeManagement}
  */
-public final class NodeManagement extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeManagement extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeManagement)
     NodeManagementOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeManagement.newBuilder() to construct.
   private NodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NodeManagement() {}
+  private NodeManagement() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeManagement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeManagement_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeManagement.class,
-            com.google.container.v1beta1.NodeManagement.Builder.class);
+            com.google.container.v1beta1.NodeManagement.class, com.google.container.v1beta1.NodeManagement.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_FIELD_NUMBER = 1;
   private boolean autoUpgrade_;
   /**
-   *
-   *
    * 
    * Whether the nodes will be automatically upgraded.
    * 
* * bool auto_upgrade = 1; - * * @return The autoUpgrade. */ @java.lang.Override @@ -87,14 +66,11 @@ public boolean getAutoUpgrade() { public static final int AUTO_REPAIR_FIELD_NUMBER = 2; private boolean autoRepair_; /** - * - * *
    * Whether the nodes will be automatically repaired.
    * 
* * bool auto_repair = 2; - * * @return The autoRepair. */ @java.lang.Override @@ -105,14 +81,11 @@ public boolean getAutoRepair() { public static final int UPGRADE_OPTIONS_FIELD_NUMBER = 10; private com.google.container.v1beta1.AutoUpgradeOptions upgradeOptions_; /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; - * * @return Whether the upgradeOptions field is set. */ @java.lang.Override @@ -120,25 +93,18 @@ public boolean hasUpgradeOptions() { return upgradeOptions_ != null; } /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; - * * @return The upgradeOptions. */ @java.lang.Override public com.google.container.v1beta1.AutoUpgradeOptions getUpgradeOptions() { - return upgradeOptions_ == null - ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() - : upgradeOptions_; + return upgradeOptions_ == null ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; } /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
@@ -151,7 +117,6 @@ public com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder getUpgradeOption } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +128,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (autoUpgrade_ != false) { output.writeBool(1, autoUpgrade_); } @@ -183,13 +149,16 @@ public int getSerializedSize() { size = 0; if (autoUpgrade_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, autoUpgrade_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, autoUpgrade_); } if (autoRepair_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, autoRepair_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, autoRepair_); } if (upgradeOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpgradeOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getUpgradeOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,19 +168,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeManagement)) { return super.equals(obj); } - com.google.container.v1beta1.NodeManagement other = - (com.google.container.v1beta1.NodeManagement) obj; + com.google.container.v1beta1.NodeManagement other = (com.google.container.v1beta1.NodeManagement) obj; - if (getAutoUpgrade() != other.getAutoUpgrade()) return false; - if (getAutoRepair() != other.getAutoRepair()) return false; + if (getAutoUpgrade() + != other.getAutoUpgrade()) return false; + if (getAutoRepair() + != other.getAutoRepair()) return false; if (hasUpgradeOptions() != other.hasUpgradeOptions()) return false; if (hasUpgradeOptions()) { - if (!getUpgradeOptions().equals(other.getUpgradeOptions())) return false; + if (!getUpgradeOptions() + .equals(other.getUpgradeOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -225,9 +196,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AUTO_UPGRADE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoUpgrade()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoUpgrade()); hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoRepair()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoRepair()); if (hasUpgradeOptions()) { hash = (37 * hash) + UPGRADE_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getUpgradeOptions().hashCode(); @@ -237,104 +210,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeManagement parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeManagement parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeManagement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeManagement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeManagement parseFrom( 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.NodeManagement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeManagement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeManagement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeManagement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeManagement parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeManagement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeManagement parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeManagement parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeManagement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeManagement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodeManagement defines the set of node management services turned on for the
    * node pool.
@@ -342,32 +308,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodeManagement}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeManagement)
       com.google.container.v1beta1.NodeManagementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeManagement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeManagement.class,
-              com.google.container.v1beta1.NodeManagement.Builder.class);
+              com.google.container.v1beta1.NodeManagement.class, com.google.container.v1beta1.NodeManagement.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeManagement.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeManagement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
@@ -406,8 +373,7 @@ public com.google.container.v1beta1.NodeManagement build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeManagement buildPartial() {
-      com.google.container.v1beta1.NodeManagement result =
-          new com.google.container.v1beta1.NodeManagement(this);
+      com.google.container.v1beta1.NodeManagement result = new com.google.container.v1beta1.NodeManagement(this);
       result.autoUpgrade_ = autoUpgrade_;
       result.autoRepair_ = autoRepair_;
       if (upgradeOptionsBuilder_ == null) {
@@ -423,39 +389,38 @@ public com.google.container.v1beta1.NodeManagement buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeManagement) {
-        return mergeFrom((com.google.container.v1beta1.NodeManagement) other);
+        return mergeFrom((com.google.container.v1beta1.NodeManagement)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -499,31 +464,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                autoUpgrade_ = input.readBool();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                autoRepair_ = input.readBool();
-
-                break;
-              } // case 16
-            case 82:
-              {
-                input.readMessage(getUpgradeOptionsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 82
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              autoUpgrade_ = input.readBool();
+
+              break;
+            } // case 8
+            case 16: {
+              autoRepair_ = input.readBool();
+
+              break;
+            } // case 16
+            case 82: {
+              input.readMessage(
+                  getUpgradeOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -534,16 +497,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean autoUpgrade_;
+    private boolean autoUpgrade_ ;
     /**
-     *
-     *
      * 
      * Whether the nodes will be automatically upgraded.
      * 
* * bool auto_upgrade = 1; - * * @return The autoUpgrade. */ @java.lang.Override @@ -551,51 +511,42 @@ public boolean getAutoUpgrade() { return autoUpgrade_; } /** - * - * *
      * Whether the nodes will be automatically upgraded.
      * 
* * bool auto_upgrade = 1; - * * @param value The autoUpgrade to set. * @return This builder for chaining. */ public Builder setAutoUpgrade(boolean value) { - + autoUpgrade_ = value; onChanged(); return this; } /** - * - * *
      * Whether the nodes will be automatically upgraded.
      * 
* * bool auto_upgrade = 1; - * * @return This builder for chaining. */ public Builder clearAutoUpgrade() { - + autoUpgrade_ = false; onChanged(); return this; } - private boolean autoRepair_; + private boolean autoRepair_ ; /** - * - * *
      * Whether the nodes will be automatically repaired.
      * 
* * bool auto_repair = 2; - * * @return The autoRepair. */ @java.lang.Override @@ -603,36 +554,30 @@ public boolean getAutoRepair() { return autoRepair_; } /** - * - * *
      * Whether the nodes will be automatically repaired.
      * 
* * bool auto_repair = 2; - * * @param value The autoRepair to set. * @return This builder for chaining. */ public Builder setAutoRepair(boolean value) { - + autoRepair_ = value; onChanged(); return this; } /** - * - * *
      * Whether the nodes will be automatically repaired.
      * 
* * bool auto_repair = 2; - * * @return This builder for chaining. */ public Builder clearAutoRepair() { - + autoRepair_ = false; onChanged(); return this; @@ -640,47 +585,34 @@ public Builder clearAutoRepair() { private com.google.container.v1beta1.AutoUpgradeOptions upgradeOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoUpgradeOptions, - com.google.container.v1beta1.AutoUpgradeOptions.Builder, - com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> - upgradeOptionsBuilder_; + com.google.container.v1beta1.AutoUpgradeOptions, com.google.container.v1beta1.AutoUpgradeOptions.Builder, com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> upgradeOptionsBuilder_; /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; - * * @return Whether the upgradeOptions field is set. */ public boolean hasUpgradeOptions() { return upgradeOptionsBuilder_ != null || upgradeOptions_ != null; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; - * * @return The upgradeOptions. */ public com.google.container.v1beta1.AutoUpgradeOptions getUpgradeOptions() { if (upgradeOptionsBuilder_ == null) { - return upgradeOptions_ == null - ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() - : upgradeOptions_; + return upgradeOptions_ == null ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; } else { return upgradeOptionsBuilder_.getMessage(); } } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -701,8 +633,6 @@ public Builder setUpgradeOptions(com.google.container.v1beta1.AutoUpgradeOptions return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -721,8 +651,6 @@ public Builder setUpgradeOptions( return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -733,9 +661,7 @@ public Builder mergeUpgradeOptions(com.google.container.v1beta1.AutoUpgradeOptio if (upgradeOptionsBuilder_ == null) { if (upgradeOptions_ != null) { upgradeOptions_ = - com.google.container.v1beta1.AutoUpgradeOptions.newBuilder(upgradeOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AutoUpgradeOptions.newBuilder(upgradeOptions_).mergeFrom(value).buildPartial(); } else { upgradeOptions_ = value; } @@ -747,8 +673,6 @@ public Builder mergeUpgradeOptions(com.google.container.v1beta1.AutoUpgradeOptio return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -767,8 +691,6 @@ public Builder clearUpgradeOptions() { return this; } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -776,13 +698,11 @@ public Builder clearUpgradeOptions() { * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; */ public com.google.container.v1beta1.AutoUpgradeOptions.Builder getUpgradeOptionsBuilder() { - + onChanged(); return getUpgradeOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -793,14 +713,11 @@ public com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder getUpgradeOption if (upgradeOptionsBuilder_ != null) { return upgradeOptionsBuilder_.getMessageOrBuilder(); } else { - return upgradeOptions_ == null - ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() - : upgradeOptions_; + return upgradeOptions_ == null ? + com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; } } /** - * - * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -808,24 +725,21 @@ public com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder getUpgradeOption * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoUpgradeOptions, - com.google.container.v1beta1.AutoUpgradeOptions.Builder, - com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> + com.google.container.v1beta1.AutoUpgradeOptions, com.google.container.v1beta1.AutoUpgradeOptions.Builder, com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> getUpgradeOptionsFieldBuilder() { if (upgradeOptionsBuilder_ == null) { - upgradeOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoUpgradeOptions, - com.google.container.v1beta1.AutoUpgradeOptions.Builder, - com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder>( - getUpgradeOptions(), getParentForChildren(), isClean()); + upgradeOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AutoUpgradeOptions, com.google.container.v1beta1.AutoUpgradeOptions.Builder, com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder>( + getUpgradeOptions(), + getParentForChildren(), + isClean()); upgradeOptions_ = null; } return upgradeOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -835,12 +749,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeManagement) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeManagement) private static final com.google.container.v1beta1.NodeManagement DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeManagement(); } @@ -849,27 +763,27 @@ public static com.google.container.v1beta1.NodeManagement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeManagement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -884,4 +798,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeManagement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java index 6588c33efa2a..e5dd0b1646d2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface NodeManagementOrBuilder - extends +public interface NodeManagementOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeManagement) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether the nodes will be automatically upgraded.
    * 
* * bool auto_upgrade = 1; - * * @return The autoUpgrade. */ boolean getAutoUpgrade(); /** - * - * *
    * Whether the nodes will be automatically repaired.
    * 
* * bool auto_repair = 2; - * * @return The autoRepair. */ boolean getAutoRepair(); /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; - * * @return Whether the upgradeOptions field is set. */ boolean hasUpgradeOptions(); /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; - * * @return The upgradeOptions. */ com.google.container.v1beta1.AutoUpgradeOptions getUpgradeOptions(); /** - * - * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java index f1f1d7e1f3ce..91ecb3a81c4e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Parameters for node pool-level network config.
  * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig} */ -public final class NodeNetworkConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodeNetworkConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeNetworkConfig) NodeNetworkConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodeNetworkConfig.newBuilder() to construct. private NodeNetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeNetworkConfig() { podRange_ = ""; podIpv4CidrBlock_ = ""; @@ -44,145 +26,108 @@ private NodeNetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodeNetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.class, - com.google.container.v1beta1.NodeNetworkConfig.Builder.class); + com.google.container.v1beta1.NodeNetworkConfig.class, com.google.container.v1beta1.NodeNetworkConfig.Builder.class); } - public interface NetworkPerformanceConfigOrBuilder - extends + public interface NetworkPerformanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return Whether the totalEgressBandwidthTier field is set. */ boolean hasTotalEgressBandwidthTier(); /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ int getTotalEgressBandwidthTierValue(); /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The totalEgressBandwidthTier. */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getTotalEgressBandwidthTier(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier(); /** - * - * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return Whether the externalIpEgressBandwidthTier field is set. */ boolean hasExternalIpEgressBandwidthTier(); /** - * - * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. */ int getExternalIpEgressBandwidthTierValue(); /** - * - * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return The externalIpEgressBandwidthTier. */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getExternalIpEgressBandwidthTier(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getExternalIpEgressBandwidthTier(); } /** - * - * *
    * Configuration of all network bandwidth tiers
    * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class NetworkPerformanceConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class NetworkPerformanceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) NetworkPerformanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkPerformanceConfig.newBuilder() to construct. private NetworkPerformanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NetworkPerformanceConfig() { totalEgressBandwidthTier_ = 0; externalIpEgressBandwidthTier_ = 0; @@ -190,45 +135,39 @@ private NetworkPerformanceConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NetworkPerformanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder - .class); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); } /** - * - * *
      * Node network tier
      * 
* - * Protobuf enum {@code - * google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} + * Protobuf enum {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} */ - public enum Tier implements com.google.protobuf.ProtocolMessageEnum { + public enum Tier + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value
        * 
@@ -237,8 +176,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ TIER_UNSPECIFIED(0), /** - * - * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -250,8 +187,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Default value
        * 
@@ -260,8 +195,6 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIER_UNSPECIFIED_VALUE = 0; /** - * - * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -270,6 +203,7 @@ public enum Tier implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TIER_1_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -294,50 +228,48 @@ public static Tier valueOf(int value) { */ public static Tier forNumber(int value) { switch (value) { - case 0: - return TIER_UNSPECIFIED; - case 1: - return TIER_1; - default: - return null; + case 0: return TIER_UNSPECIFIED; + case 1: return TIER_1; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Tier> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Tier findValueByNumber(int number) { + return Tier.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tier findValueByNumber(int number) { - return Tier.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDescriptor().getEnumTypes().get(0); } private static final Tier[] VALUES = values(); - public static Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tier valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -358,132 +290,83 @@ private Tier(int value) { public static final int TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 1; private int totalEgressBandwidthTier_; /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override - public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override - public int getTotalEgressBandwidthTierValue() { + @java.lang.Override public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** - * - * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The totalEgressBandwidthTier. */ - @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getTotalEgressBandwidthTier() { + @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( - totalEgressBandwidthTier_); - return result == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - .UNRECOGNIZED - : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); + return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; } public static final int EXTERNAL_IP_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 2; private int externalIpEgressBandwidthTier_; /** - * - * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return Whether the externalIpEgressBandwidthTier field is set. */ - @java.lang.Override - public boolean hasExternalIpEgressBandwidthTier() { + @java.lang.Override public boolean hasExternalIpEgressBandwidthTier() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. */ - @java.lang.Override - public int getExternalIpEgressBandwidthTierValue() { + @java.lang.Override public int getExternalIpEgressBandwidthTierValue() { return externalIpEgressBandwidthTier_; } /** - * - * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return The externalIpEgressBandwidthTier. */ - @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getExternalIpEgressBandwidthTier() { + @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getExternalIpEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( - externalIpEgressBandwidthTier_); - return result == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - .UNRECOGNIZED - : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(externalIpEgressBandwidthTier_); + return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -495,7 +378,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, totalEgressBandwidthTier_); } @@ -512,12 +396,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, totalEgressBandwidthTier_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, totalEgressBandwidthTier_); } if (((bitField0_ & 0x00000002) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize( - 2, externalIpEgressBandwidthTier_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, externalIpEgressBandwidthTier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -527,21 +411,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig)) { + if (!(obj instanceof com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other = - (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) obj; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other = (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) obj; if (hasTotalEgressBandwidthTier() != other.hasTotalEgressBandwidthTier()) return false; if (hasTotalEgressBandwidthTier()) { if (totalEgressBandwidthTier_ != other.totalEgressBandwidthTier_) return false; } - if (hasExternalIpEgressBandwidthTier() != other.hasExternalIpEgressBandwidthTier()) - return false; + if (hasExternalIpEgressBandwidthTier() != other.hasExternalIpEgressBandwidthTier()) return false; if (hasExternalIpEgressBandwidthTier()) { if (externalIpEgressBandwidthTier_ != other.externalIpEgressBandwidthTier_) return false; } @@ -570,95 +451,87 @@ public int hashCode() { } public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - 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.NodeNetworkConfig.NetworkPerformanceConfig 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -668,43 +541,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration of all network bandwidth tiers
      * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder - .class); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); } - // Construct using - // com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() - private Builder() {} + // Construct using com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -716,22 +585,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - getDefaultInstanceForType() { - return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance(); + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig build() { - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = - buildPartial(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -739,10 +605,8 @@ public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig b } @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - buildPartial() { - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = - new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(this); + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig buildPartial() { + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -762,54 +626,46 @@ public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NodeNetworkConfig.NetworkPerformanceConfig) { - return mergeFrom( - (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) other); + if (other instanceof com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) { + return mergeFrom((com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other) { - if (other - == com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other) { + if (other == com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) return this; if (other.hasTotalEgressBandwidthTier()) { setTotalEgressBandwidthTier(other.getTotalEgressBandwidthTier()); } @@ -842,25 +698,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - totalEgressBandwidthTier_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - externalIpEgressBandwidthTier_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + totalEgressBandwidthTier_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + externalIpEgressBandwidthTier_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -870,55 +723,37 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int totalEgressBandwidthTier_ = 0; /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override - public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override - public int getTotalEgressBandwidthTierValue() { + @java.lang.Override public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @param value The enum numeric value on the wire for totalEgressBandwidthTier to set. * @return This builder for chaining. */ @@ -929,46 +764,29 @@ public Builder setTotalEgressBandwidthTierValue(int value) { return this; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return The totalEgressBandwidthTier. */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getTotalEgressBandwidthTier() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( - totalEgressBandwidthTier_); - return result == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - .UNRECOGNIZED - : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); + return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @param value The totalEgressBandwidthTier to set. * @return This builder for chaining. */ - public Builder setTotalEgressBandwidthTier( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + public Builder setTotalEgressBandwidthTier(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { if (value == null) { throw new NullPointerException(); } @@ -978,16 +796,11 @@ public Builder setTotalEgressBandwidthTier( return this; } /** - * - * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; * @return This builder for chaining. */ public Builder clearTotalEgressBandwidthTier() { @@ -999,53 +812,36 @@ public Builder clearTotalEgressBandwidthTier() { private int externalIpEgressBandwidthTier_ = 0; /** - * - * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return Whether the externalIpEgressBandwidthTier field is set. */ - @java.lang.Override - public boolean hasExternalIpEgressBandwidthTier() { + @java.lang.Override public boolean hasExternalIpEgressBandwidthTier() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. */ - @java.lang.Override - public int getExternalIpEgressBandwidthTierValue() { + @java.lang.Override public int getExternalIpEgressBandwidthTierValue() { return externalIpEgressBandwidthTier_; } /** - * - * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @param value The enum numeric value on the wire for externalIpEgressBandwidthTier to set. * @return This builder for chaining. */ @@ -1056,48 +852,31 @@ public Builder setExternalIpEgressBandwidthTierValue(int value) { return this; } /** - * - * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return The externalIpEgressBandwidthTier. */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - getExternalIpEgressBandwidthTier() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getExternalIpEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( - externalIpEgressBandwidthTier_); - return result == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier - .UNRECOGNIZED - : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(externalIpEgressBandwidthTier_); + return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; } /** - * - * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @param value The externalIpEgressBandwidthTier to set. * @return This builder for chaining. */ - public Builder setExternalIpEgressBandwidthTier( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + public Builder setExternalIpEgressBandwidthTier(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { if (value == null) { throw new NullPointerException(); } @@ -1107,17 +886,12 @@ public Builder setExternalIpEgressBandwidthTier( return this; } /** - * - * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; * @return This builder for chaining. */ public Builder clearExternalIpEgressBandwidthTier() { @@ -1126,7 +900,6 @@ public Builder clearExternalIpEgressBandwidthTier() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1139,45 +912,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) - private static final com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(); + DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - getDefaultInstance() { + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPerformanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPerformanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1189,18 +958,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - getDefaultInstanceForType() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int CREATE_POD_RANGE_FIELD_NUMBER = 4; private boolean createPodRange_; /** - * - * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1213,7 +980,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The createPodRange. */ @java.lang.Override @@ -1224,8 +990,6 @@ public boolean getCreatePodRange() { public static final int POD_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object podRange_; /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -1236,7 +1000,6 @@ public boolean getCreatePodRange() {
    * 
* * string pod_range = 5; - * * @return The podRange. */ @java.lang.Override @@ -1245,15 +1008,14 @@ public java.lang.String getPodRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; } } /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -1264,15 +1026,16 @@ public java.lang.String getPodRange() {
    * 
* * string pod_range = 5; - * * @return The bytes for podRange. */ @java.lang.Override - public com.google.protobuf.ByteString getPodRangeBytes() { + public com.google.protobuf.ByteString + getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podRange_ = b; return b; } else { @@ -1283,8 +1046,6 @@ public com.google.protobuf.ByteString getPodRangeBytes() { public static final int POD_IPV4_CIDR_BLOCK_FIELD_NUMBER = 6; private volatile java.lang.Object podIpv4CidrBlock_; /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -1299,7 +1060,6 @@ public com.google.protobuf.ByteString getPodRangeBytes() {
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The podIpv4CidrBlock. */ @java.lang.Override @@ -1308,15 +1068,14 @@ public java.lang.String getPodIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -1331,15 +1090,16 @@ public java.lang.String getPodIpv4CidrBlock() {
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The bytes for podIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -1350,8 +1110,6 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 9; private boolean enablePrivateNodes_; /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -1359,7 +1117,6 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() {
    * 
* * optional bool enable_private_nodes = 9; - * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -1367,8 +1124,6 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -1376,7 +1131,6 @@ public boolean hasEnablePrivateNodes() {
    * 
* * optional bool enable_private_nodes = 9; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -1385,19 +1139,13 @@ public boolean getEnablePrivateNodes() { } public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER = 11; - private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - networkPerformanceConfig_; + private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return Whether the networkPerformanceConfig field is set. */ @java.lang.Override @@ -1405,48 +1153,30 @@ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return The networkPerformanceConfig. */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - getNetworkPerformanceConfig() { - return networkPerformanceConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance() - : networkPerformanceConfig_; + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { + return networkPerformanceConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder - getNetworkPerformanceConfigOrBuilder() { - return networkPerformanceConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance() - : networkPerformanceConfig_; + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { + return networkPerformanceConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1458,7 +1188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (createPodRange_ != false) { output.writeBool(4, createPodRange_); } @@ -1484,7 +1215,8 @@ public int getSerializedSize() { size = 0; if (createPodRange_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, createPodRange_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, createPodRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, podRange_); @@ -1493,12 +1225,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, podIpv4CidrBlock_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, enablePrivateNodes_); } if (((bitField0_ & 0x00000002) != 0)) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 11, getNetworkPerformanceConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getNetworkPerformanceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1508,24 +1240,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeNetworkConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodeNetworkConfig other = - (com.google.container.v1beta1.NodeNetworkConfig) obj; + com.google.container.v1beta1.NodeNetworkConfig other = (com.google.container.v1beta1.NodeNetworkConfig) obj; - if (getCreatePodRange() != other.getCreatePodRange()) return false; - if (!getPodRange().equals(other.getPodRange())) return false; - if (!getPodIpv4CidrBlock().equals(other.getPodIpv4CidrBlock())) return false; + if (getCreatePodRange() + != other.getCreatePodRange()) return false; + if (!getPodRange() + .equals(other.getPodRange())) return false; + if (!getPodIpv4CidrBlock() + .equals(other.getPodIpv4CidrBlock())) return false; if (hasEnablePrivateNodes() != other.hasEnablePrivateNodes()) return false; if (hasEnablePrivateNodes()) { - if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateNodes() + != other.getEnablePrivateNodes()) return false; } if (hasNetworkPerformanceConfig() != other.hasNetworkPerformanceConfig()) return false; if (hasNetworkPerformanceConfig()) { - if (!getNetworkPerformanceConfig().equals(other.getNetworkPerformanceConfig())) return false; + if (!getNetworkPerformanceConfig() + .equals(other.getNetworkPerformanceConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1539,14 +1275,16 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CREATE_POD_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreatePodRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCreatePodRange()); hash = (37 * hash) + POD_RANGE_FIELD_NUMBER; hash = (53 * hash) + getPodRange().hashCode(); hash = (37 * hash) + POD_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getPodIpv4CidrBlock().hashCode(); if (hasEnablePrivateNodes()) { hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateNodes()); } if (hasNetworkPerformanceConfig()) { hash = (37 * hash) + NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER; @@ -1557,127 +1295,118 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( 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.NodeNetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeNetworkConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeNetworkConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeNetworkConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeNetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Parameters for node pool-level network config.
    * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeNetworkConfig) com.google.container.v1beta1.NodeNetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.class, - com.google.container.v1beta1.NodeNetworkConfig.Builder.class); + com.google.container.v1beta1.NodeNetworkConfig.class, com.google.container.v1beta1.NodeNetworkConfig.Builder.class); } // Construct using com.google.container.v1beta1.NodeNetworkConfig.newBuilder() @@ -1685,17 +1414,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getNetworkPerformanceConfigFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1717,9 +1446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; } @java.lang.Override @@ -1738,8 +1467,7 @@ public com.google.container.v1beta1.NodeNetworkConfig build() { @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig buildPartial() { - com.google.container.v1beta1.NodeNetworkConfig result = - new com.google.container.v1beta1.NodeNetworkConfig(this); + com.google.container.v1beta1.NodeNetworkConfig result = new com.google.container.v1beta1.NodeNetworkConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.createPodRange_ = createPodRange_; @@ -1766,39 +1494,38 @@ public com.google.container.v1beta1.NodeNetworkConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodeNetworkConfig) { - return mergeFrom((com.google.container.v1beta1.NodeNetworkConfig) other); + return mergeFrom((com.google.container.v1beta1.NodeNetworkConfig)other); } else { super.mergeFrom(other); return this; @@ -1850,44 +1577,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 32: - { - createPodRange_ = input.readBool(); + case 32: { + createPodRange_ = input.readBool(); - break; - } // case 32 - case 42: - { - podRange_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: { + podRange_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: - { - podIpv4CidrBlock_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: { + podIpv4CidrBlock_ = input.readStringRequireUtf8(); - break; - } // case 50 - case 72: - { - enablePrivateNodes_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 72 - case 90: - { - input.readMessage( - getNetworkPerformanceConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + case 72: { + enablePrivateNodes_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 72 + case 90: { + input.readMessage( + getNetworkPerformanceConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 90 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1897,13 +1619,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean createPodRange_; + private boolean createPodRange_ ; /** - * - * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1916,7 +1635,6 @@ public Builder mergeFrom(
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The createPodRange. */ @java.lang.Override @@ -1924,8 +1642,6 @@ public boolean getCreatePodRange() { return createPodRange_; } /** - * - * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1938,19 +1654,16 @@ public boolean getCreatePodRange() {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @param value The createPodRange to set. * @return This builder for chaining. */ public Builder setCreatePodRange(boolean value) { - + createPodRange_ = value; onChanged(); return this; } /** - * - * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1963,11 +1676,10 @@ public Builder setCreatePodRange(boolean value) {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCreatePodRange() { - + createPodRange_ = false; onChanged(); return this; @@ -1975,8 +1687,6 @@ public Builder clearCreatePodRange() { private java.lang.Object podRange_ = ""; /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1987,13 +1697,13 @@ public Builder clearCreatePodRange() {
      * 
* * string pod_range = 5; - * * @return The podRange. */ public java.lang.String getPodRange() { java.lang.Object ref = podRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; @@ -2002,8 +1712,6 @@ public java.lang.String getPodRange() { } } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -2014,14 +1722,15 @@ public java.lang.String getPodRange() {
      * 
* * string pod_range = 5; - * * @return The bytes for podRange. */ - public com.google.protobuf.ByteString getPodRangeBytes() { + public com.google.protobuf.ByteString + getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podRange_ = b; return b; } else { @@ -2029,8 +1738,6 @@ public com.google.protobuf.ByteString getPodRangeBytes() { } } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -2041,22 +1748,20 @@ public com.google.protobuf.ByteString getPodRangeBytes() {
      * 
* * string pod_range = 5; - * * @param value The podRange to set. * @return This builder for chaining. */ - public Builder setPodRange(java.lang.String value) { + public Builder setPodRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podRange_ = value; onChanged(); return this; } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -2067,18 +1772,15 @@ public Builder setPodRange(java.lang.String value) {
      * 
* * string pod_range = 5; - * * @return This builder for chaining. */ public Builder clearPodRange() { - + podRange_ = getDefaultInstance().getPodRange(); onChanged(); return this; } /** - * - * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -2089,16 +1791,16 @@ public Builder clearPodRange() {
      * 
* * string pod_range = 5; - * * @param value The bytes for podRange to set. * @return This builder for chaining. */ - public Builder setPodRangeBytes(com.google.protobuf.ByteString value) { + public Builder setPodRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podRange_ = value; onChanged(); return this; @@ -2106,8 +1808,6 @@ public Builder setPodRangeBytes(com.google.protobuf.ByteString value) { private java.lang.Object podIpv4CidrBlock_ = ""; /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -2122,13 +1822,13 @@ public Builder setPodRangeBytes(com.google.protobuf.ByteString value) {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @return The podIpv4CidrBlock. */ public java.lang.String getPodIpv4CidrBlock() { java.lang.Object ref = podIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; @@ -2137,8 +1837,6 @@ public java.lang.String getPodIpv4CidrBlock() { } } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -2153,14 +1851,15 @@ public java.lang.String getPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @return The bytes for podIpv4CidrBlock. */ - public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -2168,8 +1867,6 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -2184,22 +1881,20 @@ public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @param value The podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlock(java.lang.String value) { + public Builder setPodIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -2214,18 +1909,15 @@ public Builder setPodIpv4CidrBlock(java.lang.String value) {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @return This builder for chaining. */ public Builder clearPodIpv4CidrBlock() { - + podIpv4CidrBlock_ = getDefaultInstance().getPodIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -2240,25 +1932,23 @@ public Builder clearPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; - * * @param value The bytes for podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setPodIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean enablePrivateNodes_; + private boolean enablePrivateNodes_ ; /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -2266,7 +1956,6 @@ public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) {
      * 
* * optional bool enable_private_nodes = 9; - * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -2274,8 +1963,6 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -2283,7 +1970,6 @@ public boolean hasEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -2291,8 +1977,6 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -2300,7 +1984,6 @@ public boolean getEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; - * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ @@ -2311,8 +1994,6 @@ public Builder setEnablePrivateNodes(boolean value) { return this; } /** - * - * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -2320,7 +2001,6 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * optional bool enable_private_nodes = 9; - * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { @@ -2330,66 +2010,43 @@ public Builder clearEnablePrivateNodes() { return this; } - private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - networkPerformanceConfig_; + private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> - networkPerformanceConfigBuilder_; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> networkPerformanceConfigBuilder_; /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return Whether the networkPerformanceConfig field is set. */ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return The networkPerformanceConfig. */ - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - getNetworkPerformanceConfig() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { - return networkPerformanceConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance() - : networkPerformanceConfig_; + return networkPerformanceConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } else { return networkPerformanceConfigBuilder_.getMessage(); } } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public Builder setNetworkPerformanceConfig( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder setNetworkPerformanceConfig(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2403,19 +2060,14 @@ public Builder setNetworkPerformanceConfig( return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ public Builder setNetworkPerformanceConfig( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder - builderForValue) { + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder builderForValue) { if (networkPerformanceConfigBuilder_ == null) { networkPerformanceConfig_ = builderForValue.build(); onChanged(); @@ -2426,29 +2078,19 @@ public Builder setNetworkPerformanceConfig( return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public Builder mergeNetworkPerformanceConfig( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder mergeNetworkPerformanceConfig(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && networkPerformanceConfig_ != null - && networkPerformanceConfig_ - != com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + networkPerformanceConfig_ != null && + networkPerformanceConfig_ != com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) { networkPerformanceConfig_ = - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder( - networkPerformanceConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder(networkPerformanceConfig_).mergeFrom(value).buildPartial(); } else { networkPerformanceConfig_ = value; } @@ -2460,15 +2102,11 @@ public Builder mergeNetworkPerformanceConfig( return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ public Builder clearNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { @@ -2481,74 +2119,55 @@ public Builder clearNetworkPerformanceConfig() { return this; } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder - getNetworkPerformanceConfigBuilder() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNetworkPerformanceConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder - getNetworkPerformanceConfigOrBuilder() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { if (networkPerformanceConfigBuilder_ != null) { return networkPerformanceConfigBuilder_.getMessageOrBuilder(); } else { - return networkPerformanceConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - .getDefaultInstance() - : networkPerformanceConfig_; + return networkPerformanceConfig_ == null ? + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; } } /** - * - * *
      * Network bandwidth tier configuration.
      * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> getNetworkPerformanceConfigFieldBuilder() { if (networkPerformanceConfigBuilder_ == null) { - networkPerformanceConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( - getNetworkPerformanceConfig(), getParentForChildren(), isClean()); + networkPerformanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( + getNetworkPerformanceConfig(), + getParentForChildren(), + isClean()); networkPerformanceConfig_ = null; } return networkPerformanceConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2558,12 +2177,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeNetworkConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeNetworkConfig) private static final com.google.container.v1beta1.NodeNetworkConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeNetworkConfig(); } @@ -2572,27 +2191,27 @@ public static com.google.container.v1beta1.NodeNetworkConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeNetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeNetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2607,4 +2226,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeNetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java index 286fbca3a5b4..061bb7d223a0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeNetworkConfigOrBuilder - extends +public interface NodeNetworkConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeNetworkConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -38,14 +20,11 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; - * * @return The createPodRange. */ boolean getCreatePodRange(); /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -56,13 +35,10 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_range = 5; - * * @return The podRange. */ java.lang.String getPodRange(); /** - * - * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -73,14 +49,12 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_range = 5; - * * @return The bytes for podRange. */ - com.google.protobuf.ByteString getPodRangeBytes(); + com.google.protobuf.ByteString + getPodRangeBytes(); /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -95,13 +69,10 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The podIpv4CidrBlock. */ java.lang.String getPodIpv4CidrBlock(); /** - * - * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -116,14 +87,12 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * string pod_ipv4_cidr_block = 6; - * * @return The bytes for podIpv4CidrBlock. */ - com.google.protobuf.ByteString getPodIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getPodIpv4CidrBlockBytes(); /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -131,13 +100,10 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * optional bool enable_private_nodes = 9; - * * @return Whether the enablePrivateNodes field is set. */ boolean hasEnablePrivateNodes(); /** - * - * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -145,51 +111,34 @@ public interface NodeNetworkConfigOrBuilder
    * 
* * optional bool enable_private_nodes = 9; - * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return Whether the networkPerformanceConfig field is set. */ boolean hasNetworkPerformanceConfig(); /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; * @return The networkPerformanceConfig. */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig - getNetworkPerformanceConfig(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig(); /** - * - * *
    * Network bandwidth tier configuration.
    * 
* - * - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; - * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder - getNetworkPerformanceConfigOrBuilder(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java similarity index 75% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index fc0651c0f157..07f63db8b035 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * NodePool contains the name and configuration for a cluster's node pool.
  * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -50,16 +33,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodePool}
  */
-public final class NodePool extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodePool extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool)
     NodePoolOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodePool.newBuilder() to construct.
   private NodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodePool() {
     name_ = "";
     locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -73,43 +55,39 @@ private NodePool() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodePool();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodePool_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodePool.class,
-            com.google.container.v1beta1.NodePool.Builder.class);
+            com.google.container.v1beta1.NodePool.class, com.google.container.v1beta1.NodePool.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * The current status of the node pool instance.
    * 
* * Protobuf enum {@code google.container.v1beta1.NodePool.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -118,8 +96,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -128,8 +104,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PROVISIONING(1), /** - * - * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -139,8 +113,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING(2),
     /**
-     *
-     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -152,8 +124,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RUNNING_WITH_ERROR(3),
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -164,8 +134,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     RECONCILING(4),
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -174,8 +142,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STOPPING(5), /** - * - * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -188,8 +154,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -198,8 +162,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -208,8 +170,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROVISIONING_VALUE = 1; /** - * - * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -219,8 +179,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -232,8 +190,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RUNNING_WITH_ERROR_VALUE = 3;
     /**
-     *
-     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -244,8 +200,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RECONCILING_VALUE = 4;
     /**
-     *
-     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -254,8 +208,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STOPPING_VALUE = 5; /** - * - * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -265,6 +217,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 6;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -289,57 +242,53 @@ public static Status valueOf(int 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 RUNNING_WITH_ERROR;
-        case 4:
-          return RECONCILING;
-        case 5:
-          return STOPPING;
-        case 6:
-          return ERROR;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATUS_UNSPECIFIED;
+        case 1: return PROVISIONING;
+        case 2: return RUNNING;
+        case 3: return RUNNING_WITH_ERROR;
+        case 4: return RECONCILING;
+        case 5: return STOPPING;
+        case 6: return ERROR;
+        default: return null;
+      }
     }
 
-    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 static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Status> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Status findValueByNumber(int number) {
+              return Status.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.NodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -356,28 +305,22 @@ private Status(int value) {
     // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodePool.Status)
   }
 
-  public interface UpgradeSettingsOrBuilder
-      extends
+  public interface UpgradeSettingsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpgradeSettings)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; - * * @return The maxSurge. */ int getMaxSurge(); /** - * - * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -385,75 +328,57 @@ public interface UpgradeSettingsOrBuilder
      * 
* * int32 max_unavailable = 2; - * * @return The maxUnavailable. */ int getMaxUnavailable(); /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return Whether the strategy field is set. */ boolean hasStrategy(); /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return The enum numeric value on the wire for strategy. */ int getStrategyValue(); /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return The strategy. */ com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy(); /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; - * * @return Whether the blueGreenSettings field is set. */ boolean hasBlueGreenSettings(); /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; - * * @return The blueGreenSettings. */ com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings(); /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -463,8 +388,6 @@ public interface UpgradeSettingsOrBuilder com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder(); } /** - * - * *
    * These upgrade settings configure the upgrade strategy for the node pool.
    * Use strategy to switch between the strategies applied to the node pool.
@@ -490,59 +413,54 @@ public interface UpgradeSettingsOrBuilder
    *
    * Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings}
    */
-  public static final class UpgradeSettings extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class UpgradeSettings extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpgradeSettings)
       UpgradeSettingsOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use UpgradeSettings.newBuilder() to construct.
     private UpgradeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private UpgradeSettings() {
       strategy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new UpgradeSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePool.UpgradeSettings.class,
-              com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
+              com.google.container.v1beta1.NodePool.UpgradeSettings.class, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
     }
 
     private int bitField0_;
     public static final int MAX_SURGE_FIELD_NUMBER = 1;
     private int maxSurge_;
     /**
-     *
-     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; - * * @return The maxSurge. */ @java.lang.Override @@ -553,8 +471,6 @@ public int getMaxSurge() { public static final int MAX_UNAVAILABLE_FIELD_NUMBER = 2; private int maxUnavailable_; /** - * - * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -562,7 +478,6 @@ public int getMaxSurge() {
      * 
* * int32 max_unavailable = 2; - * * @return The maxUnavailable. */ @java.lang.Override @@ -573,67 +488,49 @@ public int getMaxUnavailable() { public static final int STRATEGY_FIELD_NUMBER = 3; private int strategy_; /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return Whether the strategy field is set. */ - @java.lang.Override - public boolean hasStrategy() { + @java.lang.Override public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override - public int getStrategyValue() { + @java.lang.Override public int getStrategyValue() { return strategy_; } /** - * - * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return The strategy. */ - @java.lang.Override - public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { + @java.lang.Override public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolUpdateStrategy result = - com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); - return result == null - ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePoolUpdateStrategy result = com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED : result; } public static final int BLUE_GREEN_SETTINGS_FIELD_NUMBER = 4; private com.google.container.v1beta1.BlueGreenSettings blueGreenSettings_; /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; - * * @return Whether the blueGreenSettings field is set. */ @java.lang.Override @@ -641,25 +538,18 @@ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; - * * @return The blueGreenSettings. */ @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { - return blueGreenSettings_ == null - ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } /** - * - * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -668,13 +558,10 @@ public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { */ @java.lang.Override public com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { - return blueGreenSettings_ == null - ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -686,7 +573,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (maxSurge_ != 0) { output.writeInt32(1, maxSurge_); } @@ -709,16 +597,20 @@ public int getSerializedSize() { size = 0; if (maxSurge_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxSurge_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, maxSurge_); } if (maxUnavailable_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxUnavailable_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxUnavailable_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, strategy_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, strategy_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBlueGreenSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getBlueGreenSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -728,23 +620,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.UpgradeSettings)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.UpgradeSettings other = - (com.google.container.v1beta1.NodePool.UpgradeSettings) obj; + com.google.container.v1beta1.NodePool.UpgradeSettings other = (com.google.container.v1beta1.NodePool.UpgradeSettings) obj; - if (getMaxSurge() != other.getMaxSurge()) return false; - if (getMaxUnavailable() != other.getMaxUnavailable()) return false; + if (getMaxSurge() + != other.getMaxSurge()) return false; + if (getMaxUnavailable() + != other.getMaxUnavailable()) return false; if (hasStrategy() != other.hasStrategy()) return false; if (hasStrategy()) { if (strategy_ != other.strategy_) return false; } if (hasBlueGreenSettings() != other.hasBlueGreenSettings()) return false; if (hasBlueGreenSettings()) { - if (!getBlueGreenSettings().equals(other.getBlueGreenSettings())) return false; + if (!getBlueGreenSettings() + .equals(other.getBlueGreenSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -775,94 +669,87 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpgradeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( 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.NodePool.UpgradeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.NodePool.UpgradeSettings prototype) { + public static Builder newBuilder(com.google.container.v1beta1.NodePool.UpgradeSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -872,8 +759,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * These upgrade settings configure the upgrade strategy for the node pool.
      * Use strategy to switch between the strategies applied to the node pool.
@@ -899,24 +784,21 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpgradeSettings)
         com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1beta1.NodePool.UpgradeSettings.class,
-                com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
+                com.google.container.v1beta1.NodePool.UpgradeSettings.class, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
       }
 
       // Construct using com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder()
@@ -924,17 +806,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getBlueGreenSettingsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -954,9 +836,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
@@ -975,8 +857,7 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings build() {
 
       @java.lang.Override
       public com.google.container.v1beta1.NodePool.UpgradeSettings buildPartial() {
-        com.google.container.v1beta1.NodePool.UpgradeSettings result =
-            new com.google.container.v1beta1.NodePool.UpgradeSettings(this);
+        com.google.container.v1beta1.NodePool.UpgradeSettings result = new com.google.container.v1beta1.NodePool.UpgradeSettings(this);
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         result.maxSurge_ = maxSurge_;
@@ -1002,41 +883,38 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.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.NodePool.UpgradeSettings) {
-          return mergeFrom((com.google.container.v1beta1.NodePool.UpgradeSettings) other);
+          return mergeFrom((com.google.container.v1beta1.NodePool.UpgradeSettings)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1044,8 +922,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpgradeSettings other) {
-        if (other == com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance())
-          return this;
+        if (other == com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance()) return this;
         if (other.getMaxSurge() != 0) {
           setMaxSurge(other.getMaxSurge());
         }
@@ -1084,38 +961,34 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  maxSurge_ = input.readInt32();
+              case 8: {
+                maxSurge_ = input.readInt32();
 
-                  break;
-                } // case 8
-              case 16:
-                {
-                  maxUnavailable_ = input.readInt32();
+                break;
+              } // case 8
+              case 16: {
+                maxUnavailable_ = input.readInt32();
 
-                  break;
-                } // case 16
-              case 24:
-                {
-                  strategy_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 24
-              case 34:
-                {
-                  input.readMessage(
-                      getBlueGreenSettingsFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 34
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                break;
+              } // case 16
+              case 24: {
+                strategy_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 24
+              case 34: {
+                input.readMessage(
+                    getBlueGreenSettingsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                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) {
@@ -1125,20 +998,16 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private int maxSurge_;
+      private int maxSurge_ ;
       /**
-       *
-       *
        * 
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; - * * @return The maxSurge. */ @java.lang.Override @@ -1146,47 +1015,39 @@ public int getMaxSurge() { return maxSurge_; } /** - * - * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; - * * @param value The maxSurge to set. * @return This builder for chaining. */ public Builder setMaxSurge(int value) { - + maxSurge_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; - * * @return This builder for chaining. */ public Builder clearMaxSurge() { - + maxSurge_ = 0; onChanged(); return this; } - private int maxUnavailable_; + private int maxUnavailable_ ; /** - * - * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1194,7 +1055,6 @@ public Builder clearMaxSurge() {
        * 
* * int32 max_unavailable = 2; - * * @return The maxUnavailable. */ @java.lang.Override @@ -1202,8 +1062,6 @@ public int getMaxUnavailable() { return maxUnavailable_; } /** - * - * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1211,19 +1069,16 @@ public int getMaxUnavailable() {
        * 
* * int32 max_unavailable = 2; - * * @param value The maxUnavailable to set. * @return This builder for chaining. */ public Builder setMaxUnavailable(int value) { - + maxUnavailable_ = value; onChanged(); return this; } /** - * - * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1231,11 +1086,10 @@ public Builder setMaxUnavailable(int value) {
        * 
* * int32 max_unavailable = 2; - * * @return This builder for chaining. */ public Builder clearMaxUnavailable() { - + maxUnavailable_ = 0; onChanged(); return this; @@ -1243,44 +1097,33 @@ public Builder clearMaxUnavailable() { private int strategy_ = 0; /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return Whether the strategy field is set. */ - @java.lang.Override - public boolean hasStrategy() { + @java.lang.Override public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override - public int getStrategyValue() { + @java.lang.Override public int getStrategyValue() { return strategy_; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @param value The enum numeric value on the wire for strategy to set. * @return This builder for chaining. */ @@ -1291,34 +1134,25 @@ public Builder setStrategyValue(int value) { return this; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return The strategy. */ @java.lang.Override public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolUpdateStrategy result = - com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); - return result == null - ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePoolUpdateStrategy result = com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED : result; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @param value The strategy to set. * @return This builder for chaining. */ @@ -1332,14 +1166,11 @@ public Builder setStrategy(com.google.container.v1beta1.NodePoolUpdateStrategy v return this; } /** - * - * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; - * * @return This builder for chaining. */ public Builder clearStrategy() { @@ -1351,47 +1182,34 @@ public Builder clearStrategy() { private com.google.container.v1beta1.BlueGreenSettings blueGreenSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings, - com.google.container.v1beta1.BlueGreenSettings.Builder, - com.google.container.v1beta1.BlueGreenSettingsOrBuilder> - blueGreenSettingsBuilder_; + com.google.container.v1beta1.BlueGreenSettings, com.google.container.v1beta1.BlueGreenSettings.Builder, com.google.container.v1beta1.BlueGreenSettingsOrBuilder> blueGreenSettingsBuilder_; /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; - * * @return Whether the blueGreenSettings field is set. */ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; - * * @return The blueGreenSettings. */ public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { if (blueGreenSettingsBuilder_ == null) { - return blueGreenSettings_ == null - ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } else { return blueGreenSettingsBuilder_.getMessage(); } } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1412,8 +1230,6 @@ public Builder setBlueGreenSettings(com.google.container.v1beta1.BlueGreenSettin return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1432,8 +1248,6 @@ public Builder setBlueGreenSettings( return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1442,14 +1256,11 @@ public Builder setBlueGreenSettings( */ public Builder mergeBlueGreenSettings(com.google.container.v1beta1.BlueGreenSettings value) { if (blueGreenSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && blueGreenSettings_ != null - && blueGreenSettings_ - != com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + blueGreenSettings_ != null && + blueGreenSettings_ != com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance()) { blueGreenSettings_ = - com.google.container.v1beta1.BlueGreenSettings.newBuilder(blueGreenSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.BlueGreenSettings.newBuilder(blueGreenSettings_).mergeFrom(value).buildPartial(); } else { blueGreenSettings_ = value; } @@ -1461,8 +1272,6 @@ public Builder mergeBlueGreenSettings(com.google.container.v1beta1.BlueGreenSett return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1480,8 +1289,6 @@ public Builder clearBlueGreenSettings() { return this; } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1494,27 +1301,21 @@ public com.google.container.v1beta1.BlueGreenSettings.Builder getBlueGreenSettin return getBlueGreenSettingsFieldBuilder().getBuilder(); } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; */ - public com.google.container.v1beta1.BlueGreenSettingsOrBuilder - getBlueGreenSettingsOrBuilder() { + public com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { if (blueGreenSettingsBuilder_ != null) { return blueGreenSettingsBuilder_.getMessageOrBuilder(); } else { - return blueGreenSettings_ == null - ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() - : blueGreenSettings_; + return blueGreenSettings_ == null ? + com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; } } /** - * - * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1522,22 +1323,18 @@ public com.google.container.v1beta1.BlueGreenSettings.Builder getBlueGreenSettin * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings, - com.google.container.v1beta1.BlueGreenSettings.Builder, - com.google.container.v1beta1.BlueGreenSettingsOrBuilder> + com.google.container.v1beta1.BlueGreenSettings, com.google.container.v1beta1.BlueGreenSettings.Builder, com.google.container.v1beta1.BlueGreenSettingsOrBuilder> getBlueGreenSettingsFieldBuilder() { if (blueGreenSettingsBuilder_ == null) { - blueGreenSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings, - com.google.container.v1beta1.BlueGreenSettings.Builder, - com.google.container.v1beta1.BlueGreenSettingsOrBuilder>( - getBlueGreenSettings(), getParentForChildren(), isClean()); + blueGreenSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings, com.google.container.v1beta1.BlueGreenSettings.Builder, com.google.container.v1beta1.BlueGreenSettingsOrBuilder>( + getBlueGreenSettings(), + getParentForChildren(), + isClean()); blueGreenSettings_ = null; } return blueGreenSettingsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1550,12 +1347,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpgradeSettings) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpgradeSettings) private static final com.google.container.v1beta1.NodePool.UpgradeSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpgradeSettings(); } @@ -1564,28 +1361,27 @@ public static com.google.container.v1beta1.NodePool.UpgradeSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1600,52 +1396,41 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool.UpgradeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UpdateInfoOrBuilder - extends + public interface UpdateInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpdateInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return Whether the blueGreenInfo field is set. */ boolean hasBlueGreenInfo(); /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return The blueGreenInfo. */ com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo(); /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder - getBlueGreenInfoOrBuilder(); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder(); } /** - * - * *
    * UpdateInfo contains resource (instance groups, etc), status and other
    * intermediate information relevant to a node pool upgrade.
@@ -1653,77 +1438,67 @@ public interface UpdateInfoOrBuilder
    *
    * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo}
    */
-  public static final class UpdateInfo extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class UpdateInfo extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpdateInfo)
       UpdateInfoOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use UpdateInfo.newBuilder() to construct.
     private UpdateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private UpdateInfo() {}
+    private UpdateInfo() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new UpdateInfo();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePool.UpdateInfo.class,
-              com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
+              com.google.container.v1beta1.NodePool.UpdateInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
     }
 
-    public interface BlueGreenInfoOrBuilder
-        extends
+    public interface BlueGreenInfoOrBuilder extends
         // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo)
         com.google.protobuf.MessageOrBuilder {
 
       /**
-       *
-       *
        * 
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The enum numeric value on the wire for phase. */ int getPhaseValue(); /** - * - * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The phase. */ com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1731,13 +1506,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return A list containing the blueInstanceGroupUrls. */ - java.util.List getBlueInstanceGroupUrlsList(); + java.util.List + getBlueInstanceGroupUrlsList(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1745,13 +1518,10 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return The count of blueInstanceGroupUrls. */ int getBlueInstanceGroupUrlsCount(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1759,14 +1529,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ java.lang.String getBlueInstanceGroupUrls(int index); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1774,15 +1541,13 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString + getBlueInstanceGroupUrlsBytes(int index); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1790,13 +1555,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @return A list containing the greenInstanceGroupUrls. */ - java.util.List getGreenInstanceGroupUrlsList(); + java.util.List + getGreenInstanceGroupUrlsList(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1804,13 +1567,10 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @return The count of greenInstanceGroupUrls. */ int getGreenInstanceGroupUrlsCount(); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1818,14 +1578,11 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ java.lang.String getGreenInstanceGroupUrls(int index); /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1833,83 +1590,70 @@ public interface BlueGreenInfoOrBuilder
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString + getGreenInstanceGroupUrlsBytes(int index); /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bluePoolDeletionStartTime. */ java.lang.String getBluePoolDeletionStartTime(); /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bytes for bluePoolDeletionStartTime. */ - com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes(); + com.google.protobuf.ByteString + getBluePoolDeletionStartTimeBytes(); /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The greenPoolVersion. */ java.lang.String getGreenPoolVersion(); /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The bytes for greenPoolVersion. */ - com.google.protobuf.ByteString getGreenPoolVersionBytes(); + com.google.protobuf.ByteString + getGreenPoolVersionBytes(); } /** - * - * *
      * Information relevant to blue-green upgrade.
      * 
* * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class BlueGreenInfo extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BlueGreenInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) BlueGreenInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BlueGreenInfo.newBuilder() to construct. private BlueGreenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BlueGreenInfo() { phase_ = 0; blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1920,43 +1664,39 @@ private BlueGreenInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BlueGreenInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } /** - * - * *
        * Phase represents the different stages blue-green upgrade is running in.
        * 
* * Protobuf enum {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase} */ - public enum Phase implements com.google.protobuf.ProtocolMessageEnum { + public enum Phase + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
          * Unspecified phase.
          * 
@@ -1965,8 +1705,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ PHASE_UNSPECIFIED(0), /** - * - * *
          * blue-green upgrade has been initiated.
          * 
@@ -1975,8 +1713,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE_STARTED(1), /** - * - * *
          * Start creating green pool nodes.
          * 
@@ -1985,8 +1721,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ CREATING_GREEN_POOL(2), /** - * - * *
          * Start cordoning blue pool nodes.
          * 
@@ -1995,8 +1729,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ CORDONING_BLUE_POOL(3), /** - * - * *
          * Start draining blue pool nodes.
          * 
@@ -2005,8 +1737,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ DRAINING_BLUE_POOL(4), /** - * - * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -2015,8 +1745,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ NODE_POOL_SOAKING(5), /** - * - * *
          * Start deleting blue nodes.
          * 
@@ -2025,8 +1753,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ DELETING_BLUE_POOL(6), /** - * - * *
          * Rollback has been initiated.
          * 
@@ -2038,8 +1764,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
          * Unspecified phase.
          * 
@@ -2048,8 +1772,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PHASE_UNSPECIFIED_VALUE = 0; /** - * - * *
          * blue-green upgrade has been initiated.
          * 
@@ -2058,8 +1780,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_STARTED_VALUE = 1; /** - * - * *
          * Start creating green pool nodes.
          * 
@@ -2068,8 +1788,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATING_GREEN_POOL_VALUE = 2; /** - * - * *
          * Start cordoning blue pool nodes.
          * 
@@ -2078,8 +1796,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CORDONING_BLUE_POOL_VALUE = 3; /** - * - * *
          * Start draining blue pool nodes.
          * 
@@ -2088,8 +1804,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DRAINING_BLUE_POOL_VALUE = 4; /** - * - * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -2098,8 +1812,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NODE_POOL_SOAKING_VALUE = 5; /** - * - * *
          * Start deleting blue nodes.
          * 
@@ -2108,8 +1820,6 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETING_BLUE_POOL_VALUE = 6; /** - * - * *
          * Rollback has been initiated.
          * 
@@ -2118,6 +1828,7 @@ public enum Phase implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ROLLBACK_STARTED_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2142,62 +1853,54 @@ public static Phase valueOf(int value) { */ public static Phase forNumber(int value) { switch (value) { - case 0: - return PHASE_UNSPECIFIED; - case 1: - return UPDATE_STARTED; - case 2: - return CREATING_GREEN_POOL; - case 3: - return CORDONING_BLUE_POOL; - case 4: - return DRAINING_BLUE_POOL; - case 5: - return NODE_POOL_SOAKING; - case 6: - return DELETING_BLUE_POOL; - case 7: - return ROLLBACK_STARTED; - default: - return null; + case 0: return PHASE_UNSPECIFIED; + case 1: return UPDATE_STARTED; + case 2: return CREATING_GREEN_POOL; + case 3: return CORDONING_BLUE_POOL; + case 4: return DRAINING_BLUE_POOL; + case 5: return NODE_POOL_SOAKING; + case 6: return DELETING_BLUE_POOL; + case 7: return ROLLBACK_STARTED; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Phase> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Phase findValueByNumber(int number) { + return Phase.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Phase findValueByNumber(int number) { - return Phase.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor().getEnumTypes().get(0); } private static final Phase[] VALUES = values(); - public static Phase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Phase valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2217,46 +1920,33 @@ private Phase(int value) { public static final int PHASE_FIELD_NUMBER = 1; private int phase_; /** - * - * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override - public int getPhaseValue() { + @java.lang.Override public int getPhaseValue() { return phase_; } /** - * - * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The phase. */ - @java.lang.Override - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; } public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList blueInstanceGroupUrls_; /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2264,15 +1954,13 @@ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getP
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_; } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2280,15 +1968,12 @@ public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() {
        * 
* * repeated string blue_instance_group_urls = 2; - * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2296,7 +1981,6 @@ public int getBlueInstanceGroupUrlsCount() {
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -2304,8 +1988,6 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2313,19 +1995,17 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList greenInstanceGroupUrls_; /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2333,15 +2013,13 @@ public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) {
        * 
* * repeated string green_instance_group_urls = 3; - * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_; } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2349,15 +2027,12 @@ public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() {
        * 
* * repeated string green_instance_group_urls = 3; - * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2365,7 +2040,6 @@ public int getGreenInstanceGroupUrlsCount() {
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -2373,8 +2047,6 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** - * - * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2382,26 +2054,23 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER = 4; private volatile java.lang.Object bluePoolDeletionStartTime_; /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bluePoolDeletionStartTime. */ @java.lang.Override @@ -2410,30 +2079,30 @@ public java.lang.String getBluePoolDeletionStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; } } /** - * - * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bytes for bluePoolDeletionStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString + getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -2444,14 +2113,11 @@ public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { public static final int GREEN_POOL_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object greenPoolVersion_; /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The greenPoolVersion. */ @java.lang.Override @@ -2460,29 +2126,29 @@ public java.lang.String getGreenPoolVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; } } /** - * - * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; - * * @return The bytes for greenPoolVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString + getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -2491,7 +2157,6 @@ public com.google.protobuf.ByteString getGreenPoolVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2503,20 +2168,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (phase_ - != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase - .PHASE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (phase_ != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { output.writeEnum(1, phase_); } for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 2, blueInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, blueInstanceGroupUrls_.getRaw(i)); } for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, greenInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, greenInstanceGroupUrls_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, bluePoolDeletionStartTime_); @@ -2533,11 +2194,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (phase_ - != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase - .PHASE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, phase_); + if (phase_ != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, phase_); } { int dataSize = 0; @@ -2556,9 +2215,7 @@ public int getSerializedSize() { size += 1 * getGreenInstanceGroupUrlsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 4, bluePoolDeletionStartTime_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, bluePoolDeletionStartTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, greenPoolVersion_); @@ -2571,22 +2228,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other = - (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) obj; + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other = (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) obj; if (phase_ != other.phase_) return false; - if (!getBlueInstanceGroupUrlsList().equals(other.getBlueInstanceGroupUrlsList())) - return false; - if (!getGreenInstanceGroupUrlsList().equals(other.getGreenInstanceGroupUrlsList())) - return false; - if (!getBluePoolDeletionStartTime().equals(other.getBluePoolDeletionStartTime())) - return false; - if (!getGreenPoolVersion().equals(other.getGreenPoolVersion())) return false; + if (!getBlueInstanceGroupUrlsList() + .equals(other.getBlueInstanceGroupUrlsList())) return false; + if (!getGreenInstanceGroupUrlsList() + .equals(other.getGreenInstanceGroupUrlsList())) return false; + if (!getBluePoolDeletionStartTime() + .equals(other.getBluePoolDeletionStartTime())) return false; + if (!getGreenPoolVersion() + .equals(other.getGreenPoolVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2618,96 +2275,87 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - 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.NodePool.UpdateInfo.BlueGreenInfo 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo prototype) { + public static Builder newBuilder(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2717,42 +2365,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Information relevant to blue-green upgrade.
        * 
* * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } - // Construct using - // com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder() - private Builder() {} + // Construct using com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2770,16 +2415,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - getDefaultInstanceForType() { - return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - .getDefaultInstance(); + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { + return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance(); } @java.lang.Override @@ -2793,8 +2436,7 @@ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo build() { @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() { - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo result = - new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(this); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo result = new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(this); int from_bitField0_ = bitField0_; result.phase_ = phase_; if (((bitField0_ & 0x00000001) != 0)) { @@ -2817,53 +2459,46 @@ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NodePool.UpdateInfo.BlueGreenInfo) { - return mergeFrom( - (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) other); + return mergeFrom((com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other) { - if (other - == com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other) { + if (other == com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance()) return this; if (other.phase_ != 0) { setPhaseValue(other.getPhaseValue()); } @@ -2921,45 +2556,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - phase_ = input.readEnum(); - - break; - } // case 8 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureBlueInstanceGroupUrlsIsMutable(); - blueInstanceGroupUrls_.add(s); - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureGreenInstanceGroupUrlsIsMutable(); - greenInstanceGroupUrls_.add(s); - break; - } // case 26 - case 34: - { - bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - greenPoolVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + phase_ = input.readEnum(); + + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(s); + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(s); + break; + } // case 26 + case 34: { + bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + greenPoolVersion_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2969,116 +2598,90 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int phase_ = 0; /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override - public int getPhaseValue() { + @java.lang.Override public int getPhaseValue() { return phase_; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @param value The enum numeric value on the wire for phase to set. * @return This builder for chaining. */ public Builder setPhaseValue(int value) { - + phase_ = value; onChanged(); return this; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return The phase. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @param value The phase to set. * @return This builder for chaining. */ - public Builder setPhase( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { + public Builder setPhase(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { if (value == null) { throw new NullPointerException(); } - + phase_ = value.getNumber(); onChanged(); return this; } /** - * - * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; - * * @return This builder for chaining. */ public Builder clearPhase() { - + phase_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBlueInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - blueInstanceGroupUrls_ = - new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); + blueInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3086,15 +2689,13 @@ private void ensureBlueInstanceGroupUrlsIsMutable() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3102,15 +2703,12 @@ public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3118,7 +2716,6 @@ public int getBlueInstanceGroupUrlsCount() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -3126,8 +2723,6 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3135,16 +2730,14 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3152,23 +2745,21 @@ public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param index The index to set the value at. * @param value The blueInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) { + public Builder setBlueInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3176,22 +2767,20 @@ public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param value The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrls(java.lang.String value) { + public Builder addBlueInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3199,19 +2788,18 @@ public Builder addBlueInstanceGroupUrls(java.lang.String value) {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param values The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable values) { + public Builder addAllBlueInstanceGroupUrls( + java.lang.Iterable values) { ensureBlueInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blueInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, blueInstanceGroupUrls_); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3219,7 +2807,6 @@ public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable
          * 
* * repeated string blue_instance_group_urls = 2; - * * @return This builder for chaining. */ public Builder clearBlueInstanceGroupUrls() { @@ -3229,8 +2816,6 @@ public Builder clearBlueInstanceGroupUrls() { return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3238,34 +2823,29 @@ public Builder clearBlueInstanceGroupUrls() {
          * 
* * repeated string blue_instance_group_urls = 2; - * * @param value The bytes of the blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addBlueInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureGreenInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - greenInstanceGroupUrls_ = - new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); + greenInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3273,15 +2853,13 @@ private void ensureGreenInstanceGroupUrlsIsMutable() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3289,15 +2867,12 @@ public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3305,7 +2880,6 @@ public int getGreenInstanceGroupUrlsCount() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -3313,8 +2887,6 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3322,16 +2894,14 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3339,23 +2909,21 @@ public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index)
          * 
* * repeated string green_instance_group_urls = 3; - * * @param index The index to set the value at. * @param value The greenInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) { + public Builder setGreenInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3363,22 +2931,20 @@ public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param value The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrls(java.lang.String value) { + public Builder addGreenInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3386,19 +2952,18 @@ public Builder addGreenInstanceGroupUrls(java.lang.String value) {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param values The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable values) { + public Builder addAllGreenInstanceGroupUrls( + java.lang.Iterable values) { ensureGreenInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, greenInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, greenInstanceGroupUrls_); onChanged(); return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3406,7 +2971,6 @@ public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable
          * 
* * repeated string green_instance_group_urls = 3; - * * @return This builder for chaining. */ public Builder clearGreenInstanceGroupUrls() { @@ -3416,8 +2980,6 @@ public Builder clearGreenInstanceGroupUrls() { return this; } /** - * - * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3425,15 +2987,15 @@ public Builder clearGreenInstanceGroupUrls() {
          * 
* * repeated string green_instance_group_urls = 3; - * * @param value The bytes of the greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addGreenInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); @@ -3442,21 +3004,19 @@ public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString val private java.lang.Object bluePoolDeletionStartTime_ = ""; /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bluePoolDeletionStartTime. */ public java.lang.String getBluePoolDeletionStartTime() { java.lang.Object ref = bluePoolDeletionStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; @@ -3465,22 +3025,21 @@ public java.lang.String getBluePoolDeletionStartTime() { } } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @return The bytes for bluePoolDeletionStartTime. */ - public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString + getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -3488,64 +3047,57 @@ public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { } } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @param value The bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTime(java.lang.String value) { + public Builder setBluePoolDeletionStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bluePoolDeletionStartTime_ = value; onChanged(); return this; } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @return This builder for chaining. */ public Builder clearBluePoolDeletionStartTime() { - + bluePoolDeletionStartTime_ = getDefaultInstance().getBluePoolDeletionStartTime(); onChanged(); return this; } /** - * - * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; - * * @param value The bytes for bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setBluePoolDeletionStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bluePoolDeletionStartTime_ = value; onChanged(); return this; @@ -3553,20 +3105,18 @@ public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString private java.lang.Object greenPoolVersion_ = ""; /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @return The greenPoolVersion. */ public java.lang.String getGreenPoolVersion() { java.lang.Object ref = greenPoolVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; @@ -3575,21 +3125,20 @@ public java.lang.String getGreenPoolVersion() { } } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @return The bytes for greenPoolVersion. */ - public com.google.protobuf.ByteString getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString + getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -3597,66 +3146,58 @@ public com.google.protobuf.ByteString getGreenPoolVersionBytes() { } } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @param value The greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersion(java.lang.String value) { + public Builder setGreenPoolVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + greenPoolVersion_ = value; onChanged(); return this; } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @return This builder for chaining. */ public Builder clearGreenPoolVersion() { - + greenPoolVersion_ = getDefaultInstance().getGreenPoolVersion(); onChanged(); return this; } /** - * - * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; - * * @param value The bytes for greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value) { + public Builder setGreenPoolVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + greenPoolVersion_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3669,44 +3210,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) - private static final com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - getDefaultInstance() { + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BlueGreenInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3718,23 +3256,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo - getDefaultInstanceForType() { + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BLUE_GREEN_INFO_FIELD_NUMBER = 1; private com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return Whether the blueGreenInfo field is set. */ @java.lang.Override @@ -3742,25 +3277,18 @@ public boolean hasBlueGreenInfo() { return blueGreenInfo_ != null; } /** - * - * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * * @return The blueGreenInfo. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { - return blueGreenInfo_ == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() - : blueGreenInfo_; + return blueGreenInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; } /** - * - * *
      * Information of a blue-green upgrade.
      * 
@@ -3768,13 +3296,11 @@ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGre * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder - getBlueGreenInfoOrBuilder() { + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { return getBlueGreenInfo(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3786,7 +3312,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (blueGreenInfo_ != null) { output.writeMessage(1, getBlueGreenInfo()); } @@ -3800,7 +3327,8 @@ public int getSerializedSize() { size = 0; if (blueGreenInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBlueGreenInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBlueGreenInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3810,17 +3338,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.UpdateInfo)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.UpdateInfo other = - (com.google.container.v1beta1.NodePool.UpdateInfo) obj; + com.google.container.v1beta1.NodePool.UpdateInfo other = (com.google.container.v1beta1.NodePool.UpdateInfo) obj; if (hasBlueGreenInfo() != other.hasBlueGreenInfo()) return false; if (hasBlueGreenInfo()) { - if (!getBlueGreenInfo().equals(other.getBlueGreenInfo())) return false; + if (!getBlueGreenInfo() + .equals(other.getBlueGreenInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3843,93 +3371,87 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( 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.NodePool.UpdateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.UpdateInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.UpdateInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePool.UpdateInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3939,8 +3461,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * UpdateInfo contains resource (instance groups, etc), status and other
      * intermediate information relevant to a node pool upgrade.
@@ -3948,33 +3468,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpdateInfo)
         com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1beta1.NodePool.UpdateInfo.class,
-                com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
+                com.google.container.v1beta1.NodePool.UpdateInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
       }
 
       // Construct using com.google.container.v1beta1.NodePool.UpdateInfo.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3988,9 +3508,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
@@ -4009,8 +3529,7 @@ public com.google.container.v1beta1.NodePool.UpdateInfo build() {
 
       @java.lang.Override
       public com.google.container.v1beta1.NodePool.UpdateInfo buildPartial() {
-        com.google.container.v1beta1.NodePool.UpdateInfo result =
-            new com.google.container.v1beta1.NodePool.UpdateInfo(this);
+        com.google.container.v1beta1.NodePool.UpdateInfo result = new com.google.container.v1beta1.NodePool.UpdateInfo(this);
         if (blueGreenInfoBuilder_ == null) {
           result.blueGreenInfo_ = blueGreenInfo_;
         } else {
@@ -4024,41 +3543,38 @@ public com.google.container.v1beta1.NodePool.UpdateInfo buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.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.NodePool.UpdateInfo) {
-          return mergeFrom((com.google.container.v1beta1.NodePool.UpdateInfo) other);
+          return mergeFrom((com.google.container.v1beta1.NodePool.UpdateInfo)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -4066,8 +3582,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpdateInfo other) {
-        if (other == com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance())
-          return this;
+        if (other == com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance()) return this;
         if (other.hasBlueGreenInfo()) {
           mergeBlueGreenInfo(other.getBlueGreenInfo());
         }
@@ -4097,19 +3612,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getBlueGreenInfoFieldBuilder().getBuilder(), extensionRegistry);
+              case 10: {
+                input.readMessage(
+                    getBlueGreenInfoFieldBuilder().getBuilder(),
+                    extensionRegistry);
 
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                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) {
@@ -4122,58 +3637,41 @@ public Builder mergeFrom(
 
       private com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo,
-              com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder,
-              com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>
-          blueGreenInfoBuilder_;
+          com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> blueGreenInfoBuilder_;
       /**
-       *
-       *
        * 
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; * @return Whether the blueGreenInfo field is set. */ public boolean hasBlueGreenInfo() { return blueGreenInfoBuilder_ != null || blueGreenInfo_ != null; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; * @return The blueGreenInfo. */ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { if (blueGreenInfoBuilder_ == null) { - return blueGreenInfo_ == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() - : blueGreenInfo_; + return blueGreenInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; } else { return blueGreenInfoBuilder_.getMessage(); } } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder setBlueGreenInfo( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder setBlueGreenInfo(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4187,14 +3685,11 @@ public Builder setBlueGreenInfo( return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ public Builder setBlueGreenInfo( com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder builderForValue) { @@ -4208,24 +3703,17 @@ public Builder setBlueGreenInfo( return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder mergeBlueGreenInfo( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder mergeBlueGreenInfo(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (blueGreenInfo_ != null) { blueGreenInfo_ = - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder( - blueGreenInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder(blueGreenInfo_).mergeFrom(value).buildPartial(); } else { blueGreenInfo_ = value; } @@ -4237,14 +3725,11 @@ public Builder mergeBlueGreenInfo( return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ public Builder clearBlueGreenInfo() { if (blueGreenInfoBuilder_ == null) { @@ -4258,68 +3743,52 @@ public Builder clearBlueGreenInfo() { return this; } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder - getBlueGreenInfoBuilder() { - + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder getBlueGreenInfoBuilder() { + onChanged(); return getBlueGreenInfoFieldBuilder().getBuilder(); } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder - getBlueGreenInfoOrBuilder() { + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { if (blueGreenInfoBuilder_ != null) { return blueGreenInfoBuilder_.getMessageOrBuilder(); } else { - return blueGreenInfo_ == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() - : blueGreenInfo_; + return blueGreenInfo_ == null ? + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; } } /** - * - * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; - * + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> getBlueGreenInfoFieldBuilder() { if (blueGreenInfoBuilder_ == null) { - blueGreenInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( - getBlueGreenInfo(), getParentForChildren(), isClean()); + blueGreenInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( + getBlueGreenInfo(), + getParentForChildren(), + isClean()); blueGreenInfo_ = null; } return blueGreenInfoBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4332,12 +3801,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpdateInfo) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpdateInfo) private static final com.google.container.v1beta1.NodePool.UpdateInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpdateInfo(); } @@ -4346,28 +3815,27 @@ public static com.google.container.v1beta1.NodePool.UpdateInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4382,100 +3850,87 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool.UpdateInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface PlacementPolicyOrBuilder - extends + public interface PlacementPolicyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.PlacementPolicy) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @return The type. */ com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType(); } /** - * - * *
    * PlacementPolicy defines the placement policy used by the node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.NodePool.PlacementPolicy} */ - public static final class PlacementPolicy extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PlacementPolicy extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.PlacementPolicy) PlacementPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PlacementPolicy.newBuilder() to construct. private PlacementPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PlacementPolicy() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PlacementPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.PlacementPolicy.class, - com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1beta1.NodePool.PlacementPolicy.class, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); } /** - * - * *
      * Type defines the type of placement policy.
      * 
* * Protobuf enum {@code google.container.v1beta1.NodePool.PlacementPolicy.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -4485,8 +3940,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       TYPE_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -4499,8 +3952,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
       ;
 
       /**
-       *
-       *
        * 
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -4510,8 +3961,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int TYPE_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -4521,6 +3970,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int COMPACT_VALUE = 1;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4545,49 +3995,48 @@ public static Type valueOf(int value) {
        */
       public static Type forNumber(int value) {
         switch (value) {
-          case 0:
-            return TYPE_UNSPECIFIED;
-          case 1:
-            return COMPACT;
-          default:
-            return null;
+          case 0: return TYPE_UNSPECIFIED;
+          case 1: return COMPACT;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          Type> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public Type findValueByNumber(int number) {
+                return Type.forNumber(number);
+              }
+            };
 
-      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() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.container.v1beta1.NodePool.PlacementPolicy.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.container.v1beta1.NodePool.PlacementPolicy.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final Type[] VALUES = values();
 
-      public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      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.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -4607,43 +4056,31 @@ private Type(int value) {
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
-     *
-     *
      * 
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType() { + @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = - com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null - ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4655,10 +4092,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } getUnknownFields().writeTo(output); @@ -4670,10 +4106,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4683,13 +4118,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.PlacementPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.PlacementPolicy other = - (com.google.container.v1beta1.NodePool.PlacementPolicy) obj; + com.google.container.v1beta1.NodePool.PlacementPolicy other = (com.google.container.v1beta1.NodePool.PlacementPolicy) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4711,94 +4145,87 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.PlacementPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( 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.NodePool.PlacementPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.NodePool.PlacementPolicy prototype) { + public static Builder newBuilder(com.google.container.v1beta1.NodePool.PlacementPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4808,41 +4235,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * PlacementPolicy defines the placement policy used by the node pool.
      * 
* * Protobuf type {@code google.container.v1beta1.NodePool.PlacementPolicy} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.PlacementPolicy) com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.PlacementPolicy.class, - com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1beta1.NodePool.PlacementPolicy.class, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); } // Construct using com.google.container.v1beta1.NodePool.PlacementPolicy.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -4852,9 +4277,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override @@ -4873,8 +4298,7 @@ public com.google.container.v1beta1.NodePool.PlacementPolicy build() { @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy buildPartial() { - com.google.container.v1beta1.NodePool.PlacementPolicy result = - new com.google.container.v1beta1.NodePool.PlacementPolicy(this); + com.google.container.v1beta1.NodePool.PlacementPolicy result = new com.google.container.v1beta1.NodePool.PlacementPolicy(this); result.type_ = type_; onBuilt(); return result; @@ -4884,41 +4308,38 @@ public com.google.container.v1beta1.NodePool.PlacementPolicy buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NodePool.PlacementPolicy) { - return mergeFrom((com.google.container.v1beta1.NodePool.PlacementPolicy) other); + return mergeFrom((com.google.container.v1beta1.NodePool.PlacementPolicy)other); } else { super.mergeFrom(other); return this; @@ -4926,8 +4347,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NodePool.PlacementPolicy other) { - if (other == com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -4957,19 +4377,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); + case 8: { + type_ = input.readEnum(); - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4982,67 +4400,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @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; onChanged(); return this; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = - com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null - ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -5050,29 +4452,25 @@ public Builder setType(com.google.container.v1beta1.NodePool.PlacementPolicy.Typ if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5085,12 +4483,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.PlacementPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.PlacementPolicy) private static final com.google.container.v1beta1.NodePool.PlacementPolicy DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.PlacementPolicy(); } @@ -5099,28 +4497,27 @@ public static com.google.container.v1beta1.NodePool.PlacementPolicy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PlacementPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlacementPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5135,19 +4532,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool.PlacementPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -5156,29 +4551,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -5189,14 +4584,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.container.v1beta1.NodeConfig config_; /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; - * * @return Whether the config field is set. */ @java.lang.Override @@ -5204,14 +4596,11 @@ public boolean hasConfig() { return config_ != null; } /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; - * * @return The config. */ @java.lang.Override @@ -5219,8 +4608,6 @@ public com.google.container.v1beta1.NodeConfig getConfig() { return config_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : config_; } /** - * - * *
    * The node configuration of the pool.
    * 
@@ -5235,8 +4622,6 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** - * - * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -5245,7 +4630,6 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() {
    * 
* * int32 initial_node_count = 3; - * * @return The initialNodeCount. */ @java.lang.Override @@ -5256,8 +4640,6 @@ public int getInitialNodeCount() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5270,15 +4652,13 @@ public int getInitialNodeCount() {
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5291,15 +4671,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5312,7 +4689,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -5320,8 +4696,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5334,26 +4708,23 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NETWORK_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.NodeNetworkConfig networkConfig_; /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; - * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -5361,26 +4732,19 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; - * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig getNetworkConfig() { - return networkConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; } /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -5396,14 +4760,11 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
   public static final int SELF_LINK_FIELD_NUMBER = 100;
   private volatile java.lang.Object selfLink_;
   /**
-   *
-   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ @java.lang.Override @@ -5412,29 +4773,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -5445,14 +4806,11 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { public static final int VERSION_FIELD_NUMBER = 101; private volatile java.lang.Object version_; /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The version. */ @java.lang.Override @@ -5461,29 +4819,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -5494,8 +4852,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 102; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5505,15 +4861,13 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * repeated string instance_group_urls = 102; - * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5523,15 +4877,12 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() {
    * 
* * repeated string instance_group_urls = 102; - * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5541,7 +4892,6 @@ public int getInstanceGroupUrlsCount() {
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -5549,8 +4899,6 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -5560,55 +4908,44 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int STATUS_FIELD_NUMBER = 103; private int status_; /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1beta1.NodePool.Status getStatus() { + @java.lang.Override public com.google.container.v1beta1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.Status result = - com.google.container.v1beta1.NodePool.Status.valueOf(status_); + com.google.container.v1beta1.NodePool.Status result = com.google.container.v1beta1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.NodePool.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 104; private volatile java.lang.Object statusMessage_; /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -5616,27 +4953,24 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -5644,18 +4978,18 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -5666,15 +5000,12 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int AUTOSCALING_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; - * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -5682,26 +5013,19 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; - * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -5717,14 +5041,11 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
   public static final int MANAGEMENT_FIELD_NUMBER = 5;
   private com.google.container.v1beta1.NodeManagement management_;
   /**
-   *
-   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; - * * @return Whether the management field is set. */ @java.lang.Override @@ -5732,25 +5053,18 @@ public boolean hasManagement() { return management_ != null; } /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; - * * @return The management. */ @java.lang.Override public com.google.container.v1beta1.NodeManagement getManagement() { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -5765,15 +5079,12 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 6; private com.google.container.v1beta1.MaxPodsConstraint maxPodsConstraint_; /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; - * * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -5781,26 +5092,19 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; - * * @return The maxPodsConstraint. */ @java.lang.Override public com.google.container.v1beta1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null - ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -5816,8 +5120,6 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstra
   public static final int CONDITIONS_FIELD_NUMBER = 105;
   private java.util.List conditions_;
   /**
-   *
-   *
    * 
    * Which conditions caused the current node pool state.
    * 
@@ -5829,8 +5131,6 @@ public java.util.List getCondition return conditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5838,13 +5138,11 @@ public java.util.List getCondition * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5856,8 +5154,6 @@ public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5869,8 +5165,6 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -5878,21 +5172,19 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ @java.lang.Override - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int POD_IPV4_CIDR_SIZE_FIELD_NUMBER = 7; private int podIpv4CidrSize_; /** - * - * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -5903,14 +5195,11 @@ public int getPodIpv4CidrSize() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 107; private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -5918,25 +5207,18 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -5944,22 +5226,18 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings( * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder - getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { return getUpgradeSettings(); } public static final int PLACEMENT_POLICY_FIELD_NUMBER = 108; private com.google.container.v1beta1.NodePool.PlacementPolicy placementPolicy_; /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; - * * @return Whether the placementPolicy field is set. */ @java.lang.Override @@ -5967,25 +5245,18 @@ public boolean hasPlacementPolicy() { return placementPolicy_ != null; } /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; - * * @return The placementPolicy. */ @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy() { - return placementPolicy_ == null - ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() - : placementPolicy_; + return placementPolicy_ == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; } /** - * - * *
    * Specifies the node placement policy.
    * 
@@ -5993,25 +5264,19 @@ public com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy( * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder - getPlacementPolicyOrBuilder() { + public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder() { return getPlacementPolicy(); } public static final int UPDATE_INFO_FIELD_NUMBER = 109; private com.google.container.v1beta1.NodePool.UpdateInfo updateInfo_; /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateInfo field is set. */ @java.lang.Override @@ -6019,36 +5284,25 @@ public boolean hasUpdateInfo() { return updateInfo_ != null; } /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateInfo. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo() { - return updateInfo_ == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() - : updateInfo_; + return updateInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; } /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { @@ -6056,7 +5310,6 @@ public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOr } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6068,7 +5321,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6136,22 +5390,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getConfig()); } if (initialNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, initialNodeCount_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAutoscaling()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getManagement()); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMaxPodsConstraint()); } if (podIpv4CidrSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, podIpv4CidrSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, podIpv4CidrSize_); } { int dataSize = 0; @@ -6162,7 +5422,8 @@ public int getSerializedSize() { size += 1 * getLocationsList().size(); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getNetworkConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_); @@ -6179,22 +5440,27 @@ public int getSerializedSize() { size += 2 * getInstanceGroupUrlsList().size(); } if (status_ != com.google.container.v1beta1.NodePool.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(103, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(103, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104, statusMessage_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(105, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(105, conditions_.get(i)); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(107, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(107, getUpgradeSettings()); } if (placementPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(108, getPlacementPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(108, getPlacementPolicy()); } if (updateInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getUpdateInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(109, getUpdateInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6204,54 +5470,71 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool)) { return super.equals(obj); } com.google.container.v1beta1.NodePool other = (com.google.container.v1beta1.NodePool) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig().equals(other.getConfig())) return false; + if (!getConfig() + .equals(other.getConfig())) return false; } - if (getInitialNodeCount() != other.getInitialNodeCount()) return false; - if (!getLocationsList().equals(other.getLocationsList())) return false; + if (getInitialNodeCount() + != other.getInitialNodeCount()) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; - } - if (!getSelfLink().equals(other.getSelfLink())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false; + if (!getNetworkConfig() + .equals(other.getNetworkConfig())) return false; + } + if (!getSelfLink() + .equals(other.getSelfLink())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getInstanceGroupUrlsList() + .equals(other.getInstanceGroupUrlsList())) return false; if (status_ != other.status_) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling().equals(other.getAutoscaling())) return false; + if (!getAutoscaling() + .equals(other.getAutoscaling())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement().equals(other.getManagement())) return false; + if (!getManagement() + .equals(other.getManagement())) return false; } if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint() + .equals(other.getMaxPodsConstraint())) return false; } - if (!getConditionsList().equals(other.getConditionsList())) return false; - if (getPodIpv4CidrSize() != other.getPodIpv4CidrSize()) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (getPodIpv4CidrSize() + != other.getPodIpv4CidrSize()) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings() + .equals(other.getUpgradeSettings())) return false; } if (hasPlacementPolicy() != other.hasPlacementPolicy()) return false; if (hasPlacementPolicy()) { - if (!getPlacementPolicy().equals(other.getPlacementPolicy())) return false; + if (!getPlacementPolicy() + .equals(other.getPlacementPolicy())) return false; } if (hasUpdateInfo() != other.hasUpdateInfo()) return false; if (hasUpdateInfo()) { - if (!getUpdateInfo().equals(other.getUpdateInfo())) return false; + if (!getUpdateInfo() + .equals(other.getUpdateInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6327,103 +5610,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodePool parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodePool parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool parseFrom(com.google.protobuf.ByteString data) + public static com.google.container.v1beta1.NodePool parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool parseFrom( 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.NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePool parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodePool contains the name and configuration for a cluster's node pool.
    * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -6453,32 +5730,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodePool}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool)
       com.google.container.v1beta1.NodePoolOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePool_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePool.class,
-              com.google.container.v1beta1.NodePool.Builder.class);
+              com.google.container.v1beta1.NodePool.class, com.google.container.v1beta1.NodePool.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodePool.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -6559,9 +5837,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePool_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_descriptor;
     }
 
     @java.lang.Override
@@ -6580,8 +5858,7 @@ public com.google.container.v1beta1.NodePool build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodePool buildPartial() {
-      com.google.container.v1beta1.NodePool result =
-          new com.google.container.v1beta1.NodePool(this);
+      com.google.container.v1beta1.NodePool result = new com.google.container.v1beta1.NodePool(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (configBuilder_ == null) {
@@ -6657,39 +5934,38 @@ public com.google.container.v1beta1.NodePool buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodePool) {
-        return mergeFrom((com.google.container.v1beta1.NodePool) other);
+        return mergeFrom((com.google.container.v1beta1.NodePool)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6773,10 +6049,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodePool other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            conditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConditionsFieldBuilder()
-                    : null;
+            conditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConditionsFieldBuilder() : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -6820,131 +6095,128 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 24:
-              {
-                initialNodeCount_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              initialNodeCount_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getAutoscalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getManagementFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getMaxPodsConstraintFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 50
-            case 56:
-              {
-                podIpv4CidrSize_ = input.readInt32();
+              break;
+            } // case 50
+            case 56: {
+              podIpv4CidrSize_ = input.readInt32();
 
-                break;
-              } // case 56
-            case 106:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLocationsIsMutable();
-                locations_.add(s);
-                break;
-              } // case 106
-            case 114:
-              {
-                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 56
+            case 106: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureLocationsIsMutable();
+              locations_.add(s);
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getNetworkConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 114
-            case 802:
-              {
-                selfLink_ = input.readStringRequireUtf8();
+              break;
+            } // case 114
+            case 802: {
+              selfLink_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 802
-            case 810:
-              {
-                version_ = input.readStringRequireUtf8();
+              break;
+            } // case 802
+            case 810: {
+              version_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 810
-            case 818:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureInstanceGroupUrlsIsMutable();
-                instanceGroupUrls_.add(s);
-                break;
-              } // case 818
-            case 824:
-              {
-                status_ = input.readEnum();
+              break;
+            } // case 810
+            case 818: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureInstanceGroupUrlsIsMutable();
+              instanceGroupUrls_.add(s);
+              break;
+            } // case 818
+            case 824: {
+              status_ = input.readEnum();
 
-                break;
-              } // case 824
-            case 834:
-              {
-                statusMessage_ = input.readStringRequireUtf8();
+              break;
+            } // case 824
+            case 834: {
+              statusMessage_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 834
-            case 842:
-              {
-                com.google.container.v1beta1.StatusCondition m =
-                    input.readMessage(
-                        com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry);
-                if (conditionsBuilder_ == null) {
-                  ensureConditionsIsMutable();
-                  conditions_.add(m);
-                } else {
-                  conditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 842
-            case 858:
-              {
-                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 834
+            case 842: {
+              com.google.container.v1beta1.StatusCondition m =
+                  input.readMessage(
+                      com.google.container.v1beta1.StatusCondition.parser(),
+                      extensionRegistry);
+              if (conditionsBuilder_ == null) {
+                ensureConditionsIsMutable();
+                conditions_.add(m);
+              } else {
+                conditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 842
+            case 858: {
+              input.readMessage(
+                  getUpgradeSettingsFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 858
-            case 866:
-              {
-                input.readMessage(getPlacementPolicyFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 858
+            case 866: {
+              input.readMessage(
+                  getPlacementPolicyFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 866
-            case 874:
-              {
-                input.readMessage(getUpdateInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 866
+            case 874: {
+              input.readMessage(
+                  getUpdateInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 874
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 874
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6954,25 +6226,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the node pool.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6981,21 +6250,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -7003,61 +6271,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the node pool.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7065,47 +6326,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, - com.google.container.v1beta1.NodeConfig.Builder, - com.google.container.v1beta1.NodeConfigOrBuilder> - configBuilder_; + com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> configBuilder_; /** - * - * *
      * The node configuration of the pool.
      * 
* * .google.container.v1beta1.NodeConfig config = 2; - * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** - * - * *
      * The node configuration of the pool.
      * 
* * .google.container.v1beta1.NodeConfig config = 2; - * * @return The config. */ public com.google.container.v1beta1.NodeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null - ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() - : config_; + return config_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7126,15 +6374,14 @@ public Builder setConfig(com.google.container.v1beta1.NodeConfig value) { return this; } /** - * - * *
      * The node configuration of the pool.
      * 
* * .google.container.v1beta1.NodeConfig config = 2; */ - public Builder setConfig(com.google.container.v1beta1.NodeConfig.Builder builderForValue) { + public Builder setConfig( + com.google.container.v1beta1.NodeConfig.Builder builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -7145,8 +6392,6 @@ public Builder setConfig(com.google.container.v1beta1.NodeConfig.Builder builder return this; } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7157,9 +6402,7 @@ public Builder mergeConfig(com.google.container.v1beta1.NodeConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.container.v1beta1.NodeConfig.newBuilder(config_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -7171,8 +6414,6 @@ public Builder mergeConfig(com.google.container.v1beta1.NodeConfig value) { return this; } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7191,8 +6432,6 @@ public Builder clearConfig() { return this; } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7200,13 +6439,11 @@ public Builder clearConfig() { * .google.container.v1beta1.NodeConfig config = 2; */ public com.google.container.v1beta1.NodeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7217,14 +6454,11 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null - ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() - : config_; + return config_ == null ? + com.google.container.v1beta1.NodeConfig.getDefaultInstance() : config_; } } /** - * - * *
      * The node configuration of the pool.
      * 
@@ -7232,26 +6466,21 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() { * .google.container.v1beta1.NodeConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, - com.google.container.v1beta1.NodeConfig.Builder, - com.google.container.v1beta1.NodeConfigOrBuilder> + com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, - com.google.container.v1beta1.NodeConfig.Builder, - com.google.container.v1beta1.NodeConfigOrBuilder>( - getConfig(), getParentForChildren(), isClean()); + configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder>( + getConfig(), + getParentForChildren(), + isClean()); config_ = null; } return configBuilder_; } - private int initialNodeCount_; + private int initialNodeCount_ ; /** - * - * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -7260,7 +6489,6 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() {
      * 
* * int32 initial_node_count = 3; - * * @return The initialNodeCount. */ @java.lang.Override @@ -7268,8 +6496,6 @@ public int getInitialNodeCount() { return initialNodeCount_; } /** - * - * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -7278,19 +6504,16 @@ public int getInitialNodeCount() {
      * 
* * int32 initial_node_count = 3; - * * @param value The initialNodeCount to set. * @return This builder for chaining. */ public Builder setInitialNodeCount(int value) { - + initialNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -7299,28 +6522,23 @@ public Builder setInitialNodeCount(int value) {
      * 
* * int32 initial_node_count = 3; - * * @return This builder for chaining. */ public Builder clearInitialNodeCount() { - + initialNodeCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7333,15 +6551,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7354,15 +6570,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7375,7 +6588,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -7383,8 +6595,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7397,16 +6607,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7419,23 +6627,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7448,22 +6654,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7476,19 +6680,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7501,7 +6704,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 13; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -7511,8 +6713,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7525,15 +6725,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -7542,49 +6742,36 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodeNetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, - com.google.container.v1beta1.NodeNetworkConfig.Builder, - com.google.container.v1beta1.NodeNetworkConfigOrBuilder> - networkConfigBuilder_; + com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> networkConfigBuilder_; /** - * - * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; - * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** - * - * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; - * * @return The networkConfig. */ public com.google.container.v1beta1.NodeNetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() - : networkConfig_; + return networkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** - * - * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7606,8 +6793,6 @@ public Builder setNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig v
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7627,8 +6812,6 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7640,9 +6823,7 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-              com.google.container.v1beta1.NodeNetworkConfig.newBuilder(networkConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodeNetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -7654,8 +6835,6 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7675,8 +6854,6 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7685,13 +6862,11 @@ public Builder clearNetworkConfig() {
      * .google.container.v1beta1.NodeNetworkConfig network_config = 14;
      */
     public com.google.container.v1beta1.NodeNetworkConfig.Builder getNetworkConfigBuilder() {
-
+      
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7703,14 +6878,11 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null
-            ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance()
-            : networkConfig_;
+        return networkConfig_ == null ?
+            com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : networkConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -7719,17 +6891,14 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
      * .google.container.v1beta1.NodeNetworkConfig network_config = 14;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeNetworkConfig,
-            com.google.container.v1beta1.NodeNetworkConfig.Builder,
-            com.google.container.v1beta1.NodeNetworkConfigOrBuilder>
+        com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> 
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodeNetworkConfig,
-                com.google.container.v1beta1.NodeNetworkConfig.Builder,
-                com.google.container.v1beta1.NodeNetworkConfigOrBuilder>(
-                getNetworkConfig(), getParentForChildren(), isClean());
+        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder>(
+                getNetworkConfig(),
+                getParentForChildren(),
+                isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
@@ -7737,20 +6906,18 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
 
     private java.lang.Object selfLink_ = "";
     /**
-     *
-     *
      * 
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -7759,21 +6926,20 @@ public java.lang.String getSelfLink() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -7781,61 +6947,54 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink(java.lang.String value) { + public Builder setSelfLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** - * - * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; - * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -7843,20 +7002,18 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -7865,21 +7022,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -7887,78 +7043,67 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7968,15 +7113,13 @@ private void ensureInstanceGroupUrlsIsMutable() {
      * 
* * repeated string instance_group_urls = 102; - * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList + getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7986,15 +7129,12 @@ public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() {
      * 
* * repeated string instance_group_urls = 102; - * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8004,7 +7144,6 @@ public int getInstanceGroupUrlsCount() {
      * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -8012,8 +7151,6 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8023,16 +7160,14 @@ public java.lang.String getInstanceGroupUrls(int index) {
      * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8042,23 +7177,21 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) {
      * 
* * repeated string instance_group_urls = 102; - * * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setInstanceGroupUrls(int index, java.lang.String value) { + public Builder setInstanceGroupUrls( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8068,22 +7201,20 @@ public Builder setInstanceGroupUrls(int index, java.lang.String value) {
      * 
* * repeated string instance_group_urls = 102; - * * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrls(java.lang.String value) { + public Builder addInstanceGroupUrls( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8093,19 +7224,18 @@ public Builder addInstanceGroupUrls(java.lang.String value) {
      * 
* * repeated string instance_group_urls = 102; - * * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { + public Builder addAllInstanceGroupUrls( + java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instanceGroupUrls_); onChanged(); return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8115,7 +7245,6 @@ public Builder addAllInstanceGroupUrls(java.lang.Iterable valu
      * 
* * repeated string instance_group_urls = 102; - * * @return This builder for chaining. */ public Builder clearInstanceGroupUrls() { @@ -8125,8 +7254,6 @@ public Builder clearInstanceGroupUrls() { return this; } /** - * - * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -8136,15 +7263,15 @@ public Builder clearInstanceGroupUrls() {
      * 
* * repeated string instance_group_urls = 102; - * * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { + public Builder addInstanceGroupUrlsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); @@ -8153,65 +7280,51 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.Status result = - com.google.container.v1beta1.NodePool.Status.valueOf(status_); + com.google.container.v1beta1.NodePool.Status result = com.google.container.v1beta1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.NodePool.Status.UNRECOGNIZED : result; } /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @param value The status to set. * @return This builder for chaining. */ @@ -8219,24 +7332,21 @@ public Builder setStatus(com.google.container.v1beta1.NodePool.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -8244,8 +7354,6 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8253,16 +7361,15 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @return The statusMessage. */ - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -8271,8 +7378,6 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8280,17 +7385,17 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -8298,8 +7403,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8307,25 +7410,22 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessage(java.lang.String value) { + @java.lang.Deprecated public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8333,21 +7433,17 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearStatusMessage() { - + @java.lang.Deprecated public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -8355,19 +7451,18 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -8375,49 +7470,36 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, - com.google.container.v1beta1.NodePoolAutoscaling.Builder, - com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; - * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** - * - * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; - * * @return The autoscaling. */ public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8439,8 +7521,6 @@ public Builder setAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling v
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8460,8 +7540,6 @@ public Builder setAutoscaling(
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8473,9 +7551,7 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling
       if (autoscalingBuilder_ == null) {
         if (autoscaling_ != null) {
           autoscaling_ =
-              com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial();
         } else {
           autoscaling_ = value;
         }
@@ -8487,8 +7563,6 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8508,8 +7582,6 @@ public Builder clearAutoscaling() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8518,13 +7590,11 @@ public Builder clearAutoscaling() {
      * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
      */
     public com.google.container.v1beta1.NodePoolAutoscaling.Builder getAutoscalingBuilder() {
-
+      
       onChanged();
       return getAutoscalingFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8536,14 +7606,11 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
       if (autoscalingBuilder_ != null) {
         return autoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return autoscaling_ == null
-            ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance()
-            : autoscaling_;
+        return autoscaling_ == null ?
+            com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_;
       }
     }
     /**
-     *
-     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -8552,17 +7619,14 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
      * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolAutoscaling,
-            com.google.container.v1beta1.NodePoolAutoscaling.Builder,
-            com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>
+        com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> 
         getAutoscalingFieldBuilder() {
       if (autoscalingBuilder_ == null) {
-        autoscalingBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodePoolAutoscaling,
-                com.google.container.v1beta1.NodePoolAutoscaling.Builder,
-                com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
-                getAutoscaling(), getParentForChildren(), isClean());
+        autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
+                getAutoscaling(),
+                getParentForChildren(),
+                isClean());
         autoscaling_ = null;
       }
       return autoscalingBuilder_;
@@ -8570,47 +7634,34 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
 
     private com.google.container.v1beta1.NodeManagement management_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeManagement,
-            com.google.container.v1beta1.NodeManagement.Builder,
-            com.google.container.v1beta1.NodeManagementOrBuilder>
-        managementBuilder_;
+        com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> managementBuilder_;
     /**
-     *
-     *
      * 
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 5; - * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 5; - * * @return The management. */ public com.google.container.v1beta1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } else { return managementBuilder_.getMessage(); } } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8631,8 +7682,6 @@ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8651,8 +7700,6 @@ public Builder setManagement( return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8663,9 +7710,7 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1beta1.NodeManagement.newBuilder(management_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); } else { management_ = value; } @@ -8677,8 +7722,6 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8697,8 +7740,6 @@ public Builder clearManagement() { return this; } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8706,13 +7747,11 @@ public Builder clearManagement() { * .google.container.v1beta1.NodeManagement management = 5; */ public com.google.container.v1beta1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8723,14 +7762,11 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? + com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } } /** - * - * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -8738,17 +7774,14 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * .google.container.v1beta1.NodeManagement management = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder> + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder>( - getManagement(), getParentForChildren(), isClean()); + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); management_ = null; } return managementBuilder_; @@ -8756,49 +7789,36 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild private com.google.container.v1beta1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaxPodsConstraint, - com.google.container.v1beta1.MaxPodsConstraint.Builder, - com.google.container.v1beta1.MaxPodsConstraintOrBuilder> - maxPodsConstraintBuilder_; + com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; /** - * - * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; - * * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return maxPodsConstraintBuilder_ != null || maxPodsConstraint_ != null; } /** - * - * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; - * * @return The maxPodsConstraint. */ public com.google.container.v1beta1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null - ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() - : maxPodsConstraint_; + return maxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** - * - * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8820,8 +7840,6 @@ public Builder setMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstrai
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8841,8 +7859,6 @@ public Builder setMaxPodsConstraint(
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8854,9 +7870,7 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstr
       if (maxPodsConstraintBuilder_ == null) {
         if (maxPodsConstraint_ != null) {
           maxPodsConstraint_ =
-              com.google.container.v1beta1.MaxPodsConstraint.newBuilder(maxPodsConstraint_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial();
         } else {
           maxPodsConstraint_ = value;
         }
@@ -8868,8 +7882,6 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstr
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8889,8 +7901,6 @@ public Builder clearMaxPodsConstraint() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8899,13 +7909,11 @@ public Builder clearMaxPodsConstraint() {
      * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
      */
     public com.google.container.v1beta1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() {
-
+      
       onChanged();
       return getMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8917,14 +7925,11 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstra
       if (maxPodsConstraintBuilder_ != null) {
         return maxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return maxPodsConstraint_ == null
-            ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance()
-            : maxPodsConstraint_;
+        return maxPodsConstraint_ == null ?
+            com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_;
       }
     }
     /**
-     *
-     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -8933,42 +7938,32 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstra
      * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MaxPodsConstraint,
-            com.google.container.v1beta1.MaxPodsConstraint.Builder,
-            com.google.container.v1beta1.MaxPodsConstraintOrBuilder>
+        com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> 
         getMaxPodsConstraintFieldBuilder() {
       if (maxPodsConstraintBuilder_ == null) {
-        maxPodsConstraintBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.MaxPodsConstraint,
-                com.google.container.v1beta1.MaxPodsConstraint.Builder,
-                com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
-                getMaxPodsConstraint(), getParentForChildren(), isClean());
+        maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
+                getMaxPodsConstraint(),
+                getParentForChildren(),
+                isClean());
         maxPodsConstraint_ = null;
       }
       return maxPodsConstraintBuilder_;
     }
 
     private java.util.List conditions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureConditionsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        conditions_ =
-            new java.util.ArrayList(conditions_);
+        conditions_ = new java.util.ArrayList(conditions_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.StatusCondition,
-            com.google.container.v1beta1.StatusCondition.Builder,
-            com.google.container.v1beta1.StatusConditionOrBuilder>
-        conditionsBuilder_;
+        com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> conditionsBuilder_;
 
     /**
-     *
-     *
      * 
      * Which conditions caused the current node pool state.
      * 
@@ -8983,8 +7978,6 @@ public java.util.List getCondition } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -8999,8 +7992,6 @@ public int getConditionsCount() { } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9015,15 +8006,14 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public Builder setConditions(int index, com.google.container.v1beta1.StatusCondition value) { + public Builder setConditions( + int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9037,8 +8027,6 @@ public Builder setConditions(int index, com.google.container.v1beta1.StatusCondi return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9057,8 +8045,6 @@ public Builder setConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9079,15 +8065,14 @@ public Builder addConditions(com.google.container.v1beta1.StatusCondition value) return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public Builder addConditions(int index, com.google.container.v1beta1.StatusCondition value) { + public Builder addConditions( + int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9101,8 +8086,6 @@ public Builder addConditions(int index, com.google.container.v1beta1.StatusCondi return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9121,8 +8104,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9141,8 +8122,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9153,7 +8132,8 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -9161,8 +8141,6 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9180,8 +8158,6 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9199,44 +8175,39 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder(int index) { + public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -9244,8 +8215,6 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil } } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
@@ -9253,63 +8222,54 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - private int podIpv4CidrSize_; + private int podIpv4CidrSize_ ; /** - * - * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -9317,36 +8277,30 @@ public int getPodIpv4CidrSize() { return podIpv4CidrSize_; } /** - * - * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; - * * @param value The podIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setPodIpv4CidrSize(int value) { - + podIpv4CidrSize_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return This builder for chaining. */ public Builder clearPodIpv4CidrSize() { - + podIpv4CidrSize_ = 0; onChanged(); return this; @@ -9354,47 +8308,34 @@ public Builder clearPodIpv4CidrSize() { private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> - upgradeSettingsBuilder_; + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return The upgradeSettings. */ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9415,8 +8356,6 @@ public Builder setUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeS return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9435,22 +8374,17 @@ public Builder setUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ - public Builder mergeUpgradeSettings( - com.google.container.v1beta1.NodePool.UpgradeSettings value) { + public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeSettings value) { if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); } else { upgradeSettings_ = value; } @@ -9462,8 +8396,6 @@ public Builder mergeUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9482,42 +8414,33 @@ public Builder clearUpgradeSettings() { return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ - public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder - getUpgradeSettingsBuilder() { - + public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder - getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? + com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -9525,17 +8448,14 @@ public Builder clearUpgradeSettings() { * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), getParentForChildren(), isClean()); + upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), + getParentForChildren(), + isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -9543,47 +8463,34 @@ public Builder clearUpgradeSettings() { private com.google.container.v1beta1.NodePool.PlacementPolicy placementPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.PlacementPolicy, - com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, - com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> - placementPolicyBuilder_; + com.google.container.v1beta1.NodePool.PlacementPolicy, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> placementPolicyBuilder_; /** - * - * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; - * * @return Whether the placementPolicy field is set. */ public boolean hasPlacementPolicy() { return placementPolicyBuilder_ != null || placementPolicy_ != null; } /** - * - * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; - * * @return The placementPolicy. */ public com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy() { if (placementPolicyBuilder_ == null) { - return placementPolicy_ == null - ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() - : placementPolicy_; + return placementPolicy_ == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; } else { return placementPolicyBuilder_.getMessage(); } } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9604,8 +8511,6 @@ public Builder setPlacementPolicy(com.google.container.v1beta1.NodePool.Placemen return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9624,22 +8529,17 @@ public Builder setPlacementPolicy( return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ - public Builder mergePlacementPolicy( - com.google.container.v1beta1.NodePool.PlacementPolicy value) { + public Builder mergePlacementPolicy(com.google.container.v1beta1.NodePool.PlacementPolicy value) { if (placementPolicyBuilder_ == null) { if (placementPolicy_ != null) { placementPolicy_ = - com.google.container.v1beta1.NodePool.PlacementPolicy.newBuilder(placementPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePool.PlacementPolicy.newBuilder(placementPolicy_).mergeFrom(value).buildPartial(); } else { placementPolicy_ = value; } @@ -9651,8 +8551,6 @@ public Builder mergePlacementPolicy( return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9671,42 +8569,33 @@ public Builder clearPlacementPolicy() { return this; } /** - * - * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ - public com.google.container.v1beta1.NodePool.PlacementPolicy.Builder - getPlacementPolicyBuilder() { - + public com.google.container.v1beta1.NodePool.PlacementPolicy.Builder getPlacementPolicyBuilder() { + onChanged(); return getPlacementPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ - public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder - getPlacementPolicyOrBuilder() { + public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder() { if (placementPolicyBuilder_ != null) { return placementPolicyBuilder_.getMessageOrBuilder(); } else { - return placementPolicy_ == null - ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() - : placementPolicy_; + return placementPolicy_ == null ? + com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; } } /** - * - * *
      * Specifies the node placement policy.
      * 
@@ -9714,17 +8603,14 @@ public Builder clearPlacementPolicy() { * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.PlacementPolicy, - com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, - com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> + com.google.container.v1beta1.NodePool.PlacementPolicy, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> getPlacementPolicyFieldBuilder() { if (placementPolicyBuilder_ == null) { - placementPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.PlacementPolicy, - com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, - com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder>( - getPlacementPolicy(), getParentForChildren(), isClean()); + placementPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.PlacementPolicy, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder>( + getPlacementPolicy(), + getParentForChildren(), + isClean()); placementPolicy_ = null; } return placementPolicyBuilder_; @@ -9732,61 +8618,42 @@ public Builder clearPlacementPolicy() { private com.google.container.v1beta1.NodePool.UpdateInfo updateInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo, - com.google.container.v1beta1.NodePool.UpdateInfo.Builder, - com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> - updateInfoBuilder_; + com.google.container.v1beta1.NodePool.UpdateInfo, com.google.container.v1beta1.NodePool.UpdateInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> updateInfoBuilder_; /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateInfo field is set. */ public boolean hasUpdateInfo() { return updateInfoBuilder_ != null || updateInfo_ != null; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateInfo. */ public com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo() { if (updateInfoBuilder_ == null) { - return updateInfo_ == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() - : updateInfo_; + return updateInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; } else { return updateInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { @@ -9802,16 +8669,12 @@ public Builder setUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo va return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateInfo( com.google.container.v1beta1.NodePool.UpdateInfo.Builder builderForValue) { @@ -9825,24 +8688,18 @@ public Builder setUpdateInfo( return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { if (updateInfo_ != null) { updateInfo_ = - com.google.container.v1beta1.NodePool.UpdateInfo.newBuilder(updateInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePool.UpdateInfo.newBuilder(updateInfo_).mergeFrom(value).buildPartial(); } else { updateInfo_ = value; } @@ -9854,16 +8711,12 @@ public Builder mergeUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateInfo() { if (updateInfoBuilder_ == null) { @@ -9877,74 +8730,58 @@ public Builder clearUpdateInfo() { return this; } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1beta1.NodePool.UpdateInfo.Builder getUpdateInfoBuilder() { - + onChanged(); return getUpdateInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { if (updateInfoBuilder_ != null) { return updateInfoBuilder_.getMessageOrBuilder(); } else { - return updateInfo_ == null - ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() - : updateInfo_; + return updateInfo_ == null ? + com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; } } /** - * - * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo, - com.google.container.v1beta1.NodePool.UpdateInfo.Builder, - com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> + com.google.container.v1beta1.NodePool.UpdateInfo, com.google.container.v1beta1.NodePool.UpdateInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> getUpdateInfoFieldBuilder() { if (updateInfoBuilder_ == null) { - updateInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo, - com.google.container.v1beta1.NodePool.UpdateInfo.Builder, - com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder>( - getUpdateInfo(), getParentForChildren(), isClean()); + updateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo, com.google.container.v1beta1.NodePool.UpdateInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder>( + getUpdateInfo(), + getParentForChildren(), + isClean()); updateInfo_ = null; } return updateInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9954,12 +8791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool) private static final com.google.container.v1beta1.NodePool DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool(); } @@ -9968,27 +8805,27 @@ public static com.google.container.v1beta1.NodePool getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10003,4 +8840,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java index 519b91f4c71a..56f7d4aac23a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * node pool configs that apply to all auto-provisioned node pools
  * in autopilot clusters and node auto-provisioning enabled clusters
@@ -28,49 +11,46 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodePoolAutoConfig}
  */
-public final class NodePoolAutoConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodePoolAutoConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolAutoConfig)
     NodePoolAutoConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodePoolAutoConfig.newBuilder() to construct.
   private NodePoolAutoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private NodePoolAutoConfig() {}
+  private NodePoolAutoConfig() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodePoolAutoConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodePoolAutoConfig.class,
-            com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
+            com.google.container.v1beta1.NodePoolAutoConfig.class, com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 1;
   private com.google.container.v1beta1.NetworkTags networkTags_;
   /**
-   *
-   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; - * * @return Whether the networkTags field is set. */ @java.lang.Override @@ -87,8 +66,6 @@ public boolean hasNetworkTags() { return networkTags_ != null; } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -97,18 +74,13 @@ public boolean hasNetworkTags() {
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; - * * @return The networkTags. */ @java.lang.Override public com.google.container.v1beta1.NetworkTags getNetworkTags() { - return networkTags_ == null - ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() - : networkTags_; + return networkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : networkTags_; } /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -124,7 +96,6 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -136,7 +107,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (networkTags_ != null) {
       output.writeMessage(1, getNetworkTags());
     }
@@ -150,7 +122,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (networkTags_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNetworkTags());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getNetworkTags());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -160,17 +133,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.NodePoolAutoConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.NodePoolAutoConfig other =
-        (com.google.container.v1beta1.NodePoolAutoConfig) obj;
+    com.google.container.v1beta1.NodePoolAutoConfig other = (com.google.container.v1beta1.NodePoolAutoConfig) obj;
 
     if (hasNetworkTags() != other.hasNetworkTags()) return false;
     if (hasNetworkTags()) {
-      if (!getNetworkTags().equals(other.getNetworkTags())) return false;
+      if (!getNetworkTags()
+          .equals(other.getNetworkTags())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -192,104 +165,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NodePoolAutoConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
       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.NodePoolAutoConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.NodePoolAutoConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.NodePoolAutoConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.NodePoolAutoConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters
@@ -297,32 +263,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodePoolAutoConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolAutoConfig)
       com.google.container.v1beta1.NodePoolAutoConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePoolAutoConfig.class,
-              com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
+              com.google.container.v1beta1.NodePoolAutoConfig.class, com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodePoolAutoConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,9 +303,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
@@ -357,8 +324,7 @@ public com.google.container.v1beta1.NodePoolAutoConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodePoolAutoConfig buildPartial() {
-      com.google.container.v1beta1.NodePoolAutoConfig result =
-          new com.google.container.v1beta1.NodePoolAutoConfig(this);
+      com.google.container.v1beta1.NodePoolAutoConfig result = new com.google.container.v1beta1.NodePoolAutoConfig(this);
       if (networkTagsBuilder_ == null) {
         result.networkTags_ = networkTags_;
       } else {
@@ -372,39 +338,38 @@ public com.google.container.v1beta1.NodePoolAutoConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodePoolAutoConfig) {
-        return mergeFrom((com.google.container.v1beta1.NodePoolAutoConfig) other);
+        return mergeFrom((com.google.container.v1beta1.NodePoolAutoConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -412,8 +377,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.NodePoolAutoConfig other) {
-      if (other == com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance()) return this;
       if (other.hasNetworkTags()) {
         mergeNetworkTags(other.getNetworkTags());
       }
@@ -443,19 +407,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getNetworkTagsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getNetworkTagsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -468,13 +432,8 @@ public Builder mergeFrom(
 
     private com.google.container.v1beta1.NetworkTags networkTags_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NetworkTags,
-            com.google.container.v1beta1.NetworkTags.Builder,
-            com.google.container.v1beta1.NetworkTagsOrBuilder>
-        networkTagsBuilder_;
+        com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> networkTagsBuilder_;
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -483,15 +442,12 @@ public Builder mergeFrom(
      * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; - * * @return Whether the networkTags field is set. */ public boolean hasNetworkTags() { return networkTagsBuilder_ != null || networkTags_ != null; } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -500,21 +456,16 @@ public boolean hasNetworkTags() {
      * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; - * * @return The networkTags. */ public com.google.container.v1beta1.NetworkTags getNetworkTags() { if (networkTagsBuilder_ == null) { - return networkTags_ == null - ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() - : networkTags_; + return networkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : networkTags_; } else { return networkTagsBuilder_.getMessage(); } } /** - * - * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -538,8 +489,6 @@ public Builder setNetworkTags(com.google.container.v1beta1.NetworkTags value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -561,8 +510,6 @@ public Builder setNetworkTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -576,9 +523,7 @@ public Builder mergeNetworkTags(com.google.container.v1beta1.NetworkTags value)
       if (networkTagsBuilder_ == null) {
         if (networkTags_ != null) {
           networkTags_ =
-              com.google.container.v1beta1.NetworkTags.newBuilder(networkTags_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NetworkTags.newBuilder(networkTags_).mergeFrom(value).buildPartial();
         } else {
           networkTags_ = value;
         }
@@ -590,8 +535,6 @@ public Builder mergeNetworkTags(com.google.container.v1beta1.NetworkTags value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -613,8 +556,6 @@ public Builder clearNetworkTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -625,13 +566,11 @@ public Builder clearNetworkTags() {
      * .google.container.v1beta1.NetworkTags network_tags = 1;
      */
     public com.google.container.v1beta1.NetworkTags.Builder getNetworkTagsBuilder() {
-
+      
       onChanged();
       return getNetworkTagsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -645,14 +584,11 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder
       if (networkTagsBuilder_ != null) {
         return networkTagsBuilder_.getMessageOrBuilder();
       } else {
-        return networkTags_ == null
-            ? com.google.container.v1beta1.NetworkTags.getDefaultInstance()
-            : networkTags_;
+        return networkTags_ == null ?
+            com.google.container.v1beta1.NetworkTags.getDefaultInstance() : networkTags_;
       }
     }
     /**
-     *
-     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -663,24 +599,21 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder
      * .google.container.v1beta1.NetworkTags network_tags = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NetworkTags,
-            com.google.container.v1beta1.NetworkTags.Builder,
-            com.google.container.v1beta1.NetworkTagsOrBuilder>
+        com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> 
         getNetworkTagsFieldBuilder() {
       if (networkTagsBuilder_ == null) {
-        networkTagsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NetworkTags,
-                com.google.container.v1beta1.NetworkTags.Builder,
-                com.google.container.v1beta1.NetworkTagsOrBuilder>(
-                getNetworkTags(), getParentForChildren(), isClean());
+        networkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder>(
+                getNetworkTags(),
+                getParentForChildren(),
+                isClean());
         networkTags_ = null;
       }
       return networkTagsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -690,12 +623,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolAutoConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolAutoConfig)
   private static final com.google.container.v1beta1.NodePoolAutoConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolAutoConfig();
   }
@@ -704,27 +637,27 @@ public static com.google.container.v1beta1.NodePoolAutoConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public NodePoolAutoConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public NodePoolAutoConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -739,4 +672,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.NodePoolAutoConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
similarity index 70%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
index 08428ae76835..6e1dab9fb036 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface NodePoolAutoConfigOrBuilder
-    extends
+public interface NodePoolAutoConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolAutoConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -34,13 +16,10 @@ public interface NodePoolAutoConfigOrBuilder
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; - * * @return Whether the networkTags field is set. */ boolean hasNetworkTags(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -49,13 +28,10 @@ public interface NodePoolAutoConfigOrBuilder
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; - * * @return The networkTags. */ com.google.container.v1beta1.NetworkTags getNetworkTags(); /** - * - * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
similarity index 71%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
index 09d6231f6ee5..674a1a7b3b22 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * NodePoolAutoscaling contains information required by cluster autoscaler to
  * adjust the size of the node pool to the current cluster usage.
@@ -28,49 +11,45 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodePoolAutoscaling}
  */
-public final class NodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodePoolAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolAutoscaling)
     NodePoolAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodePoolAutoscaling.newBuilder() to construct.
   private NodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodePoolAutoscaling() {
     locationPolicy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodePoolAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodePoolAutoscaling.class,
-            com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
+            com.google.container.v1beta1.NodePoolAutoscaling.class, com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Location policy specifies how zones are picked when scaling up the
    * nodepool.
@@ -78,10 +57,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1beta1.NodePoolAutoscaling.LocationPolicy}
    */
-  public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LocationPolicy
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -90,8 +68,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { */ LOCATION_POLICY_UNSPECIFIED(0), /** - * - * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -101,8 +77,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
      */
     BALANCED(1),
     /**
-     *
-     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -114,8 +88,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -124,8 +96,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOCATION_POLICY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -135,8 +105,6 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int BALANCED_VALUE = 1;
     /**
-     *
-     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -145,6 +113,7 @@ public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,49 +138,49 @@ public static LocationPolicy valueOf(int value) { */ public static LocationPolicy forNumber(int value) { switch (value) { - case 0: - return LOCATION_POLICY_UNSPECIFIED; - case 1: - return BALANCED; - case 2: - return ANY; - default: - return null; + case 0: return LOCATION_POLICY_UNSPECIFIED; + case 1: return BALANCED; + case 2: return ANY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + LocationPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationPolicy findValueByNumber(int number) { + return LocationPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationPolicy findValueByNumber(int number) { - return LocationPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.NodePoolAutoscaling.getDescriptor().getEnumTypes().get(0); } private static final LocationPolicy[] VALUES = values(); - public static LocationPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationPolicy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -231,14 +200,11 @@ private LocationPolicy(int value) { public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -249,15 +215,12 @@ public boolean getEnabled() { public static final int MIN_NODE_COUNT_FIELD_NUMBER = 2; private int minNodeCount_; /** - * - * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; - * * @return The minNodeCount. */ @java.lang.Override @@ -268,15 +231,12 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 3; private int maxNodeCount_; /** - * - * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; - * * @return The maxNodeCount. */ @java.lang.Override @@ -287,14 +247,11 @@ public int getMaxNodeCount() { public static final int AUTOPROVISIONED_FIELD_NUMBER = 4; private boolean autoprovisioned_; /** - * - * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; - * * @return The autoprovisioned. */ @java.lang.Override @@ -305,46 +262,33 @@ public boolean getAutoprovisioned() { public static final int LOCATION_POLICY_FIELD_NUMBER = 5; private int locationPolicy_; /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override - public int getLocationPolicyValue() { + @java.lang.Override public int getLocationPolicyValue() { return locationPolicy_; } /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The locationPolicy. */ - @java.lang.Override - public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = - com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null - ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; } public static final int TOTAL_MIN_NODE_COUNT_FIELD_NUMBER = 6; private int totalMinNodeCount_; /** - * - * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -353,7 +297,6 @@ public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocati
    * 
* * int32 total_min_node_count = 6; - * * @return The totalMinNodeCount. */ @java.lang.Override @@ -364,8 +307,6 @@ public int getTotalMinNodeCount() { public static final int TOTAL_MAX_NODE_COUNT_FIELD_NUMBER = 7; private int totalMaxNodeCount_; /** - * - * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -374,7 +315,6 @@ public int getTotalMinNodeCount() {
    * 
* * int32 total_max_node_count = 7; - * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -383,7 +323,6 @@ public int getTotalMaxNodeCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -408,10 +348,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (autoprovisioned_ != false) { output.writeBool(4, autoprovisioned_); } - if (locationPolicy_ - != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy - .LOCATION_POLICY_UNSPECIFIED - .getNumber()) { + if (locationPolicy_ != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { @@ -430,28 +367,32 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, minNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, maxNodeCount_); } if (autoprovisioned_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, autoprovisioned_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, autoprovisioned_); } - if (locationPolicy_ - != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy - .LOCATION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, locationPolicy_); + if (locationPolicy_ != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalMinNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, totalMinNodeCount_); } if (totalMaxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, totalMaxNodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, totalMaxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -461,21 +402,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePoolAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.NodePoolAutoscaling other = - (com.google.container.v1beta1.NodePoolAutoscaling) obj; + com.google.container.v1beta1.NodePoolAutoscaling other = (com.google.container.v1beta1.NodePoolAutoscaling) obj; - if (getEnabled() != other.getEnabled()) return false; - if (getMinNodeCount() != other.getMinNodeCount()) return false; - if (getMaxNodeCount() != other.getMaxNodeCount()) return false; - if (getAutoprovisioned() != other.getAutoprovisioned()) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (getMinNodeCount() + != other.getMinNodeCount()) return false; + if (getMaxNodeCount() + != other.getMaxNodeCount()) return false; + if (getAutoprovisioned() + != other.getAutoprovisioned()) return false; if (locationPolicy_ != other.locationPolicy_) return false; - if (getTotalMinNodeCount() != other.getTotalMinNodeCount()) return false; - if (getTotalMaxNodeCount() != other.getTotalMaxNodeCount()) return false; + if (getTotalMinNodeCount() + != other.getTotalMinNodeCount()) return false; + if (getTotalMaxNodeCount() + != other.getTotalMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -488,13 +434,15 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + MIN_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMinNodeCount(); hash = (37 * hash) + MAX_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMaxNodeCount(); hash = (37 * hash) + AUTOPROVISIONED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoprovisioned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoprovisioned()); hash = (37 * hash) + LOCATION_POLICY_FIELD_NUMBER; hash = (53 * hash) + locationPolicy_; hash = (37 * hash) + TOTAL_MIN_NODE_COUNT_FIELD_NUMBER; @@ -506,104 +454,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( 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.NodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodePoolAutoscaling contains information required by cluster autoscaler to
    * adjust the size of the node pool to the current cluster usage.
@@ -611,32 +552,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodePoolAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolAutoscaling)
       com.google.container.v1beta1.NodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePoolAutoscaling.class,
-              com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
+              com.google.container.v1beta1.NodePoolAutoscaling.class, com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodePoolAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -658,9 +600,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -679,8 +621,7 @@ public com.google.container.v1beta1.NodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodePoolAutoscaling buildPartial() {
-      com.google.container.v1beta1.NodePoolAutoscaling result =
-          new com.google.container.v1beta1.NodePoolAutoscaling(this);
+      com.google.container.v1beta1.NodePoolAutoscaling result = new com.google.container.v1beta1.NodePoolAutoscaling(this);
       result.enabled_ = enabled_;
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
@@ -696,39 +637,38 @@ public com.google.container.v1beta1.NodePoolAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodePoolAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.NodePoolAutoscaling) other);
+        return mergeFrom((com.google.container.v1beta1.NodePoolAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -736,8 +676,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.NodePoolAutoscaling other) {
-      if (other == com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -785,55 +724,47 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                minNodeCount_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 24:
-              {
-                maxNodeCount_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                autoprovisioned_ = input.readBool();
-
-                break;
-              } // case 32
-            case 40:
-              {
-                locationPolicy_ = input.readEnum();
-
-                break;
-              } // case 40
-            case 48:
-              {
-                totalMinNodeCount_ = input.readInt32();
-
-                break;
-              } // case 48
-            case 56:
-              {
-                totalMaxNodeCount_ = input.readInt32();
-
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            case 16: {
+              minNodeCount_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 24: {
+              maxNodeCount_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              autoprovisioned_ = input.readBool();
+
+              break;
+            } // case 32
+            case 40: {
+              locationPolicy_ = input.readEnum();
+
+              break;
+            } // case 40
+            case 48: {
+              totalMinNodeCount_ = input.readInt32();
+
+              break;
+            } // case 48
+            case 56: {
+              totalMaxNodeCount_ = input.readInt32();
+
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -844,16 +775,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -861,52 +789,43 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private int minNodeCount_; + private int minNodeCount_ ; /** - * - * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; - * * @return The minNodeCount. */ @java.lang.Override @@ -914,54 +833,45 @@ public int getMinNodeCount() { return minNodeCount_; } /** - * - * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; - * * @param value The minNodeCount to set. * @return This builder for chaining. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; - * * @return This builder for chaining. */ public Builder clearMinNodeCount() { - + minNodeCount_ = 0; onChanged(); return this; } - private int maxNodeCount_; + private int maxNodeCount_ ; /** - * - * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; - * * @return The maxNodeCount. */ @java.lang.Override @@ -969,53 +879,44 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** - * - * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; - * * @param value The maxNodeCount to set. * @return This builder for chaining. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; - * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { - + maxNodeCount_ = 0; onChanged(); return this; } - private boolean autoprovisioned_; + private boolean autoprovisioned_ ; /** - * - * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; - * * @return The autoprovisioned. */ @java.lang.Override @@ -1023,36 +924,30 @@ public boolean getAutoprovisioned() { return autoprovisioned_; } /** - * - * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; - * * @param value The autoprovisioned to set. * @return This builder for chaining. */ public Builder setAutoprovisioned(boolean value) { - + autoprovisioned_ = value; onChanged(); return this; } /** - * - * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; - * * @return This builder for chaining. */ public Builder clearAutoprovisioned() { - + autoprovisioned_ = false; onChanged(); return this; @@ -1060,107 +955,80 @@ public Builder clearAutoprovisioned() { private int locationPolicy_ = 0; /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * - * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override - public int getLocationPolicyValue() { + @java.lang.Override public int getLocationPolicyValue() { return locationPolicy_; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * - * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; * @param value The enum numeric value on the wire for locationPolicy to set. * @return This builder for chaining. */ public Builder setLocationPolicyValue(int value) { - + locationPolicy_ = value; onChanged(); return this; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * - * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; * @return The locationPolicy. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = - com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null - ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED - : result; + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * - * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; * @param value The locationPolicy to set. * @return This builder for chaining. */ - public Builder setLocationPolicy( - com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy value) { + public Builder setLocationPolicy(com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy value) { if (value == null) { throw new NullPointerException(); } - + locationPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * - * + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; * @return This builder for chaining. */ public Builder clearLocationPolicy() { - + locationPolicy_ = 0; onChanged(); return this; } - private int totalMinNodeCount_; + private int totalMinNodeCount_ ; /** - * - * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1169,7 +1037,6 @@ public Builder clearLocationPolicy() {
      * 
* * int32 total_min_node_count = 6; - * * @return The totalMinNodeCount. */ @java.lang.Override @@ -1177,8 +1044,6 @@ public int getTotalMinNodeCount() { return totalMinNodeCount_; } /** - * - * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1187,19 +1052,16 @@ public int getTotalMinNodeCount() {
      * 
* * int32 total_min_node_count = 6; - * * @param value The totalMinNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMinNodeCount(int value) { - + totalMinNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1208,20 +1070,17 @@ public Builder setTotalMinNodeCount(int value) {
      * 
* * int32 total_min_node_count = 6; - * * @return This builder for chaining. */ public Builder clearTotalMinNodeCount() { - + totalMinNodeCount_ = 0; onChanged(); return this; } - private int totalMaxNodeCount_; + private int totalMaxNodeCount_ ; /** - * - * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1230,7 +1089,6 @@ public Builder clearTotalMinNodeCount() {
      * 
* * int32 total_max_node_count = 7; - * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -1238,8 +1096,6 @@ public int getTotalMaxNodeCount() { return totalMaxNodeCount_; } /** - * - * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1248,19 +1104,16 @@ public int getTotalMaxNodeCount() {
      * 
* * int32 total_max_node_count = 7; - * * @param value The totalMaxNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMaxNodeCount(int value) { - + totalMaxNodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1269,18 +1122,17 @@ public Builder setTotalMaxNodeCount(int value) {
      * 
* * int32 total_max_node_count = 7; - * * @return This builder for chaining. */ public Builder clearTotalMaxNodeCount() { - + totalMaxNodeCount_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1290,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolAutoscaling) private static final com.google.container.v1beta1.NodePoolAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolAutoscaling(); } @@ -1304,27 +1156,27 @@ public static com.google.container.v1beta1.NodePoolAutoscaling getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1339,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java index af41c88c2db5..4bdce9c96fbf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java @@ -1,110 +1,74 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface NodePoolAutoscalingOrBuilder - extends +public interface NodePoolAutoscalingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; - * * @return The minNodeCount. */ int getMinNodeCount(); /** - * - * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; - * * @return The maxNodeCount. */ int getMaxNodeCount(); /** - * - * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; - * * @return The autoprovisioned. */ boolean getAutoprovisioned(); /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The enum numeric value on the wire for locationPolicy. */ int getLocationPolicyValue(); /** - * - * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; - * * @return The locationPolicy. */ com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy(); /** - * - * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -113,14 +77,11 @@ public interface NodePoolAutoscalingOrBuilder
    * 
* * int32 total_min_node_count = 6; - * * @return The totalMinNodeCount. */ int getTotalMinNodeCount(); /** - * - * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -129,7 +90,6 @@ public interface NodePoolAutoscalingOrBuilder
    * 
* * int32 total_max_node_count = 7; - * * @return The totalMaxNodeCount. */ int getTotalMaxNodeCount(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java index 1137553747f2..2d3b08d047cf 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Subset of Nodepool message that has defaults.
  * 
* * Protobuf type {@code google.container.v1beta1.NodePoolDefaults} */ -public final class NodePoolDefaults extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodePoolDefaults extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolDefaults) NodePoolDefaultsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodePoolDefaults.newBuilder() to construct. private NodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NodePoolDefaults() {} + private NodePoolDefaults() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodePoolDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolDefaults.class, - com.google.container.v1beta1.NodePoolDefaults.Builder.class); + com.google.container.v1beta1.NodePoolDefaults.class, com.google.container.v1beta1.NodePoolDefaults.Builder.class); } public static final int NODE_CONFIG_DEFAULTS_FIELD_NUMBER = 1; private com.google.container.v1beta1.NodeConfigDefaults nodeConfigDefaults_; /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; - * * @return Whether the nodeConfigDefaults field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasNodeConfigDefaults() { return nodeConfigDefaults_ != null; } /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; - * * @return The nodeConfigDefaults. */ @java.lang.Override public com.google.container.v1beta1.NodeConfigDefaults getNodeConfigDefaults() { - return nodeConfigDefaults_ == null - ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() - : nodeConfigDefaults_; + return nodeConfigDefaults_ == null ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; } /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
@@ -114,7 +86,6 @@ public com.google.container.v1beta1.NodeConfigDefaultsOrBuilder getNodeConfigDef } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (nodeConfigDefaults_ != null) { output.writeMessage(1, getNodeConfigDefaults()); } @@ -140,7 +112,8 @@ public int getSerializedSize() { size = 0; if (nodeConfigDefaults_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNodeConfigDefaults()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getNodeConfigDefaults()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +123,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePoolDefaults)) { return super.equals(obj); } - com.google.container.v1beta1.NodePoolDefaults other = - (com.google.container.v1beta1.NodePoolDefaults) obj; + com.google.container.v1beta1.NodePoolDefaults other = (com.google.container.v1beta1.NodePoolDefaults) obj; if (hasNodeConfigDefaults() != other.hasNodeConfigDefaults()) return false; if (hasNodeConfigDefaults()) { - if (!getNodeConfigDefaults().equals(other.getNodeConfigDefaults())) return false; + if (!getNodeConfigDefaults() + .equals(other.getNodeConfigDefaults())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -182,136 +155,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodePoolDefaults parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom( 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.NodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodePoolDefaults parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePoolDefaults parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Subset of Nodepool message that has defaults.
    * 
* * Protobuf type {@code google.container.v1beta1.NodePoolDefaults} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolDefaults) com.google.container.v1beta1.NodePoolDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolDefaults.class, - com.google.container.v1beta1.NodePoolDefaults.Builder.class); + com.google.container.v1beta1.NodePoolDefaults.class, com.google.container.v1beta1.NodePoolDefaults.Builder.class); } // Construct using com.google.container.v1beta1.NodePoolDefaults.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; } @java.lang.Override @@ -346,8 +313,7 @@ public com.google.container.v1beta1.NodePoolDefaults build() { @java.lang.Override public com.google.container.v1beta1.NodePoolDefaults buildPartial() { - com.google.container.v1beta1.NodePoolDefaults result = - new com.google.container.v1beta1.NodePoolDefaults(this); + com.google.container.v1beta1.NodePoolDefaults result = new com.google.container.v1beta1.NodePoolDefaults(this); if (nodeConfigDefaultsBuilder_ == null) { result.nodeConfigDefaults_ = nodeConfigDefaults_; } else { @@ -361,39 +327,38 @@ public com.google.container.v1beta1.NodePoolDefaults buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodePoolDefaults) { - return mergeFrom((com.google.container.v1beta1.NodePoolDefaults) other); + return mergeFrom((com.google.container.v1beta1.NodePoolDefaults)other); } else { super.mergeFrom(other); return this; @@ -431,20 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getNodeConfigDefaultsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getNodeConfigDefaultsFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -457,47 +421,34 @@ public Builder mergeFrom( private com.google.container.v1beta1.NodeConfigDefaults nodeConfigDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfigDefaults, - com.google.container.v1beta1.NodeConfigDefaults.Builder, - com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> - nodeConfigDefaultsBuilder_; + com.google.container.v1beta1.NodeConfigDefaults, com.google.container.v1beta1.NodeConfigDefaults.Builder, com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> nodeConfigDefaultsBuilder_; /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; - * * @return Whether the nodeConfigDefaults field is set. */ public boolean hasNodeConfigDefaults() { return nodeConfigDefaultsBuilder_ != null || nodeConfigDefaults_ != null; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; - * * @return The nodeConfigDefaults. */ public com.google.container.v1beta1.NodeConfigDefaults getNodeConfigDefaults() { if (nodeConfigDefaultsBuilder_ == null) { - return nodeConfigDefaults_ == null - ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() - : nodeConfigDefaults_; + return nodeConfigDefaults_ == null ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; } else { return nodeConfigDefaultsBuilder_.getMessage(); } } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -518,8 +469,6 @@ public Builder setNodeConfigDefaults(com.google.container.v1beta1.NodeConfigDefa return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -538,8 +487,6 @@ public Builder setNodeConfigDefaults( return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -550,9 +497,7 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1beta1.NodeConfigDe if (nodeConfigDefaultsBuilder_ == null) { if (nodeConfigDefaults_ != null) { nodeConfigDefaults_ = - com.google.container.v1beta1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_).mergeFrom(value).buildPartial(); } else { nodeConfigDefaults_ = value; } @@ -564,8 +509,6 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1beta1.NodeConfigDe return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -584,8 +527,6 @@ public Builder clearNodeConfigDefaults() { return this; } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -593,32 +534,26 @@ public Builder clearNodeConfigDefaults() { * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; */ public com.google.container.v1beta1.NodeConfigDefaults.Builder getNodeConfigDefaultsBuilder() { - + onChanged(); return getNodeConfigDefaultsFieldBuilder().getBuilder(); } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; */ - public com.google.container.v1beta1.NodeConfigDefaultsOrBuilder - getNodeConfigDefaultsOrBuilder() { + public com.google.container.v1beta1.NodeConfigDefaultsOrBuilder getNodeConfigDefaultsOrBuilder() { if (nodeConfigDefaultsBuilder_ != null) { return nodeConfigDefaultsBuilder_.getMessageOrBuilder(); } else { - return nodeConfigDefaults_ == null - ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() - : nodeConfigDefaults_; + return nodeConfigDefaults_ == null ? + com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; } } /** - * - * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -626,24 +561,21 @@ public com.google.container.v1beta1.NodeConfigDefaults.Builder getNodeConfigDefa * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfigDefaults, - com.google.container.v1beta1.NodeConfigDefaults.Builder, - com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> + com.google.container.v1beta1.NodeConfigDefaults, com.google.container.v1beta1.NodeConfigDefaults.Builder, com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> getNodeConfigDefaultsFieldBuilder() { if (nodeConfigDefaultsBuilder_ == null) { - nodeConfigDefaultsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfigDefaults, - com.google.container.v1beta1.NodeConfigDefaults.Builder, - com.google.container.v1beta1.NodeConfigDefaultsOrBuilder>( - getNodeConfigDefaults(), getParentForChildren(), isClean()); + nodeConfigDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeConfigDefaults, com.google.container.v1beta1.NodeConfigDefaults.Builder, com.google.container.v1beta1.NodeConfigDefaultsOrBuilder>( + getNodeConfigDefaults(), + getParentForChildren(), + isClean()); nodeConfigDefaults_ = null; } return nodeConfigDefaultsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -653,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolDefaults) private static final com.google.container.v1beta1.NodePoolDefaults DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolDefaults(); } @@ -667,27 +599,27 @@ public static com.google.container.v1beta1.NodePoolDefaults getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -702,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java index b0b465f4f679..058db95510b9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodePoolDefaultsOrBuilder - extends +public interface NodePoolDefaultsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; - * * @return Whether the nodeConfigDefaults field is set. */ boolean hasNodeConfigDefaults(); /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; - * * @return The nodeConfigDefaults. */ com.google.container.v1beta1.NodeConfigDefaults getNodeConfigDefaults(); /** - * - * *
    * Subset of NodeConfig message that has defaults.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java index 8c4169eeaa6f..96024aa2dd0a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * NodePoolLoggingConfig specifies logging configuration for nodepools.
  * 
* * Protobuf type {@code google.container.v1beta1.NodePoolLoggingConfig} */ -public final class NodePoolLoggingConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NodePoolLoggingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolLoggingConfig) NodePoolLoggingConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NodePoolLoggingConfig.newBuilder() to construct. private NodePoolLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NodePoolLoggingConfig() {} + private NodePoolLoggingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NodePoolLoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolLoggingConfig.class, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1beta1.NodePoolLoggingConfig.class, com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); } public static final int VARIANT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.LoggingVariantConfig variantConfig_; /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; - * * @return Whether the variantConfig field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasVariantConfig() { return variantConfig_ != null; } /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; - * * @return The variantConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig getVariantConfig() { - return variantConfig_ == null - ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() - : variantConfig_; + return variantConfig_ == null ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; } /** - * - * *
    * Logging variant configuration.
    * 
@@ -114,7 +86,6 @@ public com.google.container.v1beta1.LoggingVariantConfigOrBuilder getVariantConf } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (variantConfig_ != null) { output.writeMessage(1, getVariantConfig()); } @@ -140,7 +112,8 @@ public int getSerializedSize() { size = 0; if (variantConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getVariantConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getVariantConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +123,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePoolLoggingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodePoolLoggingConfig other = - (com.google.container.v1beta1.NodePoolLoggingConfig) obj; + com.google.container.v1beta1.NodePoolLoggingConfig other = (com.google.container.v1beta1.NodePoolLoggingConfig) obj; if (hasVariantConfig() != other.hasVariantConfig()) return false; if (hasVariantConfig()) { - if (!getVariantConfig().equals(other.getVariantConfig())) return false; + if (!getVariantConfig() + .equals(other.getVariantConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,135 +156,129 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( 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.NodePoolLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodePoolLoggingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodePoolLoggingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePoolLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NodePoolLoggingConfig specifies logging configuration for nodepools.
    * 
* * Protobuf type {@code google.container.v1beta1.NodePoolLoggingConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolLoggingConfig) com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolLoggingConfig.class, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1beta1.NodePoolLoggingConfig.class, com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); } // Construct using com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; } @java.lang.Override @@ -346,8 +313,7 @@ public com.google.container.v1beta1.NodePoolLoggingConfig build() { @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig buildPartial() { - com.google.container.v1beta1.NodePoolLoggingConfig result = - new com.google.container.v1beta1.NodePoolLoggingConfig(this); + com.google.container.v1beta1.NodePoolLoggingConfig result = new com.google.container.v1beta1.NodePoolLoggingConfig(this); if (variantConfigBuilder_ == null) { result.variantConfig_ = variantConfig_; } else { @@ -361,39 +327,38 @@ public com.google.container.v1beta1.NodePoolLoggingConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodePoolLoggingConfig) { - return mergeFrom((com.google.container.v1beta1.NodePoolLoggingConfig) other); + return mergeFrom((com.google.container.v1beta1.NodePoolLoggingConfig)other); } else { super.mergeFrom(other); return this; @@ -401,8 +366,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NodePoolLoggingConfig other) { - if (other == com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance()) return this; if (other.hasVariantConfig()) { mergeVariantConfig(other.getVariantConfig()); } @@ -432,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getVariantConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getVariantConfigFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -457,47 +421,34 @@ public Builder mergeFrom( private com.google.container.v1beta1.LoggingVariantConfig variantConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingVariantConfig, - com.google.container.v1beta1.LoggingVariantConfig.Builder, - com.google.container.v1beta1.LoggingVariantConfigOrBuilder> - variantConfigBuilder_; + com.google.container.v1beta1.LoggingVariantConfig, com.google.container.v1beta1.LoggingVariantConfig.Builder, com.google.container.v1beta1.LoggingVariantConfigOrBuilder> variantConfigBuilder_; /** - * - * *
      * Logging variant configuration.
      * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; - * * @return Whether the variantConfig field is set. */ public boolean hasVariantConfig() { return variantConfigBuilder_ != null || variantConfig_ != null; } /** - * - * *
      * Logging variant configuration.
      * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; - * * @return The variantConfig. */ public com.google.container.v1beta1.LoggingVariantConfig getVariantConfig() { if (variantConfigBuilder_ == null) { - return variantConfig_ == null - ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() - : variantConfig_; + return variantConfig_ == null ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; } else { return variantConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging variant configuration.
      * 
@@ -518,8 +469,6 @@ public Builder setVariantConfig(com.google.container.v1beta1.LoggingVariantConfi return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -538,8 +487,6 @@ public Builder setVariantConfig( return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -550,9 +497,7 @@ public Builder mergeVariantConfig(com.google.container.v1beta1.LoggingVariantCon if (variantConfigBuilder_ == null) { if (variantConfig_ != null) { variantConfig_ = - com.google.container.v1beta1.LoggingVariantConfig.newBuilder(variantConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.LoggingVariantConfig.newBuilder(variantConfig_).mergeFrom(value).buildPartial(); } else { variantConfig_ = value; } @@ -564,8 +509,6 @@ public Builder mergeVariantConfig(com.google.container.v1beta1.LoggingVariantCon return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -584,8 +527,6 @@ public Builder clearVariantConfig() { return this; } /** - * - * *
      * Logging variant configuration.
      * 
@@ -593,13 +534,11 @@ public Builder clearVariantConfig() { * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; */ public com.google.container.v1beta1.LoggingVariantConfig.Builder getVariantConfigBuilder() { - + onChanged(); return getVariantConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging variant configuration.
      * 
@@ -610,14 +549,11 @@ public com.google.container.v1beta1.LoggingVariantConfigOrBuilder getVariantConf if (variantConfigBuilder_ != null) { return variantConfigBuilder_.getMessageOrBuilder(); } else { - return variantConfig_ == null - ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() - : variantConfig_; + return variantConfig_ == null ? + com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; } } /** - * - * *
      * Logging variant configuration.
      * 
@@ -625,24 +561,21 @@ public com.google.container.v1beta1.LoggingVariantConfigOrBuilder getVariantConf * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingVariantConfig, - com.google.container.v1beta1.LoggingVariantConfig.Builder, - com.google.container.v1beta1.LoggingVariantConfigOrBuilder> + com.google.container.v1beta1.LoggingVariantConfig, com.google.container.v1beta1.LoggingVariantConfig.Builder, com.google.container.v1beta1.LoggingVariantConfigOrBuilder> getVariantConfigFieldBuilder() { if (variantConfigBuilder_ == null) { - variantConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingVariantConfig, - com.google.container.v1beta1.LoggingVariantConfig.Builder, - com.google.container.v1beta1.LoggingVariantConfigOrBuilder>( - getVariantConfig(), getParentForChildren(), isClean()); + variantConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingVariantConfig, com.google.container.v1beta1.LoggingVariantConfig.Builder, com.google.container.v1beta1.LoggingVariantConfigOrBuilder>( + getVariantConfig(), + getParentForChildren(), + isClean()); variantConfig_ = null; } return variantConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -652,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolLoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolLoggingConfig) private static final com.google.container.v1beta1.NodePoolLoggingConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolLoggingConfig(); } @@ -666,27 +599,27 @@ public static com.google.container.v1beta1.NodePoolLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -701,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePoolLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java index 86db2a39d262..60250065e218 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodePoolLoggingConfigOrBuilder - extends +public interface NodePoolLoggingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolLoggingConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; - * * @return Whether the variantConfig field is set. */ boolean hasVariantConfig(); /** - * - * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; - * * @return The variantConfig. */ com.google.container.v1beta1.LoggingVariantConfig getVariantConfig(); /** - * - * *
    * Logging variant configuration.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java similarity index 86% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java index de62bde0e36a..1b90f2820c02 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface NodePoolOrBuilder - extends +public interface NodePoolOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the node pool.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; - * * @return Whether the config field is set. */ boolean hasConfig(); /** - * - * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; - * * @return The config. */ com.google.container.v1beta1.NodeConfig getConfig(); /** - * - * *
    * The node configuration of the pool.
    * 
@@ -84,8 +55,6 @@ public interface NodePoolOrBuilder com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder(); /** - * - * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -94,14 +63,11 @@ public interface NodePoolOrBuilder
    * 
* * int32 initial_node_count = 3; - * * @return The initialNodeCount. */ int getInitialNodeCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -114,13 +80,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -133,13 +97,10 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -152,14 +113,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -172,41 +130,33 @@ public interface NodePoolOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; - * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; - * * @return The networkConfig. */ com.google.container.v1beta1.NodeNetworkConfig getNetworkConfig(); /** - * - * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -217,58 +167,46 @@ public interface NodePoolOrBuilder
   com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The selfLink. */ java.lang.String getSelfLink(); /** - * - * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; - * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString getSelfLinkBytes(); + com.google.protobuf.ByteString + getSelfLinkBytes(); /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -278,13 +216,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @return A list containing the instanceGroupUrls. */ - java.util.List getInstanceGroupUrlsList(); + java.util.List + getInstanceGroupUrlsList(); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -294,13 +230,10 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @return The count of instanceGroupUrls. */ int getInstanceGroupUrlsCount(); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -310,14 +243,11 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ java.lang.String getInstanceGroupUrls(int index); /** - * - * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -327,40 +257,32 @@ public interface NodePoolOrBuilder
    * 
* * repeated string instance_group_urls = 102; - * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString + getInstanceGroupUrlsBytes(int index); /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; - * * @return The status. */ com.google.container.v1beta1.NodePool.Status getStatus(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -368,16 +290,12 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @return The statusMessage. */ - @java.lang.Deprecated - java.lang.String getStatusMessage(); + @java.lang.Deprecated java.lang.String getStatusMessage(); /** - * - * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -385,43 +303,34 @@ 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=3513 + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3518 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getStatusMessageBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; - * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; - * * @return The autoscaling. */ com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling(); /** - * - * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -432,32 +341,24 @@ public interface NodePoolOrBuilder
   com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder();
 
   /**
-   *
-   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; - * * @return Whether the management field is set. */ boolean hasManagement(); /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; - * * @return The management. */ com.google.container.v1beta1.NodeManagement getManagement(); /** - * - * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -467,34 +368,26 @@ public interface NodePoolOrBuilder com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder(); /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; - * * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; - * * @return The maxPodsConstraint. */ com.google.container.v1beta1.MaxPodsConstraint getMaxPodsConstraint(); /** - * - * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -505,18 +398,15 @@ public interface NodePoolOrBuilder
   com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder();
 
   /**
-   *
-   *
    * 
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -525,8 +415,6 @@ public interface NodePoolOrBuilder */ com.google.container.v1beta1.StatusCondition getConditions(int index); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
@@ -535,67 +423,53 @@ public interface NodePoolOrBuilder */ int getConditionsCount(); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index); + com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; - * * @return The podIpv4CidrSize. */ int getPodIpv4CidrSize(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; - * * @return The upgradeSettings. */ com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -605,32 +479,24 @@ public interface NodePoolOrBuilder com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; - * * @return Whether the placementPolicy field is set. */ boolean hasPlacementPolicy(); /** - * - * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; - * * @return The placementPolicy. */ com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy(); /** - * - * *
    * Specifies the node placement policy.
    * 
@@ -640,46 +506,32 @@ public interface NodePoolOrBuilder com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder(); /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateInfo field is set. */ boolean hasUpdateInfo(); /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateInfo. */ com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo(); /** - * - * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java index 6e18ed1f12d2..ddacd10949bc 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Strategy used for node pool update.
  * 
* * Protobuf enum {@code google.container.v1beta1.NodePoolUpdateStrategy} */ -public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessageEnum { +public enum NodePoolUpdateStrategy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value.
    * 
@@ -39,8 +21,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED(0), /** - * - * *
    * blue-green upgrade.
    * 
@@ -49,8 +29,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ BLUE_GREEN(2), /** - * - * *
    * SURGE is the traditional way of upgrading a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -63,8 +41,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag
   ;
 
   /**
-   *
-   *
    * 
    * Default value.
    * 
@@ -73,8 +49,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ public static final int NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED_VALUE = 0; /** - * - * *
    * blue-green upgrade.
    * 
@@ -83,8 +57,6 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag */ public static final int BLUE_GREEN_VALUE = 2; /** - * - * *
    * SURGE is the traditional way of upgrading a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -94,6 +66,7 @@ public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessag
    */
   public static final int SURGE_VALUE = 3;
 
+
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -118,14 +91,10 @@ public static NodePoolUpdateStrategy valueOf(int value) {
    */
   public static NodePoolUpdateStrategy forNumber(int value) {
     switch (value) {
-      case 0:
-        return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
-      case 2:
-        return BLUE_GREEN;
-      case 3:
-        return SURGE;
-      default:
-        return null;
+      case 0: return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
+      case 2: return BLUE_GREEN;
+      case 3: return SURGE;
+      default: return null;
     }
   }
 
@@ -133,28 +102,28 @@ public static NodePoolUpdateStrategy forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-
-  private static final com.google.protobuf.Internal.EnumLiteMap
-      internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public NodePoolUpdateStrategy findValueByNumber(int number) {
-              return NodePoolUpdateStrategy.forNumber(number);
-            }
-          };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+  private static final com.google.protobuf.Internal.EnumLiteMap<
+      NodePoolUpdateStrategy> internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public NodePoolUpdateStrategy findValueByNumber(int number) {
+            return NodePoolUpdateStrategy.forNumber(number);
+          }
+        };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor
+      getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-
-  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+  public final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptorForType() {
     return getDescriptor();
   }
-
-  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2);
   }
 
@@ -163,7 +132,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
   public static NodePoolUpdateStrategy valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException(
+        "EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -179,3 +149,4 @@ private NodePoolUpdateStrategy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodePoolUpdateStrategy)
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
similarity index 69%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
index a3c501f9b561..27d898a8fc38 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
  * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeTaint}
  */
-public final class NodeTaint extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeTaint extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeTaint)
     NodeTaintOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeTaint.newBuilder() to construct.
   private NodeTaint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodeTaint() {
     key_ = "";
     value_ = "";
@@ -49,43 +31,39 @@ private NodeTaint() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeTaint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeTaint_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeTaint.class,
-            com.google.container.v1beta1.NodeTaint.Builder.class);
+            com.google.container.v1beta1.NodeTaint.class, com.google.container.v1beta1.NodeTaint.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible values for Effect in taint.
    * 
* * Protobuf enum {@code google.container.v1beta1.NodeTaint.Effect} */ - public enum Effect implements com.google.protobuf.ProtocolMessageEnum { + public enum Effect + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set
      * 
@@ -94,8 +72,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ EFFECT_UNSPECIFIED(0), /** - * - * *
      * NoSchedule
      * 
@@ -104,8 +80,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ NO_SCHEDULE(1), /** - * - * *
      * PreferNoSchedule
      * 
@@ -114,8 +88,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ PREFER_NO_SCHEDULE(2), /** - * - * *
      * NoExecute
      * 
@@ -127,8 +99,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set
      * 
@@ -137,8 +107,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EFFECT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * NoSchedule
      * 
@@ -147,8 +115,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_SCHEDULE_VALUE = 1; /** - * - * *
      * PreferNoSchedule
      * 
@@ -157,8 +123,6 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PREFER_NO_SCHEDULE_VALUE = 2; /** - * - * *
      * NoExecute
      * 
@@ -167,6 +131,7 @@ public enum Effect implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_EXECUTE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -191,51 +156,50 @@ public static Effect valueOf(int value) { */ public static Effect forNumber(int value) { switch (value) { - case 0: - return EFFECT_UNSPECIFIED; - case 1: - return NO_SCHEDULE; - case 2: - return PREFER_NO_SCHEDULE; - case 3: - return NO_EXECUTE; - default: - return null; + case 0: return EFFECT_UNSPECIFIED; + case 1: return NO_SCHEDULE; + case 2: return PREFER_NO_SCHEDULE; + case 3: return NO_EXECUTE; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Effect findValueByNumber(int number) { - return Effect.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + Effect> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Effect findValueByNumber(int number) { + return Effect.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.NodeTaint.getDescriptor().getEnumTypes().get(0); } private static final Effect[] VALUES = values(); - public static Effect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Effect valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -255,14 +219,11 @@ private Effect(int value) { public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The key. */ @java.lang.Override @@ -271,29 +232,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -304,14 +265,11 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The value. */ @java.lang.Override @@ -320,29 +278,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -353,41 +311,31 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int EFFECT_FIELD_NUMBER = 3; private int effect_; /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override - public int getEffectValue() { + @java.lang.Override public int getEffectValue() { return effect_; } /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @return The effect. */ - @java.lang.Override - public com.google.container.v1beta1.NodeTaint.Effect getEffect() { + @java.lang.Override public com.google.container.v1beta1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeTaint.Effect result = - com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1beta1.NodeTaint.Effect result = com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1beta1.NodeTaint.Effect.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -425,7 +374,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (effect_ != com.google.container.v1beta1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, effect_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, effect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -435,15 +385,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeTaint)) { return super.equals(obj); } com.google.container.v1beta1.NodeTaint other = (com.google.container.v1beta1.NodeTaint) obj; - if (!getKey().equals(other.getKey())) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (effect_ != other.effect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -467,104 +419,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeTaint parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeTaint parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeTaint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeTaint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeTaint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeTaint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeTaint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeTaint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeTaint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
    * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -575,32 +520,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodeTaint}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeTaint)
       com.google.container.v1beta1.NodeTaintOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeTaint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeTaint.class,
-              com.google.container.v1beta1.NodeTaint.Builder.class);
+              com.google.container.v1beta1.NodeTaint.class, com.google.container.v1beta1.NodeTaint.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeTaint.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -614,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeTaint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
@@ -635,8 +581,7 @@ public com.google.container.v1beta1.NodeTaint build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeTaint buildPartial() {
-      com.google.container.v1beta1.NodeTaint result =
-          new com.google.container.v1beta1.NodeTaint(this);
+      com.google.container.v1beta1.NodeTaint result = new com.google.container.v1beta1.NodeTaint(this);
       result.key_ = key_;
       result.value_ = value_;
       result.effect_ = effect_;
@@ -648,39 +593,38 @@ public com.google.container.v1beta1.NodeTaint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeTaint) {
-        return mergeFrom((com.google.container.v1beta1.NodeTaint) other);
+        return mergeFrom((com.google.container.v1beta1.NodeTaint)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -726,31 +670,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                key_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                value_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                effect_ = input.readEnum();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              key_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              value_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              effect_ = input.readEnum();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -763,20 +703,18 @@ public Builder mergeFrom(
 
     private java.lang.Object key_ = "";
     /**
-     *
-     *
      * 
      * Key for taint.
      * 
* * string key = 1; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -785,21 +723,20 @@ public java.lang.String getKey() { } } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -807,61 +744,54 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * Key for taint.
      * 
* * string key = 1; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -869,20 +799,18 @@ public Builder setKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object value_ = ""; /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -891,21 +819,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); value_ = b; return b; } else { @@ -913,61 +840,54 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * Value for taint.
      * 
* * string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -975,65 +895,51 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { private int effect_ = 0; /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override - public int getEffectValue() { + @java.lang.Override public int getEffectValue() { return effect_; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @param value The enum numeric value on the wire for effect to set. * @return This builder for chaining. */ public Builder setEffectValue(int value) { - + effect_ = value; onChanged(); return this; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @return The effect. */ @java.lang.Override public com.google.container.v1beta1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeTaint.Effect result = - com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1beta1.NodeTaint.Effect result = com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1beta1.NodeTaint.Effect.UNRECOGNIZED : result; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @param value The effect to set. * @return This builder for chaining. */ @@ -1041,31 +947,28 @@ public Builder setEffect(com.google.container.v1beta1.NodeTaint.Effect value) { if (value == null) { throw new NullPointerException(); } - + effect_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @return This builder for chaining. */ public Builder clearEffect() { - + effect_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeTaint) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeTaint) private static final com.google.container.v1beta1.NodeTaint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeTaint(); } @@ -1089,27 +992,27 @@ public static com.google.container.v1beta1.NodeTaint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,4 +1027,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java index 63015cdf20fd..bd45ff102c10 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java @@ -1,99 +1,67 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeTaintOrBuilder - extends +public interface NodeTaintOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeTaint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * Key for taint.
    * 
* * string key = 1; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Value for taint.
    * 
* * string value = 2; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @return The enum numeric value on the wire for effect. */ int getEffectValue(); /** - * - * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; - * * @return The effect. */ com.google.container.v1beta1.NodeTaint.Effect getEffect(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java index 5fb279e9042b..40c5abbf8f56 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Collection of Kubernetes [node
  * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeTaints}
  */
-public final class NodeTaints extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class NodeTaints extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeTaints)
     NodeTaintsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use NodeTaints.newBuilder() to construct.
   private NodeTaints(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private NodeTaints() {
     taints_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new NodeTaints();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeTaints_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeTaints.class,
-            com.google.container.v1beta1.NodeTaints.Builder.class);
+            com.google.container.v1beta1.NodeTaints.class, com.google.container.v1beta1.NodeTaints.Builder.class);
   }
 
   public static final int TAINTS_FIELD_NUMBER = 1;
   private java.util.List taints_;
   /**
-   *
-   *
    * 
    * List of node taints.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTaintsList() { return taints_; } /** - * - * *
    * List of node taints.
    * 
@@ -93,13 +70,11 @@ public java.util.List getTaintsList() { * repeated .google.container.v1beta1.NodeTaint taints = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** - * - * *
    * List of node taints.
    * 
@@ -111,8 +86,6 @@ public int getTaintsCount() { return taints_.size(); } /** - * - * *
    * List of node taints.
    * 
@@ -124,8 +97,6 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) { return taints_.get(index); } /** - * - * *
    * List of node taints.
    * 
@@ -133,12 +104,12 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) { * repeated .google.container.v1beta1.NodeTaint taints = 1; */ @java.lang.Override - public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { return taints_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +121,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < taints_.size(); i++) { output.writeMessage(1, taints_.get(i)); } @@ -164,7 +136,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, taints_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,14 +147,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeTaints)) { return super.equals(obj); } com.google.container.v1beta1.NodeTaints other = (com.google.container.v1beta1.NodeTaints) obj; - if (!getTaintsList().equals(other.getTaintsList())) return false; + if (!getTaintsList() + .equals(other.getTaintsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -202,104 +176,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeTaints parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeTaints parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeTaints parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeTaints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeTaints parseFrom( 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.NodeTaints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NodeTaints parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaints parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeTaints parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NodeTaints parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NodeTaints parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeTaints parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaints parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeTaints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeTaints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of Kubernetes [node
    * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -307,32 +274,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.NodeTaints}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeTaints)
       com.google.container.v1beta1.NodeTaintsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeTaints_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeTaints.class,
-              com.google.container.v1beta1.NodeTaints.Builder.class);
+              com.google.container.v1beta1.NodeTaints.class, com.google.container.v1beta1.NodeTaints.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeTaints.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -347,9 +315,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NodeTaints_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
@@ -368,8 +336,7 @@ public com.google.container.v1beta1.NodeTaints build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeTaints buildPartial() {
-      com.google.container.v1beta1.NodeTaints result =
-          new com.google.container.v1beta1.NodeTaints(this);
+      com.google.container.v1beta1.NodeTaints result = new com.google.container.v1beta1.NodeTaints(this);
       int from_bitField0_ = bitField0_;
       if (taintsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -388,39 +355,38 @@ public com.google.container.v1beta1.NodeTaints buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeTaints) {
-        return mergeFrom((com.google.container.v1beta1.NodeTaints) other);
+        return mergeFrom((com.google.container.v1beta1.NodeTaints)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -447,10 +413,9 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeTaints other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taintsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTaintsFieldBuilder()
-                    : null;
+            taintsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTaintsFieldBuilder() : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -482,26 +447,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.container.v1beta1.NodeTaint m =
-                    input.readMessage(
-                        com.google.container.v1beta1.NodeTaint.parser(), extensionRegistry);
-                if (taintsBuilder_ == null) {
-                  ensureTaintsIsMutable();
-                  taints_.add(m);
-                } else {
-                  taintsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.container.v1beta1.NodeTaint m =
+                  input.readMessage(
+                      com.google.container.v1beta1.NodeTaint.parser(),
+                      extensionRegistry);
+              if (taintsBuilder_ == null) {
+                ensureTaintsIsMutable();
+                taints_.add(m);
+              } else {
+                taintsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -511,28 +475,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List taints_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTaintsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         taints_ = new java.util.ArrayList(taints_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.NodeTaint,
-            com.google.container.v1beta1.NodeTaint.Builder,
-            com.google.container.v1beta1.NodeTaintOrBuilder>
-        taintsBuilder_;
+        com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> taintsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of node taints.
      * 
@@ -547,8 +504,6 @@ public java.util.List getTaintsList() { } } /** - * - * *
      * List of node taints.
      * 
@@ -563,8 +518,6 @@ public int getTaintsCount() { } } /** - * - * *
      * List of node taints.
      * 
@@ -579,15 +532,14 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) { } } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public Builder setTaints(int index, com.google.container.v1beta1.NodeTaint value) { + public Builder setTaints( + int index, com.google.container.v1beta1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -601,8 +553,6 @@ public Builder setTaints(int index, com.google.container.v1beta1.NodeTaint value return this; } /** - * - * *
      * List of node taints.
      * 
@@ -621,8 +571,6 @@ public Builder setTaints( return this; } /** - * - * *
      * List of node taints.
      * 
@@ -643,15 +591,14 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint value) { return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public Builder addTaints(int index, com.google.container.v1beta1.NodeTaint value) { + public Builder addTaints( + int index, com.google.container.v1beta1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -665,15 +612,14 @@ public Builder addTaints(int index, com.google.container.v1beta1.NodeTaint value return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public Builder addTaints(com.google.container.v1beta1.NodeTaint.Builder builderForValue) { + public Builder addTaints( + com.google.container.v1beta1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -684,8 +630,6 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint.Builder builderF return this; } /** - * - * *
      * List of node taints.
      * 
@@ -704,8 +648,6 @@ public Builder addTaints( return this; } /** - * - * *
      * List of node taints.
      * 
@@ -716,7 +658,8 @@ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -724,8 +667,6 @@ public Builder addAllTaints( return this; } /** - * - * *
      * List of node taints.
      * 
@@ -743,8 +684,6 @@ public Builder clearTaints() { return this; } /** - * - * *
      * List of node taints.
      * 
@@ -762,44 +701,39 @@ public Builder removeTaints(int index) { return this; } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(int index) { + public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder( + int index) { return getTaintsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { + public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( + int index) { if (taintsBuilder_ == null) { - return taints_.get(index); - } else { + return taints_.get(index); } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -807,8 +741,6 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int in } } /** - * - * *
      * List of node taints.
      * 
@@ -816,54 +748,49 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int in * repeated .google.container.v1beta1.NodeTaint taints = 1; */ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder() - .addBuilder(com.google.container.v1beta1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder().addBuilder( + com.google.container.v1beta1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(int index) { - return getTaintsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.NodeTaint.getDefaultInstance()); + public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder( + int index) { + return getTaintsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.NodeTaint.getDefaultInstance()); } /** - * - * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public java.util.List getTaintsBuilderList() { + public java.util.List + getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodeTaint, - com.google.container.v1beta1.NodeTaint.Builder, - com.google.container.v1beta1.NodeTaintOrBuilder> + com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodeTaint, - com.google.container.v1beta1.NodeTaint.Builder, - com.google.container.v1beta1.NodeTaintOrBuilder>( - taints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder>( + taints_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); taints_ = null; } return taintsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -873,12 +800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeTaints) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeTaints) private static final com.google.container.v1beta1.NodeTaints DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeTaints(); } @@ -887,27 +814,27 @@ public static com.google.container.v1beta1.NodeTaints getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,4 +849,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeTaints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java similarity index 60% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java index 6aa7d65d2686..ada0c3ba4710 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeTaintsOrBuilder - extends +public interface NodeTaintsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeTaints) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of node taints.
    * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - java.util.List getTaintsList(); + java.util.List + getTaintsList(); /** - * - * *
    * List of node taints.
    * 
@@ -44,8 +25,6 @@ public interface NodeTaintsOrBuilder */ com.google.container.v1beta1.NodeTaint getTaints(int index); /** - * - * *
    * List of node taints.
    * 
@@ -54,24 +33,21 @@ public interface NodeTaintsOrBuilder */ int getTaintsCount(); /** - * - * *
    * List of node taints.
    * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - java.util.List + java.util.List getTaintsOrBuilderList(); /** - * - * *
    * List of node taints.
    * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index); + com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( + int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java index f94107e1d130..b067d4639677 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java @@ -1,73 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * NotificationConfig is the configuration of notifications.
  * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig} */ -public final class NotificationConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class NotificationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NotificationConfig) NotificationConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use NotificationConfig.newBuilder() to construct. private NotificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private NotificationConfig() {} + private NotificationConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new NotificationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.class, - com.google.container.v1beta1.NotificationConfig.Builder.class); + com.google.container.v1beta1.NotificationConfig.class, com.google.container.v1beta1.NotificationConfig.Builder.class); } /** - * - * *
    * Types of notifications currently supported. Can be used to filter what
    * notifications are sent.
@@ -75,10 +55,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1beta1.NotificationConfig.EventType}
    */
-  public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum EventType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set, will be ignored.
      * 
@@ -87,8 +66,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ EVENT_TYPE_UNSPECIFIED(0), /** - * - * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -97,8 +74,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_AVAILABLE_EVENT(1), /** - * - * *
      * Corresponds with UpgradeEvent.
      * 
@@ -107,8 +82,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_EVENT(2), /** - * - * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -120,8 +93,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set, will be ignored.
      * 
@@ -130,8 +101,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -140,8 +109,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_AVAILABLE_EVENT_VALUE = 1; /** - * - * *
      * Corresponds with UpgradeEvent.
      * 
@@ -150,8 +117,6 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_EVENT_VALUE = 2; /** - * - * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -160,6 +125,7 @@ public enum EventType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SECURITY_BULLETIN_EVENT_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -184,51 +150,50 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: - return EVENT_TYPE_UNSPECIFIED; - case 1: - return UPGRADE_AVAILABLE_EVENT; - case 2: - return UPGRADE_EVENT; - case 3: - return SECURITY_BULLETIN_EVENT; - default: - return null; + case 0: return EVENT_TYPE_UNSPECIFIED; + case 1: return UPGRADE_AVAILABLE_EVENT; + case 2: return UPGRADE_EVENT; + case 3: return SECURITY_BULLETIN_EVENT; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + EventType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EventType findValueByNumber(int number) { + return EventType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EventType findValueByNumber(int number) { - return EventType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.NotificationConfig.getDescriptor().getEnumTypes().get(0); } private static final EventType[] VALUES = values(); - public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EventType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -245,54 +210,43 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NotificationConfig.EventType) } - public interface PubSubOrBuilder - extends + public interface PubSubOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NotificationConfig.PubSub) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The topic. */ java.lang.String getTopic(); /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topic. */ - com.google.protobuf.ByteString getTopicBytes(); + com.google.protobuf.ByteString + getTopicBytes(); /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -300,13 +254,10 @@ public interface PubSubOrBuilder
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -314,13 +265,10 @@ public interface PubSubOrBuilder
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; - * * @return The filter. */ com.google.container.v1beta1.NotificationConfig.Filter getFilter(); /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -332,65 +280,58 @@ public interface PubSubOrBuilder
     com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilterOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Pub/Sub specific notification config.
    * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig.PubSub} */ - public static final class PubSub extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PubSub extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NotificationConfig.PubSub) PubSubOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSub.newBuilder() to construct. private PubSub(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PubSub() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PubSub(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.PubSub.class, - com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1beta1.NotificationConfig.PubSub.class, com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -401,15 +342,12 @@ public boolean getEnabled() { public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The topic. */ @java.lang.Override @@ -418,30 +356,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** - * - * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -452,8 +390,6 @@ public com.google.protobuf.ByteString getTopicBytes() { public static final int FILTER_FIELD_NUMBER = 3; private com.google.container.v1beta1.NotificationConfig.Filter filter_; /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -461,7 +397,6 @@ public com.google.protobuf.ByteString getTopicBytes() {
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -469,8 +404,6 @@ public boolean hasFilter() { return filter_ != null; } /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -478,18 +411,13 @@ public boolean hasFilter() {
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; - * * @return The filter. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig.Filter getFilter() { - return filter_ == null - ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() - : filter_; + return filter_ == null ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() : filter_; } /** - * - * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -504,7 +432,6 @@ public com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilter
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -516,7 +443,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (enabled_ != false) {
         output.writeBool(1, enabled_);
       }
@@ -536,13 +464,15 @@ public int getSerializedSize() {
 
       size = 0;
       if (enabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(1, enabled_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_);
       }
       if (filter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getFilter());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -552,19 +482,21 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.container.v1beta1.NotificationConfig.PubSub)) {
         return super.equals(obj);
       }
-      com.google.container.v1beta1.NotificationConfig.PubSub other =
-          (com.google.container.v1beta1.NotificationConfig.PubSub) obj;
+      com.google.container.v1beta1.NotificationConfig.PubSub other = (com.google.container.v1beta1.NotificationConfig.PubSub) obj;
 
-      if (getEnabled() != other.getEnabled()) return false;
-      if (!getTopic().equals(other.getTopic())) return false;
+      if (getEnabled()
+          != other.getEnabled()) return false;
+      if (!getTopic()
+          .equals(other.getTopic())) return false;
       if (hasFilter() != other.hasFilter()) return false;
       if (hasFilter()) {
-        if (!getFilter().equals(other.getFilter())) return false;
+        if (!getFilter()
+            .equals(other.getFilter())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -578,7 +510,8 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getEnabled());
       hash = (37 * hash) + TOPIC_FIELD_NUMBER;
       hash = (53 * hash) + getTopic().hashCode();
       if (hasFilter()) {
@@ -591,94 +524,87 @@ public int hashCode() {
     }
 
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        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.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
         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.NotificationConfig.PubSub parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.container.v1beta1.NotificationConfig.PubSub parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.container.v1beta1.NotificationConfig.PubSub parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.container.v1beta1.NotificationConfig.PubSub prototype) {
+    public static Builder newBuilder(com.google.container.v1beta1.NotificationConfig.PubSub prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -688,41 +614,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Pub/Sub specific notification config.
      * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig.PubSub} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NotificationConfig.PubSub) com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.PubSub.class, - com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1beta1.NotificationConfig.PubSub.class, com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); } // Construct using com.google.container.v1beta1.NotificationConfig.PubSub.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -740,9 +664,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; } @java.lang.Override @@ -761,8 +685,7 @@ public com.google.container.v1beta1.NotificationConfig.PubSub build() { @java.lang.Override public com.google.container.v1beta1.NotificationConfig.PubSub buildPartial() { - com.google.container.v1beta1.NotificationConfig.PubSub result = - new com.google.container.v1beta1.NotificationConfig.PubSub(this); + com.google.container.v1beta1.NotificationConfig.PubSub result = new com.google.container.v1beta1.NotificationConfig.PubSub(this); result.enabled_ = enabled_; result.topic_ = topic_; if (filterBuilder_ == null) { @@ -778,41 +701,38 @@ public com.google.container.v1beta1.NotificationConfig.PubSub buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.NotificationConfig.PubSub) { - return mergeFrom((com.google.container.v1beta1.NotificationConfig.PubSub) other); + return mergeFrom((com.google.container.v1beta1.NotificationConfig.PubSub)other); } else { super.mergeFrom(other); return this; @@ -820,8 +740,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NotificationConfig.PubSub other) { - if (other == com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -858,31 +777,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: - { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -893,16 +810,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -910,36 +824,30 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -947,21 +855,19 @@ public Builder clearEnabled() { private java.lang.Object topic_ = ""; /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -970,22 +876,21 @@ public java.lang.String getTopic() { } } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for topic. */ - public com.google.protobuf.ByteString getTopicBytes() { + public com.google.protobuf.ByteString + getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); topic_ = b; return b; } else { @@ -993,64 +898,57 @@ public com.google.protobuf.ByteString getTopicBytes() { } } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic(java.lang.String value) { + public Builder setTopic( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** - * - * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes(com.google.protobuf.ByteString value) { + public Builder setTopicBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; @@ -1058,13 +956,8 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NotificationConfig.Filter filter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.Filter, - com.google.container.v1beta1.NotificationConfig.Filter.Builder, - com.google.container.v1beta1.NotificationConfig.FilterOrBuilder> - filterBuilder_; + com.google.container.v1beta1.NotificationConfig.Filter, com.google.container.v1beta1.NotificationConfig.Filter.Builder, com.google.container.v1beta1.NotificationConfig.FilterOrBuilder> filterBuilder_; /** - * - * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1072,15 +965,12 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** - * - * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1088,21 +978,16 @@ public boolean hasFilter() {
        * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; - * * @return The filter. */ public com.google.container.v1beta1.NotificationConfig.Filter getFilter() { if (filterBuilder_ == null) { - return filter_ == null - ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() - : filter_; + return filter_ == null ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() : filter_; } else { return filterBuilder_.getMessage(); } } /** - * - * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1125,8 +1010,6 @@ public Builder setFilter(com.google.container.v1beta1.NotificationConfig.Filter
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1147,8 +1030,6 @@ public Builder setFilter(
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1161,9 +1042,7 @@ public Builder mergeFilter(com.google.container.v1beta1.NotificationConfig.Filte
         if (filterBuilder_ == null) {
           if (filter_ != null) {
             filter_ =
-                com.google.container.v1beta1.NotificationConfig.Filter.newBuilder(filter_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.container.v1beta1.NotificationConfig.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
           } else {
             filter_ = value;
           }
@@ -1175,8 +1054,6 @@ public Builder mergeFilter(com.google.container.v1beta1.NotificationConfig.Filte
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1197,8 +1074,6 @@ public Builder clearFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1208,13 +1083,11 @@ public Builder clearFilter() {
        * .google.container.v1beta1.NotificationConfig.Filter filter = 3;
        */
       public com.google.container.v1beta1.NotificationConfig.Filter.Builder getFilterBuilder() {
-
+        
         onChanged();
         return getFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1227,14 +1100,11 @@ public com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilter
         if (filterBuilder_ != null) {
           return filterBuilder_.getMessageOrBuilder();
         } else {
-          return filter_ == null
-              ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance()
-              : filter_;
+          return filter_ == null ?
+              com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() : filter_;
         }
       }
       /**
-       *
-       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1244,22 +1114,18 @@ public com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilter
        * .google.container.v1beta1.NotificationConfig.Filter filter = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.container.v1beta1.NotificationConfig.Filter,
-              com.google.container.v1beta1.NotificationConfig.Filter.Builder,
-              com.google.container.v1beta1.NotificationConfig.FilterOrBuilder>
+          com.google.container.v1beta1.NotificationConfig.Filter, com.google.container.v1beta1.NotificationConfig.Filter.Builder, com.google.container.v1beta1.NotificationConfig.FilterOrBuilder> 
           getFilterFieldBuilder() {
         if (filterBuilder_ == null) {
-          filterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.container.v1beta1.NotificationConfig.Filter,
-                  com.google.container.v1beta1.NotificationConfig.Filter.Builder,
-                  com.google.container.v1beta1.NotificationConfig.FilterOrBuilder>(
-                  getFilter(), getParentForChildren(), isClean());
+          filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.container.v1beta1.NotificationConfig.Filter, com.google.container.v1beta1.NotificationConfig.Filter.Builder, com.google.container.v1beta1.NotificationConfig.FilterOrBuilder>(
+                  getFilter(),
+                  getParentForChildren(),
+                  isClean());
           filter_ = null;
         }
         return filterBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1272,12 +1138,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NotificationConfig.PubSub)
     }
 
     // @@protoc_insertion_point(class_scope:google.container.v1beta1.NotificationConfig.PubSub)
     private static final com.google.container.v1beta1.NotificationConfig.PubSub DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.container.v1beta1.NotificationConfig.PubSub();
     }
@@ -1286,28 +1152,27 @@ public static com.google.container.v1beta1.NotificationConfig.PubSub getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public PubSub parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public PubSub parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1322,79 +1187,63 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.container.v1beta1.NotificationConfig.PubSub getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface FilterOrBuilder
-      extends
+  public interface FilterOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NotificationConfig.Filter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the eventType. */ java.util.List getEventTypeList(); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @return The count of eventType. */ int getEventTypeCount(); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the element to return. * @return The eventType at the given index. */ com.google.container.v1beta1.NotificationConfig.EventType getEventType(int index); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the enum numeric values on the wire for eventType. */ - java.util.List getEventTypeValueList(); + java.util.List + getEventTypeValueList(); /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ int getEventTypeValue(int index); } /** - * - * *
    * Allows filtering to one or more specific event types. If event types are
    * present, those and only those event types will be transmitted to the
@@ -1404,90 +1253,75 @@ public interface FilterOrBuilder
    *
    * Protobuf type {@code google.container.v1beta1.NotificationConfig.Filter}
    */
-  public static final class Filter extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Filter extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.container.v1beta1.NotificationConfig.Filter)
       FilterOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Filter.newBuilder() to construct.
     private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Filter() {
       eventType_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Filter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NotificationConfig.Filter.class,
-              com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
+              com.google.container.v1beta1.NotificationConfig.Filter.class, com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
     }
 
     public static final int EVENT_TYPE_FIELD_NUMBER = 1;
     private java.util.List eventType_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-            java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>
-        eventType_converter_ =
+        java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType> eventType_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>() {
-              public com.google.container.v1beta1.NotificationConfig.EventType convert(
-                  java.lang.Integer from) {
+              public com.google.container.v1beta1.NotificationConfig.EventType convert(java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.container.v1beta1.NotificationConfig.EventType result =
-                    com.google.container.v1beta1.NotificationConfig.EventType.valueOf(from);
-                return result == null
-                    ? com.google.container.v1beta1.NotificationConfig.EventType.UNRECOGNIZED
-                    : result;
+                com.google.container.v1beta1.NotificationConfig.EventType result = com.google.container.v1beta1.NotificationConfig.EventType.valueOf(from);
+                return result == null ? com.google.container.v1beta1.NotificationConfig.EventType.UNRECOGNIZED : result;
               }
             };
     /**
-     *
-     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the eventType. */ @java.lang.Override - public java.util.List - getEventTypeList() { + public java.util.List getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>( - eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>(eventType_, eventType_converter_); } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @return The count of eventType. */ @java.lang.Override @@ -1495,14 +1329,11 @@ public int getEventTypeCount() { return eventType_.size(); } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1511,29 +1342,24 @@ public com.google.container.v1beta1.NotificationConfig.EventType getEventType(in return eventType_converter_.convert(eventType_.get(index)); } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @return A list containing the enum numeric values on the wire for eventType. */ @java.lang.Override - public java.util.List getEventTypeValueList() { + public java.util.List + getEventTypeValueList() { return eventType_; } /** - * - * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -1541,11 +1367,9 @@ public java.util.List getEventTypeValueList() { public int getEventTypeValue(int index) { return eventType_.get(index); } - private int eventTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1557,7 +1381,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getEventTypeList().size() > 0) { output.writeUInt32NoTag(10); @@ -1578,14 +1403,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < eventType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(eventType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(eventType_.get(i)); } size += dataSize; - if (!getEventTypeList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - eventTypeMemoizedSerializedSize = dataSize; + if (!getEventTypeList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }eventTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1595,13 +1420,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NotificationConfig.Filter)) { return super.equals(obj); } - com.google.container.v1beta1.NotificationConfig.Filter other = - (com.google.container.v1beta1.NotificationConfig.Filter) obj; + com.google.container.v1beta1.NotificationConfig.Filter other = (com.google.container.v1beta1.NotificationConfig.Filter) obj; if (!eventType_.equals(other.eventType_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1625,94 +1449,87 @@ public int hashCode() { } public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( 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.NotificationConfig.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NotificationConfig.Filter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NotificationConfig.Filter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.NotificationConfig.Filter prototype) { + public static Builder newBuilder(com.google.container.v1beta1.NotificationConfig.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1722,8 +1539,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Allows filtering to one or more specific event types. If event types are
      * present, those and only those event types will be transmitted to the
@@ -1733,33 +1548,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1beta1.NotificationConfig.Filter}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NotificationConfig.Filter)
         com.google.container.v1beta1.NotificationConfig.FilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1beta1.NotificationConfig.Filter.class,
-                com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
+                com.google.container.v1beta1.NotificationConfig.Filter.class, com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
       }
 
       // Construct using com.google.container.v1beta1.NotificationConfig.Filter.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1769,9 +1584,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.container.v1beta1.ClusterServiceProto
-            .internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
@@ -1790,8 +1605,7 @@ public com.google.container.v1beta1.NotificationConfig.Filter build() {
 
       @java.lang.Override
       public com.google.container.v1beta1.NotificationConfig.Filter buildPartial() {
-        com.google.container.v1beta1.NotificationConfig.Filter result =
-            new com.google.container.v1beta1.NotificationConfig.Filter(this);
+        com.google.container.v1beta1.NotificationConfig.Filter result = new com.google.container.v1beta1.NotificationConfig.Filter(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           eventType_ = java.util.Collections.unmodifiableList(eventType_);
@@ -1806,41 +1620,38 @@ public com.google.container.v1beta1.NotificationConfig.Filter buildPartial() {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.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.NotificationConfig.Filter) {
-          return mergeFrom((com.google.container.v1beta1.NotificationConfig.Filter) other);
+          return mergeFrom((com.google.container.v1beta1.NotificationConfig.Filter)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1848,8 +1659,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1beta1.NotificationConfig.Filter other) {
-        if (other == com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance())
-          return this;
+        if (other == com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance()) return this;
         if (!other.eventType_.isEmpty()) {
           if (eventType_.isEmpty()) {
             eventType_ = other.eventType_;
@@ -1886,32 +1696,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
+              case 8: {
+                int tmpRaw = input.readEnum();
+                ensureEventTypeIsMutable();
+                eventType_.add(tmpRaw);
+                break;
+              } // case 8
+              case 10: {
+                int length = input.readRawVarint32();
+                int oldLimit = input.pushLimit(length);
+                while(input.getBytesUntilLimit() > 0) {
                   int tmpRaw = input.readEnum();
                   ensureEventTypeIsMutable();
                   eventType_.add(tmpRaw);
-                  break;
-                } // case 8
-              case 10:
-                {
-                  int length = input.readRawVarint32();
-                  int oldLimit = input.pushLimit(length);
-                  while (input.getBytesUntilLimit() > 0) {
-                    int tmpRaw = input.readEnum();
-                    ensureEventTypeIsMutable();
-                    eventType_.add(tmpRaw);
-                  }
-                  input.popLimit(oldLimit);
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                }
+                input.popLimit(oldLimit);
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1921,11 +1728,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private java.util.List eventType_ = java.util.Collections.emptyList();
-
+      private java.util.List eventType_ =
+        java.util.Collections.emptyList();
       private void ensureEventTypeIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           eventType_ = new java.util.ArrayList(eventType_);
@@ -1933,48 +1739,34 @@ private void ensureEventTypeIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @return A list containing the eventType. */ - public java.util.List - getEventTypeList() { + public java.util.List getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>( - eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>(eventType_, eventType_converter_); } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @return The count of eventType. */ public int getEventTypeCount() { return eventType_.size(); } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1982,15 +1774,11 @@ public com.google.container.v1beta1.NotificationConfig.EventType getEventType(in return eventType_converter_.convert(eventType_.get(index)); } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param index The index to set the value at. * @param value The eventType to set. * @return This builder for chaining. @@ -2006,15 +1794,11 @@ public Builder setEventType( return this; } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param value The eventType to add. * @return This builder for chaining. */ @@ -2028,21 +1812,16 @@ public Builder addEventType(com.google.container.v1beta1.NotificationConfig.Even return this; } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param values The eventType to add. * @return This builder for chaining. */ public Builder addAllEventType( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureEventTypeIsMutable(); for (com.google.container.v1beta1.NotificationConfig.EventType value : values) { eventType_.add(value.getNumber()); @@ -2051,15 +1830,11 @@ public Builder addAllEventType( return this; } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @return This builder for chaining. */ public Builder clearEventType() { @@ -2069,30 +1844,23 @@ public Builder clearEventType() { return this; } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @return A list containing the enum numeric values on the wire for eventType. */ - public java.util.List getEventTypeValueList() { + public java.util.List + getEventTypeValueList() { return java.util.Collections.unmodifiableList(eventType_); } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -2100,35 +1868,28 @@ public int getEventTypeValue(int index) { return eventType_.get(index); } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param index The index to set the value at. * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ - public Builder setEventTypeValue(int index, int value) { + public Builder setEventTypeValue( + int index, int value) { ensureEventTypeIsMutable(); eventType_.set(index, value); onChanged(); return this; } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param value The enum numeric value on the wire for eventType to add. * @return This builder for chaining. */ @@ -2139,19 +1900,16 @@ public Builder addEventTypeValue(int value) { return this; } /** - * - * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; - * - * + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; * @param values The enum numeric values on the wire for eventType to add. * @return This builder for chaining. */ - public Builder addAllEventTypeValue(java.lang.Iterable values) { + public Builder addAllEventTypeValue( + java.lang.Iterable values) { ensureEventTypeIsMutable(); for (int value : values) { eventType_.add(value); @@ -2159,7 +1917,6 @@ public Builder addAllEventTypeValue(java.lang.Iterable values onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2172,12 +1929,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NotificationConfig.Filter) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NotificationConfig.Filter) private static final com.google.container.v1beta1.NotificationConfig.Filter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NotificationConfig.Filter(); } @@ -2186,28 +1943,27 @@ public static com.google.container.v1beta1.NotificationConfig.Filter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2222,19 +1978,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NotificationConfig.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PUBSUB_FIELD_NUMBER = 1; private com.google.container.v1beta1.NotificationConfig.PubSub pubsub_; /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; - * * @return Whether the pubsub field is set. */ @java.lang.Override @@ -2242,25 +1996,18 @@ public boolean hasPubsub() { return pubsub_ != null; } /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; - * * @return The pubsub. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig.PubSub getPubsub() { - return pubsub_ == null - ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() - : pubsub_; + return pubsub_ == null ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; } /** - * - * *
    * Notification config for Pub/Sub.
    * 
@@ -2273,7 +2020,6 @@ public com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder getPubsub } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2285,7 +2031,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (pubsub_ != null) { output.writeMessage(1, getPubsub()); } @@ -2299,7 +2046,8 @@ public int getSerializedSize() { size = 0; if (pubsub_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPubsub()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPubsub()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2309,17 +2057,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NotificationConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NotificationConfig other = - (com.google.container.v1beta1.NotificationConfig) obj; + com.google.container.v1beta1.NotificationConfig other = (com.google.container.v1beta1.NotificationConfig) obj; if (hasPubsub() != other.hasPubsub()) return false; if (hasPubsub()) { - if (!getPubsub().equals(other.getPubsub())) return false; + if (!getPubsub() + .equals(other.getPubsub())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2341,136 +2089,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NotificationConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NotificationConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NotificationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NotificationConfig parseFrom( 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.NotificationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.NotificationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NotificationConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NotificationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.NotificationConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.NotificationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NotificationConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NotificationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NotificationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NotificationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NotificationConfig is the configuration of notifications.
    * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NotificationConfig) com.google.container.v1beta1.NotificationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.class, - com.google.container.v1beta1.NotificationConfig.Builder.class); + com.google.container.v1beta1.NotificationConfig.class, com.google.container.v1beta1.NotificationConfig.Builder.class); } // Construct using com.google.container.v1beta1.NotificationConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2484,9 +2226,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_NotificationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_descriptor; } @java.lang.Override @@ -2505,8 +2247,7 @@ public com.google.container.v1beta1.NotificationConfig build() { @java.lang.Override public com.google.container.v1beta1.NotificationConfig buildPartial() { - com.google.container.v1beta1.NotificationConfig result = - new com.google.container.v1beta1.NotificationConfig(this); + com.google.container.v1beta1.NotificationConfig result = new com.google.container.v1beta1.NotificationConfig(this); if (pubsubBuilder_ == null) { result.pubsub_ = pubsub_; } else { @@ -2520,39 +2261,38 @@ public com.google.container.v1beta1.NotificationConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NotificationConfig) { - return mergeFrom((com.google.container.v1beta1.NotificationConfig) other); + return mergeFrom((com.google.container.v1beta1.NotificationConfig)other); } else { super.mergeFrom(other); return this; @@ -2560,8 +2300,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NotificationConfig other) { - if (other == com.google.container.v1beta1.NotificationConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.NotificationConfig.getDefaultInstance()) return this; if (other.hasPubsub()) { mergePubsub(other.getPubsub()); } @@ -2591,19 +2330,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPubsubFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getPubsubFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -2616,47 +2355,34 @@ public Builder mergeFrom( private com.google.container.v1beta1.NotificationConfig.PubSub pubsub_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.PubSub, - com.google.container.v1beta1.NotificationConfig.PubSub.Builder, - com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> - pubsubBuilder_; + com.google.container.v1beta1.NotificationConfig.PubSub, com.google.container.v1beta1.NotificationConfig.PubSub.Builder, com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> pubsubBuilder_; /** - * - * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; - * * @return Whether the pubsub field is set. */ public boolean hasPubsub() { return pubsubBuilder_ != null || pubsub_ != null; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; - * * @return The pubsub. */ public com.google.container.v1beta1.NotificationConfig.PubSub getPubsub() { if (pubsubBuilder_ == null) { - return pubsub_ == null - ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() - : pubsub_; + return pubsub_ == null ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; } else { return pubsubBuilder_.getMessage(); } } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2677,8 +2403,6 @@ public Builder setPubsub(com.google.container.v1beta1.NotificationConfig.PubSub return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2697,8 +2421,6 @@ public Builder setPubsub( return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2709,9 +2431,7 @@ public Builder mergePubsub(com.google.container.v1beta1.NotificationConfig.PubSu if (pubsubBuilder_ == null) { if (pubsub_ != null) { pubsub_ = - com.google.container.v1beta1.NotificationConfig.PubSub.newBuilder(pubsub_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NotificationConfig.PubSub.newBuilder(pubsub_).mergeFrom(value).buildPartial(); } else { pubsub_ = value; } @@ -2723,8 +2443,6 @@ public Builder mergePubsub(com.google.container.v1beta1.NotificationConfig.PubSu return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2743,8 +2461,6 @@ public Builder clearPubsub() { return this; } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2752,13 +2468,11 @@ public Builder clearPubsub() { * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; */ public com.google.container.v1beta1.NotificationConfig.PubSub.Builder getPubsubBuilder() { - + onChanged(); return getPubsubFieldBuilder().getBuilder(); } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2769,14 +2483,11 @@ public com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder getPubsub if (pubsubBuilder_ != null) { return pubsubBuilder_.getMessageOrBuilder(); } else { - return pubsub_ == null - ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() - : pubsub_; + return pubsub_ == null ? + com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; } } /** - * - * *
      * Notification config for Pub/Sub.
      * 
@@ -2784,24 +2495,21 @@ public com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder getPubsub * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.PubSub, - com.google.container.v1beta1.NotificationConfig.PubSub.Builder, - com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> + com.google.container.v1beta1.NotificationConfig.PubSub, com.google.container.v1beta1.NotificationConfig.PubSub.Builder, com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> getPubsubFieldBuilder() { if (pubsubBuilder_ == null) { - pubsubBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.PubSub, - com.google.container.v1beta1.NotificationConfig.PubSub.Builder, - com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder>( - getPubsub(), getParentForChildren(), isClean()); + pubsubBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NotificationConfig.PubSub, com.google.container.v1beta1.NotificationConfig.PubSub.Builder, com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder>( + getPubsub(), + getParentForChildren(), + isClean()); pubsub_ = null; } return pubsubBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2811,12 +2519,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NotificationConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NotificationConfig) private static final com.google.container.v1beta1.NotificationConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NotificationConfig(); } @@ -2825,27 +2533,27 @@ public static com.google.container.v1beta1.NotificationConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2860,4 +2568,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NotificationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java similarity index 59% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java index 391cc1eb7f33..79525d8c78b9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NotificationConfigOrBuilder - extends +public interface NotificationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NotificationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; - * * @return Whether the pubsub field is set. */ boolean hasPubsub(); /** - * - * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; - * * @return The pubsub. */ com.google.container.v1beta1.NotificationConfig.PubSub getPubsub(); /** - * - * *
    * Notification config for Pub/Sub.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java index 5db822eab3b0..242db4f6ce1a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * This operation resource represents operations that may have happened or are
  * happening on the cluster. All fields are output only.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.Operation}
  */
-public final class Operation extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Operation extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.Operation)
     OperationOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Operation.newBuilder() to construct.
   private Operation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Operation() {
     name_ = "";
     zone_ = "";
@@ -56,43 +38,39 @@ private Operation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Operation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_Operation_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_Operation_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.Operation.class,
-            com.google.container.v1beta1.Operation.Builder.class);
+            com.google.container.v1beta1.Operation.class, com.google.container.v1beta1.Operation.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Current status of the operation.
    * 
* * Protobuf enum {@code google.container.v1beta1.Operation.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -101,8 +79,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ STATUS_UNSPECIFIED(0), /** - * - * *
      * The operation has been created.
      * 
@@ -111,8 +87,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The operation is currently running.
      * 
@@ -121,8 +95,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(2), /** - * - * *
      * The operation is done, either cancelled or completed.
      * 
@@ -131,8 +103,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ DONE(3), /** - * - * *
      * The operation is aborting.
      * 
@@ -144,8 +114,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -154,8 +122,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The operation has been created.
      * 
@@ -164,8 +130,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The operation is currently running.
      * 
@@ -174,8 +138,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 2; /** - * - * *
      * The operation is done, either cancelled or completed.
      * 
@@ -184,8 +146,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DONE_VALUE = 3; /** - * - * *
      * The operation is aborting.
      * 
@@ -194,6 +154,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ABORTING_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -218,53 +179,51 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: - return STATUS_UNSPECIFIED; - case 1: - return PENDING; - case 2: - return RUNNING; - case 3: - return DONE; - case 4: - return ABORTING; - default: - return null; + case 0: return STATUS_UNSPECIFIED; + case 1: return PENDING; + case 2: return RUNNING; + case 3: return DONE; + case 4: return ABORTING; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Status> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Status findValueByNumber(int number) { + return Status.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.Operation.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -282,18 +241,15 @@ private Status(int value) { } /** - * - * *
    * Operation type.
    * 
* * Protobuf enum {@code google.container.v1beta1.Operation.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not set.
      * 
@@ -302,8 +258,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
      * Cluster create.
      * 
@@ -312,8 +266,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE_CLUSTER(1), /** - * - * *
      * Cluster delete.
      * 
@@ -322,8 +274,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE_CLUSTER(2), /** - * - * *
      * A master upgrade.
      * 
@@ -332,8 +282,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_MASTER(3), /** - * - * *
      * A node upgrade.
      * 
@@ -342,8 +290,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPGRADE_NODES(4), /** - * - * *
      * Cluster repair.
      * 
@@ -352,8 +298,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ REPAIR_CLUSTER(5), /** - * - * *
      * Cluster update.
      * 
@@ -362,8 +306,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE_CLUSTER(6), /** - * - * *
      * Node pool create.
      * 
@@ -372,8 +314,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ CREATE_NODE_POOL(7), /** - * - * *
      * Node pool delete.
      * 
@@ -382,8 +322,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ DELETE_NODE_POOL(8), /** - * - * *
      * Set node pool management.
      * 
@@ -392,8 +330,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_NODE_POOL_MANAGEMENT(9), /** - * - * *
      * Automatic node pool repair.
      * 
@@ -402,8 +338,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_REPAIR_NODES(10), /** - * - * *
      * Automatic node upgrade.
      * 
@@ -412,8 +346,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ AUTO_UPGRADE_NODES(11), /** - * - * *
      * Set labels.
      * 
@@ -422,8 +354,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_LABELS(12), /** - * - * *
      * Set/generate master auth materials
      * 
@@ -432,8 +362,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_MASTER_AUTH(13), /** - * - * *
      * Set node pool size.
      * 
@@ -442,8 +370,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_NODE_POOL_SIZE(14), /** - * - * *
      * Updates network policy for a cluster.
      * 
@@ -452,8 +378,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ SET_NETWORK_POLICY(15), /** - * - * *
      * Set the maintenance policy.
      * 
@@ -465,8 +389,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not set.
      * 
@@ -475,8 +397,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Cluster create.
      * 
@@ -485,8 +405,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_CLUSTER_VALUE = 1; /** - * - * *
      * Cluster delete.
      * 
@@ -495,8 +413,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_CLUSTER_VALUE = 2; /** - * - * *
      * A master upgrade.
      * 
@@ -505,8 +421,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_MASTER_VALUE = 3; /** - * - * *
      * A node upgrade.
      * 
@@ -515,8 +429,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPGRADE_NODES_VALUE = 4; /** - * - * *
      * Cluster repair.
      * 
@@ -525,8 +437,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REPAIR_CLUSTER_VALUE = 5; /** - * - * *
      * Cluster update.
      * 
@@ -535,8 +445,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_CLUSTER_VALUE = 6; /** - * - * *
      * Node pool create.
      * 
@@ -545,8 +453,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_NODE_POOL_VALUE = 7; /** - * - * *
      * Node pool delete.
      * 
@@ -555,8 +461,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_NODE_POOL_VALUE = 8; /** - * - * *
      * Set node pool management.
      * 
@@ -565,8 +469,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_NODE_POOL_MANAGEMENT_VALUE = 9; /** - * - * *
      * Automatic node pool repair.
      * 
@@ -575,8 +477,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_REPAIR_NODES_VALUE = 10; /** - * - * *
      * Automatic node upgrade.
      * 
@@ -585,8 +485,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTO_UPGRADE_NODES_VALUE = 11; /** - * - * *
      * Set labels.
      * 
@@ -595,8 +493,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_LABELS_VALUE = 12; /** - * - * *
      * Set/generate master auth materials
      * 
@@ -605,8 +501,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_MASTER_AUTH_VALUE = 13; /** - * - * *
      * Set node pool size.
      * 
@@ -615,8 +509,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_NODE_POOL_SIZE_VALUE = 14; /** - * - * *
      * Updates network policy for a cluster.
      * 
@@ -625,8 +517,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_NETWORK_POLICY_VALUE = 15; /** - * - * *
      * Set the maintenance policy.
      * 
@@ -635,6 +525,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_MAINTENANCE_POLICY_VALUE = 16; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -659,77 +550,63 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return CREATE_CLUSTER; - case 2: - return DELETE_CLUSTER; - case 3: - return UPGRADE_MASTER; - case 4: - return UPGRADE_NODES; - case 5: - return REPAIR_CLUSTER; - case 6: - return UPDATE_CLUSTER; - case 7: - return CREATE_NODE_POOL; - case 8: - return DELETE_NODE_POOL; - case 9: - return SET_NODE_POOL_MANAGEMENT; - case 10: - return AUTO_REPAIR_NODES; - case 11: - return AUTO_UPGRADE_NODES; - case 12: - return SET_LABELS; - case 13: - return SET_MASTER_AUTH; - case 14: - return SET_NODE_POOL_SIZE; - case 15: - return SET_NETWORK_POLICY; - case 16: - return SET_MAINTENANCE_POLICY; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return CREATE_CLUSTER; + case 2: return DELETE_CLUSTER; + case 3: return UPGRADE_MASTER; + case 4: return UPGRADE_NODES; + case 5: return REPAIR_CLUSTER; + case 6: return UPDATE_CLUSTER; + case 7: return CREATE_NODE_POOL; + case 8: return DELETE_NODE_POOL; + case 9: return SET_NODE_POOL_MANAGEMENT; + case 10: return AUTO_REPAIR_NODES; + case 11: return AUTO_UPGRADE_NODES; + case 12: return SET_LABELS; + case 13: return SET_MASTER_AUTH; + case 14: return SET_NODE_POOL_SIZE; + case 15: return SET_NETWORK_POLICY; + case 16: return SET_MAINTENANCE_POLICY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.Operation.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -749,14 +626,11 @@ private Type(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -765,29 +639,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -798,8 +672,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -807,27 +679,24 @@ 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=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -835,18 +704,18 @@ 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=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -857,86 +726,65 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int OPERATION_TYPE_FIELD_NUMBER = 3; private int operationType_; /** - * - * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @return The operationType. */ - @java.lang.Override - public com.google.container.v1beta1.Operation.Type getOperationType() { + @java.lang.Override public com.google.container.v1beta1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Type result = - com.google.container.v1beta1.Operation.Type.valueOf(operationType_); + com.google.container.v1beta1.Operation.Type result = com.google.container.v1beta1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1beta1.Operation.Type.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1beta1.Operation.Status getStatus() { + @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = - com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } public static final int DETAIL_FIELD_NUMBER = 8; private volatile java.lang.Object detail_; /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The detail. */ @java.lang.Override @@ -945,29 +793,29 @@ public java.lang.String getDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; } } /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The bytes for detail. */ @java.lang.Override - public com.google.protobuf.ByteString getDetailBytes() { + public com.google.protobuf.ByteString + getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detail_ = b; return b; } else { @@ -978,57 +826,48 @@ public com.google.protobuf.ByteString getDetailBytes() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1039,14 +878,11 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { public static final int SELF_LINK_FIELD_NUMBER = 6; private volatile java.lang.Object selfLink_; /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The selfLink. */ @java.lang.Override @@ -1055,29 +891,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -1088,14 +924,11 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { public static final int TARGET_LINK_FIELD_NUMBER = 7; private volatile java.lang.Object targetLink_; /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The targetLink. */ @java.lang.Override @@ -1104,29 +937,29 @@ public java.lang.String getTargetLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; } } /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The bytes for targetLink. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetLinkBytes() { + public com.google.protobuf.ByteString + getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetLink_ = b; return b; } else { @@ -1137,8 +970,6 @@ public com.google.protobuf.ByteString getTargetLinkBytes() { public static final int LOCATION_FIELD_NUMBER = 9; private volatile java.lang.Object location_; /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1148,7 +979,6 @@ public com.google.protobuf.ByteString getTargetLinkBytes() {
    * 
* * string location = 9; - * * @return The location. */ @java.lang.Override @@ -1157,15 +987,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1175,15 +1004,16 @@ public java.lang.String getLocation() {
    * 
* * string location = 9; - * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -1194,15 +1024,12 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int START_TIME_FIELD_NUMBER = 10; private volatile java.lang.Object startTime_; /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The startTime. */ @java.lang.Override @@ -1211,30 +1038,30 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -1245,15 +1072,12 @@ public com.google.protobuf.ByteString getStartTimeBytes() { public static final int END_TIME_FIELD_NUMBER = 11; private volatile java.lang.Object endTime_; /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The endTime. */ @java.lang.Override @@ -1262,30 +1086,30 @@ public java.lang.String getEndTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; } } /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The bytes for endTime. */ @java.lang.Override - public com.google.protobuf.ByteString getEndTimeBytes() { + public com.google.protobuf.ByteString + getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endTime_ = b; return b; } else { @@ -1296,16 +1120,11 @@ public com.google.protobuf.ByteString getEndTimeBytes() { public static final int PROGRESS_FIELD_NUMBER = 12; private com.google.container.v1beta1.OperationProgress progress_; /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the progress field is set. */ @java.lang.Override @@ -1313,34 +1132,23 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The progress. */ @java.lang.Override public com.google.container.v1beta1.OperationProgress getProgress() { - return progress_ == null - ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuilder() { @@ -1350,89 +1158,64 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuil public static final int CLUSTER_CONDITIONS_FIELD_NUMBER = 13; private java.util.List clusterConditions_; /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List getClusterConditionsList() { + @java.lang.Deprecated public java.util.List getClusterConditionsList() { return clusterConditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List + @java.lang.Deprecated public java.util.List getClusterConditionsOrBuilderList() { return clusterConditions_; } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public int getClusterConditionsCount() { + @java.lang.Deprecated public int getClusterConditionsCount() { return clusterConditions_.size(); } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { return clusterConditions_.get(index); } /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( int index) { return clusterConditions_.get(index); } @@ -1440,89 +1223,64 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getClusterCondition public static final int NODEPOOL_CONDITIONS_FIELD_NUMBER = 14; private java.util.List nodepoolConditions_; /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List getNodepoolConditionsList() { + @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { return nodepoolConditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List + @java.lang.Deprecated public java.util.List getNodepoolConditionsOrBuilderList() { return nodepoolConditions_; } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public int getNodepoolConditionsCount() { + @java.lang.Deprecated public int getNodepoolConditionsCount() { return nodepoolConditions_.size(); } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { return nodepoolConditions_.get(index); } /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { return nodepoolConditions_.get(index); } @@ -1530,14 +1288,11 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditio public static final int ERROR_FIELD_NUMBER = 15; private com.google.rpc.Status error_; /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return Whether the error field is set. */ @java.lang.Override @@ -1545,14 +1300,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return The error. */ @java.lang.Override @@ -1560,8 +1312,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The error result of the operation in case of failure.
    * 
@@ -1574,7 +1324,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1586,15 +1335,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, zone_); } - if (operationType_ - != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { + if (operationType_ != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationType_); } if (status_ != com.google.container.v1beta1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { @@ -1648,12 +1397,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } - if (operationType_ - != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationType_); + if (operationType_ != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operationType_); } if (status_ != com.google.container.v1beta1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -1677,18 +1427,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, endTime_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getProgress()); } for (int i = 0; i < clusterConditions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(13, clusterConditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, clusterConditions_.get(i)); } for (int i = 0; i < nodepoolConditions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(14, nodepoolConditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, nodepoolConditions_.get(i)); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getError()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1698,33 +1450,46 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Operation)) { return super.equals(obj); } com.google.container.v1beta1.Operation other = (com.google.container.v1beta1.Operation) obj; - if (!getName().equals(other.getName())) return false; - if (!getZone().equals(other.getZone())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getZone() + .equals(other.getZone())) return false; if (operationType_ != other.operationType_) return false; if (status_ != other.status_) return false; - if (!getDetail().equals(other.getDetail())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; - if (!getSelfLink().equals(other.getSelfLink())) return false; - if (!getTargetLink().equals(other.getTargetLink())) return false; - if (!getLocation().equals(other.getLocation())) return false; - if (!getStartTime().equals(other.getStartTime())) return false; - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getDetail() + .equals(other.getDetail())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; + if (!getSelfLink() + .equals(other.getSelfLink())) return false; + if (!getTargetLink() + .equals(other.getTargetLink())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } - if (!getClusterConditionsList().equals(other.getClusterConditionsList())) return false; - if (!getNodepoolConditionsList().equals(other.getNodepoolConditionsList())) return false; + if (!getClusterConditionsList() + .equals(other.getClusterConditionsList())) return false; + if (!getNodepoolConditionsList() + .equals(other.getNodepoolConditionsList())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1780,104 +1545,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Operation parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Operation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Operation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Operation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Operation parseFrom( 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.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.Operation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Operation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Operation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.Operation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.Operation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.Operation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * This operation resource represents operations that may have happened or are
    * happening on the cluster. All fields are output only.
@@ -1885,32 +1643,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.Operation}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Operation)
       com.google.container.v1beta1.OperationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_Operation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_Operation_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.Operation.class,
-              com.google.container.v1beta1.Operation.Builder.class);
+              com.google.container.v1beta1.Operation.class, com.google.container.v1beta1.Operation.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.Operation.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1966,9 +1725,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_Operation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_descriptor;
     }
 
     @java.lang.Override
@@ -1987,8 +1746,7 @@ public com.google.container.v1beta1.Operation build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.Operation buildPartial() {
-      com.google.container.v1beta1.Operation result =
-          new com.google.container.v1beta1.Operation(this);
+      com.google.container.v1beta1.Operation result = new com.google.container.v1beta1.Operation(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.zone_ = zone_;
@@ -2037,39 +1795,38 @@ public com.google.container.v1beta1.Operation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.Operation) {
-        return mergeFrom((com.google.container.v1beta1.Operation) other);
+        return mergeFrom((com.google.container.v1beta1.Operation)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2141,10 +1898,9 @@ public Builder mergeFrom(com.google.container.v1beta1.Operation other) {
             clusterConditionsBuilder_ = null;
             clusterConditions_ = other.clusterConditions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            clusterConditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getClusterConditionsFieldBuilder()
-                    : null;
+            clusterConditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getClusterConditionsFieldBuilder() : null;
           } else {
             clusterConditionsBuilder_.addAllMessages(other.clusterConditions_);
           }
@@ -2168,10 +1924,9 @@ public Builder mergeFrom(com.google.container.v1beta1.Operation other) {
             nodepoolConditionsBuilder_ = null;
             nodepoolConditions_ = other.nodepoolConditions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            nodepoolConditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getNodepoolConditionsFieldBuilder()
-                    : null;
+            nodepoolConditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getNodepoolConditionsFieldBuilder() : null;
           } else {
             nodepoolConditionsBuilder_.addAllMessages(other.nodepoolConditions_);
           }
@@ -2206,145 +1961,132 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                operationType_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                status_ = input.readEnum();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                statusMessage_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                selfLink_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 58:
-              {
-                targetLink_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                detail_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 66
-            case 74:
-              {
-                location_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 82:
-              {
-                startTime_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 82
-            case 90:
-              {
-                endTime_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 98
-            case 106:
-              {
-                com.google.container.v1beta1.StatusCondition m =
-                    input.readMessage(
-                        com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry);
-                if (clusterConditionsBuilder_ == null) {
-                  ensureClusterConditionsIsMutable();
-                  clusterConditions_.add(m);
-                } else {
-                  clusterConditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 106
-            case 114:
-              {
-                com.google.container.v1beta1.StatusCondition m =
-                    input.readMessage(
-                        com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry);
-                if (nodepoolConditionsBuilder_ == null) {
-                  ensureNodepoolConditionsIsMutable();
-                  nodepoolConditions_.add(m);
-                } else {
-                  nodepoolConditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 114
-            case 122:
-              {
-                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 122
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
-          } // switch (tag)
-        } // while (!done)
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              operationType_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 32: {
+              status_ = input.readEnum();
+
+              break;
+            } // case 32
+            case 42: {
+              statusMessage_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              selfLink_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 58: {
+              targetLink_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              detail_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 66
+            case 74: {
+              location_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 82: {
+              startTime_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 82
+            case 90: {
+              endTime_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 98
+            case 106: {
+              com.google.container.v1beta1.StatusCondition m =
+                  input.readMessage(
+                      com.google.container.v1beta1.StatusCondition.parser(),
+                      extensionRegistry);
+              if (clusterConditionsBuilder_ == null) {
+                ensureClusterConditionsIsMutable();
+                clusterConditions_.add(m);
+              } else {
+                clusterConditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 106
+            case 114: {
+              com.google.container.v1beta1.StatusCondition m =
+                  input.readMessage(
+                      com.google.container.v1beta1.StatusCondition.parser(),
+                      extensionRegistry);
+              if (nodepoolConditionsBuilder_ == null) {
+                ensureNodepoolConditionsIsMutable();
+                nodepoolConditions_.add(m);
+              } else {
+                nodepoolConditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getErrorFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 122
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
+          } // switch (tag)
+        } // while (!done)
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
         throw e.unwrapIOException();
       } finally {
         onChanged();
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2353,21 +2095,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2375,61 +2116,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2437,8 +2171,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2446,16 +2178,15 @@ 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=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2464,8 +2195,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2473,17 +2202,17 @@ 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=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -2491,8 +2220,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2500,25 +2227,22 @@ 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=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2526,21 +2250,17 @@ 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=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2548,19 +2268,18 @@ public Builder clearZone() {
      * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2568,65 +2287,51 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private int operationType_ = 0; /** - * - * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @return The operationType. */ @java.lang.Override public com.google.container.v1beta1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Type result = - com.google.container.v1beta1.Operation.Type.valueOf(operationType_); + com.google.container.v1beta1.Operation.Type result = com.google.container.v1beta1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1beta1.Operation.Type.UNRECOGNIZED : result; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @param value The operationType to set. * @return This builder for chaining. */ @@ -2634,24 +2339,21 @@ public Builder setOperationType(com.google.container.v1beta1.Operation.Type valu if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -2659,65 +2361,51 @@ public Builder clearOperationType() { private int status_ = 0; /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = - com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @param value The status to set. * @return This builder for chaining. */ @@ -2725,24 +2413,21 @@ public Builder setStatus(com.google.container.v1beta1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -2750,20 +2435,18 @@ public Builder clearStatus() { private java.lang.Object detail_ = ""; /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; @@ -2772,21 +2455,20 @@ public java.lang.String getDetail() { } } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @return The bytes for detail. */ - public com.google.protobuf.ByteString getDetailBytes() { + public com.google.protobuf.ByteString + getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); detail_ = b; return b; } else { @@ -2794,61 +2476,54 @@ public com.google.protobuf.ByteString getDetailBytes() { } } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @param value The detail to set. * @return This builder for chaining. */ - public Builder setDetail(java.lang.String value) { + public Builder setDetail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detail_ = value; onChanged(); return this; } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @return This builder for chaining. */ public Builder clearDetail() { - + detail_ = getDefaultInstance().getDetail(); onChanged(); return this; } /** - * - * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; - * * @param value The bytes for detail to set. * @return This builder for chaining. */ - public Builder setDetailBytes(com.google.protobuf.ByteString value) { + public Builder setDetailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detail_ = value; onChanged(); return this; @@ -2856,26 +2531,21 @@ public Builder setDetailBytes(com.google.protobuf.ByteString value) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @return The statusMessage. */ - @java.lang.Deprecated - public java.lang.String getStatusMessage() { + @java.lang.Deprecated public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -2884,27 +2554,23 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getStatusMessageBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -2912,79 +2578,63 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessage(java.lang.String value) { + @java.lang.Deprecated public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearStatusMessage() { - + @java.lang.Deprecated public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -2992,20 +2642,18 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object selfLink_ = ""; /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -3014,21 +2662,20 @@ public java.lang.String getSelfLink() { } } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString getSelfLinkBytes() { + public com.google.protobuf.ByteString + getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selfLink_ = b; return b; } else { @@ -3036,61 +2683,54 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink(java.lang.String value) { + public Builder setSelfLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** - * - * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; - * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -3098,20 +2738,18 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetLink_ = ""; /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @return The targetLink. */ public java.lang.String getTargetLink() { java.lang.Object ref = targetLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; @@ -3120,21 +2758,20 @@ public java.lang.String getTargetLink() { } } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @return The bytes for targetLink. */ - public com.google.protobuf.ByteString getTargetLinkBytes() { + public com.google.protobuf.ByteString + getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetLink_ = b; return b; } else { @@ -3142,61 +2779,54 @@ public com.google.protobuf.ByteString getTargetLinkBytes() { } } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @param value The targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLink(java.lang.String value) { + public Builder setTargetLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetLink_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @return This builder for chaining. */ public Builder clearTargetLink() { - + targetLink_ = getDefaultInstance().getTargetLink(); onChanged(); return this; } /** - * - * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; - * * @param value The bytes for targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { + public Builder setTargetLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetLink_ = value; onChanged(); return this; @@ -3204,8 +2834,6 @@ public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3215,13 +2843,13 @@ public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) {
      * 
* * string location = 9; - * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -3230,8 +2858,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3241,14 +2867,15 @@ public java.lang.String getLocation() {
      * 
* * string location = 9; - * * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3256,8 +2883,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3267,22 +2892,20 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * 
* * string location = 9; - * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3292,18 +2915,15 @@ public Builder setLocation(java.lang.String value) {
      * 
* * string location = 9; - * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** - * - * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -3313,16 +2933,16 @@ public Builder clearLocation() {
      * 
* * string location = 9; - * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -3330,21 +2950,19 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object startTime_ = ""; /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -3353,22 +2971,21 @@ public java.lang.String getStartTime() { } } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString getStartTimeBytes() { + public com.google.protobuf.ByteString + getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startTime_ = b; return b; } else { @@ -3376,64 +2993,57 @@ public com.google.protobuf.ByteString getStartTimeBytes() { } } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime(java.lang.String value) { + public Builder setStartTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; - * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -3441,21 +3051,19 @@ public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { private java.lang.Object endTime_ = ""; /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @return The endTime. */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; @@ -3464,22 +3072,21 @@ public java.lang.String getEndTime() { } } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @return The bytes for endTime. */ - public com.google.protobuf.ByteString getEndTimeBytes() { + public com.google.protobuf.ByteString + getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endTime_ = b; return b; } else { @@ -3487,64 +3094,57 @@ public com.google.protobuf.ByteString getEndTimeBytes() { } } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @param value The endTime to set. * @return This builder for chaining. */ - public Builder setEndTime(java.lang.String value) { + public Builder setEndTime( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endTime_ = value; onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @return This builder for chaining. */ public Builder clearEndTime() { - + endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** - * - * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; - * * @param value The bytes for endTime to set. * @return This builder for chaining. */ - public Builder setEndTimeBytes(com.google.protobuf.ByteString value) { + public Builder setEndTimeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endTime_ = value; onChanged(); return this; @@ -3552,58 +3152,39 @@ public Builder setEndTimeBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, - com.google.container.v1beta1.OperationProgress.Builder, - com.google.container.v1beta1.OperationProgressOrBuilder> - progressBuilder_; + com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the progress field is set. */ public boolean hasProgress() { return progressBuilder_ != null || progress_ != null; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The progress. */ public com.google.container.v1beta1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null - ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProgress(com.google.container.v1beta1.OperationProgress value) { if (progressBuilder_ == null) { @@ -3619,15 +3200,11 @@ public Builder setProgress(com.google.container.v1beta1.OperationProgress value) return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setProgress( com.google.container.v1beta1.OperationProgress.Builder builderForValue) { @@ -3641,23 +3218,17 @@ public Builder setProgress( return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeProgress(com.google.container.v1beta1.OperationProgress value) { if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.container.v1beta1.OperationProgress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } @@ -3669,15 +3240,11 @@ public Builder mergeProgress(com.google.container.v1beta1.OperationProgress valu return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearProgress() { if (progressBuilder_ == null) { @@ -3691,101 +3258,74 @@ public Builder clearProgress() { return this; } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1beta1.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.container.v1beta1.OperationProgress.getDefaultInstance() : progress_; } } /** - * - * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, - com.google.container.v1beta1.OperationProgress.Builder, - com.google.container.v1beta1.OperationProgressOrBuilder> + com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, - com.google.container.v1beta1.OperationProgress.Builder, - com.google.container.v1beta1.OperationProgressOrBuilder>( - getProgress(), getParentForChildren(), isClean()); + progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder>( + getProgress(), + getParentForChildren(), + isClean()); progress_ = null; } return progressBuilder_; } private java.util.List clusterConditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClusterConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - clusterConditions_ = - new java.util.ArrayList( - clusterConditions_); + clusterConditions_ = new java.util.ArrayList(clusterConditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder> - clusterConditionsBuilder_; + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> clusterConditionsBuilder_; /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List getClusterConditionsList() { + @java.lang.Deprecated public java.util.List getClusterConditionsList() { if (clusterConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(clusterConditions_); } else { @@ -3793,19 +3333,14 @@ public java.util.List getClusterCo } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public int getClusterConditionsCount() { + @java.lang.Deprecated public int getClusterConditionsCount() { if (clusterConditionsBuilder_ == null) { return clusterConditions_.size(); } else { @@ -3813,19 +3348,14 @@ public int getClusterConditionsCount() { } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { return clusterConditions_.get(index); } else { @@ -3833,19 +3363,14 @@ public com.google.container.v1beta1.StatusCondition getClusterConditions(int ind } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setClusterConditions( + @java.lang.Deprecated public Builder setClusterConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { @@ -3860,19 +3385,14 @@ public Builder setClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setClusterConditions( + @java.lang.Deprecated public Builder setClusterConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3884,19 +3404,14 @@ public Builder setClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions(com.google.container.v1beta1.StatusCondition value) { + @java.lang.Deprecated public Builder addClusterConditions(com.google.container.v1beta1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3910,19 +3425,14 @@ public Builder addClusterConditions(com.google.container.v1beta1.StatusCondition return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions( + @java.lang.Deprecated public Builder addClusterConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { @@ -3937,19 +3447,14 @@ public Builder addClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions( + @java.lang.Deprecated public Builder addClusterConditions( com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3961,19 +3466,14 @@ public Builder addClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addClusterConditions( + @java.lang.Deprecated public Builder addClusterConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3985,23 +3485,19 @@ public Builder addClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAllClusterConditions( + @java.lang.Deprecated public Builder addAllClusterConditions( java.lang.Iterable values) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterConditions_); onChanged(); } else { clusterConditionsBuilder_.addAllMessages(values); @@ -4009,19 +3505,14 @@ public Builder addAllClusterConditions( return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearClusterConditions() { + @java.lang.Deprecated public Builder clearClusterConditions() { if (clusterConditionsBuilder_ == null) { clusterConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -4032,19 +3523,14 @@ public Builder clearClusterConditions() { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public Builder removeClusterConditions(int index) { + @java.lang.Deprecated public Builder removeClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); clusterConditions_.remove(index); @@ -4055,58 +3541,42 @@ public Builder removeClusterConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Builder getClusterConditionsBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder getClusterConditionsBuilder( int index) { return getClusterConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( int index) { if (clusterConditionsBuilder_ == null) { - return clusterConditions_.get(index); - } else { + return clusterConditions_.get(index); } else { return clusterConditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getClusterConditionsOrBuilderList() { + @java.lang.Deprecated public java.util.List + getClusterConditionsOrBuilderList() { if (clusterConditionsBuilder_ != null) { return clusterConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -4114,69 +3584,48 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getClusterCondition } } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder() { - return getClusterConditionsFieldBuilder() - .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder() { + return getClusterConditionsFieldBuilder().addBuilder( + com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder( int index) { - return getClusterConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getClusterConditionsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getClusterConditionsBuilderList() { + @java.lang.Deprecated public java.util.List + getClusterConditionsBuilderList() { return getClusterConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> getClusterConditionsFieldBuilder() { if (clusterConditionsBuilder_ == null) { - clusterConditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder>( + clusterConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( clusterConditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4187,38 +3636,26 @@ public com.google.container.v1beta1.StatusCondition.Builder addClusterConditions } private java.util.List nodepoolConditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureNodepoolConditionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nodepoolConditions_ = - new java.util.ArrayList( - nodepoolConditions_); + nodepoolConditions_ = new java.util.ArrayList(nodepoolConditions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder> - nodepoolConditionsBuilder_; + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> nodepoolConditionsBuilder_; /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getNodepoolConditionsList() { + @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { if (nodepoolConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(nodepoolConditions_); } else { @@ -4226,19 +3663,14 @@ private void ensureNodepoolConditionsIsMutable() { } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public int getNodepoolConditionsCount() { + @java.lang.Deprecated public int getNodepoolConditionsCount() { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.size(); } else { @@ -4246,19 +3678,14 @@ public int getNodepoolConditionsCount() { } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.get(index); } else { @@ -4266,19 +3693,14 @@ public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int in } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setNodepoolConditions( + @java.lang.Deprecated public Builder setNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { @@ -4293,19 +3715,14 @@ public Builder setNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setNodepoolConditions( + @java.lang.Deprecated public Builder setNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -4317,19 +3734,14 @@ public Builder setNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions(com.google.container.v1beta1.StatusCondition value) { + @java.lang.Deprecated public Builder addNodepoolConditions(com.google.container.v1beta1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4343,19 +3755,14 @@ public Builder addNodepoolConditions(com.google.container.v1beta1.StatusConditio return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions( + @java.lang.Deprecated public Builder addNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { @@ -4370,19 +3777,14 @@ public Builder addNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions( + @java.lang.Deprecated public Builder addNodepoolConditions( com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -4394,19 +3796,14 @@ public Builder addNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addNodepoolConditions( + @java.lang.Deprecated public Builder addNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -4418,23 +3815,19 @@ public Builder addNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAllNodepoolConditions( + @java.lang.Deprecated public Builder addAllNodepoolConditions( java.lang.Iterable values) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodepoolConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodepoolConditions_); onChanged(); } else { nodepoolConditionsBuilder_.addAllMessages(values); @@ -4442,19 +3835,14 @@ public Builder addAllNodepoolConditions( return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearNodepoolConditions() { + @java.lang.Deprecated public Builder clearNodepoolConditions() { if (nodepoolConditionsBuilder_ == null) { nodepoolConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); @@ -4465,19 +3853,14 @@ public Builder clearNodepoolConditions() { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public Builder removeNodepoolConditions(int index) { + @java.lang.Deprecated public Builder removeNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); nodepoolConditions_.remove(index); @@ -4488,58 +3871,42 @@ public Builder removeNodepoolConditions(int index) { return this; } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Builder getNodepoolConditionsBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder getNodepoolConditionsBuilder( int index) { return getNodepoolConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { if (nodepoolConditionsBuilder_ == null) { - return nodepoolConditions_.get(index); - } else { + return nodepoolConditions_.get(index); } else { return nodepoolConditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getNodepoolConditionsOrBuilderList() { + @java.lang.Deprecated public java.util.List + getNodepoolConditionsOrBuilderList() { if (nodepoolConditionsBuilder_ != null) { return nodepoolConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -4547,69 +3914,48 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditio } } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder() { - return getNodepoolConditionsFieldBuilder() - .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder() { + return getNodepoolConditionsFieldBuilder().addBuilder( + com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder( + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder( int index) { - return getNodepoolConditionsFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getNodepoolConditionsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** - * - * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List - getNodepoolConditionsBuilderList() { + @java.lang.Deprecated public java.util.List + getNodepoolConditionsBuilderList() { return getNodepoolConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> getNodepoolConditionsFieldBuilder() { if (nodepoolConditionsBuilder_ == null) { - nodepoolConditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, - com.google.container.v1beta1.StatusCondition.Builder, - com.google.container.v1beta1.StatusConditionOrBuilder>( + nodepoolConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( nodepoolConditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -4621,31 +3967,24 @@ public com.google.container.v1beta1.StatusCondition.Builder addNodepoolCondition private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; /** - * - * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -4656,8 +3995,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4678,15 +4015,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -4697,8 +4033,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4708,7 +4042,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -4720,8 +4055,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4740,8 +4073,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4749,13 +4080,11 @@ public Builder clearError() { * .google.rpc.Status error = 15; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4766,12 +4095,11 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? + com.google.rpc.Status.getDefaultInstance() : error_; } } /** - * - * *
      * The error result of the operation in case of failure.
      * 
@@ -4779,21 +4107,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4803,12 +4131,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Operation) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Operation) private static final com.google.container.v1beta1.Operation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Operation(); } @@ -4817,27 +4145,27 @@ public static com.google.container.v1beta1.Operation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4852,4 +4180,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Operation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java index e2ef95f757c6..1f5b9908d176 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface OperationOrBuilder - extends +public interface OperationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Operation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,16 +35,12 @@ public interface OperationOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -75,179 +48,138 @@ public interface OperationOrBuilder
    * 
* * string zone = 2 [deprecated = true]; - * - * @deprecated google.container.v1beta1.Operation.zone is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2262 + * @deprecated google.container.v1beta1.Operation.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2264 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** - * - * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; - * * @return The operationType. */ com.google.container.v1beta1.Operation.Type getOperationType(); /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; - * * @return The status. */ com.google.container.v1beta1.Operation.Status getStatus(); /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The detail. */ java.lang.String getDetail(); /** - * - * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; - * * @return The bytes for detail. */ - com.google.protobuf.ByteString getDetailBytes(); + com.google.protobuf.ByteString + getDetailBytes(); /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @return The statusMessage. */ - @java.lang.Deprecated - java.lang.String getStatusMessage(); + @java.lang.Deprecated java.lang.String getStatusMessage(); /** - * - * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2275 + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2277 * @return The bytes for statusMessage. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getStatusMessageBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getStatusMessageBytes(); /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The selfLink. */ java.lang.String getSelfLink(); /** - * - * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; - * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString getSelfLinkBytes(); + com.google.protobuf.ByteString + getSelfLinkBytes(); /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The targetLink. */ java.lang.String getTargetLink(); /** - * - * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; - * * @return The bytes for targetLink. */ - com.google.protobuf.ByteString getTargetLinkBytes(); + com.google.protobuf.ByteString + getTargetLinkBytes(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -257,13 +189,10 @@ public interface OperationOrBuilder
    * 
* * string location = 9; - * * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -273,277 +202,199 @@ public interface OperationOrBuilder
    * 
* * string location = 9; - * * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The startTime. */ java.lang.String getStartTime(); /** - * - * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; - * * @return The bytes for startTime. */ - com.google.protobuf.ByteString getStartTimeBytes(); + com.google.protobuf.ByteString + getStartTimeBytes(); /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The endTime. */ java.lang.String getEndTime(); /** - * - * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; - * * @return The bytes for endTime. */ - com.google.protobuf.ByteString getEndTimeBytes(); + com.google.protobuf.ByteString + getEndTimeBytes(); /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The progress. */ com.google.container.v1beta1.OperationProgress getProgress(); /** - * - * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuilder(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List getClusterConditionsList(); + @java.lang.Deprecated java.util.List + getClusterConditionsList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1beta1.StatusCondition getClusterConditions(int index); + @java.lang.Deprecated com.google.container.v1beta1.StatusCondition getClusterConditions(int index); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - int getClusterConditionsCount(); + @java.lang.Deprecated int getClusterConditionsCount(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List + @java.lang.Deprecated java.util.List getClusterConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder(int index); + @java.lang.Deprecated com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + int index); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List getNodepoolConditionsList(); + @java.lang.Deprecated java.util.List + getNodepoolConditionsList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index); + @java.lang.Deprecated com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - int getNodepoolConditionsCount(); + @java.lang.Deprecated int getNodepoolConditionsCount(); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List + @java.lang.Deprecated java.util.List getNodepoolConditionsOrBuilderList(); /** - * - * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; - * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index); + @java.lang.Deprecated com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + int index); /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The error result of the operation in case of failure.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java similarity index 76% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java index 87d0dff278bb..74158c2ab411 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Information about operation (or operation stage) progress.
  * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress} */ -public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3 - implements +public final class OperationProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.OperationProgress) OperationProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use OperationProgress.newBuilder() to construct. private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private OperationProgress() { name_ = ""; status_ = 0; @@ -46,211 +28,177 @@ private OperationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.class, - com.google.container.v1beta1.OperationProgress.Builder.class); + com.google.container.v1beta1.OperationProgress.class, com.google.container.v1beta1.OperationProgress.Builder.class); } - public interface MetricOrBuilder - extends + public interface MetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.OperationProgress.Metric) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ boolean hasIntValue(); /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return The intValue. */ long getIntValue(); /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return The doubleValue. */ double getDoubleValue(); /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); public com.google.container.v1beta1.OperationProgress.Metric.ValueCase getValueCase(); } /** - * - * *
    * Progress metric is (string, int|float|string) pair.
    * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress.Metric} */ - public static final class Metric extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Metric extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.OperationProgress.Metric) MetricOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metric.newBuilder() to construct. private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Metric() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Metric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.Metric.class, - com.google.container.v1beta1.OperationProgress.Metric.Builder.class); + com.google.container.v1beta1.OperationProgress.Metric.class, com.google.container.v1beta1.OperationProgress.Metric.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; - public enum ValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT_VALUE(2), DOUBLE_VALUE(3), STRING_VALUE(4), VALUE_NOT_SET(0); private final int value; - private ValueCase(int value) { this.value = value; } @@ -266,39 +214,32 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 2: - return INT_VALUE; - case 3: - return DOUBLE_VALUE; - case 4: - return STRING_VALUE; - case 0: - return VALUE_NOT_SET; - default: - return null; + case 2: return INT_VALUE; + case 3: return DOUBLE_VALUE; + case 4: return STRING_VALUE; + case 0: return VALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -307,29 +248,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -339,14 +280,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INT_VALUE_FIELD_NUMBER = 2; /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ @java.lang.Override @@ -354,14 +292,11 @@ public boolean hasIntValue() { return valueCase_ == 2; } /** - * - * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; - * * @return The intValue. */ @java.lang.Override @@ -374,14 +309,11 @@ public long getIntValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -389,14 +321,11 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -409,28 +338,22 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -441,7 +364,8 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -450,24 +374,23 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -478,7 +401,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -490,15 +412,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (valueCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) value_)); + output.writeInt64( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble(3, (double) ((java.lang.Double) value_)); + output.writeDouble( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -516,14 +441,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (valueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) value_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 3, (double) ((java.lang.Double) value_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 3, (double)((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); @@ -536,26 +461,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.OperationProgress.Metric)) { return super.equals(obj); } - com.google.container.v1beta1.OperationProgress.Metric other = - (com.google.container.v1beta1.OperationProgress.Metric) obj; + com.google.container.v1beta1.OperationProgress.Metric other = (com.google.container.v1beta1.OperationProgress.Metric) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 2: - if (getIntValue() != other.getIntValue()) return false; + if (getIntValue() + != other.getIntValue()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits( + other.getDoubleValue())) return false; break; case 4: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 0: default: @@ -576,14 +504,13 @@ public int hashCode() { switch (valueCase_) { case 2: hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIntValue()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -598,94 +525,87 @@ public int hashCode() { } public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress.Metric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( 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.OperationProgress.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.OperationProgress.Metric parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.OperationProgress.Metric parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.OperationProgress.Metric parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.OperationProgress.Metric prototype) { + public static Builder newBuilder(com.google.container.v1beta1.OperationProgress.Metric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -695,41 +615,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Progress metric is (string, int|float|string) pair.
      * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress.Metric} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.OperationProgress.Metric) com.google.container.v1beta1.OperationProgress.MetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.Metric.class, - com.google.container.v1beta1.OperationProgress.Metric.Builder.class); + com.google.container.v1beta1.OperationProgress.Metric.class, com.google.container.v1beta1.OperationProgress.Metric.Builder.class); } // Construct using com.google.container.v1beta1.OperationProgress.Metric.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -741,9 +659,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; } @java.lang.Override @@ -762,8 +680,7 @@ public com.google.container.v1beta1.OperationProgress.Metric build() { @java.lang.Override public com.google.container.v1beta1.OperationProgress.Metric buildPartial() { - com.google.container.v1beta1.OperationProgress.Metric result = - new com.google.container.v1beta1.OperationProgress.Metric(this); + com.google.container.v1beta1.OperationProgress.Metric result = new com.google.container.v1beta1.OperationProgress.Metric(this); result.name_ = name_; if (valueCase_ == 2) { result.value_ = value_; @@ -783,41 +700,38 @@ public com.google.container.v1beta1.OperationProgress.Metric buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.OperationProgress.Metric) { - return mergeFrom((com.google.container.v1beta1.OperationProgress.Metric) other); + return mergeFrom((com.google.container.v1beta1.OperationProgress.Metric)other); } else { super.mergeFrom(other); return this; @@ -825,34 +739,29 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.OperationProgress.Metric other) { - if (other == com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } switch (other.getValueCase()) { - case INT_VALUE: - { - setIntValue(other.getIntValue()); - break; - } - case DOUBLE_VALUE: - { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: - { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case VALUE_NOT_SET: - { - break; - } + case INT_VALUE: { + setIntValue(other.getIntValue()); + break; + } + case DOUBLE_VALUE: { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case VALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -880,38 +789,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } // case 16 - case 25: - { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } // case 25 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } // case 16 + case 25: { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } // case 25 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + 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) { @@ -921,12 +825,12 @@ public Builder mergeFrom( } // finally return this; } - private int valueCase_ = 0; private java.lang.Object value_; - - public ValueCase getValueCase() { - return ValueCase.forNumber(valueCase_); + public ValueCase + getValueCase() { + return ValueCase.forNumber( + valueCase_); } public Builder clearValue() { @@ -936,22 +840,21 @@ public Builder clearValue() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -960,21 +863,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -982,89 +884,76 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @return Whether the intValue field is set. */ public boolean hasIntValue() { return valueCase_ == 2; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @return The intValue. */ public long getIntValue() { @@ -1074,14 +963,11 @@ public long getIntValue() { return 0L; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @param value The intValue to set. * @return This builder for chaining. */ @@ -1092,14 +978,11 @@ public Builder setIntValue(long value) { return this; } /** - * - * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; - * * @return This builder for chaining. */ public Builder clearIntValue() { @@ -1112,28 +995,22 @@ public Builder clearIntValue() { } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @return The doubleValue. */ public double getDoubleValue() { @@ -1143,14 +1020,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1161,14 +1035,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1181,14 +1052,11 @@ public Builder clearDoubleValue() { } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1196,14 +1064,11 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return The stringValue. */ @java.lang.Override @@ -1213,7 +1078,8 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1224,25 +1090,24 @@ public java.lang.String getStringValue() { } } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString getStringValueBytes() { + public com.google.protobuf.ByteString + getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1252,35 +1117,30 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { + public Builder setStringValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1292,28 +1152,25 @@ public Builder clearStringValue() { return this; } /** - * - * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1326,12 +1183,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.OperationProgress.Metric) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.OperationProgress.Metric) private static final com.google.container.v1beta1.OperationProgress.Metric DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.OperationProgress.Metric(); } @@ -1340,28 +1197,27 @@ public static com.google.container.v1beta1.OperationProgress.Metric getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1376,20 +1232,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.OperationProgress.Metric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1398,30 +1252,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1432,46 +1286,35 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int STATUS_FIELD_NUMBER = 2; private int status_; /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1beta1.Operation.Status getStatus() { + @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = - com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** - * - * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1488,8 +1331,6 @@ public java.util.List get
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1502,13 +1343,11 @@ public java.util.List get
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1525,8 +1364,6 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1543,8 +1380,6 @@ public com.google.container.v1beta1.OperationProgress.Metric getMetrics(int inde
     return metrics_.get(index);
   }
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1565,8 +1400,6 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
   public static final int STAGES_FIELD_NUMBER = 4;
   private java.util.List stages_;
   /**
-   *
-   *
    * 
    * Substages of an operation or a stage.
    * 
@@ -1578,8 +1411,6 @@ public java.util.List getStagesL return stages_; } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1587,13 +1418,11 @@ public java.util.List getStagesL * repeated .google.container.v1beta1.OperationProgress stages = 4; */ @java.lang.Override - public java.util.List + public java.util.List getStagesOrBuilderList() { return stages_; } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1605,8 +1434,6 @@ public int getStagesCount() { return stages_.size(); } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1618,8 +1445,6 @@ public com.google.container.v1beta1.OperationProgress getStages(int index) { return stages_.get(index); } /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -1627,12 +1452,12 @@ public com.google.container.v1beta1.OperationProgress getStages(int index) { * repeated .google.container.v1beta1.OperationProgress stages = 4; */ @java.lang.Override - public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder(int index) { + public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder( + int index) { return stages_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1644,7 +1469,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1670,13 +1496,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (status_ != com.google.container.v1beta1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, status_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, status_); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < stages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, stages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, stages_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1686,18 +1515,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.OperationProgress)) { return super.equals(obj); } - com.google.container.v1beta1.OperationProgress other = - (com.google.container.v1beta1.OperationProgress) obj; + com.google.container.v1beta1.OperationProgress other = (com.google.container.v1beta1.OperationProgress) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (status_ != other.status_) return false; - if (!getMetricsList().equals(other.getMetricsList())) return false; - if (!getStagesList().equals(other.getStagesList())) return false; + if (!getMetricsList() + .equals(other.getMetricsList())) return false; + if (!getStagesList() + .equals(other.getStagesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1726,136 +1557,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.OperationProgress parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.OperationProgress parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.OperationProgress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.OperationProgress parseFrom( 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.OperationProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.OperationProgress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.OperationProgress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.OperationProgress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.OperationProgress parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.OperationProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.OperationProgress parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.OperationProgress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.OperationProgress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.OperationProgress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about operation (or operation stage) progress.
    * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.OperationProgress) com.google.container.v1beta1.OperationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.class, - com.google.container.v1beta1.OperationProgress.Builder.class); + com.google.container.v1beta1.OperationProgress.class, com.google.container.v1beta1.OperationProgress.Builder.class); } // Construct using com.google.container.v1beta1.OperationProgress.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1881,9 +1706,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_OperationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_descriptor; } @java.lang.Override @@ -1902,8 +1727,7 @@ public com.google.container.v1beta1.OperationProgress build() { @java.lang.Override public com.google.container.v1beta1.OperationProgress buildPartial() { - com.google.container.v1beta1.OperationProgress result = - new com.google.container.v1beta1.OperationProgress(this); + com.google.container.v1beta1.OperationProgress result = new com.google.container.v1beta1.OperationProgress(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.status_ = status_; @@ -1933,39 +1757,38 @@ public com.google.container.v1beta1.OperationProgress buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.OperationProgress) { - return mergeFrom((com.google.container.v1beta1.OperationProgress) other); + return mergeFrom((com.google.container.v1beta1.OperationProgress)other); } else { super.mergeFrom(other); return this; @@ -1999,10 +1822,9 @@ public Builder mergeFrom(com.google.container.v1beta1.OperationProgress other) { metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000001); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() - : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -2026,10 +1848,9 @@ public Builder mergeFrom(com.google.container.v1beta1.OperationProgress other) { stagesBuilder_ = null; stages_ = other.stages_; bitField0_ = (bitField0_ & ~0x00000002); - stagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStagesFieldBuilder() - : null; + stagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStagesFieldBuilder() : null; } else { stagesBuilder_.addAllMessages(other.stages_); } @@ -2061,52 +1882,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: - { - status_ = input.readEnum(); + break; + } // case 10 + case 16: { + status_ = input.readEnum(); - break; - } // case 16 - case 26: - { - com.google.container.v1beta1.OperationProgress.Metric m = - input.readMessage( - com.google.container.v1beta1.OperationProgress.Metric.parser(), - extensionRegistry); - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(m); - } else { - metricsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - com.google.container.v1beta1.OperationProgress m = - input.readMessage( - com.google.container.v1beta1.OperationProgress.parser(), extensionRegistry); - if (stagesBuilder_ == null) { - ensureStagesIsMutable(); - stages_.add(m); - } else { - stagesBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 26: { + com.google.container.v1beta1.OperationProgress.Metric m = + input.readMessage( + com.google.container.v1beta1.OperationProgress.Metric.parser(), + extensionRegistry); + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(m); + } else { + metricsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + com.google.container.v1beta1.OperationProgress m = + input.readMessage( + com.google.container.v1beta1.OperationProgress.parser(), + extensionRegistry); + if (stagesBuilder_ == null) { + ensureStagesIsMutable(); + stages_.add(m); + } else { + stagesBuilder_.addMessage(m); + } + 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) { @@ -2116,26 +1933,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2144,22 +1958,21 @@ public java.lang.String getName() { } } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2167,64 +1980,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2232,69 +2038,55 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = - com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @param value The status to set. * @return This builder for chaining. */ @@ -2302,51 +2094,40 @@ public Builder setStatus(com.google.container.v1beta1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } private java.util.List metrics_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - metrics_ = - new java.util.ArrayList( - metrics_); + metrics_ = new java.util.ArrayList(metrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.OperationProgress.Metric, - com.google.container.v1beta1.OperationProgress.Metric.Builder, - com.google.container.v1beta1.OperationProgress.MetricOrBuilder> - metricsBuilder_; + com.google.container.v1beta1.OperationProgress.Metric, com.google.container.v1beta1.OperationProgress.Metric.Builder, com.google.container.v1beta1.OperationProgress.MetricOrBuilder> metricsBuilder_; /** - * - * *
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2366,8 +2147,6 @@ public java.util.List get
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2387,8 +2166,6 @@ public int getMetricsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2408,8 +2185,6 @@ public com.google.container.v1beta1.OperationProgress.Metric getMetrics(int inde
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2436,8 +2211,6 @@ public Builder setMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2461,8 +2234,6 @@ public Builder setMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2488,8 +2259,6 @@ public Builder addMetrics(com.google.container.v1beta1.OperationProgress.Metric
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2516,8 +2285,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2541,8 +2308,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2566,8 +2331,6 @@ public Builder addMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2580,11 +2343,11 @@ public Builder addMetrics(
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
     public Builder addAllMetrics(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -2592,8 +2355,6 @@ public Builder addAllMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2616,8 +2377,6 @@ public Builder clearMetrics() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2640,8 +2399,6 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2658,8 +2415,6 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder getMetricsB
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2674,14 +2429,11 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder getMetricsB
     public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
         int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);
-      } else {
+        return metrics_.get(index);  } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2693,8 +2445,8 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
      *
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List
-        getMetricsOrBuilderList() {
+    public java.util.List 
+         getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2702,8 +2454,6 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
       }
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2716,12 +2466,10 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
     public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder()
-          .addBuilder(com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder().addBuilder(
+          com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2735,13 +2483,10 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsB
      */
     public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsBuilder(
         int index) {
-      return getMetricsFieldBuilder()
-          .addBuilder(
-              index, com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder().addBuilder(
+          index, com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2753,47 +2498,38 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsB
      *
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List
-        getMetricsBuilderList() {
+    public java.util.List 
+         getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.OperationProgress.Metric,
-            com.google.container.v1beta1.OperationProgress.Metric.Builder,
-            com.google.container.v1beta1.OperationProgress.MetricOrBuilder>
+        com.google.container.v1beta1.OperationProgress.Metric, com.google.container.v1beta1.OperationProgress.Metric.Builder, com.google.container.v1beta1.OperationProgress.MetricOrBuilder> 
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.container.v1beta1.OperationProgress.Metric,
-                com.google.container.v1beta1.OperationProgress.Metric.Builder,
-                com.google.container.v1beta1.OperationProgress.MetricOrBuilder>(
-                metrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.container.v1beta1.OperationProgress.Metric, com.google.container.v1beta1.OperationProgress.Metric.Builder, com.google.container.v1beta1.OperationProgress.MetricOrBuilder>(
+                metrics_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List stages_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureStagesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         stages_ = new java.util.ArrayList(stages_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.OperationProgress,
-            com.google.container.v1beta1.OperationProgress.Builder,
-            com.google.container.v1beta1.OperationProgressOrBuilder>
-        stagesBuilder_;
+        com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> stagesBuilder_;
 
     /**
-     *
-     *
      * 
      * Substages of an operation or a stage.
      * 
@@ -2808,8 +2544,6 @@ public java.util.List getStagesL } } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2824,8 +2558,6 @@ public int getStagesCount() { } } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2840,15 +2572,14 @@ public com.google.container.v1beta1.OperationProgress getStages(int index) { } } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public Builder setStages(int index, com.google.container.v1beta1.OperationProgress value) { + public Builder setStages( + int index, com.google.container.v1beta1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2862,8 +2593,6 @@ public Builder setStages(int index, com.google.container.v1beta1.OperationProgre return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2882,8 +2611,6 @@ public Builder setStages( return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2904,15 +2631,14 @@ public Builder addStages(com.google.container.v1beta1.OperationProgress value) { return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public Builder addStages(int index, com.google.container.v1beta1.OperationProgress value) { + public Builder addStages( + int index, com.google.container.v1beta1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2926,8 +2652,6 @@ public Builder addStages(int index, com.google.container.v1beta1.OperationProgre return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2946,8 +2670,6 @@ public Builder addStages( return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2966,8 +2688,6 @@ public Builder addStages( return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -2978,7 +2698,8 @@ public Builder addAllStages( java.lang.Iterable values) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stages_); onChanged(); } else { stagesBuilder_.addAllMessages(values); @@ -2986,8 +2707,6 @@ public Builder addAllStages( return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -3005,8 +2724,6 @@ public Builder clearStages() { return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -3024,44 +2741,39 @@ public Builder removeStages(int index) { return this; } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public com.google.container.v1beta1.OperationProgress.Builder getStagesBuilder(int index) { + public com.google.container.v1beta1.OperationProgress.Builder getStagesBuilder( + int index) { return getStagesFieldBuilder().getBuilder(index); } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder(int index) { + public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder( + int index) { if (stagesBuilder_ == null) { - return stages_.get(index); - } else { + return stages_.get(index); } else { return stagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public java.util.List - getStagesOrBuilderList() { + public java.util.List + getStagesOrBuilderList() { if (stagesBuilder_ != null) { return stagesBuilder_.getMessageOrBuilderList(); } else { @@ -3069,8 +2781,6 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilde } } /** - * - * *
      * Substages of an operation or a stage.
      * 
@@ -3078,55 +2788,49 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilde * repeated .google.container.v1beta1.OperationProgress stages = 4; */ public com.google.container.v1beta1.OperationProgress.Builder addStagesBuilder() { - return getStagesFieldBuilder() - .addBuilder(com.google.container.v1beta1.OperationProgress.getDefaultInstance()); + return getStagesFieldBuilder().addBuilder( + com.google.container.v1beta1.OperationProgress.getDefaultInstance()); } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public com.google.container.v1beta1.OperationProgress.Builder addStagesBuilder(int index) { - return getStagesFieldBuilder() - .addBuilder(index, com.google.container.v1beta1.OperationProgress.getDefaultInstance()); + public com.google.container.v1beta1.OperationProgress.Builder addStagesBuilder( + int index) { + return getStagesFieldBuilder().addBuilder( + index, com.google.container.v1beta1.OperationProgress.getDefaultInstance()); } /** - * - * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public java.util.List - getStagesBuilderList() { + public java.util.List + getStagesBuilderList() { return getStagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, - com.google.container.v1beta1.OperationProgress.Builder, - com.google.container.v1beta1.OperationProgressOrBuilder> + com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> getStagesFieldBuilder() { if (stagesBuilder_ == null) { - stagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, - com.google.container.v1beta1.OperationProgress.Builder, - com.google.container.v1beta1.OperationProgressOrBuilder>( - stages_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder>( + stages_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); stages_ = null; } return stagesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3136,12 +2840,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.OperationProgress) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.OperationProgress) private static final com.google.container.v1beta1.OperationProgress DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.OperationProgress(); } @@ -3150,27 +2854,27 @@ public static com.google.container.v1beta1.OperationProgress getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3185,4 +2889,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.OperationProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java similarity index 82% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java index e8750c66636d..41b9a60e5cec 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java @@ -1,85 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface OperationProgressOrBuilder - extends +public interface OperationProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.OperationProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; - * * @return The status. */ com.google.container.v1beta1.Operation.Status getStatus(); /** - * - * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -91,10 +62,9 @@ public interface OperationProgressOrBuilder
    *
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List getMetricsList();
+  java.util.List 
+      getMetricsList();
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -108,8 +78,6 @@ public interface OperationProgressOrBuilder
    */
   com.google.container.v1beta1.OperationProgress.Metric getMetrics(int index);
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -123,8 +91,6 @@ public interface OperationProgressOrBuilder
    */
   int getMetricsCount();
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -136,11 +102,9 @@ public interface OperationProgressOrBuilder
    *
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List
+  java.util.List 
       getMetricsOrBuilderList();
   /**
-   *
-   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -152,21 +116,19 @@ public interface OperationProgressOrBuilder
    *
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
-  com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(int index);
+  com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - java.util.List getStagesList(); + java.util.List + getStagesList(); /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -175,8 +137,6 @@ public interface OperationProgressOrBuilder */ com.google.container.v1beta1.OperationProgress getStages(int index); /** - * - * *
    * Substages of an operation or a stage.
    * 
@@ -185,24 +145,21 @@ public interface OperationProgressOrBuilder */ int getStagesCount(); /** - * - * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - java.util.List + java.util.List getStagesOrBuilderList(); /** - * - * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder(int index); + com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder( + int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java index 61cedb6b7225..68e19360b2b7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java @@ -1,82 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for the PodSecurityPolicy feature.
  * 
* * Protobuf type {@code google.container.v1beta1.PodSecurityPolicyConfig} */ -public final class PodSecurityPolicyConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PodSecurityPolicyConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.PodSecurityPolicyConfig) PodSecurityPolicyConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PodSecurityPolicyConfig.newBuilder() to construct. private PodSecurityPolicyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PodSecurityPolicyConfig() {} + private PodSecurityPolicyConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PodSecurityPolicyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PodSecurityPolicyConfig.class, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); + com.google.container.v1beta1.PodSecurityPolicyConfig.class, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
    * must be valid under a PodSecurityPolicy to be created.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -85,7 +64,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -111,7 +90,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -121,15 +101,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.PodSecurityPolicyConfig)) { return super.equals(obj); } - com.google.container.v1beta1.PodSecurityPolicyConfig other = - (com.google.container.v1beta1.PodSecurityPolicyConfig) obj; + com.google.container.v1beta1.PodSecurityPolicyConfig other = (com.google.container.v1beta1.PodSecurityPolicyConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,142 +122,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PodSecurityPolicyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( 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.PodSecurityPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.PodSecurityPolicyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * Protobuf type {@code google.container.v1beta1.PodSecurityPolicyConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.PodSecurityPolicyConfig) com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PodSecurityPolicyConfig.class, - com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); + com.google.container.v1beta1.PodSecurityPolicyConfig.class, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); } // Construct using com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -287,9 +262,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; } @java.lang.Override @@ -308,8 +283,7 @@ public com.google.container.v1beta1.PodSecurityPolicyConfig build() { @java.lang.Override public com.google.container.v1beta1.PodSecurityPolicyConfig buildPartial() { - com.google.container.v1beta1.PodSecurityPolicyConfig result = - new com.google.container.v1beta1.PodSecurityPolicyConfig(this); + com.google.container.v1beta1.PodSecurityPolicyConfig result = new com.google.container.v1beta1.PodSecurityPolicyConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -319,39 +293,38 @@ public com.google.container.v1beta1.PodSecurityPolicyConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.PodSecurityPolicyConfig) { - return mergeFrom((com.google.container.v1beta1.PodSecurityPolicyConfig) other); + return mergeFrom((com.google.container.v1beta1.PodSecurityPolicyConfig)other); } else { super.mergeFrom(other); return this; @@ -359,8 +332,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.PodSecurityPolicyConfig other) { - if (other == com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -390,19 +362,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -413,17 +383,14 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
      * must be valid under a PodSecurityPolicy to be created.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -431,45 +398,39 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
      * must be valid under a PodSecurityPolicy to be created.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
      * must be valid under a PodSecurityPolicy to be created.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -479,12 +440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.PodSecurityPolicyConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.PodSecurityPolicyConfig) private static final com.google.container.v1beta1.PodSecurityPolicyConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.PodSecurityPolicyConfig(); } @@ -493,27 +454,27 @@ public static com.google.container.v1beta1.PodSecurityPolicyConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PodSecurityPolicyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PodSecurityPolicyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -528,4 +489,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.PodSecurityPolicyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java new file mode 100644 index 000000000000..e0ccdfc96eda --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface PodSecurityPolicyConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PodSecurityPolicyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
+   * must be valid under a PodSecurityPolicy to be created.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java index 0a2d07288686..67b7307c7bb1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration options for private clusters.
  * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterConfig} */ -public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrivateClusterConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.PrivateClusterConfig) PrivateClusterConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrivateClusterConfig.newBuilder() to construct. private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrivateClusterConfig() { masterIpv4CidrBlock_ = ""; privateEndpoint_ = ""; @@ -47,35 +29,32 @@ private PrivateClusterConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivateClusterConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterConfig.class, - com.google.container.v1beta1.PrivateClusterConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterConfig.class, com.google.container.v1beta1.PrivateClusterConfig.Builder.class); } public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 1; private boolean enablePrivateNodes_; /** - * - * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool enable_private_nodes = 1; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -94,14 +72,11 @@ public boolean getEnablePrivateNodes() { public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 2; private boolean enablePrivateEndpoint_; /** - * - * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -112,8 +87,6 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4CidrBlock_; /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -122,7 +95,6 @@ public boolean getEnablePrivateEndpoint() {
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -131,15 +103,14 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -148,15 +119,16 @@ public java.lang.String getMasterIpv4CidrBlock() {
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -167,14 +139,11 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { public static final int PRIVATE_ENDPOINT_FIELD_NUMBER = 4; private volatile java.lang.Object privateEndpoint_; /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The privateEndpoint. */ @java.lang.Override @@ -183,29 +152,29 @@ public java.lang.String getPrivateEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; } } /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The bytes for privateEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateEndpointBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -216,14 +185,11 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { public static final int PUBLIC_ENDPOINT_FIELD_NUMBER = 5; private volatile java.lang.Object publicEndpoint_; /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The publicEndpoint. */ @java.lang.Override @@ -232,29 +198,29 @@ public java.lang.String getPublicEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; } } /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The bytes for publicEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString getPublicEndpointBytes() { + public com.google.protobuf.ByteString + getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -265,14 +231,11 @@ public com.google.protobuf.ByteString getPublicEndpointBytes() { public static final int PEERING_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object peeringName_; /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The peeringName. */ @java.lang.Override @@ -281,29 +244,29 @@ public java.lang.String getPeeringName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; } } /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The bytes for peeringName. */ @java.lang.Override - public com.google.protobuf.ByteString getPeeringNameBytes() { + public com.google.protobuf.ByteString + getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); peeringName_ = b; return b; } else { @@ -312,19 +275,13 @@ public com.google.protobuf.ByteString getPeeringNameBytes() { } public static final int MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER = 8; - private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - masterGlobalAccessConfig_; + private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Override @@ -332,54 +289,38 @@ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfig_ != null; } /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return The masterGlobalAccessConfig. */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - getMasterGlobalAccessConfig() { - return masterGlobalAccessConfig_ == null - ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() - : masterGlobalAccessConfig_; + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { + return masterGlobalAccessConfig_ == null ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; } /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder - getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { return getMasterGlobalAccessConfig(); } public static final int PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER = 10; private volatile java.lang.Object privateEndpointSubnetwork_; /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The privateEndpointSubnetwork. */ @java.lang.Override @@ -388,30 +329,30 @@ public java.lang.String getPrivateEndpointSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; } } /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -420,7 +361,6 @@ public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -432,7 +372,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enablePrivateNodes_ != false) { output.writeBool(1, enablePrivateNodes_); } @@ -467,10 +408,12 @@ public int getSerializedSize() { size = 0; if (enablePrivateNodes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enablePrivateNodes_); } if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, masterIpv4CidrBlock_); @@ -485,13 +428,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, peeringName_); } if (masterGlobalAccessConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, getMasterGlobalAccessConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getMasterGlobalAccessConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateEndpointSubnetwork_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -501,25 +442,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.container.v1beta1.PrivateClusterConfig other = - (com.google.container.v1beta1.PrivateClusterConfig) obj; - - if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; - if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; - if (!getPrivateEndpoint().equals(other.getPrivateEndpoint())) return false; - if (!getPublicEndpoint().equals(other.getPublicEndpoint())) return false; - if (!getPeeringName().equals(other.getPeeringName())) return false; + com.google.container.v1beta1.PrivateClusterConfig other = (com.google.container.v1beta1.PrivateClusterConfig) obj; + + if (getEnablePrivateNodes() + != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateEndpoint() + != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock() + .equals(other.getMasterIpv4CidrBlock())) return false; + if (!getPrivateEndpoint() + .equals(other.getPrivateEndpoint())) return false; + if (!getPublicEndpoint() + .equals(other.getPublicEndpoint())) return false; + if (!getPeeringName() + .equals(other.getPeeringName())) return false; if (hasMasterGlobalAccessConfig() != other.hasMasterGlobalAccessConfig()) return false; if (hasMasterGlobalAccessConfig()) { - if (!getMasterGlobalAccessConfig().equals(other.getMasterGlobalAccessConfig())) return false; + if (!getMasterGlobalAccessConfig() + .equals(other.getMasterGlobalAccessConfig())) return false; } - if (!getPrivateEndpointSubnetwork().equals(other.getPrivateEndpointSubnetwork())) return false; + if (!getPrivateEndpointSubnetwork() + .equals(other.getPrivateEndpointSubnetwork())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -532,9 +480,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateNodes()); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + PRIVATE_ENDPOINT_FIELD_NUMBER; @@ -555,135 +505,129 @@ public int hashCode() { } public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( 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.PrivateClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.PrivateClusterConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PrivateClusterConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration options for private clusters.
    * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.PrivateClusterConfig) com.google.container.v1beta1.PrivateClusterConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterConfig.class, - com.google.container.v1beta1.PrivateClusterConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterConfig.class, com.google.container.v1beta1.PrivateClusterConfig.Builder.class); } // Construct using com.google.container.v1beta1.PrivateClusterConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -711,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; } @java.lang.Override @@ -732,8 +676,7 @@ public com.google.container.v1beta1.PrivateClusterConfig build() { @java.lang.Override public com.google.container.v1beta1.PrivateClusterConfig buildPartial() { - com.google.container.v1beta1.PrivateClusterConfig result = - new com.google.container.v1beta1.PrivateClusterConfig(this); + com.google.container.v1beta1.PrivateClusterConfig result = new com.google.container.v1beta1.PrivateClusterConfig(this); result.enablePrivateNodes_ = enablePrivateNodes_; result.enablePrivateEndpoint_ = enablePrivateEndpoint_; result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_; @@ -754,39 +697,38 @@ public com.google.container.v1beta1.PrivateClusterConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.PrivateClusterConfig) { - return mergeFrom((com.google.container.v1beta1.PrivateClusterConfig) other); + return mergeFrom((com.google.container.v1beta1.PrivateClusterConfig)other); } else { super.mergeFrom(other); return this; @@ -794,8 +736,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.PrivateClusterConfig other) { - if (other == com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance()) return this; if (other.getEnablePrivateNodes() != false) { setEnablePrivateNodes(other.getEnablePrivateNodes()); } @@ -851,62 +792,54 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enablePrivateNodes_ = input.readBool(); - - break; - } // case 8 - case 16: - { - enablePrivateEndpoint_ = input.readBool(); - - break; - } // case 16 - case 26: - { - masterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - privateEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - publicEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 58: - { - peeringName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: - { - input.readMessage( - getMasterGlobalAccessConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 82: - { - privateEndpointSubnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enablePrivateNodes_ = input.readBool(); + + break; + } // case 8 + case 16: { + enablePrivateEndpoint_ = input.readBool(); + + break; + } // case 16 + case 26: { + masterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + privateEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + publicEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 58: { + peeringName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: { + input.readMessage( + getMasterGlobalAccessConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + case 82: { + privateEndpointSubnetwork_ = input.readStringRequireUtf8(); + + 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) { @@ -917,10 +850,8 @@ public Builder mergeFrom( return this; } - private boolean enablePrivateNodes_; + private boolean enablePrivateNodes_ ; /** - * - * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -928,7 +859,6 @@ public Builder mergeFrom(
      * 
* * bool enable_private_nodes = 1; - * * @return The enablePrivateNodes. */ @java.lang.Override @@ -936,8 +866,6 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** - * - * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -945,19 +873,16 @@ public boolean getEnablePrivateNodes() {
      * 
* * bool enable_private_nodes = 1; - * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ public Builder setEnablePrivateNodes(boolean value) { - + enablePrivateNodes_ = value; onChanged(); return this; } /** - * - * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -965,26 +890,22 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * bool enable_private_nodes = 1; - * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { - + enablePrivateNodes_ = false; onChanged(); return this; } - private boolean enablePrivateEndpoint_; + private boolean enablePrivateEndpoint_ ; /** - * - * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; - * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -992,36 +913,30 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** - * - * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; - * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; - * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -1029,8 +944,6 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1039,13 +952,13 @@ public Builder clearEnablePrivateEndpoint() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -1054,8 +967,6 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1064,14 +975,15 @@ public java.lang.String getMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -1079,8 +991,6 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { } } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1089,22 +999,20 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock(java.lang.String value) { + public Builder setMasterIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1113,18 +1021,15 @@ public Builder setMasterIpv4CidrBlock(java.lang.String value) {
      * 
* * string master_ipv4_cidr_block = 3; - * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1133,16 +1038,16 @@ public Builder clearMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; - * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -1150,20 +1055,18 @@ public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) private java.lang.Object privateEndpoint_ = ""; /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @return The privateEndpoint. */ public java.lang.String getPrivateEndpoint() { java.lang.Object ref = privateEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; @@ -1172,21 +1075,20 @@ public java.lang.String getPrivateEndpoint() { } } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @return The bytes for privateEndpoint. */ - public com.google.protobuf.ByteString getPrivateEndpointBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -1194,61 +1096,54 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { } } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @param value The privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpoint(java.lang.String value) { + public Builder setPrivateEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @return This builder for chaining. */ public Builder clearPrivateEndpoint() { - + privateEndpoint_ = getDefaultInstance().getPrivateEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; - * * @param value The bytes for privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpoint_ = value; onChanged(); return this; @@ -1256,20 +1151,18 @@ public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object publicEndpoint_ = ""; /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @return The publicEndpoint. */ public java.lang.String getPublicEndpoint() { java.lang.Object ref = publicEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; @@ -1278,21 +1171,20 @@ public java.lang.String getPublicEndpoint() { } } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @return The bytes for publicEndpoint. */ - public com.google.protobuf.ByteString getPublicEndpointBytes() { + public com.google.protobuf.ByteString + getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -1300,61 +1192,54 @@ public com.google.protobuf.ByteString getPublicEndpointBytes() { } } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @param value The publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpoint(java.lang.String value) { + public Builder setPublicEndpoint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicEndpoint_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @return This builder for chaining. */ public Builder clearPublicEndpoint() { - + publicEndpoint_ = getDefaultInstance().getPublicEndpoint(); onChanged(); return this; } /** - * - * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; - * * @param value The bytes for publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpointBytes(com.google.protobuf.ByteString value) { + public Builder setPublicEndpointBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicEndpoint_ = value; onChanged(); return this; @@ -1362,20 +1247,18 @@ public Builder setPublicEndpointBytes(com.google.protobuf.ByteString value) { private java.lang.Object peeringName_ = ""; /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @return The peeringName. */ public java.lang.String getPeeringName() { java.lang.Object ref = peeringName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; @@ -1384,21 +1267,20 @@ public java.lang.String getPeeringName() { } } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @return The bytes for peeringName. */ - public com.google.protobuf.ByteString getPeeringNameBytes() { + public com.google.protobuf.ByteString + getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); peeringName_ = b; return b; } else { @@ -1406,126 +1288,96 @@ public com.google.protobuf.ByteString getPeeringNameBytes() { } } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @param value The peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringName(java.lang.String value) { + public Builder setPeeringName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + peeringName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @return This builder for chaining. */ public Builder clearPeeringName() { - + peeringName_ = getDefaultInstance().getPeeringName(); onChanged(); return this; } /** - * - * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; - * * @param value The bytes for peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringNameBytes(com.google.protobuf.ByteString value) { + public Builder setPeeringNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peeringName_ = value; onChanged(); return this; } - private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - masterGlobalAccessConfig_; + private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> - masterGlobalAccessConfigBuilder_; + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> masterGlobalAccessConfigBuilder_; /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return Whether the masterGlobalAccessConfig field is set. */ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfigBuilder_ != null || masterGlobalAccessConfig_ != null; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return The masterGlobalAccessConfig. */ - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - getMasterGlobalAccessConfig() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { - return masterGlobalAccessConfig_ == null - ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - .getDefaultInstance() - : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; } else { return masterGlobalAccessConfigBuilder_.getMessage(); } } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public Builder setMasterGlobalAccessConfig( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder setMasterGlobalAccessConfig(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1539,19 +1391,14 @@ public Builder setMasterGlobalAccessConfig( return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ public Builder setMasterGlobalAccessConfig( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder - builderForValue) { + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder builderForValue) { if (masterGlobalAccessConfigBuilder_ == null) { masterGlobalAccessConfig_ = builderForValue.build(); onChanged(); @@ -1562,25 +1409,17 @@ public Builder setMasterGlobalAccessConfig( return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public Builder mergeMasterGlobalAccessConfig( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder mergeMasterGlobalAccessConfig(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (masterGlobalAccessConfig_ != null) { masterGlobalAccessConfig_ = - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder( - masterGlobalAccessConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder(masterGlobalAccessConfig_).mergeFrom(value).buildPartial(); } else { masterGlobalAccessConfig_ = value; } @@ -1592,15 +1431,11 @@ public Builder mergeMasterGlobalAccessConfig( return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ public Builder clearMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { @@ -1614,67 +1449,48 @@ public Builder clearMasterGlobalAccessConfig() { return this; } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder - getMasterGlobalAccessConfigBuilder() { - + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder getMasterGlobalAccessConfigBuilder() { + onChanged(); return getMasterGlobalAccessConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder - getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { if (masterGlobalAccessConfigBuilder_ != null) { return masterGlobalAccessConfigBuilder_.getMessageOrBuilder(); } else { - return masterGlobalAccessConfig_ == null - ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - .getDefaultInstance() - : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null ? + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; } } /** - * - * *
      * Controls master global access settings.
      * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> getMasterGlobalAccessConfigFieldBuilder() { if (masterGlobalAccessConfigBuilder_ == null) { - masterGlobalAccessConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( - getMasterGlobalAccessConfig(), getParentForChildren(), isClean()); + masterGlobalAccessConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( + getMasterGlobalAccessConfig(), + getParentForChildren(), + isClean()); masterGlobalAccessConfig_ = null; } return masterGlobalAccessConfigBuilder_; @@ -1682,21 +1498,19 @@ public Builder clearMasterGlobalAccessConfig() { private java.lang.Object privateEndpointSubnetwork_ = ""; /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @return The privateEndpointSubnetwork. */ public java.lang.String getPrivateEndpointSubnetwork() { java.lang.Object ref = privateEndpointSubnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; @@ -1705,22 +1519,21 @@ public java.lang.String getPrivateEndpointSubnetwork() { } } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @return The bytes for privateEndpointSubnetwork. */ - public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString + getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -1728,71 +1541,64 @@ public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { } } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @param value The privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetwork(java.lang.String value) { + public Builder setPrivateEndpointSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpointSubnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @return This builder for chaining. */ public Builder clearPrivateEndpointSubnetwork() { - + privateEndpointSubnetwork_ = getDefaultInstance().getPrivateEndpointSubnetwork(); onChanged(); return this; } /** - * - * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; - * * @param value The bytes for privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpointSubnetwork_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1802,12 +1608,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.PrivateClusterConfig) private static final com.google.container.v1beta1.PrivateClusterConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.PrivateClusterConfig(); } @@ -1816,27 +1622,27 @@ public static com.google.container.v1beta1.PrivateClusterConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1851,4 +1657,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.PrivateClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java index 543dcd1264dd..a3fa6c4d2b32 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface PrivateClusterConfigOrBuilder - extends +public interface PrivateClusterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -33,27 +15,21 @@ public interface PrivateClusterConfigOrBuilder
    * 
* * bool enable_private_nodes = 1; - * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** - * - * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; - * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -62,13 +38,10 @@ public interface PrivateClusterConfigOrBuilder
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** - * - * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -77,152 +50,117 @@ public interface PrivateClusterConfigOrBuilder
    * 
* * string master_ipv4_cidr_block = 3; - * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getMasterIpv4CidrBlockBytes(); /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The privateEndpoint. */ java.lang.String getPrivateEndpoint(); /** - * - * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; - * * @return The bytes for privateEndpoint. */ - com.google.protobuf.ByteString getPrivateEndpointBytes(); + com.google.protobuf.ByteString + getPrivateEndpointBytes(); /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The publicEndpoint. */ java.lang.String getPublicEndpoint(); /** - * - * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; - * * @return The bytes for publicEndpoint. */ - com.google.protobuf.ByteString getPublicEndpointBytes(); + com.google.protobuf.ByteString + getPublicEndpointBytes(); /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The peeringName. */ java.lang.String getPeeringName(); /** - * - * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; - * * @return The bytes for peeringName. */ - com.google.protobuf.ByteString getPeeringNameBytes(); + com.google.protobuf.ByteString + getPeeringNameBytes(); /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return Whether the masterGlobalAccessConfig field is set. */ boolean hasMasterGlobalAccessConfig(); /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; * @return The masterGlobalAccessConfig. */ com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig(); /** - * - * *
    * Controls master global access settings.
    * 
* - * - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; - * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; */ - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder - getMasterGlobalAccessConfigOrBuilder(); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder(); /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The privateEndpointSubnetwork. */ java.lang.String getPrivateEndpointSubnetwork(); /** - * - * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; - * * @return The bytes for privateEndpointSubnetwork. */ - com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes(); + com.google.protobuf.ByteString + getPrivateEndpointSubnetworkBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java similarity index 58% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java index 3fd0fbadeda5..637e5e6e56d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java @@ -1,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for controlling master global access settings.
  * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig} */ -public final class PrivateClusterMasterGlobalAccessConfig - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PrivateClusterMasterGlobalAccessConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) PrivateClusterMasterGlobalAccessConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PrivateClusterMasterGlobalAccessConfig.newBuilder() to construct. - private PrivateClusterMasterGlobalAccessConfig( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PrivateClusterMasterGlobalAccessConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PrivateClusterMasterGlobalAccessConfig() {} + private PrivateClusterMasterGlobalAccessConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrivateClusterMasterGlobalAccessConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whenever master is accessible globally or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -86,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -112,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig)) { return super.equals(obj); } - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other = - (com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) obj; + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other = (com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,145 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( 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.PrivateClusterMasterGlobalAccessConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - 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.PrivateClusterMasterGlobalAccessConfig 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.PrivateClusterMasterGlobalAccessConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for controlling master global access settings.
    * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } - // Construct using - // com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder() - private Builder() {} + // Construct using com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -291,16 +261,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - getDefaultInstanceForType() { - return com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - .getDefaultInstance(); + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance(); } @java.lang.Override @@ -314,8 +282,7 @@ public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig build @java.lang.Override public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig buildPartial() { - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig result = - new com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig(this); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig result = new com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -325,51 +292,46 @@ public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.PrivateClusterMasterGlobalAccessConfig) { - return mergeFrom( - (com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) other); + return mergeFrom((com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other) { - if (other - == com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other) { + if (other == com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -399,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -422,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -439,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,43 +436,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) - private static final com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig(); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - getDefaultInstance() { + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -533,8 +482,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig - getDefaultInstanceForType() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java new file mode 100644 index 000000000000..44f44d9c8e79 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface PrivateClusterMasterGlobalAccessConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whenever master is accessible globally or not.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java similarity index 71% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java index 9145e97b9494..d669d06097d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * PrivateIPv6GoogleAccess controls whether and how the pods can communicate
  * with Google Services through gRPC over IPv6.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.container.v1beta1.PrivateIPv6GoogleAccess}
  */
-public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessageEnum {
+public enum PrivateIPv6GoogleAccess
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. Same as DISABLED
    * 
@@ -40,8 +22,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED(0), /** - * - * *
    * No private access to or from Google Services
    * 
@@ -50,8 +30,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED(1), /** - * - * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -60,8 +38,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE(2), /** - * - * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -73,8 +49,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa ; /** - * - * *
    * Default value. Same as DISABLED
    * 
@@ -83,8 +57,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE = 0; /** - * - * *
    * No private access to or from Google Services
    * 
@@ -93,8 +65,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED_VALUE = 1; /** - * - * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -103,8 +73,6 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE_VALUE = 2; /** - * - * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -113,6 +81,7 @@ public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessa */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,16 +106,11 @@ public static PrivateIPv6GoogleAccess valueOf(int value) { */ public static PrivateIPv6GoogleAccess forNumber(int value) { switch (value) { - case 0: - return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; - case 1: - return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; - case 2: - return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; - case 3: - return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; - default: - return null; + case 0: return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; + case 1: return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; + case 2: return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; + case 3: return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; + default: return null; } } @@ -154,28 +118,28 @@ public static PrivateIPv6GoogleAccess forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrivateIPv6GoogleAccess findValueByNumber(int number) { - return PrivateIPv6GoogleAccess.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + PrivateIPv6GoogleAccess> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PrivateIPv6GoogleAccess findValueByNumber(int number) { + return PrivateIPv6GoogleAccess.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(0); } @@ -184,7 +148,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static PrivateIPv6GoogleAccess valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -200,3 +165,4 @@ private PrivateIPv6GoogleAccess(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1beta1.PrivateIPv6GoogleAccess) } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java index 12f11866e894..9371dacf3a03 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ProtectConfig defines the flags needed to enable/disable features for the
  * Protect API.
@@ -28,59 +11,54 @@
  *
  * Protobuf type {@code google.container.v1beta1.ProtectConfig}
  */
-public final class ProtectConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ProtectConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ProtectConfig)
     ProtectConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ProtectConfig.newBuilder() to construct.
   private ProtectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ProtectConfig() {
     workloadVulnerabilityMode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ProtectConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ProtectConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ProtectConfig.class,
-            com.google.container.v1beta1.ProtectConfig.Builder.class);
+            com.google.container.v1beta1.ProtectConfig.class, com.google.container.v1beta1.ProtectConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * WorkloadVulnerabilityMode defines mode to perform vulnerability scanning.
    * 
* * Protobuf enum {@code google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode} */ - public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMessageEnum { + public enum WorkloadVulnerabilityMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value not specified.
      * 
@@ -89,8 +67,6 @@ public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMes */ WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED(0), /** - * - * *
      * Disables Workload Vulnerability Scanning feature on the cluster.
      * 
@@ -99,8 +75,6 @@ public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMes */ DISABLED(1), /** - * - * *
      * Applies basic vulnerability scanning settings for cluster workloads.
      * 
@@ -112,8 +86,6 @@ public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMes ; /** - * - * *
      * Default value not specified.
      * 
@@ -122,8 +94,6 @@ public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMes */ public static final int WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Disables Workload Vulnerability Scanning feature on the cluster.
      * 
@@ -132,8 +102,6 @@ public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMes */ public static final int DISABLED_VALUE = 1; /** - * - * *
      * Applies basic vulnerability scanning settings for cluster workloads.
      * 
@@ -142,6 +110,7 @@ public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMes */ public static final int BASIC_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -166,14 +135,10 @@ public static WorkloadVulnerabilityMode valueOf(int value) { */ public static WorkloadVulnerabilityMode forNumber(int value) { switch (value) { - case 0: - return WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED; - case 1: - return DISABLED; - case 2: - return BASIC; - default: - return null; + case 0: return WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED; + case 1: return DISABLED; + case 2: return BASIC; + default: return null; } } @@ -181,28 +146,28 @@ public static WorkloadVulnerabilityMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + WorkloadVulnerabilityMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WorkloadVulnerabilityMode findValueByNumber(int number) { + return WorkloadVulnerabilityMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public WorkloadVulnerabilityMode findValueByNumber(int number) { - return WorkloadVulnerabilityMode.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.ProtectConfig.getDescriptor().getEnumTypes().get(0); } @@ -211,7 +176,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static WorkloadVulnerabilityMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -232,15 +198,12 @@ private WorkloadVulnerabilityMode(int value) { public static final int WORKLOAD_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.WorkloadConfig workloadConfig_; /** - * - * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; - * * @return Whether the workloadConfig field is set. */ @java.lang.Override @@ -248,26 +211,19 @@ public boolean hasWorkloadConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; - * * @return The workloadConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() { - return workloadConfig_ == null - ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() - : workloadConfig_; + return workloadConfig_ == null ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_; } /** - * - * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
@@ -277,74 +233,48 @@ public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() {
    */
   @java.lang.Override
   public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrBuilder() {
-    return workloadConfig_ == null
-        ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()
-        : workloadConfig_;
+    return workloadConfig_ == null ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_;
   }
 
   public static final int WORKLOAD_VULNERABILITY_MODE_FIELD_NUMBER = 2;
   private int workloadVulnerabilityMode_;
   /**
-   *
-   *
    * 
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return Whether the workloadVulnerabilityMode field is set. */ - @java.lang.Override - public boolean hasWorkloadVulnerabilityMode() { + @java.lang.Override public boolean hasWorkloadVulnerabilityMode() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return The enum numeric value on the wire for workloadVulnerabilityMode. */ - @java.lang.Override - public int getWorkloadVulnerabilityModeValue() { + @java.lang.Override public int getWorkloadVulnerabilityModeValue() { return workloadVulnerabilityMode_; } /** - * - * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return The workloadVulnerabilityMode. */ - @java.lang.Override - public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode - getWorkloadVulnerabilityMode() { + @java.lang.Override public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode getWorkloadVulnerabilityMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf( - workloadVulnerabilityMode_); - return result == null - ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf(workloadVulnerabilityMode_); + return result == null ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -356,7 +286,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getWorkloadConfig()); } @@ -373,10 +304,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWorkloadConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWorkloadConfig()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, workloadVulnerabilityMode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, workloadVulnerabilityMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -386,17 +319,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ProtectConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ProtectConfig other = - (com.google.container.v1beta1.ProtectConfig) obj; + com.google.container.v1beta1.ProtectConfig other = (com.google.container.v1beta1.ProtectConfig) obj; if (hasWorkloadConfig() != other.hasWorkloadConfig()) return false; if (hasWorkloadConfig()) { - if (!getWorkloadConfig().equals(other.getWorkloadConfig())) return false; + if (!getWorkloadConfig() + .equals(other.getWorkloadConfig())) return false; } if (hasWorkloadVulnerabilityMode() != other.hasWorkloadVulnerabilityMode()) return false; if (hasWorkloadVulnerabilityMode()) { @@ -426,104 +359,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ProtectConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ProtectConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ProtectConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ProtectConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ProtectConfig parseFrom( 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.ProtectConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ProtectConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ProtectConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ProtectConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ProtectConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ProtectConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ProtectConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ProtectConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ProtectConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ProtectConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ProtectConfig defines the flags needed to enable/disable features for the
    * Protect API.
@@ -531,23 +457,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ProtectConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ProtectConfig)
       com.google.container.v1beta1.ProtectConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ProtectConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ProtectConfig.class,
-              com.google.container.v1beta1.ProtectConfig.Builder.class);
+              com.google.container.v1beta1.ProtectConfig.class, com.google.container.v1beta1.ProtectConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ProtectConfig.newBuilder()
@@ -555,17 +479,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getWorkloadConfigFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -581,9 +505,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ProtectConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_descriptor;
     }
 
     @java.lang.Override
@@ -602,8 +526,7 @@ public com.google.container.v1beta1.ProtectConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ProtectConfig buildPartial() {
-      com.google.container.v1beta1.ProtectConfig result =
-          new com.google.container.v1beta1.ProtectConfig(this);
+      com.google.container.v1beta1.ProtectConfig result = new com.google.container.v1beta1.ProtectConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -627,39 +550,38 @@ public com.google.container.v1beta1.ProtectConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ProtectConfig) {
-        return mergeFrom((com.google.container.v1beta1.ProtectConfig) other);
+        return mergeFrom((com.google.container.v1beta1.ProtectConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -700,25 +622,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getWorkloadConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                workloadVulnerabilityMode_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getWorkloadConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              workloadVulnerabilityMode_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,54 +649,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.container.v1beta1.WorkloadConfig workloadConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadConfig,
-            com.google.container.v1beta1.WorkloadConfig.Builder,
-            com.google.container.v1beta1.WorkloadConfigOrBuilder>
-        workloadConfigBuilder_;
+        com.google.container.v1beta1.WorkloadConfig, com.google.container.v1beta1.WorkloadConfig.Builder, com.google.container.v1beta1.WorkloadConfigOrBuilder> workloadConfigBuilder_;
     /**
-     *
-     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
      * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; - * * @return Whether the workloadConfig field is set. */ public boolean hasWorkloadConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
      * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; - * * @return The workloadConfig. */ public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() { if (workloadConfigBuilder_ == null) { - return workloadConfig_ == null - ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() - : workloadConfig_; + return workloadConfig_ == null ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_; } else { return workloadConfigBuilder_.getMessage(); } } /** - * - * *
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -797,8 +704,6 @@ public Builder setWorkloadConfig(com.google.container.v1beta1.WorkloadConfig val
       return this;
     }
     /**
-     *
-     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -818,8 +723,6 @@ public Builder setWorkloadConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -829,14 +732,11 @@ public Builder setWorkloadConfig(
      */
     public Builder mergeWorkloadConfig(com.google.container.v1beta1.WorkloadConfig value) {
       if (workloadConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && workloadConfig_ != null
-            && workloadConfig_
-                != com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+            workloadConfig_ != null &&
+            workloadConfig_ != com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()) {
           workloadConfig_ =
-              com.google.container.v1beta1.WorkloadConfig.newBuilder(workloadConfig_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.WorkloadConfig.newBuilder(workloadConfig_).mergeFrom(value).buildPartial();
         } else {
           workloadConfig_ = value;
         }
@@ -848,8 +748,6 @@ public Builder mergeWorkloadConfig(com.google.container.v1beta1.WorkloadConfig v
       return this;
     }
     /**
-     *
-     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -868,8 +766,6 @@ public Builder clearWorkloadConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -883,8 +779,6 @@ public com.google.container.v1beta1.WorkloadConfig.Builder getWorkloadConfigBuil
       return getWorkloadConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -896,14 +790,11 @@ public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrB
       if (workloadConfigBuilder_ != null) {
         return workloadConfigBuilder_.getMessageOrBuilder();
       } else {
-        return workloadConfig_ == null
-            ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()
-            : workloadConfig_;
+        return workloadConfig_ == null ?
+            com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -912,17 +803,14 @@ public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrB
      * optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadConfig,
-            com.google.container.v1beta1.WorkloadConfig.Builder,
-            com.google.container.v1beta1.WorkloadConfigOrBuilder>
+        com.google.container.v1beta1.WorkloadConfig, com.google.container.v1beta1.WorkloadConfig.Builder, com.google.container.v1beta1.WorkloadConfigOrBuilder> 
         getWorkloadConfigFieldBuilder() {
       if (workloadConfigBuilder_ == null) {
-        workloadConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.WorkloadConfig,
-                com.google.container.v1beta1.WorkloadConfig.Builder,
-                com.google.container.v1beta1.WorkloadConfigOrBuilder>(
-                getWorkloadConfig(), getParentForChildren(), isClean());
+        workloadConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.WorkloadConfig, com.google.container.v1beta1.WorkloadConfig.Builder, com.google.container.v1beta1.WorkloadConfigOrBuilder>(
+                getWorkloadConfig(),
+                getParentForChildren(),
+                isClean());
         workloadConfig_ = null;
       }
       return workloadConfigBuilder_;
@@ -930,50 +818,33 @@ public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrB
 
     private int workloadVulnerabilityMode_ = 0;
     /**
-     *
-     *
      * 
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return Whether the workloadVulnerabilityMode field is set. */ - @java.lang.Override - public boolean hasWorkloadVulnerabilityMode() { + @java.lang.Override public boolean hasWorkloadVulnerabilityMode() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return The enum numeric value on the wire for workloadVulnerabilityMode. */ - @java.lang.Override - public int getWorkloadVulnerabilityModeValue() { + @java.lang.Override public int getWorkloadVulnerabilityModeValue() { return workloadVulnerabilityMode_; } /** - * - * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @param value The enum numeric value on the wire for workloadVulnerabilityMode to set. * @return This builder for chaining. */ @@ -984,45 +855,29 @@ public Builder setWorkloadVulnerabilityModeValue(int value) { return this; } /** - * - * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return The workloadVulnerabilityMode. */ @java.lang.Override - public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode - getWorkloadVulnerabilityMode() { + public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode getWorkloadVulnerabilityMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf( - workloadVulnerabilityMode_); - return result == null - ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED - : result; + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf(workloadVulnerabilityMode_); + return result == null ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED : result; } /** - * - * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @param value The workloadVulnerabilityMode to set. * @return This builder for chaining. */ - public Builder setWorkloadVulnerabilityMode( - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode value) { + public Builder setWorkloadVulnerabilityMode(com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode value) { if (value == null) { throw new NullPointerException(); } @@ -1032,16 +887,11 @@ public Builder setWorkloadVulnerabilityMode( return this; } /** - * - * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return This builder for chaining. */ public Builder clearWorkloadVulnerabilityMode() { @@ -1050,9 +900,9 @@ public Builder clearWorkloadVulnerabilityMode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1062,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ProtectConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ProtectConfig) private static final com.google.container.v1beta1.ProtectConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ProtectConfig(); } @@ -1076,27 +926,27 @@ public static com.google.container.v1beta1.ProtectConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtectConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtectConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,4 +961,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ProtectConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java index 4c61f3a51870..4391f3115f90 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ProtectConfigOrBuilder - extends +public interface ProtectConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ProtectConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; - * * @return Whether the workloadConfig field is set. */ boolean hasWorkloadConfig(); /** - * - * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; - * * @return The workloadConfig. */ com.google.container.v1beta1.WorkloadConfig getWorkloadConfig(); /** - * - * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
@@ -62,46 +38,30 @@ public interface ProtectConfigOrBuilder
   com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return Whether the workloadVulnerabilityMode field is set. */ boolean hasWorkloadVulnerabilityMode(); /** - * - * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return The enum numeric value on the wire for workloadVulnerabilityMode. */ int getWorkloadVulnerabilityModeValue(); /** - * - * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; - * - * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; * @return The workloadVulnerabilityMode. */ - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode - getWorkloadVulnerabilityMode(); + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode getWorkloadVulnerabilityMode(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java similarity index 75% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java index 688cf2ad46c1..5c819ef79951 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java @@ -1,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Represents an arbitrary window of time that recurs.
  * 
* * Protobuf type {@code google.container.v1beta1.RecurringTimeWindow} */ -public final class RecurringTimeWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RecurringTimeWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.RecurringTimeWindow) RecurringTimeWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RecurringTimeWindow.newBuilder() to construct. private RecurringTimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RecurringTimeWindow() { recurrence_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RecurringTimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.RecurringTimeWindow.class, - com.google.container.v1beta1.RecurringTimeWindow.Builder.class); + com.google.container.v1beta1.RecurringTimeWindow.class, com.google.container.v1beta1.RecurringTimeWindow.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1beta1.TimeWindow window_; /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; - * * @return Whether the window field is set. */ @java.lang.Override @@ -85,14 +63,11 @@ public boolean hasWindow() { return window_ != null; } /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; - * * @return The window. */ @java.lang.Override @@ -100,8 +75,6 @@ public com.google.container.v1beta1.TimeWindow getWindow() { return window_ == null ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() : window_; } /** - * - * *
    * The window of the first recurrence.
    * 
@@ -116,8 +89,6 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int RECURRENCE_FIELD_NUMBER = 2; private volatile java.lang.Object recurrence_; /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -148,7 +119,6 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() {
    * 
* * string recurrence = 2; - * * @return The recurrence. */ @java.lang.Override @@ -157,15 +127,14 @@ public java.lang.String getRecurrence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; } } /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -196,15 +165,16 @@ public java.lang.String getRecurrence() {
    * 
* * string recurrence = 2; - * * @return The bytes for recurrence. */ @java.lang.Override - public com.google.protobuf.ByteString getRecurrenceBytes() { + public com.google.protobuf.ByteString + getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recurrence_ = b; return b; } else { @@ -213,7 +183,6 @@ public com.google.protobuf.ByteString getRecurrenceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +194,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -242,7 +212,8 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recurrence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recurrence_); @@ -255,19 +226,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.RecurringTimeWindow)) { return super.equals(obj); } - com.google.container.v1beta1.RecurringTimeWindow other = - (com.google.container.v1beta1.RecurringTimeWindow) obj; + com.google.container.v1beta1.RecurringTimeWindow other = (com.google.container.v1beta1.RecurringTimeWindow) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow().equals(other.getWindow())) return false; + if (!getWindow() + .equals(other.getWindow())) return false; } - if (!getRecurrence().equals(other.getRecurrence())) return false; + if (!getRecurrence() + .equals(other.getRecurrence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -290,136 +262,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RecurringTimeWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( 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.RecurringTimeWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.RecurringTimeWindow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.RecurringTimeWindow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.RecurringTimeWindow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.RecurringTimeWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents an arbitrary window of time that recurs.
    * 
* * Protobuf type {@code google.container.v1beta1.RecurringTimeWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.RecurringTimeWindow) com.google.container.v1beta1.RecurringTimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.RecurringTimeWindow.class, - com.google.container.v1beta1.RecurringTimeWindow.Builder.class); + com.google.container.v1beta1.RecurringTimeWindow.class, com.google.container.v1beta1.RecurringTimeWindow.Builder.class); } // Construct using com.google.container.v1beta1.RecurringTimeWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +401,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; } @java.lang.Override @@ -456,8 +422,7 @@ public com.google.container.v1beta1.RecurringTimeWindow build() { @java.lang.Override public com.google.container.v1beta1.RecurringTimeWindow buildPartial() { - com.google.container.v1beta1.RecurringTimeWindow result = - new com.google.container.v1beta1.RecurringTimeWindow(this); + com.google.container.v1beta1.RecurringTimeWindow result = new com.google.container.v1beta1.RecurringTimeWindow(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -472,39 +437,38 @@ public com.google.container.v1beta1.RecurringTimeWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.RecurringTimeWindow) { - return mergeFrom((com.google.container.v1beta1.RecurringTimeWindow) other); + return mergeFrom((com.google.container.v1beta1.RecurringTimeWindow)other); } else { super.mergeFrom(other); return this; @@ -512,8 +476,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.RecurringTimeWindow other) { - if (other == com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) return this; if (other.hasWindow()) { mergeWindow(other.getWindow()); } @@ -547,25 +510,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getWindowFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - recurrence_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + recurrence_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -578,47 +540,34 @@ public Builder mergeFrom( private com.google.container.v1beta1.TimeWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TimeWindow, - com.google.container.v1beta1.TimeWindow.Builder, - com.google.container.v1beta1.TimeWindowOrBuilder> - windowBuilder_; + com.google.container.v1beta1.TimeWindow, com.google.container.v1beta1.TimeWindow.Builder, com.google.container.v1beta1.TimeWindowOrBuilder> windowBuilder_; /** - * - * *
      * The window of the first recurrence.
      * 
* * .google.container.v1beta1.TimeWindow window = 1; - * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** - * - * *
      * The window of the first recurrence.
      * 
* * .google.container.v1beta1.TimeWindow window = 1; - * * @return The window. */ public com.google.container.v1beta1.TimeWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null - ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() : window_; } else { return windowBuilder_.getMessage(); } } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -639,15 +588,14 @@ public Builder setWindow(com.google.container.v1beta1.TimeWindow value) { return this; } /** - * - * *
      * The window of the first recurrence.
      * 
* * .google.container.v1beta1.TimeWindow window = 1; */ - public Builder setWindow(com.google.container.v1beta1.TimeWindow.Builder builderForValue) { + public Builder setWindow( + com.google.container.v1beta1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -658,8 +606,6 @@ public Builder setWindow(com.google.container.v1beta1.TimeWindow.Builder builder return this; } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -670,9 +616,7 @@ public Builder mergeWindow(com.google.container.v1beta1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1beta1.TimeWindow.newBuilder(window_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); } else { window_ = value; } @@ -684,8 +628,6 @@ public Builder mergeWindow(com.google.container.v1beta1.TimeWindow value) { return this; } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -704,8 +646,6 @@ public Builder clearWindow() { return this; } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -713,13 +653,11 @@ public Builder clearWindow() { * .google.container.v1beta1.TimeWindow window = 1; */ public com.google.container.v1beta1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -730,14 +668,11 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null - ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() - : window_; + return window_ == null ? + com.google.container.v1beta1.TimeWindow.getDefaultInstance() : window_; } } /** - * - * *
      * The window of the first recurrence.
      * 
@@ -745,17 +680,14 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { * .google.container.v1beta1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TimeWindow, - com.google.container.v1beta1.TimeWindow.Builder, - com.google.container.v1beta1.TimeWindowOrBuilder> + com.google.container.v1beta1.TimeWindow, com.google.container.v1beta1.TimeWindow.Builder, com.google.container.v1beta1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TimeWindow, - com.google.container.v1beta1.TimeWindow.Builder, - com.google.container.v1beta1.TimeWindowOrBuilder>( - getWindow(), getParentForChildren(), isClean()); + windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.TimeWindow, com.google.container.v1beta1.TimeWindow.Builder, com.google.container.v1beta1.TimeWindowOrBuilder>( + getWindow(), + getParentForChildren(), + isClean()); window_ = null; } return windowBuilder_; @@ -763,8 +695,6 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { private java.lang.Object recurrence_ = ""; /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -795,13 +725,13 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() {
      * 
* * string recurrence = 2; - * * @return The recurrence. */ public java.lang.String getRecurrence() { java.lang.Object ref = recurrence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; @@ -810,8 +740,6 @@ public java.lang.String getRecurrence() { } } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -842,14 +770,15 @@ public java.lang.String getRecurrence() {
      * 
* * string recurrence = 2; - * * @return The bytes for recurrence. */ - public com.google.protobuf.ByteString getRecurrenceBytes() { + public com.google.protobuf.ByteString + getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); recurrence_ = b; return b; } else { @@ -857,8 +786,6 @@ public com.google.protobuf.ByteString getRecurrenceBytes() { } } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -889,22 +816,20 @@ public com.google.protobuf.ByteString getRecurrenceBytes() {
      * 
* * string recurrence = 2; - * * @param value The recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrence(java.lang.String value) { + public Builder setRecurrence( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recurrence_ = value; onChanged(); return this; } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -935,18 +860,15 @@ public Builder setRecurrence(java.lang.String value) {
      * 
* * string recurrence = 2; - * * @return This builder for chaining. */ public Builder clearRecurrence() { - + recurrence_ = getDefaultInstance().getRecurrence(); onChanged(); return this; } /** - * - * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -977,23 +899,23 @@ public Builder clearRecurrence() {
      * 
* * string recurrence = 2; - * * @param value The bytes for recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrenceBytes(com.google.protobuf.ByteString value) { + public Builder setRecurrenceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recurrence_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1003,12 +925,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.RecurringTimeWindow) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.RecurringTimeWindow) private static final com.google.container.v1beta1.RecurringTimeWindow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.RecurringTimeWindow(); } @@ -1017,27 +939,27 @@ public static com.google.container.v1beta1.RecurringTimeWindow getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringTimeWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringTimeWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1052,4 +974,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.RecurringTimeWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java similarity index 82% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java index 6c78341937d0..ae5469cba867 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface RecurringTimeWindowOrBuilder - extends +public interface RecurringTimeWindowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.RecurringTimeWindow) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; - * * @return Whether the window field is set. */ boolean hasWindow(); /** - * - * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; - * * @return The window. */ com.google.container.v1beta1.TimeWindow getWindow(); /** - * - * *
    * The window of the first recurrence.
    * 
@@ -59,8 +35,6 @@ public interface RecurringTimeWindowOrBuilder com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder(); /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -91,13 +65,10 @@ public interface RecurringTimeWindowOrBuilder
    * 
* * string recurrence = 2; - * * @return The recurrence. */ java.lang.String getRecurrence(); /** - * - * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -128,8 +99,8 @@ public interface RecurringTimeWindowOrBuilder
    * 
* * string recurrence = 2; - * * @return The bytes for recurrence. */ - com.google.protobuf.ByteString getRecurrenceBytes(); + com.google.protobuf.ByteString + getRecurrenceBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java index 6f5ae866726f..e175fc42804c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * ReleaseChannel indicates which release channel a cluster is
  * subscribed to. Release channels are arranged in order of risk.
@@ -31,59 +14,54 @@
  *
  * Protobuf type {@code google.container.v1beta1.ReleaseChannel}
  */
-public final class ReleaseChannel extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReleaseChannel extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ReleaseChannel)
     ReleaseChannelOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReleaseChannel.newBuilder() to construct.
   private ReleaseChannel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReleaseChannel() {
     channel_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReleaseChannel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ReleaseChannel.class,
-            com.google.container.v1beta1.ReleaseChannel.Builder.class);
+            com.google.container.v1beta1.ReleaseChannel.class, com.google.container.v1beta1.ReleaseChannel.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible values for 'channel'.
    * 
* * Protobuf enum {@code google.container.v1beta1.ReleaseChannel.Channel} */ - public enum Channel implements com.google.protobuf.ProtocolMessageEnum { + public enum Channel + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No channel specified.
      * 
@@ -92,8 +70,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -106,8 +82,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     RAPID(1),
     /**
-     *
-     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -118,8 +92,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGULAR(2),
     /**
-     *
-     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -132,8 +104,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * No channel specified.
      * 
@@ -142,8 +112,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -156,8 +124,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RAPID_VALUE = 1;
     /**
-     *
-     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -168,8 +134,6 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGULAR_VALUE = 2;
     /**
-     *
-     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -179,6 +143,7 @@ public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int STABLE_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -203,51 +168,50 @@ public static Channel valueOf(int value) {
      */
     public static Channel forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return RAPID;
-        case 2:
-          return REGULAR;
-        case 3:
-          return STABLE;
-        default:
-          return null;
+        case 0: return UNSPECIFIED;
+        case 1: return RAPID;
+        case 2: return REGULAR;
+        case 3: return STABLE;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Channel> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Channel findValueByNumber(int number) {
+              return Channel.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Channel findValueByNumber(int number) {
-            return Channel.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.ReleaseChannel.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Channel[] VALUES = values();
 
-    public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Channel valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -267,43 +231,31 @@ private Channel(int value) {
   public static final int CHANNEL_FIELD_NUMBER = 1;
   private int channel_;
   /**
-   *
-   *
    * 
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ - @java.lang.Override - public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { + @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = - com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED - : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,7 +267,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -329,7 +282,8 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,13 +293,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ReleaseChannel)) { return super.equals(obj); } - com.google.container.v1beta1.ReleaseChannel other = - (com.google.container.v1beta1.ReleaseChannel) obj; + com.google.container.v1beta1.ReleaseChannel other = (com.google.container.v1beta1.ReleaseChannel) obj; if (channel_ != other.channel_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -366,104 +319,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ReleaseChannel parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ReleaseChannel parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ReleaseChannel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReleaseChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ReleaseChannel parseFrom( 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.ReleaseChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ReleaseChannel parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ReleaseChannel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ReleaseChannel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ReleaseChannel parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ReleaseChannel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ReleaseChannel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ReleaseChannel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ReleaseChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ReleaseChannel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ReleaseChannel indicates which release channel a cluster is
    * subscribed to. Release channels are arranged in order of risk.
@@ -474,32 +420,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ReleaseChannel}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ReleaseChannel)
       com.google.container.v1beta1.ReleaseChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ReleaseChannel.class,
-              com.google.container.v1beta1.ReleaseChannel.Builder.class);
+              com.google.container.v1beta1.ReleaseChannel.class, com.google.container.v1beta1.ReleaseChannel.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ReleaseChannel.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -509,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
@@ -530,8 +477,7 @@ public com.google.container.v1beta1.ReleaseChannel build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ReleaseChannel buildPartial() {
-      com.google.container.v1beta1.ReleaseChannel result =
-          new com.google.container.v1beta1.ReleaseChannel(this);
+      com.google.container.v1beta1.ReleaseChannel result = new com.google.container.v1beta1.ReleaseChannel(this);
       result.channel_ = channel_;
       onBuilt();
       return result;
@@ -541,39 +487,38 @@ public com.google.container.v1beta1.ReleaseChannel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ReleaseChannel) {
-        return mergeFrom((com.google.container.v1beta1.ReleaseChannel) other);
+        return mergeFrom((com.google.container.v1beta1.ReleaseChannel)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -611,19 +556,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                channel_ = input.readEnum();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              channel_ = input.readEnum();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -636,67 +579,51 @@ public Builder mergeFrom(
 
     private int channel_ = 0;
     /**
-     *
-     *
      * 
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = - com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED - : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @param value The channel to set. * @return This builder for chaining. */ @@ -704,31 +631,28 @@ public Builder setChannel(com.google.container.v1beta1.ReleaseChannel.Channel va if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -738,12 +662,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ReleaseChannel) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ReleaseChannel) private static final com.google.container.v1beta1.ReleaseChannel DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ReleaseChannel(); } @@ -752,27 +676,27 @@ public static com.google.container.v1beta1.ReleaseChannel getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -787,4 +711,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ReleaseChannel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java similarity index 56% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java index c86f79ef70fd..5e51c768b5d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ReleaseChannelOrBuilder - extends +public interface ReleaseChannelOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ReleaseChannel) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** - * - * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ com.google.container.v1beta1.ReleaseChannel.Channel getChannel(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java similarity index 71% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java index db62e35de21d..10518734002d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
  * is the configuration of desired reservation which instances could take
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.ReservationAffinity}
  */
-public final class ReservationAffinity extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReservationAffinity extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ReservationAffinity)
     ReservationAffinityOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReservationAffinity.newBuilder() to construct.
   private ReservationAffinity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReservationAffinity() {
     consumeReservationType_ = 0;
     key_ = "";
@@ -47,43 +29,39 @@ private ReservationAffinity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReservationAffinity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ReservationAffinity.class,
-            com.google.container.v1beta1.ReservationAffinity.Builder.class);
+            com.google.container.v1beta1.ReservationAffinity.class, com.google.container.v1beta1.ReservationAffinity.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Indicates whether to consume capacity from a reservation or not.
    * 
* * Protobuf enum {@code google.container.v1beta1.ReservationAffinity.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This should not be used.
      * 
@@ -92,8 +70,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * Do not consume from any reserved capacity.
      * 
@@ -102,8 +78,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ NO_RESERVATION(1), /** - * - * *
      * Consume any reservation available.
      * 
@@ -112,8 +86,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ ANY_RESERVATION(2), /** - * - * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -126,8 +98,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value. This should not be used.
      * 
@@ -136,8 +106,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not consume from any reserved capacity.
      * 
@@ -146,8 +114,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_RESERVATION_VALUE = 1; /** - * - * *
      * Consume any reservation available.
      * 
@@ -156,8 +122,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANY_RESERVATION_VALUE = 2; /** - * - * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -167,6 +131,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SPECIFIC_RESERVATION_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -191,51 +156,50 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return NO_RESERVATION;
-        case 2:
-          return ANY_RESERVATION;
-        case 3:
-          return SPECIFIC_RESERVATION;
-        default:
-          return null;
+        case 0: return UNSPECIFIED;
+        case 1: return NO_RESERVATION;
+        case 2: return ANY_RESERVATION;
+        case 3: return SPECIFIC_RESERVATION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> 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() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.ReservationAffinity.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -255,46 +219,33 @@ private Type(int value) {
   public static final int CONSUME_RESERVATION_TYPE_FIELD_NUMBER = 1;
   private int consumeReservationType_;
   /**
-   *
-   *
    * 
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override - public int getConsumeReservationTypeValue() { + @java.lang.Override public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** - * - * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The consumeReservationType. */ - @java.lang.Override - public com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType() { + @java.lang.Override public com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReservationAffinity.Type result = - com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); - return result == null - ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED - : result; + com.google.container.v1beta1.ReservationAffinity.Type result = com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); + return result == null ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED : result; } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -303,7 +254,6 @@ public com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservati
    * 
* * string key = 2; - * * @return The key. */ @java.lang.Override @@ -312,15 +262,14 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -329,15 +278,16 @@ public java.lang.String getKey() {
    * 
* * string key = 2; - * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -348,42 +298,34 @@ public com.google.protobuf.ByteString getKeyBytes() { public static final int VALUES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList values_; /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_; } /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -391,23 +333,20 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -419,9 +358,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (consumeReservationType_ - != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (consumeReservationType_ != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { output.writeEnum(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { @@ -439,9 +378,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (consumeReservationType_ - != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, consumeReservationType_); + if (consumeReservationType_ != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); @@ -462,17 +401,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ReservationAffinity)) { return super.equals(obj); } - com.google.container.v1beta1.ReservationAffinity other = - (com.google.container.v1beta1.ReservationAffinity) obj; + com.google.container.v1beta1.ReservationAffinity other = (com.google.container.v1beta1.ReservationAffinity) obj; if (consumeReservationType_ != other.consumeReservationType_) return false; - if (!getKey().equals(other.getKey())) return false; - if (!getValuesList().equals(other.getValuesList())) return false; + if (!getKey() + .equals(other.getKey())) return false; + if (!getValuesList() + .equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -497,104 +437,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ReservationAffinity parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ReservationAffinity parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ReservationAffinity parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReservationAffinity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ReservationAffinity parseFrom( 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.ReservationAffinity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ReservationAffinity parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ReservationAffinity parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ReservationAffinity parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ReservationAffinity parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ReservationAffinity parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ReservationAffinity parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ReservationAffinity parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ReservationAffinity parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ReservationAffinity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ReservationAffinity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
    * is the configuration of desired reservation which instances could take
@@ -603,32 +536,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ReservationAffinity}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ReservationAffinity)
       com.google.container.v1beta1.ReservationAffinityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ReservationAffinity.class,
-              com.google.container.v1beta1.ReservationAffinity.Builder.class);
+              com.google.container.v1beta1.ReservationAffinity.class, com.google.container.v1beta1.ReservationAffinity.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ReservationAffinity.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -642,9 +576,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
@@ -663,8 +597,7 @@ public com.google.container.v1beta1.ReservationAffinity build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ReservationAffinity buildPartial() {
-      com.google.container.v1beta1.ReservationAffinity result =
-          new com.google.container.v1beta1.ReservationAffinity(this);
+      com.google.container.v1beta1.ReservationAffinity result = new com.google.container.v1beta1.ReservationAffinity(this);
       int from_bitField0_ = bitField0_;
       result.consumeReservationType_ = consumeReservationType_;
       result.key_ = key_;
@@ -681,39 +614,38 @@ public com.google.container.v1beta1.ReservationAffinity buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ReservationAffinity) {
-        return mergeFrom((com.google.container.v1beta1.ReservationAffinity) other);
+        return mergeFrom((com.google.container.v1beta1.ReservationAffinity)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -721,8 +653,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ReservationAffinity other) {
-      if (other == com.google.container.v1beta1.ReservationAffinity.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.ReservationAffinity.getDefaultInstance()) return this;
       if (other.consumeReservationType_ != 0) {
         setConsumeReservationTypeValue(other.getConsumeReservationTypeValue());
       }
@@ -766,32 +697,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                consumeReservationType_ = input.readEnum();
+            case 8: {
+              consumeReservationType_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                key_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              key_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureValuesIsMutable();
-                values_.add(s);
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureValuesIsMutable();
+              values_.add(s);
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -801,98 +728,77 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int consumeReservationType_ = 0;
     /**
-     *
-     *
      * 
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override - public int getConsumeReservationTypeValue() { + @java.lang.Override public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @param value The enum numeric value on the wire for consumeReservationType to set. * @return This builder for chaining. */ public Builder setConsumeReservationTypeValue(int value) { - + consumeReservationType_ = value; onChanged(); return this; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The consumeReservationType. */ @java.lang.Override public com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReservationAffinity.Type result = - com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); - return result == null - ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED - : result; + com.google.container.v1beta1.ReservationAffinity.Type result = com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); + return result == null ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED : result; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @param value The consumeReservationType to set. * @return This builder for chaining. */ - public Builder setConsumeReservationType( - com.google.container.v1beta1.ReservationAffinity.Type value) { + public Builder setConsumeReservationType(com.google.container.v1beta1.ReservationAffinity.Type value) { if (value == null) { throw new NullPointerException(); } - + consumeReservationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return This builder for chaining. */ public Builder clearConsumeReservationType() { - + consumeReservationType_ = 0; onChanged(); return this; @@ -900,8 +806,6 @@ public Builder clearConsumeReservationType() { private java.lang.Object key_ = ""; /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -910,13 +814,13 @@ public Builder clearConsumeReservationType() {
      * 
* * string key = 2; - * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -925,8 +829,6 @@ public java.lang.String getKey() { } } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -935,14 +837,15 @@ public java.lang.String getKey() {
      * 
* * string key = 2; - * * @return The bytes for key. */ - public com.google.protobuf.ByteString getKeyBytes() { + public com.google.protobuf.ByteString + getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); key_ = b; return b; } else { @@ -950,8 +853,6 @@ public com.google.protobuf.ByteString getKeyBytes() { } } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -960,22 +861,20 @@ public com.google.protobuf.ByteString getKeyBytes() {
      * 
* * string key = 2; - * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey(java.lang.String value) { + public Builder setKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -984,18 +883,15 @@ public Builder setKey(java.lang.String value) {
      * 
* * string key = 2; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** - * - * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -1004,67 +900,57 @@ public Builder clearKey() {
      * 
* * string key = 2; - * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes(com.google.protobuf.ByteString value) { + public Builder setKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList values_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList getValuesList() { + public com.google.protobuf.ProtocolStringList + getValuesList() { return values_.getUnmodifiableView(); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ @@ -1072,90 +958,80 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString getValuesBytes(int index) { + public com.google.protobuf.ByteString + getValuesBytes(int index) { return values_.getByteString(index); } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues(int index, java.lang.String value) { + public Builder setValues( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues(java.lang.String value) { + public Builder addValues( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues(java.lang.Iterable values) { + public Builder addAllValues( + java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, values_); onChanged(); return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @return This builder for chaining. */ public Builder clearValues() { @@ -1165,30 +1041,28 @@ public Builder clearValues() { return this; } /** - * - * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; - * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes(com.google.protobuf.ByteString value) { + public Builder addValuesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1198,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ReservationAffinity) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ReservationAffinity) private static final com.google.container.v1beta1.ReservationAffinity DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ReservationAffinity(); } @@ -1212,27 +1086,27 @@ public static com.google.container.v1beta1.ReservationAffinity getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReservationAffinity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReservationAffinity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1247,4 +1121,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ReservationAffinity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java index fb758d4f16a5..d896b46050e3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ReservationAffinityOrBuilder - extends +public interface ReservationAffinityOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ReservationAffinity) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The enum numeric value on the wire for consumeReservationType. */ int getConsumeReservationTypeValue(); /** - * - * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; - * * @return The consumeReservationType. */ com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType(); /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -59,13 +35,10 @@ public interface ReservationAffinityOrBuilder
    * 
* * string key = 2; - * * @return The key. */ java.lang.String getKey(); /** - * - * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -74,59 +47,49 @@ public interface ReservationAffinityOrBuilder
    * 
* * string key = 2; - * * @return The bytes for key. */ - com.google.protobuf.ByteString getKeyBytes(); + com.google.protobuf.ByteString + getKeyBytes(); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return A list containing the values. */ - java.util.List getValuesList(); + java.util.List + getValuesList(); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @return The count of values. */ int getValuesCount(); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** - * - * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; - * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString getValuesBytes(int index); + com.google.protobuf.ByteString + getValuesBytes(int index); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java similarity index 57% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java index c1f9382bc3f1..5e438f7528dd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Collection of [GCP
  * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -28,73 +11,74 @@
  *
  * Protobuf type {@code google.container.v1beta1.ResourceLabels}
  */
-public final class ResourceLabels extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResourceLabels extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceLabels)
     ResourceLabelsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResourceLabels.newBuilder() to construct.
   private ResourceLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ResourceLabels() {}
+  private ResourceLabels() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResourceLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ResourceLabels_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ResourceLabels.class,
-            com.google.container.v1beta1.ResourceLabels.Builder.class);
+            com.google.container.v1beta1.ResourceLabels.class, com.google.container.v1beta1.ResourceLabels.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.container.v1beta1.ClusterServiceProto
-                .internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor,
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "",
-            com.google.protobuf.WireFormat.FieldType.STRING,
-            "");
-  }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, java.lang.String> defaultEntry =
+            com.google.protobuf.MapEntry
+            .newDefaultInstance(
+                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
+  }
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -103,30 +87,28 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -134,12 +116,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -147,16 +128,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -164,11 +145,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -176,7 +158,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,9 +169,14 @@ public final boolean isInitialized() { } @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); + 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); } @@ -200,15 +186,15 @@ public int getSerializedSize() { 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__); + 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; @@ -218,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ResourceLabels)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceLabels other = - (com.google.container.v1beta1.ResourceLabels) obj; + com.google.container.v1beta1.ResourceLabels other = (com.google.container.v1beta1.ResourceLabels) obj; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,104 +233,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ResourceLabels parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ResourceLabels parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceLabels parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceLabels parseFrom( 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.ResourceLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceLabels parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ResourceLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceLabels parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ResourceLabels parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceLabels parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceLabels parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ResourceLabels parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ResourceLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Collection of [GCP
    * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -352,52 +331,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ResourceLabels}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceLabels)
       com.google.container.v1beta1.ResourceLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ResourceLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ResourceLabels.class,
-              com.google.container.v1beta1.ResourceLabels.Builder.class);
+              com.google.container.v1beta1.ResourceLabels.class, com.google.container.v1beta1.ResourceLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ResourceLabels.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -406,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ResourceLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_descriptor;
     }
 
     @java.lang.Override
@@ -427,8 +409,7 @@ public com.google.container.v1beta1.ResourceLabels build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ResourceLabels buildPartial() {
-      com.google.container.v1beta1.ResourceLabels result =
-          new com.google.container.v1beta1.ResourceLabels(this);
+      com.google.container.v1beta1.ResourceLabels result = new com.google.container.v1beta1.ResourceLabels(this);
       int from_bitField0_ = bitField0_;
       result.labels_ = internalGetLabels();
       result.labels_.makeImmutable();
@@ -440,39 +421,38 @@ public com.google.container.v1beta1.ResourceLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ResourceLabels) {
-        return mergeFrom((com.google.container.v1beta1.ResourceLabels) other);
+        return mergeFrom((com.google.container.v1beta1.ResourceLabels)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -481,7 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1beta1.ResourceLabels other) {
       if (other == com.google.container.v1beta1.ResourceLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -508,24 +489,20 @@ public Builder mergeFrom(
             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());
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              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) {
@@ -535,24 +512,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -564,30 +541,28 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -595,12 +570,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -608,17 +582,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Map of node label keys and node label values.
      * 
@@ -626,11 +599,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -638,66 +612,69 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -707,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceLabels) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceLabels) private static final com.google.container.v1beta1.ResourceLabels DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceLabels(); } @@ -721,27 +698,27 @@ public static com.google.container.v1beta1.ResourceLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,4 +733,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ResourceLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java similarity index 51% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java index e717a05652a9..2ed02c6eef6e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ResourceLabelsOrBuilder - extends +public interface ResourceLabelsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceLabels) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -34,31 +16,30 @@ public interface ResourceLabelsOrBuilder */ int getLabelsCount(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Map of node label keys and node label values.
    * 
@@ -67,18 +48,18 @@ public interface ResourceLabelsOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java index 440f718c8664..6b3e3bb619d1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Contains information about amount of some resource in the cluster.
  * For memory, value should be in GB.
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.container.v1beta1.ResourceLimit}
  */
-public final class ResourceLimit extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResourceLimit extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceLimit)
     ResourceLimitOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResourceLimit.newBuilder() to construct.
   private ResourceLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResourceLimit() {
     resourceType_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResourceLimit();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ResourceLimit_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ResourceLimit.class,
-            com.google.container.v1beta1.ResourceLimit.Builder.class);
+            com.google.container.v1beta1.ResourceLimit.class, com.google.container.v1beta1.ResourceLimit.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceType_;
   /**
-   *
-   *
    * 
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The resourceType. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; } } /** - * - * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The bytes for resourceType. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceTypeBytes() { + public com.google.protobuf.ByteString + getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceType_ = b; return b; } else { @@ -120,14 +98,11 @@ public com.google.protobuf.ByteString getResourceTypeBytes() { public static final int MINIMUM_FIELD_NUMBER = 2; private long minimum_; /** - * - * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; - * * @return The minimum. */ @java.lang.Override @@ -138,14 +113,11 @@ public long getMinimum() { public static final int MAXIMUM_FIELD_NUMBER = 3; private long maximum_; /** - * - * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; - * * @return The maximum. */ @java.lang.Override @@ -154,7 +126,6 @@ public long getMaximum() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,7 +137,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceType_); } @@ -189,10 +161,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceType_); } if (minimum_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, minimum_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, minimum_); } if (maximum_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, maximum_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, maximum_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -202,17 +176,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ResourceLimit)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceLimit other = - (com.google.container.v1beta1.ResourceLimit) obj; + com.google.container.v1beta1.ResourceLimit other = (com.google.container.v1beta1.ResourceLimit) obj; - if (!getResourceType().equals(other.getResourceType())) return false; - if (getMinimum() != other.getMinimum()) return false; - if (getMaximum() != other.getMaximum()) return false; + if (!getResourceType() + .equals(other.getResourceType())) return false; + if (getMinimum() + != other.getMinimum()) return false; + if (getMaximum() + != other.getMaximum()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,112 +203,107 @@ public int hashCode() { hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getResourceType().hashCode(); hash = (37 * hash) + MINIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinimum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMinimum()); hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaximum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaximum()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ResourceLimit parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ResourceLimit parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceLimit parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLimit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceLimit parseFrom( 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.ResourceLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceLimit parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ResourceLimit parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceLimit parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ResourceLimit parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceLimit parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceLimit parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ResourceLimit parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceLimit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ResourceLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Contains information about amount of some resource in the cluster.
    * For memory, value should be in GB.
@@ -340,32 +311,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.ResourceLimit}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceLimit)
       com.google.container.v1beta1.ResourceLimitOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ResourceLimit_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ResourceLimit.class,
-              com.google.container.v1beta1.ResourceLimit.Builder.class);
+              com.google.container.v1beta1.ResourceLimit.class, com.google.container.v1beta1.ResourceLimit.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ResourceLimit.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -379,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_ResourceLimit_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
@@ -400,8 +372,7 @@ public com.google.container.v1beta1.ResourceLimit build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ResourceLimit buildPartial() {
-      com.google.container.v1beta1.ResourceLimit result =
-          new com.google.container.v1beta1.ResourceLimit(this);
+      com.google.container.v1beta1.ResourceLimit result = new com.google.container.v1beta1.ResourceLimit(this);
       result.resourceType_ = resourceType_;
       result.minimum_ = minimum_;
       result.maximum_ = maximum_;
@@ -413,39 +384,38 @@ public com.google.container.v1beta1.ResourceLimit buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ResourceLimit) {
-        return mergeFrom((com.google.container.v1beta1.ResourceLimit) other);
+        return mergeFrom((com.google.container.v1beta1.ResourceLimit)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -490,31 +460,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                resourceType_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                minimum_ = input.readInt64();
-
-                break;
-              } // case 16
-            case 24:
-              {
-                maximum_ = input.readInt64();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              resourceType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              minimum_ = input.readInt64();
+
+              break;
+            } // case 16
+            case 24: {
+              maximum_ = input.readInt64();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -527,20 +493,18 @@ public Builder mergeFrom(
 
     private java.lang.Object resourceType_ = "";
     /**
-     *
-     *
      * 
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @return The resourceType. */ public java.lang.String getResourceType() { java.lang.Object ref = resourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; @@ -549,21 +513,20 @@ public java.lang.String getResourceType() { } } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @return The bytes for resourceType. */ - public com.google.protobuf.ByteString getResourceTypeBytes() { + public com.google.protobuf.ByteString + getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceType_ = b; return b; } else { @@ -571,76 +534,66 @@ public com.google.protobuf.ByteString getResourceTypeBytes() { } } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @param value The resourceType to set. * @return This builder for chaining. */ - public Builder setResourceType(java.lang.String value) { + public Builder setResourceType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceType_ = value; onChanged(); return this; } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = getDefaultInstance().getResourceType(); onChanged(); return this; } /** - * - * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; - * * @param value The bytes for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { + public Builder setResourceTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceType_ = value; onChanged(); return this; } - private long minimum_; + private long minimum_ ; /** - * - * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; - * * @return The minimum. */ @java.lang.Override @@ -648,51 +601,42 @@ public long getMinimum() { return minimum_; } /** - * - * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; - * * @param value The minimum to set. * @return This builder for chaining. */ public Builder setMinimum(long value) { - + minimum_ = value; onChanged(); return this; } /** - * - * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; - * * @return This builder for chaining. */ public Builder clearMinimum() { - + minimum_ = 0L; onChanged(); return this; } - private long maximum_; + private long maximum_ ; /** - * - * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; - * * @return The maximum. */ @java.lang.Override @@ -700,43 +644,37 @@ public long getMaximum() { return maximum_; } /** - * - * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; - * * @param value The maximum to set. * @return This builder for chaining. */ public Builder setMaximum(long value) { - + maximum_ = value; onChanged(); return this; } /** - * - * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; - * * @return This builder for chaining. */ public Builder clearMaximum() { - + maximum_ = 0L; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -746,12 +684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceLimit) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceLimit) private static final com.google.container.v1beta1.ResourceLimit DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceLimit(); } @@ -760,27 +698,27 @@ public static com.google.container.v1beta1.ResourceLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -795,4 +733,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ResourceLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java similarity index 57% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java index d20ff61beab0..151d3f922cc5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java @@ -1,75 +1,48 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ResourceLimitOrBuilder - extends +public interface ResourceLimitOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceLimit) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The resourceType. */ java.lang.String getResourceType(); /** - * - * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; - * * @return The bytes for resourceType. */ - com.google.protobuf.ByteString getResourceTypeBytes(); + com.google.protobuf.ByteString + getResourceTypeBytes(); /** - * - * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; - * * @return The minimum. */ long getMinimum(); /** - * - * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; - * * @return The maximum. */ long getMaximum(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java similarity index 58% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java index 8722d3b3810f..713f12b6a6c4 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java @@ -1,161 +1,129 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration for exporting cluster resource usages.
  * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig} */ -public final class ResourceUsageExportConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResourceUsageExportConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceUsageExportConfig) ResourceUsageExportConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResourceUsageExportConfig.newBuilder() to construct. private ResourceUsageExportConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResourceUsageExportConfig() {} + private ResourceUsageExportConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceUsageExportConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.class, - com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); } - public interface BigQueryDestinationOrBuilder - extends + public interface BigQueryDestinationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The datasetId. */ java.lang.String getDatasetId(); /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString getDatasetIdBytes(); + com.google.protobuf.ByteString + getDatasetIdBytes(); } /** - * - * *
    * Parameters for using BigQuery as the destination of resource usage export.
    * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryDestination extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryDestination() { datasetId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder - .class); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); } public static final int DATASET_ID_FIELD_NUMBER = 1; private volatile java.lang.Object datasetId_; /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The datasetId. */ @java.lang.Override @@ -164,29 +132,29 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** - * - * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -195,7 +163,6 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); } @@ -231,16 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination)) { + if (!(obj instanceof com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other = - (com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) obj; + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other = (com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) obj; - if (!getDatasetId().equals(other.getDatasetId())) return false; + if (!getDatasetId() + .equals(other.getDatasetId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -259,101 +226,88 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination 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.ResourceUsageExportConfig.BigQueryDestination - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + 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.ResourceUsageExportConfig.BigQueryDestination - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - 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.ResourceUsageExportConfig.BigQueryDestination 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.ResourceUsageExportConfig.BigQueryDestination - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - 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.ResourceUsageExportConfig.BigQueryDestination 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.ResourceUsageExportConfig.BigQueryDestination - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -363,43 +317,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Parameters for using BigQuery as the destination of resource usage export.
      * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder - .class); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); } - // Construct using - // com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() - private Builder() {} + // Construct using com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,22 +359,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - getDefaultInstanceForType() { - return com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance(); + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { + return com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination build() { - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = - buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -432,10 +379,8 @@ public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinatio } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - buildPartial() { - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = - new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(this); + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination buildPartial() { + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(this); result.datasetId_ = datasetId_; onBuilt(); return result; @@ -445,54 +390,46 @@ public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinatio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ResourceUsageExportConfig.BigQueryDestination) { - return mergeFrom( - (com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) other); + if (other instanceof com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) { + return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other) { - if (other - == com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other) { + if (other == com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance()) return this; if (!other.getDatasetId().isEmpty()) { datasetId_ = other.datasetId_; onChanged(); @@ -523,19 +460,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - datasetId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + datasetId_ = input.readStringRequireUtf8(); + + 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) { @@ -548,20 +483,18 @@ public Builder mergeFrom( private java.lang.Object datasetId_ = ""; /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -570,21 +503,20 @@ public java.lang.String getDatasetId() { } } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString getDatasetIdBytes() { + public com.google.protobuf.ByteString + getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); datasetId_ = b; return b; } else { @@ -592,66 +524,58 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { } } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId(java.lang.String value) { + public Builder setDatasetId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** - * - * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; - * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -664,45 +588,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) - private static final com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(); + DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - getDefaultInstance() { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,20 +634,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - getDefaultInstanceForType() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ConsumptionMeteringConfigOrBuilder - extends + public interface ConsumptionMeteringConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -735,66 +652,57 @@ public interface ConsumptionMeteringConfigOrBuilder
      * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); } /** - * - * *
    * Parameters for controlling consumption metering.
    * 
* - * Protobuf type {@code - * google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} + * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class ConsumptionMeteringConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ConsumptionMeteringConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) ConsumptionMeteringConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConsumptionMeteringConfig.newBuilder() to construct. private ConsumptionMeteringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ConsumptionMeteringConfig() {} + private ConsumptionMeteringConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConsumptionMeteringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .class, - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -802,7 +710,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -811,7 +718,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -823,7 +729,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -837,7 +744,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -847,17 +755,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { + if (!(obj instanceof com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = - (com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = (com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -870,108 +776,95 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - 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.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - 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.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -981,45 +874,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Parameters for controlling consumption metering.
      * 
* - * Protobuf type {@code - * google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} + * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .class, - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); } - // Construct using - // com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() - private Builder() {} + // Construct using com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1029,23 +916,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getDefaultInstanceForType() { - return com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance(); + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { + return com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance(); } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - build() { - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = - buildPartial(); + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig build() { + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1053,11 +936,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - buildPartial() { - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = - new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig( - this); + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig buildPartial() { + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -1067,56 +947,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ResourceUsageExportConfig.ConsumptionMeteringConfig) { - return mergeFrom( - (com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) - other); + if (other instanceof com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) { + return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { - if (other - == com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { + if (other == com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -1146,19 +1016,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1169,10 +1037,8 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1180,7 +1046,6 @@ public Builder mergeFrom(
        * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -1188,8 +1053,6 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1197,19 +1060,16 @@ public boolean getEnabled() {
        * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1217,16 +1077,14 @@ public Builder setEnabled(boolean value) {
        * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1239,46 +1097,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) - private static final com.google.container.v1beta1.ResourceUsageExportConfig - .ConsumptionMeteringConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); + DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getDefaultInstance() { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConsumptionMeteringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConsumptionMeteringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1290,26 +1143,20 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getDefaultInstanceForType() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 1; - private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - bigqueryDestination_; + private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -1317,55 +1164,38 @@ public boolean hasBigqueryDestination() { return bigqueryDestination_ != null; } /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - getBigqueryDestination() { - return bigqueryDestination_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance() - : bigqueryDestination_; + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { + return bigqueryDestination_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { return getBigqueryDestination(); } public static final int ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER = 2; private boolean enableNetworkEgressMetering_; /** - * - * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; - * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -1374,19 +1204,13 @@ public boolean getEnableNetworkEgressMetering() { } public static final int CONSUMPTION_METERING_CONFIG_FIELD_NUMBER = 3; - private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - consumptionMeteringConfig_; + private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return Whether the consumptionMeteringConfig field is set. */ @java.lang.Override @@ -1394,45 +1218,30 @@ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfig_ != null; } /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return The consumptionMeteringConfig. */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getConsumptionMeteringConfig() { - return consumptionMeteringConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance() - : consumptionMeteringConfig_; + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { + return consumptionMeteringConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; } /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder - getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { return getConsumptionMeteringConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1444,7 +1253,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (bigqueryDestination_ != null) { output.writeMessage(1, getBigqueryDestination()); } @@ -1464,16 +1274,16 @@ public int getSerializedSize() { size = 0; if (bigqueryDestination_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryDestination()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBigqueryDestination()); } if (enableNetworkEgressMetering_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableNetworkEgressMetering_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enableNetworkEgressMetering_); } if (consumptionMeteringConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, getConsumptionMeteringConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getConsumptionMeteringConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1483,23 +1293,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ResourceUsageExportConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceUsageExportConfig other = - (com.google.container.v1beta1.ResourceUsageExportConfig) obj; + com.google.container.v1beta1.ResourceUsageExportConfig other = (com.google.container.v1beta1.ResourceUsageExportConfig) obj; if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false; if (hasBigqueryDestination()) { - if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination() + .equals(other.getBigqueryDestination())) return false; } - if (getEnableNetworkEgressMetering() != other.getEnableNetworkEgressMetering()) return false; + if (getEnableNetworkEgressMetering() + != other.getEnableNetworkEgressMetering()) return false; if (hasConsumptionMeteringConfig() != other.hasConsumptionMeteringConfig()) return false; if (hasConsumptionMeteringConfig()) { - if (!getConsumptionMeteringConfig().equals(other.getConsumptionMeteringConfig())) - return false; + if (!getConsumptionMeteringConfig() + .equals(other.getConsumptionMeteringConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1517,7 +1328,8 @@ public int hashCode() { hash = (53 * hash) + getBigqueryDestination().hashCode(); } hash = (37 * hash) + ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNetworkEgressMetering()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableNetworkEgressMetering()); if (hasConsumptionMeteringConfig()) { hash = (37 * hash) + CONSUMPTION_METERING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConsumptionMeteringConfig().hashCode(); @@ -1528,136 +1340,129 @@ public int hashCode() { } public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceUsageExportConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( 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.ResourceUsageExportConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ResourceUsageExportConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ResourceUsageExportConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ResourceUsageExportConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ResourceUsageExportConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for exporting cluster resource usages.
    * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceUsageExportConfig) com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.class, - com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); } // Construct using com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1679,9 +1484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; } @java.lang.Override @@ -1700,8 +1505,7 @@ public com.google.container.v1beta1.ResourceUsageExportConfig build() { @java.lang.Override public com.google.container.v1beta1.ResourceUsageExportConfig buildPartial() { - com.google.container.v1beta1.ResourceUsageExportConfig result = - new com.google.container.v1beta1.ResourceUsageExportConfig(this); + com.google.container.v1beta1.ResourceUsageExportConfig result = new com.google.container.v1beta1.ResourceUsageExportConfig(this); if (bigqueryDestinationBuilder_ == null) { result.bigqueryDestination_ = bigqueryDestination_; } else { @@ -1721,39 +1525,38 @@ public com.google.container.v1beta1.ResourceUsageExportConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ResourceUsageExportConfig) { - return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig) other); + return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig)other); } else { super.mergeFrom(other); return this; @@ -1761,8 +1564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ResourceUsageExportConfig other) { - if (other == com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance()) return this; if (other.hasBigqueryDestination()) { mergeBigqueryDestination(other.getBigqueryDestination()); } @@ -1798,33 +1600,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 16: - { - enableNetworkEgressMetering_ = input.readBool(); + break; + } // case 10 + case 16: { + enableNetworkEgressMetering_ = input.readBool(); - break; - } // case 16 - case 26: - { - input.readMessage( - getConsumptionMeteringConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 16 + case 26: { + input.readMessage( + getConsumptionMeteringConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1835,66 +1635,43 @@ public Builder mergeFrom( return this; } - private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - bigqueryDestination_; + private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> - bigqueryDestinationBuilder_; + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ public boolean hasBigqueryDestination() { return bigqueryDestinationBuilder_ != null || bigqueryDestination_ != null; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - getBigqueryDestination() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { - return bigqueryDestination_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance() - : bigqueryDestination_; + return bigqueryDestination_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } else { return bigqueryDestinationBuilder_.getMessage(); } } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public Builder setBigqueryDestination( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder setBigqueryDestination(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1908,19 +1685,14 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ public Builder setBigqueryDestination( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder - builderForValue) { + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder builderForValue) { if (bigqueryDestinationBuilder_ == null) { bigqueryDestination_ = builderForValue.build(); onChanged(); @@ -1931,25 +1703,17 @@ public Builder setBigqueryDestination( return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public Builder mergeBigqueryDestination( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (bigqueryDestination_ != null) { bigqueryDestination_ = - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder( - bigqueryDestination_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder(bigqueryDestination_).mergeFrom(value).buildPartial(); } else { bigqueryDestination_ = value; } @@ -1961,15 +1725,11 @@ public Builder mergeBigqueryDestination( return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ public Builder clearBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { @@ -1983,84 +1743,61 @@ public Builder clearBigqueryDestination() { return this; } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder - getBigqueryDestinationBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { + onChanged(); return getBigqueryDestinationFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { if (bigqueryDestinationBuilder_ != null) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { - return bigqueryDestination_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - .getDefaultInstance() - : bigqueryDestination_; + return bigqueryDestination_ == null ? + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; } } /** - * - * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { - bigqueryDestinationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, - com.google.container.v1beta1.ResourceUsageExportConfig - .BigQueryDestinationOrBuilder>( - getBigqueryDestination(), getParentForChildren(), isClean()); + bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder>( + getBigqueryDestination(), + getParentForChildren(), + isClean()); bigqueryDestination_ = null; } return bigqueryDestinationBuilder_; } - private boolean enableNetworkEgressMetering_; + private boolean enableNetworkEgressMetering_ ; /** - * - * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; - * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -2068,105 +1805,74 @@ public boolean getEnableNetworkEgressMetering() { return enableNetworkEgressMetering_; } /** - * - * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; - * * @param value The enableNetworkEgressMetering to set. * @return This builder for chaining. */ public Builder setEnableNetworkEgressMetering(boolean value) { - + enableNetworkEgressMetering_ = value; onChanged(); return this; } /** - * - * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; - * * @return This builder for chaining. */ public Builder clearEnableNetworkEgressMetering() { - + enableNetworkEgressMetering_ = false; onChanged(); return this; } - private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - consumptionMeteringConfig_; + private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .Builder, - com.google.container.v1beta1.ResourceUsageExportConfig - .ConsumptionMeteringConfigOrBuilder> - consumptionMeteringConfigBuilder_; + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> consumptionMeteringConfigBuilder_; /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return Whether the consumptionMeteringConfig field is set. */ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfigBuilder_ != null || consumptionMeteringConfig_ != null; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return The consumptionMeteringConfig. */ - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getConsumptionMeteringConfig() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { - return consumptionMeteringConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance() - : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; } else { return consumptionMeteringConfigBuilder_.getMessage(); } } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public Builder setConsumptionMeteringConfig( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder setConsumptionMeteringConfig(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2180,19 +1886,14 @@ public Builder setConsumptionMeteringConfig( return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ public Builder setConsumptionMeteringConfig( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder - builderForValue) { + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder builderForValue) { if (consumptionMeteringConfigBuilder_ == null) { consumptionMeteringConfig_ = builderForValue.build(); onChanged(); @@ -2203,25 +1904,17 @@ public Builder setConsumptionMeteringConfig( return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public Builder mergeConsumptionMeteringConfig( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder mergeConsumptionMeteringConfig(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (consumptionMeteringConfig_ != null) { consumptionMeteringConfig_ = - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .newBuilder(consumptionMeteringConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder(consumptionMeteringConfig_).mergeFrom(value).buildPartial(); } else { consumptionMeteringConfig_ = value; } @@ -2233,15 +1926,11 @@ public Builder mergeConsumptionMeteringConfig( return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ public Builder clearConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { @@ -2255,78 +1944,55 @@ public Builder clearConsumptionMeteringConfig() { return this; } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder - getConsumptionMeteringConfigBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder getConsumptionMeteringConfigBuilder() { + onChanged(); return getConsumptionMeteringConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder - getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { if (consumptionMeteringConfigBuilder_ != null) { return consumptionMeteringConfigBuilder_.getMessageOrBuilder(); } else { - return consumptionMeteringConfig_ == null - ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .getDefaultInstance() - : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null ? + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; } } /** - * - * *
      * Configuration to enable resource consumption metering.
      * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .Builder, - com.google.container.v1beta1.ResourceUsageExportConfig - .ConsumptionMeteringConfigOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> getConsumptionMeteringConfigFieldBuilder() { if (consumptionMeteringConfigBuilder_ == null) { - consumptionMeteringConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - .Builder, - com.google.container.v1beta1.ResourceUsageExportConfig - .ConsumptionMeteringConfigOrBuilder>( - getConsumptionMeteringConfig(), getParentForChildren(), isClean()); + consumptionMeteringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder>( + getConsumptionMeteringConfig(), + getParentForChildren(), + isClean()); consumptionMeteringConfig_ = null; } return consumptionMeteringConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2336,12 +2002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceUsageExportConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig) private static final com.google.container.v1beta1.ResourceUsageExportConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceUsageExportConfig(); } @@ -2350,27 +2016,27 @@ public static com.google.container.v1beta1.ResourceUsageExportConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceUsageExportConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceUsageExportConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2385,4 +2051,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.ResourceUsageExportConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java similarity index 50% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java index 0fa24e5714f8..6891208e4ec2 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java @@ -1,125 +1,74 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ResourceUsageExportConfigOrBuilder - extends +public interface ResourceUsageExportConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceUsageExportConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * @return The bigqueryDestination. */ - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination - getBigqueryDestination(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination(); /** - * - * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; - * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; */ - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder - getBigqueryDestinationOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); /** - * - * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; - * * @return The enableNetworkEgressMetering. */ boolean getEnableNetworkEgressMetering(); /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return Whether the consumptionMeteringConfig field is set. */ boolean hasConsumptionMeteringConfig(); /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * @return The consumptionMeteringConfig. */ - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig - getConsumptionMeteringConfig(); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig(); /** - * - * *
    * Configuration to enable resource consumption metering.
    * 
* - * - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; - * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; */ - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder - getConsumptionMeteringConfigOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 5df618918b7e..9d7aa22d9ac8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
  * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -29,17 +12,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.RollbackNodePoolUpgradeRequest}
  */
-public final class RollbackNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RollbackNodePoolUpgradeRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.RollbackNodePoolUpgradeRequest)
     RollbackNodePoolUpgradeRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RollbackNodePoolUpgradeRequest.newBuilder() to construct.
-  private RollbackNodePoolUpgradeRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private RollbackNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RollbackNodePoolUpgradeRequest() {
     projectId_ = "";
     zone_ = "";
@@ -50,84 +31,76 @@ private RollbackNodePoolUpgradeRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RollbackNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class,
-            com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -138,8 +111,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -148,27 +119,24 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -177,18 +145,18 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -199,55 +167,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -258,55 +219,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3816 + * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3816 + * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -317,8 +271,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -326,7 +278,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -335,15 +286,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -351,15 +301,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -370,15 +321,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int RESPECT_PDB_FIELD_NUMBER = 7; private boolean respectPdb_; /** - * - * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; - * * @return The respectPdb. */ @java.lang.Override @@ -387,7 +335,6 @@ public boolean getRespectPdb() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,7 +346,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -443,7 +391,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (respectPdb_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, respectPdb_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, respectPdb_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -453,20 +402,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.RollbackNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest other = - (com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (!getName().equals(other.getName())) return false; - if (getRespectPdb() != other.getRespectPdb()) return false; + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest other = (com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getRespectPdb() + != other.getRespectPdb()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -489,111 +443,104 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRespectPdb()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRespectPdb()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( 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.RollbackNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
    * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -602,32 +549,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.RollbackNodePoolUpgradeRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.RollbackNodePoolUpgradeRequest)
       com.google.container.v1beta1.RollbackNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class,
-              com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -647,9 +595,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -668,8 +616,7 @@ public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1beta1.RollbackNodePoolUpgradeRequest result =
-          new com.google.container.v1beta1.RollbackNodePoolUpgradeRequest(this);
+      com.google.container.v1beta1.RollbackNodePoolUpgradeRequest result = new com.google.container.v1beta1.RollbackNodePoolUpgradeRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -684,39 +631,38 @@ public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) other);
+        return mergeFrom((com.google.container.v1beta1.RollbackNodePoolUpgradeRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -724,8 +670,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -775,49 +720,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                nodePoolId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 50:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 56:
-              {
-                respectPdb_ = input.readBool();
-
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              nodePoolId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 50: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 56: {
+              respectPdb_ = input.readBool();
+
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -830,26 +768,22 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -858,27 +792,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -886,79 +817,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -966,8 +884,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -976,16 +892,15 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -994,8 +909,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1004,17 +917,17 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1022,8 +935,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1032,25 +943,22 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1059,21 +967,17 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1082,19 +986,18 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1102,25 +1005,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1129,26 +1028,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1156,76 +1052,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1233,25 +1116,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3816 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1260,26 +1139,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3816 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1287,76 +1163,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3816 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3821 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3816 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3821 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=3816 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3821 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1364,8 +1227,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1373,13 +1234,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1388,8 +1249,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1397,14 +1256,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1412,8 +1272,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1421,22 +1279,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1444,18 +1300,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1463,32 +1316,29 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean respectPdb_; + private boolean respectPdb_ ; /** - * - * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; - * * @return The respectPdb. */ @java.lang.Override @@ -1496,45 +1346,39 @@ public boolean getRespectPdb() { return respectPdb_; } /** - * - * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; - * * @param value The respectPdb to set. * @return This builder for chaining. */ public Builder setRespectPdb(boolean value) { - + respectPdb_ = value; onChanged(); return this; } /** - * - * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; - * * @return This builder for chaining. */ public Builder clearRespectPdb() { - + respectPdb_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1544,12 +1388,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.RollbackNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.RollbackNodePoolUpgradeRequest) private static final com.google.container.v1beta1.RollbackNodePoolUpgradeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.RollbackNodePoolUpgradeRequest(); } @@ -1558,27 +1402,27 @@ public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1593,4 +1437,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java index f29e15590cfb..a253ac1c12e1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface RollbackNodePoolUpgradeRequestOrBuilder - extends +public interface RollbackNodePoolUpgradeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.RollbackNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3793 + * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,87 +58,66 @@ 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=3802 + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3807 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3809 + * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3816 + * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3816 + * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -177,13 +125,10 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -191,21 +136,18 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; - * * @return The respectPdb. */ boolean getRespectPdb(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java index 0d4462b21dbd..260ec3d458c0 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SandboxConfig contains configurations of the sandbox to use for the node.
  * 
* * Protobuf type {@code google.container.v1beta1.SandboxConfig} */ -public final class SandboxConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SandboxConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SandboxConfig) SandboxConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SandboxConfig.newBuilder() to construct. private SandboxConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SandboxConfig() { sandboxType_ = ""; type_ = 0; @@ -44,43 +26,39 @@ private SandboxConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SandboxConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SandboxConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SandboxConfig.class, - com.google.container.v1beta1.SandboxConfig.Builder.class); + com.google.container.v1beta1.SandboxConfig.class, com.google.container.v1beta1.SandboxConfig.Builder.class); } /** - * - * *
    * Possible types of sandboxes.
    * 
* * Protobuf enum {@code google.container.v1beta1.SandboxConfig.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This should not be used.
      * 
@@ -89,8 +67,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * Run sandbox using gvisor.
      * 
@@ -102,8 +78,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value. This should not be used.
      * 
@@ -112,8 +86,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * Run sandbox using gvisor.
      * 
@@ -122,6 +94,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GVISOR_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -146,47 +119,48 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return UNSPECIFIED; - case 1: - return GVISOR; - default: - return null; + case 0: return UNSPECIFIED; + case 1: return GVISOR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - 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() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.SandboxConfig.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -206,51 +180,46 @@ private Type(int value) { public static final int SANDBOX_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object sandboxType_; /** - * - * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @return The sandboxType. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getSandboxType() { + @java.lang.Deprecated public java.lang.String getSandboxType() { java.lang.Object ref = sandboxType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sandboxType_ = s; return s; } } /** - * - * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @return The bytes for sandboxType. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getSandboxTypeBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getSandboxTypeBytes() { java.lang.Object ref = sandboxType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sandboxType_ = b; return b; } else { @@ -261,41 +230,31 @@ public com.google.protobuf.ByteString getSandboxTypeBytes() { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @return The type. */ - @java.lang.Override - public com.google.container.v1beta1.SandboxConfig.Type getType() { + @java.lang.Override public com.google.container.v1beta1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SandboxConfig.Type result = - com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1beta1.SandboxConfig.Type result = com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1beta1.SandboxConfig.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,7 +266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sandboxType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sandboxType_); } @@ -327,7 +287,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sandboxType_); } if (type_ != com.google.container.v1beta1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -337,15 +298,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SandboxConfig)) { return super.equals(obj); } - com.google.container.v1beta1.SandboxConfig other = - (com.google.container.v1beta1.SandboxConfig) obj; + com.google.container.v1beta1.SandboxConfig other = (com.google.container.v1beta1.SandboxConfig) obj; - if (!getSandboxType().equals(other.getSandboxType())) return false; + if (!getSandboxType() + .equals(other.getSandboxType())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -367,136 +328,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.SandboxConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.SandboxConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SandboxConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SandboxConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SandboxConfig parseFrom( 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.SandboxConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SandboxConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SandboxConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SandboxConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SandboxConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SandboxConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SandboxConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SandboxConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SandboxConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SandboxConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SandboxConfig contains configurations of the sandbox to use for the node.
    * 
* * Protobuf type {@code google.container.v1beta1.SandboxConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SandboxConfig) com.google.container.v1beta1.SandboxConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SandboxConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SandboxConfig.class, - com.google.container.v1beta1.SandboxConfig.Builder.class); + com.google.container.v1beta1.SandboxConfig.class, com.google.container.v1beta1.SandboxConfig.Builder.class); } // Construct using com.google.container.v1beta1.SandboxConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -508,9 +463,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SandboxConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_descriptor; } @java.lang.Override @@ -529,8 +484,7 @@ public com.google.container.v1beta1.SandboxConfig build() { @java.lang.Override public com.google.container.v1beta1.SandboxConfig buildPartial() { - com.google.container.v1beta1.SandboxConfig result = - new com.google.container.v1beta1.SandboxConfig(this); + com.google.container.v1beta1.SandboxConfig result = new com.google.container.v1beta1.SandboxConfig(this); result.sandboxType_ = sandboxType_; result.type_ = type_; onBuilt(); @@ -541,39 +495,38 @@ public com.google.container.v1beta1.SandboxConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SandboxConfig) { - return mergeFrom((com.google.container.v1beta1.SandboxConfig) other); + return mergeFrom((com.google.container.v1beta1.SandboxConfig)other); } else { super.mergeFrom(other); return this; @@ -615,25 +568,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - sandboxType_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - type_ = input.readEnum(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + sandboxType_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,23 +596,20 @@ public Builder mergeFrom( private java.lang.Object sandboxType_ = ""; /** - * - * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @return The sandboxType. */ - @java.lang.Deprecated - public java.lang.String getSandboxType() { + @java.lang.Deprecated public java.lang.String getSandboxType() { java.lang.Object ref = sandboxType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sandboxType_ = s; return s; @@ -671,24 +618,22 @@ public java.lang.String getSandboxType() { } } /** - * - * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @return The bytes for sandboxType. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getSandboxTypeBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getSandboxTypeBytes() { java.lang.Object ref = sandboxType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sandboxType_ = b; return b; } else { @@ -696,70 +641,60 @@ public com.google.protobuf.ByteString getSandboxTypeBytes() { } } /** - * - * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @param value The sandboxType to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setSandboxType(java.lang.String value) { + @java.lang.Deprecated public Builder setSandboxType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sandboxType_ = value; onChanged(); return this; } /** - * - * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearSandboxType() { - + @java.lang.Deprecated public Builder clearSandboxType() { + sandboxType_ = getDefaultInstance().getSandboxType(); onChanged(); return this; } /** - * - * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @param value The bytes for sandboxType to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setSandboxTypeBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setSandboxTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sandboxType_ = value; onChanged(); return this; @@ -767,65 +702,51 @@ public Builder setSandboxTypeBytes(com.google.protobuf.ByteString value) { private int type_ = 0; /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @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; onChanged(); return this; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SandboxConfig.Type result = - com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1beta1.SandboxConfig.Type result = com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1beta1.SandboxConfig.Type.UNRECOGNIZED : result; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @param value The type to set. * @return This builder for chaining. */ @@ -833,31 +754,28 @@ public Builder setType(com.google.container.v1beta1.SandboxConfig.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +785,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SandboxConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SandboxConfig) private static final com.google.container.v1beta1.SandboxConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SandboxConfig(); } @@ -881,27 +799,27 @@ public static com.google.container.v1beta1.SandboxConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SandboxConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SandboxConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -916,4 +834,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SandboxConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java similarity index 56% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java index 0dc68313da2c..293588a6e342 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface SandboxConfigOrBuilder - extends +public interface SandboxConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SandboxConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @return The sandboxType. */ - @java.lang.Deprecated - java.lang.String getSandboxType(); + @java.lang.Deprecated java.lang.String getSandboxType(); /** - * - * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=872 + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=875 * @return The bytes for sandboxType. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getSandboxTypeBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getSandboxTypeBytes(); /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; - * * @return The type. */ com.google.container.v1beta1.SandboxConfig.Type getType(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java similarity index 75% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java index 73daf62c9564..14875a34d1f3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SecurityBulletinEvent is a notification sent to customers when a security
  * bulletin has been posted that they are vulnerable to.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.SecurityBulletinEvent}
  */
-public final class SecurityBulletinEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SecurityBulletinEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SecurityBulletinEvent)
     SecurityBulletinEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SecurityBulletinEvent.newBuilder() to construct.
   private SecurityBulletinEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SecurityBulletinEvent() {
     resourceTypeAffected_ = "";
     bulletinId_ = "";
@@ -52,35 +34,32 @@ private SecurityBulletinEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SecurityBulletinEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SecurityBulletinEvent.class,
-            com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
+            com.google.container.v1beta1.SecurityBulletinEvent.class, com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_AFFECTED_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceTypeAffected_;
   /**
-   *
-   *
    * 
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -88,7 +67,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string resource_type_affected = 1; - * * @return The resourceTypeAffected. */ @java.lang.Override @@ -97,15 +75,14 @@ public java.lang.String getResourceTypeAffected() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; } } /** - * - * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -113,15 +90,16 @@ public java.lang.String getResourceTypeAffected() {
    * 
* * string resource_type_affected = 1; - * * @return The bytes for resourceTypeAffected. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString + getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -132,14 +110,11 @@ public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { public static final int BULLETIN_ID_FIELD_NUMBER = 2; private volatile java.lang.Object bulletinId_; /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bulletinId. */ @java.lang.Override @@ -148,29 +123,29 @@ public java.lang.String getBulletinId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; } } /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bytes for bulletinId. */ @java.lang.Override - public com.google.protobuf.ByteString getBulletinIdBytes() { + public com.google.protobuf.ByteString + getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -181,42 +156,34 @@ public com.google.protobuf.ByteString getBulletinIdBytes() { public static final int CVE_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList cveIds_; /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList getCveIdsList() { + public com.google.protobuf.ProtocolStringList + getCveIdsList() { return cveIds_; } /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -224,32 +191,27 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString getCveIdsBytes(int index) { + public com.google.protobuf.ByteString + getCveIdsBytes(int index) { return cveIds_.getByteString(index); } public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The severity. */ @java.lang.Override @@ -258,29 +220,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -291,14 +253,11 @@ public com.google.protobuf.ByteString getSeverityBytes() { public static final int BULLETIN_URI_FIELD_NUMBER = 5; private volatile java.lang.Object bulletinUri_; /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bulletinUri. */ @java.lang.Override @@ -307,29 +266,29 @@ public java.lang.String getBulletinUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; } } /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bytes for bulletinUri. */ @java.lang.Override - public com.google.protobuf.ByteString getBulletinUriBytes() { + public com.google.protobuf.ByteString + getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -340,15 +299,12 @@ public com.google.protobuf.ByteString getBulletinUriBytes() { public static final int BRIEF_DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object briefDescription_; /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The briefDescription. */ @java.lang.Override @@ -357,30 +313,30 @@ public java.lang.String getBriefDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; } } /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The bytes for briefDescription. */ @java.lang.Override - public com.google.protobuf.ByteString getBriefDescriptionBytes() { + public com.google.protobuf.ByteString + getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -391,42 +347,34 @@ public com.google.protobuf.ByteString getBriefDescriptionBytes() { public static final int AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList affectedSupportedMinors_; /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList + getAffectedSupportedMinorsList() { return affectedSupportedMinors_; } /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -434,60 +382,50 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString + getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } public static final int PATCHED_VERSIONS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList patchedVersions_; /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList + getPatchedVersionsList() { return patchedVersions_; } /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -495,26 +433,22 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString + getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } public static final int SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER = 9; private volatile java.lang.Object suggestedUpgradeTarget_; /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -524,7 +458,6 @@ public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) {
    * 
* * string suggested_upgrade_target = 9; - * * @return The suggestedUpgradeTarget. */ @java.lang.Override @@ -533,15 +466,14 @@ public java.lang.String getSuggestedUpgradeTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; } } /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -551,15 +483,16 @@ public java.lang.String getSuggestedUpgradeTarget() {
    * 
* * string suggested_upgrade_target = 9; - * * @return The bytes for suggestedUpgradeTarget. */ @java.lang.Override - public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString + getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -570,15 +503,12 @@ public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { public static final int MANUAL_STEPS_REQUIRED_FIELD_NUMBER = 10; private boolean manualStepsRequired_; /** - * - * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; - * * @return The manualStepsRequired. */ @java.lang.Override @@ -587,7 +517,6 @@ public boolean getManualStepsRequired() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -599,7 +528,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceTypeAffected_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceTypeAffected_); } @@ -619,8 +549,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 6, briefDescription_); } for (int i = 0; i < affectedSupportedMinors_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 7, affectedSupportedMinors_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, affectedSupportedMinors_.getRaw(i)); } for (int i = 0; i < patchedVersions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, patchedVersions_.getRaw(i)); @@ -683,7 +612,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, suggestedUpgradeTarget_); } if (manualStepsRequired_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, manualStepsRequired_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, manualStepsRequired_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -693,25 +623,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SecurityBulletinEvent)) { return super.equals(obj); } - com.google.container.v1beta1.SecurityBulletinEvent other = - (com.google.container.v1beta1.SecurityBulletinEvent) obj; - - if (!getResourceTypeAffected().equals(other.getResourceTypeAffected())) return false; - if (!getBulletinId().equals(other.getBulletinId())) return false; - if (!getCveIdsList().equals(other.getCveIdsList())) return false; - if (!getSeverity().equals(other.getSeverity())) return false; - if (!getBulletinUri().equals(other.getBulletinUri())) return false; - if (!getBriefDescription().equals(other.getBriefDescription())) return false; - if (!getAffectedSupportedMinorsList().equals(other.getAffectedSupportedMinorsList())) - return false; - if (!getPatchedVersionsList().equals(other.getPatchedVersionsList())) return false; - if (!getSuggestedUpgradeTarget().equals(other.getSuggestedUpgradeTarget())) return false; - if (getManualStepsRequired() != other.getManualStepsRequired()) return false; + com.google.container.v1beta1.SecurityBulletinEvent other = (com.google.container.v1beta1.SecurityBulletinEvent) obj; + + if (!getResourceTypeAffected() + .equals(other.getResourceTypeAffected())) return false; + if (!getBulletinId() + .equals(other.getBulletinId())) return false; + if (!getCveIdsList() + .equals(other.getCveIdsList())) return false; + if (!getSeverity() + .equals(other.getSeverity())) return false; + if (!getBulletinUri() + .equals(other.getBulletinUri())) return false; + if (!getBriefDescription() + .equals(other.getBriefDescription())) return false; + if (!getAffectedSupportedMinorsList() + .equals(other.getAffectedSupportedMinorsList())) return false; + if (!getPatchedVersionsList() + .equals(other.getPatchedVersionsList())) return false; + if (!getSuggestedUpgradeTarget() + .equals(other.getSuggestedUpgradeTarget())) return false; + if (getManualStepsRequired() + != other.getManualStepsRequired()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -748,110 +686,104 @@ public int hashCode() { hash = (37 * hash) + SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER; hash = (53 * hash) + getSuggestedUpgradeTarget().hashCode(); hash = (37 * hash) + MANUAL_STEPS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualStepsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getManualStepsRequired()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SecurityBulletinEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( 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.SecurityBulletinEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SecurityBulletinEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SecurityBulletinEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SecurityBulletinEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SecurityBulletinEvent is a notification sent to customers when a security
    * bulletin has been posted that they are vulnerable to.
@@ -859,32 +791,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.SecurityBulletinEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SecurityBulletinEvent)
       com.google.container.v1beta1.SecurityBulletinEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SecurityBulletinEvent.class,
-              com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
+              com.google.container.v1beta1.SecurityBulletinEvent.class, com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SecurityBulletinEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -912,9 +845,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
@@ -933,8 +866,7 @@ public com.google.container.v1beta1.SecurityBulletinEvent build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SecurityBulletinEvent buildPartial() {
-      com.google.container.v1beta1.SecurityBulletinEvent result =
-          new com.google.container.v1beta1.SecurityBulletinEvent(this);
+      com.google.container.v1beta1.SecurityBulletinEvent result = new com.google.container.v1beta1.SecurityBulletinEvent(this);
       int from_bitField0_ = bitField0_;
       result.resourceTypeAffected_ = resourceTypeAffected_;
       result.bulletinId_ = bulletinId_;
@@ -966,39 +898,38 @@ public com.google.container.v1beta1.SecurityBulletinEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SecurityBulletinEvent) {
-        return mergeFrom((com.google.container.v1beta1.SecurityBulletinEvent) other);
+        return mergeFrom((com.google.container.v1beta1.SecurityBulletinEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1006,8 +937,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.SecurityBulletinEvent other) {
-      if (other == com.google.container.v1beta1.SecurityBulletinEvent.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.SecurityBulletinEvent.getDefaultInstance()) return this;
       if (!other.getResourceTypeAffected().isEmpty()) {
         resourceTypeAffected_ = other.resourceTypeAffected_;
         onChanged();
@@ -1091,76 +1021,65 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                resourceTypeAffected_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                bulletinId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureCveIdsIsMutable();
-                cveIds_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                severity_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                bulletinUri_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                briefDescription_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 58:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureAffectedSupportedMinorsIsMutable();
-                affectedSupportedMinors_.add(s);
-                break;
-              } // case 58
-            case 66:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensurePatchedVersionsIsMutable();
-                patchedVersions_.add(s);
-                break;
-              } // case 66
-            case 74:
-              {
-                suggestedUpgradeTarget_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 80:
-              {
-                manualStepsRequired_ = input.readBool();
-
-                break;
-              } // case 80
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              resourceTypeAffected_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              bulletinId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCveIdsIsMutable();
+              cveIds_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              severity_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              bulletinUri_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              briefDescription_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 58: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureAffectedSupportedMinorsIsMutable();
+              affectedSupportedMinors_.add(s);
+              break;
+            } // case 58
+            case 66: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensurePatchedVersionsIsMutable();
+              patchedVersions_.add(s);
+              break;
+            } // case 66
+            case 74: {
+              suggestedUpgradeTarget_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 80: {
+              manualStepsRequired_ = input.readBool();
+
+              break;
+            } // case 80
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1170,13 +1089,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object resourceTypeAffected_ = "";
     /**
-     *
-     *
      * 
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1184,13 +1100,13 @@ public Builder mergeFrom(
      * 
* * string resource_type_affected = 1; - * * @return The resourceTypeAffected. */ public java.lang.String getResourceTypeAffected() { java.lang.Object ref = resourceTypeAffected_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; @@ -1199,8 +1115,6 @@ public java.lang.String getResourceTypeAffected() { } } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1208,14 +1122,15 @@ public java.lang.String getResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; - * * @return The bytes for resourceTypeAffected. */ - public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString + getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -1223,8 +1138,6 @@ public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { } } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1232,22 +1145,20 @@ public com.google.protobuf.ByteString getResourceTypeAffectedBytes() {
      * 
* * string resource_type_affected = 1; - * * @param value The resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffected(java.lang.String value) { + public Builder setResourceTypeAffected( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceTypeAffected_ = value; onChanged(); return this; } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1255,18 +1166,15 @@ public Builder setResourceTypeAffected(java.lang.String value) {
      * 
* * string resource_type_affected = 1; - * * @return This builder for chaining. */ public Builder clearResourceTypeAffected() { - + resourceTypeAffected_ = getDefaultInstance().getResourceTypeAffected(); onChanged(); return this; } /** - * - * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1274,16 +1182,16 @@ public Builder clearResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; - * * @param value The bytes for resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffectedBytes(com.google.protobuf.ByteString value) { + public Builder setResourceTypeAffectedBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceTypeAffected_ = value; onChanged(); return this; @@ -1291,20 +1199,18 @@ public Builder setResourceTypeAffectedBytes(com.google.protobuf.ByteString value private java.lang.Object bulletinId_ = ""; /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @return The bulletinId. */ public java.lang.String getBulletinId() { java.lang.Object ref = bulletinId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; @@ -1313,21 +1219,20 @@ public java.lang.String getBulletinId() { } } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @return The bytes for bulletinId. */ - public com.google.protobuf.ByteString getBulletinIdBytes() { + public com.google.protobuf.ByteString + getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -1335,112 +1240,95 @@ public com.google.protobuf.ByteString getBulletinIdBytes() { } } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @param value The bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinId(java.lang.String value) { + public Builder setBulletinId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinId_ = value; onChanged(); return this; } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @return This builder for chaining. */ public Builder clearBulletinId() { - + bulletinId_ = getDefaultInstance().getBulletinId(); onChanged(); return this; } /** - * - * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; - * * @param value The bytes for bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinIdBytes(com.google.protobuf.ByteString value) { + public Builder setBulletinIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList cveIds_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList cveIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCveIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { cveIds_ = new com.google.protobuf.LazyStringArrayList(cveIds_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList getCveIdsList() { + public com.google.protobuf.ProtocolStringList + getCveIdsList() { return cveIds_.getUnmodifiableView(); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -1448,90 +1336,80 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString getCveIdsBytes(int index) { + public com.google.protobuf.ByteString + getCveIdsBytes(int index) { return cveIds_.getByteString(index); } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param index The index to set the value at. * @param value The cveIds to set. * @return This builder for chaining. */ - public Builder setCveIds(int index, java.lang.String value) { + public Builder setCveIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.set(index, value); onChanged(); return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param value The cveIds to add. * @return This builder for chaining. */ - public Builder addCveIds(java.lang.String value) { + public Builder addCveIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param values The cveIds to add. * @return This builder for chaining. */ - public Builder addAllCveIds(java.lang.Iterable values) { + public Builder addAllCveIds( + java.lang.Iterable values) { ensureCveIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cveIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cveIds_); onChanged(); return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @return This builder for chaining. */ public Builder clearCveIds() { @@ -1541,22 +1419,20 @@ public Builder clearCveIds() { return this; } /** - * - * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; - * * @param value The bytes of the cveIds to add. * @return This builder for chaining. */ - public Builder addCveIdsBytes(com.google.protobuf.ByteString value) { + public Builder addCveIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); @@ -1565,20 +1441,18 @@ public Builder addCveIdsBytes(com.google.protobuf.ByteString value) { private java.lang.Object severity_ = ""; /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -1587,21 +1461,20 @@ public java.lang.String getSeverity() { } } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @return The bytes for severity. */ - public com.google.protobuf.ByteString getSeverityBytes() { + public com.google.protobuf.ByteString + getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); severity_ = b; return b; } else { @@ -1609,61 +1482,54 @@ public com.google.protobuf.ByteString getSeverityBytes() { } } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity(java.lang.String value) { + public Builder setSeverity( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** - * - * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; - * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes(com.google.protobuf.ByteString value) { + public Builder setSeverityBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -1671,20 +1537,18 @@ public Builder setSeverityBytes(com.google.protobuf.ByteString value) { private java.lang.Object bulletinUri_ = ""; /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @return The bulletinUri. */ public java.lang.String getBulletinUri() { java.lang.Object ref = bulletinUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; @@ -1693,21 +1557,20 @@ public java.lang.String getBulletinUri() { } } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @return The bytes for bulletinUri. */ - public com.google.protobuf.ByteString getBulletinUriBytes() { + public com.google.protobuf.ByteString + getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -1715,61 +1578,54 @@ public com.google.protobuf.ByteString getBulletinUriBytes() { } } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @param value The bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUri(java.lang.String value) { + public Builder setBulletinUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinUri_ = value; onChanged(); return this; } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @return This builder for chaining. */ public Builder clearBulletinUri() { - + bulletinUri_ = getDefaultInstance().getBulletinUri(); onChanged(); return this; } /** - * - * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; - * * @param value The bytes for bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUriBytes(com.google.protobuf.ByteString value) { + public Builder setBulletinUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinUri_ = value; onChanged(); return this; @@ -1777,21 +1633,19 @@ public Builder setBulletinUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object briefDescription_ = ""; /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @return The briefDescription. */ public java.lang.String getBriefDescription() { java.lang.Object ref = briefDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; @@ -1800,22 +1654,21 @@ public java.lang.String getBriefDescription() { } } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @return The bytes for briefDescription. */ - public com.google.protobuf.ByteString getBriefDescriptionBytes() { + public com.google.protobuf.ByteString + getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -1823,116 +1676,98 @@ public com.google.protobuf.ByteString getBriefDescriptionBytes() { } } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @param value The briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescription(java.lang.String value) { + public Builder setBriefDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + briefDescription_ = value; onChanged(); return this; } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @return This builder for chaining. */ public Builder clearBriefDescription() { - + briefDescription_ = getDefaultInstance().getBriefDescription(); onChanged(); return this; } /** - * - * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; - * * @param value The bytes for briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setBriefDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + briefDescription_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList affectedSupportedMinors_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList affectedSupportedMinors_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureAffectedSupportedMinorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - affectedSupportedMinors_ = - new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); + affectedSupportedMinors_ = new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList + getAffectedSupportedMinorsList() { return affectedSupportedMinors_.getUnmodifiableView(); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -1940,90 +1775,80 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString + getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param index The index to set the value at. * @param value The affectedSupportedMinors to set. * @return This builder for chaining. */ - public Builder setAffectedSupportedMinors(int index, java.lang.String value) { + public Builder setAffectedSupportedMinors( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.set(index, value); onChanged(); return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param value The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinors(java.lang.String value) { + public Builder addAffectedSupportedMinors( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param values The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAllAffectedSupportedMinors(java.lang.Iterable values) { + public Builder addAllAffectedSupportedMinors( + java.lang.Iterable values) { ensureAffectedSupportedMinorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, affectedSupportedMinors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, affectedSupportedMinors_); onChanged(); return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @return This builder for chaining. */ public Builder clearAffectedSupportedMinors() { @@ -2033,74 +1858,62 @@ public Builder clearAffectedSupportedMinors() { return this; } /** - * - * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; - * * @param value The bytes of the affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinorsBytes(com.google.protobuf.ByteString value) { + public Builder addAffectedSupportedMinorsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList patchedVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList patchedVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePatchedVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { patchedVersions_ = new com.google.protobuf.LazyStringArrayList(patchedVersions_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList + getPatchedVersionsList() { return patchedVersions_.getUnmodifiableView(); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -2108,90 +1921,80 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString + getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param index The index to set the value at. * @param value The patchedVersions to set. * @return This builder for chaining. */ - public Builder setPatchedVersions(int index, java.lang.String value) { + public Builder setPatchedVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param value The patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersions(java.lang.String value) { + public Builder addPatchedVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param values The patchedVersions to add. * @return This builder for chaining. */ - public Builder addAllPatchedVersions(java.lang.Iterable values) { + public Builder addAllPatchedVersions( + java.lang.Iterable values) { ensurePatchedVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchedVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, patchedVersions_); onChanged(); return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @return This builder for chaining. */ public Builder clearPatchedVersions() { @@ -2201,22 +2004,20 @@ public Builder clearPatchedVersions() { return this; } /** - * - * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; - * * @param value The bytes of the patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addPatchedVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); @@ -2225,8 +2026,6 @@ public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) { private java.lang.Object suggestedUpgradeTarget_ = ""; /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2236,13 +2035,13 @@ public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) {
      * 
* * string suggested_upgrade_target = 9; - * * @return The suggestedUpgradeTarget. */ public java.lang.String getSuggestedUpgradeTarget() { java.lang.Object ref = suggestedUpgradeTarget_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; @@ -2251,8 +2050,6 @@ public java.lang.String getSuggestedUpgradeTarget() { } } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2262,14 +2059,15 @@ public java.lang.String getSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; - * * @return The bytes for suggestedUpgradeTarget. */ - public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString + getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -2277,8 +2075,6 @@ public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { } } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2288,22 +2084,20 @@ public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() {
      * 
* * string suggested_upgrade_target = 9; - * * @param value The suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTarget(java.lang.String value) { + public Builder setSuggestedUpgradeTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestedUpgradeTarget_ = value; onChanged(); return this; } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2313,18 +2107,15 @@ public Builder setSuggestedUpgradeTarget(java.lang.String value) {
      * 
* * string suggested_upgrade_target = 9; - * * @return This builder for chaining. */ public Builder clearSuggestedUpgradeTarget() { - + suggestedUpgradeTarget_ = getDefaultInstance().getSuggestedUpgradeTarget(); onChanged(); return this; } /** - * - * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2334,32 +2125,29 @@ public Builder clearSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; - * * @param value The bytes for suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTargetBytes(com.google.protobuf.ByteString value) { + public Builder setSuggestedUpgradeTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestedUpgradeTarget_ = value; onChanged(); return this; } - private boolean manualStepsRequired_; + private boolean manualStepsRequired_ ; /** - * - * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; - * * @return The manualStepsRequired. */ @java.lang.Override @@ -2367,45 +2155,39 @@ public boolean getManualStepsRequired() { return manualStepsRequired_; } /** - * - * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; - * * @param value The manualStepsRequired to set. * @return This builder for chaining. */ public Builder setManualStepsRequired(boolean value) { - + manualStepsRequired_ = value; onChanged(); return this; } /** - * - * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; - * * @return This builder for chaining. */ public Builder clearManualStepsRequired() { - + manualStepsRequired_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2415,12 +2197,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SecurityBulletinEvent) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SecurityBulletinEvent) private static final com.google.container.v1beta1.SecurityBulletinEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SecurityBulletinEvent(); } @@ -2429,27 +2211,27 @@ public static com.google.container.v1beta1.SecurityBulletinEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityBulletinEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityBulletinEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2464,4 +2246,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SecurityBulletinEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java similarity index 80% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java index dfb6c6ceb713..3d2f8a24ed91 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SecurityBulletinEventOrBuilder - extends +public interface SecurityBulletinEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SecurityBulletinEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -33,13 +15,10 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string resource_type_affected = 1; - * * @return The resourceTypeAffected. */ java.lang.String getResourceTypeAffected(); /** - * - * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -47,269 +26,217 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string resource_type_affected = 1; - * * @return The bytes for resourceTypeAffected. */ - com.google.protobuf.ByteString getResourceTypeAffectedBytes(); + com.google.protobuf.ByteString + getResourceTypeAffectedBytes(); /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bulletinId. */ java.lang.String getBulletinId(); /** - * - * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; - * * @return The bytes for bulletinId. */ - com.google.protobuf.ByteString getBulletinIdBytes(); + com.google.protobuf.ByteString + getBulletinIdBytes(); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return A list containing the cveIds. */ - java.util.List getCveIdsList(); + java.util.List + getCveIdsList(); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @return The count of cveIds. */ int getCveIdsCount(); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the element to return. * @return The cveIds at the given index. */ java.lang.String getCveIds(int index); /** - * - * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; - * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - com.google.protobuf.ByteString getCveIdsBytes(int index); + com.google.protobuf.ByteString + getCveIdsBytes(int index); /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The severity. */ java.lang.String getSeverity(); /** - * - * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; - * * @return The bytes for severity. */ - com.google.protobuf.ByteString getSeverityBytes(); + com.google.protobuf.ByteString + getSeverityBytes(); /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bulletinUri. */ java.lang.String getBulletinUri(); /** - * - * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; - * * @return The bytes for bulletinUri. */ - com.google.protobuf.ByteString getBulletinUriBytes(); + com.google.protobuf.ByteString + getBulletinUriBytes(); /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The briefDescription. */ java.lang.String getBriefDescription(); /** - * - * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; - * * @return The bytes for briefDescription. */ - com.google.protobuf.ByteString getBriefDescriptionBytes(); + com.google.protobuf.ByteString + getBriefDescriptionBytes(); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return A list containing the affectedSupportedMinors. */ - java.util.List getAffectedSupportedMinorsList(); + java.util.List + getAffectedSupportedMinorsList(); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @return The count of affectedSupportedMinors. */ int getAffectedSupportedMinorsCount(); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ java.lang.String getAffectedSupportedMinors(int index); /** - * - * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; - * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index); + com.google.protobuf.ByteString + getAffectedSupportedMinorsBytes(int index); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return A list containing the patchedVersions. */ - java.util.List getPatchedVersionsList(); + java.util.List + getPatchedVersionsList(); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @return The count of patchedVersions. */ int getPatchedVersionsCount(); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ java.lang.String getPatchedVersions(int index); /** - * - * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; - * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - com.google.protobuf.ByteString getPatchedVersionsBytes(int index); + com.google.protobuf.ByteString + getPatchedVersionsBytes(int index); /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -319,13 +246,10 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string suggested_upgrade_target = 9; - * * @return The suggestedUpgradeTarget. */ java.lang.String getSuggestedUpgradeTarget(); /** - * - * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -335,21 +259,18 @@ public interface SecurityBulletinEventOrBuilder
    * 
* * string suggested_upgrade_target = 9; - * * @return The bytes for suggestedUpgradeTarget. */ - com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes(); + com.google.protobuf.ByteString + getSuggestedUpgradeTargetBytes(); /** - * - * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; - * * @return The manualStepsRequired. */ boolean getManualStepsRequired(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java index 322d4ef0618f..5b61d5bdf2c6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig} */ -public final class ServerConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ServerConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServerConfig) ServerConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ServerConfig.newBuilder() to construct. private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ServerConfig() { defaultClusterVersion_ = ""; validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -48,249 +30,195 @@ private ServerConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 10: return internalGetWindowsVersionMaps(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.class, - com.google.container.v1beta1.ServerConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.class, com.google.container.v1beta1.ServerConfig.Builder.class); } - public interface ReleaseChannelConfigOrBuilder - extends + public interface ReleaseChannelConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ com.google.container.v1beta1.ReleaseChannel.Channel getChannel(); /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The defaultVersion. */ java.lang.String getDefaultVersion(); /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The bytes for defaultVersion. */ - com.google.protobuf.ByteString getDefaultVersionBytes(); + com.google.protobuf.ByteString + getDefaultVersionBytes(); /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List + @java.lang.Deprecated java.util.List getAvailableVersionsList(); /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - getAvailableVersions(int index); + @java.lang.Deprecated com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index); /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - int getAvailableVersionsCount(); + @java.lang.Deprecated int getAvailableVersionsCount(); /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - java.util.List< - ? extends - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersionOrBuilder> + @java.lang.Deprecated java.util.List getAvailableVersionsOrBuilderList(); /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder - getAvailableVersionsOrBuilder(int index); + @java.lang.Deprecated com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder( + int index); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return A list containing the validVersions. */ - java.util.List getValidVersionsList(); + java.util.List + getValidVersionsList(); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return The count of validVersions. */ int getValidVersionsCount(); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the element to return. * @return The validVersions at the given index. */ java.lang.String getValidVersions(int index); /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - com.google.protobuf.ByteString getValidVersionsBytes(int index); + com.google.protobuf.ByteString + getValidVersionsBytes(int index); } /** - * - * *
    * ReleaseChannelConfig exposes configuration for a release channel.
    * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig} */ - public static final class ReleaseChannelConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ReleaseChannelConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) ReleaseChannelConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReleaseChannelConfig.newBuilder() to construct. private ReleaseChannelConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReleaseChannelConfig() { channel_ = 0; defaultVersion_ = ""; @@ -300,107 +228,89 @@ private ReleaseChannelConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReleaseChannelConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); } - @java.lang.Deprecated - public interface AvailableVersionOrBuilder - extends + @java.lang.Deprecated public interface AvailableVersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Kubernetes version.
        * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
        * Kubernetes version.
        * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
        * Reason for availability.
        * 
* * string reason = 2; - * * @return The reason. */ java.lang.String getReason(); /** - * - * *
        * Reason for availability.
        * 
* * string reason = 2; - * * @return The bytes for reason. */ - com.google.protobuf.ByteString getReasonBytes(); + com.google.protobuf.ByteString + getReasonBytes(); } /** - * - * *
      * Deprecated.
      * 
* - * Protobuf type {@code - * google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} + * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} */ - @java.lang.Deprecated - public static final class AvailableVersion extends com.google.protobuf.GeneratedMessageV3 - implements + @java.lang.Deprecated public static final class AvailableVersion extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) AvailableVersionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvailableVersion.newBuilder() to construct. private AvailableVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AvailableVersion() { version_ = ""; reason_ = ""; @@ -408,43 +318,37 @@ private AvailableVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AvailableVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .class, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** - * - * *
        * Kubernetes version.
        * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -453,29 +357,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
        * Kubernetes version.
        * 
* * string version = 1; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -486,14 +390,11 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int REASON_FIELD_NUMBER = 2; private volatile java.lang.Object reason_; /** - * - * *
        * Reason for availability.
        * 
* * string reason = 2; - * * @return The reason. */ @java.lang.Override @@ -502,29 +403,29 @@ public java.lang.String getReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; } } /** - * - * *
        * Reason for availability.
        * 
* * string reason = 2; - * * @return The bytes for reason. */ @java.lang.Override - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -533,7 +434,6 @@ public com.google.protobuf.ByteString getReasonBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -545,7 +445,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -575,18 +476,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion)) { + if (!(obj instanceof com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion)) { return super.equals(obj); } - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other = - (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) obj; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other = (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) obj; - if (!getVersion().equals(other.getVersion())) return false; - if (!getReason().equals(other.getReason())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (!getReason() + .equals(other.getReason())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -607,104 +507,88 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion 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.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( + 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.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - 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.ServerConfig.ReleaseChannelConfig.AvailableVersion 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.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - 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.ServerConfig.ReleaseChannelConfig.AvailableVersion 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.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -714,45 +598,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Deprecated.
        * 
* - * Protobuf type {@code - * google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} + * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .class, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder.class); } - // Construct using - // com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.newBuilder() - private Builder() {} + // Construct using com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -764,23 +642,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - getDefaultInstanceForType() { - return com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .getDefaultInstance(); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getDefaultInstanceForType() { + return com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance(); } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - build() { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = - buildPartial(); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion build() { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -788,11 +662,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - buildPartial() { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = - new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion( - this); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion buildPartial() { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion(this); result.version_ = version_; result.reason_ = reason_; onBuilt(); @@ -803,56 +674,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ServerConfig.ReleaseChannelConfig.AvailableVersion) { - return mergeFrom( - (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) - other); + if (other instanceof com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) { + return mergeFrom((com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other) { - if (other - == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other) { + if (other == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance()) return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); @@ -887,25 +748,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - version_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - reason_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + version_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + reason_ = input.readStringRequireUtf8(); + + 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) { @@ -918,20 +776,18 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** - * - * *
          * Kubernetes version.
          * 
* * string version = 1; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -940,21 +796,20 @@ public java.lang.String getVersion() { } } /** - * - * *
          * Kubernetes version.
          * 
* * string version = 1; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -962,61 +817,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
          * Kubernetes version.
          * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
          * Kubernetes version.
          * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
          * Kubernetes version.
          * 
* * string version = 1; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -1024,20 +872,18 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object reason_ = ""; /** - * - * *
          * Reason for availability.
          * 
* * string reason = 2; - * * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; @@ -1046,21 +892,20 @@ public java.lang.String getReason() { } } /** - * - * *
          * Reason for availability.
          * 
* * string reason = 2; - * * @return The bytes for reason. */ - public com.google.protobuf.ByteString getReasonBytes() { + public com.google.protobuf.ByteString + getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); reason_ = b; return b; } else { @@ -1068,66 +913,58 @@ public com.google.protobuf.ByteString getReasonBytes() { } } /** - * - * *
          * Reason for availability.
          * 
* * string reason = 2; - * * @param value The reason to set. * @return This builder for chaining. */ - public Builder setReason(java.lang.String value) { + public Builder setReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reason_ = value; onChanged(); return this; } /** - * - * *
          * Reason for availability.
          * 
* * string reason = 2; - * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /** - * - * *
          * Reason for availability.
          * 
* * string reason = 2; - * * @param value The bytes for reason to set. * @return This builder for chaining. */ - public Builder setReasonBytes(com.google.protobuf.ByteString value) { + public Builder setReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reason_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1140,46 +977,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) - private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersion - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion(); + DEFAULT_INSTANCE = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion(); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - getDefaultInstance() { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvailableVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvailableVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,61 +1023,47 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - getDefaultInstanceForType() { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ - @java.lang.Override - public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { + @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = - com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED - : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; } public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object defaultVersion_; /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The defaultVersion. */ @java.lang.Override @@ -1254,29 +1072,29 @@ public java.lang.String getDefaultVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; } } /** - * - * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; - * * @return The bytes for defaultVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -1285,147 +1103,106 @@ public com.google.protobuf.ByteString getDefaultVersionBytes() { } public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 3; - private java.util.List< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> - availableVersions_; + private java.util.List availableVersions_; /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> - getAvailableVersionsList() { + @java.lang.Deprecated public java.util.List getAvailableVersionsList() { return availableVersions_; } /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public java.util.List< - ? extends - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersionOrBuilder> + @java.lang.Deprecated public java.util.List getAvailableVersionsOrBuilderList() { return availableVersions_; } /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public int getAvailableVersionsCount() { + @java.lang.Deprecated public int getAvailableVersionsCount() { return availableVersions_.size(); } /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - getAvailableVersions(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index) { return availableVersions_.get(index); } /** - * - * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder - getAvailableVersionsOrBuilder(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder( + int index) { return availableVersions_.get(index); } public static final int VALID_VERSIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList validVersions_; /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList getValidVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidVersionsList() { return validVersions_; } /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -1433,23 +1210,20 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** - * - * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; - * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1461,7 +1235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -1484,14 +1259,15 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, channel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultVersion_); } for (int i = 0; i < availableVersions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, availableVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, availableVersions_.get(i)); } { int dataSize = 0; @@ -1509,18 +1285,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other = - (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig) obj; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other = (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig) obj; if (channel_ != other.channel_) return false; - if (!getDefaultVersion().equals(other.getDefaultVersion())) return false; - if (!getAvailableVersionsList().equals(other.getAvailableVersionsList())) return false; - if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; + if (!getDefaultVersion() + .equals(other.getDefaultVersion())) return false; + if (!getAvailableVersionsList() + .equals(other.getAvailableVersionsList())) return false; + if (!getValidVersionsList() + .equals(other.getValidVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1550,94 +1328,87 @@ public int hashCode() { } public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( 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.ServerConfig.ReleaseChannelConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1647,41 +1418,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * ReleaseChannelConfig exposes configuration for a release channel.
      * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); } // Construct using com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1702,14 +1471,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - getDefaultInstanceForType() { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getDefaultInstanceForType() { return com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance(); } @@ -1724,8 +1492,7 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig build() { @java.lang.Override public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig buildPartial() { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig result = - new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig(this); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig result = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig(this); int from_bitField0_ = bitField0_; result.channel_ = channel_; result.defaultVersion_ = defaultVersion_; @@ -1751,52 +1518,46 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.ServerConfig.ReleaseChannelConfig) { - return mergeFrom((com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig) other); + return mergeFrom((com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other) { - if (other - == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other) { + if (other == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) return this; if (other.channel_ != 0) { setChannelValue(other.getChannelValue()); } @@ -1822,10 +1583,9 @@ public Builder mergeFrom( availableVersionsBuilder_ = null; availableVersions_ = other.availableVersions_; bitField0_ = (bitField0_ & ~0x00000001); - availableVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAvailableVersionsFieldBuilder() - : null; + availableVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAvailableVersionsFieldBuilder() : null; } else { availableVersionsBuilder_.addAllMessages(other.availableVersions_); } @@ -1867,48 +1627,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - channel_ = input.readEnum(); + case 8: { + channel_ = input.readEnum(); - break; - } // case 8 - case 18: - { - defaultVersion_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + defaultVersion_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - m = - input.readMessage( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersion.parser(), - extensionRegistry); - if (availableVersionsBuilder_ == null) { - ensureAvailableVersionsIsMutable(); - availableVersions_.add(m); - } else { - availableVersionsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidVersionsIsMutable(); - validVersions_.add(s); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion m = + input.readMessage( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.parser(), + extensionRegistry); + if (availableVersionsBuilder_ == null) { + ensureAvailableVersionsIsMutable(); + availableVersions_.add(m); + } else { + availableVersionsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidVersionsIsMutable(); + validVersions_.add(s); + 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) { @@ -1918,72 +1671,55 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int channel_ = 0; /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override - public int getChannelValue() { + @java.lang.Override public int getChannelValue() { return channel_; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return The channel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = - com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null - ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED - : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @param value The channel to set. * @return This builder for chaining. */ @@ -1991,24 +1727,21 @@ public Builder setChannel(com.google.container.v1beta1.ReleaseChannel.Channel va if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; - * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; @@ -2016,20 +1749,18 @@ public Builder clearChannel() { private java.lang.Object defaultVersion_ = ""; /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; @@ -2038,21 +1769,20 @@ public java.lang.String getDefaultVersion() { } } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @return The bytes for defaultVersion. */ - public com.google.protobuf.ByteString getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -2060,105 +1790,81 @@ public com.google.protobuf.ByteString getDefaultVersionBytes() { } } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @param value The defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersion(java.lang.String value) { + public Builder setDefaultVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultVersion_ = value; onChanged(); return this; } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = getDefaultInstance().getDefaultVersion(); onChanged(); return this; } /** - * - * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; - * * @param value The bytes for defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultVersion_ = value; onChanged(); return this; } - private java.util.List< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> - availableVersions_ = java.util.Collections.emptyList(); - + private java.util.List availableVersions_ = + java.util.Collections.emptyList(); private void ensureAvailableVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - availableVersions_ = - new java.util.ArrayList< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion>( - availableVersions_); + availableVersions_ = new java.util.ArrayList(availableVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .Builder, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersionOrBuilder> - availableVersionsBuilder_; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder> availableVersionsBuilder_; /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> - getAvailableVersionsList() { + @java.lang.Deprecated public java.util.List getAvailableVersionsList() { if (availableVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(availableVersions_); } else { @@ -2166,20 +1872,15 @@ private void ensureAvailableVersionsIsMutable() { } } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public int getAvailableVersionsCount() { + @java.lang.Deprecated public int getAvailableVersionsCount() { if (availableVersionsBuilder_ == null) { return availableVersions_.size(); } else { @@ -2187,21 +1888,15 @@ public int getAvailableVersionsCount() { } } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - getAvailableVersions(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index) { if (availableVersionsBuilder_ == null) { return availableVersions_.get(index); } else { @@ -2209,22 +1904,16 @@ public int getAvailableVersionsCount() { } } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setAvailableVersions( - int index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { + @java.lang.Deprecated public Builder setAvailableVersions( + int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2238,23 +1927,16 @@ public Builder setAvailableVersions( return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder setAvailableVersions( - int index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder - builderForValue) { + @java.lang.Deprecated public Builder setAvailableVersions( + int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.set(index, builderForValue.build()); @@ -2265,21 +1947,15 @@ public Builder setAvailableVersions( return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAvailableVersions( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { + @java.lang.Deprecated public Builder addAvailableVersions(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2293,22 +1969,16 @@ public Builder addAvailableVersions( return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAvailableVersions( - int index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { + @java.lang.Deprecated public Builder addAvailableVersions( + int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2322,22 +1992,16 @@ public Builder addAvailableVersions( return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAvailableVersions( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder - builderForValue) { + @java.lang.Deprecated public Builder addAvailableVersions( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.add(builderForValue.build()); @@ -2348,23 +2012,16 @@ public Builder addAvailableVersions( return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAvailableVersions( - int index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder - builderForValue) { + @java.lang.Deprecated public Builder addAvailableVersions( + int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.add(index, builderForValue.build()); @@ -2375,28 +2032,20 @@ public Builder addAvailableVersions( return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder addAllAvailableVersions( - java.lang.Iterable< - ? extends - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersion> - values) { + @java.lang.Deprecated public Builder addAllAvailableVersions( + java.lang.Iterable values) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, availableVersions_); onChanged(); } else { availableVersionsBuilder_.addAllMessages(values); @@ -2404,20 +2053,15 @@ public Builder addAllAvailableVersions( return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder clearAvailableVersions() { + @java.lang.Deprecated public Builder clearAvailableVersions() { if (availableVersionsBuilder_ == null) { availableVersions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -2428,20 +2072,15 @@ public Builder clearAvailableVersions() { return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public Builder removeAvailableVersions(int index) { + @java.lang.Deprecated public Builder removeAvailableVersions(int index) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.remove(index); @@ -2452,65 +2091,45 @@ public Builder removeAvailableVersions(int index) { return this; } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder - getAvailableVersionsBuilder(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder getAvailableVersionsBuilder( + int index) { return getAvailableVersionsFieldBuilder().getBuilder(index); } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersionOrBuilder - getAvailableVersionsOrBuilder(int index) { + @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder( + int index) { if (availableVersionsBuilder_ == null) { - return availableVersions_.get(index); - } else { + return availableVersions_.get(index); } else { return availableVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List< - ? extends - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersionOrBuilder> - getAvailableVersionsOrBuilderList() { + @java.lang.Deprecated public java.util.List + getAvailableVersionsOrBuilderList() { if (availableVersionsBuilder_ != null) { return availableVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -2518,84 +2137,51 @@ public Builder removeAvailableVersions(int index) { } } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder - addAvailableVersionsBuilder() { - return getAvailableVersionsFieldBuilder() - .addBuilder( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder addAvailableVersionsBuilder() { + return getAvailableVersionsFieldBuilder().addBuilder( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance()); } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder - addAvailableVersionsBuilder(int index) { - return getAvailableVersionsFieldBuilder() - .addBuilder( - index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .getDefaultInstance()); + @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder addAvailableVersionsBuilder( + int index) { + return getAvailableVersionsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance()); } /** - * - * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; */ - @java.lang.Deprecated - public java.util.List< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .Builder> - getAvailableVersionsBuilderList() { + @java.lang.Deprecated public java.util.List + getAvailableVersionsBuilderList() { return getAvailableVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .Builder, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersionOrBuilder> + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder> getAvailableVersionsFieldBuilder() { if (availableVersionsBuilder_ == null) { - availableVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion - .Builder, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - .AvailableVersionOrBuilder>( + availableVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder>( availableVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2605,52 +2191,42 @@ public Builder removeAvailableVersions(int index) { return availableVersionsBuilder_; } - private com.google.protobuf.LazyStringList validVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validVersions_ = new com.google.protobuf.LazyStringArrayList(validVersions_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList getValidVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidVersionsList() { return validVersions_.getUnmodifiableView(); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -2658,90 +2234,80 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param index The index to set the value at. * @param value The validVersions to set. * @return This builder for chaining. */ - public Builder setValidVersions(int index, java.lang.String value) { + public Builder setValidVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.set(index, value); onChanged(); return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param value The validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersions(java.lang.String value) { + public Builder addValidVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param values The validVersions to add. * @return This builder for chaining. */ - public Builder addAllValidVersions(java.lang.Iterable values) { + public Builder addAllValidVersions( + java.lang.Iterable values) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validVersions_); onChanged(); return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @return This builder for chaining. */ public Builder clearValidVersions() { @@ -2751,28 +2317,25 @@ public Builder clearValidVersions() { return this; } /** - * - * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; - * * @param value The bytes of the validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addValidVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2785,44 +2348,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) - private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig(); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - getDefaultInstance() { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannelConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannelConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2834,23 +2394,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig - getDefaultInstanceForType() { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object defaultClusterVersion_; /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The defaultClusterVersion. */ @java.lang.Override @@ -2859,29 +2416,29 @@ public java.lang.String getDefaultClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; } } /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The bytes for defaultClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString + getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -2892,42 +2449,34 @@ public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { public static final int VALID_NODE_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList validNodeVersions_; /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidNodeVersionsList() { return validNodeVersions_; } /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -2935,32 +2484,27 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object defaultImageType_; /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The defaultImageType. */ @java.lang.Override @@ -2969,29 +2513,29 @@ public java.lang.String getDefaultImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; } } /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The bytes for defaultImageType. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString + getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -3002,42 +2546,34 @@ public com.google.protobuf.ByteString getDefaultImageTypeBytes() { public static final int VALID_IMAGE_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList validImageTypes_; /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList + getValidImageTypesList() { return validImageTypes_; } /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -3045,60 +2581,50 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString + getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList validMasterVersions_; /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidMasterVersionsList() { return validMasterVersions_; } /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -3106,26 +2632,22 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } public static final int CHANNELS_FIELD_NUMBER = 9; private java.util.List channels_; /** - * - * *
    * List of release channel configurations.
    * 
@@ -3133,13 +2655,10 @@ public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List - getChannelsList() { + public java.util.List getChannelsList() { return channels_; } /** - * - * *
    * List of release channel configurations.
    * 
@@ -3147,14 +2666,11 @@ public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List< - ? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> + public java.util.List getChannelsOrBuilderList() { return channels_; } /** - * - * *
    * List of release channel configurations.
    * 
@@ -3166,8 +2682,6 @@ public int getChannelsCount() { return channels_.size(); } /** - * - * *
    * List of release channel configurations.
    * 
@@ -3179,8 +2693,6 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannel return channels_.get(index); } /** - * - * *
    * List of release channel configurations.
    * 
@@ -3188,34 +2700,27 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannel * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder - getChannelsOrBuilder(int index) { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder( + int index) { return channels_.get(index); } public static final int WINDOWS_VERSION_MAPS_FIELD_NUMBER = 10; - private static final class WindowsVersionMapsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.container.v1beta1.WindowsVersions> - defaultEntry = + java.lang.String, com.google.container.v1beta1.WindowsVersions> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.container.v1beta1.WindowsVersions.getDefaultInstance()); + .newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.container.v1beta1.WindowsVersions.getDefaultInstance()); } - - private com.google.protobuf.MapField< - java.lang.String, com.google.container.v1beta1.WindowsVersions> - windowsVersionMaps_; - private com.google.protobuf.MapField< - java.lang.String, com.google.container.v1beta1.WindowsVersions> - internalGetWindowsVersionMaps() { + java.lang.String, com.google.container.v1beta1.WindowsVersions> windowsVersionMaps_; + private com.google.protobuf.MapField + internalGetWindowsVersionMaps() { if (windowsVersionMaps_ == null) { return com.google.protobuf.MapField.emptyMapField( WindowsVersionMapsDefaultEntryHolder.defaultEntry); @@ -3227,80 +2732,68 @@ public int getWindowsVersionMapsCount() { return internalGetWindowsVersionMaps().getMap().size(); } /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ + @java.lang.Override - public boolean containsWindowsVersionMaps(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsWindowsVersionMaps( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetWindowsVersionMaps().getMap().containsKey(key); } - /** Use {@link #getWindowsVersionMapsMap()} instead. */ + /** + * Use {@link #getWindowsVersionMapsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getWindowsVersionMaps() { + public java.util.Map getWindowsVersionMaps() { return getWindowsVersionMapsMap(); } /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ @java.lang.Override - public java.util.Map - getWindowsVersionMapsMap() { + + public java.util.Map getWindowsVersionMapsMap() { return internalGetWindowsVersionMaps().getMap(); } /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ @java.lang.Override + public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( - java.lang.String key, com.google.container.v1beta1.WindowsVersions defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.container.v1beta1.WindowsVersions defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWindowsVersionMaps().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ @java.lang.Override + public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWindowsVersionMaps().getMap(); if (!map.containsKey(key)) { @@ -3310,7 +2803,6 @@ public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3322,7 +2814,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultClusterVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultClusterVersion_); } @@ -3341,7 +2834,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < channels_.size(); i++) { output.writeMessage(9, channels_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( output, internalGetWindowsVersionMaps(), WindowsVersionMapsDefaultEntryHolder.defaultEntry, @@ -3386,18 +2880,18 @@ public int getSerializedSize() { size += 1 * getValidMasterVersionsList().size(); } for (int i = 0; i < channels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, channels_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, channels_.get(i)); } - for (java.util.Map.Entry entry : - internalGetWindowsVersionMaps().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetWindowsVersionMaps().getMap().entrySet()) { com.google.protobuf.MapEntry - windowsVersionMaps__ = - WindowsVersionMapsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, windowsVersionMaps__); + windowsVersionMaps__ = WindowsVersionMapsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, windowsVersionMaps__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3407,22 +2901,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ServerConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ServerConfig other = - (com.google.container.v1beta1.ServerConfig) obj; - - if (!getDefaultClusterVersion().equals(other.getDefaultClusterVersion())) return false; - if (!getValidNodeVersionsList().equals(other.getValidNodeVersionsList())) return false; - if (!getDefaultImageType().equals(other.getDefaultImageType())) return false; - if (!getValidImageTypesList().equals(other.getValidImageTypesList())) return false; - if (!getValidMasterVersionsList().equals(other.getValidMasterVersionsList())) return false; - if (!getChannelsList().equals(other.getChannelsList())) return false; - if (!internalGetWindowsVersionMaps().equals(other.internalGetWindowsVersionMaps())) - return false; + com.google.container.v1beta1.ServerConfig other = (com.google.container.v1beta1.ServerConfig) obj; + + if (!getDefaultClusterVersion() + .equals(other.getDefaultClusterVersion())) return false; + if (!getValidNodeVersionsList() + .equals(other.getValidNodeVersionsList())) return false; + if (!getDefaultImageType() + .equals(other.getDefaultImageType())) return false; + if (!getValidImageTypesList() + .equals(other.getValidImageTypesList())) return false; + if (!getValidMasterVersionsList() + .equals(other.getValidMasterVersionsList())) return false; + if (!getChannelsList() + .equals(other.getChannelsList())) return false; + if (!internalGetWindowsVersionMaps().equals( + other.internalGetWindowsVersionMaps())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3463,156 +2962,152 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ServerConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ServerConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.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.container.v1beta1.ServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ServerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ServerConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServerConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServerConfig) com.google.container.v1beta1.ServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 10: return internalGetWindowsVersionMaps(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 10: return internalGetMutableWindowsVersionMaps(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.class, - com.google.container.v1beta1.ServerConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.class, com.google.container.v1beta1.ServerConfig.Builder.class); } // Construct using com.google.container.v1beta1.ServerConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3638,9 +3133,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_descriptor; } @java.lang.Override @@ -3659,8 +3154,7 @@ public com.google.container.v1beta1.ServerConfig build() { @java.lang.Override public com.google.container.v1beta1.ServerConfig buildPartial() { - com.google.container.v1beta1.ServerConfig result = - new com.google.container.v1beta1.ServerConfig(this); + com.google.container.v1beta1.ServerConfig result = new com.google.container.v1beta1.ServerConfig(this); int from_bitField0_ = bitField0_; result.defaultClusterVersion_ = defaultClusterVersion_; if (((bitField0_ & 0x00000001) != 0)) { @@ -3698,39 +3192,38 @@ public com.google.container.v1beta1.ServerConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ServerConfig) { - return mergeFrom((com.google.container.v1beta1.ServerConfig) other); + return mergeFrom((com.google.container.v1beta1.ServerConfig)other); } else { super.mergeFrom(other); return this; @@ -3795,16 +3288,16 @@ public Builder mergeFrom(com.google.container.v1beta1.ServerConfig other) { channelsBuilder_ = null; channels_ = other.channels_; bitField0_ = (bitField0_ & ~0x00000008); - channelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChannelsFieldBuilder() - : null; + channelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChannelsFieldBuilder() : null; } else { channelsBuilder_.addAllMessages(other.channels_); } } } - internalGetMutableWindowsVersionMaps().mergeFrom(other.internalGetWindowsVersionMaps()); + internalGetMutableWindowsVersionMaps().mergeFrom( + other.internalGetWindowsVersionMaps()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3831,73 +3324,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - defaultClusterVersion_ = input.readStringRequireUtf8(); + case 10: { + defaultClusterVersion_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidNodeVersionsIsMutable(); - validNodeVersions_.add(s); - break; - } // case 26 - case 34: - { - defaultImageType_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidNodeVersionsIsMutable(); + validNodeVersions_.add(s); + break; + } // case 26 + case 34: { + defaultImageType_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidImageTypesIsMutable(); - validImageTypes_.add(s); - break; - } // case 42 - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidMasterVersionsIsMutable(); - validMasterVersions_.add(s); - break; - } // case 50 - case 74: - { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig m = - input.readMessage( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.parser(), - extensionRegistry); - if (channelsBuilder_ == null) { - ensureChannelsIsMutable(); - channels_.add(m); - } else { - channelsBuilder_.addMessage(m); - } - break; - } // case 74 - case 82: - { - com.google.protobuf.MapEntry< - java.lang.String, com.google.container.v1beta1.WindowsVersions> - windowsVersionMaps__ = - input.readMessage( - WindowsVersionMapsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableWindowsVersionMaps() - .getMutableMap() - .put(windowsVersionMaps__.getKey(), windowsVersionMaps__.getValue()); - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidImageTypesIsMutable(); + validImageTypes_.add(s); + break; + } // case 42 + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidMasterVersionsIsMutable(); + validMasterVersions_.add(s); + break; + } // case 50 + case 74: { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig m = + input.readMessage( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.parser(), + extensionRegistry); + if (channelsBuilder_ == null) { + ensureChannelsIsMutable(); + channels_.add(m); + } else { + channelsBuilder_.addMessage(m); + } + break; + } // case 74 + case 82: { + com.google.protobuf.MapEntry + windowsVersionMaps__ = input.readMessage( + WindowsVersionMapsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableWindowsVersionMaps().getMutableMap().put( + windowsVersionMaps__.getKey(), windowsVersionMaps__.getValue()); + 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) { @@ -3907,25 +3388,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object defaultClusterVersion_ = ""; /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @return The defaultClusterVersion. */ public java.lang.String getDefaultClusterVersion() { java.lang.Object ref = defaultClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; @@ -3934,21 +3412,20 @@ public java.lang.String getDefaultClusterVersion() { } } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @return The bytes for defaultClusterVersion. */ - public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString + getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -3956,112 +3433,95 @@ public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { } } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @param value The defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersion(java.lang.String value) { + public Builder setDefaultClusterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultClusterVersion_ = value; onChanged(); return this; } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @return This builder for chaining. */ public Builder clearDefaultClusterVersion() { - + defaultClusterVersion_ = getDefaultInstance().getDefaultClusterVersion(); onChanged(); return this; } /** - * - * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; - * * @param value The bytes for defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultClusterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultClusterVersion_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validNodeVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidNodeVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { validNodeVersions_ = new com.google.protobuf.LazyStringArrayList(validNodeVersions_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidNodeVersionsList() { return validNodeVersions_.getUnmodifiableView(); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -4069,90 +3529,80 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param index The index to set the value at. * @param value The validNodeVersions to set. * @return This builder for chaining. */ - public Builder setValidNodeVersions(int index, java.lang.String value) { + public Builder setValidNodeVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param value The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersions(java.lang.String value) { + public Builder addValidNodeVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param values The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addAllValidNodeVersions(java.lang.Iterable values) { + public Builder addAllValidNodeVersions( + java.lang.Iterable values) { ensureValidNodeVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validNodeVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validNodeVersions_); onChanged(); return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @return This builder for chaining. */ public Builder clearValidNodeVersions() { @@ -4162,22 +3612,20 @@ public Builder clearValidNodeVersions() { return this; } /** - * - * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; - * * @param value The bytes of the validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addValidNodeVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); @@ -4186,20 +3634,18 @@ public Builder addValidNodeVersionsBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultImageType_ = ""; /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @return The defaultImageType. */ public java.lang.String getDefaultImageType() { java.lang.Object ref = defaultImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; @@ -4208,21 +3654,20 @@ public java.lang.String getDefaultImageType() { } } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @return The bytes for defaultImageType. */ - public com.google.protobuf.ByteString getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString + getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -4230,112 +3675,95 @@ public com.google.protobuf.ByteString getDefaultImageTypeBytes() { } } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @param value The defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageType(java.lang.String value) { + public Builder setDefaultImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultImageType_ = value; onChanged(); return this; } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @return This builder for chaining. */ public Builder clearDefaultImageType() { - + defaultImageType_ = getDefaultInstance().getDefaultImageType(); onChanged(); return this; } /** - * - * *
      * Default image type.
      * 
* * string default_image_type = 4; - * * @param value The bytes for defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultImageType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validImageTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validImageTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidImageTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validImageTypes_ = new com.google.protobuf.LazyStringArrayList(validImageTypes_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList + getValidImageTypesList() { return validImageTypes_.getUnmodifiableView(); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -4343,90 +3771,80 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString + getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param index The index to set the value at. * @param value The validImageTypes to set. * @return This builder for chaining. */ - public Builder setValidImageTypes(int index, java.lang.String value) { + public Builder setValidImageTypes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param value The validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypes(java.lang.String value) { + public Builder addValidImageTypes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param values The validImageTypes to add. * @return This builder for chaining. */ - public Builder addAllValidImageTypes(java.lang.Iterable values) { + public Builder addAllValidImageTypes( + java.lang.Iterable values) { ensureValidImageTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validImageTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validImageTypes_); onChanged(); return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @return This builder for chaining. */ public Builder clearValidImageTypes() { @@ -4436,74 +3854,62 @@ public Builder clearValidImageTypes() { return this; } /** - * - * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; - * * @param value The bytes of the validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypesBytes(com.google.protobuf.ByteString value) { + public Builder addValidImageTypesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList validMasterVersions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList validMasterVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValidMasterVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { validMasterVersions_ = new com.google.protobuf.LazyStringArrayList(validMasterVersions_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList + getValidMasterVersionsList() { return validMasterVersions_.getUnmodifiableView(); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -4511,90 +3917,80 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString + getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param index The index to set the value at. * @param value The validMasterVersions to set. * @return This builder for chaining. */ - public Builder setValidMasterVersions(int index, java.lang.String value) { + public Builder setValidMasterVersions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.set(index, value); onChanged(); return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param value The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersions(java.lang.String value) { + public Builder addValidMasterVersions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param values The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addAllValidMasterVersions(java.lang.Iterable values) { + public Builder addAllValidMasterVersions( + java.lang.Iterable values) { ensureValidMasterVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validMasterVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, validMasterVersions_); onChanged(); return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @return This builder for chaining. */ public Builder clearValidMasterVersions() { @@ -4604,58 +4000,46 @@ public Builder clearValidMasterVersions() { return this; } /** - * - * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; - * * @param value The bytes of the validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersionsBytes(com.google.protobuf.ByteString value) { + public Builder addValidMasterVersionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); return this; } - private java.util.List - channels_ = java.util.Collections.emptyList(); - + private java.util.List channels_ = + java.util.Collections.emptyList(); private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - channels_ = - new java.util.ArrayList( - channels_); + channels_ = new java.util.ArrayList(channels_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> - channelsBuilder_; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> channelsBuilder_; /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List - getChannelsList() { + public java.util.List getChannelsList() { if (channelsBuilder_ == null) { return java.util.Collections.unmodifiableList(channels_); } else { @@ -4663,14 +4047,11 @@ private void ensureChannelsIsMutable() { } } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public int getChannelsCount() { if (channelsBuilder_ == null) { @@ -4680,14 +4061,11 @@ public int getChannelsCount() { } } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannels(int index) { if (channelsBuilder_ == null) { @@ -4697,14 +4075,11 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannel } } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder setChannels( int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { @@ -4721,18 +4096,14 @@ public Builder setChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder setChannels( - int index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.set(index, builderForValue.build()); @@ -4743,17 +4114,13 @@ public Builder setChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public Builder addChannels( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { + public Builder addChannels(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4767,14 +4134,11 @@ public Builder addChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addChannels( int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { @@ -4791,14 +4155,11 @@ public Builder addChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addChannels( com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { @@ -4812,18 +4173,14 @@ public Builder addChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addChannels( - int index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(index, builderForValue.build()); @@ -4834,21 +4191,18 @@ public Builder addChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addAllChannels( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, channels_); onChanged(); } else { channelsBuilder_.addAllMessages(values); @@ -4856,14 +4210,11 @@ public Builder addAllChannels( return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder clearChannels() { if (channelsBuilder_ == null) { @@ -4876,14 +4227,11 @@ public Builder clearChannels() { return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder removeChannels(int index) { if (channelsBuilder_ == null) { @@ -4896,50 +4244,39 @@ public Builder removeChannels(int index) { return this; } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder - getChannelsBuilder(int index) { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder getChannelsBuilder( + int index) { return getChannelsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder - getChannelsOrBuilder(int index) { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder( + int index) { if (channelsBuilder_ == null) { - return channels_.get(index); - } else { + return channels_.get(index); } else { return channelsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List< - ? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> - getChannelsOrBuilderList() { + public java.util.List + getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); } else { @@ -4947,93 +4284,70 @@ public Builder removeChannels(int index) { } } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder - addChannelsBuilder() { - return getChannelsFieldBuilder() - .addBuilder( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder() { + return getChannelsFieldBuilder().addBuilder( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder - addChannelsBuilder(int index) { - return getChannelsFieldBuilder() - .addBuilder( - index, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder( + int index) { + return getChannelsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** - * - * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; - * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List - getChannelsBuilderList() { + public java.util.List + getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { - channelsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder>( - channels_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder>( + channels_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); channels_ = null; } return channelsBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.container.v1beta1.WindowsVersions> - windowsVersionMaps_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.container.v1beta1.WindowsVersions> - internalGetWindowsVersionMaps() { + java.lang.String, com.google.container.v1beta1.WindowsVersions> windowsVersionMaps_; + private com.google.protobuf.MapField + internalGetWindowsVersionMaps() { if (windowsVersionMaps_ == null) { return com.google.protobuf.MapField.emptyMapField( WindowsVersionMapsDefaultEntryHolder.defaultEntry); } return windowsVersionMaps_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.container.v1beta1.WindowsVersions> - internalGetMutableWindowsVersionMaps() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableWindowsVersionMaps() { + onChanged();; if (windowsVersionMaps_ == null) { - windowsVersionMaps_ = - com.google.protobuf.MapField.newMapField( - WindowsVersionMapsDefaultEntryHolder.defaultEntry); + windowsVersionMaps_ = com.google.protobuf.MapField.newMapField( + WindowsVersionMapsDefaultEntryHolder.defaultEntry); } if (!windowsVersionMaps_.isMutable()) { windowsVersionMaps_ = windowsVersionMaps_.copy(); @@ -5045,80 +4359,68 @@ public int getWindowsVersionMapsCount() { return internalGetWindowsVersionMaps().getMap().size(); } /** - * - * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ + @java.lang.Override - public boolean containsWindowsVersionMaps(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsWindowsVersionMaps( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetWindowsVersionMaps().getMap().containsKey(key); } - /** Use {@link #getWindowsVersionMapsMap()} instead. */ + /** + * Use {@link #getWindowsVersionMapsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getWindowsVersionMaps() { + public java.util.Map getWindowsVersionMaps() { return getWindowsVersionMapsMap(); } /** - * - * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ @java.lang.Override - public java.util.Map - getWindowsVersionMapsMap() { + + public java.util.Map getWindowsVersionMapsMap() { return internalGetWindowsVersionMaps().getMap(); } /** - * - * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ @java.lang.Override + public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( - java.lang.String key, com.google.container.v1beta1.WindowsVersions defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.container.v1beta1.WindowsVersions defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWindowsVersionMaps().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ @java.lang.Override + public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetWindowsVersionMaps().getMap(); if (!map.containsKey(key)) { @@ -5128,72 +4430,69 @@ public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow } public Builder clearWindowsVersionMaps() { - internalGetMutableWindowsVersionMaps().getMutableMap().clear(); + internalGetMutableWindowsVersionMaps().getMutableMap() + .clear(); return this; } /** - * - * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ - public Builder removeWindowsVersionMaps(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableWindowsVersionMaps().getMutableMap().remove(key); + + public Builder removeWindowsVersionMaps( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableWindowsVersionMaps().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map - getMutableWindowsVersionMaps() { + getMutableWindowsVersionMaps() { return internalGetMutableWindowsVersionMaps().getMutableMap(); } /** - * - * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ public Builder putWindowsVersionMaps( - java.lang.String key, com.google.container.v1beta1.WindowsVersions value) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String key, + com.google.container.v1beta1.WindowsVersions value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableWindowsVersionMaps().getMutableMap().put(key, value); + internalGetMutableWindowsVersionMaps().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ + public Builder putAllWindowsVersionMaps( java.util.Map values) { - internalGetMutableWindowsVersionMaps().getMutableMap().putAll(values); + internalGetMutableWindowsVersionMaps().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5203,12 +4502,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServerConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServerConfig) private static final com.google.container.v1beta1.ServerConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ServerConfig(); } @@ -5217,27 +4516,27 @@ public static com.google.container.v1beta1.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(); - } - }; + 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; @@ -5252,4 +4551,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java similarity index 75% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java index dfc602dce554..d4d2bb3436d9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java @@ -1,244 +1,185 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface ServerConfigOrBuilder - extends +public interface ServerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServerConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The defaultClusterVersion. */ java.lang.String getDefaultClusterVersion(); /** - * - * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; - * * @return The bytes for defaultClusterVersion. */ - com.google.protobuf.ByteString getDefaultClusterVersionBytes(); + com.google.protobuf.ByteString + getDefaultClusterVersionBytes(); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return A list containing the validNodeVersions. */ - java.util.List getValidNodeVersionsList(); + java.util.List + getValidNodeVersionsList(); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @return The count of validNodeVersions. */ int getValidNodeVersionsCount(); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ java.lang.String getValidNodeVersions(int index); /** - * - * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; - * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - com.google.protobuf.ByteString getValidNodeVersionsBytes(int index); + com.google.protobuf.ByteString + getValidNodeVersionsBytes(int index); /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The defaultImageType. */ java.lang.String getDefaultImageType(); /** - * - * *
    * Default image type.
    * 
* * string default_image_type = 4; - * * @return The bytes for defaultImageType. */ - com.google.protobuf.ByteString getDefaultImageTypeBytes(); + com.google.protobuf.ByteString + getDefaultImageTypeBytes(); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return A list containing the validImageTypes. */ - java.util.List getValidImageTypesList(); + java.util.List + getValidImageTypesList(); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @return The count of validImageTypes. */ int getValidImageTypesCount(); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ java.lang.String getValidImageTypes(int index); /** - * - * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; - * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - com.google.protobuf.ByteString getValidImageTypesBytes(int index); + com.google.protobuf.ByteString + getValidImageTypesBytes(int index); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return A list containing the validMasterVersions. */ - java.util.List getValidMasterVersionsList(); + java.util.List + getValidMasterVersionsList(); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @return The count of validMasterVersions. */ int getValidMasterVersionsCount(); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ java.lang.String getValidMasterVersions(int index); /** - * - * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; - * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - com.google.protobuf.ByteString getValidMasterVersionsBytes(int index); + com.google.protobuf.ByteString + getValidMasterVersionsBytes(int index); /** - * - * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List getChannelsList(); + java.util.List + getChannelsList(); /** - * - * *
    * List of release channel configurations.
    * 
@@ -247,8 +188,6 @@ public interface ServerConfigOrBuilder */ com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannels(int index); /** - * - * *
    * List of release channel configurations.
    * 
@@ -257,19 +196,15 @@ public interface ServerConfigOrBuilder */ int getChannelsCount(); /** - * - * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** - * - * *
    * List of release channel configurations.
    * 
@@ -280,68 +215,58 @@ com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder getChann int index); /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ int getWindowsVersionMapsCount(); /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + */ + boolean containsWindowsVersionMaps( + java.lang.String key); + /** + * Use {@link #getWindowsVersionMapsMap()} instead. */ - boolean containsWindowsVersionMaps(java.lang.String key); - /** Use {@link #getWindowsVersionMapsMap()} instead. */ @java.lang.Deprecated java.util.Map - getWindowsVersionMaps(); + getWindowsVersionMaps(); /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ java.util.Map - getWindowsVersionMapsMap(); + getWindowsVersionMapsMap(); /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ /* nullable */ - com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( +com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( java.lang.String key, /* nullable */ - com.google.container.v1beta1.WindowsVersions defaultValue); +com.google.container.v1beta1.WindowsVersions defaultValue); /** - * - * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - * + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; */ - com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow(java.lang.String key); + + com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow( + java.lang.String key); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java index fb710d4fe909..9d8725cd2935 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Config to block services with externalIPs field.
  * 
* * Protobuf type {@code google.container.v1beta1.ServiceExternalIPsConfig} */ -public final class ServiceExternalIPsConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ServiceExternalIPsConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServiceExternalIPsConfig) ServiceExternalIPsConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ServiceExternalIPsConfig.newBuilder() to construct. private ServiceExternalIPsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ServiceExternalIPsConfig() {} + private ServiceExternalIPsConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ServiceExternalIPsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServiceExternalIPsConfig.class, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1beta1.ServiceExternalIPsConfig.class, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Services with ExternalIPs field are allowed or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ServiceExternalIPsConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ServiceExternalIPsConfig other = - (com.google.container.v1beta1.ServiceExternalIPsConfig) obj; + com.google.container.v1beta1.ServiceExternalIPsConfig other = (com.google.container.v1beta1.ServiceExternalIPsConfig) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,143 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServiceExternalIPsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( 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.ServiceExternalIPsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.ServiceExternalIPsConfig prototype) { + public static Builder newBuilder(com.google.container.v1beta1.ServiceExternalIPsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Config to block services with externalIPs field.
    * 
* * Protobuf type {@code google.container.v1beta1.ServiceExternalIPsConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServiceExternalIPsConfig) com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServiceExternalIPsConfig.class, - com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1beta1.ServiceExternalIPsConfig.class, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); } // Construct using com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -287,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override @@ -308,8 +282,7 @@ public com.google.container.v1beta1.ServiceExternalIPsConfig build() { @java.lang.Override public com.google.container.v1beta1.ServiceExternalIPsConfig buildPartial() { - com.google.container.v1beta1.ServiceExternalIPsConfig result = - new com.google.container.v1beta1.ServiceExternalIPsConfig(this); + com.google.container.v1beta1.ServiceExternalIPsConfig result = new com.google.container.v1beta1.ServiceExternalIPsConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -319,39 +292,38 @@ public com.google.container.v1beta1.ServiceExternalIPsConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ServiceExternalIPsConfig) { - return mergeFrom((com.google.container.v1beta1.ServiceExternalIPsConfig) other); + return mergeFrom((com.google.container.v1beta1.ServiceExternalIPsConfig)other); } else { super.mergeFrom(other); return this; @@ -359,8 +331,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ServiceExternalIPsConfig other) { - if (other == com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -390,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -413,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -430,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -476,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServiceExternalIPsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServiceExternalIPsConfig) private static final com.google.container.v1beta1.ServiceExternalIPsConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ServiceExternalIPsConfig(); } @@ -490,27 +450,27 @@ public static com.google.container.v1beta1.ServiceExternalIPsConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceExternalIPsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceExternalIPsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -525,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ServiceExternalIPsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java new file mode 100644 index 000000000000..4c00e676b77f --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ServiceExternalIPsConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServiceExternalIPsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Services with ExternalIPs field are allowed or not.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index fbd52b61434d..6ff09a6058d5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetAddonsRequest sets the addons associated with the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetAddonsConfigRequest} */ -public final class SetAddonsConfigRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetAddonsConfigRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetAddonsConfigRequest) SetAddonsConfigRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetAddonsConfigRequest.newBuilder() to construct. private SetAddonsConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetAddonsConfigRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private SetAddonsConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetAddonsConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetAddonsConfigRequest.class, - com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1beta1.SetAddonsConfigRequest.class, com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,17 +216,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ADDONS_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1beta1.AddonsConfig addonsConfig_; /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -272,36 +229,25 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; } /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { @@ -311,15 +257,12 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -328,30 +271,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -360,7 +303,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,7 +314,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -407,7 +350,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (addonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAddonsConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -420,22 +364,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetAddonsConfigRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetAddonsConfigRequest other = - (com.google.container.v1beta1.SetAddonsConfigRequest) obj; + com.google.container.v1beta1.SetAddonsConfigRequest other = (com.google.container.v1beta1.SetAddonsConfigRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasAddonsConfig() != other.hasAddonsConfig()) return false; if (hasAddonsConfig()) { - if (!getAddonsConfig().equals(other.getAddonsConfig())) return false; + if (!getAddonsConfig() + .equals(other.getAddonsConfig())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -465,135 +413,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetAddonsConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( 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.SetAddonsConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetAddonsConfigRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetAddonsConfigRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetAddonsConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetAddonsRequest sets the addons associated with the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetAddonsConfigRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetAddonsConfigRequest) com.google.container.v1beta1.SetAddonsConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetAddonsConfigRequest.class, - com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1beta1.SetAddonsConfigRequest.class, com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetAddonsConfigRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -615,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; } @java.lang.Override @@ -636,8 +578,7 @@ public com.google.container.v1beta1.SetAddonsConfigRequest build() { @java.lang.Override public com.google.container.v1beta1.SetAddonsConfigRequest buildPartial() { - com.google.container.v1beta1.SetAddonsConfigRequest result = - new com.google.container.v1beta1.SetAddonsConfigRequest(this); + com.google.container.v1beta1.SetAddonsConfigRequest result = new com.google.container.v1beta1.SetAddonsConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -655,39 +596,38 @@ public com.google.container.v1beta1.SetAddonsConfigRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetAddonsConfigRequest) { - return mergeFrom((com.google.container.v1beta1.SetAddonsConfigRequest) other); + return mergeFrom((com.google.container.v1beta1.SetAddonsConfigRequest)other); } else { super.mergeFrom(other); return this; @@ -695,8 +635,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetAddonsConfigRequest other) { - if (other == com.google.container.v1beta1.SetAddonsConfigRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetAddonsConfigRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -742,43 +681,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getAddonsConfigFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -791,26 +726,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -819,27 +750,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -847,79 +775,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -927,8 +842,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -937,16 +850,15 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -955,8 +867,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -965,17 +875,17 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -983,8 +893,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -993,25 +901,22 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1020,21 +925,17 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1043,19 +944,18 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1063,25 +963,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1090,26 +986,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1117,76 +1010,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1194,61 +1074,42 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder> - addonsConfigBuilder_; + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> addonsConfigBuilder_; /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The addonsConfig. */ public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAddonsConfig(com.google.container.v1beta1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { @@ -1264,16 +1125,12 @@ public Builder setAddonsConfig(com.google.container.v1beta1.AddonsConfig value) return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAddonsConfig( com.google.container.v1beta1.AddonsConfig.Builder builderForValue) { @@ -1287,24 +1144,18 @@ public Builder setAddonsConfig( return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); } else { addonsConfig_ = value; } @@ -1316,16 +1167,12 @@ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAddonsConfig() { if (addonsConfigBuilder_ == null) { @@ -1339,67 +1186,51 @@ public Builder clearAddonsConfig() { return this; } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null - ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() - : addonsConfig_; + return addonsConfig_ == null ? + com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; } } /** - * - * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder> + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, - com.google.container.v1beta1.AddonsConfig.Builder, - com.google.container.v1beta1.AddonsConfigOrBuilder>( - getAddonsConfig(), getParentForChildren(), isClean()); + addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder>( + getAddonsConfig(), + getParentForChildren(), + isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -1407,21 +1238,19 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1430,22 +1259,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1453,71 +1281,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1527,12 +1348,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetAddonsConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetAddonsConfigRequest) private static final com.google.container.v1beta1.SetAddonsConfigRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetAddonsConfigRequest(); } @@ -1541,27 +1362,27 @@ public static com.google.container.v1beta1.SetAddonsConfigRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetAddonsConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetAddonsConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1576,4 +1397,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetAddonsConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java index a71dc450870a..68cbd1f6fe33 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetAddonsConfigRequestOrBuilder - extends +public interface SetAddonsConfigRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetAddonsConfigRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2693 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2698 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,117 +58,88 @@ 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=2702 + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2707 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2709 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2714 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The addonsConfig. */ com.google.container.v1beta1.AddonsConfig getAddonsConfig(); /** - * - * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java index 913554715242..515cae3ca565 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
  * Engine cluster, which will in turn set them for Google Compute Engine
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.SetLabelsRequest}
  */
-public final class SetLabelsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SetLabelsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLabelsRequest)
     SetLabelsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SetLabelsRequest.newBuilder() to construct.
   private SetLabelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SetLabelsRequest() {
     projectId_ = "";
     zone_ = "";
@@ -49,95 +31,88 @@ private SetLabelsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SetLabelsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 4:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SetLabelsRequest.class,
-            com.google.container.v1beta1.SetLabelsRequest.Builder.class);
+            com.google.container.v1beta1.SetLabelsRequest.class, com.google.container.v1beta1.SetLabelsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -148,8 +123,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -158,27 +131,24 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -187,18 +157,18 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -209,55 +179,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -266,22 +229,21 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } public static final int RESOURCE_LABELS_FIELD_NUMBER = 4; - private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -293,77 +255,70 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ + @java.lang.Override - public boolean containsResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetResourceLabels().getMap().containsKey(key); } - /** Use {@link #getResourceLabelsMap()} instead. */ + /** + * Use {@link #getResourceLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + + public java.lang.String getResourceLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -373,8 +328,6 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 5; private volatile java.lang.Object labelFingerprint_; /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -385,7 +338,6 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The labelFingerprint. */ @java.lang.Override @@ -394,15 +346,14 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -413,15 +364,16 @@ public java.lang.String getLabelFingerprint() {
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -432,15 +384,12 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -449,30 +398,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -481,7 +430,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -493,7 +441,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -503,8 +452,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterId_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetResourceLabels(), + ResourceLabelsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, labelFingerprint_); } @@ -529,15 +482,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } - for (java.util.Map.Entry entry : - internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry resourceLabels__ = - ResourceLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceLabels__); + for (java.util.Map.Entry entry + : internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, resourceLabels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, labelFingerprint_); @@ -553,20 +506,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLabelsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLabelsRequest other = - (com.google.container.v1beta1.SetLabelsRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; - if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.SetLabelsRequest other = (com.google.container.v1beta1.SetLabelsRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!internalGetResourceLabels().equals( + other.internalGetResourceLabels())) return false; + if (!getLabelFingerprint() + .equals(other.getLabelFingerprint())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -597,104 +555,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.SetLabelsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLabelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom( 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.SetLabelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetLabelsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetLabelsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLabelsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetLabelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
    * Engine cluster, which will in turn set them for Google Compute Engine
@@ -703,52 +654,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.SetLabelsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLabelsRequest)
       com.google.container.v1beta1.SetLabelsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SetLabelsRequest.class,
-              com.google.container.v1beta1.SetLabelsRequest.Builder.class);
+              com.google.container.v1beta1.SetLabelsRequest.class, com.google.container.v1beta1.SetLabelsRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SetLabelsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -767,9 +721,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -788,8 +742,7 @@ public com.google.container.v1beta1.SetLabelsRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SetLabelsRequest buildPartial() {
-      com.google.container.v1beta1.SetLabelsRequest result =
-          new com.google.container.v1beta1.SetLabelsRequest(this);
+      com.google.container.v1beta1.SetLabelsRequest result = new com.google.container.v1beta1.SetLabelsRequest(this);
       int from_bitField0_ = bitField0_;
       result.projectId_ = projectId_;
       result.zone_ = zone_;
@@ -806,39 +759,38 @@ public com.google.container.v1beta1.SetLabelsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SetLabelsRequest) {
-        return mergeFrom((com.google.container.v1beta1.SetLabelsRequest) other);
+        return mergeFrom((com.google.container.v1beta1.SetLabelsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -859,7 +811,8 @@ public Builder mergeFrom(com.google.container.v1beta1.SetLabelsRequest other) {
         clusterId_ = other.clusterId_;
         onChanged();
       }
-      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
+      internalGetMutableResourceLabels().mergeFrom(
+          other.internalGetResourceLabels());
       if (!other.getLabelFingerprint().isEmpty()) {
         labelFingerprint_ = other.labelFingerprint_;
         onChanged();
@@ -894,54 +847,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.protobuf.MapEntry resourceLabels__ =
-                    input.readMessage(
-                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableResourceLabels()
-                    .getMutableMap()
-                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
-                break;
-              } // case 34
-            case 42:
-              {
-                labelFingerprint_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 58:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              com.google.protobuf.MapEntry
+              resourceLabels__ = input.readMessage(
+                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableResourceLabels().getMutableMap().put(
+                  resourceLabels__.getKey(), resourceLabels__.getValue());
+              break;
+            } // case 34
+            case 42: {
+              labelFingerprint_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 58: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -951,31 +895,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -984,27 +923,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1012,79 +948,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1092,8 +1015,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1102,16 +1023,15 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1120,8 +1040,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1130,17 +1048,17 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1148,8 +1066,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1158,25 +1074,22 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1185,21 +1098,17 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1208,19 +1117,18 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1228,25 +1136,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1255,26 +1159,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1282,99 +1183,84 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.MapField resourceLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> resourceLabels_; private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } - private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged(); - ; + internalGetMutableResourceLabels() { + onChanged();; if (resourceLabels_ == null) { - resourceLabels_ = - com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = com.google.protobuf.MapField.newMapField( + ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -1386,81 +1272,70 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ + @java.lang.Override - public boolean containsResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetResourceLabels().getMap().containsKey(key); } - /** Use {@link #getResourceLabelsMap()} instead. */ + /** + * Use {@link #getResourceLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override + public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetResourceLabels().getMap(); + + public java.lang.String getResourceLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1468,74 +1343,69 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { } public Builder clearResourceLabels() { - internalGetMutableResourceLabels().getMutableMap().clear(); + internalGetMutableResourceLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeResourceLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableResourceLabels().getMutableMap().remove(key); + + public Builder removeResourceLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableResourceLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableResourceLabels() { + public java.util.Map + getMutableResourceLabels() { return internalGetMutableResourceLabels().getMutableMap(); } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putResourceLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putResourceLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableResourceLabels().getMutableMap().put(key, value); + internalGetMutableResourceLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Required. The labels to set for that cluster.
      * 
* - * - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putAllResourceLabels(java.util.Map values) { - internalGetMutableResourceLabels().getMutableMap().putAll(values); + + public Builder putAllResourceLabels( + java.util.Map values) { + internalGetMutableResourceLabels().getMutableMap() + .putAll(values); return this; } private java.lang.Object labelFingerprint_ = ""; /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1546,13 +1416,13 @@ public Builder putAllResourceLabels(java.util.Map
      *
      * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED];
-     *
      * @return The labelFingerprint.
      */
     public java.lang.String getLabelFingerprint() {
       java.lang.Object ref = labelFingerprint_;
       if (!(ref instanceof java.lang.String)) {
-        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+        com.google.protobuf.ByteString bs =
+            (com.google.protobuf.ByteString) ref;
         java.lang.String s = bs.toStringUtf8();
         labelFingerprint_ = s;
         return s;
@@ -1561,8 +1431,6 @@ public java.lang.String getLabelFingerprint() {
       }
     }
     /**
-     *
-     *
      * 
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1573,14 +1441,15 @@ public java.lang.String getLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString getLabelFingerprintBytes() { + public com.google.protobuf.ByteString + getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1588,8 +1457,6 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { } } /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1600,22 +1467,20 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint(java.lang.String value) { + public Builder setLabelFingerprint( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1626,18 +1491,15 @@ public Builder setLabelFingerprint(java.lang.String value) {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** - * - * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1648,16 +1510,16 @@ public Builder clearLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -1665,21 +1527,19 @@ public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1688,22 +1548,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1711,71 +1570,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1785,12 +1637,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLabelsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLabelsRequest) private static final com.google.container.v1beta1.SetLabelsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLabelsRequest(); } @@ -1799,27 +1651,27 @@ public static com.google.container.v1beta1.SetLabelsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLabelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLabelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1834,4 +1686,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLabelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java index cb45a76940de..fff5b6abbd35 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetLabelsRequestOrBuilder - extends +public interface SetLabelsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLabelsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4014 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4019 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,116 +58,96 @@ 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=4023 + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4030 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4035 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getResourceLabelsCount(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsResourceLabels( + java.lang.String key); + /** + * Use {@link #getResourceLabelsMap()} instead. */ - boolean containsResourceLabels(java.lang.String key); - /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map getResourceLabels(); + java.util.Map + getResourceLabels(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getResourceLabelsMap(); + java.util.Map + getResourceLabelsMap(); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - java.lang.String getResourceLabelsOrDefault( +java.lang.String getResourceLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.lang.String getResourceLabelsOrThrow(java.lang.String key); + + java.lang.String getResourceLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -209,13 +158,10 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** - * - * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -226,35 +172,30 @@ java.lang.String getResourceLabelsOrDefault(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString getLabelFingerprintBytes(); + com.google.protobuf.ByteString + getLabelFingerprintBytes(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java index 81f113c6282f..b5ea8d83ce4e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
  * a cluster.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.SetLegacyAbacRequest}
  */
-public final class SetLegacyAbacRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SetLegacyAbacRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLegacyAbacRequest)
     SetLegacyAbacRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SetLegacyAbacRequest.newBuilder() to construct.
   private SetLegacyAbacRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SetLegacyAbacRequest() {
     projectId_ = "";
     zone_ = "";
@@ -47,84 +29,76 @@ private SetLegacyAbacRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SetLegacyAbacRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SetLegacyAbacRequest.class,
-            com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
+            com.google.container.v1beta1.SetLegacyAbacRequest.class, com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,14 +217,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ENABLED_FIELD_NUMBER = 4; private boolean enabled_; /** - * - * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ @java.lang.Override @@ -273,15 +232,12 @@ public boolean getEnabled() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -290,30 +246,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -322,7 +278,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -369,7 +325,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -382,19 +339,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLegacyAbacRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLegacyAbacRequest other = - (com.google.container.v1beta1.SetLegacyAbacRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (getEnabled() != other.getEnabled()) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.SetLegacyAbacRequest other = (com.google.container.v1beta1.SetLegacyAbacRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -413,7 +374,8 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -422,103 +384,96 @@ public int hashCode() { } public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLegacyAbacRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( 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.SetLegacyAbacRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetLegacyAbacRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetLegacyAbacRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetLegacyAbacRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
    * a cluster.
@@ -526,32 +481,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.SetLegacyAbacRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLegacyAbacRequest)
       com.google.container.v1beta1.SetLegacyAbacRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SetLegacyAbacRequest.class,
-              com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
+              com.google.container.v1beta1.SetLegacyAbacRequest.class, com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SetLegacyAbacRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -569,9 +525,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
@@ -590,8 +546,7 @@ public com.google.container.v1beta1.SetLegacyAbacRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SetLegacyAbacRequest buildPartial() {
-      com.google.container.v1beta1.SetLegacyAbacRequest result =
-          new com.google.container.v1beta1.SetLegacyAbacRequest(this);
+      com.google.container.v1beta1.SetLegacyAbacRequest result = new com.google.container.v1beta1.SetLegacyAbacRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -605,39 +560,38 @@ public com.google.container.v1beta1.SetLegacyAbacRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SetLegacyAbacRequest) {
-        return mergeFrom((com.google.container.v1beta1.SetLegacyAbacRequest) other);
+        return mergeFrom((com.google.container.v1beta1.SetLegacyAbacRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -645,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.SetLegacyAbacRequest other) {
-      if (other == com.google.container.v1beta1.SetLegacyAbacRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.SetLegacyAbacRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -692,43 +645,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                enabled_ = input.readBool();
+              break;
+            } // case 26
+            case 32: {
+              enabled_ = input.readBool();
 
-                break;
-              } // case 32
-            case 50:
-              {
-                name_ = input.readStringRequireUtf8();
+              break;
+            } // case 32
+            case 50: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -741,26 +688,22 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -769,27 +712,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -797,79 +737,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -877,8 +804,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -887,16 +812,15 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -905,8 +829,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -915,17 +837,17 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -933,8 +855,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,25 +863,22 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -970,21 +887,17 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -993,19 +906,18 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1013,25 +925,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1040,26 +948,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1067,91 +972,75 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ @java.lang.Override @@ -1159,36 +1048,30 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -1196,21 +1079,19 @@ public Builder clearEnabled() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1219,22 +1100,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1242,71 +1122,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1316,12 +1189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLegacyAbacRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLegacyAbacRequest) private static final com.google.container.v1beta1.SetLegacyAbacRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLegacyAbacRequest(); } @@ -1330,27 +1203,27 @@ public static com.google.container.v1beta1.SetLegacyAbacRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLegacyAbacRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLegacyAbacRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1365,4 +1238,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLegacyAbacRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java index 2089b7bf9909..0a7ebc0a908c 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetLegacyAbacRequestOrBuilder - extends +public interface SetLegacyAbacRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLegacyAbacRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4057 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4062 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,86 +58,68 @@ 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=4066 + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4071 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4073 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4078 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java similarity index 71% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java index 5516022d3252..ddebc04affa7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetLocationsRequest sets the locations of the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetLocationsRequest} */ -public final class SetLocationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetLocationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLocationsRequest) SetLocationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetLocationsRequest.newBuilder() to construct. private SetLocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetLocationsRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private SetLocationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetLocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLocationsRequest.class, - com.google.container.v1beta1.SetLocationsRequest.Builder.class); + com.google.container.v1beta1.SetLocationsRequest.class, com.google.container.v1beta1.SetLocationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int LOCATIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList locations_; /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -267,15 +227,13 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -286,15 +244,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -305,7 +260,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -313,8 +267,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -325,26 +277,23 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -353,30 +302,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -385,7 +334,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -397,7 +345,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -450,19 +399,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLocationsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLocationsRequest other = - (com.google.container.v1beta1.SetLocationsRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getLocationsList().equals(other.getLocationsList())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.SetLocationsRequest other = (com.google.container.v1beta1.SetLocationsRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getLocationsList() + .equals(other.getLocationsList())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -491,136 +444,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( 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.SetLocationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetLocationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetLocationsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetLocationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLocationsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetLocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLocationsRequest sets the locations of the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetLocationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLocationsRequest) com.google.container.v1beta1.SetLocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLocationsRequest.class, - com.google.container.v1beta1.SetLocationsRequest.Builder.class); + com.google.container.v1beta1.SetLocationsRequest.class, com.google.container.v1beta1.SetLocationsRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetLocationsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -638,9 +585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; } @java.lang.Override @@ -659,8 +606,7 @@ public com.google.container.v1beta1.SetLocationsRequest build() { @java.lang.Override public com.google.container.v1beta1.SetLocationsRequest buildPartial() { - com.google.container.v1beta1.SetLocationsRequest result = - new com.google.container.v1beta1.SetLocationsRequest(this); + com.google.container.v1beta1.SetLocationsRequest result = new com.google.container.v1beta1.SetLocationsRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -679,39 +625,38 @@ public com.google.container.v1beta1.SetLocationsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetLocationsRequest) { - return mergeFrom((com.google.container.v1beta1.SetLocationsRequest) other); + return mergeFrom((com.google.container.v1beta1.SetLocationsRequest)other); } else { super.mergeFrom(other); return this; @@ -719,8 +664,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetLocationsRequest other) { - if (other == com.google.container.v1beta1.SetLocationsRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetLocationsRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -773,44 +717,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -820,31 +758,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -853,27 +786,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -881,79 +811,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -961,8 +878,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -971,16 +886,15 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -989,8 +903,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -999,17 +911,17 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1017,8 +929,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1027,25 +937,22 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1054,21 +961,17 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1077,19 +980,18 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1097,25 +999,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1124,26 +1022,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1151,93 +1046,76 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1248,15 +1126,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1267,15 +1143,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1286,7 +1159,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1294,8 +1166,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1306,16 +1176,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1326,23 +1194,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1353,22 +1219,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1379,19 +1243,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1402,7 +1265,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -1412,8 +1274,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1424,15 +1284,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -1441,21 +1301,19 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1464,22 +1322,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1487,71 +1344,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1561,12 +1411,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLocationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLocationsRequest) private static final com.google.container.v1beta1.SetLocationsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLocationsRequest(); } @@ -1575,27 +1425,27 @@ public static com.google.container.v1beta1.SetLocationsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1610,4 +1460,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLocationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java similarity index 73% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java index e0c2f093c1f6..67fe769f31c3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetLocationsRequestOrBuilder - extends +public interface SetLocationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLocationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2728 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2733 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,52 +58,40 @@ 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=2737 + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2742 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2744 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2749 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,13 +102,11 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -162,13 +117,10 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -179,14 +131,11 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -197,36 +146,31 @@ public interface SetLocationsRequestOrBuilder
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java index 69486beb99c4..41909116317f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetLoggingServiceRequest sets the logging service of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetLoggingServiceRequest} */ -public final class SetLoggingServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetLoggingServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLoggingServiceRequest) SetLoggingServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetLoggingServiceRequest.newBuilder() to construct. private SetLoggingServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetLoggingServiceRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private SetLoggingServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetLoggingServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLoggingServiceRequest.class, - com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1beta1.SetLoggingServiceRequest.class, com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int LOGGING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object loggingService_; /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -270,7 +230,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The loggingService. */ @java.lang.Override @@ -279,15 +238,14 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -301,15 +259,16 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -320,15 +279,12 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -337,30 +293,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -369,7 +325,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +336,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -429,19 +385,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLoggingServiceRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLoggingServiceRequest other = - (com.google.container.v1beta1.SetLoggingServiceRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getLoggingService().equals(other.getLoggingService())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.SetLoggingServiceRequest other = (com.google.container.v1beta1.SetLoggingServiceRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getLoggingService() + .equals(other.getLoggingService())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -469,136 +429,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLoggingServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( 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.SetLoggingServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetLoggingServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetLoggingServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.SetLoggingServiceRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.SetLoggingServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetLoggingServiceRequest sets the logging service of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetLoggingServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLoggingServiceRequest) com.google.container.v1beta1.SetLoggingServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLoggingServiceRequest.class, - com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1beta1.SetLoggingServiceRequest.class, com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetLoggingServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -616,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; } @java.lang.Override @@ -637,8 +590,7 @@ public com.google.container.v1beta1.SetLoggingServiceRequest build() { @java.lang.Override public com.google.container.v1beta1.SetLoggingServiceRequest buildPartial() { - com.google.container.v1beta1.SetLoggingServiceRequest result = - new com.google.container.v1beta1.SetLoggingServiceRequest(this); + com.google.container.v1beta1.SetLoggingServiceRequest result = new com.google.container.v1beta1.SetLoggingServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -652,39 +604,38 @@ public com.google.container.v1beta1.SetLoggingServiceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetLoggingServiceRequest) { - return mergeFrom((com.google.container.v1beta1.SetLoggingServiceRequest) other); + return mergeFrom((com.google.container.v1beta1.SetLoggingServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -692,8 +643,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetLoggingServiceRequest other) { - if (other == com.google.container.v1beta1.SetLoggingServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetLoggingServiceRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -740,43 +690,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - loggingService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + loggingService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -789,26 +733,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -817,27 +757,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -845,79 +782,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -925,8 +849,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -935,16 +857,15 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -953,8 +874,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -963,17 +882,17 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -981,8 +900,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -991,25 +908,22 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1018,21 +932,17 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1041,19 +951,18 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1061,25 +970,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1088,26 +993,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1115,76 +1017,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1192,8 +1081,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object loggingService_ = ""; /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1207,13 +1094,13 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -1222,8 +1109,6 @@ public java.lang.String getLoggingService() { } } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1237,14 +1122,15 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString getLoggingServiceBytes() { + public com.google.protobuf.ByteString + getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); loggingService_ = b; return b; } else { @@ -1252,8 +1138,6 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { } } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1267,22 +1151,20 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService(java.lang.String value) { + public Builder setLoggingService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1296,18 +1178,15 @@ public Builder setLoggingService(java.lang.String value) {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** - * - * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1321,16 +1200,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -1338,21 +1217,19 @@ public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1361,22 +1238,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1384,71 +1260,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1458,12 +1327,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLoggingServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLoggingServiceRequest) private static final com.google.container.v1beta1.SetLoggingServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLoggingServiceRequest(); } @@ -1472,27 +1341,27 @@ public static com.google.container.v1beta1.SetLoggingServiceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLoggingServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLoggingServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1507,4 +1376,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLoggingServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java index a56d70971c93..a89b6433adfd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetLoggingServiceRequestOrBuilder - extends +public interface SetLoggingServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLoggingServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2605 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2610 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,52 +58,40 @@ 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=2614 + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2619 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2621 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2626 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -148,13 +105,10 @@ public interface SetLoggingServiceRequestOrBuilder
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The loggingService. */ java.lang.String getLoggingService(); /** - * - * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -168,35 +122,30 @@ public interface SetLoggingServiceRequestOrBuilder
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString getLoggingServiceBytes(); + com.google.protobuf.ByteString + getLoggingServiceBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java index 893a73ea6184..8cac4b5040ef 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetMaintenancePolicyRequest} */ -public final class SetMaintenancePolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetMaintenancePolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetMaintenancePolicyRequest) SetMaintenancePolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetMaintenancePolicyRequest.newBuilder() to construct. private SetMaintenancePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetMaintenancePolicyRequest() { projectId_ = ""; zone_ = ""; @@ -46,42 +28,38 @@ private SetMaintenancePolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetMaintenancePolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMaintenancePolicyRequest.class, - com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1beta1.SetMaintenancePolicyRequest.class, com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -90,30 +68,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -124,8 +102,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -133,7 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ @java.lang.Override @@ -142,15 +117,14 @@ public java.lang.String getZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -158,15 +132,16 @@ public java.lang.String getZone() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -177,14 +152,11 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -193,29 +165,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -226,17 +198,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 4; private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -244,36 +211,25 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null - ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { @@ -283,8 +239,6 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -292,7 +246,6 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -301,15 +254,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -317,15 +269,16 @@ public java.lang.String getName() {
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -334,7 +287,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,7 +298,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -381,7 +334,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (maintenancePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaintenancePolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMaintenancePolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -394,22 +348,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetMaintenancePolicyRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetMaintenancePolicyRequest other = - (com.google.container.v1beta1.SetMaintenancePolicyRequest) obj; + com.google.container.v1beta1.SetMaintenancePolicyRequest other = (com.google.container.v1beta1.SetMaintenancePolicyRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; if (hasMaintenancePolicy()) { - if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; + if (!getMaintenancePolicy() + .equals(other.getMaintenancePolicy())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -439,136 +397,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( 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.SetMaintenancePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.SetMaintenancePolicyRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.SetMaintenancePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetMaintenancePolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetMaintenancePolicyRequest) com.google.container.v1beta1.SetMaintenancePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMaintenancePolicyRequest.class, - com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1beta1.SetMaintenancePolicyRequest.class, com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetMaintenancePolicyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -590,9 +541,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override @@ -611,8 +562,7 @@ public com.google.container.v1beta1.SetMaintenancePolicyRequest build() { @java.lang.Override public com.google.container.v1beta1.SetMaintenancePolicyRequest buildPartial() { - com.google.container.v1beta1.SetMaintenancePolicyRequest result = - new com.google.container.v1beta1.SetMaintenancePolicyRequest(this); + com.google.container.v1beta1.SetMaintenancePolicyRequest result = new com.google.container.v1beta1.SetMaintenancePolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -630,39 +580,38 @@ public com.google.container.v1beta1.SetMaintenancePolicyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetMaintenancePolicyRequest) { - return mergeFrom((com.google.container.v1beta1.SetMaintenancePolicyRequest) other); + return mergeFrom((com.google.container.v1beta1.SetMaintenancePolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -670,8 +619,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetMaintenancePolicyRequest other) { - if (other == com.google.container.v1beta1.SetMaintenancePolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetMaintenancePolicyRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -717,44 +665,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -767,21 +710,19 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -790,22 +731,21 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -813,64 +753,57 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { + public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -878,8 +811,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -887,13 +818,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -902,8 +833,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -911,14 +840,15 @@ public java.lang.String getZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ - public com.google.protobuf.ByteString getZoneBytes() { + public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -926,8 +856,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -935,22 +863,20 @@ public com.google.protobuf.ByteString getZoneBytes() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone(java.lang.String value) { + public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -958,18 +884,15 @@ public Builder setZone(java.lang.String value) {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -977,16 +900,16 @@ public Builder clearZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -994,20 +917,18 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1016,21 +937,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1038,61 +958,54 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { + public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1100,61 +1013,42 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, - com.google.container.v1beta1.MaintenancePolicy.Builder, - com.google.container.v1beta1.MaintenancePolicyOrBuilder> - maintenancePolicyBuilder_; + com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The maintenancePolicy. */ public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null - ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaintenancePolicy(com.google.container.v1beta1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { @@ -1170,16 +1064,12 @@ public Builder setMaintenancePolicy(com.google.container.v1beta1.MaintenancePoli return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMaintenancePolicy( com.google.container.v1beta1.MaintenancePolicy.Builder builderForValue) { @@ -1193,24 +1083,18 @@ public Builder setMaintenancePolicy( return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); } else { maintenancePolicy_ = value; } @@ -1222,16 +1106,12 @@ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePo return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { @@ -1245,67 +1125,51 @@ public Builder clearMaintenancePolicy() { return this; } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null - ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() - : maintenancePolicy_; + return maintenancePolicy_ == null ? + com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; } } /** - * - * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, - com.google.container.v1beta1.MaintenancePolicy.Builder, - com.google.container.v1beta1.MaintenancePolicyOrBuilder> + com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, - com.google.container.v1beta1.MaintenancePolicy.Builder, - com.google.container.v1beta1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), getParentForChildren(), isClean()); + maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), + getParentForChildren(), + isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -1313,8 +1177,6 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1322,13 +1184,13 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1337,8 +1199,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1346,14 +1206,15 @@ public java.lang.String getName() {
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1361,8 +1222,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1370,22 +1229,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1393,18 +1250,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1412,23 +1266,23 @@ public Builder clearName() {
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1438,12 +1292,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetMaintenancePolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMaintenancePolicyRequest) private static final com.google.container.v1beta1.SetMaintenancePolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetMaintenancePolicyRequest(); } @@ -1452,27 +1306,27 @@ public static com.google.container.v1beta1.SetMaintenancePolicyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMaintenancePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMaintenancePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1487,4 +1341,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.SetMaintenancePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java index 58bf29feaf88..82de8903fe2f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetMaintenancePolicyRequestOrBuilder - extends +public interface SetMaintenancePolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetMaintenancePolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -60,13 +37,10 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The zone. */ java.lang.String getZone(); /** - * - * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -74,83 +48,62 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for zone. */ - com.google.protobuf.ByteString getZoneBytes(); + com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The maintenancePolicy. */ com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy(); /** - * - * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -158,13 +111,10 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -172,8 +122,8 @@ public interface SetMaintenancePolicyRequestOrBuilder
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java index 748184797252..06a2d9321ac6 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetMasterAuthRequest updates the admin password of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetMasterAuthRequest} */ -public final class SetMasterAuthRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetMasterAuthRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetMasterAuthRequest) SetMasterAuthRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetMasterAuthRequest.newBuilder() to construct. private SetMasterAuthRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetMasterAuthRequest() { projectId_ = ""; zone_ = ""; @@ -47,43 +29,39 @@ private SetMasterAuthRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetMasterAuthRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMasterAuthRequest.class, - com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); + com.google.container.v1beta1.SetMasterAuthRequest.class, com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); } /** - * - * *
    * Operation type: what type update to perform.
    * 
* * Protobuf enum {@code google.container.v1beta1.SetMasterAuthRequest.Action} */ - public enum Action implements com.google.protobuf.ProtocolMessageEnum { + public enum Action + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Operation is unknown and will error out.
      * 
@@ -92,8 +70,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * Set the password to a user generated value.
      * 
@@ -102,8 +78,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ SET_PASSWORD(1), /** - * - * *
      * Generate a new password and set it to that.
      * 
@@ -112,8 +86,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ GENERATE_PASSWORD(2), /** - * - * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -128,8 +100,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Operation is unknown and will error out.
      * 
@@ -138,8 +108,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * Set the password to a user generated value.
      * 
@@ -148,8 +116,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_PASSWORD_VALUE = 1; /** - * - * *
      * Generate a new password and set it to that.
      * 
@@ -158,8 +124,6 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GENERATE_PASSWORD_VALUE = 2; /** - * - * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -171,6 +135,7 @@ public enum Action implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SET_USERNAME_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -195,53 +160,50 @@ public static Action valueOf(int value) {
      */
     public static Action forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNKNOWN;
-        case 1:
-          return SET_PASSWORD;
-        case 2:
-          return GENERATE_PASSWORD;
-        case 3:
-          return SET_USERNAME;
-        default:
-          return null;
+        case 0: return UNKNOWN;
+        case 1: return SET_PASSWORD;
+        case 2: return GENERATE_PASSWORD;
+        case 3: return SET_USERNAME;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Action> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Action findValueByNumber(int number) {
+              return Action.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Action findValueByNumber(int number) {
-            return Action.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.container.v1beta1.SetMasterAuthRequest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.SetMasterAuthRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Action[] VALUES = values();
 
-    public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Action valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -261,57 +223,50 @@ private Action(int value) {
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -322,8 +277,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -332,27 +285,24 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -361,18 +311,18 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -383,55 +333,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -442,58 +385,38 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ACTION_FIELD_NUMBER = 4; private int action_; /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The action. */ - @java.lang.Override - public com.google.container.v1beta1.SetMasterAuthRequest.Action getAction() { + @java.lang.Override public com.google.container.v1beta1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SetMasterAuthRequest.Action result = - com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null - ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED - : result; + com.google.container.v1beta1.SetMasterAuthRequest.Action result = com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; } public static final int UPDATE_FIELD_NUMBER = 5; private com.google.container.v1beta1.MasterAuth update_; /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ @java.lang.Override @@ -501,16 +424,11 @@ public boolean hasUpdate() { return update_ != null; } /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ @java.lang.Override @@ -518,15 +436,11 @@ public com.google.container.v1beta1.MasterAuth getUpdate() { return update_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : update_; } /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { @@ -536,15 +450,12 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -553,30 +464,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -585,7 +496,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -597,7 +507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -635,10 +546,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (action_ != com.google.container.v1beta1.SetMasterAuthRequest.Action.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, action_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, action_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -651,23 +564,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetMasterAuthRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetMasterAuthRequest other = - (com.google.container.v1beta1.SetMasterAuthRequest) obj; + com.google.container.v1beta1.SetMasterAuthRequest other = (com.google.container.v1beta1.SetMasterAuthRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (action_ != other.action_) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -699,135 +616,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMasterAuthRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( 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.SetMasterAuthRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetMasterAuthRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetMasterAuthRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetMasterAuthRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetMasterAuthRequest updates the admin password of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetMasterAuthRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetMasterAuthRequest) com.google.container.v1beta1.SetMasterAuthRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMasterAuthRequest.class, - com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); + com.google.container.v1beta1.SetMasterAuthRequest.class, com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetMasterAuthRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -851,9 +762,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; } @java.lang.Override @@ -872,8 +783,7 @@ public com.google.container.v1beta1.SetMasterAuthRequest build() { @java.lang.Override public com.google.container.v1beta1.SetMasterAuthRequest buildPartial() { - com.google.container.v1beta1.SetMasterAuthRequest result = - new com.google.container.v1beta1.SetMasterAuthRequest(this); + com.google.container.v1beta1.SetMasterAuthRequest result = new com.google.container.v1beta1.SetMasterAuthRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -892,39 +802,38 @@ public com.google.container.v1beta1.SetMasterAuthRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetMasterAuthRequest) { - return mergeFrom((com.google.container.v1beta1.SetMasterAuthRequest) other); + return mergeFrom((com.google.container.v1beta1.SetMasterAuthRequest)other); } else { super.mergeFrom(other); return this; @@ -932,8 +841,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetMasterAuthRequest other) { - if (other == com.google.container.v1beta1.SetMasterAuthRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetMasterAuthRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -982,49 +890,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - action_ = input.readEnum(); - - break; - } // case 32 - case 42: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 58: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + action_ = input.readEnum(); + + break; + } // case 32 + case 42: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 58: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1037,26 +940,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1065,27 +964,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1093,79 +989,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1173,8 +1056,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1183,16 +1064,15 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1201,8 +1081,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1211,17 +1089,17 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1229,8 +1107,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1239,25 +1115,22 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1266,21 +1139,17 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1289,19 +1158,18 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1309,25 +1177,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1336,26 +1200,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1363,76 +1224,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1440,75 +1288,51 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private int action_ = 0; /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for action. */ - @java.lang.Override - public int getActionValue() { + @java.lang.Override public int getActionValue() { return action_; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ public Builder setActionValue(int value) { - + action_ = value; onChanged(); return this; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The action. */ @java.lang.Override public com.google.container.v1beta1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SetMasterAuthRequest.Action result = - com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null - ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED - : result; + com.google.container.v1beta1.SetMasterAuthRequest.Action result = com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The action to set. * @return This builder for chaining. */ @@ -1516,26 +1340,21 @@ public Builder setAction(com.google.container.v1beta1.SetMasterAuthRequest.Actio if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearAction() { - + action_ = 0; onChanged(); return this; @@ -1543,58 +1362,39 @@ public Builder clearAction() { private com.google.container.v1beta1.MasterAuth update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuth, - com.google.container.v1beta1.MasterAuth.Builder, - com.google.container.v1beta1.MasterAuthOrBuilder> - updateBuilder_; + com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> updateBuilder_; /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ public com.google.container.v1beta1.MasterAuth getUpdate() { if (updateBuilder_ == null) { - return update_ == null - ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() - : update_; + return update_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : update_; } else { return updateBuilder_.getMessage(); } } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdate(com.google.container.v1beta1.MasterAuth value) { if (updateBuilder_ == null) { @@ -1610,17 +1410,14 @@ public Builder setUpdate(com.google.container.v1beta1.MasterAuth value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdate(com.google.container.v1beta1.MasterAuth.Builder builderForValue) { + public Builder setUpdate( + com.google.container.v1beta1.MasterAuth.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1631,23 +1428,17 @@ public Builder setUpdate(com.google.container.v1beta1.MasterAuth.Builder builder return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdate(com.google.container.v1beta1.MasterAuth value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1beta1.MasterAuth.newBuilder(update_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.MasterAuth.newBuilder(update_).mergeFrom(value).buildPartial(); } else { update_ = value; } @@ -1659,15 +1450,11 @@ public Builder mergeUpdate(com.google.container.v1beta1.MasterAuth value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1681,64 +1468,48 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.MasterAuth.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null - ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() - : update_; + return update_ == null ? + com.google.container.v1beta1.MasterAuth.getDefaultInstance() : update_; } } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuth, - com.google.container.v1beta1.MasterAuth.Builder, - com.google.container.v1beta1.MasterAuthOrBuilder> + com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuth, - com.google.container.v1beta1.MasterAuth.Builder, - com.google.container.v1beta1.MasterAuthOrBuilder>( - getUpdate(), getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder>( + getUpdate(), + getParentForChildren(), + isClean()); update_ = null; } return updateBuilder_; @@ -1746,21 +1517,19 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1769,22 +1538,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1792,71 +1560,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1866,12 +1627,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetMasterAuthRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMasterAuthRequest) private static final com.google.container.v1beta1.SetMasterAuthRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetMasterAuthRequest(); } @@ -1880,27 +1641,27 @@ public static com.google.container.v1beta1.SetMasterAuthRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMasterAuthRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMasterAuthRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1915,4 +1676,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetMasterAuthRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java index 065daff048ec..5d1612224e62 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetMasterAuthRequestOrBuilder - extends +public interface SetMasterAuthRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetMasterAuthRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2829 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2834 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,143 +58,104 @@ 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=2838 + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2843 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2845 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2850 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for action. */ int getActionValue(); /** - * - * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The action. */ com.google.container.v1beta1.SetMasterAuthRequest.Action getAction(); /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ com.google.container.v1beta1.MasterAuth getUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java similarity index 72% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java index 6af7d06845c3..01e46bd97fd1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetMonitoringServiceRequest sets the monitoring service of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetMonitoringServiceRequest} */ -public final class SetMonitoringServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetMonitoringServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetMonitoringServiceRequest) SetMonitoringServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetMonitoringServiceRequest.newBuilder() to construct. private SetMonitoringServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetMonitoringServiceRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private SetMonitoringServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetMonitoringServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMonitoringServiceRequest.class, - com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1beta1.SetMonitoringServiceRequest.class, com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2649 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2649 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2665 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2665 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int MONITORING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object monitoringService_; /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -270,7 +230,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monitoringService. */ @java.lang.Override @@ -279,15 +238,14 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -301,15 +259,16 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -320,15 +279,12 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -337,30 +293,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -369,7 +325,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -381,7 +336,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -429,19 +385,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetMonitoringServiceRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetMonitoringServiceRequest other = - (com.google.container.v1beta1.SetMonitoringServiceRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getMonitoringService().equals(other.getMonitoringService())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.SetMonitoringServiceRequest other = (com.google.container.v1beta1.SetMonitoringServiceRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getMonitoringService() + .equals(other.getMonitoringService())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -469,136 +429,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMonitoringServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( 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.SetMonitoringServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.SetMonitoringServiceRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.SetMonitoringServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetMonitoringServiceRequest sets the monitoring service of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetMonitoringServiceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetMonitoringServiceRequest) com.google.container.v1beta1.SetMonitoringServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMonitoringServiceRequest.class, - com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1beta1.SetMonitoringServiceRequest.class, com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetMonitoringServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -616,9 +569,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override @@ -637,8 +590,7 @@ public com.google.container.v1beta1.SetMonitoringServiceRequest build() { @java.lang.Override public com.google.container.v1beta1.SetMonitoringServiceRequest buildPartial() { - com.google.container.v1beta1.SetMonitoringServiceRequest result = - new com.google.container.v1beta1.SetMonitoringServiceRequest(this); + com.google.container.v1beta1.SetMonitoringServiceRequest result = new com.google.container.v1beta1.SetMonitoringServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -652,39 +604,38 @@ public com.google.container.v1beta1.SetMonitoringServiceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetMonitoringServiceRequest) { - return mergeFrom((com.google.container.v1beta1.SetMonitoringServiceRequest) other); + return mergeFrom((com.google.container.v1beta1.SetMonitoringServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -692,8 +643,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetMonitoringServiceRequest other) { - if (other == com.google.container.v1beta1.SetMonitoringServiceRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetMonitoringServiceRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -740,43 +690,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - monitoringService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + monitoringService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -789,26 +733,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2649 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -817,27 +757,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2649 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -845,79 +782,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2649 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2649 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2649 + * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -925,8 +849,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -935,16 +857,15 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -953,8 +874,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -963,17 +882,17 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -981,8 +900,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -991,25 +908,22 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1018,21 +932,17 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1041,19 +951,18 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1061,25 +970,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2665 + * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1088,26 +993,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2665 + * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1115,76 +1017,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2665 + * See google/container/v1beta1/cluster_service.proto;l=2670 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2665 + * See google/container/v1beta1/cluster_service.proto;l=2670 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2665 + * See google/container/v1beta1/cluster_service.proto;l=2670 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1192,8 +1081,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object monitoringService_ = ""; /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1207,13 +1094,13 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -1222,8 +1109,6 @@ public java.lang.String getMonitoringService() { } } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1237,14 +1122,15 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString getMonitoringServiceBytes() { + public com.google.protobuf.ByteString + getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -1252,8 +1138,6 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { } } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1267,22 +1151,20 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService(java.lang.String value) { + public Builder setMonitoringService( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1296,18 +1178,15 @@ public Builder setMonitoringService(java.lang.String value) {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** - * - * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1321,16 +1200,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -1338,21 +1217,19 @@ public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1361,22 +1238,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1384,71 +1260,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1458,12 +1327,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetMonitoringServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMonitoringServiceRequest) private static final com.google.container.v1beta1.SetMonitoringServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetMonitoringServiceRequest(); } @@ -1472,27 +1341,27 @@ public static com.google.container.v1beta1.SetMonitoringServiceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMonitoringServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMonitoringServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1507,4 +1376,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.SetMonitoringServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java index 1c9f6b89a24a..a228101c1c78 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetMonitoringServiceRequestOrBuilder - extends +public interface SetMonitoringServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetMonitoringServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2649 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2649 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,52 +58,40 @@ 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=2658 + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2663 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2665 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2665 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -148,13 +105,10 @@ public interface SetMonitoringServiceRequestOrBuilder
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** - * - * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -168,35 +122,30 @@ public interface SetMonitoringServiceRequestOrBuilder
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString getMonitoringServiceBytes(); + com.google.protobuf.ByteString + getMonitoringServiceBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java index 1888c75744e3..3e6fa5bc0ae1 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetNetworkPolicyRequest enables/disables network policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetNetworkPolicyRequest} */ -public final class SetNetworkPolicyRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetNetworkPolicyRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNetworkPolicyRequest) SetNetworkPolicyRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetNetworkPolicyRequest.newBuilder() to construct. private SetNetworkPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetNetworkPolicyRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private SetNetworkPolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetNetworkPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNetworkPolicyRequest.class, - com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1beta1.SetNetworkPolicyRequest.class, com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,16 +216,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NETWORK_POLICY_FIELD_NUMBER = 4; private com.google.container.v1beta1.NetworkPolicy networkPolicy_; /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -271,34 +228,23 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null - ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { @@ -308,15 +254,12 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -325,30 +268,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -357,7 +300,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -404,7 +347,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (networkPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicy()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getNetworkPolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -417,22 +361,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNetworkPolicyRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNetworkPolicyRequest other = - (com.google.container.v1beta1.SetNetworkPolicyRequest) obj; + com.google.container.v1beta1.SetNetworkPolicyRequest other = (com.google.container.v1beta1.SetNetworkPolicyRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false; if (hasNetworkPolicy()) { - if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false; + if (!getNetworkPolicy() + .equals(other.getNetworkPolicy())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -462,135 +410,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNetworkPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( 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.SetNetworkPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetNetworkPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNetworkPolicyRequest enables/disables network policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetNetworkPolicyRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNetworkPolicyRequest) com.google.container.v1beta1.SetNetworkPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNetworkPolicyRequest.class, - com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1beta1.SetNetworkPolicyRequest.class, com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetNetworkPolicyRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -612,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override @@ -633,8 +575,7 @@ public com.google.container.v1beta1.SetNetworkPolicyRequest build() { @java.lang.Override public com.google.container.v1beta1.SetNetworkPolicyRequest buildPartial() { - com.google.container.v1beta1.SetNetworkPolicyRequest result = - new com.google.container.v1beta1.SetNetworkPolicyRequest(this); + com.google.container.v1beta1.SetNetworkPolicyRequest result = new com.google.container.v1beta1.SetNetworkPolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -652,39 +593,38 @@ public com.google.container.v1beta1.SetNetworkPolicyRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetNetworkPolicyRequest) { - return mergeFrom((com.google.container.v1beta1.SetNetworkPolicyRequest) other); + return mergeFrom((com.google.container.v1beta1.SetNetworkPolicyRequest)other); } else { super.mergeFrom(other); return this; @@ -692,8 +632,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetNetworkPolicyRequest other) { - if (other == com.google.container.v1beta1.SetNetworkPolicyRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetNetworkPolicyRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -739,43 +678,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getNetworkPolicyFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 50: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -788,26 +723,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -816,27 +747,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -844,79 +772,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -924,8 +839,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -934,16 +847,15 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -952,8 +864,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -962,17 +872,17 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -980,8 +890,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -990,25 +898,22 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1017,21 +922,17 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1040,19 +941,18 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1060,25 +960,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1087,26 +983,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1114,76 +1007,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1191,58 +1071,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, - com.google.container.v1beta1.NetworkPolicy.Builder, - com.google.container.v1beta1.NetworkPolicyOrBuilder> - networkPolicyBuilder_; + com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> networkPolicyBuilder_; /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networkPolicy. */ public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null - ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { @@ -1258,15 +1119,11 @@ public Builder setNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setNetworkPolicy( com.google.container.v1beta1.NetworkPolicy.Builder builderForValue) { @@ -1280,23 +1137,17 @@ public Builder setNetworkPolicy( return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); } else { networkPolicy_ = value; } @@ -1308,15 +1159,11 @@ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy val return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearNetworkPolicy() { if (networkPolicyBuilder_ == null) { @@ -1330,64 +1177,48 @@ public Builder clearNetworkPolicy() { return this; } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null - ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() - : networkPolicy_; + return networkPolicy_ == null ? + com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; } } /** - * - * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, - com.google.container.v1beta1.NetworkPolicy.Builder, - com.google.container.v1beta1.NetworkPolicyOrBuilder> + com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, - com.google.container.v1beta1.NetworkPolicy.Builder, - com.google.container.v1beta1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), getParentForChildren(), isClean()); + networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), + getParentForChildren(), + isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -1395,21 +1226,19 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1418,22 +1247,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1441,71 +1269,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1515,12 +1336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNetworkPolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNetworkPolicyRequest) private static final com.google.container.v1beta1.SetNetworkPolicyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNetworkPolicyRequest(); } @@ -1529,27 +1350,27 @@ public static com.google.container.v1beta1.SetNetworkPolicyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNetworkPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNetworkPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1564,4 +1385,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetNetworkPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java index 831069abb63f..6d1146ee0a93 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetNetworkPolicyRequestOrBuilder - extends +public interface SetNetworkPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNetworkPolicyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4260 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,114 +58,85 @@ 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=4269 + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4274 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4276 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4281 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The networkPolicy. */ com.google.container.v1beta1.NetworkPolicy getNetworkPolicy(); /** - * - * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java index 2d806a5010c7..0e4b741d7a58 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
  * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolAutoscalingRequest} */ -public final class SetNodePoolAutoscalingRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetNodePoolAutoscalingRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNodePoolAutoscalingRequest) SetNodePoolAutoscalingRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetNodePoolAutoscalingRequest.newBuilder() to construct. private SetNodePoolAutoscalingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetNodePoolAutoscalingRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private SetNodePoolAutoscalingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetNodePoolAutoscalingRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, - com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,55 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2586 + * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2586 + * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -314,16 +269,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int AUTOSCALING_FIELD_NUMBER = 5; private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -331,34 +281,23 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null - ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { @@ -368,8 +307,6 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -377,7 +314,6 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -386,15 +322,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -402,15 +337,16 @@ public java.lang.String getName() {
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -419,7 +355,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -431,7 +366,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -472,7 +408,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getAutoscaling()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -485,23 +422,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNodePoolAutoscalingRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNodePoolAutoscalingRequest other = - (com.google.container.v1beta1.SetNodePoolAutoscalingRequest) obj; + com.google.container.v1beta1.SetNodePoolAutoscalingRequest other = (com.google.container.v1beta1.SetNodePoolAutoscalingRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling().equals(other.getAutoscaling())) return false; + if (!getAutoscaling() + .equals(other.getAutoscaling())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -533,136 +475,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( 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.SetNodePoolAutoscalingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.SetNodePoolAutoscalingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolAutoscalingRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNodePoolAutoscalingRequest) com.google.container.v1beta1.SetNodePoolAutoscalingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, - com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetNodePoolAutoscalingRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -686,9 +621,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override @@ -707,8 +642,7 @@ public com.google.container.v1beta1.SetNodePoolAutoscalingRequest build() { @java.lang.Override public com.google.container.v1beta1.SetNodePoolAutoscalingRequest buildPartial() { - com.google.container.v1beta1.SetNodePoolAutoscalingRequest result = - new com.google.container.v1beta1.SetNodePoolAutoscalingRequest(this); + com.google.container.v1beta1.SetNodePoolAutoscalingRequest result = new com.google.container.v1beta1.SetNodePoolAutoscalingRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -727,39 +661,38 @@ public com.google.container.v1beta1.SetNodePoolAutoscalingRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetNodePoolAutoscalingRequest) { - return mergeFrom((com.google.container.v1beta1.SetNodePoolAutoscalingRequest) other); + return mergeFrom((com.google.container.v1beta1.SetNodePoolAutoscalingRequest)other); } else { super.mergeFrom(other); return this; @@ -767,8 +700,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetNodePoolAutoscalingRequest other) { - if (other == com.google.container.v1beta1.SetNodePoolAutoscalingRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetNodePoolAutoscalingRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -818,49 +750,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 50: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: { + input.readMessage( + getAutoscalingFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 50: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -873,26 +800,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -901,27 +824,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -929,79 +849,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1009,8 +916,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1019,16 +924,15 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1037,8 +941,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1047,17 +949,17 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1065,8 +967,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1075,25 +975,22 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1102,21 +999,17 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1125,19 +1018,18 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1145,25 +1037,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1172,26 +1060,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1199,76 +1084,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1276,25 +1148,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2586 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1303,26 +1171,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2586 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1330,76 +1195,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2586 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2591 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2586 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2591 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is - * deprecated. See google/container/v1beta1/cluster_service.proto;l=2586 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2591 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1407,58 +1259,39 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, - com.google.container.v1beta1.NodePoolAutoscaling.Builder, - com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> - autoscalingBuilder_; + com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null - ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { @@ -1474,15 +1307,11 @@ public Builder setAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling v return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscaling( com.google.container.v1beta1.NodePoolAutoscaling.Builder builderForValue) { @@ -1496,23 +1325,17 @@ public Builder setAutoscaling( return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); } else { autoscaling_ = value; } @@ -1524,15 +1347,11 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscaling() { if (autoscalingBuilder_ == null) { @@ -1546,64 +1365,48 @@ public Builder clearAutoscaling() { return this; } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NodePoolAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null - ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() - : autoscaling_; + return autoscaling_ == null ? + com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; } } /** - * - * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, - com.google.container.v1beta1.NodePoolAutoscaling.Builder, - com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> + com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, - com.google.container.v1beta1.NodePoolAutoscaling.Builder, - com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>( - getAutoscaling(), getParentForChildren(), isClean()); + autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>( + getAutoscaling(), + getParentForChildren(), + isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -1611,8 +1414,6 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1620,13 +1421,13 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1635,8 +1436,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1644,14 +1443,15 @@ public java.lang.String getName() {
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1659,8 +1459,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1668,22 +1466,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1691,18 +1487,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1710,23 +1503,23 @@ public Builder clearName() {
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1736,12 +1529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNodePoolAutoscalingRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolAutoscalingRequest) private static final com.google.container.v1beta1.SetNodePoolAutoscalingRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNodePoolAutoscalingRequest(); } @@ -1750,27 +1543,27 @@ public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolAutoscalingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolAutoscalingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1785,4 +1578,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1beta1.SetNodePoolAutoscalingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java index e61246b474d5..c71470ce63cd 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetNodePoolAutoscalingRequestOrBuilder - extends +public interface SetNodePoolAutoscalingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNodePoolAutoscalingRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2563 + * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,128 +58,93 @@ 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=2572 + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2577 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2579 + * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2586 + * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2586 + * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscaling. */ com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling(); /** - * - * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -218,13 +152,10 @@ public interface SetNodePoolAutoscalingRequestOrBuilder
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -232,8 +163,8 @@ public interface SetNodePoolAutoscalingRequestOrBuilder
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java index 09ee44a4cc8b..8664c4ce84d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetNodePoolManagementRequest sets the node management properties of a node
  * pool.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.SetNodePoolManagementRequest}
  */
-public final class SetNodePoolManagementRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SetNodePoolManagementRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNodePoolManagementRequest)
     SetNodePoolManagementRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SetNodePoolManagementRequest.newBuilder() to construct.
   private SetNodePoolManagementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SetNodePoolManagementRequest() {
     projectId_ = "";
     zone_ = "";
@@ -48,84 +30,76 @@ private SetNodePoolManagementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SetNodePoolManagementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SetNodePoolManagementRequest.class,
-            com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
+            com.google.container.v1beta1.SetNodePoolManagementRequest.class, com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -136,8 +110,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,27 +118,24 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -175,18 +144,18 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -197,55 +166,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -256,55 +218,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -315,16 +270,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int MANAGEMENT_FIELD_NUMBER = 5; private com.google.container.v1beta1.NodeManagement management_; /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the management field is set. */ @java.lang.Override @@ -332,34 +282,23 @@ public boolean hasManagement() { return management_ != null; } /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The management. */ @java.lang.Override public com.google.container.v1beta1.NodeManagement getManagement() { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder() { @@ -369,8 +308,6 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -378,7 +315,6 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -387,15 +323,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -403,15 +338,16 @@ public java.lang.String getName() {
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -420,7 +356,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -432,7 +367,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -473,7 +409,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -486,23 +423,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNodePoolManagementRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNodePoolManagementRequest other = - (com.google.container.v1beta1.SetNodePoolManagementRequest) obj; + com.google.container.v1beta1.SetNodePoolManagementRequest other = (com.google.container.v1beta1.SetNodePoolManagementRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement().equals(other.getManagement())) return false; + if (!getManagement() + .equals(other.getManagement())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -534,104 +476,96 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolManagementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( 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.SetNodePoolManagementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.SetNodePoolManagementRequest prototype) { + public static Builder newBuilder(com.google.container.v1beta1.SetNodePoolManagementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNodePoolManagementRequest sets the node management properties of a node
    * pool.
@@ -639,32 +573,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.SetNodePoolManagementRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNodePoolManagementRequest)
       com.google.container.v1beta1.SetNodePoolManagementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SetNodePoolManagementRequest.class,
-              com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
+              com.google.container.v1beta1.SetNodePoolManagementRequest.class, com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SetNodePoolManagementRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -688,9 +623,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -709,8 +644,7 @@ public com.google.container.v1beta1.SetNodePoolManagementRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SetNodePoolManagementRequest buildPartial() {
-      com.google.container.v1beta1.SetNodePoolManagementRequest result =
-          new com.google.container.v1beta1.SetNodePoolManagementRequest(this);
+      com.google.container.v1beta1.SetNodePoolManagementRequest result = new com.google.container.v1beta1.SetNodePoolManagementRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -729,39 +663,38 @@ public com.google.container.v1beta1.SetNodePoolManagementRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SetNodePoolManagementRequest) {
-        return mergeFrom((com.google.container.v1beta1.SetNodePoolManagementRequest) other);
+        return mergeFrom((com.google.container.v1beta1.SetNodePoolManagementRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -769,8 +702,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.SetNodePoolManagementRequest other) {
-      if (other == com.google.container.v1beta1.SetNodePoolManagementRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.SetNodePoolManagementRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -820,49 +752,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 34:
-              {
-                nodePoolId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 58:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              nodePoolId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getManagementFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 58: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -875,26 +802,22 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3698 + * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -903,27 +826,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3698 + * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -931,79 +851,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3698 + * See google/container/v1beta1/cluster_service.proto;l=3703 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3698 + * See google/container/v1beta1/cluster_service.proto;l=3703 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3698 + * See google/container/v1beta1/cluster_service.proto;l=3703 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1011,8 +918,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1021,16 +926,15 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1039,8 +943,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1049,17 +951,17 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1067,8 +969,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1077,25 +977,22 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1104,21 +1001,17 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1127,19 +1020,18 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1147,25 +1039,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3714 + * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1174,26 +1062,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3714 + * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1201,76 +1086,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3714 + * See google/container/v1beta1/cluster_service.proto;l=3719 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3714 + * See google/container/v1beta1/cluster_service.proto;l=3719 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3714 + * See google/container/v1beta1/cluster_service.proto;l=3719 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1278,25 +1150,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1305,26 +1173,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1332,76 +1197,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1409,58 +1261,39 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder> - managementBuilder_; + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> managementBuilder_; /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The management. */ public com.google.container.v1beta1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } else { return managementBuilder_.getMessage(); } } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) { if (managementBuilder_ == null) { @@ -1476,15 +1309,11 @@ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setManagement( com.google.container.v1beta1.NodeManagement.Builder builderForValue) { @@ -1498,23 +1327,17 @@ public Builder setManagement( return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1beta1.NodeManagement.newBuilder(management_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); } else { management_ = value; } @@ -1526,15 +1349,11 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearManagement() { if (managementBuilder_ == null) { @@ -1548,64 +1367,48 @@ public Builder clearManagement() { return this; } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder() { if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null - ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() - : management_; + return management_ == null ? + com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; } } /** - * - * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder> + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, - com.google.container.v1beta1.NodeManagement.Builder, - com.google.container.v1beta1.NodeManagementOrBuilder>( - getManagement(), getParentForChildren(), isClean()); + managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder>( + getManagement(), + getParentForChildren(), + isClean()); management_ = null; } return managementBuilder_; @@ -1613,8 +1416,6 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1622,13 +1423,13 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1637,8 +1438,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1646,14 +1445,15 @@ public java.lang.String getName() {
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1661,8 +1461,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1670,22 +1468,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1693,18 +1489,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1712,23 +1505,23 @@ public Builder clearName() {
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1738,12 +1531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNodePoolManagementRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolManagementRequest) private static final com.google.container.v1beta1.SetNodePoolManagementRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNodePoolManagementRequest(); } @@ -1752,27 +1545,27 @@ public static com.google.container.v1beta1.SetNodePoolManagementRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolManagementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolManagementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1787,4 +1580,6 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1beta1.SetNodePoolManagementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java index aec7cff6c87a..dd32c38e2a37 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetNodePoolManagementRequestOrBuilder - extends +public interface SetNodePoolManagementRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNodePoolManagementRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,128 +58,93 @@ 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=3707 + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3712 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3721 + * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the management field is set. */ boolean hasManagement(); /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The management. */ com.google.container.v1beta1.NodeManagement getManagement(); /** - * - * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -218,13 +152,10 @@ public interface SetNodePoolManagementRequestOrBuilder
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -232,8 +163,8 @@ public interface SetNodePoolManagementRequestOrBuilder
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java index 8dd79bd375c5..f8b4346fe0c7 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetNodePoolSizeRequest sets the size of a node pool.
  * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolSizeRequest} */ -public final class SetNodePoolSizeRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SetNodePoolSizeRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNodePoolSizeRequest) SetNodePoolSizeRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SetNodePoolSizeRequest.newBuilder() to construct. private SetNodePoolSizeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetNodePoolSizeRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private SetNodePoolSizeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetNodePoolSizeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolSizeRequest.class, - com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolSizeRequest.class, com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,55 +217,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -314,14 +269,11 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NODE_COUNT_FIELD_NUMBER = 5; private int nodeCount_; /** - * - * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeCount. */ @java.lang.Override @@ -332,8 +284,6 @@ public int getNodeCount() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -341,7 +291,6 @@ public int getNodeCount() {
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -350,15 +299,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -366,15 +314,16 @@ public java.lang.String getName() {
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -383,7 +332,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -395,7 +343,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -436,7 +385,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, nodeCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, nodeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -449,20 +399,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNodePoolSizeRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNodePoolSizeRequest other = - (com.google.container.v1beta1.SetNodePoolSizeRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getNodePoolId().equals(other.getNodePoolId())) return false; - if (getNodeCount() != other.getNodeCount()) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.SetNodePoolSizeRequest other = (com.google.container.v1beta1.SetNodePoolSizeRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getNodePoolId() + .equals(other.getNodePoolId())) return false; + if (getNodeCount() + != other.getNodeCount()) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -492,135 +447,129 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolSizeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( 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.SetNodePoolSizeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetNodePoolSizeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * SetNodePoolSizeRequest sets the size of a node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolSizeRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNodePoolSizeRequest) com.google.container.v1beta1.SetNodePoolSizeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolSizeRequest.class, - com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolSizeRequest.class, com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetNodePoolSizeRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -640,9 +589,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override @@ -661,8 +610,7 @@ public com.google.container.v1beta1.SetNodePoolSizeRequest build() { @java.lang.Override public com.google.container.v1beta1.SetNodePoolSizeRequest buildPartial() { - com.google.container.v1beta1.SetNodePoolSizeRequest result = - new com.google.container.v1beta1.SetNodePoolSizeRequest(this); + com.google.container.v1beta1.SetNodePoolSizeRequest result = new com.google.container.v1beta1.SetNodePoolSizeRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -677,39 +625,38 @@ public com.google.container.v1beta1.SetNodePoolSizeRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetNodePoolSizeRequest) { - return mergeFrom((com.google.container.v1beta1.SetNodePoolSizeRequest) other); + return mergeFrom((com.google.container.v1beta1.SetNodePoolSizeRequest)other); } else { super.mergeFrom(other); return this; @@ -717,8 +664,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetNodePoolSizeRequest other) { - if (other == com.google.container.v1beta1.SetNodePoolSizeRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.SetNodePoolSizeRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -768,49 +714,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: - { - nodeCount_ = input.readInt32(); - - break; - } // case 40 - case 58: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: { + nodeCount_ = input.readInt32(); + + break; + } // case 40 + case 58: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -823,26 +762,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -851,27 +786,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -879,79 +811,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -959,8 +878,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -969,16 +886,15 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -987,8 +903,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -997,17 +911,17 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -1015,8 +929,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1025,25 +937,22 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1052,21 +961,17 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1075,19 +980,18 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1095,25 +999,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1122,26 +1022,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1149,76 +1046,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1226,25 +1110,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1253,26 +1133,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1280,91 +1157,75 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; } - private int nodeCount_; + private int nodeCount_ ; /** - * - * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeCount. */ @java.lang.Override @@ -1372,36 +1233,30 @@ public int getNodeCount() { return nodeCount_; } /** - * - * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** - * - * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -1409,8 +1264,6 @@ public Builder clearNodeCount() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1418,13 +1271,13 @@ public Builder clearNodeCount() {
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1433,8 +1286,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1442,14 +1293,15 @@ public java.lang.String getName() {
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1457,8 +1309,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1466,22 +1316,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1489,18 +1337,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1508,23 +1353,23 @@ public Builder clearName() {
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1534,12 +1379,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNodePoolSizeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolSizeRequest) private static final com.google.container.v1beta1.SetNodePoolSizeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNodePoolSizeRequest(); } @@ -1548,27 +1393,27 @@ public static com.google.container.v1beta1.SetNodePoolSizeRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolSizeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolSizeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1583,4 +1428,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetNodePoolSizeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java index 07d4e83b70ad..880efc27f372 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetNodePoolSizeRequestOrBuilder - extends +public interface SetNodePoolSizeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNodePoolSizeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3740 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3745 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,100 +58,76 @@ 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=3749 + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3756 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3761 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=3763 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=3768 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeCount. */ int getNodeCount(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -190,13 +135,10 @@ public interface SetNodePoolSizeRequestOrBuilder
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -204,8 +146,8 @@ public interface SetNodePoolSizeRequestOrBuilder
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java index 9892d1c3aa75..6fa2162970c9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * A set of Shielded Instance options.
  * 
* * Protobuf type {@code google.container.v1beta1.ShieldedInstanceConfig} */ -public final class ShieldedInstanceConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShieldedInstanceConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ShieldedInstanceConfig) ShieldedInstanceConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShieldedInstanceConfig.newBuilder() to construct. private ShieldedInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ShieldedInstanceConfig() {} + private ShieldedInstanceConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShieldedInstanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedInstanceConfig.class, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1beta1.ShieldedInstanceConfig.class, com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); } public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER = 1; private boolean enableSecureBoot_; /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool enable_secure_boot = 1; - * * @return The enableSecureBoot. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean getEnableSecureBoot() { public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER = 2; private boolean enableIntegrityMonitoring_; /** - * - * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -100,7 +77,6 @@ public boolean getEnableSecureBoot() {
    * 
* * bool enable_integrity_monitoring = 2; - * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -109,7 +85,6 @@ public boolean getEnableIntegrityMonitoring() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,7 +96,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enableSecureBoot_ != false) { output.writeBool(1, enableSecureBoot_); } @@ -138,10 +114,12 @@ public int getSerializedSize() { size = 0; if (enableSecureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableSecureBoot_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enableSecureBoot_); } if (enableIntegrityMonitoring_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableIntegrityMonitoring_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, enableIntegrityMonitoring_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -151,16 +129,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ShieldedInstanceConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ShieldedInstanceConfig other = - (com.google.container.v1beta1.ShieldedInstanceConfig) obj; + com.google.container.v1beta1.ShieldedInstanceConfig other = (com.google.container.v1beta1.ShieldedInstanceConfig) obj; - if (getEnableSecureBoot() != other.getEnableSecureBoot()) return false; - if (getEnableIntegrityMonitoring() != other.getEnableIntegrityMonitoring()) return false; + if (getEnableSecureBoot() + != other.getEnableSecureBoot()) return false; + if (getEnableIntegrityMonitoring() + != other.getEnableIntegrityMonitoring()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,144 +152,140 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableSecureBoot()); hash = (37 * hash) + ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntegrityMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnableIntegrityMonitoring()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( 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.ShieldedInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ShieldedInstanceConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ShieldedInstanceConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ShieldedInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A set of Shielded Instance options.
    * 
* * Protobuf type {@code google.container.v1beta1.ShieldedInstanceConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ShieldedInstanceConfig) com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedInstanceConfig.class, - com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1beta1.ShieldedInstanceConfig.class, com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); } // Construct using com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; } @java.lang.Override @@ -343,8 +318,7 @@ public com.google.container.v1beta1.ShieldedInstanceConfig build() { @java.lang.Override public com.google.container.v1beta1.ShieldedInstanceConfig buildPartial() { - com.google.container.v1beta1.ShieldedInstanceConfig result = - new com.google.container.v1beta1.ShieldedInstanceConfig(this); + com.google.container.v1beta1.ShieldedInstanceConfig result = new com.google.container.v1beta1.ShieldedInstanceConfig(this); result.enableSecureBoot_ = enableSecureBoot_; result.enableIntegrityMonitoring_ = enableIntegrityMonitoring_; onBuilt(); @@ -355,39 +329,38 @@ public com.google.container.v1beta1.ShieldedInstanceConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ShieldedInstanceConfig) { - return mergeFrom((com.google.container.v1beta1.ShieldedInstanceConfig) other); + return mergeFrom((com.google.container.v1beta1.ShieldedInstanceConfig)other); } else { super.mergeFrom(other); return this; @@ -395,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ShieldedInstanceConfig other) { - if (other == com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance()) return this; if (other.getEnableSecureBoot() != false) { setEnableSecureBoot(other.getEnableSecureBoot()); } @@ -429,25 +401,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enableSecureBoot_ = input.readBool(); - - break; - } // case 8 - case 16: - { - enableIntegrityMonitoring_ = input.readBool(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enableSecureBoot_ = input.readBool(); + + break; + } // case 8 + case 16: { + enableIntegrityMonitoring_ = input.readBool(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,10 +427,8 @@ public Builder mergeFrom( return this; } - private boolean enableSecureBoot_; + private boolean enableSecureBoot_ ; /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -470,7 +437,6 @@ public Builder mergeFrom(
      * 
* * bool enable_secure_boot = 1; - * * @return The enableSecureBoot. */ @java.lang.Override @@ -478,8 +444,6 @@ public boolean getEnableSecureBoot() { return enableSecureBoot_; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -488,19 +452,16 @@ public boolean getEnableSecureBoot() {
      * 
* * bool enable_secure_boot = 1; - * * @param value The enableSecureBoot to set. * @return This builder for chaining. */ public Builder setEnableSecureBoot(boolean value) { - + enableSecureBoot_ = value; onChanged(); return this; } /** - * - * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -509,20 +470,17 @@ public Builder setEnableSecureBoot(boolean value) {
      * 
* * bool enable_secure_boot = 1; - * * @return This builder for chaining. */ public Builder clearEnableSecureBoot() { - + enableSecureBoot_ = false; onChanged(); return this; } - private boolean enableIntegrityMonitoring_; + private boolean enableIntegrityMonitoring_ ; /** - * - * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -532,7 +490,6 @@ public Builder clearEnableSecureBoot() {
      * 
* * bool enable_integrity_monitoring = 2; - * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -540,8 +497,6 @@ public boolean getEnableIntegrityMonitoring() { return enableIntegrityMonitoring_; } /** - * - * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -551,19 +506,16 @@ public boolean getEnableIntegrityMonitoring() {
      * 
* * bool enable_integrity_monitoring = 2; - * * @param value The enableIntegrityMonitoring to set. * @return This builder for chaining. */ public Builder setEnableIntegrityMonitoring(boolean value) { - + enableIntegrityMonitoring_ = value; onChanged(); return this; } /** - * - * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -573,18 +525,17 @@ public Builder setEnableIntegrityMonitoring(boolean value) {
      * 
* * bool enable_integrity_monitoring = 2; - * * @return This builder for chaining. */ public Builder clearEnableIntegrityMonitoring() { - + enableIntegrityMonitoring_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -594,12 +545,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ShieldedInstanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ShieldedInstanceConfig) private static final com.google.container.v1beta1.ShieldedInstanceConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ShieldedInstanceConfig(); } @@ -608,27 +559,27 @@ public static com.google.container.v1beta1.ShieldedInstanceConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +594,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ShieldedInstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java index 2ed7d031a6e0..aceea33a6383 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ShieldedInstanceConfigOrBuilder - extends +public interface ShieldedInstanceConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ShieldedInstanceConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -34,14 +16,11 @@ public interface ShieldedInstanceConfigOrBuilder
    * 
* * bool enable_secure_boot = 1; - * * @return The enableSecureBoot. */ boolean getEnableSecureBoot(); /** - * - * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -51,7 +30,6 @@ public interface ShieldedInstanceConfigOrBuilder
    * 
* * bool enable_integrity_monitoring = 2; - * * @return The enableIntegrityMonitoring. */ boolean getEnableIntegrityMonitoring(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java index bdde06d53925..49339fa218f9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration of Shielded Nodes feature.
  * 
* * Protobuf type {@code google.container.v1beta1.ShieldedNodes} */ -public final class ShieldedNodes extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ShieldedNodes extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ShieldedNodes) ShieldedNodesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ShieldedNodes.newBuilder() to construct. private ShieldedNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ShieldedNodes() {} + private ShieldedNodes() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ShieldedNodes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedNodes.class, - com.google.container.v1beta1.ShieldedNodes.Builder.class); + com.google.container.v1beta1.ShieldedNodes.class, com.google.container.v1beta1.ShieldedNodes.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Shielded Nodes features are enabled on all nodes in this cluster.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,15 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ShieldedNodes)) { return super.equals(obj); } - com.google.container.v1beta1.ShieldedNodes other = - (com.google.container.v1beta1.ShieldedNodes) obj; + com.google.container.v1beta1.ShieldedNodes other = (com.google.container.v1beta1.ShieldedNodes) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -141,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ShieldedNodes parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ShieldedNodes parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ShieldedNodes parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedNodes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ShieldedNodes parseFrom( 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.ShieldedNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ShieldedNodes parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ShieldedNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ShieldedNodes parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.ShieldedNodes parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.ShieldedNodes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ShieldedNodes parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ShieldedNodes parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ShieldedNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ShieldedNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of Shielded Nodes feature.
    * 
* * Protobuf type {@code google.container.v1beta1.ShieldedNodes} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ShieldedNodes) com.google.container.v1beta1.ShieldedNodesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedNodes.class, - com.google.container.v1beta1.ShieldedNodes.Builder.class); + com.google.container.v1beta1.ShieldedNodes.class, com.google.container.v1beta1.ShieldedNodes.Builder.class); } // Construct using com.google.container.v1beta1.ShieldedNodes.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -286,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_descriptor; } @java.lang.Override @@ -307,8 +282,7 @@ public com.google.container.v1beta1.ShieldedNodes build() { @java.lang.Override public com.google.container.v1beta1.ShieldedNodes buildPartial() { - com.google.container.v1beta1.ShieldedNodes result = - new com.google.container.v1beta1.ShieldedNodes(this); + com.google.container.v1beta1.ShieldedNodes result = new com.google.container.v1beta1.ShieldedNodes(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -318,39 +292,38 @@ public com.google.container.v1beta1.ShieldedNodes buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ShieldedNodes) { - return mergeFrom((com.google.container.v1beta1.ShieldedNodes) other); + return mergeFrom((com.google.container.v1beta1.ShieldedNodes)other); } else { super.mergeFrom(other); return this; @@ -388,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -411,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -428,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -474,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ShieldedNodes) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ShieldedNodes) private static final com.google.container.v1beta1.ShieldedNodes DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ShieldedNodes(); } @@ -488,27 +450,27 @@ public static com.google.container.v1beta1.ShieldedNodes getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -523,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ShieldedNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java new file mode 100644 index 000000000000..3d24876a5811 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ShieldedNodesOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ShieldedNodes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java index feb41cd1d549..249cb94b5b0e 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * StartIPRotationRequest creates a new IP for the cluster and then performs
  * a node upgrade on each node pool to point to the new IP.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.StartIPRotationRequest}
  */
-public final class StartIPRotationRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StartIPRotationRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.StartIPRotationRequest)
     StartIPRotationRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StartIPRotationRequest.newBuilder() to construct.
   private StartIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StartIPRotationRequest() {
     projectId_ = "";
     zone_ = "";
@@ -47,84 +29,76 @@ private StartIPRotationRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StartIPRotationRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.StartIPRotationRequest.class,
-            com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
+            com.google.container.v1beta1.StartIPRotationRequest.class, com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
-   *
-   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,15 +217,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ @java.lang.Override @@ -272,30 +231,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -306,14 +265,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ROTATE_CREDENTIALS_FIELD_NUMBER = 7; private boolean rotateCredentials_; /** - * - * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; - * * @return The rotateCredentials. */ @java.lang.Override @@ -322,7 +278,6 @@ public boolean getRotateCredentials() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -372,7 +328,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (rotateCredentials_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, rotateCredentials_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, rotateCredentials_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -382,19 +339,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.StartIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.StartIPRotationRequest other = - (com.google.container.v1beta1.StartIPRotationRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getName().equals(other.getName())) return false; - if (getRotateCredentials() != other.getRotateCredentials()) return false; + com.google.container.v1beta1.StartIPRotationRequest other = (com.google.container.v1beta1.StartIPRotationRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getRotateCredentials() + != other.getRotateCredentials()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -415,110 +376,104 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ROTATE_CREDENTIALS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRotateCredentials()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRotateCredentials()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( 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.StartIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.StartIPRotationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.StartIPRotationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.StartIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.StartIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * StartIPRotationRequest creates a new IP for the cluster and then performs
    * a node upgrade on each node pool to point to the new IP.
@@ -526,32 +481,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.StartIPRotationRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.StartIPRotationRequest)
       com.google.container.v1beta1.StartIPRotationRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.StartIPRotationRequest.class,
-              com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
+              com.google.container.v1beta1.StartIPRotationRequest.class, com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.StartIPRotationRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -569,9 +525,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
@@ -590,8 +546,7 @@ public com.google.container.v1beta1.StartIPRotationRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.StartIPRotationRequest buildPartial() {
-      com.google.container.v1beta1.StartIPRotationRequest result =
-          new com.google.container.v1beta1.StartIPRotationRequest(this);
+      com.google.container.v1beta1.StartIPRotationRequest result = new com.google.container.v1beta1.StartIPRotationRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -605,39 +560,38 @@ public com.google.container.v1beta1.StartIPRotationRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.StartIPRotationRequest) {
-        return mergeFrom((com.google.container.v1beta1.StartIPRotationRequest) other);
+        return mergeFrom((com.google.container.v1beta1.StartIPRotationRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -645,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.StartIPRotationRequest other) {
-      if (other == com.google.container.v1beta1.StartIPRotationRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.StartIPRotationRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -692,43 +645,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                zone_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              zone_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                clusterId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 50:
-              {
-                name_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 50: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 50
-            case 56:
-              {
-                rotateCredentials_ = input.readBool();
+              break;
+            } // case 50
+            case 56: {
+              rotateCredentials_ = input.readBool();
 
-                break;
-              } // case 56
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 56
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -741,26 +688,22 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -769,27 +712,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -797,79 +737,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -877,8 +804,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -887,16 +812,15 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -905,8 +829,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -915,17 +837,17 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -933,8 +855,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,25 +863,22 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -970,21 +887,17 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -993,19 +906,18 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1013,25 +925,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1040,26 +948,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1067,76 +972,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1144,21 +1036,19 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1167,22 +1057,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1190,79 +1079,69 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean rotateCredentials_; + private boolean rotateCredentials_ ; /** - * - * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; - * * @return The rotateCredentials. */ @java.lang.Override @@ -1270,43 +1149,37 @@ public boolean getRotateCredentials() { return rotateCredentials_; } /** - * - * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; - * * @param value The rotateCredentials to set. * @return This builder for chaining. */ public Builder setRotateCredentials(boolean value) { - + rotateCredentials_ = value; onChanged(); return this; } /** - * - * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; - * * @return This builder for chaining. */ public Builder clearRotateCredentials() { - + rotateCredentials_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1316,12 +1189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.StartIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.StartIPRotationRequest) private static final com.google.container.v1beta1.StartIPRotationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.StartIPRotationRequest(); } @@ -1330,27 +1203,27 @@ public static com.google.container.v1beta1.StartIPRotationRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1365,4 +1238,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.StartIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java index 590bdc7c1a0f..61a18867df7d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface StartIPRotationRequestOrBuilder - extends +public interface StartIPRotationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.StartIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4092 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4097 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,85 +58,67 @@ 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=4101 + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4106 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4108 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4113 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; - * * @return The rotateCredentials. */ boolean getRotateCredentials(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java index 2a5b26edbf91..2db212b3a2d3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * StatusCondition describes why a cluster or a node pool has a certain status
  * (e.g., ERROR or DEGRADED).
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.StatusCondition}
  */
-public final class StatusCondition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StatusCondition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.StatusCondition)
     StatusConditionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StatusCondition.newBuilder() to construct.
   private StatusCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StatusCondition() {
     code_ = 0;
     message_ = "";
@@ -46,44 +28,39 @@ private StatusCondition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StatusCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_StatusCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.StatusCondition.class,
-            com.google.container.v1beta1.StatusCondition.Builder.class);
+            com.google.container.v1beta1.StatusCondition.class, com.google.container.v1beta1.StatusCondition.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Code for each condition
    * 
* * Protobuf enum {@code google.container.v1beta1.StatusCondition.Code} */ - @java.lang.Deprecated - public enum Code implements com.google.protobuf.ProtocolMessageEnum { + @java.lang.Deprecated public enum Code + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * UNKNOWN indicates a generic condition.
      * 
@@ -92,8 +69,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -103,8 +78,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     GCE_STOCKOUT(1),
     /**
-     *
-     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -114,8 +87,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     GKE_SERVICE_ACCOUNT_DELETED(2),
     /**
-     *
-     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -124,8 +95,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ GCE_QUOTA_EXCEEDED(3), /** - * - * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -134,8 +103,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ SET_BY_OPERATOR(4), /** - * - * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -145,8 +112,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     CLOUD_KMS_KEY_ERROR(7),
     /**
-     *
-     *
      * 
      * Cluster CA is expiring soon.
      * More codes TBA
@@ -159,8 +124,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * UNKNOWN indicates a generic condition.
      * 
@@ -169,8 +132,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -180,8 +141,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GCE_STOCKOUT_VALUE = 1;
     /**
-     *
-     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -191,8 +150,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GKE_SERVICE_ACCOUNT_DELETED_VALUE = 2;
     /**
-     *
-     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -201,8 +158,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCE_QUOTA_EXCEEDED_VALUE = 3; /** - * - * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -211,8 +166,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SET_BY_OPERATOR_VALUE = 4; /** - * - * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -222,8 +175,6 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CLOUD_KMS_KEY_ERROR_VALUE = 7;
     /**
-     *
-     *
      * 
      * Cluster CA is expiring soon.
      * More codes TBA
@@ -233,6 +184,7 @@ public enum Code implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CA_EXPIRING_VALUE = 9;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -257,57 +209,53 @@ public static Code valueOf(int value) {
      */
     public static Code forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNKNOWN;
-        case 1:
-          return GCE_STOCKOUT;
-        case 2:
-          return GKE_SERVICE_ACCOUNT_DELETED;
-        case 3:
-          return GCE_QUOTA_EXCEEDED;
-        case 4:
-          return SET_BY_OPERATOR;
-        case 7:
-          return CLOUD_KMS_KEY_ERROR;
-        case 9:
-          return CA_EXPIRING;
-        default:
-          return null;
+        case 0: return UNKNOWN;
+        case 1: return GCE_STOCKOUT;
+        case 2: return GKE_SERVICE_ACCOUNT_DELETED;
+        case 3: return GCE_QUOTA_EXCEEDED;
+        case 4: return SET_BY_OPERATOR;
+        case 7: return CLOUD_KMS_KEY_ERROR;
+        case 9: return CA_EXPIRING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Code findValueByNumber(int number) {
-            return Code.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Code> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Code findValueByNumber(int number) {
+              return Code.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.StatusCondition.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Code[] VALUES = values();
 
-    public static Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Code valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -327,58 +275,44 @@ private Code(int value) {
   public static final int CODE_FIELD_NUMBER = 1;
   private int code_;
   /**
-   *
-   *
    * 
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @return The enum numeric value on the wire for code. */ - @java.lang.Override - @java.lang.Deprecated - public int getCodeValue() { + @java.lang.Override @java.lang.Deprecated public int getCodeValue() { return code_; } /** - * - * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @return The code. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Code getCode() { + @java.lang.Override @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.StatusCondition.Code result = - com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); + com.google.container.v1beta1.StatusCondition.Code result = com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); return result == null ? com.google.container.v1beta1.StatusCondition.Code.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The message. */ @java.lang.Override @@ -387,29 +321,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -420,40 +354,31 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int CANONICAL_CODE_FIELD_NUMBER = 3; private int canonicalCode_; /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override - public int getCanonicalCodeValue() { + @java.lang.Override public int getCanonicalCodeValue() { return canonicalCode_; } /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The canonicalCode. */ - @java.lang.Override - public com.google.rpc.Code getCanonicalCode() { + @java.lang.Override public com.google.rpc.Code getCanonicalCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(canonicalCode_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -465,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (code_ != com.google.container.v1beta1.StatusCondition.Code.UNKNOWN.getNumber()) { output.writeEnum(1, code_); } @@ -485,13 +411,15 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.container.v1beta1.StatusCondition.Code.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (canonicalCode_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, canonicalCode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, canonicalCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -501,16 +429,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.StatusCondition)) { return super.equals(obj); } - com.google.container.v1beta1.StatusCondition other = - (com.google.container.v1beta1.StatusCondition) obj; + com.google.container.v1beta1.StatusCondition other = (com.google.container.v1beta1.StatusCondition) obj; if (code_ != other.code_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (canonicalCode_ != other.canonicalCode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -534,104 +462,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.StatusCondition parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.StatusCondition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.StatusCondition parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StatusCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.StatusCondition parseFrom( 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.StatusCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.StatusCondition parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.StatusCondition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.StatusCondition parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.StatusCondition parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.StatusCondition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.StatusCondition parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.StatusCondition parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.StatusCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.StatusCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * StatusCondition describes why a cluster or a node pool has a certain status
    * (e.g., ERROR or DEGRADED).
@@ -639,32 +560,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.StatusCondition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.StatusCondition)
       com.google.container.v1beta1.StatusConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_StatusCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.StatusCondition.class,
-              com.google.container.v1beta1.StatusCondition.Builder.class);
+              com.google.container.v1beta1.StatusCondition.class, com.google.container.v1beta1.StatusCondition.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.StatusCondition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -678,9 +600,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_StatusCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
@@ -699,8 +621,7 @@ public com.google.container.v1beta1.StatusCondition build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.StatusCondition buildPartial() {
-      com.google.container.v1beta1.StatusCondition result =
-          new com.google.container.v1beta1.StatusCondition(this);
+      com.google.container.v1beta1.StatusCondition result = new com.google.container.v1beta1.StatusCondition(this);
       result.code_ = code_;
       result.message_ = message_;
       result.canonicalCode_ = canonicalCode_;
@@ -712,39 +633,38 @@ public com.google.container.v1beta1.StatusCondition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.StatusCondition) {
-        return mergeFrom((com.google.container.v1beta1.StatusCondition) other);
+        return mergeFrom((com.google.container.v1beta1.StatusCondition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -789,31 +709,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                code_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                message_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                canonicalCode_ = input.readEnum();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              code_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              message_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              canonicalCode_ = input.readEnum();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -826,112 +742,88 @@ public Builder mergeFrom(
 
     private int code_ = 0;
     /**
-     *
-     *
      * 
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @return The enum numeric value on the wire for code. */ - @java.lang.Override - @java.lang.Deprecated - public int getCodeValue() { + @java.lang.Override @java.lang.Deprecated public int getCodeValue() { return code_; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCodeValue(int value) { - + @java.lang.Deprecated public Builder setCodeValue(int value) { + code_ = value; onChanged(); return this; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @return The code. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.StatusCondition.Code getCode() { + @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.StatusCondition.Code result = - com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); - return result == null - ? com.google.container.v1beta1.StatusCondition.Code.UNRECOGNIZED - : result; + com.google.container.v1beta1.StatusCondition.Code result = com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); + return result == null ? com.google.container.v1beta1.StatusCondition.Code.UNRECOGNIZED : result; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @param value The code to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) { + @java.lang.Deprecated public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearCode() { - + @java.lang.Deprecated public Builder clearCode() { + code_ = 0; onChanged(); return this; @@ -939,20 +831,18 @@ public Builder clearCode() { private java.lang.Object message_ = ""; /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -961,21 +851,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -983,61 +872,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -1045,47 +927,37 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private int canonicalCode_ = 0; /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override - public int getCanonicalCodeValue() { + @java.lang.Override public int getCanonicalCodeValue() { return canonicalCode_; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @param value The enum numeric value on the wire for canonicalCode to set. * @return This builder for chaining. */ public Builder setCanonicalCodeValue(int value) { - + canonicalCode_ = value; onChanged(); return this; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @return The canonicalCode. */ @java.lang.Override @@ -1095,14 +967,11 @@ public com.google.rpc.Code getCanonicalCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @param value The canonicalCode to set. * @return This builder for chaining. */ @@ -1110,31 +979,28 @@ public Builder setCanonicalCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + canonicalCode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; - * * @return This builder for chaining. */ public Builder clearCanonicalCode() { - + canonicalCode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1144,12 +1010,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.StatusCondition) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.StatusCondition) private static final com.google.container.v1beta1.StatusCondition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.StatusCondition(); } @@ -1158,27 +1024,27 @@ public static com.google.container.v1beta1.StatusCondition getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatusCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatusCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1193,4 +1059,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.StatusCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java index 3d21e1ba1e2e..0cebeea1392a 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java @@ -1,107 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface StatusConditionOrBuilder - extends +public interface StatusConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.StatusCondition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @return The enum numeric value on the wire for code. */ - @java.lang.Deprecated - int getCodeValue(); + @java.lang.Deprecated int getCodeValue(); /** - * - * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4395 + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4400 * @return The code. */ - @java.lang.Deprecated - com.google.container.v1beta1.StatusCondition.Code getCode(); + @java.lang.Deprecated com.google.container.v1beta1.StatusCondition.Code getCode(); /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The enum numeric value on the wire for canonicalCode. */ int getCanonicalCodeValue(); /** - * - * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; - * * @return The canonicalCode. */ com.google.rpc.Code getCanonicalCode(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java index b6d2e7b2eb4f..74a61e1b6179 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Represents an arbitrary window of time.
  * 
* * Protobuf type {@code google.container.v1beta1.TimeWindow} */ -public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimeWindow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.TimeWindow) TimeWindowOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimeWindow() {} + private TimeWindow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TimeWindow.class, - com.google.container.v1beta1.TimeWindow.Builder.class); + com.google.container.v1beta1.TimeWindow.class, com.google.container.v1beta1.TimeWindow.Builder.class); } private int optionsCase_ = 0; private java.lang.Object options_; - public enum OptionsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAINTENANCE_EXCLUSION_OPTIONS(3), OPTIONS_NOT_SET(0); private final int value; - private OptionsCase(int value) { this.value = value; } @@ -91,36 +70,30 @@ public static OptionsCase valueOf(int value) { public static OptionsCase forNumber(int value) { switch (value) { - case 3: - return MAINTENANCE_EXCLUSION_OPTIONS; - case 0: - return OPTIONS_NOT_SET; - default: - return null; + case 3: return MAINTENANCE_EXCLUSION_OPTIONS; + case 0: return OPTIONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public OptionsCase getOptionsCase() { - return OptionsCase.forNumber(optionsCase_); + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); } public static final int MAINTENANCE_EXCLUSION_OPTIONS_FIELD_NUMBER = 3; /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -128,41 +101,33 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return The maintenanceExclusionOptions. */ @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceExclusionOptions() { if (optionsCase_ == 3) { - return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; } return com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance(); } /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ @java.lang.Override - public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder - getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { if (optionsCase_ == 3) { - return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; } return com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance(); } @@ -170,14 +135,11 @@ public com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceEx public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -185,14 +147,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -200,8 +159,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time that the window first starts.
    * 
@@ -216,15 +173,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -232,15 +186,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -248,8 +199,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
@@ -263,7 +212,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -275,7 +223,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -295,15 +244,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEndTime());
     }
     if (optionsCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.container.v1beta1.MaintenanceExclusionOptions) options_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.container.v1beta1.MaintenanceExclusionOptions) options_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -313,7 +263,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.TimeWindow)) {
       return super.equals(obj);
@@ -322,17 +272,19 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getOptionsCase().equals(other.getOptionsCase())) return false;
     switch (optionsCase_) {
       case 3:
-        if (!getMaintenanceExclusionOptions().equals(other.getMaintenanceExclusionOptions()))
-          return false;
+        if (!getMaintenanceExclusionOptions()
+            .equals(other.getMaintenanceExclusionOptions())) return false;
         break;
       case 0:
       default:
@@ -369,136 +321,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.TimeWindow parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.TimeWindow parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.TimeWindow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseFrom(
       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.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.TimeWindow parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Represents an arbitrary window of time.
    * 
* * Protobuf type {@code google.container.v1beta1.TimeWindow} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.TimeWindow) com.google.container.v1beta1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TimeWindow.class, - com.google.container.v1beta1.TimeWindow.Builder.class); + com.google.container.v1beta1.TimeWindow.class, com.google.container.v1beta1.TimeWindow.Builder.class); } // Construct using com.google.container.v1beta1.TimeWindow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_descriptor; } @java.lang.Override @@ -544,8 +490,7 @@ public com.google.container.v1beta1.TimeWindow build() { @java.lang.Override public com.google.container.v1beta1.TimeWindow buildPartial() { - com.google.container.v1beta1.TimeWindow result = - new com.google.container.v1beta1.TimeWindow(this); + com.google.container.v1beta1.TimeWindow result = new com.google.container.v1beta1.TimeWindow(this); if (optionsCase_ == 3) { if (maintenanceExclusionOptionsBuilder_ == null) { result.options_ = options_; @@ -572,39 +517,38 @@ public com.google.container.v1beta1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.TimeWindow) { - return mergeFrom((com.google.container.v1beta1.TimeWindow) other); + return mergeFrom((com.google.container.v1beta1.TimeWindow)other); } else { super.mergeFrom(other); return this; @@ -620,15 +564,13 @@ public Builder mergeFrom(com.google.container.v1beta1.TimeWindow other) { mergeEndTime(other.getEndTime()); } switch (other.getOptionsCase()) { - case MAINTENANCE_EXCLUSION_OPTIONS: - { - mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); - break; - } - case OPTIONS_NOT_SET: - { - break; - } + case MAINTENANCE_EXCLUSION_OPTIONS: { + mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); + break; + } + case OPTIONS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -656,32 +598,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage( - getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), extensionRegistry); - optionsCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: { + input.readMessage( + getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), + extensionRegistry); + optionsCase_ = 3; + 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) { @@ -691,12 +634,12 @@ public Builder mergeFrom( } // finally return this; } - private int optionsCase_ = 0; private java.lang.Object options_; - - public OptionsCase getOptionsCase() { - return OptionsCase.forNumber(optionsCase_); + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); } public Builder clearOptions() { @@ -706,23 +649,16 @@ public Builder clearOptions() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceExclusionOptions, - com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, - com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> - maintenanceExclusionOptionsBuilder_; + com.google.container.v1beta1.MaintenanceExclusionOptions, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> maintenanceExclusionOptionsBuilder_; /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -730,22 +666,16 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return The maintenanceExclusionOptions. */ @java.lang.Override - public com.google.container.v1beta1.MaintenanceExclusionOptions - getMaintenanceExclusionOptions() { + public com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceExclusionOptions() { if (maintenanceExclusionOptionsBuilder_ == null) { if (optionsCase_ == 3) { return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; @@ -759,19 +689,14 @@ public boolean hasMaintenanceExclusionOptions() { } } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - public Builder setMaintenanceExclusionOptions( - com.google.container.v1beta1.MaintenanceExclusionOptions value) { + public Builder setMaintenanceExclusionOptions(com.google.container.v1beta1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,16 +710,12 @@ public Builder setMaintenanceExclusionOptions( return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ public Builder setMaintenanceExclusionOptions( com.google.container.v1beta1.MaintenanceExclusionOptions.Builder builderForValue) { @@ -808,28 +729,19 @@ public Builder setMaintenanceExclusionOptions( return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - public Builder mergeMaintenanceExclusionOptions( - com.google.container.v1beta1.MaintenanceExclusionOptions value) { + public Builder mergeMaintenanceExclusionOptions(com.google.container.v1beta1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { - if (optionsCase_ == 3 - && options_ - != com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) { - options_ = - com.google.container.v1beta1.MaintenanceExclusionOptions.newBuilder( - (com.google.container.v1beta1.MaintenanceExclusionOptions) options_) - .mergeFrom(value) - .buildPartial(); + if (optionsCase_ == 3 && + options_ != com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) { + options_ = com.google.container.v1beta1.MaintenanceExclusionOptions.newBuilder((com.google.container.v1beta1.MaintenanceExclusionOptions) options_) + .mergeFrom(value).buildPartial(); } else { options_ = value; } @@ -845,16 +757,12 @@ public Builder mergeMaintenanceExclusionOptions( return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ public Builder clearMaintenanceExclusionOptions() { if (maintenanceExclusionOptionsBuilder_ == null) { @@ -873,36 +781,26 @@ public Builder clearMaintenanceExclusionOptions() { return this; } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - public com.google.container.v1beta1.MaintenanceExclusionOptions.Builder - getMaintenanceExclusionOptionsBuilder() { + public com.google.container.v1beta1.MaintenanceExclusionOptions.Builder getMaintenanceExclusionOptionsBuilder() { return getMaintenanceExclusionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ @java.lang.Override - public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder - getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { if ((optionsCase_ == 3) && (maintenanceExclusionOptionsBuilder_ != null)) { return maintenanceExclusionOptionsBuilder_.getMessageOrBuilder(); } else { @@ -913,71 +811,52 @@ public Builder clearMaintenanceExclusionOptions() { } } /** - * - * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceExclusionOptions, - com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, - com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> + com.google.container.v1beta1.MaintenanceExclusionOptions, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> getMaintenanceExclusionOptionsFieldBuilder() { if (maintenanceExclusionOptionsBuilder_ == null) { if (!(optionsCase_ == 3)) { options_ = com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance(); } - maintenanceExclusionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceExclusionOptions, - com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, - com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder>( + maintenanceExclusionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenanceExclusionOptions, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder>( (com.google.container.v1beta1.MaintenanceExclusionOptions) options_, getParentForChildren(), isClean()); options_ = null; } optionsCase_ = 3; - onChanged(); - ; + onChanged();; return maintenanceExclusionOptionsBuilder_; } 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_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -988,8 +867,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1010,15 +887,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -1029,8 +905,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1041,7 +915,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1053,8 +927,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1073,8 +945,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1082,13 +952,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1099,12 +967,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time that the window first starts.
      * 
@@ -1112,17 +979,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -1130,35 +994,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1169,8 +1024,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1192,8 +1045,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1201,7 +1052,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1212,8 +1064,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1225,7 +1075,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1237,8 +1087,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1258,8 +1106,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1268,13 +1114,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1286,12 +1130,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1300,24 +1143,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1327,12 +1167,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.TimeWindow)
   private static final com.google.container.v1beta1.TimeWindow DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.TimeWindow();
   }
@@ -1341,27 +1181,27 @@ public static com.google.container.v1beta1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TimeWindow parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TimeWindow parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1376,4 +1216,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
similarity index 73%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
index 5c908f22e495..027625858ec7 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
@@ -1,97 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
 
 package com.google.container.v1beta1;
 
-public interface TimeWindowOrBuilder
-    extends
+public interface TimeWindowOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return Whether the maintenanceExclusionOptions field is set. */ boolean hasMaintenanceExclusionOptions(); /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; * @return The maintenanceExclusionOptions. */ com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceExclusionOptions(); /** - * - * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; - * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; */ - com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder - getMaintenanceExclusionOptionsOrBuilder(); + com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder(); /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time that the window first starts.
    * 
@@ -101,34 +65,26 @@ public interface TimeWindowOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time that the window ends. The end time should take place after the
    * start time.
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
similarity index 68%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
index fba03a119c1f..9efc9b914a88 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
@@ -1,83 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * Configuration for Cloud TPU.
  * 
* * Protobuf type {@code google.container.v1beta1.TpuConfig} */ -public final class TpuConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TpuConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.TpuConfig) TpuConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TpuConfig.newBuilder() to construct. private TpuConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TpuConfig() { ipv4CidrBlock_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TpuConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TpuConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TpuConfig.class, - com.google.container.v1beta1.TpuConfig.Builder.class); + com.google.container.v1beta1.TpuConfig.class, com.google.container.v1beta1.TpuConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether Cloud TPU integration is enabled or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -88,14 +66,11 @@ public boolean getEnabled() { public static final int USE_SERVICE_NETWORKING_FIELD_NUMBER = 2; private boolean useServiceNetworking_; /** - * - * *
    * Whether to use service networking for Cloud TPU or not.
    * 
* * bool use_service_networking = 2; - * * @return The useServiceNetworking. */ @java.lang.Override @@ -106,14 +81,11 @@ public boolean getUseServiceNetworking() { public static final int IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object ipv4CidrBlock_; /** - * - * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; - * * @return The ipv4CidrBlock. */ @java.lang.Override @@ -122,29 +94,29 @@ public java.lang.String getIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv4CidrBlock_ = s; return s; } } /** - * - * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; - * * @return The bytes for ipv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString getIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getIpv4CidrBlockBytes() { java.lang.Object ref = ipv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipv4CidrBlock_ = b; return b; } else { @@ -153,7 +125,6 @@ public com.google.protobuf.ByteString getIpv4CidrBlockBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -165,7 +136,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -185,10 +157,12 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } if (useServiceNetworking_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useServiceNetworking_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useServiceNetworking_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipv4CidrBlock_); @@ -201,16 +175,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.TpuConfig)) { return super.equals(obj); } com.google.container.v1beta1.TpuConfig other = (com.google.container.v1beta1.TpuConfig) obj; - if (getEnabled() != other.getEnabled()) return false; - if (getUseServiceNetworking() != other.getUseServiceNetworking()) return false; - if (!getIpv4CidrBlock().equals(other.getIpv4CidrBlock())) return false; + if (getEnabled() + != other.getEnabled()) return false; + if (getUseServiceNetworking() + != other.getUseServiceNetworking()) return false; + if (!getIpv4CidrBlock() + .equals(other.getIpv4CidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -223,9 +200,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (37 * hash) + USE_SERVICE_NETWORKING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseServiceNetworking()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseServiceNetworking()); hash = (37 * hash) + IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getIpv4CidrBlock().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -233,136 +212,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.TpuConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.TpuConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.TpuConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TpuConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.TpuConfig parseFrom( 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.TpuConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.TpuConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.TpuConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.TpuConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.TpuConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.TpuConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.TpuConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.TpuConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.TpuConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for Cloud TPU.
    * 
* * Protobuf type {@code google.container.v1beta1.TpuConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.TpuConfig) com.google.container.v1beta1.TpuConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TpuConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TpuConfig.class, - com.google.container.v1beta1.TpuConfig.Builder.class); + com.google.container.v1beta1.TpuConfig.class, com.google.container.v1beta1.TpuConfig.Builder.class); } // Construct using com.google.container.v1beta1.TpuConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_TpuConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_descriptor; } @java.lang.Override @@ -397,8 +370,7 @@ public com.google.container.v1beta1.TpuConfig build() { @java.lang.Override public com.google.container.v1beta1.TpuConfig buildPartial() { - com.google.container.v1beta1.TpuConfig result = - new com.google.container.v1beta1.TpuConfig(this); + com.google.container.v1beta1.TpuConfig result = new com.google.container.v1beta1.TpuConfig(this); result.enabled_ = enabled_; result.useServiceNetworking_ = useServiceNetworking_; result.ipv4CidrBlock_ = ipv4CidrBlock_; @@ -410,39 +382,38 @@ public com.google.container.v1beta1.TpuConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.TpuConfig) { - return mergeFrom((com.google.container.v1beta1.TpuConfig) other); + return mergeFrom((com.google.container.v1beta1.TpuConfig)other); } else { super.mergeFrom(other); return this; @@ -487,31 +458,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - case 16: - { - useServiceNetworking_ = input.readBool(); - - break; - } // case 16 - case 26: - { - ipv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + case 16: { + useServiceNetworking_ = input.readBool(); + + break; + } // case 16 + case 26: { + ipv4CidrBlock_ = input.readStringRequireUtf8(); + + 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) { @@ -522,16 +489,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether Cloud TPU integration is enabled or not.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -539,51 +503,42 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether Cloud TPU integration is enabled or not.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether Cloud TPU integration is enabled or not.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private boolean useServiceNetworking_; + private boolean useServiceNetworking_ ; /** - * - * *
      * Whether to use service networking for Cloud TPU or not.
      * 
* * bool use_service_networking = 2; - * * @return The useServiceNetworking. */ @java.lang.Override @@ -591,36 +546,30 @@ public boolean getUseServiceNetworking() { return useServiceNetworking_; } /** - * - * *
      * Whether to use service networking for Cloud TPU or not.
      * 
* * bool use_service_networking = 2; - * * @param value The useServiceNetworking to set. * @return This builder for chaining. */ public Builder setUseServiceNetworking(boolean value) { - + useServiceNetworking_ = value; onChanged(); return this; } /** - * - * *
      * Whether to use service networking for Cloud TPU or not.
      * 
* * bool use_service_networking = 2; - * * @return This builder for chaining. */ public Builder clearUseServiceNetworking() { - + useServiceNetworking_ = false; onChanged(); return this; @@ -628,20 +577,18 @@ public Builder clearUseServiceNetworking() { private java.lang.Object ipv4CidrBlock_ = ""; /** - * - * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; - * * @return The ipv4CidrBlock. */ public java.lang.String getIpv4CidrBlock() { java.lang.Object ref = ipv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv4CidrBlock_ = s; return s; @@ -650,21 +597,20 @@ public java.lang.String getIpv4CidrBlock() { } } /** - * - * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; - * * @return The bytes for ipv4CidrBlock. */ - public com.google.protobuf.ByteString getIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString + getIpv4CidrBlockBytes() { java.lang.Object ref = ipv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipv4CidrBlock_ = b; return b; } else { @@ -672,68 +618,61 @@ public com.google.protobuf.ByteString getIpv4CidrBlockBytes() { } } /** - * - * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; - * * @param value The ipv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setIpv4CidrBlock(java.lang.String value) { + public Builder setIpv4CidrBlock( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipv4CidrBlock_ = value; onChanged(); return this; } /** - * - * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; - * * @return This builder for chaining. */ public Builder clearIpv4CidrBlock() { - + ipv4CidrBlock_ = getDefaultInstance().getIpv4CidrBlock(); onChanged(); return this; } /** - * - * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; - * * @param value The bytes for ipv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { + public Builder setIpv4CidrBlockBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipv4CidrBlock_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -743,12 +682,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.TpuConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.TpuConfig) private static final com.google.container.v1beta1.TpuConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.TpuConfig(); } @@ -757,27 +696,27 @@ public static com.google.container.v1beta1.TpuConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TpuConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TpuConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -792,4 +731,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.TpuConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java similarity index 59% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java index 3ad14a486a12..133b341921a8 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java @@ -1,76 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface TpuConfigOrBuilder - extends +public interface TpuConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.TpuConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Whether Cloud TPU integration is enabled or not.
    * 
* * bool enabled = 1; - * * @return The enabled. */ boolean getEnabled(); /** - * - * *
    * Whether to use service networking for Cloud TPU or not.
    * 
* * bool use_service_networking = 2; - * * @return The useServiceNetworking. */ boolean getUseServiceNetworking(); /** - * - * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; - * * @return The ipv4CidrBlock. */ java.lang.String getIpv4CidrBlock(); /** - * - * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; - * * @return The bytes for ipv4CidrBlock. */ - com.google.protobuf.ByteString getIpv4CidrBlockBytes(); + com.google.protobuf.ByteString + getIpv4CidrBlockBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java index 77ecd909f6dc..3b6164ed52eb 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * UpdateClusterRequest updates the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpdateClusterRequest) UpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -46,84 +28,76 @@ private UpdateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateClusterRequest.class, - com.google.container.v1beta1.UpdateClusterRequest.Builder.class); + com.google.container.v1beta1.UpdateClusterRequest.class, com.google.container.v1beta1.UpdateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -134,8 +108,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,27 +116,24 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -173,18 +142,18 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -195,55 +164,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -254,16 +216,11 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int UPDATE_FIELD_NUMBER = 4; private com.google.container.v1beta1.ClusterUpdate update_; /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ @java.lang.Override @@ -271,34 +228,23 @@ public boolean hasUpdate() { return update_ != null; } /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ @java.lang.Override public com.google.container.v1beta1.ClusterUpdate getUpdate() { - return update_ == null - ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() - : update_; + return update_ == null ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() : update_; } /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() { @@ -308,15 +254,12 @@ public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ @java.lang.Override @@ -325,30 +268,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -357,7 +300,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -369,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -404,7 +347,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -417,22 +361,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpdateClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.UpdateClusterRequest other = - (com.google.container.v1beta1.UpdateClusterRequest) obj; + com.google.container.v1beta1.UpdateClusterRequest other = (com.google.container.v1beta1.UpdateClusterRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; } - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -462,135 +410,129 @@ public int hashCode() { } public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( 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.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpdateClusterRequest updates the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.UpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpdateClusterRequest) com.google.container.v1beta1.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateClusterRequest.class, - com.google.container.v1beta1.UpdateClusterRequest.Builder.class); + com.google.container.v1beta1.UpdateClusterRequest.class, com.google.container.v1beta1.UpdateClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.UpdateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -612,9 +554,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -633,8 +575,7 @@ public com.google.container.v1beta1.UpdateClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.UpdateClusterRequest buildPartial() { - com.google.container.v1beta1.UpdateClusterRequest result = - new com.google.container.v1beta1.UpdateClusterRequest(this); + com.google.container.v1beta1.UpdateClusterRequest result = new com.google.container.v1beta1.UpdateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -652,39 +593,38 @@ public com.google.container.v1beta1.UpdateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UpdateClusterRequest) { - return mergeFrom((com.google.container.v1beta1.UpdateClusterRequest) other); + return mergeFrom((com.google.container.v1beta1.UpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -692,8 +632,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UpdateClusterRequest other) { - if (other == com.google.container.v1beta1.UpdateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.UpdateClusterRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -739,43 +678,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 26 + case 34: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 34 - case 42: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -788,26 +723,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -816,27 +747,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -844,79 +772,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -924,8 +839,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -934,16 +847,15 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -952,8 +864,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -962,17 +872,17 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -980,8 +890,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -990,25 +898,22 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1017,21 +922,17 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1040,19 +941,18 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1060,25 +960,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1087,26 +983,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1114,76 +1007,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1191,58 +1071,39 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.ClusterUpdate update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterUpdate, - com.google.container.v1beta1.ClusterUpdate.Builder, - com.google.container.v1beta1.ClusterUpdateOrBuilder> - updateBuilder_; + com.google.container.v1beta1.ClusterUpdate, com.google.container.v1beta1.ClusterUpdate.Builder, com.google.container.v1beta1.ClusterUpdateOrBuilder> updateBuilder_; /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ public com.google.container.v1beta1.ClusterUpdate getUpdate() { if (updateBuilder_ == null) { - return update_ == null - ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() - : update_; + return update_ == null ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() : update_; } else { return updateBuilder_.getMessage(); } } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdate(com.google.container.v1beta1.ClusterUpdate value) { if (updateBuilder_ == null) { @@ -1258,17 +1119,14 @@ public Builder setUpdate(com.google.container.v1beta1.ClusterUpdate value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdate(com.google.container.v1beta1.ClusterUpdate.Builder builderForValue) { + public Builder setUpdate( + com.google.container.v1beta1.ClusterUpdate.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1279,23 +1137,17 @@ public Builder setUpdate(com.google.container.v1beta1.ClusterUpdate.Builder buil return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdate(com.google.container.v1beta1.ClusterUpdate value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1beta1.ClusterUpdate.newBuilder(update_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.ClusterUpdate.newBuilder(update_).mergeFrom(value).buildPartial(); } else { update_ = value; } @@ -1307,15 +1159,11 @@ public Builder mergeUpdate(com.google.container.v1beta1.ClusterUpdate value) { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1329,64 +1177,48 @@ public Builder clearUpdate() { return this; } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.ClusterUpdate.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null - ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() - : update_; + return update_ == null ? + com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() : update_; } } /** - * - * *
      * Required. A description of the update.
      * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterUpdate, - com.google.container.v1beta1.ClusterUpdate.Builder, - com.google.container.v1beta1.ClusterUpdateOrBuilder> + com.google.container.v1beta1.ClusterUpdate, com.google.container.v1beta1.ClusterUpdate.Builder, com.google.container.v1beta1.ClusterUpdateOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterUpdate, - com.google.container.v1beta1.ClusterUpdate.Builder, - com.google.container.v1beta1.ClusterUpdateOrBuilder>( - getUpdate(), getParentForChildren(), isClean()); + updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterUpdate, com.google.container.v1beta1.ClusterUpdate.Builder, com.google.container.v1beta1.ClusterUpdateOrBuilder>( + getUpdate(), + getParentForChildren(), + isClean()); update_ = null; } return updateBuilder_; @@ -1394,21 +1226,19 @@ public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1417,22 +1247,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1440,71 +1269,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1514,12 +1336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateClusterRequest) private static final com.google.container.v1beta1.UpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpdateClusterRequest(); } @@ -1528,27 +1350,27 @@ public static com.google.container.v1beta1.UpdateClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1563,4 +1385,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java similarity index 61% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java index 3f00e6a0757b..5baa191beb33 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface UpdateClusterRequestOrBuilder - extends +public interface UpdateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2420 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,114 +58,85 @@ 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=2429 + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2431 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2436 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2438 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The update. */ com.google.container.v1beta1.ClusterUpdate getUpdate(); /** - * - * *
    * Required. A description of the update.
    * 
* - * - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java index 2523cb27e1a9..570ea7de031d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * UpdateMasterRequest updates the master of the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.UpdateMasterRequest} */ -public final class UpdateMasterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateMasterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpdateMasterRequest) UpdateMasterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateMasterRequest.newBuilder() to construct. private UpdateMasterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateMasterRequest() { projectId_ = ""; zone_ = ""; @@ -47,84 +29,76 @@ private UpdateMasterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateMasterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateMasterRequest.class, - com.google.container.v1beta1.UpdateMasterRequest.Builder.class); + com.google.container.v1beta1.UpdateMasterRequest.class, com.google.container.v1beta1.UpdateMasterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -135,8 +109,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,27 +117,24 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -174,18 +143,18 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -196,55 +165,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -255,8 +217,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int MASTER_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object masterVersion_; /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -269,7 +229,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The masterVersion. */ @java.lang.Override @@ -278,15 +237,14 @@ public java.lang.String getMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -299,15 +257,16 @@ public java.lang.String getMasterVersion() {
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for masterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getMasterVersionBytes() { + public com.google.protobuf.ByteString + getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -318,15 +277,12 @@ public com.google.protobuf.ByteString getMasterVersionBytes() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ @java.lang.Override @@ -335,30 +291,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -367,7 +323,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -427,19 +383,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpdateMasterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.UpdateMasterRequest other = - (com.google.container.v1beta1.UpdateMasterRequest) obj; - - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getZone().equals(other.getZone())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; - if (!getMasterVersion().equals(other.getMasterVersion())) return false; - if (!getName().equals(other.getName())) return false; + com.google.container.v1beta1.UpdateMasterRequest other = (com.google.container.v1beta1.UpdateMasterRequest) obj; + + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getZone() + .equals(other.getZone())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (!getMasterVersion() + .equals(other.getMasterVersion())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -466,136 +426,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateMasterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( 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.UpdateMasterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.UpdateMasterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.UpdateMasterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpdateMasterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.UpdateMasterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpdateMasterRequest updates the master of the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.UpdateMasterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpdateMasterRequest) com.google.container.v1beta1.UpdateMasterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateMasterRequest.class, - com.google.container.v1beta1.UpdateMasterRequest.Builder.class); + com.google.container.v1beta1.UpdateMasterRequest.class, com.google.container.v1beta1.UpdateMasterRequest.Builder.class); } // Construct using com.google.container.v1beta1.UpdateMasterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -613,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; } @java.lang.Override @@ -634,8 +588,7 @@ public com.google.container.v1beta1.UpdateMasterRequest build() { @java.lang.Override public com.google.container.v1beta1.UpdateMasterRequest buildPartial() { - com.google.container.v1beta1.UpdateMasterRequest result = - new com.google.container.v1beta1.UpdateMasterRequest(this); + com.google.container.v1beta1.UpdateMasterRequest result = new com.google.container.v1beta1.UpdateMasterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -649,39 +602,38 @@ public com.google.container.v1beta1.UpdateMasterRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UpdateMasterRequest) { - return mergeFrom((com.google.container.v1beta1.UpdateMasterRequest) other); + return mergeFrom((com.google.container.v1beta1.UpdateMasterRequest)other); } else { super.mergeFrom(other); return this; @@ -689,8 +641,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UpdateMasterRequest other) { - if (other == com.google.container.v1beta1.UpdateMasterRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.UpdateMasterRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -737,43 +688,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); + case 10: { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: - { - masterVersion_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + masterVersion_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 58: - { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 58: { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -786,26 +731,22 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -814,27 +755,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -842,79 +780,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -922,8 +847,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -932,16 +855,15 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -950,8 +872,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -960,17 +880,17 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -978,8 +898,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -988,25 +906,22 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1015,21 +930,17 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1038,19 +949,18 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1058,25 +968,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1085,26 +991,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1112,76 +1015,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1189,8 +1079,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object masterVersion_ = ""; /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1203,13 +1091,13 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The masterVersion. */ public java.lang.String getMasterVersion() { java.lang.Object ref = masterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; @@ -1218,8 +1106,6 @@ public java.lang.String getMasterVersion() { } } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1232,14 +1118,15 @@ public java.lang.String getMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for masterVersion. */ - public com.google.protobuf.ByteString getMasterVersionBytes() { + public com.google.protobuf.ByteString + getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -1247,8 +1134,6 @@ public com.google.protobuf.ByteString getMasterVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1261,22 +1146,20 @@ public com.google.protobuf.ByteString getMasterVersionBytes() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersion(java.lang.String value) { + public Builder setMasterVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterVersion_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1289,18 +1172,15 @@ public Builder setMasterVersion(java.lang.String value) {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMasterVersion() { - + masterVersion_ = getDefaultInstance().getMasterVersion(); onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1313,16 +1193,16 @@ public Builder clearMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersionBytes(com.google.protobuf.ByteString value) { + public Builder setMasterVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterVersion_ = value; onChanged(); return this; @@ -1330,21 +1210,19 @@ public Builder setMasterVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1353,22 +1231,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1376,71 +1253,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1450,12 +1320,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpdateMasterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateMasterRequest) private static final com.google.container.v1beta1.UpdateMasterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpdateMasterRequest(); } @@ -1464,27 +1334,27 @@ public static com.google.container.v1beta1.UpdateMasterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMasterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMasterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1499,4 +1369,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpdateMasterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java index a02fd785f581..9cfad40645a9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java @@ -1,68 +1,41 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface UpdateMasterRequestOrBuilder - extends +public interface UpdateMasterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpdateMasterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2768 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2773 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,52 +58,40 @@ 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=2777 + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2782 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2784 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -147,13 +104,10 @@ public interface UpdateMasterRequestOrBuilder
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The masterVersion. */ java.lang.String getMasterVersion(); /** - * - * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -166,35 +120,30 @@ public interface UpdateMasterRequestOrBuilder
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for masterVersion. */ - com.google.protobuf.ByteString getMasterVersionBytes(); + com.google.protobuf.ByteString + getMasterVersionBytes(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java similarity index 74% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java index b3a0b4a1558b..c97cb5197322 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * SetNodePoolVersionRequest updates the version of a node pool.
  * 
* * Protobuf type {@code google.container.v1beta1.UpdateNodePoolRequest} */ -public final class UpdateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateNodePoolRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpdateNodePoolRequest) UpdateNodePoolRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateNodePoolRequest.newBuilder() to construct. private UpdateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -50,84 +32,76 @@ private UpdateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateNodePoolRequest.class, - com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1beta1.UpdateNodePoolRequest.class, com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -138,8 +112,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -148,27 +120,24 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -177,18 +146,18 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -199,55 +168,48 @@ public com.google.protobuf.ByteString getZoneBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -258,55 +220,48 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -317,8 +272,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { public static final int NODE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object nodeVersion_; /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -332,7 +285,6 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() {
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeVersion. */ @java.lang.Override @@ -341,15 +293,14 @@ public java.lang.String getNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; } } /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -363,15 +314,16 @@ public java.lang.String getNodeVersion() {
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for nodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -382,14 +334,11 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { public static final int IMAGE_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object imageType_; /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageType. */ @java.lang.Override @@ -398,29 +347,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -431,8 +380,6 @@ public com.google.protobuf.ByteString getImageTypeBytes() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -442,15 +389,13 @@ public com.google.protobuf.ByteString getImageTypeBytes() {
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_; } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -460,15 +405,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -478,7 +420,6 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -486,8 +427,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -497,25 +436,22 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -523,25 +459,18 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
@@ -549,16 +478,13 @@ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataCo * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int NAME_FIELD_NUMBER = 8; private volatile java.lang.Object name_; /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -566,7 +492,6 @@ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataCo
    * 
* * string name = 8; - * * @return The name. */ @java.lang.Override @@ -575,15 +500,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -591,15 +515,16 @@ public java.lang.String getName() {
    * 
* * string name = 8; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -610,14 +535,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 15; private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -625,25 +547,18 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -651,16 +566,13 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings( * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder - getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { return getUpgradeSettings(); } public static final int TAGS_FIELD_NUMBER = 16; private com.google.container.v1beta1.NetworkTags tags_; /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -668,7 +580,6 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings(
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; - * * @return Whether the tags field is set. */ @java.lang.Override @@ -676,8 +587,6 @@ public boolean hasTags() { return tags_ != null; } /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -685,7 +594,6 @@ public boolean hasTags() {
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; - * * @return The tags. */ @java.lang.Override @@ -693,8 +601,6 @@ public com.google.container.v1beta1.NetworkTags getTags() { return tags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : tags_; } /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -711,8 +617,6 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
   public static final int TAINTS_FIELD_NUMBER = 17;
   private com.google.container.v1beta1.NodeTaints taints_;
   /**
-   *
-   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -720,7 +624,6 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; - * * @return Whether the taints field is set. */ @java.lang.Override @@ -728,8 +631,6 @@ public boolean hasTaints() { return taints_ != null; } /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -737,7 +638,6 @@ public boolean hasTaints() {
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; - * * @return The taints. */ @java.lang.Override @@ -745,8 +645,6 @@ public com.google.container.v1beta1.NodeTaints getTaints() { return taints_ == null ? com.google.container.v1beta1.NodeTaints.getDefaultInstance() : taints_; } /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -763,8 +661,6 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
   public static final int LABELS_FIELD_NUMBER = 18;
   private com.google.container.v1beta1.NodeLabels labels_;
   /**
-   *
-   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -772,7 +668,6 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; - * * @return Whether the labels field is set. */ @java.lang.Override @@ -780,8 +675,6 @@ public boolean hasLabels() { return labels_ != null; } /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -789,7 +682,6 @@ public boolean hasLabels() {
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; - * * @return The labels. */ @java.lang.Override @@ -797,8 +689,6 @@ public com.google.container.v1beta1.NodeLabels getLabels() { return labels_ == null ? com.google.container.v1beta1.NodeLabels.getDefaultInstance() : labels_; } /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -815,14 +705,11 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
   public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 19;
   private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_;
   /**
-   *
-   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; - * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -830,25 +717,18 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; - * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -863,14 +743,11 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO public static final int KUBELET_CONFIG_FIELD_NUMBER = 20; private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; - * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -878,25 +755,18 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; - * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null - ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } /** - * - * *
    * Node kubelet configs.
    * 
@@ -911,14 +781,11 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO public static final int NODE_NETWORK_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1beta1.NodeNetworkConfig nodeNetworkConfig_; /** - * - * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; - * * @return Whether the nodeNetworkConfig field is set. */ @java.lang.Override @@ -926,25 +793,18 @@ public boolean hasNodeNetworkConfig() { return nodeNetworkConfig_ != null; } /** - * - * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; - * * @return The nodeNetworkConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig() { - return nodeNetworkConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() - : nodeNetworkConfig_; + return nodeNetworkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; } /** - * - * *
    * Node network config.
    * 
@@ -959,14 +819,11 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon public static final int GCFS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1beta1.GcfsConfig gcfsConfig_; /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; - * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -974,25 +831,18 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; - * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } /** - * - * *
    * GCFS config.
    * 
@@ -1007,15 +857,12 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 23; private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; - * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -1023,26 +870,19 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; - * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null - ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1058,14 +898,11 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
   public static final int GVNIC_FIELD_NUMBER = 29;
   private com.google.container.v1beta1.VirtualNIC gvnic_;
   /**
-   *
-   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -1073,14 +910,11 @@ public boolean hasGvnic() { return gvnic_ != null; } /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ @java.lang.Override @@ -1088,8 +922,6 @@ public com.google.container.v1beta1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -1101,17 +933,52 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { return getGvnic(); } - public static final int LOGGING_CONFIG_FIELD_NUMBER = 32; - private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; + public static final int FAST_SOCKET_FIELD_NUMBER = 31; + private com.google.container.v1beta1.FastSocket fastSocket_; /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + * @return Whether the fastSocket field is set. + */ + @java.lang.Override + public boolean hasFastSocket() { + return fastSocket_ != null; + } + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
* + * .google.container.v1beta1.FastSocket fast_socket = 31; + * @return The fastSocket. + */ + @java.lang.Override + public com.google.container.v1beta1.FastSocket getFastSocket() { + return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + } + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
* + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + @java.lang.Override + public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() { + return getFastSocket(); + } + + public static final int LOGGING_CONFIG_FIELD_NUMBER = 32; + private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; + /** *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; - * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1119,25 +986,18 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; - * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } /** - * - * *
    * Logging configuration.
    * 
@@ -1152,15 +1012,12 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon public static final int RESOURCE_LABELS_FIELD_NUMBER = 33; private com.google.container.v1beta1.ResourceLabels resourceLabels_; /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; - * * @return Whether the resourceLabels field is set. */ @java.lang.Override @@ -1168,26 +1025,19 @@ public boolean hasResourceLabels() { return resourceLabels_ != null; } /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; - * * @return The resourceLabels. */ @java.lang.Override public com.google.container.v1beta1.ResourceLabels getResourceLabels() { - return resourceLabels_ == null - ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() - : resourceLabels_; + return resourceLabels_ == null ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() : resourceLabels_; } /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1201,7 +1051,6 @@ public com.google.container.v1beta1.ResourceLabelsOrBuilder getResourceLabelsOrB
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1213,7 +1062,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
@@ -1271,6 +1121,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (gvnic_ != null) {
       output.writeMessage(29, getGvnic());
     }
+    if (fastSocket_ != null) {
+      output.writeMessage(31, getFastSocket());
+    }
     if (loggingConfig_ != null) {
       output.writeMessage(32, getLoggingConfig());
     }
@@ -1316,44 +1169,60 @@ public int getSerializedSize() {
       size += 1 * getLocationsList().size();
     }
     if (workloadMetadataConfig_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(14, getWorkloadMetadataConfig());
     }
     if (upgradeSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getUpgradeSettings());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(15, getUpgradeSettings());
     }
     if (tags_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getTags());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(16, getTags());
     }
     if (taints_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getTaints());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(17, getTaints());
     }
     if (labels_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLabels());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(18, getLabels());
     }
     if (linuxNodeConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLinuxNodeConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(19, getLinuxNodeConfig());
     }
     if (kubeletConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getKubeletConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(20, getKubeletConfig());
     }
     if (nodeNetworkConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getNodeNetworkConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(21, getNodeNetworkConfig());
     }
     if (gcfsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getGcfsConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(22, getGcfsConfig());
     }
     if (confidentialNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getConfidentialNodes());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(23, getConfidentialNodes());
     }
     if (gvnic_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(29, getGvnic());
+    }
+    if (fastSocket_ != null) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(31, getFastSocket());
     }
     if (loggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, getLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(32, getLoggingConfig());
     }
     if (resourceLabels_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(33, getResourceLabels());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(33, getResourceLabels());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1363,73 +1232,98 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.UpdateNodePoolRequest)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.UpdateNodePoolRequest other =
-        (com.google.container.v1beta1.UpdateNodePoolRequest) obj;
-
-    if (!getProjectId().equals(other.getProjectId())) return false;
-    if (!getZone().equals(other.getZone())) return false;
-    if (!getClusterId().equals(other.getClusterId())) return false;
-    if (!getNodePoolId().equals(other.getNodePoolId())) return false;
-    if (!getNodeVersion().equals(other.getNodeVersion())) return false;
-    if (!getImageType().equals(other.getImageType())) return false;
-    if (!getLocationsList().equals(other.getLocationsList())) return false;
+    com.google.container.v1beta1.UpdateNodePoolRequest other = (com.google.container.v1beta1.UpdateNodePoolRequest) obj;
+
+    if (!getProjectId()
+        .equals(other.getProjectId())) return false;
+    if (!getZone()
+        .equals(other.getZone())) return false;
+    if (!getClusterId()
+        .equals(other.getClusterId())) return false;
+    if (!getNodePoolId()
+        .equals(other.getNodePoolId())) return false;
+    if (!getNodeVersion()
+        .equals(other.getNodeVersion())) return false;
+    if (!getImageType()
+        .equals(other.getImageType())) return false;
+    if (!getLocationsList()
+        .equals(other.getLocationsList())) return false;
     if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false;
     if (hasWorkloadMetadataConfig()) {
-      if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false;
+      if (!getWorkloadMetadataConfig()
+          .equals(other.getWorkloadMetadataConfig())) return false;
     }
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false;
     if (hasUpgradeSettings()) {
-      if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false;
+      if (!getUpgradeSettings()
+          .equals(other.getUpgradeSettings())) return false;
     }
     if (hasTags() != other.hasTags()) return false;
     if (hasTags()) {
-      if (!getTags().equals(other.getTags())) return false;
+      if (!getTags()
+          .equals(other.getTags())) return false;
     }
     if (hasTaints() != other.hasTaints()) return false;
     if (hasTaints()) {
-      if (!getTaints().equals(other.getTaints())) return false;
+      if (!getTaints()
+          .equals(other.getTaints())) return false;
     }
     if (hasLabels() != other.hasLabels()) return false;
     if (hasLabels()) {
-      if (!getLabels().equals(other.getLabels())) return false;
+      if (!getLabels()
+          .equals(other.getLabels())) return false;
     }
     if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false;
     if (hasLinuxNodeConfig()) {
-      if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false;
+      if (!getLinuxNodeConfig()
+          .equals(other.getLinuxNodeConfig())) return false;
     }
     if (hasKubeletConfig() != other.hasKubeletConfig()) return false;
     if (hasKubeletConfig()) {
-      if (!getKubeletConfig().equals(other.getKubeletConfig())) return false;
+      if (!getKubeletConfig()
+          .equals(other.getKubeletConfig())) return false;
     }
     if (hasNodeNetworkConfig() != other.hasNodeNetworkConfig()) return false;
     if (hasNodeNetworkConfig()) {
-      if (!getNodeNetworkConfig().equals(other.getNodeNetworkConfig())) return false;
+      if (!getNodeNetworkConfig()
+          .equals(other.getNodeNetworkConfig())) return false;
     }
     if (hasGcfsConfig() != other.hasGcfsConfig()) return false;
     if (hasGcfsConfig()) {
-      if (!getGcfsConfig().equals(other.getGcfsConfig())) return false;
+      if (!getGcfsConfig()
+          .equals(other.getGcfsConfig())) return false;
     }
     if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false;
     if (hasConfidentialNodes()) {
-      if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false;
+      if (!getConfidentialNodes()
+          .equals(other.getConfidentialNodes())) return false;
     }
     if (hasGvnic() != other.hasGvnic()) return false;
     if (hasGvnic()) {
-      if (!getGvnic().equals(other.getGvnic())) return false;
+      if (!getGvnic()
+          .equals(other.getGvnic())) return false;
+    }
+    if (hasFastSocket() != other.hasFastSocket()) return false;
+    if (hasFastSocket()) {
+      if (!getFastSocket()
+          .equals(other.getFastSocket())) return false;
     }
     if (hasLoggingConfig() != other.hasLoggingConfig()) return false;
     if (hasLoggingConfig()) {
-      if (!getLoggingConfig().equals(other.getLoggingConfig())) return false;
+      if (!getLoggingConfig()
+          .equals(other.getLoggingConfig())) return false;
     }
     if (hasResourceLabels() != other.hasResourceLabels()) return false;
     if (hasResourceLabels()) {
-      if (!getResourceLabels().equals(other.getResourceLabels())) return false;
+      if (!getResourceLabels()
+          .equals(other.getResourceLabels())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1504,6 +1398,10 @@ public int hashCode() {
       hash = (37 * hash) + GVNIC_FIELD_NUMBER;
       hash = (53 * hash) + getGvnic().hashCode();
     }
+    if (hasFastSocket()) {
+      hash = (37 * hash) + FAST_SOCKET_FIELD_NUMBER;
+      hash = (53 * hash) + getFastSocket().hashCode();
+    }
     if (hasLoggingConfig()) {
       hash = (37 * hash) + LOGGING_CONFIG_FIELD_NUMBER;
       hash = (53 * hash) + getLoggingConfig().hashCode();
@@ -1518,135 +1416,129 @@ public int hashCode() {
   }
 
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
       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.UpdateNodePoolRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.UpdateNodePoolRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.UpdateNodePoolRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.UpdateNodePoolRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * SetNodePoolVersionRequest updates the version of a node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.UpdateNodePoolRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpdateNodePoolRequest) com.google.container.v1beta1.UpdateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateNodePoolRequest.class, - com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1beta1.UpdateNodePoolRequest.class, com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.UpdateNodePoolRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1732,6 +1624,12 @@ public Builder clear() { gvnic_ = null; gvnicBuilder_ = null; } + if (fastSocketBuilder_ == null) { + fastSocket_ = null; + } else { + fastSocket_ = null; + fastSocketBuilder_ = null; + } if (loggingConfigBuilder_ == null) { loggingConfig_ = null; } else { @@ -1748,9 +1646,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; } @java.lang.Override @@ -1769,8 +1667,7 @@ public com.google.container.v1beta1.UpdateNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.UpdateNodePoolRequest buildPartial() { - com.google.container.v1beta1.UpdateNodePoolRequest result = - new com.google.container.v1beta1.UpdateNodePoolRequest(this); + com.google.container.v1beta1.UpdateNodePoolRequest result = new com.google.container.v1beta1.UpdateNodePoolRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -1839,6 +1736,11 @@ public com.google.container.v1beta1.UpdateNodePoolRequest buildPartial() { } else { result.gvnic_ = gvnicBuilder_.build(); } + if (fastSocketBuilder_ == null) { + result.fastSocket_ = fastSocket_; + } else { + result.fastSocket_ = fastSocketBuilder_.build(); + } if (loggingConfigBuilder_ == null) { result.loggingConfig_ = loggingConfig_; } else { @@ -1857,39 +1759,38 @@ public com.google.container.v1beta1.UpdateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UpdateNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.UpdateNodePoolRequest) other); + return mergeFrom((com.google.container.v1beta1.UpdateNodePoolRequest)other); } else { super.mergeFrom(other); return this; @@ -1897,8 +1798,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UpdateNodePoolRequest other) { - if (other == com.google.container.v1beta1.UpdateNodePoolRequest.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.UpdateNodePoolRequest.getDefaultInstance()) return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -1970,6 +1870,9 @@ public Builder mergeFrom(com.google.container.v1beta1.UpdateNodePoolRequest othe if (other.hasGvnic()) { mergeGvnic(other.getGvnic()); } + if (other.hasFastSocket()) { + mergeFastSocket(other.getFastSocket()); + } if (other.hasLoggingConfig()) { mergeLoggingConfig(other.getLoggingConfig()); } @@ -2002,177 +1905,180 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: - { - nodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: - { - imageType_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 66: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 106: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 114: - { - input.readMessage( - getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 114 - case 122: - { - input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 122 - case 130: - { - input.readMessage(getTagsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 130 - case 138: - { - input.readMessage(getTaintsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 138 - case 146: - { - input.readMessage(getLabelsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 146 - case 154: - { - input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 154 - case 162: - { - input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 162 - case 170: - { - input.readMessage( - getNodeNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 170 - case 178: - { - input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 178 - case 186: - { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 186 - case 234: - { - input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 234 - case 258: - { - input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 258 - case 266: - { - input.readMessage(getResourceLabelsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 266 - default: - { - 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; - } + case 10: { + projectId_ = input.readStringRequireUtf8(); - private int bitField0_; + break; + } // case 10 + case 18: { + zone_ = input.readStringRequireUtf8(); - private java.lang.Object projectId_ = ""; - /** - * - * - *
-     * Required. Deprecated. The Google Developers Console [project ID or project
-     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
+              break;
+            } // case 18
+            case 26: {
+              clusterId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 34: {
+              nodePoolId_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              nodeVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              imageType_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 66: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 66
+            case 106: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureLocationsIsMutable();
+              locations_.add(s);
+              break;
+            } // case 106
+            case 114: {
+              input.readMessage(
+                  getWorkloadMetadataConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 114
+            case 122: {
+              input.readMessage(
+                  getUpgradeSettingsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 122
+            case 130: {
+              input.readMessage(
+                  getTagsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 130
+            case 138: {
+              input.readMessage(
+                  getTaintsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getLabelsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 146
+            case 154: {
+              input.readMessage(
+                  getLinuxNodeConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 154
+            case 162: {
+              input.readMessage(
+                  getKubeletConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 162
+            case 170: {
+              input.readMessage(
+                  getNodeNetworkConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 170
+            case 178: {
+              input.readMessage(
+                  getGcfsConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 178
+            case 186: {
+              input.readMessage(
+                  getConfidentialNodesFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 186
+            case 234: {
+              input.readMessage(
+                  getGvnicFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 234
+            case 250: {
+              input.readMessage(
+                  getFastSocketFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 250
+            case 258: {
+              input.readMessage(
+                  getLoggingConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 258
+            case 266: {
+              input.readMessage(
+                  getResourceLabelsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 266
+            default: {
+              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 projectId_ = "";
+    /**
+     * 
+     * Required. Deprecated. The Google Developers Console [project ID or project
+     * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ - @java.lang.Deprecated - public java.lang.String getProjectId() { + @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2181,27 +2087,24 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getProjectIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -2209,79 +2112,66 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectId(java.lang.String value) { + @java.lang.Deprecated public Builder setProjectId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearProjectId() { - + @java.lang.Deprecated public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -2289,8 +2179,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object zone_ = ""; /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2299,16 +2187,15 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @return The zone. */ - @java.lang.Deprecated - public java.lang.String getZone() { + @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2317,8 +2204,6 @@ public java.lang.String getZone() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2327,17 +2212,17 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @return The bytes for zone. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getZoneBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zone_ = b; return b; } else { @@ -2345,8 +2230,6 @@ public com.google.protobuf.ByteString getZoneBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2355,25 +2238,22 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZone(java.lang.String value) { + @java.lang.Deprecated public Builder setZone( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2382,21 +2262,17 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearZone() { - + @java.lang.Deprecated public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2405,19 +2281,18 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setZoneBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setZoneBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2425,25 +2300,21 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @return The clusterId. */ - @java.lang.Deprecated - public java.lang.String getClusterId() { + @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -2452,26 +2323,23 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for clusterId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getClusterIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -2479,76 +2347,63 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterId(java.lang.String value) { + @java.lang.Deprecated public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearClusterId() { - + @java.lang.Deprecated public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -2556,25 +2411,21 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodePoolId_ = ""; /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @return The nodePoolId. */ - @java.lang.Deprecated - public java.lang.String getNodePoolId() { + @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -2583,26 +2434,23 @@ public java.lang.String getNodePoolId() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getNodePoolIdBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -2610,76 +2458,63 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { } } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolId(java.lang.String value) { + @java.lang.Deprecated public Builder setNodePoolId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodePoolId() { - + @java.lang.Deprecated public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** - * - * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setNodePoolIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -2687,8 +2522,6 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object nodeVersion_ = ""; /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2702,13 +2535,13 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; @@ -2717,8 +2550,6 @@ public java.lang.String getNodeVersion() { } } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2732,14 +2563,15 @@ public java.lang.String getNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for nodeVersion. */ - public com.google.protobuf.ByteString getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -2747,8 +2579,6 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { } } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2762,22 +2592,20 @@ public com.google.protobuf.ByteString getNodeVersionBytes() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersion(java.lang.String value) { + public Builder setNodeVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeVersion_ = value; onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2791,18 +2619,15 @@ public Builder setNodeVersion(java.lang.String value) {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNodeVersion() { - + nodeVersion_ = getDefaultInstance().getNodeVersion(); onChanged(); return this; } /** - * - * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2816,16 +2641,16 @@ public Builder clearNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { + public Builder setNodeVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeVersion_ = value; onChanged(); return this; @@ -2833,20 +2658,18 @@ public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object imageType_ = ""; /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2855,21 +2678,20 @@ public java.lang.String getImageType() { } } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -2877,78 +2699,67 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** - * - * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2958,15 +2769,13 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList getLocationsList() { + public com.google.protobuf.ProtocolStringList + getLocationsList() { return locations_.getUnmodifiableView(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2976,15 +2785,12 @@ public com.google.protobuf.ProtocolStringList getLocationsList() {
      * 
* * repeated string locations = 13; - * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2994,7 +2800,6 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -3002,8 +2807,6 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3013,16 +2816,14 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString getLocationsBytes(int index) { + public com.google.protobuf.ByteString + getLocationsBytes(int index) { return locations_.getByteString(index); } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3032,23 +2833,21 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) {
      * 
* * repeated string locations = 13; - * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations(int index, java.lang.String value) { + public Builder setLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3058,22 +2857,20 @@ public Builder setLocations(int index, java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations(java.lang.String value) { + public Builder addLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3083,19 +2880,18 @@ public Builder addLocations(java.lang.String value) {
      * 
* * repeated string locations = 13; - * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations(java.lang.Iterable values) { + public Builder addAllLocations( + java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3105,7 +2901,6 @@ public Builder addAllLocations(java.lang.Iterable values) {
      * 
* * repeated string locations = 13; - * * @return This builder for chaining. */ public Builder clearLocations() { @@ -3115,8 +2910,6 @@ public Builder clearLocations() { return this; } /** - * - * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3126,15 +2919,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; - * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes(com.google.protobuf.ByteString value) { + public Builder addLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -3143,55 +2936,41 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, - com.google.container.v1beta1.WorkloadMetadataConfig.Builder, - com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> - workloadMetadataConfigBuilder_; + com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder setWorkloadMetadataConfig( - com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder setWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3205,8 +2984,6 @@ public Builder setWorkloadMetadataConfig( return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3225,23 +3002,17 @@ public Builder setWorkloadMetadataConfig( return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig( - com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder( - workloadMetadataConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -3253,8 +3024,6 @@ public Builder mergeWorkloadMetadataConfig( return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3273,42 +3042,33 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfig.Builder - getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1beta1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder - getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() - : workloadMetadataConfig_; + return workloadMetadataConfig_ == null ? + com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; } } /** - * - * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3316,17 +3076,14 @@ public Builder clearWorkloadMetadataConfig() { * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, - com.google.container.v1beta1.WorkloadMetadataConfig.Builder, - com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, - com.google.container.v1beta1.WorkloadMetadataConfig.Builder, - com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), getParentForChildren(), isClean()); + workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), + getParentForChildren(), + isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; @@ -3334,8 +3091,6 @@ public Builder clearWorkloadMetadataConfig() { private java.lang.Object name_ = ""; /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3343,13 +3098,13 @@ public Builder clearWorkloadMetadataConfig() {
      * 
* * string name = 8; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3358,8 +3113,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3367,14 +3120,15 @@ public java.lang.String getName() {
      * 
* * string name = 8; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3382,8 +3136,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3391,22 +3143,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 8; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3414,18 +3164,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 8; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3433,16 +3180,16 @@ public Builder clearName() {
      * 
* * string name = 8; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3450,47 +3197,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> - upgradeSettingsBuilder_; + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return The upgradeSettings. */ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3511,8 +3245,6 @@ public Builder setUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeS return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3531,22 +3263,17 @@ public Builder setUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ - public Builder mergeUpgradeSettings( - com.google.container.v1beta1.NodePool.UpgradeSettings value) { + public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeSettings value) { if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); } else { upgradeSettings_ = value; } @@ -3558,8 +3285,6 @@ public Builder mergeUpgradeSettings( return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3578,42 +3303,33 @@ public Builder clearUpgradeSettings() { return this; } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ - public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder - getUpgradeSettingsBuilder() { - + public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder - getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null - ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() - : upgradeSettings_; + return upgradeSettings_ == null ? + com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; } } /** - * - * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3621,17 +3337,14 @@ public Builder clearUpgradeSettings() { * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, - com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, - com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), getParentForChildren(), isClean()); + upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), + getParentForChildren(), + isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -3639,13 +3352,8 @@ public Builder clearUpgradeSettings() { private com.google.container.v1beta1.NetworkTags tags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, - com.google.container.v1beta1.NetworkTags.Builder, - com.google.container.v1beta1.NetworkTagsOrBuilder> - tagsBuilder_; + com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> tagsBuilder_; /** - * - * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3653,15 +3361,12 @@ public Builder clearUpgradeSettings() {
      * 
* * .google.container.v1beta1.NetworkTags tags = 16; - * * @return Whether the tags field is set. */ public boolean hasTags() { return tagsBuilder_ != null || tags_ != null; } /** - * - * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3669,21 +3374,16 @@ public boolean hasTags() {
      * 
* * .google.container.v1beta1.NetworkTags tags = 16; - * * @return The tags. */ public com.google.container.v1beta1.NetworkTags getTags() { if (tagsBuilder_ == null) { - return tags_ == null - ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() - : tags_; + return tags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : tags_; } else { return tagsBuilder_.getMessage(); } } /** - * - * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3706,8 +3406,6 @@ public Builder setTags(com.google.container.v1beta1.NetworkTags value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3716,7 +3414,8 @@ public Builder setTags(com.google.container.v1beta1.NetworkTags value) {
      *
      * .google.container.v1beta1.NetworkTags tags = 16;
      */
-    public Builder setTags(com.google.container.v1beta1.NetworkTags.Builder builderForValue) {
+    public Builder setTags(
+        com.google.container.v1beta1.NetworkTags.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         tags_ = builderForValue.build();
         onChanged();
@@ -3727,8 +3426,6 @@ public Builder setTags(com.google.container.v1beta1.NetworkTags.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3741,9 +3438,7 @@ public Builder mergeTags(com.google.container.v1beta1.NetworkTags value) {
       if (tagsBuilder_ == null) {
         if (tags_ != null) {
           tags_ =
-              com.google.container.v1beta1.NetworkTags.newBuilder(tags_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NetworkTags.newBuilder(tags_).mergeFrom(value).buildPartial();
         } else {
           tags_ = value;
         }
@@ -3755,8 +3450,6 @@ public Builder mergeTags(com.google.container.v1beta1.NetworkTags value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3777,8 +3470,6 @@ public Builder clearTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3788,13 +3479,11 @@ public Builder clearTags() {
      * .google.container.v1beta1.NetworkTags tags = 16;
      */
     public com.google.container.v1beta1.NetworkTags.Builder getTagsBuilder() {
-
+      
       onChanged();
       return getTagsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3807,14 +3496,11 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
       if (tagsBuilder_ != null) {
         return tagsBuilder_.getMessageOrBuilder();
       } else {
-        return tags_ == null
-            ? com.google.container.v1beta1.NetworkTags.getDefaultInstance()
-            : tags_;
+        return tags_ == null ?
+            com.google.container.v1beta1.NetworkTags.getDefaultInstance() : tags_;
       }
     }
     /**
-     *
-     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3824,17 +3510,14 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * .google.container.v1beta1.NetworkTags tags = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NetworkTags,
-            com.google.container.v1beta1.NetworkTags.Builder,
-            com.google.container.v1beta1.NetworkTagsOrBuilder>
+        com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> 
         getTagsFieldBuilder() {
       if (tagsBuilder_ == null) {
-        tagsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NetworkTags,
-                com.google.container.v1beta1.NetworkTags.Builder,
-                com.google.container.v1beta1.NetworkTagsOrBuilder>(
-                getTags(), getParentForChildren(), isClean());
+        tagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder>(
+                getTags(),
+                getParentForChildren(),
+                isClean());
         tags_ = null;
       }
       return tagsBuilder_;
@@ -3842,13 +3525,8 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
 
     private com.google.container.v1beta1.NodeTaints taints_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeTaints,
-            com.google.container.v1beta1.NodeTaints.Builder,
-            com.google.container.v1beta1.NodeTaintsOrBuilder>
-        taintsBuilder_;
+        com.google.container.v1beta1.NodeTaints, com.google.container.v1beta1.NodeTaints.Builder, com.google.container.v1beta1.NodeTaintsOrBuilder> taintsBuilder_;
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3856,15 +3534,12 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * 
* * .google.container.v1beta1.NodeTaints taints = 17; - * * @return Whether the taints field is set. */ public boolean hasTaints() { return taintsBuilder_ != null || taints_ != null; } /** - * - * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3872,21 +3547,16 @@ public boolean hasTaints() {
      * 
* * .google.container.v1beta1.NodeTaints taints = 17; - * * @return The taints. */ public com.google.container.v1beta1.NodeTaints getTaints() { if (taintsBuilder_ == null) { - return taints_ == null - ? com.google.container.v1beta1.NodeTaints.getDefaultInstance() - : taints_; + return taints_ == null ? com.google.container.v1beta1.NodeTaints.getDefaultInstance() : taints_; } else { return taintsBuilder_.getMessage(); } } /** - * - * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3909,8 +3579,6 @@ public Builder setTaints(com.google.container.v1beta1.NodeTaints value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3919,7 +3587,8 @@ public Builder setTaints(com.google.container.v1beta1.NodeTaints value) {
      *
      * .google.container.v1beta1.NodeTaints taints = 17;
      */
-    public Builder setTaints(com.google.container.v1beta1.NodeTaints.Builder builderForValue) {
+    public Builder setTaints(
+        com.google.container.v1beta1.NodeTaints.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         taints_ = builderForValue.build();
         onChanged();
@@ -3930,8 +3599,6 @@ public Builder setTaints(com.google.container.v1beta1.NodeTaints.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3944,9 +3611,7 @@ public Builder mergeTaints(com.google.container.v1beta1.NodeTaints value) {
       if (taintsBuilder_ == null) {
         if (taints_ != null) {
           taints_ =
-              com.google.container.v1beta1.NodeTaints.newBuilder(taints_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodeTaints.newBuilder(taints_).mergeFrom(value).buildPartial();
         } else {
           taints_ = value;
         }
@@ -3958,8 +3623,6 @@ public Builder mergeTaints(com.google.container.v1beta1.NodeTaints value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3980,8 +3643,6 @@ public Builder clearTaints() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3991,13 +3652,11 @@ public Builder clearTaints() {
      * .google.container.v1beta1.NodeTaints taints = 17;
      */
     public com.google.container.v1beta1.NodeTaints.Builder getTaintsBuilder() {
-
+      
       onChanged();
       return getTaintsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -4010,14 +3669,11 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilder();
       } else {
-        return taints_ == null
-            ? com.google.container.v1beta1.NodeTaints.getDefaultInstance()
-            : taints_;
+        return taints_ == null ?
+            com.google.container.v1beta1.NodeTaints.getDefaultInstance() : taints_;
       }
     }
     /**
-     *
-     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -4027,17 +3683,14 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * .google.container.v1beta1.NodeTaints taints = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeTaints,
-            com.google.container.v1beta1.NodeTaints.Builder,
-            com.google.container.v1beta1.NodeTaintsOrBuilder>
+        com.google.container.v1beta1.NodeTaints, com.google.container.v1beta1.NodeTaints.Builder, com.google.container.v1beta1.NodeTaintsOrBuilder> 
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodeTaints,
-                com.google.container.v1beta1.NodeTaints.Builder,
-                com.google.container.v1beta1.NodeTaintsOrBuilder>(
-                getTaints(), getParentForChildren(), isClean());
+        taintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodeTaints, com.google.container.v1beta1.NodeTaints.Builder, com.google.container.v1beta1.NodeTaintsOrBuilder>(
+                getTaints(),
+                getParentForChildren(),
+                isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -4045,13 +3698,8 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
 
     private com.google.container.v1beta1.NodeLabels labels_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeLabels,
-            com.google.container.v1beta1.NodeLabels.Builder,
-            com.google.container.v1beta1.NodeLabelsOrBuilder>
-        labelsBuilder_;
+        com.google.container.v1beta1.NodeLabels, com.google.container.v1beta1.NodeLabels.Builder, com.google.container.v1beta1.NodeLabelsOrBuilder> labelsBuilder_;
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4059,15 +3707,12 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * 
* * .google.container.v1beta1.NodeLabels labels = 18; - * * @return Whether the labels field is set. */ public boolean hasLabels() { return labelsBuilder_ != null || labels_ != null; } /** - * - * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4075,21 +3720,16 @@ public boolean hasLabels() {
      * 
* * .google.container.v1beta1.NodeLabels labels = 18; - * * @return The labels. */ public com.google.container.v1beta1.NodeLabels getLabels() { if (labelsBuilder_ == null) { - return labels_ == null - ? com.google.container.v1beta1.NodeLabels.getDefaultInstance() - : labels_; + return labels_ == null ? com.google.container.v1beta1.NodeLabels.getDefaultInstance() : labels_; } else { return labelsBuilder_.getMessage(); } } /** - * - * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4112,8 +3752,6 @@ public Builder setLabels(com.google.container.v1beta1.NodeLabels value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4122,7 +3760,8 @@ public Builder setLabels(com.google.container.v1beta1.NodeLabels value) {
      *
      * .google.container.v1beta1.NodeLabels labels = 18;
      */
-    public Builder setLabels(com.google.container.v1beta1.NodeLabels.Builder builderForValue) {
+    public Builder setLabels(
+        com.google.container.v1beta1.NodeLabels.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         labels_ = builderForValue.build();
         onChanged();
@@ -4133,8 +3772,6 @@ public Builder setLabels(com.google.container.v1beta1.NodeLabels.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4147,9 +3784,7 @@ public Builder mergeLabels(com.google.container.v1beta1.NodeLabels value) {
       if (labelsBuilder_ == null) {
         if (labels_ != null) {
           labels_ =
-              com.google.container.v1beta1.NodeLabels.newBuilder(labels_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.NodeLabels.newBuilder(labels_).mergeFrom(value).buildPartial();
         } else {
           labels_ = value;
         }
@@ -4161,8 +3796,6 @@ public Builder mergeLabels(com.google.container.v1beta1.NodeLabels value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4183,8 +3816,6 @@ public Builder clearLabels() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4194,13 +3825,11 @@ public Builder clearLabels() {
      * .google.container.v1beta1.NodeLabels labels = 18;
      */
     public com.google.container.v1beta1.NodeLabels.Builder getLabelsBuilder() {
-
+      
       onChanged();
       return getLabelsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4213,14 +3842,11 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilder();
       } else {
-        return labels_ == null
-            ? com.google.container.v1beta1.NodeLabels.getDefaultInstance()
-            : labels_;
+        return labels_ == null ?
+            com.google.container.v1beta1.NodeLabels.getDefaultInstance() : labels_;
       }
     }
     /**
-     *
-     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -4230,17 +3856,14 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
      * .google.container.v1beta1.NodeLabels labels = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeLabels,
-            com.google.container.v1beta1.NodeLabels.Builder,
-            com.google.container.v1beta1.NodeLabelsOrBuilder>
+        com.google.container.v1beta1.NodeLabels, com.google.container.v1beta1.NodeLabels.Builder, com.google.container.v1beta1.NodeLabelsOrBuilder> 
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.NodeLabels,
-                com.google.container.v1beta1.NodeLabels.Builder,
-                com.google.container.v1beta1.NodeLabelsOrBuilder>(
-                getLabels(), getParentForChildren(), isClean());
+        labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.NodeLabels, com.google.container.v1beta1.NodeLabels.Builder, com.google.container.v1beta1.NodeLabelsOrBuilder>(
+                getLabels(),
+                getParentForChildren(),
+                isClean());
         labels_ = null;
       }
       return labelsBuilder_;
@@ -4248,47 +3871,34 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
 
     private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.LinuxNodeConfig,
-            com.google.container.v1beta1.LinuxNodeConfig.Builder,
-            com.google.container.v1beta1.LinuxNodeConfigOrBuilder>
-        linuxNodeConfigBuilder_;
+        com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_;
     /**
-     *
-     *
      * 
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; - * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; - * * @return The linuxNodeConfig. */ public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4309,8 +3919,6 @@ public Builder setLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig v return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4329,8 +3937,6 @@ public Builder setLinuxNodeConfig( return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4341,9 +3947,7 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); } else { linuxNodeConfig_ = value; } @@ -4355,8 +3959,6 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4375,8 +3977,6 @@ public Builder clearLinuxNodeConfig() { return this; } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4384,13 +3984,11 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; */ public com.google.container.v1beta1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4401,14 +3999,11 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null - ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() - : linuxNodeConfig_; + return linuxNodeConfig_ == null ? + com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; } } /** - * - * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4416,17 +4011,14 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, - com.google.container.v1beta1.LinuxNodeConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfigOrBuilder> + com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, - com.google.container.v1beta1.LinuxNodeConfig.Builder, - com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), getParentForChildren(), isClean()); + linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), + getParentForChildren(), + isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -4434,47 +4026,34 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, - com.google.container.v1beta1.NodeKubeletConfig.Builder, - com.google.container.v1beta1.NodeKubeletConfigOrBuilder> - kubeletConfigBuilder_; + com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; - * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** - * - * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; - * * @return The kubeletConfig. */ public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null - ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4495,8 +4074,6 @@ public Builder setKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig v return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4515,8 +4092,6 @@ public Builder setKubeletConfig( return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4527,9 +4102,7 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); } else { kubeletConfig_ = value; } @@ -4541,8 +4114,6 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4561,8 +4132,6 @@ public Builder clearKubeletConfig() { return this; } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4570,13 +4139,11 @@ public Builder clearKubeletConfig() { * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; */ public com.google.container.v1beta1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4587,14 +4154,11 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null - ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() - : kubeletConfig_; + return kubeletConfig_ == null ? + com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; } } /** - * - * *
      * Node kubelet configs.
      * 
@@ -4602,17 +4166,14 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, - com.google.container.v1beta1.NodeKubeletConfig.Builder, - com.google.container.v1beta1.NodeKubeletConfigOrBuilder> + com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, - com.google.container.v1beta1.NodeKubeletConfig.Builder, - com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), getParentForChildren(), isClean()); + kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), + getParentForChildren(), + isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -4620,47 +4181,34 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO private com.google.container.v1beta1.NodeNetworkConfig nodeNetworkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, - com.google.container.v1beta1.NodeNetworkConfig.Builder, - com.google.container.v1beta1.NodeNetworkConfigOrBuilder> - nodeNetworkConfigBuilder_; + com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> nodeNetworkConfigBuilder_; /** - * - * *
      * Node network config.
      * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; - * * @return Whether the nodeNetworkConfig field is set. */ public boolean hasNodeNetworkConfig() { return nodeNetworkConfigBuilder_ != null || nodeNetworkConfig_ != null; } /** - * - * *
      * Node network config.
      * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; - * * @return The nodeNetworkConfig. */ public com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig() { if (nodeNetworkConfigBuilder_ == null) { - return nodeNetworkConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() - : nodeNetworkConfig_; + return nodeNetworkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; } else { return nodeNetworkConfigBuilder_.getMessage(); } } /** - * - * *
      * Node network config.
      * 
@@ -4681,8 +4229,6 @@ public Builder setNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkConf return this; } /** - * - * *
      * Node network config.
      * 
@@ -4701,8 +4247,6 @@ public Builder setNodeNetworkConfig( return this; } /** - * - * *
      * Node network config.
      * 
@@ -4713,9 +4257,7 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkCo if (nodeNetworkConfigBuilder_ == null) { if (nodeNetworkConfig_ != null) { nodeNetworkConfig_ = - com.google.container.v1beta1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_).mergeFrom(value).buildPartial(); } else { nodeNetworkConfig_ = value; } @@ -4727,8 +4269,6 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkCo return this; } /** - * - * *
      * Node network config.
      * 
@@ -4747,8 +4287,6 @@ public Builder clearNodeNetworkConfig() { return this; } /** - * - * *
      * Node network config.
      * 
@@ -4756,13 +4294,11 @@ public Builder clearNodeNetworkConfig() { * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; */ public com.google.container.v1beta1.NodeNetworkConfig.Builder getNodeNetworkConfigBuilder() { - + onChanged(); return getNodeNetworkConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Node network config.
      * 
@@ -4773,14 +4309,11 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon if (nodeNetworkConfigBuilder_ != null) { return nodeNetworkConfigBuilder_.getMessageOrBuilder(); } else { - return nodeNetworkConfig_ == null - ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() - : nodeNetworkConfig_; + return nodeNetworkConfig_ == null ? + com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; } } /** - * - * *
      * Node network config.
      * 
@@ -4788,17 +4321,14 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, - com.google.container.v1beta1.NodeNetworkConfig.Builder, - com.google.container.v1beta1.NodeNetworkConfigOrBuilder> + com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> getNodeNetworkConfigFieldBuilder() { if (nodeNetworkConfigBuilder_ == null) { - nodeNetworkConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, - com.google.container.v1beta1.NodeNetworkConfig.Builder, - com.google.container.v1beta1.NodeNetworkConfigOrBuilder>( - getNodeNetworkConfig(), getParentForChildren(), isClean()); + nodeNetworkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder>( + getNodeNetworkConfig(), + getParentForChildren(), + isClean()); nodeNetworkConfig_ = null; } return nodeNetworkConfigBuilder_; @@ -4806,47 +4336,34 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon private com.google.container.v1beta1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder> - gcfsConfigBuilder_; + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> gcfsConfigBuilder_; /** - * - * *
      * GCFS config.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; - * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** - * - * *
      * GCFS config.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; - * * @return The gcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** - * - * *
      * GCFS config.
      * 
@@ -4867,15 +4384,14 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS config.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; */ - public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig( + com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -4886,8 +4402,6 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder bui return this; } /** - * - * *
      * GCFS config.
      * 
@@ -4898,9 +4412,7 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); } else { gcfsConfig_ = value; } @@ -4912,8 +4424,6 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** - * - * *
      * GCFS config.
      * 
@@ -4932,8 +4442,6 @@ public Builder clearGcfsConfig() { return this; } /** - * - * *
      * GCFS config.
      * 
@@ -4941,13 +4449,11 @@ public Builder clearGcfsConfig() { * .google.container.v1beta1.GcfsConfig gcfs_config = 22; */ public com.google.container.v1beta1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** - * - * *
      * GCFS config.
      * 
@@ -4958,14 +4464,11 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null - ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() - : gcfsConfig_; + return gcfsConfig_ == null ? + com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; } } /** - * - * *
      * GCFS config.
      * 
@@ -4973,17 +4476,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() * .google.container.v1beta1.GcfsConfig gcfs_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, - com.google.container.v1beta1.GcfsConfig.Builder, - com.google.container.v1beta1.GcfsConfigOrBuilder>( - getGcfsConfig(), getParentForChildren(), isClean()); + gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( + getGcfsConfig(), + getParentForChildren(), + isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -4991,49 +4491,36 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfidentialNodes, - com.google.container.v1beta1.ConfidentialNodes.Builder, - com.google.container.v1beta1.ConfidentialNodesOrBuilder> - confidentialNodesBuilder_; + com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; - * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; - * * @return The confidentialNodes. */ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null - ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() - : confidentialNodes_; + return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** - * - * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5055,8 +4542,6 @@ public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNod
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5076,8 +4561,6 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5089,9 +4572,7 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-              com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -5103,8 +4584,6 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5124,8 +4603,6 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5134,13 +4611,11 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;
      */
     public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-
+      
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5152,14 +4627,11 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null
-            ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance()
-            : confidentialNodes_;
+        return confidentialNodes_ == null ?
+            com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
       }
     }
     /**
-     *
-     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -5168,17 +4640,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfidentialNodes,
-            com.google.container.v1beta1.ConfidentialNodes.Builder,
-            com.google.container.v1beta1.ConfidentialNodesOrBuilder>
+        com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> 
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ConfidentialNodes,
-                com.google.container.v1beta1.ConfidentialNodes.Builder,
-                com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(), getParentForChildren(), isClean());
+        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(),
+                getParentForChildren(),
+                isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -5186,47 +4655,34 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
 
     private com.google.container.v1beta1.VirtualNIC gvnic_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.VirtualNIC,
-            com.google.container.v1beta1.VirtualNIC.Builder,
-            com.google.container.v1beta1.VirtualNICOrBuilder>
-        gvnicBuilder_;
+        com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> gvnicBuilder_;
     /**
-     *
-     *
      * 
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ public com.google.container.v1beta1.VirtualNIC getGvnic() { if (gvnicBuilder_ == null) { - return gvnic_ == null - ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() - : gvnic_; + return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } else { return gvnicBuilder_.getMessage(); } } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5247,15 +4703,14 @@ public Builder setGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; */ - public Builder setGvnic(com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic( + com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -5266,8 +4721,6 @@ public Builder setGvnic(com.google.container.v1beta1.VirtualNIC.Builder builderF return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5278,9 +4731,7 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); } else { gvnic_ = value; } @@ -5292,8 +4743,6 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5312,8 +4761,6 @@ public Builder clearGvnic() { return this; } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5321,13 +4768,11 @@ public Builder clearGvnic() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ public com.google.container.v1beta1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5338,14 +4783,11 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null - ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() - : gvnic_; + return gvnic_ == null ? + com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } } /** - * - * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -5353,65 +4795,204 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, - com.google.container.v1beta1.VirtualNIC.Builder, - com.google.container.v1beta1.VirtualNICOrBuilder> + com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, - com.google.container.v1beta1.VirtualNIC.Builder, - com.google.container.v1beta1.VirtualNICOrBuilder>( - getGvnic(), getParentForChildren(), isClean()); + gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder>( + getGvnic(), + getParentForChildren(), + isClean()); gvnic_ = null; } return gvnicBuilder_; } - private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; + private com.google.container.v1beta1.FastSocket fastSocket_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> - loggingConfigBuilder_; + com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> fastSocketBuilder_; + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + * @return Whether the fastSocket field is set. + */ + public boolean hasFastSocket() { + return fastSocketBuilder_ != null || fastSocket_ != null; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + * @return The fastSocket. + */ + public com.google.container.v1beta1.FastSocket getFastSocket() { + if (fastSocketBuilder_ == null) { + return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + } else { + return fastSocketBuilder_.getMessage(); + } + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + public Builder setFastSocket(com.google.container.v1beta1.FastSocket value) { + if (fastSocketBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + fastSocket_ = value; + onChanged(); + } else { + fastSocketBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + public Builder setFastSocket( + com.google.container.v1beta1.FastSocket.Builder builderForValue) { + if (fastSocketBuilder_ == null) { + fastSocket_ = builderForValue.build(); + onChanged(); + } else { + fastSocketBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + public Builder mergeFastSocket(com.google.container.v1beta1.FastSocket value) { + if (fastSocketBuilder_ == null) { + if (fastSocket_ != null) { + fastSocket_ = + com.google.container.v1beta1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); + } else { + fastSocket_ = value; + } + onChanged(); + } else { + fastSocketBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + public Builder clearFastSocket() { + if (fastSocketBuilder_ == null) { + fastSocket_ = null; + onChanged(); + } else { + fastSocket_ = null; + fastSocketBuilder_ = null; + } + + return this; + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + public com.google.container.v1beta1.FastSocket.Builder getFastSocketBuilder() { + + onChanged(); + return getFastSocketFieldBuilder().getBuilder(); + } /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
* + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() { + if (fastSocketBuilder_ != null) { + return fastSocketBuilder_.getMessageOrBuilder(); + } else { + return fastSocket_ == null ? + com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + } + } + /** + *
+     * Enable or disable NCCL fast socket for the node pool.
+     * 
* + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> + getFastSocketFieldBuilder() { + if (fastSocketBuilder_ == null) { + fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder>( + getFastSocket(), + getParentForChildren(), + isClean()); + fastSocket_ = null; + } + return fastSocketBuilder_; + } + + private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; + /** *
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; - * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** - * - * *
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; - * * @return The loggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** - * - * *
      * Logging configuration.
      * 
@@ -5432,8 +5013,6 @@ public Builder setLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConf return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5452,8 +5031,6 @@ public Builder setLoggingConfig( return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5464,9 +5041,7 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); } else { loggingConfig_ = value; } @@ -5478,8 +5053,6 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5498,8 +5071,6 @@ public Builder clearLoggingConfig() { return this; } /** - * - * *
      * Logging configuration.
      * 
@@ -5507,13 +5078,11 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; */ public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Logging configuration.
      * 
@@ -5524,14 +5093,11 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null - ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() - : loggingConfig_; + return loggingConfig_ == null ? + com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; } } /** - * - * *
      * Logging configuration.
      * 
@@ -5539,17 +5105,14 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, - com.google.container.v1beta1.NodePoolLoggingConfig.Builder, - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), getParentForChildren(), isClean()); + loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), + getParentForChildren(), + isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -5557,49 +5120,36 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon private com.google.container.v1beta1.ResourceLabels resourceLabels_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceLabels, - com.google.container.v1beta1.ResourceLabels.Builder, - com.google.container.v1beta1.ResourceLabelsOrBuilder> - resourceLabelsBuilder_; + com.google.container.v1beta1.ResourceLabels, com.google.container.v1beta1.ResourceLabels.Builder, com.google.container.v1beta1.ResourceLabelsOrBuilder> resourceLabelsBuilder_; /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; - * * @return Whether the resourceLabels field is set. */ public boolean hasResourceLabels() { return resourceLabelsBuilder_ != null || resourceLabels_ != null; } /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; - * * @return The resourceLabels. */ public com.google.container.v1beta1.ResourceLabels getResourceLabels() { if (resourceLabelsBuilder_ == null) { - return resourceLabels_ == null - ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() - : resourceLabels_; + return resourceLabels_ == null ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() : resourceLabels_; } else { return resourceLabelsBuilder_.getMessage(); } } /** - * - * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5621,8 +5171,6 @@ public Builder setResourceLabels(com.google.container.v1beta1.ResourceLabels val
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5642,8 +5190,6 @@ public Builder setResourceLabels(
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5655,9 +5201,7 @@ public Builder mergeResourceLabels(com.google.container.v1beta1.ResourceLabels v
       if (resourceLabelsBuilder_ == null) {
         if (resourceLabels_ != null) {
           resourceLabels_ =
-              com.google.container.v1beta1.ResourceLabels.newBuilder(resourceLabels_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ResourceLabels.newBuilder(resourceLabels_).mergeFrom(value).buildPartial();
         } else {
           resourceLabels_ = value;
         }
@@ -5669,8 +5213,6 @@ public Builder mergeResourceLabels(com.google.container.v1beta1.ResourceLabels v
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5690,8 +5232,6 @@ public Builder clearResourceLabels() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5700,13 +5240,11 @@ public Builder clearResourceLabels() {
      * .google.container.v1beta1.ResourceLabels resource_labels = 33;
      */
     public com.google.container.v1beta1.ResourceLabels.Builder getResourceLabelsBuilder() {
-
+      
       onChanged();
       return getResourceLabelsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5718,14 +5256,11 @@ public com.google.container.v1beta1.ResourceLabelsOrBuilder getResourceLabelsOrB
       if (resourceLabelsBuilder_ != null) {
         return resourceLabelsBuilder_.getMessageOrBuilder();
       } else {
-        return resourceLabels_ == null
-            ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance()
-            : resourceLabels_;
+        return resourceLabels_ == null ?
+            com.google.container.v1beta1.ResourceLabels.getDefaultInstance() : resourceLabels_;
       }
     }
     /**
-     *
-     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5734,24 +5269,21 @@ public com.google.container.v1beta1.ResourceLabelsOrBuilder getResourceLabelsOrB
      * .google.container.v1beta1.ResourceLabels resource_labels = 33;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ResourceLabels,
-            com.google.container.v1beta1.ResourceLabels.Builder,
-            com.google.container.v1beta1.ResourceLabelsOrBuilder>
+        com.google.container.v1beta1.ResourceLabels, com.google.container.v1beta1.ResourceLabels.Builder, com.google.container.v1beta1.ResourceLabelsOrBuilder> 
         getResourceLabelsFieldBuilder() {
       if (resourceLabelsBuilder_ == null) {
-        resourceLabelsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ResourceLabels,
-                com.google.container.v1beta1.ResourceLabels.Builder,
-                com.google.container.v1beta1.ResourceLabelsOrBuilder>(
-                getResourceLabels(), getParentForChildren(), isClean());
+        resourceLabelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ResourceLabels, com.google.container.v1beta1.ResourceLabels.Builder, com.google.container.v1beta1.ResourceLabelsOrBuilder>(
+                getResourceLabels(),
+                getParentForChildren(),
+                isClean());
         resourceLabels_ = null;
       }
       return resourceLabelsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -5761,12 +5293,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpdateNodePoolRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateNodePoolRequest)
   private static final com.google.container.v1beta1.UpdateNodePoolRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.UpdateNodePoolRequest();
   }
@@ -5775,27 +5307,27 @@ public static com.google.container.v1beta1.UpdateNodePoolRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateNodePoolRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateNodePoolRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -5810,4 +5342,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.UpdateNodePoolRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java
similarity index 85%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java
index 29a845939fde..03b5d13c4df5 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java
@@ -1,68 +1,41 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface UpdateNodePoolRequestOrBuilder
-    extends
+public interface UpdateNodePoolRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpdateNodePoolRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ - @java.lang.Deprecated - java.lang.String getProjectId(); + @java.lang.Deprecated java.lang.String getProjectId(); /** - * - * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2454 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getProjectIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -71,16 +44,12 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @return The zone. */ - @java.lang.Deprecated - java.lang.String getZone(); + @java.lang.Deprecated java.lang.String getZone(); /** - * - * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -89,87 +58,66 @@ 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=2463 + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2465 * @return The bytes for zone. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getZoneBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getZoneBytes(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @return The clusterId. */ - @java.lang.Deprecated - java.lang.String getClusterId(); + @java.lang.Deprecated java.lang.String getClusterId(); /** - * - * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2470 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for clusterId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getClusterIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @return The nodePoolId. */ - @java.lang.Deprecated - java.lang.String getNodePoolId(); + @java.lang.Deprecated java.lang.String getNodePoolId(); /** - * - * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * - * - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=2477 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getNodePoolIdBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getNodePoolIdBytes(); /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -183,13 +131,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The nodeVersion. */ java.lang.String getNodeVersion(); /** - * - * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -203,39 +148,32 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for nodeVersion. */ - com.google.protobuf.ByteString getNodeVersionBytes(); + com.google.protobuf.ByteString + getNodeVersionBytes(); /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -245,13 +183,11 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @return A list containing the locations. */ - java.util.List getLocationsList(); + java.util.List + getLocationsList(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -261,13 +197,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @return The count of locations. */ int getLocationsCount(); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -277,14 +210,11 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** - * - * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -294,39 +224,31 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * repeated string locations = 13; - * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString getLocationsBytes(int index); + com.google.protobuf.ByteString + getLocationsBytes(int index); /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; - * * @return The workloadMetadataConfig. */ com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** - * - * *
    * The desired workload metadata config for the node pool.
    * 
@@ -336,8 +258,6 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -345,13 +265,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string name = 8; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -359,38 +276,30 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * string name = 8; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; - * * @return The upgradeSettings. */ com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings(); /** - * - * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -400,8 +309,6 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -409,13 +316,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; - * * @return Whether the tags field is set. */ boolean hasTags(); /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -423,13 +327,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; - * * @return The tags. */ com.google.container.v1beta1.NetworkTags getTags(); /** - * - * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -441,8 +342,6 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -450,13 +349,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; - * * @return Whether the taints field is set. */ boolean hasTaints(); /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -464,13 +360,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; - * * @return The taints. */ com.google.container.v1beta1.NodeTaints getTaints(); /** - * - * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -482,8 +375,6 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -491,13 +382,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; - * * @return Whether the labels field is set. */ boolean hasLabels(); /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -505,13 +393,10 @@ public interface UpdateNodePoolRequestOrBuilder
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; - * * @return The labels. */ com.google.container.v1beta1.NodeLabels getLabels(); /** - * - * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -523,32 +408,24 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; - * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; - * * @return The linuxNodeConfig. */ com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig(); /** - * - * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -558,32 +435,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; - * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; - * * @return The kubeletConfig. */ com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig(); /** - * - * *
    * Node kubelet configs.
    * 
@@ -593,32 +462,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** - * - * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; - * * @return Whether the nodeNetworkConfig field is set. */ boolean hasNodeNetworkConfig(); /** - * - * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; - * * @return The nodeNetworkConfig. */ com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig(); /** - * - * *
    * Node network config.
    * 
@@ -628,32 +489,24 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder(); /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; - * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** - * - * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; - * * @return The gcfsConfig. */ com.google.container.v1beta1.GcfsConfig getGcfsConfig(); /** - * - * *
    * GCFS config.
    * 
@@ -663,34 +516,26 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; - * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; - * * @return The confidentialNodes. */ com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); /** - * - * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -701,32 +546,24 @@ public interface UpdateNodePoolRequestOrBuilder
   com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
-   *
-   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; - * * @return The gvnic. */ com.google.container.v1beta1.VirtualNIC getGvnic(); /** - * - * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -736,32 +573,51 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder(); /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
+ * + * .google.container.v1beta1.FastSocket fast_socket = 31; + * @return Whether the fastSocket field is set. + */ + boolean hasFastSocket(); + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
* + * .google.container.v1beta1.FastSocket fast_socket = 31; + * @return The fastSocket. + */ + com.google.container.v1beta1.FastSocket getFastSocket(); + /** + *
+   * Enable or disable NCCL fast socket for the node pool.
+   * 
* + * .google.container.v1beta1.FastSocket fast_socket = 31; + */ + com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder(); + + /** *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; - * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; - * * @return The loggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig(); /** - * - * *
    * Logging configuration.
    * 
@@ -771,34 +627,26 @@ public interface UpdateNodePoolRequestOrBuilder com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; - * * @return Whether the resourceLabels field is set. */ boolean hasResourceLabels(); /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; - * * @return The resourceLabels. */ com.google.container.v1beta1.ResourceLabels getResourceLabels(); /** - * - * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
similarity index 71%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
index 640eafbf815e..3642e9ecfe02 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * UpgradeAvailableEvent is a notification sent to customers when a new
  * available version is released.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.UpgradeAvailableEvent}
  */
-public final class UpgradeAvailableEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpgradeAvailableEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpgradeAvailableEvent)
     UpgradeAvailableEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpgradeAvailableEvent.newBuilder() to construct.
   private UpgradeAvailableEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpgradeAvailableEvent() {
     version_ = "";
     resourceType_ = 0;
@@ -46,41 +28,37 @@ private UpgradeAvailableEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpgradeAvailableEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.UpgradeAvailableEvent.class,
-            com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
+            com.google.container.v1beta1.UpgradeAvailableEvent.class, com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
   }
 
   public static final int VERSION_FIELD_NUMBER = 1;
   private volatile java.lang.Object version_;
   /**
-   *
-   *
    * 
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The version. */ @java.lang.Override @@ -89,29 +67,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** - * - * *
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -122,51 +100,39 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private int resourceType_; /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @return The resourceType. */ - @java.lang.Override - public com.google.container.v1beta1.UpgradeResourceType getResourceType() { + @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = - com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int RELEASE_CHANNEL_FIELD_NUMBER = 3; private com.google.container.v1beta1.ReleaseChannel releaseChannel_; /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; - * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -174,26 +140,19 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; - * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -209,15 +168,12 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
   public static final int RESOURCE_FIELD_NUMBER = 4;
   private volatile java.lang.Object resource_;
   /**
-   *
-   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The resource. */ @java.lang.Override @@ -226,30 +182,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -260,14 +216,11 @@ public com.google.protobuf.ByteString getResourceBytes() { public static final int WINDOWS_VERSIONS_FIELD_NUMBER = 5; private com.google.container.v1beta1.WindowsVersions windowsVersions_; /** - * - * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; - * * @return Whether the windowsVersions field is set. */ @java.lang.Override @@ -275,25 +228,18 @@ public boolean hasWindowsVersions() { return windowsVersions_ != null; } /** - * - * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; - * * @return The windowsVersions. */ @java.lang.Override public com.google.container.v1beta1.WindowsVersions getWindowsVersions() { - return windowsVersions_ == null - ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() - : windowsVersions_; + return windowsVersions_ == null ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() : windowsVersions_; } /** - * - * *
    * Windows node versions info.
    * 
@@ -306,7 +252,6 @@ public com.google.container.v1beta1.WindowsVersionsOrBuilder getWindowsVersionsO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,13 +263,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } - if (resourceType_ - != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { + if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, resourceType_); } if (releaseChannel_ != null) { @@ -348,19 +292,20 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } - if (resourceType_ - != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, resourceType_); + if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, resourceType_); } if (releaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReleaseChannel()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getReleaseChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resource_); } if (windowsVersions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getWindowsVersions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getWindowsVersions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -370,24 +315,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpgradeAvailableEvent)) { return super.equals(obj); } - com.google.container.v1beta1.UpgradeAvailableEvent other = - (com.google.container.v1beta1.UpgradeAvailableEvent) obj; + com.google.container.v1beta1.UpgradeAvailableEvent other = (com.google.container.v1beta1.UpgradeAvailableEvent) obj; - if (!getVersion().equals(other.getVersion())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (resourceType_ != other.resourceType_) return false; if (hasReleaseChannel() != other.hasReleaseChannel()) return false; if (hasReleaseChannel()) { - if (!getReleaseChannel().equals(other.getReleaseChannel())) return false; + if (!getReleaseChannel() + .equals(other.getReleaseChannel())) return false; } - if (!getResource().equals(other.getResource())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (hasWindowsVersions() != other.hasWindowsVersions()) return false; if (hasWindowsVersions()) { - if (!getWindowsVersions().equals(other.getWindowsVersions())) return false; + if (!getWindowsVersions() + .equals(other.getWindowsVersions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -420,103 +368,96 @@ public int hashCode() { } public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeAvailableEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( 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.UpgradeAvailableEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.UpgradeAvailableEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.UpgradeAvailableEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.UpgradeAvailableEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpgradeAvailableEvent is a notification sent to customers when a new
    * available version is released.
@@ -524,32 +465,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.UpgradeAvailableEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpgradeAvailableEvent)
       com.google.container.v1beta1.UpgradeAvailableEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.UpgradeAvailableEvent.class,
-              com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
+              com.google.container.v1beta1.UpgradeAvailableEvent.class, com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.UpgradeAvailableEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -575,9 +517,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
@@ -596,8 +538,7 @@ public com.google.container.v1beta1.UpgradeAvailableEvent build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.UpgradeAvailableEvent buildPartial() {
-      com.google.container.v1beta1.UpgradeAvailableEvent result =
-          new com.google.container.v1beta1.UpgradeAvailableEvent(this);
+      com.google.container.v1beta1.UpgradeAvailableEvent result = new com.google.container.v1beta1.UpgradeAvailableEvent(this);
       result.version_ = version_;
       result.resourceType_ = resourceType_;
       if (releaseChannelBuilder_ == null) {
@@ -619,39 +560,38 @@ public com.google.container.v1beta1.UpgradeAvailableEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.UpgradeAvailableEvent) {
-        return mergeFrom((com.google.container.v1beta1.UpgradeAvailableEvent) other);
+        return mergeFrom((com.google.container.v1beta1.UpgradeAvailableEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -659,8 +599,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.UpgradeAvailableEvent other) {
-      if (other == com.google.container.v1beta1.UpgradeAvailableEvent.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.UpgradeAvailableEvent.getDefaultInstance()) return this;
       if (!other.getVersion().isEmpty()) {
         version_ = other.version_;
         onChanged();
@@ -704,43 +643,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                version_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                resourceType_ = input.readEnum();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                resource_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getWindowsVersionsFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              version_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              resourceType_ = input.readEnum();
+
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getReleaseChannelFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              resource_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getWindowsVersionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -753,20 +690,18 @@ public Builder mergeFrom(
 
     private java.lang.Object version_ = "";
     /**
-     *
-     *
      * 
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -775,21 +710,20 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @return The bytes for version. */ - public com.google.protobuf.ByteString getVersionBytes() { + public com.google.protobuf.ByteString + getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); version_ = b; return b; } else { @@ -797,61 +731,54 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The release version available for upgrade.
      * 
* * string version = 1; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -859,67 +786,51 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { private int resourceType_ = 0; /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @return The resourceType. */ @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = - com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); - return result == null - ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED - : result; + com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -927,24 +838,21 @@ public Builder setResourceType(com.google.container.v1beta1.UpgradeResourceType if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -952,49 +860,36 @@ public Builder clearResourceType() { private com.google.container.v1beta1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, - com.google.container.v1beta1.ReleaseChannel.Builder, - com.google.container.v1beta1.ReleaseChannelOrBuilder> - releaseChannelBuilder_; + com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> releaseChannelBuilder_; /** - * - * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; - * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** - * - * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; - * * @return The releaseChannel. */ public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null - ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() - : releaseChannel_; + return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** - * - * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1016,8 +911,6 @@ public Builder setReleaseChannel(com.google.container.v1beta1.ReleaseChannel val
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1037,8 +930,6 @@ public Builder setReleaseChannel(
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1050,9 +941,7 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v
       if (releaseChannelBuilder_ == null) {
         if (releaseChannel_ != null) {
           releaseChannel_ =
-              com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial();
         } else {
           releaseChannel_ = value;
         }
@@ -1064,8 +953,6 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1085,8 +972,6 @@ public Builder clearReleaseChannel() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1095,13 +980,11 @@ public Builder clearReleaseChannel() {
      * .google.container.v1beta1.ReleaseChannel release_channel = 3;
      */
     public com.google.container.v1beta1.ReleaseChannel.Builder getReleaseChannelBuilder() {
-
+      
       onChanged();
       return getReleaseChannelFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1113,14 +996,11 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
       if (releaseChannelBuilder_ != null) {
         return releaseChannelBuilder_.getMessageOrBuilder();
       } else {
-        return releaseChannel_ == null
-            ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance()
-            : releaseChannel_;
+        return releaseChannel_ == null ?
+            com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_;
       }
     }
     /**
-     *
-     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1129,17 +1009,14 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
      * .google.container.v1beta1.ReleaseChannel release_channel = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ReleaseChannel,
-            com.google.container.v1beta1.ReleaseChannel.Builder,
-            com.google.container.v1beta1.ReleaseChannelOrBuilder>
+        com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> 
         getReleaseChannelFieldBuilder() {
       if (releaseChannelBuilder_ == null) {
-        releaseChannelBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.container.v1beta1.ReleaseChannel,
-                com.google.container.v1beta1.ReleaseChannel.Builder,
-                com.google.container.v1beta1.ReleaseChannelOrBuilder>(
-                getReleaseChannel(), getParentForChildren(), isClean());
+        releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder>(
+                getReleaseChannel(),
+                getParentForChildren(),
+                isClean());
         releaseChannel_ = null;
       }
       return releaseChannelBuilder_;
@@ -1147,21 +1024,19 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
 
     private java.lang.Object resource_ = "";
     /**
-     *
-     *
      * 
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1170,22 +1045,21 @@ public java.lang.String getResource() { } } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -1193,64 +1067,57 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -1258,47 +1125,34 @@ public Builder setResourceBytes(com.google.protobuf.ByteString value) { private com.google.container.v1beta1.WindowsVersions windowsVersions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions, - com.google.container.v1beta1.WindowsVersions.Builder, - com.google.container.v1beta1.WindowsVersionsOrBuilder> - windowsVersionsBuilder_; + com.google.container.v1beta1.WindowsVersions, com.google.container.v1beta1.WindowsVersions.Builder, com.google.container.v1beta1.WindowsVersionsOrBuilder> windowsVersionsBuilder_; /** - * - * *
      * Windows node versions info.
      * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; - * * @return Whether the windowsVersions field is set. */ public boolean hasWindowsVersions() { return windowsVersionsBuilder_ != null || windowsVersions_ != null; } /** - * - * *
      * Windows node versions info.
      * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; - * * @return The windowsVersions. */ public com.google.container.v1beta1.WindowsVersions getWindowsVersions() { if (windowsVersionsBuilder_ == null) { - return windowsVersions_ == null - ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() - : windowsVersions_; + return windowsVersions_ == null ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() : windowsVersions_; } else { return windowsVersionsBuilder_.getMessage(); } } /** - * - * *
      * Windows node versions info.
      * 
@@ -1319,8 +1173,6 @@ public Builder setWindowsVersions(com.google.container.v1beta1.WindowsVersions v return this; } /** - * - * *
      * Windows node versions info.
      * 
@@ -1339,8 +1191,6 @@ public Builder setWindowsVersions( return this; } /** - * - * *
      * Windows node versions info.
      * 
@@ -1351,9 +1201,7 @@ public Builder mergeWindowsVersions(com.google.container.v1beta1.WindowsVersions if (windowsVersionsBuilder_ == null) { if (windowsVersions_ != null) { windowsVersions_ = - com.google.container.v1beta1.WindowsVersions.newBuilder(windowsVersions_) - .mergeFrom(value) - .buildPartial(); + com.google.container.v1beta1.WindowsVersions.newBuilder(windowsVersions_).mergeFrom(value).buildPartial(); } else { windowsVersions_ = value; } @@ -1365,8 +1213,6 @@ public Builder mergeWindowsVersions(com.google.container.v1beta1.WindowsVersions return this; } /** - * - * *
      * Windows node versions info.
      * 
@@ -1385,8 +1231,6 @@ public Builder clearWindowsVersions() { return this; } /** - * - * *
      * Windows node versions info.
      * 
@@ -1394,13 +1238,11 @@ public Builder clearWindowsVersions() { * .google.container.v1beta1.WindowsVersions windows_versions = 5; */ public com.google.container.v1beta1.WindowsVersions.Builder getWindowsVersionsBuilder() { - + onChanged(); return getWindowsVersionsFieldBuilder().getBuilder(); } /** - * - * *
      * Windows node versions info.
      * 
@@ -1411,14 +1253,11 @@ public com.google.container.v1beta1.WindowsVersionsOrBuilder getWindowsVersionsO if (windowsVersionsBuilder_ != null) { return windowsVersionsBuilder_.getMessageOrBuilder(); } else { - return windowsVersions_ == null - ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() - : windowsVersions_; + return windowsVersions_ == null ? + com.google.container.v1beta1.WindowsVersions.getDefaultInstance() : windowsVersions_; } } /** - * - * *
      * Windows node versions info.
      * 
@@ -1426,24 +1265,21 @@ public com.google.container.v1beta1.WindowsVersionsOrBuilder getWindowsVersionsO * .google.container.v1beta1.WindowsVersions windows_versions = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions, - com.google.container.v1beta1.WindowsVersions.Builder, - com.google.container.v1beta1.WindowsVersionsOrBuilder> + com.google.container.v1beta1.WindowsVersions, com.google.container.v1beta1.WindowsVersions.Builder, com.google.container.v1beta1.WindowsVersionsOrBuilder> getWindowsVersionsFieldBuilder() { if (windowsVersionsBuilder_ == null) { - windowsVersionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions, - com.google.container.v1beta1.WindowsVersions.Builder, - com.google.container.v1beta1.WindowsVersionsOrBuilder>( - getWindowsVersions(), getParentForChildren(), isClean()); + windowsVersionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WindowsVersions, com.google.container.v1beta1.WindowsVersions.Builder, com.google.container.v1beta1.WindowsVersionsOrBuilder>( + getWindowsVersions(), + getParentForChildren(), + isClean()); windowsVersions_ = null; } return windowsVersionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1453,12 +1289,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpgradeAvailableEvent) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpgradeAvailableEvent) private static final com.google.container.v1beta1.UpgradeAvailableEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpgradeAvailableEvent(); } @@ -1467,27 +1303,27 @@ public static com.google.container.v1beta1.UpgradeAvailableEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeAvailableEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeAvailableEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1502,4 +1338,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpgradeAvailableEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java similarity index 77% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java index 25095b9b3422..d82a31892276 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java @@ -1,107 +1,72 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface UpgradeAvailableEventOrBuilder - extends +public interface UpgradeAvailableEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpgradeAvailableEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The release version available for upgrade.
    * 
* * string version = 1; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** - * - * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; - * * @return The resourceType. */ com.google.container.v1beta1.UpgradeResourceType getResourceType(); /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; - * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; - * * @return The releaseChannel. */ com.google.container.v1beta1.ReleaseChannel getReleaseChannel(); /** - * - * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -112,59 +77,46 @@ public interface UpgradeAvailableEventOrBuilder
   com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder();
 
   /**
-   *
-   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); /** - * - * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; - * * @return Whether the windowsVersions field is set. */ boolean hasWindowsVersions(); /** - * - * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; - * * @return The windowsVersions. */ com.google.container.v1beta1.WindowsVersions getWindowsVersions(); /** - * - * *
    * Windows node versions info.
    * 
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java index ec33f5370883..b2d42dc7d09f 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * UpgradeEvent is a notification sent to customers by the cluster server when
  * a resource is upgrading.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.UpgradeEvent}
  */
-public final class UpgradeEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpgradeEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpgradeEvent)
     UpgradeEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpgradeEvent.newBuilder() to construct.
   private UpgradeEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpgradeEvent() {
     resourceType_ = 0;
     operation_ = "";
@@ -48,77 +30,64 @@ private UpgradeEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpgradeEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.UpgradeEvent.class,
-            com.google.container.v1beta1.UpgradeEvent.Builder.class);
+            com.google.container.v1beta1.UpgradeEvent.class, com.google.container.v1beta1.UpgradeEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private int resourceType_;
   /**
-   *
-   *
    * 
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @return The resourceType. */ - @java.lang.Override - public com.google.container.v1beta1.UpgradeResourceType getResourceType() { + @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = - com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int OPERATION_FIELD_NUMBER = 2; private volatile java.lang.Object operation_; /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The operation. */ @java.lang.Override @@ -127,29 +96,29 @@ public java.lang.String getOperation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } } /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The bytes for operation. */ @java.lang.Override - public com.google.protobuf.ByteString getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -160,14 +129,11 @@ public com.google.protobuf.ByteString getOperationBytes() { public static final int OPERATION_START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp operationStartTime_; /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return Whether the operationStartTime field is set. */ @java.lang.Override @@ -175,25 +141,18 @@ public boolean hasOperationStartTime() { return operationStartTime_ != null; } /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return The operationStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOperationStartTime() { - return operationStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : operationStartTime_; + return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; } /** - * - * *
    * The time when the operation was started.
    * 
@@ -208,14 +167,11 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { public static final int CURRENT_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object currentVersion_; /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The currentVersion. */ @java.lang.Override @@ -224,29 +180,29 @@ public java.lang.String getCurrentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; } } /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The bytes for currentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getCurrentVersionBytes() { + public com.google.protobuf.ByteString + getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -257,14 +213,11 @@ public com.google.protobuf.ByteString getCurrentVersionBytes() { public static final int TARGET_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object targetVersion_; /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The targetVersion. */ @java.lang.Override @@ -273,29 +226,29 @@ public java.lang.String getTargetVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; } } /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The bytes for targetVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -306,15 +259,12 @@ public com.google.protobuf.ByteString getTargetVersionBytes() { public static final int RESOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object resource_; /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The resource. */ @java.lang.Override @@ -323,30 +273,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -355,7 +305,6 @@ public com.google.protobuf.ByteString getResourceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,10 +316,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (resourceType_ - != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { @@ -397,16 +345,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (resourceType_ - != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, resourceType_); + if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); } if (operationStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOperationStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOperationStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, currentVersion_); @@ -425,23 +373,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpgradeEvent)) { return super.equals(obj); } - com.google.container.v1beta1.UpgradeEvent other = - (com.google.container.v1beta1.UpgradeEvent) obj; + com.google.container.v1beta1.UpgradeEvent other = (com.google.container.v1beta1.UpgradeEvent) obj; if (resourceType_ != other.resourceType_) return false; - if (!getOperation().equals(other.getOperation())) return false; + if (!getOperation() + .equals(other.getOperation())) return false; if (hasOperationStartTime() != other.hasOperationStartTime()) return false; if (hasOperationStartTime()) { - if (!getOperationStartTime().equals(other.getOperationStartTime())) return false; - } - if (!getCurrentVersion().equals(other.getCurrentVersion())) return false; - if (!getTargetVersion().equals(other.getTargetVersion())) return false; - if (!getResource().equals(other.getResource())) return false; + if (!getOperationStartTime() + .equals(other.getOperationStartTime())) return false; + } + if (!getCurrentVersion() + .equals(other.getCurrentVersion())) return false; + if (!getTargetVersion() + .equals(other.getTargetVersion())) return false; + if (!getResource() + .equals(other.getResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -472,104 +424,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.UpgradeEvent parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.UpgradeEvent parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpgradeEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpgradeEvent parseFrom( 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.UpgradeEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UpgradeEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.UpgradeEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpgradeEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.UpgradeEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.UpgradeEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpgradeEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpgradeEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UpgradeEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.UpgradeEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UpgradeEvent is a notification sent to customers by the cluster server when
    * a resource is upgrading.
@@ -577,32 +522,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.UpgradeEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpgradeEvent)
       com.google.container.v1beta1.UpgradeEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.UpgradeEvent.class,
-              com.google.container.v1beta1.UpgradeEvent.Builder.class);
+              com.google.container.v1beta1.UpgradeEvent.class, com.google.container.v1beta1.UpgradeEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.UpgradeEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -626,9 +572,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
@@ -647,8 +593,7 @@ public com.google.container.v1beta1.UpgradeEvent build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.UpgradeEvent buildPartial() {
-      com.google.container.v1beta1.UpgradeEvent result =
-          new com.google.container.v1beta1.UpgradeEvent(this);
+      com.google.container.v1beta1.UpgradeEvent result = new com.google.container.v1beta1.UpgradeEvent(this);
       result.resourceType_ = resourceType_;
       result.operation_ = operation_;
       if (operationStartTimeBuilder_ == null) {
@@ -667,39 +612,38 @@ public com.google.container.v1beta1.UpgradeEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.UpgradeEvent) {
-        return mergeFrom((com.google.container.v1beta1.UpgradeEvent) other);
+        return mergeFrom((com.google.container.v1beta1.UpgradeEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -756,50 +700,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                resourceType_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 18:
-              {
-                operation_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getOperationStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                currentVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                targetVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                resource_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              resourceType_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 18: {
+              operation_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getOperationStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              currentVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              targetVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              resource_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -812,67 +750,51 @@ public Builder mergeFrom(
 
     private int resourceType_ = 0;
     /**
-     *
-     *
      * 
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override - public int getResourceTypeValue() { + @java.lang.Override public int getResourceTypeValue() { return resourceType_; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @return The resourceType. */ @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = - com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); - return result == null - ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED - : result; + com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -880,24 +802,21 @@ public Builder setResourceType(com.google.container.v1beta1.UpgradeResourceType if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -905,20 +824,18 @@ public Builder clearResourceType() { private java.lang.Object operation_ = ""; /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; @@ -927,21 +844,20 @@ public java.lang.String getOperation() { } } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @return The bytes for operation. */ - public com.google.protobuf.ByteString getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); operation_ = b; return b; } else { @@ -949,61 +865,54 @@ public com.google.protobuf.ByteString getOperationBytes() { } } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(java.lang.String value) { + public Builder setOperation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operation_ = value; onChanged(); return this; } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @return This builder for chaining. */ public Builder clearOperation() { - + operation_ = getDefaultInstance().getOperation(); onChanged(); return this; } /** - * - * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; - * * @param value The bytes for operation to set. * @return This builder for chaining. */ - public Builder setOperationBytes(com.google.protobuf.ByteString value) { + public Builder setOperationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operation_ = value; onChanged(); return this; @@ -1011,47 +920,34 @@ public Builder setOperationBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp operationStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - operationStartTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> operationStartTimeBuilder_; /** - * - * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return Whether the operationStartTime field is set. */ public boolean hasOperationStartTime() { return operationStartTimeBuilder_ != null || operationStartTime_ != null; } /** - * - * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return The operationStartTime. */ public com.google.protobuf.Timestamp getOperationStartTime() { if (operationStartTimeBuilder_ == null) { - return operationStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : operationStartTime_; + return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; } else { return operationStartTimeBuilder_.getMessage(); } } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1072,15 +968,14 @@ public Builder setOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; */ - public Builder setOperationStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setOperationStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (operationStartTimeBuilder_ == null) { operationStartTime_ = builderForValue.build(); onChanged(); @@ -1091,8 +986,6 @@ public Builder setOperationStartTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1103,9 +996,7 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { if (operationStartTimeBuilder_ == null) { if (operationStartTime_ != null) { operationStartTime_ = - com.google.protobuf.Timestamp.newBuilder(operationStartTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(operationStartTime_).mergeFrom(value).buildPartial(); } else { operationStartTime_ = value; } @@ -1117,8 +1008,6 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1137,8 +1026,6 @@ public Builder clearOperationStartTime() { return this; } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1146,13 +1033,11 @@ public Builder clearOperationStartTime() { * .google.protobuf.Timestamp operation_start_time = 3; */ public com.google.protobuf.Timestamp.Builder getOperationStartTimeBuilder() { - + onChanged(); return getOperationStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1163,14 +1048,11 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { if (operationStartTimeBuilder_ != null) { return operationStartTimeBuilder_.getMessageOrBuilder(); } else { - return operationStartTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : operationStartTime_; + return operationStartTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; } } /** - * - * *
      * The time when the operation was started.
      * 
@@ -1178,17 +1060,14 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { * .google.protobuf.Timestamp operation_start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getOperationStartTimeFieldBuilder() { if (operationStartTimeBuilder_ == null) { - operationStartTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getOperationStartTime(), getParentForChildren(), isClean()); + operationStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getOperationStartTime(), + getParentForChildren(), + isClean()); operationStartTime_ = null; } return operationStartTimeBuilder_; @@ -1196,20 +1075,18 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { private java.lang.Object currentVersion_ = ""; /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @return The currentVersion. */ public java.lang.String getCurrentVersion() { java.lang.Object ref = currentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; @@ -1218,21 +1095,20 @@ public java.lang.String getCurrentVersion() { } } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @return The bytes for currentVersion. */ - public com.google.protobuf.ByteString getCurrentVersionBytes() { + public com.google.protobuf.ByteString + getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -1240,61 +1116,54 @@ public com.google.protobuf.ByteString getCurrentVersionBytes() { } } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @param value The currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersion(java.lang.String value) { + public Builder setCurrentVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentVersion_ = value; onChanged(); return this; } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @return This builder for chaining. */ public Builder clearCurrentVersion() { - + currentVersion_ = getDefaultInstance().getCurrentVersion(); onChanged(); return this; } /** - * - * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; - * * @param value The bytes for currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) { + public Builder setCurrentVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentVersion_ = value; onChanged(); return this; @@ -1302,20 +1171,18 @@ public Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object targetVersion_ = ""; /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; @@ -1324,21 +1191,20 @@ public java.lang.String getTargetVersion() { } } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @return The bytes for targetVersion. */ - public com.google.protobuf.ByteString getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -1346,61 +1212,54 @@ public com.google.protobuf.ByteString getTargetVersionBytes() { } } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @param value The targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersion(java.lang.String value) { + public Builder setTargetVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetVersion_ = value; onChanged(); return this; } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @return This builder for chaining. */ public Builder clearTargetVersion() { - + targetVersion_ = getDefaultInstance().getTargetVersion(); onChanged(); return this; } /** - * - * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; - * * @param value The bytes for targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { + public Builder setTargetVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetVersion_ = value; onChanged(); return this; @@ -1408,21 +1267,19 @@ public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { private java.lang.Object resource_ = ""; /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1431,22 +1288,21 @@ public java.lang.String getResource() { } } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @return The bytes for resource. */ - public com.google.protobuf.ByteString getResourceBytes() { + public com.google.protobuf.ByteString + getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); resource_ = b; return b; } else { @@ -1454,71 +1310,64 @@ public com.google.protobuf.ByteString getResourceBytes() { } } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource(java.lang.String value) { + public Builder setResource( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** - * - * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; - * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes(com.google.protobuf.ByteString value) { + public Builder setResourceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1528,12 +1377,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpgradeEvent) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpgradeEvent) private static final com.google.container.v1beta1.UpgradeEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpgradeEvent(); } @@ -1542,27 +1391,27 @@ public static com.google.container.v1beta1.UpgradeEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1577,4 +1426,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpgradeEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java similarity index 74% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java index c6ae8da3fe12..b8a4dda87565 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java @@ -1,105 +1,70 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface UpgradeEventOrBuilder - extends +public interface UpgradeEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpgradeEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** - * - * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; - * * @return The resourceType. */ com.google.container.v1beta1.UpgradeResourceType getResourceType(); /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The operation. */ java.lang.String getOperation(); /** - * - * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; - * * @return The bytes for operation. */ - com.google.protobuf.ByteString getOperationBytes(); + com.google.protobuf.ByteString + getOperationBytes(); /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return Whether the operationStartTime field is set. */ boolean hasOperationStartTime(); /** - * - * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; - * * @return The operationStartTime. */ com.google.protobuf.Timestamp getOperationStartTime(); /** - * - * *
    * The time when the operation was started.
    * 
@@ -109,79 +74,64 @@ public interface UpgradeEventOrBuilder com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder(); /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The currentVersion. */ java.lang.String getCurrentVersion(); /** - * - * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; - * * @return The bytes for currentVersion. */ - com.google.protobuf.ByteString getCurrentVersionBytes(); + com.google.protobuf.ByteString + getCurrentVersionBytes(); /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The targetVersion. */ java.lang.String getTargetVersion(); /** - * - * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; - * * @return The bytes for targetVersion. */ - com.google.protobuf.ByteString getTargetVersionBytes(); + com.google.protobuf.ByteString + getTargetVersionBytes(); /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The resource. */ java.lang.String getResource(); /** - * - * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; - * * @return The bytes for resource. */ - com.google.protobuf.ByteString getResourceBytes(); + com.google.protobuf.ByteString + getResourceBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java index 317f441b67c3..30127a2e676d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * UpgradeResourceType is the resource type that is upgrading. It is used
  * in upgrade notifications.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.container.v1beta1.UpgradeResourceType}
  */
-public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEnum {
+public enum UpgradeResourceType
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * Default value. This shouldn't be used.
    * 
@@ -40,8 +22,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ UPGRADE_RESOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Master / control plane
    * 
@@ -50,8 +30,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ MASTER(1), /** - * - * *
    * Node pool
    * 
@@ -63,8 +41,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn ; /** - * - * *
    * Default value. This shouldn't be used.
    * 
@@ -73,8 +49,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int UPGRADE_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Master / control plane
    * 
@@ -83,8 +57,6 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int MASTER_VALUE = 1; /** - * - * *
    * Node pool
    * 
@@ -93,6 +65,7 @@ public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEn */ public static final int NODE_POOL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -117,14 +90,10 @@ public static UpgradeResourceType valueOf(int value) { */ public static UpgradeResourceType forNumber(int value) { switch (value) { - case 0: - return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; - case 1: - return MASTER; - case 2: - return NODE_POOL; - default: - return null; + case 0: return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; + case 1: return MASTER; + case 2: return NODE_POOL; + default: return null; } } @@ -132,28 +101,28 @@ public static UpgradeResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UpgradeResourceType findValueByNumber(int number) { - return UpgradeResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + UpgradeResourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UpgradeResourceType findValueByNumber(int number) { + return UpgradeResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); } @@ -162,7 +131,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static UpgradeResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -178,3 +148,4 @@ private UpgradeResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1beta1.UpgradeResourceType) } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java similarity index 67% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java index 6dd934bd0b8a..41f06f126761 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * UsableSubnetwork resource returns the subnetwork name, its associated network
  * and the primary CIDR range.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.UsableSubnetwork}
  */
-public final class UsableSubnetwork extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UsableSubnetwork extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.UsableSubnetwork)
     UsableSubnetworkOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UsableSubnetwork.newBuilder() to construct.
   private UsableSubnetwork(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UsableSubnetwork() {
     subnetwork_ = "";
     network_ = "";
@@ -48,42 +30,38 @@ private UsableSubnetwork() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UsableSubnetwork();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.UsableSubnetwork.class,
-            com.google.container.v1beta1.UsableSubnetwork.Builder.class);
+            com.google.container.v1beta1.UsableSubnetwork.class, com.google.container.v1beta1.UsableSubnetwork.Builder.class);
   }
 
   public static final int SUBNETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object subnetwork_;
   /**
-   *
-   *
    * 
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The subnetwork. */ @java.lang.Override @@ -92,30 +70,30 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** - * - * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -126,15 +104,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { public static final int NETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object network_; /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The network. */ @java.lang.Override @@ -143,30 +118,30 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -177,14 +152,11 @@ public com.google.protobuf.ByteString getNetworkBytes() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object ipCidrRange_; /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The ipCidrRange. */ @java.lang.Override @@ -193,29 +165,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -224,94 +196,68 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { } public static final int SECONDARY_IP_RANGES_FIELD_NUMBER = 4; - private java.util.List - secondaryIpRanges_; + private java.util.List secondaryIpRanges_; /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override - public java.util.List - getSecondaryIpRangesList() { + public java.util.List getSecondaryIpRangesList() { return secondaryIpRanges_; } /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override - public java.util.List< - ? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> + public java.util.List getSecondaryIpRangesOrBuilderList() { return secondaryIpRanges_; } /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override public int getSecondaryIpRangesCount() { return secondaryIpRanges_.size(); } /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges( - int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { return secondaryIpRanges_.get(index); } /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ @java.lang.Override - public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder - getSecondaryIpRangesOrBuilder(int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( + int index) { return secondaryIpRanges_.get(index); } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -320,7 +266,6 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryI
    * 
* * string status_message = 5; - * * @return The statusMessage. */ @java.lang.Override @@ -329,15 +274,14 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -346,15 +290,16 @@ public java.lang.String getStatusMessage() {
    * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -363,7 +308,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -375,7 +319,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subnetwork_); } @@ -410,8 +355,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipCidrRange_); } for (int i = 0; i < secondaryIpRanges_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, secondaryIpRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, secondaryIpRanges_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -424,19 +369,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UsableSubnetwork)) { return super.equals(obj); } - com.google.container.v1beta1.UsableSubnetwork other = - (com.google.container.v1beta1.UsableSubnetwork) obj; - - if (!getSubnetwork().equals(other.getSubnetwork())) return false; - if (!getNetwork().equals(other.getNetwork())) return false; - if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; - if (!getSecondaryIpRangesList().equals(other.getSecondaryIpRangesList())) return false; - if (!getStatusMessage().equals(other.getStatusMessage())) return false; + com.google.container.v1beta1.UsableSubnetwork other = (com.google.container.v1beta1.UsableSubnetwork) obj; + + if (!getSubnetwork() + .equals(other.getSubnetwork())) return false; + if (!getNetwork() + .equals(other.getNetwork())) return false; + if (!getIpCidrRange() + .equals(other.getIpCidrRange())) return false; + if (!getSecondaryIpRangesList() + .equals(other.getSecondaryIpRangesList())) return false; + if (!getStatusMessage() + .equals(other.getStatusMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -465,104 +414,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.UsableSubnetwork parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetwork parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom( 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.UsableSubnetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.UsableSubnetwork parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.UsableSubnetwork parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UsableSubnetwork parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.UsableSubnetwork prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * UsableSubnetwork resource returns the subnetwork name, its associated network
    * and the primary CIDR range.
@@ -570,32 +512,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.UsableSubnetwork}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UsableSubnetwork)
       com.google.container.v1beta1.UsableSubnetworkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.UsableSubnetwork.class,
-              com.google.container.v1beta1.UsableSubnetwork.Builder.class);
+              com.google.container.v1beta1.UsableSubnetwork.class, com.google.container.v1beta1.UsableSubnetwork.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.UsableSubnetwork.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -618,9 +561,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
@@ -639,8 +582,7 @@ public com.google.container.v1beta1.UsableSubnetwork build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.UsableSubnetwork buildPartial() {
-      com.google.container.v1beta1.UsableSubnetwork result =
-          new com.google.container.v1beta1.UsableSubnetwork(this);
+      com.google.container.v1beta1.UsableSubnetwork result = new com.google.container.v1beta1.UsableSubnetwork(this);
       int from_bitField0_ = bitField0_;
       result.subnetwork_ = subnetwork_;
       result.network_ = network_;
@@ -663,39 +605,38 @@ public com.google.container.v1beta1.UsableSubnetwork buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.UsableSubnetwork) {
-        return mergeFrom((com.google.container.v1beta1.UsableSubnetwork) other);
+        return mergeFrom((com.google.container.v1beta1.UsableSubnetwork)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -734,10 +675,9 @@ public Builder mergeFrom(com.google.container.v1beta1.UsableSubnetwork other) {
             secondaryIpRangesBuilder_ = null;
             secondaryIpRanges_ = other.secondaryIpRanges_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            secondaryIpRangesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSecondaryIpRangesFieldBuilder()
-                    : null;
+            secondaryIpRangesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSecondaryIpRangesFieldBuilder() : null;
           } else {
             secondaryIpRangesBuilder_.addAllMessages(other.secondaryIpRanges_);
           }
@@ -773,51 +713,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                subnetwork_ = input.readStringRequireUtf8();
+            case 10: {
+              subnetwork_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                network_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              network_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                ipCidrRange_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              ipCidrRange_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.container.v1beta1.UsableSubnetworkSecondaryRange m =
-                    input.readMessage(
-                        com.google.container.v1beta1.UsableSubnetworkSecondaryRange.parser(),
-                        extensionRegistry);
-                if (secondaryIpRangesBuilder_ == null) {
-                  ensureSecondaryIpRangesIsMutable();
-                  secondaryIpRanges_.add(m);
-                } else {
-                  secondaryIpRangesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            case 42:
-              {
-                statusMessage_ = input.readStringRequireUtf8();
+              break;
+            } // case 26
+            case 34: {
+              com.google.container.v1beta1.UsableSubnetworkSecondaryRange m =
+                  input.readMessage(
+                      com.google.container.v1beta1.UsableSubnetworkSecondaryRange.parser(),
+                      extensionRegistry);
+              if (secondaryIpRangesBuilder_ == null) {
+                ensureSecondaryIpRangesIsMutable();
+                secondaryIpRanges_.add(m);
+              } else {
+                secondaryIpRangesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            case 42: {
+              statusMessage_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -827,26 +761,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object subnetwork_ = "";
     /**
-     *
-     *
      * 
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -855,22 +786,21 @@ public java.lang.String getSubnetwork() { } } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString getSubnetworkBytes() { + public com.google.protobuf.ByteString + getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -878,64 +808,57 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { } } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork(java.lang.String value) { + public Builder setSubnetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** - * - * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; - * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; @@ -943,21 +866,19 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object network_ = ""; /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -966,22 +887,21 @@ public java.lang.String getNetwork() { } } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @return The bytes for network. */ - public com.google.protobuf.ByteString getNetworkBytes() { + public com.google.protobuf.ByteString + getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); network_ = b; return b; } else { @@ -989,64 +909,57 @@ public com.google.protobuf.ByteString getNetworkBytes() { } } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork(java.lang.String value) { + public Builder setNetwork( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** - * - * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; - * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + public Builder setNetworkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1054,20 +967,18 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipCidrRange_ = ""; /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -1076,21 +987,20 @@ public java.lang.String getIpCidrRange() { } } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -1098,97 +1008,79 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { } } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange(java.lang.String value) { + public Builder setIpCidrRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** - * - * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; - * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; } - private java.util.List - secondaryIpRanges_ = java.util.Collections.emptyList(); - + private java.util.List secondaryIpRanges_ = + java.util.Collections.emptyList(); private void ensureSecondaryIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - secondaryIpRanges_ = - new java.util.ArrayList( - secondaryIpRanges_); + secondaryIpRanges_ = new java.util.ArrayList(secondaryIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetworkSecondaryRange, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, - com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> - secondaryIpRangesBuilder_; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> secondaryIpRangesBuilder_; /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public java.util.List - getSecondaryIpRangesList() { + public java.util.List getSecondaryIpRangesList() { if (secondaryIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(secondaryIpRanges_); } else { @@ -1196,15 +1088,11 @@ private void ensureSecondaryIpRangesIsMutable() { } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public int getSecondaryIpRangesCount() { if (secondaryIpRangesBuilder_ == null) { @@ -1214,18 +1102,13 @@ public int getSecondaryIpRangesCount() { } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges( - int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { if (secondaryIpRangesBuilder_ == null) { return secondaryIpRanges_.get(index); } else { @@ -1233,15 +1116,11 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryI } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder setSecondaryIpRanges( int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { @@ -1258,19 +1137,14 @@ public Builder setSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder setSecondaryIpRanges( - int index, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { + int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); secondaryIpRanges_.set(index, builderForValue.build()); @@ -1281,18 +1155,13 @@ public Builder setSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public Builder addSecondaryIpRanges( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { + public Builder addSecondaryIpRanges(com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { if (secondaryIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1306,15 +1175,11 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addSecondaryIpRanges( int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { @@ -1331,15 +1196,11 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addSecondaryIpRanges( com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1353,19 +1214,14 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addSecondaryIpRanges( - int index, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { + int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); secondaryIpRanges_.add(index, builderForValue.build()); @@ -1376,22 +1232,18 @@ public Builder addSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder addAllSecondaryIpRanges( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, secondaryIpRanges_); onChanged(); } else { secondaryIpRangesBuilder_.addAllMessages(values); @@ -1399,15 +1251,11 @@ public Builder addAllSecondaryIpRanges( return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder clearSecondaryIpRanges() { if (secondaryIpRangesBuilder_ == null) { @@ -1420,15 +1268,11 @@ public Builder clearSecondaryIpRanges() { return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ public Builder removeSecondaryIpRanges(int index) { if (secondaryIpRangesBuilder_ == null) { @@ -1441,53 +1285,39 @@ public Builder removeSecondaryIpRanges(int index) { return this; } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder - getSecondaryIpRangesBuilder(int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder( + int index) { return getSecondaryIpRangesFieldBuilder().getBuilder(index); } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder - getSecondaryIpRangesOrBuilder(int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( + int index) { if (secondaryIpRangesBuilder_ == null) { - return secondaryIpRanges_.get(index); - } else { + return secondaryIpRanges_.get(index); } else { return secondaryIpRangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public java.util.List< - ? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> - getSecondaryIpRangesOrBuilderList() { + public java.util.List + getSecondaryIpRangesOrBuilderList() { if (secondaryIpRangesBuilder_ != null) { return secondaryIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1495,67 +1325,45 @@ public Builder removeSecondaryIpRanges(int index) { } } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder - addSecondaryIpRangesBuilder() { - return getSecondaryIpRangesFieldBuilder() - .addBuilder( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder() { + return getSecondaryIpRangesFieldBuilder().addBuilder( + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder - addSecondaryIpRangesBuilder(int index) { - return getSecondaryIpRangesFieldBuilder() - .addBuilder( - index, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder( + int index) { + return getSecondaryIpRangesFieldBuilder().addBuilder( + index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** - * - * *
      * Secondary IP ranges.
      * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - public java.util.List - getSecondaryIpRangesBuilderList() { + public java.util.List + getSecondaryIpRangesBuilderList() { return getSecondaryIpRangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetworkSecondaryRange, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, - com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> + com.google.container.v1beta1.UsableSubnetworkSecondaryRange, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesFieldBuilder() { if (secondaryIpRangesBuilder_ == null) { - secondaryIpRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetworkSecondaryRange, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, - com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder>( + secondaryIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.UsableSubnetworkSecondaryRange, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder>( secondaryIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1567,8 +1375,6 @@ public Builder removeSecondaryIpRanges(int index) { private java.lang.Object statusMessage_ = ""; /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1577,13 +1383,13 @@ public Builder removeSecondaryIpRanges(int index) {
      * 
* * string status_message = 5; - * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1592,8 +1398,6 @@ public java.lang.String getStatusMessage() { } } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1602,14 +1406,15 @@ public java.lang.String getStatusMessage() {
      * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString getStatusMessageBytes() { + public com.google.protobuf.ByteString + getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1617,8 +1422,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1627,22 +1430,20 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
      * 
* * string status_message = 5; - * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage(java.lang.String value) { + public Builder setStatusMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1651,18 +1452,15 @@ public Builder setStatusMessage(java.lang.String value) {
      * 
* * string status_message = 5; - * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** - * - * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1671,23 +1469,23 @@ public Builder clearStatusMessage() {
      * 
* * string status_message = 5; - * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1697,12 +1495,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UsableSubnetwork) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UsableSubnetwork) private static final com.google.container.v1beta1.UsableSubnetwork DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UsableSubnetwork(); } @@ -1711,27 +1509,27 @@ public static com.google.container.v1beta1.UsableSubnetwork getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetwork parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetwork parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1746,4 +1544,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UsableSubnetwork getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java index 70038b7a206e..7bf2490099a5 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java @@ -1,174 +1,121 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface UsableSubnetworkOrBuilder - extends +public interface UsableSubnetworkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UsableSubnetwork) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** - * - * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; - * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString getSubnetworkBytes(); + com.google.protobuf.ByteString + getSubnetworkBytes(); /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The network. */ java.lang.String getNetwork(); /** - * - * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; - * * @return The bytes for network. */ - com.google.protobuf.ByteString getNetworkBytes(); + com.google.protobuf.ByteString + getNetworkBytes(); /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** - * - * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; - * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString getIpCidrRangeBytes(); + com.google.protobuf.ByteString + getIpCidrRangeBytes(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - java.util.List + java.util.List getSecondaryIpRangesList(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index); /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ int getSecondaryIpRangesCount(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - java.util.List + java.util.List getSecondaryIpRangesOrBuilderList(); /** - * - * *
    * Secondary IP ranges.
    * 
* - * - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; - * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; */ - com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder - getSecondaryIpRangesOrBuilder(int index); + com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( + int index); /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -177,13 +124,10 @@ public interface UsableSubnetworkOrBuilder
    * 
* * string status_message = 5; - * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** - * - * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -192,8 +136,8 @@ public interface UsableSubnetworkOrBuilder
    * 
* * string status_message = 5; - * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString getStatusMessageBytes(); + com.google.protobuf.ByteString + getStatusMessageBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java index b2ac95d05bbc..728cbcedacd9 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Secondary IP range of a usable subnetwork.
  * 
* * Protobuf type {@code google.container.v1beta1.UsableSubnetworkSecondaryRange} */ -public final class UsableSubnetworkSecondaryRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UsableSubnetworkSecondaryRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UsableSubnetworkSecondaryRange) UsableSubnetworkSecondaryRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UsableSubnetworkSecondaryRange.newBuilder() to construct. - private UsableSubnetworkSecondaryRange( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UsableSubnetworkSecondaryRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UsableSubnetworkSecondaryRange() { rangeName_ = ""; ipCidrRange_ = ""; @@ -46,43 +27,39 @@ private UsableSubnetworkSecondaryRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UsableSubnetworkSecondaryRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); } /** - * - * *
    * Status shows the current usage of a secondary IP range.
    * 
* * Protobuf enum {@code google.container.v1beta1.UsableSubnetworkSecondaryRange.Status} */ - public enum Status implements com.google.protobuf.ProtocolMessageEnum { + public enum Status + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -91,8 +68,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(0), /** - * - * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -101,8 +76,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ UNUSED(1), /** - * - * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -112,8 +85,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     IN_USE_SERVICE(2),
     /**
-     *
-     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -124,8 +95,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     IN_USE_SHAREABLE_POD(3),
     /**
-     *
-     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -138,8 +107,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -148,8 +115,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 0; /** - * - * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -158,8 +123,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNUSED_VALUE = 1; /** - * - * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -169,8 +132,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IN_USE_SERVICE_VALUE = 2;
     /**
-     *
-     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -181,8 +142,6 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IN_USE_SHAREABLE_POD_VALUE = 3;
     /**
-     *
-     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -192,6 +151,7 @@ public enum Status implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IN_USE_MANAGED_POD_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -216,55 +176,51 @@ public static Status valueOf(int value) {
      */
     public static Status forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNKNOWN;
-        case 1:
-          return UNUSED;
-        case 2:
-          return IN_USE_SERVICE;
-        case 3:
-          return IN_USE_SHAREABLE_POD;
-        case 4:
-          return IN_USE_MANAGED_POD;
-        default:
-          return null;
+        case 0: return UNKNOWN;
+        case 1: return UNUSED;
+        case 2: return IN_USE_SERVICE;
+        case 3: return IN_USE_SHAREABLE_POD;
+        case 4: return IN_USE_MANAGED_POD;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Status findValueByNumber(int number) {
-            return Status.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Status> 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() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -284,15 +240,12 @@ private Status(int value) {
   public static final int RANGE_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object rangeName_;
   /**
-   *
-   *
    * 
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The rangeName. */ @java.lang.Override @@ -301,30 +254,30 @@ public java.lang.String getRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; } } /** - * - * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The bytes for rangeName. */ @java.lang.Override - public com.google.protobuf.ByteString getRangeNameBytes() { + public com.google.protobuf.ByteString + getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rangeName_ = b; return b; } else { @@ -335,14 +288,11 @@ public com.google.protobuf.ByteString getRangeNameBytes() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 2; private volatile java.lang.Object ipCidrRange_; /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The ipCidrRange. */ @java.lang.Override @@ -351,29 +301,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -384,43 +334,31 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { public static final int STATUS_FIELD_NUMBER = 3; private int status_; /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The status. */ - @java.lang.Override - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus() { + @java.lang.Override public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null - ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED - : result; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -432,15 +370,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rangeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ipCidrRange_); } - if (status_ - != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + if (status_ != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { output.writeEnum(3, status_); } getUnknownFields().writeTo(output); @@ -458,9 +396,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ipCidrRange_); } - if (status_ - != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, status_); + if (status_ != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, status_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -470,16 +408,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UsableSubnetworkSecondaryRange)) { return super.equals(obj); } - com.google.container.v1beta1.UsableSubnetworkSecondaryRange other = - (com.google.container.v1beta1.UsableSubnetworkSecondaryRange) obj; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange other = (com.google.container.v1beta1.UsableSubnetworkSecondaryRange) obj; - if (!getRangeName().equals(other.getRangeName())) return false; - if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; + if (!getRangeName() + .equals(other.getRangeName())) return false; + if (!getIpCidrRange() + .equals(other.getIpCidrRange())) return false; if (status_ != other.status_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -504,136 +443,129 @@ public int hashCode() { } public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( 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.UsableSubnetworkSecondaryRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange prototype) { + public static Builder newBuilder(com.google.container.v1beta1.UsableSubnetworkSecondaryRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Secondary IP range of a usable subnetwork.
    * 
* * Protobuf type {@code google.container.v1beta1.UsableSubnetworkSecondaryRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UsableSubnetworkSecondaryRange) com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); } // Construct using com.google.container.v1beta1.UsableSubnetworkSecondaryRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -647,9 +579,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override @@ -668,8 +600,7 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange build() { @java.lang.Override public com.google.container.v1beta1.UsableSubnetworkSecondaryRange buildPartial() { - com.google.container.v1beta1.UsableSubnetworkSecondaryRange result = - new com.google.container.v1beta1.UsableSubnetworkSecondaryRange(this); + com.google.container.v1beta1.UsableSubnetworkSecondaryRange result = new com.google.container.v1beta1.UsableSubnetworkSecondaryRange(this); result.rangeName_ = rangeName_; result.ipCidrRange_ = ipCidrRange_; result.status_ = status_; @@ -681,39 +612,38 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UsableSubnetworkSecondaryRange) { - return mergeFrom((com.google.container.v1beta1.UsableSubnetworkSecondaryRange) other); + return mergeFrom((com.google.container.v1beta1.UsableSubnetworkSecondaryRange)other); } else { super.mergeFrom(other); return this; @@ -721,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UsableSubnetworkSecondaryRange other) { - if (other == com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()) return this; if (!other.getRangeName().isEmpty()) { rangeName_ = other.rangeName_; onChanged(); @@ -760,31 +689,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rangeName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - ipCidrRange_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - status_ = input.readEnum(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rangeName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + ipCidrRange_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + status_ = input.readEnum(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -797,21 +722,19 @@ public Builder mergeFrom( private java.lang.Object rangeName_ = ""; /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @return The rangeName. */ public java.lang.String getRangeName() { java.lang.Object ref = rangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; @@ -820,22 +743,21 @@ public java.lang.String getRangeName() { } } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @return The bytes for rangeName. */ - public com.google.protobuf.ByteString getRangeNameBytes() { + public com.google.protobuf.ByteString + getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); rangeName_ = b; return b; } else { @@ -843,64 +765,57 @@ public com.google.protobuf.ByteString getRangeNameBytes() { } } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @param value The rangeName to set. * @return This builder for chaining. */ - public Builder setRangeName(java.lang.String value) { + public Builder setRangeName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rangeName_ = value; onChanged(); return this; } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @return This builder for chaining. */ public Builder clearRangeName() { - + rangeName_ = getDefaultInstance().getRangeName(); onChanged(); return this; } /** - * - * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; - * * @param value The bytes for rangeName to set. * @return This builder for chaining. */ - public Builder setRangeNameBytes(com.google.protobuf.ByteString value) { + public Builder setRangeNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rangeName_ = value; onChanged(); return this; @@ -908,20 +823,18 @@ public Builder setRangeNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object ipCidrRange_ = ""; /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -930,21 +843,20 @@ public java.lang.String getIpCidrRange() { } } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString getIpCidrRangeBytes() { + public com.google.protobuf.ByteString + getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -952,61 +864,54 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { } } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange(java.lang.String value) { + public Builder setIpCidrRange( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** - * - * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; - * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; @@ -1014,100 +919,80 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { private int status_ = 0; /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The enum numeric value on the wire for status. */ - @java.lang.Override - public int getStatusValue() { + @java.lang.Override public int getStatusValue() { return status_; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null - ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED - : result; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status value) { + public Builder setStatus(com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1117,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UsableSubnetworkSecondaryRange) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UsableSubnetworkSecondaryRange) private static final com.google.container.v1beta1.UsableSubnetworkSecondaryRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UsableSubnetworkSecondaryRange(); } @@ -1131,27 +1016,27 @@ public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetworkSecondaryRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetworkSecondaryRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1166,4 +1051,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java similarity index 68% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java index 60b50a74e684..9ef6f7566751 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java @@ -1,101 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface UsableSubnetworkSecondaryRangeOrBuilder - extends +public interface UsableSubnetworkSecondaryRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UsableSubnetworkSecondaryRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The rangeName. */ java.lang.String getRangeName(); /** - * - * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; - * * @return The bytes for rangeName. */ - com.google.protobuf.ByteString getRangeNameBytes(); + com.google.protobuf.ByteString + getRangeNameBytes(); /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** - * - * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; - * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString getIpCidrRangeBytes(); + com.google.protobuf.ByteString + getIpCidrRangeBytes(); /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** - * - * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; - * * @return The status. */ com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java similarity index 64% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java index 6252b0dc4bd1..81c372292690 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * VerticalPodAutoscaling contains global, per-cluster information
  * required by Vertical Pod Autoscaler to automatically adjust
@@ -29,55 +12,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.VerticalPodAutoscaling}
  */
-public final class VerticalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VerticalPodAutoscaling extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.VerticalPodAutoscaling)
     VerticalPodAutoscalingOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VerticalPodAutoscaling.newBuilder() to construct.
   private VerticalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private VerticalPodAutoscaling() {}
+  private VerticalPodAutoscaling() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VerticalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.VerticalPodAutoscaling.class,
-            com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
+            com.google.container.v1beta1.VerticalPodAutoscaling.class, com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
-   *
-   *
    * 
    * Enables vertical pod autoscaling.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -86,7 +65,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -112,7 +91,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,15 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.VerticalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.VerticalPodAutoscaling other = - (com.google.container.v1beta1.VerticalPodAutoscaling) obj; + com.google.container.v1beta1.VerticalPodAutoscaling other = (com.google.container.v1beta1.VerticalPodAutoscaling) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,110 +123,104 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VerticalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( 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.VerticalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.VerticalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.VerticalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.VerticalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * VerticalPodAutoscaling contains global, per-cluster information
    * required by Vertical Pod Autoscaler to automatically adjust
@@ -255,32 +229,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.VerticalPodAutoscaling}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.VerticalPodAutoscaling)
       com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.VerticalPodAutoscaling.class,
-              com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
+              com.google.container.v1beta1.VerticalPodAutoscaling.class, com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -290,9 +265,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -311,8 +286,7 @@ public com.google.container.v1beta1.VerticalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.VerticalPodAutoscaling buildPartial() {
-      com.google.container.v1beta1.VerticalPodAutoscaling result =
-          new com.google.container.v1beta1.VerticalPodAutoscaling(this);
+      com.google.container.v1beta1.VerticalPodAutoscaling result = new com.google.container.v1beta1.VerticalPodAutoscaling(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -322,39 +296,38 @@ public com.google.container.v1beta1.VerticalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.VerticalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.VerticalPodAutoscaling) other);
+        return mergeFrom((com.google.container.v1beta1.VerticalPodAutoscaling)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -362,8 +335,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.VerticalPodAutoscaling other) {
-      if (other == com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance()) return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -393,19 +365,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                enabled_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              enabled_ = input.readBool();
+
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -416,16 +386,13 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_;
+    private boolean enabled_ ;
     /**
-     *
-     *
      * 
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -433,43 +400,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -479,12 +440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.VerticalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.VerticalPodAutoscaling) private static final com.google.container.v1beta1.VerticalPodAutoscaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.VerticalPodAutoscaling(); } @@ -493,27 +454,27 @@ public static com.google.container.v1beta1.VerticalPodAutoscaling getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerticalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerticalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -528,4 +489,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.VerticalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..782a7a5c0619 --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface VerticalPodAutoscalingOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VerticalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Enables vertical pod autoscaling.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java similarity index 63% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java index e19f4cc4e3cf..c3320314399d 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java @@ -1,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Configuration of gVNIC feature.
  * 
* * Protobuf type {@code google.container.v1beta1.VirtualNIC} */ -public final class VirtualNIC extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VirtualNIC extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.VirtualNIC) VirtualNICOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VirtualNIC.newBuilder() to construct. private VirtualNIC(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private VirtualNIC() {} + private VirtualNIC() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VirtualNIC(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_VirtualNIC_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.VirtualNIC.class, - com.google.container.v1beta1.VirtualNIC.Builder.class); + com.google.container.v1beta1.VirtualNIC.class, com.google.container.v1beta1.VirtualNIC.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** - * - * *
    * Whether gVNIC features are enabled in the node pool.
    * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -84,7 +63,6 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +74,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -110,7 +89,8 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +100,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.VirtualNIC)) { return super.equals(obj); } com.google.container.v1beta1.VirtualNIC other = (com.google.container.v1beta1.VirtualNIC) obj; - if (getEnabled() != other.getEnabled()) return false; + if (getEnabled() + != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -140,142 +121,137 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.VirtualNIC parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.VirtualNIC parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.VirtualNIC parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VirtualNIC parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.VirtualNIC parseFrom( 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.VirtualNIC parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.VirtualNIC parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.VirtualNIC parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.VirtualNIC parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.VirtualNIC parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.VirtualNIC parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.VirtualNIC parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.VirtualNIC parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.VirtualNIC parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.VirtualNIC prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration of gVNIC feature.
    * 
* * Protobuf type {@code google.container.v1beta1.VirtualNIC} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.VirtualNIC) com.google.container.v1beta1.VirtualNICOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_VirtualNIC_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.VirtualNIC.class, - com.google.container.v1beta1.VirtualNIC.Builder.class); + com.google.container.v1beta1.VirtualNIC.class, com.google.container.v1beta1.VirtualNIC.Builder.class); } // Construct using com.google.container.v1beta1.VirtualNIC.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_VirtualNIC_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_descriptor; } @java.lang.Override @@ -306,8 +282,7 @@ public com.google.container.v1beta1.VirtualNIC build() { @java.lang.Override public com.google.container.v1beta1.VirtualNIC buildPartial() { - com.google.container.v1beta1.VirtualNIC result = - new com.google.container.v1beta1.VirtualNIC(this); + com.google.container.v1beta1.VirtualNIC result = new com.google.container.v1beta1.VirtualNIC(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -317,39 +292,38 @@ public com.google.container.v1beta1.VirtualNIC buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.VirtualNIC) { - return mergeFrom((com.google.container.v1beta1.VirtualNIC) other); + return mergeFrom((com.google.container.v1beta1.VirtualNIC)other); } else { super.mergeFrom(other); return this; @@ -387,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - enabled_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + enabled_ = input.readBool(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -410,16 +382,13 @@ public Builder mergeFrom( return this; } - private boolean enabled_; + private boolean enabled_ ; /** - * - * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @return The enabled. */ @java.lang.Override @@ -427,43 +396,37 @@ public boolean getEnabled() { return enabled_; } /** - * - * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** - * - * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; - * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -473,12 +436,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.VirtualNIC) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.VirtualNIC) private static final com.google.container.v1beta1.VirtualNIC DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.VirtualNIC(); } @@ -487,27 +450,27 @@ public static com.google.container.v1beta1.VirtualNIC getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtualNIC parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VirtualNIC parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -522,4 +485,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.VirtualNIC getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java new file mode 100644 index 000000000000..2d3fd0171f3f --- /dev/null +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface VirtualNICOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VirtualNIC) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether gVNIC features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java index f88d46d82381..95fe00b0faa3 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java @@ -1,154 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; /** - * - * *
  * Windows server versions.
  * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions} */ -public final class WindowsVersions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WindowsVersions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WindowsVersions) WindowsVersionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WindowsVersions.newBuilder() to construct. private WindowsVersions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WindowsVersions() { windowsVersions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WindowsVersions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.class, - com.google.container.v1beta1.WindowsVersions.Builder.class); + com.google.container.v1beta1.WindowsVersions.class, com.google.container.v1beta1.WindowsVersions.Builder.class); } - public interface WindowsVersionOrBuilder - extends + public interface WindowsVersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WindowsVersions.WindowsVersion) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Windows server image type
      * 
* * string image_type = 1; - * * @return The imageType. */ java.lang.String getImageType(); /** - * - * *
      * Windows server image type
      * 
* * string image_type = 1; - * * @return The bytes for imageType. */ - com.google.protobuf.ByteString getImageTypeBytes(); + com.google.protobuf.ByteString + getImageTypeBytes(); /** - * - * *
      * Windows server build number
      * 
* * string os_version = 2; - * * @return The osVersion. */ java.lang.String getOsVersion(); /** - * - * *
      * Windows server build number
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString getOsVersionBytes(); + com.google.protobuf.ByteString + getOsVersionBytes(); /** - * - * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; - * * @return Whether the supportEndDate field is set. */ boolean hasSupportEndDate(); /** - * - * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; - * * @return The supportEndDate. */ com.google.type.Date getSupportEndDate(); /** - * - * *
      * Mainstream support end date
      * 
@@ -158,24 +120,21 @@ public interface WindowsVersionOrBuilder com.google.type.DateOrBuilder getSupportEndDateOrBuilder(); } /** - * - * *
    * Windows server version.
    * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions.WindowsVersion} */ - public static final class WindowsVersion extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class WindowsVersion extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WindowsVersions.WindowsVersion) WindowsVersionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsVersion.newBuilder() to construct. private WindowsVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WindowsVersion() { imageType_ = ""; osVersion_ = ""; @@ -183,41 +142,37 @@ private WindowsVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WindowsVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); + com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); } public static final int IMAGE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object imageType_; /** - * - * *
      * Windows server image type
      * 
* * string image_type = 1; - * * @return The imageType. */ @java.lang.Override @@ -226,29 +181,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** - * - * *
      * Windows server image type
      * 
* * string image_type = 1; - * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -259,14 +214,11 @@ public com.google.protobuf.ByteString getImageTypeBytes() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** - * - * *
      * Windows server build number
      * 
* * string os_version = 2; - * * @return The osVersion. */ @java.lang.Override @@ -275,29 +227,29 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** - * - * *
      * Windows server build number
      * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -308,14 +260,11 @@ public com.google.protobuf.ByteString getOsVersionBytes() { public static final int SUPPORT_END_DATE_FIELD_NUMBER = 3; private com.google.type.Date supportEndDate_; /** - * - * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; - * * @return Whether the supportEndDate field is set. */ @java.lang.Override @@ -323,14 +272,11 @@ public boolean hasSupportEndDate() { return supportEndDate_ != null; } /** - * - * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; - * * @return The supportEndDate. */ @java.lang.Override @@ -338,8 +284,6 @@ public com.google.type.Date getSupportEndDate() { return supportEndDate_ == null ? com.google.type.Date.getDefaultInstance() : supportEndDate_; } /** - * - * *
      * Mainstream support end date
      * 
@@ -352,7 +296,6 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -364,7 +307,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageType_); } @@ -390,7 +334,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, osVersion_); } if (supportEndDate_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSupportEndDate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getSupportEndDate()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -400,19 +345,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WindowsVersions.WindowsVersion)) { return super.equals(obj); } - com.google.container.v1beta1.WindowsVersions.WindowsVersion other = - (com.google.container.v1beta1.WindowsVersions.WindowsVersion) obj; + com.google.container.v1beta1.WindowsVersions.WindowsVersion other = (com.google.container.v1beta1.WindowsVersions.WindowsVersion) obj; - if (!getImageType().equals(other.getImageType())) return false; - if (!getOsVersion().equals(other.getOsVersion())) return false; + if (!getImageType() + .equals(other.getImageType())) return false; + if (!getOsVersion() + .equals(other.getOsVersion())) return false; if (hasSupportEndDate() != other.hasSupportEndDate()) return false; if (hasSupportEndDate()) { - if (!getSupportEndDate().equals(other.getSupportEndDate())) return false; + if (!getSupportEndDate() + .equals(other.getSupportEndDate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -439,94 +386,87 @@ public int hashCode() { } public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WindowsVersions.WindowsVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( 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.WindowsVersions.WindowsVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.container.v1beta1.WindowsVersions.WindowsVersion prototype) { + public static Builder newBuilder(com.google.container.v1beta1.WindowsVersions.WindowsVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -536,41 +476,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Windows server version.
      * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions.WindowsVersion} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WindowsVersions.WindowsVersion) com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); + com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); } // Construct using com.google.container.v1beta1.WindowsVersions.WindowsVersion.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -588,14 +526,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; } @java.lang.Override - public com.google.container.v1beta1.WindowsVersions.WindowsVersion - getDefaultInstanceForType() { + public com.google.container.v1beta1.WindowsVersions.WindowsVersion getDefaultInstanceForType() { return com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance(); } @@ -610,8 +547,7 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersion build() { @java.lang.Override public com.google.container.v1beta1.WindowsVersions.WindowsVersion buildPartial() { - com.google.container.v1beta1.WindowsVersions.WindowsVersion result = - new com.google.container.v1beta1.WindowsVersions.WindowsVersion(this); + com.google.container.v1beta1.WindowsVersions.WindowsVersion result = new com.google.container.v1beta1.WindowsVersions.WindowsVersion(this); result.imageType_ = imageType_; result.osVersion_ = osVersion_; if (supportEndDateBuilder_ == null) { @@ -627,41 +563,38 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersion buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.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.WindowsVersions.WindowsVersion) { - return mergeFrom((com.google.container.v1beta1.WindowsVersions.WindowsVersion) other); + return mergeFrom((com.google.container.v1beta1.WindowsVersions.WindowsVersion)other); } else { super.mergeFrom(other); return this; @@ -669,9 +602,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.WindowsVersions.WindowsVersion other) { - if (other - == com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()) return this; if (!other.getImageType().isEmpty()) { imageType_ = other.imageType_; onChanged(); @@ -709,32 +640,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - imageType_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - osVersion_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage( - getSupportEndDateFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + imageType_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + osVersion_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getSupportEndDateFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -747,20 +675,18 @@ public Builder mergeFrom( private java.lang.Object imageType_ = ""; /** - * - * *
        * Windows server image type
        * 
* * string image_type = 1; - * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -769,21 +695,20 @@ public java.lang.String getImageType() { } } /** - * - * *
        * Windows server image type
        * 
* * string image_type = 1; - * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString getImageTypeBytes() { + public com.google.protobuf.ByteString + getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); imageType_ = b; return b; } else { @@ -791,61 +716,54 @@ public com.google.protobuf.ByteString getImageTypeBytes() { } } /** - * - * *
        * Windows server image type
        * 
* * string image_type = 1; - * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType(java.lang.String value) { + public Builder setImageType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** - * - * *
        * Windows server image type
        * 
* * string image_type = 1; - * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** - * - * *
        * Windows server image type
        * 
* * string image_type = 1; - * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -853,20 +771,18 @@ public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { private java.lang.Object osVersion_ = ""; /** - * - * *
        * Windows server build number
        * 
* * string os_version = 2; - * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -875,21 +791,20 @@ public java.lang.String getOsVersion() { } } /** - * - * *
        * Windows server build number
        * 
* * string os_version = 2; - * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString getOsVersionBytes() { + public com.google.protobuf.ByteString + getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); osVersion_ = b; return b; } else { @@ -897,61 +812,54 @@ public com.google.protobuf.ByteString getOsVersionBytes() { } } /** - * - * *
        * Windows server build number
        * 
* * string os_version = 2; - * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion(java.lang.String value) { + public Builder setOsVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** - * - * *
        * Windows server build number
        * 
* * string os_version = 2; - * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** - * - * *
        * Windows server build number
        * 
* * string os_version = 2; - * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; @@ -959,45 +867,34 @@ public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { private com.google.type.Date supportEndDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> - supportEndDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> supportEndDateBuilder_; /** - * - * *
        * Mainstream support end date
        * 
* * .google.type.Date support_end_date = 3; - * * @return Whether the supportEndDate field is set. */ public boolean hasSupportEndDate() { return supportEndDateBuilder_ != null || supportEndDate_ != null; } /** - * - * *
        * Mainstream support end date
        * 
* * .google.type.Date support_end_date = 3; - * * @return The supportEndDate. */ public com.google.type.Date getSupportEndDate() { if (supportEndDateBuilder_ == null) { - return supportEndDate_ == null - ? com.google.type.Date.getDefaultInstance() - : supportEndDate_; + return supportEndDate_ == null ? com.google.type.Date.getDefaultInstance() : supportEndDate_; } else { return supportEndDateBuilder_.getMessage(); } } /** - * - * *
        * Mainstream support end date
        * 
@@ -1018,15 +915,14 @@ public Builder setSupportEndDate(com.google.type.Date value) { return this; } /** - * - * *
        * Mainstream support end date
        * 
* * .google.type.Date support_end_date = 3; */ - public Builder setSupportEndDate(com.google.type.Date.Builder builderForValue) { + public Builder setSupportEndDate( + com.google.type.Date.Builder builderForValue) { if (supportEndDateBuilder_ == null) { supportEndDate_ = builderForValue.build(); onChanged(); @@ -1037,8 +933,6 @@ public Builder setSupportEndDate(com.google.type.Date.Builder builderForValue) { return this; } /** - * - * *
        * Mainstream support end date
        * 
@@ -1049,7 +943,7 @@ public Builder mergeSupportEndDate(com.google.type.Date value) { if (supportEndDateBuilder_ == null) { if (supportEndDate_ != null) { supportEndDate_ = - com.google.type.Date.newBuilder(supportEndDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(supportEndDate_).mergeFrom(value).buildPartial(); } else { supportEndDate_ = value; } @@ -1061,8 +955,6 @@ public Builder mergeSupportEndDate(com.google.type.Date value) { return this; } /** - * - * *
        * Mainstream support end date
        * 
@@ -1081,8 +973,6 @@ public Builder clearSupportEndDate() { return this; } /** - * - * *
        * Mainstream support end date
        * 
@@ -1090,13 +980,11 @@ public Builder clearSupportEndDate() { * .google.type.Date support_end_date = 3; */ public com.google.type.Date.Builder getSupportEndDateBuilder() { - + onChanged(); return getSupportEndDateFieldBuilder().getBuilder(); } /** - * - * *
        * Mainstream support end date
        * 
@@ -1107,14 +995,11 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { if (supportEndDateBuilder_ != null) { return supportEndDateBuilder_.getMessageOrBuilder(); } else { - return supportEndDate_ == null - ? com.google.type.Date.getDefaultInstance() - : supportEndDate_; + return supportEndDate_ == null ? + com.google.type.Date.getDefaultInstance() : supportEndDate_; } } /** - * - * *
        * Mainstream support end date
        * 
@@ -1122,20 +1007,18 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { * .google.type.Date support_end_date = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getSupportEndDateFieldBuilder() { if (supportEndDateBuilder_ == null) { - supportEndDateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, - com.google.type.Date.Builder, - com.google.type.DateOrBuilder>( - getSupportEndDate(), getParentForChildren(), isClean()); + supportEndDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getSupportEndDate(), + getParentForChildren(), + isClean()); supportEndDate_ = null; } return supportEndDateBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1148,13 +1031,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WindowsVersions.WindowsVersion) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WindowsVersions.WindowsVersion) - private static final com.google.container.v1beta1.WindowsVersions.WindowsVersion - DEFAULT_INSTANCE; - + private static final com.google.container.v1beta1.WindowsVersions.WindowsVersion DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WindowsVersions.WindowsVersion(); } @@ -1163,28 +1045,27 @@ public static com.google.container.v1beta1.WindowsVersions.WindowsVersion getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1199,88 +1080,70 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WindowsVersions.WindowsVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int WINDOWS_VERSIONS_FIELD_NUMBER = 1; - private java.util.List - windowsVersions_; + private java.util.List windowsVersions_; /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ @java.lang.Override - public java.util.List - getWindowsVersionsList() { + public java.util.List getWindowsVersionsList() { return windowsVersions_; } /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> + public java.util.List getWindowsVersionsOrBuilderList() { return windowsVersions_; } /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ @java.lang.Override public int getWindowsVersionsCount() { return windowsVersions_.size(); } /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ @java.lang.Override public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions(int index) { return windowsVersions_.get(index); } /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ @java.lang.Override - public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder - getWindowsVersionsOrBuilder(int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder getWindowsVersionsOrBuilder( + int index) { return windowsVersions_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1292,7 +1155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < windowsVersions_.size(); i++) { output.writeMessage(1, windowsVersions_.get(i)); } @@ -1306,7 +1170,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < windowsVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, windowsVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, windowsVersions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1316,15 +1181,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WindowsVersions)) { return super.equals(obj); } - com.google.container.v1beta1.WindowsVersions other = - (com.google.container.v1beta1.WindowsVersions) obj; + com.google.container.v1beta1.WindowsVersions other = (com.google.container.v1beta1.WindowsVersions) obj; - if (!getWindowsVersionsList().equals(other.getWindowsVersionsList())) return false; + if (!getWindowsVersionsList() + .equals(other.getWindowsVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1345,136 +1210,130 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.WindowsVersions parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.WindowsVersions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WindowsVersions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WindowsVersions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WindowsVersions parseFrom( 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.WindowsVersions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WindowsVersions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.WindowsVersions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WindowsVersions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.WindowsVersions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.WindowsVersions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WindowsVersions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WindowsVersions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WindowsVersions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.WindowsVersions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Windows server versions.
    * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WindowsVersions) com.google.container.v1beta1.WindowsVersionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.class, - com.google.container.v1beta1.WindowsVersions.Builder.class); + com.google.container.v1beta1.WindowsVersions.class, com.google.container.v1beta1.WindowsVersions.Builder.class); } // Construct using com.google.container.v1beta1.WindowsVersions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1489,9 +1348,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WindowsVersions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_descriptor; } @java.lang.Override @@ -1510,8 +1369,7 @@ public com.google.container.v1beta1.WindowsVersions build() { @java.lang.Override public com.google.container.v1beta1.WindowsVersions buildPartial() { - com.google.container.v1beta1.WindowsVersions result = - new com.google.container.v1beta1.WindowsVersions(this); + com.google.container.v1beta1.WindowsVersions result = new com.google.container.v1beta1.WindowsVersions(this); int from_bitField0_ = bitField0_; if (windowsVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1530,39 +1388,38 @@ public com.google.container.v1beta1.WindowsVersions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.WindowsVersions) { - return mergeFrom((com.google.container.v1beta1.WindowsVersions) other); + return mergeFrom((com.google.container.v1beta1.WindowsVersions)other); } else { super.mergeFrom(other); return this; @@ -1589,10 +1446,9 @@ public Builder mergeFrom(com.google.container.v1beta1.WindowsVersions other) { windowsVersionsBuilder_ = null; windowsVersions_ = other.windowsVersions_; bitField0_ = (bitField0_ & ~0x00000001); - windowsVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWindowsVersionsFieldBuilder() - : null; + windowsVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWindowsVersionsFieldBuilder() : null; } else { windowsVersionsBuilder_.addAllMessages(other.windowsVersions_); } @@ -1624,27 +1480,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.container.v1beta1.WindowsVersions.WindowsVersion m = - input.readMessage( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.parser(), - extensionRegistry); - if (windowsVersionsBuilder_ == null) { - ensureWindowsVersionsIsMutable(); - windowsVersions_.add(m); - } else { - windowsVersionsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.container.v1beta1.WindowsVersions.WindowsVersion m = + input.readMessage( + com.google.container.v1beta1.WindowsVersions.WindowsVersion.parser(), + extensionRegistry); + if (windowsVersionsBuilder_ == null) { + ensureWindowsVersionsIsMutable(); + windowsVersions_.add(m); + } else { + windowsVersionsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1654,39 +1508,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List - windowsVersions_ = java.util.Collections.emptyList(); - + private java.util.List windowsVersions_ = + java.util.Collections.emptyList(); private void ensureWindowsVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - windowsVersions_ = - new java.util.ArrayList( - windowsVersions_); + windowsVersions_ = new java.util.ArrayList(windowsVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions.WindowsVersion, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, - com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> - windowsVersionsBuilder_; + com.google.container.v1beta1.WindowsVersions.WindowsVersion, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> windowsVersionsBuilder_; /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public java.util.List - getWindowsVersionsList() { + public java.util.List getWindowsVersionsList() { if (windowsVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(windowsVersions_); } else { @@ -1694,14 +1537,11 @@ private void ensureWindowsVersionsIsMutable() { } } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public int getWindowsVersionsCount() { if (windowsVersionsBuilder_ == null) { @@ -1711,17 +1551,13 @@ public int getWindowsVersionsCount() { } } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions( - int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions(int index) { if (windowsVersionsBuilder_ == null) { return windowsVersions_.get(index); } else { @@ -1729,14 +1565,11 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVer } } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder setWindowsVersions( int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { @@ -1753,18 +1586,14 @@ public Builder setWindowsVersions( return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder setWindowsVersions( - int index, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { + int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { if (windowsVersionsBuilder_ == null) { ensureWindowsVersionsIsMutable(); windowsVersions_.set(index, builderForValue.build()); @@ -1775,17 +1604,13 @@ public Builder setWindowsVersions( return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public Builder addWindowsVersions( - com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { + public Builder addWindowsVersions(com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { if (windowsVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1799,14 +1624,11 @@ public Builder addWindowsVersions( return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder addWindowsVersions( int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { @@ -1823,14 +1645,11 @@ public Builder addWindowsVersions( return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder addWindowsVersions( com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { @@ -1844,18 +1663,14 @@ public Builder addWindowsVersions( return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder addWindowsVersions( - int index, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { + int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { if (windowsVersionsBuilder_ == null) { ensureWindowsVersionsIsMutable(); windowsVersions_.add(index, builderForValue.build()); @@ -1866,21 +1681,18 @@ public Builder addWindowsVersions( return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder addAllWindowsVersions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (windowsVersionsBuilder_ == null) { ensureWindowsVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, windowsVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, windowsVersions_); onChanged(); } else { windowsVersionsBuilder_.addAllMessages(values); @@ -1888,14 +1700,11 @@ public Builder addAllWindowsVersions( return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder clearWindowsVersions() { if (windowsVersionsBuilder_ == null) { @@ -1908,14 +1717,11 @@ public Builder clearWindowsVersions() { return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ public Builder removeWindowsVersions(int index) { if (windowsVersionsBuilder_ == null) { @@ -1928,50 +1734,39 @@ public Builder removeWindowsVersions(int index) { return this; } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder - getWindowsVersionsBuilder(int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder getWindowsVersionsBuilder( + int index) { return getWindowsVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder - getWindowsVersionsOrBuilder(int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder getWindowsVersionsOrBuilder( + int index) { if (windowsVersionsBuilder_ == null) { - return windowsVersions_.get(index); - } else { + return windowsVersions_.get(index); } else { return windowsVersionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public java.util.List< - ? extends com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> - getWindowsVersionsOrBuilderList() { + public java.util.List + getWindowsVersionsOrBuilderList() { if (windowsVersionsBuilder_ != null) { return windowsVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -1979,64 +1774,45 @@ public Builder removeWindowsVersions(int index) { } } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder - addWindowsVersionsBuilder() { - return getWindowsVersionsFieldBuilder() - .addBuilder( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); + public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder addWindowsVersionsBuilder() { + return getWindowsVersionsFieldBuilder().addBuilder( + com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder - addWindowsVersionsBuilder(int index) { - return getWindowsVersionsFieldBuilder() - .addBuilder( - index, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); + public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder addWindowsVersionsBuilder( + int index) { + return getWindowsVersionsFieldBuilder().addBuilder( + index, com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); } /** - * - * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - public java.util.List - getWindowsVersionsBuilderList() { + public java.util.List + getWindowsVersionsBuilderList() { return getWindowsVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions.WindowsVersion, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, - com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> + com.google.container.v1beta1.WindowsVersions.WindowsVersion, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> getWindowsVersionsFieldBuilder() { if (windowsVersionsBuilder_ == null) { - windowsVersionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions.WindowsVersion, - com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, - com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder>( + windowsVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.WindowsVersions.WindowsVersion, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder>( windowsVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2045,9 +1821,9 @@ public Builder removeWindowsVersions(int index) { } return windowsVersionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2057,12 +1833,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WindowsVersions) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WindowsVersions) private static final com.google.container.v1beta1.WindowsVersions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WindowsVersions(); } @@ -2071,27 +1847,27 @@ public static com.google.container.v1beta1.WindowsVersions getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsVersions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsVersions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2106,4 +1882,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WindowsVersions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java similarity index 59% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java index eb0618d7a875..8c6097ec96fa 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java @@ -1,83 +1,52 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface WindowsVersionsOrBuilder - extends +public interface WindowsVersionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WindowsVersions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - java.util.List + java.util.List getWindowsVersionsList(); /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions(int index); /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ int getWindowsVersionsCount(); /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ - java.util.List + java.util.List getWindowsVersionsOrBuilderList(); /** - * - * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; - * + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; */ com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder getWindowsVersionsOrBuilder( int index); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java similarity index 70% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java index 6a1cab542b46..f6b4c4133753 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration for direct-path (via ALTS) with workload identity.
  * 
* * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} */ -public final class WorkloadALTSConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WorkloadALTSConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadALTSConfig) WorkloadALTSConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WorkloadALTSConfig.newBuilder() to construct. private WorkloadALTSConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private WorkloadALTSConfig() {} + private WorkloadALTSConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WorkloadALTSConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadALTSConfig.class, - com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); + com.google.container.v1beta1.WorkloadALTSConfig.class, com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); } public static final int ENABLE_ALTS_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableAlts_; /** - * - * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.BoolValue enable_alts = 1; - * * @return Whether the enableAlts field is set. */ @java.lang.Override @@ -87,8 +66,6 @@ public boolean hasEnableAlts() { return enableAlts_ != null; } /** - * - * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -98,7 +75,6 @@ public boolean hasEnableAlts() {
    * 
* * .google.protobuf.BoolValue enable_alts = 1; - * * @return The enableAlts. */ @java.lang.Override @@ -106,8 +82,6 @@ public com.google.protobuf.BoolValue getEnableAlts() { return enableAlts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableAlts_; } /** - * - * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -124,7 +98,6 @@ public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -136,7 +109,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (enableAlts_ != null) {
       output.writeMessage(1, getEnableAlts());
     }
@@ -150,7 +124,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableAlts_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableAlts());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEnableAlts());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -160,17 +135,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.WorkloadALTSConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.WorkloadALTSConfig other =
-        (com.google.container.v1beta1.WorkloadALTSConfig) obj;
+    com.google.container.v1beta1.WorkloadALTSConfig other = (com.google.container.v1beta1.WorkloadALTSConfig) obj;
 
     if (hasEnableAlts() != other.hasEnableAlts()) return false;
     if (hasEnableAlts()) {
-      if (!getEnableAlts().equals(other.getEnableAlts())) return false;
+      if (!getEnableAlts()
+          .equals(other.getEnableAlts())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -192,136 +167,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.WorkloadALTSConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
       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.WorkloadALTSConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.WorkloadALTSConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.WorkloadALTSConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.WorkloadALTSConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadALTSConfig) com.google.container.v1beta1.WorkloadALTSConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadALTSConfig.class, - com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); + com.google.container.v1beta1.WorkloadALTSConfig.class, com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); } // Construct using com.google.container.v1beta1.WorkloadALTSConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -335,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; } @java.lang.Override @@ -356,8 +325,7 @@ public com.google.container.v1beta1.WorkloadALTSConfig build() { @java.lang.Override public com.google.container.v1beta1.WorkloadALTSConfig buildPartial() { - com.google.container.v1beta1.WorkloadALTSConfig result = - new com.google.container.v1beta1.WorkloadALTSConfig(this); + com.google.container.v1beta1.WorkloadALTSConfig result = new com.google.container.v1beta1.WorkloadALTSConfig(this); if (enableAltsBuilder_ == null) { result.enableAlts_ = enableAlts_; } else { @@ -371,39 +339,38 @@ public com.google.container.v1beta1.WorkloadALTSConfig buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.WorkloadALTSConfig) { - return mergeFrom((com.google.container.v1beta1.WorkloadALTSConfig) other); + return mergeFrom((com.google.container.v1beta1.WorkloadALTSConfig)other); } else { super.mergeFrom(other); return this; @@ -411,8 +378,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.WorkloadALTSConfig other) { - if (other == com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance()) return this; if (other.hasEnableAlts()) { mergeEnableAlts(other.getEnableAlts()); } @@ -442,19 +408,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getEnableAltsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getEnableAltsFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -467,13 +433,8 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableAlts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - enableAltsBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableAltsBuilder_; /** - * - * *
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -483,15 +444,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_alts = 1; - * * @return Whether the enableAlts field is set. */ public boolean hasEnableAlts() { return enableAltsBuilder_ != null || enableAlts_ != null; } /** - * - * *
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -501,21 +459,16 @@ public boolean hasEnableAlts() {
      * 
* * .google.protobuf.BoolValue enable_alts = 1; - * * @return The enableAlts. */ public com.google.protobuf.BoolValue getEnableAlts() { if (enableAltsBuilder_ == null) { - return enableAlts_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : enableAlts_; + return enableAlts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableAlts_; } else { return enableAltsBuilder_.getMessage(); } } /** - * - * *
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -540,8 +493,6 @@ public Builder setEnableAlts(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -552,7 +503,8 @@ public Builder setEnableAlts(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_alts = 1;
      */
-    public Builder setEnableAlts(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableAlts(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableAltsBuilder_ == null) {
         enableAlts_ = builderForValue.build();
         onChanged();
@@ -563,8 +515,6 @@ public Builder setEnableAlts(com.google.protobuf.BoolValue.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -579,7 +529,7 @@ public Builder mergeEnableAlts(com.google.protobuf.BoolValue value) {
       if (enableAltsBuilder_ == null) {
         if (enableAlts_ != null) {
           enableAlts_ =
-              com.google.protobuf.BoolValue.newBuilder(enableAlts_).mergeFrom(value).buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(enableAlts_).mergeFrom(value).buildPartial();
         } else {
           enableAlts_ = value;
         }
@@ -591,8 +541,6 @@ public Builder mergeEnableAlts(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -615,8 +563,6 @@ public Builder clearEnableAlts() {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -628,13 +574,11 @@ public Builder clearEnableAlts() {
      * .google.protobuf.BoolValue enable_alts = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableAltsBuilder() {
-
+      
       onChanged();
       return getEnableAltsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -649,14 +593,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() {
       if (enableAltsBuilder_ != null) {
         return enableAltsBuilder_.getMessageOrBuilder();
       } else {
-        return enableAlts_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : enableAlts_;
+        return enableAlts_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : enableAlts_;
       }
     }
     /**
-     *
-     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -668,24 +609,21 @@ public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() {
      * .google.protobuf.BoolValue enable_alts = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getEnableAltsFieldBuilder() {
       if (enableAltsBuilder_ == null) {
-        enableAltsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getEnableAlts(), getParentForChildren(), isClean());
+        enableAltsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getEnableAlts(),
+                getParentForChildren(),
+                isClean());
         enableAlts_ = null;
       }
       return enableAltsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -695,12 +633,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadALTSConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadALTSConfig)
   private static final com.google.container.v1beta1.WorkloadALTSConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadALTSConfig();
   }
@@ -709,27 +647,27 @@ public static com.google.container.v1beta1.WorkloadALTSConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public WorkloadALTSConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public WorkloadALTSConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -744,4 +682,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.WorkloadALTSConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
similarity index 69%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
index 82f752254d6f..44f95119b3ec 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface WorkloadALTSConfigOrBuilder
-    extends
+public interface WorkloadALTSConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadALTSConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -35,13 +17,10 @@ public interface WorkloadALTSConfigOrBuilder
    * 
* * .google.protobuf.BoolValue enable_alts = 1; - * * @return Whether the enableAlts field is set. */ boolean hasEnableAlts(); /** - * - * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -51,13 +30,10 @@ public interface WorkloadALTSConfigOrBuilder
    * 
* * .google.protobuf.BoolValue enable_alts = 1; - * * @return The enableAlts. */ com.google.protobuf.BoolValue getEnableAlts(); /** - * - * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
similarity index 72%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
index 5d35d20940d8..ab49487cd4c6 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
@@ -1,75 +1,55 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
  * 
* * Protobuf type {@code google.container.v1beta1.WorkloadCertificates} */ -public final class WorkloadCertificates extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WorkloadCertificates extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadCertificates) WorkloadCertificatesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WorkloadCertificates.newBuilder() to construct. private WorkloadCertificates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private WorkloadCertificates() {} + private WorkloadCertificates() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WorkloadCertificates(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadCertificates.class, - com.google.container.v1beta1.WorkloadCertificates.Builder.class); + com.google.container.v1beta1.WorkloadCertificates.class, com.google.container.v1beta1.WorkloadCertificates.Builder.class); } public static final int ENABLE_CERTIFICATES_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableCertificates_; /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -81,7 +61,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean hasEnableCertificates() { return enableCertificates_ != null; } /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -102,18 +79,13 @@ public boolean hasEnableCertificates() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ @java.lang.Override public com.google.protobuf.BoolValue getEnableCertificates() { - return enableCertificates_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : enableCertificates_; + return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; } /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -132,7 +104,6 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -144,7 +115,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (enableCertificates_ != null) {
       output.writeMessage(1, getEnableCertificates());
     }
@@ -158,7 +130,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableCertificates());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getEnableCertificates());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -168,17 +141,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.WorkloadCertificates)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.WorkloadCertificates other =
-        (com.google.container.v1beta1.WorkloadCertificates) obj;
+    com.google.container.v1beta1.WorkloadCertificates other = (com.google.container.v1beta1.WorkloadCertificates) obj;
 
     if (hasEnableCertificates() != other.hasEnableCertificates()) return false;
     if (hasEnableCertificates()) {
-      if (!getEnableCertificates().equals(other.getEnableCertificates())) return false;
+      if (!getEnableCertificates()
+          .equals(other.getEnableCertificates())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -201,135 +174,129 @@ public int hashCode() {
   }
 
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.WorkloadCertificates parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
       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.WorkloadCertificates parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.WorkloadCertificates parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.container.v1beta1.WorkloadCertificates parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.container.v1beta1.WorkloadCertificates parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.WorkloadCertificates parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.container.v1beta1.WorkloadCertificates prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
    * 
* * Protobuf type {@code google.container.v1beta1.WorkloadCertificates} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadCertificates) com.google.container.v1beta1.WorkloadCertificatesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadCertificates.class, - com.google.container.v1beta1.WorkloadCertificates.Builder.class); + com.google.container.v1beta1.WorkloadCertificates.class, com.google.container.v1beta1.WorkloadCertificates.Builder.class); } // Construct using com.google.container.v1beta1.WorkloadCertificates.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +310,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto - .internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; } @java.lang.Override @@ -364,8 +331,7 @@ public com.google.container.v1beta1.WorkloadCertificates build() { @java.lang.Override public com.google.container.v1beta1.WorkloadCertificates buildPartial() { - com.google.container.v1beta1.WorkloadCertificates result = - new com.google.container.v1beta1.WorkloadCertificates(this); + com.google.container.v1beta1.WorkloadCertificates result = new com.google.container.v1beta1.WorkloadCertificates(this); if (enableCertificatesBuilder_ == null) { result.enableCertificates_ = enableCertificates_; } else { @@ -379,39 +345,38 @@ public com.google.container.v1beta1.WorkloadCertificates buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.WorkloadCertificates) { - return mergeFrom((com.google.container.v1beta1.WorkloadCertificates) other); + return mergeFrom((com.google.container.v1beta1.WorkloadCertificates)other); } else { super.mergeFrom(other); return this; @@ -419,8 +384,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.WorkloadCertificates other) { - if (other == com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance()) - return this; + if (other == com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance()) return this; if (other.hasEnableCertificates()) { mergeEnableCertificates(other.getEnableCertificates()); } @@ -450,20 +414,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getEnableCertificatesFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getEnableCertificatesFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -476,13 +439,8 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - enableCertificatesBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableCertificatesBuilder_; /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -494,15 +452,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ public boolean hasEnableCertificates() { return enableCertificatesBuilder_ != null || enableCertificates_ != null; } /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -514,21 +469,16 @@ public boolean hasEnableCertificates() {
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ public com.google.protobuf.BoolValue getEnableCertificates() { if (enableCertificatesBuilder_ == null) { - return enableCertificates_ == null - ? com.google.protobuf.BoolValue.getDefaultInstance() - : enableCertificates_; + return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; } else { return enableCertificatesBuilder_.getMessage(); } } /** - * - * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -555,8 +505,6 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -569,7 +517,8 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
-    public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableCertificates(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableCertificatesBuilder_ == null) {
         enableCertificates_ = builderForValue.build();
         onChanged();
@@ -580,8 +529,6 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -598,9 +545,7 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       if (enableCertificatesBuilder_ == null) {
         if (enableCertificates_ != null) {
           enableCertificates_ =
-              com.google.protobuf.BoolValue.newBuilder(enableCertificates_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(enableCertificates_).mergeFrom(value).buildPartial();
         } else {
           enableCertificates_ = value;
         }
@@ -612,8 +557,6 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -638,8 +581,6 @@ public Builder clearEnableCertificates() {
       return this;
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -653,13 +594,11 @@ public Builder clearEnableCertificates() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableCertificatesBuilder() {
-
+      
       onChanged();
       return getEnableCertificatesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -676,14 +615,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
       if (enableCertificatesBuilder_ != null) {
         return enableCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return enableCertificates_ == null
-            ? com.google.protobuf.BoolValue.getDefaultInstance()
-            : enableCertificates_;
+        return enableCertificates_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_;
       }
     }
     /**
-     *
-     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -697,24 +633,21 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getEnableCertificatesFieldBuilder() {
       if (enableCertificatesBuilder_ == null) {
-        enableCertificatesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getEnableCertificates(), getParentForChildren(), isClean());
+        enableCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getEnableCertificates(),
+                getParentForChildren(),
+                isClean());
         enableCertificates_ = null;
       }
       return enableCertificatesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -724,12 +657,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadCertificates)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadCertificates)
   private static final com.google.container.v1beta1.WorkloadCertificates DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadCertificates();
   }
@@ -738,27 +671,27 @@ public static com.google.container.v1beta1.WorkloadCertificates getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public WorkloadCertificates parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public WorkloadCertificates parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -773,4 +706,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.WorkloadCertificates getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
similarity index 75%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
index bad25d28e8a3..e8007686ee2a 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface WorkloadCertificatesOrBuilder
-    extends
+public interface WorkloadCertificatesOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadCertificates)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -37,13 +19,10 @@ public interface WorkloadCertificatesOrBuilder
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return Whether the enableCertificates field is set. */ boolean hasEnableCertificates(); /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -55,13 +34,10 @@ public interface WorkloadCertificatesOrBuilder
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; - * * @return The enableCertificates. */ com.google.protobuf.BoolValue getEnableCertificates(); /** - * - * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
similarity index 69%
rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
index 1496b3a539f9..0a44b29baadc 100644
--- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
+++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
- *
- *
  * 
  * WorkloadConfig defines the flags to enable or disable the
  * workload configurations for the cluster.
@@ -28,59 +11,54 @@
  *
  * Protobuf type {@code google.container.v1beta1.WorkloadConfig}
  */
-public final class WorkloadConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WorkloadConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadConfig)
     WorkloadConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WorkloadConfig.newBuilder() to construct.
   private WorkloadConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WorkloadConfig() {
     auditMode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WorkloadConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.WorkloadConfig.class,
-            com.google.container.v1beta1.WorkloadConfig.Builder.class);
+            com.google.container.v1beta1.WorkloadConfig.class, com.google.container.v1beta1.WorkloadConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Mode defines how to audit the workload configs.
    * 
* * Protobuf enum {@code google.container.v1beta1.WorkloadConfig.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value meaning that no mode has been specified.
      * 
@@ -89,8 +67,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * This disables Workload Configuration auditing on the cluster,
      * meaning that nothing is surfaced.
@@ -100,8 +76,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     DISABLED(1),
     /**
-     *
-     *
      * 
      * Applies the default set of policy auditing to a cluster's workloads.
      * 
@@ -110,8 +84,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(4), /** - * - * *
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Baseline policy.
@@ -122,8 +94,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     @java.lang.Deprecated
     BASELINE(2),
     /**
-     *
-     *
      * 
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Restricted policy.
@@ -137,8 +107,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value meaning that no mode has been specified.
      * 
@@ -147,8 +115,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * This disables Workload Configuration auditing on the cluster,
      * meaning that nothing is surfaced.
@@ -158,8 +124,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 1;
     /**
-     *
-     *
      * 
      * Applies the default set of policy auditing to a cluster's workloads.
      * 
@@ -168,8 +132,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 4; /** - * - * *
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Baseline policy.
@@ -179,8 +141,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int BASELINE_VALUE = 2;
     /**
-     *
-     *
      * 
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Restricted policy.
@@ -190,6 +150,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     @java.lang.Deprecated public static final int RESTRICTED_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -214,53 +175,51 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0:
-          return MODE_UNSPECIFIED;
-        case 1:
-          return DISABLED;
-        case 4:
-          return BASIC;
-        case 2:
-          return BASELINE;
-        case 3:
-          return RESTRICTED;
-        default:
-          return null;
+        case 0: return MODE_UNSPECIFIED;
+        case 1: return DISABLED;
+        case 4: return BASIC;
+        case 2: return BASELINE;
+        case 3: return RESTRICTED;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Mode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Mode findValueByNumber(int number) {
+              return Mode.forNumber(number);
+            }
+          };
 
-    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() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.container.v1beta1.WorkloadConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -281,56 +240,42 @@ private Mode(int value) {
   public static final int AUDIT_MODE_FIELD_NUMBER = 1;
   private int auditMode_;
   /**
-   *
-   *
    * 
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return Whether the auditMode field is set. */ - @java.lang.Override - public boolean hasAuditMode() { + @java.lang.Override public boolean hasAuditMode() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return The enum numeric value on the wire for auditMode. */ - @java.lang.Override - public int getAuditModeValue() { + @java.lang.Override public int getAuditModeValue() { return auditMode_; } /** - * - * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return The auditMode. */ - @java.lang.Override - public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { + @java.lang.Override public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadConfig.Mode result = - com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); + com.google.container.v1beta1.WorkloadConfig.Mode result = com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); return result == null ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, auditMode_); } @@ -356,7 +302,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, auditMode_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, auditMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -366,13 +313,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WorkloadConfig)) { return super.equals(obj); } - com.google.container.v1beta1.WorkloadConfig other = - (com.google.container.v1beta1.WorkloadConfig) obj; + com.google.container.v1beta1.WorkloadConfig other = (com.google.container.v1beta1.WorkloadConfig) obj; if (hasAuditMode() != other.hasAuditMode()) return false; if (hasAuditMode()) { @@ -398,104 +344,97 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.WorkloadConfig parseFrom(java.nio.ByteBuffer data) + public static com.google.container.v1beta1.WorkloadConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WorkloadConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadConfig parseFrom( 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.WorkloadConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.WorkloadConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.WorkloadConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.WorkloadConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * WorkloadConfig defines the flags to enable or disable the
    * workload configurations for the cluster.
@@ -503,32 +442,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.WorkloadConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadConfig)
       com.google.container.v1beta1.WorkloadConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.WorkloadConfig.class,
-              com.google.container.v1beta1.WorkloadConfig.Builder.class);
+              com.google.container.v1beta1.WorkloadConfig.class, com.google.container.v1beta1.WorkloadConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.WorkloadConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -538,9 +478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
     }
 
     @java.lang.Override
@@ -559,8 +499,7 @@ public com.google.container.v1beta1.WorkloadConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.WorkloadConfig buildPartial() {
-      com.google.container.v1beta1.WorkloadConfig result =
-          new com.google.container.v1beta1.WorkloadConfig(this);
+      com.google.container.v1beta1.WorkloadConfig result = new com.google.container.v1beta1.WorkloadConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -576,39 +515,38 @@ public com.google.container.v1beta1.WorkloadConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.WorkloadConfig) {
-        return mergeFrom((com.google.container.v1beta1.WorkloadConfig) other);
+        return mergeFrom((com.google.container.v1beta1.WorkloadConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -646,19 +584,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                auditMode_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              auditMode_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -668,49 +604,37 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int auditMode_ = 0;
     /**
-     *
-     *
      * 
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return Whether the auditMode field is set. */ - @java.lang.Override - public boolean hasAuditMode() { + @java.lang.Override public boolean hasAuditMode() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return The enum numeric value on the wire for auditMode. */ - @java.lang.Override - public int getAuditModeValue() { + @java.lang.Override public int getAuditModeValue() { return auditMode_; } /** - * - * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @param value The enum numeric value on the wire for auditMode to set. * @return This builder for chaining. */ @@ -721,34 +645,25 @@ public Builder setAuditModeValue(int value) { return this; } /** - * - * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return The auditMode. */ @java.lang.Override public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadConfig.Mode result = - com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); - return result == null - ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED - : result; + com.google.container.v1beta1.WorkloadConfig.Mode result = com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); + return result == null ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @param value The auditMode to set. * @return This builder for chaining. */ @@ -762,14 +677,11 @@ public Builder setAuditMode(com.google.container.v1beta1.WorkloadConfig.Mode val return this; } /** - * - * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return This builder for chaining. */ public Builder clearAuditMode() { @@ -778,9 +690,9 @@ public Builder clearAuditMode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -790,12 +702,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadConfig) private static final com.google.container.v1beta1.WorkloadConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadConfig(); } @@ -804,27 +716,27 @@ public static com.google.container.v1beta1.WorkloadConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,4 +751,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WorkloadConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java similarity index 62% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java index 2814009d86c3..e8ad8c377514 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java @@ -1,61 +1,36 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface WorkloadConfigOrBuilder - extends +public interface WorkloadConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return Whether the auditMode field is set. */ boolean hasAuditMode(); /** - * - * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return The enum numeric value on the wire for auditMode. */ int getAuditModeValue(); /** - * - * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; - * * @return The auditMode. */ com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java similarity index 69% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index c6230bd531c5..53c2556d9a8b 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * Configuration for the use of Kubernetes Service Accounts in GCP IAM
  * policies.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.WorkloadIdentityConfig}
  */
-public final class WorkloadIdentityConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WorkloadIdentityConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadIdentityConfig)
     WorkloadIdentityConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WorkloadIdentityConfig.newBuilder() to construct.
   private WorkloadIdentityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WorkloadIdentityConfig() {
     identityNamespace_ = "";
     workloadPool_ = "";
@@ -46,78 +28,72 @@ private WorkloadIdentityConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WorkloadIdentityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.WorkloadIdentityConfig.class,
-            com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
+            com.google.container.v1beta1.WorkloadIdentityConfig.class, com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
   }
 
   public static final int IDENTITY_NAMESPACE_FIELD_NUMBER = 1;
   private volatile java.lang.Object identityNamespace_;
   /**
-   *
-   *
    * 
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The identityNamespace. */ @java.lang.Override - @java.lang.Deprecated - public java.lang.String getIdentityNamespace() { + @java.lang.Deprecated public java.lang.String getIdentityNamespace() { java.lang.Object ref = identityNamespace_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityNamespace_ = s; return s; } } /** - * - * *
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The bytes for identityNamespace. */ @java.lang.Override - @java.lang.Deprecated - public com.google.protobuf.ByteString getIdentityNamespaceBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getIdentityNamespaceBytes() { java.lang.Object ref = identityNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identityNamespace_ = b; return b; } else { @@ -128,14 +104,11 @@ public com.google.protobuf.ByteString getIdentityNamespaceBytes() { public static final int WORKLOAD_POOL_FIELD_NUMBER = 2; private volatile java.lang.Object workloadPool_; /** - * - * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; - * * @return The workloadPool. */ @java.lang.Override @@ -144,29 +117,29 @@ public java.lang.String getWorkloadPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; } } /** - * - * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkloadPoolBytes() { + public com.google.protobuf.ByteString + getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -177,14 +150,11 @@ public com.google.protobuf.ByteString getWorkloadPoolBytes() { public static final int IDENTITY_PROVIDER_FIELD_NUMBER = 3; private volatile java.lang.Object identityProvider_; /** - * - * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; - * * @return The identityProvider. */ @java.lang.Override @@ -193,29 +163,29 @@ public java.lang.String getIdentityProvider() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; } } /** - * - * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; - * * @return The bytes for identityProvider. */ @java.lang.Override - public com.google.protobuf.ByteString getIdentityProviderBytes() { + public com.google.protobuf.ByteString + getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -224,7 +194,6 @@ public com.google.protobuf.ByteString getIdentityProviderBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identityNamespace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, identityNamespace_); } @@ -272,17 +242,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WorkloadIdentityConfig)) { return super.equals(obj); } - com.google.container.v1beta1.WorkloadIdentityConfig other = - (com.google.container.v1beta1.WorkloadIdentityConfig) obj; + com.google.container.v1beta1.WorkloadIdentityConfig other = (com.google.container.v1beta1.WorkloadIdentityConfig) obj; - if (!getIdentityNamespace().equals(other.getIdentityNamespace())) return false; - if (!getWorkloadPool().equals(other.getWorkloadPool())) return false; - if (!getIdentityProvider().equals(other.getIdentityProvider())) return false; + if (!getIdentityNamespace() + .equals(other.getIdentityNamespace())) return false; + if (!getWorkloadPool() + .equals(other.getWorkloadPool())) return false; + if (!getIdentityProvider() + .equals(other.getIdentityProvider())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,103 +278,96 @@ public int hashCode() { } public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.WorkloadIdentityConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.WorkloadIdentityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -410,32 +375,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.WorkloadIdentityConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadIdentityConfig)
       com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.WorkloadIdentityConfig.class,
-              com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
+              com.google.container.v1beta1.WorkloadIdentityConfig.class, com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -449,9 +415,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -470,8 +436,7 @@ public com.google.container.v1beta1.WorkloadIdentityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.WorkloadIdentityConfig buildPartial() {
-      com.google.container.v1beta1.WorkloadIdentityConfig result =
-          new com.google.container.v1beta1.WorkloadIdentityConfig(this);
+      com.google.container.v1beta1.WorkloadIdentityConfig result = new com.google.container.v1beta1.WorkloadIdentityConfig(this);
       result.identityNamespace_ = identityNamespace_;
       result.workloadPool_ = workloadPool_;
       result.identityProvider_ = identityProvider_;
@@ -483,39 +448,38 @@ public com.google.container.v1beta1.WorkloadIdentityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.WorkloadIdentityConfig) {
-        return mergeFrom((com.google.container.v1beta1.WorkloadIdentityConfig) other);
+        return mergeFrom((com.google.container.v1beta1.WorkloadIdentityConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -523,8 +487,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.WorkloadIdentityConfig other) {
-      if (other == com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance()) return this;
       if (!other.getIdentityNamespace().isEmpty()) {
         identityNamespace_ = other.identityNamespace_;
         onChanged();
@@ -563,31 +526,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                identityNamespace_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                workloadPool_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                identityProvider_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              identityNamespace_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              workloadPool_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              identityProvider_ = input.readStringRequireUtf8();
+
+              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) {
@@ -600,23 +559,20 @@ public Builder mergeFrom(
 
     private java.lang.Object identityNamespace_ = "";
     /**
-     *
-     *
      * 
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The identityNamespace. */ - @java.lang.Deprecated - public java.lang.String getIdentityNamespace() { + @java.lang.Deprecated public java.lang.String getIdentityNamespace() { java.lang.Object ref = identityNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityNamespace_ = s; return s; @@ -625,24 +581,22 @@ public java.lang.String getIdentityNamespace() { } } /** - * - * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The bytes for identityNamespace. */ - @java.lang.Deprecated - public com.google.protobuf.ByteString getIdentityNamespaceBytes() { + @java.lang.Deprecated public com.google.protobuf.ByteString + getIdentityNamespaceBytes() { java.lang.Object ref = identityNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identityNamespace_ = b; return b; } else { @@ -650,70 +604,60 @@ public com.google.protobuf.ByteString getIdentityNamespaceBytes() { } } /** - * - * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @param value The identityNamespace to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setIdentityNamespace(java.lang.String value) { + @java.lang.Deprecated public Builder setIdentityNamespace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identityNamespace_ = value; onChanged(); return this; } /** - * - * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearIdentityNamespace() { - + @java.lang.Deprecated public Builder clearIdentityNamespace() { + identityNamespace_ = getDefaultInstance().getIdentityNamespace(); onChanged(); return this; } /** - * - * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @param value The bytes for identityNamespace to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setIdentityNamespaceBytes(com.google.protobuf.ByteString value) { + @java.lang.Deprecated public Builder setIdentityNamespaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identityNamespace_ = value; onChanged(); return this; @@ -721,20 +665,18 @@ public Builder setIdentityNamespaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object workloadPool_ = ""; /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @return The workloadPool. */ public java.lang.String getWorkloadPool() { java.lang.Object ref = workloadPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; @@ -743,21 +685,20 @@ public java.lang.String getWorkloadPool() { } } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ - public com.google.protobuf.ByteString getWorkloadPoolBytes() { + public com.google.protobuf.ByteString + getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -765,61 +706,54 @@ public com.google.protobuf.ByteString getWorkloadPoolBytes() { } } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @param value The workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPool(java.lang.String value) { + public Builder setWorkloadPool( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workloadPool_ = value; onChanged(); return this; } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @return This builder for chaining. */ public Builder clearWorkloadPool() { - + workloadPool_ = getDefaultInstance().getWorkloadPool(); onChanged(); return this; } /** - * - * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; - * * @param value The bytes for workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { + public Builder setWorkloadPoolBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workloadPool_ = value; onChanged(); return this; @@ -827,20 +761,18 @@ public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { private java.lang.Object identityProvider_ = ""; /** - * - * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; - * * @return The identityProvider. */ public java.lang.String getIdentityProvider() { java.lang.Object ref = identityProvider_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; @@ -849,21 +781,20 @@ public java.lang.String getIdentityProvider() { } } /** - * - * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; - * * @return The bytes for identityProvider. */ - public com.google.protobuf.ByteString getIdentityProviderBytes() { + public com.google.protobuf.ByteString + getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -871,68 +802,61 @@ public com.google.protobuf.ByteString getIdentityProviderBytes() { } } /** - * - * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; - * * @param value The identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProvider(java.lang.String value) { + public Builder setIdentityProvider( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identityProvider_ = value; onChanged(); return this; } /** - * - * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; - * * @return This builder for chaining. */ public Builder clearIdentityProvider() { - + identityProvider_ = getDefaultInstance().getIdentityProvider(); onChanged(); return this; } /** - * - * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; - * * @param value The bytes for identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProviderBytes(com.google.protobuf.ByteString value) { + public Builder setIdentityProviderBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identityProvider_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -942,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadIdentityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadIdentityConfig) private static final com.google.container.v1beta1.WorkloadIdentityConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadIdentityConfig(); } @@ -956,27 +880,27 @@ public static com.google.container.v1beta1.WorkloadIdentityConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadIdentityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadIdentityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -991,4 +915,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java similarity index 65% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java index 15b618a55f87..e5c0cee75c41 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java @@ -1,106 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 package com.google.container.v1beta1; -public interface WorkloadIdentityConfigOrBuilder - extends +public interface WorkloadIdentityConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadIdentityConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The identityNamespace. */ - @java.lang.Deprecated - java.lang.String getIdentityNamespace(); + @java.lang.Deprecated java.lang.String getIdentityNamespace(); /** - * - * *
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; - * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4651 + * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The bytes for identityNamespace. */ - @java.lang.Deprecated - com.google.protobuf.ByteString getIdentityNamespaceBytes(); + @java.lang.Deprecated com.google.protobuf.ByteString + getIdentityNamespaceBytes(); /** - * - * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; - * * @return The workloadPool. */ java.lang.String getWorkloadPool(); /** - * - * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; - * * @return The bytes for workloadPool. */ - com.google.protobuf.ByteString getWorkloadPoolBytes(); + com.google.protobuf.ByteString + getWorkloadPoolBytes(); /** - * - * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; - * * @return The identityProvider. */ java.lang.String getIdentityProvider(); /** - * - * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; - * * @return The bytes for identityProvider. */ - com.google.protobuf.ByteString getIdentityProviderBytes(); + com.google.protobuf.ByteString + getIdentityProviderBytes(); } diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java similarity index 66% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java index 2ee25b168c0a..c960253b5250 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** - * - * *
  * WorkloadMetadataConfig defines the metadata configuration to expose to
  * workloads on the node pool.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.container.v1beta1.WorkloadMetadataConfig}
  */
-public final class WorkloadMetadataConfig extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class WorkloadMetadataConfig extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadMetadataConfig)
     WorkloadMetadataConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use WorkloadMetadataConfig.newBuilder() to construct.
   private WorkloadMetadataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private WorkloadMetadataConfig() {
     nodeMetadata_ = 0;
     mode_ = 0;
@@ -45,33 +27,30 @@ private WorkloadMetadataConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new WorkloadMetadataConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto
-        .internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.WorkloadMetadataConfig.class,
-            com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
+            com.google.container.v1beta1.WorkloadMetadataConfig.class, com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * NodeMetadata is the configuration for if and how to expose the node
    * metadata to the workload running on the node.
@@ -79,10 +58,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata}
    */
-  public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum {
+  public enum NodeMetadata
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -91,8 +69,6 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * Prevent workloads not in hostNetwork from accessing certain VM metadata,
      * specifically kube-env, which contains Kubelet credentials, and the
@@ -107,8 +83,6 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum {
      */
     SECURE(1),
     /**
-     *
-     *
      * 
      * Expose all VM metadata to pods.
      * 
@@ -117,8 +91,6 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum { */ EXPOSE(2), /** - * - * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -134,8 +106,6 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -144,8 +114,6 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * Prevent workloads not in hostNetwork from accessing certain VM metadata,
      * specifically kube-env, which contains Kubelet credentials, and the
@@ -160,8 +128,6 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SECURE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Expose all VM metadata to pods.
      * 
@@ -170,8 +136,6 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXPOSE_VALUE = 2; /** - * - * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -184,6 +148,7 @@ public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GKE_METADATA_SERVER_VALUE = 3;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -208,53 +173,50 @@ public static NodeMetadata valueOf(int value) {
      */
     public static NodeMetadata forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return SECURE;
-        case 2:
-          return EXPOSE;
-        case 3:
-          return GKE_METADATA_SERVER;
-        default:
-          return null;
+        case 0: return UNSPECIFIED;
+        case 1: return SECURE;
+        case 2: return EXPOSE;
+        case 3: return GKE_METADATA_SERVER;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        NodeMetadata> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public NodeMetadata findValueByNumber(int number) {
+              return NodeMetadata.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public NodeMetadata findValueByNumber(int number) {
-            return NodeMetadata.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final NodeMetadata[] VALUES = values();
 
-    public static NodeMetadata valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NodeMetadata valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -272,8 +234,6 @@ private NodeMetadata(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node.
@@ -281,10 +241,9 @@ private NodeMetadata(int value) {
    *
    * Protobuf enum {@code google.container.v1beta1.WorkloadMetadataConfig.Mode}
    */
-  public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Mode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -293,8 +252,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -303,8 +260,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ GCE_METADATA(1), /** - * - * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -320,8 +275,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Not set.
      * 
@@ -330,8 +283,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -340,8 +291,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GCE_METADATA_VALUE = 1; /** - * - * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -354,6 +303,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GKE_METADATA_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -378,51 +328,49 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0:
-          return MODE_UNSPECIFIED;
-        case 1:
-          return GCE_METADATA;
-        case 2:
-          return GKE_METADATA;
-        default:
-          return null;
+        case 0: return MODE_UNSPECIFIED;
+        case 1: return GCE_METADATA;
+        case 2: return GKE_METADATA;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Mode> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Mode findValueByNumber(int number) {
+              return Mode.forNumber(number);
+            }
+          };
 
-    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() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor()
-          .getEnumTypes()
-          .get(1);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -442,95 +390,66 @@ private Mode(int value) {
   public static final int NODE_METADATA_FIELD_NUMBER = 1;
   private int nodeMetadata_;
   /**
-   *
-   *
    * 
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @return The enum numeric value on the wire for nodeMetadata. */ - @java.lang.Override - @java.lang.Deprecated - public int getNodeMetadataValue() { + @java.lang.Override @java.lang.Deprecated public int getNodeMetadataValue() { return nodeMetadata_; } /** - * - * *
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @return The nodeMetadata. */ - @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { + @java.lang.Override @java.lang.Deprecated public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); - return result == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED - : result; + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); + return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED : result; } public static final int MODE_FIELD_NUMBER = 2; private int mode_; /** - * - * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The mode. */ - @java.lang.Override - public com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode() { + @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = - com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED - : result; + com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -542,14 +461,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (nodeMetadata_ - != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (nodeMetadata_ != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED.getNumber()) { output.writeEnum(1, nodeMetadata_); } - if (mode_ - != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { + if (mode_ != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } getUnknownFields().writeTo(output); @@ -561,14 +478,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (nodeMetadata_ - != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, nodeMetadata_); + if (nodeMetadata_ != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, nodeMetadata_); } - if (mode_ - != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); + if (mode_ != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -578,13 +494,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WorkloadMetadataConfig)) { return super.equals(obj); } - com.google.container.v1beta1.WorkloadMetadataConfig other = - (com.google.container.v1beta1.WorkloadMetadataConfig) obj; + com.google.container.v1beta1.WorkloadMetadataConfig other = (com.google.container.v1beta1.WorkloadMetadataConfig) obj; if (nodeMetadata_ != other.nodeMetadata_) return false; if (mode_ != other.mode_) return false; @@ -609,103 +524,96 @@ public int hashCode() { } public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WorkloadMetadataConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( 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.WorkloadMetadataConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.container.v1beta1.WorkloadMetadataConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.container.v1beta1.WorkloadMetadataConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.WorkloadMetadataConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * WorkloadMetadataConfig defines the metadata configuration to expose to
    * workloads on the node pool.
@@ -713,32 +621,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.container.v1beta1.WorkloadMetadataConfig}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadMetadataConfig)
       com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.WorkloadMetadataConfig.class,
-              com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
+              com.google.container.v1beta1.WorkloadMetadataConfig.class, com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -750,9 +659,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto
-          .internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
@@ -771,8 +680,7 @@ public com.google.container.v1beta1.WorkloadMetadataConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.WorkloadMetadataConfig buildPartial() {
-      com.google.container.v1beta1.WorkloadMetadataConfig result =
-          new com.google.container.v1beta1.WorkloadMetadataConfig(this);
+      com.google.container.v1beta1.WorkloadMetadataConfig result = new com.google.container.v1beta1.WorkloadMetadataConfig(this);
       result.nodeMetadata_ = nodeMetadata_;
       result.mode_ = mode_;
       onBuilt();
@@ -783,39 +691,38 @@ public com.google.container.v1beta1.WorkloadMetadataConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.WorkloadMetadataConfig) {
-        return mergeFrom((com.google.container.v1beta1.WorkloadMetadataConfig) other);
+        return mergeFrom((com.google.container.v1beta1.WorkloadMetadataConfig)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -823,8 +730,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.WorkloadMetadataConfig other) {
-      if (other == com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance())
-        return this;
+      if (other == com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance()) return this;
       if (other.nodeMetadata_ != 0) {
         setNodeMetadataValue(other.getNodeMetadataValue());
       }
@@ -857,25 +763,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                nodeMetadata_ = input.readEnum();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                mode_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              nodeMetadata_ = input.readEnum();
+
+              break;
+            } // case 8
+            case 16: {
+              mode_ = input.readEnum();
+
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -888,123 +791,88 @@ public Builder mergeFrom(
 
     private int nodeMetadata_ = 0;
     /**
-     *
-     *
      * 
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @return The enum numeric value on the wire for nodeMetadata. */ - @java.lang.Override - @java.lang.Deprecated - public int getNodeMetadataValue() { + @java.lang.Override @java.lang.Deprecated public int getNodeMetadataValue() { return nodeMetadata_; } /** - * - * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @param value The enum numeric value on the wire for nodeMetadata to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodeMetadataValue(int value) { - + @java.lang.Deprecated public Builder setNodeMetadataValue(int value) { + nodeMetadata_ = value; onChanged(); return this; } /** - * - * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @return The nodeMetadata. */ @java.lang.Override - @java.lang.Deprecated - public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { + @java.lang.Deprecated public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); - return result == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED - : result; + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); + return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED : result; } /** - * - * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @param value The nodeMetadata to set. * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder setNodeMetadata( - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata value) { + @java.lang.Deprecated public Builder setNodeMetadata(com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata value) { if (value == null) { throw new NullPointerException(); } - + nodeMetadata_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @return This builder for chaining. */ - @java.lang.Deprecated - public Builder clearNodeMetadata() { - + @java.lang.Deprecated public Builder clearNodeMetadata() { + nodeMetadata_ = 0; onChanged(); return this; @@ -1012,71 +880,55 @@ public Builder clearNodeMetadata() { private int mode_ = 0; /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @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; onChanged(); return this; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The mode. */ @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = - com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null - ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED - : result; + com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -1084,32 +936,29 @@ public Builder setMode(com.google.container.v1beta1.WorkloadMetadataConfig.Mode if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1119,12 +968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadMetadataConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadMetadataConfig) private static final com.google.container.v1beta1.WorkloadMetadataConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadMetadataConfig(); } @@ -1133,27 +982,27 @@ public static com.google.container.v1beta1.WorkloadMetadataConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadMetadataConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadMetadataConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1168,4 +1017,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WorkloadMetadataConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java similarity index 52% rename from java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java index 4afc72f2af27..9898a2b5c530 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java @@ -1,88 +1,54 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface WorkloadMetadataConfigOrBuilder - extends +public interface WorkloadMetadataConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadMetadataConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @return The enum numeric value on the wire for nodeMetadata. */ - @java.lang.Deprecated - int getNodeMetadataValue(); + @java.lang.Deprecated int getNodeMetadataValue(); /** - * - * *
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * - * - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See - * google/container/v1beta1/cluster_service.proto;l=4248 + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. + * See google/container/v1beta1/cluster_service.proto;l=4253 * @return The nodeMetadata. */ - @java.lang.Deprecated - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata(); + @java.lang.Deprecated com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata(); /** - * - * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; - * * @return The mode. */ com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto similarity index 99% rename from java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto rename to owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto index 058d4e08be6c..4b76a30eb251 100644 --- a/java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto +++ b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto @@ -753,6 +753,9 @@ message NodeConfig { // All the nodes in the node pool will be Confidential VM once enabled. ConfidentialNodes confidential_nodes = 35; + // Enable or disable NCCL fast socket for the node pool. + optional FastSocket fast_socket = 36; + // The resource labels for the node pool to use to annotate any related // Google Compute Engine resources. map resource_labels = 37; @@ -1478,9 +1481,8 @@ message BinaryAuthorization { // anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored. bool enabled = 1 [deprecated = true]; - // Mode of operation for binauthz policy evaluation. Currently the only - // options are equivalent to enable/disable. If unspecified, defaults to - // DISABLED. + // Mode of operation for binauthz policy evaluation. If unspecified, defaults + // to DISABLED. EvaluationMode evaluation_mode = 2; } @@ -2548,6 +2550,9 @@ message UpdateNodePoolRequest { // Enable or disable gvnic on the node pool. VirtualNIC gvnic = 29; + // Enable or disable NCCL fast socket for the node pool. + FastSocket fast_socket = 31; + // Logging configuration. NodePoolLoggingConfig logging_config = 32; @@ -4759,6 +4764,12 @@ message VirtualNIC { bool enabled = 1; } +// Configuration of Fast Socket feature. +message FastSocket { + // Whether Fast Socket features are enabled in the node pool. + bool enabled = 1; +} + // GetOpenIDConfigRequest gets the OIDC discovery document for the // cluster. See the OpenID Connect Discovery 1.0 specification for details. message GetOpenIDConfigRequest { From eaa08e5b527a3c9eab321d7ea0b76ba1d2c820fd Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 28 Nov 2022 21:02:46 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../container/v1/ClusterManagerClient.java | 0 .../container/v1/ClusterManagerSettings.java | 1 - .../cloud/container/v1/gapic_metadata.json | 0 .../cloud/container/v1/package-info.java | 0 .../container/v1/stub/ClusterManagerStub.java | 0 .../v1/stub/ClusterManagerStubSettings.java | 0 .../GrpcClusterManagerCallableFactory.java | 0 .../v1/stub/GrpcClusterManagerStub.java | 1 - .../v1beta1/ClusterManagerClient.java | 0 .../v1beta1/ClusterManagerSettings.java | 1 - .../container/v1beta1/gapic_metadata.json | 0 .../cloud/container/v1beta1/package-info.java | 0 .../v1beta1/stub/ClusterManagerStub.java | 0 .../stub/ClusterManagerStubSettings.java | 0 .../GrpcClusterManagerCallableFactory.java | 0 .../v1beta1/stub/GrpcClusterManagerStub.java | 1 - .../v1/ClusterManagerClientTest.java | 0 .../container/v1/MockClusterManager.java | 0 .../container/v1/MockClusterManagerImpl.java | 0 .../v1beta1/ClusterManagerClientTest.java | 0 .../container/v1beta1/MockClusterManager.java | 0 .../v1beta1/MockClusterManagerImpl.java | 0 .../container/v1/ClusterManagerGrpc.java | 4086 ++++++++++ .../container/v1beta1/ClusterManagerGrpc.java | 4345 ++++++++++ .../container/v1/AcceleratorConfig.java | 528 +- .../v1/AcceleratorConfigOrBuilder.java | 47 +- .../com/google/container/v1/AddonsConfig.java | 1355 +++- .../container/v1/AddonsConfigOrBuilder.java | 151 +- .../container/v1/AdvancedMachineFeatures.java | 288 +- .../v1/AdvancedMachineFeaturesOrBuilder.java | 24 +- .../v1/AuthenticatorGroupsConfig.java | 365 +- .../AuthenticatorGroupsConfigOrBuilder.java | 30 +- .../container/v1/AutoUpgradeOptions.java | 399 +- .../v1/AutoUpgradeOptionsOrBuilder.java | 36 +- .../com/google/container/v1/Autopilot.java | 275 +- .../container/v1/AutopilotOrBuilder.java | 38 + .../v1/AutoprovisioningNodePoolDefaults.java | 1109 ++- ...provisioningNodePoolDefaultsOrBuilder.java | 120 +- .../container/v1/BinaryAuthorization.java | 446 +- .../v1/BinaryAuthorizationOrBuilder.java | 34 +- .../container/v1/BlueGreenSettings.java | 1073 ++- .../v1/BlueGreenSettingsOrBuilder.java | 46 +- .../container/v1/CancelOperationRequest.java | 674 +- .../v1/CancelOperationRequestOrBuilder.java | 90 +- .../container/v1/ClientCertificateConfig.java | 285 +- .../v1/ClientCertificateConfigOrBuilder.java | 38 + .../google/container/v1/CloudRunConfig.java | 409 +- .../container/v1/CloudRunConfigOrBuilder.java | 27 +- .../java/com/google/container/v1/Cluster.java | 6124 +++++++++----- .../container/v1/ClusterAutoscaling.java | 870 +- .../v1/ClusterAutoscalingOrBuilder.java | 92 +- .../google/container/v1/ClusterOrBuilder.java | 684 +- .../container/v1/ClusterServiceProto.java | 3333 ++++++++ .../google/container/v1/ClusterUpdate.java | 4175 +++++++--- .../container/v1/ClusterUpdateOrBuilder.java | 407 +- .../v1/CompleteIPRotationRequest.java | 681 +- .../CompleteIPRotationRequestOrBuilder.java | 90 +- .../v1/CompleteNodePoolUpgradeRequest.java | 333 +- ...mpleteNodePoolUpgradeRequestOrBuilder.java | 27 +- .../container/v1/ConfidentialNodes.java | 282 +- .../v1/ConfidentialNodesOrBuilder.java | 38 + .../container/v1/ConfigConnectorConfig.java | 282 +- .../v1/ConfigConnectorConfigOrBuilder.java | 38 + .../container/v1/CostManagementConfig.java | 282 +- .../v1/CostManagementConfigOrBuilder.java | 38 + .../container/v1/CreateClusterRequest.java | 665 +- .../v1/CreateClusterRequestOrBuilder.java | 86 +- .../container/v1/CreateNodePoolRequest.java | 791 +- .../v1/CreateNodePoolRequestOrBuilder.java | 107 +- .../com/google/container/v1/DNSConfig.java | 558 +- .../container/v1/DNSConfigOrBuilder.java | 39 +- .../container/v1/DailyMaintenanceWindow.java | 399 +- .../v1/DailyMaintenanceWindowOrBuilder.java | 36 +- .../container/v1/DatabaseEncryption.java | 444 +- .../v1/DatabaseEncryptionOrBuilder.java | 33 +- .../google/container/v1/DatapathProvider.java | 82 +- .../container/v1/DefaultSnatStatus.java | 282 +- .../v1/DefaultSnatStatusOrBuilder.java | 38 + .../container/v1/DeleteClusterRequest.java | 674 +- .../v1/DeleteClusterRequestOrBuilder.java | 90 +- .../container/v1/DeleteNodePoolRequest.java | 792 +- .../v1/DeleteNodePoolRequestOrBuilder.java | 111 +- .../google/container/v1/DnsCacheConfig.java | 275 +- .../container/v1/DnsCacheConfigOrBuilder.java | 38 + .../com/google/container/v1/FastSocket.java | 275 +- .../container/v1/FastSocketOrBuilder.java | 38 + .../google/container/v1/GPUSharingConfig.java | 438 +- .../v1/GPUSharingConfigOrBuilder.java | 42 +- .../google/container/v1/GatewayAPIConfig.java | 375 +- .../v1/GatewayAPIConfigOrBuilder.java | 24 +- .../v1/GcePersistentDiskCsiDriverConfig.java | 295 +- ...ersistentDiskCsiDriverConfigOrBuilder.java | 38 + .../com/google/container/v1/GcfsConfig.java | 275 +- .../container/v1/GcfsConfigOrBuilder.java | 38 + .../v1/GcpFilestoreCsiDriverConfig.java | 289 +- .../GcpFilestoreCsiDriverConfigOrBuilder.java | 38 + .../container/v1/GetClusterRequest.java | 674 +- .../v1/GetClusterRequestOrBuilder.java | 90 +- .../container/v1/GetJSONWebKeysRequest.java | 320 +- .../v1/GetJSONWebKeysRequestOrBuilder.java | 27 +- .../container/v1/GetJSONWebKeysResponse.java | 406 +- .../v1/GetJSONWebKeysResponseOrBuilder.java | 37 +- .../container/v1/GetNodePoolRequest.java | 792 +- .../v1/GetNodePoolRequestOrBuilder.java | 111 +- .../container/v1/GetOpenIDConfigRequest.java | 320 +- .../v1/GetOpenIDConfigRequestOrBuilder.java | 27 +- .../container/v1/GetOpenIDConfigResponse.java | 939 ++- .../v1/GetOpenIDConfigResponseOrBuilder.java | 126 +- .../container/v1/GetOperationRequest.java | 674 +- .../v1/GetOperationRequestOrBuilder.java | 90 +- .../container/v1/GetServerConfigRequest.java | 554 +- .../v1/GetServerConfigRequestOrBuilder.java | 69 +- .../container/v1/GkeBackupAgentConfig.java | 282 +- .../v1/GkeBackupAgentConfigOrBuilder.java | 38 + .../v1/HorizontalPodAutoscaling.java | 289 +- .../v1/HorizontalPodAutoscalingOrBuilder.java | 40 + .../container/v1/HttpLoadBalancing.java | 282 +- .../v1/HttpLoadBalancingOrBuilder.java | 40 + .../container/v1/ILBSubsettingConfig.java | 282 +- .../v1/ILBSubsettingConfigOrBuilder.java | 38 + .../container/v1/IPAllocationPolicy.java | 1395 ++-- .../v1/IPAllocationPolicyOrBuilder.java | 165 +- .../google/container/v1/IPv6AccessType.java | 82 +- .../container/v1/IdentityServiceConfig.java | 282 +- .../v1/IdentityServiceConfigOrBuilder.java | 38 + .../v1/IntraNodeVisibilityConfig.java | 289 +- .../IntraNodeVisibilityConfigOrBuilder.java | 38 + .../java/com/google/container/v1/Jwk.java | 939 ++- .../com/google/container/v1/JwkOrBuilder.java | 99 +- .../container/v1/KubernetesDashboard.java | 282 +- .../v1/KubernetesDashboardOrBuilder.java | 38 + .../com/google/container/v1/LegacyAbac.java | 275 +- .../container/v1/LegacyAbacOrBuilder.java | 21 +- .../google/container/v1/LinuxNodeConfig.java | 631 +- .../v1/LinuxNodeConfigOrBuilder.java | 55 +- .../container/v1/ListClustersRequest.java | 554 +- .../v1/ListClustersRequestOrBuilder.java | 69 +- .../container/v1/ListClustersResponse.java | 509 +- .../v1/ListClustersResponseOrBuilder.java | 55 +- .../container/v1/ListNodePoolsRequest.java | 674 +- .../v1/ListNodePoolsRequestOrBuilder.java | 90 +- .../container/v1/ListNodePoolsResponse.java | 397 +- .../v1/ListNodePoolsResponseOrBuilder.java | 37 +- .../container/v1/ListOperationsRequest.java | 554 +- .../v1/ListOperationsRequestOrBuilder.java | 69 +- .../container/v1/ListOperationsResponse.java | 504 +- .../v1/ListOperationsResponseOrBuilder.java | 55 +- .../v1/ListUsableSubnetworksRequest.java | 514 +- ...ListUsableSubnetworksRequestOrBuilder.java | 48 +- .../v1/ListUsableSubnetworksResponse.java | 486 +- ...istUsableSubnetworksResponseOrBuilder.java | 45 +- .../container/v1/LoggingComponentConfig.java | 520 +- .../v1/LoggingComponentConfigOrBuilder.java | 54 +- .../google/container/v1/LoggingConfig.java | 326 +- .../container/v1/LoggingConfigOrBuilder.java | 26 +- .../container/v1/LoggingVariantConfig.java | 375 +- .../v1/LoggingVariantConfigOrBuilder.java | 24 +- .../v1/MaintenanceExclusionOptions.java | 386 +- .../MaintenanceExclusionOptionsOrBuilder.java | 24 +- .../container/v1/MaintenancePolicy.java | 409 +- .../v1/MaintenancePolicyOrBuilder.java | 35 +- .../container/v1/MaintenanceWindow.java | 719 +- .../v1/MaintenanceWindowOrBuilder.java | 65 +- .../container/v1/ManagedPrometheusConfig.java | 285 +- .../v1/ManagedPrometheusConfigOrBuilder.java | 38 + .../com/google/container/v1/MasterAuth.java | 816 +- .../container/v1/MasterAuthOrBuilder.java | 95 +- .../v1/MasterAuthorizedNetworksConfig.java | 1038 ++- ...sterAuthorizedNetworksConfigOrBuilder.java | 57 +- .../container/v1/MaxPodsConstraint.java | 282 +- .../v1/MaxPodsConstraintOrBuilder.java | 38 + .../google/container/v1/MeshCertificates.java | 331 +- .../v1/MeshCertificatesOrBuilder.java | 26 +- .../v1/MonitoringComponentConfig.java | 542 +- .../MonitoringComponentConfigOrBuilder.java | 54 +- .../google/container/v1/MonitoringConfig.java | 433 +- .../v1/MonitoringConfigOrBuilder.java | 34 +- .../google/container/v1/NetworkConfig.java | 963 ++- .../container/v1/NetworkConfigOrBuilder.java | 86 +- .../google/container/v1/NetworkPolicy.java | 394 +- .../container/v1/NetworkPolicyConfig.java | 282 +- .../v1/NetworkPolicyConfigOrBuilder.java | 38 + .../container/v1/NetworkPolicyOrBuilder.java | 27 +- .../com/google/container/v1/NetworkTags.java | 341 +- .../container/v1/NetworkTagsOrBuilder.java | 36 +- .../com/google/container/v1/NodeConfig.java | 3279 +++++--- .../container/v1/NodeConfigDefaults.java | 419 +- .../v1/NodeConfigDefaultsOrBuilder.java | 34 +- .../container/v1/NodeConfigOrBuilder.java | 355 +- .../container/v1/NodeKubeletConfig.java | 514 +- .../v1/NodeKubeletConfigOrBuilder.java | 47 +- .../com/google/container/v1/NodeLabels.java | 496 +- .../container/v1/NodeLabelsOrBuilder.java | 49 +- .../google/container/v1/NodeManagement.java | 399 +- .../container/v1/NodeManagementOrBuilder.java | 32 +- .../container/v1/NodeNetworkConfig.java | 1118 ++- .../v1/NodeNetworkConfigOrBuilder.java | 68 +- .../com/google/container/v1/NodePool.java | 3937 +++++---- .../container/v1/NodePoolAutoConfig.java | 333 +- .../v1/NodePoolAutoConfigOrBuilder.java | 26 +- .../container/v1/NodePoolAutoscaling.java | 596 +- .../v1/NodePoolAutoscalingOrBuilder.java | 42 +- .../google/container/v1/NodePoolDefaults.java | 328 +- .../v1/NodePoolDefaultsOrBuilder.java | 26 +- .../container/v1/NodePoolLoggingConfig.java | 330 +- .../v1/NodePoolLoggingConfigOrBuilder.java | 26 +- .../container/v1/NodePoolOrBuilder.java | 208 +- .../container/v1/NodePoolUpdateStrategy.java | 77 +- .../com/google/container/v1/NodeTaint.java | 521 +- .../container/v1/NodeTaintOrBuilder.java | 42 +- .../com/google/container/v1/NodeTaints.java | 397 +- .../container/v1/NodeTaintsOrBuilder.java | 37 +- .../container/v1/NotificationConfig.java | 1238 +-- .../v1/NotificationConfigOrBuilder.java | 26 +- .../com/google/container/v1/Operation.java | 2207 +++-- .../container/v1/OperationOrBuilder.java | 265 +- .../container/v1/OperationProgress.java | 1276 +-- .../v1/OperationProgressOrBuilder.java | 69 +- .../container/v1/PrivateClusterConfig.java | 879 +- .../v1/PrivateClusterConfigOrBuilder.java | 92 +- ...rivateClusterMasterGlobalAccessConfig.java | 313 +- ...sterMasterGlobalAccessConfigOrBuilder.java | 38 + .../container/v1/PrivateIPv6GoogleAccess.java | 84 +- .../container/v1/RecurringTimeWindow.java | 395 +- .../v1/RecurringTimeWindowOrBuilder.java | 35 +- .../google/container/v1/ReleaseChannel.java | 361 +- .../container/v1/ReleaseChannelOrBuilder.java | 24 +- .../container/v1/ReservationAffinity.java | 565 +- .../v1/ReservationAffinityOrBuilder.java | 51 +- .../google/container/v1/ResourceLabels.java | 496 +- .../container/v1/ResourceLabelsOrBuilder.java | 49 +- .../google/container/v1/ResourceLimit.java | 392 +- .../container/v1/ResourceLimitOrBuilder.java | 33 +- .../v1/ResourceUsageExportConfig.java | 1360 ++-- .../ResourceUsageExportConfigOrBuilder.java | 70 +- .../v1/RollbackNodePoolUpgradeRequest.java | 833 +- ...llbackNodePoolUpgradeRequestOrBuilder.java | 114 +- .../google/container/v1/SandboxConfig.java | 350 +- .../container/v1/SandboxConfigOrBuilder.java | 24 +- .../container/v1/SecurityBulletinEvent.java | 1081 ++- .../v1/SecurityBulletinEventOrBuilder.java | 129 +- .../com/google/container/v1/ServerConfig.java | 1381 ++-- .../container/v1/ServerConfigOrBuilder.java | 105 +- .../v1/ServiceExternalIPsConfig.java | 289 +- .../v1/ServiceExternalIPsConfigOrBuilder.java | 38 + .../container/v1/SetAddonsConfigRequest.java | 807 +- .../v1/SetAddonsConfigRequestOrBuilder.java | 110 +- .../google/container/v1/SetLabelsRequest.java | 1045 +-- .../v1/SetLabelsRequestOrBuilder.java | 145 +- .../container/v1/SetLegacyAbacRequest.java | 710 +- .../v1/SetLegacyAbacRequestOrBuilder.java | 93 +- .../container/v1/SetLocationsRequest.java | 781 +- .../v1/SetLocationsRequestOrBuilder.java | 108 +- .../v1/SetLoggingServiceRequest.java | 758 +- .../v1/SetLoggingServiceRequestOrBuilder.java | 99 +- .../v1/SetMaintenancePolicyRequest.java | 689 +- .../SetMaintenancePolicyRequestOrBuilder.java | 74 +- .../container/v1/SetMasterAuthRequest.java | 958 ++- .../v1/SetMasterAuthRequestOrBuilder.java | 121 +- .../v1/SetMonitoringServiceRequest.java | 758 +- .../SetMonitoringServiceRequestOrBuilder.java | 99 +- .../container/v1/SetNetworkPolicyRequest.java | 810 +- .../v1/SetNetworkPolicyRequestOrBuilder.java | 110 +- .../v1/SetNodePoolAutoscalingRequest.java | 944 ++- ...etNodePoolAutoscalingRequestOrBuilder.java | 131 +- .../v1/SetNodePoolManagementRequest.java | 944 ++- ...SetNodePoolManagementRequestOrBuilder.java | 131 +- .../container/v1/SetNodePoolSizeRequest.java | 837 +- .../v1/SetNodePoolSizeRequestOrBuilder.java | 114 +- .../container/v1/ShieldedInstanceConfig.java | 320 +- .../v1/ShieldedInstanceConfigOrBuilder.java | 24 +- .../google/container/v1/ShieldedNodes.java | 278 +- .../container/v1/ShieldedNodesOrBuilder.java | 38 + .../com/google/container/v1/StackType.java | 82 +- .../container/v1/StartIPRotationRequest.java | 710 +- .../v1/StartIPRotationRequestOrBuilder.java | 93 +- .../google/container/v1/StatusCondition.java | 560 +- .../v1/StatusConditionOrBuilder.java | 53 +- .../com/google/container/v1/TimeWindow.java | 570 +- .../container/v1/TimeWindowOrBuilder.java | 54 +- .../container/v1/UpdateClusterRequest.java | 800 +- .../v1/UpdateClusterRequestOrBuilder.java | 107 +- .../container/v1/UpdateMasterRequest.java | 751 +- .../v1/UpdateMasterRequestOrBuilder.java | 99 +- .../container/v1/UpdateNodePoolRequest.java | 2261 ++++-- .../v1/UpdateNodePoolRequestOrBuilder.java | 259 +- .../container/v1/UpgradeAvailableEvent.java | 541 +- .../v1/UpgradeAvailableEventOrBuilder.java | 50 +- .../com/google/container/v1/UpgradeEvent.java | 706 +- .../container/v1/UpgradeEventOrBuilder.java | 68 +- .../container/v1/UpgradeResourceType.java | 77 +- .../google/container/v1/UsableSubnetwork.java | 787 +- .../v1/UsableSubnetworkOrBuilder.java | 84 +- .../v1/UsableSubnetworkSecondaryRange.java | 566 +- ...ableSubnetworkSecondaryRangeOrBuilder.java | 42 +- .../container/v1/VerticalPodAutoscaling.java | 282 +- .../v1/VerticalPodAutoscalingOrBuilder.java | 38 + .../com/google/container/v1/VirtualNIC.java | 275 +- .../container/v1/VirtualNICOrBuilder.java | 38 + .../container/v1/WorkloadIdentityConfig.java | 320 +- .../v1/WorkloadIdentityConfigOrBuilder.java | 50 + .../container/v1/WorkloadMetadataConfig.java | 369 +- .../v1/WorkloadMetadataConfigOrBuilder.java | 24 +- .../google/container/v1/cluster_service.proto | 0 .../container/v1beta1/AcceleratorConfig.java | 592 +- .../v1beta1/AcceleratorConfigOrBuilder.java | 57 +- .../container/v1beta1/AddonsConfig.java | 1725 ++-- .../v1beta1/AddonsConfigOrBuilder.java | 213 +- .../v1beta1/AdvancedMachineFeatures.java | 292 +- .../AdvancedMachineFeaturesOrBuilder.java | 24 +- .../v1beta1/AuthenticatorGroupsConfig.java | 368 +- .../AuthenticatorGroupsConfigOrBuilder.java | 30 +- .../container/v1beta1/AutoUpgradeOptions.java | 402 +- .../v1beta1/AutoUpgradeOptionsOrBuilder.java | 36 +- .../google/container/v1beta1/Autopilot.java | 275 +- .../container/v1beta1/AutopilotOrBuilder.java | 38 + .../AutoprovisioningNodePoolDefaults.java | 1129 ++- ...provisioningNodePoolDefaultsOrBuilder.java | 120 +- .../v1beta1/BinaryAuthorization.java | 470 +- .../v1beta1/BinaryAuthorizationOrBuilder.java | 34 +- .../container/v1beta1/BlueGreenSettings.java | 1113 ++- .../v1beta1/BlueGreenSettingsOrBuilder.java | 49 +- .../v1beta1/CancelOperationRequest.java | 723 +- .../CancelOperationRequestOrBuilder.java | 102 +- .../v1beta1/ClientCertificateConfig.java | 289 +- .../ClientCertificateConfigOrBuilder.java | 38 + .../container/v1beta1/CloudRunConfig.java | 433 +- .../v1beta1/CloudRunConfigOrBuilder.java | 27 +- .../com/google/container/v1beta1/Cluster.java | 7119 +++++++++++------ .../container/v1beta1/ClusterAutoscaling.java | 880 +- .../v1beta1/ClusterAutoscalingOrBuilder.java | 95 +- .../container/v1beta1/ClusterOrBuilder.java | 793 +- .../v1beta1/ClusterServiceProto.java | 3756 +++++++++ .../container/v1beta1/ClusterTelemetry.java | 376 +- .../v1beta1/ClusterTelemetryOrBuilder.java | 24 +- .../container/v1beta1/ClusterUpdate.java | 5279 ++++++++---- .../v1beta1/ClusterUpdateOrBuilder.java | 594 +- .../v1beta1/CompleteIPRotationRequest.java | 726 +- .../CompleteIPRotationRequestOrBuilder.java | 102 +- .../CompleteNodePoolUpgradeRequest.java | 333 +- ...mpleteNodePoolUpgradeRequestOrBuilder.java | 27 +- .../container/v1beta1/ConfidentialNodes.java | 282 +- .../v1beta1/ConfidentialNodesOrBuilder.java | 38 + .../v1beta1/ConfigConnectorConfig.java | 289 +- .../ConfigConnectorConfigOrBuilder.java | 38 + .../v1beta1/CostManagementConfig.java | 289 +- .../CostManagementConfigOrBuilder.java | 38 + .../v1beta1/CreateClusterRequest.java | 710 +- .../CreateClusterRequestOrBuilder.java | 92 +- .../v1beta1/CreateNodePoolRequest.java | 856 +- .../CreateNodePoolRequestOrBuilder.java | 122 +- .../google/container/v1beta1/DNSConfig.java | 565 +- .../container/v1beta1/DNSConfigOrBuilder.java | 39 +- .../v1beta1/DailyMaintenanceWindow.java | 406 +- .../DailyMaintenanceWindowOrBuilder.java | 36 +- .../container/v1beta1/DatabaseEncryption.java | 451 +- .../v1beta1/DatabaseEncryptionOrBuilder.java | 33 +- .../container/v1beta1/DatapathProvider.java | 82 +- .../container/v1beta1/DefaultSnatStatus.java | 282 +- .../v1beta1/DefaultSnatStatusOrBuilder.java | 38 + .../v1beta1/DeleteClusterRequest.java | 723 +- .../DeleteClusterRequestOrBuilder.java | 102 +- .../v1beta1/DeleteNodePoolRequest.java | 862 +- .../DeleteNodePoolRequestOrBuilder.java | 129 +- .../container/v1beta1/DnsCacheConfig.java | 282 +- .../v1beta1/DnsCacheConfigOrBuilder.java | 38 + .../v1beta1/EphemeralStorageConfig.java | 286 +- .../EphemeralStorageConfigOrBuilder.java | 40 + .../google/container/v1beta1/FastSocket.java | 279 +- .../v1beta1/FastSocketOrBuilder.java | 38 + .../container/v1beta1/GPUSharingConfig.java | 446 +- .../v1beta1/GPUSharingConfigOrBuilder.java | 42 +- .../container/v1beta1/GatewayAPIConfig.java | 382 +- .../v1beta1/GatewayAPIConfigOrBuilder.java | 24 +- .../GcePersistentDiskCsiDriverConfig.java | 302 +- ...ersistentDiskCsiDriverConfigOrBuilder.java | 38 + .../google/container/v1beta1/GcfsConfig.java | 279 +- .../v1beta1/GcfsConfigOrBuilder.java | 38 + .../v1beta1/GcpFilestoreCsiDriverConfig.java | 292 +- .../GcpFilestoreCsiDriverConfigOrBuilder.java | 38 + .../container/v1beta1/GetClusterRequest.java | 716 +- .../v1beta1/GetClusterRequestOrBuilder.java | 102 +- .../v1beta1/GetJSONWebKeysRequest.java | 327 +- .../GetJSONWebKeysRequestOrBuilder.java | 27 +- .../v1beta1/GetJSONWebKeysResponse.java | 410 +- .../GetJSONWebKeysResponseOrBuilder.java | 37 +- .../container/v1beta1/GetNodePoolRequest.java | 858 +- .../v1beta1/GetNodePoolRequestOrBuilder.java | 129 +- .../v1beta1/GetOpenIDConfigRequest.java | 327 +- .../GetOpenIDConfigRequestOrBuilder.java | 27 +- .../v1beta1/GetOpenIDConfigResponse.java | 943 ++- .../GetOpenIDConfigResponseOrBuilder.java | 126 +- .../v1beta1/GetOperationRequest.java | 723 +- .../v1beta1/GetOperationRequestOrBuilder.java | 102 +- .../v1beta1/GetServerConfigRequest.java | 582 +- .../GetServerConfigRequestOrBuilder.java | 75 +- .../v1beta1/GkeBackupAgentConfig.java | 289 +- .../GkeBackupAgentConfigOrBuilder.java | 38 + .../v1beta1/HorizontalPodAutoscaling.java | 292 +- .../HorizontalPodAutoscalingOrBuilder.java | 40 + .../container/v1beta1/HttpLoadBalancing.java | 282 +- .../v1beta1/HttpLoadBalancingOrBuilder.java | 40 + .../v1beta1/ILBSubsettingConfig.java | 289 +- .../v1beta1/ILBSubsettingConfigOrBuilder.java | 38 + .../container/v1beta1/IPAllocationPolicy.java | 1783 +++-- .../v1beta1/IPAllocationPolicyOrBuilder.java | 186 +- .../v1beta1/IdentityServiceConfig.java | 289 +- .../IdentityServiceConfigOrBuilder.java | 38 + .../v1beta1/IntraNodeVisibilityConfig.java | 292 +- .../IntraNodeVisibilityConfigOrBuilder.java | 38 + .../google/container/v1beta1/IstioConfig.java | 483 +- .../v1beta1/IstioConfigOrBuilder.java | 48 +- .../com/google/container/v1beta1/Jwk.java | 942 ++- .../container/v1beta1/JwkOrBuilder.java | 99 +- .../google/container/v1beta1/KalmConfig.java | 307 +- .../v1beta1/KalmConfigOrBuilder.java | 41 + .../v1beta1/KubernetesDashboard.java | 289 +- .../v1beta1/KubernetesDashboardOrBuilder.java | 38 + .../google/container/v1beta1/LegacyAbac.java | 279 +- .../v1beta1/LegacyAbacOrBuilder.java | 21 +- .../container/v1beta1/LinuxNodeConfig.java | 636 +- .../v1beta1/LinuxNodeConfigOrBuilder.java | 55 +- .../v1beta1/ListClustersRequest.java | 582 +- .../v1beta1/ListClustersRequestOrBuilder.java | 75 +- .../v1beta1/ListClustersResponse.java | 511 +- .../ListClustersResponseOrBuilder.java | 54 +- .../v1beta1/ListLocationsRequest.java | 327 +- .../ListLocationsRequestOrBuilder.java | 27 +- .../v1beta1/ListLocationsResponse.java | 482 +- .../ListLocationsResponseOrBuilder.java | 45 +- .../v1beta1/ListNodePoolsRequest.java | 723 +- .../ListNodePoolsRequestOrBuilder.java | 102 +- .../v1beta1/ListNodePoolsResponse.java | 405 +- .../ListNodePoolsResponseOrBuilder.java | 36 +- .../v1beta1/ListOperationsRequest.java | 582 +- .../ListOperationsRequestOrBuilder.java | 75 +- .../v1beta1/ListOperationsResponse.java | 512 +- .../ListOperationsResponseOrBuilder.java | 54 +- .../v1beta1/ListUsableSubnetworksRequest.java | 517 +- ...ListUsableSubnetworksRequestOrBuilder.java | 48 +- .../ListUsableSubnetworksResponse.java | 483 +- ...istUsableSubnetworksResponseOrBuilder.java | 45 +- .../google/container/v1beta1/Location.java | 490 +- .../container/v1beta1/LocationOrBuilder.java | 36 +- .../v1beta1/LoggingComponentConfig.java | 554 +- .../LoggingComponentConfigOrBuilder.java | 59 +- .../container/v1beta1/LoggingConfig.java | 336 +- .../v1beta1/LoggingConfigOrBuilder.java | 26 +- .../v1beta1/LoggingVariantConfig.java | 388 +- .../LoggingVariantConfigOrBuilder.java | 24 +- .../v1beta1/MaintenanceExclusionOptions.java | 389 +- .../MaintenanceExclusionOptionsOrBuilder.java | 24 +- .../container/v1beta1/MaintenancePolicy.java | 406 +- .../v1beta1/MaintenancePolicyOrBuilder.java | 35 +- .../container/v1beta1/MaintenanceWindow.java | 753 +- .../v1beta1/MaintenanceWindowOrBuilder.java | 78 +- .../v1beta1/ManagedPrometheusConfig.java | 289 +- .../ManagedPrometheusConfigOrBuilder.java | 38 + .../com/google/container/v1beta1/Master.java | 237 +- .../google/container/v1beta1/MasterAuth.java | 807 +- .../v1beta1/MasterAuthOrBuilder.java | 94 +- .../MasterAuthorizedNetworksConfig.java | 1082 ++- ...sterAuthorizedNetworksConfigOrBuilder.java | 66 +- .../container/v1beta1/MasterOrBuilder.java | 24 + .../container/v1beta1/MaxPodsConstraint.java | 282 +- .../v1beta1/MaxPodsConstraintOrBuilder.java | 38 + .../container/v1beta1/MeshCertificates.java | 334 +- .../v1beta1/MeshCertificatesOrBuilder.java | 26 +- .../v1beta1/MonitoringComponentConfig.java | 561 +- .../MonitoringComponentConfigOrBuilder.java | 59 +- .../container/v1beta1/MonitoringConfig.java | 449 +- .../v1beta1/MonitoringConfigOrBuilder.java | 37 +- .../container/v1beta1/NetworkConfig.java | 1035 ++- .../v1beta1/NetworkConfigOrBuilder.java | 98 +- .../container/v1beta1/NetworkPolicy.java | 406 +- .../v1beta1/NetworkPolicyConfig.java | 289 +- .../v1beta1/NetworkPolicyConfigOrBuilder.java | 38 + .../v1beta1/NetworkPolicyOrBuilder.java | 27 +- .../google/container/v1beta1/NetworkTags.java | 345 +- .../v1beta1/NetworkTagsOrBuilder.java | 36 +- .../google/container/v1beta1/NodeConfig.java | 3416 +++++--- .../container/v1beta1/NodeConfigDefaults.java | 422 +- .../v1beta1/NodeConfigDefaultsOrBuilder.java | 34 +- .../v1beta1/NodeConfigOrBuilder.java | 365 +- .../container/v1beta1/NodeKubeletConfig.java | 514 +- .../v1beta1/NodeKubeletConfigOrBuilder.java | 47 +- .../google/container/v1beta1/NodeLabels.java | 500 +- .../v1beta1/NodeLabelsOrBuilder.java | 49 +- .../container/v1beta1/NodeManagement.java | 406 +- .../v1beta1/NodeManagementOrBuilder.java | 32 +- .../container/v1beta1/NodeNetworkConfig.java | 1289 +-- .../v1beta1/NodeNetworkConfigOrBuilder.java | 71 +- .../google/container/v1beta1/NodePool.java | 4053 ++++++---- .../container/v1beta1/NodePoolAutoConfig.java | 333 +- .../v1beta1/NodePoolAutoConfigOrBuilder.java | 26 +- .../v1beta1/NodePoolAutoscaling.java | 620 +- .../v1beta1/NodePoolAutoscalingOrBuilder.java | 42 +- .../container/v1beta1/NodePoolDefaults.java | 334 +- .../v1beta1/NodePoolDefaultsOrBuilder.java | 26 +- .../v1beta1/NodePoolLoggingConfig.java | 337 +- .../NodePoolLoggingConfigOrBuilder.java | 26 +- .../container/v1beta1/NodePoolOrBuilder.java | 208 +- .../v1beta1/NodePoolUpdateStrategy.java | 77 +- .../google/container/v1beta1/NodeTaint.java | 521 +- .../container/v1beta1/NodeTaintOrBuilder.java | 42 +- .../google/container/v1beta1/NodeTaints.java | 395 +- .../v1beta1/NodeTaintsOrBuilder.java | 36 +- .../container/v1beta1/NotificationConfig.java | 1286 +-- .../v1beta1/NotificationConfigOrBuilder.java | 26 +- .../google/container/v1beta1/Operation.java | 2204 +++-- .../container/v1beta1/OperationOrBuilder.java | 265 +- .../container/v1beta1/OperationProgress.java | 1266 +-- .../v1beta1/OperationProgressOrBuilder.java | 69 +- .../v1beta1/PodSecurityPolicyConfig.java | 289 +- .../PodSecurityPolicyConfigOrBuilder.java | 39 + .../v1beta1/PrivateClusterConfig.java | 894 ++- .../PrivateClusterConfigOrBuilder.java | 92 +- ...rivateClusterMasterGlobalAccessConfig.java | 328 +- ...sterMasterGlobalAccessConfigOrBuilder.java | 38 + .../v1beta1/PrivateIPv6GoogleAccess.java | 84 +- .../container/v1beta1/ProtectConfig.java | 510 +- .../v1beta1/ProtectConfigOrBuilder.java | 50 +- .../v1beta1/RecurringTimeWindow.java | 408 +- .../v1beta1/RecurringTimeWindowOrBuilder.java | 35 +- .../container/v1beta1/ReleaseChannel.java | 376 +- .../v1beta1/ReleaseChannelOrBuilder.java | 24 +- .../v1beta1/ReservationAffinity.java | 576 +- .../v1beta1/ReservationAffinityOrBuilder.java | 51 +- .../container/v1beta1/ResourceLabels.java | 503 +- .../v1beta1/ResourceLabelsOrBuilder.java | 49 +- .../container/v1beta1/ResourceLimit.java | 396 +- .../v1beta1/ResourceLimitOrBuilder.java | 33 +- .../v1beta1/ResourceUsageExportConfig.java | 1436 ++-- .../ResourceUsageExportConfigOrBuilder.java | 73 +- .../RollbackNodePoolUpgradeRequest.java | 852 +- ...llbackNodePoolUpgradeRequestOrBuilder.java | 108 +- .../container/v1beta1/SandboxConfig.java | 474 +- .../v1beta1/SandboxConfigOrBuilder.java | 45 +- .../v1beta1/SecurityBulletinEvent.java | 1088 ++- .../SecurityBulletinEventOrBuilder.java | 129 +- .../container/v1beta1/ServerConfig.java | 2701 ++++--- .../v1beta1/ServerConfigOrBuilder.java | 149 +- .../v1beta1/ServiceExternalIPsConfig.java | 292 +- .../ServiceExternalIPsConfigOrBuilder.java | 38 + .../v1beta1/SetAddonsConfigRequest.java | 853 +- .../SetAddonsConfigRequestOrBuilder.java | 122 +- .../container/v1beta1/SetLabelsRequest.java | 1092 +-- .../v1beta1/SetLabelsRequestOrBuilder.java | 157 +- .../v1beta1/SetLegacyAbacRequest.java | 759 +- .../SetLegacyAbacRequestOrBuilder.java | 105 +- .../v1beta1/SetLocationsRequest.java | 830 +- .../v1beta1/SetLocationsRequestOrBuilder.java | 120 +- .../v1beta1/SetLoggingServiceRequest.java | 803 +- .../SetLoggingServiceRequestOrBuilder.java | 111 +- .../v1beta1/SetMaintenancePolicyRequest.java | 692 +- .../SetMaintenancePolicyRequestOrBuilder.java | 74 +- .../v1beta1/SetMasterAuthRequest.java | 1029 ++- .../SetMasterAuthRequestOrBuilder.java | 136 +- .../v1beta1/SetMonitoringServiceRequest.java | 763 +- .../SetMonitoringServiceRequestOrBuilder.java | 111 +- .../v1beta1/SetNetworkPolicyRequest.java | 853 +- .../SetNetworkPolicyRequestOrBuilder.java | 122 +- .../SetNodePoolAutoscalingRequest.java | 943 ++- ...etNodePoolAutoscalingRequestOrBuilder.java | 125 +- .../v1beta1/SetNodePoolManagementRequest.java | 939 ++- ...SetNodePoolManagementRequestOrBuilder.java | 141 +- .../v1beta1/SetNodePoolSizeRequest.java | 907 ++- .../SetNodePoolSizeRequestOrBuilder.java | 132 +- .../v1beta1/ShieldedInstanceConfig.java | 327 +- .../ShieldedInstanceConfigOrBuilder.java | 24 +- .../container/v1beta1/ShieldedNodes.java | 282 +- .../v1beta1/ShieldedNodesOrBuilder.java | 38 + .../v1beta1/StartIPRotationRequest.java | 759 +- .../StartIPRotationRequestOrBuilder.java | 105 +- .../container/v1beta1/StatusCondition.java | 568 +- .../v1beta1/StatusConditionOrBuilder.java | 53 +- .../google/container/v1beta1/TimeWindow.java | 586 +- .../v1beta1/TimeWindowOrBuilder.java | 54 +- .../google/container/v1beta1/TpuConfig.java | 389 +- .../container/v1beta1/TpuConfigOrBuilder.java | 33 +- .../v1beta1/UpdateClusterRequest.java | 856 +- .../UpdateClusterRequestOrBuilder.java | 122 +- .../v1beta1/UpdateMasterRequest.java | 800 +- .../v1beta1/UpdateMasterRequestOrBuilder.java | 111 +- .../v1beta1/UpdateNodePoolRequest.java | 2375 ++++-- .../UpdateNodePoolRequestOrBuilder.java | 277 +- .../v1beta1/UpgradeAvailableEvent.java | 646 +- .../UpgradeAvailableEventOrBuilder.java | 58 +- .../container/v1beta1/UpgradeEvent.java | 717 +- .../v1beta1/UpgradeEventOrBuilder.java | 68 +- .../v1beta1/UpgradeResourceType.java | 77 +- .../container/v1beta1/UsableSubnetwork.java | 834 +- .../v1beta1/UsableSubnetworkOrBuilder.java | 92 +- .../UsableSubnetworkSecondaryRange.java | 569 +- ...ableSubnetworkSecondaryRangeOrBuilder.java | 42 +- .../v1beta1/VerticalPodAutoscaling.java | 289 +- .../VerticalPodAutoscalingOrBuilder.java | 38 + .../google/container/v1beta1/VirtualNIC.java | 279 +- .../v1beta1/VirtualNICOrBuilder.java | 38 + .../container/v1beta1/WindowsVersions.java | 1002 ++- .../v1beta1/WindowsVersionsOrBuilder.java | 47 +- .../container/v1beta1/WorkloadALTSConfig.java | 330 +- .../v1beta1/WorkloadALTSConfigOrBuilder.java | 26 +- .../v1beta1/WorkloadCertificates.java | 341 +- .../WorkloadCertificatesOrBuilder.java | 26 +- .../container/v1beta1/WorkloadConfig.java | 386 +- .../v1beta1/WorkloadConfigOrBuilder.java | 27 +- .../v1beta1/WorkloadIdentityConfig.java | 498 +- .../WorkloadIdentityConfigOrBuilder.java | 49 +- .../v1beta1/WorkloadMetadataConfig.java | 605 +- .../WorkloadMetadataConfigOrBuilder.java | 52 +- .../container/v1beta1/cluster_service.proto | 0 .../container/v1/ClusterManagerGrpc.java | 3175 -------- .../container/v1/AutopilotOrBuilder.java | 19 - .../v1/ClientCertificateConfigOrBuilder.java | 19 - .../container/v1/ClusterServiceProto.java | 2860 ------- .../v1/ConfidentialNodesOrBuilder.java | 19 - .../v1/ConfigConnectorConfigOrBuilder.java | 19 - .../v1/CostManagementConfigOrBuilder.java | 19 - .../v1/DefaultSnatStatusOrBuilder.java | 19 - .../container/v1/DnsCacheConfigOrBuilder.java | 19 - .../container/v1/FastSocketOrBuilder.java | 19 - ...ersistentDiskCsiDriverConfigOrBuilder.java | 19 - .../container/v1/GcfsConfigOrBuilder.java | 19 - .../GcpFilestoreCsiDriverConfigOrBuilder.java | 19 - .../v1/GkeBackupAgentConfigOrBuilder.java | 19 - .../v1/HorizontalPodAutoscalingOrBuilder.java | 21 - .../v1/HttpLoadBalancingOrBuilder.java | 21 - .../v1/ILBSubsettingConfigOrBuilder.java | 19 - .../v1/IdentityServiceConfigOrBuilder.java | 19 - .../IntraNodeVisibilityConfigOrBuilder.java | 19 - .../v1/KubernetesDashboardOrBuilder.java | 19 - .../v1/ManagedPrometheusConfigOrBuilder.java | 19 - .../v1/MaxPodsConstraintOrBuilder.java | 19 - .../v1/NetworkPolicyConfigOrBuilder.java | 19 - ...sterMasterGlobalAccessConfigOrBuilder.java | 19 - .../v1/ServiceExternalIPsConfigOrBuilder.java | 19 - .../container/v1/ShieldedNodesOrBuilder.java | 19 - .../v1/VerticalPodAutoscalingOrBuilder.java | 19 - .../container/v1/VirtualNICOrBuilder.java | 19 - .../v1/WorkloadIdentityConfigOrBuilder.java | 29 - .../container/v1beta1/ClusterManagerGrpc.java | 3261 -------- .../container/v1beta1/AutopilotOrBuilder.java | 19 - .../ClientCertificateConfigOrBuilder.java | 19 - .../v1beta1/ClusterServiceProto.java | 3217 -------- .../v1beta1/ConfidentialNodesOrBuilder.java | 19 - .../ConfigConnectorConfigOrBuilder.java | 19 - .../CostManagementConfigOrBuilder.java | 19 - .../v1beta1/DefaultSnatStatusOrBuilder.java | 19 - .../v1beta1/DnsCacheConfigOrBuilder.java | 19 - .../EphemeralStorageConfigOrBuilder.java | 21 - .../v1beta1/FastSocketOrBuilder.java | 19 - ...ersistentDiskCsiDriverConfigOrBuilder.java | 19 - .../v1beta1/GcfsConfigOrBuilder.java | 19 - .../GcpFilestoreCsiDriverConfigOrBuilder.java | 19 - .../GkeBackupAgentConfigOrBuilder.java | 19 - .../HorizontalPodAutoscalingOrBuilder.java | 21 - .../v1beta1/HttpLoadBalancingOrBuilder.java | 21 - .../v1beta1/ILBSubsettingConfigOrBuilder.java | 19 - .../IdentityServiceConfigOrBuilder.java | 19 - .../IntraNodeVisibilityConfigOrBuilder.java | 19 - .../v1beta1/KalmConfigOrBuilder.java | 21 - .../v1beta1/KubernetesDashboardOrBuilder.java | 19 - .../ManagedPrometheusConfigOrBuilder.java | 19 - .../container/v1beta1/MasterOrBuilder.java | 9 - .../v1beta1/MaxPodsConstraintOrBuilder.java | 19 - .../v1beta1/NetworkPolicyConfigOrBuilder.java | 19 - .../PodSecurityPolicyConfigOrBuilder.java | 20 - ...sterMasterGlobalAccessConfigOrBuilder.java | 19 - .../ServiceExternalIPsConfigOrBuilder.java | 19 - .../v1beta1/ShieldedNodesOrBuilder.java | 19 - .../VerticalPodAutoscalingOrBuilder.java | 19 - .../v1beta1/VirtualNICOrBuilder.java | 19 - 673 files changed, 158949 insertions(+), 97651 deletions(-) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java (99%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java (99%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java (99%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java (99%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java (100%) rename {owl-bot-staging/java-container/v1 => java-container}/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java (100%) create mode 100644 java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java create mode 100644 java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java (74%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java (82%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java (57%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java (74%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java (82%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java (77%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java (74%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java (88%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java (89%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java (55%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java (54%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java (53%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java (54%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java (75%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java (65%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java (65%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java (77%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java (83%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java (50%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java (76%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java (53%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java (56%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java (78%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java (79%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java (75%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java (75%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java (88%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java (58%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java (56%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java (77%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java (90%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java (77%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java (84%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java (57%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java (77%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java (76%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java (76%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java (59%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java (86%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java (59%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java (58%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java (75%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java (81%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java (60%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java (76%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java (82%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java (55%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java (58%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java (57%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java (60%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java (52%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java (75%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java (80%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java (74%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java (78%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java (75%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java (67%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java (66%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java (76%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java (87%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java (70%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java (74%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java (71%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java (69%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java (66%) create mode 100644 java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java (68%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java (56%) rename {owl-bot-staging/java-container/v1 => java-container}/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto (100%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java (57%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java (86%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java (88%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetry.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java (52%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java (82%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java (56%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java (65%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java (55%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java (62%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java (53%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java (54%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java (65%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java (65%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java (77%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java (84%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java (50%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java (61%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java (50%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java (53%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java (74%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java (54%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java (57%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java (74%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java (57%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java (52%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java (74%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java (86%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java (58%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java (56%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java (77%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java (90%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java (77%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java (84%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java (57%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java (86%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java (60%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java (59%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java (76%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java (82%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java (58%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java (82%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java (56%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java (57%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java (51%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java (57%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java (58%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java (50%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java (56%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java (80%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java (63%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java (73%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java (59%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java (61%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java (86%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java (71%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java (77%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java (74%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java (67%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java (64%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java (68%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java (64%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java (63%) create mode 100644 java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java (59%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java (70%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java (72%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java (75%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java (62%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java (69%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java (65%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java (66%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java (52%) rename {owl-bot-staging/java-container/v1beta1 => java-container}/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto (100%) delete mode 100644 owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java delete mode 100644 owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java similarity index 99% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java index aec67db85ebf..4a7cc8076b11 100644 --- a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java @@ -27,7 +27,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.container.v1.stub.ClusterManagerStubSettings; diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java similarity index 99% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java index 8ae2ac50ca28..4561644d9508 100644 --- a/owl-bot-staging/java-container/v1/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java @@ -72,7 +72,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerClient.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java similarity index 99% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java index 67bd5a8270e1..9c8e7e5a3ba3 100644 --- a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/ClusterManagerSettings.java @@ -27,7 +27,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.container.v1beta1.stub.ClusterManagerStubSettings; diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/package-info.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStub.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/ClusterManagerStubSettings.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerCallableFactory.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java similarity index 99% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java rename to java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java index a342ed55a570..2999b3d01d6a 100644 --- a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/GrpcClusterManagerStub.java @@ -75,7 +75,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java rename to java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java rename to java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java diff --git a/owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java similarity index 100% rename from owl-bot-staging/java-container/v1/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java rename to java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java rename to java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ClusterManagerClientTest.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java rename to java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManager.java diff --git a/owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java b/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java similarity index 100% rename from owl-bot-staging/java-container/v1beta1/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java rename to java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/MockClusterManagerImpl.java diff --git a/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java b/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java new file mode 100644 index 000000000000..c1c2f1dd4085 --- /dev/null +++ b/java-container/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java @@ -0,0 +1,4086 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.container.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Google Kubernetes Engine Cluster Manager v1
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/container/v1/cluster_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ClusterManagerGrpc { + + private ClusterManagerGrpc() {} + + public static final String SERVICE_NAME = "google.container.v1.ClusterManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.ListClustersRequest, com.google.container.v1.ListClustersResponse> + getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.container.v1.ListClustersRequest.class, + responseType = com.google.container.v1.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.ListClustersRequest, com.google.container.v1.ListClustersResponse> + getListClustersMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.ListClustersRequest, + com.google.container.v1.ListClustersResponse> + getListClustersMethod; + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + ClusterManagerGrpc.getListClustersMethod = + getListClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster> + getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.container.v1.GetClusterRequest.class, + responseType = com.google.container.v1.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster> + getGetClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster> + getGetClusterMethod; + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + ClusterManagerGrpc.getGetClusterMethod = + getGetClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation> + getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.container.v1.CreateClusterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation> + getCreateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.CreateClusterRequest, com.google.container.v1.Operation> + getCreateClusterMethod; + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + ClusterManagerGrpc.getCreateClusterMethod = + getCreateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation> + getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.container.v1.UpdateClusterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation> + getUpdateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.UpdateClusterRequest, com.google.container.v1.Operation> + getUpdateClusterMethod; + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + ClusterManagerGrpc.getUpdateClusterMethod = + getUpdateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.UpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation> + getUpdateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", + requestType = com.google.container.v1.UpdateNodePoolRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation> + getUpdateNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.UpdateNodePoolRequest, com.google.container.v1.Operation> + getUpdateNodePoolMethod; + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + ClusterManagerGrpc.getUpdateNodePoolMethod = + getUpdateNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.UpdateNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) + .build(); + } + } + } + return getUpdateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolAutoscalingRequest, com.google.container.v1.Operation> + getSetNodePoolAutoscalingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", + requestType = com.google.container.v1.SetNodePoolAutoscalingRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolAutoscalingRequest, com.google.container.v1.Operation> + getSetNodePoolAutoscalingMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolAutoscalingRequest, + com.google.container.v1.Operation> + getSetNodePoolAutoscalingMethod; + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) + == null) { + ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = + getSetNodePoolAutoscalingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNodePoolAutoscalingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) + .build(); + } + } + } + return getSetNodePoolAutoscalingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation> + getSetLoggingServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", + requestType = com.google.container.v1.SetLoggingServiceRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation> + getSetLoggingServiceMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetLoggingServiceRequest, com.google.container.v1.Operation> + getSetLoggingServiceMethod; + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + ClusterManagerGrpc.getSetLoggingServiceMethod = + getSetLoggingServiceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLoggingServiceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) + .build(); + } + } + } + return getSetLoggingServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation> + getSetMonitoringServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", + requestType = com.google.container.v1.SetMonitoringServiceRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation> + getSetMonitoringServiceMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetMonitoringServiceRequest, com.google.container.v1.Operation> + getSetMonitoringServiceMethod; + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) + == null) { + ClusterManagerGrpc.getSetMonitoringServiceMethod = + getSetMonitoringServiceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetMonitoringServiceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) + .build(); + } + } + } + return getSetMonitoringServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation> + getSetAddonsConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", + requestType = com.google.container.v1.SetAddonsConfigRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation> + getSetAddonsConfigMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetAddonsConfigRequest, com.google.container.v1.Operation> + getSetAddonsConfigMethod; + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + ClusterManagerGrpc.getSetAddonsConfigMethod = + getSetAddonsConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetAddonsConfigRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) + .build(); + } + } + } + return getSetAddonsConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation> + getSetLocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLocations", + requestType = com.google.container.v1.SetLocationsRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation> + getSetLocationsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetLocationsRequest, com.google.container.v1.Operation> + getSetLocationsMethod; + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + ClusterManagerGrpc.getSetLocationsMethod = + getSetLocationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLocationsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetLocations")) + .build(); + } + } + } + return getSetLocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation> + getUpdateMasterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", + requestType = com.google.container.v1.UpdateMasterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation> + getUpdateMasterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.UpdateMasterRequest, com.google.container.v1.Operation> + getUpdateMasterMethod; + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + ClusterManagerGrpc.getUpdateMasterMethod = + getUpdateMasterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.UpdateMasterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) + .build(); + } + } + } + return getUpdateMasterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation> + getSetMasterAuthMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", + requestType = com.google.container.v1.SetMasterAuthRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation> + getSetMasterAuthMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetMasterAuthRequest, com.google.container.v1.Operation> + getSetMasterAuthMethod; + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + ClusterManagerGrpc.getSetMasterAuthMethod = + getSetMasterAuthMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetMasterAuthRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) + .build(); + } + } + } + return getSetMasterAuthMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation> + getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.container.v1.DeleteClusterRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation> + getDeleteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.DeleteClusterRequest, com.google.container.v1.Operation> + getDeleteClusterMethod; + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + ClusterManagerGrpc.getDeleteClusterMethod = + getDeleteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.ListOperationsRequest, + com.google.container.v1.ListOperationsResponse> + getListOperationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOperations", + requestType = com.google.container.v1.ListOperationsRequest.class, + responseType = com.google.container.v1.ListOperationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.ListOperationsRequest, + com.google.container.v1.ListOperationsResponse> + getListOperationsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.ListOperationsRequest, + com.google.container.v1.ListOperationsResponse> + getListOperationsMethod; + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + ClusterManagerGrpc.getListOperationsMethod = + getListOperationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListOperationsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListOperationsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListOperations")) + .build(); + } + } + } + return getListOperationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation> + getGetOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOperation", + requestType = com.google.container.v1.GetOperationRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation> + getGetOperationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.GetOperationRequest, com.google.container.v1.Operation> + getGetOperationMethod; + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + ClusterManagerGrpc.getGetOperationMethod = + getGetOperationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetOperationRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetOperation")) + .build(); + } + } + } + return getGetOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty> + getCancelOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelOperation", + requestType = com.google.container.v1.CancelOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty> + getCancelOperationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty> + getCancelOperationMethod; + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + ClusterManagerGrpc.getCancelOperationMethod = + getCancelOperationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CancelOperationRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CancelOperation")) + .build(); + } + } + } + return getCancelOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig> + getGetServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", + requestType = com.google.container.v1.GetServerConfigRequest.class, + responseType = com.google.container.v1.ServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig> + getGetServerConfigMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.GetServerConfigRequest, com.google.container.v1.ServerConfig> + getGetServerConfigMethod; + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + ClusterManagerGrpc.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.container.v1.GetServerConfigRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ServerConfig.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) + .build(); + } + } + } + return getGetServerConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.GetJSONWebKeysRequest, + com.google.container.v1.GetJSONWebKeysResponse> + getGetJSONWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", + requestType = com.google.container.v1.GetJSONWebKeysRequest.class, + responseType = com.google.container.v1.GetJSONWebKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.GetJSONWebKeysRequest, + com.google.container.v1.GetJSONWebKeysResponse> + getGetJSONWebKeysMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.GetJSONWebKeysRequest, + com.google.container.v1.GetJSONWebKeysResponse> + getGetJSONWebKeysMethod; + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + ClusterManagerGrpc.getGetJSONWebKeysMethod = + getGetJSONWebKeysMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetJSONWebKeysRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetJSONWebKeysResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) + .build(); + } + } + } + return getGetJSONWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.ListNodePoolsRequest, + com.google.container.v1.ListNodePoolsResponse> + getListNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNodePools", + requestType = com.google.container.v1.ListNodePoolsRequest.class, + responseType = com.google.container.v1.ListNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.ListNodePoolsRequest, + com.google.container.v1.ListNodePoolsResponse> + getListNodePoolsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.ListNodePoolsRequest, + com.google.container.v1.ListNodePoolsResponse> + getListNodePoolsMethod; + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + ClusterManagerGrpc.getListNodePoolsMethod = + getListNodePoolsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListNodePoolsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListNodePoolsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListNodePools")) + .build(); + } + } + } + return getListNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool> + getGetNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNodePool", + requestType = com.google.container.v1.GetNodePoolRequest.class, + responseType = com.google.container.v1.NodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool> + getGetNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool> + getGetNodePoolMethod; + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + ClusterManagerGrpc.getGetNodePoolMethod = + getGetNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.GetNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.NodePool.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetNodePool")) + .build(); + } + } + } + return getGetNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation> + getCreateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", + requestType = com.google.container.v1.CreateNodePoolRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation> + getCreateNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.CreateNodePoolRequest, com.google.container.v1.Operation> + getCreateNodePoolMethod; + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + ClusterManagerGrpc.getCreateNodePoolMethod = + getCreateNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CreateNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) + .build(); + } + } + } + return getCreateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation> + getDeleteNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", + requestType = com.google.container.v1.DeleteNodePoolRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation> + getDeleteNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.DeleteNodePoolRequest, com.google.container.v1.Operation> + getDeleteNodePoolMethod; + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + ClusterManagerGrpc.getDeleteNodePoolMethod = + getDeleteNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.DeleteNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) + .build(); + } + } + } + return getDeleteNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", + requestType = com.google.container.v1.CompleteNodePoolUpgradeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = + getCompleteNodePoolUpgradeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CompleteNodePoolUpgradeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) + .build(); + } + } + } + return getCompleteNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.RollbackNodePoolUpgradeRequest, com.google.container.v1.Operation> + getRollbackNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", + requestType = com.google.container.v1.RollbackNodePoolUpgradeRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.RollbackNodePoolUpgradeRequest, com.google.container.v1.Operation> + getRollbackNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.RollbackNodePoolUpgradeRequest, + com.google.container.v1.Operation> + getRollbackNodePoolUpgradeMethod; + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) + == null) { + ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = + getRollbackNodePoolUpgradeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.RollbackNodePoolUpgradeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) + .build(); + } + } + } + return getRollbackNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation> + getSetNodePoolManagementMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", + requestType = com.google.container.v1.SetNodePoolManagementRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation> + getSetNodePoolManagementMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolManagementRequest, com.google.container.v1.Operation> + getSetNodePoolManagementMethod; + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) + == null) { + ClusterManagerGrpc.getSetNodePoolManagementMethod = + getSetNodePoolManagementMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNodePoolManagementRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) + .build(); + } + } + } + return getSetNodePoolManagementMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation> + getSetLabelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLabels", + requestType = com.google.container.v1.SetLabelsRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation> + getSetLabelsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation> + getSetLabelsMethod; + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + ClusterManagerGrpc.getSetLabelsMethod = + getSetLabelsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLabelsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) + .build(); + } + } + } + return getSetLabelsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation> + getSetLegacyAbacMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", + requestType = com.google.container.v1.SetLegacyAbacRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation> + getSetLegacyAbacMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetLegacyAbacRequest, com.google.container.v1.Operation> + getSetLegacyAbacMethod; + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + ClusterManagerGrpc.getSetLegacyAbacMethod = + getSetLegacyAbacMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetLegacyAbacRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) + .build(); + } + } + } + return getSetLegacyAbacMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation> + getStartIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", + requestType = com.google.container.v1.StartIPRotationRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation> + getStartIPRotationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.StartIPRotationRequest, com.google.container.v1.Operation> + getStartIPRotationMethod; + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + ClusterManagerGrpc.getStartIPRotationMethod = + getStartIPRotationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.StartIPRotationRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) + .build(); + } + } + } + return getStartIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation> + getCompleteIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", + requestType = com.google.container.v1.CompleteIPRotationRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation> + getCompleteIPRotationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.CompleteIPRotationRequest, com.google.container.v1.Operation> + getCompleteIPRotationMethod; + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) + == null) { + ClusterManagerGrpc.getCompleteIPRotationMethod = + getCompleteIPRotationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.CompleteIPRotationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) + .build(); + } + } + } + return getCompleteIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation> + getSetNodePoolSizeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", + requestType = com.google.container.v1.SetNodePoolSizeRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation> + getSetNodePoolSizeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetNodePoolSizeRequest, com.google.container.v1.Operation> + getSetNodePoolSizeMethod; + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + ClusterManagerGrpc.getSetNodePoolSizeMethod = + getSetNodePoolSizeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNodePoolSizeRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) + .build(); + } + } + } + return getSetNodePoolSizeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation> + getSetNetworkPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", + requestType = com.google.container.v1.SetNetworkPolicyRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation> + getSetNetworkPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetNetworkPolicyRequest, com.google.container.v1.Operation> + getSetNetworkPolicyMethod; + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + ClusterManagerGrpc.getSetNetworkPolicyMethod = + getSetNetworkPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) + .build(); + } + } + } + return getSetNetworkPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation> + getSetMaintenancePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", + requestType = com.google.container.v1.SetMaintenancePolicyRequest.class, + responseType = com.google.container.v1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation> + getSetMaintenancePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.SetMaintenancePolicyRequest, com.google.container.v1.Operation> + getSetMaintenancePolicyMethod; + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) + == null) { + ClusterManagerGrpc.getSetMaintenancePolicyMethod = + getSetMaintenancePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.SetMaintenancePolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) + .build(); + } + } + } + return getSetMaintenancePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1.ListUsableSubnetworksRequest, + com.google.container.v1.ListUsableSubnetworksResponse> + getListUsableSubnetworksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", + requestType = com.google.container.v1.ListUsableSubnetworksRequest.class, + responseType = com.google.container.v1.ListUsableSubnetworksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1.ListUsableSubnetworksRequest, + com.google.container.v1.ListUsableSubnetworksResponse> + getListUsableSubnetworksMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1.ListUsableSubnetworksRequest, + com.google.container.v1.ListUsableSubnetworksResponse> + getListUsableSubnetworksMethod; + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) + == null) { + ClusterManagerGrpc.getListUsableSubnetworksMethod = + getListUsableSubnetworksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListUsableSubnetworksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1.ListUsableSubnetworksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) + .build(); + } + } + } + return getListUsableSubnetworksMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ClusterManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + }; + return ClusterManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ClusterManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + }; + return ClusterManagerBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ClusterManagerFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + }; + return ClusterManagerFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public abstract static class ClusterManagerImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters( + com.google.container.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public void getCluster( + com.google.container.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster( + com.google.container.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public void updateCluster( + com.google.container.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public void updateNodePool( + com.google.container.v1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public void setNodePoolAutoscaling( + com.google.container.v1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNodePoolAutoscalingMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService( + com.google.container.v1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetLoggingServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService( + com.google.container.v1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetMonitoringServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig( + com.google.container.v1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetAddonsConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations( + com.google.container.v1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetLocationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster( + com.google.container.v1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateMasterMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth( + com.google.container.v1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetMasterAuthMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster( + com.google.container.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public void listOperations( + com.google.container.v1.ListOperationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOperationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation( + com.google.container.v1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetOperationMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation( + com.google.container.v1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelOperationMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig( + com.google.container.v1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetServerConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys( + com.google.container.v1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetJSONWebKeysMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools( + com.google.container.v1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNodePoolsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool( + com.google.container.v1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool( + com.google.container.v1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool( + com.google.container.v1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteNodePoolUpgradeMethod(), responseObserver); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade( + com.google.container.v1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRollbackNodePoolUpgradeMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement( + com.google.container.v1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNodePoolManagementMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels( + com.google.container.v1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac( + com.google.container.v1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetLegacyAbacMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation( + com.google.container.v1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartIPRotationMethod(), responseObserver); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation( + com.google.container.v1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteIPRotationMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize( + com.google.container.v1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNodePoolSizeMethod(), responseObserver); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy( + com.google.container.v1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNetworkPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy( + com.google.container.v1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetMaintenancePolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks( + com.google.container.v1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUsableSubnetworksMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListClustersRequest, + com.google.container.v1.ListClustersResponse>(this, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetClusterRequest, com.google.container.v1.Cluster>( + this, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CreateClusterRequest, + com.google.container.v1.Operation>(this, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.UpdateClusterRequest, + com.google.container.v1.Operation>(this, METHODID_UPDATE_CLUSTER))) + .addMethod( + getUpdateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.UpdateNodePoolRequest, + com.google.container.v1.Operation>(this, METHODID_UPDATE_NODE_POOL))) + .addMethod( + getSetNodePoolAutoscalingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNodePoolAutoscalingRequest, + com.google.container.v1.Operation>(this, METHODID_SET_NODE_POOL_AUTOSCALING))) + .addMethod( + getSetLoggingServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLoggingServiceRequest, + com.google.container.v1.Operation>(this, METHODID_SET_LOGGING_SERVICE))) + .addMethod( + getSetMonitoringServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetMonitoringServiceRequest, + com.google.container.v1.Operation>(this, METHODID_SET_MONITORING_SERVICE))) + .addMethod( + getSetAddonsConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetAddonsConfigRequest, + com.google.container.v1.Operation>(this, METHODID_SET_ADDONS_CONFIG))) + .addMethod( + getSetLocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLocationsRequest, + com.google.container.v1.Operation>(this, METHODID_SET_LOCATIONS))) + .addMethod( + getUpdateMasterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.UpdateMasterRequest, + com.google.container.v1.Operation>(this, METHODID_UPDATE_MASTER))) + .addMethod( + getSetMasterAuthMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetMasterAuthRequest, + com.google.container.v1.Operation>(this, METHODID_SET_MASTER_AUTH))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.DeleteClusterRequest, + com.google.container.v1.Operation>(this, METHODID_DELETE_CLUSTER))) + .addMethod( + getListOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListOperationsRequest, + com.google.container.v1.ListOperationsResponse>( + this, METHODID_LIST_OPERATIONS))) + .addMethod( + getGetOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetOperationRequest, + com.google.container.v1.Operation>(this, METHODID_GET_OPERATION))) + .addMethod( + getCancelOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CancelOperationRequest, com.google.protobuf.Empty>( + this, METHODID_CANCEL_OPERATION))) + .addMethod( + getGetServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetServerConfigRequest, + com.google.container.v1.ServerConfig>(this, METHODID_GET_SERVER_CONFIG))) + .addMethod( + getGetJSONWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetJSONWebKeysRequest, + com.google.container.v1.GetJSONWebKeysResponse>( + this, METHODID_GET_JSONWEB_KEYS))) + .addMethod( + getListNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListNodePoolsRequest, + com.google.container.v1.ListNodePoolsResponse>( + this, METHODID_LIST_NODE_POOLS))) + .addMethod( + getGetNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.GetNodePoolRequest, com.google.container.v1.NodePool>( + this, METHODID_GET_NODE_POOL))) + .addMethod( + getCreateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CreateNodePoolRequest, + com.google.container.v1.Operation>(this, METHODID_CREATE_NODE_POOL))) + .addMethod( + getDeleteNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.DeleteNodePoolRequest, + com.google.container.v1.Operation>(this, METHODID_DELETE_NODE_POOL))) + .addMethod( + getCompleteNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CompleteNodePoolUpgradeRequest, + com.google.protobuf.Empty>(this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) + .addMethod( + getRollbackNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.RollbackNodePoolUpgradeRequest, + com.google.container.v1.Operation>( + this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) + .addMethod( + getSetNodePoolManagementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNodePoolManagementRequest, + com.google.container.v1.Operation>(this, METHODID_SET_NODE_POOL_MANAGEMENT))) + .addMethod( + getSetLabelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLabelsRequest, com.google.container.v1.Operation>( + this, METHODID_SET_LABELS))) + .addMethod( + getSetLegacyAbacMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetLegacyAbacRequest, + com.google.container.v1.Operation>(this, METHODID_SET_LEGACY_ABAC))) + .addMethod( + getStartIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.StartIPRotationRequest, + com.google.container.v1.Operation>(this, METHODID_START_IPROTATION))) + .addMethod( + getCompleteIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.CompleteIPRotationRequest, + com.google.container.v1.Operation>(this, METHODID_COMPLETE_IPROTATION))) + .addMethod( + getSetNodePoolSizeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNodePoolSizeRequest, + com.google.container.v1.Operation>(this, METHODID_SET_NODE_POOL_SIZE))) + .addMethod( + getSetNetworkPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetNetworkPolicyRequest, + com.google.container.v1.Operation>(this, METHODID_SET_NETWORK_POLICY))) + .addMethod( + getSetMaintenancePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.SetMaintenancePolicyRequest, + com.google.container.v1.Operation>(this, METHODID_SET_MAINTENANCE_POLICY))) + .addMethod( + getListUsableSubnetworksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1.ListUsableSubnetworksRequest, + com.google.container.v1.ListUsableSubnetworksResponse>( + this, METHODID_LIST_USABLE_SUBNETWORKS))) + .build(); + } + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public static final class ClusterManagerStub + extends io.grpc.stub.AbstractAsyncStub { + private ClusterManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters( + com.google.container.v1.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public void getCluster( + com.google.container.v1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster( + com.google.container.v1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public void updateCluster( + com.google.container.v1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public void updateNodePool( + com.google.container.v1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public void setNodePoolAutoscaling( + com.google.container.v1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService( + com.google.container.v1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService( + com.google.container.v1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig( + com.google.container.v1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations( + com.google.container.v1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster( + com.google.container.v1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth( + com.google.container.v1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster( + com.google.container.v1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public void listOperations( + com.google.container.v1.ListOperationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation( + com.google.container.v1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation( + com.google.container.v1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig( + com.google.container.v1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys( + com.google.container.v1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools( + com.google.container.v1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool( + com.google.container.v1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool( + com.google.container.v1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool( + com.google.container.v1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade( + com.google.container.v1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement( + com.google.container.v1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels( + com.google.container.v1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac( + com.google.container.v1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation( + com.google.container.v1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation( + com.google.container.v1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize( + com.google.container.v1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy( + com.google.container.v1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy( + com.google.container.v1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks( + com.google.container.v1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public static final class ClusterManagerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ClusterManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.container.v1.ListClustersResponse listClusters( + com.google.container.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public com.google.container.v1.Cluster getCluster( + com.google.container.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.container.v1.Operation createCluster( + com.google.container.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation updateCluster( + com.google.container.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public com.google.container.v1.Operation updateNodePool( + com.google.container.v1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public com.google.container.v1.Operation setNodePoolAutoscaling( + com.google.container.v1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation setLoggingService( + com.google.container.v1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation setMonitoringService( + com.google.container.v1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation setAddonsConfig( + com.google.container.v1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.container.v1.Operation setLocations( + com.google.container.v1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLocationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.container.v1.Operation updateMaster( + com.google.container.v1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMasterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.container.v1.Operation setMasterAuth( + com.google.container.v1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.container.v1.Operation deleteCluster( + com.google.container.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public com.google.container.v1.ListOperationsResponse listOperations( + com.google.container.v1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOperationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.container.v1.Operation getOperation( + com.google.container.v1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOperationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.protobuf.Empty cancelOperation( + com.google.container.v1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelOperationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.container.v1.ServerConfig getServerConfig( + com.google.container.v1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServerConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.container.v1.GetJSONWebKeysResponse getJSONWebKeys( + com.google.container.v1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.container.v1.ListNodePoolsResponse listNodePools( + com.google.container.v1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNodePoolsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.container.v1.NodePool getNodePool( + com.google.container.v1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.container.v1.Operation createNodePool( + com.google.container.v1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.container.v1.Operation deleteNodePool( + com.google.container.v1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.protobuf.Empty completeNodePoolUpgrade( + com.google.container.v1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.container.v1.Operation rollbackNodePoolUpgrade( + com.google.container.v1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.container.v1.Operation setNodePoolManagement( + com.google.container.v1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setLabels( + com.google.container.v1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLabelsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setLegacyAbac( + com.google.container.v1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.container.v1.Operation startIPRotation( + com.google.container.v1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartIPRotationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.container.v1.Operation completeIPRotation( + com.google.container.v1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public com.google.container.v1.Operation setNodePoolSize( + com.google.container.v1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setNetworkPolicy( + com.google.container.v1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.container.v1.Operation setMaintenancePolicy( + com.google.container.v1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public com.google.container.v1.ListUsableSubnetworksResponse listUsableSubnetworks( + com.google.container.v1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1
+   * 
+ */ + public static final class ClusterManagerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ClusterManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1.ListClustersResponse> + listClusters(com.google.container.v1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the details of a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getCluster(com.google.container.v1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCluster(com.google.container.v1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the settings of a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCluster(com.google.container.v1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the version and/or image type for the specified node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateNodePool(com.google.container.v1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the autoscaling settings for the specified node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setLoggingService(com.google.container.v1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture + setLocations(com.google.container.v1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateMaster(com.google.container.v1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setMasterAuth(com.google.container.v1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCluster(com.google.container.v1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all operations in a project in a specific zone or all zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1.ListOperationsResponse> + listOperations(com.google.container.v1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getOperation(com.google.container.v1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelOperation(com.google.container.v1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getServerConfig(com.google.container.v1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1.GetJSONWebKeysResponse> + getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1.ListNodePoolsResponse> + listNodePools(com.google.container.v1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getNodePool(com.google.container.v1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createNodePool(com.google.container.v1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setLabels(com.google.container.v1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + startIPRotation(com.google.container.v1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the size for a specific node pool. The new size will be used for all
+     * replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1.NodePool.locations].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists subnetworks that are usable for creating clusters in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1.ListUsableSubnetworksResponse> + listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), 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_UPDATE_NODE_POOL = 4; + private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; + private static final int METHODID_SET_LOGGING_SERVICE = 6; + private static final int METHODID_SET_MONITORING_SERVICE = 7; + private static final int METHODID_SET_ADDONS_CONFIG = 8; + private static final int METHODID_SET_LOCATIONS = 9; + private static final int METHODID_UPDATE_MASTER = 10; + private static final int METHODID_SET_MASTER_AUTH = 11; + private static final int METHODID_DELETE_CLUSTER = 12; + private static final int METHODID_LIST_OPERATIONS = 13; + private static final int METHODID_GET_OPERATION = 14; + private static final int METHODID_CANCEL_OPERATION = 15; + private static final int METHODID_GET_SERVER_CONFIG = 16; + private static final int METHODID_GET_JSONWEB_KEYS = 17; + private static final int METHODID_LIST_NODE_POOLS = 18; + private static final int METHODID_GET_NODE_POOL = 19; + private static final int METHODID_CREATE_NODE_POOL = 20; + private static final int METHODID_DELETE_NODE_POOL = 21; + private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; + private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; + private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; + private static final int METHODID_SET_LABELS = 25; + private static final int METHODID_SET_LEGACY_ABAC = 26; + private static final int METHODID_START_IPROTATION = 27; + private static final int METHODID_COMPLETE_IPROTATION = 28; + private static final int METHODID_SET_NODE_POOL_SIZE = 29; + private static final int METHODID_SET_NETWORK_POLICY = 30; + private static final int METHODID_SET_MAINTENANCE_POLICY = 31; + private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final ClusterManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters( + (com.google.container.v1.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster( + (com.google.container.v1.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster( + (com.google.container.v1.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster( + (com.google.container.v1.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_NODE_POOL: + serviceImpl.updateNodePool( + (com.google.container.v1.UpdateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_AUTOSCALING: + serviceImpl.setNodePoolAutoscaling( + (com.google.container.v1.SetNodePoolAutoscalingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LOGGING_SERVICE: + serviceImpl.setLoggingService( + (com.google.container.v1.SetLoggingServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MONITORING_SERVICE: + serviceImpl.setMonitoringService( + (com.google.container.v1.SetMonitoringServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_ADDONS_CONFIG: + serviceImpl.setAddonsConfig( + (com.google.container.v1.SetAddonsConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LOCATIONS: + serviceImpl.setLocations( + (com.google.container.v1.SetLocationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_MASTER: + serviceImpl.updateMaster( + (com.google.container.v1.UpdateMasterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MASTER_AUTH: + serviceImpl.setMasterAuth( + (com.google.container.v1.SetMasterAuthRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster( + (com.google.container.v1.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_OPERATIONS: + serviceImpl.listOperations( + (com.google.container.v1.ListOperationsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_OPERATION: + serviceImpl.getOperation( + (com.google.container.v1.GetOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_OPERATION: + serviceImpl.cancelOperation( + (com.google.container.v1.CancelOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVER_CONFIG: + serviceImpl.getServerConfig( + (com.google.container.v1.GetServerConfigRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JSONWEB_KEYS: + serviceImpl.getJSONWebKeys( + (com.google.container.v1.GetJSONWebKeysRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_NODE_POOLS: + serviceImpl.listNodePools( + (com.google.container.v1.ListNodePoolsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_NODE_POOL: + serviceImpl.getNodePool( + (com.google.container.v1.GetNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_NODE_POOL: + serviceImpl.createNodePool( + (com.google.container.v1.CreateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_NODE_POOL: + serviceImpl.deleteNodePool( + (com.google.container.v1.DeleteNodePoolRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMPLETE_NODE_POOL_UPGRADE: + serviceImpl.completeNodePoolUpgrade( + (com.google.container.v1.CompleteNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_NODE_POOL_UPGRADE: + serviceImpl.rollbackNodePoolUpgrade( + (com.google.container.v1.RollbackNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_MANAGEMENT: + serviceImpl.setNodePoolManagement( + (com.google.container.v1.SetNodePoolManagementRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LABELS: + serviceImpl.setLabels( + (com.google.container.v1.SetLabelsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_LEGACY_ABAC: + serviceImpl.setLegacyAbac( + (com.google.container.v1.SetLegacyAbacRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_START_IPROTATION: + serviceImpl.startIPRotation( + (com.google.container.v1.StartIPRotationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMPLETE_IPROTATION: + serviceImpl.completeIPRotation( + (com.google.container.v1.CompleteIPRotationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NODE_POOL_SIZE: + serviceImpl.setNodePoolSize( + (com.google.container.v1.SetNodePoolSizeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_NETWORK_POLICY: + serviceImpl.setNetworkPolicy( + (com.google.container.v1.SetNetworkPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_MAINTENANCE_POLICY: + serviceImpl.setMaintenancePolicy( + (com.google.container.v1.SetMaintenancePolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_USABLE_SUBNETWORKS: + serviceImpl.listUsableSubnetworks( + (com.google.container.v1.ListUsableSubnetworksRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ClusterManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.container.v1.ClusterServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ClusterManager"); + } + } + + private static final class ClusterManagerFileDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier { + ClusterManagerFileDescriptorSupplier() {} + } + + private static final class ClusterManagerMethodDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ClusterManagerMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ClusterManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getUpdateNodePoolMethod()) + .addMethod(getSetNodePoolAutoscalingMethod()) + .addMethod(getSetLoggingServiceMethod()) + .addMethod(getSetMonitoringServiceMethod()) + .addMethod(getSetAddonsConfigMethod()) + .addMethod(getSetLocationsMethod()) + .addMethod(getUpdateMasterMethod()) + .addMethod(getSetMasterAuthMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getListOperationsMethod()) + .addMethod(getGetOperationMethod()) + .addMethod(getCancelOperationMethod()) + .addMethod(getGetServerConfigMethod()) + .addMethod(getGetJSONWebKeysMethod()) + .addMethod(getListNodePoolsMethod()) + .addMethod(getGetNodePoolMethod()) + .addMethod(getCreateNodePoolMethod()) + .addMethod(getDeleteNodePoolMethod()) + .addMethod(getCompleteNodePoolUpgradeMethod()) + .addMethod(getRollbackNodePoolUpgradeMethod()) + .addMethod(getSetNodePoolManagementMethod()) + .addMethod(getSetLabelsMethod()) + .addMethod(getSetLegacyAbacMethod()) + .addMethod(getStartIPRotationMethod()) + .addMethod(getCompleteIPRotationMethod()) + .addMethod(getSetNodePoolSizeMethod()) + .addMethod(getSetNetworkPolicyMethod()) + .addMethod(getSetMaintenancePolicyMethod()) + .addMethod(getListUsableSubnetworksMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java b/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java new file mode 100644 index 000000000000..c6a2c8f05b27 --- /dev/null +++ b/java-container/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java @@ -0,0 +1,4345 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.container.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Google Kubernetes Engine Cluster Manager v1beta1
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/container/v1beta1/cluster_service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ClusterManagerGrpc { + + private ClusterManagerGrpc() {} + + public static final String SERVICE_NAME = "google.container.v1beta1.ClusterManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListClustersRequest, + com.google.container.v1beta1.ListClustersResponse> + getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.container.v1beta1.ListClustersRequest.class, + responseType = com.google.container.v1beta1.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListClustersRequest, + com.google.container.v1beta1.ListClustersResponse> + getListClustersMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListClustersRequest, + com.google.container.v1beta1.ListClustersResponse> + getListClustersMethod; + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { + ClusterManagerGrpc.getListClustersMethod = + getListClustersMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListClustersRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListClustersResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetClusterRequest, com.google.container.v1beta1.Cluster> + getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.container.v1beta1.GetClusterRequest.class, + responseType = com.google.container.v1beta1.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetClusterRequest, com.google.container.v1beta1.Cluster> + getGetClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetClusterRequest, com.google.container.v1beta1.Cluster> + getGetClusterMethod; + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { + ClusterManagerGrpc.getGetClusterMethod = + getGetClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.CreateClusterRequest, com.google.container.v1beta1.Operation> + getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.container.v1beta1.CreateClusterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.CreateClusterRequest, com.google.container.v1beta1.Operation> + getCreateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.CreateClusterRequest, + com.google.container.v1beta1.Operation> + getCreateClusterMethod; + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { + ClusterManagerGrpc.getCreateClusterMethod = + getCreateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CreateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateClusterRequest, com.google.container.v1beta1.Operation> + getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.container.v1beta1.UpdateClusterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateClusterRequest, com.google.container.v1beta1.Operation> + getUpdateClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateClusterRequest, + com.google.container.v1beta1.Operation> + getUpdateClusterMethod; + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { + ClusterManagerGrpc.getUpdateClusterMethod = + getUpdateClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.UpdateClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateNodePoolRequest, + com.google.container.v1beta1.Operation> + getUpdateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", + requestType = com.google.container.v1beta1.UpdateNodePoolRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateNodePoolRequest, + com.google.container.v1beta1.Operation> + getUpdateNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateNodePoolRequest, + com.google.container.v1beta1.Operation> + getUpdateNodePoolMethod; + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { + ClusterManagerGrpc.getUpdateNodePoolMethod = + getUpdateNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.UpdateNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) + .build(); + } + } + } + return getUpdateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolAutoscalingRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolAutoscalingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", + requestType = com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolAutoscalingRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolAutoscalingMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolAutoscalingRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolAutoscalingMethod; + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) + == null) { + ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = + getSetNodePoolAutoscalingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNodePoolAutoscalingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) + .build(); + } + } + } + return getSetNodePoolAutoscalingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLoggingServiceRequest, + com.google.container.v1beta1.Operation> + getSetLoggingServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", + requestType = com.google.container.v1beta1.SetLoggingServiceRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLoggingServiceRequest, + com.google.container.v1beta1.Operation> + getSetLoggingServiceMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLoggingServiceRequest, + com.google.container.v1beta1.Operation> + getSetLoggingServiceMethod; + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { + ClusterManagerGrpc.getSetLoggingServiceMethod = + getSetLoggingServiceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLoggingServiceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) + .build(); + } + } + } + return getSetLoggingServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMonitoringServiceRequest, + com.google.container.v1beta1.Operation> + getSetMonitoringServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", + requestType = com.google.container.v1beta1.SetMonitoringServiceRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMonitoringServiceRequest, + com.google.container.v1beta1.Operation> + getSetMonitoringServiceMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMonitoringServiceRequest, + com.google.container.v1beta1.Operation> + getSetMonitoringServiceMethod; + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) + == null) { + ClusterManagerGrpc.getSetMonitoringServiceMethod = + getSetMonitoringServiceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetMonitoringServiceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) + .build(); + } + } + } + return getSetMonitoringServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetAddonsConfigRequest, + com.google.container.v1beta1.Operation> + getSetAddonsConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", + requestType = com.google.container.v1beta1.SetAddonsConfigRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetAddonsConfigRequest, + com.google.container.v1beta1.Operation> + getSetAddonsConfigMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetAddonsConfigRequest, + com.google.container.v1beta1.Operation> + getSetAddonsConfigMethod; + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { + ClusterManagerGrpc.getSetAddonsConfigMethod = + getSetAddonsConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetAddonsConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) + .build(); + } + } + } + return getSetAddonsConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLocationsRequest, com.google.container.v1beta1.Operation> + getSetLocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLocations", + requestType = com.google.container.v1beta1.SetLocationsRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLocationsRequest, com.google.container.v1beta1.Operation> + getSetLocationsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLocationsRequest, + com.google.container.v1beta1.Operation> + getSetLocationsMethod; + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { + ClusterManagerGrpc.getSetLocationsMethod = + getSetLocationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLocationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetLocations")) + .build(); + } + } + } + return getSetLocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateMasterRequest, com.google.container.v1beta1.Operation> + getUpdateMasterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", + requestType = com.google.container.v1beta1.UpdateMasterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateMasterRequest, com.google.container.v1beta1.Operation> + getUpdateMasterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.UpdateMasterRequest, + com.google.container.v1beta1.Operation> + getUpdateMasterMethod; + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { + ClusterManagerGrpc.getUpdateMasterMethod = + getUpdateMasterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.UpdateMasterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) + .build(); + } + } + } + return getUpdateMasterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMasterAuthRequest, com.google.container.v1beta1.Operation> + getSetMasterAuthMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", + requestType = com.google.container.v1beta1.SetMasterAuthRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMasterAuthRequest, com.google.container.v1beta1.Operation> + getSetMasterAuthMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMasterAuthRequest, + com.google.container.v1beta1.Operation> + getSetMasterAuthMethod; + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { + ClusterManagerGrpc.getSetMasterAuthMethod = + getSetMasterAuthMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetMasterAuthRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) + .build(); + } + } + } + return getSetMasterAuthMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.DeleteClusterRequest, com.google.container.v1beta1.Operation> + getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.container.v1beta1.DeleteClusterRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.DeleteClusterRequest, com.google.container.v1beta1.Operation> + getDeleteClusterMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.DeleteClusterRequest, + com.google.container.v1beta1.Operation> + getDeleteClusterMethod; + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { + ClusterManagerGrpc.getDeleteClusterMethod = + getDeleteClusterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.DeleteClusterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListOperationsRequest, + com.google.container.v1beta1.ListOperationsResponse> + getListOperationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListOperations", + requestType = com.google.container.v1beta1.ListOperationsRequest.class, + responseType = com.google.container.v1beta1.ListOperationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListOperationsRequest, + com.google.container.v1beta1.ListOperationsResponse> + getListOperationsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListOperationsRequest, + com.google.container.v1beta1.ListOperationsResponse> + getListOperationsMethod; + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { + ClusterManagerGrpc.getListOperationsMethod = + getListOperationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListOperationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListOperationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListOperations")) + .build(); + } + } + } + return getListOperationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetOperationRequest, com.google.container.v1beta1.Operation> + getGetOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetOperation", + requestType = com.google.container.v1beta1.GetOperationRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetOperationRequest, com.google.container.v1beta1.Operation> + getGetOperationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetOperationRequest, + com.google.container.v1beta1.Operation> + getGetOperationMethod; + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { + ClusterManagerGrpc.getGetOperationMethod = + getGetOperationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetOperationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetOperation")) + .build(); + } + } + } + return getGetOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.CancelOperationRequest, com.google.protobuf.Empty> + getCancelOperationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelOperation", + requestType = com.google.container.v1beta1.CancelOperationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.CancelOperationRequest, com.google.protobuf.Empty> + getCancelOperationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.CancelOperationRequest, com.google.protobuf.Empty> + getCancelOperationMethod; + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { + ClusterManagerGrpc.getCancelOperationMethod = + getCancelOperationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CancelOperationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CancelOperation")) + .build(); + } + } + } + return getCancelOperationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetServerConfigRequest, + com.google.container.v1beta1.ServerConfig> + getGetServerConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", + requestType = com.google.container.v1beta1.GetServerConfigRequest.class, + responseType = com.google.container.v1beta1.ServerConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetServerConfigRequest, + com.google.container.v1beta1.ServerConfig> + getGetServerConfigMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetServerConfigRequest, + com.google.container.v1beta1.ServerConfig> + getGetServerConfigMethod; + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { + ClusterManagerGrpc.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.container.v1beta1.GetServerConfigRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ServerConfig.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) + .build(); + } + } + } + return getGetServerConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListNodePoolsRequest, + com.google.container.v1beta1.ListNodePoolsResponse> + getListNodePoolsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListNodePools", + requestType = com.google.container.v1beta1.ListNodePoolsRequest.class, + responseType = com.google.container.v1beta1.ListNodePoolsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListNodePoolsRequest, + com.google.container.v1beta1.ListNodePoolsResponse> + getListNodePoolsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListNodePoolsRequest, + com.google.container.v1beta1.ListNodePoolsResponse> + getListNodePoolsMethod; + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { + ClusterManagerGrpc.getListNodePoolsMethod = + getListNodePoolsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListNodePoolsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListNodePoolsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListNodePools")) + .build(); + } + } + } + return getListNodePoolsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetJSONWebKeysRequest, + com.google.container.v1beta1.GetJSONWebKeysResponse> + getGetJSONWebKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", + requestType = com.google.container.v1beta1.GetJSONWebKeysRequest.class, + responseType = com.google.container.v1beta1.GetJSONWebKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetJSONWebKeysRequest, + com.google.container.v1beta1.GetJSONWebKeysResponse> + getGetJSONWebKeysMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetJSONWebKeysRequest, + com.google.container.v1beta1.GetJSONWebKeysResponse> + getGetJSONWebKeysMethod; + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { + ClusterManagerGrpc.getGetJSONWebKeysMethod = + getGetJSONWebKeysMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetJSONWebKeysRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetJSONWebKeysResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) + .build(); + } + } + } + return getGetJSONWebKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetNodePoolRequest, com.google.container.v1beta1.NodePool> + getGetNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetNodePool", + requestType = com.google.container.v1beta1.GetNodePoolRequest.class, + responseType = com.google.container.v1beta1.NodePool.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetNodePoolRequest, com.google.container.v1beta1.NodePool> + getGetNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.GetNodePoolRequest, com.google.container.v1beta1.NodePool> + getGetNodePoolMethod; + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { + ClusterManagerGrpc.getGetNodePoolMethod = + getGetNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.NodePool.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("GetNodePool")) + .build(); + } + } + } + return getGetNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.CreateNodePoolRequest, + com.google.container.v1beta1.Operation> + getCreateNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", + requestType = com.google.container.v1beta1.CreateNodePoolRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.CreateNodePoolRequest, + com.google.container.v1beta1.Operation> + getCreateNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.CreateNodePoolRequest, + com.google.container.v1beta1.Operation> + getCreateNodePoolMethod; + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { + ClusterManagerGrpc.getCreateNodePoolMethod = + getCreateNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CreateNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) + .build(); + } + } + } + return getCreateNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.DeleteNodePoolRequest, + com.google.container.v1beta1.Operation> + getDeleteNodePoolMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", + requestType = com.google.container.v1beta1.DeleteNodePoolRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.DeleteNodePoolRequest, + com.google.container.v1beta1.Operation> + getDeleteNodePoolMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.DeleteNodePoolRequest, + com.google.container.v1beta1.Operation> + getDeleteNodePoolMethod; + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { + ClusterManagerGrpc.getDeleteNodePoolMethod = + getDeleteNodePoolMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.DeleteNodePoolRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) + .build(); + } + } + } + return getDeleteNodePoolMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", + requestType = com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, com.google.protobuf.Empty> + getCompleteNodePoolUpgradeMethod; + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) + == null) { + ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = + getCompleteNodePoolUpgradeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) + .build(); + } + } + } + return getCompleteNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, + com.google.container.v1beta1.Operation> + getRollbackNodePoolUpgradeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", + requestType = com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, + com.google.container.v1beta1.Operation> + getRollbackNodePoolUpgradeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, + com.google.container.v1beta1.Operation> + getRollbackNodePoolUpgradeMethod; + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) + == null) { + ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = + getRollbackNodePoolUpgradeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) + .build(); + } + } + } + return getRollbackNodePoolUpgradeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolManagementRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolManagementMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", + requestType = com.google.container.v1beta1.SetNodePoolManagementRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolManagementRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolManagementMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolManagementRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolManagementMethod; + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) + == null) { + ClusterManagerGrpc.getSetNodePoolManagementMethod = + getSetNodePoolManagementMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNodePoolManagementRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) + .build(); + } + } + } + return getSetNodePoolManagementMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLabelsRequest, com.google.container.v1beta1.Operation> + getSetLabelsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLabels", + requestType = com.google.container.v1beta1.SetLabelsRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLabelsRequest, com.google.container.v1beta1.Operation> + getSetLabelsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLabelsRequest, com.google.container.v1beta1.Operation> + getSetLabelsMethod; + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { + ClusterManagerGrpc.getSetLabelsMethod = + getSetLabelsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLabelsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) + .build(); + } + } + } + return getSetLabelsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLegacyAbacRequest, com.google.container.v1beta1.Operation> + getSetLegacyAbacMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", + requestType = com.google.container.v1beta1.SetLegacyAbacRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLegacyAbacRequest, com.google.container.v1beta1.Operation> + getSetLegacyAbacMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetLegacyAbacRequest, + com.google.container.v1beta1.Operation> + getSetLegacyAbacMethod; + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { + ClusterManagerGrpc.getSetLegacyAbacMethod = + getSetLegacyAbacMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetLegacyAbacRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) + .build(); + } + } + } + return getSetLegacyAbacMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.StartIPRotationRequest, + com.google.container.v1beta1.Operation> + getStartIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", + requestType = com.google.container.v1beta1.StartIPRotationRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.StartIPRotationRequest, + com.google.container.v1beta1.Operation> + getStartIPRotationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.StartIPRotationRequest, + com.google.container.v1beta1.Operation> + getStartIPRotationMethod; + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { + ClusterManagerGrpc.getStartIPRotationMethod = + getStartIPRotationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.StartIPRotationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) + .build(); + } + } + } + return getStartIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteIPRotationRequest, + com.google.container.v1beta1.Operation> + getCompleteIPRotationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", + requestType = com.google.container.v1beta1.CompleteIPRotationRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteIPRotationRequest, + com.google.container.v1beta1.Operation> + getCompleteIPRotationMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.CompleteIPRotationRequest, + com.google.container.v1beta1.Operation> + getCompleteIPRotationMethod; + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) + == null) { + ClusterManagerGrpc.getCompleteIPRotationMethod = + getCompleteIPRotationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.CompleteIPRotationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) + .build(); + } + } + } + return getCompleteIPRotationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolSizeRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolSizeMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", + requestType = com.google.container.v1beta1.SetNodePoolSizeRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolSizeRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolSizeMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNodePoolSizeRequest, + com.google.container.v1beta1.Operation> + getSetNodePoolSizeMethod; + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { + ClusterManagerGrpc.getSetNodePoolSizeMethod = + getSetNodePoolSizeMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNodePoolSizeRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) + .build(); + } + } + } + return getSetNodePoolSizeMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNetworkPolicyRequest, + com.google.container.v1beta1.Operation> + getSetNetworkPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", + requestType = com.google.container.v1beta1.SetNetworkPolicyRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNetworkPolicyRequest, + com.google.container.v1beta1.Operation> + getSetNetworkPolicyMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetNetworkPolicyRequest, + com.google.container.v1beta1.Operation> + getSetNetworkPolicyMethod; + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { + ClusterManagerGrpc.getSetNetworkPolicyMethod = + getSetNetworkPolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetNetworkPolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) + .build(); + } + } + } + return getSetNetworkPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMaintenancePolicyRequest, + com.google.container.v1beta1.Operation> + getSetMaintenancePolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", + requestType = com.google.container.v1beta1.SetMaintenancePolicyRequest.class, + responseType = com.google.container.v1beta1.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMaintenancePolicyRequest, + com.google.container.v1beta1.Operation> + getSetMaintenancePolicyMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.SetMaintenancePolicyRequest, + com.google.container.v1beta1.Operation> + getSetMaintenancePolicyMethod; + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) + == null) { + ClusterManagerGrpc.getSetMaintenancePolicyMethod = + getSetMaintenancePolicyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.SetMaintenancePolicyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) + .build(); + } + } + } + return getSetMaintenancePolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListUsableSubnetworksRequest, + com.google.container.v1beta1.ListUsableSubnetworksResponse> + getListUsableSubnetworksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", + requestType = com.google.container.v1beta1.ListUsableSubnetworksRequest.class, + responseType = com.google.container.v1beta1.ListUsableSubnetworksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListUsableSubnetworksRequest, + com.google.container.v1beta1.ListUsableSubnetworksResponse> + getListUsableSubnetworksMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListUsableSubnetworksRequest, + com.google.container.v1beta1.ListUsableSubnetworksResponse> + getListUsableSubnetworksMethod; + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) + == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) + == null) { + ClusterManagerGrpc.getListUsableSubnetworksMethod = + getListUsableSubnetworksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListUsableSubnetworksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListUsableSubnetworksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) + .build(); + } + } + } + return getListUsableSubnetworksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListLocationsRequest, + com.google.container.v1beta1.ListLocationsResponse> + getListLocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListLocations", + requestType = com.google.container.v1beta1.ListLocationsRequest.class, + responseType = com.google.container.v1beta1.ListLocationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListLocationsRequest, + com.google.container.v1beta1.ListLocationsResponse> + getListLocationsMethod() { + io.grpc.MethodDescriptor< + com.google.container.v1beta1.ListLocationsRequest, + com.google.container.v1beta1.ListLocationsResponse> + getListLocationsMethod; + if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { + synchronized (ClusterManagerGrpc.class) { + if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { + ClusterManagerGrpc.getListLocationsMethod = + getListLocationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListLocationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.container.v1beta1.ListLocationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ClusterManagerMethodDescriptorSupplier("ListLocations")) + .build(); + } + } + } + return getListLocationsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ClusterManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + }; + return ClusterManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ClusterManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + }; + return ClusterManagerBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ClusterManagerFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ClusterManagerFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + }; + return ClusterManagerFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public abstract static class ClusterManagerImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters( + com.google.container.v1beta1.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListClustersMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public void getCluster( + com.google.container.v1beta1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster( + com.google.container.v1beta1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public void updateCluster( + com.google.container.v1beta1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public void updateNodePool( + com.google.container.v1beta1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public void setNodePoolAutoscaling( + com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNodePoolAutoscalingMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService( + com.google.container.v1beta1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetLoggingServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService( + com.google.container.v1beta1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetMonitoringServiceMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig( + com.google.container.v1beta1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetAddonsConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations( + com.google.container.v1beta1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetLocationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster( + com.google.container.v1beta1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateMasterMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth( + com.google.container.v1beta1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetMasterAuthMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster( + com.google.container.v1beta1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteClusterMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public void listOperations( + com.google.container.v1beta1.ListOperationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListOperationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation( + com.google.container.v1beta1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetOperationMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation( + com.google.container.v1beta1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelOperationMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig( + com.google.container.v1beta1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetServerConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools( + com.google.container.v1beta1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListNodePoolsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys( + com.google.container.v1beta1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetJSONWebKeysMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool( + com.google.container.v1beta1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool( + com.google.container.v1beta1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool( + com.google.container.v1beta1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteNodePoolMethod(), responseObserver); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteNodePoolUpgradeMethod(), responseObserver); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRollbackNodePoolUpgradeMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement( + com.google.container.v1beta1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNodePoolManagementMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels( + com.google.container.v1beta1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac( + com.google.container.v1beta1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetLegacyAbacMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation( + com.google.container.v1beta1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getStartIPRotationMethod(), responseObserver); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation( + com.google.container.v1beta1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCompleteIPRotationMethod(), responseObserver); + } + + /** + * + * + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize( + com.google.container.v1beta1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNodePoolSizeMethod(), responseObserver); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy( + com.google.container.v1beta1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetNetworkPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy( + com.google.container.v1beta1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetMaintenancePolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks( + com.google.container.v1beta1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUsableSubnetworksMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public void listLocations( + com.google.container.v1beta1.ListLocationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListLocationsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListClustersRequest, + com.google.container.v1beta1.ListClustersResponse>( + this, METHODID_LIST_CLUSTERS))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetClusterRequest, + com.google.container.v1beta1.Cluster>(this, METHODID_GET_CLUSTER))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CreateClusterRequest, + com.google.container.v1beta1.Operation>(this, METHODID_CREATE_CLUSTER))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.UpdateClusterRequest, + com.google.container.v1beta1.Operation>(this, METHODID_UPDATE_CLUSTER))) + .addMethod( + getUpdateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.UpdateNodePoolRequest, + com.google.container.v1beta1.Operation>(this, METHODID_UPDATE_NODE_POOL))) + .addMethod( + getSetNodePoolAutoscalingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNodePoolAutoscalingRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_NODE_POOL_AUTOSCALING))) + .addMethod( + getSetLoggingServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLoggingServiceRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_LOGGING_SERVICE))) + .addMethod( + getSetMonitoringServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetMonitoringServiceRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_MONITORING_SERVICE))) + .addMethod( + getSetAddonsConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetAddonsConfigRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_ADDONS_CONFIG))) + .addMethod( + getSetLocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLocationsRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_LOCATIONS))) + .addMethod( + getUpdateMasterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.UpdateMasterRequest, + com.google.container.v1beta1.Operation>(this, METHODID_UPDATE_MASTER))) + .addMethod( + getSetMasterAuthMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetMasterAuthRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_MASTER_AUTH))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.DeleteClusterRequest, + com.google.container.v1beta1.Operation>(this, METHODID_DELETE_CLUSTER))) + .addMethod( + getListOperationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListOperationsRequest, + com.google.container.v1beta1.ListOperationsResponse>( + this, METHODID_LIST_OPERATIONS))) + .addMethod( + getGetOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetOperationRequest, + com.google.container.v1beta1.Operation>(this, METHODID_GET_OPERATION))) + .addMethod( + getCancelOperationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CancelOperationRequest, + com.google.protobuf.Empty>(this, METHODID_CANCEL_OPERATION))) + .addMethod( + getGetServerConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetServerConfigRequest, + com.google.container.v1beta1.ServerConfig>(this, METHODID_GET_SERVER_CONFIG))) + .addMethod( + getListNodePoolsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListNodePoolsRequest, + com.google.container.v1beta1.ListNodePoolsResponse>( + this, METHODID_LIST_NODE_POOLS))) + .addMethod( + getGetJSONWebKeysMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetJSONWebKeysRequest, + com.google.container.v1beta1.GetJSONWebKeysResponse>( + this, METHODID_GET_JSONWEB_KEYS))) + .addMethod( + getGetNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.GetNodePoolRequest, + com.google.container.v1beta1.NodePool>(this, METHODID_GET_NODE_POOL))) + .addMethod( + getCreateNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CreateNodePoolRequest, + com.google.container.v1beta1.Operation>(this, METHODID_CREATE_NODE_POOL))) + .addMethod( + getDeleteNodePoolMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.DeleteNodePoolRequest, + com.google.container.v1beta1.Operation>(this, METHODID_DELETE_NODE_POOL))) + .addMethod( + getCompleteNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, + com.google.protobuf.Empty>(this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) + .addMethod( + getRollbackNodePoolUpgradeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) + .addMethod( + getSetNodePoolManagementMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNodePoolManagementRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_NODE_POOL_MANAGEMENT))) + .addMethod( + getSetLabelsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLabelsRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_LABELS))) + .addMethod( + getSetLegacyAbacMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetLegacyAbacRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_LEGACY_ABAC))) + .addMethod( + getStartIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.StartIPRotationRequest, + com.google.container.v1beta1.Operation>(this, METHODID_START_IPROTATION))) + .addMethod( + getCompleteIPRotationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.CompleteIPRotationRequest, + com.google.container.v1beta1.Operation>(this, METHODID_COMPLETE_IPROTATION))) + .addMethod( + getSetNodePoolSizeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNodePoolSizeRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_NODE_POOL_SIZE))) + .addMethod( + getSetNetworkPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetNetworkPolicyRequest, + com.google.container.v1beta1.Operation>(this, METHODID_SET_NETWORK_POLICY))) + .addMethod( + getSetMaintenancePolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.SetMaintenancePolicyRequest, + com.google.container.v1beta1.Operation>( + this, METHODID_SET_MAINTENANCE_POLICY))) + .addMethod( + getListUsableSubnetworksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListUsableSubnetworksRequest, + com.google.container.v1beta1.ListUsableSubnetworksResponse>( + this, METHODID_LIST_USABLE_SUBNETWORKS))) + .addMethod( + getListLocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.container.v1beta1.ListLocationsRequest, + com.google.container.v1beta1.ListLocationsResponse>( + this, METHODID_LIST_LOCATIONS))) + .build(); + } + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public static final class ClusterManagerStub + extends io.grpc.stub.AbstractAsyncStub { + private ClusterManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public void listClusters( + com.google.container.v1beta1.ListClustersRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public void getCluster( + com.google.container.v1beta1.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public void createCluster( + com.google.container.v1beta1.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public void updateCluster( + com.google.container.v1beta1.UpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public void updateNodePool( + com.google.container.v1beta1.UpdateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public void setNodePoolAutoscaling( + com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public void setLoggingService( + com.google.container.v1beta1.SetLoggingServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public void setMonitoringService( + com.google.container.v1beta1.SetMonitoringServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public void setAddonsConfig( + com.google.container.v1beta1.SetAddonsConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public void setLocations( + com.google.container.v1beta1.SetLocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public void updateMaster( + com.google.container.v1beta1.UpdateMasterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public void setMasterAuth( + com.google.container.v1beta1.SetMasterAuthRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public void deleteCluster( + com.google.container.v1beta1.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public void listOperations( + com.google.container.v1beta1.ListOperationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public void getOperation( + com.google.container.v1beta1.GetOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public void cancelOperation( + com.google.container.v1beta1.CancelOperationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public void getServerConfig( + com.google.container.v1beta1.GetServerConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public void listNodePools( + com.google.container.v1beta1.ListNodePoolsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public void getJSONWebKeys( + com.google.container.v1beta1.GetJSONWebKeysRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public void getNodePool( + com.google.container.v1beta1.GetNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public void createNodePool( + com.google.container.v1beta1.CreateNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public void deleteNodePool( + com.google.container.v1beta1.DeleteNodePoolRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public void completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public void rollbackNodePoolUpgrade( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public void setNodePoolManagement( + com.google.container.v1beta1.SetNodePoolManagementRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public void setLabels( + com.google.container.v1beta1.SetLabelsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public void setLegacyAbac( + com.google.container.v1beta1.SetLegacyAbacRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public void startIPRotation( + com.google.container.v1beta1.StartIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public void completeIPRotation( + com.google.container.v1beta1.CompleteIPRotationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public void setNodePoolSize( + com.google.container.v1beta1.SetNodePoolSizeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public void setNetworkPolicy( + com.google.container.v1beta1.SetNetworkPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public void setMaintenancePolicy( + com.google.container.v1beta1.SetMaintenancePolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public void listUsableSubnetworks( + com.google.container.v1beta1.ListUsableSubnetworksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public void listLocations( + com.google.container.v1beta1.ListLocationsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListLocationsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public static final class ClusterManagerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ClusterManagerBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.container.v1beta1.ListClustersResponse listClusters( + com.google.container.v1beta1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Cluster getCluster( + com.google.container.v1beta1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.container.v1beta1.Operation createCluster( + com.google.container.v1beta1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation updateCluster( + com.google.container.v1beta1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public com.google.container.v1beta1.Operation updateNodePool( + com.google.container.v1beta1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public com.google.container.v1beta1.Operation setNodePoolAutoscaling( + com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setLoggingService( + com.google.container.v1beta1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setMonitoringService( + com.google.container.v1beta1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setAddonsConfig( + com.google.container.v1beta1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.container.v1beta1.Operation setLocations( + com.google.container.v1beta1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLocationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation updateMaster( + com.google.container.v1beta1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateMasterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.container.v1beta1.Operation setMasterAuth( + com.google.container.v1beta1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.container.v1beta1.Operation deleteCluster( + com.google.container.v1beta1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public com.google.container.v1beta1.ListOperationsResponse listOperations( + com.google.container.v1beta1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListOperationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.container.v1beta1.Operation getOperation( + com.google.container.v1beta1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetOperationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.protobuf.Empty cancelOperation( + com.google.container.v1beta1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelOperationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.container.v1beta1.ServerConfig getServerConfig( + com.google.container.v1beta1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServerConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.ListNodePoolsResponse listNodePools( + com.google.container.v1beta1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNodePoolsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.container.v1beta1.GetJSONWebKeysResponse getJSONWebKeys( + com.google.container.v1beta1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.container.v1beta1.NodePool getNodePool( + com.google.container.v1beta1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation createNodePool( + com.google.container.v1beta1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation deleteNodePool( + com.google.container.v1beta1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.protobuf.Empty completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.container.v1beta1.Operation rollbackNodePoolUpgrade( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.container.v1beta1.Operation setNodePoolManagement( + com.google.container.v1beta1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setLabels( + com.google.container.v1beta1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLabelsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setLegacyAbac( + com.google.container.v1beta1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.container.v1beta1.Operation startIPRotation( + com.google.container.v1beta1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getStartIPRotationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.container.v1beta1.Operation completeIPRotation( + com.google.container.v1beta1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public com.google.container.v1beta1.Operation setNodePoolSize( + com.google.container.v1beta1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setNetworkPolicy( + com.google.container.v1beta1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.container.v1beta1.Operation setMaintenancePolicy( + com.google.container.v1beta1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public com.google.container.v1beta1.ListUsableSubnetworksResponse listUsableSubnetworks( + com.google.container.v1beta1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public com.google.container.v1beta1.ListLocationsResponse listLocations( + com.google.container.v1beta1.ListLocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListLocationsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Google Kubernetes Engine Cluster Manager v1beta1
+   * 
+ */ + public static final class ClusterManagerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ClusterManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ClusterManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ClusterManagerFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists all clusters owned by a project in either the specified zone or all
+     * zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.ListClustersResponse> + listClusters(com.google.container.v1beta1.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the details for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getCluster(com.google.container.v1beta1.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a cluster, consisting of the specified number and type of Google
+     * Compute Engine instances.
+     * By default, the cluster is created in the project's
+     * [default
+     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
+     * One firewall is added for the cluster. After cluster creation,
+     * the Kubelet creates routes for each node to allow the containers
+     * on that node to communicate with all other instances in the
+     * cluster.
+     * Finally, an entry is added to the project's global metadata indicating
+     * which CIDR range the cluster is using.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + createCluster(com.google.container.v1beta1.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the settings for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + updateCluster(com.google.container.v1beta1.UpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the version and/or image type of a specific node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the autoscaling settings of a specific node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the logging service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the monitoring service for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the addons for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the locations for a specific cluster.
+     * Deprecated. Use
+     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
+     * instead.
+     * 
+ */ + @java.lang.Deprecated + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setLocations(com.google.container.v1beta1.SetLocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the master for a specific cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + updateMaster(com.google.container.v1beta1.UpdateMasterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets master auth materials. Currently supports changing the admin password
+     * or a specific cluster, either via password generation or explicitly setting
+     * the password.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes the cluster, including the Kubernetes endpoint and all worker
+     * nodes.
+     * Firewalls and routes that were configured during cluster creation
+     * are also deleted.
+     * Other Google Compute Engine resources that might be in use by the cluster,
+     * such as load balancer resources, are not deleted if they weren't present
+     * when the cluster was initially created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all operations in a project in the specified zone or all zones.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.ListOperationsResponse> + listOperations(com.google.container.v1beta1.ListOperationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + getOperation(com.google.container.v1beta1.GetOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels the specified operation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelOperation(com.google.container.v1beta1.CancelOperationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns configuration info about the Google Kubernetes Engine service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.ServerConfig> + getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists the node pools for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.ListNodePoolsResponse> + listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the public component of the cluster signing keys in
+     * JSON Web Key format.
+     * This API is not yet intended for general use, and is not available for all
+     * clusters.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.GetJSONWebKeysResponse> + getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the requested node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getNodePool(com.google.container.v1beta1.GetNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a node pool for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a node pool from a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
+     * complete.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + completeNodePoolUpgrade( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Rolls back a previously Aborted or Failed NodePool upgrade.
+     * This makes no changes if the last upgrade successfully completed.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + rollbackNodePoolUpgrade( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the NodeManagement options for a node pool.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets labels on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setLabels(com.google.container.v1beta1.SetLabelsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Enables or disables the ABAC authorization mechanism on a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Starts master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Completes master IP rotation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
+     * used for all replicas, including future replicas created by modifying
+     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Enables or disables Network Policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Sets the maintenance policy for a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.Operation> + setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists subnetworks that can be used for creating clusters in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.ListUsableSubnetworksResponse> + listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches locations that offer Google Kubernetes Engine.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.container.v1beta1.ListLocationsResponse> + listLocations(com.google.container.v1beta1.ListLocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListLocationsMethod(), 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_UPDATE_NODE_POOL = 4; + private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; + private static final int METHODID_SET_LOGGING_SERVICE = 6; + private static final int METHODID_SET_MONITORING_SERVICE = 7; + private static final int METHODID_SET_ADDONS_CONFIG = 8; + private static final int METHODID_SET_LOCATIONS = 9; + private static final int METHODID_UPDATE_MASTER = 10; + private static final int METHODID_SET_MASTER_AUTH = 11; + private static final int METHODID_DELETE_CLUSTER = 12; + private static final int METHODID_LIST_OPERATIONS = 13; + private static final int METHODID_GET_OPERATION = 14; + private static final int METHODID_CANCEL_OPERATION = 15; + private static final int METHODID_GET_SERVER_CONFIG = 16; + private static final int METHODID_LIST_NODE_POOLS = 17; + private static final int METHODID_GET_JSONWEB_KEYS = 18; + private static final int METHODID_GET_NODE_POOL = 19; + private static final int METHODID_CREATE_NODE_POOL = 20; + private static final int METHODID_DELETE_NODE_POOL = 21; + private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; + private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; + private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; + private static final int METHODID_SET_LABELS = 25; + private static final int METHODID_SET_LEGACY_ABAC = 26; + private static final int METHODID_START_IPROTATION = 27; + private static final int METHODID_COMPLETE_IPROTATION = 28; + private static final int METHODID_SET_NODE_POOL_SIZE = 29; + private static final int METHODID_SET_NETWORK_POLICY = 30; + private static final int METHODID_SET_MAINTENANCE_POLICY = 31; + private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; + private static final int METHODID_LIST_LOCATIONS = 33; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final ClusterManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters( + (com.google.container.v1beta1.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster( + (com.google.container.v1beta1.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster( + (com.google.container.v1beta1.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster( + (com.google.container.v1beta1.UpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_NODE_POOL: + serviceImpl.updateNodePool( + (com.google.container.v1beta1.UpdateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_NODE_POOL_AUTOSCALING: + serviceImpl.setNodePoolAutoscaling( + (com.google.container.v1beta1.SetNodePoolAutoscalingRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_LOGGING_SERVICE: + serviceImpl.setLoggingService( + (com.google.container.v1beta1.SetLoggingServiceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_MONITORING_SERVICE: + serviceImpl.setMonitoringService( + (com.google.container.v1beta1.SetMonitoringServiceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_ADDONS_CONFIG: + serviceImpl.setAddonsConfig( + (com.google.container.v1beta1.SetAddonsConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_LOCATIONS: + serviceImpl.setLocations( + (com.google.container.v1beta1.SetLocationsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_MASTER: + serviceImpl.updateMaster( + (com.google.container.v1beta1.UpdateMasterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_MASTER_AUTH: + serviceImpl.setMasterAuth( + (com.google.container.v1beta1.SetMasterAuthRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster( + (com.google.container.v1beta1.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_OPERATIONS: + serviceImpl.listOperations( + (com.google.container.v1beta1.ListOperationsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_OPERATION: + serviceImpl.getOperation( + (com.google.container.v1beta1.GetOperationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CANCEL_OPERATION: + serviceImpl.cancelOperation( + (com.google.container.v1beta1.CancelOperationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVER_CONFIG: + serviceImpl.getServerConfig( + (com.google.container.v1beta1.GetServerConfigRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_NODE_POOLS: + serviceImpl.listNodePools( + (com.google.container.v1beta1.ListNodePoolsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_JSONWEB_KEYS: + serviceImpl.getJSONWebKeys( + (com.google.container.v1beta1.GetJSONWebKeysRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_NODE_POOL: + serviceImpl.getNodePool( + (com.google.container.v1beta1.GetNodePoolRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_NODE_POOL: + serviceImpl.createNodePool( + (com.google.container.v1beta1.CreateNodePoolRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_NODE_POOL: + serviceImpl.deleteNodePool( + (com.google.container.v1beta1.DeleteNodePoolRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_COMPLETE_NODE_POOL_UPGRADE: + serviceImpl.completeNodePoolUpgrade( + (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_ROLLBACK_NODE_POOL_UPGRADE: + serviceImpl.rollbackNodePoolUpgrade( + (com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_NODE_POOL_MANAGEMENT: + serviceImpl.setNodePoolManagement( + (com.google.container.v1beta1.SetNodePoolManagementRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_LABELS: + serviceImpl.setLabels( + (com.google.container.v1beta1.SetLabelsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_LEGACY_ABAC: + serviceImpl.setLegacyAbac( + (com.google.container.v1beta1.SetLegacyAbacRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_START_IPROTATION: + serviceImpl.startIPRotation( + (com.google.container.v1beta1.StartIPRotationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_COMPLETE_IPROTATION: + serviceImpl.completeIPRotation( + (com.google.container.v1beta1.CompleteIPRotationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_NODE_POOL_SIZE: + serviceImpl.setNodePoolSize( + (com.google.container.v1beta1.SetNodePoolSizeRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_NETWORK_POLICY: + serviceImpl.setNetworkPolicy( + (com.google.container.v1beta1.SetNetworkPolicyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_SET_MAINTENANCE_POLICY: + serviceImpl.setMaintenancePolicy( + (com.google.container.v1beta1.SetMaintenancePolicyRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_USABLE_SUBNETWORKS: + serviceImpl.listUsableSubnetworks( + (com.google.container.v1beta1.ListUsableSubnetworksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.container.v1beta1.ListUsableSubnetworksResponse>) + responseObserver); + break; + case METHODID_LIST_LOCATIONS: + serviceImpl.listLocations( + (com.google.container.v1beta1.ListLocationsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ClusterManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ClusterManager"); + } + } + + private static final class ClusterManagerFileDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier { + ClusterManagerFileDescriptorSupplier() {} + } + + private static final class ClusterManagerMethodDescriptorSupplier + extends ClusterManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ClusterManagerMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ClusterManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) + .addMethod(getListClustersMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getUpdateNodePoolMethod()) + .addMethod(getSetNodePoolAutoscalingMethod()) + .addMethod(getSetLoggingServiceMethod()) + .addMethod(getSetMonitoringServiceMethod()) + .addMethod(getSetAddonsConfigMethod()) + .addMethod(getSetLocationsMethod()) + .addMethod(getUpdateMasterMethod()) + .addMethod(getSetMasterAuthMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getListOperationsMethod()) + .addMethod(getGetOperationMethod()) + .addMethod(getCancelOperationMethod()) + .addMethod(getGetServerConfigMethod()) + .addMethod(getListNodePoolsMethod()) + .addMethod(getGetJSONWebKeysMethod()) + .addMethod(getGetNodePoolMethod()) + .addMethod(getCreateNodePoolMethod()) + .addMethod(getDeleteNodePoolMethod()) + .addMethod(getCompleteNodePoolUpgradeMethod()) + .addMethod(getRollbackNodePoolUpgradeMethod()) + .addMethod(getSetNodePoolManagementMethod()) + .addMethod(getSetLabelsMethod()) + .addMethod(getSetLegacyAbacMethod()) + .addMethod(getStartIPRotationMethod()) + .addMethod(getCompleteIPRotationMethod()) + .addMethod(getSetNodePoolSizeMethod()) + .addMethod(getSetNetworkPolicyMethod()) + .addMethod(getSetMaintenancePolicyMethod()) + .addMethod(getListUsableSubnetworksMethod()) + .addMethod(getListLocationsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java index 21d5a401ce31..cbdf37bb58ae 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * AcceleratorConfig represents a Hardware Accelerator request.
  * 
* * Protobuf type {@code google.container.v1.AcceleratorConfig} */ -public final class AcceleratorConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcceleratorConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.AcceleratorConfig) AcceleratorConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcceleratorConfig.newBuilder() to construct. private AcceleratorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AcceleratorConfig() { acceleratorType_ = ""; gpuPartitionSize_ = ""; @@ -26,38 +44,42 @@ private AcceleratorConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcceleratorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AcceleratorConfig.class, com.google.container.v1.AcceleratorConfig.Builder.class); + com.google.container.v1.AcceleratorConfig.class, + com.google.container.v1.AcceleratorConfig.Builder.class); } private int bitField0_; public static final int ACCELERATOR_COUNT_FIELD_NUMBER = 1; private long acceleratorCount_; /** + * + * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; + * * @return The acceleratorCount. */ @java.lang.Override @@ -68,12 +90,15 @@ public long getAcceleratorCount() { public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object acceleratorType_; /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The acceleratorType. */ @java.lang.Override @@ -82,30 +107,30 @@ public java.lang.String getAcceleratorType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; } } /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The bytes for acceleratorType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -116,6 +141,8 @@ public java.lang.String getAcceleratorType() { public static final int GPU_PARTITION_SIZE_FIELD_NUMBER = 3; private volatile java.lang.Object gpuPartitionSize_; /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -123,6 +150,7 @@ public java.lang.String getAcceleratorType() {
    * 
* * string gpu_partition_size = 3; + * * @return The gpuPartitionSize. */ @java.lang.Override @@ -131,14 +159,15 @@ public java.lang.String getGpuPartitionSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; } } /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -146,16 +175,15 @@ public java.lang.String getGpuPartitionSize() {
    * 
* * string gpu_partition_size = 3; + * * @return The bytes for gpuPartitionSize. */ @java.lang.Override - public com.google.protobuf.ByteString - getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -166,11 +194,14 @@ public java.lang.String getGpuPartitionSize() { public static final int GPU_SHARING_CONFIG_FIELD_NUMBER = 5; private com.google.container.v1.GPUSharingConfig gpuSharingConfig_; /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * * @return Whether the gpuSharingConfig field is set. */ @java.lang.Override @@ -178,18 +209,25 @@ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * * @return The gpuSharingConfig. */ @java.lang.Override public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { - return gpuSharingConfig_ == null ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } /** + * + * *
    * The configuration for GPU sharing options.
    * 
@@ -198,10 +236,13 @@ public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { */ @java.lang.Override public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { - return gpuSharingConfig_ == null ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -213,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (acceleratorCount_ != 0L) { output.writeInt64(1, acceleratorCount_); } @@ -237,8 +277,7 @@ public int getSerializedSize() { size = 0; if (acceleratorCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, acceleratorCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, acceleratorCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, acceleratorType_); @@ -247,8 +286,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gpuPartitionSize_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getGpuSharingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGpuSharingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -258,23 +296,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AcceleratorConfig)) { return super.equals(obj); } - com.google.container.v1.AcceleratorConfig other = (com.google.container.v1.AcceleratorConfig) obj; - - if (getAcceleratorCount() - != other.getAcceleratorCount()) return false; - if (!getAcceleratorType() - .equals(other.getAcceleratorType())) return false; - if (!getGpuPartitionSize() - .equals(other.getGpuPartitionSize())) return false; + com.google.container.v1.AcceleratorConfig other = + (com.google.container.v1.AcceleratorConfig) obj; + + if (getAcceleratorCount() != other.getAcceleratorCount()) return false; + if (!getAcceleratorType().equals(other.getAcceleratorType())) return false; + if (!getGpuPartitionSize().equals(other.getGpuPartitionSize())) return false; if (hasGpuSharingConfig() != other.hasGpuSharingConfig()) return false; if (hasGpuSharingConfig()) { - if (!getGpuSharingConfig() - .equals(other.getGpuSharingConfig())) return false; + if (!getGpuSharingConfig().equals(other.getGpuSharingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -288,8 +323,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACCELERATOR_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAcceleratorCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAcceleratorCount()); hash = (37 * hash) + ACCELERATOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorType().hashCode(); hash = (37 * hash) + GPU_PARTITION_SIZE_FIELD_NUMBER; @@ -303,118 +337,127 @@ public int hashCode() { return hash; } - public static com.google.container.v1.AcceleratorConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.AcceleratorConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AcceleratorConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AcceleratorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AcceleratorConfig parseFrom( 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.AcceleratorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AcceleratorConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.AcceleratorConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AcceleratorConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.AcceleratorConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.AcceleratorConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.AcceleratorConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.AcceleratorConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AcceleratorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.AcceleratorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AcceleratorConfig represents a Hardware Accelerator request.
    * 
* * Protobuf type {@code google.container.v1.AcceleratorConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.AcceleratorConfig) com.google.container.v1.AcceleratorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AcceleratorConfig.class, com.google.container.v1.AcceleratorConfig.Builder.class); + com.google.container.v1.AcceleratorConfig.class, + com.google.container.v1.AcceleratorConfig.Builder.class); } // Construct using com.google.container.v1.AcceleratorConfig.newBuilder() @@ -422,17 +465,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getGpuSharingConfigFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +495,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AcceleratorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AcceleratorConfig_descriptor; } @java.lang.Override @@ -473,7 +516,8 @@ public com.google.container.v1.AcceleratorConfig build() { @java.lang.Override public com.google.container.v1.AcceleratorConfig buildPartial() { - com.google.container.v1.AcceleratorConfig result = new com.google.container.v1.AcceleratorConfig(this); + com.google.container.v1.AcceleratorConfig result = + new com.google.container.v1.AcceleratorConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.acceleratorCount_ = acceleratorCount_; @@ -496,38 +540,39 @@ public com.google.container.v1.AcceleratorConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.AcceleratorConfig) { - return mergeFrom((com.google.container.v1.AcceleratorConfig)other); + return mergeFrom((com.google.container.v1.AcceleratorConfig) other); } else { super.mergeFrom(other); return this; @@ -576,34 +621,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - acceleratorCount_ = input.readInt64(); + case 8: + { + acceleratorCount_ = input.readInt64(); - break; - } // case 8 - case 18: { - acceleratorType_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: + { + acceleratorType_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - gpuPartitionSize_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + gpuPartitionSize_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: { - input.readMessage( - getGpuSharingConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + case 42: + { + input.readMessage( + getGpuSharingConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -613,15 +662,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long acceleratorCount_ ; + private long acceleratorCount_; /** + * + * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; + * * @return The acceleratorCount. */ @java.lang.Override @@ -629,30 +682,36 @@ public long getAcceleratorCount() { return acceleratorCount_; } /** + * + * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; + * * @param value The acceleratorCount to set. * @return This builder for chaining. */ public Builder setAcceleratorCount(long value) { - + acceleratorCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; + * * @return This builder for chaining. */ public Builder clearAcceleratorCount() { - + acceleratorCount_ = 0L; onChanged(); return this; @@ -660,19 +719,21 @@ public Builder clearAcceleratorCount() { private java.lang.Object acceleratorType_ = ""; /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @return The acceleratorType. */ public java.lang.String getAcceleratorType() { java.lang.Object ref = acceleratorType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; @@ -681,21 +742,22 @@ public java.lang.String getAcceleratorType() { } } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @return The bytes for acceleratorType. */ - public com.google.protobuf.ByteString - getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -703,57 +765,64 @@ public java.lang.String getAcceleratorType() { } } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType( - java.lang.String value) { + public Builder setAcceleratorType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + acceleratorType_ = value; onChanged(); return this; } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = getDefaultInstance().getAcceleratorType(); onChanged(); return this; } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @param value The bytes for acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + acceleratorType_ = value; onChanged(); return this; @@ -761,6 +830,8 @@ public Builder setAcceleratorTypeBytes( private java.lang.Object gpuPartitionSize_ = ""; /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -768,13 +839,13 @@ public Builder setAcceleratorTypeBytes(
      * 
* * string gpu_partition_size = 3; + * * @return The gpuPartitionSize. */ public java.lang.String getGpuPartitionSize() { java.lang.Object ref = gpuPartitionSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; @@ -783,6 +854,8 @@ public java.lang.String getGpuPartitionSize() { } } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -790,15 +863,14 @@ public java.lang.String getGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; + * * @return The bytes for gpuPartitionSize. */ - public com.google.protobuf.ByteString - getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -806,6 +878,8 @@ public java.lang.String getGpuPartitionSize() { } } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -813,20 +887,22 @@ public java.lang.String getGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; + * * @param value The gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSize( - java.lang.String value) { + public Builder setGpuPartitionSize(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpuPartitionSize_ = value; onChanged(); return this; } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -834,15 +910,18 @@ public Builder setGpuPartitionSize(
      * 
* * string gpu_partition_size = 3; + * * @return This builder for chaining. */ public Builder clearGpuPartitionSize() { - + gpuPartitionSize_ = getDefaultInstance().getGpuPartitionSize(); onChanged(); return this; } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -850,16 +929,16 @@ public Builder clearGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; + * * @param value The bytes for gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSizeBytes( - com.google.protobuf.ByteString value) { + public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpuPartitionSize_ = value; onChanged(); return this; @@ -867,34 +946,47 @@ public Builder setGpuPartitionSizeBytes( private com.google.container.v1.GPUSharingConfig gpuSharingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GPUSharingConfig, com.google.container.v1.GPUSharingConfig.Builder, com.google.container.v1.GPUSharingConfigOrBuilder> gpuSharingConfigBuilder_; + com.google.container.v1.GPUSharingConfig, + com.google.container.v1.GPUSharingConfig.Builder, + com.google.container.v1.GPUSharingConfigOrBuilder> + gpuSharingConfigBuilder_; /** + * + * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * * @return Whether the gpuSharingConfig field is set. */ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * * @return The gpuSharingConfig. */ public com.google.container.v1.GPUSharingConfig getGpuSharingConfig() { if (gpuSharingConfigBuilder_ == null) { - return gpuSharingConfig_ == null ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } else { return gpuSharingConfigBuilder_.getMessage(); } } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -915,6 +1007,8 @@ public Builder setGpuSharingConfig(com.google.container.v1.GPUSharingConfig valu return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -933,6 +1027,8 @@ public Builder setGpuSharingConfig( return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -941,11 +1037,13 @@ public Builder setGpuSharingConfig( */ public Builder mergeGpuSharingConfig(com.google.container.v1.GPUSharingConfig value) { if (gpuSharingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - gpuSharingConfig_ != null && - gpuSharingConfig_ != com.google.container.v1.GPUSharingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && gpuSharingConfig_ != null + && gpuSharingConfig_ != com.google.container.v1.GPUSharingConfig.getDefaultInstance()) { gpuSharingConfig_ = - com.google.container.v1.GPUSharingConfig.newBuilder(gpuSharingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GPUSharingConfig.newBuilder(gpuSharingConfig_) + .mergeFrom(value) + .buildPartial(); } else { gpuSharingConfig_ = value; } @@ -957,6 +1055,8 @@ public Builder mergeGpuSharingConfig(com.google.container.v1.GPUSharingConfig va return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -974,6 +1074,8 @@ public Builder clearGpuSharingConfig() { return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -986,6 +1088,8 @@ public com.google.container.v1.GPUSharingConfig.Builder getGpuSharingConfigBuild return getGpuSharingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -996,11 +1100,14 @@ public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBu if (gpuSharingConfigBuilder_ != null) { return gpuSharingConfigBuilder_.getMessageOrBuilder(); } else { - return gpuSharingConfig_ == null ? - com.google.container.v1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1008,21 +1115,24 @@ public com.google.container.v1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBu * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GPUSharingConfig, com.google.container.v1.GPUSharingConfig.Builder, com.google.container.v1.GPUSharingConfigOrBuilder> + com.google.container.v1.GPUSharingConfig, + com.google.container.v1.GPUSharingConfig.Builder, + com.google.container.v1.GPUSharingConfigOrBuilder> getGpuSharingConfigFieldBuilder() { if (gpuSharingConfigBuilder_ == null) { - gpuSharingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GPUSharingConfig, com.google.container.v1.GPUSharingConfig.Builder, com.google.container.v1.GPUSharingConfigOrBuilder>( - getGpuSharingConfig(), - getParentForChildren(), - isClean()); + gpuSharingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GPUSharingConfig, + com.google.container.v1.GPUSharingConfig.Builder, + com.google.container.v1.GPUSharingConfigOrBuilder>( + getGpuSharingConfig(), getParentForChildren(), isClean()); gpuSharingConfig_ = null; } return gpuSharingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1032,12 +1142,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.AcceleratorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.AcceleratorConfig) private static final com.google.container.v1.AcceleratorConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.AcceleratorConfig(); } @@ -1046,27 +1156,27 @@ public static com.google.container.v1.AcceleratorConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcceleratorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcceleratorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1081,6 +1191,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AcceleratorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java similarity index 74% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java index 055414b349d9..429f89ea9c26 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java @@ -1,45 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AcceleratorConfigOrBuilder extends +public interface AcceleratorConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.AcceleratorConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; + * * @return The acceleratorCount. */ long getAcceleratorCount(); /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The acceleratorType. */ java.lang.String getAcceleratorType(); /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The bytes for acceleratorType. */ - com.google.protobuf.ByteString - getAcceleratorTypeBytes(); + com.google.protobuf.ByteString getAcceleratorTypeBytes(); /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -47,10 +73,13 @@ public interface AcceleratorConfigOrBuilder extends
    * 
* * string gpu_partition_size = 3; + * * @return The gpuPartitionSize. */ java.lang.String getGpuPartitionSize(); /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -58,30 +87,38 @@ public interface AcceleratorConfigOrBuilder extends
    * 
* * string gpu_partition_size = 3; + * * @return The bytes for gpuPartitionSize. */ - com.google.protobuf.ByteString - getGpuPartitionSizeBytes(); + com.google.protobuf.ByteString getGpuPartitionSizeBytes(); /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * * @return Whether the gpuSharingConfig field is set. */ boolean hasGpuSharingConfig(); /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1.GPUSharingConfig gpu_sharing_config = 5; + * * @return The gpuSharingConfig. */ com.google.container.v1.GPUSharingConfig getGpuSharingConfig(); /** + * + * *
    * The configuration for GPU sharing options.
    * 
diff --git a/owl-bot-staging/java-container/v1/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 similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index c8af379b04e1..8894d72c6c45 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration for the addons that can be automatically spun up in the
  * cluster, enabling additional functionality.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.container.v1.AddonsConfig}
  */
-public final class AddonsConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AddonsConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.AddonsConfig)
     AddonsConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AddonsConfig.newBuilder() to construct.
   private AddonsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AddonsConfig() {
-  }
+
+  private AddonsConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AddonsConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_AddonsConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.AddonsConfig.class, com.google.container.v1.AddonsConfig.Builder.class);
+            com.google.container.v1.AddonsConfig.class,
+            com.google.container.v1.AddonsConfig.Builder.class);
   }
 
   public static final int HTTP_LOAD_BALANCING_FIELD_NUMBER = 1;
   private com.google.container.v1.HttpLoadBalancing httpLoadBalancing_;
   /**
+   *
+   *
    * 
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; + * * @return Whether the httpLoadBalancing field is set. */ @java.lang.Override @@ -64,19 +85,26 @@ public boolean hasHttpLoadBalancing() { return httpLoadBalancing_ != null; } /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; + * * @return The httpLoadBalancing. */ @java.lang.Override public com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing() { - return httpLoadBalancing_ == null ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; + return httpLoadBalancing_ == null + ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() + : httpLoadBalancing_; } /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -92,6 +120,8 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
   public static final int HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER = 2;
   private com.google.container.v1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
   /**
+   *
+   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -99,6 +129,7 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return Whether the horizontalPodAutoscaling field is set. */ @java.lang.Override @@ -106,6 +137,8 @@ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscaling_ != null; } /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -113,13 +146,18 @@ public boolean hasHorizontalPodAutoscaling() {
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return The horizontalPodAutoscaling. */ @java.lang.Override public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { - return horizontalPodAutoscaling_ == null ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null + ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() + : horizontalPodAutoscaling_; } /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -129,13 +167,16 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal
    * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
    */
   @java.lang.Override
-  public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() {
+  public com.google.container.v1.HorizontalPodAutoscalingOrBuilder
+      getHorizontalPodAutoscalingOrBuilder() {
     return getHorizontalPodAutoscaling();
   }
 
   public static final int KUBERNETES_DASHBOARD_FIELD_NUMBER = 3;
   private com.google.container.v1.KubernetesDashboard kubernetesDashboard_;
   /**
+   *
+   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -144,16 +185,21 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1/cluster_service.proto;l=1046 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasKubernetesDashboard() { + @java.lang.Deprecated + public boolean hasKubernetesDashboard() { return kubernetesDashboard_ != null; } /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -162,16 +208,23 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1/cluster_service.proto;l=1046 * @return The kubernetesDashboard. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { - return kubernetesDashboard_ == null ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; + @java.lang.Deprecated + public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { + return kubernetesDashboard_ == null + ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() + : kubernetesDashboard_; } /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -180,16 +233,20 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated + public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { return getKubernetesDashboard(); } public static final int NETWORK_POLICY_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1.NetworkPolicyConfig networkPolicyConfig_; /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -197,6 +254,7 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; + * * @return Whether the networkPolicyConfig field is set. */ @java.lang.Override @@ -204,6 +262,8 @@ public boolean hasNetworkPolicyConfig() { return networkPolicyConfig_ != null; } /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -211,13 +271,18 @@ public boolean hasNetworkPolicyConfig() {
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; + * * @return The networkPolicyConfig. */ @java.lang.Override public com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig() { - return networkPolicyConfig_ == null ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; + return networkPolicyConfig_ == null + ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() + : networkPolicyConfig_; } /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -234,12 +299,15 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
   public static final int CLOUD_RUN_CONFIG_FIELD_NUMBER = 7;
   private com.google.container.v1.CloudRunConfig cloudRunConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; + * * @return Whether the cloudRunConfig field is set. */ @java.lang.Override @@ -247,19 +315,26 @@ public boolean hasCloudRunConfig() { return cloudRunConfig_ != null; } /** + * + * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; + * * @return The cloudRunConfig. */ @java.lang.Override public com.google.container.v1.CloudRunConfig getCloudRunConfig() { - return cloudRunConfig_ == null ? com.google.container.v1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; + return cloudRunConfig_ == null + ? com.google.container.v1.CloudRunConfig.getDefaultInstance() + : cloudRunConfig_; } /** + * + * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
@@ -275,11 +350,14 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
   public static final int DNS_CACHE_CONFIG_FIELD_NUMBER = 8;
   private com.google.container.v1.DnsCacheConfig dnsCacheConfig_;
   /**
+   *
+   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; + * * @return Whether the dnsCacheConfig field is set. */ @java.lang.Override @@ -287,18 +365,25 @@ public boolean hasDnsCacheConfig() { return dnsCacheConfig_ != null; } /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; + * * @return The dnsCacheConfig. */ @java.lang.Override public com.google.container.v1.DnsCacheConfig getDnsCacheConfig() { - return dnsCacheConfig_ == null ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; + return dnsCacheConfig_ == null + ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() + : dnsCacheConfig_; } /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -313,12 +398,15 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde public static final int CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1.ConfigConnectorConfig configConnectorConfig_; /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; + * * @return Whether the configConnectorConfig field is set. */ @java.lang.Override @@ -326,19 +414,26 @@ public boolean hasConfigConnectorConfig() { return configConnectorConfig_ != null; } /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; + * * @return The configConnectorConfig. */ @java.lang.Override public com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig() { - return configConnectorConfig_ == null ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; + return configConnectorConfig_ == null + ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() + : configConnectorConfig_; } /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -347,18 +442,25 @@ public com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig()
    * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
    */
   @java.lang.Override
-  public com.google.container.v1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
+  public com.google.container.v1.ConfigConnectorConfigOrBuilder
+      getConfigConnectorConfigOrBuilder() {
     return getConfigConnectorConfig();
   }
 
   public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER = 11;
-  private com.google.container.v1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
+  private com.google.container.v1.GcePersistentDiskCsiDriverConfig
+      gcePersistentDiskCsiDriverConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ @java.lang.Override @@ -366,37 +468,54 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { return gcePersistentDiskCsiDriverConfig_ != null; } /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return The gcePersistentDiskCsiDriverConfig. */ @java.lang.Override - public com.google.container.v1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; + public com.google.container.v1.GcePersistentDiskCsiDriverConfig + getGcePersistentDiskCsiDriverConfig() { + return gcePersistentDiskCsiDriverConfig_ == null + ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() + : gcePersistentDiskCsiDriverConfig_; } /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ @java.lang.Override - public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder + getGcePersistentDiskCsiDriverConfigOrBuilder() { return getGcePersistentDiskCsiDriverConfig(); } public static final int GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_; /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ @java.lang.Override @@ -404,37 +523,50 @@ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfig_ != null; } /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return The gcpFilestoreCsiDriverConfig. */ @java.lang.Override public com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { - return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null + ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() + : gcpFilestoreCsiDriverConfig_; } /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ @java.lang.Override - public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder + getGcpFilestoreCsiDriverConfigOrBuilder() { return getGcpFilestoreCsiDriverConfig(); } public static final int GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER = 16; private com.google.container.v1.GkeBackupAgentConfig gkeBackupAgentConfig_; /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return Whether the gkeBackupAgentConfig field is set. */ @java.lang.Override @@ -442,18 +574,25 @@ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfig_ != null; } /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return The gkeBackupAgentConfig. */ @java.lang.Override public com.google.container.v1.GkeBackupAgentConfig getGkeBackupAgentConfig() { - return gkeBackupAgentConfig_ == null ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null + ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() + : gkeBackupAgentConfig_; } /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
@@ -466,6 +605,7 @@ public com.google.container.v1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentCo } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -477,8 +617,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (httpLoadBalancing_ != null) { output.writeMessage(1, getHttpLoadBalancing()); } @@ -519,44 +658,42 @@ public int getSerializedSize() { size = 0; if (httpLoadBalancing_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHttpLoadBalancing()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHttpLoadBalancing()); } if (horizontalPodAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getHorizontalPodAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getHorizontalPodAutoscaling()); } if (kubernetesDashboard_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getKubernetesDashboard()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getKubernetesDashboard()); } if (networkPolicyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNetworkPolicyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicyConfig()); } if (cloudRunConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCloudRunConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCloudRunConfig()); } if (dnsCacheConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getDnsCacheConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDnsCacheConfig()); } if (configConnectorConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getConfigConnectorConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(10, getConfigConnectorConfig()); } if (gcePersistentDiskCsiDriverConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getGcePersistentDiskCsiDriverConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, getGcePersistentDiskCsiDriverConfig()); } if (gcpFilestoreCsiDriverConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getGcpFilestoreCsiDriverConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, getGcpFilestoreCsiDriverConfig()); } if (gkeBackupAgentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getGkeBackupAgentConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGkeBackupAgentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -566,7 +703,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AddonsConfig)) { return super.equals(obj); @@ -575,53 +712,46 @@ public boolean equals(final java.lang.Object obj) { if (hasHttpLoadBalancing() != other.hasHttpLoadBalancing()) return false; if (hasHttpLoadBalancing()) { - if (!getHttpLoadBalancing() - .equals(other.getHttpLoadBalancing())) return false; + if (!getHttpLoadBalancing().equals(other.getHttpLoadBalancing())) return false; } if (hasHorizontalPodAutoscaling() != other.hasHorizontalPodAutoscaling()) return false; if (hasHorizontalPodAutoscaling()) { - if (!getHorizontalPodAutoscaling() - .equals(other.getHorizontalPodAutoscaling())) return false; + if (!getHorizontalPodAutoscaling().equals(other.getHorizontalPodAutoscaling())) return false; } if (hasKubernetesDashboard() != other.hasKubernetesDashboard()) return false; if (hasKubernetesDashboard()) { - if (!getKubernetesDashboard() - .equals(other.getKubernetesDashboard())) return false; + if (!getKubernetesDashboard().equals(other.getKubernetesDashboard())) return false; } if (hasNetworkPolicyConfig() != other.hasNetworkPolicyConfig()) return false; if (hasNetworkPolicyConfig()) { - if (!getNetworkPolicyConfig() - .equals(other.getNetworkPolicyConfig())) return false; + if (!getNetworkPolicyConfig().equals(other.getNetworkPolicyConfig())) return false; } if (hasCloudRunConfig() != other.hasCloudRunConfig()) return false; if (hasCloudRunConfig()) { - if (!getCloudRunConfig() - .equals(other.getCloudRunConfig())) return false; + if (!getCloudRunConfig().equals(other.getCloudRunConfig())) return false; } if (hasDnsCacheConfig() != other.hasDnsCacheConfig()) return false; if (hasDnsCacheConfig()) { - if (!getDnsCacheConfig() - .equals(other.getDnsCacheConfig())) return false; + if (!getDnsCacheConfig().equals(other.getDnsCacheConfig())) return false; } if (hasConfigConnectorConfig() != other.hasConfigConnectorConfig()) return false; if (hasConfigConnectorConfig()) { - if (!getConfigConnectorConfig() - .equals(other.getConfigConnectorConfig())) return false; + if (!getConfigConnectorConfig().equals(other.getConfigConnectorConfig())) return false; } - if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) return false; + if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) + return false; if (hasGcePersistentDiskCsiDriverConfig()) { if (!getGcePersistentDiskCsiDriverConfig() .equals(other.getGcePersistentDiskCsiDriverConfig())) return false; } if (hasGcpFilestoreCsiDriverConfig() != other.hasGcpFilestoreCsiDriverConfig()) return false; if (hasGcpFilestoreCsiDriverConfig()) { - if (!getGcpFilestoreCsiDriverConfig() - .equals(other.getGcpFilestoreCsiDriverConfig())) return false; + if (!getGcpFilestoreCsiDriverConfig().equals(other.getGcpFilestoreCsiDriverConfig())) + return false; } if (hasGkeBackupAgentConfig() != other.hasGkeBackupAgentConfig()) return false; if (hasGkeBackupAgentConfig()) { - if (!getGkeBackupAgentConfig() - .equals(other.getGkeBackupAgentConfig())) return false; + if (!getGkeBackupAgentConfig().equals(other.getGkeBackupAgentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -679,97 +809,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.AddonsConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.AddonsConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AddonsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AddonsConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.AddonsConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AddonsConfig parseFrom( 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.AddonsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AddonsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.AddonsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AddonsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.AddonsConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.AddonsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.AddonsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AddonsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.AddonsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the addons that can be automatically spun up in the
    * cluster, enabling additional functionality.
@@ -777,33 +913,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.AddonsConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.AddonsConfig)
       com.google.container.v1.AddonsConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AddonsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.AddonsConfig.class, com.google.container.v1.AddonsConfig.Builder.class);
+              com.google.container.v1.AddonsConfig.class,
+              com.google.container.v1.AddonsConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.AddonsConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -871,9 +1006,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AddonsConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
@@ -951,38 +1086,39 @@ public com.google.container.v1.AddonsConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.AddonsConfig) {
-        return mergeFrom((com.google.container.v1.AddonsConfig)other);
+        return mergeFrom((com.google.container.v1.AddonsConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1047,82 +1183,82 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getHttpLoadBalancingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getHorizontalPodAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getKubernetesDashboardFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getNetworkPolicyConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 58: {
-              input.readMessage(
-                  getCloudRunConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getDnsCacheConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 82: {
-              input.readMessage(
-                  getConfigConnectorConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 90
-            case 114: {
-              input.readMessage(
-                  getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 114
-            case 130: {
-              input.readMessage(
-                  getGkeBackupAgentConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 130
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getHttpLoadBalancingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getHorizontalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getKubernetesDashboardFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getNetworkPolicyConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 58:
+              {
+                input.readMessage(getCloudRunConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getDnsCacheConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 82:
+              {
+                input.readMessage(
+                    getConfigConnectorConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(
+                    getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 90
+            case 114:
+              {
+                input.readMessage(
+                    getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 114
+            case 130:
+              {
+                input.readMessage(
+                    getGkeBackupAgentConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 130
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1135,36 +1271,49 @@ public Builder mergeFrom(
 
     private com.google.container.v1.HttpLoadBalancing httpLoadBalancing_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.HttpLoadBalancing, com.google.container.v1.HttpLoadBalancing.Builder, com.google.container.v1.HttpLoadBalancingOrBuilder> httpLoadBalancingBuilder_;
+            com.google.container.v1.HttpLoadBalancing,
+            com.google.container.v1.HttpLoadBalancing.Builder,
+            com.google.container.v1.HttpLoadBalancingOrBuilder>
+        httpLoadBalancingBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; + * * @return Whether the httpLoadBalancing field is set. */ public boolean hasHttpLoadBalancing() { return httpLoadBalancingBuilder_ != null || httpLoadBalancing_ != null; } /** + * + * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; + * * @return The httpLoadBalancing. */ public com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing() { if (httpLoadBalancingBuilder_ == null) { - return httpLoadBalancing_ == null ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; + return httpLoadBalancing_ == null + ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() + : httpLoadBalancing_; } else { return httpLoadBalancingBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1186,6 +1335,8 @@ public Builder setHttpLoadBalancing(com.google.container.v1.HttpLoadBalancing va
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1205,6 +1356,8 @@ public Builder setHttpLoadBalancing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1216,7 +1369,9 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1.HttpLoadBalancing
       if (httpLoadBalancingBuilder_ == null) {
         if (httpLoadBalancing_ != null) {
           httpLoadBalancing_ =
-            com.google.container.v1.HttpLoadBalancing.newBuilder(httpLoadBalancing_).mergeFrom(value).buildPartial();
+              com.google.container.v1.HttpLoadBalancing.newBuilder(httpLoadBalancing_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           httpLoadBalancing_ = value;
         }
@@ -1228,6 +1383,8 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1.HttpLoadBalancing
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1247,6 +1404,8 @@ public Builder clearHttpLoadBalancing() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1255,11 +1414,13 @@ public Builder clearHttpLoadBalancing() {
      * .google.container.v1.HttpLoadBalancing http_load_balancing = 1;
      */
     public com.google.container.v1.HttpLoadBalancing.Builder getHttpLoadBalancingBuilder() {
-      
+
       onChanged();
       return getHttpLoadBalancingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1271,11 +1432,14 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
       if (httpLoadBalancingBuilder_ != null) {
         return httpLoadBalancingBuilder_.getMessageOrBuilder();
       } else {
-        return httpLoadBalancing_ == null ?
-            com.google.container.v1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_;
+        return httpLoadBalancing_ == null
+            ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance()
+            : httpLoadBalancing_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1284,14 +1448,17 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
      * .google.container.v1.HttpLoadBalancing http_load_balancing = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.HttpLoadBalancing, com.google.container.v1.HttpLoadBalancing.Builder, com.google.container.v1.HttpLoadBalancingOrBuilder> 
+            com.google.container.v1.HttpLoadBalancing,
+            com.google.container.v1.HttpLoadBalancing.Builder,
+            com.google.container.v1.HttpLoadBalancingOrBuilder>
         getHttpLoadBalancingFieldBuilder() {
       if (httpLoadBalancingBuilder_ == null) {
-        httpLoadBalancingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.HttpLoadBalancing, com.google.container.v1.HttpLoadBalancing.Builder, com.google.container.v1.HttpLoadBalancingOrBuilder>(
-                getHttpLoadBalancing(),
-                getParentForChildren(),
-                isClean());
+        httpLoadBalancingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.HttpLoadBalancing,
+                com.google.container.v1.HttpLoadBalancing.Builder,
+                com.google.container.v1.HttpLoadBalancingOrBuilder>(
+                getHttpLoadBalancing(), getParentForChildren(), isClean());
         httpLoadBalancing_ = null;
       }
       return httpLoadBalancingBuilder_;
@@ -1299,8 +1466,13 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
 
     private com.google.container.v1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.HorizontalPodAutoscaling, com.google.container.v1.HorizontalPodAutoscaling.Builder, com.google.container.v1.HorizontalPodAutoscalingOrBuilder> horizontalPodAutoscalingBuilder_;
+            com.google.container.v1.HorizontalPodAutoscaling,
+            com.google.container.v1.HorizontalPodAutoscaling.Builder,
+            com.google.container.v1.HorizontalPodAutoscalingOrBuilder>
+        horizontalPodAutoscalingBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1308,12 +1480,15 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr
      * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return Whether the horizontalPodAutoscaling field is set. */ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscalingBuilder_ != null || horizontalPodAutoscaling_ != null; } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1321,16 +1496,21 @@ public boolean hasHorizontalPodAutoscaling() {
      * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return The horizontalPodAutoscaling. */ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { if (horizontalPodAutoscalingBuilder_ == null) { - return horizontalPodAutoscaling_ == null ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null + ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() + : horizontalPodAutoscaling_; } else { return horizontalPodAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1339,7 +1519,8 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public Builder setHorizontalPodAutoscaling(com.google.container.v1.HorizontalPodAutoscaling value) {
+    public Builder setHorizontalPodAutoscaling(
+        com.google.container.v1.HorizontalPodAutoscaling value) {
       if (horizontalPodAutoscalingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1353,6 +1534,8 @@ public Builder setHorizontalPodAutoscaling(com.google.container.v1.HorizontalPod
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1373,6 +1556,8 @@ public Builder setHorizontalPodAutoscaling(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1381,11 +1566,14 @@ public Builder setHorizontalPodAutoscaling(
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public Builder mergeHorizontalPodAutoscaling(com.google.container.v1.HorizontalPodAutoscaling value) {
+    public Builder mergeHorizontalPodAutoscaling(
+        com.google.container.v1.HorizontalPodAutoscaling value) {
       if (horizontalPodAutoscalingBuilder_ == null) {
         if (horizontalPodAutoscaling_ != null) {
           horizontalPodAutoscaling_ =
-            com.google.container.v1.HorizontalPodAutoscaling.newBuilder(horizontalPodAutoscaling_).mergeFrom(value).buildPartial();
+              com.google.container.v1.HorizontalPodAutoscaling.newBuilder(horizontalPodAutoscaling_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           horizontalPodAutoscaling_ = value;
         }
@@ -1397,6 +1585,8 @@ public Builder mergeHorizontalPodAutoscaling(com.google.container.v1.HorizontalP
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1417,6 +1607,8 @@ public Builder clearHorizontalPodAutoscaling() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1425,12 +1617,15 @@ public Builder clearHorizontalPodAutoscaling() {
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public com.google.container.v1.HorizontalPodAutoscaling.Builder getHorizontalPodAutoscalingBuilder() {
-      
+    public com.google.container.v1.HorizontalPodAutoscaling.Builder
+        getHorizontalPodAutoscalingBuilder() {
+
       onChanged();
       return getHorizontalPodAutoscalingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1439,15 +1634,19 @@ public com.google.container.v1.HorizontalPodAutoscaling.Builder getHorizontalPod
      *
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
-    public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() {
+    public com.google.container.v1.HorizontalPodAutoscalingOrBuilder
+        getHorizontalPodAutoscalingOrBuilder() {
       if (horizontalPodAutoscalingBuilder_ != null) {
         return horizontalPodAutoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return horizontalPodAutoscaling_ == null ?
-            com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_;
+        return horizontalPodAutoscaling_ == null
+            ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance()
+            : horizontalPodAutoscaling_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
@@ -1457,14 +1656,17 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.HorizontalPodAutoscaling, com.google.container.v1.HorizontalPodAutoscaling.Builder, com.google.container.v1.HorizontalPodAutoscalingOrBuilder> 
+            com.google.container.v1.HorizontalPodAutoscaling,
+            com.google.container.v1.HorizontalPodAutoscaling.Builder,
+            com.google.container.v1.HorizontalPodAutoscalingOrBuilder>
         getHorizontalPodAutoscalingFieldBuilder() {
       if (horizontalPodAutoscalingBuilder_ == null) {
-        horizontalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.HorizontalPodAutoscaling, com.google.container.v1.HorizontalPodAutoscaling.Builder, com.google.container.v1.HorizontalPodAutoscalingOrBuilder>(
-                getHorizontalPodAutoscaling(),
-                getParentForChildren(),
-                isClean());
+        horizontalPodAutoscalingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.HorizontalPodAutoscaling,
+                com.google.container.v1.HorizontalPodAutoscaling.Builder,
+                com.google.container.v1.HorizontalPodAutoscalingOrBuilder>(
+                getHorizontalPodAutoscaling(), getParentForChildren(), isClean());
         horizontalPodAutoscaling_ = null;
       }
       return horizontalPodAutoscalingBuilder_;
@@ -1472,8 +1674,13 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
 
     private com.google.container.v1.KubernetesDashboard kubernetesDashboard_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.KubernetesDashboard, com.google.container.v1.KubernetesDashboard.Builder, com.google.container.v1.KubernetesDashboardOrBuilder> kubernetesDashboardBuilder_;
+            com.google.container.v1.KubernetesDashboard,
+            com.google.container.v1.KubernetesDashboard.Builder,
+            com.google.container.v1.KubernetesDashboardOrBuilder>
+        kubernetesDashboardBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1482,15 +1689,20 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1/cluster_service.proto;l=1046 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated public boolean hasKubernetesDashboard() { + @java.lang.Deprecated + public boolean hasKubernetesDashboard() { return kubernetesDashboardBuilder_ != null || kubernetesDashboard_ != null; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1499,19 +1711,26 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1/cluster_service.proto;l=1046 * @return The kubernetesDashboard. */ - @java.lang.Deprecated public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { + @java.lang.Deprecated + public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { - return kubernetesDashboard_ == null ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; + return kubernetesDashboard_ == null + ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() + : kubernetesDashboard_; } else { return kubernetesDashboardBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1520,9 +1739,11 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { + @java.lang.Deprecated + public Builder setKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1536,6 +1757,8 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1544,9 +1767,11 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setKubernetesDashboard( + @java.lang.Deprecated + public Builder setKubernetesDashboard( com.google.container.v1.KubernetesDashboard.Builder builderForValue) { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = builderForValue.build(); @@ -1558,6 +1783,8 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1566,13 +1793,17 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder mergeKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { + @java.lang.Deprecated + public Builder mergeKubernetesDashboard(com.google.container.v1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (kubernetesDashboard_ != null) { kubernetesDashboard_ = - com.google.container.v1.KubernetesDashboard.newBuilder(kubernetesDashboard_).mergeFrom(value).buildPartial(); + com.google.container.v1.KubernetesDashboard.newBuilder(kubernetesDashboard_) + .mergeFrom(value) + .buildPartial(); } else { kubernetesDashboard_ = value; } @@ -1584,6 +1815,8 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1592,9 +1825,11 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearKubernetesDashboard() { + @java.lang.Deprecated + public Builder clearKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = null; onChanged(); @@ -1606,6 +1841,8 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1614,14 +1851,18 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.KubernetesDashboard.Builder getKubernetesDashboardBuilder() { - + @java.lang.Deprecated + public com.google.container.v1.KubernetesDashboard.Builder getKubernetesDashboardBuilder() { + onChanged(); return getKubernetesDashboardFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1630,17 +1871,22 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated + public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { if (kubernetesDashboardBuilder_ != null) { return kubernetesDashboardBuilder_.getMessageOrBuilder(); } else { - return kubernetesDashboard_ == null ? - com.google.container.v1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; + return kubernetesDashboard_ == null + ? com.google.container.v1.KubernetesDashboard.getDefaultInstance() + : kubernetesDashboard_; } } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1649,17 +1895,21 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.KubernetesDashboard, com.google.container.v1.KubernetesDashboard.Builder, com.google.container.v1.KubernetesDashboardOrBuilder> + com.google.container.v1.KubernetesDashboard, + com.google.container.v1.KubernetesDashboard.Builder, + com.google.container.v1.KubernetesDashboardOrBuilder> getKubernetesDashboardFieldBuilder() { if (kubernetesDashboardBuilder_ == null) { - kubernetesDashboardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.KubernetesDashboard, com.google.container.v1.KubernetesDashboard.Builder, com.google.container.v1.KubernetesDashboardOrBuilder>( - getKubernetesDashboard(), - getParentForChildren(), - isClean()); + kubernetesDashboardBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.KubernetesDashboard, + com.google.container.v1.KubernetesDashboard.Builder, + com.google.container.v1.KubernetesDashboardOrBuilder>( + getKubernetesDashboard(), getParentForChildren(), isClean()); kubernetesDashboard_ = null; } return kubernetesDashboardBuilder_; @@ -1667,8 +1917,13 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo private com.google.container.v1.NetworkPolicyConfig networkPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicyConfig, com.google.container.v1.NetworkPolicyConfig.Builder, com.google.container.v1.NetworkPolicyConfigOrBuilder> networkPolicyConfigBuilder_; + com.google.container.v1.NetworkPolicyConfig, + com.google.container.v1.NetworkPolicyConfig.Builder, + com.google.container.v1.NetworkPolicyConfigOrBuilder> + networkPolicyConfigBuilder_; /** + * + * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1676,12 +1931,15 @@ public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPo
      * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; + * * @return Whether the networkPolicyConfig field is set. */ public boolean hasNetworkPolicyConfig() { return networkPolicyConfigBuilder_ != null || networkPolicyConfig_ != null; } /** + * + * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1689,16 +1947,21 @@ public boolean hasNetworkPolicyConfig() {
      * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; + * * @return The networkPolicyConfig. */ public com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig() { if (networkPolicyConfigBuilder_ == null) { - return networkPolicyConfig_ == null ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; + return networkPolicyConfig_ == null + ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() + : networkPolicyConfig_; } else { return networkPolicyConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1721,6 +1984,8 @@ public Builder setNetworkPolicyConfig(com.google.container.v1.NetworkPolicyConfi
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1741,6 +2006,8 @@ public Builder setNetworkPolicyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1753,7 +2020,9 @@ public Builder mergeNetworkPolicyConfig(com.google.container.v1.NetworkPolicyCon
       if (networkPolicyConfigBuilder_ == null) {
         if (networkPolicyConfig_ != null) {
           networkPolicyConfig_ =
-            com.google.container.v1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkPolicyConfig_ = value;
         }
@@ -1765,6 +2034,8 @@ public Builder mergeNetworkPolicyConfig(com.google.container.v1.NetworkPolicyCon
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1785,6 +2056,8 @@ public Builder clearNetworkPolicyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1794,11 +2067,13 @@ public Builder clearNetworkPolicyConfig() {
      * .google.container.v1.NetworkPolicyConfig network_policy_config = 4;
      */
     public com.google.container.v1.NetworkPolicyConfig.Builder getNetworkPolicyConfigBuilder() {
-      
+
       onChanged();
       return getNetworkPolicyConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1811,11 +2086,14 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
       if (networkPolicyConfigBuilder_ != null) {
         return networkPolicyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkPolicyConfig_ == null ?
-            com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_;
+        return networkPolicyConfig_ == null
+            ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance()
+            : networkPolicyConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1825,14 +2103,17 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
      * .google.container.v1.NetworkPolicyConfig network_policy_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NetworkPolicyConfig, com.google.container.v1.NetworkPolicyConfig.Builder, com.google.container.v1.NetworkPolicyConfigOrBuilder> 
+            com.google.container.v1.NetworkPolicyConfig,
+            com.google.container.v1.NetworkPolicyConfig.Builder,
+            com.google.container.v1.NetworkPolicyConfigOrBuilder>
         getNetworkPolicyConfigFieldBuilder() {
       if (networkPolicyConfigBuilder_ == null) {
-        networkPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NetworkPolicyConfig, com.google.container.v1.NetworkPolicyConfig.Builder, com.google.container.v1.NetworkPolicyConfigOrBuilder>(
-                getNetworkPolicyConfig(),
-                getParentForChildren(),
-                isClean());
+        networkPolicyConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NetworkPolicyConfig,
+                com.google.container.v1.NetworkPolicyConfig.Builder,
+                com.google.container.v1.NetworkPolicyConfigOrBuilder>(
+                getNetworkPolicyConfig(), getParentForChildren(), isClean());
         networkPolicyConfig_ = null;
       }
       return networkPolicyConfigBuilder_;
@@ -1840,36 +2121,49 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf
 
     private com.google.container.v1.CloudRunConfig cloudRunConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.CloudRunConfig, com.google.container.v1.CloudRunConfig.Builder, com.google.container.v1.CloudRunConfigOrBuilder> cloudRunConfigBuilder_;
+            com.google.container.v1.CloudRunConfig,
+            com.google.container.v1.CloudRunConfig.Builder,
+            com.google.container.v1.CloudRunConfigOrBuilder>
+        cloudRunConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
      * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; + * * @return Whether the cloudRunConfig field is set. */ public boolean hasCloudRunConfig() { return cloudRunConfigBuilder_ != null || cloudRunConfig_ != null; } /** + * + * *
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
      * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; + * * @return The cloudRunConfig. */ public com.google.container.v1.CloudRunConfig getCloudRunConfig() { if (cloudRunConfigBuilder_ == null) { - return cloudRunConfig_ == null ? com.google.container.v1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; + return cloudRunConfig_ == null + ? com.google.container.v1.CloudRunConfig.getDefaultInstance() + : cloudRunConfig_; } else { return cloudRunConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -1891,6 +2185,8 @@ public Builder setCloudRunConfig(com.google.container.v1.CloudRunConfig value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -1910,6 +2206,8 @@ public Builder setCloudRunConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -1921,7 +2219,9 @@ public Builder mergeCloudRunConfig(com.google.container.v1.CloudRunConfig value)
       if (cloudRunConfigBuilder_ == null) {
         if (cloudRunConfig_ != null) {
           cloudRunConfig_ =
-            com.google.container.v1.CloudRunConfig.newBuilder(cloudRunConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.CloudRunConfig.newBuilder(cloudRunConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cloudRunConfig_ = value;
         }
@@ -1933,6 +2233,8 @@ public Builder mergeCloudRunConfig(com.google.container.v1.CloudRunConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -1952,6 +2254,8 @@ public Builder clearCloudRunConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -1960,11 +2264,13 @@ public Builder clearCloudRunConfig() {
      * .google.container.v1.CloudRunConfig cloud_run_config = 7;
      */
     public com.google.container.v1.CloudRunConfig.Builder getCloudRunConfigBuilder() {
-      
+
       onChanged();
       return getCloudRunConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -1976,11 +2282,14 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
       if (cloudRunConfigBuilder_ != null) {
         return cloudRunConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cloudRunConfig_ == null ?
-            com.google.container.v1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_;
+        return cloudRunConfig_ == null
+            ? com.google.container.v1.CloudRunConfig.getDefaultInstance()
+            : cloudRunConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon, which allows the user to use a
      * managed Knative service.
@@ -1989,14 +2298,17 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
      * .google.container.v1.CloudRunConfig cloud_run_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.CloudRunConfig, com.google.container.v1.CloudRunConfig.Builder, com.google.container.v1.CloudRunConfigOrBuilder> 
+            com.google.container.v1.CloudRunConfig,
+            com.google.container.v1.CloudRunConfig.Builder,
+            com.google.container.v1.CloudRunConfigOrBuilder>
         getCloudRunConfigFieldBuilder() {
       if (cloudRunConfigBuilder_ == null) {
-        cloudRunConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.CloudRunConfig, com.google.container.v1.CloudRunConfig.Builder, com.google.container.v1.CloudRunConfigOrBuilder>(
-                getCloudRunConfig(),
-                getParentForChildren(),
-                isClean());
+        cloudRunConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.CloudRunConfig,
+                com.google.container.v1.CloudRunConfig.Builder,
+                com.google.container.v1.CloudRunConfigOrBuilder>(
+                getCloudRunConfig(), getParentForChildren(), isClean());
         cloudRunConfig_ = null;
       }
       return cloudRunConfigBuilder_;
@@ -2004,34 +2316,47 @@ public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilde
 
     private com.google.container.v1.DnsCacheConfig dnsCacheConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.DnsCacheConfig, com.google.container.v1.DnsCacheConfig.Builder, com.google.container.v1.DnsCacheConfigOrBuilder> dnsCacheConfigBuilder_;
+            com.google.container.v1.DnsCacheConfig,
+            com.google.container.v1.DnsCacheConfig.Builder,
+            com.google.container.v1.DnsCacheConfigOrBuilder>
+        dnsCacheConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; + * * @return Whether the dnsCacheConfig field is set. */ public boolean hasDnsCacheConfig() { return dnsCacheConfigBuilder_ != null || dnsCacheConfig_ != null; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; + * * @return The dnsCacheConfig. */ public com.google.container.v1.DnsCacheConfig getDnsCacheConfig() { if (dnsCacheConfigBuilder_ == null) { - return dnsCacheConfig_ == null ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; + return dnsCacheConfig_ == null + ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() + : dnsCacheConfig_; } else { return dnsCacheConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2052,6 +2377,8 @@ public Builder setDnsCacheConfig(com.google.container.v1.DnsCacheConfig value) { return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2070,6 +2397,8 @@ public Builder setDnsCacheConfig( return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2080,7 +2409,9 @@ public Builder mergeDnsCacheConfig(com.google.container.v1.DnsCacheConfig value) if (dnsCacheConfigBuilder_ == null) { if (dnsCacheConfig_ != null) { dnsCacheConfig_ = - com.google.container.v1.DnsCacheConfig.newBuilder(dnsCacheConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.DnsCacheConfig.newBuilder(dnsCacheConfig_) + .mergeFrom(value) + .buildPartial(); } else { dnsCacheConfig_ = value; } @@ -2092,6 +2423,8 @@ public Builder mergeDnsCacheConfig(com.google.container.v1.DnsCacheConfig value) return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2110,6 +2443,8 @@ public Builder clearDnsCacheConfig() { return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2117,11 +2452,13 @@ public Builder clearDnsCacheConfig() { * .google.container.v1.DnsCacheConfig dns_cache_config = 8; */ public com.google.container.v1.DnsCacheConfig.Builder getDnsCacheConfigBuilder() { - + onChanged(); return getDnsCacheConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2132,11 +2469,14 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde if (dnsCacheConfigBuilder_ != null) { return dnsCacheConfigBuilder_.getMessageOrBuilder(); } else { - return dnsCacheConfig_ == null ? - com.google.container.v1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; + return dnsCacheConfig_ == null + ? com.google.container.v1.DnsCacheConfig.getDefaultInstance() + : dnsCacheConfig_; } } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2144,14 +2484,17 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde * .google.container.v1.DnsCacheConfig dns_cache_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DnsCacheConfig, com.google.container.v1.DnsCacheConfig.Builder, com.google.container.v1.DnsCacheConfigOrBuilder> + com.google.container.v1.DnsCacheConfig, + com.google.container.v1.DnsCacheConfig.Builder, + com.google.container.v1.DnsCacheConfigOrBuilder> getDnsCacheConfigFieldBuilder() { if (dnsCacheConfigBuilder_ == null) { - dnsCacheConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DnsCacheConfig, com.google.container.v1.DnsCacheConfig.Builder, com.google.container.v1.DnsCacheConfigOrBuilder>( - getDnsCacheConfig(), - getParentForChildren(), - isClean()); + dnsCacheConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DnsCacheConfig, + com.google.container.v1.DnsCacheConfig.Builder, + com.google.container.v1.DnsCacheConfigOrBuilder>( + getDnsCacheConfig(), getParentForChildren(), isClean()); dnsCacheConfig_ = null; } return dnsCacheConfigBuilder_; @@ -2159,36 +2502,49 @@ public com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilde private com.google.container.v1.ConfigConnectorConfig configConnectorConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfigConnectorConfig, com.google.container.v1.ConfigConnectorConfig.Builder, com.google.container.v1.ConfigConnectorConfigOrBuilder> configConnectorConfigBuilder_; + com.google.container.v1.ConfigConnectorConfig, + com.google.container.v1.ConfigConnectorConfig.Builder, + com.google.container.v1.ConfigConnectorConfigOrBuilder> + configConnectorConfigBuilder_; /** + * + * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; + * * @return Whether the configConnectorConfig field is set. */ public boolean hasConfigConnectorConfig() { return configConnectorConfigBuilder_ != null || configConnectorConfig_ != null; } /** + * + * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; + * * @return The configConnectorConfig. */ public com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig() { if (configConnectorConfigBuilder_ == null) { - return configConnectorConfig_ == null ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; + return configConnectorConfig_ == null + ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() + : configConnectorConfig_; } else { return configConnectorConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2210,6 +2566,8 @@ public Builder setConfigConnectorConfig(com.google.container.v1.ConfigConnectorC
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2229,6 +2587,8 @@ public Builder setConfigConnectorConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2240,7 +2600,9 @@ public Builder mergeConfigConnectorConfig(com.google.container.v1.ConfigConnecto
       if (configConnectorConfigBuilder_ == null) {
         if (configConnectorConfig_ != null) {
           configConnectorConfig_ =
-            com.google.container.v1.ConfigConnectorConfig.newBuilder(configConnectorConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ConfigConnectorConfig.newBuilder(configConnectorConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           configConnectorConfig_ = value;
         }
@@ -2252,6 +2614,8 @@ public Builder mergeConfigConnectorConfig(com.google.container.v1.ConfigConnecto
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2271,6 +2635,8 @@ public Builder clearConfigConnectorConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2279,11 +2645,13 @@ public Builder clearConfigConnectorConfig() {
      * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
      */
     public com.google.container.v1.ConfigConnectorConfig.Builder getConfigConnectorConfigBuilder() {
-      
+
       onChanged();
       return getConfigConnectorConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2291,15 +2659,19 @@ public com.google.container.v1.ConfigConnectorConfig.Builder getConfigConnectorC
      *
      * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public com.google.container.v1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
+    public com.google.container.v1.ConfigConnectorConfigOrBuilder
+        getConfigConnectorConfigOrBuilder() {
       if (configConnectorConfigBuilder_ != null) {
         return configConnectorConfigBuilder_.getMessageOrBuilder();
       } else {
-        return configConnectorConfig_ == null ?
-            com.google.container.v1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_;
+        return configConnectorConfig_ == null
+            ? com.google.container.v1.ConfigConnectorConfig.getDefaultInstance()
+            : configConnectorConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2308,56 +2680,82 @@ public com.google.container.v1.ConfigConnectorConfigOrBuilder getConfigConnector
      * .google.container.v1.ConfigConnectorConfig config_connector_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ConfigConnectorConfig, com.google.container.v1.ConfigConnectorConfig.Builder, com.google.container.v1.ConfigConnectorConfigOrBuilder> 
+            com.google.container.v1.ConfigConnectorConfig,
+            com.google.container.v1.ConfigConnectorConfig.Builder,
+            com.google.container.v1.ConfigConnectorConfigOrBuilder>
         getConfigConnectorConfigFieldBuilder() {
       if (configConnectorConfigBuilder_ == null) {
-        configConnectorConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfigConnectorConfig, com.google.container.v1.ConfigConnectorConfig.Builder, com.google.container.v1.ConfigConnectorConfigOrBuilder>(
-                getConfigConnectorConfig(),
-                getParentForChildren(),
-                isClean());
+        configConnectorConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ConfigConnectorConfig,
+                com.google.container.v1.ConfigConnectorConfig.Builder,
+                com.google.container.v1.ConfigConnectorConfigOrBuilder>(
+                getConfigConnectorConfig(), getParentForChildren(), isClean());
         configConnectorConfig_ = null;
       }
       return configConnectorConfigBuilder_;
     }
 
-    private com.google.container.v1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
+    private com.google.container.v1.GcePersistentDiskCsiDriverConfig
+        gcePersistentDiskCsiDriverConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.GcePersistentDiskCsiDriverConfig, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder> gcePersistentDiskCsiDriverConfigBuilder_;
+            com.google.container.v1.GcePersistentDiskCsiDriverConfig,
+            com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder,
+            com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder>
+        gcePersistentDiskCsiDriverConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ public boolean hasGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfigBuilder_ != null || gcePersistentDiskCsiDriverConfig_ != null; + return gcePersistentDiskCsiDriverConfigBuilder_ != null + || gcePersistentDiskCsiDriverConfig_ != null; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return The gcePersistentDiskCsiDriverConfig. */ - public com.google.container.v1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { + public com.google.container.v1.GcePersistentDiskCsiDriverConfig + getGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null + ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() + : gcePersistentDiskCsiDriverConfig_; } else { return gcePersistentDiskCsiDriverConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public Builder setGcePersistentDiskCsiDriverConfig(com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { + public Builder setGcePersistentDiskCsiDriverConfig( + com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2371,11 +2769,15 @@ public Builder setGcePersistentDiskCsiDriverConfig(com.google.container.v1.GcePe return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ public Builder setGcePersistentDiskCsiDriverConfig( com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder builderForValue) { @@ -2389,17 +2791,25 @@ public Builder setGcePersistentDiskCsiDriverConfig( return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public Builder mergeGcePersistentDiskCsiDriverConfig(com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { + public Builder mergeGcePersistentDiskCsiDriverConfig( + com.google.container.v1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (gcePersistentDiskCsiDriverConfig_ != null) { gcePersistentDiskCsiDriverConfig_ = - com.google.container.v1.GcePersistentDiskCsiDriverConfig.newBuilder(gcePersistentDiskCsiDriverConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GcePersistentDiskCsiDriverConfig.newBuilder( + gcePersistentDiskCsiDriverConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcePersistentDiskCsiDriverConfig_ = value; } @@ -2411,11 +2821,15 @@ public Builder mergeGcePersistentDiskCsiDriverConfig(com.google.container.v1.Gce return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ public Builder clearGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { @@ -2429,48 +2843,66 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder getGcePersistentDiskCsiDriverConfigBuilder() { - + public com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder + getGcePersistentDiskCsiDriverConfigBuilder() { + onChanged(); return getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder + getGcePersistentDiskCsiDriverConfigOrBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ != null) { return gcePersistentDiskCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcePersistentDiskCsiDriverConfig_ == null ? - com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null + ? com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() + : gcePersistentDiskCsiDriverConfig_; } } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcePersistentDiskCsiDriverConfig, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder> + com.google.container.v1.GcePersistentDiskCsiDriverConfig, + com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, + com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder> getGcePersistentDiskCsiDriverConfigFieldBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - gcePersistentDiskCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcePersistentDiskCsiDriverConfig, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder>( - getGcePersistentDiskCsiDriverConfig(), - getParentForChildren(), - isClean()); + gcePersistentDiskCsiDriverConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcePersistentDiskCsiDriverConfig, + com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder, + com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder>( + getGcePersistentDiskCsiDriverConfig(), getParentForChildren(), isClean()); gcePersistentDiskCsiDriverConfig_ = null; } return gcePersistentDiskCsiDriverConfigBuilder_; @@ -2478,41 +2910,58 @@ public com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder getGceP private com.google.container.v1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcpFilestoreCsiDriverConfig, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> gcpFilestoreCsiDriverConfigBuilder_; + com.google.container.v1.GcpFilestoreCsiDriverConfig, + com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, + com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> + gcpFilestoreCsiDriverConfigBuilder_; /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfigBuilder_ != null || gcpFilestoreCsiDriverConfig_ != null; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return The gcpFilestoreCsiDriverConfig. */ public com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null + ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() + : gcpFilestoreCsiDriverConfig_; } else { return gcpFilestoreCsiDriverConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public Builder setGcpFilestoreCsiDriverConfig(com.google.container.v1.GcpFilestoreCsiDriverConfig value) { + public Builder setGcpFilestoreCsiDriverConfig( + com.google.container.v1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2526,11 +2975,14 @@ public Builder setGcpFilestoreCsiDriverConfig(com.google.container.v1.GcpFilesto return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ public Builder setGcpFilestoreCsiDriverConfig( com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder builderForValue) { @@ -2544,17 +2996,24 @@ public Builder setGcpFilestoreCsiDriverConfig( return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public Builder mergeGcpFilestoreCsiDriverConfig(com.google.container.v1.GcpFilestoreCsiDriverConfig value) { + public Builder mergeGcpFilestoreCsiDriverConfig( + com.google.container.v1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (gcpFilestoreCsiDriverConfig_ != null) { gcpFilestoreCsiDriverConfig_ = - com.google.container.v1.GcpFilestoreCsiDriverConfig.newBuilder(gcpFilestoreCsiDriverConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GcpFilestoreCsiDriverConfig.newBuilder( + gcpFilestoreCsiDriverConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcpFilestoreCsiDriverConfig_ = value; } @@ -2566,11 +3025,14 @@ public Builder mergeGcpFilestoreCsiDriverConfig(com.google.container.v1.GcpFiles return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ public Builder clearGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { @@ -2584,48 +3046,63 @@ public Builder clearGcpFilestoreCsiDriverConfig() { return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder getGcpFilestoreCsiDriverConfigBuilder() { - + public com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder + getGcpFilestoreCsiDriverConfigBuilder() { + onChanged(); return getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder + getGcpFilestoreCsiDriverConfigOrBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ != null) { return gcpFilestoreCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcpFilestoreCsiDriverConfig_ == null ? - com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null + ? com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance() + : gcpFilestoreCsiDriverConfig_; } } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcpFilestoreCsiDriverConfig, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> + com.google.container.v1.GcpFilestoreCsiDriverConfig, + com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, + com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder> getGcpFilestoreCsiDriverConfigFieldBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - gcpFilestoreCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcpFilestoreCsiDriverConfig, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder>( - getGcpFilestoreCsiDriverConfig(), - getParentForChildren(), - isClean()); + gcpFilestoreCsiDriverConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcpFilestoreCsiDriverConfig, + com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder, + com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder>( + getGcpFilestoreCsiDriverConfig(), getParentForChildren(), isClean()); gcpFilestoreCsiDriverConfig_ = null; } return gcpFilestoreCsiDriverConfigBuilder_; @@ -2633,34 +3110,47 @@ public com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilest private com.google.container.v1.GkeBackupAgentConfig gkeBackupAgentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GkeBackupAgentConfig, com.google.container.v1.GkeBackupAgentConfig.Builder, com.google.container.v1.GkeBackupAgentConfigOrBuilder> gkeBackupAgentConfigBuilder_; + com.google.container.v1.GkeBackupAgentConfig, + com.google.container.v1.GkeBackupAgentConfig.Builder, + com.google.container.v1.GkeBackupAgentConfigOrBuilder> + gkeBackupAgentConfigBuilder_; /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return Whether the gkeBackupAgentConfig field is set. */ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfigBuilder_ != null || gkeBackupAgentConfig_ != null; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return The gkeBackupAgentConfig. */ public com.google.container.v1.GkeBackupAgentConfig getGkeBackupAgentConfig() { if (gkeBackupAgentConfigBuilder_ == null) { - return gkeBackupAgentConfig_ == null ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null + ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() + : gkeBackupAgentConfig_; } else { return gkeBackupAgentConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -2681,6 +3171,8 @@ public Builder setGkeBackupAgentConfig(com.google.container.v1.GkeBackupAgentCon return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -2699,6 +3191,8 @@ public Builder setGkeBackupAgentConfig( return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -2709,7 +3203,9 @@ public Builder mergeGkeBackupAgentConfig(com.google.container.v1.GkeBackupAgentC if (gkeBackupAgentConfigBuilder_ == null) { if (gkeBackupAgentConfig_ != null) { gkeBackupAgentConfig_ = - com.google.container.v1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_) + .mergeFrom(value) + .buildPartial(); } else { gkeBackupAgentConfig_ = value; } @@ -2721,6 +3217,8 @@ public Builder mergeGkeBackupAgentConfig(com.google.container.v1.GkeBackupAgentC return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -2739,6 +3237,8 @@ public Builder clearGkeBackupAgentConfig() { return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -2746,26 +3246,32 @@ public Builder clearGkeBackupAgentConfig() { * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ public com.google.container.v1.GkeBackupAgentConfig.Builder getGkeBackupAgentConfigBuilder() { - + onChanged(); return getGkeBackupAgentConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public com.google.container.v1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder() { + public com.google.container.v1.GkeBackupAgentConfigOrBuilder + getGkeBackupAgentConfigOrBuilder() { if (gkeBackupAgentConfigBuilder_ != null) { return gkeBackupAgentConfigBuilder_.getMessageOrBuilder(); } else { - return gkeBackupAgentConfig_ == null ? - com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null + ? com.google.container.v1.GkeBackupAgentConfig.getDefaultInstance() + : gkeBackupAgentConfig_; } } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -2773,21 +3279,24 @@ public com.google.container.v1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentCo * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GkeBackupAgentConfig, com.google.container.v1.GkeBackupAgentConfig.Builder, com.google.container.v1.GkeBackupAgentConfigOrBuilder> + com.google.container.v1.GkeBackupAgentConfig, + com.google.container.v1.GkeBackupAgentConfig.Builder, + com.google.container.v1.GkeBackupAgentConfigOrBuilder> getGkeBackupAgentConfigFieldBuilder() { if (gkeBackupAgentConfigBuilder_ == null) { - gkeBackupAgentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GkeBackupAgentConfig, com.google.container.v1.GkeBackupAgentConfig.Builder, com.google.container.v1.GkeBackupAgentConfigOrBuilder>( - getGkeBackupAgentConfig(), - getParentForChildren(), - isClean()); + gkeBackupAgentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GkeBackupAgentConfig, + com.google.container.v1.GkeBackupAgentConfig.Builder, + com.google.container.v1.GkeBackupAgentConfigOrBuilder>( + getGkeBackupAgentConfig(), getParentForChildren(), isClean()); gkeBackupAgentConfig_ = null; } return gkeBackupAgentConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2797,12 +3306,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.AddonsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.AddonsConfig) private static final com.google.container.v1.AddonsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.AddonsConfig(); } @@ -2811,27 +3320,27 @@ public static com.google.container.v1.AddonsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddonsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddonsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2846,6 +3355,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AddonsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 82% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java index 2f2ca799d5d1..29ddb68f394a 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AddonsConfigOrBuilder extends +public interface AddonsConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.AddonsConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; + * * @return Whether the httpLoadBalancing field is set. */ boolean hasHttpLoadBalancing(); /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; + * * @return The httpLoadBalancing. */ com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing(); /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -38,6 +62,8 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -45,10 +71,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return Whether the horizontalPodAutoscaling field is set. */ boolean hasHorizontalPodAutoscaling(); /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -56,10 +85,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return The horizontalPodAutoscaling. */ com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscaling(); /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -71,6 +103,8 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -79,13 +113,18 @@ public interface AddonsConfigOrBuilder extends
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1/cluster_service.proto;l=1046 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated boolean hasKubernetesDashboard(); + @java.lang.Deprecated + boolean hasKubernetesDashboard(); /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -94,13 +133,18 @@ public interface AddonsConfigOrBuilder extends
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1/cluster_service.proto;l=1046 + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1/cluster_service.proto;l=1046 * @return The kubernetesDashboard. */ - @java.lang.Deprecated com.google.container.v1.KubernetesDashboard getKubernetesDashboard(); + @java.lang.Deprecated + com.google.container.v1.KubernetesDashboard getKubernetesDashboard(); /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -109,11 +153,15 @@ public interface AddonsConfigOrBuilder extends
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); + @java.lang.Deprecated + com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -121,10 +169,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; + * * @return Whether the networkPolicyConfig field is set. */ boolean hasNetworkPolicyConfig(); /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -132,10 +183,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; + * * @return The networkPolicyConfig. */ com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig(); /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -147,26 +201,34 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; + * * @return Whether the cloudRunConfig field is set. */ boolean hasCloudRunConfig(); /** + * + * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
    * 
* * .google.container.v1.CloudRunConfig cloud_run_config = 7; + * * @return The cloudRunConfig. */ com.google.container.v1.CloudRunConfig getCloudRunConfig(); /** + * + * *
    * Configuration for the Cloud Run addon, which allows the user to use a
    * managed Knative service.
@@ -177,24 +239,32 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; + * * @return Whether the dnsCacheConfig field is set. */ boolean hasDnsCacheConfig(); /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1.DnsCacheConfig dns_cache_config = 8; + * * @return The dnsCacheConfig. */ com.google.container.v1.DnsCacheConfig getDnsCacheConfig(); /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -204,26 +274,34 @@ public interface AddonsConfigOrBuilder extends com.google.container.v1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder(); /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; + * * @return Whether the configConnectorConfig field is set. */ boolean hasConfigConnectorConfig(); /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1.ConfigConnectorConfig config_connector_config = 10; + * * @return The configConnectorConfig. */ com.google.container.v1.ConfigConnectorConfig getConfigConnectorConfig(); /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -234,78 +312,113 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ boolean hasGcePersistentDiskCsiDriverConfig(); /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return The gcePersistentDiskCsiDriverConfig. */ com.google.container.v1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig(); /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder(); + com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder + getGcePersistentDiskCsiDriverConfigOrBuilder(); /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ boolean hasGcpFilestoreCsiDriverConfig(); /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return The gcpFilestoreCsiDriverConfig. */ com.google.container.v1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig(); /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * .google.container.v1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder(); + com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder + getGcpFilestoreCsiDriverConfigOrBuilder(); /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return Whether the gkeBackupAgentConfig field is set. */ boolean hasGkeBackupAgentConfig(); /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return The gkeBackupAgentConfig. */ com.google.container.v1.GkeBackupAgentConfig getGkeBackupAgentConfig(); /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java index 3f6c14206f07..56c11e6f6c81 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeatures.java @@ -1,56 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Specifies options for controlling advanced machine features.
  * 
* * Protobuf type {@code google.container.v1.AdvancedMachineFeatures} */ -public final class AdvancedMachineFeatures extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdvancedMachineFeatures extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.AdvancedMachineFeatures) AdvancedMachineFeaturesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdvancedMachineFeatures.newBuilder() to construct. private AdvancedMachineFeatures(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AdvancedMachineFeatures() { - } + + private AdvancedMachineFeatures() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdvancedMachineFeatures(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AdvancedMachineFeatures.class, com.google.container.v1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1.AdvancedMachineFeatures.class, + com.google.container.v1.AdvancedMachineFeatures.Builder.class); } private int bitField0_; public static final int THREADS_PER_CORE_FIELD_NUMBER = 1; private long threadsPerCore_; /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * optional int64 threads_per_core = 1; + * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -72,6 +95,7 @@ public boolean hasThreadsPerCore() {
    * 
* * optional int64 threads_per_core = 1; + * * @return The threadsPerCore. */ @java.lang.Override @@ -80,6 +104,7 @@ public long getThreadsPerCore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -91,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, threadsPerCore_); } @@ -106,8 +130,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, threadsPerCore_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, threadsPerCore_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,17 +140,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AdvancedMachineFeatures)) { return super.equals(obj); } - com.google.container.v1.AdvancedMachineFeatures other = (com.google.container.v1.AdvancedMachineFeatures) obj; + com.google.container.v1.AdvancedMachineFeatures other = + (com.google.container.v1.AdvancedMachineFeatures) obj; if (hasThreadsPerCore() != other.hasThreadsPerCore()) return false; if (hasThreadsPerCore()) { - if (getThreadsPerCore() - != other.getThreadsPerCore()) return false; + if (getThreadsPerCore() != other.getThreadsPerCore()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -142,138 +165,143 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasThreadsPerCore()) { hash = (37 * hash) + THREADS_PER_CORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getThreadsPerCore()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getThreadsPerCore()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.AdvancedMachineFeatures parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AdvancedMachineFeatures parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AdvancedMachineFeatures parseFrom( 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.AdvancedMachineFeatures parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.AdvancedMachineFeatures parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.AdvancedMachineFeatures parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.AdvancedMachineFeatures parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.AdvancedMachineFeatures parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.AdvancedMachineFeatures parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AdvancedMachineFeatures parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.AdvancedMachineFeatures prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifies options for controlling advanced machine features.
    * 
* * Protobuf type {@code google.container.v1.AdvancedMachineFeatures} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.AdvancedMachineFeatures) com.google.container.v1.AdvancedMachineFeaturesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AdvancedMachineFeatures.class, com.google.container.v1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1.AdvancedMachineFeatures.class, + com.google.container.v1.AdvancedMachineFeatures.Builder.class); } // Construct using com.google.container.v1.AdvancedMachineFeatures.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -283,9 +311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; } @java.lang.Override @@ -304,7 +332,8 @@ public com.google.container.v1.AdvancedMachineFeatures build() { @java.lang.Override public com.google.container.v1.AdvancedMachineFeatures buildPartial() { - com.google.container.v1.AdvancedMachineFeatures result = new com.google.container.v1.AdvancedMachineFeatures(this); + com.google.container.v1.AdvancedMachineFeatures result = + new com.google.container.v1.AdvancedMachineFeatures(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -320,38 +349,39 @@ public com.google.container.v1.AdvancedMachineFeatures buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.AdvancedMachineFeatures) { - return mergeFrom((com.google.container.v1.AdvancedMachineFeatures)other); + return mergeFrom((com.google.container.v1.AdvancedMachineFeatures) other); } else { super.mergeFrom(other); return this; @@ -359,7 +389,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.AdvancedMachineFeatures other) { - if (other == com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance()) return this; + if (other == com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance()) + return this; if (other.hasThreadsPerCore()) { setThreadsPerCore(other.getThreadsPerCore()); } @@ -389,17 +420,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - threadsPerCore_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + threadsPerCore_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -409,10 +442,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long threadsPerCore_ ; + private long threadsPerCore_; /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -420,6 +456,7 @@ public Builder mergeFrom(
      * 
* * optional int64 threads_per_core = 1; + * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -427,6 +464,8 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -434,6 +473,7 @@ public boolean hasThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; + * * @return The threadsPerCore. */ @java.lang.Override @@ -441,6 +481,8 @@ public long getThreadsPerCore() { return threadsPerCore_; } /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -448,6 +490,7 @@ public long getThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; + * * @param value The threadsPerCore to set. * @return This builder for chaining. */ @@ -458,6 +501,8 @@ public Builder setThreadsPerCore(long value) { return this; } /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -465,6 +510,7 @@ public Builder setThreadsPerCore(long value) {
      * 
* * optional int64 threads_per_core = 1; + * * @return This builder for chaining. */ public Builder clearThreadsPerCore() { @@ -473,9 +519,9 @@ public Builder clearThreadsPerCore() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.AdvancedMachineFeatures) } // @@protoc_insertion_point(class_scope:google.container.v1.AdvancedMachineFeatures) private static final com.google.container.v1.AdvancedMachineFeatures DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.AdvancedMachineFeatures(); } @@ -499,27 +545,27 @@ public static com.google.container.v1.AdvancedMachineFeatures getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvancedMachineFeatures parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvancedMachineFeatures parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -534,6 +580,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AdvancedMachineFeatures getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java index ed62ca6d7e8d..afd7ee39003d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AdvancedMachineFeaturesOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AdvancedMachineFeaturesOrBuilder extends +public interface AdvancedMachineFeaturesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.AdvancedMachineFeatures) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -15,10 +33,13 @@ public interface AdvancedMachineFeaturesOrBuilder extends
    * 
* * optional int64 threads_per_core = 1; + * * @return Whether the threadsPerCore field is set. */ boolean hasThreadsPerCore(); /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -26,6 +47,7 @@ public interface AdvancedMachineFeaturesOrBuilder extends
    * 
* * optional int64 threads_per_core = 1; + * * @return The threadsPerCore. */ long getThreadsPerCore(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java index 3dee169bac35..09860cbd78fa 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java @@ -1,62 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for returning group information from authenticators.
  * 
* * Protobuf type {@code google.container.v1.AuthenticatorGroupsConfig} */ -public final class AuthenticatorGroupsConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuthenticatorGroupsConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.AuthenticatorGroupsConfig) AuthenticatorGroupsConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuthenticatorGroupsConfig.newBuilder() to construct. private AuthenticatorGroupsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuthenticatorGroupsConfig() { securityGroup_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthenticatorGroupsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AuthenticatorGroupsConfig.class, com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1.AuthenticatorGroupsConfig.class, + com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -67,12 +89,15 @@ public boolean getEnabled() { public static final int SECURITY_GROUP_FIELD_NUMBER = 2; private volatile java.lang.Object securityGroup_; /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The securityGroup. */ @java.lang.Override @@ -81,30 +106,30 @@ public java.lang.String getSecurityGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; } } /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The bytes for securityGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecurityGroupBytes() { + public com.google.protobuf.ByteString getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -113,6 +138,7 @@ public java.lang.String getSecurityGroup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -142,8 +167,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, securityGroup_); @@ -156,17 +180,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AuthenticatorGroupsConfig)) { return super.equals(obj); } - com.google.container.v1.AuthenticatorGroupsConfig other = (com.google.container.v1.AuthenticatorGroupsConfig) obj; + com.google.container.v1.AuthenticatorGroupsConfig other = + (com.google.container.v1.AuthenticatorGroupsConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (!getSecurityGroup() - .equals(other.getSecurityGroup())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getSecurityGroup().equals(other.getSecurityGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -179,8 +202,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + SECURITY_GROUP_FIELD_NUMBER; hash = (53 * hash) + getSecurityGroup().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -189,129 +211,135 @@ public int hashCode() { } public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( 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.AuthenticatorGroupsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.AuthenticatorGroupsConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.AuthenticatorGroupsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.AuthenticatorGroupsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.AuthenticatorGroupsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for returning group information from authenticators.
    * 
* * Protobuf type {@code google.container.v1.AuthenticatorGroupsConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.AuthenticatorGroupsConfig) com.google.container.v1.AuthenticatorGroupsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.AuthenticatorGroupsConfig.class, com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1.AuthenticatorGroupsConfig.class, + com.google.container.v1.AuthenticatorGroupsConfig.Builder.class); } // Construct using com.google.container.v1.AuthenticatorGroupsConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override @@ -344,7 +372,8 @@ public com.google.container.v1.AuthenticatorGroupsConfig build() { @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfig buildPartial() { - com.google.container.v1.AuthenticatorGroupsConfig result = new com.google.container.v1.AuthenticatorGroupsConfig(this); + com.google.container.v1.AuthenticatorGroupsConfig result = + new com.google.container.v1.AuthenticatorGroupsConfig(this); result.enabled_ = enabled_; result.securityGroup_ = securityGroup_; onBuilt(); @@ -355,38 +384,39 @@ public com.google.container.v1.AuthenticatorGroupsConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.AuthenticatorGroupsConfig) { - return mergeFrom((com.google.container.v1.AuthenticatorGroupsConfig)other); + return mergeFrom((com.google.container.v1.AuthenticatorGroupsConfig) other); } else { super.mergeFrom(other); return this; @@ -394,7 +424,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.AuthenticatorGroupsConfig other) { - if (other == com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -428,22 +459,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: { - securityGroup_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: + { + securityGroup_ = input.readStringRequireUtf8(); + + 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) { @@ -454,14 +488,17 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -469,32 +506,38 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -502,19 +545,21 @@ public Builder clearEnabled() { private java.lang.Object securityGroup_ = ""; /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @return The securityGroup. */ public java.lang.String getSecurityGroup() { java.lang.Object ref = securityGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; @@ -523,21 +568,22 @@ public java.lang.String getSecurityGroup() { } } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @return The bytes for securityGroup. */ - public com.google.protobuf.ByteString - getSecurityGroupBytes() { + public com.google.protobuf.ByteString getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -545,64 +591,71 @@ public java.lang.String getSecurityGroup() { } } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @param value The securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroup( - java.lang.String value) { + public Builder setSecurityGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + securityGroup_ = value; onChanged(); return this; } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @return This builder for chaining. */ public Builder clearSecurityGroup() { - + securityGroup_ = getDefaultInstance().getSecurityGroup(); onChanged(); return this; } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @param value The bytes for securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setSecurityGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + securityGroup_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.AuthenticatorGroupsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.AuthenticatorGroupsConfig) private static final com.google.container.v1.AuthenticatorGroupsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.AuthenticatorGroupsConfig(); } @@ -626,27 +679,27 @@ public static com.google.container.v1.AuthenticatorGroupsConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthenticatorGroupsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthenticatorGroupsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,6 +714,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.AuthenticatorGroupsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java index 5787609630bb..2335da047486 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java @@ -1,42 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AuthenticatorGroupsConfigOrBuilder extends +public interface AuthenticatorGroupsConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.AuthenticatorGroupsConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The securityGroup. */ java.lang.String getSecurityGroup(); /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The bytes for securityGroup. */ - com.google.protobuf.ByteString - getSecurityGroupBytes(); + com.google.protobuf.ByteString getSecurityGroupBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java index 8489548245c1..a5356f5e628d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * AutoUpgradeOptions defines the set of options for the user to control how
  * the Auto Upgrades will proceed.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.AutoUpgradeOptions}
  */
-public final class AutoUpgradeOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutoUpgradeOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.AutoUpgradeOptions)
     AutoUpgradeOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutoUpgradeOptions.newBuilder() to construct.
   private AutoUpgradeOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutoUpgradeOptions() {
     autoUpgradeStartTime_ = "";
     description_ = "";
@@ -27,32 +45,35 @@ private AutoUpgradeOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutoUpgradeOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.AutoUpgradeOptions.class, com.google.container.v1.AutoUpgradeOptions.Builder.class);
+            com.google.container.v1.AutoUpgradeOptions.class,
+            com.google.container.v1.AutoUpgradeOptions.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_START_TIME_FIELD_NUMBER = 1;
   private volatile java.lang.Object autoUpgradeStartTime_;
   /**
+   *
+   *
    * 
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string auto_upgrade_start_time = 1; + * * @return The autoUpgradeStartTime. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getAutoUpgradeStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; } } /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -83,16 +106,15 @@ public java.lang.String getAutoUpgradeStartTime() {
    * 
* * string auto_upgrade_start_time = 1; + * * @return The bytes for autoUpgradeStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -103,12 +125,15 @@ public java.lang.String getAutoUpgradeStartTime() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -117,30 +142,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -149,6 +174,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(autoUpgradeStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, autoUpgradeStartTime_); } @@ -191,17 +216,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AutoUpgradeOptions)) { return super.equals(obj); } - com.google.container.v1.AutoUpgradeOptions other = (com.google.container.v1.AutoUpgradeOptions) obj; + com.google.container.v1.AutoUpgradeOptions other = + (com.google.container.v1.AutoUpgradeOptions) obj; - if (!getAutoUpgradeStartTime() - .equals(other.getAutoUpgradeStartTime())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getAutoUpgradeStartTime().equals(other.getAutoUpgradeStartTime())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,97 +246,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.AutoUpgradeOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.AutoUpgradeOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AutoUpgradeOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoUpgradeOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AutoUpgradeOptions parseFrom( 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.AutoUpgradeOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AutoUpgradeOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.AutoUpgradeOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AutoUpgradeOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.AutoUpgradeOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.AutoUpgradeOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.AutoUpgradeOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.AutoUpgradeOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AutoUpgradeOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.AutoUpgradeOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AutoUpgradeOptions defines the set of options for the user to control how
    * the Auto Upgrades will proceed.
@@ -320,33 +351,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.AutoUpgradeOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.AutoUpgradeOptions)
       com.google.container.v1.AutoUpgradeOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.AutoUpgradeOptions.class, com.google.container.v1.AutoUpgradeOptions.Builder.class);
+              com.google.container.v1.AutoUpgradeOptions.class,
+              com.google.container.v1.AutoUpgradeOptions.Builder.class);
     }
 
     // Construct using com.google.container.v1.AutoUpgradeOptions.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -358,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
@@ -379,7 +409,8 @@ public com.google.container.v1.AutoUpgradeOptions build() {
 
     @java.lang.Override
     public com.google.container.v1.AutoUpgradeOptions buildPartial() {
-      com.google.container.v1.AutoUpgradeOptions result = new com.google.container.v1.AutoUpgradeOptions(this);
+      com.google.container.v1.AutoUpgradeOptions result =
+          new com.google.container.v1.AutoUpgradeOptions(this);
       result.autoUpgradeStartTime_ = autoUpgradeStartTime_;
       result.description_ = description_;
       onBuilt();
@@ -390,38 +421,39 @@ public com.google.container.v1.AutoUpgradeOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.AutoUpgradeOptions) {
-        return mergeFrom((com.google.container.v1.AutoUpgradeOptions)other);
+        return mergeFrom((com.google.container.v1.AutoUpgradeOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -464,22 +496,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              autoUpgradeStartTime_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                autoUpgradeStartTime_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -492,6 +527,8 @@ public Builder mergeFrom(
 
     private java.lang.Object autoUpgradeStartTime_ = "";
     /**
+     *
+     *
      * 
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -499,13 +536,13 @@ public Builder mergeFrom(
      * 
* * string auto_upgrade_start_time = 1; + * * @return The autoUpgradeStartTime. */ public java.lang.String getAutoUpgradeStartTime() { java.lang.Object ref = autoUpgradeStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; @@ -514,6 +551,8 @@ public java.lang.String getAutoUpgradeStartTime() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -521,15 +560,14 @@ public java.lang.String getAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; + * * @return The bytes for autoUpgradeStartTime. */ - public com.google.protobuf.ByteString - getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -537,6 +575,8 @@ public java.lang.String getAutoUpgradeStartTime() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -544,20 +584,22 @@ public java.lang.String getAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; + * * @param value The autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTime( - java.lang.String value) { + public Builder setAutoUpgradeStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + autoUpgradeStartTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -565,15 +607,18 @@ public Builder setAutoUpgradeStartTime(
      * 
* * string auto_upgrade_start_time = 1; + * * @return This builder for chaining. */ public Builder clearAutoUpgradeStartTime() { - + autoUpgradeStartTime_ = getDefaultInstance().getAutoUpgradeStartTime(); onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -581,16 +626,16 @@ public Builder clearAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; + * * @param value The bytes for autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setAutoUpgradeStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + autoUpgradeStartTime_ = value; onChanged(); return this; @@ -598,19 +643,21 @@ public Builder setAutoUpgradeStartTimeBytes( private java.lang.Object description_ = ""; /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -619,21 +666,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -641,64 +689,71 @@ public java.lang.String getDescription() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.AutoUpgradeOptions) } // @@protoc_insertion_point(class_scope:google.container.v1.AutoUpgradeOptions) private static final com.google.container.v1.AutoUpgradeOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.AutoUpgradeOptions(); } @@ -722,27 +777,27 @@ public static com.google.container.v1.AutoUpgradeOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoUpgradeOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoUpgradeOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +812,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.AutoUpgradeOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java index 1b40fa18779b..28a3e058c08d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface AutoUpgradeOptionsOrBuilder extends +public interface AutoUpgradeOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.AutoUpgradeOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -15,10 +33,13 @@ public interface AutoUpgradeOptionsOrBuilder extends
    * 
* * string auto_upgrade_start_time = 1; + * * @return The autoUpgradeStartTime. */ java.lang.String getAutoUpgradeStartTime(); /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -26,30 +47,35 @@ public interface AutoUpgradeOptionsOrBuilder extends
    * 
* * string auto_upgrade_start_time = 1; + * * @return The bytes for autoUpgradeStartTime. */ - com.google.protobuf.ByteString - getAutoUpgradeStartTimeBytes(); + com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes(); /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java index 66801a6a70a6..c82710001b6d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Autopilot.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Autopilot is the configuration for Autopilot settings on the cluster.
  * 
* * Protobuf type {@code google.container.v1.Autopilot} */ -public final class Autopilot extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Autopilot extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.Autopilot) AutopilotOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Autopilot.newBuilder() to construct. private Autopilot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Autopilot() { - } + + private Autopilot() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Autopilot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.Autopilot.class, com.google.container.v1.Autopilot.Builder.class); + com.google.container.v1.Autopilot.class, + com.google.container.v1.Autopilot.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Enable Autopilot
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.Autopilot)) { return super.equals(obj); } com.google.container.v1.Autopilot other = (com.google.container.v1.Autopilot) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,141 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.Autopilot parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.Autopilot parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Autopilot parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Autopilot parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.Autopilot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Autopilot parseFrom( 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.Autopilot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Autopilot parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.Autopilot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.Autopilot parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.Autopilot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.Autopilot parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.Autopilot parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.Autopilot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.Autopilot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Autopilot is the configuration for Autopilot settings on the cluster.
    * 
* * Protobuf type {@code google.container.v1.Autopilot} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.Autopilot) com.google.container.v1.AutopilotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.Autopilot.class, com.google.container.v1.Autopilot.Builder.class); + com.google.container.v1.Autopilot.class, + com.google.container.v1.Autopilot.Builder.class); } // Construct using com.google.container.v1.Autopilot.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Autopilot_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Autopilot_descriptor; } @java.lang.Override @@ -292,38 +315,39 @@ public com.google.container.v1.Autopilot buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.Autopilot) { - return mergeFrom((com.google.container.v1.Autopilot)other); + return mergeFrom((com.google.container.v1.Autopilot) other); } else { super.mergeFrom(other); return this; @@ -361,17 +385,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +408,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Enable Autopilot
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +425,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enable Autopilot
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enable Autopilot
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +471,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.Autopilot) } // @@protoc_insertion_point(class_scope:google.container.v1.Autopilot) private static final com.google.container.v1.Autopilot DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.Autopilot(); } @@ -450,27 +485,27 @@ public static com.google.container.v1.Autopilot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Autopilot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Autopilot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +520,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.Autopilot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java new file mode 100644 index 000000000000..8a90c260da0f --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface AutopilotOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.Autopilot) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable Autopilot
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/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 similarity index 74% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java index 1f880227e2dd..cdf1f52bc24e 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
  * by NAP.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.container.v1.AutoprovisioningNodePoolDefaults}
  */
-public final class AutoprovisioningNodePoolDefaults extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutoprovisioningNodePoolDefaults extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.AutoprovisioningNodePoolDefaults)
     AutoprovisioningNodePoolDefaultsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutoprovisioningNodePoolDefaults.newBuilder() to construct.
-  private AutoprovisioningNodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AutoprovisioningNodePoolDefaults(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutoprovisioningNodePoolDefaults() {
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     serviceAccount_ = "";
@@ -31,60 +50,69 @@ private AutoprovisioningNodePoolDefaults() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutoprovisioningNodePoolDefaults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
+            com.google.container.v1.AutoprovisioningNodePoolDefaults.class,
+            com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
   }
 
   public static final int OAUTH_SCOPES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList oauthScopes_;
   /**
+   *
+   *
    * 
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_; } /** + * + * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -92,27 +120,32 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; + * * @return The serviceAccount. */ @java.lang.Override @@ -121,29 +154,29 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -154,11 +187,14 @@ public java.lang.String getServiceAccount() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 3; private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; /** + * + * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -166,18 +202,25 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** + * + * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } /** + * + * *
    * Specifies the upgrade settings for NAP created node pools
    * 
@@ -192,11 +235,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti public static final int MANAGEMENT_FIELD_NUMBER = 4; private com.google.container.v1.NodeManagement management_; /** + * + * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; + * * @return Whether the management field is set. */ @java.lang.Override @@ -204,18 +250,25 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; + * * @return The management. */ @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { - return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * Specifies the node management options for NAP created node-pools.
    * 
@@ -230,6 +283,8 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 5; private volatile java.lang.Object minCpuPlatform_; /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -246,24 +301,27 @@ 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @return The minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated + public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -280,18 +338,18 @@ 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @return The bytes for minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -302,6 +360,8 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() public static final int DISK_SIZE_GB_FIELD_NUMBER = 6; private int diskSizeGb_; /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -309,6 +369,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
    * 
* * int32 disk_size_gb = 6; + * * @return The diskSizeGb. */ @java.lang.Override @@ -319,6 +380,8 @@ public int getDiskSizeGb() { public static final int DISK_TYPE_FIELD_NUMBER = 7; private volatile java.lang.Object diskType_; /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -326,6 +389,7 @@ public int getDiskSizeGb() {
    * 
* * string disk_type = 7; + * * @return The diskType. */ @java.lang.Override @@ -334,14 +398,15 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -349,16 +414,15 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 7; + * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -369,11 +433,14 @@ public java.lang.String getDiskType() { public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 8; private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_; /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -381,18 +448,25 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } /** + * + * *
    * Shielded Instance options.
    * 
@@ -400,13 +474,16 @@ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig( * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ @java.lang.Override - public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 9; private volatile java.lang.Object bootDiskKmsKey_; /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -417,6 +494,7 @@ public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstan
    * 
* * string boot_disk_kms_key = 9; + * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -425,14 +503,15 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -443,16 +522,15 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 9; + * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -463,11 +541,14 @@ public java.lang.String getBootDiskKmsKey() { public static final int IMAGE_TYPE_FIELD_NUMBER = 10; private volatile java.lang.Object imageType_; /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The imageType. */ @java.lang.Override @@ -476,29 +557,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -507,6 +588,7 @@ public java.lang.String getImageType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -518,8 +600,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oauthScopes_.getRaw(i)); } @@ -571,26 +652,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpgradeSettings()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCpuPlatform_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, minCpuPlatform_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, diskSizeGb_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, diskType_); } if (shieldedInstanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getShieldedInstanceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(8, getShieldedInstanceConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bootDiskKmsKey_); @@ -606,42 +684,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.AutoprovisioningNodePoolDefaults)) { return super.equals(obj); } - com.google.container.v1.AutoprovisioningNodePoolDefaults other = (com.google.container.v1.AutoprovisioningNodePoolDefaults) obj; + com.google.container.v1.AutoprovisioningNodePoolDefaults other = + (com.google.container.v1.AutoprovisioningNodePoolDefaults) obj; - if (!getOauthScopesList() - .equals(other.getOauthScopesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings() - .equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; - } - if (!getMinCpuPlatform() - .equals(other.getMinCpuPlatform())) return false; - if (getDiskSizeGb() - != other.getDiskSizeGb()) return false; - if (!getDiskType() - .equals(other.getDiskType())) return false; + if (!getManagement().equals(other.getManagement())) return false; + } + if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; + if (getDiskSizeGb() != other.getDiskSizeGb()) return false; + if (!getDiskType().equals(other.getDiskType())) return false; if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig() - .equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; } - if (!getBootDiskKmsKey() - .equals(other.getBootDiskKmsKey())) return false; - if (!getImageType() - .equals(other.getImageType())) return false; + if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; + if (!getImageType().equals(other.getImageType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -687,96 +756,104 @@ public int hashCode() { } public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( 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.AutoprovisioningNodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.AutoprovisioningNodePoolDefaults prototype) { + + public static Builder newBuilder( + com.google.container.v1.AutoprovisioningNodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
    * by NAP.
@@ -784,33 +861,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.AutoprovisioningNodePoolDefaults}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.AutoprovisioningNodePoolDefaults)
       com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
+              com.google.container.v1.AutoprovisioningNodePoolDefaults.class,
+              com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder.class);
     }
 
     // Construct using com.google.container.v1.AutoprovisioningNodePoolDefaults.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -850,9 +926,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
@@ -871,7 +947,8 @@ public com.google.container.v1.AutoprovisioningNodePoolDefaults build() {
 
     @java.lang.Override
     public com.google.container.v1.AutoprovisioningNodePoolDefaults buildPartial() {
-      com.google.container.v1.AutoprovisioningNodePoolDefaults result = new com.google.container.v1.AutoprovisioningNodePoolDefaults(this);
+      com.google.container.v1.AutoprovisioningNodePoolDefaults result =
+          new com.google.container.v1.AutoprovisioningNodePoolDefaults(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = oauthScopes_.getUnmodifiableView();
@@ -907,38 +984,39 @@ public com.google.container.v1.AutoprovisioningNodePoolDefaults buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.AutoprovisioningNodePoolDefaults) {
-        return mergeFrom((com.google.container.v1.AutoprovisioningNodePoolDefaults)other);
+        return mergeFrom((com.google.container.v1.AutoprovisioningNodePoolDefaults) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -946,7 +1024,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.AutoprovisioningNodePoolDefaults other) {
-      if (other == com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance())
+        return this;
       if (!other.oauthScopes_.isEmpty()) {
         if (oauthScopes_.isEmpty()) {
           oauthScopes_ = other.oauthScopes_;
@@ -1015,69 +1094,75 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureOauthScopesIsMutable();
-              oauthScopes_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              serviceAccount_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpgradeSettingsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getManagementFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              minCpuPlatform_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 48: {
-              diskSizeGb_ = input.readInt32();
-
-              break;
-            } // case 48
-            case 58: {
-              diskType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 74: {
-              bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 82: {
-              imageType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureOauthScopesIsMutable();
+                oauthScopes_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                minCpuPlatform_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 48:
+              {
+                diskSizeGb_ = input.readInt32();
+
+                break;
+              } // case 48
+            case 58:
+              {
+                diskType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 74:
+              {
+                bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 82:
+              {
+                imageType_ = input.readStringRequireUtf8();
+
+                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) {
@@ -1087,44 +1172,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList oauthScopes_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureOauthScopesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -1132,80 +1228,90 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes( - int index, java.lang.String value) { + public Builder setOauthScopes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes( - java.lang.String value) { + public Builder addOauthScopes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes( - java.lang.Iterable values) { + public Builder addAllOauthScopes(java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); onChanged(); return this; } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -1215,20 +1321,22 @@ public Builder clearOauthScopes() { return this; } /** + * + * *
      * Scopes that are used by NAP when creating node pools.
      * 
* * repeated string oauth_scopes = 1; + * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes( - com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -1237,18 +1345,20 @@ public Builder addOauthScopesBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1257,20 +1367,21 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1278,54 +1389,61 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * 
* * string service_account = 2; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -1333,34 +1451,47 @@ public Builder setServiceAccountBytes( private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + upgradeSettingsBuilder_; /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return The upgradeSettings. */ public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1381,6 +1512,8 @@ public Builder setUpgradeSettings(com.google.container.v1.NodePool.UpgradeSettin return this; } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1399,6 +1532,8 @@ public Builder setUpgradeSettings( return this; } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1409,7 +1544,9 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) + .mergeFrom(value) + .buildPartial(); } else { upgradeSettings_ = value; } @@ -1421,6 +1558,8 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett return this; } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1439,6 +1578,8 @@ public Builder clearUpgradeSettings() { return this; } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1446,11 +1587,13 @@ public Builder clearUpgradeSettings() { * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; */ public com.google.container.v1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1461,11 +1604,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null ? - com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } } /** + * + * *
      * Specifies the upgrade settings for NAP created node pools
      * 
@@ -1473,14 +1619,17 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), - getParentForChildren(), - isClean()); + upgradeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), getParentForChildren(), isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -1488,34 +1637,47 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti private com.google.container.v1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> managementBuilder_; + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder> + managementBuilder_; /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
* * .google.container.v1.NodeManagement management = 4; + * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
* * .google.container.v1.NodeManagement management = 4; + * * @return The management. */ public com.google.container.v1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1536,14 +1698,15 @@ public Builder setManagement(com.google.container.v1.NodeManagement value) { return this; } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
* * .google.container.v1.NodeManagement management = 4; */ - public Builder setManagement( - com.google.container.v1.NodeManagement.Builder builderForValue) { + public Builder setManagement(com.google.container.v1.NodeManagement.Builder builderForValue) { if (managementBuilder_ == null) { management_ = builderForValue.build(); onChanged(); @@ -1554,6 +1717,8 @@ public Builder setManagement( return this; } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1564,7 +1729,9 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeManagement.newBuilder(management_) + .mergeFrom(value) + .buildPartial(); } else { management_ = value; } @@ -1576,6 +1743,8 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { return this; } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1594,6 +1763,8 @@ public Builder clearManagement() { return this; } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1601,11 +1772,13 @@ public Builder clearManagement() { * .google.container.v1.NodeManagement management = 4; */ public com.google.container.v1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1616,11 +1789,14 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * Specifies the node management options for NAP created node-pools.
      * 
@@ -1628,14 +1804,17 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * .google.container.v1.NodeManagement management = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; @@ -1643,6 +1822,8 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() private java.lang.Object minCpuPlatform_ = ""; /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1659,15 +1840,16 @@ 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @return The minCpuPlatform. */ - @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated + public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -1676,6 +1858,8 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() } } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1692,17 +1876,17 @@ 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -1710,6 +1894,8 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() } } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1726,22 +1912,25 @@ 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMinCpuPlatform( - java.lang.String value) { + @java.lang.Deprecated + public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1758,17 +1947,21 @@ 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMinCpuPlatform() { - + @java.lang.Deprecated + public Builder clearMinCpuPlatform() { + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1785,25 +1978,28 @@ 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMinCpuPlatformBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; } - private int diskSizeGb_ ; + private int diskSizeGb_; /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -1811,6 +2007,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
      * 
* * int32 disk_size_gb = 6; + * * @return The diskSizeGb. */ @java.lang.Override @@ -1818,6 +2015,8 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -1825,16 +2024,19 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 6; + * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -1842,10 +2044,11 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 6; + * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; @@ -1853,6 +2056,8 @@ public Builder clearDiskSizeGb() { private java.lang.Object diskType_ = ""; /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -1860,13 +2065,13 @@ public Builder clearDiskSizeGb() {
      * 
* * string disk_type = 7; + * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -1875,6 +2080,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -1882,15 +2089,14 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 7; + * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -1898,6 +2104,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -1905,20 +2113,22 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 7; + * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType( - java.lang.String value) { + public Builder setDiskType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -1926,15 +2136,18 @@ public Builder setDiskType(
      * 
* * string disk_type = 7; + * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -1942,16 +2155,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 7; + * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -1959,34 +2172,47 @@ public Builder setDiskTypeBytes( private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_; + com.google.container.v1.ShieldedInstanceConfig, + com.google.container.v1.ShieldedInstanceConfig.Builder, + com.google.container.v1.ShieldedInstanceConfigOrBuilder> + shieldedInstanceConfigBuilder_; /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return The shieldedInstanceConfig. */ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Shielded Instance options.
      * 
@@ -2007,6 +2233,8 @@ public Builder setShieldedInstanceConfig(com.google.container.v1.ShieldedInstanc return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -2025,17 +2253,22 @@ public Builder setShieldedInstanceConfig( return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public Builder mergeShieldedInstanceConfig(com.google.container.v1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig( + com.google.container.v1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -2047,6 +2280,8 @@ public Builder mergeShieldedInstanceConfig(com.google.container.v1.ShieldedInsta return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -2065,33 +2300,42 @@ public Builder clearShieldedInstanceConfig() { return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { - + public com.google.container.v1.ShieldedInstanceConfig.Builder + getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null ? - com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } } /** + * + * *
      * Shielded Instance options.
      * 
@@ -2099,14 +2343,17 @@ public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstan * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1.ShieldedInstanceConfig, + com.google.container.v1.ShieldedInstanceConfig.Builder, + com.google.container.v1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), - getParentForChildren(), - isClean()); + shieldedInstanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedInstanceConfig, + com.google.container.v1.ShieldedInstanceConfig.Builder, + com.google.container.v1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), getParentForChildren(), isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -2114,6 +2361,8 @@ public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstan private java.lang.Object bootDiskKmsKey_ = ""; /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2124,13 +2373,13 @@ public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstan
      * 
* * string boot_disk_kms_key = 9; + * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -2139,6 +2388,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2149,15 +2400,14 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; + * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -2165,6 +2415,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2175,20 +2427,22 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; + * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey( - java.lang.String value) { + public Builder setBootDiskKmsKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2199,15 +2453,18 @@ public Builder setBootDiskKmsKey(
      * 
* * string boot_disk_kms_key = 9; + * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2218,16 +2475,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; + * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -2235,18 +2492,20 @@ public Builder setBootDiskKmsKeyBytes( private java.lang.Object imageType_ = ""; /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2255,20 +2514,21 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -2276,61 +2536,68 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2340,12 +2607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.AutoprovisioningNodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1.AutoprovisioningNodePoolDefaults) private static final com.google.container.v1.AutoprovisioningNodePoolDefaults DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.AutoprovisioningNodePoolDefaults(); } @@ -2354,27 +2621,27 @@ public static com.google.container.v1.AutoprovisioningNodePoolDefaults getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoprovisioningNodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoprovisioningNodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2389,6 +2656,4 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1.AutoprovisioningNodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 82% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java index b697717b5677..efa0fe6832a0 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,92 +1,131 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface AutoprovisioningNodePoolDefaultsOrBuilder extends +public interface AutoprovisioningNodePoolDefaultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.AutoprovisioningNodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @return A list containing the oauthScopes. */ - java.util.List - getOauthScopesList(); + java.util.List getOauthScopesList(); /** + * + * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** + * + * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** + * + * *
    * Scopes that are used by NAP when creating node pools.
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString - getOauthScopesBytes(int index); + com.google.protobuf.ByteString getOauthScopesBytes(int index); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * 
* * string service_account = 2; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** + * + * *
    * Specifies the upgrade settings for NAP created node pools
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return The upgradeSettings. */ com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings(); /** + * + * *
    * Specifies the upgrade settings for NAP created node pools
    * 
@@ -96,24 +135,32 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** + * + * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * Specifies the node management options for NAP created node-pools.
    * 
* * .google.container.v1.NodeManagement management = 4; + * * @return The management. */ com.google.container.v1.NodeManagement getManagement(); /** + * + * *
    * Specifies the node management options for NAP created node-pools.
    * 
@@ -123,6 +170,8 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder(); /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -139,12 +188,16 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @return The minCpuPlatform. */ - @java.lang.Deprecated java.lang.String getMinCpuPlatform(); + @java.lang.Deprecated + java.lang.String getMinCpuPlatform(); /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -161,14 +214,17 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * 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=3423 + * + * @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1/cluster_service.proto;l=3423 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getMinCpuPlatformBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getMinCpuPlatformBytes(); /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -176,11 +232,14 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * int32 disk_size_gb = 6; + * * @return The diskSizeGb. */ int getDiskSizeGb(); /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -188,10 +247,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string disk_type = 7; + * * @return The diskType. */ java.lang.String getDiskType(); /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -199,30 +261,38 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string disk_type = 7; + * * @return The bytes for diskType. */ - com.google.protobuf.ByteString - getDiskTypeBytes(); + com.google.protobuf.ByteString getDiskTypeBytes(); /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return The shieldedInstanceConfig. */ com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
@@ -232,6 +302,8 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -242,10 +314,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string boot_disk_kms_key = 9; + * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -256,28 +331,33 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string boot_disk_kms_key = 9; + * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString - getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index 2ca23d774e78..9a3129989d74 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration for Binary Authorization.
  * 
* * Protobuf type {@code google.container.v1.BinaryAuthorization} */ -public final class BinaryAuthorization extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BinaryAuthorization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.BinaryAuthorization) BinaryAuthorizationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BinaryAuthorization.newBuilder() to construct. private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BinaryAuthorization() { evaluationMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BinaryAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BinaryAuthorization.class, com.google.container.v1.BinaryAuthorization.Builder.class); + com.google.container.v1.BinaryAuthorization.class, + com.google.container.v1.BinaryAuthorization.Builder.class); } /** + * + * *
    * Binary Authorization mode of operation.
    * 
* * Protobuf enum {@code google.container.v1.BinaryAuthorization.EvaluationMode} */ - public enum EvaluationMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value
      * 
@@ -66,6 +88,8 @@ public enum EvaluationMode */ EVALUATION_MODE_UNSPECIFIED(0), /** + * + * *
      * Disable BinaryAuthorization
      * 
@@ -74,6 +98,8 @@ public enum EvaluationMode */ DISABLED(1), /** + * + * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -87,6 +113,8 @@ public enum EvaluationMode
     ;
 
     /**
+     *
+     *
      * 
      * Default value
      * 
@@ -95,6 +123,8 @@ public enum EvaluationMode */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disable BinaryAuthorization
      * 
@@ -103,6 +133,8 @@ public enum EvaluationMode */ public static final int DISABLED_VALUE = 1; /** + * + * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -113,7 +145,6 @@ public enum EvaluationMode
      */
     public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -138,49 +169,49 @@ public static EvaluationMode valueOf(int value) {
      */
     public static EvaluationMode forNumber(int value) {
       switch (value) {
-        case 0: return EVALUATION_MODE_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 2: return PROJECT_SINGLETON_POLICY_ENFORCE;
-        default: return null;
+        case 0:
+          return EVALUATION_MODE_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 2:
+          return PROJECT_SINGLETON_POLICY_ENFORCE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        EvaluationMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public EvaluationMode findValueByNumber(int number) {
-              return EvaluationMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public EvaluationMode findValueByNumber(int number) {
+            return EvaluationMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EvaluationMode[] VALUES = values();
 
-    public static EvaluationMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EvaluationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -200,6 +231,8 @@ private EvaluationMode(int value) {
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -207,45 +240,59 @@ 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=1281 + * + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1/cluster_service.proto;l=1281 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getEnabled() { + @java.lang.Deprecated + public boolean getEnabled() { return enabled_; } public static final int EVALUATION_MODE_FIELD_NUMBER = 2; private int evaluationMode_; /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The evaluationMode. */ - @java.lang.Override public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @java.lang.Override + public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1.BinaryAuthorization.EvaluationMode result = com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + com.google.container.v1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,12 +304,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } - if (evaluationMode_ != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + if (evaluationMode_ + != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, evaluationMode_); } getUnknownFields().writeTo(output); @@ -275,12 +323,12 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } - if (evaluationMode_ != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, evaluationMode_); + if (evaluationMode_ + != com.google.container.v1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, evaluationMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -290,15 +338,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.BinaryAuthorization)) { return super.equals(obj); } - com.google.container.v1.BinaryAuthorization other = (com.google.container.v1.BinaryAuthorization) obj; + com.google.container.v1.BinaryAuthorization other = + (com.google.container.v1.BinaryAuthorization) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (evaluationMode_ != other.evaluationMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,8 +360,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + EVALUATION_MODE_FIELD_NUMBER; hash = (53 * hash) + evaluationMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -321,130 +368,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.BinaryAuthorization parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.BinaryAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.BinaryAuthorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.BinaryAuthorization parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.BinaryAuthorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.BinaryAuthorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.BinaryAuthorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.BinaryAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.BinaryAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.BinaryAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * Protobuf type {@code google.container.v1.BinaryAuthorization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.BinaryAuthorization) com.google.container.v1.BinaryAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BinaryAuthorization.class, com.google.container.v1.BinaryAuthorization.Builder.class); + com.google.container.v1.BinaryAuthorization.class, + com.google.container.v1.BinaryAuthorization.Builder.class); } // Construct using com.google.container.v1.BinaryAuthorization.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +509,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BinaryAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BinaryAuthorization_descriptor; } @java.lang.Override @@ -477,7 +530,8 @@ public com.google.container.v1.BinaryAuthorization build() { @java.lang.Override public com.google.container.v1.BinaryAuthorization buildPartial() { - com.google.container.v1.BinaryAuthorization result = new com.google.container.v1.BinaryAuthorization(this); + com.google.container.v1.BinaryAuthorization result = + new com.google.container.v1.BinaryAuthorization(this); result.enabled_ = enabled_; result.evaluationMode_ = evaluationMode_; onBuilt(); @@ -488,38 +542,39 @@ public com.google.container.v1.BinaryAuthorization buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.BinaryAuthorization) { - return mergeFrom((com.google.container.v1.BinaryAuthorization)other); + return mergeFrom((com.google.container.v1.BinaryAuthorization) other); } else { super.mergeFrom(other); return this; @@ -560,22 +615,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - case 16: { - evaluationMode_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + case 16: + { + evaluationMode_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -586,8 +644,10 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -595,15 +655,19 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1/cluster_service.proto;l=1281 + * + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1/cluster_service.proto;l=1281 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getEnabled() { + @java.lang.Deprecated + public boolean getEnabled() { return enabled_; } /** + * + * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -611,18 +675,22 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1/cluster_service.proto;l=1281 + * + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1/cluster_service.proto;l=1281 * @param value The enabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setEnabled(boolean value) { - + @java.lang.Deprecated + public Builder setEnabled(boolean value) { + enabled_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -630,12 +698,14 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1/cluster_service.proto;l=1281 + * + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1/cluster_service.proto;l=1281 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearEnabled() { - + @java.lang.Deprecated + public Builder clearEnabled() { + enabled_ = false; onChanged(); return this; @@ -643,85 +713,105 @@ public Builder mergeFrom( private int evaluationMode_ = 0; /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ public Builder setEvaluationModeValue(int value) { - + evaluationMode_ = value; onChanged(); return this; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The evaluationMode. */ @java.lang.Override public com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1.BinaryAuthorization.EvaluationMode result = com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + com.google.container.v1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode(com.google.container.v1.BinaryAuthorization.EvaluationMode value) { + public Builder setEvaluationMode( + com.google.container.v1.BinaryAuthorization.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } - + evaluationMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return This builder for chaining. */ public Builder clearEvaluationMode() { - + evaluationMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -731,12 +821,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.BinaryAuthorization) } // @@protoc_insertion_point(class_scope:google.container.v1.BinaryAuthorization) private static final com.google.container.v1.BinaryAuthorization DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.BinaryAuthorization(); } @@ -745,27 +835,27 @@ public static com.google.container.v1.BinaryAuthorization getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BinaryAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BinaryAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -780,6 +870,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.BinaryAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 62% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java index 66db0516b8fd..1c0a01d4c7f3 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface BinaryAuthorizationOrBuilder extends +public interface BinaryAuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.BinaryAuthorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -15,29 +33,37 @@ public interface BinaryAuthorizationOrBuilder extends
    * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1/cluster_service.proto;l=1281 + * + * @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1/cluster_service.proto;l=1281 * @return The enabled. */ - @java.lang.Deprecated boolean getEnabled(); + @java.lang.Deprecated + boolean getEnabled(); /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The evaluationMode. */ com.google.container.v1.BinaryAuthorization.EvaluationMode getEvaluationMode(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java index 252cb6e9e818..254152b0357a 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettings.java @@ -1,115 +1,154 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Settings for blue-green upgrade.
  * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings} */ -public final class BlueGreenSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BlueGreenSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.BlueGreenSettings) BlueGreenSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BlueGreenSettings.newBuilder() to construct. private BlueGreenSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BlueGreenSettings() { - } + + private BlueGreenSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BlueGreenSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.class, com.google.container.v1.BlueGreenSettings.Builder.class); + com.google.container.v1.BlueGreenSettings.class, + com.google.container.v1.BlueGreenSettings.Builder.class); } - public interface StandardRolloutPolicyOrBuilder extends + public interface StandardRolloutPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return Whether the batchPercentage field is set. */ boolean hasBatchPercentage(); /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return The batchPercentage. */ float getBatchPercentage(); /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return Whether the batchNodeCount field is set. */ boolean hasBatchNodeCount(); /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return The batchNodeCount. */ int getBatchNodeCount(); /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return Whether the batchSoakDuration field is set. */ boolean hasBatchSoakDuration(); /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return The batchSoakDuration. */ com.google.protobuf.Duration getBatchSoakDuration(); /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -118,62 +157,69 @@ public interface StandardRolloutPolicyOrBuilder extends */ com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder(); - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase getUpdateBatchSizeCase(); + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase + getUpdateBatchSizeCase(); } /** + * + * *
    * Standard rollout policy is the default policy for blue-green.
    * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class StandardRolloutPolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StandardRolloutPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) StandardRolloutPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StandardRolloutPolicy.newBuilder() to construct. private StandardRolloutPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StandardRolloutPolicy() { - } + + private StandardRolloutPolicy() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StandardRolloutPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } private int bitField0_; private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; + public enum UpdateBatchSizeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_PERCENTAGE(1), BATCH_NODE_COUNT(2), UPDATEBATCHSIZE_NOT_SET(0); private final int value; + private UpdateBatchSizeCase(int value) { this.value = value; } @@ -189,31 +235,37 @@ public static UpdateBatchSizeCase valueOf(int value) { public static UpdateBatchSizeCase forNumber(int value) { switch (value) { - case 1: return BATCH_PERCENTAGE; - case 2: return BATCH_NODE_COUNT; - case 0: return UPDATEBATCHSIZE_NOT_SET; - default: return null; + case 1: + return BATCH_PERCENTAGE; + case 2: + return BATCH_NODE_COUNT; + case 0: + return UPDATEBATCHSIZE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public UpdateBatchSizeCase - getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber( - updateBatchSizeCase_); + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); } public static final int BATCH_PERCENTAGE_FIELD_NUMBER = 1; /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return Whether the batchPercentage field is set. */ @java.lang.Override @@ -221,12 +273,15 @@ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return The batchPercentage. */ @java.lang.Override @@ -239,11 +294,14 @@ public float getBatchPercentage() { public static final int BATCH_NODE_COUNT_FIELD_NUMBER = 2; /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return Whether the batchNodeCount field is set. */ @java.lang.Override @@ -251,11 +309,14 @@ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return The batchNodeCount. */ @java.lang.Override @@ -269,11 +330,14 @@ public int getBatchNodeCount() { public static final int BATCH_SOAK_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration batchSoakDuration_; /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return Whether the batchSoakDuration field is set. */ @java.lang.Override @@ -281,18 +345,25 @@ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return The batchSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getBatchSoakDuration() { - return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -301,10 +372,13 @@ public com.google.protobuf.Duration getBatchSoakDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { - return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,15 +390,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateBatchSizeCase_ == 1) { - output.writeFloat( - 1, (float)((java.lang.Float) updateBatchSize_)); + output.writeFloat(1, (float) ((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) updateBatchSize_)); + output.writeInt32(2, (int) ((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBatchSoakDuration()); @@ -339,18 +410,17 @@ public int getSerializedSize() { size = 0; if (updateBatchSizeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize( - 1, (float)((java.lang.Float) updateBatchSize_)); + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 1, (float) ((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) updateBatchSize_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getBatchSoakDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBatchSoakDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,28 +430,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy)) { return super.equals(obj); } - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other = (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) obj; + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other = + (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) obj; if (hasBatchSoakDuration() != other.hasBatchSoakDuration()) return false; if (hasBatchSoakDuration()) { - if (!getBatchSoakDuration() - .equals(other.getBatchSoakDuration())) return false; + if (!getBatchSoakDuration().equals(other.getBatchSoakDuration())) return false; } if (!getUpdateBatchSizeCase().equals(other.getUpdateBatchSizeCase())) return false; switch (updateBatchSizeCase_) { case 1: if (java.lang.Float.floatToIntBits(getBatchPercentage()) - != java.lang.Float.floatToIntBits( - other.getBatchPercentage())) return false; + != java.lang.Float.floatToIntBits(other.getBatchPercentage())) return false; break; case 2: - if (getBatchNodeCount() - != other.getBatchNodeCount()) return false; + if (getBatchNodeCount() != other.getBatchNodeCount()) return false; break; case 0: default: @@ -404,8 +472,7 @@ public int hashCode() { switch (updateBatchSizeCase_) { case 1: hash = (37 * hash) + BATCH_PERCENTAGE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBatchPercentage()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBatchPercentage()); break; case 2: hash = (37 * hash) + BATCH_NODE_COUNT_FIELD_NUMBER; @@ -420,87 +487,95 @@ public int hashCode() { } public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( 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.BlueGreenSettings.StandardRolloutPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy 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.BlueGreenSettings.StandardRolloutPolicy + 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy prototype) { + + public static Builder newBuilder( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -510,45 +585,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Standard rollout policy is the default policy for blue-green.
      * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } - // Construct using com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() + // Construct using + // com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBatchSoakDurationFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,13 +645,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } @@ -585,7 +667,8 @@ public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy build() { @java.lang.Override public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy buildPartial() { - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy result = new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(this); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy result = + new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (updateBatchSizeCase_ == 1) { @@ -612,61 +695,70 @@ public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BlueGreenSettings.StandardRolloutPolicy) { - return mergeFrom((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy)other); + return mergeFrom((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other) { - if (other == com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy other) { + if (other + == com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) + return this; if (other.hasBatchSoakDuration()) { mergeBatchSoakDuration(other.getBatchSoakDuration()); } switch (other.getUpdateBatchSizeCase()) { - case BATCH_PERCENTAGE: { - setBatchPercentage(other.getBatchPercentage()); - break; - } - case BATCH_NODE_COUNT: { - setBatchNodeCount(other.getBatchNodeCount()); - break; - } - case UPDATEBATCHSIZE_NOT_SET: { - break; - } + case BATCH_PERCENTAGE: + { + setBatchPercentage(other.getBatchPercentage()); + break; + } + case BATCH_NODE_COUNT: + { + setBatchNodeCount(other.getBatchNodeCount()); + break; + } + case UPDATEBATCHSIZE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -694,29 +786,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: { - updateBatchSize_ = input.readFloat(); - updateBatchSizeCase_ = 1; - break; - } // case 13 - case 16: { - updateBatchSize_ = input.readInt32(); - updateBatchSizeCase_ = 2; - break; - } // case 16 - case 26: { - input.readMessage( - getBatchSoakDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: + { + updateBatchSize_ = input.readFloat(); + updateBatchSizeCase_ = 1; + break; + } // case 13 + case 16: + { + updateBatchSize_ = input.readInt32(); + updateBatchSizeCase_ = 2; + break; + } // case 16 + case 26: + { + input.readMessage( + getBatchSoakDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -726,12 +821,12 @@ public Builder mergeFrom( } // finally return this; } + private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; - public UpdateBatchSizeCase - getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber( - updateBatchSizeCase_); + + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); } public Builder clearUpdateBatchSize() { @@ -744,24 +839,30 @@ public Builder clearUpdateBatchSize() { private int bitField0_; /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @return Whether the batchPercentage field is set. */ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @return The batchPercentage. */ public float getBatchPercentage() { @@ -771,12 +872,15 @@ public float getBatchPercentage() { return 0F; } /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @param value The batchPercentage to set. * @return This builder for chaining. */ @@ -787,12 +891,15 @@ public Builder setBatchPercentage(float value) { return this; } /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @return This builder for chaining. */ public Builder clearBatchPercentage() { @@ -805,22 +912,28 @@ public Builder clearBatchPercentage() { } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @return Whether the batchNodeCount field is set. */ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @return The batchNodeCount. */ public int getBatchNodeCount() { @@ -830,11 +943,14 @@ public int getBatchNodeCount() { return 0; } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @param value The batchNodeCount to set. * @return This builder for chaining. */ @@ -845,11 +961,14 @@ public Builder setBatchNodeCount(int value) { return this; } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @return This builder for chaining. */ public Builder clearBatchNodeCount() { @@ -863,34 +982,47 @@ public Builder clearBatchNodeCount() { private com.google.protobuf.Duration batchSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> batchSoakDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + batchSoakDurationBuilder_; /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return Whether the batchSoakDuration field is set. */ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return The batchSoakDuration. */ public com.google.protobuf.Duration getBatchSoakDuration() { if (batchSoakDurationBuilder_ == null) { - return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } else { return batchSoakDurationBuilder_.getMessage(); } } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -911,14 +1043,15 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; */ - public Builder setBatchSoakDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { if (batchSoakDurationBuilder_ == null) { batchSoakDuration_ = builderForValue.build(); onChanged(); @@ -929,6 +1062,8 @@ public Builder setBatchSoakDuration( return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -937,11 +1072,13 @@ public Builder setBatchSoakDuration( */ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { if (batchSoakDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - batchSoakDuration_ != null && - batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && batchSoakDuration_ != null + && batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { batchSoakDuration_ = - com.google.protobuf.Duration.newBuilder(batchSoakDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(batchSoakDuration_) + .mergeFrom(value) + .buildPartial(); } else { batchSoakDuration_ = value; } @@ -953,6 +1090,8 @@ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -970,6 +1109,8 @@ public Builder clearBatchSoakDuration() { return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -982,6 +1123,8 @@ public com.google.protobuf.Duration.Builder getBatchSoakDurationBuilder() { return getBatchSoakDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -992,11 +1135,14 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { if (batchSoakDurationBuilder_ != null) { return batchSoakDurationBuilder_.getMessageOrBuilder(); } else { - return batchSoakDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1004,18 +1150,22 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { * optional .google.protobuf.Duration batch_soak_duration = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getBatchSoakDurationFieldBuilder() { if (batchSoakDurationBuilder_ == null) { - batchSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getBatchSoakDuration(), - getParentForChildren(), - isClean()); + batchSoakDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getBatchSoakDuration(), getParentForChildren(), isClean()); batchSoakDuration_ = null; } return batchSoakDurationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1028,41 +1178,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.BlueGreenSettings.StandardRolloutPolicy) - private static final com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy DEFAULT_INSTANCE; + private static final com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy(); } - public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstance() { + public static com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StandardRolloutPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardRolloutPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,21 +1227,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; + public enum RolloutPolicyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STANDARD_ROLLOUT_POLICY(1), ROLLOUTPOLICY_NOT_SET(0); private final int value; + private RolloutPolicyCase(int value) { this.value = value; } @@ -1104,29 +1260,35 @@ public static RolloutPolicyCase valueOf(int value) { public static RolloutPolicyCase forNumber(int value) { switch (value) { - case 1: return STANDARD_ROLLOUT_POLICY; - case 0: return ROLLOUTPOLICY_NOT_SET; - default: return null; + case 1: + return STANDARD_ROLLOUT_POLICY; + case 0: + return ROLLOUTPOLICY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RolloutPolicyCase - getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber( - rolloutPolicyCase_); + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); } public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER = 1; /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1134,31 +1296,40 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } return com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } @@ -1166,12 +1337,15 @@ public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration nodePoolSoakDuration_; /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return Whether the nodePoolSoakDuration field is set. */ @java.lang.Override @@ -1179,19 +1353,26 @@ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return The nodePoolSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getNodePoolSoakDuration() { - return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; } /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
@@ -1201,10 +1382,13 @@ public com.google.protobuf.Duration getNodePoolSoakDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() {
-    return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
+    return nodePoolSoakDuration_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : nodePoolSoakDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1216,10 +1400,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (rolloutPolicyCase_ == 1) {
-      output.writeMessage(1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
+      output.writeMessage(
+          1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getNodePoolSoakDuration());
@@ -1234,12 +1418,13 @@ public int getSerializedSize() {
 
     size = 0;
     if (rolloutPolicyCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getNodePoolSoakDuration());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNodePoolSoakDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1249,23 +1434,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.BlueGreenSettings)) {
       return super.equals(obj);
     }
-    com.google.container.v1.BlueGreenSettings other = (com.google.container.v1.BlueGreenSettings) obj;
+    com.google.container.v1.BlueGreenSettings other =
+        (com.google.container.v1.BlueGreenSettings) obj;
 
     if (hasNodePoolSoakDuration() != other.hasNodePoolSoakDuration()) return false;
     if (hasNodePoolSoakDuration()) {
-      if (!getNodePoolSoakDuration()
-          .equals(other.getNodePoolSoakDuration())) return false;
+      if (!getNodePoolSoakDuration().equals(other.getNodePoolSoakDuration())) return false;
     }
     if (!getRolloutPolicyCase().equals(other.getRolloutPolicyCase())) return false;
     switch (rolloutPolicyCase_) {
       case 1:
-        if (!getStandardRolloutPolicy()
-            .equals(other.getStandardRolloutPolicy())) return false;
+        if (!getStandardRolloutPolicy().equals(other.getStandardRolloutPolicy())) return false;
         break;
       case 0:
       default:
@@ -1298,118 +1482,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.BlueGreenSettings parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.BlueGreenSettings parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.BlueGreenSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseFrom(
       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.BlueGreenSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1.BlueGreenSettings parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1.BlueGreenSettings parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.BlueGreenSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.BlueGreenSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Settings for blue-green upgrade.
    * 
* * Protobuf type {@code google.container.v1.BlueGreenSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.BlueGreenSettings) com.google.container.v1.BlueGreenSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.BlueGreenSettings.class, com.google.container.v1.BlueGreenSettings.Builder.class); + com.google.container.v1.BlueGreenSettings.class, + com.google.container.v1.BlueGreenSettings.Builder.class); } // Construct using com.google.container.v1.BlueGreenSettings.newBuilder() @@ -1417,17 +1610,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNodePoolSoakDurationFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1446,9 +1639,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_BlueGreenSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_BlueGreenSettings_descriptor; } @java.lang.Override @@ -1467,7 +1660,8 @@ public com.google.container.v1.BlueGreenSettings build() { @java.lang.Override public com.google.container.v1.BlueGreenSettings buildPartial() { - com.google.container.v1.BlueGreenSettings result = new com.google.container.v1.BlueGreenSettings(this); + com.google.container.v1.BlueGreenSettings result = + new com.google.container.v1.BlueGreenSettings(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (rolloutPolicyCase_ == 1) { @@ -1495,38 +1689,39 @@ public com.google.container.v1.BlueGreenSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.BlueGreenSettings) { - return mergeFrom((com.google.container.v1.BlueGreenSettings)other); + return mergeFrom((com.google.container.v1.BlueGreenSettings) other); } else { super.mergeFrom(other); return this; @@ -1539,13 +1734,15 @@ public Builder mergeFrom(com.google.container.v1.BlueGreenSettings other) { mergeNodePoolSoakDuration(other.getNodePoolSoakDuration()); } switch (other.getRolloutPolicyCase()) { - case STANDARD_ROLLOUT_POLICY: { - mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); - break; - } - case ROLLOUTPOLICY_NOT_SET: { - break; - } + case STANDARD_ROLLOUT_POLICY: + { + mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); + break; + } + case ROLLOUTPOLICY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1573,26 +1770,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStandardRolloutPolicyFieldBuilder().getBuilder(), - extensionRegistry); - rolloutPolicyCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getNodePoolSoakDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getStandardRolloutPolicyFieldBuilder().getBuilder(), extensionRegistry); + rolloutPolicyCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getNodePoolSoakDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1602,12 +1800,12 @@ public Builder mergeFrom( } // finally return this; } + private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; - public RolloutPolicyCase - getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber( - rolloutPolicyCase_); + + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); } public Builder clearRolloutPolicy() { @@ -1620,13 +1818,21 @@ public Builder clearRolloutPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> standardRolloutPolicyBuilder_; + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + standardRolloutPolicyBuilder_; /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1634,15 +1840,21 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { if (rolloutPolicyCase_ == 1) { return (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; @@ -1656,13 +1868,18 @@ public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStanda } } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - public Builder setStandardRolloutPolicy(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder setStandardRolloutPolicy( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1676,11 +1893,15 @@ public Builder setStandardRolloutPolicy(com.google.container.v1.BlueGreenSetting return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ public Builder setStandardRolloutPolicy( com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder builderForValue) { @@ -1694,18 +1915,29 @@ public Builder setStandardRolloutPolicy( return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - public Builder mergeStandardRolloutPolicy(com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder mergeStandardRolloutPolicy( + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { - if (rolloutPolicyCase_ == 1 && - rolloutPolicy_ != com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) { - rolloutPolicy_ = com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder((com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_) - .mergeFrom(value).buildPartial(); + if (rolloutPolicyCase_ == 1 + && rolloutPolicy_ + != com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance()) { + rolloutPolicy_ = + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.newBuilder( + (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_) + .mergeFrom(value) + .buildPartial(); } else { rolloutPolicy_ = value; } @@ -1721,11 +1953,15 @@ public Builder mergeStandardRolloutPolicy(com.google.container.v1.BlueGreenSetti return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ public Builder clearStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { @@ -1744,24 +1980,34 @@ public Builder clearStandardRolloutPolicy() { return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder + getStandardRolloutPolicyBuilder() { return getStandardRolloutPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ @java.lang.Override - public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { if ((rolloutPolicyCase_ == 1) && (standardRolloutPolicyBuilder_ != null)) { return standardRolloutPolicyBuilder_.getMessageOrBuilder(); } else { @@ -1772,63 +2018,87 @@ public com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder } } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> getStandardRolloutPolicyFieldBuilder() { if (standardRolloutPolicyBuilder_ == null) { if (!(rolloutPolicyCase_ == 1)) { - rolloutPolicy_ = com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + rolloutPolicy_ = + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); } - standardRolloutPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( + standardRolloutPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( (com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_, getParentForChildren(), isClean()); rolloutPolicy_ = null; } rolloutPolicyCase_ = 1; - onChanged();; + onChanged(); + ; return standardRolloutPolicyBuilder_; } private com.google.protobuf.Duration nodePoolSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> nodePoolSoakDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + nodePoolSoakDurationBuilder_; /** + * + * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return Whether the nodePoolSoakDuration field is set. */ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return The nodePoolSoakDuration. */ public com.google.protobuf.Duration getNodePoolSoakDuration() { if (nodePoolSoakDurationBuilder_ == null) { - return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; } else { return nodePoolSoakDurationBuilder_.getMessage(); } } /** + * + * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1850,6 +2120,8 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1857,8 +2129,7 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
      *
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
-    public Builder setNodePoolSoakDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (nodePoolSoakDurationBuilder_ == null) {
         nodePoolSoakDuration_ = builderForValue.build();
         onChanged();
@@ -1869,6 +2140,8 @@ public Builder setNodePoolSoakDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1878,11 +2151,13 @@ public Builder setNodePoolSoakDuration(
      */
     public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       if (nodePoolSoakDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-            nodePoolSoakDuration_ != null &&
-            nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && nodePoolSoakDuration_ != null
+            && nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           nodePoolSoakDuration_ =
-            com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodePoolSoakDuration_ = value;
         }
@@ -1894,6 +2169,8 @@ public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1912,6 +2189,8 @@ public Builder clearNodePoolSoakDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1925,6 +2204,8 @@ public com.google.protobuf.Duration.Builder getNodePoolSoakDurationBuilder() {
       return getNodePoolSoakDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1936,11 +2217,14 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
       if (nodePoolSoakDurationBuilder_ != null) {
         return nodePoolSoakDurationBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolSoakDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
+        return nodePoolSoakDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : nodePoolSoakDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1949,21 +2233,24 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getNodePoolSoakDurationFieldBuilder() {
       if (nodePoolSoakDurationBuilder_ == null) {
-        nodePoolSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getNodePoolSoakDuration(),
-                getParentForChildren(),
-                isClean());
+        nodePoolSoakDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getNodePoolSoakDuration(), getParentForChildren(), isClean());
         nodePoolSoakDuration_ = null;
       }
       return nodePoolSoakDurationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1973,12 +2260,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.BlueGreenSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.BlueGreenSettings)
   private static final com.google.container.v1.BlueGreenSettings DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.BlueGreenSettings();
   }
@@ -1987,27 +2274,27 @@ public static com.google.container.v1.BlueGreenSettings getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BlueGreenSettings parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BlueGreenSettings parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2022,6 +2309,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.BlueGreenSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
index dbb224c08e31..486ad17f4e63 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BlueGreenSettingsOrBuilder.java
@@ -1,60 +1,96 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
 
 package com.google.container.v1;
 
-public interface BlueGreenSettingsOrBuilder extends
+public interface BlueGreenSettingsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.BlueGreenSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return Whether the standardRolloutPolicy field is set. */ boolean hasStandardRolloutPolicy(); /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return The standardRolloutPolicy. */ com.google.container.v1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy(); /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder(); + com.google.container.v1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder(); /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return Whether the nodePoolSoakDuration field is set. */ boolean hasNodePoolSoakDuration(); /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return The nodePoolSoakDuration. */ com.google.protobuf.Duration getNodePoolSoakDuration(); /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
diff --git a/owl-bot-staging/java-container/v1/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
similarity index 68%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java
index 37ca3ec196b5..abd329b72c4e 100644
--- a/owl-bot-staging/java-container/v1/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
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * CancelOperationRequest cancels a single operation.
  * 
* * Protobuf type {@code google.container.v1.CancelOperationRequest} */ -public final class CancelOperationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelOperationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.CancelOperationRequest) CancelOperationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelOperationRequest.newBuilder() to construct. private CancelOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelOperationRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private CancelOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CancelOperationRequest.class, com.google.container.v1.CancelOperationRequest.Builder.class); + com.google.container.v1.CancelOperationRequest.class, + com.google.container.v1.CancelOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -216,12 +250,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The name. */ @java.lang.Override @@ -230,30 +267,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +299,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +353,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CancelOperationRequest)) { return super.equals(obj); } - com.google.container.v1.CancelOperationRequest other = (com.google.container.v1.CancelOperationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getOperationId() - .equals(other.getOperationId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.CancelOperationRequest other = + (com.google.container.v1.CancelOperationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getOperationId().equals(other.getOperationId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,130 +389,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CancelOperationRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.CancelOperationRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CancelOperationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CancelOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CancelOperationRequest parseFrom( 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.CancelOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CancelOperationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.CancelOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CancelOperationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.CancelOperationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.CancelOperationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.CancelOperationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CancelOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CancelOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.CancelOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CancelOperationRequest cancels a single operation.
    * 
* * Protobuf type {@code google.container.v1.CancelOperationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.CancelOperationRequest) com.google.container.v1.CancelOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CancelOperationRequest.class, com.google.container.v1.CancelOperationRequest.Builder.class); + com.google.container.v1.CancelOperationRequest.class, + com.google.container.v1.CancelOperationRequest.Builder.class); } // Construct using com.google.container.v1.CancelOperationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CancelOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CancelOperationRequest_descriptor; } @java.lang.Override @@ -515,7 +555,8 @@ public com.google.container.v1.CancelOperationRequest build() { @java.lang.Override public com.google.container.v1.CancelOperationRequest buildPartial() { - com.google.container.v1.CancelOperationRequest result = new com.google.container.v1.CancelOperationRequest(this); + com.google.container.v1.CancelOperationRequest result = + new com.google.container.v1.CancelOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -528,38 +569,39 @@ public com.google.container.v1.CancelOperationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CancelOperationRequest) { - return mergeFrom((com.google.container.v1.CancelOperationRequest)other); + return mergeFrom((com.google.container.v1.CancelOperationRequest) other); } else { super.mergeFrom(other); return this; @@ -610,32 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -648,6 +695,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -655,15 +704,16 @@ 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=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,6 +722,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -679,17 +731,17 @@ 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=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,6 +749,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,22 +758,25 @@ 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=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -727,17 +784,21 @@ 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=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,18 +806,19 @@ 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=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +826,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +836,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +854,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +864,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +882,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +892,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +919,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +942,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +962,24 @@ public Builder mergeFrom( private java.lang.Object operationId_ = ""; /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @return The operationId. */ - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -908,23 +988,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @return The bytes for operationId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -932,63 +1014,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setOperationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearOperationId() { - + @java.lang.Deprecated + public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -996,19 +1088,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1111,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1134,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.CancelOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CancelOperationRequest) private static final com.google.container.v1.CancelOperationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.CancelOperationRequest(); } @@ -1120,27 +1222,27 @@ public static com.google.container.v1.CancelOperationRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1257,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CancelOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java index c50ecda6ab83..3e9d605384d0 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CancelOperationRequestOrBuilder extends +public interface CancelOperationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.CancelOperationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface CancelOperationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface CancelOperationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2634 + * + * @deprecated google.container.v1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2634 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface CancelOperationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +87,71 @@ public interface CancelOperationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2640 + * + * @deprecated google.container.v1.CancelOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2640 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @return The operationId. */ - @java.lang.Deprecated java.lang.String getOperationId(); + @java.lang.Deprecated + java.lang.String getOperationId(); /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2644 + * + * @deprecated google.container.v1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2644 * @return The bytes for operationId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getOperationIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getOperationIdBytes(); /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java index 2027fd6427d7..812e0924e960 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for client certificates on the cluster.
  * 
* * Protobuf type {@code google.container.v1.ClientCertificateConfig} */ -public final class ClientCertificateConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ClientCertificateConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ClientCertificateConfig) ClientCertificateConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientCertificateConfig.newBuilder() to construct. private ClientCertificateConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClientCertificateConfig() { - } + + private ClientCertificateConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClientCertificateConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ClientCertificateConfig.class, com.google.container.v1.ClientCertificateConfig.Builder.class); + com.google.container.v1.ClientCertificateConfig.class, + com.google.container.v1.ClientCertificateConfig.Builder.class); } public static final int ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER = 1; private boolean issueClientCertificate_; /** + * + * *
    * Issue a client certificate.
    * 
* * bool issue_client_certificate = 1; + * * @return The issueClientCertificate. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getIssueClientCertificate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (issueClientCertificate_ != false) { output.writeBool(1, issueClientCertificate_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (issueClientCertificate_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, issueClientCertificate_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, issueClientCertificate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ClientCertificateConfig)) { return super.equals(obj); } - com.google.container.v1.ClientCertificateConfig other = (com.google.container.v1.ClientCertificateConfig) obj; + com.google.container.v1.ClientCertificateConfig other = + (com.google.container.v1.ClientCertificateConfig) obj; - if (getIssueClientCertificate() - != other.getIssueClientCertificate()) return false; + if (getIssueClientCertificate() != other.getIssueClientCertificate()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIssueClientCertificate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIssueClientCertificate()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ClientCertificateConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ClientCertificateConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClientCertificateConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClientCertificateConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClientCertificateConfig parseFrom( 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.ClientCertificateConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClientCertificateConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ClientCertificateConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ClientCertificateConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ClientCertificateConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ClientCertificateConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ClientCertificateConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ClientCertificateConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ClientCertificateConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ClientCertificateConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for client certificates on the cluster.
    * 
* * Protobuf type {@code google.container.v1.ClientCertificateConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ClientCertificateConfig) com.google.container.v1.ClientCertificateConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ClientCertificateConfig.class, com.google.container.v1.ClientCertificateConfig.Builder.class); + com.google.container.v1.ClientCertificateConfig.class, + com.google.container.v1.ClientCertificateConfig.Builder.class); } // Construct using com.google.container.v1.ClientCertificateConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClientCertificateConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ClientCertificateConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.ClientCertificateConfig build() { @java.lang.Override public com.google.container.v1.ClientCertificateConfig buildPartial() { - com.google.container.v1.ClientCertificateConfig result = new com.google.container.v1.ClientCertificateConfig(this); + com.google.container.v1.ClientCertificateConfig result = + new com.google.container.v1.ClientCertificateConfig(this); result.issueClientCertificate_ = issueClientCertificate_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.ClientCertificateConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ClientCertificateConfig) { - return mergeFrom((com.google.container.v1.ClientCertificateConfig)other); + return mergeFrom((com.google.container.v1.ClientCertificateConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ClientCertificateConfig other) { - if (other == com.google.container.v1.ClientCertificateConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.ClientCertificateConfig.getDefaultInstance()) + return this; if (other.getIssueClientCertificate() != false) { setIssueClientCertificate(other.getIssueClientCertificate()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - issueClientCertificate_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + issueClientCertificate_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean issueClientCertificate_ ; + private boolean issueClientCertificate_; /** + * + * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; + * * @return The issueClientCertificate. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getIssueClientCertificate() { return issueClientCertificate_; } /** + * + * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; + * * @param value The issueClientCertificate to set. * @return This builder for chaining. */ public Builder setIssueClientCertificate(boolean value) { - + issueClientCertificate_ = value; onChanged(); return this; } /** + * + * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; + * * @return This builder for chaining. */ public Builder clearIssueClientCertificate() { - + issueClientCertificate_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ClientCertificateConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ClientCertificateConfig) private static final com.google.container.v1.ClientCertificateConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ClientCertificateConfig(); } @@ -450,27 +489,27 @@ public static com.google.container.v1.ClientCertificateConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientCertificateConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientCertificateConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ClientCertificateConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java new file mode 100644 index 000000000000..b4144311d851 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ClientCertificateConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ClientCertificateConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Issue a client certificate.
+   * 
+ * + * bool issue_client_certificate = 1; + * + * @return The issueClientCertificate. + */ + boolean getIssueClientCertificate(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java index 68ca6778d7aa..d29c5c085499 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration options for the Cloud Run feature.
  * 
* * Protobuf type {@code google.container.v1.CloudRunConfig} */ -public final class CloudRunConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudRunConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.CloudRunConfig) CloudRunConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudRunConfig.newBuilder() to construct. private CloudRunConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudRunConfig() { loadBalancerType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudRunConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CloudRunConfig.class, com.google.container.v1.CloudRunConfig.Builder.class); + com.google.container.v1.CloudRunConfig.class, + com.google.container.v1.CloudRunConfig.Builder.class); } /** + * + * *
    * Load balancer type of ingress service of Cloud Run.
    * 
* * Protobuf enum {@code google.container.v1.CloudRunConfig.LoadBalancerType} */ - public enum LoadBalancerType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -66,6 +88,8 @@ public enum LoadBalancerType */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Install external load balancer for Cloud Run.
      * 
@@ -74,6 +98,8 @@ public enum LoadBalancerType */ LOAD_BALANCER_TYPE_EXTERNAL(1), /** + * + * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -85,6 +111,8 @@ public enum LoadBalancerType ; /** + * + * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -93,6 +121,8 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Install external load balancer for Cloud Run.
      * 
@@ -101,6 +131,8 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_EXTERNAL_VALUE = 1; /** + * + * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -109,7 +141,6 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_INTERNAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,39 +165,42 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: return LOAD_BALANCER_TYPE_EXTERNAL; - case 2: return LOAD_BALANCER_TYPE_INTERNAL; - default: return null; + case 0: + return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: + return LOAD_BALANCER_TYPE_EXTERNAL; + case 2: + return LOAD_BALANCER_TYPE_INTERNAL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LoadBalancerType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.CloudRunConfig.getDescriptor().getEnumTypes().get(0); } @@ -175,8 +209,7 @@ public LoadBalancerType findValueByNumber(int number) { public static LoadBalancerType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,11 +229,14 @@ private LoadBalancerType(int value) { public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** + * + * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -211,31 +247,43 @@ public boolean getDisabled() { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 3; private int loadBalancerType_; /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The loadBalancerType. */ - @java.lang.Override public com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { + @java.lang.Override + public com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1.CloudRunConfig.LoadBalancerType result = com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; + com.google.container.v1.CloudRunConfig.LoadBalancerType result = + com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null + ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,12 +295,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } - if (loadBalancerType_ != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + if (loadBalancerType_ + != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, loadBalancerType_); } getUnknownFields().writeTo(output); @@ -265,12 +314,12 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } - if (loadBalancerType_ != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, loadBalancerType_); + if (loadBalancerType_ + != com.google.container.v1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, loadBalancerType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -280,15 +329,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CloudRunConfig)) { return super.equals(obj); } com.google.container.v1.CloudRunConfig other = (com.google.container.v1.CloudRunConfig) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (loadBalancerType_ != other.loadBalancerType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -302,8 +350,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (37 * hash) + LOAD_BALANCER_TYPE_FIELD_NUMBER; hash = (53 * hash) + loadBalancerType_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -311,130 +358,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.CloudRunConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CloudRunConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CloudRunConfig parseFrom( 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.CloudRunConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CloudRunConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.CloudRunConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CloudRunConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CloudRunConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.CloudRunConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CloudRunConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CloudRunConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.CloudRunConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the Cloud Run feature.
    * 
* * Protobuf type {@code google.container.v1.CloudRunConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.CloudRunConfig) com.google.container.v1.CloudRunConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CloudRunConfig.class, com.google.container.v1.CloudRunConfig.Builder.class); + com.google.container.v1.CloudRunConfig.class, + com.google.container.v1.CloudRunConfig.Builder.class); } // Construct using com.google.container.v1.CloudRunConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +499,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CloudRunConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CloudRunConfig_descriptor; } @java.lang.Override @@ -467,7 +520,8 @@ public com.google.container.v1.CloudRunConfig build() { @java.lang.Override public com.google.container.v1.CloudRunConfig buildPartial() { - com.google.container.v1.CloudRunConfig result = new com.google.container.v1.CloudRunConfig(this); + com.google.container.v1.CloudRunConfig result = + new com.google.container.v1.CloudRunConfig(this); result.disabled_ = disabled_; result.loadBalancerType_ = loadBalancerType_; onBuilt(); @@ -478,38 +532,39 @@ public com.google.container.v1.CloudRunConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CloudRunConfig) { - return mergeFrom((com.google.container.v1.CloudRunConfig)other); + return mergeFrom((com.google.container.v1.CloudRunConfig) other); } else { super.mergeFrom(other); return this; @@ -550,22 +605,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disabled_ = input.readBool(); - - break; - } // case 8 - case 24: { - loadBalancerType_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disabled_ = input.readBool(); + + break; + } // case 8 + case 24: + { + loadBalancerType_ = input.readEnum(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -576,13 +634,16 @@ public Builder mergeFrom( return this; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -590,30 +651,36 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; @@ -621,80 +688,100 @@ public Builder clearDisabled() { private int loadBalancerType_ = 0; /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ public Builder setLoadBalancerTypeValue(int value) { - + loadBalancerType_ = value; onChanged(); return this; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The loadBalancerType. */ @java.lang.Override public com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1.CloudRunConfig.LoadBalancerType result = com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; + com.google.container.v1.CloudRunConfig.LoadBalancerType result = + com.google.container.v1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null + ? com.google.container.v1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED + : result; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType(com.google.container.v1.CloudRunConfig.LoadBalancerType value) { + public Builder setLoadBalancerType( + com.google.container.v1.CloudRunConfig.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } - + loadBalancerType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return This builder for chaining. */ public Builder clearLoadBalancerType() { - + loadBalancerType_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -704,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.CloudRunConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.CloudRunConfig) private static final com.google.container.v1.CloudRunConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.CloudRunConfig(); } @@ -718,27 +805,27 @@ public static com.google.container.v1.CloudRunConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,6 +840,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CloudRunConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java index d12a13c53e46..7a70eb9844ca 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface CloudRunConfigOrBuilder extends +public interface CloudRunConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.CloudRunConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The loadBalancerType. */ com.google.container.v1.CloudRunConfig.LoadBalancerType getLoadBalancerType(); diff --git a/owl-bot-staging/java-container/v1/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 similarity index 77% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index a0042a1dc047..81d6dd60602a 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * A Google Kubernetes Engine cluster.
  * 
* * Protobuf type {@code google.container.v1.Cluster} */ -public final class Cluster extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Cluster extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.Cluster) ClusterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Cluster.newBuilder() to construct. private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Cluster() { name_ = ""; description_ = ""; @@ -50,51 +68,53 @@ private Cluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Cluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Cluster.class, com.google.container.v1.Cluster.Builder.class); } /** + * + * *
    * The current status of the cluster.
    * 
* * Protobuf enum {@code google.container.v1.Cluster.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -103,6 +123,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -111,6 +133,8 @@ public enum Status */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -120,6 +144,8 @@ public enum Status
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -130,6 +156,8 @@ public enum Status
      */
     RECONCILING(3),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -138,6 +166,8 @@ public enum Status */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the cluster is unusable. It will be
      * automatically deleted. Details can be found in the `statusMessage` field.
@@ -147,6 +177,8 @@ public enum Status
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -159,6 +191,8 @@ public enum Status
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -167,6 +201,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -175,6 +211,8 @@ public enum Status */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -184,6 +222,8 @@ public enum Status
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -194,6 +234,8 @@ public enum Status
      */
     public static final int RECONCILING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -202,6 +244,8 @@ public enum Status */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the cluster is unusable. It will be
      * automatically deleted. Details can be found in the `statusMessage` field.
@@ -211,6 +255,8 @@ public enum Status
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -220,7 +266,6 @@ public enum Status
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -245,53 +290,57 @@ public static Status valueOf(int 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 RECONCILING;
-        case 4: return STOPPING;
-        case 5: return ERROR;
-        case 6: return DEGRADED;
-        default: return null;
+        case 0:
+          return STATUS_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RECONCILING;
+        case 4:
+          return STOPPING;
+        case 5:
+          return ERROR;
+        case 6:
+          return DEGRADED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Status> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Status findValueByNumber(int number) {
-              return Status.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.Cluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -312,6 +361,8 @@ private Status(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -322,6 +373,7 @@ private Status(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -330,14 +382,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -348,16 +401,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -368,11 +420,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -381,29 +436,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -414,6 +469,8 @@ public java.lang.String getDescription() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** + * + * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -427,18 +484,22 @@ public java.lang.String getDescription() {
    * 
* * 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=1466 + * + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1466 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getInitialNodeCount() { + @java.lang.Deprecated + public int getInitialNodeCount() { return initialNodeCount_; } public static final int NODE_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1.NodeConfig nodeConfig_; /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -453,15 +514,19 @@ public java.lang.String getDescription() {
    * 
* * .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=1479 + * + * @deprecated google.container.v1.Cluster.node_config is deprecated. See + * google/container/v1/cluster_service.proto;l=1479 * @return Whether the nodeConfig field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasNodeConfig() { + @java.lang.Deprecated + public boolean hasNodeConfig() { return nodeConfig_ != null; } /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -476,15 +541,21 @@ public java.lang.String getDescription() {
    * 
* * .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=1479 + * + * @deprecated google.container.v1.Cluster.node_config is deprecated. See + * google/container/v1/cluster_service.proto;l=1479 * @return The nodeConfig. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.NodeConfig getNodeConfig() { - return nodeConfig_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : nodeConfig_; + @java.lang.Deprecated + public com.google.container.v1.NodeConfig getNodeConfig() { + return nodeConfig_ == null + ? com.google.container.v1.NodeConfig.getDefaultInstance() + : nodeConfig_; } /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -501,13 +572,16 @@ public java.lang.String getDescription() {
    * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+  @java.lang.Deprecated
+  public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
     return getNodeConfig();
   }
 
   public static final int MASTER_AUTH_FIELD_NUMBER = 5;
   private com.google.container.v1.MasterAuth masterAuth_;
   /**
+   *
+   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -517,6 +591,7 @@ public java.lang.String getDescription() {
    * 
* * .google.container.v1.MasterAuth master_auth = 5; + * * @return Whether the masterAuth field is set. */ @java.lang.Override @@ -524,6 +599,8 @@ public boolean hasMasterAuth() { return masterAuth_ != null; } /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -533,13 +610,18 @@ public boolean hasMasterAuth() {
    * 
* * .google.container.v1.MasterAuth master_auth = 5; + * * @return The masterAuth. */ @java.lang.Override public com.google.container.v1.MasterAuth getMasterAuth() { - return masterAuth_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : masterAuth_; + return masterAuth_ == null + ? com.google.container.v1.MasterAuth.getDefaultInstance() + : masterAuth_; } /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -558,6 +640,8 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
   public static final int LOGGING_SERVICE_FIELD_NUMBER = 6;
   private volatile java.lang.Object loggingService_;
   /**
+   *
+   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -571,6 +655,7 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
    * 
* * string logging_service = 6; + * * @return The loggingService. */ @java.lang.Override @@ -579,14 +664,15 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -600,16 +686,15 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 6; + * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -620,6 +705,8 @@ public java.lang.String getLoggingService() { public static final int MONITORING_SERVICE_FIELD_NUMBER = 7; private volatile java.lang.Object monitoringService_; /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -633,6 +720,7 @@ public java.lang.String getLoggingService() {
    * 
* * string monitoring_service = 7; + * * @return The monitoringService. */ @java.lang.Override @@ -641,14 +729,15 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -662,16 +751,15 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 7; + * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -682,6 +770,8 @@ public java.lang.String getMonitoringService() { public static final int NETWORK_FIELD_NUMBER = 8; private volatile java.lang.Object network_; /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -690,6 +780,7 @@ public java.lang.String getMonitoringService() {
    * 
* * string network = 8; + * * @return The network. */ @java.lang.Override @@ -698,14 +789,15 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -714,16 +806,15 @@ public java.lang.String getNetwork() {
    * 
* * string network = 8; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -734,6 +825,8 @@ public java.lang.String getNetwork() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4Cidr_; /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -742,6 +835,7 @@ public java.lang.String getNetwork() {
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -750,14 +844,15 @@ public java.lang.String getClusterIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -766,16 +861,15 @@ public java.lang.String getClusterIpv4Cidr() {
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -786,11 +880,14 @@ public java.lang.String getClusterIpv4Cidr() { public static final int ADDONS_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1.AddonsConfig addonsConfig_; /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; + * * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -798,18 +895,25 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; + * * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -824,6 +928,8 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() public static final int SUBNETWORK_FIELD_NUMBER = 11; private volatile java.lang.Object subnetwork_; /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -831,6 +937,7 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder()
    * 
* * string subnetwork = 11; + * * @return The subnetwork. */ @java.lang.Override @@ -839,14 +946,15 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -854,16 +962,15 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 11; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -874,6 +981,8 @@ public java.lang.String getSubnetwork() { public static final int NODE_POOLS_FIELD_NUMBER = 12; private java.util.List nodePools_; /** + * + * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -887,6 +996,8 @@ public java.util.List getNodePoolsList() {
     return nodePools_;
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -896,11 +1007,13 @@ public java.util.List getNodePoolsList() {
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getNodePoolsOrBuilderList() {
     return nodePools_;
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -914,6 +1027,8 @@ public int getNodePoolsCount() {
     return nodePools_.size();
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -927,6 +1042,8 @@ public com.google.container.v1.NodePool getNodePools(int index) {
     return nodePools_.get(index);
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -936,14 +1053,15 @@ public com.google.container.v1.NodePool getNodePools(int index) {
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
-      int index) {
+  public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
     return nodePools_.get(index);
   }
 
   public static final int LOCATIONS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList locations_;
   /**
+   *
+   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -957,13 +1075,15 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -977,12 +1097,15 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -996,6 +1119,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1003,6 +1127,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1016,17 +1142,19 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER = 14; private boolean enableKubernetesAlpha_; /** + * + * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -1037,6 +1165,7 @@ public java.lang.String getLocations(int index) {
    * 
* * bool enable_kubernetes_alpha = 14; + * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -1045,21 +1174,22 @@ public boolean getEnableKubernetesAlpha() { } public static final int RESOURCE_LABELS_FIELD_NUMBER = 15; + private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1071,6 +1201,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1078,22 +1210,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 15;
    */
-
   @java.lang.Override
-  public boolean containsResourceLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsResourceLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1102,11 +1234,12 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1115,16 +1248,17 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1133,12 +1267,11 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-
-  public java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1148,11 +1281,14 @@ public java.lang.String getResourceLabelsOrThrow(
   public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 16;
   private volatile java.lang.Object labelFingerprint_;
   /**
+   *
+   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The labelFingerprint. */ @java.lang.Override @@ -1161,29 +1297,29 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** + * + * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1194,11 +1330,14 @@ public java.lang.String getLabelFingerprint() { public static final int LEGACY_ABAC_FIELD_NUMBER = 18; private com.google.container.v1.LegacyAbac legacyAbac_; /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; + * * @return Whether the legacyAbac field is set. */ @java.lang.Override @@ -1206,18 +1345,25 @@ public boolean hasLegacyAbac() { return legacyAbac_ != null; } /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; + * * @return The legacyAbac. */ @java.lang.Override public com.google.container.v1.LegacyAbac getLegacyAbac() { - return legacyAbac_ == null ? com.google.container.v1.LegacyAbac.getDefaultInstance() : legacyAbac_; + return legacyAbac_ == null + ? com.google.container.v1.LegacyAbac.getDefaultInstance() + : legacyAbac_; } /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -1232,11 +1378,14 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { public static final int NETWORK_POLICY_FIELD_NUMBER = 19; private com.google.container.v1.NetworkPolicy networkPolicy_; /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; + * * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -1244,18 +1393,25 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; + * * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -1270,11 +1426,14 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 20; private com.google.container.v1.IPAllocationPolicy ipAllocationPolicy_; /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -1282,18 +1441,25 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return The ipAllocationPolicy. */ @java.lang.Override public com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy() { - return ipAllocationPolicy_ == null ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() + : ipAllocationPolicy_; } /** + * + * *
    * Configuration for cluster IP allocation.
    * 
@@ -1308,11 +1474,16 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -1320,37 +1491,53 @@ public boolean hasMasterAuthorizedNetworksConfig() { return masterAuthorizedNetworksConfig_ != null; } /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return The masterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; + public com.google.container.v1.MasterAuthorizedNetworksConfig + getMasterAuthorizedNetworksConfig() { + return masterAuthorizedNetworksConfig_ == null + ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : masterAuthorizedNetworksConfig_; } /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder + getMasterAuthorizedNetworksConfigOrBuilder() { return getMasterAuthorizedNetworksConfig(); } public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 23; private com.google.container.v1.MaintenancePolicy maintenancePolicy_; /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; + * * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -1358,18 +1545,25 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; + * * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -1384,11 +1578,14 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 24; private com.google.container.v1.BinaryAuthorization binaryAuthorization_; /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; + * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -1396,18 +1593,25 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; + * * @return The binaryAuthorization. */ @java.lang.Override public com.google.container.v1.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } /** + * + * *
    * Configuration for Binary Authorization.
    * 
@@ -1422,11 +1626,14 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati public static final int AUTOSCALING_FIELD_NUMBER = 26; private com.google.container.v1.ClusterAutoscaling autoscaling_; /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -1434,18 +1641,25 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; + * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1.ClusterAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -1460,11 +1674,14 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild public static final int NETWORK_CONFIG_FIELD_NUMBER = 27; private com.google.container.v1.NetworkConfig networkConfig_; /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1472,18 +1689,25 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; + * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.container.v1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1.NetworkConfig.getDefaultInstance() + : networkConfig_; } /** + * + * *
    * Configuration for cluster networking.
    * 
@@ -1498,6 +1722,8 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( public static final int DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER = 30; private com.google.container.v1.MaxPodsConstraint defaultMaxPodsConstraint_; /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1505,6 +1731,7 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return Whether the defaultMaxPodsConstraint field is set. */ @java.lang.Override @@ -1512,6 +1739,8 @@ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraint_ != null; } /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1519,13 +1748,18 @@ public boolean hasDefaultMaxPodsConstraint() {
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return The defaultMaxPodsConstraint. */ @java.lang.Override public com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint() { - return defaultMaxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null + ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() + : defaultMaxPodsConstraint_; } /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1542,12 +1776,15 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConst
   public static final int RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 33;
   private com.google.container.v1.ResourceUsageExportConfig resourceUsageExportConfig_;
   /**
+   *
+   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * * @return Whether the resourceUsageExportConfig field is set. */ @java.lang.Override @@ -1555,19 +1792,26 @@ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfig_ != null; } /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * * @return The resourceUsageExportConfig. */ @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportConfig() { - return resourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() + : resourceUsageExportConfig_; } /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
@@ -1576,18 +1820,22 @@ public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportC
    * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;
    */
   @java.lang.Override
-  public com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() {
+  public com.google.container.v1.ResourceUsageExportConfigOrBuilder
+      getResourceUsageExportConfigOrBuilder() {
     return getResourceUsageExportConfig();
   }
 
   public static final int AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 34;
   private com.google.container.v1.AuthenticatorGroupsConfig authenticatorGroupsConfig_;
   /**
+   *
+   *
    * 
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * * @return Whether the authenticatorGroupsConfig field is set. */ @java.lang.Override @@ -1595,18 +1843,25 @@ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfig_ != null; } /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * * @return The authenticatorGroupsConfig. */ @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { - return authenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null + ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() + : authenticatorGroupsConfig_; } /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
@@ -1614,18 +1869,22 @@ public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsC * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ @java.lang.Override - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder + getAuthenticatorGroupsConfigOrBuilder() { return getAuthenticatorGroupsConfig(); } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 37; private com.google.container.v1.PrivateClusterConfig privateClusterConfig_; /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -1633,18 +1892,25 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * * @return The privateClusterConfig. */ @java.lang.Override public com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig() { - return privateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() + : privateClusterConfig_; } /** + * + * *
    * Configuration for private cluster.
    * 
@@ -1659,11 +1925,14 @@ public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterCo public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 38; private com.google.container.v1.DatabaseEncryption databaseEncryption_; /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; + * * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -1671,18 +1940,25 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; + * * @return The databaseEncryption. */ @java.lang.Override public com.google.container.v1.DatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } /** + * + * *
    * Configuration of etcd encryption.
    * 
@@ -1697,11 +1973,14 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption public static final int VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 39; private com.google.container.v1.VerticalPodAutoscaling verticalPodAutoscaling_; /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return Whether the verticalPodAutoscaling field is set. */ @java.lang.Override @@ -1709,18 +1988,25 @@ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscaling_ != null; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return The verticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling() { - return verticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null + ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() + : verticalPodAutoscaling_; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -1728,18 +2014,22 @@ public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling( * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ @java.lang.Override - public com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder + getVerticalPodAutoscalingOrBuilder() { return getVerticalPodAutoscaling(); } public static final int SHIELDED_NODES_FIELD_NUMBER = 40; private com.google.container.v1.ShieldedNodes shieldedNodes_; /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; + * * @return Whether the shieldedNodes field is set. */ @java.lang.Override @@ -1747,18 +2037,25 @@ public boolean hasShieldedNodes() { return shieldedNodes_ != null; } /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; + * * @return The shieldedNodes. */ @java.lang.Override public com.google.container.v1.ShieldedNodes getShieldedNodes() { - return shieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; + return shieldedNodes_ == null + ? com.google.container.v1.ShieldedNodes.getDefaultInstance() + : shieldedNodes_; } /** + * + * *
    * Shielded Nodes configuration.
    * 
@@ -1773,11 +2070,14 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( public static final int RELEASE_CHANNEL_FIELD_NUMBER = 41; private com.google.container.v1.ReleaseChannel releaseChannel_; /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; + * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -1785,18 +2085,25 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; + * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } /** + * + * *
    * Release channel configuration.
    * 
@@ -1811,12 +2118,15 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 43; private com.google.container.v1.WorkloadIdentityConfig workloadIdentityConfig_; /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -1824,19 +2134,26 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -1845,19 +2162,23 @@ public com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(
    * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
    */
   @java.lang.Override
-  public com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
+  public com.google.container.v1.WorkloadIdentityConfigOrBuilder
+      getWorkloadIdentityConfigOrBuilder() {
     return getWorkloadIdentityConfig();
   }
 
   public static final int MESH_CERTIFICATES_FIELD_NUMBER = 67;
   private com.google.container.v1.MeshCertificates meshCertificates_;
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; + * * @return Whether the meshCertificates field is set. */ @java.lang.Override @@ -1865,19 +2186,26 @@ public boolean hasMeshCertificates() { return meshCertificates_ != null; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; + * * @return The meshCertificates. */ @java.lang.Override public com.google.container.v1.MeshCertificates getMeshCertificates() { - return meshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : meshCertificates_; + return meshCertificates_ == null + ? com.google.container.v1.MeshCertificates.getDefaultInstance() + : meshCertificates_; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1893,11 +2221,14 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
   public static final int COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 45;
   private com.google.container.v1.CostManagementConfig costManagementConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; + * * @return Whether the costManagementConfig field is set. */ @java.lang.Override @@ -1905,18 +2236,25 @@ public boolean hasCostManagementConfig() { return costManagementConfig_ != null; } /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; + * * @return The costManagementConfig. */ @java.lang.Override public com.google.container.v1.CostManagementConfig getCostManagementConfig() { - return costManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; + return costManagementConfig_ == null + ? com.google.container.v1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; } /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -1931,11 +2269,14 @@ public com.google.container.v1.CostManagementConfigOrBuilder getCostManagementCo public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1.NotificationConfig notificationConfig_; /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; + * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -1943,18 +2284,25 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; + * * @return The notificationConfig. */ @java.lang.Override public com.google.container.v1.NotificationConfig getNotificationConfig() { - return notificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.container.v1.NotificationConfig.getDefaultInstance() + : notificationConfig_; } /** + * + * *
    * Notification configuration of the cluster.
    * 
@@ -1969,12 +2317,15 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 50; private com.google.container.v1.ConfidentialNodes confidentialNodes_; /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; + * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -1982,19 +2333,26 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; + * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -2010,11 +2368,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
   public static final int IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 54;
   private com.google.container.v1.IdentityServiceConfig identityServiceConfig_;
   /**
+   *
+   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * * @return Whether the identityServiceConfig field is set. */ @java.lang.Override @@ -2022,18 +2383,25 @@ public boolean hasIdentityServiceConfig() { return identityServiceConfig_ != null; } /** + * + * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * * @return The identityServiceConfig. */ @java.lang.Override public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() { - return identityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; + return identityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; } /** + * + * *
    * Configuration for Identity Service component.
    * 
@@ -2041,18 +2409,22 @@ public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ @java.lang.Override - public com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder + getIdentityServiceConfigOrBuilder() { return getIdentityServiceConfig(); } public static final int SELF_LINK_FIELD_NUMBER = 100; private volatile java.lang.Object selfLink_; /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ @java.lang.Override @@ -2061,29 +2433,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -2094,6 +2466,8 @@ public java.lang.String getSelfLink() { public static final int ZONE_FIELD_NUMBER = 101; private volatile java.lang.Object zone_; /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2101,24 +2475,27 @@ public java.lang.String getSelfLink() {
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2126,18 +2503,18 @@ public java.lang.String getSelfLink() {
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -2148,6 +2525,8 @@ public java.lang.String getSelfLink() { public static final int ENDPOINT_FIELD_NUMBER = 102; private volatile java.lang.Object endpoint_; /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2157,6 +2536,7 @@ public java.lang.String getSelfLink() {
    * 
* * string endpoint = 102; + * * @return The endpoint. */ @java.lang.Override @@ -2165,14 +2545,15 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2182,16 +2563,15 @@ public java.lang.String getEndpoint() {
    * 
* * string endpoint = 102; + * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -2202,6 +2582,8 @@ public java.lang.String getEndpoint() { public static final int INITIAL_CLUSTER_VERSION_FIELD_NUMBER = 103; private volatile java.lang.Object initialClusterVersion_; /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2217,6 +2599,7 @@ public java.lang.String getEndpoint() {
    * 
* * string initial_cluster_version = 103; + * * @return The initialClusterVersion. */ @java.lang.Override @@ -2225,14 +2608,15 @@ public java.lang.String getInitialClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; } } /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2248,16 +2632,15 @@ public java.lang.String getInitialClusterVersion() {
    * 
* * string initial_cluster_version = 103; + * * @return The bytes for initialClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -2268,11 +2651,14 @@ public java.lang.String getInitialClusterVersion() { public static final int CURRENT_MASTER_VERSION_FIELD_NUMBER = 104; private volatile java.lang.Object currentMasterVersion_; /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The currentMasterVersion. */ @java.lang.Override @@ -2281,29 +2667,29 @@ public java.lang.String getCurrentMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; } } /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The bytes for currentMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -2314,6 +2700,8 @@ public java.lang.String getCurrentMasterVersion() { public static final int CURRENT_NODE_VERSION_FIELD_NUMBER = 105; private volatile java.lang.Object currentNodeVersion_; /** + * + * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -2323,24 +2711,27 @@ public java.lang.String getCurrentMasterVersion() {
    * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @return The currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated + public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; } } /** + * + * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -2350,18 +2741,18 @@ public java.lang.String getCurrentMasterVersion() {
    * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @return The bytes for currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getCurrentNodeVersionBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -2372,12 +2763,15 @@ public java.lang.String getCurrentMasterVersion() { public static final int CREATE_TIME_FIELD_NUMBER = 106; private volatile java.lang.Object createTime_; /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The createTime. */ @java.lang.Override @@ -2386,30 +2780,30 @@ public java.lang.String getCreateTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The bytes for createTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreateTimeBytes() { + public com.google.protobuf.ByteString getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createTime_ = b; return b; } else { @@ -2420,33 +2814,44 @@ public java.lang.String getCreateTime() { public static final int STATUS_FIELD_NUMBER = 107; private int status_; /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; + * * @return The status. */ - @java.lang.Override public com.google.container.v1.Cluster.Status getStatus() { + @java.lang.Override + public com.google.container.v1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Cluster.Status result = com.google.container.v1.Cluster.Status.valueOf(status_); + com.google.container.v1.Cluster.Status result = + com.google.container.v1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1.Cluster.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 108; private volatile java.lang.Object statusMessage_; /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -2454,24 +2859,27 @@ public java.lang.String getCreateTime() {
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1.Cluster.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -2479,18 +2887,18 @@ public java.lang.String getCreateTime() {
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1.Cluster.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -2501,6 +2909,8 @@ public java.lang.String getCreateTime() { public static final int NODE_IPV4_CIDR_SIZE_FIELD_NUMBER = 109; private int nodeIpv4CidrSize_; /** + * + * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -2509,6 +2919,7 @@ public java.lang.String getCreateTime() {
    * 
* * int32 node_ipv4_cidr_size = 109; + * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -2519,6 +2930,8 @@ public int getNodeIpv4CidrSize() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 110; private volatile java.lang.Object servicesIpv4Cidr_; /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2528,6 +2941,7 @@ public int getNodeIpv4CidrSize() {
    * 
* * string services_ipv4_cidr = 110; + * * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -2536,14 +2950,15 @@ public java.lang.String getServicesIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2553,16 +2968,15 @@ public java.lang.String getServicesIpv4Cidr() {
    * 
* * string services_ipv4_cidr = 110; + * * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -2573,89 +2987,110 @@ public java.lang.String getServicesIpv4Cidr() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 111; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated + public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated + public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int CURRENT_NODE_COUNT_FIELD_NUMBER = 112; private int currentNodeCount_; /** + * + * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1710 + * + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1710 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getCurrentNodeCount() { + @java.lang.Deprecated + public int getCurrentNodeCount() { return currentNodeCount_; } public static final int EXPIRE_TIME_FIELD_NUMBER = 113; private volatile java.lang.Object expireTime_; /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The expireTime. */ @java.lang.Override @@ -2664,30 +3099,30 @@ public java.lang.String getExpireTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The bytes for expireTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getExpireTimeBytes() { + public com.google.protobuf.ByteString getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expireTime_ = b; return b; } else { @@ -2698,6 +3133,8 @@ public java.lang.String getExpireTime() { public static final int LOCATION_FIELD_NUMBER = 114; private volatile java.lang.Object location_; /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2707,6 +3144,7 @@ public java.lang.String getExpireTime() {
    * 
* * string location = 114; + * * @return The location. */ @java.lang.Override @@ -2715,14 +3153,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2732,16 +3171,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 114; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -2752,11 +3190,14 @@ public java.lang.String getLocation() { public static final int ENABLE_TPU_FIELD_NUMBER = 115; private boolean enableTpu_; /** + * + * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * 
* * bool enable_tpu = 115; + * * @return The enableTpu. */ @java.lang.Override @@ -2767,6 +3208,8 @@ public boolean getEnableTpu() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 116; private volatile java.lang.Object tpuIpv4CidrBlock_; /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -2774,6 +3217,7 @@ public boolean getEnableTpu() {
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -2782,14 +3226,15 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -2797,16 +3242,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -2817,6 +3261,8 @@ public java.lang.String getTpuIpv4CidrBlock() { public static final int CONDITIONS_FIELD_NUMBER = 118; private java.util.List conditions_; /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -2828,6 +3274,8 @@ public java.util.List getConditionsList return conditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -2835,11 +3283,13 @@ public java.util.List getConditionsList * repeated .google.container.v1.StatusCondition conditions = 118; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -2851,6 +3301,8 @@ public int getConditionsCount() { return conditions_.size(); } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -2862,6 +3314,8 @@ public com.google.container.v1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -2869,19 +3323,21 @@ public com.google.container.v1.StatusCondition getConditions(int index) { * repeated .google.container.v1.StatusCondition conditions = 118; */ @java.lang.Override - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { return conditions_.get(index); } public static final int AUTOPILOT_FIELD_NUMBER = 128; private com.google.container.v1.Autopilot autopilot_; /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; + * * @return Whether the autopilot field is set. */ @java.lang.Override @@ -2889,11 +3345,14 @@ public boolean hasAutopilot() { return autopilot_ != null; } /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; + * * @return The autopilot. */ @java.lang.Override @@ -2901,6 +3360,8 @@ public com.google.container.v1.Autopilot getAutopilot() { return autopilot_ == null ? com.google.container.v1.Autopilot.getDefaultInstance() : autopilot_; } /** + * + * *
    * Autopilot configuration for the cluster.
    * 
@@ -2915,11 +3376,14 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { public static final int ID_FIELD_NUMBER = 129; private volatile java.lang.Object id_; /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ @java.lang.Override @@ -2928,29 +3392,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2961,12 +3425,15 @@ public java.lang.String getId() { public static final int NODE_POOL_DEFAULTS_FIELD_NUMBER = 131; private com.google.container.v1.NodePoolDefaults nodePoolDefaults_; /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; + * * @return Whether the nodePoolDefaults field is set. */ @java.lang.Override @@ -2974,19 +3441,26 @@ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; + * * @return The nodePoolDefaults. */ @java.lang.Override public com.google.container.v1.NodePoolDefaults getNodePoolDefaults() { - return nodePoolDefaults_ == null ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; + return nodePoolDefaults_ == null + ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() + : nodePoolDefaults_; } /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -2996,17 +3470,22 @@ public com.google.container.v1.NodePoolDefaults getNodePoolDefaults() {
    */
   @java.lang.Override
   public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder() {
-    return nodePoolDefaults_ == null ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
+    return nodePoolDefaults_ == null
+        ? com.google.container.v1.NodePoolDefaults.getDefaultInstance()
+        : nodePoolDefaults_;
   }
 
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 132;
   private com.google.container.v1.LoggingConfig loggingConfig_;
   /**
+   *
+   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -3014,18 +3493,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration for the cluster.
    * 
@@ -3040,11 +3526,14 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( public static final int MONITORING_CONFIG_FIELD_NUMBER = 133; private com.google.container.v1.MonitoringConfig monitoringConfig_; /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; + * * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -3052,18 +3541,25 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; + * * @return The monitoringConfig. */ @java.lang.Override public com.google.container.v1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.container.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } /** + * + * *
    * Monitoring configuration for the cluster.
    * 
@@ -3078,12 +3574,15 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu public static final int NODE_POOL_AUTO_CONFIG_FIELD_NUMBER = 136; private com.google.container.v1.NodePoolAutoConfig nodePoolAutoConfig_; /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return Whether the nodePoolAutoConfig field is set. */ @java.lang.Override @@ -3091,19 +3590,26 @@ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfig_ != null; } /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return The nodePoolAutoConfig. */ @java.lang.Override public com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig() { - return nodePoolAutoConfig_ == null ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null + ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; } /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -3117,6 +3623,7 @@ public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfig
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -3128,8 +3635,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -3172,12 +3678,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (enableKubernetesAlpha_ != false) {
       output.writeBool(14, enableKubernetesAlpha_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetResourceLabels(),
-        ResourceLabelsDefaultEntryHolder.defaultEntry,
-        15);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 15);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 16, labelFingerprint_);
     }
@@ -3335,16 +3837,13 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
     }
     if (initialNodeCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(3, initialNodeCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_);
     }
     if (nodeConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getNodeConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodeConfig());
     }
     if (masterAuth_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getMasterAuth());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMasterAuth());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggingService_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, loggingService_);
@@ -3359,15 +3858,13 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4Cidr_);
     }
     if (addonsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, getAddonsConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getAddonsConfig());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, subnetwork_);
     }
     for (int i = 0; i < nodePools_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, nodePools_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, nodePools_.get(i));
     }
     {
       int dataSize = 0;
@@ -3378,109 +3875,100 @@ public int getSerializedSize() {
       size += 1 * getLocationsList().size();
     }
     if (enableKubernetesAlpha_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(14, enableKubernetesAlpha_);
-    }
-    for (java.util.Map.Entry entry
-         : internalGetResourceLabels().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(15, resourceLabels__);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, enableKubernetesAlpha_);
+    }
+    for (java.util.Map.Entry entry :
+        internalGetResourceLabels().getMap().entrySet()) {
+      com.google.protobuf.MapEntry resourceLabels__ =
+          ResourceLabelsDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, resourceLabels__);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, labelFingerprint_);
     }
     if (legacyAbac_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(18, getLegacyAbac());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLegacyAbac());
     }
     if (networkPolicy_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(19, getNetworkPolicy());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getNetworkPolicy());
     }
     if (ipAllocationPolicy_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(20, getIpAllocationPolicy());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getIpAllocationPolicy());
     }
     if (masterAuthorizedNetworksConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(22, getMasterAuthorizedNetworksConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              22, getMasterAuthorizedNetworksConfig());
     }
     if (maintenancePolicy_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(23, getMaintenancePolicy());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getMaintenancePolicy());
     }
     if (binaryAuthorization_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(24, getBinaryAuthorization());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(24, getBinaryAuthorization());
     }
     if (autoscaling_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(26, getAutoscaling());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getAutoscaling());
     }
     if (networkConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(27, getNetworkConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getNetworkConfig());
     }
     if (defaultMaxPodsConstraint_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(30, getDefaultMaxPodsConstraint());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              30, getDefaultMaxPodsConstraint());
     }
     if (resourceUsageExportConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(33, getResourceUsageExportConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              33, getResourceUsageExportConfig());
     }
     if (authenticatorGroupsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(34, getAuthenticatorGroupsConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              34, getAuthenticatorGroupsConfig());
     }
     if (privateClusterConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(37, getPrivateClusterConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(37, getPrivateClusterConfig());
     }
     if (databaseEncryption_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(38, getDatabaseEncryption());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getDatabaseEncryption());
     }
     if (verticalPodAutoscaling_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(39, getVerticalPodAutoscaling());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(39, getVerticalPodAutoscaling());
     }
     if (shieldedNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(40, getShieldedNodes());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(40, getShieldedNodes());
     }
     if (releaseChannel_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(41, getReleaseChannel());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(41, getReleaseChannel());
     }
     if (workloadIdentityConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(43, getWorkloadIdentityConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(43, getWorkloadIdentityConfig());
     }
     if (costManagementConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(45, getCostManagementConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(45, getCostManagementConfig());
     }
     if (notificationConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(49, getNotificationConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(49, getNotificationConfig());
     }
     if (confidentialNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(50, getConfidentialNodes());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getConfidentialNodes());
     }
     if (identityServiceConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(54, getIdentityServiceConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(54, getIdentityServiceConfig());
     }
     if (meshCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(67, getMeshCertificates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(67, getMeshCertificates());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_);
@@ -3504,15 +3992,13 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, createTime_);
     }
     if (status_ != com.google.container.v1.Cluster.Status.STATUS_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(107, status_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(107, status_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(108, statusMessage_);
     }
     if (nodeIpv4CidrSize_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(109, nodeIpv4CidrSize_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(109, nodeIpv4CidrSize_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesIpv4Cidr_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(110, servicesIpv4Cidr_);
@@ -3526,8 +4012,7 @@ public int getSerializedSize() {
       size += 2 * getInstanceGroupUrlsList().size();
     }
     if (currentNodeCount_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(112, currentNodeCount_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(112, currentNodeCount_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireTime_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(113, expireTime_);
@@ -3536,38 +4021,32 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114, location_);
     }
     if (enableTpu_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(115, enableTpu_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(115, enableTpu_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tpuIpv4CidrBlock_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(116, tpuIpv4CidrBlock_);
     }
     for (int i = 0; i < conditions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(118, conditions_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(118, conditions_.get(i));
     }
     if (autopilot_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(128, getAutopilot());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(128, getAutopilot());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(129, id_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(131, getNodePoolDefaults());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(131, getNodePoolDefaults());
     }
     if (loggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(132, getLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(132, getLoggingConfig());
     }
     if (monitoringConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(133, getMonitoringConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getMonitoringConfig());
     }
     if (nodePoolAutoConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(136, getNodePoolAutoConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(136, getNodePoolAutoConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -3577,225 +4056,168 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.Cluster)) {
       return super.equals(obj);
     }
     com.google.container.v1.Cluster other = (com.google.container.v1.Cluster) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
-    if (getInitialNodeCount()
-        != other.getInitialNodeCount()) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) return false;
+    if (getInitialNodeCount() != other.getInitialNodeCount()) return false;
     if (hasNodeConfig() != other.hasNodeConfig()) return false;
     if (hasNodeConfig()) {
-      if (!getNodeConfig()
-          .equals(other.getNodeConfig())) return false;
+      if (!getNodeConfig().equals(other.getNodeConfig())) return false;
     }
     if (hasMasterAuth() != other.hasMasterAuth()) return false;
     if (hasMasterAuth()) {
-      if (!getMasterAuth()
-          .equals(other.getMasterAuth())) return false;
-    }
-    if (!getLoggingService()
-        .equals(other.getLoggingService())) return false;
-    if (!getMonitoringService()
-        .equals(other.getMonitoringService())) return false;
-    if (!getNetwork()
-        .equals(other.getNetwork())) return false;
-    if (!getClusterIpv4Cidr()
-        .equals(other.getClusterIpv4Cidr())) return false;
+      if (!getMasterAuth().equals(other.getMasterAuth())) return false;
+    }
+    if (!getLoggingService().equals(other.getLoggingService())) return false;
+    if (!getMonitoringService().equals(other.getMonitoringService())) return false;
+    if (!getNetwork().equals(other.getNetwork())) return false;
+    if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false;
     if (hasAddonsConfig() != other.hasAddonsConfig()) return false;
     if (hasAddonsConfig()) {
-      if (!getAddonsConfig()
-          .equals(other.getAddonsConfig())) return false;
-    }
-    if (!getSubnetwork()
-        .equals(other.getSubnetwork())) return false;
-    if (!getNodePoolsList()
-        .equals(other.getNodePoolsList())) return false;
-    if (!getLocationsList()
-        .equals(other.getLocationsList())) return false;
-    if (getEnableKubernetesAlpha()
-        != other.getEnableKubernetesAlpha()) return false;
-    if (!internalGetResourceLabels().equals(
-        other.internalGetResourceLabels())) return false;
-    if (!getLabelFingerprint()
-        .equals(other.getLabelFingerprint())) return false;
+      if (!getAddonsConfig().equals(other.getAddonsConfig())) return false;
+    }
+    if (!getSubnetwork().equals(other.getSubnetwork())) return false;
+    if (!getNodePoolsList().equals(other.getNodePoolsList())) return false;
+    if (!getLocationsList().equals(other.getLocationsList())) return false;
+    if (getEnableKubernetesAlpha() != other.getEnableKubernetesAlpha()) return false;
+    if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false;
+    if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false;
     if (hasLegacyAbac() != other.hasLegacyAbac()) return false;
     if (hasLegacyAbac()) {
-      if (!getLegacyAbac()
-          .equals(other.getLegacyAbac())) return false;
+      if (!getLegacyAbac().equals(other.getLegacyAbac())) return false;
     }
     if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false;
     if (hasNetworkPolicy()) {
-      if (!getNetworkPolicy()
-          .equals(other.getNetworkPolicy())) return false;
+      if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false;
     }
     if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false;
     if (hasIpAllocationPolicy()) {
-      if (!getIpAllocationPolicy()
-          .equals(other.getIpAllocationPolicy())) return false;
+      if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false;
     }
-    if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig()) return false;
+    if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig())
+      return false;
     if (hasMasterAuthorizedNetworksConfig()) {
-      if (!getMasterAuthorizedNetworksConfig()
-          .equals(other.getMasterAuthorizedNetworksConfig())) return false;
+      if (!getMasterAuthorizedNetworksConfig().equals(other.getMasterAuthorizedNetworksConfig()))
+        return false;
     }
     if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false;
     if (hasMaintenancePolicy()) {
-      if (!getMaintenancePolicy()
-          .equals(other.getMaintenancePolicy())) return false;
+      if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false;
     }
     if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false;
     if (hasBinaryAuthorization()) {
-      if (!getBinaryAuthorization()
-          .equals(other.getBinaryAuthorization())) return false;
+      if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false;
     }
     if (hasAutoscaling() != other.hasAutoscaling()) return false;
     if (hasAutoscaling()) {
-      if (!getAutoscaling()
-          .equals(other.getAutoscaling())) return false;
+      if (!getAutoscaling().equals(other.getAutoscaling())) return false;
     }
     if (hasNetworkConfig() != other.hasNetworkConfig()) return false;
     if (hasNetworkConfig()) {
-      if (!getNetworkConfig()
-          .equals(other.getNetworkConfig())) return false;
+      if (!getNetworkConfig().equals(other.getNetworkConfig())) return false;
     }
     if (hasDefaultMaxPodsConstraint() != other.hasDefaultMaxPodsConstraint()) return false;
     if (hasDefaultMaxPodsConstraint()) {
-      if (!getDefaultMaxPodsConstraint()
-          .equals(other.getDefaultMaxPodsConstraint())) return false;
+      if (!getDefaultMaxPodsConstraint().equals(other.getDefaultMaxPodsConstraint())) return false;
     }
     if (hasResourceUsageExportConfig() != other.hasResourceUsageExportConfig()) return false;
     if (hasResourceUsageExportConfig()) {
-      if (!getResourceUsageExportConfig()
-          .equals(other.getResourceUsageExportConfig())) return false;
+      if (!getResourceUsageExportConfig().equals(other.getResourceUsageExportConfig()))
+        return false;
     }
     if (hasAuthenticatorGroupsConfig() != other.hasAuthenticatorGroupsConfig()) return false;
     if (hasAuthenticatorGroupsConfig()) {
-      if (!getAuthenticatorGroupsConfig()
-          .equals(other.getAuthenticatorGroupsConfig())) return false;
+      if (!getAuthenticatorGroupsConfig().equals(other.getAuthenticatorGroupsConfig()))
+        return false;
     }
     if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false;
     if (hasPrivateClusterConfig()) {
-      if (!getPrivateClusterConfig()
-          .equals(other.getPrivateClusterConfig())) return false;
+      if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false;
     }
     if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false;
     if (hasDatabaseEncryption()) {
-      if (!getDatabaseEncryption()
-          .equals(other.getDatabaseEncryption())) return false;
+      if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false;
     }
     if (hasVerticalPodAutoscaling() != other.hasVerticalPodAutoscaling()) return false;
     if (hasVerticalPodAutoscaling()) {
-      if (!getVerticalPodAutoscaling()
-          .equals(other.getVerticalPodAutoscaling())) return false;
+      if (!getVerticalPodAutoscaling().equals(other.getVerticalPodAutoscaling())) return false;
     }
     if (hasShieldedNodes() != other.hasShieldedNodes()) return false;
     if (hasShieldedNodes()) {
-      if (!getShieldedNodes()
-          .equals(other.getShieldedNodes())) return false;
+      if (!getShieldedNodes().equals(other.getShieldedNodes())) return false;
     }
     if (hasReleaseChannel() != other.hasReleaseChannel()) return false;
     if (hasReleaseChannel()) {
-      if (!getReleaseChannel()
-          .equals(other.getReleaseChannel())) return false;
+      if (!getReleaseChannel().equals(other.getReleaseChannel())) return false;
     }
     if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false;
     if (hasWorkloadIdentityConfig()) {
-      if (!getWorkloadIdentityConfig()
-          .equals(other.getWorkloadIdentityConfig())) return false;
+      if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false;
     }
     if (hasMeshCertificates() != other.hasMeshCertificates()) return false;
     if (hasMeshCertificates()) {
-      if (!getMeshCertificates()
-          .equals(other.getMeshCertificates())) return false;
+      if (!getMeshCertificates().equals(other.getMeshCertificates())) return false;
     }
     if (hasCostManagementConfig() != other.hasCostManagementConfig()) return false;
     if (hasCostManagementConfig()) {
-      if (!getCostManagementConfig()
-          .equals(other.getCostManagementConfig())) return false;
+      if (!getCostManagementConfig().equals(other.getCostManagementConfig())) return false;
     }
     if (hasNotificationConfig() != other.hasNotificationConfig()) return false;
     if (hasNotificationConfig()) {
-      if (!getNotificationConfig()
-          .equals(other.getNotificationConfig())) return false;
+      if (!getNotificationConfig().equals(other.getNotificationConfig())) return false;
     }
     if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false;
     if (hasConfidentialNodes()) {
-      if (!getConfidentialNodes()
-          .equals(other.getConfidentialNodes())) return false;
+      if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false;
     }
     if (hasIdentityServiceConfig() != other.hasIdentityServiceConfig()) return false;
     if (hasIdentityServiceConfig()) {
-      if (!getIdentityServiceConfig()
-          .equals(other.getIdentityServiceConfig())) return false;
-    }
-    if (!getSelfLink()
-        .equals(other.getSelfLink())) return false;
-    if (!getZone()
-        .equals(other.getZone())) return false;
-    if (!getEndpoint()
-        .equals(other.getEndpoint())) return false;
-    if (!getInitialClusterVersion()
-        .equals(other.getInitialClusterVersion())) return false;
-    if (!getCurrentMasterVersion()
-        .equals(other.getCurrentMasterVersion())) return false;
-    if (!getCurrentNodeVersion()
-        .equals(other.getCurrentNodeVersion())) return false;
-    if (!getCreateTime()
-        .equals(other.getCreateTime())) return false;
+      if (!getIdentityServiceConfig().equals(other.getIdentityServiceConfig())) return false;
+    }
+    if (!getSelfLink().equals(other.getSelfLink())) return false;
+    if (!getZone().equals(other.getZone())) return false;
+    if (!getEndpoint().equals(other.getEndpoint())) return false;
+    if (!getInitialClusterVersion().equals(other.getInitialClusterVersion())) return false;
+    if (!getCurrentMasterVersion().equals(other.getCurrentMasterVersion())) return false;
+    if (!getCurrentNodeVersion().equals(other.getCurrentNodeVersion())) return false;
+    if (!getCreateTime().equals(other.getCreateTime())) return false;
     if (status_ != other.status_) return false;
-    if (!getStatusMessage()
-        .equals(other.getStatusMessage())) return false;
-    if (getNodeIpv4CidrSize()
-        != other.getNodeIpv4CidrSize()) return false;
-    if (!getServicesIpv4Cidr()
-        .equals(other.getServicesIpv4Cidr())) return false;
-    if (!getInstanceGroupUrlsList()
-        .equals(other.getInstanceGroupUrlsList())) return false;
-    if (getCurrentNodeCount()
-        != other.getCurrentNodeCount()) return false;
-    if (!getExpireTime()
-        .equals(other.getExpireTime())) return false;
-    if (!getLocation()
-        .equals(other.getLocation())) return false;
-    if (getEnableTpu()
-        != other.getEnableTpu()) return false;
-    if (!getTpuIpv4CidrBlock()
-        .equals(other.getTpuIpv4CidrBlock())) return false;
-    if (!getConditionsList()
-        .equals(other.getConditionsList())) return false;
+    if (!getStatusMessage().equals(other.getStatusMessage())) return false;
+    if (getNodeIpv4CidrSize() != other.getNodeIpv4CidrSize()) return false;
+    if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false;
+    if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false;
+    if (getCurrentNodeCount() != other.getCurrentNodeCount()) return false;
+    if (!getExpireTime().equals(other.getExpireTime())) return false;
+    if (!getLocation().equals(other.getLocation())) return false;
+    if (getEnableTpu() != other.getEnableTpu()) return false;
+    if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false;
+    if (!getConditionsList().equals(other.getConditionsList())) return false;
     if (hasAutopilot() != other.hasAutopilot()) return false;
     if (hasAutopilot()) {
-      if (!getAutopilot()
-          .equals(other.getAutopilot())) return false;
+      if (!getAutopilot().equals(other.getAutopilot())) return false;
     }
-    if (!getId()
-        .equals(other.getId())) return false;
+    if (!getId().equals(other.getId())) return false;
     if (hasNodePoolDefaults() != other.hasNodePoolDefaults()) return false;
     if (hasNodePoolDefaults()) {
-      if (!getNodePoolDefaults()
-          .equals(other.getNodePoolDefaults())) return false;
+      if (!getNodePoolDefaults().equals(other.getNodePoolDefaults())) return false;
     }
     if (hasLoggingConfig() != other.hasLoggingConfig()) return false;
     if (hasLoggingConfig()) {
-      if (!getLoggingConfig()
-          .equals(other.getLoggingConfig())) return false;
+      if (!getLoggingConfig().equals(other.getLoggingConfig())) return false;
     }
     if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false;
     if (hasMonitoringConfig()) {
-      if (!getMonitoringConfig()
-          .equals(other.getMonitoringConfig())) return false;
+      if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false;
     }
     if (hasNodePoolAutoConfig() != other.hasNodePoolAutoConfig()) return false;
     if (hasNodePoolAutoConfig()) {
-      if (!getNodePoolAutoConfig()
-          .equals(other.getNodePoolAutoConfig())) return false;
+      if (!getNodePoolAutoConfig().equals(other.getNodePoolAutoConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -3845,8 +4267,7 @@ public int hashCode() {
       hash = (53 * hash) + getLocationsList().hashCode();
     }
     hash = (37 * hash) + ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getEnableKubernetesAlpha());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableKubernetesAlpha());
     if (!internalGetResourceLabels().getMap().isEmpty()) {
       hash = (37 * hash) + RESOURCE_LABELS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetResourceLabels().hashCode();
@@ -3974,8 +4395,7 @@ public int hashCode() {
     hash = (37 * hash) + LOCATION_FIELD_NUMBER;
     hash = (53 * hash) + getLocation().hashCode();
     hash = (37 * hash) + ENABLE_TPU_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getEnableTpu());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTpu());
     hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER;
     hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode();
     if (getConditionsCount() > 0) {
@@ -4009,138 +4429,143 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.Cluster parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.Cluster parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.Cluster parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.Cluster parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.container.v1.Cluster parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.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.container.v1.Cluster parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.Cluster parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.Cluster parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.Cluster parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.Cluster parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.Cluster parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.Cluster parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.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);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.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);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * A Google Kubernetes Engine cluster.
    * 
* * Protobuf type {@code google.container.v1.Cluster} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.Cluster) com.google.container.v1.ClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 15: return internalGetMutableResourceLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Cluster.class, com.google.container.v1.Cluster.Builder.class); } @@ -4150,19 +4575,19 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNodePoolsFieldBuilder(); getConditionsFieldBuilder(); getNodePoolDefaultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4423,9 +4848,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Cluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Cluster_descriptor; } @java.lang.Override @@ -4666,38 +5091,39 @@ public com.google.container.v1.Cluster buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.Cluster) { - return mergeFrom((com.google.container.v1.Cluster)other); + return mergeFrom((com.google.container.v1.Cluster) other); } else { super.mergeFrom(other); return this; @@ -4764,9 +5190,10 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodePoolsFieldBuilder() : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNodePoolsFieldBuilder() + : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -4785,8 +5212,7 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { if (other.getEnableKubernetesAlpha() != false) { setEnableKubernetesAlpha(other.getEnableKubernetesAlpha()); } - internalGetMutableResourceLabels().mergeFrom( - other.internalGetResourceLabels()); + internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels()); if (!other.getLabelFingerprint().isEmpty()) { labelFingerprint_ = other.labelFingerprint_; onChanged(); @@ -4945,9 +5371,10 @@ public Builder mergeFrom(com.google.container.v1.Cluster other) { conditionsBuilder_ = null; conditions_ = other.conditions_; bitField0_ = (bitField0_ & ~0x00000010); - conditionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConditionsFieldBuilder() : null; + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConditionsFieldBuilder() + : null; } else { conditionsBuilder_.addAllMessages(other.conditions_); } @@ -4998,403 +5425,425 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - initialNodeCount_ = input.readInt32(); - - break; - } // case 24 - case 34: { - input.readMessage( - getNodeConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getMasterAuthFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - loggingService_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - monitoringService_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - network_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: { - input.readMessage( - getAddonsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 82 - case 90: { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 98: { - com.google.container.v1.NodePool m = - input.readMessage( - com.google.container.v1.NodePool.parser(), - extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 112: { - enableKubernetesAlpha_ = input.readBool(); - - break; - } // case 112 - case 122: { - com.google.protobuf.MapEntry - resourceLabels__ = input.readMessage( - ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableResourceLabels().getMutableMap().put( - resourceLabels__.getKey(), resourceLabels__.getValue()); - break; - } // case 122 - case 130: { - labelFingerprint_ = input.readStringRequireUtf8(); - - break; - } // case 130 - case 146: { - input.readMessage( - getLegacyAbacFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 146 - case 154: { - input.readMessage( - getNetworkPolicyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 154 - case 162: { - input.readMessage( - getIpAllocationPolicyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 162 - case 178: { - input.readMessage( - getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 178 - case 186: { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 186 - case 194: { - input.readMessage( - getBinaryAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 194 - case 210: { - input.readMessage( - getAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 210 - case 218: { - input.readMessage( - getNetworkConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 218 - case 242: { - input.readMessage( - getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 242 - case 266: { - input.readMessage( - getResourceUsageExportConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 266 - case 274: { - input.readMessage( - getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 274 - case 298: { - input.readMessage( - getPrivateClusterConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 298 - case 306: { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 306 - case 314: { - input.readMessage( - getVerticalPodAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 314 - case 322: { - input.readMessage( - getShieldedNodesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 322 - case 330: { - input.readMessage( - getReleaseChannelFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 330 - case 346: { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 346 - case 362: { - input.readMessage( - getCostManagementConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 362 - case 394: { - input.readMessage( - getNotificationConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 394 - case 402: { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 402 - case 434: { - input.readMessage( - getIdentityServiceConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 434 - case 538: { - input.readMessage( - getMeshCertificatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 538 - case 802: { - selfLink_ = input.readStringRequireUtf8(); - - break; - } // case 802 - case 810: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 810 - case 818: { - endpoint_ = input.readStringRequireUtf8(); - - break; - } // case 818 - case 826: { - initialClusterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 826 - case 834: { - currentMasterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 834 - case 842: { - currentNodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 842 - case 850: { - createTime_ = input.readStringRequireUtf8(); - - break; - } // case 850 - case 856: { - status_ = input.readEnum(); - - break; - } // case 856 - case 866: { - statusMessage_ = input.readStringRequireUtf8(); - - break; - } // case 866 - case 872: { - nodeIpv4CidrSize_ = input.readInt32(); - - break; - } // case 872 - case 882: { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 882 - case 890: { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceGroupUrlsIsMutable(); - instanceGroupUrls_.add(s); - break; - } // case 890 - case 896: { - currentNodeCount_ = input.readInt32(); - - break; - } // case 896 - case 906: { - expireTime_ = input.readStringRequireUtf8(); - - break; - } // case 906 - case 914: { - location_ = input.readStringRequireUtf8(); - - break; - } // case 914 - case 920: { - enableTpu_ = input.readBool(); - - break; - } // case 920 - case 930: { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 930 - case 946: { - com.google.container.v1.StatusCondition m = - input.readMessage( - com.google.container.v1.StatusCondition.parser(), - extensionRegistry); - if (conditionsBuilder_ == null) { - ensureConditionsIsMutable(); - conditions_.add(m); - } else { - conditionsBuilder_.addMessage(m); - } - break; - } // case 946 - case 1026: { - input.readMessage( - getAutopilotFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1026 - case 1034: { - id_ = input.readStringRequireUtf8(); - - break; - } // case 1034 - case 1050: { - input.readMessage( - getNodePoolDefaultsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 1050 - case 1058: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1058 - case 1066: { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1066 - case 1090: { - input.readMessage( - getNodePoolAutoConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1090 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + initialNodeCount_ = input.readInt32(); + + break; + } // case 24 + case 34: + { + input.readMessage(getNodeConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage(getMasterAuthFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + loggingService_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + monitoringService_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + network_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: + { + input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 82 + case 90: + { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 98: + { + com.google.container.v1.NodePool m = + input.readMessage(com.google.container.v1.NodePool.parser(), extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 106 + case 112: + { + enableKubernetesAlpha_ = input.readBool(); + + break; + } // case 112 + case 122: + { + com.google.protobuf.MapEntry resourceLabels__ = + input.readMessage( + ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableResourceLabels() + .getMutableMap() + .put(resourceLabels__.getKey(), resourceLabels__.getValue()); + break; + } // case 122 + case 130: + { + labelFingerprint_ = input.readStringRequireUtf8(); + + break; + } // case 130 + case 146: + { + input.readMessage(getLegacyAbacFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 146 + case 154: + { + input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 154 + case 162: + { + input.readMessage( + getIpAllocationPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 162 + case 178: + { + input.readMessage( + getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 178 + case 186: + { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 186 + case 194: + { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 194 + case 210: + { + input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 210 + case 218: + { + input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 218 + case 242: + { + input.readMessage( + getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 242 + case 266: + { + input.readMessage( + getResourceUsageExportConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 266 + case 274: + { + input.readMessage( + getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 274 + case 298: + { + input.readMessage( + getPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 298 + case 306: + { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 306 + case 314: + { + input.readMessage( + getVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 314 + case 322: + { + input.readMessage(getShieldedNodesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 322 + case 330: + { + input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 330 + case 346: + { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 346 + case 362: + { + input.readMessage( + getCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 362 + case 394: + { + input.readMessage( + getNotificationConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 394 + case 402: + { + input.readMessage( + getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 402 + case 434: + { + input.readMessage( + getIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 434 + case 538: + { + input.readMessage( + getMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 538 + case 802: + { + selfLink_ = input.readStringRequireUtf8(); + + break; + } // case 802 + case 810: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 810 + case 818: + { + endpoint_ = input.readStringRequireUtf8(); + + break; + } // case 818 + case 826: + { + initialClusterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 826 + case 834: + { + currentMasterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 834 + case 842: + { + currentNodeVersion_ = input.readStringRequireUtf8(); + + break; + } // case 842 + case 850: + { + createTime_ = input.readStringRequireUtf8(); + + break; + } // case 850 + case 856: + { + status_ = input.readEnum(); + + break; + } // case 856 + case 866: + { + statusMessage_ = input.readStringRequireUtf8(); + + break; + } // case 866 + case 872: + { + nodeIpv4CidrSize_ = input.readInt32(); + + break; + } // case 872 + case 882: + { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 882 + case 890: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceGroupUrlsIsMutable(); + instanceGroupUrls_.add(s); + break; + } // case 890 + case 896: + { + currentNodeCount_ = input.readInt32(); + + break; + } // case 896 + case 906: + { + expireTime_ = input.readStringRequireUtf8(); + + break; + } // case 906 + case 914: + { + location_ = input.readStringRequireUtf8(); + + break; + } // case 914 + case 920: + { + enableTpu_ = input.readBool(); + + break; + } // case 920 + case 930: + { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 930 + case 946: + { + com.google.container.v1.StatusCondition m = + input.readMessage( + com.google.container.v1.StatusCondition.parser(), extensionRegistry); + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(m); + } else { + conditionsBuilder_.addMessage(m); + } + break; + } // case 946 + case 1026: + { + input.readMessage(getAutopilotFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1026 + case 1034: + { + id_ = input.readStringRequireUtf8(); + + break; + } // case 1034 + case 1050: + { + input.readMessage( + getNodePoolDefaultsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 1050 + case 1058: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1058 + case 1066: + { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1066 + case 1090: + { + input.readMessage( + getNodePoolAutoConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1090 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5404,10 +5853,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5418,13 +5870,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -5433,6 +5885,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5443,15 +5897,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5459,6 +5912,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5469,20 +5924,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5493,15 +5950,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -5512,16 +5972,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5529,18 +5989,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -5549,20 +6011,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -5570,61 +6033,70 @@ public java.lang.String getDescription() { } } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private int initialNodeCount_ ; + private int initialNodeCount_; /** + * + * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -5638,15 +6110,19 @@ public Builder setDescriptionBytes(
      * 
* * 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=1466 + * + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1466 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getInitialNodeCount() { + @java.lang.Deprecated + public int getInitialNodeCount() { return initialNodeCount_; } /** + * + * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -5660,18 +6136,22 @@ public Builder setDescriptionBytes(
      * 
* * 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=1466 + * + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1466 * @param value The initialNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setInitialNodeCount(int value) { - + @java.lang.Deprecated + public Builder setInitialNodeCount(int value) { + initialNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -5685,12 +6165,14 @@ public Builder setDescriptionBytes(
      * 
* * 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=1466 + * + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1466 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearInitialNodeCount() { - + @java.lang.Deprecated + public Builder clearInitialNodeCount() { + initialNodeCount_ = 0; onChanged(); return this; @@ -5698,8 +6180,13 @@ public Builder setDescriptionBytes( private com.google.container.v1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> nodeConfigBuilder_; + com.google.container.v1.NodeConfig, + com.google.container.v1.NodeConfig.Builder, + com.google.container.v1.NodeConfigOrBuilder> + nodeConfigBuilder_; /** + * + * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5714,14 +6201,18 @@ public Builder setDescriptionBytes(
      * 
* * .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=1479 + * + * @deprecated google.container.v1.Cluster.node_config is deprecated. See + * google/container/v1/cluster_service.proto;l=1479 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated public boolean hasNodeConfig() { + @java.lang.Deprecated + public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** + * + * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5736,18 +6227,24 @@ public Builder setDescriptionBytes(
      * 
* * .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=1479 + * + * @deprecated google.container.v1.Cluster.node_config is deprecated. See + * google/container/v1/cluster_service.proto;l=1479 * @return The nodeConfig. */ - @java.lang.Deprecated public com.google.container.v1.NodeConfig getNodeConfig() { + @java.lang.Deprecated + public com.google.container.v1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.container.v1.NodeConfig.getDefaultInstance() + : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** + * + * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5763,7 +6260,8 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setNodeConfig(com.google.container.v1.NodeConfig value) {
+    @java.lang.Deprecated
+    public Builder setNodeConfig(com.google.container.v1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5777,6 +6275,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5792,8 +6292,8 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setNodeConfig(
-        com.google.container.v1.NodeConfig.Builder builderForValue) {
+    @java.lang.Deprecated
+    public Builder setNodeConfig(com.google.container.v1.NodeConfig.Builder builderForValue) {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = builderForValue.build();
         onChanged();
@@ -5804,6 +6304,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5819,11 +6321,14 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder mergeNodeConfig(com.google.container.v1.NodeConfig value) {
+    @java.lang.Deprecated
+    public Builder mergeNodeConfig(com.google.container.v1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (nodeConfig_ != null) {
           nodeConfig_ =
-            com.google.container.v1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodeConfig.newBuilder(nodeConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodeConfig_ = value;
         }
@@ -5835,6 +6340,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5850,7 +6357,8 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder clearNodeConfig() {
+    @java.lang.Deprecated
+    public Builder clearNodeConfig() {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = null;
         onChanged();
@@ -5862,6 +6370,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5877,12 +6387,15 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1.NodeConfig.Builder getNodeConfigBuilder() {
-      
+    @java.lang.Deprecated
+    public com.google.container.v1.NodeConfig.Builder getNodeConfigBuilder() {
+
       onChanged();
       return getNodeConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5898,15 +6411,19 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+    @java.lang.Deprecated
+    public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
       if (nodeConfigBuilder_ != null) {
         return nodeConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodeConfig_ == null ?
-            com.google.container.v1.NodeConfig.getDefaultInstance() : nodeConfig_;
+        return nodeConfig_ == null
+            ? com.google.container.v1.NodeConfig.getDefaultInstance()
+            : nodeConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -5923,14 +6440,17 @@ public Builder setDescriptionBytes(
      * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> 
+            com.google.container.v1.NodeConfig,
+            com.google.container.v1.NodeConfig.Builder,
+            com.google.container.v1.NodeConfigOrBuilder>
         getNodeConfigFieldBuilder() {
       if (nodeConfigBuilder_ == null) {
-        nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder>(
-                getNodeConfig(),
-                getParentForChildren(),
-                isClean());
+        nodeConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodeConfig,
+                com.google.container.v1.NodeConfig.Builder,
+                com.google.container.v1.NodeConfigOrBuilder>(
+                getNodeConfig(), getParentForChildren(), isClean());
         nodeConfig_ = null;
       }
       return nodeConfigBuilder_;
@@ -5938,8 +6458,13 @@ public Builder setDescriptionBytes(
 
     private com.google.container.v1.MasterAuth masterAuth_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> masterAuthBuilder_;
+            com.google.container.v1.MasterAuth,
+            com.google.container.v1.MasterAuth.Builder,
+            com.google.container.v1.MasterAuthOrBuilder>
+        masterAuthBuilder_;
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -5949,12 +6474,15 @@ public Builder setDescriptionBytes(
      * 
* * .google.container.v1.MasterAuth master_auth = 5; + * * @return Whether the masterAuth field is set. */ public boolean hasMasterAuth() { return masterAuthBuilder_ != null || masterAuth_ != null; } /** + * + * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -5964,16 +6492,21 @@ public boolean hasMasterAuth() {
      * 
* * .google.container.v1.MasterAuth master_auth = 5; + * * @return The masterAuth. */ public com.google.container.v1.MasterAuth getMasterAuth() { if (masterAuthBuilder_ == null) { - return masterAuth_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : masterAuth_; + return masterAuth_ == null + ? com.google.container.v1.MasterAuth.getDefaultInstance() + : masterAuth_; } else { return masterAuthBuilder_.getMessage(); } } /** + * + * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -5998,6 +6531,8 @@ public Builder setMasterAuth(com.google.container.v1.MasterAuth value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6008,8 +6543,7 @@ public Builder setMasterAuth(com.google.container.v1.MasterAuth value) {
      *
      * .google.container.v1.MasterAuth master_auth = 5;
      */
-    public Builder setMasterAuth(
-        com.google.container.v1.MasterAuth.Builder builderForValue) {
+    public Builder setMasterAuth(com.google.container.v1.MasterAuth.Builder builderForValue) {
       if (masterAuthBuilder_ == null) {
         masterAuth_ = builderForValue.build();
         onChanged();
@@ -6020,6 +6554,8 @@ public Builder setMasterAuth(
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6034,7 +6570,9 @@ public Builder mergeMasterAuth(com.google.container.v1.MasterAuth value) {
       if (masterAuthBuilder_ == null) {
         if (masterAuth_ != null) {
           masterAuth_ =
-            com.google.container.v1.MasterAuth.newBuilder(masterAuth_).mergeFrom(value).buildPartial();
+              com.google.container.v1.MasterAuth.newBuilder(masterAuth_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           masterAuth_ = value;
         }
@@ -6046,6 +6584,8 @@ public Builder mergeMasterAuth(com.google.container.v1.MasterAuth value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6068,6 +6608,8 @@ public Builder clearMasterAuth() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6079,11 +6621,13 @@ public Builder clearMasterAuth() {
      * .google.container.v1.MasterAuth master_auth = 5;
      */
     public com.google.container.v1.MasterAuth.Builder getMasterAuthBuilder() {
-      
+
       onChanged();
       return getMasterAuthFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6098,11 +6642,14 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
       if (masterAuthBuilder_ != null) {
         return masterAuthBuilder_.getMessageOrBuilder();
       } else {
-        return masterAuth_ == null ?
-            com.google.container.v1.MasterAuth.getDefaultInstance() : masterAuth_;
+        return masterAuth_ == null
+            ? com.google.container.v1.MasterAuth.getDefaultInstance()
+            : masterAuth_;
       }
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6114,14 +6661,17 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
      * .google.container.v1.MasterAuth master_auth = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> 
+            com.google.container.v1.MasterAuth,
+            com.google.container.v1.MasterAuth.Builder,
+            com.google.container.v1.MasterAuthOrBuilder>
         getMasterAuthFieldBuilder() {
       if (masterAuthBuilder_ == null) {
-        masterAuthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder>(
-                getMasterAuth(),
-                getParentForChildren(),
-                isClean());
+        masterAuthBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.MasterAuth,
+                com.google.container.v1.MasterAuth.Builder,
+                com.google.container.v1.MasterAuthOrBuilder>(
+                getMasterAuth(), getParentForChildren(), isClean());
         masterAuth_ = null;
       }
       return masterAuthBuilder_;
@@ -6129,6 +6679,8 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
 
     private java.lang.Object loggingService_ = "";
     /**
+     *
+     *
      * 
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6142,13 +6694,13 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() {
      * 
* * string logging_service = 6; + * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -6157,6 +6709,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6170,15 +6724,14 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 6; + * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -6186,6 +6739,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6199,20 +6754,22 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 6; + * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService( - java.lang.String value) { + public Builder setLoggingService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6226,15 +6783,18 @@ public Builder setLoggingService(
      * 
* * string logging_service = 6; + * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6248,16 +6808,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 6; + * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -6265,6 +6825,8 @@ public Builder setLoggingServiceBytes( private java.lang.Object monitoringService_ = ""; /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6278,13 +6840,13 @@ public Builder setLoggingServiceBytes(
      * 
* * string monitoring_service = 7; + * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -6293,6 +6855,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6306,15 +6870,14 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 7; + * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -6322,6 +6885,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6335,20 +6900,22 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 7; + * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService( - java.lang.String value) { + public Builder setMonitoringService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6362,15 +6929,18 @@ public Builder setMonitoringService(
      * 
* * string monitoring_service = 7; + * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6384,16 +6954,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 7; + * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -6401,6 +6971,8 @@ public Builder setMonitoringServiceBytes( private java.lang.Object network_ = ""; /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -6409,13 +6981,13 @@ public Builder setMonitoringServiceBytes(
      * 
* * string network = 8; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -6424,6 +6996,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -6432,15 +7006,14 @@ public java.lang.String getNetwork() {
      * 
* * string network = 8; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -6448,6 +7021,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -6456,20 +7031,22 @@ public java.lang.String getNetwork() {
      * 
* * string network = 8; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -6478,15 +7055,18 @@ public Builder setNetwork(
      * 
* * string network = 8; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -6495,16 +7075,16 @@ public Builder clearNetwork() {
      * 
* * string network = 8; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -6512,6 +7092,8 @@ public Builder setNetworkBytes( private java.lang.Object clusterIpv4Cidr_ = ""; /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -6520,13 +7102,13 @@ public Builder setNetworkBytes(
      * 
* * string cluster_ipv4_cidr = 9; + * * @return The clusterIpv4Cidr. */ public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -6535,6 +7117,8 @@ public java.lang.String getClusterIpv4Cidr() { } } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -6543,15 +7127,14 @@ public java.lang.String getClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; + * * @return The bytes for clusterIpv4Cidr. */ - public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -6559,6 +7142,8 @@ public java.lang.String getClusterIpv4Cidr() { } } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -6567,20 +7152,22 @@ public java.lang.String getClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; + * * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4Cidr( - java.lang.String value) { + public Builder setClusterIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -6589,15 +7176,18 @@ public Builder setClusterIpv4Cidr(
      * 
* * string cluster_ipv4_cidr = 9; + * * @return This builder for chaining. */ public Builder clearClusterIpv4Cidr() { - + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -6606,16 +7196,16 @@ public Builder clearClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; + * * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -6623,34 +7213,47 @@ public Builder setClusterIpv4CidrBytes( private com.google.container.v1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> addonsConfigBuilder_; + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder> + addonsConfigBuilder_; /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig addons_config = 10; + * * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig addons_config = 10; + * * @return The addonsConfig. */ public com.google.container.v1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -6671,14 +7274,15 @@ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig addons_config = 10; */ - public Builder setAddonsConfig( - com.google.container.v1.AddonsConfig.Builder builderForValue) { + public Builder setAddonsConfig(com.google.container.v1.AddonsConfig.Builder builderForValue) { if (addonsConfigBuilder_ == null) { addonsConfig_ = builderForValue.build(); onChanged(); @@ -6689,6 +7293,8 @@ public Builder setAddonsConfig( return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -6699,7 +7305,9 @@ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_) + .mergeFrom(value) + .buildPartial(); } else { addonsConfig_ = value; } @@ -6711,6 +7319,8 @@ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -6729,6 +7339,8 @@ public Builder clearAddonsConfig() { return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -6736,11 +7348,13 @@ public Builder clearAddonsConfig() { * .google.container.v1.AddonsConfig addons_config = 10; */ public com.google.container.v1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -6751,11 +7365,14 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null ? - com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -6763,14 +7380,17 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() * .google.container.v1.AddonsConfig addons_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder>( - getAddonsConfig(), - getParentForChildren(), - isClean()); + addonsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder>( + getAddonsConfig(), getParentForChildren(), isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -6778,6 +7398,8 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() private java.lang.Object subnetwork_ = ""; /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -6785,13 +7407,13 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder()
      * 
* * string subnetwork = 11; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -6800,6 +7422,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -6807,15 +7431,14 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 11; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -6823,6 +7446,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -6830,20 +7455,22 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 11; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -6851,15 +7478,18 @@ public Builder setSubnetwork(
      * 
* * string subnetwork = 11; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -6867,34 +7497,40 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 11; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } private java.util.List nodePools_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> nodePoolsBuilder_; + com.google.container.v1.NodePool, + com.google.container.v1.NodePool.Builder, + com.google.container.v1.NodePoolOrBuilder> + nodePoolsBuilder_; /** + * + * *
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -6911,6 +7547,8 @@ public java.util.List getNodePoolsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -6927,6 +7565,8 @@ public int getNodePoolsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -6943,6 +7583,8 @@ public com.google.container.v1.NodePool getNodePools(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -6951,8 +7593,7 @@ public com.google.container.v1.NodePool getNodePools(int index) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public Builder setNodePools(
-        int index, com.google.container.v1.NodePool value) {
+    public Builder setNodePools(int index, com.google.container.v1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6966,6 +7607,8 @@ public Builder setNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -6986,6 +7629,8 @@ public Builder setNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7008,6 +7653,8 @@ public Builder addNodePools(com.google.container.v1.NodePool value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7016,8 +7663,7 @@ public Builder addNodePools(com.google.container.v1.NodePool value) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(
-        int index, com.google.container.v1.NodePool value) {
+    public Builder addNodePools(int index, com.google.container.v1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7031,6 +7677,8 @@ public Builder addNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7039,8 +7687,7 @@ public Builder addNodePools(
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(
-        com.google.container.v1.NodePool.Builder builderForValue) {
+    public Builder addNodePools(com.google.container.v1.NodePool.Builder builderForValue) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
         nodePools_.add(builderForValue.build());
@@ -7051,6 +7698,8 @@ public Builder addNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7071,6 +7720,8 @@ public Builder addNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7083,8 +7734,7 @@ public Builder addAllNodePools(
         java.lang.Iterable values) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, nodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_);
         onChanged();
       } else {
         nodePoolsBuilder_.addAllMessages(values);
@@ -7092,6 +7742,8 @@ public Builder addAllNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7111,6 +7763,8 @@ public Builder clearNodePools() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7130,6 +7784,8 @@ public Builder removeNodePools(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7138,11 +7794,12 @@ public Builder removeNodePools(int index) {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(
-        int index) {
+    public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(int index) {
       return getNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7151,14 +7808,16 @@ public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
-        int index) {
+    public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
       if (nodePoolsBuilder_ == null) {
-        return nodePools_.get(index);  } else {
+        return nodePools_.get(index);
+      } else {
         return nodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7167,8 +7826,8 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public java.util.List 
-         getNodePoolsOrBuilderList() {
+    public java.util.List
+        getNodePoolsOrBuilderList() {
       if (nodePoolsBuilder_ != null) {
         return nodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -7176,6 +7835,8 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7185,10 +7846,12 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
     public com.google.container.v1.NodePool.Builder addNodePoolsBuilder() {
-      return getNodePoolsFieldBuilder().addBuilder(
-          com.google.container.v1.NodePool.getDefaultInstance());
+      return getNodePoolsFieldBuilder()
+          .addBuilder(com.google.container.v1.NodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7197,12 +7860,13 @@ public com.google.container.v1.NodePool.Builder addNodePoolsBuilder() {
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(
-        int index) {
-      return getNodePoolsFieldBuilder().addBuilder(
-          index, com.google.container.v1.NodePool.getDefaultInstance());
+    public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(int index) {
+      return getNodePoolsFieldBuilder()
+          .addBuilder(index, com.google.container.v1.NodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7211,33 +7875,39 @@ public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(
      *
      * repeated .google.container.v1.NodePool node_pools = 12;
      */
-    public java.util.List 
-         getNodePoolsBuilderList() {
+    public java.util.List getNodePoolsBuilderList() {
       return getNodePoolsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> 
+            com.google.container.v1.NodePool,
+            com.google.container.v1.NodePool.Builder,
+            com.google.container.v1.NodePoolOrBuilder>
         getNodePoolsFieldBuilder() {
       if (nodePoolsBuilder_ == null) {
-        nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder>(
-                nodePools_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        nodePoolsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1.NodePool,
+                com.google.container.v1.NodePool.Builder,
+                com.google.container.v1.NodePoolOrBuilder>(
+                nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         nodePools_ = null;
       }
       return nodePoolsBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList locations_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureLocationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         locations_ = new com.google.protobuf.LazyStringArrayList(locations_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7251,13 +7921,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7271,12 +7943,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7290,6 +7965,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -7297,6 +7973,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7310,14 +7988,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7331,21 +8011,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7359,20 +8041,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 13; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7386,18 +8070,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 13; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7411,6 +8096,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 13; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -7420,6 +8106,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7433,23 +8121,25 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } - private boolean enableKubernetesAlpha_ ; + private boolean enableKubernetesAlpha_; /** + * + * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -7460,6 +8150,7 @@ public Builder addLocationsBytes(
      * 
* * bool enable_kubernetes_alpha = 14; + * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -7467,6 +8158,8 @@ public boolean getEnableKubernetesAlpha() { return enableKubernetesAlpha_; } /** + * + * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -7477,16 +8170,19 @@ public boolean getEnableKubernetesAlpha() {
      * 
* * bool enable_kubernetes_alpha = 14; + * * @param value The enableKubernetesAlpha to set. * @return This builder for chaining. */ public Builder setEnableKubernetesAlpha(boolean value) { - + enableKubernetesAlpha_ = value; onChanged(); return this; } /** + * + * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -7497,31 +8193,34 @@ public Builder setEnableKubernetesAlpha(boolean value) {
      * 
* * bool enable_kubernetes_alpha = 14; + * * @return This builder for chaining. */ public Builder clearEnableKubernetesAlpha() { - + enableKubernetesAlpha_ = false; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } + private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged();; + internalGetMutableResourceLabels() { + onChanged(); + ; if (resourceLabels_ == null) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = + com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -7533,6 +8232,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -7540,22 +8241,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 15;
      */
-
     @java.lang.Override
-    public boolean containsResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getResourceLabelsMap()} instead.
-     */
+    /** Use {@link #getResourceLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -7564,11 +8265,12 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -7577,16 +8279,17 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -7595,12 +8298,11 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-
-    public java.lang.String getResourceLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -7608,11 +8310,12 @@ public java.lang.String getResourceLabelsOrThrow(
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap()
-          .clear();
+      internalGetMutableResourceLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -7620,23 +8323,21 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 15;
      */
-
-    public Builder removeResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableResourceLabels().getMutableMap()
-          .remove(key);
+    public Builder removeResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableResourceLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableResourceLabels() {
+    public java.util.Map getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -7644,19 +8345,20 @@ public Builder removeResourceLabels(
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder putResourceLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableResourceLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableResourceLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -7664,28 +8366,27 @@ public Builder putResourceLabels(
      *
      * map<string, string> resource_labels = 15;
      */
-
-    public Builder putAllResourceLabels(
-        java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllResourceLabels(java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private java.lang.Object labelFingerprint_ = "";
     /**
+     *
+     *
      * 
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @return The labelFingerprint. */ public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; @@ -7694,20 +8395,21 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -7715,54 +8417,61 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint( - java.lang.String value) { + public Builder setLabelFingerprint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes( - com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -7770,34 +8479,47 @@ public Builder setLabelFingerprintBytes( private com.google.container.v1.LegacyAbac legacyAbac_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LegacyAbac, com.google.container.v1.LegacyAbac.Builder, com.google.container.v1.LegacyAbacOrBuilder> legacyAbacBuilder_; + com.google.container.v1.LegacyAbac, + com.google.container.v1.LegacyAbac.Builder, + com.google.container.v1.LegacyAbacOrBuilder> + legacyAbacBuilder_; /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; + * * @return Whether the legacyAbac field is set. */ public boolean hasLegacyAbac() { return legacyAbacBuilder_ != null || legacyAbac_ != null; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; + * * @return The legacyAbac. */ public com.google.container.v1.LegacyAbac getLegacyAbac() { if (legacyAbacBuilder_ == null) { - return legacyAbac_ == null ? com.google.container.v1.LegacyAbac.getDefaultInstance() : legacyAbac_; + return legacyAbac_ == null + ? com.google.container.v1.LegacyAbac.getDefaultInstance() + : legacyAbac_; } else { return legacyAbacBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -7818,14 +8540,15 @@ public Builder setLegacyAbac(com.google.container.v1.LegacyAbac value) { return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; */ - public Builder setLegacyAbac( - com.google.container.v1.LegacyAbac.Builder builderForValue) { + public Builder setLegacyAbac(com.google.container.v1.LegacyAbac.Builder builderForValue) { if (legacyAbacBuilder_ == null) { legacyAbac_ = builderForValue.build(); onChanged(); @@ -7836,6 +8559,8 @@ public Builder setLegacyAbac( return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -7846,7 +8571,9 @@ public Builder mergeLegacyAbac(com.google.container.v1.LegacyAbac value) { if (legacyAbacBuilder_ == null) { if (legacyAbac_ != null) { legacyAbac_ = - com.google.container.v1.LegacyAbac.newBuilder(legacyAbac_).mergeFrom(value).buildPartial(); + com.google.container.v1.LegacyAbac.newBuilder(legacyAbac_) + .mergeFrom(value) + .buildPartial(); } else { legacyAbac_ = value; } @@ -7858,6 +8585,8 @@ public Builder mergeLegacyAbac(com.google.container.v1.LegacyAbac value) { return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -7876,6 +8605,8 @@ public Builder clearLegacyAbac() { return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -7883,11 +8614,13 @@ public Builder clearLegacyAbac() { * .google.container.v1.LegacyAbac legacy_abac = 18; */ public com.google.container.v1.LegacyAbac.Builder getLegacyAbacBuilder() { - + onChanged(); return getLegacyAbacFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -7898,11 +8631,14 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { if (legacyAbacBuilder_ != null) { return legacyAbacBuilder_.getMessageOrBuilder(); } else { - return legacyAbac_ == null ? - com.google.container.v1.LegacyAbac.getDefaultInstance() : legacyAbac_; + return legacyAbac_ == null + ? com.google.container.v1.LegacyAbac.getDefaultInstance() + : legacyAbac_; } } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -7910,14 +8646,17 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { * .google.container.v1.LegacyAbac legacy_abac = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LegacyAbac, com.google.container.v1.LegacyAbac.Builder, com.google.container.v1.LegacyAbacOrBuilder> + com.google.container.v1.LegacyAbac, + com.google.container.v1.LegacyAbac.Builder, + com.google.container.v1.LegacyAbacOrBuilder> getLegacyAbacFieldBuilder() { if (legacyAbacBuilder_ == null) { - legacyAbacBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LegacyAbac, com.google.container.v1.LegacyAbac.Builder, com.google.container.v1.LegacyAbacOrBuilder>( - getLegacyAbac(), - getParentForChildren(), - isClean()); + legacyAbacBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LegacyAbac, + com.google.container.v1.LegacyAbac.Builder, + com.google.container.v1.LegacyAbacOrBuilder>( + getLegacyAbac(), getParentForChildren(), isClean()); legacyAbac_ = null; } return legacyAbacBuilder_; @@ -7925,34 +8664,47 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { private com.google.container.v1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> networkPolicyBuilder_; + com.google.container.v1.NetworkPolicy, + com.google.container.v1.NetworkPolicy.Builder, + com.google.container.v1.NetworkPolicyOrBuilder> + networkPolicyBuilder_; /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1.NetworkPolicy network_policy = 19; + * * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1.NetworkPolicy network_policy = 19; + * * @return The networkPolicy. */ public com.google.container.v1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -7973,14 +8725,15 @@ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1.NetworkPolicy network_policy = 19; */ - public Builder setNetworkPolicy( - com.google.container.v1.NetworkPolicy.Builder builderForValue) { + public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy.Builder builderForValue) { if (networkPolicyBuilder_ == null) { networkPolicy_ = builderForValue.build(); onChanged(); @@ -7991,6 +8744,8 @@ public Builder setNetworkPolicy( return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8001,7 +8756,9 @@ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_) + .mergeFrom(value) + .buildPartial(); } else { networkPolicy_ = value; } @@ -8013,6 +8770,8 @@ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8031,6 +8790,8 @@ public Builder clearNetworkPolicy() { return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8038,11 +8799,13 @@ public Builder clearNetworkPolicy() { * .google.container.v1.NetworkPolicy network_policy = 19; */ public com.google.container.v1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8053,11 +8816,14 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null ? - com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8065,14 +8831,17 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( * .google.container.v1.NetworkPolicy network_policy = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> + com.google.container.v1.NetworkPolicy, + com.google.container.v1.NetworkPolicy.Builder, + com.google.container.v1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), - getParentForChildren(), - isClean()); + networkPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkPolicy, + com.google.container.v1.NetworkPolicy.Builder, + com.google.container.v1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), getParentForChildren(), isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -8080,34 +8849,47 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( private com.google.container.v1.IPAllocationPolicy ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IPAllocationPolicy, com.google.container.v1.IPAllocationPolicy.Builder, com.google.container.v1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; + com.google.container.v1.IPAllocationPolicy, + com.google.container.v1.IPAllocationPolicy.Builder, + com.google.container.v1.IPAllocationPolicyOrBuilder> + ipAllocationPolicyBuilder_; /** + * + * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return The ipAllocationPolicy. */ public com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() + : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8128,6 +8910,8 @@ public Builder setIpAllocationPolicy(com.google.container.v1.IPAllocationPolicy return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8146,6 +8930,8 @@ public Builder setIpAllocationPolicy( return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8156,7 +8942,9 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1.IPAllocationPolic if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.container.v1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_) + .mergeFrom(value) + .buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -8168,6 +8956,8 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1.IPAllocationPolic return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8186,6 +8976,8 @@ public Builder clearIpAllocationPolicy() { return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8193,11 +8985,13 @@ public Builder clearIpAllocationPolicy() { * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; */ public com.google.container.v1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { - + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8208,11 +9002,14 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null ? - com.google.container.v1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() + : ipAllocationPolicy_; } } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8220,14 +9017,17 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IPAllocationPolicy, com.google.container.v1.IPAllocationPolicy.Builder, com.google.container.v1.IPAllocationPolicyOrBuilder> + com.google.container.v1.IPAllocationPolicy, + com.google.container.v1.IPAllocationPolicy.Builder, + com.google.container.v1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IPAllocationPolicy, com.google.container.v1.IPAllocationPolicy.Builder, com.google.container.v1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), - getParentForChildren(), - isClean()); + ipAllocationPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IPAllocationPolicy, + com.google.container.v1.IPAllocationPolicy.Builder, + com.google.container.v1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), getParentForChildren(), isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; @@ -8235,41 +9035,63 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy private com.google.container.v1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> masterAuthorizedNetworksConfigBuilder_; + com.google.container.v1.MasterAuthorizedNetworksConfig, + com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> + masterAuthorizedNetworksConfigBuilder_; /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return Whether the masterAuthorizedNetworksConfig field is set. */ public boolean hasMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfigBuilder_ != null || masterAuthorizedNetworksConfig_ != null; + return masterAuthorizedNetworksConfigBuilder_ != null + || masterAuthorizedNetworksConfig_ != null; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return The masterAuthorizedNetworksConfig. */ - public com.google.container.v1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { + public com.google.container.v1.MasterAuthorizedNetworksConfig + getMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null + ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : masterAuthorizedNetworksConfig_; } else { return masterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public Builder setMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder setMasterAuthorizedNetworksConfig( + com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8283,11 +9105,15 @@ public Builder setMasterAuthorizedNetworksConfig(com.google.container.v1.MasterA return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ public Builder setMasterAuthorizedNetworksConfig( com.google.container.v1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -8301,17 +9127,25 @@ public Builder setMasterAuthorizedNetworksConfig( return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public Builder mergeMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder mergeMasterAuthorizedNetworksConfig( + com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (masterAuthorizedNetworksConfig_ != null) { masterAuthorizedNetworksConfig_ = - com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder(masterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder( + masterAuthorizedNetworksConfig_) + .mergeFrom(value) + .buildPartial(); } else { masterAuthorizedNetworksConfig_ = value; } @@ -8323,11 +9157,15 @@ public Builder mergeMasterAuthorizedNetworksConfig(com.google.container.v1.Maste return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ public Builder clearMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { @@ -8341,48 +9179,66 @@ public Builder clearMasterAuthorizedNetworksConfig() { return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder getMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder + getMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder + getMasterAuthorizedNetworksConfigOrBuilder() { if (masterAuthorizedNetworksConfigBuilder_ != null) { return masterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return masterAuthorizedNetworksConfig_ == null ? - com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null + ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : masterAuthorizedNetworksConfig_; } } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1.MasterAuthorizedNetworksConfig, + com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> getMasterAuthorizedNetworksConfigFieldBuilder() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - masterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( - getMasterAuthorizedNetworksConfig(), - getParentForChildren(), - isClean()); + masterAuthorizedNetworksConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MasterAuthorizedNetworksConfig, + com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( + getMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); masterAuthorizedNetworksConfig_ = null; } return masterAuthorizedNetworksConfigBuilder_; @@ -8390,34 +9246,47 @@ public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMaster private com.google.container.v1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; + com.google.container.v1.MaintenancePolicy, + com.google.container.v1.MaintenancePolicy.Builder, + com.google.container.v1.MaintenancePolicyOrBuilder> + maintenancePolicyBuilder_; /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; + * * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; + * * @return The maintenancePolicy. */ public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -8438,6 +9307,8 @@ public Builder setMaintenancePolicy(com.google.container.v1.MaintenancePolicy va return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -8456,6 +9327,8 @@ public Builder setMaintenancePolicy( return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -8466,7 +9339,9 @@ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_) + .mergeFrom(value) + .buildPartial(); } else { maintenancePolicy_ = value; } @@ -8478,6 +9353,8 @@ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -8496,6 +9373,8 @@ public Builder clearMaintenancePolicy() { return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -8503,11 +9382,13 @@ public Builder clearMaintenancePolicy() { * .google.container.v1.MaintenancePolicy maintenance_policy = 23; */ public com.google.container.v1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -8518,11 +9399,14 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null ? - com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -8530,14 +9414,17 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr * .google.container.v1.MaintenancePolicy maintenance_policy = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> + com.google.container.v1.MaintenancePolicy, + com.google.container.v1.MaintenancePolicy.Builder, + com.google.container.v1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), - getParentForChildren(), - isClean()); + maintenancePolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenancePolicy, + com.google.container.v1.MaintenancePolicy.Builder, + com.google.container.v1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), getParentForChildren(), isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -8545,34 +9432,47 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr private com.google.container.v1.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; + com.google.container.v1.BinaryAuthorization, + com.google.container.v1.BinaryAuthorization.Builder, + com.google.container.v1.BinaryAuthorizationOrBuilder> + binaryAuthorizationBuilder_; /** + * + * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; + * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return binaryAuthorizationBuilder_ != null || binaryAuthorization_ != null; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; + * * @return The binaryAuthorization. */ public com.google.container.v1.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -8593,6 +9493,8 @@ public Builder setBinaryAuthorization(com.google.container.v1.BinaryAuthorizatio return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -8611,6 +9513,8 @@ public Builder setBinaryAuthorization( return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -8621,7 +9525,9 @@ public Builder mergeBinaryAuthorization(com.google.container.v1.BinaryAuthorizat if (binaryAuthorizationBuilder_ == null) { if (binaryAuthorization_ != null) { binaryAuthorization_ = - com.google.container.v1.BinaryAuthorization.newBuilder(binaryAuthorization_).mergeFrom(value).buildPartial(); + com.google.container.v1.BinaryAuthorization.newBuilder(binaryAuthorization_) + .mergeFrom(value) + .buildPartial(); } else { binaryAuthorization_ = value; } @@ -8633,6 +9539,8 @@ public Builder mergeBinaryAuthorization(com.google.container.v1.BinaryAuthorizat return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -8651,6 +9559,8 @@ public Builder clearBinaryAuthorization() { return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -8658,11 +9568,13 @@ public Builder clearBinaryAuthorization() { * .google.container.v1.BinaryAuthorization binary_authorization = 24; */ public com.google.container.v1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { - + onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -8673,11 +9585,14 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null ? - com.google.container.v1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -8685,14 +9600,17 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati * .google.container.v1.BinaryAuthorization binary_authorization = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> + com.google.container.v1.BinaryAuthorization, + com.google.container.v1.BinaryAuthorization.Builder, + com.google.container.v1.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), - getParentForChildren(), - isClean()); + binaryAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BinaryAuthorization, + com.google.container.v1.BinaryAuthorization.Builder, + com.google.container.v1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), getParentForChildren(), isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; @@ -8700,34 +9618,47 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati private com.google.container.v1.ClusterAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> autoscalingBuilder_; + com.google.container.v1.ClusterAutoscaling, + com.google.container.v1.ClusterAutoscaling.Builder, + com.google.container.v1.ClusterAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; + * * @return The autoscaling. */ public com.google.container.v1.ClusterAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -8748,6 +9679,8 @@ public Builder setAutoscaling(com.google.container.v1.ClusterAutoscaling value) return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -8766,6 +9699,8 @@ public Builder setAutoscaling( return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -8776,7 +9711,9 @@ public Builder mergeAutoscaling(com.google.container.v1.ClusterAutoscaling value if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1.ClusterAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1.ClusterAutoscaling.newBuilder(autoscaling_) + .mergeFrom(value) + .buildPartial(); } else { autoscaling_ = value; } @@ -8788,6 +9725,8 @@ public Builder mergeAutoscaling(com.google.container.v1.ClusterAutoscaling value return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -8806,6 +9745,8 @@ public Builder clearAutoscaling() { return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -8813,11 +9754,13 @@ public Builder clearAutoscaling() { * .google.container.v1.ClusterAutoscaling autoscaling = 26; */ public com.google.container.v1.ClusterAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -8828,11 +9771,14 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null ? - com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() + : autoscaling_; } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -8840,14 +9786,17 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild * .google.container.v1.ClusterAutoscaling autoscaling = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> + com.google.container.v1.ClusterAutoscaling, + com.google.container.v1.ClusterAutoscaling.Builder, + com.google.container.v1.ClusterAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder>( - getAutoscaling(), - getParentForChildren(), - isClean()); + autoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ClusterAutoscaling, + com.google.container.v1.ClusterAutoscaling.Builder, + com.google.container.v1.ClusterAutoscalingOrBuilder>( + getAutoscaling(), getParentForChildren(), isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -8855,34 +9804,47 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild private com.google.container.v1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkConfig, com.google.container.v1.NetworkConfig.Builder, com.google.container.v1.NetworkConfigOrBuilder> networkConfigBuilder_; + com.google.container.v1.NetworkConfig, + com.google.container.v1.NetworkConfig.Builder, + com.google.container.v1.NetworkConfigOrBuilder> + networkConfigBuilder_; /** + * + * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1.NetworkConfig network_config = 27; + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** + * + * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1.NetworkConfig network_config = 27; + * * @return The networkConfig. */ public com.google.container.v1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.container.v1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1.NetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -8903,14 +9865,15 @@ public Builder setNetworkConfig(com.google.container.v1.NetworkConfig value) { return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1.NetworkConfig network_config = 27; */ - public Builder setNetworkConfig( - com.google.container.v1.NetworkConfig.Builder builderForValue) { + public Builder setNetworkConfig(com.google.container.v1.NetworkConfig.Builder builderForValue) { if (networkConfigBuilder_ == null) { networkConfig_ = builderForValue.build(); onChanged(); @@ -8921,6 +9884,8 @@ public Builder setNetworkConfig( return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -8931,7 +9896,9 @@ public Builder mergeNetworkConfig(com.google.container.v1.NetworkConfig value) { if (networkConfigBuilder_ == null) { if (networkConfig_ != null) { networkConfig_ = - com.google.container.v1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NetworkConfig.newBuilder(networkConfig_) + .mergeFrom(value) + .buildPartial(); } else { networkConfig_ = value; } @@ -8943,6 +9910,8 @@ public Builder mergeNetworkConfig(com.google.container.v1.NetworkConfig value) { return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -8961,6 +9930,8 @@ public Builder clearNetworkConfig() { return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -8968,11 +9939,13 @@ public Builder clearNetworkConfig() { * .google.container.v1.NetworkConfig network_config = 27; */ public com.google.container.v1.NetworkConfig.Builder getNetworkConfigBuilder() { - + onChanged(); return getNetworkConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -8983,11 +9956,14 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null ? - com.google.container.v1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1.NetworkConfig.getDefaultInstance() + : networkConfig_; } } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -8995,14 +9971,17 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( * .google.container.v1.NetworkConfig network_config = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkConfig, com.google.container.v1.NetworkConfig.Builder, com.google.container.v1.NetworkConfigOrBuilder> + com.google.container.v1.NetworkConfig, + com.google.container.v1.NetworkConfig.Builder, + com.google.container.v1.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkConfig, com.google.container.v1.NetworkConfig.Builder, com.google.container.v1.NetworkConfigOrBuilder>( - getNetworkConfig(), - getParentForChildren(), - isClean()); + networkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkConfig, + com.google.container.v1.NetworkConfig.Builder, + com.google.container.v1.NetworkConfigOrBuilder>( + getNetworkConfig(), getParentForChildren(), isClean()); networkConfig_ = null; } return networkConfigBuilder_; @@ -9010,8 +9989,13 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( private com.google.container.v1.MaxPodsConstraint defaultMaxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> defaultMaxPodsConstraintBuilder_; + com.google.container.v1.MaxPodsConstraint, + com.google.container.v1.MaxPodsConstraint.Builder, + com.google.container.v1.MaxPodsConstraintOrBuilder> + defaultMaxPodsConstraintBuilder_; /** + * + * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9019,12 +10003,15 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(
      * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return Whether the defaultMaxPodsConstraint field is set. */ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraintBuilder_ != null || defaultMaxPodsConstraint_ != null; } /** + * + * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9032,16 +10019,21 @@ public boolean hasDefaultMaxPodsConstraint() {
      * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return The defaultMaxPodsConstraint. */ public com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint() { if (defaultMaxPodsConstraintBuilder_ == null) { - return defaultMaxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null + ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() + : defaultMaxPodsConstraint_; } else { return defaultMaxPodsConstraintBuilder_.getMessage(); } } /** + * + * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9064,6 +10056,8 @@ public Builder setDefaultMaxPodsConstraint(com.google.container.v1.MaxPodsConstr
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9084,6 +10078,8 @@ public Builder setDefaultMaxPodsConstraint(
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9096,7 +10092,9 @@ public Builder mergeDefaultMaxPodsConstraint(com.google.container.v1.MaxPodsCons
       if (defaultMaxPodsConstraintBuilder_ == null) {
         if (defaultMaxPodsConstraint_ != null) {
           defaultMaxPodsConstraint_ =
-            com.google.container.v1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_).mergeFrom(value).buildPartial();
+              com.google.container.v1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           defaultMaxPodsConstraint_ = value;
         }
@@ -9108,6 +10106,8 @@ public Builder mergeDefaultMaxPodsConstraint(com.google.container.v1.MaxPodsCons
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9128,6 +10128,8 @@ public Builder clearDefaultMaxPodsConstraint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9137,11 +10139,13 @@ public Builder clearDefaultMaxPodsConstraint() {
      * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
     public com.google.container.v1.MaxPodsConstraint.Builder getDefaultMaxPodsConstraintBuilder() {
-      
+
       onChanged();
       return getDefaultMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9150,15 +10154,19 @@ public com.google.container.v1.MaxPodsConstraint.Builder getDefaultMaxPodsConstr
      *
      * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder() {
+    public com.google.container.v1.MaxPodsConstraintOrBuilder
+        getDefaultMaxPodsConstraintOrBuilder() {
       if (defaultMaxPodsConstraintBuilder_ != null) {
         return defaultMaxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return defaultMaxPodsConstraint_ == null ?
-            com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_;
+        return defaultMaxPodsConstraint_ == null
+            ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance()
+            : defaultMaxPodsConstraint_;
       }
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -9168,14 +10176,17 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConst
      * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> 
+            com.google.container.v1.MaxPodsConstraint,
+            com.google.container.v1.MaxPodsConstraint.Builder,
+            com.google.container.v1.MaxPodsConstraintOrBuilder>
         getDefaultMaxPodsConstraintFieldBuilder() {
       if (defaultMaxPodsConstraintBuilder_ == null) {
-        defaultMaxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder>(
-                getDefaultMaxPodsConstraint(),
-                getParentForChildren(),
-                isClean());
+        defaultMaxPodsConstraintBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.MaxPodsConstraint,
+                com.google.container.v1.MaxPodsConstraint.Builder,
+                com.google.container.v1.MaxPodsConstraintOrBuilder>(
+                getDefaultMaxPodsConstraint(), getParentForChildren(), isClean());
         defaultMaxPodsConstraint_ = null;
       }
       return defaultMaxPodsConstraintBuilder_;
@@ -9183,44 +10194,61 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConst
 
     private com.google.container.v1.ResourceUsageExportConfig resourceUsageExportConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> resourceUsageExportConfigBuilder_;
+            com.google.container.v1.ResourceUsageExportConfig,
+            com.google.container.v1.ResourceUsageExportConfig.Builder,
+            com.google.container.v1.ResourceUsageExportConfigOrBuilder>
+        resourceUsageExportConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return Whether the resourceUsageExportConfig field is set. */ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfigBuilder_ != null || resourceUsageExportConfig_ != null; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return The resourceUsageExportConfig. */ public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { - return resourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() + : resourceUsageExportConfig_; } else { return resourceUsageExportConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public Builder setResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { + public Builder setResourceUsageExportConfig( + com.google.container.v1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9234,12 +10262,15 @@ public Builder setResourceUsageExportConfig(com.google.container.v1.ResourceUsag return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ public Builder setResourceUsageExportConfig( com.google.container.v1.ResourceUsageExportConfig.Builder builderForValue) { @@ -9253,18 +10284,25 @@ public Builder setResourceUsageExportConfig( return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public Builder mergeResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { + public Builder mergeResourceUsageExportConfig( + com.google.container.v1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (resourceUsageExportConfig_ != null) { resourceUsageExportConfig_ = - com.google.container.v1.ResourceUsageExportConfig.newBuilder(resourceUsageExportConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.newBuilder( + resourceUsageExportConfig_) + .mergeFrom(value) + .buildPartial(); } else { resourceUsageExportConfig_ = value; } @@ -9276,12 +10314,15 @@ public Builder mergeResourceUsageExportConfig(com.google.container.v1.ResourceUs return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ public Builder clearResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { @@ -9295,51 +10336,66 @@ public Builder clearResourceUsageExportConfig() { return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public com.google.container.v1.ResourceUsageExportConfig.Builder getResourceUsageExportConfigBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.Builder + getResourceUsageExportConfigBuilder() { + onChanged(); return getResourceUsageExportConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfigOrBuilder + getResourceUsageExportConfigOrBuilder() { if (resourceUsageExportConfigBuilder_ != null) { return resourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return resourceUsageExportConfig_ == null ? - com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() + : resourceUsageExportConfig_; } } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config is unspecified.
      * 
* - * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1.ResourceUsageExportConfig, + com.google.container.v1.ResourceUsageExportConfig.Builder, + com.google.container.v1.ResourceUsageExportConfigOrBuilder> getResourceUsageExportConfigFieldBuilder() { if (resourceUsageExportConfigBuilder_ == null) { - resourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder>( - getResourceUsageExportConfig(), - getParentForChildren(), - isClean()); + resourceUsageExportConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig, + com.google.container.v1.ResourceUsageExportConfig.Builder, + com.google.container.v1.ResourceUsageExportConfigOrBuilder>( + getResourceUsageExportConfig(), getParentForChildren(), isClean()); resourceUsageExportConfig_ = null; } return resourceUsageExportConfigBuilder_; @@ -9347,41 +10403,55 @@ public com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsa private com.google.container.v1.AuthenticatorGroupsConfig authenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> authenticatorGroupsConfigBuilder_; + com.google.container.v1.AuthenticatorGroupsConfig, + com.google.container.v1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> + authenticatorGroupsConfigBuilder_; /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * * @return Whether the authenticatorGroupsConfig field is set. */ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfigBuilder_ != null || authenticatorGroupsConfig_ != null; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * * @return The authenticatorGroupsConfig. */ public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { if (authenticatorGroupsConfigBuilder_ == null) { - return authenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null + ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() + : authenticatorGroupsConfig_; } else { return authenticatorGroupsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public Builder setAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder setAuthenticatorGroupsConfig( + com.google.container.v1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9395,6 +10465,8 @@ public Builder setAuthenticatorGroupsConfig(com.google.container.v1.Authenticato return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
@@ -9413,17 +10485,23 @@ public Builder setAuthenticatorGroupsConfig( return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public Builder mergeAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder mergeAuthenticatorGroupsConfig( + com.google.container.v1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (authenticatorGroupsConfig_ != null) { authenticatorGroupsConfig_ = - com.google.container.v1.AuthenticatorGroupsConfig.newBuilder(authenticatorGroupsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.AuthenticatorGroupsConfig.newBuilder( + authenticatorGroupsConfig_) + .mergeFrom(value) + .buildPartial(); } else { authenticatorGroupsConfig_ = value; } @@ -9435,6 +10513,8 @@ public Builder mergeAuthenticatorGroupsConfig(com.google.container.v1.Authentica return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
@@ -9453,33 +10533,42 @@ public Builder clearAuthenticatorGroupsConfig() { return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public com.google.container.v1.AuthenticatorGroupsConfig.Builder getAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1.AuthenticatorGroupsConfig.Builder + getAuthenticatorGroupsConfigBuilder() { + onChanged(); return getAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder + getAuthenticatorGroupsConfigOrBuilder() { if (authenticatorGroupsConfigBuilder_ != null) { return authenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return authenticatorGroupsConfig_ == null ? - com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null + ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() + : authenticatorGroupsConfig_; } } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
@@ -9487,14 +10576,17 @@ public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticat * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1.AuthenticatorGroupsConfig, + com.google.container.v1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> getAuthenticatorGroupsConfigFieldBuilder() { if (authenticatorGroupsConfigBuilder_ == null) { - authenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( - getAuthenticatorGroupsConfig(), - getParentForChildren(), - isClean()); + authenticatorGroupsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AuthenticatorGroupsConfig, + com.google.container.v1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( + getAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); authenticatorGroupsConfig_ = null; } return authenticatorGroupsConfigBuilder_; @@ -9502,34 +10594,47 @@ public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticat private com.google.container.v1.PrivateClusterConfig privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; + com.google.container.v1.PrivateClusterConfig, + com.google.container.v1.PrivateClusterConfig.Builder, + com.google.container.v1.PrivateClusterConfigOrBuilder> + privateClusterConfigBuilder_; /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * * @return The privateClusterConfig. */ public com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() + : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -9550,6 +10655,8 @@ public Builder setPrivateClusterConfig(com.google.container.v1.PrivateClusterCon return this; } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -9568,6 +10675,8 @@ public Builder setPrivateClusterConfig( return this; } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -9578,7 +10687,9 @@ public Builder mergePrivateClusterConfig(com.google.container.v1.PrivateClusterC if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.container.v1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.PrivateClusterConfig.newBuilder(privateClusterConfig_) + .mergeFrom(value) + .buildPartial(); } else { privateClusterConfig_ = value; } @@ -9590,6 +10701,8 @@ public Builder mergePrivateClusterConfig(com.google.container.v1.PrivateClusterC return this; } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -9608,6 +10721,8 @@ public Builder clearPrivateClusterConfig() { return this; } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -9615,26 +10730,32 @@ public Builder clearPrivateClusterConfig() { * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; */ public com.google.container.v1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { - + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; */ - public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { + public com.google.container.v1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null ? - com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() + : privateClusterConfig_; } } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -9642,14 +10763,17 @@ public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterCo * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> + com.google.container.v1.PrivateClusterConfig, + com.google.container.v1.PrivateClusterConfig.Builder, + com.google.container.v1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), - getParentForChildren(), - isClean()); + privateClusterConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.PrivateClusterConfig, + com.google.container.v1.PrivateClusterConfig.Builder, + com.google.container.v1.PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), getParentForChildren(), isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -9657,34 +10781,47 @@ public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterCo private com.google.container.v1.DatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; + com.google.container.v1.DatabaseEncryption, + com.google.container.v1.DatabaseEncryption.Builder, + com.google.container.v1.DatabaseEncryptionOrBuilder> + databaseEncryptionBuilder_; /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; + * * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return databaseEncryptionBuilder_ != null || databaseEncryption_ != null; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; + * * @return The databaseEncryption. */ public com.google.container.v1.DatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -9705,6 +10842,8 @@ public Builder setDatabaseEncryption(com.google.container.v1.DatabaseEncryption return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -9723,6 +10862,8 @@ public Builder setDatabaseEncryption( return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -9733,7 +10874,9 @@ public Builder mergeDatabaseEncryption(com.google.container.v1.DatabaseEncryptio if (databaseEncryptionBuilder_ == null) { if (databaseEncryption_ != null) { databaseEncryption_ = - com.google.container.v1.DatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); + com.google.container.v1.DatabaseEncryption.newBuilder(databaseEncryption_) + .mergeFrom(value) + .buildPartial(); } else { databaseEncryption_ = value; } @@ -9745,6 +10888,8 @@ public Builder mergeDatabaseEncryption(com.google.container.v1.DatabaseEncryptio return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -9763,6 +10908,8 @@ public Builder clearDatabaseEncryption() { return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -9770,11 +10917,13 @@ public Builder clearDatabaseEncryption() { * .google.container.v1.DatabaseEncryption database_encryption = 38; */ public com.google.container.v1.DatabaseEncryption.Builder getDatabaseEncryptionBuilder() { - + onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -9785,11 +10934,14 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null ? - com.google.container.v1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -9797,14 +10949,17 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption * .google.container.v1.DatabaseEncryption database_encryption = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> + com.google.container.v1.DatabaseEncryption, + com.google.container.v1.DatabaseEncryption.Builder, + com.google.container.v1.DatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), - getParentForChildren(), - isClean()); + databaseEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DatabaseEncryption, + com.google.container.v1.DatabaseEncryption.Builder, + com.google.container.v1.DatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), getParentForChildren(), isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; @@ -9812,34 +10967,47 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption private com.google.container.v1.VerticalPodAutoscaling verticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> verticalPodAutoscalingBuilder_; + com.google.container.v1.VerticalPodAutoscaling, + com.google.container.v1.VerticalPodAutoscaling.Builder, + com.google.container.v1.VerticalPodAutoscalingOrBuilder> + verticalPodAutoscalingBuilder_; /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return Whether the verticalPodAutoscaling field is set. */ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscalingBuilder_ != null || verticalPodAutoscaling_ != null; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return The verticalPodAutoscaling. */ public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling() { if (verticalPodAutoscalingBuilder_ == null) { - return verticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null + ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() + : verticalPodAutoscaling_; } else { return verticalPodAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -9860,6 +11028,8 @@ public Builder setVerticalPodAutoscaling(com.google.container.v1.VerticalPodAuto return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -9878,17 +11048,22 @@ public Builder setVerticalPodAutoscaling( return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public Builder mergeVerticalPodAutoscaling(com.google.container.v1.VerticalPodAutoscaling value) { + public Builder mergeVerticalPodAutoscaling( + com.google.container.v1.VerticalPodAutoscaling value) { if (verticalPodAutoscalingBuilder_ == null) { if (verticalPodAutoscaling_ != null) { verticalPodAutoscaling_ = - com.google.container.v1.VerticalPodAutoscaling.newBuilder(verticalPodAutoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1.VerticalPodAutoscaling.newBuilder(verticalPodAutoscaling_) + .mergeFrom(value) + .buildPartial(); } else { verticalPodAutoscaling_ = value; } @@ -9900,6 +11075,8 @@ public Builder mergeVerticalPodAutoscaling(com.google.container.v1.VerticalPodAu return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -9918,33 +11095,42 @@ public Builder clearVerticalPodAutoscaling() { return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1.VerticalPodAutoscaling.Builder getVerticalPodAutoscalingBuilder() { - + public com.google.container.v1.VerticalPodAutoscaling.Builder + getVerticalPodAutoscalingBuilder() { + onChanged(); return getVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder + getVerticalPodAutoscalingOrBuilder() { if (verticalPodAutoscalingBuilder_ != null) { return verticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return verticalPodAutoscaling_ == null ? - com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null + ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() + : verticalPodAutoscaling_; } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -9952,14 +11138,17 @@ public com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAut * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1.VerticalPodAutoscaling, + com.google.container.v1.VerticalPodAutoscaling.Builder, + com.google.container.v1.VerticalPodAutoscalingOrBuilder> getVerticalPodAutoscalingFieldBuilder() { if (verticalPodAutoscalingBuilder_ == null) { - verticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder>( - getVerticalPodAutoscaling(), - getParentForChildren(), - isClean()); + verticalPodAutoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VerticalPodAutoscaling, + com.google.container.v1.VerticalPodAutoscaling.Builder, + com.google.container.v1.VerticalPodAutoscalingOrBuilder>( + getVerticalPodAutoscaling(), getParentForChildren(), isClean()); verticalPodAutoscaling_ = null; } return verticalPodAutoscalingBuilder_; @@ -9967,34 +11156,47 @@ public com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAut private com.google.container.v1.ShieldedNodes shieldedNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> shieldedNodesBuilder_; + com.google.container.v1.ShieldedNodes, + com.google.container.v1.ShieldedNodes.Builder, + com.google.container.v1.ShieldedNodesOrBuilder> + shieldedNodesBuilder_; /** + * + * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; + * * @return Whether the shieldedNodes field is set. */ public boolean hasShieldedNodes() { return shieldedNodesBuilder_ != null || shieldedNodes_ != null; } /** + * + * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; + * * @return The shieldedNodes. */ public com.google.container.v1.ShieldedNodes getShieldedNodes() { if (shieldedNodesBuilder_ == null) { - return shieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; + return shieldedNodes_ == null + ? com.google.container.v1.ShieldedNodes.getDefaultInstance() + : shieldedNodes_; } else { return shieldedNodesBuilder_.getMessage(); } } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10015,14 +11217,15 @@ public Builder setShieldedNodes(com.google.container.v1.ShieldedNodes value) { return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; */ - public Builder setShieldedNodes( - com.google.container.v1.ShieldedNodes.Builder builderForValue) { + public Builder setShieldedNodes(com.google.container.v1.ShieldedNodes.Builder builderForValue) { if (shieldedNodesBuilder_ == null) { shieldedNodes_ = builderForValue.build(); onChanged(); @@ -10033,6 +11236,8 @@ public Builder setShieldedNodes( return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10043,7 +11248,9 @@ public Builder mergeShieldedNodes(com.google.container.v1.ShieldedNodes value) { if (shieldedNodesBuilder_ == null) { if (shieldedNodes_ != null) { shieldedNodes_ = - com.google.container.v1.ShieldedNodes.newBuilder(shieldedNodes_).mergeFrom(value).buildPartial(); + com.google.container.v1.ShieldedNodes.newBuilder(shieldedNodes_) + .mergeFrom(value) + .buildPartial(); } else { shieldedNodes_ = value; } @@ -10055,6 +11262,8 @@ public Builder mergeShieldedNodes(com.google.container.v1.ShieldedNodes value) { return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10073,6 +11282,8 @@ public Builder clearShieldedNodes() { return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10080,11 +11291,13 @@ public Builder clearShieldedNodes() { * .google.container.v1.ShieldedNodes shielded_nodes = 40; */ public com.google.container.v1.ShieldedNodes.Builder getShieldedNodesBuilder() { - + onChanged(); return getShieldedNodesFieldBuilder().getBuilder(); } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10095,11 +11308,14 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( if (shieldedNodesBuilder_ != null) { return shieldedNodesBuilder_.getMessageOrBuilder(); } else { - return shieldedNodes_ == null ? - com.google.container.v1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; + return shieldedNodes_ == null + ? com.google.container.v1.ShieldedNodes.getDefaultInstance() + : shieldedNodes_; } } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10107,14 +11323,17 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( * .google.container.v1.ShieldedNodes shielded_nodes = 40; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> + com.google.container.v1.ShieldedNodes, + com.google.container.v1.ShieldedNodes.Builder, + com.google.container.v1.ShieldedNodesOrBuilder> getShieldedNodesFieldBuilder() { if (shieldedNodesBuilder_ == null) { - shieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder>( - getShieldedNodes(), - getParentForChildren(), - isClean()); + shieldedNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedNodes, + com.google.container.v1.ShieldedNodes.Builder, + com.google.container.v1.ShieldedNodesOrBuilder>( + getShieldedNodes(), getParentForChildren(), isClean()); shieldedNodes_ = null; } return shieldedNodesBuilder_; @@ -10122,34 +11341,47 @@ public com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder( private com.google.container.v1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> releaseChannelBuilder_; + com.google.container.v1.ReleaseChannel, + com.google.container.v1.ReleaseChannel.Builder, + com.google.container.v1.ReleaseChannelOrBuilder> + releaseChannelBuilder_; /** + * + * *
      * Release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 41; + * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** + * + * *
      * Release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 41; + * * @return The releaseChannel. */ public com.google.container.v1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** + * + * *
      * Release channel configuration.
      * 
@@ -10170,6 +11402,8 @@ public Builder setReleaseChannel(com.google.container.v1.ReleaseChannel value) { return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -10188,6 +11422,8 @@ public Builder setReleaseChannel( return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -10198,7 +11434,9 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value) if (releaseChannelBuilder_ == null) { if (releaseChannel_ != null) { releaseChannel_ = - com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial(); + com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_) + .mergeFrom(value) + .buildPartial(); } else { releaseChannel_ = value; } @@ -10210,6 +11448,8 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value) return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -10228,6 +11468,8 @@ public Builder clearReleaseChannel() { return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -10235,11 +11477,13 @@ public Builder clearReleaseChannel() { * .google.container.v1.ReleaseChannel release_channel = 41; */ public com.google.container.v1.ReleaseChannel.Builder getReleaseChannelBuilder() { - + onChanged(); return getReleaseChannelFieldBuilder().getBuilder(); } /** + * + * *
      * Release channel configuration.
      * 
@@ -10250,11 +11494,14 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde if (releaseChannelBuilder_ != null) { return releaseChannelBuilder_.getMessageOrBuilder(); } else { - return releaseChannel_ == null ? - com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } } /** + * + * *
      * Release channel configuration.
      * 
@@ -10262,14 +11509,17 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde * .google.container.v1.ReleaseChannel release_channel = 41; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> + com.google.container.v1.ReleaseChannel, + com.google.container.v1.ReleaseChannel.Builder, + com.google.container.v1.ReleaseChannelOrBuilder> getReleaseChannelFieldBuilder() { if (releaseChannelBuilder_ == null) { - releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder>( - getReleaseChannel(), - getParentForChildren(), - isClean()); + releaseChannelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ReleaseChannel, + com.google.container.v1.ReleaseChannel.Builder, + com.google.container.v1.ReleaseChannelOrBuilder>( + getReleaseChannel(), getParentForChildren(), isClean()); releaseChannel_ = null; } return releaseChannelBuilder_; @@ -10277,36 +11527,49 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde private com.google.container.v1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; + com.google.container.v1.WorkloadIdentityConfig, + com.google.container.v1.WorkloadIdentityConfig.Builder, + com.google.container.v1.WorkloadIdentityConfigOrBuilder> + workloadIdentityConfigBuilder_; /** + * + * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfigBuilder_ != null || workloadIdentityConfig_ != null; } /** + * + * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return The workloadIdentityConfig. */ public com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -10328,6 +11591,8 @@ public Builder setWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentit
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -10347,6 +11612,8 @@ public Builder setWorkloadIdentityConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -10354,11 +11621,14 @@ public Builder setWorkloadIdentityConfig(
      *
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public Builder mergeWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentityConfig value) {
+    public Builder mergeWorkloadIdentityConfig(
+        com.google.container.v1.WorkloadIdentityConfig value) {
       if (workloadIdentityConfigBuilder_ == null) {
         if (workloadIdentityConfig_ != null) {
           workloadIdentityConfig_ =
-            com.google.container.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           workloadIdentityConfig_ = value;
         }
@@ -10370,6 +11640,8 @@ public Builder mergeWorkloadIdentityConfig(com.google.container.v1.WorkloadIdent
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -10389,6 +11661,8 @@ public Builder clearWorkloadIdentityConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -10396,12 +11670,15 @@ public Builder clearWorkloadIdentityConfig() {
      *
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() {
-      
+    public com.google.container.v1.WorkloadIdentityConfig.Builder
+        getWorkloadIdentityConfigBuilder() {
+
       onChanged();
       return getWorkloadIdentityConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -10409,15 +11686,19 @@ public com.google.container.v1.WorkloadIdentityConfig.Builder getWorkloadIdentit
      *
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
+    public com.google.container.v1.WorkloadIdentityConfigOrBuilder
+        getWorkloadIdentityConfigOrBuilder() {
       if (workloadIdentityConfigBuilder_ != null) {
         return workloadIdentityConfigBuilder_.getMessageOrBuilder();
       } else {
-        return workloadIdentityConfig_ == null ?
-            com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_;
+        return workloadIdentityConfig_ == null
+            ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance()
+            : workloadIdentityConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -10426,14 +11707,17 @@ public com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdenti
      * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> 
+            com.google.container.v1.WorkloadIdentityConfig,
+            com.google.container.v1.WorkloadIdentityConfig.Builder,
+            com.google.container.v1.WorkloadIdentityConfigOrBuilder>
         getWorkloadIdentityConfigFieldBuilder() {
       if (workloadIdentityConfigBuilder_ == null) {
-        workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder>(
-                getWorkloadIdentityConfig(),
-                getParentForChildren(),
-                isClean());
+        workloadIdentityConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.WorkloadIdentityConfig,
+                com.google.container.v1.WorkloadIdentityConfig.Builder,
+                com.google.container.v1.WorkloadIdentityConfigOrBuilder>(
+                getWorkloadIdentityConfig(), getParentForChildren(), isClean());
         workloadIdentityConfig_ = null;
       }
       return workloadIdentityConfigBuilder_;
@@ -10441,36 +11725,49 @@ public com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdenti
 
     private com.google.container.v1.MeshCertificates meshCertificates_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> meshCertificatesBuilder_;
+            com.google.container.v1.MeshCertificates,
+            com.google.container.v1.MeshCertificates.Builder,
+            com.google.container.v1.MeshCertificatesOrBuilder>
+        meshCertificatesBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; + * * @return Whether the meshCertificates field is set. */ public boolean hasMeshCertificates() { return meshCertificatesBuilder_ != null || meshCertificates_ != null; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; + * * @return The meshCertificates. */ public com.google.container.v1.MeshCertificates getMeshCertificates() { if (meshCertificatesBuilder_ == null) { - return meshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : meshCertificates_; + return meshCertificates_ == null + ? com.google.container.v1.MeshCertificates.getDefaultInstance() + : meshCertificates_; } else { return meshCertificatesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -10492,6 +11789,8 @@ public Builder setMeshCertificates(com.google.container.v1.MeshCertificates valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -10511,6 +11810,8 @@ public Builder setMeshCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -10522,7 +11823,9 @@ public Builder mergeMeshCertificates(com.google.container.v1.MeshCertificates va
       if (meshCertificatesBuilder_ == null) {
         if (meshCertificates_ != null) {
           meshCertificates_ =
-            com.google.container.v1.MeshCertificates.newBuilder(meshCertificates_).mergeFrom(value).buildPartial();
+              com.google.container.v1.MeshCertificates.newBuilder(meshCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           meshCertificates_ = value;
         }
@@ -10534,6 +11837,8 @@ public Builder mergeMeshCertificates(com.google.container.v1.MeshCertificates va
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -10553,6 +11858,8 @@ public Builder clearMeshCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -10561,11 +11868,13 @@ public Builder clearMeshCertificates() {
      * .google.container.v1.MeshCertificates mesh_certificates = 67;
      */
     public com.google.container.v1.MeshCertificates.Builder getMeshCertificatesBuilder() {
-      
+
       onChanged();
       return getMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -10577,11 +11886,14 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
       if (meshCertificatesBuilder_ != null) {
         return meshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return meshCertificates_ == null ?
-            com.google.container.v1.MeshCertificates.getDefaultInstance() : meshCertificates_;
+        return meshCertificates_ == null
+            ? com.google.container.v1.MeshCertificates.getDefaultInstance()
+            : meshCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -10590,14 +11902,17 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
      * .google.container.v1.MeshCertificates mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> 
+            com.google.container.v1.MeshCertificates,
+            com.google.container.v1.MeshCertificates.Builder,
+            com.google.container.v1.MeshCertificatesOrBuilder>
         getMeshCertificatesFieldBuilder() {
       if (meshCertificatesBuilder_ == null) {
-        meshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder>(
-                getMeshCertificates(),
-                getParentForChildren(),
-                isClean());
+        meshCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.MeshCertificates,
+                com.google.container.v1.MeshCertificates.Builder,
+                com.google.container.v1.MeshCertificatesOrBuilder>(
+                getMeshCertificates(), getParentForChildren(), isClean());
         meshCertificates_ = null;
       }
       return meshCertificatesBuilder_;
@@ -10605,34 +11920,47 @@ public com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBu
 
     private com.google.container.v1.CostManagementConfig costManagementConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> costManagementConfigBuilder_;
+            com.google.container.v1.CostManagementConfig,
+            com.google.container.v1.CostManagementConfig.Builder,
+            com.google.container.v1.CostManagementConfigOrBuilder>
+        costManagementConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; + * * @return Whether the costManagementConfig field is set. */ public boolean hasCostManagementConfig() { return costManagementConfigBuilder_ != null || costManagementConfig_ != null; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; + * * @return The costManagementConfig. */ public com.google.container.v1.CostManagementConfig getCostManagementConfig() { if (costManagementConfigBuilder_ == null) { - return costManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; + return costManagementConfig_ == null + ? com.google.container.v1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; } else { return costManagementConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -10653,6 +11981,8 @@ public Builder setCostManagementConfig(com.google.container.v1.CostManagementCon return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -10671,6 +12001,8 @@ public Builder setCostManagementConfig( return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -10681,7 +12013,9 @@ public Builder mergeCostManagementConfig(com.google.container.v1.CostManagementC if (costManagementConfigBuilder_ == null) { if (costManagementConfig_ != null) { costManagementConfig_ = - com.google.container.v1.CostManagementConfig.newBuilder(costManagementConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.CostManagementConfig.newBuilder(costManagementConfig_) + .mergeFrom(value) + .buildPartial(); } else { costManagementConfig_ = value; } @@ -10693,6 +12027,8 @@ public Builder mergeCostManagementConfig(com.google.container.v1.CostManagementC return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -10711,6 +12047,8 @@ public Builder clearCostManagementConfig() { return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -10718,26 +12056,32 @@ public Builder clearCostManagementConfig() { * .google.container.v1.CostManagementConfig cost_management_config = 45; */ public com.google.container.v1.CostManagementConfig.Builder getCostManagementConfigBuilder() { - + onChanged(); return getCostManagementConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; */ - public com.google.container.v1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder() { + public com.google.container.v1.CostManagementConfigOrBuilder + getCostManagementConfigOrBuilder() { if (costManagementConfigBuilder_ != null) { return costManagementConfigBuilder_.getMessageOrBuilder(); } else { - return costManagementConfig_ == null ? - com.google.container.v1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; + return costManagementConfig_ == null + ? com.google.container.v1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; } } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -10745,14 +12089,17 @@ public com.google.container.v1.CostManagementConfigOrBuilder getCostManagementCo * .google.container.v1.CostManagementConfig cost_management_config = 45; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> + com.google.container.v1.CostManagementConfig, + com.google.container.v1.CostManagementConfig.Builder, + com.google.container.v1.CostManagementConfigOrBuilder> getCostManagementConfigFieldBuilder() { if (costManagementConfigBuilder_ == null) { - costManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder>( - getCostManagementConfig(), - getParentForChildren(), - isClean()); + costManagementConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.CostManagementConfig, + com.google.container.v1.CostManagementConfig.Builder, + com.google.container.v1.CostManagementConfigOrBuilder>( + getCostManagementConfig(), getParentForChildren(), isClean()); costManagementConfig_ = null; } return costManagementConfigBuilder_; @@ -10760,34 +12107,47 @@ public com.google.container.v1.CostManagementConfigOrBuilder getCostManagementCo private com.google.container.v1.NotificationConfig notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> notificationConfigBuilder_; + com.google.container.v1.NotificationConfig, + com.google.container.v1.NotificationConfig.Builder, + com.google.container.v1.NotificationConfigOrBuilder> + notificationConfigBuilder_; /** + * + * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1.NotificationConfig notification_config = 49; + * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** + * + * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1.NotificationConfig notification_config = 49; + * * @return The notificationConfig. */ public com.google.container.v1.NotificationConfig getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.container.v1.NotificationConfig.getDefaultInstance() + : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -10808,6 +12168,8 @@ public Builder setNotificationConfig(com.google.container.v1.NotificationConfig return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -10826,6 +12188,8 @@ public Builder setNotificationConfig( return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -10836,7 +12200,9 @@ public Builder mergeNotificationConfig(com.google.container.v1.NotificationConfi if (notificationConfigBuilder_ == null) { if (notificationConfig_ != null) { notificationConfig_ = - com.google.container.v1.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NotificationConfig.newBuilder(notificationConfig_) + .mergeFrom(value) + .buildPartial(); } else { notificationConfig_ = value; } @@ -10848,6 +12214,8 @@ public Builder mergeNotificationConfig(com.google.container.v1.NotificationConfi return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -10866,6 +12234,8 @@ public Builder clearNotificationConfig() { return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -10873,11 +12243,13 @@ public Builder clearNotificationConfig() { * .google.container.v1.NotificationConfig notification_config = 49; */ public com.google.container.v1.NotificationConfig.Builder getNotificationConfigBuilder() { - + onChanged(); return getNotificationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -10888,11 +12260,14 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig if (notificationConfigBuilder_ != null) { return notificationConfigBuilder_.getMessageOrBuilder(); } else { - return notificationConfig_ == null ? - com.google.container.v1.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.container.v1.NotificationConfig.getDefaultInstance() + : notificationConfig_; } } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -10900,14 +12275,17 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig * .google.container.v1.NotificationConfig notification_config = 49; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> + com.google.container.v1.NotificationConfig, + com.google.container.v1.NotificationConfig.Builder, + com.google.container.v1.NotificationConfigOrBuilder> getNotificationConfigFieldBuilder() { if (notificationConfigBuilder_ == null) { - notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder>( - getNotificationConfig(), - getParentForChildren(), - isClean()); + notificationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NotificationConfig, + com.google.container.v1.NotificationConfig.Builder, + com.google.container.v1.NotificationConfigOrBuilder>( + getNotificationConfig(), getParentForChildren(), isClean()); notificationConfig_ = null; } return notificationConfigBuilder_; @@ -10915,36 +12293,49 @@ public com.google.container.v1.NotificationConfigOrBuilder getNotificationConfig private com.google.container.v1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; /** + * + * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; + * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** + * + * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; + * * @return The confidentialNodes. */ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** + * + * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -10966,6 +12357,8 @@ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes va
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -10985,6 +12378,8 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -10996,7 +12391,9 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-            com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -11008,6 +12405,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -11027,6 +12426,8 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -11035,11 +12436,13 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
      */
     public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-      
+
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -11051,11 +12454,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null ?
-            com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
+        return confidentialNodes_ == null
+            ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
+            : confidentialNodes_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -11064,14 +12470,17 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
      * .google.container.v1.ConfidentialNodes confidential_nodes = 50;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> 
+            com.google.container.v1.ConfidentialNodes,
+            com.google.container.v1.ConfidentialNodes.Builder,
+            com.google.container.v1.ConfidentialNodesOrBuilder>
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(),
-                getParentForChildren(),
-                isClean());
+        confidentialNodesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ConfidentialNodes,
+                com.google.container.v1.ConfidentialNodes.Builder,
+                com.google.container.v1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(), getParentForChildren(), isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -11079,34 +12488,47 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
 
     private com.google.container.v1.IdentityServiceConfig identityServiceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> identityServiceConfigBuilder_;
+            com.google.container.v1.IdentityServiceConfig,
+            com.google.container.v1.IdentityServiceConfig.Builder,
+            com.google.container.v1.IdentityServiceConfigOrBuilder>
+        identityServiceConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for Identity Service component.
      * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * * @return Whether the identityServiceConfig field is set. */ public boolean hasIdentityServiceConfig() { return identityServiceConfigBuilder_ != null || identityServiceConfig_ != null; } /** + * + * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * * @return The identityServiceConfig. */ public com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig() { if (identityServiceConfigBuilder_ == null) { - return identityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; + return identityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; } else { return identityServiceConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -11127,6 +12549,8 @@ public Builder setIdentityServiceConfig(com.google.container.v1.IdentityServiceC return this; } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -11145,6 +12569,8 @@ public Builder setIdentityServiceConfig( return this; } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -11155,7 +12581,9 @@ public Builder mergeIdentityServiceConfig(com.google.container.v1.IdentityServic if (identityServiceConfigBuilder_ == null) { if (identityServiceConfig_ != null) { identityServiceConfig_ = - com.google.container.v1.IdentityServiceConfig.newBuilder(identityServiceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.IdentityServiceConfig.newBuilder(identityServiceConfig_) + .mergeFrom(value) + .buildPartial(); } else { identityServiceConfig_ = value; } @@ -11167,7 +12595,9 @@ public Builder mergeIdentityServiceConfig(com.google.container.v1.IdentityServic return this; } /** - *
+     *
+     *
+     * 
      * Configuration for Identity Service component.
      * 
* @@ -11185,6 +12615,8 @@ public Builder clearIdentityServiceConfig() { return this; } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -11192,26 +12624,32 @@ public Builder clearIdentityServiceConfig() { * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ public com.google.container.v1.IdentityServiceConfig.Builder getIdentityServiceConfigBuilder() { - + onChanged(); return getIdentityServiceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ - public com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder + getIdentityServiceConfigOrBuilder() { if (identityServiceConfigBuilder_ != null) { return identityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return identityServiceConfig_ == null ? - com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; + return identityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; } } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -11219,14 +12657,17 @@ public com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityService * .google.container.v1.IdentityServiceConfig identity_service_config = 54; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder> getIdentityServiceConfigFieldBuilder() { if (identityServiceConfigBuilder_ == null) { - identityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder>( - getIdentityServiceConfig(), - getParentForChildren(), - isClean()); + identityServiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder>( + getIdentityServiceConfig(), getParentForChildren(), isClean()); identityServiceConfig_ = null; } return identityServiceConfigBuilder_; @@ -11234,18 +12675,20 @@ public com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityService private java.lang.Object selfLink_ = ""; /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -11254,20 +12697,21 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -11275,54 +12719,61 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink( - java.lang.String value) { + public Builder setSelfLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -11330,6 +12781,8 @@ public Builder setSelfLinkBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -11337,15 +12790,16 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -11354,6 +12808,8 @@ public Builder setSelfLinkBytes( } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -11361,17 +12817,17 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -11379,6 +12835,8 @@ public Builder setSelfLinkBytes( } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -11386,22 +12844,25 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -11409,17 +12870,21 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -11427,18 +12892,19 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -11446,6 +12912,8 @@ public Builder setSelfLinkBytes( private java.lang.Object endpoint_ = ""; /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -11455,13 +12923,13 @@ public Builder setSelfLinkBytes(
      * 
* * string endpoint = 102; + * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -11470,6 +12938,8 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -11479,15 +12949,14 @@ public java.lang.String getEndpoint() {
      * 
* * string endpoint = 102; + * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -11495,6 +12964,8 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -11504,20 +12975,22 @@ public java.lang.String getEndpoint() {
      * 
* * string endpoint = 102; + * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint( - java.lang.String value) { + public Builder setEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -11527,15 +13000,18 @@ public Builder setEndpoint(
      * 
* * string endpoint = 102; + * * @return This builder for chaining. */ public Builder clearEndpoint() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); return this; } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -11545,16 +13021,16 @@ public Builder clearEndpoint() {
      * 
* * string endpoint = 102; + * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -11562,6 +13038,8 @@ public Builder setEndpointBytes( private java.lang.Object initialClusterVersion_ = ""; /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -11577,13 +13055,13 @@ public Builder setEndpointBytes(
      * 
* * string initial_cluster_version = 103; + * * @return The initialClusterVersion. */ public java.lang.String getInitialClusterVersion() { java.lang.Object ref = initialClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; @@ -11592,6 +13070,8 @@ public java.lang.String getInitialClusterVersion() { } } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -11607,15 +13087,14 @@ public java.lang.String getInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; + * * @return The bytes for initialClusterVersion. */ - public com.google.protobuf.ByteString - getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -11623,6 +13102,8 @@ public java.lang.String getInitialClusterVersion() { } } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -11638,20 +13119,22 @@ public java.lang.String getInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; + * * @param value The initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersion( - java.lang.String value) { + public Builder setInitialClusterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + initialClusterVersion_ = value; onChanged(); return this; } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -11667,15 +13150,18 @@ public Builder setInitialClusterVersion(
      * 
* * string initial_cluster_version = 103; + * * @return This builder for chaining. */ public Builder clearInitialClusterVersion() { - + initialClusterVersion_ = getDefaultInstance().getInitialClusterVersion(); onChanged(); return this; } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -11691,16 +13177,16 @@ public Builder clearInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; + * * @param value The bytes for initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + initialClusterVersion_ = value; onChanged(); return this; @@ -11708,18 +13194,20 @@ public Builder setInitialClusterVersionBytes( private java.lang.Object currentMasterVersion_ = ""; /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @return The currentMasterVersion. */ public java.lang.String getCurrentMasterVersion() { java.lang.Object ref = currentMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; @@ -11728,20 +13216,21 @@ public java.lang.String getCurrentMasterVersion() { } } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @return The bytes for currentMasterVersion. */ - public com.google.protobuf.ByteString - getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -11749,54 +13238,61 @@ public java.lang.String getCurrentMasterVersion() { } } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @param value The currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersion( - java.lang.String value) { + public Builder setCurrentMasterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentMasterVersion_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @return This builder for chaining. */ public Builder clearCurrentMasterVersion() { - + currentMasterVersion_ = getDefaultInstance().getCurrentMasterVersion(); onChanged(); return this; } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @param value The bytes for currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentMasterVersion_ = value; onChanged(); return this; @@ -11804,6 +13300,8 @@ public Builder setCurrentMasterVersionBytes( private java.lang.Object currentNodeVersion_ = ""; /** + * + * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -11813,15 +13311,16 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @return The currentNodeVersion. */ - @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated + public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; @@ -11830,6 +13329,8 @@ public Builder setCurrentMasterVersionBytes( } } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -11839,17 +13340,17 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getCurrentNodeVersionBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -11857,6 +13358,8 @@ public Builder setCurrentMasterVersionBytes( } } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -11866,22 +13369,25 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCurrentNodeVersion( - java.lang.String value) { + @java.lang.Deprecated + public Builder setCurrentNodeVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentNodeVersion_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -11891,17 +13397,21 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearCurrentNodeVersion() { - + @java.lang.Deprecated + public Builder clearCurrentNodeVersion() { + currentNodeVersion_ = getDefaultInstance().getCurrentNodeVersion(); onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -11911,18 +13421,19 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCurrentNodeVersionBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentNodeVersion_ = value; onChanged(); return this; @@ -11930,19 +13441,21 @@ public Builder setCurrentMasterVersionBytes( private java.lang.Object createTime_ = ""; /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @return The createTime. */ public java.lang.String getCreateTime() { java.lang.Object ref = createTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; @@ -11951,21 +13464,22 @@ public java.lang.String getCreateTime() { } } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @return The bytes for createTime. */ - public com.google.protobuf.ByteString - getCreateTimeBytes() { + public com.google.protobuf.ByteString getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createTime_ = b; return b; } else { @@ -11973,57 +13487,64 @@ public java.lang.String getCreateTime() { } } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @param value The createTime to set. * @return This builder for chaining. */ - public Builder setCreateTime( - java.lang.String value) { + public Builder setCreateTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @return This builder for chaining. */ public Builder clearCreateTime() { - + createTime_ = getDefaultInstance().getCreateTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @param value The bytes for createTime to set. * @return This builder for chaining. */ - public Builder setCreateTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createTime_ = value; onChanged(); return this; @@ -12031,51 +13552,65 @@ public Builder setCreateTimeBytes( private int status_ = 0; /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; + * * @return The status. */ @java.lang.Override public com.google.container.v1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Cluster.Status result = com.google.container.v1.Cluster.Status.valueOf(status_); + com.google.container.v1.Cluster.Status result = + com.google.container.v1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1.Cluster.Status.UNRECOGNIZED : result; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; + * * @param value The status to set. * @return This builder for chaining. */ @@ -12083,21 +13618,24 @@ public Builder setStatus(com.google.container.v1.Cluster.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1.Cluster.Status status = 107; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -12105,6 +13643,8 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -12112,15 +13652,16 @@ 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=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @return The statusMessage. */ - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -12129,6 +13670,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -12136,17 +13679,17 @@ 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=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @return The bytes for statusMessage. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -12154,6 +13697,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -12161,22 +13706,25 @@ 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=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessage( - java.lang.String value) { + @java.lang.Deprecated + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -12184,17 +13732,21 @@ 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=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearStatusMessage() { - + @java.lang.Deprecated + public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -12202,25 +13754,28 @@ 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=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private int nodeIpv4CidrSize_ ; + private int nodeIpv4CidrSize_; /** + * + * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -12229,6 +13784,7 @@ public Builder clearStatus() {
      * 
* * int32 node_ipv4_cidr_size = 109; + * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -12236,6 +13792,8 @@ public int getNodeIpv4CidrSize() { return nodeIpv4CidrSize_; } /** + * + * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -12244,16 +13802,19 @@ public int getNodeIpv4CidrSize() {
      * 
* * int32 node_ipv4_cidr_size = 109; + * * @param value The nodeIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setNodeIpv4CidrSize(int value) { - + nodeIpv4CidrSize_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -12262,10 +13823,11 @@ public Builder setNodeIpv4CidrSize(int value) {
      * 
* * int32 node_ipv4_cidr_size = 109; + * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrSize() { - + nodeIpv4CidrSize_ = 0; onChanged(); return this; @@ -12273,6 +13835,8 @@ public Builder clearNodeIpv4CidrSize() { private java.lang.Object servicesIpv4Cidr_ = ""; /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -12282,13 +13846,13 @@ public Builder clearNodeIpv4CidrSize() {
      * 
* * string services_ipv4_cidr = 110; + * * @return The servicesIpv4Cidr. */ public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -12297,6 +13861,8 @@ public java.lang.String getServicesIpv4Cidr() { } } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -12306,15 +13872,14 @@ public java.lang.String getServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; + * * @return The bytes for servicesIpv4Cidr. */ - public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -12322,6 +13887,8 @@ public java.lang.String getServicesIpv4Cidr() { } } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -12331,20 +13898,22 @@ public java.lang.String getServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; + * * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4Cidr( - java.lang.String value) { + public Builder setServicesIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -12354,15 +13923,18 @@ public Builder setServicesIpv4Cidr(
      * 
* * string services_ipv4_cidr = 110; + * * @return This builder for chaining. */ public Builder clearServicesIpv4Cidr() { - + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -12372,232 +13944,275 @@ public Builder clearServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; + * * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated + public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated + public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setInstanceGroupUrls( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstanceGroupUrls( - java.lang.String value) { + @java.lang.Deprecated + public Builder addInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllInstanceGroupUrls( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearInstanceGroupUrls() { + @java.lang.Deprecated + public Builder clearInstanceGroupUrls() { instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } - private int currentNodeCount_ ; + private int currentNodeCount_; /** + * + * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1710 + * + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1710 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getCurrentNodeCount() { + @java.lang.Deprecated + public int getCurrentNodeCount() { return currentNodeCount_; } /** + * + * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1710 + * + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1710 * @param value The currentNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCurrentNodeCount(int value) { - + @java.lang.Deprecated + public Builder setCurrentNodeCount(int value) { + currentNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1710 + * + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1710 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearCurrentNodeCount() { - + @java.lang.Deprecated + public Builder clearCurrentNodeCount() { + currentNodeCount_ = 0; onChanged(); return this; @@ -12605,19 +14220,21 @@ private void ensureInstanceGroupUrlsIsMutable() { private java.lang.Object expireTime_ = ""; /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @return The expireTime. */ public java.lang.String getExpireTime() { java.lang.Object ref = expireTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; @@ -12626,21 +14243,22 @@ public java.lang.String getExpireTime() { } } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @return The bytes for expireTime. */ - public com.google.protobuf.ByteString - getExpireTimeBytes() { + public com.google.protobuf.ByteString getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expireTime_ = b; return b; } else { @@ -12648,57 +14266,64 @@ public java.lang.String getExpireTime() { } } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @param value The expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTime( - java.lang.String value) { + public Builder setExpireTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expireTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @return This builder for chaining. */ public Builder clearExpireTime() { - + expireTime_ = getDefaultInstance().getExpireTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @param value The bytes for expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expireTime_ = value; onChanged(); return this; @@ -12706,6 +14331,8 @@ public Builder setExpireTimeBytes( private java.lang.Object location_ = ""; /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -12715,13 +14342,13 @@ public Builder setExpireTimeBytes(
      * 
* * string location = 114; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -12730,6 +14357,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -12739,15 +14368,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 114; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -12755,6 +14383,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -12764,20 +14394,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 114; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -12787,15 +14419,18 @@ public Builder setLocation(
      * 
* * string location = 114; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -12805,28 +14440,31 @@ public Builder clearLocation() {
      * 
* * string location = 114; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private boolean enableTpu_ ; + private boolean enableTpu_; /** + * + * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * 
* * bool enable_tpu = 115; + * * @return The enableTpu. */ @java.lang.Override @@ -12834,30 +14472,36 @@ public boolean getEnableTpu() { return enableTpu_; } /** + * + * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * 
* * bool enable_tpu = 115; + * * @param value The enableTpu to set. * @return This builder for chaining. */ public Builder setEnableTpu(boolean value) { - + enableTpu_ = value; onChanged(); return this; } /** + * + * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * 
* * bool enable_tpu = 115; + * * @return This builder for chaining. */ public Builder clearEnableTpu() { - + enableTpu_ = false; onChanged(); return this; @@ -12865,6 +14509,8 @@ public Builder clearEnableTpu() { private java.lang.Object tpuIpv4CidrBlock_ = ""; /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -12872,13 +14518,13 @@ public Builder clearEnableTpu() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -12887,6 +14533,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -12894,15 +14542,14 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -12910,6 +14557,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -12917,20 +14566,22 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock( - java.lang.String value) { + public Builder setTpuIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -12938,15 +14589,18 @@ public Builder setTpuIpv4CidrBlock(
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -12954,34 +14608,40 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; } private java.util.List conditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> conditionsBuilder_; + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder> + conditionsBuilder_; /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -12996,6 +14656,8 @@ public java.util.List getConditionsList } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13010,6 +14672,8 @@ public int getConditionsCount() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13024,14 +14688,15 @@ public com.google.container.v1.StatusCondition getConditions(int index) { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public Builder setConditions( - int index, com.google.container.v1.StatusCondition value) { + public Builder setConditions(int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13045,6 +14710,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13063,6 +14730,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13083,14 +14752,15 @@ public Builder addConditions(com.google.container.v1.StatusCondition value) { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public Builder addConditions( - int index, com.google.container.v1.StatusCondition value) { + public Builder addConditions(int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13104,14 +14774,15 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public Builder addConditions( - com.google.container.v1.StatusCondition.Builder builderForValue) { + public Builder addConditions(com.google.container.v1.StatusCondition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -13122,6 +14793,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13140,6 +14813,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13150,8 +14825,7 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -13159,6 +14833,8 @@ public Builder addAllConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13176,6 +14852,8 @@ public Builder clearConditions() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13193,39 +14871,44 @@ public Builder removeConditions(int index) { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public com.google.container.v1.StatusCondition.Builder getConditionsBuilder( - int index) { + public com.google.container.v1.StatusCondition.Builder getConditionsBuilder(int index) { return getConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); } else { + return conditions_.get(index); + } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -13233,6 +14916,8 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -13240,42 +14925,48 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( * repeated .google.container.v1.StatusCondition conditions = 118; */ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder().addBuilder( - com.google.container.v1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder() + .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public com.google.container.v1.StatusCondition.Builder addConditionsBuilder( - int index) { - return getConditionsFieldBuilder().addBuilder( - index, com.google.container.v1.StatusCondition.getDefaultInstance()); + public com.google.container.v1.StatusCondition.Builder addConditionsBuilder(int index) { + return getConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( - conditions_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + conditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder>( + conditions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); conditions_ = null; } return conditionsBuilder_; @@ -13283,34 +14974,47 @@ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder( private com.google.container.v1.Autopilot autopilot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Autopilot, com.google.container.v1.Autopilot.Builder, com.google.container.v1.AutopilotOrBuilder> autopilotBuilder_; + com.google.container.v1.Autopilot, + com.google.container.v1.Autopilot.Builder, + com.google.container.v1.AutopilotOrBuilder> + autopilotBuilder_; /** + * + * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1.Autopilot autopilot = 128; + * * @return Whether the autopilot field is set. */ public boolean hasAutopilot() { return autopilotBuilder_ != null || autopilot_ != null; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1.Autopilot autopilot = 128; + * * @return The autopilot. */ public com.google.container.v1.Autopilot getAutopilot() { if (autopilotBuilder_ == null) { - return autopilot_ == null ? com.google.container.v1.Autopilot.getDefaultInstance() : autopilot_; + return autopilot_ == null + ? com.google.container.v1.Autopilot.getDefaultInstance() + : autopilot_; } else { return autopilotBuilder_.getMessage(); } } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -13331,14 +15035,15 @@ public Builder setAutopilot(com.google.container.v1.Autopilot value) { return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1.Autopilot autopilot = 128; */ - public Builder setAutopilot( - com.google.container.v1.Autopilot.Builder builderForValue) { + public Builder setAutopilot(com.google.container.v1.Autopilot.Builder builderForValue) { if (autopilotBuilder_ == null) { autopilot_ = builderForValue.build(); onChanged(); @@ -13349,6 +15054,8 @@ public Builder setAutopilot( return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -13359,7 +15066,9 @@ public Builder mergeAutopilot(com.google.container.v1.Autopilot value) { if (autopilotBuilder_ == null) { if (autopilot_ != null) { autopilot_ = - com.google.container.v1.Autopilot.newBuilder(autopilot_).mergeFrom(value).buildPartial(); + com.google.container.v1.Autopilot.newBuilder(autopilot_) + .mergeFrom(value) + .buildPartial(); } else { autopilot_ = value; } @@ -13371,6 +15080,8 @@ public Builder mergeAutopilot(com.google.container.v1.Autopilot value) { return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -13389,6 +15100,8 @@ public Builder clearAutopilot() { return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -13396,11 +15109,13 @@ public Builder clearAutopilot() { * .google.container.v1.Autopilot autopilot = 128; */ public com.google.container.v1.Autopilot.Builder getAutopilotBuilder() { - + onChanged(); return getAutopilotFieldBuilder().getBuilder(); } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -13411,11 +15126,14 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { if (autopilotBuilder_ != null) { return autopilotBuilder_.getMessageOrBuilder(); } else { - return autopilot_ == null ? - com.google.container.v1.Autopilot.getDefaultInstance() : autopilot_; + return autopilot_ == null + ? com.google.container.v1.Autopilot.getDefaultInstance() + : autopilot_; } } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -13423,14 +15141,17 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { * .google.container.v1.Autopilot autopilot = 128; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Autopilot, com.google.container.v1.Autopilot.Builder, com.google.container.v1.AutopilotOrBuilder> + com.google.container.v1.Autopilot, + com.google.container.v1.Autopilot.Builder, + com.google.container.v1.AutopilotOrBuilder> getAutopilotFieldBuilder() { if (autopilotBuilder_ == null) { - autopilotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Autopilot, com.google.container.v1.Autopilot.Builder, com.google.container.v1.AutopilotOrBuilder>( - getAutopilot(), - getParentForChildren(), - isClean()); + autopilotBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.Autopilot, + com.google.container.v1.Autopilot.Builder, + com.google.container.v1.AutopilotOrBuilder>( + getAutopilot(), getParentForChildren(), isClean()); autopilot_ = null; } return autopilotBuilder_; @@ -13438,18 +15159,20 @@ public com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder() { private java.lang.Object id_ = ""; /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -13458,20 +15181,21 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -13479,54 +15203,61 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -13534,36 +15265,49 @@ public Builder setIdBytes( private com.google.container.v1.NodePoolDefaults nodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolDefaults, com.google.container.v1.NodePoolDefaults.Builder, com.google.container.v1.NodePoolDefaultsOrBuilder> nodePoolDefaultsBuilder_; + com.google.container.v1.NodePoolDefaults, + com.google.container.v1.NodePoolDefaults.Builder, + com.google.container.v1.NodePoolDefaultsOrBuilder> + nodePoolDefaultsBuilder_; /** + * + * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; + * * @return Whether the nodePoolDefaults field is set. */ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; + * * @return The nodePoolDefaults. */ public com.google.container.v1.NodePoolDefaults getNodePoolDefaults() { if (nodePoolDefaultsBuilder_ == null) { - return nodePoolDefaults_ == null ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; + return nodePoolDefaults_ == null + ? com.google.container.v1.NodePoolDefaults.getDefaultInstance() + : nodePoolDefaults_; } else { return nodePoolDefaultsBuilder_.getMessage(); } } /** + * + * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -13585,6 +15329,8 @@ public Builder setNodePoolDefaults(com.google.container.v1.NodePoolDefaults valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -13604,6 +15350,8 @@ public Builder setNodePoolDefaults(
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -13613,11 +15361,13 @@ public Builder setNodePoolDefaults(
      */
     public Builder mergeNodePoolDefaults(com.google.container.v1.NodePoolDefaults value) {
       if (nodePoolDefaultsBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-            nodePoolDefaults_ != null &&
-            nodePoolDefaults_ != com.google.container.v1.NodePoolDefaults.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && nodePoolDefaults_ != null
+            && nodePoolDefaults_ != com.google.container.v1.NodePoolDefaults.getDefaultInstance()) {
           nodePoolDefaults_ =
-            com.google.container.v1.NodePoolDefaults.newBuilder(nodePoolDefaults_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodePoolDefaults.newBuilder(nodePoolDefaults_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodePoolDefaults_ = value;
         }
@@ -13629,6 +15379,8 @@ public Builder mergeNodePoolDefaults(com.google.container.v1.NodePoolDefaults va
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -13647,6 +15399,8 @@ public Builder clearNodePoolDefaults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -13660,6 +15414,8 @@ public com.google.container.v1.NodePoolDefaults.Builder getNodePoolDefaultsBuild
       return getNodePoolDefaultsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -13671,11 +15427,14 @@ public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBu
       if (nodePoolDefaultsBuilder_ != null) {
         return nodePoolDefaultsBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolDefaults_ == null ?
-            com.google.container.v1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
+        return nodePoolDefaults_ == null
+            ? com.google.container.v1.NodePoolDefaults.getDefaultInstance()
+            : nodePoolDefaults_;
       }
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -13684,14 +15443,17 @@ public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBu
      * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodePoolDefaults, com.google.container.v1.NodePoolDefaults.Builder, com.google.container.v1.NodePoolDefaultsOrBuilder> 
+            com.google.container.v1.NodePoolDefaults,
+            com.google.container.v1.NodePoolDefaults.Builder,
+            com.google.container.v1.NodePoolDefaultsOrBuilder>
         getNodePoolDefaultsFieldBuilder() {
       if (nodePoolDefaultsBuilder_ == null) {
-        nodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolDefaults, com.google.container.v1.NodePoolDefaults.Builder, com.google.container.v1.NodePoolDefaultsOrBuilder>(
-                getNodePoolDefaults(),
-                getParentForChildren(),
-                isClean());
+        nodePoolDefaultsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodePoolDefaults,
+                com.google.container.v1.NodePoolDefaults.Builder,
+                com.google.container.v1.NodePoolDefaultsOrBuilder>(
+                getNodePoolDefaults(), getParentForChildren(), isClean());
         nodePoolDefaults_ = null;
       }
       return nodePoolDefaultsBuilder_;
@@ -13699,34 +15461,47 @@ public com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBu
 
     private com.google.container.v1.LoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> loggingConfigBuilder_;
+            com.google.container.v1.LoggingConfig,
+            com.google.container.v1.LoggingConfig.Builder,
+            com.google.container.v1.LoggingConfigOrBuilder>
+        loggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Logging configuration for the cluster.
      * 
* * .google.container.v1.LoggingConfig logging_config = 132; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration for the cluster.
      * 
* * .google.container.v1.LoggingConfig logging_config = 132; + * * @return The loggingConfig. */ public com.google.container.v1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -13747,14 +15522,15 @@ public Builder setLoggingConfig(com.google.container.v1.LoggingConfig value) { return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
* * .google.container.v1.LoggingConfig logging_config = 132; */ - public Builder setLoggingConfig( - com.google.container.v1.LoggingConfig.Builder builderForValue) { + public Builder setLoggingConfig(com.google.container.v1.LoggingConfig.Builder builderForValue) { if (loggingConfigBuilder_ == null) { loggingConfig_ = builderForValue.build(); onChanged(); @@ -13765,6 +15541,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -13775,7 +15553,9 @@ public Builder mergeLoggingConfig(com.google.container.v1.LoggingConfig value) { if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.LoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -13787,6 +15567,8 @@ public Builder mergeLoggingConfig(com.google.container.v1.LoggingConfig value) { return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -13805,6 +15587,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -13812,11 +15596,13 @@ public Builder clearLoggingConfig() { * .google.container.v1.LoggingConfig logging_config = 132; */ public com.google.container.v1.LoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -13827,11 +15613,14 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -13839,14 +15628,17 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( * .google.container.v1.LoggingConfig logging_config = 132; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> + com.google.container.v1.LoggingConfig, + com.google.container.v1.LoggingConfig.Builder, + com.google.container.v1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingConfig, + com.google.container.v1.LoggingConfig.Builder, + com.google.container.v1.LoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -13854,34 +15646,47 @@ public com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder( private com.google.container.v1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; + com.google.container.v1.MonitoringConfig, + com.google.container.v1.MonitoringConfig.Builder, + com.google.container.v1.MonitoringConfigOrBuilder> + monitoringConfigBuilder_; /** + * + * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; + * * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return monitoringConfigBuilder_ != null || monitoringConfig_ != null; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; + * * @return The monitoringConfig. */ public com.google.container.v1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.container.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -13902,6 +15707,8 @@ public Builder setMonitoringConfig(com.google.container.v1.MonitoringConfig valu return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -13920,6 +15727,8 @@ public Builder setMonitoringConfig( return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -13930,7 +15739,9 @@ public Builder mergeMonitoringConfig(com.google.container.v1.MonitoringConfig va if (monitoringConfigBuilder_ == null) { if (monitoringConfig_ != null) { monitoringConfig_ = - com.google.container.v1.MonitoringConfig.newBuilder(monitoringConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.MonitoringConfig.newBuilder(monitoringConfig_) + .mergeFrom(value) + .buildPartial(); } else { monitoringConfig_ = value; } @@ -13942,6 +15753,8 @@ public Builder mergeMonitoringConfig(com.google.container.v1.MonitoringConfig va return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -13960,6 +15773,8 @@ public Builder clearMonitoringConfig() { return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -13967,11 +15782,13 @@ public Builder clearMonitoringConfig() { * .google.container.v1.MonitoringConfig monitoring_config = 133; */ public com.google.container.v1.MonitoringConfig.Builder getMonitoringConfigBuilder() { - + onChanged(); return getMonitoringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -13982,11 +15799,14 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null ? - com.google.container.v1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.container.v1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -13994,14 +15814,17 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu * .google.container.v1.MonitoringConfig monitoring_config = 133; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> + com.google.container.v1.MonitoringConfig, + com.google.container.v1.MonitoringConfig.Builder, + com.google.container.v1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), - getParentForChildren(), - isClean()); + monitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MonitoringConfig, + com.google.container.v1.MonitoringConfig.Builder, + com.google.container.v1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), getParentForChildren(), isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; @@ -14009,36 +15832,49 @@ public com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBu private com.google.container.v1.NodePoolAutoConfig nodePoolAutoConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoConfig, com.google.container.v1.NodePoolAutoConfig.Builder, com.google.container.v1.NodePoolAutoConfigOrBuilder> nodePoolAutoConfigBuilder_; + com.google.container.v1.NodePoolAutoConfig, + com.google.container.v1.NodePoolAutoConfig.Builder, + com.google.container.v1.NodePoolAutoConfigOrBuilder> + nodePoolAutoConfigBuilder_; /** + * + * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return Whether the nodePoolAutoConfig field is set. */ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfigBuilder_ != null || nodePoolAutoConfig_ != null; } /** + * + * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return The nodePoolAutoConfig. */ public com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig() { if (nodePoolAutoConfigBuilder_ == null) { - return nodePoolAutoConfig_ == null ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null + ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; } else { return nodePoolAutoConfigBuilder_.getMessage(); } } /** + * + * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -14060,6 +15896,8 @@ public Builder setNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -14079,6 +15917,8 @@ public Builder setNodePoolAutoConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -14090,7 +15930,9 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfi
       if (nodePoolAutoConfigBuilder_ == null) {
         if (nodePoolAutoConfig_ != null) {
           nodePoolAutoConfig_ =
-            com.google.container.v1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodePoolAutoConfig_ = value;
         }
@@ -14102,6 +15944,8 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1.NodePoolAutoConfi
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -14121,6 +15965,8 @@ public Builder clearNodePoolAutoConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -14129,11 +15975,13 @@ public Builder clearNodePoolAutoConfig() {
      * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     public com.google.container.v1.NodePoolAutoConfig.Builder getNodePoolAutoConfigBuilder() {
-      
+
       onChanged();
       return getNodePoolAutoConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -14145,11 +15993,14 @@ public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfig
       if (nodePoolAutoConfigBuilder_ != null) {
         return nodePoolAutoConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolAutoConfig_ == null ?
-            com.google.container.v1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_;
+        return nodePoolAutoConfig_ == null
+            ? com.google.container.v1.NodePoolAutoConfig.getDefaultInstance()
+            : nodePoolAutoConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -14158,21 +16009,24 @@ public com.google.container.v1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfig
      * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodePoolAutoConfig, com.google.container.v1.NodePoolAutoConfig.Builder, com.google.container.v1.NodePoolAutoConfigOrBuilder> 
+            com.google.container.v1.NodePoolAutoConfig,
+            com.google.container.v1.NodePoolAutoConfig.Builder,
+            com.google.container.v1.NodePoolAutoConfigOrBuilder>
         getNodePoolAutoConfigFieldBuilder() {
       if (nodePoolAutoConfigBuilder_ == null) {
-        nodePoolAutoConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolAutoConfig, com.google.container.v1.NodePoolAutoConfig.Builder, com.google.container.v1.NodePoolAutoConfigOrBuilder>(
-                getNodePoolAutoConfig(),
-                getParentForChildren(),
-                isClean());
+        nodePoolAutoConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodePoolAutoConfig,
+                com.google.container.v1.NodePoolAutoConfig.Builder,
+                com.google.container.v1.NodePoolAutoConfigOrBuilder>(
+                getNodePoolAutoConfig(), getParentForChildren(), isClean());
         nodePoolAutoConfig_ = null;
       }
       return nodePoolAutoConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -14182,12 +16036,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.Cluster)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.Cluster)
   private static final com.google.container.v1.Cluster DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.Cluster();
   }
@@ -14196,27 +16050,27 @@ public static com.google.container.v1.Cluster getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Cluster parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Cluster parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -14231,6 +16085,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.Cluster getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
similarity index 71%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
index 2935d3b68222..e3ebb0ddc033 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * ClusterAutoscaling contains global, per-cluster information
  * required by Cluster Autoscaler to automatically adjust
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.container.v1.ClusterAutoscaling}
  */
-public final class ClusterAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClusterAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ClusterAutoscaling)
     ClusterAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClusterAutoscaling.newBuilder() to construct.
   private ClusterAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClusterAutoscaling() {
     resourceLimits_ = java.util.Collections.emptyList();
     autoscalingProfile_ = 0;
@@ -30,39 +48,43 @@ private ClusterAutoscaling() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClusterAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ClusterAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ClusterAutoscaling.class, com.google.container.v1.ClusterAutoscaling.Builder.class);
+            com.google.container.v1.ClusterAutoscaling.class,
+            com.google.container.v1.ClusterAutoscaling.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Defines possible options for autoscaling_profile field.
    * 
* * Protobuf enum {@code google.container.v1.ClusterAutoscaling.AutoscalingProfile} */ - public enum AutoscalingProfile - implements com.google.protobuf.ProtocolMessageEnum { + public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No change to autoscaling configuration.
      * 
@@ -71,6 +93,8 @@ public enum AutoscalingProfile */ PROFILE_UNSPECIFIED(0), /** + * + * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -79,6 +103,8 @@ public enum AutoscalingProfile */ OPTIMIZE_UTILIZATION(1), /** + * + * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -90,6 +116,8 @@ public enum AutoscalingProfile ; /** + * + * *
      * No change to autoscaling configuration.
      * 
@@ -98,6 +126,8 @@ public enum AutoscalingProfile */ public static final int PROFILE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -106,6 +136,8 @@ public enum AutoscalingProfile */ public static final int OPTIMIZE_UTILIZATION_VALUE = 1; /** + * + * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -114,7 +146,6 @@ public enum AutoscalingProfile */ public static final int BALANCED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -139,10 +170,14 @@ public static AutoscalingProfile valueOf(int value) { */ public static AutoscalingProfile forNumber(int value) { switch (value) { - case 0: return PROFILE_UNSPECIFIED; - case 1: return OPTIMIZE_UTILIZATION; - case 2: return BALANCED; - default: return null; + case 0: + return PROFILE_UNSPECIFIED; + case 1: + return OPTIMIZE_UTILIZATION; + case 2: + return BALANCED; + default: + return null; } } @@ -150,28 +185,28 @@ public static AutoscalingProfile forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AutoscalingProfile> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AutoscalingProfile findValueByNumber(int number) { - return AutoscalingProfile.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AutoscalingProfile findValueByNumber(int number) { + return AutoscalingProfile.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.ClusterAutoscaling.getDescriptor().getEnumTypes().get(0); } @@ -180,8 +215,7 @@ public AutoscalingProfile findValueByNumber(int number) { public static AutoscalingProfile valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,11 +235,14 @@ private AutoscalingProfile(int value) { public static final int ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER = 1; private boolean enableNodeAutoprovisioning_; /** + * + * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; + * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -216,6 +253,8 @@ public boolean getEnableNodeAutoprovisioning() { public static final int RESOURCE_LIMITS_FIELD_NUMBER = 2; private java.util.List resourceLimits_; /** + * + * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -228,6 +267,8 @@ public java.util.List getResourceLimitsLi
     return resourceLimits_;
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -236,11 +277,13 @@ public java.util.List getResourceLimitsLi
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getResourceLimitsOrBuilderList() {
     return resourceLimits_;
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -253,6 +296,8 @@ public int getResourceLimitsCount() {
     return resourceLimits_.size();
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -265,6 +310,8 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
     return resourceLimits_.get(index);
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -273,47 +320,65 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
-      int index) {
+  public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index) {
     return resourceLimits_.get(index);
   }
 
   public static final int AUTOSCALING_PROFILE_FIELD_NUMBER = 3;
   private int autoscalingProfile_;
   /**
+   *
+   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override public int getAutoscalingProfileValue() { + @java.lang.Override + public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** + * + * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The autoscalingProfile. */ - @java.lang.Override public com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { + @java.lang.Override + public com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); - return result == null ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; + com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = + com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); + return result == null + ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED + : result; } public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER = 4; - private com.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; + private com.google.container.v1.AutoprovisioningNodePoolDefaults + autoprovisioningNodePoolDefaults_; /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return Whether the autoprovisioningNodePoolDefaults field is set. */ @java.lang.Override @@ -321,34 +386,49 @@ public boolean hasAutoprovisioningNodePoolDefaults() { return autoprovisioningNodePoolDefaults_ != null; } /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return The autoprovisioningNodePoolDefaults. */ @java.lang.Override - public com.google.container.v1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; + public com.google.container.v1.AutoprovisioningNodePoolDefaults + getAutoprovisioningNodePoolDefaults() { + return autoprovisioningNodePoolDefaults_ == null + ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() + : autoprovisioningNodePoolDefaults_; } /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ @java.lang.Override - public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder + getAutoprovisioningNodePoolDefaultsOrBuilder() { return getAutoprovisioningNodePoolDefaults(); } public static final int AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList autoprovisioningLocations_; /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -356,13 +436,15 @@ public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAuto
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList - getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { return autoprovisioningLocations_; } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -370,12 +452,15 @@ public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAuto
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -383,6 +468,7 @@ public int getAutoprovisioningLocationsCount() {
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -390,6 +476,8 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -397,15 +485,16 @@ public java.lang.String getAutoprovisioningLocations(int index) {
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString - getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,22 +506,24 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableNodeAutoprovisioning_ != false) { output.writeBool(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { output.writeMessage(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { + if (autoscalingProfile_ + != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { output.writeMessage(4, getAutoprovisioningNodePoolDefaults()); } for (int i = 0; i < autoprovisioningLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, autoprovisioningLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, autoprovisioningLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -444,20 +535,20 @@ public int getSerializedSize() { size = 0; if (enableNodeAutoprovisioning_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableNodeAutoprovisioning_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, resourceLimits_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, autoscalingProfile_); + if (autoscalingProfile_ + != com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAutoprovisioningNodePoolDefaults()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getAutoprovisioningNodePoolDefaults()); } { int dataSize = 0; @@ -475,25 +566,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ClusterAutoscaling)) { return super.equals(obj); } - com.google.container.v1.ClusterAutoscaling other = (com.google.container.v1.ClusterAutoscaling) obj; + com.google.container.v1.ClusterAutoscaling other = + (com.google.container.v1.ClusterAutoscaling) obj; - if (getEnableNodeAutoprovisioning() - != other.getEnableNodeAutoprovisioning()) return false; - if (!getResourceLimitsList() - .equals(other.getResourceLimitsList())) return false; + if (getEnableNodeAutoprovisioning() != other.getEnableNodeAutoprovisioning()) return false; + if (!getResourceLimitsList().equals(other.getResourceLimitsList())) return false; if (autoscalingProfile_ != other.autoscalingProfile_) return false; - if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) return false; + if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) + return false; if (hasAutoprovisioningNodePoolDefaults()) { if (!getAutoprovisioningNodePoolDefaults() .equals(other.getAutoprovisioningNodePoolDefaults())) return false; } - if (!getAutoprovisioningLocationsList() - .equals(other.getAutoprovisioningLocationsList())) return false; + if (!getAutoprovisioningLocationsList().equals(other.getAutoprovisioningLocationsList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -506,8 +597,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableNodeAutoprovisioning()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNodeAutoprovisioning()); if (getResourceLimitsCount() > 0) { hash = (37 * hash) + RESOURCE_LIMITS_FIELD_NUMBER; hash = (53 * hash) + getResourceLimitsList().hashCode(); @@ -527,97 +617,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ClusterAutoscaling parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ClusterAutoscaling parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClusterAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClusterAutoscaling parseFrom( 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.ClusterAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClusterAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ClusterAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ClusterAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ClusterAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ClusterAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ClusterAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ClusterAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ClusterAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ClusterAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ClusterAutoscaling contains global, per-cluster information
    * required by Cluster Autoscaler to automatically adjust
@@ -627,33 +724,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ClusterAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ClusterAutoscaling)
       com.google.container.v1.ClusterAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ClusterAutoscaling.class, com.google.container.v1.ClusterAutoscaling.Builder.class);
+              com.google.container.v1.ClusterAutoscaling.class,
+              com.google.container.v1.ClusterAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.ClusterAutoscaling.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -680,9 +776,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -701,7 +797,8 @@ public com.google.container.v1.ClusterAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.ClusterAutoscaling buildPartial() {
-      com.google.container.v1.ClusterAutoscaling result = new com.google.container.v1.ClusterAutoscaling(this);
+      com.google.container.v1.ClusterAutoscaling result =
+          new com.google.container.v1.ClusterAutoscaling(this);
       int from_bitField0_ = bitField0_;
       result.enableNodeAutoprovisioning_ = enableNodeAutoprovisioning_;
       if (resourceLimitsBuilder_ == null) {
@@ -732,38 +829,39 @@ public com.google.container.v1.ClusterAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ClusterAutoscaling) {
-        return mergeFrom((com.google.container.v1.ClusterAutoscaling)other);
+        return mergeFrom((com.google.container.v1.ClusterAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -793,9 +891,10 @@ public Builder mergeFrom(com.google.container.v1.ClusterAutoscaling other) {
             resourceLimitsBuilder_ = null;
             resourceLimits_ = other.resourceLimits_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceLimitsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResourceLimitsFieldBuilder() : null;
+            resourceLimitsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResourceLimitsFieldBuilder()
+                    : null;
           } else {
             resourceLimitsBuilder_.addAllMessages(other.resourceLimits_);
           }
@@ -843,48 +942,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enableNodeAutoprovisioning_ = input.readBool();
-
-              break;
-            } // case 8
-            case 18: {
-              com.google.container.v1.ResourceLimit m =
-                  input.readMessage(
-                      com.google.container.v1.ResourceLimit.parser(),
-                      extensionRegistry);
-              if (resourceLimitsBuilder_ == null) {
-                ensureResourceLimitsIsMutable();
-                resourceLimits_.add(m);
-              } else {
-                resourceLimitsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              autoscalingProfile_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAutoprovisioningLocationsIsMutable();
-              autoprovisioningLocations_.add(s);
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enableNodeAutoprovisioning_ = input.readBool();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                com.google.container.v1.ResourceLimit m =
+                    input.readMessage(
+                        com.google.container.v1.ResourceLimit.parser(), extensionRegistry);
+                if (resourceLimitsBuilder_ == null) {
+                  ensureResourceLimitsIsMutable();
+                  resourceLimits_.add(m);
+                } else {
+                  resourceLimitsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                autoscalingProfile_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAutoprovisioningLocationsIsMutable();
+                autoprovisioningLocations_.add(s);
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -894,15 +998,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enableNodeAutoprovisioning_ ;
+    private boolean enableNodeAutoprovisioning_;
     /**
+     *
+     *
      * 
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; + * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -910,48 +1018,61 @@ public boolean getEnableNodeAutoprovisioning() { return enableNodeAutoprovisioning_; } /** + * + * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; + * * @param value The enableNodeAutoprovisioning to set. * @return This builder for chaining. */ public Builder setEnableNodeAutoprovisioning(boolean value) { - + enableNodeAutoprovisioning_ = value; onChanged(); return this; } /** + * + * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; + * * @return This builder for chaining. */ public Builder clearEnableNodeAutoprovisioning() { - + enableNodeAutoprovisioning_ = false; onChanged(); return this; } private java.util.List resourceLimits_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourceLimitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceLimits_ = new java.util.ArrayList(resourceLimits_); + resourceLimits_ = + new java.util.ArrayList(resourceLimits_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ResourceLimit, com.google.container.v1.ResourceLimit.Builder, com.google.container.v1.ResourceLimitOrBuilder> resourceLimitsBuilder_; + com.google.container.v1.ResourceLimit, + com.google.container.v1.ResourceLimit.Builder, + com.google.container.v1.ResourceLimitOrBuilder> + resourceLimitsBuilder_; /** + * + * *
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -967,6 +1088,8 @@ public java.util.List getResourceLimitsLi
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -982,6 +1105,8 @@ public int getResourceLimitsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -997,6 +1122,8 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1004,8 +1131,7 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) {
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public Builder setResourceLimits(
-        int index, com.google.container.v1.ResourceLimit value) {
+    public Builder setResourceLimits(int index, com.google.container.v1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1019,6 +1145,8 @@ public Builder setResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1038,6 +1166,8 @@ public Builder setResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1059,6 +1189,8 @@ public Builder addResourceLimits(com.google.container.v1.ResourceLimit value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1066,8 +1198,7 @@ public Builder addResourceLimits(com.google.container.v1.ResourceLimit value) {
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public Builder addResourceLimits(
-        int index, com.google.container.v1.ResourceLimit value) {
+    public Builder addResourceLimits(int index, com.google.container.v1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1081,6 +1212,8 @@ public Builder addResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1100,6 +1233,8 @@ public Builder addResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1119,6 +1254,8 @@ public Builder addResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1130,8 +1267,7 @@ public Builder addAllResourceLimits(
         java.lang.Iterable values) {
       if (resourceLimitsBuilder_ == null) {
         ensureResourceLimitsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, resourceLimits_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceLimits_);
         onChanged();
       } else {
         resourceLimitsBuilder_.addAllMessages(values);
@@ -1139,6 +1275,8 @@ public Builder addAllResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1157,6 +1295,8 @@ public Builder clearResourceLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1175,6 +1315,8 @@ public Builder removeResourceLimits(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1182,11 +1324,12 @@ public Builder removeResourceLimits(int index) {
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1.ResourceLimit.Builder getResourceLimitsBuilder(
-        int index) {
+    public com.google.container.v1.ResourceLimit.Builder getResourceLimitsBuilder(int index) {
       return getResourceLimitsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1194,14 +1337,16 @@ public com.google.container.v1.ResourceLimit.Builder getResourceLimitsBuilder(
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
-        int index) {
+    public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index) {
       if (resourceLimitsBuilder_ == null) {
-        return resourceLimits_.get(index);  } else {
+        return resourceLimits_.get(index);
+      } else {
         return resourceLimitsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1209,8 +1354,8 @@ public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List 
-         getResourceLimitsOrBuilderList() {
+    public java.util.List
+        getResourceLimitsOrBuilderList() {
       if (resourceLimitsBuilder_ != null) {
         return resourceLimitsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1218,6 +1363,8 @@ public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1226,10 +1373,12 @@ public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
     public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder() {
-      return getResourceLimitsFieldBuilder().addBuilder(
-          com.google.container.v1.ResourceLimit.getDefaultInstance());
+      return getResourceLimitsFieldBuilder()
+          .addBuilder(com.google.container.v1.ResourceLimit.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1237,12 +1386,13 @@ public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder()
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(
-        int index) {
-      return getResourceLimitsFieldBuilder().addBuilder(
-          index, com.google.container.v1.ResourceLimit.getDefaultInstance());
+    public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(int index) {
+      return getResourceLimitsFieldBuilder()
+          .addBuilder(index, com.google.container.v1.ResourceLimit.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1250,16 +1400,22 @@ public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(
      *
      * repeated .google.container.v1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List 
-         getResourceLimitsBuilderList() {
+    public java.util.List
+        getResourceLimitsBuilderList() {
       return getResourceLimitsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.ResourceLimit, com.google.container.v1.ResourceLimit.Builder, com.google.container.v1.ResourceLimitOrBuilder> 
+            com.google.container.v1.ResourceLimit,
+            com.google.container.v1.ResourceLimit.Builder,
+            com.google.container.v1.ResourceLimitOrBuilder>
         getResourceLimitsFieldBuilder() {
       if (resourceLimitsBuilder_ == null) {
-        resourceLimitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.ResourceLimit, com.google.container.v1.ResourceLimit.Builder, com.google.container.v1.ResourceLimitOrBuilder>(
+        resourceLimitsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1.ResourceLimit,
+                com.google.container.v1.ResourceLimit.Builder,
+                com.google.container.v1.ResourceLimitOrBuilder>(
                 resourceLimits_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1271,118 +1427,167 @@ public com.google.container.v1.ResourceLimit.Builder addResourceLimitsBuilder(
 
     private int autoscalingProfile_ = 0;
     /**
+     *
+     *
      * 
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override public int getAutoscalingProfileValue() { + @java.lang.Override + public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @param value The enum numeric value on the wire for autoscalingProfile to set. * @return This builder for chaining. */ public Builder setAutoscalingProfileValue(int value) { - + autoscalingProfile_ = value; onChanged(); return this; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The autoscalingProfile. */ @java.lang.Override public com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); - return result == null ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; + com.google.container.v1.ClusterAutoscaling.AutoscalingProfile result = + com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.valueOf( + autoscalingProfile_); + return result == null + ? com.google.container.v1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED + : result; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @param value The autoscalingProfile to set. * @return This builder for chaining. */ - public Builder setAutoscalingProfile(com.google.container.v1.ClusterAutoscaling.AutoscalingProfile value) { + public Builder setAutoscalingProfile( + com.google.container.v1.ClusterAutoscaling.AutoscalingProfile value) { if (value == null) { throw new NullPointerException(); } - + autoscalingProfile_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return This builder for chaining. */ public Builder clearAutoscalingProfile() { - + autoscalingProfile_ = 0; onChanged(); return this; } - private com.google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; + private com.google.container.v1.AutoprovisioningNodePoolDefaults + autoprovisioningNodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoprovisioningNodePoolDefaults, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> autoprovisioningNodePoolDefaultsBuilder_; + com.google.container.v1.AutoprovisioningNodePoolDefaults, + com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, + com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> + autoprovisioningNodePoolDefaultsBuilder_; /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return Whether the autoprovisioningNodePoolDefaults field is set. */ public boolean hasAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaultsBuilder_ != null || autoprovisioningNodePoolDefaults_ != null; + return autoprovisioningNodePoolDefaultsBuilder_ != null + || autoprovisioningNodePoolDefaults_ != null; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return The autoprovisioningNodePoolDefaults. */ - public com.google.container.v1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { + public com.google.container.v1.AutoprovisioningNodePoolDefaults + getAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null + ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() + : autoprovisioningNodePoolDefaults_; } else { return autoprovisioningNodePoolDefaultsBuilder_.getMessage(); } } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public Builder setAutoprovisioningNodePoolDefaults(com.google.container.v1.AutoprovisioningNodePoolDefaults value) { + public Builder setAutoprovisioningNodePoolDefaults( + com.google.container.v1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1396,12 +1601,16 @@ public Builder setAutoprovisioningNodePoolDefaults(com.google.container.v1.Autop return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ public Builder setAutoprovisioningNodePoolDefaults( com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder builderForValue) { @@ -1415,18 +1624,26 @@ public Builder setAutoprovisioningNodePoolDefaults( return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public Builder mergeAutoprovisioningNodePoolDefaults(com.google.container.v1.AutoprovisioningNodePoolDefaults value) { + public Builder mergeAutoprovisioningNodePoolDefaults( + com.google.container.v1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (autoprovisioningNodePoolDefaults_ != null) { autoprovisioningNodePoolDefaults_ = - com.google.container.v1.AutoprovisioningNodePoolDefaults.newBuilder(autoprovisioningNodePoolDefaults_).mergeFrom(value).buildPartial(); + com.google.container.v1.AutoprovisioningNodePoolDefaults.newBuilder( + autoprovisioningNodePoolDefaults_) + .mergeFrom(value) + .buildPartial(); } else { autoprovisioningNodePoolDefaults_ = value; } @@ -1438,12 +1655,16 @@ public Builder mergeAutoprovisioningNodePoolDefaults(com.google.container.v1.Aut return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ public Builder clearAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { @@ -1457,64 +1678,87 @@ public Builder clearAutoprovisioningNodePoolDefaults() { return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder getAutoprovisioningNodePoolDefaultsBuilder() { - + public com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder + getAutoprovisioningNodePoolDefaultsBuilder() { + onChanged(); return getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(); } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder + getAutoprovisioningNodePoolDefaultsOrBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ != null) { return autoprovisioningNodePoolDefaultsBuilder_.getMessageOrBuilder(); } else { - return autoprovisioningNodePoolDefaults_ == null ? - com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null + ? com.google.container.v1.AutoprovisioningNodePoolDefaults.getDefaultInstance() + : autoprovisioningNodePoolDefaults_; } } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoprovisioningNodePoolDefaults, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> + com.google.container.v1.AutoprovisioningNodePoolDefaults, + com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, + com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder> getAutoprovisioningNodePoolDefaultsFieldBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - autoprovisioningNodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoprovisioningNodePoolDefaults, com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder>( - getAutoprovisioningNodePoolDefaults(), - getParentForChildren(), - isClean()); + autoprovisioningNodePoolDefaultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AutoprovisioningNodePoolDefaults, + com.google.container.v1.AutoprovisioningNodePoolDefaults.Builder, + com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder>( + getAutoprovisioningNodePoolDefaults(), getParentForChildren(), isClean()); autoprovisioningNodePoolDefaults_ = null; } return autoprovisioningNodePoolDefaultsBuilder_; } - private com.google.protobuf.LazyStringList autoprovisioningLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList autoprovisioningLocations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAutoprovisioningLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - autoprovisioningLocations_ = new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); + autoprovisioningLocations_ = + new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1522,13 +1766,15 @@ private void ensureAutoprovisioningLocationsIsMutable() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList - getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { return autoprovisioningLocations_.getUnmodifiableView(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1536,12 +1782,15 @@ private void ensureAutoprovisioningLocationsIsMutable() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1549,6 +1798,7 @@ public int getAutoprovisioningLocationsCount() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -1556,6 +1806,8 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1563,14 +1815,16 @@ public java.lang.String getAutoprovisioningLocations(int index) {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString - getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1578,21 +1832,23 @@ public java.lang.String getAutoprovisioningLocations(int index) {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index to set the value at. * @param value The autoprovisioningLocations to set. * @return This builder for chaining. */ - public Builder setAutoprovisioningLocations( - int index, java.lang.String value) { + public Builder setAutoprovisioningLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1600,20 +1856,22 @@ public Builder setAutoprovisioningLocations(
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param value The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocations( - java.lang.String value) { + public Builder addAutoprovisioningLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1621,18 +1879,19 @@ public Builder addAutoprovisioningLocations(
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param values The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAllAutoprovisioningLocations( - java.lang.Iterable values) { + public Builder addAllAutoprovisioningLocations(java.lang.Iterable values) { ensureAutoprovisioningLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, autoprovisioningLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, autoprovisioningLocations_); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1640,6 +1899,7 @@ public Builder addAllAutoprovisioningLocations(
      * 
* * repeated string autoprovisioning_locations = 5; + * * @return This builder for chaining. */ public Builder clearAutoprovisioningLocations() { @@ -1649,6 +1909,8 @@ public Builder clearAutoprovisioningLocations() { return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1656,23 +1918,23 @@ public Builder clearAutoprovisioningLocations() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param value The bytes of the autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addAutoprovisioningLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1682,12 +1944,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ClusterAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.ClusterAutoscaling) private static final com.google.container.v1.ClusterAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ClusterAutoscaling(); } @@ -1696,27 +1958,27 @@ public static com.google.container.v1.ClusterAutoscaling getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1731,6 +1993,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ClusterAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java similarity index 74% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java index f6ac5183224e..21b42e123253 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface ClusterAutoscalingOrBuilder extends +public interface ClusterAutoscalingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ClusterAutoscaling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; + * * @return The enableNodeAutoprovisioning. */ boolean getEnableNodeAutoprovisioning(); /** + * + * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -25,9 +46,10 @@ public interface ClusterAutoscalingOrBuilder extends
    *
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
-  java.util.List 
-      getResourceLimitsList();
+  java.util.List getResourceLimitsList();
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -37,6 +59,8 @@ public interface ClusterAutoscalingOrBuilder extends
    */
   com.google.container.v1.ResourceLimit getResourceLimits(int index);
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -46,6 +70,8 @@ public interface ClusterAutoscalingOrBuilder extends
    */
   int getResourceLimitsCount();
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -53,9 +79,11 @@ public interface ClusterAutoscalingOrBuilder extends
    *
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
-  java.util.List 
+  java.util.List
       getResourceLimitsOrBuilderList();
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -63,59 +91,83 @@ public interface ClusterAutoscalingOrBuilder extends
    *
    * repeated .google.container.v1.ResourceLimit resource_limits = 2;
    */
-  com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
-      int index);
+  com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The enum numeric value on the wire for autoscalingProfile. */ int getAutoscalingProfileValue(); /** + * + * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The autoscalingProfile. */ com.google.container.v1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile(); /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return Whether the autoprovisioningNodePoolDefaults field is set. */ boolean hasAutoprovisioningNodePoolDefaults(); /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return The autoprovisioningNodePoolDefaults. */ com.google.container.v1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults(); /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder(); + com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder + getAutoprovisioningNodePoolDefaultsOrBuilder(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -123,11 +175,13 @@ com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return A list containing the autoprovisioningLocations. */ - java.util.List - getAutoprovisioningLocationsList(); + java.util.List getAutoprovisioningLocationsList(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -135,10 +189,13 @@ com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return The count of autoprovisioningLocations. */ int getAutoprovisioningLocationsCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,11 +203,14 @@ com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ java.lang.String getAutoprovisioningLocations(int index); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -158,9 +218,9 @@ com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - com.google.protobuf.ByteString - getAutoprovisioningLocationsBytes(int index); + com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 88% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java index b4503586fb3d..6dc0416dbf54 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ClusterOrBuilder extends +public interface ClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.Cluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -18,10 +36,13 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -32,32 +53,39 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -71,13 +99,17 @@ public interface ClusterOrBuilder extends
    * 
* * 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=1466 + * + * @deprecated google.container.v1.Cluster.initial_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1466 * @return The initialNodeCount. */ - @java.lang.Deprecated int getInitialNodeCount(); + @java.lang.Deprecated + int getInitialNodeCount(); /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -92,12 +124,16 @@ public interface ClusterOrBuilder extends
    * 
* * .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=1479 + * + * @deprecated google.container.v1.Cluster.node_config is deprecated. See + * google/container/v1/cluster_service.proto;l=1479 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated boolean hasNodeConfig(); + @java.lang.Deprecated + boolean hasNodeConfig(); /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -112,12 +148,16 @@ public interface ClusterOrBuilder extends
    * 
* * .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=1479 + * + * @deprecated google.container.v1.Cluster.node_config is deprecated. See + * google/container/v1/cluster_service.proto;l=1479 * @return The nodeConfig. */ - @java.lang.Deprecated com.google.container.v1.NodeConfig getNodeConfig(); + @java.lang.Deprecated + com.google.container.v1.NodeConfig getNodeConfig(); /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -133,9 +173,12 @@ public interface ClusterOrBuilder extends
    *
    * .google.container.v1.NodeConfig node_config = 4 [deprecated = true];
    */
-  @java.lang.Deprecated com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder();
+  @java.lang.Deprecated
+  com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -145,10 +188,13 @@ public interface ClusterOrBuilder extends
    * 
* * .google.container.v1.MasterAuth master_auth = 5; + * * @return Whether the masterAuth field is set. */ boolean hasMasterAuth(); /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -158,10 +204,13 @@ public interface ClusterOrBuilder extends
    * 
* * .google.container.v1.MasterAuth master_auth = 5; + * * @return The masterAuth. */ com.google.container.v1.MasterAuth getMasterAuth(); /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -175,6 +224,8 @@ public interface ClusterOrBuilder extends
   com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder();
 
   /**
+   *
+   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -188,10 +239,13 @@ public interface ClusterOrBuilder extends
    * 
* * string logging_service = 6; + * * @return The loggingService. */ java.lang.String getLoggingService(); /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -205,12 +259,14 @@ public interface ClusterOrBuilder extends
    * 
* * string logging_service = 6; + * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString - getLoggingServiceBytes(); + com.google.protobuf.ByteString getLoggingServiceBytes(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -224,10 +280,13 @@ public interface ClusterOrBuilder extends
    * 
* * string monitoring_service = 7; + * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -241,12 +300,14 @@ public interface ClusterOrBuilder extends
    * 
* * string monitoring_service = 7; + * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString - getMonitoringServiceBytes(); + com.google.protobuf.ByteString getMonitoringServiceBytes(); /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -255,10 +316,13 @@ public interface ClusterOrBuilder extends
    * 
* * string network = 8; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -267,12 +331,14 @@ public interface ClusterOrBuilder extends
    * 
* * string network = 8; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -281,10 +347,13 @@ public interface ClusterOrBuilder extends
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The clusterIpv4Cidr. */ java.lang.String getClusterIpv4Cidr(); /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -293,30 +362,38 @@ public interface ClusterOrBuilder extends
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The bytes for clusterIpv4Cidr. */ - com.google.protobuf.ByteString - getClusterIpv4CidrBytes(); + com.google.protobuf.ByteString getClusterIpv4CidrBytes(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; + * * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig addons_config = 10; + * * @return The addonsConfig. */ com.google.container.v1.AddonsConfig getAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -326,6 +403,8 @@ public interface ClusterOrBuilder extends com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -333,10 +412,13 @@ public interface ClusterOrBuilder extends
    * 
* * string subnetwork = 11; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -344,12 +426,14 @@ public interface ClusterOrBuilder extends
    * 
* * string subnetwork = 11; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -358,9 +442,10 @@ public interface ClusterOrBuilder extends
    *
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
-  java.util.List 
-      getNodePoolsList();
+  java.util.List getNodePoolsList();
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -371,6 +456,8 @@ public interface ClusterOrBuilder extends
    */
   com.google.container.v1.NodePool getNodePools(int index);
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -381,6 +468,8 @@ public interface ClusterOrBuilder extends
    */
   int getNodePoolsCount();
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -389,9 +478,10 @@ public interface ClusterOrBuilder extends
    *
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
-  java.util.List 
-      getNodePoolsOrBuilderList();
+  java.util.List getNodePoolsOrBuilderList();
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -400,10 +490,11 @@ public interface ClusterOrBuilder extends
    *
    * repeated .google.container.v1.NodePool node_pools = 12;
    */
-  com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
-      int index);
+  com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -417,11 +508,13 @@ com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -435,10 +528,13 @@ com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -452,11 +548,14 @@ com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -470,13 +569,15 @@ com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1alpha1) and features that may not be production ready in
@@ -487,11 +588,14 @@ com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * bool enable_kubernetes_alpha = 14; + * * @return The enableKubernetesAlpha. */ boolean getEnableKubernetesAlpha(); /** + * + * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -501,6 +605,8 @@ com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    */
   int getResourceLabelsCount();
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -508,15 +614,13 @@ com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(
    *
    * map<string, string> resource_labels = 15;
    */
-  boolean containsResourceLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  boolean containsResourceLabels(java.lang.String key);
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getResourceLabels();
+  java.util.Map getResourceLabels();
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -524,9 +628,10 @@ boolean containsResourceLabels(
    *
    * map<string, string> resource_labels = 15;
    */
-  java.util.Map
-  getResourceLabelsMap();
+  java.util.Map getResourceLabelsMap();
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -536,11 +641,13 @@ boolean containsResourceLabels(
    */
 
   /* nullable */
-java.lang.String getResourceLabelsOrDefault(
+  java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -548,49 +655,60 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 15;
    */
-
-  java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** + * + * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString - getLabelFingerprintBytes(); + com.google.protobuf.ByteString getLabelFingerprintBytes(); /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; + * * @return Whether the legacyAbac field is set. */ boolean hasLegacyAbac(); /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1.LegacyAbac legacy_abac = 18; + * * @return The legacyAbac. */ com.google.container.v1.LegacyAbac getLegacyAbac(); /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -600,24 +718,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder(); /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; + * * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1.NetworkPolicy network_policy = 19; + * * @return The networkPolicy. */ com.google.container.v1.NetworkPolicy getNetworkPolicy(); /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -627,24 +753,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return The ipAllocationPolicy. */ com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy(); /** + * + * *
    * Configuration for cluster IP allocation.
    * 
@@ -654,51 +788,74 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return Whether the masterAuthorizedNetworksConfig field is set. */ boolean hasMasterAuthorizedNetworksConfig(); /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return The masterAuthorizedNetworksConfig. */ com.google.container.v1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig(); /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder + getMasterAuthorizedNetworksConfigOrBuilder(); /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; + * * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1.MaintenancePolicy maintenance_policy = 23; + * * @return The maintenancePolicy. */ com.google.container.v1.MaintenancePolicy getMaintenancePolicy(); /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -708,24 +865,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; + * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1.BinaryAuthorization binary_authorization = 24; + * * @return The binaryAuthorization. */ com.google.container.v1.BinaryAuthorization getBinaryAuthorization(); /** + * + * *
    * Configuration for Binary Authorization.
    * 
@@ -735,24 +900,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling autoscaling = 26; + * * @return The autoscaling. */ com.google.container.v1.ClusterAutoscaling getAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -762,24 +935,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuilder(); /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1.NetworkConfig network_config = 27; + * * @return The networkConfig. */ com.google.container.v1.NetworkConfig getNetworkConfig(); /** + * + * *
    * Configuration for cluster networking.
    * 
@@ -789,6 +970,8 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -796,10 +979,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return Whether the defaultMaxPodsConstraint field is set. */ boolean hasDefaultMaxPodsConstraint(); /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -807,10 +993,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return The defaultMaxPodsConstraint. */ com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint(); /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -822,26 +1011,34 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * * @return Whether the resourceUsageExportConfig field is set. */ boolean hasResourceUsageExportConfig(); /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
    * 
* * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; + * * @return The resourceUsageExportConfig. */ com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportConfig(); /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config is unspecified.
@@ -849,54 +1046,72 @@ java.lang.String getResourceLabelsOrThrow(
    *
    * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33;
    */
-  com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder();
+  com.google.container.v1.ResourceUsageExportConfigOrBuilder
+      getResourceUsageExportConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * * @return Whether the authenticatorGroupsConfig field is set. */ boolean hasAuthenticatorGroupsConfig(); /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * * @return The authenticatorGroupsConfig. */ com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig(); /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder + getAuthenticatorGroupsConfigOrBuilder(); /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; + * * @return The privateClusterConfig. */ com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig(); /** + * + * *
    * Configuration for private cluster.
    * 
@@ -906,24 +1121,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; + * * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption database_encryption = 38; + * * @return The databaseEncryption. */ com.google.container.v1.DatabaseEncryption getDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
@@ -933,24 +1156,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return Whether the verticalPodAutoscaling field is set. */ boolean hasVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return The verticalPodAutoscaling. */ com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -960,24 +1191,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder(); /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; + * * @return Whether the shieldedNodes field is set. */ boolean hasShieldedNodes(); /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1.ShieldedNodes shielded_nodes = 40; + * * @return The shieldedNodes. */ com.google.container.v1.ShieldedNodes getShieldedNodes(); /** + * + * *
    * Shielded Nodes configuration.
    * 
@@ -987,24 +1226,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder(); /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; + * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 41; + * * @return The releaseChannel. */ com.google.container.v1.ReleaseChannel getReleaseChannel(); /** + * + * *
    * Release channel configuration.
    * 
@@ -1014,26 +1261,34 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder(); /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return The workloadIdentityConfig. */ com.google.container.v1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -1044,26 +1299,34 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; + * * @return Whether the meshCertificates field is set. */ boolean hasMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates mesh_certificates = 67; + * * @return The meshCertificates. */ com.google.container.v1.MeshCertificates getMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1074,24 +1337,32 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; + * * @return Whether the costManagementConfig field is set. */ boolean hasCostManagementConfig(); /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig cost_management_config = 45; + * * @return The costManagementConfig. */ com.google.container.v1.CostManagementConfig getCostManagementConfig(); /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -1101,24 +1372,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder(); /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; + * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1.NotificationConfig notification_config = 49; + * * @return The notificationConfig. */ com.google.container.v1.NotificationConfig getNotificationConfig(); /** + * + * *
    * Notification configuration of the cluster.
    * 
@@ -1128,26 +1407,34 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.NotificationConfigOrBuilder getNotificationConfigOrBuilder(); /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; + * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 50; + * * @return The confidentialNodes. */ com.google.container.v1.ConfidentialNodes getConfidentialNodes(); /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -1158,24 +1445,32 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * * @return Whether the identityServiceConfig field is set. */ boolean hasIdentityServiceConfig(); /** + * + * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1.IdentityServiceConfig identity_service_config = 54; + * * @return The identityServiceConfig. */ com.google.container.v1.IdentityServiceConfig getIdentityServiceConfig(); /** + * + * *
    * Configuration for Identity Service component.
    * 
@@ -1185,26 +1480,33 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder(); /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ java.lang.String getSelfLink(); /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString - getSelfLinkBytes(); + com.google.protobuf.ByteString getSelfLinkBytes(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1212,12 +1514,16 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1225,14 +1531,17 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1.Cluster.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=1645 + * + * @deprecated google.container.v1.Cluster.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=1645 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1242,10 +1551,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string endpoint = 102; + * * @return The endpoint. */ java.lang.String getEndpoint(); /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1255,12 +1567,14 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string endpoint = 102; + * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString - getEndpointBytes(); + com.google.protobuf.ByteString getEndpointBytes(); /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1276,10 +1590,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string initial_cluster_version = 103; + * * @return The initialClusterVersion. */ java.lang.String getInitialClusterVersion(); /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1295,32 +1612,39 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string initial_cluster_version = 103; + * * @return The bytes for initialClusterVersion. */ - com.google.protobuf.ByteString - getInitialClusterVersionBytes(); + com.google.protobuf.ByteString getInitialClusterVersionBytes(); /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The currentMasterVersion. */ java.lang.String getCurrentMasterVersion(); /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The bytes for currentMasterVersion. */ - com.google.protobuf.ByteString - getCurrentMasterVersionBytes(); + com.google.protobuf.ByteString getCurrentMasterVersionBytes(); /** + * + * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -1330,12 +1654,16 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @return The currentNodeVersion. */ - @java.lang.Deprecated java.lang.String getCurrentNodeVersion(); + @java.lang.Deprecated + java.lang.String getCurrentNodeVersion(); /** + * + * *
    * [Output only] Deprecated, use
    * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
@@ -1345,55 +1673,69 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * 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=1678 + * + * @deprecated google.container.v1.Cluster.current_node_version is deprecated. See + * google/container/v1/cluster_service.proto;l=1678 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getCurrentNodeVersionBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getCurrentNodeVersionBytes(); /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The createTime. */ java.lang.String getCreateTime(); /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The bytes for createTime. */ - com.google.protobuf.ByteString - getCreateTimeBytes(); + com.google.protobuf.ByteString getCreateTimeBytes(); /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1.Cluster.Status status = 107; + * * @return The status. */ com.google.container.v1.Cluster.Status getStatus(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1401,12 +1743,16 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1.Cluster.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @return The statusMessage. */ - @java.lang.Deprecated java.lang.String getStatusMessage(); + @java.lang.Deprecated + java.lang.String getStatusMessage(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1414,14 +1760,17 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1.Cluster.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=1690 + * + * @deprecated google.container.v1.Cluster.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=1690 * @return The bytes for statusMessage. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getStatusMessageBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -1430,11 +1779,14 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * int32 node_ipv4_cidr_size = 109; + * * @return The nodeIpv4CidrSize. */ int getNodeIpv4CidrSize(); /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -1444,10 +1796,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string services_ipv4_cidr = 110; + * * @return The servicesIpv4Cidr. */ java.lang.String getServicesIpv4Cidr(); /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -1457,96 +1812,121 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string services_ipv4_cidr = 110; + * * @return The bytes for servicesIpv4Cidr. */ - com.google.protobuf.ByteString - getServicesIpv4CidrBytes(); + com.google.protobuf.ByteString getServicesIpv4CidrBytes(); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated java.util.List - getInstanceGroupUrlsList(); + @java.lang.Deprecated + java.util.List getInstanceGroupUrlsList(); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated int getInstanceGroupUrlsCount(); + @java.lang.Deprecated + int getInstanceGroupUrlsCount(); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated java.lang.String getInstanceGroupUrls(int index); + @java.lang.Deprecated + java.lang.String getInstanceGroupUrls(int index); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1706 + * + * @deprecated google.container.v1.Cluster.instance_group_urls is deprecated. See + * google/container/v1/cluster_service.proto;l=1706 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); /** + * + * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1710 + * + * @deprecated google.container.v1.Cluster.current_node_count is deprecated. See + * google/container/v1/cluster_service.proto;l=1710 * @return The currentNodeCount. */ - @java.lang.Deprecated int getCurrentNodeCount(); + @java.lang.Deprecated + int getCurrentNodeCount(); /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The expireTime. */ java.lang.String getExpireTime(); /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The bytes for expireTime. */ - com.google.protobuf.ByteString - getExpireTimeBytes(); + com.google.protobuf.ByteString getExpireTimeBytes(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1556,10 +1936,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string location = 114; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1569,22 +1952,27 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string location = 114; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * 
* * bool enable_tpu = 115; + * * @return The enableTpu. */ boolean getEnableTpu(); /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -1592,10 +1980,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -1603,21 +1994,24 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - java.util.List - getConditionsList(); + java.util.List getConditionsList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -1626,6 +2020,8 @@ java.lang.String getResourceLabelsOrThrow( */ com.google.container.v1.StatusCondition getConditions(int index); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -1634,43 +2030,54 @@ java.lang.String getResourceLabelsOrThrow( */ int getConditionsCount(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 118; */ - com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( - int index); + com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index); /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; + * * @return Whether the autopilot field is set. */ boolean hasAutopilot(); /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1.Autopilot autopilot = 128; + * * @return The autopilot. */ com.google.container.v1.Autopilot getAutopilot(); /** + * + * *
    * Autopilot configuration for the cluster.
    * 
@@ -1680,46 +2087,59 @@ com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1.AutopilotOrBuilder getAutopilotOrBuilder(); /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; + * * @return Whether the nodePoolDefaults field is set. */ boolean hasNodePoolDefaults(); /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1.NodePoolDefaults node_pool_defaults = 131; + * * @return The nodePoolDefaults. */ com.google.container.v1.NodePoolDefaults getNodePoolDefaults(); /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -1730,24 +2150,32 @@ com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(
   com.google.container.v1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1.LoggingConfig logging_config = 132; + * * @return The loggingConfig. */ com.google.container.v1.LoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration for the cluster.
    * 
@@ -1757,24 +2185,32 @@ com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; + * * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1.MonitoringConfig monitoring_config = 133; + * * @return The monitoringConfig. */ com.google.container.v1.MonitoringConfig getMonitoringConfig(); /** + * + * *
    * Monitoring configuration for the cluster.
    * 
@@ -1784,26 +2220,34 @@ com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return Whether the nodePoolAutoConfig field is set. */ boolean hasNodePoolAutoConfig(); /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return The nodePoolAutoConfig. */ com.google.container.v1.NodePoolAutoConfig getNodePoolAutoConfig(); /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
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
new file mode 100644
index 000000000000..a6b0f8515798
--- /dev/null
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java
@@ -0,0 +1,3333 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
+
+package com.google.container.v1;
+
+public final class ClusterServiceProto {
+  private ClusterServiceProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_LinuxNodeConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeKubeletConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_MetadataEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_AdvancedMachineFeatures_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeNetworkConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ShieldedInstanceConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SandboxConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SandboxConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GcfsConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GcfsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ReservationAffinity_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeTaint_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeTaint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeTaints_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeTaints_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeLabels_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeLabels_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeLabels_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ResourceLabels_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceLabels_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceLabels_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NetworkTags_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkTags_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MasterAuth_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MasterAuth_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ClientCertificateConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_AddonsConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AddonsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_KubernetesDashboard_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_DnsCacheConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_PrivateClusterConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_CloudRunConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ConfigConnectorConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GkeBackupAgentConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_LegacyAbac_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LegacyAbac_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NetworkPolicy_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_BinaryAuthorization_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_IPAllocationPolicy_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_Cluster_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Cluster_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Cluster_ResourceLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePoolDefaults_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeConfigDefaults_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ClusterUpdate_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_Operation_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Operation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_OperationProgress_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_OperationProgress_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_OperationProgress_Metric_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_CreateClusterRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetClusterRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_UpdateClusterRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_UpdateNodePoolRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetLoggingServiceRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetAddonsConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetLocationsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_UpdateMasterRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetMasterAuthRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_DeleteClusterRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListClustersRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListClustersResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetOperationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListOperationsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_CancelOperationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListOperationsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetServerConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ServerConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ServerConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_CreateNodePoolRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_DeleteNodePoolRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListNodePoolsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetNodePoolRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_BlueGreenSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePool_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodeManagement_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodeManagement_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_AutoUpgradeOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MaintenancePolicy_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MaintenanceWindow_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_TimeWindow_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_TimeWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_RecurringTimeWindow_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_DailyMaintenanceWindow_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListNodePoolsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ClusterAutoscaling_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ResourceLimit_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceLimit_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetLabelsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_CompleteIPRotationRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_AcceleratorConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GPUSharingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_StatusCondition_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_StatusCondition_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NetworkConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NetworkConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GatewayAPIConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_Jwk_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Jwk_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ReleaseChannel_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_CostManagementConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_DNSConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DNSConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MaxPodsConstraint_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MeshCertificates_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MeshCertificates_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_DatabaseEncryption_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_UsableSubnetwork_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ResourceUsageExportConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ShieldedNodes_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_VirtualNIC_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_VirtualNIC_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_FastSocket_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_FastSocket_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NotificationConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NotificationConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NotificationConfig_PubSub_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ConfidentialNodes_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_UpgradeEvent_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_Autopilot_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_Autopilot_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_LoggingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LoggingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_LoggingComponentConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MonitoringConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_NodePoolLoggingConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_LoggingVariantConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_MonitoringComponentConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n)google/container/v1/cluster_service.pr"
+          + "oto\022\023google.container.v1\032\034google/api/ann"
+          + "otations.proto\032\027google/api/client.proto\032"
+          + "\037google/api/field_behavior.proto\032\031google"
+          + "/api/resource.proto\032\036google/protobuf/dur"
+          + "ation.proto\032\033google/protobuf/empty.proto"
+          + "\032\037google/protobuf/timestamp.proto\032\036googl"
+          + "e/protobuf/wrappers.proto\032\025google/rpc/co"
+          + "de.proto\032\027google/rpc/status.proto\"\236\002\n\017Li"
+          + "nuxNodeConfig\022B\n\007sysctls\030\001 \003(\01321.google."
+          + "container.v1.LinuxNodeConfig.SysctlsEntr"
+          + "y\022D\n\013cgroup_mode\030\002 \001(\0162/.google.containe"
+          + "r.v1.LinuxNodeConfig.CgroupMode\032.\n\014Sysct"
+          + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\""
+          + "Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECIFIED"
+          + "\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MODE_V2"
+          + "\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_manager_"
+          + "policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132\032.go"
+          + "ogle.protobuf.BoolValue\022\034\n\024cpu_cfs_quota"
+          + "_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(\003\"\237\014"
+          + "\n\nNodeConfig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014di"
+          + "sk_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("
+          + "\0132-.google.container.v1.NodeConfig.Metad"
+          + "ataEntry\022\022\n\nimage_type\030\005 \001(\t\022;\n\006labels\030\006"
+          + " \003(\0132+.google.container.v1.NodeConfig.La"
+          + "belsEntry\022\027\n\017local_ssd_count\030\007 \001(\005\022\014\n\004ta"
+          + "gs\030\010 \003(\t\022\023\n\013preemptible\030\n \001(\010\022<\n\014acceler"
+          + "ators\030\013 \003(\0132&.google.container.v1.Accele"
+          + "ratorConfig\022\021\n\tdisk_type\030\014 \001(\t\022\030\n\020min_cp"
+          + "u_platform\030\r \001(\t\022M\n\030workload_metadata_co"
+          + "nfig\030\016 \001(\0132+.google.container.v1.Workloa"
+          + "dMetadataConfig\022.\n\006taints\030\017 \003(\0132\036.google"
+          + ".container.v1.NodeTaint\022:\n\016sandbox_confi"
+          + "g\030\021 \001(\0132\".google.container.v1.SandboxCon"
+          + "fig\022\022\n\nnode_group\030\022 \001(\t\022F\n\024reservation_a"
+          + "ffinity\030\023 \001(\0132(.google.container.v1.Rese"
+          + "rvationAffinity\022M\n\030shielded_instance_con"
+          + "fig\030\024 \001(\0132+.google.container.v1.Shielded"
+          + "InstanceConfig\022?\n\021linux_node_config\030\025 \001("
+          + "\0132$.google.container.v1.LinuxNodeConfig\022"
+          + ">\n\016kubelet_config\030\026 \001(\0132&.google.contain"
+          + "er.v1.NodeKubeletConfig\022\031\n\021boot_disk_kms"
+          + "_key\030\027 \001(\t\0224\n\013gcfs_config\030\031 \001(\0132\037.google"
+          + ".container.v1.GcfsConfig\022O\n\031advanced_mac"
+          + "hine_features\030\032 \001(\0132,.google.container.v"
+          + "1.AdvancedMachineFeatures\022.\n\005gvnic\030\035 \001(\013"
+          + "2\037.google.container.v1.VirtualNIC\022\014\n\004spo"
+          + "t\030  \001(\010\022B\n\022confidential_nodes\030# \001(\0132&.go"
+          + "ogle.container.v1.ConfidentialNodes\0229\n\013f"
+          + "ast_socket\030$ \001(\0132\037.google.container.v1.F"
+          + "astSocketH\000\210\001\001\022L\n\017resource_labels\030% \003(\0132"
+          + "3.google.container.v1.NodeConfig.Resourc"
+          + "eLabelsEntry\022B\n\016logging_config\030& \001(\0132*.g"
+          + "oogle.container.v1.NodePoolLoggingConfig"
+          + "\032/\n\rMetadataEntry\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\020th"
+          + "reads_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_pe"
+          + "r_core\"\376\003\n\021NodeNetworkConfig\022\035\n\020create_p"
+          + "od_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_pr"
+          + "ivate_nodes\030\t \001(\010H\000\210\001\001\022h\n\032network_perfor"
+          + "mance_config\030\013 \001(\0132?.google.container.v1"
+          + ".NodeNetworkConfig.NetworkPerformanceCon"
+          + "figH\001\210\001\001\032\324\001\n\030NetworkPerformanceConfig\022n\n"
+          + "\033total_egress_bandwidth_tier\030\001 \001(\0162D.goo"
+          + "gle.container.v1.NodeNetworkConfig.Netwo"
+          + "rkPerformanceConfig.TierH\000\210\001\001\"(\n\004Tier\022\024\n"
+          + "\020TIER_UNSPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_tota"
+          + "l_egress_bandwidth_tierB\027\n\025_enable_priva"
+          + "te_nodesB\035\n\033_network_performance_config\""
+          + "Y\n\026ShieldedInstanceConfig\022\032\n\022enable_secu"
+          + "re_boot\030\001 \001(\010\022#\n\033enable_integrity_monito"
+          + "ring\030\002 \001(\010\"k\n\rSandboxConfig\0225\n\004type\030\002 \001("
+          + "\0162\'.google.container.v1.SandboxConfig.Ty"
+          + "pe\"#\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\023Reser"
+          + "vationAffinity\022O\n\030consume_reservation_ty"
+          + "pe\030\001 \001(\0162-.google.container.v1.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\"\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%.goo"
+          + "gle.container.v1.NodeTaint.Effect\"Y\n\006Eff"
+          + "ect\022\026\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDU"
+          + "LE\020\001\022\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECU"
+          + "TE\020\003\"<\n\nNodeTaints\022.\n\006taints\030\001 \003(\0132\036.goo"
+          + "gle.container.v1.NodeTaint\"x\n\nNodeLabels"
+          + "\022;\n\006labels\030\001 \003(\0132+.google.container.v1.N"
+          + "odeLabels.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003"
+          + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\016Resourc"
+          + "eLabels\022?\n\006labels\030\001 \003(\0132/.google.contain"
+          + "er.v1.ResourceLabels.LabelsEntry\032-\n\013Labe"
+          + "lsEntry\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\"\331\001\n\nMasterA"
+          + "uth\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.ClientCertifica"
+          + "teConfig\022\036\n\026cluster_ca_certificate\030d \001(\t"
+          + "\022\032\n\022client_certificate\030e \001(\t\022\022\n\nclient_k"
+          + "ey\030f \001(\t\";\n\027ClientCertificateConfig\022 \n\030i"
+          + "ssue_client_certificate\030\001 \001(\010\"\223\006\n\014Addons"
+          + "Config\022C\n\023http_load_balancing\030\001 \001(\0132&.go"
+          + "ogle.container.v1.HttpLoadBalancing\022Q\n\032h"
+          + "orizontal_pod_autoscaling\030\002 \001(\0132-.google"
+          + ".container.v1.HorizontalPodAutoscaling\022J"
+          + "\n\024kubernetes_dashboard\030\003 \001(\0132(.google.co"
+          + "ntainer.v1.KubernetesDashboardB\002\030\001\022G\n\025ne"
+          + "twork_policy_config\030\004 \001(\0132(.google.conta"
+          + "iner.v1.NetworkPolicyConfig\022=\n\020cloud_run"
+          + "_config\030\007 \001(\0132#.google.container.v1.Clou"
+          + "dRunConfig\022=\n\020dns_cache_config\030\010 \001(\0132#.g"
+          + "oogle.container.v1.DnsCacheConfig\022K\n\027con"
+          + "fig_connector_config\030\n \001(\0132*.google.cont"
+          + "ainer.v1.ConfigConnectorConfig\022d\n%gce_pe"
+          + "rsistent_disk_csi_driver_config\030\013 \001(\01325."
+          + "google.container.v1.GcePersistentDiskCsi"
+          + "DriverConfig\022Y\n\037gcp_filestore_csi_driver"
+          + "_config\030\016 \001(\01320.google.container.v1.GcpF"
+          + "ilestoreCsiDriverConfig\022J\n\027gke_backup_ag"
+          + "ent_config\030\020 \001(\0132).google.container.v1.G"
+          + "keBackupAgentConfig\"%\n\021HttpLoadBalancing"
+          + "\022\020\n\010disabled\030\001 \001(\010\",\n\030HorizontalPodAutos"
+          + "caling\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDa"
+          + "shboard\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPoli"
+          + "cyConfig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheCo"
+          + "nfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClusterM"
+          + "asterGlobalAccessConfig\022\017\n\007enabled\030\001 \001(\010"
+          + "\"\305\002\n\024PrivateClusterConfig\022\034\n\024enable_priv"
+          + "ate_nodes\030\001 \001(\010\022\037\n\027enable_private_endpoi"
+          + "nt\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_end"
+          + "point\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022`\n\033mas"
+          + "ter_global_access_config\030\010 \001(\0132;.google."
+          + "container.v1.PrivateClusterMasterGlobalA"
+          + "ccessConfig\022#\n\033private_endpoint_subnetwo"
+          + "rk\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\016CloudRunConfig\022\020\n\010disabled\030\001 \001(\010\022P\n\022l"
+          + "oad_balancer_type\030\003 \001(\01624.google.contain"
+          + "er.v1.CloudRunConfig.LoadBalancerType\"x\n"
+          + "\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TYPE_"
+          + "UNSPECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTE"
+          + "RNAL\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\""
+          + "(\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\024GkeBackupAgent"
+          + "Config\022\017\n\007enabled\030\001 \001(\010\"\216\002\n\036MasterAuthor"
+          + "izedNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022R\n\013c"
+          + "idr_blocks\030\002 \003(\0132=.google.container.v1.M"
+          + "asterAuthorizedNetworksConfig.CidrBlock\022"
+          + ",\n\037gcp_public_cidrs_access_enabled\030\003 \001(\010"
+          + "H\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_cidr"
+          + "s_access_enabled\"\035\n\nLegacyAbac\022\017\n\007enable"
+          + "d\030\001 \001(\010\"\221\001\n\rNetworkPolicy\022=\n\010provider\030\001 "
+          + "\001(\0162+.google.container.v1.NetworkPolicy."
+          + "Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010Provider\022\030\n"
+          + "\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CALICO\020\001\"\343\001\n\023"
+          + "BinaryAuthorization\022\023\n\007enabled\030\001 \001(\010B\002\030\001"
+          + "\022P\n\017evaluation_mode\030\002 \001(\01627.google.conta"
+          + "iner.v1.BinaryAuthorization.EvaluationMo"
+          + "de\"e\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_"
+          + "UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_S"
+          + "INGLETON_POLICY_ENFORCE\020\002\"\215\004\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\023tpu_ipv"
+          + "4_cidr_block\030\r \001(\t\022\022\n\nuse_routes\030\017 \001(\010\0222"
+          + "\n\nstack_type\030\020 \001(\0162\036.google.container.v1"
+          + ".StackType\022=\n\020ipv6_access_type\030\021 \001(\0162#.g"
+          + "oogle.container.v1.IPv6AccessType\"\207\031\n\007Cl"
+          + "uster\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\0228\n\013node"
+          + "_config\030\004 \001(\0132\037.google.container.v1.Node"
+          + "ConfigB\002\030\001\0224\n\013master_auth\030\005 \001(\0132\037.google"
+          + ".container.v1.MasterAuth\022\027\n\017logging_serv"
+          + "ice\030\006 \001(\t\022\032\n\022monitoring_service\030\007 \001(\t\022\017\n"
+          + "\007network\030\010 \001(\t\022\031\n\021cluster_ipv4_cidr\030\t \001("
+          + "\t\0228\n\raddons_config\030\n \001(\0132!.google.contai"
+          + "ner.v1.AddonsConfig\022\022\n\nsubnetwork\030\013 \001(\t\022"
+          + "1\n\nnode_pools\030\014 \003(\0132\035.google.container.v"
+          + "1.NodePool\022\021\n\tlocations\030\r \003(\t\022\037\n\027enable_"
+          + "kubernetes_alpha\030\016 \001(\010\022I\n\017resource_label"
+          + "s\030\017 \003(\01320.google.container.v1.Cluster.Re"
+          + "sourceLabelsEntry\022\031\n\021label_fingerprint\030\020"
+          + " \001(\t\0224\n\013legacy_abac\030\022 \001(\0132\037.google.conta"
+          + "iner.v1.LegacyAbac\022:\n\016network_policy\030\023 \001"
+          + "(\0132\".google.container.v1.NetworkPolicy\022E"
+          + "\n\024ip_allocation_policy\030\024 \001(\0132\'.google.co"
+          + "ntainer.v1.IPAllocationPolicy\022^\n!master_"
+          + "authorized_networks_config\030\026 \001(\01323.googl"
+          + "e.container.v1.MasterAuthorizedNetworksC"
+          + "onfig\022B\n\022maintenance_policy\030\027 \001(\0132&.goog"
+          + "le.container.v1.MaintenancePolicy\022F\n\024bin"
+          + "ary_authorization\030\030 \001(\0132(.google.contain"
+          + "er.v1.BinaryAuthorization\022<\n\013autoscaling"
+          + "\030\032 \001(\0132\'.google.container.v1.ClusterAuto"
+          + "scaling\022:\n\016network_config\030\033 \001(\0132\".google"
+          + ".container.v1.NetworkConfig\022K\n\033default_m"
+          + "ax_pods_constraint\030\036 \001(\0132&.google.contai"
+          + "ner.v1.MaxPodsConstraint\022T\n\034resource_usa"
+          + "ge_export_config\030! \001(\0132..google.containe"
+          + "r.v1.ResourceUsageExportConfig\022S\n\033authen"
+          + "ticator_groups_config\030\" \001(\0132..google.con"
+          + "tainer.v1.AuthenticatorGroupsConfig\022I\n\026p"
+          + "rivate_cluster_config\030% \001(\0132).google.con"
+          + "tainer.v1.PrivateClusterConfig\022D\n\023databa"
+          + "se_encryption\030& \001(\0132\'.google.container.v"
+          + "1.DatabaseEncryption\022M\n\030vertical_pod_aut"
+          + "oscaling\030\' \001(\0132+.google.container.v1.Ver"
+          + "ticalPodAutoscaling\022:\n\016shielded_nodes\030( "
+          + "\001(\0132\".google.container.v1.ShieldedNodes\022"
+          + "<\n\017release_channel\030) \001(\0132#.google.contai"
+          + "ner.v1.ReleaseChannel\022M\n\030workload_identi"
+          + "ty_config\030+ \001(\0132+.google.container.v1.Wo"
+          + "rkloadIdentityConfig\022@\n\021mesh_certificate"
+          + "s\030C \001(\0132%.google.container.v1.MeshCertif"
+          + "icates\022I\n\026cost_management_config\030- \001(\0132)"
+          + ".google.container.v1.CostManagementConfi"
+          + "g\022D\n\023notification_config\0301 \001(\0132\'.google."
+          + "container.v1.NotificationConfig\022B\n\022confi"
+          + "dential_nodes\0302 \001(\0132&.google.container.v"
+          + "1.ConfidentialNodes\022K\n\027identity_service_"
+          + "config\0306 \001(\0132*.google.container.v1.Ident"
+          + "ityServiceConfig\022\021\n\tself_link\030d \001(\t\022\020\n\004z"
+          + "one\030e \001(\tB\002\030\001\022\020\n\010endpoint\030f \001(\t\022\037\n\027initi"
+          + "al_cluster_version\030g \001(\t\022\036\n\026current_mast"
+          + "er_version\030h \001(\t\022 \n\024current_node_version"
+          + "\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\0223\n\006statu"
+          + "s\030k \001(\0162#.google.container.v1.Cluster.St"
+          + "atus\022\032\n\016status_message\030l \001(\tB\002\030\001\022\033\n\023node"
+          + "_ipv4_cidr_size\030m \001(\005\022\032\n\022services_ipv4_c"
+          + "idr\030n \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\013ex"
+          + "pire_time\030q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nena"
+          + "ble_tpu\030s \001(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001"
+          + "(\t\0228\n\nconditions\030v \003(\0132$.google.containe"
+          + "r.v1.StatusCondition\0222\n\tautopilot\030\200\001 \001(\013"
+          + "2\036.google.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"
+          + "%.google.container.v1.NodePoolDefaultsH\000"
+          + "\210\001\001\022;\n\016logging_config\030\204\001 \001(\0132\".google.co"
+          + "ntainer.v1.LoggingConfig\022A\n\021monitoring_c"
+          + "onfig\030\205\001 \001(\0132%.google.container.v1.Monit"
+          + "oringConfig\022G\n\025node_pool_auto_config\030\210\001 "
+          + "\001(\0132\'.google.container.v1.NodePoolAutoCo"
+          + "nfig\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_"
+          + "UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNI"
+          + "NG\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005E"
+          + "RROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defau"
+          + "lts\"L\n\022NodePoolAutoConfig\0226\n\014network_tag"
+          + "s\030\001 \001(\0132 .google.container.v1.NetworkTag"
+          + "s\"Y\n\020NodePoolDefaults\022E\n\024node_config_def"
+          + "aults\030\001 \001(\0132\'.google.container.v1.NodeCo"
+          + "nfigDefaults\"\216\001\n\022NodeConfigDefaults\0224\n\013g"
+          + "cfs_config\030\001 \001(\0132\037.google.container.v1.G"
+          + "cfsConfig\022B\n\016logging_config\030\003 \001(\0132*.goog"
+          + "le.container.v1.NodePoolLoggingConfig\"\243\025"
+          + "\n\rClusterUpdate\022\034\n\024desired_node_version\030"
+          + "\004 \001(\t\022\"\n\032desired_monitoring_service\030\005 \001("
+          + "\t\022@\n\025desired_addons_config\030\006 \001(\0132!.googl"
+          + "e.container.v1.AddonsConfig\022\034\n\024desired_n"
+          + "ode_pool_id\030\007 \001(\t\022\032\n\022desired_image_type\030"
+          + "\010 \001(\t\022L\n\033desired_database_encryption\030. \001"
+          + "(\0132\'.google.container.v1.DatabaseEncrypt"
+          + "ion\022U\n desired_workload_identity_config\030"
+          + "/ \001(\0132+.google.container.v1.WorkloadIden"
+          + "tityConfig\022H\n\031desired_mesh_certificates\030"
+          + "C \001(\0132%.google.container.v1.MeshCertific"
+          + "ates\022B\n\026desired_shielded_nodes\0300 \001(\0132\".g"
+          + "oogle.container.v1.ShieldedNodes\022Q\n\036desi"
+          + "red_cost_management_config\0301 \001(\0132).googl"
+          + "e.container.v1.CostManagementConfig\022:\n\022d"
+          + "esired_dns_config\0305 \001(\0132\036.google.contain"
+          + "er.v1.DNSConfig\022O\n\035desired_node_pool_aut"
+          + "oscaling\030\t \001(\0132(.google.container.v1.Nod"
+          + "ePoolAutoscaling\022\031\n\021desired_locations\030\n "
+          + "\003(\t\022f\n)desired_master_authorized_network"
+          + "s_config\030\014 \001(\01323.google.container.v1.Mas"
+          + "terAuthorizedNetworksConfig\022L\n\033desired_c"
+          + "luster_autoscaling\030\017 \001(\0132\'.google.contai"
+          + "ner.v1.ClusterAutoscaling\022N\n\034desired_bin"
+          + "ary_authorization\030\020 \001(\0132(.google.contain"
+          + "er.v1.BinaryAuthorization\022\037\n\027desired_log"
+          + "ging_service\030\023 \001(\t\022\\\n$desired_resource_u"
+          + "sage_export_config\030\025 \001(\0132..google.contai"
+          + "ner.v1.ResourceUsageExportConfig\022U\n desi"
+          + "red_vertical_pod_autoscaling\030\026 \001(\0132+.goo"
+          + "gle.container.v1.VerticalPodAutoscaling\022"
+          + "Q\n\036desired_private_cluster_config\030\031 \001(\0132"
+          + ").google.container.v1.PrivateClusterConf"
+          + "ig\022\\\n$desired_intra_node_visibility_conf"
+          + "ig\030\032 \001(\0132..google.container.v1.IntraNode"
+          + "VisibilityConfig\022K\n\033desired_default_snat"
+          + "_status\030\034 \001(\0132&.google.container.v1.Defa"
+          + "ultSnatStatus\022D\n\027desired_release_channel"
+          + "\030\037 \001(\0132#.google.container.v1.ReleaseChan"
+          + "nel\022Q\n\037desired_l4ilb_subsetting_config\030\'"
+          + " \001(\0132(.google.container.v1.ILBSubsetting"
+          + "Config\022H\n\031desired_datapath_provider\0302 \001("
+          + "\0162%.google.container.v1.DatapathProvider"
+          + "\022X\n\"desired_private_ipv6_google_access\0303"
+          + " \001(\0162,.google.container.v1.PrivateIPv6Go"
+          + "ogleAccess\022L\n\033desired_notification_confi"
+          + "g\0307 \001(\0132\'.google.container.v1.Notificati"
+          + "onConfig\022[\n#desired_authenticator_groups"
+          + "_config\030? \001(\0132..google.container.v1.Auth"
+          + "enticatorGroupsConfig\022B\n\026desired_logging"
+          + "_config\030@ \001(\0132\".google.container.v1.Logg"
+          + "ingConfig\022H\n\031desired_monitoring_config\030A"
+          + " \001(\0132%.google.container.v1.MonitoringCon"
+          + "fig\022S\n\037desired_identity_service_config\030B"
+          + " \001(\0132*.google.container.v1.IdentityServi"
+          + "ceConfig\022Z\n#desired_service_external_ips"
+          + "_config\030< \001(\0132-.google.container.v1.Serv"
+          + "iceExternalIPsConfig\022,\n\037desired_enable_p"
+          + "rivate_endpoint\030G \001(\010H\000\210\001\001\022\036\n\026desired_ma"
+          + "ster_version\030d \001(\t\022<\n\023desired_gcfs_confi"
+          + "g\030m \001(\0132\037.google.container.v1.GcfsConfig"
+          + "\022T\n*desired_node_pool_auto_config_networ"
+          + "k_tags\030n \001(\0132 .google.container.v1.Netwo"
+          + "rkTags\022I\n\032desired_gateway_api_config\030r \001"
+          + "(\0132%.google.container.v1.GatewayAPIConfi"
+          + "g\022T\n desired_node_pool_logging_config\030t "
+          + "\001(\0132*.google.container.v1.NodePoolLoggin"
+          + "gConfigB\"\n _desired_enable_private_endpo"
+          + "int\"\361\007\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#.goog"
+          + "le.container.v1.Operation.Type\0225\n\006status"
+          + "\030\004 \001(\0162%.google.container.v1.Operation.S"
+          + "tatus\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\013targe"
+          + "t_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\010progress"
+          + "\030\014 \001(\0132&.google.container.v1.OperationPr"
+          + "ogressB\003\340A\003\022D\n\022cluster_conditions\030\r \003(\0132"
+          + "$.google.container.v1.StatusConditionB\002\030"
+          + "\001\022E\n\023nodepool_conditions\030\016 \003(\0132$.google."
+          + "container.v1.StatusConditionB\002\030\001\022!\n\005erro"
+          + "r\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\007RU"
+          + "NNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\375\002\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\016UPGRADE_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_POO"
+          + "L\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_PO"
+          + "OL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026"
+          + "\n\022AUTO_UPGRADE_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023"
+          + "\n\017SET_MASTER_AUTH\020\r\022\026\n\022SET_NODE_POOL_SIZ"
+          + "E\020\016\022\026\n\022SET_NETWORK_POLICY\020\017\022\032\n\026SET_MAINT"
+          + "ENANCE_POLICY\020\020\"\273\002\n\021OperationProgress\022\014\n"
+          + "\004name\030\001 \001(\t\0225\n\006status\030\002 \001(\0162%.google.con"
+          + "tainer.v1.Operation.Status\022>\n\007metrics\030\003 "
+          + "\003(\0132-.google.container.v1.OperationProgr"
+          + "ess.Metric\0226\n\006stages\030\004 \003(\0132&.google.cont"
+          + "ainer.v1.OperationProgress\032i\n\006Metric\022\021\n\004"
+          + "name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014"
+          + "double_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\nproject_id\030\001 \001(\tB\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\006parent\030\005 \001(\t\"c\n\021GetClust"
+          + "erRequest\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\014\n\004n"
+          + "ame\030\005 \001(\t\"\237\001\n\024UpdateClusterRequest\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\0227\n\006update\030\004 \001(\0132\".g"
+          + "oogle.container.v1.ClusterUpdateB\003\340A\002\022\014\n"
+          + "\004name\030\005 \001(\t\"\232\010\n\025UpdateNodePoolRequest\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\031\n\014node_version\030\005 \001(\tB\003\340A\002\022\027\n\n"
+          + "image_type\030\006 \001(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tl"
+          + "ocations\030\r \003(\t\022M\n\030workload_metadata_conf"
+          + "ig\030\016 \001(\0132+.google.container.v1.WorkloadM"
+          + "etadataConfig\022G\n\020upgrade_settings\030\017 \001(\0132"
+          + "-.google.container.v1.NodePool.UpgradeSe"
+          + "ttings\022.\n\004tags\030\020 \001(\0132 .google.container."
+          + "v1.NetworkTags\022/\n\006taints\030\021 \001(\0132\037.google."
+          + "container.v1.NodeTaints\022/\n\006labels\030\022 \001(\0132"
+          + "\037.google.container.v1.NodeLabels\022?\n\021linu"
+          + "x_node_config\030\023 \001(\0132$.google.container.v"
+          + "1.LinuxNodeConfig\022>\n\016kubelet_config\030\024 \001("
+          + "\0132&.google.container.v1.NodeKubeletConfi"
+          + "g\022C\n\023node_network_config\030\025 \001(\0132&.google."
+          + "container.v1.NodeNetworkConfig\0224\n\013gcfs_c",
+      "onfig\030\026 \001(\0132\037.google.container.v1.GcfsCo"
+          + "nfig\022B\n\022confidential_nodes\030\027 \001(\0132&.googl"
+          + "e.container.v1.ConfidentialNodes\022.\n\005gvni"
+          + "c\030\035 \001(\0132\037.google.container.v1.VirtualNIC"
+          + "\0224\n\013fast_socket\030\037 \001(\0132\037.google.container"
+          + ".v1.FastSocket\022B\n\016logging_config\030  \001(\0132*"
+          + ".google.container.v1.NodePoolLoggingConf"
+          + "ig\022<\n\017resource_labels\030! \001(\0132#.google.con"
+          + "tainer.v1.ResourceLabels\"\315\001\n\035SetNodePool"
+          + "AutoscalingRequest\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\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autosc"
+          + "aling\030\005 \001(\0132(.google.container.v1.NodePo"
+          + "olAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030Set"
+          + "LoggingServiceRequest\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\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022\014\n"
+          + "\004name\030\005 \001(\t\"\216\001\n\033SetMonitoringServiceRequ"
+          + "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\037\n\022monitor"
+          + "ing_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_config\030\004 \001(\0132!.googl"
+          + "e.container.v1.AddonsConfigB\003\340A\002\022\014\n\004name"
+          + "\030\006 \001(\t\"}\n\023SetLocationsRequest\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\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_id\030\003 \001(\tB\002\030\001\022\033\n\016master_versio"
+          + "n\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMaster"
+          + "AuthRequest\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\022E\n"
+          + "\006action\030\004 \001(\01620.google.container.v1.SetM"
+          + "asterAuthRequest.ActionB\003\340A\002\0224\n\006update\030\005"
+          + " \001(\0132\037.google.container.v1.MasterAuthB\003\340"
+          + "A\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\"f\n\024DeleteClusterReque"
+          + "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t"
+          + "B\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\024ListClustersResponse\022.\n\010clusters\030"
+          + "\001 \003(\0132\034.google.container.v1.Cluster\022\025\n\rm"
+          + "issing_zones\030\002 \003(\t\"g\n\023GetOperationReques"
+          + "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\030\n\014operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 "
+          + "\001(\t\"Q\n\025ListOperationsRequest\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\026CancelOperationRequest\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\030\n\014op"
+          + "eration_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"c\n\026Li"
+          + "stOperationsResponse\0222\n\noperations\030\001 \003(\013"
+          + "2\036.google.container.v1.Operation\022\025\n\rmiss"
+          + "ing_zones\030\002 \003(\t\"P\n\026GetServerConfigReques"
+          + "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\014\n\004name\030\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027de"
+          + "fault_cluster_version\030\001 \001(\t\022\033\n\023valid_nod"
+          + "e_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"
+          + "_master_versions\030\006 \003(\t\022H\n\010channels\030\t \003(\013"
+          + "26.google.container.v1.ServerConfig.Rele"
+          + "aseChannelConfig\032\205\001\n\024ReleaseChannelConfi"
+          + "g\022<\n\007channel\030\001 \001(\0162+.google.container.v1"
+          + ".ReleaseChannel.Channel\022\027\n\017default_versi"
+          + "on\030\002 \001(\t\022\026\n\016valid_versions\030\004 \003(\t\"\240\001\n\025Cre"
+          + "ateNodePoolRequest\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\0225\n\tnode_pool\030\004 \001(\0132\035.google.contain"
+          + "er.v1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025"
+          + "DeleteNodePoolRequest\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\004nam"
+          + "e\030\006 \001(\t\"h\n\024ListNodePoolsRequest\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\016\n\006parent\030\005 \001(\t\"~\n\022Get"
+          + "NodePoolRequest\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\004name\030\006 \001("
+          + "\t\"\237\003\n\021BlueGreenSettings\022_\n\027standard_roll"
+          + "out_policy\030\001 \001(\0132<.google.container.v1.B"
+          + "lueGreenSettings.StandardRolloutPolicyH\000"
+          + "\022?\n\027node_pool_soak_duration\030\002 \001(\0132\031.goog"
+          + "le.protobuf.DurationH\001\210\001\001\032\271\001\n\025StandardRo"
+          + "lloutPolicy\022\032\n\020batch_percentage\030\001 \001(\002H\000\022"
+          + "\032\n\020batch_node_count\030\002 \001(\005H\000\022;\n\023batch_soa"
+          + "k_duration\030\003 \001(\0132\031.google.protobuf.Durat"
+          + "ionH\001\210\001\001B\023\n\021update_batch_sizeB\026\n\024_batch_"
+          + "soak_durationB\020\n\016rollout_policyB\032\n\030_node"
+          + "_pool_soak_duration\"\266\016\n\010NodePool\022\014\n\004name"
+          + "\030\001 \001(\t\022/\n\006config\030\002 \001(\0132\037.google.containe"
+          + "r.v1.NodeConfig\022\032\n\022initial_node_count\030\003 "
+          + "\001(\005\022\021\n\tlocations\030\r \003(\t\022>\n\016network_config"
+          + "\030\016 \001(\0132&.google.container.v1.NodeNetwork"
+          + "Config\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\006statu"
+          + "s\030g \001(\0162$.google.container.v1.NodePool.S"
+          + "tatus\022\032\n\016status_message\030h \001(\tB\002\030\001\022=\n\013aut"
+          + "oscaling\030\004 \001(\0132(.google.container.v1.Nod"
+          + "ePoolAutoscaling\0227\n\nmanagement\030\005 \001(\0132#.g"
+          + "oogle.container.v1.NodeManagement\022C\n\023max"
+          + "_pods_constraint\030\006 \001(\0132&.google.containe"
+          + "r.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.container.v1.Nod"
+          + "ePool.UpgradeSettings\022G\n\020placement_polic"
+          + "y\030l \001(\0132-.google.container.v1.NodePool.P"
+          + "lacementPolicy\022B\n\013update_info\030m \001(\0132(.go"
+          + "ogle.container.v1.NodePool.UpdateInfoB\003\340"
+          + "A\003\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~\n\017PlacementPolicy\022@\n\004type\030\001 \001("
+          + "\01622.google.container.v1.NodePool.Placeme"
+          + "ntPolicy.Type\")\n\004Type\022\024\n\020TYPE_UNSPECIFIE"
+          + "D\020\000\022\013\n\007COMPACT\020\001\"\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\"}\n\016NodeMana"
+          + "gement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_rep"
+          + "air\030\002 \001(\010\022@\n\017upgrade_options\030\n \001(\0132\'.goo"
+          + "gle.container.v1.AutoUpgradeOptions\"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\"\230\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\"H\n\rResou"
+          + "rceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minim"
+          + "um\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\307\002\n\023NodePoolAu"
+          + "toscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_c"
+          + "ount\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017au"
+          + "toprovisioned\030\004 \001(\010\022P\n\017location_policy\030\005"
+          + " \001(\01627.google.container.v1.NodePoolAutos"
+          + "caling.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\033LOCATION_POLICY_U"
+          + "NSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"\222\002\n\020"
+          + "SetLabelsRequest\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.con"
+          + "tainer.v1.SetLabelsRequest.ResourceLabel"
+          + "sEntryB\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\"|\n\024SetL"
+          + "egacyAbacRequest\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\ncluster_i"
+          + "d\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022rotate_cred"
+          + "entials\030\007 \001(\010\"k\n\031CompleteIPRotationReque"
+          + "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t"
+          + "B\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\007 \001"
+          + "(\t\"\303\001\n\021AcceleratorConfig\022\031\n\021accelerator_"
+          + "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_sharing"
+          + "_config\030\005 \001(\0132%.google.container.v1.GPUS"
+          + "haringConfigH\000\210\001\001B\025\n\023_gpu_sharing_config"
+          + "\"\372\001\n\020GPUSharingConfig\022\"\n\032max_shared_clie"
+          + "nts_per_gpu\030\001 \001(\003\022[\n\024gpu_sharing_strateg"
+          + "y\030\002 \001(\01628.google.container.v1.GPUSharing"
+          + "Config.GPUSharingStrategyH\000\210\001\001\"L\n\022GPUSha"
+          + "ringStrategy\022$\n GPU_SHARING_STRATEGY_UNS"
+          + "PECIFIED\020\000\022\020\n\014TIME_SHARING\020\001B\027\n\025_gpu_sha"
+          + "ring_strategy\"\232\001\n\026WorkloadMetadataConfig"
+          + "\022>\n\004mode\030\002 \001(\01620.google.container.v1.Wor"
+          + "kloadMetadataConfig.Mode\"@\n\004Mode\022\024\n\020MODE"
+          + "_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GKE_"
+          + "METADATA\020\002\"\252\001\n\027SetNetworkPolicyRequest\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\016network_poli"
+          + "cy\030\004 \001(\0132\".google.container.v1.NetworkPo"
+          + "licyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\271\001\n\033SetMaintenan"
+          + "cePolicyRequest\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&.googl"
+          + "e.container.v1.MaintenancePolicyB\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.StatusCondit"
+          + "ion.CodeB\002\030\001\022\017\n\007message\030\002 \001(\t\022(\n\016canonic"
+          + "al_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_S"
+          + "ERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOTA_EX"
+          + "CEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLOUD_K"
+          + "MS_KEY_ERROR\020\007\022\017\n\013CA_EXPIRING\020\t\"\237\004\n\rNetw"
+          + "orkConfig\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&.goog"
+          + "le.container.v1.DefaultSnatStatus\022\037\n\027ena"
+          + "ble_l4ilb_subsetting\030\n \001(\010\022@\n\021datapath_p"
+          + "rovider\030\013 \001(\0162%.google.container.v1.Data"
+          + "pathProvider\022P\n\032private_ipv6_google_acce"
+          + "ss\030\014 \001(\0162,.google.container.v1.PrivateIP"
+          + "v6GoogleAccess\0222\n\ndns_config\030\r \001(\0132\036.goo"
+          + "gle.container.v1.DNSConfig\022R\n\033service_ex"
+          + "ternal_ips_config\030\017 \001(\0132-.google.contain"
+          + "er.v1.ServiceExternalIPsConfig\022A\n\022gatewa"
+          + "y_api_config\030\020 \001(\0132%.google.container.v1"
+          + ".GatewayAPIConfig\"\274\001\n\020GatewayAPIConfig\022>"
+          + "\n\007channel\030\001 \001(\0162-.google.container.v1.Ga"
+          + "tewayAPIConfig.Channel\"h\n\007Channel\022\027\n\023CHA"
+          + "NNEL_UNSPECIFIED\020\000\022\024\n\020CHANNEL_DISABLED\020\001"
+          + "\022\030\n\024CHANNEL_EXPERIMENTAL\020\003\022\024\n\020CHANNEL_ST"
+          + "ANDARD\020\004\"+\n\030ServiceExternalIPsConfig\022\017\n\007"
+          + "enabled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022"
+          + "\016\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRespo"
+          + "nse\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n"
+          + "\030response_types_supported\030\003 \003(\t\022\037\n\027subje"
+          + "ct_types_supported\030\004 \003(\t\022-\n%id_token_sig"
+          + "ning_alg_values_supported\030\005 \003(\t\022\030\n\020claim"
+          + "s_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\003crv\030\t \001(\t\"@\n\026G"
+          + "etJSONWebKeysResponse\022&\n\004keys\030\001 \003(\0132\030.go"
+          + "ogle.container.v1.Jwk\"\216\001\n\016ReleaseChannel"
+          + "\022<\n\007channel\030\001 \001(\0162+.google.container.v1."
+          + "ReleaseChannel.Channel\">\n\007Channel\022\017\n\013UNS"
+          + "PECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020\002\022\n\n\006ST"
+          + "ABLE\020\003\"\'\n\024CostManagementConfig\022\017\n\007enable"
+          + "d\030\001 \001(\010\",\n\031IntraNodeVisibilityConfig\022\017\n\007"
+          + "enabled\030\001 \001(\010\"&\n\023ILBSubsettingConfig\022\017\n\007"
+          + "enabled\030\001 \001(\010\"\252\002\n\tDNSConfig\022<\n\013cluster_d"
+          + "ns\030\001 \001(\0162\'.google.container.v1.DNSConfig"
+          + ".Provider\022B\n\021cluster_dns_scope\030\002 \001(\0162\'.g"
+          + "oogle.container.v1.DNSConfig.DNSScope\022\032\n"
+          + "\022cluster_dns_domain\030\003 \001(\t\"I\n\010Provider\022\030\n"
+          + "\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_DEFA"
+          + "ULT\020\001\022\r\n\tCLOUD_DNS\020\002\"4\n\010DNSScope\022\031\n\025DNS_"
+          + "SCOPE_UNSPECIFIED\020\000\022\r\n\tVPC_SCOPE\020\002\".\n\021Ma"
+          + "xPodsConstraint\022\031\n\021max_pods_per_node\030\001 \001"
+          + "(\003\"/\n\026WorkloadIdentityConfig\022\025\n\rworkload"
+          + "_pool\030\002 \001(\t\"(\n\025IdentityServiceConfig\022\017\n\007"
+          + "enabled\030\001 \001(\010\"K\n\020MeshCertificates\0227\n\023ena"
+          + "ble_certificates\030\001 \001(\0132\032.google.protobuf"
+          + ".BoolValue\"\230\001\n\022DatabaseEncryption\022<\n\005sta"
+          + "te\030\002 \001(\0162-.google.container.v1.DatabaseE"
+          + "ncryption.State\022\020\n\010key_name\030\001 \001(\t\"2\n\005Sta"
+          + "te\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYP"
+          + "TED\020\002\"e\n\034ListUsableSubnetworksRequest\022\016\n"
+          + "\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si"
+          + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"t\n\035ListUsab"
+          + "leSubnetworksResponse\022:\n\013subnetworks\030\001 \003"
+          + "(\0132%.google.container.v1.UsableSubnetwor"
+          + "k\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\036UsableSub"
+          + "networkSecondaryRange\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(\016"
+          + "2:.google.container.v1.UsableSubnetworkS"
+          + "econdaryRange.Status\"g\n\006Status\022\013\n\007UNKNOW"
+          + "N\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024I"
+          + "N_USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_"
+          + "POD\020\004\"\270\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\022P\n\023secondary_ip_ranges\030\004 \003(\01323.go"
+          + "ogle.container.v1.UsableSubnetworkSecond"
+          + "aryRange\022\026\n\016status_message\030\005 \001(\t\"\355\002\n\031Res"
+          + "ourceUsageExportConfig\022`\n\024bigquery_desti"
+          + "nation\030\001 \001(\0132B.google.container.v1.Resou"
+          + "rceUsageExportConfig.BigQueryDestination"
+          + "\022&\n\036enable_network_egress_metering\030\002 \001(\010"
+          + "\022m\n\033consumption_metering_config\030\003 \001(\0132H."
+          + "google.container.v1.ResourceUsageExportC"
+          + "onfig.ConsumptionMeteringConfig\032)\n\023BigQu"
+          + "eryDestination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Co"
+          + "nsumptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010"
+          + "\")\n\026VerticalPodAutoscaling\022\017\n\007enabled\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\n"
+          + "VirtualNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocke"
+          + "t\022\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationConfi"
+          + "g\022>\n\006pubsub\030\001 \001(\0132..google.container.v1."
+          + "NotificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007"
+          + "enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsu"
+          + "b.googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132."
+          + ".google.container.v1.NotificationConfig."
+          + "Filter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.g"
+          + "oogle.container.v1.NotificationConfig.Ev"
+          + "entType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPE"
+          + "CIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n"
+          + "\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EV"
+          + "ENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007enabled\030\001 "
+          + "\001(\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_type\030\001 "
+          + "\001(\0162(.google.container.v1.UpgradeResourc"
+          + "eType\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_st"
+          + "art_time\030\003 \001(\0132\032.google.protobuf.Timesta"
+          + "mp\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_ve"
+          + "rsion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025Upgrad"
+          + "eAvailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rreso"
+          + "urce_type\030\002 \001(\0162(.google.container.v1.Up"
+          + "gradeResourceType\022<\n\017release_channel\030\003 \001"
+          + "(\0132#.google.container.v1.ReleaseChannel\022"
+          + "\020\n\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEv"
+          + "ent\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013b"
+          + "ulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sev"
+          + "erity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021bri"
+          + "ef_description\030\006 \001(\t\022!\n\031affected_support"
+          + "ed_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\025m"
+          + "anual_steps_required\030\n \001(\010\"\034\n\tAutopilot\022"
+          + "\017\n\007enabled\030\001 \001(\010\"V\n\rLoggingConfig\022E\n\020com"
+          + "ponent_config\030\001 \001(\0132+.google.container.v"
+          + "1.LoggingComponentConfig\"\357\001\n\026LoggingComp"
+          + "onentConfig\022P\n\021enable_components\030\001 \003(\01625"
+          + ".google.container.v1.LoggingComponentCon"
+          + "fig.Component\"\202\001\n\tComponent\022\031\n\025COMPONENT"
+          + "_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\tSCHEDULER"
+          + "\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\"\255\001\n\020Monitorin"
+          + "gConfig\022H\n\020component_config\030\001 \001(\0132..goog"
+          + "le.container.v1.MonitoringComponentConfi"
+          + "g\022O\n\031managed_prometheus_config\030\002 \001(\0132,.g"
+          + "oogle.container.v1.ManagedPrometheusConf"
+          + "ig\"Z\n\025NodePoolLoggingConfig\022A\n\016variant_c"
+          + "onfig\030\001 \001(\0132).google.container.v1.Loggin"
+          + "gVariantConfig\"\237\001\n\024LoggingVariantConfig\022"
+          + "B\n\007variant\030\001 \001(\01621.google.container.v1.L"
+          + "oggingVariantConfig.Variant\"C\n\007Variant\022\027"
+          + "\n\023VARIANT_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n\016"
+          + "MAX_THROUGHPUT\020\002\"\345\001\n\031MonitoringComponent"
+          + "Config\022S\n\021enable_components\030\001 \003(\01628.goog",
+      "le.container.v1.MonitoringComponentConfi"
+          + "g.Component\"s\n\tComponent\022\031\n\025COMPONENT_UN"
+          + "SPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tAP"
+          + "ISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER_M"
+          + "ANAGER\020\005\"*\n\027ManagedPrometheusConfig\022\017\n\007e"
+          + "nabled\030\001 \001(\010*\306\001\n\027PrivateIPv6GoogleAccess"
+          + "\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFI"
+          + "ED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCESS_DISAB"
+          + "LED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCESS_TO_G"
+          + "OOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_ACCESS_BI"
+          + "DIRECTIONAL\020\003*W\n\023UpgradeResourceType\022%\n!"
+          + "UPGRADE_RESOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006M"
+          + "ASTER\020\001\022\r\n\tNODE_POOL\020\002*a\n\020DatapathProvid"
+          + "er\022!\n\035DATAPATH_PROVIDER_UNSPECIFIED\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_G"
+          + "REEN\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_IPV"
+          + "6\020\002*N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TYP"
+          + "E_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERNA"
+          + "L\020\0022\303G\n\016ClusterManager\022\350\001\n\014ListClusters\022"
+          + "(.google.container.v1.ListClustersReques"
+          + "t\032).google.container.v1.ListClustersResp"
+          + "onse\"\202\001\202\323\344\223\002a\022,/v1/{parent=projects/*/lo"
+          + "cations/*}/clustersZ1\022//v1/projects/{pro"
+          + "ject_id}/zones/{zone}/clusters\332A\017project"
+          + "_id,zone\332A\006parent\022\355\001\n\nGetCluster\022&.googl"
+          + "e.container.v1.GetClusterRequest\032\034.googl"
+          + "e.container.v1.Cluster\"\230\001\202\323\344\223\002n\022,/v1/{na"
+          + "me=projects/*/locations/*/clusters/*}Z>\022"
+          + "*/v1/{name=proje"
+          + "cts/*/locations/*/clusters/*}:setResourc"
+          + "eLabels:\001*ZP\"K/v1/projects/{project_id}/"
+          + "zones/{zone}/clusters/{cluster_id}/resou"
+          + "rceLabels:\001*\022\245\002\n\rSetLegacyAbac\022).google."
+          + "container.v1.SetLegacyAbacRequest\032\036.goog"
+          + "le.container.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1"
+          + "/{name=projects/*/locations/*/clusters/*"
+          + "}:setLegacyAbac:\001*ZL\"G/v1/projects/{proj"
+          + "ect_id}/zones/{zone}/clusters/{cluster_i"
+          + "d}/legacyAbac:\001*\332A\"project_id,zone,clust"
+          + "er_id,enabled\332A\014name,enabled\022\240\002\n\017StartIP"
+          + "Rotation\022+.google.container.v1.StartIPRo"
+          + "tationRequest\032\036.google.container.v1.Oper"
+          + "ation\"\277\001\202\323\344\223\002\224\001\"
  * ClusterUpdate describes an update to the cluster. Exactly one update can
  * be applied to a cluster with each request, so at most one field can be
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1.ClusterUpdate}
  */
-public final class ClusterUpdate extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClusterUpdate extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ClusterUpdate)
     ClusterUpdateOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClusterUpdate.newBuilder() to construct.
   private ClusterUpdate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClusterUpdate() {
     desiredNodeVersion_ = "";
     desiredMonitoringService_ = "";
@@ -35,33 +53,36 @@ private ClusterUpdate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClusterUpdate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ClusterUpdate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ClusterUpdate.class, com.google.container.v1.ClusterUpdate.Builder.class);
+            com.google.container.v1.ClusterUpdate.class,
+            com.google.container.v1.ClusterUpdate.Builder.class);
   }
 
   private int bitField0_;
   public static final int DESIRED_NODE_VERSION_FIELD_NUMBER = 4;
   private volatile java.lang.Object desiredNodeVersion_;
   /**
+   *
+   *
    * 
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -75,6 +96,7 @@ protected java.lang.Object newInstance(
    * 
* * string desired_node_version = 4; + * * @return The desiredNodeVersion. */ @java.lang.Override @@ -83,14 +105,15 @@ public java.lang.String getDesiredNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; } } /** + * + * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -104,16 +127,15 @@ public java.lang.String getDesiredNodeVersion() {
    * 
* * string desired_node_version = 4; + * * @return The bytes for desiredNodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -124,6 +146,8 @@ public java.lang.String getDesiredNodeVersion() { public static final int DESIRED_MONITORING_SERVICE_FIELD_NUMBER = 5; private volatile java.lang.Object desiredMonitoringService_; /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -137,6 +161,7 @@ public java.lang.String getDesiredNodeVersion() {
    * 
* * string desired_monitoring_service = 5; + * * @return The desiredMonitoringService. */ @java.lang.Override @@ -145,14 +170,15 @@ public java.lang.String getDesiredMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; } } /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -166,16 +192,15 @@ public java.lang.String getDesiredMonitoringService() {
    * 
* * string desired_monitoring_service = 5; + * * @return The bytes for desiredMonitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -186,11 +211,14 @@ public java.lang.String getDesiredMonitoringService() { public static final int DESIRED_ADDONS_CONFIG_FIELD_NUMBER = 6; private com.google.container.v1.AddonsConfig desiredAddonsConfig_; /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; + * * @return Whether the desiredAddonsConfig field is set. */ @java.lang.Override @@ -198,18 +226,25 @@ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfig_ != null; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; + * * @return The desiredAddonsConfig. */ @java.lang.Override public com.google.container.v1.AddonsConfig getDesiredAddonsConfig() { - return desiredAddonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; + return desiredAddonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : desiredAddonsConfig_; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -224,6 +259,8 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui public static final int DESIRED_NODE_POOL_ID_FIELD_NUMBER = 7; private volatile java.lang.Object desiredNodePoolId_; /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -232,6 +269,7 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui
    * 
* * string desired_node_pool_id = 7; + * * @return The desiredNodePoolId. */ @java.lang.Override @@ -240,14 +278,15 @@ public java.lang.String getDesiredNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; } } /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -256,16 +295,15 @@ public java.lang.String getDesiredNodePoolId() {
    * 
* * string desired_node_pool_id = 7; + * * @return The bytes for desiredNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -276,12 +314,15 @@ public java.lang.String getDesiredNodePoolId() { public static final int DESIRED_IMAGE_TYPE_FIELD_NUMBER = 8; private volatile java.lang.Object desiredImageType_; /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The desiredImageType. */ @java.lang.Override @@ -290,30 +331,30 @@ public java.lang.String getDesiredImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; } } /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The bytes for desiredImageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -324,11 +365,14 @@ public java.lang.String getDesiredImageType() { public static final int DESIRED_DATABASE_ENCRYPTION_FIELD_NUMBER = 46; private com.google.container.v1.DatabaseEncryption desiredDatabaseEncryption_; /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; + * * @return Whether the desiredDatabaseEncryption field is set. */ @java.lang.Override @@ -336,18 +380,25 @@ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryption_ != null; } /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; + * * @return The desiredDatabaseEncryption. */ @java.lang.Override public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() { - return desiredDatabaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null + ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() + : desiredDatabaseEncryption_; } /** + * + * *
    * Configuration of etcd encryption.
    * 
@@ -355,18 +406,22 @@ public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ @java.lang.Override - public com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1.DatabaseEncryptionOrBuilder + getDesiredDatabaseEncryptionOrBuilder() { return getDesiredDatabaseEncryption(); } public static final int DESIRED_WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 47; private com.google.container.v1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; /** + * + * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * * @return Whether the desiredWorkloadIdentityConfig field is set. */ @java.lang.Override @@ -374,18 +429,25 @@ public boolean hasDesiredWorkloadIdentityConfig() { return desiredWorkloadIdentityConfig_ != null; } /** + * + * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * * @return The desiredWorkloadIdentityConfig. */ @java.lang.Override public com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null + ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() + : desiredWorkloadIdentityConfig_; } /** + * + * *
    * Configuration for Workload Identity.
    * 
@@ -393,19 +455,23 @@ public com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentity * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ @java.lang.Override - public com.google.container.v1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1.WorkloadIdentityConfigOrBuilder + getDesiredWorkloadIdentityConfigOrBuilder() { return getDesiredWorkloadIdentityConfig(); } public static final int DESIRED_MESH_CERTIFICATES_FIELD_NUMBER = 67; private com.google.container.v1.MeshCertificates desiredMeshCertificates_; /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; + * * @return Whether the desiredMeshCertificates field is set. */ @java.lang.Override @@ -413,19 +479,26 @@ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificates_ != null; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; + * * @return The desiredMeshCertificates. */ @java.lang.Override public com.google.container.v1.MeshCertificates getDesiredMeshCertificates() { - return desiredMeshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; + return desiredMeshCertificates_ == null + ? com.google.container.v1.MeshCertificates.getDefaultInstance() + : desiredMeshCertificates_; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -441,11 +514,14 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
   public static final int DESIRED_SHIELDED_NODES_FIELD_NUMBER = 48;
   private com.google.container.v1.ShieldedNodes desiredShieldedNodes_;
   /**
+   *
+   *
    * 
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; + * * @return Whether the desiredShieldedNodes field is set. */ @java.lang.Override @@ -453,18 +529,25 @@ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodes_ != null; } /** + * + * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; + * * @return The desiredShieldedNodes. */ @java.lang.Override public com.google.container.v1.ShieldedNodes getDesiredShieldedNodes() { - return desiredShieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; + return desiredShieldedNodes_ == null + ? com.google.container.v1.ShieldedNodes.getDefaultInstance() + : desiredShieldedNodes_; } /** + * + * *
    * Configuration for Shielded Nodes.
    * 
@@ -479,11 +562,14 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB public static final int DESIRED_COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1.CostManagementConfig desiredCostManagementConfig_; /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; + * * @return Whether the desiredCostManagementConfig field is set. */ @java.lang.Override @@ -491,18 +577,25 @@ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfig_ != null; } /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; + * * @return The desiredCostManagementConfig. */ @java.lang.Override public com.google.container.v1.CostManagementConfig getDesiredCostManagementConfig() { - return desiredCostManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null + ? com.google.container.v1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; } /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
@@ -510,18 +603,22 @@ public com.google.container.v1.CostManagementConfig getDesiredCostManagementConf * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ @java.lang.Override - public com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder() { return getDesiredCostManagementConfig(); } public static final int DESIRED_DNS_CONFIG_FIELD_NUMBER = 53; private com.google.container.v1.DNSConfig desiredDnsConfig_; /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; + * * @return Whether the desiredDnsConfig field is set. */ @java.lang.Override @@ -529,18 +626,25 @@ public boolean hasDesiredDnsConfig() { return desiredDnsConfig_ != null; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; + * * @return The desiredDnsConfig. */ @java.lang.Override public com.google.container.v1.DNSConfig getDesiredDnsConfig() { - return desiredDnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; + return desiredDnsConfig_ == null + ? com.google.container.v1.DNSConfig.getDefaultInstance() + : desiredDnsConfig_; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -555,6 +659,8 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() public static final int DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER = 9; private com.google.container.v1.NodePoolAutoscaling desiredNodePoolAutoscaling_; /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -563,6 +669,7 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder()
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return Whether the desiredNodePoolAutoscaling field is set. */ @java.lang.Override @@ -570,6 +677,8 @@ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscaling_ != null; } /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -578,13 +687,18 @@ public boolean hasDesiredNodePoolAutoscaling() {
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return The desiredNodePoolAutoscaling. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { - return desiredNodePoolAutoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null + ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() + : desiredNodePoolAutoscaling_; } /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -595,13 +709,16 @@ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling
    * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
    */
   @java.lang.Override
-  public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
+  public com.google.container.v1.NodePoolAutoscalingOrBuilder
+      getDesiredNodePoolAutoscalingOrBuilder() {
     return getDesiredNodePoolAutoscaling();
   }
 
   public static final int DESIRED_LOCATIONS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList desiredLocations_;
   /**
+   *
+   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -612,13 +729,15 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAu
    * 
* * repeated string desired_locations = 10; + * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList - getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { return desiredLocations_; } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -629,12 +748,15 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAu
    * 
* * repeated string desired_locations = 10; + * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -645,6 +767,7 @@ public int getDesiredLocationsCount() {
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -652,6 +775,8 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -662,22 +787,28 @@ public java.lang.String getDesiredLocations(int index) {
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString - getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } public static final int DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 12; - private com.google.container.v1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1.MasterAuthorizedNetworksConfig + desiredMasterAuthorizedNetworksConfig_; /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -685,37 +816,53 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { return desiredMasterAuthorizedNetworksConfig_ != null; } /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; + public com.google.container.v1.MasterAuthorizedNetworksConfig + getDesiredMasterAuthorizedNetworksConfig() { + return desiredMasterAuthorizedNetworksConfig_ == null + ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : desiredMasterAuthorizedNetworksConfig_; } /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder + getDesiredMasterAuthorizedNetworksConfigOrBuilder() { return getDesiredMasterAuthorizedNetworksConfig(); } public static final int DESIRED_CLUSTER_AUTOSCALING_FIELD_NUMBER = 15; private com.google.container.v1.ClusterAutoscaling desiredClusterAutoscaling_; /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return Whether the desiredClusterAutoscaling field is set. */ @java.lang.Override @@ -723,18 +870,25 @@ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscaling_ != null; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return The desiredClusterAutoscaling. */ @java.lang.Override public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() { - return desiredClusterAutoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null + ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() + : desiredClusterAutoscaling_; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -742,18 +896,22 @@ public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ @java.lang.Override - public com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1.ClusterAutoscalingOrBuilder + getDesiredClusterAutoscalingOrBuilder() { return getDesiredClusterAutoscaling(); } public static final int DESIRED_BINARY_AUTHORIZATION_FIELD_NUMBER = 16; private com.google.container.v1.BinaryAuthorization desiredBinaryAuthorization_; /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; + * * @return Whether the desiredBinaryAuthorization field is set. */ @java.lang.Override @@ -761,18 +919,25 @@ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorization_ != null; } /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; + * * @return The desiredBinaryAuthorization. */ @java.lang.Override public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization() { - return desiredBinaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null + ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() + : desiredBinaryAuthorization_; } /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
@@ -780,13 +945,16 @@ public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ @java.lang.Override - public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1.BinaryAuthorizationOrBuilder + getDesiredBinaryAuthorizationOrBuilder() { return getDesiredBinaryAuthorization(); } public static final int DESIRED_LOGGING_SERVICE_FIELD_NUMBER = 19; private volatile java.lang.Object desiredLoggingService_; /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -800,6 +968,7 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuth
    * 
* * string desired_logging_service = 19; + * * @return The desiredLoggingService. */ @java.lang.Override @@ -808,14 +977,15 @@ public java.lang.String getDesiredLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; } } /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -829,16 +999,15 @@ public java.lang.String getDesiredLoggingService() {
    * 
* * string desired_logging_service = 19; + * * @return The bytes for desiredLoggingService. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -849,11 +1018,15 @@ public java.lang.String getDesiredLoggingService() { public static final int DESIRED_RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return Whether the desiredResourceUsageExportConfig field is set. */ @java.lang.Override @@ -861,37 +1034,50 @@ public boolean hasDesiredResourceUsageExportConfig() { return desiredResourceUsageExportConfig_ != null; } /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return The desiredResourceUsageExportConfig. */ @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() + : desiredResourceUsageExportConfig_; } /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfigOrBuilder + getDesiredResourceUsageExportConfigOrBuilder() { return getDesiredResourceUsageExportConfig(); } public static final int DESIRED_VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 22; private com.google.container.v1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * * @return Whether the desiredVerticalPodAutoscaling field is set. */ @java.lang.Override @@ -899,18 +1085,25 @@ public boolean hasDesiredVerticalPodAutoscaling() { return desiredVerticalPodAutoscaling_ != null; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * * @return The desiredVerticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null + ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() + : desiredVerticalPodAutoscaling_; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -918,18 +1111,22 @@ public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutos * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ @java.lang.Override - public com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder + getDesiredVerticalPodAutoscalingOrBuilder() { return getDesiredVerticalPodAutoscaling(); } public static final int DESIRED_PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1.PrivateClusterConfig desiredPrivateClusterConfig_; /** + * + * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; + * * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Override @@ -937,18 +1134,25 @@ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfig_ != null; } /** + * + * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; + * * @return The desiredPrivateClusterConfig. */ @java.lang.Override public com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConfig() { - return desiredPrivateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null + ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() + : desiredPrivateClusterConfig_; } /** + * + * *
    * The desired private cluster configuration.
    * 
@@ -956,18 +1160,23 @@ public com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConf * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ @java.lang.Override - public com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1.PrivateClusterConfigOrBuilder + getDesiredPrivateClusterConfigOrBuilder() { return getDesiredPrivateClusterConfig(); } public static final int DESIRED_INTRA_NODE_VISIBILITY_CONFIG_FIELD_NUMBER = 26; private com.google.container.v1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ @java.lang.Override @@ -975,37 +1184,50 @@ public boolean hasDesiredIntraNodeVisibilityConfig() { return desiredIntraNodeVisibilityConfig_ != null; } /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return The desiredIntraNodeVisibilityConfig. */ @java.lang.Override public com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null + ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() + : desiredIntraNodeVisibilityConfig_; } /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ @java.lang.Override - public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder + getDesiredIntraNodeVisibilityConfigOrBuilder() { return getDesiredIntraNodeVisibilityConfig(); } public static final int DESIRED_DEFAULT_SNAT_STATUS_FIELD_NUMBER = 28; private com.google.container.v1.DefaultSnatStatus desiredDefaultSnatStatus_; /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return Whether the desiredDefaultSnatStatus field is set. */ @java.lang.Override @@ -1013,18 +1235,25 @@ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatus_ != null; } /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return The desiredDefaultSnatStatus. */ @java.lang.Override public com.google.container.v1.DefaultSnatStatus getDesiredDefaultSnatStatus() { - return desiredDefaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null + ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() + : desiredDefaultSnatStatus_; } /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -1039,11 +1268,14 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatS public static final int DESIRED_RELEASE_CHANNEL_FIELD_NUMBER = 31; private com.google.container.v1.ReleaseChannel desiredReleaseChannel_; /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; + * * @return Whether the desiredReleaseChannel field is set. */ @java.lang.Override @@ -1051,18 +1283,25 @@ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannel_ != null; } /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; + * * @return The desiredReleaseChannel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel getDesiredReleaseChannel() { - return desiredReleaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; + return desiredReleaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : desiredReleaseChannel_; } /** + * + * *
    * The desired release channel configuration.
    * 
@@ -1077,11 +1316,14 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO public static final int DESIRED_L4ILB_SUBSETTING_CONFIG_FIELD_NUMBER = 39; private com.google.container.v1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ @java.lang.Override @@ -1089,18 +1331,25 @@ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfig_ != null; } /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * * @return The desiredL4ilbSubsettingConfig. */ @java.lang.Override public com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { - return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null + ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() + : desiredL4IlbSubsettingConfig_; } /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
@@ -1108,72 +1357,96 @@ public com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConf * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ @java.lang.Override - public com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1.ILBSubsettingConfigOrBuilder + getDesiredL4IlbSubsettingConfigOrBuilder() { return getDesiredL4IlbSubsettingConfig(); } public static final int DESIRED_DATAPATH_PROVIDER_FIELD_NUMBER = 50; private int desiredDatapathProvider_; /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override public int getDesiredDatapathProviderValue() { + @java.lang.Override + public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @return The desiredDatapathProvider. */ - @java.lang.Override public com.google.container.v1.DatapathProvider getDesiredDatapathProvider() { + @java.lang.Override + public com.google.container.v1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1.DatapathProvider result = + com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } public static final int DESIRED_PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 51; private int desiredPrivateIpv6GoogleAccess_; /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { + @java.lang.Override + public com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = + com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } public static final int DESIRED_NOTIFICATION_CONFIG_FIELD_NUMBER = 55; private com.google.container.v1.NotificationConfig desiredNotificationConfig_; /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; + * * @return Whether the desiredNotificationConfig field is set. */ @java.lang.Override @@ -1181,18 +1454,25 @@ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfig_ != null; } /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; + * * @return The desiredNotificationConfig. */ @java.lang.Override public com.google.container.v1.NotificationConfig getDesiredNotificationConfig() { - return desiredNotificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; + return desiredNotificationConfig_ == null + ? com.google.container.v1.NotificationConfig.getDefaultInstance() + : desiredNotificationConfig_; } /** + * + * *
    * The desired notification configuration.
    * 
@@ -1200,18 +1480,23 @@ public com.google.container.v1.NotificationConfig getDesiredNotificationConfig() * .google.container.v1.NotificationConfig desired_notification_config = 55; */ @java.lang.Override - public com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1.NotificationConfigOrBuilder + getDesiredNotificationConfigOrBuilder() { return getDesiredNotificationConfig(); } public static final int DESIRED_AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 63; private com.google.container.v1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; /** + * + * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ @java.lang.Override @@ -1219,37 +1504,50 @@ public boolean hasDesiredAuthenticatorGroupsConfig() { return desiredAuthenticatorGroupsConfig_ != null; } /** + * + * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return The desiredAuthenticatorGroupsConfig. */ @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null + ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() + : desiredAuthenticatorGroupsConfig_; } /** + * + * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ @java.lang.Override - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder + getDesiredAuthenticatorGroupsConfigOrBuilder() { return getDesiredAuthenticatorGroupsConfig(); } public static final int DESIRED_LOGGING_CONFIG_FIELD_NUMBER = 64; private com.google.container.v1.LoggingConfig desiredLoggingConfig_; /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; + * * @return Whether the desiredLoggingConfig field is set. */ @java.lang.Override @@ -1257,18 +1555,25 @@ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfig_ != null; } /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; + * * @return The desiredLoggingConfig. */ @java.lang.Override public com.google.container.v1.LoggingConfig getDesiredLoggingConfig() { - return desiredLoggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; + return desiredLoggingConfig_ == null + ? com.google.container.v1.LoggingConfig.getDefaultInstance() + : desiredLoggingConfig_; } /** + * + * *
    * The desired logging configuration.
    * 
@@ -1283,11 +1588,14 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB public static final int DESIRED_MONITORING_CONFIG_FIELD_NUMBER = 65; private com.google.container.v1.MonitoringConfig desiredMonitoringConfig_; /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; + * * @return Whether the desiredMonitoringConfig field is set. */ @java.lang.Override @@ -1295,18 +1603,25 @@ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfig_ != null; } /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; + * * @return The desiredMonitoringConfig. */ @java.lang.Override public com.google.container.v1.MonitoringConfig getDesiredMonitoringConfig() { - return desiredMonitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null + ? com.google.container.v1.MonitoringConfig.getDefaultInstance() + : desiredMonitoringConfig_; } /** + * + * *
    * The desired monitoring configuration.
    * 
@@ -1321,11 +1636,14 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon public static final int DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 66; private com.google.container.v1.IdentityServiceConfig desiredIdentityServiceConfig_; /** + * + * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * * @return Whether the desiredIdentityServiceConfig field is set. */ @java.lang.Override @@ -1333,18 +1651,25 @@ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfig_ != null; } /** + * + * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * * @return The desiredIdentityServiceConfig. */ @java.lang.Override public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig() { - return desiredIdentityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; } /** + * + * *
    * The desired Identity Service component configuration.
    * 
@@ -1352,19 +1677,24 @@ public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceCo * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ @java.lang.Override - public com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder + getDesiredIdentityServiceConfigOrBuilder() { return getDesiredIdentityServiceConfig(); } public static final int DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 60; private com.google.container.v1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return Whether the desiredServiceExternalIpsConfig field is set. */ @java.lang.Override @@ -1372,39 +1702,52 @@ public boolean hasDesiredServiceExternalIpsConfig() { return desiredServiceExternalIpsConfig_ != null; } /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return The desiredServiceExternalIpsConfig. */ @java.lang.Override public com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null + ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() + : desiredServiceExternalIpsConfig_; } /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ @java.lang.Override - public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1.ServiceExternalIPsConfigOrBuilder + getDesiredServiceExternalIpsConfigOrBuilder() { return getDesiredServiceExternalIpsConfig(); } public static final int DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 71; private boolean desiredEnablePrivateEndpoint_; /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -1412,11 +1755,14 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -1427,6 +1773,8 @@ public boolean getDesiredEnablePrivateEndpoint() { public static final int DESIRED_MASTER_VERSION_FIELD_NUMBER = 100; private volatile java.lang.Object desiredMasterVersion_; /** + * + * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -1439,6 +1787,7 @@ public boolean getDesiredEnablePrivateEndpoint() {
    * 
* * string desired_master_version = 100; + * * @return The desiredMasterVersion. */ @java.lang.Override @@ -1447,14 +1796,15 @@ public java.lang.String getDesiredMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; } } /** + * + * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -1467,16 +1817,15 @@ public java.lang.String getDesiredMasterVersion() {
    * 
* * string desired_master_version = 100; + * * @return The bytes for desiredMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -1487,11 +1836,14 @@ public java.lang.String getDesiredMasterVersion() { public static final int DESIRED_GCFS_CONFIG_FIELD_NUMBER = 109; private com.google.container.v1.GcfsConfig desiredGcfsConfig_; /** + * + * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; + * * @return Whether the desiredGcfsConfig field is set. */ @java.lang.Override @@ -1499,18 +1851,25 @@ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfig_ != null; } /** + * + * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; + * * @return The desiredGcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getDesiredGcfsConfig() { - return desiredGcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; + return desiredGcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : desiredGcfsConfig_; } /** + * + * *
    * The desired GCFS config for the cluster
    * 
@@ -1525,12 +1884,15 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder public static final int DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER = 110; private com.google.container.v1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ @java.lang.Override @@ -1538,19 +1900,26 @@ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { return desiredNodePoolAutoConfigNetworkTags_ != null; } /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * * @return The desiredNodePoolAutoConfigNetworkTags. */ @java.lang.Override public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; } /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -1559,18 +1928,22 @@ public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTa
    * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110;
    */
   @java.lang.Override
-  public com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() {
+  public com.google.container.v1.NetworkTagsOrBuilder
+      getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() {
     return getDesiredNodePoolAutoConfigNetworkTags();
   }
 
   public static final int DESIRED_GATEWAY_API_CONFIG_FIELD_NUMBER = 114;
   private com.google.container.v1.GatewayAPIConfig desiredGatewayApiConfig_;
   /**
+   *
+   *
    * 
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return Whether the desiredGatewayApiConfig field is set. */ @java.lang.Override @@ -1578,18 +1951,25 @@ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfig_ != null; } /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return The desiredGatewayApiConfig. */ @java.lang.Override public com.google.container.v1.GatewayAPIConfig getDesiredGatewayApiConfig() { - return desiredGatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null + ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() + : desiredGatewayApiConfig_; } /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -1604,11 +1984,14 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon public static final int DESIRED_NODE_POOL_LOGGING_CONFIG_FIELD_NUMBER = 116; private com.google.container.v1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * * @return Whether the desiredNodePoolLoggingConfig field is set. */ @java.lang.Override @@ -1616,18 +1999,25 @@ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfig_ != null; } /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * * @return The desiredNodePoolLoggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { - return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : desiredNodePoolLoggingConfig_; } /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
@@ -1635,11 +2025,13 @@ public com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingCo * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; */ @java.lang.Override - public com.google.container.v1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1.NodePoolLoggingConfigOrBuilder + getDesiredNodePoolLoggingConfigOrBuilder() { return getDesiredNodePoolLoggingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1651,8 +2043,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodeVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, desiredNodeVersion_); } @@ -1719,10 +2110,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (desiredCostManagementConfig_ != null) { output.writeMessage(49, getDesiredCostManagementConfig()); } - if (desiredDatapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { + if (desiredDatapathProvider_ + != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(50, desiredDatapathProvider_); } - if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { + if (desiredPrivateIpv6GoogleAccess_ + != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED + .getNumber()) { output.writeEnum(51, desiredPrivateIpv6GoogleAccess_); } if (desiredDnsConfig_ != null) { @@ -1780,11 +2174,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, desiredNodeVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMonitoringService_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); } if (desiredAddonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDesiredAddonsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDesiredAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, desiredNodePoolId_); @@ -1793,8 +2187,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, desiredImageType_); } if (desiredNodePoolAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getDesiredNodePoolAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, getDesiredNodePoolAutoscaling()); } { int dataSize = 0; @@ -1805,126 +2200,148 @@ public int getSerializedSize() { size += 1 * getDesiredLocationsList().size(); } if (desiredMasterAuthorizedNetworksConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDesiredMasterAuthorizedNetworksConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, getDesiredMasterAuthorizedNetworksConfig()); } if (desiredClusterAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getDesiredClusterAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, getDesiredClusterAutoscaling()); } if (desiredBinaryAuthorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getDesiredBinaryAuthorization()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, getDesiredBinaryAuthorization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredLoggingService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, desiredLoggingService_); } if (desiredResourceUsageExportConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getDesiredResourceUsageExportConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, getDesiredResourceUsageExportConfig()); } if (desiredVerticalPodAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getDesiredVerticalPodAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, getDesiredVerticalPodAutoscaling()); } if (desiredPrivateClusterConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getDesiredPrivateClusterConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 25, getDesiredPrivateClusterConfig()); } if (desiredIntraNodeVisibilityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getDesiredIntraNodeVisibilityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 26, getDesiredIntraNodeVisibilityConfig()); } if (desiredDefaultSnatStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getDesiredDefaultSnatStatus()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, getDesiredDefaultSnatStatus()); } if (desiredReleaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(31, getDesiredReleaseChannel()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(31, getDesiredReleaseChannel()); } if (desiredL4IlbSubsettingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(39, getDesiredL4IlbSubsettingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 39, getDesiredL4IlbSubsettingConfig()); } if (desiredDatabaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(46, getDesiredDatabaseEncryption()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 46, getDesiredDatabaseEncryption()); } if (desiredWorkloadIdentityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(47, getDesiredWorkloadIdentityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 47, getDesiredWorkloadIdentityConfig()); } if (desiredShieldedNodes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(48, getDesiredShieldedNodes()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(48, getDesiredShieldedNodes()); } if (desiredCostManagementConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(49, getDesiredCostManagementConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 49, getDesiredCostManagementConfig()); } - if (desiredDatapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(50, desiredDatapathProvider_); + if (desiredDatapathProvider_ + != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(50, desiredDatapathProvider_); } - if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(51, desiredPrivateIpv6GoogleAccess_); + if (desiredPrivateIpv6GoogleAccess_ + != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 51, desiredPrivateIpv6GoogleAccess_); } if (desiredDnsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(53, getDesiredDnsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getDesiredDnsConfig()); } if (desiredNotificationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(55, getDesiredNotificationConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 55, getDesiredNotificationConfig()); } if (desiredServiceExternalIpsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(60, getDesiredServiceExternalIpsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 60, getDesiredServiceExternalIpsConfig()); } if (desiredAuthenticatorGroupsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(63, getDesiredAuthenticatorGroupsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 63, getDesiredAuthenticatorGroupsConfig()); } if (desiredLoggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(64, getDesiredLoggingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(64, getDesiredLoggingConfig()); } if (desiredMonitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(65, getDesiredMonitoringConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 65, getDesiredMonitoringConfig()); } if (desiredIdentityServiceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(66, getDesiredIdentityServiceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 66, getDesiredIdentityServiceConfig()); } if (desiredMeshCertificates_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(67, getDesiredMeshCertificates()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 67, getDesiredMeshCertificates()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(71, desiredEnablePrivateEndpoint_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(71, desiredEnablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMasterVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, desiredMasterVersion_); } if (desiredGcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(109, getDesiredGcfsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getDesiredGcfsConfig()); } if (desiredNodePoolAutoConfigNetworkTags_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(110, getDesiredNodePoolAutoConfigNetworkTags()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 110, getDesiredNodePoolAutoConfigNetworkTags()); } if (desiredGatewayApiConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(114, getDesiredGatewayApiConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 114, getDesiredGatewayApiConfig()); } if (desiredNodePoolLoggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(116, getDesiredNodePoolLoggingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 116, getDesiredNodePoolLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1934,173 +2351,164 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ClusterUpdate)) { return super.equals(obj); } com.google.container.v1.ClusterUpdate other = (com.google.container.v1.ClusterUpdate) obj; - if (!getDesiredNodeVersion() - .equals(other.getDesiredNodeVersion())) return false; - if (!getDesiredMonitoringService() - .equals(other.getDesiredMonitoringService())) return false; + if (!getDesiredNodeVersion().equals(other.getDesiredNodeVersion())) return false; + if (!getDesiredMonitoringService().equals(other.getDesiredMonitoringService())) return false; if (hasDesiredAddonsConfig() != other.hasDesiredAddonsConfig()) return false; if (hasDesiredAddonsConfig()) { - if (!getDesiredAddonsConfig() - .equals(other.getDesiredAddonsConfig())) return false; + if (!getDesiredAddonsConfig().equals(other.getDesiredAddonsConfig())) return false; } - if (!getDesiredNodePoolId() - .equals(other.getDesiredNodePoolId())) return false; - if (!getDesiredImageType() - .equals(other.getDesiredImageType())) return false; + if (!getDesiredNodePoolId().equals(other.getDesiredNodePoolId())) return false; + if (!getDesiredImageType().equals(other.getDesiredImageType())) return false; if (hasDesiredDatabaseEncryption() != other.hasDesiredDatabaseEncryption()) return false; if (hasDesiredDatabaseEncryption()) { - if (!getDesiredDatabaseEncryption() - .equals(other.getDesiredDatabaseEncryption())) return false; + if (!getDesiredDatabaseEncryption().equals(other.getDesiredDatabaseEncryption())) + return false; } - if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) return false; + if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) + return false; if (hasDesiredWorkloadIdentityConfig()) { - if (!getDesiredWorkloadIdentityConfig() - .equals(other.getDesiredWorkloadIdentityConfig())) return false; + if (!getDesiredWorkloadIdentityConfig().equals(other.getDesiredWorkloadIdentityConfig())) + return false; } if (hasDesiredMeshCertificates() != other.hasDesiredMeshCertificates()) return false; if (hasDesiredMeshCertificates()) { - if (!getDesiredMeshCertificates() - .equals(other.getDesiredMeshCertificates())) return false; + if (!getDesiredMeshCertificates().equals(other.getDesiredMeshCertificates())) return false; } if (hasDesiredShieldedNodes() != other.hasDesiredShieldedNodes()) return false; if (hasDesiredShieldedNodes()) { - if (!getDesiredShieldedNodes() - .equals(other.getDesiredShieldedNodes())) return false; + if (!getDesiredShieldedNodes().equals(other.getDesiredShieldedNodes())) return false; } if (hasDesiredCostManagementConfig() != other.hasDesiredCostManagementConfig()) return false; if (hasDesiredCostManagementConfig()) { - if (!getDesiredCostManagementConfig() - .equals(other.getDesiredCostManagementConfig())) return false; + if (!getDesiredCostManagementConfig().equals(other.getDesiredCostManagementConfig())) + return false; } if (hasDesiredDnsConfig() != other.hasDesiredDnsConfig()) return false; if (hasDesiredDnsConfig()) { - if (!getDesiredDnsConfig() - .equals(other.getDesiredDnsConfig())) return false; + if (!getDesiredDnsConfig().equals(other.getDesiredDnsConfig())) return false; } if (hasDesiredNodePoolAutoscaling() != other.hasDesiredNodePoolAutoscaling()) return false; if (hasDesiredNodePoolAutoscaling()) { - if (!getDesiredNodePoolAutoscaling() - .equals(other.getDesiredNodePoolAutoscaling())) return false; + if (!getDesiredNodePoolAutoscaling().equals(other.getDesiredNodePoolAutoscaling())) + return false; } - if (!getDesiredLocationsList() - .equals(other.getDesiredLocationsList())) return false; - if (hasDesiredMasterAuthorizedNetworksConfig() != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; + if (!getDesiredLocationsList().equals(other.getDesiredLocationsList())) return false; + if (hasDesiredMasterAuthorizedNetworksConfig() + != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; if (hasDesiredMasterAuthorizedNetworksConfig()) { if (!getDesiredMasterAuthorizedNetworksConfig() .equals(other.getDesiredMasterAuthorizedNetworksConfig())) return false; } if (hasDesiredClusterAutoscaling() != other.hasDesiredClusterAutoscaling()) return false; if (hasDesiredClusterAutoscaling()) { - if (!getDesiredClusterAutoscaling() - .equals(other.getDesiredClusterAutoscaling())) return false; + if (!getDesiredClusterAutoscaling().equals(other.getDesiredClusterAutoscaling())) + return false; } if (hasDesiredBinaryAuthorization() != other.hasDesiredBinaryAuthorization()) return false; if (hasDesiredBinaryAuthorization()) { - if (!getDesiredBinaryAuthorization() - .equals(other.getDesiredBinaryAuthorization())) return false; + if (!getDesiredBinaryAuthorization().equals(other.getDesiredBinaryAuthorization())) + return false; } - if (!getDesiredLoggingService() - .equals(other.getDesiredLoggingService())) return false; - if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) return false; + if (!getDesiredLoggingService().equals(other.getDesiredLoggingService())) return false; + if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) + return false; if (hasDesiredResourceUsageExportConfig()) { if (!getDesiredResourceUsageExportConfig() .equals(other.getDesiredResourceUsageExportConfig())) return false; } - if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) return false; + if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) + return false; if (hasDesiredVerticalPodAutoscaling()) { - if (!getDesiredVerticalPodAutoscaling() - .equals(other.getDesiredVerticalPodAutoscaling())) return false; + if (!getDesiredVerticalPodAutoscaling().equals(other.getDesiredVerticalPodAutoscaling())) + return false; } if (hasDesiredPrivateClusterConfig() != other.hasDesiredPrivateClusterConfig()) return false; if (hasDesiredPrivateClusterConfig()) { - if (!getDesiredPrivateClusterConfig() - .equals(other.getDesiredPrivateClusterConfig())) return false; + if (!getDesiredPrivateClusterConfig().equals(other.getDesiredPrivateClusterConfig())) + return false; } - if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) return false; + if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) + return false; if (hasDesiredIntraNodeVisibilityConfig()) { if (!getDesiredIntraNodeVisibilityConfig() .equals(other.getDesiredIntraNodeVisibilityConfig())) return false; } if (hasDesiredDefaultSnatStatus() != other.hasDesiredDefaultSnatStatus()) return false; if (hasDesiredDefaultSnatStatus()) { - if (!getDesiredDefaultSnatStatus() - .equals(other.getDesiredDefaultSnatStatus())) return false; + if (!getDesiredDefaultSnatStatus().equals(other.getDesiredDefaultSnatStatus())) return false; } if (hasDesiredReleaseChannel() != other.hasDesiredReleaseChannel()) return false; if (hasDesiredReleaseChannel()) { - if (!getDesiredReleaseChannel() - .equals(other.getDesiredReleaseChannel())) return false; + if (!getDesiredReleaseChannel().equals(other.getDesiredReleaseChannel())) return false; } if (hasDesiredL4IlbSubsettingConfig() != other.hasDesiredL4IlbSubsettingConfig()) return false; if (hasDesiredL4IlbSubsettingConfig()) { - if (!getDesiredL4IlbSubsettingConfig() - .equals(other.getDesiredL4IlbSubsettingConfig())) return false; + if (!getDesiredL4IlbSubsettingConfig().equals(other.getDesiredL4IlbSubsettingConfig())) + return false; } if (desiredDatapathProvider_ != other.desiredDatapathProvider_) return false; if (desiredPrivateIpv6GoogleAccess_ != other.desiredPrivateIpv6GoogleAccess_) return false; if (hasDesiredNotificationConfig() != other.hasDesiredNotificationConfig()) return false; if (hasDesiredNotificationConfig()) { - if (!getDesiredNotificationConfig() - .equals(other.getDesiredNotificationConfig())) return false; + if (!getDesiredNotificationConfig().equals(other.getDesiredNotificationConfig())) + return false; } - if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) return false; + if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) + return false; if (hasDesiredAuthenticatorGroupsConfig()) { if (!getDesiredAuthenticatorGroupsConfig() .equals(other.getDesiredAuthenticatorGroupsConfig())) return false; } if (hasDesiredLoggingConfig() != other.hasDesiredLoggingConfig()) return false; if (hasDesiredLoggingConfig()) { - if (!getDesiredLoggingConfig() - .equals(other.getDesiredLoggingConfig())) return false; + if (!getDesiredLoggingConfig().equals(other.getDesiredLoggingConfig())) return false; } if (hasDesiredMonitoringConfig() != other.hasDesiredMonitoringConfig()) return false; if (hasDesiredMonitoringConfig()) { - if (!getDesiredMonitoringConfig() - .equals(other.getDesiredMonitoringConfig())) return false; + if (!getDesiredMonitoringConfig().equals(other.getDesiredMonitoringConfig())) return false; } if (hasDesiredIdentityServiceConfig() != other.hasDesiredIdentityServiceConfig()) return false; if (hasDesiredIdentityServiceConfig()) { - if (!getDesiredIdentityServiceConfig() - .equals(other.getDesiredIdentityServiceConfig())) return false; + if (!getDesiredIdentityServiceConfig().equals(other.getDesiredIdentityServiceConfig())) + return false; } - if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) return false; + if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) + return false; if (hasDesiredServiceExternalIpsConfig()) { - if (!getDesiredServiceExternalIpsConfig() - .equals(other.getDesiredServiceExternalIpsConfig())) return false; + if (!getDesiredServiceExternalIpsConfig().equals(other.getDesiredServiceExternalIpsConfig())) + return false; } if (hasDesiredEnablePrivateEndpoint() != other.hasDesiredEnablePrivateEndpoint()) return false; if (hasDesiredEnablePrivateEndpoint()) { - if (getDesiredEnablePrivateEndpoint() - != other.getDesiredEnablePrivateEndpoint()) return false; + if (getDesiredEnablePrivateEndpoint() != other.getDesiredEnablePrivateEndpoint()) + return false; } - if (!getDesiredMasterVersion() - .equals(other.getDesiredMasterVersion())) return false; + if (!getDesiredMasterVersion().equals(other.getDesiredMasterVersion())) return false; if (hasDesiredGcfsConfig() != other.hasDesiredGcfsConfig()) return false; if (hasDesiredGcfsConfig()) { - if (!getDesiredGcfsConfig() - .equals(other.getDesiredGcfsConfig())) return false; + if (!getDesiredGcfsConfig().equals(other.getDesiredGcfsConfig())) return false; } - if (hasDesiredNodePoolAutoConfigNetworkTags() != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; + if (hasDesiredNodePoolAutoConfigNetworkTags() + != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; if (hasDesiredNodePoolAutoConfigNetworkTags()) { if (!getDesiredNodePoolAutoConfigNetworkTags() .equals(other.getDesiredNodePoolAutoConfigNetworkTags())) return false; } if (hasDesiredGatewayApiConfig() != other.hasDesiredGatewayApiConfig()) return false; if (hasDesiredGatewayApiConfig()) { - if (!getDesiredGatewayApiConfig() - .equals(other.getDesiredGatewayApiConfig())) return false; + if (!getDesiredGatewayApiConfig().equals(other.getDesiredGatewayApiConfig())) return false; } if (hasDesiredNodePoolLoggingConfig() != other.hasDesiredNodePoolLoggingConfig()) return false; if (hasDesiredNodePoolLoggingConfig()) { - if (!getDesiredNodePoolLoggingConfig() - .equals(other.getDesiredNodePoolLoggingConfig())) return false; + if (!getDesiredNodePoolLoggingConfig().equals(other.getDesiredNodePoolLoggingConfig())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2229,8 +2637,8 @@ public int hashCode() { } if (hasDesiredEnablePrivateEndpoint()) { hash = (37 * hash) + DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDesiredEnablePrivateEndpoint()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesiredEnablePrivateEndpoint()); } hash = (37 * hash) + DESIRED_MASTER_VERSION_FIELD_NUMBER; hash = (53 * hash) + getDesiredMasterVersion().hashCode(); @@ -2255,97 +2663,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ClusterUpdate parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ClusterUpdate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClusterUpdate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterUpdate parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.ClusterUpdate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClusterUpdate parseFrom( 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.ClusterUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ClusterUpdate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ClusterUpdate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ClusterUpdate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ClusterUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ClusterUpdate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ClusterUpdate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ClusterUpdate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ClusterUpdate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ClusterUpdate describes an update to the cluster. Exactly one update can
    * be applied to a cluster with each request, so at most one field can be
@@ -2354,33 +2768,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ClusterUpdate}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ClusterUpdate)
       com.google.container.v1.ClusterUpdateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ClusterUpdate.class, com.google.container.v1.ClusterUpdate.Builder.class);
+              com.google.container.v1.ClusterUpdate.class,
+              com.google.container.v1.ClusterUpdate.Builder.class);
     }
 
     // Construct using com.google.container.v1.ClusterUpdate.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2576,9 +2989,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ClusterUpdate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
@@ -2597,7 +3010,8 @@ public com.google.container.v1.ClusterUpdate build() {
 
     @java.lang.Override
     public com.google.container.v1.ClusterUpdate buildPartial() {
-      com.google.container.v1.ClusterUpdate result = new com.google.container.v1.ClusterUpdate(this);
+      com.google.container.v1.ClusterUpdate result =
+          new com.google.container.v1.ClusterUpdate(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.desiredNodeVersion_ = desiredNodeVersion_;
@@ -2652,7 +3066,8 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
       if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) {
         result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfig_;
       } else {
-        result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfigBuilder_.build();
+        result.desiredMasterAuthorizedNetworksConfig_ =
+            desiredMasterAuthorizedNetworksConfigBuilder_.build();
       }
       if (desiredClusterAutoscalingBuilder_ == null) {
         result.desiredClusterAutoscaling_ = desiredClusterAutoscaling_;
@@ -2745,7 +3160,8 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
       if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) {
         result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTags_;
       } else {
-        result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
+        result.desiredNodePoolAutoConfigNetworkTags_ =
+            desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
       }
       if (desiredGatewayApiConfigBuilder_ == null) {
         result.desiredGatewayApiConfig_ = desiredGatewayApiConfig_;
@@ -2766,38 +3182,39 @@ public com.google.container.v1.ClusterUpdate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ClusterUpdate) {
-        return mergeFrom((com.google.container.v1.ClusterUpdate)other);
+        return mergeFrom((com.google.container.v1.ClusterUpdate) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2857,7 +3274,8 @@ public Builder mergeFrom(com.google.container.v1.ClusterUpdate other) {
         onChanged();
       }
       if (other.hasDesiredMasterAuthorizedNetworksConfig()) {
-        mergeDesiredMasterAuthorizedNetworksConfig(other.getDesiredMasterAuthorizedNetworksConfig());
+        mergeDesiredMasterAuthorizedNetworksConfig(
+            other.getDesiredMasterAuthorizedNetworksConfig());
       }
       if (other.hasDesiredClusterAutoscaling()) {
         mergeDesiredClusterAutoscaling(other.getDesiredClusterAutoscaling());
@@ -2959,259 +3377,276 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 34: {
-              desiredNodeVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              desiredMonitoringService_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDesiredAddonsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              desiredNodePoolId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            case 66: {
-              desiredImageType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 74
-            case 82: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDesiredLocationsIsMutable();
-              desiredLocations_.add(s);
-              break;
-            } // case 82
-            case 98: {
-              input.readMessage(
-                  getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 98
-            case 122: {
-              input.readMessage(
-                  getDesiredClusterAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getDesiredBinaryAuthorizationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 130
-            case 154: {
-              desiredLoggingService_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 154
-            case 170: {
-              input.readMessage(
-                  getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 170
-            case 178: {
-              input.readMessage(
-                  getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 178
-            case 202: {
-              input.readMessage(
-                  getDesiredPrivateClusterConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 210
-            case 226: {
-              input.readMessage(
-                  getDesiredDefaultSnatStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 226
-            case 250: {
-              input.readMessage(
-                  getDesiredReleaseChannelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 250
-            case 314: {
-              input.readMessage(
-                  getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 314
-            case 370: {
-              input.readMessage(
-                  getDesiredDatabaseEncryptionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 370
-            case 378: {
-              input.readMessage(
-                  getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 378
-            case 386: {
-              input.readMessage(
-                  getDesiredShieldedNodesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 386
-            case 394: {
-              input.readMessage(
-                  getDesiredCostManagementConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 394
-            case 400: {
-              desiredDatapathProvider_ = input.readEnum();
-
-              break;
-            } // case 400
-            case 408: {
-              desiredPrivateIpv6GoogleAccess_ = input.readEnum();
-
-              break;
-            } // case 408
-            case 426: {
-              input.readMessage(
-                  getDesiredDnsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 426
-            case 442: {
-              input.readMessage(
-                  getDesiredNotificationConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 442
-            case 482: {
-              input.readMessage(
-                  getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 482
-            case 506: {
-              input.readMessage(
-                  getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 506
-            case 514: {
-              input.readMessage(
-                  getDesiredLoggingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 514
-            case 522: {
-              input.readMessage(
-                  getDesiredMonitoringConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 522
-            case 530: {
-              input.readMessage(
-                  getDesiredIdentityServiceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 530
-            case 538: {
-              input.readMessage(
-                  getDesiredMeshCertificatesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 538
-            case 568: {
-              desiredEnablePrivateEndpoint_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 568
-            case 802: {
-              desiredMasterVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 802
-            case 874: {
-              input.readMessage(
-                  getDesiredGcfsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 874
-            case 882: {
-              input.readMessage(
-                  getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 882
-            case 914: {
-              input.readMessage(
-                  getDesiredGatewayApiConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 914
-            case 930: {
-              input.readMessage(
-                  getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 930
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 34:
+              {
+                desiredNodeVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                desiredMonitoringService_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getDesiredAddonsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                desiredNodePoolId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                desiredImageType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 74
+            case 82:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDesiredLocationsIsMutable();
+                desiredLocations_.add(s);
+                break;
+              } // case 82
+            case 98:
+              {
+                input.readMessage(
+                    getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 98
+            case 122:
+              {
+                input.readMessage(
+                    getDesiredClusterAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(
+                    getDesiredBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 130
+            case 154:
+              {
+                desiredLoggingService_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 154
+            case 170:
+              {
+                input.readMessage(
+                    getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 170
+            case 178:
+              {
+                input.readMessage(
+                    getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 178
+            case 202:
+              {
+                input.readMessage(
+                    getDesiredPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 210
+            case 226:
+              {
+                input.readMessage(
+                    getDesiredDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 226
+            case 250:
+              {
+                input.readMessage(
+                    getDesiredReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 250
+            case 314:
+              {
+                input.readMessage(
+                    getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 314
+            case 370:
+              {
+                input.readMessage(
+                    getDesiredDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 370
+            case 378:
+              {
+                input.readMessage(
+                    getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 378
+            case 386:
+              {
+                input.readMessage(
+                    getDesiredShieldedNodesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 386
+            case 394:
+              {
+                input.readMessage(
+                    getDesiredCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 394
+            case 400:
+              {
+                desiredDatapathProvider_ = input.readEnum();
+
+                break;
+              } // case 400
+            case 408:
+              {
+                desiredPrivateIpv6GoogleAccess_ = input.readEnum();
+
+                break;
+              } // case 408
+            case 426:
+              {
+                input.readMessage(
+                    getDesiredDnsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 426
+            case 442:
+              {
+                input.readMessage(
+                    getDesiredNotificationConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 442
+            case 482:
+              {
+                input.readMessage(
+                    getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 482
+            case 506:
+              {
+                input.readMessage(
+                    getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 506
+            case 514:
+              {
+                input.readMessage(
+                    getDesiredLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 514
+            case 522:
+              {
+                input.readMessage(
+                    getDesiredMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 522
+            case 530:
+              {
+                input.readMessage(
+                    getDesiredIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 530
+            case 538:
+              {
+                input.readMessage(
+                    getDesiredMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 538
+            case 568:
+              {
+                desiredEnablePrivateEndpoint_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 568
+            case 802:
+              {
+                desiredMasterVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 802
+            case 874:
+              {
+                input.readMessage(
+                    getDesiredGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 874
+            case 882:
+              {
+                input.readMessage(
+                    getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 882
+            case 914:
+              {
+                input.readMessage(
+                    getDesiredGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 914
+            case 930:
+              {
+                input.readMessage(
+                    getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 930
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3221,10 +3656,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object desiredNodeVersion_ = "";
     /**
+     *
+     *
      * 
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3238,13 +3676,13 @@ public Builder mergeFrom(
      * 
* * string desired_node_version = 4; + * * @return The desiredNodeVersion. */ public java.lang.String getDesiredNodeVersion() { java.lang.Object ref = desiredNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; @@ -3253,6 +3691,8 @@ public java.lang.String getDesiredNodeVersion() { } } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3266,15 +3706,14 @@ public java.lang.String getDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; + * * @return The bytes for desiredNodeVersion. */ - public com.google.protobuf.ByteString - getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -3282,6 +3721,8 @@ public java.lang.String getDesiredNodeVersion() { } } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3295,20 +3736,22 @@ public java.lang.String getDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; + * * @param value The desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersion( - java.lang.String value) { + public Builder setDesiredNodeVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodeVersion_ = value; onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3322,15 +3765,18 @@ public Builder setDesiredNodeVersion(
      * 
* * string desired_node_version = 4; + * * @return This builder for chaining. */ public Builder clearDesiredNodeVersion() { - + desiredNodeVersion_ = getDefaultInstance().getDesiredNodeVersion(); onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3344,16 +3790,16 @@ public Builder clearDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; + * * @param value The bytes for desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodeVersion_ = value; onChanged(); return this; @@ -3361,6 +3807,8 @@ public Builder setDesiredNodeVersionBytes( private java.lang.Object desiredMonitoringService_ = ""; /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3374,13 +3822,13 @@ public Builder setDesiredNodeVersionBytes(
      * 
* * string desired_monitoring_service = 5; + * * @return The desiredMonitoringService. */ public java.lang.String getDesiredMonitoringService() { java.lang.Object ref = desiredMonitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; @@ -3389,6 +3837,8 @@ public java.lang.String getDesiredMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3402,15 +3852,14 @@ public java.lang.String getDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; + * * @return The bytes for desiredMonitoringService. */ - public com.google.protobuf.ByteString - getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -3418,6 +3867,8 @@ public java.lang.String getDesiredMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3431,20 +3882,22 @@ public java.lang.String getDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; + * * @param value The desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringService( - java.lang.String value) { + public Builder setDesiredMonitoringService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMonitoringService_ = value; onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3458,15 +3911,18 @@ public Builder setDesiredMonitoringService(
      * 
* * string desired_monitoring_service = 5; + * * @return This builder for chaining. */ public Builder clearDesiredMonitoringService() { - + desiredMonitoringService_ = getDefaultInstance().getDesiredMonitoringService(); onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3480,16 +3936,16 @@ public Builder clearDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; + * * @param value The bytes for desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredMonitoringServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMonitoringService_ = value; onChanged(); return this; @@ -3497,34 +3953,47 @@ public Builder setDesiredMonitoringServiceBytes( private com.google.container.v1.AddonsConfig desiredAddonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> desiredAddonsConfigBuilder_; + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder> + desiredAddonsConfigBuilder_; /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; + * * @return Whether the desiredAddonsConfig field is set. */ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfigBuilder_ != null || desiredAddonsConfig_ != null; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; + * * @return The desiredAddonsConfig. */ public com.google.container.v1.AddonsConfig getDesiredAddonsConfig() { if (desiredAddonsConfigBuilder_ == null) { - return desiredAddonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; + return desiredAddonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : desiredAddonsConfig_; } else { return desiredAddonsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -3545,6 +4014,8 @@ public Builder setDesiredAddonsConfig(com.google.container.v1.AddonsConfig value return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -3563,6 +4034,8 @@ public Builder setDesiredAddonsConfig( return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -3573,7 +4046,9 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1.AddonsConfig val if (desiredAddonsConfigBuilder_ == null) { if (desiredAddonsConfig_ != null) { desiredAddonsConfig_ = - com.google.container.v1.AddonsConfig.newBuilder(desiredAddonsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.AddonsConfig.newBuilder(desiredAddonsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredAddonsConfig_ = value; } @@ -3585,6 +4060,8 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1.AddonsConfig val return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -3603,6 +4080,8 @@ public Builder clearDesiredAddonsConfig() { return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -3610,11 +4089,13 @@ public Builder clearDesiredAddonsConfig() { * .google.container.v1.AddonsConfig desired_addons_config = 6; */ public com.google.container.v1.AddonsConfig.Builder getDesiredAddonsConfigBuilder() { - + onChanged(); return getDesiredAddonsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -3625,11 +4106,14 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui if (desiredAddonsConfigBuilder_ != null) { return desiredAddonsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAddonsConfig_ == null ? - com.google.container.v1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; + return desiredAddonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : desiredAddonsConfig_; } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -3637,14 +4121,17 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui * .google.container.v1.AddonsConfig desired_addons_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder> getDesiredAddonsConfigFieldBuilder() { if (desiredAddonsConfigBuilder_ == null) { - desiredAddonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder>( - getDesiredAddonsConfig(), - getParentForChildren(), - isClean()); + desiredAddonsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder>( + getDesiredAddonsConfig(), getParentForChildren(), isClean()); desiredAddonsConfig_ = null; } return desiredAddonsConfigBuilder_; @@ -3652,6 +4139,8 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui private java.lang.Object desiredNodePoolId_ = ""; /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -3660,13 +4149,13 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui
      * 
* * string desired_node_pool_id = 7; + * * @return The desiredNodePoolId. */ public java.lang.String getDesiredNodePoolId() { java.lang.Object ref = desiredNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; @@ -3675,6 +4164,8 @@ public java.lang.String getDesiredNodePoolId() { } } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -3683,15 +4174,14 @@ public java.lang.String getDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; + * * @return The bytes for desiredNodePoolId. */ - public com.google.protobuf.ByteString - getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -3699,6 +4189,8 @@ public java.lang.String getDesiredNodePoolId() { } } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -3707,20 +4199,22 @@ public java.lang.String getDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; + * * @param value The desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolId( - java.lang.String value) { + public Builder setDesiredNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -3729,15 +4223,18 @@ public Builder setDesiredNodePoolId(
      * 
* * string desired_node_pool_id = 7; + * * @return This builder for chaining. */ public Builder clearDesiredNodePoolId() { - + desiredNodePoolId_ = getDefaultInstance().getDesiredNodePoolId(); onChanged(); return this; } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family" or
@@ -3746,16 +4243,16 @@ public Builder clearDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; + * * @param value The bytes for desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodePoolId_ = value; onChanged(); return this; @@ -3763,19 +4260,21 @@ public Builder setDesiredNodePoolIdBytes( private java.lang.Object desiredImageType_ = ""; /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @return The desiredImageType. */ public java.lang.String getDesiredImageType() { java.lang.Object ref = desiredImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; @@ -3784,21 +4283,22 @@ public java.lang.String getDesiredImageType() { } } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @return The bytes for desiredImageType. */ - public com.google.protobuf.ByteString - getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -3806,57 +4306,64 @@ public java.lang.String getDesiredImageType() { } } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @param value The desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageType( - java.lang.String value) { + public Builder setDesiredImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredImageType_ = value; onChanged(); return this; } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @return This builder for chaining. */ public Builder clearDesiredImageType() { - + desiredImageType_ = getDefaultInstance().getDesiredImageType(); onChanged(); return this; } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @param value The bytes for desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredImageType_ = value; onChanged(); return this; @@ -3864,34 +4371,47 @@ public Builder setDesiredImageTypeBytes( private com.google.container.v1.DatabaseEncryption desiredDatabaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> desiredDatabaseEncryptionBuilder_; + com.google.container.v1.DatabaseEncryption, + com.google.container.v1.DatabaseEncryption.Builder, + com.google.container.v1.DatabaseEncryptionOrBuilder> + desiredDatabaseEncryptionBuilder_; /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; + * * @return Whether the desiredDatabaseEncryption field is set. */ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryptionBuilder_ != null || desiredDatabaseEncryption_ != null; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; + * * @return The desiredDatabaseEncryption. */ public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() { if (desiredDatabaseEncryptionBuilder_ == null) { - return desiredDatabaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null + ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() + : desiredDatabaseEncryption_; } else { return desiredDatabaseEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -3912,6 +4432,8 @@ public Builder setDesiredDatabaseEncryption(com.google.container.v1.DatabaseEncr return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -3930,17 +4452,22 @@ public Builder setDesiredDatabaseEncryption( return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ - public Builder mergeDesiredDatabaseEncryption(com.google.container.v1.DatabaseEncryption value) { + public Builder mergeDesiredDatabaseEncryption( + com.google.container.v1.DatabaseEncryption value) { if (desiredDatabaseEncryptionBuilder_ == null) { if (desiredDatabaseEncryption_ != null) { desiredDatabaseEncryption_ = - com.google.container.v1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_).mergeFrom(value).buildPartial(); + com.google.container.v1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_) + .mergeFrom(value) + .buildPartial(); } else { desiredDatabaseEncryption_ = value; } @@ -3952,6 +4479,8 @@ public Builder mergeDesiredDatabaseEncryption(com.google.container.v1.DatabaseEn return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -3970,33 +4499,42 @@ public Builder clearDesiredDatabaseEncryption() { return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1.DatabaseEncryption.Builder getDesiredDatabaseEncryptionBuilder() { - + public com.google.container.v1.DatabaseEncryption.Builder + getDesiredDatabaseEncryptionBuilder() { + onChanged(); return getDesiredDatabaseEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1.DatabaseEncryptionOrBuilder + getDesiredDatabaseEncryptionOrBuilder() { if (desiredDatabaseEncryptionBuilder_ != null) { return desiredDatabaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return desiredDatabaseEncryption_ == null ? - com.google.container.v1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null + ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() + : desiredDatabaseEncryption_; } } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -4004,14 +4542,17 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEnc * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder> + com.google.container.v1.DatabaseEncryption, + com.google.container.v1.DatabaseEncryption.Builder, + com.google.container.v1.DatabaseEncryptionOrBuilder> getDesiredDatabaseEncryptionFieldBuilder() { if (desiredDatabaseEncryptionBuilder_ == null) { - desiredDatabaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DatabaseEncryption, com.google.container.v1.DatabaseEncryption.Builder, com.google.container.v1.DatabaseEncryptionOrBuilder>( - getDesiredDatabaseEncryption(), - getParentForChildren(), - isClean()); + desiredDatabaseEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DatabaseEncryption, + com.google.container.v1.DatabaseEncryption.Builder, + com.google.container.v1.DatabaseEncryptionOrBuilder>( + getDesiredDatabaseEncryption(), getParentForChildren(), isClean()); desiredDatabaseEncryption_ = null; } return desiredDatabaseEncryptionBuilder_; @@ -4019,41 +4560,59 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEnc private com.google.container.v1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> desiredWorkloadIdentityConfigBuilder_; + com.google.container.v1.WorkloadIdentityConfig, + com.google.container.v1.WorkloadIdentityConfig.Builder, + com.google.container.v1.WorkloadIdentityConfigOrBuilder> + desiredWorkloadIdentityConfigBuilder_; /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return Whether the desiredWorkloadIdentityConfig field is set. */ public boolean hasDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfigBuilder_ != null || desiredWorkloadIdentityConfig_ != null; + return desiredWorkloadIdentityConfigBuilder_ != null + || desiredWorkloadIdentityConfig_ != null; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return The desiredWorkloadIdentityConfig. */ public com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null + ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() + : desiredWorkloadIdentityConfig_; } else { return desiredWorkloadIdentityConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public Builder setDesiredWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentityConfig value) { + public Builder setDesiredWorkloadIdentityConfig( + com.google.container.v1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4067,11 +4626,14 @@ public Builder setDesiredWorkloadIdentityConfig(com.google.container.v1.Workload return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ public Builder setDesiredWorkloadIdentityConfig( com.google.container.v1.WorkloadIdentityConfig.Builder builderForValue) { @@ -4085,17 +4647,24 @@ public Builder setDesiredWorkloadIdentityConfig( return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public Builder mergeDesiredWorkloadIdentityConfig(com.google.container.v1.WorkloadIdentityConfig value) { + public Builder mergeDesiredWorkloadIdentityConfig( + com.google.container.v1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (desiredWorkloadIdentityConfig_ != null) { desiredWorkloadIdentityConfig_ = - com.google.container.v1.WorkloadIdentityConfig.newBuilder(desiredWorkloadIdentityConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.WorkloadIdentityConfig.newBuilder( + desiredWorkloadIdentityConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredWorkloadIdentityConfig_ = value; } @@ -4107,11 +4676,14 @@ public Builder mergeDesiredWorkloadIdentityConfig(com.google.container.v1.Worklo return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ public Builder clearDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { @@ -4125,48 +4697,63 @@ public Builder clearDesiredWorkloadIdentityConfig() { return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public com.google.container.v1.WorkloadIdentityConfig.Builder getDesiredWorkloadIdentityConfigBuilder() { - + public com.google.container.v1.WorkloadIdentityConfig.Builder + getDesiredWorkloadIdentityConfigBuilder() { + onChanged(); return getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public com.google.container.v1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1.WorkloadIdentityConfigOrBuilder + getDesiredWorkloadIdentityConfigOrBuilder() { if (desiredWorkloadIdentityConfigBuilder_ != null) { return desiredWorkloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadIdentityConfig_ == null ? - com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null + ? com.google.container.v1.WorkloadIdentityConfig.getDefaultInstance() + : desiredWorkloadIdentityConfig_; } } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder> + com.google.container.v1.WorkloadIdentityConfig, + com.google.container.v1.WorkloadIdentityConfig.Builder, + com.google.container.v1.WorkloadIdentityConfigOrBuilder> getDesiredWorkloadIdentityConfigFieldBuilder() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - desiredWorkloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadIdentityConfig, com.google.container.v1.WorkloadIdentityConfig.Builder, com.google.container.v1.WorkloadIdentityConfigOrBuilder>( - getDesiredWorkloadIdentityConfig(), - getParentForChildren(), - isClean()); + desiredWorkloadIdentityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.WorkloadIdentityConfig, + com.google.container.v1.WorkloadIdentityConfig.Builder, + com.google.container.v1.WorkloadIdentityConfigOrBuilder>( + getDesiredWorkloadIdentityConfig(), getParentForChildren(), isClean()); desiredWorkloadIdentityConfig_ = null; } return desiredWorkloadIdentityConfigBuilder_; @@ -4174,36 +4761,49 @@ public com.google.container.v1.WorkloadIdentityConfigOrBuilder getDesiredWorkloa private com.google.container.v1.MeshCertificates desiredMeshCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> desiredMeshCertificatesBuilder_; + com.google.container.v1.MeshCertificates, + com.google.container.v1.MeshCertificates.Builder, + com.google.container.v1.MeshCertificatesOrBuilder> + desiredMeshCertificatesBuilder_; /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; + * * @return Whether the desiredMeshCertificates field is set. */ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificatesBuilder_ != null || desiredMeshCertificates_ != null; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; + * * @return The desiredMeshCertificates. */ public com.google.container.v1.MeshCertificates getDesiredMeshCertificates() { if (desiredMeshCertificatesBuilder_ == null) { - return desiredMeshCertificates_ == null ? com.google.container.v1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; + return desiredMeshCertificates_ == null + ? com.google.container.v1.MeshCertificates.getDefaultInstance() + : desiredMeshCertificates_; } else { return desiredMeshCertificatesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4225,6 +4825,8 @@ public Builder setDesiredMeshCertificates(com.google.container.v1.MeshCertificat
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4244,6 +4846,8 @@ public Builder setDesiredMeshCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4255,7 +4859,9 @@ public Builder mergeDesiredMeshCertificates(com.google.container.v1.MeshCertific
       if (desiredMeshCertificatesBuilder_ == null) {
         if (desiredMeshCertificates_ != null) {
           desiredMeshCertificates_ =
-            com.google.container.v1.MeshCertificates.newBuilder(desiredMeshCertificates_).mergeFrom(value).buildPartial();
+              com.google.container.v1.MeshCertificates.newBuilder(desiredMeshCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           desiredMeshCertificates_ = value;
         }
@@ -4267,6 +4873,8 @@ public Builder mergeDesiredMeshCertificates(com.google.container.v1.MeshCertific
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4286,6 +4894,8 @@ public Builder clearDesiredMeshCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4294,11 +4904,13 @@ public Builder clearDesiredMeshCertificates() {
      * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
      */
     public com.google.container.v1.MeshCertificates.Builder getDesiredMeshCertificatesBuilder() {
-      
+
       onChanged();
       return getDesiredMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4310,11 +4922,14 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
       if (desiredMeshCertificatesBuilder_ != null) {
         return desiredMeshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return desiredMeshCertificates_ == null ?
-            com.google.container.v1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_;
+        return desiredMeshCertificates_ == null
+            ? com.google.container.v1.MeshCertificates.getDefaultInstance()
+            : desiredMeshCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -4323,14 +4938,17 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
      * .google.container.v1.MeshCertificates desired_mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder> 
+            com.google.container.v1.MeshCertificates,
+            com.google.container.v1.MeshCertificates.Builder,
+            com.google.container.v1.MeshCertificatesOrBuilder>
         getDesiredMeshCertificatesFieldBuilder() {
       if (desiredMeshCertificatesBuilder_ == null) {
-        desiredMeshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MeshCertificates, com.google.container.v1.MeshCertificates.Builder, com.google.container.v1.MeshCertificatesOrBuilder>(
-                getDesiredMeshCertificates(),
-                getParentForChildren(),
-                isClean());
+        desiredMeshCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.MeshCertificates,
+                com.google.container.v1.MeshCertificates.Builder,
+                com.google.container.v1.MeshCertificatesOrBuilder>(
+                getDesiredMeshCertificates(), getParentForChildren(), isClean());
         desiredMeshCertificates_ = null;
       }
       return desiredMeshCertificatesBuilder_;
@@ -4338,34 +4956,47 @@ public com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertifica
 
     private com.google.container.v1.ShieldedNodes desiredShieldedNodes_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> desiredShieldedNodesBuilder_;
+            com.google.container.v1.ShieldedNodes,
+            com.google.container.v1.ShieldedNodes.Builder,
+            com.google.container.v1.ShieldedNodesOrBuilder>
+        desiredShieldedNodesBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; + * * @return Whether the desiredShieldedNodes field is set. */ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodesBuilder_ != null || desiredShieldedNodes_ != null; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; + * * @return The desiredShieldedNodes. */ public com.google.container.v1.ShieldedNodes getDesiredShieldedNodes() { if (desiredShieldedNodesBuilder_ == null) { - return desiredShieldedNodes_ == null ? com.google.container.v1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; + return desiredShieldedNodes_ == null + ? com.google.container.v1.ShieldedNodes.getDefaultInstance() + : desiredShieldedNodes_; } else { return desiredShieldedNodesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -4386,6 +5017,8 @@ public Builder setDesiredShieldedNodes(com.google.container.v1.ShieldedNodes val return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -4404,6 +5037,8 @@ public Builder setDesiredShieldedNodes( return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -4414,7 +5049,9 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1.ShieldedNodes v if (desiredShieldedNodesBuilder_ == null) { if (desiredShieldedNodes_ != null) { desiredShieldedNodes_ = - com.google.container.v1.ShieldedNodes.newBuilder(desiredShieldedNodes_).mergeFrom(value).buildPartial(); + com.google.container.v1.ShieldedNodes.newBuilder(desiredShieldedNodes_) + .mergeFrom(value) + .buildPartial(); } else { desiredShieldedNodes_ = value; } @@ -4426,6 +5063,8 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1.ShieldedNodes v return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -4444,6 +5083,8 @@ public Builder clearDesiredShieldedNodes() { return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -4451,11 +5092,13 @@ public Builder clearDesiredShieldedNodes() { * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; */ public com.google.container.v1.ShieldedNodes.Builder getDesiredShieldedNodesBuilder() { - + onChanged(); return getDesiredShieldedNodesFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -4466,11 +5109,14 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB if (desiredShieldedNodesBuilder_ != null) { return desiredShieldedNodesBuilder_.getMessageOrBuilder(); } else { - return desiredShieldedNodes_ == null ? - com.google.container.v1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; + return desiredShieldedNodes_ == null + ? com.google.container.v1.ShieldedNodes.getDefaultInstance() + : desiredShieldedNodes_; } } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -4478,14 +5124,17 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder> + com.google.container.v1.ShieldedNodes, + com.google.container.v1.ShieldedNodes.Builder, + com.google.container.v1.ShieldedNodesOrBuilder> getDesiredShieldedNodesFieldBuilder() { if (desiredShieldedNodesBuilder_ == null) { - desiredShieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedNodes, com.google.container.v1.ShieldedNodes.Builder, com.google.container.v1.ShieldedNodesOrBuilder>( - getDesiredShieldedNodes(), - getParentForChildren(), - isClean()); + desiredShieldedNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedNodes, + com.google.container.v1.ShieldedNodes.Builder, + com.google.container.v1.ShieldedNodesOrBuilder>( + getDesiredShieldedNodes(), getParentForChildren(), isClean()); desiredShieldedNodes_ = null; } return desiredShieldedNodesBuilder_; @@ -4493,41 +5142,55 @@ public com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrB private com.google.container.v1.CostManagementConfig desiredCostManagementConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> desiredCostManagementConfigBuilder_; + com.google.container.v1.CostManagementConfig, + com.google.container.v1.CostManagementConfig.Builder, + com.google.container.v1.CostManagementConfigOrBuilder> + desiredCostManagementConfigBuilder_; /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; + * * @return Whether the desiredCostManagementConfig field is set. */ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfigBuilder_ != null || desiredCostManagementConfig_ != null; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; + * * @return The desiredCostManagementConfig. */ public com.google.container.v1.CostManagementConfig getDesiredCostManagementConfig() { if (desiredCostManagementConfigBuilder_ == null) { - return desiredCostManagementConfig_ == null ? com.google.container.v1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null + ? com.google.container.v1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; } else { return desiredCostManagementConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public Builder setDesiredCostManagementConfig(com.google.container.v1.CostManagementConfig value) { + public Builder setDesiredCostManagementConfig( + com.google.container.v1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4541,6 +5204,8 @@ public Builder setDesiredCostManagementConfig(com.google.container.v1.CostManage return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
@@ -4559,17 +5224,22 @@ public Builder setDesiredCostManagementConfig( return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public Builder mergeDesiredCostManagementConfig(com.google.container.v1.CostManagementConfig value) { + public Builder mergeDesiredCostManagementConfig( + com.google.container.v1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (desiredCostManagementConfig_ != null) { desiredCostManagementConfig_ = - com.google.container.v1.CostManagementConfig.newBuilder(desiredCostManagementConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.CostManagementConfig.newBuilder(desiredCostManagementConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredCostManagementConfig_ = value; } @@ -4581,6 +5251,8 @@ public Builder mergeDesiredCostManagementConfig(com.google.container.v1.CostMana return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
@@ -4599,33 +5271,42 @@ public Builder clearDesiredCostManagementConfig() { return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public com.google.container.v1.CostManagementConfig.Builder getDesiredCostManagementConfigBuilder() { - + public com.google.container.v1.CostManagementConfig.Builder + getDesiredCostManagementConfigBuilder() { + onChanged(); return getDesiredCostManagementConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ - public com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder() { if (desiredCostManagementConfigBuilder_ != null) { return desiredCostManagementConfigBuilder_.getMessageOrBuilder(); } else { - return desiredCostManagementConfig_ == null ? - com.google.container.v1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null + ? com.google.container.v1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; } } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
@@ -4633,14 +5314,17 @@ public com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManag * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder> + com.google.container.v1.CostManagementConfig, + com.google.container.v1.CostManagementConfig.Builder, + com.google.container.v1.CostManagementConfigOrBuilder> getDesiredCostManagementConfigFieldBuilder() { if (desiredCostManagementConfigBuilder_ == null) { - desiredCostManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.CostManagementConfig, com.google.container.v1.CostManagementConfig.Builder, com.google.container.v1.CostManagementConfigOrBuilder>( - getDesiredCostManagementConfig(), - getParentForChildren(), - isClean()); + desiredCostManagementConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.CostManagementConfig, + com.google.container.v1.CostManagementConfig.Builder, + com.google.container.v1.CostManagementConfigOrBuilder>( + getDesiredCostManagementConfig(), getParentForChildren(), isClean()); desiredCostManagementConfig_ = null; } return desiredCostManagementConfigBuilder_; @@ -4648,34 +5332,47 @@ public com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManag private com.google.container.v1.DNSConfig desiredDnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> desiredDnsConfigBuilder_; + com.google.container.v1.DNSConfig, + com.google.container.v1.DNSConfig.Builder, + com.google.container.v1.DNSConfigOrBuilder> + desiredDnsConfigBuilder_; /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; + * * @return Whether the desiredDnsConfig field is set. */ public boolean hasDesiredDnsConfig() { return desiredDnsConfigBuilder_ != null || desiredDnsConfig_ != null; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; + * * @return The desiredDnsConfig. */ public com.google.container.v1.DNSConfig getDesiredDnsConfig() { if (desiredDnsConfigBuilder_ == null) { - return desiredDnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; + return desiredDnsConfig_ == null + ? com.google.container.v1.DNSConfig.getDefaultInstance() + : desiredDnsConfig_; } else { return desiredDnsConfigBuilder_.getMessage(); } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -4696,14 +5393,15 @@ public Builder setDesiredDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; */ - public Builder setDesiredDnsConfig( - com.google.container.v1.DNSConfig.Builder builderForValue) { + public Builder setDesiredDnsConfig(com.google.container.v1.DNSConfig.Builder builderForValue) { if (desiredDnsConfigBuilder_ == null) { desiredDnsConfig_ = builderForValue.build(); onChanged(); @@ -4714,6 +5412,8 @@ public Builder setDesiredDnsConfig( return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -4724,7 +5424,9 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1.DNSConfig value) { if (desiredDnsConfigBuilder_ == null) { if (desiredDnsConfig_ != null) { desiredDnsConfig_ = - com.google.container.v1.DNSConfig.newBuilder(desiredDnsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.DNSConfig.newBuilder(desiredDnsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredDnsConfig_ = value; } @@ -4736,6 +5438,8 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -4754,6 +5458,8 @@ public Builder clearDesiredDnsConfig() { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -4761,11 +5467,13 @@ public Builder clearDesiredDnsConfig() { * .google.container.v1.DNSConfig desired_dns_config = 53; */ public com.google.container.v1.DNSConfig.Builder getDesiredDnsConfigBuilder() { - + onChanged(); return getDesiredDnsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -4776,11 +5484,14 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() if (desiredDnsConfigBuilder_ != null) { return desiredDnsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredDnsConfig_ == null ? - com.google.container.v1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; + return desiredDnsConfig_ == null + ? com.google.container.v1.DNSConfig.getDefaultInstance() + : desiredDnsConfig_; } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -4788,14 +5499,17 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() * .google.container.v1.DNSConfig desired_dns_config = 53; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> + com.google.container.v1.DNSConfig, + com.google.container.v1.DNSConfig.Builder, + com.google.container.v1.DNSConfigOrBuilder> getDesiredDnsConfigFieldBuilder() { if (desiredDnsConfigBuilder_ == null) { - desiredDnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder>( - getDesiredDnsConfig(), - getParentForChildren(), - isClean()); + desiredDnsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DNSConfig, + com.google.container.v1.DNSConfig.Builder, + com.google.container.v1.DNSConfigOrBuilder>( + getDesiredDnsConfig(), getParentForChildren(), isClean()); desiredDnsConfig_ = null; } return desiredDnsConfigBuilder_; @@ -4803,8 +5517,13 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder() private com.google.container.v1.NodePoolAutoscaling desiredNodePoolAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> desiredNodePoolAutoscalingBuilder_; + com.google.container.v1.NodePoolAutoscaling, + com.google.container.v1.NodePoolAutoscaling.Builder, + com.google.container.v1.NodePoolAutoscalingOrBuilder> + desiredNodePoolAutoscalingBuilder_; /** + * + * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4813,12 +5532,15 @@ public com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder()
      * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return Whether the desiredNodePoolAutoscaling field is set. */ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscalingBuilder_ != null || desiredNodePoolAutoscaling_ != null; } /** + * + * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4827,16 +5549,21 @@ public boolean hasDesiredNodePoolAutoscaling() {
      * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return The desiredNodePoolAutoscaling. */ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { if (desiredNodePoolAutoscalingBuilder_ == null) { - return desiredNodePoolAutoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null + ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() + : desiredNodePoolAutoscaling_; } else { return desiredNodePoolAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4846,7 +5573,8 @@ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder setDesiredNodePoolAutoscaling(com.google.container.v1.NodePoolAutoscaling value) {
+    public Builder setDesiredNodePoolAutoscaling(
+        com.google.container.v1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4860,6 +5588,8 @@ public Builder setDesiredNodePoolAutoscaling(com.google.container.v1.NodePoolAut
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4881,6 +5611,8 @@ public Builder setDesiredNodePoolAutoscaling(
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4890,11 +5622,14 @@ public Builder setDesiredNodePoolAutoscaling(
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder mergeDesiredNodePoolAutoscaling(com.google.container.v1.NodePoolAutoscaling value) {
+    public Builder mergeDesiredNodePoolAutoscaling(
+        com.google.container.v1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (desiredNodePoolAutoscaling_ != null) {
           desiredNodePoolAutoscaling_ =
-            com.google.container.v1.NodePoolAutoscaling.newBuilder(desiredNodePoolAutoscaling_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodePoolAutoscaling.newBuilder(desiredNodePoolAutoscaling_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           desiredNodePoolAutoscaling_ = value;
         }
@@ -4906,6 +5641,8 @@ public Builder mergeDesiredNodePoolAutoscaling(com.google.container.v1.NodePoolA
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4927,6 +5664,8 @@ public Builder clearDesiredNodePoolAutoscaling() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4936,12 +5675,15 @@ public Builder clearDesiredNodePoolAutoscaling() {
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1.NodePoolAutoscaling.Builder getDesiredNodePoolAutoscalingBuilder() {
-      
+    public com.google.container.v1.NodePoolAutoscaling.Builder
+        getDesiredNodePoolAutoscalingBuilder() {
+
       onChanged();
       return getDesiredNodePoolAutoscalingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4951,15 +5693,19 @@ public com.google.container.v1.NodePoolAutoscaling.Builder getDesiredNodePoolAut
      *
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
+    public com.google.container.v1.NodePoolAutoscalingOrBuilder
+        getDesiredNodePoolAutoscalingOrBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ != null) {
         return desiredNodePoolAutoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return desiredNodePoolAutoscaling_ == null ?
-            com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_;
+        return desiredNodePoolAutoscaling_ == null
+            ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance()
+            : desiredNodePoolAutoscaling_;
       }
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4970,27 +5716,34 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAu
      * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> 
+            com.google.container.v1.NodePoolAutoscaling,
+            com.google.container.v1.NodePoolAutoscaling.Builder,
+            com.google.container.v1.NodePoolAutoscalingOrBuilder>
         getDesiredNodePoolAutoscalingFieldBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
-        desiredNodePoolAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder>(
-                getDesiredNodePoolAutoscaling(),
-                getParentForChildren(),
-                isClean());
+        desiredNodePoolAutoscalingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodePoolAutoscaling,
+                com.google.container.v1.NodePoolAutoscaling.Builder,
+                com.google.container.v1.NodePoolAutoscalingOrBuilder>(
+                getDesiredNodePoolAutoscaling(), getParentForChildren(), isClean());
         desiredNodePoolAutoscaling_ = null;
       }
       return desiredNodePoolAutoscalingBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList desiredLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList desiredLocations_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureDesiredLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         desiredLocations_ = new com.google.protobuf.LazyStringArrayList(desiredLocations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5001,13 +5754,15 @@ private void ensureDesiredLocationsIsMutable() {
      * 
* * repeated string desired_locations = 10; + * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList - getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { return desiredLocations_.getUnmodifiableView(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5018,12 +5773,15 @@ private void ensureDesiredLocationsIsMutable() {
      * 
* * repeated string desired_locations = 10; + * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5034,6 +5792,7 @@ public int getDesiredLocationsCount() {
      * 
* * repeated string desired_locations = 10; + * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -5041,6 +5800,8 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5051,14 +5812,16 @@ public java.lang.String getDesiredLocations(int index) {
      * 
* * repeated string desired_locations = 10; + * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString - getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5069,21 +5832,23 @@ public java.lang.String getDesiredLocations(int index) {
      * 
* * repeated string desired_locations = 10; + * * @param index The index to set the value at. * @param value The desiredLocations to set. * @return This builder for chaining. */ - public Builder setDesiredLocations( - int index, java.lang.String value) { + public Builder setDesiredLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5094,20 +5859,22 @@ public Builder setDesiredLocations(
      * 
* * repeated string desired_locations = 10; + * * @param value The desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocations( - java.lang.String value) { + public Builder addDesiredLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5118,18 +5885,19 @@ public Builder addDesiredLocations(
      * 
* * repeated string desired_locations = 10; + * * @param values The desiredLocations to add. * @return This builder for chaining. */ - public Builder addAllDesiredLocations( - java.lang.Iterable values) { + public Builder addAllDesiredLocations(java.lang.Iterable values) { ensureDesiredLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, desiredLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, desiredLocations_); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5140,6 +5908,7 @@ public Builder addAllDesiredLocations(
      * 
* * repeated string desired_locations = 10; + * * @return This builder for chaining. */ public Builder clearDesiredLocations() { @@ -5149,6 +5918,8 @@ public Builder clearDesiredLocations() { return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -5159,58 +5930,81 @@ public Builder clearDesiredLocations() {
      * 
* * repeated string desired_locations = 10; + * * @param value The bytes of the desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addDesiredLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } - private com.google.container.v1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1.MasterAuthorizedNetworksConfig + desiredMasterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> desiredMasterAuthorizedNetworksConfigBuilder_; + com.google.container.v1.MasterAuthorizedNetworksConfig, + com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> + desiredMasterAuthorizedNetworksConfigBuilder_; /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ public boolean hasDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfigBuilder_ != null || desiredMasterAuthorizedNetworksConfig_ != null; + return desiredMasterAuthorizedNetworksConfigBuilder_ != null + || desiredMasterAuthorizedNetworksConfig_ != null; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return The desiredMasterAuthorizedNetworksConfig. */ - public com.google.container.v1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { + public com.google.container.v1.MasterAuthorizedNetworksConfig + getDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null + ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : desiredMasterAuthorizedNetworksConfig_; } else { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public Builder setDesiredMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder setDesiredMasterAuthorizedNetworksConfig( + com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5224,11 +6018,15 @@ public Builder setDesiredMasterAuthorizedNetworksConfig(com.google.container.v1. return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ public Builder setDesiredMasterAuthorizedNetworksConfig( com.google.container.v1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -5242,17 +6040,25 @@ public Builder setDesiredMasterAuthorizedNetworksConfig( return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public Builder mergeDesiredMasterAuthorizedNetworksConfig(com.google.container.v1.MasterAuthorizedNetworksConfig value) { + public Builder mergeDesiredMasterAuthorizedNetworksConfig( + com.google.container.v1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (desiredMasterAuthorizedNetworksConfig_ != null) { desiredMasterAuthorizedNetworksConfig_ = - com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder(desiredMasterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder( + desiredMasterAuthorizedNetworksConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredMasterAuthorizedNetworksConfig_ = value; } @@ -5264,11 +6070,15 @@ public Builder mergeDesiredMasterAuthorizedNetworksConfig(com.google.container.v return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ public Builder clearDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { @@ -5282,48 +6092,66 @@ public Builder clearDesiredMasterAuthorizedNetworksConfig() { return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder getDesiredMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1.MasterAuthorizedNetworksConfig.Builder + getDesiredMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder + getDesiredMasterAuthorizedNetworksConfigOrBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ != null) { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMasterAuthorizedNetworksConfig_ == null ? - com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null + ? com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : desiredMasterAuthorizedNetworksConfig_; } } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1.MasterAuthorizedNetworksConfig, + com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder> getDesiredMasterAuthorizedNetworksConfigFieldBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - desiredMasterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( - getDesiredMasterAuthorizedNetworksConfig(), - getParentForChildren(), - isClean()); + desiredMasterAuthorizedNetworksConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MasterAuthorizedNetworksConfig, + com.google.container.v1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder>( + getDesiredMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); desiredMasterAuthorizedNetworksConfig_ = null; } return desiredMasterAuthorizedNetworksConfigBuilder_; @@ -5331,34 +6159,47 @@ public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesire private com.google.container.v1.ClusterAutoscaling desiredClusterAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> desiredClusterAutoscalingBuilder_; + com.google.container.v1.ClusterAutoscaling, + com.google.container.v1.ClusterAutoscaling.Builder, + com.google.container.v1.ClusterAutoscalingOrBuilder> + desiredClusterAutoscalingBuilder_; /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return Whether the desiredClusterAutoscaling field is set. */ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscalingBuilder_ != null || desiredClusterAutoscaling_ != null; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return The desiredClusterAutoscaling. */ public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() { if (desiredClusterAutoscalingBuilder_ == null) { - return desiredClusterAutoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null + ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() + : desiredClusterAutoscaling_; } else { return desiredClusterAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5379,6 +6220,8 @@ public Builder setDesiredClusterAutoscaling(com.google.container.v1.ClusterAutos return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5397,17 +6240,22 @@ public Builder setDesiredClusterAutoscaling( return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public Builder mergeDesiredClusterAutoscaling(com.google.container.v1.ClusterAutoscaling value) { + public Builder mergeDesiredClusterAutoscaling( + com.google.container.v1.ClusterAutoscaling value) { if (desiredClusterAutoscalingBuilder_ == null) { if (desiredClusterAutoscaling_ != null) { desiredClusterAutoscaling_ = - com.google.container.v1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_) + .mergeFrom(value) + .buildPartial(); } else { desiredClusterAutoscaling_ = value; } @@ -5419,6 +6267,8 @@ public Builder mergeDesiredClusterAutoscaling(com.google.container.v1.ClusterAut return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5437,33 +6287,42 @@ public Builder clearDesiredClusterAutoscaling() { return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1.ClusterAutoscaling.Builder getDesiredClusterAutoscalingBuilder() { - + public com.google.container.v1.ClusterAutoscaling.Builder + getDesiredClusterAutoscalingBuilder() { + onChanged(); return getDesiredClusterAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1.ClusterAutoscalingOrBuilder + getDesiredClusterAutoscalingOrBuilder() { if (desiredClusterAutoscalingBuilder_ != null) { return desiredClusterAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredClusterAutoscaling_ == null ? - com.google.container.v1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null + ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() + : desiredClusterAutoscaling_; } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5471,14 +6330,17 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAuto * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder> + com.google.container.v1.ClusterAutoscaling, + com.google.container.v1.ClusterAutoscaling.Builder, + com.google.container.v1.ClusterAutoscalingOrBuilder> getDesiredClusterAutoscalingFieldBuilder() { if (desiredClusterAutoscalingBuilder_ == null) { - desiredClusterAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterAutoscaling, com.google.container.v1.ClusterAutoscaling.Builder, com.google.container.v1.ClusterAutoscalingOrBuilder>( - getDesiredClusterAutoscaling(), - getParentForChildren(), - isClean()); + desiredClusterAutoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ClusterAutoscaling, + com.google.container.v1.ClusterAutoscaling.Builder, + com.google.container.v1.ClusterAutoscalingOrBuilder>( + getDesiredClusterAutoscaling(), getParentForChildren(), isClean()); desiredClusterAutoscaling_ = null; } return desiredClusterAutoscalingBuilder_; @@ -5486,41 +6348,55 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAuto private com.google.container.v1.BinaryAuthorization desiredBinaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> desiredBinaryAuthorizationBuilder_; + com.google.container.v1.BinaryAuthorization, + com.google.container.v1.BinaryAuthorization.Builder, + com.google.container.v1.BinaryAuthorizationOrBuilder> + desiredBinaryAuthorizationBuilder_; /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; + * * @return Whether the desiredBinaryAuthorization field is set. */ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorizationBuilder_ != null || desiredBinaryAuthorization_ != null; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; + * * @return The desiredBinaryAuthorization. */ public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization() { if (desiredBinaryAuthorizationBuilder_ == null) { - return desiredBinaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null + ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() + : desiredBinaryAuthorization_; } else { return desiredBinaryAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder setDesiredBinaryAuthorization(com.google.container.v1.BinaryAuthorization value) { + public Builder setDesiredBinaryAuthorization( + com.google.container.v1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5534,6 +6410,8 @@ public Builder setDesiredBinaryAuthorization(com.google.container.v1.BinaryAutho return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -5552,17 +6430,22 @@ public Builder setDesiredBinaryAuthorization( return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder mergeDesiredBinaryAuthorization(com.google.container.v1.BinaryAuthorization value) { + public Builder mergeDesiredBinaryAuthorization( + com.google.container.v1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (desiredBinaryAuthorization_ != null) { desiredBinaryAuthorization_ = - com.google.container.v1.BinaryAuthorization.newBuilder(desiredBinaryAuthorization_).mergeFrom(value).buildPartial(); + com.google.container.v1.BinaryAuthorization.newBuilder(desiredBinaryAuthorization_) + .mergeFrom(value) + .buildPartial(); } else { desiredBinaryAuthorization_ = value; } @@ -5574,6 +6457,8 @@ public Builder mergeDesiredBinaryAuthorization(com.google.container.v1.BinaryAut return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -5592,33 +6477,42 @@ public Builder clearDesiredBinaryAuthorization() { return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1.BinaryAuthorization.Builder getDesiredBinaryAuthorizationBuilder() { - + public com.google.container.v1.BinaryAuthorization.Builder + getDesiredBinaryAuthorizationBuilder() { + onChanged(); return getDesiredBinaryAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1.BinaryAuthorizationOrBuilder + getDesiredBinaryAuthorizationOrBuilder() { if (desiredBinaryAuthorizationBuilder_ != null) { return desiredBinaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return desiredBinaryAuthorization_ == null ? - com.google.container.v1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null + ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() + : desiredBinaryAuthorization_; } } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -5626,14 +6520,17 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuth * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder> + com.google.container.v1.BinaryAuthorization, + com.google.container.v1.BinaryAuthorization.Builder, + com.google.container.v1.BinaryAuthorizationOrBuilder> getDesiredBinaryAuthorizationFieldBuilder() { if (desiredBinaryAuthorizationBuilder_ == null) { - desiredBinaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BinaryAuthorization, com.google.container.v1.BinaryAuthorization.Builder, com.google.container.v1.BinaryAuthorizationOrBuilder>( - getDesiredBinaryAuthorization(), - getParentForChildren(), - isClean()); + desiredBinaryAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BinaryAuthorization, + com.google.container.v1.BinaryAuthorization.Builder, + com.google.container.v1.BinaryAuthorizationOrBuilder>( + getDesiredBinaryAuthorization(), getParentForChildren(), isClean()); desiredBinaryAuthorization_ = null; } return desiredBinaryAuthorizationBuilder_; @@ -5641,6 +6538,8 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuth private java.lang.Object desiredLoggingService_ = ""; /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5654,13 +6553,13 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuth
      * 
* * string desired_logging_service = 19; + * * @return The desiredLoggingService. */ public java.lang.String getDesiredLoggingService() { java.lang.Object ref = desiredLoggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; @@ -5669,6 +6568,8 @@ public java.lang.String getDesiredLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5682,15 +6583,14 @@ public java.lang.String getDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; + * * @return The bytes for desiredLoggingService. */ - public com.google.protobuf.ByteString - getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -5698,6 +6598,8 @@ public java.lang.String getDesiredLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5711,20 +6613,22 @@ public java.lang.String getDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; + * * @param value The desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingService( - java.lang.String value) { + public Builder setDesiredLoggingService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredLoggingService_ = value; onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5738,15 +6642,18 @@ public Builder setDesiredLoggingService(
      * 
* * string desired_logging_service = 19; + * * @return This builder for chaining. */ public Builder clearDesiredLoggingService() { - + desiredLoggingService_ = getDefaultInstance().getDesiredLoggingService(); onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5760,16 +6667,16 @@ public Builder clearDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; + * * @param value The bytes for desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredLoggingServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredLoggingService_ = value; onChanged(); return this; @@ -5777,41 +6684,62 @@ public Builder setDesiredLoggingServiceBytes( private com.google.container.v1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> desiredResourceUsageExportConfigBuilder_; + com.google.container.v1.ResourceUsageExportConfig, + com.google.container.v1.ResourceUsageExportConfig.Builder, + com.google.container.v1.ResourceUsageExportConfigOrBuilder> + desiredResourceUsageExportConfigBuilder_; /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return Whether the desiredResourceUsageExportConfig field is set. */ public boolean hasDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfigBuilder_ != null || desiredResourceUsageExportConfig_ != null; + return desiredResourceUsageExportConfigBuilder_ != null + || desiredResourceUsageExportConfig_ != null; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return The desiredResourceUsageExportConfig. */ public com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { - return desiredResourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() + : desiredResourceUsageExportConfig_; } else { return desiredResourceUsageExportConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public Builder setDesiredResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { + public Builder setDesiredResourceUsageExportConfig( + com.google.container.v1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5825,11 +6753,15 @@ public Builder setDesiredResourceUsageExportConfig(com.google.container.v1.Resou return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ public Builder setDesiredResourceUsageExportConfig( com.google.container.v1.ResourceUsageExportConfig.Builder builderForValue) { @@ -5843,17 +6775,25 @@ public Builder setDesiredResourceUsageExportConfig( return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public Builder mergeDesiredResourceUsageExportConfig(com.google.container.v1.ResourceUsageExportConfig value) { + public Builder mergeDesiredResourceUsageExportConfig( + com.google.container.v1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (desiredResourceUsageExportConfig_ != null) { desiredResourceUsageExportConfig_ = - com.google.container.v1.ResourceUsageExportConfig.newBuilder(desiredResourceUsageExportConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.newBuilder( + desiredResourceUsageExportConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredResourceUsageExportConfig_ = value; } @@ -5865,11 +6805,15 @@ public Builder mergeDesiredResourceUsageExportConfig(com.google.container.v1.Res return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ public Builder clearDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { @@ -5883,48 +6827,66 @@ public Builder clearDesiredResourceUsageExportConfig() { return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public com.google.container.v1.ResourceUsageExportConfig.Builder getDesiredResourceUsageExportConfigBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.Builder + getDesiredResourceUsageExportConfigBuilder() { + onChanged(); return getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfigOrBuilder + getDesiredResourceUsageExportConfigOrBuilder() { if (desiredResourceUsageExportConfigBuilder_ != null) { return desiredResourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return desiredResourceUsageExportConfig_ == null ? - com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() + : desiredResourceUsageExportConfig_; } } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1.ResourceUsageExportConfig, + com.google.container.v1.ResourceUsageExportConfig.Builder, + com.google.container.v1.ResourceUsageExportConfigOrBuilder> getDesiredResourceUsageExportConfigFieldBuilder() { if (desiredResourceUsageExportConfigBuilder_ == null) { - desiredResourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig, com.google.container.v1.ResourceUsageExportConfig.Builder, com.google.container.v1.ResourceUsageExportConfigOrBuilder>( - getDesiredResourceUsageExportConfig(), - getParentForChildren(), - isClean()); + desiredResourceUsageExportConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig, + com.google.container.v1.ResourceUsageExportConfig.Builder, + com.google.container.v1.ResourceUsageExportConfigOrBuilder>( + getDesiredResourceUsageExportConfig(), getParentForChildren(), isClean()); desiredResourceUsageExportConfig_ = null; } return desiredResourceUsageExportConfigBuilder_; @@ -5932,41 +6894,59 @@ public com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredReso private com.google.container.v1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> desiredVerticalPodAutoscalingBuilder_; + com.google.container.v1.VerticalPodAutoscaling, + com.google.container.v1.VerticalPodAutoscaling.Builder, + com.google.container.v1.VerticalPodAutoscalingOrBuilder> + desiredVerticalPodAutoscalingBuilder_; /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return Whether the desiredVerticalPodAutoscaling field is set. */ public boolean hasDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscalingBuilder_ != null || desiredVerticalPodAutoscaling_ != null; + return desiredVerticalPodAutoscalingBuilder_ != null + || desiredVerticalPodAutoscaling_ != null; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return The desiredVerticalPodAutoscaling. */ public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null + ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() + : desiredVerticalPodAutoscaling_; } else { return desiredVerticalPodAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public Builder setDesiredVerticalPodAutoscaling(com.google.container.v1.VerticalPodAutoscaling value) { + public Builder setDesiredVerticalPodAutoscaling( + com.google.container.v1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5980,11 +6960,14 @@ public Builder setDesiredVerticalPodAutoscaling(com.google.container.v1.Vertical return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ public Builder setDesiredVerticalPodAutoscaling( com.google.container.v1.VerticalPodAutoscaling.Builder builderForValue) { @@ -5998,17 +6981,24 @@ public Builder setDesiredVerticalPodAutoscaling( return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public Builder mergeDesiredVerticalPodAutoscaling(com.google.container.v1.VerticalPodAutoscaling value) { + public Builder mergeDesiredVerticalPodAutoscaling( + com.google.container.v1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (desiredVerticalPodAutoscaling_ != null) { desiredVerticalPodAutoscaling_ = - com.google.container.v1.VerticalPodAutoscaling.newBuilder(desiredVerticalPodAutoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1.VerticalPodAutoscaling.newBuilder( + desiredVerticalPodAutoscaling_) + .mergeFrom(value) + .buildPartial(); } else { desiredVerticalPodAutoscaling_ = value; } @@ -6020,11 +7010,14 @@ public Builder mergeDesiredVerticalPodAutoscaling(com.google.container.v1.Vertic return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ public Builder clearDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { @@ -6038,48 +7031,63 @@ public Builder clearDesiredVerticalPodAutoscaling() { return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public com.google.container.v1.VerticalPodAutoscaling.Builder getDesiredVerticalPodAutoscalingBuilder() { - + public com.google.container.v1.VerticalPodAutoscaling.Builder + getDesiredVerticalPodAutoscalingBuilder() { + onChanged(); return getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1.VerticalPodAutoscalingOrBuilder + getDesiredVerticalPodAutoscalingOrBuilder() { if (desiredVerticalPodAutoscalingBuilder_ != null) { return desiredVerticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredVerticalPodAutoscaling_ == null ? - com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null + ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() + : desiredVerticalPodAutoscaling_; } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1.VerticalPodAutoscaling, + com.google.container.v1.VerticalPodAutoscaling.Builder, + com.google.container.v1.VerticalPodAutoscalingOrBuilder> getDesiredVerticalPodAutoscalingFieldBuilder() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - desiredVerticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VerticalPodAutoscaling, com.google.container.v1.VerticalPodAutoscaling.Builder, com.google.container.v1.VerticalPodAutoscalingOrBuilder>( - getDesiredVerticalPodAutoscaling(), - getParentForChildren(), - isClean()); + desiredVerticalPodAutoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VerticalPodAutoscaling, + com.google.container.v1.VerticalPodAutoscaling.Builder, + com.google.container.v1.VerticalPodAutoscalingOrBuilder>( + getDesiredVerticalPodAutoscaling(), getParentForChildren(), isClean()); desiredVerticalPodAutoscaling_ = null; } return desiredVerticalPodAutoscalingBuilder_; @@ -6087,41 +7095,55 @@ public com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVertica private com.google.container.v1.PrivateClusterConfig desiredPrivateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> desiredPrivateClusterConfigBuilder_; + com.google.container.v1.PrivateClusterConfig, + com.google.container.v1.PrivateClusterConfig.Builder, + com.google.container.v1.PrivateClusterConfigOrBuilder> + desiredPrivateClusterConfigBuilder_; /** + * + * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; + * * @return Whether the desiredPrivateClusterConfig field is set. */ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfigBuilder_ != null || desiredPrivateClusterConfig_ != null; } /** + * + * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; + * * @return The desiredPrivateClusterConfig. */ public com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConfig() { if (desiredPrivateClusterConfigBuilder_ == null) { - return desiredPrivateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null + ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() + : desiredPrivateClusterConfig_; } else { return desiredPrivateClusterConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public Builder setDesiredPrivateClusterConfig(com.google.container.v1.PrivateClusterConfig value) { + public Builder setDesiredPrivateClusterConfig( + com.google.container.v1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6135,6 +7157,8 @@ public Builder setDesiredPrivateClusterConfig(com.google.container.v1.PrivateClu return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
@@ -6153,17 +7177,22 @@ public Builder setDesiredPrivateClusterConfig( return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public Builder mergeDesiredPrivateClusterConfig(com.google.container.v1.PrivateClusterConfig value) { + public Builder mergeDesiredPrivateClusterConfig( + com.google.container.v1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (desiredPrivateClusterConfig_ != null) { desiredPrivateClusterConfig_ = - com.google.container.v1.PrivateClusterConfig.newBuilder(desiredPrivateClusterConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.PrivateClusterConfig.newBuilder(desiredPrivateClusterConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredPrivateClusterConfig_ = value; } @@ -6175,6 +7204,8 @@ public Builder mergeDesiredPrivateClusterConfig(com.google.container.v1.PrivateC return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
@@ -6193,33 +7224,42 @@ public Builder clearDesiredPrivateClusterConfig() { return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public com.google.container.v1.PrivateClusterConfig.Builder getDesiredPrivateClusterConfigBuilder() { - + public com.google.container.v1.PrivateClusterConfig.Builder + getDesiredPrivateClusterConfigBuilder() { + onChanged(); return getDesiredPrivateClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired private cluster configuration.
      * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ - public com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1.PrivateClusterConfigOrBuilder + getDesiredPrivateClusterConfigOrBuilder() { if (desiredPrivateClusterConfigBuilder_ != null) { return desiredPrivateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return desiredPrivateClusterConfig_ == null ? - com.google.container.v1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null + ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() + : desiredPrivateClusterConfig_; } } /** + * + * *
      * The desired private cluster configuration.
      * 
@@ -6227,14 +7267,17 @@ public com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateCl * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder> + com.google.container.v1.PrivateClusterConfig, + com.google.container.v1.PrivateClusterConfig.Builder, + com.google.container.v1.PrivateClusterConfigOrBuilder> getDesiredPrivateClusterConfigFieldBuilder() { if (desiredPrivateClusterConfigBuilder_ == null) { - desiredPrivateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterConfig, com.google.container.v1.PrivateClusterConfig.Builder, com.google.container.v1.PrivateClusterConfigOrBuilder>( - getDesiredPrivateClusterConfig(), - getParentForChildren(), - isClean()); + desiredPrivateClusterConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.PrivateClusterConfig, + com.google.container.v1.PrivateClusterConfig.Builder, + com.google.container.v1.PrivateClusterConfigOrBuilder>( + getDesiredPrivateClusterConfig(), getParentForChildren(), isClean()); desiredPrivateClusterConfig_ = null; } return desiredPrivateClusterConfigBuilder_; @@ -6242,41 +7285,62 @@ public com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateCl private com.google.container.v1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IntraNodeVisibilityConfig, com.google.container.v1.IntraNodeVisibilityConfig.Builder, com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> desiredIntraNodeVisibilityConfigBuilder_; + com.google.container.v1.IntraNodeVisibilityConfig, + com.google.container.v1.IntraNodeVisibilityConfig.Builder, + com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> + desiredIntraNodeVisibilityConfigBuilder_; /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ public boolean hasDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfigBuilder_ != null || desiredIntraNodeVisibilityConfig_ != null; + return desiredIntraNodeVisibilityConfigBuilder_ != null + || desiredIntraNodeVisibilityConfig_ != null; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return The desiredIntraNodeVisibilityConfig. */ public com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null + ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() + : desiredIntraNodeVisibilityConfig_; } else { return desiredIntraNodeVisibilityConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public Builder setDesiredIntraNodeVisibilityConfig(com.google.container.v1.IntraNodeVisibilityConfig value) { + public Builder setDesiredIntraNodeVisibilityConfig( + com.google.container.v1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6290,11 +7354,15 @@ public Builder setDesiredIntraNodeVisibilityConfig(com.google.container.v1.Intra return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ public Builder setDesiredIntraNodeVisibilityConfig( com.google.container.v1.IntraNodeVisibilityConfig.Builder builderForValue) { @@ -6308,17 +7376,25 @@ public Builder setDesiredIntraNodeVisibilityConfig( return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public Builder mergeDesiredIntraNodeVisibilityConfig(com.google.container.v1.IntraNodeVisibilityConfig value) { + public Builder mergeDesiredIntraNodeVisibilityConfig( + com.google.container.v1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (desiredIntraNodeVisibilityConfig_ != null) { desiredIntraNodeVisibilityConfig_ = - com.google.container.v1.IntraNodeVisibilityConfig.newBuilder(desiredIntraNodeVisibilityConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.IntraNodeVisibilityConfig.newBuilder( + desiredIntraNodeVisibilityConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredIntraNodeVisibilityConfig_ = value; } @@ -6330,11 +7406,15 @@ public Builder mergeDesiredIntraNodeVisibilityConfig(com.google.container.v1.Int return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ public Builder clearDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { @@ -6348,48 +7428,66 @@ public Builder clearDesiredIntraNodeVisibilityConfig() { return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public com.google.container.v1.IntraNodeVisibilityConfig.Builder getDesiredIntraNodeVisibilityConfigBuilder() { - + public com.google.container.v1.IntraNodeVisibilityConfig.Builder + getDesiredIntraNodeVisibilityConfigBuilder() { + onChanged(); return getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder + getDesiredIntraNodeVisibilityConfigOrBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ != null) { return desiredIntraNodeVisibilityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIntraNodeVisibilityConfig_ == null ? - com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null + ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() + : desiredIntraNodeVisibilityConfig_; } } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IntraNodeVisibilityConfig, com.google.container.v1.IntraNodeVisibilityConfig.Builder, com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> + com.google.container.v1.IntraNodeVisibilityConfig, + com.google.container.v1.IntraNodeVisibilityConfig.Builder, + com.google.container.v1.IntraNodeVisibilityConfigOrBuilder> getDesiredIntraNodeVisibilityConfigFieldBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - desiredIntraNodeVisibilityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IntraNodeVisibilityConfig, com.google.container.v1.IntraNodeVisibilityConfig.Builder, com.google.container.v1.IntraNodeVisibilityConfigOrBuilder>( - getDesiredIntraNodeVisibilityConfig(), - getParentForChildren(), - isClean()); + desiredIntraNodeVisibilityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IntraNodeVisibilityConfig, + com.google.container.v1.IntraNodeVisibilityConfig.Builder, + com.google.container.v1.IntraNodeVisibilityConfigOrBuilder>( + getDesiredIntraNodeVisibilityConfig(), getParentForChildren(), isClean()); desiredIntraNodeVisibilityConfig_ = null; } return desiredIntraNodeVisibilityConfigBuilder_; @@ -6397,34 +7495,47 @@ public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntr private com.google.container.v1.DefaultSnatStatus desiredDefaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> desiredDefaultSnatStatusBuilder_; + com.google.container.v1.DefaultSnatStatus, + com.google.container.v1.DefaultSnatStatus.Builder, + com.google.container.v1.DefaultSnatStatusOrBuilder> + desiredDefaultSnatStatusBuilder_; /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return Whether the desiredDefaultSnatStatus field is set. */ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatusBuilder_ != null || desiredDefaultSnatStatus_ != null; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return The desiredDefaultSnatStatus. */ public com.google.container.v1.DefaultSnatStatus getDesiredDefaultSnatStatus() { if (desiredDefaultSnatStatusBuilder_ == null) { - return desiredDefaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null + ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() + : desiredDefaultSnatStatus_; } else { return desiredDefaultSnatStatusBuilder_.getMessage(); } } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6445,6 +7556,8 @@ public Builder setDesiredDefaultSnatStatus(com.google.container.v1.DefaultSnatSt return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6463,6 +7576,8 @@ public Builder setDesiredDefaultSnatStatus( return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6473,7 +7588,9 @@ public Builder mergeDesiredDefaultSnatStatus(com.google.container.v1.DefaultSnat if (desiredDefaultSnatStatusBuilder_ == null) { if (desiredDefaultSnatStatus_ != null) { desiredDefaultSnatStatus_ = - com.google.container.v1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_).mergeFrom(value).buildPartial(); + com.google.container.v1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_) + .mergeFrom(value) + .buildPartial(); } else { desiredDefaultSnatStatus_ = value; } @@ -6485,6 +7602,8 @@ public Builder mergeDesiredDefaultSnatStatus(com.google.container.v1.DefaultSnat return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6503,6 +7622,8 @@ public Builder clearDesiredDefaultSnatStatus() { return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6510,26 +7631,32 @@ public Builder clearDesiredDefaultSnatStatus() { * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; */ public com.google.container.v1.DefaultSnatStatus.Builder getDesiredDefaultSnatStatusBuilder() { - + onChanged(); return getDesiredDefaultSnatStatusFieldBuilder().getBuilder(); } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; */ - public com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder() { + public com.google.container.v1.DefaultSnatStatusOrBuilder + getDesiredDefaultSnatStatusOrBuilder() { if (desiredDefaultSnatStatusBuilder_ != null) { return desiredDefaultSnatStatusBuilder_.getMessageOrBuilder(); } else { - return desiredDefaultSnatStatus_ == null ? - com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null + ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() + : desiredDefaultSnatStatus_; } } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6537,14 +7664,17 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatS * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> + com.google.container.v1.DefaultSnatStatus, + com.google.container.v1.DefaultSnatStatus.Builder, + com.google.container.v1.DefaultSnatStatusOrBuilder> getDesiredDefaultSnatStatusFieldBuilder() { if (desiredDefaultSnatStatusBuilder_ == null) { - desiredDefaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder>( - getDesiredDefaultSnatStatus(), - getParentForChildren(), - isClean()); + desiredDefaultSnatStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DefaultSnatStatus, + com.google.container.v1.DefaultSnatStatus.Builder, + com.google.container.v1.DefaultSnatStatusOrBuilder>( + getDesiredDefaultSnatStatus(), getParentForChildren(), isClean()); desiredDefaultSnatStatus_ = null; } return desiredDefaultSnatStatusBuilder_; @@ -6552,34 +7682,47 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatS private com.google.container.v1.ReleaseChannel desiredReleaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> desiredReleaseChannelBuilder_; + com.google.container.v1.ReleaseChannel, + com.google.container.v1.ReleaseChannel.Builder, + com.google.container.v1.ReleaseChannelOrBuilder> + desiredReleaseChannelBuilder_; /** + * + * *
      * The desired release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; + * * @return Whether the desiredReleaseChannel field is set. */ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannelBuilder_ != null || desiredReleaseChannel_ != null; } /** + * + * *
      * The desired release channel configuration.
      * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; + * * @return The desiredReleaseChannel. */ public com.google.container.v1.ReleaseChannel getDesiredReleaseChannel() { if (desiredReleaseChannelBuilder_ == null) { - return desiredReleaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; + return desiredReleaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : desiredReleaseChannel_; } else { return desiredReleaseChannelBuilder_.getMessage(); } } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6600,6 +7743,8 @@ public Builder setDesiredReleaseChannel(com.google.container.v1.ReleaseChannel v return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6618,6 +7763,8 @@ public Builder setDesiredReleaseChannel( return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6628,7 +7775,9 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1.ReleaseChannel if (desiredReleaseChannelBuilder_ == null) { if (desiredReleaseChannel_ != null) { desiredReleaseChannel_ = - com.google.container.v1.ReleaseChannel.newBuilder(desiredReleaseChannel_).mergeFrom(value).buildPartial(); + com.google.container.v1.ReleaseChannel.newBuilder(desiredReleaseChannel_) + .mergeFrom(value) + .buildPartial(); } else { desiredReleaseChannel_ = value; } @@ -6640,6 +7789,8 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1.ReleaseChannel return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6658,6 +7809,8 @@ public Builder clearDesiredReleaseChannel() { return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6665,11 +7818,13 @@ public Builder clearDesiredReleaseChannel() { * .google.container.v1.ReleaseChannel desired_release_channel = 31; */ public com.google.container.v1.ReleaseChannel.Builder getDesiredReleaseChannelBuilder() { - + onChanged(); return getDesiredReleaseChannelFieldBuilder().getBuilder(); } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6680,11 +7835,14 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO if (desiredReleaseChannelBuilder_ != null) { return desiredReleaseChannelBuilder_.getMessageOrBuilder(); } else { - return desiredReleaseChannel_ == null ? - com.google.container.v1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; + return desiredReleaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : desiredReleaseChannel_; } } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6692,14 +7850,17 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO * .google.container.v1.ReleaseChannel desired_release_channel = 31; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> + com.google.container.v1.ReleaseChannel, + com.google.container.v1.ReleaseChannel.Builder, + com.google.container.v1.ReleaseChannelOrBuilder> getDesiredReleaseChannelFieldBuilder() { if (desiredReleaseChannelBuilder_ == null) { - desiredReleaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder>( - getDesiredReleaseChannel(), - getParentForChildren(), - isClean()); + desiredReleaseChannelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ReleaseChannel, + com.google.container.v1.ReleaseChannel.Builder, + com.google.container.v1.ReleaseChannelOrBuilder>( + getDesiredReleaseChannel(), getParentForChildren(), isClean()); desiredReleaseChannel_ = null; } return desiredReleaseChannelBuilder_; @@ -6707,41 +7868,55 @@ public com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelO private com.google.container.v1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ILBSubsettingConfig, com.google.container.v1.ILBSubsettingConfig.Builder, com.google.container.v1.ILBSubsettingConfigOrBuilder> desiredL4IlbSubsettingConfigBuilder_; + com.google.container.v1.ILBSubsettingConfig, + com.google.container.v1.ILBSubsettingConfig.Builder, + com.google.container.v1.ILBSubsettingConfigOrBuilder> + desiredL4IlbSubsettingConfigBuilder_; /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfigBuilder_ != null || desiredL4IlbSubsettingConfig_ != null; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * * @return The desiredL4ilbSubsettingConfig. */ public com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null + ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() + : desiredL4IlbSubsettingConfig_; } else { return desiredL4IlbSubsettingConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public Builder setDesiredL4IlbSubsettingConfig(com.google.container.v1.ILBSubsettingConfig value) { + public Builder setDesiredL4IlbSubsettingConfig( + com.google.container.v1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6755,6 +7930,8 @@ public Builder setDesiredL4IlbSubsettingConfig(com.google.container.v1.ILBSubset return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
@@ -6773,17 +7950,22 @@ public Builder setDesiredL4IlbSubsettingConfig( return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public Builder mergeDesiredL4IlbSubsettingConfig(com.google.container.v1.ILBSubsettingConfig value) { + public Builder mergeDesiredL4IlbSubsettingConfig( + com.google.container.v1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (desiredL4IlbSubsettingConfig_ != null) { desiredL4IlbSubsettingConfig_ = - com.google.container.v1.ILBSubsettingConfig.newBuilder(desiredL4IlbSubsettingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.ILBSubsettingConfig.newBuilder(desiredL4IlbSubsettingConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredL4IlbSubsettingConfig_ = value; } @@ -6795,6 +7977,8 @@ public Builder mergeDesiredL4IlbSubsettingConfig(com.google.container.v1.ILBSubs return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
@@ -6813,33 +7997,42 @@ public Builder clearDesiredL4IlbSubsettingConfig() { return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public com.google.container.v1.ILBSubsettingConfig.Builder getDesiredL4IlbSubsettingConfigBuilder() { - + public com.google.container.v1.ILBSubsettingConfig.Builder + getDesiredL4IlbSubsettingConfigBuilder() { + onChanged(); return getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ - public com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1.ILBSubsettingConfigOrBuilder + getDesiredL4IlbSubsettingConfigOrBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ != null) { return desiredL4IlbSubsettingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredL4IlbSubsettingConfig_ == null ? - com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null + ? com.google.container.v1.ILBSubsettingConfig.getDefaultInstance() + : desiredL4IlbSubsettingConfig_; } } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
@@ -6847,14 +8040,17 @@ public com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubse * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ILBSubsettingConfig, com.google.container.v1.ILBSubsettingConfig.Builder, com.google.container.v1.ILBSubsettingConfigOrBuilder> + com.google.container.v1.ILBSubsettingConfig, + com.google.container.v1.ILBSubsettingConfig.Builder, + com.google.container.v1.ILBSubsettingConfigOrBuilder> getDesiredL4IlbSubsettingConfigFieldBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - desiredL4IlbSubsettingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ILBSubsettingConfig, com.google.container.v1.ILBSubsettingConfig.Builder, com.google.container.v1.ILBSubsettingConfigOrBuilder>( - getDesiredL4IlbSubsettingConfig(), - getParentForChildren(), - isClean()); + desiredL4IlbSubsettingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ILBSubsettingConfig, + com.google.container.v1.ILBSubsettingConfig.Builder, + com.google.container.v1.ILBSubsettingConfigOrBuilder>( + getDesiredL4IlbSubsettingConfig(), getParentForChildren(), isClean()); desiredL4IlbSubsettingConfig_ = null; } return desiredL4IlbSubsettingConfigBuilder_; @@ -6862,51 +8058,65 @@ public com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubse private int desiredDatapathProvider_ = 0; /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override public int getDesiredDatapathProviderValue() { + @java.lang.Override + public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @param value The enum numeric value on the wire for desiredDatapathProvider to set. * @return This builder for chaining. */ public Builder setDesiredDatapathProviderValue(int value) { - + desiredDatapathProvider_ = value; onChanged(); return this; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @return The desiredDatapathProvider. */ @java.lang.Override public com.google.container.v1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1.DatapathProvider result = + com.google.container.v1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @param value The desiredDatapathProvider to set. * @return This builder for chaining. */ @@ -6914,21 +8124,24 @@ public Builder setDesiredDatapathProvider(com.google.container.v1.DatapathProvid if (value == null) { throw new NullPointerException(); } - + desiredDatapathProvider_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @return This builder for chaining. */ public Builder clearDesiredDatapathProvider() { - + desiredDatapathProvider_ = 0; onChanged(); return this; @@ -6936,73 +8149,96 @@ public Builder clearDesiredDatapathProvider() { private int desiredPrivateIpv6GoogleAccess_ = 0; /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @param value The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setDesiredPrivateIpv6GoogleAccessValue(int value) { - + desiredPrivateIpv6GoogleAccess_ = value; onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The desiredPrivateIpv6GoogleAccess. */ @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = + com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @param value The desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setDesiredPrivateIpv6GoogleAccess(com.google.container.v1.PrivateIPv6GoogleAccess value) { + public Builder setDesiredPrivateIpv6GoogleAccess( + com.google.container.v1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + desiredPrivateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return This builder for chaining. */ public Builder clearDesiredPrivateIpv6GoogleAccess() { - + desiredPrivateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -7010,34 +8246,47 @@ public Builder clearDesiredPrivateIpv6GoogleAccess() { private com.google.container.v1.NotificationConfig desiredNotificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> desiredNotificationConfigBuilder_; + com.google.container.v1.NotificationConfig, + com.google.container.v1.NotificationConfig.Builder, + com.google.container.v1.NotificationConfigOrBuilder> + desiredNotificationConfigBuilder_; /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; + * * @return Whether the desiredNotificationConfig field is set. */ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfigBuilder_ != null || desiredNotificationConfig_ != null; } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; + * * @return The desiredNotificationConfig. */ public com.google.container.v1.NotificationConfig getDesiredNotificationConfig() { if (desiredNotificationConfigBuilder_ == null) { - return desiredNotificationConfig_ == null ? com.google.container.v1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; + return desiredNotificationConfig_ == null + ? com.google.container.v1.NotificationConfig.getDefaultInstance() + : desiredNotificationConfig_; } else { return desiredNotificationConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired notification configuration.
      * 
@@ -7058,6 +8307,8 @@ public Builder setDesiredNotificationConfig(com.google.container.v1.Notification return this; } /** + * + * *
      * The desired notification configuration.
      * 
@@ -7076,17 +8327,22 @@ public Builder setDesiredNotificationConfig( return this; } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; */ - public Builder mergeDesiredNotificationConfig(com.google.container.v1.NotificationConfig value) { + public Builder mergeDesiredNotificationConfig( + com.google.container.v1.NotificationConfig value) { if (desiredNotificationConfigBuilder_ == null) { if (desiredNotificationConfig_ != null) { desiredNotificationConfig_ = - com.google.container.v1.NotificationConfig.newBuilder(desiredNotificationConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NotificationConfig.newBuilder(desiredNotificationConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredNotificationConfig_ = value; } @@ -7098,6 +8354,8 @@ public Builder mergeDesiredNotificationConfig(com.google.container.v1.Notificati return this; } /** + * + * *
      * The desired notification configuration.
      * 
@@ -7116,33 +8374,42 @@ public Builder clearDesiredNotificationConfig() { return this; } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1.NotificationConfig.Builder getDesiredNotificationConfigBuilder() { - + public com.google.container.v1.NotificationConfig.Builder + getDesiredNotificationConfigBuilder() { + onChanged(); return getDesiredNotificationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1.NotificationConfigOrBuilder + getDesiredNotificationConfigOrBuilder() { if (desiredNotificationConfigBuilder_ != null) { return desiredNotificationConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNotificationConfig_ == null ? - com.google.container.v1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; + return desiredNotificationConfig_ == null + ? com.google.container.v1.NotificationConfig.getDefaultInstance() + : desiredNotificationConfig_; } } /** + * + * *
      * The desired notification configuration.
      * 
@@ -7150,14 +8417,17 @@ public com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificatio * .google.container.v1.NotificationConfig desired_notification_config = 55; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder> + com.google.container.v1.NotificationConfig, + com.google.container.v1.NotificationConfig.Builder, + com.google.container.v1.NotificationConfigOrBuilder> getDesiredNotificationConfigFieldBuilder() { if (desiredNotificationConfigBuilder_ == null) { - desiredNotificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig, com.google.container.v1.NotificationConfig.Builder, com.google.container.v1.NotificationConfigOrBuilder>( - getDesiredNotificationConfig(), - getParentForChildren(), - isClean()); + desiredNotificationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NotificationConfig, + com.google.container.v1.NotificationConfig.Builder, + com.google.container.v1.NotificationConfigOrBuilder>( + getDesiredNotificationConfig(), getParentForChildren(), isClean()); desiredNotificationConfig_ = null; } return desiredNotificationConfigBuilder_; @@ -7165,41 +8435,62 @@ public com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificatio private com.google.container.v1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> desiredAuthenticatorGroupsConfigBuilder_; + com.google.container.v1.AuthenticatorGroupsConfig, + com.google.container.v1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> + desiredAuthenticatorGroupsConfigBuilder_; /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ public boolean hasDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfigBuilder_ != null || desiredAuthenticatorGroupsConfig_ != null; + return desiredAuthenticatorGroupsConfigBuilder_ != null + || desiredAuthenticatorGroupsConfig_ != null; } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return The desiredAuthenticatorGroupsConfig. */ public com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null + ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() + : desiredAuthenticatorGroupsConfig_; } else { return desiredAuthenticatorGroupsConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public Builder setDesiredAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder setDesiredAuthenticatorGroupsConfig( + com.google.container.v1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7213,11 +8504,15 @@ public Builder setDesiredAuthenticatorGroupsConfig(com.google.container.v1.Authe return this; } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ public Builder setDesiredAuthenticatorGroupsConfig( com.google.container.v1.AuthenticatorGroupsConfig.Builder builderForValue) { @@ -7231,17 +8526,25 @@ public Builder setDesiredAuthenticatorGroupsConfig( return this; } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public Builder mergeDesiredAuthenticatorGroupsConfig(com.google.container.v1.AuthenticatorGroupsConfig value) { + public Builder mergeDesiredAuthenticatorGroupsConfig( + com.google.container.v1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (desiredAuthenticatorGroupsConfig_ != null) { desiredAuthenticatorGroupsConfig_ = - com.google.container.v1.AuthenticatorGroupsConfig.newBuilder(desiredAuthenticatorGroupsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.AuthenticatorGroupsConfig.newBuilder( + desiredAuthenticatorGroupsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredAuthenticatorGroupsConfig_ = value; } @@ -7253,11 +8556,15 @@ public Builder mergeDesiredAuthenticatorGroupsConfig(com.google.container.v1.Aut return this; } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ public Builder clearDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { @@ -7271,48 +8578,66 @@ public Builder clearDesiredAuthenticatorGroupsConfig() { return this; } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public com.google.container.v1.AuthenticatorGroupsConfig.Builder getDesiredAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1.AuthenticatorGroupsConfig.Builder + getDesiredAuthenticatorGroupsConfigBuilder() { + onChanged(); return getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder + getDesiredAuthenticatorGroupsConfigOrBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ != null) { return desiredAuthenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAuthenticatorGroupsConfig_ == null ? - com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null + ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() + : desiredAuthenticatorGroupsConfig_; } } /** + * + * *
      * The desired authenticator groups config for the cluster.
      * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1.AuthenticatorGroupsConfig, + com.google.container.v1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder> getDesiredAuthenticatorGroupsConfigFieldBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - desiredAuthenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AuthenticatorGroupsConfig, com.google.container.v1.AuthenticatorGroupsConfig.Builder, com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( - getDesiredAuthenticatorGroupsConfig(), - getParentForChildren(), - isClean()); + desiredAuthenticatorGroupsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AuthenticatorGroupsConfig, + com.google.container.v1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder>( + getDesiredAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); desiredAuthenticatorGroupsConfig_ = null; } return desiredAuthenticatorGroupsConfigBuilder_; @@ -7320,34 +8645,47 @@ public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getDesiredAuth private com.google.container.v1.LoggingConfig desiredLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> desiredLoggingConfigBuilder_; + com.google.container.v1.LoggingConfig, + com.google.container.v1.LoggingConfig.Builder, + com.google.container.v1.LoggingConfigOrBuilder> + desiredLoggingConfigBuilder_; /** + * + * *
      * The desired logging configuration.
      * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; + * * @return Whether the desiredLoggingConfig field is set. */ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfigBuilder_ != null || desiredLoggingConfig_ != null; } /** + * + * *
      * The desired logging configuration.
      * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; + * * @return The desiredLoggingConfig. */ public com.google.container.v1.LoggingConfig getDesiredLoggingConfig() { if (desiredLoggingConfigBuilder_ == null) { - return desiredLoggingConfig_ == null ? com.google.container.v1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; + return desiredLoggingConfig_ == null + ? com.google.container.v1.LoggingConfig.getDefaultInstance() + : desiredLoggingConfig_; } else { return desiredLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired logging configuration.
      * 
@@ -7368,6 +8706,8 @@ public Builder setDesiredLoggingConfig(com.google.container.v1.LoggingConfig val return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -7386,6 +8726,8 @@ public Builder setDesiredLoggingConfig( return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -7396,7 +8738,9 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1.LoggingConfig v if (desiredLoggingConfigBuilder_ == null) { if (desiredLoggingConfig_ != null) { desiredLoggingConfig_ = - com.google.container.v1.LoggingConfig.newBuilder(desiredLoggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.LoggingConfig.newBuilder(desiredLoggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredLoggingConfig_ = value; } @@ -7408,6 +8752,8 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1.LoggingConfig v return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -7426,6 +8772,8 @@ public Builder clearDesiredLoggingConfig() { return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -7433,11 +8781,13 @@ public Builder clearDesiredLoggingConfig() { * .google.container.v1.LoggingConfig desired_logging_config = 64; */ public com.google.container.v1.LoggingConfig.Builder getDesiredLoggingConfigBuilder() { - + onChanged(); return getDesiredLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired logging configuration.
      * 
@@ -7448,11 +8798,14 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB if (desiredLoggingConfigBuilder_ != null) { return desiredLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredLoggingConfig_ == null ? - com.google.container.v1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; + return desiredLoggingConfig_ == null + ? com.google.container.v1.LoggingConfig.getDefaultInstance() + : desiredLoggingConfig_; } } /** + * + * *
      * The desired logging configuration.
      * 
@@ -7460,14 +8813,17 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB * .google.container.v1.LoggingConfig desired_logging_config = 64; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder> + com.google.container.v1.LoggingConfig, + com.google.container.v1.LoggingConfig.Builder, + com.google.container.v1.LoggingConfigOrBuilder> getDesiredLoggingConfigFieldBuilder() { if (desiredLoggingConfigBuilder_ == null) { - desiredLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingConfig, com.google.container.v1.LoggingConfig.Builder, com.google.container.v1.LoggingConfigOrBuilder>( - getDesiredLoggingConfig(), - getParentForChildren(), - isClean()); + desiredLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingConfig, + com.google.container.v1.LoggingConfig.Builder, + com.google.container.v1.LoggingConfigOrBuilder>( + getDesiredLoggingConfig(), getParentForChildren(), isClean()); desiredLoggingConfig_ = null; } return desiredLoggingConfigBuilder_; @@ -7475,34 +8831,47 @@ public com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrB private com.google.container.v1.MonitoringConfig desiredMonitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> desiredMonitoringConfigBuilder_; + com.google.container.v1.MonitoringConfig, + com.google.container.v1.MonitoringConfig.Builder, + com.google.container.v1.MonitoringConfigOrBuilder> + desiredMonitoringConfigBuilder_; /** + * + * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; + * * @return Whether the desiredMonitoringConfig field is set. */ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfigBuilder_ != null || desiredMonitoringConfig_ != null; } /** + * + * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; + * * @return The desiredMonitoringConfig. */ public com.google.container.v1.MonitoringConfig getDesiredMonitoringConfig() { if (desiredMonitoringConfigBuilder_ == null) { - return desiredMonitoringConfig_ == null ? com.google.container.v1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null + ? com.google.container.v1.MonitoringConfig.getDefaultInstance() + : desiredMonitoringConfig_; } else { return desiredMonitoringConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -7523,6 +8892,8 @@ public Builder setDesiredMonitoringConfig(com.google.container.v1.MonitoringConf return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -7541,6 +8912,8 @@ public Builder setDesiredMonitoringConfig( return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -7551,7 +8924,9 @@ public Builder mergeDesiredMonitoringConfig(com.google.container.v1.MonitoringCo if (desiredMonitoringConfigBuilder_ == null) { if (desiredMonitoringConfig_ != null) { desiredMonitoringConfig_ = - com.google.container.v1.MonitoringConfig.newBuilder(desiredMonitoringConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.MonitoringConfig.newBuilder(desiredMonitoringConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredMonitoringConfig_ = value; } @@ -7563,6 +8938,8 @@ public Builder mergeDesiredMonitoringConfig(com.google.container.v1.MonitoringCo return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -7581,6 +8958,8 @@ public Builder clearDesiredMonitoringConfig() { return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -7588,11 +8967,13 @@ public Builder clearDesiredMonitoringConfig() { * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; */ public com.google.container.v1.MonitoringConfig.Builder getDesiredMonitoringConfigBuilder() { - + onChanged(); return getDesiredMonitoringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -7603,11 +8984,14 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon if (desiredMonitoringConfigBuilder_ != null) { return desiredMonitoringConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMonitoringConfig_ == null ? - com.google.container.v1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null + ? com.google.container.v1.MonitoringConfig.getDefaultInstance() + : desiredMonitoringConfig_; } } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -7615,14 +8999,17 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder> + com.google.container.v1.MonitoringConfig, + com.google.container.v1.MonitoringConfig.Builder, + com.google.container.v1.MonitoringConfigOrBuilder> getDesiredMonitoringConfigFieldBuilder() { if (desiredMonitoringConfigBuilder_ == null) { - desiredMonitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringConfig, com.google.container.v1.MonitoringConfig.Builder, com.google.container.v1.MonitoringConfigOrBuilder>( - getDesiredMonitoringConfig(), - getParentForChildren(), - isClean()); + desiredMonitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MonitoringConfig, + com.google.container.v1.MonitoringConfig.Builder, + com.google.container.v1.MonitoringConfigOrBuilder>( + getDesiredMonitoringConfig(), getParentForChildren(), isClean()); desiredMonitoringConfig_ = null; } return desiredMonitoringConfigBuilder_; @@ -7630,41 +9017,55 @@ public com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringCon private com.google.container.v1.IdentityServiceConfig desiredIdentityServiceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> desiredIdentityServiceConfigBuilder_; + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder> + desiredIdentityServiceConfigBuilder_; /** + * + * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * * @return Whether the desiredIdentityServiceConfig field is set. */ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfigBuilder_ != null || desiredIdentityServiceConfig_ != null; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * * @return The desiredIdentityServiceConfig. */ public com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig() { if (desiredIdentityServiceConfigBuilder_ == null) { - return desiredIdentityServiceConfig_ == null ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; } else { return desiredIdentityServiceConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public Builder setDesiredIdentityServiceConfig(com.google.container.v1.IdentityServiceConfig value) { + public Builder setDesiredIdentityServiceConfig( + com.google.container.v1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7678,6 +9079,8 @@ public Builder setDesiredIdentityServiceConfig(com.google.container.v1.IdentityS return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
@@ -7696,17 +9099,23 @@ public Builder setDesiredIdentityServiceConfig( return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public Builder mergeDesiredIdentityServiceConfig(com.google.container.v1.IdentityServiceConfig value) { + public Builder mergeDesiredIdentityServiceConfig( + com.google.container.v1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (desiredIdentityServiceConfig_ != null) { desiredIdentityServiceConfig_ = - com.google.container.v1.IdentityServiceConfig.newBuilder(desiredIdentityServiceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.IdentityServiceConfig.newBuilder( + desiredIdentityServiceConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredIdentityServiceConfig_ = value; } @@ -7718,6 +9127,8 @@ public Builder mergeDesiredIdentityServiceConfig(com.google.container.v1.Identit return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
@@ -7736,33 +9147,42 @@ public Builder clearDesiredIdentityServiceConfig() { return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public com.google.container.v1.IdentityServiceConfig.Builder getDesiredIdentityServiceConfigBuilder() { - + public com.google.container.v1.IdentityServiceConfig.Builder + getDesiredIdentityServiceConfigBuilder() { + onChanged(); return getDesiredIdentityServiceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ - public com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1.IdentityServiceConfigOrBuilder + getDesiredIdentityServiceConfigOrBuilder() { if (desiredIdentityServiceConfigBuilder_ != null) { return desiredIdentityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIdentityServiceConfig_ == null ? - com.google.container.v1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; } } /** + * + * *
      * The desired Identity Service component configuration.
      * 
@@ -7770,14 +9190,17 @@ public com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentity * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder> + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder> getDesiredIdentityServiceConfigFieldBuilder() { if (desiredIdentityServiceConfigBuilder_ == null) { - desiredIdentityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.IdentityServiceConfig, com.google.container.v1.IdentityServiceConfig.Builder, com.google.container.v1.IdentityServiceConfigOrBuilder>( - getDesiredIdentityServiceConfig(), - getParentForChildren(), - isClean()); + desiredIdentityServiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.IdentityServiceConfig, + com.google.container.v1.IdentityServiceConfig.Builder, + com.google.container.v1.IdentityServiceConfigOrBuilder>( + getDesiredIdentityServiceConfig(), getParentForChildren(), isClean()); desiredIdentityServiceConfig_ = null; } return desiredIdentityServiceConfigBuilder_; @@ -7785,44 +9208,62 @@ public com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentity private com.google.container.v1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> desiredServiceExternalIpsConfigBuilder_; + com.google.container.v1.ServiceExternalIPsConfig, + com.google.container.v1.ServiceExternalIPsConfig.Builder, + com.google.container.v1.ServiceExternalIPsConfigOrBuilder> + desiredServiceExternalIpsConfigBuilder_; /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return Whether the desiredServiceExternalIpsConfig field is set. */ public boolean hasDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfigBuilder_ != null || desiredServiceExternalIpsConfig_ != null; + return desiredServiceExternalIpsConfigBuilder_ != null + || desiredServiceExternalIpsConfig_ != null; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return The desiredServiceExternalIpsConfig. */ public com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null + ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() + : desiredServiceExternalIpsConfig_; } else { return desiredServiceExternalIpsConfigBuilder_.getMessage(); } } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public Builder setDesiredServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) { + public Builder setDesiredServiceExternalIpsConfig( + com.google.container.v1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7836,12 +9277,15 @@ public Builder setDesiredServiceExternalIpsConfig(com.google.container.v1.Servic return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ public Builder setDesiredServiceExternalIpsConfig( com.google.container.v1.ServiceExternalIPsConfig.Builder builderForValue) { @@ -7855,18 +9299,25 @@ public Builder setDesiredServiceExternalIpsConfig( return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public Builder mergeDesiredServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) { + public Builder mergeDesiredServiceExternalIpsConfig( + com.google.container.v1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (desiredServiceExternalIpsConfig_ != null) { desiredServiceExternalIpsConfig_ = - com.google.container.v1.ServiceExternalIPsConfig.newBuilder(desiredServiceExternalIpsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.ServiceExternalIPsConfig.newBuilder( + desiredServiceExternalIpsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredServiceExternalIpsConfig_ = value; } @@ -7878,12 +9329,15 @@ public Builder mergeDesiredServiceExternalIpsConfig(com.google.container.v1.Serv return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ public Builder clearDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { @@ -7897,63 +9351,81 @@ public Builder clearDesiredServiceExternalIpsConfig() { return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public com.google.container.v1.ServiceExternalIPsConfig.Builder getDesiredServiceExternalIpsConfigBuilder() { - + public com.google.container.v1.ServiceExternalIPsConfig.Builder + getDesiredServiceExternalIpsConfigBuilder() { + onChanged(); return getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1.ServiceExternalIPsConfigOrBuilder + getDesiredServiceExternalIpsConfigOrBuilder() { if (desiredServiceExternalIpsConfigBuilder_ != null) { return desiredServiceExternalIpsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredServiceExternalIpsConfig_ == null ? - com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null + ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() + : desiredServiceExternalIpsConfig_; } } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> + com.google.container.v1.ServiceExternalIPsConfig, + com.google.container.v1.ServiceExternalIPsConfig.Builder, + com.google.container.v1.ServiceExternalIPsConfigOrBuilder> getDesiredServiceExternalIpsConfigFieldBuilder() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - desiredServiceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder>( - getDesiredServiceExternalIpsConfig(), - getParentForChildren(), - isClean()); + desiredServiceExternalIpsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ServiceExternalIPsConfig, + com.google.container.v1.ServiceExternalIPsConfig.Builder, + com.google.container.v1.ServiceExternalIPsConfigOrBuilder>( + getDesiredServiceExternalIpsConfig(), getParentForChildren(), isClean()); desiredServiceExternalIpsConfig_ = null; } return desiredServiceExternalIpsConfigBuilder_; } - private boolean desiredEnablePrivateEndpoint_ ; + private boolean desiredEnablePrivateEndpoint_; /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -7961,11 +9433,14 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -7973,11 +9448,14 @@ public boolean getDesiredEnablePrivateEndpoint() { return desiredEnablePrivateEndpoint_; } /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @param value The desiredEnablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -7988,11 +9466,14 @@ public Builder setDesiredEnablePrivateEndpoint(boolean value) { return this; } /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return This builder for chaining. */ public Builder clearDesiredEnablePrivateEndpoint() { @@ -8004,6 +9485,8 @@ public Builder clearDesiredEnablePrivateEndpoint() { private java.lang.Object desiredMasterVersion_ = ""; /** + * + * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -8016,13 +9499,13 @@ public Builder clearDesiredEnablePrivateEndpoint() {
      * 
* * string desired_master_version = 100; + * * @return The desiredMasterVersion. */ public java.lang.String getDesiredMasterVersion() { java.lang.Object ref = desiredMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; @@ -8031,6 +9514,8 @@ public java.lang.String getDesiredMasterVersion() { } } /** + * + * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -8043,15 +9528,14 @@ public java.lang.String getDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; + * * @return The bytes for desiredMasterVersion. */ - public com.google.protobuf.ByteString - getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -8059,6 +9543,8 @@ public java.lang.String getDesiredMasterVersion() { } } /** + * + * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -8071,20 +9557,22 @@ public java.lang.String getDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; + * * @param value The desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersion( - java.lang.String value) { + public Builder setDesiredMasterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMasterVersion_ = value; onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -8097,15 +9585,18 @@ public Builder setDesiredMasterVersion(
      * 
* * string desired_master_version = 100; + * * @return This builder for chaining. */ public Builder clearDesiredMasterVersion() { - + desiredMasterVersion_ = getDefaultInstance().getDesiredMasterVersion(); onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -8118,16 +9609,16 @@ public Builder clearDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; + * * @param value The bytes for desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredMasterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMasterVersion_ = value; onChanged(); return this; @@ -8135,34 +9626,47 @@ public Builder setDesiredMasterVersionBytes( private com.google.container.v1.GcfsConfig desiredGcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> desiredGcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> + desiredGcfsConfigBuilder_; /** + * + * *
      * The desired GCFS config for the cluster
      * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; + * * @return Whether the desiredGcfsConfig field is set. */ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfigBuilder_ != null || desiredGcfsConfig_ != null; } /** + * + * *
      * The desired GCFS config for the cluster
      * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; + * * @return The desiredGcfsConfig. */ public com.google.container.v1.GcfsConfig getDesiredGcfsConfig() { if (desiredGcfsConfigBuilder_ == null) { - return desiredGcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; + return desiredGcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : desiredGcfsConfig_; } else { return desiredGcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired GCFS config for the cluster
      * 
@@ -8183,6 +9687,8 @@ public Builder setDesiredGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** + * + * *
      * The desired GCFS config for the cluster
      * 
@@ -8201,6 +9707,8 @@ public Builder setDesiredGcfsConfig( return this; } /** + * + * *
      * The desired GCFS config for the cluster
      * 
@@ -8211,7 +9719,9 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1.GcfsConfig value) if (desiredGcfsConfigBuilder_ == null) { if (desiredGcfsConfig_ != null) { desiredGcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(desiredGcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(desiredGcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredGcfsConfig_ = value; } @@ -8223,6 +9733,8 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1.GcfsConfig value) return this; } /** + * + * *
      * The desired GCFS config for the cluster
      * 
@@ -8241,6 +9753,8 @@ public Builder clearDesiredGcfsConfig() { return this; } /** + * + * *
      * The desired GCFS config for the cluster
      * 
@@ -8248,11 +9762,13 @@ public Builder clearDesiredGcfsConfig() { * .google.container.v1.GcfsConfig desired_gcfs_config = 109; */ public com.google.container.v1.GcfsConfig.Builder getDesiredGcfsConfigBuilder() { - + onChanged(); return getDesiredGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired GCFS config for the cluster
      * 
@@ -8263,11 +9779,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder if (desiredGcfsConfigBuilder_ != null) { return desiredGcfsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGcfsConfig_ == null ? - com.google.container.v1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; + return desiredGcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : desiredGcfsConfig_; } } /** + * + * *
      * The desired GCFS config for the cluster
      * 
@@ -8275,14 +9794,17 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder * .google.container.v1.GcfsConfig desired_gcfs_config = 109; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> getDesiredGcfsConfigFieldBuilder() { if (desiredGcfsConfigBuilder_ == null) { - desiredGcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( - getDesiredGcfsConfig(), - getParentForChildren(), - isClean()); + desiredGcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder>( + getDesiredGcfsConfig(), getParentForChildren(), isClean()); desiredGcfsConfig_ = null; } return desiredGcfsConfigBuilder_; @@ -8290,44 +9812,62 @@ public com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder private com.google.container.v1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> desiredNodePoolAutoConfigNetworkTagsBuilder_; + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + desiredNodePoolAutoConfigNetworkTagsBuilder_; /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null || desiredNodePoolAutoConfigNetworkTags_ != null; + return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null + || desiredNodePoolAutoConfigNetworkTags_ != null; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return The desiredNodePoolAutoConfigNetworkTags. */ public com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; } else { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessage(); } } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public Builder setDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1.NetworkTags value) { + public Builder setDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8341,12 +9881,15 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1.N return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ public Builder setDesiredNodePoolAutoConfigNetworkTags( com.google.container.v1.NetworkTags.Builder builderForValue) { @@ -8360,18 +9903,24 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags( return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public Builder mergeDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1.NetworkTags value) { + public Builder mergeDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (desiredNodePoolAutoConfigNetworkTags_ != null) { desiredNodePoolAutoConfigNetworkTags_ = - com.google.container.v1.NetworkTags.newBuilder(desiredNodePoolAutoConfigNetworkTags_).mergeFrom(value).buildPartial(); + com.google.container.v1.NetworkTags.newBuilder(desiredNodePoolAutoConfigNetworkTags_) + .mergeFrom(value) + .buildPartial(); } else { desiredNodePoolAutoConfigNetworkTags_ = value; } @@ -8383,12 +9932,15 @@ public Builder mergeDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1 return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { @@ -8402,51 +9954,66 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public com.google.container.v1.NetworkTags.Builder getDesiredNodePoolAutoConfigNetworkTagsBuilder() { - + public com.google.container.v1.NetworkTags.Builder + getDesiredNodePoolAutoConfigNetworkTagsBuilder() { + onChanged(); return getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(); } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + public com.google.container.v1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ != null) { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolAutoConfigNetworkTags_ == null ? - com.google.container.v1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; } } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - desiredNodePoolAutoConfigNetworkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder>( - getDesiredNodePoolAutoConfigNetworkTags(), - getParentForChildren(), - isClean()); + desiredNodePoolAutoConfigNetworkTagsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder>( + getDesiredNodePoolAutoConfigNetworkTags(), getParentForChildren(), isClean()); desiredNodePoolAutoConfigNetworkTags_ = null; } return desiredNodePoolAutoConfigNetworkTagsBuilder_; @@ -8454,34 +10021,47 @@ public com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfig private com.google.container.v1.GatewayAPIConfig desiredGatewayApiConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> desiredGatewayApiConfigBuilder_; + com.google.container.v1.GatewayAPIConfig, + com.google.container.v1.GatewayAPIConfig.Builder, + com.google.container.v1.GatewayAPIConfigOrBuilder> + desiredGatewayApiConfigBuilder_; /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return Whether the desiredGatewayApiConfig field is set. */ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfigBuilder_ != null || desiredGatewayApiConfig_ != null; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return The desiredGatewayApiConfig. */ public com.google.container.v1.GatewayAPIConfig getDesiredGatewayApiConfig() { if (desiredGatewayApiConfigBuilder_ == null) { - return desiredGatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null + ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() + : desiredGatewayApiConfig_; } else { return desiredGatewayApiConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -8502,6 +10082,8 @@ public Builder setDesiredGatewayApiConfig(com.google.container.v1.GatewayAPIConf return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -8520,6 +10102,8 @@ public Builder setDesiredGatewayApiConfig( return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -8530,7 +10114,9 @@ public Builder mergeDesiredGatewayApiConfig(com.google.container.v1.GatewayAPICo if (desiredGatewayApiConfigBuilder_ == null) { if (desiredGatewayApiConfig_ != null) { desiredGatewayApiConfig_ = - com.google.container.v1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredGatewayApiConfig_ = value; } @@ -8542,6 +10128,8 @@ public Builder mergeDesiredGatewayApiConfig(com.google.container.v1.GatewayAPICo return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -8560,6 +10148,8 @@ public Builder clearDesiredGatewayApiConfig() { return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -8567,11 +10157,13 @@ public Builder clearDesiredGatewayApiConfig() { * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; */ public com.google.container.v1.GatewayAPIConfig.Builder getDesiredGatewayApiConfigBuilder() { - + onChanged(); return getDesiredGatewayApiConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -8582,11 +10174,14 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon if (desiredGatewayApiConfigBuilder_ != null) { return desiredGatewayApiConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGatewayApiConfig_ == null ? - com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null + ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() + : desiredGatewayApiConfig_; } } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -8594,14 +10189,17 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> + com.google.container.v1.GatewayAPIConfig, + com.google.container.v1.GatewayAPIConfig.Builder, + com.google.container.v1.GatewayAPIConfigOrBuilder> getDesiredGatewayApiConfigFieldBuilder() { if (desiredGatewayApiConfigBuilder_ == null) { - desiredGatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder>( - getDesiredGatewayApiConfig(), - getParentForChildren(), - isClean()); + desiredGatewayApiConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GatewayAPIConfig, + com.google.container.v1.GatewayAPIConfig.Builder, + com.google.container.v1.GatewayAPIConfigOrBuilder>( + getDesiredGatewayApiConfig(), getParentForChildren(), isClean()); desiredGatewayApiConfig_ = null; } return desiredGatewayApiConfigBuilder_; @@ -8609,41 +10207,58 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiCon private com.google.container.v1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> desiredNodePoolLoggingConfigBuilder_; + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder> + desiredNodePoolLoggingConfigBuilder_; /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return Whether the desiredNodePoolLoggingConfig field is set. */ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfigBuilder_ != null || desiredNodePoolLoggingConfig_ != null; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return The desiredNodePoolLoggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : desiredNodePoolLoggingConfig_; } else { return desiredNodePoolLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public Builder setDesiredNodePoolLoggingConfig(com.google.container.v1.NodePoolLoggingConfig value) { + public Builder setDesiredNodePoolLoggingConfig( + com.google.container.v1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8657,11 +10272,14 @@ public Builder setDesiredNodePoolLoggingConfig(com.google.container.v1.NodePoolL return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ public Builder setDesiredNodePoolLoggingConfig( com.google.container.v1.NodePoolLoggingConfig.Builder builderForValue) { @@ -8675,17 +10293,24 @@ public Builder setDesiredNodePoolLoggingConfig( return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public Builder mergeDesiredNodePoolLoggingConfig(com.google.container.v1.NodePoolLoggingConfig value) { + public Builder mergeDesiredNodePoolLoggingConfig( + com.google.container.v1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (desiredNodePoolLoggingConfig_ != null) { desiredNodePoolLoggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder(desiredNodePoolLoggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder( + desiredNodePoolLoggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredNodePoolLoggingConfig_ = value; } @@ -8697,11 +10322,14 @@ public Builder mergeDesiredNodePoolLoggingConfig(com.google.container.v1.NodePoo return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ public Builder clearDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { @@ -8715,55 +10343,70 @@ public Builder clearDesiredNodePoolLoggingConfig() { return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public com.google.container.v1.NodePoolLoggingConfig.Builder getDesiredNodePoolLoggingConfigBuilder() { - + public com.google.container.v1.NodePoolLoggingConfig.Builder + getDesiredNodePoolLoggingConfigBuilder() { + onChanged(); return getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public com.google.container.v1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1.NodePoolLoggingConfigOrBuilder + getDesiredNodePoolLoggingConfigOrBuilder() { if (desiredNodePoolLoggingConfigBuilder_ != null) { return desiredNodePoolLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolLoggingConfig_ == null ? - com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : desiredNodePoolLoggingConfig_; } } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder> getDesiredNodePoolLoggingConfigFieldBuilder() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - desiredNodePoolLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getDesiredNodePoolLoggingConfig(), - getParentForChildren(), - isClean()); + desiredNodePoolLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getDesiredNodePoolLoggingConfig(), getParentForChildren(), isClean()); desiredNodePoolLoggingConfig_ = null; } return desiredNodePoolLoggingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8773,12 +10416,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ClusterUpdate) } // @@protoc_insertion_point(class_scope:google.container.v1.ClusterUpdate) private static final com.google.container.v1.ClusterUpdate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ClusterUpdate(); } @@ -8787,27 +10430,27 @@ public static com.google.container.v1.ClusterUpdate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterUpdate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterUpdate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8822,6 +10465,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ClusterUpdate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 89% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java index 63645a781307..0c5da93948d9 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ClusterUpdateOrBuilder extends +public interface ClusterUpdateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ClusterUpdate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -21,10 +39,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_version = 4; + * * @return The desiredNodeVersion. */ java.lang.String getDesiredNodeVersion(); /** + * + * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -38,12 +59,14 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_version = 4; + * * @return The bytes for desiredNodeVersion. */ - com.google.protobuf.ByteString - getDesiredNodeVersionBytes(); + com.google.protobuf.ByteString getDesiredNodeVersionBytes(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -57,10 +80,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_monitoring_service = 5; + * * @return The desiredMonitoringService. */ java.lang.String getDesiredMonitoringService(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -74,30 +100,38 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_monitoring_service = 5; + * * @return The bytes for desiredMonitoringService. */ - com.google.protobuf.ByteString - getDesiredMonitoringServiceBytes(); + com.google.protobuf.ByteString getDesiredMonitoringServiceBytes(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; + * * @return Whether the desiredAddonsConfig field is set. */ boolean hasDesiredAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1.AddonsConfig desired_addons_config = 6; + * * @return The desiredAddonsConfig. */ com.google.container.v1.AddonsConfig getDesiredAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -107,6 +141,8 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder(); /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -115,10 +151,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_pool_id = 7; + * * @return The desiredNodePoolId. */ java.lang.String getDesiredNodePoolId(); /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family" or
@@ -127,52 +166,65 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_pool_id = 7; + * * @return The bytes for desiredNodePoolId. */ - com.google.protobuf.ByteString - getDesiredNodePoolIdBytes(); + com.google.protobuf.ByteString getDesiredNodePoolIdBytes(); /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The desiredImageType. */ java.lang.String getDesiredImageType(); /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The bytes for desiredImageType. */ - com.google.protobuf.ByteString - getDesiredImageTypeBytes(); + com.google.protobuf.ByteString getDesiredImageTypeBytes(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; + * * @return Whether the desiredDatabaseEncryption field is set. */ boolean hasDesiredDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; + * * @return The desiredDatabaseEncryption. */ com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
@@ -182,53 +234,70 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder(); /** + * + * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * * @return Whether the desiredWorkloadIdentityConfig field is set. */ boolean hasDesiredWorkloadIdentityConfig(); /** + * + * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * * @return The desiredWorkloadIdentityConfig. */ com.google.container.v1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig(); /** + * + * *
    * Configuration for Workload Identity.
    * 
* * .google.container.v1.WorkloadIdentityConfig desired_workload_identity_config = 47; */ - com.google.container.v1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder(); + com.google.container.v1.WorkloadIdentityConfigOrBuilder + getDesiredWorkloadIdentityConfigOrBuilder(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; + * * @return Whether the desiredMeshCertificates field is set. */ boolean hasDesiredMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1.MeshCertificates desired_mesh_certificates = 67; + * * @return The desiredMeshCertificates. */ com.google.container.v1.MeshCertificates getDesiredMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -239,24 +308,32 @@ public interface ClusterUpdateOrBuilder extends
   com.google.container.v1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; + * * @return Whether the desiredShieldedNodes field is set. */ boolean hasDesiredShieldedNodes(); /** + * + * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1.ShieldedNodes desired_shielded_nodes = 48; + * * @return The desiredShieldedNodes. */ com.google.container.v1.ShieldedNodes getDesiredShieldedNodes(); /** + * + * *
    * Configuration for Shielded Nodes.
    * 
@@ -266,24 +343,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder(); /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; + * * @return Whether the desiredCostManagementConfig field is set. */ boolean hasDesiredCostManagementConfig(); /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1.CostManagementConfig desired_cost_management_config = 49; + * * @return The desiredCostManagementConfig. */ com.google.container.v1.CostManagementConfig getDesiredCostManagementConfig(); /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
@@ -293,24 +378,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; + * * @return Whether the desiredDnsConfig field is set. */ boolean hasDesiredDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig desired_dns_config = 53; + * * @return The desiredDnsConfig. */ com.google.container.v1.DNSConfig getDesiredDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -320,6 +413,8 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder(); /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -328,10 +423,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return Whether the desiredNodePoolAutoscaling field is set. */ boolean hasDesiredNodePoolAutoscaling(); /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -340,10 +438,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return The desiredNodePoolAutoscaling. */ com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling(); /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -356,6 +457,8 @@ public interface ClusterUpdateOrBuilder extends
   com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -366,11 +469,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @return A list containing the desiredLocations. */ - java.util.List - getDesiredLocationsList(); + java.util.List getDesiredLocationsList(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -381,10 +486,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @return The count of desiredLocations. */ int getDesiredLocationsCount(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -395,11 +503,14 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ java.lang.String getDesiredLocations(int index); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -410,58 +521,81 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - com.google.protobuf.ByteString - getDesiredLocationsBytes(int index); + com.google.protobuf.ByteString getDesiredLocationsBytes(int index); /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ boolean hasDesiredMasterAuthorizedNetworksConfig(); /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return The desiredMasterAuthorizedNetworksConfig. */ com.google.container.v1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig(); /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder + getDesiredMasterAuthorizedNetworksConfigOrBuilder(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return Whether the desiredClusterAutoscaling field is set. */ boolean hasDesiredClusterAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return The desiredClusterAutoscaling. */ com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -471,24 +605,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder(); /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; + * * @return Whether the desiredBinaryAuthorization field is set. */ boolean hasDesiredBinaryAuthorization(); /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; + * * @return The desiredBinaryAuthorization. */ com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization(); /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
@@ -498,6 +640,8 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder(); /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -511,10 +655,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_logging_service = 19; + * * @return The desiredLoggingService. */ java.lang.String getDesiredLoggingService(); /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -528,84 +675,113 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_logging_service = 19; + * * @return The bytes for desiredLoggingService. */ - com.google.protobuf.ByteString - getDesiredLoggingServiceBytes(); + com.google.protobuf.ByteString getDesiredLoggingServiceBytes(); /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return Whether the desiredResourceUsageExportConfig field is set. */ boolean hasDesiredResourceUsageExportConfig(); /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return The desiredResourceUsageExportConfig. */ com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig(); /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder(); + com.google.container.v1.ResourceUsageExportConfigOrBuilder + getDesiredResourceUsageExportConfigOrBuilder(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * * @return Whether the desiredVerticalPodAutoscaling field is set. */ boolean hasDesiredVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * * @return The desiredVerticalPodAutoscaling. */ com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ - com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder(); + com.google.container.v1.VerticalPodAutoscalingOrBuilder + getDesiredVerticalPodAutoscalingOrBuilder(); /** + * + * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; + * * @return Whether the desiredPrivateClusterConfig field is set. */ boolean hasDesiredPrivateClusterConfig(); /** + * + * *
    * The desired private cluster configuration.
    * 
* * .google.container.v1.PrivateClusterConfig desired_private_cluster_config = 25; + * * @return The desiredPrivateClusterConfig. */ com.google.container.v1.PrivateClusterConfig getDesiredPrivateClusterConfig(); /** + * + * *
    * The desired private cluster configuration.
    * 
@@ -615,51 +791,71 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder(); /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ boolean hasDesiredIntraNodeVisibilityConfig(); /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return The desiredIntraNodeVisibilityConfig. */ com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig(); /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder(); + com.google.container.v1.IntraNodeVisibilityConfigOrBuilder + getDesiredIntraNodeVisibilityConfigOrBuilder(); /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return Whether the desiredDefaultSnatStatus field is set. */ boolean hasDesiredDefaultSnatStatus(); /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return The desiredDefaultSnatStatus. */ com.google.container.v1.DefaultSnatStatus getDesiredDefaultSnatStatus(); /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -669,24 +865,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder(); /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; + * * @return Whether the desiredReleaseChannel field is set. */ boolean hasDesiredReleaseChannel(); /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1.ReleaseChannel desired_release_channel = 31; + * * @return The desiredReleaseChannel. */ com.google.container.v1.ReleaseChannel getDesiredReleaseChannel(); /** + * + * *
    * The desired release channel configuration.
    * 
@@ -696,24 +900,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder(); /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ boolean hasDesiredL4IlbSubsettingConfig(); /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* * .google.container.v1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * * @return The desiredL4ilbSubsettingConfig. */ com.google.container.v1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig(); /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
@@ -723,62 +935,84 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder(); /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @return The enum numeric value on the wire for desiredDatapathProvider. */ int getDesiredDatapathProviderValue(); /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1.DatapathProvider desired_datapath_provider = 50; + * * @return The desiredDatapathProvider. */ com.google.container.v1.DatapathProvider getDesiredDatapathProvider(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ int getDesiredPrivateIpv6GoogleAccessValue(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * .google.container.v1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The desiredPrivateIpv6GoogleAccess. */ com.google.container.v1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess(); /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; + * * @return Whether the desiredNotificationConfig field is set. */ boolean hasDesiredNotificationConfig(); /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1.NotificationConfig desired_notification_config = 55; + * * @return The desiredNotificationConfig. */ com.google.container.v1.NotificationConfig getDesiredNotificationConfig(); /** + * + * *
    * The desired notification configuration.
    * 
@@ -788,51 +1022,71 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder(); /** + * + * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ boolean hasDesiredAuthenticatorGroupsConfig(); /** + * + * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return The desiredAuthenticatorGroupsConfig. */ com.google.container.v1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig(); /** + * + * *
    * The desired authenticator groups config for the cluster.
    * 
* - * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * .google.container.v1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1.AuthenticatorGroupsConfigOrBuilder + getDesiredAuthenticatorGroupsConfigOrBuilder(); /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; + * * @return Whether the desiredLoggingConfig field is set. */ boolean hasDesiredLoggingConfig(); /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1.LoggingConfig desired_logging_config = 64; + * * @return The desiredLoggingConfig. */ com.google.container.v1.LoggingConfig getDesiredLoggingConfig(); /** + * + * *
    * The desired logging configuration.
    * 
@@ -842,24 +1096,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder(); /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; + * * @return Whether the desiredMonitoringConfig field is set. */ boolean hasDesiredMonitoringConfig(); /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1.MonitoringConfig desired_monitoring_config = 65; + * * @return The desiredMonitoringConfig. */ com.google.container.v1.MonitoringConfig getDesiredMonitoringConfig(); /** + * + * *
    * The desired monitoring configuration.
    * 
@@ -869,24 +1131,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder(); /** + * + * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * * @return Whether the desiredIdentityServiceConfig field is set. */ boolean hasDesiredIdentityServiceConfig(); /** + * + * *
    * The desired Identity Service component configuration.
    * 
* * .google.container.v1.IdentityServiceConfig desired_identity_service_config = 66; + * * @return The desiredIdentityServiceConfig. */ com.google.container.v1.IdentityServiceConfig getDesiredIdentityServiceConfig(); /** + * + * *
    * The desired Identity Service component configuration.
    * 
@@ -896,55 +1166,75 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder(); /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return Whether the desiredServiceExternalIpsConfig field is set. */ boolean hasDesiredServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return The desiredServiceExternalIpsConfig. */ com.google.container.v1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * .google.container.v1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - com.google.container.v1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder(); + com.google.container.v1.ServiceExternalIPsConfigOrBuilder + getDesiredServiceExternalIpsConfigOrBuilder(); /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return Whether the desiredEnablePrivateEndpoint field is set. */ boolean hasDesiredEnablePrivateEndpoint(); /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return The desiredEnablePrivateEndpoint. */ boolean getDesiredEnablePrivateEndpoint(); /** + * + * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -957,10 +1247,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_master_version = 100; + * * @return The desiredMasterVersion. */ java.lang.String getDesiredMasterVersion(); /** + * + * *
    * The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -973,30 +1266,38 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_master_version = 100; + * * @return The bytes for desiredMasterVersion. */ - com.google.protobuf.ByteString - getDesiredMasterVersionBytes(); + com.google.protobuf.ByteString getDesiredMasterVersionBytes(); /** + * + * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; + * * @return Whether the desiredGcfsConfig field is set. */ boolean hasDesiredGcfsConfig(); /** + * + * *
    * The desired GCFS config for the cluster
    * 
* * .google.container.v1.GcfsConfig desired_gcfs_config = 109; + * * @return The desiredGcfsConfig. */ com.google.container.v1.GcfsConfig getDesiredGcfsConfig(); /** + * + * *
    * The desired GCFS config for the cluster
    * 
@@ -1006,26 +1307,34 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder(); /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ boolean hasDesiredNodePoolAutoConfigNetworkTags(); /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * * @return The desiredNodePoolAutoConfigNetworkTags. */ com.google.container.v1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags(); /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -1036,24 +1345,32 @@ public interface ClusterUpdateOrBuilder extends
   com.google.container.v1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return Whether the desiredGatewayApiConfig field is set. */ boolean hasDesiredGatewayApiConfig(); /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return The desiredGatewayApiConfig. */ com.google.container.v1.GatewayAPIConfig getDesiredGatewayApiConfig(); /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -1063,24 +1380,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder(); /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * * @return Whether the desiredNodePoolLoggingConfig field is set. */ boolean hasDesiredNodePoolLoggingConfig(); /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* * .google.container.v1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * * @return The desiredNodePoolLoggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig(); /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index 4787ca239cfc..7859be76f38b 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
  * 
* * Protobuf type {@code google.container.v1.CompleteIPRotationRequest} */ -public final class CompleteIPRotationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteIPRotationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.CompleteIPRotationRequest) CompleteIPRotationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteIPRotationRequest.newBuilder() to construct. private CompleteIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteIPRotationRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private CompleteIPRotationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteIPRotationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CompleteIPRotationRequest.class, com.google.container.v1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1.CompleteIPRotationRequest.class, + com.google.container.v1.CompleteIPRotationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +250,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -230,30 +267,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +299,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +353,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CompleteIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1.CompleteIPRotationRequest other = (com.google.container.v1.CompleteIPRotationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.CompleteIPRotationRequest other = + (com.google.container.v1.CompleteIPRotationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,129 +390,135 @@ public int hashCode() { } public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CompleteIPRotationRequest parseFrom( 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.CompleteIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.CompleteIPRotationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.CompleteIPRotationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.CompleteIPRotationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.CompleteIPRotationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.CompleteIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CompleteIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CompleteIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.CompleteIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
    * 
* * Protobuf type {@code google.container.v1.CompleteIPRotationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.CompleteIPRotationRequest) com.google.container.v1.CompleteIPRotationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CompleteIPRotationRequest.class, com.google.container.v1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1.CompleteIPRotationRequest.class, + com.google.container.v1.CompleteIPRotationRequest.Builder.class); } // Construct using com.google.container.v1.CompleteIPRotationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; } @java.lang.Override @@ -515,7 +555,8 @@ public com.google.container.v1.CompleteIPRotationRequest build() { @java.lang.Override public com.google.container.v1.CompleteIPRotationRequest buildPartial() { - com.google.container.v1.CompleteIPRotationRequest result = new com.google.container.v1.CompleteIPRotationRequest(this); + com.google.container.v1.CompleteIPRotationRequest result = + new com.google.container.v1.CompleteIPRotationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +569,39 @@ public com.google.container.v1.CompleteIPRotationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CompleteIPRotationRequest) { - return mergeFrom((com.google.container.v1.CompleteIPRotationRequest)other); + return mergeFrom((com.google.container.v1.CompleteIPRotationRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.CompleteIPRotationRequest other) { - if (other == com.google.container.v1.CompleteIPRotationRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1.CompleteIPRotationRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -610,32 +653,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 58: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 58: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,6 +696,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -655,15 +705,16 @@ 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=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,6 +723,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -679,17 +732,17 @@ 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=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,6 +750,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,22 +759,25 @@ 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=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -727,17 +785,21 @@ 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=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,18 +807,19 @@ 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=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +827,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +837,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +855,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +865,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +883,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +893,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +920,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +943,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +963,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +989,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1015,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1089,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1112,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1135,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1209,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.CompleteIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CompleteIPRotationRequest) private static final com.google.container.v1.CompleteIPRotationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.CompleteIPRotationRequest(); } @@ -1120,27 +1223,27 @@ public static com.google.container.v1.CompleteIPRotationRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1258,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.CompleteIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java index 353533a55d30..f9a73ef32bba 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CompleteIPRotationRequestOrBuilder extends +public interface CompleteIPRotationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.CompleteIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface CompleteIPRotationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface CompleteIPRotationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3604 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3604 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface CompleteIPRotationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +87,71 @@ public interface CompleteIPRotationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3610 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3610 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3614 + * + * @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3614 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java index 2e7f70131ae4..b72144367862 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
  * upgrade.
@@ -11,47 +28,52 @@
  *
  * Protobuf type {@code google.container.v1.CompleteNodePoolUpgradeRequest}
  */
-public final class CompleteNodePoolUpgradeRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CompleteNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.CompleteNodePoolUpgradeRequest)
     CompleteNodePoolUpgradeRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CompleteNodePoolUpgradeRequest.newBuilder() to construct.
-  private CompleteNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CompleteNodePoolUpgradeRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CompleteNodePoolUpgradeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CompleteNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1.CompleteNodePoolUpgradeRequest.class,
+            com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -82,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CompleteNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1.CompleteNodePoolUpgradeRequest other = (com.google.container.v1.CompleteNodePoolUpgradeRequest) obj; + com.google.container.v1.CompleteNodePoolUpgradeRequest other = + (com.google.container.v1.CompleteNodePoolUpgradeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,96 +187,104 @@ public int hashCode() { } public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( 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.CompleteNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.CompleteNodePoolUpgradeRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1.CompleteNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
    * upgrade.
@@ -261,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.CompleteNodePoolUpgradeRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.CompleteNodePoolUpgradeRequest)
       com.google.container.v1.CompleteNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1.CompleteNodePoolUpgradeRequest.class,
+              com.google.container.v1.CompleteNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.CompleteNodePoolUpgradeRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,9 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -318,7 +348,8 @@ public com.google.container.v1.CompleteNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.CompleteNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1.CompleteNodePoolUpgradeRequest result = new com.google.container.v1.CompleteNodePoolUpgradeRequest(this);
+      com.google.container.v1.CompleteNodePoolUpgradeRequest result =
+          new com.google.container.v1.CompleteNodePoolUpgradeRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,38 +359,39 @@ public com.google.container.v1.CompleteNodePoolUpgradeRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.CompleteNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1.CompleteNodePoolUpgradeRequest)other);
+        return mergeFrom((com.google.container.v1.CompleteNodePoolUpgradeRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -367,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.CompleteNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -398,17 +431,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -421,6 +456,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -428,13 +465,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,6 +480,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -450,15 +489,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -473,20 +513,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -494,15 +536,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -510,23 +555,23 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -536,12 +581,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.CompleteNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CompleteNodePoolUpgradeRequest) private static final com.google.container.v1.CompleteNodePoolUpgradeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.CompleteNodePoolUpgradeRequest(); } @@ -550,27 +595,27 @@ public static com.google.container.v1.CompleteNodePoolUpgradeRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -585,6 +630,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java index ff2c79c06a89..dd70b7346cd8 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteNodePoolUpgradeRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CompleteNodePoolUpgradeRequestOrBuilder extends +public interface CompleteNodePoolUpgradeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.CompleteNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -15,10 +33,13 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -26,8 +47,8 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java index a159101d9324..6b5eb134720b 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodes.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ConfidentialNodes is configuration for the confidential nodes feature, which
  * makes nodes run on confidential VMs.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1.ConfidentialNodes}
  */
-public final class ConfidentialNodes extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ConfidentialNodes extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ConfidentialNodes)
     ConfidentialNodesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ConfidentialNodes.newBuilder() to construct.
   private ConfidentialNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ConfidentialNodes() {
-  }
+
+  private ConfidentialNodes() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConfidentialNodes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ConfidentialNodes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ConfidentialNodes.class, com.google.container.v1.ConfidentialNodes.Builder.class);
+            com.google.container.v1.ConfidentialNodes.class,
+            com.google.container.v1.ConfidentialNodes.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ConfidentialNodes)) { return super.equals(obj); } - com.google.container.v1.ConfidentialNodes other = (com.google.container.v1.ConfidentialNodes) obj; + com.google.container.v1.ConfidentialNodes other = + (com.google.container.v1.ConfidentialNodes) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ConfidentialNodes parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ConfidentialNodes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ConfidentialNodes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfidentialNodes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ConfidentialNodes parseFrom( 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.ConfidentialNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ConfidentialNodes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ConfidentialNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ConfidentialNodes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ConfidentialNodes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ConfidentialNodes parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ConfidentialNodes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ConfidentialNodes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ConfidentialNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ConfidentialNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ConfidentialNodes is configuration for the confidential nodes feature, which
    * makes nodes run on confidential VMs.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ConfidentialNodes}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ConfidentialNodes)
       com.google.container.v1.ConfidentialNodesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ConfidentialNodes.class, com.google.container.v1.ConfidentialNodes.Builder.class);
+              com.google.container.v1.ConfidentialNodes.class,
+              com.google.container.v1.ConfidentialNodes.Builder.class);
     }
 
     // Construct using com.google.container.v1.ConfidentialNodes.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfidentialNodes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1.ConfidentialNodes build() {
 
     @java.lang.Override
     public com.google.container.v1.ConfidentialNodes buildPartial() {
-      com.google.container.v1.ConfidentialNodes result = new com.google.container.v1.ConfidentialNodes(this);
+      com.google.container.v1.ConfidentialNodes result =
+          new com.google.container.v1.ConfidentialNodes(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1.ConfidentialNodes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ConfidentialNodes) {
-        return mergeFrom((com.google.container.v1.ConfidentialNodes)other);
+        return mergeFrom((com.google.container.v1.ConfidentialNodes) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,17 +390,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +413,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +430,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ConfidentialNodes) } // @@protoc_insertion_point(class_scope:google.container.v1.ConfidentialNodes) private static final com.google.container.v1.ConfidentialNodes DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ConfidentialNodes(); } @@ -452,27 +490,27 @@ public static com.google.container.v1.ConfidentialNodes getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfidentialNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfidentialNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ConfidentialNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java new file mode 100644 index 000000000000..845f4a12dd51 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfidentialNodesOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ConfidentialNodesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ConfidentialNodes) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Confidential Nodes feature is enabled.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java index 5026f0bdfc0a..5165b9df4dda 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration options for the Config Connector add-on.
  * 
* * Protobuf type {@code google.container.v1.ConfigConnectorConfig} */ -public final class ConfigConnectorConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigConnectorConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ConfigConnectorConfig) ConfigConnectorConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigConnectorConfig.newBuilder() to construct. private ConfigConnectorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigConnectorConfig() { - } + + private ConfigConnectorConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigConnectorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ConfigConnectorConfig.class, com.google.container.v1.ConfigConnectorConfig.Builder.class); + com.google.container.v1.ConfigConnectorConfig.class, + com.google.container.v1.ConfigConnectorConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Cloud Connector is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ConfigConnectorConfig)) { return super.equals(obj); } - com.google.container.v1.ConfigConnectorConfig other = (com.google.container.v1.ConfigConnectorConfig) obj; + com.google.container.v1.ConfigConnectorConfig other = + (com.google.container.v1.ConfigConnectorConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ConfigConnectorConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ConfigConnectorConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ConfigConnectorConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfigConnectorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ConfigConnectorConfig parseFrom( 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.ConfigConnectorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ConfigConnectorConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ConfigConnectorConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ConfigConnectorConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ConfigConnectorConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ConfigConnectorConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ConfigConnectorConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ConfigConnectorConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ConfigConnectorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ConfigConnectorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the Config Connector add-on.
    * 
* * Protobuf type {@code google.container.v1.ConfigConnectorConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ConfigConnectorConfig) com.google.container.v1.ConfigConnectorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ConfigConnectorConfig.class, com.google.container.v1.ConfigConnectorConfig.Builder.class); + com.google.container.v1.ConfigConnectorConfig.class, + com.google.container.v1.ConfigConnectorConfig.Builder.class); } // Construct using com.google.container.v1.ConfigConnectorConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ConfigConnectorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ConfigConnectorConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.ConfigConnectorConfig build() { @java.lang.Override public com.google.container.v1.ConfigConnectorConfig buildPartial() { - com.google.container.v1.ConfigConnectorConfig result = new com.google.container.v1.ConfigConnectorConfig(this); + com.google.container.v1.ConfigConnectorConfig result = + new com.google.container.v1.ConfigConnectorConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.ConfigConnectorConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ConfigConnectorConfig) { - return mergeFrom((com.google.container.v1.ConfigConnectorConfig)other); + return mergeFrom((com.google.container.v1.ConfigConnectorConfig) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +428,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ConfigConnectorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ConfigConnectorConfig) private static final com.google.container.v1.ConfigConnectorConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ConfigConnectorConfig(); } @@ -450,27 +488,27 @@ public static com.google.container.v1.ConfigConnectorConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigConnectorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigConnectorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ConfigConnectorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java new file mode 100644 index 000000000000..c954a4408063 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ConfigConnectorConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ConfigConnectorConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Cloud Connector is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java index c8054cbd378a..ac107bad5b93 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for fine-grained cost management feature.
  * 
* * Protobuf type {@code google.container.v1.CostManagementConfig} */ -public final class CostManagementConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CostManagementConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.CostManagementConfig) CostManagementConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CostManagementConfig.newBuilder() to construct. private CostManagementConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CostManagementConfig() { - } + + private CostManagementConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CostManagementConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CostManagementConfig.class, com.google.container.v1.CostManagementConfig.Builder.class); + com.google.container.v1.CostManagementConfig.class, + com.google.container.v1.CostManagementConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the feature is enabled or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CostManagementConfig)) { return super.equals(obj); } - com.google.container.v1.CostManagementConfig other = (com.google.container.v1.CostManagementConfig) obj; + com.google.container.v1.CostManagementConfig other = + (com.google.container.v1.CostManagementConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.CostManagementConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.CostManagementConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CostManagementConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CostManagementConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CostManagementConfig parseFrom( 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.CostManagementConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CostManagementConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.CostManagementConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CostManagementConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.CostManagementConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.CostManagementConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.CostManagementConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CostManagementConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CostManagementConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.CostManagementConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for fine-grained cost management feature.
    * 
* * Protobuf type {@code google.container.v1.CostManagementConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.CostManagementConfig) com.google.container.v1.CostManagementConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CostManagementConfig.class, com.google.container.v1.CostManagementConfig.Builder.class); + com.google.container.v1.CostManagementConfig.class, + com.google.container.v1.CostManagementConfig.Builder.class); } // Construct using com.google.container.v1.CostManagementConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CostManagementConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CostManagementConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.CostManagementConfig build() { @java.lang.Override public com.google.container.v1.CostManagementConfig buildPartial() { - com.google.container.v1.CostManagementConfig result = new com.google.container.v1.CostManagementConfig(this); + com.google.container.v1.CostManagementConfig result = + new com.google.container.v1.CostManagementConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.CostManagementConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CostManagementConfig) { - return mergeFrom((com.google.container.v1.CostManagementConfig)other); + return mergeFrom((com.google.container.v1.CostManagementConfig) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +428,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.CostManagementConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.CostManagementConfig) private static final com.google.container.v1.CostManagementConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.CostManagementConfig(); } @@ -450,27 +488,27 @@ public static com.google.container.v1.CostManagementConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CostManagementConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CostManagementConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CostManagementConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java new file mode 100644 index 000000000000..d098c880edac --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface CostManagementConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.CostManagementConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the feature is enabled or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/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 similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index 56f7412dff52..f8611fa8dca8 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * CreateClusterRequest creates a cluster.
  * 
* * Protobuf type {@code google.container.v1.CreateClusterRequest} */ -public final class CreateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.CreateClusterRequest) CreateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -27,32 +45,35 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateClusterRequest.class, com.google.container.v1.CreateClusterRequest.Builder.class); + com.google.container.v1.CreateClusterRequest.class, + com.google.container.v1.CreateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -60,24 +81,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -85,18 +109,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +131,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -115,24 +141,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -141,18 +170,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,12 +192,16 @@ protected java.lang.Object newInstance( public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.container.v1.Cluster cluster_; /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -176,12 +209,16 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override @@ -189,12 +226,15 @@ public com.google.container.v1.Cluster getCluster() { return cluster_ == null ? com.google.container.v1.Cluster.getDefaultInstance() : cluster_; } /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { @@ -204,12 +244,15 @@ public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -218,30 +261,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -250,6 +293,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +305,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -291,8 +334,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); @@ -305,24 +347,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CreateClusterRequest)) { return super.equals(obj); } - com.google.container.v1.CreateClusterRequest other = (com.google.container.v1.CreateClusterRequest) obj; + com.google.container.v1.CreateClusterRequest other = + (com.google.container.v1.CreateClusterRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -349,130 +388,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.CreateClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CreateClusterRequest parseFrom( 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.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CreateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.CreateClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CreateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.CreateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CreateClusterRequest creates a cluster.
    * 
* * Protobuf type {@code google.container.v1.CreateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.CreateClusterRequest) com.google.container.v1.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateClusterRequest.class, com.google.container.v1.CreateClusterRequest.Builder.class); + com.google.container.v1.CreateClusterRequest.class, + com.google.container.v1.CreateClusterRequest.Builder.class); } // Construct using com.google.container.v1.CreateClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -492,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateClusterRequest_descriptor; } @java.lang.Override @@ -513,7 +558,8 @@ public com.google.container.v1.CreateClusterRequest build() { @java.lang.Override public com.google.container.v1.CreateClusterRequest buildPartial() { - com.google.container.v1.CreateClusterRequest result = new com.google.container.v1.CreateClusterRequest(this); + com.google.container.v1.CreateClusterRequest result = + new com.google.container.v1.CreateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; if (clusterBuilder_ == null) { @@ -530,38 +576,39 @@ public com.google.container.v1.CreateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CreateClusterRequest) { - return mergeFrom((com.google.container.v1.CreateClusterRequest)other); + return mergeFrom((com.google.container.v1.CreateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -611,34 +658,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 42: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -651,6 +701,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -658,15 +710,16 @@ 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=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -675,6 +728,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -682,17 +737,17 @@ 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=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -700,6 +755,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -707,22 +764,25 @@ 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=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -730,17 +790,21 @@ 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=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -748,18 +812,19 @@ 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=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -767,6 +832,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -775,15 +842,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -792,6 +860,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -800,17 +870,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -818,6 +888,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -826,22 +898,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -850,17 +925,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -869,18 +948,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -888,26 +968,37 @@ public Builder mergeFrom( private com.google.container.v1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> clusterBuilder_; + com.google.container.v1.Cluster, + com.google.container.v1.Cluster.Builder, + com.google.container.v1.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.container.v1.Cluster getCluster() { @@ -918,12 +1009,15 @@ public com.google.container.v1.Cluster getCluster() { } } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.container.v1.Cluster value) { if (clusterBuilder_ == null) { @@ -939,15 +1033,17 @@ public Builder setCluster(com.google.container.v1.Cluster value) { return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.container.v1.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.container.v1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); onChanged(); @@ -958,18 +1054,21 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.container.v1.Cluster value) { if (clusterBuilder_ == null) { if (cluster_ != null) { cluster_ = - com.google.container.v1.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); + com.google.container.v1.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); } else { cluster_ = value; } @@ -981,12 +1080,15 @@ public Builder mergeCluster(com.google.container.v1.Cluster value) { return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { if (clusterBuilder_ == null) { @@ -1000,51 +1102,62 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.Cluster.Builder getClusterBuilder() { - + onChanged(); return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.container.v1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null ? com.google.container.v1.Cluster.getDefaultInstance() : cluster_; } } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
      * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> + com.google.container.v1.Cluster, + com.google.container.v1.Cluster.Builder, + com.google.container.v1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.Cluster, + com.google.container.v1.Cluster.Builder, + com.google.container.v1.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1052,19 +1165,21 @@ public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1073,21 +1188,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1095,64 +1211,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1162,12 +1285,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CreateClusterRequest) private static final com.google.container.v1.CreateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.CreateClusterRequest(); } @@ -1176,27 +1299,27 @@ public static com.google.container.v1.CreateClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1211,6 +1334,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java index 494b2eeb21ef..15314162ffb1 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CreateClusterRequestOrBuilder extends +public interface CreateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2135 + * + * @deprecated google.container.v1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2135 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,62 +87,79 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2141 + * + * @deprecated google.container.v1.CreateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2141 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.container.v1.Cluster getCluster(); /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
    * 
* - * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index 6163c8072e8b..81bcd56f9ba5 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * CreateNodePoolRequest creates a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1.CreateNodePoolRequest} */ -public final class CreateNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.CreateNodePoolRequest) CreateNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateNodePoolRequest.newBuilder() to construct. private CreateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private CreateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateNodePoolRequest.class, com.google.container.v1.CreateNodePoolRequest.Builder.class); + com.google.container.v1.CreateNodePoolRequest.class, + com.google.container.v1.CreateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,11 +250,15 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_FIELD_NUMBER = 4; private com.google.container.v1.NodePool nodePool_; /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the nodePool field is set. */ @java.lang.Override @@ -228,11 +266,15 @@ public boolean hasNodePool() { return nodePool_ != null; } /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The nodePool. */ @java.lang.Override @@ -240,11 +282,14 @@ public com.google.container.v1.NodePool getNodePool() { return nodePool_ == null ? com.google.container.v1.NodePool.getDefaultInstance() : nodePool_; } /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { @@ -254,6 +299,8 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { public static final int PARENT_FIELD_NUMBER = 6; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -261,6 +308,7 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() {
    * 
* * string parent = 6; + * * @return The parent. */ @java.lang.Override @@ -269,14 +317,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -284,16 +333,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 6; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -302,6 +350,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +362,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -349,8 +397,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (nodePool_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNodePool()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, parent_); @@ -363,26 +410,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.CreateNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1.CreateNodePoolRequest other = (com.google.container.v1.CreateNodePoolRequest) obj; + com.google.container.v1.CreateNodePoolRequest other = + (com.google.container.v1.CreateNodePoolRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasNodePool() != other.hasNodePool()) return false; if (hasNodePool()) { - if (!getNodePool() - .equals(other.getNodePool())) return false; + if (!getNodePool().equals(other.getNodePool())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -411,130 +454,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.CreateNodePoolRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.CreateNodePoolRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CreateNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CreateNodePoolRequest parseFrom( 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.CreateNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.CreateNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.CreateNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CreateNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.CreateNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.CreateNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.CreateNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.CreateNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.CreateNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.CreateNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CreateNodePoolRequest creates a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1.CreateNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.CreateNodePoolRequest) com.google.container.v1.CreateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.CreateNodePoolRequest.class, com.google.container.v1.CreateNodePoolRequest.Builder.class); + com.google.container.v1.CreateNodePoolRequest.class, + com.google.container.v1.CreateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.CreateNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +605,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_CreateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_CreateNodePoolRequest_descriptor; } @java.lang.Override @@ -577,7 +626,8 @@ public com.google.container.v1.CreateNodePoolRequest build() { @java.lang.Override public com.google.container.v1.CreateNodePoolRequest buildPartial() { - com.google.container.v1.CreateNodePoolRequest result = new com.google.container.v1.CreateNodePoolRequest(this); + com.google.container.v1.CreateNodePoolRequest result = + new com.google.container.v1.CreateNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -595,38 +645,39 @@ public com.google.container.v1.CreateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.CreateNodePoolRequest) { - return mergeFrom((com.google.container.v1.CreateNodePoolRequest)other); + return mergeFrom((com.google.container.v1.CreateNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -680,39 +731,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getNodePoolFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getNodePoolFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 50: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,6 +780,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -732,15 +789,16 @@ 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=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -749,6 +807,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -756,17 +816,17 @@ 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=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -774,6 +834,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -781,22 +843,25 @@ 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=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -804,17 +869,21 @@ 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=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -822,18 +891,19 @@ 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=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -841,6 +911,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -849,15 +921,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -866,6 +939,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +949,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -892,6 +967,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,22 +977,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,17 +1004,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,18 +1027,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,21 +1047,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -985,23 +1073,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,63 +1099,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1073,39 +1173,55 @@ public Builder mergeFrom( private com.google.container.v1.NodePool nodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> nodePoolBuilder_; + com.google.container.v1.NodePool, + com.google.container.v1.NodePool.Builder, + com.google.container.v1.NodePoolOrBuilder> + nodePoolBuilder_; /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the nodePool field is set. */ public boolean hasNodePool() { return nodePoolBuilder_ != null || nodePool_ != null; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The nodePool. */ public com.google.container.v1.NodePool getNodePool() { if (nodePoolBuilder_ == null) { - return nodePool_ == null ? com.google.container.v1.NodePool.getDefaultInstance() : nodePool_; + return nodePool_ == null + ? com.google.container.v1.NodePool.getDefaultInstance() + : nodePool_; } else { return nodePoolBuilder_.getMessage(); } } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNodePool(com.google.container.v1.NodePool value) { if (nodePoolBuilder_ == null) { @@ -1121,14 +1237,16 @@ public Builder setNodePool(com.google.container.v1.NodePool value) { return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setNodePool( - com.google.container.v1.NodePool.Builder builderForValue) { + public Builder setNodePool(com.google.container.v1.NodePool.Builder builderForValue) { if (nodePoolBuilder_ == null) { nodePool_ = builderForValue.build(); onChanged(); @@ -1139,17 +1257,22 @@ public Builder setNodePool( return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNodePool(com.google.container.v1.NodePool value) { if (nodePoolBuilder_ == null) { if (nodePool_ != null) { nodePool_ = - com.google.container.v1.NodePool.newBuilder(nodePool_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePool.newBuilder(nodePool_) + .mergeFrom(value) + .buildPartial(); } else { nodePool_ = value; } @@ -1161,11 +1284,14 @@ public Builder mergeNodePool(com.google.container.v1.NodePool value) { return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNodePool() { if (nodePoolBuilder_ == null) { @@ -1179,48 +1305,61 @@ public Builder clearNodePool() { return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NodePool.Builder getNodePoolBuilder() { - + onChanged(); return getNodePoolFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { if (nodePoolBuilder_ != null) { return nodePoolBuilder_.getMessageOrBuilder(); } else { - return nodePool_ == null ? - com.google.container.v1.NodePool.getDefaultInstance() : nodePool_; + return nodePool_ == null + ? com.google.container.v1.NodePool.getDefaultInstance() + : nodePool_; } } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> + com.google.container.v1.NodePool, + com.google.container.v1.NodePool.Builder, + com.google.container.v1.NodePoolOrBuilder> getNodePoolFieldBuilder() { if (nodePoolBuilder_ == null) { - nodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder>( - getNodePool(), - getParentForChildren(), - isClean()); + nodePoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool, + com.google.container.v1.NodePool.Builder, + com.google.container.v1.NodePoolOrBuilder>( + getNodePool(), getParentForChildren(), isClean()); nodePool_ = null; } return nodePoolBuilder_; @@ -1228,6 +1367,8 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1235,13 +1376,13 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() {
      * 
* * string parent = 6; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1250,6 +1391,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1257,15 +1400,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 6; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1273,6 +1415,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1280,20 +1424,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 6; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1301,15 +1447,18 @@ public Builder setParent(
      * 
* * string parent = 6; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1317,23 +1466,23 @@ public Builder clearParent() {
      * 
* * string parent = 6; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1343,12 +1492,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.CreateNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.CreateNodePoolRequest) private static final com.google.container.v1.CreateNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.CreateNodePoolRequest(); } @@ -1357,27 +1506,27 @@ public static com.google.container.v1.CreateNodePoolRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1392,6 +1541,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.CreateNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java index 314be9903f6d..47a2076e2abe 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface CreateNodePoolRequestOrBuilder extends +public interface CreateNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.CreateNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2717 + * + * @deprecated google.container.v1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2717 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,67 +87,88 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2723 + * + * @deprecated google.container.v1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2723 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2727 + * + * @deprecated google.container.v1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2727 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the nodePool field is set. */ boolean hasNodePool(); /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The nodePool. */ com.google.container.v1.NodePool getNodePool(); /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder(); /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -126,10 +176,13 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string parent = 6; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -137,8 +190,8 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string parent = 6; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java index b79dcc95ed62..3a9c3dfb5f6f 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * DNSConfig contains the desired set of options for configuring clusterDNS.
  * 
* * Protobuf type {@code google.container.v1.DNSConfig} */ -public final class DNSConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DNSConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.DNSConfig) DNSConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DNSConfig.newBuilder() to construct. private DNSConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DNSConfig() { clusterDns_ = 0; clusterDnsScope_ = 0; @@ -27,39 +45,43 @@ private DNSConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DNSConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DNSConfig.class, com.google.container.v1.DNSConfig.Builder.class); + com.google.container.v1.DNSConfig.class, + com.google.container.v1.DNSConfig.Builder.class); } /** + * + * *
    * Provider lists the various in-cluster DNS providers.
    * 
* * Protobuf enum {@code google.container.v1.DNSConfig.Provider} */ - public enum Provider - implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value
      * 
@@ -68,6 +90,8 @@ public enum Provider */ PROVIDER_UNSPECIFIED(0), /** + * + * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -76,6 +100,8 @@ public enum Provider */ PLATFORM_DEFAULT(1), /** + * + * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -87,6 +113,8 @@ public enum Provider ; /** + * + * *
      * Default value
      * 
@@ -95,6 +123,8 @@ public enum Provider */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -103,6 +133,8 @@ public enum Provider */ public static final int PLATFORM_DEFAULT_VALUE = 1; /** + * + * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -111,7 +143,6 @@ public enum Provider */ public static final int CLOUD_DNS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,49 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: return PROVIDER_UNSPECIFIED; - case 1: return PLATFORM_DEFAULT; - case 2: return CLOUD_DNS; - default: return null; + case 0: + return PROVIDER_UNSPECIFIED; + case 1: + return PLATFORM_DEFAULT; + case 2: + return CLOUD_DNS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Provider> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.DNSConfig.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,15 +227,18 @@ private Provider(int value) { } /** + * + * *
    * DNSScope lists the various scopes of access to cluster DNS records.
    * 
* * Protobuf enum {@code google.container.v1.DNSConfig.DNSScope} */ - public enum DNSScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -213,6 +247,8 @@ public enum DNSScope */ DNS_SCOPE_UNSPECIFIED(0), /** + * + * *
      * DNS records are accessible from within the VPC.
      * 
@@ -224,6 +260,8 @@ public enum DNSScope ; /** + * + * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -232,6 +270,8 @@ public enum DNSScope */ public static final int DNS_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DNS records are accessible from within the VPC.
      * 
@@ -240,7 +280,6 @@ public enum DNSScope */ public static final int VPC_SCOPE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -265,48 +304,47 @@ public static DNSScope valueOf(int value) { */ public static DNSScope forNumber(int value) { switch (value) { - case 0: return DNS_SCOPE_UNSPECIFIED; - case 2: return VPC_SCOPE; - default: return null; + case 0: + return DNS_SCOPE_UNSPECIFIED; + case 2: + return VPC_SCOPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DNSScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DNSScope findValueByNumber(int number) { - return DNSScope.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DNSScope findValueByNumber(int number) { + return DNSScope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.DNSConfig.getDescriptor().getEnumTypes().get(1); } private static final DNSScope[] VALUES = values(); - public static DNSScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DNSScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -326,65 +364,86 @@ private DNSScope(int value) { public static final int CLUSTER_DNS_FIELD_NUMBER = 1; private int clusterDns_; /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override public int getClusterDnsValue() { + @java.lang.Override + public int getClusterDnsValue() { return clusterDns_; } /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @return The clusterDns. */ - @java.lang.Override public com.google.container.v1.DNSConfig.Provider getClusterDns() { + @java.lang.Override + public com.google.container.v1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.Provider result = com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1.DNSConfig.Provider result = + com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1.DNSConfig.Provider.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_SCOPE_FIELD_NUMBER = 2; private int clusterDnsScope_; /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override public int getClusterDnsScopeValue() { + @java.lang.Override + public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The clusterDnsScope. */ - @java.lang.Override public com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope() { + @java.lang.Override + public com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.DNSScope result = com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1.DNSConfig.DNSScope result = + com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1.DNSConfig.DNSScope.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_DOMAIN_FIELD_NUMBER = 3; private volatile java.lang.Object clusterDnsDomain_; /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The clusterDnsDomain. */ @java.lang.Override @@ -393,29 +452,29 @@ public java.lang.String getClusterDnsDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; } } /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The bytes for clusterDnsDomain. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -424,6 +483,7 @@ public java.lang.String getClusterDnsDomain() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,12 +495,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (clusterDns_ != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (clusterDns_ + != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, clusterDns_); } - if (clusterDnsScope_ != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + if (clusterDnsScope_ + != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { @@ -455,13 +516,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (clusterDns_ != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, clusterDns_); + if (clusterDns_ + != com.google.container.v1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, clusterDns_); } - if (clusterDnsScope_ != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, clusterDnsScope_); + if (clusterDnsScope_ + != com.google.container.v1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterDnsDomain_); @@ -474,7 +535,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DNSConfig)) { return super.equals(obj); @@ -483,8 +544,7 @@ public boolean equals(final java.lang.Object obj) { if (clusterDns_ != other.clusterDns_) return false; if (clusterDnsScope_ != other.clusterDnsScope_) return false; - if (!getClusterDnsDomain() - .equals(other.getClusterDnsDomain())) return false; + if (!getClusterDnsDomain().equals(other.getClusterDnsDomain())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -507,130 +567,135 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DNSConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.DNSConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DNSConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DNSConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.DNSConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DNSConfig parseFrom( 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.DNSConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DNSConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.DNSConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DNSConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DNSConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.DNSConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DNSConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DNSConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.DNSConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DNSConfig contains the desired set of options for configuring clusterDNS.
    * 
* * Protobuf type {@code google.container.v1.DNSConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.DNSConfig) com.google.container.v1.DNSConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DNSConfig.class, com.google.container.v1.DNSConfig.Builder.class); + com.google.container.v1.DNSConfig.class, + com.google.container.v1.DNSConfig.Builder.class); } // Construct using com.google.container.v1.DNSConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -644,9 +709,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DNSConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DNSConfig_descriptor; } @java.lang.Override @@ -677,38 +742,39 @@ public com.google.container.v1.DNSConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DNSConfig) { - return mergeFrom((com.google.container.v1.DNSConfig)other); + return mergeFrom((com.google.container.v1.DNSConfig) other); } else { super.mergeFrom(other); return this; @@ -753,27 +819,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - clusterDns_ = input.readEnum(); - - break; - } // case 8 - case 16: { - clusterDnsScope_ = input.readEnum(); - - break; - } // case 16 - case 26: { - clusterDnsDomain_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + clusterDns_ = input.readEnum(); + + break; + } // case 8 + case 16: + { + clusterDnsScope_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + clusterDnsDomain_ = input.readStringRequireUtf8(); + + 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) { @@ -786,51 +856,65 @@ public Builder mergeFrom( private int clusterDns_ = 0; /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override public int getClusterDnsValue() { + @java.lang.Override + public int getClusterDnsValue() { return clusterDns_; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @param value The enum numeric value on the wire for clusterDns to set. * @return This builder for chaining. */ public Builder setClusterDnsValue(int value) { - + clusterDns_ = value; onChanged(); return this; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @return The clusterDns. */ @java.lang.Override public com.google.container.v1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.Provider result = com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1.DNSConfig.Provider result = + com.google.container.v1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1.DNSConfig.Provider.UNRECOGNIZED : result; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @param value The clusterDns to set. * @return This builder for chaining. */ @@ -838,21 +922,24 @@ public Builder setClusterDns(com.google.container.v1.DNSConfig.Provider value) { if (value == null) { throw new NullPointerException(); } - + clusterDns_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @return This builder for chaining. */ public Builder clearClusterDns() { - + clusterDns_ = 0; onChanged(); return this; @@ -860,51 +947,65 @@ public Builder clearClusterDns() { private int clusterDnsScope_ = 0; /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override public int getClusterDnsScopeValue() { + @java.lang.Override + public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @param value The enum numeric value on the wire for clusterDnsScope to set. * @return This builder for chaining. */ public Builder setClusterDnsScopeValue(int value) { - + clusterDnsScope_ = value; onChanged(); return this; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The clusterDnsScope. */ @java.lang.Override public com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1.DNSConfig.DNSScope result = com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1.DNSConfig.DNSScope result = + com.google.container.v1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1.DNSConfig.DNSScope.UNRECOGNIZED : result; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @param value The clusterDnsScope to set. * @return This builder for chaining. */ @@ -912,21 +1013,24 @@ public Builder setClusterDnsScope(com.google.container.v1.DNSConfig.DNSScope val if (value == null) { throw new NullPointerException(); } - + clusterDnsScope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return This builder for chaining. */ public Builder clearClusterDnsScope() { - + clusterDnsScope_ = 0; onChanged(); return this; @@ -934,18 +1038,20 @@ public Builder clearClusterDnsScope() { private java.lang.Object clusterDnsDomain_ = ""; /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @return The clusterDnsDomain. */ public java.lang.String getClusterDnsDomain() { java.lang.Object ref = clusterDnsDomain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; @@ -954,20 +1060,21 @@ public java.lang.String getClusterDnsDomain() { } } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @return The bytes for clusterDnsDomain. */ - public com.google.protobuf.ByteString - getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -975,61 +1082,68 @@ public java.lang.String getClusterDnsDomain() { } } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @param value The clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomain( - java.lang.String value) { + public Builder setClusterDnsDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterDnsDomain_ = value; onChanged(); return this; } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @return This builder for chaining. */ public Builder clearClusterDnsDomain() { - + clusterDnsDomain_ = getDefaultInstance().getClusterDnsDomain(); onChanged(); return this; } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @param value The bytes for clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterDnsDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterDnsDomain_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1039,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.DNSConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.DNSConfig) private static final com.google.container.v1.DNSConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.DNSConfig(); } @@ -1053,27 +1167,27 @@ public static com.google.container.v1.DNSConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DNSConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DNSConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1088,6 +1202,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DNSConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java index a7a67399b1a9..2e1cf9377c63 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DNSConfigOrBuilder.java @@ -1,67 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface DNSConfigOrBuilder extends +public interface DNSConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.DNSConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @return The enum numeric value on the wire for clusterDns. */ int getClusterDnsValue(); /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1.DNSConfig.Provider cluster_dns = 1; + * * @return The clusterDns. */ com.google.container.v1.DNSConfig.Provider getClusterDns(); /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The enum numeric value on the wire for clusterDnsScope. */ int getClusterDnsScopeValue(); /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The clusterDnsScope. */ com.google.container.v1.DNSConfig.DNSScope getClusterDnsScope(); /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The clusterDnsDomain. */ java.lang.String getClusterDnsDomain(); /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The bytes for clusterDnsDomain. */ - com.google.protobuf.ByteString - getClusterDnsDomainBytes(); + com.google.protobuf.ByteString getClusterDnsDomainBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java index 667cdd0f346c..292f14348c1e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Time window specified for daily maintenance operations.
  * 
* * Protobuf type {@code google.container.v1.DailyMaintenanceWindow} */ -public final class DailyMaintenanceWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DailyMaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.DailyMaintenanceWindow) DailyMaintenanceWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DailyMaintenanceWindow.newBuilder() to construct. private DailyMaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DailyMaintenanceWindow() { startTime_ = ""; duration_ = ""; @@ -26,32 +44,35 @@ private DailyMaintenanceWindow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DailyMaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DailyMaintenanceWindow.class, com.google.container.v1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1.DailyMaintenanceWindow.class, + com.google.container.v1.DailyMaintenanceWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 2; private volatile java.lang.Object startTime_; /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -59,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -67,14 +89,15 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -82,16 +105,15 @@ public java.lang.String getStartTime() {
    * 
* * string start_time = 2; + * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getStartTime() { public static final int DURATION_FIELD_NUMBER = 3; private volatile java.lang.Object duration_; /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -110,6 +134,7 @@ public java.lang.String getStartTime() {
    * 
* * string duration = 3; + * * @return The duration. */ @java.lang.Override @@ -118,14 +143,15 @@ public java.lang.String getDuration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; } } /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -134,16 +160,15 @@ public java.lang.String getDuration() {
    * 
* * string duration = 3; + * * @return The bytes for duration. */ @java.lang.Override - public com.google.protobuf.ByteString - getDurationBytes() { + public com.google.protobuf.ByteString getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); duration_ = b; return b; } else { @@ -152,6 +177,7 @@ public java.lang.String getDuration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startTime_); } @@ -194,17 +219,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DailyMaintenanceWindow)) { return super.equals(obj); } - com.google.container.v1.DailyMaintenanceWindow other = (com.google.container.v1.DailyMaintenanceWindow) obj; + com.google.container.v1.DailyMaintenanceWindow other = + (com.google.container.v1.DailyMaintenanceWindow) obj; - if (!getStartTime() - .equals(other.getStartTime())) return false; - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; + if (!getDuration().equals(other.getDuration())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -225,130 +249,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.DailyMaintenanceWindow parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DailyMaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DailyMaintenanceWindow parseFrom( 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.DailyMaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.DailyMaintenanceWindow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.DailyMaintenanceWindow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.DailyMaintenanceWindow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.DailyMaintenanceWindow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DailyMaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DailyMaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.DailyMaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Time window specified for daily maintenance operations.
    * 
* * Protobuf type {@code google.container.v1.DailyMaintenanceWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.DailyMaintenanceWindow) com.google.container.v1.DailyMaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DailyMaintenanceWindow.class, com.google.container.v1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1.DailyMaintenanceWindow.class, + com.google.container.v1.DailyMaintenanceWindow.Builder.class); } // Construct using com.google.container.v1.DailyMaintenanceWindow.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,9 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; } @java.lang.Override @@ -381,7 +411,8 @@ public com.google.container.v1.DailyMaintenanceWindow build() { @java.lang.Override public com.google.container.v1.DailyMaintenanceWindow buildPartial() { - com.google.container.v1.DailyMaintenanceWindow result = new com.google.container.v1.DailyMaintenanceWindow(this); + com.google.container.v1.DailyMaintenanceWindow result = + new com.google.container.v1.DailyMaintenanceWindow(this); result.startTime_ = startTime_; result.duration_ = duration_; onBuilt(); @@ -392,38 +423,39 @@ public com.google.container.v1.DailyMaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DailyMaintenanceWindow) { - return mergeFrom((com.google.container.v1.DailyMaintenanceWindow)other); + return mergeFrom((com.google.container.v1.DailyMaintenanceWindow) other); } else { super.mergeFrom(other); return this; @@ -466,22 +498,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - startTime_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - duration_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + startTime_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + duration_ = input.readStringRequireUtf8(); + + 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) { @@ -494,6 +529,8 @@ public Builder mergeFrom( private java.lang.Object startTime_ = ""; /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -501,13 +538,13 @@ public Builder mergeFrom(
      * 
* * string start_time = 2; + * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -516,6 +553,8 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -523,15 +562,14 @@ public java.lang.String getStartTime() {
      * 
* * string start_time = 2; + * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -539,6 +577,8 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -546,20 +586,22 @@ public java.lang.String getStartTime() {
      * 
* * string start_time = 2; + * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime( - java.lang.String value) { + public Builder setStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -567,15 +609,18 @@ public Builder setStartTime(
      * 
* * string start_time = 2; + * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -583,16 +628,16 @@ public Builder clearStartTime() {
      * 
* * string start_time = 2; + * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -600,6 +645,8 @@ public Builder setStartTimeBytes( private java.lang.Object duration_ = ""; /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -608,13 +655,13 @@ public Builder setStartTimeBytes(
      * 
* * string duration = 3; + * * @return The duration. */ public java.lang.String getDuration() { java.lang.Object ref = duration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; @@ -623,6 +670,8 @@ public java.lang.String getDuration() { } } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -631,15 +680,14 @@ public java.lang.String getDuration() {
      * 
* * string duration = 3; + * * @return The bytes for duration. */ - public com.google.protobuf.ByteString - getDurationBytes() { + public com.google.protobuf.ByteString getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); duration_ = b; return b; } else { @@ -647,6 +695,8 @@ public java.lang.String getDuration() { } } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -655,20 +705,22 @@ public java.lang.String getDuration() {
      * 
* * string duration = 3; + * * @param value The duration to set. * @return This builder for chaining. */ - public Builder setDuration( - java.lang.String value) { + public Builder setDuration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + duration_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -677,15 +729,18 @@ public Builder setDuration(
      * 
* * string duration = 3; + * * @return This builder for chaining. */ public Builder clearDuration() { - + duration_ = getDefaultInstance().getDuration(); onChanged(); return this; } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
@@ -694,23 +749,23 @@ public Builder clearDuration() {
      * 
* * string duration = 3; + * * @param value The bytes for duration to set. * @return This builder for chaining. */ - public Builder setDurationBytes( - com.google.protobuf.ByteString value) { + public Builder setDurationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + duration_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -720,12 +775,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.DailyMaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.container.v1.DailyMaintenanceWindow) private static final com.google.container.v1.DailyMaintenanceWindow DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.DailyMaintenanceWindow(); } @@ -734,27 +789,27 @@ public static com.google.container.v1.DailyMaintenanceWindow getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DailyMaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DailyMaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -769,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DailyMaintenanceWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java index 9ff19d6f5325..3367a4edc193 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DailyMaintenanceWindowOrBuilder extends +public interface DailyMaintenanceWindowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.DailyMaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -15,10 +33,13 @@ public interface DailyMaintenanceWindowOrBuilder extends
    * 
* * string start_time = 2; + * * @return The startTime. */ java.lang.String getStartTime(); /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
@@ -26,12 +47,14 @@ public interface DailyMaintenanceWindowOrBuilder extends
    * 
* * string start_time = 2; + * * @return The bytes for startTime. */ - com.google.protobuf.ByteString - getStartTimeBytes(); + com.google.protobuf.ByteString getStartTimeBytes(); /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -40,10 +63,13 @@ public interface DailyMaintenanceWindowOrBuilder extends
    * 
* * string duration = 3; + * * @return The duration. */ java.lang.String getDuration(); /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
@@ -52,8 +78,8 @@ public interface DailyMaintenanceWindowOrBuilder extends
    * 
* * string duration = 3; + * * @return The bytes for duration. */ - com.google.protobuf.ByteString - getDurationBytes(); + com.google.protobuf.ByteString getDurationBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java index bbc090e55be1..2d51a90b5b11 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration of etcd encryption.
  * 
* * Protobuf type {@code google.container.v1.DatabaseEncryption} */ -public final class DatabaseEncryption extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DatabaseEncryption extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.DatabaseEncryption) DatabaseEncryptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatabaseEncryption.newBuilder() to construct. private DatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DatabaseEncryption() { state_ = 0; keyName_ = ""; @@ -26,39 +44,43 @@ private DatabaseEncryption() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DatabaseEncryption(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DatabaseEncryption.class, com.google.container.v1.DatabaseEncryption.Builder.class); + com.google.container.v1.DatabaseEncryption.class, + com.google.container.v1.DatabaseEncryption.Builder.class); } /** + * + * *
    * State of etcd encryption.
    * 
* * Protobuf enum {@code google.container.v1.DatabaseEncryption.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Should never be set
      * 
@@ -67,6 +89,8 @@ public enum State */ UNKNOWN(0), /** + * + * *
      * Secrets in etcd are encrypted.
      * 
@@ -75,6 +99,8 @@ public enum State */ ENCRYPTED(1), /** + * + * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -87,6 +113,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Should never be set
      * 
@@ -95,6 +123,8 @@ public enum State */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * Secrets in etcd are encrypted.
      * 
@@ -103,6 +133,8 @@ public enum State */ public static final int ENCRYPTED_VALUE = 1; /** + * + * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -112,7 +144,6 @@ public enum State
      */
     public static final int DECRYPTED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -137,49 +168,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return UNKNOWN;
-        case 1: return ENCRYPTED;
-        case 2: return DECRYPTED;
-        default: return null;
+        case 0:
+          return UNKNOWN;
+        case 1:
+          return ENCRYPTED;
+        case 2:
+          return DECRYPTED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.DatabaseEncryption.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -199,39 +230,51 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 2;
   private int state_;
   /**
+   *
+   *
    * 
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @return The state. */ - @java.lang.Override public com.google.container.v1.DatabaseEncryption.State getState() { + @java.lang.Override + public com.google.container.v1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1.DatabaseEncryption.State result = com.google.container.v1.DatabaseEncryption.State.valueOf(state_); + com.google.container.v1.DatabaseEncryption.State result = + com.google.container.v1.DatabaseEncryption.State.valueOf(state_); return result == null ? com.google.container.v1.DatabaseEncryption.State.UNRECOGNIZED : result; } public static final int KEY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object keyName_; /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The keyName. */ @java.lang.Override @@ -240,30 +283,30 @@ public java.lang.String getKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } } /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The bytes for keyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyNameBytes() { + public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyName_ = b; return b; } else { @@ -272,6 +315,7 @@ public java.lang.String getKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,8 +327,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyName_); } @@ -304,8 +347,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyName_); } if (state_ != com.google.container.v1.DatabaseEncryption.State.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,16 +357,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DatabaseEncryption)) { return super.equals(obj); } - com.google.container.v1.DatabaseEncryption other = (com.google.container.v1.DatabaseEncryption) obj; + com.google.container.v1.DatabaseEncryption other = + (com.google.container.v1.DatabaseEncryption) obj; if (state_ != other.state_) return false; - if (!getKeyName() - .equals(other.getKeyName())) return false; + if (!getKeyName().equals(other.getKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,130 +387,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DatabaseEncryption parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.DatabaseEncryption parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DatabaseEncryption parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DatabaseEncryption parseFrom( 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.DatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DatabaseEncryption parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.DatabaseEncryption parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DatabaseEncryption parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.DatabaseEncryption parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.DatabaseEncryption parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.DatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.DatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of etcd encryption.
    * 
* * Protobuf type {@code google.container.v1.DatabaseEncryption} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.DatabaseEncryption) com.google.container.v1.DatabaseEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DatabaseEncryption.class, com.google.container.v1.DatabaseEncryption.Builder.class); + com.google.container.v1.DatabaseEncryption.class, + com.google.container.v1.DatabaseEncryption.Builder.class); } // Construct using com.google.container.v1.DatabaseEncryption.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +528,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DatabaseEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DatabaseEncryption_descriptor; } @java.lang.Override @@ -501,7 +549,8 @@ public com.google.container.v1.DatabaseEncryption build() { @java.lang.Override public com.google.container.v1.DatabaseEncryption buildPartial() { - com.google.container.v1.DatabaseEncryption result = new com.google.container.v1.DatabaseEncryption(this); + com.google.container.v1.DatabaseEncryption result = + new com.google.container.v1.DatabaseEncryption(this); result.state_ = state_; result.keyName_ = keyName_; onBuilt(); @@ -512,38 +561,39 @@ public com.google.container.v1.DatabaseEncryption buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DatabaseEncryption) { - return mergeFrom((com.google.container.v1.DatabaseEncryption)other); + return mergeFrom((com.google.container.v1.DatabaseEncryption) other); } else { super.mergeFrom(other); return this; @@ -585,22 +635,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - keyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - state_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + keyName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + state_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -613,51 +666,67 @@ public Builder mergeFrom( private int state_ = 0; /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @return The state. */ @java.lang.Override public com.google.container.v1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1.DatabaseEncryption.State result = com.google.container.v1.DatabaseEncryption.State.valueOf(state_); - return result == null ? com.google.container.v1.DatabaseEncryption.State.UNRECOGNIZED : result; + com.google.container.v1.DatabaseEncryption.State result = + com.google.container.v1.DatabaseEncryption.State.valueOf(state_); + return result == null + ? com.google.container.v1.DatabaseEncryption.State.UNRECOGNIZED + : result; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @param value The state to set. * @return This builder for chaining. */ @@ -665,21 +734,24 @@ public Builder setState(com.google.container.v1.DatabaseEncryption.State value) if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -687,19 +759,21 @@ public Builder clearState() { private java.lang.Object keyName_ = ""; /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; @@ -708,21 +782,22 @@ public java.lang.String getKeyName() { } } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @return The bytes for keyName. */ - public com.google.protobuf.ByteString - getKeyNameBytes() { + public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyName_ = b; return b; } else { @@ -730,64 +805,71 @@ public java.lang.String getKeyName() { } } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @param value The keyName to set. * @return This builder for chaining. */ - public Builder setKeyName( - java.lang.String value) { + public Builder setKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyName_ = value; onChanged(); return this; } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @return This builder for chaining. */ public Builder clearKeyName() { - + keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @param value The bytes for keyName to set. * @return This builder for chaining. */ - public Builder setKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,12 +879,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.DatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.container.v1.DatabaseEncryption) private static final com.google.container.v1.DatabaseEncryption DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.DatabaseEncryption(); } @@ -811,27 +893,27 @@ public static com.google.container.v1.DatabaseEncryption getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -846,6 +928,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java index c28529eac451..ecc94abaec3e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java @@ -1,50 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface DatabaseEncryptionOrBuilder extends +public interface DatabaseEncryptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.DatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1.DatabaseEncryption.State state = 2; + * * @return The state. */ com.google.container.v1.DatabaseEncryption.State getState(); /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The keyName. */ java.lang.String getKeyName(); /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The bytes for keyName. */ - com.google.protobuf.ByteString - getKeyNameBytes(); + com.google.protobuf.ByteString getKeyNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java index c89134ff3f02..89b85b88b22c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatapathProvider.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * The datapath provider selects the implementation of the Kubernetes networking
  * model for service resolution and network policy enforcement.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.container.v1.DatapathProvider}
  */
-public enum DatapathProvider
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -22,6 +40,8 @@ public enum DatapathProvider */ DATAPATH_PROVIDER_UNSPECIFIED(0), /** + * + * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -30,6 +50,8 @@ public enum DatapathProvider */ LEGACY_DATAPATH(1), /** + * + * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -44,6 +66,8 @@ public enum DatapathProvider
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -52,6 +76,8 @@ public enum DatapathProvider */ public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -60,6 +86,8 @@ public enum DatapathProvider */ public static final int LEGACY_DATAPATH_VALUE = 1; /** + * + * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -71,7 +99,6 @@ public enum DatapathProvider
    */
   public static final int ADVANCED_DATAPATH_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -96,49 +123,49 @@ public static DatapathProvider valueOf(int value) {
    */
   public static DatapathProvider forNumber(int value) {
     switch (value) {
-      case 0: return DATAPATH_PROVIDER_UNSPECIFIED;
-      case 1: return LEGACY_DATAPATH;
-      case 2: return ADVANCED_DATAPATH;
-      default: return null;
+      case 0:
+        return DATAPATH_PROVIDER_UNSPECIFIED;
+      case 1:
+        return LEGACY_DATAPATH;
+      case 2:
+        return ADVANCED_DATAPATH;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DatapathProvider> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DatapathProvider findValueByNumber(int number) {
-            return DatapathProvider.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DatapathProvider findValueByNumber(int number) {
+          return DatapathProvider.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2);
   }
 
   private static final DatapathProvider[] VALUES = values();
 
-  public static DatapathProvider valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DatapathProvider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,4 +181,3 @@ private DatapathProvider(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1.DatapathProvider)
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
similarity index 63%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
index daa0b7dd2390..b04914d7f39c 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatus.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * DefaultSnatStatus contains the desired state of whether default sNAT should
  * be disabled on the cluster.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1.DefaultSnatStatus}
  */
-public final class DefaultSnatStatus extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DefaultSnatStatus extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.DefaultSnatStatus)
     DefaultSnatStatusOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DefaultSnatStatus.newBuilder() to construct.
   private DefaultSnatStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DefaultSnatStatus() {
-  }
+
+  private DefaultSnatStatus() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DefaultSnatStatus();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_DefaultSnatStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.DefaultSnatStatus.class, com.google.container.v1.DefaultSnatStatus.Builder.class);
+            com.google.container.v1.DefaultSnatStatus.class,
+            com.google.container.v1.DefaultSnatStatus.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Disables cluster default sNAT rules.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DefaultSnatStatus)) { return super.equals(obj); } - com.google.container.v1.DefaultSnatStatus other = (com.google.container.v1.DefaultSnatStatus) obj; + com.google.container.v1.DefaultSnatStatus other = + (com.google.container.v1.DefaultSnatStatus) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.DefaultSnatStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.DefaultSnatStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DefaultSnatStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DefaultSnatStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DefaultSnatStatus parseFrom( 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.DefaultSnatStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DefaultSnatStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.DefaultSnatStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DefaultSnatStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.DefaultSnatStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.DefaultSnatStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.DefaultSnatStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DefaultSnatStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DefaultSnatStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.DefaultSnatStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DefaultSnatStatus contains the desired state of whether default sNAT should
    * be disabled on the cluster.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.DefaultSnatStatus}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.DefaultSnatStatus)
       com.google.container.v1.DefaultSnatStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.DefaultSnatStatus.class, com.google.container.v1.DefaultSnatStatus.Builder.class);
+              com.google.container.v1.DefaultSnatStatus.class,
+              com.google.container.v1.DefaultSnatStatus.Builder.class);
     }
 
     // Construct using com.google.container.v1.DefaultSnatStatus.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DefaultSnatStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1.DefaultSnatStatus build() {
 
     @java.lang.Override
     public com.google.container.v1.DefaultSnatStatus buildPartial() {
-      com.google.container.v1.DefaultSnatStatus result = new com.google.container.v1.DefaultSnatStatus(this);
+      com.google.container.v1.DefaultSnatStatus result =
+          new com.google.container.v1.DefaultSnatStatus(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1.DefaultSnatStatus buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.DefaultSnatStatus) {
-        return mergeFrom((com.google.container.v1.DefaultSnatStatus)other);
+        return mergeFrom((com.google.container.v1.DefaultSnatStatus) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,17 +390,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +413,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -398,37 +430,43 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.DefaultSnatStatus) } // @@protoc_insertion_point(class_scope:google.container.v1.DefaultSnatStatus) private static final com.google.container.v1.DefaultSnatStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.DefaultSnatStatus(); } @@ -452,27 +490,27 @@ public static com.google.container.v1.DefaultSnatStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DefaultSnatStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DefaultSnatStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DefaultSnatStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java new file mode 100644 index 000000000000..d6c81209e69c --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface DefaultSnatStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.DefaultSnatStatus) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Disables cluster default sNAT rules.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 5b4d7d4c02cb..44d284957ab2 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * DeleteClusterRequest deletes a cluster.
  * 
* * Protobuf type {@code google.container.v1.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.DeleteClusterRequest) DeleteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteClusterRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteClusterRequest.class, com.google.container.v1.DeleteClusterRequest.Builder.class); + com.google.container.v1.DeleteClusterRequest.class, + com.google.container.v1.DeleteClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +250,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The name. */ @java.lang.Override @@ -230,30 +267,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +299,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +353,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DeleteClusterRequest)) { return super.equals(obj); } - com.google.container.v1.DeleteClusterRequest other = (com.google.container.v1.DeleteClusterRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.DeleteClusterRequest other = + (com.google.container.v1.DeleteClusterRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,130 +389,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.DeleteClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DeleteClusterRequest parseFrom( 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.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DeleteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.DeleteClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DeleteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.DeleteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeleteClusterRequest deletes a cluster.
    * 
* * Protobuf type {@code google.container.v1.DeleteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.DeleteClusterRequest) com.google.container.v1.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteClusterRequest.class, com.google.container.v1.DeleteClusterRequest.Builder.class); + com.google.container.v1.DeleteClusterRequest.class, + com.google.container.v1.DeleteClusterRequest.Builder.class); } // Construct using com.google.container.v1.DeleteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -515,7 +555,8 @@ public com.google.container.v1.DeleteClusterRequest build() { @java.lang.Override public com.google.container.v1.DeleteClusterRequest buildPartial() { - com.google.container.v1.DeleteClusterRequest result = new com.google.container.v1.DeleteClusterRequest(this); + com.google.container.v1.DeleteClusterRequest result = + new com.google.container.v1.DeleteClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +569,39 @@ public com.google.container.v1.DeleteClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DeleteClusterRequest) { - return mergeFrom((com.google.container.v1.DeleteClusterRequest)other); + return mergeFrom((com.google.container.v1.DeleteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -610,32 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -648,6 +695,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -655,15 +704,16 @@ 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=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,6 +722,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -679,17 +731,17 @@ 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=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,6 +749,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,22 +758,25 @@ 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=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -727,17 +784,21 @@ 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=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,18 +806,19 @@ 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=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +826,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +836,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +854,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +864,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +882,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +892,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +919,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +942,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +962,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +988,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1014,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1088,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1111,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1134,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.DeleteClusterRequest) private static final com.google.container.v1.DeleteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.DeleteClusterRequest(); } @@ -1120,27 +1222,27 @@ public static com.google.container.v1.DeleteClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1257,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java index ff047c730125..e8a410580ce8 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DeleteClusterRequestOrBuilder extends +public interface DeleteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2541 + * + * @deprecated google.container.v1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2541 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +87,71 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2547 + * + * @deprecated google.container.v1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2547 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2551 + * + * @deprecated google.container.v1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2551 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 7a69619775d4..0ebd6476a8c6 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * DeleteNodePoolRequest deletes a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1.DeleteNodePoolRequest} */ -public final class DeleteNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.DeleteNodePoolRequest) DeleteNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteNodePoolRequest.newBuilder() to construct. private DeleteNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private DeleteNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteNodePoolRequest.class, com.google.container.v1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1.DeleteNodePoolRequest.class, + com.google.container.v1.DeleteNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +251,53 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,6 +308,8 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -276,6 +317,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -284,14 +326,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -299,16 +342,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -317,6 +359,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +371,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -377,23 +419,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DeleteNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1.DeleteNodePoolRequest other = (com.google.container.v1.DeleteNodePoolRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.DeleteNodePoolRequest other = + (com.google.container.v1.DeleteNodePoolRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -420,130 +458,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.DeleteNodePoolRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DeleteNodePoolRequest parseFrom( 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.DeleteNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.DeleteNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.DeleteNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.DeleteNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.DeleteNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DeleteNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DeleteNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.DeleteNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeleteNodePoolRequest deletes a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1.DeleteNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.DeleteNodePoolRequest) com.google.container.v1.DeleteNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DeleteNodePoolRequest.class, com.google.container.v1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1.DeleteNodePoolRequest.class, + com.google.container.v1.DeleteNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.DeleteNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +605,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; } @java.lang.Override @@ -582,7 +626,8 @@ public com.google.container.v1.DeleteNodePoolRequest build() { @java.lang.Override public com.google.container.v1.DeleteNodePoolRequest buildPartial() { - com.google.container.v1.DeleteNodePoolRequest result = new com.google.container.v1.DeleteNodePoolRequest(this); + com.google.container.v1.DeleteNodePoolRequest result = + new com.google.container.v1.DeleteNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -596,38 +641,39 @@ public com.google.container.v1.DeleteNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DeleteNodePoolRequest) { - return mergeFrom((com.google.container.v1.DeleteNodePoolRequest)other); + return mergeFrom((com.google.container.v1.DeleteNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -682,37 +728,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,6 +777,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -732,15 +786,16 @@ 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=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -749,6 +804,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -756,17 +813,17 @@ 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=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -774,6 +831,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -781,22 +840,25 @@ 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=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -804,17 +866,21 @@ 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=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -822,18 +888,19 @@ 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=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -841,6 +908,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -849,15 +918,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -866,6 +936,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +946,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -892,6 +964,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,22 +974,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,17 +1001,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,18 +1024,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,21 +1044,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -985,23 +1070,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,63 +1096,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1073,21 +1170,24 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1096,23 +1196,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1120,63 +1222,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1184,6 +1296,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1191,13 +1305,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1206,6 +1320,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1213,15 +1329,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1229,6 +1344,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1236,20 +1353,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1257,15 +1376,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1273,23 +1395,23 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1299,12 +1421,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.DeleteNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.DeleteNodePoolRequest) private static final com.google.container.v1.DeleteNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.DeleteNodePoolRequest(); } @@ -1313,27 +1435,27 @@ public static com.google.container.v1.DeleteNodePoolRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1348,6 +1470,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DeleteNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java index 8b4f2e619189..830737a8c19a 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface DeleteNodePoolRequestOrBuilder extends +public interface DeleteNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.DeleteNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2743 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2743 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +87,83 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2749 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2749 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2753 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2753 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2757 + * + * @deprecated google.container.v1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2757 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -125,10 +171,13 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -136,8 +185,8 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java index c6d248736b20..42d89a27b8ec 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for NodeLocal DNSCache
  * 
* * Protobuf type {@code google.container.v1.DnsCacheConfig} */ -public final class DnsCacheConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DnsCacheConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.DnsCacheConfig) DnsCacheConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DnsCacheConfig.newBuilder() to construct. private DnsCacheConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DnsCacheConfig() { - } + + private DnsCacheConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DnsCacheConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DnsCacheConfig.class, com.google.container.v1.DnsCacheConfig.Builder.class); + com.google.container.v1.DnsCacheConfig.class, + com.google.container.v1.DnsCacheConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether NodeLocal DNSCache is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.DnsCacheConfig)) { return super.equals(obj); } com.google.container.v1.DnsCacheConfig other = (com.google.container.v1.DnsCacheConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.DnsCacheConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.DnsCacheConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DnsCacheConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DnsCacheConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DnsCacheConfig parseFrom( 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.DnsCacheConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.DnsCacheConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.DnsCacheConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DnsCacheConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DnsCacheConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.DnsCacheConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.DnsCacheConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.DnsCacheConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.DnsCacheConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for NodeLocal DNSCache
    * 
* * Protobuf type {@code google.container.v1.DnsCacheConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.DnsCacheConfig) com.google.container.v1.DnsCacheConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.DnsCacheConfig.class, com.google.container.v1.DnsCacheConfig.Builder.class); + com.google.container.v1.DnsCacheConfig.class, + com.google.container.v1.DnsCacheConfig.Builder.class); } // Construct using com.google.container.v1.DnsCacheConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_DnsCacheConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_DnsCacheConfig_descriptor; } @java.lang.Override @@ -282,7 +306,8 @@ public com.google.container.v1.DnsCacheConfig build() { @java.lang.Override public com.google.container.v1.DnsCacheConfig buildPartial() { - com.google.container.v1.DnsCacheConfig result = new com.google.container.v1.DnsCacheConfig(this); + com.google.container.v1.DnsCacheConfig result = + new com.google.container.v1.DnsCacheConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +317,39 @@ public com.google.container.v1.DnsCacheConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.DnsCacheConfig) { - return mergeFrom((com.google.container.v1.DnsCacheConfig)other); + return mergeFrom((com.google.container.v1.DnsCacheConfig) other); } else { super.mergeFrom(other); return this; @@ -361,17 +387,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +410,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +427,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.DnsCacheConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.DnsCacheConfig) private static final com.google.container.v1.DnsCacheConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.DnsCacheConfig(); } @@ -450,27 +487,27 @@ public static com.google.container.v1.DnsCacheConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsCacheConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsCacheConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +522,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.DnsCacheConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java new file mode 100644 index 000000000000..aa30a25d141a --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface DnsCacheConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.DnsCacheConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether NodeLocal DNSCache is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java index 00f506e5c418..d27a56c24022 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocket.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration of Fast Socket feature.
  * 
* * Protobuf type {@code google.container.v1.FastSocket} */ -public final class FastSocket extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FastSocket extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.FastSocket) FastSocketOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FastSocket.newBuilder() to construct. private FastSocket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FastSocket() { - } + + private FastSocket() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FastSocket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_FastSocket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_FastSocket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.FastSocket.class, com.google.container.v1.FastSocket.Builder.class); + com.google.container.v1.FastSocket.class, + com.google.container.v1.FastSocket.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Fast Socket features are enabled in the node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.FastSocket)) { return super.equals(obj); } com.google.container.v1.FastSocket other = (com.google.container.v1.FastSocket) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,141 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.FastSocket parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.FastSocket parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.FastSocket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.FastSocket parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.FastSocket parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.FastSocket parseFrom( 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.FastSocket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.FastSocket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.FastSocket parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.FastSocket parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.FastSocket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.FastSocket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.FastSocket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.FastSocket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.FastSocket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of Fast Socket feature.
    * 
* * Protobuf type {@code google.container.v1.FastSocket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.FastSocket) com.google.container.v1.FastSocketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_FastSocket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_FastSocket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.FastSocket.class, com.google.container.v1.FastSocket.Builder.class); + com.google.container.v1.FastSocket.class, + com.google.container.v1.FastSocket.Builder.class); } // Construct using com.google.container.v1.FastSocket.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_FastSocket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_FastSocket_descriptor; } @java.lang.Override @@ -292,38 +315,39 @@ public com.google.container.v1.FastSocket buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.FastSocket) { - return mergeFrom((com.google.container.v1.FastSocket)other); + return mergeFrom((com.google.container.v1.FastSocket) other); } else { super.mergeFrom(other); return this; @@ -361,17 +385,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +408,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +425,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +471,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.FastSocket) } // @@protoc_insertion_point(class_scope:google.container.v1.FastSocket) private static final com.google.container.v1.FastSocket DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.FastSocket(); } @@ -450,27 +485,27 @@ public static com.google.container.v1.FastSocket getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FastSocket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FastSocket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +520,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.FastSocket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java new file mode 100644 index 000000000000..529d0468f224 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface FastSocketOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.FastSocket) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Fast Socket features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java index d80037c9480c..78de9c49a70c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * GPUSharingConfig represents the GPU sharing configuration for Hardware
  * Accelerators.
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.container.v1.GPUSharingConfig}
  */
-public final class GPUSharingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GPUSharingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GPUSharingConfig)
     GPUSharingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GPUSharingConfig.newBuilder() to construct.
   private GPUSharingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GPUSharingConfig() {
     gpuSharingStrategy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GPUSharingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GPUSharingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GPUSharingConfig.class, com.google.container.v1.GPUSharingConfig.Builder.class);
+            com.google.container.v1.GPUSharingConfig.class,
+            com.google.container.v1.GPUSharingConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of GPU sharing strategy currently provided.
    * 
* * Protobuf enum {@code google.container.v1.GPUSharingConfig.GPUSharingStrategy} */ - public enum GPUSharingStrategy - implements com.google.protobuf.ProtocolMessageEnum { + public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -67,6 +89,8 @@ public enum GPUSharingStrategy */ GPU_SHARING_STRATEGY_UNSPECIFIED(0), /** + * + * *
      * GPUs are time-shared between containers.
      * 
@@ -78,6 +102,8 @@ public enum GPUSharingStrategy ; /** + * + * *
      * Default value.
      * 
@@ -86,6 +112,8 @@ public enum GPUSharingStrategy */ public static final int GPU_SHARING_STRATEGY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * GPUs are time-shared between containers.
      * 
@@ -94,7 +122,6 @@ public enum GPUSharingStrategy */ public static final int TIME_SHARING_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,9 +146,12 @@ public static GPUSharingStrategy valueOf(int value) { */ public static GPUSharingStrategy forNumber(int value) { switch (value) { - case 0: return GPU_SHARING_STRATEGY_UNSPECIFIED; - case 1: return TIME_SHARING; - default: return null; + case 0: + return GPU_SHARING_STRATEGY_UNSPECIFIED; + case 1: + return TIME_SHARING; + default: + return null; } } @@ -129,28 +159,28 @@ public static GPUSharingStrategy forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GPUSharingStrategy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GPUSharingStrategy findValueByNumber(int number) { - return GPUSharingStrategy.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GPUSharingStrategy findValueByNumber(int number) { + return GPUSharingStrategy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.GPUSharingConfig.getDescriptor().getEnumTypes().get(0); } @@ -159,8 +189,7 @@ public GPUSharingStrategy findValueByNumber(int number) { public static GPUSharingStrategy valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -181,11 +210,14 @@ private GPUSharingStrategy(int value) { public static final int MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 1; private long maxSharedClientsPerGpu_; /** + * + * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -196,42 +228,64 @@ public long getMaxSharedClientsPerGpu() { public static final int GPU_SHARING_STRATEGY_FIELD_NUMBER = 2; private int gpuSharingStrategy_; /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override public boolean hasGpuSharingStrategy() { + @java.lang.Override + public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override public int getGpuSharingStrategyValue() { + @java.lang.Override + public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The gpuSharingStrategy. */ - @java.lang.Override public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + @java.lang.Override + public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); - return result == null ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null + ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxSharedClientsPerGpu_ != 0L) { output.writeInt64(1, maxSharedClientsPerGpu_); } @@ -261,12 +314,10 @@ public int getSerializedSize() { size = 0; if (maxSharedClientsPerGpu_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, maxSharedClientsPerGpu_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxSharedClientsPerGpu_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, gpuSharingStrategy_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, gpuSharingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -276,15 +327,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GPUSharingConfig)) { return super.equals(obj); } com.google.container.v1.GPUSharingConfig other = (com.google.container.v1.GPUSharingConfig) obj; - if (getMaxSharedClientsPerGpu() - != other.getMaxSharedClientsPerGpu()) return false; + if (getMaxSharedClientsPerGpu() != other.getMaxSharedClientsPerGpu()) return false; if (hasGpuSharingStrategy() != other.hasGpuSharingStrategy()) return false; if (hasGpuSharingStrategy()) { if (gpuSharingStrategy_ != other.gpuSharingStrategy_) return false; @@ -301,8 +351,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxSharedClientsPerGpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxSharedClientsPerGpu()); if (hasGpuSharingStrategy()) { hash = (37 * hash) + GPU_SHARING_STRATEGY_FIELD_NUMBER; hash = (53 * hash) + gpuSharingStrategy_; @@ -312,97 +361,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GPUSharingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GPUSharingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GPUSharingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GPUSharingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GPUSharingConfig parseFrom( 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.GPUSharingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GPUSharingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GPUSharingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GPUSharingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GPUSharingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GPUSharingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GPUSharingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GPUSharingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GPUSharingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GPUSharingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GPUSharingConfig represents the GPU sharing configuration for Hardware
    * Accelerators.
@@ -410,33 +466,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.GPUSharingConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GPUSharingConfig)
       com.google.container.v1.GPUSharingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GPUSharingConfig.class, com.google.container.v1.GPUSharingConfig.Builder.class);
+              com.google.container.v1.GPUSharingConfig.class,
+              com.google.container.v1.GPUSharingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.GPUSharingConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +503,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GPUSharingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -469,7 +524,8 @@ public com.google.container.v1.GPUSharingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.GPUSharingConfig buildPartial() {
-      com.google.container.v1.GPUSharingConfig result = new com.google.container.v1.GPUSharingConfig(this);
+      com.google.container.v1.GPUSharingConfig result =
+          new com.google.container.v1.GPUSharingConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.maxSharedClientsPerGpu_ = maxSharedClientsPerGpu_;
@@ -486,38 +542,39 @@ public com.google.container.v1.GPUSharingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GPUSharingConfig) {
-        return mergeFrom((com.google.container.v1.GPUSharingConfig)other);
+        return mergeFrom((com.google.container.v1.GPUSharingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,22 +615,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              maxSharedClientsPerGpu_ = input.readInt64();
-
-              break;
-            } // case 8
-            case 16: {
-              gpuSharingStrategy_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                maxSharedClientsPerGpu_ = input.readInt64();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                gpuSharingStrategy_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -583,15 +643,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long maxSharedClientsPerGpu_ ;
+    private long maxSharedClientsPerGpu_;
     /**
+     *
+     *
      * 
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -599,30 +663,36 @@ public long getMaxSharedClientsPerGpu() { return maxSharedClientsPerGpu_; } /** + * + * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; + * * @param value The maxSharedClientsPerGpu to set. * @return This builder for chaining. */ public Builder setMaxSharedClientsPerGpu(long value) { - + maxSharedClientsPerGpu_ = value; onChanged(); return this; } /** + * + * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return This builder for chaining. */ public Builder clearMaxSharedClientsPerGpu() { - + maxSharedClientsPerGpu_ = 0L; onChanged(); return this; @@ -630,33 +700,50 @@ public Builder clearMaxSharedClientsPerGpu() { private int gpuSharingStrategy_ = 0; /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override public boolean hasGpuSharingStrategy() { + @java.lang.Override + public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override public int getGpuSharingStrategyValue() { + @java.lang.Override + public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @param value The enum numeric value on the wire for gpuSharingStrategy to set. * @return This builder for chaining. */ @@ -667,29 +754,43 @@ public Builder setGpuSharingStrategyValue(int value) { return this; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The gpuSharingStrategy. */ @java.lang.Override public com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); - return result == null ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); + return result == null + ? com.google.container.v1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @param value The gpuSharingStrategy to set. * @return This builder for chaining. */ - public Builder setGpuSharingStrategy(com.google.container.v1.GPUSharingConfig.GPUSharingStrategy value) { + public Builder setGpuSharingStrategy( + com.google.container.v1.GPUSharingConfig.GPUSharingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -699,11 +800,16 @@ public Builder setGpuSharingStrategy(com.google.container.v1.GPUSharingConfig.GP return this; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return This builder for chaining. */ public Builder clearGpuSharingStrategy() { @@ -712,9 +818,9 @@ public Builder clearGpuSharingStrategy() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -724,12 +830,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GPUSharingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GPUSharingConfig) private static final com.google.container.v1.GPUSharingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GPUSharingConfig(); } @@ -738,27 +844,27 @@ public static com.google.container.v1.GPUSharingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GPUSharingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GPUSharingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -773,6 +879,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GPUSharingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java index cd7d0b60981f..b259514e2645 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GPUSharingConfigOrBuilder.java @@ -1,46 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface GPUSharingConfigOrBuilder extends +public interface GPUSharingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GPUSharingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return The maxSharedClientsPerGpu. */ long getMaxSharedClientsPerGpu(); /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return Whether the gpuSharingStrategy field is set. */ boolean hasGpuSharingStrategy(); /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The enum numeric value on the wire for gpuSharingStrategy. */ int getGpuSharingStrategyValue(); /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The gpuSharingStrategy. */ com.google.container.v1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java index 03a3cd464a1c..cf2a66a6776e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfig.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
  * 
* * Protobuf type {@code google.container.v1.GatewayAPIConfig} */ -public final class GatewayAPIConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GatewayAPIConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GatewayAPIConfig) GatewayAPIConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GatewayAPIConfig.newBuilder() to construct. private GatewayAPIConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GatewayAPIConfig() { channel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GatewayAPIConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GatewayAPIConfig.class, com.google.container.v1.GatewayAPIConfig.Builder.class); + com.google.container.v1.GatewayAPIConfig.class, + com.google.container.v1.GatewayAPIConfig.Builder.class); } /** + * + * *
    * Channel describes if/how Gateway API should be installed and implemented in
    * a cluster.
@@ -56,9 +77,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1.GatewayAPIConfig.Channel}
    */
-  public enum Channel
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -67,6 +89,8 @@ public enum Channel */ CHANNEL_UNSPECIFIED(0), /** + * + * *
      * Gateway API support is disabled
      * 
@@ -75,6 +99,8 @@ public enum Channel */ CHANNEL_DISABLED(1), /** + * + * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -83,6 +109,8 @@ public enum Channel */ CHANNEL_EXPERIMENTAL(3), /** + * + * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -94,6 +122,8 @@ public enum Channel ; /** + * + * *
      * Default value.
      * 
@@ -102,6 +132,8 @@ public enum Channel */ public static final int CHANNEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Gateway API support is disabled
      * 
@@ -110,6 +142,8 @@ public enum Channel */ public static final int CHANNEL_DISABLED_VALUE = 1; /** + * + * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -118,6 +152,8 @@ public enum Channel */ public static final int CHANNEL_EXPERIMENTAL_VALUE = 3; /** + * + * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -126,7 +162,6 @@ public enum Channel */ public static final int CHANNEL_STANDARD_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -151,50 +186,51 @@ public static Channel valueOf(int value) { */ public static Channel forNumber(int value) { switch (value) { - case 0: return CHANNEL_UNSPECIFIED; - case 1: return CHANNEL_DISABLED; - case 3: return CHANNEL_EXPERIMENTAL; - case 4: return CHANNEL_STANDARD; - default: return null; + case 0: + return CHANNEL_UNSPECIFIED; + case 1: + return CHANNEL_DISABLED; + case 3: + return CHANNEL_EXPERIMENTAL; + case 4: + return CHANNEL_STANDARD; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Channel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Channel findValueByNumber(int number) { - return Channel.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Channel findValueByNumber(int number) { + return Channel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.GatewayAPIConfig.getDescriptor().getEnumTypes().get(0); } private static final Channel[] VALUES = values(); - public static Channel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -214,31 +250,41 @@ private Channel(int value) { public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @return The channel. */ - @java.lang.Override public com.google.container.v1.GatewayAPIConfig.Channel getChannel() { + @java.lang.Override + public com.google.container.v1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.GatewayAPIConfig.Channel result = com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); + com.google.container.v1.GatewayAPIConfig.Channel result = + com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); return result == null ? com.google.container.v1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,9 +296,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (channel_ != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (channel_ + != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } getUnknownFields().writeTo(output); @@ -264,9 +310,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (channel_ != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, channel_); + if (channel_ + != com.google.container.v1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -276,7 +322,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GatewayAPIConfig)) { return super.equals(obj); @@ -302,130 +348,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GatewayAPIConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GatewayAPIConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GatewayAPIConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GatewayAPIConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GatewayAPIConfig parseFrom( 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.GatewayAPIConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GatewayAPIConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GatewayAPIConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GatewayAPIConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GatewayAPIConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GatewayAPIConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GatewayAPIConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GatewayAPIConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GatewayAPIConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GatewayAPIConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
    * 
* * Protobuf type {@code google.container.v1.GatewayAPIConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GatewayAPIConfig) com.google.container.v1.GatewayAPIConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GatewayAPIConfig.class, com.google.container.v1.GatewayAPIConfig.Builder.class); + com.google.container.v1.GatewayAPIConfig.class, + com.google.container.v1.GatewayAPIConfig.Builder.class); } // Construct using com.google.container.v1.GatewayAPIConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GatewayAPIConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GatewayAPIConfig_descriptor; } @java.lang.Override @@ -456,7 +508,8 @@ public com.google.container.v1.GatewayAPIConfig build() { @java.lang.Override public com.google.container.v1.GatewayAPIConfig buildPartial() { - com.google.container.v1.GatewayAPIConfig result = new com.google.container.v1.GatewayAPIConfig(this); + com.google.container.v1.GatewayAPIConfig result = + new com.google.container.v1.GatewayAPIConfig(this); result.channel_ = channel_; onBuilt(); return result; @@ -466,38 +519,39 @@ public com.google.container.v1.GatewayAPIConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GatewayAPIConfig) { - return mergeFrom((com.google.container.v1.GatewayAPIConfig)other); + return mergeFrom((com.google.container.v1.GatewayAPIConfig) other); } else { super.mergeFrom(other); return this; @@ -535,17 +589,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - channel_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + channel_ = input.readEnum(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -558,51 +614,67 @@ public Builder mergeFrom( private int channel_ = 0; /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @return The channel. */ @java.lang.Override public com.google.container.v1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.GatewayAPIConfig.Channel result = com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); - return result == null ? com.google.container.v1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; + com.google.container.v1.GatewayAPIConfig.Channel result = + com.google.container.v1.GatewayAPIConfig.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1.GatewayAPIConfig.Channel.UNRECOGNIZED + : result; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @param value The channel to set. * @return This builder for chaining. */ @@ -610,28 +682,31 @@ public Builder setChannel(com.google.container.v1.GatewayAPIConfig.Channel value if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GatewayAPIConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GatewayAPIConfig) private static final com.google.container.v1.GatewayAPIConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GatewayAPIConfig(); } @@ -655,27 +730,27 @@ public static com.google.container.v1.GatewayAPIConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GatewayAPIConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GatewayAPIConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -690,6 +765,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GatewayAPIConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java index 0b046cd810cc..f3c6d01e77ce 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GatewayAPIConfigOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GatewayAPIConfigOrBuilder extends +public interface GatewayAPIConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GatewayAPIConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1.GatewayAPIConfig.Channel channel = 1; + * * @return The channel. */ com.google.container.v1.GatewayAPIConfig.Channel getChannel(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java index dfe9fa7b5120..dd335385d18c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfig.java @@ -1,60 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for the Compute Engine PD CSI driver.
  * 
* * Protobuf type {@code google.container.v1.GcePersistentDiskCsiDriverConfig} */ -public final class GcePersistentDiskCsiDriverConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcePersistentDiskCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GcePersistentDiskCsiDriverConfig) GcePersistentDiskCsiDriverConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcePersistentDiskCsiDriverConfig.newBuilder() to construct. - private GcePersistentDiskCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GcePersistentDiskCsiDriverConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcePersistentDiskCsiDriverConfig() { - } + + private GcePersistentDiskCsiDriverConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcePersistentDiskCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, + com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the Compute Engine PD CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GcePersistentDiskCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1.GcePersistentDiskCsiDriverConfig other = (com.google.container.v1.GcePersistentDiskCsiDriverConfig) obj; + com.google.container.v1.GcePersistentDiskCsiDriverConfig other = + (com.google.container.v1.GcePersistentDiskCsiDriverConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +142,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( 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.GcePersistentDiskCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.GcePersistentDiskCsiDriverConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1.GcePersistentDiskCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the Compute Engine PD CSI driver.
    * 
* * Protobuf type {@code google.container.v1.GcePersistentDiskCsiDriverConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GcePersistentDiskCsiDriverConfig) com.google.container.v1.GcePersistentDiskCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1.GcePersistentDiskCsiDriverConfig.class, + com.google.container.v1.GcePersistentDiskCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1.GcePersistentDiskCsiDriverConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +288,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override @@ -282,7 +309,8 @@ public com.google.container.v1.GcePersistentDiskCsiDriverConfig build() { @java.lang.Override public com.google.container.v1.GcePersistentDiskCsiDriverConfig buildPartial() { - com.google.container.v1.GcePersistentDiskCsiDriverConfig result = new com.google.container.v1.GcePersistentDiskCsiDriverConfig(this); + com.google.container.v1.GcePersistentDiskCsiDriverConfig result = + new com.google.container.v1.GcePersistentDiskCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +320,39 @@ public com.google.container.v1.GcePersistentDiskCsiDriverConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GcePersistentDiskCsiDriverConfig) { - return mergeFrom((com.google.container.v1.GcePersistentDiskCsiDriverConfig)other); + return mergeFrom((com.google.container.v1.GcePersistentDiskCsiDriverConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +360,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.GcePersistentDiskCsiDriverConfig other) { - if (other == com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +391,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +414,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +431,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GcePersistentDiskCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GcePersistentDiskCsiDriverConfig) private static final com.google.container.v1.GcePersistentDiskCsiDriverConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GcePersistentDiskCsiDriverConfig(); } @@ -450,27 +491,27 @@ public static com.google.container.v1.GcePersistentDiskCsiDriverConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcePersistentDiskCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcePersistentDiskCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +526,4 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1.GcePersistentDiskCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..9e3e81556c7a --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GcePersistentDiskCsiDriverConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GcePersistentDiskCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java index 77fb6152731a..c8e4473ab13e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * GcfsConfig contains configurations of Google Container File System
  * (image streaming).
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1.GcfsConfig}
  */
-public final class GcfsConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GcfsConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GcfsConfig)
     GcfsConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GcfsConfig.newBuilder() to construct.
   private GcfsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private GcfsConfig() {
-  }
+
+  private GcfsConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GcfsConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GcfsConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GcfsConfig.class, com.google.container.v1.GcfsConfig.Builder.class);
+            com.google.container.v1.GcfsConfig.class,
+            com.google.container.v1.GcfsConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Whether to use GCFS.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GcfsConfig)) { return super.equals(obj); } com.google.container.v1.GcfsConfig other = (com.google.container.v1.GcfsConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +141,109 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.GcfsConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GcfsConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcfsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcfsConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.GcfsConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcfsConfig parseFrom( 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.GcfsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcfsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GcfsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GcfsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GcfsConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GcfsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GcfsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GcfsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GcfsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GcfsConfig contains configurations of Google Container File System
    * (image streaming).
@@ -227,33 +251,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.GcfsConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GcfsConfig)
       com.google.container.v1.GcfsConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GcfsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GcfsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GcfsConfig.class, com.google.container.v1.GcfsConfig.Builder.class);
+              com.google.container.v1.GcfsConfig.class,
+              com.google.container.v1.GcfsConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.GcfsConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +286,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcfsConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GcfsConfig_descriptor;
     }
 
     @java.lang.Override
@@ -294,38 +317,39 @@ public com.google.container.v1.GcfsConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GcfsConfig) {
-        return mergeFrom((com.google.container.v1.GcfsConfig)other);
+        return mergeFrom((com.google.container.v1.GcfsConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,17 +387,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +410,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether to use GCFS.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +427,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GcfsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GcfsConfig) private static final com.google.container.v1.GcfsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GcfsConfig(); } @@ -452,27 +487,27 @@ public static com.google.container.v1.GcfsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcfsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcfsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +522,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GcfsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java new file mode 100644 index 000000000000..cd3b815cf7f0 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GcfsConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GcfsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether to use GCFS.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java index dfbcbe0303a3..80e4e8242622 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for the GCP Filestore CSI driver.
  * 
* * Protobuf type {@code google.container.v1.GcpFilestoreCsiDriverConfig} */ -public final class GcpFilestoreCsiDriverConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcpFilestoreCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GcpFilestoreCsiDriverConfig) GcpFilestoreCsiDriverConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcpFilestoreCsiDriverConfig.newBuilder() to construct. private GcpFilestoreCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcpFilestoreCsiDriverConfig() { - } + + private GcpFilestoreCsiDriverConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcpFilestoreCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1.GcpFilestoreCsiDriverConfig.class, + com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the GCP Filestore CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GcpFilestoreCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1.GcpFilestoreCsiDriverConfig other = (com.google.container.v1.GcpFilestoreCsiDriverConfig) obj; + com.google.container.v1.GcpFilestoreCsiDriverConfig other = + (com.google.container.v1.GcpFilestoreCsiDriverConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( 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.GcpFilestoreCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GcpFilestoreCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* * Protobuf type {@code google.container.v1.GcpFilestoreCsiDriverConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GcpFilestoreCsiDriverConfig) com.google.container.v1.GcpFilestoreCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1.GcpFilestoreCsiDriverConfig.class, + com.google.container.v1.GcpFilestoreCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1.GcpFilestoreCsiDriverConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.GcpFilestoreCsiDriverConfig build() { @java.lang.Override public com.google.container.v1.GcpFilestoreCsiDriverConfig buildPartial() { - com.google.container.v1.GcpFilestoreCsiDriverConfig result = new com.google.container.v1.GcpFilestoreCsiDriverConfig(this); + com.google.container.v1.GcpFilestoreCsiDriverConfig result = + new com.google.container.v1.GcpFilestoreCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.GcpFilestoreCsiDriverConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GcpFilestoreCsiDriverConfig) { - return mergeFrom((com.google.container.v1.GcpFilestoreCsiDriverConfig)other); + return mergeFrom((com.google.container.v1.GcpFilestoreCsiDriverConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.GcpFilestoreCsiDriverConfig other) { - if (other == com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GcpFilestoreCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GcpFilestoreCsiDriverConfig) private static final com.google.container.v1.GcpFilestoreCsiDriverConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GcpFilestoreCsiDriverConfig(); } @@ -450,27 +489,27 @@ public static com.google.container.v1.GcpFilestoreCsiDriverConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcpFilestoreCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcpFilestoreCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.GcpFilestoreCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..cb4455a7b753 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GcpFilestoreCsiDriverConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GcpFilestoreCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the GCP Filestore CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index 2e16d5eb8b30..5e06f7d47d3f 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * GetClusterRequest gets the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1.GetClusterRequest} */ -public final class GetClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GetClusterRequest) GetClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetClusterRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetClusterRequest.class, com.google.container.v1.GetClusterRequest.Builder.class); + com.google.container.v1.GetClusterRequest.class, + com.google.container.v1.GetClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +250,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -230,30 +267,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +299,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +353,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetClusterRequest)) { return super.equals(obj); } - com.google.container.v1.GetClusterRequest other = (com.google.container.v1.GetClusterRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.GetClusterRequest other = + (com.google.container.v1.GetClusterRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,130 +389,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GetClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetClusterRequest parseFrom( 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.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GetClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetClusterRequest gets the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1.GetClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetClusterRequest) com.google.container.v1.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetClusterRequest.class, com.google.container.v1.GetClusterRequest.Builder.class); + com.google.container.v1.GetClusterRequest.class, + com.google.container.v1.GetClusterRequest.Builder.class); } // Construct using com.google.container.v1.GetClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetClusterRequest_descriptor; } @java.lang.Override @@ -515,7 +555,8 @@ public com.google.container.v1.GetClusterRequest build() { @java.lang.Override public com.google.container.v1.GetClusterRequest buildPartial() { - com.google.container.v1.GetClusterRequest result = new com.google.container.v1.GetClusterRequest(this); + com.google.container.v1.GetClusterRequest result = + new com.google.container.v1.GetClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +569,39 @@ public com.google.container.v1.GetClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetClusterRequest) { - return mergeFrom((com.google.container.v1.GetClusterRequest)other); + return mergeFrom((com.google.container.v1.GetClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -610,32 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,6 +695,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -655,15 +704,16 @@ 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=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,6 +722,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -679,17 +731,17 @@ 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=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,6 +749,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,22 +758,25 @@ 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=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -727,17 +784,21 @@ 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=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,18 +806,19 @@ 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=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +826,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +836,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +854,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +864,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +882,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +892,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +919,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +942,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +962,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +988,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1014,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1088,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1111,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1134,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetClusterRequest) private static final com.google.container.v1.GetClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GetClusterRequest(); } @@ -1120,27 +1222,27 @@ public static com.google.container.v1.GetClusterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1257,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java index 69fa39f86ad0..5de52c61783d 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetClusterRequestOrBuilder extends +public interface GetClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface GetClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface GetClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2157 + * + * @deprecated google.container.v1.GetClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2157 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface GetClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +87,71 @@ public interface GetClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2163 + * + * @deprecated google.container.v1.GetClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2163 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2167 + * + * @deprecated google.container.v1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2167 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java index ec1b4c61bb77..1c531d01ced4 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * GetJSONWebKeysRequest gets the public component of the keys used by the
  * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -13,53 +30,58 @@
  *
  * Protobuf type {@code google.container.v1.GetJSONWebKeysRequest}
  */
-public final class GetJSONWebKeysRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetJSONWebKeysRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GetJSONWebKeysRequest)
     GetJSONWebKeysRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetJSONWebKeysRequest.newBuilder() to construct.
   private GetJSONWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetJSONWebKeysRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetJSONWebKeysRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GetJSONWebKeysRequest.class, com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
+            com.google.container.v1.GetJSONWebKeysRequest.class,
+            com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -68,30 +90,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,6 +122,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -136,15 +158,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetJSONWebKeysRequest)) { return super.equals(obj); } - com.google.container.v1.GetJSONWebKeysRequest other = (com.google.container.v1.GetJSONWebKeysRequest) obj; + com.google.container.v1.GetJSONWebKeysRequest other = + (com.google.container.v1.GetJSONWebKeysRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,97 +185,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetJSONWebKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( 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.GetJSONWebKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetJSONWebKeysRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GetJSONWebKeysRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GetJSONWebKeysRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetJSONWebKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GetJSONWebKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetJSONWebKeysRequest gets the public component of the keys used by the
    * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -263,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.GetJSONWebKeysRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GetJSONWebKeysRequest)
       com.google.container.v1.GetJSONWebKeysRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GetJSONWebKeysRequest.class, com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
+              com.google.container.v1.GetJSONWebKeysRequest.class,
+              com.google.container.v1.GetJSONWebKeysRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.GetJSONWebKeysRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -299,9 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
@@ -320,7 +348,8 @@ public com.google.container.v1.GetJSONWebKeysRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.GetJSONWebKeysRequest buildPartial() {
-      com.google.container.v1.GetJSONWebKeysRequest result = new com.google.container.v1.GetJSONWebKeysRequest(this);
+      com.google.container.v1.GetJSONWebKeysRequest result =
+          new com.google.container.v1.GetJSONWebKeysRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -330,38 +359,39 @@ public com.google.container.v1.GetJSONWebKeysRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GetJSONWebKeysRequest) {
-        return mergeFrom((com.google.container.v1.GetJSONWebKeysRequest)other);
+        return mergeFrom((com.google.container.v1.GetJSONWebKeysRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -400,17 +430,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                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) {
@@ -423,19 +455,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -444,21 +478,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -466,64 +501,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GetJSONWebKeysRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetJSONWebKeysRequest) private static final com.google.container.v1.GetJSONWebKeysRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GetJSONWebKeysRequest(); } @@ -547,27 +589,27 @@ public static com.google.container.v1.GetJSONWebKeysRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJSONWebKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJSONWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +624,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetJSONWebKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java index 73a69640e1a2..bb47f6a3dd8f 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetJSONWebKeysRequestOrBuilder extends +public interface GetJSONWebKeysRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetJSONWebKeysRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java index 7bccb3c18b78..fe085f38f8f2 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponse.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
  * 
* * Protobuf type {@code google.container.v1.GetJSONWebKeysResponse} */ -public final class GetJSONWebKeysResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJSONWebKeysResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GetJSONWebKeysResponse) GetJSONWebKeysResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJSONWebKeysResponse.newBuilder() to construct. private GetJSONWebKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJSONWebKeysResponse() { keys_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJSONWebKeysResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetJSONWebKeysResponse.class, com.google.container.v1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1.GetJSONWebKeysResponse.class, + com.google.container.v1.GetJSONWebKeysResponse.Builder.class); } public static final int KEYS_FIELD_NUMBER = 1; private java.util.List keys_; /** + * + * *
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -63,6 +84,8 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -71,11 +94,12 @@ public java.util.List getKeysList() {
    * repeated .google.container.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getKeysOrBuilderList() {
+  public java.util.List getKeysOrBuilderList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -88,6 +112,8 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -100,6 +126,8 @@ public com.google.container.v1.Jwk getKeys(int index) {
     return keys_.get(index);
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -108,12 +136,12 @@ public com.google.container.v1.Jwk getKeys(int index) {
    * repeated .google.container.v1.Jwk keys = 1;
    */
   @java.lang.Override
-  public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
-      int index) {
+  public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -125,8 +153,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -140,8 +167,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -151,15 +177,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.GetJSONWebKeysResponse)) {
       return super.equals(obj);
     }
-    com.google.container.v1.GetJSONWebKeysResponse other = (com.google.container.v1.GetJSONWebKeysResponse) obj;
+    com.google.container.v1.GetJSONWebKeysResponse other =
+        (com.google.container.v1.GetJSONWebKeysResponse) obj;
 
-    if (!getKeysList()
-        .equals(other.getKeysList())) return false;
+    if (!getKeysList().equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -180,130 +206,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
       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.GetJSONWebKeysResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1.GetJSONWebKeysResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1.GetJSONWebKeysResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.GetJSONWebKeysResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
    * 
* * Protobuf type {@code google.container.v1.GetJSONWebKeysResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetJSONWebKeysResponse) com.google.container.v1.GetJSONWebKeysResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetJSONWebKeysResponse.class, com.google.container.v1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1.GetJSONWebKeysResponse.class, + com.google.container.v1.GetJSONWebKeysResponse.Builder.class); } // Construct using com.google.container.v1.GetJSONWebKeysResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override @@ -339,7 +371,8 @@ public com.google.container.v1.GetJSONWebKeysResponse build() { @java.lang.Override public com.google.container.v1.GetJSONWebKeysResponse buildPartial() { - com.google.container.v1.GetJSONWebKeysResponse result = new com.google.container.v1.GetJSONWebKeysResponse(this); + com.google.container.v1.GetJSONWebKeysResponse result = + new com.google.container.v1.GetJSONWebKeysResponse(this); int from_bitField0_ = bitField0_; if (keysBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -358,38 +391,39 @@ public com.google.container.v1.GetJSONWebKeysResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetJSONWebKeysResponse) { - return mergeFrom((com.google.container.v1.GetJSONWebKeysResponse)other); + return mergeFrom((com.google.container.v1.GetJSONWebKeysResponse) other); } else { super.mergeFrom(other); return this; @@ -416,9 +450,10 @@ public Builder mergeFrom(com.google.container.v1.GetJSONWebKeysResponse other) { keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getKeysFieldBuilder() : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getKeysFieldBuilder() + : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -450,25 +485,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1.Jwk m = - input.readMessage( - com.google.container.v1.Jwk.parser(), - extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1.Jwk m = + input.readMessage(com.google.container.v1.Jwk.parser(), extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -478,21 +513,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List keys_ = - java.util.Collections.emptyList(); + private java.util.List keys_ = java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Jwk, com.google.container.v1.Jwk.Builder, com.google.container.v1.JwkOrBuilder> keysBuilder_; + com.google.container.v1.Jwk, + com.google.container.v1.Jwk.Builder, + com.google.container.v1.JwkOrBuilder> + keysBuilder_; /** + * + * *
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -508,6 +549,8 @@ public java.util.List getKeysList() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -523,6 +566,8 @@ public int getKeysCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -538,6 +583,8 @@ public com.google.container.v1.Jwk getKeys(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -545,8 +592,7 @@ public com.google.container.v1.Jwk getKeys(int index) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.container.v1.Jwk value) {
+    public Builder setKeys(int index, com.google.container.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -560,6 +606,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -567,8 +615,7 @@ public Builder setKeys(
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.container.v1.Jwk.Builder builderForValue) {
+    public Builder setKeys(int index, com.google.container.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -579,6 +626,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -600,6 +649,8 @@ public Builder addKeys(com.google.container.v1.Jwk value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -607,8 +658,7 @@ public Builder addKeys(com.google.container.v1.Jwk value) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.container.v1.Jwk value) {
+    public Builder addKeys(int index, com.google.container.v1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -622,6 +672,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -629,8 +681,7 @@ public Builder addKeys(
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        com.google.container.v1.Jwk.Builder builderForValue) {
+    public Builder addKeys(com.google.container.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -641,6 +692,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -648,8 +701,7 @@ public Builder addKeys(
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.container.v1.Jwk.Builder builderForValue) {
+    public Builder addKeys(int index, com.google.container.v1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -660,6 +712,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -667,12 +721,10 @@ public Builder addKeys(
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public Builder addAllKeys(
-        java.lang.Iterable values) {
+    public Builder addAllKeys(java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -680,6 +732,8 @@ public Builder addAllKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -698,6 +752,8 @@ public Builder clearKeys() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -716,6 +772,8 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -723,11 +781,12 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public com.google.container.v1.Jwk.Builder getKeysBuilder(
-        int index) {
+    public com.google.container.v1.Jwk.Builder getKeysBuilder(int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -735,14 +794,16 @@ public com.google.container.v1.Jwk.Builder getKeysBuilder(
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
-        int index) {
+    public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);  } else {
+        return keys_.get(index);
+      } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -750,8 +811,7 @@ public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysOrBuilderList() {
+    public java.util.List getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -759,6 +819,8 @@ public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -767,10 +829,11 @@ public com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
      * repeated .google.container.v1.Jwk keys = 1;
      */
     public com.google.container.v1.Jwk.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(
-          com.google.container.v1.Jwk.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(com.google.container.v1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -778,12 +841,13 @@ public com.google.container.v1.Jwk.Builder addKeysBuilder() {
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public com.google.container.v1.Jwk.Builder addKeysBuilder(
-        int index) {
-      return getKeysFieldBuilder().addBuilder(
-          index, com.google.container.v1.Jwk.getDefaultInstance());
+    public com.google.container.v1.Jwk.Builder addKeysBuilder(int index) {
+      return getKeysFieldBuilder()
+          .addBuilder(index, com.google.container.v1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -791,27 +855,29 @@ public com.google.container.v1.Jwk.Builder addKeysBuilder(
      *
      * repeated .google.container.v1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysBuilderList() {
+    public java.util.List getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.Jwk, com.google.container.v1.Jwk.Builder, com.google.container.v1.JwkOrBuilder> 
+            com.google.container.v1.Jwk,
+            com.google.container.v1.Jwk.Builder,
+            com.google.container.v1.JwkOrBuilder>
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.Jwk, com.google.container.v1.Jwk.Builder, com.google.container.v1.JwkOrBuilder>(
-                keys_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        keysBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1.Jwk,
+                com.google.container.v1.Jwk.Builder,
+                com.google.container.v1.JwkOrBuilder>(
+                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -821,12 +887,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.GetJSONWebKeysResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.GetJSONWebKeysResponse)
   private static final com.google.container.v1.GetJSONWebKeysResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.GetJSONWebKeysResponse();
   }
@@ -835,27 +901,27 @@ public static com.google.container.v1.GetJSONWebKeysResponse getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public GetJSONWebKeysResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GetJSONWebKeysResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -870,6 +936,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.GetJSONWebKeysResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
similarity index 61%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
index 0031bb1117a5..dcc6e6f26894 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetJSONWebKeysResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface GetJSONWebKeysResponseOrBuilder extends
+public interface GetJSONWebKeysResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.GetJSONWebKeysResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -15,9 +33,10 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    *
    * repeated .google.container.v1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysList();
+  java.util.List getKeysList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -27,6 +46,8 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    */
   com.google.container.v1.Jwk getKeys(int index);
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -36,6 +57,8 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    */
   int getKeysCount();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -43,9 +66,10 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    *
    * repeated .google.container.v1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysOrBuilderList();
+  java.util.List getKeysOrBuilderList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -53,6 +77,5 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    *
    * repeated .google.container.v1.Jwk keys = 1;
    */
-  com.google.container.v1.JwkOrBuilder getKeysOrBuilder(
-      int index);
+  com.google.container.v1.JwkOrBuilder getKeysOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-container/v1/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
similarity index 68%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java
index 9ce43ce8f9b3..d8ce71728660 100644
--- a/owl-bot-staging/java-container/v1/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
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * GetNodePoolRequest retrieves a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1.GetNodePoolRequest} */ -public final class GetNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GetNodePoolRequest) GetNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetNodePoolRequest.newBuilder() to construct. private GetNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private GetNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetNodePoolRequest.class, com.google.container.v1.GetNodePoolRequest.Builder.class); + com.google.container.v1.GetNodePoolRequest.class, + com.google.container.v1.GetNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +251,53 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,6 +308,8 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -276,6 +317,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -284,14 +326,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -299,16 +342,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -317,6 +359,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +371,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -377,23 +419,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1.GetNodePoolRequest other = (com.google.container.v1.GetNodePoolRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.GetNodePoolRequest other = + (com.google.container.v1.GetNodePoolRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -420,130 +458,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetNodePoolRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GetNodePoolRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetNodePoolRequest parseFrom( 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.GetNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GetNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GetNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GetNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GetNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GetNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetNodePoolRequest retrieves a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1.GetNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetNodePoolRequest) com.google.container.v1.GetNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetNodePoolRequest.class, com.google.container.v1.GetNodePoolRequest.Builder.class); + com.google.container.v1.GetNodePoolRequest.class, + com.google.container.v1.GetNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.GetNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +605,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetNodePoolRequest_descriptor; } @java.lang.Override @@ -582,7 +626,8 @@ public com.google.container.v1.GetNodePoolRequest build() { @java.lang.Override public com.google.container.v1.GetNodePoolRequest buildPartial() { - com.google.container.v1.GetNodePoolRequest result = new com.google.container.v1.GetNodePoolRequest(this); + com.google.container.v1.GetNodePoolRequest result = + new com.google.container.v1.GetNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -596,38 +641,39 @@ public com.google.container.v1.GetNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetNodePoolRequest) { - return mergeFrom((com.google.container.v1.GetNodePoolRequest)other); + return mergeFrom((com.google.container.v1.GetNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -682,37 +728,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,6 +777,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -732,15 +786,16 @@ 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=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -749,6 +804,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -756,17 +813,17 @@ 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=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -774,6 +831,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -781,22 +840,25 @@ 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=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -804,17 +866,21 @@ 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=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -822,18 +888,19 @@ 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=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -841,6 +908,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -849,15 +918,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -866,6 +936,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +946,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -892,6 +964,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,22 +974,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,17 +1001,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,18 +1024,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,21 +1044,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -985,23 +1070,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,63 +1096,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1073,21 +1170,24 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1096,23 +1196,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1120,63 +1222,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1184,6 +1296,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1191,13 +1305,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1206,6 +1320,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1213,15 +1329,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1229,6 +1344,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1236,20 +1353,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1257,15 +1376,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1273,23 +1395,23 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1299,12 +1421,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GetNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetNodePoolRequest) private static final com.google.container.v1.GetNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GetNodePoolRequest(); } @@ -1313,27 +1435,27 @@ public static com.google.container.v1.GetNodePoolRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1348,6 +1470,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java index 25c2bd879adf..f1d7d80beba4 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetNodePoolRequestOrBuilder extends +public interface GetNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2792 + * + * @deprecated google.container.v1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2792 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +87,83 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2798 + * + * @deprecated google.container.v1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2798 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2802 + * + * @deprecated google.container.v1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2802 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2806 + * + * @deprecated google.container.v1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2806 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -125,10 +171,13 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -136,8 +185,8 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java index 452c3789a691..4dbfa10daed7 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * GetOpenIDConfigRequest gets the OIDC discovery document for the
  * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.container.v1.GetOpenIDConfigRequest}
  */
-public final class GetOpenIDConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetOpenIDConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GetOpenIDConfigRequest)
     GetOpenIDConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigRequest.newBuilder() to construct.
   private GetOpenIDConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetOpenIDConfigRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetOpenIDConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GetOpenIDConfigRequest.class, com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
+            com.google.container.v1.GetOpenIDConfigRequest.class,
+            com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -66,30 +88,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +120,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -134,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetOpenIDConfigRequest)) { return super.equals(obj); } - com.google.container.v1.GetOpenIDConfigRequest other = (com.google.container.v1.GetOpenIDConfigRequest) obj; + com.google.container.v1.GetOpenIDConfigRequest other = + (com.google.container.v1.GetOpenIDConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,97 +183,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( 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.GetOpenIDConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GetOpenIDConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetOpenIDConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GetOpenIDConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetOpenIDConfigRequest gets the OIDC discovery document for the
    * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -259,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.GetOpenIDConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GetOpenIDConfigRequest)
       com.google.container.v1.GetOpenIDConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GetOpenIDConfigRequest.class, com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
+              com.google.container.v1.GetOpenIDConfigRequest.class,
+              com.google.container.v1.GetOpenIDConfigRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.GetOpenIDConfigRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +323,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,7 +344,8 @@ public com.google.container.v1.GetOpenIDConfigRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.GetOpenIDConfigRequest buildPartial() {
-      com.google.container.v1.GetOpenIDConfigRequest result = new com.google.container.v1.GetOpenIDConfigRequest(this);
+      com.google.container.v1.GetOpenIDConfigRequest result =
+          new com.google.container.v1.GetOpenIDConfigRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -326,38 +355,39 @@ public com.google.container.v1.GetOpenIDConfigRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GetOpenIDConfigRequest) {
-        return mergeFrom((com.google.container.v1.GetOpenIDConfigRequest)other);
+        return mergeFrom((com.google.container.v1.GetOpenIDConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -396,17 +426,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +451,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -440,21 +474,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -462,64 +497,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GetOpenIDConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetOpenIDConfigRequest) private static final com.google.container.v1.GetOpenIDConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GetOpenIDConfigRequest(); } @@ -543,27 +585,27 @@ public static com.google.container.v1.GetOpenIDConfigRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -578,6 +620,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetOpenIDConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java index 619f46728e64..b0e8910cc938 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetOpenIDConfigRequestOrBuilder extends +public interface GetOpenIDConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetOpenIDConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java index 79426236a0fa..a9dd9a69b02d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
  * See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.GetOpenIDConfigResponse}
  */
-public final class GetOpenIDConfigResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetOpenIDConfigResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.GetOpenIDConfigResponse)
     GetOpenIDConfigResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigResponse.newBuilder() to construct.
   private GetOpenIDConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetOpenIDConfigResponse() {
     issuer_ = "";
     jwksUri_ = "";
@@ -32,37 +50,41 @@ private GetOpenIDConfigResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetOpenIDConfigResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.GetOpenIDConfigResponse.class, com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
+            com.google.container.v1.GetOpenIDConfigResponse.class,
+            com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
   }
 
   public static final int ISSUER_FIELD_NUMBER = 1;
   private volatile java.lang.Object issuer_;
   /**
+   *
+   *
    * 
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ @java.lang.Override @@ -71,29 +93,29 @@ public java.lang.String getIssuer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -104,11 +126,14 @@ public java.lang.String getIssuer() { public static final int JWKS_URI_FIELD_NUMBER = 2; private volatile java.lang.Object jwksUri_; /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ @java.lang.Override @@ -117,29 +142,29 @@ public java.lang.String getJwksUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; } } /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -150,34 +175,42 @@ public java.lang.String getJwksUri() { public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList responseTypesSupported_; /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { return responseTypesSupported_; } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -185,50 +218,60 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList subjectTypesSupported_; /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { return subjectTypesSupported_; } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -236,50 +279,60 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_; /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_; } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -287,50 +340,60 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList claimsSupported_; /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { return claimsSupported_; } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -338,50 +401,60 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } public static final int GRANT_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList grantTypes_; /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { return grantTypes_; } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -389,20 +462,23 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,8 +490,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); } @@ -423,13 +498,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); } for (int i = 0; i < responseTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, responseTypesSupported_.getRaw(i)); } for (int i = 0; i < subjectTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, subjectTypesSupported_.getRaw(i)); } for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); } for (int i = 0; i < claimsSupported_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); @@ -500,27 +578,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetOpenIDConfigResponse)) { return super.equals(obj); } - com.google.container.v1.GetOpenIDConfigResponse other = (com.google.container.v1.GetOpenIDConfigResponse) obj; + com.google.container.v1.GetOpenIDConfigResponse other = + (com.google.container.v1.GetOpenIDConfigResponse) obj; - if (!getIssuer() - .equals(other.getIssuer())) return false; - if (!getJwksUri() - .equals(other.getJwksUri())) return false; - if (!getResponseTypesSupportedList() - .equals(other.getResponseTypesSupportedList())) return false; - if (!getSubjectTypesSupportedList() - .equals(other.getSubjectTypesSupportedList())) return false; + if (!getIssuer().equals(other.getIssuer())) return false; + if (!getJwksUri().equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList().equals(other.getResponseTypesSupportedList())) + return false; + if (!getSubjectTypesSupportedList().equals(other.getSubjectTypesSupportedList())) return false; if (!getIdTokenSigningAlgValuesSupportedList() .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; - if (!getClaimsSupportedList() - .equals(other.getClaimsSupportedList())) return false; - if (!getGrantTypesList() - .equals(other.getGrantTypesList())) return false; + if (!getClaimsSupportedList().equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList().equals(other.getGrantTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -561,97 +635,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( 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.GetOpenIDConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GetOpenIDConfigResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetOpenIDConfigResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GetOpenIDConfigResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
    * See the OpenID Connect Discovery 1.0 specification for details.
@@ -659,33 +740,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.GetOpenIDConfigResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.GetOpenIDConfigResponse)
       com.google.container.v1.GetOpenIDConfigResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.GetOpenIDConfigResponse.class, com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
+              com.google.container.v1.GetOpenIDConfigResponse.class,
+              com.google.container.v1.GetOpenIDConfigResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1.GetOpenIDConfigResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -707,9 +787,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
@@ -728,7 +808,8 @@ public com.google.container.v1.GetOpenIDConfigResponse build() {
 
     @java.lang.Override
     public com.google.container.v1.GetOpenIDConfigResponse buildPartial() {
-      com.google.container.v1.GetOpenIDConfigResponse result = new com.google.container.v1.GetOpenIDConfigResponse(this);
+      com.google.container.v1.GetOpenIDConfigResponse result =
+          new com.google.container.v1.GetOpenIDConfigResponse(this);
       int from_bitField0_ = bitField0_;
       result.issuer_ = issuer_;
       result.jwksUri_ = jwksUri_;
@@ -765,38 +846,39 @@ public com.google.container.v1.GetOpenIDConfigResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.GetOpenIDConfigResponse) {
-        return mergeFrom((com.google.container.v1.GetOpenIDConfigResponse)other);
+        return mergeFrom((com.google.container.v1.GetOpenIDConfigResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -804,7 +886,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.GetOpenIDConfigResponse other) {
-      if (other == com.google.container.v1.GetOpenIDConfigResponse.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.GetOpenIDConfigResponse.getDefaultInstance())
+        return this;
       if (!other.getIssuer().isEmpty()) {
         issuer_ = other.issuer_;
         onChanged();
@@ -889,52 +972,60 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              issuer_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                issuer_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              jwksUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                jwksUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureResponseTypesSupportedIsMutable();
-              responseTypesSupported_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureSubjectTypesSupportedIsMutable();
-              subjectTypesSupported_.add(s);
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureIdTokenSigningAlgValuesSupportedIsMutable();
-              idTokenSigningAlgValuesSupported_.add(s);
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureClaimsSupportedIsMutable();
-              claimsSupported_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureGrantTypesIsMutable();
-              grantTypes_.add(s);
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureResponseTypesSupportedIsMutable();
+                responseTypesSupported_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureSubjectTypesSupportedIsMutable();
+                subjectTypesSupported_.add(s);
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureIdTokenSigningAlgValuesSupportedIsMutable();
+                idTokenSigningAlgValuesSupported_.add(s);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureClaimsSupportedIsMutable();
+                claimsSupported_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureGrantTypesIsMutable();
+                grantTypes_.add(s);
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -944,22 +1035,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object issuer_ = "";
     /**
+     *
+     *
      * 
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; @@ -968,20 +1062,21 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -989,54 +1084,61 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The issuer to set. * @return This builder for chaining. */ - public Builder setIssuer( - java.lang.String value) { + public Builder setIssuer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issuer_ = value; onChanged(); return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return This builder for chaining. */ public Builder clearIssuer() { - + issuer_ = getDefaultInstance().getIssuer(); onChanged(); return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The bytes for issuer to set. * @return This builder for chaining. */ - public Builder setIssuerBytes( - com.google.protobuf.ByteString value) { + public Builder setIssuerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuer_ = value; onChanged(); return this; @@ -1044,18 +1146,20 @@ public Builder setIssuerBytes( private java.lang.Object jwksUri_ = ""; /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ public java.lang.String getJwksUri() { java.lang.Object ref = jwksUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; @@ -1064,20 +1168,21 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -1085,95 +1190,113 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUri( - java.lang.String value) { + public Builder setJwksUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jwksUri_ = value; onChanged(); return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return This builder for chaining. */ public Builder clearJwksUri() { - + jwksUri_ = getDefaultInstance().getJwksUri(); onChanged(); return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The bytes for jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUriBytes( - com.google.protobuf.ByteString value) { + public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jwksUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureResponseTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + responseTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { return responseTypesSupported_.getUnmodifiableView(); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -1181,80 +1304,90 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index to set the value at. * @param value The responseTypesSupported to set. * @return This builder for chaining. */ - public Builder setResponseTypesSupported( - int index, java.lang.String value) { + public Builder setResponseTypesSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupported( - java.lang.String value) { + public Builder addResponseTypesSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param values The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllResponseTypesSupported( - java.lang.Iterable values) { + public Builder addAllResponseTypesSupported(java.lang.Iterable values) { ensureResponseTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, responseTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseTypesSupported_); onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return This builder for chaining. */ public Builder clearResponseTypesSupported() { @@ -1264,62 +1397,75 @@ public Builder clearResponseTypesSupported() { return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The bytes of the responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSubjectTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + subjectTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { return subjectTypesSupported_.getUnmodifiableView(); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -1327,80 +1473,90 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index to set the value at. * @param value The subjectTypesSupported to set. * @return This builder for chaining. */ - public Builder setSubjectTypesSupported( - int index, java.lang.String value) { + public Builder setSubjectTypesSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupported( - java.lang.String value) { + public Builder addSubjectTypesSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param values The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllSubjectTypesSupported( - java.lang.Iterable values) { + public Builder addAllSubjectTypesSupported(java.lang.Iterable values) { ensureSubjectTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subjectTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectTypesSupported_); onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return This builder for chaining. */ public Builder clearSubjectTypesSupported() { @@ -1410,62 +1566,75 @@ public Builder clearSubjectTypesSupported() { return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The bytes of the subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + idTokenSigningAlgValuesSupported_ = + new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_.getUnmodifiableView(); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -1473,63 +1642,72 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index to set the value at. * @param value The idTokenSigningAlgValuesSupported to set. * @return This builder for chaining. */ - public Builder setIdTokenSigningAlgValuesSupported( - int index, java.lang.String value) { + public Builder setIdTokenSigningAlgValuesSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupported( - java.lang.String value) { + public Builder addIdTokenSigningAlgValuesSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param values The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ @@ -1542,11 +1720,14 @@ public Builder addAllIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return This builder for chaining. */ public Builder clearIdTokenSigningAlgValuesSupported() { @@ -1556,62 +1737,74 @@ public Builder clearIdTokenSigningAlgValuesSupported() { return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The bytes of the idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList claimsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList claimsSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureClaimsSupportedIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { return claimsSupported_.getUnmodifiableView(); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -1619,80 +1812,90 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index to set the value at. * @param value The claimsSupported to set. * @return This builder for chaining. */ - public Builder setClaimsSupported( - int index, java.lang.String value) { + public Builder setClaimsSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupported( - java.lang.String value) { + public Builder addClaimsSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param values The claimsSupported to add. * @return This builder for chaining. */ - public Builder addAllClaimsSupported( - java.lang.Iterable values) { + public Builder addAllClaimsSupported(java.lang.Iterable values) { ensureClaimsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, claimsSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, claimsSupported_); onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return This builder for chaining. */ public Builder clearClaimsSupported() { @@ -1702,62 +1905,74 @@ public Builder clearClaimsSupported() { return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The bytes of the claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList grantTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList grantTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGrantTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { return grantTypes_.getUnmodifiableView(); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -1765,80 +1980,90 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index to set the value at. * @param value The grantTypes to set. * @return This builder for chaining. */ - public Builder setGrantTypes( - int index, java.lang.String value) { + public Builder setGrantTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypes( - java.lang.String value) { + public Builder addGrantTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param values The grantTypes to add. * @return This builder for chaining. */ - public Builder addAllGrantTypes( - java.lang.Iterable values) { + public Builder addAllGrantTypes(java.lang.Iterable values) { ensureGrantTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, grantTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantTypes_); onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return This builder for chaining. */ public Builder clearGrantTypes() { @@ -1848,28 +2073,30 @@ public Builder clearGrantTypes() { return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The bytes of the grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addGrantTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1879,12 +2106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GetOpenIDConfigResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.GetOpenIDConfigResponse) private static final com.google.container.v1.GetOpenIDConfigResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GetOpenIDConfigResponse(); } @@ -1893,27 +2120,27 @@ public static com.google.container.v1.GetOpenIDConfigResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1928,6 +2155,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetOpenIDConfigResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java index 71468d75b97b..4a8530873439 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOpenIDConfigResponseOrBuilder.java @@ -1,254 +1,330 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface GetOpenIDConfigResponseOrBuilder extends +public interface GetOpenIDConfigResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetOpenIDConfigResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ java.lang.String getIssuer(); /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - com.google.protobuf.ByteString - getIssuerBytes(); + com.google.protobuf.ByteString getIssuerBytes(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ java.lang.String getJwksUri(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - com.google.protobuf.ByteString - getJwksUriBytes(); + com.google.protobuf.ByteString getJwksUriBytes(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - java.util.List - getResponseTypesSupportedList(); + java.util.List getResponseTypesSupportedList(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ int getResponseTypesSupportedCount(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ java.lang.String getResponseTypesSupported(int index); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index); + com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - java.util.List - getSubjectTypesSupportedList(); + java.util.List getSubjectTypesSupportedList(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ int getSubjectTypesSupportedCount(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ java.lang.String getSubjectTypesSupported(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index); + com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - java.util.List - getIdTokenSigningAlgValuesSupportedList(); + java.util.List getIdTokenSigningAlgValuesSupportedList(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ int getIdTokenSigningAlgValuesSupportedCount(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ java.lang.String getIdTokenSigningAlgValuesSupported(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index); + com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - java.util.List - getClaimsSupportedList(); + java.util.List getClaimsSupportedList(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ int getClaimsSupportedCount(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ java.lang.String getClaimsSupported(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - com.google.protobuf.ByteString - getClaimsSupportedBytes(int index); + com.google.protobuf.ByteString getClaimsSupportedBytes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - java.util.List - getGrantTypesList(); + java.util.List getGrantTypesList(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ int getGrantTypesCount(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ java.lang.String getGrantTypes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - com.google.protobuf.ByteString - getGrantTypesBytes(int index); + com.google.protobuf.ByteString getGrantTypesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index 5e263e3ce612..b3b6988fd4fe 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * GetOperationRequest gets a single operation.
  * 
* * Protobuf type {@code google.container.v1.GetOperationRequest} */ -public final class GetOperationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetOperationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GetOperationRequest) GetOperationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetOperationRequest.newBuilder() to construct. private GetOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetOperationRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private GetOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetOperationRequest.class, com.google.container.v1.GetOperationRequest.Builder.class); + com.google.container.v1.GetOperationRequest.class, + com.google.container.v1.GetOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -216,12 +250,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -230,30 +267,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +299,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +353,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetOperationRequest)) { return super.equals(obj); } - com.google.container.v1.GetOperationRequest other = (com.google.container.v1.GetOperationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getOperationId() - .equals(other.getOperationId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.GetOperationRequest other = + (com.google.container.v1.GetOperationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getOperationId().equals(other.getOperationId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,130 +389,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetOperationRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GetOperationRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOperationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOperationRequest parseFrom( 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.GetOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetOperationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GetOperationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetOperationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetOperationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GetOperationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GetOperationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GetOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GetOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetOperationRequest gets a single operation.
    * 
* * Protobuf type {@code google.container.v1.GetOperationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetOperationRequest) com.google.container.v1.GetOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetOperationRequest.class, com.google.container.v1.GetOperationRequest.Builder.class); + com.google.container.v1.GetOperationRequest.class, + com.google.container.v1.GetOperationRequest.Builder.class); } // Construct using com.google.container.v1.GetOperationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetOperationRequest_descriptor; } @java.lang.Override @@ -515,7 +555,8 @@ public com.google.container.v1.GetOperationRequest build() { @java.lang.Override public com.google.container.v1.GetOperationRequest buildPartial() { - com.google.container.v1.GetOperationRequest result = new com.google.container.v1.GetOperationRequest(this); + com.google.container.v1.GetOperationRequest result = + new com.google.container.v1.GetOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -528,38 +569,39 @@ public com.google.container.v1.GetOperationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetOperationRequest) { - return mergeFrom((com.google.container.v1.GetOperationRequest)other); + return mergeFrom((com.google.container.v1.GetOperationRequest) other); } else { super.mergeFrom(other); return this; @@ -610,32 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,6 +695,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -655,15 +704,16 @@ 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=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,6 +722,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -679,17 +731,17 @@ 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=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,6 +749,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,22 +758,25 @@ 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=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -727,17 +784,21 @@ 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=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,18 +806,19 @@ 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=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +826,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +836,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +854,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +864,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +882,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +892,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +919,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +942,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +962,24 @@ public Builder mergeFrom( private java.lang.Object operationId_ = ""; /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @return The operationId. */ - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -908,23 +988,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for operationId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -932,63 +1014,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setOperationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearOperationId() { - + @java.lang.Deprecated + public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -996,19 +1088,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1111,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1134,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GetOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetOperationRequest) private static final com.google.container.v1.GetOperationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GetOperationRequest(); } @@ -1120,27 +1222,27 @@ public static com.google.container.v1.GetOperationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1257,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java index e21b09f0c7ad..c5a3bed20a2b 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetOperationRequestOrBuilder extends +public interface GetOperationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetOperationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface GetOperationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface GetOperationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2593 + * + * @deprecated google.container.v1.GetOperationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2593 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface GetOperationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +87,71 @@ public interface GetOperationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2599 + * + * @deprecated google.container.v1.GetOperationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2599 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @return The operationId. */ - @java.lang.Deprecated java.lang.String getOperationId(); + @java.lang.Deprecated + java.lang.String getOperationId(); /** + * + * *
    * Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* * string operation_id = 3 [deprecated = true]; - * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2603 + * + * @deprecated google.container.v1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2603 * @return The bytes for operationId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getOperationIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getOperationIdBytes(); /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index 89aa652abb83..76c281023535 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Gets the current Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1.GetServerConfigRequest} */ -public final class GetServerConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GetServerConfigRequest) GetServerConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetServerConfigRequest.newBuilder() to construct. private GetServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetServerConfigRequest() { projectId_ = ""; zone_ = ""; @@ -27,32 +45,35 @@ private GetServerConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetServerConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetServerConfigRequest.class, com.google.container.v1.GetServerConfigRequest.Builder.class); + com.google.container.v1.GetServerConfigRequest.class, + com.google.container.v1.GetServerConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -60,24 +81,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -85,18 +109,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +131,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -115,24 +141,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -141,18 +170,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,12 +192,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The name. */ @java.lang.Override @@ -177,30 +209,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -209,6 +241,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +253,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -257,19 +289,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GetServerConfigRequest)) { return super.equals(obj); } - com.google.container.v1.GetServerConfigRequest other = (com.google.container.v1.GetServerConfigRequest) obj; + com.google.container.v1.GetServerConfigRequest other = + (com.google.container.v1.GetServerConfigRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,130 +322,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.GetServerConfigRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GetServerConfigRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetServerConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.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.container.v1.GetServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GetServerConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GetServerConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GetServerConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GetServerConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GetServerConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GetServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GetServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Gets the current Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1.GetServerConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GetServerConfigRequest) com.google.container.v1.GetServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GetServerConfigRequest.class, com.google.container.v1.GetServerConfigRequest.Builder.class); + com.google.container.v1.GetServerConfigRequest.class, + com.google.container.v1.GetServerConfigRequest.Builder.class); } // Construct using com.google.container.v1.GetServerConfigRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +465,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GetServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GetServerConfigRequest_descriptor; } @java.lang.Override @@ -450,7 +486,8 @@ public com.google.container.v1.GetServerConfigRequest build() { @java.lang.Override public com.google.container.v1.GetServerConfigRequest buildPartial() { - com.google.container.v1.GetServerConfigRequest result = new com.google.container.v1.GetServerConfigRequest(this); + com.google.container.v1.GetServerConfigRequest result = + new com.google.container.v1.GetServerConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.name_ = name_; @@ -462,38 +499,39 @@ public com.google.container.v1.GetServerConfigRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GetServerConfigRequest) { - return mergeFrom((com.google.container.v1.GetServerConfigRequest)other); + return mergeFrom((com.google.container.v1.GetServerConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -540,27 +578,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: { - name_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -573,6 +615,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -580,15 +624,16 @@ 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=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -597,6 +642,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -604,17 +651,17 @@ 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=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -622,6 +669,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -629,22 +678,25 @@ 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=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -652,17 +704,21 @@ 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=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -670,18 +726,19 @@ 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=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -689,6 +746,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -697,15 +756,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -714,6 +774,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -722,17 +784,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -740,6 +802,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -748,22 +812,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -772,17 +839,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -791,18 +862,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -810,19 +882,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -831,21 +905,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -853,64 +928,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GetServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.GetServerConfigRequest) private static final com.google.container.v1.GetServerConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GetServerConfigRequest(); } @@ -934,27 +1016,27 @@ public static com.google.container.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(); - } - }; + 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; @@ -969,6 +1051,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GetServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java index ead88c713ee7..db321552fcc6 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface GetServerConfigRequestOrBuilder extends +public interface GetServerConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.GetServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface GetServerConfigRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface GetServerConfigRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2666 + * + * @deprecated google.container.v1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2666 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -44,12 +69,16 @@ public interface GetServerConfigRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -58,32 +87,38 @@ public interface GetServerConfigRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2672 + * + * @deprecated google.container.v1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2672 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java index 8b906c39ba5f..84b8305689e2 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for the Backup for GKE Agent.
  * 
* * Protobuf type {@code google.container.v1.GkeBackupAgentConfig} */ -public final class GkeBackupAgentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GkeBackupAgentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.GkeBackupAgentConfig) GkeBackupAgentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GkeBackupAgentConfig.newBuilder() to construct. private GkeBackupAgentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GkeBackupAgentConfig() { - } + + private GkeBackupAgentConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GkeBackupAgentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GkeBackupAgentConfig.class, com.google.container.v1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1.GkeBackupAgentConfig.class, + com.google.container.v1.GkeBackupAgentConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the Backup for GKE agent is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.GkeBackupAgentConfig)) { return super.equals(obj); } - com.google.container.v1.GkeBackupAgentConfig other = (com.google.container.v1.GkeBackupAgentConfig) obj; + com.google.container.v1.GkeBackupAgentConfig other = + (com.google.container.v1.GkeBackupAgentConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.GkeBackupAgentConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GkeBackupAgentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GkeBackupAgentConfig parseFrom( 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.GkeBackupAgentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.GkeBackupAgentConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.GkeBackupAgentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.GkeBackupAgentConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.GkeBackupAgentConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.GkeBackupAgentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.GkeBackupAgentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.GkeBackupAgentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the Backup for GKE Agent.
    * 
* * Protobuf type {@code google.container.v1.GkeBackupAgentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.GkeBackupAgentConfig) com.google.container.v1.GkeBackupAgentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.GkeBackupAgentConfig.class, com.google.container.v1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1.GkeBackupAgentConfig.class, + com.google.container.v1.GkeBackupAgentConfig.Builder.class); } // Construct using com.google.container.v1.GkeBackupAgentConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.GkeBackupAgentConfig build() { @java.lang.Override public com.google.container.v1.GkeBackupAgentConfig buildPartial() { - com.google.container.v1.GkeBackupAgentConfig result = new com.google.container.v1.GkeBackupAgentConfig(this); + com.google.container.v1.GkeBackupAgentConfig result = + new com.google.container.v1.GkeBackupAgentConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.GkeBackupAgentConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.GkeBackupAgentConfig) { - return mergeFrom((com.google.container.v1.GkeBackupAgentConfig)other); + return mergeFrom((com.google.container.v1.GkeBackupAgentConfig) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +428,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.GkeBackupAgentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.GkeBackupAgentConfig) private static final com.google.container.v1.GkeBackupAgentConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.GkeBackupAgentConfig(); } @@ -450,27 +488,27 @@ public static com.google.container.v1.GkeBackupAgentConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GkeBackupAgentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GkeBackupAgentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.GkeBackupAgentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java new file mode 100644 index 000000000000..ff1cf3b2f186 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface GkeBackupAgentConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.GkeBackupAgentConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Backup for GKE agent is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java index d858fe81db38..50f19e3a7758 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration options for the horizontal pod autoscaling feature, which
  * increases or decreases the number of replica pods a replication controller
@@ -12,46 +29,49 @@
  *
  * Protobuf type {@code google.container.v1.HorizontalPodAutoscaling}
  */
-public final class HorizontalPodAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HorizontalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.HorizontalPodAutoscaling)
     HorizontalPodAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HorizontalPodAutoscaling.newBuilder() to construct.
   private HorizontalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private HorizontalPodAutoscaling() {
-  }
+
+  private HorizontalPodAutoscaling() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HorizontalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.HorizontalPodAutoscaling.class, com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
+            com.google.container.v1.HorizontalPodAutoscaling.class,
+            com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
    * When enabled, it ensures that metrics are collected into Stackdriver
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -67,6 +88,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,8 +100,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -93,8 +114,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -104,15 +124,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.HorizontalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1.HorizontalPodAutoscaling other = (com.google.container.v1.HorizontalPodAutoscaling) obj; + com.google.container.v1.HorizontalPodAutoscaling other = + (com.google.container.v1.HorizontalPodAutoscaling) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -125,104 +145,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HorizontalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( 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.HorizontalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.HorizontalPodAutoscaling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.HorizontalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.HorizontalPodAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.HorizontalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.HorizontalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.HorizontalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -231,33 +257,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.HorizontalPodAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.HorizontalPodAutoscaling)
       com.google.container.v1.HorizontalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.HorizontalPodAutoscaling.class, com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
+              com.google.container.v1.HorizontalPodAutoscaling.class,
+              com.google.container.v1.HorizontalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.HorizontalPodAutoscaling.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -267,9 +292,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -288,7 +313,8 @@ public com.google.container.v1.HorizontalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.HorizontalPodAutoscaling buildPartial() {
-      com.google.container.v1.HorizontalPodAutoscaling result = new com.google.container.v1.HorizontalPodAutoscaling(this);
+      com.google.container.v1.HorizontalPodAutoscaling result =
+          new com.google.container.v1.HorizontalPodAutoscaling(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -298,38 +324,39 @@ public com.google.container.v1.HorizontalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.HorizontalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1.HorizontalPodAutoscaling)other);
+        return mergeFrom((com.google.container.v1.HorizontalPodAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -337,7 +364,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.HorizontalPodAutoscaling other) {
-      if (other == com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance())
+        return this;
       if (other.getDisabled() != false) {
         setDisabled(other.getDisabled());
       }
@@ -367,17 +395,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -388,8 +418,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -397,6 +429,7 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -404,6 +437,8 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -411,16 +446,19 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -428,17 +466,18 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -448,12 +487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.HorizontalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.HorizontalPodAutoscaling) private static final com.google.container.v1.HorizontalPodAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.HorizontalPodAutoscaling(); } @@ -462,27 +501,27 @@ public static com.google.container.v1.HorizontalPodAutoscaling getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HorizontalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HorizontalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -497,6 +536,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.HorizontalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..435d07170208 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface HorizontalPodAutoscalingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.HorizontalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
+   * When enabled, it ensures that metrics are collected into Stackdriver
+   * Monitoring.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java index 334384b6508d..0dcbb366d5d5 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration options for the HTTP (L7) load balancing controller addon,
  * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1.HttpLoadBalancing}
  */
-public final class HttpLoadBalancing extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpLoadBalancing extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.HttpLoadBalancing)
     HttpLoadBalancingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpLoadBalancing.newBuilder() to construct.
   private HttpLoadBalancing(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private HttpLoadBalancing() {
-  }
+
+  private HttpLoadBalancing() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpLoadBalancing();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_HttpLoadBalancing_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.HttpLoadBalancing.class, com.google.container.v1.HttpLoadBalancing.Builder.class);
+            com.google.container.v1.HttpLoadBalancing.class,
+            com.google.container.v1.HttpLoadBalancing.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Whether the HTTP Load Balancing controller is enabled in the cluster.
    * When enabled, it runs a small pod in the cluster that manages the load
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -66,6 +87,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -77,8 +99,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -92,8 +113,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -103,15 +123,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.HttpLoadBalancing)) { return super.equals(obj); } - com.google.container.v1.HttpLoadBalancing other = (com.google.container.v1.HttpLoadBalancing) obj; + com.google.container.v1.HttpLoadBalancing other = + (com.google.container.v1.HttpLoadBalancing) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -124,104 +144,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.HttpLoadBalancing parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.HttpLoadBalancing parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.HttpLoadBalancing parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HttpLoadBalancing parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.HttpLoadBalancing parseFrom( 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.HttpLoadBalancing parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.HttpLoadBalancing parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.HttpLoadBalancing parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.HttpLoadBalancing parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.HttpLoadBalancing parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.HttpLoadBalancing parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.HttpLoadBalancing parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.HttpLoadBalancing parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.HttpLoadBalancing parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.HttpLoadBalancing prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the HTTP (L7) load balancing controller addon,
    * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -229,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.HttpLoadBalancing}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.HttpLoadBalancing)
       com.google.container.v1.HttpLoadBalancingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.HttpLoadBalancing.class, com.google.container.v1.HttpLoadBalancing.Builder.class);
+              com.google.container.v1.HttpLoadBalancing.class,
+              com.google.container.v1.HttpLoadBalancing.Builder.class);
     }
 
     // Construct using com.google.container.v1.HttpLoadBalancing.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -265,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_HttpLoadBalancing_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
@@ -286,7 +311,8 @@ public com.google.container.v1.HttpLoadBalancing build() {
 
     @java.lang.Override
     public com.google.container.v1.HttpLoadBalancing buildPartial() {
-      com.google.container.v1.HttpLoadBalancing result = new com.google.container.v1.HttpLoadBalancing(this);
+      com.google.container.v1.HttpLoadBalancing result =
+          new com.google.container.v1.HttpLoadBalancing(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -296,38 +322,39 @@ public com.google.container.v1.HttpLoadBalancing buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.HttpLoadBalancing) {
-        return mergeFrom((com.google.container.v1.HttpLoadBalancing)other);
+        return mergeFrom((com.google.container.v1.HttpLoadBalancing) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -365,17 +392,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -386,8 +415,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -395,6 +426,7 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -402,6 +434,8 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -409,16 +443,19 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -426,17 +463,18 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -446,12 +484,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.HttpLoadBalancing) } // @@protoc_insertion_point(class_scope:google.container.v1.HttpLoadBalancing) private static final com.google.container.v1.HttpLoadBalancing DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.HttpLoadBalancing(); } @@ -460,27 +498,27 @@ public static com.google.container.v1.HttpLoadBalancing getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpLoadBalancing parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpLoadBalancing parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -495,6 +533,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.HttpLoadBalancing getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java new file mode 100644 index 000000000000..bccec888e5a5 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface HttpLoadBalancingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.HttpLoadBalancing) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the HTTP Load Balancing controller is enabled in the cluster.
+   * When enabled, it runs a small pod in the cluster that manages the load
+   * balancers.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java index 0b595d870c9a..e3b12a2f3156 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
  * subsetting on this cluster.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1.ILBSubsettingConfig}
  */
-public final class ILBSubsettingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ILBSubsettingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ILBSubsettingConfig)
     ILBSubsettingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ILBSubsettingConfig.newBuilder() to construct.
   private ILBSubsettingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ILBSubsettingConfig() {
-  }
+
+  private ILBSubsettingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ILBSubsettingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ILBSubsettingConfig.class, com.google.container.v1.ILBSubsettingConfig.Builder.class);
+            com.google.container.v1.ILBSubsettingConfig.class,
+            com.google.container.v1.ILBSubsettingConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enables l4 ILB subsetting for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ILBSubsettingConfig)) { return super.equals(obj); } - com.google.container.v1.ILBSubsettingConfig other = (com.google.container.v1.ILBSubsettingConfig) obj; + com.google.container.v1.ILBSubsettingConfig other = + (com.google.container.v1.ILBSubsettingConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ILBSubsettingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ILBSubsettingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ILBSubsettingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ILBSubsettingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ILBSubsettingConfig parseFrom( 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.ILBSubsettingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ILBSubsettingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ILBSubsettingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ILBSubsettingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ILBSubsettingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ILBSubsettingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ILBSubsettingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ILBSubsettingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ILBSubsettingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ILBSubsettingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
    * subsetting on this cluster.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ILBSubsettingConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ILBSubsettingConfig)
       com.google.container.v1.ILBSubsettingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ILBSubsettingConfig.class, com.google.container.v1.ILBSubsettingConfig.Builder.class);
+              com.google.container.v1.ILBSubsettingConfig.class,
+              com.google.container.v1.ILBSubsettingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.ILBSubsettingConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1.ILBSubsettingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.ILBSubsettingConfig buildPartial() {
-      com.google.container.v1.ILBSubsettingConfig result = new com.google.container.v1.ILBSubsettingConfig(this);
+      com.google.container.v1.ILBSubsettingConfig result =
+          new com.google.container.v1.ILBSubsettingConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1.ILBSubsettingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ILBSubsettingConfig) {
-        return mergeFrom((com.google.container.v1.ILBSubsettingConfig)other);
+        return mergeFrom((com.google.container.v1.ILBSubsettingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,17 +390,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +413,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enables l4 ILB subsetting for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +430,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enables l4 ILB subsetting for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enables l4 ILB subsetting for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ILBSubsettingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ILBSubsettingConfig) private static final com.google.container.v1.ILBSubsettingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ILBSubsettingConfig(); } @@ -452,27 +490,27 @@ public static com.google.container.v1.ILBSubsettingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ILBSubsettingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ILBSubsettingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ILBSubsettingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java new file mode 100644 index 000000000000..6182c273ffa2 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ILBSubsettingConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ILBSubsettingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enables l4 ILB subsetting for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/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 similarity index 77% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index a6aae0c97c73..310d0fefd105 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration for controlling how IPs are allocated in the cluster.
  * 
* * Protobuf type {@code google.container.v1.IPAllocationPolicy} */ -public final class IPAllocationPolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.IPAllocationPolicy) IPAllocationPolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IPAllocationPolicy.newBuilder() to construct. private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IPAllocationPolicy() { subnetworkName_ = ""; clusterIpv4Cidr_ = ""; @@ -36,32 +54,35 @@ private IPAllocationPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IPAllocationPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.IPAllocationPolicy.class, com.google.container.v1.IPAllocationPolicy.Builder.class); + com.google.container.v1.IPAllocationPolicy.class, + com.google.container.v1.IPAllocationPolicy.Builder.class); } public static final int USE_IP_ALIASES_FIELD_NUMBER = 1; private boolean useIpAliases_; /** + * + * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -70,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * bool use_ip_aliases = 1; + * * @return The useIpAliases. */ @java.lang.Override @@ -80,12 +102,15 @@ public boolean getUseIpAliases() { public static final int CREATE_SUBNETWORK_FIELD_NUMBER = 2; private boolean createSubnetwork_; /** + * + * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; + * * @return The createSubnetwork. */ @java.lang.Override @@ -96,6 +121,8 @@ public boolean getCreateSubnetwork() { public static final int SUBNETWORK_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object subnetworkName_; /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -103,6 +130,7 @@ public boolean getCreateSubnetwork() {
    * 
* * string subnetwork_name = 3; + * * @return The subnetworkName. */ @java.lang.Override @@ -111,14 +139,15 @@ public java.lang.String getSubnetworkName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; } } /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -126,16 +155,15 @@ public java.lang.String getSubnetworkName() {
    * 
* * string subnetwork_name = 3; + * * @return The bytes for subnetworkName. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkNameBytes() { + public com.google.protobuf.ByteString getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -146,46 +174,51 @@ public java.lang.String getSubnetworkName() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 4; private volatile java.lang.Object clusterIpv4Cidr_; /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @return The clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -196,46 +229,51 @@ public java.lang.String getSubnetworkName() { public static final int NODE_IPV4_CIDR_FIELD_NUMBER = 5; private volatile java.lang.Object nodeIpv4Cidr_; /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @return The nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; } } /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodeIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -246,46 +284,51 @@ public java.lang.String getSubnetworkName() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 6; private volatile java.lang.Object servicesIpv4Cidr_; /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @return The servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -296,6 +339,8 @@ public java.lang.String getSubnetworkName() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object clusterSecondaryRangeName_; /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -306,6 +351,7 @@ public java.lang.String getSubnetworkName() {
    * 
* * string cluster_secondary_range_name = 7; + * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -314,14 +360,15 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; } } /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -332,16 +379,15 @@ public java.lang.String getClusterSecondaryRangeName() {
    * 
* * string cluster_secondary_range_name = 7; + * * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -352,6 +398,8 @@ public java.lang.String getClusterSecondaryRangeName() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object servicesSecondaryRangeName_; /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -362,6 +410,7 @@ public java.lang.String getClusterSecondaryRangeName() {
    * 
* * string services_secondary_range_name = 8; + * * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -370,14 +419,15 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; } } /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -388,16 +438,15 @@ public java.lang.String getServicesSecondaryRangeName() {
    * 
* * string services_secondary_range_name = 8; + * * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -408,6 +457,8 @@ public java.lang.String getServicesSecondaryRangeName() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4CidrBlock_; /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -423,6 +474,7 @@ public java.lang.String getServicesSecondaryRangeName() {
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -431,14 +483,15 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -454,16 +507,15 @@ public java.lang.String getClusterIpv4CidrBlock() {
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -474,6 +526,8 @@ public java.lang.String getClusterIpv4CidrBlock() { public static final int NODE_IPV4_CIDR_BLOCK_FIELD_NUMBER = 10; private volatile java.lang.Object nodeIpv4CidrBlock_; /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -488,6 +542,7 @@ public java.lang.String getClusterIpv4CidrBlock() {
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The nodeIpv4CidrBlock. */ @java.lang.Override @@ -496,14 +551,15 @@ public java.lang.String getNodeIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -518,16 +574,15 @@ public java.lang.String getNodeIpv4CidrBlock() {
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The bytes for nodeIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -538,6 +593,8 @@ public java.lang.String getNodeIpv4CidrBlock() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 11; private volatile java.lang.Object servicesIpv4CidrBlock_; /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -553,6 +610,7 @@ public java.lang.String getNodeIpv4CidrBlock() {
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -561,14 +619,15 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -584,16 +643,15 @@ public java.lang.String getServicesIpv4CidrBlock() {
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -604,6 +662,8 @@ public java.lang.String getServicesIpv4CidrBlock() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 13; private volatile java.lang.Object tpuIpv4CidrBlock_; /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -619,6 +679,7 @@ public java.lang.String getServicesIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -627,14 +688,15 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -650,16 +712,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -670,6 +731,8 @@ public java.lang.String getTpuIpv4CidrBlock() { public static final int USE_ROUTES_FIELD_NUMBER = 15; private boolean useRoutes_; /** + * + * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -678,6 +741,7 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * bool use_routes = 15; + * * @return The useRoutes. */ @java.lang.Override @@ -688,58 +752,77 @@ public boolean getUseRoutes() { public static final int STACK_TYPE_FIELD_NUMBER = 16; private int stackType_; /** + * + * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; + * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override public int getStackTypeValue() { + @java.lang.Override + public int getStackTypeValue() { return stackType_; } /** + * + * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; + * * @return The stackType. */ - @java.lang.Override public com.google.container.v1.StackType getStackType() { + @java.lang.Override + public com.google.container.v1.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1.StackType result = com.google.container.v1.StackType.valueOf(stackType_); + com.google.container.v1.StackType result = + com.google.container.v1.StackType.valueOf(stackType_); return result == null ? com.google.container.v1.StackType.UNRECOGNIZED : result; } public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER = 17; private int ipv6AccessType_; /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override public int getIpv6AccessTypeValue() { + @java.lang.Override + public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @return The ipv6AccessType. */ - @java.lang.Override public com.google.container.v1.IPv6AccessType getIpv6AccessType() { + @java.lang.Override + public com.google.container.v1.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1.IPv6AccessType result = com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); + com.google.container.v1.IPv6AccessType result = + com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); return result == null ? com.google.container.v1.IPv6AccessType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -751,8 +834,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -795,7 +877,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (stackType_ != com.google.container.v1.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(16, stackType_); } - if (ipv6AccessType_ != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { + if (ipv6AccessType_ + != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(17, ipv6AccessType_); } getUnknownFields().writeTo(output); @@ -808,12 +891,10 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); } if (createSubnetwork_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, createSubnetwork_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, createSubnetwork_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetworkName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subnetworkName_); @@ -828,10 +909,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, servicesIpv4Cidr_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterSecondaryRangeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesSecondaryRangeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4CidrBlock_); @@ -846,16 +929,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, tpuIpv4CidrBlock_); } if (useRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, useRoutes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, useRoutes_); } if (stackType_ != com.google.container.v1.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, stackType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, stackType_); } - if (ipv6AccessType_ != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(17, ipv6AccessType_); + if (ipv6AccessType_ + != com.google.container.v1.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, ipv6AccessType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -865,39 +946,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.container.v1.IPAllocationPolicy other = (com.google.container.v1.IPAllocationPolicy) obj; - - if (getUseIpAliases() - != other.getUseIpAliases()) return false; - if (getCreateSubnetwork() - != other.getCreateSubnetwork()) return false; - if (!getSubnetworkName() - .equals(other.getSubnetworkName())) return false; - if (!getClusterIpv4Cidr() - .equals(other.getClusterIpv4Cidr())) return false; - if (!getNodeIpv4Cidr() - .equals(other.getNodeIpv4Cidr())) return false; - if (!getServicesIpv4Cidr() - .equals(other.getServicesIpv4Cidr())) return false; - if (!getClusterSecondaryRangeName() - .equals(other.getClusterSecondaryRangeName())) return false; - if (!getServicesSecondaryRangeName() - .equals(other.getServicesSecondaryRangeName())) return false; - if (!getClusterIpv4CidrBlock() - .equals(other.getClusterIpv4CidrBlock())) return false; - if (!getNodeIpv4CidrBlock() - .equals(other.getNodeIpv4CidrBlock())) return false; - if (!getServicesIpv4CidrBlock() - .equals(other.getServicesIpv4CidrBlock())) return false; - if (!getTpuIpv4CidrBlock() - .equals(other.getTpuIpv4CidrBlock())) return false; - if (getUseRoutes() - != other.getUseRoutes()) return false; + com.google.container.v1.IPAllocationPolicy other = + (com.google.container.v1.IPAllocationPolicy) obj; + + if (getUseIpAliases() != other.getUseIpAliases()) return false; + if (getCreateSubnetwork() != other.getCreateSubnetwork()) return false; + if (!getSubnetworkName().equals(other.getSubnetworkName())) return false; + if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false; + if (!getNodeIpv4Cidr().equals(other.getNodeIpv4Cidr())) return false; + if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false; + if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) return false; + if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) + return false; + if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; + if (!getNodeIpv4CidrBlock().equals(other.getNodeIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; + if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false; + if (getUseRoutes() != other.getUseRoutes()) return false; if (stackType_ != other.stackType_) return false; if (ipv6AccessType_ != other.ipv6AccessType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -912,11 +982,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); hash = (37 * hash) + CREATE_SUBNETWORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCreateSubnetwork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreateSubnetwork()); hash = (37 * hash) + SUBNETWORK_NAME_FIELD_NUMBER; hash = (53 * hash) + getSubnetworkName().hashCode(); hash = (37 * hash) + CLUSTER_IPV4_CIDR_FIELD_NUMBER; @@ -938,8 +1006,7 @@ public int hashCode() { hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode(); hash = (37 * hash) + USE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseRoutes()); hash = (37 * hash) + STACK_TYPE_FIELD_NUMBER; hash = (53 * hash) + stackType_; hash = (37 * hash) + IPV6_ACCESS_TYPE_FIELD_NUMBER; @@ -949,130 +1016,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.IPAllocationPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IPAllocationPolicy parseFrom( 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.IPAllocationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IPAllocationPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.IPAllocationPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.IPAllocationPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.IPAllocationPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.IPAllocationPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for controlling how IPs are allocated in the cluster.
    * 
* * Protobuf type {@code google.container.v1.IPAllocationPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.IPAllocationPolicy) com.google.container.v1.IPAllocationPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.IPAllocationPolicy.class, com.google.container.v1.IPAllocationPolicy.Builder.class); + com.google.container.v1.IPAllocationPolicy.class, + com.google.container.v1.IPAllocationPolicy.Builder.class); } // Construct using com.google.container.v1.IPAllocationPolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1110,9 +1183,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IPAllocationPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_IPAllocationPolicy_descriptor; } @java.lang.Override @@ -1131,7 +1204,8 @@ public com.google.container.v1.IPAllocationPolicy build() { @java.lang.Override public com.google.container.v1.IPAllocationPolicy buildPartial() { - com.google.container.v1.IPAllocationPolicy result = new com.google.container.v1.IPAllocationPolicy(this); + com.google.container.v1.IPAllocationPolicy result = + new com.google.container.v1.IPAllocationPolicy(this); result.useIpAliases_ = useIpAliases_; result.createSubnetwork_ = createSubnetwork_; result.subnetworkName_ = subnetworkName_; @@ -1155,38 +1229,39 @@ public com.google.container.v1.IPAllocationPolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.IPAllocationPolicy) { - return mergeFrom((com.google.container.v1.IPAllocationPolicy)other); + return mergeFrom((com.google.container.v1.IPAllocationPolicy) other); } else { super.mergeFrom(other); return this; @@ -1276,87 +1351,103 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - useIpAliases_ = input.readBool(); - - break; - } // case 8 - case 16: { - createSubnetwork_ = input.readBool(); - - break; - } // case 16 - case 26: { - subnetworkName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - nodeIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - clusterSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - servicesSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: { - nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 90: { - servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 106: { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 106 - case 120: { - useRoutes_ = input.readBool(); - - break; - } // case 120 - case 128: { - stackType_ = input.readEnum(); - - break; - } // case 128 - case 136: { - ipv6AccessType_ = input.readEnum(); - - break; - } // case 136 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + useIpAliases_ = input.readBool(); + + break; + } // case 8 + case 16: + { + createSubnetwork_ = input.readBool(); + + break; + } // case 16 + case 26: + { + subnetworkName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + nodeIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + clusterSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + servicesSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: + { + nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 90: + { + servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 106: + { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 120: + { + useRoutes_ = input.readBool(); + + break; + } // case 120 + case 128: + { + stackType_ = input.readEnum(); + + break; + } // case 128 + case 136: + { + ipv6AccessType_ = input.readEnum(); + + break; + } // case 136 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1367,8 +1458,10 @@ public Builder mergeFrom( return this; } - private boolean useIpAliases_ ; + private boolean useIpAliases_; /** + * + * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1377,6 +1470,7 @@ public Builder mergeFrom(
      * 
* * bool use_ip_aliases = 1; + * * @return The useIpAliases. */ @java.lang.Override @@ -1384,6 +1478,8 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** + * + * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1392,16 +1488,19 @@ public boolean getUseIpAliases() {
      * 
* * bool use_ip_aliases = 1; + * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** + * + * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1410,23 +1509,27 @@ public Builder setUseIpAliases(boolean value) {
      * 
* * bool use_ip_aliases = 1; + * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; } - private boolean createSubnetwork_ ; + private boolean createSubnetwork_; /** + * + * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; + * * @return The createSubnetwork. */ @java.lang.Override @@ -1434,32 +1537,38 @@ public boolean getCreateSubnetwork() { return createSubnetwork_; } /** + * + * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; + * * @param value The createSubnetwork to set. * @return This builder for chaining. */ public Builder setCreateSubnetwork(boolean value) { - + createSubnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; + * * @return This builder for chaining. */ public Builder clearCreateSubnetwork() { - + createSubnetwork_ = false; onChanged(); return this; @@ -1467,6 +1576,8 @@ public Builder clearCreateSubnetwork() { private java.lang.Object subnetworkName_ = ""; /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1474,13 +1585,13 @@ public Builder clearCreateSubnetwork() {
      * 
* * string subnetwork_name = 3; + * * @return The subnetworkName. */ public java.lang.String getSubnetworkName() { java.lang.Object ref = subnetworkName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; @@ -1489,6 +1600,8 @@ public java.lang.String getSubnetworkName() { } } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1496,15 +1609,14 @@ public java.lang.String getSubnetworkName() {
      * 
* * string subnetwork_name = 3; + * * @return The bytes for subnetworkName. */ - public com.google.protobuf.ByteString - getSubnetworkNameBytes() { + public com.google.protobuf.ByteString getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -1512,6 +1624,8 @@ public java.lang.String getSubnetworkName() { } } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1519,20 +1633,22 @@ public java.lang.String getSubnetworkName() {
      * 
* * string subnetwork_name = 3; + * * @param value The subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkName( - java.lang.String value) { + public Builder setSubnetworkName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetworkName_ = value; onChanged(); return this; } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1540,15 +1656,18 @@ public Builder setSubnetworkName(
      * 
* * string subnetwork_name = 3; + * * @return This builder for chaining. */ public Builder clearSubnetworkName() { - + subnetworkName_ = getDefaultInstance().getSubnetworkName(); onChanged(); return this; } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1556,16 +1675,16 @@ public Builder clearSubnetworkName() {
      * 
* * string subnetwork_name = 3; + * * @param value The bytes for subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkNameBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetworkName_ = value; onChanged(); return this; @@ -1573,20 +1692,23 @@ public Builder setSubnetworkNameBytes( private java.lang.Object clusterIpv4Cidr_ = ""; /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -1595,22 +1717,24 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -1618,60 +1742,70 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIpv4Cidr( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterIpv4Cidr() { - + @java.lang.Deprecated + public Builder clearClusterIpv4Cidr() { + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIpv4CidrBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -1679,20 +1813,23 @@ public Builder setSubnetworkNameBytes( private java.lang.Object nodeIpv4Cidr_ = ""; /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; @@ -1701,22 +1838,24 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodeIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -1724,60 +1863,70 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodeIpv4Cidr( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodeIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodeIpv4Cidr() { - + @java.lang.Deprecated + public Builder clearNodeIpv4Cidr() { + nodeIpv4Cidr_ = getDefaultInstance().getNodeIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodeIpv4CidrBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4Cidr_ = value; onChanged(); return this; @@ -1785,20 +1934,23 @@ public Builder setSubnetworkNameBytes( private java.lang.Object servicesIpv4Cidr_ = ""; /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -1807,22 +1959,24 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -1830,60 +1984,70 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServicesIpv4Cidr( - java.lang.String value) { + @java.lang.Deprecated + public Builder setServicesIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearServicesIpv4Cidr() { - + @java.lang.Deprecated + public Builder clearServicesIpv4Cidr() { + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServicesIpv4CidrBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; @@ -1891,6 +2055,8 @@ public Builder setSubnetworkNameBytes( private java.lang.Object clusterSecondaryRangeName_ = ""; /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -1901,13 +2067,13 @@ public Builder setSubnetworkNameBytes(
      * 
* * string cluster_secondary_range_name = 7; + * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { java.lang.Object ref = clusterSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; @@ -1916,6 +2082,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -1926,15 +2094,14 @@ public java.lang.String getClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; + * * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -1942,6 +2109,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -1952,20 +2121,22 @@ public java.lang.String getClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; + * * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName( - java.lang.String value) { + public Builder setClusterSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterSecondaryRangeName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -1976,15 +2147,18 @@ public Builder setClusterSecondaryRangeName(
      * 
* * string cluster_secondary_range_name = 7; + * * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { - + clusterSecondaryRangeName_ = getDefaultInstance().getClusterSecondaryRangeName(); onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -1995,16 +2169,16 @@ public Builder clearClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; + * * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterSecondaryRangeName_ = value; onChanged(); return this; @@ -2012,6 +2186,8 @@ public Builder setClusterSecondaryRangeNameBytes( private java.lang.Object servicesSecondaryRangeName_ = ""; /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2022,13 +2198,13 @@ public Builder setClusterSecondaryRangeNameBytes(
      * 
* * string services_secondary_range_name = 8; + * * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { java.lang.Object ref = servicesSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; @@ -2037,6 +2213,8 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2047,15 +2225,14 @@ public java.lang.String getServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; + * * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -2063,6 +2240,8 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2073,20 +2252,22 @@ public java.lang.String getServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; + * * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName( - java.lang.String value) { + public Builder setServicesSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesSecondaryRangeName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2097,15 +2278,18 @@ public Builder setServicesSecondaryRangeName(
      * 
* * string services_secondary_range_name = 8; + * * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { - + servicesSecondaryRangeName_ = getDefaultInstance().getServicesSecondaryRangeName(); onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2116,16 +2300,16 @@ public Builder clearServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; + * * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesSecondaryRangeName_ = value; onChanged(); return this; @@ -2133,6 +2317,8 @@ public Builder setServicesSecondaryRangeNameBytes( private java.lang.Object clusterIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2148,13 +2334,13 @@ public Builder setServicesSecondaryRangeNameBytes(
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { java.lang.Object ref = clusterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; @@ -2163,6 +2349,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2178,15 +2366,14 @@ public java.lang.String getClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -2194,6 +2381,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2209,20 +2398,22 @@ public java.lang.String getClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock( - java.lang.String value) { + public Builder setClusterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2238,15 +2429,18 @@ public Builder setClusterIpv4CidrBlock(
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { - + clusterIpv4CidrBlock_ = getDefaultInstance().getClusterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2262,16 +2456,16 @@ public Builder clearClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4CidrBlock_ = value; onChanged(); return this; @@ -2279,6 +2473,8 @@ public Builder setClusterIpv4CidrBlockBytes( private java.lang.Object nodeIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2293,13 +2489,13 @@ public Builder setClusterIpv4CidrBlockBytes(
      * 
* * string node_ipv4_cidr_block = 10; + * * @return The nodeIpv4CidrBlock. */ public java.lang.String getNodeIpv4CidrBlock() { java.lang.Object ref = nodeIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; @@ -2308,6 +2504,8 @@ public java.lang.String getNodeIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2322,15 +2520,14 @@ public java.lang.String getNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; + * * @return The bytes for nodeIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -2338,6 +2535,8 @@ public java.lang.String getNodeIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2352,20 +2551,22 @@ public java.lang.String getNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; + * * @param value The nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlock( - java.lang.String value) { + public Builder setNodeIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2380,15 +2581,18 @@ public Builder setNodeIpv4CidrBlock(
      * 
* * string node_ipv4_cidr_block = 10; + * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrBlock() { - + nodeIpv4CidrBlock_ = getDefaultInstance().getNodeIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2403,16 +2607,16 @@ public Builder clearNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; + * * @param value The bytes for nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4CidrBlock_ = value; onChanged(); return this; @@ -2420,6 +2624,8 @@ public Builder setNodeIpv4CidrBlockBytes( private java.lang.Object servicesIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2435,13 +2641,13 @@ public Builder setNodeIpv4CidrBlockBytes(
      * 
* * string services_ipv4_cidr_block = 11; + * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { java.lang.Object ref = servicesIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; @@ -2450,6 +2656,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2465,15 +2673,14 @@ public java.lang.String getServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; + * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -2481,6 +2688,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2496,20 +2705,22 @@ public java.lang.String getServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; + * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock( - java.lang.String value) { + public Builder setServicesIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2525,15 +2736,18 @@ public Builder setServicesIpv4CidrBlock(
      * 
* * string services_ipv4_cidr_block = 11; + * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { - + servicesIpv4CidrBlock_ = getDefaultInstance().getServicesIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2549,16 +2763,16 @@ public Builder clearServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; + * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4CidrBlock_ = value; onChanged(); return this; @@ -2566,6 +2780,8 @@ public Builder setServicesIpv4CidrBlockBytes( private java.lang.Object tpuIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2581,13 +2797,13 @@ public Builder setServicesIpv4CidrBlockBytes(
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -2596,6 +2812,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2611,15 +2829,14 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -2627,6 +2844,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2642,20 +2861,22 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock( - java.lang.String value) { + public Builder setTpuIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2671,15 +2892,18 @@ public Builder setTpuIpv4CidrBlock(
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -2695,23 +2919,25 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean useRoutes_ ; + private boolean useRoutes_; /** + * + * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -2720,6 +2946,7 @@ public Builder setTpuIpv4CidrBlockBytes(
      * 
* * bool use_routes = 15; + * * @return The useRoutes. */ @java.lang.Override @@ -2727,6 +2954,8 @@ public boolean getUseRoutes() { return useRoutes_; } /** + * + * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -2735,16 +2964,19 @@ public boolean getUseRoutes() {
      * 
* * bool use_routes = 15; + * * @param value The useRoutes to set. * @return This builder for chaining. */ public Builder setUseRoutes(boolean value) { - + useRoutes_ = value; onChanged(); return this; } /** + * + * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -2753,10 +2985,11 @@ public Builder setUseRoutes(boolean value) {
      * 
* * bool use_routes = 15; + * * @return This builder for chaining. */ public Builder clearUseRoutes() { - + useRoutes_ = false; onChanged(); return this; @@ -2764,51 +2997,65 @@ public Builder clearUseRoutes() { private int stackType_ = 0; /** + * + * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; + * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override public int getStackTypeValue() { + @java.lang.Override + public int getStackTypeValue() { return stackType_; } /** + * + * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; + * * @param value The enum numeric value on the wire for stackType to set. * @return This builder for chaining. */ public Builder setStackTypeValue(int value) { - + stackType_ = value; onChanged(); return this; } /** + * + * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; + * * @return The stackType. */ @java.lang.Override public com.google.container.v1.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1.StackType result = com.google.container.v1.StackType.valueOf(stackType_); + com.google.container.v1.StackType result = + com.google.container.v1.StackType.valueOf(stackType_); return result == null ? com.google.container.v1.StackType.UNRECOGNIZED : result; } /** + * + * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; + * * @param value The stackType to set. * @return This builder for chaining. */ @@ -2816,21 +3063,24 @@ public Builder setStackType(com.google.container.v1.StackType value) { if (value == null) { throw new NullPointerException(); } - + stackType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The IP stack type of the cluster
      * 
* * .google.container.v1.StackType stack_type = 16; + * * @return This builder for chaining. */ public Builder clearStackType() { - + stackType_ = 0; onChanged(); return this; @@ -2838,51 +3088,65 @@ public Builder clearStackType() { private int ipv6AccessType_ = 0; /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override public int getIpv6AccessTypeValue() { + @java.lang.Override + public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @param value The enum numeric value on the wire for ipv6AccessType to set. * @return This builder for chaining. */ public Builder setIpv6AccessTypeValue(int value) { - + ipv6AccessType_ = value; onChanged(); return this; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @return The ipv6AccessType. */ @java.lang.Override public com.google.container.v1.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1.IPv6AccessType result = com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); + com.google.container.v1.IPv6AccessType result = + com.google.container.v1.IPv6AccessType.valueOf(ipv6AccessType_); return result == null ? com.google.container.v1.IPv6AccessType.UNRECOGNIZED : result; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @param value The ipv6AccessType to set. * @return This builder for chaining. */ @@ -2890,28 +3154,31 @@ public Builder setIpv6AccessType(com.google.container.v1.IPv6AccessType value) { if (value == null) { throw new NullPointerException(); } - + ipv6AccessType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @return This builder for chaining. */ public Builder clearIpv6AccessType() { - + ipv6AccessType_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2921,12 +3188,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.IPAllocationPolicy) private static final com.google.container.v1.IPAllocationPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.IPAllocationPolicy(); } @@ -2935,27 +3202,27 @@ public static com.google.container.v1.IPAllocationPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2970,6 +3237,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.IPAllocationPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 83% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java index 0374867d097b..bf2a16ea123d 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface IPAllocationPolicyOrBuilder extends +public interface IPAllocationPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -16,22 +34,28 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * bool use_ip_aliases = 1; + * * @return The useIpAliases. */ boolean getUseIpAliases(); /** + * + * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; + * * @return The createSubnetwork. */ boolean getCreateSubnetwork(); /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -39,10 +63,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string subnetwork_name = 3; + * * @return The subnetworkName. */ java.lang.String getSubnetworkName(); /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -50,84 +77,107 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string subnetwork_name = 3; + * * @return The bytes for subnetworkName. */ - com.google.protobuf.ByteString - getSubnetworkNameBytes(); + com.google.protobuf.ByteString getSubnetworkNameBytes(); /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated java.lang.String getClusterIpv4Cidr(); + @java.lang.Deprecated + java.lang.String getClusterIpv4Cidr(); /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1307 + * + * @deprecated google.container.v1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1307 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIpv4CidrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIpv4CidrBytes(); /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated java.lang.String getNodeIpv4Cidr(); + @java.lang.Deprecated + java.lang.String getNodeIpv4Cidr(); /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1310 + * + * @deprecated google.container.v1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1310 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodeIpv4CidrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodeIpv4CidrBytes(); /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated java.lang.String getServicesIpv4Cidr(); + @java.lang.Deprecated + java.lang.String getServicesIpv4Cidr(); /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1313 + * + * @deprecated google.container.v1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1/cluster_service.proto;l=1313 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getServicesIpv4CidrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getServicesIpv4CidrBytes(); /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -138,10 +188,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_secondary_range_name = 7; + * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -152,12 +205,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_secondary_range_name = 7; + * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -168,10 +223,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_secondary_range_name = 8; + * * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -182,12 +240,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_secondary_range_name = 8; + * * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -203,10 +263,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -222,12 +285,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -242,10 +307,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The nodeIpv4CidrBlock. */ java.lang.String getNodeIpv4CidrBlock(); /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -260,12 +328,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The bytes for nodeIpv4CidrBlock. */ - com.google.protobuf.ByteString - getNodeIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes(); /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -281,10 +351,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -300,12 +373,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -321,10 +396,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -340,12 +418,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); /** + * + * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -354,44 +434,57 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * bool use_routes = 15; + * * @return The useRoutes. */ boolean getUseRoutes(); /** + * + * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; + * * @return The enum numeric value on the wire for stackType. */ int getStackTypeValue(); /** + * + * *
    * The IP stack type of the cluster
    * 
* * .google.container.v1.StackType stack_type = 16; + * * @return The stackType. */ com.google.container.v1.StackType getStackType(); /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @return The enum numeric value on the wire for ipv6AccessType. */ int getIpv6AccessTypeValue(); /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1.IPv6AccessType ipv6_access_type = 17; + * * @return The ipv6AccessType. */ com.google.container.v1.IPv6AccessType getIpv6AccessType(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java index 20e4a95e03bd..7819f8a97459 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPv6AccessType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Possible values for IPv6 access type
  * 
* * Protobuf enum {@code google.container.v1.IPv6AccessType} */ -public enum IPv6AccessType - implements com.google.protobuf.ProtocolMessageEnum { +public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value, will be defaulted as type external.
    * 
@@ -21,6 +39,8 @@ public enum IPv6AccessType */ IPV6_ACCESS_TYPE_UNSPECIFIED(0), /** + * + * *
    * Access type internal (all v6 addresses are internal IPs)
    * 
@@ -29,6 +49,8 @@ public enum IPv6AccessType */ INTERNAL(1), /** + * + * *
    * Access type external (all v6 addresses are external IPs)
    * 
@@ -40,6 +62,8 @@ public enum IPv6AccessType ; /** + * + * *
    * Default value, will be defaulted as type external.
    * 
@@ -48,6 +72,8 @@ public enum IPv6AccessType */ public static final int IPV6_ACCESS_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Access type internal (all v6 addresses are internal IPs)
    * 
@@ -56,6 +82,8 @@ public enum IPv6AccessType */ public static final int INTERNAL_VALUE = 1; /** + * + * *
    * Access type external (all v6 addresses are external IPs)
    * 
@@ -64,7 +92,6 @@ public enum IPv6AccessType */ public static final int EXTERNAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static IPv6AccessType valueOf(int value) { */ public static IPv6AccessType forNumber(int value) { switch (value) { - case 0: return IPV6_ACCESS_TYPE_UNSPECIFIED; - case 1: return INTERNAL; - case 2: return EXTERNAL; - default: return null; + case 0: + return IPV6_ACCESS_TYPE_UNSPECIFIED; + case 1: + return INTERNAL; + case 2: + return EXTERNAL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IPv6AccessType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IPv6AccessType findValueByNumber(int number) { - return IPv6AccessType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IPv6AccessType findValueByNumber(int number) { + return IPv6AccessType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(5); } private static final IPv6AccessType[] VALUES = values(); - public static IPv6AccessType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IPv6AccessType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +174,3 @@ private IPv6AccessType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.IPv6AccessType) } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java index c94418d6f35f..6bd9aa6b74ae 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * IdentityServiceConfig is configuration for Identity Service which allows
  * customers to use external identity providers with the K8S API
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1.IdentityServiceConfig}
  */
-public final class IdentityServiceConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IdentityServiceConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.IdentityServiceConfig)
     IdentityServiceConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IdentityServiceConfig.newBuilder() to construct.
   private IdentityServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private IdentityServiceConfig() {
-  }
+
+  private IdentityServiceConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IdentityServiceConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_IdentityServiceConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.IdentityServiceConfig.class, com.google.container.v1.IdentityServiceConfig.Builder.class);
+            com.google.container.v1.IdentityServiceConfig.class,
+            com.google.container.v1.IdentityServiceConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Whether to enable the Identity Service component
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.IdentityServiceConfig)) { return super.equals(obj); } - com.google.container.v1.IdentityServiceConfig other = (com.google.container.v1.IdentityServiceConfig) obj; + com.google.container.v1.IdentityServiceConfig other = + (com.google.container.v1.IdentityServiceConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.IdentityServiceConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.IdentityServiceConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IdentityServiceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IdentityServiceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IdentityServiceConfig parseFrom( 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.IdentityServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IdentityServiceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.IdentityServiceConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.IdentityServiceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.IdentityServiceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.IdentityServiceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.IdentityServiceConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.IdentityServiceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.IdentityServiceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.IdentityServiceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IdentityServiceConfig is configuration for Identity Service which allows
    * customers to use external identity providers with the K8S API
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.IdentityServiceConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.IdentityServiceConfig)
       com.google.container.v1.IdentityServiceConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.IdentityServiceConfig.class, com.google.container.v1.IdentityServiceConfig.Builder.class);
+              com.google.container.v1.IdentityServiceConfig.class,
+              com.google.container.v1.IdentityServiceConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.IdentityServiceConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IdentityServiceConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1.IdentityServiceConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.IdentityServiceConfig buildPartial() {
-      com.google.container.v1.IdentityServiceConfig result = new com.google.container.v1.IdentityServiceConfig(this);
+      com.google.container.v1.IdentityServiceConfig result =
+          new com.google.container.v1.IdentityServiceConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1.IdentityServiceConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.IdentityServiceConfig) {
-        return mergeFrom((com.google.container.v1.IdentityServiceConfig)other);
+        return mergeFrom((com.google.container.v1.IdentityServiceConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,17 +390,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +413,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +430,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.IdentityServiceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.IdentityServiceConfig) private static final com.google.container.v1.IdentityServiceConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.IdentityServiceConfig(); } @@ -452,27 +490,27 @@ public static com.google.container.v1.IdentityServiceConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentityServiceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentityServiceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.IdentityServiceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java new file mode 100644 index 000000000000..7be1d3e9bf67 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface IdentityServiceConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.IdentityServiceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether to enable the Identity Service component
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java index a793944407b9..6dc2502d2e6f 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * IntraNodeVisibilityConfig contains the desired config of the intra-node
  * visibility on this cluster.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1.IntraNodeVisibilityConfig}
  */
-public final class IntraNodeVisibilityConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IntraNodeVisibilityConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.IntraNodeVisibilityConfig)
     IntraNodeVisibilityConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IntraNodeVisibilityConfig.newBuilder() to construct.
   private IntraNodeVisibilityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private IntraNodeVisibilityConfig() {
-  }
+
+  private IntraNodeVisibilityConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IntraNodeVisibilityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.IntraNodeVisibilityConfig.class, com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
+            com.google.container.v1.IntraNodeVisibilityConfig.class,
+            com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enables intra node visibility for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.IntraNodeVisibilityConfig)) { return super.equals(obj); } - com.google.container.v1.IntraNodeVisibilityConfig other = (com.google.container.v1.IntraNodeVisibilityConfig) obj; + com.google.container.v1.IntraNodeVisibilityConfig other = + (com.google.container.v1.IntraNodeVisibilityConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( 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.IntraNodeVisibilityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.IntraNodeVisibilityConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.IntraNodeVisibilityConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.IntraNodeVisibilityConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.IntraNodeVisibilityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IntraNodeVisibilityConfig contains the desired config of the intra-node
    * visibility on this cluster.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.IntraNodeVisibilityConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.IntraNodeVisibilityConfig)
       com.google.container.v1.IntraNodeVisibilityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.IntraNodeVisibilityConfig.class, com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
+              com.google.container.v1.IntraNodeVisibilityConfig.class,
+              com.google.container.v1.IntraNodeVisibilityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.IntraNodeVisibilityConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1.IntraNodeVisibilityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.IntraNodeVisibilityConfig buildPartial() {
-      com.google.container.v1.IntraNodeVisibilityConfig result = new com.google.container.v1.IntraNodeVisibilityConfig(this);
+      com.google.container.v1.IntraNodeVisibilityConfig result =
+          new com.google.container.v1.IntraNodeVisibilityConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1.IntraNodeVisibilityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.IntraNodeVisibilityConfig) {
-        return mergeFrom((com.google.container.v1.IntraNodeVisibilityConfig)other);
+        return mergeFrom((com.google.container.v1.IntraNodeVisibilityConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -333,7 +360,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.IntraNodeVisibilityConfig other) {
-      if (other == com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -363,17 +391,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +414,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +431,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.IntraNodeVisibilityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.IntraNodeVisibilityConfig) private static final com.google.container.v1.IntraNodeVisibilityConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.IntraNodeVisibilityConfig(); } @@ -452,27 +491,27 @@ public static com.google.container.v1.IntraNodeVisibilityConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntraNodeVisibilityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntraNodeVisibilityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +526,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.IntraNodeVisibilityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java new file mode 100644 index 000000000000..38e2b812a11d --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface IntraNodeVisibilityConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.IntraNodeVisibilityConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enables intra node visibility for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java index f42524b3eff3..2c3404bf6aed 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Jwk.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Jwk is a JSON Web Key as specified in RFC 7517
  * 
* * Protobuf type {@code google.container.v1.Jwk} */ -public final class Jwk extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Jwk extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.Jwk) JwkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Jwk.newBuilder() to construct. private Jwk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Jwk() { kty_ = ""; alg_ = ""; @@ -33,25 +51,25 @@ private Jwk() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Jwk(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Jwk.class, com.google.container.v1.Jwk.Builder.class); } @@ -59,11 +77,14 @@ protected java.lang.Object newInstance( public static final int KTY_FIELD_NUMBER = 1; private volatile java.lang.Object kty_; /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The kty. */ @java.lang.Override @@ -72,29 +93,29 @@ public java.lang.String getKty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; } } /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The bytes for kty. */ @java.lang.Override - public com.google.protobuf.ByteString - getKtyBytes() { + public com.google.protobuf.ByteString getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kty_ = b; return b; } else { @@ -105,11 +126,14 @@ public java.lang.String getKty() { public static final int ALG_FIELD_NUMBER = 2; private volatile java.lang.Object alg_; /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The alg. */ @java.lang.Override @@ -118,29 +142,29 @@ public java.lang.String getAlg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; } } /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The bytes for alg. */ @java.lang.Override - public com.google.protobuf.ByteString - getAlgBytes() { + public com.google.protobuf.ByteString getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alg_ = b; return b; } else { @@ -151,11 +175,14 @@ public java.lang.String getAlg() { public static final int USE_FIELD_NUMBER = 3; private volatile java.lang.Object use_; /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The use. */ @java.lang.Override @@ -164,29 +191,29 @@ public java.lang.String getUse() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; } } /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The bytes for use. */ @java.lang.Override - public com.google.protobuf.ByteString - getUseBytes() { + public com.google.protobuf.ByteString getUseBytes() { java.lang.Object ref = use_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); use_ = b; return b; } else { @@ -197,11 +224,14 @@ public java.lang.String getUse() { public static final int KID_FIELD_NUMBER = 4; private volatile java.lang.Object kid_; /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The kid. */ @java.lang.Override @@ -210,29 +240,29 @@ public java.lang.String getKid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; } } /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The bytes for kid. */ @java.lang.Override - public com.google.protobuf.ByteString - getKidBytes() { + public com.google.protobuf.ByteString getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kid_ = b; return b; } else { @@ -243,11 +273,14 @@ public java.lang.String getKid() { public static final int N_FIELD_NUMBER = 5; private volatile java.lang.Object n_; /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The n. */ @java.lang.Override @@ -256,29 +289,29 @@ public java.lang.String getN() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; } } /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The bytes for n. */ @java.lang.Override - public com.google.protobuf.ByteString - getNBytes() { + public com.google.protobuf.ByteString getNBytes() { java.lang.Object ref = n_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); n_ = b; return b; } else { @@ -289,11 +322,14 @@ public java.lang.String getN() { public static final int E_FIELD_NUMBER = 6; private volatile java.lang.Object e_; /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The e. */ @java.lang.Override @@ -302,29 +338,29 @@ public java.lang.String getE() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; } } /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The bytes for e. */ @java.lang.Override - public com.google.protobuf.ByteString - getEBytes() { + public com.google.protobuf.ByteString getEBytes() { java.lang.Object ref = e_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); e_ = b; return b; } else { @@ -335,11 +371,14 @@ public java.lang.String getE() { public static final int X_FIELD_NUMBER = 7; private volatile java.lang.Object x_; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The x. */ @java.lang.Override @@ -348,29 +387,29 @@ public java.lang.String getX() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The bytes for x. */ @java.lang.Override - public com.google.protobuf.ByteString - getXBytes() { + public com.google.protobuf.ByteString getXBytes() { java.lang.Object ref = x_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); x_ = b; return b; } else { @@ -381,11 +420,14 @@ public java.lang.String getX() { public static final int Y_FIELD_NUMBER = 8; private volatile java.lang.Object y_; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The y. */ @java.lang.Override @@ -394,29 +436,29 @@ public java.lang.String getY() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The bytes for y. */ @java.lang.Override - public com.google.protobuf.ByteString - getYBytes() { + public com.google.protobuf.ByteString getYBytes() { java.lang.Object ref = y_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); y_ = b; return b; } else { @@ -427,11 +469,14 @@ public java.lang.String getY() { public static final int CRV_FIELD_NUMBER = 9; private volatile java.lang.Object crv_; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The crv. */ @java.lang.Override @@ -440,29 +485,29 @@ public java.lang.String getCrv() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The bytes for crv. */ @java.lang.Override - public com.google.protobuf.ByteString - getCrvBytes() { + public com.google.protobuf.ByteString getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); crv_ = b; return b; } else { @@ -471,6 +516,7 @@ public java.lang.String getCrv() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,8 +528,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kty_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kty_); } @@ -555,31 +600,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.Jwk)) { return super.equals(obj); } com.google.container.v1.Jwk other = (com.google.container.v1.Jwk) obj; - if (!getKty() - .equals(other.getKty())) return false; - if (!getAlg() - .equals(other.getAlg())) return false; - if (!getUse() - .equals(other.getUse())) return false; - if (!getKid() - .equals(other.getKid())) return false; - if (!getN() - .equals(other.getN())) return false; - if (!getE() - .equals(other.getE())) return false; - if (!getX() - .equals(other.getX())) return false; - if (!getY() - .equals(other.getY())) return false; - if (!getCrv() - .equals(other.getCrv())) return false; + if (!getKty().equals(other.getKty())) return false; + if (!getAlg().equals(other.getAlg())) return false; + if (!getUse().equals(other.getUse())) return false; + if (!getKid().equals(other.getKid())) return false; + if (!getN().equals(other.getN())) return false; + if (!getE().equals(other.getE())) return false; + if (!getX().equals(other.getX())) return false; + if (!getY().equals(other.getY())) return false; + if (!getCrv().equals(other.getCrv())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -614,130 +650,134 @@ public int hashCode() { return hash; } - public static com.google.container.v1.Jwk parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.Jwk parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Jwk parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.Jwk parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.Jwk parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Jwk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.Jwk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Jwk parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.Jwk parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.Jwk parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.Jwk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.Jwk parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.Jwk parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.container.v1.Jwk parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.Jwk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.Jwk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Jwk is a JSON Web Key as specified in RFC 7517
    * 
* * Protobuf type {@code google.container.v1.Jwk} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.Jwk) com.google.container.v1.JwkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1.Jwk.class, com.google.container.v1.Jwk.Builder.class); } // Construct using com.google.container.v1.Jwk.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +803,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Jwk_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_Jwk_descriptor; } @java.lang.Override @@ -802,38 +842,39 @@ public com.google.container.v1.Jwk buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.Jwk) { - return mergeFrom((com.google.container.v1.Jwk)other); + return mergeFrom((com.google.container.v1.Jwk) other); } else { super.mergeFrom(other); return this; @@ -904,57 +945,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - kty_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - alg_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - use_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - kid_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - n_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - e_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - x_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - y_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - crv_ = input.readStringRequireUtf8(); - - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + kty_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + alg_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + use_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + kid_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + n_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + e_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + x_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + y_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + crv_ = input.readStringRequireUtf8(); + + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -967,18 +1018,20 @@ public Builder mergeFrom( private java.lang.Object kty_ = ""; /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return The kty. */ public java.lang.String getKty() { java.lang.Object ref = kty_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; @@ -987,20 +1040,21 @@ public java.lang.String getKty() { } } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return The bytes for kty. */ - public com.google.protobuf.ByteString - getKtyBytes() { + public com.google.protobuf.ByteString getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kty_ = b; return b; } else { @@ -1008,54 +1062,61 @@ public java.lang.String getKty() { } } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @param value The kty to set. * @return This builder for chaining. */ - public Builder setKty( - java.lang.String value) { + public Builder setKty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kty_ = value; onChanged(); return this; } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return This builder for chaining. */ public Builder clearKty() { - + kty_ = getDefaultInstance().getKty(); onChanged(); return this; } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @param value The bytes for kty to set. * @return This builder for chaining. */ - public Builder setKtyBytes( - com.google.protobuf.ByteString value) { + public Builder setKtyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kty_ = value; onChanged(); return this; @@ -1063,18 +1124,20 @@ public Builder setKtyBytes( private java.lang.Object alg_ = ""; /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return The alg. */ public java.lang.String getAlg() { java.lang.Object ref = alg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; @@ -1083,20 +1146,21 @@ public java.lang.String getAlg() { } } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return The bytes for alg. */ - public com.google.protobuf.ByteString - getAlgBytes() { + public com.google.protobuf.ByteString getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alg_ = b; return b; } else { @@ -1104,54 +1168,61 @@ public java.lang.String getAlg() { } } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @param value The alg to set. * @return This builder for chaining. */ - public Builder setAlg( - java.lang.String value) { + public Builder setAlg(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alg_ = value; onChanged(); return this; } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return This builder for chaining. */ public Builder clearAlg() { - + alg_ = getDefaultInstance().getAlg(); onChanged(); return this; } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @param value The bytes for alg to set. * @return This builder for chaining. */ - public Builder setAlgBytes( - com.google.protobuf.ByteString value) { + public Builder setAlgBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alg_ = value; onChanged(); return this; @@ -1159,18 +1230,20 @@ public Builder setAlgBytes( private java.lang.Object use_ = ""; /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return The use. */ public java.lang.String getUse() { java.lang.Object ref = use_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; @@ -1179,20 +1252,21 @@ public java.lang.String getUse() { } } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return The bytes for use. */ - public com.google.protobuf.ByteString - getUseBytes() { + public com.google.protobuf.ByteString getUseBytes() { java.lang.Object ref = use_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); use_ = b; return b; } else { @@ -1200,54 +1274,61 @@ public java.lang.String getUse() { } } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @param value The use to set. * @return This builder for chaining. */ - public Builder setUse( - java.lang.String value) { + public Builder setUse(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + use_ = value; onChanged(); return this; } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return This builder for chaining. */ public Builder clearUse() { - + use_ = getDefaultInstance().getUse(); onChanged(); return this; } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @param value The bytes for use to set. * @return This builder for chaining. */ - public Builder setUseBytes( - com.google.protobuf.ByteString value) { + public Builder setUseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + use_ = value; onChanged(); return this; @@ -1255,18 +1336,20 @@ public Builder setUseBytes( private java.lang.Object kid_ = ""; /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return The kid. */ public java.lang.String getKid() { java.lang.Object ref = kid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; @@ -1275,20 +1358,21 @@ public java.lang.String getKid() { } } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return The bytes for kid. */ - public com.google.protobuf.ByteString - getKidBytes() { + public com.google.protobuf.ByteString getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kid_ = b; return b; } else { @@ -1296,54 +1380,61 @@ public java.lang.String getKid() { } } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @param value The kid to set. * @return This builder for chaining. */ - public Builder setKid( - java.lang.String value) { + public Builder setKid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kid_ = value; onChanged(); return this; } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return This builder for chaining. */ public Builder clearKid() { - + kid_ = getDefaultInstance().getKid(); onChanged(); return this; } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @param value The bytes for kid to set. * @return This builder for chaining. */ - public Builder setKidBytes( - com.google.protobuf.ByteString value) { + public Builder setKidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kid_ = value; onChanged(); return this; @@ -1351,18 +1442,20 @@ public Builder setKidBytes( private java.lang.Object n_ = ""; /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return The n. */ public java.lang.String getN() { java.lang.Object ref = n_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; @@ -1371,20 +1464,21 @@ public java.lang.String getN() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return The bytes for n. */ - public com.google.protobuf.ByteString - getNBytes() { + public com.google.protobuf.ByteString getNBytes() { java.lang.Object ref = n_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); n_ = b; return b; } else { @@ -1392,54 +1486,61 @@ public java.lang.String getN() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @param value The n to set. * @return This builder for chaining. */ - public Builder setN( - java.lang.String value) { + public Builder setN(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + n_ = value; onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return This builder for chaining. */ public Builder clearN() { - + n_ = getDefaultInstance().getN(); onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @param value The bytes for n to set. * @return This builder for chaining. */ - public Builder setNBytes( - com.google.protobuf.ByteString value) { + public Builder setNBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + n_ = value; onChanged(); return this; @@ -1447,18 +1548,20 @@ public Builder setNBytes( private java.lang.Object e_ = ""; /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return The e. */ public java.lang.String getE() { java.lang.Object ref = e_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; @@ -1467,20 +1570,21 @@ public java.lang.String getE() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return The bytes for e. */ - public com.google.protobuf.ByteString - getEBytes() { + public com.google.protobuf.ByteString getEBytes() { java.lang.Object ref = e_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); e_ = b; return b; } else { @@ -1488,54 +1592,61 @@ public java.lang.String getE() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @param value The e to set. * @return This builder for chaining. */ - public Builder setE( - java.lang.String value) { + public Builder setE(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + e_ = value; onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return This builder for chaining. */ public Builder clearE() { - + e_ = getDefaultInstance().getE(); onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @param value The bytes for e to set. * @return This builder for chaining. */ - public Builder setEBytes( - com.google.protobuf.ByteString value) { + public Builder setEBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + e_ = value; onChanged(); return this; @@ -1543,18 +1654,20 @@ public Builder setEBytes( private java.lang.Object x_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return The x. */ public java.lang.String getX() { java.lang.Object ref = x_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; @@ -1563,20 +1676,21 @@ public java.lang.String getX() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return The bytes for x. */ - public com.google.protobuf.ByteString - getXBytes() { + public com.google.protobuf.ByteString getXBytes() { java.lang.Object ref = x_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); x_ = b; return b; } else { @@ -1584,54 +1698,61 @@ public java.lang.String getX() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @param value The x to set. * @return This builder for chaining. */ - public Builder setX( - java.lang.String value) { + public Builder setX(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + x_ = value; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return This builder for chaining. */ public Builder clearX() { - + x_ = getDefaultInstance().getX(); onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @param value The bytes for x to set. * @return This builder for chaining. */ - public Builder setXBytes( - com.google.protobuf.ByteString value) { + public Builder setXBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + x_ = value; onChanged(); return this; @@ -1639,18 +1760,20 @@ public Builder setXBytes( private java.lang.Object y_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return The y. */ public java.lang.String getY() { java.lang.Object ref = y_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; @@ -1659,20 +1782,21 @@ public java.lang.String getY() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return The bytes for y. */ - public com.google.protobuf.ByteString - getYBytes() { + public com.google.protobuf.ByteString getYBytes() { java.lang.Object ref = y_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); y_ = b; return b; } else { @@ -1680,54 +1804,61 @@ public java.lang.String getY() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @param value The y to set. * @return This builder for chaining. */ - public Builder setY( - java.lang.String value) { + public Builder setY(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + y_ = value; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return This builder for chaining. */ public Builder clearY() { - + y_ = getDefaultInstance().getY(); onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @param value The bytes for y to set. * @return This builder for chaining. */ - public Builder setYBytes( - com.google.protobuf.ByteString value) { + public Builder setYBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + y_ = value; onChanged(); return this; @@ -1735,18 +1866,20 @@ public Builder setYBytes( private java.lang.Object crv_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return The crv. */ public java.lang.String getCrv() { java.lang.Object ref = crv_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; @@ -1755,20 +1888,21 @@ public java.lang.String getCrv() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return The bytes for crv. */ - public com.google.protobuf.ByteString - getCrvBytes() { + public com.google.protobuf.ByteString getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); crv_ = b; return b; } else { @@ -1776,61 +1910,68 @@ public java.lang.String getCrv() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @param value The crv to set. * @return This builder for chaining. */ - public Builder setCrv( - java.lang.String value) { + public Builder setCrv(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + crv_ = value; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return This builder for chaining. */ public Builder clearCrv() { - + crv_ = getDefaultInstance().getCrv(); onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @param value The bytes for crv to set. * @return This builder for chaining. */ - public Builder setCrvBytes( - com.google.protobuf.ByteString value) { + public Builder setCrvBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + crv_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1840,12 +1981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.Jwk) } // @@protoc_insertion_point(class_scope:google.container.v1.Jwk) private static final com.google.container.v1.Jwk DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.Jwk(); } @@ -1854,27 +1995,27 @@ public static com.google.container.v1.Jwk getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Jwk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Jwk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1889,6 +2030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.Jwk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java index 3adfbb359150..1a1d84d21012 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/JwkOrBuilder.java @@ -1,189 +1,250 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface JwkOrBuilder extends +public interface JwkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.Jwk) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The kty. */ java.lang.String getKty(); /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The bytes for kty. */ - com.google.protobuf.ByteString - getKtyBytes(); + com.google.protobuf.ByteString getKtyBytes(); /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The alg. */ java.lang.String getAlg(); /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The bytes for alg. */ - com.google.protobuf.ByteString - getAlgBytes(); + com.google.protobuf.ByteString getAlgBytes(); /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The use. */ java.lang.String getUse(); /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The bytes for use. */ - com.google.protobuf.ByteString - getUseBytes(); + com.google.protobuf.ByteString getUseBytes(); /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The kid. */ java.lang.String getKid(); /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The bytes for kid. */ - com.google.protobuf.ByteString - getKidBytes(); + com.google.protobuf.ByteString getKidBytes(); /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The n. */ java.lang.String getN(); /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The bytes for n. */ - com.google.protobuf.ByteString - getNBytes(); + com.google.protobuf.ByteString getNBytes(); /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The e. */ java.lang.String getE(); /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The bytes for e. */ - com.google.protobuf.ByteString - getEBytes(); + com.google.protobuf.ByteString getEBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The x. */ java.lang.String getX(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The bytes for x. */ - com.google.protobuf.ByteString - getXBytes(); + com.google.protobuf.ByteString getXBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The y. */ java.lang.String getY(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The bytes for y. */ - com.google.protobuf.ByteString - getYBytes(); + com.google.protobuf.ByteString getYBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The crv. */ java.lang.String getCrv(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The bytes for crv. */ - com.google.protobuf.ByteString - getCrvBytes(); + com.google.protobuf.ByteString getCrvBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java index fc7dce82a21a..3a1ff1c90d4a 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for the Kubernetes Dashboard.
  * 
* * Protobuf type {@code google.container.v1.KubernetesDashboard} */ -public final class KubernetesDashboard extends - com.google.protobuf.GeneratedMessageV3 implements +public final class KubernetesDashboard extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.KubernetesDashboard) KubernetesDashboardOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KubernetesDashboard.newBuilder() to construct. private KubernetesDashboard(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KubernetesDashboard() { - } + + private KubernetesDashboard() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new KubernetesDashboard(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.KubernetesDashboard.class, com.google.container.v1.KubernetesDashboard.Builder.class); + com.google.container.v1.KubernetesDashboard.class, + com.google.container.v1.KubernetesDashboard.Builder.class); } public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** + * + * *
    * Whether the Kubernetes Dashboard is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.KubernetesDashboard)) { return super.equals(obj); } - com.google.container.v1.KubernetesDashboard other = (com.google.container.v1.KubernetesDashboard) obj; + com.google.container.v1.KubernetesDashboard other = + (com.google.container.v1.KubernetesDashboard) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.KubernetesDashboard parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.KubernetesDashboard parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.KubernetesDashboard parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.KubernetesDashboard parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.KubernetesDashboard parseFrom( 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.KubernetesDashboard parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.KubernetesDashboard parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.KubernetesDashboard parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.KubernetesDashboard parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.KubernetesDashboard parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.KubernetesDashboard parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.KubernetesDashboard parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.KubernetesDashboard parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.KubernetesDashboard parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.KubernetesDashboard prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * 
* * Protobuf type {@code google.container.v1.KubernetesDashboard} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.KubernetesDashboard) com.google.container.v1.KubernetesDashboardOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.KubernetesDashboard.class, com.google.container.v1.KubernetesDashboard.Builder.class); + com.google.container.v1.KubernetesDashboard.class, + com.google.container.v1.KubernetesDashboard.Builder.class); } // Construct using com.google.container.v1.KubernetesDashboard.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_KubernetesDashboard_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_KubernetesDashboard_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.KubernetesDashboard build() { @java.lang.Override public com.google.container.v1.KubernetesDashboard buildPartial() { - com.google.container.v1.KubernetesDashboard result = new com.google.container.v1.KubernetesDashboard(this); + com.google.container.v1.KubernetesDashboard result = + new com.google.container.v1.KubernetesDashboard(this); result.disabled_ = disabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.KubernetesDashboard buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.KubernetesDashboard) { - return mergeFrom((com.google.container.v1.KubernetesDashboard)other); + return mergeFrom((com.google.container.v1.KubernetesDashboard) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -396,37 +428,43 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.KubernetesDashboard) } // @@protoc_insertion_point(class_scope:google.container.v1.KubernetesDashboard) private static final com.google.container.v1.KubernetesDashboard DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.KubernetesDashboard(); } @@ -450,27 +488,27 @@ public static com.google.container.v1.KubernetesDashboard getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KubernetesDashboard parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KubernetesDashboard parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.KubernetesDashboard getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java new file mode 100644 index 000000000000..3132e05c1074 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface KubernetesDashboardOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.KubernetesDashboard) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Kubernetes Dashboard is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java index 2013343aa1c4..b329e6a30734 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration for the legacy Attribute Based Access Control authorization
  * mode.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1.LegacyAbac}
  */
-public final class LegacyAbac extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LegacyAbac extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.LegacyAbac)
     LegacyAbacOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LegacyAbac.newBuilder() to construct.
   private LegacyAbac(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private LegacyAbac() {
-  }
+
+  private LegacyAbac() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LegacyAbac();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_LegacyAbac_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.LegacyAbac.class, com.google.container.v1.LegacyAbac.Builder.class);
+            com.google.container.v1.LegacyAbac.class,
+            com.google.container.v1.LegacyAbac.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -67,6 +88,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,8 +100,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -93,8 +114,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -104,15 +124,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LegacyAbac)) { return super.equals(obj); } com.google.container.v1.LegacyAbac other = (com.google.container.v1.LegacyAbac) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -125,104 +144,109 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.LegacyAbac parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.LegacyAbac parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LegacyAbac parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LegacyAbac parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.LegacyAbac parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LegacyAbac parseFrom( 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.LegacyAbac parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LegacyAbac parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LegacyAbac parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LegacyAbac parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.LegacyAbac parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.LegacyAbac parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.LegacyAbac parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LegacyAbac parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.LegacyAbac prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the legacy Attribute Based Access Control authorization
    * mode.
@@ -230,33 +254,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.LegacyAbac}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.LegacyAbac)
       com.google.container.v1.LegacyAbacOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_LegacyAbac_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.LegacyAbac.class, com.google.container.v1.LegacyAbac.Builder.class);
+              com.google.container.v1.LegacyAbac.class,
+              com.google.container.v1.LegacyAbac.Builder.class);
     }
 
     // Construct using com.google.container.v1.LegacyAbac.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -266,9 +289,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LegacyAbac_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
@@ -297,38 +320,39 @@ public com.google.container.v1.LegacyAbac buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.LegacyAbac) {
-        return mergeFrom((com.google.container.v1.LegacyAbac)other);
+        return mergeFrom((com.google.container.v1.LegacyAbac) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -366,17 +390,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -387,8 +413,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -397,6 +425,7 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -404,6 +433,8 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -412,16 +443,19 @@ public boolean getEnabled() {
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -430,17 +464,18 @@ public Builder setEnabled(boolean value) {
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -450,12 +485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.LegacyAbac) } // @@protoc_insertion_point(class_scope:google.container.v1.LegacyAbac) private static final com.google.container.v1.LegacyAbac DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.LegacyAbac(); } @@ -464,27 +499,27 @@ public static com.google.container.v1.LegacyAbac getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LegacyAbac parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LegacyAbac parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -499,6 +534,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LegacyAbac getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java similarity index 50% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java index 0636733e2229..373ff779c46c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LegacyAbacOrBuilder extends +public interface LegacyAbacOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.LegacyAbac) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -16,6 +34,7 @@ public interface LegacyAbacOrBuilder extends
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java index 6866ae365e93..bf260f7ea241 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfig.java @@ -1,75 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Parameters that can be configured on Linux nodes.
  * 
* * Protobuf type {@code google.container.v1.LinuxNodeConfig} */ -public final class LinuxNodeConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LinuxNodeConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.LinuxNodeConfig) LinuxNodeConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinuxNodeConfig.newBuilder() to construct. private LinuxNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinuxNodeConfig() { cgroupMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinuxNodeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LinuxNodeConfig.class, com.google.container.v1.LinuxNodeConfig.Builder.class); + com.google.container.v1.LinuxNodeConfig.class, + com.google.container.v1.LinuxNodeConfig.Builder.class); } /** + * + * *
    * Possible cgroup modes that can be used.
    * 
* * Protobuf enum {@code google.container.v1.LinuxNodeConfig.CgroupMode} */ - public enum CgroupMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -79,6 +100,8 @@ public enum CgroupMode
      */
     CGROUP_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -88,6 +111,8 @@ public enum CgroupMode
      */
     CGROUP_MODE_V1(1),
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -100,6 +125,8 @@ public enum CgroupMode
     ;
 
     /**
+     *
+     *
      * 
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -109,6 +136,8 @@ public enum CgroupMode
      */
     public static final int CGROUP_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -118,6 +147,8 @@ public enum CgroupMode
      */
     public static final int CGROUP_MODE_V1_VALUE = 1;
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -127,7 +158,6 @@ public enum CgroupMode
      */
     public static final int CGROUP_MODE_V2_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -152,49 +182,49 @@ public static CgroupMode valueOf(int value) {
      */
     public static CgroupMode forNumber(int value) {
       switch (value) {
-        case 0: return CGROUP_MODE_UNSPECIFIED;
-        case 1: return CGROUP_MODE_V1;
-        case 2: return CGROUP_MODE_V2;
-        default: return null;
+        case 0:
+          return CGROUP_MODE_UNSPECIFIED;
+        case 1:
+          return CGROUP_MODE_V1;
+        case 2:
+          return CGROUP_MODE_V2;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CgroupMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CgroupMode findValueByNumber(int number) {
-              return CgroupMode.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CgroupMode findValueByNumber(int number) {
+            return CgroupMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.LinuxNodeConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final CgroupMode[] VALUES = values();
 
-    public static CgroupMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CgroupMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -212,24 +242,23 @@ private CgroupMode(int value) {
   }
 
   public static final int SYSCTLS_FIELD_NUMBER = 1;
+
   private static final class SysctlsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.container.v1.ClusterServiceProto
+                .internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> sysctls_;
-  private com.google.protobuf.MapField
-  internalGetSysctls() {
+
+  private com.google.protobuf.MapField sysctls_;
+
+  private com.google.protobuf.MapField internalGetSysctls() {
     if (sysctls_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          SysctlsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry);
     }
     return sysctls_;
   }
@@ -238,6 +267,8 @@ public int getSysctlsCount() {
     return internalGetSysctls().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -257,22 +288,22 @@ public int getSysctlsCount() {
    *
    * map<string, string> sysctls = 1;
    */
-
   @java.lang.Override
-  public boolean containsSysctls(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsSysctls(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetSysctls().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getSysctlsMap()} instead.
-   */
+  /** Use {@link #getSysctlsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSysctls() {
     return getSysctlsMap();
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -293,11 +324,12 @@ public java.util.Map getSysctls() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-
   public java.util.Map getSysctlsMap() {
     return internalGetSysctls().getMap();
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -318,16 +350,16 @@ public java.util.Map getSysctlsMap() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-
-  public java.lang.String getSysctlsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetSysctls().getMap();
+  public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetSysctls().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -348,12 +380,11 @@ public java.lang.String getSysctlsOrDefault(
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-
-  public java.lang.String getSysctlsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetSysctls().getMap();
+  public java.lang.String getSysctlsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetSysctls().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -363,31 +394,43 @@ public java.lang.String getSysctlsOrThrow(
   public static final int CGROUP_MODE_FIELD_NUMBER = 2;
   private int cgroupMode_;
   /**
+   *
+   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override public int getCgroupModeValue() { + @java.lang.Override + public int getCgroupModeValue() { return cgroupMode_; } /** + * + * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The cgroupMode. */ - @java.lang.Override public com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode() { + @java.lang.Override + public com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1.LinuxNodeConfig.CgroupMode result = com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; + com.google.container.v1.LinuxNodeConfig.CgroupMode result = + com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null + ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,15 +442,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetSysctls(), - SysctlsDefaultEntryHolder.defaultEntry, - 1); - if (cgroupMode_ != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetSysctls(), SysctlsDefaultEntryHolder.defaultEntry, 1); + if (cgroupMode_ + != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, cgroupMode_); } getUnknownFields().writeTo(output); @@ -419,19 +458,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetSysctls().getMap().entrySet()) { - com.google.protobuf.MapEntry - sysctls__ = SysctlsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, sysctls__); + for (java.util.Map.Entry entry : + internalGetSysctls().getMap().entrySet()) { + com.google.protobuf.MapEntry sysctls__ = + SysctlsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sysctls__); } - if (cgroupMode_ != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, cgroupMode_); + if (cgroupMode_ + != com.google.container.v1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, cgroupMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -441,15 +480,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LinuxNodeConfig)) { return super.equals(obj); } com.google.container.v1.LinuxNodeConfig other = (com.google.container.v1.LinuxNodeConfig) obj; - if (!internalGetSysctls().equals( - other.internalGetSysctls())) return false; + if (!internalGetSysctls().equals(other.internalGetSysctls())) return false; if (cgroupMode_ != other.cgroupMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -473,152 +511,156 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LinuxNodeConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.LinuxNodeConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LinuxNodeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LinuxNodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LinuxNodeConfig parseFrom( 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.LinuxNodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LinuxNodeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LinuxNodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LinuxNodeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.LinuxNodeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.LinuxNodeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.LinuxNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LinuxNodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.LinuxNodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * Protobuf type {@code google.container.v1.LinuxNodeConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.LinuxNodeConfig) com.google.container.v1.LinuxNodeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 1: return internalGetMutableSysctls(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LinuxNodeConfig.class, com.google.container.v1.LinuxNodeConfig.Builder.class); + com.google.container.v1.LinuxNodeConfig.class, + com.google.container.v1.LinuxNodeConfig.Builder.class); } // Construct using com.google.container.v1.LinuxNodeConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +671,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LinuxNodeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LinuxNodeConfig_descriptor; } @java.lang.Override @@ -650,7 +692,8 @@ public com.google.container.v1.LinuxNodeConfig build() { @java.lang.Override public com.google.container.v1.LinuxNodeConfig buildPartial() { - com.google.container.v1.LinuxNodeConfig result = new com.google.container.v1.LinuxNodeConfig(this); + com.google.container.v1.LinuxNodeConfig result = + new com.google.container.v1.LinuxNodeConfig(this); int from_bitField0_ = bitField0_; result.sysctls_ = internalGetSysctls(); result.sysctls_.makeImmutable(); @@ -663,38 +706,39 @@ public com.google.container.v1.LinuxNodeConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LinuxNodeConfig) { - return mergeFrom((com.google.container.v1.LinuxNodeConfig)other); + return mergeFrom((com.google.container.v1.LinuxNodeConfig) other); } else { super.mergeFrom(other); return this; @@ -703,8 +747,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1.LinuxNodeConfig other) { if (other == com.google.container.v1.LinuxNodeConfig.getDefaultInstance()) return this; - internalGetMutableSysctls().mergeFrom( - other.internalGetSysctls()); + internalGetMutableSysctls().mergeFrom(other.internalGetSysctls()); if (other.cgroupMode_ != 0) { setCgroupModeValue(other.getCgroupModeValue()); } @@ -734,25 +777,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - sysctls__ = input.readMessage( - SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableSysctls().getMutableMap().put( - sysctls__.getKey(), sysctls__.getValue()); - break; - } // case 10 - case 16: { - cgroupMode_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry sysctls__ = + input.readMessage( + SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableSysctls() + .getMutableMap() + .put(sysctls__.getKey(), sysctls__.getValue()); + break; + } // case 10 + case 16: + { + cgroupMode_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -762,24 +810,24 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> sysctls_; - private com.google.protobuf.MapField - internalGetSysctls() { + private com.google.protobuf.MapField sysctls_; + + private com.google.protobuf.MapField internalGetSysctls() { if (sysctls_ == null) { - return com.google.protobuf.MapField.emptyMapField( - SysctlsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); } return sysctls_; } + private com.google.protobuf.MapField - internalGetMutableSysctls() { - onChanged();; + internalGetMutableSysctls() { + onChanged(); + ; if (sysctls_ == null) { - sysctls_ = com.google.protobuf.MapField.newMapField( - SysctlsDefaultEntryHolder.defaultEntry); + sysctls_ = com.google.protobuf.MapField.newMapField(SysctlsDefaultEntryHolder.defaultEntry); } if (!sysctls_.isMutable()) { sysctls_ = sysctls_.copy(); @@ -791,6 +839,8 @@ public int getSysctlsCount() { return internalGetSysctls().getMap().size(); } /** + * + * *
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -810,22 +860,22 @@ public int getSysctlsCount() {
      *
      * map<string, string> sysctls = 1;
      */
-
     @java.lang.Override
-    public boolean containsSysctls(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsSysctls(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetSysctls().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getSysctlsMap()} instead.
-     */
+    /** Use {@link #getSysctlsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSysctls() {
       return getSysctlsMap();
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -846,11 +896,12 @@ public java.util.Map getSysctls() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-
     public java.util.Map getSysctlsMap() {
       return internalGetSysctls().getMap();
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -871,16 +922,17 @@ public java.util.Map getSysctlsMap() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-
     public java.lang.String getSysctlsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetSysctls().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetSysctls().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -901,12 +953,11 @@ public java.lang.String getSysctlsOrDefault(
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-
-    public java.lang.String getSysctlsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetSysctls().getMap();
+    public java.lang.String getSysctlsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetSysctls().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -914,11 +965,12 @@ public java.lang.String getSysctlsOrThrow(
     }
 
     public Builder clearSysctls() {
-      internalGetMutableSysctls().getMutableMap()
-          .clear();
+      internalGetMutableSysctls().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -938,23 +990,21 @@ public Builder clearSysctls() {
      *
      * map<string, string> sysctls = 1;
      */
-
-    public Builder removeSysctls(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableSysctls().getMutableMap()
-          .remove(key);
+    public Builder removeSysctls(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableSysctls().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableSysctls() {
+    public java.util.Map getMutableSysctls() {
       return internalGetMutableSysctls().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -974,19 +1024,20 @@ public Builder removeSysctls(
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder putSysctls(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putSysctls(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableSysctls().getMutableMap()
-          .put(key, value);
+      internalGetMutableSysctls().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -1006,61 +1057,74 @@ public Builder putSysctls(
      *
      * map<string, string> sysctls = 1;
      */
-
-    public Builder putAllSysctls(
-        java.util.Map values) {
-      internalGetMutableSysctls().getMutableMap()
-          .putAll(values);
+    public Builder putAllSysctls(java.util.Map values) {
+      internalGetMutableSysctls().getMutableMap().putAll(values);
       return this;
     }
 
     private int cgroupMode_ = 0;
     /**
+     *
+     *
      * 
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override public int getCgroupModeValue() { + @java.lang.Override + public int getCgroupModeValue() { return cgroupMode_; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @param value The enum numeric value on the wire for cgroupMode to set. * @return This builder for chaining. */ public Builder setCgroupModeValue(int value) { - + cgroupMode_ = value; onChanged(); return this; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The cgroupMode. */ @java.lang.Override public com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1.LinuxNodeConfig.CgroupMode result = com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; + com.google.container.v1.LinuxNodeConfig.CgroupMode result = + com.google.container.v1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null + ? com.google.container.v1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + : result; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @param value The cgroupMode to set. * @return This builder for chaining. */ @@ -1068,28 +1132,31 @@ public Builder setCgroupMode(com.google.container.v1.LinuxNodeConfig.CgroupMode if (value == null) { throw new NullPointerException(); } - + cgroupMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return This builder for chaining. */ public Builder clearCgroupMode() { - + cgroupMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,12 +1166,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.LinuxNodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LinuxNodeConfig) private static final com.google.container.v1.LinuxNodeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.LinuxNodeConfig(); } @@ -1113,27 +1180,27 @@ public static com.google.container.v1.LinuxNodeConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinuxNodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinuxNodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,6 +1215,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LinuxNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java similarity index 76% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java index 6c909b2d2ddb..4e74478d4ab7 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LinuxNodeConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LinuxNodeConfigOrBuilder extends +public interface LinuxNodeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.LinuxNodeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -29,6 +47,8 @@ public interface LinuxNodeConfigOrBuilder extends
    */
   int getSysctlsCount();
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -48,15 +68,13 @@ public interface LinuxNodeConfigOrBuilder extends
    *
    * map<string, string> sysctls = 1;
    */
-  boolean containsSysctls(
-      java.lang.String key);
-  /**
-   * Use {@link #getSysctlsMap()} instead.
-   */
+  boolean containsSysctls(java.lang.String key);
+  /** Use {@link #getSysctlsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getSysctls();
+  java.util.Map getSysctls();
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -76,9 +94,10 @@ boolean containsSysctls(
    *
    * map<string, string> sysctls = 1;
    */
-  java.util.Map
-  getSysctlsMap();
+  java.util.Map getSysctlsMap();
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -100,11 +119,13 @@ boolean containsSysctls(
    */
 
   /* nullable */
-java.lang.String getSysctlsOrDefault(
+  java.lang.String getSysctlsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -124,25 +145,29 @@ java.lang.String getSysctlsOrDefault(
    *
    * map<string, string> sysctls = 1;
    */
-
-  java.lang.String getSysctlsOrThrow(
-      java.lang.String key);
+  java.lang.String getSysctlsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The enum numeric value on the wire for cgroupMode. */ int getCgroupModeValue(); /** + * + * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The cgroupMode. */ com.google.container.v1.LinuxNodeConfig.CgroupMode getCgroupMode(); diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index 322cc8cb3598..3e68d9d2b662 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ListClustersRequest lists clusters.
  * 
* * Protobuf type {@code google.container.v1.ListClustersRequest} */ -public final class ListClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ListClustersRequest) ListClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersRequest() { projectId_ = ""; zone_ = ""; @@ -27,32 +45,35 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersRequest.class, com.google.container.v1.ListClustersRequest.Builder.class); + com.google.container.v1.ListClustersRequest.class, + com.google.container.v1.ListClustersRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -60,24 +81,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -85,18 +109,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +131,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -115,24 +141,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -141,18 +170,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,6 +192,8 @@ protected java.lang.Object newInstance( public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -170,6 +201,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -178,14 +210,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -193,16 +226,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -211,6 +243,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -259,19 +291,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListClustersRequest)) { return super.equals(obj); } - com.google.container.v1.ListClustersRequest other = (com.google.container.v1.ListClustersRequest) obj; + com.google.container.v1.ListClustersRequest other = + (com.google.container.v1.ListClustersRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getParent() - .equals(other.getParent())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -294,130 +324,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ListClustersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListClustersRequest parseFrom( 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.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ListClustersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListClustersRequest lists clusters.
    * 
* * Protobuf type {@code google.container.v1.ListClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListClustersRequest) com.google.container.v1.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersRequest.class, com.google.container.v1.ListClustersRequest.Builder.class); + com.google.container.v1.ListClustersRequest.class, + com.google.container.v1.ListClustersRequest.Builder.class); } // Construct using com.google.container.v1.ListClustersRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersRequest_descriptor; } @java.lang.Override @@ -452,7 +488,8 @@ public com.google.container.v1.ListClustersRequest build() { @java.lang.Override public com.google.container.v1.ListClustersRequest buildPartial() { - com.google.container.v1.ListClustersRequest result = new com.google.container.v1.ListClustersRequest(this); + com.google.container.v1.ListClustersRequest result = + new com.google.container.v1.ListClustersRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -464,38 +501,39 @@ public com.google.container.v1.ListClustersRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListClustersRequest) { - return mergeFrom((com.google.container.v1.ListClustersRequest)other); + return mergeFrom((com.google.container.v1.ListClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -542,27 +580,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -575,6 +617,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -582,15 +626,16 @@ 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=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -599,6 +644,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -606,17 +653,17 @@ 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=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -624,6 +671,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -631,22 +680,25 @@ 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=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -654,17 +706,21 @@ 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=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -672,18 +728,19 @@ 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=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -691,6 +748,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -699,15 +758,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -716,6 +776,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -724,17 +786,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -742,6 +804,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -750,22 +814,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -774,17 +841,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -793,18 +864,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -812,6 +884,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -819,13 +893,13 @@ public Builder mergeFrom(
      * 
* * string parent = 4; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -834,6 +908,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -841,15 +917,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -857,6 +932,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -864,20 +941,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -885,15 +964,18 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -901,23 +983,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +1009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListClustersRequest) private static final com.google.container.v1.ListClustersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListClustersRequest(); } @@ -941,27 +1023,27 @@ public static com.google.container.v1.ListClustersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,6 +1058,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java index df6c6530de02..6b7c13356c7e 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListClustersRequestOrBuilder extends +public interface ListClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2563 + * + * @deprecated google.container.v1.ListClustersRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2563 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,14 +87,17 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2569 + * + * @deprecated google.container.v1.ListClustersRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2569 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -73,10 +105,13 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -84,8 +119,8 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java index 8125a4c4075a..ad359a581ef1 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ListClustersResponse is the result of ListClustersRequest.
  * 
* * Protobuf type {@code google.container.v1.ListClustersResponse} */ -public final class ListClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ListClustersResponse) ListClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,32 +44,35 @@ private ListClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersResponse.class, com.google.container.v1.ListClustersResponse.Builder.class); + com.google.container.v1.ListClustersResponse.class, + com.google.container.v1.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; private java.util.List clusters_; /** + * + * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -64,6 +85,8 @@ public java.util.List getClustersList() {
     return clusters_;
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -72,11 +95,13 @@ public java.util.List getClustersList() {
    * repeated .google.container.v1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getClustersOrBuilderList() {
     return clusters_;
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -89,6 +114,8 @@ public int getClustersCount() {
     return clusters_.size();
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -101,6 +128,8 @@ public com.google.container.v1.Cluster getClusters(int index) {
     return clusters_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -109,45 +138,52 @@ public com.google.container.v1.Cluster getClusters(int index) {
    * repeated .google.container.v1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
-      int index) {
+  public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index) {
     return clusters_.get(index);
   }
 
   public static final int MISSING_ZONES_FIELD_NUMBER = 2;
   private com.google.protobuf.LazyStringList missingZones_;
   /**
+   *
+   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_; } /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -155,21 +191,24 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,8 +220,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -199,8 +237,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); } { int dataSize = 0; @@ -218,17 +255,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListClustersResponse)) { return super.equals(obj); } - com.google.container.v1.ListClustersResponse other = (com.google.container.v1.ListClustersResponse) obj; + com.google.container.v1.ListClustersResponse other = + (com.google.container.v1.ListClustersResponse) obj; - if (!getClustersList() - .equals(other.getClustersList())) return false; - if (!getMissingZonesList() - .equals(other.getMissingZonesList())) return false; + if (!getClustersList().equals(other.getClustersList())) return false; + if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -253,130 +289,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ListClustersResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListClustersResponse parseFrom( 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.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ListClustersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListClustersResponse is the result of ListClustersRequest.
    * 
* * Protobuf type {@code google.container.v1.ListClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListClustersResponse) com.google.container.v1.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListClustersResponse.class, com.google.container.v1.ListClustersResponse.Builder.class); + com.google.container.v1.ListClustersResponse.class, + com.google.container.v1.ListClustersResponse.Builder.class); } // Construct using com.google.container.v1.ListClustersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListClustersResponse_descriptor; } @java.lang.Override @@ -414,7 +456,8 @@ public com.google.container.v1.ListClustersResponse build() { @java.lang.Override public com.google.container.v1.ListClustersResponse buildPartial() { - com.google.container.v1.ListClustersResponse result = new com.google.container.v1.ListClustersResponse(this); + com.google.container.v1.ListClustersResponse result = + new com.google.container.v1.ListClustersResponse(this); int from_bitField0_ = bitField0_; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -438,38 +481,39 @@ public com.google.container.v1.ListClustersResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListClustersResponse) { - return mergeFrom((com.google.container.v1.ListClustersResponse)other); + return mergeFrom((com.google.container.v1.ListClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -496,9 +540,10 @@ public Builder mergeFrom(com.google.container.v1.ListClustersResponse other) { clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getClustersFieldBuilder() : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getClustersFieldBuilder() + : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -540,31 +585,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1.Cluster m = - input.readMessage( - com.google.container.v1.Cluster.parser(), - extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1.Cluster m = + input.readMessage(com.google.container.v1.Cluster.parser(), extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -574,21 +620,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> clustersBuilder_; + com.google.container.v1.Cluster, + com.google.container.v1.Cluster.Builder, + com.google.container.v1.ClusterOrBuilder> + clustersBuilder_; /** + * + * *
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -604,6 +657,8 @@ public java.util.List getClustersList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -619,6 +674,8 @@ public int getClustersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -634,6 +691,8 @@ public com.google.container.v1.Cluster getClusters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -641,8 +700,7 @@ public com.google.container.v1.Cluster getClusters(int index) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder setClusters(
-        int index, com.google.container.v1.Cluster value) {
+    public Builder setClusters(int index, com.google.container.v1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -656,6 +714,8 @@ public Builder setClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -663,8 +723,7 @@ public Builder setClusters(
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder setClusters(
-        int index, com.google.container.v1.Cluster.Builder builderForValue) {
+    public Builder setClusters(int index, com.google.container.v1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.set(index, builderForValue.build());
@@ -675,6 +734,8 @@ public Builder setClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -696,6 +757,8 @@ public Builder addClusters(com.google.container.v1.Cluster value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -703,8 +766,7 @@ public Builder addClusters(com.google.container.v1.Cluster value) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder addClusters(
-        int index, com.google.container.v1.Cluster value) {
+    public Builder addClusters(int index, com.google.container.v1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -718,6 +780,8 @@ public Builder addClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -725,8 +789,7 @@ public Builder addClusters(
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder addClusters(
-        com.google.container.v1.Cluster.Builder builderForValue) {
+    public Builder addClusters(com.google.container.v1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.add(builderForValue.build());
@@ -737,6 +800,8 @@ public Builder addClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -744,8 +809,7 @@ public Builder addClusters(
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public Builder addClusters(
-        int index, com.google.container.v1.Cluster.Builder builderForValue) {
+    public Builder addClusters(int index, com.google.container.v1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.add(index, builderForValue.build());
@@ -756,6 +820,8 @@ public Builder addClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -767,8 +833,7 @@ public Builder addAllClusters(
         java.lang.Iterable values) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, clusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_);
         onChanged();
       } else {
         clustersBuilder_.addAllMessages(values);
@@ -776,6 +841,8 @@ public Builder addAllClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -794,6 +861,8 @@ public Builder clearClusters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -812,6 +881,8 @@ public Builder removeClusters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -819,11 +890,12 @@ public Builder removeClusters(int index) {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public com.google.container.v1.Cluster.Builder getClustersBuilder(
-        int index) {
+    public com.google.container.v1.Cluster.Builder getClustersBuilder(int index) {
       return getClustersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -831,14 +903,16 @@ public com.google.container.v1.Cluster.Builder getClustersBuilder(
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
-        int index) {
+    public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index) {
       if (clustersBuilder_ == null) {
-        return clusters_.get(index);  } else {
+        return clusters_.get(index);
+      } else {
         return clustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -846,8 +920,8 @@ public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public java.util.List 
-         getClustersOrBuilderList() {
+    public java.util.List
+        getClustersOrBuilderList() {
       if (clustersBuilder_ != null) {
         return clustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -855,6 +929,8 @@ public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -863,10 +939,12 @@ public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
      * repeated .google.container.v1.Cluster clusters = 1;
      */
     public com.google.container.v1.Cluster.Builder addClustersBuilder() {
-      return getClustersFieldBuilder().addBuilder(
-          com.google.container.v1.Cluster.getDefaultInstance());
+      return getClustersFieldBuilder()
+          .addBuilder(com.google.container.v1.Cluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -874,12 +952,13 @@ public com.google.container.v1.Cluster.Builder addClustersBuilder() {
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public com.google.container.v1.Cluster.Builder addClustersBuilder(
-        int index) {
-      return getClustersFieldBuilder().addBuilder(
-          index, com.google.container.v1.Cluster.getDefaultInstance());
+    public com.google.container.v1.Cluster.Builder addClustersBuilder(int index) {
+      return getClustersFieldBuilder()
+          .addBuilder(index, com.google.container.v1.Cluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -887,64 +966,76 @@ public com.google.container.v1.Cluster.Builder addClustersBuilder(
      *
      * repeated .google.container.v1.Cluster clusters = 1;
      */
-    public java.util.List 
-         getClustersBuilderList() {
+    public java.util.List getClustersBuilderList() {
       return getClustersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder> 
+            com.google.container.v1.Cluster,
+            com.google.container.v1.Cluster.Builder,
+            com.google.container.v1.ClusterOrBuilder>
         getClustersFieldBuilder() {
       if (clustersBuilder_ == null) {
-        clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.Cluster, com.google.container.v1.Cluster.Builder, com.google.container.v1.ClusterOrBuilder>(
-                clusters_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        clustersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1.Cluster,
+                com.google.container.v1.Cluster.Builder,
+                com.google.container.v1.ClusterOrBuilder>(
+                clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         clusters_ = null;
       }
       return clustersBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList missingZones_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureMissingZonesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -952,85 +1043,95 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones( - int index, java.lang.String value) { + public Builder setMissingZones(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones( - java.lang.String value) { + public Builder addMissingZones(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones( - java.lang.Iterable values) { + public Builder addAllMissingZones(java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1040,29 +1141,31 @@ public Builder clearMissingZones() { return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes( - com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +1175,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListClustersResponse) private static final com.google.container.v1.ListClustersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListClustersResponse(); } @@ -1086,27 +1189,27 @@ public static com.google.container.v1.ListClustersResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,6 +1224,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java index a455fa03da2b..e50ec4c0dd1e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListClustersResponseOrBuilder extends +public interface ListClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -15,9 +33,10 @@ public interface ListClustersResponseOrBuilder extends
    *
    * repeated .google.container.v1.Cluster clusters = 1;
    */
-  java.util.List 
-      getClustersList();
+  java.util.List getClustersList();
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -27,6 +46,8 @@ public interface ListClustersResponseOrBuilder extends
    */
   com.google.container.v1.Cluster getClusters(int index);
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -36,6 +57,8 @@ public interface ListClustersResponseOrBuilder extends
    */
   int getClustersCount();
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -43,9 +66,10 @@ public interface ListClustersResponseOrBuilder extends
    *
    * repeated .google.container.v1.Cluster clusters = 1;
    */
-  java.util.List 
-      getClustersOrBuilderList();
+  java.util.List getClustersOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -53,51 +77,60 @@ public interface ListClustersResponseOrBuilder extends
    *
    * repeated .google.container.v1.Cluster clusters = 1;
    */
-  com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(
-      int index);
+  com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - java.util.List - getMissingZonesList(); + java.util.List getMissingZonesList(); /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ int getMissingZonesCount(); /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString - getMissingZonesBytes(int index); + com.google.protobuf.ByteString getMissingZonesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index 3ebf94e30c45..cd343d27cea0 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ListNodePoolsRequest lists the node pool(s) for a cluster.
  * 
* * Protobuf type {@code google.container.v1.ListNodePoolsRequest} */ -public final class ListNodePoolsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ListNodePoolsRequest) ListNodePoolsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNodePoolsRequest.newBuilder() to construct. private ListNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNodePoolsRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private ListNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsRequest.class, com.google.container.v1.ListNodePoolsRequest.Builder.class); + com.google.container.v1.ListNodePoolsRequest.class, + com.google.container.v1.ListNodePoolsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +250,15 @@ protected java.lang.Object newInstance( public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -230,30 +267,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -262,6 +299,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +353,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListNodePoolsRequest)) { return super.equals(obj); } - com.google.container.v1.ListNodePoolsRequest other = (com.google.container.v1.ListNodePoolsRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getParent() - .equals(other.getParent())) return false; + com.google.container.v1.ListNodePoolsRequest other = + (com.google.container.v1.ListNodePoolsRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,130 +389,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListNodePoolsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ListNodePoolsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListNodePoolsRequest parseFrom( 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.ListNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListNodePoolsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ListNodePoolsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListNodePoolsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListNodePoolsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ListNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListNodePoolsRequest lists the node pool(s) for a cluster.
    * 
* * Protobuf type {@code google.container.v1.ListNodePoolsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListNodePoolsRequest) com.google.container.v1.ListNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsRequest.class, com.google.container.v1.ListNodePoolsRequest.Builder.class); + com.google.container.v1.ListNodePoolsRequest.class, + com.google.container.v1.ListNodePoolsRequest.Builder.class); } // Construct using com.google.container.v1.ListNodePoolsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +534,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsRequest_descriptor; } @java.lang.Override @@ -515,7 +555,8 @@ public com.google.container.v1.ListNodePoolsRequest build() { @java.lang.Override public com.google.container.v1.ListNodePoolsRequest buildPartial() { - com.google.container.v1.ListNodePoolsRequest result = new com.google.container.v1.ListNodePoolsRequest(this); + com.google.container.v1.ListNodePoolsRequest result = + new com.google.container.v1.ListNodePoolsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +569,39 @@ public com.google.container.v1.ListNodePoolsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListNodePoolsRequest) { - return mergeFrom((com.google.container.v1.ListNodePoolsRequest)other); + return mergeFrom((com.google.container.v1.ListNodePoolsRequest) other); } else { super.mergeFrom(other); return this; @@ -610,32 +652,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,6 +695,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -655,15 +704,16 @@ 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=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,6 +722,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -679,17 +731,17 @@ 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=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,6 +749,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -704,22 +758,25 @@ 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=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -727,17 +784,21 @@ 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=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -745,18 +806,19 @@ 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=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +826,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +836,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +854,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +864,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +882,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +892,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +919,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +942,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +962,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +988,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1014,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1088,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1017,21 +1111,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1039,64 +1134,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListNodePoolsRequest) private static final com.google.container.v1.ListNodePoolsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListNodePoolsRequest(); } @@ -1120,27 +1222,27 @@ public static com.google.container.v1.ListNodePoolsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1257,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java index a9750aec80a0..85d7525c7d61 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListNodePoolsRequestOrBuilder extends +public interface ListNodePoolsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface ListNodePoolsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface ListNodePoolsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2770 + * + * @deprecated google.container.v1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2770 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface ListNodePoolsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +87,71 @@ public interface ListNodePoolsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2776 + * + * @deprecated google.container.v1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2776 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2780 + * + * @deprecated google.container.v1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2780 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java index bbc366161298..01e7e3989fe2 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * ListNodePoolsResponse is the result of ListNodePoolsRequest.
  * 
* * Protobuf type {@code google.container.v1.ListNodePoolsResponse} */ -public final class ListNodePoolsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ListNodePoolsResponse) ListNodePoolsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNodePoolsResponse.newBuilder() to construct. private ListNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNodePoolsResponse() { nodePools_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsResponse.class, com.google.container.v1.ListNodePoolsResponse.Builder.class); + com.google.container.v1.ListNodePoolsResponse.class, + com.google.container.v1.ListNodePoolsResponse.Builder.class); } public static final int NODE_POOLS_FIELD_NUMBER = 1; private java.util.List nodePools_; /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -62,6 +83,8 @@ public java.util.List getNodePoolsList() { return nodePools_; } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -69,11 +92,13 @@ public java.util.List getNodePoolsList() { * repeated .google.container.v1.NodePool node_pools = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNodePoolsOrBuilderList() { return nodePools_; } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -85,6 +110,8 @@ public int getNodePoolsCount() { return nodePools_.size(); } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -96,6 +123,8 @@ public com.google.container.v1.NodePool getNodePools(int index) { return nodePools_.get(index); } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -103,12 +132,12 @@ public com.google.container.v1.NodePool getNodePools(int index) { * repeated .google.container.v1.NodePool node_pools = 1; */ @java.lang.Override - public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( - int index) { + public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { return nodePools_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nodePools_.size(); i++) { output.writeMessage(1, nodePools_.get(i)); } @@ -135,8 +163,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < nodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, nodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nodePools_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -146,15 +173,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListNodePoolsResponse)) { return super.equals(obj); } - com.google.container.v1.ListNodePoolsResponse other = (com.google.container.v1.ListNodePoolsResponse) obj; + com.google.container.v1.ListNodePoolsResponse other = + (com.google.container.v1.ListNodePoolsResponse) obj; - if (!getNodePoolsList() - .equals(other.getNodePoolsList())) return false; + if (!getNodePoolsList().equals(other.getNodePoolsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -175,130 +202,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListNodePoolsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ListNodePoolsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListNodePoolsResponse parseFrom( 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.ListNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListNodePoolsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ListNodePoolsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListNodePoolsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListNodePoolsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ListNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListNodePoolsResponse is the result of ListNodePoolsRequest.
    * 
* * Protobuf type {@code google.container.v1.ListNodePoolsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListNodePoolsResponse) com.google.container.v1.ListNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListNodePoolsResponse.class, com.google.container.v1.ListNodePoolsResponse.Builder.class); + com.google.container.v1.ListNodePoolsResponse.class, + com.google.container.v1.ListNodePoolsResponse.Builder.class); } // Construct using com.google.container.v1.ListNodePoolsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,9 +346,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListNodePoolsResponse_descriptor; } @java.lang.Override @@ -334,7 +367,8 @@ public com.google.container.v1.ListNodePoolsResponse build() { @java.lang.Override public com.google.container.v1.ListNodePoolsResponse buildPartial() { - com.google.container.v1.ListNodePoolsResponse result = new com.google.container.v1.ListNodePoolsResponse(this); + com.google.container.v1.ListNodePoolsResponse result = + new com.google.container.v1.ListNodePoolsResponse(this); int from_bitField0_ = bitField0_; if (nodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -353,38 +387,39 @@ public com.google.container.v1.ListNodePoolsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListNodePoolsResponse) { - return mergeFrom((com.google.container.v1.ListNodePoolsResponse)other); + return mergeFrom((com.google.container.v1.ListNodePoolsResponse) other); } else { super.mergeFrom(other); return this; @@ -411,9 +446,10 @@ public Builder mergeFrom(com.google.container.v1.ListNodePoolsResponse other) { nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodePoolsFieldBuilder() : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNodePoolsFieldBuilder() + : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -445,25 +481,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1.NodePool m = - input.readMessage( - com.google.container.v1.NodePool.parser(), - extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1.NodePool m = + input.readMessage(com.google.container.v1.NodePool.parser(), extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,21 +509,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List nodePools_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> nodePoolsBuilder_; + com.google.container.v1.NodePool, + com.google.container.v1.NodePool.Builder, + com.google.container.v1.NodePoolOrBuilder> + nodePoolsBuilder_; /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -502,6 +545,8 @@ public java.util.List getNodePoolsList() { } } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -516,6 +561,8 @@ public int getNodePoolsCount() { } } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -530,14 +577,15 @@ public com.google.container.v1.NodePool getNodePools(int index) { } } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public Builder setNodePools( - int index, com.google.container.v1.NodePool value) { + public Builder setNodePools(int index, com.google.container.v1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -551,6 +599,8 @@ public Builder setNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -569,6 +619,8 @@ public Builder setNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -589,14 +641,15 @@ public Builder addNodePools(com.google.container.v1.NodePool value) { return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public Builder addNodePools( - int index, com.google.container.v1.NodePool value) { + public Builder addNodePools(int index, com.google.container.v1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -610,14 +663,15 @@ public Builder addNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public Builder addNodePools( - com.google.container.v1.NodePool.Builder builderForValue) { + public Builder addNodePools(com.google.container.v1.NodePool.Builder builderForValue) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); nodePools_.add(builderForValue.build()); @@ -628,6 +682,8 @@ public Builder addNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -646,6 +702,8 @@ public Builder addNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -656,8 +714,7 @@ public Builder addAllNodePools( java.lang.Iterable values) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodePools_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_); onChanged(); } else { nodePoolsBuilder_.addAllMessages(values); @@ -665,6 +722,8 @@ public Builder addAllNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -682,6 +741,8 @@ public Builder clearNodePools() { return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -699,39 +760,44 @@ public Builder removeNodePools(int index) { return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public com.google.container.v1.NodePool.Builder getNodePoolsBuilder( - int index) { + public com.google.container.v1.NodePool.Builder getNodePoolsBuilder(int index) { return getNodePoolsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( - int index) { + public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { if (nodePoolsBuilder_ == null) { - return nodePools_.get(index); } else { + return nodePools_.get(index); + } else { return nodePoolsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public java.util.List - getNodePoolsOrBuilderList() { + public java.util.List + getNodePoolsOrBuilderList() { if (nodePoolsBuilder_ != null) { return nodePoolsBuilder_.getMessageOrBuilderList(); } else { @@ -739,6 +805,8 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( } } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -746,49 +814,54 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( * repeated .google.container.v1.NodePool node_pools = 1; */ public com.google.container.v1.NodePool.Builder addNodePoolsBuilder() { - return getNodePoolsFieldBuilder().addBuilder( - com.google.container.v1.NodePool.getDefaultInstance()); + return getNodePoolsFieldBuilder() + .addBuilder(com.google.container.v1.NodePool.getDefaultInstance()); } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public com.google.container.v1.NodePool.Builder addNodePoolsBuilder( - int index) { - return getNodePoolsFieldBuilder().addBuilder( - index, com.google.container.v1.NodePool.getDefaultInstance()); + public com.google.container.v1.NodePool.Builder addNodePoolsBuilder(int index) { + return getNodePoolsFieldBuilder() + .addBuilder(index, com.google.container.v1.NodePool.getDefaultInstance()); } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - public java.util.List - getNodePoolsBuilderList() { + public java.util.List getNodePoolsBuilderList() { return getNodePoolsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder> + com.google.container.v1.NodePool, + com.google.container.v1.NodePool.Builder, + com.google.container.v1.NodePoolOrBuilder> getNodePoolsFieldBuilder() { if (nodePoolsBuilder_ == null) { - nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodePool, com.google.container.v1.NodePool.Builder, com.google.container.v1.NodePoolOrBuilder>( - nodePools_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + nodePoolsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.NodePool, + com.google.container.v1.NodePool.Builder, + com.google.container.v1.NodePoolOrBuilder>( + nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nodePools_ = null; } return nodePoolsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +871,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListNodePoolsResponse) private static final com.google.container.v1.ListNodePoolsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListNodePoolsResponse(); } @@ -812,27 +885,27 @@ public static com.google.container.v1.ListNodePoolsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,6 +920,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java index a076cf1b8278..ce1bc174c7cd 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListNodePoolsResponseOrBuilder extends +public interface ListNodePoolsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - java.util.List - getNodePoolsList(); + java.util.List getNodePoolsList(); /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -25,6 +44,8 @@ public interface ListNodePoolsResponseOrBuilder extends */ com.google.container.v1.NodePool getNodePools(int index); /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -33,21 +54,23 @@ public interface ListNodePoolsResponseOrBuilder extends */ int getNodePoolsCount(); /** + * + * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - java.util.List - getNodePoolsOrBuilderList(); + java.util.List getNodePoolsOrBuilderList(); /** + * + * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1.NodePool node_pools = 1; */ - com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder( - int index); + com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index 3a6c6920a2a6..a9d5e8f59f92 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ListOperationsRequest lists operations.
  * 
* * Protobuf type {@code google.container.v1.ListOperationsRequest} */ -public final class ListOperationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOperationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ListOperationsRequest) ListOperationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOperationsRequest.newBuilder() to construct. private ListOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOperationsRequest() { projectId_ = ""; zone_ = ""; @@ -27,32 +45,35 @@ private ListOperationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOperationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsRequest.class, com.google.container.v1.ListOperationsRequest.Builder.class); + com.google.container.v1.ListOperationsRequest.class, + com.google.container.v1.ListOperationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -60,24 +81,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -85,18 +109,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +131,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -115,24 +141,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -141,18 +170,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,6 +192,8 @@ protected java.lang.Object newInstance( public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -170,6 +201,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -178,14 +210,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -193,16 +226,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -211,6 +243,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -259,19 +291,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListOperationsRequest)) { return super.equals(obj); } - com.google.container.v1.ListOperationsRequest other = (com.google.container.v1.ListOperationsRequest) obj; + com.google.container.v1.ListOperationsRequest other = + (com.google.container.v1.ListOperationsRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getParent() - .equals(other.getParent())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -294,130 +324,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListOperationsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ListOperationsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListOperationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListOperationsRequest parseFrom( 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.ListOperationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListOperationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ListOperationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListOperationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListOperationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListOperationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListOperationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ListOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListOperationsRequest lists operations.
    * 
* * Protobuf type {@code google.container.v1.ListOperationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListOperationsRequest) com.google.container.v1.ListOperationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsRequest.class, com.google.container.v1.ListOperationsRequest.Builder.class); + com.google.container.v1.ListOperationsRequest.class, + com.google.container.v1.ListOperationsRequest.Builder.class); } // Construct using com.google.container.v1.ListOperationsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsRequest_descriptor; } @java.lang.Override @@ -452,7 +488,8 @@ public com.google.container.v1.ListOperationsRequest build() { @java.lang.Override public com.google.container.v1.ListOperationsRequest buildPartial() { - com.google.container.v1.ListOperationsRequest result = new com.google.container.v1.ListOperationsRequest(this); + com.google.container.v1.ListOperationsRequest result = + new com.google.container.v1.ListOperationsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -464,38 +501,39 @@ public com.google.container.v1.ListOperationsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListOperationsRequest) { - return mergeFrom((com.google.container.v1.ListOperationsRequest)other); + return mergeFrom((com.google.container.v1.ListOperationsRequest) other); } else { super.mergeFrom(other); return this; @@ -542,27 +580,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -575,6 +617,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -582,15 +626,16 @@ 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=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -599,6 +644,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -606,17 +653,17 @@ 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=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -624,6 +671,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -631,22 +680,25 @@ 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=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -654,17 +706,21 @@ 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=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -672,18 +728,19 @@ 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=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -691,6 +748,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -699,15 +758,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -716,6 +776,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -724,17 +786,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -742,6 +804,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -750,22 +814,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -774,17 +841,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -793,18 +864,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -812,6 +884,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -819,13 +893,13 @@ public Builder mergeFrom(
      * 
* * string parent = 4; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -834,6 +908,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -841,15 +917,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -857,6 +932,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -864,20 +941,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -885,15 +964,18 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -901,23 +983,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +1009,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListOperationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListOperationsRequest) private static final com.google.container.v1.ListOperationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListOperationsRequest(); } @@ -941,27 +1023,27 @@ public static com.google.container.v1.ListOperationsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,6 +1058,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java index 9aa5f1fdcf0e..baea43df41d4 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListOperationsRequestOrBuilder extends +public interface ListOperationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListOperationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2615 + * + * @deprecated google.container.v1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2615 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -44,12 +69,16 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -58,14 +87,17 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2621 + * + * @deprecated google.container.v1.ListOperationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2621 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -73,10 +105,13 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -84,8 +119,8 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java index e13804ffa279..3cf7a437b96c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ListOperationsResponse is the result of ListOperationsRequest.
  * 
* * Protobuf type {@code google.container.v1.ListOperationsResponse} */ -public final class ListOperationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOperationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ListOperationsResponse) ListOperationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOperationsResponse.newBuilder() to construct. private ListOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOperationsResponse() { operations_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,32 +44,35 @@ private ListOperationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOperationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsResponse.class, com.google.container.v1.ListOperationsResponse.Builder.class); + com.google.container.v1.ListOperationsResponse.class, + com.google.container.v1.ListOperationsResponse.Builder.class); } public static final int OPERATIONS_FIELD_NUMBER = 1; private java.util.List operations_; /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -63,6 +84,8 @@ public java.util.List getOperationsList() { return operations_; } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -70,11 +93,13 @@ public java.util.List getOperationsList() { * repeated .google.container.v1.Operation operations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOperationsOrBuilderList() { return operations_; } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -86,6 +111,8 @@ public int getOperationsCount() { return operations_.size(); } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -97,6 +124,8 @@ public com.google.container.v1.Operation getOperations(int index) { return operations_.get(index); } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -104,45 +133,52 @@ public com.google.container.v1.Operation getOperations(int index) { * repeated .google.container.v1.Operation operations = 1; */ @java.lang.Override - public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( - int index) { + public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int index) { return operations_.get(index); } public static final int MISSING_ZONES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList missingZones_; /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_; } /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -150,21 +186,24 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +215,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -194,8 +232,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); } { int dataSize = 0; @@ -213,17 +250,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListOperationsResponse)) { return super.equals(obj); } - com.google.container.v1.ListOperationsResponse other = (com.google.container.v1.ListOperationsResponse) obj; + com.google.container.v1.ListOperationsResponse other = + (com.google.container.v1.ListOperationsResponse) obj; - if (!getOperationsList() - .equals(other.getOperationsList())) return false; - if (!getMissingZonesList() - .equals(other.getMissingZonesList())) return false; + if (!getOperationsList().equals(other.getOperationsList())) return false; + if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,130 +284,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ListOperationsResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ListOperationsResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListOperationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListOperationsResponse parseFrom( 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.ListOperationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListOperationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ListOperationsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListOperationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListOperationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListOperationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListOperationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ListOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListOperationsResponse is the result of ListOperationsRequest.
    * 
* * Protobuf type {@code google.container.v1.ListOperationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ListOperationsResponse) com.google.container.v1.ListOperationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ListOperationsResponse.class, com.google.container.v1.ListOperationsResponse.Builder.class); + com.google.container.v1.ListOperationsResponse.class, + com.google.container.v1.ListOperationsResponse.Builder.class); } // Construct using com.google.container.v1.ListOperationsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +430,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListOperationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ListOperationsResponse_descriptor; } @java.lang.Override @@ -409,7 +451,8 @@ public com.google.container.v1.ListOperationsResponse build() { @java.lang.Override public com.google.container.v1.ListOperationsResponse buildPartial() { - com.google.container.v1.ListOperationsResponse result = new com.google.container.v1.ListOperationsResponse(this); + com.google.container.v1.ListOperationsResponse result = + new com.google.container.v1.ListOperationsResponse(this); int from_bitField0_ = bitField0_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -433,38 +476,39 @@ public com.google.container.v1.ListOperationsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ListOperationsResponse) { - return mergeFrom((com.google.container.v1.ListOperationsResponse)other); + return mergeFrom((com.google.container.v1.ListOperationsResponse) other); } else { super.mergeFrom(other); return this; @@ -491,9 +535,10 @@ public Builder mergeFrom(com.google.container.v1.ListOperationsResponse other) { operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); - operationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOperationsFieldBuilder() : null; + operationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOperationsFieldBuilder() + : null; } else { operationsBuilder_.addAllMessages(other.operations_); } @@ -535,31 +580,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1.Operation m = - input.readMessage( - com.google.container.v1.Operation.parser(), - extensionRegistry); - if (operationsBuilder_ == null) { - ensureOperationsIsMutable(); - operations_.add(m); - } else { - operationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1.Operation m = + input.readMessage( + com.google.container.v1.Operation.parser(), extensionRegistry); + if (operationsBuilder_ == null) { + ensureOperationsIsMutable(); + operations_.add(m); + } else { + operationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -569,21 +616,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List operations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Operation, com.google.container.v1.Operation.Builder, com.google.container.v1.OperationOrBuilder> operationsBuilder_; + com.google.container.v1.Operation, + com.google.container.v1.Operation.Builder, + com.google.container.v1.OperationOrBuilder> + operationsBuilder_; /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -598,6 +652,8 @@ public java.util.List getOperationsList() { } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -612,6 +668,8 @@ public int getOperationsCount() { } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -626,14 +684,15 @@ public com.google.container.v1.Operation getOperations(int index) { } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public Builder setOperations( - int index, com.google.container.v1.Operation value) { + public Builder setOperations(int index, com.google.container.v1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -647,6 +706,8 @@ public Builder setOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -665,6 +726,8 @@ public Builder setOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -685,14 +748,15 @@ public Builder addOperations(com.google.container.v1.Operation value) { return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public Builder addOperations( - int index, com.google.container.v1.Operation value) { + public Builder addOperations(int index, com.google.container.v1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -706,14 +770,15 @@ public Builder addOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public Builder addOperations( - com.google.container.v1.Operation.Builder builderForValue) { + public Builder addOperations(com.google.container.v1.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); @@ -724,6 +789,8 @@ public Builder addOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -742,6 +809,8 @@ public Builder addOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -752,8 +821,7 @@ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, operations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); @@ -761,6 +829,8 @@ public Builder addAllOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -778,6 +848,8 @@ public Builder clearOperations() { return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -795,39 +867,44 @@ public Builder removeOperations(int index) { return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public com.google.container.v1.Operation.Builder getOperationsBuilder( - int index) { + public com.google.container.v1.Operation.Builder getOperationsBuilder(int index) { return getOperationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( - int index) { + public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int index) { if (operationsBuilder_ == null) { - return operations_.get(index); } else { + return operations_.get(index); + } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public java.util.List - getOperationsOrBuilderList() { + public java.util.List + getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { @@ -835,6 +912,8 @@ public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -842,86 +921,101 @@ public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( * repeated .google.container.v1.Operation operations = 1; */ public com.google.container.v1.Operation.Builder addOperationsBuilder() { - return getOperationsFieldBuilder().addBuilder( - com.google.container.v1.Operation.getDefaultInstance()); + return getOperationsFieldBuilder() + .addBuilder(com.google.container.v1.Operation.getDefaultInstance()); } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public com.google.container.v1.Operation.Builder addOperationsBuilder( - int index) { - return getOperationsFieldBuilder().addBuilder( - index, com.google.container.v1.Operation.getDefaultInstance()); + public com.google.container.v1.Operation.Builder addOperationsBuilder(int index) { + return getOperationsFieldBuilder() + .addBuilder(index, com.google.container.v1.Operation.getDefaultInstance()); } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1.Operation operations = 1; */ - public java.util.List - getOperationsBuilderList() { + public java.util.List getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Operation, com.google.container.v1.Operation.Builder, com.google.container.v1.OperationOrBuilder> + com.google.container.v1.Operation, + com.google.container.v1.Operation.Builder, + com.google.container.v1.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { - operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.Operation, com.google.container.v1.Operation.Builder, com.google.container.v1.OperationOrBuilder>( - operations_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + operationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.Operation, + com.google.container.v1.Operation.Builder, + com.google.container.v1.OperationOrBuilder>( + operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); operations_ = null; } return operationsBuilder_; } - private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList missingZones_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMissingZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -929,85 +1023,95 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones( - int index, java.lang.String value) { + public Builder setMissingZones(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones( - java.lang.String value) { + public Builder addMissingZones(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones( - java.lang.Iterable values) { + public Builder addAllMissingZones(java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1017,29 +1121,31 @@ public Builder clearMissingZones() { return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes( - com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +1155,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListOperationsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListOperationsResponse) private static final com.google.container.v1.ListOperationsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListOperationsResponse(); } @@ -1063,27 +1169,27 @@ public static com.google.container.v1.ListOperationsResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,6 +1204,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ListOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java index 2fb4c22ccafd..7ca207bd42d4 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListOperationsResponseOrBuilder extends +public interface ListOperationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListOperationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1.Operation operations = 1; */ - java.util.List - getOperationsList(); + java.util.List getOperationsList(); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -25,6 +44,8 @@ public interface ListOperationsResponseOrBuilder extends */ com.google.container.v1.Operation getOperations(int index); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -33,66 +54,78 @@ public interface ListOperationsResponseOrBuilder extends */ int getOperationsCount(); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1.Operation operations = 1; */ - java.util.List - getOperationsOrBuilderList(); + java.util.List getOperationsOrBuilderList(); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1.Operation operations = 1; */ - com.google.container.v1.OperationOrBuilder getOperationsOrBuilder( - int index); + com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int index); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - java.util.List - getMissingZonesList(); + java.util.List getMissingZonesList(); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ int getMissingZonesCount(); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString - getMissingZonesBytes(int index); + com.google.protobuf.ByteString getMissingZonesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java index a75a2848c253..7361cff73884 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ListUsableSubnetworksRequest requests the list of usable subnetworks
  * available to a user for creating clusters.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.ListUsableSubnetworksRequest}
  */
-public final class ListUsableSubnetworksRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListUsableSubnetworksRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ListUsableSubnetworksRequest)
     ListUsableSubnetworksRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksRequest.newBuilder() to construct.
   private ListUsableSubnetworksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListUsableSubnetworksRequest() {
     parent_ = "";
     filter_ = "";
@@ -28,38 +46,42 @@ private ListUsableSubnetworksRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ListUsableSubnetworksRequest.class, com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
+            com.google.container.v1.ListUsableSubnetworksRequest.class,
+            com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -68,30 +90,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -110,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -118,14 +143,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -134,16 +160,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -154,6 +179,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -162,6 +189,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -172,12 +200,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -186,30 +217,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -218,6 +249,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -259,8 +290,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -273,21 +303,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListUsableSubnetworksRequest)) { return super.equals(obj); } - com.google.container.v1.ListUsableSubnetworksRequest other = (com.google.container.v1.ListUsableSubnetworksRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.container.v1.ListUsableSubnetworksRequest other = + (com.google.container.v1.ListUsableSubnetworksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,96 +340,103 @@ public int hashCode() { } public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( 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.ListUsableSubnetworksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListUsableSubnetworksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListUsableSubnetworksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListUsableSubnetworksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ListUsableSubnetworksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListUsableSubnetworksRequest requests the list of usable subnetworks
    * available to a user for creating clusters.
@@ -410,33 +444,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ListUsableSubnetworksRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ListUsableSubnetworksRequest)
       com.google.container.v1.ListUsableSubnetworksRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ListUsableSubnetworksRequest.class, com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
+              com.google.container.v1.ListUsableSubnetworksRequest.class,
+              com.google.container.v1.ListUsableSubnetworksRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.ListUsableSubnetworksRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,9 +485,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
@@ -473,7 +506,8 @@ public com.google.container.v1.ListUsableSubnetworksRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.ListUsableSubnetworksRequest buildPartial() {
-      com.google.container.v1.ListUsableSubnetworksRequest result = new com.google.container.v1.ListUsableSubnetworksRequest(this);
+      com.google.container.v1.ListUsableSubnetworksRequest result =
+          new com.google.container.v1.ListUsableSubnetworksRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -486,38 +520,39 @@ public com.google.container.v1.ListUsableSubnetworksRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ListUsableSubnetworksRequest) {
-        return mergeFrom((com.google.container.v1.ListUsableSubnetworksRequest)other);
+        return mergeFrom((com.google.container.v1.ListUsableSubnetworksRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -525,7 +560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.ListUsableSubnetworksRequest other) {
-      if (other == com.google.container.v1.ListUsableSubnetworksRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.ListUsableSubnetworksRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -567,32 +603,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 24: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -605,19 +646,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -626,21 +669,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -648,57 +692,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -706,6 +757,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -714,13 +767,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -729,6 +782,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -737,15 +792,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -753,6 +807,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -761,20 +817,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -783,15 +841,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -800,23 +861,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -825,6 +888,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -832,6 +896,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -840,16 +906,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -858,10 +927,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -869,19 +939,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -890,21 +962,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -912,64 +985,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1059,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListUsableSubnetworksRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.ListUsableSubnetworksRequest) private static final com.google.container.v1.ListUsableSubnetworksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListUsableSubnetworksRequest(); } @@ -993,27 +1073,27 @@ public static com.google.container.v1.ListUsableSubnetworksRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1108,4 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1.ListUsableSubnetworksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java index a909d6513302..35ff092caa2f 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListUsableSubnetworksRequestOrBuilder extends +public interface ListUsableSubnetworksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListUsableSubnetworksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -38,10 +61,13 @@ public interface ListUsableSubnetworksRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -50,12 +76,14 @@ public interface ListUsableSubnetworksRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -64,29 +92,35 @@ public interface ListUsableSubnetworksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java index 71dbcc66eae6..2aba78b94eb1 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ListUsableSubnetworksResponse is the response of
  * ListUsableSubnetworksRequest.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.ListUsableSubnetworksResponse}
  */
-public final class ListUsableSubnetworksResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListUsableSubnetworksResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ListUsableSubnetworksResponse)
     ListUsableSubnetworksResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksResponse.newBuilder() to construct.
   private ListUsableSubnetworksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListUsableSubnetworksResponse() {
     subnetworks_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +45,35 @@ private ListUsableSubnetworksResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ListUsableSubnetworksResponse.class, com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
+            com.google.container.v1.ListUsableSubnetworksResponse.class,
+            com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
   }
 
   public static final int SUBNETWORKS_FIELD_NUMBER = 1;
   private java.util.List subnetworks_;
   /**
+   *
+   *
    * 
    * A list of usable subnetworks in the specified network project.
    * 
@@ -64,6 +85,8 @@ public java.util.List getSubnetworksLi return subnetworks_; } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -71,11 +94,13 @@ public java.util.List getSubnetworksLi * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSubnetworksOrBuilderList() { return subnetworks_; } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -87,6 +112,8 @@ public int getSubnetworksCount() { return subnetworks_.size(); } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -98,6 +125,8 @@ public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { return subnetworks_.get(index); } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -105,14 +134,15 @@ public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( - int index) { + public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index) { return subnetworks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -121,6 +151,7 @@ public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +160,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -145,16 +177,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < subnetworks_.size(); i++) { output.writeMessage(1, subnetworks_.get(i)); } @@ -192,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < subnetworks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, subnetworks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, subnetworks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ListUsableSubnetworksResponse)) { return super.equals(obj); } - com.google.container.v1.ListUsableSubnetworksResponse other = (com.google.container.v1.ListUsableSubnetworksResponse) obj; + com.google.container.v1.ListUsableSubnetworksResponse other = + (com.google.container.v1.ListUsableSubnetworksResponse) obj; - if (!getSubnetworksList() - .equals(other.getSubnetworksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSubnetworksList().equals(other.getSubnetworksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +269,104 @@ public int hashCode() { } public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( 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.ListUsableSubnetworksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ListUsableSubnetworksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ListUsableSubnetworksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ListUsableSubnetworksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ListUsableSubnetworksResponse prototype) { + + public static Builder newBuilder( + com.google.container.v1.ListUsableSubnetworksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListUsableSubnetworksResponse is the response of
    * ListUsableSubnetworksRequest.
@@ -337,33 +374,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ListUsableSubnetworksResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ListUsableSubnetworksResponse)
       com.google.container.v1.ListUsableSubnetworksResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ListUsableSubnetworksResponse.class, com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
+              com.google.container.v1.ListUsableSubnetworksResponse.class,
+              com.google.container.v1.ListUsableSubnetworksResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1.ListUsableSubnetworksResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +416,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,7 +437,8 @@ public com.google.container.v1.ListUsableSubnetworksResponse build() {
 
     @java.lang.Override
     public com.google.container.v1.ListUsableSubnetworksResponse buildPartial() {
-      com.google.container.v1.ListUsableSubnetworksResponse result = new com.google.container.v1.ListUsableSubnetworksResponse(this);
+      com.google.container.v1.ListUsableSubnetworksResponse result =
+          new com.google.container.v1.ListUsableSubnetworksResponse(this);
       int from_bitField0_ = bitField0_;
       if (subnetworksBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -421,38 +458,39 @@ public com.google.container.v1.ListUsableSubnetworksResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ListUsableSubnetworksResponse) {
-        return mergeFrom((com.google.container.v1.ListUsableSubnetworksResponse)other);
+        return mergeFrom((com.google.container.v1.ListUsableSubnetworksResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,7 +498,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.ListUsableSubnetworksResponse other) {
-      if (other == com.google.container.v1.ListUsableSubnetworksResponse.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.ListUsableSubnetworksResponse.getDefaultInstance())
+        return this;
       if (subnetworksBuilder_ == null) {
         if (!other.subnetworks_.isEmpty()) {
           if (subnetworks_.isEmpty()) {
@@ -479,9 +518,10 @@ public Builder mergeFrom(com.google.container.v1.ListUsableSubnetworksResponse o
             subnetworksBuilder_ = null;
             subnetworks_ = other.subnetworks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subnetworksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSubnetworksFieldBuilder() : null;
+            subnetworksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSubnetworksFieldBuilder()
+                    : null;
           } else {
             subnetworksBuilder_.addAllMessages(other.subnetworks_);
           }
@@ -517,30 +557,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.container.v1.UsableSubnetwork m =
-                  input.readMessage(
-                      com.google.container.v1.UsableSubnetwork.parser(),
-                      extensionRegistry);
-              if (subnetworksBuilder_ == null) {
-                ensureSubnetworksIsMutable();
-                subnetworks_.add(m);
-              } else {
-                subnetworksBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.container.v1.UsableSubnetwork m =
+                    input.readMessage(
+                        com.google.container.v1.UsableSubnetwork.parser(), extensionRegistry);
+                if (subnetworksBuilder_ == null) {
+                  ensureSubnetworksIsMutable();
+                  subnetworks_.add(m);
+                } else {
+                  subnetworksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,21 +592,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List subnetworks_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSubnetworksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        subnetworks_ = new java.util.ArrayList(subnetworks_);
+        subnetworks_ =
+            new java.util.ArrayList(subnetworks_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.UsableSubnetwork, com.google.container.v1.UsableSubnetwork.Builder, com.google.container.v1.UsableSubnetworkOrBuilder> subnetworksBuilder_;
+            com.google.container.v1.UsableSubnetwork,
+            com.google.container.v1.UsableSubnetwork.Builder,
+            com.google.container.v1.UsableSubnetworkOrBuilder>
+        subnetworksBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of usable subnetworks in the specified network project.
      * 
@@ -579,6 +629,8 @@ public java.util.List getSubnetworksLi } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -593,6 +645,8 @@ public int getSubnetworksCount() { } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -607,14 +661,15 @@ public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public Builder setSubnetworks( - int index, com.google.container.v1.UsableSubnetwork value) { + public Builder setSubnetworks(int index, com.google.container.v1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -628,6 +683,8 @@ public Builder setSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -646,6 +703,8 @@ public Builder setSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -666,14 +725,15 @@ public Builder addSubnetworks(com.google.container.v1.UsableSubnetwork value) { return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public Builder addSubnetworks( - int index, com.google.container.v1.UsableSubnetwork value) { + public Builder addSubnetworks(int index, com.google.container.v1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -687,6 +747,8 @@ public Builder addSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -705,6 +767,8 @@ public Builder addSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -723,6 +787,8 @@ public Builder addSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -733,8 +799,7 @@ public Builder addAllSubnetworks( java.lang.Iterable values) { if (subnetworksBuilder_ == null) { ensureSubnetworksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subnetworks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnetworks_); onChanged(); } else { subnetworksBuilder_.addAllMessages(values); @@ -742,6 +807,8 @@ public Builder addAllSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -759,6 +826,8 @@ public Builder clearSubnetworks() { return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -776,39 +845,44 @@ public Builder removeSubnetworks(int index) { return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1.UsableSubnetwork.Builder getSubnetworksBuilder( - int index) { + public com.google.container.v1.UsableSubnetwork.Builder getSubnetworksBuilder(int index) { return getSubnetworksFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( - int index) { + public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index) { if (subnetworksBuilder_ == null) { - return subnetworks_.get(index); } else { + return subnetworks_.get(index); + } else { return subnetworksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksOrBuilderList() { + public java.util.List + getSubnetworksOrBuilderList() { if (subnetworksBuilder_ != null) { return subnetworksBuilder_.getMessageOrBuilderList(); } else { @@ -816,6 +890,8 @@ public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -823,42 +899,48 @@ public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder() { - return getSubnetworksFieldBuilder().addBuilder( - com.google.container.v1.UsableSubnetwork.getDefaultInstance()); + return getSubnetworksFieldBuilder() + .addBuilder(com.google.container.v1.UsableSubnetwork.getDefaultInstance()); } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder( - int index) { - return getSubnetworksFieldBuilder().addBuilder( - index, com.google.container.v1.UsableSubnetwork.getDefaultInstance()); + public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder(int index) { + return getSubnetworksFieldBuilder() + .addBuilder(index, com.google.container.v1.UsableSubnetwork.getDefaultInstance()); } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksBuilderList() { + public java.util.List + getSubnetworksBuilderList() { return getSubnetworksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetwork, com.google.container.v1.UsableSubnetwork.Builder, com.google.container.v1.UsableSubnetworkOrBuilder> + com.google.container.v1.UsableSubnetwork, + com.google.container.v1.UsableSubnetwork.Builder, + com.google.container.v1.UsableSubnetworkOrBuilder> getSubnetworksFieldBuilder() { if (subnetworksBuilder_ == null) { - subnetworksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetwork, com.google.container.v1.UsableSubnetwork.Builder, com.google.container.v1.UsableSubnetworkOrBuilder>( - subnetworks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + subnetworksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.UsableSubnetwork, + com.google.container.v1.UsableSubnetwork.Builder, + com.google.container.v1.UsableSubnetworkOrBuilder>( + subnetworks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); subnetworks_ = null; } return subnetworksBuilder_; @@ -866,6 +948,8 @@ public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -874,13 +958,13 @@ public com.google.container.v1.UsableSubnetwork.Builder addSubnetworksBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -889,6 +973,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -897,15 +983,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,6 +998,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -921,20 +1008,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -943,15 +1032,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -960,23 +1052,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -986,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ListUsableSubnetworksResponse) } // @@protoc_insertion_point(class_scope:google.container.v1.ListUsableSubnetworksResponse) private static final com.google.container.v1.ListUsableSubnetworksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ListUsableSubnetworksResponse(); } @@ -1000,27 +1092,27 @@ public static com.google.container.v1.ListUsableSubnetworksResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1127,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1.ListUsableSubnetworksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java index 8f083537b33f..6eb2bb2bf0d6 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ListUsableSubnetworksResponseOrBuilder extends +public interface ListUsableSubnetworksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ListUsableSubnetworksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - java.util.List - getSubnetworksList(); + java.util.List getSubnetworksList(); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -25,6 +44,8 @@ public interface ListUsableSubnetworksResponseOrBuilder extends */ com.google.container.v1.UsableSubnetwork getSubnetworks(int index); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -33,25 +54,30 @@ public interface ListUsableSubnetworksResponseOrBuilder extends */ int getSubnetworksCount(); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - java.util.List + java.util.List getSubnetworksOrBuilderList(); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ - com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( - int index); + com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index); /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -60,10 +86,13 @@ com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -72,8 +101,8 @@ com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java index 4e510d5fed39..548aba5887b3 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfig.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * LoggingComponentConfig is cluster logging component configuration.
  * 
* * Protobuf type {@code google.container.v1.LoggingComponentConfig} */ -public final class LoggingComponentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingComponentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.LoggingComponentConfig) LoggingComponentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingComponentConfig.newBuilder() to construct. private LoggingComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoggingComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingComponentConfig.class, com.google.container.v1.LoggingComponentConfig.Builder.class); + com.google.container.v1.LoggingComponentConfig.class, + com.google.container.v1.LoggingComponentConfig.Builder.class); } /** + * + * *
    * GKE components exposing logs
    * 
* * Protobuf enum {@code google.container.v1.LoggingComponentConfig.Component} */ - public enum Component - implements com.google.protobuf.ProtocolMessageEnum { + public enum Component implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -66,6 +88,8 @@ public enum Component */ COMPONENT_UNSPECIFIED(0), /** + * + * *
      * system components
      * 
@@ -74,6 +98,8 @@ public enum Component */ SYSTEM_COMPONENTS(1), /** + * + * *
      * workloads
      * 
@@ -82,6 +108,8 @@ public enum Component */ WORKLOADS(2), /** + * + * *
      * kube-apiserver
      * 
@@ -90,6 +118,8 @@ public enum Component */ APISERVER(3), /** + * + * *
      * kube-scheduler
      * 
@@ -98,6 +128,8 @@ public enum Component */ SCHEDULER(4), /** + * + * *
      * kube-controller-manager
      * 
@@ -109,6 +141,8 @@ public enum Component ; /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -117,6 +151,8 @@ public enum Component */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * system components
      * 
@@ -125,6 +161,8 @@ public enum Component */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** + * + * *
      * workloads
      * 
@@ -133,6 +171,8 @@ public enum Component */ public static final int WORKLOADS_VALUE = 2; /** + * + * *
      * kube-apiserver
      * 
@@ -141,6 +181,8 @@ public enum Component */ public static final int APISERVER_VALUE = 3; /** + * + * *
      * kube-scheduler
      * 
@@ -149,6 +191,8 @@ public enum Component */ public static final int SCHEDULER_VALUE = 4; /** + * + * *
      * kube-controller-manager
      * 
@@ -157,7 +201,6 @@ public enum Component */ public static final int CONTROLLER_MANAGER_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -182,52 +225,55 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: return COMPONENT_UNSPECIFIED; - case 1: return SYSTEM_COMPONENTS; - case 2: return WORKLOADS; - case 3: return APISERVER; - case 4: return SCHEDULER; - case 5: return CONTROLLER_MANAGER; - default: return null; + case 0: + return COMPONENT_UNSPECIFIED; + case 1: + return SYSTEM_COMPONENTS; + case 2: + return WORKLOADS; + case 3: + return APISERVER; + case 4: + return SCHEDULER; + case 5: + return CONTROLLER_MANAGER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Component> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.LoggingComponentConfig.getDescriptor().getEnumTypes().get(0); } private static final Component[] VALUES = values(); - public static Component valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -247,34 +293,49 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component> enableComponents_converter_ = + java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component> + enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>() { - public com.google.container.v1.LoggingComponentConfig.Component convert(java.lang.Integer from) { + public com.google.container.v1.LoggingComponentConfig.Component convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1.LoggingComponentConfig.Component result = com.google.container.v1.LoggingComponentConfig.Component.valueOf(from); - return result == null ? com.google.container.v1.LoggingComponentConfig.Component.UNRECOGNIZED : result; + com.google.container.v1.LoggingComponentConfig.Component result = + com.google.container.v1.LoggingComponentConfig.Component.valueOf(from); + return result == null + ? com.google.container.v1.LoggingComponentConfig.Component.UNRECOGNIZED + : result; } }; /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ @java.lang.Override @@ -282,11 +343,15 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ @@ -295,24 +360,31 @@ public com.google.container.v1.LoggingComponentConfig.Component getEnableCompone return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return enableComponents_; } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -320,9 +392,11 @@ public com.google.container.v1.LoggingComponentConfig.Component getEnableCompone public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } + private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +408,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -356,14 +429,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,12 +447,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LoggingComponentConfig)) { return super.equals(obj); } - com.google.container.v1.LoggingComponentConfig other = (com.google.container.v1.LoggingComponentConfig) obj; + com.google.container.v1.LoggingComponentConfig other = + (com.google.container.v1.LoggingComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -401,130 +476,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.LoggingComponentConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LoggingComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingComponentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LoggingComponentConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingComponentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.LoggingComponentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.LoggingComponentConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.LoggingComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.LoggingComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * LoggingComponentConfig is cluster logging component configuration.
    * 
* * Protobuf type {@code google.container.v1.LoggingComponentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.LoggingComponentConfig) com.google.container.v1.LoggingComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingComponentConfig.class, com.google.container.v1.LoggingComponentConfig.Builder.class); + com.google.container.v1.LoggingComponentConfig.class, + com.google.container.v1.LoggingComponentConfig.Builder.class); } // Construct using com.google.container.v1.LoggingComponentConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +615,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingComponentConfig_descriptor; } @java.lang.Override @@ -555,7 +636,8 @@ public com.google.container.v1.LoggingComponentConfig build() { @java.lang.Override public com.google.container.v1.LoggingComponentConfig buildPartial() { - com.google.container.v1.LoggingComponentConfig result = new com.google.container.v1.LoggingComponentConfig(this); + com.google.container.v1.LoggingComponentConfig result = + new com.google.container.v1.LoggingComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -570,38 +652,39 @@ public com.google.container.v1.LoggingComponentConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LoggingComponentConfig) { - return mergeFrom((com.google.container.v1.LoggingComponentConfig)other); + return mergeFrom((com.google.container.v1.LoggingComponentConfig) other); } else { super.mergeFrom(other); return this; @@ -646,29 +729,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -678,10 +764,11 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List enableComponents_ = - java.util.Collections.emptyList(); + private java.util.List enableComponents_ = java.util.Collections.emptyList(); + private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -689,34 +776,48 @@ private void ensureEnableComponentsIsMutable() { } } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.LoggingComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ @@ -724,11 +825,15 @@ public com.google.container.v1.LoggingComponentConfig.Component getEnableCompone return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -744,15 +849,20 @@ public Builder setEnableComponents( return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents(com.google.container.v1.LoggingComponentConfig.Component value) { + public Builder addEnableComponents( + com.google.container.v1.LoggingComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -762,16 +872,21 @@ public Builder addEnableComponents(com.google.container.v1.LoggingComponentConfi return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1.LoggingComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -780,11 +895,15 @@ public Builder addAllEnableComponents( return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -794,23 +913,30 @@ public Builder clearEnableComponents() { return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -818,28 +944,35 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue( - int index, int value) { + public Builder setEnableComponentsValue(int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -850,16 +983,19 @@ public Builder addEnableComponentsValue(int value) { return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue( - java.lang.Iterable values) { + public Builder addAllEnableComponentsValue(java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -867,9 +1003,9 @@ public Builder addAllEnableComponentsValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -879,12 +1015,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.LoggingComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LoggingComponentConfig) private static final com.google.container.v1.LoggingComponentConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.LoggingComponentConfig(); } @@ -893,27 +1029,27 @@ public static com.google.container.v1.LoggingComponentConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,6 +1064,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java index 4c8365528d3d..aaf90da84840 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingComponentConfigOrBuilder.java @@ -1,56 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface LoggingComponentConfigOrBuilder extends +public interface LoggingComponentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.LoggingComponentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - java.util.List getEnableComponentsList(); + java.util.List + getEnableComponentsList(); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ int getEnableComponentsCount(); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1.LoggingComponentConfig.Component getEnableComponents(int index); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List - getEnableComponentsValueList(); + java.util.List getEnableComponentsValueList(); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java index ae967f8abc8b..c855dd259d77 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * LoggingConfig is cluster logging configuration.
  * 
* * Protobuf type {@code google.container.v1.LoggingConfig} */ -public final class LoggingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.LoggingConfig) LoggingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingConfig.newBuilder() to construct. private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingConfig() { - } + + private LoggingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingConfig.class, com.google.container.v1.LoggingConfig.Builder.class); + com.google.container.v1.LoggingConfig.class, + com.google.container.v1.LoggingConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.LoggingComponentConfig componentConfig_; /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1.LoggingComponentConfig getComponentConfig() { - return componentConfig_ == null ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } /** + * + * *
    * Logging components configuration
    * 
@@ -86,6 +114,7 @@ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfi } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } @@ -112,8 +140,7 @@ public int getSerializedSize() { size = 0; if (componentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getComponentConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,7 +150,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LoggingConfig)) { return super.equals(obj); @@ -132,8 +159,7 @@ public boolean equals(final java.lang.Object obj) { if (hasComponentConfig() != other.hasComponentConfig()) return false; if (hasComponentConfig()) { - if (!getComponentConfig() - .equals(other.getComponentConfig())) return false; + if (!getComponentConfig().equals(other.getComponentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -155,130 +181,135 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LoggingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.LoggingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.LoggingConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.LoggingConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.LoggingConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.LoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.LoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * LoggingConfig is cluster logging configuration.
    * 
* * Protobuf type {@code google.container.v1.LoggingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.LoggingConfig) com.google.container.v1.LoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingConfig.class, com.google.container.v1.LoggingConfig.Builder.class); + com.google.container.v1.LoggingConfig.class, + com.google.container.v1.LoggingConfig.Builder.class); } // Construct using com.google.container.v1.LoggingConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingConfig_descriptor; } @java.lang.Override @@ -313,7 +344,8 @@ public com.google.container.v1.LoggingConfig build() { @java.lang.Override public com.google.container.v1.LoggingConfig buildPartial() { - com.google.container.v1.LoggingConfig result = new com.google.container.v1.LoggingConfig(this); + com.google.container.v1.LoggingConfig result = + new com.google.container.v1.LoggingConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -327,38 +359,39 @@ public com.google.container.v1.LoggingConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LoggingConfig) { - return mergeFrom((com.google.container.v1.LoggingConfig)other); + return mergeFrom((com.google.container.v1.LoggingConfig) other); } else { super.mergeFrom(other); return this; @@ -396,19 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getComponentConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -421,34 +454,47 @@ public Builder mergeFrom( private com.google.container.v1.LoggingComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingComponentConfig, com.google.container.v1.LoggingComponentConfig.Builder, com.google.container.v1.LoggingComponentConfigOrBuilder> componentConfigBuilder_; + com.google.container.v1.LoggingComponentConfig, + com.google.container.v1.LoggingComponentConfig.Builder, + com.google.container.v1.LoggingComponentConfigOrBuilder> + componentConfigBuilder_; /** + * + * *
      * Logging components configuration
      * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** + * + * *
      * Logging components configuration
      * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ public com.google.container.v1.LoggingComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging components configuration
      * 
@@ -469,6 +515,8 @@ public Builder setComponentConfig(com.google.container.v1.LoggingComponentConfig return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -487,6 +535,8 @@ public Builder setComponentConfig( return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -497,7 +547,9 @@ public Builder mergeComponentConfig(com.google.container.v1.LoggingComponentConf if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1.LoggingComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.LoggingComponentConfig.newBuilder(componentConfig_) + .mergeFrom(value) + .buildPartial(); } else { componentConfig_ = value; } @@ -509,6 +561,8 @@ public Builder mergeComponentConfig(com.google.container.v1.LoggingComponentConf return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -527,6 +581,8 @@ public Builder clearComponentConfig() { return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -534,11 +590,13 @@ public Builder clearComponentConfig() { * .google.container.v1.LoggingComponentConfig component_config = 1; */ public com.google.container.v1.LoggingComponentConfig.Builder getComponentConfigBuilder() { - + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging components configuration
      * 
@@ -549,11 +607,14 @@ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfi if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null ? - com.google.container.v1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } } /** + * + * *
      * Logging components configuration
      * 
@@ -561,21 +622,24 @@ public com.google.container.v1.LoggingComponentConfigOrBuilder getComponentConfi * .google.container.v1.LoggingComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingComponentConfig, com.google.container.v1.LoggingComponentConfig.Builder, com.google.container.v1.LoggingComponentConfigOrBuilder> + com.google.container.v1.LoggingComponentConfig, + com.google.container.v1.LoggingComponentConfig.Builder, + com.google.container.v1.LoggingComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingComponentConfig, com.google.container.v1.LoggingComponentConfig.Builder, com.google.container.v1.LoggingComponentConfigOrBuilder>( - getComponentConfig(), - getParentForChildren(), - isClean()); + componentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingComponentConfig, + com.google.container.v1.LoggingComponentConfig.Builder, + com.google.container.v1.LoggingComponentConfigOrBuilder>( + getComponentConfig(), getParentForChildren(), isClean()); componentConfig_ = null; } return componentConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +649,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LoggingConfig) private static final com.google.container.v1.LoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.LoggingConfig(); } @@ -599,27 +663,27 @@ public static com.google.container.v1.LoggingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,6 +698,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java index b01b33511bb3..3f338b9fc591 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LoggingConfigOrBuilder extends +public interface LoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ com.google.container.v1.LoggingComponentConfig getComponentConfig(); /** + * + * *
    * Logging components configuration
    * 
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java index 5ff72af7cc96..79051db12c08 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfig.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * LoggingVariantConfig specifies the behaviour of the logging component.
  * 
* * Protobuf type {@code google.container.v1.LoggingVariantConfig} */ -public final class LoggingVariantConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingVariantConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.LoggingVariantConfig) LoggingVariantConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingVariantConfig.newBuilder() to construct. private LoggingVariantConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoggingVariantConfig() { variant_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingVariantConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingVariantConfig.class, com.google.container.v1.LoggingVariantConfig.Builder.class); + com.google.container.v1.LoggingVariantConfig.class, + com.google.container.v1.LoggingVariantConfig.Builder.class); } /** + * + * *
    * Logging component variants.
    * 
* * Protobuf enum {@code google.container.v1.LoggingVariantConfig.Variant} */ - public enum Variant - implements com.google.protobuf.ProtocolMessageEnum { + public enum Variant implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -66,6 +88,8 @@ public enum Variant */ VARIANT_UNSPECIFIED(0), /** + * + * *
      * default logging variant.
      * 
@@ -74,6 +98,8 @@ public enum Variant */ DEFAULT(1), /** + * + * *
      * maximum logging throughput variant.
      * 
@@ -85,6 +111,8 @@ public enum Variant ; /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -93,6 +121,8 @@ public enum Variant */ public static final int VARIANT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * default logging variant.
      * 
@@ -101,6 +131,8 @@ public enum Variant */ public static final int DEFAULT_VALUE = 1; /** + * + * *
      * maximum logging throughput variant.
      * 
@@ -109,7 +141,6 @@ public enum Variant */ public static final int MAX_THROUGHPUT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,49 @@ public static Variant valueOf(int value) { */ public static Variant forNumber(int value) { switch (value) { - case 0: return VARIANT_UNSPECIFIED; - case 1: return DEFAULT; - case 2: return MAX_THROUGHPUT; - default: return null; + case 0: + return VARIANT_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return MAX_THROUGHPUT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Variant> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Variant findValueByNumber(int number) { - return Variant.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Variant findValueByNumber(int number) { + return Variant.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.LoggingVariantConfig.getDescriptor().getEnumTypes().get(0); } private static final Variant[] VALUES = values(); - public static Variant valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Variant valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,31 +227,43 @@ private Variant(int value) { public static final int VARIANT_FIELD_NUMBER = 1; private int variant_; /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override public int getVariantValue() { + @java.lang.Override + public int getVariantValue() { return variant_; } /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @return The variant. */ - @java.lang.Override public com.google.container.v1.LoggingVariantConfig.Variant getVariant() { + @java.lang.Override + public com.google.container.v1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1.LoggingVariantConfig.Variant result = com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; + com.google.container.v1.LoggingVariantConfig.Variant result = + com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null + ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,9 +275,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (variant_ != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (variant_ + != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { output.writeEnum(1, variant_); } getUnknownFields().writeTo(output); @@ -246,9 +289,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (variant_ != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, variant_); + if (variant_ + != com.google.container.v1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, variant_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -258,12 +301,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.LoggingVariantConfig)) { return super.equals(obj); } - com.google.container.v1.LoggingVariantConfig other = (com.google.container.v1.LoggingVariantConfig) obj; + com.google.container.v1.LoggingVariantConfig other = + (com.google.container.v1.LoggingVariantConfig) obj; if (variant_ != other.variant_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -284,130 +328,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.LoggingVariantConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.LoggingVariantConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingVariantConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LoggingVariantConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingVariantConfig parseFrom( 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.LoggingVariantConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.LoggingVariantConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.LoggingVariantConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingVariantConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.LoggingVariantConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.LoggingVariantConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingVariantConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.LoggingVariantConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.LoggingVariantConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.LoggingVariantConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * LoggingVariantConfig specifies the behaviour of the logging component.
    * 
* * Protobuf type {@code google.container.v1.LoggingVariantConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.LoggingVariantConfig) com.google.container.v1.LoggingVariantConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.LoggingVariantConfig.class, com.google.container.v1.LoggingVariantConfig.Builder.class); + com.google.container.v1.LoggingVariantConfig.class, + com.google.container.v1.LoggingVariantConfig.Builder.class); } // Construct using com.google.container.v1.LoggingVariantConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -417,9 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_LoggingVariantConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_LoggingVariantConfig_descriptor; } @java.lang.Override @@ -438,7 +488,8 @@ public com.google.container.v1.LoggingVariantConfig build() { @java.lang.Override public com.google.container.v1.LoggingVariantConfig buildPartial() { - com.google.container.v1.LoggingVariantConfig result = new com.google.container.v1.LoggingVariantConfig(this); + com.google.container.v1.LoggingVariantConfig result = + new com.google.container.v1.LoggingVariantConfig(this); result.variant_ = variant_; onBuilt(); return result; @@ -448,38 +499,39 @@ public com.google.container.v1.LoggingVariantConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.LoggingVariantConfig) { - return mergeFrom((com.google.container.v1.LoggingVariantConfig)other); + return mergeFrom((com.google.container.v1.LoggingVariantConfig) other); } else { super.mergeFrom(other); return this; @@ -517,17 +569,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - variant_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + variant_ = input.readEnum(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,51 +594,67 @@ public Builder mergeFrom( private int variant_ = 0; /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override public int getVariantValue() { + @java.lang.Override + public int getVariantValue() { return variant_; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @param value The enum numeric value on the wire for variant to set. * @return This builder for chaining. */ public Builder setVariantValue(int value) { - + variant_ = value; onChanged(); return this; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @return The variant. */ @java.lang.Override public com.google.container.v1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1.LoggingVariantConfig.Variant result = com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; + com.google.container.v1.LoggingVariantConfig.Variant result = + com.google.container.v1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null + ? com.google.container.v1.LoggingVariantConfig.Variant.UNRECOGNIZED + : result; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @param value The variant to set. * @return This builder for chaining. */ @@ -592,28 +662,31 @@ public Builder setVariant(com.google.container.v1.LoggingVariantConfig.Variant v if (value == null) { throw new NullPointerException(); } - + variant_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @return This builder for chaining. */ public Builder clearVariant() { - + variant_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,12 +696,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.LoggingVariantConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.LoggingVariantConfig) private static final com.google.container.v1.LoggingVariantConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.LoggingVariantConfig(); } @@ -637,27 +710,27 @@ public static com.google.container.v1.LoggingVariantConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingVariantConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingVariantConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,6 +745,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.LoggingVariantConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java similarity index 53% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java index f998a52c6e06..a32f194be8fc 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LoggingVariantConfigOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface LoggingVariantConfigOrBuilder extends +public interface LoggingVariantConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.LoggingVariantConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @return The enum numeric value on the wire for variant. */ int getVariantValue(); /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1.LoggingVariantConfig.Variant variant = 1; + * * @return The variant. */ com.google.container.v1.LoggingVariantConfig.Variant getVariant(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java index aa502fccbb88..2bedf6fc4c23 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptions.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Represents the Maintenance exclusion option.
  * 
* * Protobuf type {@code google.container.v1.MaintenanceExclusionOptions} */ -public final class MaintenanceExclusionOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaintenanceExclusionOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MaintenanceExclusionOptions) MaintenanceExclusionOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaintenanceExclusionOptions.newBuilder() to construct. private MaintenanceExclusionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MaintenanceExclusionOptions() { scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaintenanceExclusionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceExclusionOptions.class, com.google.container.v1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1.MaintenanceExclusionOptions.class, + com.google.container.v1.MaintenanceExclusionOptions.Builder.class); } /** + * + * *
    * Scope of exclusion.
    * 
* * Protobuf enum {@code google.container.v1.MaintenanceExclusionOptions.Scope} */ - public enum Scope - implements com.google.protobuf.ProtocolMessageEnum { + public enum Scope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -68,6 +90,8 @@ public enum Scope
      */
     NO_UPGRADES(0),
     /**
+     *
+     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -77,6 +101,8 @@ public enum Scope
      */
     NO_MINOR_UPGRADES(1),
     /**
+     *
+     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -90,6 +116,8 @@ public enum Scope
     ;
 
     /**
+     *
+     *
      * 
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -100,6 +128,8 @@ public enum Scope
      */
     public static final int NO_UPGRADES_VALUE = 0;
     /**
+     *
+     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -109,6 +139,8 @@ public enum Scope
      */
     public static final int NO_MINOR_UPGRADES_VALUE = 1;
     /**
+     *
+     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -119,7 +151,6 @@ public enum Scope
      */
     public static final int NO_MINOR_OR_NODE_UPGRADES_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -144,49 +175,51 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0: return NO_UPGRADES;
-        case 1: return NO_MINOR_UPGRADES;
-        case 2: return NO_MINOR_OR_NODE_UPGRADES;
-        default: return null;
+        case 0:
+          return NO_UPGRADES;
+        case 1:
+          return NO_MINOR_UPGRADES;
+        case 2:
+          return NO_MINOR_OR_NODE_UPGRADES;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Scope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Scope findValueByNumber(int number) {
-              return Scope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Scope findValueByNumber(int number) {
+            return Scope.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.container.v1.MaintenanceExclusionOptions.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.container.v1.MaintenanceExclusionOptions.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -206,33 +239,45 @@ private Scope(int value) {
   public static final int SCOPE_FIELD_NUMBER = 1;
   private int scope_;
   /**
+   *
+   *
    * 
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The scope. */ - @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions.Scope getScope() { + @java.lang.Override + public com.google.container.v1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1.MaintenanceExclusionOptions.Scope result = com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; + com.google.container.v1.MaintenanceExclusionOptions.Scope result = + com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null + ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,9 +289,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (scope_ != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (scope_ + != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { output.writeEnum(1, scope_); } getUnknownFields().writeTo(output); @@ -258,9 +303,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, scope_); + if (scope_ + != com.google.container.v1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -270,12 +315,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MaintenanceExclusionOptions)) { return super.equals(obj); } - com.google.container.v1.MaintenanceExclusionOptions other = (com.google.container.v1.MaintenanceExclusionOptions) obj; + com.google.container.v1.MaintenanceExclusionOptions other = + (com.google.container.v1.MaintenanceExclusionOptions) obj; if (scope_ != other.scope_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -297,129 +343,135 @@ public int hashCode() { } public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenanceExclusionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( 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.MaintenanceExclusionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MaintenanceExclusionOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.MaintenanceExclusionOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.MaintenanceExclusionOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.MaintenanceExclusionOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MaintenanceExclusionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.MaintenanceExclusionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the Maintenance exclusion option.
    * 
* * Protobuf type {@code google.container.v1.MaintenanceExclusionOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaintenanceExclusionOptions) com.google.container.v1.MaintenanceExclusionOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceExclusionOptions.class, com.google.container.v1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1.MaintenanceExclusionOptions.class, + com.google.container.v1.MaintenanceExclusionOptions.Builder.class); } // Construct using com.google.container.v1.MaintenanceExclusionOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override @@ -450,7 +502,8 @@ public com.google.container.v1.MaintenanceExclusionOptions build() { @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions buildPartial() { - com.google.container.v1.MaintenanceExclusionOptions result = new com.google.container.v1.MaintenanceExclusionOptions(this); + com.google.container.v1.MaintenanceExclusionOptions result = + new com.google.container.v1.MaintenanceExclusionOptions(this); result.scope_ = scope_; onBuilt(); return result; @@ -460,38 +513,39 @@ public com.google.container.v1.MaintenanceExclusionOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaintenanceExclusionOptions) { - return mergeFrom((com.google.container.v1.MaintenanceExclusionOptions)other); + return mergeFrom((com.google.container.v1.MaintenanceExclusionOptions) other); } else { super.mergeFrom(other); return this; @@ -499,7 +553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.MaintenanceExclusionOptions other) { - if (other == com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) return this; + if (other == com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) + return this; if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } @@ -529,17 +584,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - scope_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + scope_ = input.readEnum(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,55 +609,71 @@ public Builder mergeFrom( private int scope_ = 0; /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The scope. */ @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1.MaintenanceExclusionOptions.Scope result = com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; + com.google.container.v1.MaintenanceExclusionOptions.Scope result = + com.google.container.v1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null + ? com.google.container.v1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED + : result; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @param value The scope to set. * @return This builder for chaining. */ @@ -608,29 +681,32 @@ public Builder setScope(com.google.container.v1.MaintenanceExclusionOptions.Scop if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -640,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.MaintenanceExclusionOptions) } // @@protoc_insertion_point(class_scope:google.container.v1.MaintenanceExclusionOptions) private static final com.google.container.v1.MaintenanceExclusionOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.MaintenanceExclusionOptions(); } @@ -654,27 +730,27 @@ public static com.google.container.v1.MaintenanceExclusionOptions getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceExclusionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceExclusionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -689,6 +765,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.MaintenanceExclusionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java similarity index 56% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java index a168f3674b06..b9753b402e8d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceExclusionOptionsOrBuilder.java @@ -1,29 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface MaintenanceExclusionOptionsOrBuilder extends +public interface MaintenanceExclusionOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.MaintenanceExclusionOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The scope. */ com.google.container.v1.MaintenanceExclusionOptions.Scope getScope(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java index 5d5e7c8964b0..875f44567294 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * MaintenancePolicy defines the maintenance policy to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1.MaintenancePolicy} */ -public final class MaintenancePolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaintenancePolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MaintenancePolicy) MaintenancePolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaintenancePolicy.newBuilder() to construct. private MaintenancePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MaintenancePolicy() { resourceVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaintenancePolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenancePolicy.class, com.google.container.v1.MaintenancePolicy.Builder.class); + com.google.container.v1.MaintenancePolicy.class, + com.google.container.v1.MaintenancePolicy.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1.MaintenanceWindow window_; /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; + * * @return Whether the window field is set. */ @java.lang.Override @@ -63,18 +85,25 @@ public boolean hasWindow() { return window_ != null; } /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; + * * @return The window. */ @java.lang.Override public com.google.container.v1.MaintenanceWindow getWindow() { - return window_ == null ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() + : window_; } /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -89,6 +118,8 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { public static final int RESOURCE_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object resourceVersion_; /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -98,6 +129,7 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() {
    * 
* * string resource_version = 3; + * * @return The resourceVersion. */ @java.lang.Override @@ -106,14 +138,15 @@ public java.lang.String getResourceVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; } } /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -123,16 +156,15 @@ public java.lang.String getResourceVersion() {
    * 
* * string resource_version = 3; + * * @return The bytes for resourceVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceVersionBytes() { + public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -141,6 +173,7 @@ public java.lang.String getResourceVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -170,8 +202,7 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resourceVersion_); @@ -184,20 +215,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MaintenancePolicy)) { return super.equals(obj); } - com.google.container.v1.MaintenancePolicy other = (com.google.container.v1.MaintenancePolicy) obj; + com.google.container.v1.MaintenancePolicy other = + (com.google.container.v1.MaintenancePolicy) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow() - .equals(other.getWindow())) return false; + if (!getWindow().equals(other.getWindow())) return false; } - if (!getResourceVersion() - .equals(other.getResourceVersion())) return false; + if (!getResourceVersion().equals(other.getResourceVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,130 +250,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.MaintenancePolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.MaintenancePolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaintenancePolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenancePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaintenancePolicy parseFrom( 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.MaintenancePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaintenancePolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.MaintenancePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MaintenancePolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.MaintenancePolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.MaintenancePolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.MaintenancePolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.MaintenancePolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MaintenancePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.MaintenancePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * MaintenancePolicy defines the maintenance policy to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1.MaintenancePolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaintenancePolicy) com.google.container.v1.MaintenancePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenancePolicy.class, com.google.container.v1.MaintenancePolicy.Builder.class); + com.google.container.v1.MaintenancePolicy.class, + com.google.container.v1.MaintenancePolicy.Builder.class); } // Construct using com.google.container.v1.MaintenancePolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -359,9 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenancePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenancePolicy_descriptor; } @java.lang.Override @@ -380,7 +416,8 @@ public com.google.container.v1.MaintenancePolicy build() { @java.lang.Override public com.google.container.v1.MaintenancePolicy buildPartial() { - com.google.container.v1.MaintenancePolicy result = new com.google.container.v1.MaintenancePolicy(this); + com.google.container.v1.MaintenancePolicy result = + new com.google.container.v1.MaintenancePolicy(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -395,38 +432,39 @@ public com.google.container.v1.MaintenancePolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaintenancePolicy) { - return mergeFrom((com.google.container.v1.MaintenancePolicy)other); + return mergeFrom((com.google.container.v1.MaintenancePolicy) other); } else { super.mergeFrom(other); return this; @@ -468,24 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWindowFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 26: { - resourceVersion_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 26: + { + resourceVersion_ = input.readStringRequireUtf8(); + + 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) { @@ -498,34 +537,47 @@ public Builder mergeFrom( private com.google.container.v1.MaintenanceWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceWindow, com.google.container.v1.MaintenanceWindow.Builder, com.google.container.v1.MaintenanceWindowOrBuilder> windowBuilder_; + com.google.container.v1.MaintenanceWindow, + com.google.container.v1.MaintenanceWindow.Builder, + com.google.container.v1.MaintenanceWindowOrBuilder> + windowBuilder_; /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1.MaintenanceWindow window = 1; + * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1.MaintenanceWindow window = 1; + * * @return The window. */ public com.google.container.v1.MaintenanceWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() + : window_; } else { return windowBuilder_.getMessage(); } } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -546,14 +598,15 @@ public Builder setWindow(com.google.container.v1.MaintenanceWindow value) { return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1.MaintenanceWindow window = 1; */ - public Builder setWindow( - com.google.container.v1.MaintenanceWindow.Builder builderForValue) { + public Builder setWindow(com.google.container.v1.MaintenanceWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -564,6 +617,8 @@ public Builder setWindow( return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -574,7 +629,9 @@ public Builder mergeWindow(com.google.container.v1.MaintenanceWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1.MaintenanceWindow.newBuilder(window_).mergeFrom(value).buildPartial(); + com.google.container.v1.MaintenanceWindow.newBuilder(window_) + .mergeFrom(value) + .buildPartial(); } else { window_ = value; } @@ -586,6 +643,8 @@ public Builder mergeWindow(com.google.container.v1.MaintenanceWindow value) { return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -604,6 +663,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -611,11 +672,13 @@ public Builder clearWindow() { * .google.container.v1.MaintenanceWindow window = 1; */ public com.google.container.v1.MaintenanceWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -626,11 +689,14 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null ? - com.google.container.v1.MaintenanceWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() + : window_; } } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -638,14 +704,17 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { * .google.container.v1.MaintenanceWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceWindow, com.google.container.v1.MaintenanceWindow.Builder, com.google.container.v1.MaintenanceWindowOrBuilder> + com.google.container.v1.MaintenanceWindow, + com.google.container.v1.MaintenanceWindow.Builder, + com.google.container.v1.MaintenanceWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceWindow, com.google.container.v1.MaintenanceWindow.Builder, com.google.container.v1.MaintenanceWindowOrBuilder>( - getWindow(), - getParentForChildren(), - isClean()); + windowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenanceWindow, + com.google.container.v1.MaintenanceWindow.Builder, + com.google.container.v1.MaintenanceWindowOrBuilder>( + getWindow(), getParentForChildren(), isClean()); window_ = null; } return windowBuilder_; @@ -653,6 +722,8 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { private java.lang.Object resourceVersion_ = ""; /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -662,13 +733,13 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() {
      * 
* * string resource_version = 3; + * * @return The resourceVersion. */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; @@ -677,6 +748,8 @@ public java.lang.String getResourceVersion() { } } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -686,15 +759,14 @@ public java.lang.String getResourceVersion() {
      * 
* * string resource_version = 3; + * * @return The bytes for resourceVersion. */ - public com.google.protobuf.ByteString - getResourceVersionBytes() { + public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -702,6 +774,8 @@ public java.lang.String getResourceVersion() { } } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -711,20 +785,22 @@ public java.lang.String getResourceVersion() {
      * 
* * string resource_version = 3; + * * @param value The resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersion( - java.lang.String value) { + public Builder setResourceVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceVersion_ = value; onChanged(); return this; } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -734,15 +810,18 @@ public Builder setResourceVersion(
      * 
* * string resource_version = 3; + * * @return This builder for chaining. */ public Builder clearResourceVersion() { - + resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -752,23 +831,23 @@ public Builder clearResourceVersion() {
      * 
* * string resource_version = 3; + * * @param value The bytes for resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceVersion_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +857,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.MaintenancePolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.MaintenancePolicy) private static final com.google.container.v1.MaintenancePolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.MaintenancePolicy(); } @@ -792,27 +871,27 @@ public static com.google.container.v1.MaintenancePolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenancePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenancePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,6 +906,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.MaintenancePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java index c3afa9206bbf..b021ce8026dd 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface MaintenancePolicyOrBuilder extends +public interface MaintenancePolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.MaintenancePolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; + * * @return Whether the window field is set. */ boolean hasWindow(); /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1.MaintenanceWindow window = 1; + * * @return The window. */ com.google.container.v1.MaintenanceWindow getWindow(); /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -35,6 +59,8 @@ public interface MaintenancePolicyOrBuilder extends com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder(); /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -44,10 +70,13 @@ public interface MaintenancePolicyOrBuilder extends
    * 
* * string resource_version = 3; + * * @return The resourceVersion. */ java.lang.String getResourceVersion(); /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -57,8 +86,8 @@ public interface MaintenancePolicyOrBuilder extends
    * 
* * string resource_version = 3; + * * @return The bytes for resourceVersion. */ - com.google.protobuf.ByteString - getResourceVersionBytes(); + com.google.protobuf.ByteString getResourceVersionBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java index 9eb05f608799..c0fe9c9155ae 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java @@ -1,73 +1,93 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * MaintenanceWindow defines the maintenance window to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1.MaintenanceWindow} */ -public final class MaintenanceWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MaintenanceWindow) MaintenanceWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaintenanceWindow.newBuilder() to construct. private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaintenanceWindow() { - } + + private MaintenanceWindow() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceWindow.class, com.google.container.v1.MaintenanceWindow.Builder.class); + com.google.container.v1.MaintenanceWindow.class, + com.google.container.v1.MaintenanceWindow.Builder.class); } private int policyCase_ = 0; private java.lang.Object policy_; + public enum PolicyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DAILY_MAINTENANCE_WINDOW(2), RECURRING_WINDOW(3), POLICY_NOT_SET(0); private final int value; + private PolicyCase(int value) { this.value = value; } @@ -83,30 +103,36 @@ public static PolicyCase valueOf(int value) { public static PolicyCase forNumber(int value) { switch (value) { - case 2: return DAILY_MAINTENANCE_WINDOW; - case 3: return RECURRING_WINDOW; - case 0: return POLICY_NOT_SET; - default: return null; + case 2: + return DAILY_MAINTENANCE_WINDOW; + case 3: + return RECURRING_WINDOW; + case 0: + return POLICY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public PolicyCase - getPolicyCase() { - return PolicyCase.forNumber( - policyCase_); + public PolicyCase getPolicyCase() { + return PolicyCase.forNumber(policyCase_); } public static final int DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER = 2; /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -114,21 +140,26 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return The dailyMaintenanceWindow. */ @java.lang.Override public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow() { if (policyCase_ == 2) { - return (com.google.container.v1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1.DailyMaintenanceWindow) policy_; } return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance(); } /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -136,15 +167,18 @@ public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow( * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1.DailyMaintenanceWindowOrBuilder + getDailyMaintenanceWindowOrBuilder() { if (policyCase_ == 2) { - return (com.google.container.v1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1.DailyMaintenanceWindow) policy_; } return com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance(); } public static final int RECURRING_WINDOW_FIELD_NUMBER = 3; /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -152,6 +186,7 @@ public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenan
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; + * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -159,6 +194,8 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -166,16 +203,19 @@ public boolean hasRecurringWindow() {
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; + * * @return The recurringWindow. */ @java.lang.Override public com.google.container.v1.RecurringTimeWindow getRecurringWindow() { if (policyCase_ == 3) { - return (com.google.container.v1.RecurringTimeWindow) policy_; + return (com.google.container.v1.RecurringTimeWindow) policy_; } return com.google.container.v1.RecurringTimeWindow.getDefaultInstance(); } /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -187,27 +227,31 @@ public com.google.container.v1.RecurringTimeWindow getRecurringWindow() {
   @java.lang.Override
   public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder() {
     if (policyCase_ == 3) {
-       return (com.google.container.v1.RecurringTimeWindow) policy_;
+      return (com.google.container.v1.RecurringTimeWindow) policy_;
     }
     return com.google.container.v1.RecurringTimeWindow.getDefaultInstance();
   }
 
   public static final int MAINTENANCE_EXCLUSIONS_FIELD_NUMBER = 4;
+
   private static final class MaintenanceExclusionsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.container.v1.TimeWindow> defaultEntry =
+    static final com.google.protobuf.MapEntry
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.container.v1.TimeWindow.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.container.v1.ClusterServiceProto
+                        .internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.container.v1.TimeWindow.getDefaultInstance());
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.container.v1.TimeWindow> maintenanceExclusions_;
+
+  private com.google.protobuf.MapField
+      maintenanceExclusions_;
+
   private com.google.protobuf.MapField
-  internalGetMaintenanceExclusions() {
+      internalGetMaintenanceExclusions() {
     if (maintenanceExclusions_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
@@ -219,6 +263,8 @@ public int getMaintenanceExclusionsCount() {
     return internalGetMaintenanceExclusions().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -226,22 +272,23 @@ public int getMaintenanceExclusionsCount() {
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
-
   @java.lang.Override
-  public boolean containsMaintenanceExclusions(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMaintenanceExclusions(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMaintenanceExclusions().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMaintenanceExclusionsMap()} instead.
-   */
+  /** Use {@link #getMaintenanceExclusionsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map getMaintenanceExclusions() {
+  public java.util.Map
+      getMaintenanceExclusions() {
     return getMaintenanceExclusionsMap();
   }
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -250,11 +297,13 @@ public java.util.Map getMa
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
   @java.lang.Override
-
-  public java.util.Map getMaintenanceExclusionsMap() {
+  public java.util.Map
+      getMaintenanceExclusionsMap() {
     return internalGetMaintenanceExclusions().getMap();
   }
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -263,16 +312,18 @@ public java.util.Map getMa
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
   @java.lang.Override
-
   public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
-      java.lang.String key,
-      com.google.container.v1.TimeWindow defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String key, com.google.container.v1.TimeWindow defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetMaintenanceExclusions().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -281,10 +332,10 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
   @java.lang.Override
-
-  public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetMaintenanceExclusions().getMap();
     if (!map.containsKey(key)) {
@@ -294,6 +345,7 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -305,16 +357,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (policyCase_ == 2) {
       output.writeMessage(2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
     }
     if (policyCase_ == 3) {
       output.writeMessage(3, (com.google.container.v1.RecurringTimeWindow) policy_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
         output,
         internalGetMaintenanceExclusions(),
         MaintenanceExclusionsDefaultEntryHolder.defaultEntry,
@@ -329,22 +379,25 @@ public int getSerializedSize() {
 
     size = 0;
     if (policyCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.container.v1.DailyMaintenanceWindow) policy_);
     }
     if (policyCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.container.v1.RecurringTimeWindow) policy_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.container.v1.RecurringTimeWindow) policy_);
     }
-    for (java.util.Map.Entry entry
-         : internalGetMaintenanceExclusions().getMap().entrySet()) {
+    for (java.util.Map.Entry entry :
+        internalGetMaintenanceExclusions().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-      maintenanceExclusions__ = MaintenanceExclusionsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, maintenanceExclusions__);
+          maintenanceExclusions__ =
+              MaintenanceExclusionsDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, maintenanceExclusions__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -354,24 +407,23 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.MaintenanceWindow)) {
       return super.equals(obj);
     }
-    com.google.container.v1.MaintenanceWindow other = (com.google.container.v1.MaintenanceWindow) obj;
+    com.google.container.v1.MaintenanceWindow other =
+        (com.google.container.v1.MaintenanceWindow) obj;
 
-    if (!internalGetMaintenanceExclusions().equals(
-        other.internalGetMaintenanceExclusions())) return false;
+    if (!internalGetMaintenanceExclusions().equals(other.internalGetMaintenanceExclusions()))
+      return false;
     if (!getPolicyCase().equals(other.getPolicyCase())) return false;
     switch (policyCase_) {
       case 2:
-        if (!getDailyMaintenanceWindow()
-            .equals(other.getDailyMaintenanceWindow())) return false;
+        if (!getDailyMaintenanceWindow().equals(other.getDailyMaintenanceWindow())) return false;
         break;
       case 3:
-        if (!getRecurringWindow()
-            .equals(other.getRecurringWindow())) return false;
+        if (!getRecurringWindow().equals(other.getRecurringWindow())) return false;
         break;
       case 0:
       default:
@@ -408,152 +460,156 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.MaintenanceWindow parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.MaintenanceWindow parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.MaintenanceWindow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseFrom(
       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.MaintenanceWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1.MaintenanceWindow parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1.MaintenanceWindow parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MaintenanceWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.MaintenanceWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * MaintenanceWindow defines the maintenance window to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1.MaintenanceWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaintenanceWindow) com.google.container.v1.MaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableMaintenanceExclusions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaintenanceWindow.class, com.google.container.v1.MaintenanceWindow.Builder.class); + com.google.container.v1.MaintenanceWindow.class, + com.google.container.v1.MaintenanceWindow.Builder.class); } // Construct using com.google.container.v1.MaintenanceWindow.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +626,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaintenanceWindow_descriptor; } @java.lang.Override @@ -591,7 +647,8 @@ public com.google.container.v1.MaintenanceWindow build() { @java.lang.Override public com.google.container.v1.MaintenanceWindow buildPartial() { - com.google.container.v1.MaintenanceWindow result = new com.google.container.v1.MaintenanceWindow(this); + com.google.container.v1.MaintenanceWindow result = + new com.google.container.v1.MaintenanceWindow(this); int from_bitField0_ = bitField0_; if (policyCase_ == 2) { if (dailyMaintenanceWindowBuilder_ == null) { @@ -618,38 +675,39 @@ public com.google.container.v1.MaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaintenanceWindow) { - return mergeFrom((com.google.container.v1.MaintenanceWindow)other); + return mergeFrom((com.google.container.v1.MaintenanceWindow) other); } else { super.mergeFrom(other); return this; @@ -658,20 +716,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1.MaintenanceWindow other) { if (other == com.google.container.v1.MaintenanceWindow.getDefaultInstance()) return this; - internalGetMutableMaintenanceExclusions().mergeFrom( - other.internalGetMaintenanceExclusions()); + internalGetMutableMaintenanceExclusions().mergeFrom(other.internalGetMaintenanceExclusions()); switch (other.getPolicyCase()) { - case DAILY_MAINTENANCE_WINDOW: { - mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); - break; - } - case RECURRING_WINDOW: { - mergeRecurringWindow(other.getRecurringWindow()); - break; - } - case POLICY_NOT_SET: { - break; - } + case DAILY_MAINTENANCE_WINDOW: + { + mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); + break; + } + case RECURRING_WINDOW: + { + mergeRecurringWindow(other.getRecurringWindow()); + break; + } + case POLICY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -699,34 +759,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getDailyMaintenanceWindowFieldBuilder().getBuilder(), - extensionRegistry); - policyCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getRecurringWindowFieldBuilder().getBuilder(), - extensionRegistry); - policyCase_ = 3; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - maintenanceExclusions__ = input.readMessage( - MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMaintenanceExclusions().getMutableMap().put( - maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage( + getDailyMaintenanceWindowFieldBuilder().getBuilder(), extensionRegistry); + policyCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getRecurringWindowFieldBuilder().getBuilder(), extensionRegistry); + policyCase_ = 3; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry + maintenanceExclusions__ = + input.readMessage( + MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMaintenanceExclusions() + .getMutableMap() + .put(maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); + 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) { @@ -736,12 +800,12 @@ public Builder mergeFrom( } // finally return this; } + private int policyCase_ = 0; private java.lang.Object policy_; - public PolicyCase - getPolicyCase() { - return PolicyCase.forNumber( - policyCase_); + + public PolicyCase getPolicyCase() { + return PolicyCase.forNumber(policyCase_); } public Builder clearPolicy() { @@ -754,13 +818,19 @@ public Builder clearPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder> dailyMaintenanceWindowBuilder_; + com.google.container.v1.DailyMaintenanceWindow, + com.google.container.v1.DailyMaintenanceWindow.Builder, + com.google.container.v1.DailyMaintenanceWindowOrBuilder> + dailyMaintenanceWindowBuilder_; /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -768,11 +838,14 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return The dailyMaintenanceWindow. */ @java.lang.Override @@ -790,6 +863,8 @@ public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow( } } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -810,6 +885,8 @@ public Builder setDailyMaintenanceWindow(com.google.container.v1.DailyMaintenanc return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -828,18 +905,24 @@ public Builder setDailyMaintenanceWindow( return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public Builder mergeDailyMaintenanceWindow(com.google.container.v1.DailyMaintenanceWindow value) { + public Builder mergeDailyMaintenanceWindow( + com.google.container.v1.DailyMaintenanceWindow value) { if (dailyMaintenanceWindowBuilder_ == null) { - if (policyCase_ == 2 && - policy_ != com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance()) { - policy_ = com.google.container.v1.DailyMaintenanceWindow.newBuilder((com.google.container.v1.DailyMaintenanceWindow) policy_) - .mergeFrom(value).buildPartial(); + if (policyCase_ == 2 + && policy_ != com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance()) { + policy_ = + com.google.container.v1.DailyMaintenanceWindow.newBuilder( + (com.google.container.v1.DailyMaintenanceWindow) policy_) + .mergeFrom(value) + .buildPartial(); } else { policy_ = value; } @@ -855,6 +938,8 @@ public Builder mergeDailyMaintenanceWindow(com.google.container.v1.DailyMaintena return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -878,16 +963,21 @@ public Builder clearDailyMaintenanceWindow() { return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public com.google.container.v1.DailyMaintenanceWindow.Builder getDailyMaintenanceWindowBuilder() { + public com.google.container.v1.DailyMaintenanceWindow.Builder + getDailyMaintenanceWindowBuilder() { return getDailyMaintenanceWindowFieldBuilder().getBuilder(); } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -895,7 +985,8 @@ public com.google.container.v1.DailyMaintenanceWindow.Builder getDailyMaintenanc * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1.DailyMaintenanceWindowOrBuilder + getDailyMaintenanceWindowOrBuilder() { if ((policyCase_ == 2) && (dailyMaintenanceWindowBuilder_ != null)) { return dailyMaintenanceWindowBuilder_.getMessageOrBuilder(); } else { @@ -906,6 +997,8 @@ public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenan } } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -913,27 +1006,38 @@ public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenan * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder> + com.google.container.v1.DailyMaintenanceWindow, + com.google.container.v1.DailyMaintenanceWindow.Builder, + com.google.container.v1.DailyMaintenanceWindowOrBuilder> getDailyMaintenanceWindowFieldBuilder() { if (dailyMaintenanceWindowBuilder_ == null) { if (!(policyCase_ == 2)) { policy_ = com.google.container.v1.DailyMaintenanceWindow.getDefaultInstance(); } - dailyMaintenanceWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DailyMaintenanceWindow, com.google.container.v1.DailyMaintenanceWindow.Builder, com.google.container.v1.DailyMaintenanceWindowOrBuilder>( + dailyMaintenanceWindowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DailyMaintenanceWindow, + com.google.container.v1.DailyMaintenanceWindow.Builder, + com.google.container.v1.DailyMaintenanceWindowOrBuilder>( (com.google.container.v1.DailyMaintenanceWindow) policy_, getParentForChildren(), isClean()); policy_ = null; } policyCase_ = 2; - onChanged();; + onChanged(); + ; return dailyMaintenanceWindowBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.RecurringTimeWindow, com.google.container.v1.RecurringTimeWindow.Builder, com.google.container.v1.RecurringTimeWindowOrBuilder> recurringWindowBuilder_; + com.google.container.v1.RecurringTimeWindow, + com.google.container.v1.RecurringTimeWindow.Builder, + com.google.container.v1.RecurringTimeWindowOrBuilder> + recurringWindowBuilder_; /** + * + * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -941,6 +1045,7 @@ public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenan
      * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; + * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -948,6 +1053,8 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** + * + * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -955,6 +1062,7 @@ public boolean hasRecurringWindow() {
      * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; + * * @return The recurringWindow. */ @java.lang.Override @@ -972,6 +1080,8 @@ public com.google.container.v1.RecurringTimeWindow getRecurringWindow() { } } /** + * + * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -994,6 +1104,8 @@ public Builder setRecurringWindow(com.google.container.v1.RecurringTimeWindow va
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1014,6 +1126,8 @@ public Builder setRecurringWindow(
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1024,10 +1138,13 @@ public Builder setRecurringWindow(
      */
     public Builder mergeRecurringWindow(com.google.container.v1.RecurringTimeWindow value) {
       if (recurringWindowBuilder_ == null) {
-        if (policyCase_ == 3 &&
-            policy_ != com.google.container.v1.RecurringTimeWindow.getDefaultInstance()) {
-          policy_ = com.google.container.v1.RecurringTimeWindow.newBuilder((com.google.container.v1.RecurringTimeWindow) policy_)
-              .mergeFrom(value).buildPartial();
+        if (policyCase_ == 3
+            && policy_ != com.google.container.v1.RecurringTimeWindow.getDefaultInstance()) {
+          policy_ =
+              com.google.container.v1.RecurringTimeWindow.newBuilder(
+                      (com.google.container.v1.RecurringTimeWindow) policy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           policy_ = value;
         }
@@ -1043,6 +1160,8 @@ public Builder mergeRecurringWindow(com.google.container.v1.RecurringTimeWindow
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1068,6 +1187,8 @@ public Builder clearRecurringWindow() {
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1080,6 +1201,8 @@ public com.google.container.v1.RecurringTimeWindow.Builder getRecurringWindowBui
       return getRecurringWindowFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1100,6 +1223,8 @@ public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOr
       }
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1109,40 +1234,50 @@ public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOr
      * .google.container.v1.RecurringTimeWindow recurring_window = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.RecurringTimeWindow, com.google.container.v1.RecurringTimeWindow.Builder, com.google.container.v1.RecurringTimeWindowOrBuilder> 
+            com.google.container.v1.RecurringTimeWindow,
+            com.google.container.v1.RecurringTimeWindow.Builder,
+            com.google.container.v1.RecurringTimeWindowOrBuilder>
         getRecurringWindowFieldBuilder() {
       if (recurringWindowBuilder_ == null) {
         if (!(policyCase_ == 3)) {
           policy_ = com.google.container.v1.RecurringTimeWindow.getDefaultInstance();
         }
-        recurringWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.RecurringTimeWindow, com.google.container.v1.RecurringTimeWindow.Builder, com.google.container.v1.RecurringTimeWindowOrBuilder>(
+        recurringWindowBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.RecurringTimeWindow,
+                com.google.container.v1.RecurringTimeWindow.Builder,
+                com.google.container.v1.RecurringTimeWindowOrBuilder>(
                 (com.google.container.v1.RecurringTimeWindow) policy_,
                 getParentForChildren(),
                 isClean());
         policy_ = null;
       }
       policyCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return recurringWindowBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, com.google.container.v1.TimeWindow> maintenanceExclusions_;
     private com.google.protobuf.MapField
-    internalGetMaintenanceExclusions() {
+        maintenanceExclusions_;
+
+    private com.google.protobuf.MapField
+        internalGetMaintenanceExclusions() {
       if (maintenanceExclusions_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       return maintenanceExclusions_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableMaintenanceExclusions() {
-      onChanged();;
+        internalGetMutableMaintenanceExclusions() {
+      onChanged();
+      ;
       if (maintenanceExclusions_ == null) {
-        maintenanceExclusions_ = com.google.protobuf.MapField.newMapField(
-            MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
+        maintenanceExclusions_ =
+            com.google.protobuf.MapField.newMapField(
+                MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       if (!maintenanceExclusions_.isMutable()) {
         maintenanceExclusions_ = maintenanceExclusions_.copy();
@@ -1154,6 +1289,8 @@ public int getMaintenanceExclusionsCount() {
       return internalGetMaintenanceExclusions().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1161,22 +1298,23 @@ public int getMaintenanceExclusionsCount() {
      *
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
-
     @java.lang.Override
-    public boolean containsMaintenanceExclusions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMaintenanceExclusions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMaintenanceExclusions().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMaintenanceExclusionsMap()} instead.
-     */
+    /** Use {@link #getMaintenanceExclusionsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map getMaintenanceExclusions() {
+    public java.util.Map
+        getMaintenanceExclusions() {
       return getMaintenanceExclusionsMap();
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1185,11 +1323,13 @@ public java.util.Map getMa
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     @java.lang.Override
-
-    public java.util.Map getMaintenanceExclusionsMap() {
+    public java.util.Map
+        getMaintenanceExclusionsMap() {
       return internalGetMaintenanceExclusions().getMap();
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1198,16 +1338,18 @@ public java.util.Map getMa
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     @java.lang.Override
-
     public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
-        java.lang.String key,
-        com.google.container.v1.TimeWindow defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.container.v1.TimeWindow defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetMaintenanceExclusions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1216,10 +1358,11 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     @java.lang.Override
-
     public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
         java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetMaintenanceExclusions().getMap();
       if (!map.containsKey(key)) {
@@ -1229,11 +1372,12 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
     }
 
     public Builder clearMaintenanceExclusions() {
-      internalGetMutableMaintenanceExclusions().getMutableMap()
-          .clear();
+      internalGetMutableMaintenanceExclusions().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1241,23 +1385,22 @@ public Builder clearMaintenanceExclusions() {
      *
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
-
-    public Builder removeMaintenanceExclusions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMaintenanceExclusions().getMutableMap()
-          .remove(key);
+    public Builder removeMaintenanceExclusions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMaintenanceExclusions().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
-    getMutableMaintenanceExclusions() {
+        getMutableMaintenanceExclusions() {
       return internalGetMutableMaintenanceExclusions().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1266,18 +1409,20 @@ public Builder removeMaintenanceExclusions(
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
     public Builder putMaintenanceExclusions(
-        java.lang.String key,
-        com.google.container.v1.TimeWindow value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, com.google.container.v1.TimeWindow value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMaintenanceExclusions().getMutableMap()
-          .put(key, value);
+      internalGetMutableMaintenanceExclusions().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
@@ -1285,16 +1430,14 @@ public Builder putMaintenanceExclusions(
      *
      * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
      */
-
     public Builder putAllMaintenanceExclusions(
         java.util.Map values) {
-      internalGetMutableMaintenanceExclusions().getMutableMap()
-          .putAll(values);
+      internalGetMutableMaintenanceExclusions().getMutableMap().putAll(values);
       return this;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1304,12 +1447,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.MaintenanceWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.MaintenanceWindow)
   private static final com.google.container.v1.MaintenanceWindow DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.MaintenanceWindow();
   }
@@ -1318,27 +1461,27 @@ public static com.google.container.v1.MaintenanceWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MaintenanceWindow parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MaintenanceWindow parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1353,6 +1496,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.MaintenanceWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
similarity index 78%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
index 7c1c7d929694..3083d2c8b662 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface MaintenanceWindowOrBuilder extends
+public interface MaintenanceWindowOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.MaintenanceWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return Whether the dailyMaintenanceWindow field is set. */ boolean hasDailyMaintenanceWindow(); /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return The dailyMaintenanceWindow. */ com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow(); /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -35,6 +59,8 @@ public interface MaintenanceWindowOrBuilder extends com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder(); /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -42,10 +68,13 @@ public interface MaintenanceWindowOrBuilder extends
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; + * * @return Whether the recurringWindow field is set. */ boolean hasRecurringWindow(); /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -53,10 +82,13 @@ public interface MaintenanceWindowOrBuilder extends
    * 
* * .google.container.v1.RecurringTimeWindow recurring_window = 3; + * * @return The recurringWindow. */ com.google.container.v1.RecurringTimeWindow getRecurringWindow(); /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -68,6 +100,8 @@ public interface MaintenanceWindowOrBuilder extends
   com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder();
 
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -77,6 +111,8 @@ public interface MaintenanceWindowOrBuilder extends
    */
   int getMaintenanceExclusionsCount();
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -84,15 +120,13 @@ public interface MaintenanceWindowOrBuilder extends
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
-  boolean containsMaintenanceExclusions(
-      java.lang.String key);
-  /**
-   * Use {@link #getMaintenanceExclusionsMap()} instead.
-   */
+  boolean containsMaintenanceExclusions(java.lang.String key);
+  /** Use {@link #getMaintenanceExclusionsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMaintenanceExclusions();
+  java.util.Map getMaintenanceExclusions();
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -100,9 +134,10 @@ boolean containsMaintenanceExclusions(
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
-  java.util.Map
-  getMaintenanceExclusionsMap();
+  java.util.Map getMaintenanceExclusionsMap();
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -112,11 +147,13 @@ boolean containsMaintenanceExclusions(
    */
 
   /* nullable */
-com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
+  com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.container.v1.TimeWindow defaultValue);
+      com.google.container.v1.TimeWindow defaultValue);
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
@@ -124,9 +161,7 @@ com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault(
    *
    * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
    */
-
-  com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(
-      java.lang.String key);
+  com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(java.lang.String key);
 
   public com.google.container.v1.MaintenanceWindow.PolicyCase getPolicyCase();
 }
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
similarity index 64%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
index 7d6b9acafeda..b41aabd26bdb 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfig.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * ManagedPrometheusConfig defines the configuration for
  * Google Cloud Managed Service for Prometheus.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1.ManagedPrometheusConfig}
  */
-public final class ManagedPrometheusConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ManagedPrometheusConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ManagedPrometheusConfig)
     ManagedPrometheusConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ManagedPrometheusConfig.newBuilder() to construct.
   private ManagedPrometheusConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ManagedPrometheusConfig() {
-  }
+
+  private ManagedPrometheusConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ManagedPrometheusConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ManagedPrometheusConfig.class, com.google.container.v1.ManagedPrometheusConfig.Builder.class);
+            com.google.container.v1.ManagedPrometheusConfig.class,
+            com.google.container.v1.ManagedPrometheusConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enable Managed Collection.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ManagedPrometheusConfig)) { return super.equals(obj); } - com.google.container.v1.ManagedPrometheusConfig other = (com.google.container.v1.ManagedPrometheusConfig) obj; + com.google.container.v1.ManagedPrometheusConfig other = + (com.google.container.v1.ManagedPrometheusConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ManagedPrometheusConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ManagedPrometheusConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ManagedPrometheusConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ManagedPrometheusConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ManagedPrometheusConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ManagedPrometheusConfig defines the configuration for
    * Google Cloud Managed Service for Prometheus.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ManagedPrometheusConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ManagedPrometheusConfig)
       com.google.container.v1.ManagedPrometheusConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ManagedPrometheusConfig.class, com.google.container.v1.ManagedPrometheusConfig.Builder.class);
+              com.google.container.v1.ManagedPrometheusConfig.class,
+              com.google.container.v1.ManagedPrometheusConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.ManagedPrometheusConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1.ManagedPrometheusConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.ManagedPrometheusConfig buildPartial() {
-      com.google.container.v1.ManagedPrometheusConfig result = new com.google.container.v1.ManagedPrometheusConfig(this);
+      com.google.container.v1.ManagedPrometheusConfig result =
+          new com.google.container.v1.ManagedPrometheusConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1.ManagedPrometheusConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ManagedPrometheusConfig) {
-        return mergeFrom((com.google.container.v1.ManagedPrometheusConfig)other);
+        return mergeFrom((com.google.container.v1.ManagedPrometheusConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -333,7 +360,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.ManagedPrometheusConfig other) {
-      if (other == com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -363,17 +391,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +414,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +431,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ManagedPrometheusConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ManagedPrometheusConfig) private static final com.google.container.v1.ManagedPrometheusConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ManagedPrometheusConfig(); } @@ -452,27 +491,27 @@ public static com.google.container.v1.ManagedPrometheusConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedPrometheusConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedPrometheusConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ManagedPrometheusConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java new file mode 100644 index 000000000000..31d5392d9566 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ManagedPrometheusConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ManagedPrometheusConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/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 similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index aeeb8faf3444..b6c44b10b2cb 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * The authentication information for accessing the master endpoint.
  * Authentication can be done using HTTP basic auth or using client
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1.MasterAuth}
  */
-public final class MasterAuth extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MasterAuth extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.MasterAuth)
     MasterAuthOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MasterAuth.newBuilder() to construct.
   private MasterAuth(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MasterAuth() {
     username_ = "";
     password_ = "";
@@ -31,32 +49,35 @@ private MasterAuth() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MasterAuth();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_MasterAuth_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_MasterAuth_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.MasterAuth.class, com.google.container.v1.MasterAuth.Builder.class);
+            com.google.container.v1.MasterAuth.class,
+            com.google.container.v1.MasterAuth.Builder.class);
   }
 
   public static final int USERNAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object username_;
   /**
+   *
+   *
    * 
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -68,24 +89,27 @@ protected java.lang.Object newInstance(
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @return The username. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getUsername() { + @java.lang.Deprecated + public java.lang.String getUsername() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** + * + * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -97,18 +121,18 @@ protected java.lang.Object newInstance(
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @return The bytes for username. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getUsernameBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -119,6 +143,8 @@ protected java.lang.Object newInstance( public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -131,24 +157,27 @@ protected java.lang.Object newInstance(
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @return The password. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getPassword() { + @java.lang.Deprecated + public java.lang.String getPassword() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -161,18 +190,18 @@ protected java.lang.Object newInstance(
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @return The bytes for password. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getPasswordBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -183,6 +212,8 @@ protected java.lang.Object newInstance( public static final int CLIENT_CERTIFICATE_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1.ClientCertificateConfig clientCertificateConfig_; /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -190,6 +221,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; + * * @return Whether the clientCertificateConfig field is set. */ @java.lang.Override @@ -197,6 +229,8 @@ public boolean hasClientCertificateConfig() { return clientCertificateConfig_ != null; } /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -204,13 +238,18 @@ public boolean hasClientCertificateConfig() {
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; + * * @return The clientCertificateConfig. */ @java.lang.Override public com.google.container.v1.ClientCertificateConfig getClientCertificateConfig() { - return clientCertificateConfig_ == null ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; + return clientCertificateConfig_ == null + ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() + : clientCertificateConfig_; } /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -220,19 +259,23 @@ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfi
    * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
    */
   @java.lang.Override
-  public com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
+  public com.google.container.v1.ClientCertificateConfigOrBuilder
+      getClientCertificateConfigOrBuilder() {
     return getClientCertificateConfig();
   }
 
   public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER = 100;
   private volatile java.lang.Object clusterCaCertificate_;
   /**
+   *
+   *
    * 
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; + * * @return The clusterCaCertificate. */ @java.lang.Override @@ -241,30 +284,30 @@ public java.lang.String getClusterCaCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; } } /** + * + * *
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; + * * @return The bytes for clusterCaCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -275,12 +318,15 @@ public java.lang.String getClusterCaCertificate() { public static final int CLIENT_CERTIFICATE_FIELD_NUMBER = 101; private volatile java.lang.Object clientCertificate_; /** + * + * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The clientCertificate. */ @java.lang.Override @@ -289,30 +335,30 @@ public java.lang.String getClientCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; } } /** + * + * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The bytes for clientCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -323,12 +369,15 @@ public java.lang.String getClientCertificate() { public static final int CLIENT_KEY_FIELD_NUMBER = 102; private volatile java.lang.Object clientKey_; /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The clientKey. */ @java.lang.Override @@ -337,30 +386,30 @@ public java.lang.String getClientKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; } } /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The bytes for clientKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientKey_ = b; return b; } else { @@ -369,6 +418,7 @@ public java.lang.String getClientKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,8 +430,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -416,8 +465,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } if (clientCertificateConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getClientCertificateConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getClientCertificateConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, clusterCaCertificate_); @@ -436,28 +485,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MasterAuth)) { return super.equals(obj); } com.google.container.v1.MasterAuth other = (com.google.container.v1.MasterAuth) obj; - if (!getUsername() - .equals(other.getUsername())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; + if (!getUsername().equals(other.getUsername())) return false; + if (!getPassword().equals(other.getPassword())) return false; if (hasClientCertificateConfig() != other.hasClientCertificateConfig()) return false; if (hasClientCertificateConfig()) { - if (!getClientCertificateConfig() - .equals(other.getClientCertificateConfig())) return false; - } - if (!getClusterCaCertificate() - .equals(other.getClusterCaCertificate())) return false; - if (!getClientCertificate() - .equals(other.getClientCertificate())) return false; - if (!getClientKey() - .equals(other.getClientKey())) return false; + if (!getClientCertificateConfig().equals(other.getClientCertificateConfig())) return false; + } + if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; + if (!getClientCertificate().equals(other.getClientCertificate())) return false; + if (!getClientKey().equals(other.getClientKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -488,97 +531,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.MasterAuth parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.MasterAuth parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuth parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuth parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.MasterAuth parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuth parseFrom( 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.MasterAuth parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuth parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.MasterAuth parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuth parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.MasterAuth parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuth parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.MasterAuth parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.MasterAuth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The authentication information for accessing the master endpoint.
    * Authentication can be done using HTTP basic auth or using client
@@ -587,33 +636,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.MasterAuth}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.MasterAuth)
       com.google.container.v1.MasterAuthOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_MasterAuth_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.MasterAuth.class, com.google.container.v1.MasterAuth.Builder.class);
+              com.google.container.v1.MasterAuth.class,
+              com.google.container.v1.MasterAuth.Builder.class);
     }
 
     // Construct using com.google.container.v1.MasterAuth.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -637,9 +685,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuth_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
@@ -677,38 +725,39 @@ public com.google.container.v1.MasterAuth buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.MasterAuth) {
-        return mergeFrom((com.google.container.v1.MasterAuth)other);
+        return mergeFrom((com.google.container.v1.MasterAuth) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -766,44 +815,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              username_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              password_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getClientCertificateConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 802: {
-              clusterCaCertificate_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 802
-            case 810: {
-              clientCertificate_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 810
-            case 818: {
-              clientKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 818
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                username_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                password_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getClientCertificateConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 802:
+              {
+                clusterCaCertificate_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 802
+            case 810:
+              {
+                clientCertificate_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 810
+            case 818:
+              {
+                clientKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 818
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -816,6 +871,8 @@ public Builder mergeFrom(
 
     private java.lang.Object username_ = "";
     /**
+     *
+     *
      * 
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -827,15 +884,16 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @return The username. */ - @java.lang.Deprecated public java.lang.String getUsername() { + @java.lang.Deprecated + public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -844,6 +902,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -855,17 +915,17 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @return The bytes for username. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getUsernameBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -873,6 +933,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -884,22 +946,25 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @param value The username to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setUsername( - java.lang.String value) { + @java.lang.Deprecated + public Builder setUsername(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -911,17 +976,21 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearUsername() { - + @java.lang.Deprecated + public Builder clearUsername() { + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -933,18 +1002,19 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @param value The bytes for username to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setUsernameBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -952,6 +1022,8 @@ public Builder mergeFrom( private java.lang.Object password_ = ""; /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -964,15 +1036,16 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @return The password. */ - @java.lang.Deprecated public java.lang.String getPassword() { + @java.lang.Deprecated + public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -981,6 +1054,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -993,17 +1068,17 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @return The bytes for password. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPasswordBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -1011,6 +1086,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1023,22 +1100,25 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @param value The password to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPassword( - java.lang.String value) { + @java.lang.Deprecated + public Builder setPassword(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1051,17 +1131,21 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearPassword() { - + @java.lang.Deprecated + public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1074,18 +1158,19 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @param value The bytes for password to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1093,8 +1178,13 @@ public Builder mergeFrom( private com.google.container.v1.ClientCertificateConfig clientCertificateConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClientCertificateConfig, com.google.container.v1.ClientCertificateConfig.Builder, com.google.container.v1.ClientCertificateConfigOrBuilder> clientCertificateConfigBuilder_; + com.google.container.v1.ClientCertificateConfig, + com.google.container.v1.ClientCertificateConfig.Builder, + com.google.container.v1.ClientCertificateConfigOrBuilder> + clientCertificateConfigBuilder_; /** + * + * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1102,12 +1192,15 @@ public Builder mergeFrom(
      * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; + * * @return Whether the clientCertificateConfig field is set. */ public boolean hasClientCertificateConfig() { return clientCertificateConfigBuilder_ != null || clientCertificateConfig_ != null; } /** + * + * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1115,16 +1208,21 @@ public boolean hasClientCertificateConfig() {
      * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; + * * @return The clientCertificateConfig. */ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfig() { if (clientCertificateConfigBuilder_ == null) { - return clientCertificateConfig_ == null ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; + return clientCertificateConfig_ == null + ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() + : clientCertificateConfig_; } else { return clientCertificateConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1133,7 +1231,8 @@ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfi
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder setClientCertificateConfig(com.google.container.v1.ClientCertificateConfig value) {
+    public Builder setClientCertificateConfig(
+        com.google.container.v1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1147,6 +1246,8 @@ public Builder setClientCertificateConfig(com.google.container.v1.ClientCertific
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1167,6 +1268,8 @@ public Builder setClientCertificateConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1175,11 +1278,14 @@ public Builder setClientCertificateConfig(
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder mergeClientCertificateConfig(com.google.container.v1.ClientCertificateConfig value) {
+    public Builder mergeClientCertificateConfig(
+        com.google.container.v1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (clientCertificateConfig_ != null) {
           clientCertificateConfig_ =
-            com.google.container.v1.ClientCertificateConfig.newBuilder(clientCertificateConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ClientCertificateConfig.newBuilder(clientCertificateConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           clientCertificateConfig_ = value;
         }
@@ -1191,6 +1297,8 @@ public Builder mergeClientCertificateConfig(com.google.container.v1.ClientCertif
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1211,6 +1319,8 @@ public Builder clearClientCertificateConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1219,12 +1329,15 @@ public Builder clearClientCertificateConfig() {
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1.ClientCertificateConfig.Builder getClientCertificateConfigBuilder() {
-      
+    public com.google.container.v1.ClientCertificateConfig.Builder
+        getClientCertificateConfigBuilder() {
+
       onChanged();
       return getClientCertificateConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1233,15 +1346,19 @@ public com.google.container.v1.ClientCertificateConfig.Builder getClientCertific
      *
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
+    public com.google.container.v1.ClientCertificateConfigOrBuilder
+        getClientCertificateConfigOrBuilder() {
       if (clientCertificateConfigBuilder_ != null) {
         return clientCertificateConfigBuilder_.getMessageOrBuilder();
       } else {
-        return clientCertificateConfig_ == null ?
-            com.google.container.v1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_;
+        return clientCertificateConfig_ == null
+            ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance()
+            : clientCertificateConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1251,14 +1368,17 @@ public com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertifi
      * .google.container.v1.ClientCertificateConfig client_certificate_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ClientCertificateConfig, com.google.container.v1.ClientCertificateConfig.Builder, com.google.container.v1.ClientCertificateConfigOrBuilder> 
+            com.google.container.v1.ClientCertificateConfig,
+            com.google.container.v1.ClientCertificateConfig.Builder,
+            com.google.container.v1.ClientCertificateConfigOrBuilder>
         getClientCertificateConfigFieldBuilder() {
       if (clientCertificateConfigBuilder_ == null) {
-        clientCertificateConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ClientCertificateConfig, com.google.container.v1.ClientCertificateConfig.Builder, com.google.container.v1.ClientCertificateConfigOrBuilder>(
-                getClientCertificateConfig(),
-                getParentForChildren(),
-                isClean());
+        clientCertificateConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ClientCertificateConfig,
+                com.google.container.v1.ClientCertificateConfig.Builder,
+                com.google.container.v1.ClientCertificateConfigOrBuilder>(
+                getClientCertificateConfig(), getParentForChildren(), isClean());
         clientCertificateConfig_ = null;
       }
       return clientCertificateConfigBuilder_;
@@ -1266,19 +1386,21 @@ public com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertifi
 
     private java.lang.Object clusterCaCertificate_ = "";
     /**
+     *
+     *
      * 
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; + * * @return The clusterCaCertificate. */ public java.lang.String getClusterCaCertificate() { java.lang.Object ref = clusterCaCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterCaCertificate_ = s; return s; @@ -1287,21 +1409,22 @@ public java.lang.String getClusterCaCertificate() { } } /** + * + * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; + * * @return The bytes for clusterCaCertificate. */ - public com.google.protobuf.ByteString - getClusterCaCertificateBytes() { + public com.google.protobuf.ByteString getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterCaCertificate_ = b; return b; } else { @@ -1309,57 +1432,64 @@ public java.lang.String getClusterCaCertificate() { } } /** + * + * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; + * * @param value The clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificate( - java.lang.String value) { + public Builder setClusterCaCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterCaCertificate_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; + * * @return This builder for chaining. */ public Builder clearClusterCaCertificate() { - + clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate(); onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded public certificate that is the root of
      * trust for the cluster.
      * 
* * string cluster_ca_certificate = 100; + * * @param value The bytes for clusterCaCertificate to set. * @return This builder for chaining. */ - public Builder setClusterCaCertificateBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterCaCertificate_ = value; onChanged(); return this; @@ -1367,19 +1497,21 @@ public Builder setClusterCaCertificateBytes( private java.lang.Object clientCertificate_ = ""; /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; @@ -1388,21 +1520,22 @@ public java.lang.String getClientCertificate() { } } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @return The bytes for clientCertificate. */ - public com.google.protobuf.ByteString - getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -1410,57 +1543,64 @@ public java.lang.String getClientCertificate() { } } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @param value The clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificate( - java.lang.String value) { + public Builder setClientCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientCertificate_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @return This builder for chaining. */ public Builder clearClientCertificate() { - + clientCertificate_ = getDefaultInstance().getClientCertificate(); onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @param value The bytes for clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificateBytes( - com.google.protobuf.ByteString value) { + public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientCertificate_ = value; onChanged(); return this; @@ -1468,19 +1608,21 @@ public Builder setClientCertificateBytes( private java.lang.Object clientKey_ = ""; /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; @@ -1489,21 +1631,22 @@ public java.lang.String getClientKey() { } } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @return The bytes for clientKey. */ - public com.google.protobuf.ByteString - getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientKey_ = b; return b; } else { @@ -1511,64 +1654,71 @@ public java.lang.String getClientKey() { } } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @param value The clientKey to set. * @return This builder for chaining. */ - public Builder setClientKey( - java.lang.String value) { + public Builder setClientKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientKey_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @return This builder for chaining. */ public Builder clearClientKey() { - + clientKey_ = getDefaultInstance().getClientKey(); onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @param value The bytes for clientKey to set. * @return This builder for chaining. */ - public Builder setClientKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setClientKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientKey_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1578,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.MasterAuth) } // @@protoc_insertion_point(class_scope:google.container.v1.MasterAuth) private static final com.google.container.v1.MasterAuth DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.MasterAuth(); } @@ -1592,27 +1742,27 @@ public static com.google.container.v1.MasterAuth getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1627,6 +1777,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.MasterAuth getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 79% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java index af4762cf7551..c766e6e79645 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface MasterAuthOrBuilder extends +public interface MasterAuthOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.MasterAuth) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -19,12 +37,16 @@ public interface MasterAuthOrBuilder extends
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @return The username. */ - @java.lang.Deprecated java.lang.String getUsername(); + @java.lang.Deprecated + java.lang.String getUsername(); /** + * + * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -36,14 +58,17 @@ public interface MasterAuthOrBuilder extends
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.username is deprecated. - * See google/container/v1/cluster_service.proto;l=992 + * + * @deprecated google.container.v1.MasterAuth.username is deprecated. See + * google/container/v1/cluster_service.proto;l=992 * @return The bytes for username. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getUsernameBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getUsernameBytes(); /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -56,12 +81,16 @@ public interface MasterAuthOrBuilder extends
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @return The password. */ - @java.lang.Deprecated java.lang.String getPassword(); + @java.lang.Deprecated + java.lang.String getPassword(); /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -74,14 +103,17 @@ public interface MasterAuthOrBuilder extends
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1.MasterAuth.password is deprecated. - * See google/container/v1/cluster_service.proto;l=1003 + * + * @deprecated google.container.v1.MasterAuth.password is deprecated. See + * google/container/v1/cluster_service.proto;l=1003 * @return The bytes for password. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getPasswordBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getPasswordBytes(); /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -89,10 +121,13 @@ public interface MasterAuthOrBuilder extends
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; + * * @return Whether the clientCertificateConfig field is set. */ boolean hasClientCertificateConfig(); /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -100,10 +135,13 @@ public interface MasterAuthOrBuilder extends
    * 
* * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; + * * @return The clientCertificateConfig. */ com.google.container.v1.ClientCertificateConfig getClientCertificateConfig(); /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -115,68 +153,83 @@ public interface MasterAuthOrBuilder extends
   com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; + * * @return The clusterCaCertificate. */ java.lang.String getClusterCaCertificate(); /** + * + * *
    * [Output only] Base64-encoded public certificate that is the root of
    * trust for the cluster.
    * 
* * string cluster_ca_certificate = 100; + * * @return The bytes for clusterCaCertificate. */ - com.google.protobuf.ByteString - getClusterCaCertificateBytes(); + com.google.protobuf.ByteString getClusterCaCertificateBytes(); /** + * + * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The clientCertificate. */ java.lang.String getClientCertificate(); /** + * + * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The bytes for clientCertificate. */ - com.google.protobuf.ByteString - getClientCertificateBytes(); + com.google.protobuf.ByteString getClientCertificateBytes(); /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The clientKey. */ java.lang.String getClientKey(); /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The bytes for clientKey. */ - com.google.protobuf.ByteString - getClientKeyBytes(); + com.google.protobuf.ByteString getClientKeyBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java index 560d509c0384..df913d7841f9 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration options for the master authorized networks feature. Enabled
  * master authorized networks will disallow all external traffic to access
@@ -13,104 +30,121 @@
  *
  * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig}
  */
-public final class MasterAuthorizedNetworksConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MasterAuthorizedNetworksConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.MasterAuthorizedNetworksConfig)
     MasterAuthorizedNetworksConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MasterAuthorizedNetworksConfig.newBuilder() to construct.
-  private MasterAuthorizedNetworksConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private MasterAuthorizedNetworksConfig(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MasterAuthorizedNetworksConfig() {
     cidrBlocks_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MasterAuthorizedNetworksConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.MasterAuthorizedNetworksConfig.class, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
+            com.google.container.v1.MasterAuthorizedNetworksConfig.class,
+            com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
   }
 
-  public interface CidrBlockOrBuilder extends
+  public interface CidrBlockOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The cidrBlock. */ java.lang.String getCidrBlock(); /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The bytes for cidrBlock. */ - com.google.protobuf.ByteString - getCidrBlockBytes(); + com.google.protobuf.ByteString getCidrBlockBytes(); } /** + * + * *
    * CidrBlock contains an optional name and one CIDR block.
    * 
* * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class CidrBlock extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CidrBlock extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) CidrBlockOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CidrBlock.newBuilder() to construct. private CidrBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CidrBlock() { displayName_ = ""; cidrBlock_ = ""; @@ -118,37 +152,41 @@ private CidrBlock() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CidrBlock(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** + * + * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -157,29 +195,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -190,11 +228,14 @@ public java.lang.String getDisplayName() { public static final int CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object cidrBlock_; /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The cidrBlock. */ @java.lang.Override @@ -203,29 +244,29 @@ public java.lang.String getCidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; } } /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The bytes for cidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getCidrBlockBytes() { + public com.google.protobuf.ByteString getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -234,6 +275,7 @@ public java.lang.String getCidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -276,17 +317,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock)) { return super.equals(obj); } - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other = (com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) obj; + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other = + (com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getCidrBlock() - .equals(other.getCidrBlock())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getCidrBlock().equals(other.getCidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -308,87 +348,95 @@ public int hashCode() { } public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock 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.MasterAuthorizedNetworksConfig.CidrBlock + 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { + + public static Builder newBuilder( + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -398,39 +446,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * CidrBlock contains an optional name and one CIDR block.
      * 
* * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.class, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); } - // Construct using com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,14 +493,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { - return com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance(); + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + getDefaultInstanceForType() { + return com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance(); } @java.lang.Override @@ -463,7 +516,8 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock build() @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock buildPartial() { - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock result = new com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock(this); + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock result = + new com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock(this); result.displayName_ = displayName_; result.cidrBlock_ = cidrBlock_; onBuilt(); @@ -474,46 +528,53 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.MasterAuthorizedNetworksConfig.CidrBlock) { - return mergeFrom((com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock)other); + return mergeFrom( + (com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other) { - if (other == com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock other) { + if (other + == com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -548,22 +609,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - cidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + cidrBlock_ = input.readStringRequireUtf8(); + + 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) { @@ -576,18 +640,20 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -596,20 +662,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -617,54 +684,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -672,18 +746,20 @@ public Builder setDisplayNameBytes( private java.lang.Object cidrBlock_ = ""; /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @return The cidrBlock. */ public java.lang.String getCidrBlock() { java.lang.Object ref = cidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; @@ -692,20 +768,21 @@ public java.lang.String getCidrBlock() { } } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @return The bytes for cidrBlock. */ - public com.google.protobuf.ByteString - getCidrBlockBytes() { + public com.google.protobuf.ByteString getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -713,58 +790,66 @@ public java.lang.String getCidrBlock() { } } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @param value The cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlock( - java.lang.String value) { + public Builder setCidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cidrBlock_ = value; onChanged(); return this; } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @return This builder for chaining. */ public Builder clearCidrBlock() { - + cidrBlock_ = getDefaultInstance().getCidrBlock(); onChanged(); return this; } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @param value The bytes for cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setCidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cidrBlock_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -777,41 +862,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) } // @@protoc_insertion_point(class_scope:google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock) - private static final com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock DEFAULT_INSTANCE; + private static final com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock(); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstance() { + public static com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CidrBlock parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CidrBlock parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,21 +911,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -846,78 +937,99 @@ public boolean getEnabled() { } public static final int CIDR_BLOCKS_FIELD_NUMBER = 2; - private java.util.List cidrBlocks_; + private java.util.List + cidrBlocks_; /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override - public java.util.List getCidrBlocksList() { + public java.util.List + getCidrBlocksList() { return cidrBlocks_; } /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList() { return cidrBlocks_; } /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override public int getCidrBlocksCount() { return cidrBlocks_.size(); } /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { return cidrBlocks_.get(index); } /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( - int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder + getCidrBlocksOrBuilder(int index) { return cidrBlocks_.get(index); } public static final int GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER = 3; private boolean gcpPublicCidrsAccessEnabled_; /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -925,11 +1037,14 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -938,6 +1053,7 @@ public boolean getGcpPublicCidrsAccessEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -949,8 +1065,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -970,16 +1085,14 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } for (int i = 0; i < cidrBlocks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, cidrBlocks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, cidrBlocks_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, gcpPublicCidrsAccessEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, gcpPublicCidrsAccessEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -989,21 +1102,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MasterAuthorizedNetworksConfig)) { return super.equals(obj); } - com.google.container.v1.MasterAuthorizedNetworksConfig other = (com.google.container.v1.MasterAuthorizedNetworksConfig) obj; + com.google.container.v1.MasterAuthorizedNetworksConfig other = + (com.google.container.v1.MasterAuthorizedNetworksConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (!getCidrBlocksList() - .equals(other.getCidrBlocksList())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getCidrBlocksList().equals(other.getCidrBlocksList())) return false; if (hasGcpPublicCidrsAccessEnabled() != other.hasGcpPublicCidrsAccessEnabled()) return false; if (hasGcpPublicCidrsAccessEnabled()) { - if (getGcpPublicCidrsAccessEnabled() - != other.getGcpPublicCidrsAccessEnabled()) return false; + if (getGcpPublicCidrsAccessEnabled() != other.getGcpPublicCidrsAccessEnabled()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1017,16 +1128,15 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); if (getCidrBlocksCount() > 0) { hash = (37 * hash) + CIDR_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + getCidrBlocksList().hashCode(); } if (hasGcpPublicCidrsAccessEnabled()) { hash = (37 * hash) + GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getGcpPublicCidrsAccessEnabled()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getGcpPublicCidrsAccessEnabled()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1034,96 +1144,104 @@ public int hashCode() { } public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( 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.MasterAuthorizedNetworksConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.MasterAuthorizedNetworksConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.MasterAuthorizedNetworksConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1.MasterAuthorizedNetworksConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the master authorized networks feature. Enabled
    * master authorized networks will disallow all external traffic to access
@@ -1133,33 +1251,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.MasterAuthorizedNetworksConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.MasterAuthorizedNetworksConfig)
       com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.MasterAuthorizedNetworksConfig.class, com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
+              com.google.container.v1.MasterAuthorizedNetworksConfig.class,
+              com.google.container.v1.MasterAuthorizedNetworksConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.MasterAuthorizedNetworksConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1178,9 +1295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1199,7 +1316,8 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.MasterAuthorizedNetworksConfig buildPartial() {
-      com.google.container.v1.MasterAuthorizedNetworksConfig result = new com.google.container.v1.MasterAuthorizedNetworksConfig(this);
+      com.google.container.v1.MasterAuthorizedNetworksConfig result =
+          new com.google.container.v1.MasterAuthorizedNetworksConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.enabled_ = enabled_;
@@ -1225,38 +1343,39 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.MasterAuthorizedNetworksConfig) {
-        return mergeFrom((com.google.container.v1.MasterAuthorizedNetworksConfig)other);
+        return mergeFrom((com.google.container.v1.MasterAuthorizedNetworksConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1264,7 +1383,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.MasterAuthorizedNetworksConfig other) {
-      if (other == com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.MasterAuthorizedNetworksConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -1286,9 +1406,10 @@ public Builder mergeFrom(com.google.container.v1.MasterAuthorizedNetworksConfig
             cidrBlocksBuilder_ = null;
             cidrBlocks_ = other.cidrBlocks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cidrBlocksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCidrBlocksFieldBuilder() : null;
+            cidrBlocksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCidrBlocksFieldBuilder()
+                    : null;
           } else {
             cidrBlocksBuilder_.addAllMessages(other.cidrBlocks_);
           }
@@ -1323,35 +1444,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
+            case 8:
+              {
+                enabled_ = input.readBool();
 
-              break;
-            } // case 8
-            case 18: {
-              com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock m =
-                  input.readMessage(
-                      com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.parser(),
-                      extensionRegistry);
-              if (cidrBlocksBuilder_ == null) {
-                ensureCidrBlocksIsMutable();
-                cidrBlocks_.add(m);
-              } else {
-                cidrBlocksBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              gcpPublicCidrsAccessEnabled_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 8
+            case 18:
+              {
+                com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock m =
+                    input.readMessage(
+                        com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.parser(),
+                        extensionRegistry);
+                if (cidrBlocksBuilder_ == null) {
+                  ensureCidrBlocksIsMutable();
+                  cidrBlocks_.add(m);
+                } else {
+                  cidrBlocksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                gcpPublicCidrsAccessEnabled_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1361,15 +1486,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -1377,56 +1506,72 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private java.util.List cidrBlocks_ = - java.util.Collections.emptyList(); + private java.util.List + cidrBlocks_ = java.util.Collections.emptyList(); + private void ensureCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - cidrBlocks_ = new java.util.ArrayList(cidrBlocks_); + cidrBlocks_ = + new java.util.ArrayList< + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock>(cidrBlocks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> cidrBlocksBuilder_; + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + cidrBlocksBuilder_; /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public java.util.List getCidrBlocksList() { + public java.util.List + getCidrBlocksList() { if (cidrBlocksBuilder_ == null) { return java.util.Collections.unmodifiableList(cidrBlocks_); } else { @@ -1434,12 +1579,15 @@ public java.util.List * cidr_blocks define up to 50 external networks that could access * Kubernetes master through HTTPS. *
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public int getCidrBlocksCount() { if (cidrBlocksBuilder_ == null) { @@ -1449,14 +1597,18 @@ public int getCidrBlocksCount() { } } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks( + int index) { if (cidrBlocksBuilder_ == null) { return cidrBlocks_.get(index); } else { @@ -1464,12 +1616,15 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrB } } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder setCidrBlocks( int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1486,15 +1641,19 @@ public Builder setCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder setCidrBlocks( - int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { + int index, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.set(index, builderForValue.build()); @@ -1505,14 +1664,18 @@ public Builder setCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public Builder addCidrBlocks(com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { + public Builder addCidrBlocks( + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { if (cidrBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1526,12 +1689,15 @@ public Builder addCidrBlocks(com.google.container.v1.MasterAuthorizedNetworksCon return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addCidrBlocks( int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1548,12 +1714,15 @@ public Builder addCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addCidrBlocks( com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { @@ -1567,15 +1736,19 @@ public Builder addCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addCidrBlocks( - int index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { + int index, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.add(index, builderForValue.build()); @@ -1586,19 +1759,23 @@ public Builder addCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addAllCidrBlocks( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock> + values) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cidrBlocks_); onChanged(); } else { cidrBlocksBuilder_.addAllMessages(values); @@ -1606,12 +1783,15 @@ public Builder addAllCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder clearCidrBlocks() { if (cidrBlocksBuilder_ == null) { @@ -1624,12 +1804,15 @@ public Builder clearCidrBlocks() { return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder removeCidrBlocks(int index) { if (cidrBlocksBuilder_ == null) { @@ -1642,42 +1825,53 @@ public Builder removeCidrBlocks(int index) { return this; } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder( - int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + getCidrBlocksBuilder(int index) { return getCidrBlocksFieldBuilder().getBuilder(index); } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( - int index) { + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder + getCidrBlocksOrBuilder(int index) { if (cidrBlocksBuilder_ == null) { - return cidrBlocks_.get(index); } else { + return cidrBlocks_.get(index); + } else { return cidrBlocksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public java.util.List - getCidrBlocksOrBuilderList() { + public java.util.List< + ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + getCidrBlocksOrBuilderList() { if (cidrBlocksBuilder_ != null) { return cidrBlocksBuilder_.getMessageOrBuilderList(); } else { @@ -1685,64 +1879,85 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder } } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder() { - return getCidrBlocksFieldBuilder().addBuilder( - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + addCidrBlocksBuilder() { + return getCidrBlocksFieldBuilder() + .addBuilder( + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance()); } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder( - int index) { - return getCidrBlocksFieldBuilder().addBuilder( - index, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); + public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + addCidrBlocksBuilder(int index) { + return getCidrBlocksFieldBuilder() + .addBuilder( + index, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance()); } /** + * + * *
      * cidr_blocks define up to 50 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public java.util.List - getCidrBlocksBuilderList() { + public java.util.List + getCidrBlocksBuilderList() { return getCidrBlocksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksFieldBuilder() { if (cidrBlocksBuilder_ == null) { - cidrBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( - cidrBlocks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + cidrBlocksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, + com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( + cidrBlocks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); cidrBlocks_ = null; } return cidrBlocksBuilder_; } - private boolean gcpPublicCidrsAccessEnabled_ ; + private boolean gcpPublicCidrsAccessEnabled_; /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -1750,11 +1965,14 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -1762,11 +1980,14 @@ public boolean getGcpPublicCidrsAccessEnabled() { return gcpPublicCidrsAccessEnabled_; } /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @param value The gcpPublicCidrsAccessEnabled to set. * @return This builder for chaining. */ @@ -1777,11 +1998,14 @@ public Builder setGcpPublicCidrsAccessEnabled(boolean value) { return this; } /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return This builder for chaining. */ public Builder clearGcpPublicCidrsAccessEnabled() { @@ -1790,9 +2014,9 @@ public Builder clearGcpPublicCidrsAccessEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1802,12 +2026,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.MasterAuthorizedNetworksConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.MasterAuthorizedNetworksConfig) private static final com.google.container.v1.MasterAuthorizedNetworksConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.MasterAuthorizedNetworksConfig(); } @@ -1816,27 +2040,27 @@ public static com.google.container.v1.MasterAuthorizedNetworksConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuthorizedNetworksConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuthorizedNetworksConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1851,6 +2075,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.MasterAuthorizedNetworksConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java index aea4f7c7ba78..3215b76ae0a9 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java @@ -1,86 +1,127 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface MasterAuthorizedNetworksConfigOrBuilder extends +public interface MasterAuthorizedNetworksConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.MasterAuthorizedNetworksConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - java.util.List + java.util.List getCidrBlocksList(); /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index); /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ int getCidrBlocksCount(); /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList(); /** + * + * *
    * cidr_blocks define up to 50 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( int index); /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ boolean hasGcpPublicCidrsAccessEnabled(); /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return The gcpPublicCidrsAccessEnabled. */ boolean getGcpPublicCidrsAccessEnabled(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java index 2dac334a980b..9d6a25f82b1c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Constraints applied to pods.
  * 
* * Protobuf type {@code google.container.v1.MaxPodsConstraint} */ -public final class MaxPodsConstraint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaxPodsConstraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MaxPodsConstraint) MaxPodsConstraintOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaxPodsConstraint.newBuilder() to construct. private MaxPodsConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaxPodsConstraint() { - } + + private MaxPodsConstraint() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaxPodsConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaxPodsConstraint.class, com.google.container.v1.MaxPodsConstraint.Builder.class); + com.google.container.v1.MaxPodsConstraint.class, + com.google.container.v1.MaxPodsConstraint.Builder.class); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 1; private long maxPodsPerNode_; /** + * + * *
    * Constraint enforced on the max num of pods per node.
    * 
* * int64 max_pods_per_node = 1; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -63,6 +84,7 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxPodsPerNode_ != 0L) { output.writeInt64(1, maxPodsPerNode_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (maxPodsPerNode_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxPodsPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MaxPodsConstraint)) { return super.equals(obj); } - com.google.container.v1.MaxPodsConstraint other = (com.google.container.v1.MaxPodsConstraint) obj; + com.google.container.v1.MaxPodsConstraint other = + (com.google.container.v1.MaxPodsConstraint) obj; - if (getMaxPodsPerNode() - != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_PODS_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxPodsPerNode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPodsPerNode()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.MaxPodsConstraint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.MaxPodsConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MaxPodsConstraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.MaxPodsConstraint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MaxPodsConstraint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.MaxPodsConstraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.MaxPodsConstraint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.MaxPodsConstraint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MaxPodsConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.MaxPodsConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Constraints applied to pods.
    * 
* * Protobuf type {@code google.container.v1.MaxPodsConstraint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MaxPodsConstraint) com.google.container.v1.MaxPodsConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MaxPodsConstraint.class, com.google.container.v1.MaxPodsConstraint.Builder.class); + com.google.container.v1.MaxPodsConstraint.class, + com.google.container.v1.MaxPodsConstraint.Builder.class); } // Construct using com.google.container.v1.MaxPodsConstraint.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MaxPodsConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MaxPodsConstraint_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.MaxPodsConstraint build() { @java.lang.Override public com.google.container.v1.MaxPodsConstraint buildPartial() { - com.google.container.v1.MaxPodsConstraint result = new com.google.container.v1.MaxPodsConstraint(this); + com.google.container.v1.MaxPodsConstraint result = + new com.google.container.v1.MaxPodsConstraint(this); result.maxPodsPerNode_ = maxPodsPerNode_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.MaxPodsConstraint buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MaxPodsConstraint) { - return mergeFrom((com.google.container.v1.MaxPodsConstraint)other); + return mergeFrom((com.google.container.v1.MaxPodsConstraint) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - maxPodsPerNode_ = input.readInt64(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + maxPodsPerNode_ = input.readInt64(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private long maxPodsPerNode_ ; + private long maxPodsPerNode_; /** + * + * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -396,37 +428,43 @@ public long getMaxPodsPerNode() { return maxPodsPerNode_; } /** + * + * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; + * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ public Builder setMaxPodsPerNode(long value) { - + maxPodsPerNode_ = value; onChanged(); return this; } /** + * + * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; + * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { - + maxPodsPerNode_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.MaxPodsConstraint) } // @@protoc_insertion_point(class_scope:google.container.v1.MaxPodsConstraint) private static final com.google.container.v1.MaxPodsConstraint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.MaxPodsConstraint(); } @@ -450,27 +488,27 @@ public static com.google.container.v1.MaxPodsConstraint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaxPodsConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaxPodsConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 000000000000..4a616a667705 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface MaxPodsConstraintOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.MaxPodsConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Constraint enforced on the max num of pods per node.
+   * 
+ * + * int64 max_pods_per_node = 1; + * + * @return The maxPodsPerNode. + */ + long getMaxPodsPerNode(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java index 25212914b057..bd4bd5dacedd 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificates.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
  * 
* * Protobuf type {@code google.container.v1.MeshCertificates} */ -public final class MeshCertificates extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MeshCertificates extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MeshCertificates) MeshCertificatesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MeshCertificates.newBuilder() to construct. private MeshCertificates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MeshCertificates() { - } + + private MeshCertificates() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MeshCertificates(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MeshCertificates.class, com.google.container.v1.MeshCertificates.Builder.class); + com.google.container.v1.MeshCertificates.class, + com.google.container.v1.MeshCertificates.Builder.class); } public static final int ENABLE_CERTIFICATES_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableCertificates_; /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -61,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ @java.lang.Override @@ -68,6 +89,8 @@ public boolean hasEnableCertificates() { return enableCertificates_ != null; } /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -79,13 +102,18 @@ public boolean hasEnableCertificates() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ @java.lang.Override public com.google.protobuf.BoolValue getEnableCertificates() { - return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; + return enableCertificates_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableCertificates_; } /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -104,6 +132,7 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -115,8 +144,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (enableCertificates_ != null) {
       output.writeMessage(1, getEnableCertificates());
     }
@@ -130,8 +158,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEnableCertificates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableCertificates());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -141,7 +168,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.MeshCertificates)) {
       return super.equals(obj);
@@ -150,8 +177,7 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasEnableCertificates() != other.hasEnableCertificates()) return false;
     if (hasEnableCertificates()) {
-      if (!getEnableCertificates()
-          .equals(other.getEnableCertificates())) return false;
+      if (!getEnableCertificates().equals(other.getEnableCertificates())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -173,130 +199,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.MeshCertificates parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.MeshCertificates parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MeshCertificates parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.MeshCertificates parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MeshCertificates parseFrom(
       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.MeshCertificates parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MeshCertificates parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.MeshCertificates parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MeshCertificates parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1.MeshCertificates parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1.MeshCertificates parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MeshCertificates parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.MeshCertificates parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MeshCertificates parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.MeshCertificates prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
    * 
* * Protobuf type {@code google.container.v1.MeshCertificates} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MeshCertificates) com.google.container.v1.MeshCertificatesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MeshCertificates.class, com.google.container.v1.MeshCertificates.Builder.class); + com.google.container.v1.MeshCertificates.class, + com.google.container.v1.MeshCertificates.Builder.class); } // Construct using com.google.container.v1.MeshCertificates.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +342,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MeshCertificates_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MeshCertificates_descriptor; } @java.lang.Override @@ -331,7 +363,8 @@ public com.google.container.v1.MeshCertificates build() { @java.lang.Override public com.google.container.v1.MeshCertificates buildPartial() { - com.google.container.v1.MeshCertificates result = new com.google.container.v1.MeshCertificates(this); + com.google.container.v1.MeshCertificates result = + new com.google.container.v1.MeshCertificates(this); if (enableCertificatesBuilder_ == null) { result.enableCertificates_ = enableCertificates_; } else { @@ -345,38 +378,39 @@ public com.google.container.v1.MeshCertificates buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MeshCertificates) { - return mergeFrom((com.google.container.v1.MeshCertificates)other); + return mergeFrom((com.google.container.v1.MeshCertificates) other); } else { super.mergeFrom(other); return this; @@ -414,19 +448,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEnableCertificatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getEnableCertificatesFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -439,8 +474,13 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableCertificatesBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enableCertificatesBuilder_; /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -452,12 +492,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ public boolean hasEnableCertificates() { return enableCertificatesBuilder_ != null || enableCertificates_ != null; } /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -469,16 +512,21 @@ public boolean hasEnableCertificates() {
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ public com.google.protobuf.BoolValue getEnableCertificates() { if (enableCertificatesBuilder_ == null) { - return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; + return enableCertificates_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableCertificates_; } else { return enableCertificatesBuilder_.getMessage(); } } /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -505,6 +553,8 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -517,8 +567,7 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
-    public Builder setEnableCertificates(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableCertificatesBuilder_ == null) {
         enableCertificates_ = builderForValue.build();
         onChanged();
@@ -529,6 +578,8 @@ public Builder setEnableCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -545,7 +596,9 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       if (enableCertificatesBuilder_ == null) {
         if (enableCertificates_ != null) {
           enableCertificates_ =
-            com.google.protobuf.BoolValue.newBuilder(enableCertificates_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(enableCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           enableCertificates_ = value;
         }
@@ -557,6 +610,8 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -581,6 +636,8 @@ public Builder clearEnableCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -594,11 +651,13 @@ public Builder clearEnableCertificates() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableCertificatesBuilder() {
-      
+
       onChanged();
       return getEnableCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -615,11 +674,14 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
       if (enableCertificatesBuilder_ != null) {
         return enableCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return enableCertificates_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_;
+        return enableCertificates_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : enableCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -633,21 +695,24 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getEnableCertificatesFieldBuilder() {
       if (enableCertificatesBuilder_ == null) {
-        enableCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getEnableCertificates(),
-                getParentForChildren(),
-                isClean());
+        enableCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getEnableCertificates(), getParentForChildren(), isClean());
         enableCertificates_ = null;
       }
       return enableCertificatesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -657,12 +722,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.MeshCertificates)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.MeshCertificates)
   private static final com.google.container.v1.MeshCertificates DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.MeshCertificates();
   }
@@ -671,27 +736,27 @@ public static com.google.container.v1.MeshCertificates getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MeshCertificates parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MeshCertificates parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -706,6 +771,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.MeshCertificates getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
similarity index 75%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
index 68e3a75867da..e89502bb35db 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MeshCertificatesOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface MeshCertificatesOrBuilder extends
+public interface MeshCertificatesOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.MeshCertificates)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -19,10 +37,13 @@ public interface MeshCertificatesOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ boolean hasEnableCertificates(); /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -34,10 +55,13 @@ public interface MeshCertificatesOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ com.google.protobuf.BoolValue getEnableCertificates(); /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
similarity index 66%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
index 4546e3888efa..2222b5da005c 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfig.java
@@ -1,63 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * MonitoringComponentConfig is cluster monitoring component configuration.
  * 
* * Protobuf type {@code google.container.v1.MonitoringComponentConfig} */ -public final class MonitoringComponentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MonitoringComponentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MonitoringComponentConfig) MonitoringComponentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MonitoringComponentConfig.newBuilder() to construct. private MonitoringComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MonitoringComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MonitoringComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringComponentConfig.class, com.google.container.v1.MonitoringComponentConfig.Builder.class); + com.google.container.v1.MonitoringComponentConfig.class, + com.google.container.v1.MonitoringComponentConfig.Builder.class); } /** + * + * *
    * GKE components exposing metrics
    * 
* * Protobuf enum {@code google.container.v1.MonitoringComponentConfig.Component} */ - public enum Component - implements com.google.protobuf.ProtocolMessageEnum { + public enum Component implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -66,6 +88,8 @@ public enum Component */ COMPONENT_UNSPECIFIED(0), /** + * + * *
      * system components
      * 
@@ -74,6 +98,8 @@ public enum Component */ SYSTEM_COMPONENTS(1), /** + * + * *
      * kube-apiserver
      * 
@@ -82,6 +108,8 @@ public enum Component */ APISERVER(3), /** + * + * *
      * kube-scheduler
      * 
@@ -90,6 +118,8 @@ public enum Component */ SCHEDULER(4), /** + * + * *
      * kube-controller-manager
      * 
@@ -101,6 +131,8 @@ public enum Component ; /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -109,6 +141,8 @@ public enum Component */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * system components
      * 
@@ -117,6 +151,8 @@ public enum Component */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** + * + * *
      * kube-apiserver
      * 
@@ -125,6 +161,8 @@ public enum Component */ public static final int APISERVER_VALUE = 3; /** + * + * *
      * kube-scheduler
      * 
@@ -133,6 +171,8 @@ public enum Component */ public static final int SCHEDULER_VALUE = 4; /** + * + * *
      * kube-controller-manager
      * 
@@ -141,7 +181,6 @@ public enum Component */ public static final int CONTROLLER_MANAGER_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -166,51 +205,55 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: return COMPONENT_UNSPECIFIED; - case 1: return SYSTEM_COMPONENTS; - case 3: return APISERVER; - case 4: return SCHEDULER; - case 5: return CONTROLLER_MANAGER; - default: return null; + case 0: + return COMPONENT_UNSPECIFIED; + case 1: + return SYSTEM_COMPONENTS; + case 3: + return APISERVER; + case 4: + return SCHEDULER; + case 5: + return CONTROLLER_MANAGER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Component> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1.MonitoringComponentConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1.MonitoringComponentConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final Component[] VALUES = values(); - public static Component valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -230,36 +273,51 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component> enableComponents_converter_ = + java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component> + enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>() { - public com.google.container.v1.MonitoringComponentConfig.Component convert(java.lang.Integer from) { + public com.google.container.v1.MonitoringComponentConfig.Component convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1.MonitoringComponentConfig.Component result = com.google.container.v1.MonitoringComponentConfig.Component.valueOf(from); - return result == null ? com.google.container.v1.MonitoringComponentConfig.Component.UNRECOGNIZED : result; + com.google.container.v1.MonitoringComponentConfig.Component result = + com.google.container.v1.MonitoringComponentConfig.Component.valueOf(from); + return result == null + ? com.google.container.v1.MonitoringComponentConfig.Component.UNRECOGNIZED + : result; } }; /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ @java.lang.Override @@ -267,40 +325,52 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents(int index) { + public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return enableComponents_; } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -308,9 +378,11 @@ public com.google.container.v1.MonitoringComponentConfig.Component getEnableComp public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } + private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,8 +394,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -344,14 +415,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -361,12 +433,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.MonitoringComponentConfig)) { return super.equals(obj); } - com.google.container.v1.MonitoringComponentConfig other = (com.google.container.v1.MonitoringComponentConfig) obj; + com.google.container.v1.MonitoringComponentConfig other = + (com.google.container.v1.MonitoringComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -390,129 +463,135 @@ public int hashCode() { } public static com.google.container.v1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MonitoringComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MonitoringComponentConfig parseFrom( 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.MonitoringComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.MonitoringComponentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.MonitoringComponentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.MonitoringComponentConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MonitoringComponentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.MonitoringComponentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.MonitoringComponentConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.MonitoringComponentConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.MonitoringComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.MonitoringComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.MonitoringComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * MonitoringComponentConfig is cluster monitoring component configuration.
    * 
* * Protobuf type {@code google.container.v1.MonitoringComponentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MonitoringComponentConfig) com.google.container.v1.MonitoringComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringComponentConfig.class, com.google.container.v1.MonitoringComponentConfig.Builder.class); + com.google.container.v1.MonitoringComponentConfig.class, + com.google.container.v1.MonitoringComponentConfig.Builder.class); } // Construct using com.google.container.v1.MonitoringComponentConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,9 +601,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringComponentConfig_descriptor; } @java.lang.Override @@ -543,7 +622,8 @@ public com.google.container.v1.MonitoringComponentConfig build() { @java.lang.Override public com.google.container.v1.MonitoringComponentConfig buildPartial() { - com.google.container.v1.MonitoringComponentConfig result = new com.google.container.v1.MonitoringComponentConfig(this); + com.google.container.v1.MonitoringComponentConfig result = + new com.google.container.v1.MonitoringComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -558,38 +638,39 @@ public com.google.container.v1.MonitoringComponentConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MonitoringComponentConfig) { - return mergeFrom((com.google.container.v1.MonitoringComponentConfig)other); + return mergeFrom((com.google.container.v1.MonitoringComponentConfig) other); } else { super.mergeFrom(other); return this; @@ -597,7 +678,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.MonitoringComponentConfig other) { - if (other == com.google.container.v1.MonitoringComponentConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.MonitoringComponentConfig.getDefaultInstance()) + return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -634,29 +716,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -666,10 +751,11 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List enableComponents_ = - java.util.Collections.emptyList(); + private java.util.List enableComponents_ = java.util.Collections.emptyList(); + private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -677,50 +763,73 @@ private void ensureEnableComponentsIsMutable() { } } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1.MonitoringComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents(int index) { + public com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -736,16 +845,22 @@ public Builder setEnableComponents( return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents(com.google.container.v1.MonitoringComponentConfig.Component value) { + public Builder addEnableComponents( + com.google.container.v1.MonitoringComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -755,17 +870,23 @@ public Builder addEnableComponents(com.google.container.v1.MonitoringComponentCo return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1.MonitoringComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -774,12 +895,17 @@ public Builder addAllEnableComponents( return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -789,25 +915,34 @@ public Builder clearEnableComponents() { return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -815,30 +950,39 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue( - int index, int value) { + public Builder setEnableComponentsValue(int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -849,17 +993,21 @@ public Builder addEnableComponentsValue(int value) { return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue( - java.lang.Iterable values) { + public Builder addAllEnableComponentsValue(java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -867,9 +1015,9 @@ public Builder addAllEnableComponentsValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -879,12 +1027,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.MonitoringComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.MonitoringComponentConfig) private static final com.google.container.v1.MonitoringComponentConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.MonitoringComponentConfig(); } @@ -893,27 +1041,27 @@ public static com.google.container.v1.MonitoringComponentConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoringComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,6 +1076,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.MonitoringComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java index 0237d74edd21..b2cd819bca9b 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringComponentConfigOrBuilder.java @@ -1,61 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface MonitoringComponentConfigOrBuilder extends +public interface MonitoringComponentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.MonitoringComponentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - java.util.List getEnableComponentsList(); + java.util.List + getEnableComponentsList(); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ int getEnableComponentsCount(); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1.MonitoringComponentConfig.Component getEnableComponents(int index); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List - getEnableComponentsValueList(); + java.util.List getEnableComponentsValueList(); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java index 00be870ea12b..87689d2ef324 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * MonitoringConfig is cluster monitoring configuration.
  * 
* * Protobuf type {@code google.container.v1.MonitoringConfig} */ -public final class MonitoringConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MonitoringConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.MonitoringConfig) MonitoringConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MonitoringConfig.newBuilder() to construct. private MonitoringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MonitoringConfig() { - } + + private MonitoringConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MonitoringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringConfig.class, com.google.container.v1.MonitoringConfig.Builder.class); + com.google.container.v1.MonitoringConfig.class, + com.google.container.v1.MonitoringConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.MonitoringComponentConfig componentConfig_; /** + * + * *
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** + * + * *
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; + * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1.MonitoringComponentConfig getComponentConfig() { - return componentConfig_ == null ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() + : componentConfig_; } /** + * + * *
    * Monitoring components configuration
    * 
@@ -88,12 +116,15 @@ public com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentCo public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER = 2; private com.google.container.v1.ManagedPrometheusConfig managedPrometheusConfig_; /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return Whether the managedPrometheusConfig field is set. */ @java.lang.Override @@ -101,19 +132,26 @@ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfig_ != null; } /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return The managedPrometheusConfig. */ @java.lang.Override public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { - return managedPrometheusConfig_ == null ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + return managedPrometheusConfig_ == null + ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
@@ -122,11 +160,13 @@ public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfi
    * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
    */
   @java.lang.Override
-  public com.google.container.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
+  public com.google.container.v1.ManagedPrometheusConfigOrBuilder
+      getManagedPrometheusConfigOrBuilder() {
     return getManagedPrometheusConfig();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,8 +178,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (componentConfig_ != null) {
       output.writeMessage(1, getComponentConfig());
     }
@@ -156,12 +195,11 @@ public int getSerializedSize() {
 
     size = 0;
     if (componentConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getComponentConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig());
     }
     if (managedPrometheusConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getManagedPrometheusConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagedPrometheusConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,7 +209,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.MonitoringConfig)) {
       return super.equals(obj);
@@ -180,13 +218,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasComponentConfig() != other.hasComponentConfig()) return false;
     if (hasComponentConfig()) {
-      if (!getComponentConfig()
-          .equals(other.getComponentConfig())) return false;
+      if (!getComponentConfig().equals(other.getComponentConfig())) return false;
     }
     if (hasManagedPrometheusConfig() != other.hasManagedPrometheusConfig()) return false;
     if (hasManagedPrometheusConfig()) {
-      if (!getManagedPrometheusConfig()
-          .equals(other.getManagedPrometheusConfig())) return false;
+      if (!getManagedPrometheusConfig().equals(other.getManagedPrometheusConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,130 +248,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.MonitoringConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.MonitoringConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1.MonitoringConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1.MonitoringConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MonitoringConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.MonitoringConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.MonitoringConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * MonitoringConfig is cluster monitoring configuration.
    * 
* * Protobuf type {@code google.container.v1.MonitoringConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.MonitoringConfig) com.google.container.v1.MonitoringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.MonitoringConfig.class, com.google.container.v1.MonitoringConfig.Builder.class); + com.google.container.v1.MonitoringConfig.class, + com.google.container.v1.MonitoringConfig.Builder.class); } // Construct using com.google.container.v1.MonitoringConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +397,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_MonitoringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_MonitoringConfig_descriptor; } @java.lang.Override @@ -376,7 +418,8 @@ public com.google.container.v1.MonitoringConfig build() { @java.lang.Override public com.google.container.v1.MonitoringConfig buildPartial() { - com.google.container.v1.MonitoringConfig result = new com.google.container.v1.MonitoringConfig(this); + com.google.container.v1.MonitoringConfig result = + new com.google.container.v1.MonitoringConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -395,38 +438,39 @@ public com.google.container.v1.MonitoringConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.MonitoringConfig) { - return mergeFrom((com.google.container.v1.MonitoringConfig)other); + return mergeFrom((com.google.container.v1.MonitoringConfig) other); } else { super.mergeFrom(other); return this; @@ -467,26 +511,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getComponentConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getManagedPrometheusConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getManagedPrometheusConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -499,34 +543,47 @@ public Builder mergeFrom( private com.google.container.v1.MonitoringComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringComponentConfig, com.google.container.v1.MonitoringComponentConfig.Builder, com.google.container.v1.MonitoringComponentConfigOrBuilder> componentConfigBuilder_; + com.google.container.v1.MonitoringComponentConfig, + com.google.container.v1.MonitoringComponentConfig.Builder, + com.google.container.v1.MonitoringComponentConfigOrBuilder> + componentConfigBuilder_; /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; + * * @return The componentConfig. */ public com.google.container.v1.MonitoringComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() + : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** + * + * *
      * Monitoring components configuration
      * 
@@ -547,6 +604,8 @@ public Builder setComponentConfig(com.google.container.v1.MonitoringComponentCon return this; } /** + * + * *
      * Monitoring components configuration
      * 
@@ -565,6 +624,8 @@ public Builder setComponentConfig( return this; } /** + * + * *
      * Monitoring components configuration
      * 
@@ -575,7 +636,9 @@ public Builder mergeComponentConfig(com.google.container.v1.MonitoringComponentC if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1.MonitoringComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.MonitoringComponentConfig.newBuilder(componentConfig_) + .mergeFrom(value) + .buildPartial(); } else { componentConfig_ = value; } @@ -587,6 +650,8 @@ public Builder mergeComponentConfig(com.google.container.v1.MonitoringComponentC return this; } /** + * + * *
      * Monitoring components configuration
      * 
@@ -605,6 +670,8 @@ public Builder clearComponentConfig() { return this; } /** + * + * *
      * Monitoring components configuration
      * 
@@ -612,26 +679,32 @@ public Builder clearComponentConfig() { * .google.container.v1.MonitoringComponentConfig component_config = 1; */ public com.google.container.v1.MonitoringComponentConfig.Builder getComponentConfigBuilder() { - + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; */ - public com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder() { + public com.google.container.v1.MonitoringComponentConfigOrBuilder + getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null ? - com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1.MonitoringComponentConfig.getDefaultInstance() + : componentConfig_; } } /** + * + * *
      * Monitoring components configuration
      * 
@@ -639,14 +712,17 @@ public com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentCo * .google.container.v1.MonitoringComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringComponentConfig, com.google.container.v1.MonitoringComponentConfig.Builder, com.google.container.v1.MonitoringComponentConfigOrBuilder> + com.google.container.v1.MonitoringComponentConfig, + com.google.container.v1.MonitoringComponentConfig.Builder, + com.google.container.v1.MonitoringComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MonitoringComponentConfig, com.google.container.v1.MonitoringComponentConfig.Builder, com.google.container.v1.MonitoringComponentConfigOrBuilder>( - getComponentConfig(), - getParentForChildren(), - isClean()); + componentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MonitoringComponentConfig, + com.google.container.v1.MonitoringComponentConfig.Builder, + com.google.container.v1.MonitoringComponentConfigOrBuilder>( + getComponentConfig(), getParentForChildren(), isClean()); componentConfig_ = null; } return componentConfigBuilder_; @@ -654,36 +730,49 @@ public com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentCo private com.google.container.v1.ManagedPrometheusConfig managedPrometheusConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ManagedPrometheusConfig, com.google.container.v1.ManagedPrometheusConfig.Builder, com.google.container.v1.ManagedPrometheusConfigOrBuilder> managedPrometheusConfigBuilder_; + com.google.container.v1.ManagedPrometheusConfig, + com.google.container.v1.ManagedPrometheusConfig.Builder, + com.google.container.v1.ManagedPrometheusConfigOrBuilder> + managedPrometheusConfigBuilder_; /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return Whether the managedPrometheusConfig field is set. */ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfigBuilder_ != null || managedPrometheusConfig_ != null; } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return The managedPrometheusConfig. */ public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig() { if (managedPrometheusConfigBuilder_ == null) { - return managedPrometheusConfig_ == null ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + return managedPrometheusConfig_ == null + ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } else { return managedPrometheusConfigBuilder_.getMessage(); } } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -691,7 +780,8 @@ public com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfi
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder setManagedPrometheusConfig(com.google.container.v1.ManagedPrometheusConfig value) {
+    public Builder setManagedPrometheusConfig(
+        com.google.container.v1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -705,6 +795,8 @@ public Builder setManagedPrometheusConfig(com.google.container.v1.ManagedPrometh
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -724,6 +816,8 @@ public Builder setManagedPrometheusConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -731,11 +825,14 @@ public Builder setManagedPrometheusConfig(
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder mergeManagedPrometheusConfig(com.google.container.v1.ManagedPrometheusConfig value) {
+    public Builder mergeManagedPrometheusConfig(
+        com.google.container.v1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (managedPrometheusConfig_ != null) {
           managedPrometheusConfig_ =
-            com.google.container.v1.ManagedPrometheusConfig.newBuilder(managedPrometheusConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ManagedPrometheusConfig.newBuilder(managedPrometheusConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           managedPrometheusConfig_ = value;
         }
@@ -747,6 +844,8 @@ public Builder mergeManagedPrometheusConfig(com.google.container.v1.ManagedProme
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -766,6 +865,8 @@ public Builder clearManagedPrometheusConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -773,12 +874,15 @@ public Builder clearManagedPrometheusConfig() {
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1.ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder() {
-      
+    public com.google.container.v1.ManagedPrometheusConfig.Builder
+        getManagedPrometheusConfigBuilder() {
+
       onChanged();
       return getManagedPrometheusConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -786,15 +890,19 @@ public com.google.container.v1.ManagedPrometheusConfig.Builder getManagedPrometh
      *
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
+    public com.google.container.v1.ManagedPrometheusConfigOrBuilder
+        getManagedPrometheusConfigOrBuilder() {
       if (managedPrometheusConfigBuilder_ != null) {
         return managedPrometheusConfigBuilder_.getMessageOrBuilder();
       } else {
-        return managedPrometheusConfig_ == null ?
-            com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_;
+        return managedPrometheusConfig_ == null
+            ? com.google.container.v1.ManagedPrometheusConfig.getDefaultInstance()
+            : managedPrometheusConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -803,21 +911,24 @@ public com.google.container.v1.ManagedPrometheusConfigOrBuilder getManagedPromet
      * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ManagedPrometheusConfig, com.google.container.v1.ManagedPrometheusConfig.Builder, com.google.container.v1.ManagedPrometheusConfigOrBuilder> 
+            com.google.container.v1.ManagedPrometheusConfig,
+            com.google.container.v1.ManagedPrometheusConfig.Builder,
+            com.google.container.v1.ManagedPrometheusConfigOrBuilder>
         getManagedPrometheusConfigFieldBuilder() {
       if (managedPrometheusConfigBuilder_ == null) {
-        managedPrometheusConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ManagedPrometheusConfig, com.google.container.v1.ManagedPrometheusConfig.Builder, com.google.container.v1.ManagedPrometheusConfigOrBuilder>(
-                getManagedPrometheusConfig(),
-                getParentForChildren(),
-                isClean());
+        managedPrometheusConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ManagedPrometheusConfig,
+                com.google.container.v1.ManagedPrometheusConfig.Builder,
+                com.google.container.v1.ManagedPrometheusConfigOrBuilder>(
+                getManagedPrometheusConfig(), getParentForChildren(), isClean());
         managedPrometheusConfig_ = null;
       }
       return managedPrometheusConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -827,12 +938,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.MonitoringConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.MonitoringConfig)
   private static final com.google.container.v1.MonitoringConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.MonitoringConfig();
   }
@@ -841,27 +952,27 @@ public static com.google.container.v1.MonitoringConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MonitoringConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MonitoringConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -876,6 +987,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.MonitoringConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
index 75ec3888f408..a7987b4fac57 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MonitoringConfigOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface MonitoringConfigOrBuilder extends
+public interface MonitoringConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.MonitoringConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** + * + * *
    * Monitoring components configuration
    * 
* * .google.container.v1.MonitoringComponentConfig component_config = 1; + * * @return The componentConfig. */ com.google.container.v1.MonitoringComponentConfig getComponentConfig(); /** + * + * *
    * Monitoring components configuration
    * 
@@ -35,26 +59,34 @@ public interface MonitoringConfigOrBuilder extends com.google.container.v1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return Whether the managedPrometheusConfig field is set. */ boolean hasManagedPrometheusConfig(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return The managedPrometheusConfig. */ com.google.container.v1.ManagedPrometheusConfig getManagedPrometheusConfig(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
similarity index 75%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
index b790ba55013c..e4d3b2a5647d 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * NetworkConfig reports the relative names of network & subnetwork.
  * 
* * Protobuf type {@code google.container.v1.NetworkConfig} */ -public final class NetworkConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NetworkConfig) NetworkConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkConfig() { network_ = ""; subnetwork_ = ""; @@ -28,32 +46,35 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NetworkConfig.class, com.google.container.v1.NetworkConfig.Builder.class); + com.google.container.v1.NetworkConfig.class, + com.google.container.v1.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; private volatile java.lang.Object network_; /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string network = 1; + * * @return The network. */ @java.lang.Override @@ -70,14 +92,15 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -86,16 +109,15 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -106,6 +128,8 @@ public java.lang.String getNetwork() { public static final int SUBNETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object subnetwork_; /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -114,6 +138,7 @@ public java.lang.String getNetwork() {
    * 
* * string subnetwork = 2; + * * @return The subnetwork. */ @java.lang.Override @@ -122,14 +147,15 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -138,16 +164,15 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -158,12 +183,15 @@ public java.lang.String getSubnetwork() { public static final int ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER = 5; private boolean enableIntraNodeVisibility_; /** + * + * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; + * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -174,6 +202,8 @@ public boolean getEnableIntraNodeVisibility() { public static final int DEFAULT_SNAT_STATUS_FIELD_NUMBER = 7; private com.google.container.v1.DefaultSnatStatus defaultSnatStatus_; /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -182,6 +212,7 @@ public boolean getEnableIntraNodeVisibility() {
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; + * * @return Whether the defaultSnatStatus field is set. */ @java.lang.Override @@ -189,6 +220,8 @@ public boolean hasDefaultSnatStatus() { return defaultSnatStatus_ != null; } /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -197,13 +230,18 @@ public boolean hasDefaultSnatStatus() {
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; + * * @return The defaultSnatStatus. */ @java.lang.Override public com.google.container.v1.DefaultSnatStatus getDefaultSnatStatus() { - return defaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; + return defaultSnatStatus_ == null + ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() + : defaultSnatStatus_; } /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -221,11 +259,14 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOr
   public static final int ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER = 10;
   private boolean enableL4IlbSubsetting_;
   /**
+   *
+   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; + * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -236,35 +277,46 @@ public boolean getEnableL4IlbSubsetting() { public static final int DATAPATH_PROVIDER_FIELD_NUMBER = 11; private int datapathProvider_; /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override public int getDatapathProviderValue() { + @java.lang.Override + public int getDatapathProviderValue() { return datapathProvider_; } /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @return The datapathProvider. */ - @java.lang.Override public com.google.container.v1.DatapathProvider getDatapathProvider() { + @java.lang.Override + public com.google.container.v1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1.DatapathProvider result = + com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 12; private int privateIpv6GoogleAccess_; /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -272,12 +324,16 @@ public boolean getEnableL4IlbSubsetting() {
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -285,22 +341,28 @@ public boolean getEnableL4IlbSubsetting() {
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The privateIpv6GoogleAccess. */ - @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { + @java.lang.Override + public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = + com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } public static final int DNS_CONFIG_FIELD_NUMBER = 13; private com.google.container.v1.DNSConfig dnsConfig_; /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; + * * @return Whether the dnsConfig field is set. */ @java.lang.Override @@ -308,11 +370,14 @@ public boolean hasDnsConfig() { return dnsConfig_ != null; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; + * * @return The dnsConfig. */ @java.lang.Override @@ -320,6 +385,8 @@ public com.google.container.v1.DNSConfig getDnsConfig() { return dnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : dnsConfig_; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -334,12 +401,15 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { public static final int SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 15; private com.google.container.v1.ServiceExternalIPsConfig serviceExternalIpsConfig_; /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; + * * @return Whether the serviceExternalIpsConfig field is set. */ @java.lang.Override @@ -347,19 +417,26 @@ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfig_ != null; } /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; + * * @return The serviceExternalIpsConfig. */ @java.lang.Override public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { - return serviceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null + ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() + : serviceExternalIpsConfig_; } /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
@@ -368,19 +445,23 @@ public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsCon
    * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
    */
   @java.lang.Override
-  public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() {
+  public com.google.container.v1.ServiceExternalIPsConfigOrBuilder
+      getServiceExternalIpsConfigOrBuilder() {
     return getServiceExternalIpsConfig();
   }
 
   public static final int GATEWAY_API_CONFIG_FIELD_NUMBER = 16;
   private com.google.container.v1.GatewayAPIConfig gatewayApiConfig_;
   /**
+   *
+   *
    * 
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; + * * @return Whether the gatewayApiConfig field is set. */ @java.lang.Override @@ -388,19 +469,26 @@ public boolean hasGatewayApiConfig() { return gatewayApiConfig_ != null; } /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; + * * @return The gatewayApiConfig. */ @java.lang.Override public com.google.container.v1.GatewayAPIConfig getGatewayApiConfig() { - return gatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; + return gatewayApiConfig_ == null + ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() + : gatewayApiConfig_; } /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
@@ -414,6 +502,7 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getGatewayApiConfigOrBu
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -425,8 +514,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_);
     }
@@ -442,10 +530,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (enableL4IlbSubsetting_ != false) {
       output.writeBool(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
+    if (datapathProvider_
+        != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
       output.writeEnum(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
+    if (privateIpv6GoogleAccess_
+        != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
@@ -473,36 +564,33 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnetwork_);
     }
     if (enableIntraNodeVisibility_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(5, enableIntraNodeVisibility_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableIntraNodeVisibility_);
     }
     if (defaultSnatStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getDefaultSnatStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDefaultSnatStatus());
     }
     if (enableL4IlbSubsetting_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(10, enableL4IlbSubsetting_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_ != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(11, datapathProvider_);
+    if (datapathProvider_
+        != com.google.container.v1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_ != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(12, privateIpv6GoogleAccess_);
+    if (privateIpv6GoogleAccess_
+        != com.google.container.v1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(13, getDnsConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDnsConfig());
     }
     if (serviceExternalIpsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(15, getServiceExternalIpsConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              15, getServiceExternalIpsConfig());
     }
     if (gatewayApiConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(16, getGatewayApiConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGatewayApiConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -512,42 +600,34 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.NetworkConfig)) {
       return super.equals(obj);
     }
     com.google.container.v1.NetworkConfig other = (com.google.container.v1.NetworkConfig) obj;
 
-    if (!getNetwork()
-        .equals(other.getNetwork())) return false;
-    if (!getSubnetwork()
-        .equals(other.getSubnetwork())) return false;
-    if (getEnableIntraNodeVisibility()
-        != other.getEnableIntraNodeVisibility()) return false;
+    if (!getNetwork().equals(other.getNetwork())) return false;
+    if (!getSubnetwork().equals(other.getSubnetwork())) return false;
+    if (getEnableIntraNodeVisibility() != other.getEnableIntraNodeVisibility()) return false;
     if (hasDefaultSnatStatus() != other.hasDefaultSnatStatus()) return false;
     if (hasDefaultSnatStatus()) {
-      if (!getDefaultSnatStatus()
-          .equals(other.getDefaultSnatStatus())) return false;
+      if (!getDefaultSnatStatus().equals(other.getDefaultSnatStatus())) return false;
     }
-    if (getEnableL4IlbSubsetting()
-        != other.getEnableL4IlbSubsetting()) return false;
+    if (getEnableL4IlbSubsetting() != other.getEnableL4IlbSubsetting()) return false;
     if (datapathProvider_ != other.datapathProvider_) return false;
     if (privateIpv6GoogleAccess_ != other.privateIpv6GoogleAccess_) return false;
     if (hasDnsConfig() != other.hasDnsConfig()) return false;
     if (hasDnsConfig()) {
-      if (!getDnsConfig()
-          .equals(other.getDnsConfig())) return false;
+      if (!getDnsConfig().equals(other.getDnsConfig())) return false;
     }
     if (hasServiceExternalIpsConfig() != other.hasServiceExternalIpsConfig()) return false;
     if (hasServiceExternalIpsConfig()) {
-      if (!getServiceExternalIpsConfig()
-          .equals(other.getServiceExternalIpsConfig())) return false;
+      if (!getServiceExternalIpsConfig().equals(other.getServiceExternalIpsConfig())) return false;
     }
     if (hasGatewayApiConfig() != other.hasGatewayApiConfig()) return false;
     if (hasGatewayApiConfig()) {
-      if (!getGatewayApiConfig()
-          .equals(other.getGatewayApiConfig())) return false;
+      if (!getGatewayApiConfig().equals(other.getGatewayApiConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -565,15 +645,13 @@ public int hashCode() {
     hash = (37 * hash) + SUBNETWORK_FIELD_NUMBER;
     hash = (53 * hash) + getSubnetwork().hashCode();
     hash = (37 * hash) + ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getEnableIntraNodeVisibility());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntraNodeVisibility());
     if (hasDefaultSnatStatus()) {
       hash = (37 * hash) + DEFAULT_SNAT_STATUS_FIELD_NUMBER;
       hash = (53 * hash) + getDefaultSnatStatus().hashCode();
     }
     hash = (37 * hash) + ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getEnableL4IlbSubsetting());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableL4IlbSubsetting());
     hash = (37 * hash) + DATAPATH_PROVIDER_FIELD_NUMBER;
     hash = (53 * hash) + datapathProvider_;
     hash = (37 * hash) + PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER;
@@ -595,130 +673,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.NetworkConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.NetworkConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.NetworkConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NetworkConfig parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.container.v1.NetworkConfig parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.NetworkConfig parseFrom(
       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.NetworkConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.NetworkConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.NetworkConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.NetworkConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.NetworkConfig parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.NetworkConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.NetworkConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.NetworkConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.NetworkConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * NetworkConfig reports the relative names of network & subnetwork.
    * 
* * Protobuf type {@code google.container.v1.NetworkConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkConfig) com.google.container.v1.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NetworkConfig.class, com.google.container.v1.NetworkConfig.Builder.class); + com.google.container.v1.NetworkConfig.class, + com.google.container.v1.NetworkConfig.Builder.class); } // Construct using com.google.container.v1.NetworkConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -762,9 +845,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NetworkConfig_descriptor; } @java.lang.Override @@ -783,7 +866,8 @@ public com.google.container.v1.NetworkConfig build() { @java.lang.Override public com.google.container.v1.NetworkConfig buildPartial() { - com.google.container.v1.NetworkConfig result = new com.google.container.v1.NetworkConfig(this); + com.google.container.v1.NetworkConfig result = + new com.google.container.v1.NetworkConfig(this); result.network_ = network_; result.subnetwork_ = subnetwork_; result.enableIntraNodeVisibility_ = enableIntraNodeVisibility_; @@ -818,38 +902,39 @@ public com.google.container.v1.NetworkConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NetworkConfig) { - return mergeFrom((com.google.container.v1.NetworkConfig)other); + return mergeFrom((com.google.container.v1.NetworkConfig) other); } else { super.mergeFrom(other); return this; @@ -916,70 +1001,76 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - network_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 40: { - enableIntraNodeVisibility_ = input.readBool(); - - break; - } // case 40 - case 58: { - input.readMessage( - getDefaultSnatStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 58 - case 80: { - enableL4IlbSubsetting_ = input.readBool(); - - break; - } // case 80 - case 88: { - datapathProvider_ = input.readEnum(); - - break; - } // case 88 - case 96: { - privateIpv6GoogleAccess_ = input.readEnum(); - - break; - } // case 96 - case 106: { - input.readMessage( - getDnsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 106 - case 122: { - input.readMessage( - getServiceExternalIpsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 122 - case 130: { - input.readMessage( - getGatewayApiConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 130 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + network_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 40: + { + enableIntraNodeVisibility_ = input.readBool(); + + break; + } // case 40 + case 58: + { + input.readMessage( + getDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 58 + case 80: + { + enableL4IlbSubsetting_ = input.readBool(); + + break; + } // case 80 + case 88: + { + datapathProvider_ = input.readEnum(); + + break; + } // case 88 + case 96: + { + privateIpv6GoogleAccess_ = input.readEnum(); + + break; + } // case 96 + case 106: + { + input.readMessage(getDnsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 106 + case 122: + { + input.readMessage( + getServiceExternalIpsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 122 + case 130: + { + input.readMessage( + getGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 130 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,6 +1083,8 @@ public Builder mergeFrom( private java.lang.Object network_ = ""; /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1000,13 +1093,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1015,6 +1108,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1023,15 +1118,14 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -1039,6 +1133,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1047,20 +1143,22 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1069,15 +1167,18 @@ public Builder setNetwork(
      * 
* * string network = 1; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1086,16 +1187,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1103,6 +1204,8 @@ public Builder setNetworkBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1111,13 +1214,13 @@ public Builder setNetworkBytes(
      * 
* * string subnetwork = 2; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1126,6 +1229,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1134,15 +1239,14 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1150,6 +1254,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1158,20 +1264,22 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 2; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1180,15 +1288,18 @@ public Builder setSubnetwork(
      * 
* * string subnetwork = 2; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1197,29 +1308,32 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 2; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private boolean enableIntraNodeVisibility_ ; + private boolean enableIntraNodeVisibility_; /** + * + * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; + * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -1227,32 +1341,38 @@ public boolean getEnableIntraNodeVisibility() { return enableIntraNodeVisibility_; } /** + * + * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; + * * @param value The enableIntraNodeVisibility to set. * @return This builder for chaining. */ public Builder setEnableIntraNodeVisibility(boolean value) { - + enableIntraNodeVisibility_ = value; onChanged(); return this; } /** + * + * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; + * * @return This builder for chaining. */ public Builder clearEnableIntraNodeVisibility() { - + enableIntraNodeVisibility_ = false; onChanged(); return this; @@ -1260,8 +1380,13 @@ public Builder clearEnableIntraNodeVisibility() { private com.google.container.v1.DefaultSnatStatus defaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> defaultSnatStatusBuilder_; + com.google.container.v1.DefaultSnatStatus, + com.google.container.v1.DefaultSnatStatus.Builder, + com.google.container.v1.DefaultSnatStatusOrBuilder> + defaultSnatStatusBuilder_; /** + * + * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1270,12 +1395,15 @@ public Builder clearEnableIntraNodeVisibility() {
      * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; + * * @return Whether the defaultSnatStatus field is set. */ public boolean hasDefaultSnatStatus() { return defaultSnatStatusBuilder_ != null || defaultSnatStatus_ != null; } /** + * + * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1284,16 +1412,21 @@ public boolean hasDefaultSnatStatus() {
      * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; + * * @return The defaultSnatStatus. */ public com.google.container.v1.DefaultSnatStatus getDefaultSnatStatus() { if (defaultSnatStatusBuilder_ == null) { - return defaultSnatStatus_ == null ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; + return defaultSnatStatus_ == null + ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance() + : defaultSnatStatus_; } else { return defaultSnatStatusBuilder_.getMessage(); } } /** + * + * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1317,6 +1450,8 @@ public Builder setDefaultSnatStatus(com.google.container.v1.DefaultSnatStatus va
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1338,6 +1473,8 @@ public Builder setDefaultSnatStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1351,7 +1488,9 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1.DefaultSnatStatus
       if (defaultSnatStatusBuilder_ == null) {
         if (defaultSnatStatus_ != null) {
           defaultSnatStatus_ =
-            com.google.container.v1.DefaultSnatStatus.newBuilder(defaultSnatStatus_).mergeFrom(value).buildPartial();
+              com.google.container.v1.DefaultSnatStatus.newBuilder(defaultSnatStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           defaultSnatStatus_ = value;
         }
@@ -1363,6 +1502,8 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1.DefaultSnatStatus
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1384,6 +1525,8 @@ public Builder clearDefaultSnatStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1394,11 +1537,13 @@ public Builder clearDefaultSnatStatus() {
      * .google.container.v1.DefaultSnatStatus default_snat_status = 7;
      */
     public com.google.container.v1.DefaultSnatStatus.Builder getDefaultSnatStatusBuilder() {
-      
+
       onChanged();
       return getDefaultSnatStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1412,11 +1557,14 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOr
       if (defaultSnatStatusBuilder_ != null) {
         return defaultSnatStatusBuilder_.getMessageOrBuilder();
       } else {
-        return defaultSnatStatus_ == null ?
-            com.google.container.v1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_;
+        return defaultSnatStatus_ == null
+            ? com.google.container.v1.DefaultSnatStatus.getDefaultInstance()
+            : defaultSnatStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1427,26 +1575,32 @@ public com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOr
      * .google.container.v1.DefaultSnatStatus default_snat_status = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder> 
+            com.google.container.v1.DefaultSnatStatus,
+            com.google.container.v1.DefaultSnatStatus.Builder,
+            com.google.container.v1.DefaultSnatStatusOrBuilder>
         getDefaultSnatStatusFieldBuilder() {
       if (defaultSnatStatusBuilder_ == null) {
-        defaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.DefaultSnatStatus, com.google.container.v1.DefaultSnatStatus.Builder, com.google.container.v1.DefaultSnatStatusOrBuilder>(
-                getDefaultSnatStatus(),
-                getParentForChildren(),
-                isClean());
+        defaultSnatStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.DefaultSnatStatus,
+                com.google.container.v1.DefaultSnatStatus.Builder,
+                com.google.container.v1.DefaultSnatStatusOrBuilder>(
+                getDefaultSnatStatus(), getParentForChildren(), isClean());
         defaultSnatStatus_ = null;
       }
       return defaultSnatStatusBuilder_;
     }
 
-    private boolean enableL4IlbSubsetting_ ;
+    private boolean enableL4IlbSubsetting_;
     /**
+     *
+     *
      * 
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; + * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -1454,30 +1608,36 @@ public boolean getEnableL4IlbSubsetting() { return enableL4IlbSubsetting_; } /** + * + * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; + * * @param value The enableL4ilbSubsetting to set. * @return This builder for chaining. */ public Builder setEnableL4IlbSubsetting(boolean value) { - + enableL4IlbSubsetting_ = value; onChanged(); return this; } /** + * + * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; + * * @return This builder for chaining. */ public Builder clearEnableL4IlbSubsetting() { - + enableL4IlbSubsetting_ = false; onChanged(); return this; @@ -1485,55 +1645,69 @@ public Builder clearEnableL4IlbSubsetting() { private int datapathProvider_ = 0; /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override public int getDatapathProviderValue() { + @java.lang.Override + public int getDatapathProviderValue() { return datapathProvider_; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @param value The enum numeric value on the wire for datapathProvider to set. * @return This builder for chaining. */ public Builder setDatapathProviderValue(int value) { - + datapathProvider_ = value; onChanged(); return this; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @return The datapathProvider. */ @java.lang.Override public com.google.container.v1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.DatapathProvider result = com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1.DatapathProvider result = + com.google.container.v1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1.DatapathProvider.UNRECOGNIZED : result; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @param value The datapathProvider to set. * @return This builder for chaining. */ @@ -1541,22 +1715,25 @@ public Builder setDatapathProvider(com.google.container.v1.DatapathProvider valu if (value == null) { throw new NullPointerException(); } - + datapathProvider_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @return This builder for chaining. */ public Builder clearDatapathProvider() { - + datapathProvider_ = 0; onChanged(); return this; @@ -1564,6 +1741,8 @@ public Builder clearDatapathProvider() { private int privateIpv6GoogleAccess_ = 0; /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1571,12 +1750,16 @@ public Builder clearDatapathProvider() {
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1584,16 +1767,19 @@ public Builder clearDatapathProvider() {
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @param value The enum numeric value on the wire for privateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setPrivateIpv6GoogleAccessValue(int value) { - + privateIpv6GoogleAccess_ = value; onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1601,15 +1787,19 @@ public Builder setPrivateIpv6GoogleAccessValue(int value) {
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The privateIpv6GoogleAccess. */ @java.lang.Override public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1.PrivateIPv6GoogleAccess result = com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + com.google.container.v1.PrivateIPv6GoogleAccess result = + com.google.container.v1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); return result == null ? com.google.container.v1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1617,19 +1807,23 @@ public com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAcces
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @param value The privateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setPrivateIpv6GoogleAccess(com.google.container.v1.PrivateIPv6GoogleAccess value) { + public Builder setPrivateIpv6GoogleAccess( + com.google.container.v1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + privateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
@@ -1637,10 +1831,11 @@ public Builder setPrivateIpv6GoogleAccess(com.google.container.v1.PrivateIPv6Goo
      * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return This builder for chaining. */ public Builder clearPrivateIpv6GoogleAccess() { - + privateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -1648,34 +1843,47 @@ public Builder clearPrivateIpv6GoogleAccess() { private com.google.container.v1.DNSConfig dnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> dnsConfigBuilder_; + com.google.container.v1.DNSConfig, + com.google.container.v1.DNSConfig.Builder, + com.google.container.v1.DNSConfigOrBuilder> + dnsConfigBuilder_; /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig dns_config = 13; + * * @return Whether the dnsConfig field is set. */ public boolean hasDnsConfig() { return dnsConfigBuilder_ != null || dnsConfig_ != null; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig dns_config = 13; + * * @return The dnsConfig. */ public com.google.container.v1.DNSConfig getDnsConfig() { if (dnsConfigBuilder_ == null) { - return dnsConfig_ == null ? com.google.container.v1.DNSConfig.getDefaultInstance() : dnsConfig_; + return dnsConfig_ == null + ? com.google.container.v1.DNSConfig.getDefaultInstance() + : dnsConfig_; } else { return dnsConfigBuilder_.getMessage(); } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1696,14 +1904,15 @@ public Builder setDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1.DNSConfig dns_config = 13; */ - public Builder setDnsConfig( - com.google.container.v1.DNSConfig.Builder builderForValue) { + public Builder setDnsConfig(com.google.container.v1.DNSConfig.Builder builderForValue) { if (dnsConfigBuilder_ == null) { dnsConfig_ = builderForValue.build(); onChanged(); @@ -1714,6 +1923,8 @@ public Builder setDnsConfig( return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1724,7 +1935,9 @@ public Builder mergeDnsConfig(com.google.container.v1.DNSConfig value) { if (dnsConfigBuilder_ == null) { if (dnsConfig_ != null) { dnsConfig_ = - com.google.container.v1.DNSConfig.newBuilder(dnsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.DNSConfig.newBuilder(dnsConfig_) + .mergeFrom(value) + .buildPartial(); } else { dnsConfig_ = value; } @@ -1736,6 +1949,8 @@ public Builder mergeDnsConfig(com.google.container.v1.DNSConfig value) { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1754,6 +1969,8 @@ public Builder clearDnsConfig() { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1761,11 +1978,13 @@ public Builder clearDnsConfig() { * .google.container.v1.DNSConfig dns_config = 13; */ public com.google.container.v1.DNSConfig.Builder getDnsConfigBuilder() { - + onChanged(); return getDnsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1776,11 +1995,14 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { if (dnsConfigBuilder_ != null) { return dnsConfigBuilder_.getMessageOrBuilder(); } else { - return dnsConfig_ == null ? - com.google.container.v1.DNSConfig.getDefaultInstance() : dnsConfig_; + return dnsConfig_ == null + ? com.google.container.v1.DNSConfig.getDefaultInstance() + : dnsConfig_; } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1788,14 +2010,17 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { * .google.container.v1.DNSConfig dns_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder> + com.google.container.v1.DNSConfig, + com.google.container.v1.DNSConfig.Builder, + com.google.container.v1.DNSConfigOrBuilder> getDnsConfigFieldBuilder() { if (dnsConfigBuilder_ == null) { - dnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.DNSConfig, com.google.container.v1.DNSConfig.Builder, com.google.container.v1.DNSConfigOrBuilder>( - getDnsConfig(), - getParentForChildren(), - isClean()); + dnsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.DNSConfig, + com.google.container.v1.DNSConfig.Builder, + com.google.container.v1.DNSConfigOrBuilder>( + getDnsConfig(), getParentForChildren(), isClean()); dnsConfig_ = null; } return dnsConfigBuilder_; @@ -1803,36 +2028,49 @@ public com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder() { private com.google.container.v1.ServiceExternalIPsConfig serviceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> serviceExternalIpsConfigBuilder_; + com.google.container.v1.ServiceExternalIPsConfig, + com.google.container.v1.ServiceExternalIPsConfig.Builder, + com.google.container.v1.ServiceExternalIPsConfigOrBuilder> + serviceExternalIpsConfigBuilder_; /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; + * * @return Whether the serviceExternalIpsConfig field is set. */ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfigBuilder_ != null || serviceExternalIpsConfig_ != null; } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; + * * @return The serviceExternalIpsConfig. */ public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { if (serviceExternalIpsConfigBuilder_ == null) { - return serviceExternalIpsConfig_ == null ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null + ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() + : serviceExternalIpsConfig_; } else { return serviceExternalIpsConfigBuilder_.getMessage(); } } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -1840,7 +2078,8 @@ public com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsCon
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public Builder setServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) {
+    public Builder setServiceExternalIpsConfig(
+        com.google.container.v1.ServiceExternalIPsConfig value) {
       if (serviceExternalIpsConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1854,6 +2093,8 @@ public Builder setServiceExternalIpsConfig(com.google.container.v1.ServiceExtern
       return this;
     }
     /**
+     *
+     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -1873,6 +2114,8 @@ public Builder setServiceExternalIpsConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -1880,11 +2123,14 @@ public Builder setServiceExternalIpsConfig(
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public Builder mergeServiceExternalIpsConfig(com.google.container.v1.ServiceExternalIPsConfig value) {
+    public Builder mergeServiceExternalIpsConfig(
+        com.google.container.v1.ServiceExternalIPsConfig value) {
       if (serviceExternalIpsConfigBuilder_ == null) {
         if (serviceExternalIpsConfig_ != null) {
           serviceExternalIpsConfig_ =
-            com.google.container.v1.ServiceExternalIPsConfig.newBuilder(serviceExternalIpsConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ServiceExternalIPsConfig.newBuilder(serviceExternalIpsConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           serviceExternalIpsConfig_ = value;
         }
@@ -1896,6 +2142,8 @@ public Builder mergeServiceExternalIpsConfig(com.google.container.v1.ServiceExte
       return this;
     }
     /**
+     *
+     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -1915,6 +2163,8 @@ public Builder clearServiceExternalIpsConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -1922,12 +2172,15 @@ public Builder clearServiceExternalIpsConfig() {
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public com.google.container.v1.ServiceExternalIPsConfig.Builder getServiceExternalIpsConfigBuilder() {
-      
+    public com.google.container.v1.ServiceExternalIPsConfig.Builder
+        getServiceExternalIpsConfigBuilder() {
+
       onChanged();
       return getServiceExternalIpsConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -1935,15 +2188,19 @@ public com.google.container.v1.ServiceExternalIPsConfig.Builder getServiceExtern
      *
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
-    public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() {
+    public com.google.container.v1.ServiceExternalIPsConfigOrBuilder
+        getServiceExternalIpsConfigOrBuilder() {
       if (serviceExternalIpsConfigBuilder_ != null) {
         return serviceExternalIpsConfigBuilder_.getMessageOrBuilder();
       } else {
-        return serviceExternalIpsConfig_ == null ?
-            com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_;
+        return serviceExternalIpsConfig_ == null
+            ? com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance()
+            : serviceExternalIpsConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
@@ -1952,14 +2209,17 @@ public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExter
      * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder> 
+            com.google.container.v1.ServiceExternalIPsConfig,
+            com.google.container.v1.ServiceExternalIPsConfig.Builder,
+            com.google.container.v1.ServiceExternalIPsConfigOrBuilder>
         getServiceExternalIpsConfigFieldBuilder() {
       if (serviceExternalIpsConfigBuilder_ == null) {
-        serviceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ServiceExternalIPsConfig, com.google.container.v1.ServiceExternalIPsConfig.Builder, com.google.container.v1.ServiceExternalIPsConfigOrBuilder>(
-                getServiceExternalIpsConfig(),
-                getParentForChildren(),
-                isClean());
+        serviceExternalIpsConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ServiceExternalIPsConfig,
+                com.google.container.v1.ServiceExternalIPsConfig.Builder,
+                com.google.container.v1.ServiceExternalIPsConfigOrBuilder>(
+                getServiceExternalIpsConfig(), getParentForChildren(), isClean());
         serviceExternalIpsConfig_ = null;
       }
       return serviceExternalIpsConfigBuilder_;
@@ -1967,36 +2227,49 @@ public com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExter
 
     private com.google.container.v1.GatewayAPIConfig gatewayApiConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> gatewayApiConfigBuilder_;
+            com.google.container.v1.GatewayAPIConfig,
+            com.google.container.v1.GatewayAPIConfig.Builder,
+            com.google.container.v1.GatewayAPIConfigOrBuilder>
+        gatewayApiConfigBuilder_;
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; + * * @return Whether the gatewayApiConfig field is set. */ public boolean hasGatewayApiConfig() { return gatewayApiConfigBuilder_ != null || gatewayApiConfig_ != null; } /** + * + * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; + * * @return The gatewayApiConfig. */ public com.google.container.v1.GatewayAPIConfig getGatewayApiConfig() { if (gatewayApiConfigBuilder_ == null) { - return gatewayApiConfig_ == null ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; + return gatewayApiConfig_ == null + ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance() + : gatewayApiConfig_; } else { return gatewayApiConfigBuilder_.getMessage(); } } /** + * + * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2018,6 +2291,8 @@ public Builder setGatewayApiConfig(com.google.container.v1.GatewayAPIConfig valu
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2037,6 +2312,8 @@ public Builder setGatewayApiConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2048,7 +2325,9 @@ public Builder mergeGatewayApiConfig(com.google.container.v1.GatewayAPIConfig va
       if (gatewayApiConfigBuilder_ == null) {
         if (gatewayApiConfig_ != null) {
           gatewayApiConfig_ =
-            com.google.container.v1.GatewayAPIConfig.newBuilder(gatewayApiConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.GatewayAPIConfig.newBuilder(gatewayApiConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           gatewayApiConfig_ = value;
         }
@@ -2060,6 +2339,8 @@ public Builder mergeGatewayApiConfig(com.google.container.v1.GatewayAPIConfig va
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2079,6 +2360,8 @@ public Builder clearGatewayApiConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2087,11 +2370,13 @@ public Builder clearGatewayApiConfig() {
      * .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
      */
     public com.google.container.v1.GatewayAPIConfig.Builder getGatewayApiConfigBuilder() {
-      
+
       onChanged();
       return getGatewayApiConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2103,11 +2388,14 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getGatewayApiConfigOrBu
       if (gatewayApiConfigBuilder_ != null) {
         return gatewayApiConfigBuilder_.getMessageOrBuilder();
       } else {
-        return gatewayApiConfig_ == null ?
-            com.google.container.v1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_;
+        return gatewayApiConfig_ == null
+            ? com.google.container.v1.GatewayAPIConfig.getDefaultInstance()
+            : gatewayApiConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2116,21 +2404,24 @@ public com.google.container.v1.GatewayAPIConfigOrBuilder getGatewayApiConfigOrBu
      * .google.container.v1.GatewayAPIConfig gateway_api_config = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder> 
+            com.google.container.v1.GatewayAPIConfig,
+            com.google.container.v1.GatewayAPIConfig.Builder,
+            com.google.container.v1.GatewayAPIConfigOrBuilder>
         getGatewayApiConfigFieldBuilder() {
       if (gatewayApiConfigBuilder_ == null) {
-        gatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.GatewayAPIConfig, com.google.container.v1.GatewayAPIConfig.Builder, com.google.container.v1.GatewayAPIConfigOrBuilder>(
-                getGatewayApiConfig(),
-                getParentForChildren(),
-                isClean());
+        gatewayApiConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.GatewayAPIConfig,
+                com.google.container.v1.GatewayAPIConfig.Builder,
+                com.google.container.v1.GatewayAPIConfigOrBuilder>(
+                getGatewayApiConfig(), getParentForChildren(), isClean());
         gatewayApiConfig_ = null;
       }
       return gatewayApiConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2140,12 +2431,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.NetworkConfig)
   private static final com.google.container.v1.NetworkConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.NetworkConfig();
   }
@@ -2154,27 +2445,27 @@ public static com.google.container.v1.NetworkConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public NetworkConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public NetworkConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2189,6 +2480,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.NetworkConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
similarity index 88%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
index 794bd06153b8..bcc3d1d78e8d 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface NetworkConfigOrBuilder extends
+public interface NetworkConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -16,10 +34,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -28,12 +49,14 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -42,10 +65,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string subnetwork = 2; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -54,23 +80,28 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; + * * @return The enableIntraNodeVisibility. */ boolean getEnableIntraNodeVisibility(); /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -79,10 +110,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; + * * @return Whether the defaultSnatStatus field is set. */ boolean hasDefaultSnatStatus(); /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -91,10 +125,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1.DefaultSnatStatus default_snat_status = 7; + * * @return The defaultSnatStatus. */ com.google.container.v1.DefaultSnatStatus getDefaultSnatStatus(); /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -107,37 +144,48 @@ public interface NetworkConfigOrBuilder extends
   com.google.container.v1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOrBuilder();
 
   /**
+   *
+   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; + * * @return The enableL4ilbSubsetting. */ boolean getEnableL4IlbSubsetting(); /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @return The enum numeric value on the wire for datapathProvider. */ int getDatapathProviderValue(); /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1.DatapathProvider datapath_provider = 11; + * * @return The datapathProvider. */ com.google.container.v1.DatapathProvider getDatapathProvider(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -145,10 +193,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ int getPrivateIpv6GoogleAccessValue(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -156,29 +207,38 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The privateIpv6GoogleAccess. */ com.google.container.v1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; + * * @return Whether the dnsConfig field is set. */ boolean hasDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1.DNSConfig dns_config = 13; + * * @return The dnsConfig. */ com.google.container.v1.DNSConfig getDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -188,26 +248,34 @@ public interface NetworkConfigOrBuilder extends com.google.container.v1.DNSConfigOrBuilder getDnsConfigOrBuilder(); /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; + * * @return Whether the serviceExternalIpsConfig field is set. */ boolean hasServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* * .google.container.v1.ServiceExternalIPsConfig service_external_ips_config = 15; + * * @return The serviceExternalIpsConfig. */ com.google.container.v1.ServiceExternalIPsConfig getServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
@@ -218,26 +286,34 @@ public interface NetworkConfigOrBuilder extends
   com.google.container.v1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; + * * @return Whether the gatewayApiConfig field is set. */ boolean hasGatewayApiConfig(); /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1.GatewayAPIConfig gateway_api_config = 16; + * * @return The gatewayApiConfig. */ com.google.container.v1.GatewayAPIConfig getGatewayApiConfig(); /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
similarity index 67%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
index 31275362f880..ed0a16c42c65 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * Configuration options for the NetworkPolicy feature.
  * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.container.v1.NetworkPolicy}
  */
-public final class NetworkPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NetworkPolicy)
     NetworkPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkPolicy.newBuilder() to construct.
   private NetworkPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NetworkPolicy() {
     provider_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NetworkPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NetworkPolicy.class, com.google.container.v1.NetworkPolicy.Builder.class);
+            com.google.container.v1.NetworkPolicy.class,
+            com.google.container.v1.NetworkPolicy.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Allowed Network Policy providers.
    * 
* * Protobuf enum {@code google.container.v1.NetworkPolicy.Provider} */ - public enum Provider - implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set
      * 
@@ -67,6 +89,8 @@ public enum Provider */ PROVIDER_UNSPECIFIED(0), /** + * + * *
      * Tigera (Calico Felix).
      * 
@@ -78,6 +102,8 @@ public enum Provider ; /** + * + * *
      * Not set
      * 
@@ -86,6 +112,8 @@ public enum Provider */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Tigera (Calico Felix).
      * 
@@ -94,7 +122,6 @@ public enum Provider */ public static final int CALICO_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,48 +146,47 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: return PROVIDER_UNSPECIFIED; - case 1: return CALICO; - default: return null; + case 0: + return PROVIDER_UNSPECIFIED; + case 1: + return CALICO; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Provider> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.NetworkPolicy.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -180,38 +206,50 @@ private Provider(int value) { public static final int PROVIDER_FIELD_NUMBER = 1; private int provider_; /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override public int getProviderValue() { + @java.lang.Override + public int getProviderValue() { return provider_; } /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @return The provider. */ - @java.lang.Override public com.google.container.v1.NetworkPolicy.Provider getProvider() { + @java.lang.Override + public com.google.container.v1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.NetworkPolicy.Provider result = com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); + com.google.container.v1.NetworkPolicy.Provider result = + com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); return result == null ? com.google.container.v1.NetworkPolicy.Provider.UNRECOGNIZED : result; } public static final int ENABLED_FIELD_NUMBER = 2; private boolean enabled_; /** + * + * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; + * * @return The enabled. */ @java.lang.Override @@ -220,6 +258,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,9 +270,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (provider_ != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (provider_ + != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, provider_); } if (enabled_ != false) { @@ -248,13 +287,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (provider_ != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, provider_); + if (provider_ + != com.google.container.v1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, provider_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -264,7 +302,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NetworkPolicy)) { return super.equals(obj); @@ -272,8 +310,7 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1.NetworkPolicy other = (com.google.container.v1.NetworkPolicy) obj; if (provider_ != other.provider_) return false; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -288,104 +325,109 @@ public int hashCode() { hash = (37 * hash) + PROVIDER_FIELD_NUMBER; hash = (53 * hash) + provider_; hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.NetworkPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NetworkPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicy parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.NetworkPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkPolicy parseFrom( 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.NetworkPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NetworkPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NetworkPolicy parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NetworkPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NetworkPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -393,33 +435,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NetworkPolicy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkPolicy)
       com.google.container.v1.NetworkPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NetworkPolicy.class, com.google.container.v1.NetworkPolicy.Builder.class);
+              com.google.container.v1.NetworkPolicy.class,
+              com.google.container.v1.NetworkPolicy.Builder.class);
     }
 
     // Construct using com.google.container.v1.NetworkPolicy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,9 +472,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -452,7 +493,8 @@ public com.google.container.v1.NetworkPolicy build() {
 
     @java.lang.Override
     public com.google.container.v1.NetworkPolicy buildPartial() {
-      com.google.container.v1.NetworkPolicy result = new com.google.container.v1.NetworkPolicy(this);
+      com.google.container.v1.NetworkPolicy result =
+          new com.google.container.v1.NetworkPolicy(this);
       result.provider_ = provider_;
       result.enabled_ = enabled_;
       onBuilt();
@@ -463,38 +505,39 @@ public com.google.container.v1.NetworkPolicy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NetworkPolicy) {
-        return mergeFrom((com.google.container.v1.NetworkPolicy)other);
+        return mergeFrom((com.google.container.v1.NetworkPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,22 +578,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              provider_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 16: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                provider_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -563,51 +609,65 @@ public Builder mergeFrom(
 
     private int provider_ = 0;
     /**
+     *
+     *
      * 
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override public int getProviderValue() { + @java.lang.Override + public int getProviderValue() { return provider_; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @param value The enum numeric value on the wire for provider to set. * @return This builder for chaining. */ public Builder setProviderValue(int value) { - + provider_ = value; onChanged(); return this; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @return The provider. */ @java.lang.Override public com.google.container.v1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1.NetworkPolicy.Provider result = com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); + com.google.container.v1.NetworkPolicy.Provider result = + com.google.container.v1.NetworkPolicy.Provider.valueOf(provider_); return result == null ? com.google.container.v1.NetworkPolicy.Provider.UNRECOGNIZED : result; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @param value The provider to set. * @return This builder for chaining. */ @@ -615,33 +675,39 @@ public Builder setProvider(com.google.container.v1.NetworkPolicy.Provider value) if (value == null) { throw new NullPointerException(); } - + provider_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @return This builder for chaining. */ public Builder clearProvider() { - + provider_ = 0; onChanged(); return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; + * * @return The enabled. */ @java.lang.Override @@ -649,37 +715,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +761,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.NetworkPolicy) private static final com.google.container.v1.NetworkPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NetworkPolicy(); } @@ -703,27 +775,27 @@ public static com.google.container.v1.NetworkPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +810,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NetworkPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java index 63b8d2187d6b..f55b87da8498 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration for NetworkPolicy. This only tracks whether the addon
  * is enabled or not on the Master, it does not track whether network policy
@@ -12,51 +29,55 @@
  *
  * Protobuf type {@code google.container.v1.NetworkPolicyConfig}
  */
-public final class NetworkPolicyConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkPolicyConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NetworkPolicyConfig)
     NetworkPolicyConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkPolicyConfig.newBuilder() to construct.
   private NetworkPolicyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NetworkPolicyConfig() {
-  }
+
+  private NetworkPolicyConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkPolicyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NetworkPolicyConfig.class, com.google.container.v1.NetworkPolicyConfig.Builder.class);
+            com.google.container.v1.NetworkPolicyConfig.class,
+            com.google.container.v1.NetworkPolicyConfig.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Whether NetworkPolicy is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -65,6 +86,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -91,8 +112,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -102,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NetworkPolicyConfig)) { return super.equals(obj); } - com.google.container.v1.NetworkPolicyConfig other = (com.google.container.v1.NetworkPolicyConfig) obj; + com.google.container.v1.NetworkPolicyConfig other = + (com.google.container.v1.NetworkPolicyConfig) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -123,104 +143,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.NetworkPolicyConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NetworkPolicyConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkPolicyConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkPolicyConfig parseFrom( 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.NetworkPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkPolicyConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NetworkPolicyConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkPolicyConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NetworkPolicyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NetworkPolicyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkPolicyConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NetworkPolicyConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkPolicyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NetworkPolicyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -229,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NetworkPolicyConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkPolicyConfig)
       com.google.container.v1.NetworkPolicyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NetworkPolicyConfig.class, com.google.container.v1.NetworkPolicyConfig.Builder.class);
+              com.google.container.v1.NetworkPolicyConfig.class,
+              com.google.container.v1.NetworkPolicyConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.NetworkPolicyConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -265,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -286,7 +311,8 @@ public com.google.container.v1.NetworkPolicyConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.NetworkPolicyConfig buildPartial() {
-      com.google.container.v1.NetworkPolicyConfig result = new com.google.container.v1.NetworkPolicyConfig(this);
+      com.google.container.v1.NetworkPolicyConfig result =
+          new com.google.container.v1.NetworkPolicyConfig(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -296,38 +322,39 @@ public com.google.container.v1.NetworkPolicyConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NetworkPolicyConfig) {
-        return mergeFrom((com.google.container.v1.NetworkPolicyConfig)other);
+        return mergeFrom((com.google.container.v1.NetworkPolicyConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -365,17 +392,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -386,13 +415,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -400,37 +432,43 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -440,12 +478,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkPolicyConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NetworkPolicyConfig) private static final com.google.container.v1.NetworkPolicyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NetworkPolicyConfig(); } @@ -454,27 +492,27 @@ public static com.google.container.v1.NetworkPolicyConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -489,6 +527,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NetworkPolicyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java new file mode 100644 index 000000000000..416b080be4f3 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface NetworkPolicyConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkPolicyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether NetworkPolicy is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java similarity index 58% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java index cf813ba09e96..b0040af07147 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface NetworkPolicyOrBuilder extends +public interface NetworkPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @return The enum numeric value on the wire for provider. */ int getProviderValue(); /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1.NetworkPolicy.Provider provider = 1; + * * @return The provider. */ com.google.container.v1.NetworkPolicy.Provider getProvider(); /** + * + * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; + * * @return The enabled. */ boolean getEnabled(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java index a5e44f50ea7f..9879837a6cc2 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTags.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Collection of Compute Engine network tags that can be applied to a node's
  * underlying VM instance.
@@ -11,75 +28,85 @@
  *
  * Protobuf type {@code google.container.v1.NetworkTags}
  */
-public final class NetworkTags extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkTags extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NetworkTags)
     NetworkTagsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkTags.newBuilder() to construct.
   private NetworkTags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NetworkTags() {
     tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkTags();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NetworkTags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NetworkTags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NetworkTags.class, com.google.container.v1.NetworkTags.Builder.class);
+            com.google.container.v1.NetworkTags.class,
+            com.google.container.v1.NetworkTags.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList tags_;
   /**
+   *
+   *
    * 
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -87,20 +114,23 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); } @@ -142,15 +171,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NetworkTags)) { return super.equals(obj); } com.google.container.v1.NetworkTags other = (com.google.container.v1.NetworkTags) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -171,97 +199,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NetworkTags parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NetworkTags parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkTags parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkTags parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.NetworkTags parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkTags parseFrom( 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.NetworkTags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NetworkTags parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NetworkTags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkTags parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NetworkTags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkTags parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NetworkTags parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NetworkTags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NetworkTags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of Compute Engine network tags that can be applied to a node's
    * underlying VM instance.
@@ -269,33 +303,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NetworkTags}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NetworkTags)
       com.google.container.v1.NetworkTagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkTags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NetworkTags.class, com.google.container.v1.NetworkTags.Builder.class);
+              com.google.container.v1.NetworkTags.class,
+              com.google.container.v1.NetworkTags.Builder.class);
     }
 
     // Construct using com.google.container.v1.NetworkTags.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -305,9 +338,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NetworkTags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
@@ -341,38 +374,39 @@ public com.google.container.v1.NetworkTags buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NetworkTags) {
-        return mergeFrom((com.google.container.v1.NetworkTags)other);
+        return mergeFrom((com.google.container.v1.NetworkTags) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,18 +451,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTagsIsMutable();
-              tags_.add(s);
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTagsIsMutable();
+                tags_.add(s);
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -438,44 +474,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList tags_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -483,80 +530,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -566,28 +623,30 @@ public Builder clearTags() { return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +656,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NetworkTags) } // @@protoc_insertion_point(class_scope:google.container.v1.NetworkTags) private static final com.google.container.v1.NetworkTags DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NetworkTags(); } @@ -611,27 +670,27 @@ public static com.google.container.v1.NetworkTags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkTags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkTags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -646,6 +705,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NetworkTags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java similarity index 56% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java index 72af3639ab15..c31c0a25f76b 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkTagsOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface NetworkTagsOrBuilder extends +public interface NetworkTagsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkTags) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 77% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java index 221d04509647..6e05b0574402 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Parameters that describe the nodes in a cluster.
  * GKE Autopilot clusters do not
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.container.v1.NodeConfig}
  */
-public final class NodeConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeConfig)
     NodeConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeConfig.newBuilder() to construct.
   private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodeConfig() {
     machineType_ = "";
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -39,25 +57,23 @@ private NodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeConfig_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetMetadata();
@@ -66,22 +82,26 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 37:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeConfig.class, com.google.container.v1.NodeConfig.Builder.class);
+            com.google.container.v1.NodeConfig.class,
+            com.google.container.v1.NodeConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object machineType_;
   /**
+   *
+   *
    * 
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -89,6 +109,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string machine_type = 1; + * * @return The machineType. */ @java.lang.Override @@ -97,14 +118,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -112,16 +134,15 @@ public java.lang.String getMachineType() {
    * 
* * string machine_type = 1; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -132,6 +153,8 @@ public java.lang.String getMachineType() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 2; private int diskSizeGb_; /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -139,6 +162,7 @@ public java.lang.String getMachineType() {
    * 
* * int32 disk_size_gb = 2; + * * @return The diskSizeGb. */ @java.lang.Override @@ -149,6 +173,8 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList oauthScopes_; /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -165,13 +191,15 @@ public int getDiskSizeGb() {
    * 
* * repeated string oauth_scopes = 3; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_; } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -188,12 +216,15 @@ public int getDiskSizeGb() {
    * 
* * repeated string oauth_scopes = 3; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -210,6 +241,7 @@ public int getOauthScopesCount() {
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -217,6 +249,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -233,17 +267,19 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 9; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -251,6 +287,7 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * string service_account = 9; + * * @return The serviceAccount. */ @java.lang.Override @@ -259,14 +296,15 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -274,16 +312,15 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 9; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -292,24 +329,23 @@ public java.lang.String getServiceAccount() { } public static final int METADATA_FIELD_NUMBER = 4; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -318,6 +354,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -351,22 +389,22 @@ public int getMetadataCount() {
    *
    * map<string, string> metadata = 4;
    */
-
   @java.lang.Override
-  public boolean containsMetadata(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetadata(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -401,11 +439,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -440,16 +479,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -484,12 +524,11 @@ public java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getMetadataOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -499,12 +538,15 @@ public java.lang.String getMetadataOrThrow(
   public static final int IMAGE_TYPE_FIELD_NUMBER = 5;
   private volatile java.lang.Object imageType_;
   /**
+   *
+   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The imageType. */ @java.lang.Override @@ -513,30 +555,30 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -545,24 +587,23 @@ public java.lang.String getImageType() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -571,6 +612,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -584,22 +627,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 6;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -614,11 +657,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -633,16 +677,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -657,12 +701,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -672,6 +715,8 @@ public java.lang.String getLabelsOrThrow(
   public static final int LOCAL_SSD_COUNT_FIELD_NUMBER = 7;
   private int localSsdCount_;
   /**
+   *
+   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -681,6 +726,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * int32 local_ssd_count = 7; + * * @return The localSsdCount. */ @java.lang.Override @@ -691,6 +737,8 @@ public int getLocalSsdCount() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -699,13 +747,15 @@ public int getLocalSsdCount() {
    * 
* * repeated string tags = 8; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -714,12 +764,15 @@ public int getLocalSsdCount() {
    * 
* * repeated string tags = 8; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -728,6 +781,7 @@ public int getTagsCount() {
    * 
* * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -735,6 +789,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -743,17 +799,19 @@ public java.lang.String getTags(int index) {
    * 
* * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int PREEMPTIBLE_FIELD_NUMBER = 10; private boolean preemptible_; /** + * + * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -761,6 +819,7 @@ public java.lang.String getTags(int index) {
    * 
* * bool preemptible = 10; + * * @return The preemptible. */ @java.lang.Override @@ -771,6 +830,8 @@ public boolean getPreemptible() { public static final int ACCELERATORS_FIELD_NUMBER = 11; private java.util.List accelerators_; /** + * + * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -784,6 +845,8 @@ public java.util.List getAccelerators
     return accelerators_;
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -793,11 +856,13 @@ public java.util.List getAccelerators
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAcceleratorsOrBuilderList() {
     return accelerators_;
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -811,6 +876,8 @@ public int getAcceleratorsCount() {
     return accelerators_.size();
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -824,6 +891,8 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
     return accelerators_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -833,14 +902,15 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
   @java.lang.Override
-  public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
-      int index) {
+  public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index) {
     return accelerators_.get(index);
   }
 
   public static final int DISK_TYPE_FIELD_NUMBER = 12;
   private volatile java.lang.Object diskType_;
   /**
+   *
+   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -848,6 +918,7 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
    * 
* * string disk_type = 12; + * * @return The diskType. */ @java.lang.Override @@ -856,14 +927,15 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -871,16 +943,15 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 12; + * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -891,6 +962,8 @@ public java.lang.String getDiskType() { public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 13; private volatile java.lang.Object minCpuPlatform_; /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -902,6 +975,7 @@ public java.lang.String getDiskType() {
    * 
* * string min_cpu_platform = 13; + * * @return The minCpuPlatform. */ @java.lang.Override @@ -910,14 +984,15 @@ public java.lang.String getMinCpuPlatform() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -929,16 +1004,15 @@ public java.lang.String getMinCpuPlatform() {
    * 
* * string min_cpu_platform = 13; + * * @return The bytes for minCpuPlatform. */ @java.lang.Override - public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -949,11 +1023,14 @@ public java.lang.String getMinCpuPlatform() { public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -961,18 +1038,25 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } /** + * + * *
    * The workload metadata configuration for this node.
    * 
@@ -980,13 +1064,16 @@ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig( * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int TAINTS_FIELD_NUMBER = 15; private java.util.List taints_; /** + * + * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1000,6 +1087,8 @@ public java.util.List getTaintsList() {
     return taints_;
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1009,11 +1098,13 @@ public java.util.List getTaintsList() {
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTaintsOrBuilderList() {
     return taints_;
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1027,6 +1118,8 @@ public int getTaintsCount() {
     return taints_.size();
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1040,6 +1133,8 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
     return taints_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1049,19 +1144,21 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
-      int index) {
+  public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
     return taints_.get(index);
   }
 
   public static final int SANDBOX_CONFIG_FIELD_NUMBER = 17;
   private com.google.container.v1.SandboxConfig sandboxConfig_;
   /**
+   *
+   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; + * * @return Whether the sandboxConfig field is set. */ @java.lang.Override @@ -1069,18 +1166,25 @@ public boolean hasSandboxConfig() { return sandboxConfig_ != null; } /** + * + * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; + * * @return The sandboxConfig. */ @java.lang.Override public com.google.container.v1.SandboxConfig getSandboxConfig() { - return sandboxConfig_ == null ? com.google.container.v1.SandboxConfig.getDefaultInstance() : sandboxConfig_; + return sandboxConfig_ == null + ? com.google.container.v1.SandboxConfig.getDefaultInstance() + : sandboxConfig_; } /** + * + * *
    * Sandbox configuration for this node.
    * 
@@ -1095,6 +1199,8 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( public static final int NODE_GROUP_FIELD_NUMBER = 18; private volatile java.lang.Object nodeGroup_; /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -1103,6 +1209,7 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(
    * 
* * string node_group = 18; + * * @return The nodeGroup. */ @java.lang.Override @@ -1111,14 +1218,15 @@ public java.lang.String getNodeGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; } } /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -1127,16 +1235,15 @@ public java.lang.String getNodeGroup() {
    * 
* * string node_group = 18; + * * @return The bytes for nodeGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodeGroupBytes() { + public com.google.protobuf.ByteString getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -1147,6 +1254,8 @@ public java.lang.String getNodeGroup() { public static final int RESERVATION_AFFINITY_FIELD_NUMBER = 19; private com.google.container.v1.ReservationAffinity reservationAffinity_; /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1155,6 +1264,7 @@ public java.lang.String getNodeGroup() {
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; + * * @return Whether the reservationAffinity field is set. */ @java.lang.Override @@ -1162,6 +1272,8 @@ public boolean hasReservationAffinity() { return reservationAffinity_ != null; } /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1170,13 +1282,18 @@ public boolean hasReservationAffinity() {
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; + * * @return The reservationAffinity. */ @java.lang.Override public com.google.container.v1.ReservationAffinity getReservationAffinity() { - return reservationAffinity_ == null ? com.google.container.v1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; + return reservationAffinity_ == null + ? com.google.container.v1.ReservationAffinity.getDefaultInstance() + : reservationAffinity_; } /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -1194,11 +1311,14 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
   public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 20;
   private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_;
   /**
+   *
+   *
    * 
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -1206,18 +1326,25 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } /** + * + * *
    * Shielded Instance options.
    * 
@@ -1225,18 +1352,22 @@ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig( * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ @java.lang.Override - public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_; /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; + * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -1244,18 +1375,25 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; + * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -1270,11 +1408,14 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil public static final int KUBELET_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1.NodeKubeletConfig kubeletConfig_; /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; + * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -1282,18 +1423,25 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; + * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } /** + * + * *
    * Node kubelet configs.
    * 
@@ -1308,6 +1456,8 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 23; private volatile java.lang.Object bootDiskKmsKey_; /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1318,6 +1468,7 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil
    * 
* * string boot_disk_kms_key = 23; + * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -1326,14 +1477,15 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1344,16 +1496,15 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 23; + * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -1364,11 +1515,14 @@ public java.lang.String getBootDiskKmsKey() { public static final int GCFS_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1.GcfsConfig gcfsConfig_; /** + * + * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; + * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -1376,18 +1530,25 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** + * + * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; + * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } /** + * + * *
    * Google Container File System (image streaming) configs.
    * 
@@ -1402,11 +1563,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { public static final int ADVANCED_MACHINE_FEATURES_FIELD_NUMBER = 26; private com.google.container.v1.AdvancedMachineFeatures advancedMachineFeatures_; /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return Whether the advancedMachineFeatures field is set. */ @java.lang.Override @@ -1414,18 +1578,25 @@ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeatures_ != null; } /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return The advancedMachineFeatures. */ @java.lang.Override public com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeatures() { - return advancedMachineFeatures_ == null ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; + return advancedMachineFeatures_ == null + ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() + : advancedMachineFeatures_; } /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
@@ -1433,18 +1604,22 @@ public com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeature * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ @java.lang.Override - public com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1.AdvancedMachineFeaturesOrBuilder + getAdvancedMachineFeaturesOrBuilder() { return getAdvancedMachineFeatures(); } public static final int GVNIC_FIELD_NUMBER = 29; private com.google.container.v1.VirtualNIC gvnic_; /** + * + * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -1452,11 +1627,14 @@ public boolean hasGvnic() { return gvnic_ != null; } /** + * + * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ @java.lang.Override @@ -1464,6 +1642,8 @@ public com.google.container.v1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } /** + * + * *
    * Enable or disable gvnic in the node pool.
    * 
@@ -1478,12 +1658,15 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { public static final int SPOT_FIELD_NUMBER = 32; private boolean spot_; /** + * + * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; + * * @return The spot. */ @java.lang.Override @@ -1494,12 +1677,15 @@ public boolean getSpot() { public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 35; private com.google.container.v1.ConfidentialNodes confidentialNodes_; /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -1507,19 +1693,26 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1535,11 +1728,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
   public static final int FAST_SOCKET_FIELD_NUMBER = 36;
   private com.google.container.v1.FastSocket fastSocket_;
   /**
+   *
+   *
    * 
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; + * * @return Whether the fastSocket field is set. */ @java.lang.Override @@ -1547,18 +1743,25 @@ public boolean hasFastSocket() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; + * * @return The fastSocket. */ @java.lang.Override public com.google.container.v1.FastSocket getFastSocket() { - return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1.FastSocket.getDefaultInstance() + : fastSocket_; } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -1567,25 +1770,28 @@ public com.google.container.v1.FastSocket getFastSocket() { */ @java.lang.Override public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { - return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1.FastSocket.getDefaultInstance() + : fastSocket_; } public static final int RESOURCE_LABELS_FIELD_NUMBER = 37; + private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1597,6 +1803,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1604,22 +1812,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 37;
    */
-
   @java.lang.Override
-  public boolean containsResourceLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsResourceLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1628,11 +1836,12 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1641,16 +1850,17 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1659,12 +1869,11 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-
-  public java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1674,11 +1883,14 @@ public java.lang.String getResourceLabelsOrThrow(
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 38;
   private com.google.container.v1.NodePoolLoggingConfig loggingConfig_;
   /**
+   *
+   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1686,18 +1898,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration.
    * 
@@ -1710,6 +1929,7 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1721,8 +1941,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -1732,21 +1951,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, oauthScopes_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageType_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (localSsdCount_ != 0) { output.writeInt32(7, localSsdCount_); } @@ -1813,12 +2024,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(36, getFastSocket()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetResourceLabels(), - ResourceLabelsDefaultEntryHolder.defaultEntry, - 37); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 37); if (loggingConfig_ != null) { output.writeMessage(38, getLoggingConfig()); } @@ -1835,8 +2042,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, machineType_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, diskSizeGb_); } { int dataSize = 0; @@ -1846,32 +2052,31 @@ public int getSerializedSize() { size += dataSize; size += 1 * getOauthScopesList().size(); } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, metadata__); + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageType_); } - 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(6, labels__); + 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(6, labels__); } if (localSsdCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, localSsdCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, localSsdCount_); } { int dataSize = 0; @@ -1885,12 +2090,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceAccount_); } if (preemptible_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, preemptible_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, preemptible_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, diskType_); @@ -1899,76 +2102,67 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, minCpuPlatform_); } if (workloadMetadataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getWorkloadMetadataConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig()); } for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, taints_.get(i)); } if (sandboxConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getSandboxConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getSandboxConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, nodeGroup_); } if (reservationAffinity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getReservationAffinity()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(19, getReservationAffinity()); } if (shieldedInstanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getShieldedInstanceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(20, getShieldedInstanceConfig()); } if (linuxNodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getLinuxNodeConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getLinuxNodeConfig()); } if (kubeletConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getKubeletConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getKubeletConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, bootDiskKmsKey_); } if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getGcfsConfig()); } if (advancedMachineFeatures_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getAdvancedMachineFeatures()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 26, getAdvancedMachineFeatures()); } if (gvnic_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getGvnic()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic()); } if (spot_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(32, spot_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(32, spot_); } if (confidentialNodes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(35, getConfidentialNodes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, getConfidentialNodes()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(36, getFastSocket()); - } - for (java.util.Map.Entry entry - : internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(37, resourceLabels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(36, getFastSocket()); + } + for (java.util.Map.Entry entry : + internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry resourceLabels__ = + ResourceLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, resourceLabels__); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(38, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1978,108 +2172,78 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeConfig)) { return super.equals(obj); } com.google.container.v1.NodeConfig other = (com.google.container.v1.NodeConfig) obj; - if (!getMachineType() - .equals(other.getMachineType())) return false; - if (getDiskSizeGb() - != other.getDiskSizeGb()) return false; - if (!getOauthScopesList() - .equals(other.getOauthScopesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getImageType() - .equals(other.getImageType())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (getLocalSsdCount() - != other.getLocalSsdCount()) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (getPreemptible() - != other.getPreemptible()) return false; - if (!getAcceleratorsList() - .equals(other.getAcceleratorsList())) return false; - if (!getDiskType() - .equals(other.getDiskType())) return false; - if (!getMinCpuPlatform() - .equals(other.getMinCpuPlatform())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; + if (getDiskSizeGb() != other.getDiskSizeGb()) return false; + if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getImageType().equals(other.getImageType())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (getLocalSsdCount() != other.getLocalSsdCount()) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (getPreemptible() != other.getPreemptible()) return false; + if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; + if (!getDiskType().equals(other.getDiskType())) return false; + if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false; if (hasWorkloadMetadataConfig()) { - if (!getWorkloadMetadataConfig() - .equals(other.getWorkloadMetadataConfig())) return false; + if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false; } - if (!getTaintsList() - .equals(other.getTaintsList())) return false; + if (!getTaintsList().equals(other.getTaintsList())) return false; if (hasSandboxConfig() != other.hasSandboxConfig()) return false; if (hasSandboxConfig()) { - if (!getSandboxConfig() - .equals(other.getSandboxConfig())) return false; + if (!getSandboxConfig().equals(other.getSandboxConfig())) return false; } - if (!getNodeGroup() - .equals(other.getNodeGroup())) return false; + if (!getNodeGroup().equals(other.getNodeGroup())) return false; if (hasReservationAffinity() != other.hasReservationAffinity()) return false; if (hasReservationAffinity()) { - if (!getReservationAffinity() - .equals(other.getReservationAffinity())) return false; + if (!getReservationAffinity().equals(other.getReservationAffinity())) return false; } if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig() - .equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; } if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false; if (hasLinuxNodeConfig()) { - if (!getLinuxNodeConfig() - .equals(other.getLinuxNodeConfig())) return false; + if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false; } if (hasKubeletConfig() != other.hasKubeletConfig()) return false; if (hasKubeletConfig()) { - if (!getKubeletConfig() - .equals(other.getKubeletConfig())) return false; + if (!getKubeletConfig().equals(other.getKubeletConfig())) return false; } - if (!getBootDiskKmsKey() - .equals(other.getBootDiskKmsKey())) return false; + if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig() - .equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; } if (hasAdvancedMachineFeatures() != other.hasAdvancedMachineFeatures()) return false; if (hasAdvancedMachineFeatures()) { - if (!getAdvancedMachineFeatures() - .equals(other.getAdvancedMachineFeatures())) return false; + if (!getAdvancedMachineFeatures().equals(other.getAdvancedMachineFeatures())) return false; } if (hasGvnic() != other.hasGvnic()) return false; if (hasGvnic()) { - if (!getGvnic() - .equals(other.getGvnic())) return false; + if (!getGvnic().equals(other.getGvnic())) return false; } - if (getSpot() - != other.getSpot()) return false; + if (getSpot() != other.getSpot()) return false; if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; if (hasConfidentialNodes()) { - if (!getConfidentialNodes() - .equals(other.getConfidentialNodes())) return false; + if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; } if (hasFastSocket() != other.hasFastSocket()) return false; if (hasFastSocket()) { - if (!getFastSocket() - .equals(other.getFastSocket())) return false; + if (!getFastSocket().equals(other.getFastSocket())) return false; } - if (!internalGetResourceLabels().equals( - other.internalGetResourceLabels())) return false; + if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2119,8 +2283,7 @@ public int hashCode() { hash = (53 * hash) + getTagsList().hashCode(); } hash = (37 * hash) + PREEMPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPreemptible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPreemptible()); if (getAcceleratorsCount() > 0) { hash = (37 * hash) + ACCELERATORS_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorsList().hashCode(); @@ -2174,8 +2337,7 @@ public int hashCode() { hash = (53 * hash) + getGvnic().hashCode(); } hash = (37 * hash) + SPOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSpot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpot()); if (hasConfidentialNodes()) { hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; hash = (53 * hash) + getConfidentialNodes().hashCode(); @@ -2197,97 +2359,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.NodeConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.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.container.v1.NodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that describe the nodes in a cluster.
    * GKE Autopilot clusters do not
@@ -2298,18 +2466,17 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodeConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeConfig)
       com.google.container.v1.NodeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMetadata();
@@ -2318,13 +2485,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 37:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableMetadata();
@@ -2333,16 +2499,18 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 37:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeConfig.class, com.google.container.v1.NodeConfig.Builder.class);
+              com.google.container.v1.NodeConfig.class,
+              com.google.container.v1.NodeConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeConfig.newBuilder()
@@ -2350,19 +2518,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getAcceleratorsFieldBuilder();
         getTaintsFieldBuilder();
         getFastSocketFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2485,9 +2653,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -2626,38 +2794,39 @@ public com.google.container.v1.NodeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeConfig) {
-        return mergeFrom((com.google.container.v1.NodeConfig)other);
+        return mergeFrom((com.google.container.v1.NodeConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2687,14 +2856,12 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
         serviceAccount_ = other.serviceAccount_;
         onChanged();
       }
-      internalGetMutableMetadata().mergeFrom(
-          other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.getLocalSsdCount() != 0) {
         setLocalSsdCount(other.getLocalSsdCount());
       }
@@ -2729,9 +2896,10 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
             acceleratorsBuilder_ = null;
             accelerators_ = other.accelerators_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            acceleratorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAcceleratorsFieldBuilder() : null;
+            acceleratorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAcceleratorsFieldBuilder()
+                    : null;
           } else {
             acceleratorsBuilder_.addAllMessages(other.accelerators_);
           }
@@ -2766,9 +2934,10 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            taintsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaintsFieldBuilder() : null;
+            taintsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaintsFieldBuilder()
+                    : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -2815,8 +2984,7 @@ public Builder mergeFrom(com.google.container.v1.NodeConfig other) {
       if (other.hasFastSocket()) {
         mergeFastSocket(other.getFastSocket());
       }
-      internalGetMutableResourceLabels().mergeFrom(
-          other.internalGetResourceLabels());
+      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
       if (other.hasLoggingConfig()) {
         mergeLoggingConfig(other.getLoggingConfig());
       }
@@ -2846,213 +3014,229 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              machineType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              diskSizeGb_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureOauthScopesIsMutable();
-              oauthScopes_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              metadata__ = input.readMessage(
-                  MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableMetadata().getMutableMap().put(
-                  metadata__.getKey(), metadata__.getValue());
-              break;
-            } // case 34
-            case 42: {
-              imageType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            } // case 50
-            case 56: {
-              localSsdCount_ = input.readInt32();
-
-              break;
-            } // case 56
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTagsIsMutable();
-              tags_.add(s);
-              break;
-            } // case 66
-            case 74: {
-              serviceAccount_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 80: {
-              preemptible_ = input.readBool();
-
-              break;
-            } // case 80
-            case 90: {
-              com.google.container.v1.AcceleratorConfig m =
-                  input.readMessage(
-                      com.google.container.v1.AcceleratorConfig.parser(),
-                      extensionRegistry);
-              if (acceleratorsBuilder_ == null) {
-                ensureAcceleratorsIsMutable();
-                accelerators_.add(m);
-              } else {
-                acceleratorsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 90
-            case 98: {
-              diskType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 98
-            case 106: {
-              minCpuPlatform_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getWorkloadMetadataConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 114
-            case 122: {
-              com.google.container.v1.NodeTaint m =
-                  input.readMessage(
-                      com.google.container.v1.NodeTaint.parser(),
-                      extensionRegistry);
-              if (taintsBuilder_ == null) {
-                ensureTaintsIsMutable();
-                taints_.add(m);
-              } else {
-                taintsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 122
-            case 138: {
-              input.readMessage(
-                  getSandboxConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 138
-            case 146: {
-              nodeGroup_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getReservationAffinityFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 154
-            case 162: {
-              input.readMessage(
-                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 162
-            case 170: {
-              input.readMessage(
-                  getLinuxNodeConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 170
-            case 178: {
-              input.readMessage(
-                  getKubeletConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 178
-            case 186: {
-              bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 186
-            case 202: {
-              input.readMessage(
-                  getGcfsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getAdvancedMachineFeaturesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 210
-            case 234: {
-              input.readMessage(
-                  getGvnicFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 234
-            case 256: {
-              spot_ = input.readBool();
-
-              break;
-            } // case 256
-            case 282: {
-              input.readMessage(
-                  getConfidentialNodesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 282
-            case 290: {
-              input.readMessage(
-                  getFastSocketFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 290
-            case 298: {
-              com.google.protobuf.MapEntry
-              resourceLabels__ = input.readMessage(
-                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableResourceLabels().getMutableMap().put(
-                  resourceLabels__.getKey(), resourceLabels__.getValue());
-              break;
-            } // case 298
-            case 306: {
-              input.readMessage(
-                  getLoggingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 306
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                machineType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                diskSizeGb_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureOauthScopesIsMutable();
+                oauthScopes_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry metadata__ =
+                    input.readMessage(
+                        MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableMetadata()
+                    .getMutableMap()
+                    .put(metadata__.getKey(), metadata__.getValue());
+                break;
+              } // case 34
+            case 42:
+              {
+                imageType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                break;
+              } // case 50
+            case 56:
+              {
+                localSsdCount_ = input.readInt32();
+
+                break;
+              } // case 56
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTagsIsMutable();
+                tags_.add(s);
+                break;
+              } // case 66
+            case 74:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 80:
+              {
+                preemptible_ = input.readBool();
+
+                break;
+              } // case 80
+            case 90:
+              {
+                com.google.container.v1.AcceleratorConfig m =
+                    input.readMessage(
+                        com.google.container.v1.AcceleratorConfig.parser(), extensionRegistry);
+                if (acceleratorsBuilder_ == null) {
+                  ensureAcceleratorsIsMutable();
+                  accelerators_.add(m);
+                } else {
+                  acceleratorsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 90
+            case 98:
+              {
+                diskType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 98
+            case 106:
+              {
+                minCpuPlatform_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(
+                    getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 114
+            case 122:
+              {
+                com.google.container.v1.NodeTaint m =
+                    input.readMessage(
+                        com.google.container.v1.NodeTaint.parser(), extensionRegistry);
+                if (taintsBuilder_ == null) {
+                  ensureTaintsIsMutable();
+                  taints_.add(m);
+                } else {
+                  taintsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 122
+            case 138:
+              {
+                input.readMessage(getSandboxConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 138
+            case 146:
+              {
+                nodeGroup_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(
+                    getReservationAffinityFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 154
+            case 162:
+              {
+                input.readMessage(
+                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 162
+            case 170:
+              {
+                input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 170
+            case 178:
+              {
+                input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 178
+            case 186:
+              {
+                bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 186
+            case 202:
+              {
+                input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getAdvancedMachineFeaturesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 210
+            case 234:
+              {
+                input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 234
+            case 256:
+              {
+                spot_ = input.readBool();
+
+                break;
+              } // case 256
+            case 282:
+              {
+                input.readMessage(
+                    getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 282
+            case 290:
+              {
+                input.readMessage(getFastSocketFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 290
+            case 298:
+              {
+                com.google.protobuf.MapEntry resourceLabels__ =
+                    input.readMessage(
+                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableResourceLabels()
+                    .getMutableMap()
+                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
+                break;
+              } // case 298
+            case 306:
+              {
+                input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 306
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3062,10 +3246,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object machineType_ = "";
     /**
+     *
+     *
      * 
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3073,13 +3260,13 @@ public Builder mergeFrom(
      * 
* * string machine_type = 1; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -3088,6 +3275,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3095,15 +3284,14 @@ public java.lang.String getMachineType() {
      * 
* * string machine_type = 1; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -3111,6 +3299,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3118,20 +3308,22 @@ public java.lang.String getMachineType() {
      * 
* * string machine_type = 1; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3139,15 +3331,18 @@ public Builder setMachineType(
      * 
* * string machine_type = 1; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types)
@@ -3155,23 +3350,25 @@ public Builder clearMachineType() {
      * 
* * string machine_type = 1; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private int diskSizeGb_ ; + private int diskSizeGb_; /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3179,6 +3376,7 @@ public Builder setMachineTypeBytes(
      * 
* * int32 disk_size_gb = 2; + * * @return The diskSizeGb. */ @java.lang.Override @@ -3186,6 +3384,8 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3193,16 +3393,19 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 2; + * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3210,23 +3413,28 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 2; + * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList oauthScopes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3243,13 +3451,15 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 3; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3266,12 +3476,15 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 3; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3288,6 +3501,7 @@ public int getOauthScopesCount() {
      * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -3295,6 +3509,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3311,14 +3527,16 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3335,21 +3553,23 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 3; + * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes( - int index, java.lang.String value) { + public Builder setOauthScopes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3366,20 +3586,22 @@ public Builder setOauthScopes(
      * 
* * repeated string oauth_scopes = 3; + * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes( - java.lang.String value) { + public Builder addOauthScopes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3396,18 +3618,19 @@ public Builder addOauthScopes(
      * 
* * repeated string oauth_scopes = 3; + * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes( - java.lang.Iterable values) { + public Builder addAllOauthScopes(java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3424,6 +3647,7 @@ public Builder addAllOauthScopes(
      * 
* * repeated string oauth_scopes = 3; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -3433,6 +3657,8 @@ public Builder clearOauthScopes() { return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3449,15 +3675,15 @@ public Builder clearOauthScopes() {
      * 
* * repeated string oauth_scopes = 3; + * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes( - com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -3466,6 +3692,8 @@ public Builder addOauthScopesBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3473,13 +3701,13 @@ public Builder addOauthScopesBytes(
      * 
* * string service_account = 9; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -3488,6 +3716,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3495,15 +3725,14 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -3511,6 +3740,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3518,20 +3749,22 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3539,15 +3772,18 @@ public Builder setServiceAccount(
      * 
* * string service_account = 9; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3555,37 +3791,37 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 9; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3597,6 +3833,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3630,22 +3868,22 @@ public int getMetadataCount() {
      *
      * map<string, string> metadata = 4;
      */
-
     @java.lang.Override
-    public boolean containsMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetadataMap()} instead.
-     */
+    /** Use {@link #getMetadataMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3680,11 +3918,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3719,16 +3958,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3763,12 +4003,11 @@ public java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getMetadataOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3776,11 +4015,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3814,23 +4054,21 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-
-    public Builder removeMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetadata().getMutableMap()
-          .remove(key);
+    public Builder removeMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetadata().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableMetadata() {
+    public java.util.Map getMutableMetadata() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3864,19 +4102,20 @@ public Builder removeMetadata(
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putMetadata(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3910,29 +4149,28 @@ public Builder putMetadata(
      *
      * map<string, string> metadata = 4;
      */
-
-    public Builder putAllMetadata(
-        java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetadata(java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap().putAll(values);
       return this;
     }
 
     private java.lang.Object imageType_ = "";
     /**
+     *
+     *
      * 
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -3941,21 +4179,22 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -3963,78 +4202,84 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4046,6 +4291,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4059,22 +4306,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 6;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4089,11 +4336,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4108,16 +4356,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4132,12 +4381,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4145,11 +4393,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4163,23 +4412,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4193,19 +4440,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 6;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4219,16 +4467,15 @@ public Builder putLabels(
      *
      * map<string, string> labels = 6;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
-    private int localSsdCount_ ;
+    private int localSsdCount_;
     /**
+     *
+     *
      * 
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4238,6 +4485,7 @@ public Builder putAllLabels(
      * 
* * int32 local_ssd_count = 7; + * * @return The localSsdCount. */ @java.lang.Override @@ -4245,6 +4493,8 @@ public int getLocalSsdCount() { return localSsdCount_; } /** + * + * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4254,16 +4504,19 @@ public int getLocalSsdCount() {
      * 
* * int32 local_ssd_count = 7; + * * @param value The localSsdCount to set. * @return This builder for chaining. */ public Builder setLocalSsdCount(int value) { - + localSsdCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4273,23 +4526,28 @@ public Builder setLocalSsdCount(int value) {
      * 
* * int32 local_ssd_count = 7; + * * @return This builder for chaining. */ public Builder clearLocalSsdCount() { - + localSsdCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4298,13 +4556,15 @@ private void ensureTagsIsMutable() {
      * 
* * repeated string tags = 8; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4313,12 +4573,15 @@ private void ensureTagsIsMutable() {
      * 
* * repeated string tags = 8; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4327,6 +4590,7 @@ public int getTagsCount() {
      * 
* * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -4334,6 +4598,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4342,14 +4608,16 @@ public java.lang.String getTags(int index) {
      * 
* * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4358,21 +4626,23 @@ public java.lang.String getTags(int index) {
      * 
* * repeated string tags = 8; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4381,20 +4651,22 @@ public Builder setTags(
      * 
* * repeated string tags = 8; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4403,18 +4675,19 @@ public Builder addTags(
      * 
* * repeated string tags = 8; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4423,6 +4696,7 @@ public Builder addAllTags(
      * 
* * repeated string tags = 8; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -4432,6 +4706,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4440,23 +4716,25 @@ public Builder clearTags() {
      * 
* * repeated string tags = 8; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private boolean preemptible_ ; + private boolean preemptible_; /** + * + * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4464,6 +4742,7 @@ public Builder addTagsBytes(
      * 
* * bool preemptible = 10; + * * @return The preemptible. */ @java.lang.Override @@ -4471,6 +4750,8 @@ public boolean getPreemptible() { return preemptible_; } /** + * + * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4478,16 +4759,19 @@ public boolean getPreemptible() {
      * 
* * bool preemptible = 10; + * * @param value The preemptible to set. * @return This builder for chaining. */ public Builder setPreemptible(boolean value) { - + preemptible_ = value; onChanged(); return this; } /** + * + * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4495,28 +4779,36 @@ public Builder setPreemptible(boolean value) {
      * 
* * bool preemptible = 10; + * * @return This builder for chaining. */ public Builder clearPreemptible() { - + preemptible_ = false; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - accelerators_ = new java.util.ArrayList(accelerators_); + accelerators_ = + new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.AcceleratorConfig, com.google.container.v1.AcceleratorConfig.Builder, com.google.container.v1.AcceleratorConfigOrBuilder> acceleratorsBuilder_; + com.google.container.v1.AcceleratorConfig, + com.google.container.v1.AcceleratorConfig.Builder, + com.google.container.v1.AcceleratorConfigOrBuilder> + acceleratorsBuilder_; /** + * + * *
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4533,6 +4825,8 @@ public java.util.List getAccelerators
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4549,6 +4843,8 @@ public int getAcceleratorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4565,6 +4861,8 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4573,8 +4871,7 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) {
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public Builder setAccelerators(
-        int index, com.google.container.v1.AcceleratorConfig value) {
+    public Builder setAccelerators(int index, com.google.container.v1.AcceleratorConfig value) {
       if (acceleratorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4588,6 +4885,8 @@ public Builder setAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4608,6 +4907,8 @@ public Builder setAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4630,6 +4931,8 @@ public Builder addAccelerators(com.google.container.v1.AcceleratorConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4638,8 +4941,7 @@ public Builder addAccelerators(com.google.container.v1.AcceleratorConfig value)
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public Builder addAccelerators(
-        int index, com.google.container.v1.AcceleratorConfig value) {
+    public Builder addAccelerators(int index, com.google.container.v1.AcceleratorConfig value) {
       if (acceleratorsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4653,6 +4955,8 @@ public Builder addAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4673,6 +4977,8 @@ public Builder addAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4693,6 +4999,8 @@ public Builder addAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4705,8 +5013,7 @@ public Builder addAllAccelerators(
         java.lang.Iterable values) {
       if (acceleratorsBuilder_ == null) {
         ensureAcceleratorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, accelerators_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_);
         onChanged();
       } else {
         acceleratorsBuilder_.addAllMessages(values);
@@ -4714,6 +5021,8 @@ public Builder addAllAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4733,6 +5042,8 @@ public Builder clearAccelerators() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4752,6 +5063,8 @@ public Builder removeAccelerators(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4760,11 +5073,12 @@ public Builder removeAccelerators(int index) {
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public com.google.container.v1.AcceleratorConfig.Builder getAcceleratorsBuilder(
-        int index) {
+    public com.google.container.v1.AcceleratorConfig.Builder getAcceleratorsBuilder(int index) {
       return getAcceleratorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4773,14 +5087,16 @@ public com.google.container.v1.AcceleratorConfig.Builder getAcceleratorsBuilder(
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
-        int index) {
+    public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index) {
       if (acceleratorsBuilder_ == null) {
-        return accelerators_.get(index);  } else {
+        return accelerators_.get(index);
+      } else {
         return acceleratorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4789,8 +5105,8 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List 
-         getAcceleratorsOrBuilderList() {
+    public java.util.List
+        getAcceleratorsOrBuilderList() {
       if (acceleratorsBuilder_ != null) {
         return acceleratorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -4798,6 +5114,8 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4807,10 +5125,12 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
     public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder() {
-      return getAcceleratorsFieldBuilder().addBuilder(
-          com.google.container.v1.AcceleratorConfig.getDefaultInstance());
+      return getAcceleratorsFieldBuilder()
+          .addBuilder(com.google.container.v1.AcceleratorConfig.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4819,12 +5139,13 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
-        int index) {
-      return getAcceleratorsFieldBuilder().addBuilder(
-          index, com.google.container.v1.AcceleratorConfig.getDefaultInstance());
+    public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(int index) {
+      return getAcceleratorsFieldBuilder()
+          .addBuilder(index, com.google.container.v1.AcceleratorConfig.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4833,20 +5154,23 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
      *
      * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List 
-         getAcceleratorsBuilderList() {
+    public java.util.List
+        getAcceleratorsBuilderList() {
       return getAcceleratorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.AcceleratorConfig, com.google.container.v1.AcceleratorConfig.Builder, com.google.container.v1.AcceleratorConfigOrBuilder> 
+            com.google.container.v1.AcceleratorConfig,
+            com.google.container.v1.AcceleratorConfig.Builder,
+            com.google.container.v1.AcceleratorConfigOrBuilder>
         getAcceleratorsFieldBuilder() {
       if (acceleratorsBuilder_ == null) {
-        acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.AcceleratorConfig, com.google.container.v1.AcceleratorConfig.Builder, com.google.container.v1.AcceleratorConfigOrBuilder>(
-                accelerators_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        acceleratorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1.AcceleratorConfig,
+                com.google.container.v1.AcceleratorConfig.Builder,
+                com.google.container.v1.AcceleratorConfigOrBuilder>(
+                accelerators_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
         accelerators_ = null;
       }
       return acceleratorsBuilder_;
@@ -4854,6 +5178,8 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
 
     private java.lang.Object diskType_ = "";
     /**
+     *
+     *
      * 
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -4861,13 +5187,13 @@ public com.google.container.v1.AcceleratorConfig.Builder addAcceleratorsBuilder(
      * 
* * string disk_type = 12; + * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -4876,6 +5202,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -4883,15 +5211,14 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 12; + * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -4899,6 +5226,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -4906,20 +5235,22 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 12; + * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType( - java.lang.String value) { + public Builder setDiskType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -4927,15 +5258,18 @@ public Builder setDiskType(
      * 
* * string disk_type = 12; + * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -4943,16 +5277,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 12; + * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -4960,6 +5294,8 @@ public Builder setDiskTypeBytes( private java.lang.Object minCpuPlatform_ = ""; /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -4971,13 +5307,13 @@ public Builder setDiskTypeBytes(
      * 
* * string min_cpu_platform = 13; + * * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -4986,6 +5322,8 @@ public java.lang.String getMinCpuPlatform() { } } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -4997,15 +5335,14 @@ public java.lang.String getMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; + * * @return The bytes for minCpuPlatform. */ - public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -5013,6 +5350,8 @@ public java.lang.String getMinCpuPlatform() { } } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5024,20 +5363,22 @@ public java.lang.String getMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; + * * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatform( - java.lang.String value) { + public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5049,15 +5390,18 @@ public Builder setMinCpuPlatform(
      * 
* * string min_cpu_platform = 13; + * * @return This builder for chaining. */ public Builder clearMinCpuPlatform() { - + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5069,16 +5413,16 @@ public Builder clearMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; + * * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatformBytes( - com.google.protobuf.ByteString value) { + public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; @@ -5086,34 +5430,47 @@ public Builder setMinCpuPlatformBytes( private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; + com.google.container.v1.WorkloadMetadataConfig, + com.google.container.v1.WorkloadMetadataConfig.Builder, + com.google.container.v1.WorkloadMetadataConfigOrBuilder> + workloadMetadataConfigBuilder_; /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** + * + * *
      * The workload metadata configuration for this node.
      * 
@@ -5134,6 +5491,8 @@ public Builder setWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadat return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
@@ -5152,17 +5511,22 @@ public Builder setWorkloadMetadataConfig( return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig( + com.google.container.v1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -5174,6 +5538,8 @@ public Builder mergeWorkloadMetadataConfig(com.google.container.v1.WorkloadMetad return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
@@ -5192,33 +5558,42 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1.WorkloadMetadataConfig.Builder + getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null ? - com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } } /** + * + * *
      * The workload metadata configuration for this node.
      * 
@@ -5226,32 +5601,41 @@ public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetada * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1.WorkloadMetadataConfig, + com.google.container.v1.WorkloadMetadataConfig.Builder, + com.google.container.v1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), - getParentForChildren(), - isClean()); + workloadMetadataConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.WorkloadMetadataConfig, + com.google.container.v1.WorkloadMetadataConfig.Builder, + com.google.container.v1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), getParentForChildren(), isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> taintsBuilder_; + com.google.container.v1.NodeTaint, + com.google.container.v1.NodeTaint.Builder, + com.google.container.v1.NodeTaintOrBuilder> + taintsBuilder_; /** + * + * *
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5268,6 +5652,8 @@ public java.util.List getTaintsList() {
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5284,6 +5670,8 @@ public int getTaintsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5300,6 +5688,8 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5308,8 +5698,7 @@ public com.google.container.v1.NodeTaint getTaints(int index) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder setTaints(
-        int index, com.google.container.v1.NodeTaint value) {
+    public Builder setTaints(int index, com.google.container.v1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5323,6 +5712,8 @@ public Builder setTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5331,8 +5722,7 @@ public Builder setTaints(
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder setTaints(
-        int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
+    public Builder setTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.set(index, builderForValue.build());
@@ -5343,6 +5733,8 @@ public Builder setTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5365,6 +5757,8 @@ public Builder addTaints(com.google.container.v1.NodeTaint value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5373,8 +5767,7 @@ public Builder addTaints(com.google.container.v1.NodeTaint value) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder addTaints(
-        int index, com.google.container.v1.NodeTaint value) {
+    public Builder addTaints(int index, com.google.container.v1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5388,6 +5781,8 @@ public Builder addTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5396,8 +5791,7 @@ public Builder addTaints(
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder addTaints(
-        com.google.container.v1.NodeTaint.Builder builderForValue) {
+    public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.add(builderForValue.build());
@@ -5408,6 +5802,8 @@ public Builder addTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5416,8 +5812,7 @@ public Builder addTaints(
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public Builder addTaints(
-        int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
+    public Builder addTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.add(index, builderForValue.build());
@@ -5428,6 +5823,8 @@ public Builder addTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5440,8 +5837,7 @@ public Builder addAllTaints(
         java.lang.Iterable values) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, taints_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_);
         onChanged();
       } else {
         taintsBuilder_.addAllMessages(values);
@@ -5449,6 +5845,8 @@ public Builder addAllTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5468,6 +5866,8 @@ public Builder clearTaints() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5487,6 +5887,8 @@ public Builder removeTaints(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5495,11 +5897,12 @@ public Builder removeTaints(int index) {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(
-        int index) {
+    public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(int index) {
       return getTaintsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5508,14 +5911,16 @@ public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
-        int index) {
+    public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
       if (taintsBuilder_ == null) {
-        return taints_.get(index);  } else {
+        return taints_.get(index);
+      } else {
         return taintsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5524,8 +5929,8 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public java.util.List 
-         getTaintsOrBuilderList() {
+    public java.util.List
+        getTaintsOrBuilderList() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilderList();
       } else {
@@ -5533,6 +5938,8 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5542,10 +5949,12 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
     public com.google.container.v1.NodeTaint.Builder addTaintsBuilder() {
-      return getTaintsFieldBuilder().addBuilder(
-          com.google.container.v1.NodeTaint.getDefaultInstance());
+      return getTaintsFieldBuilder()
+          .addBuilder(com.google.container.v1.NodeTaint.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5554,12 +5963,13 @@ public com.google.container.v1.NodeTaint.Builder addTaintsBuilder() {
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(
-        int index) {
-      return getTaintsFieldBuilder().addBuilder(
-          index, com.google.container.v1.NodeTaint.getDefaultInstance());
+    public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(int index) {
+      return getTaintsFieldBuilder()
+          .addBuilder(index, com.google.container.v1.NodeTaint.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5568,20 +5978,22 @@ public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(
      *
      * repeated .google.container.v1.NodeTaint taints = 15;
      */
-    public java.util.List 
-         getTaintsBuilderList() {
+    public java.util.List getTaintsBuilderList() {
       return getTaintsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> 
+            com.google.container.v1.NodeTaint,
+            com.google.container.v1.NodeTaint.Builder,
+            com.google.container.v1.NodeTaintOrBuilder>
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder>(
-                taints_,
-                ((bitField0_ & 0x00000020) != 0),
-                getParentForChildren(),
-                isClean());
+        taintsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1.NodeTaint,
+                com.google.container.v1.NodeTaint.Builder,
+                com.google.container.v1.NodeTaintOrBuilder>(
+                taints_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -5589,34 +6001,47 @@ public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(
 
     private com.google.container.v1.SandboxConfig sandboxConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.SandboxConfig, com.google.container.v1.SandboxConfig.Builder, com.google.container.v1.SandboxConfigOrBuilder> sandboxConfigBuilder_;
+            com.google.container.v1.SandboxConfig,
+            com.google.container.v1.SandboxConfig.Builder,
+            com.google.container.v1.SandboxConfigOrBuilder>
+        sandboxConfigBuilder_;
     /**
+     *
+     *
      * 
      * Sandbox configuration for this node.
      * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; + * * @return Whether the sandboxConfig field is set. */ public boolean hasSandboxConfig() { return sandboxConfigBuilder_ != null || sandboxConfig_ != null; } /** + * + * *
      * Sandbox configuration for this node.
      * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; + * * @return The sandboxConfig. */ public com.google.container.v1.SandboxConfig getSandboxConfig() { if (sandboxConfigBuilder_ == null) { - return sandboxConfig_ == null ? com.google.container.v1.SandboxConfig.getDefaultInstance() : sandboxConfig_; + return sandboxConfig_ == null + ? com.google.container.v1.SandboxConfig.getDefaultInstance() + : sandboxConfig_; } else { return sandboxConfigBuilder_.getMessage(); } } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5637,14 +6062,15 @@ public Builder setSandboxConfig(com.google.container.v1.SandboxConfig value) { return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; */ - public Builder setSandboxConfig( - com.google.container.v1.SandboxConfig.Builder builderForValue) { + public Builder setSandboxConfig(com.google.container.v1.SandboxConfig.Builder builderForValue) { if (sandboxConfigBuilder_ == null) { sandboxConfig_ = builderForValue.build(); onChanged(); @@ -5655,6 +6081,8 @@ public Builder setSandboxConfig( return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5665,7 +6093,9 @@ public Builder mergeSandboxConfig(com.google.container.v1.SandboxConfig value) { if (sandboxConfigBuilder_ == null) { if (sandboxConfig_ != null) { sandboxConfig_ = - com.google.container.v1.SandboxConfig.newBuilder(sandboxConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.SandboxConfig.newBuilder(sandboxConfig_) + .mergeFrom(value) + .buildPartial(); } else { sandboxConfig_ = value; } @@ -5677,6 +6107,8 @@ public Builder mergeSandboxConfig(com.google.container.v1.SandboxConfig value) { return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5695,6 +6127,8 @@ public Builder clearSandboxConfig() { return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5702,11 +6136,13 @@ public Builder clearSandboxConfig() { * .google.container.v1.SandboxConfig sandbox_config = 17; */ public com.google.container.v1.SandboxConfig.Builder getSandboxConfigBuilder() { - + onChanged(); return getSandboxConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5717,11 +6153,14 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( if (sandboxConfigBuilder_ != null) { return sandboxConfigBuilder_.getMessageOrBuilder(); } else { - return sandboxConfig_ == null ? - com.google.container.v1.SandboxConfig.getDefaultInstance() : sandboxConfig_; + return sandboxConfig_ == null + ? com.google.container.v1.SandboxConfig.getDefaultInstance() + : sandboxConfig_; } } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5729,14 +6168,17 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( * .google.container.v1.SandboxConfig sandbox_config = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.SandboxConfig, com.google.container.v1.SandboxConfig.Builder, com.google.container.v1.SandboxConfigOrBuilder> + com.google.container.v1.SandboxConfig, + com.google.container.v1.SandboxConfig.Builder, + com.google.container.v1.SandboxConfigOrBuilder> getSandboxConfigFieldBuilder() { if (sandboxConfigBuilder_ == null) { - sandboxConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.SandboxConfig, com.google.container.v1.SandboxConfig.Builder, com.google.container.v1.SandboxConfigOrBuilder>( - getSandboxConfig(), - getParentForChildren(), - isClean()); + sandboxConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.SandboxConfig, + com.google.container.v1.SandboxConfig.Builder, + com.google.container.v1.SandboxConfigOrBuilder>( + getSandboxConfig(), getParentForChildren(), isClean()); sandboxConfig_ = null; } return sandboxConfigBuilder_; @@ -5744,6 +6186,8 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder( private java.lang.Object nodeGroup_ = ""; /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5752,13 +6196,13 @@ public com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(
      * 
* * string node_group = 18; + * * @return The nodeGroup. */ public java.lang.String getNodeGroup() { java.lang.Object ref = nodeGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; @@ -5767,6 +6211,8 @@ public java.lang.String getNodeGroup() { } } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5775,15 +6221,14 @@ public java.lang.String getNodeGroup() {
      * 
* * string node_group = 18; + * * @return The bytes for nodeGroup. */ - public com.google.protobuf.ByteString - getNodeGroupBytes() { + public com.google.protobuf.ByteString getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -5791,6 +6236,8 @@ public java.lang.String getNodeGroup() { } } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5799,20 +6246,22 @@ public java.lang.String getNodeGroup() {
      * 
* * string node_group = 18; + * * @param value The nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroup( - java.lang.String value) { + public Builder setNodeGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeGroup_ = value; onChanged(); return this; } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5821,15 +6270,18 @@ public Builder setNodeGroup(
      * 
* * string node_group = 18; + * * @return This builder for chaining. */ public Builder clearNodeGroup() { - + nodeGroup_ = getDefaultInstance().getNodeGroup(); onChanged(); return this; } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5838,16 +6290,16 @@ public Builder clearNodeGroup() {
      * 
* * string node_group = 18; + * * @param value The bytes for nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeGroup_ = value; onChanged(); return this; @@ -5855,8 +6307,13 @@ public Builder setNodeGroupBytes( private com.google.container.v1.ReservationAffinity reservationAffinity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReservationAffinity, com.google.container.v1.ReservationAffinity.Builder, com.google.container.v1.ReservationAffinityOrBuilder> reservationAffinityBuilder_; + com.google.container.v1.ReservationAffinity, + com.google.container.v1.ReservationAffinity.Builder, + com.google.container.v1.ReservationAffinityOrBuilder> + reservationAffinityBuilder_; /** + * + * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5865,12 +6322,15 @@ public Builder setNodeGroupBytes(
      * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; + * * @return Whether the reservationAffinity field is set. */ public boolean hasReservationAffinity() { return reservationAffinityBuilder_ != null || reservationAffinity_ != null; } /** + * + * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5879,16 +6339,21 @@ public boolean hasReservationAffinity() {
      * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; + * * @return The reservationAffinity. */ public com.google.container.v1.ReservationAffinity getReservationAffinity() { if (reservationAffinityBuilder_ == null) { - return reservationAffinity_ == null ? com.google.container.v1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; + return reservationAffinity_ == null + ? com.google.container.v1.ReservationAffinity.getDefaultInstance() + : reservationAffinity_; } else { return reservationAffinityBuilder_.getMessage(); } } /** + * + * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5912,6 +6377,8 @@ public Builder setReservationAffinity(com.google.container.v1.ReservationAffinit
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5933,6 +6400,8 @@ public Builder setReservationAffinity(
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5946,7 +6415,9 @@ public Builder mergeReservationAffinity(com.google.container.v1.ReservationAffin
       if (reservationAffinityBuilder_ == null) {
         if (reservationAffinity_ != null) {
           reservationAffinity_ =
-            com.google.container.v1.ReservationAffinity.newBuilder(reservationAffinity_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ReservationAffinity.newBuilder(reservationAffinity_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           reservationAffinity_ = value;
         }
@@ -5958,6 +6429,8 @@ public Builder mergeReservationAffinity(com.google.container.v1.ReservationAffin
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5979,6 +6452,8 @@ public Builder clearReservationAffinity() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5989,11 +6464,13 @@ public Builder clearReservationAffinity() {
      * .google.container.v1.ReservationAffinity reservation_affinity = 19;
      */
     public com.google.container.v1.ReservationAffinity.Builder getReservationAffinityBuilder() {
-      
+
       onChanged();
       return getReservationAffinityFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6007,11 +6484,14 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
       if (reservationAffinityBuilder_ != null) {
         return reservationAffinityBuilder_.getMessageOrBuilder();
       } else {
-        return reservationAffinity_ == null ?
-            com.google.container.v1.ReservationAffinity.getDefaultInstance() : reservationAffinity_;
+        return reservationAffinity_ == null
+            ? com.google.container.v1.ReservationAffinity.getDefaultInstance()
+            : reservationAffinity_;
       }
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -6022,14 +6502,17 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
      * .google.container.v1.ReservationAffinity reservation_affinity = 19;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ReservationAffinity, com.google.container.v1.ReservationAffinity.Builder, com.google.container.v1.ReservationAffinityOrBuilder> 
+            com.google.container.v1.ReservationAffinity,
+            com.google.container.v1.ReservationAffinity.Builder,
+            com.google.container.v1.ReservationAffinityOrBuilder>
         getReservationAffinityFieldBuilder() {
       if (reservationAffinityBuilder_ == null) {
-        reservationAffinityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ReservationAffinity, com.google.container.v1.ReservationAffinity.Builder, com.google.container.v1.ReservationAffinityOrBuilder>(
-                getReservationAffinity(),
-                getParentForChildren(),
-                isClean());
+        reservationAffinityBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ReservationAffinity,
+                com.google.container.v1.ReservationAffinity.Builder,
+                com.google.container.v1.ReservationAffinityOrBuilder>(
+                getReservationAffinity(), getParentForChildren(), isClean());
         reservationAffinity_ = null;
       }
       return reservationAffinityBuilder_;
@@ -6037,34 +6520,47 @@ public com.google.container.v1.ReservationAffinityOrBuilder getReservationAffini
 
     private com.google.container.v1.ShieldedInstanceConfig shieldedInstanceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_;
+            com.google.container.v1.ShieldedInstanceConfig,
+            com.google.container.v1.ShieldedInstanceConfig.Builder,
+            com.google.container.v1.ShieldedInstanceConfigOrBuilder>
+        shieldedInstanceConfigBuilder_;
     /**
+     *
+     *
      * 
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return The shieldedInstanceConfig. */ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Shielded Instance options.
      * 
@@ -6085,6 +6581,8 @@ public Builder setShieldedInstanceConfig(com.google.container.v1.ShieldedInstanc return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -6103,17 +6601,22 @@ public Builder setShieldedInstanceConfig( return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public Builder mergeShieldedInstanceConfig(com.google.container.v1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig( + com.google.container.v1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -6125,6 +6628,8 @@ public Builder mergeShieldedInstanceConfig(com.google.container.v1.ShieldedInsta return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -6143,33 +6648,42 @@ public Builder clearShieldedInstanceConfig() { return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { - + public com.google.container.v1.ShieldedInstanceConfig.Builder + getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null ? - com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } } /** + * + * *
      * Shielded Instance options.
      * 
@@ -6177,14 +6691,17 @@ public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstan * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1.ShieldedInstanceConfig, + com.google.container.v1.ShieldedInstanceConfig.Builder, + com.google.container.v1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ShieldedInstanceConfig, com.google.container.v1.ShieldedInstanceConfig.Builder, com.google.container.v1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), - getParentForChildren(), - isClean()); + shieldedInstanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ShieldedInstanceConfig, + com.google.container.v1.ShieldedInstanceConfig.Builder, + com.google.container.v1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), getParentForChildren(), isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -6192,34 +6709,47 @@ public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstan private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_; + com.google.container.v1.LinuxNodeConfig, + com.google.container.v1.LinuxNodeConfig.Builder, + com.google.container.v1.LinuxNodeConfigOrBuilder> + linuxNodeConfigBuilder_; /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; + * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; + * * @return The linuxNodeConfig. */ public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6240,6 +6770,8 @@ public Builder setLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig value) return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6258,6 +6790,8 @@ public Builder setLinuxNodeConfig( return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6268,7 +6802,9 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) + .mergeFrom(value) + .buildPartial(); } else { linuxNodeConfig_ = value; } @@ -6280,6 +6816,8 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6298,6 +6836,8 @@ public Builder clearLinuxNodeConfig() { return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6305,11 +6845,13 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1.LinuxNodeConfig linux_node_config = 21; */ public com.google.container.v1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6320,11 +6862,14 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null ? - com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6332,14 +6877,17 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil * .google.container.v1.LinuxNodeConfig linux_node_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> + com.google.container.v1.LinuxNodeConfig, + com.google.container.v1.LinuxNodeConfig.Builder, + com.google.container.v1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), - getParentForChildren(), - isClean()); + linuxNodeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LinuxNodeConfig, + com.google.container.v1.LinuxNodeConfig.Builder, + com.google.container.v1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), getParentForChildren(), isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -6347,34 +6895,47 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil private com.google.container.v1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; + com.google.container.v1.NodeKubeletConfig, + com.google.container.v1.NodeKubeletConfig.Builder, + com.google.container.v1.NodeKubeletConfigOrBuilder> + kubeletConfigBuilder_; /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; + * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; + * * @return The kubeletConfig. */ public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6395,6 +6956,8 @@ public Builder setKubeletConfig(com.google.container.v1.NodeKubeletConfig value) return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6413,6 +6976,8 @@ public Builder setKubeletConfig( return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6423,7 +6988,9 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_) + .mergeFrom(value) + .buildPartial(); } else { kubeletConfig_ = value; } @@ -6435,6 +7002,8 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6453,6 +7022,8 @@ public Builder clearKubeletConfig() { return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6460,11 +7031,13 @@ public Builder clearKubeletConfig() { * .google.container.v1.NodeKubeletConfig kubelet_config = 22; */ public com.google.container.v1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6475,11 +7048,14 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null ? - com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6487,14 +7063,17 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil * .google.container.v1.NodeKubeletConfig kubelet_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> + com.google.container.v1.NodeKubeletConfig, + com.google.container.v1.NodeKubeletConfig.Builder, + com.google.container.v1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), - getParentForChildren(), - isClean()); + kubeletConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeKubeletConfig, + com.google.container.v1.NodeKubeletConfig.Builder, + com.google.container.v1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), getParentForChildren(), isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -6502,6 +7081,8 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil private java.lang.Object bootDiskKmsKey_ = ""; /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6512,13 +7093,13 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil
      * 
* * string boot_disk_kms_key = 23; + * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -6527,6 +7108,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6537,15 +7120,14 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; + * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -6553,6 +7135,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6563,20 +7147,22 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; + * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey( - java.lang.String value) { + public Builder setBootDiskKmsKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6587,15 +7173,18 @@ public Builder setBootDiskKmsKey(
      * 
* * string boot_disk_kms_key = 23; + * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6606,16 +7195,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; + * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -6623,34 +7212,47 @@ public Builder setBootDiskKmsKeyBytes( private com.google.container.v1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> gcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> + gcfsConfigBuilder_; /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; + * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; + * * @return The gcfsConfig. */ public com.google.container.v1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
@@ -6671,14 +7273,15 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; */ - public Builder setGcfsConfig( - com.google.container.v1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -6689,6 +7292,8 @@ public Builder setGcfsConfig( return this; } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
@@ -6699,7 +7304,9 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcfsConfig_ = value; } @@ -6711,6 +7318,8 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
@@ -6729,6 +7338,8 @@ public Builder clearGcfsConfig() { return this; } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
@@ -6736,11 +7347,13 @@ public Builder clearGcfsConfig() { * .google.container.v1.GcfsConfig gcfs_config = 25; */ public com.google.container.v1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
@@ -6751,11 +7364,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null ? - com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } } /** + * + * *
      * Google Container File System (image streaming) configs.
      * 
@@ -6763,14 +7379,17 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { * .google.container.v1.GcfsConfig gcfs_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( - getGcfsConfig(), - getParentForChildren(), - isClean()); + gcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder>( + getGcfsConfig(), getParentForChildren(), isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -6778,41 +7397,55 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { private com.google.container.v1.AdvancedMachineFeatures advancedMachineFeatures_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AdvancedMachineFeatures, com.google.container.v1.AdvancedMachineFeatures.Builder, com.google.container.v1.AdvancedMachineFeaturesOrBuilder> advancedMachineFeaturesBuilder_; + com.google.container.v1.AdvancedMachineFeatures, + com.google.container.v1.AdvancedMachineFeatures.Builder, + com.google.container.v1.AdvancedMachineFeaturesOrBuilder> + advancedMachineFeaturesBuilder_; /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return Whether the advancedMachineFeatures field is set. */ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeaturesBuilder_ != null || advancedMachineFeatures_ != null; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return The advancedMachineFeatures. */ public com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeatures() { if (advancedMachineFeaturesBuilder_ == null) { - return advancedMachineFeatures_ == null ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; + return advancedMachineFeatures_ == null + ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() + : advancedMachineFeatures_; } else { return advancedMachineFeaturesBuilder_.getMessage(); } } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public Builder setAdvancedMachineFeatures(com.google.container.v1.AdvancedMachineFeatures value) { + public Builder setAdvancedMachineFeatures( + com.google.container.v1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6826,6 +7459,8 @@ public Builder setAdvancedMachineFeatures(com.google.container.v1.AdvancedMachin return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
@@ -6844,17 +7479,22 @@ public Builder setAdvancedMachineFeatures( return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public Builder mergeAdvancedMachineFeatures(com.google.container.v1.AdvancedMachineFeatures value) { + public Builder mergeAdvancedMachineFeatures( + com.google.container.v1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (advancedMachineFeatures_ != null) { advancedMachineFeatures_ = - com.google.container.v1.AdvancedMachineFeatures.newBuilder(advancedMachineFeatures_).mergeFrom(value).buildPartial(); + com.google.container.v1.AdvancedMachineFeatures.newBuilder(advancedMachineFeatures_) + .mergeFrom(value) + .buildPartial(); } else { advancedMachineFeatures_ = value; } @@ -6866,6 +7506,8 @@ public Builder mergeAdvancedMachineFeatures(com.google.container.v1.AdvancedMach return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
@@ -6884,33 +7526,42 @@ public Builder clearAdvancedMachineFeatures() { return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public com.google.container.v1.AdvancedMachineFeatures.Builder getAdvancedMachineFeaturesBuilder() { - + public com.google.container.v1.AdvancedMachineFeatures.Builder + getAdvancedMachineFeaturesBuilder() { + onChanged(); return getAdvancedMachineFeaturesFieldBuilder().getBuilder(); } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ - public com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1.AdvancedMachineFeaturesOrBuilder + getAdvancedMachineFeaturesOrBuilder() { if (advancedMachineFeaturesBuilder_ != null) { return advancedMachineFeaturesBuilder_.getMessageOrBuilder(); } else { - return advancedMachineFeatures_ == null ? - com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; + return advancedMachineFeatures_ == null + ? com.google.container.v1.AdvancedMachineFeatures.getDefaultInstance() + : advancedMachineFeatures_; } } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
@@ -6918,14 +7569,17 @@ public com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachi * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AdvancedMachineFeatures, com.google.container.v1.AdvancedMachineFeatures.Builder, com.google.container.v1.AdvancedMachineFeaturesOrBuilder> + com.google.container.v1.AdvancedMachineFeatures, + com.google.container.v1.AdvancedMachineFeatures.Builder, + com.google.container.v1.AdvancedMachineFeaturesOrBuilder> getAdvancedMachineFeaturesFieldBuilder() { if (advancedMachineFeaturesBuilder_ == null) { - advancedMachineFeaturesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AdvancedMachineFeatures, com.google.container.v1.AdvancedMachineFeatures.Builder, com.google.container.v1.AdvancedMachineFeaturesOrBuilder>( - getAdvancedMachineFeatures(), - getParentForChildren(), - isClean()); + advancedMachineFeaturesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AdvancedMachineFeatures, + com.google.container.v1.AdvancedMachineFeatures.Builder, + com.google.container.v1.AdvancedMachineFeaturesOrBuilder>( + getAdvancedMachineFeatures(), getParentForChildren(), isClean()); advancedMachineFeatures_ = null; } return advancedMachineFeaturesBuilder_; @@ -6933,24 +7587,33 @@ public com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachi private com.google.container.v1.VirtualNIC gvnic_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> gvnicBuilder_; + com.google.container.v1.VirtualNIC, + com.google.container.v1.VirtualNIC.Builder, + com.google.container.v1.VirtualNICOrBuilder> + gvnicBuilder_; /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ public com.google.container.v1.VirtualNIC getGvnic() { @@ -6961,6 +7624,8 @@ public com.google.container.v1.VirtualNIC getGvnic() { } } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -6981,14 +7646,15 @@ public Builder setGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; */ - public Builder setGvnic( - com.google.container.v1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic(com.google.container.v1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -6999,6 +7665,8 @@ public Builder setGvnic( return this; } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7009,7 +7677,7 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); + com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); } else { gvnic_ = value; } @@ -7021,6 +7689,8 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7039,6 +7709,8 @@ public Builder clearGvnic() { return this; } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7046,11 +7718,13 @@ public Builder clearGvnic() { * .google.container.v1.VirtualNIC gvnic = 29; */ public com.google.container.v1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7061,11 +7735,12 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null ? - com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } } /** + * + * *
      * Enable or disable gvnic in the node pool.
      * 
@@ -7073,27 +7748,33 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> + com.google.container.v1.VirtualNIC, + com.google.container.v1.VirtualNIC.Builder, + com.google.container.v1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder>( - getGvnic(), - getParentForChildren(), - isClean()); + gvnicBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VirtualNIC, + com.google.container.v1.VirtualNIC.Builder, + com.google.container.v1.VirtualNICOrBuilder>( + getGvnic(), getParentForChildren(), isClean()); gvnic_ = null; } return gvnicBuilder_; } - private boolean spot_ ; + private boolean spot_; /** + * + * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; + * * @return The spot. */ @java.lang.Override @@ -7101,32 +7782,38 @@ public boolean getSpot() { return spot_; } /** + * + * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; + * * @param value The spot to set. * @return This builder for chaining. */ public Builder setSpot(boolean value) { - + spot_ = value; onChanged(); return this; } /** + * + * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; + * * @return This builder for chaining. */ public Builder clearSpot() { - + spot_ = false; onChanged(); return this; @@ -7134,36 +7821,49 @@ public Builder clearSpot() { private com.google.container.v1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * * @return The confidentialNodes. */ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7185,6 +7885,8 @@ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes va
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7204,6 +7906,8 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7215,7 +7919,9 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-            com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -7227,6 +7933,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7246,6 +7954,8 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7254,11 +7964,13 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1.ConfidentialNodes confidential_nodes = 35;
      */
     public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-      
+
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7270,11 +7982,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null ?
-            com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
+        return confidentialNodes_ == null
+            ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
+            : confidentialNodes_;
       }
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7283,14 +7998,17 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
      * .google.container.v1.ConfidentialNodes confidential_nodes = 35;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> 
+            com.google.container.v1.ConfidentialNodes,
+            com.google.container.v1.ConfidentialNodes.Builder,
+            com.google.container.v1.ConfidentialNodesOrBuilder>
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(),
-                getParentForChildren(),
-                isClean());
+        confidentialNodesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ConfidentialNodes,
+                com.google.container.v1.ConfidentialNodes.Builder,
+                com.google.container.v1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(), getParentForChildren(), isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -7298,34 +8016,47 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
 
     private com.google.container.v1.FastSocket fastSocket_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> fastSocketBuilder_;
+            com.google.container.v1.FastSocket,
+            com.google.container.v1.FastSocket.Builder,
+            com.google.container.v1.FastSocketOrBuilder>
+        fastSocketBuilder_;
     /**
+     *
+     *
      * 
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1.FastSocket fast_socket = 36; + * * @return Whether the fastSocket field is set. */ public boolean hasFastSocket() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1.FastSocket fast_socket = 36; + * * @return The fastSocket. */ public com.google.container.v1.FastSocket getFastSocket() { if (fastSocketBuilder_ == null) { - return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1.FastSocket.getDefaultInstance() + : fastSocket_; } else { return fastSocketBuilder_.getMessage(); } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7346,14 +8077,15 @@ public Builder setFastSocket(com.google.container.v1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1.FastSocket fast_socket = 36; */ - public Builder setFastSocket( - com.google.container.v1.FastSocket.Builder builderForValue) { + public Builder setFastSocket(com.google.container.v1.FastSocket.Builder builderForValue) { if (fastSocketBuilder_ == null) { fastSocket_ = builderForValue.build(); onChanged(); @@ -7364,6 +8096,8 @@ public Builder setFastSocket( return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7372,11 +8106,13 @@ public Builder setFastSocket( */ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { if (fastSocketBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - fastSocket_ != null && - fastSocket_ != com.google.container.v1.FastSocket.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && fastSocket_ != null + && fastSocket_ != com.google.container.v1.FastSocket.getDefaultInstance()) { fastSocket_ = - com.google.container.v1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); + com.google.container.v1.FastSocket.newBuilder(fastSocket_) + .mergeFrom(value) + .buildPartial(); } else { fastSocket_ = value; } @@ -7388,6 +8124,8 @@ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7405,6 +8143,8 @@ public Builder clearFastSocket() { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7417,6 +8157,8 @@ public com.google.container.v1.FastSocket.Builder getFastSocketBuilder() { return getFastSocketFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7427,11 +8169,14 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { if (fastSocketBuilder_ != null) { return fastSocketBuilder_.getMessageOrBuilder(); } else { - return fastSocket_ == null ? - com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1.FastSocket.getDefaultInstance() + : fastSocket_; } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7439,35 +8184,40 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { * optional .google.container.v1.FastSocket fast_socket = 36; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> + com.google.container.v1.FastSocket, + com.google.container.v1.FastSocket.Builder, + com.google.container.v1.FastSocketOrBuilder> getFastSocketFieldBuilder() { if (fastSocketBuilder_ == null) { - fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder>( - getFastSocket(), - getParentForChildren(), - isClean()); + fastSocketBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.FastSocket, + com.google.container.v1.FastSocket.Builder, + com.google.container.v1.FastSocketOrBuilder>( + getFastSocket(), getParentForChildren(), isClean()); fastSocket_ = null; } return fastSocketBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } + private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged();; + internalGetMutableResourceLabels() { + onChanged(); + ; if (resourceLabels_ == null) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = + com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -7479,6 +8229,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7486,22 +8238,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 37;
      */
-
     @java.lang.Override
-    public boolean containsResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getResourceLabelsMap()} instead.
-     */
+    /** Use {@link #getResourceLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7510,11 +8262,12 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7523,16 +8276,17 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7541,12 +8295,11 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-
-    public java.lang.String getResourceLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -7554,11 +8307,12 @@ public java.lang.String getResourceLabelsOrThrow(
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap()
-          .clear();
+      internalGetMutableResourceLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7566,23 +8320,21 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 37;
      */
-
-    public Builder removeResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableResourceLabels().getMutableMap()
-          .remove(key);
+    public Builder removeResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableResourceLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableResourceLabels() {
+    public java.util.Map getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7590,19 +8342,20 @@ public Builder removeResourceLabels(
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder putResourceLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableResourceLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableResourceLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7610,44 +8363,54 @@ public Builder putResourceLabels(
      *
      * map<string, string> resource_labels = 37;
      */
-
-    public Builder putAllResourceLabels(
-        java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllResourceLabels(java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.container.v1.NodePoolLoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_;
+            com.google.container.v1.NodePoolLoggingConfig,
+            com.google.container.v1.NodePoolLoggingConfig.Builder,
+            com.google.container.v1.NodePoolLoggingConfigOrBuilder>
+        loggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; + * * @return The loggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration.
      * 
@@ -7668,6 +8431,8 @@ public Builder setLoggingConfig(com.google.container.v1.NodePoolLoggingConfig va return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7686,6 +8451,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7696,7 +8463,9 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -7708,6 +8477,8 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7726,6 +8497,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7733,11 +8506,13 @@ public Builder clearLoggingConfig() { * .google.container.v1.NodePoolLoggingConfig logging_config = 38; */ public com.google.container.v1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration.
      * 
@@ -7748,11 +8523,14 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration.
      * 
@@ -7760,21 +8538,24 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr * .google.container.v1.NodePoolLoggingConfig logging_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7784,12 +8565,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeConfig) private static final com.google.container.v1.NodeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeConfig(); } @@ -7798,27 +8579,27 @@ public static com.google.container.v1.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(); - } - }; + 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; @@ -7833,6 +8614,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java index a0bc24b50f49..c9b816644861 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaults.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Subset of NodeConfig message that has defaults.
  * 
* * Protobuf type {@code google.container.v1.NodeConfigDefaults} */ -public final class NodeConfigDefaults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeConfigDefaults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeConfigDefaults) NodeConfigDefaultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeConfigDefaults.newBuilder() to construct. private NodeConfigDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeConfigDefaults() { - } + + private NodeConfigDefaults() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeConfigDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeConfigDefaults.class, com.google.container.v1.NodeConfigDefaults.Builder.class); + com.google.container.v1.NodeConfigDefaults.class, + com.google.container.v1.NodeConfigDefaults.Builder.class); } public static final int GCFS_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.GcfsConfig gcfsConfig_; /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; + * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; + * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -88,11 +116,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { public static final int LOGGING_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -100,18 +131,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration for node pools.
    * 
@@ -124,6 +162,7 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +174,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (gcfsConfig_ != null) { output.writeMessage(1, getGcfsConfig()); } @@ -153,12 +191,10 @@ public int getSerializedSize() { size = 0; if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGcfsConfig()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +204,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeConfigDefaults)) { return super.equals(obj); } - com.google.container.v1.NodeConfigDefaults other = (com.google.container.v1.NodeConfigDefaults) obj; + com.google.container.v1.NodeConfigDefaults other = + (com.google.container.v1.NodeConfigDefaults) obj; if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig() - .equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +244,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeConfigDefaults parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeConfigDefaults parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeConfigDefaults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfigDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeConfigDefaults parseFrom( 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.NodeConfigDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeConfigDefaults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeConfigDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeConfigDefaults parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeConfigDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodeConfigDefaults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeConfigDefaults parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeConfigDefaults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeConfigDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeConfigDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * Protobuf type {@code google.container.v1.NodeConfigDefaults} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeConfigDefaults) com.google.container.v1.NodeConfigDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeConfigDefaults.class, com.google.container.v1.NodeConfigDefaults.Builder.class); + com.google.container.v1.NodeConfigDefaults.class, + com.google.container.v1.NodeConfigDefaults.Builder.class); } // Construct using com.google.container.v1.NodeConfigDefaults.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeConfigDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeConfigDefaults_descriptor; } @java.lang.Override @@ -373,7 +414,8 @@ public com.google.container.v1.NodeConfigDefaults build() { @java.lang.Override public com.google.container.v1.NodeConfigDefaults buildPartial() { - com.google.container.v1.NodeConfigDefaults result = new com.google.container.v1.NodeConfigDefaults(this); + com.google.container.v1.NodeConfigDefaults result = + new com.google.container.v1.NodeConfigDefaults(this); if (gcfsConfigBuilder_ == null) { result.gcfsConfig_ = gcfsConfig_; } else { @@ -392,38 +434,39 @@ public com.google.container.v1.NodeConfigDefaults buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodeConfigDefaults) { - return mergeFrom((com.google.container.v1.NodeConfigDefaults)other); + return mergeFrom((com.google.container.v1.NodeConfigDefaults) other); } else { super.mergeFrom(other); return this; @@ -464,26 +507,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcfsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 26: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 26: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -496,34 +538,47 @@ public Builder mergeFrom( private com.google.container.v1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> gcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> + gcfsConfigBuilder_; /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; + * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; + * * @return The gcfsConfig. */ public com.google.container.v1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -544,14 +599,15 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; */ - public Builder setGcfsConfig( - com.google.container.v1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -562,6 +618,8 @@ public Builder setGcfsConfig( return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -572,7 +630,9 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcfsConfig_ = value; } @@ -584,6 +644,8 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -602,6 +664,8 @@ public Builder clearGcfsConfig() { return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -609,11 +673,13 @@ public Builder clearGcfsConfig() { * .google.container.v1.GcfsConfig gcfs_config = 1; */ public com.google.container.v1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -624,11 +690,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null ? - com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -636,14 +705,17 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { * .google.container.v1.GcfsConfig gcfs_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( - getGcfsConfig(), - getParentForChildren(), - isClean()); + gcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder>( + getGcfsConfig(), getParentForChildren(), isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -651,34 +723,47 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder> + loggingConfigBuilder_; /** + * + * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; + * * @return The loggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -699,6 +784,8 @@ public Builder setLoggingConfig(com.google.container.v1.NodePoolLoggingConfig va return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -717,6 +804,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -727,7 +816,9 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -739,6 +830,8 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -757,6 +850,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -764,11 +859,13 @@ public Builder clearLoggingConfig() { * .google.container.v1.NodePoolLoggingConfig logging_config = 3; */ public com.google.container.v1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -779,11 +876,14 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -791,21 +891,24 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr * .google.container.v1.NodePoolLoggingConfig logging_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeConfigDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeConfigDefaults) private static final com.google.container.v1.NodeConfigDefaults DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeConfigDefaults(); } @@ -829,27 +932,27 @@ public static com.google.container.v1.NodeConfigDefaults getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfigDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfigDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,6 +967,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeConfigDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java index 24c1596bb7f0..8e42bc9a3e8d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigDefaultsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeConfigDefaultsOrBuilder extends +public interface NodeConfigDefaultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeConfigDefaults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; + * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 1; + * * @return The gcfsConfig. */ com.google.container.v1.GcfsConfig getGcfsConfig(); /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -35,24 +59,32 @@ public interface NodeConfigDefaultsOrBuilder extends com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 3; + * * @return The loggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration for node pools.
    * 
diff --git a/owl-bot-staging/java-container/v1/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 similarity index 90% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java index 660917eeb005..abe62a38d01f 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeConfigOrBuilder extends +public interface NodeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -15,10 +33,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * string machine_type = 1; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types)
@@ -26,12 +47,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * string machine_type = 1; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -39,11 +62,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * int32 disk_size_gb = 2; + * * @return The diskSizeGb. */ int getDiskSizeGb(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -60,11 +86,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @return A list containing the oauthScopes. */ - java.util.List - getOauthScopesList(); + java.util.List getOauthScopesList(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -81,10 +109,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -101,11 +132,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -122,13 +156,15 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString - getOauthScopesBytes(int index); + com.google.protobuf.ByteString getOauthScopesBytes(int index); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -136,10 +172,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * string service_account = 9; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -147,12 +186,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * string service_account = 9; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -188,6 +229,8 @@ public interface NodeConfigOrBuilder extends
    */
   int getMetadataCount();
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -221,15 +264,13 @@ public interface NodeConfigOrBuilder extends
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  boolean containsMetadata(java.lang.String key);
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetadata();
+  java.util.Map getMetadata();
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -263,9 +304,10 @@ boolean containsMetadata(
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map
-  getMetadataMap();
+  java.util.Map getMetadataMap();
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -301,11 +343,13 @@ boolean containsMetadata(
    */
 
   /* nullable */
-java.lang.String getMetadataOrDefault(
+  java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -339,33 +383,38 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-
-  java.lang.String getMetadataOrThrow(
-      java.lang.String key);
+  java.lang.String getMetadataOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); /** + * + * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -381,6 +430,8 @@ java.lang.String getMetadataOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -394,15 +445,13 @@ java.lang.String getMetadataOrThrow(
    *
    * map<string, string> labels = 6;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -416,9 +465,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 6;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -434,11 +484,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -452,11 +504,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -466,11 +518,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * int32 local_ssd_count = 7; + * * @return The localSsdCount. */ int getLocalSsdCount(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -479,11 +534,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -492,10 +549,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -504,11 +564,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -517,13 +580,15 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -531,11 +596,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * bool preemptible = 10; + * * @return The preemptible. */ boolean getPreemptible(); /** + * + * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -544,9 +612,10 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List 
-      getAcceleratorsList();
+  java.util.List getAcceleratorsList();
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -557,6 +626,8 @@ java.lang.String getLabelsOrThrow(
    */
   com.google.container.v1.AcceleratorConfig getAccelerators(int index);
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -567,6 +638,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAcceleratorsCount();
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -575,9 +648,11 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List 
+  java.util.List
       getAcceleratorsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -586,10 +661,11 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.container.v1.AcceleratorConfig accelerators = 11;
    */
-  com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
-      int index);
+  com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -597,10 +673,13 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    * 
* * string disk_type = 12; + * * @return The diskType. */ java.lang.String getDiskType(); /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -608,12 +687,14 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    * 
* * string disk_type = 12; + * * @return The bytes for diskType. */ - com.google.protobuf.ByteString - getDiskTypeBytes(); + com.google.protobuf.ByteString getDiskTypeBytes(); /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -625,10 +706,13 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    * 
* * string min_cpu_platform = 13; + * * @return The minCpuPlatform. */ java.lang.String getMinCpuPlatform(); /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -640,30 +724,38 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    * 
* * string min_cpu_platform = 13; + * * @return The bytes for minCpuPlatform. */ - com.google.protobuf.ByteString - getMinCpuPlatformBytes(); + com.google.protobuf.ByteString getMinCpuPlatformBytes(); /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** + * + * *
    * The workload metadata configuration for this node.
    * 
@@ -673,6 +765,8 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder( com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** + * + * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -681,9 +775,10 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    *
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
-  java.util.List 
-      getTaintsList();
+  java.util.List getTaintsList();
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -694,6 +789,8 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    */
   com.google.container.v1.NodeTaint getTaints(int index);
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -704,6 +801,8 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    */
   int getTaintsCount();
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -712,9 +811,10 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    *
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
-  java.util.List 
-      getTaintsOrBuilderList();
+  java.util.List getTaintsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -723,28 +823,35 @@ com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
    *
    * repeated .google.container.v1.NodeTaint taints = 15;
    */
-  com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
-      int index);
+  com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; + * * @return Whether the sandboxConfig field is set. */ boolean hasSandboxConfig(); /** + * + * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1.SandboxConfig sandbox_config = 17; + * * @return The sandboxConfig. */ com.google.container.v1.SandboxConfig getSandboxConfig(); /** + * + * *
    * Sandbox configuration for this node.
    * 
@@ -754,6 +861,8 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(); /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -762,10 +871,13 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * string node_group = 18; + * * @return The nodeGroup. */ java.lang.String getNodeGroup(); /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -774,12 +886,14 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * string node_group = 18; + * * @return The bytes for nodeGroup. */ - com.google.protobuf.ByteString - getNodeGroupBytes(); + com.google.protobuf.ByteString getNodeGroupBytes(); /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -788,10 +902,13 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; + * * @return Whether the reservationAffinity field is set. */ boolean hasReservationAffinity(); /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -800,10 +917,13 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * .google.container.v1.ReservationAffinity reservation_affinity = 19; + * * @return The reservationAffinity. */ com.google.container.v1.ReservationAffinity getReservationAffinity(); /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -816,24 +936,32 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
   com.google.container.v1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder();
 
   /**
+   *
+   *
    * 
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return The shieldedInstanceConfig. */ com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
@@ -843,24 +971,32 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; + * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 21; + * * @return The linuxNodeConfig. */ com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -870,24 +1006,32 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; + * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 22; + * * @return The kubeletConfig. */ com.google.container.v1.NodeKubeletConfig getKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
@@ -897,6 +1041,8 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -907,10 +1053,13 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * string boot_disk_kms_key = 23; + * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -921,30 +1070,38 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * string boot_disk_kms_key = 23; + * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString - getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); /** + * + * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; + * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** + * + * *
    * Google Container File System (image streaming) configs.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 25; + * * @return The gcfsConfig. */ com.google.container.v1.GcfsConfig getGcfsConfig(); /** + * + * *
    * Google Container File System (image streaming) configs.
    * 
@@ -954,24 +1111,32 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return Whether the advancedMachineFeatures field is set. */ boolean hasAdvancedMachineFeatures(); /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return The advancedMachineFeatures. */ com.google.container.v1.AdvancedMachineFeatures getAdvancedMachineFeatures(); /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
@@ -981,24 +1146,32 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder(); /** + * + * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** + * + * *
    * Enable or disable gvnic in the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ com.google.container.v1.VirtualNIC getGvnic(); /** + * + * *
    * Enable or disable gvnic in the node pool.
    * 
@@ -1008,37 +1181,48 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder(); /** + * + * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; + * * @return The spot. */ boolean getSpot(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 35; + * * @return The confidentialNodes. */ com.google.container.v1.ConfidentialNodes getConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1049,24 +1233,32 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
   com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; + * * @return Whether the fastSocket field is set. */ boolean hasFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1.FastSocket fast_socket = 36; + * * @return The fastSocket. */ com.google.container.v1.FastSocket getFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -1076,6 +1268,8 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1085,6 +1279,8 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    */
   int getResourceLabelsCount();
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1092,15 +1288,13 @@ com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(
    *
    * map<string, string> resource_labels = 37;
    */
-  boolean containsResourceLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  boolean containsResourceLabels(java.lang.String key);
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getResourceLabels();
+  java.util.Map getResourceLabels();
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1108,9 +1302,10 @@ boolean containsResourceLabels(
    *
    * map<string, string> resource_labels = 37;
    */
-  java.util.Map
-  getResourceLabelsMap();
+  java.util.Map getResourceLabelsMap();
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1120,11 +1315,13 @@ boolean containsResourceLabels(
    */
 
   /* nullable */
-java.lang.String getResourceLabelsOrDefault(
+  java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1132,29 +1329,35 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-
-  java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 38; + * * @return The loggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java similarity index 77% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java index 490c8b060cb7..eebc314010f2 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Node kubelet configs.
  * 
* * Protobuf type {@code google.container.v1.NodeKubeletConfig} */ -public final class NodeKubeletConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeKubeletConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeKubeletConfig) NodeKubeletConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeKubeletConfig.newBuilder() to construct. private NodeKubeletConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NodeKubeletConfig() { cpuManagerPolicy_ = ""; cpuCfsQuotaPeriod_ = ""; @@ -26,32 +44,35 @@ private NodeKubeletConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeKubeletConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeKubeletConfig.class, com.google.container.v1.NodeKubeletConfig.Builder.class); + com.google.container.v1.NodeKubeletConfig.class, + com.google.container.v1.NodeKubeletConfig.Builder.class); } public static final int CPU_MANAGER_POLICY_FIELD_NUMBER = 1; private volatile java.lang.Object cpuManagerPolicy_; /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -64,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string cpu_manager_policy = 1; + * * @return The cpuManagerPolicy. */ @java.lang.Override @@ -72,14 +94,15 @@ public java.lang.String getCpuManagerPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; } } /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -92,16 +115,15 @@ public java.lang.String getCpuManagerPolicy() {
    * 
* * string cpu_manager_policy = 1; + * * @return The bytes for cpuManagerPolicy. */ @java.lang.Override - public com.google.protobuf.ByteString - getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -112,6 +134,8 @@ public java.lang.String getCpuManagerPolicy() { public static final int CPU_CFS_QUOTA_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue cpuCfsQuota_; /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -124,6 +148,7 @@ public java.lang.String getCpuManagerPolicy() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return Whether the cpuCfsQuota field is set. */ @java.lang.Override @@ -131,6 +156,8 @@ public boolean hasCpuCfsQuota() { return cpuCfsQuota_ != null; } /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -143,6 +170,7 @@ public boolean hasCpuCfsQuota() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return The cpuCfsQuota. */ @java.lang.Override @@ -150,6 +178,8 @@ public com.google.protobuf.BoolValue getCpuCfsQuota() { return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; } /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -171,6 +201,8 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
   public static final int CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER = 3;
   private volatile java.lang.Object cpuCfsQuotaPeriod_;
   /**
+   *
+   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -180,6 +212,7 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The cpuCfsQuotaPeriod. */ @java.lang.Override @@ -188,14 +221,15 @@ public java.lang.String getCpuCfsQuotaPeriod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; } } /** + * + * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -205,16 +239,15 @@ public java.lang.String getCpuCfsQuotaPeriod() {
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The bytes for cpuCfsQuotaPeriod. */ @java.lang.Override - public com.google.protobuf.ByteString - getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -225,6 +258,8 @@ public java.lang.String getCpuCfsQuotaPeriod() { public static final int POD_PIDS_LIMIT_FIELD_NUMBER = 4; private long podPidsLimit_; /** + * + * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -233,6 +268,7 @@ public java.lang.String getCpuCfsQuotaPeriod() {
    * 
* * int64 pod_pids_limit = 4; + * * @return The podPidsLimit. */ @java.lang.Override @@ -241,6 +277,7 @@ public long getPodPidsLimit() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuManagerPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cpuManagerPolicy_); } @@ -279,15 +315,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cpuManagerPolicy_); } if (cpuCfsQuota_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCpuCfsQuota()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCpuCfsQuota()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cpuCfsQuotaPeriod_); } if (podPidsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, podPidsLimit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, podPidsLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -297,24 +331,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeKubeletConfig)) { return super.equals(obj); } - com.google.container.v1.NodeKubeletConfig other = (com.google.container.v1.NodeKubeletConfig) obj; + com.google.container.v1.NodeKubeletConfig other = + (com.google.container.v1.NodeKubeletConfig) obj; - if (!getCpuManagerPolicy() - .equals(other.getCpuManagerPolicy())) return false; + if (!getCpuManagerPolicy().equals(other.getCpuManagerPolicy())) return false; if (hasCpuCfsQuota() != other.hasCpuCfsQuota()) return false; if (hasCpuCfsQuota()) { - if (!getCpuCfsQuota() - .equals(other.getCpuCfsQuota())) return false; + if (!getCpuCfsQuota().equals(other.getCpuCfsQuota())) return false; } - if (!getCpuCfsQuotaPeriod() - .equals(other.getCpuCfsQuotaPeriod())) return false; - if (getPodPidsLimit() - != other.getPodPidsLimit()) return false; + if (!getCpuCfsQuotaPeriod().equals(other.getCpuCfsQuotaPeriod())) return false; + if (getPodPidsLimit() != other.getPodPidsLimit()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,137 +366,142 @@ public int hashCode() { hash = (37 * hash) + CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getCpuCfsQuotaPeriod().hashCode(); hash = (37 * hash) + POD_PIDS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPodPidsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPodPidsLimit()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.NodeKubeletConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeKubeletConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeKubeletConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeKubeletConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeKubeletConfig parseFrom( 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.NodeKubeletConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeKubeletConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeKubeletConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeKubeletConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeKubeletConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodeKubeletConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeKubeletConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeKubeletConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeKubeletConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeKubeletConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Node kubelet configs.
    * 
* * Protobuf type {@code google.container.v1.NodeKubeletConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeKubeletConfig) com.google.container.v1.NodeKubeletConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeKubeletConfig.class, com.google.container.v1.NodeKubeletConfig.Builder.class); + com.google.container.v1.NodeKubeletConfig.class, + com.google.container.v1.NodeKubeletConfig.Builder.class); } // Construct using com.google.container.v1.NodeKubeletConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +521,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeKubeletConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeKubeletConfig_descriptor; } @java.lang.Override @@ -506,7 +542,8 @@ public com.google.container.v1.NodeKubeletConfig build() { @java.lang.Override public com.google.container.v1.NodeKubeletConfig buildPartial() { - com.google.container.v1.NodeKubeletConfig result = new com.google.container.v1.NodeKubeletConfig(this); + com.google.container.v1.NodeKubeletConfig result = + new com.google.container.v1.NodeKubeletConfig(this); result.cpuManagerPolicy_ = cpuManagerPolicy_; if (cpuCfsQuotaBuilder_ == null) { result.cpuCfsQuota_ = cpuCfsQuota_; @@ -523,38 +560,39 @@ public com.google.container.v1.NodeKubeletConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodeKubeletConfig) { - return mergeFrom((com.google.container.v1.NodeKubeletConfig)other); + return mergeFrom((com.google.container.v1.NodeKubeletConfig) other); } else { super.mergeFrom(other); return this; @@ -603,34 +641,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - cpuManagerPolicy_ = input.readStringRequireUtf8(); + case 10: + { + cpuManagerPolicy_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCpuCfsQuotaFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCpuCfsQuotaFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - podPidsLimit_ = input.readInt64(); + break; + } // case 26 + case 32: + { + podPidsLimit_ = input.readInt64(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -643,6 +684,8 @@ public Builder mergeFrom( private java.lang.Object cpuManagerPolicy_ = ""; /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -655,13 +698,13 @@ public Builder mergeFrom(
      * 
* * string cpu_manager_policy = 1; + * * @return The cpuManagerPolicy. */ public java.lang.String getCpuManagerPolicy() { java.lang.Object ref = cpuManagerPolicy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; @@ -670,6 +713,8 @@ public java.lang.String getCpuManagerPolicy() { } } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -682,15 +727,14 @@ public java.lang.String getCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; + * * @return The bytes for cpuManagerPolicy. */ - public com.google.protobuf.ByteString - getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -698,6 +742,8 @@ public java.lang.String getCpuManagerPolicy() { } } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -710,20 +756,22 @@ public java.lang.String getCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; + * * @param value The cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicy( - java.lang.String value) { + public Builder setCpuManagerPolicy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuManagerPolicy_ = value; onChanged(); return this; } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -736,15 +784,18 @@ public Builder setCpuManagerPolicy(
      * 
* * string cpu_manager_policy = 1; + * * @return This builder for chaining. */ public Builder clearCpuManagerPolicy() { - + cpuManagerPolicy_ = getDefaultInstance().getCpuManagerPolicy(); onChanged(); return this; } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -757,16 +808,16 @@ public Builder clearCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; + * * @param value The bytes for cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicyBytes( - com.google.protobuf.ByteString value) { + public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuManagerPolicy_ = value; onChanged(); return this; @@ -774,8 +825,13 @@ public Builder setCpuManagerPolicyBytes( private com.google.protobuf.BoolValue cpuCfsQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> cpuCfsQuotaBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + cpuCfsQuotaBuilder_; /** + * + * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -788,12 +844,15 @@ public Builder setCpuManagerPolicyBytes(
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return Whether the cpuCfsQuota field is set. */ public boolean hasCpuCfsQuota() { return cpuCfsQuotaBuilder_ != null || cpuCfsQuota_ != null; } /** + * + * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -806,16 +865,21 @@ public boolean hasCpuCfsQuota() {
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return The cpuCfsQuota. */ public com.google.protobuf.BoolValue getCpuCfsQuota() { if (cpuCfsQuotaBuilder_ == null) { - return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; + return cpuCfsQuota_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : cpuCfsQuota_; } else { return cpuCfsQuotaBuilder_.getMessage(); } } /** + * + * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -843,6 +907,8 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -856,8 +922,7 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
-    public Builder setCpuCfsQuota(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (cpuCfsQuotaBuilder_ == null) {
         cpuCfsQuota_ = builderForValue.build();
         onChanged();
@@ -868,6 +933,8 @@ public Builder setCpuCfsQuota(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -885,7 +952,9 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       if (cpuCfsQuotaBuilder_ == null) {
         if (cpuCfsQuota_ != null) {
           cpuCfsQuota_ =
-            com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cpuCfsQuota_ = value;
         }
@@ -897,6 +966,8 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -922,6 +993,8 @@ public Builder clearCpuCfsQuota() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -936,11 +1009,13 @@ public Builder clearCpuCfsQuota() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     public com.google.protobuf.BoolValue.Builder getCpuCfsQuotaBuilder() {
-      
+
       onChanged();
       return getCpuCfsQuotaFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -958,11 +1033,14 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
       if (cpuCfsQuotaBuilder_ != null) {
         return cpuCfsQuotaBuilder_.getMessageOrBuilder();
       } else {
-        return cpuCfsQuota_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_;
+        return cpuCfsQuota_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : cpuCfsQuota_;
       }
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -977,14 +1055,17 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getCpuCfsQuotaFieldBuilder() {
       if (cpuCfsQuotaBuilder_ == null) {
-        cpuCfsQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getCpuCfsQuota(),
-                getParentForChildren(),
-                isClean());
+        cpuCfsQuotaBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getCpuCfsQuota(), getParentForChildren(), isClean());
         cpuCfsQuota_ = null;
       }
       return cpuCfsQuotaBuilder_;
@@ -992,6 +1073,8 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
 
     private java.lang.Object cpuCfsQuotaPeriod_ = "";
     /**
+     *
+     *
      * 
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1001,13 +1084,13 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @return The cpuCfsQuotaPeriod. */ public java.lang.String getCpuCfsQuotaPeriod() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; @@ -1016,6 +1099,8 @@ public java.lang.String getCpuCfsQuotaPeriod() { } } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1025,15 +1110,14 @@ public java.lang.String getCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @return The bytes for cpuCfsQuotaPeriod. */ - public com.google.protobuf.ByteString - getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -1041,6 +1125,8 @@ public java.lang.String getCpuCfsQuotaPeriod() { } } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1050,20 +1136,22 @@ public java.lang.String getCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @param value The cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriod( - java.lang.String value) { + public Builder setCpuCfsQuotaPeriod(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1073,15 +1161,18 @@ public Builder setCpuCfsQuotaPeriod(
      * 
* * string cpu_cfs_quota_period = 3; + * * @return This builder for chaining. */ public Builder clearCpuCfsQuotaPeriod() { - + cpuCfsQuotaPeriod_ = getDefaultInstance().getCpuCfsQuotaPeriod(); onChanged(); return this; } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1091,23 +1182,25 @@ public Builder clearCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @param value The bytes for cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriodBytes( - com.google.protobuf.ByteString value) { + public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } - private long podPidsLimit_ ; + private long podPidsLimit_; /** + * + * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1116,6 +1209,7 @@ public Builder setCpuCfsQuotaPeriodBytes(
      * 
* * int64 pod_pids_limit = 4; + * * @return The podPidsLimit. */ @java.lang.Override @@ -1123,6 +1217,8 @@ public long getPodPidsLimit() { return podPidsLimit_; } /** + * + * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1131,16 +1227,19 @@ public long getPodPidsLimit() {
      * 
* * int64 pod_pids_limit = 4; + * * @param value The podPidsLimit to set. * @return This builder for chaining. */ public Builder setPodPidsLimit(long value) { - + podPidsLimit_ = value; onChanged(); return this; } /** + * + * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1149,17 +1248,18 @@ public Builder setPodPidsLimit(long value) {
      * 
* * int64 pod_pids_limit = 4; + * * @return This builder for chaining. */ public Builder clearPodPidsLimit() { - + podPidsLimit_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1169,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeKubeletConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeKubeletConfig) private static final com.google.container.v1.NodeKubeletConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeKubeletConfig(); } @@ -1183,27 +1283,27 @@ public static com.google.container.v1.NodeKubeletConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeKubeletConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeKubeletConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,6 +1318,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeKubeletConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java similarity index 84% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java index 54a2d51dec0d..be3530bb1888 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeKubeletConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeKubeletConfigOrBuilder extends +public interface NodeKubeletConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeKubeletConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -20,10 +38,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_manager_policy = 1; + * * @return The cpuManagerPolicy. */ java.lang.String getCpuManagerPolicy(); /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -36,12 +57,14 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_manager_policy = 1; + * * @return The bytes for cpuManagerPolicy. */ - com.google.protobuf.ByteString - getCpuManagerPolicyBytes(); + com.google.protobuf.ByteString getCpuManagerPolicyBytes(); /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -54,10 +77,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return Whether the cpuCfsQuota field is set. */ boolean hasCpuCfsQuota(); /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -70,10 +96,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return The cpuCfsQuota. */ com.google.protobuf.BoolValue getCpuCfsQuota(); /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -90,6 +119,8 @@ public interface NodeKubeletConfigOrBuilder extends
   com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder();
 
   /**
+   *
+   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -99,10 +130,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The cpuCfsQuotaPeriod. */ java.lang.String getCpuCfsQuotaPeriod(); /** + * + * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -112,12 +146,14 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The bytes for cpuCfsQuotaPeriod. */ - com.google.protobuf.ByteString - getCpuCfsQuotaPeriodBytes(); + com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes(); /** + * + * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -126,6 +162,7 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * int64 pod_pids_limit = 4; + * * @return The podPidsLimit. */ long getPodPidsLimit(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java similarity index 57% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java index 25fa3a560ed5..45faf3d07d5c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabels.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Collection of node-level [Kubernetes
  * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -11,74 +28,73 @@
  *
  * Protobuf type {@code google.container.v1.NodeLabels}
  */
-public final class NodeLabels extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeLabels extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeLabels)
     NodeLabelsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeLabels.newBuilder() to construct.
   private NodeLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NodeLabels() {
-  }
+
+  private NodeLabels() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeLabels.class, com.google.container.v1.NodeLabels.Builder.class);
+            com.google.container.v1.NodeLabels.class,
+            com.google.container.v1.NodeLabels.Builder.class);
   }
 
   public static final int LABELS_FIELD_NUMBER = 1;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.container.v1.ClusterServiceProto
+                .internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -87,28 +103,30 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -116,11 +134,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -128,16 +147,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -145,12 +164,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -158,6 +176,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,14 +188,9 @@ public final boolean isInitialized() { } @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); + 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); } @@ -186,15 +200,15 @@ public int getSerializedSize() { 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__); + 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; @@ -204,15 +218,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeLabels)) { return super.equals(obj); } com.google.container.v1.NodeLabels other = (com.google.container.v1.NodeLabels) obj; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,97 +246,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeLabels parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeLabels parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeLabels parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeLabels parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.NodeLabels parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeLabels parseFrom( 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.NodeLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeLabels parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeLabels parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeLabels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeLabels parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeLabels parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of node-level [Kubernetes
    * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -331,55 +350,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodeLabels}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeLabels)
       com.google.container.v1.NodeLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeLabels.class, com.google.container.v1.NodeLabels.Builder.class);
+              com.google.container.v1.NodeLabels.class,
+              com.google.container.v1.NodeLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeLabels.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +404,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeLabels_descriptor;
     }
 
     @java.lang.Override
@@ -421,38 +437,39 @@ public com.google.container.v1.NodeLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeLabels) {
-        return mergeFrom((com.google.container.v1.NodeLabels)other);
+        return mergeFrom((com.google.container.v1.NodeLabels) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,8 +478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1.NodeLabels other) {
       if (other == com.google.container.v1.NodeLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -489,20 +505,24 @@ public Builder mergeFrom(
             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());
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                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) {
@@ -512,24 +532,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabels() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -541,28 +561,30 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -570,11 +592,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -582,16 +605,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -599,12 +623,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -612,69 +635,66 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +704,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeLabels) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeLabels) private static final com.google.container.v1.NodeLabels DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeLabels(); } @@ -698,27 +718,27 @@ public static com.google.container.v1.NodeLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,6 +753,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java index 9ce8b7223585..f4310a7fede1 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeLabelsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeLabelsOrBuilder extends +public interface NodeLabelsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeLabels) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -16,30 +34,31 @@ public interface NodeLabelsOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -48,18 +67,18 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java index 33452b5029f6..73d5bde3aa7b 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * NodeManagement defines the set of node management services turned on for the
  * node pool.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1.NodeManagement}
  */
-public final class NodeManagement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeManagement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeManagement)
     NodeManagementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeManagement.newBuilder() to construct.
   private NodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NodeManagement() {
-  }
+
+  private NodeManagement() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeManagement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeManagement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeManagement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeManagement.class, com.google.container.v1.NodeManagement.Builder.class);
+            com.google.container.v1.NodeManagement.class,
+            com.google.container.v1.NodeManagement.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_FIELD_NUMBER = 1;
   private boolean autoUpgrade_;
   /**
+   *
+   *
    * 
    * A flag that specifies whether node auto-upgrade is enabled for the node
    * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * bool auto_upgrade = 1; + * * @return The autoUpgrade. */ @java.lang.Override @@ -68,6 +89,8 @@ public boolean getAutoUpgrade() { public static final int AUTO_REPAIR_FIELD_NUMBER = 2; private boolean autoRepair_; /** + * + * *
    * A flag that specifies whether the node auto-repair is enabled for the node
    * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -76,6 +99,7 @@ public boolean getAutoUpgrade() {
    * 
* * bool auto_repair = 2; + * * @return The autoRepair. */ @java.lang.Override @@ -86,11 +110,14 @@ public boolean getAutoRepair() { public static final int UPGRADE_OPTIONS_FIELD_NUMBER = 10; private com.google.container.v1.AutoUpgradeOptions upgradeOptions_; /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; + * * @return Whether the upgradeOptions field is set. */ @java.lang.Override @@ -98,18 +125,25 @@ public boolean hasUpgradeOptions() { return upgradeOptions_ != null; } /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; + * * @return The upgradeOptions. */ @java.lang.Override public com.google.container.v1.AutoUpgradeOptions getUpgradeOptions() { - return upgradeOptions_ == null ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; + return upgradeOptions_ == null + ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() + : upgradeOptions_; } /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
@@ -122,6 +156,7 @@ public com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +168,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (autoUpgrade_ != false) { output.writeBool(1, autoUpgrade_); } @@ -154,16 +188,13 @@ public int getSerializedSize() { size = 0; if (autoUpgrade_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, autoUpgrade_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, autoUpgrade_); } if (autoRepair_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, autoRepair_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, autoRepair_); } if (upgradeOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getUpgradeOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpgradeOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -173,21 +204,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeManagement)) { return super.equals(obj); } com.google.container.v1.NodeManagement other = (com.google.container.v1.NodeManagement) obj; - if (getAutoUpgrade() - != other.getAutoUpgrade()) return false; - if (getAutoRepair() - != other.getAutoRepair()) return false; + if (getAutoUpgrade() != other.getAutoUpgrade()) return false; + if (getAutoRepair() != other.getAutoRepair()) return false; if (hasUpgradeOptions() != other.hasUpgradeOptions()) return false; if (hasUpgradeOptions()) { - if (!getUpgradeOptions() - .equals(other.getUpgradeOptions())) return false; + if (!getUpgradeOptions().equals(other.getUpgradeOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -201,11 +229,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AUTO_UPGRADE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoUpgrade()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoUpgrade()); hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoRepair()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoRepair()); if (hasUpgradeOptions()) { hash = (37 * hash) + UPGRADE_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getUpgradeOptions().hashCode(); @@ -215,97 +241,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeManagement parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeManagement parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeManagement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeManagement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeManagement parseFrom( 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.NodeManagement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeManagement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeManagement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeManagement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeManagement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeManagement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeManagement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeManagement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeManagement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodeManagement defines the set of node management services turned on for the
    * node pool.
@@ -313,33 +346,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodeManagement}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeManagement)
       com.google.container.v1.NodeManagementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeManagement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeManagement.class, com.google.container.v1.NodeManagement.Builder.class);
+              com.google.container.v1.NodeManagement.class,
+              com.google.container.v1.NodeManagement.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeManagement.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,9 +389,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeManagement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
@@ -378,7 +410,8 @@ public com.google.container.v1.NodeManagement build() {
 
     @java.lang.Override
     public com.google.container.v1.NodeManagement buildPartial() {
-      com.google.container.v1.NodeManagement result = new com.google.container.v1.NodeManagement(this);
+      com.google.container.v1.NodeManagement result =
+          new com.google.container.v1.NodeManagement(this);
       result.autoUpgrade_ = autoUpgrade_;
       result.autoRepair_ = autoRepair_;
       if (upgradeOptionsBuilder_ == null) {
@@ -394,38 +427,39 @@ public com.google.container.v1.NodeManagement buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeManagement) {
-        return mergeFrom((com.google.container.v1.NodeManagement)other);
+        return mergeFrom((com.google.container.v1.NodeManagement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -469,29 +503,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              autoUpgrade_ = input.readBool();
-
-              break;
-            } // case 8
-            case 16: {
-              autoRepair_ = input.readBool();
-
-              break;
-            } // case 16
-            case 82: {
-              input.readMessage(
-                  getUpgradeOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                autoUpgrade_ = input.readBool();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                autoRepair_ = input.readBool();
+
+                break;
+              } // case 16
+            case 82:
+              {
+                input.readMessage(getUpgradeOptionsFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -502,8 +538,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean autoUpgrade_ ;
+    private boolean autoUpgrade_;
     /**
+     *
+     *
      * 
      * A flag that specifies whether node auto-upgrade is enabled for the node
      * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -511,6 +549,7 @@ public Builder mergeFrom(
      * 
* * bool auto_upgrade = 1; + * * @return The autoUpgrade. */ @java.lang.Override @@ -518,6 +557,8 @@ public boolean getAutoUpgrade() { return autoUpgrade_; } /** + * + * *
      * A flag that specifies whether node auto-upgrade is enabled for the node
      * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -525,16 +566,19 @@ public boolean getAutoUpgrade() {
      * 
* * bool auto_upgrade = 1; + * * @param value The autoUpgrade to set. * @return This builder for chaining. */ public Builder setAutoUpgrade(boolean value) { - + autoUpgrade_ = value; onChanged(); return this; } /** + * + * *
      * A flag that specifies whether node auto-upgrade is enabled for the node
      * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -542,17 +586,20 @@ public Builder setAutoUpgrade(boolean value) {
      * 
* * bool auto_upgrade = 1; + * * @return This builder for chaining. */ public Builder clearAutoUpgrade() { - + autoUpgrade_ = false; onChanged(); return this; } - private boolean autoRepair_ ; + private boolean autoRepair_; /** + * + * *
      * A flag that specifies whether the node auto-repair is enabled for the node
      * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -561,6 +608,7 @@ public Builder clearAutoUpgrade() {
      * 
* * bool auto_repair = 2; + * * @return The autoRepair. */ @java.lang.Override @@ -568,6 +616,8 @@ public boolean getAutoRepair() { return autoRepair_; } /** + * + * *
      * A flag that specifies whether the node auto-repair is enabled for the node
      * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -576,16 +626,19 @@ public boolean getAutoRepair() {
      * 
* * bool auto_repair = 2; + * * @param value The autoRepair to set. * @return This builder for chaining. */ public Builder setAutoRepair(boolean value) { - + autoRepair_ = value; onChanged(); return this; } /** + * + * *
      * A flag that specifies whether the node auto-repair is enabled for the node
      * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -594,10 +647,11 @@ public Builder setAutoRepair(boolean value) {
      * 
* * bool auto_repair = 2; + * * @return This builder for chaining. */ public Builder clearAutoRepair() { - + autoRepair_ = false; onChanged(); return this; @@ -605,34 +659,47 @@ public Builder clearAutoRepair() { private com.google.container.v1.AutoUpgradeOptions upgradeOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoUpgradeOptions, com.google.container.v1.AutoUpgradeOptions.Builder, com.google.container.v1.AutoUpgradeOptionsOrBuilder> upgradeOptionsBuilder_; + com.google.container.v1.AutoUpgradeOptions, + com.google.container.v1.AutoUpgradeOptions.Builder, + com.google.container.v1.AutoUpgradeOptionsOrBuilder> + upgradeOptionsBuilder_; /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; + * * @return Whether the upgradeOptions field is set. */ public boolean hasUpgradeOptions() { return upgradeOptionsBuilder_ != null || upgradeOptions_ != null; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; + * * @return The upgradeOptions. */ public com.google.container.v1.AutoUpgradeOptions getUpgradeOptions() { if (upgradeOptionsBuilder_ == null) { - return upgradeOptions_ == null ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; + return upgradeOptions_ == null + ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() + : upgradeOptions_; } else { return upgradeOptionsBuilder_.getMessage(); } } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -653,6 +720,8 @@ public Builder setUpgradeOptions(com.google.container.v1.AutoUpgradeOptions valu return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -671,6 +740,8 @@ public Builder setUpgradeOptions( return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -681,7 +752,9 @@ public Builder mergeUpgradeOptions(com.google.container.v1.AutoUpgradeOptions va if (upgradeOptionsBuilder_ == null) { if (upgradeOptions_ != null) { upgradeOptions_ = - com.google.container.v1.AutoUpgradeOptions.newBuilder(upgradeOptions_).mergeFrom(value).buildPartial(); + com.google.container.v1.AutoUpgradeOptions.newBuilder(upgradeOptions_) + .mergeFrom(value) + .buildPartial(); } else { upgradeOptions_ = value; } @@ -693,6 +766,8 @@ public Builder mergeUpgradeOptions(com.google.container.v1.AutoUpgradeOptions va return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -711,6 +786,8 @@ public Builder clearUpgradeOptions() { return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -718,11 +795,13 @@ public Builder clearUpgradeOptions() { * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; */ public com.google.container.v1.AutoUpgradeOptions.Builder getUpgradeOptionsBuilder() { - + onChanged(); return getUpgradeOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -733,11 +812,14 @@ public com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBu if (upgradeOptionsBuilder_ != null) { return upgradeOptionsBuilder_.getMessageOrBuilder(); } else { - return upgradeOptions_ == null ? - com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; + return upgradeOptions_ == null + ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() + : upgradeOptions_; } } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -745,21 +827,24 @@ public com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBu * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoUpgradeOptions, com.google.container.v1.AutoUpgradeOptions.Builder, com.google.container.v1.AutoUpgradeOptionsOrBuilder> + com.google.container.v1.AutoUpgradeOptions, + com.google.container.v1.AutoUpgradeOptions.Builder, + com.google.container.v1.AutoUpgradeOptionsOrBuilder> getUpgradeOptionsFieldBuilder() { if (upgradeOptionsBuilder_ == null) { - upgradeOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AutoUpgradeOptions, com.google.container.v1.AutoUpgradeOptions.Builder, com.google.container.v1.AutoUpgradeOptionsOrBuilder>( - getUpgradeOptions(), - getParentForChildren(), - isClean()); + upgradeOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AutoUpgradeOptions, + com.google.container.v1.AutoUpgradeOptions.Builder, + com.google.container.v1.AutoUpgradeOptionsOrBuilder>( + getUpgradeOptions(), getParentForChildren(), isClean()); upgradeOptions_ = null; } return upgradeOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +854,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeManagement) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeManagement) private static final com.google.container.v1.NodeManagement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeManagement(); } @@ -783,27 +868,27 @@ public static com.google.container.v1.NodeManagement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeManagement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -818,6 +903,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeManagement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java index 04cd94ad14f8..552c8cccdd4c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeManagementOrBuilder extends +public interface NodeManagementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeManagement) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A flag that specifies whether node auto-upgrade is enabled for the node
    * pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
@@ -15,11 +33,14 @@ public interface NodeManagementOrBuilder extends
    * 
* * bool auto_upgrade = 1; + * * @return The autoUpgrade. */ boolean getAutoUpgrade(); /** + * + * *
    * A flag that specifies whether the node auto-repair is enabled for the node
    * pool. If enabled, the nodes in this node pool will be monitored and, if
@@ -28,29 +49,38 @@ public interface NodeManagementOrBuilder extends
    * 
* * bool auto_repair = 2; + * * @return The autoRepair. */ boolean getAutoRepair(); /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; + * * @return Whether the upgradeOptions field is set. */ boolean hasUpgradeOptions(); /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; + * * @return The upgradeOptions. */ com.google.container.v1.AutoUpgradeOptions getUpgradeOptions(); /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java index ee5c30909f28..bb957b6fe6ce 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Parameters for node pool-level network config.
  * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig} */ -public final class NodeNetworkConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeNetworkConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeNetworkConfig) NodeNetworkConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeNetworkConfig.newBuilder() to construct. private NodeNetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NodeNetworkConfig() { podRange_ = ""; podIpv4CidrBlock_ = ""; @@ -26,116 +44,141 @@ private NodeNetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeNetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.class, com.google.container.v1.NodeNetworkConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.class, + com.google.container.v1.NodeNetworkConfig.Builder.class); } - public interface NetworkPerformanceConfigOrBuilder extends + public interface NetworkPerformanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return Whether the totalEgressBandwidthTier field is set. */ boolean hasTotalEgressBandwidthTier(); /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ int getTotalEgressBandwidthTierValue(); /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The totalEgressBandwidthTier. */ - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier(); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier(); } /** + * + * *
    * Configuration of all network bandwidth tiers
    * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class NetworkPerformanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NetworkPerformanceConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) NetworkPerformanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkPerformanceConfig.newBuilder() to construct. private NetworkPerformanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkPerformanceConfig() { totalEgressBandwidthTier_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkPerformanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); } /** + * + * *
      * Node network tier
      * 
* * Protobuf enum {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} */ - public enum Tier - implements com.google.protobuf.ProtocolMessageEnum { + public enum Tier implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value
        * 
@@ -144,6 +187,8 @@ public enum Tier */ TIER_UNSPECIFIED(0), /** + * + * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -155,6 +200,8 @@ public enum Tier ; /** + * + * *
        * Default value
        * 
@@ -163,6 +210,8 @@ public enum Tier */ public static final int TIER_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -171,7 +220,6 @@ public enum Tier */ public static final int TIER_1_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -196,48 +244,49 @@ public static Tier valueOf(int value) { */ public static Tier forNumber(int value) { switch (value) { - case 0: return TIER_UNSPECIFIED; - case 1: return TIER_1; - default: return null; + case 0: + return TIER_UNSPECIFIED; + case 1: + return TIER_1; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Tier> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tier findValueByNumber(int number) { - return Tier.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Tier findValueByNumber(int number) { + return Tier.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final Tier[] VALUES = values(); - public static Tier valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -258,42 +307,66 @@ private Tier(int value) { public static final int TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 1; private int totalEgressBandwidthTier_; /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override public int getTotalEgressBandwidthTierValue() { + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The totalEgressBandwidthTier. */ - @java.lang.Override public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { + @java.lang.Override + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); - return result == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,8 +378,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, totalEgressBandwidthTier_); } @@ -320,8 +392,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, totalEgressBandwidthTier_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, totalEgressBandwidthTier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,12 +402,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig)) { return super.equals(obj); } - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other = (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) obj; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other = + (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) obj; if (hasTotalEgressBandwidthTier() != other.hasTotalEgressBandwidthTier()) return false; if (hasTotalEgressBandwidthTier()) { @@ -363,87 +435,95 @@ public int hashCode() { } public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig 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.NodeNetworkConfig.NetworkPerformanceConfig + 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -453,39 +533,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration of all network bandwidth tiers
      * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); } - // Construct using com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() - private Builder() { + // Construct using + // com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -495,14 +578,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { - return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance(); + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { + return com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance(); } @java.lang.Override @@ -516,7 +601,8 @@ public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig build( @java.lang.Override public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig buildPartial() { - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig result = new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(this); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig result = + new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -532,46 +618,53 @@ public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodeNetworkConfig.NetworkPerformanceConfig) { - return mergeFrom((com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig)other); + return mergeFrom( + (com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other) { - if (other == com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig other) { + if (other + == com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) return this; if (other.hasTotalEgressBandwidthTier()) { setTotalEgressBandwidthTier(other.getTotalEgressBandwidthTier()); } @@ -601,17 +694,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - totalEgressBandwidthTier_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + totalEgressBandwidthTier_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -621,37 +716,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int totalEgressBandwidthTier_ = 0; /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override public int getTotalEgressBandwidthTierValue() { + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @param value The enum numeric value on the wire for totalEgressBandwidthTier to set. * @return This builder for chaining. */ @@ -662,29 +775,45 @@ public Builder setTotalEgressBandwidthTierValue(int value) { return this; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The totalEgressBandwidthTier. */ @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); - return result == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED + : result; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @param value The totalEgressBandwidthTier to set. * @return This builder for chaining. */ - public Builder setTotalEgressBandwidthTier(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + public Builder setTotalEgressBandwidthTier( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { if (value == null) { throw new NullPointerException(); } @@ -694,11 +823,16 @@ public Builder setTotalEgressBandwidthTier(com.google.container.v1.NodeNetworkCo return this; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return This builder for chaining. */ public Builder clearTotalEgressBandwidthTier() { @@ -707,6 +841,7 @@ public Builder clearTotalEgressBandwidthTier() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -719,41 +854,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig) - private static final com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig DEFAULT_INSTANCE; + private static final com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig(); } - public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstance() { + public static com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPerformanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPerformanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -765,16 +903,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int CREATE_POD_RANGE_FIELD_NUMBER = 4; private boolean createPodRange_; /** + * + * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -787,6 +927,7 @@ public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getDef
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The createPodRange. */ @java.lang.Override @@ -797,6 +938,8 @@ public boolean getCreatePodRange() { public static final int POD_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object podRange_; /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -807,6 +950,7 @@ public boolean getCreatePodRange() {
    * 
* * string pod_range = 5; + * * @return The podRange. */ @java.lang.Override @@ -815,14 +959,15 @@ public java.lang.String getPodRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; } } /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -833,16 +978,15 @@ public java.lang.String getPodRange() {
    * 
* * string pod_range = 5; + * * @return The bytes for podRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getPodRangeBytes() { + public com.google.protobuf.ByteString getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podRange_ = b; return b; } else { @@ -853,6 +997,8 @@ public java.lang.String getPodRange() { public static final int POD_IPV4_CIDR_BLOCK_FIELD_NUMBER = 6; private volatile java.lang.Object podIpv4CidrBlock_; /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -867,6 +1013,7 @@ public java.lang.String getPodRange() {
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The podIpv4CidrBlock. */ @java.lang.Override @@ -875,14 +1022,15 @@ public java.lang.String getPodIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -897,16 +1045,15 @@ public java.lang.String getPodIpv4CidrBlock() {
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The bytes for podIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -917,6 +1064,8 @@ public java.lang.String getPodIpv4CidrBlock() { public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 9; private boolean enablePrivateNodes_; /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -924,6 +1073,7 @@ public java.lang.String getPodIpv4CidrBlock() {
    * 
* * optional bool enable_private_nodes = 9; + * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -931,6 +1081,8 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -938,6 +1090,7 @@ public boolean hasEnablePrivateNodes() {
    * 
* * optional bool enable_private_nodes = 9; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -946,13 +1099,19 @@ public boolean getEnablePrivateNodes() { } public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER = 11; - private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; + private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return Whether the networkPerformanceConfig field is set. */ @java.lang.Override @@ -960,30 +1119,46 @@ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return The networkPerformanceConfig. */ @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { - return networkPerformanceConfig_ == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() + : networkPerformanceConfig_; } /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ @java.lang.Override - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { - return networkPerformanceConfig_ == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() + : networkPerformanceConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -995,8 +1170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createPodRange_ != false) { output.writeBool(4, createPodRange_); } @@ -1022,8 +1196,7 @@ public int getSerializedSize() { size = 0; if (createPodRange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, createPodRange_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, createPodRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, podRange_); @@ -1032,12 +1205,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, podIpv4CidrBlock_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enablePrivateNodes_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getNetworkPerformanceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, getNetworkPerformanceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1047,28 +1220,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeNetworkConfig)) { return super.equals(obj); } - com.google.container.v1.NodeNetworkConfig other = (com.google.container.v1.NodeNetworkConfig) obj; + com.google.container.v1.NodeNetworkConfig other = + (com.google.container.v1.NodeNetworkConfig) obj; - if (getCreatePodRange() - != other.getCreatePodRange()) return false; - if (!getPodRange() - .equals(other.getPodRange())) return false; - if (!getPodIpv4CidrBlock() - .equals(other.getPodIpv4CidrBlock())) return false; + if (getCreatePodRange() != other.getCreatePodRange()) return false; + if (!getPodRange().equals(other.getPodRange())) return false; + if (!getPodIpv4CidrBlock().equals(other.getPodIpv4CidrBlock())) return false; if (hasEnablePrivateNodes() != other.hasEnablePrivateNodes()) return false; if (hasEnablePrivateNodes()) { - if (getEnablePrivateNodes() - != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; } if (hasNetworkPerformanceConfig() != other.hasNetworkPerformanceConfig()) return false; if (hasNetworkPerformanceConfig()) { - if (!getNetworkPerformanceConfig() - .equals(other.getNetworkPerformanceConfig())) return false; + if (!getNetworkPerformanceConfig().equals(other.getNetworkPerformanceConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1082,16 +1251,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CREATE_POD_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCreatePodRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreatePodRange()); hash = (37 * hash) + POD_RANGE_FIELD_NUMBER; hash = (53 * hash) + getPodRange().hashCode(); hash = (37 * hash) + POD_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getPodIpv4CidrBlock().hashCode(); if (hasEnablePrivateNodes()) { hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); } if (hasNetworkPerformanceConfig()) { hash = (37 * hash) + NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER; @@ -1102,118 +1269,127 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeNetworkConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeNetworkConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeNetworkConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeNetworkConfig parseFrom( 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.NodeNetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeNetworkConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeNetworkConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeNetworkConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodeNetworkConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodeNetworkConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeNetworkConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeNetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeNetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeNetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters for node pool-level network config.
    * 
* * Protobuf type {@code google.container.v1.NodeNetworkConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodeNetworkConfig) com.google.container.v1.NodeNetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodeNetworkConfig.class, com.google.container.v1.NodeNetworkConfig.Builder.class); + com.google.container.v1.NodeNetworkConfig.class, + com.google.container.v1.NodeNetworkConfig.Builder.class); } // Construct using com.google.container.v1.NodeNetworkConfig.newBuilder() @@ -1221,17 +1397,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNetworkPerformanceConfigFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1253,9 +1429,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeNetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodeNetworkConfig_descriptor; } @java.lang.Override @@ -1274,7 +1450,8 @@ public com.google.container.v1.NodeNetworkConfig build() { @java.lang.Override public com.google.container.v1.NodeNetworkConfig buildPartial() { - com.google.container.v1.NodeNetworkConfig result = new com.google.container.v1.NodeNetworkConfig(this); + com.google.container.v1.NodeNetworkConfig result = + new com.google.container.v1.NodeNetworkConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.createPodRange_ = createPodRange_; @@ -1301,38 +1478,39 @@ public com.google.container.v1.NodeNetworkConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodeNetworkConfig) { - return mergeFrom((com.google.container.v1.NodeNetworkConfig)other); + return mergeFrom((com.google.container.v1.NodeNetworkConfig) other); } else { super.mergeFrom(other); return this; @@ -1384,39 +1562,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 32: { - createPodRange_ = input.readBool(); + case 32: + { + createPodRange_ = input.readBool(); - break; - } // case 32 - case 42: { - podRange_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: + { + podRange_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: { - podIpv4CidrBlock_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: + { + podIpv4CidrBlock_ = input.readStringRequireUtf8(); - break; - } // case 50 - case 72: { - enablePrivateNodes_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 72 - case 90: { - input.readMessage( - getNetworkPerformanceConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + case 72: + { + enablePrivateNodes_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 72 + case 90: + { + input.readMessage( + getNetworkPerformanceConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1426,10 +1609,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean createPodRange_ ; + private boolean createPodRange_; /** + * + * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1442,6 +1628,7 @@ public Builder mergeFrom(
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The createPodRange. */ @java.lang.Override @@ -1449,6 +1636,8 @@ public boolean getCreatePodRange() { return createPodRange_; } /** + * + * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1461,16 +1650,19 @@ public boolean getCreatePodRange() {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The createPodRange to set. * @return This builder for chaining. */ public Builder setCreatePodRange(boolean value) { - + createPodRange_ = value; onChanged(); return this; } /** + * + * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1483,10 +1675,11 @@ public Builder setCreatePodRange(boolean value) {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCreatePodRange() { - + createPodRange_ = false; onChanged(); return this; @@ -1494,6 +1687,8 @@ public Builder clearCreatePodRange() { private java.lang.Object podRange_ = ""; /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1504,13 +1699,13 @@ public Builder clearCreatePodRange() {
      * 
* * string pod_range = 5; + * * @return The podRange. */ public java.lang.String getPodRange() { java.lang.Object ref = podRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; @@ -1519,6 +1714,8 @@ public java.lang.String getPodRange() { } } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1529,15 +1726,14 @@ public java.lang.String getPodRange() {
      * 
* * string pod_range = 5; + * * @return The bytes for podRange. */ - public com.google.protobuf.ByteString - getPodRangeBytes() { + public com.google.protobuf.ByteString getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podRange_ = b; return b; } else { @@ -1545,6 +1741,8 @@ public java.lang.String getPodRange() { } } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1555,20 +1753,22 @@ public java.lang.String getPodRange() {
      * 
* * string pod_range = 5; + * * @param value The podRange to set. * @return This builder for chaining. */ - public Builder setPodRange( - java.lang.String value) { + public Builder setPodRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podRange_ = value; onChanged(); return this; } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1579,15 +1779,18 @@ public Builder setPodRange(
      * 
* * string pod_range = 5; + * * @return This builder for chaining. */ public Builder clearPodRange() { - + podRange_ = getDefaultInstance().getPodRange(); onChanged(); return this; } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1598,16 +1801,16 @@ public Builder clearPodRange() {
      * 
* * string pod_range = 5; + * * @param value The bytes for podRange to set. * @return This builder for chaining. */ - public Builder setPodRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setPodRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podRange_ = value; onChanged(); return this; @@ -1615,6 +1818,8 @@ public Builder setPodRangeBytes( private java.lang.Object podIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1629,13 +1834,13 @@ public Builder setPodRangeBytes(
      * 
* * string pod_ipv4_cidr_block = 6; + * * @return The podIpv4CidrBlock. */ public java.lang.String getPodIpv4CidrBlock() { java.lang.Object ref = podIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; @@ -1644,6 +1849,8 @@ public java.lang.String getPodIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1658,15 +1865,14 @@ public java.lang.String getPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; + * * @return The bytes for podIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -1674,6 +1880,8 @@ public java.lang.String getPodIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1688,20 +1896,22 @@ public java.lang.String getPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; + * * @param value The podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlock( - java.lang.String value) { + public Builder setPodIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1716,15 +1926,18 @@ public Builder setPodIpv4CidrBlock(
      * 
* * string pod_ipv4_cidr_block = 6; + * * @return This builder for chaining. */ public Builder clearPodIpv4CidrBlock() { - + podIpv4CidrBlock_ = getDefaultInstance().getPodIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1739,23 +1952,25 @@ public Builder clearPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; + * * @param value The bytes for podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean enablePrivateNodes_ ; + private boolean enablePrivateNodes_; /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1763,6 +1978,7 @@ public Builder setPodIpv4CidrBlockBytes(
      * 
* * optional bool enable_private_nodes = 9; + * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -1770,6 +1986,8 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1777,6 +1995,7 @@ public boolean hasEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -1784,6 +2003,8 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1791,6 +2012,7 @@ public boolean getEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; + * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ @@ -1801,6 +2023,8 @@ public Builder setEnablePrivateNodes(boolean value) { return this; } /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1808,6 +2032,7 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * optional bool enable_private_nodes = 9; + * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { @@ -1817,43 +2042,66 @@ public Builder clearEnablePrivateNodes() { return this; } - private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; + private com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> networkPerformanceConfigBuilder_; + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + networkPerformanceConfigBuilder_; /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return Whether the networkPerformanceConfig field is set. */ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return The networkPerformanceConfig. */ - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { - return networkPerformanceConfig_ == null ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; } else { return networkPerformanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public Builder setNetworkPerformanceConfig(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder setNetworkPerformanceConfig( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1867,14 +2115,19 @@ public Builder setNetworkPerformanceConfig(com.google.container.v1.NodeNetworkCo return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ public Builder setNetworkPerformanceConfig( - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder builderForValue) { + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + builderForValue) { if (networkPerformanceConfigBuilder_ == null) { networkPerformanceConfig_ = builderForValue.build(); onChanged(); @@ -1885,19 +2138,29 @@ public Builder setNetworkPerformanceConfig( return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public Builder mergeNetworkPerformanceConfig(com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder mergeNetworkPerformanceConfig( + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - networkPerformanceConfig_ != null && - networkPerformanceConfig_ != com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && networkPerformanceConfig_ != null + && networkPerformanceConfig_ + != com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) { networkPerformanceConfig_ = - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder(networkPerformanceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder( + networkPerformanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { networkPerformanceConfig_ = value; } @@ -1909,11 +2172,15 @@ public Builder mergeNetworkPerformanceConfig(com.google.container.v1.NodeNetwork return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ public Builder clearNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { @@ -1926,55 +2193,74 @@ public Builder clearNetworkPerformanceConfig() { return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + getNetworkPerformanceConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNetworkPerformanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { + public com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { if (networkPerformanceConfigBuilder_ != null) { return networkPerformanceConfigBuilder_.getMessageOrBuilder(); } else { - return networkPerformanceConfig_ == null ? - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + return networkPerformanceConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; } } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> getNetworkPerformanceConfigFieldBuilder() { if (networkPerformanceConfigBuilder_ == null) { - networkPerformanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( - getNetworkPerformanceConfig(), - getParentForChildren(), - isClean()); + networkPerformanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( + getNetworkPerformanceConfig(), getParentForChildren(), isClean()); networkPerformanceConfig_ = null; } return networkPerformanceConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1984,12 +2270,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeNetworkConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeNetworkConfig) private static final com.google.container.v1.NodeNetworkConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeNetworkConfig(); } @@ -1998,27 +2284,27 @@ public static com.google.container.v1.NodeNetworkConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeNetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeNetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2033,6 +2319,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeNetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java similarity index 77% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java index d5b386e12354..989675a008b4 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeNetworkConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeNetworkConfigOrBuilder extends +public interface NodeNetworkConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeNetworkConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -20,11 +38,14 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The createPodRange. */ boolean getCreatePodRange(); /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -35,10 +56,13 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_range = 5; + * * @return The podRange. */ java.lang.String getPodRange(); /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -49,12 +73,14 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_range = 5; + * * @return The bytes for podRange. */ - com.google.protobuf.ByteString - getPodRangeBytes(); + com.google.protobuf.ByteString getPodRangeBytes(); /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -69,10 +95,13 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The podIpv4CidrBlock. */ java.lang.String getPodIpv4CidrBlock(); /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -87,12 +116,14 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The bytes for podIpv4CidrBlock. */ - com.google.protobuf.ByteString - getPodIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getPodIpv4CidrBlockBytes(); /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -100,10 +131,13 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * optional bool enable_private_nodes = 9; + * * @return Whether the enablePrivateNodes field is set. */ boolean hasEnablePrivateNodes(); /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -111,34 +145,50 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * optional bool enable_private_nodes = 9; + * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return Whether the networkPerformanceConfig field is set. */ boolean hasNetworkPerformanceConfig(); /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return The networkPerformanceConfig. */ com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig(); /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder(); + com.google.container.v1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 76% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index 26a7b4f5efc7..612df7aa2280 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * NodePool contains the name and configuration for a cluster's node pool.
  * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.container.v1.NodePool}
  */
-public final class NodePool extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodePool extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodePool)
     NodePoolOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodePool.newBuilder() to construct.
   private NodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodePool() {
     name_ = "";
     locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -37,39 +55,42 @@ private NodePool() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodePool();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodePool_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodePool_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.container.v1.NodePool.class, com.google.container.v1.NodePool.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The current status of the node pool instance.
    * 
* * Protobuf enum {@code google.container.v1.NodePool.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -78,6 +99,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -86,6 +109,8 @@ public enum Status */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -95,6 +120,8 @@ public enum Status
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -106,6 +133,8 @@ public enum Status
      */
     RUNNING_WITH_ERROR(3),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -116,6 +145,8 @@ public enum Status
      */
     RECONCILING(4),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -124,6 +155,8 @@ public enum Status */ STOPPING(5), /** + * + * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -136,6 +169,8 @@ public enum Status
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -144,6 +179,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -152,6 +189,8 @@ public enum Status */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -161,6 +200,8 @@ public enum Status
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -172,6 +213,8 @@ public enum Status
      */
     public static final int RUNNING_WITH_ERROR_VALUE = 3;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -182,6 +225,8 @@ public enum Status
      */
     public static final int RECONCILING_VALUE = 4;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -190,6 +235,8 @@ public enum Status */ public static final int STOPPING_VALUE = 5; /** + * + * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -199,7 +246,6 @@ public enum Status
      */
     public static final int ERROR_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -224,53 +270,57 @@ public static Status valueOf(int 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 RUNNING_WITH_ERROR;
-        case 4: return RECONCILING;
-        case 5: return STOPPING;
-        case 6: return ERROR;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATUS_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RUNNING_WITH_ERROR;
+        case 4:
+          return RECONCILING;
+        case 5:
+          return STOPPING;
+        case 6:
+          return ERROR;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Status> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Status findValueByNumber(int number) {
-              return Status.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.NodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -287,22 +337,28 @@ private Status(int value) {
     // @@protoc_insertion_point(enum_scope:google.container.v1.NodePool.Status)
   }
 
-  public interface UpgradeSettingsOrBuilder extends
+  public interface UpgradeSettingsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpgradeSettings)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; + * * @return The maxSurge. */ int getMaxSurge(); /** + * + * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -310,57 +366,75 @@ public interface UpgradeSettingsOrBuilder extends
      * 
* * int32 max_unavailable = 2; + * * @return The maxUnavailable. */ int getMaxUnavailable(); /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return Whether the strategy field is set. */ boolean hasStrategy(); /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return The enum numeric value on the wire for strategy. */ int getStrategyValue(); /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return The strategy. */ com.google.container.v1.NodePoolUpdateStrategy getStrategy(); /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * * @return Whether the blueGreenSettings field is set. */ boolean hasBlueGreenSettings(); /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * * @return The blueGreenSettings. */ com.google.container.v1.BlueGreenSettings getBlueGreenSettings(); /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -370,6 +444,8 @@ public interface UpgradeSettingsOrBuilder extends com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder(); } /** + * + * *
    * These upgrade settings control the level of parallelism and the level of
    * disruption caused by an upgrade.
@@ -413,54 +489,59 @@ public interface UpgradeSettingsOrBuilder extends
    *
    * Protobuf type {@code google.container.v1.NodePool.UpgradeSettings}
    */
-  public static final class UpgradeSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class UpgradeSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpgradeSettings)
       UpgradeSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use UpgradeSettings.newBuilder() to construct.
     private UpgradeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private UpgradeSettings() {
       strategy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new UpgradeSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePool.UpgradeSettings.class, com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
+              com.google.container.v1.NodePool.UpgradeSettings.class,
+              com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
     }
 
     private int bitField0_;
     public static final int MAX_SURGE_FIELD_NUMBER = 1;
     private int maxSurge_;
     /**
+     *
+     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; + * * @return The maxSurge. */ @java.lang.Override @@ -471,6 +552,8 @@ public int getMaxSurge() { public static final int MAX_UNAVAILABLE_FIELD_NUMBER = 2; private int maxUnavailable_; /** + * + * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -478,6 +561,7 @@ public int getMaxSurge() {
      * 
* * int32 max_unavailable = 2; + * * @return The maxUnavailable. */ @java.lang.Override @@ -488,49 +572,65 @@ public int getMaxUnavailable() { public static final int STRATEGY_FIELD_NUMBER = 3; private int strategy_; /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return Whether the strategy field is set. */ - @java.lang.Override public boolean hasStrategy() { + @java.lang.Override + public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override public int getStrategyValue() { + @java.lang.Override + public int getStrategyValue() { return strategy_; } /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return The strategy. */ - @java.lang.Override public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { + @java.lang.Override + public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolUpdateStrategy result = com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); + com.google.container.v1.NodePoolUpdateStrategy result = + com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); return result == null ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED : result; } public static final int BLUE_GREEN_SETTINGS_FIELD_NUMBER = 4; private com.google.container.v1.BlueGreenSettings blueGreenSettings_; /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * * @return Whether the blueGreenSettings field is set. */ @java.lang.Override @@ -538,18 +638,25 @@ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * * @return The blueGreenSettings. */ @java.lang.Override public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { - return blueGreenSettings_ == null ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -558,10 +665,13 @@ public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { */ @java.lang.Override public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { - return blueGreenSettings_ == null ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -573,8 +683,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxSurge_ != 0) { output.writeInt32(1, maxSurge_); } @@ -597,20 +706,16 @@ public int getSerializedSize() { size = 0; if (maxSurge_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxSurge_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxSurge_); } if (maxUnavailable_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxUnavailable_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxUnavailable_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, strategy_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, strategy_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getBlueGreenSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBlueGreenSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -620,25 +725,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.UpgradeSettings)) { return super.equals(obj); } - com.google.container.v1.NodePool.UpgradeSettings other = (com.google.container.v1.NodePool.UpgradeSettings) obj; + com.google.container.v1.NodePool.UpgradeSettings other = + (com.google.container.v1.NodePool.UpgradeSettings) obj; - if (getMaxSurge() - != other.getMaxSurge()) return false; - if (getMaxUnavailable() - != other.getMaxUnavailable()) return false; + if (getMaxSurge() != other.getMaxSurge()) return false; + if (getMaxUnavailable() != other.getMaxUnavailable()) return false; if (hasStrategy() != other.hasStrategy()) return false; if (hasStrategy()) { if (strategy_ != other.strategy_) return false; } if (hasBlueGreenSettings() != other.hasBlueGreenSettings()) return false; if (hasBlueGreenSettings()) { - if (!getBlueGreenSettings() - .equals(other.getBlueGreenSettings())) return false; + if (!getBlueGreenSettings().equals(other.getBlueGreenSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -669,87 +772,93 @@ public int hashCode() { } public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpgradeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( 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.NodePool.UpgradeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePool.UpgradeSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.UpgradeSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodePool.UpgradeSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpgradeSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpgradeSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodePool.UpgradeSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -759,6 +868,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * These upgrade settings control the level of parallelism and the level of
      * disruption caused by an upgrade.
@@ -802,21 +913,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1.NodePool.UpgradeSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpgradeSettings)
         com.google.container.v1.NodePool.UpgradeSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1.NodePool.UpgradeSettings.class, com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
+                com.google.container.v1.NodePool.UpgradeSettings.class,
+                com.google.container.v1.NodePool.UpgradeSettings.Builder.class);
       }
 
       // Construct using com.google.container.v1.NodePool.UpgradeSettings.newBuilder()
@@ -824,17 +938,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getBlueGreenSettingsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -854,9 +968,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
@@ -875,7 +989,8 @@ public com.google.container.v1.NodePool.UpgradeSettings build() {
 
       @java.lang.Override
       public com.google.container.v1.NodePool.UpgradeSettings buildPartial() {
-        com.google.container.v1.NodePool.UpgradeSettings result = new com.google.container.v1.NodePool.UpgradeSettings(this);
+        com.google.container.v1.NodePool.UpgradeSettings result =
+            new com.google.container.v1.NodePool.UpgradeSettings(this);
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         result.maxSurge_ = maxSurge_;
@@ -901,38 +1016,41 @@ public com.google.container.v1.NodePool.UpgradeSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.UpgradeSettings) {
-          return mergeFrom((com.google.container.v1.NodePool.UpgradeSettings)other);
+          return mergeFrom((com.google.container.v1.NodePool.UpgradeSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -940,7 +1058,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1.NodePool.UpgradeSettings other) {
-        if (other == com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance()) return this;
+        if (other == com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance())
+          return this;
         if (other.getMaxSurge() != 0) {
           setMaxSurge(other.getMaxSurge());
         }
@@ -979,34 +1098,38 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                maxSurge_ = input.readInt32();
+              case 8:
+                {
+                  maxSurge_ = input.readInt32();
 
-                break;
-              } // case 8
-              case 16: {
-                maxUnavailable_ = input.readInt32();
+                  break;
+                } // case 8
+              case 16:
+                {
+                  maxUnavailable_ = input.readInt32();
 
-                break;
-              } // case 16
-              case 24: {
-                strategy_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 24
-              case 34: {
-                input.readMessage(
-                    getBlueGreenSettingsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 16
+              case 24:
+                {
+                  strategy_ = input.readEnum();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 24
+              case 34:
+                {
+                  input.readMessage(
+                      getBlueGreenSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000002;
+                  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) {
@@ -1016,16 +1139,20 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private int maxSurge_ ;
+      private int maxSurge_;
       /**
+       *
+       *
        * 
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; + * * @return The maxSurge. */ @java.lang.Override @@ -1033,39 +1160,47 @@ public int getMaxSurge() { return maxSurge_; } /** + * + * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; + * * @param value The maxSurge to set. * @return This builder for chaining. */ public Builder setMaxSurge(int value) { - + maxSurge_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; + * * @return This builder for chaining. */ public Builder clearMaxSurge() { - + maxSurge_ = 0; onChanged(); return this; } - private int maxUnavailable_ ; + private int maxUnavailable_; /** + * + * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1073,6 +1208,7 @@ public Builder clearMaxSurge() {
        * 
* * int32 max_unavailable = 2; + * * @return The maxUnavailable. */ @java.lang.Override @@ -1080,6 +1216,8 @@ public int getMaxUnavailable() { return maxUnavailable_; } /** + * + * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1087,16 +1225,19 @@ public int getMaxUnavailable() {
        * 
* * int32 max_unavailable = 2; + * * @param value The maxUnavailable to set. * @return This builder for chaining. */ public Builder setMaxUnavailable(int value) { - + maxUnavailable_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1104,10 +1245,11 @@ public Builder setMaxUnavailable(int value) {
        * 
* * int32 max_unavailable = 2; + * * @return This builder for chaining. */ public Builder clearMaxUnavailable() { - + maxUnavailable_ = 0; onChanged(); return this; @@ -1115,33 +1257,44 @@ public Builder clearMaxUnavailable() { private int strategy_ = 0; /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return Whether the strategy field is set. */ - @java.lang.Override public boolean hasStrategy() { + @java.lang.Override + public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override public int getStrategyValue() { + @java.lang.Override + public int getStrategyValue() { return strategy_; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @param value The enum numeric value on the wire for strategy to set. * @return This builder for chaining. */ @@ -1152,25 +1305,34 @@ public Builder setStrategyValue(int value) { return this; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return The strategy. */ @java.lang.Override public com.google.container.v1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolUpdateStrategy result = com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); - return result == null ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED : result; + com.google.container.v1.NodePoolUpdateStrategy result = + com.google.container.v1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null + ? com.google.container.v1.NodePoolUpdateStrategy.UNRECOGNIZED + : result; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @param value The strategy to set. * @return This builder for chaining. */ @@ -1184,11 +1346,14 @@ public Builder setStrategy(com.google.container.v1.NodePoolUpdateStrategy value) return this; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1.NodePoolUpdateStrategy strategy = 3; + * * @return This builder for chaining. */ public Builder clearStrategy() { @@ -1200,34 +1365,47 @@ public Builder clearStrategy() { private com.google.container.v1.BlueGreenSettings blueGreenSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings, com.google.container.v1.BlueGreenSettings.Builder, com.google.container.v1.BlueGreenSettingsOrBuilder> blueGreenSettingsBuilder_; + com.google.container.v1.BlueGreenSettings, + com.google.container.v1.BlueGreenSettings.Builder, + com.google.container.v1.BlueGreenSettingsOrBuilder> + blueGreenSettingsBuilder_; /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * * @return Whether the blueGreenSettings field is set. */ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; + * * @return The blueGreenSettings. */ public com.google.container.v1.BlueGreenSettings getBlueGreenSettings() { if (blueGreenSettingsBuilder_ == null) { - return blueGreenSettings_ == null ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } else { return blueGreenSettingsBuilder_.getMessage(); } } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1248,6 +1426,8 @@ public Builder setBlueGreenSettings(com.google.container.v1.BlueGreenSettings va return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1266,6 +1446,8 @@ public Builder setBlueGreenSettings( return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1274,11 +1456,14 @@ public Builder setBlueGreenSettings( */ public Builder mergeBlueGreenSettings(com.google.container.v1.BlueGreenSettings value) { if (blueGreenSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - blueGreenSettings_ != null && - blueGreenSettings_ != com.google.container.v1.BlueGreenSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && blueGreenSettings_ != null + && blueGreenSettings_ + != com.google.container.v1.BlueGreenSettings.getDefaultInstance()) { blueGreenSettings_ = - com.google.container.v1.BlueGreenSettings.newBuilder(blueGreenSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1.BlueGreenSettings.newBuilder(blueGreenSettings_) + .mergeFrom(value) + .buildPartial(); } else { blueGreenSettings_ = value; } @@ -1290,6 +1475,8 @@ public Builder mergeBlueGreenSettings(com.google.container.v1.BlueGreenSettings return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1307,6 +1494,8 @@ public Builder clearBlueGreenSettings() { return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1319,6 +1508,8 @@ public com.google.container.v1.BlueGreenSettings.Builder getBlueGreenSettingsBui return getBlueGreenSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1329,11 +1520,14 @@ public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOr if (blueGreenSettingsBuilder_ != null) { return blueGreenSettingsBuilder_.getMessageOrBuilder(); } else { - return blueGreenSettings_ == null ? - com.google.container.v1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1341,18 +1535,22 @@ public com.google.container.v1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOr * optional .google.container.v1.BlueGreenSettings blue_green_settings = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings, com.google.container.v1.BlueGreenSettings.Builder, com.google.container.v1.BlueGreenSettingsOrBuilder> + com.google.container.v1.BlueGreenSettings, + com.google.container.v1.BlueGreenSettings.Builder, + com.google.container.v1.BlueGreenSettingsOrBuilder> getBlueGreenSettingsFieldBuilder() { if (blueGreenSettingsBuilder_ == null) { - blueGreenSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.BlueGreenSettings, com.google.container.v1.BlueGreenSettings.Builder, com.google.container.v1.BlueGreenSettingsOrBuilder>( - getBlueGreenSettings(), - getParentForChildren(), - isClean()); + blueGreenSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.BlueGreenSettings, + com.google.container.v1.BlueGreenSettings.Builder, + com.google.container.v1.BlueGreenSettingsOrBuilder>( + getBlueGreenSettings(), getParentForChildren(), isClean()); blueGreenSettings_ = null; } return blueGreenSettingsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1365,12 +1563,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpgradeSettings) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpgradeSettings) private static final com.google.container.v1.NodePool.UpgradeSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpgradeSettings(); } @@ -1379,27 +1577,28 @@ public static com.google.container.v1.NodePool.UpgradeSettings getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1414,32 +1613,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.UpgradeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdateInfoOrBuilder extends + public interface UpdateInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpdateInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return Whether the blueGreenInfo field is set. */ boolean hasBlueGreenInfo(); /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return The blueGreenInfo. */ com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo(); /** + * + * *
      * Information of a blue-green upgrade.
      * 
@@ -1449,6 +1656,8 @@ public interface UpdateInfoOrBuilder extends com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder(); } /** + * + * *
    * UpdateInfo contains resource (instance groups, etc), status and other
    * intermediate information relevant to a node pool upgrade.
@@ -1456,67 +1665,77 @@ public interface UpdateInfoOrBuilder extends
    *
    * Protobuf type {@code google.container.v1.NodePool.UpdateInfo}
    */
-  public static final class UpdateInfo extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class UpdateInfo extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpdateInfo)
       UpdateInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use UpdateInfo.newBuilder() to construct.
     private UpdateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private UpdateInfo() {
-    }
+
+    private UpdateInfo() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new UpdateInfo();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePool.UpdateInfo.class, com.google.container.v1.NodePool.UpdateInfo.Builder.class);
+              com.google.container.v1.NodePool.UpdateInfo.class,
+              com.google.container.v1.NodePool.UpdateInfo.Builder.class);
     }
 
-    public interface BlueGreenInfoOrBuilder extends
+    public interface BlueGreenInfoOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The enum numeric value on the wire for phase. */ int getPhaseValue(); /** + * + * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The phase. */ com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1524,11 +1743,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return A list containing the blueInstanceGroupUrls. */ - java.util.List - getBlueInstanceGroupUrlsList(); + java.util.List getBlueInstanceGroupUrlsList(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1536,10 +1757,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return The count of blueInstanceGroupUrls. */ int getBlueInstanceGroupUrlsCount(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1547,11 +1771,14 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ java.lang.String getBlueInstanceGroupUrls(int index); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1559,13 +1786,15 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString - getBlueInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1573,11 +1802,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @return A list containing the greenInstanceGroupUrls. */ - java.util.List - getGreenInstanceGroupUrlsList(); + java.util.List getGreenInstanceGroupUrlsList(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1585,10 +1816,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @return The count of greenInstanceGroupUrls. */ int getGreenInstanceGroupUrlsCount(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1596,11 +1830,14 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ java.lang.String getGreenInstanceGroupUrls(int index); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1608,70 +1845,83 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString - getGreenInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index); /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bluePoolDeletionStartTime. */ java.lang.String getBluePoolDeletionStartTime(); /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bytes for bluePoolDeletionStartTime. */ - com.google.protobuf.ByteString - getBluePoolDeletionStartTimeBytes(); + com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes(); /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The greenPoolVersion. */ java.lang.String getGreenPoolVersion(); /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The bytes for greenPoolVersion. */ - com.google.protobuf.ByteString - getGreenPoolVersionBytes(); + com.google.protobuf.ByteString getGreenPoolVersionBytes(); } /** + * + * *
      * Information relevant to blue-green upgrade.
      * 
* * Protobuf type {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class BlueGreenInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BlueGreenInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) BlueGreenInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BlueGreenInfo.newBuilder() to construct. private BlueGreenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BlueGreenInfo() { phase_ = 0; blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1682,39 +1932,43 @@ private BlueGreenInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BlueGreenInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } /** + * + * *
        * Phase represents the different stages blue-green upgrade is running in.
        * 
* * Protobuf enum {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase} */ - public enum Phase - implements com.google.protobuf.ProtocolMessageEnum { + public enum Phase implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified phase.
          * 
@@ -1723,6 +1977,8 @@ public enum Phase */ PHASE_UNSPECIFIED(0), /** + * + * *
          * blue-green upgrade has been initiated.
          * 
@@ -1731,6 +1987,8 @@ public enum Phase */ UPDATE_STARTED(1), /** + * + * *
          * Start creating green pool nodes.
          * 
@@ -1739,6 +1997,8 @@ public enum Phase */ CREATING_GREEN_POOL(2), /** + * + * *
          * Start cordoning blue pool nodes.
          * 
@@ -1747,6 +2007,8 @@ public enum Phase */ CORDONING_BLUE_POOL(3), /** + * + * *
          * Start draining blue pool nodes.
          * 
@@ -1755,6 +2017,8 @@ public enum Phase */ DRAINING_BLUE_POOL(4), /** + * + * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -1763,6 +2027,8 @@ public enum Phase */ NODE_POOL_SOAKING(5), /** + * + * *
          * Start deleting blue nodes.
          * 
@@ -1771,6 +2037,8 @@ public enum Phase */ DELETING_BLUE_POOL(6), /** + * + * *
          * Rollback has been initiated.
          * 
@@ -1782,6 +2050,8 @@ public enum Phase ; /** + * + * *
          * Unspecified phase.
          * 
@@ -1790,6 +2060,8 @@ public enum Phase */ public static final int PHASE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * blue-green upgrade has been initiated.
          * 
@@ -1798,6 +2070,8 @@ public enum Phase */ public static final int UPDATE_STARTED_VALUE = 1; /** + * + * *
          * Start creating green pool nodes.
          * 
@@ -1806,6 +2080,8 @@ public enum Phase */ public static final int CREATING_GREEN_POOL_VALUE = 2; /** + * + * *
          * Start cordoning blue pool nodes.
          * 
@@ -1814,6 +2090,8 @@ public enum Phase */ public static final int CORDONING_BLUE_POOL_VALUE = 3; /** + * + * *
          * Start draining blue pool nodes.
          * 
@@ -1822,6 +2100,8 @@ public enum Phase */ public static final int DRAINING_BLUE_POOL_VALUE = 4; /** + * + * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -1830,6 +2110,8 @@ public enum Phase */ public static final int NODE_POOL_SOAKING_VALUE = 5; /** + * + * *
          * Start deleting blue nodes.
          * 
@@ -1838,6 +2120,8 @@ public enum Phase */ public static final int DELETING_BLUE_POOL_VALUE = 6; /** + * + * *
          * Rollback has been initiated.
          * 
@@ -1846,7 +2130,6 @@ public enum Phase */ public static final int ROLLBACK_STARTED_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1871,54 +2154,62 @@ public static Phase valueOf(int value) { */ public static Phase forNumber(int value) { switch (value) { - case 0: return PHASE_UNSPECIFIED; - case 1: return UPDATE_STARTED; - case 2: return CREATING_GREEN_POOL; - case 3: return CORDONING_BLUE_POOL; - case 4: return DRAINING_BLUE_POOL; - case 5: return NODE_POOL_SOAKING; - case 6: return DELETING_BLUE_POOL; - case 7: return ROLLBACK_STARTED; - default: return null; + case 0: + return PHASE_UNSPECIFIED; + case 1: + return UPDATE_STARTED; + case 2: + return CREATING_GREEN_POOL; + case 3: + return CORDONING_BLUE_POOL; + case 4: + return DRAINING_BLUE_POOL; + case 5: + return NODE_POOL_SOAKING; + case 6: + return DELETING_BLUE_POOL; + case 7: + return ROLLBACK_STARTED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Phase> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Phase findValueByNumber(int number) { - return Phase.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Phase findValueByNumber(int number) { + return Phase.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final Phase[] VALUES = values(); - public static Phase valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Phase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1938,33 +2229,46 @@ private Phase(int value) { public static final int PHASE_FIELD_NUMBER = 1; private int phase_; /** + * + * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override public int getPhaseValue() { + @java.lang.Override + public int getPhaseValue() { return phase_; } /** + * + * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The phase. */ - @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @java.lang.Override + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; } public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList blueInstanceGroupUrls_; /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1972,13 +2276,15 @@ private Phase(int value) {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_; } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1986,12 +2292,15 @@ private Phase(int value) {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1999,6 +2308,7 @@ public int getBlueInstanceGroupUrlsCount() {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -2006,6 +2316,8 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2013,17 +2325,19 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList greenInstanceGroupUrls_; /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2031,13 +2345,15 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; + * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_; } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2045,12 +2361,15 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; + * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2058,6 +2377,7 @@ public int getGreenInstanceGroupUrlsCount() {
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -2065,6 +2385,8 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2072,23 +2394,26 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER = 4; private volatile java.lang.Object bluePoolDeletionStartTime_; /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bluePoolDeletionStartTime. */ @java.lang.Override @@ -2097,30 +2422,30 @@ public java.lang.String getBluePoolDeletionStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; } } /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bytes for bluePoolDeletionStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -2131,11 +2456,14 @@ public java.lang.String getBluePoolDeletionStartTime() { public static final int GREEN_POOL_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object greenPoolVersion_; /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The greenPoolVersion. */ @java.lang.Override @@ -2144,29 +2472,29 @@ public java.lang.String getGreenPoolVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; } } /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The bytes for greenPoolVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -2175,6 +2503,7 @@ public java.lang.String getGreenPoolVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2186,16 +2515,19 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (phase_ != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (phase_ + != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, phase_); } for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, blueInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, blueInstanceGroupUrls_.getRaw(i)); } for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, greenInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, greenInstanceGroupUrls_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, bluePoolDeletionStartTime_); @@ -2212,9 +2544,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (phase_ != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, phase_); + if (phase_ + != com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, phase_); } { int dataSize = 0; @@ -2233,7 +2566,9 @@ public int getSerializedSize() { size += 1 * getGreenInstanceGroupUrlsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, bluePoolDeletionStartTime_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 4, bluePoolDeletionStartTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, greenPoolVersion_); @@ -2246,22 +2581,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo)) { return super.equals(obj); } - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other = (com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) obj; + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other = + (com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) obj; if (phase_ != other.phase_) return false; - if (!getBlueInstanceGroupUrlsList() - .equals(other.getBlueInstanceGroupUrlsList())) return false; - if (!getGreenInstanceGroupUrlsList() - .equals(other.getGreenInstanceGroupUrlsList())) return false; - if (!getBluePoolDeletionStartTime() - .equals(other.getBluePoolDeletionStartTime())) return false; - if (!getGreenPoolVersion() - .equals(other.getGreenPoolVersion())) return false; + if (!getBlueInstanceGroupUrlsList().equals(other.getBlueInstanceGroupUrlsList())) + return false; + if (!getGreenInstanceGroupUrlsList().equals(other.getGreenInstanceGroupUrlsList())) + return false; + if (!getBluePoolDeletionStartTime().equals(other.getBluePoolDeletionStartTime())) + return false; + if (!getGreenPoolVersion().equals(other.getGreenPoolVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2293,87 +2628,94 @@ public int hashCode() { } public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo prototype) { + + public static Builder newBuilder( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2383,39 +2725,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Information relevant to blue-green upgrade.
        * 
* * Protobuf type {@code google.container.v1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } // Construct using com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2433,13 +2777,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstanceForType() { return com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance(); } @@ -2454,7 +2799,8 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo build() { @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() { - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo result = new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(this); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo result = + new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(this); int from_bitField0_ = bitField0_; result.phase_ = phase_; if (((bitField0_ & 0x00000001) != 0)) { @@ -2477,38 +2823,41 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.UpdateInfo.BlueGreenInfo) { - return mergeFrom((com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo)other); + return mergeFrom((com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) other); } else { super.mergeFrom(other); return this; @@ -2516,7 +2865,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo other) { - if (other == com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance()) return this; + if (other + == com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance()) + return this; if (other.phase_ != 0) { setPhaseValue(other.getPhaseValue()); } @@ -2574,39 +2925,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - phase_ = input.readEnum(); - - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureBlueInstanceGroupUrlsIsMutable(); - blueInstanceGroupUrls_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureGreenInstanceGroupUrlsIsMutable(); - greenInstanceGroupUrls_.add(s); - break; - } // case 26 - case 34: { - bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - greenPoolVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + phase_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(s); + break; + } // case 26 + case 34: + { + bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + greenPoolVersion_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2616,90 +2973,116 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int phase_ = 0; /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override public int getPhaseValue() { + @java.lang.Override + public int getPhaseValue() { return phase_; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @param value The enum numeric value on the wire for phase to set. * @return This builder for chaining. */ public Builder setPhaseValue(int value) { - + phase_ = value; onChanged(); return this; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The phase. */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @param value The phase to set. * @return This builder for chaining. */ - public Builder setPhase(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { + public Builder setPhase( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { if (value == null) { throw new NullPointerException(); } - + phase_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return This builder for chaining. */ public Builder clearPhase() { - + phase_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBlueInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - blueInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); + blueInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2707,13 +3090,15 @@ private void ensureBlueInstanceGroupUrlsIsMutable() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2721,12 +3106,15 @@ private void ensureBlueInstanceGroupUrlsIsMutable() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2734,6 +3122,7 @@ public int getBlueInstanceGroupUrlsCount() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -2741,6 +3130,8 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2748,14 +3139,16 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2763,21 +3156,23 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index to set the value at. * @param value The blueInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setBlueInstanceGroupUrls( - int index, java.lang.String value) { + public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2785,20 +3180,22 @@ public Builder setBlueInstanceGroupUrls(
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param value The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrls( - java.lang.String value) { + public Builder addBlueInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2806,18 +3203,19 @@ public Builder addBlueInstanceGroupUrls(
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param values The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllBlueInstanceGroupUrls( - java.lang.Iterable values) { + public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable values) { ensureBlueInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, blueInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blueInstanceGroupUrls_); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2825,6 +3223,7 @@ public Builder addAllBlueInstanceGroupUrls(
          * 
* * repeated string blue_instance_group_urls = 2; + * * @return This builder for chaining. */ public Builder clearBlueInstanceGroupUrls() { @@ -2834,6 +3233,8 @@ public Builder clearBlueInstanceGroupUrls() { return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2841,29 +3242,34 @@ public Builder clearBlueInstanceGroupUrls() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param value The bytes of the blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGreenInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - greenInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); + greenInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2871,13 +3277,15 @@ private void ensureGreenInstanceGroupUrlsIsMutable() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2885,12 +3293,15 @@ private void ensureGreenInstanceGroupUrlsIsMutable() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2898,6 +3309,7 @@ public int getGreenInstanceGroupUrlsCount() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -2905,6 +3317,8 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2912,14 +3326,16 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2927,21 +3343,23 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index to set the value at. * @param value The greenInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setGreenInstanceGroupUrls( - int index, java.lang.String value) { + public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2949,20 +3367,22 @@ public Builder setGreenInstanceGroupUrls(
          * 
* * repeated string green_instance_group_urls = 3; + * * @param value The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrls( - java.lang.String value) { + public Builder addGreenInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2970,18 +3390,19 @@ public Builder addGreenInstanceGroupUrls(
          * 
* * repeated string green_instance_group_urls = 3; + * * @param values The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllGreenInstanceGroupUrls( - java.lang.Iterable values) { + public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable values) { ensureGreenInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, greenInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, greenInstanceGroupUrls_); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2989,6 +3410,7 @@ public Builder addAllGreenInstanceGroupUrls(
          * 
* * repeated string green_instance_group_urls = 3; + * * @return This builder for chaining. */ public Builder clearGreenInstanceGroupUrls() { @@ -2998,6 +3420,8 @@ public Builder clearGreenInstanceGroupUrls() { return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -3005,15 +3429,15 @@ public Builder clearGreenInstanceGroupUrls() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param value The bytes of the greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); @@ -3022,19 +3446,21 @@ public Builder addGreenInstanceGroupUrlsBytes( private java.lang.Object bluePoolDeletionStartTime_ = ""; /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bluePoolDeletionStartTime. */ public java.lang.String getBluePoolDeletionStartTime() { java.lang.Object ref = bluePoolDeletionStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; @@ -3043,21 +3469,22 @@ public java.lang.String getBluePoolDeletionStartTime() { } } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bytes for bluePoolDeletionStartTime. */ - public com.google.protobuf.ByteString - getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -3065,57 +3492,64 @@ public java.lang.String getBluePoolDeletionStartTime() { } } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @param value The bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTime( - java.lang.String value) { + public Builder setBluePoolDeletionStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bluePoolDeletionStartTime_ = value; onChanged(); return this; } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @return This builder for chaining. */ public Builder clearBluePoolDeletionStartTime() { - + bluePoolDeletionStartTime_ = getDefaultInstance().getBluePoolDeletionStartTime(); onChanged(); return this; } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @param value The bytes for bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bluePoolDeletionStartTime_ = value; onChanged(); return this; @@ -3123,18 +3557,20 @@ public Builder setBluePoolDeletionStartTimeBytes( private java.lang.Object greenPoolVersion_ = ""; /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @return The greenPoolVersion. */ public java.lang.String getGreenPoolVersion() { java.lang.Object ref = greenPoolVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; @@ -3143,20 +3579,21 @@ public java.lang.String getGreenPoolVersion() { } } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @return The bytes for greenPoolVersion. */ - public com.google.protobuf.ByteString - getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -3164,58 +3601,66 @@ public java.lang.String getGreenPoolVersion() { } } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @param value The greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersion( - java.lang.String value) { + public Builder setGreenPoolVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + greenPoolVersion_ = value; onChanged(); return this; } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @return This builder for chaining. */ public Builder clearGreenPoolVersion() { - + greenPoolVersion_ = getDefaultInstance().getGreenPoolVersion(); onChanged(); return this; } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @param value The bytes for greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + greenPoolVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3228,12 +3673,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpdateInfo.BlueGreenInfo) - private static final com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo DEFAULT_INSTANCE; + private static final com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo(); } @@ -3242,27 +3688,28 @@ public static com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BlueGreenInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3277,17 +3724,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BLUE_GREEN_INFO_FIELD_NUMBER = 1; private com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return Whether the blueGreenInfo field is set. */ @java.lang.Override @@ -3295,18 +3744,25 @@ public boolean hasBlueGreenInfo() { return blueGreenInfo_ != null; } /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return The blueGreenInfo. */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { - return blueGreenInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; + return blueGreenInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; } /** + * + * *
      * Information of a blue-green upgrade.
      * 
@@ -3314,11 +3770,13 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInf * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ @java.lang.Override - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { return getBlueGreenInfo(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3330,8 +3788,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (blueGreenInfo_ != null) { output.writeMessage(1, getBlueGreenInfo()); } @@ -3345,8 +3802,7 @@ public int getSerializedSize() { size = 0; if (blueGreenInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBlueGreenInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBlueGreenInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3356,17 +3812,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.UpdateInfo)) { return super.equals(obj); } - com.google.container.v1.NodePool.UpdateInfo other = (com.google.container.v1.NodePool.UpdateInfo) obj; + com.google.container.v1.NodePool.UpdateInfo other = + (com.google.container.v1.NodePool.UpdateInfo) obj; if (hasBlueGreenInfo() != other.hasBlueGreenInfo()) return false; if (hasBlueGreenInfo()) { - if (!getBlueGreenInfo() - .equals(other.getBlueGreenInfo())) return false; + if (!getBlueGreenInfo().equals(other.getBlueGreenInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3388,88 +3844,94 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodePool.UpdateInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( 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.NodePool.UpdateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodePool.UpdateInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.UpdateInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodePool.UpdateInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpdateInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.UpdateInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodePool.UpdateInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3479,6 +3941,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * UpdateInfo contains resource (instance groups, etc), status and other
      * intermediate information relevant to a node pool upgrade.
@@ -3486,33 +3950,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1.NodePool.UpdateInfo}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.UpdateInfo)
         com.google.container.v1.NodePool.UpdateInfoOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1.NodePool.UpdateInfo.class, com.google.container.v1.NodePool.UpdateInfo.Builder.class);
+                com.google.container.v1.NodePool.UpdateInfo.class,
+                com.google.container.v1.NodePool.UpdateInfo.Builder.class);
       }
 
       // Construct using com.google.container.v1.NodePool.UpdateInfo.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3526,9 +3990,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
@@ -3547,7 +4011,8 @@ public com.google.container.v1.NodePool.UpdateInfo build() {
 
       @java.lang.Override
       public com.google.container.v1.NodePool.UpdateInfo buildPartial() {
-        com.google.container.v1.NodePool.UpdateInfo result = new com.google.container.v1.NodePool.UpdateInfo(this);
+        com.google.container.v1.NodePool.UpdateInfo result =
+            new com.google.container.v1.NodePool.UpdateInfo(this);
         if (blueGreenInfoBuilder_ == null) {
           result.blueGreenInfo_ = blueGreenInfo_;
         } else {
@@ -3561,38 +4026,41 @@ public com.google.container.v1.NodePool.UpdateInfo buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.UpdateInfo) {
-          return mergeFrom((com.google.container.v1.NodePool.UpdateInfo)other);
+          return mergeFrom((com.google.container.v1.NodePool.UpdateInfo) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3630,19 +4098,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getBlueGreenInfoFieldBuilder().getBuilder(),
-                    extensionRegistry);
+              case 10:
+                {
+                  input.readMessage(getBlueGreenInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  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) {
@@ -3655,41 +4123,55 @@ public Builder mergeFrom(
 
       private com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> blueGreenInfoBuilder_;
+              com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo,
+              com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder,
+              com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>
+          blueGreenInfoBuilder_;
       /**
+       *
+       *
        * 
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return Whether the blueGreenInfo field is set. */ public boolean hasBlueGreenInfo() { return blueGreenInfoBuilder_ != null || blueGreenInfo_ != null; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return The blueGreenInfo. */ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { if (blueGreenInfoBuilder_ == null) { - return blueGreenInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; + return blueGreenInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; } else { return blueGreenInfoBuilder_.getMessage(); } } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder setBlueGreenInfo(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder setBlueGreenInfo( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3703,6 +4185,8 @@ public Builder setBlueGreenInfo(com.google.container.v1.NodePool.UpdateInfo.Blue return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
@@ -3721,17 +4205,22 @@ public Builder setBlueGreenInfo( return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public Builder mergeBlueGreenInfo(com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder mergeBlueGreenInfo( + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (blueGreenInfo_ != null) { blueGreenInfo_ = - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder(blueGreenInfo_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder(blueGreenInfo_) + .mergeFrom(value) + .buildPartial(); } else { blueGreenInfo_ = value; } @@ -3743,6 +4232,8 @@ public Builder mergeBlueGreenInfo(com.google.container.v1.NodePool.UpdateInfo.Bl return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
@@ -3761,33 +4252,42 @@ public Builder clearBlueGreenInfo() { return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder getBlueGreenInfoBuilder() { - + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder + getBlueGreenInfoBuilder() { + onChanged(); return getBlueGreenInfoFieldBuilder().getBuilder(); } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { + public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { if (blueGreenInfoBuilder_ != null) { return blueGreenInfoBuilder_.getMessageOrBuilder(); } else { - return blueGreenInfo_ == null ? - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; + return blueGreenInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; } } /** + * + * *
        * Information of a blue-green upgrade.
        * 
@@ -3795,18 +4295,22 @@ public com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlu * .google.container.v1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> getBlueGreenInfoFieldBuilder() { if (blueGreenInfoBuilder_ == null) { - blueGreenInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( - getBlueGreenInfo(), - getParentForChildren(), - isClean()); + blueGreenInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( + getBlueGreenInfo(), getParentForChildren(), isClean()); blueGreenInfo_ = null; } return blueGreenInfoBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3819,12 +4323,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.UpdateInfo) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.UpdateInfo) private static final com.google.container.v1.NodePool.UpdateInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.UpdateInfo(); } @@ -3833,27 +4337,28 @@ public static com.google.container.v1.NodePool.UpdateInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3868,87 +4373,100 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.UpdateInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PlacementPolicyOrBuilder extends + public interface PlacementPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool.PlacementPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @return The type. */ com.google.container.v1.NodePool.PlacementPolicy.Type getType(); } /** + * + * *
    * PlacementPolicy defines the placement policy used by the node pool.
    * 
* * Protobuf type {@code google.container.v1.NodePool.PlacementPolicy} */ - public static final class PlacementPolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PlacementPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePool.PlacementPolicy) PlacementPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PlacementPolicy.newBuilder() to construct. private PlacementPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PlacementPolicy() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PlacementPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.PlacementPolicy.class, com.google.container.v1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1.NodePool.PlacementPolicy.class, + com.google.container.v1.NodePool.PlacementPolicy.Builder.class); } /** + * + * *
      * Type defines the type of placement policy.
      * 
* * Protobuf enum {@code google.container.v1.NodePool.PlacementPolicy.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -3958,6 +4476,8 @@ public enum Type
        */
       TYPE_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -3970,6 +4490,8 @@ public enum Type
       ;
 
       /**
+       *
+       *
        * 
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -3979,6 +4501,8 @@ public enum Type
        */
       public static final int TYPE_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -3988,7 +4512,6 @@ public enum Type
        */
       public static final int COMPACT_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -4013,48 +4536,49 @@ public static Type valueOf(int value) {
        */
       public static Type forNumber(int value) {
         switch (value) {
-          case 0: return TYPE_UNSPECIFIED;
-          case 1: return COMPACT;
-          default: return null;
+          case 0:
+            return TYPE_UNSPECIFIED;
+          case 1:
+            return COMPACT;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Type> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Type findValueByNumber(int number) {
-                return Type.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public 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() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.container.v1.NodePool.PlacementPolicy.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.container.v1.NodePool.PlacementPolicy.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Type[] VALUES = values();
 
-      public static Type valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      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.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -4074,31 +4598,43 @@ private Type(int value) {
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
+     *
+     *
      * 
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of placement.
      * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy.Type getType() { + @java.lang.Override + public com.google.container.v1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.PlacementPolicy.Type result = com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; + com.google.container.v1.NodePool.PlacementPolicy.Type result = + com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null + ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4110,9 +4646,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } getUnknownFields().writeTo(output); @@ -4124,9 +4660,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.container.v1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4136,12 +4672,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool.PlacementPolicy)) { return super.equals(obj); } - com.google.container.v1.NodePool.PlacementPolicy other = (com.google.container.v1.NodePool.PlacementPolicy) obj; + com.google.container.v1.NodePool.PlacementPolicy other = + (com.google.container.v1.NodePool.PlacementPolicy) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4163,87 +4700,93 @@ public int hashCode() { } public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.PlacementPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( 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.NodePool.PlacementPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodePool.PlacementPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePool.PlacementPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodePool.PlacementPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.PlacementPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool.PlacementPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodePool.PlacementPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4253,39 +4796,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * PlacementPolicy defines the placement policy used by the node pool.
      * 
* * Protobuf type {@code google.container.v1.NodePool.PlacementPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool.PlacementPolicy) com.google.container.v1.NodePool.PlacementPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePool.PlacementPolicy.class, com.google.container.v1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1.NodePool.PlacementPolicy.class, + com.google.container.v1.NodePool.PlacementPolicy.Builder.class); } // Construct using com.google.container.v1.NodePool.PlacementPolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4295,9 +4840,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override @@ -4316,7 +4861,8 @@ public com.google.container.v1.NodePool.PlacementPolicy build() { @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy buildPartial() { - com.google.container.v1.NodePool.PlacementPolicy result = new com.google.container.v1.NodePool.PlacementPolicy(this); + com.google.container.v1.NodePool.PlacementPolicy result = + new com.google.container.v1.NodePool.PlacementPolicy(this); result.type_ = type_; onBuilt(); return result; @@ -4326,38 +4872,41 @@ public com.google.container.v1.NodePool.PlacementPolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.PlacementPolicy) { - return mergeFrom((com.google.container.v1.NodePool.PlacementPolicy)other); + return mergeFrom((com.google.container.v1.NodePool.PlacementPolicy) other); } else { super.mergeFrom(other); return this; @@ -4365,7 +4914,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.NodePool.PlacementPolicy other) { - if (other == com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance()) return this; + if (other == com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -4395,17 +4945,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); + case 8: + { + type_ = input.readEnum(); - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4418,51 +4970,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @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; onChanged(); return this; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.PlacementPolicy.Type result = com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; + com.google.container.v1.NodePool.PlacementPolicy.Type result = + com.google.container.v1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null + ? com.google.container.v1.NodePool.PlacementPolicy.Type.UNRECOGNIZED + : result; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -4470,25 +5038,29 @@ public Builder setType(com.google.container.v1.NodePool.PlacementPolicy.Type val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1.NodePool.PlacementPolicy.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4501,12 +5073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool.PlacementPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool.PlacementPolicy) private static final com.google.container.v1.NodePool.PlacementPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool.PlacementPolicy(); } @@ -4515,27 +5087,28 @@ public static com.google.container.v1.NodePool.PlacementPolicy getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PlacementPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlacementPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4550,17 +5123,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool.PlacementPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -4569,29 +5144,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4602,11 +5177,14 @@ public java.lang.String getName() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.container.v1.NodeConfig config_; /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; + * * @return Whether the config field is set. */ @java.lang.Override @@ -4614,11 +5192,14 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; + * * @return The config. */ @java.lang.Override @@ -4626,6 +5207,8 @@ public com.google.container.v1.NodeConfig getConfig() { return config_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : config_; } /** + * + * *
    * The node configuration of the pool.
    * 
@@ -4640,6 +5223,8 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** + * + * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -4648,6 +5233,7 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() {
    * 
* * int32 initial_node_count = 3; + * * @return The initialNodeCount. */ @java.lang.Override @@ -4658,6 +5244,8 @@ public int getInitialNodeCount() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4670,13 +5258,15 @@ public int getInitialNodeCount() {
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4689,12 +5279,15 @@ public int getInitialNodeCount() {
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4707,6 +5300,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -4714,6 +5308,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4726,23 +5322,26 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NETWORK_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.NodeNetworkConfig networkConfig_; /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -4750,19 +5349,26 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; + * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1.NodeNetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : networkConfig_; } /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -4778,11 +5384,14 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
   public static final int SELF_LINK_FIELD_NUMBER = 100;
   private volatile java.lang.Object selfLink_;
   /**
+   *
+   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ @java.lang.Override @@ -4791,29 +5400,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -4824,11 +5433,14 @@ public java.lang.String getSelfLink() { public static final int VERSION_FIELD_NUMBER = 101; private volatile java.lang.Object version_; /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The version. */ @java.lang.Override @@ -4837,29 +5449,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -4870,6 +5482,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 102; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4879,13 +5493,15 @@ public java.lang.String getVersion() {
    * 
* * repeated string instance_group_urls = 102; + * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4895,12 +5511,15 @@ public java.lang.String getVersion() {
    * 
* * repeated string instance_group_urls = 102; + * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4910,6 +5529,7 @@ public int getInstanceGroupUrlsCount() {
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -4917,6 +5537,8 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4926,44 +5548,55 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int STATUS_FIELD_NUMBER = 103; private int status_; /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; + * * @return The status. */ - @java.lang.Override public com.google.container.v1.NodePool.Status getStatus() { + @java.lang.Override + public com.google.container.v1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.Status result = com.google.container.v1.NodePool.Status.valueOf(status_); + com.google.container.v1.NodePool.Status result = + com.google.container.v1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1.NodePool.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 104; private volatile java.lang.Object statusMessage_; /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -4971,24 +5604,27 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1.NodePool.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -4996,18 +5632,18 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1.NodePool.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -5018,12 +5654,15 @@ public java.lang.String getInstanceGroupUrls(int index) { public static final int AUTOSCALING_FIELD_NUMBER = 4; private com.google.container.v1.NodePoolAutoscaling autoscaling_; /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -5031,19 +5670,26 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; + * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -5059,11 +5705,14 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
   public static final int MANAGEMENT_FIELD_NUMBER = 5;
   private com.google.container.v1.NodeManagement management_;
   /**
+   *
+   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; + * * @return Whether the management field is set. */ @java.lang.Override @@ -5071,18 +5720,25 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; + * * @return The management. */ @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { - return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -5097,12 +5753,15 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 6; private com.google.container.v1.MaxPodsConstraint maxPodsConstraint_; /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; + * * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -5110,19 +5769,26 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; + * * @return The maxPodsConstraint. */ @java.lang.Override public com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -5138,6 +5804,8 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOr
   public static final int CONDITIONS_FIELD_NUMBER = 105;
   private java.util.List conditions_;
   /**
+   *
+   *
    * 
    * Which conditions caused the current node pool state.
    * 
@@ -5149,6 +5817,8 @@ public java.util.List getConditionsList return conditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5156,11 +5826,13 @@ public java.util.List getConditionsList * repeated .google.container.v1.StatusCondition conditions = 105; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5172,6 +5844,8 @@ public int getConditionsCount() { return conditions_.size(); } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5183,6 +5857,8 @@ public com.google.container.v1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5190,19 +5866,21 @@ public com.google.container.v1.StatusCondition getConditions(int index) { * repeated .google.container.v1.StatusCondition conditions = 105; */ @java.lang.Override - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { return conditions_.get(index); } public static final int POD_IPV4_CIDR_SIZE_FIELD_NUMBER = 7; private int podIpv4CidrSize_; /** + * + * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -5213,11 +5891,14 @@ public int getPodIpv4CidrSize() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 107; private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -5225,18 +5906,25 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -5251,11 +5939,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti public static final int PLACEMENT_POLICY_FIELD_NUMBER = 108; private com.google.container.v1.NodePool.PlacementPolicy placementPolicy_; /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; + * * @return Whether the placementPolicy field is set. */ @java.lang.Override @@ -5263,18 +5954,25 @@ public boolean hasPlacementPolicy() { return placementPolicy_ != null; } /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; + * * @return The placementPolicy. */ @java.lang.Override public com.google.container.v1.NodePool.PlacementPolicy getPlacementPolicy() { - return placementPolicy_ == null ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; + return placementPolicy_ == null + ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() + : placementPolicy_; } /** + * + * *
    * Specifies the node placement policy.
    * 
@@ -5289,12 +5987,17 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol public static final int UPDATE_INFO_FIELD_NUMBER = 109; private com.google.container.v1.NodePool.UpdateInfo updateInfo_; /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateInfo field is set. */ @java.lang.Override @@ -5302,25 +6005,36 @@ public boolean hasUpdateInfo() { return updateInfo_ != null; } /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateInfo. */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfo getUpdateInfo() { - return updateInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; + return updateInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; } /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { @@ -5328,6 +6042,7 @@ public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5339,8 +6054,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -5408,28 +6122,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); } if (initialNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, initialNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAutoscaling()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMaxPodsConstraint()); } if (podIpv4CidrSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, podIpv4CidrSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, podIpv4CidrSize_); } { int dataSize = 0; @@ -5440,8 +6148,7 @@ public int getSerializedSize() { size += 1 * getLocationsList().size(); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getNetworkConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_); @@ -5458,27 +6165,22 @@ public int getSerializedSize() { size += 2 * getInstanceGroupUrlsList().size(); } if (status_ != com.google.container.v1.NodePool.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(103, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(103, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104, statusMessage_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(105, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(105, conditions_.get(i)); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(107, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(107, getUpgradeSettings()); } if (placementPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(108, getPlacementPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(108, getPlacementPolicy()); } if (updateInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(109, getUpdateInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getUpdateInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5488,71 +6190,54 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePool)) { return super.equals(obj); } com.google.container.v1.NodePool other = (com.google.container.v1.NodePool) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; } - if (getInitialNodeCount() - != other.getInitialNodeCount()) return false; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; + if (getInitialNodeCount() != other.getInitialNodeCount()) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; - } - if (!getSelfLink() - .equals(other.getSelfLink())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstanceGroupUrlsList() - .equals(other.getInstanceGroupUrlsList())) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + } + if (!getSelfLink().equals(other.getSelfLink())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false; if (status_ != other.status_) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling() - .equals(other.getAutoscaling())) return false; + if (!getAutoscaling().equals(other.getAutoscaling())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; + if (!getManagement().equals(other.getManagement())) return false; } if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint() - .equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; } - if (!getConditionsList() - .equals(other.getConditionsList())) return false; - if (getPodIpv4CidrSize() - != other.getPodIpv4CidrSize()) return false; + if (!getConditionsList().equals(other.getConditionsList())) return false; + if (getPodIpv4CidrSize() != other.getPodIpv4CidrSize()) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings() - .equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; } if (hasPlacementPolicy() != other.hasPlacementPolicy()) return false; if (hasPlacementPolicy()) { - if (!getPlacementPolicy() - .equals(other.getPlacementPolicy())) return false; + if (!getPlacementPolicy().equals(other.getPlacementPolicy())) return false; } if (hasUpdateInfo() != other.hasUpdateInfo()) return false; if (hasUpdateInfo()) { - if (!getUpdateInfo() - .equals(other.getUpdateInfo())) return false; + if (!getUpdateInfo().equals(other.getUpdateInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5628,97 +6313,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePool parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodePool parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.NodePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool parseFrom( 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.NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePool parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePool parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodePool contains the name and configuration for a cluster's node pool.
    * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -5730,33 +6421,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodePool}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodePool)
       com.google.container.v1.NodePoolOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePool_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePool_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePool.class, com.google.container.v1.NodePool.Builder.class);
+              com.google.container.v1.NodePool.class,
+              com.google.container.v1.NodePool.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodePool.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5837,9 +6527,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePool_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePool_descriptor;
     }
 
     @java.lang.Override
@@ -5934,38 +6624,39 @@ public com.google.container.v1.NodePool buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodePool) {
-        return mergeFrom((com.google.container.v1.NodePool)other);
+        return mergeFrom((com.google.container.v1.NodePool) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6049,9 +6740,10 @@ public Builder mergeFrom(com.google.container.v1.NodePool other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            conditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getConditionsFieldBuilder() : null;
+            conditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getConditionsFieldBuilder()
+                    : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -6095,128 +6787,131 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 24: {
-              initialNodeCount_ = input.readInt32();
+                break;
+              } // case 18
+            case 24:
+              {
+                initialNodeCount_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getManagementFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getMaxPodsConstraintFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 50
-            case 56: {
-              podIpv4CidrSize_ = input.readInt32();
+                break;
+              } // case 50
+            case 56:
+              {
+                podIpv4CidrSize_ = input.readInt32();
 
-              break;
-            } // case 56
-            case 106: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureLocationsIsMutable();
-              locations_.add(s);
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getNetworkConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 56
+            case 106:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureLocationsIsMutable();
+                locations_.add(s);
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 114
-            case 802: {
-              selfLink_ = input.readStringRequireUtf8();
+                break;
+              } // case 114
+            case 802:
+              {
+                selfLink_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 802
-            case 810: {
-              version_ = input.readStringRequireUtf8();
+                break;
+              } // case 802
+            case 810:
+              {
+                version_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 810
-            case 818: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureInstanceGroupUrlsIsMutable();
-              instanceGroupUrls_.add(s);
-              break;
-            } // case 818
-            case 824: {
-              status_ = input.readEnum();
+                break;
+              } // case 810
+            case 818:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureInstanceGroupUrlsIsMutable();
+                instanceGroupUrls_.add(s);
+                break;
+              } // case 818
+            case 824:
+              {
+                status_ = input.readEnum();
 
-              break;
-            } // case 824
-            case 834: {
-              statusMessage_ = input.readStringRequireUtf8();
+                break;
+              } // case 824
+            case 834:
+              {
+                statusMessage_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 834
-            case 842: {
-              com.google.container.v1.StatusCondition m =
-                  input.readMessage(
-                      com.google.container.v1.StatusCondition.parser(),
-                      extensionRegistry);
-              if (conditionsBuilder_ == null) {
-                ensureConditionsIsMutable();
-                conditions_.add(m);
-              } else {
-                conditionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 842
-            case 858: {
-              input.readMessage(
-                  getUpgradeSettingsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 834
+            case 842:
+              {
+                com.google.container.v1.StatusCondition m =
+                    input.readMessage(
+                        com.google.container.v1.StatusCondition.parser(), extensionRegistry);
+                if (conditionsBuilder_ == null) {
+                  ensureConditionsIsMutable();
+                  conditions_.add(m);
+                } else {
+                  conditionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 842
+            case 858:
+              {
+                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 858
-            case 866: {
-              input.readMessage(
-                  getPlacementPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 858
+            case 866:
+              {
+                input.readMessage(getPlacementPolicyFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 866
-            case 874: {
-              input.readMessage(
-                  getUpdateInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 866
+            case 874:
+              {
+                input.readMessage(getUpdateInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 874
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 874
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6226,22 +6921,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the node pool.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6250,20 +6948,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6271,54 +6970,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6326,24 +7032,33 @@ public Builder setNameBytes( private com.google.container.v1.NodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> configBuilder_; + com.google.container.v1.NodeConfig, + com.google.container.v1.NodeConfig.Builder, + com.google.container.v1.NodeConfigOrBuilder> + configBuilder_; /** + * + * *
      * The node configuration of the pool.
      * 
* * .google.container.v1.NodeConfig config = 2; + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
      * The node configuration of the pool.
      * 
* * .google.container.v1.NodeConfig config = 2; + * * @return The config. */ public com.google.container.v1.NodeConfig getConfig() { @@ -6354,6 +7069,8 @@ public com.google.container.v1.NodeConfig getConfig() { } } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6374,14 +7091,15 @@ public Builder setConfig(com.google.container.v1.NodeConfig value) { return this; } /** + * + * *
      * The node configuration of the pool.
      * 
* * .google.container.v1.NodeConfig config = 2; */ - public Builder setConfig( - com.google.container.v1.NodeConfig.Builder builderForValue) { + public Builder setConfig(com.google.container.v1.NodeConfig.Builder builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -6392,6 +7110,8 @@ public Builder setConfig( return this; } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6402,7 +7122,9 @@ public Builder mergeConfig(com.google.container.v1.NodeConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.container.v1.NodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeConfig.newBuilder(config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -6414,6 +7136,8 @@ public Builder mergeConfig(com.google.container.v1.NodeConfig value) { return this; } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6432,6 +7156,8 @@ public Builder clearConfig() { return this; } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6439,11 +7165,13 @@ public Builder clearConfig() { * .google.container.v1.NodeConfig config = 2; */ public com.google.container.v1.NodeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6454,11 +7182,12 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.container.v1.NodeConfig.getDefaultInstance() : config_; + return config_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : config_; } } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6466,21 +7195,26 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { * .google.container.v1.NodeConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder> + com.google.container.v1.NodeConfig, + com.google.container.v1.NodeConfig.Builder, + com.google.container.v1.NodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfig, com.google.container.v1.NodeConfig.Builder, com.google.container.v1.NodeConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeConfig, + com.google.container.v1.NodeConfig.Builder, + com.google.container.v1.NodeConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; } - private int initialNodeCount_ ; + private int initialNodeCount_; /** + * + * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6489,6 +7223,7 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() {
      * 
* * int32 initial_node_count = 3; + * * @return The initialNodeCount. */ @java.lang.Override @@ -6496,6 +7231,8 @@ public int getInitialNodeCount() { return initialNodeCount_; } /** + * + * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6504,16 +7241,19 @@ public int getInitialNodeCount() {
      * 
* * int32 initial_node_count = 3; + * * @param value The initialNodeCount to set. * @return This builder for chaining. */ public Builder setInitialNodeCount(int value) { - + initialNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6522,23 +7262,28 @@ public Builder setInitialNodeCount(int value) {
      * 
* * int32 initial_node_count = 3; + * * @return This builder for chaining. */ public Builder clearInitialNodeCount() { - + initialNodeCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList locations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6551,13 +7296,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6570,12 +7317,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6588,6 +7338,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -6595,6 +7346,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6607,14 +7360,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6627,21 +7382,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6654,20 +7411,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 13; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6680,18 +7439,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 13; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6704,6 +7464,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 13; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -6713,6 +7474,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6725,15 +7488,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -6742,36 +7505,49 @@ public Builder addLocationsBytes( private com.google.container.v1.NodeNetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> networkConfigBuilder_; + com.google.container.v1.NodeNetworkConfig, + com.google.container.v1.NodeNetworkConfig.Builder, + com.google.container.v1.NodeNetworkConfigOrBuilder> + networkConfigBuilder_; /** + * + * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** + * + * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; + * * @return The networkConfig. */ public com.google.container.v1.NodeNetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** + * + * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6793,6 +7569,8 @@ public Builder setNetworkConfig(com.google.container.v1.NodeNetworkConfig value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6812,6 +7590,8 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6823,7 +7603,9 @@ public Builder mergeNetworkConfig(com.google.container.v1.NodeNetworkConfig valu
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-            com.google.container.v1.NodeNetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodeNetworkConfig.newBuilder(networkConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -6835,6 +7617,8 @@ public Builder mergeNetworkConfig(com.google.container.v1.NodeNetworkConfig valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6854,6 +7638,8 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6862,11 +7648,13 @@ public Builder clearNetworkConfig() {
      * .google.container.v1.NodeNetworkConfig network_config = 14;
      */
     public com.google.container.v1.NodeNetworkConfig.Builder getNetworkConfigBuilder() {
-      
+
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6878,11 +7666,14 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null ?
-            com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : networkConfig_;
+        return networkConfig_ == null
+            ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance()
+            : networkConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6891,14 +7682,17 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
      * .google.container.v1.NodeNetworkConfig network_config = 14;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> 
+            com.google.container.v1.NodeNetworkConfig,
+            com.google.container.v1.NodeNetworkConfig.Builder,
+            com.google.container.v1.NodeNetworkConfigOrBuilder>
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder>(
-                getNetworkConfig(),
-                getParentForChildren(),
-                isClean());
+        networkConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodeNetworkConfig,
+                com.google.container.v1.NodeNetworkConfig.Builder,
+                com.google.container.v1.NodeNetworkConfigOrBuilder>(
+                getNetworkConfig(), getParentForChildren(), isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
@@ -6906,18 +7700,20 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuil
 
     private java.lang.Object selfLink_ = "";
     /**
+     *
+     *
      * 
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -6926,20 +7722,21 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -6947,54 +7744,61 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink( - java.lang.String value) { + public Builder setSelfLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -7002,18 +7806,20 @@ public Builder setSelfLinkBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -7022,20 +7828,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -7043,67 +7850,78 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7113,13 +7931,15 @@ private void ensureInstanceGroupUrlsIsMutable() {
      * 
* * repeated string instance_group_urls = 102; + * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7129,12 +7949,15 @@ private void ensureInstanceGroupUrlsIsMutable() {
      * 
* * repeated string instance_group_urls = 102; + * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7144,6 +7967,7 @@ public int getInstanceGroupUrlsCount() {
      * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -7151,6 +7975,8 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7160,14 +7986,16 @@ public java.lang.String getInstanceGroupUrls(int index) {
      * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7177,21 +8005,23 @@ public java.lang.String getInstanceGroupUrls(int index) {
      * 
* * repeated string instance_group_urls = 102; + * * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setInstanceGroupUrls( - int index, java.lang.String value) { + public Builder setInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7201,20 +8031,22 @@ public Builder setInstanceGroupUrls(
      * 
* * repeated string instance_group_urls = 102; + * * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrls( - java.lang.String value) { + public Builder addInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7224,18 +8056,19 @@ public Builder addInstanceGroupUrls(
      * 
* * repeated string instance_group_urls = 102; + * * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllInstanceGroupUrls( - java.lang.Iterable values) { + public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); onChanged(); return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7245,6 +8078,7 @@ public Builder addAllInstanceGroupUrls(
      * 
* * repeated string instance_group_urls = 102; + * * @return This builder for chaining. */ public Builder clearInstanceGroupUrls() { @@ -7254,6 +8088,8 @@ public Builder clearInstanceGroupUrls() { return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7263,15 +8099,15 @@ public Builder clearInstanceGroupUrls() {
      * 
* * repeated string instance_group_urls = 102; + * * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); @@ -7280,51 +8116,65 @@ public Builder addInstanceGroupUrlsBytes( private int status_ = 0; /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; + * * @return The status. */ @java.lang.Override public com.google.container.v1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePool.Status result = com.google.container.v1.NodePool.Status.valueOf(status_); + com.google.container.v1.NodePool.Status result = + com.google.container.v1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1.NodePool.Status.UNRECOGNIZED : result; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; + * * @param value The status to set. * @return This builder for chaining. */ @@ -7332,21 +8182,24 @@ public Builder setStatus(com.google.container.v1.NodePool.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1.NodePool.Status status = 103; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -7354,6 +8207,8 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7361,15 +8216,16 @@ 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=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @return The statusMessage. */ - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -7378,6 +8234,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7385,17 +8243,17 @@ 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=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @return The bytes for statusMessage. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -7403,6 +8261,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7410,22 +8270,25 @@ 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=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessage( - java.lang.String value) { + @java.lang.Deprecated + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7433,17 +8296,21 @@ 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=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearStatusMessage() { - + @java.lang.Deprecated + public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7451,18 +8318,19 @@ 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=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -7470,36 +8338,49 @@ public Builder clearStatus() { private com.google.container.v1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; + com.google.container.v1.NodePoolAutoscaling, + com.google.container.v1.NodePoolAutoscaling.Builder, + com.google.container.v1.NodePoolAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** + * + * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; + * * @return The autoscaling. */ public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7521,6 +8402,8 @@ public Builder setAutoscaling(com.google.container.v1.NodePoolAutoscaling value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7540,6 +8423,8 @@ public Builder setAutoscaling(
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7551,7 +8436,9 @@ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling valu
       if (autoscalingBuilder_ == null) {
         if (autoscaling_ != null) {
           autoscaling_ =
-            com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           autoscaling_ = value;
         }
@@ -7563,6 +8450,8 @@ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7582,6 +8471,8 @@ public Builder clearAutoscaling() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7590,11 +8481,13 @@ public Builder clearAutoscaling() {
      * .google.container.v1.NodePoolAutoscaling autoscaling = 4;
      */
     public com.google.container.v1.NodePoolAutoscaling.Builder getAutoscalingBuilder() {
-      
+
       onChanged();
       return getAutoscalingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7606,11 +8499,14 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
       if (autoscalingBuilder_ != null) {
         return autoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return autoscaling_ == null ?
-            com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_;
+        return autoscaling_ == null
+            ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance()
+            : autoscaling_;
       }
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7619,14 +8515,17 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
      * .google.container.v1.NodePoolAutoscaling autoscaling = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> 
+            com.google.container.v1.NodePoolAutoscaling,
+            com.google.container.v1.NodePoolAutoscaling.Builder,
+            com.google.container.v1.NodePoolAutoscalingOrBuilder>
         getAutoscalingFieldBuilder() {
       if (autoscalingBuilder_ == null) {
-        autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder>(
-                getAutoscaling(),
-                getParentForChildren(),
-                isClean());
+        autoscalingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodePoolAutoscaling,
+                com.google.container.v1.NodePoolAutoscaling.Builder,
+                com.google.container.v1.NodePoolAutoscalingOrBuilder>(
+                getAutoscaling(), getParentForChildren(), isClean());
         autoscaling_ = null;
       }
       return autoscalingBuilder_;
@@ -7634,34 +8533,47 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
 
     private com.google.container.v1.NodeManagement management_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> managementBuilder_;
+            com.google.container.v1.NodeManagement,
+            com.google.container.v1.NodeManagement.Builder,
+            com.google.container.v1.NodeManagementOrBuilder>
+        managementBuilder_;
     /**
+     *
+     *
      * 
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1.NodeManagement management = 5; + * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1.NodeManagement management = 5; + * * @return The management. */ public com.google.container.v1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7682,14 +8594,15 @@ public Builder setManagement(com.google.container.v1.NodeManagement value) { return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1.NodeManagement management = 5; */ - public Builder setManagement( - com.google.container.v1.NodeManagement.Builder builderForValue) { + public Builder setManagement(com.google.container.v1.NodeManagement.Builder builderForValue) { if (managementBuilder_ == null) { management_ = builderForValue.build(); onChanged(); @@ -7700,6 +8613,8 @@ public Builder setManagement( return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7710,7 +8625,9 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeManagement.newBuilder(management_) + .mergeFrom(value) + .buildPartial(); } else { management_ = value; } @@ -7722,6 +8639,8 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7740,6 +8659,8 @@ public Builder clearManagement() { return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7747,11 +8668,13 @@ public Builder clearManagement() { * .google.container.v1.NodeManagement management = 5; */ public com.google.container.v1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7762,11 +8685,14 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7774,14 +8700,17 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * .google.container.v1.NodeManagement management = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; @@ -7789,36 +8718,49 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() private com.google.container.v1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; + com.google.container.v1.MaxPodsConstraint, + com.google.container.v1.MaxPodsConstraint.Builder, + com.google.container.v1.MaxPodsConstraintOrBuilder> + maxPodsConstraintBuilder_; /** + * + * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; + * * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return maxPodsConstraintBuilder_ != null || maxPodsConstraint_ != null; } /** + * + * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; + * * @return The maxPodsConstraint. */ public com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** + * + * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7840,6 +8782,8 @@ public Builder setMaxPodsConstraint(com.google.container.v1.MaxPodsConstraint va
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7859,6 +8803,8 @@ public Builder setMaxPodsConstraint(
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7870,7 +8816,9 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1.MaxPodsConstraint
       if (maxPodsConstraintBuilder_ == null) {
         if (maxPodsConstraint_ != null) {
           maxPodsConstraint_ =
-            com.google.container.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial();
+              com.google.container.v1.MaxPodsConstraint.newBuilder(maxPodsConstraint_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxPodsConstraint_ = value;
         }
@@ -7882,6 +8830,8 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1.MaxPodsConstraint
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7901,6 +8851,8 @@ public Builder clearMaxPodsConstraint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7909,11 +8861,13 @@ public Builder clearMaxPodsConstraint() {
      * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
      */
     public com.google.container.v1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() {
-      
+
       onChanged();
       return getMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7925,11 +8879,14 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOr
       if (maxPodsConstraintBuilder_ != null) {
         return maxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return maxPodsConstraint_ == null ?
-            com.google.container.v1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_;
+        return maxPodsConstraint_ == null
+            ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance()
+            : maxPodsConstraint_;
       }
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7938,32 +8895,41 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOr
      * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder> 
+            com.google.container.v1.MaxPodsConstraint,
+            com.google.container.v1.MaxPodsConstraint.Builder,
+            com.google.container.v1.MaxPodsConstraintOrBuilder>
         getMaxPodsConstraintFieldBuilder() {
       if (maxPodsConstraintBuilder_ == null) {
-        maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.MaxPodsConstraint, com.google.container.v1.MaxPodsConstraint.Builder, com.google.container.v1.MaxPodsConstraintOrBuilder>(
-                getMaxPodsConstraint(),
-                getParentForChildren(),
-                isClean());
+        maxPodsConstraintBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.MaxPodsConstraint,
+                com.google.container.v1.MaxPodsConstraint.Builder,
+                com.google.container.v1.MaxPodsConstraintOrBuilder>(
+                getMaxPodsConstraint(), getParentForChildren(), isClean());
         maxPodsConstraint_ = null;
       }
       return maxPodsConstraintBuilder_;
     }
 
     private java.util.List conditions_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureConditionsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         conditions_ = new java.util.ArrayList(conditions_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> conditionsBuilder_;
+            com.google.container.v1.StatusCondition,
+            com.google.container.v1.StatusCondition.Builder,
+            com.google.container.v1.StatusConditionOrBuilder>
+        conditionsBuilder_;
 
     /**
+     *
+     *
      * 
      * Which conditions caused the current node pool state.
      * 
@@ -7978,6 +8944,8 @@ public java.util.List getConditionsList } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -7992,6 +8960,8 @@ public int getConditionsCount() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8006,14 +8976,15 @@ public com.google.container.v1.StatusCondition getConditions(int index) { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public Builder setConditions( - int index, com.google.container.v1.StatusCondition value) { + public Builder setConditions(int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8027,6 +8998,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8045,6 +9018,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8065,14 +9040,15 @@ public Builder addConditions(com.google.container.v1.StatusCondition value) { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public Builder addConditions( - int index, com.google.container.v1.StatusCondition value) { + public Builder addConditions(int index, com.google.container.v1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8086,14 +9062,15 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public Builder addConditions( - com.google.container.v1.StatusCondition.Builder builderForValue) { + public Builder addConditions(com.google.container.v1.StatusCondition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -8104,6 +9081,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8122,6 +9101,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8132,8 +9113,7 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -8141,6 +9121,8 @@ public Builder addAllConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8158,6 +9140,8 @@ public Builder clearConditions() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8175,39 +9159,44 @@ public Builder removeConditions(int index) { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public com.google.container.v1.StatusCondition.Builder getConditionsBuilder( - int index) { + public com.google.container.v1.StatusCondition.Builder getConditionsBuilder(int index) { return getConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); } else { + return conditions_.get(index); + } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -8215,6 +9204,8 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8222,54 +9213,63 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( * repeated .google.container.v1.StatusCondition conditions = 105; */ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder().addBuilder( - com.google.container.v1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder() + .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public com.google.container.v1.StatusCondition.Builder addConditionsBuilder( - int index) { - return getConditionsFieldBuilder().addBuilder( - index, com.google.container.v1.StatusCondition.getDefaultInstance()); + public com.google.container.v1.StatusCondition.Builder addConditionsBuilder(int index) { + return getConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( - conditions_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + conditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder>( + conditions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); conditions_ = null; } return conditionsBuilder_; } - private int podIpv4CidrSize_ ; + private int podIpv4CidrSize_; /** + * + * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -8277,30 +9277,36 @@ public int getPodIpv4CidrSize() { return podIpv4CidrSize_; } /** + * + * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; + * * @param value The podIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setPodIpv4CidrSize(int value) { - + podIpv4CidrSize_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return This builder for chaining. */ public Builder clearPodIpv4CidrSize() { - + podIpv4CidrSize_ = 0; onChanged(); return this; @@ -8308,34 +9314,47 @@ public Builder clearPodIpv4CidrSize() { private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + upgradeSettingsBuilder_; /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return The upgradeSettings. */ public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8356,6 +9375,8 @@ public Builder setUpgradeSettings(com.google.container.v1.NodePool.UpgradeSettin return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8374,6 +9395,8 @@ public Builder setUpgradeSettings( return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8384,7 +9407,9 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) + .mergeFrom(value) + .buildPartial(); } else { upgradeSettings_ = value; } @@ -8396,6 +9421,8 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8414,6 +9441,8 @@ public Builder clearUpgradeSettings() { return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8421,11 +9450,13 @@ public Builder clearUpgradeSettings() { * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; */ public com.google.container.v1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8436,11 +9467,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null ? - com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8448,14 +9482,17 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), - getParentForChildren(), - isClean()); + upgradeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), getParentForChildren(), isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -8463,34 +9500,47 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti private com.google.container.v1.NodePool.PlacementPolicy placementPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.PlacementPolicy, com.google.container.v1.NodePool.PlacementPolicy.Builder, com.google.container.v1.NodePool.PlacementPolicyOrBuilder> placementPolicyBuilder_; + com.google.container.v1.NodePool.PlacementPolicy, + com.google.container.v1.NodePool.PlacementPolicy.Builder, + com.google.container.v1.NodePool.PlacementPolicyOrBuilder> + placementPolicyBuilder_; /** + * + * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; + * * @return Whether the placementPolicy field is set. */ public boolean hasPlacementPolicy() { return placementPolicyBuilder_ != null || placementPolicy_ != null; } /** + * + * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; + * * @return The placementPolicy. */ public com.google.container.v1.NodePool.PlacementPolicy getPlacementPolicy() { if (placementPolicyBuilder_ == null) { - return placementPolicy_ == null ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; + return placementPolicy_ == null + ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() + : placementPolicy_; } else { return placementPolicyBuilder_.getMessage(); } } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8511,6 +9561,8 @@ public Builder setPlacementPolicy(com.google.container.v1.NodePool.PlacementPoli return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8529,6 +9581,8 @@ public Builder setPlacementPolicy( return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8539,7 +9593,9 @@ public Builder mergePlacementPolicy(com.google.container.v1.NodePool.PlacementPo if (placementPolicyBuilder_ == null) { if (placementPolicy_ != null) { placementPolicy_ = - com.google.container.v1.NodePool.PlacementPolicy.newBuilder(placementPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePool.PlacementPolicy.newBuilder(placementPolicy_) + .mergeFrom(value) + .buildPartial(); } else { placementPolicy_ = value; } @@ -8551,6 +9607,8 @@ public Builder mergePlacementPolicy(com.google.container.v1.NodePool.PlacementPo return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8569,6 +9627,8 @@ public Builder clearPlacementPolicy() { return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8576,11 +9636,13 @@ public Builder clearPlacementPolicy() { * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; */ public com.google.container.v1.NodePool.PlacementPolicy.Builder getPlacementPolicyBuilder() { - + onChanged(); return getPlacementPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8591,11 +9653,14 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol if (placementPolicyBuilder_ != null) { return placementPolicyBuilder_.getMessageOrBuilder(); } else { - return placementPolicy_ == null ? - com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; + return placementPolicy_ == null + ? com.google.container.v1.NodePool.PlacementPolicy.getDefaultInstance() + : placementPolicy_; } } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8603,14 +9668,17 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.PlacementPolicy, com.google.container.v1.NodePool.PlacementPolicy.Builder, com.google.container.v1.NodePool.PlacementPolicyOrBuilder> + com.google.container.v1.NodePool.PlacementPolicy, + com.google.container.v1.NodePool.PlacementPolicy.Builder, + com.google.container.v1.NodePool.PlacementPolicyOrBuilder> getPlacementPolicyFieldBuilder() { if (placementPolicyBuilder_ == null) { - placementPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.PlacementPolicy, com.google.container.v1.NodePool.PlacementPolicy.Builder, com.google.container.v1.NodePool.PlacementPolicyOrBuilder>( - getPlacementPolicy(), - getParentForChildren(), - isClean()); + placementPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.PlacementPolicy, + com.google.container.v1.NodePool.PlacementPolicy.Builder, + com.google.container.v1.NodePool.PlacementPolicyOrBuilder>( + getPlacementPolicy(), getParentForChildren(), isClean()); placementPolicy_ = null; } return placementPolicyBuilder_; @@ -8618,42 +9686,61 @@ public com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPol private com.google.container.v1.NodePool.UpdateInfo updateInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo, com.google.container.v1.NodePool.UpdateInfo.Builder, com.google.container.v1.NodePool.UpdateInfoOrBuilder> updateInfoBuilder_; + com.google.container.v1.NodePool.UpdateInfo, + com.google.container.v1.NodePool.UpdateInfo.Builder, + com.google.container.v1.NodePool.UpdateInfoOrBuilder> + updateInfoBuilder_; /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateInfo field is set. */ public boolean hasUpdateInfo() { return updateInfoBuilder_ != null || updateInfo_ != null; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateInfo. */ public com.google.container.v1.NodePool.UpdateInfo getUpdateInfo() { if (updateInfoBuilder_ == null) { - return updateInfo_ == null ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; + return updateInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; } else { return updateInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { @@ -8669,12 +9756,16 @@ public Builder setUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateInfo( com.google.container.v1.NodePool.UpdateInfo.Builder builderForValue) { @@ -8688,18 +9779,24 @@ public Builder setUpdateInfo( return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { if (updateInfo_ != null) { updateInfo_ = - com.google.container.v1.NodePool.UpdateInfo.newBuilder(updateInfo_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePool.UpdateInfo.newBuilder(updateInfo_) + .mergeFrom(value) + .buildPartial(); } else { updateInfo_ = value; } @@ -8711,12 +9808,16 @@ public Builder mergeUpdateInfo(com.google.container.v1.NodePool.UpdateInfo value return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateInfo() { if (updateInfoBuilder_ == null) { @@ -8730,58 +9831,74 @@ public Builder clearUpdateInfo() { return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1.NodePool.UpdateInfo.Builder getUpdateInfoBuilder() { - + onChanged(); return getUpdateInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { if (updateInfoBuilder_ != null) { return updateInfoBuilder_.getMessageOrBuilder(); } else { - return updateInfo_ == null ? - com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; + return updateInfo_ == null + ? com.google.container.v1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; } } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo, com.google.container.v1.NodePool.UpdateInfo.Builder, com.google.container.v1.NodePool.UpdateInfoOrBuilder> + com.google.container.v1.NodePool.UpdateInfo, + com.google.container.v1.NodePool.UpdateInfo.Builder, + com.google.container.v1.NodePool.UpdateInfoOrBuilder> getUpdateInfoFieldBuilder() { if (updateInfoBuilder_ == null) { - updateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpdateInfo, com.google.container.v1.NodePool.UpdateInfo.Builder, com.google.container.v1.NodePool.UpdateInfoOrBuilder>( - getUpdateInfo(), - getParentForChildren(), - isClean()); + updateInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpdateInfo, + com.google.container.v1.NodePool.UpdateInfo.Builder, + com.google.container.v1.NodePool.UpdateInfoOrBuilder>( + getUpdateInfo(), getParentForChildren(), isClean()); updateInfo_ = null; } return updateInfoBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8791,12 +9908,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePool) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePool) private static final com.google.container.v1.NodePool DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePool(); } @@ -8805,27 +9922,27 @@ public static com.google.container.v1.NodePool getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8840,6 +9957,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java index 94810cb39cb2..7daa3b1553c4 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Node pool configs that apply to all auto-provisioned node pools
  * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1.NodePoolAutoConfig}
  */
-public final class NodePoolAutoConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodePoolAutoConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolAutoConfig)
     NodePoolAutoConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodePoolAutoConfig.newBuilder() to construct.
   private NodePoolAutoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NodePoolAutoConfig() {
-  }
+
+  private NodePoolAutoConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodePoolAutoConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodePoolAutoConfig.class, com.google.container.v1.NodePoolAutoConfig.Builder.class);
+            com.google.container.v1.NodePoolAutoConfig.class,
+            com.google.container.v1.NodePoolAutoConfig.Builder.class);
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 1;
   private com.google.container.v1.NetworkTags networkTags_;
   /**
+   *
+   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.container.v1.NetworkTags network_tags = 1; + * * @return Whether the networkTags field is set. */ @java.lang.Override @@ -66,6 +87,8 @@ public boolean hasNetworkTags() { return networkTags_ != null; } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -74,13 +97,18 @@ public boolean hasNetworkTags() {
    * 
* * .google.container.v1.NetworkTags network_tags = 1; + * * @return The networkTags. */ @java.lang.Override public com.google.container.v1.NetworkTags getNetworkTags() { - return networkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : networkTags_; + return networkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : networkTags_; } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -96,6 +124,7 @@ public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -107,8 +136,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (networkTags_ != null) {
       output.writeMessage(1, getNetworkTags());
     }
@@ -122,8 +150,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (networkTags_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getNetworkTags());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNetworkTags());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -133,17 +160,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.NodePoolAutoConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1.NodePoolAutoConfig other = (com.google.container.v1.NodePoolAutoConfig) obj;
+    com.google.container.v1.NodePoolAutoConfig other =
+        (com.google.container.v1.NodePoolAutoConfig) obj;
 
     if (hasNetworkTags() != other.hasNetworkTags()) return false;
     if (hasNetworkTags()) {
-      if (!getNetworkTags()
-          .equals(other.getNetworkTags())) return false;
+      if (!getNetworkTags().equals(other.getNetworkTags())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -165,97 +192,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.NodePoolAutoConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NodePoolAutoConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
       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.NodePoolAutoConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1.NodePoolAutoConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1.NodePoolAutoConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.NodePoolAutoConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.NodePoolAutoConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -263,33 +297,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodePoolAutoConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolAutoConfig)
       com.google.container.v1.NodePoolAutoConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePoolAutoConfig.class, com.google.container.v1.NodePoolAutoConfig.Builder.class);
+              com.google.container.v1.NodePoolAutoConfig.class,
+              com.google.container.v1.NodePoolAutoConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodePoolAutoConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -303,9 +336,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
@@ -324,7 +357,8 @@ public com.google.container.v1.NodePoolAutoConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.NodePoolAutoConfig buildPartial() {
-      com.google.container.v1.NodePoolAutoConfig result = new com.google.container.v1.NodePoolAutoConfig(this);
+      com.google.container.v1.NodePoolAutoConfig result =
+          new com.google.container.v1.NodePoolAutoConfig(this);
       if (networkTagsBuilder_ == null) {
         result.networkTags_ = networkTags_;
       } else {
@@ -338,38 +372,39 @@ public com.google.container.v1.NodePoolAutoConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodePoolAutoConfig) {
-        return mergeFrom((com.google.container.v1.NodePoolAutoConfig)other);
+        return mergeFrom((com.google.container.v1.NodePoolAutoConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -407,19 +442,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getNetworkTagsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getNetworkTagsFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -432,8 +467,13 @@ public Builder mergeFrom(
 
     private com.google.container.v1.NetworkTags networkTags_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> networkTagsBuilder_;
+            com.google.container.v1.NetworkTags,
+            com.google.container.v1.NetworkTags.Builder,
+            com.google.container.v1.NetworkTagsOrBuilder>
+        networkTagsBuilder_;
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -442,12 +482,15 @@ public Builder mergeFrom(
      * 
* * .google.container.v1.NetworkTags network_tags = 1; + * * @return Whether the networkTags field is set. */ public boolean hasNetworkTags() { return networkTagsBuilder_ != null || networkTags_ != null; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -456,16 +499,21 @@ public boolean hasNetworkTags() {
      * 
* * .google.container.v1.NetworkTags network_tags = 1; + * * @return The networkTags. */ public com.google.container.v1.NetworkTags getNetworkTags() { if (networkTagsBuilder_ == null) { - return networkTags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : networkTags_; + return networkTags_ == null + ? com.google.container.v1.NetworkTags.getDefaultInstance() + : networkTags_; } else { return networkTagsBuilder_.getMessage(); } } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -489,6 +537,8 @@ public Builder setNetworkTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -498,8 +548,7 @@ public Builder setNetworkTags(com.google.container.v1.NetworkTags value) {
      *
      * .google.container.v1.NetworkTags network_tags = 1;
      */
-    public Builder setNetworkTags(
-        com.google.container.v1.NetworkTags.Builder builderForValue) {
+    public Builder setNetworkTags(com.google.container.v1.NetworkTags.Builder builderForValue) {
       if (networkTagsBuilder_ == null) {
         networkTags_ = builderForValue.build();
         onChanged();
@@ -510,6 +559,8 @@ public Builder setNetworkTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -523,7 +574,9 @@ public Builder mergeNetworkTags(com.google.container.v1.NetworkTags value) {
       if (networkTagsBuilder_ == null) {
         if (networkTags_ != null) {
           networkTags_ =
-            com.google.container.v1.NetworkTags.newBuilder(networkTags_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NetworkTags.newBuilder(networkTags_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkTags_ = value;
         }
@@ -535,6 +588,8 @@ public Builder mergeNetworkTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -556,6 +611,8 @@ public Builder clearNetworkTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -566,11 +623,13 @@ public Builder clearNetworkTags() {
      * .google.container.v1.NetworkTags network_tags = 1;
      */
     public com.google.container.v1.NetworkTags.Builder getNetworkTagsBuilder() {
-      
+
       onChanged();
       return getNetworkTagsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -584,11 +643,14 @@ public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() {
       if (networkTagsBuilder_ != null) {
         return networkTagsBuilder_.getMessageOrBuilder();
       } else {
-        return networkTags_ == null ?
-            com.google.container.v1.NetworkTags.getDefaultInstance() : networkTags_;
+        return networkTags_ == null
+            ? com.google.container.v1.NetworkTags.getDefaultInstance()
+            : networkTags_;
       }
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -599,21 +661,24 @@ public com.google.container.v1.NetworkTagsOrBuilder getNetworkTagsOrBuilder() {
      * .google.container.v1.NetworkTags network_tags = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> 
+            com.google.container.v1.NetworkTags,
+            com.google.container.v1.NetworkTags.Builder,
+            com.google.container.v1.NetworkTagsOrBuilder>
         getNetworkTagsFieldBuilder() {
       if (networkTagsBuilder_ == null) {
-        networkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder>(
-                getNetworkTags(),
-                getParentForChildren(),
-                isClean());
+        networkTagsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NetworkTags,
+                com.google.container.v1.NetworkTags.Builder,
+                com.google.container.v1.NetworkTagsOrBuilder>(
+                getNetworkTags(), getParentForChildren(), isClean());
         networkTags_ = null;
       }
       return networkTagsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -623,12 +688,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolAutoConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolAutoConfig)
   private static final com.google.container.v1.NodePoolAutoConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.NodePoolAutoConfig();
   }
@@ -637,27 +702,27 @@ public static com.google.container.v1.NodePoolAutoConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public NodePoolAutoConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public NodePoolAutoConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -672,6 +737,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.NodePoolAutoConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
index 10745fbd8c78..0f3dd0c0ed9b 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface NodePoolAutoConfigOrBuilder extends
+public interface NodePoolAutoConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolAutoConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -16,10 +34,13 @@ public interface NodePoolAutoConfigOrBuilder extends
    * 
* * .google.container.v1.NetworkTags network_tags = 1; + * * @return Whether the networkTags field is set. */ boolean hasNetworkTags(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -28,10 +49,13 @@ public interface NodePoolAutoConfigOrBuilder extends
    * 
* * .google.container.v1.NetworkTags network_tags = 1; + * * @return The networkTags. */ com.google.container.v1.NetworkTags getNetworkTags(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
similarity index 72%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
index fc6be505e6a4..5977f2226662 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * NodePoolAutoscaling contains information required by cluster autoscaler to
  * adjust the size of the node pool to the current cluster usage.
@@ -11,45 +28,49 @@
  *
  * Protobuf type {@code google.container.v1.NodePoolAutoscaling}
  */
-public final class NodePoolAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolAutoscaling)
     NodePoolAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodePoolAutoscaling.newBuilder() to construct.
   private NodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodePoolAutoscaling() {
     locationPolicy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodePoolAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodePoolAutoscaling.class, com.google.container.v1.NodePoolAutoscaling.Builder.class);
+            com.google.container.v1.NodePoolAutoscaling.class,
+            com.google.container.v1.NodePoolAutoscaling.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Location policy specifies how zones are picked when scaling up the
    * nodepool.
@@ -57,9 +78,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1.NodePoolAutoscaling.LocationPolicy}
    */
-  public enum LocationPolicy
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -68,6 +90,8 @@ public enum LocationPolicy */ LOCATION_POLICY_UNSPECIFIED(0), /** + * + * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -77,6 +101,8 @@ public enum LocationPolicy
      */
     BALANCED(1),
     /**
+     *
+     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -88,6 +114,8 @@ public enum LocationPolicy ; /** + * + * *
      * Not set.
      * 
@@ -96,6 +124,8 @@ public enum LocationPolicy */ public static final int LOCATION_POLICY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -105,6 +135,8 @@ public enum LocationPolicy
      */
     public static final int BALANCED_VALUE = 1;
     /**
+     *
+     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -113,7 +145,6 @@ public enum LocationPolicy */ public static final int ANY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,49 +169,49 @@ public static LocationPolicy valueOf(int value) { */ public static LocationPolicy forNumber(int value) { switch (value) { - case 0: return LOCATION_POLICY_UNSPECIFIED; - case 1: return BALANCED; - case 2: return ANY; - default: return null; + case 0: + return LOCATION_POLICY_UNSPECIFIED; + case 1: + return BALANCED; + case 2: + return ANY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LocationPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationPolicy findValueByNumber(int number) { - return LocationPolicy.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationPolicy findValueByNumber(int number) { + return LocationPolicy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.NodePoolAutoscaling.getDescriptor().getEnumTypes().get(0); } private static final LocationPolicy[] VALUES = values(); - public static LocationPolicy valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -200,11 +231,14 @@ private LocationPolicy(int value) { public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -215,12 +249,15 @@ public boolean getEnabled() { public static final int MIN_NODE_COUNT_FIELD_NUMBER = 2; private int minNodeCount_; /** + * + * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; + * * @return The minNodeCount. */ @java.lang.Override @@ -231,12 +268,15 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 3; private int maxNodeCount_; /** + * + * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; + * * @return The maxNodeCount. */ @java.lang.Override @@ -247,11 +287,14 @@ public int getMaxNodeCount() { public static final int AUTOPROVISIONED_FIELD_NUMBER = 4; private boolean autoprovisioned_; /** + * + * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; + * * @return The autoprovisioned. */ @java.lang.Override @@ -262,33 +305,46 @@ public boolean getAutoprovisioned() { public static final int LOCATION_POLICY_FIELD_NUMBER = 5; private int locationPolicy_; /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override public int getLocationPolicyValue() { + @java.lang.Override + public int getLocationPolicyValue() { return locationPolicy_; } /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The locationPolicy. */ - @java.lang.Override public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @java.lang.Override + public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; + com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; } public static final int TOTAL_MIN_NODE_COUNT_FIELD_NUMBER = 6; private int totalMinNodeCount_; /** + * + * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -297,6 +353,7 @@ public boolean getAutoprovisioned() {
    * 
* * int32 total_min_node_count = 6; + * * @return The totalMinNodeCount. */ @java.lang.Override @@ -307,6 +364,8 @@ public int getTotalMinNodeCount() { public static final int TOTAL_MAX_NODE_COUNT_FIELD_NUMBER = 7; private int totalMaxNodeCount_; /** + * + * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -315,6 +374,7 @@ public int getTotalMinNodeCount() {
    * 
* * int32 total_max_node_count = 7; + * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -323,6 +383,7 @@ public int getTotalMaxNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +395,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -348,7 +408,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (autoprovisioned_ != false) { output.writeBool(4, autoprovisioned_); } - if (locationPolicy_ != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { + if (locationPolicy_ + != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { @@ -367,32 +429,27 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, minNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxNodeCount_); } if (autoprovisioned_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, autoprovisioned_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, autoprovisioned_); } - if (locationPolicy_ != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, locationPolicy_); + if (locationPolicy_ + != com.google.container.v1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, totalMinNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalMinNodeCount_); } if (totalMaxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, totalMaxNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, totalMaxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -402,26 +459,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePoolAutoscaling)) { return super.equals(obj); } - com.google.container.v1.NodePoolAutoscaling other = (com.google.container.v1.NodePoolAutoscaling) obj; + com.google.container.v1.NodePoolAutoscaling other = + (com.google.container.v1.NodePoolAutoscaling) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (getMinNodeCount() - != other.getMinNodeCount()) return false; - if (getMaxNodeCount() - != other.getMaxNodeCount()) return false; - if (getAutoprovisioned() - != other.getAutoprovisioned()) return false; + if (getEnabled() != other.getEnabled()) return false; + if (getMinNodeCount() != other.getMinNodeCount()) return false; + if (getMaxNodeCount() != other.getMaxNodeCount()) return false; + if (getAutoprovisioned() != other.getAutoprovisioned()) return false; if (locationPolicy_ != other.locationPolicy_) return false; - if (getTotalMinNodeCount() - != other.getTotalMinNodeCount()) return false; - if (getTotalMaxNodeCount() - != other.getTotalMaxNodeCount()) return false; + if (getTotalMinNodeCount() != other.getTotalMinNodeCount()) return false; + if (getTotalMaxNodeCount() != other.getTotalMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -434,15 +486,13 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + MIN_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMinNodeCount(); hash = (37 * hash) + MAX_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMaxNodeCount(); hash = (37 * hash) + AUTOPROVISIONED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoprovisioned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoprovisioned()); hash = (37 * hash) + LOCATION_POLICY_FIELD_NUMBER; hash = (53 * hash) + locationPolicy_; hash = (37 * hash) + TOTAL_MIN_NODE_COUNT_FIELD_NUMBER; @@ -454,97 +504,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodePoolAutoscaling parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolAutoscaling parseFrom( 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.NodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodePoolAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodePoolAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodePoolAutoscaling contains information required by cluster autoscaler to
    * adjust the size of the node pool to the current cluster usage.
@@ -552,33 +609,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodePoolAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolAutoscaling)
       com.google.container.v1.NodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodePoolAutoscaling.class, com.google.container.v1.NodePoolAutoscaling.Builder.class);
+              com.google.container.v1.NodePoolAutoscaling.class,
+              com.google.container.v1.NodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodePoolAutoscaling.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -600,9 +656,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -621,7 +677,8 @@ public com.google.container.v1.NodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.NodePoolAutoscaling buildPartial() {
-      com.google.container.v1.NodePoolAutoscaling result = new com.google.container.v1.NodePoolAutoscaling(this);
+      com.google.container.v1.NodePoolAutoscaling result =
+          new com.google.container.v1.NodePoolAutoscaling(this);
       result.enabled_ = enabled_;
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
@@ -637,38 +694,39 @@ public com.google.container.v1.NodePoolAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodePoolAutoscaling) {
-        return mergeFrom((com.google.container.v1.NodePoolAutoscaling)other);
+        return mergeFrom((com.google.container.v1.NodePoolAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -724,47 +782,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            case 16: {
-              minNodeCount_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 24: {
-              maxNodeCount_ = input.readInt32();
-
-              break;
-            } // case 24
-            case 32: {
-              autoprovisioned_ = input.readBool();
-
-              break;
-            } // case 32
-            case 40: {
-              locationPolicy_ = input.readEnum();
-
-              break;
-            } // case 40
-            case 48: {
-              totalMinNodeCount_ = input.readInt32();
-
-              break;
-            } // case 48
-            case 56: {
-              totalMaxNodeCount_ = input.readInt32();
-
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                minNodeCount_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 24:
+              {
+                maxNodeCount_ = input.readInt32();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                autoprovisioned_ = input.readBool();
+
+                break;
+              } // case 32
+            case 40:
+              {
+                locationPolicy_ = input.readEnum();
+
+                break;
+              } // case 40
+            case 48:
+              {
+                totalMinNodeCount_ = input.readInt32();
+
+                break;
+              } // case 48
+            case 56:
+              {
+                totalMaxNodeCount_ = input.readInt32();
+
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -775,13 +841,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -789,43 +858,52 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private int minNodeCount_ ; + private int minNodeCount_; /** + * + * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; + * * @return The minNodeCount. */ @java.lang.Override @@ -833,45 +911,54 @@ public int getMinNodeCount() { return minNodeCount_; } /** + * + * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; + * * @param value The minNodeCount to set. * @return This builder for chaining. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; + * * @return This builder for chaining. */ public Builder clearMinNodeCount() { - + minNodeCount_ = 0; onChanged(); return this; } - private int maxNodeCount_ ; + private int maxNodeCount_; /** + * + * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; + * * @return The maxNodeCount. */ @java.lang.Override @@ -879,44 +966,53 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** + * + * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; + * * @param value The maxNodeCount to set. * @return This builder for chaining. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; + * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { - + maxNodeCount_ = 0; onChanged(); return this; } - private boolean autoprovisioned_ ; + private boolean autoprovisioned_; /** + * + * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; + * * @return The autoprovisioned. */ @java.lang.Override @@ -924,30 +1020,36 @@ public boolean getAutoprovisioned() { return autoprovisioned_; } /** + * + * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; + * * @param value The autoprovisioned to set. * @return This builder for chaining. */ public Builder setAutoprovisioned(boolean value) { - + autoprovisioned_ = value; onChanged(); return this; } /** + * + * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; + * * @return This builder for chaining. */ public Builder clearAutoprovisioned() { - + autoprovisioned_ = false; onChanged(); return this; @@ -955,80 +1057,102 @@ public Builder clearAutoprovisioned() { private int locationPolicy_ = 0; /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override public int getLocationPolicyValue() { + @java.lang.Override + public int getLocationPolicyValue() { return locationPolicy_; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @param value The enum numeric value on the wire for locationPolicy to set. * @return This builder for chaining. */ public Builder setLocationPolicyValue(int value) { - + locationPolicy_ = value; onChanged(); return this; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The locationPolicy. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; + com.google.container.v1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @param value The locationPolicy to set. * @return This builder for chaining. */ - public Builder setLocationPolicy(com.google.container.v1.NodePoolAutoscaling.LocationPolicy value) { + public Builder setLocationPolicy( + com.google.container.v1.NodePoolAutoscaling.LocationPolicy value) { if (value == null) { throw new NullPointerException(); } - + locationPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return This builder for chaining. */ public Builder clearLocationPolicy() { - + locationPolicy_ = 0; onChanged(); return this; } - private int totalMinNodeCount_ ; + private int totalMinNodeCount_; /** + * + * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1037,6 +1161,7 @@ public Builder clearLocationPolicy() {
      * 
* * int32 total_min_node_count = 6; + * * @return The totalMinNodeCount. */ @java.lang.Override @@ -1044,6 +1169,8 @@ public int getTotalMinNodeCount() { return totalMinNodeCount_; } /** + * + * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1052,16 +1179,19 @@ public int getTotalMinNodeCount() {
      * 
* * int32 total_min_node_count = 6; + * * @param value The totalMinNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMinNodeCount(int value) { - + totalMinNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1070,17 +1200,20 @@ public Builder setTotalMinNodeCount(int value) {
      * 
* * int32 total_min_node_count = 6; + * * @return This builder for chaining. */ public Builder clearTotalMinNodeCount() { - + totalMinNodeCount_ = 0; onChanged(); return this; } - private int totalMaxNodeCount_ ; + private int totalMaxNodeCount_; /** + * + * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1089,6 +1222,7 @@ public Builder clearTotalMinNodeCount() {
      * 
* * int32 total_max_node_count = 7; + * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -1096,6 +1230,8 @@ public int getTotalMaxNodeCount() { return totalMaxNodeCount_; } /** + * + * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1104,16 +1240,19 @@ public int getTotalMaxNodeCount() {
      * 
* * int32 total_max_node_count = 7; + * * @param value The totalMaxNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMaxNodeCount(int value) { - + totalMaxNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1122,17 +1261,18 @@ public Builder setTotalMaxNodeCount(int value) {
      * 
* * int32 total_max_node_count = 7; + * * @return This builder for chaining. */ public Builder clearTotalMaxNodeCount() { - + totalMaxNodeCount_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1142,12 +1282,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolAutoscaling) private static final com.google.container.v1.NodePoolAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePoolAutoscaling(); } @@ -1156,27 +1296,27 @@ public static com.google.container.v1.NodePoolAutoscaling getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1331,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java similarity index 76% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java index 9ac0a071cbc3..49de5039c911 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java @@ -1,74 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface NodePoolAutoscalingOrBuilder extends +public interface NodePoolAutoscalingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; + * * @return The minNodeCount. */ int getMinNodeCount(); /** + * + * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; + * * @return The maxNodeCount. */ int getMaxNodeCount(); /** + * + * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; + * * @return The autoprovisioned. */ boolean getAutoprovisioned(); /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The enum numeric value on the wire for locationPolicy. */ int getLocationPolicyValue(); /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The locationPolicy. */ com.google.container.v1.NodePoolAutoscaling.LocationPolicy getLocationPolicy(); /** + * + * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -77,11 +113,14 @@ public interface NodePoolAutoscalingOrBuilder extends
    * 
* * int32 total_min_node_count = 6; + * * @return The totalMinNodeCount. */ int getTotalMinNodeCount(); /** + * + * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -90,6 +129,7 @@ public interface NodePoolAutoscalingOrBuilder extends
    * 
* * int32 total_max_node_count = 7; + * * @return The totalMaxNodeCount. */ int getTotalMaxNodeCount(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java index 2bb2b0aa1a8a..5c857df3af48 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaults.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Subset of Nodepool message that has defaults.
  * 
* * Protobuf type {@code google.container.v1.NodePoolDefaults} */ -public final class NodePoolDefaults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodePoolDefaults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolDefaults) NodePoolDefaultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodePoolDefaults.newBuilder() to construct. private NodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodePoolDefaults() { - } + + private NodePoolDefaults() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodePoolDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolDefaults.class, com.google.container.v1.NodePoolDefaults.Builder.class); + com.google.container.v1.NodePoolDefaults.class, + com.google.container.v1.NodePoolDefaults.Builder.class); } public static final int NODE_CONFIG_DEFAULTS_FIELD_NUMBER = 1; private com.google.container.v1.NodeConfigDefaults nodeConfigDefaults_; /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; + * * @return Whether the nodeConfigDefaults field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasNodeConfigDefaults() { return nodeConfigDefaults_ != null; } /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; + * * @return The nodeConfigDefaults. */ @java.lang.Override public com.google.container.v1.NodeConfigDefaults getNodeConfigDefaults() { - return nodeConfigDefaults_ == null ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; + return nodeConfigDefaults_ == null + ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() + : nodeConfigDefaults_; } /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
@@ -86,6 +114,7 @@ public com.google.container.v1.NodeConfigDefaultsOrBuilder getNodeConfigDefaults } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nodeConfigDefaults_ != null) { output.writeMessage(1, getNodeConfigDefaults()); } @@ -112,8 +140,7 @@ public int getSerializedSize() { size = 0; if (nodeConfigDefaults_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNodeConfigDefaults()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNodeConfigDefaults()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,7 +150,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePoolDefaults)) { return super.equals(obj); @@ -132,8 +159,7 @@ public boolean equals(final java.lang.Object obj) { if (hasNodeConfigDefaults() != other.hasNodeConfigDefaults()) return false; if (hasNodeConfigDefaults()) { - if (!getNodeConfigDefaults() - .equals(other.getNodeConfigDefaults())) return false; + if (!getNodeConfigDefaults().equals(other.getNodeConfigDefaults())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -155,130 +181,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePoolDefaults parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodePoolDefaults parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolDefaults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolDefaults parseFrom( 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.NodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolDefaults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodePoolDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolDefaults parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePoolDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodePoolDefaults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Subset of Nodepool message that has defaults.
    * 
* * Protobuf type {@code google.container.v1.NodePoolDefaults} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolDefaults) com.google.container.v1.NodePoolDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolDefaults.class, com.google.container.v1.NodePoolDefaults.Builder.class); + com.google.container.v1.NodePoolDefaults.class, + com.google.container.v1.NodePoolDefaults.Builder.class); } // Construct using com.google.container.v1.NodePoolDefaults.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +324,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolDefaults_descriptor; } @java.lang.Override @@ -313,7 +345,8 @@ public com.google.container.v1.NodePoolDefaults build() { @java.lang.Override public com.google.container.v1.NodePoolDefaults buildPartial() { - com.google.container.v1.NodePoolDefaults result = new com.google.container.v1.NodePoolDefaults(this); + com.google.container.v1.NodePoolDefaults result = + new com.google.container.v1.NodePoolDefaults(this); if (nodeConfigDefaultsBuilder_ == null) { result.nodeConfigDefaults_ = nodeConfigDefaults_; } else { @@ -327,38 +360,39 @@ public com.google.container.v1.NodePoolDefaults buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodePoolDefaults) { - return mergeFrom((com.google.container.v1.NodePoolDefaults)other); + return mergeFrom((com.google.container.v1.NodePoolDefaults) other); } else { super.mergeFrom(other); return this; @@ -396,19 +430,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getNodeConfigDefaultsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getNodeConfigDefaultsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -421,34 +456,47 @@ public Builder mergeFrom( private com.google.container.v1.NodeConfigDefaults nodeConfigDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfigDefaults, com.google.container.v1.NodeConfigDefaults.Builder, com.google.container.v1.NodeConfigDefaultsOrBuilder> nodeConfigDefaultsBuilder_; + com.google.container.v1.NodeConfigDefaults, + com.google.container.v1.NodeConfigDefaults.Builder, + com.google.container.v1.NodeConfigDefaultsOrBuilder> + nodeConfigDefaultsBuilder_; /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; + * * @return Whether the nodeConfigDefaults field is set. */ public boolean hasNodeConfigDefaults() { return nodeConfigDefaultsBuilder_ != null || nodeConfigDefaults_ != null; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; + * * @return The nodeConfigDefaults. */ public com.google.container.v1.NodeConfigDefaults getNodeConfigDefaults() { if (nodeConfigDefaultsBuilder_ == null) { - return nodeConfigDefaults_ == null ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; + return nodeConfigDefaults_ == null + ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() + : nodeConfigDefaults_; } else { return nodeConfigDefaultsBuilder_.getMessage(); } } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -469,6 +517,8 @@ public Builder setNodeConfigDefaults(com.google.container.v1.NodeConfigDefaults return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -487,6 +537,8 @@ public Builder setNodeConfigDefaults( return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -497,7 +549,9 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1.NodeConfigDefault if (nodeConfigDefaultsBuilder_ == null) { if (nodeConfigDefaults_ != null) { nodeConfigDefaults_ = - com.google.container.v1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_) + .mergeFrom(value) + .buildPartial(); } else { nodeConfigDefaults_ = value; } @@ -509,6 +563,8 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1.NodeConfigDefault return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -527,6 +583,8 @@ public Builder clearNodeConfigDefaults() { return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -534,11 +592,13 @@ public Builder clearNodeConfigDefaults() { * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; */ public com.google.container.v1.NodeConfigDefaults.Builder getNodeConfigDefaultsBuilder() { - + onChanged(); return getNodeConfigDefaultsFieldBuilder().getBuilder(); } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -549,11 +609,14 @@ public com.google.container.v1.NodeConfigDefaultsOrBuilder getNodeConfigDefaults if (nodeConfigDefaultsBuilder_ != null) { return nodeConfigDefaultsBuilder_.getMessageOrBuilder(); } else { - return nodeConfigDefaults_ == null ? - com.google.container.v1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; + return nodeConfigDefaults_ == null + ? com.google.container.v1.NodeConfigDefaults.getDefaultInstance() + : nodeConfigDefaults_; } } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -561,21 +624,24 @@ public com.google.container.v1.NodeConfigDefaultsOrBuilder getNodeConfigDefaults * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfigDefaults, com.google.container.v1.NodeConfigDefaults.Builder, com.google.container.v1.NodeConfigDefaultsOrBuilder> + com.google.container.v1.NodeConfigDefaults, + com.google.container.v1.NodeConfigDefaults.Builder, + com.google.container.v1.NodeConfigDefaultsOrBuilder> getNodeConfigDefaultsFieldBuilder() { if (nodeConfigDefaultsBuilder_ == null) { - nodeConfigDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeConfigDefaults, com.google.container.v1.NodeConfigDefaults.Builder, com.google.container.v1.NodeConfigDefaultsOrBuilder>( - getNodeConfigDefaults(), - getParentForChildren(), - isClean()); + nodeConfigDefaultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeConfigDefaults, + com.google.container.v1.NodeConfigDefaults.Builder, + com.google.container.v1.NodeConfigDefaultsOrBuilder>( + getNodeConfigDefaults(), getParentForChildren(), isClean()); nodeConfigDefaults_ = null; } return nodeConfigDefaultsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +651,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolDefaults) private static final com.google.container.v1.NodePoolDefaults DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePoolDefaults(); } @@ -599,27 +665,27 @@ public static com.google.container.v1.NodePoolDefaults getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,6 +700,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java similarity index 61% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java index bdee1c8f0482..bf1825798cb5 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolDefaultsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodePoolDefaultsOrBuilder extends +public interface NodePoolDefaultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; + * * @return Whether the nodeConfigDefaults field is set. */ boolean hasNodeConfigDefaults(); /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1.NodeConfigDefaults node_config_defaults = 1; + * * @return The nodeConfigDefaults. */ com.google.container.v1.NodeConfigDefaults getNodeConfigDefaults(); /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java index ea72c5521fa6..226f775d45ad 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * NodePoolLoggingConfig specifies logging configuration for nodepools.
  * 
* * Protobuf type {@code google.container.v1.NodePoolLoggingConfig} */ -public final class NodePoolLoggingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodePoolLoggingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NodePoolLoggingConfig) NodePoolLoggingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodePoolLoggingConfig.newBuilder() to construct. private NodePoolLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodePoolLoggingConfig() { - } + + private NodePoolLoggingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodePoolLoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolLoggingConfig.class, com.google.container.v1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1.NodePoolLoggingConfig.class, + com.google.container.v1.NodePoolLoggingConfig.Builder.class); } public static final int VARIANT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1.LoggingVariantConfig variantConfig_; /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; + * * @return Whether the variantConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasVariantConfig() { return variantConfig_ != null; } /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; + * * @return The variantConfig. */ @java.lang.Override public com.google.container.v1.LoggingVariantConfig getVariantConfig() { - return variantConfig_ == null ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; + return variantConfig_ == null + ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() + : variantConfig_; } /** + * + * *
    * Logging variant configuration.
    * 
@@ -86,6 +114,7 @@ public com.google.container.v1.LoggingVariantConfigOrBuilder getVariantConfigOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (variantConfig_ != null) { output.writeMessage(1, getVariantConfig()); } @@ -112,8 +140,7 @@ public int getSerializedSize() { size = 0; if (variantConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getVariantConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getVariantConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +150,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodePoolLoggingConfig)) { return super.equals(obj); } - com.google.container.v1.NodePoolLoggingConfig other = (com.google.container.v1.NodePoolLoggingConfig) obj; + com.google.container.v1.NodePoolLoggingConfig other = + (com.google.container.v1.NodePoolLoggingConfig) obj; if (hasVariantConfig() != other.hasVariantConfig()) return false; if (hasVariantConfig()) { - if (!getVariantConfig() - .equals(other.getVariantConfig())) return false; + if (!getVariantConfig().equals(other.getVariantConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -155,130 +182,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodePoolLoggingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolLoggingConfig parseFrom( 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.NodePoolLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodePoolLoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NodePoolLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NodePoolLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolLoggingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodePoolLoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodePoolLoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodePoolLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodePoolLoggingConfig specifies logging configuration for nodepools.
    * 
* * Protobuf type {@code google.container.v1.NodePoolLoggingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NodePoolLoggingConfig) com.google.container.v1.NodePoolLoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NodePoolLoggingConfig.class, com.google.container.v1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1.NodePoolLoggingConfig.class, + com.google.container.v1.NodePoolLoggingConfig.Builder.class); } // Construct using com.google.container.v1.NodePoolLoggingConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; } @java.lang.Override @@ -313,7 +346,8 @@ public com.google.container.v1.NodePoolLoggingConfig build() { @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig buildPartial() { - com.google.container.v1.NodePoolLoggingConfig result = new com.google.container.v1.NodePoolLoggingConfig(this); + com.google.container.v1.NodePoolLoggingConfig result = + new com.google.container.v1.NodePoolLoggingConfig(this); if (variantConfigBuilder_ == null) { result.variantConfig_ = variantConfig_; } else { @@ -327,38 +361,39 @@ public com.google.container.v1.NodePoolLoggingConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NodePoolLoggingConfig) { - return mergeFrom((com.google.container.v1.NodePoolLoggingConfig)other); + return mergeFrom((com.google.container.v1.NodePoolLoggingConfig) other); } else { super.mergeFrom(other); return this; @@ -396,19 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getVariantConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getVariantConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -421,34 +456,47 @@ public Builder mergeFrom( private com.google.container.v1.LoggingVariantConfig variantConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingVariantConfig, com.google.container.v1.LoggingVariantConfig.Builder, com.google.container.v1.LoggingVariantConfigOrBuilder> variantConfigBuilder_; + com.google.container.v1.LoggingVariantConfig, + com.google.container.v1.LoggingVariantConfig.Builder, + com.google.container.v1.LoggingVariantConfigOrBuilder> + variantConfigBuilder_; /** + * + * *
      * Logging variant configuration.
      * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; + * * @return Whether the variantConfig field is set. */ public boolean hasVariantConfig() { return variantConfigBuilder_ != null || variantConfig_ != null; } /** + * + * *
      * Logging variant configuration.
      * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; + * * @return The variantConfig. */ public com.google.container.v1.LoggingVariantConfig getVariantConfig() { if (variantConfigBuilder_ == null) { - return variantConfig_ == null ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; + return variantConfig_ == null + ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() + : variantConfig_; } else { return variantConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging variant configuration.
      * 
@@ -469,6 +517,8 @@ public Builder setVariantConfig(com.google.container.v1.LoggingVariantConfig val return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -487,6 +537,8 @@ public Builder setVariantConfig( return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -497,7 +549,9 @@ public Builder mergeVariantConfig(com.google.container.v1.LoggingVariantConfig v if (variantConfigBuilder_ == null) { if (variantConfig_ != null) { variantConfig_ = - com.google.container.v1.LoggingVariantConfig.newBuilder(variantConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.LoggingVariantConfig.newBuilder(variantConfig_) + .mergeFrom(value) + .buildPartial(); } else { variantConfig_ = value; } @@ -509,6 +563,8 @@ public Builder mergeVariantConfig(com.google.container.v1.LoggingVariantConfig v return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -527,6 +583,8 @@ public Builder clearVariantConfig() { return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -534,11 +592,13 @@ public Builder clearVariantConfig() { * .google.container.v1.LoggingVariantConfig variant_config = 1; */ public com.google.container.v1.LoggingVariantConfig.Builder getVariantConfigBuilder() { - + onChanged(); return getVariantConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging variant configuration.
      * 
@@ -549,11 +609,14 @@ public com.google.container.v1.LoggingVariantConfigOrBuilder getVariantConfigOrB if (variantConfigBuilder_ != null) { return variantConfigBuilder_.getMessageOrBuilder(); } else { - return variantConfig_ == null ? - com.google.container.v1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; + return variantConfig_ == null + ? com.google.container.v1.LoggingVariantConfig.getDefaultInstance() + : variantConfig_; } } /** + * + * *
      * Logging variant configuration.
      * 
@@ -561,21 +624,24 @@ public com.google.container.v1.LoggingVariantConfigOrBuilder getVariantConfigOrB * .google.container.v1.LoggingVariantConfig variant_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingVariantConfig, com.google.container.v1.LoggingVariantConfig.Builder, com.google.container.v1.LoggingVariantConfigOrBuilder> + com.google.container.v1.LoggingVariantConfig, + com.google.container.v1.LoggingVariantConfig.Builder, + com.google.container.v1.LoggingVariantConfigOrBuilder> getVariantConfigFieldBuilder() { if (variantConfigBuilder_ == null) { - variantConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LoggingVariantConfig, com.google.container.v1.LoggingVariantConfig.Builder, com.google.container.v1.LoggingVariantConfigOrBuilder>( - getVariantConfig(), - getParentForChildren(), - isClean()); + variantConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LoggingVariantConfig, + com.google.container.v1.LoggingVariantConfig.Builder, + com.google.container.v1.LoggingVariantConfigOrBuilder>( + getVariantConfig(), getParentForChildren(), isClean()); variantConfig_ = null; } return variantConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +651,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodePoolLoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NodePoolLoggingConfig) private static final com.google.container.v1.NodePoolLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodePoolLoggingConfig(); } @@ -599,27 +665,27 @@ public static com.google.container.v1.NodePoolLoggingConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,6 +700,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodePoolLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java similarity index 59% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java index 47d649a6d40c..db60ea9d0ac4 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolLoggingConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodePoolLoggingConfigOrBuilder extends +public interface NodePoolLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePoolLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; + * * @return Whether the variantConfig field is set. */ boolean hasVariantConfig(); /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1.LoggingVariantConfig variant_config = 1; + * * @return The variantConfig. */ com.google.container.v1.LoggingVariantConfig getVariantConfig(); /** + * + * *
    * Logging variant configuration.
    * 
diff --git a/owl-bot-staging/java-container/v1/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 similarity index 86% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index 90cbd38b5635..8af789b8c24f 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface NodePoolOrBuilder extends +public interface NodePoolOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodePool) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1.NodeConfig config = 2; + * * @return The config. */ com.google.container.v1.NodeConfig getConfig(); /** + * + * *
    * The node configuration of the pool.
    * 
@@ -55,6 +84,8 @@ public interface NodePoolOrBuilder extends com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder(); /** + * + * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -63,11 +94,14 @@ public interface NodePoolOrBuilder extends
    * 
* * int32 initial_node_count = 3; + * * @return The initialNodeCount. */ int getInitialNodeCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -80,11 +114,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -97,10 +133,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -113,11 +152,14 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -130,33 +172,41 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1.NodeNetworkConfig network_config = 14; + * * @return The networkConfig. */ com.google.container.v1.NodeNetworkConfig getNetworkConfig(); /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -167,46 +217,58 @@ public interface NodePoolOrBuilder extends
   com.google.container.v1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ java.lang.String getSelfLink(); /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString - getSelfLinkBytes(); + com.google.protobuf.ByteString getSelfLinkBytes(); /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -216,11 +278,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @return A list containing the instanceGroupUrls. */ - java.util.List - getInstanceGroupUrlsList(); + java.util.List getInstanceGroupUrlsList(); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -230,10 +294,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @return The count of instanceGroupUrls. */ int getInstanceGroupUrlsCount(); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -243,11 +310,14 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ java.lang.String getInstanceGroupUrls(int index); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -257,32 +327,40 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1.NodePool.Status status = 103; + * * @return The status. */ com.google.container.v1.NodePool.Status getStatus(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -290,12 +368,16 @@ public interface NodePoolOrBuilder extends
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1.NodePool.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @return The statusMessage. */ - @java.lang.Deprecated java.lang.String getStatusMessage(); + @java.lang.Deprecated + java.lang.String getStatusMessage(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -303,34 +385,43 @@ public interface NodePoolOrBuilder extends
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1.NodePool.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=3065 + * + * @deprecated google.container.v1.NodePool.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=3065 * @return The bytes for statusMessage. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getStatusMessageBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1.NodePoolAutoscaling autoscaling = 4; + * * @return The autoscaling. */ com.google.container.v1.NodePoolAutoscaling getAutoscaling(); /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -341,24 +432,32 @@ public interface NodePoolOrBuilder extends
   com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder();
 
   /**
+   *
+   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1.NodeManagement management = 5; + * * @return The management. */ com.google.container.v1.NodeManagement getManagement(); /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -368,26 +467,34 @@ public interface NodePoolOrBuilder extends com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder(); /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; + * * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; + * * @return The maxPodsConstraint. */ com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint(); /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -398,15 +505,18 @@ public interface NodePoolOrBuilder extends
   com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder();
 
   /**
+   *
+   *
    * 
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - java.util.List - getConditionsList(); + java.util.List getConditionsList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -415,6 +525,8 @@ public interface NodePoolOrBuilder extends */ com.google.container.v1.StatusCondition getConditions(int index); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -423,53 +535,67 @@ public interface NodePoolOrBuilder extends */ int getConditionsCount(); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1.StatusCondition conditions = 105; */ - com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( - int index); + com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index); /** + * + * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return The podIpv4CidrSize. */ int getPodIpv4CidrSize(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return The upgradeSettings. */ com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -479,24 +605,32 @@ com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; + * * @return Whether the placementPolicy field is set. */ boolean hasPlacementPolicy(); /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1.NodePool.PlacementPolicy placement_policy = 108; + * * @return The placementPolicy. */ com.google.container.v1.NodePool.PlacementPolicy getPlacementPolicy(); /** + * + * *
    * Specifies the node placement policy.
    * 
@@ -506,32 +640,46 @@ com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder(); /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateInfo field is set. */ boolean hasUpdateInfo(); /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateInfo. */ com.google.container.v1.NodePool.UpdateInfo getUpdateInfo(); /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.container.v1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java index 85f1307f2c07..390a302c4ab3 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolUpdateStrategy.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Strategy used for node pool update.
  * 
* * Protobuf enum {@code google.container.v1.NodePoolUpdateStrategy} */ -public enum NodePoolUpdateStrategy - implements com.google.protobuf.ProtocolMessageEnum { +public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value.
    * 
@@ -21,6 +39,8 @@ public enum NodePoolUpdateStrategy */ NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED(0), /** + * + * *
    * blue-green upgrade.
    * 
@@ -29,6 +49,8 @@ public enum NodePoolUpdateStrategy */ BLUE_GREEN(2), /** + * + * *
    * SURGE is the traditional way of upgrade a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -41,6 +63,8 @@ public enum NodePoolUpdateStrategy
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -49,6 +73,8 @@ public enum NodePoolUpdateStrategy */ public static final int NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * blue-green upgrade.
    * 
@@ -57,6 +83,8 @@ public enum NodePoolUpdateStrategy */ public static final int BLUE_GREEN_VALUE = 2; /** + * + * *
    * SURGE is the traditional way of upgrade a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -66,7 +94,6 @@ public enum NodePoolUpdateStrategy
    */
   public static final int SURGE_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -91,10 +118,14 @@ public static NodePoolUpdateStrategy valueOf(int value) {
    */
   public static NodePoolUpdateStrategy forNumber(int value) {
     switch (value) {
-      case 0: return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
-      case 2: return BLUE_GREEN;
-      case 3: return SURGE;
-      default: return null;
+      case 0:
+        return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
+      case 2:
+        return BLUE_GREEN;
+      case 3:
+        return SURGE;
+      default:
+        return null;
     }
   }
 
@@ -102,28 +133,28 @@ public static NodePoolUpdateStrategy forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      NodePoolUpdateStrategy> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public NodePoolUpdateStrategy findValueByNumber(int number) {
-            return NodePoolUpdateStrategy.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public NodePoolUpdateStrategy findValueByNumber(int number) {
+              return NodePoolUpdateStrategy.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(3);
   }
 
@@ -132,8 +163,7 @@ public NodePoolUpdateStrategy findValueByNumber(int number) {
   public static NodePoolUpdateStrategy valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -149,4 +179,3 @@ private NodePoolUpdateStrategy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1.NodePoolUpdateStrategy)
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
similarity index 69%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
index 8b073915054d..1825a43c2b8b 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
  * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.container.v1.NodeTaint}
  */
-public final class NodeTaint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeTaint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeTaint)
     NodeTaintOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeTaint.newBuilder() to construct.
   private NodeTaint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodeTaint() {
     key_ = "";
     value_ = "";
@@ -31,39 +49,43 @@ private NodeTaint() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeTaint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeTaint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeTaint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeTaint.class, com.google.container.v1.NodeTaint.Builder.class);
+            com.google.container.v1.NodeTaint.class,
+            com.google.container.v1.NodeTaint.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible values for Effect in taint.
    * 
* * Protobuf enum {@code google.container.v1.NodeTaint.Effect} */ - public enum Effect - implements com.google.protobuf.ProtocolMessageEnum { + public enum Effect implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set
      * 
@@ -72,6 +94,8 @@ public enum Effect */ EFFECT_UNSPECIFIED(0), /** + * + * *
      * NoSchedule
      * 
@@ -80,6 +104,8 @@ public enum Effect */ NO_SCHEDULE(1), /** + * + * *
      * PreferNoSchedule
      * 
@@ -88,6 +114,8 @@ public enum Effect */ PREFER_NO_SCHEDULE(2), /** + * + * *
      * NoExecute
      * 
@@ -99,6 +127,8 @@ public enum Effect ; /** + * + * *
      * Not set
      * 
@@ -107,6 +137,8 @@ public enum Effect */ public static final int EFFECT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * NoSchedule
      * 
@@ -115,6 +147,8 @@ public enum Effect */ public static final int NO_SCHEDULE_VALUE = 1; /** + * + * *
      * PreferNoSchedule
      * 
@@ -123,6 +157,8 @@ public enum Effect */ public static final int PREFER_NO_SCHEDULE_VALUE = 2; /** + * + * *
      * NoExecute
      * 
@@ -131,7 +167,6 @@ public enum Effect */ public static final int NO_EXECUTE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,50 +191,51 @@ public static Effect valueOf(int value) { */ public static Effect forNumber(int value) { switch (value) { - case 0: return EFFECT_UNSPECIFIED; - case 1: return NO_SCHEDULE; - case 2: return PREFER_NO_SCHEDULE; - case 3: return NO_EXECUTE; - default: return null; + case 0: + return EFFECT_UNSPECIFIED; + case 1: + return NO_SCHEDULE; + case 2: + return PREFER_NO_SCHEDULE; + case 3: + return NO_EXECUTE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Effect> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Effect findValueByNumber(int number) { - return Effect.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Effect findValueByNumber(int number) { + return Effect.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.NodeTaint.getDescriptor().getEnumTypes().get(0); } private static final Effect[] VALUES = values(); - public static Effect valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Effect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -219,11 +255,14 @@ private Effect(int value) { public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The key. */ @java.lang.Override @@ -232,29 +271,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -265,11 +304,14 @@ public java.lang.String getKey() { public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The value. */ @java.lang.Override @@ -278,29 +320,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -311,31 +353,41 @@ public java.lang.String getValue() { public static final int EFFECT_FIELD_NUMBER = 3; private int effect_; /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override public int getEffectValue() { + @java.lang.Override + public int getEffectValue() { return effect_; } /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @return The effect. */ - @java.lang.Override public com.google.container.v1.NodeTaint.Effect getEffect() { + @java.lang.Override + public com.google.container.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeTaint.Effect result = com.google.container.v1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1.NodeTaint.Effect result = + com.google.container.v1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1.NodeTaint.Effect.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -374,8 +425,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (effect_ != com.google.container.v1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, effect_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, effect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -385,17 +435,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeTaint)) { return super.equals(obj); } com.google.container.v1.NodeTaint other = (com.google.container.v1.NodeTaint) obj; - if (!getKey() - .equals(other.getKey())) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getKey().equals(other.getKey())) return false; + if (!getValue().equals(other.getValue())) return false; if (effect_ != other.effect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -419,97 +467,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeTaint parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeTaint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeTaint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NodeTaint parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.NodeTaint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeTaint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeTaint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeTaint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeTaint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeTaint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeTaint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeTaint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeTaint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeTaint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeTaint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
    * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -520,33 +574,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodeTaint}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeTaint)
       com.google.container.v1.NodeTaintOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeTaint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeTaint.class, com.google.container.v1.NodeTaint.Builder.class);
+              com.google.container.v1.NodeTaint.class,
+              com.google.container.v1.NodeTaint.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeTaint.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,9 +613,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
@@ -593,38 +646,39 @@ public com.google.container.v1.NodeTaint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeTaint) {
-        return mergeFrom((com.google.container.v1.NodeTaint)other);
+        return mergeFrom((com.google.container.v1.NodeTaint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -670,27 +724,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              key_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              value_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              effect_ = input.readEnum();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                key_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                value_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                effect_ = input.readEnum();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -703,18 +761,20 @@ public Builder mergeFrom(
 
     private java.lang.Object key_ = "";
     /**
+     *
+     *
      * 
      * Key for taint.
      * 
* * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -723,20 +783,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -744,54 +805,61 @@ public java.lang.String getKey() { } } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -799,18 +867,20 @@ public Builder setKeyBytes( private java.lang.Object value_ = ""; /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -819,20 +889,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -840,54 +911,61 @@ public java.lang.String getValue() { } } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -895,51 +973,65 @@ public Builder setValueBytes( private int effect_ = 0; /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override public int getEffectValue() { + @java.lang.Override + public int getEffectValue() { return effect_; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @param value The enum numeric value on the wire for effect to set. * @return This builder for chaining. */ public Builder setEffectValue(int value) { - + effect_ = value; onChanged(); return this; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @return The effect. */ @java.lang.Override public com.google.container.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1.NodeTaint.Effect result = com.google.container.v1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1.NodeTaint.Effect result = + com.google.container.v1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1.NodeTaint.Effect.UNRECOGNIZED : result; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @param value The effect to set. * @return This builder for chaining. */ @@ -947,28 +1039,31 @@ public Builder setEffect(com.google.container.v1.NodeTaint.Effect value) { if (value == null) { throw new NullPointerException(); } - + effect_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @return This builder for chaining. */ public Builder clearEffect() { - + effect_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +1073,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeTaint) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeTaint) private static final com.google.container.v1.NodeTaint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeTaint(); } @@ -992,27 +1087,27 @@ public static com.google.container.v1.NodeTaint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java index 0481a7d8c770..06b6935b9fbe 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java @@ -1,67 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeTaintOrBuilder extends +public interface NodeTaintOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeTaint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @return The enum numeric value on the wire for effect. */ int getEffectValue(); /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1.NodeTaint.Effect effect = 3; + * * @return The effect. */ com.google.container.v1.NodeTaint.Effect getEffect(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java index 6b177fc3f548..25da01106a51 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaints.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Collection of Kubernetes [node
  * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.container.v1.NodeTaints}
  */
-public final class NodeTaints extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeTaints extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.NodeTaints)
     NodeTaintsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeTaints.newBuilder() to construct.
   private NodeTaints(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodeTaints() {
     taints_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeTaints();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeTaints_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_NodeTaints_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.NodeTaints.class, com.google.container.v1.NodeTaints.Builder.class);
+            com.google.container.v1.NodeTaints.class,
+            com.google.container.v1.NodeTaints.Builder.class);
   }
 
   public static final int TAINTS_FIELD_NUMBER = 1;
   private java.util.List taints_;
   /**
+   *
+   *
    * 
    * List of node taints.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTaintsList() { return taints_; } /** + * + * *
    * List of node taints.
    * 
@@ -70,11 +93,13 @@ public java.util.List getTaintsList() { * repeated .google.container.v1.NodeTaint taints = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** + * + * *
    * List of node taints.
    * 
@@ -86,6 +111,8 @@ public int getTaintsCount() { return taints_.size(); } /** + * + * *
    * List of node taints.
    * 
@@ -97,6 +124,8 @@ public com.google.container.v1.NodeTaint getTaints(int index) { return taints_.get(index); } /** + * + * *
    * List of node taints.
    * 
@@ -104,12 +133,12 @@ public com.google.container.v1.NodeTaint getTaints(int index) { * repeated .google.container.v1.NodeTaint taints = 1; */ @java.lang.Override - public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { return taints_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taints_.size(); i++) { output.writeMessage(1, taints_.get(i)); } @@ -136,8 +164,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taints_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +174,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NodeTaints)) { return super.equals(obj); } com.google.container.v1.NodeTaints other = (com.google.container.v1.NodeTaints) obj; - if (!getTaintsList() - .equals(other.getTaintsList())) return false; + if (!getTaintsList().equals(other.getTaintsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,97 +202,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NodeTaints parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NodeTaints parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeTaints parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeTaints parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.NodeTaints parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeTaints parseFrom( 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.NodeTaints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NodeTaints parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NodeTaints parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeTaints parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeTaints parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NodeTaints parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NodeTaints parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NodeTaints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NodeTaints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of Kubernetes [node
    * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -274,33 +306,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.NodeTaints}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.NodeTaints)
       com.google.container.v1.NodeTaintsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeTaints_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NodeTaints.class, com.google.container.v1.NodeTaints.Builder.class);
+              com.google.container.v1.NodeTaints.class,
+              com.google.container.v1.NodeTaints.Builder.class);
     }
 
     // Construct using com.google.container.v1.NodeTaints.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -315,9 +346,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NodeTaints_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
@@ -355,38 +386,39 @@ public com.google.container.v1.NodeTaints buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.NodeTaints) {
-        return mergeFrom((com.google.container.v1.NodeTaints)other);
+        return mergeFrom((com.google.container.v1.NodeTaints) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -413,9 +445,10 @@ public Builder mergeFrom(com.google.container.v1.NodeTaints other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taintsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaintsFieldBuilder() : null;
+            taintsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaintsFieldBuilder()
+                    : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -447,25 +480,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.container.v1.NodeTaint m =
-                  input.readMessage(
-                      com.google.container.v1.NodeTaint.parser(),
-                      extensionRegistry);
-              if (taintsBuilder_ == null) {
-                ensureTaintsIsMutable();
-                taints_.add(m);
-              } else {
-                taintsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.container.v1.NodeTaint m =
+                    input.readMessage(
+                        com.google.container.v1.NodeTaint.parser(), extensionRegistry);
+                if (taintsBuilder_ == null) {
+                  ensureTaintsIsMutable();
+                  taints_.add(m);
+                } else {
+                  taintsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -475,21 +509,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taints_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaintsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         taints_ = new java.util.ArrayList(taints_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> taintsBuilder_;
+            com.google.container.v1.NodeTaint,
+            com.google.container.v1.NodeTaint.Builder,
+            com.google.container.v1.NodeTaintOrBuilder>
+        taintsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of node taints.
      * 
@@ -504,6 +545,8 @@ public java.util.List getTaintsList() { } } /** + * + * *
      * List of node taints.
      * 
@@ -518,6 +561,8 @@ public int getTaintsCount() { } } /** + * + * *
      * List of node taints.
      * 
@@ -532,14 +577,15 @@ public com.google.container.v1.NodeTaint getTaints(int index) { } } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder setTaints( - int index, com.google.container.v1.NodeTaint value) { + public Builder setTaints(int index, com.google.container.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -553,14 +599,15 @@ public Builder setTaints( return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder setTaints( - int index, com.google.container.v1.NodeTaint.Builder builderForValue) { + public Builder setTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.set(index, builderForValue.build()); @@ -571,6 +618,8 @@ public Builder setTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -591,14 +640,15 @@ public Builder addTaints(com.google.container.v1.NodeTaint value) { return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder addTaints( - int index, com.google.container.v1.NodeTaint value) { + public Builder addTaints(int index, com.google.container.v1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -612,14 +662,15 @@ public Builder addTaints( return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder addTaints( - com.google.container.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints(com.google.container.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -630,14 +681,15 @@ public Builder addTaints( return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public Builder addTaints( - int index, com.google.container.v1.NodeTaint.Builder builderForValue) { + public Builder addTaints(int index, com.google.container.v1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(index, builderForValue.build()); @@ -648,6 +700,8 @@ public Builder addTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -658,8 +712,7 @@ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -667,6 +720,8 @@ public Builder addAllTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -684,6 +739,8 @@ public Builder clearTaints() { return this; } /** + * + * *
      * List of node taints.
      * 
@@ -701,39 +758,44 @@ public Builder removeTaints(int index) { return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public com.google.container.v1.NodeTaint.Builder getTaintsBuilder( - int index) { + public com.google.container.v1.NodeTaint.Builder getTaintsBuilder(int index) { return getTaintsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { if (taintsBuilder_ == null) { - return taints_.get(index); } else { + return taints_.get(index); + } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -741,6 +803,8 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( } } /** + * + * *
      * List of node taints.
      * 
@@ -748,49 +812,54 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( * repeated .google.container.v1.NodeTaint taints = 1; */ public com.google.container.v1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder().addBuilder( - com.google.container.v1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder() + .addBuilder(com.google.container.v1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public com.google.container.v1.NodeTaint.Builder addTaintsBuilder( - int index) { - return getTaintsFieldBuilder().addBuilder( - index, com.google.container.v1.NodeTaint.getDefaultInstance()); + public com.google.container.v1.NodeTaint.Builder addTaintsBuilder(int index) { + return getTaintsFieldBuilder() + .addBuilder(index, com.google.container.v1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - public java.util.List - getTaintsBuilderList() { + public java.util.List getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder> + com.google.container.v1.NodeTaint, + com.google.container.v1.NodeTaint.Builder, + com.google.container.v1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.NodeTaint, com.google.container.v1.NodeTaint.Builder, com.google.container.v1.NodeTaintOrBuilder>( - taints_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taintsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.NodeTaint, + com.google.container.v1.NodeTaint.Builder, + com.google.container.v1.NodeTaintOrBuilder>( + taints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taints_ = null; } return taintsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,12 +869,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NodeTaints) } // @@protoc_insertion_point(class_scope:google.container.v1.NodeTaints) private static final com.google.container.v1.NodeTaints DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NodeTaints(); } @@ -814,27 +883,27 @@ public static com.google.container.v1.NodeTaints getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,6 +918,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NodeTaints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java similarity index 59% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java index 748f3bc46295..a08d04356636 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintsOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NodeTaintsOrBuilder extends +public interface NodeTaintsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NodeTaints) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of node taints.
    * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - java.util.List - getTaintsList(); + java.util.List getTaintsList(); /** + * + * *
    * List of node taints.
    * 
@@ -25,6 +44,8 @@ public interface NodeTaintsOrBuilder extends */ com.google.container.v1.NodeTaint getTaints(int index); /** + * + * *
    * List of node taints.
    * 
@@ -33,21 +54,23 @@ public interface NodeTaintsOrBuilder extends */ int getTaintsCount(); /** + * + * *
    * List of node taints.
    * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - java.util.List - getTaintsOrBuilderList(); + java.util.List getTaintsOrBuilderList(); /** + * + * *
    * List of node taints.
    * 
* * repeated .google.container.v1.NodeTaint taints = 1; */ - com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder( - int index); + com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java index 4c9fd4143607..bfba525118be 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfig.java @@ -1,53 +1,73 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * NotificationConfig is the configuration of notifications.
  * 
* * Protobuf type {@code google.container.v1.NotificationConfig} */ -public final class NotificationConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NotificationConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NotificationConfig) NotificationConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NotificationConfig.newBuilder() to construct. private NotificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NotificationConfig() { - } + + private NotificationConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NotificationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.class, com.google.container.v1.NotificationConfig.Builder.class); + com.google.container.v1.NotificationConfig.class, + com.google.container.v1.NotificationConfig.Builder.class); } /** + * + * *
    * Types of notifications currently supported. Can be used to filter what
    * notifications are sent.
@@ -55,9 +75,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1.NotificationConfig.EventType}
    */
-  public enum EventType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set, will be ignored.
      * 
@@ -66,6 +87,8 @@ public enum EventType */ EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -74,6 +97,8 @@ public enum EventType */ UPGRADE_AVAILABLE_EVENT(1), /** + * + * *
      * Corresponds with UpgradeEvent.
      * 
@@ -82,6 +107,8 @@ public enum EventType */ UPGRADE_EVENT(2), /** + * + * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -93,6 +120,8 @@ public enum EventType ; /** + * + * *
      * Not set, will be ignored.
      * 
@@ -101,6 +130,8 @@ public enum EventType */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -109,6 +140,8 @@ public enum EventType */ public static final int UPGRADE_AVAILABLE_EVENT_VALUE = 1; /** + * + * *
      * Corresponds with UpgradeEvent.
      * 
@@ -117,6 +150,8 @@ public enum EventType */ public static final int UPGRADE_EVENT_VALUE = 2; /** + * + * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -125,7 +160,6 @@ public enum EventType */ public static final int SECURITY_BULLETIN_EVENT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -150,50 +184,51 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: return EVENT_TYPE_UNSPECIFIED; - case 1: return UPGRADE_AVAILABLE_EVENT; - case 2: return UPGRADE_EVENT; - case 3: return SECURITY_BULLETIN_EVENT; - default: return null; + case 0: + return EVENT_TYPE_UNSPECIFIED; + case 1: + return UPGRADE_AVAILABLE_EVENT; + case 2: + return UPGRADE_EVENT; + case 3: + return SECURITY_BULLETIN_EVENT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EventType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EventType findValueByNumber(int number) { - return EventType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EventType findValueByNumber(int number) { + return EventType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.NotificationConfig.getDescriptor().getEnumTypes().get(0); } private static final EventType[] VALUES = values(); - public static EventType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -210,43 +245,54 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.NotificationConfig.EventType) } - public interface PubSubOrBuilder extends + public interface PubSubOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NotificationConfig.PubSub) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The topic. */ java.lang.String getTopic(); /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topic. */ - com.google.protobuf.ByteString - getTopicBytes(); + com.google.protobuf.ByteString getTopicBytes(); /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -254,10 +300,13 @@ public interface PubSubOrBuilder extends
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -265,10 +314,13 @@ public interface PubSubOrBuilder extends
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; + * * @return The filter. */ com.google.container.v1.NotificationConfig.Filter getFilter(); /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -280,58 +332,65 @@ public interface PubSubOrBuilder extends
     com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Pub/Sub specific notification config.
    * 
* * Protobuf type {@code google.container.v1.NotificationConfig.PubSub} */ - public static final class PubSub extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PubSub extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.NotificationConfig.PubSub) PubSubOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSub.newBuilder() to construct. private PubSub(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PubSub() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PubSub(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.PubSub.class, com.google.container.v1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1.NotificationConfig.PubSub.class, + com.google.container.v1.NotificationConfig.PubSub.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -342,12 +401,15 @@ public boolean getEnabled() { public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The topic. */ @java.lang.Override @@ -356,30 +418,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -390,6 +452,8 @@ public java.lang.String getTopic() { public static final int FILTER_FIELD_NUMBER = 3; private com.google.container.v1.NotificationConfig.Filter filter_; /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -397,6 +461,7 @@ public java.lang.String getTopic() {
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -404,6 +469,8 @@ public boolean hasFilter() { return filter_ != null; } /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -411,13 +478,18 @@ public boolean hasFilter() {
      * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; + * * @return The filter. */ @java.lang.Override public com.google.container.v1.NotificationConfig.Filter getFilter() { - return filter_ == null ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() : filter_; + return filter_ == null + ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() + : filter_; } /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -432,6 +504,7 @@ public com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBui
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -443,8 +516,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (enabled_ != false) {
         output.writeBool(1, enabled_);
       }
@@ -464,15 +536,13 @@ public int getSerializedSize() {
 
       size = 0;
       if (enabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(1, enabled_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_);
       }
       if (filter_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getFilter());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -482,21 +552,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.container.v1.NotificationConfig.PubSub)) {
         return super.equals(obj);
       }
-      com.google.container.v1.NotificationConfig.PubSub other = (com.google.container.v1.NotificationConfig.PubSub) obj;
+      com.google.container.v1.NotificationConfig.PubSub other =
+          (com.google.container.v1.NotificationConfig.PubSub) obj;
 
-      if (getEnabled()
-          != other.getEnabled()) return false;
-      if (!getTopic()
-          .equals(other.getTopic())) return false;
+      if (getEnabled() != other.getEnabled()) return false;
+      if (!getTopic().equals(other.getTopic())) return false;
       if (hasFilter() != other.hasFilter()) return false;
       if (hasFilter()) {
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -510,8 +578,7 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
       hash = (37 * hash) + TOPIC_FIELD_NUMBER;
       hash = (53 * hash) + getTopic().hashCode();
       if (hasFilter()) {
@@ -524,87 +591,93 @@ public int hashCode() {
     }
 
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        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.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
         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.NotificationConfig.PubSub parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.container.v1.NotificationConfig.PubSub parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.container.v1.NotificationConfig.PubSub parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.container.v1.NotificationConfig.PubSub parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.container.v1.NotificationConfig.PubSub parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.container.v1.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
+
     public static Builder newBuilder(com.google.container.v1.NotificationConfig.PubSub prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -614,39 +687,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Pub/Sub specific notification config.
      * 
* * Protobuf type {@code google.container.v1.NotificationConfig.PubSub} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NotificationConfig.PubSub) com.google.container.v1.NotificationConfig.PubSubOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.PubSub.class, com.google.container.v1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1.NotificationConfig.PubSub.class, + com.google.container.v1.NotificationConfig.PubSub.Builder.class); } // Construct using com.google.container.v1.NotificationConfig.PubSub.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -664,9 +739,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; } @java.lang.Override @@ -685,7 +760,8 @@ public com.google.container.v1.NotificationConfig.PubSub build() { @java.lang.Override public com.google.container.v1.NotificationConfig.PubSub buildPartial() { - com.google.container.v1.NotificationConfig.PubSub result = new com.google.container.v1.NotificationConfig.PubSub(this); + com.google.container.v1.NotificationConfig.PubSub result = + new com.google.container.v1.NotificationConfig.PubSub(this); result.enabled_ = enabled_; result.topic_ = topic_; if (filterBuilder_ == null) { @@ -701,38 +777,41 @@ public com.google.container.v1.NotificationConfig.PubSub buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NotificationConfig.PubSub) { - return mergeFrom((com.google.container.v1.NotificationConfig.PubSub)other); + return mergeFrom((com.google.container.v1.NotificationConfig.PubSub) other); } else { super.mergeFrom(other); return this; @@ -740,7 +819,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.NotificationConfig.PubSub other) { - if (other == com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance()) return this; + if (other == com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -777,29 +857,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getFilterFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: + { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -810,13 +892,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -824,30 +909,36 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -855,19 +946,21 @@ public Builder clearEnabled() { private java.lang.Object topic_ = ""; /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -876,21 +969,22 @@ public java.lang.String getTopic() { } } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topic. */ - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -898,57 +992,64 @@ public java.lang.String getTopic() { } } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; @@ -956,8 +1057,13 @@ public Builder setTopicBytes( private com.google.container.v1.NotificationConfig.Filter filter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.Filter, com.google.container.v1.NotificationConfig.Filter.Builder, com.google.container.v1.NotificationConfig.FilterOrBuilder> filterBuilder_; + com.google.container.v1.NotificationConfig.Filter, + com.google.container.v1.NotificationConfig.Filter.Builder, + com.google.container.v1.NotificationConfig.FilterOrBuilder> + filterBuilder_; /** + * + * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -965,12 +1071,15 @@ public Builder setTopicBytes(
        * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; + * * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** + * + * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -978,16 +1087,21 @@ public boolean hasFilter() {
        * 
* * .google.container.v1.NotificationConfig.Filter filter = 3; + * * @return The filter. */ public com.google.container.v1.NotificationConfig.Filter getFilter() { if (filterBuilder_ == null) { - return filter_ == null ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() : filter_; + return filter_ == null + ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() + : filter_; } else { return filterBuilder_.getMessage(); } } /** + * + * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1010,6 +1124,8 @@ public Builder setFilter(com.google.container.v1.NotificationConfig.Filter value
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1030,6 +1146,8 @@ public Builder setFilter(
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1042,7 +1160,9 @@ public Builder mergeFilter(com.google.container.v1.NotificationConfig.Filter val
         if (filterBuilder_ == null) {
           if (filter_ != null) {
             filter_ =
-              com.google.container.v1.NotificationConfig.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
+                com.google.container.v1.NotificationConfig.Filter.newBuilder(filter_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             filter_ = value;
           }
@@ -1054,6 +1174,8 @@ public Builder mergeFilter(com.google.container.v1.NotificationConfig.Filter val
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1074,6 +1196,8 @@ public Builder clearFilter() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1083,11 +1207,13 @@ public Builder clearFilter() {
        * .google.container.v1.NotificationConfig.Filter filter = 3;
        */
       public com.google.container.v1.NotificationConfig.Filter.Builder getFilterBuilder() {
-        
+
         onChanged();
         return getFilterFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1100,11 +1226,14 @@ public com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBui
         if (filterBuilder_ != null) {
           return filterBuilder_.getMessageOrBuilder();
         } else {
-          return filter_ == null ?
-              com.google.container.v1.NotificationConfig.Filter.getDefaultInstance() : filter_;
+          return filter_ == null
+              ? com.google.container.v1.NotificationConfig.Filter.getDefaultInstance()
+              : filter_;
         }
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1114,18 +1243,22 @@ public com.google.container.v1.NotificationConfig.FilterOrBuilder getFilterOrBui
        * .google.container.v1.NotificationConfig.Filter filter = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.container.v1.NotificationConfig.Filter, com.google.container.v1.NotificationConfig.Filter.Builder, com.google.container.v1.NotificationConfig.FilterOrBuilder> 
+              com.google.container.v1.NotificationConfig.Filter,
+              com.google.container.v1.NotificationConfig.Filter.Builder,
+              com.google.container.v1.NotificationConfig.FilterOrBuilder>
           getFilterFieldBuilder() {
         if (filterBuilder_ == null) {
-          filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.container.v1.NotificationConfig.Filter, com.google.container.v1.NotificationConfig.Filter.Builder, com.google.container.v1.NotificationConfig.FilterOrBuilder>(
-                  getFilter(),
-                  getParentForChildren(),
-                  isClean());
+          filterBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.container.v1.NotificationConfig.Filter,
+                  com.google.container.v1.NotificationConfig.Filter.Builder,
+                  com.google.container.v1.NotificationConfig.FilterOrBuilder>(
+                  getFilter(), getParentForChildren(), isClean());
           filter_ = null;
         }
         return filterBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1138,12 +1271,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.container.v1.NotificationConfig.PubSub)
     }
 
     // @@protoc_insertion_point(class_scope:google.container.v1.NotificationConfig.PubSub)
     private static final com.google.container.v1.NotificationConfig.PubSub DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.container.v1.NotificationConfig.PubSub();
     }
@@ -1152,27 +1285,28 @@ public static com.google.container.v1.NotificationConfig.PubSub getDefaultInstan
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public PubSub parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public PubSub parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1187,63 +1321,79 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.container.v1.NotificationConfig.PubSub getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface FilterOrBuilder extends
+  public interface FilterOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.container.v1.NotificationConfig.Filter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the eventType. */ java.util.List getEventTypeList(); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return The count of eventType. */ int getEventTypeCount(); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the element to return. * @return The eventType at the given index. */ com.google.container.v1.NotificationConfig.EventType getEventType(int index); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the enum numeric values on the wire for eventType. */ - java.util.List - getEventTypeValueList(); + java.util.List getEventTypeValueList(); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ int getEventTypeValue(int index); } /** + * + * *
    * Allows filtering to one or more specific event types. If event types are
    * present, those and only those event types will be transmitted to the
@@ -1253,75 +1403,89 @@ public interface FilterOrBuilder extends
    *
    * Protobuf type {@code google.container.v1.NotificationConfig.Filter}
    */
-  public static final class Filter extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Filter extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.container.v1.NotificationConfig.Filter)
       FilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Filter.newBuilder() to construct.
     private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Filter() {
       eventType_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Filter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.NotificationConfig.Filter.class, com.google.container.v1.NotificationConfig.Filter.Builder.class);
+              com.google.container.v1.NotificationConfig.Filter.class,
+              com.google.container.v1.NotificationConfig.Filter.Builder.class);
     }
 
     public static final int EVENT_TYPE_FIELD_NUMBER = 1;
     private java.util.List eventType_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.container.v1.NotificationConfig.EventType> eventType_converter_ =
+            java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>
+        eventType_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>() {
-              public com.google.container.v1.NotificationConfig.EventType convert(java.lang.Integer from) {
+              public com.google.container.v1.NotificationConfig.EventType convert(
+                  java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.container.v1.NotificationConfig.EventType result = com.google.container.v1.NotificationConfig.EventType.valueOf(from);
-                return result == null ? com.google.container.v1.NotificationConfig.EventType.UNRECOGNIZED : result;
+                com.google.container.v1.NotificationConfig.EventType result =
+                    com.google.container.v1.NotificationConfig.EventType.valueOf(from);
+                return result == null
+                    ? com.google.container.v1.NotificationConfig.EventType.UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the eventType. */ @java.lang.Override public java.util.List getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>(eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>( + eventType_, eventType_converter_); } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return The count of eventType. */ @java.lang.Override @@ -1329,11 +1493,14 @@ public int getEventTypeCount() { return eventType_.size(); } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1342,24 +1509,29 @@ public com.google.container.v1.NotificationConfig.EventType getEventType(int ind return eventType_converter_.convert(eventType_.get(index)); } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the enum numeric values on the wire for eventType. */ @java.lang.Override - public java.util.List - getEventTypeValueList() { + public java.util.List getEventTypeValueList() { return eventType_; } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -1367,9 +1539,11 @@ public com.google.container.v1.NotificationConfig.EventType getEventType(int ind public int getEventTypeValue(int index) { return eventType_.get(index); } + private int eventTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1381,8 +1555,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getEventTypeList().size() > 0) { output.writeUInt32NoTag(10); @@ -1403,14 +1576,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < eventType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(eventType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(eventType_.get(i)); } size += dataSize; - if (!getEventTypeList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }eventTypeMemoizedSerializedSize = dataSize; + if (!getEventTypeList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + eventTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1420,12 +1593,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NotificationConfig.Filter)) { return super.equals(obj); } - com.google.container.v1.NotificationConfig.Filter other = (com.google.container.v1.NotificationConfig.Filter) obj; + com.google.container.v1.NotificationConfig.Filter other = + (com.google.container.v1.NotificationConfig.Filter) obj; if (!eventType_.equals(other.eventType_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1449,87 +1623,93 @@ public int hashCode() { } public static com.google.container.v1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NotificationConfig.Filter parseFrom( 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.NotificationConfig.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NotificationConfig.Filter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.NotificationConfig.Filter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.NotificationConfig.Filter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NotificationConfig.Filter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NotificationConfig.Filter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NotificationConfig.Filter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NotificationConfig.Filter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NotificationConfig.Filter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NotificationConfig.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NotificationConfig.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1539,6 +1719,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Allows filtering to one or more specific event types. If event types are
      * present, those and only those event types will be transmitted to the
@@ -1548,33 +1730,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1.NotificationConfig.Filter}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.container.v1.NotificationConfig.Filter)
         com.google.container.v1.NotificationConfig.FilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1.NotificationConfig.Filter.class, com.google.container.v1.NotificationConfig.Filter.Builder.class);
+                com.google.container.v1.NotificationConfig.Filter.class,
+                com.google.container.v1.NotificationConfig.Filter.Builder.class);
       }
 
       // Construct using com.google.container.v1.NotificationConfig.Filter.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1584,9 +1766,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.container.v1.ClusterServiceProto
+            .internal_static_google_container_v1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
@@ -1605,7 +1787,8 @@ public com.google.container.v1.NotificationConfig.Filter build() {
 
       @java.lang.Override
       public com.google.container.v1.NotificationConfig.Filter buildPartial() {
-        com.google.container.v1.NotificationConfig.Filter result = new com.google.container.v1.NotificationConfig.Filter(this);
+        com.google.container.v1.NotificationConfig.Filter result =
+            new com.google.container.v1.NotificationConfig.Filter(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           eventType_ = java.util.Collections.unmodifiableList(eventType_);
@@ -1620,38 +1803,41 @@ public com.google.container.v1.NotificationConfig.Filter buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NotificationConfig.Filter) {
-          return mergeFrom((com.google.container.v1.NotificationConfig.Filter)other);
+          return mergeFrom((com.google.container.v1.NotificationConfig.Filter) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1659,7 +1845,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1.NotificationConfig.Filter other) {
-        if (other == com.google.container.v1.NotificationConfig.Filter.getDefaultInstance()) return this;
+        if (other == com.google.container.v1.NotificationConfig.Filter.getDefaultInstance())
+          return this;
         if (!other.eventType_.isEmpty()) {
           if (eventType_.isEmpty()) {
             eventType_ = other.eventType_;
@@ -1696,29 +1883,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                int tmpRaw = input.readEnum();
-                ensureEventTypeIsMutable();
-                eventType_.add(tmpRaw);
-                break;
-              } // case 8
-              case 10: {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while(input.getBytesUntilLimit() > 0) {
+              case 8:
+                {
                   int tmpRaw = input.readEnum();
                   ensureEventTypeIsMutable();
                   eventType_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 8
+              case 10:
+                {
+                  int length = input.readRawVarint32();
+                  int oldLimit = input.pushLimit(length);
+                  while (input.getBytesUntilLimit() > 0) {
+                    int tmpRaw = input.readEnum();
+                    ensureEventTypeIsMutable();
+                    eventType_.add(tmpRaw);
+                  }
+                  input.popLimit(oldLimit);
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1728,10 +1918,11 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List eventType_ =
-        java.util.Collections.emptyList();
+      private java.util.List eventType_ = java.util.Collections.emptyList();
+
       private void ensureEventTypeIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           eventType_ = new java.util.ArrayList(eventType_);
@@ -1739,34 +1930,45 @@ private void ensureEventTypeIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the eventType. */ - public java.util.List getEventTypeList() { + public java.util.List + getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>(eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1.NotificationConfig.EventType>( + eventType_, eventType_converter_); } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return The count of eventType. */ public int getEventTypeCount() { return eventType_.size(); } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1774,11 +1976,14 @@ public com.google.container.v1.NotificationConfig.EventType getEventType(int ind return eventType_converter_.convert(eventType_.get(index)); } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index to set the value at. * @param value The eventType to set. * @return This builder for chaining. @@ -1794,11 +1999,14 @@ public Builder setEventType( return this; } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param value The eventType to add. * @return This builder for chaining. */ @@ -1812,16 +2020,20 @@ public Builder addEventType(com.google.container.v1.NotificationConfig.EventType return this; } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param values The eventType to add. * @return This builder for chaining. */ public Builder addAllEventType( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureEventTypeIsMutable(); for (com.google.container.v1.NotificationConfig.EventType value : values) { eventType_.add(value.getNumber()); @@ -1830,11 +2042,14 @@ public Builder addAllEventType( return this; } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return This builder for chaining. */ public Builder clearEventType() { @@ -1844,23 +2059,28 @@ public Builder clearEventType() { return this; } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the enum numeric values on the wire for eventType. */ - public java.util.List - getEventTypeValueList() { + public java.util.List getEventTypeValueList() { return java.util.Collections.unmodifiableList(eventType_); } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -1868,28 +2088,33 @@ public int getEventTypeValue(int index) { return eventType_.get(index); } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ - public Builder setEventTypeValue( - int index, int value) { + public Builder setEventTypeValue(int index, int value) { ensureEventTypeIsMutable(); eventType_.set(index, value); onChanged(); return this; } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param value The enum numeric value on the wire for eventType to add. * @return This builder for chaining. */ @@ -1900,16 +2125,18 @@ public Builder addEventTypeValue(int value) { return this; } /** + * + * *
        * Event types to allowlist.
        * 
* * repeated .google.container.v1.NotificationConfig.EventType event_type = 1; + * * @param values The enum numeric values on the wire for eventType to add. * @return This builder for chaining. */ - public Builder addAllEventTypeValue( - java.lang.Iterable values) { + public Builder addAllEventTypeValue(java.lang.Iterable values) { ensureEventTypeIsMutable(); for (int value : values) { eventType_.add(value); @@ -1917,6 +2144,7 @@ public Builder addAllEventTypeValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1929,12 +2157,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NotificationConfig.Filter) } // @@protoc_insertion_point(class_scope:google.container.v1.NotificationConfig.Filter) private static final com.google.container.v1.NotificationConfig.Filter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NotificationConfig.Filter(); } @@ -1943,27 +2171,28 @@ public static com.google.container.v1.NotificationConfig.Filter getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1978,17 +2207,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NotificationConfig.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PUBSUB_FIELD_NUMBER = 1; private com.google.container.v1.NotificationConfig.PubSub pubsub_; /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; + * * @return Whether the pubsub field is set. */ @java.lang.Override @@ -1996,18 +2227,25 @@ public boolean hasPubsub() { return pubsub_ != null; } /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; + * * @return The pubsub. */ @java.lang.Override public com.google.container.v1.NotificationConfig.PubSub getPubsub() { - return pubsub_ == null ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; + return pubsub_ == null + ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() + : pubsub_; } /** + * + * *
    * Notification config for Pub/Sub.
    * 
@@ -2020,6 +2258,7 @@ public com.google.container.v1.NotificationConfig.PubSubOrBuilder getPubsubOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2031,8 +2270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pubsub_ != null) { output.writeMessage(1, getPubsub()); } @@ -2046,8 +2284,7 @@ public int getSerializedSize() { size = 0; if (pubsub_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPubsub()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPubsub()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2057,17 +2294,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.NotificationConfig)) { return super.equals(obj); } - com.google.container.v1.NotificationConfig other = (com.google.container.v1.NotificationConfig) obj; + com.google.container.v1.NotificationConfig other = + (com.google.container.v1.NotificationConfig) obj; if (hasPubsub() != other.hasPubsub()) return false; if (hasPubsub()) { - if (!getPubsub() - .equals(other.getPubsub())) return false; + if (!getPubsub().equals(other.getPubsub())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2089,130 +2326,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.NotificationConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.NotificationConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NotificationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NotificationConfig parseFrom( 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.NotificationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.NotificationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.NotificationConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NotificationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.NotificationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.NotificationConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.NotificationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.NotificationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.NotificationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.NotificationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NotificationConfig is the configuration of notifications.
    * 
* * Protobuf type {@code google.container.v1.NotificationConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.NotificationConfig) com.google.container.v1.NotificationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.NotificationConfig.class, com.google.container.v1.NotificationConfig.Builder.class); + com.google.container.v1.NotificationConfig.class, + com.google.container.v1.NotificationConfig.Builder.class); } // Construct using com.google.container.v1.NotificationConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2226,9 +2469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_NotificationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_NotificationConfig_descriptor; } @java.lang.Override @@ -2247,7 +2490,8 @@ public com.google.container.v1.NotificationConfig build() { @java.lang.Override public com.google.container.v1.NotificationConfig buildPartial() { - com.google.container.v1.NotificationConfig result = new com.google.container.v1.NotificationConfig(this); + com.google.container.v1.NotificationConfig result = + new com.google.container.v1.NotificationConfig(this); if (pubsubBuilder_ == null) { result.pubsub_ = pubsub_; } else { @@ -2261,38 +2505,39 @@ public com.google.container.v1.NotificationConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.NotificationConfig) { - return mergeFrom((com.google.container.v1.NotificationConfig)other); + return mergeFrom((com.google.container.v1.NotificationConfig) other); } else { super.mergeFrom(other); return this; @@ -2330,19 +2575,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPubsubFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getPubsubFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -2355,34 +2600,47 @@ public Builder mergeFrom( private com.google.container.v1.NotificationConfig.PubSub pubsub_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.PubSub, com.google.container.v1.NotificationConfig.PubSub.Builder, com.google.container.v1.NotificationConfig.PubSubOrBuilder> pubsubBuilder_; + com.google.container.v1.NotificationConfig.PubSub, + com.google.container.v1.NotificationConfig.PubSub.Builder, + com.google.container.v1.NotificationConfig.PubSubOrBuilder> + pubsubBuilder_; /** + * + * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; + * * @return Whether the pubsub field is set. */ public boolean hasPubsub() { return pubsubBuilder_ != null || pubsub_ != null; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; + * * @return The pubsub. */ public com.google.container.v1.NotificationConfig.PubSub getPubsub() { if (pubsubBuilder_ == null) { - return pubsub_ == null ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; + return pubsub_ == null + ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() + : pubsub_; } else { return pubsubBuilder_.getMessage(); } } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2403,6 +2661,8 @@ public Builder setPubsub(com.google.container.v1.NotificationConfig.PubSub value return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2421,6 +2681,8 @@ public Builder setPubsub( return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2431,7 +2693,9 @@ public Builder mergePubsub(com.google.container.v1.NotificationConfig.PubSub val if (pubsubBuilder_ == null) { if (pubsub_ != null) { pubsub_ = - com.google.container.v1.NotificationConfig.PubSub.newBuilder(pubsub_).mergeFrom(value).buildPartial(); + com.google.container.v1.NotificationConfig.PubSub.newBuilder(pubsub_) + .mergeFrom(value) + .buildPartial(); } else { pubsub_ = value; } @@ -2443,6 +2707,8 @@ public Builder mergePubsub(com.google.container.v1.NotificationConfig.PubSub val return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2461,6 +2727,8 @@ public Builder clearPubsub() { return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2468,11 +2736,13 @@ public Builder clearPubsub() { * .google.container.v1.NotificationConfig.PubSub pubsub = 1; */ public com.google.container.v1.NotificationConfig.PubSub.Builder getPubsubBuilder() { - + onChanged(); return getPubsubFieldBuilder().getBuilder(); } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2483,11 +2753,14 @@ public com.google.container.v1.NotificationConfig.PubSubOrBuilder getPubsubOrBui if (pubsubBuilder_ != null) { return pubsubBuilder_.getMessageOrBuilder(); } else { - return pubsub_ == null ? - com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; + return pubsub_ == null + ? com.google.container.v1.NotificationConfig.PubSub.getDefaultInstance() + : pubsub_; } } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2495,21 +2768,24 @@ public com.google.container.v1.NotificationConfig.PubSubOrBuilder getPubsubOrBui * .google.container.v1.NotificationConfig.PubSub pubsub = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.PubSub, com.google.container.v1.NotificationConfig.PubSub.Builder, com.google.container.v1.NotificationConfig.PubSubOrBuilder> + com.google.container.v1.NotificationConfig.PubSub, + com.google.container.v1.NotificationConfig.PubSub.Builder, + com.google.container.v1.NotificationConfig.PubSubOrBuilder> getPubsubFieldBuilder() { if (pubsubBuilder_ == null) { - pubsubBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NotificationConfig.PubSub, com.google.container.v1.NotificationConfig.PubSub.Builder, com.google.container.v1.NotificationConfig.PubSubOrBuilder>( - getPubsub(), - getParentForChildren(), - isClean()); + pubsubBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NotificationConfig.PubSub, + com.google.container.v1.NotificationConfig.PubSub.Builder, + com.google.container.v1.NotificationConfig.PubSubOrBuilder>( + getPubsub(), getParentForChildren(), isClean()); pubsub_ = null; } return pubsubBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2519,12 +2795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.NotificationConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.NotificationConfig) private static final com.google.container.v1.NotificationConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.NotificationConfig(); } @@ -2533,27 +2809,27 @@ public static com.google.container.v1.NotificationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2568,6 +2844,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.NotificationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java similarity index 58% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java index f80755c0442e..dce60f58e538 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NotificationConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface NotificationConfigOrBuilder extends +public interface NotificationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.NotificationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; + * * @return Whether the pubsub field is set. */ boolean hasPubsub(); /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1.NotificationConfig.PubSub pubsub = 1; + * * @return The pubsub. */ com.google.container.v1.NotificationConfig.PubSub getPubsub(); /** + * + * *
    * Notification config for Pub/Sub.
    * 
diff --git a/owl-bot-staging/java-container/v1/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 similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index 928bae0c0b71..6b8f0211db1c 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * This operation resource represents operations that may have happened or are
  * happening on the cluster. All fields are output only.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.Operation}
  */
-public final class Operation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Operation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.Operation)
     OperationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Operation.newBuilder() to construct.
   private Operation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Operation() {
     name_ = "";
     zone_ = "";
@@ -38,39 +56,43 @@ private Operation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Operation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_Operation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_Operation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.Operation.class, com.google.container.v1.Operation.Builder.class);
+            com.google.container.v1.Operation.class,
+            com.google.container.v1.Operation.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Current status of the operation.
    * 
* * Protobuf enum {@code google.container.v1.Operation.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -79,6 +101,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * The operation has been created.
      * 
@@ -87,6 +111,8 @@ public enum Status */ PENDING(1), /** + * + * *
      * The operation is currently running.
      * 
@@ -95,6 +121,8 @@ public enum Status */ RUNNING(2), /** + * + * *
      * The operation is done, either cancelled or completed.
      * 
@@ -103,6 +131,8 @@ public enum Status */ DONE(3), /** + * + * *
      * The operation is aborting.
      * 
@@ -114,6 +144,8 @@ public enum Status ; /** + * + * *
      * Not set.
      * 
@@ -122,6 +154,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The operation has been created.
      * 
@@ -130,6 +164,8 @@ public enum Status */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The operation is currently running.
      * 
@@ -138,6 +174,8 @@ public enum Status */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * The operation is done, either cancelled or completed.
      * 
@@ -146,6 +184,8 @@ public enum Status */ public static final int DONE_VALUE = 3; /** + * + * *
      * The operation is aborting.
      * 
@@ -154,7 +194,6 @@ public enum Status */ public static final int ABORTING_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -179,51 +218,53 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: return STATUS_UNSPECIFIED; - case 1: return PENDING; - case 2: return RUNNING; - case 3: return DONE; - case 4: return ABORTING; - default: return null; + case 0: + return STATUS_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return RUNNING; + case 3: + return DONE; + case 4: + return ABORTING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Status> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.Operation.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -241,15 +282,18 @@ private Status(int value) { } /** + * + * *
    * Operation type.
    * 
* * Protobuf enum {@code google.container.v1.Operation.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -258,6 +302,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Cluster create.
      * 
@@ -266,6 +312,8 @@ public enum Type */ CREATE_CLUSTER(1), /** + * + * *
      * Cluster delete.
      * 
@@ -274,6 +322,8 @@ public enum Type */ DELETE_CLUSTER(2), /** + * + * *
      * A master upgrade.
      * 
@@ -282,6 +332,8 @@ public enum Type */ UPGRADE_MASTER(3), /** + * + * *
      * A node upgrade.
      * 
@@ -290,6 +342,8 @@ public enum Type */ UPGRADE_NODES(4), /** + * + * *
      * Cluster repair.
      * 
@@ -298,6 +352,8 @@ public enum Type */ REPAIR_CLUSTER(5), /** + * + * *
      * Cluster update.
      * 
@@ -306,6 +362,8 @@ public enum Type */ UPDATE_CLUSTER(6), /** + * + * *
      * Node pool create.
      * 
@@ -314,6 +372,8 @@ public enum Type */ CREATE_NODE_POOL(7), /** + * + * *
      * Node pool delete.
      * 
@@ -322,6 +382,8 @@ public enum Type */ DELETE_NODE_POOL(8), /** + * + * *
      * Set node pool management.
      * 
@@ -330,6 +392,8 @@ public enum Type */ SET_NODE_POOL_MANAGEMENT(9), /** + * + * *
      * Automatic node pool repair.
      * 
@@ -338,6 +402,8 @@ public enum Type */ AUTO_REPAIR_NODES(10), /** + * + * *
      * Automatic node upgrade.
      * 
@@ -346,6 +412,8 @@ public enum Type */ AUTO_UPGRADE_NODES(11), /** + * + * *
      * Set labels.
      * 
@@ -354,6 +422,8 @@ public enum Type */ SET_LABELS(12), /** + * + * *
      * Set/generate master auth materials
      * 
@@ -362,6 +432,8 @@ public enum Type */ SET_MASTER_AUTH(13), /** + * + * *
      * Set node pool size.
      * 
@@ -370,6 +442,8 @@ public enum Type */ SET_NODE_POOL_SIZE(14), /** + * + * *
      * Updates network policy for a cluster.
      * 
@@ -378,6 +452,8 @@ public enum Type */ SET_NETWORK_POLICY(15), /** + * + * *
      * Set the maintenance policy.
      * 
@@ -389,6 +465,8 @@ public enum Type ; /** + * + * *
      * Not set.
      * 
@@ -397,6 +475,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cluster create.
      * 
@@ -405,6 +485,8 @@ public enum Type */ public static final int CREATE_CLUSTER_VALUE = 1; /** + * + * *
      * Cluster delete.
      * 
@@ -413,6 +495,8 @@ public enum Type */ public static final int DELETE_CLUSTER_VALUE = 2; /** + * + * *
      * A master upgrade.
      * 
@@ -421,6 +505,8 @@ public enum Type */ public static final int UPGRADE_MASTER_VALUE = 3; /** + * + * *
      * A node upgrade.
      * 
@@ -429,6 +515,8 @@ public enum Type */ public static final int UPGRADE_NODES_VALUE = 4; /** + * + * *
      * Cluster repair.
      * 
@@ -437,6 +525,8 @@ public enum Type */ public static final int REPAIR_CLUSTER_VALUE = 5; /** + * + * *
      * Cluster update.
      * 
@@ -445,6 +535,8 @@ public enum Type */ public static final int UPDATE_CLUSTER_VALUE = 6; /** + * + * *
      * Node pool create.
      * 
@@ -453,6 +545,8 @@ public enum Type */ public static final int CREATE_NODE_POOL_VALUE = 7; /** + * + * *
      * Node pool delete.
      * 
@@ -461,6 +555,8 @@ public enum Type */ public static final int DELETE_NODE_POOL_VALUE = 8; /** + * + * *
      * Set node pool management.
      * 
@@ -469,6 +565,8 @@ public enum Type */ public static final int SET_NODE_POOL_MANAGEMENT_VALUE = 9; /** + * + * *
      * Automatic node pool repair.
      * 
@@ -477,6 +575,8 @@ public enum Type */ public static final int AUTO_REPAIR_NODES_VALUE = 10; /** + * + * *
      * Automatic node upgrade.
      * 
@@ -485,6 +585,8 @@ public enum Type */ public static final int AUTO_UPGRADE_NODES_VALUE = 11; /** + * + * *
      * Set labels.
      * 
@@ -493,6 +595,8 @@ public enum Type */ public static final int SET_LABELS_VALUE = 12; /** + * + * *
      * Set/generate master auth materials
      * 
@@ -501,6 +605,8 @@ public enum Type */ public static final int SET_MASTER_AUTH_VALUE = 13; /** + * + * *
      * Set node pool size.
      * 
@@ -509,6 +615,8 @@ public enum Type */ public static final int SET_NODE_POOL_SIZE_VALUE = 14; /** + * + * *
      * Updates network policy for a cluster.
      * 
@@ -517,6 +625,8 @@ public enum Type */ public static final int SET_NETWORK_POLICY_VALUE = 15; /** + * + * *
      * Set the maintenance policy.
      * 
@@ -525,7 +635,6 @@ public enum Type */ public static final int SET_MAINTENANCE_POLICY_VALUE = 16; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -550,63 +659,77 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return CREATE_CLUSTER; - case 2: return DELETE_CLUSTER; - case 3: return UPGRADE_MASTER; - case 4: return UPGRADE_NODES; - case 5: return REPAIR_CLUSTER; - case 6: return UPDATE_CLUSTER; - case 7: return CREATE_NODE_POOL; - case 8: return DELETE_NODE_POOL; - case 9: return SET_NODE_POOL_MANAGEMENT; - case 10: return AUTO_REPAIR_NODES; - case 11: return AUTO_UPGRADE_NODES; - case 12: return SET_LABELS; - case 13: return SET_MASTER_AUTH; - case 14: return SET_NODE_POOL_SIZE; - case 15: return SET_NETWORK_POLICY; - case 16: return SET_MAINTENANCE_POLICY; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return CREATE_CLUSTER; + case 2: + return DELETE_CLUSTER; + case 3: + return UPGRADE_MASTER; + case 4: + return UPGRADE_NODES; + case 5: + return REPAIR_CLUSTER; + case 6: + return UPDATE_CLUSTER; + case 7: + return CREATE_NODE_POOL; + case 8: + return DELETE_NODE_POOL; + case 9: + return SET_NODE_POOL_MANAGEMENT; + case 10: + return AUTO_REPAIR_NODES; + case 11: + return AUTO_UPGRADE_NODES; + case 12: + return SET_LABELS; + case 13: + return SET_MASTER_AUTH; + case 14: + return SET_NODE_POOL_SIZE; + case 15: + return SET_NETWORK_POLICY; + case 16: + return SET_MAINTENANCE_POLICY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.Operation.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -626,11 +749,14 @@ private Type(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -639,29 +765,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -672,6 +798,8 @@ public java.lang.String getName() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -679,24 +807,27 @@ public java.lang.String getName() {
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -704,18 +835,18 @@ public java.lang.String getName() {
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -726,65 +857,86 @@ public java.lang.String getName() { public static final int OPERATION_TYPE_FIELD_NUMBER = 3; private int operationType_; /** + * + * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @return The operationType. */ - @java.lang.Override public com.google.container.v1.Operation.Type getOperationType() { + @java.lang.Override + public com.google.container.v1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Type result = com.google.container.v1.Operation.Type.valueOf(operationType_); + com.google.container.v1.Operation.Type result = + com.google.container.v1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1.Operation.Type.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; + * * @return The status. */ - @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { + @java.lang.Override + public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = + com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } public static final int DETAIL_FIELD_NUMBER = 8; private volatile java.lang.Object detail_; /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The detail. */ @java.lang.Override @@ -793,29 +945,29 @@ public java.lang.String getDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; } } /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The bytes for detail. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailBytes() { + public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detail_ = b; return b; } else { @@ -826,48 +978,57 @@ public java.lang.String getDetail() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -878,11 +1039,14 @@ public java.lang.String getDetail() { public static final int SELF_LINK_FIELD_NUMBER = 6; private volatile java.lang.Object selfLink_; /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The selfLink. */ @java.lang.Override @@ -891,29 +1055,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -924,11 +1088,14 @@ public java.lang.String getSelfLink() { public static final int TARGET_LINK_FIELD_NUMBER = 7; private volatile java.lang.Object targetLink_; /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The targetLink. */ @java.lang.Override @@ -937,29 +1104,29 @@ public java.lang.String getTargetLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; } } /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The bytes for targetLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetLinkBytes() { + public com.google.protobuf.ByteString getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetLink_ = b; return b; } else { @@ -970,6 +1137,8 @@ public java.lang.String getTargetLink() { public static final int LOCATION_FIELD_NUMBER = 9; private volatile java.lang.Object location_; /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -979,6 +1148,7 @@ public java.lang.String getTargetLink() {
    * 
* * string location = 9; + * * @return The location. */ @java.lang.Override @@ -987,14 +1157,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1004,16 +1175,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 9; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1024,12 +1194,15 @@ public java.lang.String getLocation() { public static final int START_TIME_FIELD_NUMBER = 10; private volatile java.lang.Object startTime_; /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The startTime. */ @java.lang.Override @@ -1038,30 +1211,30 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -1072,12 +1245,15 @@ public java.lang.String getStartTime() { public static final int END_TIME_FIELD_NUMBER = 11; private volatile java.lang.Object endTime_; /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The endTime. */ @java.lang.Override @@ -1086,30 +1262,30 @@ public java.lang.String getEndTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The bytes for endTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndTimeBytes() { + public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endTime_ = b; return b; } else { @@ -1120,11 +1296,16 @@ public java.lang.String getEndTime() { public static final int PROGRESS_FIELD_NUMBER = 12; private com.google.container.v1.OperationProgress progress_; /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the progress field is set. */ @java.lang.Override @@ -1132,23 +1313,34 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The progress. */ @java.lang.Override public com.google.container.v1.OperationProgress getProgress() { - return progress_ == null ? com.google.container.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.container.v1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder() { @@ -1158,129 +1350,178 @@ public com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder() public static final int CLUSTER_CONDITIONS_FIELD_NUMBER = 13; private java.util.List clusterConditions_; /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List getClusterConditionsList() { + @java.lang.Deprecated + public java.util.List getClusterConditionsList() { return clusterConditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List + @java.lang.Deprecated + public java.util.List getClusterConditionsOrBuilderList() { return clusterConditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public int getClusterConditionsCount() { + @java.lang.Deprecated + public int getClusterConditionsCount() { return clusterConditions_.size(); } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1.StatusCondition getClusterConditions(int index) { return clusterConditions_.get(index); } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( - int index) { + @java.lang.Deprecated + public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder(int index) { return clusterConditions_.get(index); } public static final int NODEPOOL_CONDITIONS_FIELD_NUMBER = 14; private java.util.List nodepoolConditions_; /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { + @java.lang.Deprecated + public java.util.List getNodepoolConditionsList() { return nodepoolConditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List + @java.lang.Deprecated + public java.util.List getNodepoolConditionsOrBuilderList() { return nodepoolConditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public int getNodepoolConditionsCount() { + @java.lang.Deprecated + public int getNodepoolConditionsCount() { return nodepoolConditions_.size(); } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { return nodepoolConditions_.get(index); } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated + public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { return nodepoolConditions_.get(index); } @@ -1288,11 +1529,14 @@ public com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder() public static final int ERROR_FIELD_NUMBER = 15; private com.google.rpc.Status error_; /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1300,11 +1544,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return The error. */ @java.lang.Override @@ -1312,6 +1559,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The error result of the operation in case of failure.
    * 
@@ -1324,6 +1573,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1335,8 +1585,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1398,12 +1647,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } if (operationType_ != com.google.container.v1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, operationType_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationType_); } if (status_ != com.google.container.v1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -1427,20 +1674,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, endTime_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProgress()); } for (int i = 0; i < clusterConditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, clusterConditions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, clusterConditions_.get(i)); } for (int i = 0; i < nodepoolConditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, nodepoolConditions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(14, nodepoolConditions_.get(i)); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getError()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1450,46 +1695,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.Operation)) { return super.equals(obj); } com.google.container.v1.Operation other = (com.google.container.v1.Operation) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getZone() - .equals(other.getZone())) return false; + if (!getName().equals(other.getName())) return false; + if (!getZone().equals(other.getZone())) return false; if (operationType_ != other.operationType_) return false; if (status_ != other.status_) return false; - if (!getDetail() - .equals(other.getDetail())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (!getSelfLink() - .equals(other.getSelfLink())) return false; - if (!getTargetLink() - .equals(other.getTargetLink())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getStartTime() - .equals(other.getStartTime())) return false; - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getDetail().equals(other.getDetail())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (!getSelfLink().equals(other.getSelfLink())) return false; + if (!getTargetLink().equals(other.getTargetLink())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress() - .equals(other.getProgress())) return false; + if (!getProgress().equals(other.getProgress())) return false; } - if (!getClusterConditionsList() - .equals(other.getClusterConditionsList())) return false; - if (!getNodepoolConditionsList() - .equals(other.getNodepoolConditionsList())) return false; + if (!getClusterConditionsList().equals(other.getClusterConditionsList())) return false; + if (!getNodepoolConditionsList().equals(other.getNodepoolConditionsList())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1545,97 +1777,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.Operation parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.Operation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Operation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Operation parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Operation parseFrom( 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.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.Operation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.Operation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.Operation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.Operation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.Operation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.Operation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This operation resource represents operations that may have happened or are
    * happening on the cluster. All fields are output only.
@@ -1643,33 +1881,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.Operation}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.Operation)
       com.google.container.v1.OperationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_Operation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_Operation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.Operation.class, com.google.container.v1.Operation.Builder.class);
+              com.google.container.v1.Operation.class,
+              com.google.container.v1.Operation.Builder.class);
     }
 
     // Construct using com.google.container.v1.Operation.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1725,9 +1962,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_Operation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_Operation_descriptor;
     }
 
     @java.lang.Override
@@ -1795,38 +2032,39 @@ public com.google.container.v1.Operation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.Operation) {
-        return mergeFrom((com.google.container.v1.Operation)other);
+        return mergeFrom((com.google.container.v1.Operation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1898,9 +2136,10 @@ public Builder mergeFrom(com.google.container.v1.Operation other) {
             clusterConditionsBuilder_ = null;
             clusterConditions_ = other.clusterConditions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            clusterConditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getClusterConditionsFieldBuilder() : null;
+            clusterConditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getClusterConditionsFieldBuilder()
+                    : null;
           } else {
             clusterConditionsBuilder_.addAllMessages(other.clusterConditions_);
           }
@@ -1924,9 +2163,10 @@ public Builder mergeFrom(com.google.container.v1.Operation other) {
             nodepoolConditionsBuilder_ = null;
             nodepoolConditions_ = other.nodepoolConditions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            nodepoolConditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNodepoolConditionsFieldBuilder() : null;
+            nodepoolConditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNodepoolConditionsFieldBuilder()
+                    : null;
           } else {
             nodepoolConditionsBuilder_.addAllMessages(other.nodepoolConditions_);
           }
@@ -1961,107 +2201,117 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              operationType_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 32: {
-              status_ = input.readEnum();
-
-              break;
-            } // case 32
-            case 42: {
-              statusMessage_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              selfLink_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              targetLink_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            case 66: {
-              detail_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 66
-            case 74: {
-              location_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 82: {
-              startTime_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 82
-            case 90: {
-              endTime_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 98
-            case 106: {
-              com.google.container.v1.StatusCondition m =
-                  input.readMessage(
-                      com.google.container.v1.StatusCondition.parser(),
-                      extensionRegistry);
-              if (clusterConditionsBuilder_ == null) {
-                ensureClusterConditionsIsMutable();
-                clusterConditions_.add(m);
-              } else {
-                clusterConditionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 106
-            case 114: {
-              com.google.container.v1.StatusCondition m =
-                  input.readMessage(
-                      com.google.container.v1.StatusCondition.parser(),
-                      extensionRegistry);
-              if (nodepoolConditionsBuilder_ == null) {
-                ensureNodepoolConditionsIsMutable();
-                nodepoolConditions_.add(m);
-              } else {
-                nodepoolConditionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getErrorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 122
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                operationType_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                status_ = input.readEnum();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                statusMessage_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                selfLink_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                targetLink_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                detail_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 66
+            case 74:
+              {
+                location_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 82:
+              {
+                startTime_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 82
+            case 90:
+              {
+                endTime_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 98
+            case 106:
+              {
+                com.google.container.v1.StatusCondition m =
+                    input.readMessage(
+                        com.google.container.v1.StatusCondition.parser(), extensionRegistry);
+                if (clusterConditionsBuilder_ == null) {
+                  ensureClusterConditionsIsMutable();
+                  clusterConditions_.add(m);
+                } else {
+                  clusterConditionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 106
+            case 114:
+              {
+                com.google.container.v1.StatusCondition m =
+                    input.readMessage(
+                        com.google.container.v1.StatusCondition.parser(), extensionRegistry);
+                if (nodepoolConditionsBuilder_ == null) {
+                  ensureNodepoolConditionsIsMutable();
+                  nodepoolConditions_.add(m);
+                } else {
+                  nodepoolConditionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 122
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2071,22 +2321,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2095,20 +2348,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2116,54 +2370,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2171,6 +2432,8 @@ public Builder setNameBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2178,15 +2441,16 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2195,6 +2459,8 @@ public Builder setNameBytes( } } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2202,17 +2468,17 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -2220,6 +2486,8 @@ public Builder setNameBytes( } } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2227,22 +2495,25 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2250,17 +2521,21 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2268,18 +2543,19 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2287,51 +2563,65 @@ public Builder setNameBytes( private int operationType_ = 0; /** + * + * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @return The operationType. */ @java.lang.Override public com.google.container.v1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Type result = com.google.container.v1.Operation.Type.valueOf(operationType_); + com.google.container.v1.Operation.Type result = + com.google.container.v1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1.Operation.Type.UNRECOGNIZED : result; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @param value The operationType to set. * @return This builder for chaining. */ @@ -2339,21 +2629,24 @@ public Builder setOperationType(com.google.container.v1.Operation.Type value) { if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -2361,51 +2654,65 @@ public Builder clearOperationType() { private int status_ = 0; /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; + * * @return The status. */ @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = + com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; + * * @param value The status to set. * @return This builder for chaining. */ @@ -2413,21 +2720,24 @@ public Builder setStatus(com.google.container.v1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1.Operation.Status status = 4; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -2435,18 +2745,20 @@ public Builder clearStatus() { private java.lang.Object detail_ = ""; /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; @@ -2455,20 +2767,21 @@ public java.lang.String getDetail() { } } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @return The bytes for detail. */ - public com.google.protobuf.ByteString - getDetailBytes() { + public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detail_ = b; return b; } else { @@ -2476,54 +2789,61 @@ public java.lang.String getDetail() { } } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @param value The detail to set. * @return This builder for chaining. */ - public Builder setDetail( - java.lang.String value) { + public Builder setDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detail_ = value; onChanged(); return this; } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @return This builder for chaining. */ public Builder clearDetail() { - + detail_ = getDefaultInstance().getDetail(); onChanged(); return this; } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @param value The bytes for detail to set. * @return This builder for chaining. */ - public Builder setDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detail_ = value; onChanged(); return this; @@ -2531,21 +2851,26 @@ public Builder setDetailBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @return The statusMessage. */ - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -2554,23 +2879,27 @@ public Builder setDetailBytes( } } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @return The bytes for statusMessage. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -2578,63 +2907,79 @@ public Builder setDetailBytes( } } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessage( - java.lang.String value) { + @java.lang.Deprecated + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearStatusMessage() { - + @java.lang.Deprecated + public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use the field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -2642,18 +2987,20 @@ public Builder setDetailBytes( private java.lang.Object selfLink_ = ""; /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -2662,20 +3009,21 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -2683,54 +3031,61 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink( - java.lang.String value) { + public Builder setSelfLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -2738,18 +3093,20 @@ public Builder setSelfLinkBytes( private java.lang.Object targetLink_ = ""; /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @return The targetLink. */ public java.lang.String getTargetLink() { java.lang.Object ref = targetLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; @@ -2758,20 +3115,21 @@ public java.lang.String getTargetLink() { } } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @return The bytes for targetLink. */ - public com.google.protobuf.ByteString - getTargetLinkBytes() { + public com.google.protobuf.ByteString getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetLink_ = b; return b; } else { @@ -2779,54 +3137,61 @@ public java.lang.String getTargetLink() { } } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @param value The targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLink( - java.lang.String value) { + public Builder setTargetLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetLink_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @return This builder for chaining. */ public Builder clearTargetLink() { - + targetLink_ = getDefaultInstance().getTargetLink(); onChanged(); return this; } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @param value The bytes for targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetLink_ = value; onChanged(); return this; @@ -2834,6 +3199,8 @@ public Builder setTargetLinkBytes( private java.lang.Object location_ = ""; /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2843,13 +3210,13 @@ public Builder setTargetLinkBytes(
      * 
* * string location = 9; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -2858,6 +3225,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2867,15 +3236,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 9; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -2883,6 +3251,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2892,20 +3262,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 9; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2915,15 +3287,18 @@ public Builder setLocation(
      * 
* * string location = 9; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2933,16 +3308,16 @@ public Builder clearLocation() {
      * 
* * string location = 9; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -2950,19 +3325,21 @@ public Builder setLocationBytes( private java.lang.Object startTime_ = ""; /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -2971,21 +3348,22 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -2993,57 +3371,64 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime( - java.lang.String value) { + public Builder setStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -3051,19 +3436,21 @@ public Builder setStartTimeBytes( private java.lang.Object endTime_ = ""; /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @return The endTime. */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; @@ -3072,21 +3459,22 @@ public java.lang.String getEndTime() { } } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @return The bytes for endTime. */ - public com.google.protobuf.ByteString - getEndTimeBytes() { + public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endTime_ = b; return b; } else { @@ -3094,57 +3482,64 @@ public java.lang.String getEndTime() { } } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @param value The endTime to set. * @return This builder for chaining. */ - public Builder setEndTime( - java.lang.String value) { + public Builder setEndTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @return This builder for chaining. */ public Builder clearEndTime() { - + endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @param value The bytes for endTime to set. * @return This builder for chaining. */ - public Builder setEndTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setEndTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endTime_ = value; onChanged(); return this; @@ -3152,39 +3547,58 @@ public Builder setEndTimeBytes( private com.google.container.v1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> progressBuilder_; + com.google.container.v1.OperationProgress, + com.google.container.v1.OperationProgress.Builder, + com.google.container.v1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the progress field is set. */ public boolean hasProgress() { return progressBuilder_ != null || progress_ != null; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The progress. */ public com.google.container.v1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.container.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.container.v1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProgress(com.google.container.v1.OperationProgress value) { if (progressBuilder_ == null) { @@ -3200,14 +3614,17 @@ public Builder setProgress(com.google.container.v1.OperationProgress value) { return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setProgress( - com.google.container.v1.OperationProgress.Builder builderForValue) { + public Builder setProgress(com.google.container.v1.OperationProgress.Builder builderForValue) { if (progressBuilder_ == null) { progress_ = builderForValue.build(); onChanged(); @@ -3218,17 +3635,23 @@ public Builder setProgress( return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeProgress(com.google.container.v1.OperationProgress value) { if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.container.v1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); + com.google.container.v1.OperationProgress.newBuilder(progress_) + .mergeFrom(value) + .buildPartial(); } else { progress_ = value; } @@ -3240,11 +3663,15 @@ public Builder mergeProgress(com.google.container.v1.OperationProgress value) { return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProgress() { if (progressBuilder_ == null) { @@ -3258,74 +3685,100 @@ public Builder clearProgress() { return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null ? - com.google.container.v1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.container.v1.OperationProgress.getDefaultInstance() + : progress_; } } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> + com.google.container.v1.OperationProgress, + com.google.container.v1.OperationProgress.Builder, + com.google.container.v1.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder>( - getProgress(), - getParentForChildren(), - isClean()); + progressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.OperationProgress, + com.google.container.v1.OperationProgress.Builder, + com.google.container.v1.OperationProgressOrBuilder>( + getProgress(), getParentForChildren(), isClean()); progress_ = null; } return progressBuilder_; } private java.util.List clusterConditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClusterConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - clusterConditions_ = new java.util.ArrayList(clusterConditions_); + clusterConditions_ = + new java.util.ArrayList(clusterConditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> clusterConditionsBuilder_; + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder> + clusterConditionsBuilder_; /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List getClusterConditionsList() { + @java.lang.Deprecated + public java.util.List getClusterConditionsList() { if (clusterConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(clusterConditions_); } else { @@ -3333,14 +3786,19 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public int getClusterConditionsCount() { + @java.lang.Deprecated + public int getClusterConditionsCount() { if (clusterConditionsBuilder_ == null) { return clusterConditions_.size(); } else { @@ -3348,14 +3806,19 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1.StatusCondition getClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { return clusterConditions_.get(index); } else { @@ -3363,15 +3826,19 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setClusterConditions( - int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated + public Builder setClusterConditions(int index, com.google.container.v1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3385,14 +3852,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setClusterConditions( + @java.lang.Deprecated + public Builder setClusterConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3404,14 +3876,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions(com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated + public Builder addClusterConditions(com.google.container.v1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3425,15 +3902,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions( - int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated + public Builder addClusterConditions(int index, com.google.container.v1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3447,14 +3928,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions( + @java.lang.Deprecated + public Builder addClusterConditions( com.google.container.v1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3466,14 +3952,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions( + @java.lang.Deprecated + public Builder addClusterConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3485,19 +3976,23 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAllClusterConditions( + @java.lang.Deprecated + public Builder addAllClusterConditions( java.lang.Iterable values) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusterConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterConditions_); onChanged(); } else { clusterConditionsBuilder_.addAllMessages(values); @@ -3505,14 +4000,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearClusterConditions() { + @java.lang.Deprecated + public Builder clearClusterConditions() { if (clusterConditionsBuilder_ == null) { clusterConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -3523,14 +4023,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder removeClusterConditions(int index) { + @java.lang.Deprecated + public Builder removeClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); clusterConditions_.remove(index); @@ -3541,42 +4046,57 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder getClusterConditionsBuilder( - int index) { + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Builder getClusterConditionsBuilder(int index) { return getClusterConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + @java.lang.Deprecated + public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( int index) { if (clusterConditionsBuilder_ == null) { - return clusterConditions_.get(index); } else { + return clusterConditions_.get(index); + } else { return clusterConditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getClusterConditionsOrBuilderList() { + @java.lang.Deprecated + public java.util.List + getClusterConditionsOrBuilderList() { if (clusterConditionsBuilder_ != null) { return clusterConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -3584,48 +4104,68 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder() { - return getClusterConditionsFieldBuilder().addBuilder( - com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder() { + return getClusterConditionsFieldBuilder() + .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder( - int index) { - return getClusterConditionsFieldBuilder().addBuilder( - index, com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Builder addClusterConditionsBuilder(int index) { + return getClusterConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getClusterConditionsBuilderList() { + @java.lang.Deprecated + public java.util.List + getClusterConditionsBuilderList() { return getClusterConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder> getClusterConditionsFieldBuilder() { if (clusterConditionsBuilder_ == null) { - clusterConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( + clusterConditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder>( clusterConditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3636,26 +4176,36 @@ private void ensureClusterConditionsIsMutable() { } private java.util.List nodepoolConditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodepoolConditionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nodepoolConditions_ = new java.util.ArrayList(nodepoolConditions_); + nodepoolConditions_ = + new java.util.ArrayList(nodepoolConditions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> nodepoolConditionsBuilder_; + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder> + nodepoolConditionsBuilder_; /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { + @java.lang.Deprecated + public java.util.List getNodepoolConditionsList() { if (nodepoolConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(nodepoolConditions_); } else { @@ -3663,14 +4213,19 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public int getNodepoolConditionsCount() { + @java.lang.Deprecated + public int getNodepoolConditionsCount() { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.size(); } else { @@ -3678,14 +4233,19 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.get(index); } else { @@ -3693,15 +4253,19 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setNodepoolConditions( - int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated + public Builder setNodepoolConditions(int index, com.google.container.v1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3715,14 +4279,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setNodepoolConditions( + @java.lang.Deprecated + public Builder setNodepoolConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -3734,14 +4303,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions(com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated + public Builder addNodepoolConditions(com.google.container.v1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3755,15 +4329,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions( - int index, com.google.container.v1.StatusCondition value) { + @java.lang.Deprecated + public Builder addNodepoolConditions(int index, com.google.container.v1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3777,14 +4355,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions( + @java.lang.Deprecated + public Builder addNodepoolConditions( com.google.container.v1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -3796,14 +4379,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions( + @java.lang.Deprecated + public Builder addNodepoolConditions( int index, com.google.container.v1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -3815,19 +4403,23 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAllNodepoolConditions( + @java.lang.Deprecated + public Builder addAllNodepoolConditions( java.lang.Iterable values) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodepoolConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodepoolConditions_); onChanged(); } else { nodepoolConditionsBuilder_.addAllMessages(values); @@ -3835,14 +4427,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearNodepoolConditions() { + @java.lang.Deprecated + public Builder clearNodepoolConditions() { if (nodepoolConditionsBuilder_ == null) { nodepoolConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); @@ -3853,14 +4450,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder removeNodepoolConditions(int index) { + @java.lang.Deprecated + public Builder removeNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); nodepoolConditions_.remove(index); @@ -3871,42 +4473,57 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder getNodepoolConditionsBuilder( - int index) { + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Builder getNodepoolConditionsBuilder(int index) { return getNodepoolConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated + public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { if (nodepoolConditionsBuilder_ == null) { - return nodepoolConditions_.get(index); } else { + return nodepoolConditions_.get(index); + } else { return nodepoolConditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getNodepoolConditionsOrBuilderList() { + @java.lang.Deprecated + public java.util.List + getNodepoolConditionsOrBuilderList() { if (nodepoolConditionsBuilder_ != null) { return nodepoolConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -3914,48 +4531,68 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder() { - return getNodepoolConditionsFieldBuilder().addBuilder( - com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder() { + return getNodepoolConditionsFieldBuilder() + .addBuilder(com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder( - int index) { - return getNodepoolConditionsFieldBuilder().addBuilder( - index, com.google.container.v1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Builder addNodepoolConditionsBuilder(int index) { + return getNodepoolConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getNodepoolConditionsBuilderList() { + @java.lang.Deprecated + public java.util.List + getNodepoolConditionsBuilderList() { return getNodepoolConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder> + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder> getNodepoolConditionsFieldBuilder() { if (nodepoolConditionsBuilder_ == null) { - nodepoolConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.StatusCondition, com.google.container.v1.StatusCondition.Builder, com.google.container.v1.StatusConditionOrBuilder>( + nodepoolConditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.StatusCondition, + com.google.container.v1.StatusCondition.Builder, + com.google.container.v1.StatusConditionOrBuilder>( nodepoolConditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3967,24 +4604,31 @@ private void ensureNodepoolConditionsIsMutable() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -3995,6 +4639,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4015,14 +4661,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -4033,6 +4680,8 @@ public Builder setError( return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4042,8 +4691,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -4055,6 +4703,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4073,6 +4723,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4080,11 +4732,13 @@ public Builder clearError() { * .google.rpc.Status error = 15; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4095,11 +4749,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4107,21 +4762,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4131,12 +4786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.Operation) } // @@protoc_insertion_point(class_scope:google.container.v1.Operation) private static final com.google.container.v1.Operation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.Operation(); } @@ -4145,27 +4800,27 @@ public static com.google.container.v1.Operation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4180,6 +4835,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.Operation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java index fe211e5ecabe..8d1580987a94 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface OperationOrBuilder extends +public interface OperationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.Operation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -35,12 +58,16 @@ public interface OperationOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -48,138 +75,179 @@ public interface OperationOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.Operation.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2036 + * + * @deprecated google.container.v1.Operation.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2036 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** + * + * *
    * The operation type.
    * 
* * .google.container.v1.Operation.Type operation_type = 3; + * * @return The operationType. */ com.google.container.v1.Operation.Type getOperationType(); /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1.Operation.Status status = 4; + * * @return The status. */ com.google.container.v1.Operation.Status getStatus(); /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The detail. */ java.lang.String getDetail(); /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The bytes for detail. */ - com.google.protobuf.ByteString - getDetailBytes(); + com.google.protobuf.ByteString getDetailBytes(); /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @return The statusMessage. */ - @java.lang.Deprecated java.lang.String getStatusMessage(); + @java.lang.Deprecated + java.lang.String getStatusMessage(); /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use the field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1.Operation.status_message is deprecated. - * See google/container/v1/cluster_service.proto;l=2049 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1.Operation.status_message is deprecated. See + * google/container/v1/cluster_service.proto;l=2049 * @return The bytes for statusMessage. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getStatusMessageBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The selfLink. */ java.lang.String getSelfLink(); /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString - getSelfLinkBytes(); + com.google.protobuf.ByteString getSelfLinkBytes(); /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The targetLink. */ java.lang.String getTargetLink(); /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The bytes for targetLink. */ - com.google.protobuf.ByteString - getTargetLinkBytes(); + com.google.protobuf.ByteString getTargetLinkBytes(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -189,10 +257,13 @@ public interface OperationOrBuilder extends
    * 
* * string location = 9; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -202,199 +273,277 @@ public interface OperationOrBuilder extends
    * 
* * string location = 9; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The startTime. */ java.lang.String getStartTime(); /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The bytes for startTime. */ - com.google.protobuf.ByteString - getStartTimeBytes(); + com.google.protobuf.ByteString getStartTimeBytes(); /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The endTime. */ java.lang.String getEndTime(); /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The bytes for endTime. */ - com.google.protobuf.ByteString - getEndTimeBytes(); + com.google.protobuf.ByteString getEndTimeBytes(); /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The progress. */ com.google.container.v1.OperationProgress getProgress(); /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.container.v1.OperationProgressOrBuilder getProgressOrBuilder(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List - getClusterConditionsList(); + @java.lang.Deprecated + java.util.List getClusterConditionsList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1.StatusCondition getClusterConditions(int index); + @java.lang.Deprecated + com.google.container.v1.StatusCondition getClusterConditions(int index); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated int getClusterConditionsCount(); + @java.lang.Deprecated + int getClusterConditionsCount(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List getClusterConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder( - int index); + @java.lang.Deprecated + com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder(int index); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List - getNodepoolConditionsList(); + @java.lang.Deprecated + java.util.List getNodepoolConditionsList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1.StatusCondition getNodepoolConditions(int index); + @java.lang.Deprecated + com.google.container.v1.StatusCondition getNodepoolConditions(int index); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated int getNodepoolConditionsCount(); + @java.lang.Deprecated + int getNodepoolConditionsCount(); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List getNodepoolConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( - int index); + @java.lang.Deprecated + com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index); /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The error result of the operation in case of failure.
    * 
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java similarity index 75% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java index 35a84866e89a..a2454a38288c 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Information about operation (or operation stage) progress.
  * 
* * Protobuf type {@code google.container.v1.OperationProgress} */ -public final class OperationProgress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.OperationProgress) OperationProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationProgress.newBuilder() to construct. private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationProgress() { name_ = ""; status_ = 0; @@ -28,177 +46,211 @@ private OperationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.class, com.google.container.v1.OperationProgress.Builder.class); + com.google.container.v1.OperationProgress.class, + com.google.container.v1.OperationProgress.Builder.class); } - public interface MetricOrBuilder extends + public interface MetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.OperationProgress.Metric) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ boolean hasIntValue(); /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return The intValue. */ long getIntValue(); /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); public com.google.container.v1.OperationProgress.Metric.ValueCase getValueCase(); } /** + * + * *
    * Progress metric is (string, int|float|string) pair.
    * 
* * Protobuf type {@code google.container.v1.OperationProgress.Metric} */ - public static final class Metric extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Metric extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.OperationProgress.Metric) MetricOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metric.newBuilder() to construct. private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Metric() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Metric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.Metric.class, com.google.container.v1.OperationProgress.Metric.Builder.class); + com.google.container.v1.OperationProgress.Metric.class, + com.google.container.v1.OperationProgress.Metric.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT_VALUE(2), DOUBLE_VALUE(3), STRING_VALUE(4), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -214,32 +266,39 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 2: return INT_VALUE; - case 3: return DOUBLE_VALUE; - case 4: return STRING_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; + case 2: + return INT_VALUE; + case 3: + return DOUBLE_VALUE; + case 4: + return STRING_VALUE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -248,29 +307,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -280,11 +339,14 @@ public java.lang.String getName() { public static final int INT_VALUE_FIELD_NUMBER = 2; /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ @java.lang.Override @@ -292,11 +354,14 @@ public boolean hasIntValue() { return valueCase_ == 2; } /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return The intValue. */ @java.lang.Override @@ -309,11 +374,14 @@ public long getIntValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -321,11 +389,14 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -338,22 +409,28 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -364,8 +441,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -374,23 +450,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -401,6 +478,7 @@ public java.lang.String getStringValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -412,18 +490,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (valueCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) value_)); + output.writeInt64(2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble( - 3, (double)((java.lang.Double) value_)); + output.writeDouble(3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -441,14 +516,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) value_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 3, (double)((java.lang.Double) value_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); @@ -461,29 +536,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.OperationProgress.Metric)) { return super.equals(obj); } - com.google.container.v1.OperationProgress.Metric other = (com.google.container.v1.OperationProgress.Metric) obj; + com.google.container.v1.OperationProgress.Metric other = + (com.google.container.v1.OperationProgress.Metric) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 2: - if (getIntValue() - != other.getIntValue()) return false; + if (getIntValue() != other.getIntValue()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 4: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 0: default: @@ -504,13 +576,14 @@ public int hashCode() { switch (valueCase_) { case 2: hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIntValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntValue()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -525,87 +598,93 @@ public int hashCode() { } public static com.google.container.v1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress.Metric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.OperationProgress.Metric parseFrom( 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.OperationProgress.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.OperationProgress.Metric parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.OperationProgress.Metric parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.OperationProgress.Metric parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.OperationProgress.Metric parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.OperationProgress.Metric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.OperationProgress.Metric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.OperationProgress.Metric parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.OperationProgress.Metric parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.OperationProgress.Metric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.OperationProgress.Metric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -615,39 +694,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Progress metric is (string, int|float|string) pair.
      * 
* * Protobuf type {@code google.container.v1.OperationProgress.Metric} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.OperationProgress.Metric) com.google.container.v1.OperationProgress.MetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.Metric.class, com.google.container.v1.OperationProgress.Metric.Builder.class); + com.google.container.v1.OperationProgress.Metric.class, + com.google.container.v1.OperationProgress.Metric.Builder.class); } // Construct using com.google.container.v1.OperationProgress.Metric.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -659,9 +740,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_Metric_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_Metric_descriptor; } @java.lang.Override @@ -680,7 +761,8 @@ public com.google.container.v1.OperationProgress.Metric build() { @java.lang.Override public com.google.container.v1.OperationProgress.Metric buildPartial() { - com.google.container.v1.OperationProgress.Metric result = new com.google.container.v1.OperationProgress.Metric(this); + com.google.container.v1.OperationProgress.Metric result = + new com.google.container.v1.OperationProgress.Metric(this); result.name_ = name_; if (valueCase_ == 2) { result.value_ = value_; @@ -700,38 +782,41 @@ public com.google.container.v1.OperationProgress.Metric buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.OperationProgress.Metric) { - return mergeFrom((com.google.container.v1.OperationProgress.Metric)other); + return mergeFrom((com.google.container.v1.OperationProgress.Metric) other); } else { super.mergeFrom(other); return this; @@ -739,29 +824,34 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.OperationProgress.Metric other) { - if (other == com.google.container.v1.OperationProgress.Metric.getDefaultInstance()) return this; + if (other == com.google.container.v1.OperationProgress.Metric.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } switch (other.getValueCase()) { - case INT_VALUE: { - setIntValue(other.getIntValue()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case VALUE_NOT_SET: { - break; - } + case INT_VALUE: + { + setIntValue(other.getIntValue()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: + { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -789,33 +879,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } // case 16 - case 25: { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } // case 25 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } // case 16 + case 25: + { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } // case 25 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + 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) { @@ -825,12 +920,12 @@ public Builder mergeFrom( } // finally return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -840,21 +935,22 @@ public Builder clearValue() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -863,20 +959,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -884,76 +981,89 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ public boolean hasIntValue() { return valueCase_ == 2; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @return The intValue. */ public long getIntValue() { @@ -963,11 +1073,14 @@ public long getIntValue() { return 0L; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @param value The intValue to set. * @return This builder for chaining. */ @@ -978,11 +1091,14 @@ public Builder setIntValue(long value) { return this; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @return This builder for chaining. */ public Builder clearIntValue() { @@ -995,22 +1111,28 @@ public Builder clearIntValue() { } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -1020,11 +1142,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1035,11 +1160,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1052,11 +1180,14 @@ public Builder clearDoubleValue() { } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1064,11 +1195,14 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return The stringValue. */ @java.lang.Override @@ -1078,8 +1212,7 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1090,24 +1223,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1117,30 +1251,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1152,25 +1291,28 @@ public Builder clearStringValue() { return this; } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1183,12 +1325,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.OperationProgress.Metric) } // @@protoc_insertion_point(class_scope:google.container.v1.OperationProgress.Metric) private static final com.google.container.v1.OperationProgress.Metric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.OperationProgress.Metric(); } @@ -1197,27 +1339,28 @@ public static com.google.container.v1.OperationProgress.Metric getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1232,18 +1375,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.OperationProgress.Metric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1252,30 +1397,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1286,35 +1431,46 @@ public java.lang.String getName() { public static final int STATUS_FIELD_NUMBER = 2; private int status_; /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; + * * @return The status. */ - @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { + @java.lang.Override + public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = + com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** + * + * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1331,6 +1487,8 @@ public java.util.List getMetri
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1343,11 +1501,13 @@ public java.util.List getMetri
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1364,6 +1524,8 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1380,6 +1542,8 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1392,14 +1556,15 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
   @java.lang.Override
-  public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
-      int index) {
+  public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(int index) {
     return metrics_.get(index);
   }
 
   public static final int STAGES_FIELD_NUMBER = 4;
   private java.util.List stages_;
   /**
+   *
+   *
    * 
    * Substages of an operation or a stage.
    * 
@@ -1411,6 +1576,8 @@ public java.util.List getStagesList() return stages_; } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1418,11 +1585,13 @@ public java.util.List getStagesList() * repeated .google.container.v1.OperationProgress stages = 4; */ @java.lang.Override - public java.util.List + public java.util.List getStagesOrBuilderList() { return stages_; } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1434,6 +1603,8 @@ public int getStagesCount() { return stages_.size(); } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1445,6 +1616,8 @@ public com.google.container.v1.OperationProgress getStages(int index) { return stages_.get(index); } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1452,12 +1625,12 @@ public com.google.container.v1.OperationProgress getStages(int index) { * repeated .google.container.v1.OperationProgress stages = 4; */ @java.lang.Override - public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( - int index) { + public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int index) { return stages_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1469,8 +1642,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1496,16 +1668,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (status_ != com.google.container.v1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, status_); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < stages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, stages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, stages_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1515,20 +1684,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.OperationProgress)) { return super.equals(obj); } - com.google.container.v1.OperationProgress other = (com.google.container.v1.OperationProgress) obj; + com.google.container.v1.OperationProgress other = + (com.google.container.v1.OperationProgress) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (status_ != other.status_) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; - if (!getStagesList() - .equals(other.getStagesList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getStagesList().equals(other.getStagesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1557,130 +1724,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.OperationProgress parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.OperationProgress parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.OperationProgress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.OperationProgress parseFrom( 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.OperationProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.OperationProgress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.OperationProgress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.OperationProgress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.OperationProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.OperationProgress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.OperationProgress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.OperationProgress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.OperationProgress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.OperationProgress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about operation (or operation stage) progress.
    * 
* * Protobuf type {@code google.container.v1.OperationProgress} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.OperationProgress) com.google.container.v1.OperationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.OperationProgress.class, com.google.container.v1.OperationProgress.Builder.class); + com.google.container.v1.OperationProgress.class, + com.google.container.v1.OperationProgress.Builder.class); } // Construct using com.google.container.v1.OperationProgress.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1706,9 +1879,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_OperationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_OperationProgress_descriptor; } @java.lang.Override @@ -1727,7 +1900,8 @@ public com.google.container.v1.OperationProgress build() { @java.lang.Override public com.google.container.v1.OperationProgress buildPartial() { - com.google.container.v1.OperationProgress result = new com.google.container.v1.OperationProgress(this); + com.google.container.v1.OperationProgress result = + new com.google.container.v1.OperationProgress(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.status_ = status_; @@ -1757,38 +1931,39 @@ public com.google.container.v1.OperationProgress buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.OperationProgress) { - return mergeFrom((com.google.container.v1.OperationProgress)other); + return mergeFrom((com.google.container.v1.OperationProgress) other); } else { super.mergeFrom(other); return this; @@ -1822,9 +1997,10 @@ public Builder mergeFrom(com.google.container.v1.OperationProgress other) { metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000001); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricsFieldBuilder() : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() + : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1848,9 +2024,10 @@ public Builder mergeFrom(com.google.container.v1.OperationProgress other) { stagesBuilder_ = null; stages_ = other.stages_; bitField0_ = (bitField0_ & ~0x00000002); - stagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStagesFieldBuilder() : null; + stagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStagesFieldBuilder() + : null; } else { stagesBuilder_.addAllMessages(other.stages_); } @@ -1882,48 +2059,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - status_ = input.readEnum(); + break; + } // case 10 + case 16: + { + status_ = input.readEnum(); - break; - } // case 16 - case 26: { - com.google.container.v1.OperationProgress.Metric m = - input.readMessage( - com.google.container.v1.OperationProgress.Metric.parser(), - extensionRegistry); - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(m); - } else { - metricsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - com.google.container.v1.OperationProgress m = - input.readMessage( - com.google.container.v1.OperationProgress.parser(), - extensionRegistry); - if (stagesBuilder_ == null) { - ensureStagesIsMutable(); - stages_.add(m); - } else { - stagesBuilder_.addMessage(m); - } - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 26: + { + com.google.container.v1.OperationProgress.Metric m = + input.readMessage( + com.google.container.v1.OperationProgress.Metric.parser(), + extensionRegistry); + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(m); + } else { + metricsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + com.google.container.v1.OperationProgress m = + input.readMessage( + com.google.container.v1.OperationProgress.parser(), extensionRegistry); + if (stagesBuilder_ == null) { + ensureStagesIsMutable(); + stages_.add(m); + } else { + stagesBuilder_.addMessage(m); + } + 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) { @@ -1933,23 +2114,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1958,21 +2142,22 @@ public java.lang.String getName() { } } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1980,57 +2165,64 @@ public java.lang.String getName() { } } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2038,55 +2230,69 @@ public Builder setNameBytes( private int status_ = 0; /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; + * * @return The status. */ @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.Operation.Status result = com.google.container.v1.Operation.Status.valueOf(status_); + com.google.container.v1.Operation.Status result = + com.google.container.v1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1.Operation.Status.UNRECOGNIZED : result; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; + * * @param value The status to set. * @return This builder for chaining. */ @@ -2094,40 +2300,50 @@ public Builder setStatus(com.google.container.v1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1.Operation.Status status = 2; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } private java.util.List metrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); + metrics_ = + new java.util.ArrayList(metrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.OperationProgress.Metric, com.google.container.v1.OperationProgress.Metric.Builder, com.google.container.v1.OperationProgress.MetricOrBuilder> metricsBuilder_; + com.google.container.v1.OperationProgress.Metric, + com.google.container.v1.OperationProgress.Metric.Builder, + com.google.container.v1.OperationProgress.MetricOrBuilder> + metricsBuilder_; /** + * + * *
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2147,6 +2363,8 @@ public java.util.List getMetri
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2166,6 +2384,8 @@ public int getMetricsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2185,6 +2405,8 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2196,8 +2418,7 @@ public com.google.container.v1.OperationProgress.Metric getMetrics(int index) {
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public Builder setMetrics(
-        int index, com.google.container.v1.OperationProgress.Metric value) {
+    public Builder setMetrics(int index, com.google.container.v1.OperationProgress.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2211,6 +2432,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2234,6 +2457,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2259,6 +2484,8 @@ public Builder addMetrics(com.google.container.v1.OperationProgress.Metric value
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2270,8 +2497,7 @@ public Builder addMetrics(com.google.container.v1.OperationProgress.Metric value
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public Builder addMetrics(
-        int index, com.google.container.v1.OperationProgress.Metric value) {
+    public Builder addMetrics(int index, com.google.container.v1.OperationProgress.Metric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2285,6 +2511,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2308,6 +2536,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2331,6 +2561,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2346,8 +2578,7 @@ public Builder addAllMetrics(
         java.lang.Iterable values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -2355,6 +2586,8 @@ public Builder addAllMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2377,6 +2610,8 @@ public Builder clearMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2399,6 +2634,8 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2410,11 +2647,12 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public com.google.container.v1.OperationProgress.Metric.Builder getMetricsBuilder(
-        int index) {
+    public com.google.container.v1.OperationProgress.Metric.Builder getMetricsBuilder(int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2429,11 +2667,14 @@ public com.google.container.v1.OperationProgress.Metric.Builder getMetricsBuilde
     public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
         int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);  } else {
+        return metrics_.get(index);
+      } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2445,8 +2686,8 @@ public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBui
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsOrBuilderList() {
+    public java.util.List
+        getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2454,6 +2695,8 @@ public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBui
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2466,10 +2709,12 @@ public com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBui
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
     public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder().addBuilder(
-          com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder()
+          .addBuilder(com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2481,12 +2726,13 @@ public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilde
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilder(
-        int index) {
-      return getMetricsFieldBuilder().addBuilder(
-          index, com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
+    public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilder(int index) {
+      return getMetricsFieldBuilder()
+          .addBuilder(index, com.google.container.v1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2498,38 +2744,47 @@ public com.google.container.v1.OperationProgress.Metric.Builder addMetricsBuilde
      *
      * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsBuilderList() {
+    public java.util.List
+        getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.OperationProgress.Metric, com.google.container.v1.OperationProgress.Metric.Builder, com.google.container.v1.OperationProgress.MetricOrBuilder> 
+            com.google.container.v1.OperationProgress.Metric,
+            com.google.container.v1.OperationProgress.Metric.Builder,
+            com.google.container.v1.OperationProgress.MetricOrBuilder>
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1.OperationProgress.Metric, com.google.container.v1.OperationProgress.Metric.Builder, com.google.container.v1.OperationProgress.MetricOrBuilder>(
-                metrics_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        metricsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1.OperationProgress.Metric,
+                com.google.container.v1.OperationProgress.Metric.Builder,
+                com.google.container.v1.OperationProgress.MetricOrBuilder>(
+                metrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List stages_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStagesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         stages_ = new java.util.ArrayList(stages_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> stagesBuilder_;
+            com.google.container.v1.OperationProgress,
+            com.google.container.v1.OperationProgress.Builder,
+            com.google.container.v1.OperationProgressOrBuilder>
+        stagesBuilder_;
 
     /**
+     *
+     *
      * 
      * Substages of an operation or a stage.
      * 
@@ -2544,6 +2799,8 @@ public java.util.List getStagesList() } } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2558,6 +2815,8 @@ public int getStagesCount() { } } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2572,14 +2831,15 @@ public com.google.container.v1.OperationProgress getStages(int index) { } } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public Builder setStages( - int index, com.google.container.v1.OperationProgress value) { + public Builder setStages(int index, com.google.container.v1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2593,6 +2853,8 @@ public Builder setStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2611,6 +2873,8 @@ public Builder setStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2631,14 +2895,15 @@ public Builder addStages(com.google.container.v1.OperationProgress value) { return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public Builder addStages( - int index, com.google.container.v1.OperationProgress value) { + public Builder addStages(int index, com.google.container.v1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2652,14 +2917,15 @@ public Builder addStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public Builder addStages( - com.google.container.v1.OperationProgress.Builder builderForValue) { + public Builder addStages(com.google.container.v1.OperationProgress.Builder builderForValue) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); stages_.add(builderForValue.build()); @@ -2670,6 +2936,8 @@ public Builder addStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2688,6 +2956,8 @@ public Builder addStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2698,8 +2968,7 @@ public Builder addAllStages( java.lang.Iterable values) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stages_); onChanged(); } else { stagesBuilder_.addAllMessages(values); @@ -2707,6 +2976,8 @@ public Builder addAllStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2724,6 +2995,8 @@ public Builder clearStages() { return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2741,39 +3014,44 @@ public Builder removeStages(int index) { return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public com.google.container.v1.OperationProgress.Builder getStagesBuilder( - int index) { + public com.google.container.v1.OperationProgress.Builder getStagesBuilder(int index) { return getStagesFieldBuilder().getBuilder(index); } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( - int index) { + public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int index) { if (stagesBuilder_ == null) { - return stages_.get(index); } else { + return stages_.get(index); + } else { return stagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public java.util.List - getStagesOrBuilderList() { + public java.util.List + getStagesOrBuilderList() { if (stagesBuilder_ != null) { return stagesBuilder_.getMessageOrBuilderList(); } else { @@ -2781,6 +3059,8 @@ public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( } } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2788,49 +3068,55 @@ public com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( * repeated .google.container.v1.OperationProgress stages = 4; */ public com.google.container.v1.OperationProgress.Builder addStagesBuilder() { - return getStagesFieldBuilder().addBuilder( - com.google.container.v1.OperationProgress.getDefaultInstance()); + return getStagesFieldBuilder() + .addBuilder(com.google.container.v1.OperationProgress.getDefaultInstance()); } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public com.google.container.v1.OperationProgress.Builder addStagesBuilder( - int index) { - return getStagesFieldBuilder().addBuilder( - index, com.google.container.v1.OperationProgress.getDefaultInstance()); + public com.google.container.v1.OperationProgress.Builder addStagesBuilder(int index) { + return getStagesFieldBuilder() + .addBuilder(index, com.google.container.v1.OperationProgress.getDefaultInstance()); } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - public java.util.List - getStagesBuilderList() { + public java.util.List + getStagesBuilderList() { return getStagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder> + com.google.container.v1.OperationProgress, + com.google.container.v1.OperationProgress.Builder, + com.google.container.v1.OperationProgressOrBuilder> getStagesFieldBuilder() { if (stagesBuilder_ == null) { - stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.OperationProgress, com.google.container.v1.OperationProgress.Builder, com.google.container.v1.OperationProgressOrBuilder>( - stages_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + stagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.OperationProgress, + com.google.container.v1.OperationProgress.Builder, + com.google.container.v1.OperationProgressOrBuilder>( + stages_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); stages_ = null; } return stagesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2840,12 +3126,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.OperationProgress) } // @@protoc_insertion_point(class_scope:google.container.v1.OperationProgress) private static final com.google.container.v1.OperationProgress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.OperationProgress(); } @@ -2854,27 +3140,27 @@ public static com.google.container.v1.OperationProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2889,6 +3175,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.OperationProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java similarity index 81% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java index a2e915aaa202..5f11ca8c7760 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgressOrBuilder.java @@ -1,56 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface OperationProgressOrBuilder extends +public interface OperationProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.OperationProgress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1.Operation.Status status = 2; + * * @return The status. */ com.google.container.v1.Operation.Status getStatus(); /** + * + * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -62,9 +91,10 @@ public interface OperationProgressOrBuilder extends
    *
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List 
-      getMetricsList();
+  java.util.List getMetricsList();
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -78,6 +108,8 @@ public interface OperationProgressOrBuilder extends
    */
   com.google.container.v1.OperationProgress.Metric getMetrics(int index);
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -91,6 +123,8 @@ public interface OperationProgressOrBuilder extends
    */
   int getMetricsCount();
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -102,9 +136,11 @@ public interface OperationProgressOrBuilder extends
    *
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List 
+  java.util.List
       getMetricsOrBuilderList();
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -116,19 +152,21 @@ public interface OperationProgressOrBuilder extends
    *
    * repeated .google.container.v1.OperationProgress.Metric metrics = 3;
    */
-  com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
-      int index);
+  com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - java.util.List - getStagesList(); + java.util.List getStagesList(); /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -137,6 +175,8 @@ com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder( */ com.google.container.v1.OperationProgress getStages(int index); /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -145,21 +185,24 @@ com.google.container.v1.OperationProgress.MetricOrBuilder getMetricsOrBuilder( */ int getStagesCount(); /** + * + * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - java.util.List + java.util.List getStagesOrBuilderList(); /** + * + * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1.OperationProgress stages = 4; */ - com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder( - int index); + com.google.container.v1.OperationProgressOrBuilder getStagesOrBuilder(int index); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java index 14fd55c7171d..1562d5a7b88e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration options for private clusters.
  * 
* * Protobuf type {@code google.container.v1.PrivateClusterConfig} */ -public final class PrivateClusterConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.PrivateClusterConfig) PrivateClusterConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrivateClusterConfig.newBuilder() to construct. private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PrivateClusterConfig() { masterIpv4CidrBlock_ = ""; privateEndpoint_ = ""; @@ -29,32 +47,35 @@ private PrivateClusterConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrivateClusterConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterConfig.class, com.google.container.v1.PrivateClusterConfig.Builder.class); + com.google.container.v1.PrivateClusterConfig.class, + com.google.container.v1.PrivateClusterConfig.Builder.class); } public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 1; private boolean enablePrivateNodes_; /** + * + * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * bool enable_private_nodes = 1; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -72,11 +94,14 @@ public boolean getEnablePrivateNodes() { public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 2; private boolean enablePrivateEndpoint_; /** + * + * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -87,6 +112,8 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4CidrBlock_; /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -95,6 +122,7 @@ public boolean getEnablePrivateEndpoint() {
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -103,14 +131,15 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -119,16 +148,15 @@ public java.lang.String getMasterIpv4CidrBlock() {
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -139,11 +167,14 @@ public java.lang.String getMasterIpv4CidrBlock() { public static final int PRIVATE_ENDPOINT_FIELD_NUMBER = 4; private volatile java.lang.Object privateEndpoint_; /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The privateEndpoint. */ @java.lang.Override @@ -152,29 +183,29 @@ public java.lang.String getPrivateEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; } } /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The bytes for privateEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrivateEndpointBytes() { + public com.google.protobuf.ByteString getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -185,11 +216,14 @@ public java.lang.String getPrivateEndpoint() { public static final int PUBLIC_ENDPOINT_FIELD_NUMBER = 5; private volatile java.lang.Object publicEndpoint_; /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The publicEndpoint. */ @java.lang.Override @@ -198,29 +232,29 @@ public java.lang.String getPublicEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; } } /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The bytes for publicEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicEndpointBytes() { + public com.google.protobuf.ByteString getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -231,11 +265,14 @@ public java.lang.String getPublicEndpoint() { public static final int PEERING_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object peeringName_; /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The peeringName. */ @java.lang.Override @@ -244,29 +281,29 @@ public java.lang.String getPeeringName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; } } /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The bytes for peeringName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeeringNameBytes() { + public com.google.protobuf.ByteString getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peeringName_ = b; return b; } else { @@ -277,11 +314,16 @@ public java.lang.String getPeeringName() { public static final int MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER = 8; private com.google.container.v1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Override @@ -289,38 +331,54 @@ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfig_ != null; } /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return The masterGlobalAccessConfig. */ @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { - return masterGlobalAccessConfig_ == null ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig + getMasterGlobalAccessConfig() { + return masterGlobalAccessConfig_ == null + ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() + : masterGlobalAccessConfig_; } /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder + getMasterGlobalAccessConfigOrBuilder() { return getMasterGlobalAccessConfig(); } public static final int PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER = 10; private volatile java.lang.Object privateEndpointSubnetwork_; /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The privateEndpointSubnetwork. */ @java.lang.Override @@ -329,30 +387,30 @@ public java.lang.String getPrivateEndpointSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; } } /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -361,6 +419,7 @@ public java.lang.String getPrivateEndpointSubnetwork() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +431,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enablePrivateNodes_ != false) { output.writeBool(1, enablePrivateNodes_); } @@ -408,12 +466,10 @@ public int getSerializedSize() { size = 0; if (enablePrivateNodes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateNodes_); } if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, masterIpv4CidrBlock_); @@ -428,11 +484,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, peeringName_); } if (masterGlobalAccessConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getMasterGlobalAccessConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, getMasterGlobalAccessConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateEndpointSubnetwork_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -442,32 +500,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.container.v1.PrivateClusterConfig other = (com.google.container.v1.PrivateClusterConfig) obj; - - if (getEnablePrivateNodes() - != other.getEnablePrivateNodes()) return false; - if (getEnablePrivateEndpoint() - != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock() - .equals(other.getMasterIpv4CidrBlock())) return false; - if (!getPrivateEndpoint() - .equals(other.getPrivateEndpoint())) return false; - if (!getPublicEndpoint() - .equals(other.getPublicEndpoint())) return false; - if (!getPeeringName() - .equals(other.getPeeringName())) return false; + com.google.container.v1.PrivateClusterConfig other = + (com.google.container.v1.PrivateClusterConfig) obj; + + if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; + if (!getPrivateEndpoint().equals(other.getPrivateEndpoint())) return false; + if (!getPublicEndpoint().equals(other.getPublicEndpoint())) return false; + if (!getPeeringName().equals(other.getPeeringName())) return false; if (hasMasterGlobalAccessConfig() != other.hasMasterGlobalAccessConfig()) return false; if (hasMasterGlobalAccessConfig()) { - if (!getMasterGlobalAccessConfig() - .equals(other.getMasterGlobalAccessConfig())) return false; + if (!getMasterGlobalAccessConfig().equals(other.getMasterGlobalAccessConfig())) return false; } - if (!getPrivateEndpointSubnetwork() - .equals(other.getPrivateEndpointSubnetwork())) return false; + if (!getPrivateEndpointSubnetwork().equals(other.getPrivateEndpointSubnetwork())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -480,11 +531,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + PRIVATE_ENDPOINT_FIELD_NUMBER; @@ -504,130 +553,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.PrivateClusterConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.PrivateClusterConfig parseFrom( 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.PrivateClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.PrivateClusterConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.PrivateClusterConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.PrivateClusterConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.PrivateClusterConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.PrivateClusterConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.PrivateClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for private clusters.
    * 
* * Protobuf type {@code google.container.v1.PrivateClusterConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.PrivateClusterConfig) com.google.container.v1.PrivateClusterConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterConfig.class, com.google.container.v1.PrivateClusterConfig.Builder.class); + com.google.container.v1.PrivateClusterConfig.class, + com.google.container.v1.PrivateClusterConfig.Builder.class); } // Construct using com.google.container.v1.PrivateClusterConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -655,9 +710,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterConfig_descriptor; } @java.lang.Override @@ -676,7 +731,8 @@ public com.google.container.v1.PrivateClusterConfig build() { @java.lang.Override public com.google.container.v1.PrivateClusterConfig buildPartial() { - com.google.container.v1.PrivateClusterConfig result = new com.google.container.v1.PrivateClusterConfig(this); + com.google.container.v1.PrivateClusterConfig result = + new com.google.container.v1.PrivateClusterConfig(this); result.enablePrivateNodes_ = enablePrivateNodes_; result.enablePrivateEndpoint_ = enablePrivateEndpoint_; result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_; @@ -697,38 +753,39 @@ public com.google.container.v1.PrivateClusterConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.PrivateClusterConfig) { - return mergeFrom((com.google.container.v1.PrivateClusterConfig)other); + return mergeFrom((com.google.container.v1.PrivateClusterConfig) other); } else { super.mergeFrom(other); return this; @@ -792,54 +849,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enablePrivateNodes_ = input.readBool(); - - break; - } // case 8 - case 16: { - enablePrivateEndpoint_ = input.readBool(); - - break; - } // case 16 - case 26: { - masterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - privateEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - publicEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 58: { - peeringName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - input.readMessage( - getMasterGlobalAccessConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 66 - case 82: { - privateEndpointSubnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enablePrivateNodes_ = input.readBool(); + + break; + } // case 8 + case 16: + { + enablePrivateEndpoint_ = input.readBool(); + + break; + } // case 16 + case 26: + { + masterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + privateEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + publicEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 58: + { + peeringName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + input.readMessage( + getMasterGlobalAccessConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 66 + case 82: + { + privateEndpointSubnetwork_ = input.readStringRequireUtf8(); + + 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) { @@ -850,8 +915,10 @@ public Builder mergeFrom( return this; } - private boolean enablePrivateNodes_ ; + private boolean enablePrivateNodes_; /** + * + * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -859,6 +926,7 @@ public Builder mergeFrom(
      * 
* * bool enable_private_nodes = 1; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -866,6 +934,8 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** + * + * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -873,16 +943,19 @@ public boolean getEnablePrivateNodes() {
      * 
* * bool enable_private_nodes = 1; + * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ public Builder setEnablePrivateNodes(boolean value) { - + enablePrivateNodes_ = value; onChanged(); return this; } /** + * + * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -890,22 +963,26 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * bool enable_private_nodes = 1; + * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { - + enablePrivateNodes_ = false; onChanged(); return this; } - private boolean enablePrivateEndpoint_ ; + private boolean enablePrivateEndpoint_; /** + * + * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -913,30 +990,36 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** + * + * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; + * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; + * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -944,6 +1027,8 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -952,13 +1037,13 @@ public Builder clearEnablePrivateEndpoint() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -967,6 +1052,8 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -975,15 +1062,14 @@ public java.lang.String getMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -991,6 +1077,8 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -999,20 +1087,22 @@ public java.lang.String getMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock( - java.lang.String value) { + public Builder setMasterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1021,15 +1111,18 @@ public Builder setMasterIpv4CidrBlock(
      * 
* * string master_ipv4_cidr_block = 3; + * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1038,16 +1131,16 @@ public Builder clearMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -1055,18 +1148,20 @@ public Builder setMasterIpv4CidrBlockBytes( private java.lang.Object privateEndpoint_ = ""; /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @return The privateEndpoint. */ public java.lang.String getPrivateEndpoint() { java.lang.Object ref = privateEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; @@ -1075,20 +1170,21 @@ public java.lang.String getPrivateEndpoint() { } } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @return The bytes for privateEndpoint. */ - public com.google.protobuf.ByteString - getPrivateEndpointBytes() { + public com.google.protobuf.ByteString getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -1096,54 +1192,61 @@ public java.lang.String getPrivateEndpoint() { } } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @param value The privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpoint( - java.lang.String value) { + public Builder setPrivateEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @return This builder for chaining. */ public Builder clearPrivateEndpoint() { - + privateEndpoint_ = getDefaultInstance().getPrivateEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @param value The bytes for privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpoint_ = value; onChanged(); return this; @@ -1151,18 +1254,20 @@ public Builder setPrivateEndpointBytes( private java.lang.Object publicEndpoint_ = ""; /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @return The publicEndpoint. */ public java.lang.String getPublicEndpoint() { java.lang.Object ref = publicEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; @@ -1171,20 +1276,21 @@ public java.lang.String getPublicEndpoint() { } } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @return The bytes for publicEndpoint. */ - public com.google.protobuf.ByteString - getPublicEndpointBytes() { + public com.google.protobuf.ByteString getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -1192,54 +1298,61 @@ public java.lang.String getPublicEndpoint() { } } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @param value The publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpoint( - java.lang.String value) { + public Builder setPublicEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @return This builder for chaining. */ public Builder clearPublicEndpoint() { - + publicEndpoint_ = getDefaultInstance().getPublicEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @param value The bytes for publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setPublicEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicEndpoint_ = value; onChanged(); return this; @@ -1247,18 +1360,20 @@ public Builder setPublicEndpointBytes( private java.lang.Object peeringName_ = ""; /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @return The peeringName. */ public java.lang.String getPeeringName() { java.lang.Object ref = peeringName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; @@ -1267,20 +1382,21 @@ public java.lang.String getPeeringName() { } } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @return The bytes for peeringName. */ - public com.google.protobuf.ByteString - getPeeringNameBytes() { + public com.google.protobuf.ByteString getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peeringName_ = b; return b; } else { @@ -1288,96 +1404,125 @@ public java.lang.String getPeeringName() { } } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @param value The peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringName( - java.lang.String value) { + public Builder setPeeringName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + peeringName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @return This builder for chaining. */ public Builder clearPeeringName() { - + peeringName_ = getDefaultInstance().getPeeringName(); onChanged(); return this; } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @param value The bytes for peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPeeringNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peeringName_ = value; onChanged(); return this; } - private com.google.container.v1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; + private com.google.container.v1.PrivateClusterMasterGlobalAccessConfig + masterGlobalAccessConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> masterGlobalAccessConfigBuilder_; + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> + masterGlobalAccessConfigBuilder_; /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return Whether the masterGlobalAccessConfig field is set. */ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfigBuilder_ != null || masterGlobalAccessConfig_ != null; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return The masterGlobalAccessConfig. */ - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig + getMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { - return masterGlobalAccessConfig_ == null ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null + ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() + : masterGlobalAccessConfig_; } else { return masterGlobalAccessConfigBuilder_.getMessage(); } } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public Builder setMasterGlobalAccessConfig(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder setMasterGlobalAccessConfig( + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1391,11 +1536,15 @@ public Builder setMasterGlobalAccessConfig(com.google.container.v1.PrivateCluste return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ public Builder setMasterGlobalAccessConfig( com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder builderForValue) { @@ -1409,17 +1558,25 @@ public Builder setMasterGlobalAccessConfig( return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public Builder mergeMasterGlobalAccessConfig(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder mergeMasterGlobalAccessConfig( + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (masterGlobalAccessConfig_ != null) { masterGlobalAccessConfig_ = - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.newBuilder(masterGlobalAccessConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.newBuilder( + masterGlobalAccessConfig_) + .mergeFrom(value) + .buildPartial(); } else { masterGlobalAccessConfig_ = value; } @@ -1431,11 +1588,15 @@ public Builder mergeMasterGlobalAccessConfig(com.google.container.v1.PrivateClus return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ public Builder clearMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { @@ -1449,48 +1610,66 @@ public Builder clearMasterGlobalAccessConfig() { return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder getMasterGlobalAccessConfigBuilder() { - + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder + getMasterGlobalAccessConfigBuilder() { + onChanged(); return getMasterGlobalAccessConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder + getMasterGlobalAccessConfigOrBuilder() { if (masterGlobalAccessConfigBuilder_ != null) { return masterGlobalAccessConfigBuilder_.getMessageOrBuilder(); } else { - return masterGlobalAccessConfig_ == null ? - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null + ? com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() + : masterGlobalAccessConfig_; } } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder> getMasterGlobalAccessConfigFieldBuilder() { if (masterGlobalAccessConfigBuilder_ == null) { - masterGlobalAccessConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( - getMasterGlobalAccessConfig(), - getParentForChildren(), - isClean()); + masterGlobalAccessConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( + getMasterGlobalAccessConfig(), getParentForChildren(), isClean()); masterGlobalAccessConfig_ = null; } return masterGlobalAccessConfigBuilder_; @@ -1498,19 +1677,21 @@ public com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder g private java.lang.Object privateEndpointSubnetwork_ = ""; /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @return The privateEndpointSubnetwork. */ public java.lang.String getPrivateEndpointSubnetwork() { java.lang.Object ref = privateEndpointSubnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; @@ -1519,21 +1700,22 @@ public java.lang.String getPrivateEndpointSubnetwork() { } } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @return The bytes for privateEndpointSubnetwork. */ - public com.google.protobuf.ByteString - getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -1541,64 +1723,71 @@ public java.lang.String getPrivateEndpointSubnetwork() { } } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @param value The privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetwork( - java.lang.String value) { + public Builder setPrivateEndpointSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpointSubnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @return This builder for chaining. */ public Builder clearPrivateEndpointSubnetwork() { - + privateEndpointSubnetwork_ = getDefaultInstance().getPrivateEndpointSubnetwork(); onChanged(); return this; } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @param value The bytes for privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpointSubnetwork_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1608,12 +1797,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.PrivateClusterConfig) private static final com.google.container.v1.PrivateClusterConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.PrivateClusterConfig(); } @@ -1622,27 +1811,27 @@ public static com.google.container.v1.PrivateClusterConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1657,6 +1846,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.PrivateClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java index 8d04d286674e..48ad74d50dd7 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface PrivateClusterConfigOrBuilder extends +public interface PrivateClusterConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -15,21 +33,27 @@ public interface PrivateClusterConfigOrBuilder extends
    * 
* * bool enable_private_nodes = 1; + * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** + * + * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; + * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -38,10 +62,13 @@ public interface PrivateClusterConfigOrBuilder extends
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -50,117 +77,152 @@ public interface PrivateClusterConfigOrBuilder extends
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The privateEndpoint. */ java.lang.String getPrivateEndpoint(); /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The bytes for privateEndpoint. */ - com.google.protobuf.ByteString - getPrivateEndpointBytes(); + com.google.protobuf.ByteString getPrivateEndpointBytes(); /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The publicEndpoint. */ java.lang.String getPublicEndpoint(); /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The bytes for publicEndpoint. */ - com.google.protobuf.ByteString - getPublicEndpointBytes(); + com.google.protobuf.ByteString getPublicEndpointBytes(); /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The peeringName. */ java.lang.String getPeeringName(); /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The bytes for peeringName. */ - com.google.protobuf.ByteString - getPeeringNameBytes(); + com.google.protobuf.ByteString getPeeringNameBytes(); /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return Whether the masterGlobalAccessConfig field is set. */ boolean hasMasterGlobalAccessConfig(); /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return The masterGlobalAccessConfig. */ com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig(); /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder(); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder + getMasterGlobalAccessConfigOrBuilder(); /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The privateEndpointSubnetwork. */ java.lang.String getPrivateEndpointSubnetwork(); /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The bytes for privateEndpointSubnetwork. */ - com.google.protobuf.ByteString - getPrivateEndpointSubnetworkBytes(); + com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java similarity index 60% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java index 5af3acce8d7a..484f60dadbfa 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfig.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for controlling master global access settings.
  * 
* * Protobuf type {@code google.container.v1.PrivateClusterMasterGlobalAccessConfig} */ -public final class PrivateClusterMasterGlobalAccessConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrivateClusterMasterGlobalAccessConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.PrivateClusterMasterGlobalAccessConfig) PrivateClusterMasterGlobalAccessConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrivateClusterMasterGlobalAccessConfig.newBuilder() to construct. - private PrivateClusterMasterGlobalAccessConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PrivateClusterMasterGlobalAccessConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrivateClusterMasterGlobalAccessConfig() { - } + + private PrivateClusterMasterGlobalAccessConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrivateClusterMasterGlobalAccessConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whenever master is accessible globally or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +86,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +112,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.PrivateClusterMasterGlobalAccessConfig)) { return super.equals(obj); } - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig other = (com.google.container.v1.PrivateClusterMasterGlobalAccessConfig) obj; + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig other = + (com.google.container.v1.PrivateClusterMasterGlobalAccessConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +143,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( 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.PrivateClusterMasterGlobalAccessConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for controlling master global access settings.
    * 
* * Protobuf type {@code google.container.v1.PrivateClusterMasterGlobalAccessConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.PrivateClusterMasterGlobalAccessConfig) com.google.container.v1.PrivateClusterMasterGlobalAccessConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.class, + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } // Construct using com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,13 +289,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig + getDefaultInstanceForType() { return com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance(); } @@ -282,7 +311,8 @@ public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig build() { @java.lang.Override public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig buildPartial() { - com.google.container.v1.PrivateClusterMasterGlobalAccessConfig result = new com.google.container.v1.PrivateClusterMasterGlobalAccessConfig(this); + com.google.container.v1.PrivateClusterMasterGlobalAccessConfig result = + new com.google.container.v1.PrivateClusterMasterGlobalAccessConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +322,39 @@ public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.PrivateClusterMasterGlobalAccessConfig) { - return mergeFrom((com.google.container.v1.PrivateClusterMasterGlobalAccessConfig)other); + return mergeFrom((com.google.container.v1.PrivateClusterMasterGlobalAccessConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +362,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.PrivateClusterMasterGlobalAccessConfig other) { - if (other == com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance()) return this; + if (other + == com.google.container.v1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +394,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +417,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +434,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,41 +480,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.PrivateClusterMasterGlobalAccessConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.PrivateClusterMasterGlobalAccessConfig) - private static final com.google.container.v1.PrivateClusterMasterGlobalAccessConfig DEFAULT_INSTANCE; + private static final com.google.container.v1.PrivateClusterMasterGlobalAccessConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.PrivateClusterMasterGlobalAccessConfig(); } - public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getDefaultInstance() { + public static com.google.container.v1.PrivateClusterMasterGlobalAccessConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -482,9 +528,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { + public com.google.container.v1.PrivateClusterMasterGlobalAccessConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java new file mode 100644 index 000000000000..59fcbb68446b --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface PrivateClusterMasterGlobalAccessConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.PrivateClusterMasterGlobalAccessConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whenever master is accessible globally or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java index 8329b170cf3a..44bae8d7d6ef 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateIPv6GoogleAccess.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * PrivateIPv6GoogleAccess controls whether and how the pods can communicate
  * with Google Services through gRPC over IPv6.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.container.v1.PrivateIPv6GoogleAccess}
  */
-public enum PrivateIPv6GoogleAccess
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. Same as DISABLED
    * 
@@ -22,6 +40,8 @@ public enum PrivateIPv6GoogleAccess */ PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED(0), /** + * + * *
    * No private access to or from Google Services
    * 
@@ -30,6 +50,8 @@ public enum PrivateIPv6GoogleAccess */ PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED(1), /** + * + * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -38,6 +60,8 @@ public enum PrivateIPv6GoogleAccess */ PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE(2), /** + * + * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -49,6 +73,8 @@ public enum PrivateIPv6GoogleAccess ; /** + * + * *
    * Default value. Same as DISABLED
    * 
@@ -57,6 +83,8 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE = 0; /** + * + * *
    * No private access to or from Google Services
    * 
@@ -65,6 +93,8 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED_VALUE = 1; /** + * + * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -73,6 +103,8 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE_VALUE = 2; /** + * + * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -81,7 +113,6 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,11 +137,16 @@ public static PrivateIPv6GoogleAccess valueOf(int value) { */ public static PrivateIPv6GoogleAccess forNumber(int value) { switch (value) { - case 0: return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; - case 1: return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; - case 2: return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; - case 3: return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; - default: return null; + case 0: + return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; + case 1: + return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; + case 2: + return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; + case 3: + return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; + default: + return null; } } @@ -118,28 +154,28 @@ public static PrivateIPv6GoogleAccess forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PrivateIPv6GoogleAccess> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrivateIPv6GoogleAccess findValueByNumber(int number) { - return PrivateIPv6GoogleAccess.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PrivateIPv6GoogleAccess findValueByNumber(int number) { + return PrivateIPv6GoogleAccess.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(0); } @@ -148,8 +184,7 @@ public PrivateIPv6GoogleAccess findValueByNumber(int number) { public static PrivateIPv6GoogleAccess valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -165,4 +200,3 @@ private PrivateIPv6GoogleAccess(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.PrivateIPv6GoogleAccess) } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java similarity index 76% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java index 8919346714f3..ec0b2bbec66d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Represents an arbitrary window of time that recurs.
  * 
* * Protobuf type {@code google.container.v1.RecurringTimeWindow} */ -public final class RecurringTimeWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RecurringTimeWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.RecurringTimeWindow) RecurringTimeWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecurringTimeWindow.newBuilder() to construct. private RecurringTimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RecurringTimeWindow() { recurrence_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RecurringTimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.RecurringTimeWindow.class, com.google.container.v1.RecurringTimeWindow.Builder.class); + com.google.container.v1.RecurringTimeWindow.class, + com.google.container.v1.RecurringTimeWindow.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1.TimeWindow window_; /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; + * * @return Whether the window field is set. */ @java.lang.Override @@ -63,11 +85,14 @@ public boolean hasWindow() { return window_ != null; } /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; + * * @return The window. */ @java.lang.Override @@ -75,6 +100,8 @@ public com.google.container.v1.TimeWindow getWindow() { return window_ == null ? com.google.container.v1.TimeWindow.getDefaultInstance() : window_; } /** + * + * *
    * The window of the first recurrence.
    * 
@@ -89,6 +116,8 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int RECURRENCE_FIELD_NUMBER = 2; private volatile java.lang.Object recurrence_; /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -119,6 +148,7 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() {
    * 
* * string recurrence = 2; + * * @return The recurrence. */ @java.lang.Override @@ -127,14 +157,15 @@ public java.lang.String getRecurrence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; } } /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -165,16 +196,15 @@ public java.lang.String getRecurrence() {
    * 
* * string recurrence = 2; + * * @return The bytes for recurrence. */ @java.lang.Override - public com.google.protobuf.ByteString - getRecurrenceBytes() { + public com.google.protobuf.ByteString getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recurrence_ = b; return b; } else { @@ -183,6 +213,7 @@ public java.lang.String getRecurrence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +225,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -212,8 +242,7 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recurrence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recurrence_); @@ -226,20 +255,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.RecurringTimeWindow)) { return super.equals(obj); } - com.google.container.v1.RecurringTimeWindow other = (com.google.container.v1.RecurringTimeWindow) obj; + com.google.container.v1.RecurringTimeWindow other = + (com.google.container.v1.RecurringTimeWindow) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow() - .equals(other.getWindow())) return false; + if (!getWindow().equals(other.getWindow())) return false; } - if (!getRecurrence() - .equals(other.getRecurrence())) return false; + if (!getRecurrence().equals(other.getRecurrence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,130 +290,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.RecurringTimeWindow parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.RecurringTimeWindow parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.RecurringTimeWindow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RecurringTimeWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.RecurringTimeWindow parseFrom( 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.RecurringTimeWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.RecurringTimeWindow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.RecurringTimeWindow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.RecurringTimeWindow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.RecurringTimeWindow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.RecurringTimeWindow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.RecurringTimeWindow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.RecurringTimeWindow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.RecurringTimeWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.RecurringTimeWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents an arbitrary window of time that recurs.
    * 
* * Protobuf type {@code google.container.v1.RecurringTimeWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.RecurringTimeWindow) com.google.container.v1.RecurringTimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.RecurringTimeWindow.class, com.google.container.v1.RecurringTimeWindow.Builder.class); + com.google.container.v1.RecurringTimeWindow.class, + com.google.container.v1.RecurringTimeWindow.Builder.class); } // Construct using com.google.container.v1.RecurringTimeWindow.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RecurringTimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_RecurringTimeWindow_descriptor; } @java.lang.Override @@ -422,7 +456,8 @@ public com.google.container.v1.RecurringTimeWindow build() { @java.lang.Override public com.google.container.v1.RecurringTimeWindow buildPartial() { - com.google.container.v1.RecurringTimeWindow result = new com.google.container.v1.RecurringTimeWindow(this); + com.google.container.v1.RecurringTimeWindow result = + new com.google.container.v1.RecurringTimeWindow(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -437,38 +472,39 @@ public com.google.container.v1.RecurringTimeWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.RecurringTimeWindow) { - return mergeFrom((com.google.container.v1.RecurringTimeWindow)other); + return mergeFrom((com.google.container.v1.RecurringTimeWindow) other); } else { super.mergeFrom(other); return this; @@ -510,24 +546,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWindowFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - recurrence_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + recurrence_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,24 +577,33 @@ public Builder mergeFrom( private com.google.container.v1.TimeWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.TimeWindow, com.google.container.v1.TimeWindow.Builder, com.google.container.v1.TimeWindowOrBuilder> windowBuilder_; + com.google.container.v1.TimeWindow, + com.google.container.v1.TimeWindow.Builder, + com.google.container.v1.TimeWindowOrBuilder> + windowBuilder_; /** + * + * *
      * The window of the first recurrence.
      * 
* * .google.container.v1.TimeWindow window = 1; + * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** + * + * *
      * The window of the first recurrence.
      * 
* * .google.container.v1.TimeWindow window = 1; + * * @return The window. */ public com.google.container.v1.TimeWindow getWindow() { @@ -568,6 +614,8 @@ public com.google.container.v1.TimeWindow getWindow() { } } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -588,14 +636,15 @@ public Builder setWindow(com.google.container.v1.TimeWindow value) { return this; } /** + * + * *
      * The window of the first recurrence.
      * 
* * .google.container.v1.TimeWindow window = 1; */ - public Builder setWindow( - com.google.container.v1.TimeWindow.Builder builderForValue) { + public Builder setWindow(com.google.container.v1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -606,6 +655,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -616,7 +667,9 @@ public Builder mergeWindow(com.google.container.v1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); + com.google.container.v1.TimeWindow.newBuilder(window_) + .mergeFrom(value) + .buildPartial(); } else { window_ = value; } @@ -628,6 +681,8 @@ public Builder mergeWindow(com.google.container.v1.TimeWindow value) { return this; } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -646,6 +701,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -653,11 +710,13 @@ public Builder clearWindow() { * .google.container.v1.TimeWindow window = 1; */ public com.google.container.v1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -668,11 +727,12 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null ? - com.google.container.v1.TimeWindow.getDefaultInstance() : window_; + return window_ == null ? com.google.container.v1.TimeWindow.getDefaultInstance() : window_; } } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -680,14 +740,17 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { * .google.container.v1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.TimeWindow, com.google.container.v1.TimeWindow.Builder, com.google.container.v1.TimeWindowOrBuilder> + com.google.container.v1.TimeWindow, + com.google.container.v1.TimeWindow.Builder, + com.google.container.v1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.TimeWindow, com.google.container.v1.TimeWindow.Builder, com.google.container.v1.TimeWindowOrBuilder>( - getWindow(), - getParentForChildren(), - isClean()); + windowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.TimeWindow, + com.google.container.v1.TimeWindow.Builder, + com.google.container.v1.TimeWindowOrBuilder>( + getWindow(), getParentForChildren(), isClean()); window_ = null; } return windowBuilder_; @@ -695,6 +758,8 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { private java.lang.Object recurrence_ = ""; /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -725,13 +790,13 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() {
      * 
* * string recurrence = 2; + * * @return The recurrence. */ public java.lang.String getRecurrence() { java.lang.Object ref = recurrence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; @@ -740,6 +805,8 @@ public java.lang.String getRecurrence() { } } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -770,15 +837,14 @@ public java.lang.String getRecurrence() {
      * 
* * string recurrence = 2; + * * @return The bytes for recurrence. */ - public com.google.protobuf.ByteString - getRecurrenceBytes() { + public com.google.protobuf.ByteString getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recurrence_ = b; return b; } else { @@ -786,6 +852,8 @@ public java.lang.String getRecurrence() { } } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -816,20 +884,22 @@ public java.lang.String getRecurrence() {
      * 
* * string recurrence = 2; + * * @param value The recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrence( - java.lang.String value) { + public Builder setRecurrence(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recurrence_ = value; onChanged(); return this; } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -860,15 +930,18 @@ public Builder setRecurrence(
      * 
* * string recurrence = 2; + * * @return This builder for chaining. */ public Builder clearRecurrence() { - + recurrence_ = getDefaultInstance().getRecurrence(); onChanged(); return this; } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -899,23 +972,23 @@ public Builder clearRecurrence() {
      * 
* * string recurrence = 2; + * * @param value The bytes for recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrenceBytes( - com.google.protobuf.ByteString value) { + public Builder setRecurrenceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recurrence_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -925,12 +998,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.RecurringTimeWindow) } // @@protoc_insertion_point(class_scope:google.container.v1.RecurringTimeWindow) private static final com.google.container.v1.RecurringTimeWindow DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.RecurringTimeWindow(); } @@ -939,27 +1012,27 @@ public static com.google.container.v1.RecurringTimeWindow getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringTimeWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringTimeWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,6 +1047,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.RecurringTimeWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java similarity index 82% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java index e934f5f1a5f4..c17f3e73de66 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface RecurringTimeWindowOrBuilder extends +public interface RecurringTimeWindowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.RecurringTimeWindow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; + * * @return Whether the window field is set. */ boolean hasWindow(); /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1.TimeWindow window = 1; + * * @return The window. */ com.google.container.v1.TimeWindow getWindow(); /** + * + * *
    * The window of the first recurrence.
    * 
@@ -35,6 +59,8 @@ public interface RecurringTimeWindowOrBuilder extends com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder(); /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -65,10 +91,13 @@ public interface RecurringTimeWindowOrBuilder extends
    * 
* * string recurrence = 2; + * * @return The recurrence. */ java.lang.String getRecurrence(); /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -99,8 +128,8 @@ public interface RecurringTimeWindowOrBuilder extends
    * 
* * string recurrence = 2; + * * @return The bytes for recurrence. */ - com.google.protobuf.ByteString - getRecurrenceBytes(); + com.google.protobuf.ByteString getRecurrenceBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java index b5f1dbc6bd80..fbe78c7a0d2d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannel.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * ReleaseChannel indicates which release channel a cluster is
  * subscribed to. Release channels are arranged in order of risk.
@@ -14,54 +31,59 @@
  *
  * Protobuf type {@code google.container.v1.ReleaseChannel}
  */
-public final class ReleaseChannel extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReleaseChannel extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ReleaseChannel)
     ReleaseChannelOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReleaseChannel.newBuilder() to construct.
   private ReleaseChannel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReleaseChannel() {
     channel_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReleaseChannel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ReleaseChannel_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ReleaseChannel.class, com.google.container.v1.ReleaseChannel.Builder.class);
+            com.google.container.v1.ReleaseChannel.class,
+            com.google.container.v1.ReleaseChannel.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible values for 'channel'.
    * 
* * Protobuf enum {@code google.container.v1.ReleaseChannel.Channel} */ - public enum Channel - implements com.google.protobuf.ProtocolMessageEnum { + public enum Channel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No channel specified.
      * 
@@ -70,6 +92,8 @@ public enum Channel */ UNSPECIFIED(0), /** + * + * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -82,6 +106,8 @@ public enum Channel
      */
     RAPID(1),
     /**
+     *
+     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -92,6 +118,8 @@ public enum Channel
      */
     REGULAR(2),
     /**
+     *
+     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -104,6 +132,8 @@ public enum Channel
     ;
 
     /**
+     *
+     *
      * 
      * No channel specified.
      * 
@@ -112,6 +142,8 @@ public enum Channel */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -124,6 +156,8 @@ public enum Channel
      */
     public static final int RAPID_VALUE = 1;
     /**
+     *
+     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -134,6 +168,8 @@ public enum Channel
      */
     public static final int REGULAR_VALUE = 2;
     /**
+     *
+     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -143,7 +179,6 @@ public enum Channel
      */
     public static final int STABLE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,50 +203,51 @@ public static Channel valueOf(int value) {
      */
     public static Channel forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return RAPID;
-        case 2: return REGULAR;
-        case 3: return STABLE;
-        default: return null;
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return RAPID;
+        case 2:
+          return REGULAR;
+        case 3:
+          return STABLE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Channel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Channel findValueByNumber(int number) {
-              return Channel.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Channel findValueByNumber(int number) {
+            return Channel.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.ReleaseChannel.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Channel[] VALUES = values();
 
-    public static Channel valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -231,31 +267,41 @@ private Channel(int value) {
   public static final int CHANNEL_FIELD_NUMBER = 1;
   private int channel_;
   /**
+   *
+   *
    * 
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ - @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { + @java.lang.Override + public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + com.google.container.v1.ReleaseChannel.Channel result = + com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -293,7 +337,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ReleaseChannel)) { return super.equals(obj); @@ -319,97 +363,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ReleaseChannel parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ReleaseChannel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ReleaseChannel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReleaseChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ReleaseChannel parseFrom( 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.ReleaseChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ReleaseChannel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ReleaseChannel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ReleaseChannel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ReleaseChannel parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ReleaseChannel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ReleaseChannel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ReleaseChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ReleaseChannel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ReleaseChannel indicates which release channel a cluster is
    * subscribed to. Release channels are arranged in order of risk.
@@ -420,33 +471,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ReleaseChannel}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ReleaseChannel)
       com.google.container.v1.ReleaseChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ReleaseChannel.class, com.google.container.v1.ReleaseChannel.Builder.class);
+              com.google.container.v1.ReleaseChannel.class,
+              com.google.container.v1.ReleaseChannel.Builder.class);
     }
 
     // Construct using com.google.container.v1.ReleaseChannel.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +506,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReleaseChannel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
@@ -477,7 +527,8 @@ public com.google.container.v1.ReleaseChannel build() {
 
     @java.lang.Override
     public com.google.container.v1.ReleaseChannel buildPartial() {
-      com.google.container.v1.ReleaseChannel result = new com.google.container.v1.ReleaseChannel(this);
+      com.google.container.v1.ReleaseChannel result =
+          new com.google.container.v1.ReleaseChannel(this);
       result.channel_ = channel_;
       onBuilt();
       return result;
@@ -487,38 +538,39 @@ public com.google.container.v1.ReleaseChannel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ReleaseChannel) {
-        return mergeFrom((com.google.container.v1.ReleaseChannel)other);
+        return mergeFrom((com.google.container.v1.ReleaseChannel) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,17 +608,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              channel_ = input.readEnum();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                channel_ = input.readEnum();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,51 +633,65 @@ public Builder mergeFrom(
 
     private int channel_ = 0;
     /**
+     *
+     *
      * 
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + com.google.container.v1.ReleaseChannel.Channel result = + com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @param value The channel to set. * @return This builder for chaining. */ @@ -631,28 +699,31 @@ public Builder setChannel(com.google.container.v1.ReleaseChannel.Channel value) if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -662,12 +733,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ReleaseChannel) } // @@protoc_insertion_point(class_scope:google.container.v1.ReleaseChannel) private static final com.google.container.v1.ReleaseChannel DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ReleaseChannel(); } @@ -676,27 +747,27 @@ public static com.google.container.v1.ReleaseChannel getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,6 +782,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ReleaseChannel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java similarity index 55% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java index 4bff212b2e30..f529cad11e9e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReleaseChannelOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ReleaseChannelOrBuilder extends +public interface ReleaseChannelOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ReleaseChannel) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** + * + * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ com.google.container.v1.ReleaseChannel.Channel getChannel(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java index 04247413a993..fff30f751e4b 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinity.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
  * is the configuration of desired reservation which instances could take
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1.ReservationAffinity}
  */
-public final class ReservationAffinity extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReservationAffinity extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ReservationAffinity)
     ReservationAffinityOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReservationAffinity.newBuilder() to construct.
   private ReservationAffinity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReservationAffinity() {
     consumeReservationType_ = 0;
     key_ = "";
@@ -29,39 +47,43 @@ private ReservationAffinity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReservationAffinity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ReservationAffinity_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ReservationAffinity.class, com.google.container.v1.ReservationAffinity.Builder.class);
+            com.google.container.v1.ReservationAffinity.class,
+            com.google.container.v1.ReservationAffinity.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Indicates whether to consume capacity from a reservation or not.
    * 
* * Protobuf enum {@code google.container.v1.ReservationAffinity.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This should not be used.
      * 
@@ -70,6 +92,8 @@ public enum Type */ UNSPECIFIED(0), /** + * + * *
      * Do not consume from any reserved capacity.
      * 
@@ -78,6 +102,8 @@ public enum Type */ NO_RESERVATION(1), /** + * + * *
      * Consume any reservation available.
      * 
@@ -86,6 +112,8 @@ public enum Type */ ANY_RESERVATION(2), /** + * + * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -98,6 +126,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This should not be used.
      * 
@@ -106,6 +136,8 @@ public enum Type */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * Do not consume from any reserved capacity.
      * 
@@ -114,6 +146,8 @@ public enum Type */ public static final int NO_RESERVATION_VALUE = 1; /** + * + * *
      * Consume any reservation available.
      * 
@@ -122,6 +156,8 @@ public enum Type */ public static final int ANY_RESERVATION_VALUE = 2; /** + * + * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -131,7 +167,6 @@ public enum Type
      */
     public static final int SPECIFIC_RESERVATION_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -156,50 +191,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return NO_RESERVATION;
-        case 2: return ANY_RESERVATION;
-        case 3: return SPECIFIC_RESERVATION;
-        default: return null;
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return NO_RESERVATION;
+        case 2:
+          return ANY_RESERVATION;
+        case 3:
+          return SPECIFIC_RESERVATION;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.ReservationAffinity.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -219,33 +255,44 @@ private Type(int value) {
   public static final int CONSUME_RESERVATION_TYPE_FIELD_NUMBER = 1;
   private int consumeReservationType_;
   /**
+   *
+   *
    * 
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override public int getConsumeReservationTypeValue() { + @java.lang.Override + public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** + * + * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The consumeReservationType. */ - @java.lang.Override public com.google.container.v1.ReservationAffinity.Type getConsumeReservationType() { + @java.lang.Override + public com.google.container.v1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1.ReservationAffinity.Type result = com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); + com.google.container.v1.ReservationAffinity.Type result = + com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); return result == null ? com.google.container.v1.ReservationAffinity.Type.UNRECOGNIZED : result; } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -254,6 +301,7 @@ private Type(int value) {
    * 
* * string key = 2; + * * @return The key. */ @java.lang.Override @@ -262,14 +310,15 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -278,16 +327,15 @@ public java.lang.String getKey() {
    * 
* * string key = 2; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -298,34 +346,42 @@ public java.lang.String getKey() { public static final int VALUES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList values_; /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -333,20 +389,23 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,9 +417,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (consumeReservationType_ != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (consumeReservationType_ + != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { output.writeEnum(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { @@ -378,9 +437,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (consumeReservationType_ != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, consumeReservationType_); + if (consumeReservationType_ + != com.google.container.v1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); @@ -401,18 +460,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ReservationAffinity)) { return super.equals(obj); } - com.google.container.v1.ReservationAffinity other = (com.google.container.v1.ReservationAffinity) obj; + com.google.container.v1.ReservationAffinity other = + (com.google.container.v1.ReservationAffinity) obj; if (consumeReservationType_ != other.consumeReservationType_) return false; - if (!getKey() - .equals(other.getKey())) return false; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getKey().equals(other.getKey())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -437,97 +495,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ReservationAffinity parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ReservationAffinity parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ReservationAffinity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReservationAffinity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ReservationAffinity parseFrom( 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.ReservationAffinity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ReservationAffinity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ReservationAffinity parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ReservationAffinity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ReservationAffinity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ReservationAffinity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ReservationAffinity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ReservationAffinity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ReservationAffinity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ReservationAffinity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
    * is the configuration of desired reservation which instances could take
@@ -536,33 +601,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ReservationAffinity}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ReservationAffinity)
       com.google.container.v1.ReservationAffinityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ReservationAffinity.class, com.google.container.v1.ReservationAffinity.Builder.class);
+              com.google.container.v1.ReservationAffinity.class,
+              com.google.container.v1.ReservationAffinity.Builder.class);
     }
 
     // Construct using com.google.container.v1.ReservationAffinity.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -576,9 +640,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ReservationAffinity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
@@ -597,7 +661,8 @@ public com.google.container.v1.ReservationAffinity build() {
 
     @java.lang.Override
     public com.google.container.v1.ReservationAffinity buildPartial() {
-      com.google.container.v1.ReservationAffinity result = new com.google.container.v1.ReservationAffinity(this);
+      com.google.container.v1.ReservationAffinity result =
+          new com.google.container.v1.ReservationAffinity(this);
       int from_bitField0_ = bitField0_;
       result.consumeReservationType_ = consumeReservationType_;
       result.key_ = key_;
@@ -614,38 +679,39 @@ public com.google.container.v1.ReservationAffinity buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ReservationAffinity) {
-        return mergeFrom((com.google.container.v1.ReservationAffinity)other);
+        return mergeFrom((com.google.container.v1.ReservationAffinity) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -697,28 +763,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              consumeReservationType_ = input.readEnum();
+            case 8:
+              {
+                consumeReservationType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              key_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                key_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureValuesIsMutable();
-              values_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureValuesIsMutable();
+                values_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,77 +798,98 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int consumeReservationType_ = 0;
     /**
+     *
+     *
      * 
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override public int getConsumeReservationTypeValue() { + @java.lang.Override + public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @param value The enum numeric value on the wire for consumeReservationType to set. * @return This builder for chaining. */ public Builder setConsumeReservationTypeValue(int value) { - + consumeReservationType_ = value; onChanged(); return this; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The consumeReservationType. */ @java.lang.Override public com.google.container.v1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1.ReservationAffinity.Type result = com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); - return result == null ? com.google.container.v1.ReservationAffinity.Type.UNRECOGNIZED : result; + com.google.container.v1.ReservationAffinity.Type result = + com.google.container.v1.ReservationAffinity.Type.valueOf(consumeReservationType_); + return result == null + ? com.google.container.v1.ReservationAffinity.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @param value The consumeReservationType to set. * @return This builder for chaining. */ - public Builder setConsumeReservationType(com.google.container.v1.ReservationAffinity.Type value) { + public Builder setConsumeReservationType( + com.google.container.v1.ReservationAffinity.Type value) { if (value == null) { throw new NullPointerException(); } - + consumeReservationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return This builder for chaining. */ public Builder clearConsumeReservationType() { - + consumeReservationType_ = 0; onChanged(); return this; @@ -806,6 +897,8 @@ public Builder clearConsumeReservationType() { private java.lang.Object key_ = ""; /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -814,13 +907,13 @@ public Builder clearConsumeReservationType() {
      * 
* * string key = 2; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -829,6 +922,8 @@ public java.lang.String getKey() { } } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -837,15 +932,14 @@ public java.lang.String getKey() {
      * 
* * string key = 2; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -853,6 +947,8 @@ public java.lang.String getKey() { } } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -861,20 +957,22 @@ public java.lang.String getKey() {
      * 
* * string key = 2; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -883,15 +981,18 @@ public Builder setKey(
      * 
* * string key = 2; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -900,57 +1001,67 @@ public Builder clearKey() {
      * 
* * string key = 2; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -958,80 +1069,90 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues( - int index, java.lang.String value) { + public Builder setValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues( - java.lang.String value) { + public Builder addValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues( - java.lang.Iterable values) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @return This builder for chaining. */ public Builder clearValues() { @@ -1041,28 +1162,30 @@ public Builder clearValues() { return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +1195,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ReservationAffinity) } // @@protoc_insertion_point(class_scope:google.container.v1.ReservationAffinity) private static final com.google.container.v1.ReservationAffinity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ReservationAffinity(); } @@ -1086,27 +1209,27 @@ public static com.google.container.v1.ReservationAffinity getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReservationAffinity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReservationAffinity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,6 +1244,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ReservationAffinity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java index 405f7673896d..de90b6ab0983 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ReservationAffinityOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ReservationAffinityOrBuilder extends +public interface ReservationAffinityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ReservationAffinity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The enum numeric value on the wire for consumeReservationType. */ int getConsumeReservationTypeValue(); /** + * + * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The consumeReservationType. */ com.google.container.v1.ReservationAffinity.Type getConsumeReservationType(); /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -35,10 +59,13 @@ public interface ReservationAffinityOrBuilder extends
    * 
* * string key = 2; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -47,49 +74,59 @@ public interface ReservationAffinityOrBuilder extends
    * 
* * string key = 2; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return A list containing the values. */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return The count of values. */ int getValuesCount(); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString - getValuesBytes(int index); + com.google.protobuf.ByteString getValuesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java similarity index 58% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java index b86774e6ef48..74bdba55d122 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabels.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Collection of [GCP
  * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -11,74 +28,73 @@
  *
  * Protobuf type {@code google.container.v1.ResourceLabels}
  */
-public final class ResourceLabels extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ResourceLabels extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ResourceLabels)
     ResourceLabelsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ResourceLabels.newBuilder() to construct.
   private ResourceLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ResourceLabels() {
-  }
+
+  private ResourceLabels() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ResourceLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ResourceLabels.class, com.google.container.v1.ResourceLabels.Builder.class);
+            com.google.container.v1.ResourceLabels.class,
+            com.google.container.v1.ResourceLabels.Builder.class);
   }
 
   public static final int LABELS_FIELD_NUMBER = 1;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.container.v1.ClusterServiceProto
+                .internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -87,28 +103,30 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -116,11 +134,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -128,16 +147,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -145,12 +164,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -158,6 +176,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,14 +188,9 @@ public final boolean isInitialized() { } @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); + 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); } @@ -186,15 +200,15 @@ public int getSerializedSize() { 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__); + 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; @@ -204,15 +218,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceLabels)) { return super.equals(obj); } com.google.container.v1.ResourceLabels other = (com.google.container.v1.ResourceLabels) obj; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,97 +246,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ResourceLabels parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ResourceLabels parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceLabels parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceLabels parseFrom( 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.ResourceLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceLabels parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ResourceLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceLabels parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ResourceLabels parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceLabels parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ResourceLabels parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ResourceLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of [GCP
    * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -331,55 +351,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ResourceLabels}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceLabels)
       com.google.container.v1.ResourceLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ResourceLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ResourceLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ResourceLabels.class, com.google.container.v1.ResourceLabels.Builder.class);
+              com.google.container.v1.ResourceLabels.class,
+              com.google.container.v1.ResourceLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1.ResourceLabels.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +405,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ResourceLabels_descriptor;
     }
 
     @java.lang.Override
@@ -409,7 +426,8 @@ public com.google.container.v1.ResourceLabels build() {
 
     @java.lang.Override
     public com.google.container.v1.ResourceLabels buildPartial() {
-      com.google.container.v1.ResourceLabels result = new com.google.container.v1.ResourceLabels(this);
+      com.google.container.v1.ResourceLabels result =
+          new com.google.container.v1.ResourceLabels(this);
       int from_bitField0_ = bitField0_;
       result.labels_ = internalGetLabels();
       result.labels_.makeImmutable();
@@ -421,38 +439,39 @@ public com.google.container.v1.ResourceLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ResourceLabels) {
-        return mergeFrom((com.google.container.v1.ResourceLabels)other);
+        return mergeFrom((com.google.container.v1.ResourceLabels) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,8 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1.ResourceLabels other) {
       if (other == com.google.container.v1.ResourceLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -489,20 +507,24 @@ public Builder mergeFrom(
             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());
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                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) {
@@ -512,24 +534,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabels() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -541,28 +563,30 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -570,11 +594,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -582,16 +607,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -599,12 +625,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -612,69 +637,66 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceLabels) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceLabels) private static final com.google.container.v1.ResourceLabels DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ResourceLabels(); } @@ -698,27 +720,27 @@ public static com.google.container.v1.ResourceLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,6 +755,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ResourceLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java index 91e658b1fce7..5a42f4b5369b 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLabelsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ResourceLabelsOrBuilder extends +public interface ResourceLabelsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceLabels) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -16,30 +34,31 @@ public interface ResourceLabelsOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -48,18 +67,18 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java index 4485bc3aa598..84a7c9b67f01 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Contains information about amount of some resource in the cluster.
  * For memory, value should be in GB.
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.container.v1.ResourceLimit}
  */
-public final class ResourceLimit extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ResourceLimit extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.ResourceLimit)
     ResourceLimitOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ResourceLimit.newBuilder() to construct.
   private ResourceLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ResourceLimit() {
     resourceType_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceLimit();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ResourceLimit_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.ResourceLimit.class, com.google.container.v1.ResourceLimit.Builder.class);
+            com.google.container.v1.ResourceLimit.class,
+            com.google.container.v1.ResourceLimit.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceType_;
   /**
+   *
+   *
    * 
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The resourceType. */ @java.lang.Override @@ -65,29 +87,29 @@ public java.lang.String getResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; } } /** + * + * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The bytes for resourceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceTypeBytes() { + public com.google.protobuf.ByteString getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceType_ = b; return b; } else { @@ -98,11 +120,14 @@ public java.lang.String getResourceType() { public static final int MINIMUM_FIELD_NUMBER = 2; private long minimum_; /** + * + * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; + * * @return The minimum. */ @java.lang.Override @@ -113,11 +138,14 @@ public long getMinimum() { public static final int MAXIMUM_FIELD_NUMBER = 3; private long maximum_; /** + * + * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; + * * @return The maximum. */ @java.lang.Override @@ -126,6 +154,7 @@ public long getMaximum() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +166,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceType_); } @@ -161,12 +189,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceType_); } if (minimum_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, minimum_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, minimum_); } if (maximum_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, maximum_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, maximum_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -176,19 +202,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceLimit)) { return super.equals(obj); } com.google.container.v1.ResourceLimit other = (com.google.container.v1.ResourceLimit) obj; - if (!getResourceType() - .equals(other.getResourceType())) return false; - if (getMinimum() - != other.getMinimum()) return false; - if (getMaximum() - != other.getMaximum()) return false; + if (!getResourceType().equals(other.getResourceType())) return false; + if (getMinimum() != other.getMinimum()) return false; + if (getMaximum() != other.getMaximum()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,107 +226,111 @@ public int hashCode() { hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getResourceType().hashCode(); hash = (37 * hash) + MINIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMinimum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinimum()); hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaximum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaximum()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ResourceLimit parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ResourceLimit parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceLimit parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLimit parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.ResourceLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceLimit parseFrom( 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.ResourceLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceLimit parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ResourceLimit parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceLimit parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ResourceLimit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceLimit parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ResourceLimit parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceLimit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ResourceLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information about amount of some resource in the cluster.
    * For memory, value should be in GB.
@@ -311,33 +338,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.ResourceLimit}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceLimit)
       com.google.container.v1.ResourceLimitOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ResourceLimit_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.ResourceLimit.class, com.google.container.v1.ResourceLimit.Builder.class);
+              com.google.container.v1.ResourceLimit.class,
+              com.google.container.v1.ResourceLimit.Builder.class);
     }
 
     // Construct using com.google.container.v1.ResourceLimit.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -351,9 +377,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceLimit_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
@@ -372,7 +398,8 @@ public com.google.container.v1.ResourceLimit build() {
 
     @java.lang.Override
     public com.google.container.v1.ResourceLimit buildPartial() {
-      com.google.container.v1.ResourceLimit result = new com.google.container.v1.ResourceLimit(this);
+      com.google.container.v1.ResourceLimit result =
+          new com.google.container.v1.ResourceLimit(this);
       result.resourceType_ = resourceType_;
       result.minimum_ = minimum_;
       result.maximum_ = maximum_;
@@ -384,38 +411,39 @@ public com.google.container.v1.ResourceLimit buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.ResourceLimit) {
-        return mergeFrom((com.google.container.v1.ResourceLimit)other);
+        return mergeFrom((com.google.container.v1.ResourceLimit) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,27 +488,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              resourceType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              minimum_ = input.readInt64();
-
-              break;
-            } // case 16
-            case 24: {
-              maximum_ = input.readInt64();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                resourceType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                minimum_ = input.readInt64();
+
+                break;
+              } // case 16
+            case 24:
+              {
+                maximum_ = input.readInt64();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -493,18 +525,20 @@ public Builder mergeFrom(
 
     private java.lang.Object resourceType_ = "";
     /**
+     *
+     *
      * 
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @return The resourceType. */ public java.lang.String getResourceType() { java.lang.Object ref = resourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; @@ -513,20 +547,21 @@ public java.lang.String getResourceType() { } } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @return The bytes for resourceType. */ - public com.google.protobuf.ByteString - getResourceTypeBytes() { + public com.google.protobuf.ByteString getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceType_ = b; return b; } else { @@ -534,66 +569,76 @@ public java.lang.String getResourceType() { } } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @param value The resourceType to set. * @return This builder for chaining. */ - public Builder setResourceType( - java.lang.String value) { + public Builder setResourceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceType_ = value; onChanged(); return this; } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = getDefaultInstance().getResourceType(); onChanged(); return this; } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @param value The bytes for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceType_ = value; onChanged(); return this; } - private long minimum_ ; + private long minimum_; /** + * + * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; + * * @return The minimum. */ @java.lang.Override @@ -601,42 +646,51 @@ public long getMinimum() { return minimum_; } /** + * + * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; + * * @param value The minimum to set. * @return This builder for chaining. */ public Builder setMinimum(long value) { - + minimum_ = value; onChanged(); return this; } /** + * + * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; + * * @return This builder for chaining. */ public Builder clearMinimum() { - + minimum_ = 0L; onChanged(); return this; } - private long maximum_ ; + private long maximum_; /** + * + * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; + * * @return The maximum. */ @java.lang.Override @@ -644,37 +698,43 @@ public long getMaximum() { return maximum_; } /** + * + * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; + * * @param value The maximum to set. * @return This builder for chaining. */ public Builder setMaximum(long value) { - + maximum_ = value; onChanged(); return this; } /** + * + * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; + * * @return This builder for chaining. */ public Builder clearMaximum() { - + maximum_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +744,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceLimit) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceLimit) private static final com.google.container.v1.ResourceLimit DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ResourceLimit(); } @@ -698,27 +758,27 @@ public static com.google.container.v1.ResourceLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,6 +793,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ResourceLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java similarity index 57% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java index b619c07f9c0f..65a681ae607a 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface ResourceLimitOrBuilder extends +public interface ResourceLimitOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceLimit) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The resourceType. */ java.lang.String getResourceType(); /** + * + * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The bytes for resourceType. */ - com.google.protobuf.ByteString - getResourceTypeBytes(); + com.google.protobuf.ByteString getResourceTypeBytes(); /** + * + * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; + * * @return The minimum. */ long getMinimum(); /** + * + * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; + * * @return The maximum. */ long getMaximum(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java similarity index 60% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java index 0d817e13d6ec..73e65f83744e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java @@ -1,129 +1,160 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration for exporting cluster resource usages.
  * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig} */ -public final class ResourceUsageExportConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResourceUsageExportConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ResourceUsageExportConfig) ResourceUsageExportConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceUsageExportConfig.newBuilder() to construct. private ResourceUsageExportConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceUsageExportConfig() { - } + + private ResourceUsageExportConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceUsageExportConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.class, com.google.container.v1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.class, + com.google.container.v1.ResourceUsageExportConfig.Builder.class); } - public interface BigQueryDestinationOrBuilder extends + public interface BigQueryDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The datasetId. */ java.lang.String getDatasetId(); /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString - getDatasetIdBytes(); + com.google.protobuf.ByteString getDatasetIdBytes(); } /** + * + * *
    * Parameters for using BigQuery as the destination of resource usage export.
    * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class BigQueryDestination extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryDestination() { datasetId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); } public static final int DATASET_ID_FIELD_NUMBER = 1; private volatile java.lang.Object datasetId_; /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The datasetId. */ @java.lang.Override @@ -132,29 +163,29 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -163,6 +194,7 @@ public java.lang.String getDatasetId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); } @@ -199,15 +230,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other = (com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) obj; + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other = + (com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) obj; - if (!getDatasetId() - .equals(other.getDatasetId())) return false; + if (!getDatasetId().equals(other.getDatasetId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,87 +258,95 @@ public int hashCode() { } public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceUsageExportConfig.BigQueryDestination parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( 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.ResourceUsageExportConfig.BigQueryDestination parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination 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.ResourceUsageExportConfig.BigQueryDestination + 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.ResourceUsageExportConfig.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination prototype) { + + public static Builder newBuilder( + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -317,39 +356,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Parameters for using BigQuery as the destination of resource usage export.
      * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.class, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder + .class); } - // Construct using com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -359,19 +402,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { - return com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance(); + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + getDefaultInstanceForType() { + return com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance(); } @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination build() { - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -380,7 +426,8 @@ public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bui @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination buildPartial() { - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(this); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination result = + new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(this); result.datasetId_ = datasetId_; onBuilt(); return result; @@ -390,46 +437,54 @@ public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ResourceUsageExportConfig.BigQueryDestination) { - return mergeFrom((com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination)other); + if (other + instanceof com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) { + return mergeFrom( + (com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other) { - if (other == com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination other) { + if (other + == com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance()) return this; if (!other.getDatasetId().isEmpty()) { datasetId_ = other.datasetId_; onChanged(); @@ -460,17 +515,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - datasetId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + datasetId_ = input.readStringRequireUtf8(); + + 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) { @@ -483,18 +540,20 @@ public Builder mergeFrom( private java.lang.Object datasetId_ = ""; /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -503,20 +562,21 @@ public java.lang.String getDatasetId() { } } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -524,58 +584,66 @@ public java.lang.String getDatasetId() { } } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId( - java.lang.String value) { + public Builder setDatasetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -588,41 +656,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig.BigQueryDestination) - private static final com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination DEFAULT_INSTANCE; + private static final com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(); + DEFAULT_INSTANCE = + new com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination(); } - public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstance() { + public static com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,17 +706,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConsumptionMeteringConfigOrBuilder extends + public interface ConsumptionMeteringConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -652,57 +727,64 @@ public interface ConsumptionMeteringConfigOrBuilder extends
      * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); } /** + * + * *
    * Parameters for controlling consumption metering.
    * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class ConsumptionMeteringConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ConsumptionMeteringConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) ConsumptionMeteringConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConsumptionMeteringConfig.newBuilder() to construct. private ConsumptionMeteringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConsumptionMeteringConfig() { - } + + private ConsumptionMeteringConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConsumptionMeteringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder + .class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -710,6 +792,7 @@ protected java.lang.Object newInstance(
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -718,6 +801,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -729,8 +813,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -744,8 +827,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -755,15 +837,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { + if (!(obj + instanceof com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { return super.equals(obj); } - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = (com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = + (com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -776,95 +859,107 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom( + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -874,39 +969,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Parameters for controlling consumption metering.
      * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder + .class); } - // Construct using com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -916,19 +1015,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { - return com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance(); + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getDefaultInstanceForType() { + return com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance(); } @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig build() { - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -936,8 +1038,10 @@ public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConf } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig buildPartial() { - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(this); + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + buildPartial() { + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = + new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -947,46 +1051,55 @@ public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConf public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ResourceUsageExportConfig.ConsumptionMeteringConfig) { - return mergeFrom((com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig)other); + if (other + instanceof + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) { + return mergeFrom( + (com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { - if (other == com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { + if (other + == com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -1016,17 +1129,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1037,8 +1152,10 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1046,6 +1163,7 @@ public Builder mergeFrom(
        * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -1053,6 +1171,8 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1060,16 +1180,19 @@ public boolean getEnabled() {
        * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1077,14 +1200,16 @@ public Builder setEnabled(boolean value) {
        * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1097,41 +1222,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig) - private static final com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig DEFAULT_INSTANCE; + private static final com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); + DEFAULT_INSTANCE = + new com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); } - public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstance() { + public static com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConsumptionMeteringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConsumptionMeteringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,20 +1272,26 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 1; - private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; + private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + bigqueryDestination_; /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -1164,38 +1299,54 @@ public boolean hasBigqueryDestination() { return bigqueryDestination_ != null; } /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { - return bigqueryDestination_ == null ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + getBigqueryDestination() { + return bigqueryDestination_ == null + ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() + : bigqueryDestination_; } /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { return getBigqueryDestination(); } public static final int ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER = 2; private boolean enableNetworkEgressMetering_; /** + * + * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; + * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -1204,13 +1355,19 @@ public boolean getEnableNetworkEgressMetering() { } public static final int CONSUMPTION_METERING_CONFIG_FIELD_NUMBER = 3; - private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; + private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + consumptionMeteringConfig_; /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return Whether the consumptionMeteringConfig field is set. */ @java.lang.Override @@ -1218,30 +1375,45 @@ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfig_ != null; } /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return The consumptionMeteringConfig. */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { - return consumptionMeteringConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getConsumptionMeteringConfig() { + return consumptionMeteringConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance() + : consumptionMeteringConfig_; } /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ @java.lang.Override - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder + getConsumptionMeteringConfigOrBuilder() { return getConsumptionMeteringConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1253,8 +1425,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryDestination_ != null) { output.writeMessage(1, getBigqueryDestination()); } @@ -1274,16 +1445,16 @@ public int getSerializedSize() { size = 0; if (bigqueryDestination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryDestination()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryDestination()); } if (enableNetworkEgressMetering_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enableNetworkEgressMetering_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableNetworkEgressMetering_); } if (consumptionMeteringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getConsumptionMeteringConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getConsumptionMeteringConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1293,24 +1464,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ResourceUsageExportConfig)) { return super.equals(obj); } - com.google.container.v1.ResourceUsageExportConfig other = (com.google.container.v1.ResourceUsageExportConfig) obj; + com.google.container.v1.ResourceUsageExportConfig other = + (com.google.container.v1.ResourceUsageExportConfig) obj; if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false; if (hasBigqueryDestination()) { - if (!getBigqueryDestination() - .equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; } - if (getEnableNetworkEgressMetering() - != other.getEnableNetworkEgressMetering()) return false; + if (getEnableNetworkEgressMetering() != other.getEnableNetworkEgressMetering()) return false; if (hasConsumptionMeteringConfig() != other.hasConsumptionMeteringConfig()) return false; if (hasConsumptionMeteringConfig()) { - if (!getConsumptionMeteringConfig() - .equals(other.getConsumptionMeteringConfig())) return false; + if (!getConsumptionMeteringConfig().equals(other.getConsumptionMeteringConfig())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1328,8 +1498,7 @@ public int hashCode() { hash = (53 * hash) + getBigqueryDestination().hashCode(); } hash = (37 * hash) + ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableNetworkEgressMetering()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNetworkEgressMetering()); if (hasConsumptionMeteringConfig()) { hash = (37 * hash) + CONSUMPTION_METERING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConsumptionMeteringConfig().hashCode(); @@ -1340,129 +1509,135 @@ public int hashCode() { } public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceUsageExportConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceUsageExportConfig parseFrom( 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.ResourceUsageExportConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ResourceUsageExportConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ResourceUsageExportConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ResourceUsageExportConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ResourceUsageExportConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceUsageExportConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ResourceUsageExportConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ResourceUsageExportConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ResourceUsageExportConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for exporting cluster resource usages.
    * 
* * Protobuf type {@code google.container.v1.ResourceUsageExportConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ResourceUsageExportConfig) com.google.container.v1.ResourceUsageExportConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ResourceUsageExportConfig.class, com.google.container.v1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1.ResourceUsageExportConfig.class, + com.google.container.v1.ResourceUsageExportConfig.Builder.class); } // Construct using com.google.container.v1.ResourceUsageExportConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1484,9 +1659,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; } @java.lang.Override @@ -1505,7 +1680,8 @@ public com.google.container.v1.ResourceUsageExportConfig build() { @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig buildPartial() { - com.google.container.v1.ResourceUsageExportConfig result = new com.google.container.v1.ResourceUsageExportConfig(this); + com.google.container.v1.ResourceUsageExportConfig result = + new com.google.container.v1.ResourceUsageExportConfig(this); if (bigqueryDestinationBuilder_ == null) { result.bigqueryDestination_ = bigqueryDestination_; } else { @@ -1525,38 +1701,39 @@ public com.google.container.v1.ResourceUsageExportConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ResourceUsageExportConfig) { - return mergeFrom((com.google.container.v1.ResourceUsageExportConfig)other); + return mergeFrom((com.google.container.v1.ResourceUsageExportConfig) other); } else { super.mergeFrom(other); return this; @@ -1564,7 +1741,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ResourceUsageExportConfig other) { - if (other == com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance()) + return this; if (other.hasBigqueryDestination()) { mergeBigqueryDestination(other.getBigqueryDestination()); } @@ -1600,31 +1778,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 16: { - enableNetworkEgressMetering_ = input.readBool(); + break; + } // case 10 + case 16: + { + enableNetworkEgressMetering_ = input.readBool(); - break; - } // case 16 - case 26: { - input.readMessage( - getConsumptionMeteringConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 16 + case 26: + { + input.readMessage( + getConsumptionMeteringConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1635,43 +1815,66 @@ public Builder mergeFrom( return this; } - private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; + private com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + bigqueryDestination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> + bigqueryDestinationBuilder_; /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ public boolean hasBigqueryDestination() { return bigqueryDestinationBuilder_ != null || bigqueryDestination_ != null; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { - return bigqueryDestination_ == null ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + return bigqueryDestination_ == null + ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance() + : bigqueryDestination_; } else { return bigqueryDestinationBuilder_.getMessage(); } } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public Builder setBigqueryDestination(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder setBigqueryDestination( + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1685,14 +1888,19 @@ public Builder setBigqueryDestination(com.google.container.v1.ResourceUsageExpor return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ public Builder setBigqueryDestination( - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder builderForValue) { + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder + builderForValue) { if (bigqueryDestinationBuilder_ == null) { bigqueryDestination_ = builderForValue.build(); onChanged(); @@ -1703,17 +1911,25 @@ public Builder setBigqueryDestination( return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public Builder mergeBigqueryDestination(com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination( + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (bigqueryDestination_ != null) { bigqueryDestination_ = - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder(bigqueryDestination_).mergeFrom(value).buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.newBuilder( + bigqueryDestination_) + .mergeFrom(value) + .buildPartial(); } else { bigqueryDestination_ = value; } @@ -1725,11 +1941,15 @@ public Builder mergeBigqueryDestination(com.google.container.v1.ResourceUsageExp return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ public Builder clearBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { @@ -1743,61 +1963,83 @@ public Builder clearBigqueryDestination() { return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder + getBigqueryDestinationBuilder() { + onChanged(); return getBigqueryDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { if (bigqueryDestinationBuilder_ != null) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { - return bigqueryDestination_ == null ? - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + return bigqueryDestination_ == null + ? com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance() + : bigqueryDestination_; } } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { - bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder>( - getBigqueryDestination(), - getParentForChildren(), - isClean()); + bigqueryDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination.Builder, + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder>( + getBigqueryDestination(), getParentForChildren(), isClean()); bigqueryDestination_ = null; } return bigqueryDestinationBuilder_; } - private boolean enableNetworkEgressMetering_ ; + private boolean enableNetworkEgressMetering_; /** + * + * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; + * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -1805,74 +2047,103 @@ public boolean getEnableNetworkEgressMetering() { return enableNetworkEgressMetering_; } /** + * + * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; + * * @param value The enableNetworkEgressMetering to set. * @return This builder for chaining. */ public Builder setEnableNetworkEgressMetering(boolean value) { - + enableNetworkEgressMetering_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; + * * @return This builder for chaining. */ public Builder clearEnableNetworkEgressMetering() { - + enableNetworkEgressMetering_ = false; onChanged(); return this; } - private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; + private com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + consumptionMeteringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> consumptionMeteringConfigBuilder_; + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> + consumptionMeteringConfigBuilder_; /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return Whether the consumptionMeteringConfig field is set. */ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfigBuilder_ != null || consumptionMeteringConfig_ != null; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return The consumptionMeteringConfig. */ - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { - return consumptionMeteringConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance() + : consumptionMeteringConfig_; } else { return consumptionMeteringConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public Builder setConsumptionMeteringConfig(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder setConsumptionMeteringConfig( + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1886,14 +2157,19 @@ public Builder setConsumptionMeteringConfig(com.google.container.v1.ResourceUsag return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ public Builder setConsumptionMeteringConfig( - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder builderForValue) { + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder + builderForValue) { if (consumptionMeteringConfigBuilder_ == null) { consumptionMeteringConfig_ = builderForValue.build(); onChanged(); @@ -1904,17 +2180,25 @@ public Builder setConsumptionMeteringConfig( return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public Builder mergeConsumptionMeteringConfig(com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder mergeConsumptionMeteringConfig( + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (consumptionMeteringConfig_ != null) { consumptionMeteringConfig_ = - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder(consumptionMeteringConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .newBuilder(consumptionMeteringConfig_) + .mergeFrom(value) + .buildPartial(); } else { consumptionMeteringConfig_ = value; } @@ -1926,11 +2210,15 @@ public Builder mergeConsumptionMeteringConfig(com.google.container.v1.ResourceUs return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ public Builder clearConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { @@ -1944,55 +2232,75 @@ public Builder clearConsumptionMeteringConfig() { return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder getConsumptionMeteringConfigBuilder() { - + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder + getConsumptionMeteringConfigBuilder() { + onChanged(); return getConsumptionMeteringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder + getConsumptionMeteringConfigOrBuilder() { if (consumptionMeteringConfigBuilder_ != null) { return consumptionMeteringConfigBuilder_.getMessageOrBuilder(); } else { - return consumptionMeteringConfig_ == null ? - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null + ? com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance() + : consumptionMeteringConfig_; } } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> getConsumptionMeteringConfigFieldBuilder() { if (consumptionMeteringConfigBuilder_ == null) { - consumptionMeteringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder>( - getConsumptionMeteringConfig(), - getParentForChildren(), - isClean()); + consumptionMeteringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig, + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, + com.google.container.v1.ResourceUsageExportConfig + .ConsumptionMeteringConfigOrBuilder>( + getConsumptionMeteringConfig(), getParentForChildren(), isClean()); consumptionMeteringConfig_ = null; } return consumptionMeteringConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2002,12 +2310,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ResourceUsageExportConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ResourceUsageExportConfig) private static final com.google.container.v1.ResourceUsageExportConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ResourceUsageExportConfig(); } @@ -2016,27 +2324,27 @@ public static com.google.container.v1.ResourceUsageExportConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceUsageExportConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceUsageExportConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2051,6 +2359,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1.ResourceUsageExportConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java index efb1b6d735c5..9921d1a616bc 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java @@ -1,74 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface ResourceUsageExportConfigOrBuilder extends +public interface ResourceUsageExportConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ResourceUsageExportConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination(); /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); + com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder(); /** + * + * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; + * * @return The enableNetworkEgressMetering. */ boolean getEnableNetworkEgressMetering(); /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return Whether the consumptionMeteringConfig field is set. */ boolean hasConsumptionMeteringConfig(); /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return The consumptionMeteringConfig. */ - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getConsumptionMeteringConfig(); /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder(); + com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder + getConsumptionMeteringConfigOrBuilder(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index acca4f4f7d35..1c77bc27ee5f 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
  * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -12,15 +29,17 @@
  *
  * Protobuf type {@code google.container.v1.RollbackNodePoolUpgradeRequest}
  */
-public final class RollbackNodePoolUpgradeRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RollbackNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.RollbackNodePoolUpgradeRequest)
     RollbackNodePoolUpgradeRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RollbackNodePoolUpgradeRequest.newBuilder() to construct.
-  private RollbackNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private RollbackNodePoolUpgradeRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RollbackNodePoolUpgradeRequest() {
     projectId_ = "";
     zone_ = "";
@@ -31,32 +50,35 @@ private RollbackNodePoolUpgradeRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RollbackNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1.RollbackNodePoolUpgradeRequest.class,
+            com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -64,24 +86,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -89,18 +114,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -111,6 +136,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -119,24 +146,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,18 +175,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -167,48 +197,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -219,48 +254,53 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3341 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3341 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -271,6 +311,8 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -278,6 +320,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -286,14 +329,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -301,16 +345,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -321,12 +364,15 @@ public java.lang.String getName() { public static final int RESPECT_PDB_FIELD_NUMBER = 7; private boolean respectPdb_; /** + * + * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; + * * @return The respectPdb. */ @java.lang.Override @@ -335,6 +381,7 @@ public boolean getRespectPdb() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,8 +393,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -391,8 +437,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (respectPdb_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, respectPdb_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, respectPdb_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -402,25 +447,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.RollbackNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1.RollbackNodePoolUpgradeRequest other = (com.google.container.v1.RollbackNodePoolUpgradeRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (getRespectPdb() - != other.getRespectPdb()) return false; + com.google.container.v1.RollbackNodePoolUpgradeRequest other = + (com.google.container.v1.RollbackNodePoolUpgradeRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getName().equals(other.getName())) return false; + if (getRespectPdb() != other.getRespectPdb()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -443,104 +483,111 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRespectPdb()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRespectPdb()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( 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.RollbackNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.RollbackNodePoolUpgradeRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1.RollbackNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
    * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -549,33 +596,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.RollbackNodePoolUpgradeRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.RollbackNodePoolUpgradeRequest)
       com.google.container.v1.RollbackNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1.RollbackNodePoolUpgradeRequest.class,
+              com.google.container.v1.RollbackNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.RollbackNodePoolUpgradeRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -595,9 +641,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -616,7 +662,8 @@ public com.google.container.v1.RollbackNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.RollbackNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1.RollbackNodePoolUpgradeRequest result = new com.google.container.v1.RollbackNodePoolUpgradeRequest(this);
+      com.google.container.v1.RollbackNodePoolUpgradeRequest result =
+          new com.google.container.v1.RollbackNodePoolUpgradeRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -631,38 +678,39 @@ public com.google.container.v1.RollbackNodePoolUpgradeRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.RollbackNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1.RollbackNodePoolUpgradeRequest)other);
+        return mergeFrom((com.google.container.v1.RollbackNodePoolUpgradeRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -670,7 +718,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.RollbackNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1.RollbackNodePoolUpgradeRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.RollbackNodePoolUpgradeRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -720,42 +769,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              nodePoolId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 50: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 56: {
-              respectPdb_ = input.readBool();
-
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                nodePoolId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 50:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 56:
+              {
+                respectPdb_ = input.readBool();
+
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,6 +824,8 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -775,15 +833,16 @@ 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=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -792,6 +851,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -799,17 +860,17 @@ 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=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -817,6 +878,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -824,22 +887,25 @@ 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=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -847,17 +913,21 @@ 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=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -865,18 +935,19 @@ 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=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -884,6 +955,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -892,15 +965,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -909,6 +983,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -917,17 +993,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -935,6 +1011,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,22 +1021,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -967,17 +1048,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -986,18 +1071,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1005,21 +1091,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1028,23 +1117,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1052,63 +1143,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1116,21 +1217,24 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1139,23 +1243,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1163,63 +1269,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3341 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1227,6 +1343,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1234,13 +1352,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1249,6 +1367,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1256,15 +1376,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1272,6 +1391,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1279,20 +1400,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1300,15 +1423,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1316,29 +1442,32 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean respectPdb_ ; + private boolean respectPdb_; /** + * + * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; + * * @return The respectPdb. */ @java.lang.Override @@ -1346,39 +1475,45 @@ public boolean getRespectPdb() { return respectPdb_; } /** + * + * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; + * * @param value The respectPdb to set. * @return This builder for chaining. */ public Builder setRespectPdb(boolean value) { - + respectPdb_ = value; onChanged(); return this; } /** + * + * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; + * * @return This builder for chaining. */ public Builder clearRespectPdb() { - + respectPdb_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1388,12 +1523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.RollbackNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.RollbackNodePoolUpgradeRequest) private static final com.google.container.v1.RollbackNodePoolUpgradeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.RollbackNodePoolUpgradeRequest(); } @@ -1402,27 +1537,27 @@ public static com.google.container.v1.RollbackNodePoolUpgradeRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1437,6 +1572,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.RollbackNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java index a5632b283c43..e36152df2cc5 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface RollbackNodePoolUpgradeRequestOrBuilder extends +public interface RollbackNodePoolUpgradeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.RollbackNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3327 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3327 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +87,83 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3333 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3333 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3337 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3337 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3341 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3341 + * + * @deprecated google.container.v1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3341 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -125,10 +171,13 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -136,18 +185,21 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; + * * @return The respectPdb. */ boolean getRespectPdb(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java index 771d4ad925db..e0701242c3af 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfig.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SandboxConfig contains configurations of the sandbox to use for the node.
  * 
* * Protobuf type {@code google.container.v1.SandboxConfig} */ -public final class SandboxConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SandboxConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SandboxConfig) SandboxConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SandboxConfig.newBuilder() to construct. private SandboxConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SandboxConfig() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SandboxConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SandboxConfig.class, com.google.container.v1.SandboxConfig.Builder.class); + com.google.container.v1.SandboxConfig.class, + com.google.container.v1.SandboxConfig.Builder.class); } /** + * + * *
    * Possible types of sandboxes.
    * 
* * Protobuf enum {@code google.container.v1.SandboxConfig.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This should not be used.
      * 
@@ -66,6 +88,8 @@ public enum Type */ UNSPECIFIED(0), /** + * + * *
      * Run sandbox using gvisor.
      * 
@@ -77,6 +101,8 @@ public enum Type ; /** + * + * *
      * Default value. This should not be used.
      * 
@@ -85,6 +111,8 @@ public enum Type */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * Run sandbox using gvisor.
      * 
@@ -93,7 +121,6 @@ public enum Type */ public static final int GVISOR_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,48 +145,47 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return UNSPECIFIED; - case 1: return GVISOR; - default: return null; + case 0: + return UNSPECIFIED; + case 1: + return GVISOR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.SandboxConfig.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -179,31 +205,41 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @return The type. */ - @java.lang.Override public com.google.container.v1.SandboxConfig.Type getType() { + @java.lang.Override + public com.google.container.v1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.SandboxConfig.Type result = com.google.container.v1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1.SandboxConfig.Type result = + com.google.container.v1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1.SandboxConfig.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,8 +251,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (type_ != com.google.container.v1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); } @@ -230,8 +265,7 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.container.v1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -241,7 +275,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SandboxConfig)) { return super.equals(obj); @@ -267,130 +301,135 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SandboxConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SandboxConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SandboxConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SandboxConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.SandboxConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SandboxConfig parseFrom( 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.SandboxConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SandboxConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SandboxConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SandboxConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SandboxConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SandboxConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SandboxConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SandboxConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SandboxConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SandboxConfig contains configurations of the sandbox to use for the node.
    * 
* * Protobuf type {@code google.container.v1.SandboxConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SandboxConfig) com.google.container.v1.SandboxConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SandboxConfig.class, com.google.container.v1.SandboxConfig.Builder.class); + com.google.container.v1.SandboxConfig.class, + com.google.container.v1.SandboxConfig.Builder.class); } // Construct using com.google.container.v1.SandboxConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -400,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SandboxConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SandboxConfig_descriptor; } @java.lang.Override @@ -421,7 +460,8 @@ public com.google.container.v1.SandboxConfig build() { @java.lang.Override public com.google.container.v1.SandboxConfig buildPartial() { - com.google.container.v1.SandboxConfig result = new com.google.container.v1.SandboxConfig(this); + com.google.container.v1.SandboxConfig result = + new com.google.container.v1.SandboxConfig(this); result.type_ = type_; onBuilt(); return result; @@ -431,38 +471,39 @@ public com.google.container.v1.SandboxConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SandboxConfig) { - return mergeFrom((com.google.container.v1.SandboxConfig)other); + return mergeFrom((com.google.container.v1.SandboxConfig) other); } else { super.mergeFrom(other); return this; @@ -500,17 +541,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - type_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + type_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -523,51 +566,65 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @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; onChanged(); return this; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @return The type. */ @java.lang.Override public com.google.container.v1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1.SandboxConfig.Type result = com.google.container.v1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1.SandboxConfig.Type result = + com.google.container.v1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1.SandboxConfig.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -575,28 +632,31 @@ public Builder setType(com.google.container.v1.SandboxConfig.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -606,12 +666,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SandboxConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.SandboxConfig) private static final com.google.container.v1.SandboxConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SandboxConfig(); } @@ -620,27 +680,27 @@ public static com.google.container.v1.SandboxConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SandboxConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SandboxConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,6 +715,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SandboxConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java similarity index 52% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java index f70984795018..14fa5bc23370 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SandboxConfigOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SandboxConfigOrBuilder extends +public interface SandboxConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SandboxConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1.SandboxConfig.Type type = 2; + * * @return The type. */ com.google.container.v1.SandboxConfig.Type getType(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java similarity index 75% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java index 2360f587c62c..78488da9ef98 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SecurityBulletinEvent is a notification sent to customers when a security
  * bulletin has been posted that they are vulnerable to.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.SecurityBulletinEvent}
  */
-public final class SecurityBulletinEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SecurityBulletinEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SecurityBulletinEvent)
     SecurityBulletinEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SecurityBulletinEvent.newBuilder() to construct.
   private SecurityBulletinEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SecurityBulletinEvent() {
     resourceTypeAffected_ = "";
     bulletinId_ = "";
@@ -34,32 +52,35 @@ private SecurityBulletinEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SecurityBulletinEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SecurityBulletinEvent.class, com.google.container.v1.SecurityBulletinEvent.Builder.class);
+            com.google.container.v1.SecurityBulletinEvent.class,
+            com.google.container.v1.SecurityBulletinEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_AFFECTED_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceTypeAffected_;
   /**
+   *
+   *
    * 
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -67,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string resource_type_affected = 1; + * * @return The resourceTypeAffected. */ @java.lang.Override @@ -75,14 +97,15 @@ public java.lang.String getResourceTypeAffected() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; } } /** + * + * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -90,16 +113,15 @@ public java.lang.String getResourceTypeAffected() {
    * 
* * string resource_type_affected = 1; + * * @return The bytes for resourceTypeAffected. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -110,11 +132,14 @@ public java.lang.String getResourceTypeAffected() { public static final int BULLETIN_ID_FIELD_NUMBER = 2; private volatile java.lang.Object bulletinId_; /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bulletinId. */ @java.lang.Override @@ -123,29 +148,29 @@ public java.lang.String getBulletinId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; } } /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bytes for bulletinId. */ @java.lang.Override - public com.google.protobuf.ByteString - getBulletinIdBytes() { + public com.google.protobuf.ByteString getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -156,34 +181,42 @@ public java.lang.String getBulletinId() { public static final int CVE_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList cveIds_; /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList - getCveIdsList() { + public com.google.protobuf.ProtocolStringList getCveIdsList() { return cveIds_; } /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -191,27 +224,32 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString - getCveIdsBytes(int index) { + public com.google.protobuf.ByteString getCveIdsBytes(int index) { return cveIds_.getByteString(index); } public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The severity. */ @java.lang.Override @@ -220,29 +258,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -253,11 +291,14 @@ public java.lang.String getSeverity() { public static final int BULLETIN_URI_FIELD_NUMBER = 5; private volatile java.lang.Object bulletinUri_; /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bulletinUri. */ @java.lang.Override @@ -266,29 +307,29 @@ public java.lang.String getBulletinUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; } } /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bytes for bulletinUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBulletinUriBytes() { + public com.google.protobuf.ByteString getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -299,12 +340,15 @@ public java.lang.String getBulletinUri() { public static final int BRIEF_DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object briefDescription_; /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The briefDescription. */ @java.lang.Override @@ -313,30 +357,30 @@ public java.lang.String getBriefDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; } } /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The bytes for briefDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getBriefDescriptionBytes() { + public com.google.protobuf.ByteString getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -347,34 +391,42 @@ public java.lang.String getBriefDescription() { public static final int AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList affectedSupportedMinors_; /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList - getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { return affectedSupportedMinors_; } /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -382,50 +434,60 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString - getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } public static final int PATCHED_VERSIONS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList patchedVersions_; /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList - getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { return patchedVersions_; } /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -433,22 +495,26 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString - getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } public static final int SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER = 9; private volatile java.lang.Object suggestedUpgradeTarget_; /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -458,6 +524,7 @@ public java.lang.String getPatchedVersions(int index) {
    * 
* * string suggested_upgrade_target = 9; + * * @return The suggestedUpgradeTarget. */ @java.lang.Override @@ -466,14 +533,15 @@ public java.lang.String getSuggestedUpgradeTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; } } /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -483,16 +551,15 @@ public java.lang.String getSuggestedUpgradeTarget() {
    * 
* * string suggested_upgrade_target = 9; + * * @return The bytes for suggestedUpgradeTarget. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -503,12 +570,15 @@ public java.lang.String getSuggestedUpgradeTarget() { public static final int MANUAL_STEPS_REQUIRED_FIELD_NUMBER = 10; private boolean manualStepsRequired_; /** + * + * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; + * * @return The manualStepsRequired. */ @java.lang.Override @@ -517,6 +587,7 @@ public boolean getManualStepsRequired() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -528,8 +599,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceTypeAffected_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceTypeAffected_); } @@ -549,7 +619,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 6, briefDescription_); } for (int i = 0; i < affectedSupportedMinors_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, affectedSupportedMinors_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 7, affectedSupportedMinors_.getRaw(i)); } for (int i = 0; i < patchedVersions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, patchedVersions_.getRaw(i)); @@ -612,8 +683,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, suggestedUpgradeTarget_); } if (manualStepsRequired_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, manualStepsRequired_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, manualStepsRequired_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -623,33 +693,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SecurityBulletinEvent)) { return super.equals(obj); } - com.google.container.v1.SecurityBulletinEvent other = (com.google.container.v1.SecurityBulletinEvent) obj; - - if (!getResourceTypeAffected() - .equals(other.getResourceTypeAffected())) return false; - if (!getBulletinId() - .equals(other.getBulletinId())) return false; - if (!getCveIdsList() - .equals(other.getCveIdsList())) return false; - if (!getSeverity() - .equals(other.getSeverity())) return false; - if (!getBulletinUri() - .equals(other.getBulletinUri())) return false; - if (!getBriefDescription() - .equals(other.getBriefDescription())) return false; - if (!getAffectedSupportedMinorsList() - .equals(other.getAffectedSupportedMinorsList())) return false; - if (!getPatchedVersionsList() - .equals(other.getPatchedVersionsList())) return false; - if (!getSuggestedUpgradeTarget() - .equals(other.getSuggestedUpgradeTarget())) return false; - if (getManualStepsRequired() - != other.getManualStepsRequired()) return false; + com.google.container.v1.SecurityBulletinEvent other = + (com.google.container.v1.SecurityBulletinEvent) obj; + + if (!getResourceTypeAffected().equals(other.getResourceTypeAffected())) return false; + if (!getBulletinId().equals(other.getBulletinId())) return false; + if (!getCveIdsList().equals(other.getCveIdsList())) return false; + if (!getSeverity().equals(other.getSeverity())) return false; + if (!getBulletinUri().equals(other.getBulletinUri())) return false; + if (!getBriefDescription().equals(other.getBriefDescription())) return false; + if (!getAffectedSupportedMinorsList().equals(other.getAffectedSupportedMinorsList())) + return false; + if (!getPatchedVersionsList().equals(other.getPatchedVersionsList())) return false; + if (!getSuggestedUpgradeTarget().equals(other.getSuggestedUpgradeTarget())) return false; + if (getManualStepsRequired() != other.getManualStepsRequired()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -686,104 +748,110 @@ public int hashCode() { hash = (37 * hash) + SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER; hash = (53 * hash) + getSuggestedUpgradeTarget().hashCode(); hash = (37 * hash) + MANUAL_STEPS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getManualStepsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualStepsRequired()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.SecurityBulletinEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SecurityBulletinEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SecurityBulletinEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SecurityBulletinEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SecurityBulletinEvent parseFrom( 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.SecurityBulletinEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SecurityBulletinEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SecurityBulletinEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SecurityBulletinEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SecurityBulletinEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SecurityBulletinEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SecurityBulletinEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SecurityBulletinEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SecurityBulletinEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SecurityBulletinEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SecurityBulletinEvent is a notification sent to customers when a security
    * bulletin has been posted that they are vulnerable to.
@@ -791,33 +859,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.SecurityBulletinEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SecurityBulletinEvent)
       com.google.container.v1.SecurityBulletinEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SecurityBulletinEvent.class, com.google.container.v1.SecurityBulletinEvent.Builder.class);
+              com.google.container.v1.SecurityBulletinEvent.class,
+              com.google.container.v1.SecurityBulletinEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1.SecurityBulletinEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -845,9 +912,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
@@ -866,7 +933,8 @@ public com.google.container.v1.SecurityBulletinEvent build() {
 
     @java.lang.Override
     public com.google.container.v1.SecurityBulletinEvent buildPartial() {
-      com.google.container.v1.SecurityBulletinEvent result = new com.google.container.v1.SecurityBulletinEvent(this);
+      com.google.container.v1.SecurityBulletinEvent result =
+          new com.google.container.v1.SecurityBulletinEvent(this);
       int from_bitField0_ = bitField0_;
       result.resourceTypeAffected_ = resourceTypeAffected_;
       result.bulletinId_ = bulletinId_;
@@ -898,38 +966,39 @@ public com.google.container.v1.SecurityBulletinEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SecurityBulletinEvent) {
-        return mergeFrom((com.google.container.v1.SecurityBulletinEvent)other);
+        return mergeFrom((com.google.container.v1.SecurityBulletinEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1021,65 +1090,76 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              resourceTypeAffected_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              bulletinId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCveIdsIsMutable();
-              cveIds_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              severity_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              bulletinUri_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              briefDescription_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAffectedSupportedMinorsIsMutable();
-              affectedSupportedMinors_.add(s);
-              break;
-            } // case 58
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensurePatchedVersionsIsMutable();
-              patchedVersions_.add(s);
-              break;
-            } // case 66
-            case 74: {
-              suggestedUpgradeTarget_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 80: {
-              manualStepsRequired_ = input.readBool();
-
-              break;
-            } // case 80
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                resourceTypeAffected_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                bulletinId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCveIdsIsMutable();
+                cveIds_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                severity_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                bulletinUri_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                briefDescription_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAffectedSupportedMinorsIsMutable();
+                affectedSupportedMinors_.add(s);
+                break;
+              } // case 58
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensurePatchedVersionsIsMutable();
+                patchedVersions_.add(s);
+                break;
+              } // case 66
+            case 74:
+              {
+                suggestedUpgradeTarget_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 80:
+              {
+                manualStepsRequired_ = input.readBool();
+
+                break;
+              } // case 80
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1089,10 +1169,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object resourceTypeAffected_ = "";
     /**
+     *
+     *
      * 
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1100,13 +1183,13 @@ public Builder mergeFrom(
      * 
* * string resource_type_affected = 1; + * * @return The resourceTypeAffected. */ public java.lang.String getResourceTypeAffected() { java.lang.Object ref = resourceTypeAffected_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; @@ -1115,6 +1198,8 @@ public java.lang.String getResourceTypeAffected() { } } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1122,15 +1207,14 @@ public java.lang.String getResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; + * * @return The bytes for resourceTypeAffected. */ - public com.google.protobuf.ByteString - getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -1138,6 +1222,8 @@ public java.lang.String getResourceTypeAffected() { } } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1145,20 +1231,22 @@ public java.lang.String getResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; + * * @param value The resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffected( - java.lang.String value) { + public Builder setResourceTypeAffected(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceTypeAffected_ = value; onChanged(); return this; } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1166,15 +1254,18 @@ public Builder setResourceTypeAffected(
      * 
* * string resource_type_affected = 1; + * * @return This builder for chaining. */ public Builder clearResourceTypeAffected() { - + resourceTypeAffected_ = getDefaultInstance().getResourceTypeAffected(); onChanged(); return this; } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1182,16 +1273,16 @@ public Builder clearResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; + * * @param value The bytes for resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffectedBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceTypeAffectedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceTypeAffected_ = value; onChanged(); return this; @@ -1199,18 +1290,20 @@ public Builder setResourceTypeAffectedBytes( private java.lang.Object bulletinId_ = ""; /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @return The bulletinId. */ public java.lang.String getBulletinId() { java.lang.Object ref = bulletinId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; @@ -1219,20 +1312,21 @@ public java.lang.String getBulletinId() { } } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @return The bytes for bulletinId. */ - public com.google.protobuf.ByteString - getBulletinIdBytes() { + public com.google.protobuf.ByteString getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -1240,95 +1334,112 @@ public java.lang.String getBulletinId() { } } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @param value The bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinId( - java.lang.String value) { + public Builder setBulletinId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinId_ = value; onChanged(); return this; } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @return This builder for chaining. */ public Builder clearBulletinId() { - + bulletinId_ = getDefaultInstance().getBulletinId(); onChanged(); return this; } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @param value The bytes for bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinIdBytes( - com.google.protobuf.ByteString value) { + public Builder setBulletinIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList cveIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList cveIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCveIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { cveIds_ = new com.google.protobuf.LazyStringArrayList(cveIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList - getCveIdsList() { + public com.google.protobuf.ProtocolStringList getCveIdsList() { return cveIds_.getUnmodifiableView(); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -1336,80 +1447,90 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString - getCveIdsBytes(int index) { + public com.google.protobuf.ByteString getCveIdsBytes(int index) { return cveIds_.getByteString(index); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param index The index to set the value at. * @param value The cveIds to set. * @return This builder for chaining. */ - public Builder setCveIds( - int index, java.lang.String value) { + public Builder setCveIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param value The cveIds to add. * @return This builder for chaining. */ - public Builder addCveIds( - java.lang.String value) { + public Builder addCveIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param values The cveIds to add. * @return This builder for chaining. */ - public Builder addAllCveIds( - java.lang.Iterable values) { + public Builder addAllCveIds(java.lang.Iterable values) { ensureCveIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cveIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cveIds_); onChanged(); return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @return This builder for chaining. */ public Builder clearCveIds() { @@ -1419,20 +1540,22 @@ public Builder clearCveIds() { return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param value The bytes of the cveIds to add. * @return This builder for chaining. */ - public Builder addCveIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addCveIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); @@ -1441,18 +1564,20 @@ public Builder addCveIdsBytes( private java.lang.Object severity_ = ""; /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -1461,20 +1586,21 @@ public java.lang.String getSeverity() { } } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @return The bytes for severity. */ - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -1482,54 +1608,61 @@ public java.lang.String getSeverity() { } } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - java.lang.String value) { + public Builder setSeverity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes( - com.google.protobuf.ByteString value) { + public Builder setSeverityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -1537,18 +1670,20 @@ public Builder setSeverityBytes( private java.lang.Object bulletinUri_ = ""; /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @return The bulletinUri. */ public java.lang.String getBulletinUri() { java.lang.Object ref = bulletinUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; @@ -1557,20 +1692,21 @@ public java.lang.String getBulletinUri() { } } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @return The bytes for bulletinUri. */ - public com.google.protobuf.ByteString - getBulletinUriBytes() { + public com.google.protobuf.ByteString getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -1578,54 +1714,61 @@ public java.lang.String getBulletinUri() { } } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @param value The bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUri( - java.lang.String value) { + public Builder setBulletinUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @return This builder for chaining. */ public Builder clearBulletinUri() { - + bulletinUri_ = getDefaultInstance().getBulletinUri(); onChanged(); return this; } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @param value The bytes for bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUriBytes( - com.google.protobuf.ByteString value) { + public Builder setBulletinUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinUri_ = value; onChanged(); return this; @@ -1633,19 +1776,21 @@ public Builder setBulletinUriBytes( private java.lang.Object briefDescription_ = ""; /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @return The briefDescription. */ public java.lang.String getBriefDescription() { java.lang.Object ref = briefDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; @@ -1654,21 +1799,22 @@ public java.lang.String getBriefDescription() { } } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @return The bytes for briefDescription. */ - public com.google.protobuf.ByteString - getBriefDescriptionBytes() { + public com.google.protobuf.ByteString getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -1676,98 +1822,116 @@ public java.lang.String getBriefDescription() { } } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @param value The briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescription( - java.lang.String value) { + public Builder setBriefDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + briefDescription_ = value; onChanged(); return this; } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @return This builder for chaining. */ public Builder clearBriefDescription() { - + briefDescription_ = getDefaultInstance().getBriefDescription(); onChanged(); return this; } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @param value The bytes for briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setBriefDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + briefDescription_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList affectedSupportedMinors_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList affectedSupportedMinors_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAffectedSupportedMinorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - affectedSupportedMinors_ = new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); + affectedSupportedMinors_ = + new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList - getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { return affectedSupportedMinors_.getUnmodifiableView(); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -1775,80 +1939,90 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString - getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param index The index to set the value at. * @param value The affectedSupportedMinors to set. * @return This builder for chaining. */ - public Builder setAffectedSupportedMinors( - int index, java.lang.String value) { + public Builder setAffectedSupportedMinors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.set(index, value); onChanged(); return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param value The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinors( - java.lang.String value) { + public Builder addAffectedSupportedMinors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param values The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAllAffectedSupportedMinors( - java.lang.Iterable values) { + public Builder addAllAffectedSupportedMinors(java.lang.Iterable values) { ensureAffectedSupportedMinorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, affectedSupportedMinors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, affectedSupportedMinors_); onChanged(); return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @return This builder for chaining. */ public Builder clearAffectedSupportedMinors() { @@ -1858,62 +2032,74 @@ public Builder clearAffectedSupportedMinors() { return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param value The bytes of the affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAffectedSupportedMinorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList patchedVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList patchedVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePatchedVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { patchedVersions_ = new com.google.protobuf.LazyStringArrayList(patchedVersions_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList - getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { return patchedVersions_.getUnmodifiableView(); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -1921,80 +2107,90 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString - getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param index The index to set the value at. * @param value The patchedVersions to set. * @return This builder for chaining. */ - public Builder setPatchedVersions( - int index, java.lang.String value) { + public Builder setPatchedVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param value The patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersions( - java.lang.String value) { + public Builder addPatchedVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param values The patchedVersions to add. * @return This builder for chaining. */ - public Builder addAllPatchedVersions( - java.lang.Iterable values) { + public Builder addAllPatchedVersions(java.lang.Iterable values) { ensurePatchedVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchedVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchedVersions_); onChanged(); return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @return This builder for chaining. */ public Builder clearPatchedVersions() { @@ -2004,20 +2200,22 @@ public Builder clearPatchedVersions() { return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param value The bytes of the patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); @@ -2026,6 +2224,8 @@ public Builder addPatchedVersionsBytes( private java.lang.Object suggestedUpgradeTarget_ = ""; /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2035,13 +2235,13 @@ public Builder addPatchedVersionsBytes(
      * 
* * string suggested_upgrade_target = 9; + * * @return The suggestedUpgradeTarget. */ public java.lang.String getSuggestedUpgradeTarget() { java.lang.Object ref = suggestedUpgradeTarget_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; @@ -2050,6 +2250,8 @@ public java.lang.String getSuggestedUpgradeTarget() { } } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2059,15 +2261,14 @@ public java.lang.String getSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; + * * @return The bytes for suggestedUpgradeTarget. */ - public com.google.protobuf.ByteString - getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -2075,6 +2276,8 @@ public java.lang.String getSuggestedUpgradeTarget() { } } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2084,20 +2287,22 @@ public java.lang.String getSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; + * * @param value The suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTarget( - java.lang.String value) { + public Builder setSuggestedUpgradeTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestedUpgradeTarget_ = value; onChanged(); return this; } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2107,15 +2312,18 @@ public Builder setSuggestedUpgradeTarget(
      * 
* * string suggested_upgrade_target = 9; + * * @return This builder for chaining. */ public Builder clearSuggestedUpgradeTarget() { - + suggestedUpgradeTarget_ = getDefaultInstance().getSuggestedUpgradeTarget(); onChanged(); return this; } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2125,29 +2333,32 @@ public Builder clearSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; + * * @param value The bytes for suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setSuggestedUpgradeTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestedUpgradeTarget_ = value; onChanged(); return this; } - private boolean manualStepsRequired_ ; + private boolean manualStepsRequired_; /** + * + * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; + * * @return The manualStepsRequired. */ @java.lang.Override @@ -2155,39 +2366,45 @@ public boolean getManualStepsRequired() { return manualStepsRequired_; } /** + * + * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; + * * @param value The manualStepsRequired to set. * @return This builder for chaining. */ public Builder setManualStepsRequired(boolean value) { - + manualStepsRequired_ = value; onChanged(); return this; } /** + * + * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; + * * @return This builder for chaining. */ public Builder clearManualStepsRequired() { - + manualStepsRequired_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2197,12 +2414,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SecurityBulletinEvent) } // @@protoc_insertion_point(class_scope:google.container.v1.SecurityBulletinEvent) private static final com.google.container.v1.SecurityBulletinEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SecurityBulletinEvent(); } @@ -2211,27 +2428,27 @@ public static com.google.container.v1.SecurityBulletinEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityBulletinEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityBulletinEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2246,6 +2463,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SecurityBulletinEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java similarity index 80% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java index 0490cf959a1e..315059d85039 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SecurityBulletinEventOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SecurityBulletinEventOrBuilder extends +public interface SecurityBulletinEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SecurityBulletinEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -15,10 +33,13 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string resource_type_affected = 1; + * * @return The resourceTypeAffected. */ java.lang.String getResourceTypeAffected(); /** + * + * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -26,217 +47,269 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string resource_type_affected = 1; + * * @return The bytes for resourceTypeAffected. */ - com.google.protobuf.ByteString - getResourceTypeAffectedBytes(); + com.google.protobuf.ByteString getResourceTypeAffectedBytes(); /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bulletinId. */ java.lang.String getBulletinId(); /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bytes for bulletinId. */ - com.google.protobuf.ByteString - getBulletinIdBytes(); + com.google.protobuf.ByteString getBulletinIdBytes(); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return A list containing the cveIds. */ - java.util.List - getCveIdsList(); + java.util.List getCveIdsList(); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return The count of cveIds. */ int getCveIdsCount(); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the element to return. * @return The cveIds at the given index. */ java.lang.String getCveIds(int index); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - com.google.protobuf.ByteString - getCveIdsBytes(int index); + com.google.protobuf.ByteString getCveIdsBytes(int index); /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The severity. */ java.lang.String getSeverity(); /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The bytes for severity. */ - com.google.protobuf.ByteString - getSeverityBytes(); + com.google.protobuf.ByteString getSeverityBytes(); /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bulletinUri. */ java.lang.String getBulletinUri(); /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bytes for bulletinUri. */ - com.google.protobuf.ByteString - getBulletinUriBytes(); + com.google.protobuf.ByteString getBulletinUriBytes(); /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The briefDescription. */ java.lang.String getBriefDescription(); /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The bytes for briefDescription. */ - com.google.protobuf.ByteString - getBriefDescriptionBytes(); + com.google.protobuf.ByteString getBriefDescriptionBytes(); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return A list containing the affectedSupportedMinors. */ - java.util.List - getAffectedSupportedMinorsList(); + java.util.List getAffectedSupportedMinorsList(); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return The count of affectedSupportedMinors. */ int getAffectedSupportedMinorsCount(); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ java.lang.String getAffectedSupportedMinors(int index); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - com.google.protobuf.ByteString - getAffectedSupportedMinorsBytes(int index); + com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return A list containing the patchedVersions. */ - java.util.List - getPatchedVersionsList(); + java.util.List getPatchedVersionsList(); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return The count of patchedVersions. */ int getPatchedVersionsCount(); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ java.lang.String getPatchedVersions(int index); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - com.google.protobuf.ByteString - getPatchedVersionsBytes(int index); + com.google.protobuf.ByteString getPatchedVersionsBytes(int index); /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -246,10 +319,13 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string suggested_upgrade_target = 9; + * * @return The suggestedUpgradeTarget. */ java.lang.String getSuggestedUpgradeTarget(); /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -259,18 +335,21 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string suggested_upgrade_target = 9; + * * @return The bytes for suggestedUpgradeTarget. */ - com.google.protobuf.ByteString - getSuggestedUpgradeTargetBytes(); + com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes(); /** + * + * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; + * * @return The manualStepsRequired. */ boolean getManualStepsRequired(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java similarity index 74% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java index bc331bfa0958..b2e2ad4ec9e8 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1.ServerConfig} */ -public final class ServerConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ServerConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ServerConfig) ServerConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ServerConfig.newBuilder() to construct. private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ServerConfig() { defaultClusterVersion_ = ""; validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -30,129 +48,155 @@ private ServerConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.class, com.google.container.v1.ServerConfig.Builder.class); + com.google.container.v1.ServerConfig.class, + com.google.container.v1.ServerConfig.Builder.class); } - public interface ReleaseChannelConfigOrBuilder extends + public interface ReleaseChannelConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ServerConfig.ReleaseChannelConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ com.google.container.v1.ReleaseChannel.Channel getChannel(); /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The defaultVersion. */ java.lang.String getDefaultVersion(); /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The bytes for defaultVersion. */ - com.google.protobuf.ByteString - getDefaultVersionBytes(); + com.google.protobuf.ByteString getDefaultVersionBytes(); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return A list containing the validVersions. */ - java.util.List - getValidVersionsList(); + java.util.List getValidVersionsList(); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return The count of validVersions. */ int getValidVersionsCount(); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the element to return. * @return The validVersions at the given index. */ java.lang.String getValidVersions(int index); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - com.google.protobuf.ByteString - getValidVersionsBytes(int index); + com.google.protobuf.ByteString getValidVersionsBytes(int index); } /** + * + * *
    * ReleaseChannelConfig exposes configuration for a release channel.
    * 
* * Protobuf type {@code google.container.v1.ServerConfig.ReleaseChannelConfig} */ - public static final class ReleaseChannelConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReleaseChannelConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ServerConfig.ReleaseChannelConfig) ReleaseChannelConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReleaseChannelConfig.newBuilder() to construct. private ReleaseChannelConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReleaseChannelConfig() { channel_ = 0; defaultVersion_ = ""; @@ -161,64 +205,77 @@ private ReleaseChannelConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReleaseChannelConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); } public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ - @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { + @java.lang.Override + public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + com.google.container.v1.ReleaseChannel.Channel result = + com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; } public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object defaultVersion_; /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The defaultVersion. */ @java.lang.Override @@ -227,29 +284,29 @@ public java.lang.String getDefaultVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; } } /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The bytes for defaultVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -260,34 +317,42 @@ public java.lang.String getDefaultVersion() { public static final int VALID_VERSIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList validVersions_; /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList - getValidVersionsList() { + public com.google.protobuf.ProtocolStringList getValidVersionsList() { return validVersions_; } /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -295,20 +360,23 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString - getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,8 +388,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -341,8 +408,7 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultVersion_); @@ -363,18 +429,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ServerConfig.ReleaseChannelConfig)) { return super.equals(obj); } - com.google.container.v1.ServerConfig.ReleaseChannelConfig other = (com.google.container.v1.ServerConfig.ReleaseChannelConfig) obj; + com.google.container.v1.ServerConfig.ReleaseChannelConfig other = + (com.google.container.v1.ServerConfig.ReleaseChannelConfig) obj; if (channel_ != other.channel_) return false; - if (!getDefaultVersion() - .equals(other.getDefaultVersion())) return false; - if (!getValidVersionsList() - .equals(other.getValidVersionsList())) return false; + if (!getDefaultVersion().equals(other.getDefaultVersion())) return false; + if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -400,87 +465,94 @@ public int hashCode() { } public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( 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.ServerConfig.ReleaseChannelConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.ServerConfig.ReleaseChannelConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1.ServerConfig.ReleaseChannelConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -490,39 +562,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * ReleaseChannelConfig exposes configuration for a release channel.
      * 
* * Protobuf type {@code google.container.v1.ServerConfig.ReleaseChannelConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ServerConfig.ReleaseChannelConfig) com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1.ServerConfig.ReleaseChannelConfig.class, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder.class); } // Construct using com.google.container.v1.ServerConfig.ReleaseChannelConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -536,9 +610,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override @@ -557,7 +631,8 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig build() { @java.lang.Override public com.google.container.v1.ServerConfig.ReleaseChannelConfig buildPartial() { - com.google.container.v1.ServerConfig.ReleaseChannelConfig result = new com.google.container.v1.ServerConfig.ReleaseChannelConfig(this); + com.google.container.v1.ServerConfig.ReleaseChannelConfig result = + new com.google.container.v1.ServerConfig.ReleaseChannelConfig(this); int from_bitField0_ = bitField0_; result.channel_ = channel_; result.defaultVersion_ = defaultVersion_; @@ -574,38 +649,41 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ServerConfig.ReleaseChannelConfig) { - return mergeFrom((com.google.container.v1.ServerConfig.ReleaseChannelConfig)other); + return mergeFrom((com.google.container.v1.ServerConfig.ReleaseChannelConfig) other); } else { super.mergeFrom(other); return this; @@ -613,7 +691,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ServerConfig.ReleaseChannelConfig other) { - if (other == com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) + return this; if (other.channel_ != 0) { setChannelValue(other.getChannelValue()); } @@ -657,28 +736,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - channel_ = input.readEnum(); - - break; - } // case 8 - case 18: { - defaultVersion_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidVersionsIsMutable(); - validVersions_.add(s); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + channel_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + defaultVersion_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidVersionsIsMutable(); + validVersions_.add(s); + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -688,55 +771,72 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int channel_ = 0; /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1.ReleaseChannel.Channel result = com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); - return result == null ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED : result; + com.google.container.v1.ReleaseChannel.Channel result = + com.google.container.v1.ReleaseChannel.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1.ReleaseChannel.Channel.UNRECOGNIZED + : result; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @param value The channel to set. * @return This builder for chaining. */ @@ -744,21 +844,24 @@ public Builder setChannel(com.google.container.v1.ReleaseChannel.Channel value) if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1.ReleaseChannel.Channel channel = 1; + * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; @@ -766,18 +869,20 @@ public Builder clearChannel() { private java.lang.Object defaultVersion_ = ""; /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; @@ -786,20 +891,21 @@ public java.lang.String getDefaultVersion() { } } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @return The bytes for defaultVersion. */ - public com.google.protobuf.ByteString - getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -807,95 +913,112 @@ public java.lang.String getDefaultVersion() { } } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @param value The defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersion( - java.lang.String value) { + public Builder setDefaultVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultVersion_ = value; onChanged(); return this; } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = getDefaultInstance().getDefaultVersion(); onChanged(); return this; } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @param value The bytes for defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultVersion_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { validVersions_ = new com.google.protobuf.LazyStringArrayList(validVersions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList - getValidVersionsList() { + public com.google.protobuf.ProtocolStringList getValidVersionsList() { return validVersions_.getUnmodifiableView(); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -903,80 +1026,90 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString - getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param index The index to set the value at. * @param value The validVersions to set. * @return This builder for chaining. */ - public Builder setValidVersions( - int index, java.lang.String value) { + public Builder setValidVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param value The validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersions( - java.lang.String value) { + public Builder addValidVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param values The validVersions to add. * @return This builder for chaining. */ - public Builder addAllValidVersions( - java.lang.Iterable values) { + public Builder addAllValidVersions(java.lang.Iterable values) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); onChanged(); return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @return This builder for chaining. */ public Builder clearValidVersions() { @@ -986,25 +1119,28 @@ public Builder clearValidVersions() { return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param value The bytes of the validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addValidVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1017,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ServerConfig.ReleaseChannelConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ServerConfig.ReleaseChannelConfig) private static final com.google.container.v1.ServerConfig.ReleaseChannelConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ServerConfig.ReleaseChannelConfig(); } @@ -1031,27 +1167,28 @@ public static com.google.container.v1.ServerConfig.ReleaseChannelConfig getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannelConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannelConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1066,17 +1203,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ServerConfig.ReleaseChannelConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object defaultClusterVersion_; /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The defaultClusterVersion. */ @java.lang.Override @@ -1085,29 +1224,29 @@ public java.lang.String getDefaultClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; } } /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The bytes for defaultClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -1118,34 +1257,42 @@ public java.lang.String getDefaultClusterVersion() { public static final int VALID_NODE_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList validNodeVersions_; /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList - getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { return validNodeVersions_; } /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -1153,27 +1300,32 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString - getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object defaultImageType_; /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The defaultImageType. */ @java.lang.Override @@ -1182,29 +1334,29 @@ public java.lang.String getDefaultImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; } } /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The bytes for defaultImageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -1215,34 +1367,42 @@ public java.lang.String getDefaultImageType() { public static final int VALID_IMAGE_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList validImageTypes_; /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList - getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList getValidImageTypesList() { return validImageTypes_; } /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -1250,50 +1410,60 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString - getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList validMasterVersions_; /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList - getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { return validMasterVersions_; } /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -1301,22 +1471,26 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString - getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } public static final int CHANNELS_FIELD_NUMBER = 9; private java.util.List channels_; /** + * + * *
    * List of release channel configurations.
    * 
@@ -1324,10 +1498,13 @@ public java.lang.String getValidMasterVersions(int index) { * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List getChannelsList() { + public java.util.List + getChannelsList() { return channels_; } /** + * + * *
    * List of release channel configurations.
    * 
@@ -1335,11 +1512,14 @@ public java.util.List * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsOrBuilderList() { return channels_; } /** + * + * *
    * List of release channel configurations.
    * 
@@ -1351,6 +1531,8 @@ public int getChannelsCount() { return channels_.size(); } /** + * + * *
    * List of release channel configurations.
    * 
@@ -1362,6 +1544,8 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig getChannels(int return channels_.get(index); } /** + * + * *
    * List of release channel configurations.
    * 
@@ -1375,6 +1559,7 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getCha } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1386,8 +1571,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultClusterVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultClusterVersion_); } @@ -1446,8 +1630,7 @@ public int getSerializedSize() { size += 1 * getValidMasterVersionsList().size(); } for (int i = 0; i < channels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, channels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, channels_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1457,25 +1640,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ServerConfig)) { return super.equals(obj); } com.google.container.v1.ServerConfig other = (com.google.container.v1.ServerConfig) obj; - if (!getDefaultClusterVersion() - .equals(other.getDefaultClusterVersion())) return false; - if (!getValidNodeVersionsList() - .equals(other.getValidNodeVersionsList())) return false; - if (!getDefaultImageType() - .equals(other.getDefaultImageType())) return false; - if (!getValidImageTypesList() - .equals(other.getValidImageTypesList())) return false; - if (!getValidMasterVersionsList() - .equals(other.getValidMasterVersionsList())) return false; - if (!getChannelsList() - .equals(other.getChannelsList())) return false; + if (!getDefaultClusterVersion().equals(other.getDefaultClusterVersion())) return false; + if (!getValidNodeVersionsList().equals(other.getValidNodeVersionsList())) return false; + if (!getDefaultImageType().equals(other.getDefaultImageType())) return false; + if (!getValidImageTypesList().equals(other.getValidImageTypesList())) return false; + if (!getValidMasterVersionsList().equals(other.getValidMasterVersionsList())) return false; + if (!getChannelsList().equals(other.getChannelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1512,130 +1689,135 @@ public int hashCode() { return hash; } - public static com.google.container.v1.ServerConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ServerConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServerConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.ServerConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.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.container.v1.ServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServerConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ServerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ServerConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ServerConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ServerConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.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); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1.ServerConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ServerConfig) com.google.container.v1.ServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServerConfig.class, com.google.container.v1.ServerConfig.Builder.class); + com.google.container.v1.ServerConfig.class, + com.google.container.v1.ServerConfig.Builder.class); } // Construct using com.google.container.v1.ServerConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1660,9 +1842,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServerConfig_descriptor; } @java.lang.Override @@ -1717,38 +1899,39 @@ public com.google.container.v1.ServerConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ServerConfig) { - return mergeFrom((com.google.container.v1.ServerConfig)other); + return mergeFrom((com.google.container.v1.ServerConfig) other); } else { super.mergeFrom(other); return this; @@ -1813,9 +1996,10 @@ public Builder mergeFrom(com.google.container.v1.ServerConfig other) { channelsBuilder_ = null; channels_ = other.channels_; bitField0_ = (bitField0_ & ~0x00000008); - channelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChannelsFieldBuilder() : null; + channelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChannelsFieldBuilder() + : null; } else { channelsBuilder_.addAllMessages(other.channels_); } @@ -1847,53 +2031,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - defaultClusterVersion_ = input.readStringRequireUtf8(); + case 10: + { + defaultClusterVersion_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidNodeVersionsIsMutable(); - validNodeVersions_.add(s); - break; - } // case 26 - case 34: { - defaultImageType_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidNodeVersionsIsMutable(); + validNodeVersions_.add(s); + break; + } // case 26 + case 34: + { + defaultImageType_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidImageTypesIsMutable(); - validImageTypes_.add(s); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidMasterVersionsIsMutable(); - validMasterVersions_.add(s); - break; - } // case 50 - case 74: { - com.google.container.v1.ServerConfig.ReleaseChannelConfig m = - input.readMessage( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.parser(), - extensionRegistry); - if (channelsBuilder_ == null) { - ensureChannelsIsMutable(); - channels_.add(m); - } else { - channelsBuilder_.addMessage(m); - } - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidImageTypesIsMutable(); + validImageTypes_.add(s); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidMasterVersionsIsMutable(); + validMasterVersions_.add(s); + break; + } // case 50 + case 74: + { + com.google.container.v1.ServerConfig.ReleaseChannelConfig m = + input.readMessage( + com.google.container.v1.ServerConfig.ReleaseChannelConfig.parser(), + extensionRegistry); + if (channelsBuilder_ == null) { + ensureChannelsIsMutable(); + channels_.add(m); + } else { + channelsBuilder_.addMessage(m); + } + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1903,22 +2094,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object defaultClusterVersion_ = ""; /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @return The defaultClusterVersion. */ public java.lang.String getDefaultClusterVersion() { java.lang.Object ref = defaultClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; @@ -1927,20 +2121,21 @@ public java.lang.String getDefaultClusterVersion() { } } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @return The bytes for defaultClusterVersion. */ - public com.google.protobuf.ByteString - getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -1948,95 +2143,112 @@ public java.lang.String getDefaultClusterVersion() { } } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @param value The defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersion( - java.lang.String value) { + public Builder setDefaultClusterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultClusterVersion_ = value; onChanged(); return this; } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @return This builder for chaining. */ public Builder clearDefaultClusterVersion() { - + defaultClusterVersion_ = getDefaultInstance().getDefaultClusterVersion(); onChanged(); return this; } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @param value The bytes for defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultClusterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultClusterVersion_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validNodeVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidNodeVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { validNodeVersions_ = new com.google.protobuf.LazyStringArrayList(validNodeVersions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList - getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { return validNodeVersions_.getUnmodifiableView(); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -2044,80 +2256,90 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString - getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param index The index to set the value at. * @param value The validNodeVersions to set. * @return This builder for chaining. */ - public Builder setValidNodeVersions( - int index, java.lang.String value) { + public Builder setValidNodeVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param value The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersions( - java.lang.String value) { + public Builder addValidNodeVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param values The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addAllValidNodeVersions( - java.lang.Iterable values) { + public Builder addAllValidNodeVersions(java.lang.Iterable values) { ensureValidNodeVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validNodeVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validNodeVersions_); onChanged(); return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @return This builder for chaining. */ public Builder clearValidNodeVersions() { @@ -2127,20 +2349,22 @@ public Builder clearValidNodeVersions() { return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param value The bytes of the validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addValidNodeVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); @@ -2149,18 +2373,20 @@ public Builder addValidNodeVersionsBytes( private java.lang.Object defaultImageType_ = ""; /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @return The defaultImageType. */ public java.lang.String getDefaultImageType() { java.lang.Object ref = defaultImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; @@ -2169,20 +2395,21 @@ public java.lang.String getDefaultImageType() { } } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @return The bytes for defaultImageType. */ - public com.google.protobuf.ByteString - getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -2190,95 +2417,112 @@ public java.lang.String getDefaultImageType() { } } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @param value The defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageType( - java.lang.String value) { + public Builder setDefaultImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultImageType_ = value; onChanged(); return this; } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @return This builder for chaining. */ public Builder clearDefaultImageType() { - + defaultImageType_ = getDefaultInstance().getDefaultImageType(); onChanged(); return this; } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @param value The bytes for defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultImageType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validImageTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validImageTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidImageTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validImageTypes_ = new com.google.protobuf.LazyStringArrayList(validImageTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList - getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList getValidImageTypesList() { return validImageTypes_.getUnmodifiableView(); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -2286,80 +2530,90 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString - getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param index The index to set the value at. * @param value The validImageTypes to set. * @return This builder for chaining. */ - public Builder setValidImageTypes( - int index, java.lang.String value) { + public Builder setValidImageTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param value The validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypes( - java.lang.String value) { + public Builder addValidImageTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param values The validImageTypes to add. * @return This builder for chaining. */ - public Builder addAllValidImageTypes( - java.lang.Iterable values) { + public Builder addAllValidImageTypes(java.lang.Iterable values) { ensureValidImageTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validImageTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validImageTypes_); onChanged(); return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @return This builder for chaining. */ public Builder clearValidImageTypes() { @@ -2369,62 +2623,74 @@ public Builder clearValidImageTypes() { return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param value The bytes of the validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addValidImageTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList validMasterVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validMasterVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidMasterVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { validMasterVersions_ = new com.google.protobuf.LazyStringArrayList(validMasterVersions_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList - getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { return validMasterVersions_.getUnmodifiableView(); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -2432,80 +2698,90 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString - getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param index The index to set the value at. * @param value The validMasterVersions to set. * @return This builder for chaining. */ - public Builder setValidMasterVersions( - int index, java.lang.String value) { + public Builder setValidMasterVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param value The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersions( - java.lang.String value) { + public Builder addValidMasterVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param values The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addAllValidMasterVersions( - java.lang.Iterable values) { + public Builder addAllValidMasterVersions(java.lang.Iterable values) { ensureValidMasterVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validMasterVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validMasterVersions_); onChanged(); return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @return This builder for chaining. */ public Builder clearValidMasterVersions() { @@ -2515,20 +2791,22 @@ public Builder clearValidMasterVersions() { return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param value The bytes of the validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addValidMasterVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); @@ -2536,25 +2814,34 @@ public Builder addValidMasterVersionsBytes( } private java.util.List channels_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - channels_ = new java.util.ArrayList(channels_); + channels_ = + new java.util.ArrayList( + channels_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ServerConfig.ReleaseChannelConfig, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> channelsBuilder_; + com.google.container.v1.ServerConfig.ReleaseChannelConfig, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, + com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> + channelsBuilder_; /** + * + * *
      * List of release channel configurations.
      * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List getChannelsList() { + public java.util.List + getChannelsList() { if (channelsBuilder_ == null) { return java.util.Collections.unmodifiableList(channels_); } else { @@ -2562,6 +2849,8 @@ public java.util.List } } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2576,6 +2865,8 @@ public int getChannelsCount() { } } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2590,6 +2881,8 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig getChannels(int } } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2611,6 +2904,8 @@ public Builder setChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2618,7 +2913,8 @@ public Builder setChannels( * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder setChannels( - int index, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.set(index, builderForValue.build()); @@ -2629,6 +2925,8 @@ public Builder setChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2649,6 +2947,8 @@ public Builder addChannels(com.google.container.v1.ServerConfig.ReleaseChannelCo return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2670,6 +2970,8 @@ public Builder addChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2688,6 +2990,8 @@ public Builder addChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2695,7 +2999,8 @@ public Builder addChannels( * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addChannels( - int index, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(index, builderForValue.build()); @@ -2706,6 +3011,8 @@ public Builder addChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2713,11 +3020,11 @@ public Builder addChannels( * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public Builder addAllChannels( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channels_); onChanged(); } else { channelsBuilder_.addAllMessages(values); @@ -2725,6 +3032,8 @@ public Builder addAllChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2742,6 +3051,8 @@ public Builder clearChannels() { return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2759,6 +3070,8 @@ public Builder removeChannels(int index) { return this; } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2770,6 +3083,8 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder getChan return getChannelsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2779,19 +3094,23 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder getChan public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder( int index) { if (channelsBuilder_ == null) { - return channels_.get(index); } else { + return channels_.get(index); + } else { return channelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of release channel configurations.
      * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List - getChannelsOrBuilderList() { + public java.util.List< + ? extends com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> + getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); } else { @@ -2799,6 +3118,8 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getCha } } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2806,10 +3127,13 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder getCha * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder() { - return getChannelsFieldBuilder().addBuilder( - com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + return getChannelsFieldBuilder() + .addBuilder( + com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** + * + * *
      * List of release channel configurations.
      * 
@@ -2818,37 +3142,44 @@ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder addChan */ public com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder( int index) { - return getChannelsFieldBuilder().addBuilder( - index, com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + return getChannelsFieldBuilder() + .addBuilder( + index, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** + * + * *
      * List of release channel configurations.
      * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - public java.util.List - getChannelsBuilderList() { + public java.util.List + getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ServerConfig.ReleaseChannelConfig, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> + com.google.container.v1.ServerConfig.ReleaseChannelConfig, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, + com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { - channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.ServerConfig.ReleaseChannelConfig, com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder>( - channels_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + channelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.ServerConfig.ReleaseChannelConfig, + com.google.container.v1.ServerConfig.ReleaseChannelConfig.Builder, + com.google.container.v1.ServerConfig.ReleaseChannelConfigOrBuilder>( + channels_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); channels_ = null; } return channelsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2858,12 +3189,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ServerConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ServerConfig) private static final com.google.container.v1.ServerConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ServerConfig(); } @@ -2872,27 +3203,27 @@ public static com.google.container.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(); - } - }; + 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; @@ -2907,6 +3238,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java similarity index 78% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java index 3a2d9976882d..e9170ae71edc 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java @@ -1,185 +1,244 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface ServerConfigOrBuilder extends +public interface ServerConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ServerConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The defaultClusterVersion. */ java.lang.String getDefaultClusterVersion(); /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The bytes for defaultClusterVersion. */ - com.google.protobuf.ByteString - getDefaultClusterVersionBytes(); + com.google.protobuf.ByteString getDefaultClusterVersionBytes(); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return A list containing the validNodeVersions. */ - java.util.List - getValidNodeVersionsList(); + java.util.List getValidNodeVersionsList(); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return The count of validNodeVersions. */ int getValidNodeVersionsCount(); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ java.lang.String getValidNodeVersions(int index); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - com.google.protobuf.ByteString - getValidNodeVersionsBytes(int index); + com.google.protobuf.ByteString getValidNodeVersionsBytes(int index); /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The defaultImageType. */ java.lang.String getDefaultImageType(); /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The bytes for defaultImageType. */ - com.google.protobuf.ByteString - getDefaultImageTypeBytes(); + com.google.protobuf.ByteString getDefaultImageTypeBytes(); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return A list containing the validImageTypes. */ - java.util.List - getValidImageTypesList(); + java.util.List getValidImageTypesList(); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return The count of validImageTypes. */ int getValidImageTypesCount(); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ java.lang.String getValidImageTypes(int index); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - com.google.protobuf.ByteString - getValidImageTypesBytes(int index); + com.google.protobuf.ByteString getValidImageTypesBytes(int index); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return A list containing the validMasterVersions. */ - java.util.List - getValidMasterVersionsList(); + java.util.List getValidMasterVersionsList(); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return The count of validMasterVersions. */ int getValidMasterVersionsCount(); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ java.lang.String getValidMasterVersions(int index); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - com.google.protobuf.ByteString - getValidMasterVersionsBytes(int index); + com.google.protobuf.ByteString getValidMasterVersionsBytes(int index); /** + * + * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List - getChannelsList(); + java.util.List getChannelsList(); /** + * + * *
    * List of release channel configurations.
    * 
@@ -188,6 +247,8 @@ public interface ServerConfigOrBuilder extends */ com.google.container.v1.ServerConfig.ReleaseChannelConfig getChannels(int index); /** + * + * *
    * List of release channel configurations.
    * 
@@ -196,15 +257,19 @@ public interface ServerConfigOrBuilder extends */ int getChannelsCount(); /** + * + * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** + * + * *
    * List of release channel configurations.
    * 
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java index 7a18bdb3d17c..3c07c3377159 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Config to block services with externalIPs field.
  * 
* * Protobuf type {@code google.container.v1.ServiceExternalIPsConfig} */ -public final class ServiceExternalIPsConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ServiceExternalIPsConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ServiceExternalIPsConfig) ServiceExternalIPsConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ServiceExternalIPsConfig.newBuilder() to construct. private ServiceExternalIPsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ServiceExternalIPsConfig() { - } + + private ServiceExternalIPsConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServiceExternalIPsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServiceExternalIPsConfig.class, com.google.container.v1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1.ServiceExternalIPsConfig.class, + com.google.container.v1.ServiceExternalIPsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Services with ExternalIPs field are allowed or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ServiceExternalIPsConfig)) { return super.equals(obj); } - com.google.container.v1.ServiceExternalIPsConfig other = (com.google.container.v1.ServiceExternalIPsConfig) obj; + com.google.container.v1.ServiceExternalIPsConfig other = + (com.google.container.v1.ServiceExternalIPsConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServiceExternalIPsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( 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.ServiceExternalIPsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.ServiceExternalIPsConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ServiceExternalIPsConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ServiceExternalIPsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ServiceExternalIPsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ServiceExternalIPsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ServiceExternalIPsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Config to block services with externalIPs field.
    * 
* * Protobuf type {@code google.container.v1.ServiceExternalIPsConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ServiceExternalIPsConfig) com.google.container.v1.ServiceExternalIPsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ServiceExternalIPsConfig.class, com.google.container.v1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1.ServiceExternalIPsConfig.class, + com.google.container.v1.ServiceExternalIPsConfig.Builder.class); } // Construct using com.google.container.v1.ServiceExternalIPsConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1.ServiceExternalIPsConfig build() { @java.lang.Override public com.google.container.v1.ServiceExternalIPsConfig buildPartial() { - com.google.container.v1.ServiceExternalIPsConfig result = new com.google.container.v1.ServiceExternalIPsConfig(this); + com.google.container.v1.ServiceExternalIPsConfig result = + new com.google.container.v1.ServiceExternalIPsConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1.ServiceExternalIPsConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ServiceExternalIPsConfig) { - return mergeFrom((com.google.container.v1.ServiceExternalIPsConfig)other); + return mergeFrom((com.google.container.v1.ServiceExternalIPsConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.ServiceExternalIPsConfig other) { - if (other == com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1.ServiceExternalIPsConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ServiceExternalIPsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ServiceExternalIPsConfig) private static final com.google.container.v1.ServiceExternalIPsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ServiceExternalIPsConfig(); } @@ -450,27 +489,27 @@ public static com.google.container.v1.ServiceExternalIPsConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceExternalIPsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceExternalIPsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ServiceExternalIPsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java new file mode 100644 index 000000000000..fac6de360d8d --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ServiceExternalIPsConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ServiceExternalIPsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Services with ExternalIPs field are allowed or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/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 similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index 10a3c0aacf5f..27e64fddabbb 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetAddonsConfigRequest sets the addons associated with the cluster.
  * 
* * Protobuf type {@code google.container.v1.SetAddonsConfigRequest} */ -public final class SetAddonsConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetAddonsConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetAddonsConfigRequest) SetAddonsConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetAddonsConfigRequest.newBuilder() to construct. private SetAddonsConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetAddonsConfigRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private SetAddonsConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetAddonsConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetAddonsConfigRequest.class, com.google.container.v1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1.SetAddonsConfigRequest.class, + com.google.container.v1.SetAddonsConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +250,17 @@ protected java.lang.Object newInstance( public static final int ADDONS_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1.AddonsConfig addonsConfig_; /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -229,25 +268,36 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { @@ -257,12 +307,15 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -271,30 +324,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -303,6 +356,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +368,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -350,8 +403,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (addonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAddonsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -364,26 +416,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetAddonsConfigRequest)) { return super.equals(obj); } - com.google.container.v1.SetAddonsConfigRequest other = (com.google.container.v1.SetAddonsConfigRequest) obj; + com.google.container.v1.SetAddonsConfigRequest other = + (com.google.container.v1.SetAddonsConfigRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasAddonsConfig() != other.hasAddonsConfig()) return false; if (hasAddonsConfig()) { - if (!getAddonsConfig() - .equals(other.getAddonsConfig())) return false; + if (!getAddonsConfig().equals(other.getAddonsConfig())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,130 +460,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetAddonsConfigRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetAddonsConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetAddonsConfigRequest parseFrom( 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.SetAddonsConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SetAddonsConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetAddonsConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetAddonsConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetAddonsConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetAddonsConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetAddonsConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetAddonsConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetAddonsConfigRequest sets the addons associated with the cluster.
    * 
* * Protobuf type {@code google.container.v1.SetAddonsConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetAddonsConfigRequest) com.google.container.v1.SetAddonsConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetAddonsConfigRequest.class, com.google.container.v1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1.SetAddonsConfigRequest.class, + com.google.container.v1.SetAddonsConfigRequest.Builder.class); } // Construct using com.google.container.v1.SetAddonsConfigRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +611,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; } @java.lang.Override @@ -578,7 +632,8 @@ public com.google.container.v1.SetAddonsConfigRequest build() { @java.lang.Override public com.google.container.v1.SetAddonsConfigRequest buildPartial() { - com.google.container.v1.SetAddonsConfigRequest result = new com.google.container.v1.SetAddonsConfigRequest(this); + com.google.container.v1.SetAddonsConfigRequest result = + new com.google.container.v1.SetAddonsConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -596,38 +651,39 @@ public com.google.container.v1.SetAddonsConfigRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetAddonsConfigRequest) { - return mergeFrom((com.google.container.v1.SetAddonsConfigRequest)other); + return mergeFrom((com.google.container.v1.SetAddonsConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -681,39 +737,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getAddonsConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -726,6 +786,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -733,15 +795,16 @@ 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=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -750,6 +813,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -757,17 +822,17 @@ 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=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -775,6 +840,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -782,22 +849,25 @@ 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=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -805,17 +875,21 @@ 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=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -823,18 +897,19 @@ 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=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -842,6 +917,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -850,15 +927,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -867,6 +945,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -875,17 +955,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -893,6 +973,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -901,22 +983,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -925,17 +1010,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -944,18 +1033,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -963,21 +1053,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -986,23 +1079,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1010,63 +1105,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1074,42 +1179,61 @@ public Builder mergeFrom( private com.google.container.v1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> addonsConfigBuilder_; + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder> + addonsConfigBuilder_; /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The addonsConfig. */ public com.google.container.v1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { @@ -1125,15 +1249,18 @@ public Builder setAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setAddonsConfig( - com.google.container.v1.AddonsConfig.Builder builderForValue) { + public Builder setAddonsConfig(com.google.container.v1.AddonsConfig.Builder builderForValue) { if (addonsConfigBuilder_ == null) { addonsConfig_ = builderForValue.build(); onChanged(); @@ -1144,18 +1271,24 @@ public Builder setAddonsConfig( return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.AddonsConfig.newBuilder(addonsConfig_) + .mergeFrom(value) + .buildPartial(); } else { addonsConfig_ = value; } @@ -1167,12 +1300,16 @@ public Builder mergeAddonsConfig(com.google.container.v1.AddonsConfig value) { return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAddonsConfig() { if (addonsConfigBuilder_ == null) { @@ -1186,51 +1323,67 @@ public Builder clearAddonsConfig() { return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null ? - com.google.container.v1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder> + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.AddonsConfig, com.google.container.v1.AddonsConfig.Builder, com.google.container.v1.AddonsConfigOrBuilder>( - getAddonsConfig(), - getParentForChildren(), - isClean()); + addonsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.AddonsConfig, + com.google.container.v1.AddonsConfig.Builder, + com.google.container.v1.AddonsConfigOrBuilder>( + getAddonsConfig(), getParentForChildren(), isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -1238,19 +1391,21 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1259,21 +1414,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1281,64 +1437,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1348,12 +1511,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetAddonsConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetAddonsConfigRequest) private static final com.google.container.v1.SetAddonsConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetAddonsConfigRequest(); } @@ -1362,27 +1525,27 @@ public static com.google.container.v1.SetAddonsConfigRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetAddonsConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetAddonsConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1397,6 +1560,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetAddonsConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java index 4251f9ac31d7..2347e4a1afcf 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetAddonsConfigRequestOrBuilder extends +public interface SetAddonsConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetAddonsConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetAddonsConfigRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetAddonsConfigRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2404 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2404 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetAddonsConfigRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,88 +87,115 @@ public interface SetAddonsConfigRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2410 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2410 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2414 + * + * @deprecated google.container.v1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2414 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The addonsConfig. */ com.google.container.v1.AddonsConfig getAddonsConfig(); /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index 4b5f31146441..76f726be2dc8 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
  * Engine cluster, which will in turn set them for Google Compute Engine
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1.SetLabelsRequest}
  */
-public final class SetLabelsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SetLabelsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SetLabelsRequest)
     SetLabelsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SetLabelsRequest.newBuilder() to construct.
   private SetLabelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SetLabelsRequest() {
     projectId_ = "";
     zone_ = "";
@@ -31,44 +49,46 @@ private SetLabelsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SetLabelsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SetLabelsRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SetLabelsRequest.class, com.google.container.v1.SetLabelsRequest.Builder.class);
+            com.google.container.v1.SetLabelsRequest.class,
+            com.google.container.v1.SetLabelsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -76,24 +96,27 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -101,18 +124,18 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -123,6 +146,8 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -131,24 +156,27 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -157,18 +185,18 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -179,48 +207,53 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -229,21 +262,22 @@ protected com.google.protobuf.MapField internalGetMapField( } public static final int RESOURCE_LABELS_FIELD_NUMBER = 4; + private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -255,70 +289,77 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - @java.lang.Override - public boolean containsResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetResourceLabels().getMap().containsKey(key); } - /** - * Use {@link #getResourceLabelsMap()} instead. - */ + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - - public java.lang.String getResourceLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -328,6 +369,8 @@ public java.lang.String getResourceLabelsOrThrow( public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 5; private volatile java.lang.Object labelFingerprint_; /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -338,6 +381,7 @@ public java.lang.String getResourceLabelsOrThrow(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The labelFingerprint. */ @java.lang.Override @@ -346,14 +390,15 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -364,16 +409,15 @@ public java.lang.String getLabelFingerprint() {
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -384,12 +428,15 @@ public java.lang.String getLabelFingerprint() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -398,30 +445,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -430,6 +477,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -441,8 +489,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -452,12 +499,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterId_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetResourceLabels(), - ResourceLabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, labelFingerprint_); } @@ -482,15 +525,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } - for (java.util.Map.Entry entry - : internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, resourceLabels__); + for (java.util.Map.Entry entry : + internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry resourceLabels__ = + ResourceLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceLabels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, labelFingerprint_); @@ -506,25 +549,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLabelsRequest)) { return super.equals(obj); } com.google.container.v1.SetLabelsRequest other = (com.google.container.v1.SetLabelsRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!internalGetResourceLabels().equals( - other.internalGetResourceLabels())) return false; - if (!getLabelFingerprint() - .equals(other.getLabelFingerprint())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; + if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -555,97 +592,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLabelsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetLabelsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLabelsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLabelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLabelsRequest parseFrom( 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.SetLabelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLabelsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SetLabelsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLabelsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLabelsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetLabelsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetLabelsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetLabelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLabelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetLabelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
    * Engine cluster, which will in turn set them for Google Compute Engine
@@ -654,55 +698,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.SetLabelsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SetLabelsRequest)
       com.google.container.v1.SetLabelsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetLabelsRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SetLabelsRequest.class, com.google.container.v1.SetLabelsRequest.Builder.class);
+              com.google.container.v1.SetLabelsRequest.class,
+              com.google.container.v1.SetLabelsRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.SetLabelsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -721,9 +762,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLabelsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetLabelsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -742,7 +783,8 @@ public com.google.container.v1.SetLabelsRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.SetLabelsRequest buildPartial() {
-      com.google.container.v1.SetLabelsRequest result = new com.google.container.v1.SetLabelsRequest(this);
+      com.google.container.v1.SetLabelsRequest result =
+          new com.google.container.v1.SetLabelsRequest(this);
       int from_bitField0_ = bitField0_;
       result.projectId_ = projectId_;
       result.zone_ = zone_;
@@ -759,38 +801,39 @@ public com.google.container.v1.SetLabelsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SetLabelsRequest) {
-        return mergeFrom((com.google.container.v1.SetLabelsRequest)other);
+        return mergeFrom((com.google.container.v1.SetLabelsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -811,8 +854,7 @@ public Builder mergeFrom(com.google.container.v1.SetLabelsRequest other) {
         clusterId_ = other.clusterId_;
         onChanged();
       }
-      internalGetMutableResourceLabels().mergeFrom(
-          other.internalGetResourceLabels());
+      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
       if (!other.getLabelFingerprint().isEmpty()) {
         labelFingerprint_ = other.labelFingerprint_;
         onChanged();
@@ -847,45 +889,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              resourceLabels__ = input.readMessage(
-                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableResourceLabels().getMutableMap().put(
-                  resourceLabels__.getKey(), resourceLabels__.getValue());
-              break;
-            } // case 34
-            case 42: {
-              labelFingerprint_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 58: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry resourceLabels__ =
+                    input.readMessage(
+                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableResourceLabels()
+                    .getMutableMap()
+                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
+                break;
+              } // case 34
+            case 42:
+              {
+                labelFingerprint_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 58:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -895,10 +946,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -906,15 +960,16 @@ 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=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -923,6 +978,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -930,17 +987,17 @@ 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=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -948,6 +1005,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -955,22 +1014,25 @@ 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=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -978,17 +1040,21 @@ 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=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -996,18 +1062,19 @@ 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=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1015,6 +1082,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1023,15 +1092,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1040,6 +1110,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1048,17 +1120,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -1066,6 +1138,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1074,22 +1148,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1098,17 +1175,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1117,18 +1198,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1136,21 +1218,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1159,23 +1244,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1183,84 +1270,96 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } + private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged();; + internalGetMutableResourceLabels() { + onChanged(); + ; if (resourceLabels_ == null) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = + com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -1272,70 +1371,81 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - @java.lang.Override - public boolean containsResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetResourceLabels().getMap().containsKey(key); } - /** - * Use {@link #getResourceLabelsMap()} instead. - */ + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - - public java.lang.String getResourceLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1343,69 +1453,74 @@ public java.lang.String getResourceLabelsOrThrow( } public Builder clearResourceLabels() { - internalGetMutableResourceLabels().getMutableMap() - .clear(); + internalGetMutableResourceLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - - public Builder removeResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableResourceLabels().getMutableMap() - .remove(key); + public Builder removeResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableResourceLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableResourceLabels() { + public java.util.Map getMutableResourceLabels() { return internalGetMutableResourceLabels().getMutableMap(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder putResourceLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putResourceLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableResourceLabels().getMutableMap() - .put(key, value); + internalGetMutableResourceLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - - public Builder putAllResourceLabels( - java.util.Map values) { - internalGetMutableResourceLabels().getMutableMap() - .putAll(values); + public Builder putAllResourceLabels(java.util.Map values) { + internalGetMutableResourceLabels().getMutableMap().putAll(values); return this; } private java.lang.Object labelFingerprint_ = ""; /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1416,13 +1531,13 @@ public Builder putAllResourceLabels(
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The labelFingerprint. */ public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; @@ -1431,6 +1546,8 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1441,15 +1558,14 @@ public java.lang.String getLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1457,6 +1573,8 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1467,20 +1585,22 @@ public java.lang.String getLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint( - java.lang.String value) { + public Builder setLabelFingerprint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1491,15 +1611,18 @@ public Builder setLabelFingerprint(
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1510,16 +1633,16 @@ public Builder clearLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes( - com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -1527,19 +1650,21 @@ public Builder setLabelFingerprintBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1548,21 +1673,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1570,64 +1696,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1637,12 +1770,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetLabelsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLabelsRequest) private static final com.google.container.v1.SetLabelsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetLabelsRequest(); } @@ -1651,27 +1784,27 @@ public static com.google.container.v1.SetLabelsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLabelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLabelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1686,6 +1819,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLabelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 67% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java index 5de446b18977..4e286de67424 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLabelsRequestOrBuilder extends +public interface SetLabelsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLabelsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetLabelsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetLabelsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3519 + * + * @deprecated google.container.v1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3519 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetLabelsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,96 +87,114 @@ public interface SetLabelsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3525 + * + * @deprecated google.container.v1.SetLabelsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3525 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3529 + * + * @deprecated google.container.v1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3529 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getResourceLabelsCount(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - boolean containsResourceLabels( - java.lang.String key); - /** - * Use {@link #getResourceLabelsMap()} instead. + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ + boolean containsResourceLabels(java.lang.String key); + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getResourceLabels(); + java.util.Map getResourceLabels(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.Map - getResourceLabelsMap(); + java.util.Map getResourceLabelsMap(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ /* nullable */ -java.lang.String getResourceLabelsOrDefault( + java.lang.String getResourceLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - - java.lang.String getResourceLabelsOrThrow( - java.lang.String key); + java.lang.String getResourceLabelsOrThrow(java.lang.String key); /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -158,10 +205,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -172,30 +222,35 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString - getLabelFingerprintBytes(); + com.google.protobuf.ByteString getLabelFingerprintBytes(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 69d2fdf64d3d..416317f725c3 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
  * a cluster.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.SetLegacyAbacRequest}
  */
-public final class SetLegacyAbacRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SetLegacyAbacRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SetLegacyAbacRequest)
     SetLegacyAbacRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SetLegacyAbacRequest.newBuilder() to construct.
   private SetLegacyAbacRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SetLegacyAbacRequest() {
     projectId_ = "";
     zone_ = "";
@@ -29,32 +47,35 @@ private SetLegacyAbacRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SetLegacyAbacRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SetLegacyAbacRequest.class, com.google.container.v1.SetLegacyAbacRequest.Builder.class);
+            com.google.container.v1.SetLegacyAbacRequest.class,
+            com.google.container.v1.SetLegacyAbacRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,11 +251,14 @@ protected java.lang.Object newInstance( public static final int ENABLED_FIELD_NUMBER = 4; private boolean enabled_; /** + * + * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ @java.lang.Override @@ -232,12 +269,15 @@ public boolean getEnabled() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -246,30 +286,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -278,6 +318,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -325,8 +365,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -339,23 +378,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLegacyAbacRequest)) { return super.equals(obj); } - com.google.container.v1.SetLegacyAbacRequest other = (com.google.container.v1.SetLegacyAbacRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (getEnabled() - != other.getEnabled()) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.SetLegacyAbacRequest other = + (com.google.container.v1.SetLegacyAbacRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,8 +409,7 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -383,97 +417,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetLegacyAbacRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLegacyAbacRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLegacyAbacRequest parseFrom( 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.SetLegacyAbacRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SetLegacyAbacRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLegacyAbacRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetLegacyAbacRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetLegacyAbacRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetLegacyAbacRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLegacyAbacRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetLegacyAbacRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
    * a cluster.
@@ -481,33 +522,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.SetLegacyAbacRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SetLegacyAbacRequest)
       com.google.container.v1.SetLegacyAbacRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SetLegacyAbacRequest.class, com.google.container.v1.SetLegacyAbacRequest.Builder.class);
+              com.google.container.v1.SetLegacyAbacRequest.class,
+              com.google.container.v1.SetLegacyAbacRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.SetLegacyAbacRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -525,9 +565,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
@@ -546,7 +586,8 @@ public com.google.container.v1.SetLegacyAbacRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.SetLegacyAbacRequest buildPartial() {
-      com.google.container.v1.SetLegacyAbacRequest result = new com.google.container.v1.SetLegacyAbacRequest(this);
+      com.google.container.v1.SetLegacyAbacRequest result =
+          new com.google.container.v1.SetLegacyAbacRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -560,38 +601,39 @@ public com.google.container.v1.SetLegacyAbacRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SetLegacyAbacRequest) {
-        return mergeFrom((com.google.container.v1.SetLegacyAbacRequest)other);
+        return mergeFrom((com.google.container.v1.SetLegacyAbacRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -645,37 +687,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              enabled_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                enabled_ = input.readBool();
 
-              break;
-            } // case 32
-            case 50: {
-              name_ = input.readStringRequireUtf8();
+                break;
+              } // case 32
+            case 50:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -688,6 +736,8 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -695,15 +745,16 @@ 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=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -712,6 +763,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -719,17 +772,17 @@ 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=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -737,6 +790,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -744,22 +799,25 @@ 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=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -767,17 +825,21 @@ 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=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -785,18 +847,19 @@ 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=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -804,6 +867,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -812,15 +877,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -829,6 +895,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -837,17 +905,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -855,6 +923,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -863,22 +933,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -887,17 +960,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -906,18 +983,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -925,21 +1003,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -948,23 +1029,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -972,75 +1055,88 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ @java.lang.Override @@ -1048,30 +1144,36 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -1079,19 +1181,21 @@ public Builder clearEnabled() { private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1100,21 +1204,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1122,64 +1227,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1301,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetLegacyAbacRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLegacyAbacRequest) private static final com.google.container.v1.SetLegacyAbacRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetLegacyAbacRequest(); } @@ -1203,27 +1315,27 @@ public static com.google.container.v1.SetLegacyAbacRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLegacyAbacRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLegacyAbacRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,6 +1350,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLegacyAbacRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java index 4a6ca6c0b93a..9730030380cf 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLegacyAbacRequestOrBuilder extends +public interface SetLegacyAbacRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLegacyAbacRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetLegacyAbacRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetLegacyAbacRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3553 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3553 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetLegacyAbacRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,68 +87,84 @@ public interface SetLegacyAbacRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3559 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3559 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3563 + * + * @deprecated google.container.v1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3563 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index a3068640b7a8..06aa31f2f495 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetLocationsRequest sets the locations of the cluster.
  * 
* * Protobuf type {@code google.container.v1.SetLocationsRequest} */ -public final class SetLocationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetLocationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetLocationsRequest) SetLocationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetLocationsRequest.newBuilder() to construct. private SetLocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetLocationsRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private SetLocationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetLocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLocationsRequest.class, com.google.container.v1.SetLocationsRequest.Builder.class); + com.google.container.v1.SetLocationsRequest.class, + com.google.container.v1.SetLocationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +251,8 @@ protected java.lang.Object newInstance( public static final int LOCATIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList locations_; /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -227,13 +263,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -244,12 +282,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -260,6 +301,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -267,6 +309,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -277,23 +321,26 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -302,30 +349,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -334,6 +381,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +393,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -399,23 +446,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLocationsRequest)) { return super.equals(obj); } - com.google.container.v1.SetLocationsRequest other = (com.google.container.v1.SetLocationsRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.SetLocationsRequest other = + (com.google.container.v1.SetLocationsRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -444,130 +487,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLocationsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetLocationsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLocationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLocationsRequest parseFrom( 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.SetLocationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLocationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SetLocationsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLocationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLocationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetLocationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetLocationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetLocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetLocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLocationsRequest sets the locations of the cluster.
    * 
* * Protobuf type {@code google.container.v1.SetLocationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetLocationsRequest) com.google.container.v1.SetLocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLocationsRequest.class, com.google.container.v1.SetLocationsRequest.Builder.class); + com.google.container.v1.SetLocationsRequest.class, + com.google.container.v1.SetLocationsRequest.Builder.class); } // Construct using com.google.container.v1.SetLocationsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +634,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLocationsRequest_descriptor; } @java.lang.Override @@ -606,7 +655,8 @@ public com.google.container.v1.SetLocationsRequest build() { @java.lang.Override public com.google.container.v1.SetLocationsRequest buildPartial() { - com.google.container.v1.SetLocationsRequest result = new com.google.container.v1.SetLocationsRequest(this); + com.google.container.v1.SetLocationsRequest result = + new com.google.container.v1.SetLocationsRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -625,38 +675,39 @@ public com.google.container.v1.SetLocationsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetLocationsRequest) { - return mergeFrom((com.google.container.v1.SetLocationsRequest)other); + return mergeFrom((com.google.container.v1.SetLocationsRequest) other); } else { super.mergeFrom(other); return this; @@ -717,38 +768,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -758,10 +815,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -769,15 +829,16 @@ 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=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -786,6 +847,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -793,17 +856,17 @@ 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=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -811,6 +874,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -818,22 +883,25 @@ 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=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -841,17 +909,21 @@ 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=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -859,18 +931,19 @@ 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=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -878,6 +951,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -886,15 +961,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -903,6 +979,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -911,17 +989,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -929,6 +1007,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -937,22 +1017,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -961,17 +1044,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -980,18 +1067,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -999,21 +1087,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1022,23 +1113,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1046,76 +1139,90 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList locations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1126,13 +1233,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1143,12 +1252,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1159,6 +1271,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1166,6 +1279,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1176,14 +1291,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1194,21 +1311,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1219,20 +1338,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1243,18 +1364,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1265,6 +1387,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -1274,6 +1397,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1284,15 +1409,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -1301,19 +1426,21 @@ public Builder addLocationsBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1322,21 +1449,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1344,64 +1472,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1411,12 +1546,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetLocationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLocationsRequest) private static final com.google.container.v1.SetLocationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetLocationsRequest(); } @@ -1425,27 +1560,27 @@ public static com.google.container.v1.SetLocationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1460,6 +1595,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLocationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 75% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java index ac969ba62e70..af295256689e 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLocationsRequestOrBuilder extends +public interface SetLocationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLocationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2430 + * + * @deprecated google.container.v1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2430 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +87,50 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2436 + * + * @deprecated google.container.v1.SetLocationsRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2436 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2440 + * + * @deprecated google.container.v1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2440 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -102,11 +141,13 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,10 +158,13 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -131,11 +175,14 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,31 +193,36 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index c0334acc4268..31d9d1d5871f 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetLoggingServiceRequest sets the logging service of a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetLoggingServiceRequest} */ -public final class SetLoggingServiceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetLoggingServiceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetLoggingServiceRequest) SetLoggingServiceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetLoggingServiceRequest.newBuilder() to construct. private SetLoggingServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetLoggingServiceRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private SetLoggingServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetLoggingServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLoggingServiceRequest.class, com.google.container.v1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1.SetLoggingServiceRequest.class, + com.google.container.v1.SetLoggingServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +251,8 @@ protected java.lang.Object newInstance( public static final int LOGGING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object loggingService_; /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -230,6 +266,7 @@ protected java.lang.Object newInstance(
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The loggingService. */ @java.lang.Override @@ -238,14 +275,15 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -259,16 +297,15 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -279,12 +316,15 @@ public java.lang.String getLoggingService() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -293,30 +333,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -325,6 +365,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +377,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -385,23 +425,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetLoggingServiceRequest)) { return super.equals(obj); } - com.google.container.v1.SetLoggingServiceRequest other = (com.google.container.v1.SetLoggingServiceRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getLoggingService() - .equals(other.getLoggingService())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.SetLoggingServiceRequest other = + (com.google.container.v1.SetLoggingServiceRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getLoggingService().equals(other.getLoggingService())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -428,130 +464,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetLoggingServiceRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLoggingServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( 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.SetLoggingServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetLoggingServiceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetLoggingServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetLoggingServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetLoggingServiceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetLoggingServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetLoggingServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLoggingServiceRequest sets the logging service of a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetLoggingServiceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetLoggingServiceRequest) com.google.container.v1.SetLoggingServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetLoggingServiceRequest.class, com.google.container.v1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1.SetLoggingServiceRequest.class, + com.google.container.v1.SetLoggingServiceRequest.Builder.class); } // Construct using com.google.container.v1.SetLoggingServiceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +611,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; } @java.lang.Override @@ -590,7 +632,8 @@ public com.google.container.v1.SetLoggingServiceRequest build() { @java.lang.Override public com.google.container.v1.SetLoggingServiceRequest buildPartial() { - com.google.container.v1.SetLoggingServiceRequest result = new com.google.container.v1.SetLoggingServiceRequest(this); + com.google.container.v1.SetLoggingServiceRequest result = + new com.google.container.v1.SetLoggingServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -604,38 +647,39 @@ public com.google.container.v1.SetLoggingServiceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetLoggingServiceRequest) { - return mergeFrom((com.google.container.v1.SetLoggingServiceRequest)other); + return mergeFrom((com.google.container.v1.SetLoggingServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -643,7 +687,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetLoggingServiceRequest other) { - if (other == com.google.container.v1.SetLoggingServiceRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1.SetLoggingServiceRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -690,37 +735,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - loggingService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + loggingService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -733,6 +784,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -740,15 +793,16 @@ 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=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -757,6 +811,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -764,17 +820,17 @@ 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=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -782,6 +838,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -789,22 +847,25 @@ 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=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -812,17 +873,21 @@ 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=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -830,18 +895,19 @@ 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=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -849,6 +915,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -857,15 +925,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -874,6 +943,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -882,17 +953,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -900,6 +971,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -908,22 +981,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -932,17 +1008,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -951,18 +1031,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -970,21 +1051,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -993,23 +1077,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1017,63 +1103,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1081,6 +1177,8 @@ public Builder mergeFrom( private java.lang.Object loggingService_ = ""; /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1094,13 +1192,13 @@ public Builder mergeFrom(
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -1109,6 +1207,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1122,15 +1222,14 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -1138,6 +1237,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1151,20 +1252,22 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService( - java.lang.String value) { + public Builder setLoggingService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1178,15 +1281,18 @@ public Builder setLoggingService(
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1200,16 +1306,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -1217,19 +1323,21 @@ public Builder setLoggingServiceBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1238,21 +1346,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1260,64 +1369,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1327,12 +1443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetLoggingServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetLoggingServiceRequest) private static final com.google.container.v1.SetLoggingServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetLoggingServiceRequest(); } @@ -1341,27 +1457,27 @@ public static com.google.container.v1.SetLoggingServiceRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLoggingServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLoggingServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1376,6 +1492,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetLoggingServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java index b48a94b3e909..433f4f852732 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetLoggingServiceRequestOrBuilder extends +public interface SetLoggingServiceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetLoggingServiceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2334 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2334 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +87,50 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2340 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2340 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2344 + * + * @deprecated google.container.v1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2344 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -105,10 +144,13 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The loggingService. */ java.lang.String getLoggingService(); /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -122,30 +164,35 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString - getLoggingServiceBytes(); + com.google.protobuf.ByteString getLoggingServiceBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java index 6b63bdd5f149..ca30b3759120 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetMaintenancePolicyRequest} */ -public final class SetMaintenancePolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetMaintenancePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetMaintenancePolicyRequest) SetMaintenancePolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetMaintenancePolicyRequest.newBuilder() to construct. private SetMaintenancePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetMaintenancePolicyRequest() { projectId_ = ""; zone_ = ""; @@ -28,38 +46,42 @@ private SetMaintenancePolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetMaintenancePolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMaintenancePolicyRequest.class, com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1.SetMaintenancePolicyRequest.class, + com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -68,30 +90,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getProjectId() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -109,6 +133,7 @@ public java.lang.String getProjectId() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ @java.lang.Override @@ -117,14 +142,15 @@ public java.lang.String getZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -132,16 +158,15 @@ public java.lang.String getZone() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -152,11 +177,14 @@ public java.lang.String getZone() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -165,29 +193,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -198,12 +226,17 @@ public java.lang.String getClusterId() { public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 4; private com.google.container.v1.MaintenancePolicy maintenancePolicy_; /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -211,25 +244,36 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { @@ -239,6 +283,8 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -246,6 +292,7 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -254,14 +301,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -269,16 +317,15 @@ public java.lang.String getName() {
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -287,6 +334,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +346,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -334,8 +381,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (maintenancePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaintenancePolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaintenancePolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -348,26 +394,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetMaintenancePolicyRequest)) { return super.equals(obj); } - com.google.container.v1.SetMaintenancePolicyRequest other = (com.google.container.v1.SetMaintenancePolicyRequest) obj; + com.google.container.v1.SetMaintenancePolicyRequest other = + (com.google.container.v1.SetMaintenancePolicyRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; if (hasMaintenancePolicy()) { - if (!getMaintenancePolicy() - .equals(other.getMaintenancePolicy())) return false; + if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -397,129 +439,135 @@ public int hashCode() { } public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( 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.SetMaintenancePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetMaintenancePolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetMaintenancePolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetMaintenancePolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetMaintenancePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetMaintenancePolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetMaintenancePolicyRequest) com.google.container.v1.SetMaintenancePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMaintenancePolicyRequest.class, com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1.SetMaintenancePolicyRequest.class, + com.google.container.v1.SetMaintenancePolicyRequest.Builder.class); } // Construct using com.google.container.v1.SetMaintenancePolicyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +589,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override @@ -562,7 +610,8 @@ public com.google.container.v1.SetMaintenancePolicyRequest build() { @java.lang.Override public com.google.container.v1.SetMaintenancePolicyRequest buildPartial() { - com.google.container.v1.SetMaintenancePolicyRequest result = new com.google.container.v1.SetMaintenancePolicyRequest(this); + com.google.container.v1.SetMaintenancePolicyRequest result = + new com.google.container.v1.SetMaintenancePolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -580,38 +629,39 @@ public com.google.container.v1.SetMaintenancePolicyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetMaintenancePolicyRequest) { - return mergeFrom((com.google.container.v1.SetMaintenancePolicyRequest)other); + return mergeFrom((com.google.container.v1.SetMaintenancePolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -619,7 +669,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetMaintenancePolicyRequest other) { - if (other == com.google.container.v1.SetMaintenancePolicyRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1.SetMaintenancePolicyRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -665,39 +716,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -710,19 +766,21 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -731,21 +789,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -753,57 +812,64 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -811,6 +877,8 @@ public Builder setProjectIdBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -818,13 +886,13 @@ public Builder setProjectIdBytes(
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -833,6 +901,8 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -840,15 +910,14 @@ public java.lang.String getZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -856,6 +925,8 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -863,20 +934,22 @@ public java.lang.String getZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -884,15 +957,18 @@ public Builder setZone(
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,16 +976,16 @@ public Builder clearZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -917,18 +993,20 @@ public Builder setZoneBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -937,20 +1015,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -958,54 +1037,61 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1013,42 +1099,61 @@ public Builder setClusterIdBytes( private com.google.container.v1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; + com.google.container.v1.MaintenancePolicy, + com.google.container.v1.MaintenancePolicy.Builder, + com.google.container.v1.MaintenancePolicyOrBuilder> + maintenancePolicyBuilder_; /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maintenancePolicy. */ public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaintenancePolicy(com.google.container.v1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { @@ -1064,12 +1169,16 @@ public Builder setMaintenancePolicy(com.google.container.v1.MaintenancePolicy va return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaintenancePolicy( com.google.container.v1.MaintenancePolicy.Builder builderForValue) { @@ -1083,18 +1192,24 @@ public Builder setMaintenancePolicy( return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1.MaintenancePolicy.newBuilder(maintenancePolicy_) + .mergeFrom(value) + .buildPartial(); } else { maintenancePolicy_ = value; } @@ -1106,12 +1221,16 @@ public Builder mergeMaintenancePolicy(com.google.container.v1.MaintenancePolicy return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { @@ -1125,51 +1244,67 @@ public Builder clearMaintenancePolicy() { return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null ? - com.google.container.v1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder> + com.google.container.v1.MaintenancePolicy, + com.google.container.v1.MaintenancePolicy.Builder, + com.google.container.v1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenancePolicy, com.google.container.v1.MaintenancePolicy.Builder, com.google.container.v1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), - getParentForChildren(), - isClean()); + maintenancePolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenancePolicy, + com.google.container.v1.MaintenancePolicy.Builder, + com.google.container.v1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), getParentForChildren(), isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -1177,6 +1312,8 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1184,13 +1321,13 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1199,6 +1336,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1206,15 +1345,14 @@ public java.lang.String getName() {
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1222,6 +1360,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1229,20 +1369,22 @@ public java.lang.String getName() {
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1250,15 +1392,18 @@ public Builder setName(
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1266,23 +1411,23 @@ public Builder clearName() {
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1292,12 +1437,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetMaintenancePolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetMaintenancePolicyRequest) private static final com.google.container.v1.SetMaintenancePolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetMaintenancePolicyRequest(); } @@ -1306,27 +1451,27 @@ public static com.google.container.v1.SetMaintenancePolicyRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMaintenancePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMaintenancePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1341,6 +1486,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.SetMaintenancePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java index 5c93cec78a60..19df4b8e9d6a 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetMaintenancePolicyRequestOrBuilder extends +public interface SetMaintenancePolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetMaintenancePolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -37,10 +60,13 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -48,62 +74,83 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maintenancePolicy. */ com.google.container.v1.MaintenancePolicy getMaintenancePolicy(); /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -111,10 +158,13 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -122,8 +172,8 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index 0d14f0805731..1c17b607afe0 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetMasterAuthRequest updates the admin password of a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetMasterAuthRequest} */ -public final class SetMasterAuthRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetMasterAuthRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetMasterAuthRequest) SetMasterAuthRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetMasterAuthRequest.newBuilder() to construct. private SetMasterAuthRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetMasterAuthRequest() { projectId_ = ""; zone_ = ""; @@ -29,39 +47,43 @@ private SetMasterAuthRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetMasterAuthRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMasterAuthRequest.class, com.google.container.v1.SetMasterAuthRequest.Builder.class); + com.google.container.v1.SetMasterAuthRequest.class, + com.google.container.v1.SetMasterAuthRequest.Builder.class); } /** + * + * *
    * Operation type: what type update to perform.
    * 
* * Protobuf enum {@code google.container.v1.SetMasterAuthRequest.Action} */ - public enum Action - implements com.google.protobuf.ProtocolMessageEnum { + public enum Action implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Operation is unknown and will error out.
      * 
@@ -70,6 +92,8 @@ public enum Action */ UNKNOWN(0), /** + * + * *
      * Set the password to a user generated value.
      * 
@@ -78,6 +102,8 @@ public enum Action */ SET_PASSWORD(1), /** + * + * *
      * Generate a new password and set it to that.
      * 
@@ -86,6 +112,8 @@ public enum Action */ GENERATE_PASSWORD(2), /** + * + * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -100,6 +128,8 @@ public enum Action
     ;
 
     /**
+     *
+     *
      * 
      * Operation is unknown and will error out.
      * 
@@ -108,6 +138,8 @@ public enum Action */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * Set the password to a user generated value.
      * 
@@ -116,6 +148,8 @@ public enum Action */ public static final int SET_PASSWORD_VALUE = 1; /** + * + * *
      * Generate a new password and set it to that.
      * 
@@ -124,6 +158,8 @@ public enum Action */ public static final int GENERATE_PASSWORD_VALUE = 2; /** + * + * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -135,7 +171,6 @@ public enum Action
      */
     public static final int SET_USERNAME_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -160,50 +195,51 @@ public static Action valueOf(int value) {
      */
     public static Action forNumber(int value) {
       switch (value) {
-        case 0: return UNKNOWN;
-        case 1: return SET_PASSWORD;
-        case 2: return GENERATE_PASSWORD;
-        case 3: return SET_USERNAME;
-        default: return null;
+        case 0:
+          return UNKNOWN;
+        case 1:
+          return SET_PASSWORD;
+        case 2:
+          return GENERATE_PASSWORD;
+        case 3:
+          return SET_USERNAME;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Action> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Action findValueByNumber(int number) {
-              return Action.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Action findValueByNumber(int number) {
+            return Action.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.SetMasterAuthRequest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Action[] VALUES = values();
 
-    public static Action valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -223,6 +259,8 @@ private Action(int value) {
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -230,24 +268,27 @@ 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=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -255,18 +296,18 @@ 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=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -277,6 +318,8 @@ private Action(int value) { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -285,24 +328,27 @@ private Action(int value) {
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -311,18 +357,18 @@ private Action(int value) {
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -333,48 +379,53 @@ private Action(int value) { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -385,38 +436,57 @@ private Action(int value) { public static final int ACTION_FIELD_NUMBER = 4; private int action_; /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The action. */ - @java.lang.Override public com.google.container.v1.SetMasterAuthRequest.Action getAction() { + @java.lang.Override + public com.google.container.v1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1.SetMasterAuthRequest.Action result = com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; + com.google.container.v1.SetMasterAuthRequest.Action result = + com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null + ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED + : result; } public static final int UPDATE_FIELD_NUMBER = 5; private com.google.container.v1.MasterAuth update_; /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ @java.lang.Override @@ -424,11 +494,15 @@ public boolean hasUpdate() { return update_ != null; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ @java.lang.Override @@ -436,11 +510,14 @@ public com.google.container.v1.MasterAuth getUpdate() { return update_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : update_; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { @@ -450,12 +527,15 @@ public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -464,30 +544,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -496,6 +576,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,8 +588,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -546,12 +626,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (action_ != com.google.container.v1.SetMasterAuthRequest.Action.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, action_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, action_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -564,27 +642,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetMasterAuthRequest)) { return super.equals(obj); } - com.google.container.v1.SetMasterAuthRequest other = (com.google.container.v1.SetMasterAuthRequest) obj; + com.google.container.v1.SetMasterAuthRequest other = + (com.google.container.v1.SetMasterAuthRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (action_ != other.action_) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate() - .equals(other.getUpdate())) return false; + if (!getUpdate().equals(other.getUpdate())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -615,130 +689,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetMasterAuthRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetMasterAuthRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMasterAuthRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMasterAuthRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMasterAuthRequest parseFrom( 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.SetMasterAuthRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMasterAuthRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SetMasterAuthRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetMasterAuthRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetMasterAuthRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetMasterAuthRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetMasterAuthRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetMasterAuthRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetMasterAuthRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetMasterAuthRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetMasterAuthRequest updates the admin password of a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetMasterAuthRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetMasterAuthRequest) com.google.container.v1.SetMasterAuthRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMasterAuthRequest.class, com.google.container.v1.SetMasterAuthRequest.Builder.class); + com.google.container.v1.SetMasterAuthRequest.class, + com.google.container.v1.SetMasterAuthRequest.Builder.class); } // Construct using com.google.container.v1.SetMasterAuthRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -762,9 +842,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMasterAuthRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMasterAuthRequest_descriptor; } @java.lang.Override @@ -783,7 +863,8 @@ public com.google.container.v1.SetMasterAuthRequest build() { @java.lang.Override public com.google.container.v1.SetMasterAuthRequest buildPartial() { - com.google.container.v1.SetMasterAuthRequest result = new com.google.container.v1.SetMasterAuthRequest(this); + com.google.container.v1.SetMasterAuthRequest result = + new com.google.container.v1.SetMasterAuthRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -802,38 +883,39 @@ public com.google.container.v1.SetMasterAuthRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetMasterAuthRequest) { - return mergeFrom((com.google.container.v1.SetMasterAuthRequest)other); + return mergeFrom((com.google.container.v1.SetMasterAuthRequest) other); } else { super.mergeFrom(other); return this; @@ -890,44 +972,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: { - action_ = input.readEnum(); - - break; - } // case 32 - case 42: { - input.readMessage( - getUpdateFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 58: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: + { + action_ = input.readEnum(); + + break; + } // case 32 + case 42: + { + input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 58: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -940,6 +1027,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -947,15 +1036,16 @@ 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=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -964,6 +1054,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -971,17 +1063,17 @@ 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=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -989,6 +1081,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -996,22 +1090,25 @@ 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=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1019,17 +1116,21 @@ 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=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -1037,18 +1138,19 @@ 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=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1056,6 +1158,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1064,15 +1168,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1081,6 +1186,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1089,17 +1196,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -1107,6 +1214,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1115,22 +1224,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1139,17 +1251,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1158,18 +1274,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1177,21 +1294,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1200,23 +1320,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1224,63 +1346,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1288,51 +1420,75 @@ public Builder mergeFrom( private int action_ = 0; /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ public Builder setActionValue(int value) { - + action_ = value; onChanged(); return this; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The action. */ @java.lang.Override public com.google.container.v1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1.SetMasterAuthRequest.Action result = com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; + com.google.container.v1.SetMasterAuthRequest.Action result = + com.google.container.v1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null + ? com.google.container.v1.SetMasterAuthRequest.Action.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The action to set. * @return This builder for chaining. */ @@ -1340,21 +1496,26 @@ public Builder setAction(com.google.container.v1.SetMasterAuthRequest.Action val if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearAction() { - + action_ = 0; onChanged(); return this; @@ -1362,24 +1523,35 @@ public Builder clearAction() { private com.google.container.v1.MasterAuth update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> updateBuilder_; + com.google.container.v1.MasterAuth, + com.google.container.v1.MasterAuth.Builder, + com.google.container.v1.MasterAuthOrBuilder> + updateBuilder_; /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ public com.google.container.v1.MasterAuth getUpdate() { @@ -1390,11 +1562,14 @@ public com.google.container.v1.MasterAuth getUpdate() { } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdate(com.google.container.v1.MasterAuth value) { if (updateBuilder_ == null) { @@ -1410,14 +1585,16 @@ public Builder setUpdate(com.google.container.v1.MasterAuth value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdate( - com.google.container.v1.MasterAuth.Builder builderForValue) { + public Builder setUpdate(com.google.container.v1.MasterAuth.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1428,17 +1605,22 @@ public Builder setUpdate( return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdate(com.google.container.v1.MasterAuth value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1.MasterAuth.newBuilder(update_).mergeFrom(value).buildPartial(); + com.google.container.v1.MasterAuth.newBuilder(update_) + .mergeFrom(value) + .buildPartial(); } else { update_ = value; } @@ -1450,11 +1632,14 @@ public Builder mergeUpdate(com.google.container.v1.MasterAuth value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1468,48 +1653,59 @@ public Builder clearUpdate() { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.MasterAuth.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null ? - com.google.container.v1.MasterAuth.getDefaultInstance() : update_; + return update_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : update_; } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder> + com.google.container.v1.MasterAuth, + com.google.container.v1.MasterAuth.Builder, + com.google.container.v1.MasterAuthOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MasterAuth, com.google.container.v1.MasterAuth.Builder, com.google.container.v1.MasterAuthOrBuilder>( - getUpdate(), - getParentForChildren(), - isClean()); + updateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MasterAuth, + com.google.container.v1.MasterAuth.Builder, + com.google.container.v1.MasterAuthOrBuilder>( + getUpdate(), getParentForChildren(), isClean()); update_ = null; } return updateBuilder_; @@ -1517,19 +1713,21 @@ public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1538,21 +1736,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1560,64 +1759,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1627,12 +1833,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetMasterAuthRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetMasterAuthRequest) private static final com.google.container.v1.SetMasterAuthRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetMasterAuthRequest(); } @@ -1641,27 +1847,27 @@ public static com.google.container.v1.SetMasterAuthRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMasterAuthRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMasterAuthRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1676,6 +1882,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetMasterAuthRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 65% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java index 758064538337..1f70c6decf25 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetMasterAuthRequestOrBuilder extends +public interface SetMasterAuthRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetMasterAuthRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetMasterAuthRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetMasterAuthRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2513 + * + * @deprecated google.container.v1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2513 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetMasterAuthRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,104 +87,138 @@ public interface SetMasterAuthRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2519 + * + * @deprecated google.container.v1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2519 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2523 + * + * @deprecated google.container.v1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2523 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The action. */ com.google.container.v1.SetMasterAuthRequest.Action getAction(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ com.google.container.v1.MasterAuth getUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index 3db4dd6b4bd4..baaa9a349c5f 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetMonitoringServiceRequest sets the monitoring service of a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetMonitoringServiceRequest} */ -public final class SetMonitoringServiceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetMonitoringServiceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetMonitoringServiceRequest) SetMonitoringServiceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetMonitoringServiceRequest.newBuilder() to construct. private SetMonitoringServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetMonitoringServiceRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private SetMonitoringServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetMonitoringServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMonitoringServiceRequest.class, com.google.container.v1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1.SetMonitoringServiceRequest.class, + com.google.container.v1.SetMonitoringServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +251,8 @@ protected java.lang.Object newInstance( public static final int MONITORING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object monitoringService_; /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -230,6 +266,7 @@ protected java.lang.Object newInstance(
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monitoringService. */ @java.lang.Override @@ -238,14 +275,15 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -259,16 +297,15 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -279,12 +316,15 @@ public java.lang.String getMonitoringService() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -293,30 +333,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -325,6 +365,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +377,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -385,23 +425,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetMonitoringServiceRequest)) { return super.equals(obj); } - com.google.container.v1.SetMonitoringServiceRequest other = (com.google.container.v1.SetMonitoringServiceRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getMonitoringService() - .equals(other.getMonitoringService())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.SetMonitoringServiceRequest other = + (com.google.container.v1.SetMonitoringServiceRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getMonitoringService().equals(other.getMonitoringService())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -429,129 +465,135 @@ public int hashCode() { } public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMonitoringServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( 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.SetMonitoringServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetMonitoringServiceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetMonitoringServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetMonitoringServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetMonitoringServiceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetMonitoringServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetMonitoringServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetMonitoringServiceRequest sets the monitoring service of a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetMonitoringServiceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetMonitoringServiceRequest) com.google.container.v1.SetMonitoringServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetMonitoringServiceRequest.class, com.google.container.v1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1.SetMonitoringServiceRequest.class, + com.google.container.v1.SetMonitoringServiceRequest.Builder.class); } // Construct using com.google.container.v1.SetMonitoringServiceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +611,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override @@ -590,7 +632,8 @@ public com.google.container.v1.SetMonitoringServiceRequest build() { @java.lang.Override public com.google.container.v1.SetMonitoringServiceRequest buildPartial() { - com.google.container.v1.SetMonitoringServiceRequest result = new com.google.container.v1.SetMonitoringServiceRequest(this); + com.google.container.v1.SetMonitoringServiceRequest result = + new com.google.container.v1.SetMonitoringServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -604,38 +647,39 @@ public com.google.container.v1.SetMonitoringServiceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetMonitoringServiceRequest) { - return mergeFrom((com.google.container.v1.SetMonitoringServiceRequest)other); + return mergeFrom((com.google.container.v1.SetMonitoringServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -643,7 +687,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetMonitoringServiceRequest other) { - if (other == com.google.container.v1.SetMonitoringServiceRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1.SetMonitoringServiceRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -690,37 +735,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - monitoringService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + monitoringService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -733,6 +784,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -740,15 +793,16 @@ 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=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -757,6 +811,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -764,17 +820,17 @@ 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=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -782,6 +838,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -789,22 +847,25 @@ 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=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -812,17 +873,21 @@ 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=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -830,18 +895,19 @@ 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=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -849,6 +915,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -857,15 +925,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -874,6 +943,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -882,17 +953,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -900,6 +971,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -908,22 +981,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -932,17 +1008,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -951,18 +1031,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -970,21 +1051,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -993,23 +1077,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1017,63 +1103,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1081,6 +1177,8 @@ public Builder mergeFrom( private java.lang.Object monitoringService_ = ""; /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1094,13 +1192,13 @@ public Builder mergeFrom(
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -1109,6 +1207,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1122,15 +1222,14 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -1138,6 +1237,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1151,20 +1252,22 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService( - java.lang.String value) { + public Builder setMonitoringService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1178,15 +1281,18 @@ public Builder setMonitoringService(
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1200,16 +1306,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -1217,19 +1323,21 @@ public Builder setMonitoringServiceBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1238,21 +1346,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1260,64 +1369,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1327,12 +1443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetMonitoringServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetMonitoringServiceRequest) private static final com.google.container.v1.SetMonitoringServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetMonitoringServiceRequest(); } @@ -1341,27 +1457,27 @@ public static com.google.container.v1.SetMonitoringServiceRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMonitoringServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMonitoringServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1376,6 +1492,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1.SetMonitoringServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java index b520445f03da..190f6a8e5540 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetMonitoringServiceRequestOrBuilder extends +public interface SetMonitoringServiceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetMonitoringServiceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2369 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2369 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +87,50 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2375 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2375 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2379 + * + * @deprecated google.container.v1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2379 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -105,10 +144,13 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -122,30 +164,35 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString - getMonitoringServiceBytes(); + com.google.protobuf.ByteString getMonitoringServiceBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index a7e8b13ab36c..d8472b415c33 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetNetworkPolicyRequest enables/disables network policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1.SetNetworkPolicyRequest} */ -public final class SetNetworkPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetNetworkPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetNetworkPolicyRequest) SetNetworkPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetNetworkPolicyRequest.newBuilder() to construct. private SetNetworkPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetNetworkPolicyRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private SetNetworkPolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetNetworkPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNetworkPolicyRequest.class, com.google.container.v1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1.SetNetworkPolicyRequest.class, + com.google.container.v1.SetNetworkPolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,11 +250,16 @@ protected java.lang.Object newInstance( public static final int NETWORK_POLICY_FIELD_NUMBER = 4; private com.google.container.v1.NetworkPolicy networkPolicy_; /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -228,23 +267,34 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { @@ -254,12 +304,15 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -268,30 +321,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -300,6 +353,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +365,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -347,8 +400,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (networkPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNetworkPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -361,26 +413,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNetworkPolicyRequest)) { return super.equals(obj); } - com.google.container.v1.SetNetworkPolicyRequest other = (com.google.container.v1.SetNetworkPolicyRequest) obj; + com.google.container.v1.SetNetworkPolicyRequest other = + (com.google.container.v1.SetNetworkPolicyRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false; if (hasNetworkPolicy()) { - if (!getNetworkPolicy() - .equals(other.getNetworkPolicy())) return false; + if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,130 +457,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNetworkPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( 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.SetNetworkPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNetworkPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetNetworkPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetNetworkPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNetworkPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetNetworkPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNetworkPolicyRequest enables/disables network policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1.SetNetworkPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetNetworkPolicyRequest) com.google.container.v1.SetNetworkPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNetworkPolicyRequest.class, com.google.container.v1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1.SetNetworkPolicyRequest.class, + com.google.container.v1.SetNetworkPolicyRequest.Builder.class); } // Construct using com.google.container.v1.SetNetworkPolicyRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +608,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override @@ -575,7 +629,8 @@ public com.google.container.v1.SetNetworkPolicyRequest build() { @java.lang.Override public com.google.container.v1.SetNetworkPolicyRequest buildPartial() { - com.google.container.v1.SetNetworkPolicyRequest result = new com.google.container.v1.SetNetworkPolicyRequest(this); + com.google.container.v1.SetNetworkPolicyRequest result = + new com.google.container.v1.SetNetworkPolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -593,38 +648,39 @@ public com.google.container.v1.SetNetworkPolicyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetNetworkPolicyRequest) { - return mergeFrom((com.google.container.v1.SetNetworkPolicyRequest)other); + return mergeFrom((com.google.container.v1.SetNetworkPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -632,7 +688,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetNetworkPolicyRequest other) { - if (other == com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -678,39 +735,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getNetworkPolicyFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -723,6 +784,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -730,15 +793,16 @@ 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=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -747,6 +811,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -754,17 +820,17 @@ 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=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -772,6 +838,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -779,22 +847,25 @@ 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=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -802,17 +873,21 @@ 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=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -820,18 +895,19 @@ 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=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -839,6 +915,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,15 +925,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,6 +943,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -872,17 +953,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -890,6 +971,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -898,22 +981,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -922,17 +1008,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -941,18 +1031,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -960,21 +1051,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -983,23 +1077,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1007,63 +1103,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1071,39 +1177,58 @@ public Builder mergeFrom( private com.google.container.v1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> networkPolicyBuilder_; + com.google.container.v1.NetworkPolicy, + com.google.container.v1.NetworkPolicy.Builder, + com.google.container.v1.NetworkPolicyOrBuilder> + networkPolicyBuilder_; /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networkPolicy. */ public com.google.container.v1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { @@ -1119,14 +1244,17 @@ public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setNetworkPolicy( - com.google.container.v1.NetworkPolicy.Builder builderForValue) { + public Builder setNetworkPolicy(com.google.container.v1.NetworkPolicy.Builder builderForValue) { if (networkPolicyBuilder_ == null) { networkPolicy_ = builderForValue.build(); onChanged(); @@ -1137,17 +1265,23 @@ public Builder setNetworkPolicy( return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1.NetworkPolicy.newBuilder(networkPolicy_) + .mergeFrom(value) + .buildPartial(); } else { networkPolicy_ = value; } @@ -1159,11 +1293,15 @@ public Builder mergeNetworkPolicy(com.google.container.v1.NetworkPolicy value) { return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNetworkPolicy() { if (networkPolicyBuilder_ == null) { @@ -1177,48 +1315,64 @@ public Builder clearNetworkPolicy() { return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null ? - com.google.container.v1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder> + com.google.container.v1.NetworkPolicy, + com.google.container.v1.NetworkPolicy.Builder, + com.google.container.v1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkPolicy, com.google.container.v1.NetworkPolicy.Builder, com.google.container.v1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), - getParentForChildren(), - isClean()); + networkPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NetworkPolicy, + com.google.container.v1.NetworkPolicy.Builder, + com.google.container.v1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), getParentForChildren(), isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -1226,19 +1380,21 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1247,21 +1403,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1269,64 +1426,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1336,12 +1500,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetNetworkPolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNetworkPolicyRequest) private static final com.google.container.v1.SetNetworkPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetNetworkPolicyRequest(); } @@ -1350,27 +1514,27 @@ public static com.google.container.v1.SetNetworkPolicyRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNetworkPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNetworkPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1385,6 +1549,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetNetworkPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java index 43cfaa269d12..13eb27c71fe7 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNetworkPolicyRequestOrBuilder extends +public interface SetNetworkPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNetworkPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetNetworkPolicyRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetNetworkPolicyRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3688 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3688 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetNetworkPolicyRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,85 +87,112 @@ public interface SetNetworkPolicyRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3694 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3694 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3698 + * + * @deprecated google.container.v1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3698 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networkPolicy. */ com.google.container.v1.NetworkPolicy getNetworkPolicy(); /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index a2c0f62e25d0..12cd59b0251d 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
  * 
* * Protobuf type {@code google.container.v1.SetNodePoolAutoscalingRequest} */ -public final class SetNodePoolAutoscalingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetNodePoolAutoscalingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetNodePoolAutoscalingRequest) SetNodePoolAutoscalingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetNodePoolAutoscalingRequest.newBuilder() to construct. private SetNodePoolAutoscalingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetNodePoolAutoscalingRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private SetNodePoolAutoscalingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetNodePoolAutoscalingRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolAutoscalingRequest.class, com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1.SetNodePoolAutoscalingRequest.class, + com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +251,53 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,11 +308,16 @@ protected java.lang.Object newInstance( public static final int AUTOSCALING_FIELD_NUMBER = 5; private com.google.container.v1.NodePoolAutoscaling autoscaling_; /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -281,23 +325,34 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { @@ -307,6 +362,8 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -314,6 +371,7 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -322,14 +380,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -337,16 +396,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -355,6 +413,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -366,8 +425,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -408,8 +466,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAutoscaling()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -422,28 +479,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNodePoolAutoscalingRequest)) { return super.equals(obj); } - com.google.container.v1.SetNodePoolAutoscalingRequest other = (com.google.container.v1.SetNodePoolAutoscalingRequest) obj; + com.google.container.v1.SetNodePoolAutoscalingRequest other = + (com.google.container.v1.SetNodePoolAutoscalingRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling() - .equals(other.getAutoscaling())) return false; + if (!getAutoscaling().equals(other.getAutoscaling())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -475,129 +527,136 @@ public int hashCode() { } public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( 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.SetNodePoolAutoscalingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNodePoolAutoscalingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.SetNodePoolAutoscalingRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1.SetNodePoolAutoscalingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
    * 
* * Protobuf type {@code google.container.v1.SetNodePoolAutoscalingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetNodePoolAutoscalingRequest) com.google.container.v1.SetNodePoolAutoscalingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolAutoscalingRequest.class, com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1.SetNodePoolAutoscalingRequest.class, + com.google.container.v1.SetNodePoolAutoscalingRequest.Builder.class); } // Construct using com.google.container.v1.SetNodePoolAutoscalingRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +680,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override @@ -642,7 +701,8 @@ public com.google.container.v1.SetNodePoolAutoscalingRequest build() { @java.lang.Override public com.google.container.v1.SetNodePoolAutoscalingRequest buildPartial() { - com.google.container.v1.SetNodePoolAutoscalingRequest result = new com.google.container.v1.SetNodePoolAutoscalingRequest(this); + com.google.container.v1.SetNodePoolAutoscalingRequest result = + new com.google.container.v1.SetNodePoolAutoscalingRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -661,38 +721,39 @@ public com.google.container.v1.SetNodePoolAutoscalingRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetNodePoolAutoscalingRequest) { - return mergeFrom((com.google.container.v1.SetNodePoolAutoscalingRequest)other); + return mergeFrom((com.google.container.v1.SetNodePoolAutoscalingRequest) other); } else { super.mergeFrom(other); return this; @@ -700,7 +761,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.SetNodePoolAutoscalingRequest other) { - if (other == com.google.container.v1.SetNodePoolAutoscalingRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1.SetNodePoolAutoscalingRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -750,44 +812,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - input.readMessage( - getAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -800,6 +867,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -807,15 +876,16 @@ 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=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -824,6 +894,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -831,17 +903,17 @@ 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=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -849,6 +921,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -856,22 +930,25 @@ 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=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -879,17 +956,21 @@ 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=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -897,18 +978,19 @@ 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=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -916,6 +998,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,15 +1008,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -941,6 +1026,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -949,17 +1036,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -967,6 +1054,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -975,22 +1064,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -999,17 +1091,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1018,18 +1114,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1037,21 +1134,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1060,23 +1160,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1084,63 +1186,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1148,21 +1260,24 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1171,23 +1286,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1195,63 +1312,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1259,39 +1386,58 @@ public Builder mergeFrom( private com.google.container.v1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; + com.google.container.v1.NodePoolAutoscaling, + com.google.container.v1.NodePoolAutoscaling.Builder, + com.google.container.v1.NodePoolAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscaling(com.google.container.v1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { @@ -1307,11 +1453,15 @@ public Builder setAutoscaling(com.google.container.v1.NodePoolAutoscaling value) return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscaling( com.google.container.v1.NodePoolAutoscaling.Builder builderForValue) { @@ -1325,17 +1475,23 @@ public Builder setAutoscaling( return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePoolAutoscaling.newBuilder(autoscaling_) + .mergeFrom(value) + .buildPartial(); } else { autoscaling_ = value; } @@ -1347,11 +1503,15 @@ public Builder mergeAutoscaling(com.google.container.v1.NodePoolAutoscaling valu return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAutoscaling() { if (autoscalingBuilder_ == null) { @@ -1365,48 +1525,64 @@ public Builder clearAutoscaling() { return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NodePoolAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null ? - com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder> + com.google.container.v1.NodePoolAutoscaling, + com.google.container.v1.NodePoolAutoscaling.Builder, + com.google.container.v1.NodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolAutoscaling, com.google.container.v1.NodePoolAutoscaling.Builder, com.google.container.v1.NodePoolAutoscalingOrBuilder>( - getAutoscaling(), - getParentForChildren(), - isClean()); + autoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolAutoscaling, + com.google.container.v1.NodePoolAutoscaling.Builder, + com.google.container.v1.NodePoolAutoscalingOrBuilder>( + getAutoscaling(), getParentForChildren(), isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -1414,6 +1590,8 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1421,13 +1599,13 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1436,6 +1614,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1443,15 +1623,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1459,6 +1638,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1466,20 +1647,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1487,15 +1670,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1503,23 +1689,23 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1529,12 +1715,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetNodePoolAutoscalingRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolAutoscalingRequest) private static final com.google.container.v1.SetNodePoolAutoscalingRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetNodePoolAutoscalingRequest(); } @@ -1543,27 +1729,27 @@ public static com.google.container.v1.SetNodePoolAutoscalingRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolAutoscalingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolAutoscalingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1578,6 +1764,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1.SetNodePoolAutoscalingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java index c9cc10198d5d..1fbf018078c0 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNodePoolAutoscalingRequestOrBuilder extends +public interface SetNodePoolAutoscalingRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNodePoolAutoscalingRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2304 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2304 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,93 +87,124 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2310 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2310 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2314 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2314 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2318 + * + * @deprecated google.container.v1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2318 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ com.google.container.v1.NodePoolAutoscaling getAutoscaling(); /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -152,10 +212,13 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -163,8 +226,8 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index f9eec3097b31..371764ff4f20 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetNodePoolManagementRequest sets the node management properties of a node
  * pool.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.SetNodePoolManagementRequest}
  */
-public final class SetNodePoolManagementRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SetNodePoolManagementRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.SetNodePoolManagementRequest)
     SetNodePoolManagementRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SetNodePoolManagementRequest.newBuilder() to construct.
   private SetNodePoolManagementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SetNodePoolManagementRequest() {
     projectId_ = "";
     zone_ = "";
@@ -30,32 +48,35 @@ private SetNodePoolManagementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SetNodePoolManagementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.SetNodePoolManagementRequest.class, com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
+            com.google.container.v1.SetNodePoolManagementRequest.class,
+            com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -63,24 +84,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -88,18 +112,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -110,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -118,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -166,48 +195,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -218,48 +252,53 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -270,11 +309,16 @@ protected java.lang.Object newInstance( public static final int MANAGEMENT_FIELD_NUMBER = 5; private com.google.container.v1.NodeManagement management_; /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the management field is set. */ @java.lang.Override @@ -282,23 +326,34 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The management. */ @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { - return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() { @@ -308,6 +363,8 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -315,6 +372,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -323,14 +381,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -338,16 +397,15 @@ public java.lang.String getName() {
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -356,6 +414,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,8 +426,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -409,8 +467,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -423,28 +480,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNodePoolManagementRequest)) { return super.equals(obj); } - com.google.container.v1.SetNodePoolManagementRequest other = (com.google.container.v1.SetNodePoolManagementRequest) obj; + com.google.container.v1.SetNodePoolManagementRequest other = + (com.google.container.v1.SetNodePoolManagementRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; + if (!getManagement().equals(other.getManagement())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -476,96 +528,103 @@ public int hashCode() { } public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolManagementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( 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.SetNodePoolManagementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.SetNodePoolManagementRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNodePoolManagementRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetNodePoolManagementRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolManagementRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolManagementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetNodePoolManagementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNodePoolManagementRequest sets the node management properties of a node
    * pool.
@@ -573,33 +632,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.SetNodePoolManagementRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.SetNodePoolManagementRequest)
       com.google.container.v1.SetNodePoolManagementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.SetNodePoolManagementRequest.class, com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
+              com.google.container.v1.SetNodePoolManagementRequest.class,
+              com.google.container.v1.SetNodePoolManagementRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.SetNodePoolManagementRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -623,9 +681,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -644,7 +702,8 @@ public com.google.container.v1.SetNodePoolManagementRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.SetNodePoolManagementRequest buildPartial() {
-      com.google.container.v1.SetNodePoolManagementRequest result = new com.google.container.v1.SetNodePoolManagementRequest(this);
+      com.google.container.v1.SetNodePoolManagementRequest result =
+          new com.google.container.v1.SetNodePoolManagementRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -663,38 +722,39 @@ public com.google.container.v1.SetNodePoolManagementRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.SetNodePoolManagementRequest) {
-        return mergeFrom((com.google.container.v1.SetNodePoolManagementRequest)other);
+        return mergeFrom((com.google.container.v1.SetNodePoolManagementRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -702,7 +762,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1.SetNodePoolManagementRequest other) {
-      if (other == com.google.container.v1.SetNodePoolManagementRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1.SetNodePoolManagementRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -752,44 +813,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              nodePoolId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getManagementFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 58: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                nodePoolId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 58:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -802,6 +868,8 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -809,15 +877,16 @@ 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=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -826,6 +895,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -833,17 +904,17 @@ 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=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -851,6 +922,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -858,22 +931,25 @@ 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=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -881,17 +957,21 @@ 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=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -899,18 +979,19 @@ 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=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -918,6 +999,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -926,15 +1009,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -943,6 +1027,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -951,17 +1037,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -969,6 +1055,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -977,22 +1065,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1001,17 +1092,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1020,18 +1115,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1039,21 +1135,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1062,23 +1161,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1086,63 +1187,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1150,21 +1261,24 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1173,23 +1287,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1197,63 +1313,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1261,39 +1387,58 @@ public Builder mergeFrom( private com.google.container.v1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> managementBuilder_; + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder> + managementBuilder_; /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The management. */ public com.google.container.v1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { @@ -1309,14 +1454,17 @@ public Builder setManagement(com.google.container.v1.NodeManagement value) { return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setManagement( - com.google.container.v1.NodeManagement.Builder builderForValue) { + public Builder setManagement(com.google.container.v1.NodeManagement.Builder builderForValue) { if (managementBuilder_ == null) { management_ = builderForValue.build(); onChanged(); @@ -1327,17 +1475,23 @@ public Builder setManagement( return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeManagement.newBuilder(management_) + .mergeFrom(value) + .buildPartial(); } else { management_ = value; } @@ -1349,11 +1503,15 @@ public Builder mergeManagement(com.google.container.v1.NodeManagement value) { return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearManagement() { if (managementBuilder_ == null) { @@ -1367,48 +1525,64 @@ public Builder clearManagement() { return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() { if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.container.v1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1.NodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder> + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeManagement, com.google.container.v1.NodeManagement.Builder, com.google.container.v1.NodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeManagement, + com.google.container.v1.NodeManagement.Builder, + com.google.container.v1.NodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; @@ -1416,6 +1590,8 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1423,13 +1599,13 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1438,6 +1614,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1445,15 +1623,14 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1461,6 +1638,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1468,20 +1647,22 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1489,15 +1670,18 @@ public Builder setName(
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1505,23 +1689,23 @@ public Builder clearName() {
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1531,12 +1715,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetNodePoolManagementRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolManagementRequest) private static final com.google.container.v1.SetNodePoolManagementRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetNodePoolManagementRequest(); } @@ -1545,27 +1729,27 @@ public static com.google.container.v1.SetNodePoolManagementRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolManagementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolManagementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1580,6 +1764,4 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1.SetNodePoolManagementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java index 1a620a80b04a..ba20f535ddfa 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNodePoolManagementRequestOrBuilder extends +public interface SetNodePoolManagementRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNodePoolManagementRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3256 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3256 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,93 +87,124 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3262 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3262 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3266 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3266 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3270 + * + * @deprecated google.container.v1.SetNodePoolManagementRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3270 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The management. */ com.google.container.v1.NodeManagement getManagement(); /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -152,10 +212,13 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -163,8 +226,8 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index bb7f281a5d0c..699fa68ec09b 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * SetNodePoolSizeRequest sets the size of a node pool.
  * 
* * Protobuf type {@code google.container.v1.SetNodePoolSizeRequest} */ -public final class SetNodePoolSizeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetNodePoolSizeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.SetNodePoolSizeRequest) SetNodePoolSizeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetNodePoolSizeRequest.newBuilder() to construct. private SetNodePoolSizeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetNodePoolSizeRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private SetNodePoolSizeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetNodePoolSizeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolSizeRequest.class, com.google.container.v1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1.SetNodePoolSizeRequest.class, + com.google.container.v1.SetNodePoolSizeRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +251,53 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,11 +308,14 @@ protected java.lang.Object newInstance( public static final int NODE_COUNT_FIELD_NUMBER = 5; private int nodeCount_; /** + * + * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeCount. */ @java.lang.Override @@ -284,6 +326,8 @@ public int getNodeCount() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -291,6 +335,7 @@ public int getNodeCount() {
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -299,14 +344,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -314,16 +360,15 @@ public java.lang.String getName() {
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -332,6 +377,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,8 +389,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -385,8 +430,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, nodeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -399,25 +443,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.SetNodePoolSizeRequest)) { return super.equals(obj); } - com.google.container.v1.SetNodePoolSizeRequest other = (com.google.container.v1.SetNodePoolSizeRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (getNodeCount() - != other.getNodeCount()) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.SetNodePoolSizeRequest other = + (com.google.container.v1.SetNodePoolSizeRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (getNodeCount() != other.getNodeCount()) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -446,130 +485,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolSizeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( 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.SetNodePoolSizeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.SetNodePoolSizeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.SetNodePoolSizeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolSizeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.SetNodePoolSizeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.SetNodePoolSizeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNodePoolSizeRequest sets the size of a node pool.
    * 
* * Protobuf type {@code google.container.v1.SetNodePoolSizeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.SetNodePoolSizeRequest) com.google.container.v1.SetNodePoolSizeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.SetNodePoolSizeRequest.class, com.google.container.v1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1.SetNodePoolSizeRequest.class, + com.google.container.v1.SetNodePoolSizeRequest.Builder.class); } // Construct using com.google.container.v1.SetNodePoolSizeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +634,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override @@ -610,7 +655,8 @@ public com.google.container.v1.SetNodePoolSizeRequest build() { @java.lang.Override public com.google.container.v1.SetNodePoolSizeRequest buildPartial() { - com.google.container.v1.SetNodePoolSizeRequest result = new com.google.container.v1.SetNodePoolSizeRequest(this); + com.google.container.v1.SetNodePoolSizeRequest result = + new com.google.container.v1.SetNodePoolSizeRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -625,38 +671,39 @@ public com.google.container.v1.SetNodePoolSizeRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.SetNodePoolSizeRequest) { - return mergeFrom((com.google.container.v1.SetNodePoolSizeRequest)other); + return mergeFrom((com.google.container.v1.SetNodePoolSizeRequest) other); } else { super.mergeFrom(other); return this; @@ -714,42 +761,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: { - nodeCount_ = input.readInt32(); - - break; - } // case 40 - case 58: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: + { + nodeCount_ = input.readInt32(); + + break; + } // case 40 + case 58: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -762,6 +816,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -769,15 +825,16 @@ 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=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -786,6 +843,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -793,17 +852,17 @@ 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=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -811,6 +870,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -818,22 +879,25 @@ 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=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -841,17 +905,21 @@ 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=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -859,18 +927,19 @@ 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=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -878,6 +947,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -886,15 +957,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -903,6 +975,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -911,17 +985,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -929,6 +1003,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -937,22 +1013,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -961,17 +1040,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -980,18 +1063,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -999,21 +1083,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1022,23 +1109,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1046,63 +1135,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1110,21 +1209,24 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1133,23 +1235,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1157,75 +1261,88 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; } - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeCount. */ @java.lang.Override @@ -1233,30 +1350,36 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -1264,6 +1387,8 @@ public Builder clearNodeCount() { private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1271,13 +1396,13 @@ public Builder clearNodeCount() {
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1286,6 +1411,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1293,15 +1420,14 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1309,6 +1435,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1316,20 +1444,22 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1337,15 +1467,18 @@ public Builder setName(
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1353,23 +1486,23 @@ public Builder clearName() {
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1379,12 +1512,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.SetNodePoolSizeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.SetNodePoolSizeRequest) private static final com.google.container.v1.SetNodePoolSizeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.SetNodePoolSizeRequest(); } @@ -1393,27 +1526,27 @@ public static com.google.container.v1.SetNodePoolSizeRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolSizeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolSizeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1428,6 +1561,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.SetNodePoolSizeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java index 609448cd8b3f..b391ddf784ea 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface SetNodePoolSizeRequestOrBuilder extends +public interface SetNodePoolSizeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.SetNodePoolSizeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3286 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3286 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,76 +87,96 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3292 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3292 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3296 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3296 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=3300 + * + * @deprecated google.container.v1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3300 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeCount. */ int getNodeCount(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -135,10 +184,13 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -146,8 +198,8 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java index 3f93bd0ae4a4..7f1d9ff1df55 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * A set of Shielded Instance options.
  * 
* * Protobuf type {@code google.container.v1.ShieldedInstanceConfig} */ -public final class ShieldedInstanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShieldedInstanceConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ShieldedInstanceConfig) ShieldedInstanceConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShieldedInstanceConfig.newBuilder() to construct. private ShieldedInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShieldedInstanceConfig() { - } + + private ShieldedInstanceConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShieldedInstanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedInstanceConfig.class, com.google.container.v1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1.ShieldedInstanceConfig.class, + com.google.container.v1.ShieldedInstanceConfig.Builder.class); } public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER = 1; private boolean enableSecureBoot_; /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * bool enable_secure_boot = 1; + * * @return The enableSecureBoot. */ @java.lang.Override @@ -68,6 +89,8 @@ public boolean getEnableSecureBoot() { public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER = 2; private boolean enableIntegrityMonitoring_; /** + * + * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -77,6 +100,7 @@ public boolean getEnableSecureBoot() {
    * 
* * bool enable_integrity_monitoring = 2; + * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -85,6 +109,7 @@ public boolean getEnableIntegrityMonitoring() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,8 +121,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableSecureBoot_ != false) { output.writeBool(1, enableSecureBoot_); } @@ -114,12 +138,10 @@ public int getSerializedSize() { size = 0; if (enableSecureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableSecureBoot_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableSecureBoot_); } if (enableIntegrityMonitoring_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enableIntegrityMonitoring_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableIntegrityMonitoring_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -129,17 +151,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ShieldedInstanceConfig)) { return super.equals(obj); } - com.google.container.v1.ShieldedInstanceConfig other = (com.google.container.v1.ShieldedInstanceConfig) obj; + com.google.container.v1.ShieldedInstanceConfig other = + (com.google.container.v1.ShieldedInstanceConfig) obj; - if (getEnableSecureBoot() - != other.getEnableSecureBoot()) return false; - if (getEnableIntegrityMonitoring() - != other.getEnableIntegrityMonitoring()) return false; + if (getEnableSecureBoot() != other.getEnableSecureBoot()) return false; + if (getEnableIntegrityMonitoring() != other.getEnableIntegrityMonitoring()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -152,140 +173,144 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSecureBoot()); hash = (37 * hash) + ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableIntegrityMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntegrityMonitoring()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ShieldedInstanceConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ShieldedInstanceConfig parseFrom( 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.ShieldedInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ShieldedInstanceConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ShieldedInstanceConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ShieldedInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ShieldedInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ShieldedInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A set of Shielded Instance options.
    * 
* * Protobuf type {@code google.container.v1.ShieldedInstanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ShieldedInstanceConfig) com.google.container.v1.ShieldedInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedInstanceConfig.class, com.google.container.v1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1.ShieldedInstanceConfig.class, + com.google.container.v1.ShieldedInstanceConfig.Builder.class); } // Construct using com.google.container.v1.ShieldedInstanceConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; } @java.lang.Override @@ -318,7 +343,8 @@ public com.google.container.v1.ShieldedInstanceConfig build() { @java.lang.Override public com.google.container.v1.ShieldedInstanceConfig buildPartial() { - com.google.container.v1.ShieldedInstanceConfig result = new com.google.container.v1.ShieldedInstanceConfig(this); + com.google.container.v1.ShieldedInstanceConfig result = + new com.google.container.v1.ShieldedInstanceConfig(this); result.enableSecureBoot_ = enableSecureBoot_; result.enableIntegrityMonitoring_ = enableIntegrityMonitoring_; onBuilt(); @@ -329,38 +355,39 @@ public com.google.container.v1.ShieldedInstanceConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ShieldedInstanceConfig) { - return mergeFrom((com.google.container.v1.ShieldedInstanceConfig)other); + return mergeFrom((com.google.container.v1.ShieldedInstanceConfig) other); } else { super.mergeFrom(other); return this; @@ -401,22 +428,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enableSecureBoot_ = input.readBool(); - - break; - } // case 8 - case 16: { - enableIntegrityMonitoring_ = input.readBool(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enableSecureBoot_ = input.readBool(); + + break; + } // case 8 + case 16: + { + enableIntegrityMonitoring_ = input.readBool(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,8 +457,10 @@ public Builder mergeFrom( return this; } - private boolean enableSecureBoot_ ; + private boolean enableSecureBoot_; /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -437,6 +469,7 @@ public Builder mergeFrom(
      * 
* * bool enable_secure_boot = 1; + * * @return The enableSecureBoot. */ @java.lang.Override @@ -444,6 +477,8 @@ public boolean getEnableSecureBoot() { return enableSecureBoot_; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -452,16 +487,19 @@ public boolean getEnableSecureBoot() {
      * 
* * bool enable_secure_boot = 1; + * * @param value The enableSecureBoot to set. * @return This builder for chaining. */ public Builder setEnableSecureBoot(boolean value) { - + enableSecureBoot_ = value; onChanged(); return this; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -470,17 +508,20 @@ public Builder setEnableSecureBoot(boolean value) {
      * 
* * bool enable_secure_boot = 1; + * * @return This builder for chaining. */ public Builder clearEnableSecureBoot() { - + enableSecureBoot_ = false; onChanged(); return this; } - private boolean enableIntegrityMonitoring_ ; + private boolean enableIntegrityMonitoring_; /** + * + * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -490,6 +531,7 @@ public Builder clearEnableSecureBoot() {
      * 
* * bool enable_integrity_monitoring = 2; + * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -497,6 +539,8 @@ public boolean getEnableIntegrityMonitoring() { return enableIntegrityMonitoring_; } /** + * + * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -506,16 +550,19 @@ public boolean getEnableIntegrityMonitoring() {
      * 
* * bool enable_integrity_monitoring = 2; + * * @param value The enableIntegrityMonitoring to set. * @return This builder for chaining. */ public Builder setEnableIntegrityMonitoring(boolean value) { - + enableIntegrityMonitoring_ = value; onChanged(); return this; } /** + * + * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -525,17 +572,18 @@ public Builder setEnableIntegrityMonitoring(boolean value) {
      * 
* * bool enable_integrity_monitoring = 2; + * * @return This builder for chaining. */ public Builder clearEnableIntegrityMonitoring() { - + enableIntegrityMonitoring_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -545,12 +593,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ShieldedInstanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.ShieldedInstanceConfig) private static final com.google.container.v1.ShieldedInstanceConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ShieldedInstanceConfig(); } @@ -559,27 +607,27 @@ public static com.google.container.v1.ShieldedInstanceConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ShieldedInstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java index f98b574be7dd..82f09724595e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface ShieldedInstanceConfigOrBuilder extends +public interface ShieldedInstanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.ShieldedInstanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -16,11 +34,14 @@ public interface ShieldedInstanceConfigOrBuilder extends
    * 
* * bool enable_secure_boot = 1; + * * @return The enableSecureBoot. */ boolean getEnableSecureBoot(); /** + * + * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -30,6 +51,7 @@ public interface ShieldedInstanceConfigOrBuilder extends
    * 
* * bool enable_integrity_monitoring = 2; + * * @return The enableIntegrityMonitoring. */ boolean getEnableIntegrityMonitoring(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java index cd0cf19f7bd1..50453a0a968e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodes.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration of Shielded Nodes feature.
  * 
* * Protobuf type {@code google.container.v1.ShieldedNodes} */ -public final class ShieldedNodes extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShieldedNodes extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.ShieldedNodes) ShieldedNodesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShieldedNodes.newBuilder() to construct. private ShieldedNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShieldedNodes() { - } + + private ShieldedNodes() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShieldedNodes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedNodes.class, com.google.container.v1.ShieldedNodes.Builder.class); + com.google.container.v1.ShieldedNodes.class, + com.google.container.v1.ShieldedNodes.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Shielded Nodes features are enabled on all nodes in this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.ShieldedNodes)) { return super.equals(obj); } com.google.container.v1.ShieldedNodes other = (com.google.container.v1.ShieldedNodes) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,141 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.ShieldedNodes parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.ShieldedNodes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ShieldedNodes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedNodes parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.ShieldedNodes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ShieldedNodes parseFrom( 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.ShieldedNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.ShieldedNodes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.ShieldedNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ShieldedNodes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ShieldedNodes parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.ShieldedNodes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.ShieldedNodes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.ShieldedNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.ShieldedNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of Shielded Nodes feature.
    * 
* * Protobuf type {@code google.container.v1.ShieldedNodes} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.ShieldedNodes) com.google.container.v1.ShieldedNodesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.ShieldedNodes.class, com.google.container.v1.ShieldedNodes.Builder.class); + com.google.container.v1.ShieldedNodes.class, + com.google.container.v1.ShieldedNodes.Builder.class); } // Construct using com.google.container.v1.ShieldedNodes.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_ShieldedNodes_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_ShieldedNodes_descriptor; } @java.lang.Override @@ -282,7 +305,8 @@ public com.google.container.v1.ShieldedNodes build() { @java.lang.Override public com.google.container.v1.ShieldedNodes buildPartial() { - com.google.container.v1.ShieldedNodes result = new com.google.container.v1.ShieldedNodes(this); + com.google.container.v1.ShieldedNodes result = + new com.google.container.v1.ShieldedNodes(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +316,39 @@ public com.google.container.v1.ShieldedNodes buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.ShieldedNodes) { - return mergeFrom((com.google.container.v1.ShieldedNodes)other); + return mergeFrom((com.google.container.v1.ShieldedNodes) other); } else { super.mergeFrom(other); return this; @@ -361,17 +386,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +409,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +426,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +472,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.ShieldedNodes) } // @@protoc_insertion_point(class_scope:google.container.v1.ShieldedNodes) private static final com.google.container.v1.ShieldedNodes DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.ShieldedNodes(); } @@ -450,27 +486,27 @@ public static com.google.container.v1.ShieldedNodes getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +521,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.ShieldedNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java new file mode 100644 index 000000000000..d933e9bd835d --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface ShieldedNodesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.ShieldedNodes) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java index 1e71e3a71678..a75179c74555 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StackType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Possible values for IP stack type
  * 
* * Protobuf enum {@code google.container.v1.StackType} */ -public enum StackType - implements com.google.protobuf.ProtocolMessageEnum { +public enum StackType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value, will be defaulted as IPV4 only
    * 
@@ -21,6 +39,8 @@ public enum StackType */ STACK_TYPE_UNSPECIFIED(0), /** + * + * *
    * Cluster is IPV4 only
    * 
@@ -29,6 +49,8 @@ public enum StackType */ IPV4(1), /** + * + * *
    * Cluster can use both IPv4 and IPv6
    * 
@@ -40,6 +62,8 @@ public enum StackType ; /** + * + * *
    * Default value, will be defaulted as IPV4 only
    * 
@@ -48,6 +72,8 @@ public enum StackType */ public static final int STACK_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Cluster is IPV4 only
    * 
@@ -56,6 +82,8 @@ public enum StackType */ public static final int IPV4_VALUE = 1; /** + * + * *
    * Cluster can use both IPv4 and IPv6
    * 
@@ -64,7 +92,6 @@ public enum StackType */ public static final int IPV4_IPV6_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,49 @@ public static StackType valueOf(int value) { */ public static StackType forNumber(int value) { switch (value) { - case 0: return STACK_TYPE_UNSPECIFIED; - case 1: return IPV4; - case 2: return IPV4_IPV6; - default: return null; + case 0: + return STACK_TYPE_UNSPECIFIED; + case 1: + return IPV4; + case 2: + return IPV4_IPV6; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - StackType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StackType findValueByNumber(int number) { - return StackType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StackType findValueByNumber(int number) { + return StackType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(4); } private static final StackType[] VALUES = values(); - public static StackType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -147,4 +174,3 @@ private StackType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.StackType) } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index c75805b55f68..43b4bd8779e2 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * StartIPRotationRequest creates a new IP for the cluster and then performs
  * a node upgrade on each node pool to point to the new IP.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.StartIPRotationRequest}
  */
-public final class StartIPRotationRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StartIPRotationRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.StartIPRotationRequest)
     StartIPRotationRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StartIPRotationRequest.newBuilder() to construct.
   private StartIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StartIPRotationRequest() {
     projectId_ = "";
     zone_ = "";
@@ -29,32 +47,35 @@ private StartIPRotationRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StartIPRotationRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_StartIPRotationRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.StartIPRotationRequest.class, com.google.container.v1.StartIPRotationRequest.Builder.class);
+            com.google.container.v1.StartIPRotationRequest.class,
+            com.google.container.v1.StartIPRotationRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,12 +251,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -231,30 +268,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -265,11 +302,14 @@ public java.lang.String getName() { public static final int ROTATE_CREDENTIALS_FIELD_NUMBER = 7; private boolean rotateCredentials_; /** + * + * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; + * * @return The rotateCredentials. */ @java.lang.Override @@ -278,6 +318,7 @@ public boolean getRotateCredentials() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -328,8 +368,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (rotateCredentials_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, rotateCredentials_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, rotateCredentials_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,23 +378,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.StartIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1.StartIPRotationRequest other = (com.google.container.v1.StartIPRotationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (getRotateCredentials() - != other.getRotateCredentials()) return false; + com.google.container.v1.StartIPRotationRequest other = + (com.google.container.v1.StartIPRotationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; + if (getRotateCredentials() != other.getRotateCredentials()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -376,104 +411,110 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ROTATE_CREDENTIALS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRotateCredentials()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRotateCredentials()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.StartIPRotationRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.StartIPRotationRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.StartIPRotationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.StartIPRotationRequest parseFrom( 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.StartIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.StartIPRotationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.StartIPRotationRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.StartIPRotationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.StartIPRotationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.StartIPRotationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.StartIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.StartIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.StartIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.StartIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * StartIPRotationRequest creates a new IP for the cluster and then performs
    * a node upgrade on each node pool to point to the new IP.
@@ -481,33 +522,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.StartIPRotationRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.StartIPRotationRequest)
       com.google.container.v1.StartIPRotationRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.StartIPRotationRequest.class, com.google.container.v1.StartIPRotationRequest.Builder.class);
+              com.google.container.v1.StartIPRotationRequest.class,
+              com.google.container.v1.StartIPRotationRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1.StartIPRotationRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -525,9 +565,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StartIPRotationRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
@@ -546,7 +586,8 @@ public com.google.container.v1.StartIPRotationRequest build() {
 
     @java.lang.Override
     public com.google.container.v1.StartIPRotationRequest buildPartial() {
-      com.google.container.v1.StartIPRotationRequest result = new com.google.container.v1.StartIPRotationRequest(this);
+      com.google.container.v1.StartIPRotationRequest result =
+          new com.google.container.v1.StartIPRotationRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -560,38 +601,39 @@ public com.google.container.v1.StartIPRotationRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.StartIPRotationRequest) {
-        return mergeFrom((com.google.container.v1.StartIPRotationRequest)other);
+        return mergeFrom((com.google.container.v1.StartIPRotationRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -645,37 +687,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 50: {
-              name_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 50:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 50
-            case 56: {
-              rotateCredentials_ = input.readBool();
+                break;
+              } // case 50
+            case 56:
+              {
+                rotateCredentials_ = input.readBool();
 
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -688,6 +736,8 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -695,15 +745,16 @@ 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=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -712,6 +763,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -719,17 +772,17 @@ 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=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -737,6 +790,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -744,22 +799,25 @@ 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=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -767,17 +825,21 @@ 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=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -785,18 +847,19 @@ 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=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -804,6 +867,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -812,15 +877,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -829,6 +895,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -837,17 +905,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -855,6 +923,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -863,22 +933,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -887,17 +960,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -906,18 +983,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -925,21 +1003,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -948,23 +1029,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -972,63 +1055,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1036,19 +1129,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1057,21 +1152,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1079,69 +1175,79 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean rotateCredentials_ ; + private boolean rotateCredentials_; /** + * + * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; + * * @return The rotateCredentials. */ @java.lang.Override @@ -1149,37 +1255,43 @@ public boolean getRotateCredentials() { return rotateCredentials_; } /** + * + * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; + * * @param value The rotateCredentials to set. * @return This builder for chaining. */ public Builder setRotateCredentials(boolean value) { - + rotateCredentials_ = value; onChanged(); return this; } /** + * + * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; + * * @return This builder for chaining. */ public Builder clearRotateCredentials() { - + rotateCredentials_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1301,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.StartIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.StartIPRotationRequest) private static final com.google.container.v1.StartIPRotationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.StartIPRotationRequest(); } @@ -1203,27 +1315,27 @@ public static com.google.container.v1.StartIPRotationRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,6 +1350,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.StartIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java index c128b9968b6b..a633c5c5e27d 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface StartIPRotationRequestOrBuilder extends +public interface StartIPRotationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.StartIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface StartIPRotationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface StartIPRotationRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3579 + * + * @deprecated google.container.v1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3579 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface StartIPRotationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,67 +87,83 @@ public interface StartIPRotationRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=3585 + * + * @deprecated google.container.v1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=3585 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=3589 + * + * @deprecated google.container.v1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=3589 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; + * * @return The rotateCredentials. */ boolean getRotateCredentials(); diff --git a/owl-bot-staging/java-container/v1/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 similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index 3ead10b23ece..31daf9a6fd4f 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * StatusCondition describes why a cluster or a node pool has a certain status
  * (e.g., ERROR or DEGRADED).
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.StatusCondition}
  */
-public final class StatusCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StatusCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.StatusCondition)
     StatusConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StatusCondition.newBuilder() to construct.
   private StatusCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StatusCondition() {
     code_ = 0;
     message_ = "";
@@ -28,39 +46,43 @@ private StatusCondition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StatusCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_StatusCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_StatusCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.StatusCondition.class, com.google.container.v1.StatusCondition.Builder.class);
+            com.google.container.v1.StatusCondition.class,
+            com.google.container.v1.StatusCondition.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Code for each condition
    * 
* * Protobuf enum {@code google.container.v1.StatusCondition.Code} */ - public enum Code - implements com.google.protobuf.ProtocolMessageEnum { + public enum Code implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * UNKNOWN indicates a generic condition.
      * 
@@ -69,6 +91,8 @@ public enum Code */ UNKNOWN(0), /** + * + * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -78,6 +102,8 @@ public enum Code
      */
     GCE_STOCKOUT(1),
     /**
+     *
+     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -87,6 +113,8 @@ public enum Code
      */
     GKE_SERVICE_ACCOUNT_DELETED(2),
     /**
+     *
+     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -95,6 +123,8 @@ public enum Code */ GCE_QUOTA_EXCEEDED(3), /** + * + * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -103,6 +133,8 @@ public enum Code */ SET_BY_OPERATOR(4), /** + * + * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -112,6 +144,8 @@ public enum Code
      */
     CLOUD_KMS_KEY_ERROR(7),
     /**
+     *
+     *
      * 
      * Cluster CA is expiring soon.
      * 
@@ -123,6 +157,8 @@ public enum Code ; /** + * + * *
      * UNKNOWN indicates a generic condition.
      * 
@@ -131,6 +167,8 @@ public enum Code */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -140,6 +178,8 @@ public enum Code
      */
     public static final int GCE_STOCKOUT_VALUE = 1;
     /**
+     *
+     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -149,6 +189,8 @@ public enum Code
      */
     public static final int GKE_SERVICE_ACCOUNT_DELETED_VALUE = 2;
     /**
+     *
+     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -157,6 +199,8 @@ public enum Code */ public static final int GCE_QUOTA_EXCEEDED_VALUE = 3; /** + * + * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -165,6 +209,8 @@ public enum Code */ public static final int SET_BY_OPERATOR_VALUE = 4; /** + * + * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -174,6 +220,8 @@ public enum Code
      */
     public static final int CLOUD_KMS_KEY_ERROR_VALUE = 7;
     /**
+     *
+     *
      * 
      * Cluster CA is expiring soon.
      * 
@@ -182,7 +230,6 @@ public enum Code */ public static final int CA_EXPIRING_VALUE = 9; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,53 +254,57 @@ public static Code valueOf(int value) { */ public static Code forNumber(int value) { switch (value) { - case 0: return UNKNOWN; - case 1: return GCE_STOCKOUT; - case 2: return GKE_SERVICE_ACCOUNT_DELETED; - case 3: return GCE_QUOTA_EXCEEDED; - case 4: return SET_BY_OPERATOR; - case 7: return CLOUD_KMS_KEY_ERROR; - case 9: return CA_EXPIRING; - default: return null; + case 0: + return UNKNOWN; + case 1: + return GCE_STOCKOUT; + case 2: + return GKE_SERVICE_ACCOUNT_DELETED; + case 3: + return GCE_QUOTA_EXCEEDED; + case 4: + return SET_BY_OPERATOR; + case 7: + return CLOUD_KMS_KEY_ERROR; + case 9: + return CA_EXPIRING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Code> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Code findValueByNumber(int number) { - return Code.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Code findValueByNumber(int number) { + return Code.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.StatusCondition.getDescriptor().getEnumTypes().get(0); } private static final Code[] VALUES = values(); - public static Code valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -273,44 +324,58 @@ private Code(int value) { public static final int CODE_FIELD_NUMBER = 1; private int code_; /** + * + * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @return The enum numeric value on the wire for code. */ - @java.lang.Override @java.lang.Deprecated public int getCodeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getCodeValue() { return code_; } /** + * + * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @return The code. */ - @java.lang.Override @java.lang.Deprecated public com.google.container.v1.StatusCondition.Code getCode() { + @java.lang.Override + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1.StatusCondition.Code result = com.google.container.v1.StatusCondition.Code.valueOf(code_); + com.google.container.v1.StatusCondition.Code result = + com.google.container.v1.StatusCondition.Code.valueOf(code_); return result == null ? com.google.container.v1.StatusCondition.Code.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -319,29 +384,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -352,31 +417,40 @@ public java.lang.String getMessage() { public static final int CANONICAL_CODE_FIELD_NUMBER = 3; private int canonicalCode_; /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override public int getCanonicalCodeValue() { + @java.lang.Override + public int getCanonicalCodeValue() { return canonicalCode_; } /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The canonicalCode. */ - @java.lang.Override public com.google.rpc.Code getCanonicalCode() { + @java.lang.Override + public com.google.rpc.Code getCanonicalCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(canonicalCode_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -388,8 +462,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (code_ != com.google.container.v1.StatusCondition.Code.UNKNOWN.getNumber()) { output.writeEnum(1, code_); } @@ -409,15 +482,13 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.container.v1.StatusCondition.Code.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (canonicalCode_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, canonicalCode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, canonicalCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -427,7 +498,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.StatusCondition)) { return super.equals(obj); @@ -435,8 +506,7 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1.StatusCondition other = (com.google.container.v1.StatusCondition) obj; if (code_ != other.code_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (canonicalCode_ != other.canonicalCode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -460,97 +530,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.StatusCondition parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.StatusCondition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.StatusCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StatusCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.StatusCondition parseFrom( 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.StatusCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.StatusCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.StatusCondition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.StatusCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.StatusCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.StatusCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.StatusCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.StatusCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.StatusCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.StatusCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * StatusCondition describes why a cluster or a node pool has a certain status
    * (e.g., ERROR or DEGRADED).
@@ -558,33 +635,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.StatusCondition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.StatusCondition)
       com.google.container.v1.StatusConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_StatusCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.StatusCondition.class, com.google.container.v1.StatusCondition.Builder.class);
+              com.google.container.v1.StatusCondition.class,
+              com.google.container.v1.StatusCondition.Builder.class);
     }
 
     // Construct using com.google.container.v1.StatusCondition.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -598,9 +674,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_StatusCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
@@ -619,7 +695,8 @@ public com.google.container.v1.StatusCondition build() {
 
     @java.lang.Override
     public com.google.container.v1.StatusCondition buildPartial() {
-      com.google.container.v1.StatusCondition result = new com.google.container.v1.StatusCondition(this);
+      com.google.container.v1.StatusCondition result =
+          new com.google.container.v1.StatusCondition(this);
       result.code_ = code_;
       result.message_ = message_;
       result.canonicalCode_ = canonicalCode_;
@@ -631,38 +708,39 @@ public com.google.container.v1.StatusCondition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.StatusCondition) {
-        return mergeFrom((com.google.container.v1.StatusCondition)other);
+        return mergeFrom((com.google.container.v1.StatusCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -707,27 +785,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              code_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              message_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              canonicalCode_ = input.readEnum();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                code_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                message_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                canonicalCode_ = input.readEnum();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -740,88 +822,110 @@ public Builder mergeFrom(
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @return The enum numeric value on the wire for code. */ - @java.lang.Override @java.lang.Deprecated public int getCodeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getCodeValue() { return code_; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCodeValue(int value) { - + @java.lang.Deprecated + public Builder setCodeValue(int value) { + code_ = value; onChanged(); return this; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @return The code. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1.StatusCondition.Code getCode() { + @java.lang.Deprecated + public com.google.container.v1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1.StatusCondition.Code result = com.google.container.v1.StatusCondition.Code.valueOf(code_); + com.google.container.v1.StatusCondition.Code result = + com.google.container.v1.StatusCondition.Code.valueOf(code_); return result == null ? com.google.container.v1.StatusCondition.Code.UNRECOGNIZED : result; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @param value The code to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCode(com.google.container.v1.StatusCondition.Code value) { + @java.lang.Deprecated + public Builder setCode(com.google.container.v1.StatusCondition.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearCode() { - + @java.lang.Deprecated + public Builder clearCode() { + code_ = 0; onChanged(); return this; @@ -829,18 +933,20 @@ public Builder mergeFrom( private java.lang.Object message_ = ""; /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -849,20 +955,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -870,54 +977,61 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { + public Builder setMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -925,37 +1039,47 @@ public Builder setMessageBytes( private int canonicalCode_ = 0; /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override public int getCanonicalCodeValue() { + @java.lang.Override + public int getCanonicalCodeValue() { return canonicalCode_; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @param value The enum numeric value on the wire for canonicalCode to set. * @return This builder for chaining. */ public Builder setCanonicalCodeValue(int value) { - + canonicalCode_ = value; onChanged(); return this; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @return The canonicalCode. */ @java.lang.Override @@ -965,11 +1089,14 @@ public com.google.rpc.Code getCanonicalCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @param value The canonicalCode to set. * @return This builder for chaining. */ @@ -977,28 +1104,31 @@ public Builder setCanonicalCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + canonicalCode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @return This builder for chaining. */ public Builder clearCanonicalCode() { - + canonicalCode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1008,12 +1138,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.StatusCondition) } // @@protoc_insertion_point(class_scope:google.container.v1.StatusCondition) private static final com.google.container.v1.StatusCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.StatusCondition(); } @@ -1022,27 +1152,27 @@ public static com.google.container.v1.StatusCondition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatusCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatusCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1057,6 +1187,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.StatusCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 62% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java index 38135397e5ab..a15945275630 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,72 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface StatusConditionOrBuilder extends +public interface StatusConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.StatusCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @return The enum numeric value on the wire for code. */ - @java.lang.Deprecated int getCodeValue(); + @java.lang.Deprecated + int getCodeValue(); /** + * + * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=3764 + * + * @deprecated google.container.v1.StatusCondition.code is deprecated. See + * google/container/v1/cluster_service.proto;l=3764 * @return The code. */ - @java.lang.Deprecated com.google.container.v1.StatusCondition.Code getCode(); + @java.lang.Deprecated + com.google.container.v1.StatusCondition.Code getCode(); /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The enum numeric value on the wire for canonicalCode. */ int getCanonicalCodeValue(); /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The canonicalCode. */ com.google.rpc.Code getCanonicalCode(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java similarity index 70% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java index 1c65269b996c..27c4fea4ca40 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Represents an arbitrary window of time.
  * 
* * Protobuf type {@code google.container.v1.TimeWindow} */ -public final class TimeWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.TimeWindow) TimeWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeWindow() { - } + + private TimeWindow() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.TimeWindow.class, com.google.container.v1.TimeWindow.Builder.class); + com.google.container.v1.TimeWindow.class, + com.google.container.v1.TimeWindow.Builder.class); } private int optionsCase_ = 0; private java.lang.Object options_; + public enum OptionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAINTENANCE_EXCLUSION_OPTIONS(3), OPTIONS_NOT_SET(0); private final int value; + private OptionsCase(int value) { this.value = value; } @@ -70,30 +91,36 @@ public static OptionsCase valueOf(int value) { public static OptionsCase forNumber(int value) { switch (value) { - case 3: return MAINTENANCE_EXCLUSION_OPTIONS; - case 0: return OPTIONS_NOT_SET; - default: return null; + case 3: + return MAINTENANCE_EXCLUSION_OPTIONS; + case 0: + return OPTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OptionsCase - getOptionsCase() { - return OptionsCase.forNumber( - optionsCase_); + public OptionsCase getOptionsCase() { + return OptionsCase.forNumber(optionsCase_); } public static final int MAINTENANCE_EXCLUSION_OPTIONS_FIELD_NUMBER = 3; /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -101,33 +128,41 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return The maintenanceExclusionOptions. */ @java.lang.Override public com.google.container.v1.MaintenanceExclusionOptions getMaintenanceExclusionOptions() { if (optionsCase_ == 3) { - return (com.google.container.v1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1.MaintenanceExclusionOptions) options_; } return com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance(); } /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ @java.lang.Override - public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder + getMaintenanceExclusionOptionsOrBuilder() { if (optionsCase_ == 3) { - return (com.google.container.v1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1.MaintenanceExclusionOptions) options_; } return com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance(); } @@ -135,11 +170,14 @@ public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenan public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -147,11 +185,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -159,6 +200,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time that the window first starts.
    * 
@@ -173,12 +216,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -186,12 +232,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -199,6 +248,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
@@ -212,6 +263,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -223,8 +275,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -244,16 +295,15 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     if (optionsCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.container.v1.MaintenanceExclusionOptions) options_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.container.v1.MaintenanceExclusionOptions) options_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -263,7 +313,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.TimeWindow)) {
       return super.equals(obj);
@@ -272,19 +322,17 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getOptionsCase().equals(other.getOptionsCase())) return false;
     switch (optionsCase_) {
       case 3:
-        if (!getMaintenanceExclusionOptions()
-            .equals(other.getMaintenanceExclusionOptions())) return false;
+        if (!getMaintenanceExclusionOptions().equals(other.getMaintenanceExclusionOptions()))
+          return false;
         break;
       case 0:
       default:
@@ -321,130 +369,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.TimeWindow parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.TimeWindow parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.container.v1.TimeWindow parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.TimeWindow parseFrom(
       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.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.TimeWindow parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.TimeWindow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.TimeWindow parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.TimeWindow parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Represents an arbitrary window of time.
    * 
* * Protobuf type {@code google.container.v1.TimeWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.TimeWindow) com.google.container.v1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.TimeWindow.class, com.google.container.v1.TimeWindow.Builder.class); + com.google.container.v1.TimeWindow.class, + com.google.container.v1.TimeWindow.Builder.class); } // Construct using com.google.container.v1.TimeWindow.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +522,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_TimeWindow_descriptor; } @java.lang.Override @@ -517,38 +570,39 @@ public com.google.container.v1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.TimeWindow) { - return mergeFrom((com.google.container.v1.TimeWindow)other); + return mergeFrom((com.google.container.v1.TimeWindow) other); } else { super.mergeFrom(other); return this; @@ -564,13 +618,15 @@ public Builder mergeFrom(com.google.container.v1.TimeWindow other) { mergeEndTime(other.getEndTime()); } switch (other.getOptionsCase()) { - case MAINTENANCE_EXCLUSION_OPTIONS: { - mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); - break; - } - case OPTIONS_NOT_SET: { - break; - } + case MAINTENANCE_EXCLUSION_OPTIONS: + { + mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); + break; + } + case OPTIONS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -598,33 +654,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), - extensionRegistry); - optionsCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + input.readMessage( + getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), extensionRegistry); + optionsCase_ = 3; + 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) { @@ -634,12 +689,12 @@ public Builder mergeFrom( } // finally return this; } + private int optionsCase_ = 0; private java.lang.Object options_; - public OptionsCase - getOptionsCase() { - return OptionsCase.forNumber( - optionsCase_); + + public OptionsCase getOptionsCase() { + return OptionsCase.forNumber(optionsCase_); } public Builder clearOptions() { @@ -649,16 +704,22 @@ public Builder clearOptions() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceExclusionOptions, com.google.container.v1.MaintenanceExclusionOptions.Builder, com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> maintenanceExclusionOptionsBuilder_; + com.google.container.v1.MaintenanceExclusionOptions, + com.google.container.v1.MaintenanceExclusionOptions.Builder, + com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> + maintenanceExclusionOptionsBuilder_; /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -666,12 +727,16 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return The maintenanceExclusionOptions. */ @java.lang.Override @@ -689,14 +754,18 @@ public com.google.container.v1.MaintenanceExclusionOptions getMaintenanceExclusi } } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - public Builder setMaintenanceExclusionOptions(com.google.container.v1.MaintenanceExclusionOptions value) { + public Builder setMaintenanceExclusionOptions( + com.google.container.v1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -710,12 +779,15 @@ public Builder setMaintenanceExclusionOptions(com.google.container.v1.Maintenanc return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ public Builder setMaintenanceExclusionOptions( com.google.container.v1.MaintenanceExclusionOptions.Builder builderForValue) { @@ -729,19 +801,27 @@ public Builder setMaintenanceExclusionOptions( return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - public Builder mergeMaintenanceExclusionOptions(com.google.container.v1.MaintenanceExclusionOptions value) { + public Builder mergeMaintenanceExclusionOptions( + com.google.container.v1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { - if (optionsCase_ == 3 && - options_ != com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) { - options_ = com.google.container.v1.MaintenanceExclusionOptions.newBuilder((com.google.container.v1.MaintenanceExclusionOptions) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 3 + && options_ + != com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance()) { + options_ = + com.google.container.v1.MaintenanceExclusionOptions.newBuilder( + (com.google.container.v1.MaintenanceExclusionOptions) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -757,12 +837,15 @@ public Builder mergeMaintenanceExclusionOptions(com.google.container.v1.Maintena return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ public Builder clearMaintenanceExclusionOptions() { if (maintenanceExclusionOptionsBuilder_ == null) { @@ -781,26 +864,34 @@ public Builder clearMaintenanceExclusionOptions() { return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - public com.google.container.v1.MaintenanceExclusionOptions.Builder getMaintenanceExclusionOptionsBuilder() { + public com.google.container.v1.MaintenanceExclusionOptions.Builder + getMaintenanceExclusionOptionsBuilder() { return getMaintenanceExclusionOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ @java.lang.Override - public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder + getMaintenanceExclusionOptionsOrBuilder() { if ((optionsCase_ == 3) && (maintenanceExclusionOptionsBuilder_ != null)) { return maintenanceExclusionOptionsBuilder_.getMessageOrBuilder(); } else { @@ -811,52 +902,70 @@ public com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenan } } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceExclusionOptions, com.google.container.v1.MaintenanceExclusionOptions.Builder, com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> + com.google.container.v1.MaintenanceExclusionOptions, + com.google.container.v1.MaintenanceExclusionOptions.Builder, + com.google.container.v1.MaintenanceExclusionOptionsOrBuilder> getMaintenanceExclusionOptionsFieldBuilder() { if (maintenanceExclusionOptionsBuilder_ == null) { if (!(optionsCase_ == 3)) { options_ = com.google.container.v1.MaintenanceExclusionOptions.getDefaultInstance(); } - maintenanceExclusionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.MaintenanceExclusionOptions, com.google.container.v1.MaintenanceExclusionOptions.Builder, com.google.container.v1.MaintenanceExclusionOptionsOrBuilder>( + maintenanceExclusionOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.MaintenanceExclusionOptions, + com.google.container.v1.MaintenanceExclusionOptions.Builder, + com.google.container.v1.MaintenanceExclusionOptionsOrBuilder>( (com.google.container.v1.MaintenanceExclusionOptions) options_, getParentForChildren(), isClean()); options_ = null; } optionsCase_ = 3; - onChanged();; + onChanged(); + ; return maintenanceExclusionOptionsBuilder_; } 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -867,6 +976,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time that the window first starts.
      * 
@@ -887,14 +998,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -905,6 +1017,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time that the window first starts.
      * 
@@ -915,7 +1029,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -927,6 +1041,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that the window first starts.
      * 
@@ -945,6 +1061,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time that the window first starts.
      * 
@@ -952,11 +1070,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time that the window first starts.
      * 
@@ -967,11 +1087,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The time that the window first starts.
      * 
@@ -979,14 +1100,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -994,26 +1118,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1024,6 +1157,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1045,6 +1180,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1052,8 +1189,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1064,6 +1200,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1075,7 +1213,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1087,6 +1225,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1106,6 +1246,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1114,11 +1256,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1130,11 +1274,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1143,21 +1288,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1167,12 +1315,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.TimeWindow)
   private static final com.google.container.v1.TimeWindow DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.TimeWindow();
   }
@@ -1181,27 +1329,27 @@ public static com.google.container.v1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TimeWindow parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TimeWindow parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1216,6 +1364,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
similarity index 72%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
index ad8e8591b31e..138f1df66a8c 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java
@@ -1,61 +1,97 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
 
 package com.google.container.v1;
 
-public interface TimeWindowOrBuilder extends
+public interface TimeWindowOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return Whether the maintenanceExclusionOptions field is set. */ boolean hasMaintenanceExclusionOptions(); /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return The maintenanceExclusionOptions. */ com.google.container.v1.MaintenanceExclusionOptions getMaintenanceExclusionOptions(); /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - com.google.container.v1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder(); + com.google.container.v1.MaintenanceExclusionOptionsOrBuilder + getMaintenanceExclusionOptionsOrBuilder(); /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time that the window first starts.
    * 
@@ -65,26 +101,34 @@ public interface TimeWindowOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
diff --git a/owl-bot-staging/java-container/v1/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
similarity index 67%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java
index cbb670d28055..0718c9533c22 100644
--- a/owl-bot-staging/java-container/v1/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
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * UpdateClusterRequest updates the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.UpdateClusterRequest) UpdateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -28,32 +46,35 @@ private UpdateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateClusterRequest.class, com.google.container.v1.UpdateClusterRequest.Builder.class); + com.google.container.v1.UpdateClusterRequest.class, + com.google.container.v1.UpdateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -61,24 +82,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -86,18 +110,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +132,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +142,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +171,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +193,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,11 +250,15 @@ protected java.lang.Object newInstance( public static final int UPDATE_FIELD_NUMBER = 4; private com.google.container.v1.ClusterUpdate update_; /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ @java.lang.Override @@ -228,11 +266,15 @@ public boolean hasUpdate() { return update_ != null; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ @java.lang.Override @@ -240,11 +282,14 @@ public com.google.container.v1.ClusterUpdate getUpdate() { return update_ == null ? com.google.container.v1.ClusterUpdate.getDefaultInstance() : update_; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { @@ -254,12 +299,15 @@ public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -268,30 +316,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -300,6 +348,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +360,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -347,8 +395,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -361,26 +408,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpdateClusterRequest)) { return super.equals(obj); } - com.google.container.v1.UpdateClusterRequest other = (com.google.container.v1.UpdateClusterRequest) obj; + com.google.container.v1.UpdateClusterRequest other = + (com.google.container.v1.UpdateClusterRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate() - .equals(other.getUpdate())) return false; + if (!getUpdate().equals(other.getUpdate())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -409,130 +452,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.UpdateClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpdateClusterRequest parseFrom( 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.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpdateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.UpdateClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpdateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.UpdateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpdateClusterRequest updates the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1.UpdateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.UpdateClusterRequest) com.google.container.v1.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateClusterRequest.class, com.google.container.v1.UpdateClusterRequest.Builder.class); + com.google.container.v1.UpdateClusterRequest.class, + com.google.container.v1.UpdateClusterRequest.Builder.class); } // Construct using com.google.container.v1.UpdateClusterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +603,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -575,7 +624,8 @@ public com.google.container.v1.UpdateClusterRequest build() { @java.lang.Override public com.google.container.v1.UpdateClusterRequest buildPartial() { - com.google.container.v1.UpdateClusterRequest result = new com.google.container.v1.UpdateClusterRequest(this); + com.google.container.v1.UpdateClusterRequest result = + new com.google.container.v1.UpdateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -593,38 +643,39 @@ public com.google.container.v1.UpdateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UpdateClusterRequest) { - return mergeFrom((com.google.container.v1.UpdateClusterRequest)other); + return mergeFrom((com.google.container.v1.UpdateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -678,39 +729,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -723,6 +778,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -730,15 +787,16 @@ 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=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -747,6 +805,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -754,17 +814,17 @@ 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=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -772,6 +832,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -779,22 +841,25 @@ 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=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -802,17 +867,21 @@ 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=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -820,18 +889,19 @@ 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=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -839,6 +909,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,15 +919,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,6 +937,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -872,17 +947,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -890,6 +965,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -898,22 +975,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -922,17 +1002,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -941,18 +1025,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -960,21 +1045,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -983,23 +1071,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1007,63 +1097,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1071,39 +1171,58 @@ public Builder mergeFrom( private com.google.container.v1.ClusterUpdate update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterUpdate, com.google.container.v1.ClusterUpdate.Builder, com.google.container.v1.ClusterUpdateOrBuilder> updateBuilder_; + com.google.container.v1.ClusterUpdate, + com.google.container.v1.ClusterUpdate.Builder, + com.google.container.v1.ClusterUpdateOrBuilder> + updateBuilder_; /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ public com.google.container.v1.ClusterUpdate getUpdate() { if (updateBuilder_ == null) { - return update_ == null ? com.google.container.v1.ClusterUpdate.getDefaultInstance() : update_; + return update_ == null + ? com.google.container.v1.ClusterUpdate.getDefaultInstance() + : update_; } else { return updateBuilder_.getMessage(); } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdate(com.google.container.v1.ClusterUpdate value) { if (updateBuilder_ == null) { @@ -1119,14 +1238,17 @@ public Builder setUpdate(com.google.container.v1.ClusterUpdate value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdate( - com.google.container.v1.ClusterUpdate.Builder builderForValue) { + public Builder setUpdate(com.google.container.v1.ClusterUpdate.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1137,17 +1259,23 @@ public Builder setUpdate( return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdate(com.google.container.v1.ClusterUpdate value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1.ClusterUpdate.newBuilder(update_).mergeFrom(value).buildPartial(); + com.google.container.v1.ClusterUpdate.newBuilder(update_) + .mergeFrom(value) + .buildPartial(); } else { update_ = value; } @@ -1159,11 +1287,15 @@ public Builder mergeUpdate(com.google.container.v1.ClusterUpdate value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1177,48 +1309,64 @@ public Builder clearUpdate() { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.ClusterUpdate.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null ? - com.google.container.v1.ClusterUpdate.getDefaultInstance() : update_; + return update_ == null + ? com.google.container.v1.ClusterUpdate.getDefaultInstance() + : update_; } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterUpdate, com.google.container.v1.ClusterUpdate.Builder, com.google.container.v1.ClusterUpdateOrBuilder> + com.google.container.v1.ClusterUpdate, + com.google.container.v1.ClusterUpdate.Builder, + com.google.container.v1.ClusterUpdateOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ClusterUpdate, com.google.container.v1.ClusterUpdate.Builder, com.google.container.v1.ClusterUpdateOrBuilder>( - getUpdate(), - getParentForChildren(), - isClean()); + updateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.ClusterUpdate, + com.google.container.v1.ClusterUpdate.Builder, + com.google.container.v1.ClusterUpdateOrBuilder>( + getUpdate(), getParentForChildren(), isClean()); update_ = null; } return updateBuilder_; @@ -1226,19 +1374,21 @@ public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1247,21 +1397,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1269,64 +1420,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1336,12 +1494,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.UpdateClusterRequest) private static final com.google.container.v1.UpdateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.UpdateClusterRequest(); } @@ -1350,27 +1508,27 @@ public static com.google.container.v1.UpdateClusterRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1385,6 +1543,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java index 4f8db7ed30fe..6c5b23eef4fc 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface UpdateClusterRequestOrBuilder extends +public interface UpdateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2179 + * + * @deprecated google.container.v1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2179 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,85 +87,109 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2185 + * + * @deprecated google.container.v1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2185 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2189 + * + * @deprecated google.container.v1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2189 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ com.google.container.v1.ClusterUpdate getUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index a720e33dc0cd..9ae2cc7bff8b 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * UpdateMasterRequest updates the master of the cluster.
  * 
* * Protobuf type {@code google.container.v1.UpdateMasterRequest} */ -public final class UpdateMasterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateMasterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.UpdateMasterRequest) UpdateMasterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateMasterRequest.newBuilder() to construct. private UpdateMasterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateMasterRequest() { projectId_ = ""; zone_ = ""; @@ -29,32 +47,35 @@ private UpdateMasterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateMasterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateMasterRequest.class, com.google.container.v1.UpdateMasterRequest.Builder.class); + com.google.container.v1.UpdateMasterRequest.class, + com.google.container.v1.UpdateMasterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -62,24 +83,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -87,18 +111,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +194,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +251,8 @@ protected java.lang.Object newInstance( public static final int MASTER_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object masterVersion_; /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -229,6 +265,7 @@ protected java.lang.Object newInstance(
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The masterVersion. */ @java.lang.Override @@ -237,14 +274,15 @@ public java.lang.String getMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -257,16 +295,15 @@ public java.lang.String getMasterVersion() {
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for masterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterVersionBytes() { + public com.google.protobuf.ByteString getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -277,12 +314,15 @@ public java.lang.String getMasterVersion() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -291,30 +331,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -323,6 +363,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +375,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -383,23 +423,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpdateMasterRequest)) { return super.equals(obj); } - com.google.container.v1.UpdateMasterRequest other = (com.google.container.v1.UpdateMasterRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getMasterVersion() - .equals(other.getMasterVersion())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1.UpdateMasterRequest other = + (com.google.container.v1.UpdateMasterRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getMasterVersion().equals(other.getMasterVersion())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -426,130 +462,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpdateMasterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.UpdateMasterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpdateMasterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateMasterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpdateMasterRequest parseFrom( 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.UpdateMasterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpdateMasterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.UpdateMasterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpdateMasterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpdateMasterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.UpdateMasterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.UpdateMasterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.UpdateMasterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpdateMasterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.UpdateMasterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpdateMasterRequest updates the master of the cluster.
    * 
* * Protobuf type {@code google.container.v1.UpdateMasterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.UpdateMasterRequest) com.google.container.v1.UpdateMasterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateMasterRequest.class, com.google.container.v1.UpdateMasterRequest.Builder.class); + com.google.container.v1.UpdateMasterRequest.class, + com.google.container.v1.UpdateMasterRequest.Builder.class); } // Construct using com.google.container.v1.UpdateMasterRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +609,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateMasterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateMasterRequest_descriptor; } @java.lang.Override @@ -588,7 +630,8 @@ public com.google.container.v1.UpdateMasterRequest build() { @java.lang.Override public com.google.container.v1.UpdateMasterRequest buildPartial() { - com.google.container.v1.UpdateMasterRequest result = new com.google.container.v1.UpdateMasterRequest(this); + com.google.container.v1.UpdateMasterRequest result = + new com.google.container.v1.UpdateMasterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -602,38 +645,39 @@ public com.google.container.v1.UpdateMasterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UpdateMasterRequest) { - return mergeFrom((com.google.container.v1.UpdateMasterRequest)other); + return mergeFrom((com.google.container.v1.UpdateMasterRequest) other); } else { super.mergeFrom(other); return this; @@ -688,37 +732,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - masterVersion_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + masterVersion_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 58: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 58: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,6 +781,8 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -738,15 +790,16 @@ 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=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -755,6 +808,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -762,17 +817,17 @@ 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=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -780,6 +835,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -787,22 +844,25 @@ 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=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -810,17 +870,21 @@ 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=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -828,18 +892,19 @@ 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=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -847,6 +912,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -855,15 +922,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -872,6 +940,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -880,17 +950,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -898,6 +968,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -906,22 +978,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -930,17 +1005,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -949,18 +1028,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -968,21 +1048,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -991,23 +1074,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1015,63 +1100,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1079,6 +1174,8 @@ public Builder mergeFrom( private java.lang.Object masterVersion_ = ""; /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1091,13 +1188,13 @@ public Builder mergeFrom(
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The masterVersion. */ public java.lang.String getMasterVersion() { java.lang.Object ref = masterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; @@ -1106,6 +1203,8 @@ public java.lang.String getMasterVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1118,15 +1217,14 @@ public java.lang.String getMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for masterVersion. */ - public com.google.protobuf.ByteString - getMasterVersionBytes() { + public com.google.protobuf.ByteString getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -1134,6 +1232,8 @@ public java.lang.String getMasterVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1146,20 +1246,22 @@ public java.lang.String getMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersion( - java.lang.String value) { + public Builder setMasterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterVersion_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1172,15 +1274,18 @@ public Builder setMasterVersion(
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMasterVersion() { - + masterVersion_ = getDefaultInstance().getMasterVersion(); onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -1193,16 +1298,16 @@ public Builder clearMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterVersion_ = value; onChanged(); return this; @@ -1210,19 +1315,21 @@ public Builder setMasterVersionBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1231,21 +1338,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1253,64 +1361,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1320,12 +1435,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.UpdateMasterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1.UpdateMasterRequest) private static final com.google.container.v1.UpdateMasterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.UpdateMasterRequest(); } @@ -1334,27 +1449,27 @@ public static com.google.container.v1.UpdateMasterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMasterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMasterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1369,6 +1484,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpdateMasterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/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 similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java index 94092f476ee9..b2fcc636afa3 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; -public interface UpdateMasterRequestOrBuilder extends +public interface UpdateMasterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpdateMasterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2461 + * + * @deprecated google.container.v1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2461 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +87,50 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2467 + * + * @deprecated google.container.v1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2467 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2471 + * + * @deprecated google.container.v1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2471 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -104,10 +143,13 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The masterVersion. */ java.lang.String getMasterVersion(); /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by Kubernetes Engine or
@@ -120,30 +162,35 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for masterVersion. */ - com.google.protobuf.ByteString - getMasterVersionBytes(); + com.google.protobuf.ByteString getMasterVersionBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1/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 similarity index 76% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index 8eaa783e3651..9e52e017dcbf 100644 --- a/owl-bot-staging/java-container/v1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * UpdateNodePoolRequests update a node pool's image and/or version.
  * 
* * Protobuf type {@code google.container.v1.UpdateNodePoolRequest} */ -public final class UpdateNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.UpdateNodePoolRequest) UpdateNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateNodePoolRequest.newBuilder() to construct. private UpdateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -32,32 +50,35 @@ private UpdateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateNodePoolRequest.class, com.google.container.v1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1.UpdateNodePoolRequest.class, + com.google.container.v1.UpdateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -65,24 +86,27 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -90,18 +114,18 @@ protected java.lang.Object newInstance(
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -112,6 +136,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -120,24 +146,27 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,18 +175,18 @@ protected java.lang.Object newInstance(
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -168,48 +197,53 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -220,48 +254,53 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -272,6 +311,8 @@ protected java.lang.Object newInstance( public static final int NODE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object nodeVersion_; /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -285,6 +326,7 @@ protected java.lang.Object newInstance(
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeVersion. */ @java.lang.Override @@ -293,14 +335,15 @@ public java.lang.String getNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -314,16 +357,15 @@ public java.lang.String getNodeVersion() {
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for nodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -334,11 +376,14 @@ public java.lang.String getNodeVersion() { public static final int IMAGE_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object imageType_; /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageType. */ @java.lang.Override @@ -347,29 +392,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -380,6 +425,8 @@ public java.lang.String getImageType() { public static final int NAME_FIELD_NUMBER = 8; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -387,6 +434,7 @@ public java.lang.String getImageType() {
    * 
* * string name = 8; + * * @return The name. */ @java.lang.Override @@ -395,14 +443,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -410,16 +459,15 @@ public java.lang.String getName() {
    * 
* * string name = 8; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -430,6 +478,8 @@ public java.lang.String getName() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -439,13 +489,15 @@ public java.lang.String getName() {
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -455,12 +507,15 @@ public java.lang.String getName() {
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -470,6 +525,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -477,6 +533,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -486,22 +544,25 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -509,18 +570,25 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
@@ -528,18 +596,22 @@ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig( * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 15; private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -547,18 +619,25 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -573,6 +652,8 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti public static final int TAGS_FIELD_NUMBER = 16; private com.google.container.v1.NetworkTags tags_; /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -580,6 +661,7 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti
    * 
* * .google.container.v1.NetworkTags tags = 16; + * * @return Whether the tags field is set. */ @java.lang.Override @@ -587,6 +669,8 @@ public boolean hasTags() { return tags_ != null; } /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -594,6 +678,7 @@ public boolean hasTags() {
    * 
* * .google.container.v1.NetworkTags tags = 16; + * * @return The tags. */ @java.lang.Override @@ -601,6 +686,8 @@ public com.google.container.v1.NetworkTags getTags() { return tags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : tags_; } /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -617,6 +704,8 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
   public static final int TAINTS_FIELD_NUMBER = 17;
   private com.google.container.v1.NodeTaints taints_;
   /**
+   *
+   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -624,6 +713,7 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
    * 
* * .google.container.v1.NodeTaints taints = 17; + * * @return Whether the taints field is set. */ @java.lang.Override @@ -631,6 +721,8 @@ public boolean hasTaints() { return taints_ != null; } /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -638,6 +730,7 @@ public boolean hasTaints() {
    * 
* * .google.container.v1.NodeTaints taints = 17; + * * @return The taints. */ @java.lang.Override @@ -645,6 +738,8 @@ public com.google.container.v1.NodeTaints getTaints() { return taints_ == null ? com.google.container.v1.NodeTaints.getDefaultInstance() : taints_; } /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -661,6 +756,8 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
   public static final int LABELS_FIELD_NUMBER = 18;
   private com.google.container.v1.NodeLabels labels_;
   /**
+   *
+   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -668,6 +765,7 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
    * 
* * .google.container.v1.NodeLabels labels = 18; + * * @return Whether the labels field is set. */ @java.lang.Override @@ -675,6 +773,8 @@ public boolean hasLabels() { return labels_ != null; } /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -682,6 +782,7 @@ public boolean hasLabels() {
    * 
* * .google.container.v1.NodeLabels labels = 18; + * * @return The labels. */ @java.lang.Override @@ -689,6 +790,8 @@ public com.google.container.v1.NodeLabels getLabels() { return labels_ == null ? com.google.container.v1.NodeLabels.getDefaultInstance() : labels_; } /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -705,11 +808,14 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
   public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 19;
   private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_;
   /**
+   *
+   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -717,18 +823,25 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -743,11 +856,14 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil public static final int KUBELET_CONFIG_FIELD_NUMBER = 20; private com.google.container.v1.NodeKubeletConfig kubeletConfig_; /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; + * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -755,18 +871,25 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; + * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } /** + * + * *
    * Node kubelet configs.
    * 
@@ -781,11 +904,14 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil public static final int NODE_NETWORK_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1.NodeNetworkConfig nodeNetworkConfig_; /** + * + * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * * @return Whether the nodeNetworkConfig field is set. */ @java.lang.Override @@ -793,18 +919,25 @@ public boolean hasNodeNetworkConfig() { return nodeNetworkConfig_ != null; } /** + * + * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * * @return The nodeNetworkConfig. */ @java.lang.Override public com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig() { - return nodeNetworkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; + return nodeNetworkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; } /** + * + * *
    * Node network config.
    * 
@@ -819,11 +952,14 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr public static final int GCFS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1.GcfsConfig gcfsConfig_; /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; + * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -831,18 +967,25 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; + * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } /** + * + * *
    * GCFS config.
    * 
@@ -857,12 +1000,15 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 23; private com.google.container.v1.ConfidentialNodes confidentialNodes_; /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -870,19 +1016,26 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -898,11 +1051,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
   public static final int GVNIC_FIELD_NUMBER = 29;
   private com.google.container.v1.VirtualNIC gvnic_;
   /**
+   *
+   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -910,11 +1066,14 @@ public boolean hasGvnic() { return gvnic_ != null; } /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ @java.lang.Override @@ -922,6 +1081,8 @@ public com.google.container.v1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -936,11 +1097,14 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { public static final int FAST_SOCKET_FIELD_NUMBER = 31; private com.google.container.v1.FastSocket fastSocket_; /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; + * * @return Whether the fastSocket field is set. */ @java.lang.Override @@ -948,18 +1112,25 @@ public boolean hasFastSocket() { return fastSocket_ != null; } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; + * * @return The fastSocket. */ @java.lang.Override public com.google.container.v1.FastSocket getFastSocket() { - return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1.FastSocket.getDefaultInstance() + : fastSocket_; } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -974,11 +1145,14 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { public static final int LOGGING_CONFIG_FIELD_NUMBER = 32; private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -986,18 +1160,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration.
    * 
@@ -1012,12 +1193,15 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr public static final int RESOURCE_LABELS_FIELD_NUMBER = 33; private com.google.container.v1.ResourceLabels resourceLabels_; /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; + * * @return Whether the resourceLabels field is set. */ @java.lang.Override @@ -1025,19 +1209,26 @@ public boolean hasResourceLabels() { return resourceLabels_ != null; } /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; + * * @return The resourceLabels. */ @java.lang.Override public com.google.container.v1.ResourceLabels getResourceLabels() { - return resourceLabels_ == null ? com.google.container.v1.ResourceLabels.getDefaultInstance() : resourceLabels_; + return resourceLabels_ == null + ? com.google.container.v1.ResourceLabels.getDefaultInstance() + : resourceLabels_; } /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1051,6 +1242,7 @@ public com.google.container.v1.ResourceLabelsOrBuilder getResourceLabelsOrBuilde
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1062,8 +1254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
@@ -1169,60 +1360,47 @@ public int getSerializedSize() {
       size += 1 * getLocationsList().size();
     }
     if (workloadMetadataConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(14, getWorkloadMetadataConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig());
     }
     if (upgradeSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(15, getUpgradeSettings());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getUpgradeSettings());
     }
     if (tags_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(16, getTags());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getTags());
     }
     if (taints_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(17, getTaints());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getTaints());
     }
     if (labels_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(18, getLabels());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLabels());
     }
     if (linuxNodeConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(19, getLinuxNodeConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLinuxNodeConfig());
     }
     if (kubeletConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(20, getKubeletConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getKubeletConfig());
     }
     if (nodeNetworkConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(21, getNodeNetworkConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getNodeNetworkConfig());
     }
     if (gcfsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(22, getGcfsConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getGcfsConfig());
     }
     if (confidentialNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(23, getConfidentialNodes());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getConfidentialNodes());
     }
     if (gvnic_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(29, getGvnic());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic());
     }
     if (fastSocket_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(31, getFastSocket());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(31, getFastSocket());
     }
     if (loggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(32, getLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, getLoggingConfig());
     }
     if (resourceLabels_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(33, getResourceLabels());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(33, getResourceLabels());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1232,98 +1410,77 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1.UpdateNodePoolRequest)) {
       return super.equals(obj);
     }
-    com.google.container.v1.UpdateNodePoolRequest other = (com.google.container.v1.UpdateNodePoolRequest) obj;
-
-    if (!getProjectId()
-        .equals(other.getProjectId())) return false;
-    if (!getZone()
-        .equals(other.getZone())) return false;
-    if (!getClusterId()
-        .equals(other.getClusterId())) return false;
-    if (!getNodePoolId()
-        .equals(other.getNodePoolId())) return false;
-    if (!getNodeVersion()
-        .equals(other.getNodeVersion())) return false;
-    if (!getImageType()
-        .equals(other.getImageType())) return false;
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getLocationsList()
-        .equals(other.getLocationsList())) return false;
+    com.google.container.v1.UpdateNodePoolRequest other =
+        (com.google.container.v1.UpdateNodePoolRequest) obj;
+
+    if (!getProjectId().equals(other.getProjectId())) return false;
+    if (!getZone().equals(other.getZone())) return false;
+    if (!getClusterId().equals(other.getClusterId())) return false;
+    if (!getNodePoolId().equals(other.getNodePoolId())) return false;
+    if (!getNodeVersion().equals(other.getNodeVersion())) return false;
+    if (!getImageType().equals(other.getImageType())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getLocationsList().equals(other.getLocationsList())) return false;
     if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false;
     if (hasWorkloadMetadataConfig()) {
-      if (!getWorkloadMetadataConfig()
-          .equals(other.getWorkloadMetadataConfig())) return false;
+      if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false;
     }
     if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false;
     if (hasUpgradeSettings()) {
-      if (!getUpgradeSettings()
-          .equals(other.getUpgradeSettings())) return false;
+      if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false;
     }
     if (hasTags() != other.hasTags()) return false;
     if (hasTags()) {
-      if (!getTags()
-          .equals(other.getTags())) return false;
+      if (!getTags().equals(other.getTags())) return false;
     }
     if (hasTaints() != other.hasTaints()) return false;
     if (hasTaints()) {
-      if (!getTaints()
-          .equals(other.getTaints())) return false;
+      if (!getTaints().equals(other.getTaints())) return false;
     }
     if (hasLabels() != other.hasLabels()) return false;
     if (hasLabels()) {
-      if (!getLabels()
-          .equals(other.getLabels())) return false;
+      if (!getLabels().equals(other.getLabels())) return false;
     }
     if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false;
     if (hasLinuxNodeConfig()) {
-      if (!getLinuxNodeConfig()
-          .equals(other.getLinuxNodeConfig())) return false;
+      if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false;
     }
     if (hasKubeletConfig() != other.hasKubeletConfig()) return false;
     if (hasKubeletConfig()) {
-      if (!getKubeletConfig()
-          .equals(other.getKubeletConfig())) return false;
+      if (!getKubeletConfig().equals(other.getKubeletConfig())) return false;
     }
     if (hasNodeNetworkConfig() != other.hasNodeNetworkConfig()) return false;
     if (hasNodeNetworkConfig()) {
-      if (!getNodeNetworkConfig()
-          .equals(other.getNodeNetworkConfig())) return false;
+      if (!getNodeNetworkConfig().equals(other.getNodeNetworkConfig())) return false;
     }
     if (hasGcfsConfig() != other.hasGcfsConfig()) return false;
     if (hasGcfsConfig()) {
-      if (!getGcfsConfig()
-          .equals(other.getGcfsConfig())) return false;
+      if (!getGcfsConfig().equals(other.getGcfsConfig())) return false;
     }
     if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false;
     if (hasConfidentialNodes()) {
-      if (!getConfidentialNodes()
-          .equals(other.getConfidentialNodes())) return false;
+      if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false;
     }
     if (hasGvnic() != other.hasGvnic()) return false;
     if (hasGvnic()) {
-      if (!getGvnic()
-          .equals(other.getGvnic())) return false;
+      if (!getGvnic().equals(other.getGvnic())) return false;
     }
     if (hasFastSocket() != other.hasFastSocket()) return false;
     if (hasFastSocket()) {
-      if (!getFastSocket()
-          .equals(other.getFastSocket())) return false;
+      if (!getFastSocket().equals(other.getFastSocket())) return false;
     }
     if (hasLoggingConfig() != other.hasLoggingConfig()) return false;
     if (hasLoggingConfig()) {
-      if (!getLoggingConfig()
-          .equals(other.getLoggingConfig())) return false;
+      if (!getLoggingConfig().equals(other.getLoggingConfig())) return false;
     }
     if (hasResourceLabels() != other.hasResourceLabels()) return false;
     if (hasResourceLabels()) {
-      if (!getResourceLabels()
-          .equals(other.getResourceLabels())) return false;
+      if (!getResourceLabels().equals(other.getResourceLabels())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1415,130 +1572,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1.UpdateNodePoolRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
       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.UpdateNodePoolRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1.UpdateNodePoolRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1.UpdateNodePoolRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1.UpdateNodePoolRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * UpdateNodePoolRequests update a node pool's image and/or version.
    * 
* * Protobuf type {@code google.container.v1.UpdateNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.UpdateNodePoolRequest) com.google.container.v1.UpdateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UpdateNodePoolRequest.class, com.google.container.v1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1.UpdateNodePoolRequest.class, + com.google.container.v1.UpdateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1.UpdateNodePoolRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1646,9 +1809,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; } @java.lang.Override @@ -1667,7 +1830,8 @@ public com.google.container.v1.UpdateNodePoolRequest build() { @java.lang.Override public com.google.container.v1.UpdateNodePoolRequest buildPartial() { - com.google.container.v1.UpdateNodePoolRequest result = new com.google.container.v1.UpdateNodePoolRequest(this); + com.google.container.v1.UpdateNodePoolRequest result = + new com.google.container.v1.UpdateNodePoolRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -1759,38 +1923,39 @@ public com.google.container.v1.UpdateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UpdateNodePoolRequest) { - return mergeFrom((com.google.container.v1.UpdateNodePoolRequest)other); + return mergeFrom((com.google.container.v1.UpdateNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -1905,151 +2070,149 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - nodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - imageType_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 66: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 114: { - input.readMessage( - getWorkloadMetadataConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 114 - case 122: { - input.readMessage( - getUpgradeSettingsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 122 - case 130: { - input.readMessage( - getTagsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 130 - case 138: { - input.readMessage( - getTaintsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 138 - case 146: { - input.readMessage( - getLabelsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 146 - case 154: { - input.readMessage( - getLinuxNodeConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 154 - case 162: { - input.readMessage( - getKubeletConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 162 - case 170: { - input.readMessage( - getNodeNetworkConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 170 - case 178: { - input.readMessage( - getGcfsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 178 - case 186: { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 186 - case 234: { - input.readMessage( - getGvnicFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 234 - case 250: { - input.readMessage( - getFastSocketFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 250 - case 258: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 258 - case 266: { - input.readMessage( - getResourceLabelsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 266 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + nodeVersion_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + imageType_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 66: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 106 + case 114: + { + input.readMessage( + getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 114 + case 122: + { + input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 122 + case 130: + { + input.readMessage(getTagsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 130 + case 138: + { + input.readMessage(getTaintsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 138 + case 146: + { + input.readMessage(getLabelsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 146 + case 154: + { + input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 154 + case 162: + { + input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 162 + case 170: + { + input.readMessage( + getNodeNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 170 + case 178: + { + input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 178 + case 186: + { + input.readMessage( + getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 186 + case 234: + { + input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 234 + case 250: + { + input.readMessage(getFastSocketFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 250 + case 258: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 258 + case 266: + { + input.readMessage(getResourceLabelsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 266 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2059,10 +2222,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2070,15 +2236,16 @@ 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=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2087,6 +2254,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2094,17 +2263,17 @@ 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=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -2112,6 +2281,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2119,22 +2290,25 @@ 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=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2142,17 +2316,21 @@ 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=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -2160,18 +2338,19 @@ 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=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -2179,6 +2358,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2187,15 +2368,16 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2204,6 +2386,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2212,17 +2396,17 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -2230,6 +2414,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2238,22 +2424,25 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2262,17 +2451,21 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2281,18 +2474,19 @@ public Builder mergeFrom(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2300,21 +2494,24 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -2323,23 +2520,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -2347,63 +2546,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -2411,21 +2620,24 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -2434,23 +2646,25 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -2458,63 +2672,73 @@ public Builder mergeFrom( } } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -2522,6 +2746,8 @@ public Builder mergeFrom( private java.lang.Object nodeVersion_ = ""; /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2535,13 +2761,13 @@ public Builder mergeFrom(
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; @@ -2550,6 +2776,8 @@ public java.lang.String getNodeVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2563,15 +2791,14 @@ public java.lang.String getNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for nodeVersion. */ - public com.google.protobuf.ByteString - getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -2579,6 +2806,8 @@ public java.lang.String getNodeVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2592,20 +2821,22 @@ public java.lang.String getNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersion( - java.lang.String value) { + public Builder setNodeVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeVersion_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2619,15 +2850,18 @@ public Builder setNodeVersion(
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNodeVersion() { - + nodeVersion_ = getDefaultInstance().getNodeVersion(); onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2641,16 +2875,16 @@ public Builder clearNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeVersion_ = value; onChanged(); return this; @@ -2658,18 +2892,20 @@ public Builder setNodeVersionBytes( private java.lang.Object imageType_ = ""; /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2678,20 +2914,21 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -2699,54 +2936,61 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -2754,6 +2998,8 @@ public Builder setImageTypeBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -2761,13 +3007,13 @@ public Builder setImageTypeBytes(
      * 
* * string name = 8; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2776,6 +3022,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -2783,15 +3031,14 @@ public java.lang.String getName() {
      * 
* * string name = 8; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2799,6 +3046,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -2806,20 +3055,22 @@ public java.lang.String getName() {
      * 
* * string name = 8; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -2827,15 +3078,18 @@ public Builder setName(
      * 
* * string name = 8; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -2843,29 +3097,33 @@ public Builder clearName() {
      * 
* * string name = 8; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList locations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2875,13 +3133,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2891,12 +3151,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2906,6 +3169,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -2913,6 +3177,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2922,14 +3188,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2939,21 +3207,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2963,20 +3233,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 13; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2986,18 +3258,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 13; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3007,6 +3280,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 13; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -3016,6 +3290,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -3025,15 +3301,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -3042,34 +3318,47 @@ public Builder addLocationsBytes( private com.google.container.v1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; + com.google.container.v1.WorkloadMetadataConfig, + com.google.container.v1.WorkloadMetadataConfig.Builder, + com.google.container.v1.WorkloadMetadataConfigOrBuilder> + workloadMetadataConfigBuilder_; /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ public com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3090,6 +3379,8 @@ public Builder setWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadat return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3108,17 +3399,22 @@ public Builder setWorkloadMetadataConfig( return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig(com.google.container.v1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig( + com.google.container.v1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -3130,6 +3426,8 @@ public Builder mergeWorkloadMetadataConfig(com.google.container.v1.WorkloadMetad return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3148,33 +3446,42 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1.WorkloadMetadataConfig.Builder + getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null ? - com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3182,14 +3489,17 @@ public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetada * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1.WorkloadMetadataConfig, + com.google.container.v1.WorkloadMetadataConfig.Builder, + com.google.container.v1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.WorkloadMetadataConfig, com.google.container.v1.WorkloadMetadataConfig.Builder, com.google.container.v1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), - getParentForChildren(), - isClean()); + workloadMetadataConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.WorkloadMetadataConfig, + com.google.container.v1.WorkloadMetadataConfig.Builder, + com.google.container.v1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), getParentForChildren(), isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; @@ -3197,34 +3507,47 @@ public com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetada private com.google.container.v1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + upgradeSettingsBuilder_; /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return The upgradeSettings. */ public com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3245,6 +3568,8 @@ public Builder setUpgradeSettings(com.google.container.v1.NodePool.UpgradeSettin return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3263,6 +3588,8 @@ public Builder setUpgradeSettings( return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3273,7 +3600,9 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) + .mergeFrom(value) + .buildPartial(); } else { upgradeSettings_ = value; } @@ -3285,6 +3614,8 @@ public Builder mergeUpgradeSettings(com.google.container.v1.NodePool.UpgradeSett return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3303,6 +3634,8 @@ public Builder clearUpgradeSettings() { return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3310,11 +3643,13 @@ public Builder clearUpgradeSettings() { * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; */ public com.google.container.v1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3325,11 +3660,14 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null ? - com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3337,14 +3675,17 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePool.UpgradeSettings, com.google.container.v1.NodePool.UpgradeSettings.Builder, com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), - getParentForChildren(), - isClean()); + upgradeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePool.UpgradeSettings, + com.google.container.v1.NodePool.UpgradeSettings.Builder, + com.google.container.v1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), getParentForChildren(), isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -3352,8 +3693,13 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti private com.google.container.v1.NetworkTags tags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> tagsBuilder_; + com.google.container.v1.NetworkTags, + com.google.container.v1.NetworkTags.Builder, + com.google.container.v1.NetworkTagsOrBuilder> + tagsBuilder_; /** + * + * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3361,12 +3707,15 @@ public com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSetti
      * 
* * .google.container.v1.NetworkTags tags = 16; + * * @return Whether the tags field is set. */ public boolean hasTags() { return tagsBuilder_ != null || tags_ != null; } /** + * + * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3374,6 +3723,7 @@ public boolean hasTags() {
      * 
* * .google.container.v1.NetworkTags tags = 16; + * * @return The tags. */ public com.google.container.v1.NetworkTags getTags() { @@ -3384,6 +3734,8 @@ public com.google.container.v1.NetworkTags getTags() { } } /** + * + * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3406,6 +3758,8 @@ public Builder setTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3414,8 +3768,7 @@ public Builder setTags(com.google.container.v1.NetworkTags value) {
      *
      * .google.container.v1.NetworkTags tags = 16;
      */
-    public Builder setTags(
-        com.google.container.v1.NetworkTags.Builder builderForValue) {
+    public Builder setTags(com.google.container.v1.NetworkTags.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         tags_ = builderForValue.build();
         onChanged();
@@ -3426,6 +3779,8 @@ public Builder setTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3438,7 +3793,7 @@ public Builder mergeTags(com.google.container.v1.NetworkTags value) {
       if (tagsBuilder_ == null) {
         if (tags_ != null) {
           tags_ =
-            com.google.container.v1.NetworkTags.newBuilder(tags_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NetworkTags.newBuilder(tags_).mergeFrom(value).buildPartial();
         } else {
           tags_ = value;
         }
@@ -3450,6 +3805,8 @@ public Builder mergeTags(com.google.container.v1.NetworkTags value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3470,6 +3827,8 @@ public Builder clearTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3479,11 +3838,13 @@ public Builder clearTags() {
      * .google.container.v1.NetworkTags tags = 16;
      */
     public com.google.container.v1.NetworkTags.Builder getTagsBuilder() {
-      
+
       onChanged();
       return getTagsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3496,11 +3857,12 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
       if (tagsBuilder_ != null) {
         return tagsBuilder_.getMessageOrBuilder();
       } else {
-        return tags_ == null ?
-            com.google.container.v1.NetworkTags.getDefaultInstance() : tags_;
+        return tags_ == null ? com.google.container.v1.NetworkTags.getDefaultInstance() : tags_;
       }
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3510,14 +3872,17 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * .google.container.v1.NetworkTags tags = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder> 
+            com.google.container.v1.NetworkTags,
+            com.google.container.v1.NetworkTags.Builder,
+            com.google.container.v1.NetworkTagsOrBuilder>
         getTagsFieldBuilder() {
       if (tagsBuilder_ == null) {
-        tagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NetworkTags, com.google.container.v1.NetworkTags.Builder, com.google.container.v1.NetworkTagsOrBuilder>(
-                getTags(),
-                getParentForChildren(),
-                isClean());
+        tagsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NetworkTags,
+                com.google.container.v1.NetworkTags.Builder,
+                com.google.container.v1.NetworkTagsOrBuilder>(
+                getTags(), getParentForChildren(), isClean());
         tags_ = null;
       }
       return tagsBuilder_;
@@ -3525,8 +3890,13 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
 
     private com.google.container.v1.NodeTaints taints_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodeTaints, com.google.container.v1.NodeTaints.Builder, com.google.container.v1.NodeTaintsOrBuilder> taintsBuilder_;
+            com.google.container.v1.NodeTaints,
+            com.google.container.v1.NodeTaints.Builder,
+            com.google.container.v1.NodeTaintsOrBuilder>
+        taintsBuilder_;
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3534,12 +3904,15 @@ public com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * 
* * .google.container.v1.NodeTaints taints = 17; + * * @return Whether the taints field is set. */ public boolean hasTaints() { return taintsBuilder_ != null || taints_ != null; } /** + * + * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3547,6 +3920,7 @@ public boolean hasTaints() {
      * 
* * .google.container.v1.NodeTaints taints = 17; + * * @return The taints. */ public com.google.container.v1.NodeTaints getTaints() { @@ -3557,6 +3931,8 @@ public com.google.container.v1.NodeTaints getTaints() { } } /** + * + * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3579,6 +3955,8 @@ public Builder setTaints(com.google.container.v1.NodeTaints value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3587,8 +3965,7 @@ public Builder setTaints(com.google.container.v1.NodeTaints value) {
      *
      * .google.container.v1.NodeTaints taints = 17;
      */
-    public Builder setTaints(
-        com.google.container.v1.NodeTaints.Builder builderForValue) {
+    public Builder setTaints(com.google.container.v1.NodeTaints.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         taints_ = builderForValue.build();
         onChanged();
@@ -3599,6 +3976,8 @@ public Builder setTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3611,7 +3990,9 @@ public Builder mergeTaints(com.google.container.v1.NodeTaints value) {
       if (taintsBuilder_ == null) {
         if (taints_ != null) {
           taints_ =
-            com.google.container.v1.NodeTaints.newBuilder(taints_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodeTaints.newBuilder(taints_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           taints_ = value;
         }
@@ -3623,6 +4004,8 @@ public Builder mergeTaints(com.google.container.v1.NodeTaints value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3643,6 +4026,8 @@ public Builder clearTaints() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3652,11 +4037,13 @@ public Builder clearTaints() {
      * .google.container.v1.NodeTaints taints = 17;
      */
     public com.google.container.v1.NodeTaints.Builder getTaintsBuilder() {
-      
+
       onChanged();
       return getTaintsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3669,11 +4056,12 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilder();
       } else {
-        return taints_ == null ?
-            com.google.container.v1.NodeTaints.getDefaultInstance() : taints_;
+        return taints_ == null ? com.google.container.v1.NodeTaints.getDefaultInstance() : taints_;
       }
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3683,14 +4071,17 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * .google.container.v1.NodeTaints taints = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodeTaints, com.google.container.v1.NodeTaints.Builder, com.google.container.v1.NodeTaintsOrBuilder> 
+            com.google.container.v1.NodeTaints,
+            com.google.container.v1.NodeTaints.Builder,
+            com.google.container.v1.NodeTaintsOrBuilder>
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeTaints, com.google.container.v1.NodeTaints.Builder, com.google.container.v1.NodeTaintsOrBuilder>(
-                getTaints(),
-                getParentForChildren(),
-                isClean());
+        taintsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodeTaints,
+                com.google.container.v1.NodeTaints.Builder,
+                com.google.container.v1.NodeTaintsOrBuilder>(
+                getTaints(), getParentForChildren(), isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -3698,8 +4089,13 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
 
     private com.google.container.v1.NodeLabels labels_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodeLabels, com.google.container.v1.NodeLabels.Builder, com.google.container.v1.NodeLabelsOrBuilder> labelsBuilder_;
+            com.google.container.v1.NodeLabels,
+            com.google.container.v1.NodeLabels.Builder,
+            com.google.container.v1.NodeLabelsOrBuilder>
+        labelsBuilder_;
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3707,12 +4103,15 @@ public com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * 
* * .google.container.v1.NodeLabels labels = 18; + * * @return Whether the labels field is set. */ public boolean hasLabels() { return labelsBuilder_ != null || labels_ != null; } /** + * + * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3720,6 +4119,7 @@ public boolean hasLabels() {
      * 
* * .google.container.v1.NodeLabels labels = 18; + * * @return The labels. */ public com.google.container.v1.NodeLabels getLabels() { @@ -3730,6 +4130,8 @@ public com.google.container.v1.NodeLabels getLabels() { } } /** + * + * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3752,6 +4154,8 @@ public Builder setLabels(com.google.container.v1.NodeLabels value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3760,8 +4164,7 @@ public Builder setLabels(com.google.container.v1.NodeLabels value) {
      *
      * .google.container.v1.NodeLabels labels = 18;
      */
-    public Builder setLabels(
-        com.google.container.v1.NodeLabels.Builder builderForValue) {
+    public Builder setLabels(com.google.container.v1.NodeLabels.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         labels_ = builderForValue.build();
         onChanged();
@@ -3772,6 +4175,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3784,7 +4189,9 @@ public Builder mergeLabels(com.google.container.v1.NodeLabels value) {
       if (labelsBuilder_ == null) {
         if (labels_ != null) {
           labels_ =
-            com.google.container.v1.NodeLabels.newBuilder(labels_).mergeFrom(value).buildPartial();
+              com.google.container.v1.NodeLabels.newBuilder(labels_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           labels_ = value;
         }
@@ -3796,6 +4203,8 @@ public Builder mergeLabels(com.google.container.v1.NodeLabels value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3816,6 +4225,8 @@ public Builder clearLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3825,11 +4236,13 @@ public Builder clearLabels() {
      * .google.container.v1.NodeLabels labels = 18;
      */
     public com.google.container.v1.NodeLabels.Builder getLabelsBuilder() {
-      
+
       onChanged();
       return getLabelsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3842,11 +4255,12 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilder();
       } else {
-        return labels_ == null ?
-            com.google.container.v1.NodeLabels.getDefaultInstance() : labels_;
+        return labels_ == null ? com.google.container.v1.NodeLabels.getDefaultInstance() : labels_;
       }
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3856,14 +4270,17 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
      * .google.container.v1.NodeLabels labels = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.NodeLabels, com.google.container.v1.NodeLabels.Builder, com.google.container.v1.NodeLabelsOrBuilder> 
+            com.google.container.v1.NodeLabels,
+            com.google.container.v1.NodeLabels.Builder,
+            com.google.container.v1.NodeLabelsOrBuilder>
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.NodeLabels, com.google.container.v1.NodeLabels.Builder, com.google.container.v1.NodeLabelsOrBuilder>(
-                getLabels(),
-                getParentForChildren(),
-                isClean());
+        labelsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.NodeLabels,
+                com.google.container.v1.NodeLabels.Builder,
+                com.google.container.v1.NodeLabelsOrBuilder>(
+                getLabels(), getParentForChildren(), isClean());
         labels_ = null;
       }
       return labelsBuilder_;
@@ -3871,34 +4288,47 @@ public com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder() {
 
     private com.google.container.v1.LinuxNodeConfig linuxNodeConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_;
+            com.google.container.v1.LinuxNodeConfig,
+            com.google.container.v1.LinuxNodeConfig.Builder,
+            com.google.container.v1.LinuxNodeConfigOrBuilder>
+        linuxNodeConfigBuilder_;
     /**
+     *
+     *
      * 
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * * @return The linuxNodeConfig. */ public com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3919,6 +4349,8 @@ public Builder setLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig value) return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3937,6 +4369,8 @@ public Builder setLinuxNodeConfig( return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3947,7 +4381,9 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) + .mergeFrom(value) + .buildPartial(); } else { linuxNodeConfig_ = value; } @@ -3959,6 +4395,8 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1.LinuxNodeConfig valu return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3977,6 +4415,8 @@ public Builder clearLinuxNodeConfig() { return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3984,11 +4424,13 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1.LinuxNodeConfig linux_node_config = 19; */ public com.google.container.v1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3999,11 +4441,14 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null ? - com.google.container.v1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4011,14 +4456,17 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil * .google.container.v1.LinuxNodeConfig linux_node_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder> + com.google.container.v1.LinuxNodeConfig, + com.google.container.v1.LinuxNodeConfig.Builder, + com.google.container.v1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.LinuxNodeConfig, com.google.container.v1.LinuxNodeConfig.Builder, com.google.container.v1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), - getParentForChildren(), - isClean()); + linuxNodeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.LinuxNodeConfig, + com.google.container.v1.LinuxNodeConfig.Builder, + com.google.container.v1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), getParentForChildren(), isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -4026,34 +4474,47 @@ public com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuil private com.google.container.v1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; + com.google.container.v1.NodeKubeletConfig, + com.google.container.v1.NodeKubeletConfig.Builder, + com.google.container.v1.NodeKubeletConfigOrBuilder> + kubeletConfigBuilder_; /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; + * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; + * * @return The kubeletConfig. */ public com.google.container.v1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4074,6 +4535,8 @@ public Builder setKubeletConfig(com.google.container.v1.NodeKubeletConfig value) return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4092,6 +4555,8 @@ public Builder setKubeletConfig( return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4102,7 +4567,9 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeKubeletConfig.newBuilder(kubeletConfig_) + .mergeFrom(value) + .buildPartial(); } else { kubeletConfig_ = value; } @@ -4114,6 +4581,8 @@ public Builder mergeKubeletConfig(com.google.container.v1.NodeKubeletConfig valu return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4132,6 +4601,8 @@ public Builder clearKubeletConfig() { return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4139,11 +4610,13 @@ public Builder clearKubeletConfig() { * .google.container.v1.NodeKubeletConfig kubelet_config = 20; */ public com.google.container.v1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4154,11 +4627,14 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null ? - com.google.container.v1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4166,14 +4642,17 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil * .google.container.v1.NodeKubeletConfig kubelet_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder> + com.google.container.v1.NodeKubeletConfig, + com.google.container.v1.NodeKubeletConfig.Builder, + com.google.container.v1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeKubeletConfig, com.google.container.v1.NodeKubeletConfig.Builder, com.google.container.v1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), - getParentForChildren(), - isClean()); + kubeletConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeKubeletConfig, + com.google.container.v1.NodeKubeletConfig.Builder, + com.google.container.v1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), getParentForChildren(), isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -4181,34 +4660,47 @@ public com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuil private com.google.container.v1.NodeNetworkConfig nodeNetworkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> nodeNetworkConfigBuilder_; + com.google.container.v1.NodeNetworkConfig, + com.google.container.v1.NodeNetworkConfig.Builder, + com.google.container.v1.NodeNetworkConfigOrBuilder> + nodeNetworkConfigBuilder_; /** + * + * *
      * Node network config.
      * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * * @return Whether the nodeNetworkConfig field is set. */ public boolean hasNodeNetworkConfig() { return nodeNetworkConfigBuilder_ != null || nodeNetworkConfig_ != null; } /** + * + * *
      * Node network config.
      * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * * @return The nodeNetworkConfig. */ public com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig() { if (nodeNetworkConfigBuilder_ == null) { - return nodeNetworkConfig_ == null ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; + return nodeNetworkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; } else { return nodeNetworkConfigBuilder_.getMessage(); } } /** + * + * *
      * Node network config.
      * 
@@ -4229,6 +4721,8 @@ public Builder setNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig va return this; } /** + * + * *
      * Node network config.
      * 
@@ -4247,6 +4741,8 @@ public Builder setNodeNetworkConfig( return this; } /** + * + * *
      * Node network config.
      * 
@@ -4257,7 +4753,9 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig if (nodeNetworkConfigBuilder_ == null) { if (nodeNetworkConfig_ != null) { nodeNetworkConfig_ = - com.google.container.v1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_) + .mergeFrom(value) + .buildPartial(); } else { nodeNetworkConfig_ = value; } @@ -4269,6 +4767,8 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1.NodeNetworkConfig return this; } /** + * + * *
      * Node network config.
      * 
@@ -4287,6 +4787,8 @@ public Builder clearNodeNetworkConfig() { return this; } /** + * + * *
      * Node network config.
      * 
@@ -4294,11 +4796,13 @@ public Builder clearNodeNetworkConfig() { * .google.container.v1.NodeNetworkConfig node_network_config = 21; */ public com.google.container.v1.NodeNetworkConfig.Builder getNodeNetworkConfigBuilder() { - + onChanged(); return getNodeNetworkConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Node network config.
      * 
@@ -4309,11 +4813,14 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr if (nodeNetworkConfigBuilder_ != null) { return nodeNetworkConfigBuilder_.getMessageOrBuilder(); } else { - return nodeNetworkConfig_ == null ? - com.google.container.v1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; + return nodeNetworkConfig_ == null + ? com.google.container.v1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; } } /** + * + * *
      * Node network config.
      * 
@@ -4321,14 +4828,17 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr * .google.container.v1.NodeNetworkConfig node_network_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder> + com.google.container.v1.NodeNetworkConfig, + com.google.container.v1.NodeNetworkConfig.Builder, + com.google.container.v1.NodeNetworkConfigOrBuilder> getNodeNetworkConfigFieldBuilder() { if (nodeNetworkConfigBuilder_ == null) { - nodeNetworkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodeNetworkConfig, com.google.container.v1.NodeNetworkConfig.Builder, com.google.container.v1.NodeNetworkConfigOrBuilder>( - getNodeNetworkConfig(), - getParentForChildren(), - isClean()); + nodeNetworkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodeNetworkConfig, + com.google.container.v1.NodeNetworkConfig.Builder, + com.google.container.v1.NodeNetworkConfigOrBuilder>( + getNodeNetworkConfig(), getParentForChildren(), isClean()); nodeNetworkConfig_ = null; } return nodeNetworkConfigBuilder_; @@ -4336,34 +4846,47 @@ public com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOr private com.google.container.v1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> gcfsConfigBuilder_; + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> + gcfsConfigBuilder_; /** + * + * *
      * GCFS config.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; + * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** + * + * *
      * GCFS config.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; + * * @return The gcfsConfig. */ public com.google.container.v1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null ? com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * GCFS config.
      * 
@@ -4384,14 +4907,15 @@ public Builder setGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS config.
      * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; */ - public Builder setGcfsConfig( - com.google.container.v1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig(com.google.container.v1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -4402,6 +4926,8 @@ public Builder setGcfsConfig( return this; } /** + * + * *
      * GCFS config.
      * 
@@ -4412,7 +4938,9 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.GcfsConfig.newBuilder(gcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcfsConfig_ = value; } @@ -4424,6 +4952,8 @@ public Builder mergeGcfsConfig(com.google.container.v1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS config.
      * 
@@ -4442,6 +4972,8 @@ public Builder clearGcfsConfig() { return this; } /** + * + * *
      * GCFS config.
      * 
@@ -4449,11 +4981,13 @@ public Builder clearGcfsConfig() { * .google.container.v1.GcfsConfig gcfs_config = 22; */ public com.google.container.v1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * GCFS config.
      * 
@@ -4464,11 +4998,14 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null ? - com.google.container.v1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } } /** + * + * *
      * GCFS config.
      * 
@@ -4476,14 +5013,17 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { * .google.container.v1.GcfsConfig gcfs_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder> + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.GcfsConfig, com.google.container.v1.GcfsConfig.Builder, com.google.container.v1.GcfsConfigOrBuilder>( - getGcfsConfig(), - getParentForChildren(), - isClean()); + gcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.GcfsConfig, + com.google.container.v1.GcfsConfig.Builder, + com.google.container.v1.GcfsConfigOrBuilder>( + getGcfsConfig(), getParentForChildren(), isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -4491,36 +5031,49 @@ public com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() { private com.google.container.v1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; + com.google.container.v1.ConfidentialNodes, + com.google.container.v1.ConfidentialNodes.Builder, + com.google.container.v1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * * @return The confidentialNodes. */ public com.google.container.v1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4542,6 +5095,8 @@ public Builder setConfidentialNodes(com.google.container.v1.ConfidentialNodes va
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4561,6 +5116,8 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4572,7 +5129,9 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-            com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ConfidentialNodes.newBuilder(confidentialNodes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -4584,6 +5143,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1.ConfidentialNodes
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4603,6 +5164,8 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4611,11 +5174,13 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1.ConfidentialNodes confidential_nodes = 23;
      */
     public com.google.container.v1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-      
+
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4627,11 +5192,14 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null ?
-            com.google.container.v1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
+        return confidentialNodes_ == null
+            ? com.google.container.v1.ConfidentialNodes.getDefaultInstance()
+            : confidentialNodes_;
       }
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4640,14 +5208,17 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
      * .google.container.v1.ConfidentialNodes confidential_nodes = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder> 
+            com.google.container.v1.ConfidentialNodes,
+            com.google.container.v1.ConfidentialNodes.Builder,
+            com.google.container.v1.ConfidentialNodesOrBuilder>
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ConfidentialNodes, com.google.container.v1.ConfidentialNodes.Builder, com.google.container.v1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(),
-                getParentForChildren(),
-                isClean());
+        confidentialNodesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ConfidentialNodes,
+                com.google.container.v1.ConfidentialNodes.Builder,
+                com.google.container.v1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(), getParentForChildren(), isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -4655,24 +5226,33 @@ public com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOr
 
     private com.google.container.v1.VirtualNIC gvnic_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> gvnicBuilder_;
+            com.google.container.v1.VirtualNIC,
+            com.google.container.v1.VirtualNIC.Builder,
+            com.google.container.v1.VirtualNICOrBuilder>
+        gvnicBuilder_;
     /**
+     *
+     *
      * 
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ public com.google.container.v1.VirtualNIC getGvnic() { @@ -4683,6 +5263,8 @@ public com.google.container.v1.VirtualNIC getGvnic() { } } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4703,14 +5285,15 @@ public Builder setGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1.VirtualNIC gvnic = 29; */ - public Builder setGvnic( - com.google.container.v1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic(com.google.container.v1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -4721,6 +5304,8 @@ public Builder setGvnic( return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4731,7 +5316,7 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); + com.google.container.v1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); } else { gvnic_ = value; } @@ -4743,6 +5328,8 @@ public Builder mergeGvnic(com.google.container.v1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4761,6 +5348,8 @@ public Builder clearGvnic() { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4768,11 +5357,13 @@ public Builder clearGvnic() { * .google.container.v1.VirtualNIC gvnic = 29; */ public com.google.container.v1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4783,11 +5374,12 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null ? - com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null ? com.google.container.v1.VirtualNIC.getDefaultInstance() : gvnic_; } } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4795,14 +5387,17 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder> + com.google.container.v1.VirtualNIC, + com.google.container.v1.VirtualNIC.Builder, + com.google.container.v1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.VirtualNIC, com.google.container.v1.VirtualNIC.Builder, com.google.container.v1.VirtualNICOrBuilder>( - getGvnic(), - getParentForChildren(), - isClean()); + gvnicBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.VirtualNIC, + com.google.container.v1.VirtualNIC.Builder, + com.google.container.v1.VirtualNICOrBuilder>( + getGvnic(), getParentForChildren(), isClean()); gvnic_ = null; } return gvnicBuilder_; @@ -4810,34 +5405,47 @@ public com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder() { private com.google.container.v1.FastSocket fastSocket_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> fastSocketBuilder_; + com.google.container.v1.FastSocket, + com.google.container.v1.FastSocket.Builder, + com.google.container.v1.FastSocketOrBuilder> + fastSocketBuilder_; /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1.FastSocket fast_socket = 31; + * * @return Whether the fastSocket field is set. */ public boolean hasFastSocket() { return fastSocketBuilder_ != null || fastSocket_ != null; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1.FastSocket fast_socket = 31; + * * @return The fastSocket. */ public com.google.container.v1.FastSocket getFastSocket() { if (fastSocketBuilder_ == null) { - return fastSocket_ == null ? com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1.FastSocket.getDefaultInstance() + : fastSocket_; } else { return fastSocketBuilder_.getMessage(); } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4858,14 +5466,15 @@ public Builder setFastSocket(com.google.container.v1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1.FastSocket fast_socket = 31; */ - public Builder setFastSocket( - com.google.container.v1.FastSocket.Builder builderForValue) { + public Builder setFastSocket(com.google.container.v1.FastSocket.Builder builderForValue) { if (fastSocketBuilder_ == null) { fastSocket_ = builderForValue.build(); onChanged(); @@ -4876,6 +5485,8 @@ public Builder setFastSocket( return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4886,7 +5497,9 @@ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { if (fastSocketBuilder_ == null) { if (fastSocket_ != null) { fastSocket_ = - com.google.container.v1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); + com.google.container.v1.FastSocket.newBuilder(fastSocket_) + .mergeFrom(value) + .buildPartial(); } else { fastSocket_ = value; } @@ -4898,6 +5511,8 @@ public Builder mergeFastSocket(com.google.container.v1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4916,6 +5531,8 @@ public Builder clearFastSocket() { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4923,11 +5540,13 @@ public Builder clearFastSocket() { * .google.container.v1.FastSocket fast_socket = 31; */ public com.google.container.v1.FastSocket.Builder getFastSocketBuilder() { - + onChanged(); return getFastSocketFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4938,11 +5557,14 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { if (fastSocketBuilder_ != null) { return fastSocketBuilder_.getMessageOrBuilder(); } else { - return fastSocket_ == null ? - com.google.container.v1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1.FastSocket.getDefaultInstance() + : fastSocket_; } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4950,14 +5572,17 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { * .google.container.v1.FastSocket fast_socket = 31; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder> + com.google.container.v1.FastSocket, + com.google.container.v1.FastSocket.Builder, + com.google.container.v1.FastSocketOrBuilder> getFastSocketFieldBuilder() { if (fastSocketBuilder_ == null) { - fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.FastSocket, com.google.container.v1.FastSocket.Builder, com.google.container.v1.FastSocketOrBuilder>( - getFastSocket(), - getParentForChildren(), - isClean()); + fastSocketBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.FastSocket, + com.google.container.v1.FastSocket.Builder, + com.google.container.v1.FastSocketOrBuilder>( + getFastSocket(), getParentForChildren(), isClean()); fastSocket_ = null; } return fastSocketBuilder_; @@ -4965,34 +5590,47 @@ public com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder() { private com.google.container.v1.NodePoolLoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder> + loggingConfigBuilder_; /** + * + * *
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration.
      * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; + * * @return The loggingConfig. */ public com.google.container.v1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration.
      * 
@@ -5013,6 +5651,8 @@ public Builder setLoggingConfig(com.google.container.v1.NodePoolLoggingConfig va return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5031,6 +5671,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5041,7 +5683,9 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1.NodePoolLoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -5053,6 +5697,8 @@ public Builder mergeLoggingConfig(com.google.container.v1.NodePoolLoggingConfig return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5071,6 +5717,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5078,11 +5726,13 @@ public Builder clearLoggingConfig() { * .google.container.v1.NodePoolLoggingConfig logging_config = 32; */ public com.google.container.v1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration.
      * 
@@ -5093,11 +5743,14 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration.
      * 
@@ -5105,14 +5758,17 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr * .google.container.v1.NodePoolLoggingConfig logging_config = 32; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.NodePoolLoggingConfig, com.google.container.v1.NodePoolLoggingConfig.Builder, com.google.container.v1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1.NodePoolLoggingConfig, + com.google.container.v1.NodePoolLoggingConfig.Builder, + com.google.container.v1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -5120,36 +5776,49 @@ public com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOr private com.google.container.v1.ResourceLabels resourceLabels_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ResourceLabels, com.google.container.v1.ResourceLabels.Builder, com.google.container.v1.ResourceLabelsOrBuilder> resourceLabelsBuilder_; + com.google.container.v1.ResourceLabels, + com.google.container.v1.ResourceLabels.Builder, + com.google.container.v1.ResourceLabelsOrBuilder> + resourceLabelsBuilder_; /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1.ResourceLabels resource_labels = 33; + * * @return Whether the resourceLabels field is set. */ public boolean hasResourceLabels() { return resourceLabelsBuilder_ != null || resourceLabels_ != null; } /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1.ResourceLabels resource_labels = 33; + * * @return The resourceLabels. */ public com.google.container.v1.ResourceLabels getResourceLabels() { if (resourceLabelsBuilder_ == null) { - return resourceLabels_ == null ? com.google.container.v1.ResourceLabels.getDefaultInstance() : resourceLabels_; + return resourceLabels_ == null + ? com.google.container.v1.ResourceLabels.getDefaultInstance() + : resourceLabels_; } else { return resourceLabelsBuilder_.getMessage(); } } /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5171,6 +5840,8 @@ public Builder setResourceLabels(com.google.container.v1.ResourceLabels value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5190,6 +5861,8 @@ public Builder setResourceLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5201,7 +5874,9 @@ public Builder mergeResourceLabels(com.google.container.v1.ResourceLabels value)
       if (resourceLabelsBuilder_ == null) {
         if (resourceLabels_ != null) {
           resourceLabels_ =
-            com.google.container.v1.ResourceLabels.newBuilder(resourceLabels_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ResourceLabels.newBuilder(resourceLabels_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           resourceLabels_ = value;
         }
@@ -5213,6 +5888,8 @@ public Builder mergeResourceLabels(com.google.container.v1.ResourceLabels value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5232,6 +5909,8 @@ public Builder clearResourceLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5240,11 +5919,13 @@ public Builder clearResourceLabels() {
      * .google.container.v1.ResourceLabels resource_labels = 33;
      */
     public com.google.container.v1.ResourceLabels.Builder getResourceLabelsBuilder() {
-      
+
       onChanged();
       return getResourceLabelsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5256,11 +5937,14 @@ public com.google.container.v1.ResourceLabelsOrBuilder getResourceLabelsOrBuilde
       if (resourceLabelsBuilder_ != null) {
         return resourceLabelsBuilder_.getMessageOrBuilder();
       } else {
-        return resourceLabels_ == null ?
-            com.google.container.v1.ResourceLabels.getDefaultInstance() : resourceLabels_;
+        return resourceLabels_ == null
+            ? com.google.container.v1.ResourceLabels.getDefaultInstance()
+            : resourceLabels_;
       }
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5269,21 +5953,24 @@ public com.google.container.v1.ResourceLabelsOrBuilder getResourceLabelsOrBuilde
      * .google.container.v1.ResourceLabels resource_labels = 33;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ResourceLabels, com.google.container.v1.ResourceLabels.Builder, com.google.container.v1.ResourceLabelsOrBuilder> 
+            com.google.container.v1.ResourceLabels,
+            com.google.container.v1.ResourceLabels.Builder,
+            com.google.container.v1.ResourceLabelsOrBuilder>
         getResourceLabelsFieldBuilder() {
       if (resourceLabelsBuilder_ == null) {
-        resourceLabelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ResourceLabels, com.google.container.v1.ResourceLabels.Builder, com.google.container.v1.ResourceLabelsOrBuilder>(
-                getResourceLabels(),
-                getParentForChildren(),
-                isClean());
+        resourceLabelsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ResourceLabels,
+                com.google.container.v1.ResourceLabels.Builder,
+                com.google.container.v1.ResourceLabelsOrBuilder>(
+                getResourceLabels(), getParentForChildren(), isClean());
         resourceLabels_ = null;
       }
       return resourceLabelsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -5293,12 +5980,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1.UpdateNodePoolRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1.UpdateNodePoolRequest)
   private static final com.google.container.v1.UpdateNodePoolRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1.UpdateNodePoolRequest();
   }
@@ -5307,27 +5994,27 @@ public static com.google.container.v1.UpdateNodePoolRequest getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateNodePoolRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateNodePoolRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -5342,6 +6029,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1.UpdateNodePoolRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1/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
similarity index 87%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java
index 03404af7995d..7c768e339e99 100644
--- a/owl-bot-staging/java-container/v1/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
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
-public interface UpdateNodePoolRequestOrBuilder extends
+public interface UpdateNodePoolRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1.UpdateNodePoolRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -15,12 +33,16 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
@@ -28,14 +50,17 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string project_id = 1 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2204 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2204 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +69,16 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +87,83 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. - * See google/container/v1/cluster_service.proto;l=2210 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1/cluster_service.proto;l=2210 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * string cluster_id = 3 [deprecated = true]; - * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1/cluster_service.proto;l=2214 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2214 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* * 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=2218 + * + * @deprecated google.container.v1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1/cluster_service.proto;l=2218 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -131,10 +177,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeVersion. */ java.lang.String getNodeVersion(); /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -148,32 +197,39 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for nodeVersion. */ - com.google.protobuf.ByteString - getNodeVersionBytes(); + com.google.protobuf.ByteString getNodeVersionBytes(); /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -181,10 +237,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string name = 8; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -192,12 +251,14 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string name = 8; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -207,11 +268,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -221,10 +284,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -234,11 +300,14 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -248,31 +317,39 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ com.google.container.v1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
@@ -282,24 +359,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return The upgradeSettings. */ com.google.container.v1.NodePool.UpgradeSettings getUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -309,6 +394,8 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -316,10 +403,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1.NetworkTags tags = 16; + * * @return Whether the tags field is set. */ boolean hasTags(); /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -327,10 +417,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1.NetworkTags tags = 16; + * * @return The tags. */ com.google.container.v1.NetworkTags getTags(); /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -342,6 +435,8 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1.NetworkTagsOrBuilder getTagsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -349,10 +444,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1.NodeTaints taints = 17; + * * @return Whether the taints field is set. */ boolean hasTaints(); /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -360,10 +458,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1.NodeTaints taints = 17; + * * @return The taints. */ com.google.container.v1.NodeTaints getTaints(); /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -375,6 +476,8 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1.NodeTaintsOrBuilder getTaintsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -382,10 +485,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1.NodeLabels labels = 18; + * * @return Whether the labels field is set. */ boolean hasLabels(); /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -393,10 +499,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1.NodeLabels labels = 18; + * * @return The labels. */ com.google.container.v1.NodeLabels getLabels(); /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -408,24 +517,32 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1.NodeLabelsOrBuilder getLabelsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1.LinuxNodeConfig linux_node_config = 19; + * * @return The linuxNodeConfig. */ com.google.container.v1.LinuxNodeConfig getLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -435,24 +552,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; + * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1.NodeKubeletConfig kubelet_config = 20; + * * @return The kubeletConfig. */ com.google.container.v1.NodeKubeletConfig getKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
@@ -462,24 +587,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** + * + * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * * @return Whether the nodeNetworkConfig field is set. */ boolean hasNodeNetworkConfig(); /** + * + * *
    * Node network config.
    * 
* * .google.container.v1.NodeNetworkConfig node_network_config = 21; + * * @return The nodeNetworkConfig. */ com.google.container.v1.NodeNetworkConfig getNodeNetworkConfig(); /** + * + * *
    * Node network config.
    * 
@@ -489,24 +622,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder(); /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; + * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1.GcfsConfig gcfs_config = 22; + * * @return The gcfsConfig. */ com.google.container.v1.GcfsConfig getGcfsConfig(); /** + * + * *
    * GCFS config.
    * 
@@ -516,26 +657,34 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1.ConfidentialNodes confidential_nodes = 23; + * * @return The confidentialNodes. */ com.google.container.v1.ConfidentialNodes getConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -546,24 +695,32 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ com.google.container.v1.VirtualNIC getGvnic(); /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -573,24 +730,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.VirtualNICOrBuilder getGvnicOrBuilder(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; + * * @return Whether the fastSocket field is set. */ boolean hasFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1.FastSocket fast_socket = 31; + * * @return The fastSocket. */ com.google.container.v1.FastSocket getFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -600,24 +765,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.FastSocketOrBuilder getFastSocketOrBuilder(); /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1.NodePoolLoggingConfig logging_config = 32; + * * @return The loggingConfig. */ com.google.container.v1.NodePoolLoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
@@ -627,26 +800,34 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1.NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; + * * @return Whether the resourceLabels field is set. */ boolean hasResourceLabels(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1.ResourceLabels resource_labels = 33; + * * @return The resourceLabels. */ com.google.container.v1.ResourceLabels getResourceLabels(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
similarity index 70%
rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
index 8b8b23d6a4f2..4693c6900bfb 100644
--- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
+++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEvent.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1/cluster_service.proto
 
 package com.google.container.v1;
 
 /**
+ *
+ *
  * 
  * UpgradeAvailableEvent is a notification sent to customers when a new
  * available version is released.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.UpgradeAvailableEvent}
  */
-public final class UpgradeAvailableEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpgradeAvailableEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.UpgradeAvailableEvent)
     UpgradeAvailableEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpgradeAvailableEvent.newBuilder() to construct.
   private UpgradeAvailableEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpgradeAvailableEvent() {
     version_ = "";
     resourceType_ = 0;
@@ -28,37 +46,41 @@ private UpgradeAvailableEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpgradeAvailableEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.UpgradeAvailableEvent.class, com.google.container.v1.UpgradeAvailableEvent.Builder.class);
+            com.google.container.v1.UpgradeAvailableEvent.class,
+            com.google.container.v1.UpgradeAvailableEvent.Builder.class);
   }
 
   public static final int VERSION_FIELD_NUMBER = 1;
   private volatile java.lang.Object version_;
   /**
+   *
+   *
    * 
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -67,29 +89,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -100,39 +122,51 @@ public java.lang.String getVersion() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private int resourceType_; /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @return The resourceType. */ - @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { + @java.lang.Override + public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = + com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int RELEASE_CHANNEL_FIELD_NUMBER = 3; private com.google.container.v1.ReleaseChannel releaseChannel_; /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; + * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -140,19 +174,26 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; + * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -168,12 +209,15 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
   public static final int RESOURCE_FIELD_NUMBER = 4;
   private volatile java.lang.Object resource_;
   /**
+   *
+   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The resource. */ @java.lang.Override @@ -182,30 +226,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -214,6 +258,7 @@ public java.lang.String getResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,12 +270,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } - if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + if (resourceType_ + != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, resourceType_); } if (releaseChannel_ != null) { @@ -251,13 +297,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } - if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, resourceType_); + if (resourceType_ + != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, resourceType_); } if (releaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getReleaseChannel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReleaseChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resource_); @@ -270,23 +316,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpgradeAvailableEvent)) { return super.equals(obj); } - com.google.container.v1.UpgradeAvailableEvent other = (com.google.container.v1.UpgradeAvailableEvent) obj; + com.google.container.v1.UpgradeAvailableEvent other = + (com.google.container.v1.UpgradeAvailableEvent) obj; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (resourceType_ != other.resourceType_) return false; if (hasReleaseChannel() != other.hasReleaseChannel()) return false; if (hasReleaseChannel()) { - if (!getReleaseChannel() - .equals(other.getReleaseChannel())) return false; + if (!getReleaseChannel().equals(other.getReleaseChannel())) return false; } - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,97 +357,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.UpgradeAvailableEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeAvailableEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpgradeAvailableEvent parseFrom( 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.UpgradeAvailableEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.UpgradeAvailableEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.UpgradeAvailableEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.UpgradeAvailableEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.UpgradeAvailableEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.UpgradeAvailableEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpgradeAvailableEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.UpgradeAvailableEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpgradeAvailableEvent is a notification sent to customers when a new
    * available version is released.
@@ -411,33 +462,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.UpgradeAvailableEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.UpgradeAvailableEvent)
       com.google.container.v1.UpgradeAvailableEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.UpgradeAvailableEvent.class, com.google.container.v1.UpgradeAvailableEvent.Builder.class);
+              com.google.container.v1.UpgradeAvailableEvent.class,
+              com.google.container.v1.UpgradeAvailableEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1.UpgradeAvailableEvent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -457,9 +507,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
@@ -478,7 +528,8 @@ public com.google.container.v1.UpgradeAvailableEvent build() {
 
     @java.lang.Override
     public com.google.container.v1.UpgradeAvailableEvent buildPartial() {
-      com.google.container.v1.UpgradeAvailableEvent result = new com.google.container.v1.UpgradeAvailableEvent(this);
+      com.google.container.v1.UpgradeAvailableEvent result =
+          new com.google.container.v1.UpgradeAvailableEvent(this);
       result.version_ = version_;
       result.resourceType_ = resourceType_;
       if (releaseChannelBuilder_ == null) {
@@ -495,38 +546,39 @@ public com.google.container.v1.UpgradeAvailableEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.UpgradeAvailableEvent) {
-        return mergeFrom((com.google.container.v1.UpgradeAvailableEvent)other);
+        return mergeFrom((com.google.container.v1.UpgradeAvailableEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,34 +627,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              version_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                version_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              resourceType_ = input.readEnum();
+                break;
+              } // case 10
+            case 16:
+              {
+                resourceType_ = input.readEnum();
 
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getReleaseChannelFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 34: {
-              resource_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                resource_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -615,18 +670,20 @@ public Builder mergeFrom(
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -635,20 +692,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -656,54 +714,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -711,51 +776,65 @@ public Builder setVersionBytes( private int resourceType_ = 0; /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @return The resourceType. */ @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = + com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -763,21 +842,24 @@ public Builder setResourceType(com.google.container.v1.UpgradeResourceType value if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -785,36 +867,49 @@ public Builder clearResourceType() { private com.google.container.v1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> releaseChannelBuilder_; + com.google.container.v1.ReleaseChannel, + com.google.container.v1.ReleaseChannel.Builder, + com.google.container.v1.ReleaseChannelOrBuilder> + releaseChannelBuilder_; /** + * + * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 3; + * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** + * + * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1.ReleaseChannel release_channel = 3; + * * @return The releaseChannel. */ public com.google.container.v1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null ? com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** + * + * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -836,6 +931,8 @@ public Builder setReleaseChannel(com.google.container.v1.ReleaseChannel value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -855,6 +952,8 @@ public Builder setReleaseChannel(
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -866,7 +965,9 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value)
       if (releaseChannelBuilder_ == null) {
         if (releaseChannel_ != null) {
           releaseChannel_ =
-            com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial();
+              com.google.container.v1.ReleaseChannel.newBuilder(releaseChannel_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           releaseChannel_ = value;
         }
@@ -878,6 +979,8 @@ public Builder mergeReleaseChannel(com.google.container.v1.ReleaseChannel value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -897,6 +1000,8 @@ public Builder clearReleaseChannel() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -905,11 +1010,13 @@ public Builder clearReleaseChannel() {
      * .google.container.v1.ReleaseChannel release_channel = 3;
      */
     public com.google.container.v1.ReleaseChannel.Builder getReleaseChannelBuilder() {
-      
+
       onChanged();
       return getReleaseChannelFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -921,11 +1028,14 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
       if (releaseChannelBuilder_ != null) {
         return releaseChannelBuilder_.getMessageOrBuilder();
       } else {
-        return releaseChannel_ == null ?
-            com.google.container.v1.ReleaseChannel.getDefaultInstance() : releaseChannel_;
+        return releaseChannel_ == null
+            ? com.google.container.v1.ReleaseChannel.getDefaultInstance()
+            : releaseChannel_;
       }
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -934,14 +1044,17 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
      * .google.container.v1.ReleaseChannel release_channel = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder> 
+            com.google.container.v1.ReleaseChannel,
+            com.google.container.v1.ReleaseChannel.Builder,
+            com.google.container.v1.ReleaseChannelOrBuilder>
         getReleaseChannelFieldBuilder() {
       if (releaseChannelBuilder_ == null) {
-        releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1.ReleaseChannel, com.google.container.v1.ReleaseChannel.Builder, com.google.container.v1.ReleaseChannelOrBuilder>(
-                getReleaseChannel(),
-                getParentForChildren(),
-                isClean());
+        releaseChannelBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1.ReleaseChannel,
+                com.google.container.v1.ReleaseChannel.Builder,
+                com.google.container.v1.ReleaseChannelOrBuilder>(
+                getReleaseChannel(), getParentForChildren(), isClean());
         releaseChannel_ = null;
       }
       return releaseChannelBuilder_;
@@ -949,19 +1062,21 @@ public com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilde
 
     private java.lang.Object resource_ = "";
     /**
+     *
+     *
      * 
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -970,21 +1085,22 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -992,64 +1108,71 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1059,12 +1182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.UpgradeAvailableEvent) } // @@protoc_insertion_point(class_scope:google.container.v1.UpgradeAvailableEvent) private static final com.google.container.v1.UpgradeAvailableEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.UpgradeAvailableEvent(); } @@ -1073,27 +1196,27 @@ public static com.google.container.v1.UpgradeAvailableEvent getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeAvailableEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeAvailableEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1108,6 +1231,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpgradeAvailableEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java similarity index 73% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java index e34337847fe0..29a873de761d 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeAvailableEventOrBuilder.java @@ -1,72 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface UpgradeAvailableEventOrBuilder extends +public interface UpgradeAvailableEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpgradeAvailableEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 2; + * * @return The resourceType. */ com.google.container.v1.UpgradeResourceType getResourceType(); /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; + * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1.ReleaseChannel release_channel = 3; + * * @return The releaseChannel. */ com.google.container.v1.ReleaseChannel getReleaseChannel(); /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -77,24 +112,29 @@ public interface UpgradeAvailableEventOrBuilder extends
   com.google.container.v1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java index bf6b7993459e..5f4579569282 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * UpgradeEvent is a notification sent to customers by the cluster server when
  * a resource is upgrading.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.UpgradeEvent}
  */
-public final class UpgradeEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpgradeEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.UpgradeEvent)
     UpgradeEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpgradeEvent.newBuilder() to construct.
   private UpgradeEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpgradeEvent() {
     resourceType_ = 0;
     operation_ = "";
@@ -30,64 +48,77 @@ private UpgradeEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpgradeEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_UpgradeEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.UpgradeEvent.class, com.google.container.v1.UpgradeEvent.Builder.class);
+            com.google.container.v1.UpgradeEvent.class,
+            com.google.container.v1.UpgradeEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private int resourceType_;
   /**
+   *
+   *
    * 
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @return The resourceType. */ - @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { + @java.lang.Override + public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = + com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int OPERATION_FIELD_NUMBER = 2; private volatile java.lang.Object operation_; /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The operation. */ @java.lang.Override @@ -96,29 +127,29 @@ public java.lang.String getOperation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } } /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The bytes for operation. */ @java.lang.Override - public com.google.protobuf.ByteString - getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { @@ -129,11 +160,14 @@ public java.lang.String getOperation() { public static final int OPERATION_START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp operationStartTime_; /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return Whether the operationStartTime field is set. */ @java.lang.Override @@ -141,18 +175,25 @@ public boolean hasOperationStartTime() { return operationStartTime_ != null; } /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return The operationStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOperationStartTime() { - return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; + return operationStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : operationStartTime_; } /** + * + * *
    * The time when the operation was started.
    * 
@@ -167,11 +208,14 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { public static final int CURRENT_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object currentVersion_; /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The currentVersion. */ @java.lang.Override @@ -180,29 +224,29 @@ public java.lang.String getCurrentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; } } /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The bytes for currentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrentVersionBytes() { + public com.google.protobuf.ByteString getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -213,11 +257,14 @@ public java.lang.String getCurrentVersion() { public static final int TARGET_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object targetVersion_; /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The targetVersion. */ @java.lang.Override @@ -226,29 +273,29 @@ public java.lang.String getTargetVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; } } /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The bytes for targetVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -259,12 +306,15 @@ public java.lang.String getTargetVersion() { public static final int RESOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object resource_; /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The resource. */ @java.lang.Override @@ -273,30 +323,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -305,6 +355,7 @@ public java.lang.String getResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,9 +367,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (resourceType_ + != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { @@ -345,16 +397,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (resourceType_ != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); + if (resourceType_ + != com.google.container.v1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); } if (operationStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOperationStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOperationStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, currentVersion_); @@ -373,7 +425,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UpgradeEvent)) { return super.equals(obj); @@ -381,19 +433,14 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1.UpgradeEvent other = (com.google.container.v1.UpgradeEvent) obj; if (resourceType_ != other.resourceType_) return false; - if (!getOperation() - .equals(other.getOperation())) return false; + if (!getOperation().equals(other.getOperation())) return false; if (hasOperationStartTime() != other.hasOperationStartTime()) return false; if (hasOperationStartTime()) { - if (!getOperationStartTime() - .equals(other.getOperationStartTime())) return false; - } - if (!getCurrentVersion() - .equals(other.getCurrentVersion())) return false; - if (!getTargetVersion() - .equals(other.getTargetVersion())) return false; - if (!getResource() - .equals(other.getResource())) return false; + if (!getOperationStartTime().equals(other.getOperationStartTime())) return false; + } + if (!getCurrentVersion().equals(other.getCurrentVersion())) return false; + if (!getTargetVersion().equals(other.getTargetVersion())) return false; + if (!getResource().equals(other.getResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -424,97 +471,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UpgradeEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.UpgradeEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpgradeEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeEvent parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.UpgradeEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpgradeEvent parseFrom( 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.UpgradeEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UpgradeEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.UpgradeEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpgradeEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.UpgradeEvent parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.UpgradeEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.UpgradeEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UpgradeEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.UpgradeEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpgradeEvent is a notification sent to customers by the cluster server when
    * a resource is upgrading.
@@ -522,33 +575,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.UpgradeEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.UpgradeEvent)
       com.google.container.v1.UpgradeEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.UpgradeEvent.class, com.google.container.v1.UpgradeEvent.Builder.class);
+              com.google.container.v1.UpgradeEvent.class,
+              com.google.container.v1.UpgradeEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1.UpgradeEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -572,9 +624,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UpgradeEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
@@ -612,38 +664,39 @@ public com.google.container.v1.UpgradeEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.UpgradeEvent) {
-        return mergeFrom((com.google.container.v1.UpgradeEvent)other);
+        return mergeFrom((com.google.container.v1.UpgradeEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -700,44 +753,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              resourceType_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              operation_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getOperationStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              currentVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              targetVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              resource_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                resourceType_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                operation_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getOperationStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                currentVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                targetVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                resource_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -750,51 +809,65 @@ public Builder mergeFrom(
 
     private int resourceType_ = 0;
     /**
+     *
+     *
      * 
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @return The resourceType. */ @java.lang.Override public com.google.container.v1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1.UpgradeResourceType result = com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1.UpgradeResourceType result = + com.google.container.v1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1.UpgradeResourceType.UNRECOGNIZED : result; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -802,21 +875,24 @@ public Builder setResourceType(com.google.container.v1.UpgradeResourceType value if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -824,18 +900,20 @@ public Builder clearResourceType() { private java.lang.Object operation_ = ""; /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; @@ -844,20 +922,21 @@ public java.lang.String getOperation() { } } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @return The bytes for operation. */ - public com.google.protobuf.ByteString - getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { @@ -865,54 +944,61 @@ public java.lang.String getOperation() { } } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation( - java.lang.String value) { + public Builder setOperation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operation_ = value; onChanged(); return this; } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @return This builder for chaining. */ public Builder clearOperation() { - + operation_ = getDefaultInstance().getOperation(); onChanged(); return this; } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @param value The bytes for operation to set. * @return This builder for chaining. */ - public Builder setOperationBytes( - com.google.protobuf.ByteString value) { + public Builder setOperationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operation_ = value; onChanged(); return this; @@ -920,34 +1006,47 @@ public Builder setOperationBytes( private com.google.protobuf.Timestamp operationStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> operationStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + operationStartTimeBuilder_; /** + * + * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return Whether the operationStartTime field is set. */ public boolean hasOperationStartTime() { return operationStartTimeBuilder_ != null || operationStartTime_ != null; } /** + * + * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return The operationStartTime. */ public com.google.protobuf.Timestamp getOperationStartTime() { if (operationStartTimeBuilder_ == null) { - return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; + return operationStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : operationStartTime_; } else { return operationStartTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the operation was started.
      * 
@@ -968,14 +1067,15 @@ public Builder setOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; */ - public Builder setOperationStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setOperationStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (operationStartTimeBuilder_ == null) { operationStartTime_ = builderForValue.build(); onChanged(); @@ -986,6 +1086,8 @@ public Builder setOperationStartTime( return this; } /** + * + * *
      * The time when the operation was started.
      * 
@@ -996,7 +1098,9 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { if (operationStartTimeBuilder_ == null) { if (operationStartTime_ != null) { operationStartTime_ = - com.google.protobuf.Timestamp.newBuilder(operationStartTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(operationStartTime_) + .mergeFrom(value) + .buildPartial(); } else { operationStartTime_ = value; } @@ -1008,6 +1112,8 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1026,6 +1132,8 @@ public Builder clearOperationStartTime() { return this; } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1033,11 +1141,13 @@ public Builder clearOperationStartTime() { * .google.protobuf.Timestamp operation_start_time = 3; */ public com.google.protobuf.Timestamp.Builder getOperationStartTimeBuilder() { - + onChanged(); return getOperationStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1048,11 +1158,14 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { if (operationStartTimeBuilder_ != null) { return operationStartTimeBuilder_.getMessageOrBuilder(); } else { - return operationStartTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; + return operationStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : operationStartTime_; } } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1060,14 +1173,17 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { * .google.protobuf.Timestamp operation_start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getOperationStartTimeFieldBuilder() { if (operationStartTimeBuilder_ == null) { - operationStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOperationStartTime(), - getParentForChildren(), - isClean()); + operationStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOperationStartTime(), getParentForChildren(), isClean()); operationStartTime_ = null; } return operationStartTimeBuilder_; @@ -1075,18 +1191,20 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { private java.lang.Object currentVersion_ = ""; /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @return The currentVersion. */ public java.lang.String getCurrentVersion() { java.lang.Object ref = currentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; @@ -1095,20 +1213,21 @@ public java.lang.String getCurrentVersion() { } } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @return The bytes for currentVersion. */ - public com.google.protobuf.ByteString - getCurrentVersionBytes() { + public com.google.protobuf.ByteString getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -1116,54 +1235,61 @@ public java.lang.String getCurrentVersion() { } } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @param value The currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersion( - java.lang.String value) { + public Builder setCurrentVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentVersion_ = value; onChanged(); return this; } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @return This builder for chaining. */ public Builder clearCurrentVersion() { - + currentVersion_ = getDefaultInstance().getCurrentVersion(); onChanged(); return this; } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @param value The bytes for currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentVersion_ = value; onChanged(); return this; @@ -1171,18 +1297,20 @@ public Builder setCurrentVersionBytes( private java.lang.Object targetVersion_ = ""; /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; @@ -1191,20 +1319,21 @@ public java.lang.String getTargetVersion() { } } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @return The bytes for targetVersion. */ - public com.google.protobuf.ByteString - getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -1212,54 +1341,61 @@ public java.lang.String getTargetVersion() { } } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @param value The targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersion( - java.lang.String value) { + public Builder setTargetVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetVersion_ = value; onChanged(); return this; } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @return This builder for chaining. */ public Builder clearTargetVersion() { - + targetVersion_ = getDefaultInstance().getTargetVersion(); onChanged(); return this; } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @param value The bytes for targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetVersion_ = value; onChanged(); return this; @@ -1267,19 +1403,21 @@ public Builder setTargetVersionBytes( private java.lang.Object resource_ = ""; /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1288,21 +1426,22 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -1310,64 +1449,71 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1377,12 +1523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.UpgradeEvent) } // @@protoc_insertion_point(class_scope:google.container.v1.UpgradeEvent) private static final com.google.container.v1.UpgradeEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.UpgradeEvent(); } @@ -1391,27 +1537,27 @@ public static com.google.container.v1.UpgradeEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1426,6 +1572,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UpgradeEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java similarity index 74% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java index 270950ec4f17..d6dadc9ecbd0 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeEventOrBuilder.java @@ -1,70 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface UpgradeEventOrBuilder extends +public interface UpgradeEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.UpgradeEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** + * + * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1.UpgradeResourceType resource_type = 1; + * * @return The resourceType. */ com.google.container.v1.UpgradeResourceType getResourceType(); /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The operation. */ java.lang.String getOperation(); /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The bytes for operation. */ - com.google.protobuf.ByteString - getOperationBytes(); + com.google.protobuf.ByteString getOperationBytes(); /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return Whether the operationStartTime field is set. */ boolean hasOperationStartTime(); /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return The operationStartTime. */ com.google.protobuf.Timestamp getOperationStartTime(); /** + * + * *
    * The time when the operation was started.
    * 
@@ -74,64 +109,79 @@ public interface UpgradeEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder(); /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The currentVersion. */ java.lang.String getCurrentVersion(); /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The bytes for currentVersion. */ - com.google.protobuf.ByteString - getCurrentVersionBytes(); + com.google.protobuf.ByteString getCurrentVersionBytes(); /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The targetVersion. */ java.lang.String getTargetVersion(); /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The bytes for targetVersion. */ - com.google.protobuf.ByteString - getTargetVersionBytes(); + com.google.protobuf.ByteString getTargetVersionBytes(); /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java index 70c269066f62..7c574e6b2189 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpgradeResourceType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * UpgradeResourceType is the resource type that is upgrading. It is used
  * in upgrade notifications.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.container.v1.UpgradeResourceType}
  */
-public enum UpgradeResourceType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. This shouldn't be used.
    * 
@@ -22,6 +40,8 @@ public enum UpgradeResourceType */ UPGRADE_RESOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Master / control plane
    * 
@@ -30,6 +50,8 @@ public enum UpgradeResourceType */ MASTER(1), /** + * + * *
    * Node pool
    * 
@@ -41,6 +63,8 @@ public enum UpgradeResourceType ; /** + * + * *
    * Default value. This shouldn't be used.
    * 
@@ -49,6 +73,8 @@ public enum UpgradeResourceType */ public static final int UPGRADE_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Master / control plane
    * 
@@ -57,6 +83,8 @@ public enum UpgradeResourceType */ public static final int MASTER_VALUE = 1; /** + * + * *
    * Node pool
    * 
@@ -65,7 +93,6 @@ public enum UpgradeResourceType */ public static final int NODE_POOL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -90,10 +117,14 @@ public static UpgradeResourceType valueOf(int value) { */ public static UpgradeResourceType forNumber(int value) { switch (value) { - case 0: return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; - case 1: return MASTER; - case 2: return NODE_POOL; - default: return null; + case 0: + return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; + case 1: + return MASTER; + case 2: + return NODE_POOL; + default: + return null; } } @@ -101,28 +132,28 @@ public static UpgradeResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - UpgradeResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UpgradeResourceType findValueByNumber(int number) { - return UpgradeResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UpgradeResourceType findValueByNumber(int number) { + return UpgradeResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); } @@ -131,8 +162,7 @@ public UpgradeResourceType findValueByNumber(int number) { public static UpgradeResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -148,4 +178,3 @@ private UpgradeResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1.UpgradeResourceType) } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java similarity index 71% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java index 27f9684ff407..9887a6ff4938 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * UsableSubnetwork resource returns the subnetwork name, its associated network
  * and the primary CIDR range.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1.UsableSubnetwork}
  */
-public final class UsableSubnetwork extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UsableSubnetwork extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.UsableSubnetwork)
     UsableSubnetworkOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UsableSubnetwork.newBuilder() to construct.
   private UsableSubnetwork(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UsableSubnetwork() {
     subnetwork_ = "";
     network_ = "";
@@ -30,38 +48,42 @@ private UsableSubnetwork() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UsableSubnetwork();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_UsableSubnetwork_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.UsableSubnetwork.class, com.google.container.v1.UsableSubnetwork.Builder.class);
+            com.google.container.v1.UsableSubnetwork.class,
+            com.google.container.v1.UsableSubnetwork.Builder.class);
   }
 
   public static final int SUBNETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object subnetwork_;
   /**
+   *
+   *
    * 
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The subnetwork. */ @java.lang.Override @@ -70,30 +92,30 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -104,12 +126,15 @@ public java.lang.String getSubnetwork() { public static final int NETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object network_; /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The network. */ @java.lang.Override @@ -118,30 +143,30 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -152,11 +177,14 @@ public java.lang.String getNetwork() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object ipCidrRange_; /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The ipCidrRange. */ @java.lang.Override @@ -165,29 +193,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -198,66 +226,84 @@ public java.lang.String getIpCidrRange() { public static final int SECONDARY_IP_RANGES_FIELD_NUMBER = 4; private java.util.List secondaryIpRanges_; /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override - public java.util.List getSecondaryIpRangesList() { + public java.util.List + getSecondaryIpRangesList() { return secondaryIpRanges_; } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List getSecondaryIpRangesOrBuilderList() { return secondaryIpRanges_; } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override public int getSecondaryIpRangesCount() { return secondaryIpRanges_.size(); } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { return secondaryIpRanges_.get(index); } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override - public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( - int index) { + public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder + getSecondaryIpRangesOrBuilder(int index) { return secondaryIpRanges_.get(index); } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -266,6 +312,7 @@ public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecond
    * 
* * string status_message = 5; + * * @return The statusMessage. */ @java.lang.Override @@ -274,14 +321,15 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -290,16 +338,15 @@ public java.lang.String getStatusMessage() {
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -308,6 +355,7 @@ public java.lang.String getStatusMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,8 +367,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subnetwork_); } @@ -355,8 +402,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipCidrRange_); } for (int i = 0; i < secondaryIpRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, secondaryIpRanges_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, secondaryIpRanges_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -369,23 +416,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UsableSubnetwork)) { return super.equals(obj); } com.google.container.v1.UsableSubnetwork other = (com.google.container.v1.UsableSubnetwork) obj; - if (!getSubnetwork() - .equals(other.getSubnetwork())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getIpCidrRange() - .equals(other.getIpCidrRange())) return false; - if (!getSecondaryIpRangesList() - .equals(other.getSecondaryIpRangesList())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; + if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; + if (!getSecondaryIpRangesList().equals(other.getSecondaryIpRangesList())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,97 +456,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.UsableSubnetwork parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.UsableSubnetwork parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UsableSubnetwork parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetwork parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UsableSubnetwork parseFrom( 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.UsableSubnetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UsableSubnetwork parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.UsableSubnetwork parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UsableSubnetwork parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.UsableSubnetwork parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.UsableSubnetwork parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.UsableSubnetwork parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.UsableSubnetwork parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UsableSubnetwork parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.UsableSubnetwork prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UsableSubnetwork resource returns the subnetwork name, its associated network
    * and the primary CIDR range.
@@ -512,33 +561,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.UsableSubnetwork}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.UsableSubnetwork)
       com.google.container.v1.UsableSubnetworkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.UsableSubnetwork.class, com.google.container.v1.UsableSubnetwork.Builder.class);
+              com.google.container.v1.UsableSubnetwork.class,
+              com.google.container.v1.UsableSubnetwork.Builder.class);
     }
 
     // Construct using com.google.container.v1.UsableSubnetwork.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -561,9 +609,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetwork_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
@@ -582,7 +630,8 @@ public com.google.container.v1.UsableSubnetwork build() {
 
     @java.lang.Override
     public com.google.container.v1.UsableSubnetwork buildPartial() {
-      com.google.container.v1.UsableSubnetwork result = new com.google.container.v1.UsableSubnetwork(this);
+      com.google.container.v1.UsableSubnetwork result =
+          new com.google.container.v1.UsableSubnetwork(this);
       int from_bitField0_ = bitField0_;
       result.subnetwork_ = subnetwork_;
       result.network_ = network_;
@@ -605,38 +654,39 @@ public com.google.container.v1.UsableSubnetwork buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.UsableSubnetwork) {
-        return mergeFrom((com.google.container.v1.UsableSubnetwork)other);
+        return mergeFrom((com.google.container.v1.UsableSubnetwork) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -675,9 +725,10 @@ public Builder mergeFrom(com.google.container.v1.UsableSubnetwork other) {
             secondaryIpRangesBuilder_ = null;
             secondaryIpRanges_ = other.secondaryIpRanges_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            secondaryIpRangesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSecondaryIpRangesFieldBuilder() : null;
+            secondaryIpRangesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSecondaryIpRangesFieldBuilder()
+                    : null;
           } else {
             secondaryIpRangesBuilder_.addAllMessages(other.secondaryIpRanges_);
           }
@@ -713,45 +764,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              subnetwork_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                subnetwork_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              network_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                network_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              ipCidrRange_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                ipCidrRange_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              com.google.container.v1.UsableSubnetworkSecondaryRange m =
-                  input.readMessage(
-                      com.google.container.v1.UsableSubnetworkSecondaryRange.parser(),
-                      extensionRegistry);
-              if (secondaryIpRangesBuilder_ == null) {
-                ensureSecondaryIpRangesIsMutable();
-                secondaryIpRanges_.add(m);
-              } else {
-                secondaryIpRangesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            case 42: {
-              statusMessage_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.container.v1.UsableSubnetworkSecondaryRange m =
+                    input.readMessage(
+                        com.google.container.v1.UsableSubnetworkSecondaryRange.parser(),
+                        extensionRegistry);
+                if (secondaryIpRangesBuilder_ == null) {
+                  ensureSecondaryIpRangesIsMutable();
+                  secondaryIpRanges_.add(m);
+                } else {
+                  secondaryIpRangesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            case 42:
+              {
+                statusMessage_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -761,23 +818,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object subnetwork_ = "";
     /**
+     *
+     *
      * 
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -786,21 +846,22 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -808,57 +869,64 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; @@ -866,19 +934,21 @@ public Builder setSubnetworkBytes( private java.lang.Object network_ = ""; /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -887,21 +957,22 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -909,57 +980,64 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -967,18 +1045,20 @@ public Builder setNetworkBytes( private java.lang.Object ipCidrRange_ = ""; /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -987,20 +1067,21 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -1008,79 +1089,96 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange( - java.lang.String value) { + public Builder setIpCidrRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; } - private java.util.List secondaryIpRanges_ = - java.util.Collections.emptyList(); + private java.util.List + secondaryIpRanges_ = java.util.Collections.emptyList(); + private void ensureSecondaryIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - secondaryIpRanges_ = new java.util.ArrayList(secondaryIpRanges_); + secondaryIpRanges_ = + new java.util.ArrayList( + secondaryIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetworkSecondaryRange, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> secondaryIpRangesBuilder_; + com.google.container.v1.UsableSubnetworkSecondaryRange, + com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, + com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> + secondaryIpRangesBuilder_; /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public java.util.List getSecondaryIpRangesList() { + public java.util.List + getSecondaryIpRangesList() { if (secondaryIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(secondaryIpRanges_); } else { @@ -1088,11 +1186,14 @@ public java.util.List ge } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public int getSecondaryIpRangesCount() { if (secondaryIpRangesBuilder_ == null) { @@ -1102,11 +1203,14 @@ public int getSecondaryIpRangesCount() { } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { if (secondaryIpRangesBuilder_ == null) { @@ -1116,11 +1220,14 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRang } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder setSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange value) { @@ -1137,11 +1244,14 @@ public Builder setSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder setSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1155,13 +1265,17 @@ public Builder setSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public Builder addSecondaryIpRanges(com.google.container.v1.UsableSubnetworkSecondaryRange value) { + public Builder addSecondaryIpRanges( + com.google.container.v1.UsableSubnetworkSecondaryRange value) { if (secondaryIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1175,11 +1289,14 @@ public Builder addSecondaryIpRanges(com.google.container.v1.UsableSubnetworkSeco return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange value) { @@ -1196,11 +1313,14 @@ public Builder addSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addSecondaryIpRanges( com.google.container.v1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1214,11 +1334,14 @@ public Builder addSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addSecondaryIpRanges( int index, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1232,18 +1355,21 @@ public Builder addSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addAllSecondaryIpRanges( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, secondaryIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryIpRanges_); onChanged(); } else { secondaryIpRangesBuilder_.addAllMessages(values); @@ -1251,11 +1377,14 @@ public Builder addAllSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder clearSecondaryIpRanges() { if (secondaryIpRangesBuilder_ == null) { @@ -1268,11 +1397,14 @@ public Builder clearSecondaryIpRanges() { return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder removeSecondaryIpRanges(int index) { if (secondaryIpRangesBuilder_ == null) { @@ -1285,39 +1417,49 @@ public Builder removeSecondaryIpRanges(int index) { return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder( - int index) { + public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder + getSecondaryIpRangesBuilder(int index) { return getSecondaryIpRangesFieldBuilder().getBuilder(index); } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( - int index) { + public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder + getSecondaryIpRangesOrBuilder(int index) { if (secondaryIpRangesBuilder_ == null) { - return secondaryIpRanges_.get(index); } else { + return secondaryIpRanges_.get(index); + } else { return secondaryIpRangesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public java.util.List - getSecondaryIpRangesOrBuilderList() { + public java.util.List + getSecondaryIpRangesOrBuilderList() { if (secondaryIpRangesBuilder_ != null) { return secondaryIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1325,45 +1467,62 @@ public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecond } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder() { - return getSecondaryIpRangesFieldBuilder().addBuilder( - com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder + addSecondaryIpRangesBuilder() { + return getSecondaryIpRangesFieldBuilder() + .addBuilder(com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder( - int index) { - return getSecondaryIpRangesFieldBuilder().addBuilder( - index, com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder + addSecondaryIpRangesBuilder(int index) { + return getSecondaryIpRangesFieldBuilder() + .addBuilder( + index, com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public java.util.List - getSecondaryIpRangesBuilderList() { + public java.util.List + getSecondaryIpRangesBuilderList() { return getSecondaryIpRangesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetworkSecondaryRange, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> + com.google.container.v1.UsableSubnetworkSecondaryRange, + com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, + com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesFieldBuilder() { if (secondaryIpRangesBuilder_ == null) { - secondaryIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1.UsableSubnetworkSecondaryRange, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder>( + secondaryIpRangesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1.UsableSubnetworkSecondaryRange, + com.google.container.v1.UsableSubnetworkSecondaryRange.Builder, + com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder>( secondaryIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1375,6 +1534,8 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder addSeconda private java.lang.Object statusMessage_ = ""; /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1383,13 +1544,13 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange.Builder addSeconda
      * 
* * string status_message = 5; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1398,6 +1559,8 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1406,15 +1569,14 @@ public java.lang.String getStatusMessage() {
      * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1422,6 +1584,8 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1430,20 +1594,22 @@ public java.lang.String getStatusMessage() {
      * 
* * string status_message = 5; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1452,15 +1618,18 @@ public Builder setStatusMessage(
      * 
* * string status_message = 5; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1469,23 +1638,23 @@ public Builder clearStatusMessage() {
      * 
* * string status_message = 5; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1495,12 +1664,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.UsableSubnetwork) } // @@protoc_insertion_point(class_scope:google.container.v1.UsableSubnetwork) private static final com.google.container.v1.UsableSubnetwork DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.UsableSubnetwork(); } @@ -1509,27 +1678,27 @@ public static com.google.container.v1.UsableSubnetwork getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetwork parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetwork parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1544,6 +1713,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.UsableSubnetwork getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java index aff66f02a78b..1b967b99c28e 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java @@ -1,121 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface UsableSubnetworkOrBuilder extends +public interface UsableSubnetworkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.UsableSubnetwork) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString - getIpCidrRangeBytes(); + com.google.protobuf.ByteString getIpCidrRangeBytes(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - java.util.List - getSecondaryIpRangesList(); + java.util.List getSecondaryIpRangesList(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ int getSecondaryIpRangesCount(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - java.util.List + java.util.List getSecondaryIpRangesOrBuilderList(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( int index); /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -124,10 +171,13 @@ com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRa
    * 
* * string status_message = 5; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -136,8 +186,8 @@ com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRa
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); } diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java similarity index 69% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java index 5fc19eb41747..f8e42cf4aef6 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Secondary IP range of a usable subnetwork.
  * 
* * Protobuf type {@code google.container.v1.UsableSubnetworkSecondaryRange} */ -public final class UsableSubnetworkSecondaryRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UsableSubnetworkSecondaryRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.UsableSubnetworkSecondaryRange) UsableSubnetworkSecondaryRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UsableSubnetworkSecondaryRange.newBuilder() to construct. - private UsableSubnetworkSecondaryRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UsableSubnetworkSecondaryRange( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UsableSubnetworkSecondaryRange() { rangeName_ = ""; ipCidrRange_ = ""; @@ -27,39 +46,43 @@ private UsableSubnetworkSecondaryRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UsableSubnetworkSecondaryRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UsableSubnetworkSecondaryRange.class, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1.UsableSubnetworkSecondaryRange.class, + com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); } /** + * + * *
    * Status shows the current usage of a secondary IP range.
    * 
* * Protobuf enum {@code google.container.v1.UsableSubnetworkSecondaryRange.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -68,6 +91,8 @@ public enum Status */ UNKNOWN(0), /** + * + * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -76,6 +101,8 @@ public enum Status */ UNUSED(1), /** + * + * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -85,6 +112,8 @@ public enum Status
      */
     IN_USE_SERVICE(2),
     /**
+     *
+     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -95,6 +124,8 @@ public enum Status
      */
     IN_USE_SHAREABLE_POD(3),
     /**
+     *
+     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -107,6 +138,8 @@ public enum Status
     ;
 
     /**
+     *
+     *
      * 
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -115,6 +148,8 @@ public enum Status */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -123,6 +158,8 @@ public enum Status */ public static final int UNUSED_VALUE = 1; /** + * + * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -132,6 +169,8 @@ public enum Status
      */
     public static final int IN_USE_SERVICE_VALUE = 2;
     /**
+     *
+     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -142,6 +181,8 @@ public enum Status
      */
     public static final int IN_USE_SHAREABLE_POD_VALUE = 3;
     /**
+     *
+     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -151,7 +192,6 @@ public enum Status
      */
     public static final int IN_USE_MANAGED_POD_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -176,51 +216,55 @@ public static Status valueOf(int value) {
      */
     public static Status forNumber(int value) {
       switch (value) {
-        case 0: return UNKNOWN;
-        case 1: return UNUSED;
-        case 2: return IN_USE_SERVICE;
-        case 3: return IN_USE_SHAREABLE_POD;
-        case 4: return IN_USE_MANAGED_POD;
-        default: return null;
+        case 0:
+          return UNKNOWN;
+        case 1:
+          return UNUSED;
+        case 2:
+          return IN_USE_SERVICE;
+        case 3:
+          return IN_USE_SHAREABLE_POD;
+        case 4:
+          return IN_USE_MANAGED_POD;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Status> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Status findValueByNumber(int number) {
-              return Status.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.container.v1.UsableSubnetworkSecondaryRange.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.container.v1.UsableSubnetworkSecondaryRange.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -240,12 +284,15 @@ private Status(int value) {
   public static final int RANGE_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object rangeName_;
   /**
+   *
+   *
    * 
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The rangeName. */ @java.lang.Override @@ -254,30 +301,30 @@ public java.lang.String getRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; } } /** + * + * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The bytes for rangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getRangeNameBytes() { + public com.google.protobuf.ByteString getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rangeName_ = b; return b; } else { @@ -288,11 +335,14 @@ public java.lang.String getRangeName() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 2; private volatile java.lang.Object ipCidrRange_; /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The ipCidrRange. */ @java.lang.Override @@ -301,29 +351,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -334,31 +384,43 @@ public java.lang.String getIpCidrRange() { public static final int STATUS_FIELD_NUMBER = 3; private int status_; /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The status. */ - @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { + @java.lang.Override + public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; + com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = + com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null + ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -370,15 +432,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rangeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ipCidrRange_); } - if (status_ != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + if (status_ + != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { output.writeEnum(3, status_); } getUnknownFields().writeTo(output); @@ -396,9 +458,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ipCidrRange_); } - if (status_ != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, status_); + if (status_ + != com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, status_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -408,17 +470,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.UsableSubnetworkSecondaryRange)) { return super.equals(obj); } - com.google.container.v1.UsableSubnetworkSecondaryRange other = (com.google.container.v1.UsableSubnetworkSecondaryRange) obj; + com.google.container.v1.UsableSubnetworkSecondaryRange other = + (com.google.container.v1.UsableSubnetworkSecondaryRange) obj; - if (!getRangeName() - .equals(other.getRangeName())) return false; - if (!getIpCidrRange() - .equals(other.getIpCidrRange())) return false; + if (!getRangeName().equals(other.getRangeName())) return false; + if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; if (status_ != other.status_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -443,129 +504,136 @@ public int hashCode() { } public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( 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.UsableSubnetworkSecondaryRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.UsableSubnetworkSecondaryRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1.UsableSubnetworkSecondaryRange prototype) { + + public static Builder newBuilder( + com.google.container.v1.UsableSubnetworkSecondaryRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Secondary IP range of a usable subnetwork.
    * 
* * Protobuf type {@code google.container.v1.UsableSubnetworkSecondaryRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.UsableSubnetworkSecondaryRange) com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.UsableSubnetworkSecondaryRange.class, com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1.UsableSubnetworkSecondaryRange.class, + com.google.container.v1.UsableSubnetworkSecondaryRange.Builder.class); } // Construct using com.google.container.v1.UsableSubnetworkSecondaryRange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -579,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override @@ -600,7 +668,8 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange build() { @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange buildPartial() { - com.google.container.v1.UsableSubnetworkSecondaryRange result = new com.google.container.v1.UsableSubnetworkSecondaryRange(this); + com.google.container.v1.UsableSubnetworkSecondaryRange result = + new com.google.container.v1.UsableSubnetworkSecondaryRange(this); result.rangeName_ = rangeName_; result.ipCidrRange_ = ipCidrRange_; result.status_ = status_; @@ -612,38 +681,39 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.UsableSubnetworkSecondaryRange) { - return mergeFrom((com.google.container.v1.UsableSubnetworkSecondaryRange)other); + return mergeFrom((com.google.container.v1.UsableSubnetworkSecondaryRange) other); } else { super.mergeFrom(other); return this; @@ -651,7 +721,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1.UsableSubnetworkSecondaryRange other) { - if (other == com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()) return this; + if (other == com.google.container.v1.UsableSubnetworkSecondaryRange.getDefaultInstance()) + return this; if (!other.getRangeName().isEmpty()) { rangeName_ = other.rangeName_; onChanged(); @@ -689,27 +760,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rangeName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - ipCidrRange_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - status_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rangeName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + ipCidrRange_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + status_ = input.readEnum(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -722,19 +797,21 @@ public Builder mergeFrom( private java.lang.Object rangeName_ = ""; /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @return The rangeName. */ public java.lang.String getRangeName() { java.lang.Object ref = rangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; @@ -743,21 +820,22 @@ public java.lang.String getRangeName() { } } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @return The bytes for rangeName. */ - public com.google.protobuf.ByteString - getRangeNameBytes() { + public com.google.protobuf.ByteString getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rangeName_ = b; return b; } else { @@ -765,57 +843,64 @@ public java.lang.String getRangeName() { } } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @param value The rangeName to set. * @return This builder for chaining. */ - public Builder setRangeName( - java.lang.String value) { + public Builder setRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rangeName_ = value; onChanged(); return this; } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @return This builder for chaining. */ public Builder clearRangeName() { - + rangeName_ = getDefaultInstance().getRangeName(); onChanged(); return this; } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @param value The bytes for rangeName to set. * @return This builder for chaining. */ - public Builder setRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rangeName_ = value; onChanged(); return this; @@ -823,18 +908,20 @@ public Builder setRangeNameBytes( private java.lang.Object ipCidrRange_ = ""; /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -843,20 +930,21 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -864,54 +952,61 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange( - java.lang.String value) { + public Builder setIpCidrRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; @@ -919,51 +1014,67 @@ public Builder setIpCidrRangeBytes( private int status_ = 0; /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The status. */ @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; + com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = + com.google.container.v1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null + ? com.google.container.v1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED + : result; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @param value The status to set. * @return This builder for chaining. */ @@ -971,28 +1082,31 @@ public Builder setStatus(com.google.container.v1.UsableSubnetworkSecondaryRange. if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1116,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.UsableSubnetworkSecondaryRange) } // @@protoc_insertion_point(class_scope:google.container.v1.UsableSubnetworkSecondaryRange) private static final com.google.container.v1.UsableSubnetworkSecondaryRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.UsableSubnetworkSecondaryRange(); } @@ -1016,27 +1130,27 @@ public static com.google.container.v1.UsableSubnetworkSecondaryRange getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetworkSecondaryRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetworkSecondaryRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1051,6 +1165,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1.UsableSubnetworkSecondaryRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java index 5f4ddb9cce63..44fc87c7f346 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java @@ -1,69 +1,101 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface UsableSubnetworkSecondaryRangeOrBuilder extends +public interface UsableSubnetworkSecondaryRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.UsableSubnetworkSecondaryRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The rangeName. */ java.lang.String getRangeName(); /** + * + * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The bytes for rangeName. */ - com.google.protobuf.ByteString - getRangeNameBytes(); + com.google.protobuf.ByteString getRangeNameBytes(); /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString - getIpCidrRangeBytes(); + com.google.protobuf.ByteString getIpCidrRangeBytes(); /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The status. */ com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus(); diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java similarity index 64% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java index 89610a6fa869..4bd6b6eac1d0 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * VerticalPodAutoscaling contains global, per-cluster information
  * required by Vertical Pod Autoscaler to automatically adjust
@@ -12,51 +29,55 @@
  *
  * Protobuf type {@code google.container.v1.VerticalPodAutoscaling}
  */
-public final class VerticalPodAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VerticalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.VerticalPodAutoscaling)
     VerticalPodAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VerticalPodAutoscaling.newBuilder() to construct.
   private VerticalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private VerticalPodAutoscaling() {
-  }
+
+  private VerticalPodAutoscaling() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VerticalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.VerticalPodAutoscaling.class, com.google.container.v1.VerticalPodAutoscaling.Builder.class);
+            com.google.container.v1.VerticalPodAutoscaling.class,
+            com.google.container.v1.VerticalPodAutoscaling.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enables vertical pod autoscaling.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -65,6 +86,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -91,8 +112,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -102,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.VerticalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1.VerticalPodAutoscaling other = (com.google.container.v1.VerticalPodAutoscaling) obj; + com.google.container.v1.VerticalPodAutoscaling other = + (com.google.container.v1.VerticalPodAutoscaling) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -123,104 +143,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.VerticalPodAutoscaling parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VerticalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.VerticalPodAutoscaling parseFrom( 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.VerticalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.VerticalPodAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.VerticalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.VerticalPodAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.VerticalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.VerticalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.VerticalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.VerticalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * VerticalPodAutoscaling contains global, per-cluster information
    * required by Vertical Pod Autoscaler to automatically adjust
@@ -229,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.VerticalPodAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.VerticalPodAutoscaling)
       com.google.container.v1.VerticalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.VerticalPodAutoscaling.class, com.google.container.v1.VerticalPodAutoscaling.Builder.class);
+              com.google.container.v1.VerticalPodAutoscaling.class,
+              com.google.container.v1.VerticalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1.VerticalPodAutoscaling.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -265,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -286,7 +311,8 @@ public com.google.container.v1.VerticalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1.VerticalPodAutoscaling buildPartial() {
-      com.google.container.v1.VerticalPodAutoscaling result = new com.google.container.v1.VerticalPodAutoscaling(this);
+      com.google.container.v1.VerticalPodAutoscaling result =
+          new com.google.container.v1.VerticalPodAutoscaling(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -296,38 +322,39 @@ public com.google.container.v1.VerticalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.VerticalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1.VerticalPodAutoscaling)other);
+        return mergeFrom((com.google.container.v1.VerticalPodAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -365,17 +392,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -386,13 +415,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -400,37 +432,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -440,12 +478,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.VerticalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1.VerticalPodAutoscaling) private static final com.google.container.v1.VerticalPodAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.VerticalPodAutoscaling(); } @@ -454,27 +492,27 @@ public static com.google.container.v1.VerticalPodAutoscaling getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerticalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerticalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -489,6 +527,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.VerticalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..e03a9612b844 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface VerticalPodAutoscalingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.VerticalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enables vertical pod autoscaling.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java similarity index 63% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java index af385c5ee452..608617fa322b 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNIC.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; /** + * + * *
  * Configuration of gVNIC feature.
  * 
* * Protobuf type {@code google.container.v1.VirtualNIC} */ -public final class VirtualNIC extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VirtualNIC extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1.VirtualNIC) VirtualNICOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VirtualNIC.newBuilder() to construct. private VirtualNIC(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VirtualNIC() { - } + + private VirtualNIC() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VirtualNIC(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.VirtualNIC.class, com.google.container.v1.VirtualNIC.Builder.class); + com.google.container.v1.VirtualNIC.class, + com.google.container.v1.VirtualNIC.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether gVNIC features are enabled in the node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.VirtualNIC)) { return super.equals(obj); } com.google.container.v1.VirtualNIC other = (com.google.container.v1.VirtualNIC) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,141 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1.VirtualNIC parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.VirtualNIC parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.VirtualNIC parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VirtualNIC parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1.VirtualNIC parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.VirtualNIC parseFrom( 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.VirtualNIC parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.VirtualNIC parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.VirtualNIC parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.VirtualNIC parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.VirtualNIC parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.VirtualNIC parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.VirtualNIC parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.VirtualNIC parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.VirtualNIC prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of gVNIC feature.
    * 
* * Protobuf type {@code google.container.v1.VirtualNIC} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1.VirtualNIC) com.google.container.v1.VirtualNICOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_fieldAccessorTable + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1.VirtualNIC.class, com.google.container.v1.VirtualNIC.Builder.class); + com.google.container.v1.VirtualNIC.class, + com.google.container.v1.VirtualNIC.Builder.class); } // Construct using com.google.container.v1.VirtualNIC.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_VirtualNIC_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1.ClusterServiceProto + .internal_static_google_container_v1_VirtualNIC_descriptor; } @java.lang.Override @@ -292,38 +315,39 @@ public com.google.container.v1.VirtualNIC buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1.VirtualNIC) { - return mergeFrom((com.google.container.v1.VirtualNIC)other); + return mergeFrom((com.google.container.v1.VirtualNIC) other); } else { super.mergeFrom(other); return this; @@ -361,17 +385,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +408,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +425,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +471,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.VirtualNIC) } // @@protoc_insertion_point(class_scope:google.container.v1.VirtualNIC) private static final com.google.container.v1.VirtualNIC DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.VirtualNIC(); } @@ -450,27 +485,27 @@ public static com.google.container.v1.VirtualNIC getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtualNIC parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VirtualNIC parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +520,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.VirtualNIC getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java new file mode 100644 index 000000000000..64ae3647a714 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface VirtualNICOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.VirtualNIC) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether gVNIC features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java index 84a3091f014f..2abb91f76d62 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * Configuration for the use of Kubernetes Service Accounts in GCP IAM
  * policies.
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.container.v1.WorkloadIdentityConfig}
  */
-public final class WorkloadIdentityConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WorkloadIdentityConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.WorkloadIdentityConfig)
     WorkloadIdentityConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WorkloadIdentityConfig.newBuilder() to construct.
   private WorkloadIdentityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WorkloadIdentityConfig() {
     workloadPool_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WorkloadIdentityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.WorkloadIdentityConfig.class, com.google.container.v1.WorkloadIdentityConfig.Builder.class);
+            com.google.container.v1.WorkloadIdentityConfig.class,
+            com.google.container.v1.WorkloadIdentityConfig.Builder.class);
   }
 
   public static final int WORKLOAD_POOL_FIELD_NUMBER = 2;
   private volatile java.lang.Object workloadPool_;
   /**
+   *
+   *
    * 
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; + * * @return The workloadPool. */ @java.lang.Override @@ -65,29 +87,29 @@ public java.lang.String getWorkloadPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; } } /** + * + * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkloadPoolBytes() { + public com.google.protobuf.ByteString getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -96,6 +118,7 @@ public java.lang.String getWorkloadPool() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workloadPool_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workloadPool_); } @@ -132,15 +154,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.WorkloadIdentityConfig)) { return super.equals(obj); } - com.google.container.v1.WorkloadIdentityConfig other = (com.google.container.v1.WorkloadIdentityConfig) obj; + com.google.container.v1.WorkloadIdentityConfig other = + (com.google.container.v1.WorkloadIdentityConfig) obj; - if (!getWorkloadPool() - .equals(other.getWorkloadPool())) return false; + if (!getWorkloadPool().equals(other.getWorkloadPool())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,97 +181,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.WorkloadIdentityConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.WorkloadIdentityConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.WorkloadIdentityConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.WorkloadIdentityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.WorkloadIdentityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -257,33 +286,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.WorkloadIdentityConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.WorkloadIdentityConfig)
       com.google.container.v1.WorkloadIdentityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.WorkloadIdentityConfig.class, com.google.container.v1.WorkloadIdentityConfig.Builder.class);
+              com.google.container.v1.WorkloadIdentityConfig.class,
+              com.google.container.v1.WorkloadIdentityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.WorkloadIdentityConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,9 +321,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -314,7 +342,8 @@ public com.google.container.v1.WorkloadIdentityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.WorkloadIdentityConfig buildPartial() {
-      com.google.container.v1.WorkloadIdentityConfig result = new com.google.container.v1.WorkloadIdentityConfig(this);
+      com.google.container.v1.WorkloadIdentityConfig result =
+          new com.google.container.v1.WorkloadIdentityConfig(this);
       result.workloadPool_ = workloadPool_;
       onBuilt();
       return result;
@@ -324,38 +353,39 @@ public com.google.container.v1.WorkloadIdentityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.WorkloadIdentityConfig) {
-        return mergeFrom((com.google.container.v1.WorkloadIdentityConfig)other);
+        return mergeFrom((com.google.container.v1.WorkloadIdentityConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -394,17 +424,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              workloadPool_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                workloadPool_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +449,20 @@ public Builder mergeFrom(
 
     private java.lang.Object workloadPool_ = "";
     /**
+     *
+     *
      * 
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @return The workloadPool. */ public java.lang.String getWorkloadPool() { java.lang.Object ref = workloadPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; @@ -437,20 +471,21 @@ public java.lang.String getWorkloadPool() { } } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ - public com.google.protobuf.ByteString - getWorkloadPoolBytes() { + public com.google.protobuf.ByteString getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -458,61 +493,68 @@ public java.lang.String getWorkloadPool() { } } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @param value The workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPool( - java.lang.String value) { + public Builder setWorkloadPool(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workloadPool_ = value; onChanged(); return this; } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @return This builder for chaining. */ public Builder clearWorkloadPool() { - + workloadPool_ = getDefaultInstance().getWorkloadPool(); onChanged(); return this; } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @param value The bytes for workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPoolBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workloadPool_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -522,12 +564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.WorkloadIdentityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.WorkloadIdentityConfig) private static final com.google.container.v1.WorkloadIdentityConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.WorkloadIdentityConfig(); } @@ -536,27 +578,27 @@ public static com.google.container.v1.WorkloadIdentityConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadIdentityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadIdentityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -571,6 +613,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java new file mode 100644 index 000000000000..759c92b49796 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1/cluster_service.proto + +package com.google.container.v1; + +public interface WorkloadIdentityConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1.WorkloadIdentityConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The workload pool to attach all Kubernetes service accounts to.
+   * 
+ * + * string workload_pool = 2; + * + * @return The workloadPool. + */ + java.lang.String getWorkloadPool(); + /** + * + * + *
+   * The workload pool to attach all Kubernetes service accounts to.
+   * 
+ * + * string workload_pool = 2; + * + * @return The bytes for workloadPool. + */ + com.google.protobuf.ByteString getWorkloadPoolBytes(); +} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java similarity index 68% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java index b82828e7f906..4d280d9951f9 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; /** + * + * *
  * WorkloadMetadataConfig defines the metadata configuration to expose to
  * workloads on the node pool.
@@ -11,45 +28,49 @@
  *
  * Protobuf type {@code google.container.v1.WorkloadMetadataConfig}
  */
-public final class WorkloadMetadataConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WorkloadMetadataConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1.WorkloadMetadataConfig)
     WorkloadMetadataConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WorkloadMetadataConfig.newBuilder() to construct.
   private WorkloadMetadataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WorkloadMetadataConfig() {
     mode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WorkloadMetadataConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
+    return com.google.container.v1.ClusterServiceProto
+        .internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1.WorkloadMetadataConfig.class, com.google.container.v1.WorkloadMetadataConfig.Builder.class);
+            com.google.container.v1.WorkloadMetadataConfig.class,
+            com.google.container.v1.WorkloadMetadataConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node.
@@ -57,9 +78,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1.WorkloadMetadataConfig.Mode}
    */
-  public enum Mode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -68,6 +90,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -76,6 +100,8 @@ public enum Mode */ GCE_METADATA(1), /** + * + * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -91,6 +117,8 @@ public enum Mode
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -99,6 +127,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -107,6 +137,8 @@ public enum Mode */ public static final int GCE_METADATA_VALUE = 1; /** + * + * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -119,7 +151,6 @@ public enum Mode
      */
     public static final int GKE_METADATA_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -144,49 +175,49 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0: return MODE_UNSPECIFIED;
-        case 1: return GCE_METADATA;
-        case 2: return GKE_METADATA;
-        default: return null;
+        case 0:
+          return MODE_UNSPECIFIED;
+        case 1:
+          return GCE_METADATA;
+        case 2:
+          return GKE_METADATA;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Mode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Mode findValueByNumber(int number) {
-              return Mode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1.WorkloadMetadataConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -206,33 +237,45 @@ private Mode(int value) {
   public static final int MODE_FIELD_NUMBER = 2;
   private int mode_;
   /**
+   *
+   *
    * 
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The mode. */ - @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig.Mode getMode() { + @java.lang.Override + public com.google.container.v1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1.WorkloadMetadataConfig.Mode result = com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; + com.google.container.v1.WorkloadMetadataConfig.Mode result = + com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null + ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (mode_ != com.google.container.v1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } @@ -259,8 +301,7 @@ public int getSerializedSize() { size = 0; if (mode_ != com.google.container.v1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, mode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -270,12 +311,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1.WorkloadMetadataConfig)) { return super.equals(obj); } - com.google.container.v1.WorkloadMetadataConfig other = (com.google.container.v1.WorkloadMetadataConfig) obj; + com.google.container.v1.WorkloadMetadataConfig other = + (com.google.container.v1.WorkloadMetadataConfig) obj; if (mode_ != other.mode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -296,97 +338,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1.WorkloadMetadataConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WorkloadMetadataConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.WorkloadMetadataConfig parseFrom( 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.WorkloadMetadataConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1.WorkloadMetadataConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1.WorkloadMetadataConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1.WorkloadMetadataConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1.WorkloadMetadataConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1.WorkloadMetadataConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1.WorkloadMetadataConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1.WorkloadMetadataConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * WorkloadMetadataConfig defines the metadata configuration to expose to
    * workloads on the node pool.
@@ -394,33 +443,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1.WorkloadMetadataConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1.WorkloadMetadataConfig)
       com.google.container.v1.WorkloadMetadataConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1.WorkloadMetadataConfig.class, com.google.container.v1.WorkloadMetadataConfig.Builder.class);
+              com.google.container.v1.WorkloadMetadataConfig.class,
+              com.google.container.v1.WorkloadMetadataConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1.WorkloadMetadataConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +478,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1.ClusterServiceProto.internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1.ClusterServiceProto
+          .internal_static_google_container_v1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
@@ -451,7 +499,8 @@ public com.google.container.v1.WorkloadMetadataConfig build() {
 
     @java.lang.Override
     public com.google.container.v1.WorkloadMetadataConfig buildPartial() {
-      com.google.container.v1.WorkloadMetadataConfig result = new com.google.container.v1.WorkloadMetadataConfig(this);
+      com.google.container.v1.WorkloadMetadataConfig result =
+          new com.google.container.v1.WorkloadMetadataConfig(this);
       result.mode_ = mode_;
       onBuilt();
       return result;
@@ -461,38 +510,39 @@ public com.google.container.v1.WorkloadMetadataConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1.WorkloadMetadataConfig) {
-        return mergeFrom((com.google.container.v1.WorkloadMetadataConfig)other);
+        return mergeFrom((com.google.container.v1.WorkloadMetadataConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -530,17 +580,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 16: {
-              mode_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 16:
+              {
+                mode_ = input.readEnum();
+
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -553,55 +605,71 @@ public Builder mergeFrom(
 
     private int mode_ = 0;
     /**
+     *
+     *
      * 
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @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; onChanged(); return this; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The mode. */ @java.lang.Override public com.google.container.v1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1.WorkloadMetadataConfig.Mode result = com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; + com.google.container.v1.WorkloadMetadataConfig.Mode result = + com.google.container.v1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null + ? com.google.container.v1.WorkloadMetadataConfig.Mode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -609,29 +677,32 @@ public Builder setMode(com.google.container.v1.WorkloadMetadataConfig.Mode value if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,12 +712,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1.WorkloadMetadataConfig) } // @@protoc_insertion_point(class_scope:google.container.v1.WorkloadMetadataConfig) private static final com.google.container.v1.WorkloadMetadataConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1.WorkloadMetadataConfig(); } @@ -655,27 +726,27 @@ public static com.google.container.v1.WorkloadMetadataConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadMetadataConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadMetadataConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -690,6 +761,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1.WorkloadMetadataConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java similarity index 56% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java index 00308faac843..d24b40fb5cd6 100644 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadMetadataConfigOrBuilder.java @@ -1,29 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1; -public interface WorkloadMetadataConfigOrBuilder extends +public interface WorkloadMetadataConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1.WorkloadMetadataConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The mode. */ com.google.container.v1.WorkloadMetadataConfig.Mode getMode(); diff --git a/owl-bot-staging/java-container/v1/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 similarity index 100% rename from owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto rename to java-container/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfig.java index ba4fbf56cefc..1387b5240afa 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * AcceleratorConfig represents a Hardware Accelerator request.
  * 
* * Protobuf type {@code google.container.v1beta1.AcceleratorConfig} */ -public final class AcceleratorConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AcceleratorConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.AcceleratorConfig) AcceleratorConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AcceleratorConfig.newBuilder() to construct. private AcceleratorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AcceleratorConfig() { acceleratorType_ = ""; gpuPartitionSize_ = ""; @@ -26,38 +44,42 @@ private AcceleratorConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcceleratorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AcceleratorConfig.class, com.google.container.v1beta1.AcceleratorConfig.Builder.class); + com.google.container.v1beta1.AcceleratorConfig.class, + com.google.container.v1beta1.AcceleratorConfig.Builder.class); } private int bitField0_; public static final int ACCELERATOR_COUNT_FIELD_NUMBER = 1; private long acceleratorCount_; /** + * + * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; + * * @return The acceleratorCount. */ @java.lang.Override @@ -68,12 +90,15 @@ public long getAcceleratorCount() { public static final int ACCELERATOR_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object acceleratorType_; /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The acceleratorType. */ @java.lang.Override @@ -82,30 +107,30 @@ public java.lang.String getAcceleratorType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; } } /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The bytes for acceleratorType. */ @java.lang.Override - public com.google.protobuf.ByteString - getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -116,6 +141,8 @@ public java.lang.String getAcceleratorType() { public static final int GPU_PARTITION_SIZE_FIELD_NUMBER = 3; private volatile java.lang.Object gpuPartitionSize_; /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -123,6 +150,7 @@ public java.lang.String getAcceleratorType() {
    * 
* * string gpu_partition_size = 3; + * * @return The gpuPartitionSize. */ @java.lang.Override @@ -131,14 +159,15 @@ public java.lang.String getGpuPartitionSize() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; } } /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -146,16 +175,15 @@ public java.lang.String getGpuPartitionSize() {
    * 
* * string gpu_partition_size = 3; + * * @return The bytes for gpuPartitionSize. */ @java.lang.Override - public com.google.protobuf.ByteString - getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -166,28 +194,35 @@ public java.lang.String getGpuPartitionSize() { public static final int MAX_TIME_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 4; private long maxTimeSharedClientsPerGpu_; /** + * + * *
    * The number of time-shared GPU resources to expose for each physical GPU.
    * 
* * 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=4172 + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4172 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override - @java.lang.Deprecated public long getMaxTimeSharedClientsPerGpu() { + @java.lang.Deprecated + public long getMaxTimeSharedClientsPerGpu() { return maxTimeSharedClientsPerGpu_; } public static final int GPU_SHARING_CONFIG_FIELD_NUMBER = 5; private com.google.container.v1beta1.GPUSharingConfig gpuSharingConfig_; /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * * @return Whether the gpuSharingConfig field is set. */ @java.lang.Override @@ -195,18 +230,25 @@ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * * @return The gpuSharingConfig. */ @java.lang.Override public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { - return gpuSharingConfig_ == null ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } /** + * + * *
    * The configuration for GPU sharing options.
    * 
@@ -215,10 +257,13 @@ public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { */ @java.lang.Override public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder() { - return gpuSharingConfig_ == null ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +275,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (acceleratorCount_ != 0L) { output.writeInt64(1, acceleratorCount_); } @@ -257,8 +301,7 @@ public int getSerializedSize() { size = 0; if (acceleratorCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, acceleratorCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, acceleratorCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(acceleratorType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, acceleratorType_); @@ -267,12 +310,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gpuPartitionSize_); } if (maxTimeSharedClientsPerGpu_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, maxTimeSharedClientsPerGpu_); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size(4, maxTimeSharedClientsPerGpu_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getGpuSharingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getGpuSharingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,25 +324,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AcceleratorConfig)) { return super.equals(obj); } - com.google.container.v1beta1.AcceleratorConfig other = (com.google.container.v1beta1.AcceleratorConfig) obj; + com.google.container.v1beta1.AcceleratorConfig other = + (com.google.container.v1beta1.AcceleratorConfig) obj; - if (getAcceleratorCount() - != other.getAcceleratorCount()) return false; - if (!getAcceleratorType() - .equals(other.getAcceleratorType())) return false; - if (!getGpuPartitionSize() - .equals(other.getGpuPartitionSize())) return false; - if (getMaxTimeSharedClientsPerGpu() - != other.getMaxTimeSharedClientsPerGpu()) return false; + if (getAcceleratorCount() != other.getAcceleratorCount()) return false; + if (!getAcceleratorType().equals(other.getAcceleratorType())) return false; + if (!getGpuPartitionSize().equals(other.getGpuPartitionSize())) return false; + if (getMaxTimeSharedClientsPerGpu() != other.getMaxTimeSharedClientsPerGpu()) return false; if (hasGpuSharingConfig() != other.hasGpuSharingConfig()) return false; if (hasGpuSharingConfig()) { - if (!getGpuSharingConfig() - .equals(other.getGpuSharingConfig())) return false; + if (!getGpuSharingConfig().equals(other.getGpuSharingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -314,15 +352,13 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ACCELERATOR_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAcceleratorCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAcceleratorCount()); hash = (37 * hash) + ACCELERATOR_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorType().hashCode(); hash = (37 * hash) + GPU_PARTITION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getGpuPartitionSize().hashCode(); hash = (37 * hash) + MAX_TIME_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxTimeSharedClientsPerGpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxTimeSharedClientsPerGpu()); if (hasGpuSharingConfig()) { hash = (37 * hash) + GPU_SHARING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGpuSharingConfig().hashCode(); @@ -332,118 +368,127 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.AcceleratorConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AcceleratorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AcceleratorConfig parseFrom( 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.AcceleratorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.AcceleratorConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AcceleratorConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AcceleratorConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AcceleratorConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.AcceleratorConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AcceleratorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.AcceleratorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AcceleratorConfig represents a Hardware Accelerator request.
    * 
* * Protobuf type {@code google.container.v1beta1.AcceleratorConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AcceleratorConfig) com.google.container.v1beta1.AcceleratorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AcceleratorConfig.class, com.google.container.v1beta1.AcceleratorConfig.Builder.class); + com.google.container.v1beta1.AcceleratorConfig.class, + com.google.container.v1beta1.AcceleratorConfig.Builder.class); } // Construct using com.google.container.v1beta1.AcceleratorConfig.newBuilder() @@ -451,17 +496,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getGpuSharingConfigFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +528,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; } @java.lang.Override @@ -504,7 +549,8 @@ public com.google.container.v1beta1.AcceleratorConfig build() { @java.lang.Override public com.google.container.v1beta1.AcceleratorConfig buildPartial() { - com.google.container.v1beta1.AcceleratorConfig result = new com.google.container.v1beta1.AcceleratorConfig(this); + com.google.container.v1beta1.AcceleratorConfig result = + new com.google.container.v1beta1.AcceleratorConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.acceleratorCount_ = acceleratorCount_; @@ -528,38 +574,39 @@ public com.google.container.v1beta1.AcceleratorConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.AcceleratorConfig) { - return mergeFrom((com.google.container.v1beta1.AcceleratorConfig)other); + return mergeFrom((com.google.container.v1beta1.AcceleratorConfig) other); } else { super.mergeFrom(other); return this; @@ -611,39 +658,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - acceleratorCount_ = input.readInt64(); + case 8: + { + acceleratorCount_ = input.readInt64(); - break; - } // case 8 - case 18: { - acceleratorType_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: + { + acceleratorType_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - gpuPartitionSize_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + gpuPartitionSize_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - maxTimeSharedClientsPerGpu_ = input.readInt64(); + break; + } // case 26 + case 32: + { + maxTimeSharedClientsPerGpu_ = input.readInt64(); - break; - } // case 32 - case 42: { - input.readMessage( - getGpuSharingConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + case 42: + { + input.readMessage( + getGpuSharingConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -653,15 +705,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long acceleratorCount_ ; + private long acceleratorCount_; /** + * + * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; + * * @return The acceleratorCount. */ @java.lang.Override @@ -669,30 +725,36 @@ public long getAcceleratorCount() { return acceleratorCount_; } /** + * + * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; + * * @param value The acceleratorCount to set. * @return This builder for chaining. */ public Builder setAcceleratorCount(long value) { - + acceleratorCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of the accelerator cards exposed to an instance.
      * 
* * int64 accelerator_count = 1; + * * @return This builder for chaining. */ public Builder clearAcceleratorCount() { - + acceleratorCount_ = 0L; onChanged(); return this; @@ -700,19 +762,21 @@ public Builder clearAcceleratorCount() { private java.lang.Object acceleratorType_ = ""; /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @return The acceleratorType. */ public java.lang.String getAcceleratorType() { java.lang.Object ref = acceleratorType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); acceleratorType_ = s; return s; @@ -721,21 +785,22 @@ public java.lang.String getAcceleratorType() { } } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @return The bytes for acceleratorType. */ - public com.google.protobuf.ByteString - getAcceleratorTypeBytes() { + public com.google.protobuf.ByteString getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); acceleratorType_ = b; return b; } else { @@ -743,57 +808,64 @@ public java.lang.String getAcceleratorType() { } } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @param value The acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorType( - java.lang.String value) { + public Builder setAcceleratorType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + acceleratorType_ = value; onChanged(); return this; } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @return This builder for chaining. */ public Builder clearAcceleratorType() { - + acceleratorType_ = getDefaultInstance().getAcceleratorType(); onChanged(); return this; } /** + * + * *
      * The accelerator type resource name. List of supported accelerators
      * [here](https://cloud.google.com/compute/docs/gpus)
      * 
* * string accelerator_type = 2; + * * @param value The bytes for acceleratorType to set. * @return This builder for chaining. */ - public Builder setAcceleratorTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + acceleratorType_ = value; onChanged(); return this; @@ -801,6 +873,8 @@ public Builder setAcceleratorTypeBytes( private java.lang.Object gpuPartitionSize_ = ""; /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -808,13 +882,13 @@ public Builder setAcceleratorTypeBytes(
      * 
* * string gpu_partition_size = 3; + * * @return The gpuPartitionSize. */ public java.lang.String getGpuPartitionSize() { java.lang.Object ref = gpuPartitionSize_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gpuPartitionSize_ = s; return s; @@ -823,6 +897,8 @@ public java.lang.String getGpuPartitionSize() { } } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -830,15 +906,14 @@ public java.lang.String getGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; + * * @return The bytes for gpuPartitionSize. */ - public com.google.protobuf.ByteString - getGpuPartitionSizeBytes() { + public com.google.protobuf.ByteString getGpuPartitionSizeBytes() { java.lang.Object ref = gpuPartitionSize_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); gpuPartitionSize_ = b; return b; } else { @@ -846,6 +921,8 @@ public java.lang.String getGpuPartitionSize() { } } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -853,20 +930,22 @@ public java.lang.String getGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; + * * @param value The gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSize( - java.lang.String value) { + public Builder setGpuPartitionSize(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + gpuPartitionSize_ = value; onChanged(); return this; } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -874,15 +953,18 @@ public Builder setGpuPartitionSize(
      * 
* * string gpu_partition_size = 3; + * * @return This builder for chaining. */ public Builder clearGpuPartitionSize() { - + gpuPartitionSize_ = getDefaultInstance().getGpuPartitionSize(); onChanged(); return this; } /** + * + * *
      * Size of partitions to create on the GPU. Valid values are described in the
      * NVIDIA [mig user
@@ -890,65 +972,77 @@ public Builder clearGpuPartitionSize() {
      * 
* * string gpu_partition_size = 3; + * * @param value The bytes for gpuPartitionSize to set. * @return This builder for chaining. */ - public Builder setGpuPartitionSizeBytes( - com.google.protobuf.ByteString value) { + public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + gpuPartitionSize_ = value; onChanged(); return this; } - private long maxTimeSharedClientsPerGpu_ ; + private long maxTimeSharedClientsPerGpu_; /** + * + * *
      * The number of time-shared GPU resources to expose for each physical GPU.
      * 
* * 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=4172 + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4172 * @return The maxTimeSharedClientsPerGpu. */ @java.lang.Override - @java.lang.Deprecated public long getMaxTimeSharedClientsPerGpu() { + @java.lang.Deprecated + public long getMaxTimeSharedClientsPerGpu() { return maxTimeSharedClientsPerGpu_; } /** + * + * *
      * The number of time-shared GPU resources to expose for each physical GPU.
      * 
* * 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=4172 + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4172 * @param value The maxTimeSharedClientsPerGpu to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMaxTimeSharedClientsPerGpu(long value) { - + @java.lang.Deprecated + public Builder setMaxTimeSharedClientsPerGpu(long value) { + maxTimeSharedClientsPerGpu_ = value; onChanged(); return this; } /** + * + * *
      * The number of time-shared GPU resources to expose for each physical GPU.
      * 
* * 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=4172 + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4172 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMaxTimeSharedClientsPerGpu() { - + @java.lang.Deprecated + public Builder clearMaxTimeSharedClientsPerGpu() { + maxTimeSharedClientsPerGpu_ = 0L; onChanged(); return this; @@ -956,34 +1050,47 @@ public Builder setGpuPartitionSizeBytes( private com.google.container.v1beta1.GPUSharingConfig gpuSharingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GPUSharingConfig, com.google.container.v1beta1.GPUSharingConfig.Builder, com.google.container.v1beta1.GPUSharingConfigOrBuilder> gpuSharingConfigBuilder_; + com.google.container.v1beta1.GPUSharingConfig, + com.google.container.v1beta1.GPUSharingConfig.Builder, + com.google.container.v1beta1.GPUSharingConfigOrBuilder> + gpuSharingConfigBuilder_; /** + * + * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * * @return Whether the gpuSharingConfig field is set. */ public boolean hasGpuSharingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The configuration for GPU sharing options.
      * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * * @return The gpuSharingConfig. */ public com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig() { if (gpuSharingConfigBuilder_ == null) { - return gpuSharingConfig_ == null ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } else { return gpuSharingConfigBuilder_.getMessage(); } } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1004,6 +1111,8 @@ public Builder setGpuSharingConfig(com.google.container.v1beta1.GPUSharingConfig return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1022,6 +1131,8 @@ public Builder setGpuSharingConfig( return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1030,11 +1141,14 @@ public Builder setGpuSharingConfig( */ public Builder mergeGpuSharingConfig(com.google.container.v1beta1.GPUSharingConfig value) { if (gpuSharingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - gpuSharingConfig_ != null && - gpuSharingConfig_ != com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && gpuSharingConfig_ != null + && gpuSharingConfig_ + != com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance()) { gpuSharingConfig_ = - com.google.container.v1beta1.GPUSharingConfig.newBuilder(gpuSharingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GPUSharingConfig.newBuilder(gpuSharingConfig_) + .mergeFrom(value) + .buildPartial(); } else { gpuSharingConfig_ = value; } @@ -1046,6 +1160,8 @@ public Builder mergeGpuSharingConfig(com.google.container.v1beta1.GPUSharingConf return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1063,6 +1179,8 @@ public Builder clearGpuSharingConfig() { return this; } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1075,6 +1193,8 @@ public com.google.container.v1beta1.GPUSharingConfig.Builder getGpuSharingConfig return getGpuSharingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1085,11 +1205,14 @@ public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfi if (gpuSharingConfigBuilder_ != null) { return gpuSharingConfigBuilder_.getMessageOrBuilder(); } else { - return gpuSharingConfig_ == null ? - com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() : gpuSharingConfig_; + return gpuSharingConfig_ == null + ? com.google.container.v1beta1.GPUSharingConfig.getDefaultInstance() + : gpuSharingConfig_; } } /** + * + * *
      * The configuration for GPU sharing options.
      * 
@@ -1097,21 +1220,24 @@ public com.google.container.v1beta1.GPUSharingConfigOrBuilder getGpuSharingConfi * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GPUSharingConfig, com.google.container.v1beta1.GPUSharingConfig.Builder, com.google.container.v1beta1.GPUSharingConfigOrBuilder> + com.google.container.v1beta1.GPUSharingConfig, + com.google.container.v1beta1.GPUSharingConfig.Builder, + com.google.container.v1beta1.GPUSharingConfigOrBuilder> getGpuSharingConfigFieldBuilder() { if (gpuSharingConfigBuilder_ == null) { - gpuSharingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GPUSharingConfig, com.google.container.v1beta1.GPUSharingConfig.Builder, com.google.container.v1beta1.GPUSharingConfigOrBuilder>( - getGpuSharingConfig(), - getParentForChildren(), - isClean()); + gpuSharingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GPUSharingConfig, + com.google.container.v1beta1.GPUSharingConfig.Builder, + com.google.container.v1beta1.GPUSharingConfigOrBuilder>( + getGpuSharingConfig(), getParentForChildren(), isClean()); gpuSharingConfig_ = null; } return gpuSharingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1121,12 +1247,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AcceleratorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AcceleratorConfig) private static final com.google.container.v1beta1.AcceleratorConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AcceleratorConfig(); } @@ -1135,27 +1261,27 @@ public static com.google.container.v1beta1.AcceleratorConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AcceleratorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AcceleratorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1170,6 +1296,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AcceleratorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AcceleratorConfigOrBuilder.java index 2469b3dba8d3..01758e49724d 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,45 +1,71 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AcceleratorConfigOrBuilder extends +public interface AcceleratorConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AcceleratorConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of the accelerator cards exposed to an instance.
    * 
* * int64 accelerator_count = 1; + * * @return The acceleratorCount. */ long getAcceleratorCount(); /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The acceleratorType. */ java.lang.String getAcceleratorType(); /** + * + * *
    * The accelerator type resource name. List of supported accelerators
    * [here](https://cloud.google.com/compute/docs/gpus)
    * 
* * string accelerator_type = 2; + * * @return The bytes for acceleratorType. */ - com.google.protobuf.ByteString - getAcceleratorTypeBytes(); + com.google.protobuf.ByteString getAcceleratorTypeBytes(); /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -47,10 +73,13 @@ public interface AcceleratorConfigOrBuilder extends
    * 
* * string gpu_partition_size = 3; + * * @return The gpuPartitionSize. */ java.lang.String getGpuPartitionSize(); /** + * + * *
    * Size of partitions to create on the GPU. Valid values are described in the
    * NVIDIA [mig user
@@ -58,42 +87,54 @@ public interface AcceleratorConfigOrBuilder extends
    * 
* * string gpu_partition_size = 3; + * * @return The bytes for gpuPartitionSize. */ - com.google.protobuf.ByteString - getGpuPartitionSizeBytes(); + com.google.protobuf.ByteString getGpuPartitionSizeBytes(); /** + * + * *
    * The number of time-shared GPU resources to expose for each physical GPU.
    * 
* * 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=4172 + * + * @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=4172 * @return The maxTimeSharedClientsPerGpu. */ - @java.lang.Deprecated long getMaxTimeSharedClientsPerGpu(); + @java.lang.Deprecated + long getMaxTimeSharedClientsPerGpu(); /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * * @return Whether the gpuSharingConfig field is set. */ boolean hasGpuSharingConfig(); /** + * + * *
    * The configuration for GPU sharing options.
    * 
* * optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5; + * * @return The gpuSharingConfig. */ com.google.container.v1beta1.GPUSharingConfig getGpuSharingConfig(); /** + * + * *
    * The configuration for GPU sharing options.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfig.java index d10a61effbd6..191baeadb1b8 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration for the addons that can be automatically spun up in the
  * cluster, enabling additional functionality.
@@ -11,52 +28,56 @@
  *
  * Protobuf type {@code google.container.v1beta1.AddonsConfig}
  */
-public final class AddonsConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AddonsConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.AddonsConfig)
     AddonsConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AddonsConfig.newBuilder() to construct.
   private AddonsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AddonsConfig() {
-  }
+
+  private AddonsConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AddonsConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_AddonsConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.AddonsConfig.class, com.google.container.v1beta1.AddonsConfig.Builder.class);
+            com.google.container.v1beta1.AddonsConfig.class,
+            com.google.container.v1beta1.AddonsConfig.Builder.class);
   }
 
   public static final int HTTP_LOAD_BALANCING_FIELD_NUMBER = 1;
   private com.google.container.v1beta1.HttpLoadBalancing httpLoadBalancing_;
   /**
+   *
+   *
    * 
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; + * * @return Whether the httpLoadBalancing field is set. */ @java.lang.Override @@ -64,19 +85,26 @@ public boolean hasHttpLoadBalancing() { return httpLoadBalancing_ != null; } /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; + * * @return The httpLoadBalancing. */ @java.lang.Override public com.google.container.v1beta1.HttpLoadBalancing getHttpLoadBalancing() { - return httpLoadBalancing_ == null ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; + return httpLoadBalancing_ == null + ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() + : httpLoadBalancing_; } /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -92,6 +120,8 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
   public static final int HORIZONTAL_POD_AUTOSCALING_FIELD_NUMBER = 2;
   private com.google.container.v1beta1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
   /**
+   *
+   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -99,6 +129,7 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return Whether the horizontalPodAutoscaling field is set. */ @java.lang.Override @@ -106,6 +137,8 @@ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscaling_ != null; } /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -113,13 +146,18 @@ public boolean hasHorizontalPodAutoscaling() {
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return The horizontalPodAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { - return horizontalPodAutoscaling_ == null ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null + ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() + : horizontalPodAutoscaling_; } /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -129,13 +167,16 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut
    * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() {
+  public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder
+      getHorizontalPodAutoscalingOrBuilder() {
     return getHorizontalPodAutoscaling();
   }
 
   public static final int KUBERNETES_DASHBOARD_FIELD_NUMBER = 3;
   private com.google.container.v1beta1.KubernetesDashboard kubernetesDashboard_;
   /**
+   *
+   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -144,16 +185,22 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1054 + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1054 * @return Whether the kubernetesDashboard field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasKubernetesDashboard() { + @java.lang.Deprecated + public boolean hasKubernetesDashboard() { return kubernetesDashboard_ != null; } /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -162,16 +209,24 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1054 + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1054 * @return The kubernetesDashboard. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { - return kubernetesDashboard_ == null ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; + @java.lang.Deprecated + public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { + return kubernetesDashboard_ == null + ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() + : kubernetesDashboard_; } /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -180,16 +235,22 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated + public com.google.container.v1beta1.KubernetesDashboardOrBuilder + getKubernetesDashboardOrBuilder() { return getKubernetesDashboard(); } public static final int NETWORK_POLICY_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1beta1.NetworkPolicyConfig networkPolicyConfig_; /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -197,6 +258,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; + * * @return Whether the networkPolicyConfig field is set. */ @java.lang.Override @@ -204,6 +266,8 @@ public boolean hasNetworkPolicyConfig() { return networkPolicyConfig_ != null; } /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -211,13 +275,18 @@ public boolean hasNetworkPolicyConfig() {
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; + * * @return The networkPolicyConfig. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() { - return networkPolicyConfig_ == null ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; + return networkPolicyConfig_ == null + ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() + : networkPolicyConfig_; } /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -227,43 +296,56 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig()
    * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder() {
+  public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder
+      getNetworkPolicyConfigOrBuilder() {
     return getNetworkPolicyConfig();
   }
 
   public static final int ISTIO_CONFIG_FIELD_NUMBER = 5;
   private com.google.container.v1beta1.IstioConfig istioConfig_;
   /**
+   *
+   *
    * 
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1063 + * + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1063 * @return Whether the istioConfig field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasIstioConfig() { + @java.lang.Deprecated + public boolean hasIstioConfig() { return istioConfig_ != null; } /** + * + * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1063 + * + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1063 * @return The istioConfig. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig getIstioConfig() { - return istioConfig_ == null ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() : istioConfig_; + @java.lang.Deprecated + public com.google.container.v1beta1.IstioConfig getIstioConfig() { + return istioConfig_ == null + ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() + : istioConfig_; } /** + * + * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
@@ -272,13 +354,16 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
    * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
+  @java.lang.Deprecated
+  public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
     return getIstioConfig();
   }
 
   public static final int CLOUD_RUN_CONFIG_FIELD_NUMBER = 7;
   private com.google.container.v1beta1.CloudRunConfig cloudRunConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -286,6 +371,7 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; + * * @return Whether the cloudRunConfig field is set. */ @java.lang.Override @@ -293,6 +379,8 @@ public boolean hasCloudRunConfig() { return cloudRunConfig_ != null; } /** + * + * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -300,13 +388,18 @@ public boolean hasCloudRunConfig() {
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; + * * @return The cloudRunConfig. */ @java.lang.Override public com.google.container.v1beta1.CloudRunConfig getCloudRunConfig() { - return cloudRunConfig_ == null ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; + return cloudRunConfig_ == null + ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() + : cloudRunConfig_; } /** + * + * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -323,11 +416,14 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
   public static final int DNS_CACHE_CONFIG_FIELD_NUMBER = 8;
   private com.google.container.v1beta1.DnsCacheConfig dnsCacheConfig_;
   /**
+   *
+   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; + * * @return Whether the dnsCacheConfig field is set. */ @java.lang.Override @@ -335,18 +431,25 @@ public boolean hasDnsCacheConfig() { return dnsCacheConfig_ != null; } /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; + * * @return The dnsCacheConfig. */ @java.lang.Override public com.google.container.v1beta1.DnsCacheConfig getDnsCacheConfig() { - return dnsCacheConfig_ == null ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; + return dnsCacheConfig_ == null + ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() + : dnsCacheConfig_; } /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -361,12 +464,15 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB public static final int CONFIG_CONNECTOR_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1beta1.ConfigConnectorConfig configConnectorConfig_; /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; + * * @return Whether the configConnectorConfig field is set. */ @java.lang.Override @@ -374,19 +480,26 @@ public boolean hasConfigConnectorConfig() { return configConnectorConfig_ != null; } /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; + * * @return The configConnectorConfig. */ @java.lang.Override public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConfig() { - return configConnectorConfig_ == null ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; + return configConnectorConfig_ == null + ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() + : configConnectorConfig_; } /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -395,18 +508,25 @@ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConf
    * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
+  public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder
+      getConfigConnectorConfigOrBuilder() {
     return getConfigConnectorConfig();
   }
 
   public static final int GCE_PERSISTENT_DISK_CSI_DRIVER_CONFIG_FIELD_NUMBER = 11;
-  private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
+  private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig
+      gcePersistentDiskCsiDriverConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ @java.lang.Override @@ -414,62 +534,87 @@ public boolean hasGcePersistentDiskCsiDriverConfig() { return gcePersistentDiskCsiDriverConfig_ != null; } /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return The gcePersistentDiskCsiDriverConfig. */ @java.lang.Override - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig + getGcePersistentDiskCsiDriverConfig() { + return gcePersistentDiskCsiDriverConfig_ == null + ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() + : gcePersistentDiskCsiDriverConfig_; } /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ @java.lang.Override - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder + getGcePersistentDiskCsiDriverConfigOrBuilder() { return getGcePersistentDiskCsiDriverConfig(); } public static final int KALM_CONFIG_FIELD_NUMBER = 12; private com.google.container.v1beta1.KalmConfig kalmConfig_; /** + * + * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1082 + * + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1082 * @return Whether the kalmConfig field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasKalmConfig() { + @java.lang.Deprecated + public boolean hasKalmConfig() { return kalmConfig_ != null; } /** + * + * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1082 + * + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1082 * @return The kalmConfig. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.KalmConfig getKalmConfig() { - return kalmConfig_ == null ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() : kalmConfig_; + @java.lang.Deprecated + public com.google.container.v1beta1.KalmConfig getKalmConfig() { + return kalmConfig_ == null + ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() + : kalmConfig_; } /** + * + * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
@@ -478,18 +623,24 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
    * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
+  @java.lang.Deprecated
+  public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
     return getKalmConfig();
   }
 
   public static final int GCP_FILESTORE_CSI_DRIVER_CONFIG_FIELD_NUMBER = 14;
   private com.google.container.v1beta1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_;
   /**
+   *
+   *
    * 
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ @java.lang.Override @@ -497,37 +648,52 @@ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfig_ != null; } /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return The gcpFilestoreCsiDriverConfig. */ @java.lang.Override public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { - return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null + ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() + : gcpFilestoreCsiDriverConfig_; } /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ @java.lang.Override - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder + getGcpFilestoreCsiDriverConfigOrBuilder() { return getGcpFilestoreCsiDriverConfig(); } public static final int GKE_BACKUP_AGENT_CONFIG_FIELD_NUMBER = 16; private com.google.container.v1beta1.GkeBackupAgentConfig gkeBackupAgentConfig_; /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return Whether the gkeBackupAgentConfig field is set. */ @java.lang.Override @@ -535,18 +701,25 @@ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfig_ != null; } /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return The gkeBackupAgentConfig. */ @java.lang.Override public com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig() { - return gkeBackupAgentConfig_ == null ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null + ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() + : gkeBackupAgentConfig_; } /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
@@ -554,11 +727,13 @@ public com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ @java.lang.Override - public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder() { + public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder + getGkeBackupAgentConfigOrBuilder() { return getGkeBackupAgentConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -570,8 +745,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (httpLoadBalancing_ != null) { output.writeMessage(1, getHttpLoadBalancing()); } @@ -618,52 +792,48 @@ public int getSerializedSize() { size = 0; if (httpLoadBalancing_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHttpLoadBalancing()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHttpLoadBalancing()); } if (horizontalPodAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getHorizontalPodAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getHorizontalPodAutoscaling()); } if (kubernetesDashboard_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getKubernetesDashboard()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getKubernetesDashboard()); } if (networkPolicyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNetworkPolicyConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicyConfig()); } if (istioConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getIstioConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getIstioConfig()); } if (cloudRunConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCloudRunConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCloudRunConfig()); } if (dnsCacheConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getDnsCacheConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDnsCacheConfig()); } if (configConnectorConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getConfigConnectorConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(10, getConfigConnectorConfig()); } if (gcePersistentDiskCsiDriverConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getGcePersistentDiskCsiDriverConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, getGcePersistentDiskCsiDriverConfig()); } if (kalmConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getKalmConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getKalmConfig()); } if (gcpFilestoreCsiDriverConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getGcpFilestoreCsiDriverConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, getGcpFilestoreCsiDriverConfig()); } if (gkeBackupAgentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getGkeBackupAgentConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGkeBackupAgentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -673,72 +843,64 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AddonsConfig)) { return super.equals(obj); } - com.google.container.v1beta1.AddonsConfig other = (com.google.container.v1beta1.AddonsConfig) obj; + com.google.container.v1beta1.AddonsConfig other = + (com.google.container.v1beta1.AddonsConfig) obj; if (hasHttpLoadBalancing() != other.hasHttpLoadBalancing()) return false; if (hasHttpLoadBalancing()) { - if (!getHttpLoadBalancing() - .equals(other.getHttpLoadBalancing())) return false; + if (!getHttpLoadBalancing().equals(other.getHttpLoadBalancing())) return false; } if (hasHorizontalPodAutoscaling() != other.hasHorizontalPodAutoscaling()) return false; if (hasHorizontalPodAutoscaling()) { - if (!getHorizontalPodAutoscaling() - .equals(other.getHorizontalPodAutoscaling())) return false; + if (!getHorizontalPodAutoscaling().equals(other.getHorizontalPodAutoscaling())) return false; } if (hasKubernetesDashboard() != other.hasKubernetesDashboard()) return false; if (hasKubernetesDashboard()) { - if (!getKubernetesDashboard() - .equals(other.getKubernetesDashboard())) return false; + if (!getKubernetesDashboard().equals(other.getKubernetesDashboard())) return false; } if (hasNetworkPolicyConfig() != other.hasNetworkPolicyConfig()) return false; if (hasNetworkPolicyConfig()) { - if (!getNetworkPolicyConfig() - .equals(other.getNetworkPolicyConfig())) return false; + if (!getNetworkPolicyConfig().equals(other.getNetworkPolicyConfig())) return false; } if (hasIstioConfig() != other.hasIstioConfig()) return false; if (hasIstioConfig()) { - if (!getIstioConfig() - .equals(other.getIstioConfig())) return false; + if (!getIstioConfig().equals(other.getIstioConfig())) return false; } if (hasCloudRunConfig() != other.hasCloudRunConfig()) return false; if (hasCloudRunConfig()) { - if (!getCloudRunConfig() - .equals(other.getCloudRunConfig())) return false; + if (!getCloudRunConfig().equals(other.getCloudRunConfig())) return false; } if (hasDnsCacheConfig() != other.hasDnsCacheConfig()) return false; if (hasDnsCacheConfig()) { - if (!getDnsCacheConfig() - .equals(other.getDnsCacheConfig())) return false; + if (!getDnsCacheConfig().equals(other.getDnsCacheConfig())) return false; } if (hasConfigConnectorConfig() != other.hasConfigConnectorConfig()) return false; if (hasConfigConnectorConfig()) { - if (!getConfigConnectorConfig() - .equals(other.getConfigConnectorConfig())) return false; + if (!getConfigConnectorConfig().equals(other.getConfigConnectorConfig())) return false; } - if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) return false; + if (hasGcePersistentDiskCsiDriverConfig() != other.hasGcePersistentDiskCsiDriverConfig()) + return false; if (hasGcePersistentDiskCsiDriverConfig()) { if (!getGcePersistentDiskCsiDriverConfig() .equals(other.getGcePersistentDiskCsiDriverConfig())) return false; } if (hasKalmConfig() != other.hasKalmConfig()) return false; if (hasKalmConfig()) { - if (!getKalmConfig() - .equals(other.getKalmConfig())) return false; + if (!getKalmConfig().equals(other.getKalmConfig())) return false; } if (hasGcpFilestoreCsiDriverConfig() != other.hasGcpFilestoreCsiDriverConfig()) return false; if (hasGcpFilestoreCsiDriverConfig()) { - if (!getGcpFilestoreCsiDriverConfig() - .equals(other.getGcpFilestoreCsiDriverConfig())) return false; + if (!getGcpFilestoreCsiDriverConfig().equals(other.getGcpFilestoreCsiDriverConfig())) + return false; } if (hasGkeBackupAgentConfig() != other.hasGkeBackupAgentConfig()) return false; if (hasGkeBackupAgentConfig()) { - if (!getGkeBackupAgentConfig() - .equals(other.getGkeBackupAgentConfig())) return false; + if (!getGkeBackupAgentConfig().equals(other.getGkeBackupAgentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -804,97 +966,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.AddonsConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.AddonsConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AddonsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AddonsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AddonsConfig parseFrom( 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.AddonsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AddonsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.AddonsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AddonsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AddonsConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AddonsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AddonsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.AddonsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AddonsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.AddonsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the addons that can be automatically spun up in the
    * cluster, enabling additional functionality.
@@ -902,33 +1071,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.AddonsConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AddonsConfig)
       com.google.container.v1beta1.AddonsConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.AddonsConfig.class, com.google.container.v1beta1.AddonsConfig.Builder.class);
+              com.google.container.v1beta1.AddonsConfig.class,
+              com.google.container.v1beta1.AddonsConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.AddonsConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1008,9 +1176,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AddonsConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AddonsConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1029,7 +1197,8 @@ public com.google.container.v1beta1.AddonsConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.AddonsConfig buildPartial() {
-      com.google.container.v1beta1.AddonsConfig result = new com.google.container.v1beta1.AddonsConfig(this);
+      com.google.container.v1beta1.AddonsConfig result =
+          new com.google.container.v1beta1.AddonsConfig(this);
       if (httpLoadBalancingBuilder_ == null) {
         result.httpLoadBalancing_ = httpLoadBalancing_;
       } else {
@@ -1098,38 +1267,39 @@ public com.google.container.v1beta1.AddonsConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.AddonsConfig) {
-        return mergeFrom((com.google.container.v1beta1.AddonsConfig)other);
+        return mergeFrom((com.google.container.v1beta1.AddonsConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1200,96 +1370,94 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getHttpLoadBalancingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getHorizontalPodAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getKubernetesDashboardFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getNetworkPolicyConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getIstioConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 58: {
-              input.readMessage(
-                  getCloudRunConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getDnsCacheConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 82: {
-              input.readMessage(
-                  getConfigConnectorConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 82
-            case 90: {
-              input.readMessage(
-                  getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getKalmConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 98
-            case 114: {
-              input.readMessage(
-                  getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 114
-            case 130: {
-              input.readMessage(
-                  getGkeBackupAgentConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 130
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(
+                    getHttpLoadBalancingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(
+                    getHorizontalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getKubernetesDashboardFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(
+                    getNetworkPolicyConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getIstioConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 58:
+              {
+                input.readMessage(getCloudRunConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(getDnsCacheConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 82:
+              {
+                input.readMessage(
+                    getConfigConnectorConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 82
+            case 90:
+              {
+                input.readMessage(
+                    getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getKalmConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 98
+            case 114:
+              {
+                input.readMessage(
+                    getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 114
+            case 130:
+              {
+                input.readMessage(
+                    getGkeBackupAgentConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 130
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1302,36 +1470,49 @@ public Builder mergeFrom(
 
     private com.google.container.v1beta1.HttpLoadBalancing httpLoadBalancing_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.HttpLoadBalancing, com.google.container.v1beta1.HttpLoadBalancing.Builder, com.google.container.v1beta1.HttpLoadBalancingOrBuilder> httpLoadBalancingBuilder_;
+            com.google.container.v1beta1.HttpLoadBalancing,
+            com.google.container.v1beta1.HttpLoadBalancing.Builder,
+            com.google.container.v1beta1.HttpLoadBalancingOrBuilder>
+        httpLoadBalancingBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; + * * @return Whether the httpLoadBalancing field is set. */ public boolean hasHttpLoadBalancing() { return httpLoadBalancingBuilder_ != null || httpLoadBalancing_ != null; } /** + * + * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
      * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; + * * @return The httpLoadBalancing. */ public com.google.container.v1beta1.HttpLoadBalancing getHttpLoadBalancing() { if (httpLoadBalancingBuilder_ == null) { - return httpLoadBalancing_ == null ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_; + return httpLoadBalancing_ == null + ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() + : httpLoadBalancing_; } else { return httpLoadBalancingBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1353,6 +1534,8 @@ public Builder setHttpLoadBalancing(com.google.container.v1beta1.HttpLoadBalanci
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1372,6 +1555,8 @@ public Builder setHttpLoadBalancing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1383,7 +1568,9 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1beta1.HttpLoadBalan
       if (httpLoadBalancingBuilder_ == null) {
         if (httpLoadBalancing_ != null) {
           httpLoadBalancing_ =
-            com.google.container.v1beta1.HttpLoadBalancing.newBuilder(httpLoadBalancing_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.HttpLoadBalancing.newBuilder(httpLoadBalancing_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           httpLoadBalancing_ = value;
         }
@@ -1395,6 +1582,8 @@ public Builder mergeHttpLoadBalancing(com.google.container.v1beta1.HttpLoadBalan
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1414,6 +1603,8 @@ public Builder clearHttpLoadBalancing() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1422,11 +1613,13 @@ public Builder clearHttpLoadBalancing() {
      * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1;
      */
     public com.google.container.v1beta1.HttpLoadBalancing.Builder getHttpLoadBalancingBuilder() {
-      
+
       onChanged();
       return getHttpLoadBalancingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1438,11 +1631,14 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
       if (httpLoadBalancingBuilder_ != null) {
         return httpLoadBalancingBuilder_.getMessageOrBuilder();
       } else {
-        return httpLoadBalancing_ == null ?
-            com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance() : httpLoadBalancing_;
+        return httpLoadBalancing_ == null
+            ? com.google.container.v1beta1.HttpLoadBalancing.getDefaultInstance()
+            : httpLoadBalancing_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the HTTP (L7) load balancing controller addon, which
      * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -1451,14 +1647,17 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
      * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.HttpLoadBalancing, com.google.container.v1beta1.HttpLoadBalancing.Builder, com.google.container.v1beta1.HttpLoadBalancingOrBuilder> 
+            com.google.container.v1beta1.HttpLoadBalancing,
+            com.google.container.v1beta1.HttpLoadBalancing.Builder,
+            com.google.container.v1beta1.HttpLoadBalancingOrBuilder>
         getHttpLoadBalancingFieldBuilder() {
       if (httpLoadBalancingBuilder_ == null) {
-        httpLoadBalancingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.HttpLoadBalancing, com.google.container.v1beta1.HttpLoadBalancing.Builder, com.google.container.v1beta1.HttpLoadBalancingOrBuilder>(
-                getHttpLoadBalancing(),
-                getParentForChildren(),
-                isClean());
+        httpLoadBalancingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.HttpLoadBalancing,
+                com.google.container.v1beta1.HttpLoadBalancing.Builder,
+                com.google.container.v1beta1.HttpLoadBalancingOrBuilder>(
+                getHttpLoadBalancing(), getParentForChildren(), isClean());
         httpLoadBalancing_ = null;
       }
       return httpLoadBalancingBuilder_;
@@ -1466,47 +1665,64 @@ public com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalanc
 
     private com.google.container.v1beta1.HorizontalPodAutoscaling horizontalPodAutoscaling_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.HorizontalPodAutoscaling, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder> horizontalPodAutoscalingBuilder_;
+            com.google.container.v1beta1.HorizontalPodAutoscaling,
+            com.google.container.v1beta1.HorizontalPodAutoscaling.Builder,
+            com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder>
+        horizontalPodAutoscalingBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * + * * @return Whether the horizontalPodAutoscaling field is set. */ public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscalingBuilder_ != null || horizontalPodAutoscaling_ != null; } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * + * * @return The horizontalPodAutoscaling. */ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { if (horizontalPodAutoscalingBuilder_ == null) { - return horizontalPodAutoscaling_ == null ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null + ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() + : horizontalPodAutoscaling_; } else { return horizontalPodAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * */ - public Builder setHorizontalPodAutoscaling(com.google.container.v1beta1.HorizontalPodAutoscaling value) { + public Builder setHorizontalPodAutoscaling( + com.google.container.v1beta1.HorizontalPodAutoscaling value) { if (horizontalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1520,13 +1736,16 @@ public Builder setHorizontalPodAutoscaling(com.google.container.v1beta1.Horizont return this; } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * */ public Builder setHorizontalPodAutoscaling( com.google.container.v1beta1.HorizontalPodAutoscaling.Builder builderForValue) { @@ -1540,19 +1759,26 @@ public Builder setHorizontalPodAutoscaling( return this; } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * */ - public Builder mergeHorizontalPodAutoscaling(com.google.container.v1beta1.HorizontalPodAutoscaling value) { + public Builder mergeHorizontalPodAutoscaling( + com.google.container.v1beta1.HorizontalPodAutoscaling value) { if (horizontalPodAutoscalingBuilder_ == null) { if (horizontalPodAutoscaling_ != null) { horizontalPodAutoscaling_ = - com.google.container.v1beta1.HorizontalPodAutoscaling.newBuilder(horizontalPodAutoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.HorizontalPodAutoscaling.newBuilder( + horizontalPodAutoscaling_) + .mergeFrom(value) + .buildPartial(); } else { horizontalPodAutoscaling_ = value; } @@ -1564,13 +1790,16 @@ public Builder mergeHorizontalPodAutoscaling(com.google.container.v1beta1.Horizo return this; } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * */ public Builder clearHorizontalPodAutoscaling() { if (horizontalPodAutoscalingBuilder_ == null) { @@ -1584,54 +1813,69 @@ public Builder clearHorizontalPodAutoscaling() { return this; } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * */ - public com.google.container.v1beta1.HorizontalPodAutoscaling.Builder getHorizontalPodAutoscalingBuilder() { - + public com.google.container.v1beta1.HorizontalPodAutoscaling.Builder + getHorizontalPodAutoscalingBuilder() { + onChanged(); return getHorizontalPodAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * */ - public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder + getHorizontalPodAutoscalingOrBuilder() { if (horizontalPodAutoscalingBuilder_ != null) { return horizontalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return horizontalPodAutoscaling_ == null ? - com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() : horizontalPodAutoscaling_; + return horizontalPodAutoscaling_ == null + ? com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance() + : horizontalPodAutoscaling_; } } /** + * + * *
      * Configuration for the horizontal pod autoscaling feature, which
      * increases or decreases the number of replica pods a replication controller
      * has based on the resource usage of the existing pods.
      * 
* - * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.HorizontalPodAutoscaling, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder> + com.google.container.v1beta1.HorizontalPodAutoscaling, + com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, + com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder> getHorizontalPodAutoscalingFieldBuilder() { if (horizontalPodAutoscalingBuilder_ == null) { - horizontalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.HorizontalPodAutoscaling, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder>( - getHorizontalPodAutoscaling(), - getParentForChildren(), - isClean()); + horizontalPodAutoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.HorizontalPodAutoscaling, + com.google.container.v1beta1.HorizontalPodAutoscaling.Builder, + com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder>( + getHorizontalPodAutoscaling(), getParentForChildren(), isClean()); horizontalPodAutoscaling_ = null; } return horizontalPodAutoscalingBuilder_; @@ -1639,8 +1883,13 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon private com.google.container.v1beta1.KubernetesDashboard kubernetesDashboard_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KubernetesDashboard, com.google.container.v1beta1.KubernetesDashboard.Builder, com.google.container.v1beta1.KubernetesDashboardOrBuilder> kubernetesDashboardBuilder_; + com.google.container.v1beta1.KubernetesDashboard, + com.google.container.v1beta1.KubernetesDashboard.Builder, + com.google.container.v1beta1.KubernetesDashboardOrBuilder> + kubernetesDashboardBuilder_; /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1649,15 +1898,21 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1054 + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1054 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated public boolean hasKubernetesDashboard() { + @java.lang.Deprecated + public boolean hasKubernetesDashboard() { return kubernetesDashboardBuilder_ != null || kubernetesDashboard_ != null; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1666,19 +1921,27 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1054 + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1054 * @return The kubernetesDashboard. */ - @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { + @java.lang.Deprecated + public com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { - return kubernetesDashboard_ == null ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; + return kubernetesDashboard_ == null + ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() + : kubernetesDashboard_; } else { return kubernetesDashboardBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1687,9 +1950,12 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setKubernetesDashboard(com.google.container.v1beta1.KubernetesDashboard value) { + @java.lang.Deprecated + public Builder setKubernetesDashboard(com.google.container.v1beta1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1703,6 +1969,8 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1711,9 +1979,12 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setKubernetesDashboard( + @java.lang.Deprecated + public Builder setKubernetesDashboard( com.google.container.v1beta1.KubernetesDashboard.Builder builderForValue) { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = builderForValue.build(); @@ -1725,6 +1996,8 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1733,13 +2006,19 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder mergeKubernetesDashboard(com.google.container.v1beta1.KubernetesDashboard value) { + @java.lang.Deprecated + public Builder mergeKubernetesDashboard( + com.google.container.v1beta1.KubernetesDashboard value) { if (kubernetesDashboardBuilder_ == null) { if (kubernetesDashboard_ != null) { kubernetesDashboard_ = - com.google.container.v1beta1.KubernetesDashboard.newBuilder(kubernetesDashboard_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.KubernetesDashboard.newBuilder(kubernetesDashboard_) + .mergeFrom(value) + .buildPartial(); } else { kubernetesDashboard_ = value; } @@ -1751,6 +2030,8 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1759,9 +2040,12 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearKubernetesDashboard() { + @java.lang.Deprecated + public Builder clearKubernetesDashboard() { if (kubernetesDashboardBuilder_ == null) { kubernetesDashboard_ = null; onChanged(); @@ -1773,6 +2057,8 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon return this; } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1781,14 +2067,20 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboard.Builder getKubernetesDashboardBuilder() { - + @java.lang.Deprecated + public com.google.container.v1beta1.KubernetesDashboard.Builder + getKubernetesDashboardBuilder() { + onChanged(); return getKubernetesDashboardFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1797,17 +2089,24 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { + @java.lang.Deprecated + public com.google.container.v1beta1.KubernetesDashboardOrBuilder + getKubernetesDashboardOrBuilder() { if (kubernetesDashboardBuilder_ != null) { return kubernetesDashboardBuilder_.getMessageOrBuilder(); } else { - return kubernetesDashboard_ == null ? - com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() : kubernetesDashboard_; + return kubernetesDashboard_ == null + ? com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance() + : kubernetesDashboard_; } } /** + * + * *
      * Configuration for the Kubernetes Dashboard.
      * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -1816,17 +2115,22 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
      * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KubernetesDashboard, com.google.container.v1beta1.KubernetesDashboard.Builder, com.google.container.v1beta1.KubernetesDashboardOrBuilder> + com.google.container.v1beta1.KubernetesDashboard, + com.google.container.v1beta1.KubernetesDashboard.Builder, + com.google.container.v1beta1.KubernetesDashboardOrBuilder> getKubernetesDashboardFieldBuilder() { if (kubernetesDashboardBuilder_ == null) { - kubernetesDashboardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KubernetesDashboard, com.google.container.v1beta1.KubernetesDashboard.Builder, com.google.container.v1beta1.KubernetesDashboardOrBuilder>( - getKubernetesDashboard(), - getParentForChildren(), - isClean()); + kubernetesDashboardBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.KubernetesDashboard, + com.google.container.v1beta1.KubernetesDashboard.Builder, + com.google.container.v1beta1.KubernetesDashboardOrBuilder>( + getKubernetesDashboard(), getParentForChildren(), isClean()); kubernetesDashboard_ = null; } return kubernetesDashboardBuilder_; @@ -1834,8 +2138,13 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon private com.google.container.v1beta1.NetworkPolicyConfig networkPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicyConfig, com.google.container.v1beta1.NetworkPolicyConfig.Builder, com.google.container.v1beta1.NetworkPolicyConfigOrBuilder> networkPolicyConfigBuilder_; + com.google.container.v1beta1.NetworkPolicyConfig, + com.google.container.v1beta1.NetworkPolicyConfig.Builder, + com.google.container.v1beta1.NetworkPolicyConfigOrBuilder> + networkPolicyConfigBuilder_; /** + * + * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1843,12 +2152,15 @@ public com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizon
      * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; + * * @return Whether the networkPolicyConfig field is set. */ public boolean hasNetworkPolicyConfig() { return networkPolicyConfigBuilder_ != null || networkPolicyConfig_ != null; } /** + * + * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1856,16 +2168,21 @@ public boolean hasNetworkPolicyConfig() {
      * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; + * * @return The networkPolicyConfig. */ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig() { if (networkPolicyConfigBuilder_ == null) { - return networkPolicyConfig_ == null ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_; + return networkPolicyConfig_ == null + ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() + : networkPolicyConfig_; } else { return networkPolicyConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1888,6 +2205,8 @@ public Builder setNetworkPolicyConfig(com.google.container.v1beta1.NetworkPolicy
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1908,6 +2227,8 @@ public Builder setNetworkPolicyConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1916,11 +2237,14 @@ public Builder setNetworkPolicyConfig(
      *
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
-    public Builder mergeNetworkPolicyConfig(com.google.container.v1beta1.NetworkPolicyConfig value) {
+    public Builder mergeNetworkPolicyConfig(
+        com.google.container.v1beta1.NetworkPolicyConfig value) {
       if (networkPolicyConfigBuilder_ == null) {
         if (networkPolicyConfig_ != null) {
           networkPolicyConfig_ =
-            com.google.container.v1beta1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NetworkPolicyConfig.newBuilder(networkPolicyConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkPolicyConfig_ = value;
         }
@@ -1932,6 +2256,8 @@ public Builder mergeNetworkPolicyConfig(com.google.container.v1beta1.NetworkPoli
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1952,6 +2278,8 @@ public Builder clearNetworkPolicyConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1960,12 +2288,15 @@ public Builder clearNetworkPolicyConfig() {
      *
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
-    public com.google.container.v1beta1.NetworkPolicyConfig.Builder getNetworkPolicyConfigBuilder() {
-      
+    public com.google.container.v1beta1.NetworkPolicyConfig.Builder
+        getNetworkPolicyConfigBuilder() {
+
       onChanged();
       return getNetworkPolicyConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1974,15 +2305,19 @@ public com.google.container.v1beta1.NetworkPolicyConfig.Builder getNetworkPolicy
      *
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
-    public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder() {
+    public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder
+        getNetworkPolicyConfigOrBuilder() {
       if (networkPolicyConfigBuilder_ != null) {
         return networkPolicyConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkPolicyConfig_ == null ?
-            com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance() : networkPolicyConfig_;
+        return networkPolicyConfig_ == null
+            ? com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance()
+            : networkPolicyConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for NetworkPolicy. This only tracks whether the addon
      * is enabled or not on the Master, it does not track whether network policy
@@ -1992,14 +2327,17 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NetworkPolicyConfig, com.google.container.v1beta1.NetworkPolicyConfig.Builder, com.google.container.v1beta1.NetworkPolicyConfigOrBuilder> 
+            com.google.container.v1beta1.NetworkPolicyConfig,
+            com.google.container.v1beta1.NetworkPolicyConfig.Builder,
+            com.google.container.v1beta1.NetworkPolicyConfigOrBuilder>
         getNetworkPolicyConfigFieldBuilder() {
       if (networkPolicyConfigBuilder_ == null) {
-        networkPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NetworkPolicyConfig, com.google.container.v1beta1.NetworkPolicyConfig.Builder, com.google.container.v1beta1.NetworkPolicyConfigOrBuilder>(
-                getNetworkPolicyConfig(),
-                getParentForChildren(),
-                isClean());
+        networkPolicyConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NetworkPolicyConfig,
+                com.google.container.v1beta1.NetworkPolicyConfig.Builder,
+                com.google.container.v1beta1.NetworkPolicyConfigOrBuilder>(
+                getNetworkPolicyConfig(), getParentForChildren(), isClean());
         networkPolicyConfig_ = null;
       }
       return networkPolicyConfigBuilder_;
@@ -2007,40 +2345,55 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
 
     private com.google.container.v1beta1.IstioConfig istioConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.IstioConfig, com.google.container.v1beta1.IstioConfig.Builder, com.google.container.v1beta1.IstioConfigOrBuilder> istioConfigBuilder_;
+            com.google.container.v1beta1.IstioConfig,
+            com.google.container.v1beta1.IstioConfig.Builder,
+            com.google.container.v1beta1.IstioConfigOrBuilder>
+        istioConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
      * 
* * .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=1063 + * + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1063 * @return Whether the istioConfig field is set. */ - @java.lang.Deprecated public boolean hasIstioConfig() { + @java.lang.Deprecated + public boolean hasIstioConfig() { return istioConfigBuilder_ != null || istioConfig_ != null; } /** + * + * *
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
      * 
* * .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=1063 + * + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1063 * @return The istioConfig. */ - @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig getIstioConfig() { + @java.lang.Deprecated + public com.google.container.v1beta1.IstioConfig getIstioConfig() { if (istioConfigBuilder_ == null) { - return istioConfig_ == null ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() : istioConfig_; + return istioConfig_ == null + ? com.google.container.v1beta1.IstioConfig.getDefaultInstance() + : istioConfig_; } else { return istioConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2048,7 +2401,8 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setIstioConfig(com.google.container.v1beta1.IstioConfig value) {
+    @java.lang.Deprecated
+    public Builder setIstioConfig(com.google.container.v1beta1.IstioConfig value) {
       if (istioConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2062,6 +2416,8 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2069,7 +2425,8 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setIstioConfig(
+    @java.lang.Deprecated
+    public Builder setIstioConfig(
         com.google.container.v1beta1.IstioConfig.Builder builderForValue) {
       if (istioConfigBuilder_ == null) {
         istioConfig_ = builderForValue.build();
@@ -2081,6 +2438,8 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2088,11 +2447,14 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder mergeIstioConfig(com.google.container.v1beta1.IstioConfig value) {
+    @java.lang.Deprecated
+    public Builder mergeIstioConfig(com.google.container.v1beta1.IstioConfig value) {
       if (istioConfigBuilder_ == null) {
         if (istioConfig_ != null) {
           istioConfig_ =
-            com.google.container.v1beta1.IstioConfig.newBuilder(istioConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.IstioConfig.newBuilder(istioConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           istioConfig_ = value;
         }
@@ -2104,6 +2466,8 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2111,7 +2475,8 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder clearIstioConfig() {
+    @java.lang.Deprecated
+    public Builder clearIstioConfig() {
       if (istioConfigBuilder_ == null) {
         istioConfig_ = null;
         onChanged();
@@ -2123,6 +2488,8 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2130,12 +2497,15 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig.Builder getIstioConfigBuilder() {
-      
+    @java.lang.Deprecated
+    public com.google.container.v1beta1.IstioConfig.Builder getIstioConfigBuilder() {
+
       onChanged();
       return getIstioConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2143,15 +2513,19 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      *
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
+    @java.lang.Deprecated
+    public com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder() {
       if (istioConfigBuilder_ != null) {
         return istioConfigBuilder_.getMessageOrBuilder();
       } else {
-        return istioConfig_ == null ?
-            com.google.container.v1beta1.IstioConfig.getDefaultInstance() : istioConfig_;
+        return istioConfig_ == null
+            ? com.google.container.v1beta1.IstioConfig.getDefaultInstance()
+            : istioConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for Istio, an open platform to connect, manage, and secure
      * microservices.
@@ -2160,14 +2534,17 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.IstioConfig, com.google.container.v1beta1.IstioConfig.Builder, com.google.container.v1beta1.IstioConfigOrBuilder> 
+            com.google.container.v1beta1.IstioConfig,
+            com.google.container.v1beta1.IstioConfig.Builder,
+            com.google.container.v1beta1.IstioConfigOrBuilder>
         getIstioConfigFieldBuilder() {
       if (istioConfigBuilder_ == null) {
-        istioConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.IstioConfig, com.google.container.v1beta1.IstioConfig.Builder, com.google.container.v1beta1.IstioConfigOrBuilder>(
-                getIstioConfig(),
-                getParentForChildren(),
-                isClean());
+        istioConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.IstioConfig,
+                com.google.container.v1beta1.IstioConfig.Builder,
+                com.google.container.v1beta1.IstioConfigOrBuilder>(
+                getIstioConfig(), getParentForChildren(), isClean());
         istioConfig_ = null;
       }
       return istioConfigBuilder_;
@@ -2175,8 +2552,13 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
 
     private com.google.container.v1beta1.CloudRunConfig cloudRunConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.CloudRunConfig, com.google.container.v1beta1.CloudRunConfig.Builder, com.google.container.v1beta1.CloudRunConfigOrBuilder> cloudRunConfigBuilder_;
+            com.google.container.v1beta1.CloudRunConfig,
+            com.google.container.v1beta1.CloudRunConfig.Builder,
+            com.google.container.v1beta1.CloudRunConfigOrBuilder>
+        cloudRunConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2184,12 +2566,15 @@ public com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolic
      * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; + * * @return Whether the cloudRunConfig field is set. */ public boolean hasCloudRunConfig() { return cloudRunConfigBuilder_ != null || cloudRunConfig_ != null; } /** + * + * *
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2197,16 +2582,21 @@ public boolean hasCloudRunConfig() {
      * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; + * * @return The cloudRunConfig. */ public com.google.container.v1beta1.CloudRunConfig getCloudRunConfig() { if (cloudRunConfigBuilder_ == null) { - return cloudRunConfig_ == null ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_; + return cloudRunConfig_ == null + ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() + : cloudRunConfig_; } else { return cloudRunConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2229,6 +2619,8 @@ public Builder setCloudRunConfig(com.google.container.v1beta1.CloudRunConfig val
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2249,6 +2641,8 @@ public Builder setCloudRunConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2261,7 +2655,9 @@ public Builder mergeCloudRunConfig(com.google.container.v1beta1.CloudRunConfig v
       if (cloudRunConfigBuilder_ == null) {
         if (cloudRunConfig_ != null) {
           cloudRunConfig_ =
-            com.google.container.v1beta1.CloudRunConfig.newBuilder(cloudRunConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.CloudRunConfig.newBuilder(cloudRunConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cloudRunConfig_ = value;
         }
@@ -2273,6 +2669,8 @@ public Builder mergeCloudRunConfig(com.google.container.v1beta1.CloudRunConfig v
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2293,6 +2691,8 @@ public Builder clearCloudRunConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2302,11 +2702,13 @@ public Builder clearCloudRunConfig() {
      * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7;
      */
     public com.google.container.v1beta1.CloudRunConfig.Builder getCloudRunConfigBuilder() {
-      
+
       onChanged();
       return getCloudRunConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2319,11 +2721,14 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
       if (cloudRunConfigBuilder_ != null) {
         return cloudRunConfigBuilder_.getMessageOrBuilder();
       } else {
-        return cloudRunConfig_ == null ?
-            com.google.container.v1beta1.CloudRunConfig.getDefaultInstance() : cloudRunConfig_;
+        return cloudRunConfig_ == null
+            ? com.google.container.v1beta1.CloudRunConfig.getDefaultInstance()
+            : cloudRunConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
      * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -2333,14 +2738,17 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
      * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.CloudRunConfig, com.google.container.v1beta1.CloudRunConfig.Builder, com.google.container.v1beta1.CloudRunConfigOrBuilder> 
+            com.google.container.v1beta1.CloudRunConfig,
+            com.google.container.v1beta1.CloudRunConfig.Builder,
+            com.google.container.v1beta1.CloudRunConfigOrBuilder>
         getCloudRunConfigFieldBuilder() {
       if (cloudRunConfigBuilder_ == null) {
-        cloudRunConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.CloudRunConfig, com.google.container.v1beta1.CloudRunConfig.Builder, com.google.container.v1beta1.CloudRunConfigOrBuilder>(
-                getCloudRunConfig(),
-                getParentForChildren(),
-                isClean());
+        cloudRunConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.CloudRunConfig,
+                com.google.container.v1beta1.CloudRunConfig.Builder,
+                com.google.container.v1beta1.CloudRunConfigOrBuilder>(
+                getCloudRunConfig(), getParentForChildren(), isClean());
         cloudRunConfig_ = null;
       }
       return cloudRunConfigBuilder_;
@@ -2348,34 +2756,47 @@ public com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrB
 
     private com.google.container.v1beta1.DnsCacheConfig dnsCacheConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.DnsCacheConfig, com.google.container.v1beta1.DnsCacheConfig.Builder, com.google.container.v1beta1.DnsCacheConfigOrBuilder> dnsCacheConfigBuilder_;
+            com.google.container.v1beta1.DnsCacheConfig,
+            com.google.container.v1beta1.DnsCacheConfig.Builder,
+            com.google.container.v1beta1.DnsCacheConfigOrBuilder>
+        dnsCacheConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; + * * @return Whether the dnsCacheConfig field is set. */ public boolean hasDnsCacheConfig() { return dnsCacheConfigBuilder_ != null || dnsCacheConfig_ != null; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; + * * @return The dnsCacheConfig. */ public com.google.container.v1beta1.DnsCacheConfig getDnsCacheConfig() { if (dnsCacheConfigBuilder_ == null) { - return dnsCacheConfig_ == null ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; + return dnsCacheConfig_ == null + ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() + : dnsCacheConfig_; } else { return dnsCacheConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2396,6 +2817,8 @@ public Builder setDnsCacheConfig(com.google.container.v1beta1.DnsCacheConfig val return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2414,6 +2837,8 @@ public Builder setDnsCacheConfig( return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2424,7 +2849,9 @@ public Builder mergeDnsCacheConfig(com.google.container.v1beta1.DnsCacheConfig v if (dnsCacheConfigBuilder_ == null) { if (dnsCacheConfig_ != null) { dnsCacheConfig_ = - com.google.container.v1beta1.DnsCacheConfig.newBuilder(dnsCacheConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.DnsCacheConfig.newBuilder(dnsCacheConfig_) + .mergeFrom(value) + .buildPartial(); } else { dnsCacheConfig_ = value; } @@ -2436,6 +2863,8 @@ public Builder mergeDnsCacheConfig(com.google.container.v1beta1.DnsCacheConfig v return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2454,6 +2883,8 @@ public Builder clearDnsCacheConfig() { return this; } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2461,11 +2892,13 @@ public Builder clearDnsCacheConfig() { * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; */ public com.google.container.v1beta1.DnsCacheConfig.Builder getDnsCacheConfigBuilder() { - + onChanged(); return getDnsCacheConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2476,11 +2909,14 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB if (dnsCacheConfigBuilder_ != null) { return dnsCacheConfigBuilder_.getMessageOrBuilder(); } else { - return dnsCacheConfig_ == null ? - com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() : dnsCacheConfig_; + return dnsCacheConfig_ == null + ? com.google.container.v1beta1.DnsCacheConfig.getDefaultInstance() + : dnsCacheConfig_; } } /** + * + * *
      * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
      * 
@@ -2488,14 +2924,17 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DnsCacheConfig, com.google.container.v1beta1.DnsCacheConfig.Builder, com.google.container.v1beta1.DnsCacheConfigOrBuilder> + com.google.container.v1beta1.DnsCacheConfig, + com.google.container.v1beta1.DnsCacheConfig.Builder, + com.google.container.v1beta1.DnsCacheConfigOrBuilder> getDnsCacheConfigFieldBuilder() { if (dnsCacheConfigBuilder_ == null) { - dnsCacheConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DnsCacheConfig, com.google.container.v1beta1.DnsCacheConfig.Builder, com.google.container.v1beta1.DnsCacheConfigOrBuilder>( - getDnsCacheConfig(), - getParentForChildren(), - isClean()); + dnsCacheConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DnsCacheConfig, + com.google.container.v1beta1.DnsCacheConfig.Builder, + com.google.container.v1beta1.DnsCacheConfigOrBuilder>( + getDnsCacheConfig(), getParentForChildren(), isClean()); dnsCacheConfig_ = null; } return dnsCacheConfigBuilder_; @@ -2503,36 +2942,49 @@ public com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrB private com.google.container.v1beta1.ConfigConnectorConfig configConnectorConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfigConnectorConfig, com.google.container.v1beta1.ConfigConnectorConfig.Builder, com.google.container.v1beta1.ConfigConnectorConfigOrBuilder> configConnectorConfigBuilder_; + com.google.container.v1beta1.ConfigConnectorConfig, + com.google.container.v1beta1.ConfigConnectorConfig.Builder, + com.google.container.v1beta1.ConfigConnectorConfigOrBuilder> + configConnectorConfigBuilder_; /** + * + * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; + * * @return Whether the configConnectorConfig field is set. */ public boolean hasConfigConnectorConfig() { return configConnectorConfigBuilder_ != null || configConnectorConfig_ != null; } /** + * + * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
      * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; + * * @return The configConnectorConfig. */ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConfig() { if (configConnectorConfigBuilder_ == null) { - return configConnectorConfig_ == null ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_; + return configConnectorConfig_ == null + ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() + : configConnectorConfig_; } else { return configConnectorConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2540,7 +2992,8 @@ public com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConf
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public Builder setConfigConnectorConfig(com.google.container.v1beta1.ConfigConnectorConfig value) {
+    public Builder setConfigConnectorConfig(
+        com.google.container.v1beta1.ConfigConnectorConfig value) {
       if (configConnectorConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2554,6 +3007,8 @@ public Builder setConfigConnectorConfig(com.google.container.v1beta1.ConfigConne
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2573,6 +3028,8 @@ public Builder setConfigConnectorConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2580,11 +3037,14 @@ public Builder setConfigConnectorConfig(
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public Builder mergeConfigConnectorConfig(com.google.container.v1beta1.ConfigConnectorConfig value) {
+    public Builder mergeConfigConnectorConfig(
+        com.google.container.v1beta1.ConfigConnectorConfig value) {
       if (configConnectorConfigBuilder_ == null) {
         if (configConnectorConfig_ != null) {
           configConnectorConfig_ =
-            com.google.container.v1beta1.ConfigConnectorConfig.newBuilder(configConnectorConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ConfigConnectorConfig.newBuilder(configConnectorConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           configConnectorConfig_ = value;
         }
@@ -2596,6 +3056,8 @@ public Builder mergeConfigConnectorConfig(com.google.container.v1beta1.ConfigCon
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2615,6 +3077,8 @@ public Builder clearConfigConnectorConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2622,12 +3086,15 @@ public Builder clearConfigConnectorConfig() {
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public com.google.container.v1beta1.ConfigConnectorConfig.Builder getConfigConnectorConfigBuilder() {
-      
+    public com.google.container.v1beta1.ConfigConnectorConfig.Builder
+        getConfigConnectorConfigBuilder() {
+
       onChanged();
       return getConfigConnectorConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2635,15 +3102,19 @@ public com.google.container.v1beta1.ConfigConnectorConfig.Builder getConfigConne
      *
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
-    public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder() {
+    public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder
+        getConfigConnectorConfigOrBuilder() {
       if (configConnectorConfigBuilder_ != null) {
         return configConnectorConfigBuilder_.getMessageOrBuilder();
       } else {
-        return configConnectorConfig_ == null ?
-            com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance() : configConnectorConfig_;
+        return configConnectorConfig_ == null
+            ? com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance()
+            : configConnectorConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the ConfigConnector add-on, a Kubernetes
      * extension to manage hosted GCP services through the Kubernetes API
@@ -2652,56 +3123,82 @@ public com.google.container.v1beta1.ConfigConnectorConfigOrBuilder getConfigConn
      * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ConfigConnectorConfig, com.google.container.v1beta1.ConfigConnectorConfig.Builder, com.google.container.v1beta1.ConfigConnectorConfigOrBuilder> 
+            com.google.container.v1beta1.ConfigConnectorConfig,
+            com.google.container.v1beta1.ConfigConnectorConfig.Builder,
+            com.google.container.v1beta1.ConfigConnectorConfigOrBuilder>
         getConfigConnectorConfigFieldBuilder() {
       if (configConnectorConfigBuilder_ == null) {
-        configConnectorConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfigConnectorConfig, com.google.container.v1beta1.ConfigConnectorConfig.Builder, com.google.container.v1beta1.ConfigConnectorConfigOrBuilder>(
-                getConfigConnectorConfig(),
-                getParentForChildren(),
-                isClean());
+        configConnectorConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ConfigConnectorConfig,
+                com.google.container.v1beta1.ConfigConnectorConfig.Builder,
+                com.google.container.v1beta1.ConfigConnectorConfigOrBuilder>(
+                getConfigConnectorConfig(), getParentForChildren(), isClean());
         configConnectorConfig_ = null;
       }
       return configConnectorConfigBuilder_;
     }
 
-    private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig_;
+    private com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig
+        gcePersistentDiskCsiDriverConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder> gcePersistentDiskCsiDriverConfigBuilder_;
+            com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig,
+            com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder,
+            com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder>
+        gcePersistentDiskCsiDriverConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ public boolean hasGcePersistentDiskCsiDriverConfig() { - return gcePersistentDiskCsiDriverConfigBuilder_ != null || gcePersistentDiskCsiDriverConfig_ != null; + return gcePersistentDiskCsiDriverConfigBuilder_ != null + || gcePersistentDiskCsiDriverConfig_ != null; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return The gcePersistentDiskCsiDriverConfig. */ - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig + getGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - return gcePersistentDiskCsiDriverConfig_ == null ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null + ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() + : gcePersistentDiskCsiDriverConfig_; } else { return gcePersistentDiskCsiDriverConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public Builder setGcePersistentDiskCsiDriverConfig(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { + public Builder setGcePersistentDiskCsiDriverConfig( + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2715,11 +3212,15 @@ public Builder setGcePersistentDiskCsiDriverConfig(com.google.container.v1beta1. return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ public Builder setGcePersistentDiskCsiDriverConfig( com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder builderForValue) { @@ -2733,17 +3234,25 @@ public Builder setGcePersistentDiskCsiDriverConfig( return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public Builder mergeGcePersistentDiskCsiDriverConfig(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { + public Builder mergeGcePersistentDiskCsiDriverConfig( + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig value) { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { if (gcePersistentDiskCsiDriverConfig_ != null) { gcePersistentDiskCsiDriverConfig_ = - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.newBuilder(gcePersistentDiskCsiDriverConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.newBuilder( + gcePersistentDiskCsiDriverConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcePersistentDiskCsiDriverConfig_ = value; } @@ -2755,11 +3264,15 @@ public Builder mergeGcePersistentDiskCsiDriverConfig(com.google.container.v1beta return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ public Builder clearGcePersistentDiskCsiDriverConfig() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { @@ -2773,48 +3286,66 @@ public Builder clearGcePersistentDiskCsiDriverConfig() { return this; } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder getGcePersistentDiskCsiDriverConfigBuilder() { - + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder + getGcePersistentDiskCsiDriverConfigBuilder() { + onChanged(); return getGcePersistentDiskCsiDriverConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder + getGcePersistentDiskCsiDriverConfigOrBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ != null) { return gcePersistentDiskCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcePersistentDiskCsiDriverConfig_ == null ? - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() : gcePersistentDiskCsiDriverConfig_; + return gcePersistentDiskCsiDriverConfig_ == null + ? com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance() + : gcePersistentDiskCsiDriverConfig_; } } /** + * + * *
      * Configuration for the Compute Engine Persistent Disk CSI driver.
      * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder> + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder> getGcePersistentDiskCsiDriverConfigFieldBuilder() { if (gcePersistentDiskCsiDriverConfigBuilder_ == null) { - gcePersistentDiskCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder>( - getGcePersistentDiskCsiDriverConfig(), - getParentForChildren(), - isClean()); + gcePersistentDiskCsiDriverConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig, + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder, + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder>( + getGcePersistentDiskCsiDriverConfig(), getParentForChildren(), isClean()); gcePersistentDiskCsiDriverConfig_ = null; } return gcePersistentDiskCsiDriverConfigBuilder_; @@ -2822,40 +3353,55 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge private com.google.container.v1beta1.KalmConfig kalmConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.KalmConfig, com.google.container.v1beta1.KalmConfig.Builder, com.google.container.v1beta1.KalmConfigOrBuilder> kalmConfigBuilder_; + com.google.container.v1beta1.KalmConfig, + com.google.container.v1beta1.KalmConfig.Builder, + com.google.container.v1beta1.KalmConfigOrBuilder> + kalmConfigBuilder_; /** + * + * *
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
      * 
* * .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=1082 + * + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1082 * @return Whether the kalmConfig field is set. */ - @java.lang.Deprecated public boolean hasKalmConfig() { + @java.lang.Deprecated + public boolean hasKalmConfig() { return kalmConfigBuilder_ != null || kalmConfig_ != null; } /** + * + * *
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
      * 
* * .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=1082 + * + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1082 * @return The kalmConfig. */ - @java.lang.Deprecated public com.google.container.v1beta1.KalmConfig getKalmConfig() { + @java.lang.Deprecated + public com.google.container.v1beta1.KalmConfig getKalmConfig() { if (kalmConfigBuilder_ == null) { - return kalmConfig_ == null ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() : kalmConfig_; + return kalmConfig_ == null + ? com.google.container.v1beta1.KalmConfig.getDefaultInstance() + : kalmConfig_; } else { return kalmConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -2863,7 +3409,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig value) {
+    @java.lang.Deprecated
+    public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig value) {
       if (kalmConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2877,6 +3424,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -2884,8 +3433,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setKalmConfig(
-        com.google.container.v1beta1.KalmConfig.Builder builderForValue) {
+    @java.lang.Deprecated
+    public Builder setKalmConfig(com.google.container.v1beta1.KalmConfig.Builder builderForValue) {
       if (kalmConfigBuilder_ == null) {
         kalmConfig_ = builderForValue.build();
         onChanged();
@@ -2896,6 +3445,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -2903,11 +3454,14 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder mergeKalmConfig(com.google.container.v1beta1.KalmConfig value) {
+    @java.lang.Deprecated
+    public Builder mergeKalmConfig(com.google.container.v1beta1.KalmConfig value) {
       if (kalmConfigBuilder_ == null) {
         if (kalmConfig_ != null) {
           kalmConfig_ =
-            com.google.container.v1beta1.KalmConfig.newBuilder(kalmConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.KalmConfig.newBuilder(kalmConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           kalmConfig_ = value;
         }
@@ -2919,6 +3473,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -2926,7 +3482,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder clearKalmConfig() {
+    @java.lang.Deprecated
+    public Builder clearKalmConfig() {
       if (kalmConfigBuilder_ == null) {
         kalmConfig_ = null;
         onChanged();
@@ -2938,6 +3495,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -2945,12 +3504,15 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1beta1.KalmConfig.Builder getKalmConfigBuilder() {
-      
+    @java.lang.Deprecated
+    public com.google.container.v1beta1.KalmConfig.Builder getKalmConfigBuilder() {
+
       onChanged();
       return getKalmConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -2958,15 +3520,19 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
      *
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
+    @java.lang.Deprecated
+    public com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder() {
       if (kalmConfigBuilder_ != null) {
         return kalmConfigBuilder_.getMessageOrBuilder();
       } else {
-        return kalmConfig_ == null ?
-            com.google.container.v1beta1.KalmConfig.getDefaultInstance() : kalmConfig_;
+        return kalmConfig_ == null
+            ? com.google.container.v1beta1.KalmConfig.getDefaultInstance()
+            : kalmConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the KALM addon, which manages the lifecycle of k8s
      * applications.
@@ -2975,14 +3541,17 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
      * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.KalmConfig, com.google.container.v1beta1.KalmConfig.Builder, com.google.container.v1beta1.KalmConfigOrBuilder> 
+            com.google.container.v1beta1.KalmConfig,
+            com.google.container.v1beta1.KalmConfig.Builder,
+            com.google.container.v1beta1.KalmConfigOrBuilder>
         getKalmConfigFieldBuilder() {
       if (kalmConfigBuilder_ == null) {
-        kalmConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.KalmConfig, com.google.container.v1beta1.KalmConfig.Builder, com.google.container.v1beta1.KalmConfigOrBuilder>(
-                getKalmConfig(),
-                getParentForChildren(),
-                isClean());
+        kalmConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.KalmConfig,
+                com.google.container.v1beta1.KalmConfig.Builder,
+                com.google.container.v1beta1.KalmConfigOrBuilder>(
+                getKalmConfig(), getParentForChildren(), isClean());
         kalmConfig_ = null;
       }
       return kalmConfigBuilder_;
@@ -2990,41 +3559,62 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder ge
 
     private com.google.container.v1beta1.GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder> gcpFilestoreCsiDriverConfigBuilder_;
+            com.google.container.v1beta1.GcpFilestoreCsiDriverConfig,
+            com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder,
+            com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder>
+        gcpFilestoreCsiDriverConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ public boolean hasGcpFilestoreCsiDriverConfig() { return gcpFilestoreCsiDriverConfigBuilder_ != null || gcpFilestoreCsiDriverConfig_ != null; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return The gcpFilestoreCsiDriverConfig. */ - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() { + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig + getGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - return gcpFilestoreCsiDriverConfig_ == null ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null + ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() + : gcpFilestoreCsiDriverConfig_; } else { return gcpFilestoreCsiDriverConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public Builder setGcpFilestoreCsiDriverConfig(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { + public Builder setGcpFilestoreCsiDriverConfig( + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3038,11 +3628,15 @@ public Builder setGcpFilestoreCsiDriverConfig(com.google.container.v1beta1.GcpFi return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ public Builder setGcpFilestoreCsiDriverConfig( com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder builderForValue) { @@ -3056,17 +3650,25 @@ public Builder setGcpFilestoreCsiDriverConfig( return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public Builder mergeGcpFilestoreCsiDriverConfig(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { + public Builder mergeGcpFilestoreCsiDriverConfig( + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig value) { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { if (gcpFilestoreCsiDriverConfig_ != null) { gcpFilestoreCsiDriverConfig_ = - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.newBuilder(gcpFilestoreCsiDriverConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.newBuilder( + gcpFilestoreCsiDriverConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcpFilestoreCsiDriverConfig_ = value; } @@ -3078,11 +3680,15 @@ public Builder mergeGcpFilestoreCsiDriverConfig(com.google.container.v1beta1.Gcp return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ public Builder clearGcpFilestoreCsiDriverConfig() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { @@ -3096,48 +3702,66 @@ public Builder clearGcpFilestoreCsiDriverConfig() { return this; } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder getGcpFilestoreCsiDriverConfigBuilder() { - + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder + getGcpFilestoreCsiDriverConfigBuilder() { + onChanged(); return getGcpFilestoreCsiDriverConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder() { + public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder + getGcpFilestoreCsiDriverConfigOrBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ != null) { return gcpFilestoreCsiDriverConfigBuilder_.getMessageOrBuilder(); } else { - return gcpFilestoreCsiDriverConfig_ == null ? - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() : gcpFilestoreCsiDriverConfig_; + return gcpFilestoreCsiDriverConfig_ == null + ? com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance() + : gcpFilestoreCsiDriverConfig_; } } /** + * + * *
      * Configuration for the GCP Filestore CSI driver.
      * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder> + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, + com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder> getGcpFilestoreCsiDriverConfigFieldBuilder() { if (gcpFilestoreCsiDriverConfigBuilder_ == null) { - gcpFilestoreCsiDriverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder>( - getGcpFilestoreCsiDriverConfig(), - getParentForChildren(), - isClean()); + gcpFilestoreCsiDriverConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig, + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder, + com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder>( + getGcpFilestoreCsiDriverConfig(), getParentForChildren(), isClean()); gcpFilestoreCsiDriverConfig_ = null; } return gcpFilestoreCsiDriverConfigBuilder_; @@ -3145,41 +3769,55 @@ public com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder getGcpF private com.google.container.v1beta1.GkeBackupAgentConfig gkeBackupAgentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GkeBackupAgentConfig, com.google.container.v1beta1.GkeBackupAgentConfig.Builder, com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> gkeBackupAgentConfigBuilder_; + com.google.container.v1beta1.GkeBackupAgentConfig, + com.google.container.v1beta1.GkeBackupAgentConfig.Builder, + com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> + gkeBackupAgentConfigBuilder_; /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return Whether the gkeBackupAgentConfig field is set. */ public boolean hasGkeBackupAgentConfig() { return gkeBackupAgentConfigBuilder_ != null || gkeBackupAgentConfig_ != null; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return The gkeBackupAgentConfig. */ public com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig() { if (gkeBackupAgentConfigBuilder_ == null) { - return gkeBackupAgentConfig_ == null ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null + ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() + : gkeBackupAgentConfig_; } else { return gkeBackupAgentConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public Builder setGkeBackupAgentConfig(com.google.container.v1beta1.GkeBackupAgentConfig value) { + public Builder setGkeBackupAgentConfig( + com.google.container.v1beta1.GkeBackupAgentConfig value) { if (gkeBackupAgentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3193,6 +3831,8 @@ public Builder setGkeBackupAgentConfig(com.google.container.v1beta1.GkeBackupAge return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3211,17 +3851,22 @@ public Builder setGkeBackupAgentConfig( return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public Builder mergeGkeBackupAgentConfig(com.google.container.v1beta1.GkeBackupAgentConfig value) { + public Builder mergeGkeBackupAgentConfig( + com.google.container.v1beta1.GkeBackupAgentConfig value) { if (gkeBackupAgentConfigBuilder_ == null) { if (gkeBackupAgentConfig_ != null) { gkeBackupAgentConfig_ = - com.google.container.v1beta1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GkeBackupAgentConfig.newBuilder(gkeBackupAgentConfig_) + .mergeFrom(value) + .buildPartial(); } else { gkeBackupAgentConfig_ = value; } @@ -3233,6 +3878,8 @@ public Builder mergeGkeBackupAgentConfig(com.google.container.v1beta1.GkeBackupA return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3251,33 +3898,42 @@ public Builder clearGkeBackupAgentConfig() { return this; } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public com.google.container.v1beta1.GkeBackupAgentConfig.Builder getGkeBackupAgentConfigBuilder() { - + public com.google.container.v1beta1.GkeBackupAgentConfig.Builder + getGkeBackupAgentConfigBuilder() { + onChanged(); return getGkeBackupAgentConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ - public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder getGkeBackupAgentConfigOrBuilder() { + public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder + getGkeBackupAgentConfigOrBuilder() { if (gkeBackupAgentConfigBuilder_ != null) { return gkeBackupAgentConfigBuilder_.getMessageOrBuilder(); } else { - return gkeBackupAgentConfig_ == null ? - com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() : gkeBackupAgentConfig_; + return gkeBackupAgentConfig_ == null + ? com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance() + : gkeBackupAgentConfig_; } } /** + * + * *
      * Configuration for the Backup for GKE agent addon.
      * 
@@ -3285,21 +3941,24 @@ public com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder getGkeBackupAg * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GkeBackupAgentConfig, com.google.container.v1beta1.GkeBackupAgentConfig.Builder, com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> + com.google.container.v1beta1.GkeBackupAgentConfig, + com.google.container.v1beta1.GkeBackupAgentConfig.Builder, + com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder> getGkeBackupAgentConfigFieldBuilder() { if (gkeBackupAgentConfigBuilder_ == null) { - gkeBackupAgentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GkeBackupAgentConfig, com.google.container.v1beta1.GkeBackupAgentConfig.Builder, com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder>( - getGkeBackupAgentConfig(), - getParentForChildren(), - isClean()); + gkeBackupAgentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GkeBackupAgentConfig, + com.google.container.v1beta1.GkeBackupAgentConfig.Builder, + com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder>( + getGkeBackupAgentConfig(), getParentForChildren(), isClean()); gkeBackupAgentConfig_ = null; } return gkeBackupAgentConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3309,12 +3968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AddonsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AddonsConfig) private static final com.google.container.v1beta1.AddonsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AddonsConfig(); } @@ -3323,27 +3982,27 @@ public static com.google.container.v1beta1.AddonsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddonsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddonsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3358,6 +4017,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AddonsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AddonsConfigOrBuilder.java index 22119af8ad76..3fbc8c243b43 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AddonsConfigOrBuilder extends +public interface AddonsConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AddonsConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; + * * @return Whether the httpLoadBalancing field is set. */ boolean hasHttpLoadBalancing(); /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
    * 
* * .google.container.v1beta1.HttpLoadBalancing http_load_balancing = 1; + * * @return The httpLoadBalancing. */ com.google.container.v1beta1.HttpLoadBalancing getHttpLoadBalancing(); /** + * + * *
    * Configuration for the HTTP (L7) load balancing controller addon, which
    * makes it easy to set up HTTP load balancers for services in a cluster.
@@ -38,6 +62,8 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1beta1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -45,10 +71,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return Whether the horizontalPodAutoscaling field is set. */ boolean hasHorizontalPodAutoscaling(); /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -56,10 +85,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; + * * @return The horizontalPodAutoscaling. */ com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAutoscaling(); /** + * + * *
    * Configuration for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -68,9 +100,12 @@ public interface AddonsConfigOrBuilder extends
    *
    * .google.container.v1beta1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2;
    */
-  com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder();
+  com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder
+      getHorizontalPodAutoscalingOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -79,13 +114,19 @@ public interface AddonsConfigOrBuilder extends
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1054 + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1054 * @return Whether the kubernetesDashboard field is set. */ - @java.lang.Deprecated boolean hasKubernetesDashboard(); + @java.lang.Deprecated + boolean hasKubernetesDashboard(); /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -94,13 +135,19 @@ public interface AddonsConfigOrBuilder extends
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; - * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1054 + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1054 * @return The kubernetesDashboard. */ - @java.lang.Deprecated com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard(); + @java.lang.Deprecated + com.google.container.v1beta1.KubernetesDashboard getKubernetesDashboard(); /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * This addon is deprecated, and will be disabled in 1.15. It is recommended
@@ -109,11 +156,16 @@ public interface AddonsConfigOrBuilder extends
    * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
    * 
* - * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * + * .google.container.v1beta1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); + @java.lang.Deprecated + com.google.container.v1beta1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder(); /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -121,10 +173,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; + * * @return Whether the networkPolicyConfig field is set. */ boolean hasNetworkPolicyConfig(); /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -132,10 +187,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1beta1.NetworkPolicyConfig network_policy_config = 4; + * * @return The networkPolicyConfig. */ com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig(); /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -147,30 +205,40 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1beta1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1063 + * + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1063 * @return Whether the istioConfig field is set. */ - @java.lang.Deprecated boolean hasIstioConfig(); + @java.lang.Deprecated + boolean hasIstioConfig(); /** + * + * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
    * 
* * .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=1063 + * + * @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1063 * @return The istioConfig. */ - @java.lang.Deprecated com.google.container.v1beta1.IstioConfig getIstioConfig(); + @java.lang.Deprecated + com.google.container.v1beta1.IstioConfig getIstioConfig(); /** + * + * *
    * Configuration for Istio, an open platform to connect, manage, and secure
    * microservices.
@@ -178,9 +246,12 @@ public interface AddonsConfigOrBuilder extends
    *
    * .google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];
    */
-  @java.lang.Deprecated com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder();
+  @java.lang.Deprecated
+  com.google.container.v1beta1.IstioConfigOrBuilder getIstioConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -188,10 +259,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; + * * @return Whether the cloudRunConfig field is set. */ boolean hasCloudRunConfig(); /** + * + * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -199,10 +273,13 @@ public interface AddonsConfigOrBuilder extends
    * 
* * .google.container.v1beta1.CloudRunConfig cloud_run_config = 7; + * * @return The cloudRunConfig. */ com.google.container.v1beta1.CloudRunConfig getCloudRunConfig(); /** + * + * *
    * Configuration for the Cloud Run addon. The `IstioConfig` addon must be
    * enabled in order to enable Cloud Run addon. This option can only be enabled
@@ -214,24 +291,32 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1beta1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; + * * @return Whether the dnsCacheConfig field is set. */ boolean hasDnsCacheConfig(); /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
* * .google.container.v1beta1.DnsCacheConfig dns_cache_config = 8; + * * @return The dnsCacheConfig. */ com.google.container.v1beta1.DnsCacheConfig getDnsCacheConfig(); /** + * + * *
    * Configuration for NodeLocalDNS, a dns cache running on cluster nodes
    * 
@@ -241,26 +326,34 @@ public interface AddonsConfigOrBuilder extends com.google.container.v1beta1.DnsCacheConfigOrBuilder getDnsCacheConfigOrBuilder(); /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; + * * @return Whether the configConnectorConfig field is set. */ boolean hasConfigConnectorConfig(); /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
    * 
* * .google.container.v1beta1.ConfigConnectorConfig config_connector_config = 10; + * * @return The configConnectorConfig. */ com.google.container.v1beta1.ConfigConnectorConfig getConfigConnectorConfig(); /** + * + * *
    * Configuration for the ConfigConnector add-on, a Kubernetes
    * extension to manage hosted GCP services through the Kubernetes API
@@ -271,57 +364,83 @@ public interface AddonsConfigOrBuilder extends
   com.google.container.v1beta1.ConfigConnectorConfigOrBuilder getConfigConnectorConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return Whether the gcePersistentDiskCsiDriverConfig field is set. */ boolean hasGcePersistentDiskCsiDriverConfig(); /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * * @return The gcePersistentDiskCsiDriverConfig. */ - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getGcePersistentDiskCsiDriverConfig(); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig + getGcePersistentDiskCsiDriverConfig(); /** + * + * *
    * Configuration for the Compute Engine Persistent Disk CSI driver.
    * 
* - * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * + * .google.container.v1beta1.GcePersistentDiskCsiDriverConfig gce_persistent_disk_csi_driver_config = 11; + * */ - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder getGcePersistentDiskCsiDriverConfigOrBuilder(); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder + getGcePersistentDiskCsiDriverConfigOrBuilder(); /** + * + * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1082 + * + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1082 * @return Whether the kalmConfig field is set. */ - @java.lang.Deprecated boolean hasKalmConfig(); + @java.lang.Deprecated + boolean hasKalmConfig(); /** + * + * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
    * 
* * .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=1082 + * + * @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1082 * @return The kalmConfig. */ - @java.lang.Deprecated com.google.container.v1beta1.KalmConfig getKalmConfig(); + @java.lang.Deprecated + com.google.container.v1beta1.KalmConfig getKalmConfig(); /** + * + * *
    * Configuration for the KALM addon, which manages the lifecycle of k8s
    * applications.
@@ -329,54 +448,78 @@ public interface AddonsConfigOrBuilder extends
    *
    * .google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];
    */
-  @java.lang.Deprecated com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder();
+  @java.lang.Deprecated
+  com.google.container.v1beta1.KalmConfigOrBuilder getKalmConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return Whether the gcpFilestoreCsiDriverConfig field is set. */ boolean hasGcpFilestoreCsiDriverConfig(); /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * * @return The gcpFilestoreCsiDriverConfig. */ com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig(); /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* - * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * + * .google.container.v1beta1.GcpFilestoreCsiDriverConfig gcp_filestore_csi_driver_config = 14; + * */ - com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder getGcpFilestoreCsiDriverConfigOrBuilder(); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder + getGcpFilestoreCsiDriverConfigOrBuilder(); /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return Whether the gkeBackupAgentConfig field is set. */ boolean hasGkeBackupAgentConfig(); /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
* * .google.container.v1beta1.GkeBackupAgentConfig gke_backup_agent_config = 16; + * * @return The gkeBackupAgentConfig. */ com.google.container.v1beta1.GkeBackupAgentConfig getGkeBackupAgentConfig(); /** + * + * *
    * Configuration for the Backup for GKE agent addon.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java index b2fd5f86fdc5..b773c0ee9f4d 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeatures.java @@ -1,56 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Specifies options for controlling advanced machine features.
  * 
* * Protobuf type {@code google.container.v1beta1.AdvancedMachineFeatures} */ -public final class AdvancedMachineFeatures extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdvancedMachineFeatures extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.AdvancedMachineFeatures) AdvancedMachineFeaturesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdvancedMachineFeatures.newBuilder() to construct. private AdvancedMachineFeatures(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AdvancedMachineFeatures() { - } + + private AdvancedMachineFeatures() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdvancedMachineFeatures(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AdvancedMachineFeatures.class, com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1beta1.AdvancedMachineFeatures.class, + com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); } private int bitField0_; public static final int THREADS_PER_CORE_FIELD_NUMBER = 1; private long threadsPerCore_; /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * optional int64 threads_per_core = 1; + * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -65,6 +86,8 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -72,6 +95,7 @@ public boolean hasThreadsPerCore() {
    * 
* * optional int64 threads_per_core = 1; + * * @return The threadsPerCore. */ @java.lang.Override @@ -80,6 +104,7 @@ public long getThreadsPerCore() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -91,8 +116,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(1, threadsPerCore_); } @@ -106,8 +130,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, threadsPerCore_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, threadsPerCore_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,17 +140,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AdvancedMachineFeatures)) { return super.equals(obj); } - com.google.container.v1beta1.AdvancedMachineFeatures other = (com.google.container.v1beta1.AdvancedMachineFeatures) obj; + com.google.container.v1beta1.AdvancedMachineFeatures other = + (com.google.container.v1beta1.AdvancedMachineFeatures) obj; if (hasThreadsPerCore() != other.hasThreadsPerCore()) return false; if (hasThreadsPerCore()) { - if (getThreadsPerCore() - != other.getThreadsPerCore()) return false; + if (getThreadsPerCore() != other.getThreadsPerCore()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -142,8 +165,7 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); if (hasThreadsPerCore()) { hash = (37 * hash) + THREADS_PER_CORE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getThreadsPerCore()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getThreadsPerCore()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -151,129 +173,135 @@ public int hashCode() { } public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AdvancedMachineFeatures parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( 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.AdvancedMachineFeatures parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AdvancedMachineFeatures parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AdvancedMachineFeatures parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AdvancedMachineFeatures parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AdvancedMachineFeatures parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.AdvancedMachineFeatures prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Specifies options for controlling advanced machine features.
    * 
* * Protobuf type {@code google.container.v1beta1.AdvancedMachineFeatures} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AdvancedMachineFeatures) com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AdvancedMachineFeatures.class, com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); + com.google.container.v1beta1.AdvancedMachineFeatures.class, + com.google.container.v1beta1.AdvancedMachineFeatures.Builder.class); } // Construct using com.google.container.v1beta1.AdvancedMachineFeatures.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -283,9 +311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; } @java.lang.Override @@ -304,7 +332,8 @@ public com.google.container.v1beta1.AdvancedMachineFeatures build() { @java.lang.Override public com.google.container.v1beta1.AdvancedMachineFeatures buildPartial() { - com.google.container.v1beta1.AdvancedMachineFeatures result = new com.google.container.v1beta1.AdvancedMachineFeatures(this); + com.google.container.v1beta1.AdvancedMachineFeatures result = + new com.google.container.v1beta1.AdvancedMachineFeatures(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -320,38 +349,39 @@ public com.google.container.v1beta1.AdvancedMachineFeatures buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.AdvancedMachineFeatures) { - return mergeFrom((com.google.container.v1beta1.AdvancedMachineFeatures)other); + return mergeFrom((com.google.container.v1beta1.AdvancedMachineFeatures) other); } else { super.mergeFrom(other); return this; @@ -359,7 +389,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.AdvancedMachineFeatures other) { - if (other == com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance()) + return this; if (other.hasThreadsPerCore()) { setThreadsPerCore(other.getThreadsPerCore()); } @@ -389,17 +420,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - threadsPerCore_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + threadsPerCore_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -409,10 +442,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long threadsPerCore_ ; + private long threadsPerCore_; /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -420,6 +456,7 @@ public Builder mergeFrom(
      * 
* * optional int64 threads_per_core = 1; + * * @return Whether the threadsPerCore field is set. */ @java.lang.Override @@ -427,6 +464,8 @@ public boolean hasThreadsPerCore() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -434,6 +473,7 @@ public boolean hasThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; + * * @return The threadsPerCore. */ @java.lang.Override @@ -441,6 +481,8 @@ public long getThreadsPerCore() { return threadsPerCore_; } /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -448,6 +490,7 @@ public long getThreadsPerCore() {
      * 
* * optional int64 threads_per_core = 1; + * * @param value The threadsPerCore to set. * @return This builder for chaining. */ @@ -458,6 +501,8 @@ public Builder setThreadsPerCore(long value) { return this; } /** + * + * *
      * The number of threads per physical core. To disable simultaneous
      * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -465,6 +510,7 @@ public Builder setThreadsPerCore(long value) {
      * 
* * optional int64 threads_per_core = 1; + * * @return This builder for chaining. */ public Builder clearThreadsPerCore() { @@ -473,9 +519,9 @@ public Builder clearThreadsPerCore() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -485,12 +531,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AdvancedMachineFeatures) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AdvancedMachineFeatures) private static final com.google.container.v1beta1.AdvancedMachineFeatures DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AdvancedMachineFeatures(); } @@ -499,27 +545,27 @@ public static com.google.container.v1beta1.AdvancedMachineFeatures getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdvancedMachineFeatures parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdvancedMachineFeatures parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -534,6 +580,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AdvancedMachineFeatures getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java index 5981e45af7ac..025bbd7208f2 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AdvancedMachineFeaturesOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AdvancedMachineFeaturesOrBuilder extends +public interface AdvancedMachineFeaturesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AdvancedMachineFeatures) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -15,10 +33,13 @@ public interface AdvancedMachineFeaturesOrBuilder extends
    * 
* * optional int64 threads_per_core = 1; + * * @return Whether the threadsPerCore field is set. */ boolean hasThreadsPerCore(); /** + * + * *
    * The number of threads per physical core. To disable simultaneous
    * multithreading (SMT) set this to 1. If unset, the maximum number of threads
@@ -26,6 +47,7 @@ public interface AdvancedMachineFeaturesOrBuilder extends
    * 
* * optional int64 threads_per_core = 1; + * * @return The threadsPerCore. */ long getThreadsPerCore(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java index 42899f04d576..1042d6e70843 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfig.java @@ -1,62 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for returning group information from authenticators.
  * 
* * Protobuf type {@code google.container.v1beta1.AuthenticatorGroupsConfig} */ -public final class AuthenticatorGroupsConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AuthenticatorGroupsConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.AuthenticatorGroupsConfig) AuthenticatorGroupsConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuthenticatorGroupsConfig.newBuilder() to construct. private AuthenticatorGroupsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuthenticatorGroupsConfig() { securityGroup_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthenticatorGroupsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AuthenticatorGroupsConfig.class, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1beta1.AuthenticatorGroupsConfig.class, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -67,12 +89,15 @@ public boolean getEnabled() { public static final int SECURITY_GROUP_FIELD_NUMBER = 2; private volatile java.lang.Object securityGroup_; /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The securityGroup. */ @java.lang.Override @@ -81,30 +106,30 @@ public java.lang.String getSecurityGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; } } /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The bytes for securityGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecurityGroupBytes() { + public com.google.protobuf.ByteString getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -113,6 +138,7 @@ public java.lang.String getSecurityGroup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -142,8 +167,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, securityGroup_); @@ -156,17 +180,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AuthenticatorGroupsConfig)) { return super.equals(obj); } - com.google.container.v1beta1.AuthenticatorGroupsConfig other = (com.google.container.v1beta1.AuthenticatorGroupsConfig) obj; + com.google.container.v1beta1.AuthenticatorGroupsConfig other = + (com.google.container.v1beta1.AuthenticatorGroupsConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (!getSecurityGroup() - .equals(other.getSecurityGroup())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getSecurityGroup().equals(other.getSecurityGroup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -179,8 +202,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + SECURITY_GROUP_FIELD_NUMBER; hash = (53 * hash) + getSecurityGroup().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -189,129 +211,136 @@ public int hashCode() { } public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( 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.AuthenticatorGroupsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AuthenticatorGroupsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.AuthenticatorGroupsConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.AuthenticatorGroupsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for returning group information from authenticators.
    * 
* * Protobuf type {@code google.container.v1beta1.AuthenticatorGroupsConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AuthenticatorGroupsConfig) com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.AuthenticatorGroupsConfig.class, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); + com.google.container.v1beta1.AuthenticatorGroupsConfig.class, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder.class); } // Construct using com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; } @java.lang.Override @@ -344,7 +373,8 @@ public com.google.container.v1beta1.AuthenticatorGroupsConfig build() { @java.lang.Override public com.google.container.v1beta1.AuthenticatorGroupsConfig buildPartial() { - com.google.container.v1beta1.AuthenticatorGroupsConfig result = new com.google.container.v1beta1.AuthenticatorGroupsConfig(this); + com.google.container.v1beta1.AuthenticatorGroupsConfig result = + new com.google.container.v1beta1.AuthenticatorGroupsConfig(this); result.enabled_ = enabled_; result.securityGroup_ = securityGroup_; onBuilt(); @@ -355,38 +385,39 @@ public com.google.container.v1beta1.AuthenticatorGroupsConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.AuthenticatorGroupsConfig) { - return mergeFrom((com.google.container.v1beta1.AuthenticatorGroupsConfig)other); + return mergeFrom((com.google.container.v1beta1.AuthenticatorGroupsConfig) other); } else { super.mergeFrom(other); return this; @@ -394,7 +425,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.AuthenticatorGroupsConfig other) { - if (other == com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -428,22 +460,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: { - securityGroup_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: + { + securityGroup_ = input.readStringRequireUtf8(); + + 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) { @@ -454,14 +489,17 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -469,32 +507,38 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether this cluster should return group membership lookups
      * during authentication using a group of security groups.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -502,19 +546,21 @@ public Builder clearEnabled() { private java.lang.Object securityGroup_ = ""; /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @return The securityGroup. */ public java.lang.String getSecurityGroup() { java.lang.Object ref = securityGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); securityGroup_ = s; return s; @@ -523,21 +569,22 @@ public java.lang.String getSecurityGroup() { } } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @return The bytes for securityGroup. */ - public com.google.protobuf.ByteString - getSecurityGroupBytes() { + public com.google.protobuf.ByteString getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); securityGroup_ = b; return b; } else { @@ -545,64 +592,71 @@ public java.lang.String getSecurityGroup() { } } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @param value The securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroup( - java.lang.String value) { + public Builder setSecurityGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + securityGroup_ = value; onChanged(); return this; } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @return This builder for chaining. */ public Builder clearSecurityGroup() { - + securityGroup_ = getDefaultInstance().getSecurityGroup(); onChanged(); return this; } /** + * + * *
      * The name of the security group-of-groups to be used. Only relevant
      * if enabled = true.
      * 
* * string security_group = 2; + * * @param value The bytes for securityGroup to set. * @return This builder for chaining. */ - public Builder setSecurityGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setSecurityGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + securityGroup_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +666,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AuthenticatorGroupsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AuthenticatorGroupsConfig) private static final com.google.container.v1beta1.AuthenticatorGroupsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AuthenticatorGroupsConfig(); } @@ -626,27 +680,27 @@ public static com.google.container.v1beta1.AuthenticatorGroupsConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthenticatorGroupsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthenticatorGroupsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,6 +715,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.AuthenticatorGroupsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java index 25e2aca398de..99a8d7b9d144 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AuthenticatorGroupsConfigOrBuilder.java @@ -1,42 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AuthenticatorGroupsConfigOrBuilder extends +public interface AuthenticatorGroupsConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AuthenticatorGroupsConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether this cluster should return group membership lookups
    * during authentication using a group of security groups.
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The securityGroup. */ java.lang.String getSecurityGroup(); /** + * + * *
    * The name of the security group-of-groups to be used. Only relevant
    * if enabled = true.
    * 
* * string security_group = 2; + * * @return The bytes for securityGroup. */ - com.google.protobuf.ByteString - getSecurityGroupBytes(); + com.google.protobuf.ByteString getSecurityGroupBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java index e9eb4101038a..bb44a0661ce2 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptions.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * AutoUpgradeOptions defines the set of options for the user to control how
  * the Auto Upgrades will proceed.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.AutoUpgradeOptions}
  */
-public final class AutoUpgradeOptions extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutoUpgradeOptions extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.AutoUpgradeOptions)
     AutoUpgradeOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutoUpgradeOptions.newBuilder() to construct.
   private AutoUpgradeOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutoUpgradeOptions() {
     autoUpgradeStartTime_ = "";
     description_ = "";
@@ -27,32 +45,35 @@ private AutoUpgradeOptions() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutoUpgradeOptions();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.AutoUpgradeOptions.class, com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
+            com.google.container.v1beta1.AutoUpgradeOptions.class,
+            com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_START_TIME_FIELD_NUMBER = 1;
   private volatile java.lang.Object autoUpgradeStartTime_;
   /**
+   *
+   *
    * 
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -60,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string auto_upgrade_start_time = 1; + * * @return The autoUpgradeStartTime. */ @java.lang.Override @@ -68,14 +90,15 @@ public java.lang.String getAutoUpgradeStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; } } /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -83,16 +106,15 @@ public java.lang.String getAutoUpgradeStartTime() {
    * 
* * string auto_upgrade_start_time = 1; + * * @return The bytes for autoUpgradeStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -103,12 +125,15 @@ public java.lang.String getAutoUpgradeStartTime() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -117,30 +142,30 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -149,6 +174,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,8 +186,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(autoUpgradeStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, autoUpgradeStartTime_); } @@ -191,17 +216,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AutoUpgradeOptions)) { return super.equals(obj); } - com.google.container.v1beta1.AutoUpgradeOptions other = (com.google.container.v1beta1.AutoUpgradeOptions) obj; + com.google.container.v1beta1.AutoUpgradeOptions other = + (com.google.container.v1beta1.AutoUpgradeOptions) obj; - if (!getAutoUpgradeStartTime() - .equals(other.getAutoUpgradeStartTime())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getAutoUpgradeStartTime().equals(other.getAutoUpgradeStartTime())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -222,97 +246,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoUpgradeOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( 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.AutoUpgradeOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AutoUpgradeOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AutoUpgradeOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AutoUpgradeOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.AutoUpgradeOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AutoUpgradeOptions defines the set of options for the user to control how
    * the Auto Upgrades will proceed.
@@ -320,33 +351,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.AutoUpgradeOptions}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AutoUpgradeOptions)
       com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.AutoUpgradeOptions.class, com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
+              com.google.container.v1beta1.AutoUpgradeOptions.class,
+              com.google.container.v1beta1.AutoUpgradeOptions.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.AutoUpgradeOptions.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -358,9 +388,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor;
     }
 
     @java.lang.Override
@@ -379,7 +409,8 @@ public com.google.container.v1beta1.AutoUpgradeOptions build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.AutoUpgradeOptions buildPartial() {
-      com.google.container.v1beta1.AutoUpgradeOptions result = new com.google.container.v1beta1.AutoUpgradeOptions(this);
+      com.google.container.v1beta1.AutoUpgradeOptions result =
+          new com.google.container.v1beta1.AutoUpgradeOptions(this);
       result.autoUpgradeStartTime_ = autoUpgradeStartTime_;
       result.description_ = description_;
       onBuilt();
@@ -390,38 +421,39 @@ public com.google.container.v1beta1.AutoUpgradeOptions buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.AutoUpgradeOptions) {
-        return mergeFrom((com.google.container.v1beta1.AutoUpgradeOptions)other);
+        return mergeFrom((com.google.container.v1beta1.AutoUpgradeOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -429,7 +461,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.AutoUpgradeOptions other) {
-      if (other == com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance())
+        return this;
       if (!other.getAutoUpgradeStartTime().isEmpty()) {
         autoUpgradeStartTime_ = other.autoUpgradeStartTime_;
         onChanged();
@@ -464,22 +497,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              autoUpgradeStartTime_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                autoUpgradeStartTime_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -492,6 +528,8 @@ public Builder mergeFrom(
 
     private java.lang.Object autoUpgradeStartTime_ = "";
     /**
+     *
+     *
      * 
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -499,13 +537,13 @@ public Builder mergeFrom(
      * 
* * string auto_upgrade_start_time = 1; + * * @return The autoUpgradeStartTime. */ public java.lang.String getAutoUpgradeStartTime() { java.lang.Object ref = autoUpgradeStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); autoUpgradeStartTime_ = s; return s; @@ -514,6 +552,8 @@ public java.lang.String getAutoUpgradeStartTime() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -521,15 +561,14 @@ public java.lang.String getAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; + * * @return The bytes for autoUpgradeStartTime. */ - public com.google.protobuf.ByteString - getAutoUpgradeStartTimeBytes() { + public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); autoUpgradeStartTime_ = b; return b; } else { @@ -537,6 +576,8 @@ public java.lang.String getAutoUpgradeStartTime() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -544,20 +585,22 @@ public java.lang.String getAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; + * * @param value The autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTime( - java.lang.String value) { + public Builder setAutoUpgradeStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + autoUpgradeStartTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -565,15 +608,18 @@ public Builder setAutoUpgradeStartTime(
      * 
* * string auto_upgrade_start_time = 1; + * * @return This builder for chaining. */ public Builder clearAutoUpgradeStartTime() { - + autoUpgradeStartTime_ = getDefaultInstance().getAutoUpgradeStartTime(); onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the approximate start time for the upgrades, in
@@ -581,16 +627,16 @@ public Builder clearAutoUpgradeStartTime() {
      * 
* * string auto_upgrade_start_time = 1; + * * @param value The bytes for autoUpgradeStartTime to set. * @return This builder for chaining. */ - public Builder setAutoUpgradeStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setAutoUpgradeStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + autoUpgradeStartTime_ = value; onChanged(); return this; @@ -598,19 +644,21 @@ public Builder setAutoUpgradeStartTimeBytes( private java.lang.Object description_ = ""; /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -619,21 +667,22 @@ public java.lang.String getDescription() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -641,64 +690,71 @@ public java.lang.String getDescription() { } } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * [Output only] This field is set when upgrades are about to commence
      * with the description of the upgrade.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -708,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AutoUpgradeOptions) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AutoUpgradeOptions) private static final com.google.container.v1beta1.AutoUpgradeOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AutoUpgradeOptions(); } @@ -722,27 +778,27 @@ public static com.google.container.v1beta1.AutoUpgradeOptions getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoUpgradeOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoUpgradeOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,6 +813,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.AutoUpgradeOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java index 7ce415728298..45248671b94b 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoUpgradeOptionsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AutoUpgradeOptionsOrBuilder extends +public interface AutoUpgradeOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AutoUpgradeOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -15,10 +33,13 @@ public interface AutoUpgradeOptionsOrBuilder extends
    * 
* * string auto_upgrade_start_time = 1; + * * @return The autoUpgradeStartTime. */ java.lang.String getAutoUpgradeStartTime(); /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the approximate start time for the upgrades, in
@@ -26,30 +47,35 @@ public interface AutoUpgradeOptionsOrBuilder extends
    * 
* * string auto_upgrade_start_time = 1; + * * @return The bytes for autoUpgradeStartTime. */ - com.google.protobuf.ByteString - getAutoUpgradeStartTimeBytes(); + com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes(); /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * [Output only] This field is set when upgrades are about to commence
    * with the description of the upgrade.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java index 0ea4cc7ba1c2..bf3172a49bb4 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Autopilot.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Autopilot is the configuration for Autopilot settings on the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.Autopilot} */ -public final class Autopilot extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Autopilot extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Autopilot) AutopilotOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Autopilot.newBuilder() to construct. private Autopilot(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Autopilot() { - } + + private Autopilot() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Autopilot(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Autopilot.class, com.google.container.v1beta1.Autopilot.Builder.class); + com.google.container.v1beta1.Autopilot.class, + com.google.container.v1beta1.Autopilot.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Enable Autopilot
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Autopilot)) { return super.equals(obj); } com.google.container.v1beta1.Autopilot other = (com.google.container.v1beta1.Autopilot) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.Autopilot parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Autopilot parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Autopilot parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Autopilot parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Autopilot parseFrom( 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.Autopilot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Autopilot parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.Autopilot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Autopilot parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Autopilot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Autopilot parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Autopilot parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Autopilot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.Autopilot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Autopilot is the configuration for Autopilot settings on the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.Autopilot} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Autopilot) com.google.container.v1beta1.AutopilotOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Autopilot_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Autopilot.class, com.google.container.v1beta1.Autopilot.Builder.class); + com.google.container.v1beta1.Autopilot.class, + com.google.container.v1beta1.Autopilot.Builder.class); } // Construct using com.google.container.v1beta1.Autopilot.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Autopilot_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Autopilot_descriptor; } @java.lang.Override @@ -282,7 +306,8 @@ public com.google.container.v1beta1.Autopilot build() { @java.lang.Override public com.google.container.v1beta1.Autopilot buildPartial() { - com.google.container.v1beta1.Autopilot result = new com.google.container.v1beta1.Autopilot(this); + com.google.container.v1beta1.Autopilot result = + new com.google.container.v1beta1.Autopilot(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +317,39 @@ public com.google.container.v1beta1.Autopilot buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Autopilot) { - return mergeFrom((com.google.container.v1beta1.Autopilot)other); + return mergeFrom((com.google.container.v1beta1.Autopilot) other); } else { super.mergeFrom(other); return this; @@ -361,17 +387,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +410,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Enable Autopilot
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +427,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enable Autopilot
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enable Autopilot
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Autopilot) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Autopilot) private static final com.google.container.v1beta1.Autopilot DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Autopilot(); } @@ -450,27 +487,27 @@ public static com.google.container.v1beta1.Autopilot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Autopilot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Autopilot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +522,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Autopilot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java new file mode 100644 index 000000000000..6e1be05d194a --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface AutopilotOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Autopilot) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable Autopilot
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaults.java index 3da34e853fa3..e2b6b53f12ee 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
  * by NAP.
@@ -11,15 +28,17 @@
  *
  * Protobuf type {@code google.container.v1beta1.AutoprovisioningNodePoolDefaults}
  */
-public final class AutoprovisioningNodePoolDefaults extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AutoprovisioningNodePoolDefaults extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.AutoprovisioningNodePoolDefaults)
     AutoprovisioningNodePoolDefaultsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AutoprovisioningNodePoolDefaults.newBuilder() to construct.
-  private AutoprovisioningNodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private AutoprovisioningNodePoolDefaults(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AutoprovisioningNodePoolDefaults() {
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
     serviceAccount_ = "";
@@ -31,32 +50,35 @@ private AutoprovisioningNodePoolDefaults() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AutoprovisioningNodePoolDefaults();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
+            com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class,
+            com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
   }
 
   public static final int OAUTH_SCOPES_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList oauthScopes_;
   /**
+   *
+   *
    * 
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -73,13 +95,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string oauth_scopes = 1; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_; } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -96,12 +120,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string oauth_scopes = 1; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -118,6 +145,7 @@ public int getOauthScopesCount() {
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -125,6 +153,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -141,17 +171,19 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -159,6 +191,7 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * string service_account = 2; + * * @return The serviceAccount. */ @java.lang.Override @@ -167,14 +200,15 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -182,16 +216,15 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 2; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -202,11 +235,14 @@ public java.lang.String getServiceAccount() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 3; private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -214,18 +250,25 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -233,18 +276,22 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings( * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder + getUpgradeSettingsOrBuilder() { return getUpgradeSettings(); } public static final int MANAGEMENT_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodeManagement management_; /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; + * * @return Whether the management field is set. */ @java.lang.Override @@ -252,18 +299,25 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; + * * @return The management. */ @java.lang.Override public com.google.container.v1beta1.NodeManagement getManagement() { - return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -278,6 +332,8 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 5; private volatile java.lang.Object minCpuPlatform_; /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -294,24 +350,27 @@ 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @return The minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated + public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -328,18 +387,18 @@ 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @return The bytes for minCpuPlatform. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -350,6 +409,8 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild public static final int DISK_SIZE_GB_FIELD_NUMBER = 6; private int diskSizeGb_; /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -357,6 +418,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
    * 
* * int32 disk_size_gb = 6; + * * @return The diskSizeGb. */ @java.lang.Override @@ -367,6 +429,8 @@ public int getDiskSizeGb() { public static final int DISK_TYPE_FIELD_NUMBER = 7; private volatile java.lang.Object diskType_; /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -374,6 +438,7 @@ public int getDiskSizeGb() {
    * 
* * string disk_type = 7; + * * @return The diskType. */ @java.lang.Override @@ -382,14 +447,15 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -397,16 +463,15 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 7; + * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -417,11 +482,14 @@ public java.lang.String getDiskType() { public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 8; private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -429,18 +497,25 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } /** + * + * *
    * Shielded Instance options.
    * 
@@ -448,13 +523,16 @@ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceCo * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ @java.lang.Override - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 9; private volatile java.lang.Object bootDiskKmsKey_; /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -465,6 +543,7 @@ public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedI
    * 
* * string boot_disk_kms_key = 9; + * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -473,14 +552,15 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -491,16 +571,15 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 9; + * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -511,11 +590,14 @@ public java.lang.String getBootDiskKmsKey() { public static final int IMAGE_TYPE_FIELD_NUMBER = 10; private volatile java.lang.Object imageType_; /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The imageType. */ @java.lang.Override @@ -524,29 +606,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -555,6 +637,7 @@ public java.lang.String getImageType() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -566,8 +649,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, oauthScopes_.getRaw(i)); } @@ -619,26 +701,23 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpgradeSettings()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(minCpuPlatform_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, minCpuPlatform_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, diskSizeGb_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, diskType_); } if (shieldedInstanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getShieldedInstanceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(8, getShieldedInstanceConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, bootDiskKmsKey_); @@ -654,42 +733,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.AutoprovisioningNodePoolDefaults)) { return super.equals(obj); } - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults other = (com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) obj; + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults other = + (com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) obj; - if (!getOauthScopesList() - .equals(other.getOauthScopesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; + if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings() - .equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; - } - if (!getMinCpuPlatform() - .equals(other.getMinCpuPlatform())) return false; - if (getDiskSizeGb() - != other.getDiskSizeGb()) return false; - if (!getDiskType() - .equals(other.getDiskType())) return false; + if (!getManagement().equals(other.getManagement())) return false; + } + if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; + if (getDiskSizeGb() != other.getDiskSizeGb()) return false; + if (!getDiskType().equals(other.getDiskType())) return false; if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig() - .equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; } - if (!getBootDiskKmsKey() - .equals(other.getBootDiskKmsKey())) return false; - if (!getImageType() - .equals(other.getImageType())) return false; + if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; + if (!getImageType().equals(other.getImageType())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -735,96 +805,104 @@ public int hashCode() { } public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( 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.AutoprovisioningNodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool created
    * by NAP.
@@ -832,33 +910,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.AutoprovisioningNodePoolDefaults}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.AutoprovisioningNodePoolDefaults)
       com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
+              com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.class,
+              com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -898,13 +975,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor;
     }
 
     @java.lang.Override
-    public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getDefaultInstanceForType() {
+    public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults
+        getDefaultInstanceForType() {
       return com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance();
     }
 
@@ -919,7 +997,8 @@ public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults buildPartial() {
-      com.google.container.v1beta1.AutoprovisioningNodePoolDefaults result = new com.google.container.v1beta1.AutoprovisioningNodePoolDefaults(this);
+      com.google.container.v1beta1.AutoprovisioningNodePoolDefaults result =
+          new com.google.container.v1beta1.AutoprovisioningNodePoolDefaults(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = oauthScopes_.getUnmodifiableView();
@@ -955,38 +1034,39 @@ public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) {
-        return mergeFrom((com.google.container.v1beta1.AutoprovisioningNodePoolDefaults)other);
+        return mergeFrom((com.google.container.v1beta1.AutoprovisioningNodePoolDefaults) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -994,7 +1074,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults other) {
-      if (other == com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance()) return this;
+      if (other
+          == com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance())
+        return this;
       if (!other.oauthScopes_.isEmpty()) {
         if (oauthScopes_.isEmpty()) {
           oauthScopes_ = other.oauthScopes_;
@@ -1063,69 +1145,75 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureOauthScopesIsMutable();
-              oauthScopes_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              serviceAccount_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpgradeSettingsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getManagementFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              minCpuPlatform_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 48: {
-              diskSizeGb_ = input.readInt32();
-
-              break;
-            } // case 48
-            case 58: {
-              diskType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            case 66: {
-              input.readMessage(
-                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 66
-            case 74: {
-              bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 82: {
-              imageType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureOauthScopesIsMutable();
+                oauthScopes_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                minCpuPlatform_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 48:
+              {
+                diskSizeGb_ = input.readInt32();
+
+                break;
+              } // case 48
+            case 58:
+              {
+                diskType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                input.readMessage(
+                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 66
+            case 74:
+              {
+                bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 82:
+              {
+                imageType_ = input.readStringRequireUtf8();
+
+                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) {
@@ -1135,16 +1223,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList oauthScopes_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureOauthScopesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1161,13 +1254,15 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 1; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1184,12 +1279,15 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 1; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1206,6 +1304,7 @@ public int getOauthScopesCount() {
      * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -1213,6 +1312,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1229,14 +1330,16 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1253,21 +1356,23 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 1; + * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes( - int index, java.lang.String value) { + public Builder setOauthScopes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1284,20 +1389,22 @@ public Builder setOauthScopes(
      * 
* * repeated string oauth_scopes = 1; + * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes( - java.lang.String value) { + public Builder addOauthScopes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1314,18 +1421,19 @@ public Builder addOauthScopes(
      * 
* * repeated string oauth_scopes = 1; + * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes( - java.lang.Iterable values) { + public Builder addAllOauthScopes(java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1342,6 +1450,7 @@ public Builder addAllOauthScopes(
      * 
* * repeated string oauth_scopes = 1; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -1351,6 +1460,8 @@ public Builder clearOauthScopes() { return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -1367,15 +1478,15 @@ public Builder clearOauthScopes() {
      * 
* * repeated string oauth_scopes = 1; + * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes( - com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -1384,6 +1495,8 @@ public Builder addOauthScopesBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1391,13 +1504,13 @@ public Builder addOauthScopesBytes(
      * 
* * string service_account = 2; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -1406,6 +1519,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1413,15 +1528,14 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 2; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -1429,6 +1543,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1436,20 +1552,22 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 2; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1457,15 +1575,18 @@ public Builder setServiceAccount(
      * 
* * string service_account = 2; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -1473,16 +1594,16 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 2; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -1490,34 +1611,47 @@ public Builder setServiceAccountBytes( private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + upgradeSettingsBuilder_; /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return The upgradeSettings. */ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1538,6 +1672,8 @@ public Builder setUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeS return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1556,17 +1692,22 @@ public Builder setUpgradeSettings( return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ - public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeSettings value) { + public Builder mergeUpgradeSettings( + com.google.container.v1beta1.NodePool.UpgradeSettings value) { if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) + .mergeFrom(value) + .buildPartial(); } else { upgradeSettings_ = value; } @@ -1578,6 +1719,8 @@ public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.Upgrad return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1596,33 +1739,42 @@ public Builder clearUpgradeSettings() { return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ - public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder + getUpgradeSettingsBuilder() { + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder + getUpgradeSettingsOrBuilder() { if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null ? - com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -1630,14 +1782,17 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), - getParentForChildren(), - isClean()); + upgradeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), getParentForChildren(), isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -1645,34 +1800,47 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade private com.google.container.v1beta1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> managementBuilder_; + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder> + managementBuilder_; /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 4; + * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 4; + * * @return The management. */ public com.google.container.v1beta1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1693,6 +1861,8 @@ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1711,6 +1881,8 @@ public Builder setManagement( return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1721,7 +1893,9 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1beta1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeManagement.newBuilder(management_) + .mergeFrom(value) + .buildPartial(); } else { management_ = value; } @@ -1733,6 +1907,8 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1751,6 +1927,8 @@ public Builder clearManagement() { return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1758,11 +1936,13 @@ public Builder clearManagement() { * .google.container.v1beta1.NodeManagement management = 4; */ public com.google.container.v1beta1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1773,11 +1953,14 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -1785,14 +1968,17 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * .google.container.v1beta1.NodeManagement management = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; @@ -1800,6 +1986,8 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild private java.lang.Object minCpuPlatform_ = ""; /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1816,15 +2004,16 @@ 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @return The minCpuPlatform. */ - @java.lang.Deprecated public java.lang.String getMinCpuPlatform() { + @java.lang.Deprecated + public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -1833,6 +2022,8 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild } } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1849,17 +2040,17 @@ 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -1867,6 +2058,8 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild } } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1883,22 +2076,25 @@ 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMinCpuPlatform( - java.lang.String value) { + @java.lang.Deprecated + public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1915,17 +2111,21 @@ 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMinCpuPlatform() { - + @java.lang.Deprecated + public Builder clearMinCpuPlatform() { + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** + * + * *
      * Deprecated. Minimum CPU platform to be used for NAP created node pools.
      * The instance may be scheduled on the specified or newer CPU platform.
@@ -1942,25 +2142,28 @@ 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMinCpuPlatformBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; } - private int diskSizeGb_ ; + private int diskSizeGb_; /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -1968,6 +2171,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
      * 
* * int32 disk_size_gb = 6; + * * @return The diskSizeGb. */ @java.lang.Override @@ -1975,6 +2179,8 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -1982,16 +2188,19 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 6; + * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -1999,10 +2208,11 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 6; + * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; @@ -2010,6 +2220,8 @@ public Builder clearDiskSizeGb() { private java.lang.Object diskType_ = ""; /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2017,13 +2229,13 @@ public Builder clearDiskSizeGb() {
      * 
* * string disk_type = 7; + * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -2032,6 +2244,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2039,15 +2253,14 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 7; + * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -2055,6 +2268,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2062,20 +2277,22 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 7; + * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType( - java.lang.String value) { + public Builder setDiskType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2083,15 +2300,18 @@ public Builder setDiskType(
      * 
* * string disk_type = 7; + * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -2099,16 +2319,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 7; + * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -2116,41 +2336,55 @@ public Builder setDiskTypeBytes( private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_; + com.google.container.v1beta1.ShieldedInstanceConfig, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder, + com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> + shieldedInstanceConfigBuilder_; /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return The shieldedInstanceConfig. */ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public Builder setShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder setShieldedInstanceConfig( + com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2164,6 +2398,8 @@ public Builder setShieldedInstanceConfig(com.google.container.v1beta1.ShieldedIn return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -2182,17 +2418,23 @@ public Builder setShieldedInstanceConfig( return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public Builder mergeShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig( + com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder( + shieldedInstanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -2204,6 +2446,8 @@ public Builder mergeShieldedInstanceConfig(com.google.container.v1beta1.Shielded return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -2222,33 +2466,42 @@ public Builder clearShieldedInstanceConfig() { return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1beta1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { - + public com.google.container.v1beta1.ShieldedInstanceConfig.Builder + getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null ? - com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } } /** + * + * *
      * Shielded Instance options.
      * 
@@ -2256,14 +2509,17 @@ public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedI * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1beta1.ShieldedInstanceConfig, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder, + com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), - getParentForChildren(), - isClean()); + shieldedInstanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedInstanceConfig, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder, + com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), getParentForChildren(), isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -2271,6 +2527,8 @@ public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedI private java.lang.Object bootDiskKmsKey_ = ""; /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2281,13 +2539,13 @@ public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedI
      * 
* * string boot_disk_kms_key = 9; + * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -2296,6 +2554,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2306,15 +2566,14 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; + * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -2322,6 +2581,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2332,20 +2593,22 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; + * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey( - java.lang.String value) { + public Builder setBootDiskKmsKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2356,15 +2619,18 @@ public Builder setBootDiskKmsKey(
      * 
* * string boot_disk_kms_key = 9; + * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -2375,16 +2641,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 9; + * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -2392,18 +2658,20 @@ public Builder setBootDiskKmsKeyBytes( private java.lang.Object imageType_ = ""; /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2412,20 +2680,21 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -2433,61 +2702,68 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** + * + * *
      * The image type to use for NAP created node.
      * 
* * string image_type = 10; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2497,12 +2773,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.AutoprovisioningNodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.AutoprovisioningNodePoolDefaults) - private static final com.google.container.v1beta1.AutoprovisioningNodePoolDefaults DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.AutoprovisioningNodePoolDefaults + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.AutoprovisioningNodePoolDefaults(); } @@ -2511,27 +2788,27 @@ public static com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoprovisioningNodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoprovisioningNodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2546,6 +2823,4 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 86% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutoprovisioningNodePoolDefaultsOrBuilder.java index 13fa190a4b6e..acd1e8d4b9e5 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface AutoprovisioningNodePoolDefaultsOrBuilder extends +public interface AutoprovisioningNodePoolDefaultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.AutoprovisioningNodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -24,11 +42,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * repeated string oauth_scopes = 1; + * * @return A list containing the oauthScopes. */ - java.util.List - getOauthScopesList(); + java.util.List getOauthScopesList(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -45,10 +65,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * repeated string oauth_scopes = 1; + * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -65,11 +88,14 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -86,13 +112,15 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * repeated string oauth_scopes = 1; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString - getOauthScopesBytes(int index); + com.google.protobuf.ByteString getOauthScopesBytes(int index); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -100,10 +128,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string service_account = 2; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -111,30 +142,38 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string service_account = 2; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 3; + * * @return The upgradeSettings. */ com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -144,24 +183,32 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 4; + * * @return The management. */ com.google.container.v1beta1.NodeManagement getManagement(); /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -171,6 +218,8 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder(); /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -187,12 +236,16 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @return The minCpuPlatform. */ - @java.lang.Deprecated java.lang.String getMinCpuPlatform(); + @java.lang.Deprecated + java.lang.String getMinCpuPlatform(); /** + * + * *
    * Deprecated. Minimum CPU platform to be used for NAP created node pools.
    * The instance may be scheduled on the specified or newer CPU platform.
@@ -209,14 +262,17 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * 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=3922 + * + * @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3922 * @return The bytes for minCpuPlatform. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getMinCpuPlatformBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getMinCpuPlatformBytes(); /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -224,11 +280,14 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * int32 disk_size_gb = 6; + * * @return The diskSizeGb. */ int getDiskSizeGb(); /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -236,10 +295,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string disk_type = 7; + * * @return The diskType. */ java.lang.String getDiskType(); /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -247,30 +309,38 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string disk_type = 7; + * * @return The bytes for diskType. */ - com.google.protobuf.ByteString - getDiskTypeBytes(); + com.google.protobuf.ByteString getDiskTypeBytes(); /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 8; + * * @return The shieldedInstanceConfig. */ com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
@@ -280,6 +350,8 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -290,10 +362,13 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string boot_disk_kms_key = 9; + * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -304,28 +379,33 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder extends
    * 
* * string boot_disk_kms_key = 9; + * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString - getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * The image type to use for NAP created node.
    * 
* * string image_type = 10; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorization.java index abb7365d74b1..ce3625d5dd6a 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration for Binary Authorization.
  * 
* * Protobuf type {@code google.container.v1beta1.BinaryAuthorization} */ -public final class BinaryAuthorization extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BinaryAuthorization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.BinaryAuthorization) BinaryAuthorizationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BinaryAuthorization.newBuilder() to construct. private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BinaryAuthorization() { evaluationMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BinaryAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BinaryAuthorization.class, com.google.container.v1beta1.BinaryAuthorization.Builder.class); + com.google.container.v1beta1.BinaryAuthorization.class, + com.google.container.v1beta1.BinaryAuthorization.Builder.class); } /** + * + * *
    * Binary Authorization mode of operation.
    * 
* * Protobuf enum {@code google.container.v1beta1.BinaryAuthorization.EvaluationMode} */ - public enum EvaluationMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum EvaluationMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value
      * 
@@ -66,6 +88,8 @@ public enum EvaluationMode */ EVALUATION_MODE_UNSPECIFIED(0), /** + * + * *
      * Disable BinaryAuthorization
      * 
@@ -74,6 +98,8 @@ public enum EvaluationMode */ DISABLED(1), /** + * + * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -87,6 +113,8 @@ public enum EvaluationMode
     ;
 
     /**
+     *
+     *
      * 
      * Default value
      * 
@@ -95,6 +123,8 @@ public enum EvaluationMode */ public static final int EVALUATION_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disable BinaryAuthorization
      * 
@@ -103,6 +133,8 @@ public enum EvaluationMode */ public static final int DISABLED_VALUE = 1; /** + * + * *
      * Enforce Kubernetes admission requests with BinaryAuthorization using the
      * project's singleton policy. This is equivalent to setting the
@@ -113,7 +145,6 @@ public enum EvaluationMode
      */
     public static final int PROJECT_SINGLETON_POLICY_ENFORCE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -138,49 +169,49 @@ public static EvaluationMode valueOf(int value) {
      */
     public static EvaluationMode forNumber(int value) {
       switch (value) {
-        case 0: return EVALUATION_MODE_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 2: return PROJECT_SINGLETON_POLICY_ENFORCE;
-        default: return null;
+        case 0:
+          return EVALUATION_MODE_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 2:
+          return PROJECT_SINGLETON_POLICY_ENFORCE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        EvaluationMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public EvaluationMode findValueByNumber(int number) {
-              return EvaluationMode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public EvaluationMode findValueByNumber(int number) {
+            return EvaluationMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.BinaryAuthorization.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EvaluationMode[] VALUES = values();
 
-    public static EvaluationMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EvaluationMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -200,6 +231,8 @@ private EvaluationMode(int value) {
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -207,45 +240,59 @@ private EvaluationMode(int value) {
    * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1481 + * + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1481 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getEnabled() { + @java.lang.Deprecated + public boolean getEnabled() { return enabled_; } public static final int EVALUATION_MODE_FIELD_NUMBER = 2; private int evaluationMode_; /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The evaluationMode. */ - @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { + @java.lang.Override + public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,12 +304,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } - if (evaluationMode_ != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { + if (evaluationMode_ + != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, evaluationMode_); } getUnknownFields().writeTo(output); @@ -275,12 +324,13 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } - if (evaluationMode_ != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.EVALUATION_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, evaluationMode_); + if (evaluationMode_ + != com.google.container.v1beta1.BinaryAuthorization.EvaluationMode + .EVALUATION_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, evaluationMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -290,15 +340,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.BinaryAuthorization)) { return super.equals(obj); } - com.google.container.v1beta1.BinaryAuthorization other = (com.google.container.v1beta1.BinaryAuthorization) obj; + com.google.container.v1beta1.BinaryAuthorization other = + (com.google.container.v1beta1.BinaryAuthorization) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (evaluationMode_ != other.evaluationMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -312,8 +362,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + EVALUATION_MODE_FIELD_NUMBER; hash = (53 * hash) + evaluationMode_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -321,130 +370,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.BinaryAuthorization parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.BinaryAuthorization parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.BinaryAuthorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.BinaryAuthorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.BinaryAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.BinaryAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * Protobuf type {@code google.container.v1beta1.BinaryAuthorization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BinaryAuthorization) com.google.container.v1beta1.BinaryAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BinaryAuthorization.class, com.google.container.v1beta1.BinaryAuthorization.Builder.class); + com.google.container.v1beta1.BinaryAuthorization.class, + com.google.container.v1beta1.BinaryAuthorization.Builder.class); } // Construct using com.google.container.v1beta1.BinaryAuthorization.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -456,9 +511,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; } @java.lang.Override @@ -477,7 +532,8 @@ public com.google.container.v1beta1.BinaryAuthorization build() { @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization buildPartial() { - com.google.container.v1beta1.BinaryAuthorization result = new com.google.container.v1beta1.BinaryAuthorization(this); + com.google.container.v1beta1.BinaryAuthorization result = + new com.google.container.v1beta1.BinaryAuthorization(this); result.enabled_ = enabled_; result.evaluationMode_ = evaluationMode_; onBuilt(); @@ -488,38 +544,39 @@ public com.google.container.v1beta1.BinaryAuthorization buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.BinaryAuthorization) { - return mergeFrom((com.google.container.v1beta1.BinaryAuthorization)other); + return mergeFrom((com.google.container.v1beta1.BinaryAuthorization) other); } else { super.mergeFrom(other); return this; @@ -527,7 +584,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.BinaryAuthorization other) { - if (other == com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -560,22 +618,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - case 16: { - evaluationMode_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + case 16: + { + evaluationMode_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -586,8 +647,10 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -595,15 +658,19 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1481 + * + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1481 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getEnabled() { + @java.lang.Deprecated + public boolean getEnabled() { return enabled_; } /** + * + * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -611,18 +678,22 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1481 + * + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1481 * @param value The enabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setEnabled(boolean value) { - + @java.lang.Deprecated + public Builder setEnabled(boolean value) { + enabled_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated. Leave this unset and instead configure
      * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -630,12 +701,14 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1481 + * + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1481 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearEnabled() { - + @java.lang.Deprecated + public Builder clearEnabled() { + enabled_ = false; onChanged(); return this; @@ -643,85 +716,110 @@ public Builder mergeFrom( private int evaluationMode_ = 0; /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * * @return The enum numeric value on the wire for evaluationMode. */ - @java.lang.Override public int getEvaluationModeValue() { + @java.lang.Override + public int getEvaluationModeValue() { return evaluationMode_; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * * @param value The enum numeric value on the wire for evaluationMode to set. * @return This builder for chaining. */ public Builder setEvaluationModeValue(int value) { - + evaluationMode_ = value; onChanged(); return this; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * * @return The evaluationMode. */ @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); - return result == null ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED : result; + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode result = + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.valueOf(evaluationMode_); + return result == null + ? com.google.container.v1beta1.BinaryAuthorization.EvaluationMode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * * @param value The evaluationMode to set. * @return This builder for chaining. */ - public Builder setEvaluationMode(com.google.container.v1beta1.BinaryAuthorization.EvaluationMode value) { + public Builder setEvaluationMode( + com.google.container.v1beta1.BinaryAuthorization.EvaluationMode value) { if (value == null) { throw new NullPointerException(); } - + evaluationMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode of operation for binauthz policy evaluation. If unspecified, defaults
      * to DISABLED.
      * 
* - * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * + * * @return This builder for chaining. */ public Builder clearEvaluationMode() { - + evaluationMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -731,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.BinaryAuthorization) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.BinaryAuthorization) private static final com.google.container.v1beta1.BinaryAuthorization DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.BinaryAuthorization(); } @@ -745,27 +843,27 @@ public static com.google.container.v1beta1.BinaryAuthorization getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BinaryAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BinaryAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -780,6 +878,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.BinaryAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BinaryAuthorizationOrBuilder.java index 9d7109d9d3cf..97cb5e88d506 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface BinaryAuthorizationOrBuilder extends +public interface BinaryAuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BinaryAuthorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * This field is deprecated. Leave this unset and instead configure
    * BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
@@ -15,29 +33,37 @@ public interface BinaryAuthorizationOrBuilder extends
    * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1481 + * + * @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1481 * @return The enabled. */ - @java.lang.Deprecated boolean getEnabled(); + @java.lang.Deprecated + boolean getEnabled(); /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The enum numeric value on the wire for evaluationMode. */ int getEvaluationModeValue(); /** + * + * *
    * Mode of operation for binauthz policy evaluation. If unspecified, defaults
    * to DISABLED.
    * 
* * .google.container.v1beta1.BinaryAuthorization.EvaluationMode evaluation_mode = 2; + * * @return The evaluationMode. */ com.google.container.v1beta1.BinaryAuthorization.EvaluationMode getEvaluationMode(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java index 43368e975a1d..f4cd73bc2033 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettings.java @@ -1,115 +1,154 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Settings for blue-green upgrade.
  * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings} */ -public final class BlueGreenSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BlueGreenSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.BlueGreenSettings) BlueGreenSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BlueGreenSettings.newBuilder() to construct. private BlueGreenSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BlueGreenSettings() { - } + + private BlueGreenSettings() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BlueGreenSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.class, com.google.container.v1beta1.BlueGreenSettings.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.class, + com.google.container.v1beta1.BlueGreenSettings.Builder.class); } - public interface StandardRolloutPolicyOrBuilder extends + public interface StandardRolloutPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return Whether the batchPercentage field is set. */ boolean hasBatchPercentage(); /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return The batchPercentage. */ float getBatchPercentage(); /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return Whether the batchNodeCount field is set. */ boolean hasBatchNodeCount(); /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return The batchNodeCount. */ int getBatchNodeCount(); /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return Whether the batchSoakDuration field is set. */ boolean hasBatchSoakDuration(); /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return The batchSoakDuration. */ com.google.protobuf.Duration getBatchSoakDuration(); /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -118,62 +157,69 @@ public interface StandardRolloutPolicyOrBuilder extends */ com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder(); - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase getUpdateBatchSizeCase(); + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.UpdateBatchSizeCase + getUpdateBatchSizeCase(); } /** + * + * *
    * Standard rollout policy is the default policy for blue-green.
    * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class StandardRolloutPolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StandardRolloutPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) StandardRolloutPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StandardRolloutPolicy.newBuilder() to construct. private StandardRolloutPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private StandardRolloutPolicy() { - } + + private StandardRolloutPolicy() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StandardRolloutPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } private int bitField0_; private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; + public enum UpdateBatchSizeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BATCH_PERCENTAGE(1), BATCH_NODE_COUNT(2), UPDATEBATCHSIZE_NOT_SET(0); private final int value; + private UpdateBatchSizeCase(int value) { this.value = value; } @@ -189,31 +235,37 @@ public static UpdateBatchSizeCase valueOf(int value) { public static UpdateBatchSizeCase forNumber(int value) { switch (value) { - case 1: return BATCH_PERCENTAGE; - case 2: return BATCH_NODE_COUNT; - case 0: return UPDATEBATCHSIZE_NOT_SET; - default: return null; + case 1: + return BATCH_PERCENTAGE; + case 2: + return BATCH_NODE_COUNT; + case 0: + return UPDATEBATCHSIZE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public UpdateBatchSizeCase - getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber( - updateBatchSizeCase_); + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); } public static final int BATCH_PERCENTAGE_FIELD_NUMBER = 1; /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return Whether the batchPercentage field is set. */ @java.lang.Override @@ -221,12 +273,15 @@ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** + * + * *
      * Percentage of the blue pool nodes to drain in a batch.
      * The range of this field should be (0.0, 1.0].
      * 
* * float batch_percentage = 1; + * * @return The batchPercentage. */ @java.lang.Override @@ -239,11 +294,14 @@ public float getBatchPercentage() { public static final int BATCH_NODE_COUNT_FIELD_NUMBER = 2; /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return Whether the batchNodeCount field is set. */ @java.lang.Override @@ -251,11 +309,14 @@ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** + * + * *
      * Number of blue nodes to drain in a batch.
      * 
* * int32 batch_node_count = 2; + * * @return The batchNodeCount. */ @java.lang.Override @@ -269,11 +330,14 @@ public int getBatchNodeCount() { public static final int BATCH_SOAK_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration batchSoakDuration_; /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return Whether the batchSoakDuration field is set. */ @java.lang.Override @@ -281,18 +345,25 @@ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return The batchSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getBatchSoakDuration() { - return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } /** + * + * *
      * Soak time after each batch gets drained. Default to zero.
      * 
@@ -301,10 +372,13 @@ public com.google.protobuf.Duration getBatchSoakDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { - return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,15 +390,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateBatchSizeCase_ == 1) { - output.writeFloat( - 1, (float)((java.lang.Float) updateBatchSize_)); + output.writeFloat(1, (float) ((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - output.writeInt32( - 2, (int)((java.lang.Integer) updateBatchSize_)); + output.writeInt32(2, (int) ((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBatchSoakDuration()); @@ -339,18 +410,17 @@ public int getSerializedSize() { size = 0; if (updateBatchSizeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeFloatSize( - 1, (float)((java.lang.Float) updateBatchSize_)); + size += + com.google.protobuf.CodedOutputStream.computeFloatSize( + 1, (float) ((java.lang.Float) updateBatchSize_)); } if (updateBatchSizeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size( - 2, (int)((java.lang.Integer) updateBatchSize_)); + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 2, (int) ((java.lang.Integer) updateBatchSize_)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getBatchSoakDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBatchSoakDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,28 +430,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other = (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) obj; + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other = + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) obj; if (hasBatchSoakDuration() != other.hasBatchSoakDuration()) return false; if (hasBatchSoakDuration()) { - if (!getBatchSoakDuration() - .equals(other.getBatchSoakDuration())) return false; + if (!getBatchSoakDuration().equals(other.getBatchSoakDuration())) return false; } if (!getUpdateBatchSizeCase().equals(other.getUpdateBatchSizeCase())) return false; switch (updateBatchSizeCase_) { case 1: if (java.lang.Float.floatToIntBits(getBatchPercentage()) - != java.lang.Float.floatToIntBits( - other.getBatchPercentage())) return false; + != java.lang.Float.floatToIntBits(other.getBatchPercentage())) return false; break; case 2: - if (getBatchNodeCount() - != other.getBatchNodeCount()) return false; + if (getBatchNodeCount() != other.getBatchNodeCount()) return false; break; case 0: default: @@ -404,8 +472,7 @@ public int hashCode() { switch (updateBatchSizeCase_) { case 1: hash = (37 * hash) + BATCH_PERCENTAGE_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits( - getBatchPercentage()); + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBatchPercentage()); break; case 2: hash = (37 * hash) + BATCH_NODE_COUNT_FIELD_NUMBER; @@ -420,87 +487,95 @@ public int hashCode() { } public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( 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.BlueGreenSettings.StandardRolloutPolicy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy 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.BlueGreenSettings.StandardRolloutPolicy + 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.BlueGreenSettings.StandardRolloutPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -510,45 +585,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Standard rollout policy is the default policy for blue-green.
      * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.class, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder.class); } - // Construct using com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() + // Construct using + // com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getBatchSoakDurationFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -564,19 +645,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; } @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy build() { - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = buildPartial(); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -585,7 +669,8 @@ public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy buil @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy buildPartial() { - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(this); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy result = + new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (updateBatchSizeCase_ == 1) { @@ -612,61 +697,71 @@ public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.BlueGreenSettings.StandardRolloutPolicy) { - return mergeFrom((com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy)other); + return mergeFrom( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other) { - if (other == com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy other) { + if (other + == com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance()) return this; if (other.hasBatchSoakDuration()) { mergeBatchSoakDuration(other.getBatchSoakDuration()); } switch (other.getUpdateBatchSizeCase()) { - case BATCH_PERCENTAGE: { - setBatchPercentage(other.getBatchPercentage()); - break; - } - case BATCH_NODE_COUNT: { - setBatchNodeCount(other.getBatchNodeCount()); - break; - } - case UPDATEBATCHSIZE_NOT_SET: { - break; - } + case BATCH_PERCENTAGE: + { + setBatchPercentage(other.getBatchPercentage()); + break; + } + case BATCH_NODE_COUNT: + { + setBatchNodeCount(other.getBatchNodeCount()); + break; + } + case UPDATEBATCHSIZE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -694,29 +789,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 13: { - updateBatchSize_ = input.readFloat(); - updateBatchSizeCase_ = 1; - break; - } // case 13 - case 16: { - updateBatchSize_ = input.readInt32(); - updateBatchSizeCase_ = 2; - break; - } // case 16 - case 26: { - input.readMessage( - getBatchSoakDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 13: + { + updateBatchSize_ = input.readFloat(); + updateBatchSizeCase_ = 1; + break; + } // case 13 + case 16: + { + updateBatchSize_ = input.readInt32(); + updateBatchSizeCase_ = 2; + break; + } // case 16 + case 26: + { + input.readMessage( + getBatchSoakDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -726,12 +824,12 @@ public Builder mergeFrom( } // finally return this; } + private int updateBatchSizeCase_ = 0; private java.lang.Object updateBatchSize_; - public UpdateBatchSizeCase - getUpdateBatchSizeCase() { - return UpdateBatchSizeCase.forNumber( - updateBatchSizeCase_); + + public UpdateBatchSizeCase getUpdateBatchSizeCase() { + return UpdateBatchSizeCase.forNumber(updateBatchSizeCase_); } public Builder clearUpdateBatchSize() { @@ -744,24 +842,30 @@ public Builder clearUpdateBatchSize() { private int bitField0_; /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @return Whether the batchPercentage field is set. */ public boolean hasBatchPercentage() { return updateBatchSizeCase_ == 1; } /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @return The batchPercentage. */ public float getBatchPercentage() { @@ -771,12 +875,15 @@ public float getBatchPercentage() { return 0F; } /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @param value The batchPercentage to set. * @return This builder for chaining. */ @@ -787,12 +894,15 @@ public Builder setBatchPercentage(float value) { return this; } /** + * + * *
        * Percentage of the blue pool nodes to drain in a batch.
        * The range of this field should be (0.0, 1.0].
        * 
* * float batch_percentage = 1; + * * @return This builder for chaining. */ public Builder clearBatchPercentage() { @@ -805,22 +915,28 @@ public Builder clearBatchPercentage() { } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @return Whether the batchNodeCount field is set. */ public boolean hasBatchNodeCount() { return updateBatchSizeCase_ == 2; } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @return The batchNodeCount. */ public int getBatchNodeCount() { @@ -830,11 +946,14 @@ public int getBatchNodeCount() { return 0; } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @param value The batchNodeCount to set. * @return This builder for chaining. */ @@ -845,11 +964,14 @@ public Builder setBatchNodeCount(int value) { return this; } /** + * + * *
        * Number of blue nodes to drain in a batch.
        * 
* * int32 batch_node_count = 2; + * * @return This builder for chaining. */ public Builder clearBatchNodeCount() { @@ -863,34 +985,47 @@ public Builder clearBatchNodeCount() { private com.google.protobuf.Duration batchSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> batchSoakDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + batchSoakDurationBuilder_; /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return Whether the batchSoakDuration field is set. */ public boolean hasBatchSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; + * * @return The batchSoakDuration. */ public com.google.protobuf.Duration getBatchSoakDuration() { if (batchSoakDurationBuilder_ == null) { - return batchSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } else { return batchSoakDurationBuilder_.getMessage(); } } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -911,14 +1046,15 @@ public Builder setBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
* * optional .google.protobuf.Duration batch_soak_duration = 3; */ - public Builder setBatchSoakDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setBatchSoakDuration(com.google.protobuf.Duration.Builder builderForValue) { if (batchSoakDurationBuilder_ == null) { batchSoakDuration_ = builderForValue.build(); onChanged(); @@ -929,6 +1065,8 @@ public Builder setBatchSoakDuration( return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -937,11 +1075,13 @@ public Builder setBatchSoakDuration( */ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { if (batchSoakDurationBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - batchSoakDuration_ != null && - batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && batchSoakDuration_ != null + && batchSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { batchSoakDuration_ = - com.google.protobuf.Duration.newBuilder(batchSoakDuration_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(batchSoakDuration_) + .mergeFrom(value) + .buildPartial(); } else { batchSoakDuration_ = value; } @@ -953,6 +1093,8 @@ public Builder mergeBatchSoakDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -970,6 +1112,8 @@ public Builder clearBatchSoakDuration() { return this; } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -982,6 +1126,8 @@ public com.google.protobuf.Duration.Builder getBatchSoakDurationBuilder() { return getBatchSoakDurationFieldBuilder().getBuilder(); } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -992,11 +1138,14 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { if (batchSoakDurationBuilder_ != null) { return batchSoakDurationBuilder_.getMessageOrBuilder(); } else { - return batchSoakDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : batchSoakDuration_; + return batchSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : batchSoakDuration_; } } /** + * + * *
        * Soak time after each batch gets drained. Default to zero.
        * 
@@ -1004,18 +1153,22 @@ public com.google.protobuf.DurationOrBuilder getBatchSoakDurationOrBuilder() { * optional .google.protobuf.Duration batch_soak_duration = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getBatchSoakDurationFieldBuilder() { if (batchSoakDurationBuilder_ == null) { - batchSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getBatchSoakDuration(), - getParentForChildren(), - isClean()); + batchSoakDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getBatchSoakDuration(), getParentForChildren(), isClean()); batchSoakDuration_ = null; } return batchSoakDurationBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1028,41 +1181,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) - private static final com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy(); } - public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstance() { + public static com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StandardRolloutPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StandardRolloutPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,21 +1230,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getDefaultInstanceForType() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; + public enum RolloutPolicyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STANDARD_ROLLOUT_POLICY(1), ROLLOUTPOLICY_NOT_SET(0); private final int value; + private RolloutPolicyCase(int value) { this.value = value; } @@ -1104,29 +1263,36 @@ public static RolloutPolicyCase valueOf(int value) { public static RolloutPolicyCase forNumber(int value) { switch (value) { - case 1: return STANDARD_ROLLOUT_POLICY; - case 0: return ROLLOUTPOLICY_NOT_SET; - default: return null; + case 1: + return STANDARD_ROLLOUT_POLICY; + case 0: + return ROLLOUTPOLICY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public RolloutPolicyCase - getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber( - rolloutPolicyCase_); + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); } public static final int STANDARD_ROLLOUT_POLICY_FIELD_NUMBER = 1; /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1134,44 +1300,60 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); } /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); } public static final int NODE_POOL_SOAK_DURATION_FIELD_NUMBER = 2; private com.google.protobuf.Duration nodePoolSoakDuration_; /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return Whether the nodePoolSoakDuration field is set. */ @java.lang.Override @@ -1179,19 +1361,26 @@ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return The nodePoolSoakDuration. */ @java.lang.Override public com.google.protobuf.Duration getNodePoolSoakDuration() { - return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; } /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
@@ -1201,10 +1390,13 @@ public com.google.protobuf.Duration getNodePoolSoakDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder() {
-    return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
+    return nodePoolSoakDuration_ == null
+        ? com.google.protobuf.Duration.getDefaultInstance()
+        : nodePoolSoakDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1216,10 +1408,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (rolloutPolicyCase_ == 1) {
-      output.writeMessage(1, (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
+      output.writeMessage(
+          1, (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getNodePoolSoakDuration());
@@ -1234,12 +1426,15 @@ public int getSerializedSize() {
 
     size = 0;
     if (rolloutPolicyCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1,
+              (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy)
+                  rolloutPolicy_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getNodePoolSoakDuration());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getNodePoolSoakDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1249,23 +1444,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.BlueGreenSettings)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.BlueGreenSettings other = (com.google.container.v1beta1.BlueGreenSettings) obj;
+    com.google.container.v1beta1.BlueGreenSettings other =
+        (com.google.container.v1beta1.BlueGreenSettings) obj;
 
     if (hasNodePoolSoakDuration() != other.hasNodePoolSoakDuration()) return false;
     if (hasNodePoolSoakDuration()) {
-      if (!getNodePoolSoakDuration()
-          .equals(other.getNodePoolSoakDuration())) return false;
+      if (!getNodePoolSoakDuration().equals(other.getNodePoolSoakDuration())) return false;
     }
     if (!getRolloutPolicyCase().equals(other.getRolloutPolicyCase())) return false;
     switch (rolloutPolicyCase_) {
       case 1:
-        if (!getStandardRolloutPolicy()
-            .equals(other.getStandardRolloutPolicy())) return false;
+        if (!getStandardRolloutPolicy().equals(other.getStandardRolloutPolicy())) return false;
         break;
       case 0:
       default:
@@ -1298,118 +1492,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.BlueGreenSettings parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.BlueGreenSettings parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
       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.BlueGreenSettings parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.BlueGreenSettings parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.BlueGreenSettings parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.BlueGreenSettings parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.BlueGreenSettings prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Settings for blue-green upgrade.
    * 
* * Protobuf type {@code google.container.v1beta1.BlueGreenSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.BlueGreenSettings) com.google.container.v1beta1.BlueGreenSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.BlueGreenSettings.class, com.google.container.v1beta1.BlueGreenSettings.Builder.class); + com.google.container.v1beta1.BlueGreenSettings.class, + com.google.container.v1beta1.BlueGreenSettings.Builder.class); } // Construct using com.google.container.v1beta1.BlueGreenSettings.newBuilder() @@ -1417,17 +1620,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNodePoolSoakDurationFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1446,9 +1649,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; } @java.lang.Override @@ -1467,7 +1670,8 @@ public com.google.container.v1beta1.BlueGreenSettings build() { @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings buildPartial() { - com.google.container.v1beta1.BlueGreenSettings result = new com.google.container.v1beta1.BlueGreenSettings(this); + com.google.container.v1beta1.BlueGreenSettings result = + new com.google.container.v1beta1.BlueGreenSettings(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (rolloutPolicyCase_ == 1) { @@ -1495,38 +1699,39 @@ public com.google.container.v1beta1.BlueGreenSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.BlueGreenSettings) { - return mergeFrom((com.google.container.v1beta1.BlueGreenSettings)other); + return mergeFrom((com.google.container.v1beta1.BlueGreenSettings) other); } else { super.mergeFrom(other); return this; @@ -1539,13 +1744,15 @@ public Builder mergeFrom(com.google.container.v1beta1.BlueGreenSettings other) { mergeNodePoolSoakDuration(other.getNodePoolSoakDuration()); } switch (other.getRolloutPolicyCase()) { - case STANDARD_ROLLOUT_POLICY: { - mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); - break; - } - case ROLLOUTPOLICY_NOT_SET: { - break; - } + case STANDARD_ROLLOUT_POLICY: + { + mergeStandardRolloutPolicy(other.getStandardRolloutPolicy()); + break; + } + case ROLLOUTPOLICY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1573,26 +1780,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStandardRolloutPolicyFieldBuilder().getBuilder(), - extensionRegistry); - rolloutPolicyCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getNodePoolSoakDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getStandardRolloutPolicyFieldBuilder().getBuilder(), extensionRegistry); + rolloutPolicyCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage( + getNodePoolSoakDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1602,12 +1810,12 @@ public Builder mergeFrom( } // finally return this; } + private int rolloutPolicyCase_ = 0; private java.lang.Object rolloutPolicy_; - public RolloutPolicyCase - getRolloutPolicyCase() { - return RolloutPolicyCase.forNumber( - rolloutPolicyCase_); + + public RolloutPolicyCase getRolloutPolicyCase() { + return RolloutPolicyCase.forNumber(rolloutPolicyCase_); } public Builder clearRolloutPolicy() { @@ -1620,13 +1828,21 @@ public Builder clearRolloutPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> standardRolloutPolicyBuilder_; + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + standardRolloutPolicyBuilder_; /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return Whether the standardRolloutPolicy field is set. */ @java.lang.Override @@ -1634,35 +1850,49 @@ public boolean hasStandardRolloutPolicy() { return rolloutPolicyCase_ == 1; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return The standardRolloutPolicy. */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + getStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); } else { if (rolloutPolicyCase_ == 1) { return standardRolloutPolicyBuilder_.getMessage(); } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); } } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - public Builder setStandardRolloutPolicy(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder setStandardRolloutPolicy( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1676,14 +1906,19 @@ public Builder setStandardRolloutPolicy(com.google.container.v1beta1.BlueGreenSe return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ public Builder setStandardRolloutPolicy( - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder builderForValue) { + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder + builderForValue) { if (standardRolloutPolicyBuilder_ == null) { rolloutPolicy_ = builderForValue.build(); onChanged(); @@ -1694,18 +1929,29 @@ public Builder setStandardRolloutPolicy( return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - public Builder mergeStandardRolloutPolicy(com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { + public Builder mergeStandardRolloutPolicy( + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy value) { if (standardRolloutPolicyBuilder_ == null) { - if (rolloutPolicyCase_ == 1 && - rolloutPolicy_ != com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance()) { - rolloutPolicy_ = com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder((com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_) - .mergeFrom(value).buildPartial(); + if (rolloutPolicyCase_ == 1 + && rolloutPolicy_ + != com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance()) { + rolloutPolicy_ = + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.newBuilder( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_) + .mergeFrom(value) + .buildPartial(); } else { rolloutPolicy_ = value; } @@ -1721,11 +1967,15 @@ public Builder mergeStandardRolloutPolicy(com.google.container.v1beta1.BlueGreen return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ public Builder clearStandardRolloutPolicy() { if (standardRolloutPolicyBuilder_ == null) { @@ -1744,91 +1994,129 @@ public Builder clearStandardRolloutPolicy() { return this; } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder getStandardRolloutPolicyBuilder() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder + getStandardRolloutPolicyBuilder() { return getStandardRolloutPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ @java.lang.Override - public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder() { + public com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder() { if ((rolloutPolicyCase_ == 1) && (standardRolloutPolicyBuilder_ != null)) { return standardRolloutPolicyBuilder_.getMessageOrBuilder(); } else { if (rolloutPolicyCase_ == 1) { - return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_; + return (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_; } - return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + return com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); } } /** + * + * *
      * Standard policy for the blue-green upgrade.
      * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder> getStandardRolloutPolicyFieldBuilder() { if (standardRolloutPolicyBuilder_ == null) { if (!(rolloutPolicyCase_ == 1)) { - rolloutPolicy_ = com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.getDefaultInstance(); + rolloutPolicy_ = + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy + .getDefaultInstance(); } - standardRolloutPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( - (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) rolloutPolicy_, + standardRolloutPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy.Builder, + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder>( + (com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy) + rolloutPolicy_, getParentForChildren(), isClean()); rolloutPolicy_ = null; } rolloutPolicyCase_ = 1; - onChanged();; + onChanged(); + ; return standardRolloutPolicyBuilder_; } private com.google.protobuf.Duration nodePoolSoakDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> nodePoolSoakDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + nodePoolSoakDurationBuilder_; /** + * + * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return Whether the nodePoolSoakDuration field is set. */ public boolean hasNodePoolSoakDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
      * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return The nodePoolSoakDuration. */ public com.google.protobuf.Duration getNodePoolSoakDuration() { if (nodePoolSoakDurationBuilder_ == null) { - return nodePoolSoakDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_; + return nodePoolSoakDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : nodePoolSoakDuration_; } else { return nodePoolSoakDurationBuilder_.getMessage(); } } /** + * + * *
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1850,6 +2138,8 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1857,8 +2147,7 @@ public Builder setNodePoolSoakDuration(com.google.protobuf.Duration value) {
      *
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
-    public Builder setNodePoolSoakDuration(
-        com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setNodePoolSoakDuration(com.google.protobuf.Duration.Builder builderForValue) {
       if (nodePoolSoakDurationBuilder_ == null) {
         nodePoolSoakDuration_ = builderForValue.build();
         onChanged();
@@ -1869,6 +2158,8 @@ public Builder setNodePoolSoakDuration(
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1878,11 +2169,13 @@ public Builder setNodePoolSoakDuration(
      */
     public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       if (nodePoolSoakDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-            nodePoolSoakDuration_ != null &&
-            nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && nodePoolSoakDuration_ != null
+            && nodePoolSoakDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           nodePoolSoakDuration_ =
-            com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(nodePoolSoakDuration_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodePoolSoakDuration_ = value;
         }
@@ -1894,6 +2187,8 @@ public Builder mergeNodePoolSoakDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1912,6 +2207,8 @@ public Builder clearNodePoolSoakDuration() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1925,6 +2222,8 @@ public com.google.protobuf.Duration.Builder getNodePoolSoakDurationBuilder() {
       return getNodePoolSoakDurationFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1936,11 +2235,14 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
       if (nodePoolSoakDurationBuilder_ != null) {
         return nodePoolSoakDurationBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolSoakDuration_ == null ?
-            com.google.protobuf.Duration.getDefaultInstance() : nodePoolSoakDuration_;
+        return nodePoolSoakDuration_ == null
+            ? com.google.protobuf.Duration.getDefaultInstance()
+            : nodePoolSoakDuration_;
       }
     }
     /**
+     *
+     *
      * 
      * Time needed after draining entire blue pool. After this period, blue pool
      * will be cleaned up.
@@ -1949,21 +2251,24 @@ public com.google.protobuf.DurationOrBuilder getNodePoolSoakDurationOrBuilder()
      * optional .google.protobuf.Duration node_pool_soak_duration = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
+            com.google.protobuf.Duration,
+            com.google.protobuf.Duration.Builder,
+            com.google.protobuf.DurationOrBuilder>
         getNodePoolSoakDurationFieldBuilder() {
       if (nodePoolSoakDurationBuilder_ == null) {
-        nodePoolSoakDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
-                getNodePoolSoakDuration(),
-                getParentForChildren(),
-                isClean());
+        nodePoolSoakDurationBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Duration,
+                com.google.protobuf.Duration.Builder,
+                com.google.protobuf.DurationOrBuilder>(
+                getNodePoolSoakDuration(), getParentForChildren(), isClean());
         nodePoolSoakDuration_ = null;
       }
       return nodePoolSoakDurationBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1973,12 +2278,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.BlueGreenSettings)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.BlueGreenSettings)
   private static final com.google.container.v1beta1.BlueGreenSettings DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.BlueGreenSettings();
   }
@@ -1987,27 +2292,27 @@ public static com.google.container.v1beta1.BlueGreenSettings getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public BlueGreenSettings parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public BlueGreenSettings parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2022,6 +2327,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.BlueGreenSettings getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
similarity index 62%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
index e9ca8ff88a0c..b72103c8b59e 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/BlueGreenSettingsOrBuilder.java
@@ -1,60 +1,99 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface BlueGreenSettingsOrBuilder extends
+public interface BlueGreenSettingsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.BlueGreenSettings)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return Whether the standardRolloutPolicy field is set. */ boolean hasStandardRolloutPolicy(); /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * * @return The standardRolloutPolicy. */ com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy getStandardRolloutPolicy(); /** + * + * *
    * Standard policy for the blue-green upgrade.
    * 
* - * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * + * .google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1; + * */ - com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder getStandardRolloutPolicyOrBuilder(); + com.google.container.v1beta1.BlueGreenSettings.StandardRolloutPolicyOrBuilder + getStandardRolloutPolicyOrBuilder(); /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return Whether the nodePoolSoakDuration field is set. */ boolean hasNodePoolSoakDuration(); /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
    * 
* * optional .google.protobuf.Duration node_pool_soak_duration = 2; + * * @return The nodePoolSoakDuration. */ com.google.protobuf.Duration getNodePoolSoakDuration(); /** + * + * *
    * Time needed after draining entire blue pool. After this period, blue pool
    * will be cleaned up.
diff --git a/owl-bot-staging/java-container/v1beta1/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
similarity index 67%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequest.java
index dc339fe81341..fc85f3a06239 100644
--- a/owl-bot-staging/java-container/v1beta1/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
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * CancelOperationRequest cancels a single operation.
  * 
* * Protobuf type {@code google.container.v1beta1.CancelOperationRequest} */ -public final class CancelOperationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelOperationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CancelOperationRequest) CancelOperationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelOperationRequest.newBuilder() to construct. private CancelOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelOperationRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private CancelOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CancelOperationRequest.class, com.google.container.v1beta1.CancelOperationRequest.Builder.class); + com.google.container.v1beta1.CancelOperationRequest.class, + com.google.container.v1beta1.CancelOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -216,12 +254,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The name. */ @java.lang.Override @@ -230,30 +271,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +303,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +357,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CancelOperationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CancelOperationRequest other = (com.google.container.v1beta1.CancelOperationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getOperationId() - .equals(other.getOperationId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.CancelOperationRequest other = + (com.google.container.v1beta1.CancelOperationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getOperationId().equals(other.getOperationId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,129 +394,135 @@ public int hashCode() { } public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CancelOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CancelOperationRequest parseFrom( 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.CancelOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.CancelOperationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CancelOperationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CancelOperationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CancelOperationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CancelOperationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.CancelOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CancelOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.CancelOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CancelOperationRequest cancels a single operation.
    * 
* * Protobuf type {@code google.container.v1beta1.CancelOperationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CancelOperationRequest) com.google.container.v1beta1.CancelOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CancelOperationRequest.class, com.google.container.v1beta1.CancelOperationRequest.Builder.class); + com.google.container.v1beta1.CancelOperationRequest.class, + com.google.container.v1beta1.CancelOperationRequest.Builder.class); } // Construct using com.google.container.v1beta1.CancelOperationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +538,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; } @java.lang.Override @@ -515,7 +559,8 @@ public com.google.container.v1beta1.CancelOperationRequest build() { @java.lang.Override public com.google.container.v1beta1.CancelOperationRequest buildPartial() { - com.google.container.v1beta1.CancelOperationRequest result = new com.google.container.v1beta1.CancelOperationRequest(this); + com.google.container.v1beta1.CancelOperationRequest result = + new com.google.container.v1beta1.CancelOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -528,38 +573,39 @@ public com.google.container.v1beta1.CancelOperationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CancelOperationRequest) { - return mergeFrom((com.google.container.v1beta1.CancelOperationRequest)other); + return mergeFrom((com.google.container.v1beta1.CancelOperationRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +613,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CancelOperationRequest other) { - if (other == com.google.container.v1beta1.CancelOperationRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.CancelOperationRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -610,32 +657,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -648,22 +700,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,24 +728,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,66 +756,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +836,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +846,16 @@ public Builder mergeFrom(
      * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +864,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +874,17 @@ public Builder mergeFrom(
      * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +892,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +902,25 @@ public Builder mergeFrom(
      * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +929,21 @@ public Builder mergeFrom(
      * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +952,19 @@ public Builder mergeFrom(
      * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +972,25 @@ public Builder mergeFrom( private java.lang.Object operationId_ = ""; /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @return The operationId. */ - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -908,23 +999,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @return The bytes for operationId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -932,63 +1026,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setOperationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearOperationId() { - + @java.lang.Deprecated + public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -996,19 +1103,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1126,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1149,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to cancel.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 4; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1223,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CancelOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CancelOperationRequest) private static final com.google.container.v1beta1.CancelOperationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CancelOperationRequest(); } @@ -1120,27 +1237,27 @@ public static com.google.container.v1beta1.CancelOperationRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1272,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CancelOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CancelOperationRequestOrBuilder.java index 88c41ebe2671..6e4a52d805c2 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface CancelOperationRequestOrBuilder extends +public interface CancelOperationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CancelOperationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2994 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2994 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface CancelOperationRequestOrBuilder extends
    * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +89,73 @@ public interface CancelOperationRequestOrBuilder extends
    * 
* * 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=3003 + * + * @deprecated google.container.v1beta1.CancelOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3003 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @return The operationId. */ - @java.lang.Deprecated java.lang.String getOperationId(); + @java.lang.Deprecated + java.lang.String getOperationId(); /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3010 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CancelOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3010 * @return The bytes for operationId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getOperationIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getOperationIdBytes(); /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, operation id) of the operation to cancel.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java index d8eaa0d74d32..eaa490c669cd 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for client certificates on the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.ClientCertificateConfig} */ -public final class ClientCertificateConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ClientCertificateConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClientCertificateConfig) ClientCertificateConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClientCertificateConfig.newBuilder() to construct. private ClientCertificateConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClientCertificateConfig() { - } + + private ClientCertificateConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClientCertificateConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClientCertificateConfig.class, com.google.container.v1beta1.ClientCertificateConfig.Builder.class); + com.google.container.v1beta1.ClientCertificateConfig.class, + com.google.container.v1beta1.ClientCertificateConfig.Builder.class); } public static final int ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER = 1; private boolean issueClientCertificate_; /** + * + * *
    * Issue a client certificate.
    * 
* * bool issue_client_certificate = 1; + * * @return The issueClientCertificate. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getIssueClientCertificate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (issueClientCertificate_ != false) { output.writeBool(1, issueClientCertificate_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (issueClientCertificate_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, issueClientCertificate_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, issueClientCertificate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClientCertificateConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ClientCertificateConfig other = (com.google.container.v1beta1.ClientCertificateConfig) obj; + com.google.container.v1beta1.ClientCertificateConfig other = + (com.google.container.v1beta1.ClientCertificateConfig) obj; - if (getIssueClientCertificate() - != other.getIssueClientCertificate()) return false; + if (getIssueClientCertificate() != other.getIssueClientCertificate()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ISSUE_CLIENT_CERTIFICATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIssueClientCertificate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIssueClientCertificate()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClientCertificateConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( 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.ClientCertificateConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ClientCertificateConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClientCertificateConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ClientCertificateConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClientCertificateConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClientCertificateConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ClientCertificateConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for client certificates on the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.ClientCertificateConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClientCertificateConfig) com.google.container.v1beta1.ClientCertificateConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClientCertificateConfig.class, com.google.container.v1beta1.ClientCertificateConfig.Builder.class); + com.google.container.v1beta1.ClientCertificateConfig.class, + com.google.container.v1beta1.ClientCertificateConfig.Builder.class); } // Construct using com.google.container.v1beta1.ClientCertificateConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.ClientCertificateConfig build() { @java.lang.Override public com.google.container.v1beta1.ClientCertificateConfig buildPartial() { - com.google.container.v1beta1.ClientCertificateConfig result = new com.google.container.v1beta1.ClientCertificateConfig(this); + com.google.container.v1beta1.ClientCertificateConfig result = + new com.google.container.v1beta1.ClientCertificateConfig(this); result.issueClientCertificate_ = issueClientCertificate_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.ClientCertificateConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ClientCertificateConfig) { - return mergeFrom((com.google.container.v1beta1.ClientCertificateConfig)other); + return mergeFrom((com.google.container.v1beta1.ClientCertificateConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ClientCertificateConfig other) { - if (other == com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance()) + return this; if (other.getIssueClientCertificate() != false) { setIssueClientCertificate(other.getIssueClientCertificate()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - issueClientCertificate_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + issueClientCertificate_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean issueClientCertificate_ ; + private boolean issueClientCertificate_; /** + * + * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; + * * @return The issueClientCertificate. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getIssueClientCertificate() { return issueClientCertificate_; } /** + * + * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; + * * @param value The issueClientCertificate to set. * @return This builder for chaining. */ public Builder setIssueClientCertificate(boolean value) { - + issueClientCertificate_ = value; onChanged(); return this; } /** + * + * *
      * Issue a client certificate.
      * 
* * bool issue_client_certificate = 1; + * * @return This builder for chaining. */ public Builder clearIssueClientCertificate() { - + issueClientCertificate_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClientCertificateConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClientCertificateConfig) private static final com.google.container.v1beta1.ClientCertificateConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClientCertificateConfig(); } @@ -450,27 +489,27 @@ public static com.google.container.v1beta1.ClientCertificateConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClientCertificateConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClientCertificateConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClientCertificateConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java new file mode 100644 index 000000000000..140c54b4b40b --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ClientCertificateConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClientCertificateConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Issue a client certificate.
+   * 
+ * + * bool issue_client_certificate = 1; + * + * @return The issueClientCertificate. + */ + boolean getIssueClientCertificate(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java index b994edad8fd9..5619d2626c32 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfig.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration options for the Cloud Run feature.
  * 
* * Protobuf type {@code google.container.v1beta1.CloudRunConfig} */ -public final class CloudRunConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CloudRunConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CloudRunConfig) CloudRunConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CloudRunConfig.newBuilder() to construct. private CloudRunConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CloudRunConfig() { loadBalancerType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CloudRunConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CloudRunConfig.class, com.google.container.v1beta1.CloudRunConfig.Builder.class); + com.google.container.v1beta1.CloudRunConfig.class, + com.google.container.v1beta1.CloudRunConfig.Builder.class); } /** + * + * *
    * Load balancer type of ingress service of Cloud Run.
    * 
* * Protobuf enum {@code google.container.v1beta1.CloudRunConfig.LoadBalancerType} */ - public enum LoadBalancerType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LoadBalancerType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -66,6 +88,8 @@ public enum LoadBalancerType */ LOAD_BALANCER_TYPE_UNSPECIFIED(0), /** + * + * *
      * Install external load balancer for Cloud Run.
      * 
@@ -74,6 +98,8 @@ public enum LoadBalancerType */ LOAD_BALANCER_TYPE_EXTERNAL(1), /** + * + * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -85,6 +111,8 @@ public enum LoadBalancerType ; /** + * + * *
      * Load balancer type for Cloud Run is unspecified.
      * 
@@ -93,6 +121,8 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Install external load balancer for Cloud Run.
      * 
@@ -101,6 +131,8 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_EXTERNAL_VALUE = 1; /** + * + * *
      * Install internal load balancer for Cloud Run.
      * 
@@ -109,7 +141,6 @@ public enum LoadBalancerType */ public static final int LOAD_BALANCER_TYPE_INTERNAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,39 +165,42 @@ public static LoadBalancerType valueOf(int value) { */ public static LoadBalancerType forNumber(int value) { switch (value) { - case 0: return LOAD_BALANCER_TYPE_UNSPECIFIED; - case 1: return LOAD_BALANCER_TYPE_EXTERNAL; - case 2: return LOAD_BALANCER_TYPE_INTERNAL; - default: return null; + case 0: + return LOAD_BALANCER_TYPE_UNSPECIFIED; + case 1: + return LOAD_BALANCER_TYPE_EXTERNAL; + case 2: + return LOAD_BALANCER_TYPE_INTERNAL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LoadBalancerType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LoadBalancerType findValueByNumber(int number) { - return LoadBalancerType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LoadBalancerType findValueByNumber(int number) { + return LoadBalancerType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.CloudRunConfig.getDescriptor().getEnumTypes().get(0); } @@ -175,8 +209,7 @@ public LoadBalancerType findValueByNumber(int number) { public static LoadBalancerType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,11 +229,14 @@ private LoadBalancerType(int value) { public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** + * + * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -211,31 +247,43 @@ public boolean getDisabled() { public static final int LOAD_BALANCER_TYPE_FIELD_NUMBER = 3; private int loadBalancerType_; /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The loadBalancerType. */ - @java.lang.Override public com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { + @java.lang.Override + public com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; + com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = + com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null + ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,12 +295,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } - if (loadBalancerType_ != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { + if (loadBalancerType_ + != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType + .LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, loadBalancerType_); } getUnknownFields().writeTo(output); @@ -265,12 +315,13 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } - if (loadBalancerType_ != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.LOAD_BALANCER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, loadBalancerType_); + if (loadBalancerType_ + != com.google.container.v1beta1.CloudRunConfig.LoadBalancerType + .LOAD_BALANCER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, loadBalancerType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -280,15 +331,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CloudRunConfig)) { return super.equals(obj); } - com.google.container.v1beta1.CloudRunConfig other = (com.google.container.v1beta1.CloudRunConfig) obj; + com.google.container.v1beta1.CloudRunConfig other = + (com.google.container.v1beta1.CloudRunConfig) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (loadBalancerType_ != other.loadBalancerType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -302,8 +353,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (37 * hash) + LOAD_BALANCER_TYPE_FIELD_NUMBER; hash = (53 * hash) + loadBalancerType_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -311,130 +361,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.CloudRunConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CloudRunConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CloudRunConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CloudRunConfig parseFrom( 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.CloudRunConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CloudRunConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.CloudRunConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CloudRunConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CloudRunConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CloudRunConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CloudRunConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.CloudRunConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CloudRunConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.CloudRunConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the Cloud Run feature.
    * 
* * Protobuf type {@code google.container.v1beta1.CloudRunConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CloudRunConfig) com.google.container.v1beta1.CloudRunConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CloudRunConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CloudRunConfig.class, com.google.container.v1beta1.CloudRunConfig.Builder.class); + com.google.container.v1beta1.CloudRunConfig.class, + com.google.container.v1beta1.CloudRunConfig.Builder.class); } // Construct using com.google.container.v1beta1.CloudRunConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -446,9 +502,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CloudRunConfig_descriptor; } @java.lang.Override @@ -467,7 +523,8 @@ public com.google.container.v1beta1.CloudRunConfig build() { @java.lang.Override public com.google.container.v1beta1.CloudRunConfig buildPartial() { - com.google.container.v1beta1.CloudRunConfig result = new com.google.container.v1beta1.CloudRunConfig(this); + com.google.container.v1beta1.CloudRunConfig result = + new com.google.container.v1beta1.CloudRunConfig(this); result.disabled_ = disabled_; result.loadBalancerType_ = loadBalancerType_; onBuilt(); @@ -478,38 +535,39 @@ public com.google.container.v1beta1.CloudRunConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CloudRunConfig) { - return mergeFrom((com.google.container.v1beta1.CloudRunConfig)other); + return mergeFrom((com.google.container.v1beta1.CloudRunConfig) other); } else { super.mergeFrom(other); return this; @@ -550,22 +608,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disabled_ = input.readBool(); - - break; - } // case 8 - case 24: { - loadBalancerType_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disabled_ = input.readBool(); + + break; + } // case 8 + case 24: + { + loadBalancerType_ = input.readEnum(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -576,13 +637,16 @@ public Builder mergeFrom( return this; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -590,30 +654,36 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Cloud Run addon is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; @@ -621,80 +691,105 @@ public Builder clearDisabled() { private int loadBalancerType_ = 0; /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * + * * @return The enum numeric value on the wire for loadBalancerType. */ - @java.lang.Override public int getLoadBalancerTypeValue() { + @java.lang.Override + public int getLoadBalancerTypeValue() { return loadBalancerType_; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * + * * @param value The enum numeric value on the wire for loadBalancerType to set. * @return This builder for chaining. */ public Builder setLoadBalancerTypeValue(int value) { - + loadBalancerType_ = value; onChanged(); return this; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * + * * @return The loadBalancerType. */ @java.lang.Override public com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); - return result == null ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED : result; + com.google.container.v1beta1.CloudRunConfig.LoadBalancerType result = + com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.valueOf(loadBalancerType_); + return result == null + ? com.google.container.v1beta1.CloudRunConfig.LoadBalancerType.UNRECOGNIZED + : result; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * + * * @param value The loadBalancerType to set. * @return This builder for chaining. */ - public Builder setLoadBalancerType(com.google.container.v1beta1.CloudRunConfig.LoadBalancerType value) { + public Builder setLoadBalancerType( + com.google.container.v1beta1.CloudRunConfig.LoadBalancerType value) { if (value == null) { throw new NullPointerException(); } - + loadBalancerType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Which load balancer type is installed for Cloud Run.
      * 
* - * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * + * * @return This builder for chaining. */ public Builder clearLoadBalancerType() { - + loadBalancerType_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -704,12 +799,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CloudRunConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CloudRunConfig) private static final com.google.container.v1beta1.CloudRunConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CloudRunConfig(); } @@ -718,27 +813,27 @@ public static com.google.container.v1beta1.CloudRunConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudRunConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudRunConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -753,6 +848,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CloudRunConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java index a0e491706ec3..bff94563086f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CloudRunConfigOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface CloudRunConfigOrBuilder extends +public interface CloudRunConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CloudRunConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether Cloud Run addon is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The enum numeric value on the wire for loadBalancerType. */ int getLoadBalancerTypeValue(); /** + * + * *
    * Which load balancer type is installed for Cloud Run.
    * 
* * .google.container.v1beta1.CloudRunConfig.LoadBalancerType load_balancer_type = 3; + * * @return The loadBalancerType. */ com.google.container.v1beta1.CloudRunConfig.LoadBalancerType getLoadBalancerType(); diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Cluster.java index e8bf6f767a09..5c073937e62f 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * A Google Kubernetes Engine cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.Cluster} */ -public final class Cluster extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Cluster extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Cluster) ClusterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Cluster.newBuilder() to construct. private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Cluster() { name_ = ""; description_ = ""; @@ -51,51 +69,54 @@ private Cluster() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Cluster(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Cluster.class, com.google.container.v1beta1.Cluster.Builder.class); + com.google.container.v1beta1.Cluster.class, + com.google.container.v1beta1.Cluster.Builder.class); } /** + * + * *
    * The current status of the cluster.
    * 
* * Protobuf enum {@code google.container.v1beta1.Cluster.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -104,6 +125,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -112,6 +135,8 @@ public enum Status */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -121,6 +146,8 @@ public enum Status
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -131,6 +158,8 @@ public enum Status
      */
     RECONCILING(3),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -139,6 +168,8 @@ public enum Status */ STOPPING(4), /** + * + * *
      * The ERROR state indicates the cluster may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -148,6 +179,8 @@ public enum Status
      */
     ERROR(5),
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -160,6 +193,8 @@ public enum Status
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -168,6 +203,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the cluster is being created.
      * 
@@ -176,6 +213,8 @@ public enum Status */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the cluster has been created and is fully
      * usable.
@@ -185,6 +224,8 @@ public enum Status
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the cluster, such as upgrading the master or node software. Details can
@@ -195,6 +236,8 @@ public enum Status
      */
     public static final int RECONCILING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the cluster is being deleted.
      * 
@@ -203,6 +246,8 @@ public enum Status */ public static final int STOPPING_VALUE = 4; /** + * + * *
      * The ERROR state indicates the cluster may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -212,6 +257,8 @@ public enum Status
      */
     public static final int ERROR_VALUE = 5;
     /**
+     *
+     *
      * 
      * The DEGRADED state indicates the cluster requires user action to restore
      * full functionality. Details can be found in the `statusMessage` field.
@@ -221,7 +268,6 @@ public enum Status
      */
     public static final int DEGRADED_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -246,53 +292,57 @@ public static Status valueOf(int 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 RECONCILING;
-        case 4: return STOPPING;
-        case 5: return ERROR;
-        case 6: return DEGRADED;
-        default: return null;
+        case 0:
+          return STATUS_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RECONCILING;
+        case 4:
+          return STOPPING;
+        case 5:
+          return ERROR;
+        case 6:
+          return DEGRADED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Status> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Status findValueByNumber(int number) {
-              return Status.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.Cluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -313,6 +363,8 @@ private Status(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -323,6 +375,7 @@ private Status(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -331,14 +384,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -349,16 +403,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -369,11 +422,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -382,29 +438,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -415,6 +471,8 @@ public java.lang.String getDescription() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** + * + * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -428,18 +486,22 @@ public java.lang.String getDescription() {
    * 
* * 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=1580 + * + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1580 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getInitialNodeCount() { + @java.lang.Deprecated + public int getInitialNodeCount() { return initialNodeCount_; } public static final int NODE_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodeConfig nodeConfig_; /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -454,15 +516,19 @@ public java.lang.String getDescription() {
    * 
* * .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=1593 + * + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1593 * @return Whether the nodeConfig field is set. */ @java.lang.Override - @java.lang.Deprecated public boolean hasNodeConfig() { + @java.lang.Deprecated + public boolean hasNodeConfig() { return nodeConfig_ != null; } /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -477,15 +543,21 @@ public java.lang.String getDescription() {
    * 
* * .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=1593 + * + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1593 * @return The nodeConfig. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.NodeConfig getNodeConfig() { - return nodeConfig_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; + @java.lang.Deprecated + public com.google.container.v1beta1.NodeConfig getNodeConfig() { + return nodeConfig_ == null + ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() + : nodeConfig_; } /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -502,13 +574,16 @@ public java.lang.String getDescription() {
    * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
    */
   @java.lang.Override
-  @java.lang.Deprecated public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+  @java.lang.Deprecated
+  public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
     return getNodeConfig();
   }
 
   public static final int MASTER_AUTH_FIELD_NUMBER = 5;
   private com.google.container.v1beta1.MasterAuth masterAuth_;
   /**
+   *
+   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -518,6 +593,7 @@ public java.lang.String getDescription() {
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; + * * @return Whether the masterAuth field is set. */ @java.lang.Override @@ -525,6 +601,8 @@ public boolean hasMasterAuth() { return masterAuth_ != null; } /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -534,13 +612,18 @@ public boolean hasMasterAuth() {
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; + * * @return The masterAuth. */ @java.lang.Override public com.google.container.v1beta1.MasterAuth getMasterAuth() { - return masterAuth_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : masterAuth_; + return masterAuth_ == null + ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() + : masterAuth_; } /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -559,6 +642,8 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
   public static final int LOGGING_SERVICE_FIELD_NUMBER = 6;
   private volatile java.lang.Object loggingService_;
   /**
+   *
+   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -572,6 +657,7 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
    * 
* * string logging_service = 6; + * * @return The loggingService. */ @java.lang.Override @@ -580,14 +666,15 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -601,16 +688,15 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 6; + * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -621,6 +707,8 @@ public java.lang.String getLoggingService() { public static final int MONITORING_SERVICE_FIELD_NUMBER = 7; private volatile java.lang.Object monitoringService_; /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -634,6 +722,7 @@ public java.lang.String getLoggingService() {
    * 
* * string monitoring_service = 7; + * * @return The monitoringService. */ @java.lang.Override @@ -642,14 +731,15 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -663,16 +753,15 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 7; + * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -683,6 +772,8 @@ public java.lang.String getMonitoringService() { public static final int NETWORK_FIELD_NUMBER = 8; private volatile java.lang.Object network_; /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -692,6 +783,7 @@ public java.lang.String getMonitoringService() {
    * 
* * string network = 8; + * * @return The network. */ @java.lang.Override @@ -700,14 +792,15 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -717,16 +810,15 @@ public java.lang.String getNetwork() {
    * 
* * string network = 8; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -737,6 +829,8 @@ public java.lang.String getNetwork() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4Cidr_; /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -745,6 +839,7 @@ public java.lang.String getNetwork() {
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The clusterIpv4Cidr. */ @java.lang.Override @@ -753,14 +848,15 @@ public java.lang.String getClusterIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -769,16 +865,15 @@ public java.lang.String getClusterIpv4Cidr() {
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -789,11 +884,14 @@ public java.lang.String getClusterIpv4Cidr() { public static final int ADDONS_CONFIG_FIELD_NUMBER = 10; private com.google.container.v1beta1.AddonsConfig addonsConfig_; /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; + * * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -801,18 +899,25 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; + * * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -827,6 +932,8 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild public static final int SUBNETWORK_FIELD_NUMBER = 11; private volatile java.lang.Object subnetwork_; /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -835,6 +942,7 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild
    * 
* * string subnetwork = 11; + * * @return The subnetwork. */ @java.lang.Override @@ -843,14 +951,15 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -859,16 +968,15 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 11; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -879,6 +987,8 @@ public java.lang.String getSubnetwork() { public static final int NODE_POOLS_FIELD_NUMBER = 12; private java.util.List nodePools_; /** + * + * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -892,6 +1002,8 @@ public java.util.List getNodePoolsList()
     return nodePools_;
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -901,11 +1013,13 @@ public java.util.List getNodePoolsList()
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getNodePoolsOrBuilderList() {
     return nodePools_;
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -919,6 +1033,8 @@ public int getNodePoolsCount() {
     return nodePools_.size();
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -932,6 +1048,8 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
     return nodePools_.get(index);
   }
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -941,14 +1059,15 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
-      int index) {
+  public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
     return nodePools_.get(index);
   }
 
   public static final int LOCATIONS_FIELD_NUMBER = 13;
   private com.google.protobuf.LazyStringList locations_;
   /**
+   *
+   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -962,13 +1081,15 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -982,12 +1103,15 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1001,6 +1125,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1008,6 +1133,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1021,17 +1148,19 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER = 14; private boolean enableKubernetesAlpha_; /** + * + * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -1042,6 +1171,7 @@ public java.lang.String getLocations(int index) {
    * 
* * bool enable_kubernetes_alpha = 14; + * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -1050,21 +1180,22 @@ public boolean getEnableKubernetesAlpha() { } public static final int RESOURCE_LABELS_FIELD_NUMBER = 15; + private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1076,6 +1207,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1083,22 +1216,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 15;
    */
-
   @java.lang.Override
-  public boolean containsResourceLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsResourceLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1107,11 +1240,12 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1120,16 +1254,17 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -1138,12 +1273,11 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 15;
    */
   @java.lang.Override
-
-  public java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1153,11 +1287,14 @@ public java.lang.String getResourceLabelsOrThrow(
   public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 16;
   private volatile java.lang.Object labelFingerprint_;
   /**
+   *
+   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The labelFingerprint. */ @java.lang.Override @@ -1166,29 +1303,29 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** + * + * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1199,11 +1336,14 @@ public java.lang.String getLabelFingerprint() { public static final int LEGACY_ABAC_FIELD_NUMBER = 18; private com.google.container.v1beta1.LegacyAbac legacyAbac_; /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; + * * @return Whether the legacyAbac field is set. */ @java.lang.Override @@ -1211,18 +1351,25 @@ public boolean hasLegacyAbac() { return legacyAbac_ != null; } /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; + * * @return The legacyAbac. */ @java.lang.Override public com.google.container.v1beta1.LegacyAbac getLegacyAbac() { - return legacyAbac_ == null ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() : legacyAbac_; + return legacyAbac_ == null + ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() + : legacyAbac_; } /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -1237,11 +1384,14 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() public static final int NETWORK_POLICY_FIELD_NUMBER = 19; private com.google.container.v1beta1.NetworkPolicy networkPolicy_; /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; + * * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -1249,18 +1399,25 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; + * * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -1275,11 +1432,14 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui public static final int IP_ALLOCATION_POLICY_FIELD_NUMBER = 20; private com.google.container.v1beta1.IPAllocationPolicy ipAllocationPolicy_; /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return Whether the ipAllocationPolicy field is set. */ @java.lang.Override @@ -1287,18 +1447,25 @@ public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return The ipAllocationPolicy. */ @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { - return ipAllocationPolicy_ == null ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() + : ipAllocationPolicy_; } /** + * + * *
    * Configuration for cluster IP allocation.
    * 
@@ -1311,13 +1478,19 @@ public com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationP } public static final int MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 22; - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig + masterAuthorizedNetworksConfig_; /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return Whether the masterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -1325,37 +1498,53 @@ public boolean hasMasterAuthorizedNetworksConfig() { return masterAuthorizedNetworksConfig_ != null; } /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return The masterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig + getMasterAuthorizedNetworksConfig() { + return masterAuthorizedNetworksConfig_ == null + ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : masterAuthorizedNetworksConfig_; } /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder + getMasterAuthorizedNetworksConfigOrBuilder() { return getMasterAuthorizedNetworksConfig(); } public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 23; private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; + * * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -1363,18 +1552,25 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; + * * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -1389,11 +1585,14 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 24; private com.google.container.v1beta1.BinaryAuthorization binaryAuthorization_; /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; + * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -1401,18 +1600,25 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; + * * @return The binaryAuthorization. */ @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } /** + * + * *
    * Configuration for Binary Authorization.
    * 
@@ -1420,18 +1626,22 @@ public com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization() * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ @java.lang.Override - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder + getBinaryAuthorizationOrBuilder() { return getBinaryAuthorization(); } public static final int POD_SECURITY_POLICY_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1beta1.PodSecurityPolicyConfig podSecurityPolicyConfig_; /** + * + * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * * @return Whether the podSecurityPolicyConfig field is set. */ @java.lang.Override @@ -1439,18 +1649,25 @@ public boolean hasPodSecurityPolicyConfig() { return podSecurityPolicyConfig_ != null; } /** + * + * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * * @return The podSecurityPolicyConfig. */ @java.lang.Override public com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicyConfig() { - return podSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : podSecurityPolicyConfig_; + return podSecurityPolicyConfig_ == null + ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() + : podSecurityPolicyConfig_; } /** + * + * *
    * Configuration for the PodSecurityPolicy feature.
    * 
@@ -1458,18 +1675,22 @@ public com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicy * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ @java.lang.Override - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder + getPodSecurityPolicyConfigOrBuilder() { return getPodSecurityPolicyConfig(); } public static final int AUTOSCALING_FIELD_NUMBER = 26; private com.google.container.v1beta1.ClusterAutoscaling autoscaling_; /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -1477,18 +1698,25 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; + * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1beta1.ClusterAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -1503,11 +1731,14 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr public static final int NETWORK_CONFIG_FIELD_NUMBER = 27; private com.google.container.v1beta1.NetworkConfig networkConfig_; /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -1515,18 +1746,25 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; + * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1beta1.NetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() + : networkConfig_; } /** + * + * *
    * Configuration for cluster networking.
    * 
@@ -1541,6 +1779,8 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui public static final int PRIVATE_CLUSTER_FIELD_NUMBER = 28; private boolean privateCluster_; /** + * + * *
    * If this is a private cluster setup. Private clusters are clusters that, by
    * default have no external IP addresses on the nodes and where nodes and the
@@ -1550,18 +1790,22 @@ 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=1715 + * + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1715 * @return The privateCluster. */ @java.lang.Override - @java.lang.Deprecated public boolean getPrivateCluster() { + @java.lang.Deprecated + public boolean getPrivateCluster() { return privateCluster_; } public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 29; private volatile java.lang.Object masterIpv4CidrBlock_; /** + * + * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -1571,24 +1815,27 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
    * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @return The masterIpv4CidrBlock. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getMasterIpv4CidrBlock() { + @java.lang.Deprecated + public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -1598,18 +1845,18 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
    * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -1620,13 +1867,16 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui public static final int DEFAULT_MAX_PODS_CONSTRAINT_FIELD_NUMBER = 30; private com.google.container.v1beta1.MaxPodsConstraint defaultMaxPodsConstraint_; /** - *
+   *
+   *
+   * 
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
    * if cluster created with IP Alias support.
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return Whether the defaultMaxPodsConstraint field is set. */ @java.lang.Override @@ -1634,6 +1884,8 @@ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraint_ != null; } /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1641,13 +1893,18 @@ public boolean hasDefaultMaxPodsConstraint() {
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return The defaultMaxPodsConstraint. */ @java.lang.Override public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstraint() { - return defaultMaxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null + ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() + : defaultMaxPodsConstraint_; } /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -1657,19 +1914,24 @@ public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstrain
    * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder() {
+  public com.google.container.v1beta1.MaxPodsConstraintOrBuilder
+      getDefaultMaxPodsConstraintOrBuilder() {
     return getDefaultMaxPodsConstraint();
   }
 
   public static final int RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 33;
   private com.google.container.v1beta1.ResourceUsageExportConfig resourceUsageExportConfig_;
   /**
+   *
+   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return Whether the resourceUsageExportConfig field is set. */ @java.lang.Override @@ -1677,39 +1939,53 @@ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfig_ != null; } /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return The resourceUsageExportConfig. */ @java.lang.Override public com.google.container.v1beta1.ResourceUsageExportConfig getResourceUsageExportConfig() { - return resourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() + : resourceUsageExportConfig_; } /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder + getResourceUsageExportConfigOrBuilder() { return getResourceUsageExportConfig(); } public static final int AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 34; private com.google.container.v1beta1.AuthenticatorGroupsConfig authenticatorGroupsConfig_; /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * + * * @return Whether the authenticatorGroupsConfig field is set. */ @java.lang.Override @@ -1717,37 +1993,50 @@ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfig_ != null; } /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * + * * @return The authenticatorGroupsConfig. */ @java.lang.Override public com.google.container.v1beta1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { - return authenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null + ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() + : authenticatorGroupsConfig_; } /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ @java.lang.Override - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder + getAuthenticatorGroupsConfigOrBuilder() { return getAuthenticatorGroupsConfig(); } public static final int PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 37; private com.google.container.v1beta1.PrivateClusterConfig privateClusterConfig_; /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; + * * @return Whether the privateClusterConfig field is set. */ @java.lang.Override @@ -1755,18 +2044,25 @@ public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; + * * @return The privateClusterConfig. */ @java.lang.Override public com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { - return privateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() + : privateClusterConfig_; } /** + * + * *
    * Configuration for private cluster.
    * 
@@ -1774,18 +2070,22 @@ public com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder() { return getPrivateClusterConfig(); } public static final int VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 39; private com.google.container.v1beta1.VerticalPodAutoscaling verticalPodAutoscaling_; /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return Whether the verticalPodAutoscaling field is set. */ @java.lang.Override @@ -1793,18 +2093,25 @@ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscaling_ != null; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return The verticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutoscaling() { - return verticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null + ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() + : verticalPodAutoscaling_; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -1812,18 +2119,22 @@ public com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutosca * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ @java.lang.Override - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder + getVerticalPodAutoscalingOrBuilder() { return getVerticalPodAutoscaling(); } public static final int SHIELDED_NODES_FIELD_NUMBER = 40; private com.google.container.v1beta1.ShieldedNodes shieldedNodes_; /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; + * * @return Whether the shieldedNodes field is set. */ @java.lang.Override @@ -1831,18 +2142,25 @@ public boolean hasShieldedNodes() { return shieldedNodes_ != null; } /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; + * * @return The shieldedNodes. */ @java.lang.Override public com.google.container.v1beta1.ShieldedNodes getShieldedNodes() { - return shieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; + return shieldedNodes_ == null + ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() + : shieldedNodes_; } /** + * + * *
    * Shielded Nodes configuration.
    * 
@@ -1857,11 +2175,14 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBui public static final int RELEASE_CHANNEL_FIELD_NUMBER = 41; private com.google.container.v1beta1.ReleaseChannel releaseChannel_; /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; + * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -1869,18 +2190,25 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; + * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } /** + * + * *
    * Release channel configuration.
    * 
@@ -1895,12 +2223,15 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 43; private com.google.container.v1beta1.WorkloadIdentityConfig workloadIdentityConfig_; /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return Whether the workloadIdentityConfig field is set. */ @java.lang.Override @@ -1908,19 +2239,26 @@ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfig_ != null; } /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return The workloadIdentityConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityConfig() { - return workloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -1929,19 +2267,23 @@ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityCo
    * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
+  public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder
+      getWorkloadIdentityConfigOrBuilder() {
     return getWorkloadIdentityConfig();
   }
 
   public static final int WORKLOAD_CERTIFICATES_FIELD_NUMBER = 52;
   private com.google.container.v1beta1.WorkloadCertificates workloadCertificates_;
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; + * * @return Whether the workloadCertificates field is set. */ @java.lang.Override @@ -1949,19 +2291,26 @@ public boolean hasWorkloadCertificates() { return workloadCertificates_ != null; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; + * * @return The workloadCertificates. */ @java.lang.Override public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates() { - return workloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : workloadCertificates_; + return workloadCertificates_ == null + ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() + : workloadCertificates_; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1970,19 +2319,23 @@ public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates
    * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCertificatesOrBuilder() {
+  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder
+      getWorkloadCertificatesOrBuilder() {
     return getWorkloadCertificates();
   }
 
   public static final int MESH_CERTIFICATES_FIELD_NUMBER = 67;
   private com.google.container.v1beta1.MeshCertificates meshCertificates_;
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; + * * @return Whether the meshCertificates field is set. */ @java.lang.Override @@ -1990,19 +2343,26 @@ public boolean hasMeshCertificates() { return meshCertificates_ != null; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; + * * @return The meshCertificates. */ @java.lang.Override public com.google.container.v1beta1.MeshCertificates getMeshCertificates() { - return meshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : meshCertificates_; + return meshCertificates_ == null + ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() + : meshCertificates_; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -2018,11 +2378,14 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
   public static final int WORKLOAD_ALTS_CONFIG_FIELD_NUMBER = 53;
   private com.google.container.v1beta1.WorkloadALTSConfig workloadAltsConfig_;
   /**
+   *
+   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * * @return Whether the workloadAltsConfig field is set. */ @java.lang.Override @@ -2030,18 +2393,25 @@ public boolean hasWorkloadAltsConfig() { return workloadAltsConfig_ != null; } /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * * @return The workloadAltsConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { - return workloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : workloadAltsConfig_; + return workloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : workloadAltsConfig_; } /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -2056,11 +2426,14 @@ public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsC public static final int COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 45; private com.google.container.v1beta1.CostManagementConfig costManagementConfig_; /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * * @return Whether the costManagementConfig field is set. */ @java.lang.Override @@ -2068,18 +2441,25 @@ public boolean hasCostManagementConfig() { return costManagementConfig_ != null; } /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * * @return The costManagementConfig. */ @java.lang.Override public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig() { - return costManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; + return costManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; } /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -2087,18 +2467,22 @@ public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ @java.lang.Override - public com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getCostManagementConfigOrBuilder() { return getCostManagementConfig(); } public static final int CLUSTER_TELEMETRY_FIELD_NUMBER = 46; private com.google.container.v1beta1.ClusterTelemetry clusterTelemetry_; /** + * + * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * * @return Whether the clusterTelemetry field is set. */ @java.lang.Override @@ -2106,18 +2490,25 @@ public boolean hasClusterTelemetry() { return clusterTelemetry_ != null; } /** + * + * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * * @return The clusterTelemetry. */ @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry() { - return clusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : clusterTelemetry_; + return clusterTelemetry_ == null + ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() + : clusterTelemetry_; } /** + * + * *
    * Telemetry integration for the cluster.
    * 
@@ -2132,11 +2523,14 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr public static final int TPU_CONFIG_FIELD_NUMBER = 47; private com.google.container.v1beta1.TpuConfig tpuConfig_; /** + * + * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; + * * @return Whether the tpuConfig field is set. */ @java.lang.Override @@ -2144,18 +2538,25 @@ public boolean hasTpuConfig() { return tpuConfig_ != null; } /** + * + * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; + * * @return The tpuConfig. */ @java.lang.Override public com.google.container.v1beta1.TpuConfig getTpuConfig() { - return tpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : tpuConfig_; + return tpuConfig_ == null + ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() + : tpuConfig_; } /** + * + * *
    * Configuration for Cloud TPU support;
    * 
@@ -2170,11 +2571,14 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { public static final int NOTIFICATION_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1beta1.NotificationConfig notificationConfig_; /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; + * * @return Whether the notificationConfig field is set. */ @java.lang.Override @@ -2182,18 +2586,25 @@ public boolean hasNotificationConfig() { return notificationConfig_ != null; } /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; + * * @return The notificationConfig. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig getNotificationConfig() { - return notificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() + : notificationConfig_; } /** + * + * *
    * Notification configuration of the cluster.
    * 
@@ -2208,12 +2619,15 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationC public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 50; private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; + * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -2221,19 +2635,26 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; + * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -2249,11 +2670,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
   public static final int IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 54;
   private com.google.container.v1beta1.IdentityServiceConfig identityServiceConfig_;
   /**
+   *
+   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; + * * @return Whether the identityServiceConfig field is set. */ @java.lang.Override @@ -2261,18 +2685,25 @@ public boolean hasIdentityServiceConfig() { return identityServiceConfig_ != null; } /** + * + * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; + * * @return The identityServiceConfig. */ @java.lang.Override public com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConfig() { - return identityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; + return identityServiceConfig_ == null + ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; } /** + * + * *
    * Configuration for Identity Service component.
    * 
@@ -2280,18 +2711,22 @@ public com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConf * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ @java.lang.Override - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder + getIdentityServiceConfigOrBuilder() { return getIdentityServiceConfig(); } public static final int SELF_LINK_FIELD_NUMBER = 100; private volatile java.lang.Object selfLink_; /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ @java.lang.Override @@ -2300,29 +2735,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -2333,6 +2768,8 @@ public java.lang.String getSelfLink() { public static final int ZONE_FIELD_NUMBER = 101; private volatile java.lang.Object zone_; /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2340,24 +2777,27 @@ public java.lang.String getSelfLink() {
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2365,18 +2805,18 @@ public java.lang.String getSelfLink() {
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -2387,6 +2827,8 @@ public java.lang.String getSelfLink() { public static final int ENDPOINT_FIELD_NUMBER = 102; private volatile java.lang.Object endpoint_; /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2396,6 +2838,7 @@ public java.lang.String getSelfLink() {
    * 
* * string endpoint = 102; + * * @return The endpoint. */ @java.lang.Override @@ -2404,14 +2847,15 @@ public java.lang.String getEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; } } /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -2421,16 +2865,15 @@ public java.lang.String getEndpoint() {
    * 
* * string endpoint = 102; + * * @return The bytes for endpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -2441,6 +2884,8 @@ public java.lang.String getEndpoint() { public static final int INITIAL_CLUSTER_VERSION_FIELD_NUMBER = 103; private volatile java.lang.Object initialClusterVersion_; /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2456,6 +2901,7 @@ public java.lang.String getEndpoint() {
    * 
* * string initial_cluster_version = 103; + * * @return The initialClusterVersion. */ @java.lang.Override @@ -2464,14 +2910,15 @@ public java.lang.String getInitialClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; } } /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -2487,16 +2934,15 @@ public java.lang.String getInitialClusterVersion() {
    * 
* * string initial_cluster_version = 103; + * * @return The bytes for initialClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -2507,11 +2953,14 @@ public java.lang.String getInitialClusterVersion() { public static final int CURRENT_MASTER_VERSION_FIELD_NUMBER = 104; private volatile java.lang.Object currentMasterVersion_; /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The currentMasterVersion. */ @java.lang.Override @@ -2520,29 +2969,29 @@ public java.lang.String getCurrentMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; } } /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The bytes for currentMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -2553,6 +3002,8 @@ public java.lang.String getCurrentMasterVersion() { public static final int CURRENT_NODE_VERSION_FIELD_NUMBER = 105; private volatile java.lang.Object currentNodeVersion_; /** + * + * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -2562,24 +3013,27 @@ public java.lang.String getCurrentMasterVersion() {
    * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @return The currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated + public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; } } /** + * + * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -2589,18 +3043,18 @@ public java.lang.String getCurrentMasterVersion() {
    * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @return The bytes for currentNodeVersion. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getCurrentNodeVersionBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -2611,12 +3065,15 @@ public java.lang.String getCurrentMasterVersion() { public static final int CREATE_TIME_FIELD_NUMBER = 106; private volatile java.lang.Object createTime_; /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The createTime. */ @java.lang.Override @@ -2625,30 +3082,30 @@ public java.lang.String getCreateTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The bytes for createTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreateTimeBytes() { + public com.google.protobuf.ByteString getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createTime_ = b; return b; } else { @@ -2659,33 +3116,44 @@ public java.lang.String getCreateTime() { public static final int STATUS_FIELD_NUMBER = 107; private int status_; /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @return The status. */ - @java.lang.Override public com.google.container.v1beta1.Cluster.Status getStatus() { + @java.lang.Override + public com.google.container.v1beta1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Cluster.Status result = com.google.container.v1beta1.Cluster.Status.valueOf(status_); + com.google.container.v1beta1.Cluster.Status result = + com.google.container.v1beta1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Cluster.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 108; private volatile java.lang.Object statusMessage_; /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -2693,24 +3161,27 @@ public java.lang.String getCreateTime() {
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -2718,18 +3189,18 @@ public java.lang.String getCreateTime() {
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -2740,6 +3211,8 @@ public java.lang.String getCreateTime() { public static final int NODE_IPV4_CIDR_SIZE_FIELD_NUMBER = 109; private int nodeIpv4CidrSize_; /** + * + * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -2748,6 +3221,7 @@ public java.lang.String getCreateTime() {
    * 
* * int32 node_ipv4_cidr_size = 109; + * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -2758,6 +3232,8 @@ public int getNodeIpv4CidrSize() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 110; private volatile java.lang.Object servicesIpv4Cidr_; /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2767,6 +3243,7 @@ public int getNodeIpv4CidrSize() {
    * 
* * string services_ipv4_cidr = 110; + * * @return The servicesIpv4Cidr. */ @java.lang.Override @@ -2775,14 +3252,15 @@ public java.lang.String getServicesIpv4Cidr() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -2792,16 +3270,15 @@ public java.lang.String getServicesIpv4Cidr() {
    * 
* * string services_ipv4_cidr = 110; + * * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -2812,89 +3289,110 @@ public java.lang.String getServicesIpv4Cidr() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 111; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated + public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated + public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int CURRENT_NODE_COUNT_FIELD_NUMBER = 112; private int currentNodeCount_; /** + * + * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1853 + * + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1853 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getCurrentNodeCount() { + @java.lang.Deprecated + public int getCurrentNodeCount() { return currentNodeCount_; } public static final int EXPIRE_TIME_FIELD_NUMBER = 113; private volatile java.lang.Object expireTime_; /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The expireTime. */ @java.lang.Override @@ -2903,30 +3401,30 @@ public java.lang.String getExpireTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The bytes for expireTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getExpireTimeBytes() { + public com.google.protobuf.ByteString getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expireTime_ = b; return b; } else { @@ -2937,6 +3435,8 @@ public java.lang.String getExpireTime() { public static final int LOCATION_FIELD_NUMBER = 114; private volatile java.lang.Object location_; /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2946,6 +3446,7 @@ public java.lang.String getExpireTime() {
    * 
* * string location = 114; + * * @return The location. */ @java.lang.Override @@ -2954,14 +3455,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2971,16 +3473,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 114; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -2991,12 +3492,15 @@ public java.lang.String getLocation() { public static final int ENABLE_TPU_FIELD_NUMBER = 115; private boolean enableTpu_; /** + * + * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * This field is deprecated, use tpu_config.enabled instead.
    * 
* * bool enable_tpu = 115; + * * @return The enableTpu. */ @java.lang.Override @@ -3007,6 +3511,8 @@ public boolean getEnableTpu() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 116; private volatile java.lang.Object tpuIpv4CidrBlock_; /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -3014,6 +3520,7 @@ public boolean getEnableTpu() {
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -3022,14 +3529,15 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -3037,16 +3545,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -3057,11 +3564,14 @@ public java.lang.String getTpuIpv4CidrBlock() { public static final int DATABASE_ENCRYPTION_FIELD_NUMBER = 38; private com.google.container.v1beta1.DatabaseEncryption databaseEncryption_; /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; + * * @return Whether the databaseEncryption field is set. */ @java.lang.Override @@ -3069,19 +3579,26 @@ public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; + * * @return The databaseEncryption. */ @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption getDatabaseEncryption() { - return databaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } /** - *
+   *
+   *
+   * 
    * Configuration of etcd encryption.
    * 
* @@ -3095,6 +3612,8 @@ public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDatabaseEncry public static final int CONDITIONS_FIELD_NUMBER = 118; private java.util.List conditions_; /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -3106,6 +3625,8 @@ public java.util.List getCondition return conditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -3113,11 +3634,13 @@ public java.util.List getCondition * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -3129,6 +3652,8 @@ public int getConditionsCount() { return conditions_.size(); } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -3140,6 +3665,8 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -3147,19 +3674,21 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ @java.lang.Override - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { return conditions_.get(index); } public static final int MASTER_FIELD_NUMBER = 124; private com.google.container.v1beta1.Master master_; /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; + * * @return Whether the master field is set. */ @java.lang.Override @@ -3167,11 +3696,14 @@ public boolean hasMaster() { return master_ != null; } /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; + * * @return The master. */ @java.lang.Override @@ -3179,6 +3711,8 @@ public com.google.container.v1beta1.Master getMaster() { return master_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : master_; } /** + * + * *
    * Configuration for master components.
    * 
@@ -3193,11 +3727,14 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { public static final int AUTOPILOT_FIELD_NUMBER = 128; private com.google.container.v1beta1.Autopilot autopilot_; /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; + * * @return Whether the autopilot field is set. */ @java.lang.Override @@ -3205,18 +3742,25 @@ public boolean hasAutopilot() { return autopilot_ != null; } /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; + * * @return The autopilot. */ @java.lang.Override public com.google.container.v1beta1.Autopilot getAutopilot() { - return autopilot_ == null ? com.google.container.v1beta1.Autopilot.getDefaultInstance() : autopilot_; + return autopilot_ == null + ? com.google.container.v1beta1.Autopilot.getDefaultInstance() + : autopilot_; } /** + * + * *
    * Autopilot configuration for the cluster.
    * 
@@ -3231,11 +3775,14 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { public static final int ID_FIELD_NUMBER = 129; private volatile java.lang.Object id_; /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ @java.lang.Override @@ -3244,29 +3791,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -3277,12 +3824,15 @@ public java.lang.String getId() { public static final int NODE_POOL_DEFAULTS_FIELD_NUMBER = 131; private com.google.container.v1beta1.NodePoolDefaults nodePoolDefaults_; /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; + * * @return Whether the nodePoolDefaults field is set. */ @java.lang.Override @@ -3290,19 +3840,26 @@ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; + * * @return The nodePoolDefaults. */ @java.lang.Override public com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults() { - return nodePoolDefaults_ == null ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; + return nodePoolDefaults_ == null + ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() + : nodePoolDefaults_; } /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -3312,17 +3869,22 @@ public com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults() {
    */
   @java.lang.Override
   public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder() {
-    return nodePoolDefaults_ == null ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
+    return nodePoolDefaults_ == null
+        ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()
+        : nodePoolDefaults_;
   }
 
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 132;
   private com.google.container.v1beta1.LoggingConfig loggingConfig_;
   /**
+   *
+   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -3330,18 +3892,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration for the cluster.
    * 
@@ -3356,11 +3925,14 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui public static final int MONITORING_CONFIG_FIELD_NUMBER = 133; private com.google.container.v1beta1.MonitoringConfig monitoringConfig_; /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; + * * @return Whether the monitoringConfig field is set. */ @java.lang.Override @@ -3368,18 +3940,25 @@ public boolean hasMonitoringConfig() { return monitoringConfig_ != null; } /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; + * * @return The monitoringConfig. */ @java.lang.Override public com.google.container.v1beta1.MonitoringConfig getMonitoringConfig() { - return monitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } /** + * + * *
    * Monitoring configuration for the cluster.
    * 
@@ -3394,12 +3973,15 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi public static final int NODE_POOL_AUTO_CONFIG_FIELD_NUMBER = 136; private com.google.container.v1beta1.NodePoolAutoConfig nodePoolAutoConfig_; /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return Whether the nodePoolAutoConfig field is set. */ @java.lang.Override @@ -3407,19 +3989,26 @@ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfig_ != null; } /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return The nodePoolAutoConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig() { - return nodePoolAutoConfig_ == null ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null + ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; } /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -3435,11 +4024,14 @@ public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoC
   public static final int PROTECT_CONFIG_FIELD_NUMBER = 137;
   private com.google.container.v1beta1.ProtectConfig protectConfig_;
   /**
+   *
+   *
    * 
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * * @return Whether the protectConfig field is set. */ @java.lang.Override @@ -3447,18 +4039,25 @@ public boolean hasProtectConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * * @return The protectConfig. */ @java.lang.Override public com.google.container.v1beta1.ProtectConfig getProtectConfig() { - return protectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; } /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
@@ -3467,10 +4066,13 @@ public com.google.container.v1beta1.ProtectConfig getProtectConfig() { */ @java.lang.Override public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBuilder() { - return protectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3482,8 +4084,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3526,12 +4127,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (enableKubernetesAlpha_ != false) { output.writeBool(14, enableKubernetesAlpha_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetResourceLabels(), - ResourceLabelsDefaultEntryHolder.defaultEntry, - 15); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 15); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, labelFingerprint_); } @@ -3716,16 +4313,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (initialNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, initialNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_); } if (nodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNodeConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodeConfig()); } if (masterAuth_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMasterAuth()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMasterAuth()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(loggingService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, loggingService_); @@ -3740,15 +4334,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4Cidr_); } if (addonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getAddonsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, subnetwork_); } for (int i = 0; i < nodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, nodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, nodePools_.get(i)); } { int dataSize = 0; @@ -3759,136 +4351,124 @@ public int getSerializedSize() { size += 1 * getLocationsList().size(); } if (enableKubernetesAlpha_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(14, enableKubernetesAlpha_); - } - for (java.util.Map.Entry entry - : internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, resourceLabels__); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(14, enableKubernetesAlpha_); + } + for (java.util.Map.Entry entry : + internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry resourceLabels__ = + ResourceLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, resourceLabels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, labelFingerprint_); } if (legacyAbac_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, getLegacyAbac()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLegacyAbac()); } if (networkPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getNetworkPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getNetworkPolicy()); } if (ipAllocationPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getIpAllocationPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getIpAllocationPolicy()); } if (masterAuthorizedNetworksConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getMasterAuthorizedNetworksConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, getMasterAuthorizedNetworksConfig()); } if (maintenancePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, getMaintenancePolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getMaintenancePolicy()); } if (binaryAuthorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getBinaryAuthorization()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(24, getBinaryAuthorization()); } if (podSecurityPolicyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getPodSecurityPolicyConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 25, getPodSecurityPolicyConfig()); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getAutoscaling()); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getNetworkConfig()); } if (privateCluster_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(28, privateCluster_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(28, privateCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, masterIpv4CidrBlock_); } if (defaultMaxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getDefaultMaxPodsConstraint()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 30, getDefaultMaxPodsConstraint()); } if (resourceUsageExportConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(33, getResourceUsageExportConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 33, getResourceUsageExportConfig()); } if (authenticatorGroupsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(34, getAuthenticatorGroupsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 34, getAuthenticatorGroupsConfig()); } if (privateClusterConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(37, getPrivateClusterConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(37, getPrivateClusterConfig()); } if (databaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(38, getDatabaseEncryption()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getDatabaseEncryption()); } if (verticalPodAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(39, getVerticalPodAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(39, getVerticalPodAutoscaling()); } if (shieldedNodes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(40, getShieldedNodes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(40, getShieldedNodes()); } if (releaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(41, getReleaseChannel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(41, getReleaseChannel()); } if (workloadIdentityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(43, getWorkloadIdentityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(43, getWorkloadIdentityConfig()); } if (costManagementConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(45, getCostManagementConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(45, getCostManagementConfig()); } if (clusterTelemetry_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(46, getClusterTelemetry()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(46, getClusterTelemetry()); } if (tpuConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(47, getTpuConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(47, getTpuConfig()); } if (notificationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(49, getNotificationConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(49, getNotificationConfig()); } if (confidentialNodes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(50, getConfidentialNodes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getConfidentialNodes()); } if (workloadCertificates_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(52, getWorkloadCertificates()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(52, getWorkloadCertificates()); } if (workloadAltsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(53, getWorkloadAltsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getWorkloadAltsConfig()); } if (identityServiceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(54, getIdentityServiceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(54, getIdentityServiceConfig()); } if (meshCertificates_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(67, getMeshCertificates()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(67, getMeshCertificates()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_); @@ -3912,15 +4492,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106, createTime_); } if (status_ != com.google.container.v1beta1.Cluster.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(107, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(107, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(108, statusMessage_); } if (nodeIpv4CidrSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(109, nodeIpv4CidrSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(109, nodeIpv4CidrSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesIpv4Cidr_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(110, servicesIpv4Cidr_); @@ -3934,8 +4512,7 @@ public int getSerializedSize() { size += 2 * getInstanceGroupUrlsList().size(); } if (currentNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(112, currentNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(112, currentNodeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireTime_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(113, expireTime_); @@ -3944,46 +4521,38 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114, location_); } if (enableTpu_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(115, enableTpu_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(115, enableTpu_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tpuIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(116, tpuIpv4CidrBlock_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(118, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(118, conditions_.get(i)); } if (master_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(124, getMaster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(124, getMaster()); } if (autopilot_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(128, getAutopilot()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(128, getAutopilot()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(129, id_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(131, getNodePoolDefaults()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(131, getNodePoolDefaults()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(132, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(132, getLoggingConfig()); } if (monitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(133, getMonitoringConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getMonitoringConfig()); } if (nodePoolAutoConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(136, getNodePoolAutoConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(136, getNodePoolAutoConfig()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(137, getProtectConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(137, getProtectConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3993,264 +4562,198 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Cluster)) { return super.equals(obj); } com.google.container.v1beta1.Cluster other = (com.google.container.v1beta1.Cluster) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (getInitialNodeCount() - != other.getInitialNodeCount()) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (getInitialNodeCount() != other.getInitialNodeCount()) return false; if (hasNodeConfig() != other.hasNodeConfig()) return false; if (hasNodeConfig()) { - if (!getNodeConfig() - .equals(other.getNodeConfig())) return false; + if (!getNodeConfig().equals(other.getNodeConfig())) return false; } if (hasMasterAuth() != other.hasMasterAuth()) return false; if (hasMasterAuth()) { - if (!getMasterAuth() - .equals(other.getMasterAuth())) return false; - } - if (!getLoggingService() - .equals(other.getLoggingService())) return false; - if (!getMonitoringService() - .equals(other.getMonitoringService())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getClusterIpv4Cidr() - .equals(other.getClusterIpv4Cidr())) return false; + if (!getMasterAuth().equals(other.getMasterAuth())) return false; + } + if (!getLoggingService().equals(other.getLoggingService())) return false; + if (!getMonitoringService().equals(other.getMonitoringService())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false; if (hasAddonsConfig() != other.hasAddonsConfig()) return false; if (hasAddonsConfig()) { - if (!getAddonsConfig() - .equals(other.getAddonsConfig())) return false; - } - if (!getSubnetwork() - .equals(other.getSubnetwork())) return false; - if (!getNodePoolsList() - .equals(other.getNodePoolsList())) return false; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; - if (getEnableKubernetesAlpha() - != other.getEnableKubernetesAlpha()) return false; - if (!internalGetResourceLabels().equals( - other.internalGetResourceLabels())) return false; - if (!getLabelFingerprint() - .equals(other.getLabelFingerprint())) return false; + if (!getAddonsConfig().equals(other.getAddonsConfig())) return false; + } + if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (!getNodePoolsList().equals(other.getNodePoolsList())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; + if (getEnableKubernetesAlpha() != other.getEnableKubernetesAlpha()) return false; + if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; + if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false; if (hasLegacyAbac() != other.hasLegacyAbac()) return false; if (hasLegacyAbac()) { - if (!getLegacyAbac() - .equals(other.getLegacyAbac())) return false; + if (!getLegacyAbac().equals(other.getLegacyAbac())) return false; } if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false; if (hasNetworkPolicy()) { - if (!getNetworkPolicy() - .equals(other.getNetworkPolicy())) return false; + if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false; } if (hasIpAllocationPolicy() != other.hasIpAllocationPolicy()) return false; if (hasIpAllocationPolicy()) { - if (!getIpAllocationPolicy() - .equals(other.getIpAllocationPolicy())) return false; + if (!getIpAllocationPolicy().equals(other.getIpAllocationPolicy())) return false; } - if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig()) return false; + if (hasMasterAuthorizedNetworksConfig() != other.hasMasterAuthorizedNetworksConfig()) + return false; if (hasMasterAuthorizedNetworksConfig()) { - if (!getMasterAuthorizedNetworksConfig() - .equals(other.getMasterAuthorizedNetworksConfig())) return false; + if (!getMasterAuthorizedNetworksConfig().equals(other.getMasterAuthorizedNetworksConfig())) + return false; } if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; if (hasMaintenancePolicy()) { - if (!getMaintenancePolicy() - .equals(other.getMaintenancePolicy())) return false; + if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; } if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; if (hasBinaryAuthorization()) { - if (!getBinaryAuthorization() - .equals(other.getBinaryAuthorization())) return false; + if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false; } if (hasPodSecurityPolicyConfig() != other.hasPodSecurityPolicyConfig()) return false; if (hasPodSecurityPolicyConfig()) { - if (!getPodSecurityPolicyConfig() - .equals(other.getPodSecurityPolicyConfig())) return false; + if (!getPodSecurityPolicyConfig().equals(other.getPodSecurityPolicyConfig())) return false; } if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling() - .equals(other.getAutoscaling())) return false; + if (!getAutoscaling().equals(other.getAutoscaling())) return false; } if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; } - if (getPrivateCluster() - != other.getPrivateCluster()) return false; - if (!getMasterIpv4CidrBlock() - .equals(other.getMasterIpv4CidrBlock())) return false; + if (getPrivateCluster() != other.getPrivateCluster()) return false; + if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; if (hasDefaultMaxPodsConstraint() != other.hasDefaultMaxPodsConstraint()) return false; if (hasDefaultMaxPodsConstraint()) { - if (!getDefaultMaxPodsConstraint() - .equals(other.getDefaultMaxPodsConstraint())) return false; + if (!getDefaultMaxPodsConstraint().equals(other.getDefaultMaxPodsConstraint())) return false; } if (hasResourceUsageExportConfig() != other.hasResourceUsageExportConfig()) return false; if (hasResourceUsageExportConfig()) { - if (!getResourceUsageExportConfig() - .equals(other.getResourceUsageExportConfig())) return false; + if (!getResourceUsageExportConfig().equals(other.getResourceUsageExportConfig())) + return false; } if (hasAuthenticatorGroupsConfig() != other.hasAuthenticatorGroupsConfig()) return false; if (hasAuthenticatorGroupsConfig()) { - if (!getAuthenticatorGroupsConfig() - .equals(other.getAuthenticatorGroupsConfig())) return false; + if (!getAuthenticatorGroupsConfig().equals(other.getAuthenticatorGroupsConfig())) + return false; } if (hasPrivateClusterConfig() != other.hasPrivateClusterConfig()) return false; if (hasPrivateClusterConfig()) { - if (!getPrivateClusterConfig() - .equals(other.getPrivateClusterConfig())) return false; + if (!getPrivateClusterConfig().equals(other.getPrivateClusterConfig())) return false; } if (hasVerticalPodAutoscaling() != other.hasVerticalPodAutoscaling()) return false; if (hasVerticalPodAutoscaling()) { - if (!getVerticalPodAutoscaling() - .equals(other.getVerticalPodAutoscaling())) return false; + if (!getVerticalPodAutoscaling().equals(other.getVerticalPodAutoscaling())) return false; } if (hasShieldedNodes() != other.hasShieldedNodes()) return false; if (hasShieldedNodes()) { - if (!getShieldedNodes() - .equals(other.getShieldedNodes())) return false; + if (!getShieldedNodes().equals(other.getShieldedNodes())) return false; } if (hasReleaseChannel() != other.hasReleaseChannel()) return false; if (hasReleaseChannel()) { - if (!getReleaseChannel() - .equals(other.getReleaseChannel())) return false; + if (!getReleaseChannel().equals(other.getReleaseChannel())) return false; } if (hasWorkloadIdentityConfig() != other.hasWorkloadIdentityConfig()) return false; if (hasWorkloadIdentityConfig()) { - if (!getWorkloadIdentityConfig() - .equals(other.getWorkloadIdentityConfig())) return false; + if (!getWorkloadIdentityConfig().equals(other.getWorkloadIdentityConfig())) return false; } if (hasWorkloadCertificates() != other.hasWorkloadCertificates()) return false; if (hasWorkloadCertificates()) { - if (!getWorkloadCertificates() - .equals(other.getWorkloadCertificates())) return false; + if (!getWorkloadCertificates().equals(other.getWorkloadCertificates())) return false; } if (hasMeshCertificates() != other.hasMeshCertificates()) return false; if (hasMeshCertificates()) { - if (!getMeshCertificates() - .equals(other.getMeshCertificates())) return false; + if (!getMeshCertificates().equals(other.getMeshCertificates())) return false; } if (hasWorkloadAltsConfig() != other.hasWorkloadAltsConfig()) return false; if (hasWorkloadAltsConfig()) { - if (!getWorkloadAltsConfig() - .equals(other.getWorkloadAltsConfig())) return false; + if (!getWorkloadAltsConfig().equals(other.getWorkloadAltsConfig())) return false; } if (hasCostManagementConfig() != other.hasCostManagementConfig()) return false; if (hasCostManagementConfig()) { - if (!getCostManagementConfig() - .equals(other.getCostManagementConfig())) return false; + if (!getCostManagementConfig().equals(other.getCostManagementConfig())) return false; } if (hasClusterTelemetry() != other.hasClusterTelemetry()) return false; if (hasClusterTelemetry()) { - if (!getClusterTelemetry() - .equals(other.getClusterTelemetry())) return false; + if (!getClusterTelemetry().equals(other.getClusterTelemetry())) return false; } if (hasTpuConfig() != other.hasTpuConfig()) return false; if (hasTpuConfig()) { - if (!getTpuConfig() - .equals(other.getTpuConfig())) return false; + if (!getTpuConfig().equals(other.getTpuConfig())) return false; } if (hasNotificationConfig() != other.hasNotificationConfig()) return false; if (hasNotificationConfig()) { - if (!getNotificationConfig() - .equals(other.getNotificationConfig())) return false; + if (!getNotificationConfig().equals(other.getNotificationConfig())) return false; } if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; if (hasConfidentialNodes()) { - if (!getConfidentialNodes() - .equals(other.getConfidentialNodes())) return false; + if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; } if (hasIdentityServiceConfig() != other.hasIdentityServiceConfig()) return false; if (hasIdentityServiceConfig()) { - if (!getIdentityServiceConfig() - .equals(other.getIdentityServiceConfig())) return false; - } - if (!getSelfLink() - .equals(other.getSelfLink())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getEndpoint() - .equals(other.getEndpoint())) return false; - if (!getInitialClusterVersion() - .equals(other.getInitialClusterVersion())) return false; - if (!getCurrentMasterVersion() - .equals(other.getCurrentMasterVersion())) return false; - if (!getCurrentNodeVersion() - .equals(other.getCurrentNodeVersion())) return false; - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getIdentityServiceConfig().equals(other.getIdentityServiceConfig())) return false; + } + if (!getSelfLink().equals(other.getSelfLink())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getEndpoint().equals(other.getEndpoint())) return false; + if (!getInitialClusterVersion().equals(other.getInitialClusterVersion())) return false; + if (!getCurrentMasterVersion().equals(other.getCurrentMasterVersion())) return false; + if (!getCurrentNodeVersion().equals(other.getCurrentNodeVersion())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; if (status_ != other.status_) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getNodeIpv4CidrSize() - != other.getNodeIpv4CidrSize()) return false; - if (!getServicesIpv4Cidr() - .equals(other.getServicesIpv4Cidr())) return false; - if (!getInstanceGroupUrlsList() - .equals(other.getInstanceGroupUrlsList())) return false; - if (getCurrentNodeCount() - != other.getCurrentNodeCount()) return false; - if (!getExpireTime() - .equals(other.getExpireTime())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (getEnableTpu() - != other.getEnableTpu()) return false; - if (!getTpuIpv4CidrBlock() - .equals(other.getTpuIpv4CidrBlock())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getNodeIpv4CidrSize() != other.getNodeIpv4CidrSize()) return false; + if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false; + if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false; + if (getCurrentNodeCount() != other.getCurrentNodeCount()) return false; + if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (getEnableTpu() != other.getEnableTpu()) return false; + if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false; if (hasDatabaseEncryption() != other.hasDatabaseEncryption()) return false; if (hasDatabaseEncryption()) { - if (!getDatabaseEncryption() - .equals(other.getDatabaseEncryption())) return false; + if (!getDatabaseEncryption().equals(other.getDatabaseEncryption())) return false; } - if (!getConditionsList() - .equals(other.getConditionsList())) return false; + if (!getConditionsList().equals(other.getConditionsList())) return false; if (hasMaster() != other.hasMaster()) return false; if (hasMaster()) { - if (!getMaster() - .equals(other.getMaster())) return false; + if (!getMaster().equals(other.getMaster())) return false; } if (hasAutopilot() != other.hasAutopilot()) return false; if (hasAutopilot()) { - if (!getAutopilot() - .equals(other.getAutopilot())) return false; + if (!getAutopilot().equals(other.getAutopilot())) return false; } - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; if (hasNodePoolDefaults() != other.hasNodePoolDefaults()) return false; if (hasNodePoolDefaults()) { - if (!getNodePoolDefaults() - .equals(other.getNodePoolDefaults())) return false; + if (!getNodePoolDefaults().equals(other.getNodePoolDefaults())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } if (hasMonitoringConfig() != other.hasMonitoringConfig()) return false; if (hasMonitoringConfig()) { - if (!getMonitoringConfig() - .equals(other.getMonitoringConfig())) return false; + if (!getMonitoringConfig().equals(other.getMonitoringConfig())) return false; } if (hasNodePoolAutoConfig() != other.hasNodePoolAutoConfig()) return false; if (hasNodePoolAutoConfig()) { - if (!getNodePoolAutoConfig() - .equals(other.getNodePoolAutoConfig())) return false; + if (!getNodePoolAutoConfig().equals(other.getNodePoolAutoConfig())) return false; } if (hasProtectConfig() != other.hasProtectConfig()) return false; if (hasProtectConfig()) { - if (!getProtectConfig() - .equals(other.getProtectConfig())) return false; + if (!getProtectConfig().equals(other.getProtectConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -4300,8 +4803,7 @@ public int hashCode() { hash = (53 * hash) + getLocationsList().hashCode(); } hash = (37 * hash) + ENABLE_KUBERNETES_ALPHA_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableKubernetesAlpha()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableKubernetesAlpha()); if (!internalGetResourceLabels().getMap().isEmpty()) { hash = (37 * hash) + RESOURCE_LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetResourceLabels().hashCode(); @@ -4345,8 +4847,7 @@ public int hashCode() { hash = (53 * hash) + getNetworkConfig().hashCode(); } hash = (37 * hash) + PRIVATE_CLUSTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPrivateCluster()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPrivateCluster()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); if (hasDefaultMaxPodsConstraint()) { @@ -4450,8 +4951,7 @@ public int hashCode() { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); hash = (37 * hash) + ENABLE_TPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableTpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableTpu()); hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode(); if (hasDatabaseEncryption()) { @@ -4497,140 +4997,146 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Cluster parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Cluster parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Cluster parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Cluster parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1beta1.Cluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.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.container.v1beta1.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Cluster parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Cluster parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Cluster parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Google Kubernetes Engine cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.Cluster} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Cluster) com.google.container.v1beta1.ClusterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Cluster_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 15: return internalGetResourceLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 15: return internalGetMutableResourceLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Cluster_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Cluster.class, com.google.container.v1beta1.Cluster.Builder.class); + com.google.container.v1beta1.Cluster.class, + com.google.container.v1beta1.Cluster.Builder.class); } // Construct using com.google.container.v1beta1.Cluster.newBuilder() @@ -4638,20 +5144,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNodePoolsFieldBuilder(); getConditionsFieldBuilder(); getNodePoolDefaultsFieldBuilder(); getProtectConfigFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4958,9 +5464,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Cluster_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Cluster_descriptor; } @java.lang.Override @@ -5241,38 +5747,39 @@ public com.google.container.v1beta1.Cluster buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Cluster) { - return mergeFrom((com.google.container.v1beta1.Cluster)other); + return mergeFrom((com.google.container.v1beta1.Cluster) other); } else { super.mergeFrom(other); return this; @@ -5339,9 +5846,10 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodePoolsFieldBuilder() : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNodePoolsFieldBuilder() + : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -5360,8 +5868,7 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { if (other.getEnableKubernetesAlpha() != false) { setEnableKubernetesAlpha(other.getEnableKubernetesAlpha()); } - internalGetMutableResourceLabels().mergeFrom( - other.internalGetResourceLabels()); + internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels()); if (!other.getLabelFingerprint().isEmpty()) { labelFingerprint_ = other.labelFingerprint_; onChanged(); @@ -5542,9 +6049,10 @@ public Builder mergeFrom(com.google.container.v1beta1.Cluster other) { conditionsBuilder_ = null; conditions_ = other.conditions_; bitField0_ = (bitField0_ & ~0x00000010); - conditionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConditionsFieldBuilder() : null; + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConditionsFieldBuilder() + : null; } else { conditionsBuilder_.addAllMessages(other.conditions_); } @@ -5601,462 +6109,484 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - description_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - initialNodeCount_ = input.readInt32(); - - break; - } // case 24 - case 34: { - input.readMessage( - getNodeConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getMasterAuthFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - loggingService_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - monitoringService_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - network_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: { - input.readMessage( - getAddonsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 82 - case 90: { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 98: { - com.google.container.v1beta1.NodePool m = - input.readMessage( - com.google.container.v1beta1.NodePool.parser(), - extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 112: { - enableKubernetesAlpha_ = input.readBool(); - - break; - } // case 112 - case 122: { - com.google.protobuf.MapEntry - resourceLabels__ = input.readMessage( - ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableResourceLabels().getMutableMap().put( - resourceLabels__.getKey(), resourceLabels__.getValue()); - break; - } // case 122 - case 130: { - labelFingerprint_ = input.readStringRequireUtf8(); - - break; - } // case 130 - case 146: { - input.readMessage( - getLegacyAbacFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 146 - case 154: { - input.readMessage( - getNetworkPolicyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 154 - case 162: { - input.readMessage( - getIpAllocationPolicyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 162 - case 178: { - input.readMessage( - getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 178 - case 186: { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 186 - case 194: { - input.readMessage( - getBinaryAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 194 - case 202: { - input.readMessage( - getPodSecurityPolicyConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 202 - case 210: { - input.readMessage( - getAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 210 - case 218: { - input.readMessage( - getNetworkConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 218 - case 224: { - privateCluster_ = input.readBool(); - - break; - } // case 224 - case 234: { - masterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 234 - case 242: { - input.readMessage( - getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 242 - case 266: { - input.readMessage( - getResourceUsageExportConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 266 - case 274: { - input.readMessage( - getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 274 - case 298: { - input.readMessage( - getPrivateClusterConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 298 - case 306: { - input.readMessage( - getDatabaseEncryptionFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 306 - case 314: { - input.readMessage( - getVerticalPodAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 314 - case 322: { - input.readMessage( - getShieldedNodesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 322 - case 330: { - input.readMessage( - getReleaseChannelFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 330 - case 346: { - input.readMessage( - getWorkloadIdentityConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 346 - case 362: { - input.readMessage( - getCostManagementConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 362 - case 370: { - input.readMessage( - getClusterTelemetryFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 370 - case 378: { - input.readMessage( - getTpuConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 378 - case 394: { - input.readMessage( - getNotificationConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 394 - case 402: { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 402 - case 418: { - input.readMessage( - getWorkloadCertificatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 418 - case 426: { - input.readMessage( - getWorkloadAltsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 426 - case 434: { - input.readMessage( - getIdentityServiceConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 434 - case 538: { - input.readMessage( - getMeshCertificatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 538 - case 802: { - selfLink_ = input.readStringRequireUtf8(); - - break; - } // case 802 - case 810: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 810 - case 818: { - endpoint_ = input.readStringRequireUtf8(); - - break; - } // case 818 - case 826: { - initialClusterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 826 - case 834: { - currentMasterVersion_ = input.readStringRequireUtf8(); - - break; - } // case 834 - case 842: { - currentNodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 842 - case 850: { - createTime_ = input.readStringRequireUtf8(); - - break; - } // case 850 - case 856: { - status_ = input.readEnum(); - - break; - } // case 856 - case 866: { - statusMessage_ = input.readStringRequireUtf8(); - - break; - } // case 866 - case 872: { - nodeIpv4CidrSize_ = input.readInt32(); - - break; - } // case 872 - case 882: { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 882 - case 890: { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstanceGroupUrlsIsMutable(); - instanceGroupUrls_.add(s); - break; - } // case 890 - case 896: { - currentNodeCount_ = input.readInt32(); - - break; - } // case 896 - case 906: { - expireTime_ = input.readStringRequireUtf8(); - - break; - } // case 906 - case 914: { - location_ = input.readStringRequireUtf8(); - - break; - } // case 914 - case 920: { - enableTpu_ = input.readBool(); - - break; - } // case 920 - case 930: { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 930 - case 946: { - com.google.container.v1beta1.StatusCondition m = - input.readMessage( - com.google.container.v1beta1.StatusCondition.parser(), - extensionRegistry); - if (conditionsBuilder_ == null) { - ensureConditionsIsMutable(); - conditions_.add(m); - } else { - conditionsBuilder_.addMessage(m); - } - break; - } // case 946 - case 994: { - input.readMessage( - getMasterFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 994 - case 1026: { - input.readMessage( - getAutopilotFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1026 - case 1034: { - id_ = input.readStringRequireUtf8(); - - break; - } // case 1034 - case 1050: { - input.readMessage( - getNodePoolDefaultsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 1050 - case 1058: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1058 - case 1066: { - input.readMessage( - getMonitoringConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1066 - case 1090: { - input.readMessage( - getNodePoolAutoConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 1090 - case 1098: { - input.readMessage( - getProtectConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 1098 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + description_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + initialNodeCount_ = input.readInt32(); + + break; + } // case 24 + case 34: + { + input.readMessage(getNodeConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage(getMasterAuthFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + loggingService_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + monitoringService_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + network_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: + { + input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 82 + case 90: + { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 98: + { + com.google.container.v1beta1.NodePool m = + input.readMessage( + com.google.container.v1beta1.NodePool.parser(), extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 106 + case 112: + { + enableKubernetesAlpha_ = input.readBool(); + + break; + } // case 112 + case 122: + { + com.google.protobuf.MapEntry resourceLabels__ = + input.readMessage( + ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableResourceLabels() + .getMutableMap() + .put(resourceLabels__.getKey(), resourceLabels__.getValue()); + break; + } // case 122 + case 130: + { + labelFingerprint_ = input.readStringRequireUtf8(); + + break; + } // case 130 + case 146: + { + input.readMessage(getLegacyAbacFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 146 + case 154: + { + input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 154 + case 162: + { + input.readMessage( + getIpAllocationPolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 162 + case 178: + { + input.readMessage( + getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 178 + case 186: + { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 186 + case 194: + { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 194 + case 202: + { + input.readMessage( + getPodSecurityPolicyConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 202 + case 210: + { + input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 210 + case 218: + { + input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 218 + case 224: + { + privateCluster_ = input.readBool(); + + break; + } // case 224 + case 234: + { + masterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 234 + case 242: + { + input.readMessage( + getDefaultMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 242 + case 266: + { + input.readMessage( + getResourceUsageExportConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 266 + case 274: + { + input.readMessage( + getAuthenticatorGroupsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 274 + case 298: + { + input.readMessage( + getPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 298 + case 306: + { + input.readMessage( + getDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 306 + case 314: + { + input.readMessage( + getVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 314 + case 322: + { + input.readMessage(getShieldedNodesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 322 + case 330: + { + input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 330 + case 346: + { + input.readMessage( + getWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 346 + case 362: + { + input.readMessage( + getCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 362 + case 370: + { + input.readMessage( + getClusterTelemetryFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 370 + case 378: + { + input.readMessage(getTpuConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 378 + case 394: + { + input.readMessage( + getNotificationConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 394 + case 402: + { + input.readMessage( + getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 402 + case 418: + { + input.readMessage( + getWorkloadCertificatesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 418 + case 426: + { + input.readMessage( + getWorkloadAltsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 426 + case 434: + { + input.readMessage( + getIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 434 + case 538: + { + input.readMessage( + getMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 538 + case 802: + { + selfLink_ = input.readStringRequireUtf8(); + + break; + } // case 802 + case 810: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 810 + case 818: + { + endpoint_ = input.readStringRequireUtf8(); + + break; + } // case 818 + case 826: + { + initialClusterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 826 + case 834: + { + currentMasterVersion_ = input.readStringRequireUtf8(); + + break; + } // case 834 + case 842: + { + currentNodeVersion_ = input.readStringRequireUtf8(); + + break; + } // case 842 + case 850: + { + createTime_ = input.readStringRequireUtf8(); + + break; + } // case 850 + case 856: + { + status_ = input.readEnum(); + + break; + } // case 856 + case 866: + { + statusMessage_ = input.readStringRequireUtf8(); + + break; + } // case 866 + case 872: + { + nodeIpv4CidrSize_ = input.readInt32(); + + break; + } // case 872 + case 882: + { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 882 + case 890: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstanceGroupUrlsIsMutable(); + instanceGroupUrls_.add(s); + break; + } // case 890 + case 896: + { + currentNodeCount_ = input.readInt32(); + + break; + } // case 896 + case 906: + { + expireTime_ = input.readStringRequireUtf8(); + + break; + } // case 906 + case 914: + { + location_ = input.readStringRequireUtf8(); + + break; + } // case 914 + case 920: + { + enableTpu_ = input.readBool(); + + break; + } // case 920 + case 930: + { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 930 + case 946: + { + com.google.container.v1beta1.StatusCondition m = + input.readMessage( + com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry); + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(m); + } else { + conditionsBuilder_.addMessage(m); + } + break; + } // case 946 + case 994: + { + input.readMessage(getMasterFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 994 + case 1026: + { + input.readMessage(getAutopilotFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1026 + case 1034: + { + id_ = input.readStringRequireUtf8(); + + break; + } // case 1034 + case 1050: + { + input.readMessage( + getNodePoolDefaultsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 1050 + case 1058: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1058 + case 1066: + { + input.readMessage( + getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1066 + case 1090: + { + input.readMessage( + getNodePoolAutoConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 1090 + case 1098: + { + input.readMessage(getProtectConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 1098 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6066,10 +6596,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6080,13 +6613,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6095,6 +6628,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6105,15 +6640,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6121,7 +6655,9 @@ public java.lang.String getName() { } } /** - *
+     *
+     *
+     * 
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
      * the following restrictions:
@@ -6131,20 +6667,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6155,15 +6693,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of this cluster. The name must be unique within this project
      * and location (e.g. zone or region), and can be up to 40 characters with
@@ -6174,16 +6715,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6191,18 +6732,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -6211,20 +6754,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -6232,61 +6776,70 @@ public java.lang.String getDescription() { } } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * An optional description of this cluster.
      * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private int initialNodeCount_ ; + private int initialNodeCount_; /** + * + * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6300,15 +6853,19 @@ public Builder setDescriptionBytes(
      * 
* * 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=1580 + * + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1580 * @return The initialNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getInitialNodeCount() { + @java.lang.Deprecated + public int getInitialNodeCount() { return initialNodeCount_; } /** + * + * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6322,18 +6879,22 @@ public Builder setDescriptionBytes(
      * 
* * 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=1580 + * + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1580 * @param value The initialNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setInitialNodeCount(int value) { - + @java.lang.Deprecated + public Builder setInitialNodeCount(int value) { + initialNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of nodes to create in this cluster. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6347,12 +6908,14 @@ public Builder setDescriptionBytes(
      * 
* * 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=1580 + * + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1580 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearInitialNodeCount() { - + @java.lang.Deprecated + public Builder clearInitialNodeCount() { + initialNodeCount_ = 0; onChanged(); return this; @@ -6360,8 +6923,13 @@ public Builder setDescriptionBytes( private com.google.container.v1beta1.NodeConfig nodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> nodeConfigBuilder_; + com.google.container.v1beta1.NodeConfig, + com.google.container.v1beta1.NodeConfig.Builder, + com.google.container.v1beta1.NodeConfigOrBuilder> + nodeConfigBuilder_; /** + * + * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6376,14 +6944,18 @@ public Builder setDescriptionBytes(
      * 
* * .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=1593 + * + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1593 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated public boolean hasNodeConfig() { + @java.lang.Deprecated + public boolean hasNodeConfig() { return nodeConfigBuilder_ != null || nodeConfig_ != null; } /** + * + * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6398,18 +6970,24 @@ public Builder setDescriptionBytes(
      * 
* * .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=1593 + * + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1593 * @return The nodeConfig. */ - @java.lang.Deprecated public com.google.container.v1beta1.NodeConfig getNodeConfig() { + @java.lang.Deprecated + public com.google.container.v1beta1.NodeConfig getNodeConfig() { if (nodeConfigBuilder_ == null) { - return nodeConfig_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_; + return nodeConfig_ == null + ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() + : nodeConfig_; } else { return nodeConfigBuilder_.getMessage(); } } /** + * + * *
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6425,7 +7003,8 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig value) {
+    @java.lang.Deprecated
+    public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6439,6 +7018,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6454,8 +7035,8 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder setNodeConfig(
-        com.google.container.v1beta1.NodeConfig.Builder builderForValue) {
+    @java.lang.Deprecated
+    public Builder setNodeConfig(com.google.container.v1beta1.NodeConfig.Builder builderForValue) {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = builderForValue.build();
         onChanged();
@@ -6466,6 +7047,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6481,11 +7064,14 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder mergeNodeConfig(com.google.container.v1beta1.NodeConfig value) {
+    @java.lang.Deprecated
+    public Builder mergeNodeConfig(com.google.container.v1beta1.NodeConfig value) {
       if (nodeConfigBuilder_ == null) {
         if (nodeConfig_ != null) {
           nodeConfig_ =
-            com.google.container.v1beta1.NodeConfig.newBuilder(nodeConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodeConfig.newBuilder(nodeConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodeConfig_ = value;
         }
@@ -6497,6 +7083,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6512,7 +7100,8 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public Builder clearNodeConfig() {
+    @java.lang.Deprecated
+    public Builder clearNodeConfig() {
       if (nodeConfigBuilder_ == null) {
         nodeConfig_ = null;
         onChanged();
@@ -6524,6 +7113,8 @@ public Builder setDescriptionBytes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6539,12 +7130,15 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1beta1.NodeConfig.Builder getNodeConfigBuilder() {
-      
+    @java.lang.Deprecated
+    public com.google.container.v1beta1.NodeConfig.Builder getNodeConfigBuilder() {
+
       onChanged();
       return getNodeConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6560,15 +7154,19 @@ public Builder setDescriptionBytes(
      *
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
-    @java.lang.Deprecated public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
+    @java.lang.Deprecated
+    public com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder() {
       if (nodeConfigBuilder_ != null) {
         return nodeConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodeConfig_ == null ?
-            com.google.container.v1beta1.NodeConfig.getDefaultInstance() : nodeConfig_;
+        return nodeConfig_ == null
+            ? com.google.container.v1beta1.NodeConfig.getDefaultInstance()
+            : nodeConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Parameters used in creating the cluster's nodes.
      * For requests, this field should only be used in lieu of a
@@ -6585,14 +7183,17 @@ public Builder setDescriptionBytes(
      * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> 
+            com.google.container.v1beta1.NodeConfig,
+            com.google.container.v1beta1.NodeConfig.Builder,
+            com.google.container.v1beta1.NodeConfigOrBuilder>
         getNodeConfigFieldBuilder() {
       if (nodeConfigBuilder_ == null) {
-        nodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder>(
-                getNodeConfig(),
-                getParentForChildren(),
-                isClean());
+        nodeConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodeConfig,
+                com.google.container.v1beta1.NodeConfig.Builder,
+                com.google.container.v1beta1.NodeConfigOrBuilder>(
+                getNodeConfig(), getParentForChildren(), isClean());
         nodeConfig_ = null;
       }
       return nodeConfigBuilder_;
@@ -6600,8 +7201,13 @@ public Builder setDescriptionBytes(
 
     private com.google.container.v1beta1.MasterAuth masterAuth_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> masterAuthBuilder_;
+            com.google.container.v1beta1.MasterAuth,
+            com.google.container.v1beta1.MasterAuth.Builder,
+            com.google.container.v1beta1.MasterAuthOrBuilder>
+        masterAuthBuilder_;
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6611,12 +7217,15 @@ public Builder setDescriptionBytes(
      * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; + * * @return Whether the masterAuth field is set. */ public boolean hasMasterAuth() { return masterAuthBuilder_ != null || masterAuth_ != null; } /** + * + * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6626,16 +7235,21 @@ public boolean hasMasterAuth() {
      * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; + * * @return The masterAuth. */ public com.google.container.v1beta1.MasterAuth getMasterAuth() { if (masterAuthBuilder_ == null) { - return masterAuth_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : masterAuth_; + return masterAuth_ == null + ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() + : masterAuth_; } else { return masterAuthBuilder_.getMessage(); } } /** + * + * *
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6660,6 +7274,8 @@ public Builder setMasterAuth(com.google.container.v1beta1.MasterAuth value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6670,8 +7286,7 @@ public Builder setMasterAuth(com.google.container.v1beta1.MasterAuth value) {
      *
      * .google.container.v1beta1.MasterAuth master_auth = 5;
      */
-    public Builder setMasterAuth(
-        com.google.container.v1beta1.MasterAuth.Builder builderForValue) {
+    public Builder setMasterAuth(com.google.container.v1beta1.MasterAuth.Builder builderForValue) {
       if (masterAuthBuilder_ == null) {
         masterAuth_ = builderForValue.build();
         onChanged();
@@ -6682,6 +7297,8 @@ public Builder setMasterAuth(
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6696,7 +7313,9 @@ public Builder mergeMasterAuth(com.google.container.v1beta1.MasterAuth value) {
       if (masterAuthBuilder_ == null) {
         if (masterAuth_ != null) {
           masterAuth_ =
-            com.google.container.v1beta1.MasterAuth.newBuilder(masterAuth_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.MasterAuth.newBuilder(masterAuth_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           masterAuth_ = value;
         }
@@ -6708,6 +7327,8 @@ public Builder mergeMasterAuth(com.google.container.v1beta1.MasterAuth value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6730,6 +7351,8 @@ public Builder clearMasterAuth() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6741,11 +7364,13 @@ public Builder clearMasterAuth() {
      * .google.container.v1beta1.MasterAuth master_auth = 5;
      */
     public com.google.container.v1beta1.MasterAuth.Builder getMasterAuthBuilder() {
-      
+
       onChanged();
       return getMasterAuthFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6760,11 +7385,14 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
       if (masterAuthBuilder_ != null) {
         return masterAuthBuilder_.getMessageOrBuilder();
       } else {
-        return masterAuth_ == null ?
-            com.google.container.v1beta1.MasterAuth.getDefaultInstance() : masterAuth_;
+        return masterAuth_ == null
+            ? com.google.container.v1beta1.MasterAuth.getDefaultInstance()
+            : masterAuth_;
       }
     }
     /**
+     *
+     *
      * 
      * The authentication information for accessing the master endpoint.
      * If unspecified, the defaults are used:
@@ -6776,14 +7404,17 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
      * .google.container.v1beta1.MasterAuth master_auth = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> 
+            com.google.container.v1beta1.MasterAuth,
+            com.google.container.v1beta1.MasterAuth.Builder,
+            com.google.container.v1beta1.MasterAuthOrBuilder>
         getMasterAuthFieldBuilder() {
       if (masterAuthBuilder_ == null) {
-        masterAuthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder>(
-                getMasterAuth(),
-                getParentForChildren(),
-                isClean());
+        masterAuthBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.MasterAuth,
+                com.google.container.v1beta1.MasterAuth.Builder,
+                com.google.container.v1beta1.MasterAuthOrBuilder>(
+                getMasterAuth(), getParentForChildren(), isClean());
         masterAuth_ = null;
       }
       return masterAuthBuilder_;
@@ -6791,6 +7422,8 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
 
     private java.lang.Object loggingService_ = "";
     /**
+     *
+     *
      * 
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6804,13 +7437,13 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder()
      * 
* * string logging_service = 6; + * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -6819,6 +7452,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6832,15 +7467,14 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 6; + * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -6848,6 +7482,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6861,20 +7497,22 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 6; + * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService( - java.lang.String value) { + public Builder setLoggingService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6888,15 +7526,18 @@ public Builder setLoggingService(
      * 
* * string logging_service = 6; + * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -6910,16 +7551,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 6; + * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -6927,6 +7568,8 @@ public Builder setLoggingServiceBytes( private java.lang.Object monitoringService_ = ""; /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6940,13 +7583,13 @@ public Builder setLoggingServiceBytes(
      * 
* * string monitoring_service = 7; + * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -6955,6 +7598,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6968,15 +7613,14 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 7; + * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -6984,6 +7628,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -6997,20 +7643,22 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 7; + * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService( - java.lang.String value) { + public Builder setMonitoringService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -7024,15 +7672,18 @@ public Builder setMonitoringService(
      * 
* * string monitoring_service = 7; + * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -7046,16 +7697,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 7; + * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -7063,6 +7714,8 @@ public Builder setMonitoringServiceBytes( private java.lang.Object network_ = ""; /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7072,13 +7725,13 @@ public Builder setMonitoringServiceBytes(
      * 
* * string network = 8; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -7087,6 +7740,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7096,15 +7751,14 @@ public java.lang.String getNetwork() {
      * 
* * string network = 8; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -7112,6 +7766,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7121,20 +7777,22 @@ public java.lang.String getNetwork() {
      * 
* * string network = 8; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7144,15 +7802,18 @@ public Builder setNetwork(
      * 
* * string network = 8; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -7162,16 +7823,16 @@ public Builder clearNetwork() {
      * 
* * string network = 8; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -7179,6 +7840,8 @@ public Builder setNetworkBytes( private java.lang.Object clusterIpv4Cidr_ = ""; /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7187,13 +7850,13 @@ public Builder setNetworkBytes(
      * 
* * string cluster_ipv4_cidr = 9; + * * @return The clusterIpv4Cidr. */ public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -7202,6 +7865,8 @@ public java.lang.String getClusterIpv4Cidr() { } } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7210,15 +7875,14 @@ public java.lang.String getClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; + * * @return The bytes for clusterIpv4Cidr. */ - public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -7226,6 +7890,8 @@ public java.lang.String getClusterIpv4Cidr() { } } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7234,20 +7900,22 @@ public java.lang.String getClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; + * * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4Cidr( - java.lang.String value) { + public Builder setClusterIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7256,15 +7924,18 @@ public Builder setClusterIpv4Cidr(
      * 
* * string cluster_ipv4_cidr = 9; + * * @return This builder for chaining. */ public Builder clearClusterIpv4Cidr() { - + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * The IP address range of the container pods in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -7273,16 +7944,16 @@ public Builder clearClusterIpv4Cidr() {
      * 
* * string cluster_ipv4_cidr = 9; + * * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -7290,34 +7961,47 @@ public Builder setClusterIpv4CidrBytes( private com.google.container.v1beta1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> addonsConfigBuilder_; + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder> + addonsConfigBuilder_; /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; + * * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; + * * @return The addonsConfig. */ public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7338,6 +8022,8 @@ public Builder setAddonsConfig(com.google.container.v1beta1.AddonsConfig value) return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7356,6 +8042,8 @@ public Builder setAddonsConfig( return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7366,7 +8054,9 @@ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_) + .mergeFrom(value) + .buildPartial(); } else { addonsConfig_ = value; } @@ -7378,6 +8068,8 @@ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7396,6 +8088,8 @@ public Builder clearAddonsConfig() { return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7403,11 +8097,13 @@ public Builder clearAddonsConfig() { * .google.container.v1beta1.AddonsConfig addons_config = 10; */ public com.google.container.v1beta1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7418,11 +8114,14 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null ? - com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -7430,14 +8129,17 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild * .google.container.v1beta1.AddonsConfig addons_config = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder>( - getAddonsConfig(), - getParentForChildren(), - isClean()); + addonsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder>( + getAddonsConfig(), getParentForChildren(), isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -7445,6 +8147,8 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild private java.lang.Object subnetwork_ = ""; /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7453,13 +8157,13 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild
      * 
* * string subnetwork = 11; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -7468,6 +8172,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7476,15 +8182,14 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 11; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -7492,6 +8197,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7500,20 +8207,22 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 11; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7522,15 +8231,18 @@ public Builder setSubnetwork(
      * 
* * string subnetwork = 11; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -7539,34 +8251,40 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 11; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } private java.util.List nodePools_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> nodePoolsBuilder_; + com.google.container.v1beta1.NodePool, + com.google.container.v1beta1.NodePool.Builder, + com.google.container.v1beta1.NodePoolOrBuilder> + nodePoolsBuilder_; /** + * + * *
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7583,6 +8301,8 @@ public java.util.List getNodePoolsList()
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7599,6 +8319,8 @@ public int getNodePoolsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7615,6 +8337,8 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7623,8 +8347,7 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public Builder setNodePools(
-        int index, com.google.container.v1beta1.NodePool value) {
+    public Builder setNodePools(int index, com.google.container.v1beta1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7638,6 +8361,8 @@ public Builder setNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7658,6 +8383,8 @@ public Builder setNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7680,6 +8407,8 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7688,8 +8417,7 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool value) {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(
-        int index, com.google.container.v1beta1.NodePool value) {
+    public Builder addNodePools(int index, com.google.container.v1beta1.NodePool value) {
       if (nodePoolsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -7703,6 +8431,8 @@ public Builder addNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7711,8 +8441,7 @@ public Builder addNodePools(
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public Builder addNodePools(
-        com.google.container.v1beta1.NodePool.Builder builderForValue) {
+    public Builder addNodePools(com.google.container.v1beta1.NodePool.Builder builderForValue) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
         nodePools_.add(builderForValue.build());
@@ -7723,6 +8452,8 @@ public Builder addNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7743,6 +8474,8 @@ public Builder addNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7755,8 +8488,7 @@ public Builder addAllNodePools(
         java.lang.Iterable values) {
       if (nodePoolsBuilder_ == null) {
         ensureNodePoolsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, nodePools_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_);
         onChanged();
       } else {
         nodePoolsBuilder_.addAllMessages(values);
@@ -7764,6 +8496,8 @@ public Builder addAllNodePools(
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7783,6 +8517,8 @@ public Builder clearNodePools() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7802,6 +8538,8 @@ public Builder removeNodePools(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7810,11 +8548,12 @@ public Builder removeNodePools(int index) {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(
-        int index) {
+    public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(int index) {
       return getNodePoolsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7823,14 +8562,16 @@ public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
-        int index) {
+    public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) {
       if (nodePoolsBuilder_ == null) {
-        return nodePools_.get(index);  } else {
+        return nodePools_.get(index);
+      } else {
         return nodePoolsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7839,8 +8580,8 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public java.util.List 
-         getNodePoolsOrBuilderList() {
+    public java.util.List
+        getNodePoolsOrBuilderList() {
       if (nodePoolsBuilder_ != null) {
         return nodePoolsBuilder_.getMessageOrBuilderList();
       } else {
@@ -7848,6 +8589,8 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7857,10 +8600,12 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
     public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder() {
-      return getNodePoolsFieldBuilder().addBuilder(
-          com.google.container.v1beta1.NodePool.getDefaultInstance());
+      return getNodePoolsFieldBuilder()
+          .addBuilder(com.google.container.v1beta1.NodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7869,12 +8614,13 @@ public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder() {
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(
-        int index) {
-      return getNodePoolsFieldBuilder().addBuilder(
-          index, com.google.container.v1beta1.NodePool.getDefaultInstance());
+    public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(int index) {
+      return getNodePoolsFieldBuilder()
+          .addBuilder(index, com.google.container.v1beta1.NodePool.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The node pools associated with this cluster.
      * This field should not be set if "node_config" or "initial_node_count" are
@@ -7883,33 +8629,39 @@ public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(
      *
      * repeated .google.container.v1beta1.NodePool node_pools = 12;
      */
-    public java.util.List 
-         getNodePoolsBuilderList() {
+    public java.util.List getNodePoolsBuilderList() {
       return getNodePoolsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> 
+            com.google.container.v1beta1.NodePool,
+            com.google.container.v1beta1.NodePool.Builder,
+            com.google.container.v1beta1.NodePoolOrBuilder>
         getNodePoolsFieldBuilder() {
       if (nodePoolsBuilder_ == null) {
-        nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder>(
-                nodePools_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        nodePoolsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1beta1.NodePool,
+                com.google.container.v1beta1.NodePool.Builder,
+                com.google.container.v1beta1.NodePoolOrBuilder>(
+                nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         nodePools_ = null;
       }
       return nodePoolsBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList locations_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureLocationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         locations_ = new com.google.protobuf.LazyStringArrayList(locations_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7923,13 +8675,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7943,12 +8697,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7962,6 +8719,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -7969,6 +8727,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -7982,14 +8742,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8003,21 +8765,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8031,20 +8795,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 13; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8058,18 +8824,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 13; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8083,6 +8850,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 13; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -8092,6 +8860,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -8105,23 +8875,25 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } - private boolean enableKubernetesAlpha_ ; + private boolean enableKubernetesAlpha_; /** + * + * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -8132,6 +8904,7 @@ public Builder addLocationsBytes(
      * 
* * bool enable_kubernetes_alpha = 14; + * * @return The enableKubernetesAlpha. */ @java.lang.Override @@ -8139,6 +8912,8 @@ public boolean getEnableKubernetesAlpha() { return enableKubernetesAlpha_; } /** + * + * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -8149,16 +8924,19 @@ public boolean getEnableKubernetesAlpha() {
      * 
* * bool enable_kubernetes_alpha = 14; + * * @param value The enableKubernetesAlpha to set. * @return This builder for chaining. */ public Builder setEnableKubernetesAlpha(boolean value) { - + enableKubernetesAlpha_ = value; onChanged(); return this; } /** + * + * *
      * Kubernetes alpha features are enabled on this cluster. This includes alpha
      * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -8169,31 +8947,34 @@ public Builder setEnableKubernetesAlpha(boolean value) {
      * 
* * bool enable_kubernetes_alpha = 14; + * * @return This builder for chaining. */ public Builder clearEnableKubernetesAlpha() { - + enableKubernetesAlpha_ = false; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } + private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged();; + internalGetMutableResourceLabels() { + onChanged(); + ; if (resourceLabels_ == null) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = + com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -8205,6 +8986,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8212,22 +8995,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 15;
      */
-
     @java.lang.Override
-    public boolean containsResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getResourceLabelsMap()} instead.
-     */
+    /** Use {@link #getResourceLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8236,11 +9019,12 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8249,16 +9033,17 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8267,12 +9052,11 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 15;
      */
     @java.lang.Override
-
-    public java.lang.String getResourceLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -8280,11 +9064,12 @@ public java.lang.String getResourceLabelsOrThrow(
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap()
-          .clear();
+      internalGetMutableResourceLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8292,23 +9077,21 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 15;
      */
-
-    public Builder removeResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableResourceLabels().getMutableMap()
-          .remove(key);
+    public Builder removeResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableResourceLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableResourceLabels() {
+    public java.util.Map getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8316,19 +9099,20 @@ public Builder removeResourceLabels(
      *
      * map<string, string> resource_labels = 15;
      */
-    public Builder putResourceLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableResourceLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableResourceLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the cluster to use to annotate any related
      * Google Compute Engine resources.
@@ -8336,28 +9120,27 @@ public Builder putResourceLabels(
      *
      * map<string, string> resource_labels = 15;
      */
-
-    public Builder putAllResourceLabels(
-        java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllResourceLabels(java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private java.lang.Object labelFingerprint_ = "";
     /**
+     *
+     *
      * 
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @return The labelFingerprint. */ public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; @@ -8366,20 +9149,21 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -8387,54 +9171,61 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint( - java.lang.String value) { + public Builder setLabelFingerprint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** + * + * *
      * The fingerprint of the set of labels for this cluster.
      * 
* * string label_fingerprint = 16; + * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes( - com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -8442,34 +9233,47 @@ public Builder setLabelFingerprintBytes( private com.google.container.v1beta1.LegacyAbac legacyAbac_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LegacyAbac, com.google.container.v1beta1.LegacyAbac.Builder, com.google.container.v1beta1.LegacyAbacOrBuilder> legacyAbacBuilder_; + com.google.container.v1beta1.LegacyAbac, + com.google.container.v1beta1.LegacyAbac.Builder, + com.google.container.v1beta1.LegacyAbacOrBuilder> + legacyAbacBuilder_; /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; + * * @return Whether the legacyAbac field is set. */ public boolean hasLegacyAbac() { return legacyAbacBuilder_ != null || legacyAbac_ != null; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; + * * @return The legacyAbac. */ public com.google.container.v1beta1.LegacyAbac getLegacyAbac() { if (legacyAbacBuilder_ == null) { - return legacyAbac_ == null ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() : legacyAbac_; + return legacyAbac_ == null + ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() + : legacyAbac_; } else { return legacyAbacBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8490,14 +9294,15 @@ public Builder setLegacyAbac(com.google.container.v1beta1.LegacyAbac value) { return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; */ - public Builder setLegacyAbac( - com.google.container.v1beta1.LegacyAbac.Builder builderForValue) { + public Builder setLegacyAbac(com.google.container.v1beta1.LegacyAbac.Builder builderForValue) { if (legacyAbacBuilder_ == null) { legacyAbac_ = builderForValue.build(); onChanged(); @@ -8508,6 +9313,8 @@ public Builder setLegacyAbac( return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8518,7 +9325,9 @@ public Builder mergeLegacyAbac(com.google.container.v1beta1.LegacyAbac value) { if (legacyAbacBuilder_ == null) { if (legacyAbac_ != null) { legacyAbac_ = - com.google.container.v1beta1.LegacyAbac.newBuilder(legacyAbac_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.LegacyAbac.newBuilder(legacyAbac_) + .mergeFrom(value) + .buildPartial(); } else { legacyAbac_ = value; } @@ -8530,6 +9339,8 @@ public Builder mergeLegacyAbac(com.google.container.v1beta1.LegacyAbac value) { return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8548,6 +9359,8 @@ public Builder clearLegacyAbac() { return this; } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8555,11 +9368,13 @@ public Builder clearLegacyAbac() { * .google.container.v1beta1.LegacyAbac legacy_abac = 18; */ public com.google.container.v1beta1.LegacyAbac.Builder getLegacyAbacBuilder() { - + onChanged(); return getLegacyAbacFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8570,11 +9385,14 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() if (legacyAbacBuilder_ != null) { return legacyAbacBuilder_.getMessageOrBuilder(); } else { - return legacyAbac_ == null ? - com.google.container.v1beta1.LegacyAbac.getDefaultInstance() : legacyAbac_; + return legacyAbac_ == null + ? com.google.container.v1beta1.LegacyAbac.getDefaultInstance() + : legacyAbac_; } } /** + * + * *
      * Configuration for the legacy ABAC authorization mode.
      * 
@@ -8582,14 +9400,17 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() * .google.container.v1beta1.LegacyAbac legacy_abac = 18; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LegacyAbac, com.google.container.v1beta1.LegacyAbac.Builder, com.google.container.v1beta1.LegacyAbacOrBuilder> + com.google.container.v1beta1.LegacyAbac, + com.google.container.v1beta1.LegacyAbac.Builder, + com.google.container.v1beta1.LegacyAbacOrBuilder> getLegacyAbacFieldBuilder() { if (legacyAbacBuilder_ == null) { - legacyAbacBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LegacyAbac, com.google.container.v1beta1.LegacyAbac.Builder, com.google.container.v1beta1.LegacyAbacOrBuilder>( - getLegacyAbac(), - getParentForChildren(), - isClean()); + legacyAbacBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LegacyAbac, + com.google.container.v1beta1.LegacyAbac.Builder, + com.google.container.v1beta1.LegacyAbacOrBuilder>( + getLegacyAbac(), getParentForChildren(), isClean()); legacyAbac_ = null; } return legacyAbacBuilder_; @@ -8597,34 +9418,47 @@ public com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() private com.google.container.v1beta1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> networkPolicyBuilder_; + com.google.container.v1beta1.NetworkPolicy, + com.google.container.v1beta1.NetworkPolicy.Builder, + com.google.container.v1beta1.NetworkPolicyOrBuilder> + networkPolicyBuilder_; /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; + * * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; + * * @return The networkPolicy. */ public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8645,6 +9479,8 @@ public Builder setNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8663,6 +9499,8 @@ public Builder setNetworkPolicy( return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8673,7 +9511,9 @@ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy val if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_) + .mergeFrom(value) + .buildPartial(); } else { networkPolicy_ = value; } @@ -8685,6 +9525,8 @@ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy val return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8703,6 +9545,8 @@ public Builder clearNetworkPolicy() { return this; } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8710,11 +9554,13 @@ public Builder clearNetworkPolicy() { * .google.container.v1beta1.NetworkPolicy network_policy = 19; */ public com.google.container.v1beta1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8725,11 +9571,14 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null ? - com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } } /** + * + * *
      * Configuration options for the NetworkPolicy feature.
      * 
@@ -8737,14 +9586,17 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui * .google.container.v1beta1.NetworkPolicy network_policy = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> + com.google.container.v1beta1.NetworkPolicy, + com.google.container.v1beta1.NetworkPolicy.Builder, + com.google.container.v1beta1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), - getParentForChildren(), - isClean()); + networkPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkPolicy, + com.google.container.v1beta1.NetworkPolicy.Builder, + com.google.container.v1beta1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), getParentForChildren(), isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -8752,34 +9604,47 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui private com.google.container.v1beta1.IPAllocationPolicy ipAllocationPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IPAllocationPolicy, com.google.container.v1beta1.IPAllocationPolicy.Builder, com.google.container.v1beta1.IPAllocationPolicyOrBuilder> ipAllocationPolicyBuilder_; + com.google.container.v1beta1.IPAllocationPolicy, + com.google.container.v1beta1.IPAllocationPolicy.Builder, + com.google.container.v1beta1.IPAllocationPolicyOrBuilder> + ipAllocationPolicyBuilder_; /** + * + * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return Whether the ipAllocationPolicy field is set. */ public boolean hasIpAllocationPolicy() { return ipAllocationPolicyBuilder_ != null || ipAllocationPolicy_ != null; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return The ipAllocationPolicy. */ public com.google.container.v1beta1.IPAllocationPolicy getIpAllocationPolicy() { if (ipAllocationPolicyBuilder_ == null) { - return ipAllocationPolicy_ == null ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() + : ipAllocationPolicy_; } else { return ipAllocationPolicyBuilder_.getMessage(); } } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8800,6 +9665,8 @@ public Builder setIpAllocationPolicy(com.google.container.v1beta1.IPAllocationPo return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8818,6 +9685,8 @@ public Builder setIpAllocationPolicy( return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8828,7 +9697,9 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1beta1.IPAllocation if (ipAllocationPolicyBuilder_ == null) { if (ipAllocationPolicy_ != null) { ipAllocationPolicy_ = - com.google.container.v1beta1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.IPAllocationPolicy.newBuilder(ipAllocationPolicy_) + .mergeFrom(value) + .buildPartial(); } else { ipAllocationPolicy_ = value; } @@ -8840,6 +9711,8 @@ public Builder mergeIpAllocationPolicy(com.google.container.v1beta1.IPAllocation return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8858,6 +9731,8 @@ public Builder clearIpAllocationPolicy() { return this; } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8865,26 +9740,32 @@ public Builder clearIpAllocationPolicy() { * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; */ public com.google.container.v1beta1.IPAllocationPolicy.Builder getIpAllocationPolicyBuilder() { - + onChanged(); return getIpAllocationPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; */ - public com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { + public com.google.container.v1beta1.IPAllocationPolicyOrBuilder + getIpAllocationPolicyOrBuilder() { if (ipAllocationPolicyBuilder_ != null) { return ipAllocationPolicyBuilder_.getMessageOrBuilder(); } else { - return ipAllocationPolicy_ == null ? - com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() : ipAllocationPolicy_; + return ipAllocationPolicy_ == null + ? com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance() + : ipAllocationPolicy_; } } /** + * + * *
      * Configuration for cluster IP allocation.
      * 
@@ -8892,56 +9773,82 @@ public com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationP * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IPAllocationPolicy, com.google.container.v1beta1.IPAllocationPolicy.Builder, com.google.container.v1beta1.IPAllocationPolicyOrBuilder> + com.google.container.v1beta1.IPAllocationPolicy, + com.google.container.v1beta1.IPAllocationPolicy.Builder, + com.google.container.v1beta1.IPAllocationPolicyOrBuilder> getIpAllocationPolicyFieldBuilder() { if (ipAllocationPolicyBuilder_ == null) { - ipAllocationPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IPAllocationPolicy, com.google.container.v1beta1.IPAllocationPolicy.Builder, com.google.container.v1beta1.IPAllocationPolicyOrBuilder>( - getIpAllocationPolicy(), - getParentForChildren(), - isClean()); + ipAllocationPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IPAllocationPolicy, + com.google.container.v1beta1.IPAllocationPolicy.Builder, + com.google.container.v1beta1.IPAllocationPolicyOrBuilder>( + getIpAllocationPolicy(), getParentForChildren(), isClean()); ipAllocationPolicy_ = null; } return ipAllocationPolicyBuilder_; } - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig + masterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> masterAuthorizedNetworksConfigBuilder_; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> + masterAuthorizedNetworksConfigBuilder_; /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return Whether the masterAuthorizedNetworksConfig field is set. */ public boolean hasMasterAuthorizedNetworksConfig() { - return masterAuthorizedNetworksConfigBuilder_ != null || masterAuthorizedNetworksConfig_ != null; + return masterAuthorizedNetworksConfigBuilder_ != null + || masterAuthorizedNetworksConfig_ != null; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return The masterAuthorizedNetworksConfig. */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig + getMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - return masterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null + ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : masterAuthorizedNetworksConfig_; } else { return masterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public Builder setMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder setMasterAuthorizedNetworksConfig( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8955,11 +9862,15 @@ public Builder setMasterAuthorizedNetworksConfig(com.google.container.v1beta1.Ma return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ public Builder setMasterAuthorizedNetworksConfig( com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -8973,17 +9884,25 @@ public Builder setMasterAuthorizedNetworksConfig( return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public Builder mergeMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder mergeMasterAuthorizedNetworksConfig( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (masterAuthorizedNetworksConfigBuilder_ == null) { if (masterAuthorizedNetworksConfig_ != null) { masterAuthorizedNetworksConfig_ = - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder(masterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder( + masterAuthorizedNetworksConfig_) + .mergeFrom(value) + .buildPartial(); } else { masterAuthorizedNetworksConfig_ = value; } @@ -8995,11 +9914,15 @@ public Builder mergeMasterAuthorizedNetworksConfig(com.google.container.v1beta1. return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ public Builder clearMasterAuthorizedNetworksConfig() { if (masterAuthorizedNetworksConfigBuilder_ == null) { @@ -9013,48 +9936,66 @@ public Builder clearMasterAuthorizedNetworksConfig() { return this; } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder getMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder + getMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder + getMasterAuthorizedNetworksConfigOrBuilder() { if (masterAuthorizedNetworksConfigBuilder_ != null) { return masterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return masterAuthorizedNetworksConfig_ == null ? - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : masterAuthorizedNetworksConfig_; + return masterAuthorizedNetworksConfig_ == null + ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : masterAuthorizedNetworksConfig_; } } /** + * + * *
      * The configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> getMasterAuthorizedNetworksConfigFieldBuilder() { if (masterAuthorizedNetworksConfigBuilder_ == null) { - masterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( - getMasterAuthorizedNetworksConfig(), - getParentForChildren(), - isClean()); + masterAuthorizedNetworksConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( + getMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); masterAuthorizedNetworksConfig_ = null; } return masterAuthorizedNetworksConfigBuilder_; @@ -9062,34 +10003,47 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getM private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; + com.google.container.v1beta1.MaintenancePolicy, + com.google.container.v1beta1.MaintenancePolicy.Builder, + com.google.container.v1beta1.MaintenancePolicyOrBuilder> + maintenancePolicyBuilder_; /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; + * * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; + * * @return The maintenancePolicy. */ public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9110,6 +10064,8 @@ public Builder setMaintenancePolicy(com.google.container.v1beta1.MaintenancePoli return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9128,6 +10084,8 @@ public Builder setMaintenancePolicy( return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9138,7 +10096,9 @@ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePo if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_) + .mergeFrom(value) + .buildPartial(); } else { maintenancePolicy_ = value; } @@ -9150,6 +10110,8 @@ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePo return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9168,6 +10130,8 @@ public Builder clearMaintenancePolicy() { return this; } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9175,11 +10139,13 @@ public Builder clearMaintenancePolicy() { * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; */ public com.google.container.v1beta1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9190,11 +10156,14 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null ? - com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } } /** + * + * *
      * Configure the maintenance policy for this cluster.
      * 
@@ -9202,14 +10171,17 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> + com.google.container.v1beta1.MaintenancePolicy, + com.google.container.v1beta1.MaintenancePolicy.Builder, + com.google.container.v1beta1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), - getParentForChildren(), - isClean()); + maintenancePolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenancePolicy, + com.google.container.v1beta1.MaintenancePolicy.Builder, + com.google.container.v1beta1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), getParentForChildren(), isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -9217,34 +10189,47 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol private com.google.container.v1beta1.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; + com.google.container.v1beta1.BinaryAuthorization, + com.google.container.v1beta1.BinaryAuthorization.Builder, + com.google.container.v1beta1.BinaryAuthorizationOrBuilder> + binaryAuthorizationBuilder_; /** + * + * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; + * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return binaryAuthorizationBuilder_ != null || binaryAuthorization_ != null; } /** - *
+     *
+     *
+     * 
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; + * * @return The binaryAuthorization. */ public com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -9265,6 +10250,8 @@ public Builder setBinaryAuthorization(com.google.container.v1beta1.BinaryAuthori return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -9283,17 +10270,22 @@ public Builder setBinaryAuthorization( return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ - public Builder mergeBinaryAuthorization(com.google.container.v1beta1.BinaryAuthorization value) { + public Builder mergeBinaryAuthorization( + com.google.container.v1beta1.BinaryAuthorization value) { if (binaryAuthorizationBuilder_ == null) { if (binaryAuthorization_ != null) { binaryAuthorization_ = - com.google.container.v1beta1.BinaryAuthorization.newBuilder(binaryAuthorization_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.BinaryAuthorization.newBuilder(binaryAuthorization_) + .mergeFrom(value) + .buildPartial(); } else { binaryAuthorization_ = value; } @@ -9305,6 +10297,8 @@ public Builder mergeBinaryAuthorization(com.google.container.v1beta1.BinaryAutho return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -9323,33 +10317,42 @@ public Builder clearBinaryAuthorization() { return this; } /** + * + * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ - public com.google.container.v1beta1.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { - + public com.google.container.v1beta1.BinaryAuthorization.Builder + getBinaryAuthorizationBuilder() { + onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Binary Authorization.
      * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder + getBinaryAuthorizationOrBuilder() { if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null ? - com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; + return binaryAuthorization_ == null + ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() + : binaryAuthorization_; } } /** + * + * *
      * Configuration for Binary Authorization.
      * 
@@ -9357,14 +10360,17 @@ public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthor * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> + com.google.container.v1beta1.BinaryAuthorization, + com.google.container.v1beta1.BinaryAuthorization.Builder, + com.google.container.v1beta1.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), - getParentForChildren(), - isClean()); + binaryAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BinaryAuthorization, + com.google.container.v1beta1.BinaryAuthorization.Builder, + com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), getParentForChildren(), isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; @@ -9372,41 +10378,58 @@ public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthor private com.google.container.v1beta1.PodSecurityPolicyConfig podSecurityPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> podSecurityPolicyConfigBuilder_; + com.google.container.v1beta1.PodSecurityPolicyConfig, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> + podSecurityPolicyConfigBuilder_; /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * + * * @return Whether the podSecurityPolicyConfig field is set. */ public boolean hasPodSecurityPolicyConfig() { return podSecurityPolicyConfigBuilder_ != null || podSecurityPolicyConfig_ != null; } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * + * * @return The podSecurityPolicyConfig. */ public com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicyConfig() { if (podSecurityPolicyConfigBuilder_ == null) { - return podSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : podSecurityPolicyConfig_; + return podSecurityPolicyConfig_ == null + ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() + : podSecurityPolicyConfig_; } else { return podSecurityPolicyConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * */ - public Builder setPodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder setPodSecurityPolicyConfig( + com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (podSecurityPolicyConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9420,11 +10443,14 @@ public Builder setPodSecurityPolicyConfig(com.google.container.v1beta1.PodSecuri return this; } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * */ public Builder setPodSecurityPolicyConfig( com.google.container.v1beta1.PodSecurityPolicyConfig.Builder builderForValue) { @@ -9438,17 +10464,24 @@ public Builder setPodSecurityPolicyConfig( return this; } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * */ - public Builder mergePodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder mergePodSecurityPolicyConfig( + com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (podSecurityPolicyConfigBuilder_ == null) { if (podSecurityPolicyConfig_ != null) { podSecurityPolicyConfig_ = - com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder(podSecurityPolicyConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder( + podSecurityPolicyConfig_) + .mergeFrom(value) + .buildPartial(); } else { podSecurityPolicyConfig_ = value; } @@ -9460,11 +10493,14 @@ public Builder mergePodSecurityPolicyConfig(com.google.container.v1beta1.PodSecu return this; } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * */ public Builder clearPodSecurityPolicyConfig() { if (podSecurityPolicyConfigBuilder_ == null) { @@ -9478,48 +10514,63 @@ public Builder clearPodSecurityPolicyConfig() { return this; } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * */ - public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder getPodSecurityPolicyConfigBuilder() { - + public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder + getPodSecurityPolicyConfigBuilder() { + onChanged(); return getPodSecurityPolicyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * */ - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder + getPodSecurityPolicyConfigOrBuilder() { if (podSecurityPolicyConfigBuilder_ != null) { return podSecurityPolicyConfigBuilder_.getMessageOrBuilder(); } else { - return podSecurityPolicyConfig_ == null ? - com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : podSecurityPolicyConfig_; + return podSecurityPolicyConfig_ == null + ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() + : podSecurityPolicyConfig_; } } /** + * + * *
      * Configuration for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> + com.google.container.v1beta1.PodSecurityPolicyConfig, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> getPodSecurityPolicyConfigFieldBuilder() { if (podSecurityPolicyConfigBuilder_ == null) { - podSecurityPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( - getPodSecurityPolicyConfig(), - getParentForChildren(), - isClean()); + podSecurityPolicyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PodSecurityPolicyConfig, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( + getPodSecurityPolicyConfig(), getParentForChildren(), isClean()); podSecurityPolicyConfig_ = null; } return podSecurityPolicyConfigBuilder_; @@ -9527,34 +10578,47 @@ public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getPodSecur private com.google.container.v1beta1.ClusterAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> autoscalingBuilder_; + com.google.container.v1beta1.ClusterAutoscaling, + com.google.container.v1beta1.ClusterAutoscaling.Builder, + com.google.container.v1beta1.ClusterAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; + * * @return The autoscaling. */ public com.google.container.v1beta1.ClusterAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9575,6 +10639,8 @@ public Builder setAutoscaling(com.google.container.v1beta1.ClusterAutoscaling va return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9593,6 +10659,8 @@ public Builder setAutoscaling( return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9603,7 +10671,9 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.ClusterAutoscaling if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1beta1.ClusterAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ClusterAutoscaling.newBuilder(autoscaling_) + .mergeFrom(value) + .buildPartial(); } else { autoscaling_ = value; } @@ -9615,6 +10685,8 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.ClusterAutoscaling return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9633,6 +10705,8 @@ public Builder clearAutoscaling() { return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9640,11 +10714,13 @@ public Builder clearAutoscaling() { * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; */ public com.google.container.v1beta1.ClusterAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9655,11 +10731,14 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null ? - com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() + : autoscaling_; } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -9667,14 +10746,17 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> + com.google.container.v1beta1.ClusterAutoscaling, + com.google.container.v1beta1.ClusterAutoscaling.Builder, + com.google.container.v1beta1.ClusterAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( - getAutoscaling(), - getParentForChildren(), - isClean()); + autoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterAutoscaling, + com.google.container.v1beta1.ClusterAutoscaling.Builder, + com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( + getAutoscaling(), getParentForChildren(), isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -9682,34 +10764,47 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOr private com.google.container.v1beta1.NetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkConfig, com.google.container.v1beta1.NetworkConfig.Builder, com.google.container.v1beta1.NetworkConfigOrBuilder> networkConfigBuilder_; + com.google.container.v1beta1.NetworkConfig, + com.google.container.v1beta1.NetworkConfig.Builder, + com.google.container.v1beta1.NetworkConfigOrBuilder> + networkConfigBuilder_; /** + * + * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** + * + * *
      * Configuration for cluster networking.
      * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; + * * @return The networkConfig. */ public com.google.container.v1beta1.NetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -9730,6 +10825,8 @@ public Builder setNetworkConfig(com.google.container.v1beta1.NetworkConfig value return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -9748,6 +10845,8 @@ public Builder setNetworkConfig( return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -9758,7 +10857,9 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NetworkConfig val if (networkConfigBuilder_ == null) { if (networkConfig_ != null) { networkConfig_ = - com.google.container.v1beta1.NetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NetworkConfig.newBuilder(networkConfig_) + .mergeFrom(value) + .buildPartial(); } else { networkConfig_ = value; } @@ -9770,6 +10871,8 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NetworkConfig val return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -9788,6 +10891,8 @@ public Builder clearNetworkConfig() { return this; } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -9795,11 +10900,13 @@ public Builder clearNetworkConfig() { * .google.container.v1beta1.NetworkConfig network_config = 27; */ public com.google.container.v1beta1.NetworkConfig.Builder getNetworkConfigBuilder() { - + onChanged(); return getNetworkConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -9810,11 +10917,14 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui if (networkConfigBuilder_ != null) { return networkConfigBuilder_.getMessageOrBuilder(); } else { - return networkConfig_ == null ? - com.google.container.v1beta1.NetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1beta1.NetworkConfig.getDefaultInstance() + : networkConfig_; } } /** + * + * *
      * Configuration for cluster networking.
      * 
@@ -9822,21 +10932,26 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui * .google.container.v1beta1.NetworkConfig network_config = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkConfig, com.google.container.v1beta1.NetworkConfig.Builder, com.google.container.v1beta1.NetworkConfigOrBuilder> + com.google.container.v1beta1.NetworkConfig, + com.google.container.v1beta1.NetworkConfig.Builder, + com.google.container.v1beta1.NetworkConfigOrBuilder> getNetworkConfigFieldBuilder() { if (networkConfigBuilder_ == null) { - networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkConfig, com.google.container.v1beta1.NetworkConfig.Builder, com.google.container.v1beta1.NetworkConfigOrBuilder>( - getNetworkConfig(), - getParentForChildren(), - isClean()); + networkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkConfig, + com.google.container.v1beta1.NetworkConfig.Builder, + com.google.container.v1beta1.NetworkConfigOrBuilder>( + getNetworkConfig(), getParentForChildren(), isClean()); networkConfig_ = null; } return networkConfigBuilder_; } - private boolean privateCluster_ ; + private boolean privateCluster_; /** + * + * *
      * If this is a private cluster setup. Private clusters are clusters that, by
      * default have no external IP addresses on the nodes and where nodes and the
@@ -9846,15 +10961,19 @@ 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=1715 + * + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1715 * @return The privateCluster. */ @java.lang.Override - @java.lang.Deprecated public boolean getPrivateCluster() { + @java.lang.Deprecated + public boolean getPrivateCluster() { return privateCluster_; } /** + * + * *
      * If this is a private cluster setup. Private clusters are clusters that, by
      * default have no external IP addresses on the nodes and where nodes and the
@@ -9864,18 +10983,22 @@ 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=1715 + * + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1715 * @param value The privateCluster to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPrivateCluster(boolean value) { - + @java.lang.Deprecated + public Builder setPrivateCluster(boolean value) { + privateCluster_ = value; onChanged(); return this; } /** + * + * *
      * If this is a private cluster setup. Private clusters are clusters that, by
      * default have no external IP addresses on the nodes and where nodes and the
@@ -9885,12 +11008,14 @@ 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=1715 + * + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1715 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearPrivateCluster() { - + @java.lang.Deprecated + public Builder clearPrivateCluster() { + privateCluster_ = false; onChanged(); return this; @@ -9898,6 +11023,8 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui private java.lang.Object masterIpv4CidrBlock_ = ""; /** + * + * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -9907,15 +11034,16 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
      * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @return The masterIpv4CidrBlock. */ - @java.lang.Deprecated public java.lang.String getMasterIpv4CidrBlock() { + @java.lang.Deprecated + public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -9924,6 +11052,8 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui } } /** + * + * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -9933,17 +11063,17 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
      * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @return The bytes for masterIpv4CidrBlock. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -9951,6 +11081,8 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui } } /** + * + * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -9960,22 +11092,25 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
      * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMasterIpv4CidrBlock( - java.lang.String value) { + @java.lang.Deprecated + public Builder setMasterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -9985,17 +11120,21 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
      * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearMasterIpv4CidrBlock() { - + @java.lang.Deprecated + public Builder clearMasterIpv4CidrBlock() { + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP prefix in CIDR notation to use for the hosted master network.
      * This prefix will be used for assigning private IP addresses to the
@@ -10005,18 +11144,19 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
      * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setMasterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -10024,8 +11164,13 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui private com.google.container.v1beta1.MaxPodsConstraint defaultMaxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> defaultMaxPodsConstraintBuilder_; + com.google.container.v1beta1.MaxPodsConstraint, + com.google.container.v1beta1.MaxPodsConstraint.Builder, + com.google.container.v1beta1.MaxPodsConstraintOrBuilder> + defaultMaxPodsConstraintBuilder_; /** + * + * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10033,12 +11178,15 @@ public com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBui
      * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return Whether the defaultMaxPodsConstraint field is set. */ public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraintBuilder_ != null || defaultMaxPodsConstraint_ != null; } /** + * + * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10046,16 +11194,21 @@ public boolean hasDefaultMaxPodsConstraint() {
      * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return The defaultMaxPodsConstraint. */ public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstraint() { if (defaultMaxPodsConstraintBuilder_ == null) { - return defaultMaxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_; + return defaultMaxPodsConstraint_ == null + ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() + : defaultMaxPodsConstraint_; } else { return defaultMaxPodsConstraintBuilder_.getMessage(); } } /** + * + * *
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10064,7 +11217,8 @@ public com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstrain
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public Builder setDefaultMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstraint value) {
+    public Builder setDefaultMaxPodsConstraint(
+        com.google.container.v1beta1.MaxPodsConstraint value) {
       if (defaultMaxPodsConstraintBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -10078,6 +11232,8 @@ public Builder setDefaultMaxPodsConstraint(com.google.container.v1beta1.MaxPodsC
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10098,6 +11254,8 @@ public Builder setDefaultMaxPodsConstraint(
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10106,11 +11264,14 @@ public Builder setDefaultMaxPodsConstraint(
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public Builder mergeDefaultMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstraint value) {
+    public Builder mergeDefaultMaxPodsConstraint(
+        com.google.container.v1beta1.MaxPodsConstraint value) {
       if (defaultMaxPodsConstraintBuilder_ == null) {
         if (defaultMaxPodsConstraint_ != null) {
           defaultMaxPodsConstraint_ =
-            com.google.container.v1beta1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.MaxPodsConstraint.newBuilder(defaultMaxPodsConstraint_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           defaultMaxPodsConstraint_ = value;
         }
@@ -10122,6 +11283,8 @@ public Builder mergeDefaultMaxPodsConstraint(com.google.container.v1beta1.MaxPod
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10142,6 +11305,8 @@ public Builder clearDefaultMaxPodsConstraint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10150,12 +11315,15 @@ public Builder clearDefaultMaxPodsConstraint() {
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public com.google.container.v1beta1.MaxPodsConstraint.Builder getDefaultMaxPodsConstraintBuilder() {
-      
+    public com.google.container.v1beta1.MaxPodsConstraint.Builder
+        getDefaultMaxPodsConstraintBuilder() {
+
       onChanged();
       return getDefaultMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10164,15 +11332,19 @@ public com.google.container.v1beta1.MaxPodsConstraint.Builder getDefaultMaxPodsC
      *
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
-    public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder() {
+    public com.google.container.v1beta1.MaxPodsConstraintOrBuilder
+        getDefaultMaxPodsConstraintOrBuilder() {
       if (defaultMaxPodsConstraintBuilder_ != null) {
         return defaultMaxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return defaultMaxPodsConstraint_ == null ?
-            com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : defaultMaxPodsConstraint_;
+        return defaultMaxPodsConstraint_ == null
+            ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance()
+            : defaultMaxPodsConstraint_;
       }
     }
     /**
+     *
+     *
      * 
      * The default constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool of this cluster. Only honored
@@ -10182,14 +11354,17 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPods
      * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> 
+            com.google.container.v1beta1.MaxPodsConstraint,
+            com.google.container.v1beta1.MaxPodsConstraint.Builder,
+            com.google.container.v1beta1.MaxPodsConstraintOrBuilder>
         getDefaultMaxPodsConstraintFieldBuilder() {
       if (defaultMaxPodsConstraintBuilder_ == null) {
-        defaultMaxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
-                getDefaultMaxPodsConstraint(),
-                getParentForChildren(),
-                isClean());
+        defaultMaxPodsConstraintBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.MaxPodsConstraint,
+                com.google.container.v1beta1.MaxPodsConstraint.Builder,
+                com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
+                getDefaultMaxPodsConstraint(), getParentForChildren(), isClean());
         defaultMaxPodsConstraint_ = null;
       }
       return defaultMaxPodsConstraintBuilder_;
@@ -10197,44 +11372,61 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPods
 
     private com.google.container.v1beta1.ResourceUsageExportConfig resourceUsageExportConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> resourceUsageExportConfigBuilder_;
+            com.google.container.v1beta1.ResourceUsageExportConfig,
+            com.google.container.v1beta1.ResourceUsageExportConfig.Builder,
+            com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>
+        resourceUsageExportConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return Whether the resourceUsageExportConfig field is set. */ public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfigBuilder_ != null || resourceUsageExportConfig_ != null; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return The resourceUsageExportConfig. */ public com.google.container.v1beta1.ResourceUsageExportConfig getResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { - return resourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() + : resourceUsageExportConfig_; } else { return resourceUsageExportConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public Builder setResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder setResourceUsageExportConfig( + com.google.container.v1beta1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10248,12 +11440,15 @@ public Builder setResourceUsageExportConfig(com.google.container.v1beta1.Resourc return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ public Builder setResourceUsageExportConfig( com.google.container.v1beta1.ResourceUsageExportConfig.Builder builderForValue) { @@ -10267,18 +11462,25 @@ public Builder setResourceUsageExportConfig( return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public Builder mergeResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder mergeResourceUsageExportConfig( + com.google.container.v1beta1.ResourceUsageExportConfig value) { if (resourceUsageExportConfigBuilder_ == null) { if (resourceUsageExportConfig_ != null) { resourceUsageExportConfig_ = - com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder(resourceUsageExportConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder( + resourceUsageExportConfig_) + .mergeFrom(value) + .buildPartial(); } else { resourceUsageExportConfig_ = value; } @@ -10290,12 +11492,15 @@ public Builder mergeResourceUsageExportConfig(com.google.container.v1beta1.Resou return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ public Builder clearResourceUsageExportConfig() { if (resourceUsageExportConfigBuilder_ == null) { @@ -10309,51 +11514,66 @@ public Builder clearResourceUsageExportConfig() { return this; } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfig.Builder getResourceUsageExportConfigBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.Builder + getResourceUsageExportConfigBuilder() { + onChanged(); return getResourceUsageExportConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder + getResourceUsageExportConfigOrBuilder() { if (resourceUsageExportConfigBuilder_ != null) { return resourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return resourceUsageExportConfig_ == null ? - com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : resourceUsageExportConfig_; + return resourceUsageExportConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() + : resourceUsageExportConfig_; } } /** + * + * *
      * Configuration for exporting resource usages. Resource usage export is
      * disabled when this config unspecified.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.Builder, + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> getResourceUsageExportConfigFieldBuilder() { if (resourceUsageExportConfigBuilder_ == null) { - resourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( - getResourceUsageExportConfig(), - getParentForChildren(), - isClean()); + resourceUsageExportConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.Builder, + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( + getResourceUsageExportConfig(), getParentForChildren(), isClean()); resourceUsageExportConfig_ = null; } return resourceUsageExportConfigBuilder_; @@ -10361,41 +11581,58 @@ public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getResour private com.google.container.v1beta1.AuthenticatorGroupsConfig authenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> authenticatorGroupsConfigBuilder_; + com.google.container.v1beta1.AuthenticatorGroupsConfig, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> + authenticatorGroupsConfigBuilder_; /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * + * * @return Whether the authenticatorGroupsConfig field is set. */ public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfigBuilder_ != null || authenticatorGroupsConfig_ != null; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * + * * @return The authenticatorGroupsConfig. */ public com.google.container.v1beta1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { if (authenticatorGroupsConfigBuilder_ == null) { - return authenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null + ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() + : authenticatorGroupsConfig_; } else { return authenticatorGroupsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ - public Builder setAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder setAuthenticatorGroupsConfig( + com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10409,11 +11646,14 @@ public Builder setAuthenticatorGroupsConfig(com.google.container.v1beta1.Authent return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ public Builder setAuthenticatorGroupsConfig( com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder builderForValue) { @@ -10427,17 +11667,24 @@ public Builder setAuthenticatorGroupsConfig( return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ - public Builder mergeAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder mergeAuthenticatorGroupsConfig( + com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (authenticatorGroupsConfigBuilder_ == null) { if (authenticatorGroupsConfig_ != null) { authenticatorGroupsConfig_ = - com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder(authenticatorGroupsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder( + authenticatorGroupsConfig_) + .mergeFrom(value) + .buildPartial(); } else { authenticatorGroupsConfig_ = value; } @@ -10449,11 +11696,14 @@ public Builder mergeAuthenticatorGroupsConfig(com.google.container.v1beta1.Authe return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ public Builder clearAuthenticatorGroupsConfig() { if (authenticatorGroupsConfigBuilder_ == null) { @@ -10467,48 +11717,63 @@ public Builder clearAuthenticatorGroupsConfig() { return this; } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ - public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder getAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder + getAuthenticatorGroupsConfigBuilder() { + onChanged(); return getAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder + getAuthenticatorGroupsConfigOrBuilder() { if (authenticatorGroupsConfigBuilder_ != null) { return authenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return authenticatorGroupsConfig_ == null ? - com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : authenticatorGroupsConfig_; + return authenticatorGroupsConfig_ == null + ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() + : authenticatorGroupsConfig_; } } /** + * + * *
      * Configuration controlling RBAC group membership information.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1beta1.AuthenticatorGroupsConfig, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> getAuthenticatorGroupsConfigFieldBuilder() { if (authenticatorGroupsConfigBuilder_ == null) { - authenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( - getAuthenticatorGroupsConfig(), - getParentForChildren(), - isClean()); + authenticatorGroupsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AuthenticatorGroupsConfig, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( + getAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); authenticatorGroupsConfig_ = null; } return authenticatorGroupsConfigBuilder_; @@ -10516,41 +11781,55 @@ public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getAuthen private com.google.container.v1beta1.PrivateClusterConfig privateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> privateClusterConfigBuilder_; + com.google.container.v1beta1.PrivateClusterConfig, + com.google.container.v1beta1.PrivateClusterConfig.Builder, + com.google.container.v1beta1.PrivateClusterConfigOrBuilder> + privateClusterConfigBuilder_; /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; + * * @return Whether the privateClusterConfig field is set. */ public boolean hasPrivateClusterConfig() { return privateClusterConfigBuilder_ != null || privateClusterConfig_ != null; } /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; + * * @return The privateClusterConfig. */ public com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig() { if (privateClusterConfigBuilder_ == null) { - return privateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() + : privateClusterConfig_; } else { return privateClusterConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public Builder setPrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder setPrivateClusterConfig( + com.google.container.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10564,6 +11843,8 @@ public Builder setPrivateClusterConfig(com.google.container.v1beta1.PrivateClust return this; } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -10582,17 +11863,22 @@ public Builder setPrivateClusterConfig( return this; } /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public Builder mergePrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder mergePrivateClusterConfig( + com.google.container.v1beta1.PrivateClusterConfig value) { if (privateClusterConfigBuilder_ == null) { if (privateClusterConfig_ != null) { privateClusterConfig_ = - com.google.container.v1beta1.PrivateClusterConfig.newBuilder(privateClusterConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.PrivateClusterConfig.newBuilder(privateClusterConfig_) + .mergeFrom(value) + .buildPartial(); } else { privateClusterConfig_ = value; } @@ -10604,6 +11890,8 @@ public Builder mergePrivateClusterConfig(com.google.container.v1beta1.PrivateClu return this; } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -10622,33 +11910,42 @@ public Builder clearPrivateClusterConfig() { return this; } /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public com.google.container.v1beta1.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder() { - + public com.google.container.v1beta1.PrivateClusterConfig.Builder + getPrivateClusterConfigBuilder() { + onChanged(); return getPrivateClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for private cluster.
      * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder + getPrivateClusterConfigOrBuilder() { if (privateClusterConfigBuilder_ != null) { return privateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return privateClusterConfig_ == null ? - com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : privateClusterConfig_; + return privateClusterConfig_ == null + ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() + : privateClusterConfig_; } } /** + * + * *
      * Configuration for private cluster.
      * 
@@ -10656,14 +11953,17 @@ public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClus * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> + com.google.container.v1beta1.PrivateClusterConfig, + com.google.container.v1beta1.PrivateClusterConfig.Builder, + com.google.container.v1beta1.PrivateClusterConfigOrBuilder> getPrivateClusterConfigFieldBuilder() { if (privateClusterConfigBuilder_ == null) { - privateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( - getPrivateClusterConfig(), - getParentForChildren(), - isClean()); + privateClusterConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivateClusterConfig, + com.google.container.v1beta1.PrivateClusterConfig.Builder, + com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( + getPrivateClusterConfig(), getParentForChildren(), isClean()); privateClusterConfig_ = null; } return privateClusterConfigBuilder_; @@ -10671,41 +11971,55 @@ public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClus private com.google.container.v1beta1.VerticalPodAutoscaling verticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> verticalPodAutoscalingBuilder_; + com.google.container.v1beta1.VerticalPodAutoscaling, + com.google.container.v1beta1.VerticalPodAutoscaling.Builder, + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> + verticalPodAutoscalingBuilder_; /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return Whether the verticalPodAutoscaling field is set. */ public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscalingBuilder_ != null || verticalPodAutoscaling_ != null; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return The verticalPodAutoscaling. */ public com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutoscaling() { if (verticalPodAutoscalingBuilder_ == null) { - return verticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null + ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() + : verticalPodAutoscaling_; } else { return verticalPodAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public Builder setVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder setVerticalPodAutoscaling( + com.google.container.v1beta1.VerticalPodAutoscaling value) { if (verticalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10719,6 +12033,8 @@ public Builder setVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPo return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -10737,17 +12053,23 @@ public Builder setVerticalPodAutoscaling( return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public Builder mergeVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder mergeVerticalPodAutoscaling( + com.google.container.v1beta1.VerticalPodAutoscaling value) { if (verticalPodAutoscalingBuilder_ == null) { if (verticalPodAutoscaling_ != null) { verticalPodAutoscaling_ = - com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder(verticalPodAutoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder( + verticalPodAutoscaling_) + .mergeFrom(value) + .buildPartial(); } else { verticalPodAutoscaling_ = value; } @@ -10759,6 +12081,8 @@ public Builder mergeVerticalPodAutoscaling(com.google.container.v1beta1.Vertical return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -10777,33 +12101,42 @@ public Builder clearVerticalPodAutoscaling() { return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1beta1.VerticalPodAutoscaling.Builder getVerticalPodAutoscalingBuilder() { - + public com.google.container.v1beta1.VerticalPodAutoscaling.Builder + getVerticalPodAutoscalingBuilder() { + onChanged(); return getVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder + getVerticalPodAutoscalingOrBuilder() { if (verticalPodAutoscalingBuilder_ != null) { return verticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return verticalPodAutoscaling_ == null ? - com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : verticalPodAutoscaling_; + return verticalPodAutoscaling_ == null + ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() + : verticalPodAutoscaling_; } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
@@ -10811,14 +12144,17 @@ public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalP * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1beta1.VerticalPodAutoscaling, + com.google.container.v1beta1.VerticalPodAutoscaling.Builder, + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> getVerticalPodAutoscalingFieldBuilder() { if (verticalPodAutoscalingBuilder_ == null) { - verticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( - getVerticalPodAutoscaling(), - getParentForChildren(), - isClean()); + verticalPodAutoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VerticalPodAutoscaling, + com.google.container.v1beta1.VerticalPodAutoscaling.Builder, + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( + getVerticalPodAutoscaling(), getParentForChildren(), isClean()); verticalPodAutoscaling_ = null; } return verticalPodAutoscalingBuilder_; @@ -10826,34 +12162,47 @@ public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalP private com.google.container.v1beta1.ShieldedNodes shieldedNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> shieldedNodesBuilder_; + com.google.container.v1beta1.ShieldedNodes, + com.google.container.v1beta1.ShieldedNodes.Builder, + com.google.container.v1beta1.ShieldedNodesOrBuilder> + shieldedNodesBuilder_; /** + * + * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; + * * @return Whether the shieldedNodes field is set. */ public boolean hasShieldedNodes() { return shieldedNodesBuilder_ != null || shieldedNodes_ != null; } /** + * + * *
      * Shielded Nodes configuration.
      * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; + * * @return The shieldedNodes. */ public com.google.container.v1beta1.ShieldedNodes getShieldedNodes() { if (shieldedNodesBuilder_ == null) { - return shieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; + return shieldedNodes_ == null + ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() + : shieldedNodes_; } else { return shieldedNodesBuilder_.getMessage(); } } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10874,6 +12223,8 @@ public Builder setShieldedNodes(com.google.container.v1beta1.ShieldedNodes value return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10892,6 +12243,8 @@ public Builder setShieldedNodes( return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10902,7 +12255,9 @@ public Builder mergeShieldedNodes(com.google.container.v1beta1.ShieldedNodes val if (shieldedNodesBuilder_ == null) { if (shieldedNodes_ != null) { shieldedNodes_ = - com.google.container.v1beta1.ShieldedNodes.newBuilder(shieldedNodes_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ShieldedNodes.newBuilder(shieldedNodes_) + .mergeFrom(value) + .buildPartial(); } else { shieldedNodes_ = value; } @@ -10914,6 +12269,8 @@ public Builder mergeShieldedNodes(com.google.container.v1beta1.ShieldedNodes val return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10932,6 +12289,8 @@ public Builder clearShieldedNodes() { return this; } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10939,11 +12298,13 @@ public Builder clearShieldedNodes() { * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; */ public com.google.container.v1beta1.ShieldedNodes.Builder getShieldedNodesBuilder() { - + onChanged(); return getShieldedNodesFieldBuilder().getBuilder(); } /** + * + * *
      * Shielded Nodes configuration.
      * 
@@ -10954,26 +12315,32 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBui if (shieldedNodesBuilder_ != null) { return shieldedNodesBuilder_.getMessageOrBuilder(); } else { - return shieldedNodes_ == null ? - com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : shieldedNodes_; + return shieldedNodes_ == null + ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() + : shieldedNodes_; } } /** - *
+     *
+     *
+     * 
      * Shielded Nodes configuration.
      * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> + com.google.container.v1beta1.ShieldedNodes, + com.google.container.v1beta1.ShieldedNodes.Builder, + com.google.container.v1beta1.ShieldedNodesOrBuilder> getShieldedNodesFieldBuilder() { if (shieldedNodesBuilder_ == null) { - shieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder>( - getShieldedNodes(), - getParentForChildren(), - isClean()); + shieldedNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedNodes, + com.google.container.v1beta1.ShieldedNodes.Builder, + com.google.container.v1beta1.ShieldedNodesOrBuilder>( + getShieldedNodes(), getParentForChildren(), isClean()); shieldedNodes_ = null; } return shieldedNodesBuilder_; @@ -10981,34 +12348,47 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBui private com.google.container.v1beta1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> releaseChannelBuilder_; + com.google.container.v1beta1.ReleaseChannel, + com.google.container.v1beta1.ReleaseChannel.Builder, + com.google.container.v1beta1.ReleaseChannelOrBuilder> + releaseChannelBuilder_; /** + * + * *
      * Release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; + * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** + * + * *
      * Release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; + * * @return The releaseChannel. */ public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** + * + * *
      * Release channel configuration.
      * 
@@ -11029,6 +12409,8 @@ public Builder setReleaseChannel(com.google.container.v1beta1.ReleaseChannel val return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -11047,6 +12429,8 @@ public Builder setReleaseChannel( return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -11057,7 +12441,9 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v if (releaseChannelBuilder_ == null) { if (releaseChannel_ != null) { releaseChannel_ = - com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_) + .mergeFrom(value) + .buildPartial(); } else { releaseChannel_ = value; } @@ -11069,6 +12455,8 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -11087,6 +12475,8 @@ public Builder clearReleaseChannel() { return this; } /** + * + * *
      * Release channel configuration.
      * 
@@ -11094,11 +12484,13 @@ public Builder clearReleaseChannel() { * .google.container.v1beta1.ReleaseChannel release_channel = 41; */ public com.google.container.v1beta1.ReleaseChannel.Builder getReleaseChannelBuilder() { - + onChanged(); return getReleaseChannelFieldBuilder().getBuilder(); } /** + * + * *
      * Release channel configuration.
      * 
@@ -11109,11 +12501,14 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB if (releaseChannelBuilder_ != null) { return releaseChannelBuilder_.getMessageOrBuilder(); } else { - return releaseChannel_ == null ? - com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } } /** + * + * *
      * Release channel configuration.
      * 
@@ -11121,14 +12516,17 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB * .google.container.v1beta1.ReleaseChannel release_channel = 41; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> + com.google.container.v1beta1.ReleaseChannel, + com.google.container.v1beta1.ReleaseChannel.Builder, + com.google.container.v1beta1.ReleaseChannelOrBuilder> getReleaseChannelFieldBuilder() { if (releaseChannelBuilder_ == null) { - releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder>( - getReleaseChannel(), - getParentForChildren(), - isClean()); + releaseChannelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ReleaseChannel, + com.google.container.v1beta1.ReleaseChannel.Builder, + com.google.container.v1beta1.ReleaseChannelOrBuilder>( + getReleaseChannel(), getParentForChildren(), isClean()); releaseChannel_ = null; } return releaseChannelBuilder_; @@ -11136,36 +12534,49 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB private com.google.container.v1beta1.WorkloadIdentityConfig workloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> workloadIdentityConfigBuilder_; + com.google.container.v1beta1.WorkloadIdentityConfig, + com.google.container.v1beta1.WorkloadIdentityConfig.Builder, + com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> + workloadIdentityConfigBuilder_; /** + * + * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return Whether the workloadIdentityConfig field is set. */ public boolean hasWorkloadIdentityConfig() { return workloadIdentityConfigBuilder_ != null || workloadIdentityConfig_ != null; } /** + * + * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
      * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return The workloadIdentityConfig. */ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityConfig() { if (workloadIdentityConfigBuilder_ == null) { - return workloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_; + return workloadIdentityConfig_ == null + ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() + : workloadIdentityConfig_; } else { return workloadIdentityConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11173,7 +12584,8 @@ public com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityCo
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public Builder setWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) {
+    public Builder setWorkloadIdentityConfig(
+        com.google.container.v1beta1.WorkloadIdentityConfig value) {
       if (workloadIdentityConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11187,6 +12599,8 @@ public Builder setWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadId
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11206,6 +12620,8 @@ public Builder setWorkloadIdentityConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11213,11 +12629,15 @@ public Builder setWorkloadIdentityConfig(
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public Builder mergeWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) {
+    public Builder mergeWorkloadIdentityConfig(
+        com.google.container.v1beta1.WorkloadIdentityConfig value) {
       if (workloadIdentityConfigBuilder_ == null) {
         if (workloadIdentityConfig_ != null) {
           workloadIdentityConfig_ =
-            com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder(workloadIdentityConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder(
+                      workloadIdentityConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           workloadIdentityConfig_ = value;
         }
@@ -11229,6 +12649,8 @@ public Builder mergeWorkloadIdentityConfig(com.google.container.v1beta1.Workload
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11248,6 +12670,8 @@ public Builder clearWorkloadIdentityConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11255,12 +12679,15 @@ public Builder clearWorkloadIdentityConfig() {
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1beta1.WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder() {
-      
+    public com.google.container.v1beta1.WorkloadIdentityConfig.Builder
+        getWorkloadIdentityConfigBuilder() {
+
       onChanged();
       return getWorkloadIdentityConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11268,15 +12695,19 @@ public com.google.container.v1beta1.WorkloadIdentityConfig.Builder getWorkloadId
      *
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
-    public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder() {
+    public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder
+        getWorkloadIdentityConfigOrBuilder() {
       if (workloadIdentityConfigBuilder_ != null) {
         return workloadIdentityConfigBuilder_.getMessageOrBuilder();
       } else {
-        return workloadIdentityConfig_ == null ?
-            com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : workloadIdentityConfig_;
+        return workloadIdentityConfig_ == null
+            ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance()
+            : workloadIdentityConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for the use of Kubernetes Service Accounts in GCP IAM
      * policies.
@@ -11285,14 +12716,17 @@ public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadI
      * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> 
+            com.google.container.v1beta1.WorkloadIdentityConfig,
+            com.google.container.v1beta1.WorkloadIdentityConfig.Builder,
+            com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>
         getWorkloadIdentityConfigFieldBuilder() {
       if (workloadIdentityConfigBuilder_ == null) {
-        workloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>(
-                getWorkloadIdentityConfig(),
-                getParentForChildren(),
-                isClean());
+        workloadIdentityConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.WorkloadIdentityConfig,
+                com.google.container.v1beta1.WorkloadIdentityConfig.Builder,
+                com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>(
+                getWorkloadIdentityConfig(), getParentForChildren(), isClean());
         workloadIdentityConfig_ = null;
       }
       return workloadIdentityConfigBuilder_;
@@ -11300,36 +12734,49 @@ public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadI
 
     private com.google.container.v1beta1.WorkloadCertificates workloadCertificates_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> workloadCertificatesBuilder_;
+            com.google.container.v1beta1.WorkloadCertificates,
+            com.google.container.v1beta1.WorkloadCertificates.Builder,
+            com.google.container.v1beta1.WorkloadCertificatesOrBuilder>
+        workloadCertificatesBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; + * * @return Whether the workloadCertificates field is set. */ public boolean hasWorkloadCertificates() { return workloadCertificatesBuilder_ != null || workloadCertificates_ != null; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; + * * @return The workloadCertificates. */ public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates() { if (workloadCertificatesBuilder_ == null) { - return workloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : workloadCertificates_; + return workloadCertificates_ == null + ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() + : workloadCertificates_; } else { return workloadCertificatesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11337,7 +12784,8 @@ public com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public Builder setWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) {
+    public Builder setWorkloadCertificates(
+        com.google.container.v1beta1.WorkloadCertificates value) {
       if (workloadCertificatesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -11351,6 +12799,8 @@ public Builder setWorkloadCertificates(com.google.container.v1beta1.WorkloadCert
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11370,6 +12820,8 @@ public Builder setWorkloadCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11377,11 +12829,14 @@ public Builder setWorkloadCertificates(
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public Builder mergeWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) {
+    public Builder mergeWorkloadCertificates(
+        com.google.container.v1beta1.WorkloadCertificates value) {
       if (workloadCertificatesBuilder_ == null) {
         if (workloadCertificates_ != null) {
           workloadCertificates_ =
-            com.google.container.v1beta1.WorkloadCertificates.newBuilder(workloadCertificates_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.WorkloadCertificates.newBuilder(workloadCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           workloadCertificates_ = value;
         }
@@ -11393,6 +12848,8 @@ public Builder mergeWorkloadCertificates(com.google.container.v1beta1.WorkloadCe
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11412,6 +12869,8 @@ public Builder clearWorkloadCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11419,12 +12878,15 @@ public Builder clearWorkloadCertificates() {
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public com.google.container.v1beta1.WorkloadCertificates.Builder getWorkloadCertificatesBuilder() {
-      
+    public com.google.container.v1beta1.WorkloadCertificates.Builder
+        getWorkloadCertificatesBuilder() {
+
       onChanged();
       return getWorkloadCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11432,15 +12894,19 @@ public com.google.container.v1beta1.WorkloadCertificates.Builder getWorkloadCert
      *
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
-    public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCertificatesOrBuilder() {
+    public com.google.container.v1beta1.WorkloadCertificatesOrBuilder
+        getWorkloadCertificatesOrBuilder() {
       if (workloadCertificatesBuilder_ != null) {
         return workloadCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return workloadCertificates_ == null ?
-            com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : workloadCertificates_;
+        return workloadCertificates_ == null
+            ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance()
+            : workloadCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11449,14 +12915,17 @@ public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCer
      * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> 
+            com.google.container.v1beta1.WorkloadCertificates,
+            com.google.container.v1beta1.WorkloadCertificates.Builder,
+            com.google.container.v1beta1.WorkloadCertificatesOrBuilder>
         getWorkloadCertificatesFieldBuilder() {
       if (workloadCertificatesBuilder_ == null) {
-        workloadCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder>(
-                getWorkloadCertificates(),
-                getParentForChildren(),
-                isClean());
+        workloadCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.WorkloadCertificates,
+                com.google.container.v1beta1.WorkloadCertificates.Builder,
+                com.google.container.v1beta1.WorkloadCertificatesOrBuilder>(
+                getWorkloadCertificates(), getParentForChildren(), isClean());
         workloadCertificates_ = null;
       }
       return workloadCertificatesBuilder_;
@@ -11464,36 +12933,49 @@ public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCer
 
     private com.google.container.v1beta1.MeshCertificates meshCertificates_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> meshCertificatesBuilder_;
+            com.google.container.v1beta1.MeshCertificates,
+            com.google.container.v1beta1.MeshCertificates.Builder,
+            com.google.container.v1beta1.MeshCertificatesOrBuilder>
+        meshCertificatesBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; + * * @return Whether the meshCertificates field is set. */ public boolean hasMeshCertificates() { return meshCertificatesBuilder_ != null || meshCertificates_ != null; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; + * * @return The meshCertificates. */ public com.google.container.v1beta1.MeshCertificates getMeshCertificates() { if (meshCertificatesBuilder_ == null) { - return meshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : meshCertificates_; + return meshCertificates_ == null + ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() + : meshCertificates_; } else { return meshCertificatesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11515,6 +12997,8 @@ public Builder setMeshCertificates(com.google.container.v1beta1.MeshCertificates
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11534,6 +13018,8 @@ public Builder setMeshCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11545,7 +13031,9 @@ public Builder mergeMeshCertificates(com.google.container.v1beta1.MeshCertificat
       if (meshCertificatesBuilder_ == null) {
         if (meshCertificates_ != null) {
           meshCertificates_ =
-            com.google.container.v1beta1.MeshCertificates.newBuilder(meshCertificates_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.MeshCertificates.newBuilder(meshCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           meshCertificates_ = value;
         }
@@ -11557,6 +13045,8 @@ public Builder mergeMeshCertificates(com.google.container.v1beta1.MeshCertificat
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11576,6 +13066,8 @@ public Builder clearMeshCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11584,11 +13076,13 @@ public Builder clearMeshCertificates() {
      * .google.container.v1beta1.MeshCertificates mesh_certificates = 67;
      */
     public com.google.container.v1beta1.MeshCertificates.Builder getMeshCertificatesBuilder() {
-      
+
       onChanged();
       return getMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11600,11 +13094,14 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
       if (meshCertificatesBuilder_ != null) {
         return meshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return meshCertificates_ == null ?
-            com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : meshCertificates_;
+        return meshCertificates_ == null
+            ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance()
+            : meshCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -11613,14 +13110,17 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
      * .google.container.v1beta1.MeshCertificates mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> 
+            com.google.container.v1beta1.MeshCertificates,
+            com.google.container.v1beta1.MeshCertificates.Builder,
+            com.google.container.v1beta1.MeshCertificatesOrBuilder>
         getMeshCertificatesFieldBuilder() {
       if (meshCertificatesBuilder_ == null) {
-        meshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder>(
-                getMeshCertificates(),
-                getParentForChildren(),
-                isClean());
+        meshCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.MeshCertificates,
+                com.google.container.v1beta1.MeshCertificates.Builder,
+                com.google.container.v1beta1.MeshCertificatesOrBuilder>(
+                getMeshCertificates(), getParentForChildren(), isClean());
         meshCertificates_ = null;
       }
       return meshCertificatesBuilder_;
@@ -11628,34 +13128,47 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificate
 
     private com.google.container.v1beta1.WorkloadALTSConfig workloadAltsConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> workloadAltsConfigBuilder_;
+            com.google.container.v1beta1.WorkloadALTSConfig,
+            com.google.container.v1beta1.WorkloadALTSConfig.Builder,
+            com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>
+        workloadAltsConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * * @return Whether the workloadAltsConfig field is set. */ public boolean hasWorkloadAltsConfig() { return workloadAltsConfigBuilder_ != null || workloadAltsConfig_ != null; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * * @return The workloadAltsConfig. */ public com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig() { if (workloadAltsConfigBuilder_ == null) { - return workloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : workloadAltsConfig_; + return workloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : workloadAltsConfig_; } else { return workloadAltsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -11676,6 +13189,8 @@ public Builder setWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSCo return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -11694,6 +13209,8 @@ public Builder setWorkloadAltsConfig( return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -11704,7 +13221,9 @@ public Builder mergeWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTS if (workloadAltsConfigBuilder_ == null) { if (workloadAltsConfig_ != null) { workloadAltsConfig_ = - com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(workloadAltsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(workloadAltsConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadAltsConfig_ = value; } @@ -11716,6 +13235,8 @@ public Builder mergeWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTS return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -11734,6 +13255,8 @@ public Builder clearWorkloadAltsConfig() { return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -11741,26 +13264,32 @@ public Builder clearWorkloadAltsConfig() { * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ public com.google.container.v1beta1.WorkloadALTSConfig.Builder getWorkloadAltsConfigBuilder() { - + onChanged(); return getWorkloadAltsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ - public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder + getWorkloadAltsConfigOrBuilder() { if (workloadAltsConfigBuilder_ != null) { return workloadAltsConfigBuilder_.getMessageOrBuilder(); } else { - return workloadAltsConfig_ == null ? - com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : workloadAltsConfig_; + return workloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : workloadAltsConfig_; } } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -11768,14 +13297,17 @@ public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsC * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> getWorkloadAltsConfigFieldBuilder() { if (workloadAltsConfigBuilder_ == null) { - workloadAltsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( - getWorkloadAltsConfig(), - getParentForChildren(), - isClean()); + workloadAltsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( + getWorkloadAltsConfig(), getParentForChildren(), isClean()); workloadAltsConfig_ = null; } return workloadAltsConfigBuilder_; @@ -11783,41 +13315,55 @@ public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsC private com.google.container.v1beta1.CostManagementConfig costManagementConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> costManagementConfigBuilder_; + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> + costManagementConfigBuilder_; /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * * @return Whether the costManagementConfig field is set. */ public boolean hasCostManagementConfig() { return costManagementConfigBuilder_ != null || costManagementConfig_ != null; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * * @return The costManagementConfig. */ public com.google.container.v1beta1.CostManagementConfig getCostManagementConfig() { if (costManagementConfigBuilder_ == null) { - return costManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; + return costManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; } else { return costManagementConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public Builder setCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { + public Builder setCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { if (costManagementConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -11831,6 +13377,8 @@ public Builder setCostManagementConfig(com.google.container.v1beta1.CostManageme return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -11849,17 +13397,22 @@ public Builder setCostManagementConfig( return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public Builder mergeCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { + public Builder mergeCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { if (costManagementConfigBuilder_ == null) { if (costManagementConfig_ != null) { costManagementConfig_ = - com.google.container.v1beta1.CostManagementConfig.newBuilder(costManagementConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.CostManagementConfig.newBuilder(costManagementConfig_) + .mergeFrom(value) + .buildPartial(); } else { costManagementConfig_ = value; } @@ -11871,6 +13424,8 @@ public Builder mergeCostManagementConfig(com.google.container.v1beta1.CostManage return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -11889,33 +13444,42 @@ public Builder clearCostManagementConfig() { return this; } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public com.google.container.v1beta1.CostManagementConfig.Builder getCostManagementConfigBuilder() { - + public com.google.container.v1beta1.CostManagementConfig.Builder + getCostManagementConfigBuilder() { + onChanged(); return getCostManagementConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ - public com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getCostManagementConfigOrBuilder() { if (costManagementConfigBuilder_ != null) { return costManagementConfigBuilder_.getMessageOrBuilder(); } else { - return costManagementConfig_ == null ? - com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : costManagementConfig_; + return costManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : costManagementConfig_; } } /** + * + * *
      * Configuration for the fine-grained cost management feature.
      * 
@@ -11923,14 +13487,17 @@ public com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagem * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> getCostManagementConfigFieldBuilder() { if (costManagementConfigBuilder_ == null) { - costManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder>( - getCostManagementConfig(), - getParentForChildren(), - isClean()); + costManagementConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder>( + getCostManagementConfig(), getParentForChildren(), isClean()); costManagementConfig_ = null; } return costManagementConfigBuilder_; @@ -11938,34 +13505,47 @@ public com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagem private com.google.container.v1beta1.ClusterTelemetry clusterTelemetry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> clusterTelemetryBuilder_; + com.google.container.v1beta1.ClusterTelemetry, + com.google.container.v1beta1.ClusterTelemetry.Builder, + com.google.container.v1beta1.ClusterTelemetryOrBuilder> + clusterTelemetryBuilder_; /** + * + * *
      * Telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * * @return Whether the clusterTelemetry field is set. */ public boolean hasClusterTelemetry() { return clusterTelemetryBuilder_ != null || clusterTelemetry_ != null; } /** + * + * *
      * Telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * * @return The clusterTelemetry. */ public com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry() { if (clusterTelemetryBuilder_ == null) { - return clusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : clusterTelemetry_; + return clusterTelemetry_ == null + ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() + : clusterTelemetry_; } else { return clusterTelemetryBuilder_.getMessage(); } } /** + * + * *
      * Telemetry integration for the cluster.
      * 
@@ -11986,6 +13566,8 @@ public Builder setClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry return this; } /** + * + * *
      * Telemetry integration for the cluster.
      * 
@@ -12004,6 +13586,8 @@ public Builder setClusterTelemetry( return this; } /** + * + * *
      * Telemetry integration for the cluster.
      * 
@@ -12014,7 +13598,9 @@ public Builder mergeClusterTelemetry(com.google.container.v1beta1.ClusterTelemet if (clusterTelemetryBuilder_ == null) { if (clusterTelemetry_ != null) { clusterTelemetry_ = - com.google.container.v1beta1.ClusterTelemetry.newBuilder(clusterTelemetry_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ClusterTelemetry.newBuilder(clusterTelemetry_) + .mergeFrom(value) + .buildPartial(); } else { clusterTelemetry_ = value; } @@ -12026,6 +13612,8 @@ public Builder mergeClusterTelemetry(com.google.container.v1beta1.ClusterTelemet return this; } /** + * + * *
      * Telemetry integration for the cluster.
      * 
@@ -12044,6 +13632,8 @@ public Builder clearClusterTelemetry() { return this; } /** + * + * *
      * Telemetry integration for the cluster.
      * 
@@ -12051,11 +13641,13 @@ public Builder clearClusterTelemetry() { * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; */ public com.google.container.v1beta1.ClusterTelemetry.Builder getClusterTelemetryBuilder() { - + onChanged(); return getClusterTelemetryFieldBuilder().getBuilder(); } /** + * + * *
      * Telemetry integration for the cluster.
      * 
@@ -12066,11 +13658,14 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr if (clusterTelemetryBuilder_ != null) { return clusterTelemetryBuilder_.getMessageOrBuilder(); } else { - return clusterTelemetry_ == null ? - com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : clusterTelemetry_; + return clusterTelemetry_ == null + ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() + : clusterTelemetry_; } } /** + * + * *
      * Telemetry integration for the cluster.
      * 
@@ -12078,14 +13673,17 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> + com.google.container.v1beta1.ClusterTelemetry, + com.google.container.v1beta1.ClusterTelemetry.Builder, + com.google.container.v1beta1.ClusterTelemetryOrBuilder> getClusterTelemetryFieldBuilder() { if (clusterTelemetryBuilder_ == null) { - clusterTelemetryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder>( - getClusterTelemetry(), - getParentForChildren(), - isClean()); + clusterTelemetryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterTelemetry, + com.google.container.v1beta1.ClusterTelemetry.Builder, + com.google.container.v1beta1.ClusterTelemetryOrBuilder>( + getClusterTelemetry(), getParentForChildren(), isClean()); clusterTelemetry_ = null; } return clusterTelemetryBuilder_; @@ -12093,34 +13691,47 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetr private com.google.container.v1beta1.TpuConfig tpuConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> tpuConfigBuilder_; + com.google.container.v1beta1.TpuConfig, + com.google.container.v1beta1.TpuConfig.Builder, + com.google.container.v1beta1.TpuConfigOrBuilder> + tpuConfigBuilder_; /** + * + * *
      * Configuration for Cloud TPU support;
      * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; + * * @return Whether the tpuConfig field is set. */ public boolean hasTpuConfig() { return tpuConfigBuilder_ != null || tpuConfig_ != null; } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; + * * @return The tpuConfig. */ public com.google.container.v1beta1.TpuConfig getTpuConfig() { if (tpuConfigBuilder_ == null) { - return tpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : tpuConfig_; + return tpuConfig_ == null + ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() + : tpuConfig_; } else { return tpuConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
@@ -12141,14 +13752,15 @@ public Builder setTpuConfig(com.google.container.v1beta1.TpuConfig value) { return this; } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; */ - public Builder setTpuConfig( - com.google.container.v1beta1.TpuConfig.Builder builderForValue) { + public Builder setTpuConfig(com.google.container.v1beta1.TpuConfig.Builder builderForValue) { if (tpuConfigBuilder_ == null) { tpuConfig_ = builderForValue.build(); onChanged(); @@ -12159,6 +13771,8 @@ public Builder setTpuConfig( return this; } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
@@ -12169,7 +13783,9 @@ public Builder mergeTpuConfig(com.google.container.v1beta1.TpuConfig value) { if (tpuConfigBuilder_ == null) { if (tpuConfig_ != null) { tpuConfig_ = - com.google.container.v1beta1.TpuConfig.newBuilder(tpuConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.TpuConfig.newBuilder(tpuConfig_) + .mergeFrom(value) + .buildPartial(); } else { tpuConfig_ = value; } @@ -12181,6 +13797,8 @@ public Builder mergeTpuConfig(com.google.container.v1beta1.TpuConfig value) { return this; } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
@@ -12199,6 +13817,8 @@ public Builder clearTpuConfig() { return this; } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
@@ -12206,11 +13826,13 @@ public Builder clearTpuConfig() { * .google.container.v1beta1.TpuConfig tpu_config = 47; */ public com.google.container.v1beta1.TpuConfig.Builder getTpuConfigBuilder() { - + onChanged(); return getTpuConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
@@ -12221,11 +13843,14 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { if (tpuConfigBuilder_ != null) { return tpuConfigBuilder_.getMessageOrBuilder(); } else { - return tpuConfig_ == null ? - com.google.container.v1beta1.TpuConfig.getDefaultInstance() : tpuConfig_; + return tpuConfig_ == null + ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() + : tpuConfig_; } } /** + * + * *
      * Configuration for Cloud TPU support;
      * 
@@ -12233,14 +13858,17 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { * .google.container.v1beta1.TpuConfig tpu_config = 47; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> + com.google.container.v1beta1.TpuConfig, + com.google.container.v1beta1.TpuConfig.Builder, + com.google.container.v1beta1.TpuConfigOrBuilder> getTpuConfigFieldBuilder() { if (tpuConfigBuilder_ == null) { - tpuConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder>( - getTpuConfig(), - getParentForChildren(), - isClean()); + tpuConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.TpuConfig, + com.google.container.v1beta1.TpuConfig.Builder, + com.google.container.v1beta1.TpuConfigOrBuilder>( + getTpuConfig(), getParentForChildren(), isClean()); tpuConfig_ = null; } return tpuConfigBuilder_; @@ -12248,34 +13876,47 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder() { private com.google.container.v1beta1.NotificationConfig notificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> notificationConfigBuilder_; + com.google.container.v1beta1.NotificationConfig, + com.google.container.v1beta1.NotificationConfig.Builder, + com.google.container.v1beta1.NotificationConfigOrBuilder> + notificationConfigBuilder_; /** + * + * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; + * * @return Whether the notificationConfig field is set. */ public boolean hasNotificationConfig() { return notificationConfigBuilder_ != null || notificationConfig_ != null; } /** + * + * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; + * * @return The notificationConfig. */ public com.google.container.v1beta1.NotificationConfig getNotificationConfig() { if (notificationConfigBuilder_ == null) { - return notificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() + : notificationConfig_; } else { return notificationConfigBuilder_.getMessage(); } } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -12296,6 +13937,8 @@ public Builder setNotificationConfig(com.google.container.v1beta1.NotificationCo return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -12314,6 +13957,8 @@ public Builder setNotificationConfig( return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -12324,7 +13969,9 @@ public Builder mergeNotificationConfig(com.google.container.v1beta1.Notification if (notificationConfigBuilder_ == null) { if (notificationConfig_ != null) { notificationConfig_ = - com.google.container.v1beta1.NotificationConfig.newBuilder(notificationConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NotificationConfig.newBuilder(notificationConfig_) + .mergeFrom(value) + .buildPartial(); } else { notificationConfig_ = value; } @@ -12336,6 +13983,8 @@ public Builder mergeNotificationConfig(com.google.container.v1beta1.Notification return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -12354,6 +14003,8 @@ public Builder clearNotificationConfig() { return this; } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -12361,26 +14012,32 @@ public Builder clearNotificationConfig() { * .google.container.v1beta1.NotificationConfig notification_config = 49; */ public com.google.container.v1beta1.NotificationConfig.Builder getNotificationConfigBuilder() { - + onChanged(); return getNotificationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Notification configuration of the cluster.
      * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; */ - public com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationConfigOrBuilder() { + public com.google.container.v1beta1.NotificationConfigOrBuilder + getNotificationConfigOrBuilder() { if (notificationConfigBuilder_ != null) { return notificationConfigBuilder_.getMessageOrBuilder(); } else { - return notificationConfig_ == null ? - com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : notificationConfig_; + return notificationConfig_ == null + ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() + : notificationConfig_; } } /** + * + * *
      * Notification configuration of the cluster.
      * 
@@ -12388,14 +14045,17 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationC * .google.container.v1beta1.NotificationConfig notification_config = 49; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> + com.google.container.v1beta1.NotificationConfig, + com.google.container.v1beta1.NotificationConfig.Builder, + com.google.container.v1beta1.NotificationConfigOrBuilder> getNotificationConfigFieldBuilder() { if (notificationConfigBuilder_ == null) { - notificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder>( - getNotificationConfig(), - getParentForChildren(), - isClean()); + notificationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NotificationConfig, + com.google.container.v1beta1.NotificationConfig.Builder, + com.google.container.v1beta1.NotificationConfigOrBuilder>( + getNotificationConfig(), getParentForChildren(), isClean()); notificationConfig_ = null; } return notificationConfigBuilder_; @@ -12403,36 +14063,49 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationC private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; /** + * + * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; + * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** + * + * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; + * * @return The confidentialNodes. */ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** + * + * *
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12454,6 +14127,8 @@ public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNod
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12473,6 +14148,8 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12484,7 +14161,9 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-            com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -12496,6 +14175,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12515,6 +14196,8 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12523,11 +14206,13 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50;
      */
     public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-      
+
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12539,11 +14224,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null ?
-            com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
+        return confidentialNodes_ == null
+            ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance()
+            : confidentialNodes_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration of Confidential Nodes.
      * All the nodes in the cluster will be Confidential VM once enabled.
@@ -12552,14 +14240,17 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> 
+            com.google.container.v1beta1.ConfidentialNodes,
+            com.google.container.v1beta1.ConfidentialNodes.Builder,
+            com.google.container.v1beta1.ConfidentialNodesOrBuilder>
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(),
-                getParentForChildren(),
-                isClean());
+        confidentialNodesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ConfidentialNodes,
+                com.google.container.v1beta1.ConfidentialNodes.Builder,
+                com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(), getParentForChildren(), isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -12567,41 +14258,55 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
 
     private com.google.container.v1beta1.IdentityServiceConfig identityServiceConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> identityServiceConfigBuilder_;
+            com.google.container.v1beta1.IdentityServiceConfig,
+            com.google.container.v1beta1.IdentityServiceConfig.Builder,
+            com.google.container.v1beta1.IdentityServiceConfigOrBuilder>
+        identityServiceConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; + * * @return Whether the identityServiceConfig field is set. */ public boolean hasIdentityServiceConfig() { return identityServiceConfigBuilder_ != null || identityServiceConfig_ != null; } /** + * + * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; + * * @return The identityServiceConfig. */ public com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConfig() { if (identityServiceConfigBuilder_ == null) { - return identityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; + return identityServiceConfig_ == null + ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; } else { return identityServiceConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public Builder setIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder setIdentityServiceConfig( + com.google.container.v1beta1.IdentityServiceConfig value) { if (identityServiceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12615,6 +14320,8 @@ public Builder setIdentityServiceConfig(com.google.container.v1beta1.IdentitySer return this; } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -12633,17 +14340,22 @@ public Builder setIdentityServiceConfig( return this; } /** + * + * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public Builder mergeIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder mergeIdentityServiceConfig( + com.google.container.v1beta1.IdentityServiceConfig value) { if (identityServiceConfigBuilder_ == null) { if (identityServiceConfig_ != null) { identityServiceConfig_ = - com.google.container.v1beta1.IdentityServiceConfig.newBuilder(identityServiceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.IdentityServiceConfig.newBuilder(identityServiceConfig_) + .mergeFrom(value) + .buildPartial(); } else { identityServiceConfig_ = value; } @@ -12655,6 +14367,8 @@ public Builder mergeIdentityServiceConfig(com.google.container.v1beta1.IdentityS return this; } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -12673,33 +14387,42 @@ public Builder clearIdentityServiceConfig() { return this; } /** + * + * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public com.google.container.v1beta1.IdentityServiceConfig.Builder getIdentityServiceConfigBuilder() { - + public com.google.container.v1beta1.IdentityServiceConfig.Builder + getIdentityServiceConfigBuilder() { + onChanged(); return getIdentityServiceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Identity Service component.
      * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder + getIdentityServiceConfigOrBuilder() { if (identityServiceConfigBuilder_ != null) { return identityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return identityServiceConfig_ == null ? - com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : identityServiceConfig_; + return identityServiceConfig_ == null + ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() + : identityServiceConfig_; } } /** + * + * *
      * Configuration for Identity Service component.
      * 
@@ -12707,14 +14430,17 @@ public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentitySe * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> + com.google.container.v1beta1.IdentityServiceConfig, + com.google.container.v1beta1.IdentityServiceConfig.Builder, + com.google.container.v1beta1.IdentityServiceConfigOrBuilder> getIdentityServiceConfigFieldBuilder() { if (identityServiceConfigBuilder_ == null) { - identityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( - getIdentityServiceConfig(), - getParentForChildren(), - isClean()); + identityServiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IdentityServiceConfig, + com.google.container.v1beta1.IdentityServiceConfig.Builder, + com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( + getIdentityServiceConfig(), getParentForChildren(), isClean()); identityServiceConfig_ = null; } return identityServiceConfigBuilder_; @@ -12722,18 +14448,20 @@ public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentitySe private java.lang.Object selfLink_ = ""; /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -12742,20 +14470,21 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -12763,54 +14492,61 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink( - java.lang.String value) { + public Builder setSelfLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** - *
+     *
+     *
+     * 
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -12818,6 +14554,8 @@ public Builder setSelfLinkBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12825,15 +14563,16 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -12842,6 +14581,8 @@ public Builder setSelfLinkBytes( } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12849,17 +14590,17 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -12867,6 +14608,8 @@ public Builder setSelfLinkBytes( } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12874,22 +14617,25 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12897,17 +14643,21 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -12915,18 +14665,19 @@ public Builder setSelfLinkBytes(
      * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -12934,6 +14685,8 @@ public Builder setSelfLinkBytes( private java.lang.Object endpoint_ = ""; /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -12943,13 +14696,13 @@ public Builder setSelfLinkBytes(
      * 
* * string endpoint = 102; + * * @return The endpoint. */ public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endpoint_ = s; return s; @@ -12958,6 +14711,8 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -12967,15 +14722,14 @@ public java.lang.String getEndpoint() {
      * 
* * string endpoint = 102; + * * @return The bytes for endpoint. */ - public com.google.protobuf.ByteString - getEndpointBytes() { + public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endpoint_ = b; return b; } else { @@ -12983,6 +14737,8 @@ public java.lang.String getEndpoint() { } } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -12992,20 +14748,22 @@ public java.lang.String getEndpoint() {
      * 
* * string endpoint = 102; + * * @param value The endpoint to set. * @return This builder for chaining. */ - public Builder setEndpoint( - java.lang.String value) { + public Builder setEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endpoint_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -13015,15 +14773,18 @@ public Builder setEndpoint(
      * 
* * string endpoint = 102; + * * @return This builder for chaining. */ public Builder clearEndpoint() { - + endpoint_ = getDefaultInstance().getEndpoint(); onChanged(); return this; } /** + * + * *
      * [Output only] The IP address of this cluster's master endpoint.
      * The endpoint can be accessed from the internet at
@@ -13033,16 +14794,16 @@ public Builder clearEndpoint() {
      * 
* * string endpoint = 102; + * * @param value The bytes for endpoint to set. * @return This builder for chaining. */ - public Builder setEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endpoint_ = value; onChanged(); return this; @@ -13050,6 +14811,8 @@ public Builder setEndpointBytes( private java.lang.Object initialClusterVersion_ = ""; /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13065,13 +14828,13 @@ public Builder setEndpointBytes(
      * 
* * string initial_cluster_version = 103; + * * @return The initialClusterVersion. */ public java.lang.String getInitialClusterVersion() { java.lang.Object ref = initialClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); initialClusterVersion_ = s; return s; @@ -13080,6 +14843,8 @@ public java.lang.String getInitialClusterVersion() { } } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13095,15 +14860,14 @@ public java.lang.String getInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; + * * @return The bytes for initialClusterVersion. */ - public com.google.protobuf.ByteString - getInitialClusterVersionBytes() { + public com.google.protobuf.ByteString getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); initialClusterVersion_ = b; return b; } else { @@ -13111,6 +14875,8 @@ public java.lang.String getInitialClusterVersion() { } } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13126,20 +14892,22 @@ public java.lang.String getInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; + * * @param value The initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersion( - java.lang.String value) { + public Builder setInitialClusterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + initialClusterVersion_ = value; onChanged(); return this; } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13155,15 +14923,18 @@ public Builder setInitialClusterVersion(
      * 
* * string initial_cluster_version = 103; + * * @return This builder for chaining. */ public Builder clearInitialClusterVersion() { - + initialClusterVersion_ = getDefaultInstance().getInitialClusterVersion(); onChanged(); return this; } /** + * + * *
      * The initial Kubernetes version for this cluster.  Valid versions are those
      * found in validMasterVersions returned by getServerConfig.  The version can
@@ -13179,16 +14950,16 @@ public Builder clearInitialClusterVersion() {
      * 
* * string initial_cluster_version = 103; + * * @param value The bytes for initialClusterVersion to set. * @return This builder for chaining. */ - public Builder setInitialClusterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setInitialClusterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + initialClusterVersion_ = value; onChanged(); return this; @@ -13196,18 +14967,20 @@ public Builder setInitialClusterVersionBytes( private java.lang.Object currentMasterVersion_ = ""; /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @return The currentMasterVersion. */ public java.lang.String getCurrentMasterVersion() { java.lang.Object ref = currentMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentMasterVersion_ = s; return s; @@ -13216,20 +14989,21 @@ public java.lang.String getCurrentMasterVersion() { } } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @return The bytes for currentMasterVersion. */ - public com.google.protobuf.ByteString - getCurrentMasterVersionBytes() { + public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentMasterVersion_ = b; return b; } else { @@ -13237,54 +15011,61 @@ public java.lang.String getCurrentMasterVersion() { } } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @param value The currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersion( - java.lang.String value) { + public Builder setCurrentMasterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentMasterVersion_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @return This builder for chaining. */ public Builder clearCurrentMasterVersion() { - + currentMasterVersion_ = getDefaultInstance().getCurrentMasterVersion(); onChanged(); return this; } /** + * + * *
      * [Output only] The current software version of the master endpoint.
      * 
* * string current_master_version = 104; + * * @param value The bytes for currentMasterVersion to set. * @return This builder for chaining. */ - public Builder setCurrentMasterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrentMasterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentMasterVersion_ = value; onChanged(); return this; @@ -13292,6 +15073,8 @@ public Builder setCurrentMasterVersionBytes( private java.lang.Object currentNodeVersion_ = ""; /** + * + * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -13301,15 +15084,16 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @return The currentNodeVersion. */ - @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { + @java.lang.Deprecated + public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentNodeVersion_ = s; return s; @@ -13318,6 +15102,8 @@ public Builder setCurrentMasterVersionBytes( } } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -13327,17 +15113,17 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getCurrentNodeVersionBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentNodeVersion_ = b; return b; } else { @@ -13345,6 +15131,8 @@ public Builder setCurrentMasterVersionBytes( } } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -13354,22 +15142,25 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @param value The currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCurrentNodeVersion( - java.lang.String value) { + @java.lang.Deprecated + public Builder setCurrentNodeVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentNodeVersion_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -13379,17 +15170,21 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearCurrentNodeVersion() { - + @java.lang.Deprecated + public Builder clearCurrentNodeVersion() { + currentNodeVersion_ = getDefaultInstance().getCurrentNodeVersion(); onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated, use
      * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -13399,18 +15194,19 @@ public Builder setCurrentMasterVersionBytes(
      * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @param value The bytes for currentNodeVersion to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCurrentNodeVersionBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setCurrentNodeVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentNodeVersion_ = value; onChanged(); return this; @@ -13418,19 +15214,21 @@ public Builder setCurrentMasterVersionBytes( private java.lang.Object createTime_ = ""; /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @return The createTime. */ public java.lang.String getCreateTime() { java.lang.Object ref = createTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createTime_ = s; return s; @@ -13439,21 +15237,22 @@ public java.lang.String getCreateTime() { } } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @return The bytes for createTime. */ - public com.google.protobuf.ByteString - getCreateTimeBytes() { + public com.google.protobuf.ByteString getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createTime_ = b; return b; } else { @@ -13461,57 +15260,64 @@ public java.lang.String getCreateTime() { } } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @param value The createTime to set. * @return This builder for chaining. */ - public Builder setCreateTime( - java.lang.String value) { + public Builder setCreateTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @return This builder for chaining. */ public Builder clearCreateTime() { - + createTime_ = getDefaultInstance().getCreateTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster was created, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string create_time = 106; + * * @param value The bytes for createTime to set. * @return This builder for chaining. */ - public Builder setCreateTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createTime_ = value; onChanged(); return this; @@ -13519,51 +15325,65 @@ public Builder setCreateTimeBytes( private int status_ = 0; /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Cluster.Status result = com.google.container.v1beta1.Cluster.Status.valueOf(status_); + com.google.container.v1beta1.Cluster.Status result = + com.google.container.v1beta1.Cluster.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Cluster.Status.UNRECOGNIZED : result; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @param value The status to set. * @return This builder for chaining. */ @@ -13571,21 +15391,24 @@ public Builder setStatus(com.google.container.v1beta1.Cluster.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * [Output only] The current status of this cluster.
      * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -13593,6 +15416,8 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13600,15 +15425,16 @@ 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=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @return The statusMessage. */ - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -13617,6 +15443,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13624,17 +15452,17 @@ 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=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @return The bytes for statusMessage. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -13642,6 +15470,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13649,22 +15479,25 @@ 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=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessage( - java.lang.String value) { + @java.lang.Deprecated + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13672,17 +15505,21 @@ 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=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearStatusMessage() { - + @java.lang.Deprecated + public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -13690,25 +15527,28 @@ 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=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private int nodeIpv4CidrSize_ ; + private int nodeIpv4CidrSize_; /** + * + * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -13717,6 +15557,7 @@ public Builder clearStatus() {
      * 
* * int32 node_ipv4_cidr_size = 109; + * * @return The nodeIpv4CidrSize. */ @java.lang.Override @@ -13724,6 +15565,8 @@ public int getNodeIpv4CidrSize() { return nodeIpv4CidrSize_; } /** + * + * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -13732,16 +15575,19 @@ public int getNodeIpv4CidrSize() {
      * 
* * int32 node_ipv4_cidr_size = 109; + * * @param value The nodeIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setNodeIpv4CidrSize(int value) { - + nodeIpv4CidrSize_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The size of the address space on each node for hosting
      * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -13750,10 +15596,11 @@ public Builder setNodeIpv4CidrSize(int value) {
      * 
* * int32 node_ipv4_cidr_size = 109; + * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrSize() { - + nodeIpv4CidrSize_ = 0; onChanged(); return this; @@ -13761,6 +15608,8 @@ public Builder clearNodeIpv4CidrSize() { private java.lang.Object servicesIpv4Cidr_ = ""; /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13770,13 +15619,13 @@ public Builder clearNodeIpv4CidrSize() {
      * 
* * string services_ipv4_cidr = 110; + * * @return The servicesIpv4Cidr. */ public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -13785,6 +15634,8 @@ public java.lang.String getServicesIpv4Cidr() { } } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13794,15 +15645,14 @@ public java.lang.String getServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; + * * @return The bytes for servicesIpv4Cidr. */ - public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -13810,6 +15660,8 @@ public java.lang.String getServicesIpv4Cidr() { } } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13819,20 +15671,22 @@ public java.lang.String getServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; + * * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4Cidr( - java.lang.String value) { + public Builder setServicesIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13842,15 +15696,18 @@ public Builder setServicesIpv4Cidr(
      * 
* * string services_ipv4_cidr = 110; + * * @return This builder for chaining. */ public Builder clearServicesIpv4Cidr() { - + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Kubernetes services in
      * this cluster, in
@@ -13860,232 +15717,275 @@ public Builder clearServicesIpv4Cidr() {
      * 
* * string services_ipv4_cidr = 110; + * * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + @java.lang.Deprecated + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated public int getInstanceGroupUrlsCount() { + @java.lang.Deprecated + public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated public java.lang.String getInstanceGroupUrls(int index) { + @java.lang.Deprecated + public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + @java.lang.Deprecated + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setInstanceGroupUrls( - int index, java.lang.String value) { + @java.lang.Deprecated + public Builder setInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstanceGroupUrls( - java.lang.String value) { + @java.lang.Deprecated + public Builder addInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addAllInstanceGroupUrls( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearInstanceGroupUrls() { + @java.lang.Deprecated + public Builder clearInstanceGroupUrls() { instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** + * + * *
      * Deprecated. Use node_pools.instance_group_urls.
      * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder addInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } - private int currentNodeCount_ ; + private int currentNodeCount_; /** + * + * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1853 + * + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1853 * @return The currentNodeCount. */ @java.lang.Override - @java.lang.Deprecated public int getCurrentNodeCount() { + @java.lang.Deprecated + public int getCurrentNodeCount() { return currentNodeCount_; } /** + * + * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1853 + * + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1853 * @param value The currentNodeCount to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCurrentNodeCount(int value) { - + @java.lang.Deprecated + public Builder setCurrentNodeCount(int value) { + currentNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * [Output only]  The number of nodes currently in the cluster. Deprecated.
      * Call Kubernetes API directly to retrieve node information.
      * 
* * 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=1853 + * + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1853 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearCurrentNodeCount() { - + @java.lang.Deprecated + public Builder clearCurrentNodeCount() { + currentNodeCount_ = 0; onChanged(); return this; @@ -14093,19 +15993,21 @@ private void ensureInstanceGroupUrlsIsMutable() { private java.lang.Object expireTime_ = ""; /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @return The expireTime. */ public java.lang.String getExpireTime() { java.lang.Object ref = expireTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expireTime_ = s; return s; @@ -14114,21 +16016,22 @@ public java.lang.String getExpireTime() { } } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @return The bytes for expireTime. */ - public com.google.protobuf.ByteString - getExpireTimeBytes() { + public com.google.protobuf.ByteString getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); expireTime_ = b; return b; } else { @@ -14136,57 +16039,64 @@ public java.lang.String getExpireTime() { } } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @param value The expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTime( - java.lang.String value) { + public Builder setExpireTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + expireTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @return This builder for chaining. */ public Builder clearExpireTime() { - + expireTime_ = getDefaultInstance().getExpireTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the cluster will be automatically
      * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string expire_time = 113; + * * @param value The bytes for expireTime to set. * @return This builder for chaining. */ - public Builder setExpireTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setExpireTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + expireTime_ = value; onChanged(); return this; @@ -14194,6 +16104,8 @@ public Builder setExpireTimeBytes( private java.lang.Object location_ = ""; /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14203,13 +16115,13 @@ public Builder setExpireTimeBytes(
      * 
* * string location = 114; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -14218,6 +16130,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14227,15 +16141,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 114; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -14243,6 +16156,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14252,20 +16167,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 114; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14275,15 +16192,18 @@ public Builder setLocation(
      * 
* * string location = 114; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -14293,29 +16213,32 @@ public Builder clearLocation() {
      * 
* * string location = 114; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; } - private boolean enableTpu_ ; + private boolean enableTpu_; /** + * + * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * This field is deprecated, use tpu_config.enabled instead.
      * 
* * bool enable_tpu = 115; + * * @return The enableTpu. */ @java.lang.Override @@ -14323,32 +16246,38 @@ public boolean getEnableTpu() { return enableTpu_; } /** + * + * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * This field is deprecated, use tpu_config.enabled instead.
      * 
* * bool enable_tpu = 115; + * * @param value The enableTpu to set. * @return This builder for chaining. */ public Builder setEnableTpu(boolean value) { - + enableTpu_ = value; onChanged(); return this; } /** + * + * *
      * Enable the ability to use Cloud TPUs in this cluster.
      * This field is deprecated, use tpu_config.enabled instead.
      * 
* * bool enable_tpu = 115; + * * @return This builder for chaining. */ public Builder clearEnableTpu() { - + enableTpu_ = false; onChanged(); return this; @@ -14356,6 +16285,8 @@ public Builder clearEnableTpu() { private java.lang.Object tpuIpv4CidrBlock_ = ""; /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14363,13 +16294,13 @@ public Builder clearEnableTpu() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -14378,6 +16309,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14385,15 +16318,14 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -14401,6 +16333,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14408,20 +16342,22 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock( - java.lang.String value) { + public Builder setTpuIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14429,15 +16365,18 @@ public Builder setTpuIpv4CidrBlock(
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * [Output only] The IP address range of the Cloud TPUs in this cluster, in
      * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -14445,16 +16384,16 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 116; + * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; @@ -14462,34 +16401,47 @@ public Builder setTpuIpv4CidrBlockBytes( private com.google.container.v1beta1.DatabaseEncryption databaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> databaseEncryptionBuilder_; + com.google.container.v1beta1.DatabaseEncryption, + com.google.container.v1beta1.DatabaseEncryption.Builder, + com.google.container.v1beta1.DatabaseEncryptionOrBuilder> + databaseEncryptionBuilder_; /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; + * * @return Whether the databaseEncryption field is set. */ public boolean hasDatabaseEncryption() { return databaseEncryptionBuilder_ != null || databaseEncryption_ != null; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; + * * @return The databaseEncryption. */ public com.google.container.v1beta1.DatabaseEncryption getDatabaseEncryption() { if (databaseEncryptionBuilder_ == null) { - return databaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } else { return databaseEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -14510,6 +16462,8 @@ public Builder setDatabaseEncryption(com.google.container.v1beta1.DatabaseEncryp return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -14528,6 +16482,8 @@ public Builder setDatabaseEncryption( return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -14538,7 +16494,9 @@ public Builder mergeDatabaseEncryption(com.google.container.v1beta1.DatabaseEncr if (databaseEncryptionBuilder_ == null) { if (databaseEncryption_ != null) { databaseEncryption_ = - com.google.container.v1beta1.DatabaseEncryption.newBuilder(databaseEncryption_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.DatabaseEncryption.newBuilder(databaseEncryption_) + .mergeFrom(value) + .buildPartial(); } else { databaseEncryption_ = value; } @@ -14550,6 +16508,8 @@ public Builder mergeDatabaseEncryption(com.google.container.v1beta1.DatabaseEncr return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -14568,6 +16528,8 @@ public Builder clearDatabaseEncryption() { return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -14575,26 +16537,32 @@ public Builder clearDatabaseEncryption() { * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; */ public com.google.container.v1beta1.DatabaseEncryption.Builder getDatabaseEncryptionBuilder() { - + onChanged(); return getDatabaseEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; */ - public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { + public com.google.container.v1beta1.DatabaseEncryptionOrBuilder + getDatabaseEncryptionOrBuilder() { if (databaseEncryptionBuilder_ != null) { return databaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return databaseEncryption_ == null ? - com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : databaseEncryption_; + return databaseEncryption_ == null + ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() + : databaseEncryption_; } } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -14602,32 +16570,42 @@ public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDatabaseEncry * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> + com.google.container.v1beta1.DatabaseEncryption, + com.google.container.v1beta1.DatabaseEncryption.Builder, + com.google.container.v1beta1.DatabaseEncryptionOrBuilder> getDatabaseEncryptionFieldBuilder() { if (databaseEncryptionBuilder_ == null) { - databaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( - getDatabaseEncryption(), - getParentForChildren(), - isClean()); + databaseEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DatabaseEncryption, + com.google.container.v1beta1.DatabaseEncryption.Builder, + com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( + getDatabaseEncryption(), getParentForChildren(), isClean()); databaseEncryption_ = null; } return databaseEncryptionBuilder_; } private java.util.List conditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - conditions_ = new java.util.ArrayList(conditions_); + conditions_ = + new java.util.ArrayList(conditions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> conditionsBuilder_; + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder> + conditionsBuilder_; /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14642,6 +16620,8 @@ public java.util.List getCondition } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14656,6 +16636,8 @@ public int getConditionsCount() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14670,14 +16652,15 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public Builder setConditions( - int index, com.google.container.v1beta1.StatusCondition value) { + public Builder setConditions(int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14691,6 +16674,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14709,6 +16694,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14729,14 +16716,15 @@ public Builder addConditions(com.google.container.v1beta1.StatusCondition value) return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public Builder addConditions( - int index, com.google.container.v1beta1.StatusCondition value) { + public Builder addConditions(int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14750,6 +16738,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14768,6 +16758,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14786,6 +16778,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14796,8 +16790,7 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -14805,6 +16798,8 @@ public Builder addAllConditions( return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14822,6 +16817,8 @@ public Builder clearConditions() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14839,39 +16836,44 @@ public Builder removeConditions(int index) { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder( - int index) { + public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder(int index) { return getConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); } else { + return conditions_.get(index); + } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -14879,6 +16881,8 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil } } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
@@ -14886,42 +16890,48 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder().addBuilder( - com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder() + .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder( - int index) { - return getConditionsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder(int index) { + return getConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( - conditions_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + conditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder>( + conditions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); conditions_ = null; } return conditionsBuilder_; @@ -14929,24 +16939,33 @@ public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder private com.google.container.v1beta1.Master master_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> masterBuilder_; + com.google.container.v1beta1.Master, + com.google.container.v1beta1.Master.Builder, + com.google.container.v1beta1.MasterOrBuilder> + masterBuilder_; /** + * + * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master master = 124; + * * @return Whether the master field is set. */ public boolean hasMaster() { return masterBuilder_ != null || master_ != null; } /** + * + * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master master = 124; + * * @return The master. */ public com.google.container.v1beta1.Master getMaster() { @@ -14957,6 +16976,8 @@ public com.google.container.v1beta1.Master getMaster() { } } /** + * + * *
      * Configuration for master components.
      * 
@@ -14977,14 +16998,15 @@ public Builder setMaster(com.google.container.v1beta1.Master value) { return this; } /** + * + * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master master = 124; */ - public Builder setMaster( - com.google.container.v1beta1.Master.Builder builderForValue) { + public Builder setMaster(com.google.container.v1beta1.Master.Builder builderForValue) { if (masterBuilder_ == null) { master_ = builderForValue.build(); onChanged(); @@ -14995,6 +17017,8 @@ public Builder setMaster( return this; } /** + * + * *
      * Configuration for master components.
      * 
@@ -15005,7 +17029,9 @@ public Builder mergeMaster(com.google.container.v1beta1.Master value) { if (masterBuilder_ == null) { if (master_ != null) { master_ = - com.google.container.v1beta1.Master.newBuilder(master_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.Master.newBuilder(master_) + .mergeFrom(value) + .buildPartial(); } else { master_ = value; } @@ -15017,6 +17043,8 @@ public Builder mergeMaster(com.google.container.v1beta1.Master value) { return this; } /** + * + * *
      * Configuration for master components.
      * 
@@ -15035,6 +17063,8 @@ public Builder clearMaster() { return this; } /** + * + * *
      * Configuration for master components.
      * 
@@ -15042,11 +17072,13 @@ public Builder clearMaster() { * .google.container.v1beta1.Master master = 124; */ public com.google.container.v1beta1.Master.Builder getMasterBuilder() { - + onChanged(); return getMasterFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for master components.
      * 
@@ -15057,11 +17089,12 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { if (masterBuilder_ != null) { return masterBuilder_.getMessageOrBuilder(); } else { - return master_ == null ? - com.google.container.v1beta1.Master.getDefaultInstance() : master_; + return master_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : master_; } } /** + * + * *
      * Configuration for master components.
      * 
@@ -15069,14 +17102,17 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { * .google.container.v1beta1.Master master = 124; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> + com.google.container.v1beta1.Master, + com.google.container.v1beta1.Master.Builder, + com.google.container.v1beta1.MasterOrBuilder> getMasterFieldBuilder() { if (masterBuilder_ == null) { - masterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder>( - getMaster(), - getParentForChildren(), - isClean()); + masterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Master, + com.google.container.v1beta1.Master.Builder, + com.google.container.v1beta1.MasterOrBuilder>( + getMaster(), getParentForChildren(), isClean()); master_ = null; } return masterBuilder_; @@ -15084,34 +17120,47 @@ public com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder() { private com.google.container.v1beta1.Autopilot autopilot_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Autopilot, com.google.container.v1beta1.Autopilot.Builder, com.google.container.v1beta1.AutopilotOrBuilder> autopilotBuilder_; + com.google.container.v1beta1.Autopilot, + com.google.container.v1beta1.Autopilot.Builder, + com.google.container.v1beta1.AutopilotOrBuilder> + autopilotBuilder_; /** + * + * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1beta1.Autopilot autopilot = 128; + * * @return Whether the autopilot field is set. */ public boolean hasAutopilot() { return autopilotBuilder_ != null || autopilot_ != null; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1beta1.Autopilot autopilot = 128; + * * @return The autopilot. */ public com.google.container.v1beta1.Autopilot getAutopilot() { if (autopilotBuilder_ == null) { - return autopilot_ == null ? com.google.container.v1beta1.Autopilot.getDefaultInstance() : autopilot_; + return autopilot_ == null + ? com.google.container.v1beta1.Autopilot.getDefaultInstance() + : autopilot_; } else { return autopilotBuilder_.getMessage(); } } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -15132,14 +17181,15 @@ public Builder setAutopilot(com.google.container.v1beta1.Autopilot value) { return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
* * .google.container.v1beta1.Autopilot autopilot = 128; */ - public Builder setAutopilot( - com.google.container.v1beta1.Autopilot.Builder builderForValue) { + public Builder setAutopilot(com.google.container.v1beta1.Autopilot.Builder builderForValue) { if (autopilotBuilder_ == null) { autopilot_ = builderForValue.build(); onChanged(); @@ -15150,6 +17200,8 @@ public Builder setAutopilot( return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -15160,7 +17212,9 @@ public Builder mergeAutopilot(com.google.container.v1beta1.Autopilot value) { if (autopilotBuilder_ == null) { if (autopilot_ != null) { autopilot_ = - com.google.container.v1beta1.Autopilot.newBuilder(autopilot_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.Autopilot.newBuilder(autopilot_) + .mergeFrom(value) + .buildPartial(); } else { autopilot_ = value; } @@ -15172,6 +17226,8 @@ public Builder mergeAutopilot(com.google.container.v1beta1.Autopilot value) { return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -15190,6 +17246,8 @@ public Builder clearAutopilot() { return this; } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -15197,11 +17255,13 @@ public Builder clearAutopilot() { * .google.container.v1beta1.Autopilot autopilot = 128; */ public com.google.container.v1beta1.Autopilot.Builder getAutopilotBuilder() { - + onChanged(); return getAutopilotFieldBuilder().getBuilder(); } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -15212,11 +17272,14 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { if (autopilotBuilder_ != null) { return autopilotBuilder_.getMessageOrBuilder(); } else { - return autopilot_ == null ? - com.google.container.v1beta1.Autopilot.getDefaultInstance() : autopilot_; + return autopilot_ == null + ? com.google.container.v1beta1.Autopilot.getDefaultInstance() + : autopilot_; } } /** + * + * *
      * Autopilot configuration for the cluster.
      * 
@@ -15224,14 +17287,17 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { * .google.container.v1beta1.Autopilot autopilot = 128; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Autopilot, com.google.container.v1beta1.Autopilot.Builder, com.google.container.v1beta1.AutopilotOrBuilder> + com.google.container.v1beta1.Autopilot, + com.google.container.v1beta1.Autopilot.Builder, + com.google.container.v1beta1.AutopilotOrBuilder> getAutopilotFieldBuilder() { if (autopilotBuilder_ == null) { - autopilotBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Autopilot, com.google.container.v1beta1.Autopilot.Builder, com.google.container.v1beta1.AutopilotOrBuilder>( - getAutopilot(), - getParentForChildren(), - isClean()); + autopilotBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Autopilot, + com.google.container.v1beta1.Autopilot.Builder, + com.google.container.v1beta1.AutopilotOrBuilder>( + getAutopilot(), getParentForChildren(), isClean()); autopilot_ = null; } return autopilotBuilder_; @@ -15239,18 +17305,20 @@ public com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder() { private java.lang.Object id_ = ""; /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -15259,20 +17327,21 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -15280,54 +17349,61 @@ public java.lang.String getId() { } } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * Output only. Unique id for the cluster.
      * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -15335,36 +17411,49 @@ public Builder setIdBytes( private com.google.container.v1beta1.NodePoolDefaults nodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolDefaults, com.google.container.v1beta1.NodePoolDefaults.Builder, com.google.container.v1beta1.NodePoolDefaultsOrBuilder> nodePoolDefaultsBuilder_; + com.google.container.v1beta1.NodePoolDefaults, + com.google.container.v1beta1.NodePoolDefaults.Builder, + com.google.container.v1beta1.NodePoolDefaultsOrBuilder> + nodePoolDefaultsBuilder_; /** + * + * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; + * * @return Whether the nodePoolDefaults field is set. */ public boolean hasNodePoolDefaults() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
      * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; + * * @return The nodePoolDefaults. */ public com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults() { if (nodePoolDefaultsBuilder_ == null) { - return nodePoolDefaults_ == null ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_; + return nodePoolDefaults_ == null + ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() + : nodePoolDefaults_; } else { return nodePoolDefaultsBuilder_.getMessage(); } } /** + * + * *
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15386,6 +17475,8 @@ public Builder setNodePoolDefaults(com.google.container.v1beta1.NodePoolDefaults
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15405,6 +17496,8 @@ public Builder setNodePoolDefaults(
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15414,11 +17507,14 @@ public Builder setNodePoolDefaults(
      */
     public Builder mergeNodePoolDefaults(com.google.container.v1beta1.NodePoolDefaults value) {
       if (nodePoolDefaultsBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-            nodePoolDefaults_ != null &&
-            nodePoolDefaults_ != com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && nodePoolDefaults_ != null
+            && nodePoolDefaults_
+                != com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()) {
           nodePoolDefaults_ =
-            com.google.container.v1beta1.NodePoolDefaults.newBuilder(nodePoolDefaults_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodePoolDefaults.newBuilder(nodePoolDefaults_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodePoolDefaults_ = value;
         }
@@ -15430,6 +17526,8 @@ public Builder mergeNodePoolDefaults(com.google.container.v1beta1.NodePoolDefaul
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15448,6 +17546,8 @@ public Builder clearNodePoolDefaults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15461,6 +17561,8 @@ public com.google.container.v1beta1.NodePoolDefaults.Builder getNodePoolDefaults
       return getNodePoolDefaultsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15472,11 +17574,14 @@ public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefault
       if (nodePoolDefaultsBuilder_ != null) {
         return nodePoolDefaultsBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolDefaults_ == null ?
-            com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance() : nodePoolDefaults_;
+        return nodePoolDefaults_ == null
+            ? com.google.container.v1beta1.NodePoolDefaults.getDefaultInstance()
+            : nodePoolDefaults_;
       }
     }
     /**
+     *
+     *
      * 
      * Default NodePool settings for the entire cluster. These settings are
      * overridden if specified on the specific NodePool object.
@@ -15485,14 +17590,17 @@ public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefault
      * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodePoolDefaults, com.google.container.v1beta1.NodePoolDefaults.Builder, com.google.container.v1beta1.NodePoolDefaultsOrBuilder> 
+            com.google.container.v1beta1.NodePoolDefaults,
+            com.google.container.v1beta1.NodePoolDefaults.Builder,
+            com.google.container.v1beta1.NodePoolDefaultsOrBuilder>
         getNodePoolDefaultsFieldBuilder() {
       if (nodePoolDefaultsBuilder_ == null) {
-        nodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolDefaults, com.google.container.v1beta1.NodePoolDefaults.Builder, com.google.container.v1beta1.NodePoolDefaultsOrBuilder>(
-                getNodePoolDefaults(),
-                getParentForChildren(),
-                isClean());
+        nodePoolDefaultsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodePoolDefaults,
+                com.google.container.v1beta1.NodePoolDefaults.Builder,
+                com.google.container.v1beta1.NodePoolDefaultsOrBuilder>(
+                getNodePoolDefaults(), getParentForChildren(), isClean());
         nodePoolDefaults_ = null;
       }
       return nodePoolDefaultsBuilder_;
@@ -15500,34 +17608,47 @@ public com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefault
 
     private com.google.container.v1beta1.LoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> loggingConfigBuilder_;
+            com.google.container.v1beta1.LoggingConfig,
+            com.google.container.v1beta1.LoggingConfig.Builder,
+            com.google.container.v1beta1.LoggingConfigOrBuilder>
+        loggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Logging configuration for the cluster.
      * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration for the cluster.
      * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; + * * @return The loggingConfig. */ public com.google.container.v1beta1.LoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -15548,6 +17669,8 @@ public Builder setLoggingConfig(com.google.container.v1beta1.LoggingConfig value return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -15566,6 +17689,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -15576,7 +17701,9 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.LoggingConfig val if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.LoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.LoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -15588,6 +17715,8 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.LoggingConfig val return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -15606,6 +17735,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -15613,11 +17744,13 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.LoggingConfig logging_config = 132; */ public com.google.container.v1beta1.LoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -15628,11 +17761,14 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration for the cluster.
      * 
@@ -15640,14 +17776,17 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui * .google.container.v1beta1.LoggingConfig logging_config = 132; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> + com.google.container.v1beta1.LoggingConfig, + com.google.container.v1beta1.LoggingConfig.Builder, + com.google.container.v1beta1.LoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingConfig, + com.google.container.v1beta1.LoggingConfig.Builder, + com.google.container.v1beta1.LoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -15655,34 +17794,47 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBui private com.google.container.v1beta1.MonitoringConfig monitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> monitoringConfigBuilder_; + com.google.container.v1beta1.MonitoringConfig, + com.google.container.v1beta1.MonitoringConfig.Builder, + com.google.container.v1beta1.MonitoringConfigOrBuilder> + monitoringConfigBuilder_; /** + * + * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; + * * @return Whether the monitoringConfig field is set. */ public boolean hasMonitoringConfig() { return monitoringConfigBuilder_ != null || monitoringConfig_ != null; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; + * * @return The monitoringConfig. */ public com.google.container.v1beta1.MonitoringConfig getMonitoringConfig() { if (monitoringConfigBuilder_ == null) { - return monitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } else { return monitoringConfigBuilder_.getMessage(); } } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -15703,6 +17855,8 @@ public Builder setMonitoringConfig(com.google.container.v1beta1.MonitoringConfig return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -15721,6 +17875,8 @@ public Builder setMonitoringConfig( return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -15731,7 +17887,9 @@ public Builder mergeMonitoringConfig(com.google.container.v1beta1.MonitoringConf if (monitoringConfigBuilder_ == null) { if (monitoringConfig_ != null) { monitoringConfig_ = - com.google.container.v1beta1.MonitoringConfig.newBuilder(monitoringConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MonitoringConfig.newBuilder(monitoringConfig_) + .mergeFrom(value) + .buildPartial(); } else { monitoringConfig_ = value; } @@ -15743,6 +17901,8 @@ public Builder mergeMonitoringConfig(com.google.container.v1beta1.MonitoringConf return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -15761,6 +17921,8 @@ public Builder clearMonitoringConfig() { return this; } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -15768,11 +17930,13 @@ public Builder clearMonitoringConfig() { * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; */ public com.google.container.v1beta1.MonitoringConfig.Builder getMonitoringConfigBuilder() { - + onChanged(); return getMonitoringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -15783,11 +17947,14 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi if (monitoringConfigBuilder_ != null) { return monitoringConfigBuilder_.getMessageOrBuilder(); } else { - return monitoringConfig_ == null ? - com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : monitoringConfig_; + return monitoringConfig_ == null + ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() + : monitoringConfig_; } } /** + * + * *
      * Monitoring configuration for the cluster.
      * 
@@ -15795,14 +17962,17 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> + com.google.container.v1beta1.MonitoringConfig, + com.google.container.v1beta1.MonitoringConfig.Builder, + com.google.container.v1beta1.MonitoringConfigOrBuilder> getMonitoringConfigFieldBuilder() { if (monitoringConfigBuilder_ == null) { - monitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder>( - getMonitoringConfig(), - getParentForChildren(), - isClean()); + monitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MonitoringConfig, + com.google.container.v1beta1.MonitoringConfig.Builder, + com.google.container.v1beta1.MonitoringConfigOrBuilder>( + getMonitoringConfig(), getParentForChildren(), isClean()); monitoringConfig_ = null; } return monitoringConfigBuilder_; @@ -15810,36 +17980,49 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfi private com.google.container.v1beta1.NodePoolAutoConfig nodePoolAutoConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoConfig, com.google.container.v1beta1.NodePoolAutoConfig.Builder, com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> nodePoolAutoConfigBuilder_; + com.google.container.v1beta1.NodePoolAutoConfig, + com.google.container.v1beta1.NodePoolAutoConfig.Builder, + com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> + nodePoolAutoConfigBuilder_; /** + * + * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return Whether the nodePoolAutoConfig field is set. */ public boolean hasNodePoolAutoConfig() { return nodePoolAutoConfigBuilder_ != null || nodePoolAutoConfig_ != null; } /** + * + * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return The nodePoolAutoConfig. */ public com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig() { if (nodePoolAutoConfigBuilder_ == null) { - return nodePoolAutoConfig_ == null ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_; + return nodePoolAutoConfig_ == null + ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() + : nodePoolAutoConfig_; } else { return nodePoolAutoConfigBuilder_.getMessage(); } } /** + * + * *
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15861,6 +18044,8 @@ public Builder setNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAutoCo
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15880,6 +18065,8 @@ public Builder setNodePoolAutoConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15891,7 +18078,9 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAuto
       if (nodePoolAutoConfigBuilder_ == null) {
         if (nodePoolAutoConfig_ != null) {
           nodePoolAutoConfig_ =
-            com.google.container.v1beta1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodePoolAutoConfig.newBuilder(nodePoolAutoConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           nodePoolAutoConfig_ = value;
         }
@@ -15903,6 +18092,8 @@ public Builder mergeNodePoolAutoConfig(com.google.container.v1beta1.NodePoolAuto
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15922,6 +18113,8 @@ public Builder clearNodePoolAutoConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15930,11 +18123,13 @@ public Builder clearNodePoolAutoConfig() {
      * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoConfigBuilder() {
-      
+
       onChanged();
       return getNodePoolAutoConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15942,15 +18137,19 @@ public com.google.container.v1beta1.NodePoolAutoConfig.Builder getNodePoolAutoCo
      *
      * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
-    public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder() {
+    public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder
+        getNodePoolAutoConfigOrBuilder() {
       if (nodePoolAutoConfigBuilder_ != null) {
         return nodePoolAutoConfigBuilder_.getMessageOrBuilder();
       } else {
-        return nodePoolAutoConfig_ == null ?
-            com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance() : nodePoolAutoConfig_;
+        return nodePoolAutoConfig_ == null
+            ? com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance()
+            : nodePoolAutoConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Node pool configs that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -15959,14 +18158,17 @@ public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoC
      * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodePoolAutoConfig, com.google.container.v1beta1.NodePoolAutoConfig.Builder, com.google.container.v1beta1.NodePoolAutoConfigOrBuilder> 
+            com.google.container.v1beta1.NodePoolAutoConfig,
+            com.google.container.v1beta1.NodePoolAutoConfig.Builder,
+            com.google.container.v1beta1.NodePoolAutoConfigOrBuilder>
         getNodePoolAutoConfigFieldBuilder() {
       if (nodePoolAutoConfigBuilder_ == null) {
-        nodePoolAutoConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolAutoConfig, com.google.container.v1beta1.NodePoolAutoConfig.Builder, com.google.container.v1beta1.NodePoolAutoConfigOrBuilder>(
-                getNodePoolAutoConfig(),
-                getParentForChildren(),
-                isClean());
+        nodePoolAutoConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodePoolAutoConfig,
+                com.google.container.v1beta1.NodePoolAutoConfig.Builder,
+                com.google.container.v1beta1.NodePoolAutoConfigOrBuilder>(
+                getNodePoolAutoConfig(), getParentForChildren(), isClean());
         nodePoolAutoConfig_ = null;
       }
       return nodePoolAutoConfigBuilder_;
@@ -15974,34 +18176,47 @@ public com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoC
 
     private com.google.container.v1beta1.ProtectConfig protectConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> protectConfigBuilder_;
+            com.google.container.v1beta1.ProtectConfig,
+            com.google.container.v1beta1.ProtectConfig.Builder,
+            com.google.container.v1beta1.ProtectConfigOrBuilder>
+        protectConfigBuilder_;
     /**
+     *
+     *
      * 
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * * @return Whether the protectConfig field is set. */ public boolean hasProtectConfig() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * * @return The protectConfig. */ public com.google.container.v1beta1.ProtectConfig getProtectConfig() { if (protectConfigBuilder_ == null) { - return protectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; } else { return protectConfigBuilder_.getMessage(); } } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -16022,6 +18237,8 @@ public Builder setProtectConfig(com.google.container.v1beta1.ProtectConfig value return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -16040,6 +18257,8 @@ public Builder setProtectConfig( return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -16048,11 +18267,13 @@ public Builder setProtectConfig( */ public Builder mergeProtectConfig(com.google.container.v1beta1.ProtectConfig value) { if (protectConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - protectConfig_ != null && - protectConfig_ != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && protectConfig_ != null + && protectConfig_ != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { protectConfig_ = - com.google.container.v1beta1.ProtectConfig.newBuilder(protectConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ProtectConfig.newBuilder(protectConfig_) + .mergeFrom(value) + .buildPartial(); } else { protectConfig_ = value; } @@ -16064,6 +18285,8 @@ public Builder mergeProtectConfig(com.google.container.v1beta1.ProtectConfig val return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -16081,6 +18304,8 @@ public Builder clearProtectConfig() { return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -16093,6 +18318,8 @@ public com.google.container.v1beta1.ProtectConfig.Builder getProtectConfigBuilde return getProtectConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -16103,11 +18330,14 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBui if (protectConfigBuilder_ != null) { return protectConfigBuilder_.getMessageOrBuilder(); } else { - return protectConfig_ == null ? - com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : protectConfig_; + return protectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : protectConfig_; } } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -16115,21 +18345,24 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getProtectConfigOrBui * optional .google.container.v1beta1.ProtectConfig protect_config = 137; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder> getProtectConfigFieldBuilder() { if (protectConfigBuilder_ == null) { - protectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder>( - getProtectConfig(), - getParentForChildren(), - isClean()); + protectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder>( + getProtectConfig(), getParentForChildren(), isClean()); protectConfig_ = null; } return protectConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -16139,12 +18372,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Cluster) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Cluster) private static final com.google.container.v1beta1.Cluster DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Cluster(); } @@ -16153,27 +18386,27 @@ public static com.google.container.v1beta1.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -16188,6 +18421,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java similarity index 71% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java index c0e44c52ecd7..de5c14b1d281 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ClusterAutoscaling contains global, per-cluster information
  * required by Cluster Autoscaler to automatically adjust
@@ -13,15 +30,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.ClusterAutoscaling}
  */
-public final class ClusterAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClusterAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClusterAutoscaling)
     ClusterAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClusterAutoscaling.newBuilder() to construct.
   private ClusterAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClusterAutoscaling() {
     resourceLimits_ = java.util.Collections.emptyList();
     autoscalingProfile_ = 0;
@@ -30,39 +48,43 @@ private ClusterAutoscaling() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClusterAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ClusterAutoscaling.class, com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
+            com.google.container.v1beta1.ClusterAutoscaling.class,
+            com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Defines possible options for autoscaling_profile field.
    * 
* * Protobuf enum {@code google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile} */ - public enum AutoscalingProfile - implements com.google.protobuf.ProtocolMessageEnum { + public enum AutoscalingProfile implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No change to autoscaling configuration.
      * 
@@ -71,6 +93,8 @@ public enum AutoscalingProfile */ PROFILE_UNSPECIFIED(0), /** + * + * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -79,6 +103,8 @@ public enum AutoscalingProfile */ OPTIMIZE_UTILIZATION(1), /** + * + * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -90,6 +116,8 @@ public enum AutoscalingProfile ; /** + * + * *
      * No change to autoscaling configuration.
      * 
@@ -98,6 +126,8 @@ public enum AutoscalingProfile */ public static final int PROFILE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Prioritize optimizing utilization of resources.
      * 
@@ -106,6 +136,8 @@ public enum AutoscalingProfile */ public static final int OPTIMIZE_UTILIZATION_VALUE = 1; /** + * + * *
      * Use default (balanced) autoscaling configuration.
      * 
@@ -114,7 +146,6 @@ public enum AutoscalingProfile */ public static final int BALANCED_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -139,10 +170,14 @@ public static AutoscalingProfile valueOf(int value) { */ public static AutoscalingProfile forNumber(int value) { switch (value) { - case 0: return PROFILE_UNSPECIFIED; - case 1: return OPTIMIZE_UTILIZATION; - case 2: return BALANCED; - default: return null; + case 0: + return PROFILE_UNSPECIFIED; + case 1: + return OPTIMIZE_UTILIZATION; + case 2: + return BALANCED; + default: + return null; } } @@ -150,28 +185,28 @@ public static AutoscalingProfile forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AutoscalingProfile> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AutoscalingProfile findValueByNumber(int number) { - return AutoscalingProfile.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AutoscalingProfile findValueByNumber(int number) { + return AutoscalingProfile.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.ClusterAutoscaling.getDescriptor().getEnumTypes().get(0); } @@ -180,8 +215,7 @@ public AutoscalingProfile findValueByNumber(int number) { public static AutoscalingProfile valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,11 +235,14 @@ private AutoscalingProfile(int value) { public static final int ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER = 1; private boolean enableNodeAutoprovisioning_; /** + * + * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; + * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -216,6 +253,8 @@ public boolean getEnableNodeAutoprovisioning() { public static final int RESOURCE_LIMITS_FIELD_NUMBER = 2; private java.util.List resourceLimits_; /** + * + * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -228,6 +267,8 @@ public java.util.List getResourceLim
     return resourceLimits_;
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -236,11 +277,13 @@ public java.util.List getResourceLim
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getResourceLimitsOrBuilderList() {
     return resourceLimits_;
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -253,6 +296,8 @@ public int getResourceLimitsCount() {
     return resourceLimits_.size();
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -265,6 +310,8 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
     return resourceLimits_.get(index);
   }
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -273,47 +320,67 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
-      int index) {
+  public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index) {
     return resourceLimits_.get(index);
   }
 
   public static final int AUTOSCALING_PROFILE_FIELD_NUMBER = 3;
   private int autoscalingProfile_;
   /**
+   *
+   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override public int getAutoscalingProfileValue() { + @java.lang.Override + public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** + * + * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The autoscalingProfile. */ - @java.lang.Override public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { + @java.lang.Override + public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile + getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); - return result == null ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; + com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = + com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf( + autoscalingProfile_); + return result == null + ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED + : result; } public static final int AUTOPROVISIONING_NODE_POOL_DEFAULTS_FIELD_NUMBER = 4; - private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; + private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults + autoprovisioningNodePoolDefaults_; /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return Whether the autoprovisioningNodePoolDefaults field is set. */ @java.lang.Override @@ -321,34 +388,49 @@ public boolean hasAutoprovisioningNodePoolDefaults() { return autoprovisioningNodePoolDefaults_ != null; } /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return The autoprovisioningNodePoolDefaults. */ @java.lang.Override - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults + getAutoprovisioningNodePoolDefaults() { + return autoprovisioningNodePoolDefaults_ == null + ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() + : autoprovisioningNodePoolDefaults_; } /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ @java.lang.Override - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder + getAutoprovisioningNodePoolDefaultsOrBuilder() { return getAutoprovisioningNodePoolDefaults(); } public static final int AUTOPROVISIONING_LOCATIONS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList autoprovisioningLocations_; /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -356,13 +438,15 @@ public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder ge
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList - getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { return autoprovisioningLocations_; } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -370,12 +454,15 @@ public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder ge
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -383,6 +470,7 @@ public int getAutoprovisioningLocationsCount() {
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -390,6 +478,8 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -397,15 +487,16 @@ public java.lang.String getAutoprovisioningLocations(int index) {
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString - getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -417,22 +508,24 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableNodeAutoprovisioning_ != false) { output.writeBool(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { output.writeMessage(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { + if (autoscalingProfile_ + != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { output.writeMessage(4, getAutoprovisioningNodePoolDefaults()); } for (int i = 0; i < autoprovisioningLocations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, autoprovisioningLocations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, autoprovisioningLocations_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -444,20 +537,20 @@ public int getSerializedSize() { size = 0; if (enableNodeAutoprovisioning_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableNodeAutoprovisioning_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableNodeAutoprovisioning_); } for (int i = 0; i < resourceLimits_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, resourceLimits_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, resourceLimits_.get(i)); } - if (autoscalingProfile_ != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, autoscalingProfile_); + if (autoscalingProfile_ + != com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.PROFILE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, autoscalingProfile_); } if (autoprovisioningNodePoolDefaults_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAutoprovisioningNodePoolDefaults()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, getAutoprovisioningNodePoolDefaults()); } { int dataSize = 0; @@ -475,25 +568,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClusterAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.ClusterAutoscaling other = (com.google.container.v1beta1.ClusterAutoscaling) obj; + com.google.container.v1beta1.ClusterAutoscaling other = + (com.google.container.v1beta1.ClusterAutoscaling) obj; - if (getEnableNodeAutoprovisioning() - != other.getEnableNodeAutoprovisioning()) return false; - if (!getResourceLimitsList() - .equals(other.getResourceLimitsList())) return false; + if (getEnableNodeAutoprovisioning() != other.getEnableNodeAutoprovisioning()) return false; + if (!getResourceLimitsList().equals(other.getResourceLimitsList())) return false; if (autoscalingProfile_ != other.autoscalingProfile_) return false; - if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) return false; + if (hasAutoprovisioningNodePoolDefaults() != other.hasAutoprovisioningNodePoolDefaults()) + return false; if (hasAutoprovisioningNodePoolDefaults()) { if (!getAutoprovisioningNodePoolDefaults() .equals(other.getAutoprovisioningNodePoolDefaults())) return false; } - if (!getAutoprovisioningLocationsList() - .equals(other.getAutoprovisioningLocationsList())) return false; + if (!getAutoprovisioningLocationsList().equals(other.getAutoprovisioningLocationsList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -506,8 +599,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_NODE_AUTOPROVISIONING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableNodeAutoprovisioning()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNodeAutoprovisioning()); if (getResourceLimitsCount() > 0) { hash = (37 * hash) + RESOURCE_LIMITS_FIELD_NUMBER; hash = (53 * hash) + getResourceLimitsList().hashCode(); @@ -527,97 +619,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( 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.ClusterAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClusterAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ClusterAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ClusterAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ClusterAutoscaling contains global, per-cluster information
    * required by Cluster Autoscaler to automatically adjust
@@ -627,33 +726,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ClusterAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClusterAutoscaling)
       com.google.container.v1beta1.ClusterAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ClusterAutoscaling.class, com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
+              com.google.container.v1beta1.ClusterAutoscaling.class,
+              com.google.container.v1beta1.ClusterAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ClusterAutoscaling.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -680,9 +778,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -701,7 +799,8 @@ public com.google.container.v1beta1.ClusterAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ClusterAutoscaling buildPartial() {
-      com.google.container.v1beta1.ClusterAutoscaling result = new com.google.container.v1beta1.ClusterAutoscaling(this);
+      com.google.container.v1beta1.ClusterAutoscaling result =
+          new com.google.container.v1beta1.ClusterAutoscaling(this);
       int from_bitField0_ = bitField0_;
       result.enableNodeAutoprovisioning_ = enableNodeAutoprovisioning_;
       if (resourceLimitsBuilder_ == null) {
@@ -732,38 +831,39 @@ public com.google.container.v1beta1.ClusterAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ClusterAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.ClusterAutoscaling)other);
+        return mergeFrom((com.google.container.v1beta1.ClusterAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -771,7 +871,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ClusterAutoscaling other) {
-      if (other == com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance())
+        return this;
       if (other.getEnableNodeAutoprovisioning() != false) {
         setEnableNodeAutoprovisioning(other.getEnableNodeAutoprovisioning());
       }
@@ -793,9 +894,10 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterAutoscaling other)
             resourceLimitsBuilder_ = null;
             resourceLimits_ = other.resourceLimits_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            resourceLimitsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getResourceLimitsFieldBuilder() : null;
+            resourceLimitsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResourceLimitsFieldBuilder()
+                    : null;
           } else {
             resourceLimitsBuilder_.addAllMessages(other.resourceLimits_);
           }
@@ -843,48 +945,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enableNodeAutoprovisioning_ = input.readBool();
-
-              break;
-            } // case 8
-            case 18: {
-              com.google.container.v1beta1.ResourceLimit m =
-                  input.readMessage(
-                      com.google.container.v1beta1.ResourceLimit.parser(),
-                      extensionRegistry);
-              if (resourceLimitsBuilder_ == null) {
-                ensureResourceLimitsIsMutable();
-                resourceLimits_.add(m);
-              } else {
-                resourceLimitsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              autoscalingProfile_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAutoprovisioningLocationsIsMutable();
-              autoprovisioningLocations_.add(s);
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enableNodeAutoprovisioning_ = input.readBool();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                com.google.container.v1beta1.ResourceLimit m =
+                    input.readMessage(
+                        com.google.container.v1beta1.ResourceLimit.parser(), extensionRegistry);
+                if (resourceLimitsBuilder_ == null) {
+                  ensureResourceLimitsIsMutable();
+                  resourceLimits_.add(m);
+                } else {
+                  resourceLimitsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                autoscalingProfile_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAutoprovisioningLocationsIsMutable();
+                autoprovisioningLocations_.add(s);
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -894,15 +1001,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enableNodeAutoprovisioning_ ;
+    private boolean enableNodeAutoprovisioning_;
     /**
+     *
+     *
      * 
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; + * * @return The enableNodeAutoprovisioning. */ @java.lang.Override @@ -910,48 +1021,61 @@ public boolean getEnableNodeAutoprovisioning() { return enableNodeAutoprovisioning_; } /** + * + * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; + * * @param value The enableNodeAutoprovisioning to set. * @return This builder for chaining. */ public Builder setEnableNodeAutoprovisioning(boolean value) { - + enableNodeAutoprovisioning_ = value; onChanged(); return this; } /** + * + * *
      * Enables automatic node pool creation and deletion.
      * 
* * bool enable_node_autoprovisioning = 1; + * * @return This builder for chaining. */ public Builder clearEnableNodeAutoprovisioning() { - + enableNodeAutoprovisioning_ = false; onChanged(); return this; } private java.util.List resourceLimits_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureResourceLimitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - resourceLimits_ = new java.util.ArrayList(resourceLimits_); + resourceLimits_ = + new java.util.ArrayList(resourceLimits_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ResourceLimit, com.google.container.v1beta1.ResourceLimit.Builder, com.google.container.v1beta1.ResourceLimitOrBuilder> resourceLimitsBuilder_; + com.google.container.v1beta1.ResourceLimit, + com.google.container.v1beta1.ResourceLimit.Builder, + com.google.container.v1beta1.ResourceLimitOrBuilder> + resourceLimitsBuilder_; /** + * + * *
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -967,6 +1091,8 @@ public java.util.List getResourceLim
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -982,6 +1108,8 @@ public int getResourceLimitsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -997,6 +1125,8 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1004,8 +1134,7 @@ public com.google.container.v1beta1.ResourceLimit getResourceLimits(int index) {
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public Builder setResourceLimits(
-        int index, com.google.container.v1beta1.ResourceLimit value) {
+    public Builder setResourceLimits(int index, com.google.container.v1beta1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1019,6 +1148,8 @@ public Builder setResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1038,6 +1169,8 @@ public Builder setResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1059,6 +1192,8 @@ public Builder addResourceLimits(com.google.container.v1beta1.ResourceLimit valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1066,8 +1201,7 @@ public Builder addResourceLimits(com.google.container.v1beta1.ResourceLimit valu
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public Builder addResourceLimits(
-        int index, com.google.container.v1beta1.ResourceLimit value) {
+    public Builder addResourceLimits(int index, com.google.container.v1beta1.ResourceLimit value) {
       if (resourceLimitsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1081,6 +1215,8 @@ public Builder addResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1100,6 +1236,8 @@ public Builder addResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1119,6 +1257,8 @@ public Builder addResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1130,8 +1270,7 @@ public Builder addAllResourceLimits(
         java.lang.Iterable values) {
       if (resourceLimitsBuilder_ == null) {
         ensureResourceLimitsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, resourceLimits_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceLimits_);
         onChanged();
       } else {
         resourceLimitsBuilder_.addAllMessages(values);
@@ -1139,6 +1278,8 @@ public Builder addAllResourceLimits(
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1157,6 +1298,8 @@ public Builder clearResourceLimits() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1175,6 +1318,8 @@ public Builder removeResourceLimits(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1182,11 +1327,12 @@ public Builder removeResourceLimits(int index) {
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1beta1.ResourceLimit.Builder getResourceLimitsBuilder(
-        int index) {
+    public com.google.container.v1beta1.ResourceLimit.Builder getResourceLimitsBuilder(int index) {
       return getResourceLimitsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1197,11 +1343,14 @@ public com.google.container.v1beta1.ResourceLimit.Builder getResourceLimitsBuild
     public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
         int index) {
       if (resourceLimitsBuilder_ == null) {
-        return resourceLimits_.get(index);  } else {
+        return resourceLimits_.get(index);
+      } else {
         return resourceLimitsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1209,8 +1358,8 @@ public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBu
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List 
-         getResourceLimitsOrBuilderList() {
+    public java.util.List
+        getResourceLimitsOrBuilderList() {
       if (resourceLimitsBuilder_ != null) {
         return resourceLimitsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1218,6 +1367,8 @@ public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1226,10 +1377,12 @@ public com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBu
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
     public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuilder() {
-      return getResourceLimitsFieldBuilder().addBuilder(
-          com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
+      return getResourceLimitsFieldBuilder()
+          .addBuilder(com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1237,12 +1390,13 @@ public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuild
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuilder(
-        int index) {
-      return getResourceLimitsFieldBuilder().addBuilder(
-          index, com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
+    public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuilder(int index) {
+      return getResourceLimitsFieldBuilder()
+          .addBuilder(index, com.google.container.v1beta1.ResourceLimit.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Contains global constraints regarding minimum and maximum
      * amount of resources in the cluster.
@@ -1250,16 +1404,22 @@ public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuild
      *
      * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
      */
-    public java.util.List 
-         getResourceLimitsBuilderList() {
+    public java.util.List
+        getResourceLimitsBuilderList() {
       return getResourceLimitsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.ResourceLimit, com.google.container.v1beta1.ResourceLimit.Builder, com.google.container.v1beta1.ResourceLimitOrBuilder> 
+            com.google.container.v1beta1.ResourceLimit,
+            com.google.container.v1beta1.ResourceLimit.Builder,
+            com.google.container.v1beta1.ResourceLimitOrBuilder>
         getResourceLimitsFieldBuilder() {
       if (resourceLimitsBuilder_ == null) {
-        resourceLimitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.ResourceLimit, com.google.container.v1beta1.ResourceLimit.Builder, com.google.container.v1beta1.ResourceLimitOrBuilder>(
+        resourceLimitsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1beta1.ResourceLimit,
+                com.google.container.v1beta1.ResourceLimit.Builder,
+                com.google.container.v1beta1.ResourceLimitOrBuilder>(
                 resourceLimits_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1271,118 +1431,173 @@ public com.google.container.v1beta1.ResourceLimit.Builder addResourceLimitsBuild
 
     private int autoscalingProfile_ = 0;
     /**
+     *
+     *
      * 
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The enum numeric value on the wire for autoscalingProfile. */ - @java.lang.Override public int getAutoscalingProfileValue() { + @java.lang.Override + public int getAutoscalingProfileValue() { return autoscalingProfile_; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @param value The enum numeric value on the wire for autoscalingProfile to set. * @return This builder for chaining. */ public Builder setAutoscalingProfileValue(int value) { - + autoscalingProfile_ = value; onChanged(); return this; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The autoscalingProfile. */ @java.lang.Override - public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile() { + public com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile + getAutoscalingProfile() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf(autoscalingProfile_); - return result == null ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED : result; + com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile result = + com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.valueOf( + autoscalingProfile_); + return result == null + ? com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile.UNRECOGNIZED + : result; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @param value The autoscalingProfile to set. * @return This builder for chaining. */ - public Builder setAutoscalingProfile(com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile value) { + public Builder setAutoscalingProfile( + com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile value) { if (value == null) { throw new NullPointerException(); } - + autoscalingProfile_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Defines autoscaling behaviour.
      * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return This builder for chaining. */ public Builder clearAutoscalingProfile() { - + autoscalingProfile_ = 0; onChanged(); return this; } - private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioningNodePoolDefaults_; + private com.google.container.v1beta1.AutoprovisioningNodePoolDefaults + autoprovisioningNodePoolDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> autoprovisioningNodePoolDefaultsBuilder_; + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, + com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> + autoprovisioningNodePoolDefaultsBuilder_; /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return Whether the autoprovisioningNodePoolDefaults field is set. */ public boolean hasAutoprovisioningNodePoolDefaults() { - return autoprovisioningNodePoolDefaultsBuilder_ != null || autoprovisioningNodePoolDefaults_ != null; + return autoprovisioningNodePoolDefaultsBuilder_ != null + || autoprovisioningNodePoolDefaults_ != null; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return The autoprovisioningNodePoolDefaults. */ - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults + getAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - return autoprovisioningNodePoolDefaults_ == null ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null + ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() + : autoprovisioningNodePoolDefaults_; } else { return autoprovisioningNodePoolDefaultsBuilder_.getMessage(); } } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public Builder setAutoprovisioningNodePoolDefaults(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { + public Builder setAutoprovisioningNodePoolDefaults( + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1396,12 +1611,16 @@ public Builder setAutoprovisioningNodePoolDefaults(com.google.container.v1beta1. return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ public Builder setAutoprovisioningNodePoolDefaults( com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder builderForValue) { @@ -1415,18 +1634,26 @@ public Builder setAutoprovisioningNodePoolDefaults( return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public Builder mergeAutoprovisioningNodePoolDefaults(com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { + public Builder mergeAutoprovisioningNodePoolDefaults( + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults value) { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { if (autoprovisioningNodePoolDefaults_ != null) { autoprovisioningNodePoolDefaults_ = - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.newBuilder(autoprovisioningNodePoolDefaults_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.newBuilder( + autoprovisioningNodePoolDefaults_) + .mergeFrom(value) + .buildPartial(); } else { autoprovisioningNodePoolDefaults_ = value; } @@ -1438,12 +1665,16 @@ public Builder mergeAutoprovisioningNodePoolDefaults(com.google.container.v1beta return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ public Builder clearAutoprovisioningNodePoolDefaults() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { @@ -1457,64 +1688,87 @@ public Builder clearAutoprovisioningNodePoolDefaults() { return this; } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder getAutoprovisioningNodePoolDefaultsBuilder() { - + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder + getAutoprovisioningNodePoolDefaultsBuilder() { + onChanged(); return getAutoprovisioningNodePoolDefaultsFieldBuilder().getBuilder(); } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { + public com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder + getAutoprovisioningNodePoolDefaultsOrBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ != null) { return autoprovisioningNodePoolDefaultsBuilder_.getMessageOrBuilder(); } else { - return autoprovisioningNodePoolDefaults_ == null ? - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() : autoprovisioningNodePoolDefaults_; + return autoprovisioningNodePoolDefaults_ == null + ? com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.getDefaultInstance() + : autoprovisioningNodePoolDefaults_; } } /** + * + * *
      * AutoprovisioningNodePoolDefaults contains defaults for a node pool
      * created by NAP.
      * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, + com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder> getAutoprovisioningNodePoolDefaultsFieldBuilder() { if (autoprovisioningNodePoolDefaultsBuilder_ == null) { - autoprovisioningNodePoolDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder>( - getAutoprovisioningNodePoolDefaults(), - getParentForChildren(), - isClean()); + autoprovisioningNodePoolDefaultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults, + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults.Builder, + com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder>( + getAutoprovisioningNodePoolDefaults(), getParentForChildren(), isClean()); autoprovisioningNodePoolDefaults_ = null; } return autoprovisioningNodePoolDefaultsBuilder_; } - private com.google.protobuf.LazyStringList autoprovisioningLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList autoprovisioningLocations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAutoprovisioningLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - autoprovisioningLocations_ = new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); + autoprovisioningLocations_ = + new com.google.protobuf.LazyStringArrayList(autoprovisioningLocations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1522,13 +1776,15 @@ private void ensureAutoprovisioningLocationsIsMutable() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @return A list containing the autoprovisioningLocations. */ - public com.google.protobuf.ProtocolStringList - getAutoprovisioningLocationsList() { + public com.google.protobuf.ProtocolStringList getAutoprovisioningLocationsList() { return autoprovisioningLocations_.getUnmodifiableView(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1536,12 +1792,15 @@ private void ensureAutoprovisioningLocationsIsMutable() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @return The count of autoprovisioningLocations. */ public int getAutoprovisioningLocationsCount() { return autoprovisioningLocations_.size(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1549,6 +1808,7 @@ public int getAutoprovisioningLocationsCount() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ @@ -1556,6 +1816,8 @@ public java.lang.String getAutoprovisioningLocations(int index) { return autoprovisioningLocations_.get(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1563,14 +1825,16 @@ public java.lang.String getAutoprovisioningLocations(int index) {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - public com.google.protobuf.ByteString - getAutoprovisioningLocationsBytes(int index) { + public com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index) { return autoprovisioningLocations_.getByteString(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1578,21 +1842,23 @@ public java.lang.String getAutoprovisioningLocations(int index) {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index to set the value at. * @param value The autoprovisioningLocations to set. * @return This builder for chaining. */ - public Builder setAutoprovisioningLocations( - int index, java.lang.String value) { + public Builder setAutoprovisioningLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1600,20 +1866,22 @@ public Builder setAutoprovisioningLocations(
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param value The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocations( - java.lang.String value) { + public Builder addAutoprovisioningLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAutoprovisioningLocationsIsMutable(); + throw new NullPointerException(); + } + ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1621,18 +1889,19 @@ public Builder addAutoprovisioningLocations(
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param values The autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAllAutoprovisioningLocations( - java.lang.Iterable values) { + public Builder addAllAutoprovisioningLocations(java.lang.Iterable values) { ensureAutoprovisioningLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, autoprovisioningLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, autoprovisioningLocations_); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1640,6 +1909,7 @@ public Builder addAllAutoprovisioningLocations(
      * 
* * repeated string autoprovisioning_locations = 5; + * * @return This builder for chaining. */ public Builder clearAutoprovisioningLocations() { @@ -1649,6 +1919,8 @@ public Builder clearAutoprovisioningLocations() { return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1656,23 +1928,23 @@ public Builder clearAutoprovisioningLocations() {
      * 
* * repeated string autoprovisioning_locations = 5; + * * @param value The bytes of the autoprovisioningLocations to add. * @return This builder for chaining. */ - public Builder addAutoprovisioningLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addAutoprovisioningLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAutoprovisioningLocationsIsMutable(); autoprovisioningLocations_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1682,12 +1954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClusterAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterAutoscaling) private static final com.google.container.v1beta1.ClusterAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClusterAutoscaling(); } @@ -1696,27 +1968,27 @@ public static com.google.container.v1beta1.ClusterAutoscaling getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1731,6 +2003,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClusterAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java index a489cb1fc997..de9c66f772bd 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterAutoscalingOrBuilder.java @@ -1,23 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface ClusterAutoscalingOrBuilder extends +public interface ClusterAutoscalingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClusterAutoscaling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Enables automatic node pool creation and deletion.
    * 
* * bool enable_node_autoprovisioning = 1; + * * @return The enableNodeAutoprovisioning. */ boolean getEnableNodeAutoprovisioning(); /** + * + * *
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -25,9 +46,10 @@ public interface ClusterAutoscalingOrBuilder extends
    *
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
-  java.util.List 
-      getResourceLimitsList();
+  java.util.List getResourceLimitsList();
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -37,6 +59,8 @@ public interface ClusterAutoscalingOrBuilder extends
    */
   com.google.container.v1beta1.ResourceLimit getResourceLimits(int index);
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -46,6 +70,8 @@ public interface ClusterAutoscalingOrBuilder extends
    */
   int getResourceLimitsCount();
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -53,9 +79,11 @@ public interface ClusterAutoscalingOrBuilder extends
    *
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
-  java.util.List 
+  java.util.List
       getResourceLimitsOrBuilderList();
   /**
+   *
+   *
    * 
    * Contains global constraints regarding minimum and maximum
    * amount of resources in the cluster.
@@ -63,59 +91,84 @@ public interface ClusterAutoscalingOrBuilder extends
    *
    * repeated .google.container.v1beta1.ResourceLimit resource_limits = 2;
    */
-  com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
-      int index);
+  com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The enum numeric value on the wire for autoscalingProfile. */ int getAutoscalingProfileValue(); /** + * + * *
    * Defines autoscaling behaviour.
    * 
* - * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * .google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile autoscaling_profile = 3; + * + * * @return The autoscalingProfile. */ com.google.container.v1beta1.ClusterAutoscaling.AutoscalingProfile getAutoscalingProfile(); /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return Whether the autoprovisioningNodePoolDefaults field is set. */ boolean hasAutoprovisioningNodePoolDefaults(); /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * * @return The autoprovisioningNodePoolDefaults. */ - com.google.container.v1beta1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults(); + com.google.container.v1beta1.AutoprovisioningNodePoolDefaults + getAutoprovisioningNodePoolDefaults(); /** + * + * *
    * AutoprovisioningNodePoolDefaults contains defaults for a node pool
    * created by NAP.
    * 
* - * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * + * .google.container.v1beta1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; + * */ - com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder(); + com.google.container.v1beta1.AutoprovisioningNodePoolDefaultsOrBuilder + getAutoprovisioningNodePoolDefaultsOrBuilder(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -123,11 +176,13 @@ com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return A list containing the autoprovisioningLocations. */ - java.util.List - getAutoprovisioningLocationsList(); + java.util.List getAutoprovisioningLocationsList(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -135,10 +190,13 @@ com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @return The count of autoprovisioningLocations. */ int getAutoprovisioningLocationsCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,11 +204,14 @@ com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the element to return. * @return The autoprovisioningLocations at the given index. */ java.lang.String getAutoprovisioningLocations(int index); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -158,9 +219,9 @@ com.google.container.v1beta1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(
    * 
* * repeated string autoprovisioning_locations = 5; + * * @param index The index of the value to return. * @return The bytes of the autoprovisioningLocations at the given index. */ - com.google.protobuf.ByteString - getAutoprovisioningLocationsBytes(int index); + com.google.protobuf.ByteString getAutoprovisioningLocationsBytes(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 88% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterOrBuilder.java index 023a904f5ff1..a969e8d3fb1a 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ClusterOrBuilder extends +public interface ClusterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Cluster) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -18,10 +36,13 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of this cluster. The name must be unique within this project
    * and location (e.g. zone or region), and can be up to 40 characters with
@@ -32,32 +53,39 @@ public interface ClusterOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * An optional description of this cluster.
    * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The number of nodes to create in this cluster. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -71,13 +99,17 @@ public interface ClusterOrBuilder extends
    * 
* * 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=1580 + * + * @deprecated google.container.v1beta1.Cluster.initial_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1580 * @return The initialNodeCount. */ - @java.lang.Deprecated int getInitialNodeCount(); + @java.lang.Deprecated + int getInitialNodeCount(); /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -92,12 +124,16 @@ public interface ClusterOrBuilder extends
    * 
* * .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=1593 + * + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1593 * @return Whether the nodeConfig field is set. */ - @java.lang.Deprecated boolean hasNodeConfig(); + @java.lang.Deprecated + boolean hasNodeConfig(); /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -112,12 +148,16 @@ public interface ClusterOrBuilder extends
    * 
* * .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=1593 + * + * @deprecated google.container.v1beta1.Cluster.node_config is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1593 * @return The nodeConfig. */ - @java.lang.Deprecated com.google.container.v1beta1.NodeConfig getNodeConfig(); + @java.lang.Deprecated + com.google.container.v1beta1.NodeConfig getNodeConfig(); /** + * + * *
    * Parameters used in creating the cluster's nodes.
    * For requests, this field should only be used in lieu of a
@@ -133,9 +173,12 @@ public interface ClusterOrBuilder extends
    *
    * .google.container.v1beta1.NodeConfig node_config = 4 [deprecated = true];
    */
-  @java.lang.Deprecated com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder();
+  @java.lang.Deprecated
+  com.google.container.v1beta1.NodeConfigOrBuilder getNodeConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -145,10 +188,13 @@ public interface ClusterOrBuilder extends
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; + * * @return Whether the masterAuth field is set. */ boolean hasMasterAuth(); /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -158,10 +204,13 @@ public interface ClusterOrBuilder extends
    * 
* * .google.container.v1beta1.MasterAuth master_auth = 5; + * * @return The masterAuth. */ com.google.container.v1beta1.MasterAuth getMasterAuth(); /** + * + * *
    * The authentication information for accessing the master endpoint.
    * If unspecified, the defaults are used:
@@ -175,6 +224,8 @@ public interface ClusterOrBuilder extends
   com.google.container.v1beta1.MasterAuthOrBuilder getMasterAuthOrBuilder();
 
   /**
+   *
+   *
    * 
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -188,10 +239,13 @@ public interface ClusterOrBuilder extends
    * 
* * string logging_service = 6; + * * @return The loggingService. */ java.lang.String getLoggingService(); /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -205,12 +259,14 @@ public interface ClusterOrBuilder extends
    * 
* * string logging_service = 6; + * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString - getLoggingServiceBytes(); + com.google.protobuf.ByteString getLoggingServiceBytes(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -224,10 +280,13 @@ public interface ClusterOrBuilder extends
    * 
* * string monitoring_service = 7; + * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -241,12 +300,14 @@ public interface ClusterOrBuilder extends
    * 
* * string monitoring_service = 7; + * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString - getMonitoringServiceBytes(); + com.google.protobuf.ByteString getMonitoringServiceBytes(); /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -256,10 +317,13 @@ public interface ClusterOrBuilder extends
    * 
* * string network = 8; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * The name of the Google Compute Engine
    * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -269,12 +333,14 @@ public interface ClusterOrBuilder extends
    * 
* * string network = 8; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -283,10 +349,13 @@ public interface ClusterOrBuilder extends
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The clusterIpv4Cidr. */ java.lang.String getClusterIpv4Cidr(); /** + * + * *
    * The IP address range of the container pods in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -295,30 +364,38 @@ public interface ClusterOrBuilder extends
    * 
* * string cluster_ipv4_cidr = 9; + * * @return The bytes for clusterIpv4Cidr. */ - com.google.protobuf.ByteString - getClusterIpv4CidrBytes(); + com.google.protobuf.ByteString getClusterIpv4CidrBytes(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; + * * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig addons_config = 10; + * * @return The addonsConfig. */ com.google.container.v1beta1.AddonsConfig getAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -328,6 +405,8 @@ public interface ClusterOrBuilder extends com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -336,10 +415,13 @@ public interface ClusterOrBuilder extends
    * 
* * string subnetwork = 11; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
    * The name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
@@ -348,12 +430,14 @@ public interface ClusterOrBuilder extends
    * 
* * string subnetwork = 11; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -362,9 +446,10 @@ public interface ClusterOrBuilder extends
    *
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
-  java.util.List 
-      getNodePoolsList();
+  java.util.List getNodePoolsList();
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -375,6 +460,8 @@ public interface ClusterOrBuilder extends
    */
   com.google.container.v1beta1.NodePool getNodePools(int index);
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -385,6 +472,8 @@ public interface ClusterOrBuilder extends
    */
   int getNodePoolsCount();
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -393,9 +482,11 @@ public interface ClusterOrBuilder extends
    *
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
-  java.util.List 
+  java.util.List
       getNodePoolsOrBuilderList();
   /**
+   *
+   *
    * 
    * The node pools associated with this cluster.
    * This field should not be set if "node_config" or "initial_node_count" are
@@ -404,10 +495,11 @@ public interface ClusterOrBuilder extends
    *
    * repeated .google.container.v1beta1.NodePool node_pools = 12;
    */
-  com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
-      int index);
+  com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -421,11 +513,13 @@ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -439,10 +533,13 @@ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -456,11 +553,14 @@ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -474,13 +574,15 @@ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * Kubernetes alpha features are enabled on this cluster. This includes alpha
    * API groups (e.g. v1beta1) and features that may not be production ready in
@@ -491,11 +593,14 @@ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    * 
* * bool enable_kubernetes_alpha = 14; + * * @return The enableKubernetesAlpha. */ boolean getEnableKubernetesAlpha(); /** + * + * *
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -505,6 +610,8 @@ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    */
   int getResourceLabelsCount();
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -512,15 +619,13 @@ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(
    *
    * map<string, string> resource_labels = 15;
    */
-  boolean containsResourceLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  boolean containsResourceLabels(java.lang.String key);
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getResourceLabels();
+  java.util.Map getResourceLabels();
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -528,9 +633,10 @@ boolean containsResourceLabels(
    *
    * map<string, string> resource_labels = 15;
    */
-  java.util.Map
-  getResourceLabelsMap();
+  java.util.Map getResourceLabelsMap();
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -540,11 +646,13 @@ boolean containsResourceLabels(
    */
 
   /* nullable */
-java.lang.String getResourceLabelsOrDefault(
+  java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The resource labels for the cluster to use to annotate any related
    * Google Compute Engine resources.
@@ -552,49 +660,60 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 15;
    */
-
-  java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** + * + * *
    * The fingerprint of the set of labels for this cluster.
    * 
* * string label_fingerprint = 16; + * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString - getLabelFingerprintBytes(); + com.google.protobuf.ByteString getLabelFingerprintBytes(); /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; + * * @return Whether the legacyAbac field is set. */ boolean hasLegacyAbac(); /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
* * .google.container.v1beta1.LegacyAbac legacy_abac = 18; + * * @return The legacyAbac. */ com.google.container.v1beta1.LegacyAbac getLegacyAbac(); /** + * + * *
    * Configuration for the legacy ABAC authorization mode.
    * 
@@ -604,24 +723,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.LegacyAbacOrBuilder getLegacyAbacOrBuilder(); /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; + * * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
* * .google.container.v1beta1.NetworkPolicy network_policy = 19; + * * @return The networkPolicy. */ com.google.container.v1beta1.NetworkPolicy getNetworkPolicy(); /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * 
@@ -631,24 +758,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return Whether the ipAllocationPolicy field is set. */ boolean hasIpAllocationPolicy(); /** + * + * *
    * Configuration for cluster IP allocation.
    * 
* * .google.container.v1beta1.IPAllocationPolicy ip_allocation_policy = 20; + * * @return The ipAllocationPolicy. */ com.google.container.v1beta1.IPAllocationPolicy getIpAllocationPolicy(); /** + * + * *
    * Configuration for cluster IP allocation.
    * 
@@ -658,51 +793,74 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder(); /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return Whether the masterAuthorizedNetworksConfig field is set. */ boolean hasMasterAuthorizedNetworksConfig(); /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * * @return The masterAuthorizedNetworksConfig. */ com.google.container.v1beta1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig(); /** + * + * *
    * The configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; + * */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder + getMasterAuthorizedNetworksConfigOrBuilder(); /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; + * * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
* * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 23; + * * @return The maintenancePolicy. */ com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy(); /** + * + * *
    * Configure the maintenance policy for this cluster.
    * 
@@ -712,24 +870,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; + * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** + * + * *
    * Configuration for Binary Authorization.
    * 
* * .google.container.v1beta1.BinaryAuthorization binary_authorization = 24; + * * @return The binaryAuthorization. */ com.google.container.v1beta1.BinaryAuthorization getBinaryAuthorization(); /** + * + * *
    * Configuration for Binary Authorization.
    * 
@@ -739,51 +905,68 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); /** + * + * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * * @return Whether the podSecurityPolicyConfig field is set. */ boolean hasPodSecurityPolicyConfig(); /** + * + * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; + * * @return The podSecurityPolicyConfig. */ com.google.container.v1beta1.PodSecurityPolicyConfig getPodSecurityPolicyConfig(); /** + * + * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * .google.container.v1beta1.PodSecurityPolicyConfig pod_security_policy_config = 25; */ - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getPodSecurityPolicyConfigOrBuilder(); + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder + getPodSecurityPolicyConfigOrBuilder(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling autoscaling = 26; + * * @return The autoscaling. */ com.google.container.v1beta1.ClusterAutoscaling getAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -793,24 +976,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.ClusterAutoscalingOrBuilder getAutoscalingOrBuilder(); /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** + * + * *
    * Configuration for cluster networking.
    * 
* * .google.container.v1beta1.NetworkConfig network_config = 27; + * * @return The networkConfig. */ com.google.container.v1beta1.NetworkConfig getNetworkConfig(); /** + * + * *
    * Configuration for cluster networking.
    * 
@@ -820,6 +1011,8 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.NetworkConfigOrBuilder getNetworkConfigOrBuilder(); /** + * + * *
    * If this is a private cluster setup. Private clusters are clusters that, by
    * default have no external IP addresses on the nodes and where nodes and the
@@ -829,13 +1022,17 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * bool private_cluster = 28 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1715 + * + * @deprecated google.container.v1beta1.Cluster.private_cluster is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1715 * @return The privateCluster. */ - @java.lang.Deprecated boolean getPrivateCluster(); + @java.lang.Deprecated + boolean getPrivateCluster(); /** + * + * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -845,12 +1042,16 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @return The masterIpv4CidrBlock. */ - @java.lang.Deprecated java.lang.String getMasterIpv4CidrBlock(); + @java.lang.Deprecated + java.lang.String getMasterIpv4CidrBlock(); /** + * + * *
    * The IP prefix in CIDR notation to use for the hosted master network.
    * This prefix will be used for assigning private IP addresses to the
@@ -860,14 +1061,17 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * 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=1722 + * + * @deprecated google.container.v1beta1.Cluster.master_ipv4_cidr_block is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1722 * @return The bytes for masterIpv4CidrBlock. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -875,10 +1079,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return Whether the defaultMaxPodsConstraint field is set. */ boolean hasDefaultMaxPodsConstraint(); /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -886,10 +1093,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * .google.container.v1beta1.MaxPodsConstraint default_max_pods_constraint = 30; + * * @return The defaultMaxPodsConstraint. */ com.google.container.v1beta1.MaxPodsConstraint getDefaultMaxPodsConstraint(); /** + * + * *
    * The default constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool of this cluster. Only honored
@@ -901,81 +1111,113 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1beta1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return Whether the resourceUsageExportConfig field is set. */ boolean hasResourceUsageExportConfig(); /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * + * * @return The resourceUsageExportConfig. */ com.google.container.v1beta1.ResourceUsageExportConfig getResourceUsageExportConfig(); /** + * + * *
    * Configuration for exporting resource usages. Resource usage export is
    * disabled when this config unspecified.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * .google.container.v1beta1.ResourceUsageExportConfig resource_usage_export_config = 33; + * */ - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder + getResourceUsageExportConfigOrBuilder(); /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * + * * @return Whether the authenticatorGroupsConfig field is set. */ boolean hasAuthenticatorGroupsConfig(); /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * + * * @return The authenticatorGroupsConfig. */ com.google.container.v1beta1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig(); /** + * + * *
    * Configuration controlling RBAC group membership information.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * .google.container.v1beta1.AuthenticatorGroupsConfig authenticator_groups_config = 34; + * */ - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder + getAuthenticatorGroupsConfigOrBuilder(); /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; + * * @return Whether the privateClusterConfig field is set. */ boolean hasPrivateClusterConfig(); /** + * + * *
    * Configuration for private cluster.
    * 
* * .google.container.v1beta1.PrivateClusterConfig private_cluster_config = 37; + * * @return The privateClusterConfig. */ com.google.container.v1beta1.PrivateClusterConfig getPrivateClusterConfig(); /** + * + * *
    * Configuration for private cluster.
    * 
@@ -985,24 +1227,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return Whether the verticalPodAutoscaling field is set. */ boolean hasVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* * .google.container.v1beta1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; + * * @return The verticalPodAutoscaling. */ com.google.container.v1beta1.VerticalPodAutoscaling getVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
@@ -1012,24 +1262,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder(); /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; + * * @return Whether the shieldedNodes field is set. */ boolean hasShieldedNodes(); /** + * + * *
    * Shielded Nodes configuration.
    * 
* * .google.container.v1beta1.ShieldedNodes shielded_nodes = 40; + * * @return The shieldedNodes. */ com.google.container.v1beta1.ShieldedNodes getShieldedNodes(); /** + * + * *
    * Shielded Nodes configuration.
    * 
@@ -1039,25 +1297,33 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.ShieldedNodesOrBuilder getShieldedNodesOrBuilder(); /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; + * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** + * + * *
    * Release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 41; + * * @return The releaseChannel. */ com.google.container.v1beta1.ReleaseChannel getReleaseChannel(); /** - *
+   *
+   *
+   * 
    * Release channel configuration.
    * 
* @@ -1066,26 +1332,34 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder(); /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return Whether the workloadIdentityConfig field is set. */ boolean hasWorkloadIdentityConfig(); /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
    * 
* * .google.container.v1beta1.WorkloadIdentityConfig workload_identity_config = 43; + * * @return The workloadIdentityConfig. */ com.google.container.v1beta1.WorkloadIdentityConfig getWorkloadIdentityConfig(); /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -1096,26 +1370,34 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; + * * @return Whether the workloadCertificates field is set. */ boolean hasWorkloadCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates workload_certificates = 52; + * * @return The workloadCertificates. */ com.google.container.v1beta1.WorkloadCertificates getWorkloadCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1126,26 +1408,34 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1beta1.WorkloadCertificatesOrBuilder getWorkloadCertificatesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; + * * @return Whether the meshCertificates field is set. */ boolean hasMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates mesh_certificates = 67; + * * @return The meshCertificates. */ com.google.container.v1beta1.MeshCertificates getMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1156,24 +1446,32 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1beta1.MeshCertificatesOrBuilder getMeshCertificatesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * * @return Whether the workloadAltsConfig field is set. */ boolean hasWorkloadAltsConfig(); /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig workload_alts_config = 53; + * * @return The workloadAltsConfig. */ com.google.container.v1beta1.WorkloadALTSConfig getWorkloadAltsConfig(); /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -1183,24 +1481,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getWorkloadAltsConfigOrBuilder(); /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * * @return Whether the costManagementConfig field is set. */ boolean hasCostManagementConfig(); /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
* * .google.container.v1beta1.CostManagementConfig cost_management_config = 45; + * * @return The costManagementConfig. */ com.google.container.v1beta1.CostManagementConfig getCostManagementConfig(); /** + * + * *
    * Configuration for the fine-grained cost management feature.
    * 
@@ -1210,24 +1516,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.CostManagementConfigOrBuilder getCostManagementConfigOrBuilder(); /** + * + * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * * @return Whether the clusterTelemetry field is set. */ boolean hasClusterTelemetry(); /** + * + * *
    * Telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry cluster_telemetry = 46; + * * @return The clusterTelemetry. */ com.google.container.v1beta1.ClusterTelemetry getClusterTelemetry(); /** + * + * *
    * Telemetry integration for the cluster.
    * 
@@ -1237,24 +1551,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.ClusterTelemetryOrBuilder getClusterTelemetryOrBuilder(); /** + * + * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; + * * @return Whether the tpuConfig field is set. */ boolean hasTpuConfig(); /** + * + * *
    * Configuration for Cloud TPU support;
    * 
* * .google.container.v1beta1.TpuConfig tpu_config = 47; + * * @return The tpuConfig. */ com.google.container.v1beta1.TpuConfig getTpuConfig(); /** + * + * *
    * Configuration for Cloud TPU support;
    * 
@@ -1264,24 +1586,32 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.TpuConfigOrBuilder getTpuConfigOrBuilder(); /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; + * * @return Whether the notificationConfig field is set. */ boolean hasNotificationConfig(); /** + * + * *
    * Notification configuration of the cluster.
    * 
* * .google.container.v1beta1.NotificationConfig notification_config = 49; + * * @return The notificationConfig. */ com.google.container.v1beta1.NotificationConfig getNotificationConfig(); /** + * + * *
    * Notification configuration of the cluster.
    * 
@@ -1291,26 +1621,34 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.NotificationConfigOrBuilder getNotificationConfigOrBuilder(); /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; + * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 50; + * * @return The confidentialNodes. */ com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); /** + * + * *
    * Configuration of Confidential Nodes.
    * All the nodes in the cluster will be Confidential VM once enabled.
@@ -1321,24 +1659,32 @@ java.lang.String getResourceLabelsOrThrow(
   com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; + * * @return Whether the identityServiceConfig field is set. */ boolean hasIdentityServiceConfig(); /** + * + * *
    * Configuration for Identity Service component.
    * 
* * .google.container.v1beta1.IdentityServiceConfig identity_service_config = 54; + * * @return The identityServiceConfig. */ com.google.container.v1beta1.IdentityServiceConfig getIdentityServiceConfig(); /** + * + * *
    * Configuration for Identity Service component.
    * 
@@ -1348,26 +1694,33 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.IdentityServiceConfigOrBuilder getIdentityServiceConfigOrBuilder(); /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ java.lang.String getSelfLink(); /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString - getSelfLinkBytes(); + com.google.protobuf.ByteString getSelfLinkBytes(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1375,12 +1728,16 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1388,14 +1745,17 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string zone = 101 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1788 + * + * @deprecated google.container.v1beta1.Cluster.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1788 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1405,10 +1765,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string endpoint = 102; + * * @return The endpoint. */ java.lang.String getEndpoint(); /** + * + * *
    * [Output only] The IP address of this cluster's master endpoint.
    * The endpoint can be accessed from the internet at
@@ -1418,12 +1781,14 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string endpoint = 102; + * * @return The bytes for endpoint. */ - com.google.protobuf.ByteString - getEndpointBytes(); + com.google.protobuf.ByteString getEndpointBytes(); /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1439,10 +1804,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string initial_cluster_version = 103; + * * @return The initialClusterVersion. */ java.lang.String getInitialClusterVersion(); /** + * + * *
    * The initial Kubernetes version for this cluster.  Valid versions are those
    * found in validMasterVersions returned by getServerConfig.  The version can
@@ -1458,32 +1826,39 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string initial_cluster_version = 103; + * * @return The bytes for initialClusterVersion. */ - com.google.protobuf.ByteString - getInitialClusterVersionBytes(); + com.google.protobuf.ByteString getInitialClusterVersionBytes(); /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The currentMasterVersion. */ java.lang.String getCurrentMasterVersion(); /** + * + * *
    * [Output only] The current software version of the master endpoint.
    * 
* * string current_master_version = 104; + * * @return The bytes for currentMasterVersion. */ - com.google.protobuf.ByteString - getCurrentMasterVersionBytes(); + com.google.protobuf.ByteString getCurrentMasterVersionBytes(); /** + * + * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -1493,12 +1868,16 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @return The currentNodeVersion. */ - @java.lang.Deprecated java.lang.String getCurrentNodeVersion(); + @java.lang.Deprecated + java.lang.String getCurrentNodeVersion(); /** + * + * *
    * [Output only] Deprecated, use
    * [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
@@ -1508,55 +1887,69 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * 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=1821 + * + * @deprecated google.container.v1beta1.Cluster.current_node_version is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1821 * @return The bytes for currentNodeVersion. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getCurrentNodeVersionBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getCurrentNodeVersionBytes(); /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The createTime. */ java.lang.String getCreateTime(); /** + * + * *
    * [Output only] The time the cluster was created, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string create_time = 106; + * * @return The bytes for createTime. */ - com.google.protobuf.ByteString - getCreateTimeBytes(); + com.google.protobuf.ByteString getCreateTimeBytes(); /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * [Output only] The current status of this cluster.
    * 
* * .google.container.v1beta1.Cluster.Status status = 107; + * * @return The status. */ com.google.container.v1beta1.Cluster.Status getStatus(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1564,12 +1957,16 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @return The statusMessage. */ - @java.lang.Deprecated java.lang.String getStatusMessage(); + @java.lang.Deprecated + java.lang.String getStatusMessage(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -1577,14 +1974,17 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string status_message = 108 [deprecated = true]; - * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1833 + * + * @deprecated google.container.v1beta1.Cluster.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1833 * @return The bytes for statusMessage. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getStatusMessageBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * [Output only] The size of the address space on each node for hosting
    * containers. This is provisioned from within the `container_ipv4_cidr`
@@ -1593,11 +1993,14 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * int32 node_ipv4_cidr_size = 109; + * * @return The nodeIpv4CidrSize. */ int getNodeIpv4CidrSize(); /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -1607,10 +2010,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string services_ipv4_cidr = 110; + * * @return The servicesIpv4Cidr. */ java.lang.String getServicesIpv4Cidr(); /** + * + * *
    * [Output only] The IP address range of the Kubernetes services in
    * this cluster, in
@@ -1620,96 +2026,121 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string services_ipv4_cidr = 110; + * * @return The bytes for servicesIpv4Cidr. */ - com.google.protobuf.ByteString - getServicesIpv4CidrBytes(); + com.google.protobuf.ByteString getServicesIpv4CidrBytes(); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @return A list containing the instanceGroupUrls. */ - @java.lang.Deprecated java.util.List - getInstanceGroupUrlsList(); + @java.lang.Deprecated + java.util.List getInstanceGroupUrlsList(); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @return The count of instanceGroupUrls. */ - @java.lang.Deprecated int getInstanceGroupUrlsCount(); + @java.lang.Deprecated + int getInstanceGroupUrlsCount(); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ - @java.lang.Deprecated java.lang.String getInstanceGroupUrls(int index); + @java.lang.Deprecated + java.lang.String getInstanceGroupUrls(int index); /** + * + * *
    * Deprecated. Use node_pools.instance_group_urls.
    * 
* * 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=1849 + * + * @deprecated google.container.v1beta1.Cluster.instance_group_urls is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1849 * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index); + @java.lang.Deprecated + com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); /** + * + * *
    * [Output only]  The number of nodes currently in the cluster. Deprecated.
    * Call Kubernetes API directly to retrieve node information.
    * 
* * 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=1853 + * + * @deprecated google.container.v1beta1.Cluster.current_node_count is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1853 * @return The currentNodeCount. */ - @java.lang.Deprecated int getCurrentNodeCount(); + @java.lang.Deprecated + int getCurrentNodeCount(); /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The expireTime. */ java.lang.String getExpireTime(); /** + * + * *
    * [Output only] The time the cluster will be automatically
    * deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string expire_time = 113; + * * @return The bytes for expireTime. */ - com.google.protobuf.ByteString - getExpireTimeBytes(); + com.google.protobuf.ByteString getExpireTimeBytes(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1719,10 +2150,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string location = 114; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1732,23 +2166,28 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string location = 114; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * Enable the ability to use Cloud TPUs in this cluster.
    * This field is deprecated, use tpu_config.enabled instead.
    * 
* * bool enable_tpu = 115; + * * @return The enableTpu. */ boolean getEnableTpu(); /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -1756,10 +2195,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** + * + * *
    * [Output only] The IP address range of the Cloud TPUs in this cluster, in
    * [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
@@ -1767,30 +2209,38 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string tpu_ipv4_cidr_block = 116; + * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; + * * @return Whether the databaseEncryption field is set. */ boolean hasDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption database_encryption = 38; + * * @return The databaseEncryption. */ com.google.container.v1beta1.DatabaseEncryption getDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
@@ -1800,15 +2250,18 @@ java.lang.String getResourceLabelsOrThrow( com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - java.util.List - getConditionsList(); + java.util.List getConditionsList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -1817,6 +2270,8 @@ java.lang.String getResourceLabelsOrThrow( */ com.google.container.v1beta1.StatusCondition getConditions(int index); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
@@ -1825,43 +2280,54 @@ java.lang.String getResourceLabelsOrThrow( */ int getConditionsCount(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 118; */ - com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( - int index); + com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index); /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; + * * @return Whether the master field is set. */ boolean hasMaster(); /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master master = 124; + * * @return The master. */ com.google.container.v1beta1.Master getMaster(); /** + * + * *
    * Configuration for master components.
    * 
@@ -1871,24 +2337,32 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1beta1.MasterOrBuilder getMasterOrBuilder(); /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; + * * @return Whether the autopilot field is set. */ boolean hasAutopilot(); /** + * + * *
    * Autopilot configuration for the cluster.
    * 
* * .google.container.v1beta1.Autopilot autopilot = 128; + * * @return The autopilot. */ com.google.container.v1beta1.Autopilot getAutopilot(); /** + * + * *
    * Autopilot configuration for the cluster.
    * 
@@ -1898,46 +2372,59 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1beta1.AutopilotOrBuilder getAutopilotOrBuilder(); /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Output only. Unique id for the cluster.
    * 
* * string id = 129 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; + * * @return Whether the nodePoolDefaults field is set. */ boolean hasNodePoolDefaults(); /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
    * 
* * optional .google.container.v1beta1.NodePoolDefaults node_pool_defaults = 131; + * * @return The nodePoolDefaults. */ com.google.container.v1beta1.NodePoolDefaults getNodePoolDefaults(); /** + * + * *
    * Default NodePool settings for the entire cluster. These settings are
    * overridden if specified on the specific NodePool object.
@@ -1948,24 +2435,32 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(
   com.google.container.v1beta1.NodePoolDefaultsOrBuilder getNodePoolDefaultsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration for the cluster.
    * 
* * .google.container.v1beta1.LoggingConfig logging_config = 132; + * * @return The loggingConfig. */ com.google.container.v1beta1.LoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration for the cluster.
    * 
@@ -1975,24 +2470,32 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1beta1.LoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; + * * @return Whether the monitoringConfig field is set. */ boolean hasMonitoringConfig(); /** + * + * *
    * Monitoring configuration for the cluster.
    * 
* * .google.container.v1beta1.MonitoringConfig monitoring_config = 133; + * * @return The monitoringConfig. */ com.google.container.v1beta1.MonitoringConfig getMonitoringConfig(); /** + * + * *
    * Monitoring configuration for the cluster.
    * 
@@ -2002,26 +2505,34 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1beta1.MonitoringConfigOrBuilder getMonitoringConfigOrBuilder(); /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return Whether the nodePoolAutoConfig field is set. */ boolean hasNodePoolAutoConfig(); /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* * .google.container.v1beta1.NodePoolAutoConfig node_pool_auto_config = 136; + * * @return The nodePoolAutoConfig. */ com.google.container.v1beta1.NodePoolAutoConfig getNodePoolAutoConfig(); /** + * + * *
    * Node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
@@ -2032,24 +2543,32 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(
   com.google.container.v1beta1.NodePoolAutoConfigOrBuilder getNodePoolAutoConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * * @return Whether the protectConfig field is set. */ boolean hasProtectConfig(); /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig protect_config = 137; + * * @return The protectConfig. */ com.google.container.v1beta1.ProtectConfig getProtectConfig(); /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
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 new file mode 100644 index 000000000000..bdfac192b283 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java @@ -0,0 +1,3756 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 + +package com.google.container.v1beta1; + +public final class ClusterServiceProto { + private ClusterServiceProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SandboxConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GcfsConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ReservationAffinity_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeTaint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeTaints_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeLabels_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceLabels_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkTags_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MasterAuth_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AddonsConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_KalmConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IstioConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CloudRunConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LegacyAbac_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Cluster_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ProtectConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClusterUpdate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Operation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Operation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_OperationProgress_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WindowsVersions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodeManagement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_TimeWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceLimit_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLabelsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListLocationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Location_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Location_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_StatusCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NetworkConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UsableSubnetwork_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DNSConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MeshCertificates_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_VirtualNIC_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_FastSocket_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Jwk_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Jwk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ReleaseChannel_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_TpuConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Master_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Master_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_Autopilot_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NotificationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_ConfidentialNodes_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpgradeEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LoggingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/container/v1beta1/cluster_servi" + + "ce.proto\022\030google.container.v1beta1\032\034goog" + + "le/api/annotations.proto\032\027google/api/cli" + + "ent.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\036google/pr" + + "otobuf/duration.proto\032\033google/protobuf/e" + + "mpty.proto\032\037google/protobuf/timestamp.pr" + + "oto\032\036google/protobuf/wrappers.proto\032\025goo" + + "gle/rpc/code.proto\032\027google/rpc/status.pr" + + "oto\032\026google/type/date.proto\"\250\002\n\017LinuxNod" + + "eConfig\022G\n\007sysctls\030\001 \003(\01326.google.contai" + + "ner.v1beta1.LinuxNodeConfig.SysctlsEntry" + + "\022I\n\013cgroup_mode\030\002 \001(\01624.google.container" + + ".v1beta1.LinuxNodeConfig.CgroupMode\032.\n\014S" + + "ysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECI" + + "FIED\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MOD" + + "E_V2\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_mana" + + "ger_policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132" + + "\032.google.protobuf.BoolValue\022\034\n\024cpu_cfs_q" + + "uota_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(" + + "\003\"\310\r\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\010metadata\030" + + "\004 \003(\01322.google.container.v1beta1.NodeCon" + + "fig.MetadataEntry\022\022\n\nimage_type\030\005 \001(\t\022@\n" + + "\006labels\030\006 \003(\01320.google.container.v1beta1" + + ".NodeConfig.LabelsEntry\022\027\n\017local_ssd_cou" + + "nt\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible\030\n " + + "\001(\010\022A\n\014accelerators\030\013 \003(\0132+.google.conta" + + "iner.v1beta1.AcceleratorConfig\022?\n\016sandbo" + + "x_config\030\021 \001(\0132\'.google.container.v1beta" + + "1.SandboxConfig\022\022\n\nnode_group\030\022 \001(\t\022K\n\024r" + + "eservation_affinity\030\023 \001(\0132-.google.conta" + + "iner.v1beta1.ReservationAffinity\022\021\n\tdisk" + + "_type\030\014 \001(\t\022\030\n\020min_cpu_platform\030\r \001(\t\022R\n" + + "\030workload_metadata_config\030\016 \001(\01320.google" + + ".container.v1beta1.WorkloadMetadataConfi" + + "g\0223\n\006taints\030\017 \003(\0132#.google.container.v1b" + + "eta1.NodeTaint\022\031\n\021boot_disk_kms_key\030\027 \001(" + + "\t\022R\n\030shielded_instance_config\030\024 \001(\01320.go" + + "ogle.container.v1beta1.ShieldedInstanceC" + + "onfig\022D\n\021linux_node_config\030\025 \001(\0132).googl" + + "e.container.v1beta1.LinuxNodeConfig\022C\n\016k" + + "ubelet_config\030\026 \001(\0132+.google.container.v" + + "1beta1.NodeKubeletConfig\022R\n\030ephemeral_st" + + "orage_config\030\030 \001(\01320.google.container.v1" + + "beta1.EphemeralStorageConfig\0229\n\013gcfs_con" + + "fig\030\031 \001(\0132$.google.container.v1beta1.Gcf" + + "sConfig\022T\n\031advanced_machine_features\030\032 \001" + + "(\01321.google.container.v1beta1.AdvancedMa" + + "chineFeatures\0223\n\005gvnic\030\035 \001(\0132$.google.co" + + "ntainer.v1beta1.VirtualNIC\022\014\n\004spot\030 \001(\010" + + "\022G\n\022confidential_nodes\030# \001(\0132+.google.co" + + "ntainer.v1beta1.ConfidentialNodes\022>\n\013fas" + + "t_socket\030$ \001(\0132$.google.container.v1beta" + + "1.FastSocketH\000\210\001\001\022Q\n\017resource_labels\030% \003" + + "(\01328.google.container.v1beta1.NodeConfig" + + ".ResourceLabelsEntry\022G\n\016logging_config\030&" + + " \001(\0132/.google.container.v1beta1.NodePool" + + "LoggingConfig\032/\n\rMetadataEntry\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\023Resourc" + + "eLabelsEntry\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\027AdvancedMachineF" + + "eatures\022\035\n\020threads_per_core\030\001 \001(\003H\000\210\001\001B\023" + + "\n\021_threads_per_core\"\251\005\n\021NodeNetworkConfi" + + "g\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\032n" + + "etwork_performance_config\030\013 \001(\0132D.google" + + ".container.v1beta1.NodeNetworkConfig.Net" + + "workPerformanceConfigH\001\210\001\001\032\372\002\n\030NetworkPe" + + "rformanceConfig\022s\n\033total_egress_bandwidt" + + "h_tier\030\001 \001(\0162I.google.container.v1beta1." + + "NodeNetworkConfig.NetworkPerformanceConf" + + "ig.TierH\000\210\001\001\022y\n!external_ip_egress_bandw" + + "idth_tier\030\002 \001(\0162I.google.container.v1bet" + + "a1.NodeNetworkConfig.NetworkPerformanceC" + + "onfig.TierH\001\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIF" + + "IED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_total_egress_bandw" + + "idth_tierB$\n\"_external_ip_egress_bandwid" + + "th_tierB\027\n\025_enable_private_nodesB\035\n\033_net" + + "work_performance_config\"Y\n\026ShieldedInsta" + + "nceConfig\022\032\n\022enable_secure_boot\030\001 \001(\010\022#\n" + + "\033enable_integrity_monitoring\030\002 \001(\010\"\212\001\n\rS" + + "andboxConfig\022\030\n\014sandbox_type\030\001 \001(\tB\002\030\001\022:" + + "\n\004type\030\002 \001(\0162,.google.container.v1beta1." + + "SandboxConfig.Type\"#\n\004Type\022\017\n\013UNSPECIFIE" + + "D\020\000\022\n\n\006GVISOR\020\001\"1\n\026EphemeralStorageConfi" + + "g\022\027\n\017local_ssd_count\030\001 \001(\005\"\035\n\nGcfsConfig" + + "\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\023ReservationAffinit" + + "y\022T\n\030consume_reservation_type\030\001 \001(\01622.go" + + "ogle.container.v1beta1.ReservationAffini" + + "ty.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004" + + "Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESERVATION\020" + + "\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIFIC_RESER" + + "VATION\020\003\"\276\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t\022:\n\006effect\030\003 \001(\0162*.google.cont" + + "ainer.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" + + ".container.v1beta1.NodeTaint\"}\n\nNodeLabe" + + "ls\022@\n\006labels\030\001 \003(\01320.google.container.v1" + + "beta1.NodeLabels.LabelsEntry\032-\n\013LabelsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\016" + + "ResourceLabels\022D\n\006labels\030\001 \003(\01324.google." + + "container.v1beta1.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" + + "\"\336\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\022T\n\031client_certificat" + + "e_config\030\003 \001(\01321.google.container.v1beta" + + "1.ClientCertificateConfig\022\036\n\026cluster_ca_" + + "certificate\030d \001(\t\022\032\n\022client_certificate\030" + + "e \001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCerti" + + "ficateConfig\022 \n\030issue_client_certificate" + + "\030\001 \001(\010\"\305\007\n\014AddonsConfig\022H\n\023http_load_bal" + + "ancing\030\001 \001(\0132+.google.container.v1beta1." + + "HttpLoadBalancing\022V\n\032horizontal_pod_auto" + + "scaling\030\002 \001(\01322.google.container.v1beta1" + + ".HorizontalPodAutoscaling\022O\n\024kubernetes_" + + "dashboard\030\003 \001(\0132-.google.container.v1bet" + + "a1.KubernetesDashboardB\002\030\001\022L\n\025network_po" + + "licy_config\030\004 \001(\0132-.google.container.v1b" + + "eta1.NetworkPolicyConfig\022?\n\014istio_config" + + "\030\005 \001(\0132%.google.container.v1beta1.IstioC" + + "onfigB\002\030\001\022B\n\020cloud_run_config\030\007 \001(\0132(.go" + + "ogle.container.v1beta1.CloudRunConfig\022B\n" + + "\020dns_cache_config\030\010 \001(\0132(.google.contain" + + "er.v1beta1.DnsCacheConfig\022P\n\027config_conn" + + "ector_config\030\n \001(\0132/.google.container.v1" + + "beta1.ConfigConnectorConfig\022i\n%gce_persi" + + "stent_disk_csi_driver_config\030\013 \001(\0132:.goo" + + "gle.container.v1beta1.GcePersistentDiskC" + + "siDriverConfig\022=\n\013kalm_config\030\014 \001(\0132$.go" + + "ogle.container.v1beta1.KalmConfigB\002\030\001\022^\n" + + "\037gcp_filestore_csi_driver_config\030\016 \001(\01325" + + ".google.container.v1beta1.GcpFilestoreCs" + + "iDriverConfig\022O\n\027gke_backup_agent_config" + + "\030\020 \001(\0132..google.container.v1beta1.GkeBac" + + "kupAgentConfig\"%\n\021HttpLoadBalancing\022\020\n\010d" + + "isabled\030\001 \001(\010\",\n\030HorizontalPodAutoscalin" + + "g\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDashboa" + + "rd\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPolicyCon" + + "fig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheConfig\022" + + "\017\n\007enabled\030\001 \001(\010\"!\n\nKalmConfig\022\023\n\007enable" + + "d\030\001 \001(\010B\002\030\001\"\'\n\024GkeBackupAgentConfig\022\017\n\007e" + + "nabled\030\001 \001(\010\"(\n\025ConfigConnectorConfig\022\017\n" + + "\007enabled\030\001 \001(\010\"3\n GcePersistentDiskCsiDr" + + "iverConfig\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilest" + + "oreCsiDriverConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&P" + + "rivateClusterMasterGlobalAccessConfig\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_ci" + + "dr_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_nam" + + "e\030\007 \001(\t\022e\n\033master_global_access_config\030\010" + + " \001(\0132@.google.container.v1beta1.PrivateC" + + "lusterMasterGlobalAccessConfig\022#\n\033privat" + + "e_endpoint_subnetwork\030\n \001(\t\"\237\001\n\013IstioCon" + + "fig\022\024\n\010disabled\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\0162" + + "3.google.container.v1beta1.IstioConfig.I" + + "stioAuthModeB\002\030\001\"3\n\rIstioAuthMode\022\r\n\tAUT" + + "H_NONE\020\000\022\023\n\017AUTH_MUTUAL_TLS\020\001\"\363\001\n\016CloudR" + + "unConfig\022\020\n\010disabled\030\001 \001(\010\022U\n\022load_balan" + + "cer_type\030\003 \001(\01629.google.container.v1beta" + + "1.CloudRunConfig.LoadBalancerType\"x\n\020Loa" + + "dBalancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSP" + + "ECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL" + + "\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"\223\002\n\036" + + "MasterAuthorizedNetworksConfig\022\017\n\007enable" + + "d\030\001 \001(\010\022W\n\013cidr_blocks\030\002 \003(\0132B.google.co" + + "ntainer.v1beta1.MasterAuthorizedNetworks" + + "Config.CidrBlock\022,\n\037gcp_public_cidrs_acc" + + "ess_enabled\030\003 \001(\010H\000\210\001\001\0325\n\tCidrBlock\022\024\n\014d" + + "isplay_name\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\tB\"\n" + + " _gcp_public_cidrs_access_enabled\"\035\n\nLeg" + + "acyAbac\022\017\n\007enabled\030\001 \001(\010\"\226\001\n\rNetworkPoli" + + "cy\022B\n\010provider\030\001 \001(\01620.google.container." + + "v1beta1.NetworkPolicy.Provider\022\017\n\007enable" + + "d\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_UNSPECIF" + + "IED\020\000\022\n\n\006CALICO\020\001\"\270\006\n\022IPAllocationPolicy" + + "\022\026\n\016use_ip_aliases\030\001 \001(\010\022\031\n\021create_subne" + + "twork\030\002 \001(\010\022\027\n\017subnetwork_name\030\003 \001(\t\022\035\n\021" + + "cluster_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_cidr\030\006 " + + "\001(\tB\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" + + "\024node_ipv4_cidr_block\030\n \001(\t\022 \n\030services_" + + "ipv4_cidr_block\030\013 \001(\t\022\033\n\023allow_route_ove" + + "rlap\030\014 \001(\010\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022" + + "\022\n\nuse_routes\030\017 \001(\010\022J\n\nstack_type\030\020 \001(\0162" + + "6.google.container.v1beta1.IPAllocationP" + + "olicy.StackType\022U\n\020ipv6_access_type\030\021 \001(" + + "\0162;.google.container.v1beta1.IPAllocatio" + + "nPolicy.IPv6AccessType\022#\n\026subnet_ipv6_ci" + + "dr_block\030\026 \001(\tB\003\340A\003\022%\n\030services_ipv6_cid" + + "r_block\030\027 \001(\tB\003\340A\003\"@\n\tStackType\022\032\n\026STACK" + + "_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_IP" + + "V6\020\002\"N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TY" + + "PE_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERN" + + "AL\020\002\"\350\001\n\023BinaryAuthorization\022\023\n\007enabled\030" + + "\001 \001(\010B\002\030\001\022U\n\017evaluation_mode\030\002 \001(\0162<.goo" + + "gle.container.v1beta1.BinaryAuthorizatio" + + "n.EvaluationMode\"e\n\016EvaluationMode\022\037\n\033EV" + + "ALUATION_MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020" + + "\001\022$\n PROJECT_SINGLETON_POLICY_ENFORCE\020\002\"" + + "*\n\027PodSecurityPolicyConfig\022\017\n\007enabled\030\001 " + + "\001(\010\"D\n\031AuthenticatorGroupsConfig\022\017\n\007enab" + + "led\030\001 \001(\010\022\026\n\016security_group\030\002 \001(\t\"\226\001\n\020Cl" + + "usterTelemetry\022=\n\004type\030\001 \001(\0162/.google.co" + + "ntainer.v1beta1.ClusterTelemetry.Type\"C\n" + + "\004Type\022\017\n\013UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\013\n\007" + + "ENABLED\020\002\022\017\n\013SYSTEM_ONLY\020\003\"\360\036\n\007Cluster\022\014" + + "\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022ini" + + "tial_node_count\030\003 \001(\005B\002\030\001\022=\n\013node_config" + + "\030\004 \001(\0132$.google.container.v1beta1.NodeCo" + + "nfigB\002\030\001\0229\n\013master_auth\030\005 \001(\0132$.google.c" + + "ontainer.v1beta1.MasterAuth\022\027\n\017logging_s" + + "ervice\030\006 \001(\t\022\032\n\022monitoring_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_config\030\n \001(\0132&.google.con" + + "tainer.v1beta1.AddonsConfig\022\022\n\nsubnetwor" + + "k\030\013 \001(\t\0226\n\nnode_pools\030\014 \003(\0132\".google.con" + + "tainer.v1beta1.NodePool\022\021\n\tlocations\030\r \003" + + "(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001(\010\022N\n\017r" + + "esource_labels\030\017 \003(\01325.google.container." + + "v1beta1.Cluster.ResourceLabelsEntry\022\031\n\021l" + + "abel_fingerprint\030\020 \001(\t\0229\n\013legacy_abac\030\022 " + + "\001(\0132$.google.container.v1beta1.LegacyAba" + + "c\022?\n\016network_policy\030\023 \001(\0132\'.google.conta" + + "iner.v1beta1.NetworkPolicy\022J\n\024ip_allocat" + + "ion_policy\030\024 \001(\0132,.google.container.v1be" + + "ta1.IPAllocationPolicy\022c\n!master_authori" + + "zed_networks_config\030\026 \001(\01328.google.conta" + + "iner.v1beta1.MasterAuthorizedNetworksCon" + + "fig\022G\n\022maintenance_policy\030\027 \001(\0132+.google" + + ".container.v1beta1.MaintenancePolicy\022K\n\024" + + "binary_authorization\030\030 \001(\0132-.google.cont" + + "ainer.v1beta1.BinaryAuthorization\022U\n\032pod" + + "_security_policy_config\030\031 \001(\01321.google.c" + + "ontainer.v1beta1.PodSecurityPolicyConfig" + + "\022A\n\013autoscaling\030\032 \001(\0132,.google.container" + + ".v1beta1.ClusterAutoscaling\022?\n\016network_c" + + "onfig\030\033 \001(\0132\'.google.container.v1beta1.N" + + "etworkConfig\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(\0132+.goo" + + "gle.container.v1beta1.MaxPodsConstraint\022" + + "Y\n\034resource_usage_export_config\030! \001(\01323." + + "google.container.v1beta1.ResourceUsageEx" + + "portConfig\022X\n\033authenticator_groups_confi" + + "g\030\" \001(\01323.google.container.v1beta1.Authe" + + "nticatorGroupsConfig\022N\n\026private_cluster_" + + "config\030% \001(\0132..google.container.v1beta1." + + "PrivateClusterConfig\022R\n\030vertical_pod_aut" + + "oscaling\030\' \001(\01320.google.container.v1beta" + + "1.VerticalPodAutoscaling\022?\n\016shielded_nod" + + "es\030( \001(\0132\'.google.container.v1beta1.Shie" + + "ldedNodes\022A\n\017release_channel\030) \001(\0132(.goo" + + "gle.container.v1beta1.ReleaseChannel\022R\n\030" + + "workload_identity_config\030+ \001(\01320.google." + + "container.v1beta1.WorkloadIdentityConfig" + + "\022M\n\025workload_certificates\0304 \001(\0132..google" + + ".container.v1beta1.WorkloadCertificates\022" + + "E\n\021mesh_certificates\030C \001(\0132*.google.cont" + + "ainer.v1beta1.MeshCertificates\022J\n\024worklo" + + "ad_alts_config\0305 \001(\0132,.google.container." + + "v1beta1.WorkloadALTSConfig\022N\n\026cost_manag" + + "ement_config\030- \001(\0132..google.container.v1" + + "beta1.CostManagementConfig\022E\n\021cluster_te" + + "lemetry\030. \001(\0132*.google.container.v1beta1" + + ".ClusterTelemetry\0227\n\ntpu_config\030/ \001(\0132#." + + "google.container.v1beta1.TpuConfig\022I\n\023no" + + "tification_config\0301 \001(\0132,.google.contain" + + "er.v1beta1.NotificationConfig\022G\n\022confide" + + "ntial_nodes\0302 \001(\0132+.google.container.v1b" + + "eta1.ConfidentialNodes\022P\n\027identity_servi" + + "ce_config\0306 \001(\0132/.google.container.v1bet" + + "a1.IdentityServiceConfig\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_version\030g \001(\t\022\036\n\026curr" + + "ent_master_version\030h \001(\t\022 \n\024current_node" + + "_version\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\022" + + "8\n\006status\030k \001(\0162(.google.container.v1bet" + + "a1.Cluster.Status\022\032\n\016status_message\030l \001(" + + "\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m \001(\005\022\032\n\022se" + + "rvices_ipv4_cidr\030n \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_c" + + "idr_block\030t \001(\t\022I\n\023database_encryption\030&" + + " \001(\0132,.google.container.v1beta1.Database" + + "Encryption\022=\n\nconditions\030v \003(\0132).google." + + "container.v1beta1.StatusCondition\0220\n\006mas" + + "ter\030| \001(\0132 .google.container.v1beta1.Mas" + + "ter\0227\n\tautopilot\030\200\001 \001(\0132#.google.contain" + + "er.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.con" + + "tainer.v1beta1.NodePoolDefaultsH\000\210\001\001\022@\n\016" + + "logging_config\030\204\001 \001(\0132\'.google.container" + + ".v1beta1.LoggingConfig\022F\n\021monitoring_con" + + "fig\030\205\001 \001(\0132*.google.container.v1beta1.Mo" + + "nitoringConfig\022L\n\025node_pool_auto_config\030" + + "\210\001 \001(\0132,.google.container.v1beta1.NodePo" + + "olAutoConfig\022E\n\016protect_config\030\211\001 \001(\0132\'." + + "google.container.v1beta1.ProtectConfigH\001" + + "\210\001\001\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_U" + + "NSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNIN" + + "G\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ER" + + "ROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defaul" + + "tsB\021\n\017_protect_config\"\304\001\n\016WorkloadConfig" + + "\022F\n\naudit_mode\030\001 \001(\0162-.google.container." + + "v1beta1.WorkloadConfig.ModeH\000\210\001\001\"[\n\004Mode" + + "\022\024\n\020MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005" + + "BASIC\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.contain" + + "er.v1beta1.WorkloadConfigH\000\210\001\001\022k\n\033worklo" + + "ad_vulnerability_mode\030\002 \001(\0162A.google.con" + + "tainer.v1beta1.ProtectConfig.WorkloadVul" + + "nerabilityModeH\001\210\001\001\"a\n\031WorkloadVulnerabi" + + "lityMode\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_vulnerab" + + "ility_mode\"^\n\020NodePoolDefaults\022J\n\024node_c" + + "onfig_defaults\030\001 \001(\0132,.google.container." + + "v1beta1.NodeConfigDefaults\"\230\001\n\022NodeConfi" + + "gDefaults\0229\n\013gcfs_config\030\001 \001(\0132$.google." + + "container.v1beta1.GcfsConfig\022G\n\016logging_" + + "config\030\003 \001(\0132/.google.container.v1beta1." + + "NodePoolLoggingConfig\"Q\n\022NodePoolAutoCon" + + "fig\022;\n\014network_tags\030\001 \001(\0132%.google.conta" + + "iner.v1beta1.NetworkTags\"\366\032\n\rClusterUpda" + + "te\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032desi" + + "red_monitoring_service\030\005 \001(\t\022E\n\025desired_" + + "addons_config\030\006 \001(\0132&.google.container.v" + + "1beta1.AddonsConfig\022\034\n\024desired_node_pool" + + "_id\030\007 \001(\t\022\032\n\022desired_image_type\030\010 \001(\t\022T\n" + + "\035desired_node_pool_autoscaling\030\t \001(\0132-.g" + + "oogle.container.v1beta1.NodePoolAutoscal" + + "ing\022\031\n\021desired_locations\030\n \003(\t\022k\n)desire" + + "d_master_authorized_networks_config\030\014 \001(" + + "\01328.google.container.v1beta1.MasterAutho" + + "rizedNetworksConfig\022]\n\"desired_pod_secur" + + "ity_policy_config\030\016 \001(\01321.google.contain" + + "er.v1beta1.PodSecurityPolicyConfig\022Q\n\033de" + + "sired_cluster_autoscaling\030\017 \001(\0132,.google" + + ".container.v1beta1.ClusterAutoscaling\022S\n" + + "\034desired_binary_authorization\030\020 \001(\0132-.go" + + "ogle.container.v1beta1.BinaryAuthorizati" + + "on\022\037\n\027desired_logging_service\030\023 \001(\t\022a\n$d" + + "esired_resource_usage_export_config\030\025 \001(" + + "\01323.google.container.v1beta1.ResourceUsa" + + "geExportConfig\022Z\n desired_vertical_pod_a" + + "utoscaling\030\026 \001(\01320.google.container.v1be" + + "ta1.VerticalPodAutoscaling\022V\n\036desired_pr" + + "ivate_cluster_config\030\031 \001(\0132..google.cont" + + "ainer.v1beta1.PrivateClusterConfig\022a\n$de" + + "sired_intra_node_visibility_config\030\032 \001(\013" + + "23.google.container.v1beta1.IntraNodeVis" + + "ibilityConfig\022P\n\033desired_default_snat_st" + + "atus\030\034 \001(\0132+.google.container.v1beta1.De" + + "faultSnatStatus\022M\n\031desired_cluster_telem" + + "etry\030\036 \001(\0132*.google.container.v1beta1.Cl" + + "usterTelemetry\022I\n\027desired_release_channe" + + "l\030\037 \001(\0132(.google.container.v1beta1.Relea" + + "seChannel\022?\n\022desired_tpu_config\030& \001(\0132#." + + "google.container.v1beta1.TpuConfig\022V\n\037de" + + "sired_l4ilb_subsetting_config\030\' \001(\0132-.go" + + "ogle.container.v1beta1.ILBSubsettingConf" + + "ig\022M\n\031desired_datapath_provider\0302 \001(\0162*." + + "google.container.v1beta1.DatapathProvide" + + "r\022]\n\"desired_private_ipv6_google_access\030" + + "3 \001(\01621.google.container.v1beta1.Private" + + "IPv6GoogleAccess\022Q\n\033desired_notification" + + "_config\0307 \001(\0132,.google.container.v1beta1" + + ".NotificationConfig\022\036\n\026desired_master_ve" + + "rsion\030d \001(\t\022A\n\023desired_gcfs_config\030m \001(\013" + + "2$.google.container.v1beta1.GcfsConfig\022Q" + + "\n\033desired_database_encryption\030. \001(\0132,.go" + + "ogle.container.v1beta1.DatabaseEncryptio" + + "n\022Z\n desired_workload_identity_config\030/ " + + "\001(\01320.google.container.v1beta1.WorkloadI" + + "dentityConfig\022U\n\035desired_workload_certif" + + "icates\030= \001(\0132..google.container.v1beta1." + + "WorkloadCertificates\022M\n\031desired_mesh_cer" + + "tificates\030C \001(\0132*.google.container.v1bet" + + "a1.MeshCertificates\022R\n\034desired_workload_" + + "alts_config\030> \001(\0132,.google.container.v1b" + + "eta1.WorkloadALTSConfig\022G\n\026desired_shiel" + + "ded_nodes\0300 \001(\0132\'.google.container.v1bet" + + "a1.ShieldedNodes\022V\n\036desired_cost_managem" + + "ent_config\0301 \001(\0132..google.container.v1be" + + "ta1.CostManagementConfig\0228\n\016desired_mast", + "er\0304 \001(\0132 .google.container.v1beta1.Mast" + + "er\022?\n\022desired_dns_config\0305 \001(\0132#.google." + + "container.v1beta1.DNSConfig\022_\n#desired_s" + + "ervice_external_ips_config\030< \001(\01322.googl" + + "e.container.v1beta1.ServiceExternalIPsCo" + + "nfig\022`\n#desired_authenticator_groups_con" + + "fig\030? \001(\01323.google.container.v1beta1.Aut" + + "henticatorGroupsConfig\022G\n\026desired_loggin" + + "g_config\030@ \001(\0132\'.google.container.v1beta" + + "1.LoggingConfig\022M\n\031desired_monitoring_co" + + "nfig\030A \001(\0132*.google.container.v1beta1.Mo" + + "nitoringConfig\022X\n\037desired_identity_servi" + + "ce_config\030B \001(\0132/.google.container.v1bet" + + "a1.IdentityServiceConfig\022,\n\037desired_enab" + + "le_private_endpoint\030G \001(\010H\000\210\001\001\022Y\n*desire" + + "d_node_pool_auto_config_network_tags\030n \001" + + "(\0132%.google.container.v1beta1.NetworkTag" + + "s\022L\n\026desired_protect_config\030p \001(\0132\'.goog" + + "le.container.v1beta1.ProtectConfigH\001\210\001\001\022" + + "N\n\032desired_gateway_api_config\030r \001(\0132*.go" + + "ogle.container.v1beta1.GatewayAPIConfig\022" + + "Y\n desired_node_pool_logging_config\030t \001(" + + "\0132/.google.container.v1beta1.NodePoolLog" + + "gingConfigB\"\n _desired_enable_private_en" + + "dpointB\031\n\027_desired_protect_config\"\212\010\n\tOp" + + "eration\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.contain" + + "er.v1beta1.Operation.Type\022:\n\006status\030\004 \001(" + + "\0162*.google.container.v1beta1.Operation.S" + + "tatus\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\013targe" + + "t_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+.google.container.v1beta1.Operat" + + "ionProgressB\003\340A\003\022I\n\022cluster_conditions\030\r" + + " \003(\0132).google.container.v1beta1.StatusCo" + + "nditionB\002\030\001\022J\n\023nodepool_conditions\030\016 \003(\013" + + "2).google.container.v1beta1.StatusCondit" + + "ionB\002\030\001\022!\n\005error\030\017 \001(\0132\022.google.rpc.Stat" + + "us\"R\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007" + + "PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABOR" + + "TING\020\004\"\375\002\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" + + "\016UPGRADE_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016" + + "REPAIR_CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020" + + "CREATE_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_R" + + "EPAIR_NODES\020\n\022\026\n\022AUTO_UPGRADE_NODES\020\013\022\016\n" + + "\nSET_LABELS\020\014\022\023\n\017SET_MASTER_AUTH\020\r\022\026\n\022SE" + + "T_NODE_POOL_SIZE\020\016\022\026\n\022SET_NETWORK_POLICY" + + "\020\017\022\032\n\026SET_MAINTENANCE_POLICY\020\020\"\312\002\n\021Opera" + + "tionProgress\022\014\n\004name\030\001 \001(\t\022:\n\006status\030\002 \001" + + "(\0162*.google.container.v1beta1.Operation." + + "Status\022C\n\007metrics\030\003 \003(\01322.google.contain" + + "er.v1beta1.OperationProgress.Metric\022;\n\006s" + + "tages\030\004 \003(\0132+.google.container.v1beta1.O" + + "perationProgress\032i\n\006Metric\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014double_val" + + "ue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005va" + + "lue\"\217\001\n\024CreateClusterRequest\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\007" + + "cluster\030\003 \001(\0132!.google.container.v1beta1" + + ".ClusterB\003\340A\002\022\016\n\006parent\030\005 \001(\t\"l\n\021GetClus" + + "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\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\024UpdateClusterReq" + + "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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" + + "<\n\006update\030\004 \001(\0132\'.google.container.v1bet" + + "a1.ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\354\010\n\025" + + "UpdateNodePoolRequest\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_version\030\005 \001(\tB\003\340A\002\022\027\n\nimag" + + "e_type\030\006 \001(\tB\003\340A\002\022\021\n\tlocations\030\r \003(\t\022R\n\030" + + "workload_metadata_config\030\016 \001(\01320.google." + + "container.v1beta1.WorkloadMetadataConfig" + + "\022\014\n\004name\030\010 \001(\t\022L\n\020upgrade_settings\030\017 \001(\013" + + "22.google.container.v1beta1.NodePool.Upg" + + "radeSettings\0223\n\004tags\030\020 \001(\0132%.google.cont" + + "ainer.v1beta1.NetworkTags\0224\n\006taints\030\021 \001(" + + "\0132$.google.container.v1beta1.NodeTaints\022" + + "4\n\006labels\030\022 \001(\0132$.google.container.v1bet" + + "a1.NodeLabels\022D\n\021linux_node_config\030\023 \001(\013" + + "2).google.container.v1beta1.LinuxNodeCon" + + "fig\022C\n\016kubelet_config\030\024 \001(\0132+.google.con" + + "tainer.v1beta1.NodeKubeletConfig\022H\n\023node" + + "_network_config\030\025 \001(\0132+.google.container" + + ".v1beta1.NodeNetworkConfig\0229\n\013gcfs_confi" + + "g\030\026 \001(\0132$.google.container.v1beta1.GcfsC" + + "onfig\022G\n\022confidential_nodes\030\027 \001(\0132+.goog" + + "le.container.v1beta1.ConfidentialNodes\0223" + + "\n\005gvnic\030\035 \001(\0132$.google.container.v1beta1" + + ".VirtualNIC\0229\n\013fast_socket\030\037 \001(\0132$.googl" + + "e.container.v1beta1.FastSocket\022G\n\016loggin" + + "g_config\030 \001(\0132/.google.container.v1beta" + + "1.NodePoolLoggingConfig\022A\n\017resource_labe" + + "ls\030! \001(\0132(.google.container.v1beta1.Reso" + + "urceLabels\"\336\001\n\035SetNodePoolAutoscalingReq" + + "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\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\022G\n\013autoscal" + + "ing\030\005 \001(\0132-.google.container.v1beta1.Nod" + + "ePoolAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\221\001\n\030" + + "SetLoggingServiceRequest\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\034\n\017logging_service\030\004" + + " \001(\tB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\227\001\n\033SetMonitorin" + + "gServiceRequest\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\037\n\022monitoring_service\030\004 \001(\tB\003" + + "\340A\002\022\014\n\004name\030\006 \001(\t\"\265\001\n\026SetAddonsConfigReq" + + "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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" + + "B\n\raddons_config\030\004 \001(\0132&.google.containe" + + "r.v1beta1.AddonsConfigB\003\340A\002\022\014\n\004name\030\006 \001(" + + "\t\"\206\001\n\023SetLocationsRequest\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\026\n\tlocations\030\004 \003(\tB" + + "\003\340A\002\022\014\n\004name\030\006 \001(\t\"\213\001\n\023UpdateMasterReque" + + "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\031\n\ncluster_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\024SetMasterAuthRequest\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\022J\n\006action\030\004 \001(\01625.g" + + "oogle.container.v1beta1.SetMasterAuthReq" + + "uest.ActionB\003\340A\002\0229\n\006update\030\005 \001(\0132$.googl" + + "e.container.v1beta1.MasterAuthB\003\340A\002\022\014\n\004n" + + "ame\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\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\014\n\004name\030\004" + + " \001(\t\"U\n\023ListClustersRequest\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\016\n\006p" + + "arent\030\004 \001(\t\"b\n\024ListClustersResponse\0223\n\010c" + + "lusters\030\001 \003(\0132!.google.container.v1beta1" + + ".Cluster\022\025\n\rmissing_zones\030\002 \003(\t\"p\n\023GetOp" + + "erationRequest\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\025ListOperati" + + "onsRequest\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\026Ca" + + "ncelOperationRequest\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\033\n\014operatio" + + "n_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"h\n\026ListO" + + "perationsResponse\0227\n\noperations\030\001 \003(\0132#." + + "google.container.v1beta1.Operation\022\025\n\rmi" + + "ssing_zones\030\002 \003(\t\"V\n\026GetServerConfigRequ" + + "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\014\n\004name\030\004 \001(\t\"\351\005\n\014ServerConf" + + "ig\022\037\n\027default_cluster_version\030\001 \001(\t\022\033\n\023v" + + "alid_node_versions\030\003 \003(\t\022\032\n\022default_imag" + + "e_type\030\004 \001(\t\022\031\n\021valid_image_types\030\005 \003(\t\022" + + "\035\n\025valid_master_versions\030\006 \003(\t\022M\n\010channe" + + "ls\030\t \003(\0132;.google.container.v1beta1.Serv" + + "erConfig.ReleaseChannelConfig\022\\\n\024windows" + + "_version_maps\030\n \003(\0132>.google.container.v" + + "1beta1.ServerConfig.WindowsVersionMapsEn" + + "try\032\261\002\n\024ReleaseChannelConfig\022A\n\007channel\030" + + "\001 \001(\01620.google.container.v1beta1.Release" + + "Channel.Channel\022\027\n\017default_version\030\002 \001(\t" + + "\022l\n\022available_versions\030\003 \003(\0132L.google.co" + + "ntainer.v1beta1.ServerConfig.ReleaseChan" + + "nelConfig.AvailableVersionB\002\030\001\022\026\n\016valid_" + + "versions\030\004 \003(\t\0327\n\020AvailableVersion\022\017\n\007ve" + + "rsion\030\001 \001(\t\022\016\n\006reason\030\002 \001(\t:\002\030\001\032d\n\027Windo" + + "wsVersionMapsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value" + + "\030\002 \001(\0132).google.container.v1beta1.Window" + + "sVersions:\0028\001\"\314\001\n\017WindowsVersions\022R\n\020win" + + "dows_versions\030\001 \003(\01328.google.container.v" + + "1beta1.WindowsVersions.WindowsVersion\032e\n" + + "\016WindowsVersion\022\022\n\nimage_type\030\001 \001(\t\022\022\n\no" + + "s_version\030\002 \001(\t\022+\n\020support_end_date\030\003 \001(" + + "\0132\021.google.type.Date\"\256\001\n\025CreateNodePoolR" + + "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:\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\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\nclust" + + "er_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\t" + + "B\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"q\n\024ListNodePoolsRe" + + "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\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(\t" + + "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014no" + + "de_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"\244\003" + + "\n\021BlueGreenSettings\022d\n\027standard_rollout_" + + "policy\030\001 \001(\0132A.google.container.v1beta1." + + "BlueGreenSettings.StandardRolloutPolicyH" + + "\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_durationB\020\n\016rollout_policyB\032\n\030_nod" + + "e_pool_soak_duration\"\202\017\n\010NodePool\022\014\n\004nam" + + "e\030\001 \001(\t\0224\n\006config\030\002 \001(\0132$.google.contain" + + "er.v1beta1.NodeConfig\022\032\n\022initial_node_co" + + "unt\030\003 \001(\005\022\021\n\tlocations\030\r \003(\t\022C\n\016network_" + + "config\030\016 \001(\0132+.google.container.v1beta1." + + "NodeNetworkConfig\022\021\n\tself_link\030d \001(\t\022\017\n\007" + + "version\030e \001(\t\022\033\n\023instance_group_urls\030f \003" + + "(\t\0229\n\006status\030g \001(\0162).google.container.v1" + + "beta1.NodePool.Status\022\032\n\016status_message\030" + + "h \001(\tB\002\030\001\022B\n\013autoscaling\030\004 \001(\0132-.google." + + "container.v1beta1.NodePoolAutoscaling\022<\n" + + "\nmanagement\030\005 \001(\0132(.google.container.v1b" + + "eta1.NodeManagement\022H\n\023max_pods_constrai" + + "nt\030\006 \001(\0132+.google.container.v1beta1.MaxP" + + "odsConstraint\022=\n\nconditions\030i \003(\0132).goog" + + "le.container.v1beta1.StatusCondition\022\032\n\022" + + "pod_ipv4_cidr_size\030\007 \001(\005\022L\n\020upgrade_sett" + + "ings\030k \001(\01322.google.container.v1beta1.No" + + "dePool.UpgradeSettings\022L\n\020placement_poli" + + "cy\030l \001(\01322.google.container.v1beta1.Node" + + "Pool.PlacementPolicy\022G\n\013update_info\030m \001(" + + "\0132-.google.container.v1beta1.NodePool.Up" + + "dateInfoB\003\340A\003\032\372\001\n\017UpgradeSettings\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.container.v1bet" + + "a1.NodePoolUpdateStrategyH\000\210\001\001\022M\n\023blue_g" + + "reen_settings\030\004 \001(\0132+.google.container.v" + + "1beta1.BlueGreenSettingsH\001\210\001\001B\013\n\t_strate" + + "gyB\026\n\024_blue_green_settings\032\222\004\n\nUpdateInf" + + "o\022T\n\017blue_green_info\030\001 \001(\0132;.google.cont" + + "ainer.v1beta1.NodePool.UpdateInfo.BlueGr" + + "eenInfo\032\255\003\n\rBlueGreenInfo\022P\n\005phase\030\001 \001(\016" + + "2A.google.container.v1beta1.NodePool.Upd" + + "ateInfo.BlueGreenInfo.Phase\022 \n\030blue_inst" + + "ance_group_urls\030\002 \003(\t\022!\n\031green_instance_" + + "group_urls\030\003 \003(\t\022%\n\035blue_pool_deletion_s" + + "tart_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\016" + + "UPDATE_STARTED\020\001\022\027\n\023CREATING_GREEN_POOL\020" + + "\002\022\027\n\023CORDONING_BLUE_POOL\020\003\022\026\n\022DRAINING_B" + + "LUE_POOL\020\004\022\025\n\021NODE_POOL_SOAKING\020\005\022\026\n\022DEL" + + "ETING_BLUE_POOL\020\006\022\024\n\020ROLLBACK_STARTED\020\007\032" + + "\203\001\n\017PlacementPolicy\022E\n\004type\030\001 \001(\01627.goog" + + "le.container.v1beta1.NodePool.PlacementP" + + "olicy.Type\")\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000" + + "\022\013\n\007COMPACT\020\001\"\201\001\n\006Status\022\026\n\022STATUS_UNSPE" + + "CIFIED\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\"\202\001\n\016NodeManage" + + "ment\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_repai" + + "r\030\002 \001(\010\022E\n\017upgrade_options\030\n \001(\0132,.googl" + + "e.container.v1beta1.AutoUpgradeOptions\"J" + + "\n\022AutoUpgradeOptions\022\037\n\027auto_upgrade_sta" + + "rt_time\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\"j\n\021Ma" + + "intenancePolicy\022;\n\006window\030\001 \001(\0132+.google" + + ".container.v1beta1.MaintenanceWindow\022\030\n\020" + + "resource_version\030\003 \001(\t\"\212\003\n\021MaintenanceWi" + + "ndow\022T\n\030daily_maintenance_window\030\002 \001(\01320" + + ".google.container.v1beta1.DailyMaintenan" + + "ceWindowH\000\022I\n\020recurring_window\030\003 \001(\0132-.g" + + "oogle.container.v1beta1.RecurringTimeWin" + + "dowH\000\022f\n\026maintenance_exclusions\030\004 \003(\0132F." + + "google.container.v1beta1.MaintenanceWind" + + "ow.MaintenanceExclusionsEntry\032b\n\032Mainten" + + "anceExclusionsEntry\022\013\n\003key\030\001 \001(\t\0223\n\005valu" + + "e\030\002 \001(\0132$.google.container.v1beta1.TimeW" + + "indow:\0028\001B\010\n\006policy\"\325\001\n\nTimeWindow\022^\n\035ma" + + "intenance_exclusion_options\030\003 \001(\01325.goog" + + "le.container.v1beta1.MaintenanceExclusio" + + "nOptionsH\000\022.\n\nstart_time\030\001 \001(\0132\032.google." + + "protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\t\n\007options\"\271\001\n\033" + + "MaintenanceExclusionOptions\022J\n\005scope\030\001 \001" + + "(\0162;.google.container.v1beta1.Maintenanc" + + "eExclusionOptions.Scope\"N\n\005Scope\022\017\n\013NO_U" + + "PGRADES\020\000\022\025\n\021NO_MINOR_UPGRADES\020\001\022\035\n\031NO_M" + + "INOR_OR_NODE_UPGRADES\020\002\"_\n\023RecurringTime" + + "Window\0224\n\006window\030\001 \001(\0132$.google.containe" + + "r.v1beta1.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\"\327\001\n\034SetNodePool" + + "ManagementRequest\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\022A\n\nmanagement\030\005 \001(\0132(.google.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\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\036CompleteNodePoolUpgradeR" + + "equest\022\014\n\004name\030\001 \001(\t\"\253\001\n\036RollbackNodePoo" + + "lUpgradeRequest\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\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\025Li" + + "stNodePoolsResponse\0226\n\nnode_pools\030\001 \003(\0132" + + "\".google.container.v1beta1.NodePool\"\276\003\n\022" + + "ClusterAutoscaling\022$\n\034enable_node_autopr" + + "ovisioning\030\001 \001(\010\022@\n\017resource_limits\030\002 \003(" + + "\0132\'.google.container.v1beta1.ResourceLim" + + "it\022\\\n\023autoscaling_profile\030\003 \001(\0162?.google" + + ".container.v1beta1.ClusterAutoscaling.Au" + + "toscalingProfile\022g\n#autoprovisioning_nod" + + "e_pool_defaults\030\004 \001(\0132:.google.container" + + ".v1beta1.AutoprovisioningNodePoolDefault" + + "s\022\"\n\032autoprovisioning_locations\030\005 \003(\t\"U\n" + + "\022AutoscalingProfile\022\027\n\023PROFILE_UNSPECIFI" + + "ED\020\000\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BALANC" + + "ED\020\002\"\247\003\n AutoprovisioningNodePoolDefault" + + "s\022\024\n\014oauth_scopes\030\001 \003(\t\022\027\n\017service_accou" + + "nt\030\002 \001(\t\022L\n\020upgrade_settings\030\003 \001(\01322.goo" + + "gle.container.v1beta1.NodePool.UpgradeSe" + + "ttings\022<\n\nmanagement\030\004 \001(\0132(.google.cont" + + "ainer.v1beta1.NodeManagement\022\034\n\020min_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\022R\n\030shielded_instance" + + "_config\030\010 \001(\01320.google.container.v1beta1" + + ".ShieldedInstanceConfig\022\031\n\021boot_disk_kms" + + "_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(\t\"H\n\rResour" + + "ceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minimu" + + "m\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\314\002\n\023NodePoolAut" + + "oscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_co" + + "unt\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017aut" + + "oprovisioned\030\004 \001(\010\022U\n\017location_policy\030\005 " + + "\001(\0162<.google.container.v1beta1.NodePoolA" + + "utoscaling.LocationPolicy\022\034\n\024total_min_n" + + "ode_count\030\006 \001(\005\022\034\n\024total_max_node_count\030" + + "\007 \001(\005\"H\n\016LocationPolicy\022\037\n\033LOCATION_POLI" + + "CY_UNSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"" + + "\240\002\n\020SetLabelsRequest\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\017resource_labels\030\004 \003(\013" + + "2>.google.container.v1beta1.SetLabelsReq" + + "uest.ResourceLabelsEntryB\003\340A\002\022\036\n\021label_f" + + "ingerprint\030\005 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023R" + + "esourceLabelsEntry\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\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\024\n\007enable" + + "d\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\215\001\n\026StartIPRo" + + "tationRequest\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\006 \001(\t\022\032\n\022rotate_credent" + + "ials\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(\t" + + "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004na" + + "me\030\007 \001(\t\"\365\001\n\021AcceleratorConfig\022\031\n\021accele" + + "rator_count\030\001 \001(\003\022\030\n\020accelerator_type\030\002 " + + "\001(\t\022\032\n\022gpu_partition_size\030\003 \001(\t\022+\n\037max_t" + + "ime_shared_clients_per_gpu\030\004 \001(\003B\002\030\001\022K\n\022" + + "gpu_sharing_config\030\005 \001(\0132*.google.contai" + + "ner.v1beta1.GPUSharingConfigH\000\210\001\001B\025\n\023_gp" + + "u_sharing_config\"\377\001\n\020GPUSharingConfig\022\"\n" + + "\032max_shared_clients_per_gpu\030\001 \001(\003\022`\n\024gpu" + + "_sharing_strategy\030\002 \001(\0162=.google.contain" + + "er.v1beta1.GPUSharingConfig.GPUSharingSt" + + "rategyH\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\"*\n\027Ma" + + "nagedPrometheusConfig\022\017\n\007enabled\030\001 \001(\010\"\313" + + "\002\n\026WorkloadMetadataConfig\022X\n\rnode_metada" + + "ta\030\001 \001(\0162=.google.container.v1beta1.Work" + + "loadMetadataConfig.NodeMetadataB\002\030\001\022C\n\004m" + + "ode\030\002 \001(\01625.google.container.v1beta1.Wor" + + "kloadMetadataConfig.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\020MO" + + "DE_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GK" + + "E_METADATA\020\002\"\270\001\n\027SetNetworkPolicyRequest" + + "\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\022D\n\016n" + + "etwork_policy\030\004 \001(\0132\'.google.container.v" + + "1beta1.NetworkPolicyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"" + + "\276\001\n\033SetMaintenancePolicyRequest\022\027\n\nproje" + + "ct_id\030\001 \001(\tB\003\340A\002\022\021\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\nc" + + "luster_id\030\003 \001(\tB\003\340A\002\022L\n\022maintenance_poli" + + "cy\030\004 \001(\0132+.google.container.v1beta1.Main" + + "tenancePolicyB\003\340A\002\022\014\n\004name\030\005 \001(\t\"+\n\024List" + + "LocationsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"g\n" + + "\025ListLocationsResponse\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\004t" + + "ype\030\001 \001(\0162/.google.container.v1beta1.Loc" + + "ation.LocationType\022\014\n\004name\030\002 \001(\t\022\023\n\013reco" + + "mmended\030\003 \001(\010\"C\n\014LocationType\022\035\n\031LOCATIO" + + "N_TYPE_UNSPECIFIED\020\000\022\010\n\004ZONE\020\001\022\n\n\006REGION" + + "\020\002\"\262\002\n\017StatusCondition\022@\n\004code\030\001 \001(\0162..g" + + "oogle.container.v1beta1.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\"\241\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\032\002\030\001\"\275\004\n\rNetw" + + "orkConfig\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\022H\n\023default_snat_status\030\007 \001(\0132+.goog" + + "le.container.v1beta1.DefaultSnatStatus\022\037" + + "\n\027enable_l4ilb_subsetting\030\n \001(\010\022E\n\021datap", + "ath_provider\030\013 \001(\0162*.google.container.v1" + + "beta1.DatapathProvider\022U\n\032private_ipv6_g" + + "oogle_access\030\014 \001(\01621.google.container.v1" + + "beta1.PrivateIPv6GoogleAccess\0227\n\ndns_con" + + "fig\030\r \001(\0132#.google.container.v1beta1.DNS" + + "Config\022W\n\033service_external_ips_config\030\017 " + + "\001(\01322.google.container.v1beta1.ServiceEx" + + "ternalIPsConfig\022F\n\022gateway_api_config\030\020 " + + "\001(\0132*.google.container.v1beta1.GatewayAP" + + "IConfig\"\301\001\n\020GatewayAPIConfig\022C\n\007channel\030" + + "\001 \001(\01622.google.container.v1beta1.Gateway" + + "APIConfig.Channel\"h\n\007Channel\022\027\n\023CHANNEL_" + + "UNSPECIFIED\020\000\022\024\n\020CHANNEL_DISABLED\020\001\022\030\n\024C" + + "HANNEL_EXPERIMENTAL\020\003\022\024\n\020CHANNEL_STANDAR" + + "D\020\004\"+\n\030ServiceExternalIPsConfig\022\017\n\007enabl" + + "ed\030\001 \001(\010\"j\n\034ListUsableSubnetworksRequest" + + "\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\035" + + "ListUsableSubnetworksResponse\022?\n\013subnetw" + + "orks\030\001 \003(\0132*.google.container.v1beta1.Us" + + "ableSubnetwork\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\205\002\n\036UsableSubnetworkSecondaryRange\022\022\n\nra" + + "nge_name\030\001 \001(\t\022\025\n\rip_cidr_range\030\002 \001(\t\022O\n" + + "\006status\030\003 \001(\0162?.google.container.v1beta1" + + ".UsableSubnetworkSecondaryRange.Status\"g" + + "\n\006Status\022\013\n\007UNKNOWN\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_MANAGED_POD\020\004\"\275\001\n\020UsableSubnet" + + "work\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\022U\n\023secondary_ip" + + "_ranges\030\004 \003(\01328.google.container.v1beta1" + + ".UsableSubnetworkSecondaryRange\022\026\n\016statu" + + "s_message\030\005 \001(\t\")\n\026VerticalPodAutoscalin" + + "g\022\017\n\007enabled\030\001 \001(\010\"%\n\021DefaultSnatStatus\022" + + "\020\n\010disabled\030\001 \001(\010\",\n\031IntraNodeVisibility" + + "Config\022\017\n\007enabled\030\001 \001(\010\"&\n\023ILBSubsetting" + + "Config\022\017\n\007enabled\030\001 \001(\010\"\307\002\n\tDNSConfig\022A\n" + + "\013cluster_dns\030\001 \001(\0162,.google.container.v1" + + "beta1.DNSConfig.Provider\022G\n\021cluster_dns_" + + "scope\030\002 \001(\0162,.google.container.v1beta1.D" + + "NSConfig.DNSScope\022\032\n\022cluster_dns_domain\030" + + "\003 \001(\t\"I\n\010Provider\022\030\n\024PROVIDER_UNSPECIFIE" + + "D\020\000\022\024\n\020PLATFORM_DEFAULT\020\001\022\r\n\tCLOUD_DNS\020\002" + + "\"G\n\010DNSScope\022\031\n\025DNS_SCOPE_UNSPECIFIED\020\000\022" + + "\021\n\rCLUSTER_SCOPE\020\001\022\r\n\tVPC_SCOPE\020\002\".\n\021Max" + + "PodsConstraint\022\031\n\021max_pods_per_node\030\001 \001(" + + "\003\"j\n\026WorkloadIdentityConfig\022\036\n\022identity_" + + "namespace\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\022Workloa" + + "dALTSConfig\022/\n\013enable_alts\030\001 \001(\0132\032.googl" + + "e.protobuf.BoolValue\"O\n\024WorkloadCertific" + + "ates\0227\n\023enable_certificates\030\001 \001(\0132\032.goog" + + "le.protobuf.BoolValue\"K\n\020MeshCertificate" + + "s\0227\n\023enable_certificates\030\001 \001(\0132\032.google." + + "protobuf.BoolValue\"\235\001\n\022DatabaseEncryptio" + + "n\022A\n\005state\030\002 \001(\01622.google.container.v1be" + + "ta1.DatabaseEncryption.State\022\020\n\010key_name" + + "\030\001 \001(\t\"2\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTE" + + "D\020\001\022\r\n\tDECRYPTED\020\002\"\367\002\n\031ResourceUsageExpo" + + "rtConfig\022e\n\024bigquery_destination\030\001 \001(\0132G" + + ".google.container.v1beta1.ResourceUsageE" + + "xportConfig.BigQueryDestination\022&\n\036enabl" + + "e_network_egress_metering\030\002 \001(\010\022r\n\033consu" + + "mption_metering_config\030\003 \001(\0132M.google.co" + + "ntainer.v1beta1.ResourceUsageExportConfi" + + "g.ConsumptionMeteringConfig\032)\n\023BigQueryD" + + "estination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Consum" + + "ptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010\" \n\r" + + "ShieldedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtua" + + "lNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocket\022\017\n\007e" + + "nabled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022\016" + + "\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRespon" + + "se\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030" + + "response_types_supported\030\003 \003(\t\022\037\n\027subjec" + + "t_types_supported\030\004 \003(\t\022-\n%id_token_sign" + + "ing_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\003crv\030\t \001(\t\"E\n\026Ge" + + "tJSONWebKeysResponse\022+\n\004keys\030\001 \003(\0132\035.goo" + + "gle.container.v1beta1.Jwk\"\223\001\n\016ReleaseCha" + + "nnel\022A\n\007channel\030\001 \001(\01620.google.container" + + ".v1beta1.ReleaseChannel.Channel\">\n\007Chann" + + "el\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULA" + + "R\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostManagementConfig\022" + + "\017\n\007enabled\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\017ipv4_cidr_block\030\003 \001(\t\"\010\n\006Master\"\034\n\tAut" + + "opilot\022\017\n\007enabled\030\001 \001(\010\"\267\003\n\022Notification" + + "Config\022C\n\006pubsub\030\001 \001(\01323.google.containe" + + "r.v1beta1.NotificationConfig.PubSub\032\217\001\n\006" + + "PubSub\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB " + + "\372A\035\n\033pubsub.googleapis.com/Topic\022C\n\006filt" + + "er\030\003 \001(\01323.google.container.v1beta1.Noti" + + "ficationConfig.Filter\032T\n\006Filter\022J\n\nevent" + + "_type\030\001 \003(\01626.google.container.v1beta1.N" + + "otificationConfig.EventType\"t\n\tEventType" + + "\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_" + + "AVAILABLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027" + + "SECURITY_BULLETIN_EVENT\020\003\"$\n\021Confidentia" + + "lNodes\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\014UpgradeEvent" + + "\022D\n\rresource_type\030\001 \001(\0162-.google.contain" + + "er.v1beta1.UpgradeResourceType\022\021\n\toperat" + + "ion\030\002 \001(\t\0228\n\024operation_start_time\030\003 \001(\0132" + + "\032.google.protobuf.Timestamp\022\027\n\017current_v" + + "ersion\030\004 \001(\t\022\026\n\016target_version\030\005 \001(\t\022\020\n\010" + + "resource\030\006 \001(\t\"\210\002\n\025UpgradeAvailableEvent" + + "\022\017\n\007version\030\001 \001(\t\022D\n\rresource_type\030\002 \001(\016" + + "2-.google.container.v1beta1.UpgradeResou" + + "rceType\022A\n\017release_channel\030\003 \001(\0132(.googl" + + "e.container.v1beta1.ReleaseChannel\022\020\n\010re" + + "source\030\004 \001(\t\022C\n\020windows_versions\030\005 \001(\0132)" + + ".google.container.v1beta1.WindowsVersion" + + "s\"\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\007cve_ids\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014b" + + "ulletin_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\020patched_versions\030\010 \003(\t\022 \n\030suggested_u" + + "pgrade_target\030\t \001(\t\022\035\n\025manual_steps_requ" + + "ired\030\n \001(\010\"(\n\025IdentityServiceConfig\022\017\n\007e" + + "nabled\030\001 \001(\010\"[\n\rLoggingConfig\022J\n\020compone" + + "nt_config\030\001 \001(\01320.google.container.v1bet" + + "a1.LoggingComponentConfig\"\364\001\n\026LoggingCom" + + "ponentConfig\022U\n\021enable_components\030\001 \003(\0162" + + ":.google.container.v1beta1.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\"\267\001\n\020Mon" + + "itoringConfig\022M\n\020component_config\030\001 \001(\0132" + + "3.google.container.v1beta1.MonitoringCom" + + "ponentConfig\022T\n\031managed_prometheus_confi" + + "g\030\002 \001(\01321.google.container.v1beta1.Manag" + + "edPrometheusConfig\"_\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\"\376\001\n\031MonitoringComponentConfig\022X\n\021enab" + + "le_components\030\001 \003(\0162=.google.container.v" + + "1beta1.MonitoringComponentConfig.Compone" + + "nt\"\206\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*\306\001\n\027PrivateIPv6Googl" + + "eAccess\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UN" + + "SPECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCES" + + "S_DISABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCE" + + "SS_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_AC" + + "CESS_BIDIRECTIONAL\020\003*W\n\023UpgradeResourceT" + + "ype\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIED" + + "\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*^\n\026NodePoo" + + "lUpdateStrategy\022)\n%NODE_POOL_UPDATE_STRA" + + "TEGY_UNSPECIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022\t\n\005SU" + + "RGE\020\003*a\n\020DatapathProvider\022!\n\035DATAPATH_PR" + + "OVIDER_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020" + + "\001\022\025\n\021ADVANCED_DATAPATH\020\0022\262L\n\016ClusterMana" + + "ger\022\363\001\n\014ListClusters\022-.google.container." + + "v1beta1.ListClustersRequest\032..google.con" + + "tainer.v1beta1.ListClustersResponse\"\203\001\202\323" + + "\344\223\002k\0221/v1beta1/{parent=projects/*/locati" + + "ons/*}/clustersZ6\0224/v1beta1/projects/{pr" + + "oject_id}/zones/{zone}/clusters\332A\017projec" + + "t_id,zone\022\372\001\n\nGetCluster\022+.google.contai" + + "ner.v1beta1.GetClusterRequest\032!.google.c" + + "ontainer.v1beta1.Cluster\"\233\001\202\323\344\223\002x\0221/v1be" + + "ta1/{name=projects/*/locations/*/cluster" + + "s/*}ZC\022A/v1beta1/projects/{project_id}/z" + + "ones/{zone}/clusters/{cluster_id}\332A\032proj" + + "ect_id,zone,cluster_id\022\370\001\n\rCreateCluster" + + "\022..google.container.v1beta1.CreateCluste" + + "rRequest\032#.google.container.v1beta1.Oper" + + "ation\"\221\001\202\323\344\223\002q\"1/v1beta1/{parent=project" + + "s/*/locations/*}/clusters:\001*Z9\"4/v1beta1" + + "/projects/{project_id}/zones/{zone}/clus" + + "ters:\001*\332A\027project_id,zone,cluster\022\217\002\n\rUp" + + "dateCluster\022..google.container.v1beta1.U" + + "pdateClusterRequest\032#.google.container.v" + + "1beta1.Operation\"\250\001\202\323\344\223\002~\0321/v1beta1/{nam" + + "e=projects/*/locations/*/clusters/*}:\001*Z" + + "F\032A/v1beta1/projects/{project_id}/zones/" + + "{zone}/clusters/{cluster_id}:\001*\332A!projec" + + "t_id,zone,cluster_id,update\022\232\002\n\016UpdateNo" + + "dePool\022/.google.container.v1beta1.Update" + + "NodePoolRequest\032#.google.container.v1bet" + + "a1.Operation\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{name=p" + + "rojects/*/locations/*/clusters/*/nodePoo" + + "ls/*}:\001*Zf\"a/v1beta1/projects/{project_i" + + "d}/zones/{zone}/clusters/{cluster_id}/no" + + "dePools/{node_pool_id}/update:\001*\022\276\002\n\026Set" + + "NodePoolAutoscaling\0227.google.container.v" + + "1beta1.SetNodePoolAutoscalingRequest\032#.g" + + "oogle.container.v1beta1.Operation\"\305\001\202\323\344\223" + + "\002\276\001\"L/v1beta1/{name=projects/*/locations" + + "/*/clusters/*/nodePools/*}:setAutoscalin" + + "g:\001*Zk\"f/v1beta1/projects/{project_id}/z" + + "ones/{zone}/clusters/{cluster_id}/nodePo" + + "ols/{node_pool_id}/autoscaling:\001*\022\264\002\n\021Se" + + "tLoggingService\0222.google.container.v1bet" + + "a1.SetLoggingServiceRequest\032#.google.con" + + "tainer.v1beta1.Operation\"\305\001\202\323\344\223\002\221\001\"/v1beta1/{name=projects/*/locat" + + "ions/*/clusters/*}:setLocations:\001*ZP\"K/v" + + "1beta1/projects/{project_id}/zones/{zone" + + "}/clusters/{cluster_id}/locations:\001*\332A$p" + + "roject_id,zone,cluster_id,locations\022\252\002\n\014" + + "UpdateMaster\022-.google.container.v1beta1." + + "UpdateMasterRequest\032#.google.container.v" + + "1beta1.Operation\"\305\001\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*\332A)project_id,zone,cluster_i" + + "d,master_version\022\210\002\n\rSetMasterAuth\022..goo" + + "gle.container.v1beta1.SetMasterAuthReque" + + "st\032#.google.container.v1beta1.Operation\"" + + "\241\001\202\323\344\223\002\232\001\"?/v1beta1/{name=projects/*/loc" + + "ations/*/clusters/*}:setMasterAuth:\001*ZT\"" + + "O/v1beta1/projects/{project_id}/zones/{z" + + "one}/clusters/{cluster_id}:setMasterAuth" + + ":\001*\022\202\002\n\rDeleteCluster\022..google.container" + + ".v1beta1.DeleteClusterRequest\032#.google.c" + + "ontainer.v1beta1.Operation\"\233\001\202\323\344\223\002x*1/v1" + + "beta1/{name=projects/*/locations/*/clust" + + "ers/*}ZC*A/v1beta1/projects/{project_id}" + + "/zones/{zone}/clusters/{cluster_id}\332A\032pr" + + "oject_id,zone,cluster_id\022\375\001\n\016ListOperati" + + "ons\022/.google.container.v1beta1.ListOpera" + + "tionsRequest\0320.google.container.v1beta1." + + "ListOperationsResponse\"\207\001\202\323\344\223\002o\0223/v1beta" + + "1/{parent=projects/*/locations/*}/operat" + + "ionsZ8\0226/v1beta1/projects/{project_id}/z" + + "ones/{zone}/operations\332A\017project_id,zone" + + "\022\210\002\n\014GetOperation\022-.google.container.v1b" + + "eta1.GetOperationRequest\032#.google.contai" + + "ner.v1beta1.Operation\"\243\001\202\323\344\223\002~\0223/v1beta1" + + "/{name=projects/*/locations/*/operations" + + "/*}ZG\022E/v1beta1/projects/{project_id}/zo" + + "nes/{zone}/operations/{operation_id}\332A\034p" + + "roject_id,zone,operation_id\022\226\002\n\017CancelOp" + + "eration\0220.google.container.v1beta1.Cance" + + "lOperationRequest\032\026.google.protobuf.Empt" + + "y\"\270\001\202\323\344\223\002\222\001\":/v1beta1/{name=projects/*/l" + + "ocations/*/operations/*}:cancel:\001*ZQ\"L/v" + + "1beta1/projects/{project_id}/zones/{zone" + + "}/operations/{operation_id}:cancel:\001*\332A\034" + + "project_id,zone,operation_id\022\367\001\n\017GetServ" + + "erConfig\0220.google.container.v1beta1.GetS" + + "erverConfigRequest\032&.google.container.v1" + + "beta1.ServerConfig\"\211\001\202\323\344\223\002q\0223/v1beta1/{n" + + "ame=projects/*/locations/*}/serverConfig" + + "Z:\0228/v1beta1/projects/{project_id}/zones" + + "/{zone}/serverconfig\332A\017project_id,zone\022\245" + + "\002\n\rListNodePools\022..google.container.v1be" + + "ta1.ListNodePoolsRequest\032/.google.contai" + + "ner.v1beta1.ListNodePoolsResponse\"\262\001\202\323\344\223" + + "\002\216\001\022=/v1beta1/{parent=projects/*/locatio" + + "ns/*/clusters/*}/nodePoolsZM\022K/v1beta1/p" + + "rojects/{project_id}/zones/{zone}/cluste" + + "rs/{cluster_id}/nodePools\332A\032project_id,z" + + "one,cluster_id\022\265\001\n\016GetJSONWebKeys\022/.goog" + + "le.container.v1beta1.GetJSONWebKeysReque" + + "st\0320.google.container.v1beta1.GetJSONWeb" + + "KeysResponse\"@\202\323\344\223\002:\0228/v1beta1/{parent=p" + + "rojects/*/locations/*/clusters/*}/jwks\022\260" + + "\002\n\013GetNodePool\022,.google.container.v1beta" + + "1.GetNodePoolRequest\032\".google.container." + + "v1beta1.NodePool\"\316\001\202\323\344\223\002\235\001\022=/v1beta1/{na" + + "me=projects/*/locations/*/clusters/*/nod" + + "ePools/*}Z\\\022Z/v1beta1/projects/{project_" + + "id}/zones/{zone}/clusters/{cluster_id}/n" + + "odePools/{node_pool_id}\332A\'project_id,zon" + + "e,cluster_id,node_pool_id\022\253\002\n\016CreateNode" + + "Pool\022/.google.container.v1beta1.CreateNo" + + "dePoolRequest\032#.google.container.v1beta1" + + ".Operation\"\302\001\202\323\344\223\002\224\001\"=/v1beta1/{parent=p" + + "rojects/*/locations/*/clusters/*}/nodePo" + + "ols:\001*ZP\"K/v1beta1/projects/{project_id}" + + "/zones/{zone}/clusters/{cluster_id}/node" + + "Pools:\001*\332A$project_id,zone,cluster_id,no" + + "de_pool\022\267\002\n\016DeleteNodePool\022/.google.cont" + + "ainer.v1beta1.DeleteNodePoolRequest\032#.go" + + "ogle.container.v1beta1.Operation\"\316\001\202\323\344\223\002" + + "\235\001*=/v1beta1/{name=projects/*/locations/" + + "*/clusters/*/nodePools/*}Z\\*Z/v1beta1/pr" + + "ojects/{project_id}/zones/{zone}/cluster" + + "s/{cluster_id}/nodePools/{node_pool_id}\332" + + "A\'project_id,zone,cluster_id,node_pool_i" + + "d\022\305\001\n\027CompleteNodePoolUpgrade\0228.google.c" + + "ontainer.v1beta1.CompleteNodePoolUpgrade" + + "Request\032\026.google.protobuf.Empty\"X\202\323\344\223\002R\"" + + "M/v1beta1/{name=projects/*/locations/*/c" + + "lusters/*/nodePools/*}:completeUpgrade:\001" + + "*\022\341\002\n\027RollbackNodePoolUpgrade\0228.google.c" + + "ontainer.v1beta1.RollbackNodePoolUpgrade" + + "Request\032#.google.container.v1beta1.Opera" + + "tion\"\346\001\202\323\344\223\002\265\001\"F/v1beta1/{name=projects/" + + "*/locations/*/clusters/*/nodePools/*}:ro" + + "llback:\001*Zh\"c/v1beta1/projects/{project_" + + "id}/zones/{zone}/clusters/{cluster_id}/n" + + "odePools/{node_pool_id}:rollback:\001*\332A\'pr" + + "oject_id,zone,cluster_id,node_pool_id\022\362\002" + + "\n\025SetNodePoolManagement\0226.google.contain" + + "er.v1beta1.SetNodePoolManagementRequest\032" + + "#.google.container.v1beta1.Operation\"\373\001\202" + + "\323\344\223\002\277\001\"K/v1beta1/{name=projects/*/locati" + + "ons/*/clusters/*/nodePools/*}:setManagem" + + "ent:\001*Zm\"h/v1beta1/projects/{project_id}" + + "/zones/{zone}/clusters/{cluster_id}/node" + + "Pools/{node_pool_id}/setManagement:\001*\332A2" + + "project_id,zone,cluster_id,node_pool_id," + + "management\022\304\002\n\tSetLabels\022*.google.contai" + + "ner.v1beta1.SetLabelsRequest\032#.google.co" + + "ntainer.v1beta1.Operation\"\345\001\202\323\344\223\002\237\001\"C/v1" + + "beta1/{name=projects/*/locations/*/clust" + + "ers/*}:setResourceLabels:\001*ZU\"P/v1beta1/" + + "projects/{project_id}/zones/{zone}/clust" + + "ers/{cluster_id}/resourceLabels:\001*\332A * Telemetry integration for the cluster. *
* * Protobuf type {@code google.container.v1beta1.ClusterTelemetry} */ -public final class ClusterTelemetry extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ClusterTelemetry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClusterTelemetry) ClusterTelemetryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterTelemetry.newBuilder() to construct. private ClusterTelemetry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ClusterTelemetry() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClusterTelemetry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClusterTelemetry.class, com.google.container.v1beta1.ClusterTelemetry.Builder.class); + com.google.container.v1beta1.ClusterTelemetry.class, + com.google.container.v1beta1.ClusterTelemetry.Builder.class); } /** + * + * *
    * Type of the integration.
    * 
* * Protobuf enum {@code google.container.v1beta1.ClusterTelemetry.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -66,6 +88,8 @@ public enum Type */ UNSPECIFIED(0), /** + * + * *
      * Monitoring integration is disabled.
      * 
@@ -74,6 +98,8 @@ public enum Type */ DISABLED(1), /** + * + * *
      * Monitoring integration is enabled.
      * 
@@ -82,6 +108,8 @@ public enum Type */ ENABLED(2), /** + * + * *
      * Only system components are monitored and logged.
      * 
@@ -93,6 +121,8 @@ public enum Type ; /** + * + * *
      * Not set.
      * 
@@ -101,6 +131,8 @@ public enum Type */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * Monitoring integration is disabled.
      * 
@@ -109,6 +141,8 @@ public enum Type */ public static final int DISABLED_VALUE = 1; /** + * + * *
      * Monitoring integration is enabled.
      * 
@@ -117,6 +151,8 @@ public enum Type */ public static final int ENABLED_VALUE = 2; /** + * + * *
      * Only system components are monitored and logged.
      * 
@@ -125,7 +161,6 @@ public enum Type */ public static final int SYSTEM_ONLY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -150,50 +185,51 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return UNSPECIFIED; - case 1: return DISABLED; - case 2: return ENABLED; - case 3: return SYSTEM_ONLY; - default: return null; + case 0: + return UNSPECIFIED; + case 1: + return DISABLED; + case 2: + return ENABLED; + case 3: + return SYSTEM_ONLY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.ClusterTelemetry.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -213,31 +249,43 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry.Type getType() { + @java.lang.Override + public com.google.container.v1beta1.ClusterTelemetry.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterTelemetry.Type result = com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); - return result == null ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED : result; + com.google.container.v1beta1.ClusterTelemetry.Type result = + com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); + return result == null + ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (type_ != com.google.container.v1beta1.ClusterTelemetry.Type.UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } @@ -264,8 +311,7 @@ public int getSerializedSize() { size = 0; if (type_ != com.google.container.v1beta1.ClusterTelemetry.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -275,12 +321,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClusterTelemetry)) { return super.equals(obj); } - com.google.container.v1beta1.ClusterTelemetry other = (com.google.container.v1beta1.ClusterTelemetry) obj; + com.google.container.v1beta1.ClusterTelemetry other = + (com.google.container.v1beta1.ClusterTelemetry) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -301,130 +348,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ClusterTelemetry parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterTelemetry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterTelemetry parseFrom( 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.ClusterTelemetry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ClusterTelemetry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClusterTelemetry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ClusterTelemetry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterTelemetry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ClusterTelemetry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterTelemetry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ClusterTelemetry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Telemetry integration for the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.ClusterTelemetry} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClusterTelemetry) com.google.container.v1beta1.ClusterTelemetryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ClusterTelemetry.class, com.google.container.v1beta1.ClusterTelemetry.Builder.class); + com.google.container.v1beta1.ClusterTelemetry.class, + com.google.container.v1beta1.ClusterTelemetry.Builder.class); } // Construct using com.google.container.v1beta1.ClusterTelemetry.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; } @java.lang.Override @@ -455,7 +508,8 @@ public com.google.container.v1beta1.ClusterTelemetry build() { @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry buildPartial() { - com.google.container.v1beta1.ClusterTelemetry result = new com.google.container.v1beta1.ClusterTelemetry(this); + com.google.container.v1beta1.ClusterTelemetry result = + new com.google.container.v1beta1.ClusterTelemetry(this); result.type_ = type_; onBuilt(); return result; @@ -465,38 +519,39 @@ public com.google.container.v1beta1.ClusterTelemetry buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ClusterTelemetry) { - return mergeFrom((com.google.container.v1beta1.ClusterTelemetry)other); + return mergeFrom((com.google.container.v1beta1.ClusterTelemetry) other); } else { super.mergeFrom(other); return this; @@ -534,17 +589,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + type_ = input.readEnum(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -557,51 +614,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @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; onChanged(); return this; } /** + * + * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ClusterTelemetry.Type result = com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); - return result == null ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED : result; + com.google.container.v1beta1.ClusterTelemetry.Type result = + com.google.container.v1beta1.ClusterTelemetry.Type.valueOf(type_); + return result == null + ? com.google.container.v1beta1.ClusterTelemetry.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -609,28 +682,31 @@ public Builder setType(com.google.container.v1beta1.ClusterTelemetry.Type value) if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the integration.
      * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -640,12 +716,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClusterTelemetry) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterTelemetry) private static final com.google.container.v1beta1.ClusterTelemetry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClusterTelemetry(); } @@ -654,27 +730,27 @@ public static com.google.container.v1beta1.ClusterTelemetry getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterTelemetry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterTelemetry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -689,6 +765,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClusterTelemetry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java similarity index 52% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java index 952e0c742474..1729bb55e8a4 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterTelemetryOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ClusterTelemetryOrBuilder extends +public interface ClusterTelemetryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClusterTelemetry) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of the integration.
    * 
* * .google.container.v1beta1.ClusterTelemetry.Type type = 1; + * * @return The type. */ com.google.container.v1beta1.ClusterTelemetry.Type getType(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java similarity index 71% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java index f3d7a4856783..6b05ad61a8d9 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdate.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ClusterUpdate describes an update to the cluster. Exactly one update can
  * be applied to a cluster with each request, so at most one field can be
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.ClusterUpdate}
  */
-public final class ClusterUpdate extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ClusterUpdate extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ClusterUpdate)
     ClusterUpdateOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ClusterUpdate.newBuilder() to construct.
   private ClusterUpdate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ClusterUpdate() {
     desiredNodeVersion_ = "";
     desiredMonitoringService_ = "";
@@ -35,33 +53,36 @@ private ClusterUpdate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ClusterUpdate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ClusterUpdate.class, com.google.container.v1beta1.ClusterUpdate.Builder.class);
+            com.google.container.v1beta1.ClusterUpdate.class,
+            com.google.container.v1beta1.ClusterUpdate.Builder.class);
   }
 
   private int bitField0_;
   public static final int DESIRED_NODE_VERSION_FIELD_NUMBER = 4;
   private volatile java.lang.Object desiredNodeVersion_;
   /**
+   *
+   *
    * 
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -75,6 +96,7 @@ protected java.lang.Object newInstance(
    * 
* * string desired_node_version = 4; + * * @return The desiredNodeVersion. */ @java.lang.Override @@ -83,14 +105,15 @@ public java.lang.String getDesiredNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; } } /** + * + * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -104,16 +127,15 @@ public java.lang.String getDesiredNodeVersion() {
    * 
* * string desired_node_version = 4; + * * @return The bytes for desiredNodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -124,6 +146,8 @@ public java.lang.String getDesiredNodeVersion() { public static final int DESIRED_MONITORING_SERVICE_FIELD_NUMBER = 5; private volatile java.lang.Object desiredMonitoringService_; /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -137,6 +161,7 @@ public java.lang.String getDesiredNodeVersion() {
    * 
* * string desired_monitoring_service = 5; + * * @return The desiredMonitoringService. */ @java.lang.Override @@ -145,14 +170,15 @@ public java.lang.String getDesiredMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; } } /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -166,16 +192,15 @@ public java.lang.String getDesiredMonitoringService() {
    * 
* * string desired_monitoring_service = 5; + * * @return The bytes for desiredMonitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -186,11 +211,14 @@ public java.lang.String getDesiredMonitoringService() { public static final int DESIRED_ADDONS_CONFIG_FIELD_NUMBER = 6; private com.google.container.v1beta1.AddonsConfig desiredAddonsConfig_; /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; + * * @return Whether the desiredAddonsConfig field is set. */ @java.lang.Override @@ -198,18 +226,25 @@ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfig_ != null; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; + * * @return The desiredAddonsConfig. */ @java.lang.Override public com.google.container.v1beta1.AddonsConfig getDesiredAddonsConfig() { - return desiredAddonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; + return desiredAddonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : desiredAddonsConfig_; } /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -224,6 +259,8 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig public static final int DESIRED_NODE_POOL_ID_FIELD_NUMBER = 7; private volatile java.lang.Object desiredNodePoolId_; /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -232,6 +269,7 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig
    * 
* * string desired_node_pool_id = 7; + * * @return The desiredNodePoolId. */ @java.lang.Override @@ -240,14 +278,15 @@ public java.lang.String getDesiredNodePoolId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; } } /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -256,16 +295,15 @@ public java.lang.String getDesiredNodePoolId() {
    * 
* * string desired_node_pool_id = 7; + * * @return The bytes for desiredNodePoolId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -276,12 +314,15 @@ public java.lang.String getDesiredNodePoolId() { public static final int DESIRED_IMAGE_TYPE_FIELD_NUMBER = 8; private volatile java.lang.Object desiredImageType_; /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The desiredImageType. */ @java.lang.Override @@ -290,30 +331,30 @@ public java.lang.String getDesiredImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; } } /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The bytes for desiredImageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -324,6 +365,8 @@ public java.lang.String getDesiredImageType() { public static final int DESIRED_NODE_POOL_AUTOSCALING_FIELD_NUMBER = 9; private com.google.container.v1beta1.NodePoolAutoscaling desiredNodePoolAutoscaling_; /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -332,6 +375,7 @@ public java.lang.String getDesiredImageType() {
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return Whether the desiredNodePoolAutoscaling field is set. */ @java.lang.Override @@ -339,6 +383,8 @@ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscaling_ != null; } /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -347,13 +393,18 @@ public boolean hasDesiredNodePoolAutoscaling() {
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return The desiredNodePoolAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { - return desiredNodePoolAutoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null + ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() + : desiredNodePoolAutoscaling_; } /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -364,13 +415,16 @@ public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutosc
    * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
+  public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder
+      getDesiredNodePoolAutoscalingOrBuilder() {
     return getDesiredNodePoolAutoscaling();
   }
 
   public static final int DESIRED_LOCATIONS_FIELD_NUMBER = 10;
   private com.google.protobuf.LazyStringList desiredLocations_;
   /**
+   *
+   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -381,13 +435,15 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodeP
    * 
* * repeated string desired_locations = 10; + * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList - getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { return desiredLocations_; } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -398,12 +454,15 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodeP
    * 
* * repeated string desired_locations = 10; + * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -414,6 +473,7 @@ public int getDesiredLocationsCount() {
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -421,6 +481,8 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -431,22 +493,28 @@ public java.lang.String getDesiredLocations(int index) {
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString - getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } public static final int DESIRED_MASTER_AUTHORIZED_NETWORKS_CONFIG_FIELD_NUMBER = 12; - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig + desiredMasterAuthorizedNetworksConfig_; /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ @java.lang.Override @@ -454,37 +522,55 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { return desiredMasterAuthorizedNetworksConfig_ != null; } /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return The desiredMasterAuthorizedNetworksConfig. */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig + getDesiredMasterAuthorizedNetworksConfig() { + return desiredMasterAuthorizedNetworksConfig_ == null + ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : desiredMasterAuthorizedNetworksConfig_; } /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder + getDesiredMasterAuthorizedNetworksConfigOrBuilder() { return getDesiredMasterAuthorizedNetworksConfig(); } public static final int DESIRED_POD_SECURITY_POLICY_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.PodSecurityPolicyConfig desiredPodSecurityPolicyConfig_; /** + * + * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * * @return Whether the desiredPodSecurityPolicyConfig field is set. */ @java.lang.Override @@ -492,37 +578,52 @@ public boolean hasDesiredPodSecurityPolicyConfig() { return desiredPodSecurityPolicyConfig_ != null; } /** + * + * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * * @return The desiredPodSecurityPolicyConfig. */ @java.lang.Override public com.google.container.v1beta1.PodSecurityPolicyConfig getDesiredPodSecurityPolicyConfig() { - return desiredPodSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : desiredPodSecurityPolicyConfig_; + return desiredPodSecurityPolicyConfig_ == null + ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() + : desiredPodSecurityPolicyConfig_; } /** + * + * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ @java.lang.Override - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getDesiredPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder + getDesiredPodSecurityPolicyConfigOrBuilder() { return getDesiredPodSecurityPolicyConfig(); } public static final int DESIRED_CLUSTER_AUTOSCALING_FIELD_NUMBER = 15; private com.google.container.v1beta1.ClusterAutoscaling desiredClusterAutoscaling_; /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return Whether the desiredClusterAutoscaling field is set. */ @java.lang.Override @@ -530,18 +631,25 @@ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscaling_ != null; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return The desiredClusterAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscaling() { - return desiredClusterAutoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null + ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() + : desiredClusterAutoscaling_; } /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -549,18 +657,22 @@ public com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscal * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ @java.lang.Override - public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1beta1.ClusterAutoscalingOrBuilder + getDesiredClusterAutoscalingOrBuilder() { return getDesiredClusterAutoscaling(); } public static final int DESIRED_BINARY_AUTHORIZATION_FIELD_NUMBER = 16; private com.google.container.v1beta1.BinaryAuthorization desiredBinaryAuthorization_; /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; + * * @return Whether the desiredBinaryAuthorization field is set. */ @java.lang.Override @@ -568,18 +680,25 @@ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorization_ != null; } /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; + * * @return The desiredBinaryAuthorization. */ @java.lang.Override public com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthorization() { - return desiredBinaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null + ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() + : desiredBinaryAuthorization_; } /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
@@ -587,13 +706,16 @@ public com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthoriz * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ @java.lang.Override - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder + getDesiredBinaryAuthorizationOrBuilder() { return getDesiredBinaryAuthorization(); } public static final int DESIRED_LOGGING_SERVICE_FIELD_NUMBER = 19; private volatile java.lang.Object desiredLoggingService_; /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -607,6 +729,7 @@ public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinar
    * 
* * string desired_logging_service = 19; + * * @return The desiredLoggingService. */ @java.lang.Override @@ -615,14 +738,15 @@ public java.lang.String getDesiredLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; } } /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -636,16 +760,15 @@ public java.lang.String getDesiredLoggingService() {
    * 
* * string desired_logging_service = 19; + * * @return The bytes for desiredLoggingService. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -656,11 +779,16 @@ public java.lang.String getDesiredLoggingService() { public static final int DESIRED_RESOURCE_USAGE_EXPORT_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1beta1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return Whether the desiredResourceUsageExportConfig field is set. */ @java.lang.Override @@ -668,37 +796,54 @@ public boolean hasDesiredResourceUsageExportConfig() { return desiredResourceUsageExportConfig_ != null; } /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return The desiredResourceUsageExportConfig. */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; + public com.google.container.v1beta1.ResourceUsageExportConfig + getDesiredResourceUsageExportConfig() { + return desiredResourceUsageExportConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() + : desiredResourceUsageExportConfig_; } /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder + getDesiredResourceUsageExportConfigOrBuilder() { return getDesiredResourceUsageExportConfig(); } public static final int DESIRED_VERTICAL_POD_AUTOSCALING_FIELD_NUMBER = 22; private com.google.container.v1beta1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return Whether the desiredVerticalPodAutoscaling field is set. */ @java.lang.Override @@ -706,37 +851,51 @@ public boolean hasDesiredVerticalPodAutoscaling() { return desiredVerticalPodAutoscaling_ != null; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return The desiredVerticalPodAutoscaling. */ @java.lang.Override public com.google.container.v1beta1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null + ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() + : desiredVerticalPodAutoscaling_; } /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ @java.lang.Override - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder + getDesiredVerticalPodAutoscalingOrBuilder() { return getDesiredVerticalPodAutoscaling(); } public static final int DESIRED_PRIVATE_CLUSTER_CONFIG_FIELD_NUMBER = 25; private com.google.container.v1beta1.PrivateClusterConfig desiredPrivateClusterConfig_; /** + * + * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * + * * @return Whether the desiredPrivateClusterConfig field is set. */ @java.lang.Override @@ -744,37 +903,52 @@ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfig_ != null; } /** + * + * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * + * * @return The desiredPrivateClusterConfig. */ @java.lang.Override public com.google.container.v1beta1.PrivateClusterConfig getDesiredPrivateClusterConfig() { - return desiredPrivateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null + ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() + : desiredPrivateClusterConfig_; } /** + * + * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder + getDesiredPrivateClusterConfigOrBuilder() { return getDesiredPrivateClusterConfig(); } public static final int DESIRED_INTRA_NODE_VISIBILITY_CONFIG_FIELD_NUMBER = 26; private com.google.container.v1beta1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ @java.lang.Override @@ -782,37 +956,53 @@ public boolean hasDesiredIntraNodeVisibilityConfig() { return desiredIntraNodeVisibilityConfig_ != null; } /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return The desiredIntraNodeVisibilityConfig. */ @java.lang.Override - public com.google.container.v1beta1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; + public com.google.container.v1beta1.IntraNodeVisibilityConfig + getDesiredIntraNodeVisibilityConfig() { + return desiredIntraNodeVisibilityConfig_ == null + ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() + : desiredIntraNodeVisibilityConfig_; } /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ @java.lang.Override - public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder + getDesiredIntraNodeVisibilityConfigOrBuilder() { return getDesiredIntraNodeVisibilityConfig(); } public static final int DESIRED_DEFAULT_SNAT_STATUS_FIELD_NUMBER = 28; private com.google.container.v1beta1.DefaultSnatStatus desiredDefaultSnatStatus_; /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return Whether the desiredDefaultSnatStatus field is set. */ @java.lang.Override @@ -820,18 +1010,25 @@ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatus_ != null; } /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return The desiredDefaultSnatStatus. */ @java.lang.Override public com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatus() { - return desiredDefaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null + ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() + : desiredDefaultSnatStatus_; } /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -839,18 +1036,22 @@ public com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatu * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ @java.lang.Override - public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder() { + public com.google.container.v1beta1.DefaultSnatStatusOrBuilder + getDesiredDefaultSnatStatusOrBuilder() { return getDesiredDefaultSnatStatus(); } public static final int DESIRED_CLUSTER_TELEMETRY_FIELD_NUMBER = 30; private com.google.container.v1beta1.ClusterTelemetry desiredClusterTelemetry_; /** + * + * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; + * * @return Whether the desiredClusterTelemetry field is set. */ @java.lang.Override @@ -858,18 +1059,25 @@ public boolean hasDesiredClusterTelemetry() { return desiredClusterTelemetry_ != null; } /** + * + * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; + * * @return The desiredClusterTelemetry. */ @java.lang.Override public com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry() { - return desiredClusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : desiredClusterTelemetry_; + return desiredClusterTelemetry_ == null + ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() + : desiredClusterTelemetry_; } /** + * + * *
    * The desired telemetry integration for the cluster.
    * 
@@ -877,18 +1085,22 @@ public com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry( * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ @java.lang.Override - public com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterTelemetryOrBuilder() { + public com.google.container.v1beta1.ClusterTelemetryOrBuilder + getDesiredClusterTelemetryOrBuilder() { return getDesiredClusterTelemetry(); } public static final int DESIRED_RELEASE_CHANNEL_FIELD_NUMBER = 31; private com.google.container.v1beta1.ReleaseChannel desiredReleaseChannel_; /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; + * * @return Whether the desiredReleaseChannel field is set. */ @java.lang.Override @@ -896,18 +1108,25 @@ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannel_ != null; } /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; + * * @return The desiredReleaseChannel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel getDesiredReleaseChannel() { - return desiredReleaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; + return desiredReleaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : desiredReleaseChannel_; } /** + * + * *
    * The desired release channel configuration.
    * 
@@ -922,11 +1141,14 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseCha public static final int DESIRED_TPU_CONFIG_FIELD_NUMBER = 38; private com.google.container.v1beta1.TpuConfig desiredTpuConfig_; /** + * + * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; + * * @return Whether the desiredTpuConfig field is set. */ @java.lang.Override @@ -934,18 +1156,25 @@ public boolean hasDesiredTpuConfig() { return desiredTpuConfig_ != null; } /** + * + * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; + * * @return The desiredTpuConfig. */ @java.lang.Override public com.google.container.v1beta1.TpuConfig getDesiredTpuConfig() { - return desiredTpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : desiredTpuConfig_; + return desiredTpuConfig_ == null + ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() + : desiredTpuConfig_; } /** + * + * *
    * The desired Cloud TPU configuration.
    * 
@@ -960,11 +1189,15 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil public static final int DESIRED_L4ILB_SUBSETTING_CONFIG_FIELD_NUMBER = 39; private com.google.container.v1beta1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * + * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ @java.lang.Override @@ -972,91 +1205,129 @@ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfig_ != null; } /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * + * * @return The desiredL4ilbSubsettingConfig. */ @java.lang.Override public com.google.container.v1beta1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { - return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null + ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() + : desiredL4IlbSubsettingConfig_; } /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ @java.lang.Override - public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder + getDesiredL4IlbSubsettingConfigOrBuilder() { return getDesiredL4IlbSubsettingConfig(); } public static final int DESIRED_DATAPATH_PROVIDER_FIELD_NUMBER = 50; private int desiredDatapathProvider_; /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override public int getDesiredDatapathProviderValue() { + @java.lang.Override + public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @return The desiredDatapathProvider. */ - @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider() { + @java.lang.Override + public com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1beta1.DatapathProvider result = + com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } public static final int DESIRED_PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 51; private int desiredPrivateIpv6GoogleAccess_; /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override public com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { + @java.lang.Override + public com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); - return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = + com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf( + desiredPrivateIpv6GoogleAccess_); + return result == null + ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED + : result; } public static final int DESIRED_NOTIFICATION_CONFIG_FIELD_NUMBER = 55; private com.google.container.v1beta1.NotificationConfig desiredNotificationConfig_; /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; + * * @return Whether the desiredNotificationConfig field is set. */ @java.lang.Override @@ -1064,18 +1335,25 @@ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfig_ != null; } /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; + * * @return The desiredNotificationConfig. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig getDesiredNotificationConfig() { - return desiredNotificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; + return desiredNotificationConfig_ == null + ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() + : desiredNotificationConfig_; } /** + * + * *
    * The desired notification configuration.
    * 
@@ -1083,13 +1361,16 @@ public com.google.container.v1beta1.NotificationConfig getDesiredNotificationCon * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ @java.lang.Override - public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1beta1.NotificationConfigOrBuilder + getDesiredNotificationConfigOrBuilder() { return getDesiredNotificationConfig(); } public static final int DESIRED_MASTER_VERSION_FIELD_NUMBER = 100; private volatile java.lang.Object desiredMasterVersion_; /** + * + * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -1103,6 +1384,7 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotifi
    * 
* * string desired_master_version = 100; + * * @return The desiredMasterVersion. */ @java.lang.Override @@ -1111,14 +1393,15 @@ public java.lang.String getDesiredMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; } } /** + * + * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -1132,16 +1415,15 @@ public java.lang.String getDesiredMasterVersion() {
    * 
* * string desired_master_version = 100; + * * @return The bytes for desiredMasterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -1152,11 +1434,14 @@ public java.lang.String getDesiredMasterVersion() { public static final int DESIRED_GCFS_CONFIG_FIELD_NUMBER = 109; private com.google.container.v1beta1.GcfsConfig desiredGcfsConfig_; /** + * + * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; + * * @return Whether the desiredGcfsConfig field is set. */ @java.lang.Override @@ -1164,18 +1449,25 @@ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfig_ != null; } /** + * + * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; + * * @return The desiredGcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getDesiredGcfsConfig() { - return desiredGcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; + return desiredGcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : desiredGcfsConfig_; } /** + * + * *
    * The desired GCFS config for the cluster.
    * 
@@ -1190,11 +1482,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu public static final int DESIRED_DATABASE_ENCRYPTION_FIELD_NUMBER = 46; private com.google.container.v1beta1.DatabaseEncryption desiredDatabaseEncryption_; /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; + * * @return Whether the desiredDatabaseEncryption field is set. */ @java.lang.Override @@ -1202,18 +1497,25 @@ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryption_ != null; } /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; + * * @return The desiredDatabaseEncryption. */ @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncryption() { - return desiredDatabaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null + ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() + : desiredDatabaseEncryption_; } /** + * + * *
    * Configuration of etcd encryption.
    * 
@@ -1221,18 +1523,23 @@ public com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncrypt * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ @java.lang.Override - public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1beta1.DatabaseEncryptionOrBuilder + getDesiredDatabaseEncryptionOrBuilder() { return getDesiredDatabaseEncryption(); } public static final int DESIRED_WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER = 47; private com.google.container.v1beta1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; /** + * + * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return Whether the desiredWorkloadIdentityConfig field is set. */ @java.lang.Override @@ -1240,38 +1547,51 @@ public boolean hasDesiredWorkloadIdentityConfig() { return desiredWorkloadIdentityConfig_ != null; } /** + * + * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return The desiredWorkloadIdentityConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null + ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() + : desiredWorkloadIdentityConfig_; } /** + * + * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ @java.lang.Override - public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder + getDesiredWorkloadIdentityConfigOrBuilder() { return getDesiredWorkloadIdentityConfig(); } public static final int DESIRED_WORKLOAD_CERTIFICATES_FIELD_NUMBER = 61; private com.google.container.v1beta1.WorkloadCertificates desiredWorkloadCertificates_; /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * * @return Whether the desiredWorkloadCertificates field is set. */ @java.lang.Override @@ -1279,19 +1599,26 @@ public boolean hasDesiredWorkloadCertificates() { return desiredWorkloadCertificates_ != null; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * * @return The desiredWorkloadCertificates. */ @java.lang.Override public com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCertificates() { - return desiredWorkloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : desiredWorkloadCertificates_; + return desiredWorkloadCertificates_ == null + ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() + : desiredWorkloadCertificates_; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1300,19 +1627,23 @@ public com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCerti
    * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getDesiredWorkloadCertificatesOrBuilder() {
+  public com.google.container.v1beta1.WorkloadCertificatesOrBuilder
+      getDesiredWorkloadCertificatesOrBuilder() {
     return getDesiredWorkloadCertificates();
   }
 
   public static final int DESIRED_MESH_CERTIFICATES_FIELD_NUMBER = 67;
   private com.google.container.v1beta1.MeshCertificates desiredMeshCertificates_;
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; + * * @return Whether the desiredMeshCertificates field is set. */ @java.lang.Override @@ -1320,19 +1651,26 @@ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificates_ != null; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; + * * @return The desiredMeshCertificates. */ @java.lang.Override public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates() { - return desiredMeshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; + return desiredMeshCertificates_ == null + ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() + : desiredMeshCertificates_; } /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -1341,18 +1679,22 @@ public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates(
    * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder() {
+  public com.google.container.v1beta1.MeshCertificatesOrBuilder
+      getDesiredMeshCertificatesOrBuilder() {
     return getDesiredMeshCertificates();
   }
 
   public static final int DESIRED_WORKLOAD_ALTS_CONFIG_FIELD_NUMBER = 62;
   private com.google.container.v1beta1.WorkloadALTSConfig desiredWorkloadAltsConfig_;
   /**
+   *
+   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * * @return Whether the desiredWorkloadAltsConfig field is set. */ @java.lang.Override @@ -1360,18 +1702,25 @@ public boolean hasDesiredWorkloadAltsConfig() { return desiredWorkloadAltsConfig_ != null; } /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * * @return The desiredWorkloadAltsConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig() { - return desiredWorkloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : desiredWorkloadAltsConfig_; + return desiredWorkloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : desiredWorkloadAltsConfig_; } /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -1379,18 +1728,22 @@ public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsCon * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ @java.lang.Override - public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorkloadAltsConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder + getDesiredWorkloadAltsConfigOrBuilder() { return getDesiredWorkloadAltsConfig(); } public static final int DESIRED_SHIELDED_NODES_FIELD_NUMBER = 48; private com.google.container.v1beta1.ShieldedNodes desiredShieldedNodes_; /** + * + * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * * @return Whether the desiredShieldedNodes field is set. */ @java.lang.Override @@ -1398,18 +1751,25 @@ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodes_ != null; } /** + * + * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * * @return The desiredShieldedNodes. */ @java.lang.Override public com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes() { - return desiredShieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; + return desiredShieldedNodes_ == null + ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() + : desiredShieldedNodes_; } /** + * + * *
    * Configuration for Shielded Nodes.
    * 
@@ -1424,11 +1784,15 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod public static final int DESIRED_COST_MANAGEMENT_CONFIG_FIELD_NUMBER = 49; private com.google.container.v1beta1.CostManagementConfig desiredCostManagementConfig_; /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * * @return Whether the desiredCostManagementConfig field is set. */ @java.lang.Override @@ -1436,37 +1800,50 @@ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfig_ != null; } /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * * @return The desiredCostManagementConfig. */ @java.lang.Override public com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig() { - return desiredCostManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; } /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ @java.lang.Override - public com.google.container.v1beta1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder() { return getDesiredCostManagementConfig(); } public static final int DESIRED_MASTER_FIELD_NUMBER = 52; private com.google.container.v1beta1.Master desiredMaster_; /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; + * * @return Whether the desiredMaster field is set. */ @java.lang.Override @@ -1474,18 +1851,25 @@ public boolean hasDesiredMaster() { return desiredMaster_ != null; } /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; + * * @return The desiredMaster. */ @java.lang.Override public com.google.container.v1beta1.Master getDesiredMaster() { - return desiredMaster_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : desiredMaster_; + return desiredMaster_ == null + ? com.google.container.v1beta1.Master.getDefaultInstance() + : desiredMaster_; } /** + * + * *
    * Configuration for master components.
    * 
@@ -1500,11 +1884,14 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() public static final int DESIRED_DNS_CONFIG_FIELD_NUMBER = 53; private com.google.container.v1beta1.DNSConfig desiredDnsConfig_; /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; + * * @return Whether the desiredDnsConfig field is set. */ @java.lang.Override @@ -1512,18 +1899,25 @@ public boolean hasDesiredDnsConfig() { return desiredDnsConfig_ != null; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; + * * @return The desiredDnsConfig. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig getDesiredDnsConfig() { - return desiredDnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; + return desiredDnsConfig_ == null + ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() + : desiredDnsConfig_; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -1538,12 +1932,17 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil public static final int DESIRED_SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 60; private com.google.container.v1beta1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return Whether the desiredServiceExternalIpsConfig field is set. */ @java.lang.Override @@ -1551,40 +1950,58 @@ public boolean hasDesiredServiceExternalIpsConfig() { return desiredServiceExternalIpsConfig_ != null; } /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return The desiredServiceExternalIpsConfig. */ @java.lang.Override - public com.google.container.v1beta1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; + public com.google.container.v1beta1.ServiceExternalIPsConfig + getDesiredServiceExternalIpsConfig() { + return desiredServiceExternalIpsConfig_ == null + ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() + : desiredServiceExternalIpsConfig_; } /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ @java.lang.Override - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder + getDesiredServiceExternalIpsConfigOrBuilder() { return getDesiredServiceExternalIpsConfig(); } public static final int DESIRED_AUTHENTICATOR_GROUPS_CONFIG_FIELD_NUMBER = 63; private com.google.container.v1beta1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; /** + * + * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ @java.lang.Override @@ -1592,39 +2009,55 @@ public boolean hasDesiredAuthenticatorGroupsConfig() { return desiredAuthenticatorGroupsConfig_ != null; } /** + * + * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return The desiredAuthenticatorGroupsConfig. */ @java.lang.Override - public com.google.container.v1beta1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; + public com.google.container.v1beta1.AuthenticatorGroupsConfig + getDesiredAuthenticatorGroupsConfig() { + return desiredAuthenticatorGroupsConfig_ == null + ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() + : desiredAuthenticatorGroupsConfig_; } /** + * + * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ @java.lang.Override - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder + getDesiredAuthenticatorGroupsConfigOrBuilder() { return getDesiredAuthenticatorGroupsConfig(); } public static final int DESIRED_LOGGING_CONFIG_FIELD_NUMBER = 64; private com.google.container.v1beta1.LoggingConfig desiredLoggingConfig_; /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; + * * @return Whether the desiredLoggingConfig field is set. */ @java.lang.Override @@ -1632,18 +2065,25 @@ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfig_ != null; } /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; + * * @return The desiredLoggingConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingConfig getDesiredLoggingConfig() { - return desiredLoggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; + return desiredLoggingConfig_ == null + ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() + : desiredLoggingConfig_; } /** + * + * *
    * The desired logging configuration.
    * 
@@ -1658,11 +2098,14 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf public static final int DESIRED_MONITORING_CONFIG_FIELD_NUMBER = 65; private com.google.container.v1beta1.MonitoringConfig desiredMonitoringConfig_; /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; + * * @return Whether the desiredMonitoringConfig field is set. */ @java.lang.Override @@ -1670,18 +2113,25 @@ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfig_ != null; } /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; + * * @return The desiredMonitoringConfig. */ @java.lang.Override public com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig() { - return desiredMonitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null + ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() + : desiredMonitoringConfig_; } /** + * + * *
    * The desired monitoring configuration.
    * 
@@ -1689,18 +2139,23 @@ public com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig( * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ @java.lang.Override - public com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringConfigOrBuilder + getDesiredMonitoringConfigOrBuilder() { return getDesiredMonitoringConfig(); } public static final int DESIRED_IDENTITY_SERVICE_CONFIG_FIELD_NUMBER = 66; private com.google.container.v1beta1.IdentityServiceConfig desiredIdentityServiceConfig_; /** + * + * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * + * * @return Whether the desiredIdentityServiceConfig field is set. */ @java.lang.Override @@ -1708,37 +2163,50 @@ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfig_ != null; } /** + * + * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * + * * @return The desiredIdentityServiceConfig. */ @java.lang.Override public com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServiceConfig() { - return desiredIdentityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; } /** + * + * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ @java.lang.Override - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder + getDesiredIdentityServiceConfigOrBuilder() { return getDesiredIdentityServiceConfig(); } public static final int DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 71; private boolean desiredEnablePrivateEndpoint_; /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -1746,11 +2214,14 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -1761,12 +2232,16 @@ public boolean getDesiredEnablePrivateEndpoint() { public static final int DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER = 110; private com.google.container.v1beta1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ @java.lang.Override @@ -1774,39 +2249,52 @@ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { return desiredNodePoolAutoConfigNetworkTags_ != null; } /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return The desiredNodePoolAutoConfigNetworkTags. */ @java.lang.Override public com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; } /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ @java.lang.Override - public com.google.container.v1beta1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + public com.google.container.v1beta1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { return getDesiredNodePoolAutoConfigNetworkTags(); } public static final int DESIRED_PROTECT_CONFIG_FIELD_NUMBER = 112; private com.google.container.v1beta1.ProtectConfig desiredProtectConfig_; /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * * @return Whether the desiredProtectConfig field is set. */ @java.lang.Override @@ -1814,18 +2302,25 @@ public boolean hasDesiredProtectConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * * @return The desiredProtectConfig. */ @java.lang.Override public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { - return desiredProtectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; } /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
@@ -1834,17 +2329,22 @@ public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { */ @java.lang.Override public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConfigOrBuilder() { - return desiredProtectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; } public static final int DESIRED_GATEWAY_API_CONFIG_FIELD_NUMBER = 114; private com.google.container.v1beta1.GatewayAPIConfig desiredGatewayApiConfig_; /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return Whether the desiredGatewayApiConfig field is set. */ @java.lang.Override @@ -1852,18 +2352,25 @@ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfig_ != null; } /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return The desiredGatewayApiConfig. */ @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig() { - return desiredGatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null + ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() + : desiredGatewayApiConfig_; } /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -1871,18 +2378,23 @@ public com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig( * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ @java.lang.Override - public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder() { + public com.google.container.v1beta1.GatewayAPIConfigOrBuilder + getDesiredGatewayApiConfigOrBuilder() { return getDesiredGatewayApiConfig(); } public static final int DESIRED_NODE_POOL_LOGGING_CONFIG_FIELD_NUMBER = 116; private com.google.container.v1beta1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return Whether the desiredNodePoolLoggingConfig field is set. */ @java.lang.Override @@ -1890,30 +2402,41 @@ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfig_ != null; } /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return The desiredNodePoolLoggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { - return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : desiredNodePoolLoggingConfig_; } /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ @java.lang.Override - public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder + getDesiredNodePoolLoggingConfigOrBuilder() { return getDesiredNodePoolLoggingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1925,8 +2448,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodeVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, desiredNodeVersion_); } @@ -2002,10 +2524,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (desiredCostManagementConfig_ != null) { output.writeMessage(49, getDesiredCostManagementConfig()); } - if (desiredDatapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { + if (desiredDatapathProvider_ + != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED + .getNumber()) { output.writeEnum(50, desiredDatapathProvider_); } - if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { + if (desiredPrivateIpv6GoogleAccess_ + != com.google.container.v1beta1.PrivateIPv6GoogleAccess + .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED + .getNumber()) { output.writeEnum(51, desiredPrivateIpv6GoogleAccess_); } if (desiredMaster_ != null) { @@ -2075,11 +2602,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, desiredNodeVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMonitoringService_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, desiredMonitoringService_); } if (desiredAddonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getDesiredAddonsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getDesiredAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredNodePoolId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, desiredNodePoolId_); @@ -2088,8 +2615,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, desiredImageType_); } if (desiredNodePoolAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getDesiredNodePoolAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, getDesiredNodePoolAutoscaling()); } { int dataSize = 0; @@ -2100,154 +2628,180 @@ public int getSerializedSize() { size += 1 * getDesiredLocationsList().size(); } if (desiredMasterAuthorizedNetworksConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDesiredMasterAuthorizedNetworksConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 12, getDesiredMasterAuthorizedNetworksConfig()); } if (desiredPodSecurityPolicyConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getDesiredPodSecurityPolicyConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 14, getDesiredPodSecurityPolicyConfig()); } if (desiredClusterAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getDesiredClusterAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 15, getDesiredClusterAutoscaling()); } if (desiredBinaryAuthorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getDesiredBinaryAuthorization()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 16, getDesiredBinaryAuthorization()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredLoggingService_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, desiredLoggingService_); } if (desiredResourceUsageExportConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getDesiredResourceUsageExportConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 21, getDesiredResourceUsageExportConfig()); } if (desiredVerticalPodAutoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getDesiredVerticalPodAutoscaling()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, getDesiredVerticalPodAutoscaling()); } if (desiredPrivateClusterConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getDesiredPrivateClusterConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 25, getDesiredPrivateClusterConfig()); } if (desiredIntraNodeVisibilityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getDesiredIntraNodeVisibilityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 26, getDesiredIntraNodeVisibilityConfig()); } if (desiredDefaultSnatStatus_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, getDesiredDefaultSnatStatus()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, getDesiredDefaultSnatStatus()); } if (desiredClusterTelemetry_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, getDesiredClusterTelemetry()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 30, getDesiredClusterTelemetry()); } if (desiredReleaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(31, getDesiredReleaseChannel()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(31, getDesiredReleaseChannel()); } if (desiredTpuConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(38, getDesiredTpuConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getDesiredTpuConfig()); } if (desiredL4IlbSubsettingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(39, getDesiredL4IlbSubsettingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 39, getDesiredL4IlbSubsettingConfig()); } if (desiredDatabaseEncryption_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(46, getDesiredDatabaseEncryption()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 46, getDesiredDatabaseEncryption()); } if (desiredWorkloadIdentityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(47, getDesiredWorkloadIdentityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 47, getDesiredWorkloadIdentityConfig()); } if (desiredShieldedNodes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(48, getDesiredShieldedNodes()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(48, getDesiredShieldedNodes()); } if (desiredCostManagementConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(49, getDesiredCostManagementConfig()); - } - if (desiredDatapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(50, desiredDatapathProvider_); - } - if (desiredPrivateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(51, desiredPrivateIpv6GoogleAccess_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 49, getDesiredCostManagementConfig()); + } + if (desiredDatapathProvider_ + != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(50, desiredDatapathProvider_); + } + if (desiredPrivateIpv6GoogleAccess_ + != com.google.container.v1beta1.PrivateIPv6GoogleAccess + .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 51, desiredPrivateIpv6GoogleAccess_); } if (desiredMaster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(52, getDesiredMaster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(52, getDesiredMaster()); } if (desiredDnsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(53, getDesiredDnsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(53, getDesiredDnsConfig()); } if (desiredNotificationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(55, getDesiredNotificationConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 55, getDesiredNotificationConfig()); } if (desiredServiceExternalIpsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(60, getDesiredServiceExternalIpsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 60, getDesiredServiceExternalIpsConfig()); } if (desiredWorkloadCertificates_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(61, getDesiredWorkloadCertificates()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 61, getDesiredWorkloadCertificates()); } if (desiredWorkloadAltsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(62, getDesiredWorkloadAltsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 62, getDesiredWorkloadAltsConfig()); } if (desiredAuthenticatorGroupsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(63, getDesiredAuthenticatorGroupsConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 63, getDesiredAuthenticatorGroupsConfig()); } if (desiredLoggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(64, getDesiredLoggingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(64, getDesiredLoggingConfig()); } if (desiredMonitoringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(65, getDesiredMonitoringConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 65, getDesiredMonitoringConfig()); } if (desiredIdentityServiceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(66, getDesiredIdentityServiceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 66, getDesiredIdentityServiceConfig()); } if (desiredMeshCertificates_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(67, getDesiredMeshCertificates()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 67, getDesiredMeshCertificates()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(71, desiredEnablePrivateEndpoint_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(71, desiredEnablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(desiredMasterVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, desiredMasterVersion_); } if (desiredGcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(109, getDesiredGcfsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getDesiredGcfsConfig()); } if (desiredNodePoolAutoConfigNetworkTags_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(110, getDesiredNodePoolAutoConfigNetworkTags()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 110, getDesiredNodePoolAutoConfigNetworkTags()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(112, getDesiredProtectConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(112, getDesiredProtectConfig()); } if (desiredGatewayApiConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(114, getDesiredGatewayApiConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 114, getDesiredGatewayApiConfig()); } if (desiredNodePoolLoggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(116, getDesiredNodePoolLoggingConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 116, getDesiredNodePoolLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2257,208 +2811,197 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ClusterUpdate)) { return super.equals(obj); } - com.google.container.v1beta1.ClusterUpdate other = (com.google.container.v1beta1.ClusterUpdate) obj; + com.google.container.v1beta1.ClusterUpdate other = + (com.google.container.v1beta1.ClusterUpdate) obj; - if (!getDesiredNodeVersion() - .equals(other.getDesiredNodeVersion())) return false; - if (!getDesiredMonitoringService() - .equals(other.getDesiredMonitoringService())) return false; + if (!getDesiredNodeVersion().equals(other.getDesiredNodeVersion())) return false; + if (!getDesiredMonitoringService().equals(other.getDesiredMonitoringService())) return false; if (hasDesiredAddonsConfig() != other.hasDesiredAddonsConfig()) return false; if (hasDesiredAddonsConfig()) { - if (!getDesiredAddonsConfig() - .equals(other.getDesiredAddonsConfig())) return false; + if (!getDesiredAddonsConfig().equals(other.getDesiredAddonsConfig())) return false; } - if (!getDesiredNodePoolId() - .equals(other.getDesiredNodePoolId())) return false; - if (!getDesiredImageType() - .equals(other.getDesiredImageType())) return false; + if (!getDesiredNodePoolId().equals(other.getDesiredNodePoolId())) return false; + if (!getDesiredImageType().equals(other.getDesiredImageType())) return false; if (hasDesiredNodePoolAutoscaling() != other.hasDesiredNodePoolAutoscaling()) return false; if (hasDesiredNodePoolAutoscaling()) { - if (!getDesiredNodePoolAutoscaling() - .equals(other.getDesiredNodePoolAutoscaling())) return false; + if (!getDesiredNodePoolAutoscaling().equals(other.getDesiredNodePoolAutoscaling())) + return false; } - if (!getDesiredLocationsList() - .equals(other.getDesiredLocationsList())) return false; - if (hasDesiredMasterAuthorizedNetworksConfig() != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; + if (!getDesiredLocationsList().equals(other.getDesiredLocationsList())) return false; + if (hasDesiredMasterAuthorizedNetworksConfig() + != other.hasDesiredMasterAuthorizedNetworksConfig()) return false; if (hasDesiredMasterAuthorizedNetworksConfig()) { if (!getDesiredMasterAuthorizedNetworksConfig() .equals(other.getDesiredMasterAuthorizedNetworksConfig())) return false; } - if (hasDesiredPodSecurityPolicyConfig() != other.hasDesiredPodSecurityPolicyConfig()) return false; + if (hasDesiredPodSecurityPolicyConfig() != other.hasDesiredPodSecurityPolicyConfig()) + return false; if (hasDesiredPodSecurityPolicyConfig()) { - if (!getDesiredPodSecurityPolicyConfig() - .equals(other.getDesiredPodSecurityPolicyConfig())) return false; + if (!getDesiredPodSecurityPolicyConfig().equals(other.getDesiredPodSecurityPolicyConfig())) + return false; } if (hasDesiredClusterAutoscaling() != other.hasDesiredClusterAutoscaling()) return false; if (hasDesiredClusterAutoscaling()) { - if (!getDesiredClusterAutoscaling() - .equals(other.getDesiredClusterAutoscaling())) return false; + if (!getDesiredClusterAutoscaling().equals(other.getDesiredClusterAutoscaling())) + return false; } if (hasDesiredBinaryAuthorization() != other.hasDesiredBinaryAuthorization()) return false; if (hasDesiredBinaryAuthorization()) { - if (!getDesiredBinaryAuthorization() - .equals(other.getDesiredBinaryAuthorization())) return false; + if (!getDesiredBinaryAuthorization().equals(other.getDesiredBinaryAuthorization())) + return false; } - if (!getDesiredLoggingService() - .equals(other.getDesiredLoggingService())) return false; - if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) return false; + if (!getDesiredLoggingService().equals(other.getDesiredLoggingService())) return false; + if (hasDesiredResourceUsageExportConfig() != other.hasDesiredResourceUsageExportConfig()) + return false; if (hasDesiredResourceUsageExportConfig()) { if (!getDesiredResourceUsageExportConfig() .equals(other.getDesiredResourceUsageExportConfig())) return false; } - if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) return false; + if (hasDesiredVerticalPodAutoscaling() != other.hasDesiredVerticalPodAutoscaling()) + return false; if (hasDesiredVerticalPodAutoscaling()) { - if (!getDesiredVerticalPodAutoscaling() - .equals(other.getDesiredVerticalPodAutoscaling())) return false; + if (!getDesiredVerticalPodAutoscaling().equals(other.getDesiredVerticalPodAutoscaling())) + return false; } if (hasDesiredPrivateClusterConfig() != other.hasDesiredPrivateClusterConfig()) return false; if (hasDesiredPrivateClusterConfig()) { - if (!getDesiredPrivateClusterConfig() - .equals(other.getDesiredPrivateClusterConfig())) return false; + if (!getDesiredPrivateClusterConfig().equals(other.getDesiredPrivateClusterConfig())) + return false; } - if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) return false; + if (hasDesiredIntraNodeVisibilityConfig() != other.hasDesiredIntraNodeVisibilityConfig()) + return false; if (hasDesiredIntraNodeVisibilityConfig()) { if (!getDesiredIntraNodeVisibilityConfig() .equals(other.getDesiredIntraNodeVisibilityConfig())) return false; } if (hasDesiredDefaultSnatStatus() != other.hasDesiredDefaultSnatStatus()) return false; if (hasDesiredDefaultSnatStatus()) { - if (!getDesiredDefaultSnatStatus() - .equals(other.getDesiredDefaultSnatStatus())) return false; + if (!getDesiredDefaultSnatStatus().equals(other.getDesiredDefaultSnatStatus())) return false; } if (hasDesiredClusterTelemetry() != other.hasDesiredClusterTelemetry()) return false; if (hasDesiredClusterTelemetry()) { - if (!getDesiredClusterTelemetry() - .equals(other.getDesiredClusterTelemetry())) return false; + if (!getDesiredClusterTelemetry().equals(other.getDesiredClusterTelemetry())) return false; } if (hasDesiredReleaseChannel() != other.hasDesiredReleaseChannel()) return false; if (hasDesiredReleaseChannel()) { - if (!getDesiredReleaseChannel() - .equals(other.getDesiredReleaseChannel())) return false; + if (!getDesiredReleaseChannel().equals(other.getDesiredReleaseChannel())) return false; } if (hasDesiredTpuConfig() != other.hasDesiredTpuConfig()) return false; if (hasDesiredTpuConfig()) { - if (!getDesiredTpuConfig() - .equals(other.getDesiredTpuConfig())) return false; + if (!getDesiredTpuConfig().equals(other.getDesiredTpuConfig())) return false; } if (hasDesiredL4IlbSubsettingConfig() != other.hasDesiredL4IlbSubsettingConfig()) return false; if (hasDesiredL4IlbSubsettingConfig()) { - if (!getDesiredL4IlbSubsettingConfig() - .equals(other.getDesiredL4IlbSubsettingConfig())) return false; + if (!getDesiredL4IlbSubsettingConfig().equals(other.getDesiredL4IlbSubsettingConfig())) + return false; } if (desiredDatapathProvider_ != other.desiredDatapathProvider_) return false; if (desiredPrivateIpv6GoogleAccess_ != other.desiredPrivateIpv6GoogleAccess_) return false; if (hasDesiredNotificationConfig() != other.hasDesiredNotificationConfig()) return false; if (hasDesiredNotificationConfig()) { - if (!getDesiredNotificationConfig() - .equals(other.getDesiredNotificationConfig())) return false; + if (!getDesiredNotificationConfig().equals(other.getDesiredNotificationConfig())) + return false; } - if (!getDesiredMasterVersion() - .equals(other.getDesiredMasterVersion())) return false; + if (!getDesiredMasterVersion().equals(other.getDesiredMasterVersion())) return false; if (hasDesiredGcfsConfig() != other.hasDesiredGcfsConfig()) return false; if (hasDesiredGcfsConfig()) { - if (!getDesiredGcfsConfig() - .equals(other.getDesiredGcfsConfig())) return false; + if (!getDesiredGcfsConfig().equals(other.getDesiredGcfsConfig())) return false; } if (hasDesiredDatabaseEncryption() != other.hasDesiredDatabaseEncryption()) return false; if (hasDesiredDatabaseEncryption()) { - if (!getDesiredDatabaseEncryption() - .equals(other.getDesiredDatabaseEncryption())) return false; + if (!getDesiredDatabaseEncryption().equals(other.getDesiredDatabaseEncryption())) + return false; } - if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) return false; + if (hasDesiredWorkloadIdentityConfig() != other.hasDesiredWorkloadIdentityConfig()) + return false; if (hasDesiredWorkloadIdentityConfig()) { - if (!getDesiredWorkloadIdentityConfig() - .equals(other.getDesiredWorkloadIdentityConfig())) return false; + if (!getDesiredWorkloadIdentityConfig().equals(other.getDesiredWorkloadIdentityConfig())) + return false; } if (hasDesiredWorkloadCertificates() != other.hasDesiredWorkloadCertificates()) return false; if (hasDesiredWorkloadCertificates()) { - if (!getDesiredWorkloadCertificates() - .equals(other.getDesiredWorkloadCertificates())) return false; + if (!getDesiredWorkloadCertificates().equals(other.getDesiredWorkloadCertificates())) + return false; } if (hasDesiredMeshCertificates() != other.hasDesiredMeshCertificates()) return false; if (hasDesiredMeshCertificates()) { - if (!getDesiredMeshCertificates() - .equals(other.getDesiredMeshCertificates())) return false; + if (!getDesiredMeshCertificates().equals(other.getDesiredMeshCertificates())) return false; } if (hasDesiredWorkloadAltsConfig() != other.hasDesiredWorkloadAltsConfig()) return false; if (hasDesiredWorkloadAltsConfig()) { - if (!getDesiredWorkloadAltsConfig() - .equals(other.getDesiredWorkloadAltsConfig())) return false; + if (!getDesiredWorkloadAltsConfig().equals(other.getDesiredWorkloadAltsConfig())) + return false; } if (hasDesiredShieldedNodes() != other.hasDesiredShieldedNodes()) return false; if (hasDesiredShieldedNodes()) { - if (!getDesiredShieldedNodes() - .equals(other.getDesiredShieldedNodes())) return false; + if (!getDesiredShieldedNodes().equals(other.getDesiredShieldedNodes())) return false; } if (hasDesiredCostManagementConfig() != other.hasDesiredCostManagementConfig()) return false; if (hasDesiredCostManagementConfig()) { - if (!getDesiredCostManagementConfig() - .equals(other.getDesiredCostManagementConfig())) return false; + if (!getDesiredCostManagementConfig().equals(other.getDesiredCostManagementConfig())) + return false; } if (hasDesiredMaster() != other.hasDesiredMaster()) return false; if (hasDesiredMaster()) { - if (!getDesiredMaster() - .equals(other.getDesiredMaster())) return false; + if (!getDesiredMaster().equals(other.getDesiredMaster())) return false; } if (hasDesiredDnsConfig() != other.hasDesiredDnsConfig()) return false; if (hasDesiredDnsConfig()) { - if (!getDesiredDnsConfig() - .equals(other.getDesiredDnsConfig())) return false; + if (!getDesiredDnsConfig().equals(other.getDesiredDnsConfig())) return false; } - if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) return false; + if (hasDesiredServiceExternalIpsConfig() != other.hasDesiredServiceExternalIpsConfig()) + return false; if (hasDesiredServiceExternalIpsConfig()) { - if (!getDesiredServiceExternalIpsConfig() - .equals(other.getDesiredServiceExternalIpsConfig())) return false; + if (!getDesiredServiceExternalIpsConfig().equals(other.getDesiredServiceExternalIpsConfig())) + return false; } - if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) return false; + if (hasDesiredAuthenticatorGroupsConfig() != other.hasDesiredAuthenticatorGroupsConfig()) + return false; if (hasDesiredAuthenticatorGroupsConfig()) { if (!getDesiredAuthenticatorGroupsConfig() .equals(other.getDesiredAuthenticatorGroupsConfig())) return false; } if (hasDesiredLoggingConfig() != other.hasDesiredLoggingConfig()) return false; if (hasDesiredLoggingConfig()) { - if (!getDesiredLoggingConfig() - .equals(other.getDesiredLoggingConfig())) return false; + if (!getDesiredLoggingConfig().equals(other.getDesiredLoggingConfig())) return false; } if (hasDesiredMonitoringConfig() != other.hasDesiredMonitoringConfig()) return false; if (hasDesiredMonitoringConfig()) { - if (!getDesiredMonitoringConfig() - .equals(other.getDesiredMonitoringConfig())) return false; + if (!getDesiredMonitoringConfig().equals(other.getDesiredMonitoringConfig())) return false; } if (hasDesiredIdentityServiceConfig() != other.hasDesiredIdentityServiceConfig()) return false; if (hasDesiredIdentityServiceConfig()) { - if (!getDesiredIdentityServiceConfig() - .equals(other.getDesiredIdentityServiceConfig())) return false; + if (!getDesiredIdentityServiceConfig().equals(other.getDesiredIdentityServiceConfig())) + return false; } if (hasDesiredEnablePrivateEndpoint() != other.hasDesiredEnablePrivateEndpoint()) return false; if (hasDesiredEnablePrivateEndpoint()) { - if (getDesiredEnablePrivateEndpoint() - != other.getDesiredEnablePrivateEndpoint()) return false; + if (getDesiredEnablePrivateEndpoint() != other.getDesiredEnablePrivateEndpoint()) + return false; } - if (hasDesiredNodePoolAutoConfigNetworkTags() != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; + if (hasDesiredNodePoolAutoConfigNetworkTags() + != other.hasDesiredNodePoolAutoConfigNetworkTags()) return false; if (hasDesiredNodePoolAutoConfigNetworkTags()) { if (!getDesiredNodePoolAutoConfigNetworkTags() .equals(other.getDesiredNodePoolAutoConfigNetworkTags())) return false; } if (hasDesiredProtectConfig() != other.hasDesiredProtectConfig()) return false; if (hasDesiredProtectConfig()) { - if (!getDesiredProtectConfig() - .equals(other.getDesiredProtectConfig())) return false; + if (!getDesiredProtectConfig().equals(other.getDesiredProtectConfig())) return false; } if (hasDesiredGatewayApiConfig() != other.hasDesiredGatewayApiConfig()) return false; if (hasDesiredGatewayApiConfig()) { - if (!getDesiredGatewayApiConfig() - .equals(other.getDesiredGatewayApiConfig())) return false; + if (!getDesiredGatewayApiConfig().equals(other.getDesiredGatewayApiConfig())) return false; } if (hasDesiredNodePoolLoggingConfig() != other.hasDesiredNodePoolLoggingConfig()) return false; if (hasDesiredNodePoolLoggingConfig()) { - if (!getDesiredNodePoolLoggingConfig() - .equals(other.getDesiredNodePoolLoggingConfig())) return false; + if (!getDesiredNodePoolLoggingConfig().equals(other.getDesiredNodePoolLoggingConfig())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2617,8 +3160,8 @@ public int hashCode() { } if (hasDesiredEnablePrivateEndpoint()) { hash = (37 * hash) + DESIRED_ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDesiredEnablePrivateEndpoint()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDesiredEnablePrivateEndpoint()); } if (hasDesiredNodePoolAutoConfigNetworkTags()) { hash = (37 * hash) + DESIRED_NODE_POOL_AUTO_CONFIG_NETWORK_TAGS_FIELD_NUMBER; @@ -2641,97 +3184,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ClusterUpdate parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ClusterUpdate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterUpdate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ClusterUpdate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterUpdate parseFrom( 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.ClusterUpdate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ClusterUpdate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ClusterUpdate parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterUpdate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ClusterUpdate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ClusterUpdate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterUpdate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ClusterUpdate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ClusterUpdate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ClusterUpdate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ClusterUpdate describes an update to the cluster. Exactly one update can
    * be applied to a cluster with each request, so at most one field can be
@@ -2740,21 +3290,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ClusterUpdate}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ClusterUpdate)
       com.google.container.v1beta1.ClusterUpdateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ClusterUpdate.class, com.google.container.v1beta1.ClusterUpdate.Builder.class);
+              com.google.container.v1beta1.ClusterUpdate.class,
+              com.google.container.v1beta1.ClusterUpdate.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ClusterUpdate.newBuilder()
@@ -2762,17 +3314,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getDesiredProtectConfigFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3010,9 +3562,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ClusterUpdate_descriptor;
     }
 
     @java.lang.Override
@@ -3031,7 +3583,8 @@ public com.google.container.v1beta1.ClusterUpdate build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ClusterUpdate buildPartial() {
-      com.google.container.v1beta1.ClusterUpdate result = new com.google.container.v1beta1.ClusterUpdate(this);
+      com.google.container.v1beta1.ClusterUpdate result =
+          new com.google.container.v1beta1.ClusterUpdate(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.desiredNodeVersion_ = desiredNodeVersion_;
@@ -3056,7 +3609,8 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() {
       if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) {
         result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfig_;
       } else {
-        result.desiredMasterAuthorizedNetworksConfig_ = desiredMasterAuthorizedNetworksConfigBuilder_.build();
+        result.desiredMasterAuthorizedNetworksConfig_ =
+            desiredMasterAuthorizedNetworksConfigBuilder_.build();
       }
       if (desiredPodSecurityPolicyConfigBuilder_ == null) {
         result.desiredPodSecurityPolicyConfig_ = desiredPodSecurityPolicyConfig_;
@@ -3209,7 +3763,8 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() {
       if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) {
         result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTags_;
       } else {
-        result.desiredNodePoolAutoConfigNetworkTags_ = desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
+        result.desiredNodePoolAutoConfigNetworkTags_ =
+            desiredNodePoolAutoConfigNetworkTagsBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         if (desiredProtectConfigBuilder_ == null) {
@@ -3238,38 +3793,39 @@ public com.google.container.v1beta1.ClusterUpdate buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ClusterUpdate) {
-        return mergeFrom((com.google.container.v1beta1.ClusterUpdate)other);
+        return mergeFrom((com.google.container.v1beta1.ClusterUpdate) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3311,7 +3867,8 @@ public Builder mergeFrom(com.google.container.v1beta1.ClusterUpdate other) {
         onChanged();
       }
       if (other.hasDesiredMasterAuthorizedNetworksConfig()) {
-        mergeDesiredMasterAuthorizedNetworksConfig(other.getDesiredMasterAuthorizedNetworksConfig());
+        mergeDesiredMasterAuthorizedNetworksConfig(
+            other.getDesiredMasterAuthorizedNetworksConfig());
       }
       if (other.hasDesiredPodSecurityPolicyConfig()) {
         mergeDesiredPodSecurityPolicyConfig(other.getDesiredPodSecurityPolicyConfig());
@@ -3452,308 +4009,325 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 34: {
-              desiredNodeVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              desiredMonitoringService_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getDesiredAddonsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 50
-            case 58: {
-              desiredNodePoolId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            case 66: {
-              desiredImageType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 66
-            case 74: {
-              input.readMessage(
-                  getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 74
-            case 82: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureDesiredLocationsIsMutable();
-              desiredLocations_.add(s);
-              break;
-            } // case 82
-            case 98: {
-              input.readMessage(
-                  getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 98
-            case 114: {
-              input.readMessage(
-                  getDesiredPodSecurityPolicyConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getDesiredClusterAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 122
-            case 130: {
-              input.readMessage(
-                  getDesiredBinaryAuthorizationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 130
-            case 154: {
-              desiredLoggingService_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 154
-            case 170: {
-              input.readMessage(
-                  getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 170
-            case 178: {
-              input.readMessage(
-                  getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 178
-            case 202: {
-              input.readMessage(
-                  getDesiredPrivateClusterConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 210
-            case 226: {
-              input.readMessage(
-                  getDesiredDefaultSnatStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 226
-            case 242: {
-              input.readMessage(
-                  getDesiredClusterTelemetryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 242
-            case 250: {
-              input.readMessage(
-                  getDesiredReleaseChannelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 250
-            case 306: {
-              input.readMessage(
-                  getDesiredTpuConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 306
-            case 314: {
-              input.readMessage(
-                  getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 314
-            case 370: {
-              input.readMessage(
-                  getDesiredDatabaseEncryptionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 370
-            case 378: {
-              input.readMessage(
-                  getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 378
-            case 386: {
-              input.readMessage(
-                  getDesiredShieldedNodesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 386
-            case 394: {
-              input.readMessage(
-                  getDesiredCostManagementConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 394
-            case 400: {
-              desiredDatapathProvider_ = input.readEnum();
-
-              break;
-            } // case 400
-            case 408: {
-              desiredPrivateIpv6GoogleAccess_ = input.readEnum();
-
-              break;
-            } // case 408
-            case 418: {
-              input.readMessage(
-                  getDesiredMasterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 418
-            case 426: {
-              input.readMessage(
-                  getDesiredDnsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 426
-            case 442: {
-              input.readMessage(
-                  getDesiredNotificationConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 442
-            case 482: {
-              input.readMessage(
-                  getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 482
-            case 490: {
-              input.readMessage(
-                  getDesiredWorkloadCertificatesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 490
-            case 498: {
-              input.readMessage(
-                  getDesiredWorkloadAltsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 498
-            case 506: {
-              input.readMessage(
-                  getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 506
-            case 514: {
-              input.readMessage(
-                  getDesiredLoggingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 514
-            case 522: {
-              input.readMessage(
-                  getDesiredMonitoringConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 522
-            case 530: {
-              input.readMessage(
-                  getDesiredIdentityServiceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 530
-            case 538: {
-              input.readMessage(
-                  getDesiredMeshCertificatesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 538
-            case 568: {
-              desiredEnablePrivateEndpoint_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 568
-            case 802: {
-              desiredMasterVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 802
-            case 874: {
-              input.readMessage(
-                  getDesiredGcfsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 874
-            case 882: {
-              input.readMessage(
-                  getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 882
-            case 898: {
-              input.readMessage(
-                  getDesiredProtectConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 898
-            case 914: {
-              input.readMessage(
-                  getDesiredGatewayApiConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 914
-            case 930: {
-              input.readMessage(
-                  getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 930
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 34:
+              {
+                desiredNodeVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                desiredMonitoringService_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getDesiredAddonsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 50
+            case 58:
+              {
+                desiredNodePoolId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                desiredImageType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 66
+            case 74:
+              {
+                input.readMessage(
+                    getDesiredNodePoolAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 74
+            case 82:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureDesiredLocationsIsMutable();
+                desiredLocations_.add(s);
+                break;
+              } // case 82
+            case 98:
+              {
+                input.readMessage(
+                    getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 98
+            case 114:
+              {
+                input.readMessage(
+                    getDesiredPodSecurityPolicyConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(
+                    getDesiredClusterAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 122
+            case 130:
+              {
+                input.readMessage(
+                    getDesiredBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 130
+            case 154:
+              {
+                desiredLoggingService_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 154
+            case 170:
+              {
+                input.readMessage(
+                    getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 170
+            case 178:
+              {
+                input.readMessage(
+                    getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 178
+            case 202:
+              {
+                input.readMessage(
+                    getDesiredPrivateClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 210
+            case 226:
+              {
+                input.readMessage(
+                    getDesiredDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 226
+            case 242:
+              {
+                input.readMessage(
+                    getDesiredClusterTelemetryFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 242
+            case 250:
+              {
+                input.readMessage(
+                    getDesiredReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 250
+            case 306:
+              {
+                input.readMessage(
+                    getDesiredTpuConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 306
+            case 314:
+              {
+                input.readMessage(
+                    getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 314
+            case 370:
+              {
+                input.readMessage(
+                    getDesiredDatabaseEncryptionFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 370
+            case 378:
+              {
+                input.readMessage(
+                    getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 378
+            case 386:
+              {
+                input.readMessage(
+                    getDesiredShieldedNodesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 386
+            case 394:
+              {
+                input.readMessage(
+                    getDesiredCostManagementConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 394
+            case 400:
+              {
+                desiredDatapathProvider_ = input.readEnum();
+
+                break;
+              } // case 400
+            case 408:
+              {
+                desiredPrivateIpv6GoogleAccess_ = input.readEnum();
+
+                break;
+              } // case 408
+            case 418:
+              {
+                input.readMessage(getDesiredMasterFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 418
+            case 426:
+              {
+                input.readMessage(
+                    getDesiredDnsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 426
+            case 442:
+              {
+                input.readMessage(
+                    getDesiredNotificationConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 442
+            case 482:
+              {
+                input.readMessage(
+                    getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 482
+            case 490:
+              {
+                input.readMessage(
+                    getDesiredWorkloadCertificatesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 490
+            case 498:
+              {
+                input.readMessage(
+                    getDesiredWorkloadAltsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 498
+            case 506:
+              {
+                input.readMessage(
+                    getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 506
+            case 514:
+              {
+                input.readMessage(
+                    getDesiredLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 514
+            case 522:
+              {
+                input.readMessage(
+                    getDesiredMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 522
+            case 530:
+              {
+                input.readMessage(
+                    getDesiredIdentityServiceConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 530
+            case 538:
+              {
+                input.readMessage(
+                    getDesiredMeshCertificatesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 538
+            case 568:
+              {
+                desiredEnablePrivateEndpoint_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 568
+            case 802:
+              {
+                desiredMasterVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 802
+            case 874:
+              {
+                input.readMessage(
+                    getDesiredGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 874
+            case 882:
+              {
+                input.readMessage(
+                    getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 882
+            case 898:
+              {
+                input.readMessage(
+                    getDesiredProtectConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 898
+            case 914:
+              {
+                input.readMessage(
+                    getDesiredGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 914
+            case 930:
+              {
+                input.readMessage(
+                    getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 930
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3763,10 +4337,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object desiredNodeVersion_ = "";
     /**
+     *
+     *
      * 
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3780,13 +4357,13 @@ public Builder mergeFrom(
      * 
* * string desired_node_version = 4; + * * @return The desiredNodeVersion. */ public java.lang.String getDesiredNodeVersion() { java.lang.Object ref = desiredNodeVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodeVersion_ = s; return s; @@ -3795,6 +4372,8 @@ public java.lang.String getDesiredNodeVersion() { } } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3808,15 +4387,14 @@ public java.lang.String getDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; + * * @return The bytes for desiredNodeVersion. */ - public com.google.protobuf.ByteString - getDesiredNodeVersionBytes() { + public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodeVersion_ = b; return b; } else { @@ -3824,6 +4402,8 @@ public java.lang.String getDesiredNodeVersion() { } } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3837,20 +4417,22 @@ public java.lang.String getDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; + * * @param value The desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersion( - java.lang.String value) { + public Builder setDesiredNodeVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodeVersion_ = value; onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3864,15 +4446,18 @@ public Builder setDesiredNodeVersion(
      * 
* * string desired_node_version = 4; + * * @return This builder for chaining. */ public Builder clearDesiredNodeVersion() { - + desiredNodeVersion_ = getDefaultInstance().getDesiredNodeVersion(); onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -3886,16 +4471,16 @@ public Builder clearDesiredNodeVersion() {
      * 
* * string desired_node_version = 4; + * * @param value The bytes for desiredNodeVersion to set. * @return This builder for chaining. */ - public Builder setDesiredNodeVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredNodeVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodeVersion_ = value; onChanged(); return this; @@ -3903,6 +4488,8 @@ public Builder setDesiredNodeVersionBytes( private java.lang.Object desiredMonitoringService_ = ""; /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3916,13 +4503,13 @@ public Builder setDesiredNodeVersionBytes(
      * 
* * string desired_monitoring_service = 5; + * * @return The desiredMonitoringService. */ public java.lang.String getDesiredMonitoringService() { java.lang.Object ref = desiredMonitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMonitoringService_ = s; return s; @@ -3931,6 +4518,8 @@ public java.lang.String getDesiredMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3944,15 +4533,14 @@ public java.lang.String getDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; + * * @return The bytes for desiredMonitoringService. */ - public com.google.protobuf.ByteString - getDesiredMonitoringServiceBytes() { + public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMonitoringService_ = b; return b; } else { @@ -3960,6 +4548,8 @@ public java.lang.String getDesiredMonitoringService() { } } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -3973,20 +4563,22 @@ public java.lang.String getDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; + * * @param value The desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringService( - java.lang.String value) { + public Builder setDesiredMonitoringService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMonitoringService_ = value; onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -4000,15 +4592,18 @@ public Builder setDesiredMonitoringService(
      * 
* * string desired_monitoring_service = 5; + * * @return This builder for chaining. */ public Builder clearDesiredMonitoringService() { - + desiredMonitoringService_ = getDefaultInstance().getDesiredMonitoringService(); onChanged(); return this; } /** + * + * *
      * The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -4022,16 +4617,16 @@ public Builder clearDesiredMonitoringService() {
      * 
* * string desired_monitoring_service = 5; + * * @param value The bytes for desiredMonitoringService to set. * @return This builder for chaining. */ - public Builder setDesiredMonitoringServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredMonitoringServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMonitoringService_ = value; onChanged(); return this; @@ -4039,34 +4634,47 @@ public Builder setDesiredMonitoringServiceBytes( private com.google.container.v1beta1.AddonsConfig desiredAddonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> desiredAddonsConfigBuilder_; + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder> + desiredAddonsConfigBuilder_; /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; + * * @return Whether the desiredAddonsConfig field is set. */ public boolean hasDesiredAddonsConfig() { return desiredAddonsConfigBuilder_ != null || desiredAddonsConfig_ != null; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; + * * @return The desiredAddonsConfig. */ public com.google.container.v1beta1.AddonsConfig getDesiredAddonsConfig() { if (desiredAddonsConfigBuilder_ == null) { - return desiredAddonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; + return desiredAddonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : desiredAddonsConfig_; } else { return desiredAddonsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4087,6 +4695,8 @@ public Builder setDesiredAddonsConfig(com.google.container.v1beta1.AddonsConfig return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4105,6 +4715,8 @@ public Builder setDesiredAddonsConfig( return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4115,7 +4727,9 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1beta1.AddonsConfi if (desiredAddonsConfigBuilder_ == null) { if (desiredAddonsConfig_ != null) { desiredAddonsConfig_ = - com.google.container.v1beta1.AddonsConfig.newBuilder(desiredAddonsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AddonsConfig.newBuilder(desiredAddonsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredAddonsConfig_ = value; } @@ -4127,6 +4741,8 @@ public Builder mergeDesiredAddonsConfig(com.google.container.v1beta1.AddonsConfi return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4145,6 +4761,8 @@ public Builder clearDesiredAddonsConfig() { return this; } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4152,11 +4770,13 @@ public Builder clearDesiredAddonsConfig() { * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; */ public com.google.container.v1beta1.AddonsConfig.Builder getDesiredAddonsConfigBuilder() { - + onChanged(); return getDesiredAddonsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4167,11 +4787,14 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig if (desiredAddonsConfigBuilder_ != null) { return desiredAddonsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAddonsConfig_ == null ? - com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : desiredAddonsConfig_; + return desiredAddonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : desiredAddonsConfig_; } } /** + * + * *
      * Configurations for the various addons available to run in the cluster.
      * 
@@ -4179,14 +4802,17 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder> getDesiredAddonsConfigFieldBuilder() { if (desiredAddonsConfigBuilder_ == null) { - desiredAddonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder>( - getDesiredAddonsConfig(), - getParentForChildren(), - isClean()); + desiredAddonsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder>( + getDesiredAddonsConfig(), getParentForChildren(), isClean()); desiredAddonsConfig_ = null; } return desiredAddonsConfigBuilder_; @@ -4194,6 +4820,8 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig private java.lang.Object desiredNodePoolId_ = ""; /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4202,13 +4830,13 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfig
      * 
* * string desired_node_pool_id = 7; + * * @return The desiredNodePoolId. */ public java.lang.String getDesiredNodePoolId() { java.lang.Object ref = desiredNodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredNodePoolId_ = s; return s; @@ -4217,6 +4845,8 @@ public java.lang.String getDesiredNodePoolId() { } } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4225,15 +4855,14 @@ public java.lang.String getDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; + * * @return The bytes for desiredNodePoolId. */ - public com.google.protobuf.ByteString - getDesiredNodePoolIdBytes() { + public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredNodePoolId_ = b; return b; } else { @@ -4241,6 +4870,8 @@ public java.lang.String getDesiredNodePoolId() { } } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4249,20 +4880,22 @@ public java.lang.String getDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; + * * @param value The desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolId( - java.lang.String value) { + public Builder setDesiredNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredNodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4271,15 +4904,18 @@ public Builder setDesiredNodePoolId(
      * 
* * string desired_node_pool_id = 7; + * * @return This builder for chaining. */ public Builder clearDesiredNodePoolId() { - + desiredNodePoolId_ = getDefaultInstance().getDesiredNodePoolId(); onChanged(); return this; } /** + * + * *
      * The node pool to be upgraded. This field is mandatory if
      * "desired_node_version", "desired_image_family",
@@ -4288,16 +4924,16 @@ public Builder clearDesiredNodePoolId() {
      * 
* * string desired_node_pool_id = 7; + * * @param value The bytes for desiredNodePoolId to set. * @return This builder for chaining. */ - public Builder setDesiredNodePoolIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredNodePoolId_ = value; onChanged(); return this; @@ -4305,19 +4941,21 @@ public Builder setDesiredNodePoolIdBytes( private java.lang.Object desiredImageType_ = ""; /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @return The desiredImageType. */ public java.lang.String getDesiredImageType() { java.lang.Object ref = desiredImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredImageType_ = s; return s; @@ -4326,21 +4964,22 @@ public java.lang.String getDesiredImageType() { } } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @return The bytes for desiredImageType. */ - public com.google.protobuf.ByteString - getDesiredImageTypeBytes() { + public com.google.protobuf.ByteString getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredImageType_ = b; return b; } else { @@ -4348,57 +4987,64 @@ public java.lang.String getDesiredImageType() { } } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @param value The desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageType( - java.lang.String value) { + public Builder setDesiredImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredImageType_ = value; onChanged(); return this; } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @return This builder for chaining. */ public Builder clearDesiredImageType() { - + desiredImageType_ = getDefaultInstance().getDesiredImageType(); onChanged(); return this; } /** + * + * *
      * The desired image type for the node pool.
      * NOTE: Set the "desired_node_pool" field as well.
      * 
* * string desired_image_type = 8; + * * @param value The bytes for desiredImageType to set. * @return This builder for chaining. */ - public Builder setDesiredImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredImageType_ = value; onChanged(); return this; @@ -4406,8 +5052,13 @@ public Builder setDesiredImageTypeBytes( private com.google.container.v1beta1.NodePoolAutoscaling desiredNodePoolAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> desiredNodePoolAutoscalingBuilder_; + com.google.container.v1beta1.NodePoolAutoscaling, + com.google.container.v1beta1.NodePoolAutoscaling.Builder, + com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> + desiredNodePoolAutoscalingBuilder_; /** + * + * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4416,12 +5067,15 @@ public Builder setDesiredImageTypeBytes(
      * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return Whether the desiredNodePoolAutoscaling field is set. */ public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscalingBuilder_ != null || desiredNodePoolAutoscaling_ != null; } /** + * + * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4430,16 +5084,21 @@ public boolean hasDesiredNodePoolAutoscaling() {
      * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return The desiredNodePoolAutoscaling. */ public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { if (desiredNodePoolAutoscalingBuilder_ == null) { - return desiredNodePoolAutoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_; + return desiredNodePoolAutoscaling_ == null + ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() + : desiredNodePoolAutoscaling_; } else { return desiredNodePoolAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4449,7 +5108,8 @@ public com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutosc
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder setDesiredNodePoolAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) {
+    public Builder setDesiredNodePoolAutoscaling(
+        com.google.container.v1beta1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4463,6 +5123,8 @@ public Builder setDesiredNodePoolAutoscaling(com.google.container.v1beta1.NodePo
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4484,6 +5146,8 @@ public Builder setDesiredNodePoolAutoscaling(
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4493,11 +5157,15 @@ public Builder setDesiredNodePoolAutoscaling(
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public Builder mergeDesiredNodePoolAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) {
+    public Builder mergeDesiredNodePoolAutoscaling(
+        com.google.container.v1beta1.NodePoolAutoscaling value) {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
         if (desiredNodePoolAutoscaling_ != null) {
           desiredNodePoolAutoscaling_ =
-            com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(desiredNodePoolAutoscaling_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(
+                      desiredNodePoolAutoscaling_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           desiredNodePoolAutoscaling_ = value;
         }
@@ -4509,6 +5177,8 @@ public Builder mergeDesiredNodePoolAutoscaling(com.google.container.v1beta1.Node
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4530,6 +5200,8 @@ public Builder clearDesiredNodePoolAutoscaling() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4539,12 +5211,15 @@ public Builder clearDesiredNodePoolAutoscaling() {
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1beta1.NodePoolAutoscaling.Builder getDesiredNodePoolAutoscalingBuilder() {
-      
+    public com.google.container.v1beta1.NodePoolAutoscaling.Builder
+        getDesiredNodePoolAutoscalingBuilder() {
+
       onChanged();
       return getDesiredNodePoolAutoscalingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4554,15 +5229,19 @@ public com.google.container.v1beta1.NodePoolAutoscaling.Builder getDesiredNodePo
      *
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
-    public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() {
+    public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder
+        getDesiredNodePoolAutoscalingOrBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ != null) {
         return desiredNodePoolAutoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return desiredNodePoolAutoscaling_ == null ?
-            com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : desiredNodePoolAutoscaling_;
+        return desiredNodePoolAutoscaling_ == null
+            ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance()
+            : desiredNodePoolAutoscaling_;
       }
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for the node pool specified in
      * desired_node_pool_id. If there is only one pool in the
@@ -4573,27 +5252,34 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodeP
      * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> 
+            com.google.container.v1beta1.NodePoolAutoscaling,
+            com.google.container.v1beta1.NodePoolAutoscaling.Builder,
+            com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>
         getDesiredNodePoolAutoscalingFieldBuilder() {
       if (desiredNodePoolAutoscalingBuilder_ == null) {
-        desiredNodePoolAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
-                getDesiredNodePoolAutoscaling(),
-                getParentForChildren(),
-                isClean());
+        desiredNodePoolAutoscalingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodePoolAutoscaling,
+                com.google.container.v1beta1.NodePoolAutoscaling.Builder,
+                com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
+                getDesiredNodePoolAutoscaling(), getParentForChildren(), isClean());
         desiredNodePoolAutoscaling_ = null;
       }
       return desiredNodePoolAutoscalingBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList desiredLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList desiredLocations_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureDesiredLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         desiredLocations_ = new com.google.protobuf.LazyStringArrayList(desiredLocations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4604,13 +5290,15 @@ private void ensureDesiredLocationsIsMutable() {
      * 
* * repeated string desired_locations = 10; + * * @return A list containing the desiredLocations. */ - public com.google.protobuf.ProtocolStringList - getDesiredLocationsList() { + public com.google.protobuf.ProtocolStringList getDesiredLocationsList() { return desiredLocations_.getUnmodifiableView(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4621,12 +5309,15 @@ private void ensureDesiredLocationsIsMutable() {
      * 
* * repeated string desired_locations = 10; + * * @return The count of desiredLocations. */ public int getDesiredLocationsCount() { return desiredLocations_.size(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4637,6 +5328,7 @@ public int getDesiredLocationsCount() {
      * 
* * repeated string desired_locations = 10; + * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ @@ -4644,6 +5336,8 @@ public java.lang.String getDesiredLocations(int index) { return desiredLocations_.get(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4654,14 +5348,16 @@ public java.lang.String getDesiredLocations(int index) {
      * 
* * repeated string desired_locations = 10; + * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - public com.google.protobuf.ByteString - getDesiredLocationsBytes(int index) { + public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { return desiredLocations_.getByteString(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4672,21 +5368,23 @@ public java.lang.String getDesiredLocations(int index) {
      * 
* * repeated string desired_locations = 10; + * * @param index The index to set the value at. * @param value The desiredLocations to set. * @return This builder for chaining. */ - public Builder setDesiredLocations( - int index, java.lang.String value) { + public Builder setDesiredLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4697,20 +5395,22 @@ public Builder setDesiredLocations(
      * 
* * repeated string desired_locations = 10; + * * @param value The desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocations( - java.lang.String value) { + public Builder addDesiredLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDesiredLocationsIsMutable(); + throw new NullPointerException(); + } + ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4721,18 +5421,19 @@ public Builder addDesiredLocations(
      * 
* * repeated string desired_locations = 10; + * * @param values The desiredLocations to add. * @return This builder for chaining. */ - public Builder addAllDesiredLocations( - java.lang.Iterable values) { + public Builder addAllDesiredLocations(java.lang.Iterable values) { ensureDesiredLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, desiredLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, desiredLocations_); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4743,6 +5444,7 @@ public Builder addAllDesiredLocations(
      * 
* * repeated string desired_locations = 10; + * * @return This builder for chaining. */ public Builder clearDesiredLocations() { @@ -4752,6 +5454,8 @@ public Builder clearDesiredLocations() { return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4762,58 +5466,81 @@ public Builder clearDesiredLocations() {
      * 
* * repeated string desired_locations = 10; + * * @param value The bytes of the desiredLocations to add. * @return This builder for chaining. */ - public Builder addDesiredLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addDesiredLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDesiredLocationsIsMutable(); desiredLocations_.add(value); onChanged(); return this; } - private com.google.container.v1beta1.MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig_; + private com.google.container.v1beta1.MasterAuthorizedNetworksConfig + desiredMasterAuthorizedNetworksConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> desiredMasterAuthorizedNetworksConfigBuilder_; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> + desiredMasterAuthorizedNetworksConfigBuilder_; /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ public boolean hasDesiredMasterAuthorizedNetworksConfig() { - return desiredMasterAuthorizedNetworksConfigBuilder_ != null || desiredMasterAuthorizedNetworksConfig_ != null; + return desiredMasterAuthorizedNetworksConfigBuilder_ != null + || desiredMasterAuthorizedNetworksConfig_ != null; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return The desiredMasterAuthorizedNetworksConfig. */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig + getDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - return desiredMasterAuthorizedNetworksConfig_ == null ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null + ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : desiredMasterAuthorizedNetworksConfig_; } else { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public Builder setDesiredMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder setDesiredMasterAuthorizedNetworksConfig( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4827,11 +5554,15 @@ public Builder setDesiredMasterAuthorizedNetworksConfig(com.google.container.v1b return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ public Builder setDesiredMasterAuthorizedNetworksConfig( com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder builderForValue) { @@ -4845,17 +5576,25 @@ public Builder setDesiredMasterAuthorizedNetworksConfig( return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public Builder mergeDesiredMasterAuthorizedNetworksConfig(com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { + public Builder mergeDesiredMasterAuthorizedNetworksConfig( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig value) { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { if (desiredMasterAuthorizedNetworksConfig_ != null) { desiredMasterAuthorizedNetworksConfig_ = - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder(desiredMasterAuthorizedNetworksConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder( + desiredMasterAuthorizedNetworksConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredMasterAuthorizedNetworksConfig_ = value; } @@ -4867,11 +5606,15 @@ public Builder mergeDesiredMasterAuthorizedNetworksConfig(com.google.container.v return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ public Builder clearDesiredMasterAuthorizedNetworksConfig() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { @@ -4885,48 +5628,66 @@ public Builder clearDesiredMasterAuthorizedNetworksConfig() { return this; } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder getDesiredMasterAuthorizedNetworksConfigBuilder() { - + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder + getDesiredMasterAuthorizedNetworksConfigBuilder() { + onChanged(); return getDesiredMasterAuthorizedNetworksConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder + getDesiredMasterAuthorizedNetworksConfigOrBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ != null) { return desiredMasterAuthorizedNetworksConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMasterAuthorizedNetworksConfig_ == null ? - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() : desiredMasterAuthorizedNetworksConfig_; + return desiredMasterAuthorizedNetworksConfig_ == null + ? com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance() + : desiredMasterAuthorizedNetworksConfig_; } } /** + * + * *
      * The desired configuration options for master authorized networks feature.
      * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder> getDesiredMasterAuthorizedNetworksConfigFieldBuilder() { if (desiredMasterAuthorizedNetworksConfigBuilder_ == null) { - desiredMasterAuthorizedNetworksConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( - getDesiredMasterAuthorizedNetworksConfig(), - getParentForChildren(), - isClean()); + desiredMasterAuthorizedNetworksConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder>( + getDesiredMasterAuthorizedNetworksConfig(), getParentForChildren(), isClean()); desiredMasterAuthorizedNetworksConfig_ = null; } return desiredMasterAuthorizedNetworksConfigBuilder_; @@ -4934,41 +5695,63 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getD private com.google.container.v1beta1.PodSecurityPolicyConfig desiredPodSecurityPolicyConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> desiredPodSecurityPolicyConfigBuilder_; + com.google.container.v1beta1.PodSecurityPolicyConfig, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> + desiredPodSecurityPolicyConfigBuilder_; /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * * @return Whether the desiredPodSecurityPolicyConfig field is set. */ public boolean hasDesiredPodSecurityPolicyConfig() { - return desiredPodSecurityPolicyConfigBuilder_ != null || desiredPodSecurityPolicyConfig_ != null; + return desiredPodSecurityPolicyConfigBuilder_ != null + || desiredPodSecurityPolicyConfig_ != null; } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * * @return The desiredPodSecurityPolicyConfig. */ - public com.google.container.v1beta1.PodSecurityPolicyConfig getDesiredPodSecurityPolicyConfig() { + public com.google.container.v1beta1.PodSecurityPolicyConfig + getDesiredPodSecurityPolicyConfig() { if (desiredPodSecurityPolicyConfigBuilder_ == null) { - return desiredPodSecurityPolicyConfig_ == null ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : desiredPodSecurityPolicyConfig_; + return desiredPodSecurityPolicyConfig_ == null + ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() + : desiredPodSecurityPolicyConfig_; } else { return desiredPodSecurityPolicyConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ - public Builder setDesiredPodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder setDesiredPodSecurityPolicyConfig( + com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (desiredPodSecurityPolicyConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4982,11 +5765,15 @@ public Builder setDesiredPodSecurityPolicyConfig(com.google.container.v1beta1.Po return this; } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ public Builder setDesiredPodSecurityPolicyConfig( com.google.container.v1beta1.PodSecurityPolicyConfig.Builder builderForValue) { @@ -5000,17 +5787,25 @@ public Builder setDesiredPodSecurityPolicyConfig( return this; } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ - public Builder mergeDesiredPodSecurityPolicyConfig(com.google.container.v1beta1.PodSecurityPolicyConfig value) { + public Builder mergeDesiredPodSecurityPolicyConfig( + com.google.container.v1beta1.PodSecurityPolicyConfig value) { if (desiredPodSecurityPolicyConfigBuilder_ == null) { if (desiredPodSecurityPolicyConfig_ != null) { desiredPodSecurityPolicyConfig_ = - com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder(desiredPodSecurityPolicyConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder( + desiredPodSecurityPolicyConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredPodSecurityPolicyConfig_ = value; } @@ -5022,11 +5817,15 @@ public Builder mergeDesiredPodSecurityPolicyConfig(com.google.container.v1beta1. return this; } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ public Builder clearDesiredPodSecurityPolicyConfig() { if (desiredPodSecurityPolicyConfigBuilder_ == null) { @@ -5040,48 +5839,66 @@ public Builder clearDesiredPodSecurityPolicyConfig() { return this; } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ - public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder getDesiredPodSecurityPolicyConfigBuilder() { - + public com.google.container.v1beta1.PodSecurityPolicyConfig.Builder + getDesiredPodSecurityPolicyConfigBuilder() { + onChanged(); return getDesiredPodSecurityPolicyConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ - public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getDesiredPodSecurityPolicyConfigOrBuilder() { + public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder + getDesiredPodSecurityPolicyConfigOrBuilder() { if (desiredPodSecurityPolicyConfigBuilder_ != null) { return desiredPodSecurityPolicyConfigBuilder_.getMessageOrBuilder(); } else { - return desiredPodSecurityPolicyConfig_ == null ? - com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() : desiredPodSecurityPolicyConfig_; + return desiredPodSecurityPolicyConfig_ == null + ? com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance() + : desiredPodSecurityPolicyConfig_; } } /** + * + * *
      * The desired configuration options for the PodSecurityPolicy feature.
      * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> + com.google.container.v1beta1.PodSecurityPolicyConfig, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder> getDesiredPodSecurityPolicyConfigFieldBuilder() { if (desiredPodSecurityPolicyConfigBuilder_ == null) { - desiredPodSecurityPolicyConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PodSecurityPolicyConfig, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( - getDesiredPodSecurityPolicyConfig(), - getParentForChildren(), - isClean()); + desiredPodSecurityPolicyConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PodSecurityPolicyConfig, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder, + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder>( + getDesiredPodSecurityPolicyConfig(), getParentForChildren(), isClean()); desiredPodSecurityPolicyConfig_ = null; } return desiredPodSecurityPolicyConfigBuilder_; @@ -5089,41 +5906,55 @@ public com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getDesiredP private com.google.container.v1beta1.ClusterAutoscaling desiredClusterAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> desiredClusterAutoscalingBuilder_; + com.google.container.v1beta1.ClusterAutoscaling, + com.google.container.v1beta1.ClusterAutoscaling.Builder, + com.google.container.v1beta1.ClusterAutoscalingOrBuilder> + desiredClusterAutoscalingBuilder_; /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return Whether the desiredClusterAutoscaling field is set. */ public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscalingBuilder_ != null || desiredClusterAutoscaling_ != null; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return The desiredClusterAutoscaling. */ public com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscaling() { if (desiredClusterAutoscalingBuilder_ == null) { - return desiredClusterAutoscaling_ == null ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null + ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() + : desiredClusterAutoscaling_; } else { return desiredClusterAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public Builder setDesiredClusterAutoscaling(com.google.container.v1beta1.ClusterAutoscaling value) { + public Builder setDesiredClusterAutoscaling( + com.google.container.v1beta1.ClusterAutoscaling value) { if (desiredClusterAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5137,6 +5968,8 @@ public Builder setDesiredClusterAutoscaling(com.google.container.v1beta1.Cluster return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5155,17 +5988,22 @@ public Builder setDesiredClusterAutoscaling( return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public Builder mergeDesiredClusterAutoscaling(com.google.container.v1beta1.ClusterAutoscaling value) { + public Builder mergeDesiredClusterAutoscaling( + com.google.container.v1beta1.ClusterAutoscaling value) { if (desiredClusterAutoscalingBuilder_ == null) { if (desiredClusterAutoscaling_ != null) { desiredClusterAutoscaling_ = - com.google.container.v1beta1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ClusterAutoscaling.newBuilder(desiredClusterAutoscaling_) + .mergeFrom(value) + .buildPartial(); } else { desiredClusterAutoscaling_ = value; } @@ -5177,6 +6015,8 @@ public Builder mergeDesiredClusterAutoscaling(com.google.container.v1beta1.Clust return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5195,33 +6035,42 @@ public Builder clearDesiredClusterAutoscaling() { return this; } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1beta1.ClusterAutoscaling.Builder getDesiredClusterAutoscalingBuilder() { - + public com.google.container.v1beta1.ClusterAutoscaling.Builder + getDesiredClusterAutoscalingBuilder() { + onChanged(); return getDesiredClusterAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ - public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { + public com.google.container.v1beta1.ClusterAutoscalingOrBuilder + getDesiredClusterAutoscalingOrBuilder() { if (desiredClusterAutoscalingBuilder_ != null) { return desiredClusterAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredClusterAutoscaling_ == null ? - com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() : desiredClusterAutoscaling_; + return desiredClusterAutoscaling_ == null + ? com.google.container.v1beta1.ClusterAutoscaling.getDefaultInstance() + : desiredClusterAutoscaling_; } } /** + * + * *
      * Cluster-level autoscaling configuration.
      * 
@@ -5229,14 +6078,17 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredCluste * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder> + com.google.container.v1beta1.ClusterAutoscaling, + com.google.container.v1beta1.ClusterAutoscaling.Builder, + com.google.container.v1beta1.ClusterAutoscalingOrBuilder> getDesiredClusterAutoscalingFieldBuilder() { if (desiredClusterAutoscalingBuilder_ == null) { - desiredClusterAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterAutoscaling, com.google.container.v1beta1.ClusterAutoscaling.Builder, com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( - getDesiredClusterAutoscaling(), - getParentForChildren(), - isClean()); + desiredClusterAutoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterAutoscaling, + com.google.container.v1beta1.ClusterAutoscaling.Builder, + com.google.container.v1beta1.ClusterAutoscalingOrBuilder>( + getDesiredClusterAutoscaling(), getParentForChildren(), isClean()); desiredClusterAutoscaling_ = null; } return desiredClusterAutoscalingBuilder_; @@ -5244,41 +6096,55 @@ public com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredCluste private com.google.container.v1beta1.BinaryAuthorization desiredBinaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> desiredBinaryAuthorizationBuilder_; + com.google.container.v1beta1.BinaryAuthorization, + com.google.container.v1beta1.BinaryAuthorization.Builder, + com.google.container.v1beta1.BinaryAuthorizationOrBuilder> + desiredBinaryAuthorizationBuilder_; /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; + * * @return Whether the desiredBinaryAuthorization field is set. */ public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorizationBuilder_ != null || desiredBinaryAuthorization_ != null; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; + * * @return The desiredBinaryAuthorization. */ public com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthorization() { if (desiredBinaryAuthorizationBuilder_ == null) { - return desiredBinaryAuthorization_ == null ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null + ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() + : desiredBinaryAuthorization_; } else { return desiredBinaryAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder setDesiredBinaryAuthorization(com.google.container.v1beta1.BinaryAuthorization value) { + public Builder setDesiredBinaryAuthorization( + com.google.container.v1beta1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5292,6 +6158,8 @@ public Builder setDesiredBinaryAuthorization(com.google.container.v1beta1.Binary return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -5310,17 +6178,23 @@ public Builder setDesiredBinaryAuthorization( return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public Builder mergeDesiredBinaryAuthorization(com.google.container.v1beta1.BinaryAuthorization value) { + public Builder mergeDesiredBinaryAuthorization( + com.google.container.v1beta1.BinaryAuthorization value) { if (desiredBinaryAuthorizationBuilder_ == null) { if (desiredBinaryAuthorization_ != null) { desiredBinaryAuthorization_ = - com.google.container.v1beta1.BinaryAuthorization.newBuilder(desiredBinaryAuthorization_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.BinaryAuthorization.newBuilder( + desiredBinaryAuthorization_) + .mergeFrom(value) + .buildPartial(); } else { desiredBinaryAuthorization_ = value; } @@ -5332,6 +6206,8 @@ public Builder mergeDesiredBinaryAuthorization(com.google.container.v1beta1.Bina return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -5350,33 +6226,42 @@ public Builder clearDesiredBinaryAuthorization() { return this; } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1beta1.BinaryAuthorization.Builder getDesiredBinaryAuthorizationBuilder() { - + public com.google.container.v1beta1.BinaryAuthorization.Builder + getDesiredBinaryAuthorizationBuilder() { + onChanged(); return getDesiredBinaryAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { + public com.google.container.v1beta1.BinaryAuthorizationOrBuilder + getDesiredBinaryAuthorizationOrBuilder() { if (desiredBinaryAuthorizationBuilder_ != null) { return desiredBinaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return desiredBinaryAuthorization_ == null ? - com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() : desiredBinaryAuthorization_; + return desiredBinaryAuthorization_ == null + ? com.google.container.v1beta1.BinaryAuthorization.getDefaultInstance() + : desiredBinaryAuthorization_; } } /** + * + * *
      * The desired configuration options for the Binary Authorization feature.
      * 
@@ -5384,14 +6269,17 @@ public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinar * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder> + com.google.container.v1beta1.BinaryAuthorization, + com.google.container.v1beta1.BinaryAuthorization.Builder, + com.google.container.v1beta1.BinaryAuthorizationOrBuilder> getDesiredBinaryAuthorizationFieldBuilder() { if (desiredBinaryAuthorizationBuilder_ == null) { - desiredBinaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BinaryAuthorization, com.google.container.v1beta1.BinaryAuthorization.Builder, com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( - getDesiredBinaryAuthorization(), - getParentForChildren(), - isClean()); + desiredBinaryAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BinaryAuthorization, + com.google.container.v1beta1.BinaryAuthorization.Builder, + com.google.container.v1beta1.BinaryAuthorizationOrBuilder>( + getDesiredBinaryAuthorization(), getParentForChildren(), isClean()); desiredBinaryAuthorization_ = null; } return desiredBinaryAuthorizationBuilder_; @@ -5399,6 +6287,8 @@ public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinar private java.lang.Object desiredLoggingService_ = ""; /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5412,13 +6302,13 @@ public com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinar
      * 
* * string desired_logging_service = 19; + * * @return The desiredLoggingService. */ public java.lang.String getDesiredLoggingService() { java.lang.Object ref = desiredLoggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredLoggingService_ = s; return s; @@ -5427,6 +6317,8 @@ public java.lang.String getDesiredLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5440,15 +6332,14 @@ public java.lang.String getDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; + * * @return The bytes for desiredLoggingService. */ - public com.google.protobuf.ByteString - getDesiredLoggingServiceBytes() { + public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredLoggingService_ = b; return b; } else { @@ -5456,6 +6347,8 @@ public java.lang.String getDesiredLoggingService() { } } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5469,20 +6362,22 @@ public java.lang.String getDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; + * * @param value The desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingService( - java.lang.String value) { + public Builder setDesiredLoggingService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredLoggingService_ = value; onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5496,15 +6391,18 @@ public Builder setDesiredLoggingService(
      * 
* * string desired_logging_service = 19; + * * @return This builder for chaining. */ public Builder clearDesiredLoggingService() { - + desiredLoggingService_ = getDefaultInstance().getDesiredLoggingService(); onChanged(); return this; } /** + * + * *
      * The logging service the cluster should use to write logs.
      * Currently available options:
@@ -5518,58 +6416,81 @@ public Builder clearDesiredLoggingService() {
      * 
* * string desired_logging_service = 19; + * * @param value The bytes for desiredLoggingService to set. * @return This builder for chaining. */ - public Builder setDesiredLoggingServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredLoggingServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredLoggingService_ = value; onChanged(); return this; } - private com.google.container.v1beta1.ResourceUsageExportConfig desiredResourceUsageExportConfig_; + private com.google.container.v1beta1.ResourceUsageExportConfig + desiredResourceUsageExportConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> desiredResourceUsageExportConfigBuilder_; + com.google.container.v1beta1.ResourceUsageExportConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.Builder, + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> + desiredResourceUsageExportConfigBuilder_; /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return Whether the desiredResourceUsageExportConfig field is set. */ public boolean hasDesiredResourceUsageExportConfig() { - return desiredResourceUsageExportConfigBuilder_ != null || desiredResourceUsageExportConfig_ != null; + return desiredResourceUsageExportConfigBuilder_ != null + || desiredResourceUsageExportConfig_ != null; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return The desiredResourceUsageExportConfig. */ - public com.google.container.v1beta1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { + public com.google.container.v1beta1.ResourceUsageExportConfig + getDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { - return desiredResourceUsageExportConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() + : desiredResourceUsageExportConfig_; } else { return desiredResourceUsageExportConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public Builder setDesiredResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder setDesiredResourceUsageExportConfig( + com.google.container.v1beta1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5583,11 +6504,15 @@ public Builder setDesiredResourceUsageExportConfig(com.google.container.v1beta1. return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ public Builder setDesiredResourceUsageExportConfig( com.google.container.v1beta1.ResourceUsageExportConfig.Builder builderForValue) { @@ -5601,17 +6526,25 @@ public Builder setDesiredResourceUsageExportConfig( return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public Builder mergeDesiredResourceUsageExportConfig(com.google.container.v1beta1.ResourceUsageExportConfig value) { + public Builder mergeDesiredResourceUsageExportConfig( + com.google.container.v1beta1.ResourceUsageExportConfig value) { if (desiredResourceUsageExportConfigBuilder_ == null) { if (desiredResourceUsageExportConfig_ != null) { desiredResourceUsageExportConfig_ = - com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder(desiredResourceUsageExportConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder( + desiredResourceUsageExportConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredResourceUsageExportConfig_ = value; } @@ -5623,11 +6556,15 @@ public Builder mergeDesiredResourceUsageExportConfig(com.google.container.v1beta return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ public Builder clearDesiredResourceUsageExportConfig() { if (desiredResourceUsageExportConfigBuilder_ == null) { @@ -5641,48 +6578,66 @@ public Builder clearDesiredResourceUsageExportConfig() { return this; } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfig.Builder getDesiredResourceUsageExportConfigBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.Builder + getDesiredResourceUsageExportConfigBuilder() { + onChanged(); return getDesiredResourceUsageExportConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder + getDesiredResourceUsageExportConfigOrBuilder() { if (desiredResourceUsageExportConfigBuilder_ != null) { return desiredResourceUsageExportConfigBuilder_.getMessageOrBuilder(); } else { - return desiredResourceUsageExportConfig_ == null ? - com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() : desiredResourceUsageExportConfig_; + return desiredResourceUsageExportConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance() + : desiredResourceUsageExportConfig_; } } /** + * + * *
      * The desired configuration for exporting resource usage.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.Builder, + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder> getDesiredResourceUsageExportConfigFieldBuilder() { if (desiredResourceUsageExportConfigBuilder_ == null) { - desiredResourceUsageExportConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig, com.google.container.v1beta1.ResourceUsageExportConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( - getDesiredResourceUsageExportConfig(), - getParentForChildren(), - isClean()); + desiredResourceUsageExportConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.Builder, + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder>( + getDesiredResourceUsageExportConfig(), getParentForChildren(), isClean()); desiredResourceUsageExportConfig_ = null; } return desiredResourceUsageExportConfigBuilder_; @@ -5690,41 +6645,59 @@ public com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getDesire private com.google.container.v1beta1.VerticalPodAutoscaling desiredVerticalPodAutoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> desiredVerticalPodAutoscalingBuilder_; + com.google.container.v1beta1.VerticalPodAutoscaling, + com.google.container.v1beta1.VerticalPodAutoscaling.Builder, + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> + desiredVerticalPodAutoscalingBuilder_; /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return Whether the desiredVerticalPodAutoscaling field is set. */ public boolean hasDesiredVerticalPodAutoscaling() { - return desiredVerticalPodAutoscalingBuilder_ != null || desiredVerticalPodAutoscaling_ != null; + return desiredVerticalPodAutoscalingBuilder_ != null + || desiredVerticalPodAutoscaling_ != null; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return The desiredVerticalPodAutoscaling. */ public com.google.container.v1beta1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null + ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() + : desiredVerticalPodAutoscaling_; } else { return desiredVerticalPodAutoscalingBuilder_.getMessage(); } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public Builder setDesiredVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder setDesiredVerticalPodAutoscaling( + com.google.container.v1beta1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5738,11 +6711,14 @@ public Builder setDesiredVerticalPodAutoscaling(com.google.container.v1beta1.Ver return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ public Builder setDesiredVerticalPodAutoscaling( com.google.container.v1beta1.VerticalPodAutoscaling.Builder builderForValue) { @@ -5756,17 +6732,24 @@ public Builder setDesiredVerticalPodAutoscaling( return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public Builder mergeDesiredVerticalPodAutoscaling(com.google.container.v1beta1.VerticalPodAutoscaling value) { + public Builder mergeDesiredVerticalPodAutoscaling( + com.google.container.v1beta1.VerticalPodAutoscaling value) { if (desiredVerticalPodAutoscalingBuilder_ == null) { if (desiredVerticalPodAutoscaling_ != null) { desiredVerticalPodAutoscaling_ = - com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder(desiredVerticalPodAutoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder( + desiredVerticalPodAutoscaling_) + .mergeFrom(value) + .buildPartial(); } else { desiredVerticalPodAutoscaling_ = value; } @@ -5778,11 +6761,14 @@ public Builder mergeDesiredVerticalPodAutoscaling(com.google.container.v1beta1.V return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ public Builder clearDesiredVerticalPodAutoscaling() { if (desiredVerticalPodAutoscalingBuilder_ == null) { @@ -5796,48 +6782,63 @@ public Builder clearDesiredVerticalPodAutoscaling() { return this; } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public com.google.container.v1beta1.VerticalPodAutoscaling.Builder getDesiredVerticalPodAutoscalingBuilder() { - + public com.google.container.v1beta1.VerticalPodAutoscaling.Builder + getDesiredVerticalPodAutoscalingBuilder() { + onChanged(); return getDesiredVerticalPodAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { + public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder + getDesiredVerticalPodAutoscalingOrBuilder() { if (desiredVerticalPodAutoscalingBuilder_ != null) { return desiredVerticalPodAutoscalingBuilder_.getMessageOrBuilder(); } else { - return desiredVerticalPodAutoscaling_ == null ? - com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() : desiredVerticalPodAutoscaling_; + return desiredVerticalPodAutoscaling_ == null + ? com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance() + : desiredVerticalPodAutoscaling_; } } /** + * + * *
      * Cluster-level Vertical Pod Autoscaling configuration.
      * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> + com.google.container.v1beta1.VerticalPodAutoscaling, + com.google.container.v1beta1.VerticalPodAutoscaling.Builder, + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder> getDesiredVerticalPodAutoscalingFieldBuilder() { if (desiredVerticalPodAutoscalingBuilder_ == null) { - desiredVerticalPodAutoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VerticalPodAutoscaling, com.google.container.v1beta1.VerticalPodAutoscaling.Builder, com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( - getDesiredVerticalPodAutoscaling(), - getParentForChildren(), - isClean()); + desiredVerticalPodAutoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VerticalPodAutoscaling, + com.google.container.v1beta1.VerticalPodAutoscaling.Builder, + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder>( + getDesiredVerticalPodAutoscaling(), getParentForChildren(), isClean()); desiredVerticalPodAutoscaling_ = null; } return desiredVerticalPodAutoscalingBuilder_; @@ -5845,41 +6846,58 @@ public com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getDesiredVe private com.google.container.v1beta1.PrivateClusterConfig desiredPrivateClusterConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> desiredPrivateClusterConfigBuilder_; + com.google.container.v1beta1.PrivateClusterConfig, + com.google.container.v1beta1.PrivateClusterConfig.Builder, + com.google.container.v1beta1.PrivateClusterConfigOrBuilder> + desiredPrivateClusterConfigBuilder_; /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * + * * @return Whether the desiredPrivateClusterConfig field is set. */ public boolean hasDesiredPrivateClusterConfig() { return desiredPrivateClusterConfigBuilder_ != null || desiredPrivateClusterConfig_ != null; } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * + * * @return The desiredPrivateClusterConfig. */ public com.google.container.v1beta1.PrivateClusterConfig getDesiredPrivateClusterConfig() { if (desiredPrivateClusterConfigBuilder_ == null) { - return desiredPrivateClusterConfig_ == null ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null + ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() + : desiredPrivateClusterConfig_; } else { return desiredPrivateClusterConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ - public Builder setDesiredPrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder setDesiredPrivateClusterConfig( + com.google.container.v1beta1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5893,11 +6911,14 @@ public Builder setDesiredPrivateClusterConfig(com.google.container.v1beta1.Priva return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ public Builder setDesiredPrivateClusterConfig( com.google.container.v1beta1.PrivateClusterConfig.Builder builderForValue) { @@ -5911,17 +6932,24 @@ public Builder setDesiredPrivateClusterConfig( return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ - public Builder mergeDesiredPrivateClusterConfig(com.google.container.v1beta1.PrivateClusterConfig value) { + public Builder mergeDesiredPrivateClusterConfig( + com.google.container.v1beta1.PrivateClusterConfig value) { if (desiredPrivateClusterConfigBuilder_ == null) { if (desiredPrivateClusterConfig_ != null) { desiredPrivateClusterConfig_ = - com.google.container.v1beta1.PrivateClusterConfig.newBuilder(desiredPrivateClusterConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.PrivateClusterConfig.newBuilder( + desiredPrivateClusterConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredPrivateClusterConfig_ = value; } @@ -5933,11 +6961,14 @@ public Builder mergeDesiredPrivateClusterConfig(com.google.container.v1beta1.Pri return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ public Builder clearDesiredPrivateClusterConfig() { if (desiredPrivateClusterConfigBuilder_ == null) { @@ -5951,90 +6982,128 @@ public Builder clearDesiredPrivateClusterConfig() { return this; } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ - public com.google.container.v1beta1.PrivateClusterConfig.Builder getDesiredPrivateClusterConfigBuilder() { - + public com.google.container.v1beta1.PrivateClusterConfig.Builder + getDesiredPrivateClusterConfigBuilder() { + onChanged(); return getDesiredPrivateClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ - public com.google.container.v1beta1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterConfigOrBuilder + getDesiredPrivateClusterConfigOrBuilder() { if (desiredPrivateClusterConfigBuilder_ != null) { return desiredPrivateClusterConfigBuilder_.getMessageOrBuilder(); } else { - return desiredPrivateClusterConfig_ == null ? - com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() : desiredPrivateClusterConfig_; + return desiredPrivateClusterConfig_ == null + ? com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance() + : desiredPrivateClusterConfig_; } } /** + * + * *
      * The desired private cluster configuration.
      * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder> + com.google.container.v1beta1.PrivateClusterConfig, + com.google.container.v1beta1.PrivateClusterConfig.Builder, + com.google.container.v1beta1.PrivateClusterConfigOrBuilder> getDesiredPrivateClusterConfigFieldBuilder() { if (desiredPrivateClusterConfigBuilder_ == null) { - desiredPrivateClusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterConfig, com.google.container.v1beta1.PrivateClusterConfig.Builder, com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( - getDesiredPrivateClusterConfig(), - getParentForChildren(), - isClean()); + desiredPrivateClusterConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivateClusterConfig, + com.google.container.v1beta1.PrivateClusterConfig.Builder, + com.google.container.v1beta1.PrivateClusterConfigOrBuilder>( + getDesiredPrivateClusterConfig(), getParentForChildren(), isClean()); desiredPrivateClusterConfig_ = null; } return desiredPrivateClusterConfigBuilder_; } - private com.google.container.v1beta1.IntraNodeVisibilityConfig desiredIntraNodeVisibilityConfig_; + private com.google.container.v1beta1.IntraNodeVisibilityConfig + desiredIntraNodeVisibilityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IntraNodeVisibilityConfig, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> desiredIntraNodeVisibilityConfigBuilder_; + com.google.container.v1beta1.IntraNodeVisibilityConfig, + com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, + com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> + desiredIntraNodeVisibilityConfigBuilder_; /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ public boolean hasDesiredIntraNodeVisibilityConfig() { - return desiredIntraNodeVisibilityConfigBuilder_ != null || desiredIntraNodeVisibilityConfig_ != null; + return desiredIntraNodeVisibilityConfigBuilder_ != null + || desiredIntraNodeVisibilityConfig_ != null; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return The desiredIntraNodeVisibilityConfig. */ - public com.google.container.v1beta1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { + public com.google.container.v1beta1.IntraNodeVisibilityConfig + getDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null + ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() + : desiredIntraNodeVisibilityConfig_; } else { return desiredIntraNodeVisibilityConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public Builder setDesiredIntraNodeVisibilityConfig(com.google.container.v1beta1.IntraNodeVisibilityConfig value) { + public Builder setDesiredIntraNodeVisibilityConfig( + com.google.container.v1beta1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6048,11 +7117,15 @@ public Builder setDesiredIntraNodeVisibilityConfig(com.google.container.v1beta1. return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ public Builder setDesiredIntraNodeVisibilityConfig( com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder builderForValue) { @@ -6066,17 +7139,25 @@ public Builder setDesiredIntraNodeVisibilityConfig( return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public Builder mergeDesiredIntraNodeVisibilityConfig(com.google.container.v1beta1.IntraNodeVisibilityConfig value) { + public Builder mergeDesiredIntraNodeVisibilityConfig( + com.google.container.v1beta1.IntraNodeVisibilityConfig value) { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { if (desiredIntraNodeVisibilityConfig_ != null) { desiredIntraNodeVisibilityConfig_ = - com.google.container.v1beta1.IntraNodeVisibilityConfig.newBuilder(desiredIntraNodeVisibilityConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.IntraNodeVisibilityConfig.newBuilder( + desiredIntraNodeVisibilityConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredIntraNodeVisibilityConfig_ = value; } @@ -6088,11 +7169,15 @@ public Builder mergeDesiredIntraNodeVisibilityConfig(com.google.container.v1beta return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ public Builder clearDesiredIntraNodeVisibilityConfig() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { @@ -6106,48 +7191,66 @@ public Builder clearDesiredIntraNodeVisibilityConfig() { return this; } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder getDesiredIntraNodeVisibilityConfigBuilder() { - + public com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder + getDesiredIntraNodeVisibilityConfigBuilder() { + onChanged(); return getDesiredIntraNodeVisibilityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { + public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder + getDesiredIntraNodeVisibilityConfigOrBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ != null) { return desiredIntraNodeVisibilityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIntraNodeVisibilityConfig_ == null ? - com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() : desiredIntraNodeVisibilityConfig_; + return desiredIntraNodeVisibilityConfig_ == null + ? com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance() + : desiredIntraNodeVisibilityConfig_; } } /** + * + * *
      * The desired config of Intra-node visibility.
      * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IntraNodeVisibilityConfig, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> + com.google.container.v1beta1.IntraNodeVisibilityConfig, + com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, + com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder> getDesiredIntraNodeVisibilityConfigFieldBuilder() { if (desiredIntraNodeVisibilityConfigBuilder_ == null) { - desiredIntraNodeVisibilityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IntraNodeVisibilityConfig, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder>( - getDesiredIntraNodeVisibilityConfig(), - getParentForChildren(), - isClean()); + desiredIntraNodeVisibilityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IntraNodeVisibilityConfig, + com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder, + com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder>( + getDesiredIntraNodeVisibilityConfig(), getParentForChildren(), isClean()); desiredIntraNodeVisibilityConfig_ = null; } return desiredIntraNodeVisibilityConfigBuilder_; @@ -6155,41 +7258,55 @@ public com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder getDesire private com.google.container.v1beta1.DefaultSnatStatus desiredDefaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> desiredDefaultSnatStatusBuilder_; + com.google.container.v1beta1.DefaultSnatStatus, + com.google.container.v1beta1.DefaultSnatStatus.Builder, + com.google.container.v1beta1.DefaultSnatStatusOrBuilder> + desiredDefaultSnatStatusBuilder_; /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return Whether the desiredDefaultSnatStatus field is set. */ public boolean hasDesiredDefaultSnatStatus() { return desiredDefaultSnatStatusBuilder_ != null || desiredDefaultSnatStatus_ != null; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return The desiredDefaultSnatStatus. */ public com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatus() { if (desiredDefaultSnatStatusBuilder_ == null) { - return desiredDefaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null + ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() + : desiredDefaultSnatStatus_; } else { return desiredDefaultSnatStatusBuilder_.getMessage(); } } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public Builder setDesiredDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatStatus value) { + public Builder setDesiredDefaultSnatStatus( + com.google.container.v1beta1.DefaultSnatStatus value) { if (desiredDefaultSnatStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6203,6 +7320,8 @@ public Builder setDesiredDefaultSnatStatus(com.google.container.v1beta1.DefaultS return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6221,17 +7340,22 @@ public Builder setDesiredDefaultSnatStatus( return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public Builder mergeDesiredDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatStatus value) { + public Builder mergeDesiredDefaultSnatStatus( + com.google.container.v1beta1.DefaultSnatStatus value) { if (desiredDefaultSnatStatusBuilder_ == null) { if (desiredDefaultSnatStatus_ != null) { desiredDefaultSnatStatus_ = - com.google.container.v1beta1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.DefaultSnatStatus.newBuilder(desiredDefaultSnatStatus_) + .mergeFrom(value) + .buildPartial(); } else { desiredDefaultSnatStatus_ = value; } @@ -6243,6 +7367,8 @@ public Builder mergeDesiredDefaultSnatStatus(com.google.container.v1beta1.Defaul return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6261,33 +7387,42 @@ public Builder clearDesiredDefaultSnatStatus() { return this; } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public com.google.container.v1beta1.DefaultSnatStatus.Builder getDesiredDefaultSnatStatusBuilder() { - + public com.google.container.v1beta1.DefaultSnatStatus.Builder + getDesiredDefaultSnatStatusBuilder() { + onChanged(); return getDesiredDefaultSnatStatusFieldBuilder().getBuilder(); } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ - public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder() { + public com.google.container.v1beta1.DefaultSnatStatusOrBuilder + getDesiredDefaultSnatStatusOrBuilder() { if (desiredDefaultSnatStatusBuilder_ != null) { return desiredDefaultSnatStatusBuilder_.getMessageOrBuilder(); } else { - return desiredDefaultSnatStatus_ == null ? - com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : desiredDefaultSnatStatus_; + return desiredDefaultSnatStatus_ == null + ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() + : desiredDefaultSnatStatus_; } } /** + * + * *
      * The desired status of whether to disable default sNAT for this cluster.
      * 
@@ -6295,14 +7430,17 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefault * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> + com.google.container.v1beta1.DefaultSnatStatus, + com.google.container.v1beta1.DefaultSnatStatus.Builder, + com.google.container.v1beta1.DefaultSnatStatusOrBuilder> getDesiredDefaultSnatStatusFieldBuilder() { if (desiredDefaultSnatStatusBuilder_ == null) { - desiredDefaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder>( - getDesiredDefaultSnatStatus(), - getParentForChildren(), - isClean()); + desiredDefaultSnatStatusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DefaultSnatStatus, + com.google.container.v1beta1.DefaultSnatStatus.Builder, + com.google.container.v1beta1.DefaultSnatStatusOrBuilder>( + getDesiredDefaultSnatStatus(), getParentForChildren(), isClean()); desiredDefaultSnatStatus_ = null; } return desiredDefaultSnatStatusBuilder_; @@ -6310,34 +7448,47 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefault private com.google.container.v1beta1.ClusterTelemetry desiredClusterTelemetry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> desiredClusterTelemetryBuilder_; + com.google.container.v1beta1.ClusterTelemetry, + com.google.container.v1beta1.ClusterTelemetry.Builder, + com.google.container.v1beta1.ClusterTelemetryOrBuilder> + desiredClusterTelemetryBuilder_; /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; + * * @return Whether the desiredClusterTelemetry field is set. */ public boolean hasDesiredClusterTelemetry() { return desiredClusterTelemetryBuilder_ != null || desiredClusterTelemetry_ != null; } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; + * * @return The desiredClusterTelemetry. */ public com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry() { if (desiredClusterTelemetryBuilder_ == null) { - return desiredClusterTelemetry_ == null ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : desiredClusterTelemetry_; + return desiredClusterTelemetry_ == null + ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() + : desiredClusterTelemetry_; } else { return desiredClusterTelemetryBuilder_.getMessage(); } } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
@@ -6358,6 +7509,8 @@ public Builder setDesiredClusterTelemetry(com.google.container.v1beta1.ClusterTe return this; } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
@@ -6376,17 +7529,22 @@ public Builder setDesiredClusterTelemetry( return this; } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ - public Builder mergeDesiredClusterTelemetry(com.google.container.v1beta1.ClusterTelemetry value) { + public Builder mergeDesiredClusterTelemetry( + com.google.container.v1beta1.ClusterTelemetry value) { if (desiredClusterTelemetryBuilder_ == null) { if (desiredClusterTelemetry_ != null) { desiredClusterTelemetry_ = - com.google.container.v1beta1.ClusterTelemetry.newBuilder(desiredClusterTelemetry_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ClusterTelemetry.newBuilder(desiredClusterTelemetry_) + .mergeFrom(value) + .buildPartial(); } else { desiredClusterTelemetry_ = value; } @@ -6398,6 +7556,8 @@ public Builder mergeDesiredClusterTelemetry(com.google.container.v1beta1.Cluster return this; } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
@@ -6416,33 +7576,42 @@ public Builder clearDesiredClusterTelemetry() { return this; } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ - public com.google.container.v1beta1.ClusterTelemetry.Builder getDesiredClusterTelemetryBuilder() { - + public com.google.container.v1beta1.ClusterTelemetry.Builder + getDesiredClusterTelemetryBuilder() { + onChanged(); return getDesiredClusterTelemetryFieldBuilder().getBuilder(); } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ - public com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterTelemetryOrBuilder() { + public com.google.container.v1beta1.ClusterTelemetryOrBuilder + getDesiredClusterTelemetryOrBuilder() { if (desiredClusterTelemetryBuilder_ != null) { return desiredClusterTelemetryBuilder_.getMessageOrBuilder(); } else { - return desiredClusterTelemetry_ == null ? - com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() : desiredClusterTelemetry_; + return desiredClusterTelemetry_ == null + ? com.google.container.v1beta1.ClusterTelemetry.getDefaultInstance() + : desiredClusterTelemetry_; } } /** + * + * *
      * The desired telemetry integration for the cluster.
      * 
@@ -6450,14 +7619,17 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterT * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder> + com.google.container.v1beta1.ClusterTelemetry, + com.google.container.v1beta1.ClusterTelemetry.Builder, + com.google.container.v1beta1.ClusterTelemetryOrBuilder> getDesiredClusterTelemetryFieldBuilder() { if (desiredClusterTelemetryBuilder_ == null) { - desiredClusterTelemetryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterTelemetry, com.google.container.v1beta1.ClusterTelemetry.Builder, com.google.container.v1beta1.ClusterTelemetryOrBuilder>( - getDesiredClusterTelemetry(), - getParentForChildren(), - isClean()); + desiredClusterTelemetryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterTelemetry, + com.google.container.v1beta1.ClusterTelemetry.Builder, + com.google.container.v1beta1.ClusterTelemetryOrBuilder>( + getDesiredClusterTelemetry(), getParentForChildren(), isClean()); desiredClusterTelemetry_ = null; } return desiredClusterTelemetryBuilder_; @@ -6465,34 +7637,47 @@ public com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterT private com.google.container.v1beta1.ReleaseChannel desiredReleaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> desiredReleaseChannelBuilder_; + com.google.container.v1beta1.ReleaseChannel, + com.google.container.v1beta1.ReleaseChannel.Builder, + com.google.container.v1beta1.ReleaseChannelOrBuilder> + desiredReleaseChannelBuilder_; /** + * + * *
      * The desired release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; + * * @return Whether the desiredReleaseChannel field is set. */ public boolean hasDesiredReleaseChannel() { return desiredReleaseChannelBuilder_ != null || desiredReleaseChannel_ != null; } /** + * + * *
      * The desired release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; + * * @return The desiredReleaseChannel. */ public com.google.container.v1beta1.ReleaseChannel getDesiredReleaseChannel() { if (desiredReleaseChannelBuilder_ == null) { - return desiredReleaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; + return desiredReleaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : desiredReleaseChannel_; } else { return desiredReleaseChannelBuilder_.getMessage(); } } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6513,6 +7698,8 @@ public Builder setDesiredReleaseChannel(com.google.container.v1beta1.ReleaseChan return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6531,6 +7718,8 @@ public Builder setDesiredReleaseChannel( return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6541,7 +7730,9 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1beta1.ReleaseCh if (desiredReleaseChannelBuilder_ == null) { if (desiredReleaseChannel_ != null) { desiredReleaseChannel_ = - com.google.container.v1beta1.ReleaseChannel.newBuilder(desiredReleaseChannel_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ReleaseChannel.newBuilder(desiredReleaseChannel_) + .mergeFrom(value) + .buildPartial(); } else { desiredReleaseChannel_ = value; } @@ -6553,6 +7744,8 @@ public Builder mergeDesiredReleaseChannel(com.google.container.v1beta1.ReleaseCh return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6571,6 +7764,8 @@ public Builder clearDesiredReleaseChannel() { return this; } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6578,26 +7773,32 @@ public Builder clearDesiredReleaseChannel() { * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; */ public com.google.container.v1beta1.ReleaseChannel.Builder getDesiredReleaseChannelBuilder() { - + onChanged(); return getDesiredReleaseChannelFieldBuilder().getBuilder(); } /** + * + * *
      * The desired release channel configuration.
      * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; */ - public com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder() { + public com.google.container.v1beta1.ReleaseChannelOrBuilder + getDesiredReleaseChannelOrBuilder() { if (desiredReleaseChannelBuilder_ != null) { return desiredReleaseChannelBuilder_.getMessageOrBuilder(); } else { - return desiredReleaseChannel_ == null ? - com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : desiredReleaseChannel_; + return desiredReleaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : desiredReleaseChannel_; } } /** + * + * *
      * The desired release channel configuration.
      * 
@@ -6605,14 +7806,17 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseCha * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> + com.google.container.v1beta1.ReleaseChannel, + com.google.container.v1beta1.ReleaseChannel.Builder, + com.google.container.v1beta1.ReleaseChannelOrBuilder> getDesiredReleaseChannelFieldBuilder() { if (desiredReleaseChannelBuilder_ == null) { - desiredReleaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder>( - getDesiredReleaseChannel(), - getParentForChildren(), - isClean()); + desiredReleaseChannelBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ReleaseChannel, + com.google.container.v1beta1.ReleaseChannel.Builder, + com.google.container.v1beta1.ReleaseChannelOrBuilder>( + getDesiredReleaseChannel(), getParentForChildren(), isClean()); desiredReleaseChannel_ = null; } return desiredReleaseChannelBuilder_; @@ -6620,34 +7824,47 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseCha private com.google.container.v1beta1.TpuConfig desiredTpuConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> desiredTpuConfigBuilder_; + com.google.container.v1beta1.TpuConfig, + com.google.container.v1beta1.TpuConfig.Builder, + com.google.container.v1beta1.TpuConfigOrBuilder> + desiredTpuConfigBuilder_; /** + * + * *
      * The desired Cloud TPU configuration.
      * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; + * * @return Whether the desiredTpuConfig field is set. */ public boolean hasDesiredTpuConfig() { return desiredTpuConfigBuilder_ != null || desiredTpuConfig_ != null; } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; + * * @return The desiredTpuConfig. */ public com.google.container.v1beta1.TpuConfig getDesiredTpuConfig() { if (desiredTpuConfigBuilder_ == null) { - return desiredTpuConfig_ == null ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() : desiredTpuConfig_; + return desiredTpuConfig_ == null + ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() + : desiredTpuConfig_; } else { return desiredTpuConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
@@ -6668,6 +7885,8 @@ public Builder setDesiredTpuConfig(com.google.container.v1beta1.TpuConfig value) return this; } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
@@ -6686,6 +7905,8 @@ public Builder setDesiredTpuConfig( return this; } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
@@ -6696,7 +7917,9 @@ public Builder mergeDesiredTpuConfig(com.google.container.v1beta1.TpuConfig valu if (desiredTpuConfigBuilder_ == null) { if (desiredTpuConfig_ != null) { desiredTpuConfig_ = - com.google.container.v1beta1.TpuConfig.newBuilder(desiredTpuConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.TpuConfig.newBuilder(desiredTpuConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredTpuConfig_ = value; } @@ -6708,6 +7931,8 @@ public Builder mergeDesiredTpuConfig(com.google.container.v1beta1.TpuConfig valu return this; } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
@@ -6726,6 +7951,8 @@ public Builder clearDesiredTpuConfig() { return this; } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
@@ -6733,11 +7960,13 @@ public Builder clearDesiredTpuConfig() { * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; */ public com.google.container.v1beta1.TpuConfig.Builder getDesiredTpuConfigBuilder() { - + onChanged(); return getDesiredTpuConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
@@ -6748,11 +7977,14 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil if (desiredTpuConfigBuilder_ != null) { return desiredTpuConfigBuilder_.getMessageOrBuilder(); } else { - return desiredTpuConfig_ == null ? - com.google.container.v1beta1.TpuConfig.getDefaultInstance() : desiredTpuConfig_; + return desiredTpuConfig_ == null + ? com.google.container.v1beta1.TpuConfig.getDefaultInstance() + : desiredTpuConfig_; } } /** + * + * *
      * The desired Cloud TPU configuration.
      * 
@@ -6760,14 +7992,17 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder> + com.google.container.v1beta1.TpuConfig, + com.google.container.v1beta1.TpuConfig.Builder, + com.google.container.v1beta1.TpuConfigOrBuilder> getDesiredTpuConfigFieldBuilder() { if (desiredTpuConfigBuilder_ == null) { - desiredTpuConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TpuConfig, com.google.container.v1beta1.TpuConfig.Builder, com.google.container.v1beta1.TpuConfigOrBuilder>( - getDesiredTpuConfig(), - getParentForChildren(), - isClean()); + desiredTpuConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.TpuConfig, + com.google.container.v1beta1.TpuConfig.Builder, + com.google.container.v1beta1.TpuConfigOrBuilder>( + getDesiredTpuConfig(), getParentForChildren(), isClean()); desiredTpuConfig_ = null; } return desiredTpuConfigBuilder_; @@ -6775,41 +8010,58 @@ public com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuil private com.google.container.v1beta1.ILBSubsettingConfig desiredL4IlbSubsettingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ILBSubsettingConfig, com.google.container.v1beta1.ILBSubsettingConfig.Builder, com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> desiredL4IlbSubsettingConfigBuilder_; + com.google.container.v1beta1.ILBSubsettingConfig, + com.google.container.v1beta1.ILBSubsettingConfig.Builder, + com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> + desiredL4IlbSubsettingConfigBuilder_; /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * + * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ public boolean hasDesiredL4IlbSubsettingConfig() { return desiredL4IlbSubsettingConfigBuilder_ != null || desiredL4IlbSubsettingConfig_ != null; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * + * * @return The desiredL4ilbSubsettingConfig. */ public com.google.container.v1beta1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - return desiredL4IlbSubsettingConfig_ == null ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null + ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() + : desiredL4IlbSubsettingConfig_; } else { return desiredL4IlbSubsettingConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ - public Builder setDesiredL4IlbSubsettingConfig(com.google.container.v1beta1.ILBSubsettingConfig value) { + public Builder setDesiredL4IlbSubsettingConfig( + com.google.container.v1beta1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6823,11 +8075,14 @@ public Builder setDesiredL4IlbSubsettingConfig(com.google.container.v1beta1.ILBS return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ public Builder setDesiredL4IlbSubsettingConfig( com.google.container.v1beta1.ILBSubsettingConfig.Builder builderForValue) { @@ -6841,17 +8096,24 @@ public Builder setDesiredL4IlbSubsettingConfig( return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ - public Builder mergeDesiredL4IlbSubsettingConfig(com.google.container.v1beta1.ILBSubsettingConfig value) { + public Builder mergeDesiredL4IlbSubsettingConfig( + com.google.container.v1beta1.ILBSubsettingConfig value) { if (desiredL4IlbSubsettingConfigBuilder_ == null) { if (desiredL4IlbSubsettingConfig_ != null) { desiredL4IlbSubsettingConfig_ = - com.google.container.v1beta1.ILBSubsettingConfig.newBuilder(desiredL4IlbSubsettingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ILBSubsettingConfig.newBuilder( + desiredL4IlbSubsettingConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredL4IlbSubsettingConfig_ = value; } @@ -6863,11 +8125,14 @@ public Builder mergeDesiredL4IlbSubsettingConfig(com.google.container.v1beta1.IL return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ public Builder clearDesiredL4IlbSubsettingConfig() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { @@ -6881,48 +8146,63 @@ public Builder clearDesiredL4IlbSubsettingConfig() { return this; } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ - public com.google.container.v1beta1.ILBSubsettingConfig.Builder getDesiredL4IlbSubsettingConfigBuilder() { - + public com.google.container.v1beta1.ILBSubsettingConfig.Builder + getDesiredL4IlbSubsettingConfigBuilder() { + onChanged(); return getDesiredL4IlbSubsettingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ - public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder() { + public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder + getDesiredL4IlbSubsettingConfigOrBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ != null) { return desiredL4IlbSubsettingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredL4IlbSubsettingConfig_ == null ? - com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() : desiredL4IlbSubsettingConfig_; + return desiredL4IlbSubsettingConfig_ == null + ? com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance() + : desiredL4IlbSubsettingConfig_; } } /** + * + * *
      * The desired L4 Internal Load Balancer Subsetting configuration.
      * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ILBSubsettingConfig, com.google.container.v1beta1.ILBSubsettingConfig.Builder, com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> + com.google.container.v1beta1.ILBSubsettingConfig, + com.google.container.v1beta1.ILBSubsettingConfig.Builder, + com.google.container.v1beta1.ILBSubsettingConfigOrBuilder> getDesiredL4IlbSubsettingConfigFieldBuilder() { if (desiredL4IlbSubsettingConfigBuilder_ == null) { - desiredL4IlbSubsettingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ILBSubsettingConfig, com.google.container.v1beta1.ILBSubsettingConfig.Builder, com.google.container.v1beta1.ILBSubsettingConfigOrBuilder>( - getDesiredL4IlbSubsettingConfig(), - getParentForChildren(), - isClean()); + desiredL4IlbSubsettingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ILBSubsettingConfig, + com.google.container.v1beta1.ILBSubsettingConfig.Builder, + com.google.container.v1beta1.ILBSubsettingConfigOrBuilder>( + getDesiredL4IlbSubsettingConfig(), getParentForChildren(), isClean()); desiredL4IlbSubsettingConfig_ = null; } return desiredL4IlbSubsettingConfigBuilder_; @@ -6930,51 +8210,65 @@ public com.google.container.v1beta1.ILBSubsettingConfigOrBuilder getDesiredL4Ilb private int desiredDatapathProvider_ = 0; /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @return The enum numeric value on the wire for desiredDatapathProvider. */ - @java.lang.Override public int getDesiredDatapathProviderValue() { + @java.lang.Override + public int getDesiredDatapathProviderValue() { return desiredDatapathProvider_; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @param value The enum numeric value on the wire for desiredDatapathProvider to set. * @return This builder for chaining. */ public Builder setDesiredDatapathProviderValue(int value) { - + desiredDatapathProvider_ = value; onChanged(); return this; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @return The desiredDatapathProvider. */ @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); + com.google.container.v1beta1.DatapathProvider result = + com.google.container.v1beta1.DatapathProvider.valueOf(desiredDatapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @param value The desiredDatapathProvider to set. * @return This builder for chaining. */ @@ -6982,21 +8276,24 @@ public Builder setDesiredDatapathProvider(com.google.container.v1beta1.DatapathP if (value == null) { throw new NullPointerException(); } - + desiredDatapathProvider_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired datapath provider for the cluster.
      * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @return This builder for chaining. */ public Builder clearDesiredDatapathProvider() { - + desiredDatapathProvider_ = 0; onChanged(); return this; @@ -7004,73 +8301,105 @@ public Builder clearDesiredDatapathProvider() { private int desiredPrivateIpv6GoogleAccess_ = 0; /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ - @java.lang.Override public int getDesiredPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getDesiredPrivateIpv6GoogleAccessValue() { return desiredPrivateIpv6GoogleAccess_; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @param value The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setDesiredPrivateIpv6GoogleAccessValue(int value) { - + desiredPrivateIpv6GoogleAccess_ = value; onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The desiredPrivateIpv6GoogleAccess. */ @java.lang.Override - public com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess() { + public com.google.container.v1beta1.PrivateIPv6GoogleAccess + getDesiredPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(desiredPrivateIpv6GoogleAccess_); - return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = + com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf( + desiredPrivateIpv6GoogleAccess_); + return result == null + ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED + : result; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @param value The desiredPrivateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setDesiredPrivateIpv6GoogleAccess(com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { + public Builder setDesiredPrivateIpv6GoogleAccess( + com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + desiredPrivateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return This builder for chaining. */ public Builder clearDesiredPrivateIpv6GoogleAccess() { - + desiredPrivateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -7078,41 +8407,55 @@ public Builder clearDesiredPrivateIpv6GoogleAccess() { private com.google.container.v1beta1.NotificationConfig desiredNotificationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> desiredNotificationConfigBuilder_; + com.google.container.v1beta1.NotificationConfig, + com.google.container.v1beta1.NotificationConfig.Builder, + com.google.container.v1beta1.NotificationConfigOrBuilder> + desiredNotificationConfigBuilder_; /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; + * * @return Whether the desiredNotificationConfig field is set. */ public boolean hasDesiredNotificationConfig() { return desiredNotificationConfigBuilder_ != null || desiredNotificationConfig_ != null; } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; + * * @return The desiredNotificationConfig. */ public com.google.container.v1beta1.NotificationConfig getDesiredNotificationConfig() { if (desiredNotificationConfigBuilder_ == null) { - return desiredNotificationConfig_ == null ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; + return desiredNotificationConfig_ == null + ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() + : desiredNotificationConfig_; } else { return desiredNotificationConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public Builder setDesiredNotificationConfig(com.google.container.v1beta1.NotificationConfig value) { + public Builder setDesiredNotificationConfig( + com.google.container.v1beta1.NotificationConfig value) { if (desiredNotificationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7126,6 +8469,8 @@ public Builder setDesiredNotificationConfig(com.google.container.v1beta1.Notific return this; } /** + * + * *
      * The desired notification configuration.
      * 
@@ -7144,17 +8489,22 @@ public Builder setDesiredNotificationConfig( return this; } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public Builder mergeDesiredNotificationConfig(com.google.container.v1beta1.NotificationConfig value) { + public Builder mergeDesiredNotificationConfig( + com.google.container.v1beta1.NotificationConfig value) { if (desiredNotificationConfigBuilder_ == null) { if (desiredNotificationConfig_ != null) { desiredNotificationConfig_ = - com.google.container.v1beta1.NotificationConfig.newBuilder(desiredNotificationConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NotificationConfig.newBuilder(desiredNotificationConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredNotificationConfig_ = value; } @@ -7166,6 +8516,8 @@ public Builder mergeDesiredNotificationConfig(com.google.container.v1beta1.Notif return this; } /** + * + * *
      * The desired notification configuration.
      * 
@@ -7184,33 +8536,42 @@ public Builder clearDesiredNotificationConfig() { return this; } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1beta1.NotificationConfig.Builder getDesiredNotificationConfigBuilder() { - + public com.google.container.v1beta1.NotificationConfig.Builder + getDesiredNotificationConfigBuilder() { + onChanged(); return getDesiredNotificationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired notification configuration.
      * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ - public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder() { + public com.google.container.v1beta1.NotificationConfigOrBuilder + getDesiredNotificationConfigOrBuilder() { if (desiredNotificationConfigBuilder_ != null) { return desiredNotificationConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNotificationConfig_ == null ? - com.google.container.v1beta1.NotificationConfig.getDefaultInstance() : desiredNotificationConfig_; + return desiredNotificationConfig_ == null + ? com.google.container.v1beta1.NotificationConfig.getDefaultInstance() + : desiredNotificationConfig_; } } /** + * + * *
      * The desired notification configuration.
      * 
@@ -7218,14 +8579,17 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotifi * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder> + com.google.container.v1beta1.NotificationConfig, + com.google.container.v1beta1.NotificationConfig.Builder, + com.google.container.v1beta1.NotificationConfigOrBuilder> getDesiredNotificationConfigFieldBuilder() { if (desiredNotificationConfigBuilder_ == null) { - desiredNotificationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig, com.google.container.v1beta1.NotificationConfig.Builder, com.google.container.v1beta1.NotificationConfigOrBuilder>( - getDesiredNotificationConfig(), - getParentForChildren(), - isClean()); + desiredNotificationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NotificationConfig, + com.google.container.v1beta1.NotificationConfig.Builder, + com.google.container.v1beta1.NotificationConfigOrBuilder>( + getDesiredNotificationConfig(), getParentForChildren(), isClean()); desiredNotificationConfig_ = null; } return desiredNotificationConfigBuilder_; @@ -7233,6 +8597,8 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotifi private java.lang.Object desiredMasterVersion_ = ""; /** + * + * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -7246,13 +8612,13 @@ public com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotifi
      * 
* * string desired_master_version = 100; + * * @return The desiredMasterVersion. */ public java.lang.String getDesiredMasterVersion() { java.lang.Object ref = desiredMasterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); desiredMasterVersion_ = s; return s; @@ -7261,6 +8627,8 @@ public java.lang.String getDesiredMasterVersion() { } } /** + * + * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -7274,15 +8642,14 @@ public java.lang.String getDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; + * * @return The bytes for desiredMasterVersion. */ - public com.google.protobuf.ByteString - getDesiredMasterVersionBytes() { + public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); desiredMasterVersion_ = b; return b; } else { @@ -7290,6 +8657,8 @@ public java.lang.String getDesiredMasterVersion() { } } /** + * + * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -7303,20 +8672,22 @@ public java.lang.String getDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; + * * @param value The desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersion( - java.lang.String value) { + public Builder setDesiredMasterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + desiredMasterVersion_ = value; onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -7330,15 +8701,18 @@ public Builder setDesiredMasterVersion(
      * 
* * string desired_master_version = 100; + * * @return This builder for chaining. */ public Builder clearDesiredMasterVersion() { - + desiredMasterVersion_ = getDefaultInstance().getDesiredMasterVersion(); onChanged(); return this; } /** + * + * *
      * The Kubernetes version to change the master to. The only valid value is the
      * latest supported version.
@@ -7352,16 +8726,16 @@ public Builder clearDesiredMasterVersion() {
      * 
* * string desired_master_version = 100; + * * @param value The bytes for desiredMasterVersion to set. * @return This builder for chaining. */ - public Builder setDesiredMasterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDesiredMasterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + desiredMasterVersion_ = value; onChanged(); return this; @@ -7369,34 +8743,47 @@ public Builder setDesiredMasterVersionBytes( private com.google.container.v1beta1.GcfsConfig desiredGcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> desiredGcfsConfigBuilder_; + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder> + desiredGcfsConfigBuilder_; /** + * + * *
      * The desired GCFS config for the cluster.
      * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; + * * @return Whether the desiredGcfsConfig field is set. */ public boolean hasDesiredGcfsConfig() { return desiredGcfsConfigBuilder_ != null || desiredGcfsConfig_ != null; } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; + * * @return The desiredGcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getDesiredGcfsConfig() { if (desiredGcfsConfigBuilder_ == null) { - return desiredGcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; + return desiredGcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : desiredGcfsConfig_; } else { return desiredGcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
@@ -7417,6 +8804,8 @@ public Builder setDesiredGcfsConfig(com.google.container.v1beta1.GcfsConfig valu return this; } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
@@ -7435,6 +8824,8 @@ public Builder setDesiredGcfsConfig( return this; } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
@@ -7445,7 +8836,9 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1beta1.GcfsConfig va if (desiredGcfsConfigBuilder_ == null) { if (desiredGcfsConfig_ != null) { desiredGcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(desiredGcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(desiredGcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredGcfsConfig_ = value; } @@ -7457,6 +8850,8 @@ public Builder mergeDesiredGcfsConfig(com.google.container.v1beta1.GcfsConfig va return this; } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
@@ -7475,6 +8870,8 @@ public Builder clearDesiredGcfsConfig() { return this; } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
@@ -7482,11 +8879,13 @@ public Builder clearDesiredGcfsConfig() { * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; */ public com.google.container.v1beta1.GcfsConfig.Builder getDesiredGcfsConfigBuilder() { - + onChanged(); return getDesiredGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
@@ -7497,11 +8896,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu if (desiredGcfsConfigBuilder_ != null) { return desiredGcfsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGcfsConfig_ == null ? - com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : desiredGcfsConfig_; + return desiredGcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : desiredGcfsConfig_; } } /** + * + * *
      * The desired GCFS config for the cluster.
      * 
@@ -7509,14 +8911,17 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder> getDesiredGcfsConfigFieldBuilder() { if (desiredGcfsConfigBuilder_ == null) { - desiredGcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( - getDesiredGcfsConfig(), - getParentForChildren(), - isClean()); + desiredGcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder>( + getDesiredGcfsConfig(), getParentForChildren(), isClean()); desiredGcfsConfig_ = null; } return desiredGcfsConfigBuilder_; @@ -7524,41 +8929,55 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBu private com.google.container.v1beta1.DatabaseEncryption desiredDatabaseEncryption_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> desiredDatabaseEncryptionBuilder_; + com.google.container.v1beta1.DatabaseEncryption, + com.google.container.v1beta1.DatabaseEncryption.Builder, + com.google.container.v1beta1.DatabaseEncryptionOrBuilder> + desiredDatabaseEncryptionBuilder_; /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; + * * @return Whether the desiredDatabaseEncryption field is set. */ public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryptionBuilder_ != null || desiredDatabaseEncryption_ != null; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; + * * @return The desiredDatabaseEncryption. */ public com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncryption() { if (desiredDatabaseEncryptionBuilder_ == null) { - return desiredDatabaseEncryption_ == null ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null + ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() + : desiredDatabaseEncryption_; } else { return desiredDatabaseEncryptionBuilder_.getMessage(); } } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public Builder setDesiredDatabaseEncryption(com.google.container.v1beta1.DatabaseEncryption value) { + public Builder setDesiredDatabaseEncryption( + com.google.container.v1beta1.DatabaseEncryption value) { if (desiredDatabaseEncryptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7572,6 +8991,8 @@ public Builder setDesiredDatabaseEncryption(com.google.container.v1beta1.Databas return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -7590,17 +9011,22 @@ public Builder setDesiredDatabaseEncryption( return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public Builder mergeDesiredDatabaseEncryption(com.google.container.v1beta1.DatabaseEncryption value) { + public Builder mergeDesiredDatabaseEncryption( + com.google.container.v1beta1.DatabaseEncryption value) { if (desiredDatabaseEncryptionBuilder_ == null) { if (desiredDatabaseEncryption_ != null) { desiredDatabaseEncryption_ = - com.google.container.v1beta1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.DatabaseEncryption.newBuilder(desiredDatabaseEncryption_) + .mergeFrom(value) + .buildPartial(); } else { desiredDatabaseEncryption_ = value; } @@ -7612,6 +9038,8 @@ public Builder mergeDesiredDatabaseEncryption(com.google.container.v1beta1.Datab return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -7630,33 +9058,42 @@ public Builder clearDesiredDatabaseEncryption() { return this; } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1beta1.DatabaseEncryption.Builder getDesiredDatabaseEncryptionBuilder() { - + public com.google.container.v1beta1.DatabaseEncryption.Builder + getDesiredDatabaseEncryptionBuilder() { + onChanged(); return getDesiredDatabaseEncryptionFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ - public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { + public com.google.container.v1beta1.DatabaseEncryptionOrBuilder + getDesiredDatabaseEncryptionOrBuilder() { if (desiredDatabaseEncryptionBuilder_ != null) { return desiredDatabaseEncryptionBuilder_.getMessageOrBuilder(); } else { - return desiredDatabaseEncryption_ == null ? - com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() : desiredDatabaseEncryption_; + return desiredDatabaseEncryption_ == null + ? com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance() + : desiredDatabaseEncryption_; } } /** + * + * *
      * Configuration of etcd encryption.
      * 
@@ -7664,14 +9101,17 @@ public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDataba * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder> + com.google.container.v1beta1.DatabaseEncryption, + com.google.container.v1beta1.DatabaseEncryption.Builder, + com.google.container.v1beta1.DatabaseEncryptionOrBuilder> getDesiredDatabaseEncryptionFieldBuilder() { if (desiredDatabaseEncryptionBuilder_ == null) { - desiredDatabaseEncryptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DatabaseEncryption, com.google.container.v1beta1.DatabaseEncryption.Builder, com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( - getDesiredDatabaseEncryption(), - getParentForChildren(), - isClean()); + desiredDatabaseEncryptionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DatabaseEncryption, + com.google.container.v1beta1.DatabaseEncryption.Builder, + com.google.container.v1beta1.DatabaseEncryptionOrBuilder>( + getDesiredDatabaseEncryption(), getParentForChildren(), isClean()); desiredDatabaseEncryption_ = null; } return desiredDatabaseEncryptionBuilder_; @@ -7679,41 +9119,59 @@ public com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDataba private com.google.container.v1beta1.WorkloadIdentityConfig desiredWorkloadIdentityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> desiredWorkloadIdentityConfigBuilder_; + com.google.container.v1beta1.WorkloadIdentityConfig, + com.google.container.v1beta1.WorkloadIdentityConfig.Builder, + com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> + desiredWorkloadIdentityConfigBuilder_; /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return Whether the desiredWorkloadIdentityConfig field is set. */ public boolean hasDesiredWorkloadIdentityConfig() { - return desiredWorkloadIdentityConfigBuilder_ != null || desiredWorkloadIdentityConfig_ != null; + return desiredWorkloadIdentityConfigBuilder_ != null + || desiredWorkloadIdentityConfig_ != null; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return The desiredWorkloadIdentityConfig. */ public com.google.container.v1beta1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - return desiredWorkloadIdentityConfig_ == null ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null + ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() + : desiredWorkloadIdentityConfig_; } else { return desiredWorkloadIdentityConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public Builder setDesiredWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) { + public Builder setDesiredWorkloadIdentityConfig( + com.google.container.v1beta1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7727,11 +9185,14 @@ public Builder setDesiredWorkloadIdentityConfig(com.google.container.v1beta1.Wor return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ public Builder setDesiredWorkloadIdentityConfig( com.google.container.v1beta1.WorkloadIdentityConfig.Builder builderForValue) { @@ -7745,17 +9206,24 @@ public Builder setDesiredWorkloadIdentityConfig( return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public Builder mergeDesiredWorkloadIdentityConfig(com.google.container.v1beta1.WorkloadIdentityConfig value) { + public Builder mergeDesiredWorkloadIdentityConfig( + com.google.container.v1beta1.WorkloadIdentityConfig value) { if (desiredWorkloadIdentityConfigBuilder_ == null) { if (desiredWorkloadIdentityConfig_ != null) { desiredWorkloadIdentityConfig_ = - com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder(desiredWorkloadIdentityConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder( + desiredWorkloadIdentityConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredWorkloadIdentityConfig_ = value; } @@ -7767,11 +9235,14 @@ public Builder mergeDesiredWorkloadIdentityConfig(com.google.container.v1beta1.W return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ public Builder clearDesiredWorkloadIdentityConfig() { if (desiredWorkloadIdentityConfigBuilder_ == null) { @@ -7785,48 +9256,63 @@ public Builder clearDesiredWorkloadIdentityConfig() { return this; } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public com.google.container.v1beta1.WorkloadIdentityConfig.Builder getDesiredWorkloadIdentityConfigBuilder() { - + public com.google.container.v1beta1.WorkloadIdentityConfig.Builder + getDesiredWorkloadIdentityConfigBuilder() { + onChanged(); return getDesiredWorkloadIdentityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder + getDesiredWorkloadIdentityConfigOrBuilder() { if (desiredWorkloadIdentityConfigBuilder_ != null) { return desiredWorkloadIdentityConfigBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadIdentityConfig_ == null ? - com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() : desiredWorkloadIdentityConfig_; + return desiredWorkloadIdentityConfig_ == null + ? com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance() + : desiredWorkloadIdentityConfig_; } } /** + * + * *
      * Configuration for Workload Identity.
      * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> + com.google.container.v1beta1.WorkloadIdentityConfig, + com.google.container.v1beta1.WorkloadIdentityConfig.Builder, + com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder> getDesiredWorkloadIdentityConfigFieldBuilder() { if (desiredWorkloadIdentityConfigBuilder_ == null) { - desiredWorkloadIdentityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadIdentityConfig, com.google.container.v1beta1.WorkloadIdentityConfig.Builder, com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>( - getDesiredWorkloadIdentityConfig(), - getParentForChildren(), - isClean()); + desiredWorkloadIdentityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadIdentityConfig, + com.google.container.v1beta1.WorkloadIdentityConfig.Builder, + com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder>( + getDesiredWorkloadIdentityConfig(), getParentForChildren(), isClean()); desiredWorkloadIdentityConfig_ = null; } return desiredWorkloadIdentityConfigBuilder_; @@ -7834,44 +9320,61 @@ public com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getDesiredWo private com.google.container.v1beta1.WorkloadCertificates desiredWorkloadCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> desiredWorkloadCertificatesBuilder_; + com.google.container.v1beta1.WorkloadCertificates, + com.google.container.v1beta1.WorkloadCertificates.Builder, + com.google.container.v1beta1.WorkloadCertificatesOrBuilder> + desiredWorkloadCertificatesBuilder_; /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * + * * @return Whether the desiredWorkloadCertificates field is set. */ public boolean hasDesiredWorkloadCertificates() { return desiredWorkloadCertificatesBuilder_ != null || desiredWorkloadCertificates_ != null; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * + * * @return The desiredWorkloadCertificates. */ public com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCertificates() { if (desiredWorkloadCertificatesBuilder_ == null) { - return desiredWorkloadCertificates_ == null ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : desiredWorkloadCertificates_; + return desiredWorkloadCertificates_ == null + ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() + : desiredWorkloadCertificates_; } else { return desiredWorkloadCertificatesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * */ - public Builder setDesiredWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) { + public Builder setDesiredWorkloadCertificates( + com.google.container.v1beta1.WorkloadCertificates value) { if (desiredWorkloadCertificatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7885,12 +9388,15 @@ public Builder setDesiredWorkloadCertificates(com.google.container.v1beta1.Workl return this; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * */ public Builder setDesiredWorkloadCertificates( com.google.container.v1beta1.WorkloadCertificates.Builder builderForValue) { @@ -7904,18 +9410,25 @@ public Builder setDesiredWorkloadCertificates( return this; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * */ - public Builder mergeDesiredWorkloadCertificates(com.google.container.v1beta1.WorkloadCertificates value) { + public Builder mergeDesiredWorkloadCertificates( + com.google.container.v1beta1.WorkloadCertificates value) { if (desiredWorkloadCertificatesBuilder_ == null) { if (desiredWorkloadCertificates_ != null) { desiredWorkloadCertificates_ = - com.google.container.v1beta1.WorkloadCertificates.newBuilder(desiredWorkloadCertificates_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.WorkloadCertificates.newBuilder( + desiredWorkloadCertificates_) + .mergeFrom(value) + .buildPartial(); } else { desiredWorkloadCertificates_ = value; } @@ -7927,12 +9440,15 @@ public Builder mergeDesiredWorkloadCertificates(com.google.container.v1beta1.Wor return this; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * */ public Builder clearDesiredWorkloadCertificates() { if (desiredWorkloadCertificatesBuilder_ == null) { @@ -7946,51 +9462,66 @@ public Builder clearDesiredWorkloadCertificates() { return this; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * */ - public com.google.container.v1beta1.WorkloadCertificates.Builder getDesiredWorkloadCertificatesBuilder() { - + public com.google.container.v1beta1.WorkloadCertificates.Builder + getDesiredWorkloadCertificatesBuilder() { + onChanged(); return getDesiredWorkloadCertificatesFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * */ - public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getDesiredWorkloadCertificatesOrBuilder() { + public com.google.container.v1beta1.WorkloadCertificatesOrBuilder + getDesiredWorkloadCertificatesOrBuilder() { if (desiredWorkloadCertificatesBuilder_ != null) { return desiredWorkloadCertificatesBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadCertificates_ == null ? - com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() : desiredWorkloadCertificates_; + return desiredWorkloadCertificates_ == null + ? com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance() + : desiredWorkloadCertificates_; } } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* - * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder> + com.google.container.v1beta1.WorkloadCertificates, + com.google.container.v1beta1.WorkloadCertificates.Builder, + com.google.container.v1beta1.WorkloadCertificatesOrBuilder> getDesiredWorkloadCertificatesFieldBuilder() { if (desiredWorkloadCertificatesBuilder_ == null) { - desiredWorkloadCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadCertificates, com.google.container.v1beta1.WorkloadCertificates.Builder, com.google.container.v1beta1.WorkloadCertificatesOrBuilder>( - getDesiredWorkloadCertificates(), - getParentForChildren(), - isClean()); + desiredWorkloadCertificatesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadCertificates, + com.google.container.v1beta1.WorkloadCertificates.Builder, + com.google.container.v1beta1.WorkloadCertificatesOrBuilder>( + getDesiredWorkloadCertificates(), getParentForChildren(), isClean()); desiredWorkloadCertificates_ = null; } return desiredWorkloadCertificatesBuilder_; @@ -7998,36 +9529,49 @@ public com.google.container.v1beta1.WorkloadCertificatesOrBuilder getDesiredWork private com.google.container.v1beta1.MeshCertificates desiredMeshCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> desiredMeshCertificatesBuilder_; + com.google.container.v1beta1.MeshCertificates, + com.google.container.v1beta1.MeshCertificates.Builder, + com.google.container.v1beta1.MeshCertificatesOrBuilder> + desiredMeshCertificatesBuilder_; /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; + * * @return Whether the desiredMeshCertificates field is set. */ public boolean hasDesiredMeshCertificates() { return desiredMeshCertificatesBuilder_ != null || desiredMeshCertificates_ != null; } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
      * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; + * * @return The desiredMeshCertificates. */ public com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates() { if (desiredMeshCertificatesBuilder_ == null) { - return desiredMeshCertificates_ == null ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_; + return desiredMeshCertificates_ == null + ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance() + : desiredMeshCertificates_; } else { return desiredMeshCertificatesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -8049,6 +9593,8 @@ public Builder setDesiredMeshCertificates(com.google.container.v1beta1.MeshCerti
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -8068,6 +9614,8 @@ public Builder setDesiredMeshCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -8075,11 +9623,14 @@ public Builder setDesiredMeshCertificates(
      *
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
-    public Builder mergeDesiredMeshCertificates(com.google.container.v1beta1.MeshCertificates value) {
+    public Builder mergeDesiredMeshCertificates(
+        com.google.container.v1beta1.MeshCertificates value) {
       if (desiredMeshCertificatesBuilder_ == null) {
         if (desiredMeshCertificates_ != null) {
           desiredMeshCertificates_ =
-            com.google.container.v1beta1.MeshCertificates.newBuilder(desiredMeshCertificates_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.MeshCertificates.newBuilder(desiredMeshCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           desiredMeshCertificates_ = value;
         }
@@ -8091,6 +9642,8 @@ public Builder mergeDesiredMeshCertificates(com.google.container.v1beta1.MeshCer
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -8110,6 +9663,8 @@ public Builder clearDesiredMeshCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -8117,12 +9672,15 @@ public Builder clearDesiredMeshCertificates() {
      *
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
-    public com.google.container.v1beta1.MeshCertificates.Builder getDesiredMeshCertificatesBuilder() {
-      
+    public com.google.container.v1beta1.MeshCertificates.Builder
+        getDesiredMeshCertificatesBuilder() {
+
       onChanged();
       return getDesiredMeshCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -8130,15 +9688,19 @@ public com.google.container.v1beta1.MeshCertificates.Builder getDesiredMeshCerti
      *
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
-    public com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder() {
+    public com.google.container.v1beta1.MeshCertificatesOrBuilder
+        getDesiredMeshCertificatesOrBuilder() {
       if (desiredMeshCertificatesBuilder_ != null) {
         return desiredMeshCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return desiredMeshCertificates_ == null ?
-            com.google.container.v1beta1.MeshCertificates.getDefaultInstance() : desiredMeshCertificates_;
+        return desiredMeshCertificates_ == null
+            ? com.google.container.v1beta1.MeshCertificates.getDefaultInstance()
+            : desiredMeshCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for issuance of mTLS keys and certificates to Kubernetes
      * pods.
@@ -8147,14 +9709,17 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCert
      * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder> 
+            com.google.container.v1beta1.MeshCertificates,
+            com.google.container.v1beta1.MeshCertificates.Builder,
+            com.google.container.v1beta1.MeshCertificatesOrBuilder>
         getDesiredMeshCertificatesFieldBuilder() {
       if (desiredMeshCertificatesBuilder_ == null) {
-        desiredMeshCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MeshCertificates, com.google.container.v1beta1.MeshCertificates.Builder, com.google.container.v1beta1.MeshCertificatesOrBuilder>(
-                getDesiredMeshCertificates(),
-                getParentForChildren(),
-                isClean());
+        desiredMeshCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.MeshCertificates,
+                com.google.container.v1beta1.MeshCertificates.Builder,
+                com.google.container.v1beta1.MeshCertificatesOrBuilder>(
+                getDesiredMeshCertificates(), getParentForChildren(), isClean());
         desiredMeshCertificates_ = null;
       }
       return desiredMeshCertificatesBuilder_;
@@ -8162,41 +9727,55 @@ public com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCert
 
     private com.google.container.v1beta1.WorkloadALTSConfig desiredWorkloadAltsConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> desiredWorkloadAltsConfigBuilder_;
+            com.google.container.v1beta1.WorkloadALTSConfig,
+            com.google.container.v1beta1.WorkloadALTSConfig.Builder,
+            com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>
+        desiredWorkloadAltsConfigBuilder_;
     /**
+     *
+     *
      * 
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * * @return Whether the desiredWorkloadAltsConfig field is set. */ public boolean hasDesiredWorkloadAltsConfig() { return desiredWorkloadAltsConfigBuilder_ != null || desiredWorkloadAltsConfig_ != null; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * * @return The desiredWorkloadAltsConfig. */ public com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig() { if (desiredWorkloadAltsConfigBuilder_ == null) { - return desiredWorkloadAltsConfig_ == null ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : desiredWorkloadAltsConfig_; + return desiredWorkloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : desiredWorkloadAltsConfig_; } else { return desiredWorkloadAltsConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder setDesiredWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSConfig value) { + public Builder setDesiredWorkloadAltsConfig( + com.google.container.v1beta1.WorkloadALTSConfig value) { if (desiredWorkloadAltsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8210,6 +9789,8 @@ public Builder setDesiredWorkloadAltsConfig(com.google.container.v1beta1.Workloa return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -8228,17 +9809,22 @@ public Builder setDesiredWorkloadAltsConfig( return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public Builder mergeDesiredWorkloadAltsConfig(com.google.container.v1beta1.WorkloadALTSConfig value) { + public Builder mergeDesiredWorkloadAltsConfig( + com.google.container.v1beta1.WorkloadALTSConfig value) { if (desiredWorkloadAltsConfigBuilder_ == null) { if (desiredWorkloadAltsConfig_ != null) { desiredWorkloadAltsConfig_ = - com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(desiredWorkloadAltsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.WorkloadALTSConfig.newBuilder(desiredWorkloadAltsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredWorkloadAltsConfig_ = value; } @@ -8250,6 +9836,8 @@ public Builder mergeDesiredWorkloadAltsConfig(com.google.container.v1beta1.Workl return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -8268,33 +9856,42 @@ public Builder clearDesiredWorkloadAltsConfig() { return this; } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public com.google.container.v1beta1.WorkloadALTSConfig.Builder getDesiredWorkloadAltsConfigBuilder() { - + public com.google.container.v1beta1.WorkloadALTSConfig.Builder + getDesiredWorkloadAltsConfigBuilder() { + onChanged(); return getDesiredWorkloadAltsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ - public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorkloadAltsConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder + getDesiredWorkloadAltsConfigOrBuilder() { if (desiredWorkloadAltsConfigBuilder_ != null) { return desiredWorkloadAltsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredWorkloadAltsConfig_ == null ? - com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() : desiredWorkloadAltsConfig_; + return desiredWorkloadAltsConfig_ == null + ? com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance() + : desiredWorkloadAltsConfig_; } } /** + * + * *
      * Configuration for direct-path (via ALTS) with workload identity.
      * 
@@ -8302,14 +9899,17 @@ public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorklo * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder> getDesiredWorkloadAltsConfigFieldBuilder() { if (desiredWorkloadAltsConfigBuilder_ == null) { - desiredWorkloadAltsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadALTSConfig, com.google.container.v1beta1.WorkloadALTSConfig.Builder, com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( - getDesiredWorkloadAltsConfig(), - getParentForChildren(), - isClean()); + desiredWorkloadAltsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadALTSConfig, + com.google.container.v1beta1.WorkloadALTSConfig.Builder, + com.google.container.v1beta1.WorkloadALTSConfigOrBuilder>( + getDesiredWorkloadAltsConfig(), getParentForChildren(), isClean()); desiredWorkloadAltsConfig_ = null; } return desiredWorkloadAltsConfigBuilder_; @@ -8317,34 +9917,47 @@ public com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorklo private com.google.container.v1beta1.ShieldedNodes desiredShieldedNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> desiredShieldedNodesBuilder_; + com.google.container.v1beta1.ShieldedNodes, + com.google.container.v1beta1.ShieldedNodes.Builder, + com.google.container.v1beta1.ShieldedNodesOrBuilder> + desiredShieldedNodesBuilder_; /** + * + * *
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * * @return Whether the desiredShieldedNodes field is set. */ public boolean hasDesiredShieldedNodes() { return desiredShieldedNodesBuilder_ != null || desiredShieldedNodes_ != null; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * * @return The desiredShieldedNodes. */ public com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes() { if (desiredShieldedNodesBuilder_ == null) { - return desiredShieldedNodes_ == null ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; + return desiredShieldedNodes_ == null + ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() + : desiredShieldedNodes_; } else { return desiredShieldedNodesBuilder_.getMessage(); } } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -8365,6 +9978,8 @@ public Builder setDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNode return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -8383,6 +9998,8 @@ public Builder setDesiredShieldedNodes( return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -8393,7 +10010,9 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNo if (desiredShieldedNodesBuilder_ == null) { if (desiredShieldedNodes_ != null) { desiredShieldedNodes_ = - com.google.container.v1beta1.ShieldedNodes.newBuilder(desiredShieldedNodes_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ShieldedNodes.newBuilder(desiredShieldedNodes_) + .mergeFrom(value) + .buildPartial(); } else { desiredShieldedNodes_ = value; } @@ -8405,6 +10024,8 @@ public Builder mergeDesiredShieldedNodes(com.google.container.v1beta1.ShieldedNo return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -8423,6 +10044,8 @@ public Builder clearDesiredShieldedNodes() { return this; } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -8430,11 +10053,13 @@ public Builder clearDesiredShieldedNodes() { * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; */ public com.google.container.v1beta1.ShieldedNodes.Builder getDesiredShieldedNodesBuilder() { - + onChanged(); return getDesiredShieldedNodesFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -8445,11 +10070,14 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod if (desiredShieldedNodesBuilder_ != null) { return desiredShieldedNodesBuilder_.getMessageOrBuilder(); } else { - return desiredShieldedNodes_ == null ? - com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() : desiredShieldedNodes_; + return desiredShieldedNodes_ == null + ? com.google.container.v1beta1.ShieldedNodes.getDefaultInstance() + : desiredShieldedNodes_; } } /** + * + * *
      * Configuration for Shielded Nodes.
      * 
@@ -8457,14 +10085,17 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder> + com.google.container.v1beta1.ShieldedNodes, + com.google.container.v1beta1.ShieldedNodes.Builder, + com.google.container.v1beta1.ShieldedNodesOrBuilder> getDesiredShieldedNodesFieldBuilder() { if (desiredShieldedNodesBuilder_ == null) { - desiredShieldedNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedNodes, com.google.container.v1beta1.ShieldedNodes.Builder, com.google.container.v1beta1.ShieldedNodesOrBuilder>( - getDesiredShieldedNodes(), - getParentForChildren(), - isClean()); + desiredShieldedNodesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedNodes, + com.google.container.v1beta1.ShieldedNodes.Builder, + com.google.container.v1beta1.ShieldedNodesOrBuilder>( + getDesiredShieldedNodes(), getParentForChildren(), isClean()); desiredShieldedNodes_ = null; } return desiredShieldedNodesBuilder_; @@ -8472,41 +10103,58 @@ public com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNod private com.google.container.v1beta1.CostManagementConfig desiredCostManagementConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> desiredCostManagementConfigBuilder_; + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> + desiredCostManagementConfigBuilder_; /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * * @return Whether the desiredCostManagementConfig field is set. */ public boolean hasDesiredCostManagementConfig() { return desiredCostManagementConfigBuilder_ != null || desiredCostManagementConfig_ != null; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * * @return The desiredCostManagementConfig. */ public com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig() { if (desiredCostManagementConfigBuilder_ == null) { - return desiredCostManagementConfig_ == null ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; } else { return desiredCostManagementConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ - public Builder setDesiredCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { + public Builder setDesiredCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8520,11 +10168,14 @@ public Builder setDesiredCostManagementConfig(com.google.container.v1beta1.CostM return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ public Builder setDesiredCostManagementConfig( com.google.container.v1beta1.CostManagementConfig.Builder builderForValue) { @@ -8538,17 +10189,24 @@ public Builder setDesiredCostManagementConfig( return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ - public Builder mergeDesiredCostManagementConfig(com.google.container.v1beta1.CostManagementConfig value) { + public Builder mergeDesiredCostManagementConfig( + com.google.container.v1beta1.CostManagementConfig value) { if (desiredCostManagementConfigBuilder_ == null) { if (desiredCostManagementConfig_ != null) { desiredCostManagementConfig_ = - com.google.container.v1beta1.CostManagementConfig.newBuilder(desiredCostManagementConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.CostManagementConfig.newBuilder( + desiredCostManagementConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredCostManagementConfig_ = value; } @@ -8560,11 +10218,14 @@ public Builder mergeDesiredCostManagementConfig(com.google.container.v1beta1.Cos return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ public Builder clearDesiredCostManagementConfig() { if (desiredCostManagementConfigBuilder_ == null) { @@ -8578,48 +10239,63 @@ public Builder clearDesiredCostManagementConfig() { return this; } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ - public com.google.container.v1beta1.CostManagementConfig.Builder getDesiredCostManagementConfigBuilder() { - + public com.google.container.v1beta1.CostManagementConfig.Builder + getDesiredCostManagementConfigBuilder() { + onChanged(); return getDesiredCostManagementConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ - public com.google.container.v1beta1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder() { + public com.google.container.v1beta1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder() { if (desiredCostManagementConfigBuilder_ != null) { return desiredCostManagementConfigBuilder_.getMessageOrBuilder(); } else { - return desiredCostManagementConfig_ == null ? - com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() : desiredCostManagementConfig_; + return desiredCostManagementConfig_ == null + ? com.google.container.v1beta1.CostManagementConfig.getDefaultInstance() + : desiredCostManagementConfig_; } } /** + * + * *
      * The desired configuration for the fine-grained cost management feature.
      * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder> + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder> getDesiredCostManagementConfigFieldBuilder() { if (desiredCostManagementConfigBuilder_ == null) { - desiredCostManagementConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.CostManagementConfig, com.google.container.v1beta1.CostManagementConfig.Builder, com.google.container.v1beta1.CostManagementConfigOrBuilder>( - getDesiredCostManagementConfig(), - getParentForChildren(), - isClean()); + desiredCostManagementConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.CostManagementConfig, + com.google.container.v1beta1.CostManagementConfig.Builder, + com.google.container.v1beta1.CostManagementConfigOrBuilder>( + getDesiredCostManagementConfig(), getParentForChildren(), isClean()); desiredCostManagementConfig_ = null; } return desiredCostManagementConfigBuilder_; @@ -8627,34 +10303,47 @@ public com.google.container.v1beta1.CostManagementConfigOrBuilder getDesiredCost private com.google.container.v1beta1.Master desiredMaster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> desiredMasterBuilder_; + com.google.container.v1beta1.Master, + com.google.container.v1beta1.Master.Builder, + com.google.container.v1beta1.MasterOrBuilder> + desiredMasterBuilder_; /** + * + * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master desired_master = 52; + * * @return Whether the desiredMaster field is set. */ public boolean hasDesiredMaster() { return desiredMasterBuilder_ != null || desiredMaster_ != null; } /** + * + * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master desired_master = 52; + * * @return The desiredMaster. */ public com.google.container.v1beta1.Master getDesiredMaster() { if (desiredMasterBuilder_ == null) { - return desiredMaster_ == null ? com.google.container.v1beta1.Master.getDefaultInstance() : desiredMaster_; + return desiredMaster_ == null + ? com.google.container.v1beta1.Master.getDefaultInstance() + : desiredMaster_; } else { return desiredMasterBuilder_.getMessage(); } } /** + * + * *
      * Configuration for master components.
      * 
@@ -8675,14 +10364,15 @@ public Builder setDesiredMaster(com.google.container.v1beta1.Master value) { return this; } /** + * + * *
      * Configuration for master components.
      * 
* * .google.container.v1beta1.Master desired_master = 52; */ - public Builder setDesiredMaster( - com.google.container.v1beta1.Master.Builder builderForValue) { + public Builder setDesiredMaster(com.google.container.v1beta1.Master.Builder builderForValue) { if (desiredMasterBuilder_ == null) { desiredMaster_ = builderForValue.build(); onChanged(); @@ -8693,6 +10383,8 @@ public Builder setDesiredMaster( return this; } /** + * + * *
      * Configuration for master components.
      * 
@@ -8703,7 +10395,9 @@ public Builder mergeDesiredMaster(com.google.container.v1beta1.Master value) { if (desiredMasterBuilder_ == null) { if (desiredMaster_ != null) { desiredMaster_ = - com.google.container.v1beta1.Master.newBuilder(desiredMaster_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.Master.newBuilder(desiredMaster_) + .mergeFrom(value) + .buildPartial(); } else { desiredMaster_ = value; } @@ -8715,6 +10409,8 @@ public Builder mergeDesiredMaster(com.google.container.v1beta1.Master value) { return this; } /** + * + * *
      * Configuration for master components.
      * 
@@ -8733,6 +10429,8 @@ public Builder clearDesiredMaster() { return this; } /** + * + * *
      * Configuration for master components.
      * 
@@ -8740,11 +10438,13 @@ public Builder clearDesiredMaster() { * .google.container.v1beta1.Master desired_master = 52; */ public com.google.container.v1beta1.Master.Builder getDesiredMasterBuilder() { - + onChanged(); return getDesiredMasterFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for master components.
      * 
@@ -8755,11 +10455,14 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() if (desiredMasterBuilder_ != null) { return desiredMasterBuilder_.getMessageOrBuilder(); } else { - return desiredMaster_ == null ? - com.google.container.v1beta1.Master.getDefaultInstance() : desiredMaster_; + return desiredMaster_ == null + ? com.google.container.v1beta1.Master.getDefaultInstance() + : desiredMaster_; } } /** + * + * *
      * Configuration for master components.
      * 
@@ -8767,14 +10470,17 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() * .google.container.v1beta1.Master desired_master = 52; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder> + com.google.container.v1beta1.Master, + com.google.container.v1beta1.Master.Builder, + com.google.container.v1beta1.MasterOrBuilder> getDesiredMasterFieldBuilder() { if (desiredMasterBuilder_ == null) { - desiredMasterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Master, com.google.container.v1beta1.Master.Builder, com.google.container.v1beta1.MasterOrBuilder>( - getDesiredMaster(), - getParentForChildren(), - isClean()); + desiredMasterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Master, + com.google.container.v1beta1.Master.Builder, + com.google.container.v1beta1.MasterOrBuilder>( + getDesiredMaster(), getParentForChildren(), isClean()); desiredMaster_ = null; } return desiredMasterBuilder_; @@ -8782,34 +10488,47 @@ public com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder() private com.google.container.v1beta1.DNSConfig desiredDnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> desiredDnsConfigBuilder_; + com.google.container.v1beta1.DNSConfig, + com.google.container.v1beta1.DNSConfig.Builder, + com.google.container.v1beta1.DNSConfigOrBuilder> + desiredDnsConfigBuilder_; /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; + * * @return Whether the desiredDnsConfig field is set. */ public boolean hasDesiredDnsConfig() { return desiredDnsConfigBuilder_ != null || desiredDnsConfig_ != null; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; + * * @return The desiredDnsConfig. */ public com.google.container.v1beta1.DNSConfig getDesiredDnsConfig() { if (desiredDnsConfigBuilder_ == null) { - return desiredDnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; + return desiredDnsConfig_ == null + ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() + : desiredDnsConfig_; } else { return desiredDnsConfigBuilder_.getMessage(); } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -8830,6 +10549,8 @@ public Builder setDesiredDnsConfig(com.google.container.v1beta1.DNSConfig value) return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -8848,6 +10569,8 @@ public Builder setDesiredDnsConfig( return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -8858,7 +10581,9 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1beta1.DNSConfig valu if (desiredDnsConfigBuilder_ == null) { if (desiredDnsConfig_ != null) { desiredDnsConfig_ = - com.google.container.v1beta1.DNSConfig.newBuilder(desiredDnsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.DNSConfig.newBuilder(desiredDnsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredDnsConfig_ = value; } @@ -8870,6 +10595,8 @@ public Builder mergeDesiredDnsConfig(com.google.container.v1beta1.DNSConfig valu return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -8888,6 +10615,8 @@ public Builder clearDesiredDnsConfig() { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -8895,11 +10624,13 @@ public Builder clearDesiredDnsConfig() { * .google.container.v1beta1.DNSConfig desired_dns_config = 53; */ public com.google.container.v1beta1.DNSConfig.Builder getDesiredDnsConfigBuilder() { - + onChanged(); return getDesiredDnsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -8910,11 +10641,14 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil if (desiredDnsConfigBuilder_ != null) { return desiredDnsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredDnsConfig_ == null ? - com.google.container.v1beta1.DNSConfig.getDefaultInstance() : desiredDnsConfig_; + return desiredDnsConfig_ == null + ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() + : desiredDnsConfig_; } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -8922,14 +10656,17 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil * .google.container.v1beta1.DNSConfig desired_dns_config = 53; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> + com.google.container.v1beta1.DNSConfig, + com.google.container.v1beta1.DNSConfig.Builder, + com.google.container.v1beta1.DNSConfigOrBuilder> getDesiredDnsConfigFieldBuilder() { if (desiredDnsConfigBuilder_ == null) { - desiredDnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder>( - getDesiredDnsConfig(), - getParentForChildren(), - isClean()); + desiredDnsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DNSConfig, + com.google.container.v1beta1.DNSConfig.Builder, + com.google.container.v1beta1.DNSConfigOrBuilder>( + getDesiredDnsConfig(), getParentForChildren(), isClean()); desiredDnsConfig_ = null; } return desiredDnsConfigBuilder_; @@ -8937,44 +10674,66 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuil private com.google.container.v1beta1.ServiceExternalIPsConfig desiredServiceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> desiredServiceExternalIpsConfigBuilder_; + com.google.container.v1beta1.ServiceExternalIPsConfig, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> + desiredServiceExternalIpsConfigBuilder_; /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return Whether the desiredServiceExternalIpsConfig field is set. */ public boolean hasDesiredServiceExternalIpsConfig() { - return desiredServiceExternalIpsConfigBuilder_ != null || desiredServiceExternalIpsConfig_ != null; + return desiredServiceExternalIpsConfigBuilder_ != null + || desiredServiceExternalIpsConfig_ != null; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return The desiredServiceExternalIpsConfig. */ - public com.google.container.v1beta1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig() { + public com.google.container.v1beta1.ServiceExternalIPsConfig + getDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - return desiredServiceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null + ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() + : desiredServiceExternalIpsConfig_; } else { return desiredServiceExternalIpsConfigBuilder_.getMessage(); } } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public Builder setDesiredServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder setDesiredServiceExternalIpsConfig( + com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8988,12 +10747,16 @@ public Builder setDesiredServiceExternalIpsConfig(com.google.container.v1beta1.S return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ public Builder setDesiredServiceExternalIpsConfig( com.google.container.v1beta1.ServiceExternalIPsConfig.Builder builderForValue) { @@ -9007,18 +10770,26 @@ public Builder setDesiredServiceExternalIpsConfig( return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public Builder mergeDesiredServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder mergeDesiredServiceExternalIpsConfig( + com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (desiredServiceExternalIpsConfigBuilder_ == null) { if (desiredServiceExternalIpsConfig_ != null) { desiredServiceExternalIpsConfig_ = - com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder(desiredServiceExternalIpsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder( + desiredServiceExternalIpsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredServiceExternalIpsConfig_ = value; } @@ -9030,12 +10801,16 @@ public Builder mergeDesiredServiceExternalIpsConfig(com.google.container.v1beta1 return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ public Builder clearDesiredServiceExternalIpsConfig() { if (desiredServiceExternalIpsConfigBuilder_ == null) { @@ -9049,96 +10824,137 @@ public Builder clearDesiredServiceExternalIpsConfig() { return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder getDesiredServiceExternalIpsConfigBuilder() { - + public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder + getDesiredServiceExternalIpsConfigBuilder() { + onChanged(); return getDesiredServiceExternalIpsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder + getDesiredServiceExternalIpsConfigOrBuilder() { if (desiredServiceExternalIpsConfigBuilder_ != null) { return desiredServiceExternalIpsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredServiceExternalIpsConfig_ == null ? - com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : desiredServiceExternalIpsConfig_; + return desiredServiceExternalIpsConfig_ == null + ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() + : desiredServiceExternalIpsConfig_; } } /** + * + * *
      * ServiceExternalIPsConfig specifies the config for the use of Services with
      * ExternalIPs field.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> + com.google.container.v1beta1.ServiceExternalIPsConfig, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> getDesiredServiceExternalIpsConfigFieldBuilder() { if (desiredServiceExternalIpsConfigBuilder_ == null) { - desiredServiceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( - getDesiredServiceExternalIpsConfig(), - getParentForChildren(), - isClean()); + desiredServiceExternalIpsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ServiceExternalIPsConfig, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( + getDesiredServiceExternalIpsConfig(), getParentForChildren(), isClean()); desiredServiceExternalIpsConfig_ = null; } return desiredServiceExternalIpsConfigBuilder_; } - private com.google.container.v1beta1.AuthenticatorGroupsConfig desiredAuthenticatorGroupsConfig_; + private com.google.container.v1beta1.AuthenticatorGroupsConfig + desiredAuthenticatorGroupsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> desiredAuthenticatorGroupsConfigBuilder_; + com.google.container.v1beta1.AuthenticatorGroupsConfig, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> + desiredAuthenticatorGroupsConfigBuilder_; /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ public boolean hasDesiredAuthenticatorGroupsConfig() { - return desiredAuthenticatorGroupsConfigBuilder_ != null || desiredAuthenticatorGroupsConfig_ != null; + return desiredAuthenticatorGroupsConfigBuilder_ != null + || desiredAuthenticatorGroupsConfig_ != null; } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return The desiredAuthenticatorGroupsConfig. */ - public com.google.container.v1beta1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig() { + public com.google.container.v1beta1.AuthenticatorGroupsConfig + getDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - return desiredAuthenticatorGroupsConfig_ == null ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null + ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() + : desiredAuthenticatorGroupsConfig_; } else { return desiredAuthenticatorGroupsConfigBuilder_.getMessage(); } } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public Builder setDesiredAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder setDesiredAuthenticatorGroupsConfig( + com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9152,12 +10968,16 @@ public Builder setDesiredAuthenticatorGroupsConfig(com.google.container.v1beta1. return this; } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ public Builder setDesiredAuthenticatorGroupsConfig( com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder builderForValue) { @@ -9171,18 +10991,26 @@ public Builder setDesiredAuthenticatorGroupsConfig( return this; } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public Builder mergeDesiredAuthenticatorGroupsConfig(com.google.container.v1beta1.AuthenticatorGroupsConfig value) { + public Builder mergeDesiredAuthenticatorGroupsConfig( + com.google.container.v1beta1.AuthenticatorGroupsConfig value) { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { if (desiredAuthenticatorGroupsConfig_ != null) { desiredAuthenticatorGroupsConfig_ = - com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder(desiredAuthenticatorGroupsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AuthenticatorGroupsConfig.newBuilder( + desiredAuthenticatorGroupsConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredAuthenticatorGroupsConfig_ = value; } @@ -9194,12 +11022,16 @@ public Builder mergeDesiredAuthenticatorGroupsConfig(com.google.container.v1beta return this; } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ public Builder clearDesiredAuthenticatorGroupsConfig() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { @@ -9213,51 +11045,69 @@ public Builder clearDesiredAuthenticatorGroupsConfig() { return this; } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder getDesiredAuthenticatorGroupsConfigBuilder() { - + public com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder + getDesiredAuthenticatorGroupsConfigBuilder() { + onChanged(); return getDesiredAuthenticatorGroupsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder() { + public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder + getDesiredAuthenticatorGroupsConfigOrBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ != null) { return desiredAuthenticatorGroupsConfigBuilder_.getMessageOrBuilder(); } else { - return desiredAuthenticatorGroupsConfig_ == null ? - com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() : desiredAuthenticatorGroupsConfig_; + return desiredAuthenticatorGroupsConfig_ == null + ? com.google.container.v1beta1.AuthenticatorGroupsConfig.getDefaultInstance() + : desiredAuthenticatorGroupsConfig_; } } /** + * + * *
      * AuthenticatorGroupsConfig specifies the config for the cluster security
      * groups settings.
      * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> + com.google.container.v1beta1.AuthenticatorGroupsConfig, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder> getDesiredAuthenticatorGroupsConfigFieldBuilder() { if (desiredAuthenticatorGroupsConfigBuilder_ == null) { - desiredAuthenticatorGroupsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AuthenticatorGroupsConfig, com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( - getDesiredAuthenticatorGroupsConfig(), - getParentForChildren(), - isClean()); + desiredAuthenticatorGroupsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AuthenticatorGroupsConfig, + com.google.container.v1beta1.AuthenticatorGroupsConfig.Builder, + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder>( + getDesiredAuthenticatorGroupsConfig(), getParentForChildren(), isClean()); desiredAuthenticatorGroupsConfig_ = null; } return desiredAuthenticatorGroupsConfigBuilder_; @@ -9265,34 +11115,47 @@ public com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getDesire private com.google.container.v1beta1.LoggingConfig desiredLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> desiredLoggingConfigBuilder_; + com.google.container.v1beta1.LoggingConfig, + com.google.container.v1beta1.LoggingConfig.Builder, + com.google.container.v1beta1.LoggingConfigOrBuilder> + desiredLoggingConfigBuilder_; /** + * + * *
      * The desired logging configuration.
      * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; + * * @return Whether the desiredLoggingConfig field is set. */ public boolean hasDesiredLoggingConfig() { return desiredLoggingConfigBuilder_ != null || desiredLoggingConfig_ != null; } /** + * + * *
      * The desired logging configuration.
      * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; + * * @return The desiredLoggingConfig. */ public com.google.container.v1beta1.LoggingConfig getDesiredLoggingConfig() { if (desiredLoggingConfigBuilder_ == null) { - return desiredLoggingConfig_ == null ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; + return desiredLoggingConfig_ == null + ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() + : desiredLoggingConfig_; } else { return desiredLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired logging configuration.
      * 
@@ -9313,6 +11176,8 @@ public Builder setDesiredLoggingConfig(com.google.container.v1beta1.LoggingConfi return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -9331,6 +11196,8 @@ public Builder setDesiredLoggingConfig( return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -9341,7 +11208,9 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1beta1.LoggingCon if (desiredLoggingConfigBuilder_ == null) { if (desiredLoggingConfig_ != null) { desiredLoggingConfig_ = - com.google.container.v1beta1.LoggingConfig.newBuilder(desiredLoggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.LoggingConfig.newBuilder(desiredLoggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredLoggingConfig_ = value; } @@ -9353,6 +11222,8 @@ public Builder mergeDesiredLoggingConfig(com.google.container.v1beta1.LoggingCon return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -9371,6 +11242,8 @@ public Builder clearDesiredLoggingConfig() { return this; } /** + * + * *
      * The desired logging configuration.
      * 
@@ -9378,11 +11251,13 @@ public Builder clearDesiredLoggingConfig() { * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; */ public com.google.container.v1beta1.LoggingConfig.Builder getDesiredLoggingConfigBuilder() { - + onChanged(); return getDesiredLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired logging configuration.
      * 
@@ -9393,11 +11268,14 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf if (desiredLoggingConfigBuilder_ != null) { return desiredLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredLoggingConfig_ == null ? - com.google.container.v1beta1.LoggingConfig.getDefaultInstance() : desiredLoggingConfig_; + return desiredLoggingConfig_ == null + ? com.google.container.v1beta1.LoggingConfig.getDefaultInstance() + : desiredLoggingConfig_; } } /** + * + * *
      * The desired logging configuration.
      * 
@@ -9405,14 +11283,17 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder> + com.google.container.v1beta1.LoggingConfig, + com.google.container.v1beta1.LoggingConfig.Builder, + com.google.container.v1beta1.LoggingConfigOrBuilder> getDesiredLoggingConfigFieldBuilder() { if (desiredLoggingConfigBuilder_ == null) { - desiredLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingConfig, com.google.container.v1beta1.LoggingConfig.Builder, com.google.container.v1beta1.LoggingConfigOrBuilder>( - getDesiredLoggingConfig(), - getParentForChildren(), - isClean()); + desiredLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingConfig, + com.google.container.v1beta1.LoggingConfig.Builder, + com.google.container.v1beta1.LoggingConfigOrBuilder>( + getDesiredLoggingConfig(), getParentForChildren(), isClean()); desiredLoggingConfig_ = null; } return desiredLoggingConfigBuilder_; @@ -9420,34 +11301,47 @@ public com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConf private com.google.container.v1beta1.MonitoringConfig desiredMonitoringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> desiredMonitoringConfigBuilder_; + com.google.container.v1beta1.MonitoringConfig, + com.google.container.v1beta1.MonitoringConfig.Builder, + com.google.container.v1beta1.MonitoringConfigOrBuilder> + desiredMonitoringConfigBuilder_; /** + * + * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; + * * @return Whether the desiredMonitoringConfig field is set. */ public boolean hasDesiredMonitoringConfig() { return desiredMonitoringConfigBuilder_ != null || desiredMonitoringConfig_ != null; } /** + * + * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; + * * @return The desiredMonitoringConfig. */ public com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig() { if (desiredMonitoringConfigBuilder_ == null) { - return desiredMonitoringConfig_ == null ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null + ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() + : desiredMonitoringConfig_; } else { return desiredMonitoringConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -9468,6 +11362,8 @@ public Builder setDesiredMonitoringConfig(com.google.container.v1beta1.Monitorin return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -9486,17 +11382,22 @@ public Builder setDesiredMonitoringConfig( return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ - public Builder mergeDesiredMonitoringConfig(com.google.container.v1beta1.MonitoringConfig value) { + public Builder mergeDesiredMonitoringConfig( + com.google.container.v1beta1.MonitoringConfig value) { if (desiredMonitoringConfigBuilder_ == null) { if (desiredMonitoringConfig_ != null) { desiredMonitoringConfig_ = - com.google.container.v1beta1.MonitoringConfig.newBuilder(desiredMonitoringConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MonitoringConfig.newBuilder(desiredMonitoringConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredMonitoringConfig_ = value; } @@ -9508,6 +11409,8 @@ public Builder mergeDesiredMonitoringConfig(com.google.container.v1beta1.Monitor return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -9526,33 +11429,42 @@ public Builder clearDesiredMonitoringConfig() { return this; } /** + * + * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ - public com.google.container.v1beta1.MonitoringConfig.Builder getDesiredMonitoringConfigBuilder() { - + public com.google.container.v1beta1.MonitoringConfig.Builder + getDesiredMonitoringConfigBuilder() { + onChanged(); return getDesiredMonitoringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired monitoring configuration.
      * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ - public com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringConfigOrBuilder + getDesiredMonitoringConfigOrBuilder() { if (desiredMonitoringConfigBuilder_ != null) { return desiredMonitoringConfigBuilder_.getMessageOrBuilder(); } else { - return desiredMonitoringConfig_ == null ? - com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() : desiredMonitoringConfig_; + return desiredMonitoringConfig_ == null + ? com.google.container.v1beta1.MonitoringConfig.getDefaultInstance() + : desiredMonitoringConfig_; } } /** + * + * *
      * The desired monitoring configuration.
      * 
@@ -9560,14 +11472,17 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitori * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder> + com.google.container.v1beta1.MonitoringConfig, + com.google.container.v1beta1.MonitoringConfig.Builder, + com.google.container.v1beta1.MonitoringConfigOrBuilder> getDesiredMonitoringConfigFieldBuilder() { if (desiredMonitoringConfigBuilder_ == null) { - desiredMonitoringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringConfig, com.google.container.v1beta1.MonitoringConfig.Builder, com.google.container.v1beta1.MonitoringConfigOrBuilder>( - getDesiredMonitoringConfig(), - getParentForChildren(), - isClean()); + desiredMonitoringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MonitoringConfig, + com.google.container.v1beta1.MonitoringConfig.Builder, + com.google.container.v1beta1.MonitoringConfigOrBuilder>( + getDesiredMonitoringConfig(), getParentForChildren(), isClean()); desiredMonitoringConfig_ = null; } return desiredMonitoringConfigBuilder_; @@ -9575,41 +11490,58 @@ public com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitori private com.google.container.v1beta1.IdentityServiceConfig desiredIdentityServiceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> desiredIdentityServiceConfigBuilder_; + com.google.container.v1beta1.IdentityServiceConfig, + com.google.container.v1beta1.IdentityServiceConfig.Builder, + com.google.container.v1beta1.IdentityServiceConfigOrBuilder> + desiredIdentityServiceConfigBuilder_; /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * + * * @return Whether the desiredIdentityServiceConfig field is set. */ public boolean hasDesiredIdentityServiceConfig() { return desiredIdentityServiceConfigBuilder_ != null || desiredIdentityServiceConfig_ != null; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * + * * @return The desiredIdentityServiceConfig. */ public com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServiceConfig() { if (desiredIdentityServiceConfigBuilder_ == null) { - return desiredIdentityServiceConfig_ == null ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; } else { return desiredIdentityServiceConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ - public Builder setDesiredIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder setDesiredIdentityServiceConfig( + com.google.container.v1beta1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9623,11 +11555,14 @@ public Builder setDesiredIdentityServiceConfig(com.google.container.v1beta1.Iden return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ public Builder setDesiredIdentityServiceConfig( com.google.container.v1beta1.IdentityServiceConfig.Builder builderForValue) { @@ -9641,17 +11576,24 @@ public Builder setDesiredIdentityServiceConfig( return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ - public Builder mergeDesiredIdentityServiceConfig(com.google.container.v1beta1.IdentityServiceConfig value) { + public Builder mergeDesiredIdentityServiceConfig( + com.google.container.v1beta1.IdentityServiceConfig value) { if (desiredIdentityServiceConfigBuilder_ == null) { if (desiredIdentityServiceConfig_ != null) { desiredIdentityServiceConfig_ = - com.google.container.v1beta1.IdentityServiceConfig.newBuilder(desiredIdentityServiceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.IdentityServiceConfig.newBuilder( + desiredIdentityServiceConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredIdentityServiceConfig_ = value; } @@ -9663,11 +11605,14 @@ public Builder mergeDesiredIdentityServiceConfig(com.google.container.v1beta1.Id return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ public Builder clearDesiredIdentityServiceConfig() { if (desiredIdentityServiceConfigBuilder_ == null) { @@ -9681,60 +11626,78 @@ public Builder clearDesiredIdentityServiceConfig() { return this; } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ - public com.google.container.v1beta1.IdentityServiceConfig.Builder getDesiredIdentityServiceConfigBuilder() { - + public com.google.container.v1beta1.IdentityServiceConfig.Builder + getDesiredIdentityServiceConfigBuilder() { + onChanged(); return getDesiredIdentityServiceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ - public com.google.container.v1beta1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder() { + public com.google.container.v1beta1.IdentityServiceConfigOrBuilder + getDesiredIdentityServiceConfigOrBuilder() { if (desiredIdentityServiceConfigBuilder_ != null) { return desiredIdentityServiceConfigBuilder_.getMessageOrBuilder(); } else { - return desiredIdentityServiceConfig_ == null ? - com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() : desiredIdentityServiceConfig_; + return desiredIdentityServiceConfig_ == null + ? com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance() + : desiredIdentityServiceConfig_; } } /** + * + * *
      * The desired Identity Service component configuration.
      * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder> + com.google.container.v1beta1.IdentityServiceConfig, + com.google.container.v1beta1.IdentityServiceConfig.Builder, + com.google.container.v1beta1.IdentityServiceConfigOrBuilder> getDesiredIdentityServiceConfigFieldBuilder() { if (desiredIdentityServiceConfigBuilder_ == null) { - desiredIdentityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.IdentityServiceConfig, com.google.container.v1beta1.IdentityServiceConfig.Builder, com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( - getDesiredIdentityServiceConfig(), - getParentForChildren(), - isClean()); + desiredIdentityServiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.IdentityServiceConfig, + com.google.container.v1beta1.IdentityServiceConfig.Builder, + com.google.container.v1beta1.IdentityServiceConfigOrBuilder>( + getDesiredIdentityServiceConfig(), getParentForChildren(), isClean()); desiredIdentityServiceConfig_ = null; } return desiredIdentityServiceConfigBuilder_; } - private boolean desiredEnablePrivateEndpoint_ ; + private boolean desiredEnablePrivateEndpoint_; /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return Whether the desiredEnablePrivateEndpoint field is set. */ @java.lang.Override @@ -9742,11 +11705,14 @@ public boolean hasDesiredEnablePrivateEndpoint() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return The desiredEnablePrivateEndpoint. */ @java.lang.Override @@ -9754,11 +11720,14 @@ public boolean getDesiredEnablePrivateEndpoint() { return desiredEnablePrivateEndpoint_; } /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @param value The desiredEnablePrivateEndpoint to set. * @return This builder for chaining. */ @@ -9769,11 +11738,14 @@ public Builder setDesiredEnablePrivateEndpoint(boolean value) { return this; } /** + * + * *
      * Enable/Disable private endpoint for the cluster's master.
      * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return This builder for chaining. */ public Builder clearDesiredEnablePrivateEndpoint() { @@ -9785,44 +11757,62 @@ public Builder clearDesiredEnablePrivateEndpoint() { private com.google.container.v1beta1.NetworkTags desiredNodePoolAutoConfigNetworkTags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> desiredNodePoolAutoConfigNetworkTagsBuilder_; + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder> + desiredNodePoolAutoConfigNetworkTagsBuilder_; /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ public boolean hasDesiredNodePoolAutoConfigNetworkTags() { - return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null || desiredNodePoolAutoConfigNetworkTags_ != null; + return desiredNodePoolAutoConfigNetworkTagsBuilder_ != null + || desiredNodePoolAutoConfigNetworkTags_ != null; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return The desiredNodePoolAutoConfigNetworkTags. */ public com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - return desiredNodePoolAutoConfigNetworkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; } else { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessage(); } } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public Builder setDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1beta1.NetworkTags value) { + public Builder setDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1beta1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9836,12 +11826,15 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1be return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ public Builder setDesiredNodePoolAutoConfigNetworkTags( com.google.container.v1beta1.NetworkTags.Builder builderForValue) { @@ -9855,18 +11848,25 @@ public Builder setDesiredNodePoolAutoConfigNetworkTags( return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public Builder mergeDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1beta1.NetworkTags value) { + public Builder mergeDesiredNodePoolAutoConfigNetworkTags( + com.google.container.v1beta1.NetworkTags value) { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { if (desiredNodePoolAutoConfigNetworkTags_ != null) { desiredNodePoolAutoConfigNetworkTags_ = - com.google.container.v1beta1.NetworkTags.newBuilder(desiredNodePoolAutoConfigNetworkTags_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NetworkTags.newBuilder( + desiredNodePoolAutoConfigNetworkTags_) + .mergeFrom(value) + .buildPartial(); } else { desiredNodePoolAutoConfigNetworkTags_ = value; } @@ -9878,12 +11878,15 @@ public Builder mergeDesiredNodePoolAutoConfigNetworkTags(com.google.container.v1 return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { @@ -9897,51 +11900,66 @@ public Builder clearDesiredNodePoolAutoConfigNetworkTags() { return this; } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public com.google.container.v1beta1.NetworkTags.Builder getDesiredNodePoolAutoConfigNetworkTagsBuilder() { - + public com.google.container.v1beta1.NetworkTags.Builder + getDesiredNodePoolAutoConfigNetworkTagsBuilder() { + onChanged(); return getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder().getBuilder(); } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - public com.google.container.v1beta1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { + public com.google.container.v1beta1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ != null) { return desiredNodePoolAutoConfigNetworkTagsBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolAutoConfigNetworkTags_ == null ? - com.google.container.v1beta1.NetworkTags.getDefaultInstance() : desiredNodePoolAutoConfigNetworkTags_; + return desiredNodePoolAutoConfigNetworkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : desiredNodePoolAutoConfigNetworkTags_; } } /** + * + * *
      * The desired network tags that apply to all auto-provisioned node pools
      * in autopilot clusters and node auto-provisioning enabled clusters.
      * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder> getDesiredNodePoolAutoConfigNetworkTagsFieldBuilder() { if (desiredNodePoolAutoConfigNetworkTagsBuilder_ == null) { - desiredNodePoolAutoConfigNetworkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder>( - getDesiredNodePoolAutoConfigNetworkTags(), - getParentForChildren(), - isClean()); + desiredNodePoolAutoConfigNetworkTagsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder>( + getDesiredNodePoolAutoConfigNetworkTags(), getParentForChildren(), isClean()); desiredNodePoolAutoConfigNetworkTags_ = null; } return desiredNodePoolAutoConfigNetworkTagsBuilder_; @@ -9949,34 +11967,47 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getDesiredNodePoolAutoC private com.google.container.v1beta1.ProtectConfig desiredProtectConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> desiredProtectConfigBuilder_; + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder> + desiredProtectConfigBuilder_; /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * * @return Whether the desiredProtectConfig field is set. */ public boolean hasDesiredProtectConfig() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * * @return The desiredProtectConfig. */ public com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig() { if (desiredProtectConfigBuilder_ == null) { - return desiredProtectConfig_ == null ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; } else { return desiredProtectConfigBuilder_.getMessage(); } } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -9997,6 +12028,8 @@ public Builder setDesiredProtectConfig(com.google.container.v1beta1.ProtectConfi return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -10015,6 +12048,8 @@ public Builder setDesiredProtectConfig( return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -10023,11 +12058,14 @@ public Builder setDesiredProtectConfig( */ public Builder mergeDesiredProtectConfig(com.google.container.v1beta1.ProtectConfig value) { if (desiredProtectConfigBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - desiredProtectConfig_ != null && - desiredProtectConfig_ != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && desiredProtectConfig_ != null + && desiredProtectConfig_ + != com.google.container.v1beta1.ProtectConfig.getDefaultInstance()) { desiredProtectConfig_ = - com.google.container.v1beta1.ProtectConfig.newBuilder(desiredProtectConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ProtectConfig.newBuilder(desiredProtectConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredProtectConfig_ = value; } @@ -10039,6 +12077,8 @@ public Builder mergeDesiredProtectConfig(com.google.container.v1beta1.ProtectCon return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -10056,6 +12096,8 @@ public Builder clearDesiredProtectConfig() { return this; } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -10068,6 +12110,8 @@ public com.google.container.v1beta1.ProtectConfig.Builder getDesiredProtectConfi return getDesiredProtectConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -10078,11 +12122,14 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConf if (desiredProtectConfigBuilder_ != null) { return desiredProtectConfigBuilder_.getMessageOrBuilder(); } else { - return desiredProtectConfig_ == null ? - com.google.container.v1beta1.ProtectConfig.getDefaultInstance() : desiredProtectConfig_; + return desiredProtectConfig_ == null + ? com.google.container.v1beta1.ProtectConfig.getDefaultInstance() + : desiredProtectConfig_; } } /** + * + * *
      * Enable/Disable Protect API features for the cluster.
      * 
@@ -10090,14 +12137,17 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConf * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder> + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder> getDesiredProtectConfigFieldBuilder() { if (desiredProtectConfigBuilder_ == null) { - desiredProtectConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ProtectConfig, com.google.container.v1beta1.ProtectConfig.Builder, com.google.container.v1beta1.ProtectConfigOrBuilder>( - getDesiredProtectConfig(), - getParentForChildren(), - isClean()); + desiredProtectConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ProtectConfig, + com.google.container.v1beta1.ProtectConfig.Builder, + com.google.container.v1beta1.ProtectConfigOrBuilder>( + getDesiredProtectConfig(), getParentForChildren(), isClean()); desiredProtectConfig_ = null; } return desiredProtectConfigBuilder_; @@ -10105,34 +12155,47 @@ public com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConf private com.google.container.v1beta1.GatewayAPIConfig desiredGatewayApiConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> desiredGatewayApiConfigBuilder_; + com.google.container.v1beta1.GatewayAPIConfig, + com.google.container.v1beta1.GatewayAPIConfig.Builder, + com.google.container.v1beta1.GatewayAPIConfigOrBuilder> + desiredGatewayApiConfigBuilder_; /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return Whether the desiredGatewayApiConfig field is set. */ public boolean hasDesiredGatewayApiConfig() { return desiredGatewayApiConfigBuilder_ != null || desiredGatewayApiConfig_ != null; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return The desiredGatewayApiConfig. */ public com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig() { if (desiredGatewayApiConfigBuilder_ == null) { - return desiredGatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null + ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() + : desiredGatewayApiConfig_; } else { return desiredGatewayApiConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10153,6 +12216,8 @@ public Builder setDesiredGatewayApiConfig(com.google.container.v1beta1.GatewayAP return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10171,17 +12236,22 @@ public Builder setDesiredGatewayApiConfig( return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ - public Builder mergeDesiredGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConfig value) { + public Builder mergeDesiredGatewayApiConfig( + com.google.container.v1beta1.GatewayAPIConfig value) { if (desiredGatewayApiConfigBuilder_ == null) { if (desiredGatewayApiConfig_ != null) { desiredGatewayApiConfig_ = - com.google.container.v1beta1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GatewayAPIConfig.newBuilder(desiredGatewayApiConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredGatewayApiConfig_ = value; } @@ -10193,6 +12263,8 @@ public Builder mergeDesiredGatewayApiConfig(com.google.container.v1beta1.Gateway return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10211,33 +12283,42 @@ public Builder clearDesiredGatewayApiConfig() { return this; } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ - public com.google.container.v1beta1.GatewayAPIConfig.Builder getDesiredGatewayApiConfigBuilder() { - + public com.google.container.v1beta1.GatewayAPIConfig.Builder + getDesiredGatewayApiConfigBuilder() { + onChanged(); return getDesiredGatewayApiConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ - public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder() { + public com.google.container.v1beta1.GatewayAPIConfigOrBuilder + getDesiredGatewayApiConfigOrBuilder() { if (desiredGatewayApiConfigBuilder_ != null) { return desiredGatewayApiConfigBuilder_.getMessageOrBuilder(); } else { - return desiredGatewayApiConfig_ == null ? - com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : desiredGatewayApiConfig_; + return desiredGatewayApiConfig_ == null + ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() + : desiredGatewayApiConfig_; } } /** + * + * *
      * The desired config of Gateway API on this cluster.
      * 
@@ -10245,14 +12326,17 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayA * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> + com.google.container.v1beta1.GatewayAPIConfig, + com.google.container.v1beta1.GatewayAPIConfig.Builder, + com.google.container.v1beta1.GatewayAPIConfigOrBuilder> getDesiredGatewayApiConfigFieldBuilder() { if (desiredGatewayApiConfigBuilder_ == null) { - desiredGatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder>( - getDesiredGatewayApiConfig(), - getParentForChildren(), - isClean()); + desiredGatewayApiConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GatewayAPIConfig, + com.google.container.v1beta1.GatewayAPIConfig.Builder, + com.google.container.v1beta1.GatewayAPIConfigOrBuilder>( + getDesiredGatewayApiConfig(), getParentForChildren(), isClean()); desiredGatewayApiConfig_ = null; } return desiredGatewayApiConfigBuilder_; @@ -10260,41 +12344,58 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayA private com.google.container.v1beta1.NodePoolLoggingConfig desiredNodePoolLoggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> desiredNodePoolLoggingConfigBuilder_; + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + desiredNodePoolLoggingConfigBuilder_; /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return Whether the desiredNodePoolLoggingConfig field is set. */ public boolean hasDesiredNodePoolLoggingConfig() { return desiredNodePoolLoggingConfigBuilder_ != null || desiredNodePoolLoggingConfig_ != null; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return The desiredNodePoolLoggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - return desiredNodePoolLoggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : desiredNodePoolLoggingConfig_; } else { return desiredNodePoolLoggingConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public Builder setDesiredNodePoolLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConfig value) { + public Builder setDesiredNodePoolLoggingConfig( + com.google.container.v1beta1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -10308,11 +12409,14 @@ public Builder setDesiredNodePoolLoggingConfig(com.google.container.v1beta1.Node return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ public Builder setDesiredNodePoolLoggingConfig( com.google.container.v1beta1.NodePoolLoggingConfig.Builder builderForValue) { @@ -10326,17 +12430,24 @@ public Builder setDesiredNodePoolLoggingConfig( return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public Builder mergeDesiredNodePoolLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConfig value) { + public Builder mergeDesiredNodePoolLoggingConfig( + com.google.container.v1beta1.NodePoolLoggingConfig value) { if (desiredNodePoolLoggingConfigBuilder_ == null) { if (desiredNodePoolLoggingConfig_ != null) { desiredNodePoolLoggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(desiredNodePoolLoggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder( + desiredNodePoolLoggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { desiredNodePoolLoggingConfig_ = value; } @@ -10348,11 +12459,14 @@ public Builder mergeDesiredNodePoolLoggingConfig(com.google.container.v1beta1.No return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ public Builder clearDesiredNodePoolLoggingConfig() { if (desiredNodePoolLoggingConfigBuilder_ == null) { @@ -10366,55 +12480,70 @@ public Builder clearDesiredNodePoolLoggingConfig() { return this; } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getDesiredNodePoolLoggingConfigBuilder() { - + public com.google.container.v1beta1.NodePoolLoggingConfig.Builder + getDesiredNodePoolLoggingConfigBuilder() { + onChanged(); return getDesiredNodePoolLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder() { + public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder + getDesiredNodePoolLoggingConfigOrBuilder() { if (desiredNodePoolLoggingConfigBuilder_ != null) { return desiredNodePoolLoggingConfigBuilder_.getMessageOrBuilder(); } else { - return desiredNodePoolLoggingConfig_ == null ? - com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : desiredNodePoolLoggingConfig_; + return desiredNodePoolLoggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : desiredNodePoolLoggingConfig_; } } /** + * + * *
      * The desired node pool logging configuration defaults for the cluster.
      * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getDesiredNodePoolLoggingConfigFieldBuilder() { if (desiredNodePoolLoggingConfigBuilder_ == null) { - desiredNodePoolLoggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getDesiredNodePoolLoggingConfig(), - getParentForChildren(), - isClean()); + desiredNodePoolLoggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getDesiredNodePoolLoggingConfig(), getParentForChildren(), isClean()); desiredNodePoolLoggingConfig_ = null; } return desiredNodePoolLoggingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -10424,12 +12553,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ClusterUpdate) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ClusterUpdate) private static final com.google.container.v1beta1.ClusterUpdate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ClusterUpdate(); } @@ -10438,27 +12567,27 @@ public static com.google.container.v1beta1.ClusterUpdate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterUpdate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterUpdate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -10473,6 +12602,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ClusterUpdate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 82% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterUpdateOrBuilder.java index 5e299779d076..39dada4f53d1 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ClusterUpdateOrBuilder extends +public interface ClusterUpdateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClusterUpdate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -21,10 +39,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_version = 4; + * * @return The desiredNodeVersion. */ java.lang.String getDesiredNodeVersion(); /** + * + * *
    * The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -38,12 +59,14 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_version = 4; + * * @return The bytes for desiredNodeVersion. */ - com.google.protobuf.ByteString - getDesiredNodeVersionBytes(); + com.google.protobuf.ByteString getDesiredNodeVersionBytes(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -57,10 +80,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_monitoring_service = 5; + * * @return The desiredMonitoringService. */ java.lang.String getDesiredMonitoringService(); /** + * + * *
    * The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -74,30 +100,38 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_monitoring_service = 5; + * * @return The bytes for desiredMonitoringService. */ - com.google.protobuf.ByteString - getDesiredMonitoringServiceBytes(); + com.google.protobuf.ByteString getDesiredMonitoringServiceBytes(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; + * * @return Whether the desiredAddonsConfig field is set. */ boolean hasDesiredAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
* * .google.container.v1beta1.AddonsConfig desired_addons_config = 6; + * * @return The desiredAddonsConfig. */ com.google.container.v1beta1.AddonsConfig getDesiredAddonsConfig(); /** + * + * *
    * Configurations for the various addons available to run in the cluster.
    * 
@@ -107,6 +141,8 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder(); /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -115,10 +151,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_pool_id = 7; + * * @return The desiredNodePoolId. */ java.lang.String getDesiredNodePoolId(); /** + * + * *
    * The node pool to be upgraded. This field is mandatory if
    * "desired_node_version", "desired_image_family",
@@ -127,34 +166,41 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_node_pool_id = 7; + * * @return The bytes for desiredNodePoolId. */ - com.google.protobuf.ByteString - getDesiredNodePoolIdBytes(); + com.google.protobuf.ByteString getDesiredNodePoolIdBytes(); /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The desiredImageType. */ java.lang.String getDesiredImageType(); /** + * + * *
    * The desired image type for the node pool.
    * NOTE: Set the "desired_node_pool" field as well.
    * 
* * string desired_image_type = 8; + * * @return The bytes for desiredImageType. */ - com.google.protobuf.ByteString - getDesiredImageTypeBytes(); + com.google.protobuf.ByteString getDesiredImageTypeBytes(); /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -163,10 +209,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return Whether the desiredNodePoolAutoscaling field is set. */ boolean hasDesiredNodePoolAutoscaling(); /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -175,10 +224,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; + * * @return The desiredNodePoolAutoscaling. */ com.google.container.v1beta1.NodePoolAutoscaling getDesiredNodePoolAutoscaling(); /** + * + * *
    * Autoscaler configuration for the node pool specified in
    * desired_node_pool_id. If there is only one pool in the
@@ -188,9 +240,12 @@ public interface ClusterUpdateOrBuilder extends
    *
    * .google.container.v1beta1.NodePoolAutoscaling desired_node_pool_autoscaling = 9;
    */
-  com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder();
+  com.google.container.v1beta1.NodePoolAutoscalingOrBuilder
+      getDesiredNodePoolAutoscalingOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -201,11 +256,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @return A list containing the desiredLocations. */ - java.util.List - getDesiredLocationsList(); + java.util.List getDesiredLocationsList(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -216,10 +273,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @return The count of desiredLocations. */ int getDesiredLocationsCount(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -230,11 +290,14 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the element to return. * @return The desiredLocations at the given index. */ java.lang.String getDesiredLocations(int index); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -245,85 +308,124 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * repeated string desired_locations = 10; + * * @param index The index of the value to return. * @return The bytes of the desiredLocations at the given index. */ - com.google.protobuf.ByteString - getDesiredLocationsBytes(int index); + com.google.protobuf.ByteString getDesiredLocationsBytes(int index); /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ boolean hasDesiredMasterAuthorizedNetworksConfig(); /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * * @return The desiredMasterAuthorizedNetworksConfig. */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig + getDesiredMasterAuthorizedNetworksConfig(); /** + * + * *
    * The desired configuration options for master authorized networks feature.
    * 
* - * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * + * .google.container.v1beta1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; + * */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder + getDesiredMasterAuthorizedNetworksConfigOrBuilder(); /** + * + * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * * @return Whether the desiredPodSecurityPolicyConfig field is set. */ boolean hasDesiredPodSecurityPolicyConfig(); /** + * + * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * * @return The desiredPodSecurityPolicyConfig. */ com.google.container.v1beta1.PodSecurityPolicyConfig getDesiredPodSecurityPolicyConfig(); /** + * + * *
    * The desired configuration options for the PodSecurityPolicy feature.
    * 
* - * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * + * .google.container.v1beta1.PodSecurityPolicyConfig desired_pod_security_policy_config = 14; + * */ - com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder getDesiredPodSecurityPolicyConfigOrBuilder(); + com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder + getDesiredPodSecurityPolicyConfigOrBuilder(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return Whether the desiredClusterAutoscaling field is set. */ boolean hasDesiredClusterAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
* * .google.container.v1beta1.ClusterAutoscaling desired_cluster_autoscaling = 15; + * * @return The desiredClusterAutoscaling. */ com.google.container.v1beta1.ClusterAutoscaling getDesiredClusterAutoscaling(); /** + * + * *
    * Cluster-level autoscaling configuration.
    * 
@@ -333,33 +435,44 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder(); /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; + * * @return Whether the desiredBinaryAuthorization field is set. */ boolean hasDesiredBinaryAuthorization(); /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; + * * @return The desiredBinaryAuthorization. */ com.google.container.v1beta1.BinaryAuthorization getDesiredBinaryAuthorization(); /** + * + * *
    * The desired configuration options for the Binary Authorization feature.
    * 
* * .google.container.v1beta1.BinaryAuthorization desired_binary_authorization = 16; */ - com.google.container.v1beta1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder(); + com.google.container.v1beta1.BinaryAuthorizationOrBuilder + getDesiredBinaryAuthorizationOrBuilder(); /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -373,10 +486,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_logging_service = 19; + * * @return The desiredLoggingService. */ java.lang.String getDesiredLoggingService(); /** + * + * *
    * The logging service the cluster should use to write logs.
    * Currently available options:
@@ -390,138 +506,200 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_logging_service = 19; + * * @return The bytes for desiredLoggingService. */ - com.google.protobuf.ByteString - getDesiredLoggingServiceBytes(); + com.google.protobuf.ByteString getDesiredLoggingServiceBytes(); /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return Whether the desiredResourceUsageExportConfig field is set. */ boolean hasDesiredResourceUsageExportConfig(); /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * * @return The desiredResourceUsageExportConfig. */ com.google.container.v1beta1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig(); /** + * + * *
    * The desired configuration for exporting resource usage.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * + * .google.container.v1beta1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; + * */ - com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder + getDesiredResourceUsageExportConfigOrBuilder(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return Whether the desiredVerticalPodAutoscaling field is set. */ boolean hasDesiredVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * + * * @return The desiredVerticalPodAutoscaling. */ com.google.container.v1beta1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling(); /** + * + * *
    * Cluster-level Vertical Pod Autoscaling configuration.
    * 
* - * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * .google.container.v1beta1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; + * */ - com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder(); + com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder + getDesiredVerticalPodAutoscalingOrBuilder(); /** + * + * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * + * * @return Whether the desiredPrivateClusterConfig field is set. */ boolean hasDesiredPrivateClusterConfig(); /** + * + * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * + * * @return The desiredPrivateClusterConfig. */ com.google.container.v1beta1.PrivateClusterConfig getDesiredPrivateClusterConfig(); /** + * + * *
    * The desired private cluster configuration.
    * 
* - * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * .google.container.v1beta1.PrivateClusterConfig desired_private_cluster_config = 25; + * */ - com.google.container.v1beta1.PrivateClusterConfigOrBuilder getDesiredPrivateClusterConfigOrBuilder(); + com.google.container.v1beta1.PrivateClusterConfigOrBuilder + getDesiredPrivateClusterConfigOrBuilder(); /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ boolean hasDesiredIntraNodeVisibilityConfig(); /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * * @return The desiredIntraNodeVisibilityConfig. */ com.google.container.v1beta1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig(); /** + * + * *
    * The desired config of Intra-node visibility.
    * 
* - * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * + * .google.container.v1beta1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; + * */ - com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder(); + com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder + getDesiredIntraNodeVisibilityConfigOrBuilder(); /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return Whether the desiredDefaultSnatStatus field is set. */ boolean hasDesiredDefaultSnatStatus(); /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
* * .google.container.v1beta1.DefaultSnatStatus desired_default_snat_status = 28; + * * @return The desiredDefaultSnatStatus. */ com.google.container.v1beta1.DefaultSnatStatus getDesiredDefaultSnatStatus(); /** + * + * *
    * The desired status of whether to disable default sNAT for this cluster.
    * 
@@ -531,24 +709,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDesiredDefaultSnatStatusOrBuilder(); /** + * + * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; + * * @return Whether the desiredClusterTelemetry field is set. */ boolean hasDesiredClusterTelemetry(); /** + * + * *
    * The desired telemetry integration for the cluster.
    * 
* * .google.container.v1beta1.ClusterTelemetry desired_cluster_telemetry = 30; + * * @return The desiredClusterTelemetry. */ com.google.container.v1beta1.ClusterTelemetry getDesiredClusterTelemetry(); /** + * + * *
    * The desired telemetry integration for the cluster.
    * 
@@ -558,24 +744,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.ClusterTelemetryOrBuilder getDesiredClusterTelemetryOrBuilder(); /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; + * * @return Whether the desiredReleaseChannel field is set. */ boolean hasDesiredReleaseChannel(); /** + * + * *
    * The desired release channel configuration.
    * 
* * .google.container.v1beta1.ReleaseChannel desired_release_channel = 31; + * * @return The desiredReleaseChannel. */ com.google.container.v1beta1.ReleaseChannel getDesiredReleaseChannel(); /** + * + * *
    * The desired release channel configuration.
    * 
@@ -585,24 +779,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.ReleaseChannelOrBuilder getDesiredReleaseChannelOrBuilder(); /** + * + * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; + * * @return Whether the desiredTpuConfig field is set. */ boolean hasDesiredTpuConfig(); /** + * + * *
    * The desired Cloud TPU configuration.
    * 
* * .google.container.v1beta1.TpuConfig desired_tpu_config = 38; + * * @return The desiredTpuConfig. */ com.google.container.v1beta1.TpuConfig getDesiredTpuConfig(); /** + * + * *
    * The desired Cloud TPU configuration.
    * 
@@ -612,89 +814,125 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.TpuConfigOrBuilder getDesiredTpuConfigOrBuilder(); /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * + * * @return Whether the desiredL4ilbSubsettingConfig field is set. */ boolean hasDesiredL4IlbSubsettingConfig(); /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * + * * @return The desiredL4ilbSubsettingConfig. */ com.google.container.v1beta1.ILBSubsettingConfig getDesiredL4IlbSubsettingConfig(); /** + * + * *
    * The desired L4 Internal Load Balancer Subsetting configuration.
    * 
* - * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * .google.container.v1beta1.ILBSubsettingConfig desired_l4ilb_subsetting_config = 39; + * */ - com.google.container.v1beta1.ILBSubsettingConfigOrBuilder getDesiredL4IlbSubsettingConfigOrBuilder(); + com.google.container.v1beta1.ILBSubsettingConfigOrBuilder + getDesiredL4IlbSubsettingConfigOrBuilder(); /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @return The enum numeric value on the wire for desiredDatapathProvider. */ int getDesiredDatapathProviderValue(); /** + * + * *
    * The desired datapath provider for the cluster.
    * 
* * .google.container.v1beta1.DatapathProvider desired_datapath_provider = 50; + * * @return The desiredDatapathProvider. */ com.google.container.v1beta1.DatapathProvider getDesiredDatapathProvider(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The enum numeric value on the wire for desiredPrivateIpv6GoogleAccess. */ int getDesiredPrivateIpv6GoogleAccessValue(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * .google.container.v1beta1.PrivateIPv6GoogleAccess desired_private_ipv6_google_access = 51; + * + * * @return The desiredPrivateIpv6GoogleAccess. */ com.google.container.v1beta1.PrivateIPv6GoogleAccess getDesiredPrivateIpv6GoogleAccess(); /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; + * * @return Whether the desiredNotificationConfig field is set. */ boolean hasDesiredNotificationConfig(); /** + * + * *
    * The desired notification configuration.
    * 
* * .google.container.v1beta1.NotificationConfig desired_notification_config = 55; + * * @return The desiredNotificationConfig. */ com.google.container.v1beta1.NotificationConfig getDesiredNotificationConfig(); /** + * + * *
    * The desired notification configuration.
    * 
@@ -704,6 +942,8 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.NotificationConfigOrBuilder getDesiredNotificationConfigOrBuilder(); /** + * + * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -717,10 +957,13 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_master_version = 100; + * * @return The desiredMasterVersion. */ java.lang.String getDesiredMasterVersion(); /** + * + * *
    * The Kubernetes version to change the master to. The only valid value is the
    * latest supported version.
@@ -734,30 +977,38 @@ public interface ClusterUpdateOrBuilder extends
    * 
* * string desired_master_version = 100; + * * @return The bytes for desiredMasterVersion. */ - com.google.protobuf.ByteString - getDesiredMasterVersionBytes(); + com.google.protobuf.ByteString getDesiredMasterVersionBytes(); /** + * + * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; + * * @return Whether the desiredGcfsConfig field is set. */ boolean hasDesiredGcfsConfig(); /** + * + * *
    * The desired GCFS config for the cluster.
    * 
* * .google.container.v1beta1.GcfsConfig desired_gcfs_config = 109; + * * @return The desiredGcfsConfig. */ com.google.container.v1beta1.GcfsConfig getDesiredGcfsConfig(); /** + * + * *
    * The desired GCFS config for the cluster.
    * 
@@ -767,24 +1018,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.GcfsConfigOrBuilder getDesiredGcfsConfigOrBuilder(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; + * * @return Whether the desiredDatabaseEncryption field is set. */ boolean hasDesiredDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption desired_database_encryption = 46; + * * @return The desiredDatabaseEncryption. */ com.google.container.v1beta1.DatabaseEncryption getDesiredDatabaseEncryption(); /** + * + * *
    * Configuration of etcd encryption.
    * 
@@ -794,53 +1053,73 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder(); /** + * + * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return Whether the desiredWorkloadIdentityConfig field is set. */ boolean hasDesiredWorkloadIdentityConfig(); /** + * + * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * + * * @return The desiredWorkloadIdentityConfig. */ com.google.container.v1beta1.WorkloadIdentityConfig getDesiredWorkloadIdentityConfig(); /** + * + * *
    * Configuration for Workload Identity.
    * 
* - * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * .google.container.v1beta1.WorkloadIdentityConfig desired_workload_identity_config = 47; + * */ - com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder getDesiredWorkloadIdentityConfigOrBuilder(); + com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder + getDesiredWorkloadIdentityConfigOrBuilder(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * * @return Whether the desiredWorkloadCertificates field is set. */ boolean hasDesiredWorkloadCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61; + * * @return The desiredWorkloadCertificates. */ com.google.container.v1beta1.WorkloadCertificates getDesiredWorkloadCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -848,29 +1127,38 @@ public interface ClusterUpdateOrBuilder extends
    *
    * .google.container.v1beta1.WorkloadCertificates desired_workload_certificates = 61;
    */
-  com.google.container.v1beta1.WorkloadCertificatesOrBuilder getDesiredWorkloadCertificatesOrBuilder();
+  com.google.container.v1beta1.WorkloadCertificatesOrBuilder
+      getDesiredWorkloadCertificatesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; + * * @return Whether the desiredMeshCertificates field is set. */ boolean hasDesiredMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
    * 
* * .google.container.v1beta1.MeshCertificates desired_mesh_certificates = 67; + * * @return The desiredMeshCertificates. */ com.google.container.v1beta1.MeshCertificates getDesiredMeshCertificates(); /** + * + * *
    * Configuration for issuance of mTLS keys and certificates to Kubernetes
    * pods.
@@ -881,24 +1169,32 @@ public interface ClusterUpdateOrBuilder extends
   com.google.container.v1beta1.MeshCertificatesOrBuilder getDesiredMeshCertificatesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * * @return Whether the desiredWorkloadAltsConfig field is set. */ boolean hasDesiredWorkloadAltsConfig(); /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * .google.container.v1beta1.WorkloadALTSConfig desired_workload_alts_config = 62; + * * @return The desiredWorkloadAltsConfig. */ com.google.container.v1beta1.WorkloadALTSConfig getDesiredWorkloadAltsConfig(); /** + * + * *
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
@@ -908,24 +1204,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.WorkloadALTSConfigOrBuilder getDesiredWorkloadAltsConfigOrBuilder(); /** + * + * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * * @return Whether the desiredShieldedNodes field is set. */ boolean hasDesiredShieldedNodes(); /** + * + * *
    * Configuration for Shielded Nodes.
    * 
* * .google.container.v1beta1.ShieldedNodes desired_shielded_nodes = 48; + * * @return The desiredShieldedNodes. */ com.google.container.v1beta1.ShieldedNodes getDesiredShieldedNodes(); /** + * + * *
    * Configuration for Shielded Nodes.
    * 
@@ -935,51 +1239,71 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.ShieldedNodesOrBuilder getDesiredShieldedNodesOrBuilder(); /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * * @return Whether the desiredCostManagementConfig field is set. */ boolean hasDesiredCostManagementConfig(); /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * + * * @return The desiredCostManagementConfig. */ com.google.container.v1beta1.CostManagementConfig getDesiredCostManagementConfig(); /** + * + * *
    * The desired configuration for the fine-grained cost management feature.
    * 
* - * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * .google.container.v1beta1.CostManagementConfig desired_cost_management_config = 49; + * */ - com.google.container.v1beta1.CostManagementConfigOrBuilder getDesiredCostManagementConfigOrBuilder(); + com.google.container.v1beta1.CostManagementConfigOrBuilder + getDesiredCostManagementConfigOrBuilder(); /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; + * * @return Whether the desiredMaster field is set. */ boolean hasDesiredMaster(); /** + * + * *
    * Configuration for master components.
    * 
* * .google.container.v1beta1.Master desired_master = 52; + * * @return The desiredMaster. */ com.google.container.v1beta1.Master getDesiredMaster(); /** + * + * *
    * Configuration for master components.
    * 
@@ -989,24 +1313,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.MasterOrBuilder getDesiredMasterOrBuilder(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; + * * @return Whether the desiredDnsConfig field is set. */ boolean hasDesiredDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig desired_dns_config = 53; + * * @return The desiredDnsConfig. */ com.google.container.v1beta1.DNSConfig getDesiredDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -1016,84 +1348,122 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.DNSConfigOrBuilder getDesiredDnsConfigOrBuilder(); /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return Whether the desiredServiceExternalIpsConfig field is set. */ boolean hasDesiredServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * * @return The desiredServiceExternalIpsConfig. */ com.google.container.v1beta1.ServiceExternalIPsConfig getDesiredServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies the config for the use of Services with
    * ExternalIPs field.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * + * .google.container.v1beta1.ServiceExternalIPsConfig desired_service_external_ips_config = 60; + * */ - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getDesiredServiceExternalIpsConfigOrBuilder(); + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder + getDesiredServiceExternalIpsConfigOrBuilder(); /** + * + * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return Whether the desiredAuthenticatorGroupsConfig field is set. */ boolean hasDesiredAuthenticatorGroupsConfig(); /** + * + * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * * @return The desiredAuthenticatorGroupsConfig. */ com.google.container.v1beta1.AuthenticatorGroupsConfig getDesiredAuthenticatorGroupsConfig(); /** + * + * *
    * AuthenticatorGroupsConfig specifies the config for the cluster security
    * groups settings.
    * 
* - * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * + * .google.container.v1beta1.AuthenticatorGroupsConfig desired_authenticator_groups_config = 63; + * */ - com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder getDesiredAuthenticatorGroupsConfigOrBuilder(); + com.google.container.v1beta1.AuthenticatorGroupsConfigOrBuilder + getDesiredAuthenticatorGroupsConfigOrBuilder(); /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; + * * @return Whether the desiredLoggingConfig field is set. */ boolean hasDesiredLoggingConfig(); /** + * + * *
    * The desired logging configuration.
    * 
* * .google.container.v1beta1.LoggingConfig desired_logging_config = 64; + * * @return The desiredLoggingConfig. */ com.google.container.v1beta1.LoggingConfig getDesiredLoggingConfig(); /** + * + * *
    * The desired logging configuration.
    * 
@@ -1103,24 +1473,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.LoggingConfigOrBuilder getDesiredLoggingConfigOrBuilder(); /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; + * * @return Whether the desiredMonitoringConfig field is set. */ boolean hasDesiredMonitoringConfig(); /** + * + * *
    * The desired monitoring configuration.
    * 
* * .google.container.v1beta1.MonitoringConfig desired_monitoring_config = 65; + * * @return The desiredMonitoringConfig. */ com.google.container.v1beta1.MonitoringConfig getDesiredMonitoringConfig(); /** + * + * *
    * The desired monitoring configuration.
    * 
@@ -1130,100 +1508,138 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.MonitoringConfigOrBuilder getDesiredMonitoringConfigOrBuilder(); /** + * + * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * + * * @return Whether the desiredIdentityServiceConfig field is set. */ boolean hasDesiredIdentityServiceConfig(); /** + * + * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * + * * @return The desiredIdentityServiceConfig. */ com.google.container.v1beta1.IdentityServiceConfig getDesiredIdentityServiceConfig(); /** + * + * *
    * The desired Identity Service component configuration.
    * 
* - * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * .google.container.v1beta1.IdentityServiceConfig desired_identity_service_config = 66; + * */ - com.google.container.v1beta1.IdentityServiceConfigOrBuilder getDesiredIdentityServiceConfigOrBuilder(); + com.google.container.v1beta1.IdentityServiceConfigOrBuilder + getDesiredIdentityServiceConfigOrBuilder(); /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return Whether the desiredEnablePrivateEndpoint field is set. */ boolean hasDesiredEnablePrivateEndpoint(); /** + * + * *
    * Enable/Disable private endpoint for the cluster's master.
    * 
* * optional bool desired_enable_private_endpoint = 71; + * * @return The desiredEnablePrivateEndpoint. */ boolean getDesiredEnablePrivateEndpoint(); /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return Whether the desiredNodePoolAutoConfigNetworkTags field is set. */ boolean hasDesiredNodePoolAutoConfigNetworkTags(); /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * + * * @return The desiredNodePoolAutoConfigNetworkTags. */ com.google.container.v1beta1.NetworkTags getDesiredNodePoolAutoConfigNetworkTags(); /** + * + * *
    * The desired network tags that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters.
    * 
* - * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * .google.container.v1beta1.NetworkTags desired_node_pool_auto_config_network_tags = 110; + * */ - com.google.container.v1beta1.NetworkTagsOrBuilder getDesiredNodePoolAutoConfigNetworkTagsOrBuilder(); + com.google.container.v1beta1.NetworkTagsOrBuilder + getDesiredNodePoolAutoConfigNetworkTagsOrBuilder(); /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * * @return Whether the desiredProtectConfig field is set. */ boolean hasDesiredProtectConfig(); /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
* * optional .google.container.v1beta1.ProtectConfig desired_protect_config = 112; + * * @return The desiredProtectConfig. */ com.google.container.v1beta1.ProtectConfig getDesiredProtectConfig(); /** + * + * *
    * Enable/Disable Protect API features for the cluster.
    * 
@@ -1233,24 +1649,32 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.ProtectConfigOrBuilder getDesiredProtectConfigOrBuilder(); /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return Whether the desiredGatewayApiConfig field is set. */ boolean hasDesiredGatewayApiConfig(); /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig desired_gateway_api_config = 114; + * * @return The desiredGatewayApiConfig. */ com.google.container.v1beta1.GatewayAPIConfig getDesiredGatewayApiConfig(); /** + * + * *
    * The desired config of Gateway API on this cluster.
    * 
@@ -1260,29 +1684,41 @@ public interface ClusterUpdateOrBuilder extends com.google.container.v1beta1.GatewayAPIConfigOrBuilder getDesiredGatewayApiConfigOrBuilder(); /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return Whether the desiredNodePoolLoggingConfig field is set. */ boolean hasDesiredNodePoolLoggingConfig(); /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * + * * @return The desiredNodePoolLoggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getDesiredNodePoolLoggingConfig(); /** + * + * *
    * The desired node pool logging configuration defaults for the cluster.
    * 
* - * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * .google.container.v1beta1.NodePoolLoggingConfig desired_node_pool_logging_config = 116; + * */ - com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getDesiredNodePoolLoggingConfigOrBuilder(); + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder + getDesiredNodePoolLoggingConfigOrBuilder(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequest.java index 1f3182ff100b..372badf1db04 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
  * 
* * Protobuf type {@code google.container.v1beta1.CompleteIPRotationRequest} */ -public final class CompleteIPRotationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompleteIPRotationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CompleteIPRotationRequest) CompleteIPRotationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompleteIPRotationRequest.newBuilder() to construct. private CompleteIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompleteIPRotationRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private CompleteIPRotationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompleteIPRotationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CompleteIPRotationRequest.class, com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1beta1.CompleteIPRotationRequest.class, + com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +254,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -230,30 +271,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +303,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +357,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CompleteIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CompleteIPRotationRequest other = (com.google.container.v1beta1.CompleteIPRotationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.CompleteIPRotationRequest other = + (com.google.container.v1beta1.CompleteIPRotationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,129 +394,136 @@ public int hashCode() { } public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( 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.CompleteIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CompleteIPRotationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CompleteIPRotationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CompleteIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CompleteIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.CompleteIPRotationRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.CompleteIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CompleteIPRotationRequest moves the cluster master back into single-IP mode.
    * 
* * Protobuf type {@code google.container.v1beta1.CompleteIPRotationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CompleteIPRotationRequest) com.google.container.v1beta1.CompleteIPRotationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CompleteIPRotationRequest.class, com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); + com.google.container.v1beta1.CompleteIPRotationRequest.class, + com.google.container.v1beta1.CompleteIPRotationRequest.Builder.class); } // Construct using com.google.container.v1beta1.CompleteIPRotationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; } @java.lang.Override @@ -515,7 +560,8 @@ public com.google.container.v1beta1.CompleteIPRotationRequest build() { @java.lang.Override public com.google.container.v1beta1.CompleteIPRotationRequest buildPartial() { - com.google.container.v1beta1.CompleteIPRotationRequest result = new com.google.container.v1beta1.CompleteIPRotationRequest(this); + com.google.container.v1beta1.CompleteIPRotationRequest result = + new com.google.container.v1beta1.CompleteIPRotationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +574,39 @@ public com.google.container.v1beta1.CompleteIPRotationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CompleteIPRotationRequest) { - return mergeFrom((com.google.container.v1beta1.CompleteIPRotationRequest)other); + return mergeFrom((com.google.container.v1beta1.CompleteIPRotationRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +614,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CompleteIPRotationRequest other) { - if (other == com.google.container.v1beta1.CompleteIPRotationRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.CompleteIPRotationRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -610,32 +658,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 58: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 58: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,22 +701,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,24 +729,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,66 +757,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +837,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +847,16 @@ public Builder mergeFrom(
      * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +865,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +875,17 @@ public Builder mergeFrom(
      * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +893,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +903,25 @@ public Builder mergeFrom(
      * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +930,21 @@ public Builder mergeFrom(
      * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +953,19 @@ public Builder mergeFrom(
      * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +973,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +1000,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1027,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1104,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1127,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1150,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to complete IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1224,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CompleteIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CompleteIPRotationRequest) private static final com.google.container.v1beta1.CompleteIPRotationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CompleteIPRotationRequest(); } @@ -1120,27 +1238,27 @@ public static com.google.container.v1beta1.CompleteIPRotationRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1273,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.CompleteIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteIPRotationRequestOrBuilder.java index 68a2495ba8ae..02c8716899e9 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface CompleteIPRotationRequestOrBuilder extends +public interface CompleteIPRotationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CompleteIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4131 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4131 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface CompleteIPRotationRequestOrBuilder extends
    * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +89,73 @@ public interface CompleteIPRotationRequestOrBuilder extends
    * 
* * 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=4140 + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4140 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4147 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CompleteIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4147 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to complete IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java index 7bf4e6943b9f..36c694feb641 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
  * upgrade.
@@ -11,47 +28,52 @@
  *
  * Protobuf type {@code google.container.v1beta1.CompleteNodePoolUpgradeRequest}
  */
-public final class CompleteNodePoolUpgradeRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CompleteNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.CompleteNodePoolUpgradeRequest)
     CompleteNodePoolUpgradeRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CompleteNodePoolUpgradeRequest.newBuilder() to construct.
-  private CompleteNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CompleteNodePoolUpgradeRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CompleteNodePoolUpgradeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CompleteNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class,
+            com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -82,16 +106,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -100,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -136,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CompleteNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other = (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) obj; + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other = + (com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,96 +187,104 @@ public int hashCode() { } public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( 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.CompleteNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.CompleteNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
    * upgrade.
@@ -261,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.CompleteNodePoolUpgradeRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CompleteNodePoolUpgradeRequest)
       com.google.container.v1beta1.CompleteNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class,
+              com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,9 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -318,7 +348,8 @@ public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1beta1.CompleteNodePoolUpgradeRequest result = new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(this);
+      com.google.container.v1beta1.CompleteNodePoolUpgradeRequest result =
+          new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,38 +359,39 @@ public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1beta1.CompleteNodePoolUpgradeRequest)other);
+        return mergeFrom((com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -367,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -398,17 +431,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -421,6 +456,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -428,13 +465,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -443,6 +480,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -450,15 +489,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -466,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -473,20 +513,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -494,15 +536,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * complete upgrade.
@@ -510,23 +555,23 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -536,12 +581,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CompleteNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CompleteNodePoolUpgradeRequest) private static final com.google.container.v1beta1.CompleteNodePoolUpgradeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CompleteNodePoolUpgradeRequest(); } @@ -550,27 +595,27 @@ public static com.google.container.v1beta1.CompleteNodePoolUpgradeRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompleteNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompleteNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -585,6 +630,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.CompleteNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java index bf2754a63d4f..c0b9e9994b69 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CompleteNodePoolUpgradeRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface CompleteNodePoolUpgradeRequestOrBuilder extends +public interface CompleteNodePoolUpgradeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CompleteNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -15,10 +33,13 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * complete upgrade.
@@ -26,8 +47,8 @@ public interface CompleteNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java index 90ad5cc17022..d91a55907402 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodes.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ConfidentialNodes is configuration for the confidential nodes feature, which
  * makes nodes run on confidential VMs.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.ConfidentialNodes}
  */
-public final class ConfidentialNodes extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ConfidentialNodes extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ConfidentialNodes)
     ConfidentialNodesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ConfidentialNodes.newBuilder() to construct.
   private ConfidentialNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ConfidentialNodes() {
-  }
+
+  private ConfidentialNodes() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConfidentialNodes();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ConfidentialNodes.class, com.google.container.v1beta1.ConfidentialNodes.Builder.class);
+            com.google.container.v1beta1.ConfidentialNodes.class,
+            com.google.container.v1beta1.ConfidentialNodes.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Whether Confidential Nodes feature is enabled.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ConfidentialNodes)) { return super.equals(obj); } - com.google.container.v1beta1.ConfidentialNodes other = (com.google.container.v1beta1.ConfidentialNodes) obj; + com.google.container.v1beta1.ConfidentialNodes other = + (com.google.container.v1beta1.ConfidentialNodes) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ConfidentialNodes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfidentialNodes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ConfidentialNodes parseFrom( 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.ConfidentialNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ConfidentialNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ConfidentialNodes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ConfidentialNodes parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ConfidentialNodes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ConfidentialNodes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ConfidentialNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ConfidentialNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ConfidentialNodes is configuration for the confidential nodes feature, which
    * makes nodes run on confidential VMs.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ConfidentialNodes}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ConfidentialNodes)
       com.google.container.v1beta1.ConfidentialNodesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ConfidentialNodes.class, com.google.container.v1beta1.ConfidentialNodes.Builder.class);
+              com.google.container.v1beta1.ConfidentialNodes.class,
+              com.google.container.v1beta1.ConfidentialNodes.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ConfidentialNodes.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ConfidentialNodes_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1beta1.ConfidentialNodes build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ConfidentialNodes buildPartial() {
-      com.google.container.v1beta1.ConfidentialNodes result = new com.google.container.v1beta1.ConfidentialNodes(this);
+      com.google.container.v1beta1.ConfidentialNodes result =
+          new com.google.container.v1beta1.ConfidentialNodes(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1beta1.ConfidentialNodes buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ConfidentialNodes) {
-        return mergeFrom((com.google.container.v1beta1.ConfidentialNodes)other);
+        return mergeFrom((com.google.container.v1beta1.ConfidentialNodes) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,17 +390,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +413,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +430,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Confidential Nodes feature is enabled.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ConfidentialNodes) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ConfidentialNodes) private static final com.google.container.v1beta1.ConfidentialNodes DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ConfidentialNodes(); } @@ -452,27 +490,27 @@ public static com.google.container.v1beta1.ConfidentialNodes getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfidentialNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfidentialNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ConfidentialNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java new file mode 100644 index 000000000000..9927f84752c7 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfidentialNodesOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ConfidentialNodesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ConfidentialNodes) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Confidential Nodes feature is enabled.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java index 38c5468d62cc..e0b6a76edb99 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration options for the Config Connector add-on.
  * 
* * Protobuf type {@code google.container.v1beta1.ConfigConnectorConfig} */ -public final class ConfigConnectorConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConfigConnectorConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ConfigConnectorConfig) ConfigConnectorConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConfigConnectorConfig.newBuilder() to construct. private ConfigConnectorConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConfigConnectorConfig() { - } + + private ConfigConnectorConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConfigConnectorConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ConfigConnectorConfig.class, com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); + com.google.container.v1beta1.ConfigConnectorConfig.class, + com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Cloud Connector is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ConfigConnectorConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ConfigConnectorConfig other = (com.google.container.v1beta1.ConfigConnectorConfig) obj; + com.google.container.v1beta1.ConfigConnectorConfig other = + (com.google.container.v1beta1.ConfigConnectorConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ConfigConnectorConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( 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.ConfigConnectorConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ConfigConnectorConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ConfigConnectorConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ConfigConnectorConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ConfigConnectorConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ConfigConnectorConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the Config Connector add-on.
    * 
* * Protobuf type {@code google.container.v1beta1.ConfigConnectorConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ConfigConnectorConfig) com.google.container.v1beta1.ConfigConnectorConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ConfigConnectorConfig.class, com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); + com.google.container.v1beta1.ConfigConnectorConfig.class, + com.google.container.v1beta1.ConfigConnectorConfig.Builder.class); } // Construct using com.google.container.v1beta1.ConfigConnectorConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.ConfigConnectorConfig build() { @java.lang.Override public com.google.container.v1beta1.ConfigConnectorConfig buildPartial() { - com.google.container.v1beta1.ConfigConnectorConfig result = new com.google.container.v1beta1.ConfigConnectorConfig(this); + com.google.container.v1beta1.ConfigConnectorConfig result = + new com.google.container.v1beta1.ConfigConnectorConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.ConfigConnectorConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ConfigConnectorConfig) { - return mergeFrom((com.google.container.v1beta1.ConfigConnectorConfig)other); + return mergeFrom((com.google.container.v1beta1.ConfigConnectorConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ConfigConnectorConfig other) { - if (other == com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ConfigConnectorConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Cloud Connector is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ConfigConnectorConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ConfigConnectorConfig) private static final com.google.container.v1beta1.ConfigConnectorConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ConfigConnectorConfig(); } @@ -450,27 +489,27 @@ public static com.google.container.v1beta1.ConfigConnectorConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConfigConnectorConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConfigConnectorConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ConfigConnectorConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java new file mode 100644 index 000000000000..03bbc8fc52df --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ConfigConnectorConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ConfigConnectorConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Cloud Connector is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java index 9e73e1928b63..09b2064c2ac6 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for fine-grained cost management feature.
  * 
* * Protobuf type {@code google.container.v1beta1.CostManagementConfig} */ -public final class CostManagementConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CostManagementConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CostManagementConfig) CostManagementConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CostManagementConfig.newBuilder() to construct. private CostManagementConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CostManagementConfig() { - } + + private CostManagementConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CostManagementConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CostManagementConfig.class, com.google.container.v1beta1.CostManagementConfig.Builder.class); + com.google.container.v1beta1.CostManagementConfig.class, + com.google.container.v1beta1.CostManagementConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the feature is enabled or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CostManagementConfig)) { return super.equals(obj); } - com.google.container.v1beta1.CostManagementConfig other = (com.google.container.v1beta1.CostManagementConfig) obj; + com.google.container.v1beta1.CostManagementConfig other = + (com.google.container.v1beta1.CostManagementConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.CostManagementConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CostManagementConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CostManagementConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CostManagementConfig parseFrom( 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.CostManagementConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CostManagementConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.CostManagementConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CostManagementConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CostManagementConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CostManagementConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CostManagementConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CostManagementConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.CostManagementConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CostManagementConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.CostManagementConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for fine-grained cost management feature.
    * 
* * Protobuf type {@code google.container.v1beta1.CostManagementConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CostManagementConfig) com.google.container.v1beta1.CostManagementConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CostManagementConfig.class, com.google.container.v1beta1.CostManagementConfig.Builder.class); + com.google.container.v1beta1.CostManagementConfig.class, + com.google.container.v1beta1.CostManagementConfig.Builder.class); } // Construct using com.google.container.v1beta1.CostManagementConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CostManagementConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CostManagementConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.CostManagementConfig build() { @java.lang.Override public com.google.container.v1beta1.CostManagementConfig buildPartial() { - com.google.container.v1beta1.CostManagementConfig result = new com.google.container.v1beta1.CostManagementConfig(this); + com.google.container.v1beta1.CostManagementConfig result = + new com.google.container.v1beta1.CostManagementConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.CostManagementConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CostManagementConfig) { - return mergeFrom((com.google.container.v1beta1.CostManagementConfig)other); + return mergeFrom((com.google.container.v1beta1.CostManagementConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CostManagementConfig other) { - if (other == com.google.container.v1beta1.CostManagementConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.CostManagementConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the feature is enabled or not.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CostManagementConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CostManagementConfig) private static final com.google.container.v1beta1.CostManagementConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CostManagementConfig(); } @@ -450,27 +489,27 @@ public static com.google.container.v1beta1.CostManagementConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CostManagementConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CostManagementConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CostManagementConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java new file mode 100644 index 000000000000..ec715bfa4659 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface CostManagementConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CostManagementConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the feature is enabled or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequest.java index 09d4eb954005..e9306ef0771c 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * CreateClusterRequest creates a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.CreateClusterRequest} */ -public final class CreateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CreateClusterRequest) CreateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -27,76 +45,84 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateClusterRequest.class, com.google.container.v1beta1.CreateClusterRequest.Builder.class); + com.google.container.v1beta1.CreateClusterRequest.class, + com.google.container.v1beta1.CreateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -115,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -141,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,12 +194,16 @@ protected java.lang.Object newInstance( public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.container.v1beta1.Cluster cluster_; /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ @java.lang.Override @@ -176,12 +211,16 @@ public boolean hasCluster() { return cluster_ != null; } /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ @java.lang.Override @@ -189,12 +228,15 @@ public com.google.container.v1beta1.Cluster getCluster() { return cluster_ == null ? com.google.container.v1beta1.Cluster.getDefaultInstance() : cluster_; } /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { @@ -204,12 +246,15 @@ public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -218,30 +263,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -250,6 +295,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +307,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -291,8 +336,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, parent_); @@ -305,24 +349,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CreateClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CreateClusterRequest other = (com.google.container.v1beta1.CreateClusterRequest) obj; + com.google.container.v1beta1.CreateClusterRequest other = + (com.google.container.v1beta1.CreateClusterRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster() - .equals(other.getCluster())) return false; + if (!getCluster().equals(other.getCluster())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -350,129 +391,135 @@ public int hashCode() { } public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CreateClusterRequest parseFrom( 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.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.CreateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CreateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CreateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CreateClusterRequest creates a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.CreateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CreateClusterRequest) com.google.container.v1beta1.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateClusterRequest.class, com.google.container.v1beta1.CreateClusterRequest.Builder.class); + com.google.container.v1beta1.CreateClusterRequest.class, + com.google.container.v1beta1.CreateClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.CreateClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -492,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; } @java.lang.Override @@ -513,7 +560,8 @@ public com.google.container.v1beta1.CreateClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.CreateClusterRequest buildPartial() { - com.google.container.v1beta1.CreateClusterRequest result = new com.google.container.v1beta1.CreateClusterRequest(this); + com.google.container.v1beta1.CreateClusterRequest result = + new com.google.container.v1beta1.CreateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; if (clusterBuilder_ == null) { @@ -530,38 +578,39 @@ public com.google.container.v1beta1.CreateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CreateClusterRequest) { - return mergeFrom((com.google.container.v1beta1.CreateClusterRequest)other); + return mergeFrom((com.google.container.v1beta1.CreateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -569,7 +618,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CreateClusterRequest other) { - if (other == com.google.container.v1beta1.CreateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.CreateClusterRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -611,34 +661,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 42: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -651,22 +704,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -675,24 +732,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -700,66 +760,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -767,6 +840,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -775,15 +850,16 @@ public Builder mergeFrom(
      * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -792,6 +868,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -800,17 +878,17 @@ public Builder mergeFrom(
      * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -818,6 +896,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -826,22 +906,25 @@ public Builder mergeFrom(
      * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -850,17 +933,21 @@ public Builder mergeFrom(
      * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -869,18 +956,19 @@ public Builder mergeFrom(
      * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -888,42 +976,61 @@ public Builder mergeFrom( private com.google.container.v1beta1.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> clusterBuilder_; + com.google.container.v1beta1.Cluster, + com.google.container.v1beta1.Cluster.Builder, + com.google.container.v1beta1.ClusterOrBuilder> + clusterBuilder_; /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ public boolean hasCluster() { return clusterBuilder_ != null || cluster_ != null; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ public com.google.container.v1beta1.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null ? com.google.container.v1beta1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.container.v1beta1.Cluster.getDefaultInstance() + : cluster_; } else { return clusterBuilder_.getMessage(); } } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCluster(com.google.container.v1beta1.Cluster value) { if (clusterBuilder_ == null) { @@ -939,15 +1046,18 @@ public Builder setCluster(com.google.container.v1beta1.Cluster value) { return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCluster( - com.google.container.v1beta1.Cluster.Builder builderForValue) { + public Builder setCluster(com.google.container.v1beta1.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); onChanged(); @@ -958,18 +1068,24 @@ public Builder setCluster( return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCluster(com.google.container.v1beta1.Cluster value) { if (clusterBuilder_ == null) { if (cluster_ != null) { cluster_ = - com.google.container.v1beta1.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.Cluster.newBuilder(cluster_) + .mergeFrom(value) + .buildPartial(); } else { cluster_ = value; } @@ -981,12 +1097,16 @@ public Builder mergeCluster(com.google.container.v1beta1.Cluster value) { return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCluster() { if (clusterBuilder_ == null) { @@ -1000,51 +1120,67 @@ public Builder clearCluster() { return this; } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.Cluster.Builder getClusterBuilder() { - + onChanged(); return getClusterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null ? - com.google.container.v1beta1.Cluster.getDefaultInstance() : cluster_; + return cluster_ == null + ? com.google.container.v1beta1.Cluster.getDefaultInstance() + : cluster_; } } /** + * + * *
      * Required. A [cluster
      * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
      * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> + com.google.container.v1beta1.Cluster, + com.google.container.v1beta1.Cluster.Builder, + com.google.container.v1beta1.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder>( - getCluster(), - getParentForChildren(), - isClean()); + clusterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.Cluster, + com.google.container.v1beta1.Cluster.Builder, + com.google.container.v1beta1.ClusterOrBuilder>( + getCluster(), getParentForChildren(), isClean()); cluster_ = null; } return clusterBuilder_; @@ -1052,19 +1188,21 @@ public com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1073,21 +1211,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1095,64 +1234,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the cluster will be created.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string parent = 5; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1162,12 +1308,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CreateClusterRequest) private static final com.google.container.v1beta1.CreateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CreateClusterRequest(); } @@ -1176,27 +1322,27 @@ public static com.google.container.v1beta1.CreateClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1211,6 +1357,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateClusterRequestOrBuilder.java index bfff89dac84d..66ca3c7ac6c2 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface CreateClusterRequestOrBuilder extends +public interface CreateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2363 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2363 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,62 +89,79 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * 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=2372 + * + * @deprecated google.container.v1beta1.CreateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2372 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the cluster field is set. */ boolean hasCluster(); /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The cluster. */ com.google.container.v1beta1.Cluster getCluster(); /** + * + * *
    * Required. A [cluster
    * resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
    * 
* - * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * .google.container.v1beta1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.ClusterOrBuilder getClusterOrBuilder(); /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project and location) where the cluster will be created.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequest.java index 7af7c4276d9d..135d030b9d5d 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * CreateNodePoolRequest creates a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.CreateNodePoolRequest} */ -public final class CreateNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.CreateNodePoolRequest) CreateNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateNodePoolRequest.newBuilder() to construct. private CreateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private CreateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateNodePoolRequest.class, com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); + com.google.container.v1beta1.CreateNodePoolRequest.class, + com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,11 +254,16 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodePool nodePool_; /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the nodePool field is set. */ @java.lang.Override @@ -228,23 +271,34 @@ public boolean hasNodePool() { return nodePool_ != null; } /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The nodePool. */ @java.lang.Override public com.google.container.v1beta1.NodePool getNodePool() { - return nodePool_ == null ? com.google.container.v1beta1.NodePool.getDefaultInstance() : nodePool_; + return nodePool_ == null + ? com.google.container.v1beta1.NodePool.getDefaultInstance() + : nodePool_; } /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { @@ -254,6 +308,8 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { public static final int PARENT_FIELD_NUMBER = 6; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -261,6 +317,7 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() {
    * 
* * string parent = 6; + * * @return The parent. */ @java.lang.Override @@ -269,14 +326,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -284,16 +342,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 6; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -302,6 +359,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +371,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -349,8 +406,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (nodePool_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNodePool()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNodePool()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, parent_); @@ -363,26 +419,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.CreateNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1beta1.CreateNodePoolRequest other = (com.google.container.v1beta1.CreateNodePoolRequest) obj; + com.google.container.v1beta1.CreateNodePoolRequest other = + (com.google.container.v1beta1.CreateNodePoolRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasNodePool() != other.hasNodePool()) return false; if (hasNodePool()) { - if (!getNodePool() - .equals(other.getNodePool())) return false; + if (!getNodePool().equals(other.getNodePool())) return false; } - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -412,129 +464,135 @@ public int hashCode() { } public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.CreateNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( 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.CreateNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.CreateNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.CreateNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CreateNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.CreateNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.CreateNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CreateNodePoolRequest creates a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.CreateNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.CreateNodePoolRequest) com.google.container.v1beta1.CreateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.CreateNodePoolRequest.class, com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); + com.google.container.v1beta1.CreateNodePoolRequest.class, + com.google.container.v1beta1.CreateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.CreateNodePoolRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -556,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; } @java.lang.Override @@ -577,7 +635,8 @@ public com.google.container.v1beta1.CreateNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.CreateNodePoolRequest buildPartial() { - com.google.container.v1beta1.CreateNodePoolRequest result = new com.google.container.v1beta1.CreateNodePoolRequest(this); + com.google.container.v1beta1.CreateNodePoolRequest result = + new com.google.container.v1beta1.CreateNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -595,38 +654,39 @@ public com.google.container.v1beta1.CreateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.CreateNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.CreateNodePoolRequest)other); + return mergeFrom((com.google.container.v1beta1.CreateNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -634,7 +694,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.CreateNodePoolRequest other) { - if (other == com.google.container.v1beta1.CreateNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.CreateNodePoolRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -680,39 +741,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getNodePoolFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getNodePoolFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 50: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,22 +790,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -749,24 +818,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -774,66 +846,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -841,6 +926,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -849,15 +936,16 @@ public Builder mergeFrom(
      * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -866,6 +954,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +964,17 @@ public Builder mergeFrom(
      * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -892,6 +982,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,22 +992,25 @@ public Builder mergeFrom(
      * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,17 +1019,21 @@ public Builder mergeFrom(
      * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,18 +1042,19 @@ public Builder mergeFrom(
      * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,21 +1062,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -985,23 +1089,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,63 +1116,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1073,39 +1193,58 @@ public Builder mergeFrom( private com.google.container.v1beta1.NodePool nodePool_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> nodePoolBuilder_; + com.google.container.v1beta1.NodePool, + com.google.container.v1beta1.NodePool.Builder, + com.google.container.v1beta1.NodePoolOrBuilder> + nodePoolBuilder_; /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the nodePool field is set. */ public boolean hasNodePool() { return nodePoolBuilder_ != null || nodePool_ != null; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The nodePool. */ public com.google.container.v1beta1.NodePool getNodePool() { if (nodePoolBuilder_ == null) { - return nodePool_ == null ? com.google.container.v1beta1.NodePool.getDefaultInstance() : nodePool_; + return nodePool_ == null + ? com.google.container.v1beta1.NodePool.getDefaultInstance() + : nodePool_; } else { return nodePoolBuilder_.getMessage(); } } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNodePool(com.google.container.v1beta1.NodePool value) { if (nodePoolBuilder_ == null) { @@ -1121,14 +1260,17 @@ public Builder setNodePool(com.google.container.v1beta1.NodePool value) { return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setNodePool( - com.google.container.v1beta1.NodePool.Builder builderForValue) { + public Builder setNodePool(com.google.container.v1beta1.NodePool.Builder builderForValue) { if (nodePoolBuilder_ == null) { nodePool_ = builderForValue.build(); onChanged(); @@ -1139,17 +1281,23 @@ public Builder setNodePool( return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNodePool(com.google.container.v1beta1.NodePool value) { if (nodePoolBuilder_ == null) { if (nodePool_ != null) { nodePool_ = - com.google.container.v1beta1.NodePool.newBuilder(nodePool_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePool.newBuilder(nodePool_) + .mergeFrom(value) + .buildPartial(); } else { nodePool_ = value; } @@ -1161,11 +1309,15 @@ public Builder mergeNodePool(com.google.container.v1beta1.NodePool value) { return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNodePool() { if (nodePoolBuilder_ == null) { @@ -1179,48 +1331,64 @@ public Builder clearNodePool() { return this; } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NodePool.Builder getNodePoolBuilder() { - + onChanged(); return getNodePoolFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { if (nodePoolBuilder_ != null) { return nodePoolBuilder_.getMessageOrBuilder(); } else { - return nodePool_ == null ? - com.google.container.v1beta1.NodePool.getDefaultInstance() : nodePool_; + return nodePool_ == null + ? com.google.container.v1beta1.NodePool.getDefaultInstance() + : nodePool_; } } /** + * + * *
      * Required. The node pool to create.
      * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> + com.google.container.v1beta1.NodePool, + com.google.container.v1beta1.NodePool.Builder, + com.google.container.v1beta1.NodePoolOrBuilder> getNodePoolFieldBuilder() { if (nodePoolBuilder_ == null) { - nodePoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder>( - getNodePool(), - getParentForChildren(), - isClean()); + nodePoolBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool, + com.google.container.v1beta1.NodePool.Builder, + com.google.container.v1beta1.NodePoolOrBuilder>( + getNodePool(), getParentForChildren(), isClean()); nodePool_ = null; } return nodePoolBuilder_; @@ -1228,6 +1396,8 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1235,13 +1405,13 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder() {
      * 
* * string parent = 6; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1250,6 +1420,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1257,15 +1429,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 6; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1273,6 +1444,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1280,20 +1453,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 6; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1301,15 +1476,18 @@ public Builder setParent(
      * 
* * string parent = 6; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pool will be
      * created. Specified in the format
@@ -1317,23 +1495,23 @@ public Builder clearParent() {
      * 
* * string parent = 6; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1343,12 +1521,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.CreateNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.CreateNodePoolRequest) private static final com.google.container.v1beta1.CreateNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.CreateNodePoolRequest(); } @@ -1357,27 +1535,27 @@ public static com.google.container.v1beta1.CreateNodePoolRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1392,6 +1570,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.CreateNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CreateNodePoolRequestOrBuilder.java index 5ce4b0fe647a..27dc4a055cd0 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface CreateNodePoolRequestOrBuilder extends +public interface CreateNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CreateNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3129 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3129 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,67 +89,93 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * 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=3138 + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3138 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3145 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.CreateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3145 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the nodePool field is set. */ boolean hasNodePool(); /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The nodePool. */ com.google.container.v1beta1.NodePool getNodePool(); /** + * + * *
    * Required. The node pool to create.
    * 
* - * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.NodePoolOrBuilder getNodePoolOrBuilder(); /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -126,10 +183,13 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string parent = 6; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project, location, cluster name) where the node pool will be
    * created. Specified in the format
@@ -137,8 +197,8 @@ public interface CreateNodePoolRequestOrBuilder extends
    * 
* * string parent = 6; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java index 610d3fd89979..96e3a32bb519 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * DNSConfig contains the desired set of options for configuring clusterDNS.
  * 
* * Protobuf type {@code google.container.v1beta1.DNSConfig} */ -public final class DNSConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DNSConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DNSConfig) DNSConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DNSConfig.newBuilder() to construct. private DNSConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DNSConfig() { clusterDns_ = 0; clusterDnsScope_ = 0; @@ -27,39 +45,43 @@ private DNSConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DNSConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DNSConfig.class, com.google.container.v1beta1.DNSConfig.Builder.class); + com.google.container.v1beta1.DNSConfig.class, + com.google.container.v1beta1.DNSConfig.Builder.class); } /** + * + * *
    * Provider lists the various in-cluster DNS providers.
    * 
* * Protobuf enum {@code google.container.v1beta1.DNSConfig.Provider} */ - public enum Provider - implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value
      * 
@@ -68,6 +90,8 @@ public enum Provider */ PROVIDER_UNSPECIFIED(0), /** + * + * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -76,6 +100,8 @@ public enum Provider */ PLATFORM_DEFAULT(1), /** + * + * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -87,6 +113,8 @@ public enum Provider ; /** + * + * *
      * Default value
      * 
@@ -95,6 +123,8 @@ public enum Provider */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Use GKE default DNS provider(kube-dns) for DNS resolution.
      * 
@@ -103,6 +133,8 @@ public enum Provider */ public static final int PLATFORM_DEFAULT_VALUE = 1; /** + * + * *
      * Use CloudDNS for DNS resolution.
      * 
@@ -111,7 +143,6 @@ public enum Provider */ public static final int CLOUD_DNS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,49 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: return PROVIDER_UNSPECIFIED; - case 1: return PLATFORM_DEFAULT; - case 2: return CLOUD_DNS; - default: return null; + case 0: + return PROVIDER_UNSPECIFIED; + case 1: + return PLATFORM_DEFAULT; + case 2: + return CLOUD_DNS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Provider> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.DNSConfig.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,15 +227,18 @@ private Provider(int value) { } /** + * + * *
    * DNSScope lists the various scopes of access to cluster DNS records.
    * 
* * Protobuf enum {@code google.container.v1beta1.DNSConfig.DNSScope} */ - public enum DNSScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum DNSScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -213,6 +247,8 @@ public enum DNSScope */ DNS_SCOPE_UNSPECIFIED(0), /** + * + * *
      * DNS records are accessible from within the cluster.
      * 
@@ -221,6 +257,8 @@ public enum DNSScope */ CLUSTER_SCOPE(1), /** + * + * *
      * DNS records are accessible from within the VPC.
      * 
@@ -232,6 +270,8 @@ public enum DNSScope ; /** + * + * *
      * Default value, will be inferred as cluster scope.
      * 
@@ -240,6 +280,8 @@ public enum DNSScope */ public static final int DNS_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * DNS records are accessible from within the cluster.
      * 
@@ -248,6 +290,8 @@ public enum DNSScope */ public static final int CLUSTER_SCOPE_VALUE = 1; /** + * + * *
      * DNS records are accessible from within the VPC.
      * 
@@ -256,7 +300,6 @@ public enum DNSScope */ public static final int VPC_SCOPE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -281,49 +324,49 @@ public static DNSScope valueOf(int value) { */ public static DNSScope forNumber(int value) { switch (value) { - case 0: return DNS_SCOPE_UNSPECIFIED; - case 1: return CLUSTER_SCOPE; - case 2: return VPC_SCOPE; - default: return null; + case 0: + return DNS_SCOPE_UNSPECIFIED; + case 1: + return CLUSTER_SCOPE; + case 2: + return VPC_SCOPE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - DNSScope> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public DNSScope findValueByNumber(int number) { - return DNSScope.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DNSScope findValueByNumber(int number) { + return DNSScope.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.DNSConfig.getDescriptor().getEnumTypes().get(1); } private static final DNSScope[] VALUES = values(); - public static DNSScope valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static DNSScope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -343,65 +386,86 @@ private DNSScope(int value) { public static final int CLUSTER_DNS_FIELD_NUMBER = 1; private int clusterDns_; /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override public int getClusterDnsValue() { + @java.lang.Override + public int getClusterDnsValue() { return clusterDns_; } /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @return The clusterDns. */ - @java.lang.Override public com.google.container.v1beta1.DNSConfig.Provider getClusterDns() { + @java.lang.Override + public com.google.container.v1beta1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.Provider result = com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1beta1.DNSConfig.Provider result = + com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1beta1.DNSConfig.Provider.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_SCOPE_FIELD_NUMBER = 2; private int clusterDnsScope_; /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override public int getClusterDnsScopeValue() { + @java.lang.Override + public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The clusterDnsScope. */ - @java.lang.Override public com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope() { + @java.lang.Override + public com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.DNSScope result = com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1beta1.DNSConfig.DNSScope result = + com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1beta1.DNSConfig.DNSScope.UNRECOGNIZED : result; } public static final int CLUSTER_DNS_DOMAIN_FIELD_NUMBER = 3; private volatile java.lang.Object clusterDnsDomain_; /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The clusterDnsDomain. */ @java.lang.Override @@ -410,29 +474,29 @@ public java.lang.String getClusterDnsDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; } } /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The bytes for clusterDnsDomain. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -441,6 +505,7 @@ public java.lang.String getClusterDnsDomain() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -452,12 +517,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (clusterDns_ != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (clusterDns_ + != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, clusterDns_); } - if (clusterDnsScope_ != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + if (clusterDnsScope_ + != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { @@ -472,13 +538,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (clusterDns_ != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, clusterDns_); + if (clusterDns_ + != com.google.container.v1beta1.DNSConfig.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, clusterDns_); } - if (clusterDnsScope_ != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, clusterDnsScope_); + if (clusterDnsScope_ + != com.google.container.v1beta1.DNSConfig.DNSScope.DNS_SCOPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, clusterDnsScope_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterDnsDomain_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterDnsDomain_); @@ -491,7 +557,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DNSConfig)) { return super.equals(obj); @@ -500,8 +566,7 @@ public boolean equals(final java.lang.Object obj) { if (clusterDns_ != other.clusterDns_) return false; if (clusterDnsScope_ != other.clusterDnsScope_) return false; - if (!getClusterDnsDomain() - .equals(other.getClusterDnsDomain())) return false; + if (!getClusterDnsDomain().equals(other.getClusterDnsDomain())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -524,130 +589,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.DNSConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DNSConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DNSConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DNSConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DNSConfig parseFrom( 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.DNSConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DNSConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.DNSConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DNSConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DNSConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DNSConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DNSConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DNSConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.DNSConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DNSConfig contains the desired set of options for configuring clusterDNS.
    * 
* * Protobuf type {@code google.container.v1beta1.DNSConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DNSConfig) com.google.container.v1beta1.DNSConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DNSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DNSConfig.class, com.google.container.v1beta1.DNSConfig.Builder.class); + com.google.container.v1beta1.DNSConfig.class, + com.google.container.v1beta1.DNSConfig.Builder.class); } // Construct using com.google.container.v1beta1.DNSConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -661,9 +732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DNSConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DNSConfig_descriptor; } @java.lang.Override @@ -682,7 +753,8 @@ public com.google.container.v1beta1.DNSConfig build() { @java.lang.Override public com.google.container.v1beta1.DNSConfig buildPartial() { - com.google.container.v1beta1.DNSConfig result = new com.google.container.v1beta1.DNSConfig(this); + com.google.container.v1beta1.DNSConfig result = + new com.google.container.v1beta1.DNSConfig(this); result.clusterDns_ = clusterDns_; result.clusterDnsScope_ = clusterDnsScope_; result.clusterDnsDomain_ = clusterDnsDomain_; @@ -694,38 +766,39 @@ public com.google.container.v1beta1.DNSConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DNSConfig) { - return mergeFrom((com.google.container.v1beta1.DNSConfig)other); + return mergeFrom((com.google.container.v1beta1.DNSConfig) other); } else { super.mergeFrom(other); return this; @@ -770,27 +843,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - clusterDns_ = input.readEnum(); - - break; - } // case 8 - case 16: { - clusterDnsScope_ = input.readEnum(); - - break; - } // case 16 - case 26: { - clusterDnsDomain_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + clusterDns_ = input.readEnum(); + + break; + } // case 8 + case 16: + { + clusterDnsScope_ = input.readEnum(); + + break; + } // case 16 + case 26: + { + clusterDnsDomain_ = input.readStringRequireUtf8(); + + 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) { @@ -803,51 +880,65 @@ public Builder mergeFrom( private int clusterDns_ = 0; /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @return The enum numeric value on the wire for clusterDns. */ - @java.lang.Override public int getClusterDnsValue() { + @java.lang.Override + public int getClusterDnsValue() { return clusterDns_; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @param value The enum numeric value on the wire for clusterDns to set. * @return This builder for chaining. */ public Builder setClusterDnsValue(int value) { - + clusterDns_ = value; onChanged(); return this; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @return The clusterDns. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig.Provider getClusterDns() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.Provider result = com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); + com.google.container.v1beta1.DNSConfig.Provider result = + com.google.container.v1beta1.DNSConfig.Provider.valueOf(clusterDns_); return result == null ? com.google.container.v1beta1.DNSConfig.Provider.UNRECOGNIZED : result; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @param value The clusterDns to set. * @return This builder for chaining. */ @@ -855,21 +946,24 @@ public Builder setClusterDns(com.google.container.v1beta1.DNSConfig.Provider val if (value == null) { throw new NullPointerException(); } - + clusterDns_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * cluster_dns indicates which in-cluster DNS provider should be used.
      * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @return This builder for chaining. */ public Builder clearClusterDns() { - + clusterDns_ = 0; onChanged(); return this; @@ -877,51 +971,65 @@ public Builder clearClusterDns() { private int clusterDnsScope_ = 0; /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The enum numeric value on the wire for clusterDnsScope. */ - @java.lang.Override public int getClusterDnsScopeValue() { + @java.lang.Override + public int getClusterDnsScopeValue() { return clusterDnsScope_; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @param value The enum numeric value on the wire for clusterDnsScope to set. * @return This builder for chaining. */ public Builder setClusterDnsScopeValue(int value) { - + clusterDnsScope_ = value; onChanged(); return this; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The clusterDnsScope. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DNSConfig.DNSScope result = com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); + com.google.container.v1beta1.DNSConfig.DNSScope result = + com.google.container.v1beta1.DNSConfig.DNSScope.valueOf(clusterDnsScope_); return result == null ? com.google.container.v1beta1.DNSConfig.DNSScope.UNRECOGNIZED : result; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @param value The clusterDnsScope to set. * @return This builder for chaining. */ @@ -929,21 +1037,24 @@ public Builder setClusterDnsScope(com.google.container.v1beta1.DNSConfig.DNSScop if (value == null) { throw new NullPointerException(); } - + clusterDnsScope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * cluster_dns_scope indicates the scope of access to cluster DNS records.
      * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return This builder for chaining. */ public Builder clearClusterDnsScope() { - + clusterDnsScope_ = 0; onChanged(); return this; @@ -951,18 +1062,20 @@ public Builder clearClusterDnsScope() { private java.lang.Object clusterDnsDomain_ = ""; /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @return The clusterDnsDomain. */ public java.lang.String getClusterDnsDomain() { java.lang.Object ref = clusterDnsDomain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterDnsDomain_ = s; return s; @@ -971,20 +1084,21 @@ public java.lang.String getClusterDnsDomain() { } } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @return The bytes for clusterDnsDomain. */ - public com.google.protobuf.ByteString - getClusterDnsDomainBytes() { + public com.google.protobuf.ByteString getClusterDnsDomainBytes() { java.lang.Object ref = clusterDnsDomain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterDnsDomain_ = b; return b; } else { @@ -992,61 +1106,68 @@ public java.lang.String getClusterDnsDomain() { } } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @param value The clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomain( - java.lang.String value) { + public Builder setClusterDnsDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterDnsDomain_ = value; onChanged(); return this; } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @return This builder for chaining. */ public Builder clearClusterDnsDomain() { - + clusterDnsDomain_ = getDefaultInstance().getClusterDnsDomain(); onChanged(); return this; } /** + * + * *
      * cluster_dns_domain is the suffix used for all cluster service records.
      * 
* * string cluster_dns_domain = 3; + * * @param value The bytes for clusterDnsDomain to set. * @return This builder for chaining. */ - public Builder setClusterDnsDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterDnsDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterDnsDomain_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1056,12 +1177,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DNSConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DNSConfig) private static final com.google.container.v1beta1.DNSConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DNSConfig(); } @@ -1070,27 +1191,27 @@ public static com.google.container.v1beta1.DNSConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DNSConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DNSConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1105,6 +1226,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DNSConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java index 990a3e6011e7..6c416db2f05f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DNSConfigOrBuilder.java @@ -1,67 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface DNSConfigOrBuilder extends +public interface DNSConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DNSConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @return The enum numeric value on the wire for clusterDns. */ int getClusterDnsValue(); /** + * + * *
    * cluster_dns indicates which in-cluster DNS provider should be used.
    * 
* * .google.container.v1beta1.DNSConfig.Provider cluster_dns = 1; + * * @return The clusterDns. */ com.google.container.v1beta1.DNSConfig.Provider getClusterDns(); /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The enum numeric value on the wire for clusterDnsScope. */ int getClusterDnsScopeValue(); /** + * + * *
    * cluster_dns_scope indicates the scope of access to cluster DNS records.
    * 
* * .google.container.v1beta1.DNSConfig.DNSScope cluster_dns_scope = 2; + * * @return The clusterDnsScope. */ com.google.container.v1beta1.DNSConfig.DNSScope getClusterDnsScope(); /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The clusterDnsDomain. */ java.lang.String getClusterDnsDomain(); /** + * + * *
    * cluster_dns_domain is the suffix used for all cluster service records.
    * 
* * string cluster_dns_domain = 3; + * * @return The bytes for clusterDnsDomain. */ - com.google.protobuf.ByteString - getClusterDnsDomainBytes(); + com.google.protobuf.ByteString getClusterDnsDomainBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java index f5ec0ec0b8bf..883cf835beb2 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindow.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Time window specified for daily maintenance operations.
  * 
* * Protobuf type {@code google.container.v1beta1.DailyMaintenanceWindow} */ -public final class DailyMaintenanceWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DailyMaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DailyMaintenanceWindow) DailyMaintenanceWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DailyMaintenanceWindow.newBuilder() to construct. private DailyMaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DailyMaintenanceWindow() { startTime_ = ""; duration_ = ""; @@ -26,38 +44,42 @@ private DailyMaintenanceWindow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DailyMaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DailyMaintenanceWindow.class, com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1beta1.DailyMaintenanceWindow.class, + com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); } public static final int START_TIME_FIELD_NUMBER = 2; private volatile java.lang.Object startTime_; /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -66,30 +88,30 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; + * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -100,12 +122,15 @@ public java.lang.String getStartTime() { public static final int DURATION_FIELD_NUMBER = 3; private volatile java.lang.Object duration_; /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; + * * @return The duration. */ @java.lang.Override @@ -114,30 +139,30 @@ public java.lang.String getDuration() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; } } /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; + * * @return The bytes for duration. */ @java.lang.Override - public com.google.protobuf.ByteString - getDurationBytes() { + public com.google.protobuf.ByteString getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); duration_ = b; return b; } else { @@ -146,6 +171,7 @@ public java.lang.String getDuration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startTime_); } @@ -188,17 +213,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DailyMaintenanceWindow)) { return super.equals(obj); } - com.google.container.v1beta1.DailyMaintenanceWindow other = (com.google.container.v1beta1.DailyMaintenanceWindow) obj; + com.google.container.v1beta1.DailyMaintenanceWindow other = + (com.google.container.v1beta1.DailyMaintenanceWindow) obj; - if (!getStartTime() - .equals(other.getStartTime())) return false; - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; + if (!getDuration().equals(other.getDuration())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,129 +244,135 @@ public int hashCode() { } public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DailyMaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( 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.DailyMaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DailyMaintenanceWindow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DailyMaintenanceWindow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DailyMaintenanceWindow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DailyMaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.DailyMaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Time window specified for daily maintenance operations.
    * 
* * Protobuf type {@code google.container.v1beta1.DailyMaintenanceWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DailyMaintenanceWindow) com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DailyMaintenanceWindow.class, com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); + com.google.container.v1beta1.DailyMaintenanceWindow.class, + com.google.container.v1beta1.DailyMaintenanceWindow.Builder.class); } // Construct using com.google.container.v1beta1.DailyMaintenanceWindow.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; } @java.lang.Override @@ -375,7 +405,8 @@ public com.google.container.v1beta1.DailyMaintenanceWindow build() { @java.lang.Override public com.google.container.v1beta1.DailyMaintenanceWindow buildPartial() { - com.google.container.v1beta1.DailyMaintenanceWindow result = new com.google.container.v1beta1.DailyMaintenanceWindow(this); + com.google.container.v1beta1.DailyMaintenanceWindow result = + new com.google.container.v1beta1.DailyMaintenanceWindow(this); result.startTime_ = startTime_; result.duration_ = duration_; onBuilt(); @@ -386,38 +417,39 @@ public com.google.container.v1beta1.DailyMaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DailyMaintenanceWindow) { - return mergeFrom((com.google.container.v1beta1.DailyMaintenanceWindow)other); + return mergeFrom((com.google.container.v1beta1.DailyMaintenanceWindow) other); } else { super.mergeFrom(other); return this; @@ -425,7 +457,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DailyMaintenanceWindow other) { - if (other == com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) + return this; if (!other.getStartTime().isEmpty()) { startTime_ = other.startTime_; onChanged(); @@ -460,22 +493,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - startTime_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - duration_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + startTime_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + duration_ = input.readStringRequireUtf8(); + + 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) { @@ -488,19 +524,21 @@ public Builder mergeFrom( private java.lang.Object startTime_ = ""; /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; + * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -509,21 +547,22 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; + * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -531,57 +570,64 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; + * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime( - java.lang.String value) { + public Builder setStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; + * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** + * + * *
      * Time within the maintenance window to start the maintenance operations.
      * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
      * 
* * string start_time = 2; + * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -589,19 +635,21 @@ public Builder setStartTimeBytes( private java.lang.Object duration_ = ""; /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; + * * @return The duration. */ public java.lang.String getDuration() { java.lang.Object ref = duration_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); duration_ = s; return s; @@ -610,21 +658,22 @@ public java.lang.String getDuration() { } } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; + * * @return The bytes for duration. */ - public com.google.protobuf.ByteString - getDurationBytes() { + public com.google.protobuf.ByteString getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); duration_ = b; return b; } else { @@ -632,64 +681,71 @@ public java.lang.String getDuration() { } } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; + * * @param value The duration to set. * @return This builder for chaining. */ - public Builder setDuration( - java.lang.String value) { + public Builder setDuration(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + duration_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; + * * @return This builder for chaining. */ public Builder clearDuration() { - + duration_ = getDefaultInstance().getDuration(); onChanged(); return this; } /** + * + * *
      * [Output only] Duration of the time window, automatically chosen to be
      * smallest possible in the given scenario.
      * 
* * string duration = 3; + * * @param value The bytes for duration to set. * @return This builder for chaining. */ - public Builder setDurationBytes( - com.google.protobuf.ByteString value) { + public Builder setDurationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + duration_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -699,12 +755,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DailyMaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DailyMaintenanceWindow) private static final com.google.container.v1beta1.DailyMaintenanceWindow DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DailyMaintenanceWindow(); } @@ -713,27 +769,27 @@ public static com.google.container.v1beta1.DailyMaintenanceWindow getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DailyMaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DailyMaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,6 +804,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DailyMaintenanceWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java index 3adc0bef37d2..68dea28b04a5 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DailyMaintenanceWindowOrBuilder.java @@ -1,53 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface DailyMaintenanceWindowOrBuilder extends +public interface DailyMaintenanceWindowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DailyMaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; + * * @return The startTime. */ java.lang.String getStartTime(); /** + * + * *
    * Time within the maintenance window to start the maintenance operations.
    * It must be in format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
    * 
* * string start_time = 2; + * * @return The bytes for startTime. */ - com.google.protobuf.ByteString - getStartTimeBytes(); + com.google.protobuf.ByteString getStartTimeBytes(); /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; + * * @return The duration. */ java.lang.String getDuration(); /** + * + * *
    * [Output only] Duration of the time window, automatically chosen to be
    * smallest possible in the given scenario.
    * 
* * string duration = 3; + * * @return The bytes for duration. */ - com.google.protobuf.ByteString - getDurationBytes(); + com.google.protobuf.ByteString getDurationBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java index 9d53524239e3..22ce462d4d7a 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryption.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration of etcd encryption.
  * 
* * Protobuf type {@code google.container.v1beta1.DatabaseEncryption} */ -public final class DatabaseEncryption extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DatabaseEncryption extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DatabaseEncryption) DatabaseEncryptionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DatabaseEncryption.newBuilder() to construct. private DatabaseEncryption(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DatabaseEncryption() { state_ = 0; keyName_ = ""; @@ -26,39 +44,43 @@ private DatabaseEncryption() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DatabaseEncryption(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DatabaseEncryption.class, com.google.container.v1beta1.DatabaseEncryption.Builder.class); + com.google.container.v1beta1.DatabaseEncryption.class, + com.google.container.v1beta1.DatabaseEncryption.Builder.class); } /** + * + * *
    * State of etcd encryption.
    * 
* * Protobuf enum {@code google.container.v1beta1.DatabaseEncryption.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Should never be set
      * 
@@ -67,6 +89,8 @@ public enum State */ UNKNOWN(0), /** + * + * *
      * Secrets in etcd are encrypted.
      * 
@@ -75,6 +99,8 @@ public enum State */ ENCRYPTED(1), /** + * + * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -87,6 +113,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Should never be set
      * 
@@ -95,6 +123,8 @@ public enum State */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * Secrets in etcd are encrypted.
      * 
@@ -103,6 +133,8 @@ public enum State */ public static final int ENCRYPTED_VALUE = 1; /** + * + * *
      * Secrets in etcd are stored in plain text (at etcd level) - this is
      * unrelated to Compute Engine level full disk encryption.
@@ -112,7 +144,6 @@ public enum State
      */
     public static final int DECRYPTED_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -137,49 +168,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return UNKNOWN;
-        case 1: return ENCRYPTED;
-        case 2: return DECRYPTED;
-        default: return null;
+        case 0:
+          return UNKNOWN;
+        case 1:
+          return ENCRYPTED;
+        case 2:
+          return DECRYPTED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.DatabaseEncryption.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -199,39 +230,53 @@ private State(int value) {
   public static final int STATE_FIELD_NUMBER = 2;
   private int state_;
   /**
+   *
+   *
    * 
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @return The state. */ - @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption.State getState() { + @java.lang.Override + public com.google.container.v1beta1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatabaseEncryption.State result = com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); - return result == null ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED : result; + com.google.container.v1beta1.DatabaseEncryption.State result = + com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); + return result == null + ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED + : result; } public static final int KEY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object keyName_; /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The keyName. */ @java.lang.Override @@ -240,30 +285,30 @@ public java.lang.String getKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; } } /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The bytes for keyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyNameBytes() { + public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyName_ = b; return b; } else { @@ -272,6 +317,7 @@ public java.lang.String getKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,8 +329,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyName_); } @@ -304,8 +349,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyName_); } if (state_ != com.google.container.v1beta1.DatabaseEncryption.State.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,16 +359,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DatabaseEncryption)) { return super.equals(obj); } - com.google.container.v1beta1.DatabaseEncryption other = (com.google.container.v1beta1.DatabaseEncryption) obj; + com.google.container.v1beta1.DatabaseEncryption other = + (com.google.container.v1beta1.DatabaseEncryption) obj; if (state_ != other.state_) return false; - if (!getKeyName() - .equals(other.getKeyName())) return false; + if (!getKeyName().equals(other.getKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -345,130 +389,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DatabaseEncryption parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DatabaseEncryption parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DatabaseEncryption parseFrom( 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.DatabaseEncryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.DatabaseEncryption parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DatabaseEncryption parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DatabaseEncryption parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DatabaseEncryption parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DatabaseEncryption parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DatabaseEncryption parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.DatabaseEncryption prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of etcd encryption.
    * 
* * Protobuf type {@code google.container.v1beta1.DatabaseEncryption} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DatabaseEncryption) com.google.container.v1beta1.DatabaseEncryptionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DatabaseEncryption.class, com.google.container.v1beta1.DatabaseEncryption.Builder.class); + com.google.container.v1beta1.DatabaseEncryption.class, + com.google.container.v1beta1.DatabaseEncryption.Builder.class); } // Construct using com.google.container.v1beta1.DatabaseEncryption.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +530,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; } @java.lang.Override @@ -501,7 +551,8 @@ public com.google.container.v1beta1.DatabaseEncryption build() { @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption buildPartial() { - com.google.container.v1beta1.DatabaseEncryption result = new com.google.container.v1beta1.DatabaseEncryption(this); + com.google.container.v1beta1.DatabaseEncryption result = + new com.google.container.v1beta1.DatabaseEncryption(this); result.state_ = state_; result.keyName_ = keyName_; onBuilt(); @@ -512,38 +563,39 @@ public com.google.container.v1beta1.DatabaseEncryption buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DatabaseEncryption) { - return mergeFrom((com.google.container.v1beta1.DatabaseEncryption)other); + return mergeFrom((com.google.container.v1beta1.DatabaseEncryption) other); } else { super.mergeFrom(other); return this; @@ -551,7 +603,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DatabaseEncryption other) { - if (other == com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.DatabaseEncryption.getDefaultInstance()) + return this; if (other.state_ != 0) { setStateValue(other.getStateValue()); } @@ -585,22 +638,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - keyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - state_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + keyName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + state_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -613,51 +669,67 @@ public Builder mergeFrom( private int state_ = 0; /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @return The state. */ @java.lang.Override public com.google.container.v1beta1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatabaseEncryption.State result = com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); - return result == null ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED : result; + com.google.container.v1beta1.DatabaseEncryption.State result = + com.google.container.v1beta1.DatabaseEncryption.State.valueOf(state_); + return result == null + ? com.google.container.v1beta1.DatabaseEncryption.State.UNRECOGNIZED + : result; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @param value The state to set. * @return This builder for chaining. */ @@ -665,21 +737,24 @@ public Builder setState(com.google.container.v1beta1.DatabaseEncryption.State va if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Denotes the state of etcd encryption.
      * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -687,19 +762,21 @@ public Builder clearState() { private java.lang.Object keyName_ = ""; /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @return The keyName. */ public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyName_ = s; return s; @@ -708,21 +785,22 @@ public java.lang.String getKeyName() { } } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @return The bytes for keyName. */ - public com.google.protobuf.ByteString - getKeyNameBytes() { + public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); keyName_ = b; return b; } else { @@ -730,64 +808,71 @@ public java.lang.String getKeyName() { } } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @param value The keyName to set. * @return This builder for chaining. */ - public Builder setKeyName( - java.lang.String value) { + public Builder setKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + keyName_ = value; onChanged(); return this; } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @return This builder for chaining. */ public Builder clearKeyName() { - + keyName_ = getDefaultInstance().getKeyName(); onChanged(); return this; } /** + * + * *
      * Name of CloudKMS key to use for the encryption of secrets in etcd.
      * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
      * 
* * string key_name = 1; + * * @param value The bytes for keyName to set. * @return This builder for chaining. */ - public Builder setKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + keyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DatabaseEncryption) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DatabaseEncryption) private static final com.google.container.v1beta1.DatabaseEncryption DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DatabaseEncryption(); } @@ -811,27 +896,27 @@ public static com.google.container.v1beta1.DatabaseEncryption getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatabaseEncryption parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatabaseEncryption parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -846,6 +931,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DatabaseEncryption getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java index b4c39c07c742..431c6fef7362 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatabaseEncryptionOrBuilder.java @@ -1,50 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface DatabaseEncryptionOrBuilder extends +public interface DatabaseEncryptionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DatabaseEncryption) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Denotes the state of etcd encryption.
    * 
* * .google.container.v1beta1.DatabaseEncryption.State state = 2; + * * @return The state. */ com.google.container.v1beta1.DatabaseEncryption.State getState(); /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The keyName. */ java.lang.String getKeyName(); /** + * + * *
    * Name of CloudKMS key to use for the encryption of secrets in etcd.
    * Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
    * 
* * string key_name = 1; + * * @return The bytes for keyName. */ - com.google.protobuf.ByteString - getKeyNameBytes(); + com.google.protobuf.ByteString getKeyNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java index 0b7c5601d720..1ed4edf140ce 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DatapathProvider.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * The datapath provider selects the implementation of the Kubernetes networking
  * model for service resolution and network policy enforcement.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.container.v1beta1.DatapathProvider}
  */
-public enum DatapathProvider
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum DatapathProvider implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -22,6 +40,8 @@ public enum DatapathProvider */ DATAPATH_PROVIDER_UNSPECIFIED(0), /** + * + * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -30,6 +50,8 @@ public enum DatapathProvider */ LEGACY_DATAPATH(1), /** + * + * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -44,6 +66,8 @@ public enum DatapathProvider
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -52,6 +76,8 @@ public enum DatapathProvider */ public static final int DATAPATH_PROVIDER_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Use the IPTables implementation based on kube-proxy.
    * 
@@ -60,6 +86,8 @@ public enum DatapathProvider */ public static final int LEGACY_DATAPATH_VALUE = 1; /** + * + * *
    * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
    * Dataplane V2
@@ -71,7 +99,6 @@ public enum DatapathProvider
    */
   public static final int ADVANCED_DATAPATH_VALUE = 2;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -96,49 +123,49 @@ public static DatapathProvider valueOf(int value) {
    */
   public static DatapathProvider forNumber(int value) {
     switch (value) {
-      case 0: return DATAPATH_PROVIDER_UNSPECIFIED;
-      case 1: return LEGACY_DATAPATH;
-      case 2: return ADVANCED_DATAPATH;
-      default: return null;
+      case 0:
+        return DATAPATH_PROVIDER_UNSPECIFIED;
+      case 1:
+        return LEGACY_DATAPATH;
+      case 2:
+        return ADVANCED_DATAPATH;
+      default:
+        return null;
     }
   }
 
-  public static com.google.protobuf.Internal.EnumLiteMap
-      internalGetValueMap() {
+  public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      DatapathProvider> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DatapathProvider findValueByNumber(int number) {
-            return DatapathProvider.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+      new com.google.protobuf.Internal.EnumLiteMap() {
+        public DatapathProvider findValueByNumber(int number) {
+          return DatapathProvider.forNumber(number);
+        }
+      };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(3);
   }
 
   private static final DatapathProvider[] VALUES = values();
 
-  public static DatapathProvider valueOf(
-      com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+  public static DatapathProvider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -154,4 +181,3 @@ private DatapathProvider(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1beta1.DatapathProvider)
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
similarity index 64%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
index 2839f67b89e4..f60bbc7419a5 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatus.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * DefaultSnatStatus contains the desired state of whether default sNAT should
  * be disabled on the cluster.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.DefaultSnatStatus}
  */
-public final class DefaultSnatStatus extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DefaultSnatStatus extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.DefaultSnatStatus)
     DefaultSnatStatusOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DefaultSnatStatus.newBuilder() to construct.
   private DefaultSnatStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private DefaultSnatStatus() {
-  }
+
+  private DefaultSnatStatus() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DefaultSnatStatus();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.DefaultSnatStatus.class, com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
+            com.google.container.v1beta1.DefaultSnatStatus.class,
+            com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Disables cluster default sNAT rules.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DefaultSnatStatus)) { return super.equals(obj); } - com.google.container.v1beta1.DefaultSnatStatus other = (com.google.container.v1beta1.DefaultSnatStatus) obj; + com.google.container.v1beta1.DefaultSnatStatus other = + (com.google.container.v1beta1.DefaultSnatStatus) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DefaultSnatStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( 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.DefaultSnatStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DefaultSnatStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DefaultSnatStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DefaultSnatStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DefaultSnatStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.DefaultSnatStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DefaultSnatStatus contains the desired state of whether default sNAT should
    * be disabled on the cluster.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.DefaultSnatStatus}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DefaultSnatStatus)
       com.google.container.v1beta1.DefaultSnatStatusOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.DefaultSnatStatus.class, com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
+              com.google.container.v1beta1.DefaultSnatStatus.class,
+              com.google.container.v1beta1.DefaultSnatStatus.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.DefaultSnatStatus.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1beta1.DefaultSnatStatus build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.DefaultSnatStatus buildPartial() {
-      com.google.container.v1beta1.DefaultSnatStatus result = new com.google.container.v1beta1.DefaultSnatStatus(this);
+      com.google.container.v1beta1.DefaultSnatStatus result =
+          new com.google.container.v1beta1.DefaultSnatStatus(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1beta1.DefaultSnatStatus buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.DefaultSnatStatus) {
-        return mergeFrom((com.google.container.v1beta1.DefaultSnatStatus)other);
+        return mergeFrom((com.google.container.v1beta1.DefaultSnatStatus) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -363,17 +390,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +413,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -398,37 +430,43 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Disables cluster default sNAT rules.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DefaultSnatStatus) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DefaultSnatStatus) private static final com.google.container.v1beta1.DefaultSnatStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DefaultSnatStatus(); } @@ -452,27 +490,27 @@ public static com.google.container.v1beta1.DefaultSnatStatus getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DefaultSnatStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DefaultSnatStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DefaultSnatStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java new file mode 100644 index 000000000000..c2d2542c55bf --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface DefaultSnatStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DefaultSnatStatus) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Disables cluster default sNAT rules.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequest.java index fec57ef7aef0..8be38ada65c2 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * DeleteClusterRequest deletes a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DeleteClusterRequest) DeleteClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteClusterRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private DeleteClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteClusterRequest.class, com.google.container.v1beta1.DeleteClusterRequest.Builder.class); + com.google.container.v1beta1.DeleteClusterRequest.class, + com.google.container.v1beta1.DeleteClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +254,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The name. */ @java.lang.Override @@ -230,30 +271,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +303,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +357,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DeleteClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.DeleteClusterRequest other = (com.google.container.v1beta1.DeleteClusterRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.DeleteClusterRequest other = + (com.google.container.v1beta1.DeleteClusterRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,129 +394,135 @@ public int hashCode() { } public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( 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.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.DeleteClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DeleteClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeleteClusterRequest deletes a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.DeleteClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DeleteClusterRequest) com.google.container.v1beta1.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteClusterRequest.class, com.google.container.v1beta1.DeleteClusterRequest.Builder.class); + com.google.container.v1beta1.DeleteClusterRequest.class, + com.google.container.v1beta1.DeleteClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.DeleteClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +538,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -515,7 +559,8 @@ public com.google.container.v1beta1.DeleteClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.DeleteClusterRequest buildPartial() { - com.google.container.v1beta1.DeleteClusterRequest result = new com.google.container.v1beta1.DeleteClusterRequest(this); + com.google.container.v1beta1.DeleteClusterRequest result = + new com.google.container.v1beta1.DeleteClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +573,39 @@ public com.google.container.v1beta1.DeleteClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DeleteClusterRequest) { - return mergeFrom((com.google.container.v1beta1.DeleteClusterRequest)other); + return mergeFrom((com.google.container.v1beta1.DeleteClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +613,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DeleteClusterRequest other) { - if (other == com.google.container.v1beta1.DeleteClusterRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.DeleteClusterRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -610,32 +657,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -648,22 +700,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,24 +728,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,66 +756,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +836,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +846,16 @@ public Builder mergeFrom(
      * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +864,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +874,17 @@ public Builder mergeFrom(
      * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +892,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +902,25 @@ public Builder mergeFrom(
      * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +929,21 @@ public Builder mergeFrom(
      * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +952,19 @@ public Builder mergeFrom(
      * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +972,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +999,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1026,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1103,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1126,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1149,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to delete.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 4; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1223,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DeleteClusterRequest) private static final com.google.container.v1beta1.DeleteClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DeleteClusterRequest(); } @@ -1120,27 +1237,27 @@ public static com.google.container.v1beta1.DeleteClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1272,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteClusterRequestOrBuilder.java index a9f44e8c4675..661264a118fb 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface DeleteClusterRequestOrBuilder extends +public interface DeleteClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DeleteClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2871 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2871 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +89,73 @@ public interface DeleteClusterRequestOrBuilder extends
    * 
* * 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=2880 + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2880 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2887 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2887 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to delete.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequest.java index f4ab1367f75b..91c750042f1f 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * DeleteNodePoolRequest deletes a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.DeleteNodePoolRequest} */ -public final class DeleteNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DeleteNodePoolRequest) DeleteNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteNodePoolRequest.newBuilder() to construct. private DeleteNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private DeleteNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteNodePoolRequest.class, com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1beta1.DeleteNodePoolRequest.class, + com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +255,55 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,6 +314,8 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -276,6 +323,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -284,14 +332,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -299,16 +348,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -317,6 +365,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +377,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -377,23 +425,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DeleteNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1beta1.DeleteNodePoolRequest other = (com.google.container.v1beta1.DeleteNodePoolRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.DeleteNodePoolRequest other = + (com.google.container.v1beta1.DeleteNodePoolRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -421,129 +465,135 @@ public int hashCode() { } public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DeleteNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( 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.DeleteNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DeleteNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DeleteNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DeleteNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DeleteNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.DeleteNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * DeleteNodePoolRequest deletes a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.DeleteNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DeleteNodePoolRequest) com.google.container.v1beta1.DeleteNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DeleteNodePoolRequest.class, com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); + com.google.container.v1beta1.DeleteNodePoolRequest.class, + com.google.container.v1beta1.DeleteNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.DeleteNodePoolRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +611,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; } @java.lang.Override @@ -582,7 +632,8 @@ public com.google.container.v1beta1.DeleteNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.DeleteNodePoolRequest buildPartial() { - com.google.container.v1beta1.DeleteNodePoolRequest result = new com.google.container.v1beta1.DeleteNodePoolRequest(this); + com.google.container.v1beta1.DeleteNodePoolRequest result = + new com.google.container.v1beta1.DeleteNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -596,38 +647,39 @@ public com.google.container.v1beta1.DeleteNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DeleteNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.DeleteNodePoolRequest)other); + return mergeFrom((com.google.container.v1beta1.DeleteNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -635,7 +687,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.DeleteNodePoolRequest other) { - if (other == com.google.container.v1beta1.DeleteNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.DeleteNodePoolRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -682,37 +735,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,22 +784,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -749,24 +812,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -774,66 +840,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -841,6 +920,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -849,15 +930,16 @@ public Builder mergeFrom(
      * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -866,6 +948,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +958,17 @@ public Builder mergeFrom(
      * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -892,6 +976,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,22 +986,25 @@ public Builder mergeFrom(
      * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,17 +1013,21 @@ public Builder mergeFrom(
      * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,18 +1036,19 @@ public Builder mergeFrom(
      * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,21 +1056,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -985,23 +1083,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,63 +1110,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1073,21 +1187,25 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1096,23 +1214,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1120,63 +1241,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to delete.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1184,6 +1318,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1191,13 +1327,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1206,6 +1342,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1213,15 +1351,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1229,6 +1366,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1236,20 +1375,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1257,15 +1398,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * delete. Specified in the format
@@ -1273,23 +1417,23 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1299,12 +1443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DeleteNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DeleteNodePoolRequest) private static final com.google.container.v1beta1.DeleteNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DeleteNodePoolRequest(); } @@ -1313,27 +1457,27 @@ public static com.google.container.v1beta1.DeleteNodePoolRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1348,6 +1492,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DeleteNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DeleteNodePoolRequestOrBuilder.java index d93681c6a874..01ddf776fc06 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface DeleteNodePoolRequestOrBuilder extends +public interface DeleteNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DeleteNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3164 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3164 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +89,87 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * 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=3173 + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3173 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3180 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3180 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Required. Deprecated. The name of the node pool to delete.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3187 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.DeleteNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3187 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -125,10 +177,13 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * delete. Specified in the format
@@ -136,8 +191,8 @@ public interface DeleteNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java index c4ea173af5ea..cdf975efe781 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for NodeLocal DNSCache
  * 
* * Protobuf type {@code google.container.v1beta1.DnsCacheConfig} */ -public final class DnsCacheConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DnsCacheConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.DnsCacheConfig) DnsCacheConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DnsCacheConfig.newBuilder() to construct. private DnsCacheConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DnsCacheConfig() { - } + + private DnsCacheConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DnsCacheConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DnsCacheConfig.class, com.google.container.v1beta1.DnsCacheConfig.Builder.class); + com.google.container.v1beta1.DnsCacheConfig.class, + com.google.container.v1beta1.DnsCacheConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether NodeLocal DNSCache is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.DnsCacheConfig)) { return super.equals(obj); } - com.google.container.v1beta1.DnsCacheConfig other = (com.google.container.v1beta1.DnsCacheConfig) obj; + com.google.container.v1beta1.DnsCacheConfig other = + (com.google.container.v1beta1.DnsCacheConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.DnsCacheConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.DnsCacheConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DnsCacheConfig parseFrom( 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.DnsCacheConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.DnsCacheConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.DnsCacheConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.DnsCacheConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DnsCacheConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.DnsCacheConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.DnsCacheConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.DnsCacheConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for NodeLocal DNSCache
    * 
* * Protobuf type {@code google.container.v1beta1.DnsCacheConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.DnsCacheConfig) com.google.container.v1beta1.DnsCacheConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.DnsCacheConfig.class, com.google.container.v1beta1.DnsCacheConfig.Builder.class); + com.google.container.v1beta1.DnsCacheConfig.class, + com.google.container.v1beta1.DnsCacheConfig.Builder.class); } // Construct using com.google.container.v1beta1.DnsCacheConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.DnsCacheConfig build() { @java.lang.Override public com.google.container.v1beta1.DnsCacheConfig buildPartial() { - com.google.container.v1beta1.DnsCacheConfig result = new com.google.container.v1beta1.DnsCacheConfig(this); + com.google.container.v1beta1.DnsCacheConfig result = + new com.google.container.v1beta1.DnsCacheConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.DnsCacheConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.DnsCacheConfig) { - return mergeFrom((com.google.container.v1beta1.DnsCacheConfig)other); + return mergeFrom((com.google.container.v1beta1.DnsCacheConfig) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +428,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether NodeLocal DNSCache is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.DnsCacheConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.DnsCacheConfig) private static final com.google.container.v1beta1.DnsCacheConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.DnsCacheConfig(); } @@ -450,27 +488,27 @@ public static com.google.container.v1beta1.DnsCacheConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsCacheConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsCacheConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.DnsCacheConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java new file mode 100644 index 000000000000..2d4b812ac240 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface DnsCacheConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DnsCacheConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether NodeLocal DNSCache is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java index 6f3240bc4b3c..9166cf2abbf3 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * EphemeralStorageConfig contains configuration for the ephemeral storage
  * filesystem.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1beta1.EphemeralStorageConfig}
  */
-public final class EphemeralStorageConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EphemeralStorageConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.EphemeralStorageConfig)
     EphemeralStorageConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EphemeralStorageConfig.newBuilder() to construct.
   private EphemeralStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private EphemeralStorageConfig() {
-  }
+
+  private EphemeralStorageConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EphemeralStorageConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.EphemeralStorageConfig.class, com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
+            com.google.container.v1beta1.EphemeralStorageConfig.class,
+            com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
   }
 
   public static final int LOCAL_SSD_COUNT_FIELD_NUMBER = 1;
   private int localSsdCount_;
   /**
+   *
+   *
    * 
    * Number of local SSDs to use to back ephemeral storage. Uses NVMe
    * interfaces. Each local SSD is 375 GB in size.
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 local_ssd_count = 1; + * * @return The localSsdCount. */ @java.lang.Override @@ -66,6 +87,7 @@ public int getLocalSsdCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -77,8 +99,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (localSsdCount_ != 0) { output.writeInt32(1, localSsdCount_); } @@ -92,8 +113,7 @@ public int getSerializedSize() { size = 0; if (localSsdCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, localSsdCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, localSsdCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -103,15 +123,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.EphemeralStorageConfig)) { return super.equals(obj); } - com.google.container.v1beta1.EphemeralStorageConfig other = (com.google.container.v1beta1.EphemeralStorageConfig) obj; + com.google.container.v1beta1.EphemeralStorageConfig other = + (com.google.container.v1beta1.EphemeralStorageConfig) obj; - if (getLocalSsdCount() - != other.getLocalSsdCount()) return false; + if (getLocalSsdCount() != other.getLocalSsdCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -131,96 +151,103 @@ public int hashCode() { } public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.EphemeralStorageConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( 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.EphemeralStorageConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.EphemeralStorageConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.EphemeralStorageConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.EphemeralStorageConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.EphemeralStorageConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.EphemeralStorageConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * EphemeralStorageConfig contains configuration for the ephemeral storage
    * filesystem.
@@ -228,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.EphemeralStorageConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.EphemeralStorageConfig)
       com.google.container.v1beta1.EphemeralStorageConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.EphemeralStorageConfig.class, com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
+              com.google.container.v1beta1.EphemeralStorageConfig.class,
+              com.google.container.v1beta1.EphemeralStorageConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.EphemeralStorageConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -264,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor;
     }
 
     @java.lang.Override
@@ -285,7 +311,8 @@ public com.google.container.v1beta1.EphemeralStorageConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.EphemeralStorageConfig buildPartial() {
-      com.google.container.v1beta1.EphemeralStorageConfig result = new com.google.container.v1beta1.EphemeralStorageConfig(this);
+      com.google.container.v1beta1.EphemeralStorageConfig result =
+          new com.google.container.v1beta1.EphemeralStorageConfig(this);
       result.localSsdCount_ = localSsdCount_;
       onBuilt();
       return result;
@@ -295,38 +322,39 @@ public com.google.container.v1beta1.EphemeralStorageConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.EphemeralStorageConfig) {
-        return mergeFrom((com.google.container.v1beta1.EphemeralStorageConfig)other);
+        return mergeFrom((com.google.container.v1beta1.EphemeralStorageConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -334,7 +362,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.EphemeralStorageConfig other) {
-      if (other == com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance())
+        return this;
       if (other.getLocalSsdCount() != 0) {
         setLocalSsdCount(other.getLocalSsdCount());
       }
@@ -364,17 +393,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              localSsdCount_ = input.readInt32();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                localSsdCount_ = input.readInt32();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -385,8 +416,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private int localSsdCount_ ;
+    private int localSsdCount_;
     /**
+     *
+     *
      * 
      * Number of local SSDs to use to back ephemeral storage. Uses NVMe
      * interfaces. Each local SSD is 375 GB in size.
@@ -394,6 +427,7 @@ public Builder mergeFrom(
      * 
* * int32 local_ssd_count = 1; + * * @return The localSsdCount. */ @java.lang.Override @@ -401,6 +435,8 @@ public int getLocalSsdCount() { return localSsdCount_; } /** + * + * *
      * Number of local SSDs to use to back ephemeral storage. Uses NVMe
      * interfaces. Each local SSD is 375 GB in size.
@@ -408,16 +444,19 @@ public int getLocalSsdCount() {
      * 
* * int32 local_ssd_count = 1; + * * @param value The localSsdCount to set. * @return This builder for chaining. */ public Builder setLocalSsdCount(int value) { - + localSsdCount_ = value; onChanged(); return this; } /** + * + * *
      * Number of local SSDs to use to back ephemeral storage. Uses NVMe
      * interfaces. Each local SSD is 375 GB in size.
@@ -425,17 +464,18 @@ public Builder setLocalSsdCount(int value) {
      * 
* * int32 local_ssd_count = 1; + * * @return This builder for chaining. */ public Builder clearLocalSsdCount() { - + localSsdCount_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -445,12 +485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.EphemeralStorageConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.EphemeralStorageConfig) private static final com.google.container.v1beta1.EphemeralStorageConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.EphemeralStorageConfig(); } @@ -459,27 +499,27 @@ public static com.google.container.v1beta1.EphemeralStorageConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EphemeralStorageConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EphemeralStorageConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -494,6 +534,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.EphemeralStorageConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java new file mode 100644 index 000000000000..6a4da1420e23 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface EphemeralStorageConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.EphemeralStorageConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Number of local SSDs to use to back ephemeral storage. Uses NVMe
+   * interfaces. Each local SSD is 375 GB in size.
+   * If zero, it means to disable using local SSDs as ephemeral storage.
+   * 
+ * + * int32 local_ssd_count = 1; + * + * @return The localSsdCount. + */ + int getLocalSsdCount(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java index 85885c035246..1a7495747434 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocket.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration of Fast Socket feature.
  * 
* * Protobuf type {@code google.container.v1beta1.FastSocket} */ -public final class FastSocket extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FastSocket extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.FastSocket) FastSocketOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FastSocket.newBuilder() to construct. private FastSocket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FastSocket() { - } + + private FastSocket() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FastSocket(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_FastSocket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.FastSocket.class, com.google.container.v1beta1.FastSocket.Builder.class); + com.google.container.v1beta1.FastSocket.class, + com.google.container.v1beta1.FastSocket.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Fast Socket features are enabled in the node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.FastSocket)) { return super.equals(obj); } com.google.container.v1beta1.FastSocket other = (com.google.container.v1beta1.FastSocket) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.FastSocket parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.FastSocket parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.FastSocket parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.FastSocket parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.FastSocket parseFrom( 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.FastSocket parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.FastSocket parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.FastSocket parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.FastSocket parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.FastSocket parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.FastSocket parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.FastSocket parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.FastSocket parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.FastSocket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.FastSocket prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of Fast Socket feature.
    * 
* * Protobuf type {@code google.container.v1beta1.FastSocket} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.FastSocket) com.google.container.v1beta1.FastSocketOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_FastSocket_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.FastSocket.class, com.google.container.v1beta1.FastSocket.Builder.class); + com.google.container.v1beta1.FastSocket.class, + com.google.container.v1beta1.FastSocket.Builder.class); } // Construct using com.google.container.v1beta1.FastSocket.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_FastSocket_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_FastSocket_descriptor; } @java.lang.Override @@ -282,7 +306,8 @@ public com.google.container.v1beta1.FastSocket build() { @java.lang.Override public com.google.container.v1beta1.FastSocket buildPartial() { - com.google.container.v1beta1.FastSocket result = new com.google.container.v1beta1.FastSocket(this); + com.google.container.v1beta1.FastSocket result = + new com.google.container.v1beta1.FastSocket(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +317,39 @@ public com.google.container.v1beta1.FastSocket buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.FastSocket) { - return mergeFrom((com.google.container.v1beta1.FastSocket)other); + return mergeFrom((com.google.container.v1beta1.FastSocket) other); } else { super.mergeFrom(other); return this; @@ -361,17 +387,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +410,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +427,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Fast Socket features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.FastSocket) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.FastSocket) private static final com.google.container.v1beta1.FastSocket DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.FastSocket(); } @@ -450,27 +487,27 @@ public static com.google.container.v1beta1.FastSocket getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FastSocket parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FastSocket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +522,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.FastSocket getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java new file mode 100644 index 000000000000..a6c362236b83 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface FastSocketOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.FastSocket) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Fast Socket features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java index 1f8effa9c147..3a17e8e95f69 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * GPUSharingConfig represents the GPU sharing configuration for Hardware
  * Accelerators.
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.container.v1beta1.GPUSharingConfig}
  */
-public final class GPUSharingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GPUSharingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GPUSharingConfig)
     GPUSharingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GPUSharingConfig.newBuilder() to construct.
   private GPUSharingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GPUSharingConfig() {
     gpuSharingStrategy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GPUSharingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GPUSharingConfig.class, com.google.container.v1beta1.GPUSharingConfig.Builder.class);
+            com.google.container.v1beta1.GPUSharingConfig.class,
+            com.google.container.v1beta1.GPUSharingConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The type of GPU sharing strategy currently provided.
    * 
* * Protobuf enum {@code google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy} */ - public enum GPUSharingStrategy - implements com.google.protobuf.ProtocolMessageEnum { + public enum GPUSharingStrategy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value.
      * 
@@ -67,6 +89,8 @@ public enum GPUSharingStrategy */ GPU_SHARING_STRATEGY_UNSPECIFIED(0), /** + * + * *
      * GPUs are time-shared between containers.
      * 
@@ -78,6 +102,8 @@ public enum GPUSharingStrategy ; /** + * + * *
      * Default value.
      * 
@@ -86,6 +112,8 @@ public enum GPUSharingStrategy */ public static final int GPU_SHARING_STRATEGY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * GPUs are time-shared between containers.
      * 
@@ -94,7 +122,6 @@ public enum GPUSharingStrategy */ public static final int TIME_SHARING_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,9 +146,12 @@ public static GPUSharingStrategy valueOf(int value) { */ public static GPUSharingStrategy forNumber(int value) { switch (value) { - case 0: return GPU_SHARING_STRATEGY_UNSPECIFIED; - case 1: return TIME_SHARING; - default: return null; + case 0: + return GPU_SHARING_STRATEGY_UNSPECIFIED; + case 1: + return TIME_SHARING; + default: + return null; } } @@ -129,28 +159,28 @@ public static GPUSharingStrategy forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - GPUSharingStrategy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public GPUSharingStrategy findValueByNumber(int number) { - return GPUSharingStrategy.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public GPUSharingStrategy findValueByNumber(int number) { + return GPUSharingStrategy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.GPUSharingConfig.getDescriptor().getEnumTypes().get(0); } @@ -159,8 +189,7 @@ public GPUSharingStrategy findValueByNumber(int number) { public static GPUSharingStrategy valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -181,11 +210,14 @@ private GPUSharingStrategy(int value) { public static final int MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER = 1; private long maxSharedClientsPerGpu_; /** + * + * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -196,42 +228,65 @@ public long getMaxSharedClientsPerGpu() { public static final int GPU_SHARING_STRATEGY_FIELD_NUMBER = 2; private int gpuSharingStrategy_; /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override public boolean hasGpuSharingStrategy() { + @java.lang.Override + public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override public int getGpuSharingStrategyValue() { + @java.lang.Override + public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The gpuSharingStrategy. */ - @java.lang.Override public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + @java.lang.Override + public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); - return result == null ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf( + gpuSharingStrategy_); + return result == null + ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,8 +298,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxSharedClientsPerGpu_ != 0L) { output.writeInt64(1, maxSharedClientsPerGpu_); } @@ -261,12 +315,10 @@ public int getSerializedSize() { size = 0; if (maxSharedClientsPerGpu_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, maxSharedClientsPerGpu_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxSharedClientsPerGpu_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, gpuSharingStrategy_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, gpuSharingStrategy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -276,15 +328,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GPUSharingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GPUSharingConfig other = (com.google.container.v1beta1.GPUSharingConfig) obj; + com.google.container.v1beta1.GPUSharingConfig other = + (com.google.container.v1beta1.GPUSharingConfig) obj; - if (getMaxSharedClientsPerGpu() - != other.getMaxSharedClientsPerGpu()) return false; + if (getMaxSharedClientsPerGpu() != other.getMaxSharedClientsPerGpu()) return false; if (hasGpuSharingStrategy() != other.hasGpuSharingStrategy()) return false; if (hasGpuSharingStrategy()) { if (gpuSharingStrategy_ != other.gpuSharingStrategy_) return false; @@ -301,8 +353,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_SHARED_CLIENTS_PER_GPU_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxSharedClientsPerGpu()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxSharedClientsPerGpu()); if (hasGpuSharingStrategy()) { hash = (37 * hash) + GPU_SHARING_STRATEGY_FIELD_NUMBER; hash = (53 * hash) + gpuSharingStrategy_; @@ -312,97 +363,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GPUSharingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GPUSharingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( 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.GPUSharingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.GPUSharingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GPUSharingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GPUSharingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GPUSharingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GPUSharingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GPUSharingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GPUSharingConfig represents the GPU sharing configuration for Hardware
    * Accelerators.
@@ -410,33 +468,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.GPUSharingConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GPUSharingConfig)
       com.google.container.v1beta1.GPUSharingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GPUSharingConfig.class, com.google.container.v1beta1.GPUSharingConfig.Builder.class);
+              com.google.container.v1beta1.GPUSharingConfig.class,
+              com.google.container.v1beta1.GPUSharingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GPUSharingConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +505,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GPUSharingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -469,7 +526,8 @@ public com.google.container.v1beta1.GPUSharingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GPUSharingConfig buildPartial() {
-      com.google.container.v1beta1.GPUSharingConfig result = new com.google.container.v1beta1.GPUSharingConfig(this);
+      com.google.container.v1beta1.GPUSharingConfig result =
+          new com.google.container.v1beta1.GPUSharingConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.maxSharedClientsPerGpu_ = maxSharedClientsPerGpu_;
@@ -486,38 +544,39 @@ public com.google.container.v1beta1.GPUSharingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GPUSharingConfig) {
-        return mergeFrom((com.google.container.v1beta1.GPUSharingConfig)other);
+        return mergeFrom((com.google.container.v1beta1.GPUSharingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -558,22 +617,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              maxSharedClientsPerGpu_ = input.readInt64();
-
-              break;
-            } // case 8
-            case 16: {
-              gpuSharingStrategy_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                maxSharedClientsPerGpu_ = input.readInt64();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                gpuSharingStrategy_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -583,15 +645,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private long maxSharedClientsPerGpu_ ;
+    private long maxSharedClientsPerGpu_;
     /**
+     *
+     *
      * 
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return The maxSharedClientsPerGpu. */ @java.lang.Override @@ -599,30 +665,36 @@ public long getMaxSharedClientsPerGpu() { return maxSharedClientsPerGpu_; } /** + * + * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; + * * @param value The maxSharedClientsPerGpu to set. * @return This builder for chaining. */ public Builder setMaxSharedClientsPerGpu(long value) { - + maxSharedClientsPerGpu_ = value; onChanged(); return this; } /** + * + * *
      * The max number of containers that can share a physical GPU.
      * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return This builder for chaining. */ public Builder clearMaxSharedClientsPerGpu() { - + maxSharedClientsPerGpu_ = 0L; onChanged(); return this; @@ -630,33 +702,50 @@ public Builder clearMaxSharedClientsPerGpu() { private int gpuSharingStrategy_ = 0; /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return Whether the gpuSharingStrategy field is set. */ - @java.lang.Override public boolean hasGpuSharingStrategy() { + @java.lang.Override + public boolean hasGpuSharingStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The enum numeric value on the wire for gpuSharingStrategy. */ - @java.lang.Override public int getGpuSharingStrategyValue() { + @java.lang.Override + public int getGpuSharingStrategyValue() { return gpuSharingStrategy_; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @param value The enum numeric value on the wire for gpuSharingStrategy to set. * @return This builder for chaining. */ @@ -667,29 +756,45 @@ public Builder setGpuSharingStrategyValue(int value) { return this; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The gpuSharingStrategy. */ @java.lang.Override - public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy() { + public com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy + getGpuSharingStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf(gpuSharingStrategy_); - return result == null ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED : result; + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy result = + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.valueOf( + gpuSharingStrategy_); + return result == null + ? com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy.UNRECOGNIZED + : result; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @param value The gpuSharingStrategy to set. * @return This builder for chaining. */ - public Builder setGpuSharingStrategy(com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy value) { + public Builder setGpuSharingStrategy( + com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy value) { if (value == null) { throw new NullPointerException(); } @@ -699,11 +804,16 @@ public Builder setGpuSharingStrategy(com.google.container.v1beta1.GPUSharingConf return this; } /** + * + * *
      * The type of GPU sharing strategy to enable on the GPU node.
      * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return This builder for chaining. */ public Builder clearGpuSharingStrategy() { @@ -712,9 +822,9 @@ public Builder clearGpuSharingStrategy() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -724,12 +834,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GPUSharingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GPUSharingConfig) private static final com.google.container.v1beta1.GPUSharingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GPUSharingConfig(); } @@ -738,27 +848,27 @@ public static com.google.container.v1beta1.GPUSharingConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GPUSharingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GPUSharingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -773,6 +883,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GPUSharingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java index 0af7f88d28a5..7db9d08ad7d8 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GPUSharingConfigOrBuilder.java @@ -1,46 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface GPUSharingConfigOrBuilder extends +public interface GPUSharingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GPUSharingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The max number of containers that can share a physical GPU.
    * 
* * int64 max_shared_clients_per_gpu = 1; + * * @return The maxSharedClientsPerGpu. */ long getMaxSharedClientsPerGpu(); /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return Whether the gpuSharingStrategy field is set. */ boolean hasGpuSharingStrategy(); /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The enum numeric value on the wire for gpuSharingStrategy. */ int getGpuSharingStrategyValue(); /** + * + * *
    * The type of GPU sharing strategy to enable on the GPU node.
    * 
* - * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * optional .google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy gpu_sharing_strategy = 2; + * + * * @return The gpuSharingStrategy. */ com.google.container.v1beta1.GPUSharingConfig.GPUSharingStrategy getGpuSharingStrategy(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java index fc482b617fe1..a04b17622f91 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfig.java @@ -1,54 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.GatewayAPIConfig} */ -public final class GatewayAPIConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GatewayAPIConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GatewayAPIConfig) GatewayAPIConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GatewayAPIConfig.newBuilder() to construct. private GatewayAPIConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GatewayAPIConfig() { channel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GatewayAPIConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GatewayAPIConfig.class, com.google.container.v1beta1.GatewayAPIConfig.Builder.class); + com.google.container.v1beta1.GatewayAPIConfig.class, + com.google.container.v1beta1.GatewayAPIConfig.Builder.class); } /** + * + * *
    * Channel describes if/how Gateway API should be installed and implemented in
    * a cluster.
@@ -56,9 +77,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1beta1.GatewayAPIConfig.Channel}
    */
-  public enum Channel
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Channel implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Default value.
      * 
@@ -67,6 +89,8 @@ public enum Channel */ CHANNEL_UNSPECIFIED(0), /** + * + * *
      * Gateway API support is disabled
      * 
@@ -75,6 +99,8 @@ public enum Channel */ CHANNEL_DISABLED(1), /** + * + * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -83,6 +109,8 @@ public enum Channel */ CHANNEL_EXPERIMENTAL(3), /** + * + * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -94,6 +122,8 @@ public enum Channel ; /** + * + * *
      * Default value.
      * 
@@ -102,6 +132,8 @@ public enum Channel */ public static final int CHANNEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Gateway API support is disabled
      * 
@@ -110,6 +142,8 @@ public enum Channel */ public static final int CHANNEL_DISABLED_VALUE = 1; /** + * + * *
      * Gateway API support is enabled, experimental CRDs are installed
      * 
@@ -118,6 +152,8 @@ public enum Channel */ public static final int CHANNEL_EXPERIMENTAL_VALUE = 3; /** + * + * *
      * Gateway API support is enabled, standard CRDs are installed
      * 
@@ -126,7 +162,6 @@ public enum Channel */ public static final int CHANNEL_STANDARD_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -151,50 +186,51 @@ public static Channel valueOf(int value) { */ public static Channel forNumber(int value) { switch (value) { - case 0: return CHANNEL_UNSPECIFIED; - case 1: return CHANNEL_DISABLED; - case 3: return CHANNEL_EXPERIMENTAL; - case 4: return CHANNEL_STANDARD; - default: return null; + case 0: + return CHANNEL_UNSPECIFIED; + case 1: + return CHANNEL_DISABLED; + case 3: + return CHANNEL_EXPERIMENTAL; + case 4: + return CHANNEL_STANDARD; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Channel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Channel findValueByNumber(int number) { - return Channel.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Channel findValueByNumber(int number) { + return Channel.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.GatewayAPIConfig.getDescriptor().getEnumTypes().get(0); } private static final Channel[] VALUES = values(); - public static Channel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -214,31 +250,43 @@ private Channel(int value) { public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @return The channel. */ - @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel() { + @java.lang.Override + public com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GatewayAPIConfig.Channel result = com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); - return result == null ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; + com.google.container.v1beta1.GatewayAPIConfig.Channel result = + com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -250,9 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (channel_ != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (channel_ + != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } getUnknownFields().writeTo(output); @@ -264,9 +312,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (channel_ != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, channel_); + if (channel_ + != com.google.container.v1beta1.GatewayAPIConfig.Channel.CHANNEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -276,12 +324,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GatewayAPIConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GatewayAPIConfig other = (com.google.container.v1beta1.GatewayAPIConfig) obj; + com.google.container.v1beta1.GatewayAPIConfig other = + (com.google.container.v1beta1.GatewayAPIConfig) obj; if (channel_ != other.channel_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -302,130 +351,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GatewayAPIConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( 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.GatewayAPIConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GatewayAPIConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GatewayAPIConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GatewayAPIConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GatewayAPIConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GatewayAPIConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.GatewayAPIConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GatewayAPIConfig) com.google.container.v1beta1.GatewayAPIConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GatewayAPIConfig.class, com.google.container.v1beta1.GatewayAPIConfig.Builder.class); + com.google.container.v1beta1.GatewayAPIConfig.class, + com.google.container.v1beta1.GatewayAPIConfig.Builder.class); } // Construct using com.google.container.v1beta1.GatewayAPIConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +490,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; } @java.lang.Override @@ -456,7 +511,8 @@ public com.google.container.v1beta1.GatewayAPIConfig build() { @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig buildPartial() { - com.google.container.v1beta1.GatewayAPIConfig result = new com.google.container.v1beta1.GatewayAPIConfig(this); + com.google.container.v1beta1.GatewayAPIConfig result = + new com.google.container.v1beta1.GatewayAPIConfig(this); result.channel_ = channel_; onBuilt(); return result; @@ -466,38 +522,39 @@ public com.google.container.v1beta1.GatewayAPIConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GatewayAPIConfig) { - return mergeFrom((com.google.container.v1beta1.GatewayAPIConfig)other); + return mergeFrom((com.google.container.v1beta1.GatewayAPIConfig) other); } else { super.mergeFrom(other); return this; @@ -535,17 +592,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - channel_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + channel_ = input.readEnum(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -558,51 +617,67 @@ public Builder mergeFrom( private int channel_ = 0; /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @return The channel. */ @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.GatewayAPIConfig.Channel result = com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); - return result == null ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED : result; + com.google.container.v1beta1.GatewayAPIConfig.Channel result = + com.google.container.v1beta1.GatewayAPIConfig.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1beta1.GatewayAPIConfig.Channel.UNRECOGNIZED + : result; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @param value The channel to set. * @return This builder for chaining. */ @@ -610,28 +685,31 @@ public Builder setChannel(com.google.container.v1beta1.GatewayAPIConfig.Channel if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The Gateway API release channel to use for Gateway API.
      * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,12 +719,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GatewayAPIConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GatewayAPIConfig) private static final com.google.container.v1beta1.GatewayAPIConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GatewayAPIConfig(); } @@ -655,27 +733,27 @@ public static com.google.container.v1beta1.GatewayAPIConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GatewayAPIConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GatewayAPIConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -690,6 +768,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GatewayAPIConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java similarity index 55% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java index 0611228cbbc8..489a5303643e 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GatewayAPIConfigOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GatewayAPIConfigOrBuilder extends +public interface GatewayAPIConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GatewayAPIConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** + * + * *
    * The Gateway API release channel to use for Gateway API.
    * 
* * .google.container.v1beta1.GatewayAPIConfig.Channel channel = 1; + * * @return The channel. */ com.google.container.v1beta1.GatewayAPIConfig.Channel getChannel(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java index e97bb746aab3..8437384bb2d9 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfig.java @@ -1,60 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for the Compute Engine PD CSI driver.
  * 
* * Protobuf type {@code google.container.v1beta1.GcePersistentDiskCsiDriverConfig} */ -public final class GcePersistentDiskCsiDriverConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcePersistentDiskCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) GcePersistentDiskCsiDriverConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcePersistentDiskCsiDriverConfig.newBuilder() to construct. - private GcePersistentDiskCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GcePersistentDiskCsiDriverConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcePersistentDiskCsiDriverConfig() { - } + + private GcePersistentDiskCsiDriverConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcePersistentDiskCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the Compute Engine PD CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig other = (com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) obj; + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig other = + (com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +142,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( 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.GcePersistentDiskCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the Compute Engine PD CSI driver.
    * 
* * Protobuf type {@code google.container.v1beta1.GcePersistentDiskCsiDriverConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) com.google.container.v1beta1.GcePersistentDiskCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.class, + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,13 +288,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getDefaultInstanceForType() { + public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig + getDefaultInstanceForType() { return com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance(); } @@ -282,7 +310,8 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig build() { @java.lang.Override public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig buildPartial() { - com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig result = new com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig(this); + com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig result = + new com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +321,39 @@ public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) { - return mergeFrom((com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig)other); + return mergeFrom((com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +361,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig other) { - if (other == com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) return this; + if (other + == com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +393,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +416,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +433,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Compute Engine PD CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +479,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) - private static final com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig(); } @@ -450,27 +494,27 @@ public static com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcePersistentDiskCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcePersistentDiskCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +529,4 @@ public com.google.protobuf.Parser getParserFor public com.google.container.v1beta1.GcePersistentDiskCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..17dcc8620733 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GcePersistentDiskCsiDriverConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java index 69c79095b327..050a7b06bcec 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * GcfsConfig contains configurations of Google Container File System.
  * 
* * Protobuf type {@code google.container.v1beta1.GcfsConfig} */ -public final class GcfsConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcfsConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GcfsConfig) GcfsConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcfsConfig.newBuilder() to construct. private GcfsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcfsConfig() { - } + + private GcfsConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcfsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcfsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcfsConfig.class, com.google.container.v1beta1.GcfsConfig.Builder.class); + com.google.container.v1beta1.GcfsConfig.class, + com.google.container.v1beta1.GcfsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether to use GCFS.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GcfsConfig)) { return super.equals(obj); } com.google.container.v1beta1.GcfsConfig other = (com.google.container.v1beta1.GcfsConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.GcfsConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GcfsConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcfsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcfsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcfsConfig parseFrom( 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.GcfsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcfsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.GcfsConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcfsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GcfsConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GcfsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcfsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GcfsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcfsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GcfsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GcfsConfig contains configurations of Google Container File System.
    * 
* * Protobuf type {@code google.container.v1beta1.GcfsConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GcfsConfig) com.google.container.v1beta1.GcfsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcfsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcfsConfig.class, com.google.container.v1beta1.GcfsConfig.Builder.class); + com.google.container.v1beta1.GcfsConfig.class, + com.google.container.v1beta1.GcfsConfig.Builder.class); } // Construct using com.google.container.v1beta1.GcfsConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcfsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcfsConfig_descriptor; } @java.lang.Override @@ -282,7 +306,8 @@ public com.google.container.v1beta1.GcfsConfig build() { @java.lang.Override public com.google.container.v1beta1.GcfsConfig buildPartial() { - com.google.container.v1beta1.GcfsConfig result = new com.google.container.v1beta1.GcfsConfig(this); + com.google.container.v1beta1.GcfsConfig result = + new com.google.container.v1beta1.GcfsConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +317,39 @@ public com.google.container.v1beta1.GcfsConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GcfsConfig) { - return mergeFrom((com.google.container.v1beta1.GcfsConfig)other); + return mergeFrom((com.google.container.v1beta1.GcfsConfig) other); } else { super.mergeFrom(other); return this; @@ -361,17 +387,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +410,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +427,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether to use GCFS.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GcfsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GcfsConfig) private static final com.google.container.v1beta1.GcfsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GcfsConfig(); } @@ -450,27 +487,27 @@ public static com.google.container.v1beta1.GcfsConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcfsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcfsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +522,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GcfsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java new file mode 100644 index 000000000000..9e15cbe75ade --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GcfsConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcfsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether to use GCFS.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java index c6437e5c57cb..458e3f5817e5 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for the GCP Filestore CSI driver.
  * 
* * Protobuf type {@code google.container.v1beta1.GcpFilestoreCsiDriverConfig} */ -public final class GcpFilestoreCsiDriverConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GcpFilestoreCsiDriverConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GcpFilestoreCsiDriverConfig) GcpFilestoreCsiDriverConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GcpFilestoreCsiDriverConfig.newBuilder() to construct. private GcpFilestoreCsiDriverConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GcpFilestoreCsiDriverConfig() { - } + + private GcpFilestoreCsiDriverConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GcpFilestoreCsiDriverConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the GCP Filestore CSI driver is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GcpFilestoreCsiDriverConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig other = (com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) obj; + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig other = + (com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( 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.GcpFilestoreCsiDriverConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the GCP Filestore CSI driver.
    * 
* * Protobuf type {@code google.container.v1beta1.GcpFilestoreCsiDriverConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GcpFilestoreCsiDriverConfig) com.google.container.v1beta1.GcpFilestoreCsiDriverConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.class, + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.Builder.class); } // Construct using com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +287,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; } @java.lang.Override @@ -282,7 +308,8 @@ public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig build() { @java.lang.Override public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig buildPartial() { - com.google.container.v1beta1.GcpFilestoreCsiDriverConfig result = new com.google.container.v1beta1.GcpFilestoreCsiDriverConfig(this); + com.google.container.v1beta1.GcpFilestoreCsiDriverConfig result = + new com.google.container.v1beta1.GcpFilestoreCsiDriverConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +319,39 @@ public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) { - return mergeFrom((com.google.container.v1beta1.GcpFilestoreCsiDriverConfig)other); + return mergeFrom((com.google.container.v1beta1.GcpFilestoreCsiDriverConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +359,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GcpFilestoreCsiDriverConfig other) { - if (other == com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.GcpFilestoreCsiDriverConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +390,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +413,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +430,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the GCP Filestore CSI driver is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GcpFilestoreCsiDriverConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GcpFilestoreCsiDriverConfig) private static final com.google.container.v1beta1.GcpFilestoreCsiDriverConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GcpFilestoreCsiDriverConfig(); } @@ -450,27 +490,27 @@ public static com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcpFilestoreCsiDriverConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcpFilestoreCsiDriverConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +525,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.GcpFilestoreCsiDriverConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java new file mode 100644 index 000000000000..b1b391d8f450 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GcpFilestoreCsiDriverConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcpFilestoreCsiDriverConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the GCP Filestore CSI driver is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequest.java index a2e7bd02cffd..01e07c11c505 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * GetClusterRequest gets the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.GetClusterRequest} */ -public final class GetClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetClusterRequest) GetClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetClusterRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private GetClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetClusterRequest.class, com.google.container.v1beta1.GetClusterRequest.Builder.class); + com.google.container.v1beta1.GetClusterRequest.class, + com.google.container.v1beta1.GetClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +254,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -230,30 +271,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +303,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +357,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetClusterRequest other = (com.google.container.v1beta1.GetClusterRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.GetClusterRequest other = + (com.google.container.v1beta1.GetClusterRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,130 +393,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GetClusterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetClusterRequest parseFrom( 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.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetClusterRequest gets the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.GetClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetClusterRequest) com.google.container.v1beta1.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetClusterRequest.class, com.google.container.v1beta1.GetClusterRequest.Builder.class); + com.google.container.v1beta1.GetClusterRequest.class, + com.google.container.v1beta1.GetClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +538,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetClusterRequest_descriptor; } @java.lang.Override @@ -515,7 +559,8 @@ public com.google.container.v1beta1.GetClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.GetClusterRequest buildPartial() { - com.google.container.v1beta1.GetClusterRequest result = new com.google.container.v1beta1.GetClusterRequest(this); + com.google.container.v1beta1.GetClusterRequest result = + new com.google.container.v1beta1.GetClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +573,39 @@ public com.google.container.v1beta1.GetClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetClusterRequest) { - return mergeFrom((com.google.container.v1beta1.GetClusterRequest)other); + return mergeFrom((com.google.container.v1beta1.GetClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -610,32 +656,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,22 +699,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,24 +727,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,66 +755,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +835,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +845,16 @@ public Builder mergeFrom(
      * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +863,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +873,17 @@ public Builder mergeFrom(
      * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +891,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +901,25 @@ public Builder mergeFrom(
      * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +928,21 @@ public Builder mergeFrom(
      * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +951,19 @@ public Builder mergeFrom(
      * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +971,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +998,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1025,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to retrieve.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1102,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1125,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1148,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to retrieve.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1222,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetClusterRequest) private static final com.google.container.v1beta1.GetClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetClusterRequest(); } @@ -1120,27 +1236,27 @@ public static com.google.container.v1beta1.GetClusterRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1271,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetClusterRequestOrBuilder.java index 4b2d3cbf45bc..2dc60bdf49fe 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface GetClusterRequestOrBuilder extends +public interface GetClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2391 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2391 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface GetClusterRequestOrBuilder extends
    * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +89,73 @@ public interface GetClusterRequestOrBuilder extends
    * 
* * 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=2400 + * + * @deprecated google.container.v1beta1.GetClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2400 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to retrieve.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2407 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2407 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to retrieve.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java index 923c811d4c71..a889184d4463 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * GetJSONWebKeysRequest gets the public component of the keys used by the
  * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -13,53 +30,58 @@
  *
  * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysRequest}
  */
-public final class GetJSONWebKeysRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetJSONWebKeysRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetJSONWebKeysRequest)
     GetJSONWebKeysRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetJSONWebKeysRequest.newBuilder() to construct.
   private GetJSONWebKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetJSONWebKeysRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetJSONWebKeysRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GetJSONWebKeysRequest.class, com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
+            com.google.container.v1beta1.GetJSONWebKeysRequest.class,
+            com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -68,30 +90,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,6 +122,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +134,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -136,15 +158,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetJSONWebKeysRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetJSONWebKeysRequest other = (com.google.container.v1beta1.GetJSONWebKeysRequest) obj; + com.google.container.v1beta1.GetJSONWebKeysRequest other = + (com.google.container.v1beta1.GetJSONWebKeysRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -164,96 +186,103 @@ public int hashCode() { } public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetJSONWebKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( 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.GetJSONWebKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetJSONWebKeysRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetJSONWebKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GetJSONWebKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetJSONWebKeysRequest gets the public component of the keys used by the
    * cluster to sign token requests. This will be the jwks_uri for the discover
@@ -263,33 +292,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetJSONWebKeysRequest)
       com.google.container.v1beta1.GetJSONWebKeysRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GetJSONWebKeysRequest.class, com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
+              com.google.container.v1beta1.GetJSONWebKeysRequest.class,
+              com.google.container.v1beta1.GetJSONWebKeysRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GetJSONWebKeysRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -299,9 +327,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor;
     }
 
     @java.lang.Override
@@ -320,7 +348,8 @@ public com.google.container.v1beta1.GetJSONWebKeysRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GetJSONWebKeysRequest buildPartial() {
-      com.google.container.v1beta1.GetJSONWebKeysRequest result = new com.google.container.v1beta1.GetJSONWebKeysRequest(this);
+      com.google.container.v1beta1.GetJSONWebKeysRequest result =
+          new com.google.container.v1beta1.GetJSONWebKeysRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -330,38 +359,39 @@ public com.google.container.v1beta1.GetJSONWebKeysRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GetJSONWebKeysRequest) {
-        return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysRequest)other);
+        return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -369,7 +399,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.GetJSONWebKeysRequest other) {
-      if (other == com.google.container.v1beta1.GetJSONWebKeysRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.GetJSONWebKeysRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -400,17 +431,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                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) {
@@ -423,19 +456,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -444,21 +479,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -466,64 +502,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get keys for. Specified in
      * the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -533,12 +576,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetJSONWebKeysRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetJSONWebKeysRequest) private static final com.google.container.v1beta1.GetJSONWebKeysRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetJSONWebKeysRequest(); } @@ -547,27 +590,27 @@ public static com.google.container.v1beta1.GetJSONWebKeysRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetJSONWebKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetJSONWebKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -582,6 +625,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetJSONWebKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java index 184db5ff192b..dc4775d1df7c 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetJSONWebKeysRequestOrBuilder extends +public interface GetJSONWebKeysRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetJSONWebKeysRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The cluster (project, location, cluster name) to get keys for. Specified in
    * the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java index 2e54941d1b86..c1b4e05936d5 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponse.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
  * 
* * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysResponse} */ -public final class GetJSONWebKeysResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetJSONWebKeysResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetJSONWebKeysResponse) GetJSONWebKeysResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetJSONWebKeysResponse.newBuilder() to construct. private GetJSONWebKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetJSONWebKeysResponse() { keys_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetJSONWebKeysResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetJSONWebKeysResponse.class, com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1beta1.GetJSONWebKeysResponse.class, + com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); } public static final int KEYS_FIELD_NUMBER = 1; private java.util.List keys_; /** + * + * *
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -63,6 +84,8 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -71,11 +94,13 @@ public java.util.List getKeysList() {
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getKeysOrBuilderList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -88,6 +113,8 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -100,6 +127,8 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
     return keys_.get(index);
   }
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -108,12 +137,12 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
-      int index) {
+  public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -125,8 +154,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -140,8 +168,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -151,15 +178,15 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.GetJSONWebKeysResponse)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.GetJSONWebKeysResponse other = (com.google.container.v1beta1.GetJSONWebKeysResponse) obj;
+    com.google.container.v1beta1.GetJSONWebKeysResponse other =
+        (com.google.container.v1beta1.GetJSONWebKeysResponse) obj;
 
-    if (!getKeysList()
-        .equals(other.getKeysList())) return false;
+    if (!getKeysList().equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -181,129 +208,135 @@ public int hashCode() {
   }
 
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
       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.GetJSONWebKeysResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.GetJSONWebKeysResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.GetJSONWebKeysResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.GetJSONWebKeysResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
    * 
* * Protobuf type {@code google.container.v1beta1.GetJSONWebKeysResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetJSONWebKeysResponse) com.google.container.v1beta1.GetJSONWebKeysResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetJSONWebKeysResponse.class, com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); + com.google.container.v1beta1.GetJSONWebKeysResponse.class, + com.google.container.v1beta1.GetJSONWebKeysResponse.Builder.class); } // Construct using com.google.container.v1beta1.GetJSONWebKeysResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; } @java.lang.Override @@ -339,7 +372,8 @@ public com.google.container.v1beta1.GetJSONWebKeysResponse build() { @java.lang.Override public com.google.container.v1beta1.GetJSONWebKeysResponse buildPartial() { - com.google.container.v1beta1.GetJSONWebKeysResponse result = new com.google.container.v1beta1.GetJSONWebKeysResponse(this); + com.google.container.v1beta1.GetJSONWebKeysResponse result = + new com.google.container.v1beta1.GetJSONWebKeysResponse(this); int from_bitField0_ = bitField0_; if (keysBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -358,38 +392,39 @@ public com.google.container.v1beta1.GetJSONWebKeysResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetJSONWebKeysResponse) { - return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysResponse)other); + return mergeFrom((com.google.container.v1beta1.GetJSONWebKeysResponse) other); } else { super.mergeFrom(other); return this; @@ -397,7 +432,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetJSONWebKeysResponse other) { - if (other == com.google.container.v1beta1.GetJSONWebKeysResponse.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.GetJSONWebKeysResponse.getDefaultInstance()) + return this; if (keysBuilder_ == null) { if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { @@ -416,9 +452,10 @@ public Builder mergeFrom(com.google.container.v1beta1.GetJSONWebKeysResponse oth keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getKeysFieldBuilder() : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getKeysFieldBuilder() + : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -450,25 +487,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1beta1.Jwk m = - input.readMessage( - com.google.container.v1beta1.Jwk.parser(), - extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1beta1.Jwk m = + input.readMessage(com.google.container.v1beta1.Jwk.parser(), extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -478,21 +515,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List keys_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Jwk, com.google.container.v1beta1.Jwk.Builder, com.google.container.v1beta1.JwkOrBuilder> keysBuilder_; + com.google.container.v1beta1.Jwk, + com.google.container.v1beta1.Jwk.Builder, + com.google.container.v1beta1.JwkOrBuilder> + keysBuilder_; /** + * + * *
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -508,6 +552,8 @@ public java.util.List getKeysList() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -523,6 +569,8 @@ public int getKeysCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -538,6 +586,8 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -545,8 +595,7 @@ public com.google.container.v1beta1.Jwk getKeys(int index) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.container.v1beta1.Jwk value) {
+    public Builder setKeys(int index, com.google.container.v1beta1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -560,6 +609,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -567,8 +618,7 @@ public Builder setKeys(
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
+    public Builder setKeys(int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -579,6 +629,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -600,6 +652,8 @@ public Builder addKeys(com.google.container.v1beta1.Jwk value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -607,8 +661,7 @@ public Builder addKeys(com.google.container.v1beta1.Jwk value) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.container.v1beta1.Jwk value) {
+    public Builder addKeys(int index, com.google.container.v1beta1.Jwk value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -622,6 +675,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -629,8 +684,7 @@ public Builder addKeys(
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        com.google.container.v1beta1.Jwk.Builder builderForValue) {
+    public Builder addKeys(com.google.container.v1beta1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -641,6 +695,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -648,8 +704,7 @@ public Builder addKeys(
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
+    public Builder addKeys(int index, com.google.container.v1beta1.Jwk.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -660,6 +715,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -671,8 +728,7 @@ public Builder addAllKeys(
         java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -680,6 +736,8 @@ public Builder addAllKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -698,6 +756,8 @@ public Builder clearKeys() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -716,6 +776,8 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -723,11 +785,12 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public com.google.container.v1beta1.Jwk.Builder getKeysBuilder(
-        int index) {
+    public com.google.container.v1beta1.Jwk.Builder getKeysBuilder(int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -735,14 +798,16 @@ public com.google.container.v1beta1.Jwk.Builder getKeysBuilder(
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
-        int index) {
+    public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);  } else {
+        return keys_.get(index);
+      } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -750,8 +815,8 @@ public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysOrBuilderList() {
+    public java.util.List
+        getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -759,6 +824,8 @@ public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -767,10 +834,12 @@ public com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
     public com.google.container.v1beta1.Jwk.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(
-          com.google.container.v1beta1.Jwk.getDefaultInstance());
+      return getKeysFieldBuilder()
+          .addBuilder(com.google.container.v1beta1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -778,12 +847,13 @@ public com.google.container.v1beta1.Jwk.Builder addKeysBuilder() {
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public com.google.container.v1beta1.Jwk.Builder addKeysBuilder(
-        int index) {
-      return getKeysFieldBuilder().addBuilder(
-          index, com.google.container.v1beta1.Jwk.getDefaultInstance());
+    public com.google.container.v1beta1.Jwk.Builder addKeysBuilder(int index) {
+      return getKeysFieldBuilder()
+          .addBuilder(index, com.google.container.v1beta1.Jwk.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The public component of the keys used by the cluster to sign token
      * requests.
@@ -791,27 +861,29 @@ public com.google.container.v1beta1.Jwk.Builder addKeysBuilder(
      *
      * repeated .google.container.v1beta1.Jwk keys = 1;
      */
-    public java.util.List 
-         getKeysBuilderList() {
+    public java.util.List getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.Jwk, com.google.container.v1beta1.Jwk.Builder, com.google.container.v1beta1.JwkOrBuilder> 
+            com.google.container.v1beta1.Jwk,
+            com.google.container.v1beta1.Jwk.Builder,
+            com.google.container.v1beta1.JwkOrBuilder>
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.Jwk, com.google.container.v1beta1.Jwk.Builder, com.google.container.v1beta1.JwkOrBuilder>(
-                keys_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        keysBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1beta1.Jwk,
+                com.google.container.v1beta1.Jwk.Builder,
+                com.google.container.v1beta1.JwkOrBuilder>(
+                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -821,12 +893,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetJSONWebKeysResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetJSONWebKeysResponse)
   private static final com.google.container.v1beta1.GetJSONWebKeysResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.GetJSONWebKeysResponse();
   }
@@ -835,27 +907,27 @@ public static com.google.container.v1beta1.GetJSONWebKeysResponse getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public GetJSONWebKeysResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GetJSONWebKeysResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -870,6 +942,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.GetJSONWebKeysResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
similarity index 61%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
index ff57f6495fe8..80112d6a4d46 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetJSONWebKeysResponseOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface GetJSONWebKeysResponseOrBuilder extends
+public interface GetJSONWebKeysResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetJSONWebKeysResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -15,9 +33,10 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    *
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysList();
+  java.util.List getKeysList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -27,6 +46,8 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    */
   com.google.container.v1beta1.Jwk getKeys(int index);
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -36,6 +57,8 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    */
   int getKeysCount();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -43,9 +66,10 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    *
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
-  java.util.List 
-      getKeysOrBuilderList();
+  java.util.List getKeysOrBuilderList();
   /**
+   *
+   *
    * 
    * The public component of the keys used by the cluster to sign token
    * requests.
@@ -53,6 +77,5 @@ public interface GetJSONWebKeysResponseOrBuilder extends
    *
    * repeated .google.container.v1beta1.Jwk keys = 1;
    */
-  com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(
-      int index);
+  com.google.container.v1beta1.JwkOrBuilder getKeysOrBuilder(int index);
 }
diff --git a/owl-bot-staging/java-container/v1beta1/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
similarity index 67%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequest.java
index 14c36ffe2867..c301b1f2738e 100644
--- a/owl-bot-staging/java-container/v1beta1/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
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * GetNodePoolRequest retrieves a node pool for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.GetNodePoolRequest} */ -public final class GetNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetNodePoolRequest) GetNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetNodePoolRequest.newBuilder() to construct. private GetNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private GetNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetNodePoolRequest.class, com.google.container.v1beta1.GetNodePoolRequest.Builder.class); + com.google.container.v1beta1.GetNodePoolRequest.class, + com.google.container.v1beta1.GetNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +255,55 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,6 +314,8 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -276,6 +323,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -284,14 +332,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -299,16 +348,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -317,6 +365,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,8 +377,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -377,23 +425,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetNodePoolRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetNodePoolRequest other = (com.google.container.v1beta1.GetNodePoolRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.GetNodePoolRequest other = + (com.google.container.v1beta1.GetNodePoolRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -420,130 +464,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetNodePoolRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( 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.GetNodePoolRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetNodePoolRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetNodePoolRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetNodePoolRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetNodePoolRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GetNodePoolRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetNodePoolRequest retrieves a node pool for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.GetNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetNodePoolRequest) com.google.container.v1beta1.GetNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetNodePoolRequest.class, com.google.container.v1beta1.GetNodePoolRequest.Builder.class); + com.google.container.v1beta1.GetNodePoolRequest.class, + com.google.container.v1beta1.GetNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -561,9 +611,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; } @java.lang.Override @@ -582,7 +632,8 @@ public com.google.container.v1beta1.GetNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.GetNodePoolRequest buildPartial() { - com.google.container.v1beta1.GetNodePoolRequest result = new com.google.container.v1beta1.GetNodePoolRequest(this); + com.google.container.v1beta1.GetNodePoolRequest result = + new com.google.container.v1beta1.GetNodePoolRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -596,38 +647,39 @@ public com.google.container.v1beta1.GetNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.GetNodePoolRequest)other); + return mergeFrom((com.google.container.v1beta1.GetNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -635,7 +687,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetNodePoolRequest other) { - if (other == com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -682,37 +735,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -725,22 +784,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -749,24 +812,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -774,66 +840,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -841,6 +920,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -849,15 +930,16 @@ public Builder mergeFrom(
      * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -866,6 +948,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -874,17 +958,17 @@ public Builder mergeFrom(
      * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -892,6 +976,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,22 +986,25 @@ public Builder mergeFrom(
      * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,17 +1013,21 @@ public Builder mergeFrom(
      * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,18 +1036,19 @@ public Builder mergeFrom(
      * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -962,21 +1056,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -985,23 +1083,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,63 +1110,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1073,21 +1187,25 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1096,23 +1214,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1120,63 +1241,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1184,6 +1318,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1191,13 +1327,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1206,6 +1342,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1213,15 +1351,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1229,6 +1366,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1236,20 +1375,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1257,15 +1398,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to
      * get. Specified in the format
@@ -1273,23 +1417,23 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1299,12 +1443,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetNodePoolRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetNodePoolRequest) private static final com.google.container.v1beta1.GetNodePoolRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetNodePoolRequest(); } @@ -1313,27 +1457,27 @@ public static com.google.container.v1beta1.GetNodePoolRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetNodePoolRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNodePoolRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1348,6 +1492,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetNodePoolRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetNodePoolRequestOrBuilder.java index 17cb59ddd48e..1fdb4f20c123 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface GetNodePoolRequestOrBuilder extends +public interface GetNodePoolRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetNodePoolRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3234 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3234 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +89,87 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * 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=3243 + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3243 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3250 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3250 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Required. Deprecated. The name of the node pool.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3257 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3257 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -125,10 +177,13 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to
    * get. Specified in the format
@@ -136,8 +191,8 @@ public interface GetNodePoolRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java index 4426c5a8cbd7..8ca34714a08f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * GetOpenIDConfigRequest gets the OIDC discovery document for the
  * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,53 +28,58 @@
  *
  * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigRequest}
  */
-public final class GetOpenIDConfigRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetOpenIDConfigRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetOpenIDConfigRequest)
     GetOpenIDConfigRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigRequest.newBuilder() to construct.
   private GetOpenIDConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetOpenIDConfigRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetOpenIDConfigRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GetOpenIDConfigRequest.class, com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
+            com.google.container.v1beta1.GetOpenIDConfigRequest.class,
+            com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -66,30 +88,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -98,6 +120,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,8 +132,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -134,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetOpenIDConfigRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetOpenIDConfigRequest other = (com.google.container.v1beta1.GetOpenIDConfigRequest) obj; + com.google.container.v1beta1.GetOpenIDConfigRequest other = + (com.google.container.v1beta1.GetOpenIDConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -162,96 +184,103 @@ public int hashCode() { } public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( 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.GetOpenIDConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetOpenIDConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOpenIDConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GetOpenIDConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetOpenIDConfigRequest gets the OIDC discovery document for the
    * cluster. See the OpenID Connect Discovery 1.0 specification for details.
@@ -259,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetOpenIDConfigRequest)
       com.google.container.v1beta1.GetOpenIDConfigRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GetOpenIDConfigRequest.class, com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
+              com.google.container.v1beta1.GetOpenIDConfigRequest.class,
+              com.google.container.v1beta1.GetOpenIDConfigRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GetOpenIDConfigRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -295,9 +323,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor;
     }
 
     @java.lang.Override
@@ -316,7 +344,8 @@ public com.google.container.v1beta1.GetOpenIDConfigRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GetOpenIDConfigRequest buildPartial() {
-      com.google.container.v1beta1.GetOpenIDConfigRequest result = new com.google.container.v1beta1.GetOpenIDConfigRequest(this);
+      com.google.container.v1beta1.GetOpenIDConfigRequest result =
+          new com.google.container.v1beta1.GetOpenIDConfigRequest(this);
       result.parent_ = parent_;
       onBuilt();
       return result;
@@ -326,38 +355,39 @@ public com.google.container.v1beta1.GetOpenIDConfigRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GetOpenIDConfigRequest) {
-        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigRequest)other);
+        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -365,7 +395,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.GetOpenIDConfigRequest other) {
-      if (other == com.google.container.v1beta1.GetOpenIDConfigRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.GetOpenIDConfigRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -396,17 +427,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                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) {
@@ -419,19 +452,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -440,21 +475,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -462,64 +498,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The cluster (project, location, cluster name) to get the discovery document
      * for. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -529,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetOpenIDConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetOpenIDConfigRequest) private static final com.google.container.v1beta1.GetOpenIDConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetOpenIDConfigRequest(); } @@ -543,27 +586,27 @@ public static com.google.container.v1beta1.GetOpenIDConfigRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -578,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetOpenIDConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java index 905d93478a6a..4193594546c6 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface GetOpenIDConfigRequestOrBuilder extends +public interface GetOpenIDConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetOpenIDConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The cluster (project, location, cluster name) to get the discovery document
    * for. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java index 71c0c8111c20..deed4e6fb7d9 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
  * See the OpenID Connect Discovery 1.0 specification for details.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigResponse}
  */
-public final class GetOpenIDConfigResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GetOpenIDConfigResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetOpenIDConfigResponse)
     GetOpenIDConfigResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GetOpenIDConfigResponse.newBuilder() to construct.
   private GetOpenIDConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GetOpenIDConfigResponse() {
     issuer_ = "";
     jwksUri_ = "";
@@ -32,37 +50,41 @@ private GetOpenIDConfigResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetOpenIDConfigResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.GetOpenIDConfigResponse.class, com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
+            com.google.container.v1beta1.GetOpenIDConfigResponse.class,
+            com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
   }
 
   public static final int ISSUER_FIELD_NUMBER = 1;
   private volatile java.lang.Object issuer_;
   /**
+   *
+   *
    * 
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ @java.lang.Override @@ -71,29 +93,29 @@ public java.lang.String getIssuer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; } } /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -104,11 +126,14 @@ public java.lang.String getIssuer() { public static final int JWKS_URI_FIELD_NUMBER = 2; private volatile java.lang.Object jwksUri_; /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ @java.lang.Override @@ -117,29 +142,29 @@ public java.lang.String getJwksUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; } } /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -150,34 +175,42 @@ public java.lang.String getJwksUri() { public static final int RESPONSE_TYPES_SUPPORTED_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList responseTypesSupported_; /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { return responseTypesSupported_; } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -185,50 +218,60 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } public static final int SUBJECT_TYPES_SUPPORTED_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList subjectTypesSupported_; /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { return subjectTypesSupported_; } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -236,50 +279,60 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } public static final int ID_TOKEN_SIGNING_ALG_VALUES_SUPPORTED_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_; /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_; } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -287,50 +340,60 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } public static final int CLAIMS_SUPPORTED_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList claimsSupported_; /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { return claimsSupported_; } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -338,50 +401,60 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } public static final int GRANT_TYPES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList grantTypes_; /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { return grantTypes_; } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -389,20 +462,23 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -414,8 +490,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuer_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, issuer_); } @@ -423,13 +498,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jwksUri_); } for (int i = 0; i < responseTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, responseTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, responseTypesSupported_.getRaw(i)); } for (int i = 0; i < subjectTypesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subjectTypesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 4, subjectTypesSupported_.getRaw(i)); } for (int i = 0; i < idTokenSigningAlgValuesSupported_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, idTokenSigningAlgValuesSupported_.getRaw(i)); } for (int i = 0; i < claimsSupported_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, claimsSupported_.getRaw(i)); @@ -500,27 +578,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetOpenIDConfigResponse)) { return super.equals(obj); } - com.google.container.v1beta1.GetOpenIDConfigResponse other = (com.google.container.v1beta1.GetOpenIDConfigResponse) obj; + com.google.container.v1beta1.GetOpenIDConfigResponse other = + (com.google.container.v1beta1.GetOpenIDConfigResponse) obj; - if (!getIssuer() - .equals(other.getIssuer())) return false; - if (!getJwksUri() - .equals(other.getJwksUri())) return false; - if (!getResponseTypesSupportedList() - .equals(other.getResponseTypesSupportedList())) return false; - if (!getSubjectTypesSupportedList() - .equals(other.getSubjectTypesSupportedList())) return false; + if (!getIssuer().equals(other.getIssuer())) return false; + if (!getJwksUri().equals(other.getJwksUri())) return false; + if (!getResponseTypesSupportedList().equals(other.getResponseTypesSupportedList())) + return false; + if (!getSubjectTypesSupportedList().equals(other.getSubjectTypesSupportedList())) return false; if (!getIdTokenSigningAlgValuesSupportedList() .equals(other.getIdTokenSigningAlgValuesSupportedList())) return false; - if (!getClaimsSupportedList() - .equals(other.getClaimsSupportedList())) return false; - if (!getGrantTypesList() - .equals(other.getGrantTypesList())) return false; + if (!getClaimsSupportedList().equals(other.getClaimsSupportedList())) return false; + if (!getGrantTypesList().equals(other.getGrantTypesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -562,96 +636,103 @@ public int hashCode() { } public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOpenIDConfigResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( 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.GetOpenIDConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetOpenIDConfigResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOpenIDConfigResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GetOpenIDConfigResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetOpenIDConfigResponse is an OIDC discovery document for the cluster.
    * See the OpenID Connect Discovery 1.0 specification for details.
@@ -659,33 +740,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.GetOpenIDConfigResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetOpenIDConfigResponse)
       com.google.container.v1beta1.GetOpenIDConfigResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.GetOpenIDConfigResponse.class, com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
+              com.google.container.v1beta1.GetOpenIDConfigResponse.class,
+              com.google.container.v1beta1.GetOpenIDConfigResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.GetOpenIDConfigResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -707,9 +787,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor;
     }
 
     @java.lang.Override
@@ -728,7 +808,8 @@ public com.google.container.v1beta1.GetOpenIDConfigResponse build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.GetOpenIDConfigResponse buildPartial() {
-      com.google.container.v1beta1.GetOpenIDConfigResponse result = new com.google.container.v1beta1.GetOpenIDConfigResponse(this);
+      com.google.container.v1beta1.GetOpenIDConfigResponse result =
+          new com.google.container.v1beta1.GetOpenIDConfigResponse(this);
       int from_bitField0_ = bitField0_;
       result.issuer_ = issuer_;
       result.jwksUri_ = jwksUri_;
@@ -765,38 +846,39 @@ public com.google.container.v1beta1.GetOpenIDConfigResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.GetOpenIDConfigResponse) {
-        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigResponse)other);
+        return mergeFrom((com.google.container.v1beta1.GetOpenIDConfigResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -804,7 +886,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.GetOpenIDConfigResponse other) {
-      if (other == com.google.container.v1beta1.GetOpenIDConfigResponse.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.GetOpenIDConfigResponse.getDefaultInstance())
+        return this;
       if (!other.getIssuer().isEmpty()) {
         issuer_ = other.issuer_;
         onChanged();
@@ -889,52 +972,60 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              issuer_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                issuer_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              jwksUri_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                jwksUri_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureResponseTypesSupportedIsMutable();
-              responseTypesSupported_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureSubjectTypesSupportedIsMutable();
-              subjectTypesSupported_.add(s);
-              break;
-            } // case 34
-            case 42: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureIdTokenSigningAlgValuesSupportedIsMutable();
-              idTokenSigningAlgValuesSupported_.add(s);
-              break;
-            } // case 42
-            case 50: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureClaimsSupportedIsMutable();
-              claimsSupported_.add(s);
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureGrantTypesIsMutable();
-              grantTypes_.add(s);
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureResponseTypesSupportedIsMutable();
+                responseTypesSupported_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureSubjectTypesSupportedIsMutable();
+                subjectTypesSupported_.add(s);
+                break;
+              } // case 34
+            case 42:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureIdTokenSigningAlgValuesSupportedIsMutable();
+                idTokenSigningAlgValuesSupported_.add(s);
+                break;
+              } // case 42
+            case 50:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureClaimsSupportedIsMutable();
+                claimsSupported_.add(s);
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureGrantTypesIsMutable();
+                grantTypes_.add(s);
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -944,22 +1035,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object issuer_ = "";
     /**
+     *
+     *
      * 
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The issuer. */ public java.lang.String getIssuer() { java.lang.Object ref = issuer_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuer_ = s; return s; @@ -968,20 +1062,21 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - public com.google.protobuf.ByteString - getIssuerBytes() { + public com.google.protobuf.ByteString getIssuerBytes() { java.lang.Object ref = issuer_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuer_ = b; return b; } else { @@ -989,54 +1084,61 @@ public java.lang.String getIssuer() { } } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The issuer to set. * @return This builder for chaining. */ - public Builder setIssuer( - java.lang.String value) { + public Builder setIssuer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issuer_ = value; onChanged(); return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @return This builder for chaining. */ public Builder clearIssuer() { - + issuer_ = getDefaultInstance().getIssuer(); onChanged(); return this; } /** + * + * *
      * OIDC Issuer.
      * 
* * string issuer = 1; + * * @param value The bytes for issuer to set. * @return This builder for chaining. */ - public Builder setIssuerBytes( - com.google.protobuf.ByteString value) { + public Builder setIssuerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuer_ = value; onChanged(); return this; @@ -1044,18 +1146,20 @@ public Builder setIssuerBytes( private java.lang.Object jwksUri_ = ""; /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ public java.lang.String getJwksUri() { java.lang.Object ref = jwksUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jwksUri_ = s; return s; @@ -1064,20 +1168,21 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - public com.google.protobuf.ByteString - getJwksUriBytes() { + public com.google.protobuf.ByteString getJwksUriBytes() { java.lang.Object ref = jwksUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); jwksUri_ = b; return b; } else { @@ -1085,95 +1190,113 @@ public java.lang.String getJwksUri() { } } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUri( - java.lang.String value) { + public Builder setJwksUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jwksUri_ = value; onChanged(); return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @return This builder for chaining. */ public Builder clearJwksUri() { - + jwksUri_ = getDefaultInstance().getJwksUri(); onChanged(); return this; } /** + * + * *
      * JSON Web Key uri.
      * 
* * string jwks_uri = 2; + * * @param value The bytes for jwksUri to set. * @return This builder for chaining. */ - public Builder setJwksUriBytes( - com.google.protobuf.ByteString value) { + public Builder setJwksUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jwksUri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList responseTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList responseTypesSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureResponseTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - responseTypesSupported_ = new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); + responseTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(responseTypesSupported_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getResponseTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getResponseTypesSupportedList() { return responseTypesSupported_.getUnmodifiableView(); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ public int getResponseTypesSupportedCount() { return responseTypesSupported_.size(); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ @@ -1181,80 +1304,90 @@ public java.lang.String getResponseTypesSupported(int index) { return responseTypesSupported_.get(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index) { return responseTypesSupported_.getByteString(index); } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param index The index to set the value at. * @param value The responseTypesSupported to set. * @return This builder for chaining. */ - public Builder setResponseTypesSupported( - int index, java.lang.String value) { + public Builder setResponseTypesSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupported( - java.lang.String value) { + public Builder addResponseTypesSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureResponseTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param values The responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllResponseTypesSupported( - java.lang.Iterable values) { + public Builder addAllResponseTypesSupported(java.lang.Iterable values) { ensureResponseTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, responseTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseTypesSupported_); onChanged(); return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @return This builder for chaining. */ public Builder clearResponseTypesSupported() { @@ -1264,62 +1397,75 @@ public Builder clearResponseTypesSupported() { return this; } /** + * + * *
      * Supported response types.
      * 
* * repeated string response_types_supported = 3; + * * @param value The bytes of the responseTypesSupported to add. * @return This builder for chaining. */ - public Builder addResponseTypesSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addResponseTypesSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureResponseTypesSupportedIsMutable(); responseTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList subjectTypesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList subjectTypesSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSubjectTypesSupportedIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - subjectTypesSupported_ = new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); + subjectTypesSupported_ = + new com.google.protobuf.LazyStringArrayList(subjectTypesSupported_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - public com.google.protobuf.ProtocolStringList - getSubjectTypesSupportedList() { + public com.google.protobuf.ProtocolStringList getSubjectTypesSupportedList() { return subjectTypesSupported_.getUnmodifiableView(); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ public int getSubjectTypesSupportedCount() { return subjectTypesSupported_.size(); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ @@ -1327,80 +1473,90 @@ public java.lang.String getSubjectTypesSupported(int index) { return subjectTypesSupported_.get(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - public com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index) { + public com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index) { return subjectTypesSupported_.getByteString(index); } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param index The index to set the value at. * @param value The subjectTypesSupported to set. * @return This builder for chaining. */ - public Builder setSubjectTypesSupported( - int index, java.lang.String value) { + public Builder setSubjectTypesSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupported( - java.lang.String value) { + public Builder addSubjectTypesSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSubjectTypesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param values The subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addAllSubjectTypesSupported( - java.lang.Iterable values) { + public Builder addAllSubjectTypesSupported(java.lang.Iterable values) { ensureSubjectTypesSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subjectTypesSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subjectTypesSupported_); onChanged(); return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @return This builder for chaining. */ public Builder clearSubjectTypesSupported() { @@ -1410,62 +1566,75 @@ public Builder clearSubjectTypesSupported() { return this; } /** + * + * *
      * Supported subject types.
      * 
* * repeated string subject_types_supported = 4; + * * @param value The bytes of the subjectTypesSupported to add. * @return This builder for chaining. */ - public Builder addSubjectTypesSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addSubjectTypesSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSubjectTypesSupportedIsMutable(); subjectTypesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList idTokenSigningAlgValuesSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIdTokenSigningAlgValuesSupportedIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - idTokenSigningAlgValuesSupported_ = new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); + idTokenSigningAlgValuesSupported_ = + new com.google.protobuf.LazyStringArrayList(idTokenSigningAlgValuesSupported_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - public com.google.protobuf.ProtocolStringList - getIdTokenSigningAlgValuesSupportedList() { + public com.google.protobuf.ProtocolStringList getIdTokenSigningAlgValuesSupportedList() { return idTokenSigningAlgValuesSupported_.getUnmodifiableView(); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ public int getIdTokenSigningAlgValuesSupportedCount() { return idTokenSigningAlgValuesSupported_.size(); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ @@ -1473,63 +1642,72 @@ public java.lang.String getIdTokenSigningAlgValuesSupported(int index) { return idTokenSigningAlgValuesSupported_.get(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - public com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index) { + public com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index) { return idTokenSigningAlgValuesSupported_.getByteString(index); } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index to set the value at. * @param value The idTokenSigningAlgValuesSupported to set. * @return This builder for chaining. */ - public Builder setIdTokenSigningAlgValuesSupported( - int index, java.lang.String value) { + public Builder setIdTokenSigningAlgValuesSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupported( - java.lang.String value) { + public Builder addIdTokenSigningAlgValuesSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIdTokenSigningAlgValuesSupportedIsMutable(); + throw new NullPointerException(); + } + ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param values The idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ @@ -1542,11 +1720,14 @@ public Builder addAllIdTokenSigningAlgValuesSupported( return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return This builder for chaining. */ public Builder clearIdTokenSigningAlgValuesSupported() { @@ -1556,62 +1737,74 @@ public Builder clearIdTokenSigningAlgValuesSupported() { return this; } /** + * + * *
      * supported ID Token signing Algorithms.
      * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param value The bytes of the idTokenSigningAlgValuesSupported to add. * @return This builder for chaining. */ - public Builder addIdTokenSigningAlgValuesSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addIdTokenSigningAlgValuesSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIdTokenSigningAlgValuesSupportedIsMutable(); idTokenSigningAlgValuesSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList claimsSupported_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList claimsSupported_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureClaimsSupportedIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { claimsSupported_ = new com.google.protobuf.LazyStringArrayList(claimsSupported_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - public com.google.protobuf.ProtocolStringList - getClaimsSupportedList() { + public com.google.protobuf.ProtocolStringList getClaimsSupportedList() { return claimsSupported_.getUnmodifiableView(); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ public int getClaimsSupportedCount() { return claimsSupported_.size(); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ @@ -1619,80 +1812,90 @@ public java.lang.String getClaimsSupported(int index) { return claimsSupported_.get(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - public com.google.protobuf.ByteString - getClaimsSupportedBytes(int index) { + public com.google.protobuf.ByteString getClaimsSupportedBytes(int index) { return claimsSupported_.getByteString(index); } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param index The index to set the value at. * @param value The claimsSupported to set. * @return This builder for chaining. */ - public Builder setClaimsSupported( - int index, java.lang.String value) { + public Builder setClaimsSupported(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupported( - java.lang.String value) { + public Builder addClaimsSupported(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClaimsSupportedIsMutable(); + throw new NullPointerException(); + } + ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param values The claimsSupported to add. * @return This builder for chaining. */ - public Builder addAllClaimsSupported( - java.lang.Iterable values) { + public Builder addAllClaimsSupported(java.lang.Iterable values) { ensureClaimsSupportedIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, claimsSupported_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, claimsSupported_); onChanged(); return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @return This builder for chaining. */ public Builder clearClaimsSupported() { @@ -1702,62 +1905,74 @@ public Builder clearClaimsSupported() { return this; } /** + * + * *
      * Supported claims.
      * 
* * repeated string claims_supported = 6; + * * @param value The bytes of the claimsSupported to add. * @return This builder for chaining. */ - public Builder addClaimsSupportedBytes( - com.google.protobuf.ByteString value) { + public Builder addClaimsSupportedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClaimsSupportedIsMutable(); claimsSupported_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList grantTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList grantTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGrantTypesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { grantTypes_ = new com.google.protobuf.LazyStringArrayList(grantTypes_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - public com.google.protobuf.ProtocolStringList - getGrantTypesList() { + public com.google.protobuf.ProtocolStringList getGrantTypesList() { return grantTypes_.getUnmodifiableView(); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ public int getGrantTypesCount() { return grantTypes_.size(); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ @@ -1765,80 +1980,90 @@ public java.lang.String getGrantTypes(int index) { return grantTypes_.get(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - public com.google.protobuf.ByteString - getGrantTypesBytes(int index) { + public com.google.protobuf.ByteString getGrantTypesBytes(int index) { return grantTypes_.getByteString(index); } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param index The index to set the value at. * @param value The grantTypes to set. * @return This builder for chaining. */ - public Builder setGrantTypes( - int index, java.lang.String value) { + public Builder setGrantTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypes( - java.lang.String value) { + public Builder addGrantTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGrantTypesIsMutable(); + throw new NullPointerException(); + } + ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param values The grantTypes to add. * @return This builder for chaining. */ - public Builder addAllGrantTypes( - java.lang.Iterable values) { + public Builder addAllGrantTypes(java.lang.Iterable values) { ensureGrantTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, grantTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, grantTypes_); onChanged(); return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @return This builder for chaining. */ public Builder clearGrantTypes() { @@ -1848,28 +2073,30 @@ public Builder clearGrantTypes() { return this; } /** + * + * *
      * Supported grant types.
      * 
* * repeated string grant_types = 7; + * * @param value The bytes of the grantTypes to add. * @return This builder for chaining. */ - public Builder addGrantTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addGrantTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGrantTypesIsMutable(); grantTypes_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1879,12 +2106,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetOpenIDConfigResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetOpenIDConfigResponse) private static final com.google.container.v1beta1.GetOpenIDConfigResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetOpenIDConfigResponse(); } @@ -1893,27 +2120,27 @@ public static com.google.container.v1beta1.GetOpenIDConfigResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOpenIDConfigResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOpenIDConfigResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1928,6 +2155,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetOpenIDConfigResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java index 28a5de38bd87..f7efa4349c13 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOpenIDConfigResponseOrBuilder.java @@ -1,254 +1,330 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface GetOpenIDConfigResponseOrBuilder extends +public interface GetOpenIDConfigResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetOpenIDConfigResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The issuer. */ java.lang.String getIssuer(); /** + * + * *
    * OIDC Issuer.
    * 
* * string issuer = 1; + * * @return The bytes for issuer. */ - com.google.protobuf.ByteString - getIssuerBytes(); + com.google.protobuf.ByteString getIssuerBytes(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The jwksUri. */ java.lang.String getJwksUri(); /** + * + * *
    * JSON Web Key uri.
    * 
* * string jwks_uri = 2; + * * @return The bytes for jwksUri. */ - com.google.protobuf.ByteString - getJwksUriBytes(); + com.google.protobuf.ByteString getJwksUriBytes(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return A list containing the responseTypesSupported. */ - java.util.List - getResponseTypesSupportedList(); + java.util.List getResponseTypesSupportedList(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @return The count of responseTypesSupported. */ int getResponseTypesSupportedCount(); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the element to return. * @return The responseTypesSupported at the given index. */ java.lang.String getResponseTypesSupported(int index); /** + * + * *
    * Supported response types.
    * 
* * repeated string response_types_supported = 3; + * * @param index The index of the value to return. * @return The bytes of the responseTypesSupported at the given index. */ - com.google.protobuf.ByteString - getResponseTypesSupportedBytes(int index); + com.google.protobuf.ByteString getResponseTypesSupportedBytes(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return A list containing the subjectTypesSupported. */ - java.util.List - getSubjectTypesSupportedList(); + java.util.List getSubjectTypesSupportedList(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @return The count of subjectTypesSupported. */ int getSubjectTypesSupportedCount(); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the element to return. * @return The subjectTypesSupported at the given index. */ java.lang.String getSubjectTypesSupported(int index); /** + * + * *
    * Supported subject types.
    * 
* * repeated string subject_types_supported = 4; + * * @param index The index of the value to return. * @return The bytes of the subjectTypesSupported at the given index. */ - com.google.protobuf.ByteString - getSubjectTypesSupportedBytes(int index); + com.google.protobuf.ByteString getSubjectTypesSupportedBytes(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return A list containing the idTokenSigningAlgValuesSupported. */ - java.util.List - getIdTokenSigningAlgValuesSupportedList(); + java.util.List getIdTokenSigningAlgValuesSupportedList(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @return The count of idTokenSigningAlgValuesSupported. */ int getIdTokenSigningAlgValuesSupportedCount(); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the element to return. * @return The idTokenSigningAlgValuesSupported at the given index. */ java.lang.String getIdTokenSigningAlgValuesSupported(int index); /** + * + * *
    * supported ID Token signing Algorithms.
    * 
* * repeated string id_token_signing_alg_values_supported = 5; + * * @param index The index of the value to return. * @return The bytes of the idTokenSigningAlgValuesSupported at the given index. */ - com.google.protobuf.ByteString - getIdTokenSigningAlgValuesSupportedBytes(int index); + com.google.protobuf.ByteString getIdTokenSigningAlgValuesSupportedBytes(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return A list containing the claimsSupported. */ - java.util.List - getClaimsSupportedList(); + java.util.List getClaimsSupportedList(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @return The count of claimsSupported. */ int getClaimsSupportedCount(); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the element to return. * @return The claimsSupported at the given index. */ java.lang.String getClaimsSupported(int index); /** + * + * *
    * Supported claims.
    * 
* * repeated string claims_supported = 6; + * * @param index The index of the value to return. * @return The bytes of the claimsSupported at the given index. */ - com.google.protobuf.ByteString - getClaimsSupportedBytes(int index); + com.google.protobuf.ByteString getClaimsSupportedBytes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return A list containing the grantTypes. */ - java.util.List - getGrantTypesList(); + java.util.List getGrantTypesList(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @return The count of grantTypes. */ int getGrantTypesCount(); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the element to return. * @return The grantTypes at the given index. */ java.lang.String getGrantTypes(int index); /** + * + * *
    * Supported grant types.
    * 
* * repeated string grant_types = 7; + * * @param index The index of the value to return. * @return The bytes of the grantTypes at the given index. */ - com.google.protobuf.ByteString - getGrantTypesBytes(int index); + com.google.protobuf.ByteString getGrantTypesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequest.java index 5073ffd7118c..2c1b88929895 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * GetOperationRequest gets a single operation.
  * 
* * Protobuf type {@code google.container.v1beta1.GetOperationRequest} */ -public final class GetOperationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetOperationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetOperationRequest) GetOperationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetOperationRequest.newBuilder() to construct. private GetOperationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetOperationRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private GetOperationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetOperationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetOperationRequest.class, com.google.container.v1beta1.GetOperationRequest.Builder.class); + com.google.container.v1beta1.GetOperationRequest.class, + com.google.container.v1beta1.GetOperationRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int OPERATION_ID_FIELD_NUMBER = 3; private volatile java.lang.Object operationId_; /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @return The operationId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @return The bytes for operationId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -216,12 +254,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -230,30 +271,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -262,6 +303,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +357,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetOperationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetOperationRequest other = (com.google.container.v1beta1.GetOperationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getOperationId() - .equals(other.getOperationId())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.GetOperationRequest other = + (com.google.container.v1beta1.GetOperationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getOperationId().equals(other.getOperationId())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -355,130 +393,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.GetOperationRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.GetOperationRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOperationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetOperationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOperationRequest parseFrom( 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.GetOperationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetOperationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GetOperationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetOperationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOperationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetOperationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetOperationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOperationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GetOperationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetOperationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GetOperationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * GetOperationRequest gets a single operation.
    * 
* * Protobuf type {@code google.container.v1beta1.GetOperationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetOperationRequest) com.google.container.v1beta1.GetOperationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetOperationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetOperationRequest.class, com.google.container.v1beta1.GetOperationRequest.Builder.class); + com.google.container.v1beta1.GetOperationRequest.class, + com.google.container.v1beta1.GetOperationRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetOperationRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +538,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetOperationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetOperationRequest_descriptor; } @java.lang.Override @@ -515,7 +559,8 @@ public com.google.container.v1beta1.GetOperationRequest build() { @java.lang.Override public com.google.container.v1beta1.GetOperationRequest buildPartial() { - com.google.container.v1beta1.GetOperationRequest result = new com.google.container.v1beta1.GetOperationRequest(this); + com.google.container.v1beta1.GetOperationRequest result = + new com.google.container.v1beta1.GetOperationRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.operationId_ = operationId_; @@ -528,38 +573,39 @@ public com.google.container.v1beta1.GetOperationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetOperationRequest) { - return mergeFrom((com.google.container.v1beta1.GetOperationRequest)other); + return mergeFrom((com.google.container.v1beta1.GetOperationRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +613,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetOperationRequest other) { - if (other == com.google.container.v1beta1.GetOperationRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.GetOperationRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -610,32 +657,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - operationId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + operationId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,22 +700,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,24 +728,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,66 +756,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +836,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +846,16 @@ public Builder mergeFrom(
      * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +864,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +874,17 @@ public Builder mergeFrom(
      * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +892,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +902,25 @@ public Builder mergeFrom(
      * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +929,21 @@ public Builder mergeFrom(
      * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +952,19 @@ public Builder mergeFrom(
      * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +972,25 @@ public Builder mergeFrom( private java.lang.Object operationId_ = ""; /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @return The operationId. */ - @java.lang.Deprecated public java.lang.String getOperationId() { + @java.lang.Deprecated + public java.lang.String getOperationId() { java.lang.Object ref = operationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operationId_ = s; return s; @@ -908,23 +999,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @return The bytes for operationId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getOperationIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operationId_ = b; return b; } else { @@ -932,63 +1026,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @param value The operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setOperationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operationId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearOperationId() { - + @java.lang.Deprecated + public Builder clearOperationId() { + operationId_ = getDefaultInstance().getOperationId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The server-assigned `name` of the operation.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @param value The bytes for operationId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setOperationIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setOperationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operationId_ = value; onChanged(); return this; @@ -996,19 +1103,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1017,21 +1126,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1039,64 +1149,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, operation id) of the operation to get.
      * Specified in the format `projects/*/locations/*/operations/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1223,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetOperationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetOperationRequest) private static final com.google.container.v1beta1.GetOperationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetOperationRequest(); } @@ -1120,27 +1237,27 @@ public static com.google.container.v1beta1.GetOperationRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetOperationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetOperationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1272,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetOperationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetOperationRequestOrBuilder.java index c7a816b3225c..b5592afd6e3d 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface GetOperationRequestOrBuilder extends +public interface GetOperationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetOperationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2938 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2938 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface GetOperationRequestOrBuilder extends
    * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +89,73 @@ public interface GetOperationRequestOrBuilder extends
    * 
* * 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=2947 + * + * @deprecated google.container.v1beta1.GetOperationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2947 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @return The operationId. */ - @java.lang.Deprecated java.lang.String getOperationId(); + @java.lang.Deprecated + java.lang.String getOperationId(); /** + * + * *
    * Required. Deprecated. The server-assigned `name` of the operation.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2954 + * string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetOperationRequest.operation_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2954 * @return The bytes for operationId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getOperationIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getOperationIdBytes(); /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, operation id) of the operation to get.
    * Specified in the format `projects/*/locations/*/operations/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequest.java index bfc400407299..3e41385a69fd 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Gets the current Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.GetServerConfigRequest} */ -public final class GetServerConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetServerConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GetServerConfigRequest) GetServerConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetServerConfigRequest.newBuilder() to construct. private GetServerConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetServerConfigRequest() { projectId_ = ""; zone_ = ""; @@ -27,76 +45,84 @@ private GetServerConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetServerConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetServerConfigRequest.class, com.google.container.v1beta1.GetServerConfigRequest.Builder.class); + com.google.container.v1beta1.GetServerConfigRequest.class, + com.google.container.v1beta1.GetServerConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -115,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -141,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,12 +194,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 4; private volatile java.lang.Object name_; /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The name. */ @java.lang.Override @@ -177,30 +211,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -209,6 +243,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -257,19 +291,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GetServerConfigRequest)) { return super.equals(obj); } - com.google.container.v1beta1.GetServerConfigRequest other = (com.google.container.v1beta1.GetServerConfigRequest) obj; + com.google.container.v1beta1.GetServerConfigRequest other = + (com.google.container.v1beta1.GetServerConfigRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -293,129 +325,135 @@ public int hashCode() { } public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GetServerConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.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.container.v1beta1.GetServerConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GetServerConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GetServerConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GetServerConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GetServerConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GetServerConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GetServerConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Gets the current Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.GetServerConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GetServerConfigRequest) com.google.container.v1beta1.GetServerConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GetServerConfigRequest.class, com.google.container.v1beta1.GetServerConfigRequest.Builder.class); + com.google.container.v1beta1.GetServerConfigRequest.class, + com.google.container.v1beta1.GetServerConfigRequest.Builder.class); } // Construct using com.google.container.v1beta1.GetServerConfigRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +467,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; } @java.lang.Override @@ -450,7 +488,8 @@ public com.google.container.v1beta1.GetServerConfigRequest build() { @java.lang.Override public com.google.container.v1beta1.GetServerConfigRequest buildPartial() { - com.google.container.v1beta1.GetServerConfigRequest result = new com.google.container.v1beta1.GetServerConfigRequest(this); + com.google.container.v1beta1.GetServerConfigRequest result = + new com.google.container.v1beta1.GetServerConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.name_ = name_; @@ -462,38 +501,39 @@ public com.google.container.v1beta1.GetServerConfigRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GetServerConfigRequest) { - return mergeFrom((com.google.container.v1beta1.GetServerConfigRequest)other); + return mergeFrom((com.google.container.v1beta1.GetServerConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -501,7 +541,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GetServerConfigRequest other) { - if (other == com.google.container.v1beta1.GetServerConfigRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.GetServerConfigRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -540,27 +581,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: { - name_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -573,22 +618,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -597,24 +646,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -622,66 +674,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -689,6 +754,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -697,15 +764,16 @@ public Builder mergeFrom(
      * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -714,6 +782,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -722,17 +792,17 @@ public Builder mergeFrom(
      * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -740,6 +810,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -748,22 +820,25 @@ public Builder mergeFrom(
      * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -772,17 +847,21 @@ public Builder mergeFrom(
      * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -791,18 +870,19 @@ public Builder mergeFrom(
      * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -810,19 +890,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -831,21 +913,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -853,64 +936,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project and location) of the server config to get,
      * specified in the format `projects/*/locations/*`.
      * 
* * string name = 4; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -920,12 +1010,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GetServerConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GetServerConfigRequest) private static final com.google.container.v1beta1.GetServerConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GetServerConfigRequest(); } @@ -934,27 +1024,27 @@ public static com.google.container.v1beta1.GetServerConfigRequest getDefaultInst 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(); - } - }; + 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; @@ -969,6 +1059,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GetServerConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GetServerConfigRequestOrBuilder.java index 412baca9afc6..fc1cbd1813d6 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface GetServerConfigRequestOrBuilder extends +public interface GetServerConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GetServerConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3035 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3035 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -44,12 +71,16 @@ public interface GetServerConfigRequestOrBuilder extends
    * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -58,32 +89,38 @@ public interface GetServerConfigRequestOrBuilder extends
    * 
* * 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=3044 + * + * @deprecated google.container.v1beta1.GetServerConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3044 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project and location) of the server config to get,
    * specified in the format `projects/*/locations/*`.
    * 
* * string name = 4; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java index bebbbced1e7c..e9d4053715a9 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for the Backup for GKE Agent.
  * 
* * Protobuf type {@code google.container.v1beta1.GkeBackupAgentConfig} */ -public final class GkeBackupAgentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GkeBackupAgentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.GkeBackupAgentConfig) GkeBackupAgentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GkeBackupAgentConfig.newBuilder() to construct. private GkeBackupAgentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GkeBackupAgentConfig() { - } + + private GkeBackupAgentConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GkeBackupAgentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GkeBackupAgentConfig.class, com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1beta1.GkeBackupAgentConfig.class, + com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether the Backup for GKE agent is enabled for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.GkeBackupAgentConfig)) { return super.equals(obj); } - com.google.container.v1beta1.GkeBackupAgentConfig other = (com.google.container.v1beta1.GkeBackupAgentConfig) obj; + com.google.container.v1beta1.GkeBackupAgentConfig other = + (com.google.container.v1beta1.GkeBackupAgentConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.GkeBackupAgentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( 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.GkeBackupAgentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.GkeBackupAgentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.GkeBackupAgentConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GkeBackupAgentConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.GkeBackupAgentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.GkeBackupAgentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the Backup for GKE Agent.
    * 
* * Protobuf type {@code google.container.v1beta1.GkeBackupAgentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.GkeBackupAgentConfig) com.google.container.v1beta1.GkeBackupAgentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.GkeBackupAgentConfig.class, com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); + com.google.container.v1beta1.GkeBackupAgentConfig.class, + com.google.container.v1beta1.GkeBackupAgentConfig.Builder.class); } // Construct using com.google.container.v1beta1.GkeBackupAgentConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.GkeBackupAgentConfig build() { @java.lang.Override public com.google.container.v1beta1.GkeBackupAgentConfig buildPartial() { - com.google.container.v1beta1.GkeBackupAgentConfig result = new com.google.container.v1beta1.GkeBackupAgentConfig(this); + com.google.container.v1beta1.GkeBackupAgentConfig result = + new com.google.container.v1beta1.GkeBackupAgentConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.GkeBackupAgentConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.GkeBackupAgentConfig) { - return mergeFrom((com.google.container.v1beta1.GkeBackupAgentConfig)other); + return mergeFrom((com.google.container.v1beta1.GkeBackupAgentConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.GkeBackupAgentConfig other) { - if (other == com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.GkeBackupAgentConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Backup for GKE agent is enabled for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.GkeBackupAgentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.GkeBackupAgentConfig) private static final com.google.container.v1beta1.GkeBackupAgentConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.GkeBackupAgentConfig(); } @@ -450,27 +489,27 @@ public static com.google.container.v1beta1.GkeBackupAgentConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GkeBackupAgentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GkeBackupAgentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.GkeBackupAgentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java new file mode 100644 index 000000000000..d6916e8e2c67 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface GkeBackupAgentConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GkeBackupAgentConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Backup for GKE agent is enabled for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java index 21d0025b1e3d..5abce78ef47f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration options for the horizontal pod autoscaling feature, which
  * increases or decreases the number of replica pods a replication controller
@@ -12,46 +29,49 @@
  *
  * Protobuf type {@code google.container.v1beta1.HorizontalPodAutoscaling}
  */
-public final class HorizontalPodAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HorizontalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.HorizontalPodAutoscaling)
     HorizontalPodAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HorizontalPodAutoscaling.newBuilder() to construct.
   private HorizontalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private HorizontalPodAutoscaling() {
-  }
+
+  private HorizontalPodAutoscaling() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HorizontalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.HorizontalPodAutoscaling.class, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
+            com.google.container.v1beta1.HorizontalPodAutoscaling.class,
+            com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
    * When enabled, it ensures that metrics are collected into Stackdriver
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -67,6 +88,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,8 +100,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -93,8 +114,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -104,15 +124,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.HorizontalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.HorizontalPodAutoscaling other = (com.google.container.v1beta1.HorizontalPodAutoscaling) obj; + com.google.container.v1beta1.HorizontalPodAutoscaling other = + (com.google.container.v1beta1.HorizontalPodAutoscaling) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -125,104 +145,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HorizontalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( 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.HorizontalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.HorizontalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.HorizontalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.HorizontalPodAutoscaling prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.HorizontalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the horizontal pod autoscaling feature, which
    * increases or decreases the number of replica pods a replication controller
@@ -231,33 +258,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.HorizontalPodAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.HorizontalPodAutoscaling)
       com.google.container.v1beta1.HorizontalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.HorizontalPodAutoscaling.class, com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
+              com.google.container.v1beta1.HorizontalPodAutoscaling.class,
+              com.google.container.v1beta1.HorizontalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.HorizontalPodAutoscaling.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -267,9 +293,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -288,7 +314,8 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.HorizontalPodAutoscaling buildPartial() {
-      com.google.container.v1beta1.HorizontalPodAutoscaling result = new com.google.container.v1beta1.HorizontalPodAutoscaling(this);
+      com.google.container.v1beta1.HorizontalPodAutoscaling result =
+          new com.google.container.v1beta1.HorizontalPodAutoscaling(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -298,38 +325,39 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.HorizontalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.HorizontalPodAutoscaling)other);
+        return mergeFrom((com.google.container.v1beta1.HorizontalPodAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -337,7 +365,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.HorizontalPodAutoscaling other) {
-      if (other == com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.HorizontalPodAutoscaling.getDefaultInstance())
+        return this;
       if (other.getDisabled() != false) {
         setDisabled(other.getDisabled());
       }
@@ -367,17 +396,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -388,8 +419,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -397,6 +430,7 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -404,6 +438,8 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -411,16 +447,19 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
      * When enabled, it ensures that metrics are collected into Stackdriver
@@ -428,17 +467,18 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -448,12 +488,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.HorizontalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.HorizontalPodAutoscaling) private static final com.google.container.v1beta1.HorizontalPodAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.HorizontalPodAutoscaling(); } @@ -462,27 +502,27 @@ public static com.google.container.v1beta1.HorizontalPodAutoscaling getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HorizontalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HorizontalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -497,6 +537,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.HorizontalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..00047639fc2e --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface HorizontalPodAutoscalingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HorizontalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
+   * When enabled, it ensures that metrics are collected into Stackdriver
+   * Monitoring.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java index b4920e0cb22a..73cece29b678 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancing.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration options for the HTTP (L7) load balancing controller addon,
  * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1beta1.HttpLoadBalancing}
  */
-public final class HttpLoadBalancing extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class HttpLoadBalancing extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.HttpLoadBalancing)
     HttpLoadBalancingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use HttpLoadBalancing.newBuilder() to construct.
   private HttpLoadBalancing(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private HttpLoadBalancing() {
-  }
+
+  private HttpLoadBalancing() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HttpLoadBalancing();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.HttpLoadBalancing.class, com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
+            com.google.container.v1beta1.HttpLoadBalancing.class,
+            com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Whether the HTTP Load Balancing controller is enabled in the cluster.
    * When enabled, it runs a small pod in the cluster that manages the load
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -66,6 +87,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -77,8 +99,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -92,8 +113,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -103,15 +123,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.HttpLoadBalancing)) { return super.equals(obj); } - com.google.container.v1beta1.HttpLoadBalancing other = (com.google.container.v1beta1.HttpLoadBalancing) obj; + com.google.container.v1beta1.HttpLoadBalancing other = + (com.google.container.v1beta1.HttpLoadBalancing) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -124,104 +144,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.HttpLoadBalancing parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( 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.HttpLoadBalancing parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.HttpLoadBalancing parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.HttpLoadBalancing parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.HttpLoadBalancing parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.HttpLoadBalancing parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.HttpLoadBalancing prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the HTTP (L7) load balancing controller addon,
    * which makes it easy to set up HTTP load balancers for services in a cluster.
@@ -229,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.HttpLoadBalancing}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.HttpLoadBalancing)
       com.google.container.v1beta1.HttpLoadBalancingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.HttpLoadBalancing.class, com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
+              com.google.container.v1beta1.HttpLoadBalancing.class,
+              com.google.container.v1beta1.HttpLoadBalancing.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.HttpLoadBalancing.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -265,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor;
     }
 
     @java.lang.Override
@@ -286,7 +311,8 @@ public com.google.container.v1beta1.HttpLoadBalancing build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.HttpLoadBalancing buildPartial() {
-      com.google.container.v1beta1.HttpLoadBalancing result = new com.google.container.v1beta1.HttpLoadBalancing(this);
+      com.google.container.v1beta1.HttpLoadBalancing result =
+          new com.google.container.v1beta1.HttpLoadBalancing(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -296,38 +322,39 @@ public com.google.container.v1beta1.HttpLoadBalancing buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.HttpLoadBalancing) {
-        return mergeFrom((com.google.container.v1beta1.HttpLoadBalancing)other);
+        return mergeFrom((com.google.container.v1beta1.HttpLoadBalancing) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -365,17 +392,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -386,8 +415,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -395,6 +426,7 @@ public Builder mergeFrom(
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -402,6 +434,8 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -409,16 +443,19 @@ public boolean getDisabled() {
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the HTTP Load Balancing controller is enabled in the cluster.
      * When enabled, it runs a small pod in the cluster that manages the load
@@ -426,17 +463,18 @@ public Builder setDisabled(boolean value) {
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -446,12 +484,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.HttpLoadBalancing) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.HttpLoadBalancing) private static final com.google.container.v1beta1.HttpLoadBalancing DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.HttpLoadBalancing(); } @@ -460,27 +498,27 @@ public static com.google.container.v1beta1.HttpLoadBalancing getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpLoadBalancing parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpLoadBalancing parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -495,6 +533,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.HttpLoadBalancing getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java new file mode 100644 index 000000000000..cc8ca3b2dff7 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java @@ -0,0 +1,40 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface HttpLoadBalancingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HttpLoadBalancing) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the HTTP Load Balancing controller is enabled in the cluster.
+   * When enabled, it runs a small pod in the cluster that manages the load
+   * balancers.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java index 6f3c8ab4e233..39bf01c6194c 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
  * subsetting on this cluster.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.ILBSubsettingConfig}
  */
-public final class ILBSubsettingConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ILBSubsettingConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ILBSubsettingConfig)
     ILBSubsettingConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ILBSubsettingConfig.newBuilder() to construct.
   private ILBSubsettingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ILBSubsettingConfig() {
-  }
+
+  private ILBSubsettingConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ILBSubsettingConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ILBSubsettingConfig.class, com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
+            com.google.container.v1beta1.ILBSubsettingConfig.class,
+            com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enables l4 ILB subsetting for this cluster
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ILBSubsettingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ILBSubsettingConfig other = (com.google.container.v1beta1.ILBSubsettingConfig) obj; + com.google.container.v1beta1.ILBSubsettingConfig other = + (com.google.container.v1beta1.ILBSubsettingConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ILBSubsettingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( 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.ILBSubsettingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ILBSubsettingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ILBSubsettingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ILBSubsettingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ILBSubsettingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ILBSubsettingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
    * subsetting on this cluster.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ILBSubsettingConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ILBSubsettingConfig)
       com.google.container.v1beta1.ILBSubsettingConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ILBSubsettingConfig.class, com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
+              com.google.container.v1beta1.ILBSubsettingConfig.class,
+              com.google.container.v1beta1.ILBSubsettingConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ILBSubsettingConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1beta1.ILBSubsettingConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ILBSubsettingConfig buildPartial() {
-      com.google.container.v1beta1.ILBSubsettingConfig result = new com.google.container.v1beta1.ILBSubsettingConfig(this);
+      com.google.container.v1beta1.ILBSubsettingConfig result =
+          new com.google.container.v1beta1.ILBSubsettingConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1beta1.ILBSubsettingConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ILBSubsettingConfig) {
-        return mergeFrom((com.google.container.v1beta1.ILBSubsettingConfig)other);
+        return mergeFrom((com.google.container.v1beta1.ILBSubsettingConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -333,7 +360,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ILBSubsettingConfig other) {
-      if (other == com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.ILBSubsettingConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -363,17 +391,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +414,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enables l4 ILB subsetting for this cluster
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +431,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enables l4 ILB subsetting for this cluster
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enables l4 ILB subsetting for this cluster
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ILBSubsettingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ILBSubsettingConfig) private static final com.google.container.v1beta1.ILBSubsettingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ILBSubsettingConfig(); } @@ -452,27 +491,27 @@ public static com.google.container.v1beta1.ILBSubsettingConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ILBSubsettingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ILBSubsettingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ILBSubsettingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java new file mode 100644 index 000000000000..f46385570e11 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ILBSubsettingConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ILBSubsettingConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enables l4 ILB subsetting for this cluster
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 77% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicy.java index cb85ce88896d..4e8cd018b632 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration for controlling how IPs are allocated in the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.IPAllocationPolicy} */ -public final class IPAllocationPolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IPAllocationPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.IPAllocationPolicy) IPAllocationPolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IPAllocationPolicy.newBuilder() to construct. private IPAllocationPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IPAllocationPolicy() { subnetworkName_ = ""; clusterIpv4Cidr_ = ""; @@ -38,39 +56,43 @@ private IPAllocationPolicy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IPAllocationPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IPAllocationPolicy.class, com.google.container.v1beta1.IPAllocationPolicy.Builder.class); + com.google.container.v1beta1.IPAllocationPolicy.class, + com.google.container.v1beta1.IPAllocationPolicy.Builder.class); } /** + * + * *
    * Possible values for IP stack type
    * 
* * Protobuf enum {@code google.container.v1beta1.IPAllocationPolicy.StackType} */ - public enum StackType - implements com.google.protobuf.ProtocolMessageEnum { + public enum StackType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * By default, the clusters will be IPV4 only
      * 
@@ -79,6 +101,8 @@ public enum StackType */ STACK_TYPE_UNSPECIFIED(0), /** + * + * *
      * The value used if the cluster is a IPV4 only
      * 
@@ -87,6 +111,8 @@ public enum StackType */ IPV4(1), /** + * + * *
      * The value used if the cluster is a dual stack cluster
      * 
@@ -98,6 +124,8 @@ public enum StackType ; /** + * + * *
      * By default, the clusters will be IPV4 only
      * 
@@ -106,6 +134,8 @@ public enum StackType */ public static final int STACK_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The value used if the cluster is a IPV4 only
      * 
@@ -114,6 +144,8 @@ public enum StackType */ public static final int IPV4_VALUE = 1; /** + * + * *
      * The value used if the cluster is a dual stack cluster
      * 
@@ -122,7 +154,6 @@ public enum StackType */ public static final int IPV4_IPV6_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -147,49 +178,49 @@ public static StackType valueOf(int value) { */ public static StackType forNumber(int value) { switch (value) { - case 0: return STACK_TYPE_UNSPECIFIED; - case 1: return IPV4; - case 2: return IPV4_IPV6; - default: return null; + case 0: + return STACK_TYPE_UNSPECIFIED; + case 1: + return IPV4; + case 2: + return IPV4_IPV6; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - StackType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StackType findValueByNumber(int number) { - return StackType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StackType findValueByNumber(int number) { + return StackType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.IPAllocationPolicy.getDescriptor().getEnumTypes().get(0); } private static final StackType[] VALUES = values(); - public static StackType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StackType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -207,15 +238,18 @@ private StackType(int value) { } /** + * + * *
    * IPv6 access type
    * 
* * Protobuf enum {@code google.container.v1beta1.IPAllocationPolicy.IPv6AccessType} */ - public enum IPv6AccessType - implements com.google.protobuf.ProtocolMessageEnum { + public enum IPv6AccessType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value, will be defaulted as type external.
      * 
@@ -224,6 +258,8 @@ public enum IPv6AccessType */ IPV6_ACCESS_TYPE_UNSPECIFIED(0), /** + * + * *
      * Access type internal (all v6 addresses are internal IPs)
      * 
@@ -232,6 +268,8 @@ public enum IPv6AccessType */ INTERNAL(1), /** + * + * *
      * Access type external (all v6 addresses are external IPs)
      * 
@@ -243,6 +281,8 @@ public enum IPv6AccessType ; /** + * + * *
      * Default value, will be defaulted as type external.
      * 
@@ -251,6 +291,8 @@ public enum IPv6AccessType */ public static final int IPV6_ACCESS_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Access type internal (all v6 addresses are internal IPs)
      * 
@@ -259,6 +301,8 @@ public enum IPv6AccessType */ public static final int INTERNAL_VALUE = 1; /** + * + * *
      * Access type external (all v6 addresses are external IPs)
      * 
@@ -267,7 +311,6 @@ public enum IPv6AccessType */ public static final int EXTERNAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -292,49 +335,49 @@ public static IPv6AccessType valueOf(int value) { */ public static IPv6AccessType forNumber(int value) { switch (value) { - case 0: return IPV6_ACCESS_TYPE_UNSPECIFIED; - case 1: return INTERNAL; - case 2: return EXTERNAL; - default: return null; + case 0: + return IPV6_ACCESS_TYPE_UNSPECIFIED; + case 1: + return INTERNAL; + case 2: + return EXTERNAL; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IPv6AccessType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IPv6AccessType findValueByNumber(int number) { - return IPv6AccessType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IPv6AccessType findValueByNumber(int number) { + return IPv6AccessType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.IPAllocationPolicy.getDescriptor().getEnumTypes().get(1); } private static final IPv6AccessType[] VALUES = values(); - public static IPv6AccessType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IPv6AccessType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -354,6 +397,8 @@ private IPv6AccessType(int value) { public static final int USE_IP_ALIASES_FIELD_NUMBER = 1; private boolean useIpAliases_; /** + * + * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -362,6 +407,7 @@ private IPv6AccessType(int value) {
    * 
* * bool use_ip_aliases = 1; + * * @return The useIpAliases. */ @java.lang.Override @@ -372,12 +418,15 @@ public boolean getUseIpAliases() { public static final int CREATE_SUBNETWORK_FIELD_NUMBER = 2; private boolean createSubnetwork_; /** + * + * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; + * * @return The createSubnetwork. */ @java.lang.Override @@ -388,6 +437,8 @@ public boolean getCreateSubnetwork() { public static final int SUBNETWORK_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object subnetworkName_; /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -395,6 +446,7 @@ public boolean getCreateSubnetwork() {
    * 
* * string subnetwork_name = 3; + * * @return The subnetworkName. */ @java.lang.Override @@ -403,14 +455,15 @@ public java.lang.String getSubnetworkName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; } } /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -418,16 +471,15 @@ public java.lang.String getSubnetworkName() {
    * 
* * string subnetwork_name = 3; + * * @return The bytes for subnetworkName. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkNameBytes() { + public com.google.protobuf.ByteString getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -438,46 +490,51 @@ public java.lang.String getSubnetworkName() { public static final int CLUSTER_IPV4_CIDR_FIELD_NUMBER = 4; private volatile java.lang.Object clusterIpv4Cidr_; /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @return The clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; } } /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @return The bytes for clusterIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -488,46 +545,51 @@ public java.lang.String getSubnetworkName() { public static final int NODE_IPV4_CIDR_FIELD_NUMBER = 5; private volatile java.lang.Object nodeIpv4Cidr_; /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @return The nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; } } /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @return The bytes for nodeIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodeIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -538,46 +600,51 @@ public java.lang.String getSubnetworkName() { public static final int SERVICES_IPV4_CIDR_FIELD_NUMBER = 6; private volatile java.lang.Object servicesIpv4Cidr_; /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @return The servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; } } /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @return The bytes for servicesIpv4Cidr. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -588,6 +655,8 @@ public java.lang.String getSubnetworkName() { public static final int CLUSTER_SECONDARY_RANGE_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object clusterSecondaryRangeName_; /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -598,6 +667,7 @@ public java.lang.String getSubnetworkName() {
    * 
* * string cluster_secondary_range_name = 7; + * * @return The clusterSecondaryRangeName. */ @java.lang.Override @@ -606,14 +676,15 @@ public java.lang.String getClusterSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; } } /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -624,16 +695,15 @@ public java.lang.String getClusterSecondaryRangeName() {
    * 
* * string cluster_secondary_range_name = 7; + * * @return The bytes for clusterSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -644,6 +714,8 @@ public java.lang.String getClusterSecondaryRangeName() { public static final int SERVICES_SECONDARY_RANGE_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object servicesSecondaryRangeName_; /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -654,6 +726,7 @@ public java.lang.String getClusterSecondaryRangeName() {
    * 
* * string services_secondary_range_name = 8; + * * @return The servicesSecondaryRangeName. */ @java.lang.Override @@ -662,14 +735,15 @@ public java.lang.String getServicesSecondaryRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; } } /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -680,16 +754,15 @@ public java.lang.String getServicesSecondaryRangeName() {
    * 
* * string services_secondary_range_name = 8; + * * @return The bytes for servicesSecondaryRangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -700,6 +773,8 @@ public java.lang.String getServicesSecondaryRangeName() { public static final int CLUSTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 9; private volatile java.lang.Object clusterIpv4CidrBlock_; /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -715,6 +790,7 @@ public java.lang.String getServicesSecondaryRangeName() {
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The clusterIpv4CidrBlock. */ @java.lang.Override @@ -723,14 +799,15 @@ public java.lang.String getClusterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -746,16 +823,15 @@ public java.lang.String getClusterIpv4CidrBlock() {
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The bytes for clusterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -766,6 +842,8 @@ public java.lang.String getClusterIpv4CidrBlock() { public static final int NODE_IPV4_CIDR_BLOCK_FIELD_NUMBER = 10; private volatile java.lang.Object nodeIpv4CidrBlock_; /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -780,6 +858,7 @@ public java.lang.String getClusterIpv4CidrBlock() {
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The nodeIpv4CidrBlock. */ @java.lang.Override @@ -788,14 +867,15 @@ public java.lang.String getNodeIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -810,16 +890,15 @@ public java.lang.String getNodeIpv4CidrBlock() {
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The bytes for nodeIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -830,6 +909,8 @@ public java.lang.String getNodeIpv4CidrBlock() { public static final int SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER = 11; private volatile java.lang.Object servicesIpv4CidrBlock_; /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -845,6 +926,7 @@ public java.lang.String getNodeIpv4CidrBlock() {
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The servicesIpv4CidrBlock. */ @java.lang.Override @@ -853,14 +935,15 @@ public java.lang.String getServicesIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -876,16 +959,15 @@ public java.lang.String getServicesIpv4CidrBlock() {
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The bytes for servicesIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -896,6 +978,8 @@ public java.lang.String getServicesIpv4CidrBlock() { public static final int ALLOW_ROUTE_OVERLAP_FIELD_NUMBER = 12; private boolean allowRouteOverlap_; /** + * + * *
    * If true, allow allocation of cluster CIDR ranges that overlap with certain
    * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -911,6 +995,7 @@ public java.lang.String getServicesIpv4CidrBlock() {
    * 
* * bool allow_route_overlap = 12; + * * @return The allowRouteOverlap. */ @java.lang.Override @@ -921,6 +1006,8 @@ public boolean getAllowRouteOverlap() { public static final int TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER = 13; private volatile java.lang.Object tpuIpv4CidrBlock_; /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -937,6 +1024,7 @@ public boolean getAllowRouteOverlap() {
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The tpuIpv4CidrBlock. */ @java.lang.Override @@ -945,14 +1033,15 @@ public java.lang.String getTpuIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -969,16 +1058,15 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The bytes for tpuIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -989,6 +1077,8 @@ public java.lang.String getTpuIpv4CidrBlock() { public static final int USE_ROUTES_FIELD_NUMBER = 15; private boolean useRoutes_; /** + * + * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -997,6 +1087,7 @@ public java.lang.String getTpuIpv4CidrBlock() {
    * 
* * bool use_routes = 15; + * * @return The useRoutes. */ @java.lang.Override @@ -1007,65 +1098,90 @@ public boolean getUseRoutes() { public static final int STACK_TYPE_FIELD_NUMBER = 16; private int stackType_; /** + * + * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override public int getStackTypeValue() { + @java.lang.Override + public int getStackTypeValue() { return stackType_; } /** + * + * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @return The stackType. */ - @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { + @java.lang.Override + public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.StackType result = com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); - return result == null ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED : result; + com.google.container.v1beta1.IPAllocationPolicy.StackType result = + com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED + : result; } public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER = 17; private int ipv6AccessType_; /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override public int getIpv6AccessTypeValue() { + @java.lang.Override + public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * * @return The ipv6AccessType. */ - @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { + @java.lang.Override + public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); - return result == null ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED : result; + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED + : result; } public static final int SUBNET_IPV6_CIDR_BLOCK_FIELD_NUMBER = 22; private volatile java.lang.Object subnetIpv6CidrBlock_; /** + * + * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The subnetIpv6CidrBlock. */ @java.lang.Override @@ -1074,29 +1190,29 @@ public java.lang.String getSubnetIpv6CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetIpv6CidrBlock_ = s; return s; } } /** + * + * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for subnetIpv6CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { java.lang.Object ref = subnetIpv6CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetIpv6CidrBlock_ = b; return b; } else { @@ -1107,11 +1223,14 @@ public java.lang.String getSubnetIpv6CidrBlock() { public static final int SERVICES_IPV6_CIDR_BLOCK_FIELD_NUMBER = 23; private volatile java.lang.Object servicesIpv6CidrBlock_; /** + * + * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The servicesIpv6CidrBlock. */ @java.lang.Override @@ -1120,29 +1239,29 @@ public java.lang.String getServicesIpv6CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv6CidrBlock_ = s; return s; } } /** + * + * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for servicesIpv6CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getServicesIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { java.lang.Object ref = servicesIpv6CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv6CidrBlock_ = b; return b; } else { @@ -1151,6 +1270,7 @@ public java.lang.String getServicesIpv6CidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1162,8 +1282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (useIpAliases_ != false) { output.writeBool(1, useIpAliases_); } @@ -1206,10 +1325,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (useRoutes_ != false) { output.writeBool(15, useRoutes_); } - if (stackType_ != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { + if (stackType_ + != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(16, stackType_); } - if (ipv6AccessType_ != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { + if (ipv6AccessType_ + != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType + .IPV6_ACCESS_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(17, ipv6AccessType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetIpv6CidrBlock_)) { @@ -1228,12 +1352,10 @@ public int getSerializedSize() { size = 0; if (useIpAliases_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, useIpAliases_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, useIpAliases_); } if (createSubnetwork_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, createSubnetwork_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, createSubnetwork_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetworkName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subnetworkName_); @@ -1248,10 +1370,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, servicesIpv4Cidr_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterSecondaryRangeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(7, clusterSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(servicesSecondaryRangeName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(8, servicesSecondaryRangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterIpv4CidrBlock_); @@ -1263,23 +1387,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, servicesIpv4CidrBlock_); } if (allowRouteOverlap_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, allowRouteOverlap_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, allowRouteOverlap_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tpuIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, tpuIpv4CidrBlock_); } if (useRoutes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(15, useRoutes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(15, useRoutes_); } - if (stackType_ != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(16, stackType_); + if (stackType_ + != com.google.container.v1beta1.IPAllocationPolicy.StackType.STACK_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, stackType_); } - if (ipv6AccessType_ != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.IPV6_ACCESS_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(17, ipv6AccessType_); + if (ipv6AccessType_ + != com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType + .IPV6_ACCESS_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(17, ipv6AccessType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetIpv6CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, subnetIpv6CidrBlock_); @@ -1295,47 +1420,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IPAllocationPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.IPAllocationPolicy other = (com.google.container.v1beta1.IPAllocationPolicy) obj; - - if (getUseIpAliases() - != other.getUseIpAliases()) return false; - if (getCreateSubnetwork() - != other.getCreateSubnetwork()) return false; - if (!getSubnetworkName() - .equals(other.getSubnetworkName())) return false; - if (!getClusterIpv4Cidr() - .equals(other.getClusterIpv4Cidr())) return false; - if (!getNodeIpv4Cidr() - .equals(other.getNodeIpv4Cidr())) return false; - if (!getServicesIpv4Cidr() - .equals(other.getServicesIpv4Cidr())) return false; - if (!getClusterSecondaryRangeName() - .equals(other.getClusterSecondaryRangeName())) return false; - if (!getServicesSecondaryRangeName() - .equals(other.getServicesSecondaryRangeName())) return false; - if (!getClusterIpv4CidrBlock() - .equals(other.getClusterIpv4CidrBlock())) return false; - if (!getNodeIpv4CidrBlock() - .equals(other.getNodeIpv4CidrBlock())) return false; - if (!getServicesIpv4CidrBlock() - .equals(other.getServicesIpv4CidrBlock())) return false; - if (getAllowRouteOverlap() - != other.getAllowRouteOverlap()) return false; - if (!getTpuIpv4CidrBlock() - .equals(other.getTpuIpv4CidrBlock())) return false; - if (getUseRoutes() - != other.getUseRoutes()) return false; + com.google.container.v1beta1.IPAllocationPolicy other = + (com.google.container.v1beta1.IPAllocationPolicy) obj; + + if (getUseIpAliases() != other.getUseIpAliases()) return false; + if (getCreateSubnetwork() != other.getCreateSubnetwork()) return false; + if (!getSubnetworkName().equals(other.getSubnetworkName())) return false; + if (!getClusterIpv4Cidr().equals(other.getClusterIpv4Cidr())) return false; + if (!getNodeIpv4Cidr().equals(other.getNodeIpv4Cidr())) return false; + if (!getServicesIpv4Cidr().equals(other.getServicesIpv4Cidr())) return false; + if (!getClusterSecondaryRangeName().equals(other.getClusterSecondaryRangeName())) return false; + if (!getServicesSecondaryRangeName().equals(other.getServicesSecondaryRangeName())) + return false; + if (!getClusterIpv4CidrBlock().equals(other.getClusterIpv4CidrBlock())) return false; + if (!getNodeIpv4CidrBlock().equals(other.getNodeIpv4CidrBlock())) return false; + if (!getServicesIpv4CidrBlock().equals(other.getServicesIpv4CidrBlock())) return false; + if (getAllowRouteOverlap() != other.getAllowRouteOverlap()) return false; + if (!getTpuIpv4CidrBlock().equals(other.getTpuIpv4CidrBlock())) return false; + if (getUseRoutes() != other.getUseRoutes()) return false; if (stackType_ != other.stackType_) return false; if (ipv6AccessType_ != other.ipv6AccessType_) return false; - if (!getSubnetIpv6CidrBlock() - .equals(other.getSubnetIpv6CidrBlock())) return false; - if (!getServicesIpv6CidrBlock() - .equals(other.getServicesIpv6CidrBlock())) return false; + if (!getSubnetIpv6CidrBlock().equals(other.getSubnetIpv6CidrBlock())) return false; + if (!getServicesIpv6CidrBlock().equals(other.getServicesIpv6CidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1348,11 +1459,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USE_IP_ALIASES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseIpAliases()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseIpAliases()); hash = (37 * hash) + CREATE_SUBNETWORK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCreateSubnetwork()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreateSubnetwork()); hash = (37 * hash) + SUBNETWORK_NAME_FIELD_NUMBER; hash = (53 * hash) + getSubnetworkName().hashCode(); hash = (37 * hash) + CLUSTER_IPV4_CIDR_FIELD_NUMBER; @@ -1372,13 +1481,11 @@ public int hashCode() { hash = (37 * hash) + SERVICES_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getServicesIpv4CidrBlock().hashCode(); hash = (37 * hash) + ALLOW_ROUTE_OVERLAP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowRouteOverlap()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowRouteOverlap()); hash = (37 * hash) + TPU_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getTpuIpv4CidrBlock().hashCode(); hash = (37 * hash) + USE_ROUTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseRoutes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseRoutes()); hash = (37 * hash) + STACK_TYPE_FIELD_NUMBER; hash = (53 * hash) + stackType_; hash = (37 * hash) + IPV6_ACCESS_TYPE_FIELD_NUMBER; @@ -1392,130 +1499,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IPAllocationPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( 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.IPAllocationPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IPAllocationPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.IPAllocationPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IPAllocationPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IPAllocationPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.IPAllocationPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for controlling how IPs are allocated in the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.IPAllocationPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IPAllocationPolicy) com.google.container.v1beta1.IPAllocationPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IPAllocationPolicy.class, com.google.container.v1beta1.IPAllocationPolicy.Builder.class); + com.google.container.v1beta1.IPAllocationPolicy.class, + com.google.container.v1beta1.IPAllocationPolicy.Builder.class); } // Construct using com.google.container.v1beta1.IPAllocationPolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1559,9 +1672,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; } @java.lang.Override @@ -1580,7 +1693,8 @@ public com.google.container.v1beta1.IPAllocationPolicy build() { @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy buildPartial() { - com.google.container.v1beta1.IPAllocationPolicy result = new com.google.container.v1beta1.IPAllocationPolicy(this); + com.google.container.v1beta1.IPAllocationPolicy result = + new com.google.container.v1beta1.IPAllocationPolicy(this); result.useIpAliases_ = useIpAliases_; result.createSubnetwork_ = createSubnetwork_; result.subnetworkName_ = subnetworkName_; @@ -1607,38 +1721,39 @@ public com.google.container.v1beta1.IPAllocationPolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.IPAllocationPolicy) { - return mergeFrom((com.google.container.v1beta1.IPAllocationPolicy)other); + return mergeFrom((com.google.container.v1beta1.IPAllocationPolicy) other); } else { super.mergeFrom(other); return this; @@ -1646,7 +1761,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.IPAllocationPolicy other) { - if (other == com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.IPAllocationPolicy.getDefaultInstance()) + return this; if (other.getUseIpAliases() != false) { setUseIpAliases(other.getUseIpAliases()); } @@ -1739,102 +1855,121 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - useIpAliases_ = input.readBool(); - - break; - } // case 8 - case 16: { - createSubnetwork_ = input.readBool(); - - break; - } // case 16 - case 26: { - subnetworkName_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - clusterIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - nodeIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - servicesIpv4Cidr_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - clusterSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - servicesSecondaryRangeName_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 82: { - nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 82 - case 90: { - servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 90 - case 96: { - allowRouteOverlap_ = input.readBool(); - - break; - } // case 96 - case 106: { - tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 106 - case 120: { - useRoutes_ = input.readBool(); - - break; - } // case 120 - case 128: { - stackType_ = input.readEnum(); - - break; - } // case 128 - case 136: { - ipv6AccessType_ = input.readEnum(); - - break; - } // case 136 - case 178: { - subnetIpv6CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 178 - case 186: { - servicesIpv6CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 186 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + useIpAliases_ = input.readBool(); + + break; + } // case 8 + case 16: + { + createSubnetwork_ = input.readBool(); + + break; + } // case 16 + case 26: + { + subnetworkName_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + clusterIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + nodeIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + servicesIpv4Cidr_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + clusterSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + servicesSecondaryRangeName_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + clusterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 82: + { + nodeIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 90: + { + servicesIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 96: + { + allowRouteOverlap_ = input.readBool(); + + break; + } // case 96 + case 106: + { + tpuIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 120: + { + useRoutes_ = input.readBool(); + + break; + } // case 120 + case 128: + { + stackType_ = input.readEnum(); + + break; + } // case 128 + case 136: + { + ipv6AccessType_ = input.readEnum(); + + break; + } // case 136 + case 178: + { + subnetIpv6CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 178 + case 186: + { + servicesIpv6CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 186 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1845,8 +1980,10 @@ public Builder mergeFrom( return this; } - private boolean useIpAliases_ ; + private boolean useIpAliases_; /** + * + * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1855,6 +1992,7 @@ public Builder mergeFrom(
      * 
* * bool use_ip_aliases = 1; + * * @return The useIpAliases. */ @java.lang.Override @@ -1862,6 +2000,8 @@ public boolean getUseIpAliases() { return useIpAliases_; } /** + * + * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1870,16 +2010,19 @@ public boolean getUseIpAliases() {
      * 
* * bool use_ip_aliases = 1; + * * @param value The useIpAliases to set. * @return This builder for chaining. */ public Builder setUseIpAliases(boolean value) { - + useIpAliases_ = value; onChanged(); return this; } /** + * + * *
      * Whether alias IPs will be used for pod IPs in the cluster.
      * This is used in conjunction with use_routes. It cannot
@@ -1888,23 +2031,27 @@ public Builder setUseIpAliases(boolean value) {
      * 
* * bool use_ip_aliases = 1; + * * @return This builder for chaining. */ public Builder clearUseIpAliases() { - + useIpAliases_ = false; onChanged(); return this; } - private boolean createSubnetwork_ ; + private boolean createSubnetwork_; /** + * + * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; + * * @return The createSubnetwork. */ @java.lang.Override @@ -1912,32 +2059,38 @@ public boolean getCreateSubnetwork() { return createSubnetwork_; } /** + * + * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; + * * @param value The createSubnetwork to set. * @return This builder for chaining. */ public Builder setCreateSubnetwork(boolean value) { - + createSubnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Whether a new subnetwork will be created automatically for the cluster.
      * This field is only applicable when `use_ip_aliases` is true.
      * 
* * bool create_subnetwork = 2; + * * @return This builder for chaining. */ public Builder clearCreateSubnetwork() { - + createSubnetwork_ = false; onChanged(); return this; @@ -1945,6 +2098,8 @@ public Builder clearCreateSubnetwork() { private java.lang.Object subnetworkName_ = ""; /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1952,13 +2107,13 @@ public Builder clearCreateSubnetwork() {
      * 
* * string subnetwork_name = 3; + * * @return The subnetworkName. */ public java.lang.String getSubnetworkName() { java.lang.Object ref = subnetworkName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetworkName_ = s; return s; @@ -1967,6 +2122,8 @@ public java.lang.String getSubnetworkName() { } } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1974,15 +2131,14 @@ public java.lang.String getSubnetworkName() {
      * 
* * string subnetwork_name = 3; + * * @return The bytes for subnetworkName. */ - public com.google.protobuf.ByteString - getSubnetworkNameBytes() { + public com.google.protobuf.ByteString getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetworkName_ = b; return b; } else { @@ -1990,6 +2146,8 @@ public java.lang.String getSubnetworkName() { } } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -1997,20 +2155,22 @@ public java.lang.String getSubnetworkName() {
      * 
* * string subnetwork_name = 3; + * * @param value The subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkName( - java.lang.String value) { + public Builder setSubnetworkName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetworkName_ = value; onChanged(); return this; } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -2018,15 +2178,18 @@ public Builder setSubnetworkName(
      * 
* * string subnetwork_name = 3; + * * @return This builder for chaining. */ public Builder clearSubnetworkName() { - + subnetworkName_ = getDefaultInstance().getSubnetworkName(); onChanged(); return this; } /** + * + * *
      * A custom subnetwork name to be used if `create_subnetwork` is true.  If
      * this field is empty, then an automatic name will be chosen for the new
@@ -2034,16 +2197,16 @@ public Builder clearSubnetworkName() {
      * 
* * string subnetwork_name = 3; + * * @param value The bytes for subnetworkName to set. * @return This builder for chaining. */ - public Builder setSubnetworkNameBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetworkName_ = value; onChanged(); return this; @@ -2051,20 +2214,23 @@ public Builder setSubnetworkNameBytes( private java.lang.Object clusterIpv4Cidr_ = ""; /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4Cidr_ = s; return s; @@ -2073,22 +2239,24 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4Cidr_ = b; return b; } else { @@ -2096,60 +2264,70 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @param value The clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIpv4Cidr( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterIpv4Cidr() { - + @java.lang.Deprecated + public Builder clearClusterIpv4Cidr() { + clusterIpv4Cidr_ = getDefaultInstance().getClusterIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * This field is deprecated, use cluster_ipv4_cidr_block.
      * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @param value The bytes for clusterIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIpv4CidrBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4Cidr_ = value; onChanged(); return this; @@ -2157,20 +2335,23 @@ public Builder setSubnetworkNameBytes( private java.lang.Object nodeIpv4Cidr_ = ""; /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4Cidr_ = s; return s; @@ -2179,22 +2360,24 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodeIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4Cidr_ = b; return b; } else { @@ -2202,60 +2385,70 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @param value The nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodeIpv4Cidr( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodeIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodeIpv4Cidr() { - + @java.lang.Deprecated + public Builder clearNodeIpv4Cidr() { + nodeIpv4Cidr_ = getDefaultInstance().getNodeIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * This field is deprecated, use node_ipv4_cidr_block.
      * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @param value The bytes for nodeIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodeIpv4CidrBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodeIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4Cidr_ = value; onChanged(); return this; @@ -2263,20 +2456,23 @@ public Builder setSubnetworkNameBytes( private java.lang.Object servicesIpv4Cidr_ = ""; /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { + @java.lang.Deprecated + public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4Cidr_ = s; return s; @@ -2285,22 +2481,24 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getServicesIpv4CidrBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4Cidr_ = b; return b; } else { @@ -2308,60 +2506,70 @@ public Builder setSubnetworkNameBytes( } } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @param value The servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServicesIpv4Cidr( - java.lang.String value) { + @java.lang.Deprecated + public Builder setServicesIpv4Cidr(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4Cidr_ = value; onChanged(); return this; } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearServicesIpv4Cidr() { - + @java.lang.Deprecated + public Builder clearServicesIpv4Cidr() { + servicesIpv4Cidr_ = getDefaultInstance().getServicesIpv4Cidr(); onChanged(); return this; } /** + * + * *
      * This field is deprecated, use services_ipv4_cidr_block.
      * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @param value The bytes for servicesIpv4Cidr to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setServicesIpv4CidrBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setServicesIpv4CidrBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4Cidr_ = value; onChanged(); return this; @@ -2369,6 +2577,8 @@ public Builder setSubnetworkNameBytes( private java.lang.Object clusterSecondaryRangeName_ = ""; /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2379,13 +2589,13 @@ public Builder setSubnetworkNameBytes(
      * 
* * string cluster_secondary_range_name = 7; + * * @return The clusterSecondaryRangeName. */ public java.lang.String getClusterSecondaryRangeName() { java.lang.Object ref = clusterSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterSecondaryRangeName_ = s; return s; @@ -2394,6 +2604,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2404,15 +2616,14 @@ public java.lang.String getClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; + * * @return The bytes for clusterSecondaryRangeName. */ - public com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterSecondaryRangeName_ = b; return b; } else { @@ -2420,6 +2631,8 @@ public java.lang.String getClusterSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2430,20 +2643,22 @@ public java.lang.String getClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; + * * @param value The clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeName( - java.lang.String value) { + public Builder setClusterSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterSecondaryRangeName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2454,15 +2669,18 @@ public Builder setClusterSecondaryRangeName(
      * 
* * string cluster_secondary_range_name = 7; + * * @return This builder for chaining. */ public Builder clearClusterSecondaryRangeName() { - + clusterSecondaryRangeName_ = getDefaultInstance().getClusterSecondaryRangeName(); onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used for the cluster CIDR
      * block.  The secondary range will be used for pod IP
@@ -2473,16 +2691,16 @@ public Builder clearClusterSecondaryRangeName() {
      * 
* * string cluster_secondary_range_name = 7; + * * @param value The bytes for clusterSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setClusterSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterSecondaryRangeName_ = value; onChanged(); return this; @@ -2490,6 +2708,8 @@ public Builder setClusterSecondaryRangeNameBytes( private java.lang.Object servicesSecondaryRangeName_ = ""; /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2500,13 +2720,13 @@ public Builder setClusterSecondaryRangeNameBytes(
      * 
* * string services_secondary_range_name = 8; + * * @return The servicesSecondaryRangeName. */ public java.lang.String getServicesSecondaryRangeName() { java.lang.Object ref = servicesSecondaryRangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesSecondaryRangeName_ = s; return s; @@ -2515,6 +2735,8 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2525,15 +2747,14 @@ public java.lang.String getServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; + * * @return The bytes for servicesSecondaryRangeName. */ - public com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes() { + public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesSecondaryRangeName_ = b; return b; } else { @@ -2541,6 +2762,8 @@ public java.lang.String getServicesSecondaryRangeName() { } } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2551,20 +2774,22 @@ public java.lang.String getServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; + * * @param value The servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeName( - java.lang.String value) { + public Builder setServicesSecondaryRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesSecondaryRangeName_ = value; onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2575,15 +2800,18 @@ public Builder setServicesSecondaryRangeName(
      * 
* * string services_secondary_range_name = 8; + * * @return This builder for chaining. */ public Builder clearServicesSecondaryRangeName() { - + servicesSecondaryRangeName_ = getDefaultInstance().getServicesSecondaryRangeName(); onChanged(); return this; } /** + * + * *
      * The name of the secondary range to be used as for the services
      * CIDR block.  The secondary range will be used for service
@@ -2594,16 +2822,16 @@ public Builder clearServicesSecondaryRangeName() {
      * 
* * string services_secondary_range_name = 8; + * * @param value The bytes for servicesSecondaryRangeName to set. * @return This builder for chaining. */ - public Builder setServicesSecondaryRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesSecondaryRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesSecondaryRangeName_ = value; onChanged(); return this; @@ -2611,6 +2839,8 @@ public Builder setServicesSecondaryRangeNameBytes( private java.lang.Object clusterIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2626,13 +2856,13 @@ public Builder setServicesSecondaryRangeNameBytes(
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The clusterIpv4CidrBlock. */ public java.lang.String getClusterIpv4CidrBlock() { java.lang.Object ref = clusterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterIpv4CidrBlock_ = s; return s; @@ -2641,6 +2871,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2656,15 +2888,14 @@ public java.lang.String getClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The bytes for clusterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterIpv4CidrBlock_ = b; return b; } else { @@ -2672,6 +2903,8 @@ public java.lang.String getClusterIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2687,20 +2920,22 @@ public java.lang.String getClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @param value The clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlock( - java.lang.String value) { + public Builder setClusterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2716,15 +2951,18 @@ public Builder setClusterIpv4CidrBlock(
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @return This builder for chaining. */ public Builder clearClusterIpv4CidrBlock() { - + clusterIpv4CidrBlock_ = getDefaultInstance().getClusterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range for the cluster pod IPs. If this field is set, then
      * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -2740,16 +2978,16 @@ public Builder clearClusterIpv4CidrBlock() {
      * 
* * string cluster_ipv4_cidr_block = 9; + * * @param value The bytes for clusterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setClusterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterIpv4CidrBlock_ = value; onChanged(); return this; @@ -2757,6 +2995,8 @@ public Builder setClusterIpv4CidrBlockBytes( private java.lang.Object nodeIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2771,13 +3011,13 @@ public Builder setClusterIpv4CidrBlockBytes(
      * 
* * string node_ipv4_cidr_block = 10; + * * @return The nodeIpv4CidrBlock. */ public java.lang.String getNodeIpv4CidrBlock() { java.lang.Object ref = nodeIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeIpv4CidrBlock_ = s; return s; @@ -2786,6 +3026,8 @@ public java.lang.String getNodeIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2800,15 +3042,14 @@ public java.lang.String getNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; + * * @return The bytes for nodeIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getNodeIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeIpv4CidrBlock_ = b; return b; } else { @@ -2816,6 +3057,8 @@ public java.lang.String getNodeIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2830,20 +3073,22 @@ public java.lang.String getNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; + * * @param value The nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlock( - java.lang.String value) { + public Builder setNodeIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2858,15 +3103,18 @@ public Builder setNodeIpv4CidrBlock(
      * 
* * string node_ipv4_cidr_block = 10; + * * @return This builder for chaining. */ public Builder clearNodeIpv4CidrBlock() { - + nodeIpv4CidrBlock_ = getDefaultInstance().getNodeIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range of the instance IPs in this cluster.
      * This is applicable only if `create_subnetwork` is true.
@@ -2881,16 +3129,16 @@ public Builder clearNodeIpv4CidrBlock() {
      * 
* * string node_ipv4_cidr_block = 10; + * * @param value The bytes for nodeIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setNodeIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setNodeIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeIpv4CidrBlock_ = value; onChanged(); return this; @@ -2898,6 +3146,8 @@ public Builder setNodeIpv4CidrBlockBytes( private java.lang.Object servicesIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2913,13 +3163,13 @@ public Builder setNodeIpv4CidrBlockBytes(
      * 
* * string services_ipv4_cidr_block = 11; + * * @return The servicesIpv4CidrBlock. */ public java.lang.String getServicesIpv4CidrBlock() { java.lang.Object ref = servicesIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv4CidrBlock_ = s; return s; @@ -2928,6 +3178,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2943,15 +3195,14 @@ public java.lang.String getServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; + * * @return The bytes for servicesIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv4CidrBlock_ = b; return b; } else { @@ -2959,6 +3210,8 @@ public java.lang.String getServicesIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -2974,20 +3227,22 @@ public java.lang.String getServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; + * * @param value The servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlock( - java.lang.String value) { + public Builder setServicesIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -3003,15 +3258,18 @@ public Builder setServicesIpv4CidrBlock(
      * 
* * string services_ipv4_cidr_block = 11; + * * @return This builder for chaining. */ public Builder clearServicesIpv4CidrBlock() { - + servicesIpv4CidrBlock_ = getDefaultInstance().getServicesIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range of the services IPs in this cluster. If blank, a range
      * will be automatically chosen with the default size.
@@ -3027,23 +3285,25 @@ public Builder clearServicesIpv4CidrBlock() {
      * 
* * string services_ipv4_cidr_block = 11; + * * @param value The bytes for servicesIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean allowRouteOverlap_ ; + private boolean allowRouteOverlap_; /** + * + * *
      * If true, allow allocation of cluster CIDR ranges that overlap with certain
      * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -3059,6 +3319,7 @@ public Builder setServicesIpv4CidrBlockBytes(
      * 
* * bool allow_route_overlap = 12; + * * @return The allowRouteOverlap. */ @java.lang.Override @@ -3066,6 +3327,8 @@ public boolean getAllowRouteOverlap() { return allowRouteOverlap_; } /** + * + * *
      * If true, allow allocation of cluster CIDR ranges that overlap with certain
      * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -3081,16 +3344,19 @@ public boolean getAllowRouteOverlap() {
      * 
* * bool allow_route_overlap = 12; + * * @param value The allowRouteOverlap to set. * @return This builder for chaining. */ public Builder setAllowRouteOverlap(boolean value) { - + allowRouteOverlap_ = value; onChanged(); return this; } /** + * + * *
      * If true, allow allocation of cluster CIDR ranges that overlap with certain
      * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -3106,10 +3372,11 @@ public Builder setAllowRouteOverlap(boolean value) {
      * 
* * bool allow_route_overlap = 12; + * * @return This builder for chaining. */ public Builder clearAllowRouteOverlap() { - + allowRouteOverlap_ = false; onChanged(); return this; @@ -3117,6 +3384,8 @@ public Builder clearAllowRouteOverlap() { private java.lang.Object tpuIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3133,13 +3402,13 @@ public Builder clearAllowRouteOverlap() {
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The tpuIpv4CidrBlock. */ public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tpuIpv4CidrBlock_ = s; return s; @@ -3148,6 +3417,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3164,15 +3435,14 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The bytes for tpuIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tpuIpv4CidrBlock_ = b; return b; } else { @@ -3180,6 +3450,8 @@ public java.lang.String getTpuIpv4CidrBlock() { } } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3196,20 +3468,22 @@ public java.lang.String getTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @param value The tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlock( - java.lang.String value) { + public Builder setTpuIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tpuIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3226,15 +3500,18 @@ public Builder setTpuIpv4CidrBlock(
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @return This builder for chaining. */ public Builder clearTpuIpv4CidrBlock() { - + tpuIpv4CidrBlock_ = getDefaultInstance().getTpuIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
      * range will be automatically chosen with the default size.
@@ -3251,23 +3528,25 @@ public Builder clearTpuIpv4CidrBlock() {
      * 
* * string tpu_ipv4_cidr_block = 13; + * * @param value The bytes for tpuIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setTpuIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setTpuIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tpuIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean useRoutes_ ; + private boolean useRoutes_; /** + * + * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -3276,6 +3555,7 @@ public Builder setTpuIpv4CidrBlockBytes(
      * 
* * bool use_routes = 15; + * * @return The useRoutes. */ @java.lang.Override @@ -3283,6 +3563,8 @@ public boolean getUseRoutes() { return useRoutes_; } /** + * + * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -3291,16 +3573,19 @@ public boolean getUseRoutes() {
      * 
* * bool use_routes = 15; + * * @param value The useRoutes to set. * @return This builder for chaining. */ public Builder setUseRoutes(boolean value) { - + useRoutes_ = value; onChanged(); return this; } /** + * + * *
      * Whether routes will be used for pod IPs in the cluster.
      * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -3309,10 +3594,11 @@ public Builder setUseRoutes(boolean value) {
      * 
* * bool use_routes = 15; + * * @return This builder for chaining. */ public Builder clearUseRoutes() { - + useRoutes_ = false; onChanged(); return this; @@ -3320,51 +3606,67 @@ public Builder clearUseRoutes() { private int stackType_ = 0; /** + * + * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @return The enum numeric value on the wire for stackType. */ - @java.lang.Override public int getStackTypeValue() { + @java.lang.Override + public int getStackTypeValue() { return stackType_; } /** + * + * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @param value The enum numeric value on the wire for stackType to set. * @return This builder for chaining. */ public Builder setStackTypeValue(int value) { - + stackType_ = value; onChanged(); return this; } /** + * + * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @return The stackType. */ @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.StackType result = com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); - return result == null ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED : result; + com.google.container.v1beta1.IPAllocationPolicy.StackType result = + com.google.container.v1beta1.IPAllocationPolicy.StackType.valueOf(stackType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.StackType.UNRECOGNIZED + : result; } /** + * + * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @param value The stackType to set. * @return This builder for chaining. */ @@ -3372,21 +3674,24 @@ public Builder setStackType(com.google.container.v1beta1.IPAllocationPolicy.Stac if (value == null) { throw new NullPointerException(); } - + stackType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * IP stack type
      * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @return This builder for chaining. */ public Builder clearStackType() { - + stackType_ = 0; onChanged(); return this; @@ -3394,73 +3699,98 @@ public Builder clearStackType() { private int ipv6AccessType_ = 0; /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * * @return The enum numeric value on the wire for ipv6AccessType. */ - @java.lang.Override public int getIpv6AccessTypeValue() { + @java.lang.Override + public int getIpv6AccessTypeValue() { return ipv6AccessType_; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * * @param value The enum numeric value on the wire for ipv6AccessType to set. * @return This builder for chaining. */ public Builder setIpv6AccessTypeValue(int value) { - + ipv6AccessType_ = value; onChanged(); return this; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * * @return The ipv6AccessType. */ @java.lang.Override public com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); - return result == null ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED : result; + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType result = + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.valueOf(ipv6AccessType_); + return result == null + ? com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType.UNRECOGNIZED + : result; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * * @param value The ipv6AccessType to set. * @return This builder for chaining. */ - public Builder setIpv6AccessType(com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType value) { + public Builder setIpv6AccessType( + com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType value) { if (value == null) { throw new NullPointerException(); } - + ipv6AccessType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The ipv6 access type (internal or external) when create_subnetwork is true
      * 
* - * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * + * * @return This builder for chaining. */ public Builder clearIpv6AccessType() { - + ipv6AccessType_ = 0; onChanged(); return this; @@ -3468,18 +3798,20 @@ public Builder clearIpv6AccessType() { private java.lang.Object subnetIpv6CidrBlock_ = ""; /** + * + * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The subnetIpv6CidrBlock. */ public java.lang.String getSubnetIpv6CidrBlock() { java.lang.Object ref = subnetIpv6CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetIpv6CidrBlock_ = s; return s; @@ -3488,20 +3820,21 @@ public java.lang.String getSubnetIpv6CidrBlock() { } } /** + * + * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for subnetIpv6CidrBlock. */ - public com.google.protobuf.ByteString - getSubnetIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes() { java.lang.Object ref = subnetIpv6CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetIpv6CidrBlock_ = b; return b; } else { @@ -3509,54 +3842,61 @@ public java.lang.String getSubnetIpv6CidrBlock() { } } /** + * + * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The subnetIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setSubnetIpv6CidrBlock( - java.lang.String value) { + public Builder setSubnetIpv6CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetIpv6CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSubnetIpv6CidrBlock() { - + subnetIpv6CidrBlock_ = getDefaultInstance().getSubnetIpv6CidrBlock(); onChanged(); return this; } /** + * + * *
      * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
      * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for subnetIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setSubnetIpv6CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetIpv6CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetIpv6CidrBlock_ = value; onChanged(); return this; @@ -3564,18 +3904,21 @@ public Builder setSubnetIpv6CidrBlockBytes( private java.lang.Object servicesIpv6CidrBlock_ = ""; /** + * + * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The servicesIpv6CidrBlock. */ public java.lang.String getServicesIpv6CidrBlock() { java.lang.Object ref = servicesIpv6CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); servicesIpv6CidrBlock_ = s; return s; @@ -3584,20 +3927,22 @@ public java.lang.String getServicesIpv6CidrBlock() { } } /** + * + * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bytes for servicesIpv6CidrBlock. */ - public com.google.protobuf.ByteString - getServicesIpv6CidrBlockBytes() { + public com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes() { java.lang.Object ref = servicesIpv6CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); servicesIpv6CidrBlock_ = b; return b; } else { @@ -3605,61 +3950,71 @@ public java.lang.String getServicesIpv6CidrBlock() { } } /** + * + * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The servicesIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv6CidrBlock( - java.lang.String value) { + public Builder setServicesIpv6CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + servicesIpv6CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearServicesIpv6CidrBlock() { - + servicesIpv6CidrBlock_ = getDefaultInstance().getServicesIpv6CidrBlock(); onChanged(); return this; } /** + * + * *
      * Output only. [Output only] The services IPv6 CIDR block for the cluster.
      * 
* - * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The bytes for servicesIpv6CidrBlock to set. * @return This builder for chaining. */ - public Builder setServicesIpv6CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setServicesIpv6CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + servicesIpv6CidrBlock_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3669,12 +4024,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IPAllocationPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IPAllocationPolicy) private static final com.google.container.v1beta1.IPAllocationPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IPAllocationPolicy(); } @@ -3683,27 +4038,27 @@ public static com.google.container.v1beta1.IPAllocationPolicy getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IPAllocationPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IPAllocationPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3718,6 +4073,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.IPAllocationPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 84% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IPAllocationPolicyOrBuilder.java index 9a774bc6a969..0ab8d883bcad 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface IPAllocationPolicyOrBuilder extends +public interface IPAllocationPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IPAllocationPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether alias IPs will be used for pod IPs in the cluster.
    * This is used in conjunction with use_routes. It cannot
@@ -16,22 +34,28 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * bool use_ip_aliases = 1; + * * @return The useIpAliases. */ boolean getUseIpAliases(); /** + * + * *
    * Whether a new subnetwork will be created automatically for the cluster.
    * This field is only applicable when `use_ip_aliases` is true.
    * 
* * bool create_subnetwork = 2; + * * @return The createSubnetwork. */ boolean getCreateSubnetwork(); /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -39,10 +63,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string subnetwork_name = 3; + * * @return The subnetworkName. */ java.lang.String getSubnetworkName(); /** + * + * *
    * A custom subnetwork name to be used if `create_subnetwork` is true.  If
    * this field is empty, then an automatic name will be chosen for the new
@@ -50,84 +77,107 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string subnetwork_name = 3; + * * @return The bytes for subnetworkName. */ - com.google.protobuf.ByteString - getSubnetworkNameBytes(); + com.google.protobuf.ByteString getSubnetworkNameBytes(); /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @return The clusterIpv4Cidr. */ - @java.lang.Deprecated java.lang.String getClusterIpv4Cidr(); + @java.lang.Deprecated + java.lang.String getClusterIpv4Cidr(); /** + * + * *
    * This field is deprecated, use cluster_ipv4_cidr_block.
    * 
* * 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=1335 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.cluster_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1335 * @return The bytes for clusterIpv4Cidr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIpv4CidrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIpv4CidrBytes(); /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @return The nodeIpv4Cidr. */ - @java.lang.Deprecated java.lang.String getNodeIpv4Cidr(); + @java.lang.Deprecated + java.lang.String getNodeIpv4Cidr(); /** + * + * *
    * This field is deprecated, use node_ipv4_cidr_block.
    * 
* * 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=1338 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.node_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1338 * @return The bytes for nodeIpv4Cidr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodeIpv4CidrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodeIpv4CidrBytes(); /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @return The servicesIpv4Cidr. */ - @java.lang.Deprecated java.lang.String getServicesIpv4Cidr(); + @java.lang.Deprecated + java.lang.String getServicesIpv4Cidr(); /** + * + * *
    * This field is deprecated, use services_ipv4_cidr_block.
    * 
* * 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=1341 + * + * @deprecated google.container.v1beta1.IPAllocationPolicy.services_ipv4_cidr is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1341 * @return The bytes for servicesIpv4Cidr. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getServicesIpv4CidrBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getServicesIpv4CidrBytes(); /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -138,10 +188,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_secondary_range_name = 7; + * * @return The clusterSecondaryRangeName. */ java.lang.String getClusterSecondaryRangeName(); /** + * + * *
    * The name of the secondary range to be used for the cluster CIDR
    * block.  The secondary range will be used for pod IP
@@ -152,12 +205,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_secondary_range_name = 7; + * * @return The bytes for clusterSecondaryRangeName. */ - com.google.protobuf.ByteString - getClusterSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes(); /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -168,10 +223,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_secondary_range_name = 8; + * * @return The servicesSecondaryRangeName. */ java.lang.String getServicesSecondaryRangeName(); /** + * + * *
    * The name of the secondary range to be used as for the services
    * CIDR block.  The secondary range will be used for service
@@ -182,12 +240,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_secondary_range_name = 8; + * * @return The bytes for servicesSecondaryRangeName. */ - com.google.protobuf.ByteString - getServicesSecondaryRangeNameBytes(); + com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes(); /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -203,10 +263,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The clusterIpv4CidrBlock. */ java.lang.String getClusterIpv4CidrBlock(); /** + * + * *
    * The IP address range for the cluster pod IPs. If this field is set, then
    * `cluster.cluster_ipv4_cidr` must be left blank.
@@ -222,12 +285,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string cluster_ipv4_cidr_block = 9; + * * @return The bytes for clusterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getClusterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes(); /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -242,10 +307,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The nodeIpv4CidrBlock. */ java.lang.String getNodeIpv4CidrBlock(); /** + * + * *
    * The IP address range of the instance IPs in this cluster.
    * This is applicable only if `create_subnetwork` is true.
@@ -260,12 +328,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string node_ipv4_cidr_block = 10; + * * @return The bytes for nodeIpv4CidrBlock. */ - com.google.protobuf.ByteString - getNodeIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes(); /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -281,10 +351,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The servicesIpv4CidrBlock. */ java.lang.String getServicesIpv4CidrBlock(); /** + * + * *
    * The IP address range of the services IPs in this cluster. If blank, a range
    * will be automatically chosen with the default size.
@@ -300,12 +373,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string services_ipv4_cidr_block = 11; + * * @return The bytes for servicesIpv4CidrBlock. */ - com.google.protobuf.ByteString - getServicesIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes(); /** + * + * *
    * If true, allow allocation of cluster CIDR ranges that overlap with certain
    * kinds of network routes. By default we do not allow cluster CIDR ranges to
@@ -321,11 +396,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * bool allow_route_overlap = 12; + * * @return The allowRouteOverlap. */ boolean getAllowRouteOverlap(); /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -342,10 +420,13 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The tpuIpv4CidrBlock. */ java.lang.String getTpuIpv4CidrBlock(); /** + * + * *
    * The IP address range of the Cloud TPUs in this cluster. If unspecified, a
    * range will be automatically chosen with the default size.
@@ -362,12 +443,14 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * string tpu_ipv4_cidr_block = 13; + * * @return The bytes for tpuIpv4CidrBlock. */ - com.google.protobuf.ByteString - getTpuIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes(); /** + * + * *
    * Whether routes will be used for pod IPs in the cluster.
    * This is used in conjunction with use_ip_aliases. It cannot be true if
@@ -376,85 +459,108 @@ public interface IPAllocationPolicyOrBuilder extends
    * 
* * bool use_routes = 15; + * * @return The useRoutes. */ boolean getUseRoutes(); /** + * + * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @return The enum numeric value on the wire for stackType. */ int getStackTypeValue(); /** + * + * *
    * IP stack type
    * 
* * .google.container.v1beta1.IPAllocationPolicy.StackType stack_type = 16; + * * @return The stackType. */ com.google.container.v1beta1.IPAllocationPolicy.StackType getStackType(); /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * * @return The enum numeric value on the wire for ipv6AccessType. */ int getIpv6AccessTypeValue(); /** + * + * *
    * The ipv6 access type (internal or external) when create_subnetwork is true
    * 
* * .google.container.v1beta1.IPAllocationPolicy.IPv6AccessType ipv6_access_type = 17; + * * @return The ipv6AccessType. */ com.google.container.v1beta1.IPAllocationPolicy.IPv6AccessType getIpv6AccessType(); /** + * + * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The subnetIpv6CidrBlock. */ java.lang.String getSubnetIpv6CidrBlock(); /** + * + * *
    * Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
    * 
* * string subnet_ipv6_cidr_block = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for subnetIpv6CidrBlock. */ - com.google.protobuf.ByteString - getSubnetIpv6CidrBlockBytes(); + com.google.protobuf.ByteString getSubnetIpv6CidrBlockBytes(); /** + * + * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The servicesIpv6CidrBlock. */ java.lang.String getServicesIpv6CidrBlock(); /** + * + * *
    * Output only. [Output only] The services IPv6 CIDR block for the cluster.
    * 
* * string services_ipv6_cidr_block = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for servicesIpv6CidrBlock. */ - com.google.protobuf.ByteString - getServicesIpv6CidrBlockBytes(); + com.google.protobuf.ByteString getServicesIpv6CidrBlockBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java index 29479f3d3d2b..f74ade12da67 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * IdentityServiceConfig is configuration for Identity Service which allows
  * customers to use external identity providers with the K8S API
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.IdentityServiceConfig}
  */
-public final class IdentityServiceConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IdentityServiceConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.IdentityServiceConfig)
     IdentityServiceConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IdentityServiceConfig.newBuilder() to construct.
   private IdentityServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private IdentityServiceConfig() {
-  }
+
+  private IdentityServiceConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IdentityServiceConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.IdentityServiceConfig.class, com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
+            com.google.container.v1beta1.IdentityServiceConfig.class,
+            com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Whether to enable the Identity Service component
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IdentityServiceConfig)) { return super.equals(obj); } - com.google.container.v1beta1.IdentityServiceConfig other = (com.google.container.v1beta1.IdentityServiceConfig) obj; + com.google.container.v1beta1.IdentityServiceConfig other = + (com.google.container.v1beta1.IdentityServiceConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IdentityServiceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( 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.IdentityServiceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.IdentityServiceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IdentityServiceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.IdentityServiceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IdentityServiceConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IdentityServiceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.IdentityServiceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IdentityServiceConfig is configuration for Identity Service which allows
    * customers to use external identity providers with the K8S API
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.IdentityServiceConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IdentityServiceConfig)
       com.google.container.v1beta1.IdentityServiceConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.IdentityServiceConfig.class, com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
+              com.google.container.v1beta1.IdentityServiceConfig.class,
+              com.google.container.v1beta1.IdentityServiceConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.IdentityServiceConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1beta1.IdentityServiceConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.IdentityServiceConfig buildPartial() {
-      com.google.container.v1beta1.IdentityServiceConfig result = new com.google.container.v1beta1.IdentityServiceConfig(this);
+      com.google.container.v1beta1.IdentityServiceConfig result =
+          new com.google.container.v1beta1.IdentityServiceConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1beta1.IdentityServiceConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.IdentityServiceConfig) {
-        return mergeFrom((com.google.container.v1beta1.IdentityServiceConfig)other);
+        return mergeFrom((com.google.container.v1beta1.IdentityServiceConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -333,7 +360,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.IdentityServiceConfig other) {
-      if (other == com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.IdentityServiceConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -363,17 +391,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +414,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +431,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable the Identity Service component
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IdentityServiceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IdentityServiceConfig) private static final com.google.container.v1beta1.IdentityServiceConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IdentityServiceConfig(); } @@ -452,27 +491,27 @@ public static com.google.container.v1beta1.IdentityServiceConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IdentityServiceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IdentityServiceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.IdentityServiceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java new file mode 100644 index 000000000000..f1fb042b871d --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface IdentityServiceConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IdentityServiceConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether to enable the Identity Service component
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java index bc352b7adccc..f2fb9d76c178 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * IntraNodeVisibilityConfig contains the desired config of the intra-node
  * visibility on this cluster.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.IntraNodeVisibilityConfig}
  */
-public final class IntraNodeVisibilityConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class IntraNodeVisibilityConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.IntraNodeVisibilityConfig)
     IntraNodeVisibilityConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use IntraNodeVisibilityConfig.newBuilder() to construct.
   private IntraNodeVisibilityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private IntraNodeVisibilityConfig() {
-  }
+
+  private IntraNodeVisibilityConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new IntraNodeVisibilityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.IntraNodeVisibilityConfig.class, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
+            com.google.container.v1beta1.IntraNodeVisibilityConfig.class,
+            com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enables intra node visibility for this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IntraNodeVisibilityConfig)) { return super.equals(obj); } - com.google.container.v1beta1.IntraNodeVisibilityConfig other = (com.google.container.v1beta1.IntraNodeVisibilityConfig) obj; + com.google.container.v1beta1.IntraNodeVisibilityConfig other = + (com.google.container.v1beta1.IntraNodeVisibilityConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,111 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( 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.IntraNodeVisibilityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IntraNodeVisibilityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.IntraNodeVisibilityConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.IntraNodeVisibilityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * IntraNodeVisibilityConfig contains the desired config of the intra-node
    * visibility on this cluster.
@@ -227,33 +254,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.IntraNodeVisibilityConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IntraNodeVisibilityConfig)
       com.google.container.v1beta1.IntraNodeVisibilityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.IntraNodeVisibilityConfig.class, com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
+              com.google.container.v1beta1.IntraNodeVisibilityConfig.class,
+              com.google.container.v1beta1.IntraNodeVisibilityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.IntraNodeVisibilityConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +289,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +310,8 @@ public com.google.container.v1beta1.IntraNodeVisibilityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.IntraNodeVisibilityConfig buildPartial() {
-      com.google.container.v1beta1.IntraNodeVisibilityConfig result = new com.google.container.v1beta1.IntraNodeVisibilityConfig(this);
+      com.google.container.v1beta1.IntraNodeVisibilityConfig result =
+          new com.google.container.v1beta1.IntraNodeVisibilityConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +321,39 @@ public com.google.container.v1beta1.IntraNodeVisibilityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.IntraNodeVisibilityConfig) {
-        return mergeFrom((com.google.container.v1beta1.IntraNodeVisibilityConfig)other);
+        return mergeFrom((com.google.container.v1beta1.IntraNodeVisibilityConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -333,7 +361,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.IntraNodeVisibilityConfig other) {
-      if (other == com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.IntraNodeVisibilityConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -363,17 +392,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +415,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +432,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enables intra node visibility for this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +478,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IntraNodeVisibilityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IntraNodeVisibilityConfig) private static final com.google.container.v1beta1.IntraNodeVisibilityConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IntraNodeVisibilityConfig(); } @@ -452,27 +492,27 @@ public static com.google.container.v1beta1.IntraNodeVisibilityConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntraNodeVisibilityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntraNodeVisibilityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +527,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.IntraNodeVisibilityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java new file mode 100644 index 000000000000..0cfb8e6df040 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface IntraNodeVisibilityConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IntraNodeVisibilityConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enables intra node visibility for this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfig.java index 88bbd440c32e..5ac7bfa72e7f 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration options for Istio addon.
  * 
* * Protobuf type {@code google.container.v1beta1.IstioConfig} */ -public final class IstioConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class IstioConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.IstioConfig) IstioConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IstioConfig.newBuilder() to construct. private IstioConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IstioConfig() { auth_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IstioConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IstioConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IstioConfig.class, com.google.container.v1beta1.IstioConfig.Builder.class); + com.google.container.v1beta1.IstioConfig.class, + com.google.container.v1beta1.IstioConfig.Builder.class); } /** + * + * *
    * Istio auth mode, https://istio.io/docs/concepts/security/mutual-tls.html
    * 
* * Protobuf enum {@code google.container.v1beta1.IstioConfig.IstioAuthMode} */ - public enum IstioAuthMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum IstioAuthMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * auth not enabled
      * 
@@ -66,6 +88,8 @@ public enum IstioAuthMode */ AUTH_NONE(0), /** + * + * *
      * auth mutual TLS enabled
      * 
@@ -77,6 +101,8 @@ public enum IstioAuthMode ; /** + * + * *
      * auth not enabled
      * 
@@ -85,6 +111,8 @@ public enum IstioAuthMode */ public static final int AUTH_NONE_VALUE = 0; /** + * + * *
      * auth mutual TLS enabled
      * 
@@ -93,7 +121,6 @@ public enum IstioAuthMode */ public static final int AUTH_MUTUAL_TLS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -118,48 +145,47 @@ public static IstioAuthMode valueOf(int value) { */ public static IstioAuthMode forNumber(int value) { switch (value) { - case 0: return AUTH_NONE; - case 1: return AUTH_MUTUAL_TLS; - default: return null; + case 0: + return AUTH_NONE; + case 1: + return AUTH_MUTUAL_TLS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - IstioAuthMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public IstioAuthMode findValueByNumber(int number) { - return IstioAuthMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IstioAuthMode findValueByNumber(int number) { + return IstioAuthMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.IstioConfig.getDescriptor().getEnumTypes().get(0); } private static final IstioAuthMode[] VALUES = values(); - public static IstioAuthMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IstioAuthMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -179,52 +205,70 @@ private IstioAuthMode(int value) { public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** + * + * *
    * Whether Istio is enabled for this cluster.
    * 
* * bool disabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1211 + * + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1211 * @return The disabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getDisabled() { + @java.lang.Deprecated + public boolean getDisabled() { return disabled_; } public static final int AUTH_FIELD_NUMBER = 2; private int auth_; /** + * + * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1214 + * + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1214 * @return The enum numeric value on the wire for auth. */ - @java.lang.Override @java.lang.Deprecated public int getAuthValue() { + @java.lang.Override + @java.lang.Deprecated + public int getAuthValue() { return auth_; } /** + * + * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1214 + * + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1214 * @return The auth. */ - @java.lang.Override @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { + @java.lang.Override + @java.lang.Deprecated + public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IstioConfig.IstioAuthMode result = com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); - return result == null ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED : result; + com.google.container.v1beta1.IstioConfig.IstioAuthMode result = + com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); + return result == null + ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +280,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -254,12 +297,10 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } if (auth_ != com.google.container.v1beta1.IstioConfig.IstioAuthMode.AUTH_NONE.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, auth_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, auth_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,15 +310,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.IstioConfig)) { return super.equals(obj); } com.google.container.v1beta1.IstioConfig other = (com.google.container.v1beta1.IstioConfig) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (auth_ != other.auth_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -291,8 +331,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (37 * hash) + AUTH_FIELD_NUMBER; hash = (53 * hash) + auth_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -300,130 +339,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.IstioConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.IstioConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IstioConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.IstioConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IstioConfig parseFrom( 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.IstioConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.IstioConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.IstioConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IstioConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.IstioConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.IstioConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IstioConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.IstioConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.IstioConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.IstioConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for Istio addon.
    * 
* * Protobuf type {@code google.container.v1beta1.IstioConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.IstioConfig) com.google.container.v1beta1.IstioConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IstioConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.IstioConfig.class, com.google.container.v1beta1.IstioConfig.Builder.class); + com.google.container.v1beta1.IstioConfig.class, + com.google.container.v1beta1.IstioConfig.Builder.class); } // Construct using com.google.container.v1beta1.IstioConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_IstioConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_IstioConfig_descriptor; } @java.lang.Override @@ -456,7 +501,8 @@ public com.google.container.v1beta1.IstioConfig build() { @java.lang.Override public com.google.container.v1beta1.IstioConfig buildPartial() { - com.google.container.v1beta1.IstioConfig result = new com.google.container.v1beta1.IstioConfig(this); + com.google.container.v1beta1.IstioConfig result = + new com.google.container.v1beta1.IstioConfig(this); result.disabled_ = disabled_; result.auth_ = auth_; onBuilt(); @@ -467,38 +513,39 @@ public com.google.container.v1beta1.IstioConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.IstioConfig) { - return mergeFrom((com.google.container.v1beta1.IstioConfig)other); + return mergeFrom((com.google.container.v1beta1.IstioConfig) other); } else { super.mergeFrom(other); return this; @@ -539,22 +586,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disabled_ = input.readBool(); - - break; - } // case 8 - case 16: { - auth_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disabled_ = input.readBool(); + + break; + } // case 8 + case 16: + { + auth_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -565,50 +615,62 @@ public Builder mergeFrom( return this; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
      * Whether Istio is enabled for this cluster.
      * 
* * bool disabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1211 + * + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1211 * @return The disabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getDisabled() { + @java.lang.Deprecated + public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether Istio is enabled for this cluster.
      * 
* * bool disabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1211 + * + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1211 * @param value The disabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setDisabled(boolean value) { - + @java.lang.Deprecated + public Builder setDisabled(boolean value) { + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Istio is enabled for this cluster.
      * 
* * bool disabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1211 + * + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1211 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearDisabled() { - + @java.lang.Deprecated + public Builder clearDisabled() { + disabled_ = false; onChanged(); return this; @@ -616,90 +678,119 @@ public Builder mergeFrom( private int auth_ = 0; /** + * + * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1214 + * .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=1214 * @return The enum numeric value on the wire for auth. */ - @java.lang.Override @java.lang.Deprecated public int getAuthValue() { + @java.lang.Override + @java.lang.Deprecated + public int getAuthValue() { return auth_; } /** + * + * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1214 + * .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=1214 * @param value The enum numeric value on the wire for auth to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setAuthValue(int value) { - + @java.lang.Deprecated + public Builder setAuthValue(int value) { + auth_ = value; onChanged(); return this; } /** + * + * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1214 + * .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=1214 * @return The auth. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { + @java.lang.Deprecated + public com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.IstioConfig.IstioAuthMode result = com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); - return result == null ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED : result; + com.google.container.v1beta1.IstioConfig.IstioAuthMode result = + com.google.container.v1beta1.IstioConfig.IstioAuthMode.valueOf(auth_); + return result == null + ? com.google.container.v1beta1.IstioConfig.IstioAuthMode.UNRECOGNIZED + : result; } /** + * + * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1214 + * .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=1214 * @param value The auth to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode value) { + @java.lang.Deprecated + public Builder setAuth(com.google.container.v1beta1.IstioConfig.IstioAuthMode value) { if (value == null) { throw new NullPointerException(); } - + auth_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The specified Istio auth mode, either none, or mutual TLS.
      * 
* - * .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=1214 + * .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=1214 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearAuth() { - + @java.lang.Deprecated + public Builder clearAuth() { + auth_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -709,12 +800,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.IstioConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.IstioConfig) private static final com.google.container.v1beta1.IstioConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.IstioConfig(); } @@ -723,27 +814,27 @@ public static com.google.container.v1beta1.IstioConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IstioConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IstioConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,6 +849,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.IstioConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 50% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IstioConfigOrBuilder.java index d876a0d1605a..51a57500de67 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,44 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface IstioConfigOrBuilder extends +public interface IstioConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IstioConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether Istio is enabled for this cluster.
    * 
* * bool disabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1211 + * + * @deprecated google.container.v1beta1.IstioConfig.disabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1211 * @return The disabled. */ - @java.lang.Deprecated boolean getDisabled(); + @java.lang.Deprecated + boolean getDisabled(); /** + * + * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1214 + * + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1214 * @return The enum numeric value on the wire for auth. */ - @java.lang.Deprecated int getAuthValue(); + @java.lang.Deprecated + int getAuthValue(); /** + * + * *
    * The specified Istio auth mode, either none, or mutual TLS.
    * 
* * .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=1214 + * + * @deprecated google.container.v1beta1.IstioConfig.auth is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1214 * @return The auth. */ - @java.lang.Deprecated com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth(); + @java.lang.Deprecated + com.google.container.v1beta1.IstioConfig.IstioAuthMode getAuth(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java index 74d7997755a5..87ffec8e7cbb 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Jwk.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Jwk is a JSON Web Key as specified in RFC 7517
  * 
* * Protobuf type {@code google.container.v1beta1.Jwk} */ -public final class Jwk extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Jwk extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Jwk) JwkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Jwk.newBuilder() to construct. private Jwk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Jwk() { kty_ = ""; alg_ = ""; @@ -33,25 +51,25 @@ private Jwk() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Jwk(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.container.v1beta1.Jwk.class, com.google.container.v1beta1.Jwk.Builder.class); } @@ -59,11 +77,14 @@ protected java.lang.Object newInstance( public static final int KTY_FIELD_NUMBER = 1; private volatile java.lang.Object kty_; /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The kty. */ @java.lang.Override @@ -72,29 +93,29 @@ public java.lang.String getKty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; } } /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The bytes for kty. */ @java.lang.Override - public com.google.protobuf.ByteString - getKtyBytes() { + public com.google.protobuf.ByteString getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kty_ = b; return b; } else { @@ -105,11 +126,14 @@ public java.lang.String getKty() { public static final int ALG_FIELD_NUMBER = 2; private volatile java.lang.Object alg_; /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The alg. */ @java.lang.Override @@ -118,29 +142,29 @@ public java.lang.String getAlg() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; } } /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The bytes for alg. */ @java.lang.Override - public com.google.protobuf.ByteString - getAlgBytes() { + public com.google.protobuf.ByteString getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alg_ = b; return b; } else { @@ -151,11 +175,14 @@ public java.lang.String getAlg() { public static final int USE_FIELD_NUMBER = 3; private volatile java.lang.Object use_; /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The use. */ @java.lang.Override @@ -164,29 +191,29 @@ public java.lang.String getUse() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; } } /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The bytes for use. */ @java.lang.Override - public com.google.protobuf.ByteString - getUseBytes() { + public com.google.protobuf.ByteString getUseBytes() { java.lang.Object ref = use_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); use_ = b; return b; } else { @@ -197,11 +224,14 @@ public java.lang.String getUse() { public static final int KID_FIELD_NUMBER = 4; private volatile java.lang.Object kid_; /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The kid. */ @java.lang.Override @@ -210,29 +240,29 @@ public java.lang.String getKid() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; } } /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The bytes for kid. */ @java.lang.Override - public com.google.protobuf.ByteString - getKidBytes() { + public com.google.protobuf.ByteString getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kid_ = b; return b; } else { @@ -243,11 +273,14 @@ public java.lang.String getKid() { public static final int N_FIELD_NUMBER = 5; private volatile java.lang.Object n_; /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The n. */ @java.lang.Override @@ -256,29 +289,29 @@ public java.lang.String getN() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; } } /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The bytes for n. */ @java.lang.Override - public com.google.protobuf.ByteString - getNBytes() { + public com.google.protobuf.ByteString getNBytes() { java.lang.Object ref = n_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); n_ = b; return b; } else { @@ -289,11 +322,14 @@ public java.lang.String getN() { public static final int E_FIELD_NUMBER = 6; private volatile java.lang.Object e_; /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The e. */ @java.lang.Override @@ -302,29 +338,29 @@ public java.lang.String getE() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; } } /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The bytes for e. */ @java.lang.Override - public com.google.protobuf.ByteString - getEBytes() { + public com.google.protobuf.ByteString getEBytes() { java.lang.Object ref = e_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); e_ = b; return b; } else { @@ -335,11 +371,14 @@ public java.lang.String getE() { public static final int X_FIELD_NUMBER = 7; private volatile java.lang.Object x_; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The x. */ @java.lang.Override @@ -348,29 +387,29 @@ public java.lang.String getX() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The bytes for x. */ @java.lang.Override - public com.google.protobuf.ByteString - getXBytes() { + public com.google.protobuf.ByteString getXBytes() { java.lang.Object ref = x_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); x_ = b; return b; } else { @@ -381,11 +420,14 @@ public java.lang.String getX() { public static final int Y_FIELD_NUMBER = 8; private volatile java.lang.Object y_; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The y. */ @java.lang.Override @@ -394,29 +436,29 @@ public java.lang.String getY() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The bytes for y. */ @java.lang.Override - public com.google.protobuf.ByteString - getYBytes() { + public com.google.protobuf.ByteString getYBytes() { java.lang.Object ref = y_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); y_ = b; return b; } else { @@ -427,11 +469,14 @@ public java.lang.String getY() { public static final int CRV_FIELD_NUMBER = 9; private volatile java.lang.Object crv_; /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The crv. */ @java.lang.Override @@ -440,29 +485,29 @@ public java.lang.String getCrv() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; } } /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The bytes for crv. */ @java.lang.Override - public com.google.protobuf.ByteString - getCrvBytes() { + public com.google.protobuf.ByteString getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); crv_ = b; return b; } else { @@ -471,6 +516,7 @@ public java.lang.String getCrv() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,8 +528,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kty_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kty_); } @@ -555,31 +600,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Jwk)) { return super.equals(obj); } com.google.container.v1beta1.Jwk other = (com.google.container.v1beta1.Jwk) obj; - if (!getKty() - .equals(other.getKty())) return false; - if (!getAlg() - .equals(other.getAlg())) return false; - if (!getUse() - .equals(other.getUse())) return false; - if (!getKid() - .equals(other.getKid())) return false; - if (!getN() - .equals(other.getN())) return false; - if (!getE() - .equals(other.getE())) return false; - if (!getX() - .equals(other.getX())) return false; - if (!getY() - .equals(other.getY())) return false; - if (!getCrv() - .equals(other.getCrv())) return false; + if (!getKty().equals(other.getKty())) return false; + if (!getAlg().equals(other.getAlg())) return false; + if (!getUse().equals(other.getUse())) return false; + if (!getKid().equals(other.getKid())) return false; + if (!getN().equals(other.getN())) return false; + if (!getE().equals(other.getE())) return false; + if (!getX().equals(other.getX())) return false; + if (!getY().equals(other.getY())) return false; + if (!getCrv().equals(other.getCrv())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -614,130 +650,135 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Jwk parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Jwk parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Jwk parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.Jwk parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1beta1.Jwk parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Jwk parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.Jwk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Jwk parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.Jwk parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Jwk parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Jwk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Jwk parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Jwk parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Jwk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.Jwk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Jwk is a JSON Web Key as specified in RFC 7517
    * 
* * Protobuf type {@code google.container.v1beta1.Jwk} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Jwk) com.google.container.v1beta1.JwkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Jwk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Jwk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Jwk.class, com.google.container.v1beta1.Jwk.Builder.class); + com.google.container.v1beta1.Jwk.class, + com.google.container.v1beta1.Jwk.Builder.class); } // Construct using com.google.container.v1beta1.Jwk.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -763,9 +804,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Jwk_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Jwk_descriptor; } @java.lang.Override @@ -802,38 +843,39 @@ public com.google.container.v1beta1.Jwk buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Jwk) { - return mergeFrom((com.google.container.v1beta1.Jwk)other); + return mergeFrom((com.google.container.v1beta1.Jwk) other); } else { super.mergeFrom(other); return this; @@ -904,57 +946,67 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - kty_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - alg_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - use_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - kid_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - n_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - e_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 58: { - x_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - y_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 74: { - crv_ = input.readStringRequireUtf8(); - - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + kty_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + alg_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + use_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + kid_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + n_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + e_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 58: + { + x_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + y_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 74: + { + crv_ = input.readStringRequireUtf8(); + + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -967,18 +1019,20 @@ public Builder mergeFrom( private java.lang.Object kty_ = ""; /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return The kty. */ public java.lang.String getKty() { java.lang.Object ref = kty_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kty_ = s; return s; @@ -987,20 +1041,21 @@ public java.lang.String getKty() { } } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return The bytes for kty. */ - public com.google.protobuf.ByteString - getKtyBytes() { + public com.google.protobuf.ByteString getKtyBytes() { java.lang.Object ref = kty_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kty_ = b; return b; } else { @@ -1008,54 +1063,61 @@ public java.lang.String getKty() { } } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @param value The kty to set. * @return This builder for chaining. */ - public Builder setKty( - java.lang.String value) { + public Builder setKty(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kty_ = value; onChanged(); return this; } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @return This builder for chaining. */ public Builder clearKty() { - + kty_ = getDefaultInstance().getKty(); onChanged(); return this; } /** + * + * *
      * Key Type.
      * 
* * string kty = 1; + * * @param value The bytes for kty to set. * @return This builder for chaining. */ - public Builder setKtyBytes( - com.google.protobuf.ByteString value) { + public Builder setKtyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kty_ = value; onChanged(); return this; @@ -1063,18 +1125,20 @@ public Builder setKtyBytes( private java.lang.Object alg_ = ""; /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return The alg. */ public java.lang.String getAlg() { java.lang.Object ref = alg_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); alg_ = s; return s; @@ -1083,20 +1147,21 @@ public java.lang.String getAlg() { } } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return The bytes for alg. */ - public com.google.protobuf.ByteString - getAlgBytes() { + public com.google.protobuf.ByteString getAlgBytes() { java.lang.Object ref = alg_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); alg_ = b; return b; } else { @@ -1104,54 +1169,61 @@ public java.lang.String getAlg() { } } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @param value The alg to set. * @return This builder for chaining. */ - public Builder setAlg( - java.lang.String value) { + public Builder setAlg(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + alg_ = value; onChanged(); return this; } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @return This builder for chaining. */ public Builder clearAlg() { - + alg_ = getDefaultInstance().getAlg(); onChanged(); return this; } /** + * + * *
      * Algorithm.
      * 
* * string alg = 2; + * * @param value The bytes for alg to set. * @return This builder for chaining. */ - public Builder setAlgBytes( - com.google.protobuf.ByteString value) { + public Builder setAlgBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + alg_ = value; onChanged(); return this; @@ -1159,18 +1231,20 @@ public Builder setAlgBytes( private java.lang.Object use_ = ""; /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return The use. */ public java.lang.String getUse() { java.lang.Object ref = use_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); use_ = s; return s; @@ -1179,20 +1253,21 @@ public java.lang.String getUse() { } } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return The bytes for use. */ - public com.google.protobuf.ByteString - getUseBytes() { + public com.google.protobuf.ByteString getUseBytes() { java.lang.Object ref = use_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); use_ = b; return b; } else { @@ -1200,54 +1275,61 @@ public java.lang.String getUse() { } } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @param value The use to set. * @return This builder for chaining. */ - public Builder setUse( - java.lang.String value) { + public Builder setUse(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + use_ = value; onChanged(); return this; } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @return This builder for chaining. */ public Builder clearUse() { - + use_ = getDefaultInstance().getUse(); onChanged(); return this; } /** + * + * *
      * Permitted uses for the public keys.
      * 
* * string use = 3; + * * @param value The bytes for use to set. * @return This builder for chaining. */ - public Builder setUseBytes( - com.google.protobuf.ByteString value) { + public Builder setUseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + use_ = value; onChanged(); return this; @@ -1255,18 +1337,20 @@ public Builder setUseBytes( private java.lang.Object kid_ = ""; /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return The kid. */ public java.lang.String getKid() { java.lang.Object ref = kid_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kid_ = s; return s; @@ -1275,20 +1359,21 @@ public java.lang.String getKid() { } } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return The bytes for kid. */ - public com.google.protobuf.ByteString - getKidBytes() { + public com.google.protobuf.ByteString getKidBytes() { java.lang.Object ref = kid_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kid_ = b; return b; } else { @@ -1296,54 +1381,61 @@ public java.lang.String getKid() { } } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @param value The kid to set. * @return This builder for chaining. */ - public Builder setKid( - java.lang.String value) { + public Builder setKid(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kid_ = value; onChanged(); return this; } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @return This builder for chaining. */ public Builder clearKid() { - + kid_ = getDefaultInstance().getKid(); onChanged(); return this; } /** + * + * *
      * Key ID.
      * 
* * string kid = 4; + * * @param value The bytes for kid to set. * @return This builder for chaining. */ - public Builder setKidBytes( - com.google.protobuf.ByteString value) { + public Builder setKidBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kid_ = value; onChanged(); return this; @@ -1351,18 +1443,20 @@ public Builder setKidBytes( private java.lang.Object n_ = ""; /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return The n. */ public java.lang.String getN() { java.lang.Object ref = n_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); n_ = s; return s; @@ -1371,20 +1465,21 @@ public java.lang.String getN() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return The bytes for n. */ - public com.google.protobuf.ByteString - getNBytes() { + public com.google.protobuf.ByteString getNBytes() { java.lang.Object ref = n_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); n_ = b; return b; } else { @@ -1392,54 +1487,61 @@ public java.lang.String getN() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @param value The n to set. * @return This builder for chaining. */ - public Builder setN( - java.lang.String value) { + public Builder setN(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + n_ = value; onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @return This builder for chaining. */ public Builder clearN() { - + n_ = getDefaultInstance().getN(); onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string n = 5; + * * @param value The bytes for n to set. * @return This builder for chaining. */ - public Builder setNBytes( - com.google.protobuf.ByteString value) { + public Builder setNBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + n_ = value; onChanged(); return this; @@ -1447,18 +1549,20 @@ public Builder setNBytes( private java.lang.Object e_ = ""; /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return The e. */ public java.lang.String getE() { java.lang.Object ref = e_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); e_ = s; return s; @@ -1467,20 +1571,21 @@ public java.lang.String getE() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return The bytes for e. */ - public com.google.protobuf.ByteString - getEBytes() { + public com.google.protobuf.ByteString getEBytes() { java.lang.Object ref = e_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); e_ = b; return b; } else { @@ -1488,54 +1593,61 @@ public java.lang.String getE() { } } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @param value The e to set. * @return This builder for chaining. */ - public Builder setE( - java.lang.String value) { + public Builder setE(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + e_ = value; onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @return This builder for chaining. */ public Builder clearE() { - + e_ = getDefaultInstance().getE(); onChanged(); return this; } /** + * + * *
      * Used for RSA keys.
      * 
* * string e = 6; + * * @param value The bytes for e to set. * @return This builder for chaining. */ - public Builder setEBytes( - com.google.protobuf.ByteString value) { + public Builder setEBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + e_ = value; onChanged(); return this; @@ -1543,18 +1655,20 @@ public Builder setEBytes( private java.lang.Object x_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return The x. */ public java.lang.String getX() { java.lang.Object ref = x_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); x_ = s; return s; @@ -1563,20 +1677,21 @@ public java.lang.String getX() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return The bytes for x. */ - public com.google.protobuf.ByteString - getXBytes() { + public com.google.protobuf.ByteString getXBytes() { java.lang.Object ref = x_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); x_ = b; return b; } else { @@ -1584,54 +1699,61 @@ public java.lang.String getX() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @param value The x to set. * @return This builder for chaining. */ - public Builder setX( - java.lang.String value) { + public Builder setX(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + x_ = value; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @return This builder for chaining. */ public Builder clearX() { - + x_ = getDefaultInstance().getX(); onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string x = 7; + * * @param value The bytes for x to set. * @return This builder for chaining. */ - public Builder setXBytes( - com.google.protobuf.ByteString value) { + public Builder setXBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + x_ = value; onChanged(); return this; @@ -1639,18 +1761,20 @@ public Builder setXBytes( private java.lang.Object y_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return The y. */ public java.lang.String getY() { java.lang.Object ref = y_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); y_ = s; return s; @@ -1659,20 +1783,21 @@ public java.lang.String getY() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return The bytes for y. */ - public com.google.protobuf.ByteString - getYBytes() { + public com.google.protobuf.ByteString getYBytes() { java.lang.Object ref = y_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); y_ = b; return b; } else { @@ -1680,54 +1805,61 @@ public java.lang.String getY() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @param value The y to set. * @return This builder for chaining. */ - public Builder setY( - java.lang.String value) { + public Builder setY(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + y_ = value; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @return This builder for chaining. */ public Builder clearY() { - + y_ = getDefaultInstance().getY(); onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string y = 8; + * * @param value The bytes for y to set. * @return This builder for chaining. */ - public Builder setYBytes( - com.google.protobuf.ByteString value) { + public Builder setYBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + y_ = value; onChanged(); return this; @@ -1735,18 +1867,20 @@ public Builder setYBytes( private java.lang.Object crv_ = ""; /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return The crv. */ public java.lang.String getCrv() { java.lang.Object ref = crv_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); crv_ = s; return s; @@ -1755,20 +1889,21 @@ public java.lang.String getCrv() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return The bytes for crv. */ - public com.google.protobuf.ByteString - getCrvBytes() { + public com.google.protobuf.ByteString getCrvBytes() { java.lang.Object ref = crv_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); crv_ = b; return b; } else { @@ -1776,61 +1911,68 @@ public java.lang.String getCrv() { } } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @param value The crv to set. * @return This builder for chaining. */ - public Builder setCrv( - java.lang.String value) { + public Builder setCrv(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + crv_ = value; onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @return This builder for chaining. */ public Builder clearCrv() { - + crv_ = getDefaultInstance().getCrv(); onChanged(); return this; } /** + * + * *
      * Used for ECDSA keys.
      * 
* * string crv = 9; + * * @param value The bytes for crv to set. * @return This builder for chaining. */ - public Builder setCrvBytes( - com.google.protobuf.ByteString value) { + public Builder setCrvBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + crv_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1840,12 +1982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Jwk) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Jwk) private static final com.google.container.v1beta1.Jwk DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Jwk(); } @@ -1854,27 +1996,27 @@ public static com.google.container.v1beta1.Jwk getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Jwk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Jwk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1889,6 +2031,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Jwk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java index 63bd6fe278ad..0850d357f444 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/JwkOrBuilder.java @@ -1,189 +1,250 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface JwkOrBuilder extends +public interface JwkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Jwk) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The kty. */ java.lang.String getKty(); /** + * + * *
    * Key Type.
    * 
* * string kty = 1; + * * @return The bytes for kty. */ - com.google.protobuf.ByteString - getKtyBytes(); + com.google.protobuf.ByteString getKtyBytes(); /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The alg. */ java.lang.String getAlg(); /** + * + * *
    * Algorithm.
    * 
* * string alg = 2; + * * @return The bytes for alg. */ - com.google.protobuf.ByteString - getAlgBytes(); + com.google.protobuf.ByteString getAlgBytes(); /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The use. */ java.lang.String getUse(); /** + * + * *
    * Permitted uses for the public keys.
    * 
* * string use = 3; + * * @return The bytes for use. */ - com.google.protobuf.ByteString - getUseBytes(); + com.google.protobuf.ByteString getUseBytes(); /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The kid. */ java.lang.String getKid(); /** + * + * *
    * Key ID.
    * 
* * string kid = 4; + * * @return The bytes for kid. */ - com.google.protobuf.ByteString - getKidBytes(); + com.google.protobuf.ByteString getKidBytes(); /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The n. */ java.lang.String getN(); /** + * + * *
    * Used for RSA keys.
    * 
* * string n = 5; + * * @return The bytes for n. */ - com.google.protobuf.ByteString - getNBytes(); + com.google.protobuf.ByteString getNBytes(); /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The e. */ java.lang.String getE(); /** + * + * *
    * Used for RSA keys.
    * 
* * string e = 6; + * * @return The bytes for e. */ - com.google.protobuf.ByteString - getEBytes(); + com.google.protobuf.ByteString getEBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The x. */ java.lang.String getX(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string x = 7; + * * @return The bytes for x. */ - com.google.protobuf.ByteString - getXBytes(); + com.google.protobuf.ByteString getXBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The y. */ java.lang.String getY(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string y = 8; + * * @return The bytes for y. */ - com.google.protobuf.ByteString - getYBytes(); + com.google.protobuf.ByteString getYBytes(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The crv. */ java.lang.String getCrv(); /** + * + * *
    * Used for ECDSA keys.
    * 
* * string crv = 9; + * * @return The bytes for crv. */ - com.google.protobuf.ByteString - getCrvBytes(); + com.google.protobuf.ByteString getCrvBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfig.java index 12b8b33be74b..c0250fe56b90 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,70 +1,93 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration options for the KALM addon.
  * 
* * Protobuf type {@code google.container.v1beta1.KalmConfig} */ -public final class KalmConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class KalmConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.KalmConfig) KalmConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KalmConfig.newBuilder() to construct. private KalmConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KalmConfig() { - } + + private KalmConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new KalmConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KalmConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KalmConfig.class, com.google.container.v1beta1.KalmConfig.Builder.class); + com.google.container.v1beta1.KalmConfig.class, + com.google.container.v1beta1.KalmConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether KALM is enabled for this cluster.
    * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1133 + * + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1133 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getEnabled() { + @java.lang.Deprecated + public boolean getEnabled() { return enabled_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,8 +99,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -91,8 +113,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -102,15 +123,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.KalmConfig)) { return super.equals(obj); } com.google.container.v1beta1.KalmConfig other = (com.google.container.v1beta1.KalmConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -123,137 +143,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.KalmConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.KalmConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.KalmConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.KalmConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.KalmConfig parseFrom( 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.KalmConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.KalmConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.KalmConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.KalmConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.KalmConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.KalmConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.KalmConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.KalmConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.KalmConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.KalmConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the KALM addon.
    * 
* * Protobuf type {@code google.container.v1beta1.KalmConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.KalmConfig) com.google.container.v1beta1.KalmConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KalmConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KalmConfig.class, com.google.container.v1beta1.KalmConfig.Builder.class); + com.google.container.v1beta1.KalmConfig.class, + com.google.container.v1beta1.KalmConfig.Builder.class); } // Construct using com.google.container.v1beta1.KalmConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -263,9 +288,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KalmConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KalmConfig_descriptor; } @java.lang.Override @@ -284,7 +309,8 @@ public com.google.container.v1beta1.KalmConfig build() { @java.lang.Override public com.google.container.v1beta1.KalmConfig buildPartial() { - com.google.container.v1beta1.KalmConfig result = new com.google.container.v1beta1.KalmConfig(this); + com.google.container.v1beta1.KalmConfig result = + new com.google.container.v1beta1.KalmConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -294,38 +320,39 @@ public com.google.container.v1beta1.KalmConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.KalmConfig) { - return mergeFrom((com.google.container.v1beta1.KalmConfig)other); + return mergeFrom((com.google.container.v1beta1.KalmConfig) other); } else { super.mergeFrom(other); return this; @@ -363,17 +390,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -384,57 +413,69 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether KALM is enabled for this cluster.
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1133 + * + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1133 * @return The enabled. */ @java.lang.Override - @java.lang.Deprecated public boolean getEnabled() { + @java.lang.Deprecated + public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether KALM is enabled for this cluster.
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1133 + * + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1133 * @param value The enabled to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setEnabled(boolean value) { - + @java.lang.Deprecated + public Builder setEnabled(boolean value) { + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether KALM is enabled for this cluster.
      * 
* * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1133 + * + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1133 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearEnabled() { - + @java.lang.Deprecated + public Builder clearEnabled() { + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -444,12 +485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.KalmConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.KalmConfig) private static final com.google.container.v1beta1.KalmConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.KalmConfig(); } @@ -458,27 +499,27 @@ public static com.google.container.v1beta1.KalmConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KalmConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KalmConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -493,6 +534,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.KalmConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 000000000000..e284ba120843 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java @@ -0,0 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface KalmConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KalmConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether KALM is enabled for this cluster.
+   * 
+ * + * bool enabled = 1 [deprecated = true]; + * + * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1133 + * @return The enabled. + */ + @java.lang.Deprecated + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java index 7cd83e37c9fd..17aa37d89a81 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboard.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for the Kubernetes Dashboard.
  * 
* * Protobuf type {@code google.container.v1beta1.KubernetesDashboard} */ -public final class KubernetesDashboard extends - com.google.protobuf.GeneratedMessageV3 implements +public final class KubernetesDashboard extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.KubernetesDashboard) KubernetesDashboardOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KubernetesDashboard.newBuilder() to construct. private KubernetesDashboard(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KubernetesDashboard() { - } + + private KubernetesDashboard() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new KubernetesDashboard(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KubernetesDashboard.class, com.google.container.v1beta1.KubernetesDashboard.Builder.class); + com.google.container.v1beta1.KubernetesDashboard.class, + com.google.container.v1beta1.KubernetesDashboard.Builder.class); } public static final int DISABLED_FIELD_NUMBER = 1; private boolean disabled_; /** + * + * *
    * Whether the Kubernetes Dashboard is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.KubernetesDashboard)) { return super.equals(obj); } - com.google.container.v1beta1.KubernetesDashboard other = (com.google.container.v1beta1.KubernetesDashboard) obj; + com.google.container.v1beta1.KubernetesDashboard other = + (com.google.container.v1beta1.KubernetesDashboard) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.KubernetesDashboard parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.KubernetesDashboard parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( 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.KubernetesDashboard parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.KubernetesDashboard parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.KubernetesDashboard parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.KubernetesDashboard parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.KubernetesDashboard parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.KubernetesDashboard parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.KubernetesDashboard prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the Kubernetes Dashboard.
    * 
* * Protobuf type {@code google.container.v1beta1.KubernetesDashboard} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.KubernetesDashboard) com.google.container.v1beta1.KubernetesDashboardOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.KubernetesDashboard.class, com.google.container.v1beta1.KubernetesDashboard.Builder.class); + com.google.container.v1beta1.KubernetesDashboard.class, + com.google.container.v1beta1.KubernetesDashboard.Builder.class); } // Construct using com.google.container.v1beta1.KubernetesDashboard.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.KubernetesDashboard build() { @java.lang.Override public com.google.container.v1beta1.KubernetesDashboard buildPartial() { - com.google.container.v1beta1.KubernetesDashboard result = new com.google.container.v1beta1.KubernetesDashboard(this); + com.google.container.v1beta1.KubernetesDashboard result = + new com.google.container.v1beta1.KubernetesDashboard(this); result.disabled_ = disabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.KubernetesDashboard buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.KubernetesDashboard) { - return mergeFrom((com.google.container.v1beta1.KubernetesDashboard)other); + return mergeFrom((com.google.container.v1beta1.KubernetesDashboard) other); } else { super.mergeFrom(other); return this; @@ -331,7 +358,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.KubernetesDashboard other) { - if (other == com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.KubernetesDashboard.getDefaultInstance()) + return this; if (other.getDisabled() != false) { setDisabled(other.getDisabled()); } @@ -361,17 +389,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - disabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + disabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +412,16 @@ public Builder mergeFrom( return this; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -396,37 +429,43 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the Kubernetes Dashboard is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +475,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.KubernetesDashboard) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.KubernetesDashboard) private static final com.google.container.v1beta1.KubernetesDashboard DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.KubernetesDashboard(); } @@ -450,27 +489,27 @@ public static com.google.container.v1beta1.KubernetesDashboard getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KubernetesDashboard parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KubernetesDashboard parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +524,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.KubernetesDashboard getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java new file mode 100644 index 000000000000..ce5bd328fd41 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface KubernetesDashboardOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KubernetesDashboard) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether the Kubernetes Dashboard is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java index 44d2f2828d12..e168b42cd47c 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbac.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration for the legacy Attribute Based Access Control authorization
  * mode.
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1beta1.LegacyAbac}
  */
-public final class LegacyAbac extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class LegacyAbac extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.LegacyAbac)
     LegacyAbacOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use LegacyAbac.newBuilder() to construct.
   private LegacyAbac(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private LegacyAbac() {
-  }
+
+  private LegacyAbac() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new LegacyAbac();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_LegacyAbac_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.LegacyAbac.class, com.google.container.v1beta1.LegacyAbac.Builder.class);
+            com.google.container.v1beta1.LegacyAbac.class,
+            com.google.container.v1beta1.LegacyAbac.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -67,6 +88,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -78,8 +100,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -93,8 +114,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -104,15 +124,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LegacyAbac)) { return super.equals(obj); } com.google.container.v1beta1.LegacyAbac other = (com.google.container.v1beta1.LegacyAbac) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -125,104 +144,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.LegacyAbac parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.LegacyAbac parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LegacyAbac parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LegacyAbac parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LegacyAbac parseFrom( 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.LegacyAbac parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LegacyAbac parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.LegacyAbac parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LegacyAbac parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LegacyAbac parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.LegacyAbac parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LegacyAbac parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.LegacyAbac parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LegacyAbac parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.LegacyAbac prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the legacy Attribute Based Access Control authorization
    * mode.
@@ -230,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.LegacyAbac}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LegacyAbac)
       com.google.container.v1beta1.LegacyAbacOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.LegacyAbac.class, com.google.container.v1beta1.LegacyAbac.Builder.class);
+              com.google.container.v1beta1.LegacyAbac.class,
+              com.google.container.v1beta1.LegacyAbac.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.LegacyAbac.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -266,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LegacyAbac_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_LegacyAbac_descriptor;
     }
 
     @java.lang.Override
@@ -287,7 +311,8 @@ public com.google.container.v1beta1.LegacyAbac build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.LegacyAbac buildPartial() {
-      com.google.container.v1beta1.LegacyAbac result = new com.google.container.v1beta1.LegacyAbac(this);
+      com.google.container.v1beta1.LegacyAbac result =
+          new com.google.container.v1beta1.LegacyAbac(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -297,38 +322,39 @@ public com.google.container.v1beta1.LegacyAbac buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.LegacyAbac) {
-        return mergeFrom((com.google.container.v1beta1.LegacyAbac)other);
+        return mergeFrom((com.google.container.v1beta1.LegacyAbac) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -366,17 +392,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -387,8 +415,10 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -397,6 +427,7 @@ public Builder mergeFrom(
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -404,6 +435,8 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -412,16 +445,19 @@ public boolean getEnabled() {
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether the ABAC authorizer is enabled for this cluster. When enabled,
      * identities in the system, including service accounts, nodes, and
@@ -430,17 +466,18 @@ public Builder setEnabled(boolean value) {
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -450,12 +487,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LegacyAbac) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LegacyAbac) private static final com.google.container.v1beta1.LegacyAbac DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LegacyAbac(); } @@ -464,27 +501,27 @@ public static com.google.container.v1beta1.LegacyAbac getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LegacyAbac parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LegacyAbac parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -499,6 +536,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LegacyAbac getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java similarity index 50% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java index 50ccd1db723b..2376daff2bc5 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LegacyAbacOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LegacyAbacOrBuilder extends +public interface LegacyAbacOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LegacyAbac) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether the ABAC authorizer is enabled for this cluster. When enabled,
    * identities in the system, including service accounts, nodes, and
@@ -16,6 +34,7 @@ public interface LegacyAbacOrBuilder extends
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java index aa5ead7c3239..7936ee9a8483 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfig.java @@ -1,75 +1,96 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Parameters that can be configured on Linux nodes.
  * 
* * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig} */ -public final class LinuxNodeConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LinuxNodeConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LinuxNodeConfig) LinuxNodeConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LinuxNodeConfig.newBuilder() to construct. private LinuxNodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LinuxNodeConfig() { cgroupMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinuxNodeConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LinuxNodeConfig.class, com.google.container.v1beta1.LinuxNodeConfig.Builder.class); + com.google.container.v1beta1.LinuxNodeConfig.class, + com.google.container.v1beta1.LinuxNodeConfig.Builder.class); } /** + * + * *
    * Possible cgroup modes that can be used.
    * 
* * Protobuf enum {@code google.container.v1beta1.LinuxNodeConfig.CgroupMode} */ - public enum CgroupMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum CgroupMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -79,6 +100,8 @@ public enum CgroupMode
      */
     CGROUP_MODE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -88,6 +111,8 @@ public enum CgroupMode
      */
     CGROUP_MODE_V1(1),
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -100,6 +125,8 @@ public enum CgroupMode
     ;
 
     /**
+     *
+     *
      * 
      * CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
      * The default for the GKE node OS image will be used.
@@ -109,6 +136,8 @@ public enum CgroupMode
      */
     public static final int CGROUP_MODE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
      * the node image.
@@ -118,6 +147,8 @@ public enum CgroupMode
      */
     public static final int CGROUP_MODE_V1_VALUE = 1;
     /**
+     *
+     *
      * 
      * CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
      * the node image.
@@ -127,7 +158,6 @@ public enum CgroupMode
      */
     public static final int CGROUP_MODE_V2_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -152,49 +182,49 @@ public static CgroupMode valueOf(int value) {
      */
     public static CgroupMode forNumber(int value) {
       switch (value) {
-        case 0: return CGROUP_MODE_UNSPECIFIED;
-        case 1: return CGROUP_MODE_V1;
-        case 2: return CGROUP_MODE_V2;
-        default: return null;
+        case 0:
+          return CGROUP_MODE_UNSPECIFIED;
+        case 1:
+          return CGROUP_MODE_V1;
+        case 2:
+          return CGROUP_MODE_V2;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        CgroupMode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public CgroupMode findValueByNumber(int number) {
-              return CgroupMode.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public CgroupMode findValueByNumber(int number) {
+            return CgroupMode.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.LinuxNodeConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final CgroupMode[] VALUES = values();
 
-    public static CgroupMode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static CgroupMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -212,24 +242,23 @@ private CgroupMode(int value) {
   }
 
   public static final int SYSCTLS_FIELD_NUMBER = 1;
+
   private static final class SysctlsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.container.v1beta1.ClusterServiceProto
+                .internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> sysctls_;
-  private com.google.protobuf.MapField
-  internalGetSysctls() {
+
+  private com.google.protobuf.MapField sysctls_;
+
+  private com.google.protobuf.MapField internalGetSysctls() {
     if (sysctls_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          SysctlsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry);
     }
     return sysctls_;
   }
@@ -238,6 +267,8 @@ public int getSysctlsCount() {
     return internalGetSysctls().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -257,22 +288,22 @@ public int getSysctlsCount() {
    *
    * map<string, string> sysctls = 1;
    */
-
   @java.lang.Override
-  public boolean containsSysctls(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsSysctls(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetSysctls().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getSysctlsMap()} instead.
-   */
+  /** Use {@link #getSysctlsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getSysctls() {
     return getSysctlsMap();
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -293,11 +324,12 @@ public java.util.Map getSysctls() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-
   public java.util.Map getSysctlsMap() {
     return internalGetSysctls().getMap();
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -318,16 +350,16 @@ public java.util.Map getSysctlsMap() {
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-
-  public java.lang.String getSysctlsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetSysctls().getMap();
+  public java.lang.String getSysctlsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetSysctls().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -348,12 +380,11 @@ public java.lang.String getSysctlsOrDefault(
    * map<string, string> sysctls = 1;
    */
   @java.lang.Override
-
-  public java.lang.String getSysctlsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetSysctls().getMap();
+  public java.lang.String getSysctlsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetSysctls().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -363,31 +394,43 @@ public java.lang.String getSysctlsOrThrow(
   public static final int CGROUP_MODE_FIELD_NUMBER = 2;
   private int cgroupMode_;
   /**
+   *
+   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override public int getCgroupModeValue() { + @java.lang.Override + public int getCgroupModeValue() { return cgroupMode_; } /** + * + * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The cgroupMode. */ - @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { + @java.lang.Override + public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -399,15 +442,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetSysctls(), - SysctlsDefaultEntryHolder.defaultEntry, - 1); - if (cgroupMode_ != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetSysctls(), SysctlsDefaultEntryHolder.defaultEntry, 1); + if (cgroupMode_ + != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, cgroupMode_); } getUnknownFields().writeTo(output); @@ -419,19 +459,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry - : internalGetSysctls().getMap().entrySet()) { - com.google.protobuf.MapEntry - sysctls__ = SysctlsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, sysctls__); + for (java.util.Map.Entry entry : + internalGetSysctls().getMap().entrySet()) { + com.google.protobuf.MapEntry sysctls__ = + SysctlsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sysctls__); } - if (cgroupMode_ != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, cgroupMode_); + if (cgroupMode_ + != com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.CGROUP_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, cgroupMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -441,15 +482,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LinuxNodeConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LinuxNodeConfig other = (com.google.container.v1beta1.LinuxNodeConfig) obj; + com.google.container.v1beta1.LinuxNodeConfig other = + (com.google.container.v1beta1.LinuxNodeConfig) obj; - if (!internalGetSysctls().equals( - other.internalGetSysctls())) return false; + if (!internalGetSysctls().equals(other.internalGetSysctls())) return false; if (cgroupMode_ != other.cgroupMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -473,152 +514,156 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LinuxNodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( 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.LinuxNodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LinuxNodeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LinuxNodeConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.LinuxNodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * Protobuf type {@code google.container.v1beta1.LinuxNodeConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LinuxNodeConfig) com.google.container.v1beta1.LinuxNodeConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 1: return internalGetSysctls(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 1: return internalGetMutableSysctls(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LinuxNodeConfig.class, com.google.container.v1beta1.LinuxNodeConfig.Builder.class); + com.google.container.v1beta1.LinuxNodeConfig.class, + com.google.container.v1beta1.LinuxNodeConfig.Builder.class); } // Construct using com.google.container.v1beta1.LinuxNodeConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +674,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; } @java.lang.Override @@ -650,7 +695,8 @@ public com.google.container.v1beta1.LinuxNodeConfig build() { @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig buildPartial() { - com.google.container.v1beta1.LinuxNodeConfig result = new com.google.container.v1beta1.LinuxNodeConfig(this); + com.google.container.v1beta1.LinuxNodeConfig result = + new com.google.container.v1beta1.LinuxNodeConfig(this); int from_bitField0_ = bitField0_; result.sysctls_ = internalGetSysctls(); result.sysctls_.makeImmutable(); @@ -663,38 +709,39 @@ public com.google.container.v1beta1.LinuxNodeConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LinuxNodeConfig) { - return mergeFrom((com.google.container.v1beta1.LinuxNodeConfig)other); + return mergeFrom((com.google.container.v1beta1.LinuxNodeConfig) other); } else { super.mergeFrom(other); return this; @@ -703,8 +750,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1beta1.LinuxNodeConfig other) { if (other == com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance()) return this; - internalGetMutableSysctls().mergeFrom( - other.internalGetSysctls()); + internalGetMutableSysctls().mergeFrom(other.internalGetSysctls()); if (other.cgroupMode_ != 0) { setCgroupModeValue(other.getCgroupModeValue()); } @@ -734,25 +780,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.MapEntry - sysctls__ = input.readMessage( - SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableSysctls().getMutableMap().put( - sysctls__.getKey(), sysctls__.getValue()); - break; - } // case 10 - case 16: { - cgroupMode_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.MapEntry sysctls__ = + input.readMessage( + SysctlsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableSysctls() + .getMutableMap() + .put(sysctls__.getKey(), sysctls__.getValue()); + break; + } // case 10 + case 16: + { + cgroupMode_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -762,24 +813,24 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> sysctls_; - private com.google.protobuf.MapField - internalGetSysctls() { + private com.google.protobuf.MapField sysctls_; + + private com.google.protobuf.MapField internalGetSysctls() { if (sysctls_ == null) { - return com.google.protobuf.MapField.emptyMapField( - SysctlsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(SysctlsDefaultEntryHolder.defaultEntry); } return sysctls_; } + private com.google.protobuf.MapField - internalGetMutableSysctls() { - onChanged();; + internalGetMutableSysctls() { + onChanged(); + ; if (sysctls_ == null) { - sysctls_ = com.google.protobuf.MapField.newMapField( - SysctlsDefaultEntryHolder.defaultEntry); + sysctls_ = com.google.protobuf.MapField.newMapField(SysctlsDefaultEntryHolder.defaultEntry); } if (!sysctls_.isMutable()) { sysctls_ = sysctls_.copy(); @@ -791,6 +842,8 @@ public int getSysctlsCount() { return internalGetSysctls().getMap().size(); } /** + * + * *
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -810,22 +863,22 @@ public int getSysctlsCount() {
      *
      * map<string, string> sysctls = 1;
      */
-
     @java.lang.Override
-    public boolean containsSysctls(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsSysctls(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetSysctls().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getSysctlsMap()} instead.
-     */
+    /** Use {@link #getSysctlsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getSysctls() {
       return getSysctlsMap();
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -846,11 +899,12 @@ public java.util.Map getSysctls() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-
     public java.util.Map getSysctlsMap() {
       return internalGetSysctls().getMap();
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -871,16 +925,17 @@ public java.util.Map getSysctlsMap() {
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-
     public java.lang.String getSysctlsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetSysctls().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetSysctls().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -901,12 +956,11 @@ public java.lang.String getSysctlsOrDefault(
      * map<string, string> sysctls = 1;
      */
     @java.lang.Override
-
-    public java.lang.String getSysctlsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetSysctls().getMap();
+    public java.lang.String getSysctlsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetSysctls().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -914,11 +968,12 @@ public java.lang.String getSysctlsOrThrow(
     }
 
     public Builder clearSysctls() {
-      internalGetMutableSysctls().getMutableMap()
-          .clear();
+      internalGetMutableSysctls().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -938,23 +993,21 @@ public Builder clearSysctls() {
      *
      * map<string, string> sysctls = 1;
      */
-
-    public Builder removeSysctls(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableSysctls().getMutableMap()
-          .remove(key);
+    public Builder removeSysctls(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableSysctls().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableSysctls() {
+    public java.util.Map getMutableSysctls() {
       return internalGetMutableSysctls().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -974,19 +1027,20 @@ public Builder removeSysctls(
      *
      * map<string, string> sysctls = 1;
      */
-    public Builder putSysctls(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putSysctls(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableSysctls().getMutableMap()
-          .put(key, value);
+      internalGetMutableSysctls().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The Linux kernel parameters to be applied to the nodes and all pods running
      * on the nodes.
@@ -1006,61 +1060,74 @@ public Builder putSysctls(
      *
      * map<string, string> sysctls = 1;
      */
-
-    public Builder putAllSysctls(
-        java.util.Map values) {
-      internalGetMutableSysctls().getMutableMap()
-          .putAll(values);
+    public Builder putAllSysctls(java.util.Map values) {
+      internalGetMutableSysctls().getMutableMap().putAll(values);
       return this;
     }
 
     private int cgroupMode_ = 0;
     /**
+     *
+     *
      * 
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The enum numeric value on the wire for cgroupMode. */ - @java.lang.Override public int getCgroupModeValue() { + @java.lang.Override + public int getCgroupModeValue() { return cgroupMode_; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @param value The enum numeric value on the wire for cgroupMode to set. * @return This builder for chaining. */ public Builder setCgroupModeValue(int value) { - + cgroupMode_ = value; onChanged(); return this; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The cgroupMode. */ @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); - return result == null ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED : result; + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode result = + com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.valueOf(cgroupMode_); + return result == null + ? com.google.container.v1beta1.LinuxNodeConfig.CgroupMode.UNRECOGNIZED + : result; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @param value The cgroupMode to set. * @return This builder for chaining. */ @@ -1068,28 +1135,31 @@ public Builder setCgroupMode(com.google.container.v1beta1.LinuxNodeConfig.Cgroup if (value == null) { throw new NullPointerException(); } - + cgroupMode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * cgroup_mode specifies the cgroup mode to be used on the node.
      * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return This builder for chaining. */ public Builder clearCgroupMode() { - + cgroupMode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,12 +1169,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LinuxNodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LinuxNodeConfig) private static final com.google.container.v1beta1.LinuxNodeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LinuxNodeConfig(); } @@ -1113,27 +1183,27 @@ public static com.google.container.v1beta1.LinuxNodeConfig getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LinuxNodeConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinuxNodeConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,6 +1218,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LinuxNodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java index b05daec9df6e..561ea6b336c9 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LinuxNodeConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LinuxNodeConfigOrBuilder extends +public interface LinuxNodeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LinuxNodeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -29,6 +47,8 @@ public interface LinuxNodeConfigOrBuilder extends
    */
   int getSysctlsCount();
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -48,15 +68,13 @@ public interface LinuxNodeConfigOrBuilder extends
    *
    * map<string, string> sysctls = 1;
    */
-  boolean containsSysctls(
-      java.lang.String key);
-  /**
-   * Use {@link #getSysctlsMap()} instead.
-   */
+  boolean containsSysctls(java.lang.String key);
+  /** Use {@link #getSysctlsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getSysctls();
+  java.util.Map getSysctls();
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -76,9 +94,10 @@ boolean containsSysctls(
    *
    * map<string, string> sysctls = 1;
    */
-  java.util.Map
-  getSysctlsMap();
+  java.util.Map getSysctlsMap();
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -100,11 +119,13 @@ boolean containsSysctls(
    */
 
   /* nullable */
-java.lang.String getSysctlsOrDefault(
+  java.lang.String getSysctlsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The Linux kernel parameters to be applied to the nodes and all pods running
    * on the nodes.
@@ -124,25 +145,29 @@ java.lang.String getSysctlsOrDefault(
    *
    * map<string, string> sysctls = 1;
    */
-
-  java.lang.String getSysctlsOrThrow(
-      java.lang.String key);
+  java.lang.String getSysctlsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The enum numeric value on the wire for cgroupMode. */ int getCgroupModeValue(); /** + * + * *
    * cgroup_mode specifies the cgroup mode to be used on the node.
    * 
* * .google.container.v1beta1.LinuxNodeConfig.CgroupMode cgroup_mode = 2; + * * @return The cgroupMode. */ com.google.container.v1beta1.LinuxNodeConfig.CgroupMode getCgroupMode(); diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequest.java index 4cd3cee8b998..bd201ad50073 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListClustersRequest lists clusters.
  * 
* * Protobuf type {@code google.container.v1beta1.ListClustersRequest} */ -public final class ListClustersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListClustersRequest) ListClustersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersRequest() { projectId_ = ""; zone_ = ""; @@ -27,76 +45,84 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersRequest.class, com.google.container.v1beta1.ListClustersRequest.Builder.class); + com.google.container.v1beta1.ListClustersRequest.class, + com.google.container.v1beta1.ListClustersRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -115,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -141,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,6 +194,8 @@ protected java.lang.Object newInstance( public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -170,6 +203,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -178,14 +212,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -193,16 +228,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -211,6 +245,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -259,19 +293,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListClustersRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListClustersRequest other = (com.google.container.v1beta1.ListClustersRequest) obj; + com.google.container.v1beta1.ListClustersRequest other = + (com.google.container.v1beta1.ListClustersRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getParent() - .equals(other.getParent())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -294,130 +326,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ListClustersRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListClustersRequest parseFrom( 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.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListClustersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListClustersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListClustersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListClustersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListClustersRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListClustersRequest lists clusters.
    * 
* * Protobuf type {@code google.container.v1beta1.ListClustersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListClustersRequest) com.google.container.v1beta1.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersRequest.class, com.google.container.v1beta1.ListClustersRequest.Builder.class); + com.google.container.v1beta1.ListClustersRequest.class, + com.google.container.v1beta1.ListClustersRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListClustersRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersRequest_descriptor; } @java.lang.Override @@ -452,7 +490,8 @@ public com.google.container.v1beta1.ListClustersRequest build() { @java.lang.Override public com.google.container.v1beta1.ListClustersRequest buildPartial() { - com.google.container.v1beta1.ListClustersRequest result = new com.google.container.v1beta1.ListClustersRequest(this); + com.google.container.v1beta1.ListClustersRequest result = + new com.google.container.v1beta1.ListClustersRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -464,38 +503,39 @@ public com.google.container.v1beta1.ListClustersRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListClustersRequest) { - return mergeFrom((com.google.container.v1beta1.ListClustersRequest)other); + return mergeFrom((com.google.container.v1beta1.ListClustersRequest) other); } else { super.mergeFrom(other); return this; @@ -503,7 +543,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListClustersRequest other) { - if (other == com.google.container.v1beta1.ListClustersRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ListClustersRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -542,27 +583,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -575,22 +620,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -599,24 +648,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -624,66 +676,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -691,6 +756,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -699,15 +766,16 @@ public Builder mergeFrom(
      * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -716,6 +784,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -724,17 +794,17 @@ public Builder mergeFrom(
      * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -742,6 +812,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -750,22 +822,25 @@ public Builder mergeFrom(
      * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -774,17 +849,21 @@ public Builder mergeFrom(
      * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -793,18 +872,19 @@ public Builder mergeFrom(
      * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -812,6 +892,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -819,13 +901,13 @@ public Builder mergeFrom(
      * 
* * string parent = 4; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -834,6 +916,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -841,15 +925,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -857,6 +940,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -864,20 +949,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -885,15 +972,18 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the clusters will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -901,23 +991,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +1017,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListClustersRequest) private static final com.google.container.v1beta1.ListClustersRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListClustersRequest(); } @@ -941,27 +1031,27 @@ public static com.google.container.v1beta1.ListClustersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,6 +1066,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersRequestOrBuilder.java index 6c174dd3ad2d..db62e66a929d 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface ListClustersRequestOrBuilder extends +public interface ListClustersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2902 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListClustersRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2902 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,14 +89,17 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * 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=2911 + * + * @deprecated google.container.v1beta1.ListClustersRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2911 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -73,10 +107,13 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project and location) where the clusters will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -84,8 +121,8 @@ public interface ListClustersRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java index a4455b1ae62c..df73c92bd631 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListClustersResponse is the result of ListClustersRequest.
  * 
* * Protobuf type {@code google.container.v1beta1.ListClustersResponse} */ -public final class ListClustersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListClustersResponse) ListClustersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,32 +44,35 @@ private ListClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersResponse.class, com.google.container.v1beta1.ListClustersResponse.Builder.class); + com.google.container.v1beta1.ListClustersResponse.class, + com.google.container.v1beta1.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; private java.util.List clusters_; /** + * + * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -64,6 +85,8 @@ public java.util.List getClustersList() {
     return clusters_;
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -72,11 +95,13 @@ public java.util.List getClustersList() {
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getClustersOrBuilderList() {
     return clusters_;
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -89,6 +114,8 @@ public int getClustersCount() {
     return clusters_.size();
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -101,6 +128,8 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
     return clusters_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -109,45 +138,52 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
-      int index) {
+  public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int index) {
     return clusters_.get(index);
   }
 
   public static final int MISSING_ZONES_FIELD_NUMBER = 2;
   private com.google.protobuf.LazyStringList missingZones_;
   /**
+   *
+   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_; } /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -155,21 +191,24 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,8 +220,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -199,8 +237,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); } { int dataSize = 0; @@ -218,17 +255,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListClustersResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListClustersResponse other = (com.google.container.v1beta1.ListClustersResponse) obj; + com.google.container.v1beta1.ListClustersResponse other = + (com.google.container.v1beta1.ListClustersResponse) obj; - if (!getClustersList() - .equals(other.getClustersList())) return false; - if (!getMissingZonesList() - .equals(other.getMissingZonesList())) return false; + if (!getClustersList().equals(other.getClustersList())) return false; + if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -254,129 +290,135 @@ public int hashCode() { } public static com.google.container.v1beta1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListClustersResponse parseFrom( 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.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListClustersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListClustersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListClustersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListClustersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListClustersResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListClustersResponse is the result of ListClustersRequest.
    * 
* * Protobuf type {@code google.container.v1beta1.ListClustersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListClustersResponse) com.google.container.v1beta1.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListClustersResponse.class, com.google.container.v1beta1.ListClustersResponse.Builder.class); + com.google.container.v1beta1.ListClustersResponse.class, + com.google.container.v1beta1.ListClustersResponse.Builder.class); } // Construct using com.google.container.v1beta1.ListClustersResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListClustersResponse_descriptor; } @java.lang.Override @@ -414,7 +456,8 @@ public com.google.container.v1beta1.ListClustersResponse build() { @java.lang.Override public com.google.container.v1beta1.ListClustersResponse buildPartial() { - com.google.container.v1beta1.ListClustersResponse result = new com.google.container.v1beta1.ListClustersResponse(this); + com.google.container.v1beta1.ListClustersResponse result = + new com.google.container.v1beta1.ListClustersResponse(this); int from_bitField0_ = bitField0_; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -438,38 +481,39 @@ public com.google.container.v1beta1.ListClustersResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListClustersResponse) { - return mergeFrom((com.google.container.v1beta1.ListClustersResponse)other); + return mergeFrom((com.google.container.v1beta1.ListClustersResponse) other); } else { super.mergeFrom(other); return this; @@ -477,7 +521,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListClustersResponse other) { - if (other == com.google.container.v1beta1.ListClustersResponse.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ListClustersResponse.getDefaultInstance()) + return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -496,9 +541,10 @@ public Builder mergeFrom(com.google.container.v1beta1.ListClustersResponse other clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getClustersFieldBuilder() : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getClustersFieldBuilder() + : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -540,31 +586,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1beta1.Cluster m = - input.readMessage( - com.google.container.v1beta1.Cluster.parser(), - extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1beta1.Cluster m = + input.readMessage( + com.google.container.v1beta1.Cluster.parser(), extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -574,21 +622,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> clustersBuilder_; + com.google.container.v1beta1.Cluster, + com.google.container.v1beta1.Cluster.Builder, + com.google.container.v1beta1.ClusterOrBuilder> + clustersBuilder_; /** + * + * *
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -604,6 +659,8 @@ public java.util.List getClustersList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -619,6 +676,8 @@ public int getClustersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -634,6 +693,8 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -641,8 +702,7 @@ public com.google.container.v1beta1.Cluster getClusters(int index) {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public Builder setClusters(
-        int index, com.google.container.v1beta1.Cluster value) {
+    public Builder setClusters(int index, com.google.container.v1beta1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -656,6 +716,8 @@ public Builder setClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -675,6 +737,8 @@ public Builder setClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -696,6 +760,8 @@ public Builder addClusters(com.google.container.v1beta1.Cluster value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -703,8 +769,7 @@ public Builder addClusters(com.google.container.v1beta1.Cluster value) {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public Builder addClusters(
-        int index, com.google.container.v1beta1.Cluster value) {
+    public Builder addClusters(int index, com.google.container.v1beta1.Cluster value) {
       if (clustersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -718,6 +783,8 @@ public Builder addClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -725,8 +792,7 @@ public Builder addClusters(
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public Builder addClusters(
-        com.google.container.v1beta1.Cluster.Builder builderForValue) {
+    public Builder addClusters(com.google.container.v1beta1.Cluster.Builder builderForValue) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
         clusters_.add(builderForValue.build());
@@ -737,6 +803,8 @@ public Builder addClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -756,6 +824,8 @@ public Builder addClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -767,8 +837,7 @@ public Builder addAllClusters(
         java.lang.Iterable values) {
       if (clustersBuilder_ == null) {
         ensureClustersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, clusters_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_);
         onChanged();
       } else {
         clustersBuilder_.addAllMessages(values);
@@ -776,6 +845,8 @@ public Builder addAllClusters(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -794,6 +865,8 @@ public Builder clearClusters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -812,6 +885,8 @@ public Builder removeClusters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -819,11 +894,12 @@ public Builder removeClusters(int index) {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public com.google.container.v1beta1.Cluster.Builder getClustersBuilder(
-        int index) {
+    public com.google.container.v1beta1.Cluster.Builder getClustersBuilder(int index) {
       return getClustersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -831,14 +907,16 @@ public com.google.container.v1beta1.Cluster.Builder getClustersBuilder(
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
-        int index) {
+    public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int index) {
       if (clustersBuilder_ == null) {
-        return clusters_.get(index);  } else {
+        return clusters_.get(index);
+      } else {
         return clustersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -846,8 +924,8 @@ public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public java.util.List 
-         getClustersOrBuilderList() {
+    public java.util.List
+        getClustersOrBuilderList() {
       if (clustersBuilder_ != null) {
         return clustersBuilder_.getMessageOrBuilderList();
       } else {
@@ -855,6 +933,8 @@ public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -863,10 +943,12 @@ public com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
     public com.google.container.v1beta1.Cluster.Builder addClustersBuilder() {
-      return getClustersFieldBuilder().addBuilder(
-          com.google.container.v1beta1.Cluster.getDefaultInstance());
+      return getClustersFieldBuilder()
+          .addBuilder(com.google.container.v1beta1.Cluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -874,12 +956,13 @@ public com.google.container.v1beta1.Cluster.Builder addClustersBuilder() {
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public com.google.container.v1beta1.Cluster.Builder addClustersBuilder(
-        int index) {
-      return getClustersFieldBuilder().addBuilder(
-          index, com.google.container.v1beta1.Cluster.getDefaultInstance());
+    public com.google.container.v1beta1.Cluster.Builder addClustersBuilder(int index) {
+      return getClustersFieldBuilder()
+          .addBuilder(index, com.google.container.v1beta1.Cluster.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of clusters in the project in the specified zone, or
      * across all ones.
@@ -887,64 +970,76 @@ public com.google.container.v1beta1.Cluster.Builder addClustersBuilder(
      *
      * repeated .google.container.v1beta1.Cluster clusters = 1;
      */
-    public java.util.List 
-         getClustersBuilderList() {
+    public java.util.List getClustersBuilderList() {
       return getClustersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder> 
+            com.google.container.v1beta1.Cluster,
+            com.google.container.v1beta1.Cluster.Builder,
+            com.google.container.v1beta1.ClusterOrBuilder>
         getClustersFieldBuilder() {
       if (clustersBuilder_ == null) {
-        clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.Cluster, com.google.container.v1beta1.Cluster.Builder, com.google.container.v1beta1.ClusterOrBuilder>(
-                clusters_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        clustersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1beta1.Cluster,
+                com.google.container.v1beta1.Cluster.Builder,
+                com.google.container.v1beta1.ClusterOrBuilder>(
+                clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         clusters_ = null;
       }
       return clustersBuilder_;
     }
 
-    private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList missingZones_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureMissingZonesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -952,85 +1047,95 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones( - int index, java.lang.String value) { + public Builder setMissingZones(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones( - java.lang.String value) { + public Builder addMissingZones(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones( - java.lang.Iterable values) { + public Builder addAllMissingZones(java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1040,29 +1145,31 @@ public Builder clearMissingZones() { return this; } /** + * + * *
      * If any zones are listed here, the list of clusters returned
      * may be missing those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes( - com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +1179,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListClustersResponse) private static final com.google.container.v1beta1.ListClustersResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListClustersResponse(); } @@ -1086,27 +1193,27 @@ public static com.google.container.v1beta1.ListClustersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,6 +1228,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java index 9d49676a2b65..b97b0769a04a 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListClustersResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListClustersResponseOrBuilder extends +public interface ListClustersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -15,9 +33,10 @@ public interface ListClustersResponseOrBuilder extends
    *
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
-  java.util.List 
-      getClustersList();
+  java.util.List getClustersList();
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -27,6 +46,8 @@ public interface ListClustersResponseOrBuilder extends
    */
   com.google.container.v1beta1.Cluster getClusters(int index);
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -36,6 +57,8 @@ public interface ListClustersResponseOrBuilder extends
    */
   int getClustersCount();
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -43,9 +66,11 @@ public interface ListClustersResponseOrBuilder extends
    *
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
-  java.util.List 
+  java.util.List
       getClustersOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of clusters in the project in the specified zone, or
    * across all ones.
@@ -53,51 +78,60 @@ public interface ListClustersResponseOrBuilder extends
    *
    * repeated .google.container.v1beta1.Cluster clusters = 1;
    */
-  com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(
-      int index);
+  com.google.container.v1beta1.ClusterOrBuilder getClustersOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - java.util.List - getMissingZonesList(); + java.util.List getMissingZonesList(); /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ int getMissingZonesCount(); /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** + * + * *
    * If any zones are listed here, the list of clusters returned
    * may be missing those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString - getMissingZonesBytes(int index); + com.google.protobuf.ByteString getMissingZonesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java index 1655f5e99c8e..144394696b90 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequest.java @@ -1,62 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * ListLocationsRequest is used to request the locations that offer GKE.
  * 
* * Protobuf type {@code google.container.v1beta1.ListLocationsRequest} */ -public final class ListLocationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListLocationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListLocationsRequest) ListLocationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListLocationsRequest.newBuilder() to construct. private ListLocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListLocationsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListLocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListLocationsRequest.class, com.google.container.v1beta1.ListLocationsRequest.Builder.class); + com.google.container.v1beta1.ListLocationsRequest.class, + com.google.container.v1beta1.ListLocationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -65,30 +87,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -97,6 +119,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -133,15 +155,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListLocationsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListLocationsRequest other = (com.google.container.v1beta1.ListLocationsRequest) obj; + com.google.container.v1beta1.ListLocationsRequest other = + (com.google.container.v1beta1.ListLocationsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +183,135 @@ public int hashCode() { } public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListLocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListLocationsRequest parseFrom( 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.ListLocationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListLocationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListLocationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListLocationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListLocationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListLocationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListLocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListLocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListLocationsRequest is used to request the locations that offer GKE.
    * 
* * Protobuf type {@code google.container.v1beta1.ListLocationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListLocationsRequest) com.google.container.v1beta1.ListLocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListLocationsRequest.class, com.google.container.v1beta1.ListLocationsRequest.Builder.class); + com.google.container.v1beta1.ListLocationsRequest.class, + com.google.container.v1beta1.ListLocationsRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListLocationsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +321,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; } @java.lang.Override @@ -314,7 +342,8 @@ public com.google.container.v1beta1.ListLocationsRequest build() { @java.lang.Override public com.google.container.v1beta1.ListLocationsRequest buildPartial() { - com.google.container.v1beta1.ListLocationsRequest result = new com.google.container.v1beta1.ListLocationsRequest(this); + com.google.container.v1beta1.ListLocationsRequest result = + new com.google.container.v1beta1.ListLocationsRequest(this); result.parent_ = parent_; onBuilt(); return result; @@ -324,38 +353,39 @@ public com.google.container.v1beta1.ListLocationsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListLocationsRequest) { - return mergeFrom((com.google.container.v1beta1.ListLocationsRequest)other); + return mergeFrom((com.google.container.v1beta1.ListLocationsRequest) other); } else { super.mergeFrom(other); return this; @@ -363,7 +393,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListLocationsRequest other) { - if (other == com.google.container.v1beta1.ListLocationsRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ListLocationsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -394,17 +425,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +450,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -438,21 +473,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -460,64 +496,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Contains the name of the resource requested.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +570,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListLocationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListLocationsRequest) private static final com.google.container.v1beta1.ListLocationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListLocationsRequest(); } @@ -541,27 +584,27 @@ public static com.google.container.v1beta1.ListLocationsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,6 +619,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListLocationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java index 6c85e2a75b77..02512f84cec8 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsRequestOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListLocationsRequestOrBuilder extends +public interface ListLocationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListLocationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Contains the name of the resource requested.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java index 03e4a610c304..982509c85ce0 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListLocationsResponse returns the list of all GKE locations and their
  * recommendation state.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.ListLocationsResponse}
  */
-public final class ListLocationsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListLocationsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListLocationsResponse)
     ListLocationsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListLocationsResponse.newBuilder() to construct.
   private ListLocationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListLocationsResponse() {
     locations_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +45,35 @@ private ListLocationsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListLocationsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ListLocationsResponse.class, com.google.container.v1beta1.ListLocationsResponse.Builder.class);
+            com.google.container.v1beta1.ListLocationsResponse.class,
+            com.google.container.v1beta1.ListLocationsResponse.Builder.class);
   }
 
   public static final int LOCATIONS_FIELD_NUMBER = 1;
   private java.util.List locations_;
   /**
+   *
+   *
    * 
    * A full list of GKE locations.
    * 
@@ -64,6 +85,8 @@ public java.util.List getLocationsList() return locations_; } /** + * + * *
    * A full list of GKE locations.
    * 
@@ -71,11 +94,13 @@ public java.util.List getLocationsList() * repeated .google.container.v1beta1.Location locations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getLocationsOrBuilderList() { return locations_; } /** + * + * *
    * A full list of GKE locations.
    * 
@@ -87,6 +112,8 @@ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * A full list of GKE locations.
    * 
@@ -98,6 +125,8 @@ public com.google.container.v1beta1.Location getLocations(int index) { return locations_.get(index); } /** + * + * *
    * A full list of GKE locations.
    * 
@@ -105,14 +134,15 @@ public com.google.container.v1beta1.Location getLocations(int index) { * repeated .google.container.v1beta1.Location locations = 1; */ @java.lang.Override - public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( - int index) { + public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int index) { return locations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -121,6 +151,7 @@ public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +160,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -145,16 +177,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < locations_.size(); i++) { output.writeMessage(1, locations_.get(i)); } @@ -192,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < locations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, locations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, locations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListLocationsResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListLocationsResponse other = (com.google.container.v1beta1.ListLocationsResponse) obj; + com.google.container.v1beta1.ListLocationsResponse other = + (com.google.container.v1beta1.ListLocationsResponse) obj; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +269,103 @@ public int hashCode() { } public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListLocationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListLocationsResponse parseFrom( 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.ListLocationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListLocationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListLocationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListLocationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListLocationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListLocationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListLocationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListLocationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListLocationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListLocationsResponse returns the list of all GKE locations and their
    * recommendation state.
@@ -337,33 +373,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ListLocationsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListLocationsResponse)
       com.google.container.v1beta1.ListLocationsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ListLocationsResponse.class, com.google.container.v1beta1.ListLocationsResponse.Builder.class);
+              com.google.container.v1beta1.ListLocationsResponse.class,
+              com.google.container.v1beta1.ListLocationsResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ListLocationsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +415,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListLocationsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,7 +436,8 @@ public com.google.container.v1beta1.ListLocationsResponse build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ListLocationsResponse buildPartial() {
-      com.google.container.v1beta1.ListLocationsResponse result = new com.google.container.v1beta1.ListLocationsResponse(this);
+      com.google.container.v1beta1.ListLocationsResponse result =
+          new com.google.container.v1beta1.ListLocationsResponse(this);
       int from_bitField0_ = bitField0_;
       if (locationsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -421,38 +457,39 @@ public com.google.container.v1beta1.ListLocationsResponse buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ListLocationsResponse) {
-        return mergeFrom((com.google.container.v1beta1.ListLocationsResponse)other);
+        return mergeFrom((com.google.container.v1beta1.ListLocationsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ListLocationsResponse other) {
-      if (other == com.google.container.v1beta1.ListLocationsResponse.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.ListLocationsResponse.getDefaultInstance())
+        return this;
       if (locationsBuilder_ == null) {
         if (!other.locations_.isEmpty()) {
           if (locations_.isEmpty()) {
@@ -479,9 +517,10 @@ public Builder mergeFrom(com.google.container.v1beta1.ListLocationsResponse othe
             locationsBuilder_ = null;
             locations_ = other.locations_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            locationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getLocationsFieldBuilder() : null;
+            locationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getLocationsFieldBuilder()
+                    : null;
           } else {
             locationsBuilder_.addAllMessages(other.locations_);
           }
@@ -517,30 +556,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.container.v1beta1.Location m =
-                  input.readMessage(
-                      com.google.container.v1beta1.Location.parser(),
-                      extensionRegistry);
-              if (locationsBuilder_ == null) {
-                ensureLocationsIsMutable();
-                locations_.add(m);
-              } else {
-                locationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.container.v1beta1.Location m =
+                    input.readMessage(
+                        com.google.container.v1beta1.Location.parser(), extensionRegistry);
+                if (locationsBuilder_ == null) {
+                  ensureLocationsIsMutable();
+                  locations_.add(m);
+                } else {
+                  locationsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,21 +591,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List locations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureLocationsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         locations_ = new java.util.ArrayList(locations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.Location, com.google.container.v1beta1.Location.Builder, com.google.container.v1beta1.LocationOrBuilder> locationsBuilder_;
+            com.google.container.v1beta1.Location,
+            com.google.container.v1beta1.Location.Builder,
+            com.google.container.v1beta1.LocationOrBuilder>
+        locationsBuilder_;
 
     /**
+     *
+     *
      * 
      * A full list of GKE locations.
      * 
@@ -579,6 +627,8 @@ public java.util.List getLocationsList() } } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -593,6 +643,8 @@ public int getLocationsCount() { } } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -607,14 +659,15 @@ public com.google.container.v1beta1.Location getLocations(int index) { } } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public Builder setLocations( - int index, com.google.container.v1beta1.Location value) { + public Builder setLocations(int index, com.google.container.v1beta1.Location value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -628,6 +681,8 @@ public Builder setLocations( return this; } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -646,6 +701,8 @@ public Builder setLocations( return this; } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -666,14 +723,15 @@ public Builder addLocations(com.google.container.v1beta1.Location value) { return this; } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public Builder addLocations( - int index, com.google.container.v1beta1.Location value) { + public Builder addLocations(int index, com.google.container.v1beta1.Location value) { if (locationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -687,14 +745,15 @@ public Builder addLocations( return this; } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public Builder addLocations( - com.google.container.v1beta1.Location.Builder builderForValue) { + public Builder addLocations(com.google.container.v1beta1.Location.Builder builderForValue) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); locations_.add(builderForValue.build()); @@ -705,6 +764,8 @@ public Builder addLocations( return this; } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -723,6 +784,8 @@ public Builder addLocations( return this; } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -733,8 +796,7 @@ public Builder addAllLocations( java.lang.Iterable values) { if (locationsBuilder_ == null) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); } else { locationsBuilder_.addAllMessages(values); @@ -742,6 +804,8 @@ public Builder addAllLocations( return this; } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -759,6 +823,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -776,39 +842,44 @@ public Builder removeLocations(int index) { return this; } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public com.google.container.v1beta1.Location.Builder getLocationsBuilder( - int index) { + public com.google.container.v1beta1.Location.Builder getLocationsBuilder(int index) { return getLocationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( - int index) { + public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int index) { if (locationsBuilder_ == null) { - return locations_.get(index); } else { + return locations_.get(index); + } else { return locationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public java.util.List - getLocationsOrBuilderList() { + public java.util.List + getLocationsOrBuilderList() { if (locationsBuilder_ != null) { return locationsBuilder_.getMessageOrBuilderList(); } else { @@ -816,6 +887,8 @@ public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( } } /** + * + * *
      * A full list of GKE locations.
      * 
@@ -823,42 +896,47 @@ public com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( * repeated .google.container.v1beta1.Location locations = 1; */ public com.google.container.v1beta1.Location.Builder addLocationsBuilder() { - return getLocationsFieldBuilder().addBuilder( - com.google.container.v1beta1.Location.getDefaultInstance()); + return getLocationsFieldBuilder() + .addBuilder(com.google.container.v1beta1.Location.getDefaultInstance()); } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public com.google.container.v1beta1.Location.Builder addLocationsBuilder( - int index) { - return getLocationsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.Location.getDefaultInstance()); + public com.google.container.v1beta1.Location.Builder addLocationsBuilder(int index) { + return getLocationsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.Location.getDefaultInstance()); } /** + * + * *
      * A full list of GKE locations.
      * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - public java.util.List - getLocationsBuilderList() { + public java.util.List getLocationsBuilderList() { return getLocationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Location, com.google.container.v1beta1.Location.Builder, com.google.container.v1beta1.LocationOrBuilder> + com.google.container.v1beta1.Location, + com.google.container.v1beta1.Location.Builder, + com.google.container.v1beta1.LocationOrBuilder> getLocationsFieldBuilder() { if (locationsBuilder_ == null) { - locationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Location, com.google.container.v1beta1.Location.Builder, com.google.container.v1beta1.LocationOrBuilder>( - locations_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + locationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.Location, + com.google.container.v1beta1.Location.Builder, + com.google.container.v1beta1.LocationOrBuilder>( + locations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); locations_ = null; } return locationsBuilder_; @@ -866,6 +944,8 @@ public com.google.container.v1beta1.Location.Builder addLocationsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -874,13 +954,13 @@ public com.google.container.v1beta1.Location.Builder addLocationsBuilder(
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -889,6 +969,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -897,15 +979,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,6 +994,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -921,20 +1004,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -943,15 +1028,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * Only return ListLocationsResponse that occur after the page_token. This
      * value should be populated from the ListLocationsResponse.next_page_token if
@@ -960,23 +1048,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -986,12 +1074,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListLocationsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListLocationsResponse) private static final com.google.container.v1beta1.ListLocationsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListLocationsResponse(); } @@ -1000,27 +1088,27 @@ public static com.google.container.v1beta1.ListLocationsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListLocationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListLocationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1123,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListLocationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java index 19ad53a31a40..56783a61aa59 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListLocationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListLocationsResponseOrBuilder extends +public interface ListLocationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListLocationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A full list of GKE locations.
    * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * A full list of GKE locations.
    * 
@@ -25,6 +44,8 @@ public interface ListLocationsResponseOrBuilder extends */ com.google.container.v1beta1.Location getLocations(int index); /** + * + * *
    * A full list of GKE locations.
    * 
@@ -33,25 +54,30 @@ public interface ListLocationsResponseOrBuilder extends */ int getLocationsCount(); /** + * + * *
    * A full list of GKE locations.
    * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - java.util.List + java.util.List getLocationsOrBuilderList(); /** + * + * *
    * A full list of GKE locations.
    * 
* * repeated .google.container.v1beta1.Location locations = 1; */ - com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder( - int index); + com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(int index); /** + * + * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -60,10 +86,13 @@ com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * Only return ListLocationsResponse that occur after the page_token. This
    * value should be populated from the ListLocationsResponse.next_page_token if
@@ -72,8 +101,8 @@ com.google.container.v1beta1.LocationOrBuilder getLocationsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequest.java index 3954e75badf9..44399591fcb5 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListNodePoolsRequest lists the node pool(s) for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsRequest} */ -public final class ListNodePoolsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNodePoolsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListNodePoolsRequest) ListNodePoolsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNodePoolsRequest.newBuilder() to construct. private ListNodePoolsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNodePoolsRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private ListNodePoolsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNodePoolsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsRequest.class, com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); + com.google.container.v1beta1.ListNodePoolsRequest.class, + com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +254,15 @@ protected java.lang.Object newInstance( public static final int PARENT_FIELD_NUMBER = 5; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The parent. */ @java.lang.Override @@ -230,30 +271,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -262,6 +303,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -273,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -316,21 +357,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListNodePoolsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListNodePoolsRequest other = (com.google.container.v1beta1.ListNodePoolsRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getParent() - .equals(other.getParent())) return false; + com.google.container.v1beta1.ListNodePoolsRequest other = + (com.google.container.v1beta1.ListNodePoolsRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -356,129 +394,135 @@ public int hashCode() { } public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( 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.ListNodePoolsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListNodePoolsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListNodePoolsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListNodePoolsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListNodePoolsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListNodePoolsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListNodePoolsRequest lists the node pool(s) for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListNodePoolsRequest) com.google.container.v1beta1.ListNodePoolsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsRequest.class, com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); + com.google.container.v1beta1.ListNodePoolsRequest.class, + com.google.container.v1beta1.ListNodePoolsRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListNodePoolsRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -494,9 +538,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; } @java.lang.Override @@ -515,7 +559,8 @@ public com.google.container.v1beta1.ListNodePoolsRequest build() { @java.lang.Override public com.google.container.v1beta1.ListNodePoolsRequest buildPartial() { - com.google.container.v1beta1.ListNodePoolsRequest result = new com.google.container.v1beta1.ListNodePoolsRequest(this); + com.google.container.v1beta1.ListNodePoolsRequest result = + new com.google.container.v1beta1.ListNodePoolsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -528,38 +573,39 @@ public com.google.container.v1beta1.ListNodePoolsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListNodePoolsRequest) { - return mergeFrom((com.google.container.v1beta1.ListNodePoolsRequest)other); + return mergeFrom((com.google.container.v1beta1.ListNodePoolsRequest) other); } else { super.mergeFrom(other); return this; @@ -567,7 +613,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListNodePoolsRequest other) { - if (other == com.google.container.v1beta1.ListNodePoolsRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ListNodePoolsRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -610,32 +657,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 42: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 42: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -648,22 +700,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -672,24 +728,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -697,66 +756,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -764,6 +836,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -772,15 +846,16 @@ public Builder mergeFrom(
      * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -789,6 +864,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -797,17 +874,17 @@ public Builder mergeFrom(
      * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -815,6 +892,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -823,22 +902,25 @@ public Builder mergeFrom(
      * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,17 +929,21 @@ public Builder mergeFrom(
      * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -866,18 +952,19 @@ public Builder mergeFrom(
      * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -885,21 +972,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -908,23 +999,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -932,63 +1026,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -996,19 +1103,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1017,21 +1126,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -1039,64 +1149,71 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project, location, cluster name) where the node pools will be
      * listed. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string parent = 5; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1106,12 +1223,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListNodePoolsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListNodePoolsRequest) private static final com.google.container.v1beta1.ListNodePoolsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListNodePoolsRequest(); } @@ -1120,27 +1237,27 @@ public static com.google.container.v1beta1.ListNodePoolsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1155,6 +1272,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListNodePoolsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsRequestOrBuilder.java index 11208f929f6f..62b7f5d2e891 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface ListNodePoolsRequestOrBuilder extends +public interface ListNodePoolsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListNodePoolsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3203 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3203 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface ListNodePoolsRequestOrBuilder extends
    * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,58 +89,73 @@ public interface ListNodePoolsRequestOrBuilder extends
    * 
* * 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=3212 + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3212 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3219 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListNodePoolsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3219 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project, location, cluster name) where the node pools will be
    * listed. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string parent = 5; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java index 19a14771ee4b..477ff7492334 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponse.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * ListNodePoolsResponse is the result of ListNodePoolsRequest.
  * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsResponse} */ -public final class ListNodePoolsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListNodePoolsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListNodePoolsResponse) ListNodePoolsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListNodePoolsResponse.newBuilder() to construct. private ListNodePoolsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListNodePoolsResponse() { nodePools_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNodePoolsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsResponse.class, com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); + com.google.container.v1beta1.ListNodePoolsResponse.class, + com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); } public static final int NODE_POOLS_FIELD_NUMBER = 1; private java.util.List nodePools_; /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -62,6 +83,8 @@ public java.util.List getNodePoolsList() return nodePools_; } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -69,11 +92,13 @@ public java.util.List getNodePoolsList() * repeated .google.container.v1beta1.NodePool node_pools = 1; */ @java.lang.Override - public java.util.List + public java.util.List getNodePoolsOrBuilderList() { return nodePools_; } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -85,6 +110,8 @@ public int getNodePoolsCount() { return nodePools_.size(); } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -96,6 +123,8 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) { return nodePools_.get(index); } /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -103,12 +132,12 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) { * repeated .google.container.v1beta1.NodePool node_pools = 1; */ @java.lang.Override - public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( - int index) { + public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { return nodePools_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < nodePools_.size(); i++) { output.writeMessage(1, nodePools_.get(i)); } @@ -135,8 +163,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < nodePools_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, nodePools_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nodePools_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -146,15 +173,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListNodePoolsResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListNodePoolsResponse other = (com.google.container.v1beta1.ListNodePoolsResponse) obj; + com.google.container.v1beta1.ListNodePoolsResponse other = + (com.google.container.v1beta1.ListNodePoolsResponse) obj; - if (!getNodePoolsList() - .equals(other.getNodePoolsList())) return false; + if (!getNodePoolsList().equals(other.getNodePoolsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,129 +203,135 @@ public int hashCode() { } public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListNodePoolsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( 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.ListNodePoolsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListNodePoolsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListNodePoolsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListNodePoolsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListNodePoolsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListNodePoolsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListNodePoolsResponse is the result of ListNodePoolsRequest.
    * 
* * Protobuf type {@code google.container.v1beta1.ListNodePoolsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListNodePoolsResponse) com.google.container.v1beta1.ListNodePoolsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListNodePoolsResponse.class, com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); + com.google.container.v1beta1.ListNodePoolsResponse.class, + com.google.container.v1beta1.ListNodePoolsResponse.Builder.class); } // Construct using com.google.container.v1beta1.ListNodePoolsResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -313,9 +346,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; } @java.lang.Override @@ -334,7 +367,8 @@ public com.google.container.v1beta1.ListNodePoolsResponse build() { @java.lang.Override public com.google.container.v1beta1.ListNodePoolsResponse buildPartial() { - com.google.container.v1beta1.ListNodePoolsResponse result = new com.google.container.v1beta1.ListNodePoolsResponse(this); + com.google.container.v1beta1.ListNodePoolsResponse result = + new com.google.container.v1beta1.ListNodePoolsResponse(this); int from_bitField0_ = bitField0_; if (nodePoolsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -353,38 +387,39 @@ public com.google.container.v1beta1.ListNodePoolsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListNodePoolsResponse) { - return mergeFrom((com.google.container.v1beta1.ListNodePoolsResponse)other); + return mergeFrom((com.google.container.v1beta1.ListNodePoolsResponse) other); } else { super.mergeFrom(other); return this; @@ -392,7 +427,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListNodePoolsResponse other) { - if (other == com.google.container.v1beta1.ListNodePoolsResponse.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ListNodePoolsResponse.getDefaultInstance()) + return this; if (nodePoolsBuilder_ == null) { if (!other.nodePools_.isEmpty()) { if (nodePools_.isEmpty()) { @@ -411,9 +447,10 @@ public Builder mergeFrom(com.google.container.v1beta1.ListNodePoolsResponse othe nodePoolsBuilder_ = null; nodePools_ = other.nodePools_; bitField0_ = (bitField0_ & ~0x00000001); - nodePoolsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodePoolsFieldBuilder() : null; + nodePoolsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNodePoolsFieldBuilder() + : null; } else { nodePoolsBuilder_.addAllMessages(other.nodePools_); } @@ -445,25 +482,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1beta1.NodePool m = - input.readMessage( - com.google.container.v1beta1.NodePool.parser(), - extensionRegistry); - if (nodePoolsBuilder_ == null) { - ensureNodePoolsIsMutable(); - nodePools_.add(m); - } else { - nodePoolsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1beta1.NodePool m = + input.readMessage( + com.google.container.v1beta1.NodePool.parser(), extensionRegistry); + if (nodePoolsBuilder_ == null) { + ensureNodePoolsIsMutable(); + nodePools_.add(m); + } else { + nodePoolsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -473,21 +511,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List nodePools_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodePoolsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodePools_ = new java.util.ArrayList(nodePools_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> nodePoolsBuilder_; + com.google.container.v1beta1.NodePool, + com.google.container.v1beta1.NodePool.Builder, + com.google.container.v1beta1.NodePoolOrBuilder> + nodePoolsBuilder_; /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -502,6 +547,8 @@ public java.util.List getNodePoolsList() } } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -516,6 +563,8 @@ public int getNodePoolsCount() { } } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -530,14 +579,15 @@ public com.google.container.v1beta1.NodePool getNodePools(int index) { } } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public Builder setNodePools( - int index, com.google.container.v1beta1.NodePool value) { + public Builder setNodePools(int index, com.google.container.v1beta1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -551,6 +601,8 @@ public Builder setNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -569,6 +621,8 @@ public Builder setNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -589,14 +643,15 @@ public Builder addNodePools(com.google.container.v1beta1.NodePool value) { return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public Builder addNodePools( - int index, com.google.container.v1beta1.NodePool value) { + public Builder addNodePools(int index, com.google.container.v1beta1.NodePool value) { if (nodePoolsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -610,14 +665,15 @@ public Builder addNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public Builder addNodePools( - com.google.container.v1beta1.NodePool.Builder builderForValue) { + public Builder addNodePools(com.google.container.v1beta1.NodePool.Builder builderForValue) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); nodePools_.add(builderForValue.build()); @@ -628,6 +684,8 @@ public Builder addNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -646,6 +704,8 @@ public Builder addNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -656,8 +716,7 @@ public Builder addAllNodePools( java.lang.Iterable values) { if (nodePoolsBuilder_ == null) { ensureNodePoolsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodePools_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodePools_); onChanged(); } else { nodePoolsBuilder_.addAllMessages(values); @@ -665,6 +724,8 @@ public Builder addAllNodePools( return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -682,6 +743,8 @@ public Builder clearNodePools() { return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -699,39 +762,44 @@ public Builder removeNodePools(int index) { return this; } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder( - int index) { + public com.google.container.v1beta1.NodePool.Builder getNodePoolsBuilder(int index) { return getNodePoolsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( - int index) { + public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { if (nodePoolsBuilder_ == null) { - return nodePools_.get(index); } else { + return nodePools_.get(index); + } else { return nodePoolsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public java.util.List - getNodePoolsOrBuilderList() { + public java.util.List + getNodePoolsOrBuilderList() { if (nodePoolsBuilder_ != null) { return nodePoolsBuilder_.getMessageOrBuilderList(); } else { @@ -739,6 +807,8 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( } } /** + * + * *
      * A list of node pools for a cluster.
      * 
@@ -746,49 +816,54 @@ public com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( * repeated .google.container.v1beta1.NodePool node_pools = 1; */ public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder() { - return getNodePoolsFieldBuilder().addBuilder( - com.google.container.v1beta1.NodePool.getDefaultInstance()); + return getNodePoolsFieldBuilder() + .addBuilder(com.google.container.v1beta1.NodePool.getDefaultInstance()); } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder( - int index) { - return getNodePoolsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.NodePool.getDefaultInstance()); + public com.google.container.v1beta1.NodePool.Builder addNodePoolsBuilder(int index) { + return getNodePoolsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.NodePool.getDefaultInstance()); } /** + * + * *
      * A list of node pools for a cluster.
      * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - public java.util.List - getNodePoolsBuilderList() { + public java.util.List getNodePoolsBuilderList() { return getNodePoolsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder> + com.google.container.v1beta1.NodePool, + com.google.container.v1beta1.NodePool.Builder, + com.google.container.v1beta1.NodePoolOrBuilder> getNodePoolsFieldBuilder() { if (nodePoolsBuilder_ == null) { - nodePoolsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodePool, com.google.container.v1beta1.NodePool.Builder, com.google.container.v1beta1.NodePoolOrBuilder>( - nodePools_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + nodePoolsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.NodePool, + com.google.container.v1beta1.NodePool.Builder, + com.google.container.v1beta1.NodePoolOrBuilder>( + nodePools_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); nodePools_ = null; } return nodePoolsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListNodePoolsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListNodePoolsResponse) private static final com.google.container.v1beta1.ListNodePoolsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListNodePoolsResponse(); } @@ -812,27 +887,27 @@ public static com.google.container.v1beta1.ListNodePoolsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListNodePoolsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNodePoolsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,6 +922,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListNodePoolsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java index 078b7bc6740e..15665ec8e89d 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListNodePoolsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListNodePoolsResponseOrBuilder extends +public interface ListNodePoolsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListNodePoolsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - java.util.List - getNodePoolsList(); + java.util.List getNodePoolsList(); /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -25,6 +44,8 @@ public interface ListNodePoolsResponseOrBuilder extends */ com.google.container.v1beta1.NodePool getNodePools(int index); /** + * + * *
    * A list of node pools for a cluster.
    * 
@@ -33,21 +54,24 @@ public interface ListNodePoolsResponseOrBuilder extends */ int getNodePoolsCount(); /** + * + * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - java.util.List + java.util.List getNodePoolsOrBuilderList(); /** + * + * *
    * A list of node pools for a cluster.
    * 
* * repeated .google.container.v1beta1.NodePool node_pools = 1; */ - com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder( - int index); + com.google.container.v1beta1.NodePoolOrBuilder getNodePoolsOrBuilder(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequest.java index 8260fa36fef4..7fdf01ab0ebe 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListOperationsRequest lists operations.
  * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsRequest} */ -public final class ListOperationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOperationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListOperationsRequest) ListOperationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOperationsRequest.newBuilder() to construct. private ListOperationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOperationsRequest() { projectId_ = ""; zone_ = ""; @@ -27,76 +45,84 @@ private ListOperationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOperationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsRequest.class, com.google.container.v1beta1.ListOperationsRequest.Builder.class); + com.google.container.v1beta1.ListOperationsRequest.class, + com.google.container.v1beta1.ListOperationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,6 +133,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -115,24 +143,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -141,18 +172,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -163,6 +194,8 @@ protected java.lang.Object newInstance( public static final int PARENT_FIELD_NUMBER = 4; private volatile java.lang.Object parent_; /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -170,6 +203,7 @@ protected java.lang.Object newInstance(
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -178,14 +212,15 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -193,16 +228,15 @@ public java.lang.String getParent() {
    * 
* * string parent = 4; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -211,6 +245,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,8 +257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -259,19 +293,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListOperationsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListOperationsRequest other = (com.google.container.v1beta1.ListOperationsRequest) obj; + com.google.container.v1beta1.ListOperationsRequest other = + (com.google.container.v1beta1.ListOperationsRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getParent() - .equals(other.getParent())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -295,129 +327,135 @@ public int hashCode() { } public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListOperationsRequest parseFrom( 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.ListOperationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListOperationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListOperationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListOperationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListOperationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListOperationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListOperationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListOperationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListOperationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListOperationsRequest lists operations.
    * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListOperationsRequest) com.google.container.v1beta1.ListOperationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsRequest.class, com.google.container.v1beta1.ListOperationsRequest.Builder.class); + com.google.container.v1beta1.ListOperationsRequest.class, + com.google.container.v1beta1.ListOperationsRequest.Builder.class); } // Construct using com.google.container.v1beta1.ListOperationsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -431,9 +469,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; } @java.lang.Override @@ -452,7 +490,8 @@ public com.google.container.v1beta1.ListOperationsRequest build() { @java.lang.Override public com.google.container.v1beta1.ListOperationsRequest buildPartial() { - com.google.container.v1beta1.ListOperationsRequest result = new com.google.container.v1beta1.ListOperationsRequest(this); + com.google.container.v1beta1.ListOperationsRequest result = + new com.google.container.v1beta1.ListOperationsRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.parent_ = parent_; @@ -464,38 +503,39 @@ public com.google.container.v1beta1.ListOperationsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListOperationsRequest) { - return mergeFrom((com.google.container.v1beta1.ListOperationsRequest)other); + return mergeFrom((com.google.container.v1beta1.ListOperationsRequest) other); } else { super.mergeFrom(other); return this; @@ -503,7 +543,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListOperationsRequest other) { - if (other == com.google.container.v1beta1.ListOperationsRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ListOperationsRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -542,27 +583,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 34: { - parent_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 34: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -575,22 +620,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -599,24 +648,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -624,66 +676,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the parent field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -691,6 +756,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -699,15 +766,16 @@ public Builder mergeFrom(
      * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -716,6 +784,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -724,17 +794,17 @@ public Builder mergeFrom(
      * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -742,6 +812,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -750,22 +822,25 @@ public Builder mergeFrom(
      * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -774,17 +849,21 @@ public Builder mergeFrom(
      * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -793,18 +872,19 @@ public Builder mergeFrom(
      * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -812,6 +892,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -819,13 +901,13 @@ public Builder mergeFrom(
      * 
* * string parent = 4; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -834,6 +916,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -841,15 +925,14 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -857,6 +940,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -864,20 +949,22 @@ public java.lang.String getParent() {
      * 
* * string parent = 4; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -885,15 +972,18 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The parent (project and location) where the operations will be listed.
      * Specified in the format `projects/*/locations/*`.
@@ -901,23 +991,23 @@ public Builder clearParent() {
      * 
* * string parent = 4; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -927,12 +1017,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListOperationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListOperationsRequest) private static final com.google.container.v1beta1.ListOperationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListOperationsRequest(); } @@ -941,27 +1031,27 @@ public static com.google.container.v1beta1.ListOperationsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -976,6 +1066,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListOperationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsRequestOrBuilder.java index 2b7d6c76f16e..1131ea6d9546 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface ListOperationsRequestOrBuilder extends +public interface ListOperationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListOperationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the parent field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2969 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.ListOperationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2969 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -44,12 +71,16 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) to return
@@ -58,14 +89,17 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * 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=2978 + * + * @deprecated google.container.v1beta1.ListOperationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2978 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -73,10 +107,13 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The parent (project and location) where the operations will be listed.
    * Specified in the format `projects/*/locations/*`.
@@ -84,8 +121,8 @@ public interface ListOperationsRequestOrBuilder extends
    * 
* * string parent = 4; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java index 84015a201cf2..fb6498a87c02 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListOperationsResponse is the result of ListOperationsRequest.
  * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsResponse} */ -public final class ListOperationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListOperationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListOperationsResponse) ListOperationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListOperationsResponse.newBuilder() to construct. private ListOperationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListOperationsResponse() { operations_ = java.util.Collections.emptyList(); missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,32 +44,35 @@ private ListOperationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListOperationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsResponse.class, com.google.container.v1beta1.ListOperationsResponse.Builder.class); + com.google.container.v1beta1.ListOperationsResponse.class, + com.google.container.v1beta1.ListOperationsResponse.Builder.class); } public static final int OPERATIONS_FIELD_NUMBER = 1; private java.util.List operations_; /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -63,6 +84,8 @@ public java.util.List getOperationsList( return operations_; } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -70,11 +93,13 @@ public java.util.List getOperationsList( * repeated .google.container.v1beta1.Operation operations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getOperationsOrBuilderList() { return operations_; } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -86,6 +111,8 @@ public int getOperationsCount() { return operations_.size(); } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -97,6 +124,8 @@ public com.google.container.v1beta1.Operation getOperations(int index) { return operations_.get(index); } /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -104,45 +133,52 @@ public com.google.container.v1beta1.Operation getOperations(int index) { * repeated .google.container.v1beta1.Operation operations = 1; */ @java.lang.Override - public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( - int index) { + public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(int index) { return operations_.get(index); } public static final int MISSING_ZONES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList missingZones_; /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_; } /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -150,21 +186,24 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +215,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < operations_.size(); i++) { output.writeMessage(1, operations_.get(i)); } @@ -194,8 +232,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < operations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, operations_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, operations_.get(i)); } { int dataSize = 0; @@ -213,17 +250,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListOperationsResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListOperationsResponse other = (com.google.container.v1beta1.ListOperationsResponse) obj; + com.google.container.v1beta1.ListOperationsResponse other = + (com.google.container.v1beta1.ListOperationsResponse) obj; - if (!getOperationsList() - .equals(other.getOperationsList())) return false; - if (!getMissingZonesList() - .equals(other.getMissingZonesList())) return false; + if (!getOperationsList().equals(other.getOperationsList())) return false; + if (!getMissingZonesList().equals(other.getMissingZonesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,129 +285,135 @@ public int hashCode() { } public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListOperationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListOperationsResponse parseFrom( 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.ListOperationsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListOperationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListOperationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListOperationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListOperationsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListOperationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListOperationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListOperationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ListOperationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListOperationsResponse is the result of ListOperationsRequest.
    * 
* * Protobuf type {@code google.container.v1beta1.ListOperationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListOperationsResponse) com.google.container.v1beta1.ListOperationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ListOperationsResponse.class, com.google.container.v1beta1.ListOperationsResponse.Builder.class); + com.google.container.v1beta1.ListOperationsResponse.class, + com.google.container.v1beta1.ListOperationsResponse.Builder.class); } // Construct using com.google.container.v1beta1.ListOperationsResponse.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +430,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; } @java.lang.Override @@ -409,7 +451,8 @@ public com.google.container.v1beta1.ListOperationsResponse build() { @java.lang.Override public com.google.container.v1beta1.ListOperationsResponse buildPartial() { - com.google.container.v1beta1.ListOperationsResponse result = new com.google.container.v1beta1.ListOperationsResponse(this); + com.google.container.v1beta1.ListOperationsResponse result = + new com.google.container.v1beta1.ListOperationsResponse(this); int from_bitField0_ = bitField0_; if (operationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -433,38 +476,39 @@ public com.google.container.v1beta1.ListOperationsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ListOperationsResponse) { - return mergeFrom((com.google.container.v1beta1.ListOperationsResponse)other); + return mergeFrom((com.google.container.v1beta1.ListOperationsResponse) other); } else { super.mergeFrom(other); return this; @@ -472,7 +516,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ListOperationsResponse other) { - if (other == com.google.container.v1beta1.ListOperationsResponse.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ListOperationsResponse.getDefaultInstance()) + return this; if (operationsBuilder_ == null) { if (!other.operations_.isEmpty()) { if (operations_.isEmpty()) { @@ -491,9 +536,10 @@ public Builder mergeFrom(com.google.container.v1beta1.ListOperationsResponse oth operationsBuilder_ = null; operations_ = other.operations_; bitField0_ = (bitField0_ & ~0x00000001); - operationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOperationsFieldBuilder() : null; + operationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOperationsFieldBuilder() + : null; } else { operationsBuilder_.addAllMessages(other.operations_); } @@ -535,31 +581,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1beta1.Operation m = - input.readMessage( - com.google.container.v1beta1.Operation.parser(), - extensionRegistry); - if (operationsBuilder_ == null) { - ensureOperationsIsMutable(); - operations_.add(m); - } else { - operationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureMissingZonesIsMutable(); - missingZones_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1beta1.Operation m = + input.readMessage( + com.google.container.v1beta1.Operation.parser(), extensionRegistry); + if (operationsBuilder_ == null) { + ensureOperationsIsMutable(); + operations_.add(m); + } else { + operationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureMissingZonesIsMutable(); + missingZones_.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) { @@ -569,21 +617,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List operations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOperationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { operations_ = new java.util.ArrayList(operations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Operation, com.google.container.v1beta1.Operation.Builder, com.google.container.v1beta1.OperationOrBuilder> operationsBuilder_; + com.google.container.v1beta1.Operation, + com.google.container.v1beta1.Operation.Builder, + com.google.container.v1beta1.OperationOrBuilder> + operationsBuilder_; /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -598,6 +653,8 @@ public java.util.List getOperationsList( } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -612,6 +669,8 @@ public int getOperationsCount() { } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -626,14 +685,15 @@ public com.google.container.v1beta1.Operation getOperations(int index) { } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public Builder setOperations( - int index, com.google.container.v1beta1.Operation value) { + public Builder setOperations(int index, com.google.container.v1beta1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -647,6 +707,8 @@ public Builder setOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -665,6 +727,8 @@ public Builder setOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -685,14 +749,15 @@ public Builder addOperations(com.google.container.v1beta1.Operation value) { return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public Builder addOperations( - int index, com.google.container.v1beta1.Operation value) { + public Builder addOperations(int index, com.google.container.v1beta1.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -706,14 +771,15 @@ public Builder addOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public Builder addOperations( - com.google.container.v1beta1.Operation.Builder builderForValue) { + public Builder addOperations(com.google.container.v1beta1.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); @@ -724,6 +790,8 @@ public Builder addOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -742,6 +810,8 @@ public Builder addOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -752,8 +822,7 @@ public Builder addAllOperations( java.lang.Iterable values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, operations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); @@ -761,6 +830,8 @@ public Builder addAllOperations( return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -778,6 +849,8 @@ public Builder clearOperations() { return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -795,39 +868,44 @@ public Builder removeOperations(int index) { return this; } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public com.google.container.v1beta1.Operation.Builder getOperationsBuilder( - int index) { + public com.google.container.v1beta1.Operation.Builder getOperationsBuilder(int index) { return getOperationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( - int index) { + public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(int index) { if (operationsBuilder_ == null) { - return operations_.get(index); } else { + return operations_.get(index); + } else { return operationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public java.util.List - getOperationsOrBuilderList() { + public java.util.List + getOperationsOrBuilderList() { if (operationsBuilder_ != null) { return operationsBuilder_.getMessageOrBuilderList(); } else { @@ -835,6 +913,8 @@ public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( } } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
@@ -842,86 +922,102 @@ public com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( * repeated .google.container.v1beta1.Operation operations = 1; */ public com.google.container.v1beta1.Operation.Builder addOperationsBuilder() { - return getOperationsFieldBuilder().addBuilder( - com.google.container.v1beta1.Operation.getDefaultInstance()); + return getOperationsFieldBuilder() + .addBuilder(com.google.container.v1beta1.Operation.getDefaultInstance()); } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public com.google.container.v1beta1.Operation.Builder addOperationsBuilder( - int index) { - return getOperationsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.Operation.getDefaultInstance()); + public com.google.container.v1beta1.Operation.Builder addOperationsBuilder(int index) { + return getOperationsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.Operation.getDefaultInstance()); } /** + * + * *
      * A list of operations in the project in the specified zone.
      * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - public java.util.List - getOperationsBuilderList() { + public java.util.List + getOperationsBuilderList() { return getOperationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Operation, com.google.container.v1beta1.Operation.Builder, com.google.container.v1beta1.OperationOrBuilder> + com.google.container.v1beta1.Operation, + com.google.container.v1beta1.Operation.Builder, + com.google.container.v1beta1.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { - operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.Operation, com.google.container.v1beta1.Operation.Builder, com.google.container.v1beta1.OperationOrBuilder>( - operations_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + operationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.Operation, + com.google.container.v1beta1.Operation.Builder, + com.google.container.v1beta1.OperationOrBuilder>( + operations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); operations_ = null; } return operationsBuilder_; } - private com.google.protobuf.LazyStringList missingZones_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList missingZones_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureMissingZonesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { missingZones_ = new com.google.protobuf.LazyStringArrayList(missingZones_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - public com.google.protobuf.ProtocolStringList - getMissingZonesList() { + public com.google.protobuf.ProtocolStringList getMissingZonesList() { return missingZones_.getUnmodifiableView(); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ public int getMissingZonesCount() { return missingZones_.size(); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ @@ -929,85 +1025,95 @@ public java.lang.String getMissingZones(int index) { return missingZones_.get(index); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - public com.google.protobuf.ByteString - getMissingZonesBytes(int index) { + public com.google.protobuf.ByteString getMissingZonesBytes(int index) { return missingZones_.getByteString(index); } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param index The index to set the value at. * @param value The missingZones to set. * @return This builder for chaining. */ - public Builder setMissingZones( - int index, java.lang.String value) { + public Builder setMissingZones(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.set(index, value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZones( - java.lang.String value) { + public Builder addMissingZones(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureMissingZonesIsMutable(); + throw new NullPointerException(); + } + ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param values The missingZones to add. * @return This builder for chaining. */ - public Builder addAllMissingZones( - java.lang.Iterable values) { + public Builder addAllMissingZones(java.lang.Iterable values) { ensureMissingZonesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, missingZones_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missingZones_); onChanged(); return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @return This builder for chaining. */ public Builder clearMissingZones() { @@ -1017,29 +1123,31 @@ public Builder clearMissingZones() { return this; } /** + * + * *
      * If any zones are listed here, the list of operations returned
      * may be missing the operations from those zones.
      * 
* * repeated string missing_zones = 2; + * * @param value The bytes of the missingZones to add. * @return This builder for chaining. */ - public Builder addMissingZonesBytes( - com.google.protobuf.ByteString value) { + public Builder addMissingZonesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureMissingZonesIsMutable(); missingZones_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1049,12 +1157,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListOperationsResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListOperationsResponse) private static final com.google.container.v1beta1.ListOperationsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListOperationsResponse(); } @@ -1063,27 +1171,27 @@ public static com.google.container.v1beta1.ListOperationsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListOperationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListOperationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,6 +1206,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ListOperationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java index 7342190e7727..968c8da5ef78 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListOperationsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListOperationsResponseOrBuilder extends +public interface ListOperationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListOperationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - java.util.List - getOperationsList(); + java.util.List getOperationsList(); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -25,6 +44,8 @@ public interface ListOperationsResponseOrBuilder extends */ com.google.container.v1beta1.Operation getOperations(int index); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
@@ -33,66 +54,79 @@ public interface ListOperationsResponseOrBuilder extends */ int getOperationsCount(); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - java.util.List + java.util.List getOperationsOrBuilderList(); /** + * + * *
    * A list of operations in the project in the specified zone.
    * 
* * repeated .google.container.v1beta1.Operation operations = 1; */ - com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder( - int index); + com.google.container.v1beta1.OperationOrBuilder getOperationsOrBuilder(int index); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return A list containing the missingZones. */ - java.util.List - getMissingZonesList(); + java.util.List getMissingZonesList(); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @return The count of missingZones. */ int getMissingZonesCount(); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the element to return. * @return The missingZones at the given index. */ java.lang.String getMissingZones(int index); /** + * + * *
    * If any zones are listed here, the list of operations returned
    * may be missing the operations from those zones.
    * 
* * repeated string missing_zones = 2; + * * @param index The index of the value to return. * @return The bytes of the missingZones at the given index. */ - com.google.protobuf.ByteString - getMissingZonesBytes(int index); + com.google.protobuf.ByteString getMissingZonesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java similarity index 71% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java index 091ca55ee26b..33368fc18bcc 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListUsableSubnetworksRequest requests the list of usable subnetworks.
  * available to a user for creating clusters.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksRequest}
  */
-public final class ListUsableSubnetworksRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListUsableSubnetworksRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListUsableSubnetworksRequest)
     ListUsableSubnetworksRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksRequest.newBuilder() to construct.
   private ListUsableSubnetworksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListUsableSubnetworksRequest() {
     parent_ = "";
     filter_ = "";
@@ -28,38 +46,42 @@ private ListUsableSubnetworksRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ListUsableSubnetworksRequest.class, com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
+            com.google.container.v1beta1.ListUsableSubnetworksRequest.class,
+            com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -68,30 +90,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; private volatile java.lang.Object filter_; /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -110,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -118,14 +143,15 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -134,16 +160,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -154,6 +179,8 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -162,6 +189,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -172,12 +200,15 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The pageToken. */ @java.lang.Override @@ -186,30 +217,30 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -218,6 +249,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -259,8 +290,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -273,21 +303,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListUsableSubnetworksRequest)) { return super.equals(obj); } - com.google.container.v1beta1.ListUsableSubnetworksRequest other = (com.google.container.v1beta1.ListUsableSubnetworksRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.container.v1beta1.ListUsableSubnetworksRequest other = + (com.google.container.v1beta1.ListUsableSubnetworksRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,96 +340,104 @@ public int hashCode() { } public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( 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.ListUsableSubnetworksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListUsableSubnetworksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListUsableSubnetworksRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ListUsableSubnetworksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListUsableSubnetworksRequest requests the list of usable subnetworks.
    * available to a user for creating clusters.
@@ -410,33 +445,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListUsableSubnetworksRequest)
       com.google.container.v1beta1.ListUsableSubnetworksRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ListUsableSubnetworksRequest.class, com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
+              com.google.container.v1beta1.ListUsableSubnetworksRequest.class,
+              com.google.container.v1beta1.ListUsableSubnetworksRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ListUsableSubnetworksRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,9 +486,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor;
     }
 
     @java.lang.Override
@@ -473,7 +507,8 @@ public com.google.container.v1beta1.ListUsableSubnetworksRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ListUsableSubnetworksRequest buildPartial() {
-      com.google.container.v1beta1.ListUsableSubnetworksRequest result = new com.google.container.v1beta1.ListUsableSubnetworksRequest(this);
+      com.google.container.v1beta1.ListUsableSubnetworksRequest result =
+          new com.google.container.v1beta1.ListUsableSubnetworksRequest(this);
       result.parent_ = parent_;
       result.filter_ = filter_;
       result.pageSize_ = pageSize_;
@@ -486,38 +521,39 @@ public com.google.container.v1beta1.ListUsableSubnetworksRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ListUsableSubnetworksRequest) {
-        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksRequest)other);
+        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -525,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ListUsableSubnetworksRequest other) {
-      if (other == com.google.container.v1beta1.ListUsableSubnetworksRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.ListUsableSubnetworksRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         onChanged();
@@ -567,32 +604,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              filter_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                filter_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 24: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 18
+            case 24:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 24
+            case 34:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -605,19 +647,21 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -626,21 +670,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -648,57 +693,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent project where subnetworks are usable.
      * Specified in the format `projects/*`.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -706,6 +758,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -714,13 +768,13 @@ public Builder setParentBytes(
      * 
* * string filter = 2; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -729,6 +783,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -737,15 +793,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -753,6 +808,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -761,20 +818,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -783,15 +842,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filtering currently only supports equality on the networkProjectId and must
      * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -800,23 +862,25 @@ public Builder clearFilter() {
      * 
* * string filter = 2; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -825,6 +889,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -832,6 +897,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -840,16 +907,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The max number of results per page that should be returned. If the number
      * of available results is larger than `page_size`, a `next_page_token` is
@@ -858,10 +928,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -869,19 +940,21 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -890,21 +963,22 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -912,64 +986,71 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Specifies a page token to use. Set this to the nextPageToken returned by
      * previous list requests to get the next page of results.
      * 
* * string page_token = 4; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -979,12 +1060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListUsableSubnetworksRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListUsableSubnetworksRequest) private static final com.google.container.v1beta1.ListUsableSubnetworksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListUsableSubnetworksRequest(); } @@ -993,27 +1074,27 @@ public static com.google.container.v1beta1.ListUsableSubnetworksRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1028,6 +1109,4 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1beta1.ListUsableSubnetworksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java index e70c9a24d1e6..c78971aecaec 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListUsableSubnetworksRequestOrBuilder extends +public interface ListUsableSubnetworksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListUsableSubnetworksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent project where subnetworks are usable.
    * Specified in the format `projects/*`.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -38,10 +61,13 @@ public interface ListUsableSubnetworksRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filtering currently only supports equality on the networkProjectId and must
    * be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
@@ -50,12 +76,14 @@ public interface ListUsableSubnetworksRequestOrBuilder extends
    * 
* * string filter = 2; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The max number of results per page that should be returned. If the number
    * of available results is larger than `page_size`, a `next_page_token` is
@@ -64,29 +92,35 @@ public interface ListUsableSubnetworksRequestOrBuilder extends
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Specifies a page token to use. Set this to the nextPageToken returned by
    * previous list requests to get the next page of results.
    * 
* * string page_token = 4; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java index 45ebc22d8eff..232f03d02937 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ListUsableSubnetworksResponse is the response of
  * ListUsableSubnetworksRequest.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksResponse}
  */
-public final class ListUsableSubnetworksResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListUsableSubnetworksResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ListUsableSubnetworksResponse)
     ListUsableSubnetworksResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListUsableSubnetworksResponse.newBuilder() to construct.
   private ListUsableSubnetworksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListUsableSubnetworksResponse() {
     subnetworks_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -27,32 +45,35 @@ private ListUsableSubnetworksResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListUsableSubnetworksResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ListUsableSubnetworksResponse.class, com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
+            com.google.container.v1beta1.ListUsableSubnetworksResponse.class,
+            com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
   }
 
   public static final int SUBNETWORKS_FIELD_NUMBER = 1;
   private java.util.List subnetworks_;
   /**
+   *
+   *
    * 
    * A list of usable subnetworks in the specified network project.
    * 
@@ -64,6 +85,8 @@ public java.util.List getSubnetwo return subnetworks_; } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -71,11 +94,13 @@ public java.util.List getSubnetwo * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSubnetworksOrBuilderList() { return subnetworks_; } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -87,6 +112,8 @@ public int getSubnetworksCount() { return subnetworks_.size(); } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -98,6 +125,8 @@ public com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index) { return subnetworks_.get(index); } /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -105,14 +134,15 @@ public com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index) { * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ @java.lang.Override - public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( - int index) { + public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index) { return subnetworks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -121,6 +151,7 @@ public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBu
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -129,14 +160,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -145,16 +177,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,6 +194,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +206,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < subnetworks_.size(); i++) { output.writeMessage(1, subnetworks_.get(i)); } @@ -192,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < subnetworks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, subnetworks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, subnetworks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -206,17 +236,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ListUsableSubnetworksResponse)) { return super.equals(obj); } - com.google.container.v1beta1.ListUsableSubnetworksResponse other = (com.google.container.v1beta1.ListUsableSubnetworksResponse) obj; + com.google.container.v1beta1.ListUsableSubnetworksResponse other = + (com.google.container.v1beta1.ListUsableSubnetworksResponse) obj; - if (!getSubnetworksList() - .equals(other.getSubnetworksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSubnetworksList().equals(other.getSubnetworksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,96 +269,104 @@ public int hashCode() { } public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( 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.ListUsableSubnetworksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ListUsableSubnetworksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ListUsableSubnetworksResponse prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ListUsableSubnetworksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ListUsableSubnetworksResponse is the response of
    * ListUsableSubnetworksRequest.
@@ -337,33 +374,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ListUsableSubnetworksResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ListUsableSubnetworksResponse)
       com.google.container.v1beta1.ListUsableSubnetworksResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ListUsableSubnetworksResponse.class, com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
+              com.google.container.v1beta1.ListUsableSubnetworksResponse.class,
+              com.google.container.v1beta1.ListUsableSubnetworksResponse.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ListUsableSubnetworksResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -380,9 +416,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor;
     }
 
     @java.lang.Override
@@ -401,7 +437,8 @@ public com.google.container.v1beta1.ListUsableSubnetworksResponse build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ListUsableSubnetworksResponse buildPartial() {
-      com.google.container.v1beta1.ListUsableSubnetworksResponse result = new com.google.container.v1beta1.ListUsableSubnetworksResponse(this);
+      com.google.container.v1beta1.ListUsableSubnetworksResponse result =
+          new com.google.container.v1beta1.ListUsableSubnetworksResponse(this);
       int from_bitField0_ = bitField0_;
       if (subnetworksBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -421,38 +458,39 @@ public com.google.container.v1beta1.ListUsableSubnetworksResponse buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ListUsableSubnetworksResponse) {
-        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksResponse)other);
+        return mergeFrom((com.google.container.v1beta1.ListUsableSubnetworksResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,7 +498,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ListUsableSubnetworksResponse other) {
-      if (other == com.google.container.v1beta1.ListUsableSubnetworksResponse.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.ListUsableSubnetworksResponse.getDefaultInstance())
+        return this;
       if (subnetworksBuilder_ == null) {
         if (!other.subnetworks_.isEmpty()) {
           if (subnetworks_.isEmpty()) {
@@ -479,9 +518,10 @@ public Builder mergeFrom(com.google.container.v1beta1.ListUsableSubnetworksRespo
             subnetworksBuilder_ = null;
             subnetworks_ = other.subnetworks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            subnetworksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSubnetworksFieldBuilder() : null;
+            subnetworksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSubnetworksFieldBuilder()
+                    : null;
           } else {
             subnetworksBuilder_.addAllMessages(other.subnetworks_);
           }
@@ -517,30 +557,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.container.v1beta1.UsableSubnetwork m =
-                  input.readMessage(
-                      com.google.container.v1beta1.UsableSubnetwork.parser(),
-                      extensionRegistry);
-              if (subnetworksBuilder_ == null) {
-                ensureSubnetworksIsMutable();
-                subnetworks_.add(m);
-              } else {
-                subnetworksBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                com.google.container.v1beta1.UsableSubnetwork m =
+                    input.readMessage(
+                        com.google.container.v1beta1.UsableSubnetwork.parser(), extensionRegistry);
+                if (subnetworksBuilder_ == null) {
+                  ensureSubnetworksIsMutable();
+                  subnetworks_.add(m);
+                } else {
+                  subnetworksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -550,21 +592,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List subnetworks_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureSubnetworksIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        subnetworks_ = new java.util.ArrayList(subnetworks_);
+        subnetworks_ =
+            new java.util.ArrayList(subnetworks_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.UsableSubnetwork, com.google.container.v1beta1.UsableSubnetwork.Builder, com.google.container.v1beta1.UsableSubnetworkOrBuilder> subnetworksBuilder_;
+            com.google.container.v1beta1.UsableSubnetwork,
+            com.google.container.v1beta1.UsableSubnetwork.Builder,
+            com.google.container.v1beta1.UsableSubnetworkOrBuilder>
+        subnetworksBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of usable subnetworks in the specified network project.
      * 
@@ -579,6 +629,8 @@ public java.util.List getSubnetwo } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -593,6 +645,8 @@ public int getSubnetworksCount() { } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -607,14 +661,15 @@ public com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index) { } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public Builder setSubnetworks( - int index, com.google.container.v1beta1.UsableSubnetwork value) { + public Builder setSubnetworks(int index, com.google.container.v1beta1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -628,6 +683,8 @@ public Builder setSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -646,6 +703,8 @@ public Builder setSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -666,14 +725,15 @@ public Builder addSubnetworks(com.google.container.v1beta1.UsableSubnetwork valu return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public Builder addSubnetworks( - int index, com.google.container.v1beta1.UsableSubnetwork value) { + public Builder addSubnetworks(int index, com.google.container.v1beta1.UsableSubnetwork value) { if (subnetworksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -687,6 +747,8 @@ public Builder addSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -705,6 +767,8 @@ public Builder addSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -723,6 +787,8 @@ public Builder addSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -733,8 +799,7 @@ public Builder addAllSubnetworks( java.lang.Iterable values) { if (subnetworksBuilder_ == null) { ensureSubnetworksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subnetworks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subnetworks_); onChanged(); } else { subnetworksBuilder_.addAllMessages(values); @@ -742,6 +807,8 @@ public Builder addAllSubnetworks( return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -759,6 +826,8 @@ public Builder clearSubnetworks() { return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -776,17 +845,20 @@ public Builder removeSubnetworks(int index) { return this; } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1beta1.UsableSubnetwork.Builder getSubnetworksBuilder( - int index) { + public com.google.container.v1beta1.UsableSubnetwork.Builder getSubnetworksBuilder(int index) { return getSubnetworksFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -796,19 +868,22 @@ public com.google.container.v1beta1.UsableSubnetwork.Builder getSubnetworksBuild public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( int index) { if (subnetworksBuilder_ == null) { - return subnetworks_.get(index); } else { + return subnetworks_.get(index); + } else { return subnetworksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksOrBuilderList() { + public java.util.List + getSubnetworksOrBuilderList() { if (subnetworksBuilder_ != null) { return subnetworksBuilder_.getMessageOrBuilderList(); } else { @@ -816,6 +891,8 @@ public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBu } } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
@@ -823,42 +900,48 @@ public com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBu * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuilder() { - return getSubnetworksFieldBuilder().addBuilder( - com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); + return getSubnetworksFieldBuilder() + .addBuilder(com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuilder( - int index) { - return getSubnetworksFieldBuilder().addBuilder( - index, com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); + public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuilder(int index) { + return getSubnetworksFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.UsableSubnetwork.getDefaultInstance()); } /** + * + * *
      * A list of usable subnetworks in the specified network project.
      * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - public java.util.List - getSubnetworksBuilderList() { + public java.util.List + getSubnetworksBuilderList() { return getSubnetworksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetwork, com.google.container.v1beta1.UsableSubnetwork.Builder, com.google.container.v1beta1.UsableSubnetworkOrBuilder> + com.google.container.v1beta1.UsableSubnetwork, + com.google.container.v1beta1.UsableSubnetwork.Builder, + com.google.container.v1beta1.UsableSubnetworkOrBuilder> getSubnetworksFieldBuilder() { if (subnetworksBuilder_ == null) { - subnetworksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetwork, com.google.container.v1beta1.UsableSubnetwork.Builder, com.google.container.v1beta1.UsableSubnetworkOrBuilder>( - subnetworks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + subnetworksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.UsableSubnetwork, + com.google.container.v1beta1.UsableSubnetwork.Builder, + com.google.container.v1beta1.UsableSubnetworkOrBuilder>( + subnetworks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); subnetworks_ = null; } return subnetworksBuilder_; @@ -866,6 +949,8 @@ public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuild private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -874,13 +959,13 @@ public com.google.container.v1beta1.UsableSubnetwork.Builder addSubnetworksBuild
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -889,6 +974,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -897,15 +984,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -913,6 +999,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -921,20 +1009,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -943,15 +1033,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * This token allows you to get the next page of results for list requests.
      * If the number of results is larger than `page_size`, use the
@@ -960,23 +1053,23 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -986,12 +1079,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ListUsableSubnetworksResponse) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ListUsableSubnetworksResponse) private static final com.google.container.v1beta1.ListUsableSubnetworksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ListUsableSubnetworksResponse(); } @@ -1000,27 +1093,27 @@ public static com.google.container.v1beta1.ListUsableSubnetworksResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListUsableSubnetworksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListUsableSubnetworksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,6 +1128,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1beta1.ListUsableSubnetworksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java index 84c687e44edf..59936038be81 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ListUsableSubnetworksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ListUsableSubnetworksResponseOrBuilder extends +public interface ListUsableSubnetworksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ListUsableSubnetworksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - java.util.List - getSubnetworksList(); + java.util.List getSubnetworksList(); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -25,6 +44,8 @@ public interface ListUsableSubnetworksResponseOrBuilder extends */ com.google.container.v1beta1.UsableSubnetwork getSubnetworks(int index); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
@@ -33,25 +54,30 @@ public interface ListUsableSubnetworksResponseOrBuilder extends */ int getSubnetworksCount(); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - java.util.List + java.util.List getSubnetworksOrBuilderList(); /** + * + * *
    * A list of usable subnetworks in the specified network project.
    * 
* * repeated .google.container.v1beta1.UsableSubnetwork subnetworks = 1; */ - com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder( - int index); + com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index); /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -60,10 +86,13 @@ com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * This token allows you to get the next page of results for list requests.
    * If the number of results is larger than `page_size`, use the
@@ -72,8 +101,8 @@ com.google.container.v1beta1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java index de1d010b376d..95011d772c45 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Location.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Location returns the location name, and if the location is recommended
  * for GKE cluster scheduling.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.Location}
  */
-public final class Location extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Location extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.Location)
     LocationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Location.newBuilder() to construct.
   private Location(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Location() {
     type_ = 0;
     name_ = "";
@@ -27,39 +45,43 @@ private Location() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Location();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_Location_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_Location_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.Location.class, com.google.container.v1beta1.Location.Builder.class);
+            com.google.container.v1beta1.Location.class,
+            com.google.container.v1beta1.Location.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * LocationType is the type of GKE location, regional or zonal.
    * 
* * Protobuf enum {@code google.container.v1beta1.Location.LocationType} */ - public enum LocationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum LocationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * LOCATION_TYPE_UNSPECIFIED means the location type was not determined.
      * 
@@ -68,6 +90,8 @@ public enum LocationType */ LOCATION_TYPE_UNSPECIFIED(0), /** + * + * *
      * A GKE Location where Zonal clusters can be created.
      * 
@@ -76,6 +100,8 @@ public enum LocationType */ ZONE(1), /** + * + * *
      * A GKE Location where Regional clusters can be created.
      * 
@@ -87,6 +113,8 @@ public enum LocationType ; /** + * + * *
      * LOCATION_TYPE_UNSPECIFIED means the location type was not determined.
      * 
@@ -95,6 +123,8 @@ public enum LocationType */ public static final int LOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A GKE Location where Zonal clusters can be created.
      * 
@@ -103,6 +133,8 @@ public enum LocationType */ public static final int ZONE_VALUE = 1; /** + * + * *
      * A GKE Location where Regional clusters can be created.
      * 
@@ -111,7 +143,6 @@ public enum LocationType */ public static final int REGION_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,49 @@ public static LocationType valueOf(int value) { */ public static LocationType forNumber(int value) { switch (value) { - case 0: return LOCATION_TYPE_UNSPECIFIED; - case 1: return ZONE; - case 2: return REGION; - default: return null; + case 0: + return LOCATION_TYPE_UNSPECIFIED; + case 1: + return ZONE; + case 2: + return REGION; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LocationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationType findValueByNumber(int number) { - return LocationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationType findValueByNumber(int number) { + return LocationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.Location.getDescriptor().getEnumTypes().get(0); } private static final LocationType[] VALUES = values(); - public static LocationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,41 +229,55 @@ private LocationType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.container.v1beta1.Location.LocationType getType() { + @java.lang.Override + public com.google.container.v1beta1.Location.LocationType getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Location.LocationType result = com.google.container.v1beta1.Location.LocationType.valueOf(type_); - return result == null ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED : result; + com.google.container.v1beta1.Location.LocationType result = + com.google.container.v1beta1.Location.LocationType.valueOf(type_); + return result == null + ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED + : result; } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + * + * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; + * * @return The name. */ @java.lang.Override @@ -241,30 +286,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -275,11 +320,14 @@ public java.lang.String getName() { public static final int RECOMMENDED_FIELD_NUMBER = 3; private boolean recommended_; /** + * + * *
    * Whether the location is recommended for GKE cluster scheduling.
    * 
* * bool recommended = 3; + * * @return The recommended. */ @java.lang.Override @@ -288,6 +336,7 @@ public boolean getRecommended() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,9 +348,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { @@ -319,16 +369,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.container.v1beta1.Location.LocationType.LOCATION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (recommended_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, recommended_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, recommended_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -338,7 +388,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Location)) { return super.equals(obj); @@ -346,10 +396,8 @@ public boolean equals(final java.lang.Object obj) { com.google.container.v1beta1.Location other = (com.google.container.v1beta1.Location) obj; if (type_ != other.type_) return false; - if (!getName() - .equals(other.getName())) return false; - if (getRecommended() - != other.getRecommended()) return false; + if (!getName().equals(other.getName())) return false; + if (getRecommended() != other.getRecommended()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,104 +414,109 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RECOMMENDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRecommended()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRecommended()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.Location parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Location parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Location parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Location parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1beta1.Location parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Location parseFrom( 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.Location parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Location parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.Location parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Location parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Location parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Location parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Location parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Location parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.Location prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Location returns the location name, and if the location is recommended
    * for GKE cluster scheduling.
@@ -471,33 +524,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.Location}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Location)
       com.google.container.v1beta1.LocationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_Location_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_Location_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.Location.class, com.google.container.v1beta1.Location.Builder.class);
+              com.google.container.v1beta1.Location.class,
+              com.google.container.v1beta1.Location.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.Location.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -511,9 +563,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Location_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_Location_descriptor;
     }
 
     @java.lang.Override
@@ -532,7 +584,8 @@ public com.google.container.v1beta1.Location build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.Location buildPartial() {
-      com.google.container.v1beta1.Location result = new com.google.container.v1beta1.Location(this);
+      com.google.container.v1beta1.Location result =
+          new com.google.container.v1beta1.Location(this);
       result.type_ = type_;
       result.name_ = name_;
       result.recommended_ = recommended_;
@@ -544,38 +597,39 @@ public com.google.container.v1beta1.Location buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.Location) {
-        return mergeFrom((com.google.container.v1beta1.Location)other);
+        return mergeFrom((com.google.container.v1beta1.Location) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -620,27 +674,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              type_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              recommended_ = input.readBool();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                type_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                recommended_ = input.readBool();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -653,55 +711,71 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
+     *
+     *
      * 
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @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; onChanged(); return this; } /** + * + * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.Location.LocationType getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Location.LocationType result = com.google.container.v1beta1.Location.LocationType.valueOf(type_); - return result == null ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED : result; + com.google.container.v1beta1.Location.LocationType result = + com.google.container.v1beta1.Location.LocationType.valueOf(type_); + return result == null + ? com.google.container.v1beta1.Location.LocationType.UNRECOGNIZED + : result; } /** + * + * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -709,22 +783,25 @@ public Builder setType(com.google.container.v1beta1.Location.LocationType value) if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Contains the type of location this Location is for.
      * Regional or Zonal.
      * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -732,19 +809,21 @@ public Builder clearType() { private java.lang.Object name_ = ""; /** + * + * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -753,21 +832,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -775,69 +855,79 @@ public java.lang.String getName() { } } /** + * + * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Contains the name of the resource requested.
      * Specified in the format `projects/*/locations/*`.
      * 
* * string name = 2; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean recommended_ ; + private boolean recommended_; /** + * + * *
      * Whether the location is recommended for GKE cluster scheduling.
      * 
* * bool recommended = 3; + * * @return The recommended. */ @java.lang.Override @@ -845,37 +935,43 @@ public boolean getRecommended() { return recommended_; } /** + * + * *
      * Whether the location is recommended for GKE cluster scheduling.
      * 
* * bool recommended = 3; + * * @param value The recommended to set. * @return This builder for chaining. */ public Builder setRecommended(boolean value) { - + recommended_ = value; onChanged(); return this; } /** + * + * *
      * Whether the location is recommended for GKE cluster scheduling.
      * 
* * bool recommended = 3; + * * @return This builder for chaining. */ public Builder clearRecommended() { - + recommended_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -885,12 +981,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Location) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Location) private static final com.google.container.v1beta1.Location DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Location(); } @@ -899,27 +995,27 @@ public static com.google.container.v1beta1.Location getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Location parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Location parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -934,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Location getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java index 395535a4278f..6b6e17c0d9ad 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LocationOrBuilder.java @@ -1,61 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LocationOrBuilder extends +public interface LocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Location) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Contains the type of location this Location is for.
    * Regional or Zonal.
    * 
* * .google.container.v1beta1.Location.LocationType type = 1; + * * @return The type. */ com.google.container.v1beta1.Location.LocationType getType(); /** + * + * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Contains the name of the resource requested.
    * Specified in the format `projects/*/locations/*`.
    * 
* * string name = 2; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Whether the location is recommended for GKE cluster scheduling.
    * 
* * bool recommended = 3; + * * @return The recommended. */ boolean getRecommended(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java index 09760dba38c7..a25797890889 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfig.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * LoggingComponentConfig is cluster logging component configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.LoggingComponentConfig} */ -public final class LoggingComponentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingComponentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LoggingComponentConfig) LoggingComponentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingComponentConfig.newBuilder() to construct. private LoggingComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoggingComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingComponentConfig.class, com.google.container.v1beta1.LoggingComponentConfig.Builder.class); + com.google.container.v1beta1.LoggingComponentConfig.class, + com.google.container.v1beta1.LoggingComponentConfig.Builder.class); } /** + * + * *
    * GKE components exposing logs
    * 
* * Protobuf enum {@code google.container.v1beta1.LoggingComponentConfig.Component} */ - public enum Component - implements com.google.protobuf.ProtocolMessageEnum { + public enum Component implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -66,6 +88,8 @@ public enum Component */ COMPONENT_UNSPECIFIED(0), /** + * + * *
      * system components
      * 
@@ -74,6 +98,8 @@ public enum Component */ SYSTEM_COMPONENTS(1), /** + * + * *
      * workloads
      * 
@@ -82,6 +108,8 @@ public enum Component */ WORKLOADS(2), /** + * + * *
      * kube-apiserver
      * 
@@ -90,6 +118,8 @@ public enum Component */ APISERVER(3), /** + * + * *
      * kube-scheduler
      * 
@@ -98,6 +128,8 @@ public enum Component */ SCHEDULER(4), /** + * + * *
      * kube-controller-manager
      * 
@@ -109,6 +141,8 @@ public enum Component ; /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -117,6 +151,8 @@ public enum Component */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * system components
      * 
@@ -125,6 +161,8 @@ public enum Component */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** + * + * *
      * workloads
      * 
@@ -133,6 +171,8 @@ public enum Component */ public static final int WORKLOADS_VALUE = 2; /** + * + * *
      * kube-apiserver
      * 
@@ -141,6 +181,8 @@ public enum Component */ public static final int APISERVER_VALUE = 3; /** + * + * *
      * kube-scheduler
      * 
@@ -149,6 +191,8 @@ public enum Component */ public static final int SCHEDULER_VALUE = 4; /** + * + * *
      * kube-controller-manager
      * 
@@ -157,7 +201,6 @@ public enum Component */ public static final int CONTROLLER_MANAGER_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -182,52 +225,57 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: return COMPONENT_UNSPECIFIED; - case 1: return SYSTEM_COMPONENTS; - case 2: return WORKLOADS; - case 3: return APISERVER; - case 4: return SCHEDULER; - case 5: return CONTROLLER_MANAGER; - default: return null; + case 0: + return COMPONENT_UNSPECIFIED; + case 1: + return SYSTEM_COMPONENTS; + case 2: + return WORKLOADS; + case 3: + return APISERVER; + case 4: + return SCHEDULER; + case 5: + return CONTROLLER_MANAGER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Component> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1beta1.LoggingComponentConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.LoggingComponentConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final Component[] VALUES = values(); - public static Component valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -247,34 +295,51 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component> enableComponents_converter_ = + java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component> + enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>() { - public com.google.container.v1beta1.LoggingComponentConfig.Component convert(java.lang.Integer from) { + public com.google.container.v1beta1.LoggingComponentConfig.Component convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LoggingComponentConfig.Component result = com.google.container.v1beta1.LoggingComponentConfig.Component.valueOf(from); - return result == null ? com.google.container.v1beta1.LoggingComponentConfig.Component.UNRECOGNIZED : result; + com.google.container.v1beta1.LoggingComponentConfig.Component result = + com.google.container.v1beta1.LoggingComponentConfig.Component.valueOf(from); + return result == null + ? com.google.container.v1beta1.LoggingComponentConfig.Component.UNRECOGNIZED + : result; } }; /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ @java.lang.Override @@ -282,37 +347,52 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents(int index) { + public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return enableComponents_; } /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -320,9 +400,11 @@ public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableCo public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } + private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +416,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -356,14 +437,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,12 +455,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LoggingComponentConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LoggingComponentConfig other = (com.google.container.v1beta1.LoggingComponentConfig) obj; + com.google.container.v1beta1.LoggingComponentConfig other = + (com.google.container.v1beta1.LoggingComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -402,129 +485,135 @@ public int hashCode() { } public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LoggingComponentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LoggingComponentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.LoggingComponentConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingComponentConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.LoggingComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * LoggingComponentConfig is cluster logging component configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.LoggingComponentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LoggingComponentConfig) com.google.container.v1beta1.LoggingComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingComponentConfig.class, com.google.container.v1beta1.LoggingComponentConfig.Builder.class); + com.google.container.v1beta1.LoggingComponentConfig.class, + com.google.container.v1beta1.LoggingComponentConfig.Builder.class); } // Construct using com.google.container.v1beta1.LoggingComponentConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -534,9 +623,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; } @java.lang.Override @@ -555,7 +644,8 @@ public com.google.container.v1beta1.LoggingComponentConfig build() { @java.lang.Override public com.google.container.v1beta1.LoggingComponentConfig buildPartial() { - com.google.container.v1beta1.LoggingComponentConfig result = new com.google.container.v1beta1.LoggingComponentConfig(this); + com.google.container.v1beta1.LoggingComponentConfig result = + new com.google.container.v1beta1.LoggingComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -570,38 +660,39 @@ public com.google.container.v1beta1.LoggingComponentConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LoggingComponentConfig) { - return mergeFrom((com.google.container.v1beta1.LoggingComponentConfig)other); + return mergeFrom((com.google.container.v1beta1.LoggingComponentConfig) other); } else { super.mergeFrom(other); return this; @@ -609,7 +700,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.LoggingComponentConfig other) { - if (other == com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance()) + return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -646,29 +738,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -678,10 +773,11 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List enableComponents_ = - java.util.Collections.emptyList(); + private java.util.List enableComponents_ = java.util.Collections.emptyList(); + private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -689,46 +785,69 @@ private void ensureEnableComponentsIsMutable() { } } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.LoggingComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents(int index) { + public com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -744,15 +863,21 @@ public Builder setEnableComponents( return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents(com.google.container.v1beta1.LoggingComponentConfig.Component value) { + public Builder addEnableComponents( + com.google.container.v1beta1.LoggingComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -762,16 +887,22 @@ public Builder addEnableComponents(com.google.container.v1beta1.LoggingComponent return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1beta1.LoggingComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -780,11 +911,16 @@ public Builder addAllEnableComponents( return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -794,23 +930,32 @@ public Builder clearEnableComponents() { return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -818,28 +963,37 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue( - int index, int value) { + public Builder setEnableComponentsValue(int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -850,16 +1004,20 @@ public Builder addEnableComponentsValue(int value) { return this; } /** + * + * *
      * Select components to collect logs. An empty set would disable all logging.
      * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue( - java.lang.Iterable values) { + public Builder addAllEnableComponentsValue(java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -867,9 +1025,9 @@ public Builder addAllEnableComponentsValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -879,12 +1037,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LoggingComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LoggingComponentConfig) private static final com.google.container.v1beta1.LoggingComponentConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LoggingComponentConfig(); } @@ -893,27 +1051,27 @@ public static com.google.container.v1beta1.LoggingComponentConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,6 +1086,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LoggingComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java index b2618bb4700e..34666b05c87d 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingComponentConfigOrBuilder.java @@ -1,56 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface LoggingComponentConfigOrBuilder extends +public interface LoggingComponentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LoggingComponentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - java.util.List getEnableComponentsList(); + java.util.List + getEnableComponentsList(); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ int getEnableComponentsCount(); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1beta1.LoggingComponentConfig.Component getEnableComponents(int index); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List - getEnableComponentsValueList(); + java.util.List getEnableComponentsValueList(); /** + * + * *
    * Select components to collect logs. An empty set would disable all logging.
    * 
* - * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.LoggingComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java index b9300b5fa2a9..e250f8534341 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * LoggingConfig is cluster logging configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.LoggingConfig} */ -public final class LoggingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LoggingConfig) LoggingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingConfig.newBuilder() to construct. private LoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LoggingConfig() { - } + + private LoggingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingConfig.class, com.google.container.v1beta1.LoggingConfig.Builder.class); + com.google.container.v1beta1.LoggingConfig.class, + com.google.container.v1beta1.LoggingConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.LoggingComponentConfig componentConfig_; /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingComponentConfig getComponentConfig() { - return componentConfig_ == null ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } /** + * + * *
    * Logging components configuration
    * 
@@ -81,11 +109,13 @@ public com.google.container.v1beta1.LoggingComponentConfig getComponentConfig() * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ @java.lang.Override - public com.google.container.v1beta1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { + public com.google.container.v1beta1.LoggingComponentConfigOrBuilder + getComponentConfigOrBuilder() { return getComponentConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (componentConfig_ != null) { output.writeMessage(1, getComponentConfig()); } @@ -112,8 +141,7 @@ public int getSerializedSize() { size = 0; if (componentConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getComponentConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +151,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LoggingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LoggingConfig other = (com.google.container.v1beta1.LoggingConfig) obj; + com.google.container.v1beta1.LoggingConfig other = + (com.google.container.v1beta1.LoggingConfig) obj; if (hasComponentConfig() != other.hasComponentConfig()) return false; if (hasComponentConfig()) { - if (!getComponentConfig() - .equals(other.getComponentConfig())) return false; + if (!getComponentConfig().equals(other.getComponentConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -155,130 +183,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.LoggingConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.LoggingConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.LoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.LoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.LoggingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.LoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.LoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.LoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * LoggingConfig is cluster logging configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.LoggingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LoggingConfig) com.google.container.v1beta1.LoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingConfig.class, com.google.container.v1beta1.LoggingConfig.Builder.class); + com.google.container.v1beta1.LoggingConfig.class, + com.google.container.v1beta1.LoggingConfig.Builder.class); } // Construct using com.google.container.v1beta1.LoggingConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingConfig_descriptor; } @java.lang.Override @@ -313,7 +347,8 @@ public com.google.container.v1beta1.LoggingConfig build() { @java.lang.Override public com.google.container.v1beta1.LoggingConfig buildPartial() { - com.google.container.v1beta1.LoggingConfig result = new com.google.container.v1beta1.LoggingConfig(this); + com.google.container.v1beta1.LoggingConfig result = + new com.google.container.v1beta1.LoggingConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -327,38 +362,39 @@ public com.google.container.v1beta1.LoggingConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LoggingConfig) { - return mergeFrom((com.google.container.v1beta1.LoggingConfig)other); + return mergeFrom((com.google.container.v1beta1.LoggingConfig) other); } else { super.mergeFrom(other); return this; @@ -396,19 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getComponentConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -421,34 +457,47 @@ public Builder mergeFrom( private com.google.container.v1beta1.LoggingComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingComponentConfig, com.google.container.v1beta1.LoggingComponentConfig.Builder, com.google.container.v1beta1.LoggingComponentConfigOrBuilder> componentConfigBuilder_; + com.google.container.v1beta1.LoggingComponentConfig, + com.google.container.v1beta1.LoggingComponentConfig.Builder, + com.google.container.v1beta1.LoggingComponentConfigOrBuilder> + componentConfigBuilder_; /** + * + * *
      * Logging components configuration
      * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** + * + * *
      * Logging components configuration
      * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ public com.google.container.v1beta1.LoggingComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging components configuration
      * 
@@ -469,6 +518,8 @@ public Builder setComponentConfig(com.google.container.v1beta1.LoggingComponentC return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -487,6 +538,8 @@ public Builder setComponentConfig( return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -497,7 +550,9 @@ public Builder mergeComponentConfig(com.google.container.v1beta1.LoggingComponen if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1beta1.LoggingComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.LoggingComponentConfig.newBuilder(componentConfig_) + .mergeFrom(value) + .buildPartial(); } else { componentConfig_ = value; } @@ -509,6 +564,8 @@ public Builder mergeComponentConfig(com.google.container.v1beta1.LoggingComponen return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -527,6 +584,8 @@ public Builder clearComponentConfig() { return this; } /** + * + * *
      * Logging components configuration
      * 
@@ -534,26 +593,32 @@ public Builder clearComponentConfig() { * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ public com.google.container.v1beta1.LoggingComponentConfig.Builder getComponentConfigBuilder() { - + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging components configuration
      * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ - public com.google.container.v1beta1.LoggingComponentConfigOrBuilder getComponentConfigOrBuilder() { + public com.google.container.v1beta1.LoggingComponentConfigOrBuilder + getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null ? - com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1beta1.LoggingComponentConfig.getDefaultInstance() + : componentConfig_; } } /** + * + * *
      * Logging components configuration
      * 
@@ -561,21 +626,24 @@ public com.google.container.v1beta1.LoggingComponentConfigOrBuilder getComponent * .google.container.v1beta1.LoggingComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingComponentConfig, com.google.container.v1beta1.LoggingComponentConfig.Builder, com.google.container.v1beta1.LoggingComponentConfigOrBuilder> + com.google.container.v1beta1.LoggingComponentConfig, + com.google.container.v1beta1.LoggingComponentConfig.Builder, + com.google.container.v1beta1.LoggingComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingComponentConfig, com.google.container.v1beta1.LoggingComponentConfig.Builder, com.google.container.v1beta1.LoggingComponentConfigOrBuilder>( - getComponentConfig(), - getParentForChildren(), - isClean()); + componentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingComponentConfig, + com.google.container.v1beta1.LoggingComponentConfig.Builder, + com.google.container.v1beta1.LoggingComponentConfigOrBuilder>( + getComponentConfig(), getParentForChildren(), isClean()); componentConfig_ = null; } return componentConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +653,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LoggingConfig) private static final com.google.container.v1beta1.LoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LoggingConfig(); } @@ -599,27 +667,27 @@ public static com.google.container.v1beta1.LoggingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,6 +702,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java index 614482cc4b5c..8f88a39fef5c 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LoggingConfigOrBuilder extends +public interface LoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** + * + * *
    * Logging components configuration
    * 
* * .google.container.v1beta1.LoggingComponentConfig component_config = 1; + * * @return The componentConfig. */ com.google.container.v1beta1.LoggingComponentConfig getComponentConfig(); /** + * + * *
    * Logging components configuration
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java index 85e6df627fff..35eb17dcd669 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfig.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * LoggingVariantConfig specifies the behaviour of the logging component.
  * 
* * Protobuf type {@code google.container.v1beta1.LoggingVariantConfig} */ -public final class LoggingVariantConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LoggingVariantConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.LoggingVariantConfig) LoggingVariantConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LoggingVariantConfig.newBuilder() to construct. private LoggingVariantConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LoggingVariantConfig() { variant_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LoggingVariantConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingVariantConfig.class, com.google.container.v1beta1.LoggingVariantConfig.Builder.class); + com.google.container.v1beta1.LoggingVariantConfig.class, + com.google.container.v1beta1.LoggingVariantConfig.Builder.class); } /** + * + * *
    * Logging component variants.
    * 
* * Protobuf enum {@code google.container.v1beta1.LoggingVariantConfig.Variant} */ - public enum Variant - implements com.google.protobuf.ProtocolMessageEnum { + public enum Variant implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -66,6 +88,8 @@ public enum Variant */ VARIANT_UNSPECIFIED(0), /** + * + * *
      * default logging variant.
      * 
@@ -74,6 +98,8 @@ public enum Variant */ DEFAULT(1), /** + * + * *
      * maximum logging throughput variant.
      * 
@@ -85,6 +111,8 @@ public enum Variant ; /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -93,6 +121,8 @@ public enum Variant */ public static final int VARIANT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * default logging variant.
      * 
@@ -101,6 +131,8 @@ public enum Variant */ public static final int DEFAULT_VALUE = 1; /** + * + * *
      * maximum logging throughput variant.
      * 
@@ -109,7 +141,6 @@ public enum Variant */ public static final int MAX_THROUGHPUT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -134,49 +165,51 @@ public static Variant valueOf(int value) { */ public static Variant forNumber(int value) { switch (value) { - case 0: return VARIANT_UNSPECIFIED; - case 1: return DEFAULT; - case 2: return MAX_THROUGHPUT; - default: return null; + case 0: + return VARIANT_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return MAX_THROUGHPUT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Variant> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Variant findValueByNumber(int number) { - return Variant.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Variant findValueByNumber(int number) { + return Variant.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1beta1.LoggingVariantConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.LoggingVariantConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final Variant[] VALUES = values(); - public static Variant valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Variant valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -196,31 +229,43 @@ private Variant(int value) { public static final int VARIANT_FIELD_NUMBER = 1; private int variant_; /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override public int getVariantValue() { + @java.lang.Override + public int getVariantValue() { return variant_; } /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @return The variant. */ - @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant() { + @java.lang.Override + public com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LoggingVariantConfig.Variant result = com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; + com.google.container.v1beta1.LoggingVariantConfig.Variant result = + com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null + ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,9 +277,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (variant_ != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (variant_ + != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED + .getNumber()) { output.writeEnum(1, variant_); } getUnknownFields().writeTo(output); @@ -246,9 +292,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (variant_ != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, variant_); + if (variant_ + != com.google.container.v1beta1.LoggingVariantConfig.Variant.VARIANT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, variant_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -258,12 +305,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.LoggingVariantConfig)) { return super.equals(obj); } - com.google.container.v1beta1.LoggingVariantConfig other = (com.google.container.v1beta1.LoggingVariantConfig) obj; + com.google.container.v1beta1.LoggingVariantConfig other = + (com.google.container.v1beta1.LoggingVariantConfig) obj; if (variant_ != other.variant_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -285,129 +333,135 @@ public int hashCode() { } public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.LoggingVariantConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( 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.LoggingVariantConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.LoggingVariantConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.LoggingVariantConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.LoggingVariantConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingVariantConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.LoggingVariantConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.LoggingVariantConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * LoggingVariantConfig specifies the behaviour of the logging component.
    * 
* * Protobuf type {@code google.container.v1beta1.LoggingVariantConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.LoggingVariantConfig) com.google.container.v1beta1.LoggingVariantConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.LoggingVariantConfig.class, com.google.container.v1beta1.LoggingVariantConfig.Builder.class); + com.google.container.v1beta1.LoggingVariantConfig.class, + com.google.container.v1beta1.LoggingVariantConfig.Builder.class); } // Construct using com.google.container.v1beta1.LoggingVariantConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -417,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; } @java.lang.Override @@ -438,7 +492,8 @@ public com.google.container.v1beta1.LoggingVariantConfig build() { @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig buildPartial() { - com.google.container.v1beta1.LoggingVariantConfig result = new com.google.container.v1beta1.LoggingVariantConfig(this); + com.google.container.v1beta1.LoggingVariantConfig result = + new com.google.container.v1beta1.LoggingVariantConfig(this); result.variant_ = variant_; onBuilt(); return result; @@ -448,38 +503,39 @@ public com.google.container.v1beta1.LoggingVariantConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.LoggingVariantConfig) { - return mergeFrom((com.google.container.v1beta1.LoggingVariantConfig)other); + return mergeFrom((com.google.container.v1beta1.LoggingVariantConfig) other); } else { super.mergeFrom(other); return this; @@ -487,7 +543,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.LoggingVariantConfig other) { - if (other == com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance()) + return this; if (other.variant_ != 0) { setVariantValue(other.getVariantValue()); } @@ -517,17 +574,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - variant_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + variant_ = input.readEnum(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,51 +599,67 @@ public Builder mergeFrom( private int variant_ = 0; /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @return The enum numeric value on the wire for variant. */ - @java.lang.Override public int getVariantValue() { + @java.lang.Override + public int getVariantValue() { return variant_; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @param value The enum numeric value on the wire for variant to set. * @return This builder for chaining. */ public Builder setVariantValue(int value) { - + variant_ = value; onChanged(); return this; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @return The variant. */ @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.LoggingVariantConfig.Variant result = com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); - return result == null ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED : result; + com.google.container.v1beta1.LoggingVariantConfig.Variant result = + com.google.container.v1beta1.LoggingVariantConfig.Variant.valueOf(variant_); + return result == null + ? com.google.container.v1beta1.LoggingVariantConfig.Variant.UNRECOGNIZED + : result; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @param value The variant to set. * @return This builder for chaining. */ @@ -592,28 +667,31 @@ public Builder setVariant(com.google.container.v1beta1.LoggingVariantConfig.Vari if (value == null) { throw new NullPointerException(); } - + variant_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Logging variant deployed on nodes.
      * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @return This builder for chaining. */ public Builder clearVariant() { - + variant_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -623,12 +701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.LoggingVariantConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.LoggingVariantConfig) private static final com.google.container.v1beta1.LoggingVariantConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.LoggingVariantConfig(); } @@ -637,27 +715,27 @@ public static com.google.container.v1beta1.LoggingVariantConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LoggingVariantConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LoggingVariantConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,6 +750,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.LoggingVariantConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java similarity index 54% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java index 5e3024e3e7a5..22ca9f166b4f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/LoggingVariantConfigOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface LoggingVariantConfigOrBuilder extends +public interface LoggingVariantConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.LoggingVariantConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @return The enum numeric value on the wire for variant. */ int getVariantValue(); /** + * + * *
    * Logging variant deployed on nodes.
    * 
* * .google.container.v1beta1.LoggingVariantConfig.Variant variant = 1; + * * @return The variant. */ com.google.container.v1beta1.LoggingVariantConfig.Variant getVariant(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java index c85a8c942f37..35f73224eb76 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptions.java @@ -1,63 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Represents the Maintenance exclusion option.
  * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceExclusionOptions} */ -public final class MaintenanceExclusionOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaintenanceExclusionOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaintenanceExclusionOptions) MaintenanceExclusionOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaintenanceExclusionOptions.newBuilder() to construct. private MaintenanceExclusionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MaintenanceExclusionOptions() { scope_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaintenanceExclusionOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceExclusionOptions.class, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1beta1.MaintenanceExclusionOptions.class, + com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); } /** + * + * *
    * Scope of exclusion.
    * 
* * Protobuf enum {@code google.container.v1beta1.MaintenanceExclusionOptions.Scope} */ - public enum Scope - implements com.google.protobuf.ProtocolMessageEnum { + public enum Scope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -68,6 +90,8 @@ public enum Scope
      */
     NO_UPGRADES(0),
     /**
+     *
+     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -77,6 +101,8 @@ public enum Scope
      */
     NO_MINOR_UPGRADES(1),
     /**
+     *
+     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -90,6 +116,8 @@ public enum Scope
     ;
 
     /**
+     *
+     *
      * 
      * NO_UPGRADES excludes all upgrades, including patch upgrades and minor
      * upgrades across control planes and nodes. This is the default exclusion
@@ -100,6 +128,8 @@ public enum Scope
      */
     public static final int NO_UPGRADES_VALUE = 0;
     /**
+     *
+     *
      * 
      * NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
      * patches are allowed.
@@ -109,6 +139,8 @@ public enum Scope
      */
     public static final int NO_MINOR_UPGRADES_VALUE = 1;
     /**
+     *
+     *
      * 
      * NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
      * and also exclude all node pool upgrades. Only control
@@ -119,7 +151,6 @@ public enum Scope
      */
     public static final int NO_MINOR_OR_NODE_UPGRADES_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -144,49 +175,51 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0: return NO_UPGRADES;
-        case 1: return NO_MINOR_UPGRADES;
-        case 2: return NO_MINOR_OR_NODE_UPGRADES;
-        default: return null;
+        case 0:
+          return NO_UPGRADES;
+        case 1:
+          return NO_MINOR_UPGRADES;
+        case 2:
+          return NO_MINOR_OR_NODE_UPGRADES;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Scope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Scope findValueByNumber(int number) {
-              return Scope.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Scope findValueByNumber(int number) {
+            return Scope.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.MaintenanceExclusionOptions.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.container.v1beta1.MaintenanceExclusionOptions.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -206,33 +239,45 @@ private Scope(int value) {
   public static final int SCOPE_FIELD_NUMBER = 1;
   private int scope_;
   /**
+   *
+   *
    * 
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The scope. */ - @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope() { + @java.lang.Override + public com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; + com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = + com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null + ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,9 +289,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (scope_ != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (scope_ + != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { output.writeEnum(1, scope_); } getUnknownFields().writeTo(output); @@ -258,9 +303,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (scope_ != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, scope_); + if (scope_ + != com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.NO_UPGRADES.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, scope_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -270,12 +315,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaintenanceExclusionOptions)) { return super.equals(obj); } - com.google.container.v1beta1.MaintenanceExclusionOptions other = (com.google.container.v1beta1.MaintenanceExclusionOptions) obj; + com.google.container.v1beta1.MaintenanceExclusionOptions other = + (com.google.container.v1beta1.MaintenanceExclusionOptions) obj; if (scope_ != other.scope_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -297,129 +343,136 @@ public int hashCode() { } public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenanceExclusionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( 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.MaintenanceExclusionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaintenanceExclusionOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenanceExclusionOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MaintenanceExclusionOptions prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.MaintenanceExclusionOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the Maintenance exclusion option.
    * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceExclusionOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaintenanceExclusionOptions) com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceExclusionOptions.class, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); + com.google.container.v1beta1.MaintenanceExclusionOptions.class, + com.google.container.v1beta1.MaintenanceExclusionOptions.Builder.class); } // Construct using com.google.container.v1beta1.MaintenanceExclusionOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -429,9 +482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; } @java.lang.Override @@ -450,7 +503,8 @@ public com.google.container.v1beta1.MaintenanceExclusionOptions build() { @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions buildPartial() { - com.google.container.v1beta1.MaintenanceExclusionOptions result = new com.google.container.v1beta1.MaintenanceExclusionOptions(this); + com.google.container.v1beta1.MaintenanceExclusionOptions result = + new com.google.container.v1beta1.MaintenanceExclusionOptions(this); result.scope_ = scope_; onBuilt(); return result; @@ -460,38 +514,39 @@ public com.google.container.v1beta1.MaintenanceExclusionOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaintenanceExclusionOptions) { - return mergeFrom((com.google.container.v1beta1.MaintenanceExclusionOptions)other); + return mergeFrom((com.google.container.v1beta1.MaintenanceExclusionOptions) other); } else { super.mergeFrom(other); return this; @@ -499,7 +554,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.MaintenanceExclusionOptions other) { - if (other == com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) + return this; if (other.scope_ != 0) { setScopeValue(other.getScopeValue()); } @@ -529,17 +585,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - scope_ = input.readEnum(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + scope_ = input.readEnum(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -552,55 +610,71 @@ public Builder mergeFrom( private int scope_ = 0; /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The scope. */ @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); - return result == null ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED : result; + com.google.container.v1beta1.MaintenanceExclusionOptions.Scope result = + com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.valueOf(scope_); + return result == null + ? com.google.container.v1beta1.MaintenanceExclusionOptions.Scope.UNRECOGNIZED + : result; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @param value The scope to set. * @return This builder for chaining. */ @@ -608,29 +682,32 @@ public Builder setScope(com.google.container.v1beta1.MaintenanceExclusionOptions if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Scope specifies the upgrade scope which upgrades are blocked by the
      * exclusion.
      * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -640,12 +717,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaintenanceExclusionOptions) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenanceExclusionOptions) private static final com.google.container.v1beta1.MaintenanceExclusionOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaintenanceExclusionOptions(); } @@ -654,27 +731,27 @@ public static com.google.container.v1beta1.MaintenanceExclusionOptions getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceExclusionOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceExclusionOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -689,6 +766,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.MaintenanceExclusionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java similarity index 57% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java index e06968dd9317..244f049f91ac 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceExclusionOptionsOrBuilder.java @@ -1,29 +1,51 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface MaintenanceExclusionOptionsOrBuilder extends +public interface MaintenanceExclusionOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaintenanceExclusionOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * Scope specifies the upgrade scope which upgrades are blocked by the
    * exclusion.
    * 
* * .google.container.v1beta1.MaintenanceExclusionOptions.Scope scope = 1; + * * @return The scope. */ com.google.container.v1beta1.MaintenanceExclusionOptions.Scope getScope(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java similarity index 71% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java index 1b16fb7471c2..cb7df4583a4c 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicy.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * MaintenancePolicy defines the maintenance policy to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.MaintenancePolicy} */ -public final class MaintenancePolicy extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaintenancePolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaintenancePolicy) MaintenancePolicyOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaintenancePolicy.newBuilder() to construct. private MaintenancePolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MaintenancePolicy() { resourceVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaintenancePolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenancePolicy.class, com.google.container.v1beta1.MaintenancePolicy.Builder.class); + com.google.container.v1beta1.MaintenancePolicy.class, + com.google.container.v1beta1.MaintenancePolicy.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1beta1.MaintenanceWindow window_; /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; + * * @return Whether the window field is set. */ @java.lang.Override @@ -63,18 +85,25 @@ public boolean hasWindow() { return window_ != null; } /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; + * * @return The window. */ @java.lang.Override public com.google.container.v1beta1.MaintenanceWindow getWindow() { - return window_ == null ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() + : window_; } /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -89,6 +118,8 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde public static final int RESOURCE_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object resourceVersion_; /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -98,6 +129,7 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde
    * 
* * string resource_version = 3; + * * @return The resourceVersion. */ @java.lang.Override @@ -106,14 +138,15 @@ public java.lang.String getResourceVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; } } /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -123,16 +156,15 @@ public java.lang.String getResourceVersion() {
    * 
* * string resource_version = 3; + * * @return The bytes for resourceVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceVersionBytes() { + public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -141,6 +173,7 @@ public java.lang.String getResourceVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -170,8 +202,7 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, resourceVersion_); @@ -184,20 +215,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaintenancePolicy)) { return super.equals(obj); } - com.google.container.v1beta1.MaintenancePolicy other = (com.google.container.v1beta1.MaintenancePolicy) obj; + com.google.container.v1beta1.MaintenancePolicy other = + (com.google.container.v1beta1.MaintenancePolicy) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow() - .equals(other.getWindow())) return false; + if (!getWindow().equals(other.getWindow())) return false; } - if (!getResourceVersion() - .equals(other.getResourceVersion())) return false; + if (!getResourceVersion().equals(other.getResourceVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -220,130 +250,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MaintenancePolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenancePolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenancePolicy parseFrom( 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.MaintenancePolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.MaintenancePolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaintenancePolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MaintenancePolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenancePolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.MaintenancePolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenancePolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.MaintenancePolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * MaintenancePolicy defines the maintenance policy to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.MaintenancePolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaintenancePolicy) com.google.container.v1beta1.MaintenancePolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenancePolicy.class, com.google.container.v1beta1.MaintenancePolicy.Builder.class); + com.google.container.v1beta1.MaintenancePolicy.class, + com.google.container.v1beta1.MaintenancePolicy.Builder.class); } // Construct using com.google.container.v1beta1.MaintenancePolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -359,9 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; } @java.lang.Override @@ -380,7 +416,8 @@ public com.google.container.v1beta1.MaintenancePolicy build() { @java.lang.Override public com.google.container.v1beta1.MaintenancePolicy buildPartial() { - com.google.container.v1beta1.MaintenancePolicy result = new com.google.container.v1beta1.MaintenancePolicy(this); + com.google.container.v1beta1.MaintenancePolicy result = + new com.google.container.v1beta1.MaintenancePolicy(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -395,38 +432,39 @@ public com.google.container.v1beta1.MaintenancePolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaintenancePolicy) { - return mergeFrom((com.google.container.v1beta1.MaintenancePolicy)other); + return mergeFrom((com.google.container.v1beta1.MaintenancePolicy) other); } else { super.mergeFrom(other); return this; @@ -468,24 +506,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWindowFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 26: { - resourceVersion_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 26: + { + resourceVersion_ = input.readStringRequireUtf8(); + + 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) { @@ -498,34 +537,47 @@ public Builder mergeFrom( private com.google.container.v1beta1.MaintenanceWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceWindow, com.google.container.v1beta1.MaintenanceWindow.Builder, com.google.container.v1beta1.MaintenanceWindowOrBuilder> windowBuilder_; + com.google.container.v1beta1.MaintenanceWindow, + com.google.container.v1beta1.MaintenanceWindow.Builder, + com.google.container.v1beta1.MaintenanceWindowOrBuilder> + windowBuilder_; /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; + * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; + * * @return The window. */ public com.google.container.v1beta1.MaintenanceWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() + : window_; } else { return windowBuilder_.getMessage(); } } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -546,6 +598,8 @@ public Builder setWindow(com.google.container.v1beta1.MaintenanceWindow value) { return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -564,6 +618,8 @@ public Builder setWindow( return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -574,7 +630,9 @@ public Builder mergeWindow(com.google.container.v1beta1.MaintenanceWindow value) if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1beta1.MaintenanceWindow.newBuilder(window_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MaintenanceWindow.newBuilder(window_) + .mergeFrom(value) + .buildPartial(); } else { window_ = value; } @@ -586,6 +644,8 @@ public Builder mergeWindow(com.google.container.v1beta1.MaintenanceWindow value) return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -604,6 +664,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -611,11 +673,13 @@ public Builder clearWindow() { * .google.container.v1beta1.MaintenanceWindow window = 1; */ public com.google.container.v1beta1.MaintenanceWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -626,11 +690,14 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null ? - com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance() + : window_; } } /** + * + * *
      * Specifies the maintenance window in which maintenance may be performed.
      * 
@@ -638,14 +705,17 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde * .google.container.v1beta1.MaintenanceWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceWindow, com.google.container.v1beta1.MaintenanceWindow.Builder, com.google.container.v1beta1.MaintenanceWindowOrBuilder> + com.google.container.v1beta1.MaintenanceWindow, + com.google.container.v1beta1.MaintenanceWindow.Builder, + com.google.container.v1beta1.MaintenanceWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceWindow, com.google.container.v1beta1.MaintenanceWindow.Builder, com.google.container.v1beta1.MaintenanceWindowOrBuilder>( - getWindow(), - getParentForChildren(), - isClean()); + windowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenanceWindow, + com.google.container.v1beta1.MaintenanceWindow.Builder, + com.google.container.v1beta1.MaintenanceWindowOrBuilder>( + getWindow(), getParentForChildren(), isClean()); window_ = null; } return windowBuilder_; @@ -653,6 +723,8 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde private java.lang.Object resourceVersion_ = ""; /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -662,13 +734,13 @@ public com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilde
      * 
* * string resource_version = 3; + * * @return The resourceVersion. */ public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceVersion_ = s; return s; @@ -677,6 +749,8 @@ public java.lang.String getResourceVersion() { } } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -686,15 +760,14 @@ public java.lang.String getResourceVersion() {
      * 
* * string resource_version = 3; + * * @return The bytes for resourceVersion. */ - public com.google.protobuf.ByteString - getResourceVersionBytes() { + public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceVersion_ = b; return b; } else { @@ -702,6 +775,8 @@ public java.lang.String getResourceVersion() { } } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -711,20 +786,22 @@ public java.lang.String getResourceVersion() {
      * 
* * string resource_version = 3; + * * @param value The resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersion( - java.lang.String value) { + public Builder setResourceVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceVersion_ = value; onChanged(); return this; } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -734,15 +811,18 @@ public Builder setResourceVersion(
      * 
* * string resource_version = 3; + * * @return This builder for chaining. */ public Builder clearResourceVersion() { - + resourceVersion_ = getDefaultInstance().getResourceVersion(); onChanged(); return this; } /** + * + * *
      * A hash identifying the version of this policy, so that updates to fields of
      * the policy won't accidentally undo intermediate changes (and so that users
@@ -752,23 +832,23 @@ public Builder clearResourceVersion() {
      * 
* * string resource_version = 3; + * * @param value The bytes for resourceVersion to set. * @return This builder for chaining. */ - public Builder setResourceVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceVersion_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -778,12 +858,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaintenancePolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenancePolicy) private static final com.google.container.v1beta1.MaintenancePolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaintenancePolicy(); } @@ -792,27 +872,27 @@ public static com.google.container.v1beta1.MaintenancePolicy getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenancePolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenancePolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -827,6 +907,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MaintenancePolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java index 1ddaac379c23..328c4f431c81 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenancePolicyOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MaintenancePolicyOrBuilder extends +public interface MaintenancePolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaintenancePolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; + * * @return Whether the window field is set. */ boolean hasWindow(); /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
* * .google.container.v1beta1.MaintenanceWindow window = 1; + * * @return The window. */ com.google.container.v1beta1.MaintenanceWindow getWindow(); /** + * + * *
    * Specifies the maintenance window in which maintenance may be performed.
    * 
@@ -35,6 +59,8 @@ public interface MaintenancePolicyOrBuilder extends com.google.container.v1beta1.MaintenanceWindowOrBuilder getWindowOrBuilder(); /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -44,10 +70,13 @@ public interface MaintenancePolicyOrBuilder extends
    * 
* * string resource_version = 3; + * * @return The resourceVersion. */ java.lang.String getResourceVersion(); /** + * + * *
    * A hash identifying the version of this policy, so that updates to fields of
    * the policy won't accidentally undo intermediate changes (and so that users
@@ -57,8 +86,8 @@ public interface MaintenancePolicyOrBuilder extends
    * 
* * string resource_version = 3; + * * @return The bytes for resourceVersion. */ - com.google.protobuf.ByteString - getResourceVersionBytes(); + com.google.protobuf.ByteString getResourceVersionBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java index 56c4db9bfd14..b8b296867225 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindow.java @@ -1,73 +1,93 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * MaintenanceWindow defines the maintenance window to be used for the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceWindow} */ -public final class MaintenanceWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaintenanceWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaintenanceWindow) MaintenanceWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaintenanceWindow.newBuilder() to construct. private MaintenanceWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaintenanceWindow() { - } + + private MaintenanceWindow() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaintenanceWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceWindow.class, com.google.container.v1beta1.MaintenanceWindow.Builder.class); + com.google.container.v1beta1.MaintenanceWindow.class, + com.google.container.v1beta1.MaintenanceWindow.Builder.class); } private int policyCase_ = 0; private java.lang.Object policy_; + public enum PolicyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { DAILY_MAINTENANCE_WINDOW(2), RECURRING_WINDOW(3), POLICY_NOT_SET(0); private final int value; + private PolicyCase(int value) { this.value = value; } @@ -83,30 +103,36 @@ public static PolicyCase valueOf(int value) { public static PolicyCase forNumber(int value) { switch (value) { - case 2: return DAILY_MAINTENANCE_WINDOW; - case 3: return RECURRING_WINDOW; - case 0: return POLICY_NOT_SET; - default: return null; + case 2: + return DAILY_MAINTENANCE_WINDOW; + case 3: + return RECURRING_WINDOW; + case 0: + return POLICY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public PolicyCase - getPolicyCase() { - return PolicyCase.forNumber( - policyCase_); + public PolicyCase getPolicyCase() { + return PolicyCase.forNumber(policyCase_); } public static final int DAILY_MAINTENANCE_WINDOW_FIELD_NUMBER = 2; /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -114,21 +140,26 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return The dailyMaintenanceWindow. */ @java.lang.Override public com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWindow() { if (policyCase_ == 2) { - return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; } return com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance(); } /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -136,15 +167,18 @@ public com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWi * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder + getDailyMaintenanceWindowOrBuilder() { if (policyCase_ == 2) { - return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; + return (com.google.container.v1beta1.DailyMaintenanceWindow) policy_; } return com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance(); } public static final int RECURRING_WINDOW_FIELD_NUMBER = 3; /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -152,6 +186,7 @@ public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMain
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; + * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -159,6 +194,8 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -166,16 +203,19 @@ public boolean hasRecurringWindow() {
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; + * * @return The recurringWindow. */ @java.lang.Override public com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow() { if (policyCase_ == 3) { - return (com.google.container.v1beta1.RecurringTimeWindow) policy_; + return (com.google.container.v1beta1.RecurringTimeWindow) policy_; } return com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance(); } /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -187,27 +227,32 @@ public com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow() {
   @java.lang.Override
   public com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder() {
     if (policyCase_ == 3) {
-       return (com.google.container.v1beta1.RecurringTimeWindow) policy_;
+      return (com.google.container.v1beta1.RecurringTimeWindow) policy_;
     }
     return com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance();
   }
 
   public static final int MAINTENANCE_EXCLUSIONS_FIELD_NUMBER = 4;
+
   private static final class MaintenanceExclusionsDefaultEntryHolder {
     static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.container.v1beta1.TimeWindow> defaultEntry =
+            java.lang.String, com.google.container.v1beta1.TimeWindow>
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.container.v1beta1.TimeWindow.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.container.v1beta1.ClusterServiceProto
+                        .internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.container.v1beta1.TimeWindow.getDefaultInstance());
   }
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.container.v1beta1.TimeWindow> maintenanceExclusions_;
+
   private com.google.protobuf.MapField
-  internalGetMaintenanceExclusions() {
+      maintenanceExclusions_;
+
+  private com.google.protobuf.MapField
+      internalGetMaintenanceExclusions() {
     if (maintenanceExclusions_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
@@ -219,72 +264,84 @@ public int getMaintenanceExclusionsCount() {
     return internalGetMaintenanceExclusions().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ - @java.lang.Override - public boolean containsMaintenanceExclusions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMaintenanceExclusions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMaintenanceExclusions().getMap().containsKey(key); } - /** - * Use {@link #getMaintenanceExclusionsMap()} instead. - */ + /** Use {@link #getMaintenanceExclusionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getMaintenanceExclusions() { + public java.util.Map + getMaintenanceExclusions() { return getMaintenanceExclusionsMap(); } /** + * + * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ @java.lang.Override - - public java.util.Map getMaintenanceExclusionsMap() { + public java.util.Map + getMaintenanceExclusionsMap() { return internalGetMaintenanceExclusions().getMap(); } /** + * + * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ @java.lang.Override - public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( - java.lang.String key, - com.google.container.v1beta1.TimeWindow defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.container.v1beta1.TimeWindow defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMaintenanceExclusions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ @java.lang.Override - public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMaintenanceExclusions().getMap(); if (!map.containsKey(key)) { @@ -294,6 +351,7 @@ public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,16 +363,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (policyCase_ == 2) { output.writeMessage(2, (com.google.container.v1beta1.DailyMaintenanceWindow) policy_); } if (policyCase_ == 3) { output.writeMessage(3, (com.google.container.v1beta1.RecurringTimeWindow) policy_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetMaintenanceExclusions(), MaintenanceExclusionsDefaultEntryHolder.defaultEntry, @@ -329,22 +385,25 @@ public int getSerializedSize() { size = 0; if (policyCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.container.v1beta1.DailyMaintenanceWindow) policy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.container.v1beta1.DailyMaintenanceWindow) policy_); } if (policyCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.container.v1beta1.RecurringTimeWindow) policy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.container.v1beta1.RecurringTimeWindow) policy_); } - for (java.util.Map.Entry entry - : internalGetMaintenanceExclusions().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetMaintenanceExclusions().getMap().entrySet()) { com.google.protobuf.MapEntry - maintenanceExclusions__ = MaintenanceExclusionsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, maintenanceExclusions__); + maintenanceExclusions__ = + MaintenanceExclusionsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, maintenanceExclusions__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -354,24 +413,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaintenanceWindow)) { return super.equals(obj); } - com.google.container.v1beta1.MaintenanceWindow other = (com.google.container.v1beta1.MaintenanceWindow) obj; + com.google.container.v1beta1.MaintenanceWindow other = + (com.google.container.v1beta1.MaintenanceWindow) obj; - if (!internalGetMaintenanceExclusions().equals( - other.internalGetMaintenanceExclusions())) return false; + if (!internalGetMaintenanceExclusions().equals(other.internalGetMaintenanceExclusions())) + return false; if (!getPolicyCase().equals(other.getPolicyCase())) return false; switch (policyCase_) { case 2: - if (!getDailyMaintenanceWindow() - .equals(other.getDailyMaintenanceWindow())) return false; + if (!getDailyMaintenanceWindow().equals(other.getDailyMaintenanceWindow())) return false; break; case 3: - if (!getRecurringWindow() - .equals(other.getRecurringWindow())) return false; + if (!getRecurringWindow().equals(other.getRecurringWindow())) return false; break; case 0: default: @@ -408,152 +466,156 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MaintenanceWindow parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MaintenanceWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenanceWindow parseFrom( 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.MaintenanceWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.MaintenanceWindow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaintenanceWindow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MaintenanceWindow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenanceWindow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.MaintenanceWindow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaintenanceWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.MaintenanceWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * MaintenanceWindow defines the maintenance window to be used for the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.MaintenanceWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaintenanceWindow) com.google.container.v1beta1.MaintenanceWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetMaintenanceExclusions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableMaintenanceExclusions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaintenanceWindow.class, com.google.container.v1beta1.MaintenanceWindow.Builder.class); + com.google.container.v1beta1.MaintenanceWindow.class, + com.google.container.v1beta1.MaintenanceWindow.Builder.class); } // Construct using com.google.container.v1beta1.MaintenanceWindow.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -570,9 +632,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; } @java.lang.Override @@ -591,7 +653,8 @@ public com.google.container.v1beta1.MaintenanceWindow build() { @java.lang.Override public com.google.container.v1beta1.MaintenanceWindow buildPartial() { - com.google.container.v1beta1.MaintenanceWindow result = new com.google.container.v1beta1.MaintenanceWindow(this); + com.google.container.v1beta1.MaintenanceWindow result = + new com.google.container.v1beta1.MaintenanceWindow(this); int from_bitField0_ = bitField0_; if (policyCase_ == 2) { if (dailyMaintenanceWindowBuilder_ == null) { @@ -618,38 +681,39 @@ public com.google.container.v1beta1.MaintenanceWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaintenanceWindow) { - return mergeFrom((com.google.container.v1beta1.MaintenanceWindow)other); + return mergeFrom((com.google.container.v1beta1.MaintenanceWindow) other); } else { super.mergeFrom(other); return this; @@ -658,20 +722,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.container.v1beta1.MaintenanceWindow other) { if (other == com.google.container.v1beta1.MaintenanceWindow.getDefaultInstance()) return this; - internalGetMutableMaintenanceExclusions().mergeFrom( - other.internalGetMaintenanceExclusions()); + internalGetMutableMaintenanceExclusions().mergeFrom(other.internalGetMaintenanceExclusions()); switch (other.getPolicyCase()) { - case DAILY_MAINTENANCE_WINDOW: { - mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); - break; - } - case RECURRING_WINDOW: { - mergeRecurringWindow(other.getRecurringWindow()); - break; - } - case POLICY_NOT_SET: { - break; - } + case DAILY_MAINTENANCE_WINDOW: + { + mergeDailyMaintenanceWindow(other.getDailyMaintenanceWindow()); + break; + } + case RECURRING_WINDOW: + { + mergeRecurringWindow(other.getRecurringWindow()); + break; + } + case POLICY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -699,34 +765,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getDailyMaintenanceWindowFieldBuilder().getBuilder(), - extensionRegistry); - policyCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getRecurringWindowFieldBuilder().getBuilder(), - extensionRegistry); - policyCase_ = 3; - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - maintenanceExclusions__ = input.readMessage( - MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableMaintenanceExclusions().getMutableMap().put( - maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage( + getDailyMaintenanceWindowFieldBuilder().getBuilder(), extensionRegistry); + policyCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getRecurringWindowFieldBuilder().getBuilder(), extensionRegistry); + policyCase_ = 3; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.container.v1beta1.TimeWindow> + maintenanceExclusions__ = + input.readMessage( + MaintenanceExclusionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableMaintenanceExclusions() + .getMutableMap() + .put(maintenanceExclusions__.getKey(), maintenanceExclusions__.getValue()); + 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) { @@ -736,12 +807,12 @@ public Builder mergeFrom( } // finally return this; } + private int policyCase_ = 0; private java.lang.Object policy_; - public PolicyCase - getPolicyCase() { - return PolicyCase.forNumber( - policyCase_); + + public PolicyCase getPolicyCase() { + return PolicyCase.forNumber(policyCase_); } public Builder clearPolicy() { @@ -754,13 +825,19 @@ public Builder clearPolicy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DailyMaintenanceWindow, com.google.container.v1beta1.DailyMaintenanceWindow.Builder, com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> dailyMaintenanceWindowBuilder_; + com.google.container.v1beta1.DailyMaintenanceWindow, + com.google.container.v1beta1.DailyMaintenanceWindow.Builder, + com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> + dailyMaintenanceWindowBuilder_; /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return Whether the dailyMaintenanceWindow field is set. */ @java.lang.Override @@ -768,11 +845,14 @@ public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return The dailyMaintenanceWindow. */ @java.lang.Override @@ -790,13 +870,16 @@ public com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWi } } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public Builder setDailyMaintenanceWindow(com.google.container.v1beta1.DailyMaintenanceWindow value) { + public Builder setDailyMaintenanceWindow( + com.google.container.v1beta1.DailyMaintenanceWindow value) { if (dailyMaintenanceWindowBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -810,6 +893,8 @@ public Builder setDailyMaintenanceWindow(com.google.container.v1beta1.DailyMaint return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -828,18 +913,25 @@ public Builder setDailyMaintenanceWindow( return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public Builder mergeDailyMaintenanceWindow(com.google.container.v1beta1.DailyMaintenanceWindow value) { + public Builder mergeDailyMaintenanceWindow( + com.google.container.v1beta1.DailyMaintenanceWindow value) { if (dailyMaintenanceWindowBuilder_ == null) { - if (policyCase_ == 2 && - policy_ != com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) { - policy_ = com.google.container.v1beta1.DailyMaintenanceWindow.newBuilder((com.google.container.v1beta1.DailyMaintenanceWindow) policy_) - .mergeFrom(value).buildPartial(); + if (policyCase_ == 2 + && policy_ + != com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance()) { + policy_ = + com.google.container.v1beta1.DailyMaintenanceWindow.newBuilder( + (com.google.container.v1beta1.DailyMaintenanceWindow) policy_) + .mergeFrom(value) + .buildPartial(); } else { policy_ = value; } @@ -855,6 +947,8 @@ public Builder mergeDailyMaintenanceWindow(com.google.container.v1beta1.DailyMai return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -878,16 +972,21 @@ public Builder clearDailyMaintenanceWindow() { return this; } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ - public com.google.container.v1beta1.DailyMaintenanceWindow.Builder getDailyMaintenanceWindowBuilder() { + public com.google.container.v1beta1.DailyMaintenanceWindow.Builder + getDailyMaintenanceWindowBuilder() { return getDailyMaintenanceWindowFieldBuilder().getBuilder(); } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -895,7 +994,8 @@ public com.google.container.v1beta1.DailyMaintenanceWindow.Builder getDailyMaint * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ @java.lang.Override - public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { + public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder + getDailyMaintenanceWindowOrBuilder() { if ((policyCase_ == 2) && (dailyMaintenanceWindowBuilder_ != null)) { return dailyMaintenanceWindowBuilder_.getMessageOrBuilder(); } else { @@ -906,6 +1006,8 @@ public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMain } } /** + * + * *
      * DailyMaintenanceWindow specifies a daily maintenance operation window.
      * 
@@ -913,27 +1015,38 @@ public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMain * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DailyMaintenanceWindow, com.google.container.v1beta1.DailyMaintenanceWindow.Builder, com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> + com.google.container.v1beta1.DailyMaintenanceWindow, + com.google.container.v1beta1.DailyMaintenanceWindow.Builder, + com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder> getDailyMaintenanceWindowFieldBuilder() { if (dailyMaintenanceWindowBuilder_ == null) { if (!(policyCase_ == 2)) { policy_ = com.google.container.v1beta1.DailyMaintenanceWindow.getDefaultInstance(); } - dailyMaintenanceWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DailyMaintenanceWindow, com.google.container.v1beta1.DailyMaintenanceWindow.Builder, com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder>( + dailyMaintenanceWindowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DailyMaintenanceWindow, + com.google.container.v1beta1.DailyMaintenanceWindow.Builder, + com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder>( (com.google.container.v1beta1.DailyMaintenanceWindow) policy_, getParentForChildren(), isClean()); policy_ = null; } policyCase_ = 2; - onChanged();; + onChanged(); + ; return dailyMaintenanceWindowBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.RecurringTimeWindow, com.google.container.v1beta1.RecurringTimeWindow.Builder, com.google.container.v1beta1.RecurringTimeWindowOrBuilder> recurringWindowBuilder_; + com.google.container.v1beta1.RecurringTimeWindow, + com.google.container.v1beta1.RecurringTimeWindow.Builder, + com.google.container.v1beta1.RecurringTimeWindowOrBuilder> + recurringWindowBuilder_; /** + * + * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -941,6 +1054,7 @@ public com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMain
      * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; + * * @return Whether the recurringWindow field is set. */ @java.lang.Override @@ -948,6 +1062,8 @@ public boolean hasRecurringWindow() { return policyCase_ == 3; } /** + * + * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -955,6 +1071,7 @@ public boolean hasRecurringWindow() {
      * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; + * * @return The recurringWindow. */ @java.lang.Override @@ -972,6 +1089,8 @@ public com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow() { } } /** + * + * *
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -994,6 +1113,8 @@ public Builder setRecurringWindow(com.google.container.v1beta1.RecurringTimeWind
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1014,6 +1135,8 @@ public Builder setRecurringWindow(
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1024,10 +1147,13 @@ public Builder setRecurringWindow(
      */
     public Builder mergeRecurringWindow(com.google.container.v1beta1.RecurringTimeWindow value) {
       if (recurringWindowBuilder_ == null) {
-        if (policyCase_ == 3 &&
-            policy_ != com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) {
-          policy_ = com.google.container.v1beta1.RecurringTimeWindow.newBuilder((com.google.container.v1beta1.RecurringTimeWindow) policy_)
-              .mergeFrom(value).buildPartial();
+        if (policyCase_ == 3
+            && policy_ != com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) {
+          policy_ =
+              com.google.container.v1beta1.RecurringTimeWindow.newBuilder(
+                      (com.google.container.v1beta1.RecurringTimeWindow) policy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           policy_ = value;
         }
@@ -1043,6 +1169,8 @@ public Builder mergeRecurringWindow(com.google.container.v1beta1.RecurringTimeWi
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1068,6 +1196,8 @@ public Builder clearRecurringWindow() {
       return this;
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1080,6 +1210,8 @@ public com.google.container.v1beta1.RecurringTimeWindow.Builder getRecurringWind
       return getRecurringWindowFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1100,6 +1232,8 @@ public com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWin
       }
     }
     /**
+     *
+     *
      * 
      * RecurringWindow specifies some number of recurring time periods for
      * maintenance to occur. The time windows may be overlapping. If no
@@ -1109,40 +1243,50 @@ public com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWin
      * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.RecurringTimeWindow, com.google.container.v1beta1.RecurringTimeWindow.Builder, com.google.container.v1beta1.RecurringTimeWindowOrBuilder> 
+            com.google.container.v1beta1.RecurringTimeWindow,
+            com.google.container.v1beta1.RecurringTimeWindow.Builder,
+            com.google.container.v1beta1.RecurringTimeWindowOrBuilder>
         getRecurringWindowFieldBuilder() {
       if (recurringWindowBuilder_ == null) {
         if (!(policyCase_ == 3)) {
           policy_ = com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance();
         }
-        recurringWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.RecurringTimeWindow, com.google.container.v1beta1.RecurringTimeWindow.Builder, com.google.container.v1beta1.RecurringTimeWindowOrBuilder>(
+        recurringWindowBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.RecurringTimeWindow,
+                com.google.container.v1beta1.RecurringTimeWindow.Builder,
+                com.google.container.v1beta1.RecurringTimeWindowOrBuilder>(
                 (com.google.container.v1beta1.RecurringTimeWindow) policy_,
                 getParentForChildren(),
                 isClean());
         policy_ = null;
       }
       policyCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return recurringWindowBuilder_;
     }
 
-    private com.google.protobuf.MapField<
-        java.lang.String, com.google.container.v1beta1.TimeWindow> maintenanceExclusions_;
     private com.google.protobuf.MapField
-    internalGetMaintenanceExclusions() {
+        maintenanceExclusions_;
+
+    private com.google.protobuf.MapField
+        internalGetMaintenanceExclusions() {
       if (maintenanceExclusions_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       return maintenanceExclusions_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableMaintenanceExclusions() {
-      onChanged();;
+        internalGetMutableMaintenanceExclusions() {
+      onChanged();
+      ;
       if (maintenanceExclusions_ == null) {
-        maintenanceExclusions_ = com.google.protobuf.MapField.newMapField(
-            MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
+        maintenanceExclusions_ =
+            com.google.protobuf.MapField.newMapField(
+                MaintenanceExclusionsDefaultEntryHolder.defaultEntry);
       }
       if (!maintenanceExclusions_.isMutable()) {
         maintenanceExclusions_ = maintenanceExclusions_.copy();
@@ -1154,72 +1298,84 @@ public int getMaintenanceExclusionsCount() {
       return internalGetMaintenanceExclusions().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ - @java.lang.Override - public boolean containsMaintenanceExclusions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsMaintenanceExclusions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetMaintenanceExclusions().getMap().containsKey(key); } - /** - * Use {@link #getMaintenanceExclusionsMap()} instead. - */ + /** Use {@link #getMaintenanceExclusionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getMaintenanceExclusions() { + public java.util.Map + getMaintenanceExclusions() { return getMaintenanceExclusionsMap(); } /** + * + * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ @java.lang.Override - - public java.util.Map getMaintenanceExclusionsMap() { + public java.util.Map + getMaintenanceExclusionsMap() { return internalGetMaintenanceExclusions().getMap(); } /** + * + * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ @java.lang.Override - public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( - java.lang.String key, - com.google.container.v1beta1.TimeWindow defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.container.v1beta1.TimeWindow defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMaintenanceExclusions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ @java.lang.Override - public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetMaintenanceExclusions().getMap(); if (!map.containsKey(key)) { @@ -1229,72 +1385,75 @@ public com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( } public Builder clearMaintenanceExclusions() { - internalGetMutableMaintenanceExclusions().getMutableMap() - .clear(); + internalGetMutableMaintenanceExclusions().getMutableMap().clear(); return this; } /** + * + * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ - - public Builder removeMaintenanceExclusions( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableMaintenanceExclusions().getMutableMap() - .remove(key); + public Builder removeMaintenanceExclusions(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableMaintenanceExclusions().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableMaintenanceExclusions() { + getMutableMaintenanceExclusions() { return internalGetMutableMaintenanceExclusions().getMutableMap(); } /** + * + * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ public Builder putMaintenanceExclusions( - java.lang.String key, - com.google.container.v1beta1.TimeWindow value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.container.v1beta1.TimeWindow value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableMaintenanceExclusions().getMutableMap() - .put(key, value); + internalGetMutableMaintenanceExclusions().getMutableMap().put(key, value); return this; } /** + * + * *
      * Exceptions to maintenance window. Non-emergency maintenance should not
      * occur in these windows.
      * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ - public Builder putAllMaintenanceExclusions( java.util.Map values) { - internalGetMutableMaintenanceExclusions().getMutableMap() - .putAll(values); + internalGetMutableMaintenanceExclusions().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1304,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaintenanceWindow) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaintenanceWindow) private static final com.google.container.v1beta1.MaintenanceWindow DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaintenanceWindow(); } @@ -1318,27 +1477,27 @@ public static com.google.container.v1beta1.MaintenanceWindow getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaintenanceWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaintenanceWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1353,6 +1512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MaintenanceWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java similarity index 74% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java index 604b6abb571b..75fe1d7b4e7f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaintenanceWindowOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MaintenanceWindowOrBuilder extends +public interface MaintenanceWindowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaintenanceWindow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return Whether the dailyMaintenanceWindow field is set. */ boolean hasDailyMaintenanceWindow(); /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
* * .google.container.v1beta1.DailyMaintenanceWindow daily_maintenance_window = 2; + * * @return The dailyMaintenanceWindow. */ com.google.container.v1beta1.DailyMaintenanceWindow getDailyMaintenanceWindow(); /** + * + * *
    * DailyMaintenanceWindow specifies a daily maintenance operation window.
    * 
@@ -35,6 +59,8 @@ public interface MaintenanceWindowOrBuilder extends com.google.container.v1beta1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder(); /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -42,10 +68,13 @@ public interface MaintenanceWindowOrBuilder extends
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; + * * @return Whether the recurringWindow field is set. */ boolean hasRecurringWindow(); /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -53,10 +82,13 @@ public interface MaintenanceWindowOrBuilder extends
    * 
* * .google.container.v1beta1.RecurringTimeWindow recurring_window = 3; + * * @return The recurringWindow. */ com.google.container.v1beta1.RecurringTimeWindow getRecurringWindow(); /** + * + * *
    * RecurringWindow specifies some number of recurring time periods for
    * maintenance to occur. The time windows may be overlapping. If no
@@ -68,65 +100,75 @@ public interface MaintenanceWindowOrBuilder extends
   com.google.container.v1beta1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder();
 
   /**
+   *
+   *
    * 
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ int getMaintenanceExclusionsCount(); /** + * + * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; - */ - boolean containsMaintenanceExclusions( - java.lang.String key); - /** - * Use {@link #getMaintenanceExclusionsMap()} instead. + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ + boolean containsMaintenanceExclusions(java.lang.String key); + /** Use {@link #getMaintenanceExclusionsMap()} instead. */ @java.lang.Deprecated java.util.Map - getMaintenanceExclusions(); + getMaintenanceExclusions(); /** + * + * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ java.util.Map - getMaintenanceExclusionsMap(); + getMaintenanceExclusionsMap(); /** + * + * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ /* nullable */ -com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( + com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrDefault( java.lang.String key, /* nullable */ -com.google.container.v1beta1.TimeWindow defaultValue); + com.google.container.v1beta1.TimeWindow defaultValue); /** + * + * *
    * Exceptions to maintenance window. Non-emergency maintenance should not
    * occur in these windows.
    * 
* - * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * map<string, .google.container.v1beta1.TimeWindow> maintenance_exclusions = 4; + * */ - - com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow( - java.lang.String key); + com.google.container.v1beta1.TimeWindow getMaintenanceExclusionsOrThrow(java.lang.String key); public com.google.container.v1beta1.MaintenanceWindow.PolicyCase getPolicyCase(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java index fa3bc51e6acc..45f067c6a9a3 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ManagedPrometheusConfig defines the configuration for
  * Google Cloud Managed Service for Prometheus.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.ManagedPrometheusConfig}
  */
-public final class ManagedPrometheusConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ManagedPrometheusConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ManagedPrometheusConfig)
     ManagedPrometheusConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ManagedPrometheusConfig.newBuilder() to construct.
   private ManagedPrometheusConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ManagedPrometheusConfig() {
-  }
+
+  private ManagedPrometheusConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ManagedPrometheusConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ManagedPrometheusConfig.class, com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
+            com.google.container.v1beta1.ManagedPrometheusConfig.class,
+            com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enable Managed Collection.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ManagedPrometheusConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ManagedPrometheusConfig other = (com.google.container.v1beta1.ManagedPrometheusConfig) obj; + com.google.container.v1beta1.ManagedPrometheusConfig other = + (com.google.container.v1beta1.ManagedPrometheusConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,104 +142,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ManagedPrometheusConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ManagedPrometheusConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ManagedPrometheusConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ManagedPrometheusConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ManagedPrometheusConfig defines the configuration for
    * Google Cloud Managed Service for Prometheus.
@@ -227,33 +253,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ManagedPrometheusConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ManagedPrometheusConfig)
       com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ManagedPrometheusConfig.class, com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
+              com.google.container.v1beta1.ManagedPrometheusConfig.class,
+              com.google.container.v1beta1.ManagedPrometheusConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ManagedPrometheusConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -263,9 +288,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor;
     }
 
     @java.lang.Override
@@ -284,7 +309,8 @@ public com.google.container.v1beta1.ManagedPrometheusConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ManagedPrometheusConfig buildPartial() {
-      com.google.container.v1beta1.ManagedPrometheusConfig result = new com.google.container.v1beta1.ManagedPrometheusConfig(this);
+      com.google.container.v1beta1.ManagedPrometheusConfig result =
+          new com.google.container.v1beta1.ManagedPrometheusConfig(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -294,38 +320,39 @@ public com.google.container.v1beta1.ManagedPrometheusConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ManagedPrometheusConfig) {
-        return mergeFrom((com.google.container.v1beta1.ManagedPrometheusConfig)other);
+        return mergeFrom((com.google.container.v1beta1.ManagedPrometheusConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -333,7 +360,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ManagedPrometheusConfig other) {
-      if (other == com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -363,17 +391,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -384,13 +414,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,37 +431,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enable Managed Collection.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -438,12 +477,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ManagedPrometheusConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ManagedPrometheusConfig) private static final com.google.container.v1beta1.ManagedPrometheusConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ManagedPrometheusConfig(); } @@ -452,27 +491,27 @@ public static com.google.container.v1beta1.ManagedPrometheusConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedPrometheusConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedPrometheusConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -487,6 +526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ManagedPrometheusConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java new file mode 100644 index 000000000000..17db836374dd --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ManagedPrometheusConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ManagedPrometheusConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable Managed Collection.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java index ed5ffb90f601..f9a870af4e46 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Master.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Master is the configuration for components on master.
  * 
* * Protobuf type {@code google.container.v1beta1.Master} */ -public final class Master extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Master extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.Master) MasterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Master.newBuilder() to construct. private Master(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Master() { - } + + private Master() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Master(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Master_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Master_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Master.class, com.google.container.v1beta1.Master.Builder.class); + com.google.container.v1beta1.Master.class, + com.google.container.v1beta1.Master.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -78,7 +96,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Master)) { return super.equals(obj); @@ -101,130 +119,135 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Master parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Master parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Master parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Master parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1beta1.Master parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Master parseFrom( 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.Master parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Master parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.Master parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Master parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Master parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Master parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Master parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Master parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.Master prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Master is the configuration for components on master.
    * 
* * Protobuf type {@code google.container.v1beta1.Master} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Master) com.google.container.v1beta1.MasterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Master_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Master_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.Master.class, com.google.container.v1beta1.Master.Builder.class); + com.google.container.v1beta1.Master.class, + com.google.container.v1beta1.Master.Builder.class); } // Construct using com.google.container.v1beta1.Master.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +255,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Master_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_Master_descriptor; } @java.lang.Override @@ -262,38 +285,39 @@ public com.google.container.v1beta1.Master buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.Master) { - return mergeFrom((com.google.container.v1beta1.Master)other); + return mergeFrom((com.google.container.v1beta1.Master) other); } else { super.mergeFrom(other); return this; @@ -328,12 +352,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -343,9 +368,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -355,12 +380,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Master) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Master) private static final com.google.container.v1beta1.Master DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Master(); } @@ -369,27 +394,27 @@ public static com.google.container.v1beta1.Master getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Master parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Master parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -404,6 +429,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Master getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuth.java index 18e0594dcb19..a04b5193e5f6 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * The authentication information for accessing the master endpoint.
  * Authentication can be done using HTTP basic auth or using client
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.MasterAuth}
  */
-public final class MasterAuth extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MasterAuth extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.MasterAuth)
     MasterAuthOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MasterAuth.newBuilder() to construct.
   private MasterAuth(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MasterAuth() {
     username_ = "";
     password_ = "";
@@ -31,32 +49,35 @@ private MasterAuth() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MasterAuth();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_MasterAuth_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.MasterAuth.class, com.google.container.v1beta1.MasterAuth.Builder.class);
+            com.google.container.v1beta1.MasterAuth.class,
+            com.google.container.v1beta1.MasterAuth.Builder.class);
   }
 
   public static final int USERNAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object username_;
   /**
+   *
+   *
    * 
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -68,24 +89,27 @@ protected java.lang.Object newInstance(
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @return The username. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getUsername() { + @java.lang.Deprecated + public java.lang.String getUsername() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** + * + * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -97,18 +121,18 @@ protected java.lang.Object newInstance(
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @return The bytes for username. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getUsernameBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -119,6 +143,8 @@ protected java.lang.Object newInstance( public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -131,24 +157,27 @@ protected java.lang.Object newInstance(
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @return The password. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getPassword() { + @java.lang.Deprecated + public java.lang.String getPassword() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; } } /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -161,18 +190,18 @@ protected java.lang.Object newInstance(
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @return The bytes for password. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getPasswordBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -183,6 +212,8 @@ protected java.lang.Object newInstance( public static final int CLIENT_CERTIFICATE_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1beta1.ClientCertificateConfig clientCertificateConfig_; /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -190,6 +221,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; + * * @return Whether the clientCertificateConfig field is set. */ @java.lang.Override @@ -197,6 +229,8 @@ public boolean hasClientCertificateConfig() { return clientCertificateConfig_ != null; } /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -204,13 +238,18 @@ public boolean hasClientCertificateConfig() {
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; + * * @return The clientCertificateConfig. */ @java.lang.Override public com.google.container.v1beta1.ClientCertificateConfig getClientCertificateConfig() { - return clientCertificateConfig_ == null ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; + return clientCertificateConfig_ == null + ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() + : clientCertificateConfig_; } /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -220,7 +259,8 @@ public com.google.container.v1beta1.ClientCertificateConfig getClientCertificate
    * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
+  public com.google.container.v1beta1.ClientCertificateConfigOrBuilder
+      getClientCertificateConfigOrBuilder() {
     return getClientCertificateConfig();
   }
 
@@ -228,6 +268,7 @@ public com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCe
   private volatile java.lang.Object clusterCaCertificate_;
   /**
    * string cluster_ca_certificate = 100;
+   *
    * @return The clusterCaCertificate.
    */
   @java.lang.Override
@@ -236,8 +277,7 @@ public java.lang.String getClusterCaCertificate() {
     if (ref instanceof java.lang.String) {
       return (java.lang.String) ref;
     } else {
-      com.google.protobuf.ByteString bs = 
-          (com.google.protobuf.ByteString) ref;
+      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
       java.lang.String s = bs.toStringUtf8();
       clusterCaCertificate_ = s;
       return s;
@@ -245,16 +285,15 @@ public java.lang.String getClusterCaCertificate() {
   }
   /**
    * string cluster_ca_certificate = 100;
+   *
    * @return The bytes for clusterCaCertificate.
    */
   @java.lang.Override
-  public com.google.protobuf.ByteString
-      getClusterCaCertificateBytes() {
+  public com.google.protobuf.ByteString getClusterCaCertificateBytes() {
     java.lang.Object ref = clusterCaCertificate_;
     if (ref instanceof java.lang.String) {
-      com.google.protobuf.ByteString b = 
-          com.google.protobuf.ByteString.copyFromUtf8(
-              (java.lang.String) ref);
+      com.google.protobuf.ByteString b =
+          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
       clusterCaCertificate_ = b;
       return b;
     } else {
@@ -265,12 +304,15 @@ public java.lang.String getClusterCaCertificate() {
   public static final int CLIENT_CERTIFICATE_FIELD_NUMBER = 101;
   private volatile java.lang.Object clientCertificate_;
   /**
+   *
+   *
    * 
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The clientCertificate. */ @java.lang.Override @@ -279,30 +321,30 @@ public java.lang.String getClientCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; } } /** + * + * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The bytes for clientCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -313,12 +355,15 @@ public java.lang.String getClientCertificate() { public static final int CLIENT_KEY_FIELD_NUMBER = 102; private volatile java.lang.Object clientKey_; /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The clientKey. */ @java.lang.Override @@ -327,30 +372,30 @@ public java.lang.String getClientKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; } } /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The bytes for clientKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientKey_ = b; return b; } else { @@ -359,6 +404,7 @@ public java.lang.String getClientKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -370,8 +416,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } @@ -406,8 +451,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } if (clientCertificateConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getClientCertificateConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getClientCertificateConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterCaCertificate_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, clusterCaCertificate_); @@ -426,28 +471,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MasterAuth)) { return super.equals(obj); } com.google.container.v1beta1.MasterAuth other = (com.google.container.v1beta1.MasterAuth) obj; - if (!getUsername() - .equals(other.getUsername())) return false; - if (!getPassword() - .equals(other.getPassword())) return false; + if (!getUsername().equals(other.getUsername())) return false; + if (!getPassword().equals(other.getPassword())) return false; if (hasClientCertificateConfig() != other.hasClientCertificateConfig()) return false; if (hasClientCertificateConfig()) { - if (!getClientCertificateConfig() - .equals(other.getClientCertificateConfig())) return false; - } - if (!getClusterCaCertificate() - .equals(other.getClusterCaCertificate())) return false; - if (!getClientCertificate() - .equals(other.getClientCertificate())) return false; - if (!getClientKey() - .equals(other.getClientKey())) return false; + if (!getClientCertificateConfig().equals(other.getClientCertificateConfig())) return false; + } + if (!getClusterCaCertificate().equals(other.getClusterCaCertificate())) return false; + if (!getClientCertificate().equals(other.getClientCertificate())) return false; + if (!getClientKey().equals(other.getClientKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -478,97 +517,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.MasterAuth parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MasterAuth parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuth parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuth parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuth parseFrom( 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.MasterAuth parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuth parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.MasterAuth parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuth parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuth parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MasterAuth parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuth parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.MasterAuth parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuth parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.MasterAuth prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The authentication information for accessing the master endpoint.
    * Authentication can be done using HTTP basic auth or using client
@@ -577,33 +623,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.MasterAuth}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MasterAuth)
       com.google.container.v1beta1.MasterAuthOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.MasterAuth.class, com.google.container.v1beta1.MasterAuth.Builder.class);
+              com.google.container.v1beta1.MasterAuth.class,
+              com.google.container.v1beta1.MasterAuth.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.MasterAuth.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -627,9 +672,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuth_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_MasterAuth_descriptor;
     }
 
     @java.lang.Override
@@ -648,7 +693,8 @@ public com.google.container.v1beta1.MasterAuth build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.MasterAuth buildPartial() {
-      com.google.container.v1beta1.MasterAuth result = new com.google.container.v1beta1.MasterAuth(this);
+      com.google.container.v1beta1.MasterAuth result =
+          new com.google.container.v1beta1.MasterAuth(this);
       result.username_ = username_;
       result.password_ = password_;
       if (clientCertificateConfigBuilder_ == null) {
@@ -667,38 +713,39 @@ public com.google.container.v1beta1.MasterAuth buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.MasterAuth) {
-        return mergeFrom((com.google.container.v1beta1.MasterAuth)other);
+        return mergeFrom((com.google.container.v1beta1.MasterAuth) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -756,44 +803,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              username_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              password_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getClientCertificateConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 802: {
-              clusterCaCertificate_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 802
-            case 810: {
-              clientCertificate_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 810
-            case 818: {
-              clientKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 818
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                username_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                password_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getClientCertificateConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 802:
+              {
+                clusterCaCertificate_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 802
+            case 810:
+              {
+                clientCertificate_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 810
+            case 818:
+              {
+                clientKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 818
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -806,6 +859,8 @@ public Builder mergeFrom(
 
     private java.lang.Object username_ = "";
     /**
+     *
+     *
      * 
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -817,15 +872,16 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @return The username. */ - @java.lang.Deprecated public java.lang.String getUsername() { + @java.lang.Deprecated + public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; @@ -834,6 +890,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -845,17 +903,17 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @return The bytes for username. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getUsernameBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); username_ = b; return b; } else { @@ -863,6 +921,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -874,22 +934,25 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @param value The username to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setUsername( - java.lang.String value) { + @java.lang.Deprecated + public Builder setUsername(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + username_ = value; onChanged(); return this; } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -901,17 +964,21 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearUsername() { - + @java.lang.Deprecated + public Builder clearUsername() { + username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** + * + * *
      * The username to use for HTTP basic authentication to the master endpoint.
      * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -923,18 +990,19 @@ public Builder mergeFrom(
      * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @param value The bytes for username to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setUsernameBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setUsernameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + username_ = value; onChanged(); return this; @@ -942,6 +1010,8 @@ public Builder mergeFrom( private java.lang.Object password_ = ""; /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -954,15 +1024,16 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @return The password. */ - @java.lang.Deprecated public java.lang.String getPassword() { + @java.lang.Deprecated + public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); password_ = s; return s; @@ -971,6 +1042,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -983,17 +1056,17 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @return The bytes for password. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getPasswordBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); password_ = b; return b; } else { @@ -1001,6 +1074,8 @@ public Builder mergeFrom( } } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1013,22 +1088,25 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @param value The password to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPassword( - java.lang.String value) { + @java.lang.Deprecated + public Builder setPassword(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + password_ = value; onChanged(); return this; } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1041,17 +1119,21 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearPassword() { - + @java.lang.Deprecated + public Builder clearPassword() { + password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** + * + * *
      * The password to use for HTTP basic authentication to the master endpoint.
      * Because the master endpoint is open to the Internet, you should create a
@@ -1064,18 +1146,19 @@ public Builder mergeFrom(
      * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @param value The bytes for password to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setPasswordBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setPasswordBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + password_ = value; onChanged(); return this; @@ -1083,8 +1166,13 @@ public Builder mergeFrom( private com.google.container.v1beta1.ClientCertificateConfig clientCertificateConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClientCertificateConfig, com.google.container.v1beta1.ClientCertificateConfig.Builder, com.google.container.v1beta1.ClientCertificateConfigOrBuilder> clientCertificateConfigBuilder_; + com.google.container.v1beta1.ClientCertificateConfig, + com.google.container.v1beta1.ClientCertificateConfig.Builder, + com.google.container.v1beta1.ClientCertificateConfigOrBuilder> + clientCertificateConfigBuilder_; /** + * + * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1092,12 +1180,15 @@ public Builder mergeFrom(
      * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; + * * @return Whether the clientCertificateConfig field is set. */ public boolean hasClientCertificateConfig() { return clientCertificateConfigBuilder_ != null || clientCertificateConfig_ != null; } /** + * + * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1105,16 +1196,21 @@ public boolean hasClientCertificateConfig() {
      * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; + * * @return The clientCertificateConfig. */ public com.google.container.v1beta1.ClientCertificateConfig getClientCertificateConfig() { if (clientCertificateConfigBuilder_ == null) { - return clientCertificateConfig_ == null ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_; + return clientCertificateConfig_ == null + ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() + : clientCertificateConfig_; } else { return clientCertificateConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1123,7 +1219,8 @@ public com.google.container.v1beta1.ClientCertificateConfig getClientCertificate
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder setClientCertificateConfig(com.google.container.v1beta1.ClientCertificateConfig value) {
+    public Builder setClientCertificateConfig(
+        com.google.container.v1beta1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1137,6 +1234,8 @@ public Builder setClientCertificateConfig(com.google.container.v1beta1.ClientCer
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1157,6 +1256,8 @@ public Builder setClientCertificateConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1165,11 +1266,15 @@ public Builder setClientCertificateConfig(
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public Builder mergeClientCertificateConfig(com.google.container.v1beta1.ClientCertificateConfig value) {
+    public Builder mergeClientCertificateConfig(
+        com.google.container.v1beta1.ClientCertificateConfig value) {
       if (clientCertificateConfigBuilder_ == null) {
         if (clientCertificateConfig_ != null) {
           clientCertificateConfig_ =
-            com.google.container.v1beta1.ClientCertificateConfig.newBuilder(clientCertificateConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ClientCertificateConfig.newBuilder(
+                      clientCertificateConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           clientCertificateConfig_ = value;
         }
@@ -1181,6 +1286,8 @@ public Builder mergeClientCertificateConfig(com.google.container.v1beta1.ClientC
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1201,6 +1308,8 @@ public Builder clearClientCertificateConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1209,12 +1318,15 @@ public Builder clearClientCertificateConfig() {
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1beta1.ClientCertificateConfig.Builder getClientCertificateConfigBuilder() {
-      
+    public com.google.container.v1beta1.ClientCertificateConfig.Builder
+        getClientCertificateConfigBuilder() {
+
       onChanged();
       return getClientCertificateConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1223,15 +1335,19 @@ public com.google.container.v1beta1.ClientCertificateConfig.Builder getClientCer
      *
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
-    public com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() {
+    public com.google.container.v1beta1.ClientCertificateConfigOrBuilder
+        getClientCertificateConfigOrBuilder() {
       if (clientCertificateConfigBuilder_ != null) {
         return clientCertificateConfigBuilder_.getMessageOrBuilder();
       } else {
-        return clientCertificateConfig_ == null ?
-            com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance() : clientCertificateConfig_;
+        return clientCertificateConfig_ == null
+            ? com.google.container.v1beta1.ClientCertificateConfig.getDefaultInstance()
+            : clientCertificateConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Configuration for client certificate authentication on the cluster. For
      * clusters before v1.12, if no configuration is specified, a client
@@ -1241,14 +1357,17 @@ public com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCe
      * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ClientCertificateConfig, com.google.container.v1beta1.ClientCertificateConfig.Builder, com.google.container.v1beta1.ClientCertificateConfigOrBuilder> 
+            com.google.container.v1beta1.ClientCertificateConfig,
+            com.google.container.v1beta1.ClientCertificateConfig.Builder,
+            com.google.container.v1beta1.ClientCertificateConfigOrBuilder>
         getClientCertificateConfigFieldBuilder() {
       if (clientCertificateConfigBuilder_ == null) {
-        clientCertificateConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ClientCertificateConfig, com.google.container.v1beta1.ClientCertificateConfig.Builder, com.google.container.v1beta1.ClientCertificateConfigOrBuilder>(
-                getClientCertificateConfig(),
-                getParentForChildren(),
-                isClean());
+        clientCertificateConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ClientCertificateConfig,
+                com.google.container.v1beta1.ClientCertificateConfig.Builder,
+                com.google.container.v1beta1.ClientCertificateConfigOrBuilder>(
+                getClientCertificateConfig(), getParentForChildren(), isClean());
         clientCertificateConfig_ = null;
       }
       return clientCertificateConfigBuilder_;
@@ -1257,13 +1376,13 @@ public com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCe
     private java.lang.Object clusterCaCertificate_ = "";
     /**
      * string cluster_ca_certificate = 100;
+     *
      * @return The clusterCaCertificate.
      */
     public java.lang.String getClusterCaCertificate() {
       java.lang.Object ref = clusterCaCertificate_;
       if (!(ref instanceof java.lang.String)) {
-        com.google.protobuf.ByteString bs =
-            (com.google.protobuf.ByteString) ref;
+        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
         java.lang.String s = bs.toStringUtf8();
         clusterCaCertificate_ = s;
         return s;
@@ -1273,15 +1392,14 @@ public java.lang.String getClusterCaCertificate() {
     }
     /**
      * string cluster_ca_certificate = 100;
+     *
      * @return The bytes for clusterCaCertificate.
      */
-    public com.google.protobuf.ByteString
-        getClusterCaCertificateBytes() {
+    public com.google.protobuf.ByteString getClusterCaCertificateBytes() {
       java.lang.Object ref = clusterCaCertificate_;
       if (ref instanceof String) {
-        com.google.protobuf.ByteString b = 
-            com.google.protobuf.ByteString.copyFromUtf8(
-                (java.lang.String) ref);
+        com.google.protobuf.ByteString b =
+            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
         clusterCaCertificate_ = b;
         return b;
       } else {
@@ -1290,41 +1408,42 @@ public java.lang.String getClusterCaCertificate() {
     }
     /**
      * string cluster_ca_certificate = 100;
+     *
      * @param value The clusterCaCertificate to set.
      * @return This builder for chaining.
      */
-    public Builder setClusterCaCertificate(
-        java.lang.String value) {
+    public Builder setClusterCaCertificate(java.lang.String value) {
       if (value == null) {
-    throw new NullPointerException();
-  }
-  
+        throw new NullPointerException();
+      }
+
       clusterCaCertificate_ = value;
       onChanged();
       return this;
     }
     /**
      * string cluster_ca_certificate = 100;
+     *
      * @return This builder for chaining.
      */
     public Builder clearClusterCaCertificate() {
-      
+
       clusterCaCertificate_ = getDefaultInstance().getClusterCaCertificate();
       onChanged();
       return this;
     }
     /**
      * string cluster_ca_certificate = 100;
+     *
      * @param value The bytes for clusterCaCertificate to set.
      * @return This builder for chaining.
      */
-    public Builder setClusterCaCertificateBytes(
-        com.google.protobuf.ByteString value) {
+    public Builder setClusterCaCertificateBytes(com.google.protobuf.ByteString value) {
       if (value == null) {
-    throw new NullPointerException();
-  }
-  checkByteStringIsUtf8(value);
-      
+        throw new NullPointerException();
+      }
+      checkByteStringIsUtf8(value);
+
       clusterCaCertificate_ = value;
       onChanged();
       return this;
@@ -1332,19 +1451,21 @@ public Builder setClusterCaCertificateBytes(
 
     private java.lang.Object clientCertificate_ = "";
     /**
+     *
+     *
      * 
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientCertificate_ = s; return s; @@ -1353,21 +1474,22 @@ public java.lang.String getClientCertificate() { } } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @return The bytes for clientCertificate. */ - public com.google.protobuf.ByteString - getClientCertificateBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientCertificate_ = b; return b; } else { @@ -1375,57 +1497,64 @@ public java.lang.String getClientCertificate() { } } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @param value The clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificate( - java.lang.String value) { + public Builder setClientCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientCertificate_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @return This builder for chaining. */ public Builder clearClientCertificate() { - + clientCertificate_ = getDefaultInstance().getClientCertificate(); onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded public certificate used by clients to
      * authenticate to the cluster endpoint.
      * 
* * string client_certificate = 101; + * * @param value The bytes for clientCertificate to set. * @return This builder for chaining. */ - public Builder setClientCertificateBytes( - com.google.protobuf.ByteString value) { + public Builder setClientCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientCertificate_ = value; onChanged(); return this; @@ -1433,19 +1562,21 @@ public Builder setClientCertificateBytes( private java.lang.Object clientKey_ = ""; /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientKey_ = s; return s; @@ -1454,21 +1585,22 @@ public java.lang.String getClientKey() { } } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @return The bytes for clientKey. */ - public com.google.protobuf.ByteString - getClientKeyBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clientKey_ = b; return b; } else { @@ -1476,64 +1608,71 @@ public java.lang.String getClientKey() { } } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @param value The clientKey to set. * @return This builder for chaining. */ - public Builder setClientKey( - java.lang.String value) { + public Builder setClientKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientKey_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @return This builder for chaining. */ public Builder clearClientKey() { - + clientKey_ = getDefaultInstance().getClientKey(); onChanged(); return this; } /** + * + * *
      * [Output only] Base64-encoded private key used by clients to authenticate
      * to the cluster endpoint.
      * 
* * string client_key = 102; + * * @param value The bytes for clientKey to set. * @return This builder for chaining. */ - public Builder setClientKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setClientKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientKey_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1543,12 +1682,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MasterAuth) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuth) private static final com.google.container.v1beta1.MasterAuth DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MasterAuth(); } @@ -1557,27 +1696,27 @@ public static com.google.container.v1beta1.MasterAuth getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuth parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuth parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1592,6 +1731,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MasterAuth getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthOrBuilder.java index 1a1ec688e57b..14aefe734dce 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MasterAuthOrBuilder extends +public interface MasterAuthOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MasterAuth) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -19,12 +37,16 @@ public interface MasterAuthOrBuilder extends
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @return The username. */ - @java.lang.Deprecated java.lang.String getUsername(); + @java.lang.Deprecated + java.lang.String getUsername(); /** + * + * *
    * The username to use for HTTP basic authentication to the master endpoint.
    * For clusters v1.6.0 and later, basic authentication can be disabled by
@@ -36,14 +58,17 @@ public interface MasterAuthOrBuilder extends
    * 
* * string username = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1002 + * + * @deprecated google.container.v1beta1.MasterAuth.username is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1002 * @return The bytes for username. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getUsernameBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getUsernameBytes(); /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -56,12 +81,16 @@ public interface MasterAuthOrBuilder extends
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @return The password. */ - @java.lang.Deprecated java.lang.String getPassword(); + @java.lang.Deprecated + java.lang.String getPassword(); /** + * + * *
    * The password to use for HTTP basic authentication to the master endpoint.
    * Because the master endpoint is open to the Internet, you should create a
@@ -74,14 +103,17 @@ public interface MasterAuthOrBuilder extends
    * 
* * string password = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1013 + * + * @deprecated google.container.v1beta1.MasterAuth.password is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=1013 * @return The bytes for password. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getPasswordBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getPasswordBytes(); /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -89,10 +121,13 @@ public interface MasterAuthOrBuilder extends
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; + * * @return Whether the clientCertificateConfig field is set. */ boolean hasClientCertificateConfig(); /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -100,10 +135,13 @@ public interface MasterAuthOrBuilder extends
    * 
* * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3; + * * @return The clientCertificateConfig. */ com.google.container.v1beta1.ClientCertificateConfig getClientCertificateConfig(); /** + * + * *
    * Configuration for client certificate authentication on the cluster. For
    * clusters before v1.12, if no configuration is specified, a client
@@ -112,61 +150,73 @@ public interface MasterAuthOrBuilder extends
    *
    * .google.container.v1beta1.ClientCertificateConfig client_certificate_config = 3;
    */
-  com.google.container.v1beta1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder();
+  com.google.container.v1beta1.ClientCertificateConfigOrBuilder
+      getClientCertificateConfigOrBuilder();
 
   /**
    * string cluster_ca_certificate = 100;
+   *
    * @return The clusterCaCertificate.
    */
   java.lang.String getClusterCaCertificate();
   /**
    * string cluster_ca_certificate = 100;
+   *
    * @return The bytes for clusterCaCertificate.
    */
-  com.google.protobuf.ByteString
-      getClusterCaCertificateBytes();
+  com.google.protobuf.ByteString getClusterCaCertificateBytes();
 
   /**
+   *
+   *
    * 
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The clientCertificate. */ java.lang.String getClientCertificate(); /** + * + * *
    * [Output only] Base64-encoded public certificate used by clients to
    * authenticate to the cluster endpoint.
    * 
* * string client_certificate = 101; + * * @return The bytes for clientCertificate. */ - com.google.protobuf.ByteString - getClientCertificateBytes(); + com.google.protobuf.ByteString getClientCertificateBytes(); /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The clientKey. */ java.lang.String getClientKey(); /** + * + * *
    * [Output only] Base64-encoded private key used by clients to authenticate
    * to the cluster endpoint.
    * 
* * string client_key = 102; + * * @return The bytes for clientKey. */ - com.google.protobuf.ByteString - getClientKeyBytes(); + com.google.protobuf.ByteString getClientKeyBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java index b360c81dccc0..0b0c8505f6bb 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration options for the master authorized networks feature. Enabled
  * master authorized networks will disallow all external traffic to access
@@ -13,104 +30,121 @@
  *
  * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig}
  */
-public final class MasterAuthorizedNetworksConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MasterAuthorizedNetworksConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig)
     MasterAuthorizedNetworksConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MasterAuthorizedNetworksConfig.newBuilder() to construct.
-  private MasterAuthorizedNetworksConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private MasterAuthorizedNetworksConfig(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MasterAuthorizedNetworksConfig() {
     cidrBlocks_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MasterAuthorizedNetworksConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
+            com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class,
+            com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
   }
 
-  public interface CidrBlockOrBuilder extends
+  public interface CidrBlockOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The cidrBlock. */ java.lang.String getCidrBlock(); /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The bytes for cidrBlock. */ - com.google.protobuf.ByteString - getCidrBlockBytes(); + com.google.protobuf.ByteString getCidrBlockBytes(); } /** + * + * *
    * CidrBlock contains an optional name and one CIDR block.
    * 
* * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class CidrBlock extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CidrBlock extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) CidrBlockOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CidrBlock.newBuilder() to construct. private CidrBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CidrBlock() { displayName_ = ""; cidrBlock_ = ""; @@ -118,37 +152,41 @@ private CidrBlock() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CidrBlock(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object displayName_; /** + * + * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -157,29 +195,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
      * display_name is an optional field for users to identify CIDR blocks.
      * 
* * string display_name = 1; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -190,11 +228,14 @@ public java.lang.String getDisplayName() { public static final int CIDR_BLOCK_FIELD_NUMBER = 2; private volatile java.lang.Object cidrBlock_; /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The cidrBlock. */ @java.lang.Override @@ -203,29 +244,29 @@ public java.lang.String getCidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; } } /** + * + * *
      * cidr_block must be specified in CIDR notation.
      * 
* * string cidr_block = 2; + * * @return The bytes for cidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getCidrBlockBytes() { + public com.google.protobuf.ByteString getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -234,6 +275,7 @@ public java.lang.String getCidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +287,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -276,17 +317,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock)) { return super.equals(obj); } - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other = (com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) obj; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other = + (com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getCidrBlock() - .equals(other.getCidrBlock())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getCidrBlock().equals(other.getCidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -308,87 +348,95 @@ public int hashCode() { } public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock 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.MasterAuthorizedNetworksConfig.CidrBlock + 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.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -398,39 +446,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * CidrBlock contains an optional name and one CIDR block.
      * 
* * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder.class); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.class, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + .class); } - // Construct using com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -442,19 +494,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; } @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { - return com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance(); + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + getDefaultInstanceForType() { + return com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock build() { - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = buildPartial(); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -463,7 +518,8 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock bui @java.lang.Override public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock buildPartial() { - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(this); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock result = + new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(this); result.displayName_ = displayName_; result.cidrBlock_ = cidrBlock_; onBuilt(); @@ -474,46 +530,54 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.MasterAuthorizedNetworksConfig.CidrBlock) { - return mergeFrom((com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock)other); + if (other + instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) { + return mergeFrom( + (com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other) { - if (other == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock other) { + if (other + == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance()) return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; onChanged(); @@ -548,22 +612,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - cidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + cidrBlock_ = input.readStringRequireUtf8(); + + 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) { @@ -576,18 +643,20 @@ public Builder mergeFrom( private java.lang.Object displayName_ = ""; /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -596,20 +665,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -617,54 +687,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
        * display_name is an optional field for users to identify CIDR blocks.
        * 
* * string display_name = 1; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -672,18 +749,20 @@ public Builder setDisplayNameBytes( private java.lang.Object cidrBlock_ = ""; /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @return The cidrBlock. */ public java.lang.String getCidrBlock() { java.lang.Object ref = cidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cidrBlock_ = s; return s; @@ -692,20 +771,21 @@ public java.lang.String getCidrBlock() { } } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @return The bytes for cidrBlock. */ - public com.google.protobuf.ByteString - getCidrBlockBytes() { + public com.google.protobuf.ByteString getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cidrBlock_ = b; return b; } else { @@ -713,58 +793,66 @@ public java.lang.String getCidrBlock() { } } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @param value The cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlock( - java.lang.String value) { + public Builder setCidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cidrBlock_ = value; onChanged(); return this; } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @return This builder for chaining. */ public Builder clearCidrBlock() { - + cidrBlock_ = getDefaultInstance().getCidrBlock(); onChanged(); return this; } /** + * + * *
        * cidr_block must be specified in CIDR notation.
        * 
* * string cidr_block = 2; + * * @param value The bytes for cidrBlock to set. * @return This builder for chaining. */ - public Builder setCidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setCidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cidrBlock_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -777,41 +865,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock) - private static final com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(); + DEFAULT_INSTANCE = + new com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock(); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstance() { + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CidrBlock parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CidrBlock parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,21 +915,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getDefaultInstanceForType() { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -846,78 +941,105 @@ public boolean getEnabled() { } public static final int CIDR_BLOCKS_FIELD_NUMBER = 2; - private java.util.List cidrBlocks_; + private java.util.List + cidrBlocks_; /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override - public java.util.List getCidrBlocksList() { + public java.util.List + getCidrBlocksList() { return cidrBlocks_; } /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList() { return cidrBlocks_; } /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override public int getCidrBlocksCount() { return cidrBlocks_.size(); } /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks( + int index) { return cidrBlocks_.get(index); } /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ @java.lang.Override - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( - int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder + getCidrBlocksOrBuilder(int index) { return cidrBlocks_.get(index); } public static final int GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER = 3; private boolean gcpPublicCidrsAccessEnabled_; /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -925,11 +1047,14 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -938,6 +1063,7 @@ public boolean getGcpPublicCidrsAccessEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -949,8 +1075,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -970,16 +1095,14 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } for (int i = 0; i < cidrBlocks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, cidrBlocks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, cidrBlocks_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, gcpPublicCidrsAccessEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, gcpPublicCidrsAccessEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -989,21 +1112,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig)) { return super.equals(obj); } - com.google.container.v1beta1.MasterAuthorizedNetworksConfig other = (com.google.container.v1beta1.MasterAuthorizedNetworksConfig) obj; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig other = + (com.google.container.v1beta1.MasterAuthorizedNetworksConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (!getCidrBlocksList() - .equals(other.getCidrBlocksList())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getCidrBlocksList().equals(other.getCidrBlocksList())) return false; if (hasGcpPublicCidrsAccessEnabled() != other.hasGcpPublicCidrsAccessEnabled()) return false; if (hasGcpPublicCidrsAccessEnabled()) { - if (getGcpPublicCidrsAccessEnabled() - != other.getGcpPublicCidrsAccessEnabled()) return false; + if (getGcpPublicCidrsAccessEnabled() != other.getGcpPublicCidrsAccessEnabled()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1017,16 +1138,15 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); if (getCidrBlocksCount() > 0) { hash = (37 * hash) + CIDR_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + getCidrBlocksList().hashCode(); } if (hasGcpPublicCidrsAccessEnabled()) { hash = (37 * hash) + GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getGcpPublicCidrsAccessEnabled()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getGcpPublicCidrsAccessEnabled()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1034,96 +1154,104 @@ public int hashCode() { } public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( 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.MasterAuthorizedNetworksConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MasterAuthorizedNetworksConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the master authorized networks feature. Enabled
    * master authorized networks will disallow all external traffic to access
@@ -1133,33 +1261,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.MasterAuthorizedNetworksConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MasterAuthorizedNetworksConfig)
       com.google.container.v1beta1.MasterAuthorizedNetworksConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
+              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.class,
+              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.MasterAuthorizedNetworksConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1178,9 +1305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor;
     }
 
     @java.lang.Override
@@ -1199,7 +1326,8 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.MasterAuthorizedNetworksConfig buildPartial() {
-      com.google.container.v1beta1.MasterAuthorizedNetworksConfig result = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig(this);
+      com.google.container.v1beta1.MasterAuthorizedNetworksConfig result =
+          new com.google.container.v1beta1.MasterAuthorizedNetworksConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.enabled_ = enabled_;
@@ -1225,38 +1353,39 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.MasterAuthorizedNetworksConfig) {
-        return mergeFrom((com.google.container.v1beta1.MasterAuthorizedNetworksConfig)other);
+        return mergeFrom((com.google.container.v1beta1.MasterAuthorizedNetworksConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1264,7 +1393,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.MasterAuthorizedNetworksConfig other) {
-      if (other == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.MasterAuthorizedNetworksConfig.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -1286,9 +1416,10 @@ public Builder mergeFrom(com.google.container.v1beta1.MasterAuthorizedNetworksCo
             cidrBlocksBuilder_ = null;
             cidrBlocks_ = other.cidrBlocks_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cidrBlocksBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCidrBlocksFieldBuilder() : null;
+            cidrBlocksBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCidrBlocksFieldBuilder()
+                    : null;
           } else {
             cidrBlocksBuilder_.addAllMessages(other.cidrBlocks_);
           }
@@ -1323,35 +1454,40 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
+            case 8:
+              {
+                enabled_ = input.readBool();
 
-              break;
-            } // case 8
-            case 18: {
-              com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock m =
-                  input.readMessage(
-                      com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.parser(),
-                      extensionRegistry);
-              if (cidrBlocksBuilder_ == null) {
-                ensureCidrBlocksIsMutable();
-                cidrBlocks_.add(m);
-              } else {
-                cidrBlocksBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            case 24: {
-              gcpPublicCidrsAccessEnabled_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 8
+            case 18:
+              {
+                com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock m =
+                    input.readMessage(
+                        com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock
+                            .parser(),
+                        extensionRegistry);
+                if (cidrBlocksBuilder_ == null) {
+                  ensureCidrBlocksIsMutable();
+                  cidrBlocks_.add(m);
+                } else {
+                  cidrBlocksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+            case 24:
+              {
+                gcpPublicCidrsAccessEnabled_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1361,15 +1497,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -1377,56 +1517,73 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether or not master authorized networks is enabled.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private java.util.List cidrBlocks_ = - java.util.Collections.emptyList(); + private java.util.List + cidrBlocks_ = java.util.Collections.emptyList(); + private void ensureCidrBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - cidrBlocks_ = new java.util.ArrayList(cidrBlocks_); + cidrBlocks_ = + new java.util.ArrayList< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock>(cidrBlocks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> cidrBlocksBuilder_; + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + cidrBlocksBuilder_; /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public java.util.List getCidrBlocksList() { + public java.util.List + getCidrBlocksList() { if (cidrBlocksBuilder_ == null) { return java.util.Collections.unmodifiableList(cidrBlocks_); } else { @@ -1434,12 +1591,16 @@ public java.util.List * cidr_blocks define up to 10 external networks that could access * Kubernetes master through HTTPS. *
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public int getCidrBlocksCount() { if (cidrBlocksBuilder_ == null) { @@ -1449,14 +1610,19 @@ public int getCidrBlocksCount() { } } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks( + int index) { if (cidrBlocksBuilder_ == null) { return cidrBlocks_.get(index); } else { @@ -1464,12 +1630,16 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock get } } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder setCidrBlocks( int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1486,15 +1656,21 @@ public Builder setCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder setCidrBlocks( - int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { + int index, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.set(index, builderForValue.build()); @@ -1505,14 +1681,19 @@ public Builder setCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public Builder addCidrBlocks(com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { + public Builder addCidrBlocks( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { if (cidrBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1526,12 +1707,16 @@ public Builder addCidrBlocks(com.google.container.v1beta1.MasterAuthorizedNetwor return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addCidrBlocks( int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock value) { @@ -1548,15 +1733,20 @@ public Builder addCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addCidrBlocks( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.add(builderForValue.build()); @@ -1567,15 +1757,21 @@ public Builder addCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addCidrBlocks( - int index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue) { + int index, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + builderForValue) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); cidrBlocks_.add(index, builderForValue.build()); @@ -1586,19 +1782,24 @@ public Builder addCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder addAllCidrBlocks( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock> + values) { if (cidrBlocksBuilder_ == null) { ensureCidrBlocksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cidrBlocks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cidrBlocks_); onChanged(); } else { cidrBlocksBuilder_.addAllMessages(values); @@ -1606,12 +1807,16 @@ public Builder addAllCidrBlocks( return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder clearCidrBlocks() { if (cidrBlocksBuilder_ == null) { @@ -1624,12 +1829,16 @@ public Builder clearCidrBlocks() { return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ public Builder removeCidrBlocks(int index) { if (cidrBlocksBuilder_ == null) { @@ -1642,42 +1851,57 @@ public Builder removeCidrBlocks(int index) { return this; } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder( - int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + getCidrBlocksBuilder(int index) { return getCidrBlocksFieldBuilder().getBuilder(index); } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( - int index) { + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder + getCidrBlocksOrBuilder(int index) { if (cidrBlocksBuilder_ == null) { - return cidrBlocks_.get(index); } else { + return cidrBlocks_.get(index); + } else { return cidrBlocksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public java.util.List - getCidrBlocksOrBuilderList() { + public java.util.List< + ? extends + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + getCidrBlocksOrBuilderList() { if (cidrBlocksBuilder_ != null) { return cidrBlocksBuilder_.getMessageOrBuilderList(); } else { @@ -1685,64 +1909,89 @@ public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBu } } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder() { - return getCidrBlocksFieldBuilder().addBuilder( - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + addCidrBlocksBuilder() { + return getCidrBlocksFieldBuilder() + .addBuilder( + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance()); } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder( - int index) { - return getCidrBlocksFieldBuilder().addBuilder( - index, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.getDefaultInstance()); + public com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder + addCidrBlocksBuilder(int index) { + return getCidrBlocksFieldBuilder() + .addBuilder( + index, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock + .getDefaultInstance()); } /** + * + * *
      * cidr_blocks define up to 10 external networks that could access
      * Kubernetes master through HTTPS.
      * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - public java.util.List - getCidrBlocksBuilderList() { + public java.util.List< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder> + getCidrBlocksBuilderList() { return getCidrBlocksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksFieldBuilder() { if (cidrBlocksBuilder_ == null) { - cidrBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( - cidrBlocks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + cidrBlocksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock.Builder, + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>( + cidrBlocks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); cidrBlocks_ = null; } return cidrBlocksBuilder_; } - private boolean gcpPublicCidrsAccessEnabled_ ; + private boolean gcpPublicCidrsAccessEnabled_; /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ @java.lang.Override @@ -1750,11 +1999,14 @@ public boolean hasGcpPublicCidrsAccessEnabled() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return The gcpPublicCidrsAccessEnabled. */ @java.lang.Override @@ -1762,11 +2014,14 @@ public boolean getGcpPublicCidrsAccessEnabled() { return gcpPublicCidrsAccessEnabled_; } /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @param value The gcpPublicCidrsAccessEnabled to set. * @return This builder for chaining. */ @@ -1777,11 +2032,14 @@ public Builder setGcpPublicCidrsAccessEnabled(boolean value) { return this; } /** + * + * *
      * Whether master is accessbile via Google Compute Engine Public IP addresses.
      * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return This builder for chaining. */ public Builder clearGcpPublicCidrsAccessEnabled() { @@ -1790,9 +2048,9 @@ public Builder clearGcpPublicCidrsAccessEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1802,12 +2060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MasterAuthorizedNetworksConfig) private static final com.google.container.v1beta1.MasterAuthorizedNetworksConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MasterAuthorizedNetworksConfig(); } @@ -1816,27 +2074,27 @@ public static com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MasterAuthorizedNetworksConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MasterAuthorizedNetworksConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1851,6 +2109,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.MasterAuthorizedNetworksConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java similarity index 57% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java index fcef0f91293e..60afbc078429 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterAuthorizedNetworksConfigOrBuilder.java @@ -1,86 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface MasterAuthorizedNetworksConfigOrBuilder extends +public interface MasterAuthorizedNetworksConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MasterAuthorizedNetworksConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether or not master authorized networks is enabled.
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - java.util.List + java.util.List getCidrBlocksList(); /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index); /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ int getCidrBlocksCount(); /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList(); /** + * + * *
    * cidr_blocks define up to 10 external networks that could access
    * Kubernetes master through HTTPS.
    * 
* - * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * + * repeated .google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; + * */ - com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder( - int index); + com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder + getCidrBlocksOrBuilder(int index); /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return Whether the gcpPublicCidrsAccessEnabled field is set. */ boolean hasGcpPublicCidrsAccessEnabled(); /** + * + * *
    * Whether master is accessbile via Google Compute Engine Public IP addresses.
    * 
* * optional bool gcp_public_cidrs_access_enabled = 3; + * * @return The gcpPublicCidrsAccessEnabled. */ boolean getGcpPublicCidrsAccessEnabled(); diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java new file mode 100644 index 000000000000..85a303c7bbbe --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface MasterOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Master) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java index 25f0068b49a5..8b677c36a967 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraint.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Constraints applied to pods.
  * 
* * Protobuf type {@code google.container.v1beta1.MaxPodsConstraint} */ -public final class MaxPodsConstraint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MaxPodsConstraint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MaxPodsConstraint) MaxPodsConstraintOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MaxPodsConstraint.newBuilder() to construct. private MaxPodsConstraint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MaxPodsConstraint() { - } + + private MaxPodsConstraint() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MaxPodsConstraint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaxPodsConstraint.class, com.google.container.v1beta1.MaxPodsConstraint.Builder.class); + com.google.container.v1beta1.MaxPodsConstraint.class, + com.google.container.v1beta1.MaxPodsConstraint.Builder.class); } public static final int MAX_PODS_PER_NODE_FIELD_NUMBER = 1; private long maxPodsPerNode_; /** + * + * *
    * Constraint enforced on the max num of pods per node.
    * 
* * int64 max_pods_per_node = 1; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -63,6 +84,7 @@ public long getMaxPodsPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxPodsPerNode_ != 0L) { output.writeInt64(1, maxPodsPerNode_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (maxPodsPerNode_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, maxPodsPerNode_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxPodsPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MaxPodsConstraint)) { return super.equals(obj); } - com.google.container.v1beta1.MaxPodsConstraint other = (com.google.container.v1beta1.MaxPodsConstraint) obj; + com.google.container.v1beta1.MaxPodsConstraint other = + (com.google.container.v1beta1.MaxPodsConstraint) obj; - if (getMaxPodsPerNode() - != other.getMaxPodsPerNode()) return false; + if (getMaxPodsPerNode() != other.getMaxPodsPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MAX_PODS_PER_NODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxPodsPerNode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxPodsPerNode()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MaxPodsConstraint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MaxPodsConstraint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaxPodsConstraint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MaxPodsConstraint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.MaxPodsConstraint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Constraints applied to pods.
    * 
* * Protobuf type {@code google.container.v1beta1.MaxPodsConstraint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MaxPodsConstraint) com.google.container.v1beta1.MaxPodsConstraintOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MaxPodsConstraint.class, com.google.container.v1beta1.MaxPodsConstraint.Builder.class); + com.google.container.v1beta1.MaxPodsConstraint.class, + com.google.container.v1beta1.MaxPodsConstraint.Builder.class); } // Construct using com.google.container.v1beta1.MaxPodsConstraint.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.MaxPodsConstraint build() { @java.lang.Override public com.google.container.v1beta1.MaxPodsConstraint buildPartial() { - com.google.container.v1beta1.MaxPodsConstraint result = new com.google.container.v1beta1.MaxPodsConstraint(this); + com.google.container.v1beta1.MaxPodsConstraint result = + new com.google.container.v1beta1.MaxPodsConstraint(this); result.maxPodsPerNode_ = maxPodsPerNode_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.MaxPodsConstraint buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MaxPodsConstraint) { - return mergeFrom((com.google.container.v1beta1.MaxPodsConstraint)other); + return mergeFrom((com.google.container.v1beta1.MaxPodsConstraint) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - maxPodsPerNode_ = input.readInt64(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + maxPodsPerNode_ = input.readInt64(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private long maxPodsPerNode_ ; + private long maxPodsPerNode_; /** + * + * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; + * * @return The maxPodsPerNode. */ @java.lang.Override @@ -396,37 +428,43 @@ public long getMaxPodsPerNode() { return maxPodsPerNode_; } /** + * + * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; + * * @param value The maxPodsPerNode to set. * @return This builder for chaining. */ public Builder setMaxPodsPerNode(long value) { - + maxPodsPerNode_ = value; onChanged(); return this; } /** + * + * *
      * Constraint enforced on the max num of pods per node.
      * 
* * int64 max_pods_per_node = 1; + * * @return This builder for chaining. */ public Builder clearMaxPodsPerNode() { - + maxPodsPerNode_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MaxPodsConstraint) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MaxPodsConstraint) private static final com.google.container.v1beta1.MaxPodsConstraint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MaxPodsConstraint(); } @@ -450,27 +488,27 @@ public static com.google.container.v1beta1.MaxPodsConstraint getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MaxPodsConstraint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MaxPodsConstraint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.MaxPodsConstraint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java new file mode 100644 index 000000000000..13ada7162cd1 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface MaxPodsConstraintOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaxPodsConstraint) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Constraint enforced on the max num of pods per node.
+   * 
+ * + * int64 max_pods_per_node = 1; + * + * @return The maxPodsPerNode. + */ + long getMaxPodsPerNode(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java index f2dd7bbb0d6d..fa31bea117f6 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificates.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
  * 
* * Protobuf type {@code google.container.v1beta1.MeshCertificates} */ -public final class MeshCertificates extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MeshCertificates extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MeshCertificates) MeshCertificatesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MeshCertificates.newBuilder() to construct. private MeshCertificates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MeshCertificates() { - } + + private MeshCertificates() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MeshCertificates(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MeshCertificates.class, com.google.container.v1beta1.MeshCertificates.Builder.class); + com.google.container.v1beta1.MeshCertificates.class, + com.google.container.v1beta1.MeshCertificates.Builder.class); } public static final int ENABLE_CERTIFICATES_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableCertificates_; /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -61,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ @java.lang.Override @@ -68,6 +89,8 @@ public boolean hasEnableCertificates() { return enableCertificates_ != null; } /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -79,13 +102,18 @@ public boolean hasEnableCertificates() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ @java.lang.Override public com.google.protobuf.BoolValue getEnableCertificates() { - return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; + return enableCertificates_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableCertificates_; } /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -104,6 +132,7 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -115,8 +144,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (enableCertificates_ != null) {
       output.writeMessage(1, getEnableCertificates());
     }
@@ -130,8 +158,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEnableCertificates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableCertificates());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -141,17 +168,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.MeshCertificates)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.MeshCertificates other = (com.google.container.v1beta1.MeshCertificates) obj;
+    com.google.container.v1beta1.MeshCertificates other =
+        (com.google.container.v1beta1.MeshCertificates) obj;
 
     if (hasEnableCertificates() != other.hasEnableCertificates()) return false;
     if (hasEnableCertificates()) {
-      if (!getEnableCertificates()
-          .equals(other.getEnableCertificates())) return false;
+      if (!getEnableCertificates().equals(other.getEnableCertificates())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -173,130 +200,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.MeshCertificates parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.MeshCertificates parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
       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.MeshCertificates parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.MeshCertificates parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.MeshCertificates parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.MeshCertificates parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.MeshCertificates prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
    * 
* * Protobuf type {@code google.container.v1beta1.MeshCertificates} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MeshCertificates) com.google.container.v1beta1.MeshCertificatesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MeshCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MeshCertificates.class, com.google.container.v1beta1.MeshCertificates.Builder.class); + com.google.container.v1beta1.MeshCertificates.class, + com.google.container.v1beta1.MeshCertificates.Builder.class); } // Construct using com.google.container.v1beta1.MeshCertificates.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MeshCertificates_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MeshCertificates_descriptor; } @java.lang.Override @@ -331,7 +364,8 @@ public com.google.container.v1beta1.MeshCertificates build() { @java.lang.Override public com.google.container.v1beta1.MeshCertificates buildPartial() { - com.google.container.v1beta1.MeshCertificates result = new com.google.container.v1beta1.MeshCertificates(this); + com.google.container.v1beta1.MeshCertificates result = + new com.google.container.v1beta1.MeshCertificates(this); if (enableCertificatesBuilder_ == null) { result.enableCertificates_ = enableCertificates_; } else { @@ -345,38 +379,39 @@ public com.google.container.v1beta1.MeshCertificates buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MeshCertificates) { - return mergeFrom((com.google.container.v1beta1.MeshCertificates)other); + return mergeFrom((com.google.container.v1beta1.MeshCertificates) other); } else { super.mergeFrom(other); return this; @@ -414,19 +449,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEnableCertificatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getEnableCertificatesFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -439,8 +475,13 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableCertificatesBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enableCertificatesBuilder_; /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -452,12 +493,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ public boolean hasEnableCertificates() { return enableCertificatesBuilder_ != null || enableCertificates_ != null; } /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -469,16 +513,21 @@ public boolean hasEnableCertificates() {
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ public com.google.protobuf.BoolValue getEnableCertificates() { if (enableCertificatesBuilder_ == null) { - return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; + return enableCertificates_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableCertificates_; } else { return enableCertificatesBuilder_.getMessage(); } } /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -505,6 +554,8 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -517,8 +568,7 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
-    public Builder setEnableCertificates(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableCertificatesBuilder_ == null) {
         enableCertificates_ = builderForValue.build();
         onChanged();
@@ -529,6 +579,8 @@ public Builder setEnableCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -545,7 +597,9 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       if (enableCertificatesBuilder_ == null) {
         if (enableCertificates_ != null) {
           enableCertificates_ =
-            com.google.protobuf.BoolValue.newBuilder(enableCertificates_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(enableCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           enableCertificates_ = value;
         }
@@ -557,6 +611,8 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -581,6 +637,8 @@ public Builder clearEnableCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -594,11 +652,13 @@ public Builder clearEnableCertificates() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableCertificatesBuilder() {
-      
+
       onChanged();
       return getEnableCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -615,11 +675,14 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
       if (enableCertificatesBuilder_ != null) {
         return enableCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return enableCertificates_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_;
+        return enableCertificates_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : enableCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -633,21 +696,24 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getEnableCertificatesFieldBuilder() {
       if (enableCertificatesBuilder_ == null) {
-        enableCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getEnableCertificates(),
-                getParentForChildren(),
-                isClean());
+        enableCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getEnableCertificates(), getParentForChildren(), isClean());
         enableCertificates_ = null;
       }
       return enableCertificatesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -657,12 +723,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MeshCertificates)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.MeshCertificates)
   private static final com.google.container.v1beta1.MeshCertificates DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.MeshCertificates();
   }
@@ -671,27 +737,27 @@ public static com.google.container.v1beta1.MeshCertificates getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MeshCertificates parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MeshCertificates parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -706,6 +772,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.MeshCertificates getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
similarity index 75%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
index d4063c2d5cb7..096f7abaa563 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MeshCertificatesOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface MeshCertificatesOrBuilder extends
+public interface MeshCertificatesOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MeshCertificates)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -19,10 +37,13 @@ public interface MeshCertificatesOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ boolean hasEnableCertificates(); /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -34,10 +55,13 @@ public interface MeshCertificatesOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ com.google.protobuf.BoolValue getEnableCertificates(); /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
similarity index 65%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
index e91d0ad1ab7c..f3895b280157 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfig.java
@@ -1,63 +1,85 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * MonitoringComponentConfig is cluster monitoring component configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.MonitoringComponentConfig} */ -public final class MonitoringComponentConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MonitoringComponentConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MonitoringComponentConfig) MonitoringComponentConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MonitoringComponentConfig.newBuilder() to construct. private MonitoringComponentConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MonitoringComponentConfig() { enableComponents_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MonitoringComponentConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringComponentConfig.class, com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); + com.google.container.v1beta1.MonitoringComponentConfig.class, + com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); } /** + * + * *
    * GKE components exposing metrics
    * 
* * Protobuf enum {@code google.container.v1beta1.MonitoringComponentConfig.Component} */ - public enum Component - implements com.google.protobuf.ProtocolMessageEnum { + public enum Component implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -66,6 +88,8 @@ public enum Component */ COMPONENT_UNSPECIFIED(0), /** + * + * *
      * system components
      * 
@@ -74,6 +98,8 @@ public enum Component */ SYSTEM_COMPONENTS(1), /** + * + * *
      * Deprecated: Use Google Cloud Managed Service for Prometheus.
      * 
@@ -83,6 +109,8 @@ public enum Component @java.lang.Deprecated WORKLOADS(2), /** + * + * *
      * kube-apiserver
      * 
@@ -91,6 +119,8 @@ public enum Component */ APISERVER(3), /** + * + * *
      * kube-scheduler
      * 
@@ -99,6 +129,8 @@ public enum Component */ SCHEDULER(4), /** + * + * *
      * kube-controller-manager
      * 
@@ -110,6 +142,8 @@ public enum Component ; /** + * + * *
      * Default value. This shouldn't be used.
      * 
@@ -118,6 +152,8 @@ public enum Component */ public static final int COMPONENT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * system components
      * 
@@ -126,6 +162,8 @@ public enum Component */ public static final int SYSTEM_COMPONENTS_VALUE = 1; /** + * + * *
      * Deprecated: Use Google Cloud Managed Service for Prometheus.
      * 
@@ -134,6 +172,8 @@ public enum Component */ @java.lang.Deprecated public static final int WORKLOADS_VALUE = 2; /** + * + * *
      * kube-apiserver
      * 
@@ -142,6 +182,8 @@ public enum Component */ public static final int APISERVER_VALUE = 3; /** + * + * *
      * kube-scheduler
      * 
@@ -150,6 +192,8 @@ public enum Component */ public static final int SCHEDULER_VALUE = 4; /** + * + * *
      * kube-controller-manager
      * 
@@ -158,7 +202,6 @@ public enum Component */ public static final int CONTROLLER_MANAGER_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -183,52 +226,57 @@ public static Component valueOf(int value) { */ public static Component forNumber(int value) { switch (value) { - case 0: return COMPONENT_UNSPECIFIED; - case 1: return SYSTEM_COMPONENTS; - case 2: return WORKLOADS; - case 3: return APISERVER; - case 4: return SCHEDULER; - case 5: return CONTROLLER_MANAGER; - default: return null; + case 0: + return COMPONENT_UNSPECIFIED; + case 1: + return SYSTEM_COMPONENTS; + case 2: + return WORKLOADS; + case 3: + return APISERVER; + case 4: + return SCHEDULER; + case 5: + return CONTROLLER_MANAGER; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Component> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Component findValueByNumber(int number) { - return Component.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Component findValueByNumber(int number) { + return Component.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1beta1.MonitoringComponentConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.MonitoringComponentConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final Component[] VALUES = values(); - public static Component valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -248,36 +296,54 @@ private Component(int value) { public static final int ENABLE_COMPONENTS_FIELD_NUMBER = 1; private java.util.List enableComponents_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component> enableComponents_converter_ = + java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component> + enableComponents_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>() { - public com.google.container.v1beta1.MonitoringComponentConfig.Component convert(java.lang.Integer from) { + java.lang.Integer, + com.google.container.v1beta1.MonitoringComponentConfig.Component>() { + public com.google.container.v1beta1.MonitoringComponentConfig.Component convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.container.v1beta1.MonitoringComponentConfig.Component result = com.google.container.v1beta1.MonitoringComponentConfig.Component.valueOf(from); - return result == null ? com.google.container.v1beta1.MonitoringComponentConfig.Component.UNRECOGNIZED : result; + com.google.container.v1beta1.MonitoringComponentConfig.Component result = + com.google.container.v1beta1.MonitoringComponentConfig.Component.valueOf(from); + return result == null + ? com.google.container.v1beta1.MonitoringComponentConfig.Component.UNRECOGNIZED + : result; } }; /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ @java.lang.Override - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ @java.lang.Override @@ -285,40 +351,55 @@ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ @java.lang.Override - public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents(int index) { + public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ @java.lang.Override - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return enableComponents_; } /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -326,9 +407,11 @@ public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnabl public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } + private int enableComponentsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,8 +423,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getEnableComponentsList().size() > 0) { output.writeUInt32NoTag(10); @@ -362,14 +444,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < enableComponents_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(enableComponents_.get(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(enableComponents_.get(i)); } size += dataSize; - if (!getEnableComponentsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }enableComponentsMemoizedSerializedSize = dataSize; + if (!getEnableComponentsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + enableComponentsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -379,12 +462,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.MonitoringComponentConfig)) { return super.equals(obj); } - com.google.container.v1beta1.MonitoringComponentConfig other = (com.google.container.v1beta1.MonitoringComponentConfig) obj; + com.google.container.v1beta1.MonitoringComponentConfig other = + (com.google.container.v1beta1.MonitoringComponentConfig) obj; if (!enableComponents_.equals(other.enableComponents_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -408,129 +492,136 @@ public int hashCode() { } public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.MonitoringComponentConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( 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.MonitoringComponentConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.MonitoringComponentConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.MonitoringComponentConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MonitoringComponentConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.MonitoringComponentConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.MonitoringComponentConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.MonitoringComponentConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * MonitoringComponentConfig is cluster monitoring component configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.MonitoringComponentConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MonitoringComponentConfig) com.google.container.v1beta1.MonitoringComponentConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringComponentConfig.class, com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); + com.google.container.v1beta1.MonitoringComponentConfig.class, + com.google.container.v1beta1.MonitoringComponentConfig.Builder.class); } // Construct using com.google.container.v1beta1.MonitoringComponentConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -540,9 +631,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; } @java.lang.Override @@ -561,7 +652,8 @@ public com.google.container.v1beta1.MonitoringComponentConfig build() { @java.lang.Override public com.google.container.v1beta1.MonitoringComponentConfig buildPartial() { - com.google.container.v1beta1.MonitoringComponentConfig result = new com.google.container.v1beta1.MonitoringComponentConfig(this); + com.google.container.v1beta1.MonitoringComponentConfig result = + new com.google.container.v1beta1.MonitoringComponentConfig(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { enableComponents_ = java.util.Collections.unmodifiableList(enableComponents_); @@ -576,38 +668,39 @@ public com.google.container.v1beta1.MonitoringComponentConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MonitoringComponentConfig) { - return mergeFrom((com.google.container.v1beta1.MonitoringComponentConfig)other); + return mergeFrom((com.google.container.v1beta1.MonitoringComponentConfig) other); } else { super.mergeFrom(other); return this; @@ -615,7 +708,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.MonitoringComponentConfig other) { - if (other == com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance()) + return this; if (!other.enableComponents_.isEmpty()) { if (enableComponents_.isEmpty()) { enableComponents_ = other.enableComponents_; @@ -652,29 +746,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int tmpRaw = input.readEnum(); - ensureEnableComponentsIsMutable(); - enableComponents_.add(tmpRaw); - break; - } // case 8 - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int tmpRaw = input.readEnum(); ensureEnableComponentsIsMutable(); enableComponents_.add(tmpRaw); - } - input.popLimit(oldLimit); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int tmpRaw = input.readEnum(); + ensureEnableComponentsIsMutable(); + enableComponents_.add(tmpRaw); + } + input.popLimit(oldLimit); + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -684,10 +781,11 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List enableComponents_ = - java.util.Collections.emptyList(); + private java.util.List enableComponents_ = java.util.Collections.emptyList(); + private void ensureEnableComponentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { enableComponents_ = new java.util.ArrayList(enableComponents_); @@ -695,50 +793,73 @@ private void ensureEnableComponentsIsMutable() { } } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - public java.util.List getEnableComponentsList() { + public java.util.List + getEnableComponentsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>(enableComponents_, enableComponents_converter_); + java.lang.Integer, com.google.container.v1beta1.MonitoringComponentConfig.Component>( + enableComponents_, enableComponents_converter_); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ public int getEnableComponentsCount() { return enableComponents_.size(); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ - public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents(int index) { + public com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents( + int index) { return enableComponents_converter_.convert(enableComponents_.get(index)); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enableComponents to set. * @return This builder for chaining. @@ -754,16 +875,22 @@ public Builder setEnableComponents( return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param value The enableComponents to add. * @return This builder for chaining. */ - public Builder addEnableComponents(com.google.container.v1beta1.MonitoringComponentConfig.Component value) { + public Builder addEnableComponents( + com.google.container.v1beta1.MonitoringComponentConfig.Component value) { if (value == null) { throw new NullPointerException(); } @@ -773,17 +900,24 @@ public Builder addEnableComponents(com.google.container.v1beta1.MonitoringCompon return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param values The enableComponents to add. * @return This builder for chaining. */ public Builder addAllEnableComponents( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.container.v1beta1.MonitoringComponentConfig.Component> + values) { ensureEnableComponentsIsMutable(); for (com.google.container.v1beta1.MonitoringComponentConfig.Component value : values) { enableComponents_.add(value.getNumber()); @@ -792,12 +926,17 @@ public Builder addAllEnableComponents( return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return This builder for chaining. */ public Builder clearEnableComponents() { @@ -807,25 +946,34 @@ public Builder clearEnableComponents() { return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - public java.util.List - getEnableComponentsValueList() { + public java.util.List getEnableComponentsValueList() { return java.util.Collections.unmodifiableList(enableComponents_); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ @@ -833,30 +981,39 @@ public int getEnableComponentsValue(int index) { return enableComponents_.get(index); } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for enableComponents to set. * @return This builder for chaining. */ - public Builder setEnableComponentsValue( - int index, int value) { + public Builder setEnableComponentsValue(int index, int value) { ensureEnableComponentsIsMutable(); enableComponents_.set(index, value); onChanged(); return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param value The enum numeric value on the wire for enableComponents to add. * @return This builder for chaining. */ @@ -867,17 +1024,21 @@ public Builder addEnableComponentsValue(int value) { return this; } /** + * + * *
      * Select components to collect metrics. An empty set would disable all
      * monitoring.
      * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param values The enum numeric values on the wire for enableComponents to add. * @return This builder for chaining. */ - public Builder addAllEnableComponentsValue( - java.lang.Iterable values) { + public Builder addAllEnableComponentsValue(java.lang.Iterable values) { ensureEnableComponentsIsMutable(); for (int value : values) { enableComponents_.add(value); @@ -885,9 +1046,9 @@ public Builder addAllEnableComponentsValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -897,12 +1058,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MonitoringComponentConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.MonitoringComponentConfig) private static final com.google.container.v1beta1.MonitoringComponentConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.MonitoringComponentConfig(); } @@ -911,27 +1072,27 @@ public static com.google.container.v1beta1.MonitoringComponentConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MonitoringComponentConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MonitoringComponentConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,6 +1107,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.MonitoringComponentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java similarity index 52% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java index bd013f0cdf91..0ed04c7d356d 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringComponentConfigOrBuilder.java @@ -1,61 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface MonitoringComponentConfigOrBuilder extends +public interface MonitoringComponentConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MonitoringComponentConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enableComponents. */ - java.util.List getEnableComponentsList(); + java.util.List + getEnableComponentsList(); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return The count of enableComponents. */ int getEnableComponentsCount(); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the element to return. * @return The enableComponents at the given index. */ com.google.container.v1beta1.MonitoringComponentConfig.Component getEnableComponents(int index); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @return A list containing the enum numeric values on the wire for enableComponents. */ - java.util.List - getEnableComponentsValueList(); + java.util.List getEnableComponentsValueList(); /** + * + * *
    * Select components to collect metrics. An empty set would disable all
    * monitoring.
    * 
* - * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * repeated .google.container.v1beta1.MonitoringComponentConfig.Component enable_components = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of enableComponents at the given index. */ diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java index bedf4ffeaa27..1d9820df9061 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * MonitoringConfig is cluster monitoring configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.MonitoringConfig} */ -public final class MonitoringConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MonitoringConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.MonitoringConfig) MonitoringConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MonitoringConfig.newBuilder() to construct. private MonitoringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MonitoringConfig() { - } + + private MonitoringConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MonitoringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringConfig.class, com.google.container.v1beta1.MonitoringConfig.Builder.class); + com.google.container.v1beta1.MonitoringConfig.class, + com.google.container.v1beta1.MonitoringConfig.Builder.class); } public static final int COMPONENT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.MonitoringComponentConfig componentConfig_; /** + * + * *
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasComponentConfig() { return componentConfig_ != null; } /** + * + * *
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; + * * @return The componentConfig. */ @java.lang.Override public com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig() { - return componentConfig_ == null ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() + : componentConfig_; } /** + * + * *
    * Monitoring components configuration
    * 
@@ -81,19 +109,23 @@ public com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ @java.lang.Override - public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder + getComponentConfigOrBuilder() { return getComponentConfig(); } public static final int MANAGED_PROMETHEUS_CONFIG_FIELD_NUMBER = 2; private com.google.container.v1beta1.ManagedPrometheusConfig managedPrometheusConfig_; /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return Whether the managedPrometheusConfig field is set. */ @java.lang.Override @@ -101,19 +133,26 @@ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfig_ != null; } /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return The managedPrometheusConfig. */ @java.lang.Override public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheusConfig() { - return managedPrometheusConfig_ == null ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + return managedPrometheusConfig_ == null + ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
@@ -122,11 +161,13 @@ public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheus
    * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
+  public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder
+      getManagedPrometheusConfigOrBuilder() {
     return getManagedPrometheusConfig();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,8 +179,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (componentConfig_ != null) {
       output.writeMessage(1, getComponentConfig());
     }
@@ -156,12 +196,11 @@ public int getSerializedSize() {
 
     size = 0;
     if (componentConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getComponentConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getComponentConfig());
     }
     if (managedPrometheusConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getManagedPrometheusConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getManagedPrometheusConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,22 +210,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.MonitoringConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.MonitoringConfig other = (com.google.container.v1beta1.MonitoringConfig) obj;
+    com.google.container.v1beta1.MonitoringConfig other =
+        (com.google.container.v1beta1.MonitoringConfig) obj;
 
     if (hasComponentConfig() != other.hasComponentConfig()) return false;
     if (hasComponentConfig()) {
-      if (!getComponentConfig()
-          .equals(other.getComponentConfig())) return false;
+      if (!getComponentConfig().equals(other.getComponentConfig())) return false;
     }
     if (hasManagedPrometheusConfig() != other.hasManagedPrometheusConfig()) return false;
     if (hasManagedPrometheusConfig()) {
-      if (!getManagedPrometheusConfig()
-          .equals(other.getManagedPrometheusConfig())) return false;
+      if (!getManagedPrometheusConfig().equals(other.getManagedPrometheusConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,130 +250,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.MonitoringConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.MonitoringConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.MonitoringConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.MonitoringConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.MonitoringConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * MonitoringConfig is cluster monitoring configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.MonitoringConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.MonitoringConfig) com.google.container.v1beta1.MonitoringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.MonitoringConfig.class, com.google.container.v1beta1.MonitoringConfig.Builder.class); + com.google.container.v1beta1.MonitoringConfig.class, + com.google.container.v1beta1.MonitoringConfig.Builder.class); } // Construct using com.google.container.v1beta1.MonitoringConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_MonitoringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_MonitoringConfig_descriptor; } @java.lang.Override @@ -376,7 +420,8 @@ public com.google.container.v1beta1.MonitoringConfig build() { @java.lang.Override public com.google.container.v1beta1.MonitoringConfig buildPartial() { - com.google.container.v1beta1.MonitoringConfig result = new com.google.container.v1beta1.MonitoringConfig(this); + com.google.container.v1beta1.MonitoringConfig result = + new com.google.container.v1beta1.MonitoringConfig(this); if (componentConfigBuilder_ == null) { result.componentConfig_ = componentConfig_; } else { @@ -395,38 +440,39 @@ public com.google.container.v1beta1.MonitoringConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.MonitoringConfig) { - return mergeFrom((com.google.container.v1beta1.MonitoringConfig)other); + return mergeFrom((com.google.container.v1beta1.MonitoringConfig) other); } else { super.mergeFrom(other); return this; @@ -467,26 +513,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getComponentConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getManagedPrometheusConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getComponentConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage( + getManagedPrometheusConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -499,41 +545,55 @@ public Builder mergeFrom( private com.google.container.v1beta1.MonitoringComponentConfig componentConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringComponentConfig, com.google.container.v1beta1.MonitoringComponentConfig.Builder, com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> componentConfigBuilder_; + com.google.container.v1beta1.MonitoringComponentConfig, + com.google.container.v1beta1.MonitoringComponentConfig.Builder, + com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> + componentConfigBuilder_; /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ public boolean hasComponentConfig() { return componentConfigBuilder_ != null || componentConfig_ != null; } /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; + * * @return The componentConfig. */ public com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig() { if (componentConfigBuilder_ == null) { - return componentConfig_ == null ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() + : componentConfig_; } else { return componentConfigBuilder_.getMessage(); } } /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public Builder setComponentConfig(com.google.container.v1beta1.MonitoringComponentConfig value) { + public Builder setComponentConfig( + com.google.container.v1beta1.MonitoringComponentConfig value) { if (componentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -547,6 +607,8 @@ public Builder setComponentConfig(com.google.container.v1beta1.MonitoringCompone return this; } /** + * + * *
      * Monitoring components configuration
      * 
@@ -565,17 +627,22 @@ public Builder setComponentConfig( return this; } /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public Builder mergeComponentConfig(com.google.container.v1beta1.MonitoringComponentConfig value) { + public Builder mergeComponentConfig( + com.google.container.v1beta1.MonitoringComponentConfig value) { if (componentConfigBuilder_ == null) { if (componentConfig_ != null) { componentConfig_ = - com.google.container.v1beta1.MonitoringComponentConfig.newBuilder(componentConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MonitoringComponentConfig.newBuilder(componentConfig_) + .mergeFrom(value) + .buildPartial(); } else { componentConfig_ = value; } @@ -587,6 +654,8 @@ public Builder mergeComponentConfig(com.google.container.v1beta1.MonitoringCompo return this; } /** + * + * *
      * Monitoring components configuration
      * 
@@ -605,33 +674,42 @@ public Builder clearComponentConfig() { return this; } /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public com.google.container.v1beta1.MonitoringComponentConfig.Builder getComponentConfigBuilder() { - + public com.google.container.v1beta1.MonitoringComponentConfig.Builder + getComponentConfigBuilder() { + onChanged(); return getComponentConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Monitoring components configuration
      * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ - public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder() { + public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder + getComponentConfigOrBuilder() { if (componentConfigBuilder_ != null) { return componentConfigBuilder_.getMessageOrBuilder(); } else { - return componentConfig_ == null ? - com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() : componentConfig_; + return componentConfig_ == null + ? com.google.container.v1beta1.MonitoringComponentConfig.getDefaultInstance() + : componentConfig_; } } /** + * + * *
      * Monitoring components configuration
      * 
@@ -639,14 +717,17 @@ public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getCompon * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringComponentConfig, com.google.container.v1beta1.MonitoringComponentConfig.Builder, com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> + com.google.container.v1beta1.MonitoringComponentConfig, + com.google.container.v1beta1.MonitoringComponentConfig.Builder, + com.google.container.v1beta1.MonitoringComponentConfigOrBuilder> getComponentConfigFieldBuilder() { if (componentConfigBuilder_ == null) { - componentConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MonitoringComponentConfig, com.google.container.v1beta1.MonitoringComponentConfig.Builder, com.google.container.v1beta1.MonitoringComponentConfigOrBuilder>( - getComponentConfig(), - getParentForChildren(), - isClean()); + componentConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MonitoringComponentConfig, + com.google.container.v1beta1.MonitoringComponentConfig.Builder, + com.google.container.v1beta1.MonitoringComponentConfigOrBuilder>( + getComponentConfig(), getParentForChildren(), isClean()); componentConfig_ = null; } return componentConfigBuilder_; @@ -654,36 +735,49 @@ public com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getCompon private com.google.container.v1beta1.ManagedPrometheusConfig managedPrometheusConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ManagedPrometheusConfig, com.google.container.v1beta1.ManagedPrometheusConfig.Builder, com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder> managedPrometheusConfigBuilder_; + com.google.container.v1beta1.ManagedPrometheusConfig, + com.google.container.v1beta1.ManagedPrometheusConfig.Builder, + com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder> + managedPrometheusConfigBuilder_; /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return Whether the managedPrometheusConfig field is set. */ public boolean hasManagedPrometheusConfig() { return managedPrometheusConfigBuilder_ != null || managedPrometheusConfig_ != null; } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
      * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return The managedPrometheusConfig. */ public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheusConfig() { if (managedPrometheusConfigBuilder_ == null) { - return managedPrometheusConfig_ == null ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_; + return managedPrometheusConfig_ == null + ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() + : managedPrometheusConfig_; } else { return managedPrometheusConfigBuilder_.getMessage(); } } /** + * + * *
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -691,7 +785,8 @@ public com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheus
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder setManagedPrometheusConfig(com.google.container.v1beta1.ManagedPrometheusConfig value) {
+    public Builder setManagedPrometheusConfig(
+        com.google.container.v1beta1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -705,6 +800,8 @@ public Builder setManagedPrometheusConfig(com.google.container.v1beta1.ManagedPr
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -724,6 +821,8 @@ public Builder setManagedPrometheusConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -731,11 +830,15 @@ public Builder setManagedPrometheusConfig(
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public Builder mergeManagedPrometheusConfig(com.google.container.v1beta1.ManagedPrometheusConfig value) {
+    public Builder mergeManagedPrometheusConfig(
+        com.google.container.v1beta1.ManagedPrometheusConfig value) {
       if (managedPrometheusConfigBuilder_ == null) {
         if (managedPrometheusConfig_ != null) {
           managedPrometheusConfig_ =
-            com.google.container.v1beta1.ManagedPrometheusConfig.newBuilder(managedPrometheusConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ManagedPrometheusConfig.newBuilder(
+                      managedPrometheusConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           managedPrometheusConfig_ = value;
         }
@@ -747,6 +850,8 @@ public Builder mergeManagedPrometheusConfig(com.google.container.v1beta1.Managed
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -766,6 +871,8 @@ public Builder clearManagedPrometheusConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -773,12 +880,15 @@ public Builder clearManagedPrometheusConfig() {
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1beta1.ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder() {
-      
+    public com.google.container.v1beta1.ManagedPrometheusConfig.Builder
+        getManagedPrometheusConfigBuilder() {
+
       onChanged();
       return getManagedPrometheusConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -786,15 +896,19 @@ public com.google.container.v1beta1.ManagedPrometheusConfig.Builder getManagedPr
      *
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
-    public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder() {
+    public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder
+        getManagedPrometheusConfigOrBuilder() {
       if (managedPrometheusConfigBuilder_ != null) {
         return managedPrometheusConfigBuilder_.getMessageOrBuilder();
       } else {
-        return managedPrometheusConfig_ == null ?
-            com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance() : managedPrometheusConfig_;
+        return managedPrometheusConfig_ == null
+            ? com.google.container.v1beta1.ManagedPrometheusConfig.getDefaultInstance()
+            : managedPrometheusConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Enable Google Cloud Managed Service for Prometheus
      * in the cluster.
@@ -803,21 +917,24 @@ public com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder getManagedP
      * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ManagedPrometheusConfig, com.google.container.v1beta1.ManagedPrometheusConfig.Builder, com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder> 
+            com.google.container.v1beta1.ManagedPrometheusConfig,
+            com.google.container.v1beta1.ManagedPrometheusConfig.Builder,
+            com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder>
         getManagedPrometheusConfigFieldBuilder() {
       if (managedPrometheusConfigBuilder_ == null) {
-        managedPrometheusConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ManagedPrometheusConfig, com.google.container.v1beta1.ManagedPrometheusConfig.Builder, com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder>(
-                getManagedPrometheusConfig(),
-                getParentForChildren(),
-                isClean());
+        managedPrometheusConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ManagedPrometheusConfig,
+                com.google.container.v1beta1.ManagedPrometheusConfig.Builder,
+                com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder>(
+                getManagedPrometheusConfig(), getParentForChildren(), isClean());
         managedPrometheusConfig_ = null;
       }
       return managedPrometheusConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -827,12 +944,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.MonitoringConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.MonitoringConfig)
   private static final com.google.container.v1beta1.MonitoringConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.MonitoringConfig();
   }
@@ -841,27 +958,27 @@ public static com.google.container.v1beta1.MonitoringConfig getDefaultInstance()
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public MonitoringConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public MonitoringConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -876,6 +993,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.MonitoringConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
index e574a19af194..e4ee44b45657 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MonitoringConfigOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface MonitoringConfigOrBuilder extends
+public interface MonitoringConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MonitoringConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; + * * @return Whether the componentConfig field is set. */ boolean hasComponentConfig(); /** + * + * *
    * Monitoring components configuration
    * 
* * .google.container.v1beta1.MonitoringComponentConfig component_config = 1; + * * @return The componentConfig. */ com.google.container.v1beta1.MonitoringComponentConfig getComponentConfig(); /** + * + * *
    * Monitoring components configuration
    * 
@@ -35,26 +59,34 @@ public interface MonitoringConfigOrBuilder extends com.google.container.v1beta1.MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return Whether the managedPrometheusConfig field is set. */ boolean hasManagedPrometheusConfig(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
    * 
* * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2; + * * @return The managedPrometheusConfig. */ com.google.container.v1beta1.ManagedPrometheusConfig getManagedPrometheusConfig(); /** + * + * *
    * Enable Google Cloud Managed Service for Prometheus
    * in the cluster.
@@ -62,5 +94,6 @@ public interface MonitoringConfigOrBuilder extends
    *
    * .google.container.v1beta1.ManagedPrometheusConfig managed_prometheus_config = 2;
    */
-  com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder();
+  com.google.container.v1beta1.ManagedPrometheusConfigOrBuilder
+      getManagedPrometheusConfigOrBuilder();
 }
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
similarity index 74%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
index 3eb834d6ff17..423504624a74 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfig.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * NetworkConfig reports the relative names of network & subnetwork.
  * 
* * Protobuf type {@code google.container.v1beta1.NetworkConfig} */ -public final class NetworkConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NetworkConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkConfig) NetworkConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkConfig.newBuilder() to construct. private NetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkConfig() { network_ = ""; subnetwork_ = ""; @@ -28,32 +46,35 @@ private NetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NetworkConfig.class, com.google.container.v1beta1.NetworkConfig.Builder.class); + com.google.container.v1beta1.NetworkConfig.class, + com.google.container.v1beta1.NetworkConfig.Builder.class); } public static final int NETWORK_FIELD_NUMBER = 1; private volatile java.lang.Object network_; /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * string network = 1; + * * @return The network. */ @java.lang.Override @@ -70,14 +92,15 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -86,16 +109,15 @@ public java.lang.String getNetwork() {
    * 
* * string network = 1; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -106,6 +128,8 @@ public java.lang.String getNetwork() { public static final int SUBNETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object subnetwork_; /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -114,6 +138,7 @@ public java.lang.String getNetwork() {
    * 
* * string subnetwork = 2; + * * @return The subnetwork. */ @java.lang.Override @@ -122,14 +147,15 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -138,16 +164,15 @@ public java.lang.String getSubnetwork() {
    * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -158,12 +183,15 @@ public java.lang.String getSubnetwork() { public static final int ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER = 5; private boolean enableIntraNodeVisibility_; /** + * + * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; + * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -174,6 +202,8 @@ public boolean getEnableIntraNodeVisibility() { public static final int DEFAULT_SNAT_STATUS_FIELD_NUMBER = 7; private com.google.container.v1beta1.DefaultSnatStatus defaultSnatStatus_; /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -182,6 +212,7 @@ public boolean getEnableIntraNodeVisibility() {
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; + * * @return Whether the defaultSnatStatus field is set. */ @java.lang.Override @@ -189,6 +220,8 @@ public boolean hasDefaultSnatStatus() { return defaultSnatStatus_ != null; } /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -197,13 +230,18 @@ public boolean hasDefaultSnatStatus() {
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; + * * @return The defaultSnatStatus. */ @java.lang.Override public com.google.container.v1beta1.DefaultSnatStatus getDefaultSnatStatus() { - return defaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; + return defaultSnatStatus_ == null + ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() + : defaultSnatStatus_; } /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -221,11 +259,14 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatSta
   public static final int ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER = 10;
   private boolean enableL4IlbSubsetting_;
   /**
+   *
+   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; + * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -236,35 +277,46 @@ public boolean getEnableL4IlbSubsetting() { public static final int DATAPATH_PROVIDER_FIELD_NUMBER = 11; private int datapathProvider_; /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override public int getDatapathProviderValue() { + @java.lang.Override + public int getDatapathProviderValue() { return datapathProvider_; } /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @return The datapathProvider. */ - @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDatapathProvider() { + @java.lang.Override + public com.google.container.v1beta1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1beta1.DatapathProvider result = + com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 12; private int privateIpv6GoogleAccess_; /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -272,12 +324,16 @@ public boolean getEnableL4IlbSubsetting() {
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -285,22 +341,30 @@ public boolean getEnableL4IlbSubsetting() {
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The privateIpv6GoogleAccess. */ - @java.lang.Override public com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { + @java.lang.Override + public com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); - return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = + com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + return result == null + ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED + : result; } public static final int DNS_CONFIG_FIELD_NUMBER = 13; private com.google.container.v1beta1.DNSConfig dnsConfig_; /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; + * * @return Whether the dnsConfig field is set. */ @java.lang.Override @@ -308,18 +372,25 @@ public boolean hasDnsConfig() { return dnsConfig_ != null; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; + * * @return The dnsConfig. */ @java.lang.Override public com.google.container.v1beta1.DNSConfig getDnsConfig() { - return dnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : dnsConfig_; + return dnsConfig_ == null + ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() + : dnsConfig_; } /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -334,12 +405,16 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { public static final int SERVICE_EXTERNAL_IPS_CONFIG_FIELD_NUMBER = 15; private com.google.container.v1beta1.ServiceExternalIPsConfig serviceExternalIpsConfig_; /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * + * * @return Whether the serviceExternalIpsConfig field is set. */ @java.lang.Override @@ -347,40 +422,53 @@ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfig_ != null; } /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * + * * @return The serviceExternalIpsConfig. */ @java.lang.Override public com.google.container.v1beta1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { - return serviceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null + ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() + : serviceExternalIpsConfig_; } /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ @java.lang.Override - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder + getServiceExternalIpsConfigOrBuilder() { return getServiceExternalIpsConfig(); } public static final int GATEWAY_API_CONFIG_FIELD_NUMBER = 16; private com.google.container.v1beta1.GatewayAPIConfig gatewayApiConfig_; /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; + * * @return Whether the gatewayApiConfig field is set. */ @java.lang.Override @@ -388,19 +476,26 @@ public boolean hasGatewayApiConfig() { return gatewayApiConfig_ != null; } /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; + * * @return The gatewayApiConfig. */ @java.lang.Override public com.google.container.v1beta1.GatewayAPIConfig getGatewayApiConfig() { - return gatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; + return gatewayApiConfig_ == null + ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() + : gatewayApiConfig_; } /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
@@ -414,6 +509,7 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getGatewayApiConfi
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -425,8 +521,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, network_);
     }
@@ -442,10 +537,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (enableL4IlbSubsetting_ != false) {
       output.writeBool(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
+    if (datapathProvider_
+        != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
+    if (privateIpv6GoogleAccess_
+        != com.google.container.v1beta1.PrivateIPv6GoogleAccess
+            .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
@@ -473,36 +573,35 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subnetwork_);
     }
     if (enableIntraNodeVisibility_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(5, enableIntraNodeVisibility_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableIntraNodeVisibility_);
     }
     if (defaultSnatStatus_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getDefaultSnatStatus());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDefaultSnatStatus());
     }
     if (enableL4IlbSubsetting_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(10, enableL4IlbSubsetting_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, enableL4IlbSubsetting_);
     }
-    if (datapathProvider_ != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(11, datapathProvider_);
+    if (datapathProvider_
+        != com.google.container.v1beta1.DatapathProvider.DATAPATH_PROVIDER_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, datapathProvider_);
     }
-    if (privateIpv6GoogleAccess_ != com.google.container.v1beta1.PrivateIPv6GoogleAccess.PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(12, privateIpv6GoogleAccess_);
+    if (privateIpv6GoogleAccess_
+        != com.google.container.v1beta1.PrivateIPv6GoogleAccess
+            .PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, privateIpv6GoogleAccess_);
     }
     if (dnsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(13, getDnsConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getDnsConfig());
     }
     if (serviceExternalIpsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(15, getServiceExternalIpsConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              15, getServiceExternalIpsConfig());
     }
     if (gatewayApiConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(16, getGatewayApiConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getGatewayApiConfig());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -512,42 +611,35 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.NetworkConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.NetworkConfig other = (com.google.container.v1beta1.NetworkConfig) obj;
+    com.google.container.v1beta1.NetworkConfig other =
+        (com.google.container.v1beta1.NetworkConfig) obj;
 
-    if (!getNetwork()
-        .equals(other.getNetwork())) return false;
-    if (!getSubnetwork()
-        .equals(other.getSubnetwork())) return false;
-    if (getEnableIntraNodeVisibility()
-        != other.getEnableIntraNodeVisibility()) return false;
+    if (!getNetwork().equals(other.getNetwork())) return false;
+    if (!getSubnetwork().equals(other.getSubnetwork())) return false;
+    if (getEnableIntraNodeVisibility() != other.getEnableIntraNodeVisibility()) return false;
     if (hasDefaultSnatStatus() != other.hasDefaultSnatStatus()) return false;
     if (hasDefaultSnatStatus()) {
-      if (!getDefaultSnatStatus()
-          .equals(other.getDefaultSnatStatus())) return false;
+      if (!getDefaultSnatStatus().equals(other.getDefaultSnatStatus())) return false;
     }
-    if (getEnableL4IlbSubsetting()
-        != other.getEnableL4IlbSubsetting()) return false;
+    if (getEnableL4IlbSubsetting() != other.getEnableL4IlbSubsetting()) return false;
     if (datapathProvider_ != other.datapathProvider_) return false;
     if (privateIpv6GoogleAccess_ != other.privateIpv6GoogleAccess_) return false;
     if (hasDnsConfig() != other.hasDnsConfig()) return false;
     if (hasDnsConfig()) {
-      if (!getDnsConfig()
-          .equals(other.getDnsConfig())) return false;
+      if (!getDnsConfig().equals(other.getDnsConfig())) return false;
     }
     if (hasServiceExternalIpsConfig() != other.hasServiceExternalIpsConfig()) return false;
     if (hasServiceExternalIpsConfig()) {
-      if (!getServiceExternalIpsConfig()
-          .equals(other.getServiceExternalIpsConfig())) return false;
+      if (!getServiceExternalIpsConfig().equals(other.getServiceExternalIpsConfig())) return false;
     }
     if (hasGatewayApiConfig() != other.hasGatewayApiConfig()) return false;
     if (hasGatewayApiConfig()) {
-      if (!getGatewayApiConfig()
-          .equals(other.getGatewayApiConfig())) return false;
+      if (!getGatewayApiConfig().equals(other.getGatewayApiConfig())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -565,15 +657,13 @@ public int hashCode() {
     hash = (37 * hash) + SUBNETWORK_FIELD_NUMBER;
     hash = (53 * hash) + getSubnetwork().hashCode();
     hash = (37 * hash) + ENABLE_INTRA_NODE_VISIBILITY_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getEnableIntraNodeVisibility());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntraNodeVisibility());
     if (hasDefaultSnatStatus()) {
       hash = (37 * hash) + DEFAULT_SNAT_STATUS_FIELD_NUMBER;
       hash = (53 * hash) + getDefaultSnatStatus().hashCode();
     }
     hash = (37 * hash) + ENABLE_L4ILB_SUBSETTING_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getEnableL4IlbSubsetting());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableL4IlbSubsetting());
     hash = (37 * hash) + DATAPATH_PROVIDER_FIELD_NUMBER;
     hash = (53 * hash) + datapathProvider_;
     hash = (37 * hash) + PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER;
@@ -595,130 +685,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.NetworkConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NetworkConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
       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.NetworkConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.NetworkConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.NetworkConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.NetworkConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.NetworkConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * NetworkConfig reports the relative names of network & subnetwork.
    * 
* * Protobuf type {@code google.container.v1beta1.NetworkConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkConfig) com.google.container.v1beta1.NetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NetworkConfig.class, com.google.container.v1beta1.NetworkConfig.Builder.class); + com.google.container.v1beta1.NetworkConfig.class, + com.google.container.v1beta1.NetworkConfig.Builder.class); } // Construct using com.google.container.v1beta1.NetworkConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -762,9 +858,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NetworkConfig_descriptor; } @java.lang.Override @@ -783,7 +879,8 @@ public com.google.container.v1beta1.NetworkConfig build() { @java.lang.Override public com.google.container.v1beta1.NetworkConfig buildPartial() { - com.google.container.v1beta1.NetworkConfig result = new com.google.container.v1beta1.NetworkConfig(this); + com.google.container.v1beta1.NetworkConfig result = + new com.google.container.v1beta1.NetworkConfig(this); result.network_ = network_; result.subnetwork_ = subnetwork_; result.enableIntraNodeVisibility_ = enableIntraNodeVisibility_; @@ -818,38 +915,39 @@ public com.google.container.v1beta1.NetworkConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NetworkConfig) { - return mergeFrom((com.google.container.v1beta1.NetworkConfig)other); + return mergeFrom((com.google.container.v1beta1.NetworkConfig) other); } else { super.mergeFrom(other); return this; @@ -916,70 +1014,76 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - network_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - subnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 40: { - enableIntraNodeVisibility_ = input.readBool(); - - break; - } // case 40 - case 58: { - input.readMessage( - getDefaultSnatStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 58 - case 80: { - enableL4IlbSubsetting_ = input.readBool(); - - break; - } // case 80 - case 88: { - datapathProvider_ = input.readEnum(); - - break; - } // case 88 - case 96: { - privateIpv6GoogleAccess_ = input.readEnum(); - - break; - } // case 96 - case 106: { - input.readMessage( - getDnsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 106 - case 122: { - input.readMessage( - getServiceExternalIpsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 122 - case 130: { - input.readMessage( - getGatewayApiConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 130 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + network_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + subnetwork_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 40: + { + enableIntraNodeVisibility_ = input.readBool(); + + break; + } // case 40 + case 58: + { + input.readMessage( + getDefaultSnatStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 58 + case 80: + { + enableL4IlbSubsetting_ = input.readBool(); + + break; + } // case 80 + case 88: + { + datapathProvider_ = input.readEnum(); + + break; + } // case 88 + case 96: + { + privateIpv6GoogleAccess_ = input.readEnum(); + + break; + } // case 96 + case 106: + { + input.readMessage(getDnsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 106 + case 122: + { + input.readMessage( + getServiceExternalIpsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 122 + case 130: + { + input.readMessage( + getGatewayApiConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 130 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,6 +1096,8 @@ public Builder mergeFrom( private java.lang.Object network_ = ""; /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1000,13 +1106,13 @@ public Builder mergeFrom(
      * 
* * string network = 1; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -1015,6 +1121,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1023,15 +1131,14 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -1039,6 +1146,8 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1047,20 +1156,22 @@ public java.lang.String getNetwork() {
      * 
* * string network = 1; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1069,15 +1180,18 @@ public Builder setNetwork(
      * 
* * string network = 1; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -1086,16 +1200,16 @@ public Builder clearNetwork() {
      * 
* * string network = 1; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -1103,6 +1217,8 @@ public Builder setNetworkBytes( private java.lang.Object subnetwork_ = ""; /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1111,13 +1227,13 @@ public Builder setNetworkBytes(
      * 
* * string subnetwork = 2; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -1126,6 +1242,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1134,15 +1252,14 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -1150,6 +1267,8 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1158,20 +1277,22 @@ public java.lang.String getSubnetwork() {
      * 
* * string subnetwork = 2; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1180,15 +1301,18 @@ public Builder setSubnetwork(
      * 
* * string subnetwork = 2; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
      * Output only. The relative name of the Google Compute Engine
      * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -1197,29 +1321,32 @@ public Builder clearSubnetwork() {
      * 
* * string subnetwork = 2; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; } - private boolean enableIntraNodeVisibility_ ; + private boolean enableIntraNodeVisibility_; /** + * + * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; + * * @return The enableIntraNodeVisibility. */ @java.lang.Override @@ -1227,32 +1354,38 @@ public boolean getEnableIntraNodeVisibility() { return enableIntraNodeVisibility_; } /** + * + * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; + * * @param value The enableIntraNodeVisibility to set. * @return This builder for chaining. */ public Builder setEnableIntraNodeVisibility(boolean value) { - + enableIntraNodeVisibility_ = value; onChanged(); return this; } /** + * + * *
      * Whether Intra-node visibility is enabled for this cluster.
      * This makes same node pod to pod traffic visible for VPC network.
      * 
* * bool enable_intra_node_visibility = 5; + * * @return This builder for chaining. */ public Builder clearEnableIntraNodeVisibility() { - + enableIntraNodeVisibility_ = false; onChanged(); return this; @@ -1260,8 +1393,13 @@ public Builder clearEnableIntraNodeVisibility() { private com.google.container.v1beta1.DefaultSnatStatus defaultSnatStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> defaultSnatStatusBuilder_; + com.google.container.v1beta1.DefaultSnatStatus, + com.google.container.v1beta1.DefaultSnatStatus.Builder, + com.google.container.v1beta1.DefaultSnatStatusOrBuilder> + defaultSnatStatusBuilder_; /** + * + * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1270,12 +1408,15 @@ public Builder clearEnableIntraNodeVisibility() {
      * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; + * * @return Whether the defaultSnatStatus field is set. */ public boolean hasDefaultSnatStatus() { return defaultSnatStatusBuilder_ != null || defaultSnatStatus_ != null; } /** + * + * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1284,16 +1425,21 @@ public boolean hasDefaultSnatStatus() {
      * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; + * * @return The defaultSnatStatus. */ public com.google.container.v1beta1.DefaultSnatStatus getDefaultSnatStatus() { if (defaultSnatStatusBuilder_ == null) { - return defaultSnatStatus_ == null ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_; + return defaultSnatStatus_ == null + ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() + : defaultSnatStatus_; } else { return defaultSnatStatusBuilder_.getMessage(); } } /** + * + * *
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1317,6 +1463,8 @@ public Builder setDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatStat
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1338,6 +1486,8 @@ public Builder setDefaultSnatStatus(
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1351,7 +1501,9 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatSt
       if (defaultSnatStatusBuilder_ == null) {
         if (defaultSnatStatus_ != null) {
           defaultSnatStatus_ =
-            com.google.container.v1beta1.DefaultSnatStatus.newBuilder(defaultSnatStatus_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.DefaultSnatStatus.newBuilder(defaultSnatStatus_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           defaultSnatStatus_ = value;
         }
@@ -1363,6 +1515,8 @@ public Builder mergeDefaultSnatStatus(com.google.container.v1beta1.DefaultSnatSt
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1384,6 +1538,8 @@ public Builder clearDefaultSnatStatus() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1394,11 +1550,13 @@ public Builder clearDefaultSnatStatus() {
      * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7;
      */
     public com.google.container.v1beta1.DefaultSnatStatus.Builder getDefaultSnatStatusBuilder() {
-      
+
       onChanged();
       return getDefaultSnatStatusFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1412,11 +1570,14 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatSta
       if (defaultSnatStatusBuilder_ != null) {
         return defaultSnatStatusBuilder_.getMessageOrBuilder();
       } else {
-        return defaultSnatStatus_ == null ?
-            com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance() : defaultSnatStatus_;
+        return defaultSnatStatus_ == null
+            ? com.google.container.v1beta1.DefaultSnatStatus.getDefaultInstance()
+            : defaultSnatStatus_;
       }
     }
     /**
+     *
+     *
      * 
      * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
      * will be disabled when default_snat_status is disabled. When disabled is set
@@ -1427,26 +1588,32 @@ public com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatSta
      * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder> 
+            com.google.container.v1beta1.DefaultSnatStatus,
+            com.google.container.v1beta1.DefaultSnatStatus.Builder,
+            com.google.container.v1beta1.DefaultSnatStatusOrBuilder>
         getDefaultSnatStatusFieldBuilder() {
       if (defaultSnatStatusBuilder_ == null) {
-        defaultSnatStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.DefaultSnatStatus, com.google.container.v1beta1.DefaultSnatStatus.Builder, com.google.container.v1beta1.DefaultSnatStatusOrBuilder>(
-                getDefaultSnatStatus(),
-                getParentForChildren(),
-                isClean());
+        defaultSnatStatusBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.DefaultSnatStatus,
+                com.google.container.v1beta1.DefaultSnatStatus.Builder,
+                com.google.container.v1beta1.DefaultSnatStatusOrBuilder>(
+                getDefaultSnatStatus(), getParentForChildren(), isClean());
         defaultSnatStatus_ = null;
       }
       return defaultSnatStatusBuilder_;
     }
 
-    private boolean enableL4IlbSubsetting_ ;
+    private boolean enableL4IlbSubsetting_;
     /**
+     *
+     *
      * 
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; + * * @return The enableL4ilbSubsetting. */ @java.lang.Override @@ -1454,30 +1621,36 @@ public boolean getEnableL4IlbSubsetting() { return enableL4IlbSubsetting_; } /** + * + * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; + * * @param value The enableL4ilbSubsetting to set. * @return This builder for chaining. */ public Builder setEnableL4IlbSubsetting(boolean value) { - + enableL4IlbSubsetting_ = value; onChanged(); return this; } /** + * + * *
      * Whether L4ILB Subsetting is enabled for this cluster.
      * 
* * bool enable_l4ilb_subsetting = 10; + * * @return This builder for chaining. */ public Builder clearEnableL4IlbSubsetting() { - + enableL4IlbSubsetting_ = false; onChanged(); return this; @@ -1485,55 +1658,69 @@ public Builder clearEnableL4IlbSubsetting() { private int datapathProvider_ = 0; /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @return The enum numeric value on the wire for datapathProvider. */ - @java.lang.Override public int getDatapathProviderValue() { + @java.lang.Override + public int getDatapathProviderValue() { return datapathProvider_; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @param value The enum numeric value on the wire for datapathProvider to set. * @return This builder for chaining. */ public Builder setDatapathProviderValue(int value) { - + datapathProvider_ = value; onChanged(); return this; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @return The datapathProvider. */ @java.lang.Override public com.google.container.v1beta1.DatapathProvider getDatapathProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.DatapathProvider result = com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); + com.google.container.v1beta1.DatapathProvider result = + com.google.container.v1beta1.DatapathProvider.valueOf(datapathProvider_); return result == null ? com.google.container.v1beta1.DatapathProvider.UNRECOGNIZED : result; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @param value The datapathProvider to set. * @return This builder for chaining. */ @@ -1541,22 +1728,25 @@ public Builder setDatapathProvider(com.google.container.v1beta1.DatapathProvider if (value == null) { throw new NullPointerException(); } - + datapathProvider_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired datapath provider for this cluster. By default, uses the
      * IPTables-based kube-proxy implementation.
      * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @return This builder for chaining. */ public Builder clearDatapathProvider() { - + datapathProvider_ = 0; onChanged(); return this; @@ -1564,83 +1754,108 @@ public Builder clearDatapathProvider() { private int privateIpv6GoogleAccess_ = 0; /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * + * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ - @java.lang.Override public int getPrivateIpv6GoogleAccessValue() { + @java.lang.Override + public int getPrivateIpv6GoogleAccessValue() { return privateIpv6GoogleAccess_; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * + * * @param value The enum numeric value on the wire for privateIpv6GoogleAccess to set. * @return This builder for chaining. */ public Builder setPrivateIpv6GoogleAccessValue(int value) { - + privateIpv6GoogleAccess_ = value; onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * + * * @return The privateIpv6GoogleAccess. */ @java.lang.Override public com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.PrivateIPv6GoogleAccess result = com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); - return result == null ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED : result; + com.google.container.v1beta1.PrivateIPv6GoogleAccess result = + com.google.container.v1beta1.PrivateIPv6GoogleAccess.valueOf(privateIpv6GoogleAccess_); + return result == null + ? com.google.container.v1beta1.PrivateIPv6GoogleAccess.UNRECOGNIZED + : result; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * + * * @param value The privateIpv6GoogleAccess to set. * @return This builder for chaining. */ - public Builder setPrivateIpv6GoogleAccess(com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { + public Builder setPrivateIpv6GoogleAccess( + com.google.container.v1beta1.PrivateIPv6GoogleAccess value) { if (value == null) { throw new NullPointerException(); } - + privateIpv6GoogleAccess_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The desired state of IPv6 connectivity to Google Services.
      * By default, no private IPv6 access to or from Google Services (all access
      * will be via IPv4)
      * 
* - * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * + * * @return This builder for chaining. */ public Builder clearPrivateIpv6GoogleAccess() { - + privateIpv6GoogleAccess_ = 0; onChanged(); return this; @@ -1648,34 +1863,47 @@ public Builder clearPrivateIpv6GoogleAccess() { private com.google.container.v1beta1.DNSConfig dnsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> dnsConfigBuilder_; + com.google.container.v1beta1.DNSConfig, + com.google.container.v1beta1.DNSConfig.Builder, + com.google.container.v1beta1.DNSConfigOrBuilder> + dnsConfigBuilder_; /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; + * * @return Whether the dnsConfig field is set. */ public boolean hasDnsConfig() { return dnsConfigBuilder_ != null || dnsConfig_ != null; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; + * * @return The dnsConfig. */ public com.google.container.v1beta1.DNSConfig getDnsConfig() { if (dnsConfigBuilder_ == null) { - return dnsConfig_ == null ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() : dnsConfig_; + return dnsConfig_ == null + ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() + : dnsConfig_; } else { return dnsConfigBuilder_.getMessage(); } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1696,14 +1924,15 @@ public Builder setDnsConfig(com.google.container.v1beta1.DNSConfig value) { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; */ - public Builder setDnsConfig( - com.google.container.v1beta1.DNSConfig.Builder builderForValue) { + public Builder setDnsConfig(com.google.container.v1beta1.DNSConfig.Builder builderForValue) { if (dnsConfigBuilder_ == null) { dnsConfig_ = builderForValue.build(); onChanged(); @@ -1714,6 +1943,8 @@ public Builder setDnsConfig( return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1724,7 +1955,9 @@ public Builder mergeDnsConfig(com.google.container.v1beta1.DNSConfig value) { if (dnsConfigBuilder_ == null) { if (dnsConfig_ != null) { dnsConfig_ = - com.google.container.v1beta1.DNSConfig.newBuilder(dnsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.DNSConfig.newBuilder(dnsConfig_) + .mergeFrom(value) + .buildPartial(); } else { dnsConfig_ = value; } @@ -1736,6 +1969,8 @@ public Builder mergeDnsConfig(com.google.container.v1beta1.DNSConfig value) { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1754,6 +1989,8 @@ public Builder clearDnsConfig() { return this; } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1761,11 +1998,13 @@ public Builder clearDnsConfig() { * .google.container.v1beta1.DNSConfig dns_config = 13; */ public com.google.container.v1beta1.DNSConfig.Builder getDnsConfigBuilder() { - + onChanged(); return getDnsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1776,11 +2015,14 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { if (dnsConfigBuilder_ != null) { return dnsConfigBuilder_.getMessageOrBuilder(); } else { - return dnsConfig_ == null ? - com.google.container.v1beta1.DNSConfig.getDefaultInstance() : dnsConfig_; + return dnsConfig_ == null + ? com.google.container.v1beta1.DNSConfig.getDefaultInstance() + : dnsConfig_; } } /** + * + * *
      * DNSConfig contains clusterDNS config for this cluster.
      * 
@@ -1788,14 +2030,17 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { * .google.container.v1beta1.DNSConfig dns_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder> + com.google.container.v1beta1.DNSConfig, + com.google.container.v1beta1.DNSConfig.Builder, + com.google.container.v1beta1.DNSConfigOrBuilder> getDnsConfigFieldBuilder() { if (dnsConfigBuilder_ == null) { - dnsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.DNSConfig, com.google.container.v1beta1.DNSConfig.Builder, com.google.container.v1beta1.DNSConfigOrBuilder>( - getDnsConfig(), - getParentForChildren(), - isClean()); + dnsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.DNSConfig, + com.google.container.v1beta1.DNSConfig.Builder, + com.google.container.v1beta1.DNSConfigOrBuilder>( + getDnsConfig(), getParentForChildren(), isClean()); dnsConfig_ = null; } return dnsConfigBuilder_; @@ -1803,44 +2048,61 @@ public com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder() { private com.google.container.v1beta1.ServiceExternalIPsConfig serviceExternalIpsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> serviceExternalIpsConfigBuilder_; + com.google.container.v1beta1.ServiceExternalIPsConfig, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> + serviceExternalIpsConfigBuilder_; /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * + * * @return Whether the serviceExternalIpsConfig field is set. */ public boolean hasServiceExternalIpsConfig() { return serviceExternalIpsConfigBuilder_ != null || serviceExternalIpsConfig_ != null; } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * + * * @return The serviceExternalIpsConfig. */ public com.google.container.v1beta1.ServiceExternalIPsConfig getServiceExternalIpsConfig() { if (serviceExternalIpsConfigBuilder_ == null) { - return serviceExternalIpsConfig_ == null ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null + ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() + : serviceExternalIpsConfig_; } else { return serviceExternalIpsConfigBuilder_.getMessage(); } } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ - public Builder setServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder setServiceExternalIpsConfig( + com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (serviceExternalIpsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1854,12 +2116,15 @@ public Builder setServiceExternalIpsConfig(com.google.container.v1beta1.ServiceE return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ public Builder setServiceExternalIpsConfig( com.google.container.v1beta1.ServiceExternalIPsConfig.Builder builderForValue) { @@ -1873,18 +2138,25 @@ public Builder setServiceExternalIpsConfig( return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ - public Builder mergeServiceExternalIpsConfig(com.google.container.v1beta1.ServiceExternalIPsConfig value) { + public Builder mergeServiceExternalIpsConfig( + com.google.container.v1beta1.ServiceExternalIPsConfig value) { if (serviceExternalIpsConfigBuilder_ == null) { if (serviceExternalIpsConfig_ != null) { serviceExternalIpsConfig_ = - com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder(serviceExternalIpsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder( + serviceExternalIpsConfig_) + .mergeFrom(value) + .buildPartial(); } else { serviceExternalIpsConfig_ = value; } @@ -1896,12 +2168,15 @@ public Builder mergeServiceExternalIpsConfig(com.google.container.v1beta1.Servic return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ public Builder clearServiceExternalIpsConfig() { if (serviceExternalIpsConfigBuilder_ == null) { @@ -1915,51 +2190,66 @@ public Builder clearServiceExternalIpsConfig() { return this; } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ - public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder getServiceExternalIpsConfigBuilder() { - + public com.google.container.v1beta1.ServiceExternalIPsConfig.Builder + getServiceExternalIpsConfigBuilder() { + onChanged(); return getServiceExternalIpsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ - public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder() { + public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder + getServiceExternalIpsConfigOrBuilder() { if (serviceExternalIpsConfigBuilder_ != null) { return serviceExternalIpsConfigBuilder_.getMessageOrBuilder(); } else { - return serviceExternalIpsConfig_ == null ? - com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() : serviceExternalIpsConfig_; + return serviceExternalIpsConfig_ == null + ? com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance() + : serviceExternalIpsConfig_; } } /** + * + * *
      * ServiceExternalIPsConfig specifies if services with externalIPs field are
      * blocked or not.
      * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> + com.google.container.v1beta1.ServiceExternalIPsConfig, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder> getServiceExternalIpsConfigFieldBuilder() { if (serviceExternalIpsConfigBuilder_ == null) { - serviceExternalIpsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ServiceExternalIPsConfig, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( - getServiceExternalIpsConfig(), - getParentForChildren(), - isClean()); + serviceExternalIpsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ServiceExternalIPsConfig, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder, + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder>( + getServiceExternalIpsConfig(), getParentForChildren(), isClean()); serviceExternalIpsConfig_ = null; } return serviceExternalIpsConfigBuilder_; @@ -1967,36 +2257,49 @@ public com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getService private com.google.container.v1beta1.GatewayAPIConfig gatewayApiConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> gatewayApiConfigBuilder_; + com.google.container.v1beta1.GatewayAPIConfig, + com.google.container.v1beta1.GatewayAPIConfig.Builder, + com.google.container.v1beta1.GatewayAPIConfigOrBuilder> + gatewayApiConfigBuilder_; /** + * + * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; + * * @return Whether the gatewayApiConfig field is set. */ public boolean hasGatewayApiConfig() { return gatewayApiConfigBuilder_ != null || gatewayApiConfig_ != null; } /** + * + * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
      * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; + * * @return The gatewayApiConfig. */ public com.google.container.v1beta1.GatewayAPIConfig getGatewayApiConfig() { if (gatewayApiConfigBuilder_ == null) { - return gatewayApiConfig_ == null ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_; + return gatewayApiConfig_ == null + ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() + : gatewayApiConfig_; } else { return gatewayApiConfigBuilder_.getMessage(); } } /** + * + * *
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2018,6 +2321,8 @@ public Builder setGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2037,6 +2342,8 @@ public Builder setGatewayApiConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2048,7 +2355,9 @@ public Builder mergeGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConf
       if (gatewayApiConfigBuilder_ == null) {
         if (gatewayApiConfig_ != null) {
           gatewayApiConfig_ =
-            com.google.container.v1beta1.GatewayAPIConfig.newBuilder(gatewayApiConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.GatewayAPIConfig.newBuilder(gatewayApiConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           gatewayApiConfig_ = value;
         }
@@ -2060,6 +2369,8 @@ public Builder mergeGatewayApiConfig(com.google.container.v1beta1.GatewayAPIConf
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2079,6 +2390,8 @@ public Builder clearGatewayApiConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2087,11 +2400,13 @@ public Builder clearGatewayApiConfig() {
      * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16;
      */
     public com.google.container.v1beta1.GatewayAPIConfig.Builder getGatewayApiConfigBuilder() {
-      
+
       onChanged();
       return getGatewayApiConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2103,11 +2418,14 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getGatewayApiConfi
       if (gatewayApiConfigBuilder_ != null) {
         return gatewayApiConfigBuilder_.getMessageOrBuilder();
       } else {
-        return gatewayApiConfig_ == null ?
-            com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance() : gatewayApiConfig_;
+        return gatewayApiConfig_ == null
+            ? com.google.container.v1beta1.GatewayAPIConfig.getDefaultInstance()
+            : gatewayApiConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * GatewayAPIConfig contains the desired config of Gateway API on this
      * cluster.
@@ -2116,21 +2434,24 @@ public com.google.container.v1beta1.GatewayAPIConfigOrBuilder getGatewayApiConfi
      * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder> 
+            com.google.container.v1beta1.GatewayAPIConfig,
+            com.google.container.v1beta1.GatewayAPIConfig.Builder,
+            com.google.container.v1beta1.GatewayAPIConfigOrBuilder>
         getGatewayApiConfigFieldBuilder() {
       if (gatewayApiConfigBuilder_ == null) {
-        gatewayApiConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.GatewayAPIConfig, com.google.container.v1beta1.GatewayAPIConfig.Builder, com.google.container.v1beta1.GatewayAPIConfigOrBuilder>(
-                getGatewayApiConfig(),
-                getParentForChildren(),
-                isClean());
+        gatewayApiConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.GatewayAPIConfig,
+                com.google.container.v1beta1.GatewayAPIConfig.Builder,
+                com.google.container.v1beta1.GatewayAPIConfigOrBuilder>(
+                getGatewayApiConfig(), getParentForChildren(), isClean());
         gatewayApiConfig_ = null;
       }
       return gatewayApiConfigBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2140,12 +2461,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkConfig)
   private static final com.google.container.v1beta1.NetworkConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkConfig();
   }
@@ -2154,27 +2475,27 @@ public static com.google.container.v1beta1.NetworkConfig getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public NetworkConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public NetworkConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2189,6 +2510,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.NetworkConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
similarity index 86%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
index 4e2bd833920d..d6a07d70db03 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface NetworkConfigOrBuilder extends
+public interface NetworkConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -16,10 +34,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
@@ -28,12 +49,14 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string network = 1; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -42,10 +65,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string subnetwork = 2; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
    * Output only. The relative name of the Google Compute Engine
    * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
@@ -54,23 +80,28 @@ public interface NetworkConfigOrBuilder extends
    * 
* * string subnetwork = 2; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
    * Whether Intra-node visibility is enabled for this cluster.
    * This makes same node pod to pod traffic visible for VPC network.
    * 
* * bool enable_intra_node_visibility = 5; + * * @return The enableIntraNodeVisibility. */ boolean getEnableIntraNodeVisibility(); /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -79,10 +110,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; + * * @return Whether the defaultSnatStatus field is set. */ boolean hasDefaultSnatStatus(); /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -91,10 +125,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1beta1.DefaultSnatStatus default_snat_status = 7; + * * @return The defaultSnatStatus. */ com.google.container.v1beta1.DefaultSnatStatus getDefaultSnatStatus(); /** + * + * *
    * Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
    * will be disabled when default_snat_status is disabled. When disabled is set
@@ -107,37 +144,48 @@ public interface NetworkConfigOrBuilder extends
   com.google.container.v1beta1.DefaultSnatStatusOrBuilder getDefaultSnatStatusOrBuilder();
 
   /**
+   *
+   *
    * 
    * Whether L4ILB Subsetting is enabled for this cluster.
    * 
* * bool enable_l4ilb_subsetting = 10; + * * @return The enableL4ilbSubsetting. */ boolean getEnableL4IlbSubsetting(); /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @return The enum numeric value on the wire for datapathProvider. */ int getDatapathProviderValue(); /** + * + * *
    * The desired datapath provider for this cluster. By default, uses the
    * IPTables-based kube-proxy implementation.
    * 
* * .google.container.v1beta1.DatapathProvider datapath_provider = 11; + * * @return The datapathProvider. */ com.google.container.v1beta1.DatapathProvider getDatapathProvider(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -145,10 +193,13 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The enum numeric value on the wire for privateIpv6GoogleAccess. */ int getPrivateIpv6GoogleAccessValue(); /** + * + * *
    * The desired state of IPv6 connectivity to Google Services.
    * By default, no private IPv6 access to or from Google Services (all access
@@ -156,29 +207,38 @@ public interface NetworkConfigOrBuilder extends
    * 
* * .google.container.v1beta1.PrivateIPv6GoogleAccess private_ipv6_google_access = 12; + * * @return The privateIpv6GoogleAccess. */ com.google.container.v1beta1.PrivateIPv6GoogleAccess getPrivateIpv6GoogleAccess(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; + * * @return Whether the dnsConfig field is set. */ boolean hasDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
* * .google.container.v1beta1.DNSConfig dns_config = 13; + * * @return The dnsConfig. */ com.google.container.v1beta1.DNSConfig getDnsConfig(); /** + * + * *
    * DNSConfig contains clusterDNS config for this cluster.
    * 
@@ -188,56 +248,76 @@ public interface NetworkConfigOrBuilder extends com.google.container.v1beta1.DNSConfigOrBuilder getDnsConfigOrBuilder(); /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * + * * @return Whether the serviceExternalIpsConfig field is set. */ boolean hasServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * + * * @return The serviceExternalIpsConfig. */ com.google.container.v1beta1.ServiceExternalIPsConfig getServiceExternalIpsConfig(); /** + * + * *
    * ServiceExternalIPsConfig specifies if services with externalIPs field are
    * blocked or not.
    * 
* - * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * .google.container.v1beta1.ServiceExternalIPsConfig service_external_ips_config = 15; + * */ - com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder getServiceExternalIpsConfigOrBuilder(); + com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder + getServiceExternalIpsConfigOrBuilder(); /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; + * * @return Whether the gatewayApiConfig field is set. */ boolean hasGatewayApiConfig(); /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
    * 
* * .google.container.v1beta1.GatewayAPIConfig gateway_api_config = 16; + * * @return The gatewayApiConfig. */ com.google.container.v1beta1.GatewayAPIConfig getGatewayApiConfig(); /** + * + * *
    * GatewayAPIConfig contains the desired config of Gateway API on this
    * cluster.
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
similarity index 66%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
index b74707279f86..f07989ed3da3 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicy.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * Configuration options for the NetworkPolicy feature.
  * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.container.v1beta1.NetworkPolicy}
  */
-public final class NetworkPolicy extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkPolicy extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkPolicy)
     NetworkPolicyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkPolicy.newBuilder() to construct.
   private NetworkPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NetworkPolicy() {
     provider_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkPolicy();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NetworkPolicy.class, com.google.container.v1beta1.NetworkPolicy.Builder.class);
+            com.google.container.v1beta1.NetworkPolicy.class,
+            com.google.container.v1beta1.NetworkPolicy.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Allowed Network Policy providers.
    * 
* * Protobuf enum {@code google.container.v1beta1.NetworkPolicy.Provider} */ - public enum Provider - implements com.google.protobuf.ProtocolMessageEnum { + public enum Provider implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set
      * 
@@ -67,6 +89,8 @@ public enum Provider */ PROVIDER_UNSPECIFIED(0), /** + * + * *
      * Tigera (Calico Felix).
      * 
@@ -78,6 +102,8 @@ public enum Provider ; /** + * + * *
      * Not set
      * 
@@ -86,6 +112,8 @@ public enum Provider */ public static final int PROVIDER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Tigera (Calico Felix).
      * 
@@ -94,7 +122,6 @@ public enum Provider */ public static final int CALICO_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,48 +146,47 @@ public static Provider valueOf(int value) { */ public static Provider forNumber(int value) { switch (value) { - case 0: return PROVIDER_UNSPECIFIED; - case 1: return CALICO; - default: return null; + case 0: + return PROVIDER_UNSPECIFIED; + case 1: + return CALICO; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Provider> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Provider findValueByNumber(int number) { - return Provider.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Provider findValueByNumber(int number) { + return Provider.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.NetworkPolicy.getDescriptor().getEnumTypes().get(0); } private static final Provider[] VALUES = values(); - public static Provider valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Provider valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -180,38 +206,52 @@ private Provider(int value) { public static final int PROVIDER_FIELD_NUMBER = 1; private int provider_; /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override public int getProviderValue() { + @java.lang.Override + public int getProviderValue() { return provider_; } /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @return The provider. */ - @java.lang.Override public com.google.container.v1beta1.NetworkPolicy.Provider getProvider() { + @java.lang.Override + public com.google.container.v1beta1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NetworkPolicy.Provider result = com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); - return result == null ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED : result; + com.google.container.v1beta1.NetworkPolicy.Provider result = + com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); + return result == null + ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED + : result; } public static final int ENABLED_FIELD_NUMBER = 2; private boolean enabled_; /** + * + * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; + * * @return The enabled. */ @java.lang.Override @@ -220,6 +260,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -231,9 +272,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (provider_ != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (provider_ + != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { output.writeEnum(1, provider_); } if (enabled_ != false) { @@ -248,13 +289,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (provider_ != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, provider_); + if (provider_ + != com.google.container.v1beta1.NetworkPolicy.Provider.PROVIDER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, provider_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -264,16 +304,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NetworkPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.NetworkPolicy other = (com.google.container.v1beta1.NetworkPolicy) obj; + com.google.container.v1beta1.NetworkPolicy other = + (com.google.container.v1beta1.NetworkPolicy) obj; if (provider_ != other.provider_) return false; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -288,104 +328,110 @@ public int hashCode() { hash = (37 * hash) + PROVIDER_FIELD_NUMBER; hash = (53 * hash) + provider_; hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.NetworkPolicy parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NetworkPolicy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkPolicy parseFrom( 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.NetworkPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NetworkPolicy parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NetworkPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NetworkPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NetworkPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NetworkPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for the NetworkPolicy feature.
    * https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
@@ -393,33 +439,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NetworkPolicy}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkPolicy)
       com.google.container.v1beta1.NetworkPolicyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NetworkPolicy.class, com.google.container.v1beta1.NetworkPolicy.Builder.class);
+              com.google.container.v1beta1.NetworkPolicy.class,
+              com.google.container.v1beta1.NetworkPolicy.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NetworkPolicy.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,9 +476,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkPolicy_descriptor;
     }
 
     @java.lang.Override
@@ -452,7 +497,8 @@ public com.google.container.v1beta1.NetworkPolicy build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NetworkPolicy buildPartial() {
-      com.google.container.v1beta1.NetworkPolicy result = new com.google.container.v1beta1.NetworkPolicy(this);
+      com.google.container.v1beta1.NetworkPolicy result =
+          new com.google.container.v1beta1.NetworkPolicy(this);
       result.provider_ = provider_;
       result.enabled_ = enabled_;
       onBuilt();
@@ -463,38 +509,39 @@ public com.google.container.v1beta1.NetworkPolicy buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NetworkPolicy) {
-        return mergeFrom((com.google.container.v1beta1.NetworkPolicy)other);
+        return mergeFrom((com.google.container.v1beta1.NetworkPolicy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,22 +582,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              provider_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 16: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                provider_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -563,51 +613,67 @@ public Builder mergeFrom(
 
     private int provider_ = 0;
     /**
+     *
+     *
      * 
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @return The enum numeric value on the wire for provider. */ - @java.lang.Override public int getProviderValue() { + @java.lang.Override + public int getProviderValue() { return provider_; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @param value The enum numeric value on the wire for provider to set. * @return This builder for chaining. */ public Builder setProviderValue(int value) { - + provider_ = value; onChanged(); return this; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @return The provider. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NetworkPolicy.Provider result = com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); - return result == null ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED : result; + com.google.container.v1beta1.NetworkPolicy.Provider result = + com.google.container.v1beta1.NetworkPolicy.Provider.valueOf(provider_); + return result == null + ? com.google.container.v1beta1.NetworkPolicy.Provider.UNRECOGNIZED + : result; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @param value The provider to set. * @return This builder for chaining. */ @@ -615,33 +681,39 @@ public Builder setProvider(com.google.container.v1beta1.NetworkPolicy.Provider v if (value == null) { throw new NullPointerException(); } - + provider_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The selected network policy provider.
      * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @return This builder for chaining. */ public Builder clearProvider() { - + provider_ = 0; onChanged(); return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; + * * @return The enabled. */ @java.lang.Override @@ -649,37 +721,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether network policy is enabled on the cluster.
      * 
* * bool enabled = 2; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -689,12 +767,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkPolicy) private static final com.google.container.v1beta1.NetworkPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkPolicy(); } @@ -703,27 +781,27 @@ public static com.google.container.v1beta1.NetworkPolicy getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -738,6 +816,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NetworkPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java index 28b0920472ee..8dce320c3bd0 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration for NetworkPolicy. This only tracks whether the addon
  * is enabled or not on the Master, it does not track whether network policy
@@ -12,51 +29,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.NetworkPolicyConfig}
  */
-public final class NetworkPolicyConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkPolicyConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkPolicyConfig)
     NetworkPolicyConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkPolicyConfig.newBuilder() to construct.
   private NetworkPolicyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NetworkPolicyConfig() {
-  }
+
+  private NetworkPolicyConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkPolicyConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NetworkPolicyConfig.class, com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
+            com.google.container.v1beta1.NetworkPolicyConfig.class,
+            com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
   }
 
   public static final int DISABLED_FIELD_NUMBER = 1;
   private boolean disabled_;
   /**
+   *
+   *
    * 
    * Whether NetworkPolicy is enabled for this cluster.
    * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -65,6 +86,7 @@ public boolean getDisabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (disabled_ != false) { output.writeBool(1, disabled_); } @@ -91,8 +112,7 @@ public int getSerializedSize() { size = 0; if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, disabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -102,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NetworkPolicyConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NetworkPolicyConfig other = (com.google.container.v1beta1.NetworkPolicyConfig) obj; + com.google.container.v1beta1.NetworkPolicyConfig other = + (com.google.container.v1beta1.NetworkPolicyConfig) obj; - if (getDisabled() - != other.getDisabled()) return false; + if (getDisabled() != other.getDisabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -123,104 +143,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkPolicyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( 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.NetworkPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NetworkPolicyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NetworkPolicyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkPolicyConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkPolicyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NetworkPolicyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for NetworkPolicy. This only tracks whether the addon
    * is enabled or not on the Master, it does not track whether network policy
@@ -229,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NetworkPolicyConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkPolicyConfig)
       com.google.container.v1beta1.NetworkPolicyConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NetworkPolicyConfig.class, com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
+              com.google.container.v1beta1.NetworkPolicyConfig.class,
+              com.google.container.v1beta1.NetworkPolicyConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NetworkPolicyConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -265,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor;
     }
 
     @java.lang.Override
@@ -286,7 +311,8 @@ public com.google.container.v1beta1.NetworkPolicyConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NetworkPolicyConfig buildPartial() {
-      com.google.container.v1beta1.NetworkPolicyConfig result = new com.google.container.v1beta1.NetworkPolicyConfig(this);
+      com.google.container.v1beta1.NetworkPolicyConfig result =
+          new com.google.container.v1beta1.NetworkPolicyConfig(this);
       result.disabled_ = disabled_;
       onBuilt();
       return result;
@@ -296,38 +322,39 @@ public com.google.container.v1beta1.NetworkPolicyConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NetworkPolicyConfig) {
-        return mergeFrom((com.google.container.v1beta1.NetworkPolicyConfig)other);
+        return mergeFrom((com.google.container.v1beta1.NetworkPolicyConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -335,7 +362,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.NetworkPolicyConfig other) {
-      if (other == com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.NetworkPolicyConfig.getDefaultInstance())
+        return this;
       if (other.getDisabled() != false) {
         setDisabled(other.getDisabled());
       }
@@ -365,17 +393,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              disabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                disabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -386,13 +416,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean disabled_ ;
+    private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return The disabled. */ @java.lang.Override @@ -400,37 +433,43 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether NetworkPolicy is enabled for this cluster.
      * 
* * bool disabled = 1; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -440,12 +479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkPolicyConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkPolicyConfig) private static final com.google.container.v1beta1.NetworkPolicyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkPolicyConfig(); } @@ -454,27 +493,27 @@ public static com.google.container.v1beta1.NetworkPolicyConfig getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPolicyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPolicyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -489,6 +528,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NetworkPolicyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java new file mode 100644 index 000000000000..cb3a02dca5db --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface NetworkPolicyConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkPolicyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether NetworkPolicy is enabled for this cluster.
+   * 
+ * + * bool disabled = 1; + * + * @return The disabled. + */ + boolean getDisabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java similarity index 58% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java index 4403349733ad..4e977659fbfe 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface NetworkPolicyOrBuilder extends +public interface NetworkPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @return The enum numeric value on the wire for provider. */ int getProviderValue(); /** + * + * *
    * The selected network policy provider.
    * 
* * .google.container.v1beta1.NetworkPolicy.Provider provider = 1; + * * @return The provider. */ com.google.container.v1beta1.NetworkPolicy.Provider getProvider(); /** + * + * *
    * Whether network policy is enabled on the cluster.
    * 
* * bool enabled = 2; + * * @return The enabled. */ boolean getEnabled(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java index f7f3e29ce6f7..f309ec4e7f15 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTags.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Collection of Compute Engine network tags that can be applied to a node's
  * underlying VM instance. (See `tags` field in
@@ -12,75 +29,85 @@
  *
  * Protobuf type {@code google.container.v1beta1.NetworkTags}
  */
-public final class NetworkTags extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NetworkTags extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NetworkTags)
     NetworkTagsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NetworkTags.newBuilder() to construct.
   private NetworkTags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NetworkTags() {
     tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NetworkTags();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NetworkTags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NetworkTags.class, com.google.container.v1beta1.NetworkTags.Builder.class);
+            com.google.container.v1beta1.NetworkTags.class,
+            com.google.container.v1beta1.NetworkTags.Builder.class);
   }
 
   public static final int TAGS_FIELD_NUMBER = 1;
   private com.google.protobuf.LazyStringList tags_;
   /**
+   *
+   *
    * 
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -88,20 +115,23 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,8 +143,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); } @@ -143,15 +172,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NetworkTags)) { return super.equals(obj); } com.google.container.v1beta1.NetworkTags other = (com.google.container.v1beta1.NetworkTags) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,97 +200,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NetworkTags parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NetworkTags parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkTags parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NetworkTags parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkTags parseFrom( 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.NetworkTags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NetworkTags parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NetworkTags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkTags parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NetworkTags parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NetworkTags parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkTags parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NetworkTags parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NetworkTags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NetworkTags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of Compute Engine network tags that can be applied to a node's
    * underlying VM instance. (See `tags` field in
@@ -271,33 +306,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NetworkTags}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NetworkTags)
       com.google.container.v1beta1.NetworkTagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NetworkTags.class, com.google.container.v1beta1.NetworkTags.Builder.class);
+              com.google.container.v1beta1.NetworkTags.class,
+              com.google.container.v1beta1.NetworkTags.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NetworkTags.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -307,9 +341,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NetworkTags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NetworkTags_descriptor;
     }
 
     @java.lang.Override
@@ -328,7 +362,8 @@ public com.google.container.v1beta1.NetworkTags build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NetworkTags buildPartial() {
-      com.google.container.v1beta1.NetworkTags result = new com.google.container.v1beta1.NetworkTags(this);
+      com.google.container.v1beta1.NetworkTags result =
+          new com.google.container.v1beta1.NetworkTags(this);
       int from_bitField0_ = bitField0_;
       if (((bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -343,38 +378,39 @@ public com.google.container.v1beta1.NetworkTags buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NetworkTags) {
-        return mergeFrom((com.google.container.v1beta1.NetworkTags)other);
+        return mergeFrom((com.google.container.v1beta1.NetworkTags) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -419,18 +455,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTagsIsMutable();
-              tags_.add(s);
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTagsIsMutable();
+                tags_.add(s);
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -440,44 +478,55 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+    private com.google.protobuf.LazyStringList tags_ =
+        com.google.protobuf.LazyStringArrayList.EMPTY;
+
     private void ensureTagsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tags_ = new com.google.protobuf.LazyStringArrayList(tags_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
     /**
+     *
+     *
      * 
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -485,80 +534,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -568,28 +627,30 @@ public Builder clearTags() { return this; } /** + * + * *
      * List of network tags.
      * 
* * repeated string tags = 1; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -599,12 +660,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NetworkTags) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NetworkTags) private static final com.google.container.v1beta1.NetworkTags DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NetworkTags(); } @@ -613,27 +674,27 @@ public static com.google.container.v1beta1.NetworkTags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkTags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkTags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -648,6 +709,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NetworkTags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java similarity index 56% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java index cc99ed99b6bb..b6bb79b4ffe3 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkTagsOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface NetworkTagsOrBuilder extends +public interface NetworkTagsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkTags) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * List of network tags.
    * 
* * repeated string tags = 1; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 77% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfig.java index f346f4062512..56c5b5bf1c21 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Parameters that describe the nodes in a cluster.
  * GKE Autopilot clusters do not
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeConfig}
  */
-public final class NodeConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeConfig)
     NodeConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeConfig.newBuilder() to construct.
   private NodeConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodeConfig() {
     machineType_ = "";
     oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -39,25 +57,23 @@ private NodeConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeConfig_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetMetadata();
@@ -66,22 +82,26 @@ protected com.google.protobuf.MapField internalGetMapField(
       case 37:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeConfig.class, com.google.container.v1beta1.NodeConfig.Builder.class);
+            com.google.container.v1beta1.NodeConfig.class,
+            com.google.container.v1beta1.NodeConfig.Builder.class);
   }
 
   private int bitField0_;
   public static final int MACHINE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object machineType_;
   /**
+   *
+   *
    * 
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -90,6 +110,7 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * string machine_type = 1; + * * @return The machineType. */ @java.lang.Override @@ -98,14 +119,15 @@ public java.lang.String getMachineType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; } } /** + * + * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -114,16 +136,15 @@ public java.lang.String getMachineType() {
    * 
* * string machine_type = 1; + * * @return The bytes for machineType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -134,6 +155,8 @@ public java.lang.String getMachineType() { public static final int DISK_SIZE_GB_FIELD_NUMBER = 2; private int diskSizeGb_; /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -141,6 +164,7 @@ public java.lang.String getMachineType() {
    * 
* * int32 disk_size_gb = 2; + * * @return The diskSizeGb. */ @java.lang.Override @@ -151,6 +175,8 @@ public int getDiskSizeGb() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList oauthScopes_; /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -167,13 +193,15 @@ public int getDiskSizeGb() {
    * 
* * repeated string oauth_scopes = 3; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_; } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -190,12 +218,15 @@ public int getDiskSizeGb() {
    * 
* * repeated string oauth_scopes = 3; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -212,6 +243,7 @@ public int getOauthScopesCount() {
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -219,6 +251,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -235,17 +269,19 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 9; private volatile java.lang.Object serviceAccount_; /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -253,6 +289,7 @@ public java.lang.String getOauthScopes(int index) {
    * 
* * string service_account = 9; + * * @return The serviceAccount. */ @java.lang.Override @@ -261,14 +298,15 @@ public java.lang.String getServiceAccount() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; } } /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -276,16 +314,15 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 9; + * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -294,24 +331,23 @@ public java.lang.String getServiceAccount() { } public static final int METADATA_FIELD_NUMBER = 4; + private static final class MetadataDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } @@ -320,6 +356,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -353,22 +391,22 @@ public int getMetadataCount() {
    *
    * map<string, string> metadata = 4;
    */
-
   @java.lang.Override
-  public boolean containsMetadata(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsMetadata(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetMetadata().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getMetadata() {
     return getMetadataMap();
   }
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -403,11 +441,12 @@ public java.util.Map getMetadata() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.util.Map getMetadataMap() {
     return internalGetMetadata().getMap();
   }
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -442,16 +481,17 @@ public java.util.Map getMetadataMap() {
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
   public java.lang.String getMetadataOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -486,12 +526,11 @@ public java.lang.String getMetadataOrDefault(
    * map<string, string> metadata = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getMetadataOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetMetadata().getMap();
+  public java.lang.String getMetadataOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetMetadata().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -501,12 +540,15 @@ public java.lang.String getMetadataOrThrow(
   public static final int IMAGE_TYPE_FIELD_NUMBER = 5;
   private volatile java.lang.Object imageType_;
   /**
+   *
+   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The imageType. */ @java.lang.Override @@ -515,30 +557,30 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -547,24 +589,23 @@ public java.lang.String getImageType() { } public static final int LABELS_FIELD_NUMBER = 6; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -573,6 +614,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -586,22 +629,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 6;
    */
-
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -616,11 +659,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -635,16 +679,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -659,12 +703,11 @@ public java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 6;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -674,6 +717,8 @@ public java.lang.String getLabelsOrThrow(
   public static final int LOCAL_SSD_COUNT_FIELD_NUMBER = 7;
   private int localSsdCount_;
   /**
+   *
+   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -683,6 +728,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * int32 local_ssd_count = 7; + * * @return The localSsdCount. */ @java.lang.Override @@ -693,6 +739,8 @@ public int getLocalSsdCount() { public static final int TAGS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList tags_; /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -701,13 +749,15 @@ public int getLocalSsdCount() {
    * 
* * repeated string tags = 8; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -716,12 +766,15 @@ public int getLocalSsdCount() {
    * 
* * repeated string tags = 8; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -730,6 +783,7 @@ public int getTagsCount() {
    * 
* * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -737,6 +791,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -745,17 +801,19 @@ public java.lang.String getTags(int index) {
    * 
* * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int PREEMPTIBLE_FIELD_NUMBER = 10; private boolean preemptible_; /** + * + * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -763,6 +821,7 @@ public java.lang.String getTags(int index) {
    * 
* * bool preemptible = 10; + * * @return The preemptible. */ @java.lang.Override @@ -773,6 +832,8 @@ public boolean getPreemptible() { public static final int ACCELERATORS_FIELD_NUMBER = 11; private java.util.List accelerators_; /** + * + * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -786,6 +847,8 @@ public java.util.List getAcceler
     return accelerators_;
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -795,11 +858,13 @@ public java.util.List getAcceler
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAcceleratorsOrBuilderList() {
     return accelerators_;
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -813,6 +878,8 @@ public int getAcceleratorsCount() {
     return accelerators_.size();
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -826,6 +893,8 @@ public com.google.container.v1beta1.AcceleratorConfig getAccelerators(int index)
     return accelerators_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -843,11 +912,14 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
   public static final int SANDBOX_CONFIG_FIELD_NUMBER = 17;
   private com.google.container.v1beta1.SandboxConfig sandboxConfig_;
   /**
+   *
+   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; + * * @return Whether the sandboxConfig field is set. */ @java.lang.Override @@ -855,18 +927,25 @@ public boolean hasSandboxConfig() { return sandboxConfig_ != null; } /** + * + * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; + * * @return The sandboxConfig. */ @java.lang.Override public com.google.container.v1beta1.SandboxConfig getSandboxConfig() { - return sandboxConfig_ == null ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() : sandboxConfig_; + return sandboxConfig_ == null + ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() + : sandboxConfig_; } /** + * + * *
    * Sandbox configuration for this node.
    * 
@@ -881,6 +960,8 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui public static final int NODE_GROUP_FIELD_NUMBER = 18; private volatile java.lang.Object nodeGroup_; /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -889,6 +970,7 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui
    * 
* * string node_group = 18; + * * @return The nodeGroup. */ @java.lang.Override @@ -897,14 +979,15 @@ public java.lang.String getNodeGroup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; } } /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -913,16 +996,15 @@ public java.lang.String getNodeGroup() {
    * 
* * string node_group = 18; + * * @return The bytes for nodeGroup. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodeGroupBytes() { + public com.google.protobuf.ByteString getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -933,6 +1015,8 @@ public java.lang.String getNodeGroup() { public static final int RESERVATION_AFFINITY_FIELD_NUMBER = 19; private com.google.container.v1beta1.ReservationAffinity reservationAffinity_; /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -941,6 +1025,7 @@ public java.lang.String getNodeGroup() {
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; + * * @return Whether the reservationAffinity field is set. */ @java.lang.Override @@ -948,6 +1033,8 @@ public boolean hasReservationAffinity() { return reservationAffinity_ != null; } /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -956,13 +1043,18 @@ public boolean hasReservationAffinity() {
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; + * * @return The reservationAffinity. */ @java.lang.Override public com.google.container.v1beta1.ReservationAffinity getReservationAffinity() { - return reservationAffinity_ == null ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; + return reservationAffinity_ == null + ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() + : reservationAffinity_; } /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -973,13 +1065,16 @@ public com.google.container.v1beta1.ReservationAffinity getReservationAffinity()
    * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder() {
+  public com.google.container.v1beta1.ReservationAffinityOrBuilder
+      getReservationAffinityOrBuilder() {
     return getReservationAffinity();
   }
 
   public static final int DISK_TYPE_FIELD_NUMBER = 12;
   private volatile java.lang.Object diskType_;
   /**
+   *
+   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -987,6 +1082,7 @@ public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationA
    * 
* * string disk_type = 12; + * * @return The diskType. */ @java.lang.Override @@ -995,14 +1091,15 @@ public java.lang.String getDiskType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; } } /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -1010,16 +1107,15 @@ public java.lang.String getDiskType() {
    * 
* * string disk_type = 12; + * * @return The bytes for diskType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -1030,6 +1126,8 @@ public java.lang.String getDiskType() { public static final int MIN_CPU_PLATFORM_FIELD_NUMBER = 13; private volatile java.lang.Object minCpuPlatform_; /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -1041,6 +1139,7 @@ public java.lang.String getDiskType() {
    * 
* * string min_cpu_platform = 13; + * * @return The minCpuPlatform. */ @java.lang.Override @@ -1049,14 +1148,15 @@ public java.lang.String getMinCpuPlatform() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; } } /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -1068,16 +1168,15 @@ public java.lang.String getMinCpuPlatform() {
    * 
* * string min_cpu_platform = 13; + * * @return The bytes for minCpuPlatform. */ @java.lang.Override - public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -1088,11 +1187,14 @@ public java.lang.String getMinCpuPlatform() { public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -1100,18 +1202,25 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } /** + * + * *
    * The workload metadata configuration for this node.
    * 
@@ -1119,13 +1228,16 @@ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataCo * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int TAINTS_FIELD_NUMBER = 15; private java.util.List taints_; /** + * + * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1139,6 +1251,8 @@ public java.util.List getTaintsList() {
     return taints_;
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1148,11 +1262,13 @@ public java.util.List getTaintsList() {
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getTaintsOrBuilderList() {
     return taints_;
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1166,6 +1282,8 @@ public int getTaintsCount() {
     return taints_.size();
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1179,6 +1297,8 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
     return taints_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -1188,14 +1308,15 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
-      int index) {
+  public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
     return taints_.get(index);
   }
 
   public static final int BOOT_DISK_KMS_KEY_FIELD_NUMBER = 23;
   private volatile java.lang.Object bootDiskKmsKey_;
   /**
+   *
+   *
    * 
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1206,6 +1327,7 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * string boot_disk_kms_key = 23; + * * @return The bootDiskKmsKey. */ @java.lang.Override @@ -1214,14 +1336,15 @@ public java.lang.String getBootDiskKmsKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; } } /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -1232,16 +1355,15 @@ public java.lang.String getBootDiskKmsKey() {
    * 
* * string boot_disk_kms_key = 23; + * * @return The bytes for bootDiskKmsKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -1252,11 +1374,14 @@ public java.lang.String getBootDiskKmsKey() { public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER = 20; private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return Whether the shieldedInstanceConfig field is set. */ @java.lang.Override @@ -1264,18 +1389,25 @@ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return The shieldedInstanceConfig. */ @java.lang.Override public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { - return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } /** + * + * *
    * Shielded Instance options.
    * 
@@ -1283,18 +1415,22 @@ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceCo * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ @java.lang.Override - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); } public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_; /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; + * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -1302,18 +1438,25 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; + * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -1328,11 +1471,14 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO public static final int KUBELET_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; + * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -1340,18 +1486,25 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; + * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } /** + * + * *
    * Node kubelet configs.
    * 
@@ -1366,12 +1519,15 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO public static final int EPHEMERAL_STORAGE_CONFIG_FIELD_NUMBER = 24; private com.google.container.v1beta1.EphemeralStorageConfig ephemeralStorageConfig_; /** + * + * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; + * * @return Whether the ephemeralStorageConfig field is set. */ @java.lang.Override @@ -1379,19 +1535,26 @@ public boolean hasEphemeralStorageConfig() { return ephemeralStorageConfig_ != null; } /** + * + * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; + * * @return The ephemeralStorageConfig. */ @java.lang.Override public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageConfig() { - return ephemeralStorageConfig_ == null ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() : ephemeralStorageConfig_; + return ephemeralStorageConfig_ == null + ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() + : ephemeralStorageConfig_; } /** + * + * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
@@ -1400,18 +1563,22 @@ public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageCo
    * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
    */
   @java.lang.Override
-  public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeralStorageConfigOrBuilder() {
+  public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder
+      getEphemeralStorageConfigOrBuilder() {
     return getEphemeralStorageConfig();
   }
 
   public static final int GCFS_CONFIG_FIELD_NUMBER = 25;
   private com.google.container.v1beta1.GcfsConfig gcfsConfig_;
   /**
+   *
+   *
    * 
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; + * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -1419,18 +1586,25 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** + * + * *
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; + * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } /** + * + * *
    * GCFS (Google Container File System) configs.
    * 
@@ -1445,11 +1619,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() public static final int ADVANCED_MACHINE_FEATURES_FIELD_NUMBER = 26; private com.google.container.v1beta1.AdvancedMachineFeatures advancedMachineFeatures_; /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return Whether the advancedMachineFeatures field is set. */ @java.lang.Override @@ -1457,18 +1634,25 @@ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeatures_ != null; } /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return The advancedMachineFeatures. */ @java.lang.Override public com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFeatures() { - return advancedMachineFeatures_ == null ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; + return advancedMachineFeatures_ == null + ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() + : advancedMachineFeatures_; } /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
@@ -1476,18 +1660,22 @@ public com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFe * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ @java.lang.Override - public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder + getAdvancedMachineFeaturesOrBuilder() { return getAdvancedMachineFeatures(); } public static final int GVNIC_FIELD_NUMBER = 29; private com.google.container.v1beta1.VirtualNIC gvnic_; /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -1495,11 +1683,14 @@ public boolean hasGvnic() { return gvnic_ != null; } /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ @java.lang.Override @@ -1507,6 +1698,8 @@ public com.google.container.v1beta1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -1521,12 +1714,15 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { public static final int SPOT_FIELD_NUMBER = 32; private boolean spot_; /** + * + * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; + * * @return The spot. */ @java.lang.Override @@ -1537,12 +1733,15 @@ public boolean getSpot() { public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 35; private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -1550,19 +1749,26 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1578,11 +1784,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
   public static final int FAST_SOCKET_FIELD_NUMBER = 36;
   private com.google.container.v1beta1.FastSocket fastSocket_;
   /**
+   *
+   *
    * 
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * * @return Whether the fastSocket field is set. */ @java.lang.Override @@ -1590,18 +1799,25 @@ public boolean hasFastSocket() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * * @return The fastSocket. */ @java.lang.Override public com.google.container.v1beta1.FastSocket getFastSocket() { - return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1beta1.FastSocket.getDefaultInstance() + : fastSocket_; } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -1610,25 +1826,28 @@ public com.google.container.v1beta1.FastSocket getFastSocket() { */ @java.lang.Override public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() { - return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1beta1.FastSocket.getDefaultInstance() + : fastSocket_; } public static final int RESOURCE_LABELS_FIELD_NUMBER = 37; + private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -1640,6 +1859,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1647,22 +1868,22 @@ public int getResourceLabelsCount() {
    *
    * map<string, string> resource_labels = 37;
    */
-
   @java.lang.Override
-  public boolean containsResourceLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsResourceLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetResourceLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getResourceLabels() {
     return getResourceLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1671,11 +1892,12 @@ public java.util.Map getResourceLabels() {
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-
   public java.util.Map getResourceLabelsMap() {
     return internalGetResourceLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1684,16 +1906,17 @@ public java.util.Map getResourceLabelsMap()
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-
   public java.lang.String getResourceLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+      java.lang.String key, java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1702,12 +1925,11 @@ public java.lang.String getResourceLabelsOrDefault(
    * map<string, string> resource_labels = 37;
    */
   @java.lang.Override
-
-  public java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetResourceLabels().getMap();
+  public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetResourceLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -1717,11 +1939,14 @@ public java.lang.String getResourceLabelsOrThrow(
   public static final int LOGGING_CONFIG_FIELD_NUMBER = 38;
   private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_;
   /**
+   *
+   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -1729,18 +1954,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration.
    * 
@@ -1753,6 +1985,7 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1764,8 +1997,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, machineType_); } @@ -1775,21 +2007,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < oauthScopes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, oauthScopes_.getRaw(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetMetadata(), - MetadataDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, imageType_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 6); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 6); if (localSsdCount_ != 0) { output.writeInt32(7, localSsdCount_); } @@ -1859,12 +2083,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(36, getFastSocket()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetResourceLabels(), - ResourceLabelsDefaultEntryHolder.defaultEntry, - 37); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 37); if (loggingConfig_ != null) { output.writeMessage(38, getLoggingConfig()); } @@ -1881,8 +2101,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, machineType_); } if (diskSizeGb_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, diskSizeGb_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, diskSizeGb_); } { int dataSize = 0; @@ -1892,32 +2111,31 @@ public int getSerializedSize() { size += dataSize; size += 1 * getOauthScopesList().size(); } - for (java.util.Map.Entry entry - : internalGetMetadata().getMap().entrySet()) { - com.google.protobuf.MapEntry - metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, metadata__); + for (java.util.Map.Entry entry : + internalGetMetadata().getMap().entrySet()) { + com.google.protobuf.MapEntry metadata__ = + MetadataDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, metadata__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, imageType_); } - 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(6, labels__); + 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(6, labels__); } if (localSsdCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, localSsdCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, localSsdCount_); } { int dataSize = 0; @@ -1931,12 +2149,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceAccount_); } if (preemptible_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, preemptible_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, preemptible_); } for (int i = 0; i < accelerators_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, accelerators_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, accelerators_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(diskType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, diskType_); @@ -1945,80 +2161,71 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, minCpuPlatform_); } if (workloadMetadataConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getWorkloadMetadataConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig()); } for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, taints_.get(i)); } if (sandboxConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getSandboxConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getSandboxConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, nodeGroup_); } if (reservationAffinity_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, getReservationAffinity()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(19, getReservationAffinity()); } if (shieldedInstanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, getShieldedInstanceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(20, getShieldedInstanceConfig()); } if (linuxNodeConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, getLinuxNodeConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getLinuxNodeConfig()); } if (kubeletConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, getKubeletConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getKubeletConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskKmsKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, bootDiskKmsKey_); } if (ephemeralStorageConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, getEphemeralStorageConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(24, getEphemeralStorageConfig()); } if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(25, getGcfsConfig()); } if (advancedMachineFeatures_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, getAdvancedMachineFeatures()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 26, getAdvancedMachineFeatures()); } if (gvnic_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, getGvnic()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic()); } if (spot_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(32, spot_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(32, spot_); } if (confidentialNodes_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(35, getConfidentialNodes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, getConfidentialNodes()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(36, getFastSocket()); - } - for (java.util.Map.Entry entry - : internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(37, resourceLabels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(36, getFastSocket()); + } + for (java.util.Map.Entry entry : + internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry resourceLabels__ = + ResourceLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(37, resourceLabels__); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(38, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(38, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2028,113 +2235,82 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeConfig)) { return super.equals(obj); } com.google.container.v1beta1.NodeConfig other = (com.google.container.v1beta1.NodeConfig) obj; - if (!getMachineType() - .equals(other.getMachineType())) return false; - if (getDiskSizeGb() - != other.getDiskSizeGb()) return false; - if (!getOauthScopesList() - .equals(other.getOauthScopesList())) return false; - if (!getServiceAccount() - .equals(other.getServiceAccount())) return false; - if (!internalGetMetadata().equals( - other.internalGetMetadata())) return false; - if (!getImageType() - .equals(other.getImageType())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (getLocalSsdCount() - != other.getLocalSsdCount()) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (getPreemptible() - != other.getPreemptible()) return false; - if (!getAcceleratorsList() - .equals(other.getAcceleratorsList())) return false; + if (!getMachineType().equals(other.getMachineType())) return false; + if (getDiskSizeGb() != other.getDiskSizeGb()) return false; + if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!internalGetMetadata().equals(other.internalGetMetadata())) return false; + if (!getImageType().equals(other.getImageType())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (getLocalSsdCount() != other.getLocalSsdCount()) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (getPreemptible() != other.getPreemptible()) return false; + if (!getAcceleratorsList().equals(other.getAcceleratorsList())) return false; if (hasSandboxConfig() != other.hasSandboxConfig()) return false; if (hasSandboxConfig()) { - if (!getSandboxConfig() - .equals(other.getSandboxConfig())) return false; + if (!getSandboxConfig().equals(other.getSandboxConfig())) return false; } - if (!getNodeGroup() - .equals(other.getNodeGroup())) return false; + if (!getNodeGroup().equals(other.getNodeGroup())) return false; if (hasReservationAffinity() != other.hasReservationAffinity()) return false; if (hasReservationAffinity()) { - if (!getReservationAffinity() - .equals(other.getReservationAffinity())) return false; + if (!getReservationAffinity().equals(other.getReservationAffinity())) return false; } - if (!getDiskType() - .equals(other.getDiskType())) return false; - if (!getMinCpuPlatform() - .equals(other.getMinCpuPlatform())) return false; + if (!getDiskType().equals(other.getDiskType())) return false; + if (!getMinCpuPlatform().equals(other.getMinCpuPlatform())) return false; if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false; if (hasWorkloadMetadataConfig()) { - if (!getWorkloadMetadataConfig() - .equals(other.getWorkloadMetadataConfig())) return false; + if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false; } - if (!getTaintsList() - .equals(other.getTaintsList())) return false; - if (!getBootDiskKmsKey() - .equals(other.getBootDiskKmsKey())) return false; + if (!getTaintsList().equals(other.getTaintsList())) return false; + if (!getBootDiskKmsKey().equals(other.getBootDiskKmsKey())) return false; if (hasShieldedInstanceConfig() != other.hasShieldedInstanceConfig()) return false; if (hasShieldedInstanceConfig()) { - if (!getShieldedInstanceConfig() - .equals(other.getShieldedInstanceConfig())) return false; + if (!getShieldedInstanceConfig().equals(other.getShieldedInstanceConfig())) return false; } if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false; if (hasLinuxNodeConfig()) { - if (!getLinuxNodeConfig() - .equals(other.getLinuxNodeConfig())) return false; + if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false; } if (hasKubeletConfig() != other.hasKubeletConfig()) return false; if (hasKubeletConfig()) { - if (!getKubeletConfig() - .equals(other.getKubeletConfig())) return false; + if (!getKubeletConfig().equals(other.getKubeletConfig())) return false; } if (hasEphemeralStorageConfig() != other.hasEphemeralStorageConfig()) return false; if (hasEphemeralStorageConfig()) { - if (!getEphemeralStorageConfig() - .equals(other.getEphemeralStorageConfig())) return false; + if (!getEphemeralStorageConfig().equals(other.getEphemeralStorageConfig())) return false; } if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig() - .equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; } if (hasAdvancedMachineFeatures() != other.hasAdvancedMachineFeatures()) return false; if (hasAdvancedMachineFeatures()) { - if (!getAdvancedMachineFeatures() - .equals(other.getAdvancedMachineFeatures())) return false; + if (!getAdvancedMachineFeatures().equals(other.getAdvancedMachineFeatures())) return false; } if (hasGvnic() != other.hasGvnic()) return false; if (hasGvnic()) { - if (!getGvnic() - .equals(other.getGvnic())) return false; + if (!getGvnic().equals(other.getGvnic())) return false; } - if (getSpot() - != other.getSpot()) return false; + if (getSpot() != other.getSpot()) return false; if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false; if (hasConfidentialNodes()) { - if (!getConfidentialNodes() - .equals(other.getConfidentialNodes())) return false; + if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false; } if (hasFastSocket() != other.hasFastSocket()) return false; if (hasFastSocket()) { - if (!getFastSocket() - .equals(other.getFastSocket())) return false; + if (!getFastSocket().equals(other.getFastSocket())) return false; } - if (!internalGetResourceLabels().equals( - other.internalGetResourceLabels())) return false; + if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2174,8 +2350,7 @@ public int hashCode() { hash = (53 * hash) + getTagsList().hashCode(); } hash = (37 * hash) + PREEMPTIBLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPreemptible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPreemptible()); if (getAcceleratorsCount() > 0) { hash = (37 * hash) + ACCELERATORS_FIELD_NUMBER; hash = (53 * hash) + getAcceleratorsList().hashCode(); @@ -2233,8 +2408,7 @@ public int hashCode() { hash = (53 * hash) + getGvnic().hashCode(); } hash = (37 * hash) + SPOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSpot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSpot()); if (hasConfidentialNodes()) { hash = (37 * hash) + CONFIDENTIAL_NODES_FIELD_NUMBER; hash = (53 * hash) + getConfidentialNodes().hashCode(); @@ -2256,97 +2430,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.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.container.v1beta1.NodeConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters that describe the nodes in a cluster.
    * GKE Autopilot clusters do not
@@ -2357,18 +2538,17 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodeConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeConfig)
       com.google.container.v1beta1.NodeConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeConfig_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMetadata();
@@ -2377,13 +2557,12 @@ protected com.google.protobuf.MapField internalGetMapField(
         case 37:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableMetadata();
@@ -2392,16 +2571,18 @@ protected com.google.protobuf.MapField internalGetMutableMapField(
         case 37:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeConfig.class, com.google.container.v1beta1.NodeConfig.Builder.class);
+              com.google.container.v1beta1.NodeConfig.class,
+              com.google.container.v1beta1.NodeConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeConfig.newBuilder()
@@ -2409,19 +2590,19 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getAcceleratorsFieldBuilder();
         getTaintsFieldBuilder();
         getFastSocketFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2550,9 +2731,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeConfig_descriptor;
     }
 
     @java.lang.Override
@@ -2571,7 +2752,8 @@ public com.google.container.v1beta1.NodeConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeConfig buildPartial() {
-      com.google.container.v1beta1.NodeConfig result = new com.google.container.v1beta1.NodeConfig(this);
+      com.google.container.v1beta1.NodeConfig result =
+          new com.google.container.v1beta1.NodeConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.machineType_ = machineType_;
@@ -2696,38 +2878,39 @@ public com.google.container.v1beta1.NodeConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeConfig) {
-        return mergeFrom((com.google.container.v1beta1.NodeConfig)other);
+        return mergeFrom((com.google.container.v1beta1.NodeConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2757,14 +2940,12 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
         serviceAccount_ = other.serviceAccount_;
         onChanged();
       }
-      internalGetMutableMetadata().mergeFrom(
-          other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
       if (!other.getImageType().isEmpty()) {
         imageType_ = other.imageType_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (other.getLocalSsdCount() != 0) {
         setLocalSsdCount(other.getLocalSsdCount());
       }
@@ -2799,9 +2980,10 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
             acceleratorsBuilder_ = null;
             accelerators_ = other.accelerators_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            acceleratorsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAcceleratorsFieldBuilder() : null;
+            acceleratorsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAcceleratorsFieldBuilder()
+                    : null;
           } else {
             acceleratorsBuilder_.addAllMessages(other.accelerators_);
           }
@@ -2846,9 +3028,10 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000020);
-            taintsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaintsFieldBuilder() : null;
+            taintsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaintsFieldBuilder()
+                    : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -2888,8 +3071,7 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeConfig other) {
       if (other.hasFastSocket()) {
         mergeFastSocket(other.getFastSocket());
       }
-      internalGetMutableResourceLabels().mergeFrom(
-          other.internalGetResourceLabels());
+      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
       if (other.hasLoggingConfig()) {
         mergeLoggingConfig(other.getLoggingConfig());
       }
@@ -2919,220 +3101,236 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              machineType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              diskSizeGb_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureOauthScopesIsMutable();
-              oauthScopes_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              metadata__ = input.readMessage(
-                  MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableMetadata().getMutableMap().put(
-                  metadata__.getKey(), metadata__.getValue());
-              break;
-            } // case 34
-            case 42: {
-              imageType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            } // case 50
-            case 56: {
-              localSsdCount_ = input.readInt32();
-
-              break;
-            } // case 56
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureTagsIsMutable();
-              tags_.add(s);
-              break;
-            } // case 66
-            case 74: {
-              serviceAccount_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 80: {
-              preemptible_ = input.readBool();
-
-              break;
-            } // case 80
-            case 90: {
-              com.google.container.v1beta1.AcceleratorConfig m =
-                  input.readMessage(
-                      com.google.container.v1beta1.AcceleratorConfig.parser(),
-                      extensionRegistry);
-              if (acceleratorsBuilder_ == null) {
-                ensureAcceleratorsIsMutable();
-                accelerators_.add(m);
-              } else {
-                acceleratorsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 90
-            case 98: {
-              diskType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 98
-            case 106: {
-              minCpuPlatform_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getWorkloadMetadataConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 114
-            case 122: {
-              com.google.container.v1beta1.NodeTaint m =
-                  input.readMessage(
-                      com.google.container.v1beta1.NodeTaint.parser(),
-                      extensionRegistry);
-              if (taintsBuilder_ == null) {
-                ensureTaintsIsMutable();
-                taints_.add(m);
-              } else {
-                taintsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 122
-            case 138: {
-              input.readMessage(
-                  getSandboxConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 138
-            case 146: {
-              nodeGroup_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 146
-            case 154: {
-              input.readMessage(
-                  getReservationAffinityFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 154
-            case 162: {
-              input.readMessage(
-                  getShieldedInstanceConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 162
-            case 170: {
-              input.readMessage(
-                  getLinuxNodeConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 170
-            case 178: {
-              input.readMessage(
-                  getKubeletConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 178
-            case 186: {
-              bootDiskKmsKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 186
-            case 194: {
-              input.readMessage(
-                  getEphemeralStorageConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 194
-            case 202: {
-              input.readMessage(
-                  getGcfsConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 202
-            case 210: {
-              input.readMessage(
-                  getAdvancedMachineFeaturesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 210
-            case 234: {
-              input.readMessage(
-                  getGvnicFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 234
-            case 256: {
-              spot_ = input.readBool();
-
-              break;
-            } // case 256
-            case 282: {
-              input.readMessage(
-                  getConfidentialNodesFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 282
-            case 290: {
-              input.readMessage(
-                  getFastSocketFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 290
-            case 298: {
-              com.google.protobuf.MapEntry
-              resourceLabels__ = input.readMessage(
-                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableResourceLabels().getMutableMap().put(
-                  resourceLabels__.getKey(), resourceLabels__.getValue());
-              break;
-            } // case 298
-            case 306: {
-              input.readMessage(
-                  getLoggingConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 306
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                machineType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                diskSizeGb_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureOauthScopesIsMutable();
+                oauthScopes_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry metadata__ =
+                    input.readMessage(
+                        MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableMetadata()
+                    .getMutableMap()
+                    .put(metadata__.getKey(), metadata__.getValue());
+                break;
+              } // case 34
+            case 42:
+              {
+                imageType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                break;
+              } // case 50
+            case 56:
+              {
+                localSsdCount_ = input.readInt32();
+
+                break;
+              } // case 56
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureTagsIsMutable();
+                tags_.add(s);
+                break;
+              } // case 66
+            case 74:
+              {
+                serviceAccount_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 80:
+              {
+                preemptible_ = input.readBool();
+
+                break;
+              } // case 80
+            case 90:
+              {
+                com.google.container.v1beta1.AcceleratorConfig m =
+                    input.readMessage(
+                        com.google.container.v1beta1.AcceleratorConfig.parser(), extensionRegistry);
+                if (acceleratorsBuilder_ == null) {
+                  ensureAcceleratorsIsMutable();
+                  accelerators_.add(m);
+                } else {
+                  acceleratorsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 90
+            case 98:
+              {
+                diskType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 98
+            case 106:
+              {
+                minCpuPlatform_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(
+                    getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 114
+            case 122:
+              {
+                com.google.container.v1beta1.NodeTaint m =
+                    input.readMessage(
+                        com.google.container.v1beta1.NodeTaint.parser(), extensionRegistry);
+                if (taintsBuilder_ == null) {
+                  ensureTaintsIsMutable();
+                  taints_.add(m);
+                } else {
+                  taintsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 122
+            case 138:
+              {
+                input.readMessage(getSandboxConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 138
+            case 146:
+              {
+                nodeGroup_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 146
+            case 154:
+              {
+                input.readMessage(
+                    getReservationAffinityFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 154
+            case 162:
+              {
+                input.readMessage(
+                    getShieldedInstanceConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 162
+            case 170:
+              {
+                input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 170
+            case 178:
+              {
+                input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 178
+            case 186:
+              {
+                bootDiskKmsKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 186
+            case 194:
+              {
+                input.readMessage(
+                    getEphemeralStorageConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 194
+            case 202:
+              {
+                input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 202
+            case 210:
+              {
+                input.readMessage(
+                    getAdvancedMachineFeaturesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 210
+            case 234:
+              {
+                input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 234
+            case 256:
+              {
+                spot_ = input.readBool();
+
+                break;
+              } // case 256
+            case 282:
+              {
+                input.readMessage(
+                    getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 282
+            case 290:
+              {
+                input.readMessage(getFastSocketFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 290
+            case 298:
+              {
+                com.google.protobuf.MapEntry resourceLabels__ =
+                    input.readMessage(
+                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableResourceLabels()
+                    .getMutableMap()
+                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
+                break;
+              } // case 298
+            case 306:
+              {
+                input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 306
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3142,10 +3340,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object machineType_ = "";
     /**
+     *
+     *
      * 
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3154,13 +3355,13 @@ public Builder mergeFrom(
      * 
* * string machine_type = 1; + * * @return The machineType. */ public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); machineType_ = s; return s; @@ -3169,6 +3370,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3177,15 +3380,14 @@ public java.lang.String getMachineType() {
      * 
* * string machine_type = 1; + * * @return The bytes for machineType. */ - public com.google.protobuf.ByteString - getMachineTypeBytes() { + public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); machineType_ = b; return b; } else { @@ -3193,6 +3395,8 @@ public java.lang.String getMachineType() { } } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3201,20 +3405,22 @@ public java.lang.String getMachineType() {
      * 
* * string machine_type = 1; + * * @param value The machineType to set. * @return This builder for chaining. */ - public Builder setMachineType( - java.lang.String value) { + public Builder setMachineType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + machineType_ = value; onChanged(); return this; } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3223,15 +3429,18 @@ public Builder setMachineType(
      * 
* * string machine_type = 1; + * * @return This builder for chaining. */ public Builder clearMachineType() { - + machineType_ = getDefaultInstance().getMachineType(); onChanged(); return this; } /** + * + * *
      * The name of a Google Compute Engine [machine
      * type](https://cloud.google.com/compute/docs/machine-types).
@@ -3240,23 +3449,25 @@ public Builder clearMachineType() {
      * 
* * string machine_type = 1; + * * @param value The bytes for machineType to set. * @return This builder for chaining. */ - public Builder setMachineTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + machineType_ = value; onChanged(); return this; } - private int diskSizeGb_ ; + private int diskSizeGb_; /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3264,6 +3475,7 @@ public Builder setMachineTypeBytes(
      * 
* * int32 disk_size_gb = 2; + * * @return The diskSizeGb. */ @java.lang.Override @@ -3271,6 +3483,8 @@ public int getDiskSizeGb() { return diskSizeGb_; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3278,16 +3492,19 @@ public int getDiskSizeGb() {
      * 
* * int32 disk_size_gb = 2; + * * @param value The diskSizeGb to set. * @return This builder for chaining. */ public Builder setDiskSizeGb(int value) { - + diskSizeGb_ = value; onChanged(); return this; } /** + * + * *
      * Size of the disk attached to each node, specified in GB.
      * The smallest allowed disk size is 10GB.
@@ -3295,23 +3512,28 @@ public Builder setDiskSizeGb(int value) {
      * 
* * int32 disk_size_gb = 2; + * * @return This builder for chaining. */ public Builder clearDiskSizeGb() { - + diskSizeGb_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList oauthScopes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3328,13 +3550,15 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 3; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3351,12 +3575,15 @@ private void ensureOauthScopesIsMutable() {
      * 
* * repeated string oauth_scopes = 3; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3373,6 +3600,7 @@ public int getOauthScopesCount() {
      * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -3380,6 +3608,8 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3396,14 +3626,16 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3420,21 +3652,23 @@ public java.lang.String getOauthScopes(int index) {
      * 
* * repeated string oauth_scopes = 3; + * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes( - int index, java.lang.String value) { + public Builder setOauthScopes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3451,20 +3685,22 @@ public Builder setOauthScopes(
      * 
* * repeated string oauth_scopes = 3; + * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes( - java.lang.String value) { + public Builder addOauthScopes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3481,18 +3717,19 @@ public Builder addOauthScopes(
      * 
* * repeated string oauth_scopes = 3; + * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes( - java.lang.Iterable values) { + public Builder addAllOauthScopes(java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); onChanged(); return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3509,6 +3746,7 @@ public Builder addAllOauthScopes(
      * 
* * repeated string oauth_scopes = 3; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -3518,6 +3756,8 @@ public Builder clearOauthScopes() { return this; } /** + * + * *
      * The set of Google API scopes to be made available on all of the
      * node VMs under the "default" service account.
@@ -3534,15 +3774,15 @@ public Builder clearOauthScopes() {
      * 
* * repeated string oauth_scopes = 3; + * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes( - com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -3551,6 +3791,8 @@ public Builder addOauthScopesBytes( private java.lang.Object serviceAccount_ = ""; /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3558,13 +3800,13 @@ public Builder addOauthScopesBytes(
      * 
* * string service_account = 9; + * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccount_ = s; return s; @@ -3573,6 +3815,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3580,15 +3824,14 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9; + * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString - getServiceAccountBytes() { + public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccount_ = b; return b; } else { @@ -3596,6 +3839,8 @@ public java.lang.String getServiceAccount() { } } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3603,20 +3848,22 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9; + * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount( - java.lang.String value) { + public Builder setServiceAccount(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3624,15 +3871,18 @@ public Builder setServiceAccount(
      * 
* * string service_account = 9; + * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** + * + * *
      * The Google Cloud Platform Service Account to be used by the node VMs.
      * Specify the email address of the Service Account; otherwise, if no Service
@@ -3640,37 +3890,37 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 9; + * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> metadata_; - private com.google.protobuf.MapField - internalGetMetadata() { + private com.google.protobuf.MapField metadata_; + + private com.google.protobuf.MapField internalGetMetadata() { if (metadata_ == null) { - return com.google.protobuf.MapField.emptyMapField( - MetadataDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry); } return metadata_; } + private com.google.protobuf.MapField - internalGetMutableMetadata() { - onChanged();; + internalGetMutableMetadata() { + onChanged(); + ; if (metadata_ == null) { - metadata_ = com.google.protobuf.MapField.newMapField( - MetadataDefaultEntryHolder.defaultEntry); + metadata_ = + com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry); } if (!metadata_.isMutable()) { metadata_ = metadata_.copy(); @@ -3682,6 +3932,8 @@ public int getMetadataCount() { return internalGetMetadata().getMap().size(); } /** + * + * *
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3715,22 +3967,22 @@ public int getMetadataCount() {
      *
      * map<string, string> metadata = 4;
      */
-
     @java.lang.Override
-    public boolean containsMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetMetadata().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getMetadataMap()} instead.
-     */
+    /** Use {@link #getMetadataMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getMetadata() {
       return getMetadataMap();
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3765,11 +4017,12 @@ public java.util.Map getMetadata() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.util.Map getMetadataMap() {
       return internalGetMetadata().getMap();
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3804,16 +4057,17 @@ public java.util.Map getMetadataMap() {
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
     public java.lang.String getMetadataOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3848,12 +4102,11 @@ public java.lang.String getMetadataOrDefault(
      * map<string, string> metadata = 4;
      */
     @java.lang.Override
-
-    public java.lang.String getMetadataOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetMetadata().getMap();
+    public java.lang.String getMetadataOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetMetadata().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3861,11 +4114,12 @@ public java.lang.String getMetadataOrThrow(
     }
 
     public Builder clearMetadata() {
-      internalGetMutableMetadata().getMutableMap()
-          .clear();
+      internalGetMutableMetadata().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3899,23 +4153,21 @@ public Builder clearMetadata() {
      *
      * map<string, string> metadata = 4;
      */
-
-    public Builder removeMetadata(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableMetadata().getMutableMap()
-          .remove(key);
+    public Builder removeMetadata(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableMetadata().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableMetadata() {
+    public java.util.Map getMutableMetadata() {
       return internalGetMutableMetadata().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3949,19 +4201,20 @@ public Builder removeMetadata(
      *
      * map<string, string> metadata = 4;
      */
-    public Builder putMetadata(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putMetadata(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableMetadata().getMutableMap()
-          .put(key, value);
+      internalGetMutableMetadata().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The metadata key/value pairs assigned to instances in the cluster.
      * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -3995,29 +4248,28 @@ public Builder putMetadata(
      *
      * map<string, string> metadata = 4;
      */
-
-    public Builder putAllMetadata(
-        java.util.Map values) {
-      internalGetMutableMetadata().getMutableMap()
-          .putAll(values);
+    public Builder putAllMetadata(java.util.Map values) {
+      internalGetMutableMetadata().getMutableMap().putAll(values);
       return this;
     }
 
     private java.lang.Object imageType_ = "";
     /**
+     *
+     *
      * 
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -4026,21 +4278,22 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -4048,78 +4301,84 @@ public java.lang.String getImageType() { } } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** + * + * *
      * The image type to use for this node. Note that for a given image type,
      * the latest version of it will be used.
      * 
* * string image_type = 5; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4131,6 +4390,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4144,22 +4405,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 6;
      */
-
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4174,11 +4435,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4193,16 +4455,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4217,12 +4480,11 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 6;
      */
     @java.lang.Override
-
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -4230,11 +4492,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4248,23 +4511,21 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 6;
      */
-
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4278,19 +4539,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 6;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The map of Kubernetes labels (key/value pairs) to be applied to each node.
      * These will added in addition to any default label(s) that
@@ -4304,16 +4566,15 @@ public Builder putLabels(
      *
      * map<string, string> labels = 6;
      */
-
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       return this;
     }
 
-    private int localSsdCount_ ;
+    private int localSsdCount_;
     /**
+     *
+     *
      * 
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4323,6 +4584,7 @@ public Builder putAllLabels(
      * 
* * int32 local_ssd_count = 7; + * * @return The localSsdCount. */ @java.lang.Override @@ -4330,6 +4592,8 @@ public int getLocalSsdCount() { return localSsdCount_; } /** + * + * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4339,16 +4603,19 @@ public int getLocalSsdCount() {
      * 
* * int32 local_ssd_count = 7; + * * @param value The localSsdCount to set. * @return This builder for chaining. */ public Builder setLocalSsdCount(int value) { - + localSsdCount_ = value; onChanged(); return this; } /** + * + * *
      * The number of local SSD disks to be attached to the node.
      * The limit for this value is dependent upon the maximum number of
@@ -4358,23 +4625,28 @@ public Builder setLocalSsdCount(int value) {
      * 
* * int32 local_ssd_count = 7; + * * @return This builder for chaining. */ public Builder clearLocalSsdCount() { - + localSsdCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4383,13 +4655,15 @@ private void ensureTagsIsMutable() {
      * 
* * repeated string tags = 8; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4398,12 +4672,15 @@ private void ensureTagsIsMutable() {
      * 
* * repeated string tags = 8; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4412,6 +4689,7 @@ public int getTagsCount() {
      * 
* * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -4419,6 +4697,8 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4427,14 +4707,16 @@ public java.lang.String getTags(int index) {
      * 
* * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4443,21 +4725,23 @@ public java.lang.String getTags(int index) {
      * 
* * repeated string tags = 8; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4466,20 +4750,22 @@ public Builder setTags(
      * 
* * repeated string tags = 8; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4488,18 +4774,19 @@ public Builder addTags(
      * 
* * repeated string tags = 8; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4508,6 +4795,7 @@ public Builder addAllTags(
      * 
* * repeated string tags = 8; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -4517,6 +4805,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -4525,23 +4815,25 @@ public Builder clearTags() {
      * 
* * repeated string tags = 8; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private boolean preemptible_ ; + private boolean preemptible_; /** + * + * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4549,6 +4841,7 @@ public Builder addTagsBytes(
      * 
* * bool preemptible = 10; + * * @return The preemptible. */ @java.lang.Override @@ -4556,6 +4849,8 @@ public boolean getPreemptible() { return preemptible_; } /** + * + * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4563,16 +4858,19 @@ public boolean getPreemptible() {
      * 
* * bool preemptible = 10; + * * @param value The preemptible to set. * @return This builder for chaining. */ public Builder setPreemptible(boolean value) { - + preemptible_ = value; onChanged(); return this; } /** + * + * *
      * Whether the nodes are created as preemptible VM instances. See:
      * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -4580,28 +4878,36 @@ public Builder setPreemptible(boolean value) {
      * 
* * bool preemptible = 10; + * * @return This builder for chaining. */ public Builder clearPreemptible() { - + preemptible_ = false; onChanged(); return this; } private java.util.List accelerators_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAcceleratorsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - accelerators_ = new java.util.ArrayList(accelerators_); + accelerators_ = + new java.util.ArrayList(accelerators_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.AcceleratorConfig, com.google.container.v1beta1.AcceleratorConfig.Builder, com.google.container.v1beta1.AcceleratorConfigOrBuilder> acceleratorsBuilder_; + com.google.container.v1beta1.AcceleratorConfig, + com.google.container.v1beta1.AcceleratorConfig.Builder, + com.google.container.v1beta1.AcceleratorConfigOrBuilder> + acceleratorsBuilder_; /** + * + * *
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4618,6 +4924,8 @@ public java.util.List getAcceler
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4634,6 +4942,8 @@ public int getAcceleratorsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4650,6 +4960,8 @@ public com.google.container.v1beta1.AcceleratorConfig getAccelerators(int index)
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4673,6 +4985,8 @@ public Builder setAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4693,6 +5007,8 @@ public Builder setAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4715,6 +5031,8 @@ public Builder addAccelerators(com.google.container.v1beta1.AcceleratorConfig va
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4738,6 +5056,8 @@ public Builder addAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4758,6 +5078,8 @@ public Builder addAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4778,6 +5100,8 @@ public Builder addAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4790,8 +5114,7 @@ public Builder addAllAccelerators(
         java.lang.Iterable values) {
       if (acceleratorsBuilder_ == null) {
         ensureAcceleratorsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, accelerators_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accelerators_);
         onChanged();
       } else {
         acceleratorsBuilder_.addAllMessages(values);
@@ -4799,6 +5122,8 @@ public Builder addAllAccelerators(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4818,6 +5143,8 @@ public Builder clearAccelerators() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4837,6 +5164,8 @@ public Builder removeAccelerators(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4850,6 +5179,8 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder getAcceleratorsBui
       return getAcceleratorsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4861,11 +5192,14 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder getAcceleratorsBui
     public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
         int index) {
       if (acceleratorsBuilder_ == null) {
-        return accelerators_.get(index);  } else {
+        return accelerators_.get(index);
+      } else {
         return acceleratorsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4874,8 +5208,8 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
      *
      * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List 
-         getAcceleratorsOrBuilderList() {
+    public java.util.List
+        getAcceleratorsOrBuilderList() {
       if (acceleratorsBuilder_ != null) {
         return acceleratorsBuilder_.getMessageOrBuilderList();
       } else {
@@ -4883,6 +5217,8 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
       }
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4892,10 +5228,12 @@ public com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOr
      * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
      */
     public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBuilder() {
-      return getAcceleratorsFieldBuilder().addBuilder(
-          com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
+      return getAcceleratorsFieldBuilder()
+          .addBuilder(com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4906,10 +5244,12 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBui
      */
     public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBuilder(
         int index) {
-      return getAcceleratorsFieldBuilder().addBuilder(
-          index, com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
+      return getAcceleratorsFieldBuilder()
+          .addBuilder(index, com.google.container.v1beta1.AcceleratorConfig.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of hardware accelerators to be attached to each node.
      * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -4918,20 +5258,23 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBui
      *
      * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
      */
-    public java.util.List 
-         getAcceleratorsBuilderList() {
+    public java.util.List
+        getAcceleratorsBuilderList() {
       return getAcceleratorsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.AcceleratorConfig, com.google.container.v1beta1.AcceleratorConfig.Builder, com.google.container.v1beta1.AcceleratorConfigOrBuilder> 
+            com.google.container.v1beta1.AcceleratorConfig,
+            com.google.container.v1beta1.AcceleratorConfig.Builder,
+            com.google.container.v1beta1.AcceleratorConfigOrBuilder>
         getAcceleratorsFieldBuilder() {
       if (acceleratorsBuilder_ == null) {
-        acceleratorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.AcceleratorConfig, com.google.container.v1beta1.AcceleratorConfig.Builder, com.google.container.v1beta1.AcceleratorConfigOrBuilder>(
-                accelerators_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        acceleratorsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1beta1.AcceleratorConfig,
+                com.google.container.v1beta1.AcceleratorConfig.Builder,
+                com.google.container.v1beta1.AcceleratorConfigOrBuilder>(
+                accelerators_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
         accelerators_ = null;
       }
       return acceleratorsBuilder_;
@@ -4939,34 +5282,47 @@ public com.google.container.v1beta1.AcceleratorConfig.Builder addAcceleratorsBui
 
     private com.google.container.v1beta1.SandboxConfig sandboxConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.SandboxConfig, com.google.container.v1beta1.SandboxConfig.Builder, com.google.container.v1beta1.SandboxConfigOrBuilder> sandboxConfigBuilder_;
+            com.google.container.v1beta1.SandboxConfig,
+            com.google.container.v1beta1.SandboxConfig.Builder,
+            com.google.container.v1beta1.SandboxConfigOrBuilder>
+        sandboxConfigBuilder_;
     /**
+     *
+     *
      * 
      * Sandbox configuration for this node.
      * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; + * * @return Whether the sandboxConfig field is set. */ public boolean hasSandboxConfig() { return sandboxConfigBuilder_ != null || sandboxConfig_ != null; } /** + * + * *
      * Sandbox configuration for this node.
      * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; + * * @return The sandboxConfig. */ public com.google.container.v1beta1.SandboxConfig getSandboxConfig() { if (sandboxConfigBuilder_ == null) { - return sandboxConfig_ == null ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() : sandboxConfig_; + return sandboxConfig_ == null + ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() + : sandboxConfig_; } else { return sandboxConfigBuilder_.getMessage(); } } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -4987,6 +5343,8 @@ public Builder setSandboxConfig(com.google.container.v1beta1.SandboxConfig value return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5005,6 +5363,8 @@ public Builder setSandboxConfig( return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5015,7 +5375,9 @@ public Builder mergeSandboxConfig(com.google.container.v1beta1.SandboxConfig val if (sandboxConfigBuilder_ == null) { if (sandboxConfig_ != null) { sandboxConfig_ = - com.google.container.v1beta1.SandboxConfig.newBuilder(sandboxConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.SandboxConfig.newBuilder(sandboxConfig_) + .mergeFrom(value) + .buildPartial(); } else { sandboxConfig_ = value; } @@ -5027,6 +5389,8 @@ public Builder mergeSandboxConfig(com.google.container.v1beta1.SandboxConfig val return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5045,6 +5409,8 @@ public Builder clearSandboxConfig() { return this; } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5052,11 +5418,13 @@ public Builder clearSandboxConfig() { * .google.container.v1beta1.SandboxConfig sandbox_config = 17; */ public com.google.container.v1beta1.SandboxConfig.Builder getSandboxConfigBuilder() { - + onChanged(); return getSandboxConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5067,11 +5435,14 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui if (sandboxConfigBuilder_ != null) { return sandboxConfigBuilder_.getMessageOrBuilder(); } else { - return sandboxConfig_ == null ? - com.google.container.v1beta1.SandboxConfig.getDefaultInstance() : sandboxConfig_; + return sandboxConfig_ == null + ? com.google.container.v1beta1.SandboxConfig.getDefaultInstance() + : sandboxConfig_; } } /** + * + * *
      * Sandbox configuration for this node.
      * 
@@ -5079,14 +5450,17 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui * .google.container.v1beta1.SandboxConfig sandbox_config = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.SandboxConfig, com.google.container.v1beta1.SandboxConfig.Builder, com.google.container.v1beta1.SandboxConfigOrBuilder> + com.google.container.v1beta1.SandboxConfig, + com.google.container.v1beta1.SandboxConfig.Builder, + com.google.container.v1beta1.SandboxConfigOrBuilder> getSandboxConfigFieldBuilder() { if (sandboxConfigBuilder_ == null) { - sandboxConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.SandboxConfig, com.google.container.v1beta1.SandboxConfig.Builder, com.google.container.v1beta1.SandboxConfigOrBuilder>( - getSandboxConfig(), - getParentForChildren(), - isClean()); + sandboxConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.SandboxConfig, + com.google.container.v1beta1.SandboxConfig.Builder, + com.google.container.v1beta1.SandboxConfigOrBuilder>( + getSandboxConfig(), getParentForChildren(), isClean()); sandboxConfig_ = null; } return sandboxConfigBuilder_; @@ -5094,6 +5468,8 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui private java.lang.Object nodeGroup_ = ""; /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5102,13 +5478,13 @@ public com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBui
      * 
* * string node_group = 18; + * * @return The nodeGroup. */ public java.lang.String getNodeGroup() { java.lang.Object ref = nodeGroup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeGroup_ = s; return s; @@ -5117,6 +5493,8 @@ public java.lang.String getNodeGroup() { } } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5125,15 +5503,14 @@ public java.lang.String getNodeGroup() {
      * 
* * string node_group = 18; + * * @return The bytes for nodeGroup. */ - public com.google.protobuf.ByteString - getNodeGroupBytes() { + public com.google.protobuf.ByteString getNodeGroupBytes() { java.lang.Object ref = nodeGroup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeGroup_ = b; return b; } else { @@ -5141,6 +5518,8 @@ public java.lang.String getNodeGroup() { } } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5149,20 +5528,22 @@ public java.lang.String getNodeGroup() {
      * 
* * string node_group = 18; + * * @param value The nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroup( - java.lang.String value) { + public Builder setNodeGroup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeGroup_ = value; onChanged(); return this; } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5171,15 +5552,18 @@ public Builder setNodeGroup(
      * 
* * string node_group = 18; + * * @return This builder for chaining. */ public Builder clearNodeGroup() { - + nodeGroup_ = getDefaultInstance().getNodeGroup(); onChanged(); return this; } /** + * + * *
      * Setting this field will assign instances of this
      * pool to run on the specified node group. This is useful for running
@@ -5188,16 +5572,16 @@ public Builder clearNodeGroup() {
      * 
* * string node_group = 18; + * * @param value The bytes for nodeGroup to set. * @return This builder for chaining. */ - public Builder setNodeGroupBytes( - com.google.protobuf.ByteString value) { + public Builder setNodeGroupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeGroup_ = value; onChanged(); return this; @@ -5205,8 +5589,13 @@ public Builder setNodeGroupBytes( private com.google.container.v1beta1.ReservationAffinity reservationAffinity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReservationAffinity, com.google.container.v1beta1.ReservationAffinity.Builder, com.google.container.v1beta1.ReservationAffinityOrBuilder> reservationAffinityBuilder_; + com.google.container.v1beta1.ReservationAffinity, + com.google.container.v1beta1.ReservationAffinity.Builder, + com.google.container.v1beta1.ReservationAffinityOrBuilder> + reservationAffinityBuilder_; /** + * + * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5215,12 +5604,15 @@ public Builder setNodeGroupBytes(
      * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; + * * @return Whether the reservationAffinity field is set. */ public boolean hasReservationAffinity() { return reservationAffinityBuilder_ != null || reservationAffinity_ != null; } /** + * + * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5229,16 +5621,21 @@ public boolean hasReservationAffinity() {
      * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; + * * @return The reservationAffinity. */ public com.google.container.v1beta1.ReservationAffinity getReservationAffinity() { if (reservationAffinityBuilder_ == null) { - return reservationAffinity_ == null ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() : reservationAffinity_; + return reservationAffinity_ == null + ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() + : reservationAffinity_; } else { return reservationAffinityBuilder_.getMessage(); } } /** + * + * *
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5262,6 +5659,8 @@ public Builder setReservationAffinity(com.google.container.v1beta1.ReservationAf
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5283,6 +5682,8 @@ public Builder setReservationAffinity(
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5292,11 +5693,14 @@ public Builder setReservationAffinity(
      *
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
-    public Builder mergeReservationAffinity(com.google.container.v1beta1.ReservationAffinity value) {
+    public Builder mergeReservationAffinity(
+        com.google.container.v1beta1.ReservationAffinity value) {
       if (reservationAffinityBuilder_ == null) {
         if (reservationAffinity_ != null) {
           reservationAffinity_ =
-            com.google.container.v1beta1.ReservationAffinity.newBuilder(reservationAffinity_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ReservationAffinity.newBuilder(reservationAffinity_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           reservationAffinity_ = value;
         }
@@ -5308,6 +5712,8 @@ public Builder mergeReservationAffinity(com.google.container.v1beta1.Reservation
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5329,6 +5735,8 @@ public Builder clearReservationAffinity() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5338,12 +5746,15 @@ public Builder clearReservationAffinity() {
      *
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
-    public com.google.container.v1beta1.ReservationAffinity.Builder getReservationAffinityBuilder() {
-      
+    public com.google.container.v1beta1.ReservationAffinity.Builder
+        getReservationAffinityBuilder() {
+
       onChanged();
       return getReservationAffinityFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5353,15 +5764,19 @@ public com.google.container.v1beta1.ReservationAffinity.Builder getReservationAf
      *
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
-    public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder() {
+    public com.google.container.v1beta1.ReservationAffinityOrBuilder
+        getReservationAffinityOrBuilder() {
       if (reservationAffinityBuilder_ != null) {
         return reservationAffinityBuilder_.getMessageOrBuilder();
       } else {
-        return reservationAffinity_ == null ?
-            com.google.container.v1beta1.ReservationAffinity.getDefaultInstance() : reservationAffinity_;
+        return reservationAffinity_ == null
+            ? com.google.container.v1beta1.ReservationAffinity.getDefaultInstance()
+            : reservationAffinity_;
       }
     }
     /**
+     *
+     *
      * 
      * The optional reservation affinity. Setting this field will apply
      * the specified [Zonal Compute
@@ -5372,14 +5787,17 @@ public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationA
      * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ReservationAffinity, com.google.container.v1beta1.ReservationAffinity.Builder, com.google.container.v1beta1.ReservationAffinityOrBuilder> 
+            com.google.container.v1beta1.ReservationAffinity,
+            com.google.container.v1beta1.ReservationAffinity.Builder,
+            com.google.container.v1beta1.ReservationAffinityOrBuilder>
         getReservationAffinityFieldBuilder() {
       if (reservationAffinityBuilder_ == null) {
-        reservationAffinityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ReservationAffinity, com.google.container.v1beta1.ReservationAffinity.Builder, com.google.container.v1beta1.ReservationAffinityOrBuilder>(
-                getReservationAffinity(),
-                getParentForChildren(),
-                isClean());
+        reservationAffinityBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ReservationAffinity,
+                com.google.container.v1beta1.ReservationAffinity.Builder,
+                com.google.container.v1beta1.ReservationAffinityOrBuilder>(
+                getReservationAffinity(), getParentForChildren(), isClean());
         reservationAffinity_ = null;
       }
       return reservationAffinityBuilder_;
@@ -5387,6 +5805,8 @@ public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationA
 
     private java.lang.Object diskType_ = "";
     /**
+     *
+     *
      * 
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5394,13 +5814,13 @@ public com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationA
      * 
* * string disk_type = 12; + * * @return The diskType. */ public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); diskType_ = s; return s; @@ -5409,6 +5829,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5416,15 +5838,14 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 12; + * * @return The bytes for diskType. */ - public com.google.protobuf.ByteString - getDiskTypeBytes() { + public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); diskType_ = b; return b; } else { @@ -5432,6 +5853,8 @@ public java.lang.String getDiskType() { } } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5439,20 +5862,22 @@ public java.lang.String getDiskType() {
      * 
* * string disk_type = 12; + * * @param value The diskType to set. * @return This builder for chaining. */ - public Builder setDiskType( - java.lang.String value) { + public Builder setDiskType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + diskType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5460,15 +5885,18 @@ public Builder setDiskType(
      * 
* * string disk_type = 12; + * * @return This builder for chaining. */ public Builder clearDiskType() { - + diskType_ = getDefaultInstance().getDiskType(); onChanged(); return this; } /** + * + * *
      * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
      * 'pd-balanced')
@@ -5476,16 +5904,16 @@ public Builder clearDiskType() {
      * 
* * string disk_type = 12; + * * @param value The bytes for diskType to set. * @return This builder for chaining. */ - public Builder setDiskTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDiskTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + diskType_ = value; onChanged(); return this; @@ -5493,6 +5921,8 @@ public Builder setDiskTypeBytes( private java.lang.Object minCpuPlatform_ = ""; /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5504,13 +5934,13 @@ public Builder setDiskTypeBytes(
      * 
* * string min_cpu_platform = 13; + * * @return The minCpuPlatform. */ public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); minCpuPlatform_ = s; return s; @@ -5519,6 +5949,8 @@ public java.lang.String getMinCpuPlatform() { } } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5530,15 +5962,14 @@ public java.lang.String getMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; + * * @return The bytes for minCpuPlatform. */ - public com.google.protobuf.ByteString - getMinCpuPlatformBytes() { + public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); minCpuPlatform_ = b; return b; } else { @@ -5546,6 +5977,8 @@ public java.lang.String getMinCpuPlatform() { } } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5557,20 +5990,22 @@ public java.lang.String getMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; + * * @param value The minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatform( - java.lang.String value) { + public Builder setMinCpuPlatform(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + minCpuPlatform_ = value; onChanged(); return this; } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5582,15 +6017,18 @@ public Builder setMinCpuPlatform(
      * 
* * string min_cpu_platform = 13; + * * @return This builder for chaining. */ public Builder clearMinCpuPlatform() { - + minCpuPlatform_ = getDefaultInstance().getMinCpuPlatform(); onChanged(); return this; } /** + * + * *
      * Minimum CPU platform to be used by this instance. The instance may be
      * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -5602,16 +6040,16 @@ public Builder clearMinCpuPlatform() {
      * 
* * string min_cpu_platform = 13; + * * @param value The bytes for minCpuPlatform to set. * @return This builder for chaining. */ - public Builder setMinCpuPlatformBytes( - com.google.protobuf.ByteString value) { + public Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + minCpuPlatform_ = value; onChanged(); return this; @@ -5619,41 +6057,55 @@ public Builder setMinCpuPlatformBytes( private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; + com.google.container.v1beta1.WorkloadMetadataConfig, + com.google.container.v1beta1.WorkloadMetadataConfig.Builder, + com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> + workloadMetadataConfigBuilder_; /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder setWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder setWorkloadMetadataConfig( + com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5667,6 +6119,8 @@ public Builder setWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMe return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
@@ -5685,17 +6139,23 @@ public Builder setWorkloadMetadataConfig( return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig( + com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder( + workloadMetadataConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -5707,6 +6167,8 @@ public Builder mergeWorkloadMetadataConfig(com.google.container.v1beta1.Workload return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
@@ -5725,33 +6187,42 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1beta1.WorkloadMetadataConfig.Builder + getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The workload metadata configuration for this node.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null ? - com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } } /** + * + * *
      * The workload metadata configuration for this node.
      * 
@@ -5759,32 +6230,41 @@ public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadM * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1beta1.WorkloadMetadataConfig, + com.google.container.v1beta1.WorkloadMetadataConfig.Builder, + com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), - getParentForChildren(), - isClean()); + workloadMetadataConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadMetadataConfig, + com.google.container.v1beta1.WorkloadMetadataConfig.Builder, + com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), getParentForChildren(), isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; } private java.util.List taints_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTaintsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { taints_ = new java.util.ArrayList(taints_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> taintsBuilder_; + com.google.container.v1beta1.NodeTaint, + com.google.container.v1beta1.NodeTaint.Builder, + com.google.container.v1beta1.NodeTaintOrBuilder> + taintsBuilder_; /** + * + * *
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5801,6 +6281,8 @@ public java.util.List getTaintsList() {
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5817,6 +6299,8 @@ public int getTaintsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5833,6 +6317,8 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5841,8 +6327,7 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public Builder setTaints(
-        int index, com.google.container.v1beta1.NodeTaint value) {
+    public Builder setTaints(int index, com.google.container.v1beta1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5856,6 +6341,8 @@ public Builder setTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5876,6 +6363,8 @@ public Builder setTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5898,6 +6387,8 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5906,8 +6397,7 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint value) {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public Builder addTaints(
-        int index, com.google.container.v1beta1.NodeTaint value) {
+    public Builder addTaints(int index, com.google.container.v1beta1.NodeTaint value) {
       if (taintsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5921,6 +6411,8 @@ public Builder addTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5929,8 +6421,7 @@ public Builder addTaints(
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public Builder addTaints(
-        com.google.container.v1beta1.NodeTaint.Builder builderForValue) {
+    public Builder addTaints(com.google.container.v1beta1.NodeTaint.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
         taints_.add(builderForValue.build());
@@ -5941,6 +6432,8 @@ public Builder addTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5961,6 +6454,8 @@ public Builder addTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -5973,8 +6468,7 @@ public Builder addAllTaints(
         java.lang.Iterable values) {
       if (taintsBuilder_ == null) {
         ensureTaintsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, taints_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_);
         onChanged();
       } else {
         taintsBuilder_.addAllMessages(values);
@@ -5982,6 +6476,8 @@ public Builder addAllTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6001,6 +6497,8 @@ public Builder clearTaints() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6020,6 +6518,8 @@ public Builder removeTaints(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6028,11 +6528,12 @@ public Builder removeTaints(int index) {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(
-        int index) {
+    public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(int index) {
       return getTaintsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6041,14 +6542,16 @@ public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
-        int index) {
+    public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) {
       if (taintsBuilder_ == null) {
-        return taints_.get(index);  } else {
+        return taints_.get(index);
+      } else {
         return taintsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6057,8 +6560,8 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public java.util.List 
-         getTaintsOrBuilderList() {
+    public java.util.List
+        getTaintsOrBuilderList() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilderList();
       } else {
@@ -6066,6 +6569,8 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6075,10 +6580,12 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
     public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder() {
-      return getTaintsFieldBuilder().addBuilder(
-          com.google.container.v1beta1.NodeTaint.getDefaultInstance());
+      return getTaintsFieldBuilder()
+          .addBuilder(com.google.container.v1beta1.NodeTaint.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6087,12 +6594,13 @@ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder() {
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(
-        int index) {
-      return getTaintsFieldBuilder().addBuilder(
-          index, com.google.container.v1beta1.NodeTaint.getDefaultInstance());
+    public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(int index) {
+      return getTaintsFieldBuilder()
+          .addBuilder(index, com.google.container.v1beta1.NodeTaint.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of kubernetes taints to be applied to each node.
      * For more information, including usage and the valid values, see:
@@ -6101,20 +6609,22 @@ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(
      *
      * repeated .google.container.v1beta1.NodeTaint taints = 15;
      */
-    public java.util.List 
-         getTaintsBuilderList() {
+    public java.util.List getTaintsBuilderList() {
       return getTaintsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> 
+            com.google.container.v1beta1.NodeTaint,
+            com.google.container.v1beta1.NodeTaint.Builder,
+            com.google.container.v1beta1.NodeTaintOrBuilder>
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder>(
-                taints_,
-                ((bitField0_ & 0x00000020) != 0),
-                getParentForChildren(),
-                isClean());
+        taintsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1beta1.NodeTaint,
+                com.google.container.v1beta1.NodeTaint.Builder,
+                com.google.container.v1beta1.NodeTaintOrBuilder>(
+                taints_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -6122,6 +6632,8 @@ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(
 
     private java.lang.Object bootDiskKmsKey_ = "";
     /**
+     *
+     *
      * 
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6132,13 +6644,13 @@ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(
      * 
* * string boot_disk_kms_key = 23; + * * @return The bootDiskKmsKey. */ public java.lang.String getBootDiskKmsKey() { java.lang.Object ref = bootDiskKmsKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bootDiskKmsKey_ = s; return s; @@ -6147,6 +6659,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6157,15 +6671,14 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; + * * @return The bytes for bootDiskKmsKey. */ - public com.google.protobuf.ByteString - getBootDiskKmsKeyBytes() { + public com.google.protobuf.ByteString getBootDiskKmsKeyBytes() { java.lang.Object ref = bootDiskKmsKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bootDiskKmsKey_ = b; return b; } else { @@ -6173,6 +6686,8 @@ public java.lang.String getBootDiskKmsKey() { } } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6183,20 +6698,22 @@ public java.lang.String getBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; + * * @param value The bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKey( - java.lang.String value) { + public Builder setBootDiskKmsKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bootDiskKmsKey_ = value; onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6207,15 +6724,18 @@ public Builder setBootDiskKmsKey(
      * 
* * string boot_disk_kms_key = 23; + * * @return This builder for chaining. */ public Builder clearBootDiskKmsKey() { - + bootDiskKmsKey_ = getDefaultInstance().getBootDiskKmsKey(); onChanged(); return this; } /** + * + * *
      * The Customer Managed Encryption Key used to encrypt the boot disk attached
      * to each node in the node pool. This should be of the form
@@ -6226,16 +6746,16 @@ public Builder clearBootDiskKmsKey() {
      * 
* * string boot_disk_kms_key = 23; + * * @param value The bytes for bootDiskKmsKey to set. * @return This builder for chaining. */ - public Builder setBootDiskKmsKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setBootDiskKmsKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bootDiskKmsKey_ = value; onChanged(); return this; @@ -6243,41 +6763,55 @@ public Builder setBootDiskKmsKeyBytes( private com.google.container.v1beta1.ShieldedInstanceConfig shieldedInstanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> shieldedInstanceConfigBuilder_; + com.google.container.v1beta1.ShieldedInstanceConfig, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder, + com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> + shieldedInstanceConfigBuilder_; /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfigBuilder_ != null || shieldedInstanceConfig_ != null; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return The shieldedInstanceConfig. */ public com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig() { if (shieldedInstanceConfigBuilder_ == null) { - return shieldedInstanceConfig_ == null ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } else { return shieldedInstanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public Builder setShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder setShieldedInstanceConfig( + com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6291,6 +6825,8 @@ public Builder setShieldedInstanceConfig(com.google.container.v1beta1.ShieldedIn return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -6309,17 +6845,23 @@ public Builder setShieldedInstanceConfig( return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public Builder mergeShieldedInstanceConfig(com.google.container.v1beta1.ShieldedInstanceConfig value) { + public Builder mergeShieldedInstanceConfig( + com.google.container.v1beta1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { if (shieldedInstanceConfig_ != null) { shieldedInstanceConfig_ = - com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder(shieldedInstanceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder( + shieldedInstanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { shieldedInstanceConfig_ = value; } @@ -6331,6 +6873,8 @@ public Builder mergeShieldedInstanceConfig(com.google.container.v1beta1.Shielded return this; } /** + * + * *
      * Shielded Instance options.
      * 
@@ -6349,33 +6893,42 @@ public Builder clearShieldedInstanceConfig() { return this; } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1beta1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { - + public com.google.container.v1beta1.ShieldedInstanceConfig.Builder + getShieldedInstanceConfigBuilder() { + onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Shielded Instance options.
      * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ - public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { + public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder + getShieldedInstanceConfigOrBuilder() { if (shieldedInstanceConfigBuilder_ != null) { return shieldedInstanceConfigBuilder_.getMessageOrBuilder(); } else { - return shieldedInstanceConfig_ == null ? - com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() : shieldedInstanceConfig_; + return shieldedInstanceConfig_ == null + ? com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance() + : shieldedInstanceConfig_; } } /** + * + * *
      * Shielded Instance options.
      * 
@@ -6383,14 +6936,17 @@ public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedI * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> + com.google.container.v1beta1.ShieldedInstanceConfig, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder, + com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder> getShieldedInstanceConfigFieldBuilder() { if (shieldedInstanceConfigBuilder_ == null) { - shieldedInstanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ShieldedInstanceConfig, com.google.container.v1beta1.ShieldedInstanceConfig.Builder, com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( - getShieldedInstanceConfig(), - getParentForChildren(), - isClean()); + shieldedInstanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ShieldedInstanceConfig, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder, + com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder>( + getShieldedInstanceConfig(), getParentForChildren(), isClean()); shieldedInstanceConfig_ = null; } return shieldedInstanceConfigBuilder_; @@ -6398,34 +6954,47 @@ public com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedI private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_; + com.google.container.v1beta1.LinuxNodeConfig, + com.google.container.v1beta1.LinuxNodeConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfigOrBuilder> + linuxNodeConfigBuilder_; /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; + * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; + * * @return The linuxNodeConfig. */ public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6446,6 +7015,8 @@ public Builder setLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig v return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6464,6 +7035,8 @@ public Builder setLinuxNodeConfig( return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6474,7 +7047,9 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) + .mergeFrom(value) + .buildPartial(); } else { linuxNodeConfig_ = value; } @@ -6486,6 +7061,8 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6504,6 +7081,8 @@ public Builder clearLinuxNodeConfig() { return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6511,11 +7090,13 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; */ public com.google.container.v1beta1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6526,11 +7107,14 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null ? - com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -6538,14 +7122,17 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> + com.google.container.v1beta1.LinuxNodeConfig, + com.google.container.v1beta1.LinuxNodeConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), - getParentForChildren(), - isClean()); + linuxNodeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig, + com.google.container.v1beta1.LinuxNodeConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), getParentForChildren(), isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -6553,34 +7140,47 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; + com.google.container.v1beta1.NodeKubeletConfig, + com.google.container.v1beta1.NodeKubeletConfig.Builder, + com.google.container.v1beta1.NodeKubeletConfigOrBuilder> + kubeletConfigBuilder_; /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; + * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; + * * @return The kubeletConfig. */ public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6601,6 +7201,8 @@ public Builder setKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig v return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6619,6 +7221,8 @@ public Builder setKubeletConfig( return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6629,7 +7233,9 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_) + .mergeFrom(value) + .buildPartial(); } else { kubeletConfig_ = value; } @@ -6641,6 +7247,8 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6659,6 +7267,8 @@ public Builder clearKubeletConfig() { return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6666,11 +7276,13 @@ public Builder clearKubeletConfig() { * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; */ public com.google.container.v1beta1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6681,11 +7293,14 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null ? - com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -6693,14 +7308,17 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> + com.google.container.v1beta1.NodeKubeletConfig, + com.google.container.v1beta1.NodeKubeletConfig.Builder, + com.google.container.v1beta1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), - getParentForChildren(), - isClean()); + kubeletConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeKubeletConfig, + com.google.container.v1beta1.NodeKubeletConfig.Builder, + com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), getParentForChildren(), isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -6708,36 +7326,49 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO private com.google.container.v1beta1.EphemeralStorageConfig ephemeralStorageConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.EphemeralStorageConfig, com.google.container.v1beta1.EphemeralStorageConfig.Builder, com.google.container.v1beta1.EphemeralStorageConfigOrBuilder> ephemeralStorageConfigBuilder_; + com.google.container.v1beta1.EphemeralStorageConfig, + com.google.container.v1beta1.EphemeralStorageConfig.Builder, + com.google.container.v1beta1.EphemeralStorageConfigOrBuilder> + ephemeralStorageConfigBuilder_; /** + * + * *
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
      * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; + * * @return Whether the ephemeralStorageConfig field is set. */ public boolean hasEphemeralStorageConfig() { return ephemeralStorageConfigBuilder_ != null || ephemeralStorageConfig_ != null; } /** + * + * *
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
      * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; + * * @return The ephemeralStorageConfig. */ public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageConfig() { if (ephemeralStorageConfigBuilder_ == null) { - return ephemeralStorageConfig_ == null ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() : ephemeralStorageConfig_; + return ephemeralStorageConfig_ == null + ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() + : ephemeralStorageConfig_; } else { return ephemeralStorageConfigBuilder_.getMessage(); } } /** + * + * *
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -6745,7 +7376,8 @@ public com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageCo
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public Builder setEphemeralStorageConfig(com.google.container.v1beta1.EphemeralStorageConfig value) {
+    public Builder setEphemeralStorageConfig(
+        com.google.container.v1beta1.EphemeralStorageConfig value) {
       if (ephemeralStorageConfigBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -6759,6 +7391,8 @@ public Builder setEphemeralStorageConfig(com.google.container.v1beta1.EphemeralS
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -6778,6 +7412,8 @@ public Builder setEphemeralStorageConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -6785,11 +7421,15 @@ public Builder setEphemeralStorageConfig(
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public Builder mergeEphemeralStorageConfig(com.google.container.v1beta1.EphemeralStorageConfig value) {
+    public Builder mergeEphemeralStorageConfig(
+        com.google.container.v1beta1.EphemeralStorageConfig value) {
       if (ephemeralStorageConfigBuilder_ == null) {
         if (ephemeralStorageConfig_ != null) {
           ephemeralStorageConfig_ =
-            com.google.container.v1beta1.EphemeralStorageConfig.newBuilder(ephemeralStorageConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.EphemeralStorageConfig.newBuilder(
+                      ephemeralStorageConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           ephemeralStorageConfig_ = value;
         }
@@ -6801,6 +7441,8 @@ public Builder mergeEphemeralStorageConfig(com.google.container.v1beta1.Ephemera
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -6820,6 +7462,8 @@ public Builder clearEphemeralStorageConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -6827,12 +7471,15 @@ public Builder clearEphemeralStorageConfig() {
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public com.google.container.v1beta1.EphemeralStorageConfig.Builder getEphemeralStorageConfigBuilder() {
-      
+    public com.google.container.v1beta1.EphemeralStorageConfig.Builder
+        getEphemeralStorageConfigBuilder() {
+
       onChanged();
       return getEphemeralStorageConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -6840,15 +7487,19 @@ public com.google.container.v1beta1.EphemeralStorageConfig.Builder getEphemeralS
      *
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
-    public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeralStorageConfigOrBuilder() {
+    public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder
+        getEphemeralStorageConfigOrBuilder() {
       if (ephemeralStorageConfigBuilder_ != null) {
         return ephemeralStorageConfigBuilder_.getMessageOrBuilder();
       } else {
-        return ephemeralStorageConfig_ == null ?
-            com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance() : ephemeralStorageConfig_;
+        return ephemeralStorageConfig_ == null
+            ? com.google.container.v1beta1.EphemeralStorageConfig.getDefaultInstance()
+            : ephemeralStorageConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Parameters for the ephemeral storage filesystem.
      * If unspecified, ephemeral storage is backed by the boot disk.
@@ -6857,14 +7508,17 @@ public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeral
      * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.EphemeralStorageConfig, com.google.container.v1beta1.EphemeralStorageConfig.Builder, com.google.container.v1beta1.EphemeralStorageConfigOrBuilder> 
+            com.google.container.v1beta1.EphemeralStorageConfig,
+            com.google.container.v1beta1.EphemeralStorageConfig.Builder,
+            com.google.container.v1beta1.EphemeralStorageConfigOrBuilder>
         getEphemeralStorageConfigFieldBuilder() {
       if (ephemeralStorageConfigBuilder_ == null) {
-        ephemeralStorageConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.EphemeralStorageConfig, com.google.container.v1beta1.EphemeralStorageConfig.Builder, com.google.container.v1beta1.EphemeralStorageConfigOrBuilder>(
-                getEphemeralStorageConfig(),
-                getParentForChildren(),
-                isClean());
+        ephemeralStorageConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.EphemeralStorageConfig,
+                com.google.container.v1beta1.EphemeralStorageConfig.Builder,
+                com.google.container.v1beta1.EphemeralStorageConfigOrBuilder>(
+                getEphemeralStorageConfig(), getParentForChildren(), isClean());
         ephemeralStorageConfig_ = null;
       }
       return ephemeralStorageConfigBuilder_;
@@ -6872,34 +7526,47 @@ public com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeral
 
     private com.google.container.v1beta1.GcfsConfig gcfsConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> gcfsConfigBuilder_;
+            com.google.container.v1beta1.GcfsConfig,
+            com.google.container.v1beta1.GcfsConfig.Builder,
+            com.google.container.v1beta1.GcfsConfigOrBuilder>
+        gcfsConfigBuilder_;
     /**
+     *
+     *
      * 
      * GCFS (Google Container File System) configs.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; + * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; + * * @return The gcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
@@ -6920,14 +7587,15 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; */ - public Builder setGcfsConfig( - com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -6938,6 +7606,8 @@ public Builder setGcfsConfig( return this; } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
@@ -6948,7 +7618,9 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcfsConfig_ = value; } @@ -6960,6 +7632,8 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
@@ -6978,6 +7652,8 @@ public Builder clearGcfsConfig() { return this; } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
@@ -6985,11 +7661,13 @@ public Builder clearGcfsConfig() { * .google.container.v1beta1.GcfsConfig gcfs_config = 25; */ public com.google.container.v1beta1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7000,11 +7678,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null ? - com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } } /** + * + * *
      * GCFS (Google Container File System) configs.
      * 
@@ -7012,14 +7693,17 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() * .google.container.v1beta1.GcfsConfig gcfs_config = 25; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( - getGcfsConfig(), - getParentForChildren(), - isClean()); + gcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder>( + getGcfsConfig(), getParentForChildren(), isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -7027,41 +7711,58 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() private com.google.container.v1beta1.AdvancedMachineFeatures advancedMachineFeatures_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AdvancedMachineFeatures, com.google.container.v1beta1.AdvancedMachineFeatures.Builder, com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> advancedMachineFeaturesBuilder_; + com.google.container.v1beta1.AdvancedMachineFeatures, + com.google.container.v1beta1.AdvancedMachineFeatures.Builder, + com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> + advancedMachineFeaturesBuilder_; /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * + * * @return Whether the advancedMachineFeatures field is set. */ public boolean hasAdvancedMachineFeatures() { return advancedMachineFeaturesBuilder_ != null || advancedMachineFeatures_ != null; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * + * * @return The advancedMachineFeatures. */ public com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFeatures() { if (advancedMachineFeaturesBuilder_ == null) { - return advancedMachineFeatures_ == null ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; + return advancedMachineFeatures_ == null + ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() + : advancedMachineFeatures_; } else { return advancedMachineFeaturesBuilder_.getMessage(); } } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * */ - public Builder setAdvancedMachineFeatures(com.google.container.v1beta1.AdvancedMachineFeatures value) { + public Builder setAdvancedMachineFeatures( + com.google.container.v1beta1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7075,11 +7776,14 @@ public Builder setAdvancedMachineFeatures(com.google.container.v1beta1.AdvancedM return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * */ public Builder setAdvancedMachineFeatures( com.google.container.v1beta1.AdvancedMachineFeatures.Builder builderForValue) { @@ -7093,17 +7797,24 @@ public Builder setAdvancedMachineFeatures( return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * */ - public Builder mergeAdvancedMachineFeatures(com.google.container.v1beta1.AdvancedMachineFeatures value) { + public Builder mergeAdvancedMachineFeatures( + com.google.container.v1beta1.AdvancedMachineFeatures value) { if (advancedMachineFeaturesBuilder_ == null) { if (advancedMachineFeatures_ != null) { advancedMachineFeatures_ = - com.google.container.v1beta1.AdvancedMachineFeatures.newBuilder(advancedMachineFeatures_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AdvancedMachineFeatures.newBuilder( + advancedMachineFeatures_) + .mergeFrom(value) + .buildPartial(); } else { advancedMachineFeatures_ = value; } @@ -7115,11 +7826,14 @@ public Builder mergeAdvancedMachineFeatures(com.google.container.v1beta1.Advance return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * */ public Builder clearAdvancedMachineFeatures() { if (advancedMachineFeaturesBuilder_ == null) { @@ -7133,48 +7847,63 @@ public Builder clearAdvancedMachineFeatures() { return this; } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * */ - public com.google.container.v1beta1.AdvancedMachineFeatures.Builder getAdvancedMachineFeaturesBuilder() { - + public com.google.container.v1beta1.AdvancedMachineFeatures.Builder + getAdvancedMachineFeaturesBuilder() { + onChanged(); return getAdvancedMachineFeaturesFieldBuilder().getBuilder(); } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * */ - public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder() { + public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder + getAdvancedMachineFeaturesOrBuilder() { if (advancedMachineFeaturesBuilder_ != null) { return advancedMachineFeaturesBuilder_.getMessageOrBuilder(); } else { - return advancedMachineFeatures_ == null ? - com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() : advancedMachineFeatures_; + return advancedMachineFeatures_ == null + ? com.google.container.v1beta1.AdvancedMachineFeatures.getDefaultInstance() + : advancedMachineFeatures_; } } /** + * + * *
      * Advanced features for the Compute Engine VM.
      * 
* - * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AdvancedMachineFeatures, com.google.container.v1beta1.AdvancedMachineFeatures.Builder, com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> + com.google.container.v1beta1.AdvancedMachineFeatures, + com.google.container.v1beta1.AdvancedMachineFeatures.Builder, + com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder> getAdvancedMachineFeaturesFieldBuilder() { if (advancedMachineFeaturesBuilder_ == null) { - advancedMachineFeaturesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AdvancedMachineFeatures, com.google.container.v1beta1.AdvancedMachineFeatures.Builder, com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder>( - getAdvancedMachineFeatures(), - getParentForChildren(), - isClean()); + advancedMachineFeaturesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AdvancedMachineFeatures, + com.google.container.v1beta1.AdvancedMachineFeatures.Builder, + com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder>( + getAdvancedMachineFeatures(), getParentForChildren(), isClean()); advancedMachineFeatures_ = null; } return advancedMachineFeaturesBuilder_; @@ -7182,34 +7911,47 @@ public com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder getAdvanced private com.google.container.v1beta1.VirtualNIC gvnic_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> gvnicBuilder_; + com.google.container.v1beta1.VirtualNIC, + com.google.container.v1beta1.VirtualNIC.Builder, + com.google.container.v1beta1.VirtualNICOrBuilder> + gvnicBuilder_; /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ public com.google.container.v1beta1.VirtualNIC getGvnic() { if (gvnicBuilder_ == null) { - return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null + ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() + : gvnic_; } else { return gvnicBuilder_.getMessage(); } } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7230,14 +7972,15 @@ public Builder setGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; */ - public Builder setGvnic( - com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic(com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -7248,6 +7991,8 @@ public Builder setGvnic( return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7258,7 +8003,9 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_) + .mergeFrom(value) + .buildPartial(); } else { gvnic_ = value; } @@ -7270,6 +8017,8 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7288,6 +8037,8 @@ public Builder clearGvnic() { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7295,11 +8046,13 @@ public Builder clearGvnic() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ public com.google.container.v1beta1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7310,11 +8063,14 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null ? - com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null + ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() + : gvnic_; } } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -7322,27 +8078,33 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> + com.google.container.v1beta1.VirtualNIC, + com.google.container.v1beta1.VirtualNIC.Builder, + com.google.container.v1beta1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder>( - getGvnic(), - getParentForChildren(), - isClean()); + gvnicBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VirtualNIC, + com.google.container.v1beta1.VirtualNIC.Builder, + com.google.container.v1beta1.VirtualNICOrBuilder>( + getGvnic(), getParentForChildren(), isClean()); gvnic_ = null; } return gvnicBuilder_; } - private boolean spot_ ; + private boolean spot_; /** + * + * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; + * * @return The spot. */ @java.lang.Override @@ -7350,32 +8112,38 @@ public boolean getSpot() { return spot_; } /** + * + * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; + * * @param value The spot to set. * @return This builder for chaining. */ public Builder setSpot(boolean value) { - + spot_ = value; onChanged(); return this; } /** + * + * *
      * Spot flag for enabling Spot VM, which is a rebrand of
      * the existing preemptible flag.
      * 
* * bool spot = 32; + * * @return This builder for chaining. */ public Builder clearSpot() { - + spot_ = false; onChanged(); return this; @@ -7383,36 +8151,49 @@ public Builder clearSpot() { private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * * @return The confidentialNodes. */ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7434,6 +8215,8 @@ public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNod
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7453,6 +8236,8 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7464,7 +8249,9 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-            com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -7476,6 +8263,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7495,6 +8284,8 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7503,11 +8294,13 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
      */
     public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-      
+
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7519,11 +8312,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null ?
-            com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
+        return confidentialNodes_ == null
+            ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance()
+            : confidentialNodes_;
       }
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -7532,14 +8328,17 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> 
+            com.google.container.v1beta1.ConfidentialNodes,
+            com.google.container.v1beta1.ConfidentialNodes.Builder,
+            com.google.container.v1beta1.ConfidentialNodesOrBuilder>
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(),
-                getParentForChildren(),
-                isClean());
+        confidentialNodesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ConfidentialNodes,
+                com.google.container.v1beta1.ConfidentialNodes.Builder,
+                com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(), getParentForChildren(), isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -7547,34 +8346,47 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
 
     private com.google.container.v1beta1.FastSocket fastSocket_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> fastSocketBuilder_;
+            com.google.container.v1beta1.FastSocket,
+            com.google.container.v1beta1.FastSocket.Builder,
+            com.google.container.v1beta1.FastSocketOrBuilder>
+        fastSocketBuilder_;
     /**
+     *
+     *
      * 
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * * @return Whether the fastSocket field is set. */ public boolean hasFastSocket() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * * @return The fastSocket. */ public com.google.container.v1beta1.FastSocket getFastSocket() { if (fastSocketBuilder_ == null) { - return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1beta1.FastSocket.getDefaultInstance() + : fastSocket_; } else { return fastSocketBuilder_.getMessage(); } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7595,14 +8407,15 @@ public Builder setFastSocket(com.google.container.v1beta1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * optional .google.container.v1beta1.FastSocket fast_socket = 36; */ - public Builder setFastSocket( - com.google.container.v1beta1.FastSocket.Builder builderForValue) { + public Builder setFastSocket(com.google.container.v1beta1.FastSocket.Builder builderForValue) { if (fastSocketBuilder_ == null) { fastSocket_ = builderForValue.build(); onChanged(); @@ -7613,6 +8426,8 @@ public Builder setFastSocket( return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7621,11 +8436,13 @@ public Builder setFastSocket( */ public Builder mergeFastSocket(com.google.container.v1beta1.FastSocket value) { if (fastSocketBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - fastSocket_ != null && - fastSocket_ != com.google.container.v1beta1.FastSocket.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && fastSocket_ != null + && fastSocket_ != com.google.container.v1beta1.FastSocket.getDefaultInstance()) { fastSocket_ = - com.google.container.v1beta1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.FastSocket.newBuilder(fastSocket_) + .mergeFrom(value) + .buildPartial(); } else { fastSocket_ = value; } @@ -7637,6 +8454,8 @@ public Builder mergeFastSocket(com.google.container.v1beta1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7654,6 +8473,8 @@ public Builder clearFastSocket() { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7666,6 +8487,8 @@ public com.google.container.v1beta1.FastSocket.Builder getFastSocketBuilder() { return getFastSocketFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7676,11 +8499,14 @@ public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() if (fastSocketBuilder_ != null) { return fastSocketBuilder_.getMessageOrBuilder(); } else { - return fastSocket_ == null ? - com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1beta1.FastSocket.getDefaultInstance() + : fastSocket_; } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -7688,35 +8514,40 @@ public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() * optional .google.container.v1beta1.FastSocket fast_socket = 36; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> + com.google.container.v1beta1.FastSocket, + com.google.container.v1beta1.FastSocket.Builder, + com.google.container.v1beta1.FastSocketOrBuilder> getFastSocketFieldBuilder() { if (fastSocketBuilder_ == null) { - fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder>( - getFastSocket(), - getParentForChildren(), - isClean()); + fastSocketBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.FastSocket, + com.google.container.v1beta1.FastSocket.Builder, + com.google.container.v1beta1.FastSocketOrBuilder>( + getFastSocket(), getParentForChildren(), isClean()); fastSocket_ = null; } return fastSocketBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } + private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged();; + internalGetMutableResourceLabels() { + onChanged(); + ; if (resourceLabels_ == null) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = + com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -7728,6 +8559,8 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7735,22 +8568,22 @@ public int getResourceLabelsCount() {
      *
      * map<string, string> resource_labels = 37;
      */
-
     @java.lang.Override
-    public boolean containsResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetResourceLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getResourceLabelsMap()} instead.
-     */
+    /** Use {@link #getResourceLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getResourceLabels() {
       return getResourceLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7759,11 +8592,12 @@ public java.util.Map getResourceLabels() {
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-
     public java.util.Map getResourceLabelsMap() {
       return internalGetResourceLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7772,16 +8606,17 @@ public java.util.Map getResourceLabelsMap()
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-
     public java.lang.String getResourceLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7790,12 +8625,11 @@ public java.lang.String getResourceLabelsOrDefault(
      * map<string, string> resource_labels = 37;
      */
     @java.lang.Override
-
-    public java.lang.String getResourceLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetResourceLabels().getMap();
+    public java.lang.String getResourceLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetResourceLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -7803,11 +8637,12 @@ public java.lang.String getResourceLabelsOrThrow(
     }
 
     public Builder clearResourceLabels() {
-      internalGetMutableResourceLabels().getMutableMap()
-          .clear();
+      internalGetMutableResourceLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7815,23 +8650,21 @@ public Builder clearResourceLabels() {
      *
      * map<string, string> resource_labels = 37;
      */
-
-    public Builder removeResourceLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableResourceLabels().getMutableMap()
-          .remove(key);
+    public Builder removeResourceLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableResourceLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-    getMutableResourceLabels() {
+    public java.util.Map getMutableResourceLabels() {
       return internalGetMutableResourceLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7839,19 +8672,20 @@ public Builder removeResourceLabels(
      *
      * map<string, string> resource_labels = 37;
      */
-    public Builder putResourceLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public Builder putResourceLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       if (value == null) {
-  throw new NullPointerException("map value");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableResourceLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableResourceLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -7859,44 +8693,54 @@ public Builder putResourceLabels(
      *
      * map<string, string> resource_labels = 37;
      */
-
-    public Builder putAllResourceLabels(
-        java.util.Map values) {
-      internalGetMutableResourceLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllResourceLabels(java.util.Map values) {
+      internalGetMutableResourceLabels().getMutableMap().putAll(values);
       return this;
     }
 
     private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_;
+            com.google.container.v1beta1.NodePoolLoggingConfig,
+            com.google.container.v1beta1.NodePoolLoggingConfig.Builder,
+            com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>
+        loggingConfigBuilder_;
     /**
+     *
+     *
      * 
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; + * * @return The loggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration.
      * 
@@ -7917,6 +8761,8 @@ public Builder setLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConf return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7935,6 +8781,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7945,7 +8793,9 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -7957,6 +8807,8 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7975,6 +8827,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -7982,11 +8836,13 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; */ public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration.
      * 
@@ -7997,11 +8853,14 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration.
      * 
@@ -8009,21 +8868,24 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8033,12 +8895,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeConfig) private static final com.google.container.v1beta1.NodeConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeConfig(); } @@ -8047,27 +8909,27 @@ public static com.google.container.v1beta1.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(); - } - }; + 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; @@ -8082,6 +8944,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java index 577da2522e27..64f27b131e55 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaults.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Subset of NodeConfig message that has defaults.
  * 
* * Protobuf type {@code google.container.v1beta1.NodeConfigDefaults} */ -public final class NodeConfigDefaults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeConfigDefaults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeConfigDefaults) NodeConfigDefaultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeConfigDefaults.newBuilder() to construct. private NodeConfigDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodeConfigDefaults() { - } + + private NodeConfigDefaults() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeConfigDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeConfigDefaults.class, com.google.container.v1beta1.NodeConfigDefaults.Builder.class); + com.google.container.v1beta1.NodeConfigDefaults.class, + com.google.container.v1beta1.NodeConfigDefaults.Builder.class); } public static final int GCFS_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.GcfsConfig gcfsConfig_; /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; + * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; + * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -88,11 +116,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() public static final int LOGGING_CONFIG_FIELD_NUMBER = 3; private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -100,18 +131,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration for node pools.
    * 
@@ -124,6 +162,7 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,8 +174,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (gcfsConfig_ != null) { output.writeMessage(1, getGcfsConfig()); } @@ -153,12 +191,10 @@ public int getSerializedSize() { size = 0; if (gcfsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getGcfsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGcfsConfig()); } if (loggingConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getLoggingConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLoggingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,22 +204,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeConfigDefaults)) { return super.equals(obj); } - com.google.container.v1beta1.NodeConfigDefaults other = (com.google.container.v1beta1.NodeConfigDefaults) obj; + com.google.container.v1beta1.NodeConfigDefaults other = + (com.google.container.v1beta1.NodeConfigDefaults) obj; if (hasGcfsConfig() != other.hasGcfsConfig()) return false; if (hasGcfsConfig()) { - if (!getGcfsConfig() - .equals(other.getGcfsConfig())) return false; + if (!getGcfsConfig().equals(other.getGcfsConfig())) return false; } if (hasLoggingConfig() != other.hasLoggingConfig()) return false; if (hasLoggingConfig()) { - if (!getLoggingConfig() - .equals(other.getLoggingConfig())) return false; + if (!getLoggingConfig().equals(other.getLoggingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,130 +244,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeConfigDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( 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.NodeConfigDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeConfigDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeConfigDefaults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeConfigDefaults parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeConfigDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeConfigDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * Protobuf type {@code google.container.v1beta1.NodeConfigDefaults} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeConfigDefaults) com.google.container.v1beta1.NodeConfigDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeConfigDefaults.class, com.google.container.v1beta1.NodeConfigDefaults.Builder.class); + com.google.container.v1beta1.NodeConfigDefaults.class, + com.google.container.v1beta1.NodeConfigDefaults.Builder.class); } // Construct using com.google.container.v1beta1.NodeConfigDefaults.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; } @java.lang.Override @@ -373,7 +414,8 @@ public com.google.container.v1beta1.NodeConfigDefaults build() { @java.lang.Override public com.google.container.v1beta1.NodeConfigDefaults buildPartial() { - com.google.container.v1beta1.NodeConfigDefaults result = new com.google.container.v1beta1.NodeConfigDefaults(this); + com.google.container.v1beta1.NodeConfigDefaults result = + new com.google.container.v1beta1.NodeConfigDefaults(this); if (gcfsConfigBuilder_ == null) { result.gcfsConfig_ = gcfsConfig_; } else { @@ -392,38 +434,39 @@ public com.google.container.v1beta1.NodeConfigDefaults buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodeConfigDefaults) { - return mergeFrom((com.google.container.v1beta1.NodeConfigDefaults)other); + return mergeFrom((com.google.container.v1beta1.NodeConfigDefaults) other); } else { super.mergeFrom(other); return this; @@ -431,7 +474,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NodeConfigDefaults other) { - if (other == com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance()) + return this; if (other.hasGcfsConfig()) { mergeGcfsConfig(other.getGcfsConfig()); } @@ -464,26 +508,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcfsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 26: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 26: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -496,34 +539,47 @@ public Builder mergeFrom( private com.google.container.v1beta1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> gcfsConfigBuilder_; + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder> + gcfsConfigBuilder_; /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; + * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; + * * @return The gcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -544,14 +600,15 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; */ - public Builder setGcfsConfig( - com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -562,6 +619,8 @@ public Builder setGcfsConfig( return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -572,7 +631,9 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcfsConfig_ = value; } @@ -584,6 +645,8 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -602,6 +665,8 @@ public Builder clearGcfsConfig() { return this; } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -609,11 +674,13 @@ public Builder clearGcfsConfig() { * .google.container.v1beta1.GcfsConfig gcfs_config = 1; */ public com.google.container.v1beta1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -624,11 +691,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null ? - com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } } /** + * + * *
      * GCFS (Google Container File System, also known as Riptide) options.
      * 
@@ -636,14 +706,17 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() * .google.container.v1beta1.GcfsConfig gcfs_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( - getGcfsConfig(), - getParentForChildren(), - isClean()); + gcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder>( + getGcfsConfig(), getParentForChildren(), isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -651,34 +724,47 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + loggingConfigBuilder_; /** + * + * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration for node pools.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; + * * @return The loggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -699,6 +785,8 @@ public Builder setLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConf return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -717,6 +805,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -727,7 +817,9 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -739,6 +831,8 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -757,6 +851,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -764,11 +860,13 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; */ public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -779,11 +877,14 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration for node pools.
      * 
@@ -791,21 +892,24 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -815,12 +919,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeConfigDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeConfigDefaults) private static final com.google.container.v1beta1.NodeConfigDefaults DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeConfigDefaults(); } @@ -829,27 +933,27 @@ public static com.google.container.v1beta1.NodeConfigDefaults getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeConfigDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeConfigDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,6 +968,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeConfigDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java index 79b83d3f81b7..b9cd3b6fcaaf 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigDefaultsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeConfigDefaultsOrBuilder extends +public interface NodeConfigDefaultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeConfigDefaults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; + * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 1; + * * @return The gcfsConfig. */ com.google.container.v1beta1.GcfsConfig getGcfsConfig(); /** + * + * *
    * GCFS (Google Container File System, also known as Riptide) options.
    * 
@@ -35,24 +59,32 @@ public interface NodeConfigDefaultsOrBuilder extends com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration for node pools.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 3; + * * @return The loggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration for node pools.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 90% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeConfigOrBuilder.java index 71bc4797597a..73fe957cadeb 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeConfigOrBuilder extends +public interface NodeConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -16,10 +34,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * string machine_type = 1; + * * @return The machineType. */ java.lang.String getMachineType(); /** + * + * *
    * The name of a Google Compute Engine [machine
    * type](https://cloud.google.com/compute/docs/machine-types).
@@ -28,12 +49,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * string machine_type = 1; + * * @return The bytes for machineType. */ - com.google.protobuf.ByteString - getMachineTypeBytes(); + com.google.protobuf.ByteString getMachineTypeBytes(); /** + * + * *
    * Size of the disk attached to each node, specified in GB.
    * The smallest allowed disk size is 10GB.
@@ -41,11 +64,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * int32 disk_size_gb = 2; + * * @return The diskSizeGb. */ int getDiskSizeGb(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -62,11 +88,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @return A list containing the oauthScopes. */ - java.util.List - getOauthScopesList(); + java.util.List getOauthScopesList(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -83,10 +111,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -103,11 +134,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** + * + * *
    * The set of Google API scopes to be made available on all of the
    * node VMs under the "default" service account.
@@ -124,13 +158,15 @@ public interface NodeConfigOrBuilder extends
    * 
* * repeated string oauth_scopes = 3; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString - getOauthScopesBytes(int index); + com.google.protobuf.ByteString getOauthScopesBytes(int index); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -138,10 +174,13 @@ public interface NodeConfigOrBuilder extends
    * 
* * string service_account = 9; + * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** + * + * *
    * The Google Cloud Platform Service Account to be used by the node VMs.
    * Specify the email address of the Service Account; otherwise, if no Service
@@ -149,12 +188,14 @@ public interface NodeConfigOrBuilder extends
    * 
* * string service_account = 9; + * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString - getServiceAccountBytes(); + com.google.protobuf.ByteString getServiceAccountBytes(); /** + * + * *
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -190,6 +231,8 @@ public interface NodeConfigOrBuilder extends
    */
   int getMetadataCount();
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -223,15 +266,13 @@ public interface NodeConfigOrBuilder extends
    *
    * map<string, string> metadata = 4;
    */
-  boolean containsMetadata(
-      java.lang.String key);
-  /**
-   * Use {@link #getMetadataMap()} instead.
-   */
+  boolean containsMetadata(java.lang.String key);
+  /** Use {@link #getMetadataMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getMetadata();
+  java.util.Map getMetadata();
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -265,9 +306,10 @@ boolean containsMetadata(
    *
    * map<string, string> metadata = 4;
    */
-  java.util.Map
-  getMetadataMap();
+  java.util.Map getMetadataMap();
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -303,11 +345,13 @@ boolean containsMetadata(
    */
 
   /* nullable */
-java.lang.String getMetadataOrDefault(
+  java.lang.String getMetadataOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The metadata key/value pairs assigned to instances in the cluster.
    * Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
@@ -341,33 +385,38 @@ java.lang.String getMetadataOrDefault(
    *
    * map<string, string> metadata = 4;
    */
-
-  java.lang.String getMetadataOrThrow(
-      java.lang.String key);
+  java.lang.String getMetadataOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * The image type to use for this node. Note that for a given image type,
    * the latest version of it will be used.
    * 
* * string image_type = 5; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); /** + * + * *
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -383,6 +432,8 @@ java.lang.String getMetadataOrThrow(
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -396,15 +447,13 @@ java.lang.String getMetadataOrThrow(
    *
    * map<string, string> labels = 6;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -418,9 +467,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 6;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -436,11 +486,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The map of Kubernetes labels (key/value pairs) to be applied to each node.
    * These will added in addition to any default label(s) that
@@ -454,11 +506,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 6;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The number of local SSD disks to be attached to the node.
    * The limit for this value is dependent upon the maximum number of
@@ -468,11 +520,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * int32 local_ssd_count = 7; + * * @return The localSsdCount. */ int getLocalSsdCount(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -481,11 +536,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -494,10 +551,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -506,11 +566,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -519,13 +582,15 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string tags = 8; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
    * Whether the nodes are created as preemptible VM instances. See:
    * https://cloud.google.com/compute/docs/instances/preemptible for more
@@ -533,11 +598,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * bool preemptible = 10; + * * @return The preemptible. */ boolean getPreemptible(); /** + * + * *
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -546,9 +614,10 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List 
-      getAcceleratorsList();
+  java.util.List getAcceleratorsList();
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -559,6 +628,8 @@ java.lang.String getLabelsOrThrow(
    */
   com.google.container.v1beta1.AcceleratorConfig getAccelerators(int index);
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -569,6 +640,8 @@ java.lang.String getLabelsOrThrow(
    */
   int getAcceleratorsCount();
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -577,9 +650,11 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
-  java.util.List 
+  java.util.List
       getAcceleratorsOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of hardware accelerators to be attached to each node.
    * See https://cloud.google.com/compute/docs/gpus for more information about
@@ -588,28 +663,35 @@ java.lang.String getLabelsOrThrow(
    *
    * repeated .google.container.v1beta1.AcceleratorConfig accelerators = 11;
    */
-  com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(
-      int index);
+  com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; + * * @return Whether the sandboxConfig field is set. */ boolean hasSandboxConfig(); /** + * + * *
    * Sandbox configuration for this node.
    * 
* * .google.container.v1beta1.SandboxConfig sandbox_config = 17; + * * @return The sandboxConfig. */ com.google.container.v1beta1.SandboxConfig getSandboxConfig(); /** + * + * *
    * Sandbox configuration for this node.
    * 
@@ -619,6 +701,8 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder com.google.container.v1beta1.SandboxConfigOrBuilder getSandboxConfigOrBuilder(); /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -627,10 +711,13 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * string node_group = 18; + * * @return The nodeGroup. */ java.lang.String getNodeGroup(); /** + * + * *
    * Setting this field will assign instances of this
    * pool to run on the specified node group. This is useful for running
@@ -639,12 +726,14 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * string node_group = 18; + * * @return The bytes for nodeGroup. */ - com.google.protobuf.ByteString - getNodeGroupBytes(); + com.google.protobuf.ByteString getNodeGroupBytes(); /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -653,10 +742,13 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; + * * @return Whether the reservationAffinity field is set. */ boolean hasReservationAffinity(); /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -665,10 +757,13 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * .google.container.v1beta1.ReservationAffinity reservation_affinity = 19; + * * @return The reservationAffinity. */ com.google.container.v1beta1.ReservationAffinity getReservationAffinity(); /** + * + * *
    * The optional reservation affinity. Setting this field will apply
    * the specified [Zonal Compute
@@ -681,6 +776,8 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
   com.google.container.v1beta1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder();
 
   /**
+   *
+   *
    * 
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -688,10 +785,13 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * string disk_type = 12; + * * @return The diskType. */ java.lang.String getDiskType(); /** + * + * *
    * Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
    * 'pd-balanced')
@@ -699,12 +799,14 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * string disk_type = 12; + * * @return The bytes for diskType. */ - com.google.protobuf.ByteString - getDiskTypeBytes(); + com.google.protobuf.ByteString getDiskTypeBytes(); /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -716,10 +818,13 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * string min_cpu_platform = 13; + * * @return The minCpuPlatform. */ java.lang.String getMinCpuPlatform(); /** + * + * *
    * Minimum CPU platform to be used by this instance. The instance may be
    * scheduled on the specified or newer CPU platform. Applicable values are the
@@ -731,30 +836,38 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    * 
* * string min_cpu_platform = 13; + * * @return The bytes for minCpuPlatform. */ - com.google.protobuf.ByteString - getMinCpuPlatformBytes(); + com.google.protobuf.ByteString getMinCpuPlatformBytes(); /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** + * + * *
    * The workload metadata configuration for this node.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** + * + * *
    * The workload metadata configuration for this node.
    * 
@@ -764,6 +877,8 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** + * + * *
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -772,9 +887,10 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    *
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
-  java.util.List 
-      getTaintsList();
+  java.util.List getTaintsList();
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -785,6 +901,8 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    */
   com.google.container.v1beta1.NodeTaint getTaints(int index);
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -795,6 +913,8 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    */
   int getTaintsCount();
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -803,9 +923,11 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    *
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
-  java.util.List 
+  java.util.List
       getTaintsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of kubernetes taints to be applied to each node.
    * For more information, including usage and the valid values, see:
@@ -814,10 +936,11 @@ com.google.container.v1beta1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder
    *
    * repeated .google.container.v1beta1.NodeTaint taints = 15;
    */
-  com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
-      int index);
+  com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -828,10 +951,13 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * string boot_disk_kms_key = 23; + * * @return The bootDiskKmsKey. */ java.lang.String getBootDiskKmsKey(); /** + * + * *
    * The Customer Managed Encryption Key used to encrypt the boot disk attached
    * to each node in the node pool. This should be of the form
@@ -842,30 +968,38 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
    * 
* * string boot_disk_kms_key = 23; + * * @return The bytes for bootDiskKmsKey. */ - com.google.protobuf.ByteString - getBootDiskKmsKeyBytes(); + com.google.protobuf.ByteString getBootDiskKmsKeyBytes(); /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return Whether the shieldedInstanceConfig field is set. */ boolean hasShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
* * .google.container.v1beta1.ShieldedInstanceConfig shielded_instance_config = 20; + * * @return The shieldedInstanceConfig. */ com.google.container.v1beta1.ShieldedInstanceConfig getShieldedInstanceConfig(); /** + * + * *
    * Shielded Instance options.
    * 
@@ -875,24 +1009,32 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; + * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 21; + * * @return The linuxNodeConfig. */ com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -902,24 +1044,32 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; + * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 22; + * * @return The kubeletConfig. */ com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
@@ -929,26 +1079,34 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** + * + * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; + * * @return Whether the ephemeralStorageConfig field is set. */ boolean hasEphemeralStorageConfig(); /** + * + * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
    * 
* * .google.container.v1beta1.EphemeralStorageConfig ephemeral_storage_config = 24; + * * @return The ephemeralStorageConfig. */ com.google.container.v1beta1.EphemeralStorageConfig getEphemeralStorageConfig(); /** + * + * *
    * Parameters for the ephemeral storage filesystem.
    * If unspecified, ephemeral storage is backed by the boot disk.
@@ -959,24 +1117,32 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
   com.google.container.v1beta1.EphemeralStorageConfigOrBuilder getEphemeralStorageConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; + * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** + * + * *
    * GCFS (Google Container File System) configs.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 25; + * * @return The gcfsConfig. */ com.google.container.v1beta1.GcfsConfig getGcfsConfig(); /** + * + * *
    * GCFS (Google Container File System) configs.
    * 
@@ -986,51 +1152,68 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return Whether the advancedMachineFeatures field is set. */ boolean hasAdvancedMachineFeatures(); /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; + * * @return The advancedMachineFeatures. */ com.google.container.v1beta1.AdvancedMachineFeatures getAdvancedMachineFeatures(); /** + * + * *
    * Advanced features for the Compute Engine VM.
    * 
* * .google.container.v1beta1.AdvancedMachineFeatures advanced_machine_features = 26; */ - com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder(); + com.google.container.v1beta1.AdvancedMachineFeaturesOrBuilder + getAdvancedMachineFeaturesOrBuilder(); /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ com.google.container.v1beta1.VirtualNIC getGvnic(); /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -1040,37 +1223,48 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder(); /** + * + * *
    * Spot flag for enabling Spot VM, which is a rebrand of
    * the existing preemptible flag.
    * 
* * bool spot = 32; + * * @return The spot. */ boolean getSpot(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 35; + * * @return The confidentialNodes. */ com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -1081,24 +1275,32 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
   com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * * @return Whether the fastSocket field is set. */ boolean hasFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * optional .google.container.v1beta1.FastSocket fast_socket = 36; + * * @return The fastSocket. */ com.google.container.v1beta1.FastSocket getFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -1108,6 +1310,8 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1117,6 +1321,8 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
    */
   int getResourceLabelsCount();
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1124,15 +1330,13 @@ com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(
    *
    * map<string, string> resource_labels = 37;
    */
-  boolean containsResourceLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getResourceLabelsMap()} instead.
-   */
+  boolean containsResourceLabels(java.lang.String key);
+  /** Use {@link #getResourceLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getResourceLabels();
+  java.util.Map getResourceLabels();
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1140,9 +1344,10 @@ boolean containsResourceLabels(
    *
    * map<string, string> resource_labels = 37;
    */
-  java.util.Map
-  getResourceLabelsMap();
+  java.util.Map getResourceLabelsMap();
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1152,11 +1357,13 @@ boolean containsResourceLabels(
    */
 
   /* nullable */
-java.lang.String getResourceLabelsOrDefault(
+  java.lang.String getResourceLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1164,29 +1371,35 @@ java.lang.String getResourceLabelsOrDefault(
    *
    * map<string, string> resource_labels = 37;
    */
-
-  java.lang.String getResourceLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getResourceLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 38; + * * @return The loggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java similarity index 77% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java index ca41ef97f2ba..000c1fec9e90 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Node kubelet configs.
  * 
* * Protobuf type {@code google.container.v1beta1.NodeKubeletConfig} */ -public final class NodeKubeletConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeKubeletConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeKubeletConfig) NodeKubeletConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeKubeletConfig.newBuilder() to construct. private NodeKubeletConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NodeKubeletConfig() { cpuManagerPolicy_ = ""; cpuCfsQuotaPeriod_ = ""; @@ -26,32 +44,35 @@ private NodeKubeletConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeKubeletConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeKubeletConfig.class, com.google.container.v1beta1.NodeKubeletConfig.Builder.class); + com.google.container.v1beta1.NodeKubeletConfig.class, + com.google.container.v1beta1.NodeKubeletConfig.Builder.class); } public static final int CPU_MANAGER_POLICY_FIELD_NUMBER = 1; private volatile java.lang.Object cpuManagerPolicy_; /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -64,6 +85,7 @@ protected java.lang.Object newInstance(
    * 
* * string cpu_manager_policy = 1; + * * @return The cpuManagerPolicy. */ @java.lang.Override @@ -72,14 +94,15 @@ public java.lang.String getCpuManagerPolicy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; } } /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -92,16 +115,15 @@ public java.lang.String getCpuManagerPolicy() {
    * 
* * string cpu_manager_policy = 1; + * * @return The bytes for cpuManagerPolicy. */ @java.lang.Override - public com.google.protobuf.ByteString - getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -112,6 +134,8 @@ public java.lang.String getCpuManagerPolicy() { public static final int CPU_CFS_QUOTA_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue cpuCfsQuota_; /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -124,6 +148,7 @@ public java.lang.String getCpuManagerPolicy() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return Whether the cpuCfsQuota field is set. */ @java.lang.Override @@ -131,6 +156,8 @@ public boolean hasCpuCfsQuota() { return cpuCfsQuota_ != null; } /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -143,6 +170,7 @@ public boolean hasCpuCfsQuota() {
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return The cpuCfsQuota. */ @java.lang.Override @@ -150,6 +178,8 @@ public com.google.protobuf.BoolValue getCpuCfsQuota() { return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; } /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -171,6 +201,8 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
   public static final int CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER = 3;
   private volatile java.lang.Object cpuCfsQuotaPeriod_;
   /**
+   *
+   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -180,6 +212,7 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The cpuCfsQuotaPeriod. */ @java.lang.Override @@ -188,14 +221,15 @@ public java.lang.String getCpuCfsQuotaPeriod() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; } } /** + * + * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -205,16 +239,15 @@ public java.lang.String getCpuCfsQuotaPeriod() {
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The bytes for cpuCfsQuotaPeriod. */ @java.lang.Override - public com.google.protobuf.ByteString - getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -225,6 +258,8 @@ public java.lang.String getCpuCfsQuotaPeriod() { public static final int POD_PIDS_LIMIT_FIELD_NUMBER = 4; private long podPidsLimit_; /** + * + * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -233,6 +268,7 @@ public java.lang.String getCpuCfsQuotaPeriod() {
    * 
* * int64 pod_pids_limit = 4; + * * @return The podPidsLimit. */ @java.lang.Override @@ -241,6 +277,7 @@ public long getPodPidsLimit() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,8 +289,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuManagerPolicy_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cpuManagerPolicy_); } @@ -279,15 +315,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cpuManagerPolicy_); } if (cpuCfsQuota_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCpuCfsQuota()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCpuCfsQuota()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cpuCfsQuotaPeriod_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cpuCfsQuotaPeriod_); } if (podPidsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, podPidsLimit_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, podPidsLimit_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -297,24 +331,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeKubeletConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodeKubeletConfig other = (com.google.container.v1beta1.NodeKubeletConfig) obj; + com.google.container.v1beta1.NodeKubeletConfig other = + (com.google.container.v1beta1.NodeKubeletConfig) obj; - if (!getCpuManagerPolicy() - .equals(other.getCpuManagerPolicy())) return false; + if (!getCpuManagerPolicy().equals(other.getCpuManagerPolicy())) return false; if (hasCpuCfsQuota() != other.hasCpuCfsQuota()) return false; if (hasCpuCfsQuota()) { - if (!getCpuCfsQuota() - .equals(other.getCpuCfsQuota())) return false; + if (!getCpuCfsQuota().equals(other.getCpuCfsQuota())) return false; } - if (!getCpuCfsQuotaPeriod() - .equals(other.getCpuCfsQuotaPeriod())) return false; - if (getPodPidsLimit() - != other.getPodPidsLimit()) return false; + if (!getCpuCfsQuotaPeriod().equals(other.getCpuCfsQuotaPeriod())) return false; + if (getPodPidsLimit() != other.getPodPidsLimit()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,137 +366,142 @@ public int hashCode() { hash = (37 * hash) + CPU_CFS_QUOTA_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getCpuCfsQuotaPeriod().hashCode(); hash = (37 * hash) + POD_PIDS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPodPidsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPodPidsLimit()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeKubeletConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( 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.NodeKubeletConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeKubeletConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeKubeletConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeKubeletConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeKubeletConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeKubeletConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Node kubelet configs.
    * 
* * Protobuf type {@code google.container.v1beta1.NodeKubeletConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeKubeletConfig) com.google.container.v1beta1.NodeKubeletConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeKubeletConfig.class, com.google.container.v1beta1.NodeKubeletConfig.Builder.class); + com.google.container.v1beta1.NodeKubeletConfig.class, + com.google.container.v1beta1.NodeKubeletConfig.Builder.class); } // Construct using com.google.container.v1beta1.NodeKubeletConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -485,9 +521,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; } @java.lang.Override @@ -506,7 +542,8 @@ public com.google.container.v1beta1.NodeKubeletConfig build() { @java.lang.Override public com.google.container.v1beta1.NodeKubeletConfig buildPartial() { - com.google.container.v1beta1.NodeKubeletConfig result = new com.google.container.v1beta1.NodeKubeletConfig(this); + com.google.container.v1beta1.NodeKubeletConfig result = + new com.google.container.v1beta1.NodeKubeletConfig(this); result.cpuManagerPolicy_ = cpuManagerPolicy_; if (cpuCfsQuotaBuilder_ == null) { result.cpuCfsQuota_ = cpuCfsQuota_; @@ -523,38 +560,39 @@ public com.google.container.v1beta1.NodeKubeletConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodeKubeletConfig) { - return mergeFrom((com.google.container.v1beta1.NodeKubeletConfig)other); + return mergeFrom((com.google.container.v1beta1.NodeKubeletConfig) other); } else { super.mergeFrom(other); return this; @@ -603,34 +641,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - cpuManagerPolicy_ = input.readStringRequireUtf8(); + case 10: + { + cpuManagerPolicy_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCpuCfsQuotaFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCpuCfsQuotaFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + cpuCfsQuotaPeriod_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - podPidsLimit_ = input.readInt64(); + break; + } // case 26 + case 32: + { + podPidsLimit_ = input.readInt64(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -643,6 +684,8 @@ public Builder mergeFrom( private java.lang.Object cpuManagerPolicy_ = ""; /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -655,13 +698,13 @@ public Builder mergeFrom(
      * 
* * string cpu_manager_policy = 1; + * * @return The cpuManagerPolicy. */ public java.lang.String getCpuManagerPolicy() { java.lang.Object ref = cpuManagerPolicy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuManagerPolicy_ = s; return s; @@ -670,6 +713,8 @@ public java.lang.String getCpuManagerPolicy() { } } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -682,15 +727,14 @@ public java.lang.String getCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; + * * @return The bytes for cpuManagerPolicy. */ - public com.google.protobuf.ByteString - getCpuManagerPolicyBytes() { + public com.google.protobuf.ByteString getCpuManagerPolicyBytes() { java.lang.Object ref = cpuManagerPolicy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuManagerPolicy_ = b; return b; } else { @@ -698,6 +742,8 @@ public java.lang.String getCpuManagerPolicy() { } } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -710,20 +756,22 @@ public java.lang.String getCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; + * * @param value The cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicy( - java.lang.String value) { + public Builder setCpuManagerPolicy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuManagerPolicy_ = value; onChanged(); return this; } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -736,15 +784,18 @@ public Builder setCpuManagerPolicy(
      * 
* * string cpu_manager_policy = 1; + * * @return This builder for chaining. */ public Builder clearCpuManagerPolicy() { - + cpuManagerPolicy_ = getDefaultInstance().getCpuManagerPolicy(); onChanged(); return this; } /** + * + * *
      * Control the CPU management policy on the node.
      * See
@@ -757,16 +808,16 @@ public Builder clearCpuManagerPolicy() {
      * 
* * string cpu_manager_policy = 1; + * * @param value The bytes for cpuManagerPolicy to set. * @return This builder for chaining. */ - public Builder setCpuManagerPolicyBytes( - com.google.protobuf.ByteString value) { + public Builder setCpuManagerPolicyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuManagerPolicy_ = value; onChanged(); return this; @@ -774,8 +825,13 @@ public Builder setCpuManagerPolicyBytes( private com.google.protobuf.BoolValue cpuCfsQuota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> cpuCfsQuotaBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + cpuCfsQuotaBuilder_; /** + * + * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -788,12 +844,15 @@ public Builder setCpuManagerPolicyBytes(
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return Whether the cpuCfsQuota field is set. */ public boolean hasCpuCfsQuota() { return cpuCfsQuotaBuilder_ != null || cpuCfsQuota_ != null; } /** + * + * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -806,16 +865,21 @@ public boolean hasCpuCfsQuota() {
      * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return The cpuCfsQuota. */ public com.google.protobuf.BoolValue getCpuCfsQuota() { if (cpuCfsQuotaBuilder_ == null) { - return cpuCfsQuota_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_; + return cpuCfsQuota_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : cpuCfsQuota_; } else { return cpuCfsQuotaBuilder_.getMessage(); } } /** + * + * *
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -843,6 +907,8 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -856,8 +922,7 @@ public Builder setCpuCfsQuota(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
-    public Builder setCpuCfsQuota(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setCpuCfsQuota(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (cpuCfsQuotaBuilder_ == null) {
         cpuCfsQuota_ = builderForValue.build();
         onChanged();
@@ -868,6 +933,8 @@ public Builder setCpuCfsQuota(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -885,7 +952,9 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       if (cpuCfsQuotaBuilder_ == null) {
         if (cpuCfsQuota_ != null) {
           cpuCfsQuota_ =
-            com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(cpuCfsQuota_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           cpuCfsQuota_ = value;
         }
@@ -897,6 +966,8 @@ public Builder mergeCpuCfsQuota(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -922,6 +993,8 @@ public Builder clearCpuCfsQuota() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -936,11 +1009,13 @@ public Builder clearCpuCfsQuota() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     public com.google.protobuf.BoolValue.Builder getCpuCfsQuotaBuilder() {
-      
+
       onChanged();
       return getCpuCfsQuotaFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -958,11 +1033,14 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
       if (cpuCfsQuotaBuilder_ != null) {
         return cpuCfsQuotaBuilder_.getMessageOrBuilder();
       } else {
-        return cpuCfsQuota_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : cpuCfsQuota_;
+        return cpuCfsQuota_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : cpuCfsQuota_;
       }
     }
     /**
+     *
+     *
      * 
      * Enable CPU CFS quota enforcement for containers that specify CPU limits.
      * This option is enabled by default which makes kubelet use CFS quota
@@ -977,14 +1055,17 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * .google.protobuf.BoolValue cpu_cfs_quota = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getCpuCfsQuotaFieldBuilder() {
       if (cpuCfsQuotaBuilder_ == null) {
-        cpuCfsQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getCpuCfsQuota(),
-                getParentForChildren(),
-                isClean());
+        cpuCfsQuotaBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getCpuCfsQuota(), getParentForChildren(), isClean());
         cpuCfsQuota_ = null;
       }
       return cpuCfsQuotaBuilder_;
@@ -992,6 +1073,8 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
 
     private java.lang.Object cpuCfsQuotaPeriod_ = "";
     /**
+     *
+     *
      * 
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1001,13 +1084,13 @@ public com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @return The cpuCfsQuotaPeriod. */ public java.lang.String getCpuCfsQuotaPeriod() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cpuCfsQuotaPeriod_ = s; return s; @@ -1016,6 +1099,8 @@ public java.lang.String getCpuCfsQuotaPeriod() { } } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1025,15 +1110,14 @@ public java.lang.String getCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @return The bytes for cpuCfsQuotaPeriod. */ - public com.google.protobuf.ByteString - getCpuCfsQuotaPeriodBytes() { + public com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes() { java.lang.Object ref = cpuCfsQuotaPeriod_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); cpuCfsQuotaPeriod_ = b; return b; } else { @@ -1041,6 +1125,8 @@ public java.lang.String getCpuCfsQuotaPeriod() { } } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1050,20 +1136,22 @@ public java.lang.String getCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @param value The cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriod( - java.lang.String value) { + public Builder setCpuCfsQuotaPeriod(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1073,15 +1161,18 @@ public Builder setCpuCfsQuotaPeriod(
      * 
* * string cpu_cfs_quota_period = 3; + * * @return This builder for chaining. */ public Builder clearCpuCfsQuotaPeriod() { - + cpuCfsQuotaPeriod_ = getDefaultInstance().getCpuCfsQuotaPeriod(); onChanged(); return this; } /** + * + * *
      * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
      * The string must be a sequence of decimal numbers, each with optional
@@ -1091,23 +1182,25 @@ public Builder clearCpuCfsQuotaPeriod() {
      * 
* * string cpu_cfs_quota_period = 3; + * * @param value The bytes for cpuCfsQuotaPeriod to set. * @return This builder for chaining. */ - public Builder setCpuCfsQuotaPeriodBytes( - com.google.protobuf.ByteString value) { + public Builder setCpuCfsQuotaPeriodBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cpuCfsQuotaPeriod_ = value; onChanged(); return this; } - private long podPidsLimit_ ; + private long podPidsLimit_; /** + * + * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1116,6 +1209,7 @@ public Builder setCpuCfsQuotaPeriodBytes(
      * 
* * int64 pod_pids_limit = 4; + * * @return The podPidsLimit. */ @java.lang.Override @@ -1123,6 +1217,8 @@ public long getPodPidsLimit() { return podPidsLimit_; } /** + * + * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1131,16 +1227,19 @@ public long getPodPidsLimit() {
      * 
* * int64 pod_pids_limit = 4; + * * @param value The podPidsLimit to set. * @return This builder for chaining. */ public Builder setPodPidsLimit(long value) { - + podPidsLimit_ = value; onChanged(); return this; } /** + * + * *
      * Set the Pod PID limits. See
      * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -1149,17 +1248,18 @@ public Builder setPodPidsLimit(long value) {
      * 
* * int64 pod_pids_limit = 4; + * * @return This builder for chaining. */ public Builder clearPodPidsLimit() { - + podPidsLimit_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1169,12 +1269,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeKubeletConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeKubeletConfig) private static final com.google.container.v1beta1.NodeKubeletConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeKubeletConfig(); } @@ -1183,27 +1283,27 @@ public static com.google.container.v1beta1.NodeKubeletConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeKubeletConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeKubeletConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,6 +1318,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeKubeletConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java similarity index 84% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java index 3d337ba52b6e..79d18d02b4d9 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeKubeletConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeKubeletConfigOrBuilder extends +public interface NodeKubeletConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeKubeletConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -20,10 +38,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_manager_policy = 1; + * * @return The cpuManagerPolicy. */ java.lang.String getCpuManagerPolicy(); /** + * + * *
    * Control the CPU management policy on the node.
    * See
@@ -36,12 +57,14 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_manager_policy = 1; + * * @return The bytes for cpuManagerPolicy. */ - com.google.protobuf.ByteString - getCpuManagerPolicyBytes(); + com.google.protobuf.ByteString getCpuManagerPolicyBytes(); /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -54,10 +77,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return Whether the cpuCfsQuota field is set. */ boolean hasCpuCfsQuota(); /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -70,10 +96,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * .google.protobuf.BoolValue cpu_cfs_quota = 2; + * * @return The cpuCfsQuota. */ com.google.protobuf.BoolValue getCpuCfsQuota(); /** + * + * *
    * Enable CPU CFS quota enforcement for containers that specify CPU limits.
    * This option is enabled by default which makes kubelet use CFS quota
@@ -90,6 +119,8 @@ public interface NodeKubeletConfigOrBuilder extends
   com.google.protobuf.BoolValueOrBuilder getCpuCfsQuotaOrBuilder();
 
   /**
+   *
+   *
    * 
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -99,10 +130,13 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The cpuCfsQuotaPeriod. */ java.lang.String getCpuCfsQuotaPeriod(); /** + * + * *
    * Set the CPU CFS quota period value 'cpu.cfs_period_us'.
    * The string must be a sequence of decimal numbers, each with optional
@@ -112,12 +146,14 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * string cpu_cfs_quota_period = 3; + * * @return The bytes for cpuCfsQuotaPeriod. */ - com.google.protobuf.ByteString - getCpuCfsQuotaPeriodBytes(); + com.google.protobuf.ByteString getCpuCfsQuotaPeriodBytes(); /** + * + * *
    * Set the Pod PID limits. See
    * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
@@ -126,6 +162,7 @@ public interface NodeKubeletConfigOrBuilder extends
    * 
* * int64 pod_pids_limit = 4; + * * @return The podPidsLimit. */ long getPodPidsLimit(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java similarity index 57% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java index 2bd69fccd534..b7dee2ce1dca 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabels.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Collection of node-level [Kubernetes
  * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -11,74 +28,73 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeLabels}
  */
-public final class NodeLabels extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeLabels extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeLabels)
     NodeLabelsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeLabels.newBuilder() to construct.
   private NodeLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NodeLabels() {
-  }
+
+  private NodeLabels() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeLabels.class, com.google.container.v1beta1.NodeLabels.Builder.class);
+            com.google.container.v1beta1.NodeLabels.class,
+            com.google.container.v1beta1.NodeLabels.Builder.class);
   }
 
   public static final int LABELS_FIELD_NUMBER = 1;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.container.v1beta1.ClusterServiceProto
+                .internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -87,28 +103,30 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -116,11 +134,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -128,16 +147,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -145,12 +164,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -158,6 +176,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,14 +188,9 @@ public final boolean isInitialized() { } @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); + 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); } @@ -186,15 +200,15 @@ public int getSerializedSize() { 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__); + 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; @@ -204,15 +218,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeLabels)) { return super.equals(obj); } com.google.container.v1beta1.NodeLabels other = (com.google.container.v1beta1.NodeLabels) obj; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,97 +246,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeLabels parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeLabels parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeLabels parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeLabels parseFrom( 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.NodeLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeLabels parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeLabels parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeLabels parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeLabels parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeLabels parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeLabels parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of node-level [Kubernetes
    * labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
@@ -331,55 +351,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodeLabels}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeLabels)
       com.google.container.v1beta1.NodeLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeLabels.class, com.google.container.v1beta1.NodeLabels.Builder.class);
+              com.google.container.v1beta1.NodeLabels.class,
+              com.google.container.v1beta1.NodeLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeLabels.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +405,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeLabels_descriptor;
     }
 
     @java.lang.Override
@@ -409,7 +426,8 @@ public com.google.container.v1beta1.NodeLabels build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeLabels buildPartial() {
-      com.google.container.v1beta1.NodeLabels result = new com.google.container.v1beta1.NodeLabels(this);
+      com.google.container.v1beta1.NodeLabels result =
+          new com.google.container.v1beta1.NodeLabels(this);
       int from_bitField0_ = bitField0_;
       result.labels_ = internalGetLabels();
       result.labels_.makeImmutable();
@@ -421,38 +439,39 @@ public com.google.container.v1beta1.NodeLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeLabels) {
-        return mergeFrom((com.google.container.v1beta1.NodeLabels)other);
+        return mergeFrom((com.google.container.v1beta1.NodeLabels) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,8 +480,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1beta1.NodeLabels other) {
       if (other == com.google.container.v1beta1.NodeLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -489,20 +507,24 @@ public Builder mergeFrom(
             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());
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                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) {
@@ -512,24 +534,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabels() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -541,28 +563,30 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -570,11 +594,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -582,16 +607,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -599,12 +625,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -612,69 +637,66 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +706,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeLabels) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeLabels) private static final com.google.container.v1beta1.NodeLabels DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeLabels(); } @@ -698,27 +720,27 @@ public static com.google.container.v1beta1.NodeLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,6 +755,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java index 8b1e3ff18a50..ba73062a6185 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeLabelsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeLabelsOrBuilder extends +public interface NodeLabelsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeLabels) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -16,30 +34,31 @@ public interface NodeLabelsOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -48,18 +67,18 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java index bd805b621dfd..0d4e84b00a96 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagement.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * NodeManagement defines the set of node management services turned on for the
  * node pool.
@@ -11,51 +28,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeManagement}
  */
-public final class NodeManagement extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeManagement extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeManagement)
     NodeManagementOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeManagement.newBuilder() to construct.
   private NodeManagement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NodeManagement() {
-  }
+
+  private NodeManagement() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeManagement();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeManagement_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeManagement.class, com.google.container.v1beta1.NodeManagement.Builder.class);
+            com.google.container.v1beta1.NodeManagement.class,
+            com.google.container.v1beta1.NodeManagement.Builder.class);
   }
 
   public static final int AUTO_UPGRADE_FIELD_NUMBER = 1;
   private boolean autoUpgrade_;
   /**
+   *
+   *
    * 
    * Whether the nodes will be automatically upgraded.
    * 
* * bool auto_upgrade = 1; + * * @return The autoUpgrade. */ @java.lang.Override @@ -66,11 +87,14 @@ public boolean getAutoUpgrade() { public static final int AUTO_REPAIR_FIELD_NUMBER = 2; private boolean autoRepair_; /** + * + * *
    * Whether the nodes will be automatically repaired.
    * 
* * bool auto_repair = 2; + * * @return The autoRepair. */ @java.lang.Override @@ -81,11 +105,14 @@ public boolean getAutoRepair() { public static final int UPGRADE_OPTIONS_FIELD_NUMBER = 10; private com.google.container.v1beta1.AutoUpgradeOptions upgradeOptions_; /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; + * * @return Whether the upgradeOptions field is set. */ @java.lang.Override @@ -93,18 +120,25 @@ public boolean hasUpgradeOptions() { return upgradeOptions_ != null; } /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; + * * @return The upgradeOptions. */ @java.lang.Override public com.google.container.v1beta1.AutoUpgradeOptions getUpgradeOptions() { - return upgradeOptions_ == null ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; + return upgradeOptions_ == null + ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() + : upgradeOptions_; } /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
@@ -117,6 +151,7 @@ public com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder getUpgradeOption } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (autoUpgrade_ != false) { output.writeBool(1, autoUpgrade_); } @@ -149,16 +183,13 @@ public int getSerializedSize() { size = 0; if (autoUpgrade_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, autoUpgrade_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, autoUpgrade_); } if (autoRepair_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, autoRepair_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, autoRepair_); } if (upgradeOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getUpgradeOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getUpgradeOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -168,21 +199,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeManagement)) { return super.equals(obj); } - com.google.container.v1beta1.NodeManagement other = (com.google.container.v1beta1.NodeManagement) obj; + com.google.container.v1beta1.NodeManagement other = + (com.google.container.v1beta1.NodeManagement) obj; - if (getAutoUpgrade() - != other.getAutoUpgrade()) return false; - if (getAutoRepair() - != other.getAutoRepair()) return false; + if (getAutoUpgrade() != other.getAutoUpgrade()) return false; + if (getAutoRepair() != other.getAutoRepair()) return false; if (hasUpgradeOptions() != other.hasUpgradeOptions()) return false; if (hasUpgradeOptions()) { - if (!getUpgradeOptions() - .equals(other.getUpgradeOptions())) return false; + if (!getUpgradeOptions().equals(other.getUpgradeOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -196,11 +225,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + AUTO_UPGRADE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoUpgrade()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoUpgrade()); hash = (37 * hash) + AUTO_REPAIR_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoRepair()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoRepair()); if (hasUpgradeOptions()) { hash = (37 * hash) + UPGRADE_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getUpgradeOptions().hashCode(); @@ -210,97 +237,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeManagement parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeManagement parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeManagement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeManagement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeManagement parseFrom( 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.NodeManagement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeManagement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeManagement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeManagement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeManagement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeManagement parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeManagement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeManagement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeManagement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeManagement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodeManagement defines the set of node management services turned on for the
    * node pool.
@@ -308,33 +342,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodeManagement}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeManagement)
       com.google.container.v1beta1.NodeManagementOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeManagement.class, com.google.container.v1beta1.NodeManagement.Builder.class);
+              com.google.container.v1beta1.NodeManagement.class,
+              com.google.container.v1beta1.NodeManagement.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeManagement.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,9 +385,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeManagement_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeManagement_descriptor;
     }
 
     @java.lang.Override
@@ -373,7 +406,8 @@ public com.google.container.v1beta1.NodeManagement build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeManagement buildPartial() {
-      com.google.container.v1beta1.NodeManagement result = new com.google.container.v1beta1.NodeManagement(this);
+      com.google.container.v1beta1.NodeManagement result =
+          new com.google.container.v1beta1.NodeManagement(this);
       result.autoUpgrade_ = autoUpgrade_;
       result.autoRepair_ = autoRepair_;
       if (upgradeOptionsBuilder_ == null) {
@@ -389,38 +423,39 @@ public com.google.container.v1beta1.NodeManagement buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeManagement) {
-        return mergeFrom((com.google.container.v1beta1.NodeManagement)other);
+        return mergeFrom((com.google.container.v1beta1.NodeManagement) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -464,29 +499,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              autoUpgrade_ = input.readBool();
-
-              break;
-            } // case 8
-            case 16: {
-              autoRepair_ = input.readBool();
-
-              break;
-            } // case 16
-            case 82: {
-              input.readMessage(
-                  getUpgradeOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                autoUpgrade_ = input.readBool();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                autoRepair_ = input.readBool();
+
+                break;
+              } // case 16
+            case 82:
+              {
+                input.readMessage(getUpgradeOptionsFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -497,13 +534,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean autoUpgrade_ ;
+    private boolean autoUpgrade_;
     /**
+     *
+     *
      * 
      * Whether the nodes will be automatically upgraded.
      * 
* * bool auto_upgrade = 1; + * * @return The autoUpgrade. */ @java.lang.Override @@ -511,42 +551,51 @@ public boolean getAutoUpgrade() { return autoUpgrade_; } /** + * + * *
      * Whether the nodes will be automatically upgraded.
      * 
* * bool auto_upgrade = 1; + * * @param value The autoUpgrade to set. * @return This builder for chaining. */ public Builder setAutoUpgrade(boolean value) { - + autoUpgrade_ = value; onChanged(); return this; } /** + * + * *
      * Whether the nodes will be automatically upgraded.
      * 
* * bool auto_upgrade = 1; + * * @return This builder for chaining. */ public Builder clearAutoUpgrade() { - + autoUpgrade_ = false; onChanged(); return this; } - private boolean autoRepair_ ; + private boolean autoRepair_; /** + * + * *
      * Whether the nodes will be automatically repaired.
      * 
* * bool auto_repair = 2; + * * @return The autoRepair. */ @java.lang.Override @@ -554,30 +603,36 @@ public boolean getAutoRepair() { return autoRepair_; } /** + * + * *
      * Whether the nodes will be automatically repaired.
      * 
* * bool auto_repair = 2; + * * @param value The autoRepair to set. * @return This builder for chaining. */ public Builder setAutoRepair(boolean value) { - + autoRepair_ = value; onChanged(); return this; } /** + * + * *
      * Whether the nodes will be automatically repaired.
      * 
* * bool auto_repair = 2; + * * @return This builder for chaining. */ public Builder clearAutoRepair() { - + autoRepair_ = false; onChanged(); return this; @@ -585,34 +640,47 @@ public Builder clearAutoRepair() { private com.google.container.v1beta1.AutoUpgradeOptions upgradeOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoUpgradeOptions, com.google.container.v1beta1.AutoUpgradeOptions.Builder, com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> upgradeOptionsBuilder_; + com.google.container.v1beta1.AutoUpgradeOptions, + com.google.container.v1beta1.AutoUpgradeOptions.Builder, + com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> + upgradeOptionsBuilder_; /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; + * * @return Whether the upgradeOptions field is set. */ public boolean hasUpgradeOptions() { return upgradeOptionsBuilder_ != null || upgradeOptions_ != null; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; + * * @return The upgradeOptions. */ public com.google.container.v1beta1.AutoUpgradeOptions getUpgradeOptions() { if (upgradeOptionsBuilder_ == null) { - return upgradeOptions_ == null ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; + return upgradeOptions_ == null + ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() + : upgradeOptions_; } else { return upgradeOptionsBuilder_.getMessage(); } } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -633,6 +701,8 @@ public Builder setUpgradeOptions(com.google.container.v1beta1.AutoUpgradeOptions return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -651,6 +721,8 @@ public Builder setUpgradeOptions( return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -661,7 +733,9 @@ public Builder mergeUpgradeOptions(com.google.container.v1beta1.AutoUpgradeOptio if (upgradeOptionsBuilder_ == null) { if (upgradeOptions_ != null) { upgradeOptions_ = - com.google.container.v1beta1.AutoUpgradeOptions.newBuilder(upgradeOptions_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AutoUpgradeOptions.newBuilder(upgradeOptions_) + .mergeFrom(value) + .buildPartial(); } else { upgradeOptions_ = value; } @@ -673,6 +747,8 @@ public Builder mergeUpgradeOptions(com.google.container.v1beta1.AutoUpgradeOptio return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -691,6 +767,8 @@ public Builder clearUpgradeOptions() { return this; } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -698,11 +776,13 @@ public Builder clearUpgradeOptions() { * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; */ public com.google.container.v1beta1.AutoUpgradeOptions.Builder getUpgradeOptionsBuilder() { - + onChanged(); return getUpgradeOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -713,11 +793,14 @@ public com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder getUpgradeOption if (upgradeOptionsBuilder_ != null) { return upgradeOptionsBuilder_.getMessageOrBuilder(); } else { - return upgradeOptions_ == null ? - com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() : upgradeOptions_; + return upgradeOptions_ == null + ? com.google.container.v1beta1.AutoUpgradeOptions.getDefaultInstance() + : upgradeOptions_; } } /** + * + * *
      * Specifies the Auto Upgrade knobs for the node pool.
      * 
@@ -725,21 +808,24 @@ public com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder getUpgradeOption * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoUpgradeOptions, com.google.container.v1beta1.AutoUpgradeOptions.Builder, com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> + com.google.container.v1beta1.AutoUpgradeOptions, + com.google.container.v1beta1.AutoUpgradeOptions.Builder, + com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder> getUpgradeOptionsFieldBuilder() { if (upgradeOptionsBuilder_ == null) { - upgradeOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AutoUpgradeOptions, com.google.container.v1beta1.AutoUpgradeOptions.Builder, com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder>( - getUpgradeOptions(), - getParentForChildren(), - isClean()); + upgradeOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AutoUpgradeOptions, + com.google.container.v1beta1.AutoUpgradeOptions.Builder, + com.google.container.v1beta1.AutoUpgradeOptionsOrBuilder>( + getUpgradeOptions(), getParentForChildren(), isClean()); upgradeOptions_ = null; } return upgradeOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -749,12 +835,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeManagement) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeManagement) private static final com.google.container.v1beta1.NodeManagement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeManagement(); } @@ -763,27 +849,27 @@ public static com.google.container.v1beta1.NodeManagement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeManagement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeManagement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -798,6 +884,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeManagement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java index e5dd0b1646d2..6588c33efa2a 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeManagementOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface NodeManagementOrBuilder extends +public interface NodeManagementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeManagement) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether the nodes will be automatically upgraded.
    * 
* * bool auto_upgrade = 1; + * * @return The autoUpgrade. */ boolean getAutoUpgrade(); /** + * + * *
    * Whether the nodes will be automatically repaired.
    * 
* * bool auto_repair = 2; + * * @return The autoRepair. */ boolean getAutoRepair(); /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; + * * @return Whether the upgradeOptions field is set. */ boolean hasUpgradeOptions(); /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
* * .google.container.v1beta1.AutoUpgradeOptions upgrade_options = 10; + * * @return The upgradeOptions. */ com.google.container.v1beta1.AutoUpgradeOptions getUpgradeOptions(); /** + * + * *
    * Specifies the Auto Upgrade knobs for the node pool.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java index 91ecb3a81c4e..f1f1d7e1f3ce 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Parameters for node pool-level network config.
  * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig} */ -public final class NodeNetworkConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodeNetworkConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeNetworkConfig) NodeNetworkConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodeNetworkConfig.newBuilder() to construct. private NodeNetworkConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NodeNetworkConfig() { podRange_ = ""; podIpv4CidrBlock_ = ""; @@ -26,108 +44,145 @@ private NodeNetworkConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodeNetworkConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.class, com.google.container.v1beta1.NodeNetworkConfig.Builder.class); + com.google.container.v1beta1.NodeNetworkConfig.class, + com.google.container.v1beta1.NodeNetworkConfig.Builder.class); } - public interface NetworkPerformanceConfigOrBuilder extends + public interface NetworkPerformanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return Whether the totalEgressBandwidthTier field is set. */ boolean hasTotalEgressBandwidthTier(); /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ int getTotalEgressBandwidthTierValue(); /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The totalEgressBandwidthTier. */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier(); /** + * + * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return Whether the externalIpEgressBandwidthTier field is set. */ boolean hasExternalIpEgressBandwidthTier(); /** + * + * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. */ int getExternalIpEgressBandwidthTierValue(); /** + * + * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return The externalIpEgressBandwidthTier. */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getExternalIpEgressBandwidthTier(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getExternalIpEgressBandwidthTier(); } /** + * + * *
    * Configuration of all network bandwidth tiers
    * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class NetworkPerformanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class NetworkPerformanceConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) NetworkPerformanceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NetworkPerformanceConfig.newBuilder() to construct. private NetworkPerformanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private NetworkPerformanceConfig() { totalEgressBandwidthTier_ = 0; externalIpEgressBandwidthTier_ = 0; @@ -135,39 +190,45 @@ private NetworkPerformanceConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NetworkPerformanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + .class); } /** + * + * *
      * Node network tier
      * 
* - * Protobuf enum {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} + * Protobuf enum {@code + * google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier} */ - public enum Tier - implements com.google.protobuf.ProtocolMessageEnum { + public enum Tier implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value
        * 
@@ -176,6 +237,8 @@ public enum Tier */ TIER_UNSPECIFIED(0), /** + * + * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -187,6 +250,8 @@ public enum Tier ; /** + * + * *
        * Default value
        * 
@@ -195,6 +260,8 @@ public enum Tier */ public static final int TIER_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Higher bandwidth, actual values based on VM size.
        * 
@@ -203,7 +270,6 @@ public enum Tier */ public static final int TIER_1_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -228,48 +294,50 @@ public static Tier valueOf(int value) { */ public static Tier forNumber(int value) { switch (value) { - case 0: return TIER_UNSPECIFIED; - case 1: return TIER_1; - default: return null; + case 0: + return TIER_UNSPECIFIED; + case 1: + return TIER_1; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Tier> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Tier findValueByNumber(int number) { - return Tier.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Tier findValueByNumber(int number) { + return Tier.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final Tier[] VALUES = values(); - public static Tier valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -290,83 +358,132 @@ private Tier(int value) { public static final int TOTAL_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 1; private int totalEgressBandwidthTier_; /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override public int getTotalEgressBandwidthTierValue() { + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** + * + * *
      * Specifies the total network bandwidth tier for the NodePool.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The totalEgressBandwidthTier. */ - @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); - return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; } public static final int EXTERNAL_IP_EGRESS_BANDWIDTH_TIER_FIELD_NUMBER = 2; private int externalIpEgressBandwidthTier_; /** + * + * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return Whether the externalIpEgressBandwidthTier field is set. */ - @java.lang.Override public boolean hasExternalIpEgressBandwidthTier() { + @java.lang.Override + public boolean hasExternalIpEgressBandwidthTier() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. */ - @java.lang.Override public int getExternalIpEgressBandwidthTierValue() { + @java.lang.Override + public int getExternalIpEgressBandwidthTierValue() { return externalIpEgressBandwidthTier_; } /** + * + * *
      * Specifies the network bandwidth tier for the NodePool for traffic to
      * external/public IP addresses.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return The externalIpEgressBandwidthTier. */ - @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getExternalIpEgressBandwidthTier() { + @java.lang.Override + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getExternalIpEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(externalIpEgressBandwidthTier_); - return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + externalIpEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,8 +495,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, totalEgressBandwidthTier_); } @@ -396,12 +512,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, totalEgressBandwidthTier_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, totalEgressBandwidthTier_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, externalIpEgressBandwidthTier_); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 2, externalIpEgressBandwidthTier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -411,18 +527,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig)) { + if (!(obj + instanceof com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other = (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) obj; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other = + (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) obj; if (hasTotalEgressBandwidthTier() != other.hasTotalEgressBandwidthTier()) return false; if (hasTotalEgressBandwidthTier()) { if (totalEgressBandwidthTier_ != other.totalEgressBandwidthTier_) return false; } - if (hasExternalIpEgressBandwidthTier() != other.hasExternalIpEgressBandwidthTier()) return false; + if (hasExternalIpEgressBandwidthTier() != other.hasExternalIpEgressBandwidthTier()) + return false; if (hasExternalIpEgressBandwidthTier()) { if (externalIpEgressBandwidthTier_ != other.externalIpEgressBandwidthTier_) return false; } @@ -451,87 +570,95 @@ public int hashCode() { } public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig 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.NodeNetworkConfig.NetworkPerformanceConfig + 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.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -541,39 +668,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration of all network bandwidth tiers
      * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder.class); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.class, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + .class); } - // Construct using com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -585,19 +716,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { - return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance(); + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { + return com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig build() { - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = buildPartial(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -605,8 +739,10 @@ public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig b } @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig buildPartial() { - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(this); + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + buildPartial() { + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig result = + new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -626,46 +762,54 @@ public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodeNetworkConfig.NetworkPerformanceConfig) { - return mergeFrom((com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig)other); + if (other + instanceof com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) { + return mergeFrom( + (com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other) { - if (other == com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig other) { + if (other + == com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) return this; if (other.hasTotalEgressBandwidthTier()) { setTotalEgressBandwidthTier(other.getTotalEgressBandwidthTier()); } @@ -698,22 +842,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - totalEgressBandwidthTier_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - externalIpEgressBandwidthTier_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + totalEgressBandwidthTier_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + externalIpEgressBandwidthTier_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -723,37 +870,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int totalEgressBandwidthTier_ = 0; /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return Whether the totalEgressBandwidthTier field is set. */ - @java.lang.Override public boolean hasTotalEgressBandwidthTier() { + @java.lang.Override + public boolean hasTotalEgressBandwidthTier() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The enum numeric value on the wire for totalEgressBandwidthTier. */ - @java.lang.Override public int getTotalEgressBandwidthTierValue() { + @java.lang.Override + public int getTotalEgressBandwidthTierValue() { return totalEgressBandwidthTier_; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @param value The enum numeric value on the wire for totalEgressBandwidthTier to set. * @return This builder for chaining. */ @@ -764,29 +929,46 @@ public Builder setTotalEgressBandwidthTierValue(int value) { return this; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return The totalEgressBandwidthTier. */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getTotalEgressBandwidthTier() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getTotalEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(totalEgressBandwidthTier_); - return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + totalEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @param value The totalEgressBandwidthTier to set. * @return This builder for chaining. */ - public Builder setTotalEgressBandwidthTier(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + public Builder setTotalEgressBandwidthTier( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { if (value == null) { throw new NullPointerException(); } @@ -796,11 +978,16 @@ public Builder setTotalEgressBandwidthTier(com.google.container.v1beta1.NodeNetw return this; } /** + * + * *
        * Specifies the total network bandwidth tier for the NodePool.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier total_egress_bandwidth_tier = 1; + * + * * @return This builder for chaining. */ public Builder clearTotalEgressBandwidthTier() { @@ -812,36 +999,53 @@ public Builder clearTotalEgressBandwidthTier() { private int externalIpEgressBandwidthTier_ = 0; /** + * + * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return Whether the externalIpEgressBandwidthTier field is set. */ - @java.lang.Override public boolean hasExternalIpEgressBandwidthTier() { + @java.lang.Override + public boolean hasExternalIpEgressBandwidthTier() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return The enum numeric value on the wire for externalIpEgressBandwidthTier. */ - @java.lang.Override public int getExternalIpEgressBandwidthTierValue() { + @java.lang.Override + public int getExternalIpEgressBandwidthTierValue() { return externalIpEgressBandwidthTier_; } /** + * + * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @param value The enum numeric value on the wire for externalIpEgressBandwidthTier to set. * @return This builder for chaining. */ @@ -852,31 +1056,48 @@ public Builder setExternalIpEgressBandwidthTierValue(int value) { return this; } /** + * + * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return The externalIpEgressBandwidthTier. */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier getExternalIpEgressBandwidthTier() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + getExternalIpEgressBandwidthTier() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf(externalIpEgressBandwidthTier_); - return result == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.UNRECOGNIZED : result; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier result = + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier.valueOf( + externalIpEgressBandwidthTier_); + return result == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier + .UNRECOGNIZED + : result; } /** + * + * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @param value The externalIpEgressBandwidthTier to set. * @return This builder for chaining. */ - public Builder setExternalIpEgressBandwidthTier(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { + public Builder setExternalIpEgressBandwidthTier( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier value) { if (value == null) { throw new NullPointerException(); } @@ -886,12 +1107,17 @@ public Builder setExternalIpEgressBandwidthTier(com.google.container.v1beta1.Nod return this; } /** + * + * *
        * Specifies the network bandwidth tier for the NodePool for traffic to
        * external/public IP addresses.
        * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Tier external_ip_egress_bandwidth_tier = 2; + * + * * @return This builder for chaining. */ public Builder clearExternalIpEgressBandwidthTier() { @@ -900,6 +1126,7 @@ public Builder clearExternalIpEgressBandwidthTier() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -912,41 +1139,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig) - private static final com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(); + DEFAULT_INSTANCE = + new com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig(); } - public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstance() { + public static com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NetworkPerformanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkPerformanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -958,16 +1189,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getDefaultInstanceForType() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int CREATE_POD_RANGE_FIELD_NUMBER = 4; private boolean createPodRange_; /** + * + * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -980,6 +1213,7 @@ public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig g
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The createPodRange. */ @java.lang.Override @@ -990,6 +1224,8 @@ public boolean getCreatePodRange() { public static final int POD_RANGE_FIELD_NUMBER = 5; private volatile java.lang.Object podRange_; /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -1000,6 +1236,7 @@ public boolean getCreatePodRange() {
    * 
* * string pod_range = 5; + * * @return The podRange. */ @java.lang.Override @@ -1008,14 +1245,15 @@ public java.lang.String getPodRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; } } /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -1026,16 +1264,15 @@ public java.lang.String getPodRange() {
    * 
* * string pod_range = 5; + * * @return The bytes for podRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getPodRangeBytes() { + public com.google.protobuf.ByteString getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podRange_ = b; return b; } else { @@ -1046,6 +1283,8 @@ public java.lang.String getPodRange() { public static final int POD_IPV4_CIDR_BLOCK_FIELD_NUMBER = 6; private volatile java.lang.Object podIpv4CidrBlock_; /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -1060,6 +1299,7 @@ public java.lang.String getPodRange() {
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The podIpv4CidrBlock. */ @java.lang.Override @@ -1068,14 +1308,15 @@ public java.lang.String getPodIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -1090,16 +1331,15 @@ public java.lang.String getPodIpv4CidrBlock() {
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The bytes for podIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -1110,6 +1350,8 @@ public java.lang.String getPodIpv4CidrBlock() { public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 9; private boolean enablePrivateNodes_; /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -1117,6 +1359,7 @@ public java.lang.String getPodIpv4CidrBlock() {
    * 
* * optional bool enable_private_nodes = 9; + * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -1124,6 +1367,8 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -1131,6 +1376,7 @@ public boolean hasEnablePrivateNodes() {
    * 
* * optional bool enable_private_nodes = 9; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -1139,13 +1385,19 @@ public boolean getEnablePrivateNodes() { } public static final int NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER = 11; - private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; + private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return Whether the networkPerformanceConfig field is set. */ @java.lang.Override @@ -1153,30 +1405,48 @@ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return The networkPerformanceConfig. */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { - return networkPerformanceConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; } /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ @java.lang.Override - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { - return networkPerformanceConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1188,8 +1458,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (createPodRange_ != false) { output.writeBool(4, createPodRange_); } @@ -1215,8 +1484,7 @@ public int getSerializedSize() { size = 0; if (createPodRange_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, createPodRange_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, createPodRange_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(podRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, podRange_); @@ -1225,12 +1493,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, podIpv4CidrBlock_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enablePrivateNodes_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getNetworkPerformanceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, getNetworkPerformanceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1240,28 +1508,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeNetworkConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodeNetworkConfig other = (com.google.container.v1beta1.NodeNetworkConfig) obj; + com.google.container.v1beta1.NodeNetworkConfig other = + (com.google.container.v1beta1.NodeNetworkConfig) obj; - if (getCreatePodRange() - != other.getCreatePodRange()) return false; - if (!getPodRange() - .equals(other.getPodRange())) return false; - if (!getPodIpv4CidrBlock() - .equals(other.getPodIpv4CidrBlock())) return false; + if (getCreatePodRange() != other.getCreatePodRange()) return false; + if (!getPodRange().equals(other.getPodRange())) return false; + if (!getPodIpv4CidrBlock().equals(other.getPodIpv4CidrBlock())) return false; if (hasEnablePrivateNodes() != other.hasEnablePrivateNodes()) return false; if (hasEnablePrivateNodes()) { - if (getEnablePrivateNodes() - != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; } if (hasNetworkPerformanceConfig() != other.hasNetworkPerformanceConfig()) return false; if (hasNetworkPerformanceConfig()) { - if (!getNetworkPerformanceConfig() - .equals(other.getNetworkPerformanceConfig())) return false; + if (!getNetworkPerformanceConfig().equals(other.getNetworkPerformanceConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1275,16 +1539,14 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CREATE_POD_RANGE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getCreatePodRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCreatePodRange()); hash = (37 * hash) + POD_RANGE_FIELD_NUMBER; hash = (53 * hash) + getPodRange().hashCode(); hash = (37 * hash) + POD_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getPodIpv4CidrBlock().hashCode(); if (hasEnablePrivateNodes()) { hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); } if (hasNetworkPerformanceConfig()) { hash = (37 * hash) + NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER; @@ -1295,118 +1557,127 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeNetworkConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( 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.NodeNetworkConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeNetworkConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeNetworkConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeNetworkConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeNetworkConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeNetworkConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Parameters for node pool-level network config.
    * 
* * Protobuf type {@code google.container.v1beta1.NodeNetworkConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeNetworkConfig) com.google.container.v1beta1.NodeNetworkConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodeNetworkConfig.class, com.google.container.v1beta1.NodeNetworkConfig.Builder.class); + com.google.container.v1beta1.NodeNetworkConfig.class, + com.google.container.v1beta1.NodeNetworkConfig.Builder.class); } // Construct using com.google.container.v1beta1.NodeNetworkConfig.newBuilder() @@ -1414,17 +1685,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getNetworkPerformanceConfigFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1446,9 +1717,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; } @java.lang.Override @@ -1467,7 +1738,8 @@ public com.google.container.v1beta1.NodeNetworkConfig build() { @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig buildPartial() { - com.google.container.v1beta1.NodeNetworkConfig result = new com.google.container.v1beta1.NodeNetworkConfig(this); + com.google.container.v1beta1.NodeNetworkConfig result = + new com.google.container.v1beta1.NodeNetworkConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.createPodRange_ = createPodRange_; @@ -1494,38 +1766,39 @@ public com.google.container.v1beta1.NodeNetworkConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodeNetworkConfig) { - return mergeFrom((com.google.container.v1beta1.NodeNetworkConfig)other); + return mergeFrom((com.google.container.v1beta1.NodeNetworkConfig) other); } else { super.mergeFrom(other); return this; @@ -1577,39 +1850,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 32: { - createPodRange_ = input.readBool(); + case 32: + { + createPodRange_ = input.readBool(); - break; - } // case 32 - case 42: { - podRange_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: + { + podRange_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: { - podIpv4CidrBlock_ = input.readStringRequireUtf8(); + break; + } // case 42 + case 50: + { + podIpv4CidrBlock_ = input.readStringRequireUtf8(); - break; - } // case 50 - case 72: { - enablePrivateNodes_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 72 - case 90: { - input.readMessage( - getNetworkPerformanceConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + case 72: + { + enablePrivateNodes_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 72 + case 90: + { + input.readMessage( + getNetworkPerformanceConfigFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1619,10 +1897,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean createPodRange_ ; + private boolean createPodRange_; /** + * + * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1635,6 +1916,7 @@ public Builder mergeFrom(
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The createPodRange. */ @java.lang.Override @@ -1642,6 +1924,8 @@ public boolean getCreatePodRange() { return createPodRange_; } /** + * + * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1654,16 +1938,19 @@ public boolean getCreatePodRange() {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The createPodRange to set. * @return This builder for chaining. */ public Builder setCreatePodRange(boolean value) { - + createPodRange_ = value; onChanged(); return this; } /** + * + * *
      * Input only. Whether to create a new range for pod IPs in this node pool.
      * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -1676,10 +1963,11 @@ public Builder setCreatePodRange(boolean value) {
      * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCreatePodRange() { - + createPodRange_ = false; onChanged(); return this; @@ -1687,6 +1975,8 @@ public Builder clearCreatePodRange() { private java.lang.Object podRange_ = ""; /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1697,13 +1987,13 @@ public Builder clearCreatePodRange() {
      * 
* * string pod_range = 5; + * * @return The podRange. */ public java.lang.String getPodRange() { java.lang.Object ref = podRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podRange_ = s; return s; @@ -1712,6 +2002,8 @@ public java.lang.String getPodRange() { } } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1722,15 +2014,14 @@ public java.lang.String getPodRange() {
      * 
* * string pod_range = 5; + * * @return The bytes for podRange. */ - public com.google.protobuf.ByteString - getPodRangeBytes() { + public com.google.protobuf.ByteString getPodRangeBytes() { java.lang.Object ref = podRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podRange_ = b; return b; } else { @@ -1738,6 +2029,8 @@ public java.lang.String getPodRange() { } } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1748,20 +2041,22 @@ public java.lang.String getPodRange() {
      * 
* * string pod_range = 5; + * * @param value The podRange to set. * @return This builder for chaining. */ - public Builder setPodRange( - java.lang.String value) { + public Builder setPodRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podRange_ = value; onChanged(); return this; } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1772,15 +2067,18 @@ public Builder setPodRange(
      * 
* * string pod_range = 5; + * * @return This builder for chaining. */ public Builder clearPodRange() { - + podRange_ = getDefaultInstance().getPodRange(); onChanged(); return this; } /** + * + * *
      * The ID of the secondary range for pod IPs.
      * If `create_pod_range` is true, this ID is used for the new range.
@@ -1791,16 +2089,16 @@ public Builder clearPodRange() {
      * 
* * string pod_range = 5; + * * @param value The bytes for podRange to set. * @return This builder for chaining. */ - public Builder setPodRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setPodRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podRange_ = value; onChanged(); return this; @@ -1808,6 +2106,8 @@ public Builder setPodRangeBytes( private java.lang.Object podIpv4CidrBlock_ = ""; /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1822,13 +2122,13 @@ public Builder setPodRangeBytes(
      * 
* * string pod_ipv4_cidr_block = 6; + * * @return The podIpv4CidrBlock. */ public java.lang.String getPodIpv4CidrBlock() { java.lang.Object ref = podIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); podIpv4CidrBlock_ = s; return s; @@ -1837,6 +2137,8 @@ public java.lang.String getPodIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1851,15 +2153,14 @@ public java.lang.String getPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; + * * @return The bytes for podIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getPodIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getPodIpv4CidrBlockBytes() { java.lang.Object ref = podIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); podIpv4CidrBlock_ = b; return b; } else { @@ -1867,6 +2168,8 @@ public java.lang.String getPodIpv4CidrBlock() { } } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1881,20 +2184,22 @@ public java.lang.String getPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; + * * @param value The podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlock( - java.lang.String value) { + public Builder setPodIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + podIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1909,15 +2214,18 @@ public Builder setPodIpv4CidrBlock(
      * 
* * string pod_ipv4_cidr_block = 6; + * * @return This builder for chaining. */ public Builder clearPodIpv4CidrBlock() { - + podIpv4CidrBlock_ = getDefaultInstance().getPodIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP address range for pod IPs in this node pool.
      * Only applicable if `create_pod_range` is true.
@@ -1932,23 +2240,25 @@ public Builder clearPodIpv4CidrBlock() {
      * 
* * string pod_ipv4_cidr_block = 6; + * * @param value The bytes for podIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setPodIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setPodIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + podIpv4CidrBlock_ = value; onChanged(); return this; } - private boolean enablePrivateNodes_ ; + private boolean enablePrivateNodes_; /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1956,6 +2266,7 @@ public Builder setPodIpv4CidrBlockBytes(
      * 
* * optional bool enable_private_nodes = 9; + * * @return Whether the enablePrivateNodes field is set. */ @java.lang.Override @@ -1963,6 +2274,8 @@ public boolean hasEnablePrivateNodes() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1970,6 +2283,7 @@ public boolean hasEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -1977,6 +2291,8 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -1984,6 +2300,7 @@ public boolean getEnablePrivateNodes() {
      * 
* * optional bool enable_private_nodes = 9; + * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ @@ -1994,6 +2311,8 @@ public Builder setEnablePrivateNodes(boolean value) { return this; } /** + * + * *
      * Whether nodes have internal IP addresses only.
      * If enable_private_nodes is not specified, then the value is derived from
@@ -2001,6 +2320,7 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * optional bool enable_private_nodes = 9; + * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { @@ -2010,43 +2330,66 @@ public Builder clearEnablePrivateNodes() { return this; } - private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig networkPerformanceConfig_; + private com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + networkPerformanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> networkPerformanceConfigBuilder_; + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + networkPerformanceConfigBuilder_; /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return Whether the networkPerformanceConfig field is set. */ public boolean hasNetworkPerformanceConfig() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return The networkPerformanceConfig. */ - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { - return networkPerformanceConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; } else { return networkPerformanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public Builder setNetworkPerformanceConfig(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder setNetworkPerformanceConfig( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2060,14 +2403,19 @@ public Builder setNetworkPerformanceConfig(com.google.container.v1beta1.NodeNetw return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ public Builder setNetworkPerformanceConfig( - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder builderForValue) { + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + builderForValue) { if (networkPerformanceConfigBuilder_ == null) { networkPerformanceConfig_ = builderForValue.build(); onChanged(); @@ -2078,19 +2426,29 @@ public Builder setNetworkPerformanceConfig( return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public Builder mergeNetworkPerformanceConfig(com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { + public Builder mergeNetworkPerformanceConfig( + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig value) { if (networkPerformanceConfigBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - networkPerformanceConfig_ != null && - networkPerformanceConfig_ != com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && networkPerformanceConfig_ != null + && networkPerformanceConfig_ + != com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance()) { networkPerformanceConfig_ = - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder(networkPerformanceConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.newBuilder( + networkPerformanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { networkPerformanceConfig_ = value; } @@ -2102,11 +2460,15 @@ public Builder mergeNetworkPerformanceConfig(com.google.container.v1beta1.NodeNe return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ public Builder clearNetworkPerformanceConfig() { if (networkPerformanceConfigBuilder_ == null) { @@ -2119,55 +2481,74 @@ public Builder clearNetworkPerformanceConfig() { return this; } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder + getNetworkPerformanceConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getNetworkPerformanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder() { + public com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder() { if (networkPerformanceConfigBuilder_ != null) { return networkPerformanceConfigBuilder_.getMessageOrBuilder(); } else { - return networkPerformanceConfig_ == null ? - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.getDefaultInstance() : networkPerformanceConfig_; + return networkPerformanceConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + .getDefaultInstance() + : networkPerformanceConfig_; } } /** + * + * *
      * Network bandwidth tier configuration.
      * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder> getNetworkPerformanceConfigFieldBuilder() { if (networkPerformanceConfigBuilder_ == null) { - networkPerformanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( - getNetworkPerformanceConfig(), - getParentForChildren(), - isClean()); + networkPerformanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder>( + getNetworkPerformanceConfig(), getParentForChildren(), isClean()); networkPerformanceConfig_ = null; } return networkPerformanceConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2177,12 +2558,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeNetworkConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeNetworkConfig) private static final com.google.container.v1beta1.NodeNetworkConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeNetworkConfig(); } @@ -2191,27 +2572,27 @@ public static com.google.container.v1beta1.NodeNetworkConfig getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeNetworkConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeNetworkConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2226,6 +2607,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeNetworkConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java index 061bb7d223a0..286fbca3a5b4 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeNetworkConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeNetworkConfigOrBuilder extends +public interface NodeNetworkConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeNetworkConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Input only. Whether to create a new range for pod IPs in this node pool.
    * Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
@@ -20,11 +38,14 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * bool create_pod_range = 4 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The createPodRange. */ boolean getCreatePodRange(); /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -35,10 +56,13 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_range = 5; + * * @return The podRange. */ java.lang.String getPodRange(); /** + * + * *
    * The ID of the secondary range for pod IPs.
    * If `create_pod_range` is true, this ID is used for the new range.
@@ -49,12 +73,14 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_range = 5; + * * @return The bytes for podRange. */ - com.google.protobuf.ByteString - getPodRangeBytes(); + com.google.protobuf.ByteString getPodRangeBytes(); /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -69,10 +95,13 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The podIpv4CidrBlock. */ java.lang.String getPodIpv4CidrBlock(); /** + * + * *
    * The IP address range for pod IPs in this node pool.
    * Only applicable if `create_pod_range` is true.
@@ -87,12 +116,14 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * string pod_ipv4_cidr_block = 6; + * * @return The bytes for podIpv4CidrBlock. */ - com.google.protobuf.ByteString - getPodIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getPodIpv4CidrBlockBytes(); /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -100,10 +131,13 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * optional bool enable_private_nodes = 9; + * * @return Whether the enablePrivateNodes field is set. */ boolean hasEnablePrivateNodes(); /** + * + * *
    * Whether nodes have internal IP addresses only.
    * If enable_private_nodes is not specified, then the value is derived from
@@ -111,34 +145,51 @@ public interface NodeNetworkConfigOrBuilder extends
    * 
* * optional bool enable_private_nodes = 9; + * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return Whether the networkPerformanceConfig field is set. */ boolean hasNetworkPerformanceConfig(); /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * * @return The networkPerformanceConfig. */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig getNetworkPerformanceConfig(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig + getNetworkPerformanceConfig(); /** + * + * *
    * Network bandwidth tier configuration.
    * 
* - * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * + * optional .google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfig network_performance_config = 11; + * */ - com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder(); + com.google.container.v1beta1.NodeNetworkConfig.NetworkPerformanceConfigOrBuilder + getNetworkPerformanceConfigOrBuilder(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 75% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePool.java index 07f63db8b035..138d0a05d9a4 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * NodePool contains the name and configuration for a cluster's node pool.
  * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -33,15 +50,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodePool}
  */
-public final class NodePool extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodePool extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool)
     NodePoolOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodePool.newBuilder() to construct.
   private NodePool(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodePool() {
     name_ = "";
     locations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -55,39 +73,43 @@ private NodePool() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodePool();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodePool_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodePool.class, com.google.container.v1beta1.NodePool.Builder.class);
+            com.google.container.v1beta1.NodePool.class,
+            com.google.container.v1beta1.NodePool.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * The current status of the node pool instance.
    * 
* * Protobuf enum {@code google.container.v1beta1.NodePool.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -96,6 +118,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -104,6 +128,8 @@ public enum Status */ PROVISIONING(1), /** + * + * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -113,6 +139,8 @@ public enum Status
      */
     RUNNING(2),
     /**
+     *
+     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -124,6 +152,8 @@ public enum Status
      */
     RUNNING_WITH_ERROR(3),
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -134,6 +164,8 @@ public enum Status
      */
     RECONCILING(4),
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -142,6 +174,8 @@ public enum Status */ STOPPING(5), /** + * + * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -154,6 +188,8 @@ public enum Status
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -162,6 +198,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The PROVISIONING state indicates the node pool is being created.
      * 
@@ -170,6 +208,8 @@ public enum Status */ public static final int PROVISIONING_VALUE = 1; /** + * + * *
      * The RUNNING state indicates the node pool has been created
      * and is fully usable.
@@ -179,6 +219,8 @@ public enum Status
      */
     public static final int RUNNING_VALUE = 2;
     /**
+     *
+     *
      * 
      * The RUNNING_WITH_ERROR state indicates the node pool has been created
      * and is partially usable. Some error state has occurred and some
@@ -190,6 +232,8 @@ public enum Status
      */
     public static final int RUNNING_WITH_ERROR_VALUE = 3;
     /**
+     *
+     *
      * 
      * The RECONCILING state indicates that some work is actively being done on
      * the node pool, such as upgrading node software. Details can
@@ -200,6 +244,8 @@ public enum Status
      */
     public static final int RECONCILING_VALUE = 4;
     /**
+     *
+     *
      * 
      * The STOPPING state indicates the node pool is being deleted.
      * 
@@ -208,6 +254,8 @@ public enum Status */ public static final int STOPPING_VALUE = 5; /** + * + * *
      * The ERROR state indicates the node pool may be unusable. Details
      * can be found in the `statusMessage` field.
@@ -217,7 +265,6 @@ public enum Status
      */
     public static final int ERROR_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -242,53 +289,57 @@ public static Status valueOf(int 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 RUNNING_WITH_ERROR;
-        case 4: return RECONCILING;
-        case 5: return STOPPING;
-        case 6: return ERROR;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATUS_UNSPECIFIED;
+        case 1:
+          return PROVISIONING;
+        case 2:
+          return RUNNING;
+        case 3:
+          return RUNNING_WITH_ERROR;
+        case 4:
+          return RECONCILING;
+        case 5:
+          return STOPPING;
+        case 6:
+          return ERROR;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Status> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Status findValueByNumber(int number) {
-              return Status.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.NodePool.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -305,22 +356,28 @@ private Status(int value) {
     // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodePool.Status)
   }
 
-  public interface UpgradeSettingsOrBuilder extends
+  public interface UpgradeSettingsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpgradeSettings)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; + * * @return The maxSurge. */ int getMaxSurge(); /** + * + * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -328,57 +385,75 @@ public interface UpgradeSettingsOrBuilder extends
      * 
* * int32 max_unavailable = 2; + * * @return The maxUnavailable. */ int getMaxUnavailable(); /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return Whether the strategy field is set. */ boolean hasStrategy(); /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return The enum numeric value on the wire for strategy. */ int getStrategyValue(); /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return The strategy. */ com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy(); /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * * @return Whether the blueGreenSettings field is set. */ boolean hasBlueGreenSettings(); /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * * @return The blueGreenSettings. */ com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings(); /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -388,6 +463,8 @@ public interface UpgradeSettingsOrBuilder extends com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder(); } /** + * + * *
    * These upgrade settings configure the upgrade strategy for the node pool.
    * Use strategy to switch between the strategies applied to the node pool.
@@ -413,54 +490,59 @@ public interface UpgradeSettingsOrBuilder extends
    *
    * Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings}
    */
-  public static final class UpgradeSettings extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class UpgradeSettings extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpgradeSettings)
       UpgradeSettingsOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use UpgradeSettings.newBuilder() to construct.
     private UpgradeSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private UpgradeSettings() {
       strategy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new UpgradeSettings();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePool.UpgradeSettings.class, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
+              com.google.container.v1beta1.NodePool.UpgradeSettings.class,
+              com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
     }
 
     private int bitField0_;
     public static final int MAX_SURGE_FIELD_NUMBER = 1;
     private int maxSurge_;
     /**
+     *
+     *
      * 
      * The maximum number of nodes that can be created beyond the current size
      * of the node pool during the upgrade process.
      * 
* * int32 max_surge = 1; + * * @return The maxSurge. */ @java.lang.Override @@ -471,6 +553,8 @@ public int getMaxSurge() { public static final int MAX_UNAVAILABLE_FIELD_NUMBER = 2; private int maxUnavailable_; /** + * + * *
      * The maximum number of nodes that can be simultaneously unavailable during
      * the upgrade process. A node is considered available if its status is
@@ -478,6 +562,7 @@ public int getMaxSurge() {
      * 
* * int32 max_unavailable = 2; + * * @return The maxUnavailable. */ @java.lang.Override @@ -488,49 +573,67 @@ public int getMaxUnavailable() { public static final int STRATEGY_FIELD_NUMBER = 3; private int strategy_; /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return Whether the strategy field is set. */ - @java.lang.Override public boolean hasStrategy() { + @java.lang.Override + public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override public int getStrategyValue() { + @java.lang.Override + public int getStrategyValue() { return strategy_; } /** + * + * *
      * Update strategy of the node pool.
      * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return The strategy. */ - @java.lang.Override public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { + @java.lang.Override + public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolUpdateStrategy result = com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); - return result == null ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePoolUpdateStrategy result = + com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null + ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED + : result; } public static final int BLUE_GREEN_SETTINGS_FIELD_NUMBER = 4; private com.google.container.v1beta1.BlueGreenSettings blueGreenSettings_; /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * * @return Whether the blueGreenSettings field is set. */ @java.lang.Override @@ -538,18 +641,25 @@ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * * @return The blueGreenSettings. */ @java.lang.Override public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { - return blueGreenSettings_ == null ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } /** + * + * *
      * Settings for blue-green upgrade strategy.
      * 
@@ -558,10 +668,13 @@ public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { */ @java.lang.Override public com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { - return blueGreenSettings_ == null ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -573,8 +686,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxSurge_ != 0) { output.writeInt32(1, maxSurge_); } @@ -597,20 +709,16 @@ public int getSerializedSize() { size = 0; if (maxSurge_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, maxSurge_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxSurge_); } if (maxUnavailable_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, maxUnavailable_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxUnavailable_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, strategy_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, strategy_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getBlueGreenSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getBlueGreenSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -620,25 +728,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.UpgradeSettings)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.UpgradeSettings other = (com.google.container.v1beta1.NodePool.UpgradeSettings) obj; + com.google.container.v1beta1.NodePool.UpgradeSettings other = + (com.google.container.v1beta1.NodePool.UpgradeSettings) obj; - if (getMaxSurge() - != other.getMaxSurge()) return false; - if (getMaxUnavailable() - != other.getMaxUnavailable()) return false; + if (getMaxSurge() != other.getMaxSurge()) return false; + if (getMaxUnavailable() != other.getMaxUnavailable()) return false; if (hasStrategy() != other.hasStrategy()) return false; if (hasStrategy()) { if (strategy_ != other.strategy_) return false; } if (hasBlueGreenSettings() != other.hasBlueGreenSettings()) return false; if (hasBlueGreenSettings()) { - if (!getBlueGreenSettings() - .equals(other.getBlueGreenSettings())) return false; + if (!getBlueGreenSettings().equals(other.getBlueGreenSettings())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -669,87 +775,94 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpgradeSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( 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.NodePool.UpgradeSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpgradeSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpgradeSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePool.UpgradeSettings prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.NodePool.UpgradeSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -759,6 +872,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * These upgrade settings configure the upgrade strategy for the node pool.
      * Use strategy to switch between the strategies applied to the node pool.
@@ -784,21 +899,24 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1beta1.NodePool.UpgradeSettings}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpgradeSettings)
         com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1beta1.NodePool.UpgradeSettings.class, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
+                com.google.container.v1beta1.NodePool.UpgradeSettings.class,
+                com.google.container.v1beta1.NodePool.UpgradeSettings.Builder.class);
       }
 
       // Construct using com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder()
@@ -806,17 +924,17 @@ private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getBlueGreenSettingsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -836,9 +954,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor;
       }
 
       @java.lang.Override
@@ -857,7 +975,8 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings build() {
 
       @java.lang.Override
       public com.google.container.v1beta1.NodePool.UpgradeSettings buildPartial() {
-        com.google.container.v1beta1.NodePool.UpgradeSettings result = new com.google.container.v1beta1.NodePool.UpgradeSettings(this);
+        com.google.container.v1beta1.NodePool.UpgradeSettings result =
+            new com.google.container.v1beta1.NodePool.UpgradeSettings(this);
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         result.maxSurge_ = maxSurge_;
@@ -883,38 +1002,41 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.UpgradeSettings) {
-          return mergeFrom((com.google.container.v1beta1.NodePool.UpgradeSettings)other);
+          return mergeFrom((com.google.container.v1beta1.NodePool.UpgradeSettings) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -922,7 +1044,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpgradeSettings other) {
-        if (other == com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance()) return this;
+        if (other == com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance())
+          return this;
         if (other.getMaxSurge() != 0) {
           setMaxSurge(other.getMaxSurge());
         }
@@ -961,34 +1084,38 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                maxSurge_ = input.readInt32();
+              case 8:
+                {
+                  maxSurge_ = input.readInt32();
 
-                break;
-              } // case 8
-              case 16: {
-                maxUnavailable_ = input.readInt32();
+                  break;
+                } // case 8
+              case 16:
+                {
+                  maxUnavailable_ = input.readInt32();
 
-                break;
-              } // case 16
-              case 24: {
-                strategy_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 24
-              case 34: {
-                input.readMessage(
-                    getBlueGreenSettingsFieldBuilder().getBuilder(),
-                    extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 16
+              case 24:
+                {
+                  strategy_ = input.readEnum();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 24
+              case 34:
+                {
+                  input.readMessage(
+                      getBlueGreenSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                  bitField0_ |= 0x00000002;
+                  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) {
@@ -998,16 +1125,20 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private int maxSurge_ ;
+      private int maxSurge_;
       /**
+       *
+       *
        * 
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; + * * @return The maxSurge. */ @java.lang.Override @@ -1015,39 +1146,47 @@ public int getMaxSurge() { return maxSurge_; } /** + * + * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; + * * @param value The maxSurge to set. * @return This builder for chaining. */ public Builder setMaxSurge(int value) { - + maxSurge_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of nodes that can be created beyond the current size
        * of the node pool during the upgrade process.
        * 
* * int32 max_surge = 1; + * * @return This builder for chaining. */ public Builder clearMaxSurge() { - + maxSurge_ = 0; onChanged(); return this; } - private int maxUnavailable_ ; + private int maxUnavailable_; /** + * + * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1055,6 +1194,7 @@ public Builder clearMaxSurge() {
        * 
* * int32 max_unavailable = 2; + * * @return The maxUnavailable. */ @java.lang.Override @@ -1062,6 +1202,8 @@ public int getMaxUnavailable() { return maxUnavailable_; } /** + * + * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1069,16 +1211,19 @@ public int getMaxUnavailable() {
        * 
* * int32 max_unavailable = 2; + * * @param value The maxUnavailable to set. * @return This builder for chaining. */ public Builder setMaxUnavailable(int value) { - + maxUnavailable_ = value; onChanged(); return this; } /** + * + * *
        * The maximum number of nodes that can be simultaneously unavailable during
        * the upgrade process. A node is considered available if its status is
@@ -1086,10 +1231,11 @@ public Builder setMaxUnavailable(int value) {
        * 
* * int32 max_unavailable = 2; + * * @return This builder for chaining. */ public Builder clearMaxUnavailable() { - + maxUnavailable_ = 0; onChanged(); return this; @@ -1097,33 +1243,44 @@ public Builder clearMaxUnavailable() { private int strategy_ = 0; /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return Whether the strategy field is set. */ - @java.lang.Override public boolean hasStrategy() { + @java.lang.Override + public boolean hasStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return The enum numeric value on the wire for strategy. */ - @java.lang.Override public int getStrategyValue() { + @java.lang.Override + public int getStrategyValue() { return strategy_; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @param value The enum numeric value on the wire for strategy to set. * @return This builder for chaining. */ @@ -1134,25 +1291,34 @@ public Builder setStrategyValue(int value) { return this; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return The strategy. */ @java.lang.Override public com.google.container.v1beta1.NodePoolUpdateStrategy getStrategy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolUpdateStrategy result = com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); - return result == null ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePoolUpdateStrategy result = + com.google.container.v1beta1.NodePoolUpdateStrategy.valueOf(strategy_); + return result == null + ? com.google.container.v1beta1.NodePoolUpdateStrategy.UNRECOGNIZED + : result; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @param value The strategy to set. * @return This builder for chaining. */ @@ -1166,11 +1332,14 @@ public Builder setStrategy(com.google.container.v1beta1.NodePoolUpdateStrategy v return this; } /** + * + * *
        * Update strategy of the node pool.
        * 
* * optional .google.container.v1beta1.NodePoolUpdateStrategy strategy = 3; + * * @return This builder for chaining. */ public Builder clearStrategy() { @@ -1182,34 +1351,47 @@ public Builder clearStrategy() { private com.google.container.v1beta1.BlueGreenSettings blueGreenSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings, com.google.container.v1beta1.BlueGreenSettings.Builder, com.google.container.v1beta1.BlueGreenSettingsOrBuilder> blueGreenSettingsBuilder_; + com.google.container.v1beta1.BlueGreenSettings, + com.google.container.v1beta1.BlueGreenSettings.Builder, + com.google.container.v1beta1.BlueGreenSettingsOrBuilder> + blueGreenSettingsBuilder_; /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * * @return Whether the blueGreenSettings field is set. */ public boolean hasBlueGreenSettings() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; + * * @return The blueGreenSettings. */ public com.google.container.v1beta1.BlueGreenSettings getBlueGreenSettings() { if (blueGreenSettingsBuilder_ == null) { - return blueGreenSettings_ == null ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } else { return blueGreenSettingsBuilder_.getMessage(); } } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1230,6 +1412,8 @@ public Builder setBlueGreenSettings(com.google.container.v1beta1.BlueGreenSettin return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1248,6 +1432,8 @@ public Builder setBlueGreenSettings( return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1256,11 +1442,14 @@ public Builder setBlueGreenSettings( */ public Builder mergeBlueGreenSettings(com.google.container.v1beta1.BlueGreenSettings value) { if (blueGreenSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - blueGreenSettings_ != null && - blueGreenSettings_ != com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && blueGreenSettings_ != null + && blueGreenSettings_ + != com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance()) { blueGreenSettings_ = - com.google.container.v1beta1.BlueGreenSettings.newBuilder(blueGreenSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.BlueGreenSettings.newBuilder(blueGreenSettings_) + .mergeFrom(value) + .buildPartial(); } else { blueGreenSettings_ = value; } @@ -1272,6 +1461,8 @@ public Builder mergeBlueGreenSettings(com.google.container.v1beta1.BlueGreenSett return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1289,6 +1480,8 @@ public Builder clearBlueGreenSettings() { return this; } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1301,21 +1494,27 @@ public com.google.container.v1beta1.BlueGreenSettings.Builder getBlueGreenSettin return getBlueGreenSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
* * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; */ - public com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSettingsOrBuilder() { + public com.google.container.v1beta1.BlueGreenSettingsOrBuilder + getBlueGreenSettingsOrBuilder() { if (blueGreenSettingsBuilder_ != null) { return blueGreenSettingsBuilder_.getMessageOrBuilder(); } else { - return blueGreenSettings_ == null ? - com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() : blueGreenSettings_; + return blueGreenSettings_ == null + ? com.google.container.v1beta1.BlueGreenSettings.getDefaultInstance() + : blueGreenSettings_; } } /** + * + * *
        * Settings for blue-green upgrade strategy.
        * 
@@ -1323,18 +1522,22 @@ public com.google.container.v1beta1.BlueGreenSettingsOrBuilder getBlueGreenSetti * optional .google.container.v1beta1.BlueGreenSettings blue_green_settings = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings, com.google.container.v1beta1.BlueGreenSettings.Builder, com.google.container.v1beta1.BlueGreenSettingsOrBuilder> + com.google.container.v1beta1.BlueGreenSettings, + com.google.container.v1beta1.BlueGreenSettings.Builder, + com.google.container.v1beta1.BlueGreenSettingsOrBuilder> getBlueGreenSettingsFieldBuilder() { if (blueGreenSettingsBuilder_ == null) { - blueGreenSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.BlueGreenSettings, com.google.container.v1beta1.BlueGreenSettings.Builder, com.google.container.v1beta1.BlueGreenSettingsOrBuilder>( - getBlueGreenSettings(), - getParentForChildren(), - isClean()); + blueGreenSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.BlueGreenSettings, + com.google.container.v1beta1.BlueGreenSettings.Builder, + com.google.container.v1beta1.BlueGreenSettingsOrBuilder>( + getBlueGreenSettings(), getParentForChildren(), isClean()); blueGreenSettings_ = null; } return blueGreenSettingsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1347,12 +1550,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpgradeSettings) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpgradeSettings) private static final com.google.container.v1beta1.NodePool.UpgradeSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpgradeSettings(); } @@ -1361,27 +1564,28 @@ public static com.google.container.v1beta1.NodePool.UpgradeSettings getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1396,41 +1600,52 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool.UpgradeSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface UpdateInfoOrBuilder extends + public interface UpdateInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpdateInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return Whether the blueGreenInfo field is set. */ boolean hasBlueGreenInfo(); /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return The blueGreenInfo. */ com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo(); /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder(); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder(); } /** + * + * *
    * UpdateInfo contains resource (instance groups, etc), status and other
    * intermediate information relevant to a node pool upgrade.
@@ -1438,67 +1653,77 @@ public interface UpdateInfoOrBuilder extends
    *
    * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo}
    */
-  public static final class UpdateInfo extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class UpdateInfo extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpdateInfo)
       UpdateInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use UpdateInfo.newBuilder() to construct.
     private UpdateInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private UpdateInfo() {
-    }
+
+    private UpdateInfo() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new UpdateInfo();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePool.UpdateInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
+              com.google.container.v1beta1.NodePool.UpdateInfo.class,
+              com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
     }
 
-    public interface BlueGreenInfoOrBuilder extends
+    public interface BlueGreenInfoOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The enum numeric value on the wire for phase. */ int getPhaseValue(); /** + * + * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The phase. */ com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1506,11 +1731,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return A list containing the blueInstanceGroupUrls. */ - java.util.List - getBlueInstanceGroupUrlsList(); + java.util.List getBlueInstanceGroupUrlsList(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1518,10 +1745,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return The count of blueInstanceGroupUrls. */ int getBlueInstanceGroupUrlsCount(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1529,11 +1759,14 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ java.lang.String getBlueInstanceGroupUrls(int index); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1541,13 +1774,15 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString - getBlueInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1555,11 +1790,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @return A list containing the greenInstanceGroupUrls. */ - java.util.List - getGreenInstanceGroupUrlsList(); + java.util.List getGreenInstanceGroupUrlsList(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1567,10 +1804,13 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @return The count of greenInstanceGroupUrls. */ int getGreenInstanceGroupUrlsCount(); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1578,11 +1818,14 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ java.lang.String getGreenInstanceGroupUrls(int index); /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1590,70 +1833,83 @@ public interface BlueGreenInfoOrBuilder extends
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - com.google.protobuf.ByteString - getGreenInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index); /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bluePoolDeletionStartTime. */ java.lang.String getBluePoolDeletionStartTime(); /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bytes for bluePoolDeletionStartTime. */ - com.google.protobuf.ByteString - getBluePoolDeletionStartTimeBytes(); + com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes(); /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The greenPoolVersion. */ java.lang.String getGreenPoolVersion(); /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The bytes for greenPoolVersion. */ - com.google.protobuf.ByteString - getGreenPoolVersionBytes(); + com.google.protobuf.ByteString getGreenPoolVersionBytes(); } /** + * + * *
      * Information relevant to blue-green upgrade.
      * 
* * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class BlueGreenInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BlueGreenInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) BlueGreenInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BlueGreenInfo.newBuilder() to construct. private BlueGreenInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BlueGreenInfo() { phase_ = 0; blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1664,39 +1920,43 @@ private BlueGreenInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BlueGreenInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } /** + * + * *
        * Phase represents the different stages blue-green upgrade is running in.
        * 
* * Protobuf enum {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase} */ - public enum Phase - implements com.google.protobuf.ProtocolMessageEnum { + public enum Phase implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
          * Unspecified phase.
          * 
@@ -1705,6 +1965,8 @@ public enum Phase */ PHASE_UNSPECIFIED(0), /** + * + * *
          * blue-green upgrade has been initiated.
          * 
@@ -1713,6 +1975,8 @@ public enum Phase */ UPDATE_STARTED(1), /** + * + * *
          * Start creating green pool nodes.
          * 
@@ -1721,6 +1985,8 @@ public enum Phase */ CREATING_GREEN_POOL(2), /** + * + * *
          * Start cordoning blue pool nodes.
          * 
@@ -1729,6 +1995,8 @@ public enum Phase */ CORDONING_BLUE_POOL(3), /** + * + * *
          * Start draining blue pool nodes.
          * 
@@ -1737,6 +2005,8 @@ public enum Phase */ DRAINING_BLUE_POOL(4), /** + * + * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -1745,6 +2015,8 @@ public enum Phase */ NODE_POOL_SOAKING(5), /** + * + * *
          * Start deleting blue nodes.
          * 
@@ -1753,6 +2025,8 @@ public enum Phase */ DELETING_BLUE_POOL(6), /** + * + * *
          * Rollback has been initiated.
          * 
@@ -1764,6 +2038,8 @@ public enum Phase ; /** + * + * *
          * Unspecified phase.
          * 
@@ -1772,6 +2048,8 @@ public enum Phase */ public static final int PHASE_UNSPECIFIED_VALUE = 0; /** + * + * *
          * blue-green upgrade has been initiated.
          * 
@@ -1780,6 +2058,8 @@ public enum Phase */ public static final int UPDATE_STARTED_VALUE = 1; /** + * + * *
          * Start creating green pool nodes.
          * 
@@ -1788,6 +2068,8 @@ public enum Phase */ public static final int CREATING_GREEN_POOL_VALUE = 2; /** + * + * *
          * Start cordoning blue pool nodes.
          * 
@@ -1796,6 +2078,8 @@ public enum Phase */ public static final int CORDONING_BLUE_POOL_VALUE = 3; /** + * + * *
          * Start draining blue pool nodes.
          * 
@@ -1804,6 +2088,8 @@ public enum Phase */ public static final int DRAINING_BLUE_POOL_VALUE = 4; /** + * + * *
          * Start soaking time after draining entire blue pool.
          * 
@@ -1812,6 +2098,8 @@ public enum Phase */ public static final int NODE_POOL_SOAKING_VALUE = 5; /** + * + * *
          * Start deleting blue nodes.
          * 
@@ -1820,6 +2108,8 @@ public enum Phase */ public static final int DELETING_BLUE_POOL_VALUE = 6; /** + * + * *
          * Rollback has been initiated.
          * 
@@ -1828,7 +2118,6 @@ public enum Phase */ public static final int ROLLBACK_STARTED_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1853,54 +2142,62 @@ public static Phase valueOf(int value) { */ public static Phase forNumber(int value) { switch (value) { - case 0: return PHASE_UNSPECIFIED; - case 1: return UPDATE_STARTED; - case 2: return CREATING_GREEN_POOL; - case 3: return CORDONING_BLUE_POOL; - case 4: return DRAINING_BLUE_POOL; - case 5: return NODE_POOL_SOAKING; - case 6: return DELETING_BLUE_POOL; - case 7: return ROLLBACK_STARTED; - default: return null; + case 0: + return PHASE_UNSPECIFIED; + case 1: + return UPDATE_STARTED; + case 2: + return CREATING_GREEN_POOL; + case 3: + return CORDONING_BLUE_POOL; + case 4: + return DRAINING_BLUE_POOL; + case 5: + return NODE_POOL_SOAKING; + case 6: + return DELETING_BLUE_POOL; + case 7: + return ROLLBACK_STARTED; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Phase> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Phase findValueByNumber(int number) { - return Phase.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Phase findValueByNumber(int number) { + return Phase.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDescriptor() + .getEnumTypes() + .get(0); } private static final Phase[] VALUES = values(); - public static Phase valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Phase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1920,33 +2217,46 @@ private Phase(int value) { public static final int PHASE_FIELD_NUMBER = 1; private int phase_; /** + * + * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override public int getPhaseValue() { + @java.lang.Override + public int getPhaseValue() { return phase_; } /** + * + * *
        * Current blue-green upgrade phase.
        * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The phase. */ - @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { + @java.lang.Override + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; } public static final int BLUE_INSTANCE_GROUP_URLS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList blueInstanceGroupUrls_; /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1954,13 +2264,15 @@ private Phase(int value) {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_; } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1968,12 +2280,15 @@ private Phase(int value) {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1981,6 +2296,7 @@ public int getBlueInstanceGroupUrlsCount() {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -1988,6 +2304,8 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -1995,17 +2313,19 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } public static final int GREEN_INSTANCE_GROUP_URLS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList greenInstanceGroupUrls_; /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2013,13 +2333,15 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; + * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_; } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2027,12 +2349,15 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; + * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2040,6 +2365,7 @@ public int getGreenInstanceGroupUrlsCount() {
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -2047,6 +2373,8 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** + * + * *
        * The resource URLs of the [managed instance groups]
        * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2054,23 +2382,26 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
        * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } public static final int BLUE_POOL_DELETION_START_TIME_FIELD_NUMBER = 4; private volatile java.lang.Object bluePoolDeletionStartTime_; /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bluePoolDeletionStartTime. */ @java.lang.Override @@ -2079,30 +2410,30 @@ public java.lang.String getBluePoolDeletionStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; } } /** + * + * *
        * Time to start deleting blue pool to complete blue-green upgrade,
        * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
        * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bytes for bluePoolDeletionStartTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -2113,11 +2444,14 @@ public java.lang.String getBluePoolDeletionStartTime() { public static final int GREEN_POOL_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object greenPoolVersion_; /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The greenPoolVersion. */ @java.lang.Override @@ -2126,29 +2460,29 @@ public java.lang.String getGreenPoolVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; } } /** + * + * *
        * Version of green pool.
        * 
* * string green_pool_version = 5; + * * @return The bytes for greenPoolVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -2157,6 +2491,7 @@ public java.lang.String getGreenPoolVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2168,16 +2503,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (phase_ != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (phase_ + != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase + .PHASE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, phase_); } for (int i = 0; i < blueInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, blueInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 2, blueInstanceGroupUrls_.getRaw(i)); } for (int i = 0; i < greenInstanceGroupUrls_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, greenInstanceGroupUrls_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, greenInstanceGroupUrls_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, bluePoolDeletionStartTime_); @@ -2194,9 +2533,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (phase_ != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.PHASE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, phase_); + if (phase_ + != com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase + .PHASE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, phase_); } { int dataSize = 0; @@ -2215,7 +2556,9 @@ public int getSerializedSize() { size += 1 * getGreenInstanceGroupUrlsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bluePoolDeletionStartTime_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, bluePoolDeletionStartTime_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 4, bluePoolDeletionStartTime_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(greenPoolVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, greenPoolVersion_); @@ -2228,22 +2571,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other = (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) obj; + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other = + (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) obj; if (phase_ != other.phase_) return false; - if (!getBlueInstanceGroupUrlsList() - .equals(other.getBlueInstanceGroupUrlsList())) return false; - if (!getGreenInstanceGroupUrlsList() - .equals(other.getGreenInstanceGroupUrlsList())) return false; - if (!getBluePoolDeletionStartTime() - .equals(other.getBluePoolDeletionStartTime())) return false; - if (!getGreenPoolVersion() - .equals(other.getGreenPoolVersion())) return false; + if (!getBlueInstanceGroupUrlsList().equals(other.getBlueInstanceGroupUrlsList())) + return false; + if (!getGreenInstanceGroupUrlsList().equals(other.getGreenInstanceGroupUrlsList())) + return false; + if (!getBluePoolDeletionStartTime().equals(other.getBluePoolDeletionStartTime())) + return false; + if (!getGreenPoolVersion().equals(other.getGreenPoolVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2275,87 +2618,96 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo 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.NodePool.UpdateInfo.BlueGreenInfo + 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.NodePool.UpdateInfo.BlueGreenInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2365,39 +2717,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Information relevant to blue-green upgrade.
        * 
* * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.class, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder.class); } - // Construct using com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2415,14 +2770,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; } @java.lang.Override - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { - return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance(); + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstanceForType() { + return com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + .getDefaultInstance(); } @java.lang.Override @@ -2436,7 +2793,8 @@ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo build() { @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo buildPartial() { - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo result = new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(this); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo result = + new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(this); int from_bitField0_ = bitField0_; result.phase_ = phase_; if (((bitField0_ & 0x00000001) != 0)) { @@ -2459,46 +2817,53 @@ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.UpdateInfo.BlueGreenInfo) { - return mergeFrom((com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo)other); + return mergeFrom( + (com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other) { - if (other == com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo other) { + if (other + == com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + .getDefaultInstance()) return this; if (other.phase_ != 0) { setPhaseValue(other.getPhaseValue()); } @@ -2556,39 +2921,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - phase_ = input.readEnum(); - - break; - } // case 8 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureBlueInstanceGroupUrlsIsMutable(); - blueInstanceGroupUrls_.add(s); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureGreenInstanceGroupUrlsIsMutable(); - greenInstanceGroupUrls_.add(s); - break; - } // case 26 - case 34: { - bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - greenPoolVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + phase_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureBlueInstanceGroupUrlsIsMutable(); + blueInstanceGroupUrls_.add(s); + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureGreenInstanceGroupUrlsIsMutable(); + greenInstanceGroupUrls_.add(s); + break; + } // case 26 + case 34: + { + bluePoolDeletionStartTime_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + greenPoolVersion_ = input.readStringRequireUtf8(); + + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2598,90 +2969,116 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int phase_ = 0; /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The enum numeric value on the wire for phase. */ - @java.lang.Override public int getPhaseValue() { + @java.lang.Override + public int getPhaseValue() { return phase_; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @param value The enum numeric value on the wire for phase to set. * @return This builder for chaining. */ public Builder setPhaseValue(int value) { - + phase_ = value; onChanged(); return this; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return The phase. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase getPhase() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); - return result == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase result = + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.valueOf(phase_); + return result == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase.UNRECOGNIZED + : result; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @param value The phase to set. * @return This builder for chaining. */ - public Builder setPhase(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { + public Builder setPhase( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase value) { if (value == null) { throw new NullPointerException(); } - + phase_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Current blue-green upgrade phase.
          * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Phase phase = 1; + * * @return This builder for chaining. */ public Builder clearPhase() { - + phase_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList blueInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBlueInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - blueInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); + blueInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(blueInstanceGroupUrls_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2689,13 +3086,15 @@ private void ensureBlueInstanceGroupUrlsIsMutable() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @return A list containing the blueInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getBlueInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getBlueInstanceGroupUrlsList() { return blueInstanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2703,12 +3102,15 @@ private void ensureBlueInstanceGroupUrlsIsMutable() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @return The count of blueInstanceGroupUrls. */ public int getBlueInstanceGroupUrlsCount() { return blueInstanceGroupUrls_.size(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2716,6 +3118,7 @@ public int getBlueInstanceGroupUrlsCount() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the element to return. * @return The blueInstanceGroupUrls at the given index. */ @@ -2723,6 +3126,8 @@ public java.lang.String getBlueInstanceGroupUrls(int index) { return blueInstanceGroupUrls_.get(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2730,14 +3135,16 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index of the value to return. * @return The bytes of the blueInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getBlueInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getBlueInstanceGroupUrlsBytes(int index) { return blueInstanceGroupUrls_.getByteString(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2745,21 +3152,23 @@ public java.lang.String getBlueInstanceGroupUrls(int index) {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param index The index to set the value at. * @param value The blueInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setBlueInstanceGroupUrls( - int index, java.lang.String value) { + public Builder setBlueInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2767,20 +3176,22 @@ public Builder setBlueInstanceGroupUrls(
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param value The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrls( - java.lang.String value) { + public Builder addBlueInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBlueInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2788,25 +3199,27 @@ public Builder addBlueInstanceGroupUrls(
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param values The blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllBlueInstanceGroupUrls( - java.lang.Iterable values) { + public Builder addAllBlueInstanceGroupUrls(java.lang.Iterable values) { ensureBlueInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, blueInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, blueInstanceGroupUrls_); onChanged(); return this; } /** - *
+         *
+         *
+         * 
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
          * associated with blue pool.
          * 
* * repeated string blue_instance_group_urls = 2; + * * @return This builder for chaining. */ public Builder clearBlueInstanceGroupUrls() { @@ -2816,6 +3229,8 @@ public Builder clearBlueInstanceGroupUrls() { return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2823,29 +3238,34 @@ public Builder clearBlueInstanceGroupUrls() {
          * 
* * repeated string blue_instance_group_urls = 2; + * * @param value The bytes of the blueInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addBlueInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addBlueInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBlueInstanceGroupUrlsIsMutable(); blueInstanceGroupUrls_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList greenInstanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureGreenInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - greenInstanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); + greenInstanceGroupUrls_ = + new com.google.protobuf.LazyStringArrayList(greenInstanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2853,13 +3273,15 @@ private void ensureGreenInstanceGroupUrlsIsMutable() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @return A list containing the greenInstanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getGreenInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getGreenInstanceGroupUrlsList() { return greenInstanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2867,12 +3289,15 @@ private void ensureGreenInstanceGroupUrlsIsMutable() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @return The count of greenInstanceGroupUrls. */ public int getGreenInstanceGroupUrlsCount() { return greenInstanceGroupUrls_.size(); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2880,6 +3305,7 @@ public int getGreenInstanceGroupUrlsCount() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the element to return. * @return The greenInstanceGroupUrls at the given index. */ @@ -2887,6 +3313,8 @@ public java.lang.String getGreenInstanceGroupUrls(int index) { return greenInstanceGroupUrls_.get(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2894,14 +3322,16 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index of the value to return. * @return The bytes of the greenInstanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getGreenInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getGreenInstanceGroupUrlsBytes(int index) { return greenInstanceGroupUrls_.getByteString(index); } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2909,21 +3339,23 @@ public java.lang.String getGreenInstanceGroupUrls(int index) {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param index The index to set the value at. * @param value The greenInstanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setGreenInstanceGroupUrls( - int index, java.lang.String value) { + public Builder setGreenInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2931,20 +3363,22 @@ public Builder setGreenInstanceGroupUrls(
          * 
* * repeated string green_instance_group_urls = 3; + * * @param value The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrls( - java.lang.String value) { + public Builder addGreenInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureGreenInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2952,18 +3386,19 @@ public Builder addGreenInstanceGroupUrls(
          * 
* * repeated string green_instance_group_urls = 3; + * * @param values The greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllGreenInstanceGroupUrls( - java.lang.Iterable values) { + public Builder addAllGreenInstanceGroupUrls(java.lang.Iterable values) { ensureGreenInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, greenInstanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, greenInstanceGroupUrls_); onChanged(); return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2971,6 +3406,7 @@ public Builder addAllGreenInstanceGroupUrls(
          * 
* * repeated string green_instance_group_urls = 3; + * * @return This builder for chaining. */ public Builder clearGreenInstanceGroupUrls() { @@ -2980,6 +3416,8 @@ public Builder clearGreenInstanceGroupUrls() { return this; } /** + * + * *
          * The resource URLs of the [managed instance groups]
          * (/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -2987,15 +3425,15 @@ public Builder clearGreenInstanceGroupUrls() {
          * 
* * repeated string green_instance_group_urls = 3; + * * @param value The bytes of the greenInstanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addGreenInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addGreenInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureGreenInstanceGroupUrlsIsMutable(); greenInstanceGroupUrls_.add(value); onChanged(); @@ -3004,19 +3442,21 @@ public Builder addGreenInstanceGroupUrlsBytes( private java.lang.Object bluePoolDeletionStartTime_ = ""; /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bluePoolDeletionStartTime. */ public java.lang.String getBluePoolDeletionStartTime() { java.lang.Object ref = bluePoolDeletionStartTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bluePoolDeletionStartTime_ = s; return s; @@ -3025,21 +3465,22 @@ public java.lang.String getBluePoolDeletionStartTime() { } } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @return The bytes for bluePoolDeletionStartTime. */ - public com.google.protobuf.ByteString - getBluePoolDeletionStartTimeBytes() { + public com.google.protobuf.ByteString getBluePoolDeletionStartTimeBytes() { java.lang.Object ref = bluePoolDeletionStartTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bluePoolDeletionStartTime_ = b; return b; } else { @@ -3047,57 +3488,64 @@ public java.lang.String getBluePoolDeletionStartTime() { } } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @param value The bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTime( - java.lang.String value) { + public Builder setBluePoolDeletionStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bluePoolDeletionStartTime_ = value; onChanged(); return this; } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @return This builder for chaining. */ public Builder clearBluePoolDeletionStartTime() { - + bluePoolDeletionStartTime_ = getDefaultInstance().getBluePoolDeletionStartTime(); onChanged(); return this; } /** + * + * *
          * Time to start deleting blue pool to complete blue-green upgrade,
          * in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
          * 
* * string blue_pool_deletion_start_time = 4; + * * @param value The bytes for bluePoolDeletionStartTime to set. * @return This builder for chaining. */ - public Builder setBluePoolDeletionStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setBluePoolDeletionStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bluePoolDeletionStartTime_ = value; onChanged(); return this; @@ -3105,18 +3553,20 @@ public Builder setBluePoolDeletionStartTimeBytes( private java.lang.Object greenPoolVersion_ = ""; /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @return The greenPoolVersion. */ public java.lang.String getGreenPoolVersion() { java.lang.Object ref = greenPoolVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); greenPoolVersion_ = s; return s; @@ -3125,20 +3575,21 @@ public java.lang.String getGreenPoolVersion() { } } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @return The bytes for greenPoolVersion. */ - public com.google.protobuf.ByteString - getGreenPoolVersionBytes() { + public com.google.protobuf.ByteString getGreenPoolVersionBytes() { java.lang.Object ref = greenPoolVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); greenPoolVersion_ = b; return b; } else { @@ -3146,58 +3597,66 @@ public java.lang.String getGreenPoolVersion() { } } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @param value The greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersion( - java.lang.String value) { + public Builder setGreenPoolVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + greenPoolVersion_ = value; onChanged(); return this; } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @return This builder for chaining. */ public Builder clearGreenPoolVersion() { - + greenPoolVersion_ = getDefaultInstance().getGreenPoolVersion(); onChanged(); return this; } /** + * + * *
          * Version of green pool.
          * 
* * string green_pool_version = 5; + * * @param value The bytes for greenPoolVersion to set. * @return This builder for chaining. */ - public Builder setGreenPoolVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setGreenPoolVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + greenPoolVersion_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3210,41 +3669,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo) - private static final com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo(); } - public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstance() { + public static com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BlueGreenInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BlueGreenInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3256,20 +3718,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getDefaultInstanceForType() { + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BLUE_GREEN_INFO_FIELD_NUMBER = 1; private com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_; /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return Whether the blueGreenInfo field is set. */ @java.lang.Override @@ -3277,18 +3742,25 @@ public boolean hasBlueGreenInfo() { return blueGreenInfo_ != null; } /** + * + * *
      * Information of a blue-green upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * * @return The blueGreenInfo. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { - return blueGreenInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; + return blueGreenInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; } /** + * + * *
      * Information of a blue-green upgrade.
      * 
@@ -3296,11 +3768,13 @@ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGre * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { return getBlueGreenInfo(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3312,8 +3786,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (blueGreenInfo_ != null) { output.writeMessage(1, getBlueGreenInfo()); } @@ -3327,8 +3800,7 @@ public int getSerializedSize() { size = 0; if (blueGreenInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBlueGreenInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBlueGreenInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3338,17 +3810,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.UpdateInfo)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.UpdateInfo other = (com.google.container.v1beta1.NodePool.UpdateInfo) obj; + com.google.container.v1beta1.NodePool.UpdateInfo other = + (com.google.container.v1beta1.NodePool.UpdateInfo) obj; if (hasBlueGreenInfo() != other.hasBlueGreenInfo()) return false; if (hasBlueGreenInfo()) { - if (!getBlueGreenInfo() - .equals(other.getBlueGreenInfo())) return false; + if (!getBlueGreenInfo().equals(other.getBlueGreenInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3371,87 +3843,93 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.UpdateInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( 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.NodePool.UpdateInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.UpdateInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.UpdateInfo parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpdateInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.UpdateInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodePool.UpdateInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3461,6 +3939,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * UpdateInfo contains resource (instance groups, etc), status and other
      * intermediate information relevant to a node pool upgrade.
@@ -3468,33 +3948,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1beta1.NodePool.UpdateInfo}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.UpdateInfo)
         com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1beta1.NodePool.UpdateInfo.class, com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
+                com.google.container.v1beta1.NodePool.UpdateInfo.class,
+                com.google.container.v1beta1.NodePool.UpdateInfo.Builder.class);
       }
 
       // Construct using com.google.container.v1beta1.NodePool.UpdateInfo.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3508,9 +3988,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor;
       }
 
       @java.lang.Override
@@ -3529,7 +4009,8 @@ public com.google.container.v1beta1.NodePool.UpdateInfo build() {
 
       @java.lang.Override
       public com.google.container.v1beta1.NodePool.UpdateInfo buildPartial() {
-        com.google.container.v1beta1.NodePool.UpdateInfo result = new com.google.container.v1beta1.NodePool.UpdateInfo(this);
+        com.google.container.v1beta1.NodePool.UpdateInfo result =
+            new com.google.container.v1beta1.NodePool.UpdateInfo(this);
         if (blueGreenInfoBuilder_ == null) {
           result.blueGreenInfo_ = blueGreenInfo_;
         } else {
@@ -3543,38 +4024,41 @@ public com.google.container.v1beta1.NodePool.UpdateInfo buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.UpdateInfo) {
-          return mergeFrom((com.google.container.v1beta1.NodePool.UpdateInfo)other);
+          return mergeFrom((com.google.container.v1beta1.NodePool.UpdateInfo) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3582,7 +4066,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1beta1.NodePool.UpdateInfo other) {
-        if (other == com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance()) return this;
+        if (other == com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance())
+          return this;
         if (other.hasBlueGreenInfo()) {
           mergeBlueGreenInfo(other.getBlueGreenInfo());
         }
@@ -3612,19 +4097,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getBlueGreenInfoFieldBuilder().getBuilder(),
-                    extensionRegistry);
+              case 10:
+                {
+                  input.readMessage(getBlueGreenInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  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) {
@@ -3637,41 +4122,58 @@ public Builder mergeFrom(
 
       private com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blueGreenInfo_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> blueGreenInfoBuilder_;
+              com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo,
+              com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder,
+              com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>
+          blueGreenInfoBuilder_;
       /**
+       *
+       *
        * 
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * * @return Whether the blueGreenInfo field is set. */ public boolean hasBlueGreenInfo() { return blueGreenInfoBuilder_ != null || blueGreenInfo_ != null; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * + * * @return The blueGreenInfo. */ public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo getBlueGreenInfo() { if (blueGreenInfoBuilder_ == null) { - return blueGreenInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; + return blueGreenInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; } else { return blueGreenInfoBuilder_.getMessage(); } } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public Builder setBlueGreenInfo(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder setBlueGreenInfo( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3685,11 +4187,14 @@ public Builder setBlueGreenInfo(com.google.container.v1beta1.NodePool.UpdateInfo return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ public Builder setBlueGreenInfo( com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder builderForValue) { @@ -3703,17 +4208,24 @@ public Builder setBlueGreenInfo( return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public Builder mergeBlueGreenInfo(com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { + public Builder mergeBlueGreenInfo( + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo value) { if (blueGreenInfoBuilder_ == null) { if (blueGreenInfo_ != null) { blueGreenInfo_ = - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder(blueGreenInfo_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.newBuilder( + blueGreenInfo_) + .mergeFrom(value) + .buildPartial(); } else { blueGreenInfo_ = value; } @@ -3725,11 +4237,14 @@ public Builder mergeBlueGreenInfo(com.google.container.v1beta1.NodePool.UpdateIn return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ public Builder clearBlueGreenInfo() { if (blueGreenInfoBuilder_ == null) { @@ -3743,52 +4258,68 @@ public Builder clearBlueGreenInfo() { return this; } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder getBlueGreenInfoBuilder() { - + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder + getBlueGreenInfoBuilder() { + onChanged(); return getBlueGreenInfoFieldBuilder().getBuilder(); } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ - public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder getBlueGreenInfoOrBuilder() { + public com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder + getBlueGreenInfoOrBuilder() { if (blueGreenInfoBuilder_ != null) { return blueGreenInfoBuilder_.getMessageOrBuilder(); } else { - return blueGreenInfo_ == null ? - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() : blueGreenInfo_; + return blueGreenInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.getDefaultInstance() + : blueGreenInfo_; } } /** + * + * *
        * Information of a blue-green upgrade.
        * 
* - * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * .google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo blue_green_info = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder> getBlueGreenInfoFieldBuilder() { if (blueGreenInfoBuilder_ == null) { - blueGreenInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( - getBlueGreenInfo(), - getParentForChildren(), - isClean()); + blueGreenInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfo.BlueGreenInfoOrBuilder>( + getBlueGreenInfo(), getParentForChildren(), isClean()); blueGreenInfo_ = null; } return blueGreenInfoBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3801,12 +4332,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.UpdateInfo) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.UpdateInfo) private static final com.google.container.v1beta1.NodePool.UpdateInfo DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.UpdateInfo(); } @@ -3815,27 +4346,28 @@ public static com.google.container.v1beta1.NodePool.UpdateInfo getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3850,87 +4382,100 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool.UpdateInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface PlacementPolicyOrBuilder extends + public interface PlacementPolicyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool.PlacementPolicy) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @return The type. */ com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType(); } /** + * + * *
    * PlacementPolicy defines the placement policy used by the node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.NodePool.PlacementPolicy} */ - public static final class PlacementPolicy extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PlacementPolicy extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePool.PlacementPolicy) PlacementPolicyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PlacementPolicy.newBuilder() to construct. private PlacementPolicy(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PlacementPolicy() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PlacementPolicy(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.PlacementPolicy.class, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1beta1.NodePool.PlacementPolicy.class, + com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); } /** + * + * *
      * Type defines the type of placement policy.
      * 
* * Protobuf enum {@code google.container.v1beta1.NodePool.PlacementPolicy.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -3940,6 +4485,8 @@ public enum Type
        */
       TYPE_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -3952,6 +4499,8 @@ public enum Type
       ;
 
       /**
+       *
+       *
        * 
        * TYPE_UNSPECIFIED specifies no requirements on nodes
        * placement.
@@ -3961,6 +4510,8 @@ public enum Type
        */
       public static final int TYPE_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * COMPACT specifies node placement in the same availability domain to
        * ensure low communication latency.
@@ -3970,7 +4521,6 @@ public enum Type
        */
       public static final int COMPACT_VALUE = 1;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -3995,48 +4545,49 @@ public static Type valueOf(int value) {
        */
       public static Type forNumber(int value) {
         switch (value) {
-          case 0: return TYPE_UNSPECIFIED;
-          case 1: return COMPACT;
-          default: return null;
+          case 0:
+            return TYPE_UNSPECIFIED;
+          case 1:
+            return COMPACT;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          Type> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public Type findValueByNumber(int number) {
-                return Type.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public 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() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.container.v1beta1.NodePool.PlacementPolicy.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.container.v1beta1.NodePool.PlacementPolicy.getDescriptor()
+            .getEnumTypes()
+            .get(0);
       }
 
       private static final Type[] VALUES = values();
 
-      public static Type valueOf(
-          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      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.");
+          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -4056,31 +4607,43 @@ private Type(int value) {
     public static final int TYPE_FIELD_NUMBER = 1;
     private int type_;
     /**
+     *
+     *
      * 
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of placement.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @return The type. */ - @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType() { + @java.lang.Override + public com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = + com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null + ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4092,9 +4655,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } getUnknownFields().writeTo(output); @@ -4106,9 +4670,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.container.v1beta1.NodePool.PlacementPolicy.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -4118,12 +4683,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool.PlacementPolicy)) { return super.equals(obj); } - com.google.container.v1beta1.NodePool.PlacementPolicy other = (com.google.container.v1beta1.NodePool.PlacementPolicy) obj; + com.google.container.v1beta1.NodePool.PlacementPolicy other = + (com.google.container.v1beta1.NodePool.PlacementPolicy) obj; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -4145,87 +4711,94 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool.PlacementPolicy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( 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.NodePool.PlacementPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePool.PlacementPolicy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool.PlacementPolicy parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NodePool.PlacementPolicy prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.NodePool.PlacementPolicy prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4235,39 +4808,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * PlacementPolicy defines the placement policy used by the node pool.
      * 
* * Protobuf type {@code google.container.v1beta1.NodePool.PlacementPolicy} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool.PlacementPolicy) com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePool.PlacementPolicy.class, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); + com.google.container.v1beta1.NodePool.PlacementPolicy.class, + com.google.container.v1beta1.NodePool.PlacementPolicy.Builder.class); } // Construct using com.google.container.v1beta1.NodePool.PlacementPolicy.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4277,9 +4852,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; } @java.lang.Override @@ -4298,7 +4873,8 @@ public com.google.container.v1beta1.NodePool.PlacementPolicy build() { @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy buildPartial() { - com.google.container.v1beta1.NodePool.PlacementPolicy result = new com.google.container.v1beta1.NodePool.PlacementPolicy(this); + com.google.container.v1beta1.NodePool.PlacementPolicy result = + new com.google.container.v1beta1.NodePool.PlacementPolicy(this); result.type_ = type_; onBuilt(); return result; @@ -4308,38 +4884,41 @@ public com.google.container.v1beta1.NodePool.PlacementPolicy buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NodePool.PlacementPolicy) { - return mergeFrom((com.google.container.v1beta1.NodePool.PlacementPolicy)other); + return mergeFrom((com.google.container.v1beta1.NodePool.PlacementPolicy) other); } else { super.mergeFrom(other); return this; @@ -4347,7 +4926,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NodePool.PlacementPolicy other) { - if (other == com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -4377,17 +4957,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - type_ = input.readEnum(); + case 8: + { + type_ = input.readEnum(); - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4400,51 +4982,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @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; onChanged(); return this; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); - return result == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePool.PlacementPolicy.Type result = + com.google.container.v1beta1.NodePool.PlacementPolicy.Type.valueOf(type_); + return result == null + ? com.google.container.v1beta1.NodePool.PlacementPolicy.Type.UNRECOGNIZED + : result; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -4452,25 +5050,29 @@ public Builder setType(com.google.container.v1beta1.NodePool.PlacementPolicy.Typ if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The type of placement.
        * 
* * .google.container.v1beta1.NodePool.PlacementPolicy.Type type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4483,12 +5085,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool.PlacementPolicy) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool.PlacementPolicy) private static final com.google.container.v1beta1.NodePool.PlacementPolicy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool.PlacementPolicy(); } @@ -4497,27 +5099,28 @@ public static com.google.container.v1beta1.NodePool.PlacementPolicy getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PlacementPolicy parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlacementPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4532,17 +5135,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool.PlacementPolicy getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -4551,29 +5156,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4584,11 +5189,14 @@ public java.lang.String getName() { public static final int CONFIG_FIELD_NUMBER = 2; private com.google.container.v1beta1.NodeConfig config_; /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; + * * @return Whether the config field is set. */ @java.lang.Override @@ -4596,11 +5204,14 @@ public boolean hasConfig() { return config_ != null; } /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; + * * @return The config. */ @java.lang.Override @@ -4608,6 +5219,8 @@ public com.google.container.v1beta1.NodeConfig getConfig() { return config_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : config_; } /** + * + * *
    * The node configuration of the pool.
    * 
@@ -4622,6 +5235,8 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() { public static final int INITIAL_NODE_COUNT_FIELD_NUMBER = 3; private int initialNodeCount_; /** + * + * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -4630,6 +5245,7 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() {
    * 
* * int32 initial_node_count = 3; + * * @return The initialNodeCount. */ @java.lang.Override @@ -4640,6 +5256,8 @@ public int getInitialNodeCount() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4652,13 +5270,15 @@ public int getInitialNodeCount() {
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4671,12 +5291,15 @@ public int getInitialNodeCount() {
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4689,6 +5312,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -4696,6 +5320,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -4708,23 +5334,26 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NETWORK_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.NodeNetworkConfig networkConfig_; /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; + * * @return Whether the networkConfig field is set. */ @java.lang.Override @@ -4732,19 +5361,26 @@ public boolean hasNetworkConfig() { return networkConfig_ != null; } /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; + * * @return The networkConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig getNetworkConfig() { - return networkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : networkConfig_; } /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -4760,11 +5396,14 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
   public static final int SELF_LINK_FIELD_NUMBER = 100;
   private volatile java.lang.Object selfLink_;
   /**
+   *
+   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ @java.lang.Override @@ -4773,29 +5412,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -4806,11 +5445,14 @@ public java.lang.String getSelfLink() { public static final int VERSION_FIELD_NUMBER = 101; private volatile java.lang.Object version_; /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The version. */ @java.lang.Override @@ -4819,29 +5461,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -4852,6 +5494,8 @@ public java.lang.String getVersion() { public static final int INSTANCE_GROUP_URLS_FIELD_NUMBER = 102; private com.google.protobuf.LazyStringList instanceGroupUrls_; /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4861,13 +5505,15 @@ public java.lang.String getVersion() {
    * 
* * repeated string instance_group_urls = 102; + * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_; } /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4877,12 +5523,15 @@ public java.lang.String getVersion() {
    * 
* * repeated string instance_group_urls = 102; + * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4892,6 +5541,7 @@ public int getInstanceGroupUrlsCount() {
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -4899,6 +5549,8 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -4908,44 +5560,55 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } public static final int STATUS_FIELD_NUMBER = 103; private int status_; /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @return The status. */ - @java.lang.Override public com.google.container.v1beta1.NodePool.Status getStatus() { + @java.lang.Override + public com.google.container.v1beta1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.Status result = com.google.container.v1beta1.NodePool.Status.valueOf(status_); + com.google.container.v1beta1.NodePool.Status result = + com.google.container.v1beta1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.NodePool.Status.UNRECOGNIZED : result; } public static final int STATUS_MESSAGE_FIELD_NUMBER = 104; private volatile java.lang.Object statusMessage_; /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -4953,24 +5616,27 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -4978,18 +5644,18 @@ public java.lang.String getInstanceGroupUrls(int index) {
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -5000,12 +5666,15 @@ public java.lang.String getInstanceGroupUrls(int index) { public static final int AUTOSCALING_FIELD_NUMBER = 4; private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -5013,19 +5682,26 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; + * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -5041,11 +5717,14 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
   public static final int MANAGEMENT_FIELD_NUMBER = 5;
   private com.google.container.v1beta1.NodeManagement management_;
   /**
+   *
+   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; + * * @return Whether the management field is set. */ @java.lang.Override @@ -5053,18 +5732,25 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; + * * @return The management. */ @java.lang.Override public com.google.container.v1beta1.NodeManagement getManagement() { - return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -5079,12 +5765,15 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild public static final int MAX_PODS_CONSTRAINT_FIELD_NUMBER = 6; private com.google.container.v1beta1.MaxPodsConstraint maxPodsConstraint_; /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; + * * @return Whether the maxPodsConstraint field is set. */ @java.lang.Override @@ -5092,19 +5781,26 @@ public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; + * * @return The maxPodsConstraint. */ @java.lang.Override public com.google.container.v1beta1.MaxPodsConstraint getMaxPodsConstraint() { - return maxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -5120,6 +5816,8 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstra
   public static final int CONDITIONS_FIELD_NUMBER = 105;
   private java.util.List conditions_;
   /**
+   *
+   *
    * 
    * Which conditions caused the current node pool state.
    * 
@@ -5131,6 +5829,8 @@ public java.util.List getCondition return conditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5138,11 +5838,13 @@ public java.util.List getCondition * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5154,6 +5856,8 @@ public int getConditionsCount() { return conditions_.size(); } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5165,6 +5869,8 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { return conditions_.get(index); } /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -5172,19 +5878,21 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ @java.lang.Override - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { return conditions_.get(index); } public static final int POD_IPV4_CIDR_SIZE_FIELD_NUMBER = 7; private int podIpv4CidrSize_; /** + * + * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -5195,11 +5903,14 @@ public int getPodIpv4CidrSize() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 107; private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -5207,18 +5918,25 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -5226,18 +5944,22 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings( * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder + getUpgradeSettingsOrBuilder() { return getUpgradeSettings(); } public static final int PLACEMENT_POLICY_FIELD_NUMBER = 108; private com.google.container.v1beta1.NodePool.PlacementPolicy placementPolicy_; /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; + * * @return Whether the placementPolicy field is set. */ @java.lang.Override @@ -5245,18 +5967,25 @@ public boolean hasPlacementPolicy() { return placementPolicy_ != null; } /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; + * * @return The placementPolicy. */ @java.lang.Override public com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy() { - return placementPolicy_ == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; + return placementPolicy_ == null + ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() + : placementPolicy_; } /** + * + * *
    * Specifies the node placement policy.
    * 
@@ -5264,19 +5993,25 @@ public com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy( * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder() { + public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder + getPlacementPolicyOrBuilder() { return getPlacementPolicy(); } public static final int UPDATE_INFO_FIELD_NUMBER = 109; private com.google.container.v1beta1.NodePool.UpdateInfo updateInfo_; /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateInfo field is set. */ @java.lang.Override @@ -5284,25 +6019,36 @@ public boolean hasUpdateInfo() { return updateInfo_ != null; } /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateInfo. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo() { - return updateInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; + return updateInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; } /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { @@ -5310,6 +6056,7 @@ public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5321,8 +6068,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -5390,28 +6136,22 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (config_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConfig()); } if (initialNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, initialNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, initialNodeCount_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAutoscaling()); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); } if (maxPodsConstraint_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMaxPodsConstraint()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMaxPodsConstraint()); } if (podIpv4CidrSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, podIpv4CidrSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, podIpv4CidrSize_); } { int dataSize = 0; @@ -5422,8 +6162,7 @@ public int getSerializedSize() { size += 1 * getLocationsList().size(); } if (networkConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getNetworkConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getNetworkConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selfLink_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(100, selfLink_); @@ -5440,27 +6179,22 @@ public int getSerializedSize() { size += 2 * getInstanceGroupUrlsList().size(); } if (status_ != com.google.container.v1beta1.NodePool.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(103, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(103, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(104, statusMessage_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(105, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(105, conditions_.get(i)); } if (upgradeSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(107, getUpgradeSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(107, getUpgradeSettings()); } if (placementPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(108, getPlacementPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(108, getPlacementPolicy()); } if (updateInfo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(109, getUpdateInfo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(109, getUpdateInfo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5470,71 +6204,54 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePool)) { return super.equals(obj); } com.google.container.v1beta1.NodePool other = (com.google.container.v1beta1.NodePool) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { - if (!getConfig() - .equals(other.getConfig())) return false; + if (!getConfig().equals(other.getConfig())) return false; } - if (getInitialNodeCount() - != other.getInitialNodeCount()) return false; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; + if (getInitialNodeCount() != other.getInitialNodeCount()) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; if (hasNetworkConfig() != other.hasNetworkConfig()) return false; if (hasNetworkConfig()) { - if (!getNetworkConfig() - .equals(other.getNetworkConfig())) return false; - } - if (!getSelfLink() - .equals(other.getSelfLink())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getInstanceGroupUrlsList() - .equals(other.getInstanceGroupUrlsList())) return false; + if (!getNetworkConfig().equals(other.getNetworkConfig())) return false; + } + if (!getSelfLink().equals(other.getSelfLink())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getInstanceGroupUrlsList().equals(other.getInstanceGroupUrlsList())) return false; if (status_ != other.status_) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling() - .equals(other.getAutoscaling())) return false; + if (!getAutoscaling().equals(other.getAutoscaling())) return false; } if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; + if (!getManagement().equals(other.getManagement())) return false; } if (hasMaxPodsConstraint() != other.hasMaxPodsConstraint()) return false; if (hasMaxPodsConstraint()) { - if (!getMaxPodsConstraint() - .equals(other.getMaxPodsConstraint())) return false; + if (!getMaxPodsConstraint().equals(other.getMaxPodsConstraint())) return false; } - if (!getConditionsList() - .equals(other.getConditionsList())) return false; - if (getPodIpv4CidrSize() - != other.getPodIpv4CidrSize()) return false; + if (!getConditionsList().equals(other.getConditionsList())) return false; + if (getPodIpv4CidrSize() != other.getPodIpv4CidrSize()) return false; if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false; if (hasUpgradeSettings()) { - if (!getUpgradeSettings() - .equals(other.getUpgradeSettings())) return false; + if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false; } if (hasPlacementPolicy() != other.hasPlacementPolicy()) return false; if (hasPlacementPolicy()) { - if (!getPlacementPolicy() - .equals(other.getPlacementPolicy())) return false; + if (!getPlacementPolicy().equals(other.getPlacementPolicy())) return false; } if (hasUpdateInfo() != other.hasUpdateInfo()) return false; if (hasUpdateInfo()) { - if (!getUpdateInfo() - .equals(other.getUpdateInfo())) return false; + if (!getUpdateInfo().equals(other.getUpdateInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -5610,97 +6327,103 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodePool parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodePool parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePool parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.container.v1beta1.NodePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool parseFrom( 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.NodePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePool parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodePool parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePool parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePool parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePool parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodePool prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodePool contains the name and configuration for a cluster's node pool.
    * Node pools are a set of nodes (i.e. VM's), with a common configuration and
@@ -5730,33 +6453,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodePool}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePool)
       com.google.container.v1beta1.NodePoolOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePool_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePool_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePool.class, com.google.container.v1beta1.NodePool.Builder.class);
+              com.google.container.v1beta1.NodePool.class,
+              com.google.container.v1beta1.NodePool.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodePool.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5837,9 +6559,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePool_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePool_descriptor;
     }
 
     @java.lang.Override
@@ -5858,7 +6580,8 @@ public com.google.container.v1beta1.NodePool build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodePool buildPartial() {
-      com.google.container.v1beta1.NodePool result = new com.google.container.v1beta1.NodePool(this);
+      com.google.container.v1beta1.NodePool result =
+          new com.google.container.v1beta1.NodePool(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (configBuilder_ == null) {
@@ -5934,38 +6657,39 @@ public com.google.container.v1beta1.NodePool buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodePool) {
-        return mergeFrom((com.google.container.v1beta1.NodePool)other);
+        return mergeFrom((com.google.container.v1beta1.NodePool) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -6049,9 +6773,10 @@ public Builder mergeFrom(com.google.container.v1beta1.NodePool other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            conditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getConditionsFieldBuilder() : null;
+            conditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getConditionsFieldBuilder()
+                    : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -6095,128 +6820,131 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 24: {
-              initialNodeCount_ = input.readInt32();
+                break;
+              } // case 18
+            case 24:
+              {
+                initialNodeCount_ = input.readInt32();
 
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getAutoscalingFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getManagementFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getMaxPodsConstraintFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(
+                    getMaxPodsConstraintFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 50
-            case 56: {
-              podIpv4CidrSize_ = input.readInt32();
+                break;
+              } // case 50
+            case 56:
+              {
+                podIpv4CidrSize_ = input.readInt32();
 
-              break;
-            } // case 56
-            case 106: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureLocationsIsMutable();
-              locations_.add(s);
-              break;
-            } // case 106
-            case 114: {
-              input.readMessage(
-                  getNetworkConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 56
+            case 106:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureLocationsIsMutable();
+                locations_.add(s);
+                break;
+              } // case 106
+            case 114:
+              {
+                input.readMessage(getNetworkConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 114
-            case 802: {
-              selfLink_ = input.readStringRequireUtf8();
+                break;
+              } // case 114
+            case 802:
+              {
+                selfLink_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 802
-            case 810: {
-              version_ = input.readStringRequireUtf8();
+                break;
+              } // case 802
+            case 810:
+              {
+                version_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 810
-            case 818: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureInstanceGroupUrlsIsMutable();
-              instanceGroupUrls_.add(s);
-              break;
-            } // case 818
-            case 824: {
-              status_ = input.readEnum();
+                break;
+              } // case 810
+            case 818:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureInstanceGroupUrlsIsMutable();
+                instanceGroupUrls_.add(s);
+                break;
+              } // case 818
+            case 824:
+              {
+                status_ = input.readEnum();
 
-              break;
-            } // case 824
-            case 834: {
-              statusMessage_ = input.readStringRequireUtf8();
+                break;
+              } // case 824
+            case 834:
+              {
+                statusMessage_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 834
-            case 842: {
-              com.google.container.v1beta1.StatusCondition m =
-                  input.readMessage(
-                      com.google.container.v1beta1.StatusCondition.parser(),
-                      extensionRegistry);
-              if (conditionsBuilder_ == null) {
-                ensureConditionsIsMutable();
-                conditions_.add(m);
-              } else {
-                conditionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 842
-            case 858: {
-              input.readMessage(
-                  getUpgradeSettingsFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 834
+            case 842:
+              {
+                com.google.container.v1beta1.StatusCondition m =
+                    input.readMessage(
+                        com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry);
+                if (conditionsBuilder_ == null) {
+                  ensureConditionsIsMutable();
+                  conditions_.add(m);
+                } else {
+                  conditionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 842
+            case 858:
+              {
+                input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 858
-            case 866: {
-              input.readMessage(
-                  getPlacementPolicyFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 858
+            case 866:
+              {
+                input.readMessage(getPlacementPolicyFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 866
-            case 874: {
-              input.readMessage(
-                  getUpdateInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 866
+            case 874:
+              {
+                input.readMessage(getUpdateInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 874
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 874
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6226,22 +6954,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the node pool.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6250,20 +6981,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6271,54 +7003,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the node pool.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -6326,34 +7065,47 @@ public Builder setNameBytes( private com.google.container.v1beta1.NodeConfig config_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> configBuilder_; + com.google.container.v1beta1.NodeConfig, + com.google.container.v1beta1.NodeConfig.Builder, + com.google.container.v1beta1.NodeConfigOrBuilder> + configBuilder_; /** + * + * *
      * The node configuration of the pool.
      * 
* * .google.container.v1beta1.NodeConfig config = 2; + * * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** + * + * *
      * The node configuration of the pool.
      * 
* * .google.container.v1beta1.NodeConfig config = 2; + * * @return The config. */ public com.google.container.v1beta1.NodeConfig getConfig() { if (configBuilder_ == null) { - return config_ == null ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() + : config_; } else { return configBuilder_.getMessage(); } } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6374,14 +7126,15 @@ public Builder setConfig(com.google.container.v1beta1.NodeConfig value) { return this; } /** + * + * *
      * The node configuration of the pool.
      * 
* * .google.container.v1beta1.NodeConfig config = 2; */ - public Builder setConfig( - com.google.container.v1beta1.NodeConfig.Builder builderForValue) { + public Builder setConfig(com.google.container.v1beta1.NodeConfig.Builder builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); @@ -6392,6 +7145,8 @@ public Builder setConfig( return this; } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6402,7 +7157,9 @@ public Builder mergeConfig(com.google.container.v1beta1.NodeConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = - com.google.container.v1beta1.NodeConfig.newBuilder(config_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeConfig.newBuilder(config_) + .mergeFrom(value) + .buildPartial(); } else { config_ = value; } @@ -6414,6 +7171,8 @@ public Builder mergeConfig(com.google.container.v1beta1.NodeConfig value) { return this; } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6432,6 +7191,8 @@ public Builder clearConfig() { return this; } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6439,11 +7200,13 @@ public Builder clearConfig() { * .google.container.v1beta1.NodeConfig config = 2; */ public com.google.container.v1beta1.NodeConfig.Builder getConfigBuilder() { - + onChanged(); return getConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6454,11 +7217,14 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { - return config_ == null ? - com.google.container.v1beta1.NodeConfig.getDefaultInstance() : config_; + return config_ == null + ? com.google.container.v1beta1.NodeConfig.getDefaultInstance() + : config_; } } /** + * + * *
      * The node configuration of the pool.
      * 
@@ -6466,21 +7232,26 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() { * .google.container.v1beta1.NodeConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder> + com.google.container.v1beta1.NodeConfig, + com.google.container.v1beta1.NodeConfig.Builder, + com.google.container.v1beta1.NodeConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { - configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfig, com.google.container.v1beta1.NodeConfig.Builder, com.google.container.v1beta1.NodeConfigOrBuilder>( - getConfig(), - getParentForChildren(), - isClean()); + configBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeConfig, + com.google.container.v1beta1.NodeConfig.Builder, + com.google.container.v1beta1.NodeConfigOrBuilder>( + getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; } - private int initialNodeCount_ ; + private int initialNodeCount_; /** + * + * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6489,6 +7260,7 @@ public com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder() {
      * 
* * int32 initial_node_count = 3; + * * @return The initialNodeCount. */ @java.lang.Override @@ -6496,6 +7268,8 @@ public int getInitialNodeCount() { return initialNodeCount_; } /** + * + * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6504,16 +7278,19 @@ public int getInitialNodeCount() {
      * 
* * int32 initial_node_count = 3; + * * @param value The initialNodeCount to set. * @return This builder for chaining. */ public Builder setInitialNodeCount(int value) { - + initialNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * The initial node count for the pool. You must ensure that your
      * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -6522,23 +7299,28 @@ public Builder setInitialNodeCount(int value) {
      * 
* * int32 initial_node_count = 3; + * * @return This builder for chaining. */ public Builder clearInitialNodeCount() { - + initialNodeCount_ = 0; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList locations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6551,13 +7333,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6570,12 +7354,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6588,6 +7375,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -6595,6 +7383,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6607,14 +7397,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6627,21 +7419,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6654,20 +7448,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 13; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6680,18 +7476,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 13; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6704,6 +7501,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 13; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -6713,6 +7511,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * The list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -6725,15 +7525,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -6742,36 +7542,49 @@ public Builder addLocationsBytes( private com.google.container.v1beta1.NodeNetworkConfig networkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> networkConfigBuilder_; + com.google.container.v1beta1.NodeNetworkConfig, + com.google.container.v1beta1.NodeNetworkConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfigOrBuilder> + networkConfigBuilder_; /** + * + * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; + * * @return Whether the networkConfig field is set. */ public boolean hasNetworkConfig() { return networkConfigBuilder_ != null || networkConfig_ != null; } /** + * + * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
      * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; + * * @return The networkConfig. */ public com.google.container.v1beta1.NodeNetworkConfig getNetworkConfig() { if (networkConfigBuilder_ == null) { - return networkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : networkConfig_; + return networkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : networkConfig_; } else { return networkConfigBuilder_.getMessage(); } } /** + * + * *
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6793,6 +7606,8 @@ public Builder setNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig v
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6812,6 +7627,8 @@ public Builder setNetworkConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6823,7 +7640,9 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig
       if (networkConfigBuilder_ == null) {
         if (networkConfig_ != null) {
           networkConfig_ =
-            com.google.container.v1beta1.NodeNetworkConfig.newBuilder(networkConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodeNetworkConfig.newBuilder(networkConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkConfig_ = value;
         }
@@ -6835,6 +7654,8 @@ public Builder mergeNetworkConfig(com.google.container.v1beta1.NodeNetworkConfig
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6854,6 +7675,8 @@ public Builder clearNetworkConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6862,11 +7685,13 @@ public Builder clearNetworkConfig() {
      * .google.container.v1beta1.NodeNetworkConfig network_config = 14;
      */
     public com.google.container.v1beta1.NodeNetworkConfig.Builder getNetworkConfigBuilder() {
-      
+
       onChanged();
       return getNetworkConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6878,11 +7703,14 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
       if (networkConfigBuilder_ != null) {
         return networkConfigBuilder_.getMessageOrBuilder();
       } else {
-        return networkConfig_ == null ?
-            com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : networkConfig_;
+        return networkConfig_ == null
+            ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance()
+            : networkConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * Networking configuration for this NodePool. If specified, it overrides the
      * cluster-level defaults.
@@ -6891,14 +7719,17 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
      * .google.container.v1beta1.NodeNetworkConfig network_config = 14;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> 
+            com.google.container.v1beta1.NodeNetworkConfig,
+            com.google.container.v1beta1.NodeNetworkConfig.Builder,
+            com.google.container.v1beta1.NodeNetworkConfigOrBuilder>
         getNetworkConfigFieldBuilder() {
       if (networkConfigBuilder_ == null) {
-        networkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder>(
-                getNetworkConfig(),
-                getParentForChildren(),
-                isClean());
+        networkConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodeNetworkConfig,
+                com.google.container.v1beta1.NodeNetworkConfig.Builder,
+                com.google.container.v1beta1.NodeNetworkConfigOrBuilder>(
+                getNetworkConfig(), getParentForChildren(), isClean());
         networkConfig_ = null;
       }
       return networkConfigBuilder_;
@@ -6906,18 +7737,20 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigO
 
     private java.lang.Object selfLink_ = "";
     /**
+     *
+     *
      * 
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -6926,20 +7759,21 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -6947,54 +7781,61 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink( - java.lang.String value) { + public Builder setSelfLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** + * + * *
      * [Output only] Server-defined URL for the resource.
      * 
* * string self_link = 100; + * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -7002,18 +7843,20 @@ public Builder setSelfLinkBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -7022,20 +7865,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -7043,67 +7887,78 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The version of the Kubernetes of this node.
      * 
* * string version = 101; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList instanceGroupUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList instanceGroupUrls_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureInstanceGroupUrlsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { instanceGroupUrls_ = new com.google.protobuf.LazyStringArrayList(instanceGroupUrls_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7113,13 +7968,15 @@ private void ensureInstanceGroupUrlsIsMutable() {
      * 
* * repeated string instance_group_urls = 102; + * * @return A list containing the instanceGroupUrls. */ - public com.google.protobuf.ProtocolStringList - getInstanceGroupUrlsList() { + public com.google.protobuf.ProtocolStringList getInstanceGroupUrlsList() { return instanceGroupUrls_.getUnmodifiableView(); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7129,12 +7986,15 @@ private void ensureInstanceGroupUrlsIsMutable() {
      * 
* * repeated string instance_group_urls = 102; + * * @return The count of instanceGroupUrls. */ public int getInstanceGroupUrlsCount() { return instanceGroupUrls_.size(); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7144,6 +8004,7 @@ public int getInstanceGroupUrlsCount() {
      * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ @@ -7151,6 +8012,8 @@ public java.lang.String getInstanceGroupUrls(int index) { return instanceGroupUrls_.get(index); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7160,14 +8023,16 @@ public java.lang.String getInstanceGroupUrls(int index) {
      * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - public com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index) { + public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { return instanceGroupUrls_.getByteString(index); } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7177,21 +8042,23 @@ public java.lang.String getInstanceGroupUrls(int index) {
      * 
* * repeated string instance_group_urls = 102; + * * @param index The index to set the value at. * @param value The instanceGroupUrls to set. * @return This builder for chaining. */ - public Builder setInstanceGroupUrls( - int index, java.lang.String value) { + public Builder setInstanceGroupUrls(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.set(index, value); onChanged(); return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7201,20 +8068,22 @@ public Builder setInstanceGroupUrls(
      * 
* * repeated string instance_group_urls = 102; + * * @param value The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrls( - java.lang.String value) { + public Builder addInstanceGroupUrls(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstanceGroupUrlsIsMutable(); + throw new NullPointerException(); + } + ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7224,18 +8093,19 @@ public Builder addInstanceGroupUrls(
      * 
* * repeated string instance_group_urls = 102; + * * @param values The instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addAllInstanceGroupUrls( - java.lang.Iterable values) { + public Builder addAllInstanceGroupUrls(java.lang.Iterable values) { ensureInstanceGroupUrlsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instanceGroupUrls_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instanceGroupUrls_); onChanged(); return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7245,6 +8115,7 @@ public Builder addAllInstanceGroupUrls(
      * 
* * repeated string instance_group_urls = 102; + * * @return This builder for chaining. */ public Builder clearInstanceGroupUrls() { @@ -7254,6 +8125,8 @@ public Builder clearInstanceGroupUrls() { return this; } /** + * + * *
      * [Output only] The resource URLs of the [managed instance
      * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -7263,15 +8136,15 @@ public Builder clearInstanceGroupUrls() {
      * 
* * repeated string instance_group_urls = 102; + * * @param value The bytes of the instanceGroupUrls to add. * @return This builder for chaining. */ - public Builder addInstanceGroupUrlsBytes( - com.google.protobuf.ByteString value) { + public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstanceGroupUrlsIsMutable(); instanceGroupUrls_.add(value); onChanged(); @@ -7280,51 +8153,65 @@ public Builder addInstanceGroupUrlsBytes( private int status_ = 0; /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePool.Status result = com.google.container.v1beta1.NodePool.Status.valueOf(status_); + com.google.container.v1beta1.NodePool.Status result = + com.google.container.v1beta1.NodePool.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.NodePool.Status.UNRECOGNIZED : result; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @param value The status to set. * @return This builder for chaining. */ @@ -7332,21 +8219,24 @@ public Builder setStatus(com.google.container.v1beta1.NodePool.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * [Output only] The status of the nodes in this pool instance.
      * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -7354,6 +8244,8 @@ public Builder clearStatus() { private java.lang.Object statusMessage_ = ""; /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7361,15 +8253,16 @@ 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=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @return The statusMessage. */ - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -7378,6 +8271,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7385,17 +8280,17 @@ 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=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @return The bytes for statusMessage. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -7403,6 +8298,8 @@ public Builder clearStatus() { } } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7410,22 +8307,25 @@ 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=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessage( - java.lang.String value) { + @java.lang.Deprecated + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7433,17 +8333,21 @@ 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=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearStatusMessage() { - + @java.lang.Deprecated + public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * [Output only] Deprecated. Use conditions instead.
      * Additional information about the current status of this
@@ -7451,18 +8355,19 @@ 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=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -7470,36 +8375,49 @@ public Builder clearStatus() { private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; + com.google.container.v1beta1.NodePoolAutoscaling, + com.google.container.v1beta1.NodePoolAutoscaling.Builder, + com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** + * + * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
      * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; + * * @return The autoscaling. */ public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7521,6 +8439,8 @@ public Builder setAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling v
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7540,6 +8460,8 @@ public Builder setAutoscaling(
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7551,7 +8473,9 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling
       if (autoscalingBuilder_ == null) {
         if (autoscaling_ != null) {
           autoscaling_ =
-            com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           autoscaling_ = value;
         }
@@ -7563,6 +8487,8 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7582,6 +8508,8 @@ public Builder clearAutoscaling() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7590,11 +8518,13 @@ public Builder clearAutoscaling() {
      * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
      */
     public com.google.container.v1beta1.NodePoolAutoscaling.Builder getAutoscalingBuilder() {
-      
+
       onChanged();
       return getAutoscalingFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7606,11 +8536,14 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
       if (autoscalingBuilder_ != null) {
         return autoscalingBuilder_.getMessageOrBuilder();
       } else {
-        return autoscaling_ == null ?
-            com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_;
+        return autoscaling_ == null
+            ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance()
+            : autoscaling_;
       }
     }
     /**
+     *
+     *
      * 
      * Autoscaler configuration for this NodePool. Autoscaler is enabled
      * only if a valid configuration is present.
@@ -7619,14 +8552,17 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
      * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> 
+            com.google.container.v1beta1.NodePoolAutoscaling,
+            com.google.container.v1beta1.NodePoolAutoscaling.Builder,
+            com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>
         getAutoscalingFieldBuilder() {
       if (autoscalingBuilder_ == null) {
-        autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
-                getAutoscaling(),
-                getParentForChildren(),
-                isClean());
+        autoscalingBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodePoolAutoscaling,
+                com.google.container.v1beta1.NodePoolAutoscaling.Builder,
+                com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>(
+                getAutoscaling(), getParentForChildren(), isClean());
         autoscaling_ = null;
       }
       return autoscalingBuilder_;
@@ -7634,34 +8570,47 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
 
     private com.google.container.v1beta1.NodeManagement management_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> managementBuilder_;
+            com.google.container.v1beta1.NodeManagement,
+            com.google.container.v1beta1.NodeManagement.Builder,
+            com.google.container.v1beta1.NodeManagementOrBuilder>
+        managementBuilder_;
     /**
+     *
+     *
      * 
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 5; + * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
* * .google.container.v1beta1.NodeManagement management = 5; + * * @return The management. */ public com.google.container.v1beta1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7682,6 +8631,8 @@ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7700,6 +8651,8 @@ public Builder setManagement( return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7710,7 +8663,9 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1beta1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeManagement.newBuilder(management_) + .mergeFrom(value) + .buildPartial(); } else { management_ = value; } @@ -7722,6 +8677,8 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7740,6 +8697,8 @@ public Builder clearManagement() { return this; } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7747,11 +8706,13 @@ public Builder clearManagement() { * .google.container.v1beta1.NodeManagement management = 5; */ public com.google.container.v1beta1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7762,11 +8723,14 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * NodeManagement configuration for this NodePool.
      * 
@@ -7774,14 +8738,17 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild * .google.container.v1beta1.NodeManagement management = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; @@ -7789,36 +8756,49 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild private com.google.container.v1beta1.MaxPodsConstraint maxPodsConstraint_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> maxPodsConstraintBuilder_; + com.google.container.v1beta1.MaxPodsConstraint, + com.google.container.v1beta1.MaxPodsConstraint.Builder, + com.google.container.v1beta1.MaxPodsConstraintOrBuilder> + maxPodsConstraintBuilder_; /** + * + * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; + * * @return Whether the maxPodsConstraint field is set. */ public boolean hasMaxPodsConstraint() { return maxPodsConstraintBuilder_ != null || maxPodsConstraint_ != null; } /** + * + * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
      * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; + * * @return The maxPodsConstraint. */ public com.google.container.v1beta1.MaxPodsConstraint getMaxPodsConstraint() { if (maxPodsConstraintBuilder_ == null) { - return maxPodsConstraint_ == null ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_; + return maxPodsConstraint_ == null + ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() + : maxPodsConstraint_; } else { return maxPodsConstraintBuilder_.getMessage(); } } /** + * + * *
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7840,6 +8820,8 @@ public Builder setMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstrai
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7859,6 +8841,8 @@ public Builder setMaxPodsConstraint(
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7870,7 +8854,9 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstr
       if (maxPodsConstraintBuilder_ == null) {
         if (maxPodsConstraint_ != null) {
           maxPodsConstraint_ =
-            com.google.container.v1beta1.MaxPodsConstraint.newBuilder(maxPodsConstraint_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.MaxPodsConstraint.newBuilder(maxPodsConstraint_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           maxPodsConstraint_ = value;
         }
@@ -7882,6 +8868,8 @@ public Builder mergeMaxPodsConstraint(com.google.container.v1beta1.MaxPodsConstr
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7901,6 +8889,8 @@ public Builder clearMaxPodsConstraint() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7909,11 +8899,13 @@ public Builder clearMaxPodsConstraint() {
      * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
      */
     public com.google.container.v1beta1.MaxPodsConstraint.Builder getMaxPodsConstraintBuilder() {
-      
+
       onChanged();
       return getMaxPodsConstraintFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7925,11 +8917,14 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstra
       if (maxPodsConstraintBuilder_ != null) {
         return maxPodsConstraintBuilder_.getMessageOrBuilder();
       } else {
-        return maxPodsConstraint_ == null ?
-            com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance() : maxPodsConstraint_;
+        return maxPodsConstraint_ == null
+            ? com.google.container.v1beta1.MaxPodsConstraint.getDefaultInstance()
+            : maxPodsConstraint_;
       }
     }
     /**
+     *
+     *
      * 
      * The constraint on the maximum number of pods that can be run
      * simultaneously on a node in the node pool.
@@ -7938,32 +8933,42 @@ public com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstra
      * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder> 
+            com.google.container.v1beta1.MaxPodsConstraint,
+            com.google.container.v1beta1.MaxPodsConstraint.Builder,
+            com.google.container.v1beta1.MaxPodsConstraintOrBuilder>
         getMaxPodsConstraintFieldBuilder() {
       if (maxPodsConstraintBuilder_ == null) {
-        maxPodsConstraintBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.MaxPodsConstraint, com.google.container.v1beta1.MaxPodsConstraint.Builder, com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
-                getMaxPodsConstraint(),
-                getParentForChildren(),
-                isClean());
+        maxPodsConstraintBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.MaxPodsConstraint,
+                com.google.container.v1beta1.MaxPodsConstraint.Builder,
+                com.google.container.v1beta1.MaxPodsConstraintOrBuilder>(
+                getMaxPodsConstraint(), getParentForChildren(), isClean());
         maxPodsConstraint_ = null;
       }
       return maxPodsConstraintBuilder_;
     }
 
     private java.util.List conditions_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureConditionsIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
-        conditions_ = new java.util.ArrayList(conditions_);
+        conditions_ =
+            new java.util.ArrayList(conditions_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> conditionsBuilder_;
+            com.google.container.v1beta1.StatusCondition,
+            com.google.container.v1beta1.StatusCondition.Builder,
+            com.google.container.v1beta1.StatusConditionOrBuilder>
+        conditionsBuilder_;
 
     /**
+     *
+     *
      * 
      * Which conditions caused the current node pool state.
      * 
@@ -7978,6 +8983,8 @@ public java.util.List getCondition } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -7992,6 +8999,8 @@ public int getConditionsCount() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8006,14 +9015,15 @@ public com.google.container.v1beta1.StatusCondition getConditions(int index) { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public Builder setConditions( - int index, com.google.container.v1beta1.StatusCondition value) { + public Builder setConditions(int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8027,6 +9037,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8045,6 +9057,8 @@ public Builder setConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8065,14 +9079,15 @@ public Builder addConditions(com.google.container.v1beta1.StatusCondition value) return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public Builder addConditions( - int index, com.google.container.v1beta1.StatusCondition value) { + public Builder addConditions(int index, com.google.container.v1beta1.StatusCondition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -8086,6 +9101,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8104,6 +9121,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8122,6 +9141,8 @@ public Builder addConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8132,8 +9153,7 @@ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -8141,6 +9161,8 @@ public Builder addAllConditions( return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8158,6 +9180,8 @@ public Builder clearConditions() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8175,39 +9199,44 @@ public Builder removeConditions(int index) { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder( - int index) { + public com.google.container.v1beta1.StatusCondition.Builder getConditionsBuilder(int index) { return getConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( - int index) { + public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); } else { + return conditions_.get(index); + } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -8215,6 +9244,8 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil } } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
@@ -8222,54 +9253,63 @@ public com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuil * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder().addBuilder( - com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getConditionsFieldBuilder() + .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder( - int index) { - return getConditionsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + public com.google.container.v1beta1.StatusCondition.Builder addConditionsBuilder(int index) { + return getConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - public java.util.List - getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( - conditions_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + conditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder>( + conditions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); conditions_ = null; } return conditionsBuilder_; } - private int podIpv4CidrSize_ ; + private int podIpv4CidrSize_; /** + * + * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return The podIpv4CidrSize. */ @java.lang.Override @@ -8277,30 +9317,36 @@ public int getPodIpv4CidrSize() { return podIpv4CidrSize_; } /** + * + * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; + * * @param value The podIpv4CidrSize to set. * @return This builder for chaining. */ public Builder setPodIpv4CidrSize(int value) { - + podIpv4CidrSize_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The pod CIDR block size per node in this node pool.
      * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return This builder for chaining. */ public Builder clearPodIpv4CidrSize() { - + podIpv4CidrSize_ = 0; onChanged(); return this; @@ -8308,34 +9354,47 @@ public Builder clearPodIpv4CidrSize() { private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + upgradeSettingsBuilder_; /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return The upgradeSettings. */ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8356,6 +9415,8 @@ public Builder setUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeS return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8374,17 +9435,22 @@ public Builder setUpgradeSettings( return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ - public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeSettings value) { + public Builder mergeUpgradeSettings( + com.google.container.v1beta1.NodePool.UpgradeSettings value) { if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) + .mergeFrom(value) + .buildPartial(); } else { upgradeSettings_ = value; } @@ -8396,6 +9462,8 @@ public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.Upgrad return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8414,33 +9482,42 @@ public Builder clearUpgradeSettings() { return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ - public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder + getUpgradeSettingsBuilder() { + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder + getUpgradeSettingsOrBuilder() { if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null ? - com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -8448,14 +9525,17 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), - getParentForChildren(), - isClean()); + upgradeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), getParentForChildren(), isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -8463,34 +9543,47 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade private com.google.container.v1beta1.NodePool.PlacementPolicy placementPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.PlacementPolicy, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> placementPolicyBuilder_; + com.google.container.v1beta1.NodePool.PlacementPolicy, + com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, + com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> + placementPolicyBuilder_; /** + * + * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; + * * @return Whether the placementPolicy field is set. */ public boolean hasPlacementPolicy() { return placementPolicyBuilder_ != null || placementPolicy_ != null; } /** + * + * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; + * * @return The placementPolicy. */ public com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy() { if (placementPolicyBuilder_ == null) { - return placementPolicy_ == null ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; + return placementPolicy_ == null + ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() + : placementPolicy_; } else { return placementPolicyBuilder_.getMessage(); } } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8511,6 +9604,8 @@ public Builder setPlacementPolicy(com.google.container.v1beta1.NodePool.Placemen return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8529,17 +9624,22 @@ public Builder setPlacementPolicy( return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ - public Builder mergePlacementPolicy(com.google.container.v1beta1.NodePool.PlacementPolicy value) { + public Builder mergePlacementPolicy( + com.google.container.v1beta1.NodePool.PlacementPolicy value) { if (placementPolicyBuilder_ == null) { if (placementPolicy_ != null) { placementPolicy_ = - com.google.container.v1beta1.NodePool.PlacementPolicy.newBuilder(placementPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePool.PlacementPolicy.newBuilder(placementPolicy_) + .mergeFrom(value) + .buildPartial(); } else { placementPolicy_ = value; } @@ -8551,6 +9651,8 @@ public Builder mergePlacementPolicy(com.google.container.v1beta1.NodePool.Placem return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8569,33 +9671,42 @@ public Builder clearPlacementPolicy() { return this; } /** + * + * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ - public com.google.container.v1beta1.NodePool.PlacementPolicy.Builder getPlacementPolicyBuilder() { - + public com.google.container.v1beta1.NodePool.PlacementPolicy.Builder + getPlacementPolicyBuilder() { + onChanged(); return getPlacementPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Specifies the node placement policy.
      * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ - public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder() { + public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder + getPlacementPolicyOrBuilder() { if (placementPolicyBuilder_ != null) { return placementPolicyBuilder_.getMessageOrBuilder(); } else { - return placementPolicy_ == null ? - com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() : placementPolicy_; + return placementPolicy_ == null + ? com.google.container.v1beta1.NodePool.PlacementPolicy.getDefaultInstance() + : placementPolicy_; } } /** + * + * *
      * Specifies the node placement policy.
      * 
@@ -8603,14 +9714,17 @@ public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlaceme * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.PlacementPolicy, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> + com.google.container.v1beta1.NodePool.PlacementPolicy, + com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, + com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder> getPlacementPolicyFieldBuilder() { if (placementPolicyBuilder_ == null) { - placementPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.PlacementPolicy, com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder>( - getPlacementPolicy(), - getParentForChildren(), - isClean()); + placementPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.PlacementPolicy, + com.google.container.v1beta1.NodePool.PlacementPolicy.Builder, + com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder>( + getPlacementPolicy(), getParentForChildren(), isClean()); placementPolicy_ = null; } return placementPolicyBuilder_; @@ -8618,42 +9732,61 @@ public com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlaceme private com.google.container.v1beta1.NodePool.UpdateInfo updateInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo, com.google.container.v1beta1.NodePool.UpdateInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> updateInfoBuilder_; + com.google.container.v1beta1.NodePool.UpdateInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> + updateInfoBuilder_; /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateInfo field is set. */ public boolean hasUpdateInfo() { return updateInfoBuilder_ != null || updateInfo_ != null; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateInfo. */ public com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo() { if (updateInfoBuilder_ == null) { - return updateInfo_ == null ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; + return updateInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; } else { return updateInfoBuilder_.getMessage(); } } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { @@ -8669,12 +9802,16 @@ public Builder setUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo va return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateInfo( com.google.container.v1beta1.NodePool.UpdateInfo.Builder builderForValue) { @@ -8688,18 +9825,24 @@ public Builder setUpdateInfo( return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo value) { if (updateInfoBuilder_ == null) { if (updateInfo_ != null) { updateInfo_ = - com.google.container.v1beta1.NodePool.UpdateInfo.newBuilder(updateInfo_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePool.UpdateInfo.newBuilder(updateInfo_) + .mergeFrom(value) + .buildPartial(); } else { updateInfo_ = value; } @@ -8711,12 +9854,16 @@ public Builder mergeUpdateInfo(com.google.container.v1beta1.NodePool.UpdateInfo return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateInfo() { if (updateInfoBuilder_ == null) { @@ -8730,58 +9877,74 @@ public Builder clearUpdateInfo() { return this; } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1beta1.NodePool.UpdateInfo.Builder getUpdateInfoBuilder() { - + onChanged(); return getUpdateInfoFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder() { if (updateInfoBuilder_ != null) { return updateInfoBuilder_.getMessageOrBuilder(); } else { - return updateInfo_ == null ? - com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() : updateInfo_; + return updateInfo_ == null + ? com.google.container.v1beta1.NodePool.UpdateInfo.getDefaultInstance() + : updateInfo_; } } /** + * + * *
      * Output only. [Output only] Update info contains relevant information during a node
      * pool update.
      * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo, com.google.container.v1beta1.NodePool.UpdateInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> + com.google.container.v1beta1.NodePool.UpdateInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder> getUpdateInfoFieldBuilder() { if (updateInfoBuilder_ == null) { - updateInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpdateInfo, com.google.container.v1beta1.NodePool.UpdateInfo.Builder, com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder>( - getUpdateInfo(), - getParentForChildren(), - isClean()); + updateInfoBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpdateInfo, + com.google.container.v1beta1.NodePool.UpdateInfo.Builder, + com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder>( + getUpdateInfo(), getParentForChildren(), isClean()); updateInfo_ = null; } return updateInfoBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -8791,12 +9954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePool) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePool) private static final com.google.container.v1beta1.NodePool DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePool(); } @@ -8805,27 +9968,27 @@ public static com.google.container.v1beta1.NodePool getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePool parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePool parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8840,6 +10003,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePool getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java index 56f7d4aac23a..519b91f4c71a 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * node pool configs that apply to all auto-provisioned node pools
  * in autopilot clusters and node auto-provisioning enabled clusters
@@ -11,46 +28,49 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodePoolAutoConfig}
  */
-public final class NodePoolAutoConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodePoolAutoConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolAutoConfig)
     NodePoolAutoConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodePoolAutoConfig.newBuilder() to construct.
   private NodePoolAutoConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private NodePoolAutoConfig() {
-  }
+
+  private NodePoolAutoConfig() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodePoolAutoConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodePoolAutoConfig.class, com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
+            com.google.container.v1beta1.NodePoolAutoConfig.class,
+            com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
   }
 
   public static final int NETWORK_TAGS_FIELD_NUMBER = 1;
   private com.google.container.v1beta1.NetworkTags networkTags_;
   /**
+   *
+   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; + * * @return Whether the networkTags field is set. */ @java.lang.Override @@ -66,6 +87,8 @@ public boolean hasNetworkTags() { return networkTags_ != null; } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -74,13 +97,18 @@ public boolean hasNetworkTags() {
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; + * * @return The networkTags. */ @java.lang.Override public com.google.container.v1beta1.NetworkTags getNetworkTags() { - return networkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : networkTags_; + return networkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : networkTags_; } /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -96,6 +124,7 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -107,8 +136,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (networkTags_ != null) {
       output.writeMessage(1, getNetworkTags());
     }
@@ -122,8 +150,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (networkTags_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getNetworkTags());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNetworkTags());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -133,17 +160,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.NodePoolAutoConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.NodePoolAutoConfig other = (com.google.container.v1beta1.NodePoolAutoConfig) obj;
+    com.google.container.v1beta1.NodePoolAutoConfig other =
+        (com.google.container.v1beta1.NodePoolAutoConfig) obj;
 
     if (hasNetworkTags() != other.hasNetworkTags()) return false;
     if (hasNetworkTags()) {
-      if (!getNetworkTags()
-          .equals(other.getNetworkTags())) return false;
+      if (!getNetworkTags().equals(other.getNetworkTags())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -165,97 +192,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.NodePoolAutoConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
       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.NodePoolAutoConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.NodePoolAutoConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.NodePoolAutoConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.NodePoolAutoConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.NodePoolAutoConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * node pool configs that apply to all auto-provisioned node pools
    * in autopilot clusters and node auto-provisioning enabled clusters
@@ -263,33 +297,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodePoolAutoConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolAutoConfig)
       com.google.container.v1beta1.NodePoolAutoConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePoolAutoConfig.class, com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
+              com.google.container.v1beta1.NodePoolAutoConfig.class,
+              com.google.container.v1beta1.NodePoolAutoConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodePoolAutoConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -303,9 +336,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor;
     }
 
     @java.lang.Override
@@ -324,7 +357,8 @@ public com.google.container.v1beta1.NodePoolAutoConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodePoolAutoConfig buildPartial() {
-      com.google.container.v1beta1.NodePoolAutoConfig result = new com.google.container.v1beta1.NodePoolAutoConfig(this);
+      com.google.container.v1beta1.NodePoolAutoConfig result =
+          new com.google.container.v1beta1.NodePoolAutoConfig(this);
       if (networkTagsBuilder_ == null) {
         result.networkTags_ = networkTags_;
       } else {
@@ -338,38 +372,39 @@ public com.google.container.v1beta1.NodePoolAutoConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodePoolAutoConfig) {
-        return mergeFrom((com.google.container.v1beta1.NodePoolAutoConfig)other);
+        return mergeFrom((com.google.container.v1beta1.NodePoolAutoConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -377,7 +412,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.NodePoolAutoConfig other) {
-      if (other == com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.NodePoolAutoConfig.getDefaultInstance())
+        return this;
       if (other.hasNetworkTags()) {
         mergeNetworkTags(other.getNetworkTags());
       }
@@ -407,19 +443,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getNetworkTagsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getNetworkTagsFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -432,8 +468,13 @@ public Builder mergeFrom(
 
     private com.google.container.v1beta1.NetworkTags networkTags_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> networkTagsBuilder_;
+            com.google.container.v1beta1.NetworkTags,
+            com.google.container.v1beta1.NetworkTags.Builder,
+            com.google.container.v1beta1.NetworkTagsOrBuilder>
+        networkTagsBuilder_;
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -442,12 +483,15 @@ public Builder mergeFrom(
      * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; + * * @return Whether the networkTags field is set. */ public boolean hasNetworkTags() { return networkTagsBuilder_ != null || networkTags_ != null; } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -456,16 +500,21 @@ public boolean hasNetworkTags() {
      * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; + * * @return The networkTags. */ public com.google.container.v1beta1.NetworkTags getNetworkTags() { if (networkTagsBuilder_ == null) { - return networkTags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : networkTags_; + return networkTags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : networkTags_; } else { return networkTagsBuilder_.getMessage(); } } /** + * + * *
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -489,6 +538,8 @@ public Builder setNetworkTags(com.google.container.v1beta1.NetworkTags value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -510,6 +561,8 @@ public Builder setNetworkTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -523,7 +576,9 @@ public Builder mergeNetworkTags(com.google.container.v1beta1.NetworkTags value)
       if (networkTagsBuilder_ == null) {
         if (networkTags_ != null) {
           networkTags_ =
-            com.google.container.v1beta1.NetworkTags.newBuilder(networkTags_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NetworkTags.newBuilder(networkTags_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           networkTags_ = value;
         }
@@ -535,6 +590,8 @@ public Builder mergeNetworkTags(com.google.container.v1beta1.NetworkTags value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -556,6 +613,8 @@ public Builder clearNetworkTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -566,11 +625,13 @@ public Builder clearNetworkTags() {
      * .google.container.v1beta1.NetworkTags network_tags = 1;
      */
     public com.google.container.v1beta1.NetworkTags.Builder getNetworkTagsBuilder() {
-      
+
       onChanged();
       return getNetworkTagsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -584,11 +645,14 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder
       if (networkTagsBuilder_ != null) {
         return networkTagsBuilder_.getMessageOrBuilder();
       } else {
-        return networkTags_ == null ?
-            com.google.container.v1beta1.NetworkTags.getDefaultInstance() : networkTags_;
+        return networkTags_ == null
+            ? com.google.container.v1beta1.NetworkTags.getDefaultInstance()
+            : networkTags_;
       }
     }
     /**
+     *
+     *
      * 
      * The list of instance tags applied to all nodes. Tags are used to identify
      * valid sources or targets for network firewalls and are specified by
@@ -599,21 +663,24 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getNetworkTagsOrBuilder
      * .google.container.v1beta1.NetworkTags network_tags = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> 
+            com.google.container.v1beta1.NetworkTags,
+            com.google.container.v1beta1.NetworkTags.Builder,
+            com.google.container.v1beta1.NetworkTagsOrBuilder>
         getNetworkTagsFieldBuilder() {
       if (networkTagsBuilder_ == null) {
-        networkTagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder>(
-                getNetworkTags(),
-                getParentForChildren(),
-                isClean());
+        networkTagsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NetworkTags,
+                com.google.container.v1beta1.NetworkTags.Builder,
+                com.google.container.v1beta1.NetworkTagsOrBuilder>(
+                getNetworkTags(), getParentForChildren(), isClean());
         networkTags_ = null;
       }
       return networkTagsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -623,12 +690,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolAutoConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolAutoConfig)
   private static final com.google.container.v1beta1.NodePoolAutoConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolAutoConfig();
   }
@@ -637,27 +704,27 @@ public static com.google.container.v1beta1.NodePoolAutoConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public NodePoolAutoConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public NodePoolAutoConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -672,6 +739,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.NodePoolAutoConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
similarity index 70%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
index 6e1dab9fb036..08428ae76835 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface NodePoolAutoConfigOrBuilder extends
+public interface NodePoolAutoConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolAutoConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -16,10 +34,13 @@ public interface NodePoolAutoConfigOrBuilder extends
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; + * * @return Whether the networkTags field is set. */ boolean hasNetworkTags(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
@@ -28,10 +49,13 @@ public interface NodePoolAutoConfigOrBuilder extends
    * 
* * .google.container.v1beta1.NetworkTags network_tags = 1; + * * @return The networkTags. */ com.google.container.v1beta1.NetworkTags getNetworkTags(); /** + * + * *
    * The list of instance tags applied to all nodes. Tags are used to identify
    * valid sources or targets for network firewalls and are specified by
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
similarity index 71%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
index 674a1a7b3b22..09d6231f6ee5 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscaling.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * NodePoolAutoscaling contains information required by cluster autoscaler to
  * adjust the size of the node pool to the current cluster usage.
@@ -11,45 +28,49 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodePoolAutoscaling}
  */
-public final class NodePoolAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodePoolAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolAutoscaling)
     NodePoolAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodePoolAutoscaling.newBuilder() to construct.
   private NodePoolAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodePoolAutoscaling() {
     locationPolicy_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodePoolAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodePoolAutoscaling.class, com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
+            com.google.container.v1beta1.NodePoolAutoscaling.class,
+            com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Location policy specifies how zones are picked when scaling up the
    * nodepool.
@@ -57,9 +78,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1beta1.NodePoolAutoscaling.LocationPolicy}
    */
-  public enum LocationPolicy
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum LocationPolicy implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -68,6 +90,8 @@ public enum LocationPolicy */ LOCATION_POLICY_UNSPECIFIED(0), /** + * + * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -77,6 +101,8 @@ public enum LocationPolicy
      */
     BALANCED(1),
     /**
+     *
+     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -88,6 +114,8 @@ public enum LocationPolicy ; /** + * + * *
      * Not set.
      * 
@@ -96,6 +124,8 @@ public enum LocationPolicy */ public static final int LOCATION_POLICY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * BALANCED is a best effort policy that aims to balance the sizes of
      * different zones.
@@ -105,6 +135,8 @@ public enum LocationPolicy
      */
     public static final int BALANCED_VALUE = 1;
     /**
+     *
+     *
      * 
      * ANY policy picks zones that have the highest capacity available.
      * 
@@ -113,7 +145,6 @@ public enum LocationPolicy */ public static final int ANY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,49 +169,49 @@ public static LocationPolicy valueOf(int value) { */ public static LocationPolicy forNumber(int value) { switch (value) { - case 0: return LOCATION_POLICY_UNSPECIFIED; - case 1: return BALANCED; - case 2: return ANY; - default: return null; + case 0: + return LOCATION_POLICY_UNSPECIFIED; + case 1: + return BALANCED; + case 2: + return ANY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - LocationPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public LocationPolicy findValueByNumber(int number) { - return LocationPolicy.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public LocationPolicy findValueByNumber(int number) { + return LocationPolicy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.NodePoolAutoscaling.getDescriptor().getEnumTypes().get(0); } private static final LocationPolicy[] VALUES = values(); - public static LocationPolicy valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static LocationPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -200,11 +231,14 @@ private LocationPolicy(int value) { public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -215,12 +249,15 @@ public boolean getEnabled() { public static final int MIN_NODE_COUNT_FIELD_NUMBER = 2; private int minNodeCount_; /** + * + * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; + * * @return The minNodeCount. */ @java.lang.Override @@ -231,12 +268,15 @@ public int getMinNodeCount() { public static final int MAX_NODE_COUNT_FIELD_NUMBER = 3; private int maxNodeCount_; /** + * + * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; + * * @return The maxNodeCount. */ @java.lang.Override @@ -247,11 +287,14 @@ public int getMaxNodeCount() { public static final int AUTOPROVISIONED_FIELD_NUMBER = 4; private boolean autoprovisioned_; /** + * + * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; + * * @return The autoprovisioned. */ @java.lang.Override @@ -262,33 +305,46 @@ public boolean getAutoprovisioned() { public static final int LOCATION_POLICY_FIELD_NUMBER = 5; private int locationPolicy_; /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override public int getLocationPolicyValue() { + @java.lang.Override + public int getLocationPolicyValue() { return locationPolicy_; } /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The locationPolicy. */ - @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { + @java.lang.Override + public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; } public static final int TOTAL_MIN_NODE_COUNT_FIELD_NUMBER = 6; private int totalMinNodeCount_; /** + * + * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -297,6 +353,7 @@ public boolean getAutoprovisioned() {
    * 
* * int32 total_min_node_count = 6; + * * @return The totalMinNodeCount. */ @java.lang.Override @@ -307,6 +364,8 @@ public int getTotalMinNodeCount() { public static final int TOTAL_MAX_NODE_COUNT_FIELD_NUMBER = 7; private int totalMaxNodeCount_; /** + * + * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -315,6 +374,7 @@ public int getTotalMinNodeCount() {
    * 
* * int32 total_max_node_count = 7; + * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -323,6 +383,7 @@ public int getTotalMaxNodeCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +395,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -348,7 +408,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (autoprovisioned_ != false) { output.writeBool(4, autoprovisioned_); } - if (locationPolicy_ != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { + if (locationPolicy_ + != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy + .LOCATION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { @@ -367,32 +430,28 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (minNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, minNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, minNodeCount_); } if (maxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, maxNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, maxNodeCount_); } if (autoprovisioned_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, autoprovisioned_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, autoprovisioned_); } - if (locationPolicy_ != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.LOCATION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, locationPolicy_); + if (locationPolicy_ + != com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy + .LOCATION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, locationPolicy_); } if (totalMinNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(6, totalMinNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalMinNodeCount_); } if (totalMaxNodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(7, totalMaxNodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, totalMaxNodeCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -402,26 +461,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePoolAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.NodePoolAutoscaling other = (com.google.container.v1beta1.NodePoolAutoscaling) obj; + com.google.container.v1beta1.NodePoolAutoscaling other = + (com.google.container.v1beta1.NodePoolAutoscaling) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (getMinNodeCount() - != other.getMinNodeCount()) return false; - if (getMaxNodeCount() - != other.getMaxNodeCount()) return false; - if (getAutoprovisioned() - != other.getAutoprovisioned()) return false; + if (getEnabled() != other.getEnabled()) return false; + if (getMinNodeCount() != other.getMinNodeCount()) return false; + if (getMaxNodeCount() != other.getMaxNodeCount()) return false; + if (getAutoprovisioned() != other.getAutoprovisioned()) return false; if (locationPolicy_ != other.locationPolicy_) return false; - if (getTotalMinNodeCount() - != other.getTotalMinNodeCount()) return false; - if (getTotalMaxNodeCount() - != other.getTotalMaxNodeCount()) return false; + if (getTotalMinNodeCount() != other.getTotalMinNodeCount()) return false; + if (getTotalMaxNodeCount() != other.getTotalMaxNodeCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -434,15 +488,13 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + MIN_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMinNodeCount(); hash = (37 * hash) + MAX_NODE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMaxNodeCount(); hash = (37 * hash) + AUTOPROVISIONED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAutoprovisioned()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAutoprovisioned()); hash = (37 * hash) + LOCATION_POLICY_FIELD_NUMBER; hash = (53 * hash) + locationPolicy_; hash = (37 * hash) + TOTAL_MIN_NODE_COUNT_FIELD_NUMBER; @@ -454,97 +506,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( 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.NodePoolAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePoolAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodePoolAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodePoolAutoscaling contains information required by cluster autoscaler to
    * adjust the size of the node pool to the current cluster usage.
@@ -552,33 +611,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodePoolAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolAutoscaling)
       com.google.container.v1beta1.NodePoolAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodePoolAutoscaling.class, com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
+              com.google.container.v1beta1.NodePoolAutoscaling.class,
+              com.google.container.v1beta1.NodePoolAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodePoolAutoscaling.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -600,9 +658,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -621,7 +679,8 @@ public com.google.container.v1beta1.NodePoolAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodePoolAutoscaling buildPartial() {
-      com.google.container.v1beta1.NodePoolAutoscaling result = new com.google.container.v1beta1.NodePoolAutoscaling(this);
+      com.google.container.v1beta1.NodePoolAutoscaling result =
+          new com.google.container.v1beta1.NodePoolAutoscaling(this);
       result.enabled_ = enabled_;
       result.minNodeCount_ = minNodeCount_;
       result.maxNodeCount_ = maxNodeCount_;
@@ -637,38 +696,39 @@ public com.google.container.v1beta1.NodePoolAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodePoolAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.NodePoolAutoscaling)other);
+        return mergeFrom((com.google.container.v1beta1.NodePoolAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -676,7 +736,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.NodePoolAutoscaling other) {
-      if (other == com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -724,47 +785,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            case 16: {
-              minNodeCount_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 24: {
-              maxNodeCount_ = input.readInt32();
-
-              break;
-            } // case 24
-            case 32: {
-              autoprovisioned_ = input.readBool();
-
-              break;
-            } // case 32
-            case 40: {
-              locationPolicy_ = input.readEnum();
-
-              break;
-            } // case 40
-            case 48: {
-              totalMinNodeCount_ = input.readInt32();
-
-              break;
-            } // case 48
-            case 56: {
-              totalMaxNodeCount_ = input.readInt32();
-
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                minNodeCount_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 24:
+              {
+                maxNodeCount_ = input.readInt32();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                autoprovisioned_ = input.readBool();
+
+                break;
+              } // case 32
+            case 40:
+              {
+                locationPolicy_ = input.readEnum();
+
+                break;
+              } // case 40
+            case 48:
+              {
+                totalMinNodeCount_ = input.readInt32();
+
+                break;
+              } // case 48
+            case 56:
+              {
+                totalMaxNodeCount_ = input.readInt32();
+
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -775,13 +844,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -789,43 +861,52 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Is autoscaling enabled for this node pool.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private int minNodeCount_ ; + private int minNodeCount_; /** + * + * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; + * * @return The minNodeCount. */ @java.lang.Override @@ -833,45 +914,54 @@ public int getMinNodeCount() { return minNodeCount_; } /** + * + * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; + * * @param value The minNodeCount to set. * @return This builder for chaining. */ public Builder setMinNodeCount(int value) { - + minNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
      * <= max_node_count.
      * 
* * int32 min_node_count = 2; + * * @return This builder for chaining. */ public Builder clearMinNodeCount() { - + minNodeCount_ = 0; onChanged(); return this; } - private int maxNodeCount_ ; + private int maxNodeCount_; /** + * + * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; + * * @return The maxNodeCount. */ @java.lang.Override @@ -879,44 +969,53 @@ public int getMaxNodeCount() { return maxNodeCount_; } /** + * + * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; + * * @param value The maxNodeCount to set. * @return This builder for chaining. */ public Builder setMaxNodeCount(int value) { - + maxNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of nodes for one location in the NodePool. Must be >=
      * min_node_count. There has to be enough quota to scale up the cluster.
      * 
* * int32 max_node_count = 3; + * * @return This builder for chaining. */ public Builder clearMaxNodeCount() { - + maxNodeCount_ = 0; onChanged(); return this; } - private boolean autoprovisioned_ ; + private boolean autoprovisioned_; /** + * + * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; + * * @return The autoprovisioned. */ @java.lang.Override @@ -924,30 +1023,36 @@ public boolean getAutoprovisioned() { return autoprovisioned_; } /** + * + * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; + * * @param value The autoprovisioned to set. * @return This builder for chaining. */ public Builder setAutoprovisioned(boolean value) { - + autoprovisioned_ = value; onChanged(); return this; } /** + * + * *
      * Can this node pool be deleted automatically.
      * 
* * bool autoprovisioned = 4; + * * @return This builder for chaining. */ public Builder clearAutoprovisioned() { - + autoprovisioned_ = false; onChanged(); return this; @@ -955,80 +1060,107 @@ public Builder clearAutoprovisioned() { private int locationPolicy_ = 0; /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * * @return The enum numeric value on the wire for locationPolicy. */ - @java.lang.Override public int getLocationPolicyValue() { + @java.lang.Override + public int getLocationPolicyValue() { return locationPolicy_; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * * @param value The enum numeric value on the wire for locationPolicy to set. * @return This builder for chaining. */ public Builder setLocationPolicyValue(int value) { - + locationPolicy_ = value; onChanged(); return this; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * * @return The locationPolicy. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); - return result == null ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED : result; + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy result = + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.valueOf(locationPolicy_); + return result == null + ? com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy.UNRECOGNIZED + : result; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * * @param value The locationPolicy to set. * @return This builder for chaining. */ - public Builder setLocationPolicy(com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy value) { + public Builder setLocationPolicy( + com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy value) { if (value == null) { throw new NullPointerException(); } - + locationPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Location policy used when scaling up a nodepool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * + * * @return This builder for chaining. */ public Builder clearLocationPolicy() { - + locationPolicy_ = 0; onChanged(); return this; } - private int totalMinNodeCount_ ; + private int totalMinNodeCount_; /** + * + * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1037,6 +1169,7 @@ public Builder clearLocationPolicy() {
      * 
* * int32 total_min_node_count = 6; + * * @return The totalMinNodeCount. */ @java.lang.Override @@ -1044,6 +1177,8 @@ public int getTotalMinNodeCount() { return totalMinNodeCount_; } /** + * + * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1052,16 +1187,19 @@ public int getTotalMinNodeCount() {
      * 
* * int32 total_min_node_count = 6; + * * @param value The totalMinNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMinNodeCount(int value) { - + totalMinNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Minimum number of nodes in the node pool. Must be greater than 1 less than
      * total_max_node_count.
@@ -1070,17 +1208,20 @@ public Builder setTotalMinNodeCount(int value) {
      * 
* * int32 total_min_node_count = 6; + * * @return This builder for chaining. */ public Builder clearTotalMinNodeCount() { - + totalMinNodeCount_ = 0; onChanged(); return this; } - private int totalMaxNodeCount_ ; + private int totalMaxNodeCount_; /** + * + * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1089,6 +1230,7 @@ public Builder clearTotalMinNodeCount() {
      * 
* * int32 total_max_node_count = 7; + * * @return The totalMaxNodeCount. */ @java.lang.Override @@ -1096,6 +1238,8 @@ public int getTotalMaxNodeCount() { return totalMaxNodeCount_; } /** + * + * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1104,16 +1248,19 @@ public int getTotalMaxNodeCount() {
      * 
* * int32 total_max_node_count = 7; + * * @param value The totalMaxNodeCount to set. * @return This builder for chaining. */ public Builder setTotalMaxNodeCount(int value) { - + totalMaxNodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of nodes in the node pool. Must be greater than
      * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -1122,17 +1269,18 @@ public Builder setTotalMaxNodeCount(int value) {
      * 
* * int32 total_max_node_count = 7; + * * @return This builder for chaining. */ public Builder clearTotalMaxNodeCount() { - + totalMaxNodeCount_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1142,12 +1290,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolAutoscaling) private static final com.google.container.v1beta1.NodePoolAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolAutoscaling(); } @@ -1156,27 +1304,27 @@ public static com.google.container.v1beta1.NodePoolAutoscaling getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1339,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePoolAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java index 4bdce9c96fbf..af41c88c2db5 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolAutoscalingOrBuilder.java @@ -1,74 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface NodePoolAutoscalingOrBuilder extends +public interface NodePoolAutoscalingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolAutoscaling) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Is autoscaling enabled for this node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * Minimum number of nodes for one location in the NodePool. Must be >= 1 and
    * <= max_node_count.
    * 
* * int32 min_node_count = 2; + * * @return The minNodeCount. */ int getMinNodeCount(); /** + * + * *
    * Maximum number of nodes for one location in the NodePool. Must be >=
    * min_node_count. There has to be enough quota to scale up the cluster.
    * 
* * int32 max_node_count = 3; + * * @return The maxNodeCount. */ int getMaxNodeCount(); /** + * + * *
    * Can this node pool be deleted automatically.
    * 
* * bool autoprovisioned = 4; + * * @return The autoprovisioned. */ boolean getAutoprovisioned(); /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The enum numeric value on the wire for locationPolicy. */ int getLocationPolicyValue(); /** + * + * *
    * Location policy used when scaling up a nodepool.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling.LocationPolicy location_policy = 5; + * * @return The locationPolicy. */ com.google.container.v1beta1.NodePoolAutoscaling.LocationPolicy getLocationPolicy(); /** + * + * *
    * Minimum number of nodes in the node pool. Must be greater than 1 less than
    * total_max_node_count.
@@ -77,11 +113,14 @@ public interface NodePoolAutoscalingOrBuilder extends
    * 
* * int32 total_min_node_count = 6; + * * @return The totalMinNodeCount. */ int getTotalMinNodeCount(); /** + * + * *
    * Maximum number of nodes in the node pool. Must be greater than
    * total_min_node_count. There has to be enough quota to scale up the cluster.
@@ -90,6 +129,7 @@ public interface NodePoolAutoscalingOrBuilder extends
    * 
* * int32 total_max_node_count = 7; + * * @return The totalMaxNodeCount. */ int getTotalMaxNodeCount(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java index 2d3b08d047cf..1137553747f2 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaults.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Subset of Nodepool message that has defaults.
  * 
* * Protobuf type {@code google.container.v1beta1.NodePoolDefaults} */ -public final class NodePoolDefaults extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodePoolDefaults extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolDefaults) NodePoolDefaultsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodePoolDefaults.newBuilder() to construct. private NodePoolDefaults(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodePoolDefaults() { - } + + private NodePoolDefaults() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodePoolDefaults(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolDefaults.class, com.google.container.v1beta1.NodePoolDefaults.Builder.class); + com.google.container.v1beta1.NodePoolDefaults.class, + com.google.container.v1beta1.NodePoolDefaults.Builder.class); } public static final int NODE_CONFIG_DEFAULTS_FIELD_NUMBER = 1; private com.google.container.v1beta1.NodeConfigDefaults nodeConfigDefaults_; /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; + * * @return Whether the nodeConfigDefaults field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasNodeConfigDefaults() { return nodeConfigDefaults_ != null; } /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; + * * @return The nodeConfigDefaults. */ @java.lang.Override public com.google.container.v1beta1.NodeConfigDefaults getNodeConfigDefaults() { - return nodeConfigDefaults_ == null ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; + return nodeConfigDefaults_ == null + ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() + : nodeConfigDefaults_; } /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
@@ -86,6 +114,7 @@ public com.google.container.v1beta1.NodeConfigDefaultsOrBuilder getNodeConfigDef } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (nodeConfigDefaults_ != null) { output.writeMessage(1, getNodeConfigDefaults()); } @@ -112,8 +140,7 @@ public int getSerializedSize() { size = 0; if (nodeConfigDefaults_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getNodeConfigDefaults()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getNodeConfigDefaults()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +150,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePoolDefaults)) { return super.equals(obj); } - com.google.container.v1beta1.NodePoolDefaults other = (com.google.container.v1beta1.NodePoolDefaults) obj; + com.google.container.v1beta1.NodePoolDefaults other = + (com.google.container.v1beta1.NodePoolDefaults) obj; if (hasNodeConfigDefaults() != other.hasNodeConfigDefaults()) return false; if (hasNodeConfigDefaults()) { - if (!getNodeConfigDefaults() - .equals(other.getNodeConfigDefaults())) return false; + if (!getNodeConfigDefaults().equals(other.getNodeConfigDefaults())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -155,130 +182,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodePoolDefaults parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolDefaults parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolDefaults parseFrom( 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.NodePoolDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodePoolDefaults parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolDefaults parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePoolDefaults parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolDefaults parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePoolDefaults parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolDefaults parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodePoolDefaults prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Subset of Nodepool message that has defaults.
    * 
* * Protobuf type {@code google.container.v1beta1.NodePoolDefaults} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolDefaults) com.google.container.v1beta1.NodePoolDefaultsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolDefaults.class, com.google.container.v1beta1.NodePoolDefaults.Builder.class); + com.google.container.v1beta1.NodePoolDefaults.class, + com.google.container.v1beta1.NodePoolDefaults.Builder.class); } // Construct using com.google.container.v1beta1.NodePoolDefaults.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; } @java.lang.Override @@ -313,7 +346,8 @@ public com.google.container.v1beta1.NodePoolDefaults build() { @java.lang.Override public com.google.container.v1beta1.NodePoolDefaults buildPartial() { - com.google.container.v1beta1.NodePoolDefaults result = new com.google.container.v1beta1.NodePoolDefaults(this); + com.google.container.v1beta1.NodePoolDefaults result = + new com.google.container.v1beta1.NodePoolDefaults(this); if (nodeConfigDefaultsBuilder_ == null) { result.nodeConfigDefaults_ = nodeConfigDefaults_; } else { @@ -327,38 +361,39 @@ public com.google.container.v1beta1.NodePoolDefaults buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodePoolDefaults) { - return mergeFrom((com.google.container.v1beta1.NodePoolDefaults)other); + return mergeFrom((com.google.container.v1beta1.NodePoolDefaults) other); } else { super.mergeFrom(other); return this; @@ -396,19 +431,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getNodeConfigDefaultsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getNodeConfigDefaultsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -421,34 +457,47 @@ public Builder mergeFrom( private com.google.container.v1beta1.NodeConfigDefaults nodeConfigDefaults_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfigDefaults, com.google.container.v1beta1.NodeConfigDefaults.Builder, com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> nodeConfigDefaultsBuilder_; + com.google.container.v1beta1.NodeConfigDefaults, + com.google.container.v1beta1.NodeConfigDefaults.Builder, + com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> + nodeConfigDefaultsBuilder_; /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; + * * @return Whether the nodeConfigDefaults field is set. */ public boolean hasNodeConfigDefaults() { return nodeConfigDefaultsBuilder_ != null || nodeConfigDefaults_ != null; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; + * * @return The nodeConfigDefaults. */ public com.google.container.v1beta1.NodeConfigDefaults getNodeConfigDefaults() { if (nodeConfigDefaultsBuilder_ == null) { - return nodeConfigDefaults_ == null ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; + return nodeConfigDefaults_ == null + ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() + : nodeConfigDefaults_; } else { return nodeConfigDefaultsBuilder_.getMessage(); } } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -469,6 +518,8 @@ public Builder setNodeConfigDefaults(com.google.container.v1beta1.NodeConfigDefa return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -487,6 +538,8 @@ public Builder setNodeConfigDefaults( return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -497,7 +550,9 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1beta1.NodeConfigDe if (nodeConfigDefaultsBuilder_ == null) { if (nodeConfigDefaults_ != null) { nodeConfigDefaults_ = - com.google.container.v1beta1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeConfigDefaults.newBuilder(nodeConfigDefaults_) + .mergeFrom(value) + .buildPartial(); } else { nodeConfigDefaults_ = value; } @@ -509,6 +564,8 @@ public Builder mergeNodeConfigDefaults(com.google.container.v1beta1.NodeConfigDe return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -527,6 +584,8 @@ public Builder clearNodeConfigDefaults() { return this; } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -534,26 +593,32 @@ public Builder clearNodeConfigDefaults() { * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; */ public com.google.container.v1beta1.NodeConfigDefaults.Builder getNodeConfigDefaultsBuilder() { - + onChanged(); return getNodeConfigDefaultsFieldBuilder().getBuilder(); } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; */ - public com.google.container.v1beta1.NodeConfigDefaultsOrBuilder getNodeConfigDefaultsOrBuilder() { + public com.google.container.v1beta1.NodeConfigDefaultsOrBuilder + getNodeConfigDefaultsOrBuilder() { if (nodeConfigDefaultsBuilder_ != null) { return nodeConfigDefaultsBuilder_.getMessageOrBuilder(); } else { - return nodeConfigDefaults_ == null ? - com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() : nodeConfigDefaults_; + return nodeConfigDefaults_ == null + ? com.google.container.v1beta1.NodeConfigDefaults.getDefaultInstance() + : nodeConfigDefaults_; } } /** + * + * *
      * Subset of NodeConfig message that has defaults.
      * 
@@ -561,21 +626,24 @@ public com.google.container.v1beta1.NodeConfigDefaultsOrBuilder getNodeConfigDef * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfigDefaults, com.google.container.v1beta1.NodeConfigDefaults.Builder, com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> + com.google.container.v1beta1.NodeConfigDefaults, + com.google.container.v1beta1.NodeConfigDefaults.Builder, + com.google.container.v1beta1.NodeConfigDefaultsOrBuilder> getNodeConfigDefaultsFieldBuilder() { if (nodeConfigDefaultsBuilder_ == null) { - nodeConfigDefaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeConfigDefaults, com.google.container.v1beta1.NodeConfigDefaults.Builder, com.google.container.v1beta1.NodeConfigDefaultsOrBuilder>( - getNodeConfigDefaults(), - getParentForChildren(), - isClean()); + nodeConfigDefaultsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeConfigDefaults, + com.google.container.v1beta1.NodeConfigDefaults.Builder, + com.google.container.v1beta1.NodeConfigDefaultsOrBuilder>( + getNodeConfigDefaults(), getParentForChildren(), isClean()); nodeConfigDefaults_ = null; } return nodeConfigDefaultsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +653,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolDefaults) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolDefaults) private static final com.google.container.v1beta1.NodePoolDefaults DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolDefaults(); } @@ -599,27 +667,27 @@ public static com.google.container.v1beta1.NodePoolDefaults getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolDefaults parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolDefaults parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,6 +702,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePoolDefaults getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java index 058db95510b9..b0b465f4f679 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolDefaultsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodePoolDefaultsOrBuilder extends +public interface NodePoolDefaultsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolDefaults) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; + * * @return Whether the nodeConfigDefaults field is set. */ boolean hasNodeConfigDefaults(); /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
* * .google.container.v1beta1.NodeConfigDefaults node_config_defaults = 1; + * * @return The nodeConfigDefaults. */ com.google.container.v1beta1.NodeConfigDefaults getNodeConfigDefaults(); /** + * + * *
    * Subset of NodeConfig message that has defaults.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java index 96024aa2dd0a..8c4169eeaa6f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * NodePoolLoggingConfig specifies logging configuration for nodepools.
  * 
* * Protobuf type {@code google.container.v1beta1.NodePoolLoggingConfig} */ -public final class NodePoolLoggingConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NodePoolLoggingConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodePoolLoggingConfig) NodePoolLoggingConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NodePoolLoggingConfig.newBuilder() to construct. private NodePoolLoggingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NodePoolLoggingConfig() { - } + + private NodePoolLoggingConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NodePoolLoggingConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolLoggingConfig.class, com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1beta1.NodePoolLoggingConfig.class, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); } public static final int VARIANT_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.LoggingVariantConfig variantConfig_; /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; + * * @return Whether the variantConfig field is set. */ @java.lang.Override @@ -62,18 +83,25 @@ public boolean hasVariantConfig() { return variantConfig_ != null; } /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; + * * @return The variantConfig. */ @java.lang.Override public com.google.container.v1beta1.LoggingVariantConfig getVariantConfig() { - return variantConfig_ == null ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; + return variantConfig_ == null + ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() + : variantConfig_; } /** + * + * *
    * Logging variant configuration.
    * 
@@ -86,6 +114,7 @@ public com.google.container.v1beta1.LoggingVariantConfigOrBuilder getVariantConf } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (variantConfig_ != null) { output.writeMessage(1, getVariantConfig()); } @@ -112,8 +140,7 @@ public int getSerializedSize() { size = 0; if (variantConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getVariantConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getVariantConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -123,17 +150,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodePoolLoggingConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NodePoolLoggingConfig other = (com.google.container.v1beta1.NodePoolLoggingConfig) obj; + com.google.container.v1beta1.NodePoolLoggingConfig other = + (com.google.container.v1beta1.NodePoolLoggingConfig) obj; if (hasVariantConfig() != other.hasVariantConfig()) return false; if (hasVariantConfig()) { - if (!getVariantConfig() - .equals(other.getVariantConfig())) return false; + if (!getVariantConfig().equals(other.getVariantConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -156,129 +183,135 @@ public int hashCode() { } public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodePoolLoggingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( 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.NodePoolLoggingConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodePoolLoggingConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodePoolLoggingConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolLoggingConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodePoolLoggingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodePoolLoggingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NodePoolLoggingConfig specifies logging configuration for nodepools.
    * 
* * Protobuf type {@code google.container.v1beta1.NodePoolLoggingConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodePoolLoggingConfig) com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NodePoolLoggingConfig.class, com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); + com.google.container.v1beta1.NodePoolLoggingConfig.class, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder.class); } // Construct using com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +325,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; } @java.lang.Override @@ -313,7 +346,8 @@ public com.google.container.v1beta1.NodePoolLoggingConfig build() { @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig buildPartial() { - com.google.container.v1beta1.NodePoolLoggingConfig result = new com.google.container.v1beta1.NodePoolLoggingConfig(this); + com.google.container.v1beta1.NodePoolLoggingConfig result = + new com.google.container.v1beta1.NodePoolLoggingConfig(this); if (variantConfigBuilder_ == null) { result.variantConfig_ = variantConfig_; } else { @@ -327,38 +361,39 @@ public com.google.container.v1beta1.NodePoolLoggingConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NodePoolLoggingConfig) { - return mergeFrom((com.google.container.v1beta1.NodePoolLoggingConfig)other); + return mergeFrom((com.google.container.v1beta1.NodePoolLoggingConfig) other); } else { super.mergeFrom(other); return this; @@ -366,7 +401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NodePoolLoggingConfig other) { - if (other == com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance()) + return this; if (other.hasVariantConfig()) { mergeVariantConfig(other.getVariantConfig()); } @@ -396,19 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getVariantConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getVariantConfigFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -421,34 +457,47 @@ public Builder mergeFrom( private com.google.container.v1beta1.LoggingVariantConfig variantConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingVariantConfig, com.google.container.v1beta1.LoggingVariantConfig.Builder, com.google.container.v1beta1.LoggingVariantConfigOrBuilder> variantConfigBuilder_; + com.google.container.v1beta1.LoggingVariantConfig, + com.google.container.v1beta1.LoggingVariantConfig.Builder, + com.google.container.v1beta1.LoggingVariantConfigOrBuilder> + variantConfigBuilder_; /** + * + * *
      * Logging variant configuration.
      * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; + * * @return Whether the variantConfig field is set. */ public boolean hasVariantConfig() { return variantConfigBuilder_ != null || variantConfig_ != null; } /** + * + * *
      * Logging variant configuration.
      * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; + * * @return The variantConfig. */ public com.google.container.v1beta1.LoggingVariantConfig getVariantConfig() { if (variantConfigBuilder_ == null) { - return variantConfig_ == null ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; + return variantConfig_ == null + ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() + : variantConfig_; } else { return variantConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging variant configuration.
      * 
@@ -469,6 +518,8 @@ public Builder setVariantConfig(com.google.container.v1beta1.LoggingVariantConfi return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -487,6 +538,8 @@ public Builder setVariantConfig( return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -497,7 +550,9 @@ public Builder mergeVariantConfig(com.google.container.v1beta1.LoggingVariantCon if (variantConfigBuilder_ == null) { if (variantConfig_ != null) { variantConfig_ = - com.google.container.v1beta1.LoggingVariantConfig.newBuilder(variantConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.LoggingVariantConfig.newBuilder(variantConfig_) + .mergeFrom(value) + .buildPartial(); } else { variantConfig_ = value; } @@ -509,6 +564,8 @@ public Builder mergeVariantConfig(com.google.container.v1beta1.LoggingVariantCon return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -527,6 +584,8 @@ public Builder clearVariantConfig() { return this; } /** + * + * *
      * Logging variant configuration.
      * 
@@ -534,11 +593,13 @@ public Builder clearVariantConfig() { * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; */ public com.google.container.v1beta1.LoggingVariantConfig.Builder getVariantConfigBuilder() { - + onChanged(); return getVariantConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging variant configuration.
      * 
@@ -549,11 +610,14 @@ public com.google.container.v1beta1.LoggingVariantConfigOrBuilder getVariantConf if (variantConfigBuilder_ != null) { return variantConfigBuilder_.getMessageOrBuilder(); } else { - return variantConfig_ == null ? - com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() : variantConfig_; + return variantConfig_ == null + ? com.google.container.v1beta1.LoggingVariantConfig.getDefaultInstance() + : variantConfig_; } } /** + * + * *
      * Logging variant configuration.
      * 
@@ -561,21 +625,24 @@ public com.google.container.v1beta1.LoggingVariantConfigOrBuilder getVariantConf * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingVariantConfig, com.google.container.v1beta1.LoggingVariantConfig.Builder, com.google.container.v1beta1.LoggingVariantConfigOrBuilder> + com.google.container.v1beta1.LoggingVariantConfig, + com.google.container.v1beta1.LoggingVariantConfig.Builder, + com.google.container.v1beta1.LoggingVariantConfigOrBuilder> getVariantConfigFieldBuilder() { if (variantConfigBuilder_ == null) { - variantConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LoggingVariantConfig, com.google.container.v1beta1.LoggingVariantConfig.Builder, com.google.container.v1beta1.LoggingVariantConfigOrBuilder>( - getVariantConfig(), - getParentForChildren(), - isClean()); + variantConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LoggingVariantConfig, + com.google.container.v1beta1.LoggingVariantConfig.Builder, + com.google.container.v1beta1.LoggingVariantConfigOrBuilder>( + getVariantConfig(), getParentForChildren(), isClean()); variantConfig_ = null; } return variantConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -585,12 +652,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodePoolLoggingConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodePoolLoggingConfig) private static final com.google.container.v1beta1.NodePoolLoggingConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodePoolLoggingConfig(); } @@ -599,27 +666,27 @@ public static com.google.container.v1beta1.NodePoolLoggingConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodePoolLoggingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodePoolLoggingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,6 +701,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodePoolLoggingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java index 60250065e218..86db2a39d262 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolLoggingConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodePoolLoggingConfigOrBuilder extends +public interface NodePoolLoggingConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePoolLoggingConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; + * * @return Whether the variantConfig field is set. */ boolean hasVariantConfig(); /** + * + * *
    * Logging variant configuration.
    * 
* * .google.container.v1beta1.LoggingVariantConfig variant_config = 1; + * * @return The variantConfig. */ com.google.container.v1beta1.LoggingVariantConfig getVariantConfig(); /** + * + * *
    * Logging variant configuration.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 86% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolOrBuilder.java index 1b90f2820c02..fbd2636f8fdb 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface NodePoolOrBuilder extends +public interface NodePoolOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodePool) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the node pool.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; + * * @return Whether the config field is set. */ boolean hasConfig(); /** + * + * *
    * The node configuration of the pool.
    * 
* * .google.container.v1beta1.NodeConfig config = 2; + * * @return The config. */ com.google.container.v1beta1.NodeConfig getConfig(); /** + * + * *
    * The node configuration of the pool.
    * 
@@ -55,6 +84,8 @@ public interface NodePoolOrBuilder extends com.google.container.v1beta1.NodeConfigOrBuilder getConfigOrBuilder(); /** + * + * *
    * The initial node count for the pool. You must ensure that your
    * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
@@ -63,11 +94,14 @@ public interface NodePoolOrBuilder extends
    * 
* * int32 initial_node_count = 3; + * * @return The initialNodeCount. */ int getInitialNodeCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -80,11 +114,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -97,10 +133,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -113,11 +152,14 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * The list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -130,33 +172,41 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; + * * @return Whether the networkConfig field is set. */ boolean hasNetworkConfig(); /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
    * 
* * .google.container.v1beta1.NodeNetworkConfig network_config = 14; + * * @return The networkConfig. */ com.google.container.v1beta1.NodeNetworkConfig getNetworkConfig(); /** + * + * *
    * Networking configuration for this NodePool. If specified, it overrides the
    * cluster-level defaults.
@@ -167,46 +217,58 @@ public interface NodePoolOrBuilder extends
   com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNetworkConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The selfLink. */ java.lang.String getSelfLink(); /** + * + * *
    * [Output only] Server-defined URL for the resource.
    * 
* * string self_link = 100; + * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString - getSelfLinkBytes(); + com.google.protobuf.ByteString getSelfLinkBytes(); /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The version of the Kubernetes of this node.
    * 
* * string version = 101; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -216,11 +278,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @return A list containing the instanceGroupUrls. */ - java.util.List - getInstanceGroupUrlsList(); + java.util.List getInstanceGroupUrlsList(); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -230,10 +294,13 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @return The count of instanceGroupUrls. */ int getInstanceGroupUrlsCount(); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -243,11 +310,14 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the element to return. * @return The instanceGroupUrls at the given index. */ java.lang.String getInstanceGroupUrls(int index); /** + * + * *
    * [Output only] The resource URLs of the [managed instance
    * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
@@ -257,32 +327,40 @@ public interface NodePoolOrBuilder extends
    * 
* * repeated string instance_group_urls = 102; + * * @param index The index of the value to return. * @return The bytes of the instanceGroupUrls at the given index. */ - com.google.protobuf.ByteString - getInstanceGroupUrlsBytes(int index); + com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index); /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * [Output only] The status of the nodes in this pool instance.
    * 
* * .google.container.v1beta1.NodePool.Status status = 103; + * * @return The status. */ com.google.container.v1beta1.NodePool.Status getStatus(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -290,12 +368,16 @@ public interface NodePoolOrBuilder extends
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @return The statusMessage. */ - @java.lang.Deprecated java.lang.String getStatusMessage(); + @java.lang.Deprecated + java.lang.String getStatusMessage(); /** + * + * *
    * [Output only] Deprecated. Use conditions instead.
    * Additional information about the current status of this
@@ -303,34 +385,43 @@ public interface NodePoolOrBuilder extends
    * 
* * string status_message = 104 [deprecated = true]; - * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3518 + * + * @deprecated google.container.v1beta1.NodePool.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3518 * @return The bytes for statusMessage. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getStatusMessageBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
    * 
* * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 4; + * * @return The autoscaling. */ com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling(); /** + * + * *
    * Autoscaler configuration for this NodePool. Autoscaler is enabled
    * only if a valid configuration is present.
@@ -341,24 +432,32 @@ public interface NodePoolOrBuilder extends
   com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder();
 
   /**
+   *
+   *
    * 
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
* * .google.container.v1beta1.NodeManagement management = 5; + * * @return The management. */ com.google.container.v1beta1.NodeManagement getManagement(); /** + * + * *
    * NodeManagement configuration for this NodePool.
    * 
@@ -368,26 +467,34 @@ public interface NodePoolOrBuilder extends com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder(); /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; + * * @return Whether the maxPodsConstraint field is set. */ boolean hasMaxPodsConstraint(); /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
    * 
* * .google.container.v1beta1.MaxPodsConstraint max_pods_constraint = 6; + * * @return The maxPodsConstraint. */ com.google.container.v1beta1.MaxPodsConstraint getMaxPodsConstraint(); /** + * + * *
    * The constraint on the maximum number of pods that can be run
    * simultaneously on a node in the node pool.
@@ -398,15 +505,18 @@ public interface NodePoolOrBuilder extends
   com.google.container.v1beta1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder();
 
   /**
+   *
+   *
    * 
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - java.util.List - getConditionsList(); + java.util.List getConditionsList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -415,6 +525,8 @@ public interface NodePoolOrBuilder extends */ com.google.container.v1beta1.StatusCondition getConditions(int index); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
@@ -423,53 +535,67 @@ public interface NodePoolOrBuilder extends */ int getConditionsCount(); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - java.util.List + java.util.List getConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * 
* * repeated .google.container.v1beta1.StatusCondition conditions = 105; */ - com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( - int index); + com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder(int index); /** + * + * *
    * [Output only] The pod CIDR block size per node in this node pool.
    * 
* * int32 pod_ipv4_cidr_size = 7; + * * @return The podIpv4CidrSize. */ int getPodIpv4CidrSize(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 107; + * * @return The upgradeSettings. */ com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -479,24 +605,32 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; + * * @return Whether the placementPolicy field is set. */ boolean hasPlacementPolicy(); /** + * + * *
    * Specifies the node placement policy.
    * 
* * .google.container.v1beta1.NodePool.PlacementPolicy placement_policy = 108; + * * @return The placementPolicy. */ com.google.container.v1beta1.NodePool.PlacementPolicy getPlacementPolicy(); /** + * + * *
    * Specifies the node placement policy.
    * 
@@ -506,32 +640,46 @@ com.google.container.v1beta1.StatusConditionOrBuilder getConditionsOrBuilder( com.google.container.v1beta1.NodePool.PlacementPolicyOrBuilder getPlacementPolicyOrBuilder(); /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateInfo field is set. */ boolean hasUpdateInfo(); /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateInfo. */ com.google.container.v1beta1.NodePool.UpdateInfo getUpdateInfo(); /** + * + * *
    * Output only. [Output only] Update info contains relevant information during a node
    * pool update.
    * 
* - * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.NodePool.UpdateInfo update_info = 109 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.container.v1beta1.NodePool.UpdateInfoOrBuilder getUpdateInfoOrBuilder(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java index ddacd10949bc..6e18ed1f12d2 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodePoolUpdateStrategy.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Strategy used for node pool update.
  * 
* * Protobuf enum {@code google.container.v1beta1.NodePoolUpdateStrategy} */ -public enum NodePoolUpdateStrategy - implements com.google.protobuf.ProtocolMessageEnum { +public enum NodePoolUpdateStrategy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value.
    * 
@@ -21,6 +39,8 @@ public enum NodePoolUpdateStrategy */ NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED(0), /** + * + * *
    * blue-green upgrade.
    * 
@@ -29,6 +49,8 @@ public enum NodePoolUpdateStrategy */ BLUE_GREEN(2), /** + * + * *
    * SURGE is the traditional way of upgrading a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -41,6 +63,8 @@ public enum NodePoolUpdateStrategy
   ;
 
   /**
+   *
+   *
    * 
    * Default value.
    * 
@@ -49,6 +73,8 @@ public enum NodePoolUpdateStrategy */ public static final int NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED_VALUE = 0; /** + * + * *
    * blue-green upgrade.
    * 
@@ -57,6 +83,8 @@ public enum NodePoolUpdateStrategy */ public static final int BLUE_GREEN_VALUE = 2; /** + * + * *
    * SURGE is the traditional way of upgrading a node pool.
    * max_surge and max_unavailable determines the level of upgrade parallelism.
@@ -66,7 +94,6 @@ public enum NodePoolUpdateStrategy
    */
   public static final int SURGE_VALUE = 3;
 
-
   public final int getNumber() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalArgumentException(
@@ -91,10 +118,14 @@ public static NodePoolUpdateStrategy valueOf(int value) {
    */
   public static NodePoolUpdateStrategy forNumber(int value) {
     switch (value) {
-      case 0: return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
-      case 2: return BLUE_GREEN;
-      case 3: return SURGE;
-      default: return null;
+      case 0:
+        return NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED;
+      case 2:
+        return BLUE_GREEN;
+      case 3:
+        return SURGE;
+      default:
+        return null;
     }
   }
 
@@ -102,28 +133,28 @@ public static NodePoolUpdateStrategy forNumber(int value) {
       internalGetValueMap() {
     return internalValueMap;
   }
-  private static final com.google.protobuf.Internal.EnumLiteMap<
-      NodePoolUpdateStrategy> internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public NodePoolUpdateStrategy findValueByNumber(int number) {
-            return NodePoolUpdateStrategy.forNumber(number);
-          }
-        };
-
-  public final com.google.protobuf.Descriptors.EnumValueDescriptor
-      getValueDescriptor() {
+
+  private static final com.google.protobuf.Internal.EnumLiteMap
+      internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public NodePoolUpdateStrategy findValueByNumber(int number) {
+              return NodePoolUpdateStrategy.forNumber(number);
+            }
+          };
+
+  public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
     if (this == UNRECOGNIZED) {
       throw new java.lang.IllegalStateException(
           "Can't get the descriptor of an unrecognized enum value.");
     }
     return getDescriptor().getValues().get(ordinal());
   }
-  public final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptorForType() {
+
+  public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
     return getDescriptor();
   }
-  public static final com.google.protobuf.Descriptors.EnumDescriptor
-      getDescriptor() {
+
+  public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
     return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(2);
   }
 
@@ -132,8 +163,7 @@ public NodePoolUpdateStrategy findValueByNumber(int number) {
   public static NodePoolUpdateStrategy valueOf(
       com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
     if (desc.getType() != getDescriptor()) {
-      throw new java.lang.IllegalArgumentException(
-        "EnumValueDescriptor is not for this type.");
+      throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
     }
     if (desc.getIndex() == -1) {
       return UNRECOGNIZED;
@@ -149,4 +179,3 @@ private NodePoolUpdateStrategy(int value) {
 
   // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NodePoolUpdateStrategy)
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
similarity index 69%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
index 27d898a8fc38..a3c501f9b561 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaint.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
  * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -14,15 +31,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeTaint}
  */
-public final class NodeTaint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeTaint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeTaint)
     NodeTaintOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeTaint.newBuilder() to construct.
   private NodeTaint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodeTaint() {
     key_ = "";
     value_ = "";
@@ -31,39 +49,43 @@ private NodeTaint() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeTaint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeTaint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeTaint.class, com.google.container.v1beta1.NodeTaint.Builder.class);
+            com.google.container.v1beta1.NodeTaint.class,
+            com.google.container.v1beta1.NodeTaint.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible values for Effect in taint.
    * 
* * Protobuf enum {@code google.container.v1beta1.NodeTaint.Effect} */ - public enum Effect - implements com.google.protobuf.ProtocolMessageEnum { + public enum Effect implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set
      * 
@@ -72,6 +94,8 @@ public enum Effect */ EFFECT_UNSPECIFIED(0), /** + * + * *
      * NoSchedule
      * 
@@ -80,6 +104,8 @@ public enum Effect */ NO_SCHEDULE(1), /** + * + * *
      * PreferNoSchedule
      * 
@@ -88,6 +114,8 @@ public enum Effect */ PREFER_NO_SCHEDULE(2), /** + * + * *
      * NoExecute
      * 
@@ -99,6 +127,8 @@ public enum Effect ; /** + * + * *
      * Not set
      * 
@@ -107,6 +137,8 @@ public enum Effect */ public static final int EFFECT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * NoSchedule
      * 
@@ -115,6 +147,8 @@ public enum Effect */ public static final int NO_SCHEDULE_VALUE = 1; /** + * + * *
      * PreferNoSchedule
      * 
@@ -123,6 +157,8 @@ public enum Effect */ public static final int PREFER_NO_SCHEDULE_VALUE = 2; /** + * + * *
      * NoExecute
      * 
@@ -131,7 +167,6 @@ public enum Effect */ public static final int NO_EXECUTE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -156,50 +191,51 @@ public static Effect valueOf(int value) { */ public static Effect forNumber(int value) { switch (value) { - case 0: return EFFECT_UNSPECIFIED; - case 1: return NO_SCHEDULE; - case 2: return PREFER_NO_SCHEDULE; - case 3: return NO_EXECUTE; - default: return null; + case 0: + return EFFECT_UNSPECIFIED; + case 1: + return NO_SCHEDULE; + case 2: + return PREFER_NO_SCHEDULE; + case 3: + return NO_EXECUTE; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Effect> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Effect findValueByNumber(int number) { - return Effect.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Effect findValueByNumber(int number) { + return Effect.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.NodeTaint.getDescriptor().getEnumTypes().get(0); } private static final Effect[] VALUES = values(); - public static Effect valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Effect valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -219,11 +255,14 @@ private Effect(int value) { public static final int KEY_FIELD_NUMBER = 1; private volatile java.lang.Object key_; /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The key. */ @java.lang.Override @@ -232,29 +271,29 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -265,11 +304,14 @@ public java.lang.String getKey() { public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The value. */ @java.lang.Override @@ -278,29 +320,29 @@ public java.lang.String getValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; } } /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -311,31 +353,41 @@ public java.lang.String getValue() { public static final int EFFECT_FIELD_NUMBER = 3; private int effect_; /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override public int getEffectValue() { + @java.lang.Override + public int getEffectValue() { return effect_; } /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @return The effect. */ - @java.lang.Override public com.google.container.v1beta1.NodeTaint.Effect getEffect() { + @java.lang.Override + public com.google.container.v1beta1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeTaint.Effect result = com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1beta1.NodeTaint.Effect result = + com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1beta1.NodeTaint.Effect.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_); } @@ -374,8 +425,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); } if (effect_ != com.google.container.v1beta1.NodeTaint.Effect.EFFECT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, effect_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, effect_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -385,17 +435,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeTaint)) { return super.equals(obj); } com.google.container.v1beta1.NodeTaint other = (com.google.container.v1beta1.NodeTaint) obj; - if (!getKey() - .equals(other.getKey())) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getKey().equals(other.getKey())) return false; + if (!getValue().equals(other.getValue())) return false; if (effect_ != other.effect_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -419,97 +467,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeTaint parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeTaint parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeTaint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeTaint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeTaint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeTaint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeTaint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeTaint parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeTaint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeTaint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeTaint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeTaint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeTaint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeTaint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Kubernetes taint is comprised of three fields: key, value, and effect. Effect
    * can only be one of three types:  NoSchedule, PreferNoSchedule or NoExecute.
@@ -520,33 +575,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodeTaint}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeTaint)
       com.google.container.v1beta1.NodeTaintOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeTaint.class, com.google.container.v1beta1.NodeTaint.Builder.class);
+              com.google.container.v1beta1.NodeTaint.class,
+              com.google.container.v1beta1.NodeTaint.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeTaint.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,9 +614,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeTaint_descriptor;
     }
 
     @java.lang.Override
@@ -581,7 +635,8 @@ public com.google.container.v1beta1.NodeTaint build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeTaint buildPartial() {
-      com.google.container.v1beta1.NodeTaint result = new com.google.container.v1beta1.NodeTaint(this);
+      com.google.container.v1beta1.NodeTaint result =
+          new com.google.container.v1beta1.NodeTaint(this);
       result.key_ = key_;
       result.value_ = value_;
       result.effect_ = effect_;
@@ -593,38 +648,39 @@ public com.google.container.v1beta1.NodeTaint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeTaint) {
-        return mergeFrom((com.google.container.v1beta1.NodeTaint)other);
+        return mergeFrom((com.google.container.v1beta1.NodeTaint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -670,27 +726,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              key_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              value_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              effect_ = input.readEnum();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                key_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                value_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                effect_ = input.readEnum();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -703,18 +763,20 @@ public Builder mergeFrom(
 
     private java.lang.Object key_ = "";
     /**
+     *
+     *
      * 
      * Key for taint.
      * 
* * string key = 1; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -723,20 +785,21 @@ public java.lang.String getKey() { } } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -744,54 +807,61 @@ public java.lang.String getKey() { } } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * Key for taint.
      * 
* * string key = 1; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; @@ -799,18 +869,20 @@ public Builder setKeyBytes( private java.lang.Object value_ = ""; /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); value_ = s; return s; @@ -819,20 +891,21 @@ public java.lang.String getValue() { } } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @return The bytes for value. */ - public com.google.protobuf.ByteString - getValueBytes() { + public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); value_ = b; return b; } else { @@ -840,54 +913,61 @@ public java.lang.String getValue() { } } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue( - java.lang.String value) { + public Builder setValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** + * + * *
      * Value for taint.
      * 
* * string value = 2; + * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { + public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = value; onChanged(); return this; @@ -895,51 +975,65 @@ public Builder setValueBytes( private int effect_ = 0; /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @return The enum numeric value on the wire for effect. */ - @java.lang.Override public int getEffectValue() { + @java.lang.Override + public int getEffectValue() { return effect_; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @param value The enum numeric value on the wire for effect to set. * @return This builder for chaining. */ public Builder setEffectValue(int value) { - + effect_ = value; onChanged(); return this; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @return The effect. */ @java.lang.Override public com.google.container.v1beta1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.NodeTaint.Effect result = com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); + com.google.container.v1beta1.NodeTaint.Effect result = + com.google.container.v1beta1.NodeTaint.Effect.valueOf(effect_); return result == null ? com.google.container.v1beta1.NodeTaint.Effect.UNRECOGNIZED : result; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @param value The effect to set. * @return This builder for chaining. */ @@ -947,28 +1041,31 @@ public Builder setEffect(com.google.container.v1beta1.NodeTaint.Effect value) { if (value == null) { throw new NullPointerException(); } - + effect_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Effect for taint.
      * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @return This builder for chaining. */ public Builder clearEffect() { - + effect_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeTaint) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeTaint) private static final com.google.container.v1beta1.NodeTaint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeTaint(); } @@ -992,27 +1089,27 @@ public static com.google.container.v1beta1.NodeTaint getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeTaint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java index bd45ff102c10..63015cdf20fd 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintOrBuilder.java @@ -1,67 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeTaintOrBuilder extends +public interface NodeTaintOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeTaint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * Key for taint.
    * 
* * string key = 1; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Value for taint.
    * 
* * string value = 2; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @return The enum numeric value on the wire for effect. */ int getEffectValue(); /** + * + * *
    * Effect for taint.
    * 
* * .google.container.v1beta1.NodeTaint.Effect effect = 3; + * * @return The effect. */ com.google.container.v1beta1.NodeTaint.Effect getEffect(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java index 40c5abbf8f56..5fb279e9042b 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaints.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Collection of Kubernetes [node
  * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -11,47 +28,51 @@
  *
  * Protobuf type {@code google.container.v1beta1.NodeTaints}
  */
-public final class NodeTaints extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class NodeTaints extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.NodeTaints)
     NodeTaintsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use NodeTaints.newBuilder() to construct.
   private NodeTaints(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private NodeTaints() {
     taints_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new NodeTaints();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeTaints_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.NodeTaints.class, com.google.container.v1beta1.NodeTaints.Builder.class);
+            com.google.container.v1beta1.NodeTaints.class,
+            com.google.container.v1beta1.NodeTaints.Builder.class);
   }
 
   public static final int TAINTS_FIELD_NUMBER = 1;
   private java.util.List taints_;
   /**
+   *
+   *
    * 
    * List of node taints.
    * 
@@ -63,6 +84,8 @@ public java.util.List getTaintsList() { return taints_; } /** + * + * *
    * List of node taints.
    * 
@@ -70,11 +93,13 @@ public java.util.List getTaintsList() { * repeated .google.container.v1beta1.NodeTaint taints = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTaintsOrBuilderList() { return taints_; } /** + * + * *
    * List of node taints.
    * 
@@ -86,6 +111,8 @@ public int getTaintsCount() { return taints_.size(); } /** + * + * *
    * List of node taints.
    * 
@@ -97,6 +124,8 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) { return taints_.get(index); } /** + * + * *
    * List of node taints.
    * 
@@ -104,12 +133,12 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) { * repeated .google.container.v1beta1.NodeTaint taints = 1; */ @java.lang.Override - public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { return taints_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -121,8 +150,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < taints_.size(); i++) { output.writeMessage(1, taints_.get(i)); } @@ -136,8 +164,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < taints_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, taints_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, taints_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -147,15 +174,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NodeTaints)) { return super.equals(obj); } com.google.container.v1beta1.NodeTaints other = (com.google.container.v1beta1.NodeTaints) obj; - if (!getTaintsList() - .equals(other.getTaintsList())) return false; + if (!getTaintsList().equals(other.getTaintsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -176,97 +202,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NodeTaints parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NodeTaints parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeTaints parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NodeTaints parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeTaints parseFrom( 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.NodeTaints parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NodeTaints parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NodeTaints parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeTaints parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NodeTaints parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NodeTaints parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeTaints parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NodeTaints parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NodeTaints parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NodeTaints prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of Kubernetes [node
    * taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
@@ -274,33 +307,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.NodeTaints}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NodeTaints)
       com.google.container.v1beta1.NodeTaintsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NodeTaints.class, com.google.container.v1beta1.NodeTaints.Builder.class);
+              com.google.container.v1beta1.NodeTaints.class,
+              com.google.container.v1beta1.NodeTaints.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.NodeTaints.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -315,9 +347,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NodeTaints_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NodeTaints_descriptor;
     }
 
     @java.lang.Override
@@ -336,7 +368,8 @@ public com.google.container.v1beta1.NodeTaints build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.NodeTaints buildPartial() {
-      com.google.container.v1beta1.NodeTaints result = new com.google.container.v1beta1.NodeTaints(this);
+      com.google.container.v1beta1.NodeTaints result =
+          new com.google.container.v1beta1.NodeTaints(this);
       int from_bitField0_ = bitField0_;
       if (taintsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -355,38 +388,39 @@ public com.google.container.v1beta1.NodeTaints buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.NodeTaints) {
-        return mergeFrom((com.google.container.v1beta1.NodeTaints)other);
+        return mergeFrom((com.google.container.v1beta1.NodeTaints) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -413,9 +447,10 @@ public Builder mergeFrom(com.google.container.v1beta1.NodeTaints other) {
             taintsBuilder_ = null;
             taints_ = other.taints_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            taintsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getTaintsFieldBuilder() : null;
+            taintsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getTaintsFieldBuilder()
+                    : null;
           } else {
             taintsBuilder_.addAllMessages(other.taints_);
           }
@@ -447,25 +482,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.container.v1beta1.NodeTaint m =
-                  input.readMessage(
-                      com.google.container.v1beta1.NodeTaint.parser(),
-                      extensionRegistry);
-              if (taintsBuilder_ == null) {
-                ensureTaintsIsMutable();
-                taints_.add(m);
-              } else {
-                taintsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.container.v1beta1.NodeTaint m =
+                    input.readMessage(
+                        com.google.container.v1beta1.NodeTaint.parser(), extensionRegistry);
+                if (taintsBuilder_ == null) {
+                  ensureTaintsIsMutable();
+                  taints_.add(m);
+                } else {
+                  taintsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -475,21 +511,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List taints_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureTaintsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         taints_ = new java.util.ArrayList(taints_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> taintsBuilder_;
+            com.google.container.v1beta1.NodeTaint,
+            com.google.container.v1beta1.NodeTaint.Builder,
+            com.google.container.v1beta1.NodeTaintOrBuilder>
+        taintsBuilder_;
 
     /**
+     *
+     *
      * 
      * List of node taints.
      * 
@@ -504,6 +547,8 @@ public java.util.List getTaintsList() { } } /** + * + * *
      * List of node taints.
      * 
@@ -518,6 +563,8 @@ public int getTaintsCount() { } } /** + * + * *
      * List of node taints.
      * 
@@ -532,14 +579,15 @@ public com.google.container.v1beta1.NodeTaint getTaints(int index) { } } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public Builder setTaints( - int index, com.google.container.v1beta1.NodeTaint value) { + public Builder setTaints(int index, com.google.container.v1beta1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -553,6 +601,8 @@ public Builder setTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -571,6 +621,8 @@ public Builder setTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -591,14 +643,15 @@ public Builder addTaints(com.google.container.v1beta1.NodeTaint value) { return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public Builder addTaints( - int index, com.google.container.v1beta1.NodeTaint value) { + public Builder addTaints(int index, com.google.container.v1beta1.NodeTaint value) { if (taintsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -612,14 +665,15 @@ public Builder addTaints( return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public Builder addTaints( - com.google.container.v1beta1.NodeTaint.Builder builderForValue) { + public Builder addTaints(com.google.container.v1beta1.NodeTaint.Builder builderForValue) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); taints_.add(builderForValue.build()); @@ -630,6 +684,8 @@ public Builder addTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -648,6 +704,8 @@ public Builder addTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -658,8 +716,7 @@ public Builder addAllTaints( java.lang.Iterable values) { if (taintsBuilder_ == null) { ensureTaintsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, taints_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, taints_); onChanged(); } else { taintsBuilder_.addAllMessages(values); @@ -667,6 +724,8 @@ public Builder addAllTaints( return this; } /** + * + * *
      * List of node taints.
      * 
@@ -684,6 +743,8 @@ public Builder clearTaints() { return this; } /** + * + * *
      * List of node taints.
      * 
@@ -701,39 +762,44 @@ public Builder removeTaints(int index) { return this; } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder( - int index) { + public com.google.container.v1beta1.NodeTaint.Builder getTaintsBuilder(int index) { return getTaintsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( - int index) { + public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { if (taintsBuilder_ == null) { - return taints_.get(index); } else { + return taints_.get(index); + } else { return taintsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public java.util.List - getTaintsOrBuilderList() { + public java.util.List + getTaintsOrBuilderList() { if (taintsBuilder_ != null) { return taintsBuilder_.getMessageOrBuilderList(); } else { @@ -741,6 +807,8 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( } } /** + * + * *
      * List of node taints.
      * 
@@ -748,49 +816,54 @@ public com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( * repeated .google.container.v1beta1.NodeTaint taints = 1; */ public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder() { - return getTaintsFieldBuilder().addBuilder( - com.google.container.v1beta1.NodeTaint.getDefaultInstance()); + return getTaintsFieldBuilder() + .addBuilder(com.google.container.v1beta1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder( - int index) { - return getTaintsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.NodeTaint.getDefaultInstance()); + public com.google.container.v1beta1.NodeTaint.Builder addTaintsBuilder(int index) { + return getTaintsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.NodeTaint.getDefaultInstance()); } /** + * + * *
      * List of node taints.
      * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - public java.util.List - getTaintsBuilderList() { + public java.util.List getTaintsBuilderList() { return getTaintsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder> + com.google.container.v1beta1.NodeTaint, + com.google.container.v1beta1.NodeTaint.Builder, + com.google.container.v1beta1.NodeTaintOrBuilder> getTaintsFieldBuilder() { if (taintsBuilder_ == null) { - taintsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.NodeTaint, com.google.container.v1beta1.NodeTaint.Builder, com.google.container.v1beta1.NodeTaintOrBuilder>( - taints_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + taintsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.NodeTaint, + com.google.container.v1beta1.NodeTaint.Builder, + com.google.container.v1beta1.NodeTaintOrBuilder>( + taints_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); taints_ = null; } return taintsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -800,12 +873,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NodeTaints) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NodeTaints) private static final com.google.container.v1beta1.NodeTaints DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NodeTaints(); } @@ -814,27 +887,27 @@ public static com.google.container.v1beta1.NodeTaints getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeTaints parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeTaints parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -849,6 +922,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NodeTaints getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java similarity index 60% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java index ada0c3ba4710..6aa7d65d2686 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NodeTaintsOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NodeTaintsOrBuilder extends +public interface NodeTaintsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NodeTaints) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of node taints.
    * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - java.util.List - getTaintsList(); + java.util.List getTaintsList(); /** + * + * *
    * List of node taints.
    * 
@@ -25,6 +44,8 @@ public interface NodeTaintsOrBuilder extends */ com.google.container.v1beta1.NodeTaint getTaints(int index); /** + * + * *
    * List of node taints.
    * 
@@ -33,21 +54,24 @@ public interface NodeTaintsOrBuilder extends */ int getTaintsCount(); /** + * + * *
    * List of node taints.
    * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - java.util.List + java.util.List getTaintsOrBuilderList(); /** + * + * *
    * List of node taints.
    * 
* * repeated .google.container.v1beta1.NodeTaint taints = 1; */ - com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder( - int index); + com.google.container.v1beta1.NodeTaintOrBuilder getTaintsOrBuilder(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java index b067d4639677..f94107e1d130 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfig.java @@ -1,53 +1,73 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * NotificationConfig is the configuration of notifications.
  * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig} */ -public final class NotificationConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NotificationConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NotificationConfig) NotificationConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NotificationConfig.newBuilder() to construct. private NotificationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NotificationConfig() { - } + + private NotificationConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NotificationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.class, com.google.container.v1beta1.NotificationConfig.Builder.class); + com.google.container.v1beta1.NotificationConfig.class, + com.google.container.v1beta1.NotificationConfig.Builder.class); } /** + * + * *
    * Types of notifications currently supported. Can be used to filter what
    * notifications are sent.
@@ -55,9 +75,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1beta1.NotificationConfig.EventType}
    */
-  public enum EventType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum EventType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set, will be ignored.
      * 
@@ -66,6 +87,8 @@ public enum EventType */ EVENT_TYPE_UNSPECIFIED(0), /** + * + * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -74,6 +97,8 @@ public enum EventType */ UPGRADE_AVAILABLE_EVENT(1), /** + * + * *
      * Corresponds with UpgradeEvent.
      * 
@@ -82,6 +107,8 @@ public enum EventType */ UPGRADE_EVENT(2), /** + * + * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -93,6 +120,8 @@ public enum EventType ; /** + * + * *
      * Not set, will be ignored.
      * 
@@ -101,6 +130,8 @@ public enum EventType */ public static final int EVENT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Corresponds with UpgradeAvailableEvent.
      * 
@@ -109,6 +140,8 @@ public enum EventType */ public static final int UPGRADE_AVAILABLE_EVENT_VALUE = 1; /** + * + * *
      * Corresponds with UpgradeEvent.
      * 
@@ -117,6 +150,8 @@ public enum EventType */ public static final int UPGRADE_EVENT_VALUE = 2; /** + * + * *
      * Corresponds with SecurityBulletinEvent.
      * 
@@ -125,7 +160,6 @@ public enum EventType */ public static final int SECURITY_BULLETIN_EVENT_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -150,50 +184,51 @@ public static EventType valueOf(int value) { */ public static EventType forNumber(int value) { switch (value) { - case 0: return EVENT_TYPE_UNSPECIFIED; - case 1: return UPGRADE_AVAILABLE_EVENT; - case 2: return UPGRADE_EVENT; - case 3: return SECURITY_BULLETIN_EVENT; - default: return null; + case 0: + return EVENT_TYPE_UNSPECIFIED; + case 1: + return UPGRADE_AVAILABLE_EVENT; + case 2: + return UPGRADE_EVENT; + case 3: + return SECURITY_BULLETIN_EVENT; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - EventType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public EventType findValueByNumber(int number) { - return EventType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EventType findValueByNumber(int number) { + return EventType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.NotificationConfig.getDescriptor().getEnumTypes().get(0); } private static final EventType[] VALUES = values(); - public static EventType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -210,43 +245,54 @@ private EventType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1beta1.NotificationConfig.EventType) } - public interface PubSubOrBuilder extends + public interface PubSubOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NotificationConfig.PubSub) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The topic. */ java.lang.String getTopic(); /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topic. */ - com.google.protobuf.ByteString - getTopicBytes(); + com.google.protobuf.ByteString getTopicBytes(); /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -254,10 +300,13 @@ public interface PubSubOrBuilder extends
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -265,10 +314,13 @@ public interface PubSubOrBuilder extends
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; + * * @return The filter. */ com.google.container.v1beta1.NotificationConfig.Filter getFilter(); /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -280,58 +332,65 @@ public interface PubSubOrBuilder extends
     com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilterOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Pub/Sub specific notification config.
    * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig.PubSub} */ - public static final class PubSub extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PubSub extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.NotificationConfig.PubSub) PubSubOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PubSub.newBuilder() to construct. private PubSub(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PubSub() { topic_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PubSub(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.PubSub.class, com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1beta1.NotificationConfig.PubSub.class, + com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
      * Enable notifications for Pub/Sub.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -342,12 +401,15 @@ public boolean getEnabled() { public static final int TOPIC_FIELD_NUMBER = 2; private volatile java.lang.Object topic_; /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The topic. */ @java.lang.Override @@ -356,30 +418,30 @@ public java.lang.String getTopic() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; } } /** + * + * *
      * The desired Pub/Sub topic to which notifications will be
      * sent by GKE. Format is `projects/{project}/topics/{topic}`.
      * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topic. */ @java.lang.Override - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -390,6 +452,8 @@ public java.lang.String getTopic() { public static final int FILTER_FIELD_NUMBER = 3; private com.google.container.v1beta1.NotificationConfig.Filter filter_; /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -397,6 +461,7 @@ public java.lang.String getTopic() {
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -404,6 +469,8 @@ public boolean hasFilter() { return filter_ != null; } /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -411,13 +478,18 @@ public boolean hasFilter() {
      * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; + * * @return The filter. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig.Filter getFilter() { - return filter_ == null ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() : filter_; + return filter_ == null + ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() + : filter_; } /** + * + * *
      * Allows filtering to one or more specific event types. If no filter is
      * specified, or if a filter is specified with no event types, all event
@@ -432,6 +504,7 @@ public com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilter
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -443,8 +516,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (enabled_ != false) {
         output.writeBool(1, enabled_);
       }
@@ -464,15 +536,13 @@ public int getSerializedSize() {
 
       size = 0;
       if (enabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(1, enabled_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_);
       }
       if (filter_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, getFilter());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -482,21 +552,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.container.v1beta1.NotificationConfig.PubSub)) {
         return super.equals(obj);
       }
-      com.google.container.v1beta1.NotificationConfig.PubSub other = (com.google.container.v1beta1.NotificationConfig.PubSub) obj;
+      com.google.container.v1beta1.NotificationConfig.PubSub other =
+          (com.google.container.v1beta1.NotificationConfig.PubSub) obj;
 
-      if (getEnabled()
-          != other.getEnabled()) return false;
-      if (!getTopic()
-          .equals(other.getTopic())) return false;
+      if (getEnabled() != other.getEnabled()) return false;
+      if (!getTopic().equals(other.getTopic())) return false;
       if (hasFilter() != other.hasFilter()) return false;
       if (hasFilter()) {
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -510,8 +578,7 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + ENABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getEnabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled());
       hash = (37 * hash) + TOPIC_FIELD_NUMBER;
       hash = (53 * hash) + getTopic().hashCode();
       if (hasFilter()) {
@@ -524,87 +591,94 @@ public int hashCode() {
     }
 
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        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.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
         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.NotificationConfig.PubSub parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.container.v1beta1.NotificationConfig.PubSub parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.container.v1beta1.NotificationConfig.PubSub parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
+
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.container.v1beta1.NotificationConfig.PubSub parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.container.v1beta1.NotificationConfig.PubSub prototype) {
+
+    public static Builder newBuilder(
+        com.google.container.v1beta1.NotificationConfig.PubSub prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -614,39 +688,41 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Pub/Sub specific notification config.
      * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig.PubSub} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NotificationConfig.PubSub) com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.PubSub.class, com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); + com.google.container.v1beta1.NotificationConfig.PubSub.class, + com.google.container.v1beta1.NotificationConfig.PubSub.Builder.class); } // Construct using com.google.container.v1beta1.NotificationConfig.PubSub.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -664,9 +740,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; } @java.lang.Override @@ -685,7 +761,8 @@ public com.google.container.v1beta1.NotificationConfig.PubSub build() { @java.lang.Override public com.google.container.v1beta1.NotificationConfig.PubSub buildPartial() { - com.google.container.v1beta1.NotificationConfig.PubSub result = new com.google.container.v1beta1.NotificationConfig.PubSub(this); + com.google.container.v1beta1.NotificationConfig.PubSub result = + new com.google.container.v1beta1.NotificationConfig.PubSub(this); result.enabled_ = enabled_; result.topic_ = topic_; if (filterBuilder_ == null) { @@ -701,38 +778,41 @@ public com.google.container.v1beta1.NotificationConfig.PubSub buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NotificationConfig.PubSub) { - return mergeFrom((com.google.container.v1beta1.NotificationConfig.PubSub)other); + return mergeFrom((com.google.container.v1beta1.NotificationConfig.PubSub) other); } else { super.mergeFrom(other); return this; @@ -740,7 +820,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NotificationConfig.PubSub other) { - if (other == com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -777,29 +858,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - case 18: { - topic_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getFilterFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + case 18: + { + topic_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -810,13 +893,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -824,30 +910,36 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
        * Enable notifications for Pub/Sub.
        * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -855,19 +947,21 @@ public Builder clearEnabled() { private java.lang.Object topic_ = ""; /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The topic. */ public java.lang.String getTopic() { java.lang.Object ref = topic_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); topic_ = s; return s; @@ -876,21 +970,22 @@ public java.lang.String getTopic() { } } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return The bytes for topic. */ - public com.google.protobuf.ByteString - getTopicBytes() { + public com.google.protobuf.ByteString getTopicBytes() { java.lang.Object ref = topic_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); topic_ = b; return b; } else { @@ -898,57 +993,64 @@ public java.lang.String getTopic() { } } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @param value The topic to set. * @return This builder for chaining. */ - public Builder setTopic( - java.lang.String value) { + public Builder setTopic(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + topic_ = value; onChanged(); return this; } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTopic() { - + topic_ = getDefaultInstance().getTopic(); onChanged(); return this; } /** + * + * *
        * The desired Pub/Sub topic to which notifications will be
        * sent by GKE. Format is `projects/{project}/topics/{topic}`.
        * 
* * string topic = 2 [(.google.api.resource_reference) = { ... } + * * @param value The bytes for topic to set. * @return This builder for chaining. */ - public Builder setTopicBytes( - com.google.protobuf.ByteString value) { + public Builder setTopicBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + topic_ = value; onChanged(); return this; @@ -956,8 +1058,13 @@ public Builder setTopicBytes( private com.google.container.v1beta1.NotificationConfig.Filter filter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.Filter, com.google.container.v1beta1.NotificationConfig.Filter.Builder, com.google.container.v1beta1.NotificationConfig.FilterOrBuilder> filterBuilder_; + com.google.container.v1beta1.NotificationConfig.Filter, + com.google.container.v1beta1.NotificationConfig.Filter.Builder, + com.google.container.v1beta1.NotificationConfig.FilterOrBuilder> + filterBuilder_; /** + * + * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -965,12 +1072,15 @@ public Builder setTopicBytes(
        * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; + * * @return Whether the filter field is set. */ public boolean hasFilter() { return filterBuilder_ != null || filter_ != null; } /** + * + * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -978,16 +1088,21 @@ public boolean hasFilter() {
        * 
* * .google.container.v1beta1.NotificationConfig.Filter filter = 3; + * * @return The filter. */ public com.google.container.v1beta1.NotificationConfig.Filter getFilter() { if (filterBuilder_ == null) { - return filter_ == null ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() : filter_; + return filter_ == null + ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() + : filter_; } else { return filterBuilder_.getMessage(); } } /** + * + * *
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1010,6 +1125,8 @@ public Builder setFilter(com.google.container.v1beta1.NotificationConfig.Filter
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1030,6 +1147,8 @@ public Builder setFilter(
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1042,7 +1161,9 @@ public Builder mergeFilter(com.google.container.v1beta1.NotificationConfig.Filte
         if (filterBuilder_ == null) {
           if (filter_ != null) {
             filter_ =
-              com.google.container.v1beta1.NotificationConfig.Filter.newBuilder(filter_).mergeFrom(value).buildPartial();
+                com.google.container.v1beta1.NotificationConfig.Filter.newBuilder(filter_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             filter_ = value;
           }
@@ -1054,6 +1175,8 @@ public Builder mergeFilter(com.google.container.v1beta1.NotificationConfig.Filte
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1074,6 +1197,8 @@ public Builder clearFilter() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1083,11 +1208,13 @@ public Builder clearFilter() {
        * .google.container.v1beta1.NotificationConfig.Filter filter = 3;
        */
       public com.google.container.v1beta1.NotificationConfig.Filter.Builder getFilterBuilder() {
-        
+
         onChanged();
         return getFilterFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1100,11 +1227,14 @@ public com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilter
         if (filterBuilder_ != null) {
           return filterBuilder_.getMessageOrBuilder();
         } else {
-          return filter_ == null ?
-              com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance() : filter_;
+          return filter_ == null
+              ? com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance()
+              : filter_;
         }
       }
       /**
+       *
+       *
        * 
        * Allows filtering to one or more specific event types. If no filter is
        * specified, or if a filter is specified with no event types, all event
@@ -1114,18 +1244,22 @@ public com.google.container.v1beta1.NotificationConfig.FilterOrBuilder getFilter
        * .google.container.v1beta1.NotificationConfig.Filter filter = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.container.v1beta1.NotificationConfig.Filter, com.google.container.v1beta1.NotificationConfig.Filter.Builder, com.google.container.v1beta1.NotificationConfig.FilterOrBuilder> 
+              com.google.container.v1beta1.NotificationConfig.Filter,
+              com.google.container.v1beta1.NotificationConfig.Filter.Builder,
+              com.google.container.v1beta1.NotificationConfig.FilterOrBuilder>
           getFilterFieldBuilder() {
         if (filterBuilder_ == null) {
-          filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.container.v1beta1.NotificationConfig.Filter, com.google.container.v1beta1.NotificationConfig.Filter.Builder, com.google.container.v1beta1.NotificationConfig.FilterOrBuilder>(
-                  getFilter(),
-                  getParentForChildren(),
-                  isClean());
+          filterBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.container.v1beta1.NotificationConfig.Filter,
+                  com.google.container.v1beta1.NotificationConfig.Filter.Builder,
+                  com.google.container.v1beta1.NotificationConfig.FilterOrBuilder>(
+                  getFilter(), getParentForChildren(), isClean());
           filter_ = null;
         }
         return filterBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1138,12 +1272,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NotificationConfig.PubSub)
     }
 
     // @@protoc_insertion_point(class_scope:google.container.v1beta1.NotificationConfig.PubSub)
     private static final com.google.container.v1beta1.NotificationConfig.PubSub DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.container.v1beta1.NotificationConfig.PubSub();
     }
@@ -1152,27 +1286,28 @@ public static com.google.container.v1beta1.NotificationConfig.PubSub getDefaultI
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public PubSub parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        Builder builder = newBuilder();
-        try {
-          builder.mergeFrom(input, extensionRegistry);
-        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          throw e.setUnfinishedMessage(builder.buildPartial());
-        } catch (com.google.protobuf.UninitializedMessageException e) {
-          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-        } catch (java.io.IOException e) {
-          throw new com.google.protobuf.InvalidProtocolBufferException(e)
-              .setUnfinishedMessage(builder.buildPartial());
-        }
-        return builder.buildPartial();
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public PubSub parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            Builder builder = newBuilder();
+            try {
+              builder.mergeFrom(input, extensionRegistry);
+            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+              throw e.setUnfinishedMessage(builder.buildPartial());
+            } catch (com.google.protobuf.UninitializedMessageException e) {
+              throw e.asInvalidProtocolBufferException()
+                  .setUnfinishedMessage(builder.buildPartial());
+            } catch (java.io.IOException e) {
+              throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                  .setUnfinishedMessage(builder.buildPartial());
+            }
+            return builder.buildPartial();
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1187,63 +1322,79 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.container.v1beta1.NotificationConfig.PubSub getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface FilterOrBuilder extends
+  public interface FilterOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NotificationConfig.Filter)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the eventType. */ java.util.List getEventTypeList(); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @return The count of eventType. */ int getEventTypeCount(); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the element to return. * @return The eventType at the given index. */ com.google.container.v1beta1.NotificationConfig.EventType getEventType(int index); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the enum numeric values on the wire for eventType. */ - java.util.List - getEventTypeValueList(); + java.util.List getEventTypeValueList(); /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ int getEventTypeValue(int index); } /** + * + * *
    * Allows filtering to one or more specific event types. If event types are
    * present, those and only those event types will be transmitted to the
@@ -1253,75 +1404,90 @@ public interface FilterOrBuilder extends
    *
    * Protobuf type {@code google.container.v1beta1.NotificationConfig.Filter}
    */
-  public static final class Filter extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Filter extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.container.v1beta1.NotificationConfig.Filter)
       FilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Filter.newBuilder() to construct.
     private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Filter() {
       eventType_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Filter();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.NotificationConfig.Filter.class, com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
+              com.google.container.v1beta1.NotificationConfig.Filter.class,
+              com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
     }
 
     public static final int EVENT_TYPE_FIELD_NUMBER = 1;
     private java.util.List eventType_;
     private static final com.google.protobuf.Internal.ListAdapter.Converter<
-        java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType> eventType_converter_ =
+            java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>
+        eventType_converter_ =
             new com.google.protobuf.Internal.ListAdapter.Converter<
                 java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>() {
-              public com.google.container.v1beta1.NotificationConfig.EventType convert(java.lang.Integer from) {
+              public com.google.container.v1beta1.NotificationConfig.EventType convert(
+                  java.lang.Integer from) {
                 @SuppressWarnings("deprecation")
-                com.google.container.v1beta1.NotificationConfig.EventType result = com.google.container.v1beta1.NotificationConfig.EventType.valueOf(from);
-                return result == null ? com.google.container.v1beta1.NotificationConfig.EventType.UNRECOGNIZED : result;
+                com.google.container.v1beta1.NotificationConfig.EventType result =
+                    com.google.container.v1beta1.NotificationConfig.EventType.valueOf(from);
+                return result == null
+                    ? com.google.container.v1beta1.NotificationConfig.EventType.UNRECOGNIZED
+                    : result;
               }
             };
     /**
+     *
+     *
      * 
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the eventType. */ @java.lang.Override - public java.util.List getEventTypeList() { + public java.util.List + getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>(eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>( + eventType_, eventType_converter_); } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @return The count of eventType. */ @java.lang.Override @@ -1329,11 +1495,14 @@ public int getEventTypeCount() { return eventType_.size(); } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1342,24 +1511,29 @@ public com.google.container.v1beta1.NotificationConfig.EventType getEventType(in return eventType_converter_.convert(eventType_.get(index)); } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @return A list containing the enum numeric values on the wire for eventType. */ @java.lang.Override - public java.util.List - getEventTypeValueList() { + public java.util.List getEventTypeValueList() { return eventType_; } /** + * + * *
      * Event types to allowlist.
      * 
* * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -1367,9 +1541,11 @@ public com.google.container.v1beta1.NotificationConfig.EventType getEventType(in public int getEventTypeValue(int index) { return eventType_.get(index); } + private int eventTypeMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1381,8 +1557,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getEventTypeList().size() > 0) { output.writeUInt32NoTag(10); @@ -1403,14 +1578,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < eventType_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(eventType_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(eventType_.get(i)); } size += dataSize; - if (!getEventTypeList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }eventTypeMemoizedSerializedSize = dataSize; + if (!getEventTypeList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + eventTypeMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1420,12 +1595,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NotificationConfig.Filter)) { return super.equals(obj); } - com.google.container.v1beta1.NotificationConfig.Filter other = (com.google.container.v1beta1.NotificationConfig.Filter) obj; + com.google.container.v1beta1.NotificationConfig.Filter other = + (com.google.container.v1beta1.NotificationConfig.Filter) obj; if (!eventType_.equals(other.eventType_)) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1449,87 +1625,94 @@ public int hashCode() { } public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig.Filter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( 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.NotificationConfig.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NotificationConfig.Filter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NotificationConfig.Filter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NotificationConfig.Filter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NotificationConfig.Filter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.NotificationConfig.Filter prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.NotificationConfig.Filter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1539,6 +1722,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Allows filtering to one or more specific event types. If event types are
      * present, those and only those event types will be transmitted to the
@@ -1548,33 +1733,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.container.v1beta1.NotificationConfig.Filter}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NotificationConfig.Filter)
         com.google.container.v1beta1.NotificationConfig.FilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.container.v1beta1.NotificationConfig.Filter.class, com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
+                com.google.container.v1beta1.NotificationConfig.Filter.class,
+                com.google.container.v1beta1.NotificationConfig.Filter.Builder.class);
       }
 
       // Construct using com.google.container.v1beta1.NotificationConfig.Filter.newBuilder()
-      private Builder() {
-
-      }
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1584,9 +1769,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.container.v1beta1.ClusterServiceProto
+            .internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor;
       }
 
       @java.lang.Override
@@ -1605,7 +1790,8 @@ public com.google.container.v1beta1.NotificationConfig.Filter build() {
 
       @java.lang.Override
       public com.google.container.v1beta1.NotificationConfig.Filter buildPartial() {
-        com.google.container.v1beta1.NotificationConfig.Filter result = new com.google.container.v1beta1.NotificationConfig.Filter(this);
+        com.google.container.v1beta1.NotificationConfig.Filter result =
+            new com.google.container.v1beta1.NotificationConfig.Filter(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           eventType_ = java.util.Collections.unmodifiableList(eventType_);
@@ -1620,38 +1806,41 @@ public com.google.container.v1beta1.NotificationConfig.Filter buildPartial() {
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.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.NotificationConfig.Filter) {
-          return mergeFrom((com.google.container.v1beta1.NotificationConfig.Filter)other);
+          return mergeFrom((com.google.container.v1beta1.NotificationConfig.Filter) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1659,7 +1848,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.container.v1beta1.NotificationConfig.Filter other) {
-        if (other == com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance()) return this;
+        if (other == com.google.container.v1beta1.NotificationConfig.Filter.getDefaultInstance())
+          return this;
         if (!other.eventType_.isEmpty()) {
           if (eventType_.isEmpty()) {
             eventType_ = other.eventType_;
@@ -1696,29 +1886,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8: {
-                int tmpRaw = input.readEnum();
-                ensureEventTypeIsMutable();
-                eventType_.add(tmpRaw);
-                break;
-              } // case 8
-              case 10: {
-                int length = input.readRawVarint32();
-                int oldLimit = input.pushLimit(length);
-                while(input.getBytesUntilLimit() > 0) {
+              case 8:
+                {
                   int tmpRaw = input.readEnum();
                   ensureEventTypeIsMutable();
                   eventType_.add(tmpRaw);
-                }
-                input.popLimit(oldLimit);
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 8
+              case 10:
+                {
+                  int length = input.readRawVarint32();
+                  int oldLimit = input.pushLimit(length);
+                  while (input.getBytesUntilLimit() > 0) {
+                    int tmpRaw = input.readEnum();
+                    ensureEventTypeIsMutable();
+                    eventType_.add(tmpRaw);
+                  }
+                  input.popLimit(oldLimit);
+                  break;
+                } // case 10
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1728,10 +1921,11 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private java.util.List eventType_ =
-        java.util.Collections.emptyList();
+      private java.util.List eventType_ = java.util.Collections.emptyList();
+
       private void ensureEventTypeIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           eventType_ = new java.util.ArrayList(eventType_);
@@ -1739,34 +1933,48 @@ private void ensureEventTypeIsMutable() {
         }
       }
       /**
+       *
+       *
        * 
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @return A list containing the eventType. */ - public java.util.List getEventTypeList() { + public java.util.List + getEventTypeList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>(eventType_, eventType_converter_); + java.lang.Integer, com.google.container.v1beta1.NotificationConfig.EventType>( + eventType_, eventType_converter_); } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @return The count of eventType. */ public int getEventTypeCount() { return eventType_.size(); } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param index The index of the element to return. * @return The eventType at the given index. */ @@ -1774,11 +1982,15 @@ public com.google.container.v1beta1.NotificationConfig.EventType getEventType(in return eventType_converter_.convert(eventType_.get(index)); } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param index The index to set the value at. * @param value The eventType to set. * @return This builder for chaining. @@ -1794,11 +2006,15 @@ public Builder setEventType( return this; } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param value The eventType to add. * @return This builder for chaining. */ @@ -1812,16 +2028,21 @@ public Builder addEventType(com.google.container.v1beta1.NotificationConfig.Even return this; } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param values The eventType to add. * @return This builder for chaining. */ public Builder addAllEventType( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureEventTypeIsMutable(); for (com.google.container.v1beta1.NotificationConfig.EventType value : values) { eventType_.add(value.getNumber()); @@ -1830,11 +2051,15 @@ public Builder addAllEventType( return this; } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @return This builder for chaining. */ public Builder clearEventType() { @@ -1844,23 +2069,30 @@ public Builder clearEventType() { return this; } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @return A list containing the enum numeric values on the wire for eventType. */ - public java.util.List - getEventTypeValueList() { + public java.util.List getEventTypeValueList() { return java.util.Collections.unmodifiableList(eventType_); } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param index The index of the value to return. * @return The enum numeric value on the wire of eventType at the given index. */ @@ -1868,28 +2100,35 @@ public int getEventTypeValue(int index) { return eventType_.get(index); } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param index The index to set the value at. * @param value The enum numeric value on the wire for eventType to set. * @return This builder for chaining. */ - public Builder setEventTypeValue( - int index, int value) { + public Builder setEventTypeValue(int index, int value) { ensureEventTypeIsMutable(); eventType_.set(index, value); onChanged(); return this; } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param value The enum numeric value on the wire for eventType to add. * @return This builder for chaining. */ @@ -1900,16 +2139,19 @@ public Builder addEventTypeValue(int value) { return this; } /** + * + * *
        * Event types to allowlist.
        * 
* - * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * repeated .google.container.v1beta1.NotificationConfig.EventType event_type = 1; + * + * * @param values The enum numeric values on the wire for eventType to add. * @return This builder for chaining. */ - public Builder addAllEventTypeValue( - java.lang.Iterable values) { + public Builder addAllEventTypeValue(java.lang.Iterable values) { ensureEventTypeIsMutable(); for (int value : values) { eventType_.add(value); @@ -1917,6 +2159,7 @@ public Builder addAllEventTypeValue( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1929,12 +2172,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NotificationConfig.Filter) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NotificationConfig.Filter) private static final com.google.container.v1beta1.NotificationConfig.Filter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NotificationConfig.Filter(); } @@ -1943,27 +2186,28 @@ public static com.google.container.v1beta1.NotificationConfig.Filter getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Filter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Filter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1978,17 +2222,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NotificationConfig.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PUBSUB_FIELD_NUMBER = 1; private com.google.container.v1beta1.NotificationConfig.PubSub pubsub_; /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; + * * @return Whether the pubsub field is set. */ @java.lang.Override @@ -1996,18 +2242,25 @@ public boolean hasPubsub() { return pubsub_ != null; } /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; + * * @return The pubsub. */ @java.lang.Override public com.google.container.v1beta1.NotificationConfig.PubSub getPubsub() { - return pubsub_ == null ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; + return pubsub_ == null + ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() + : pubsub_; } /** + * + * *
    * Notification config for Pub/Sub.
    * 
@@ -2020,6 +2273,7 @@ public com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder getPubsub } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2031,8 +2285,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (pubsub_ != null) { output.writeMessage(1, getPubsub()); } @@ -2046,8 +2299,7 @@ public int getSerializedSize() { size = 0; if (pubsub_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getPubsub()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPubsub()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2057,17 +2309,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.NotificationConfig)) { return super.equals(obj); } - com.google.container.v1beta1.NotificationConfig other = (com.google.container.v1beta1.NotificationConfig) obj; + com.google.container.v1beta1.NotificationConfig other = + (com.google.container.v1beta1.NotificationConfig) obj; if (hasPubsub() != other.hasPubsub()) return false; if (hasPubsub()) { - if (!getPubsub() - .equals(other.getPubsub())) return false; + if (!getPubsub().equals(other.getPubsub())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2089,130 +2341,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.NotificationConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.NotificationConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NotificationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.NotificationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NotificationConfig parseFrom( 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.NotificationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.NotificationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.NotificationConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NotificationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.NotificationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.NotificationConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NotificationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.NotificationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.NotificationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.NotificationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * NotificationConfig is the configuration of notifications.
    * 
* * Protobuf type {@code google.container.v1beta1.NotificationConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.NotificationConfig) com.google.container.v1beta1.NotificationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.NotificationConfig.class, com.google.container.v1beta1.NotificationConfig.Builder.class); + com.google.container.v1beta1.NotificationConfig.class, + com.google.container.v1beta1.NotificationConfig.Builder.class); } // Construct using com.google.container.v1beta1.NotificationConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2226,9 +2484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_NotificationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_NotificationConfig_descriptor; } @java.lang.Override @@ -2247,7 +2505,8 @@ public com.google.container.v1beta1.NotificationConfig build() { @java.lang.Override public com.google.container.v1beta1.NotificationConfig buildPartial() { - com.google.container.v1beta1.NotificationConfig result = new com.google.container.v1beta1.NotificationConfig(this); + com.google.container.v1beta1.NotificationConfig result = + new com.google.container.v1beta1.NotificationConfig(this); if (pubsubBuilder_ == null) { result.pubsub_ = pubsub_; } else { @@ -2261,38 +2520,39 @@ public com.google.container.v1beta1.NotificationConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.NotificationConfig) { - return mergeFrom((com.google.container.v1beta1.NotificationConfig)other); + return mergeFrom((com.google.container.v1beta1.NotificationConfig) other); } else { super.mergeFrom(other); return this; @@ -2300,7 +2560,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.NotificationConfig other) { - if (other == com.google.container.v1beta1.NotificationConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.NotificationConfig.getDefaultInstance()) + return this; if (other.hasPubsub()) { mergePubsub(other.getPubsub()); } @@ -2330,19 +2591,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPubsubFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getPubsubFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -2355,34 +2616,47 @@ public Builder mergeFrom( private com.google.container.v1beta1.NotificationConfig.PubSub pubsub_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.PubSub, com.google.container.v1beta1.NotificationConfig.PubSub.Builder, com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> pubsubBuilder_; + com.google.container.v1beta1.NotificationConfig.PubSub, + com.google.container.v1beta1.NotificationConfig.PubSub.Builder, + com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> + pubsubBuilder_; /** + * + * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; + * * @return Whether the pubsub field is set. */ public boolean hasPubsub() { return pubsubBuilder_ != null || pubsub_ != null; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; + * * @return The pubsub. */ public com.google.container.v1beta1.NotificationConfig.PubSub getPubsub() { if (pubsubBuilder_ == null) { - return pubsub_ == null ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; + return pubsub_ == null + ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() + : pubsub_; } else { return pubsubBuilder_.getMessage(); } } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2403,6 +2677,8 @@ public Builder setPubsub(com.google.container.v1beta1.NotificationConfig.PubSub return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2421,6 +2697,8 @@ public Builder setPubsub( return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2431,7 +2709,9 @@ public Builder mergePubsub(com.google.container.v1beta1.NotificationConfig.PubSu if (pubsubBuilder_ == null) { if (pubsub_ != null) { pubsub_ = - com.google.container.v1beta1.NotificationConfig.PubSub.newBuilder(pubsub_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NotificationConfig.PubSub.newBuilder(pubsub_) + .mergeFrom(value) + .buildPartial(); } else { pubsub_ = value; } @@ -2443,6 +2723,8 @@ public Builder mergePubsub(com.google.container.v1beta1.NotificationConfig.PubSu return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2461,6 +2743,8 @@ public Builder clearPubsub() { return this; } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2468,11 +2752,13 @@ public Builder clearPubsub() { * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; */ public com.google.container.v1beta1.NotificationConfig.PubSub.Builder getPubsubBuilder() { - + onChanged(); return getPubsubFieldBuilder().getBuilder(); } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2483,11 +2769,14 @@ public com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder getPubsub if (pubsubBuilder_ != null) { return pubsubBuilder_.getMessageOrBuilder(); } else { - return pubsub_ == null ? - com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() : pubsub_; + return pubsub_ == null + ? com.google.container.v1beta1.NotificationConfig.PubSub.getDefaultInstance() + : pubsub_; } } /** + * + * *
      * Notification config for Pub/Sub.
      * 
@@ -2495,21 +2784,24 @@ public com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder getPubsub * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.PubSub, com.google.container.v1beta1.NotificationConfig.PubSub.Builder, com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> + com.google.container.v1beta1.NotificationConfig.PubSub, + com.google.container.v1beta1.NotificationConfig.PubSub.Builder, + com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder> getPubsubFieldBuilder() { if (pubsubBuilder_ == null) { - pubsubBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NotificationConfig.PubSub, com.google.container.v1beta1.NotificationConfig.PubSub.Builder, com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder>( - getPubsub(), - getParentForChildren(), - isClean()); + pubsubBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NotificationConfig.PubSub, + com.google.container.v1beta1.NotificationConfig.PubSub.Builder, + com.google.container.v1beta1.NotificationConfig.PubSubOrBuilder>( + getPubsub(), getParentForChildren(), isClean()); pubsub_ = null; } return pubsubBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2519,12 +2811,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.NotificationConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.NotificationConfig) private static final com.google.container.v1beta1.NotificationConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.NotificationConfig(); } @@ -2533,27 +2825,27 @@ public static com.google.container.v1beta1.NotificationConfig getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NotificationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NotificationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2568,6 +2860,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.NotificationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java similarity index 59% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java index 79525d8c78b9..391cc1eb7f33 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NotificationConfigOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface NotificationConfigOrBuilder extends +public interface NotificationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NotificationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; + * * @return Whether the pubsub field is set. */ boolean hasPubsub(); /** + * + * *
    * Notification config for Pub/Sub.
    * 
* * .google.container.v1beta1.NotificationConfig.PubSub pubsub = 1; + * * @return The pubsub. */ com.google.container.v1beta1.NotificationConfig.PubSub getPubsub(); /** + * + * *
    * Notification config for Pub/Sub.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/Operation.java index 242db4f6ce1a..9426ab083334 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * This operation resource represents operations that may have happened or are
  * happening on the cluster. All fields are output only.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.Operation}
  */
-public final class Operation extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Operation extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.Operation)
     OperationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Operation.newBuilder() to construct.
   private Operation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Operation() {
     name_ = "";
     zone_ = "";
@@ -38,39 +56,43 @@ private Operation() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Operation();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_Operation_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_Operation_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.Operation.class, com.google.container.v1beta1.Operation.Builder.class);
+            com.google.container.v1beta1.Operation.class,
+            com.google.container.v1beta1.Operation.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Current status of the operation.
    * 
* * Protobuf enum {@code google.container.v1beta1.Operation.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -79,6 +101,8 @@ public enum Status */ STATUS_UNSPECIFIED(0), /** + * + * *
      * The operation has been created.
      * 
@@ -87,6 +111,8 @@ public enum Status */ PENDING(1), /** + * + * *
      * The operation is currently running.
      * 
@@ -95,6 +121,8 @@ public enum Status */ RUNNING(2), /** + * + * *
      * The operation is done, either cancelled or completed.
      * 
@@ -103,6 +131,8 @@ public enum Status */ DONE(3), /** + * + * *
      * The operation is aborting.
      * 
@@ -114,6 +144,8 @@ public enum Status ; /** + * + * *
      * Not set.
      * 
@@ -122,6 +154,8 @@ public enum Status */ public static final int STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The operation has been created.
      * 
@@ -130,6 +164,8 @@ public enum Status */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The operation is currently running.
      * 
@@ -138,6 +174,8 @@ public enum Status */ public static final int RUNNING_VALUE = 2; /** + * + * *
      * The operation is done, either cancelled or completed.
      * 
@@ -146,6 +184,8 @@ public enum Status */ public static final int DONE_VALUE = 3; /** + * + * *
      * The operation is aborting.
      * 
@@ -154,7 +194,6 @@ public enum Status */ public static final int ABORTING_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -179,51 +218,53 @@ public static Status valueOf(int value) { */ public static Status forNumber(int value) { switch (value) { - case 0: return STATUS_UNSPECIFIED; - case 1: return PENDING; - case 2: return RUNNING; - case 3: return DONE; - case 4: return ABORTING; - default: return null; + case 0: + return STATUS_UNSPECIFIED; + case 1: + return PENDING; + case 2: + return RUNNING; + case 3: + return DONE; + case 4: + return ABORTING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Status> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Status findValueByNumber(int number) { - return Status.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.Operation.getDescriptor().getEnumTypes().get(0); } private static final Status[] VALUES = values(); - public static Status valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -241,15 +282,18 @@ private Status(int value) { } /** + * + * *
    * Operation type.
    * 
* * Protobuf enum {@code google.container.v1beta1.Operation.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Not set.
      * 
@@ -258,6 +302,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
      * Cluster create.
      * 
@@ -266,6 +312,8 @@ public enum Type */ CREATE_CLUSTER(1), /** + * + * *
      * Cluster delete.
      * 
@@ -274,6 +322,8 @@ public enum Type */ DELETE_CLUSTER(2), /** + * + * *
      * A master upgrade.
      * 
@@ -282,6 +332,8 @@ public enum Type */ UPGRADE_MASTER(3), /** + * + * *
      * A node upgrade.
      * 
@@ -290,6 +342,8 @@ public enum Type */ UPGRADE_NODES(4), /** + * + * *
      * Cluster repair.
      * 
@@ -298,6 +352,8 @@ public enum Type */ REPAIR_CLUSTER(5), /** + * + * *
      * Cluster update.
      * 
@@ -306,6 +362,8 @@ public enum Type */ UPDATE_CLUSTER(6), /** + * + * *
      * Node pool create.
      * 
@@ -314,6 +372,8 @@ public enum Type */ CREATE_NODE_POOL(7), /** + * + * *
      * Node pool delete.
      * 
@@ -322,6 +382,8 @@ public enum Type */ DELETE_NODE_POOL(8), /** + * + * *
      * Set node pool management.
      * 
@@ -330,6 +392,8 @@ public enum Type */ SET_NODE_POOL_MANAGEMENT(9), /** + * + * *
      * Automatic node pool repair.
      * 
@@ -338,6 +402,8 @@ public enum Type */ AUTO_REPAIR_NODES(10), /** + * + * *
      * Automatic node upgrade.
      * 
@@ -346,6 +412,8 @@ public enum Type */ AUTO_UPGRADE_NODES(11), /** + * + * *
      * Set labels.
      * 
@@ -354,6 +422,8 @@ public enum Type */ SET_LABELS(12), /** + * + * *
      * Set/generate master auth materials
      * 
@@ -362,6 +432,8 @@ public enum Type */ SET_MASTER_AUTH(13), /** + * + * *
      * Set node pool size.
      * 
@@ -370,6 +442,8 @@ public enum Type */ SET_NODE_POOL_SIZE(14), /** + * + * *
      * Updates network policy for a cluster.
      * 
@@ -378,6 +452,8 @@ public enum Type */ SET_NETWORK_POLICY(15), /** + * + * *
      * Set the maintenance policy.
      * 
@@ -389,6 +465,8 @@ public enum Type ; /** + * + * *
      * Not set.
      * 
@@ -397,6 +475,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Cluster create.
      * 
@@ -405,6 +485,8 @@ public enum Type */ public static final int CREATE_CLUSTER_VALUE = 1; /** + * + * *
      * Cluster delete.
      * 
@@ -413,6 +495,8 @@ public enum Type */ public static final int DELETE_CLUSTER_VALUE = 2; /** + * + * *
      * A master upgrade.
      * 
@@ -421,6 +505,8 @@ public enum Type */ public static final int UPGRADE_MASTER_VALUE = 3; /** + * + * *
      * A node upgrade.
      * 
@@ -429,6 +515,8 @@ public enum Type */ public static final int UPGRADE_NODES_VALUE = 4; /** + * + * *
      * Cluster repair.
      * 
@@ -437,6 +525,8 @@ public enum Type */ public static final int REPAIR_CLUSTER_VALUE = 5; /** + * + * *
      * Cluster update.
      * 
@@ -445,6 +535,8 @@ public enum Type */ public static final int UPDATE_CLUSTER_VALUE = 6; /** + * + * *
      * Node pool create.
      * 
@@ -453,6 +545,8 @@ public enum Type */ public static final int CREATE_NODE_POOL_VALUE = 7; /** + * + * *
      * Node pool delete.
      * 
@@ -461,6 +555,8 @@ public enum Type */ public static final int DELETE_NODE_POOL_VALUE = 8; /** + * + * *
      * Set node pool management.
      * 
@@ -469,6 +565,8 @@ public enum Type */ public static final int SET_NODE_POOL_MANAGEMENT_VALUE = 9; /** + * + * *
      * Automatic node pool repair.
      * 
@@ -477,6 +575,8 @@ public enum Type */ public static final int AUTO_REPAIR_NODES_VALUE = 10; /** + * + * *
      * Automatic node upgrade.
      * 
@@ -485,6 +585,8 @@ public enum Type */ public static final int AUTO_UPGRADE_NODES_VALUE = 11; /** + * + * *
      * Set labels.
      * 
@@ -493,6 +595,8 @@ public enum Type */ public static final int SET_LABELS_VALUE = 12; /** + * + * *
      * Set/generate master auth materials
      * 
@@ -501,6 +605,8 @@ public enum Type */ public static final int SET_MASTER_AUTH_VALUE = 13; /** + * + * *
      * Set node pool size.
      * 
@@ -509,6 +615,8 @@ public enum Type */ public static final int SET_NODE_POOL_SIZE_VALUE = 14; /** + * + * *
      * Updates network policy for a cluster.
      * 
@@ -517,6 +625,8 @@ public enum Type */ public static final int SET_NETWORK_POLICY_VALUE = 15; /** + * + * *
      * Set the maintenance policy.
      * 
@@ -525,7 +635,6 @@ public enum Type */ public static final int SET_MAINTENANCE_POLICY_VALUE = 16; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -550,63 +659,77 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return CREATE_CLUSTER; - case 2: return DELETE_CLUSTER; - case 3: return UPGRADE_MASTER; - case 4: return UPGRADE_NODES; - case 5: return REPAIR_CLUSTER; - case 6: return UPDATE_CLUSTER; - case 7: return CREATE_NODE_POOL; - case 8: return DELETE_NODE_POOL; - case 9: return SET_NODE_POOL_MANAGEMENT; - case 10: return AUTO_REPAIR_NODES; - case 11: return AUTO_UPGRADE_NODES; - case 12: return SET_LABELS; - case 13: return SET_MASTER_AUTH; - case 14: return SET_NODE_POOL_SIZE; - case 15: return SET_NETWORK_POLICY; - case 16: return SET_MAINTENANCE_POLICY; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return CREATE_CLUSTER; + case 2: + return DELETE_CLUSTER; + case 3: + return UPGRADE_MASTER; + case 4: + return UPGRADE_NODES; + case 5: + return REPAIR_CLUSTER; + case 6: + return UPDATE_CLUSTER; + case 7: + return CREATE_NODE_POOL; + case 8: + return DELETE_NODE_POOL; + case 9: + return SET_NODE_POOL_MANAGEMENT; + case 10: + return AUTO_REPAIR_NODES; + case 11: + return AUTO_UPGRADE_NODES; + case 12: + return SET_LABELS; + case 13: + return SET_MASTER_AUTH; + case 14: + return SET_NODE_POOL_SIZE; + case 15: + return SET_NETWORK_POLICY; + case 16: + return SET_MAINTENANCE_POLICY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.Operation.getDescriptor().getEnumTypes().get(1); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -626,11 +749,14 @@ private Type(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -639,29 +765,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -672,6 +798,8 @@ public java.lang.String getName() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -679,24 +807,27 @@ public java.lang.String getName() {
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -704,18 +835,18 @@ public java.lang.String getName() {
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -726,65 +857,86 @@ public java.lang.String getName() { public static final int OPERATION_TYPE_FIELD_NUMBER = 3; private int operationType_; /** + * + * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @return The operationType. */ - @java.lang.Override public com.google.container.v1beta1.Operation.Type getOperationType() { + @java.lang.Override + public com.google.container.v1beta1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Type result = com.google.container.v1beta1.Operation.Type.valueOf(operationType_); + com.google.container.v1beta1.Operation.Type result = + com.google.container.v1beta1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1beta1.Operation.Type.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @return The status. */ - @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { + @java.lang.Override + public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = + com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } public static final int DETAIL_FIELD_NUMBER = 8; private volatile java.lang.Object detail_; /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The detail. */ @java.lang.Override @@ -793,29 +945,29 @@ public java.lang.String getDetail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; } } /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The bytes for detail. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailBytes() { + public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detail_ = b; return b; } else { @@ -826,48 +978,57 @@ public java.lang.String getDetail() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @return The statusMessage. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @return The bytes for statusMessage. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -878,11 +1039,14 @@ public java.lang.String getDetail() { public static final int SELF_LINK_FIELD_NUMBER = 6; private volatile java.lang.Object selfLink_; /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The selfLink. */ @java.lang.Override @@ -891,29 +1055,29 @@ public java.lang.String getSelfLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; } } /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The bytes for selfLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -924,11 +1088,14 @@ public java.lang.String getSelfLink() { public static final int TARGET_LINK_FIELD_NUMBER = 7; private volatile java.lang.Object targetLink_; /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The targetLink. */ @java.lang.Override @@ -937,29 +1104,29 @@ public java.lang.String getTargetLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; } } /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The bytes for targetLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetLinkBytes() { + public com.google.protobuf.ByteString getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetLink_ = b; return b; } else { @@ -970,6 +1137,8 @@ public java.lang.String getTargetLink() { public static final int LOCATION_FIELD_NUMBER = 9; private volatile java.lang.Object location_; /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -979,6 +1148,7 @@ public java.lang.String getTargetLink() {
    * 
* * string location = 9; + * * @return The location. */ @java.lang.Override @@ -987,14 +1157,15 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -1004,16 +1175,15 @@ public java.lang.String getLocation() {
    * 
* * string location = 9; + * * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -1024,12 +1194,15 @@ public java.lang.String getLocation() { public static final int START_TIME_FIELD_NUMBER = 10; private volatile java.lang.Object startTime_; /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The startTime. */ @java.lang.Override @@ -1038,30 +1211,30 @@ public java.lang.String getStartTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The bytes for startTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -1072,12 +1245,15 @@ public java.lang.String getStartTime() { public static final int END_TIME_FIELD_NUMBER = 11; private volatile java.lang.Object endTime_; /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The endTime. */ @java.lang.Override @@ -1086,30 +1262,30 @@ public java.lang.String getEndTime() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; } } /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The bytes for endTime. */ @java.lang.Override - public com.google.protobuf.ByteString - getEndTimeBytes() { + public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endTime_ = b; return b; } else { @@ -1120,11 +1296,16 @@ public java.lang.String getEndTime() { public static final int PROGRESS_FIELD_NUMBER = 12; private com.google.container.v1beta1.OperationProgress progress_; /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the progress field is set. */ @java.lang.Override @@ -1132,23 +1313,34 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The progress. */ @java.lang.Override public com.google.container.v1beta1.OperationProgress getProgress() { - return progress_ == null ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() + : progress_; } /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuilder() { @@ -1158,64 +1350,89 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuil public static final int CLUSTER_CONDITIONS_FIELD_NUMBER = 13; private java.util.List clusterConditions_; /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List getClusterConditionsList() { + @java.lang.Deprecated + public java.util.List getClusterConditionsList() { return clusterConditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List + @java.lang.Deprecated + public java.util.List getClusterConditionsOrBuilderList() { return clusterConditions_; } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public int getClusterConditionsCount() { + @java.lang.Deprecated + public int getClusterConditionsCount() { return clusterConditions_.size(); } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { return clusterConditions_.get(index); } /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( int index) { return clusterConditions_.get(index); } @@ -1223,64 +1440,89 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuil public static final int NODEPOOL_CONDITIONS_FIELD_NUMBER = 14; private java.util.List nodepoolConditions_; /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { + @java.lang.Deprecated + public java.util.List getNodepoolConditionsList() { return nodepoolConditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List + @java.lang.Deprecated + public java.util.List getNodepoolConditionsOrBuilderList() { return nodepoolConditions_; } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public int getNodepoolConditionsCount() { + @java.lang.Deprecated + public int getNodepoolConditionsCount() { return nodepoolConditions_.size(); } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { return nodepoolConditions_.get(index); } /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { return nodepoolConditions_.get(index); } @@ -1288,11 +1530,14 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuil public static final int ERROR_FIELD_NUMBER = 15; private com.google.rpc.Status error_; /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return Whether the error field is set. */ @java.lang.Override @@ -1300,11 +1545,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return The error. */ @java.lang.Override @@ -1312,6 +1560,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The error result of the operation in case of failure.
    * 
@@ -1324,6 +1574,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1335,15 +1586,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, zone_); } - if (operationType_ != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { + if (operationType_ + != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationType_); } if (status_ != com.google.container.v1beta1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { @@ -1397,13 +1648,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, zone_); } - if (operationType_ != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, operationType_); + if (operationType_ + != com.google.container.v1beta1.Operation.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationType_); } if (status_ != com.google.container.v1beta1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, status_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -1427,20 +1677,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, endTime_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getProgress()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getProgress()); } for (int i = 0; i < clusterConditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, clusterConditions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(13, clusterConditions_.get(i)); } for (int i = 0; i < nodepoolConditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, nodepoolConditions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(14, nodepoolConditions_.get(i)); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getError()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1450,46 +1698,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.Operation)) { return super.equals(obj); } com.google.container.v1beta1.Operation other = (com.google.container.v1beta1.Operation) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getZone() - .equals(other.getZone())) return false; + if (!getName().equals(other.getName())) return false; + if (!getZone().equals(other.getZone())) return false; if (operationType_ != other.operationType_) return false; if (status_ != other.status_) return false; - if (!getDetail() - .equals(other.getDetail())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (!getSelfLink() - .equals(other.getSelfLink())) return false; - if (!getTargetLink() - .equals(other.getTargetLink())) return false; - if (!getLocation() - .equals(other.getLocation())) return false; - if (!getStartTime() - .equals(other.getStartTime())) return false; - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getDetail().equals(other.getDetail())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (!getSelfLink().equals(other.getSelfLink())) return false; + if (!getTargetLink().equals(other.getTargetLink())) return false; + if (!getLocation().equals(other.getLocation())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress() - .equals(other.getProgress())) return false; + if (!getProgress().equals(other.getProgress())) return false; } - if (!getClusterConditionsList() - .equals(other.getClusterConditionsList())) return false; - if (!getNodepoolConditionsList() - .equals(other.getNodepoolConditionsList())) return false; + if (!getClusterConditionsList().equals(other.getClusterConditionsList())) return false; + if (!getNodepoolConditionsList().equals(other.getNodepoolConditionsList())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1545,97 +1780,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.Operation parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.Operation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Operation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.Operation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Operation parseFrom( 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.Operation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.Operation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.Operation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Operation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Operation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.Operation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.Operation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.Operation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * This operation resource represents operations that may have happened or are
    * happening on the cluster. All fields are output only.
@@ -1643,33 +1885,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.Operation}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.Operation)
       com.google.container.v1beta1.OperationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_Operation_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_Operation_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.Operation.class, com.google.container.v1beta1.Operation.Builder.class);
+              com.google.container.v1beta1.Operation.class,
+              com.google.container.v1beta1.Operation.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.Operation.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1725,9 +1966,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_Operation_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_Operation_descriptor;
     }
 
     @java.lang.Override
@@ -1746,7 +1987,8 @@ public com.google.container.v1beta1.Operation build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.Operation buildPartial() {
-      com.google.container.v1beta1.Operation result = new com.google.container.v1beta1.Operation(this);
+      com.google.container.v1beta1.Operation result =
+          new com.google.container.v1beta1.Operation(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.zone_ = zone_;
@@ -1795,38 +2037,39 @@ public com.google.container.v1beta1.Operation buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.Operation) {
-        return mergeFrom((com.google.container.v1beta1.Operation)other);
+        return mergeFrom((com.google.container.v1beta1.Operation) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1898,9 +2141,10 @@ public Builder mergeFrom(com.google.container.v1beta1.Operation other) {
             clusterConditionsBuilder_ = null;
             clusterConditions_ = other.clusterConditions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            clusterConditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getClusterConditionsFieldBuilder() : null;
+            clusterConditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getClusterConditionsFieldBuilder()
+                    : null;
           } else {
             clusterConditionsBuilder_.addAllMessages(other.clusterConditions_);
           }
@@ -1924,9 +2168,10 @@ public Builder mergeFrom(com.google.container.v1beta1.Operation other) {
             nodepoolConditionsBuilder_ = null;
             nodepoolConditions_ = other.nodepoolConditions_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            nodepoolConditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getNodepoolConditionsFieldBuilder() : null;
+            nodepoolConditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getNodepoolConditionsFieldBuilder()
+                    : null;
           } else {
             nodepoolConditionsBuilder_.addAllMessages(other.nodepoolConditions_);
           }
@@ -1961,107 +2206,117 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              operationType_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 32: {
-              status_ = input.readEnum();
-
-              break;
-            } // case 32
-            case 42: {
-              statusMessage_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              selfLink_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              targetLink_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            case 66: {
-              detail_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 66
-            case 74: {
-              location_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 82: {
-              startTime_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 82
-            case 90: {
-              endTime_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 98
-            case 106: {
-              com.google.container.v1beta1.StatusCondition m =
-                  input.readMessage(
-                      com.google.container.v1beta1.StatusCondition.parser(),
-                      extensionRegistry);
-              if (clusterConditionsBuilder_ == null) {
-                ensureClusterConditionsIsMutable();
-                clusterConditions_.add(m);
-              } else {
-                clusterConditionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 106
-            case 114: {
-              com.google.container.v1beta1.StatusCondition m =
-                  input.readMessage(
-                      com.google.container.v1beta1.StatusCondition.parser(),
-                      extensionRegistry);
-              if (nodepoolConditionsBuilder_ == null) {
-                ensureNodepoolConditionsIsMutable();
-                nodepoolConditions_.add(m);
-              } else {
-                nodepoolConditionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 114
-            case 122: {
-              input.readMessage(
-                  getErrorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 122
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                operationType_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                status_ = input.readEnum();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                statusMessage_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                selfLink_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                targetLink_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            case 66:
+              {
+                detail_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 66
+            case 74:
+              {
+                location_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 82:
+              {
+                startTime_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 82
+            case 90:
+              {
+                endTime_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 98
+            case 106:
+              {
+                com.google.container.v1beta1.StatusCondition m =
+                    input.readMessage(
+                        com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry);
+                if (clusterConditionsBuilder_ == null) {
+                  ensureClusterConditionsIsMutable();
+                  clusterConditions_.add(m);
+                } else {
+                  clusterConditionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 106
+            case 114:
+              {
+                com.google.container.v1beta1.StatusCondition m =
+                    input.readMessage(
+                        com.google.container.v1beta1.StatusCondition.parser(), extensionRegistry);
+                if (nodepoolConditionsBuilder_ == null) {
+                  ensureNodepoolConditionsIsMutable();
+                  nodepoolConditions_.add(m);
+                } else {
+                  nodepoolConditionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 114
+            case 122:
+              {
+                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 122
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2071,22 +2326,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2095,20 +2353,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2116,54 +2375,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The server-assigned ID for the operation.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2171,6 +2437,8 @@ public Builder setNameBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2178,15 +2446,16 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2195,6 +2464,8 @@ public Builder setNameBytes( } } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2202,17 +2473,17 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -2220,6 +2491,8 @@ public Builder setNameBytes( } } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2227,22 +2500,25 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2250,17 +2526,21 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2268,18 +2548,19 @@ public Builder setNameBytes(
      * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2287,51 +2568,65 @@ public Builder setNameBytes( private int operationType_ = 0; /** + * + * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { - + operationType_ = value; onChanged(); return this; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @return The operationType. */ @java.lang.Override public com.google.container.v1beta1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Type result = com.google.container.v1beta1.Operation.Type.valueOf(operationType_); + com.google.container.v1beta1.Operation.Type result = + com.google.container.v1beta1.Operation.Type.valueOf(operationType_); return result == null ? com.google.container.v1beta1.Operation.Type.UNRECOGNIZED : result; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @param value The operationType to set. * @return This builder for chaining. */ @@ -2339,21 +2634,24 @@ public Builder setOperationType(com.google.container.v1beta1.Operation.Type valu if (value == null) { throw new NullPointerException(); } - + operationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The operation type.
      * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @return This builder for chaining. */ public Builder clearOperationType() { - + operationType_ = 0; onChanged(); return this; @@ -2361,51 +2659,65 @@ public Builder clearOperationType() { private int status_ = 0; /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = + com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @param value The status to set. * @return This builder for chaining. */ @@ -2413,21 +2725,24 @@ public Builder setStatus(com.google.container.v1beta1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The current status of the operation.
      * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; @@ -2435,18 +2750,20 @@ public Builder clearStatus() { private java.lang.Object detail_ = ""; /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @return The detail. */ public java.lang.String getDetail() { java.lang.Object ref = detail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); detail_ = s; return s; @@ -2455,20 +2772,21 @@ public java.lang.String getDetail() { } } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @return The bytes for detail. */ - public com.google.protobuf.ByteString - getDetailBytes() { + public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); detail_ = b; return b; } else { @@ -2476,54 +2794,61 @@ public java.lang.String getDetail() { } } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @param value The detail to set. * @return This builder for chaining. */ - public Builder setDetail( - java.lang.String value) { + public Builder setDetail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + detail_ = value; onChanged(); return this; } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @return This builder for chaining. */ public Builder clearDetail() { - + detail_ = getDefaultInstance().getDetail(); onChanged(); return this; } /** + * + * *
      * Detailed operation progress, if available.
      * 
* * string detail = 8; + * * @param value The bytes for detail to set. * @return This builder for chaining. */ - public Builder setDetailBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + detail_ = value; onChanged(); return this; @@ -2531,21 +2856,26 @@ public Builder setDetailBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @return The statusMessage. */ - @java.lang.Deprecated public java.lang.String getStatusMessage() { + @java.lang.Deprecated + public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -2554,23 +2884,27 @@ public Builder setDetailBytes( } } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @return The bytes for statusMessage. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getStatusMessageBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -2578,63 +2912,79 @@ public Builder setDetailBytes( } } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @param value The statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessage( - java.lang.String value) { + @java.lang.Deprecated + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearStatusMessage() { - + @java.lang.Deprecated + public Builder clearStatusMessage() { + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * Output only. If an error has occurred, a textual description of the error.
      * Deprecated. Use field error instead.
      * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; @@ -2642,18 +2992,20 @@ public Builder setDetailBytes( private java.lang.Object selfLink_ = ""; /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @return The selfLink. */ public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selfLink_ = s; return s; @@ -2662,20 +3014,21 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @return The bytes for selfLink. */ - public com.google.protobuf.ByteString - getSelfLinkBytes() { + public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selfLink_ = b; return b; } else { @@ -2683,54 +3036,61 @@ public java.lang.String getSelfLink() { } } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @param value The selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLink( - java.lang.String value) { + public Builder setSelfLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selfLink_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @return This builder for chaining. */ public Builder clearSelfLink() { - + selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; } /** + * + * *
      * Server-defined URL for the resource.
      * 
* * string self_link = 6; + * * @param value The bytes for selfLink to set. * @return This builder for chaining. */ - public Builder setSelfLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selfLink_ = value; onChanged(); return this; @@ -2738,18 +3098,20 @@ public Builder setSelfLinkBytes( private java.lang.Object targetLink_ = ""; /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @return The targetLink. */ public java.lang.String getTargetLink() { java.lang.Object ref = targetLink_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetLink_ = s; return s; @@ -2758,20 +3120,21 @@ public java.lang.String getTargetLink() { } } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @return The bytes for targetLink. */ - public com.google.protobuf.ByteString - getTargetLinkBytes() { + public com.google.protobuf.ByteString getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetLink_ = b; return b; } else { @@ -2779,54 +3142,61 @@ public java.lang.String getTargetLink() { } } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @param value The targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLink( - java.lang.String value) { + public Builder setTargetLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetLink_ = value; onChanged(); return this; } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @return This builder for chaining. */ public Builder clearTargetLink() { - + targetLink_ = getDefaultInstance().getTargetLink(); onChanged(); return this; } /** + * + * *
      * Server-defined URL for the target of the operation.
      * 
* * string target_link = 7; + * * @param value The bytes for targetLink to set. * @return This builder for chaining. */ - public Builder setTargetLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetLink_ = value; onChanged(); return this; @@ -2834,6 +3204,8 @@ public Builder setTargetLinkBytes( private java.lang.Object location_ = ""; /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2843,13 +3215,13 @@ public Builder setTargetLinkBytes(
      * 
* * string location = 9; + * * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -2858,6 +3230,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2867,15 +3241,14 @@ public java.lang.String getLocation() {
      * 
* * string location = 9; + * * @return The bytes for location. */ - public com.google.protobuf.ByteString - getLocationBytes() { + public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); location_ = b; return b; } else { @@ -2883,6 +3256,8 @@ public java.lang.String getLocation() { } } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2892,20 +3267,22 @@ public java.lang.String getLocation() {
      * 
* * string location = 9; + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2915,15 +3292,18 @@ public Builder setLocation(
      * 
* * string location = 9; + * * @return This builder for chaining. */ public Builder clearLocation() { - + location_ = getDefaultInstance().getLocation(); onChanged(); return this; } /** + * + * *
      * [Output only] The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2933,16 +3313,16 @@ public Builder clearLocation() {
      * 
* * string location = 9; + * * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -2950,19 +3330,21 @@ public Builder setLocationBytes( private java.lang.Object startTime_ = ""; /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @return The startTime. */ public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startTime_ = s; return s; @@ -2971,21 +3353,22 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @return The bytes for startTime. */ - public com.google.protobuf.ByteString - getStartTimeBytes() { + public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); startTime_ = b; return b; } else { @@ -2993,57 +3376,64 @@ public java.lang.String getStartTime() { } } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @param value The startTime to set. * @return This builder for chaining. */ - public Builder setStartTime( - java.lang.String value) { + public Builder setStartTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @return This builder for chaining. */ public Builder clearStartTime() { - + startTime_ = getDefaultInstance().getStartTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation started, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string start_time = 10; + * * @param value The bytes for startTime to set. * @return This builder for chaining. */ - public Builder setStartTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setStartTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startTime_ = value; onChanged(); return this; @@ -3051,19 +3441,21 @@ public Builder setStartTimeBytes( private java.lang.Object endTime_ = ""; /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @return The endTime. */ public java.lang.String getEndTime() { java.lang.Object ref = endTime_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endTime_ = s; return s; @@ -3072,21 +3464,22 @@ public java.lang.String getEndTime() { } } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @return The bytes for endTime. */ - public com.google.protobuf.ByteString - getEndTimeBytes() { + public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); endTime_ = b; return b; } else { @@ -3094,57 +3487,64 @@ public java.lang.String getEndTime() { } } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @param value The endTime to set. * @return This builder for chaining. */ - public Builder setEndTime( - java.lang.String value) { + public Builder setEndTime(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endTime_ = value; onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @return This builder for chaining. */ public Builder clearEndTime() { - + endTime_ = getDefaultInstance().getEndTime(); onChanged(); return this; } /** + * + * *
      * [Output only] The time the operation completed, in
      * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
      * 
* * string end_time = 11; + * * @param value The bytes for endTime to set. * @return This builder for chaining. */ - public Builder setEndTimeBytes( - com.google.protobuf.ByteString value) { + public Builder setEndTimeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endTime_ = value; onChanged(); return this; @@ -3152,39 +3552,58 @@ public Builder setEndTimeBytes( private com.google.container.v1beta1.OperationProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> progressBuilder_; + com.google.container.v1beta1.OperationProgress, + com.google.container.v1beta1.OperationProgress.Builder, + com.google.container.v1beta1.OperationProgressOrBuilder> + progressBuilder_; /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the progress field is set. */ public boolean hasProgress() { return progressBuilder_ != null || progress_ != null; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The progress. */ public com.google.container.v1beta1.OperationProgress getProgress() { if (progressBuilder_ == null) { - return progress_ == null ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() + : progress_; } else { return progressBuilder_.getMessage(); } } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProgress(com.google.container.v1beta1.OperationProgress value) { if (progressBuilder_ == null) { @@ -3200,11 +3619,15 @@ public Builder setProgress(com.google.container.v1beta1.OperationProgress value) return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProgress( com.google.container.v1beta1.OperationProgress.Builder builderForValue) { @@ -3218,17 +3641,23 @@ public Builder setProgress( return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeProgress(com.google.container.v1beta1.OperationProgress value) { if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.container.v1beta1.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.OperationProgress.newBuilder(progress_) + .mergeFrom(value) + .buildPartial(); } else { progress_ = value; } @@ -3240,11 +3669,15 @@ public Builder mergeProgress(com.google.container.v1beta1.OperationProgress valu return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProgress() { if (progressBuilder_ == null) { @@ -3258,74 +3691,101 @@ public Builder clearProgress() { return this; } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1beta1.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null ? - com.google.container.v1beta1.OperationProgress.getDefaultInstance() : progress_; + return progress_ == null + ? com.google.container.v1beta1.OperationProgress.getDefaultInstance() + : progress_; } } /** + * + * *
      * Output only. [Output only] Progress information for an operation.
      * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> + com.google.container.v1beta1.OperationProgress, + com.google.container.v1beta1.OperationProgress.Builder, + com.google.container.v1beta1.OperationProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { - progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder>( - getProgress(), - getParentForChildren(), - isClean()); + progressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.OperationProgress, + com.google.container.v1beta1.OperationProgress.Builder, + com.google.container.v1beta1.OperationProgressOrBuilder>( + getProgress(), getParentForChildren(), isClean()); progress_ = null; } return progressBuilder_; } private java.util.List clusterConditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureClusterConditionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - clusterConditions_ = new java.util.ArrayList(clusterConditions_); + clusterConditions_ = + new java.util.ArrayList( + clusterConditions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> clusterConditionsBuilder_; + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder> + clusterConditionsBuilder_; /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List getClusterConditionsList() { + @java.lang.Deprecated + public java.util.List getClusterConditionsList() { if (clusterConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(clusterConditions_); } else { @@ -3333,14 +3793,19 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public int getClusterConditionsCount() { + @java.lang.Deprecated + public int getClusterConditionsCount() { if (clusterConditionsBuilder_ == null) { return clusterConditions_.size(); } else { @@ -3348,14 +3813,19 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition getClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { return clusterConditions_.get(index); } else { @@ -3363,14 +3833,19 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setClusterConditions( + @java.lang.Deprecated + public Builder setClusterConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { @@ -3385,14 +3860,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setClusterConditions( + @java.lang.Deprecated + public Builder setClusterConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3404,14 +3884,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions(com.google.container.v1beta1.StatusCondition value) { + @java.lang.Deprecated + public Builder addClusterConditions(com.google.container.v1beta1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3425,14 +3910,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions( + @java.lang.Deprecated + public Builder addClusterConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (clusterConditionsBuilder_ == null) { if (value == null) { @@ -3447,14 +3937,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions( + @java.lang.Deprecated + public Builder addClusterConditions( com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3466,14 +3961,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addClusterConditions( + @java.lang.Deprecated + public Builder addClusterConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); @@ -3485,19 +3985,23 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAllClusterConditions( + @java.lang.Deprecated + public Builder addAllClusterConditions( java.lang.Iterable values) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusterConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterConditions_); onChanged(); } else { clusterConditionsBuilder_.addAllMessages(values); @@ -3505,14 +4009,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearClusterConditions() { + @java.lang.Deprecated + public Builder clearClusterConditions() { if (clusterConditionsBuilder_ == null) { clusterConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -3523,14 +4032,19 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder removeClusterConditions(int index) { + @java.lang.Deprecated + public Builder removeClusterConditions(int index) { if (clusterConditionsBuilder_ == null) { ensureClusterConditionsIsMutable(); clusterConditions_.remove(index); @@ -3541,42 +4055,58 @@ private void ensureClusterConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder getClusterConditionsBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Builder getClusterConditionsBuilder( int index) { return getClusterConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( int index) { if (clusterConditionsBuilder_ == null) { - return clusterConditions_.get(index); } else { + return clusterConditions_.get(index); + } else { return clusterConditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getClusterConditionsOrBuilderList() { + @java.lang.Deprecated + public java.util.List + getClusterConditionsOrBuilderList() { if (clusterConditionsBuilder_ != null) { return clusterConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -3584,48 +4114,69 @@ private void ensureClusterConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder() { - return getClusterConditionsFieldBuilder().addBuilder( - com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder() { + return getClusterConditionsFieldBuilder() + .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Builder addClusterConditionsBuilder( int index) { - return getClusterConditionsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getClusterConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current cluster state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getClusterConditionsBuilderList() { + @java.lang.Deprecated + public java.util.List + getClusterConditionsBuilderList() { return getClusterConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder> getClusterConditionsFieldBuilder() { if (clusterConditionsBuilder_ == null) { - clusterConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( + clusterConditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder>( clusterConditions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -3636,26 +4187,38 @@ private void ensureClusterConditionsIsMutable() { } private java.util.List nodepoolConditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureNodepoolConditionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - nodepoolConditions_ = new java.util.ArrayList(nodepoolConditions_); + nodepoolConditions_ = + new java.util.ArrayList( + nodepoolConditions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> nodepoolConditionsBuilder_; + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder> + nodepoolConditionsBuilder_; /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List getNodepoolConditionsList() { + @java.lang.Deprecated + public java.util.List + getNodepoolConditionsList() { if (nodepoolConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(nodepoolConditions_); } else { @@ -3663,14 +4226,19 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public int getNodepoolConditionsCount() { + @java.lang.Deprecated + public int getNodepoolConditionsCount() { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.size(); } else { @@ -3678,14 +4246,19 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { return nodepoolConditions_.get(index); } else { @@ -3693,14 +4266,19 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setNodepoolConditions( + @java.lang.Deprecated + public Builder setNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { @@ -3715,14 +4293,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setNodepoolConditions( + @java.lang.Deprecated + public Builder setNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -3734,14 +4317,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions(com.google.container.v1beta1.StatusCondition value) { + @java.lang.Deprecated + public Builder addNodepoolConditions(com.google.container.v1beta1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3755,14 +4343,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions( + @java.lang.Deprecated + public Builder addNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition value) { if (nodepoolConditionsBuilder_ == null) { if (value == null) { @@ -3777,14 +4370,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions( + @java.lang.Deprecated + public Builder addNodepoolConditions( com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -3796,14 +4394,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addNodepoolConditions( + @java.lang.Deprecated + public Builder addNodepoolConditions( int index, com.google.container.v1beta1.StatusCondition.Builder builderForValue) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); @@ -3815,19 +4418,23 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAllNodepoolConditions( + @java.lang.Deprecated + public Builder addAllNodepoolConditions( java.lang.Iterable values) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodepoolConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodepoolConditions_); onChanged(); } else { nodepoolConditionsBuilder_.addAllMessages(values); @@ -3835,14 +4442,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearNodepoolConditions() { + @java.lang.Deprecated + public Builder clearNodepoolConditions() { if (nodepoolConditionsBuilder_ == null) { nodepoolConditions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); @@ -3853,14 +4465,19 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder removeNodepoolConditions(int index) { + @java.lang.Deprecated + public Builder removeNodepoolConditions(int index) { if (nodepoolConditionsBuilder_ == null) { ensureNodepoolConditionsIsMutable(); nodepoolConditions_.remove(index); @@ -3871,42 +4488,58 @@ private void ensureNodepoolConditionsIsMutable() { return this; } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder getNodepoolConditionsBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Builder getNodepoolConditionsBuilder( int index) { return getNodepoolConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { if (nodepoolConditionsBuilder_ == null) { - return nodepoolConditions_.get(index); } else { + return nodepoolConditions_.get(index); + } else { return nodepoolConditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getNodepoolConditionsOrBuilderList() { + @java.lang.Deprecated + public java.util.List + getNodepoolConditionsOrBuilderList() { if (nodepoolConditionsBuilder_ != null) { return nodepoolConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -3914,48 +4547,69 @@ private void ensureNodepoolConditionsIsMutable() { } } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder() { - return getNodepoolConditionsFieldBuilder().addBuilder( - com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder() { + return getNodepoolConditionsFieldBuilder() + .addBuilder(com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder( + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Builder addNodepoolConditionsBuilder( int index) { - return getNodepoolConditionsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); + return getNodepoolConditionsFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.StatusCondition.getDefaultInstance()); } /** + * + * *
      * Which conditions caused the current node pool state.
      * Deprecated. Use field error instead.
      * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getNodepoolConditionsBuilderList() { + @java.lang.Deprecated + public java.util.List + getNodepoolConditionsBuilderList() { return getNodepoolConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder> + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder> getNodepoolConditionsFieldBuilder() { if (nodepoolConditionsBuilder_ == null) { - nodepoolConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.StatusCondition, com.google.container.v1beta1.StatusCondition.Builder, com.google.container.v1beta1.StatusConditionOrBuilder>( + nodepoolConditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.StatusCondition, + com.google.container.v1beta1.StatusCondition.Builder, + com.google.container.v1beta1.StatusConditionOrBuilder>( nodepoolConditions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -3967,24 +4621,31 @@ private void ensureNodepoolConditionsIsMutable() { private com.google.rpc.Status error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> errorBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; /** + * + * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -3995,6 +4656,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4015,14 +4678,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
* * .google.rpc.Status error = 15; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -4033,6 +4697,8 @@ public Builder setError( return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4042,8 +4708,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -4055,6 +4720,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4073,6 +4740,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4080,11 +4749,13 @@ public Builder clearError() { * .google.rpc.Status error = 15; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4095,11 +4766,12 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.rpc.Status.getDefaultInstance() : error_; + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } } /** + * + * *
      * The error result of the operation in case of failure.
      * 
@@ -4107,21 +4779,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4131,12 +4803,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.Operation) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.Operation) private static final com.google.container.v1beta1.Operation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.Operation(); } @@ -4145,27 +4817,27 @@ public static com.google.container.v1beta1.Operation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4180,6 +4852,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.Operation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationOrBuilder.java index 1f5b9908d176..c7bf0b949551 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface OperationOrBuilder extends +public interface OperationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Operation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The server-assigned ID for the operation.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -35,12 +58,16 @@ public interface OperationOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -48,138 +75,179 @@ public interface OperationOrBuilder extends
    * 
* * string zone = 2 [deprecated = true]; - * @deprecated google.container.v1beta1.Operation.zone is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2264 + * + * @deprecated google.container.v1beta1.Operation.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2264 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** + * + * *
    * The operation type.
    * 
* * .google.container.v1beta1.Operation.Type operation_type = 3; + * * @return The operationType. */ com.google.container.v1beta1.Operation.Type getOperationType(); /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * The current status of the operation.
    * 
* * .google.container.v1beta1.Operation.Status status = 4; + * * @return The status. */ com.google.container.v1beta1.Operation.Status getStatus(); /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The detail. */ java.lang.String getDetail(); /** + * + * *
    * Detailed operation progress, if available.
    * 
* * string detail = 8; + * * @return The bytes for detail. */ - com.google.protobuf.ByteString - getDetailBytes(); + com.google.protobuf.ByteString getDetailBytes(); /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @return The statusMessage. */ - @java.lang.Deprecated java.lang.String getStatusMessage(); + @java.lang.Deprecated + java.lang.String getStatusMessage(); /** + * + * *
    * Output only. If an error has occurred, a textual description of the error.
    * Deprecated. Use field error instead.
    * 
* - * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated google.container.v1beta1.Operation.status_message is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2277 + * + * string status_message = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @deprecated google.container.v1beta1.Operation.status_message is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2277 * @return The bytes for statusMessage. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getStatusMessageBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The selfLink. */ java.lang.String getSelfLink(); /** + * + * *
    * Server-defined URL for the resource.
    * 
* * string self_link = 6; + * * @return The bytes for selfLink. */ - com.google.protobuf.ByteString - getSelfLinkBytes(); + com.google.protobuf.ByteString getSelfLinkBytes(); /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The targetLink. */ java.lang.String getTargetLink(); /** + * + * *
    * Server-defined URL for the target of the operation.
    * 
* * string target_link = 7; + * * @return The bytes for targetLink. */ - com.google.protobuf.ByteString - getTargetLinkBytes(); + com.google.protobuf.ByteString getTargetLinkBytes(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -189,10 +257,13 @@ public interface OperationOrBuilder extends
    * 
* * string location = 9; + * * @return The location. */ java.lang.String getLocation(); /** + * + * *
    * [Output only] The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -202,199 +273,277 @@ public interface OperationOrBuilder extends
    * 
* * string location = 9; + * * @return The bytes for location. */ - com.google.protobuf.ByteString - getLocationBytes(); + com.google.protobuf.ByteString getLocationBytes(); /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The startTime. */ java.lang.String getStartTime(); /** + * + * *
    * [Output only] The time the operation started, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string start_time = 10; + * * @return The bytes for startTime. */ - com.google.protobuf.ByteString - getStartTimeBytes(); + com.google.protobuf.ByteString getStartTimeBytes(); /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The endTime. */ java.lang.String getEndTime(); /** + * + * *
    * [Output only] The time the operation completed, in
    * [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
    * 
* * string end_time = 11; + * * @return The bytes for endTime. */ - com.google.protobuf.ByteString - getEndTimeBytes(); + com.google.protobuf.ByteString getEndTimeBytes(); /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the progress field is set. */ boolean hasProgress(); /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The progress. */ com.google.container.v1beta1.OperationProgress getProgress(); /** + * + * *
    * Output only. [Output only] Progress information for an operation.
    * 
* - * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.container.v1beta1.OperationProgress progress = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.container.v1beta1.OperationProgressOrBuilder getProgressOrBuilder(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List - getClusterConditionsList(); + @java.lang.Deprecated + java.util.List getClusterConditionsList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1beta1.StatusCondition getClusterConditions(int index); + @java.lang.Deprecated + com.google.container.v1beta1.StatusCondition getClusterConditions(int index); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated int getClusterConditionsCount(); + @java.lang.Deprecated + int getClusterConditionsCount(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List getClusterConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current cluster state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition cluster_conditions = 13 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder( - int index); + @java.lang.Deprecated + com.google.container.v1beta1.StatusConditionOrBuilder getClusterConditionsOrBuilder(int index); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List - getNodepoolConditionsList(); + @java.lang.Deprecated + java.util.List getNodepoolConditionsList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index); + @java.lang.Deprecated + com.google.container.v1beta1.StatusCondition getNodepoolConditions(int index); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated int getNodepoolConditionsCount(); + @java.lang.Deprecated + int getNodepoolConditionsCount(); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List getNodepoolConditionsOrBuilderList(); /** + * + * *
    * Which conditions caused the current node pool state.
    * Deprecated. Use field error instead.
    * 
* - * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * + * repeated .google.container.v1beta1.StatusCondition nodepool_conditions = 14 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( - int index); + @java.lang.Deprecated + com.google.container.v1beta1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder(int index); /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The error result of the operation in case of failure.
    * 
* * .google.rpc.Status error = 15; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The error result of the operation in case of failure.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java similarity index 76% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java index 74158c2ab411..87d0dff278bb 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgress.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Information about operation (or operation stage) progress.
  * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress} */ -public final class OperationProgress extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.OperationProgress) OperationProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationProgress.newBuilder() to construct. private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationProgress() { name_ = ""; status_ = 0; @@ -28,177 +46,211 @@ private OperationProgress() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationProgress(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.class, com.google.container.v1beta1.OperationProgress.Builder.class); + com.google.container.v1beta1.OperationProgress.class, + com.google.container.v1beta1.OperationProgress.Builder.class); } - public interface MetricOrBuilder extends + public interface MetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.OperationProgress.Metric) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ boolean hasIntValue(); /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return The intValue. */ long getIntValue(); /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return The doubleValue. */ double getDoubleValue(); /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString - getStringValueBytes(); + com.google.protobuf.ByteString getStringValueBytes(); public com.google.container.v1beta1.OperationProgress.Metric.ValueCase getValueCase(); } /** + * + * *
    * Progress metric is (string, int|float|string) pair.
    * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress.Metric} */ - public static final class Metric extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Metric extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.OperationProgress.Metric) MetricOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Metric.newBuilder() to construct. private Metric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Metric() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Metric(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.Metric.class, com.google.container.v1beta1.OperationProgress.Metric.Builder.class); + com.google.container.v1beta1.OperationProgress.Metric.class, + com.google.container.v1beta1.OperationProgress.Metric.Builder.class); } private int valueCase_ = 0; private java.lang.Object value_; + public enum ValueCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INT_VALUE(2), DOUBLE_VALUE(3), STRING_VALUE(4), VALUE_NOT_SET(0); private final int value; + private ValueCase(int value) { this.value = value; } @@ -214,32 +266,39 @@ public static ValueCase valueOf(int value) { public static ValueCase forNumber(int value) { switch (value) { - case 2: return INT_VALUE; - case 3: return DOUBLE_VALUE; - case 4: return STRING_VALUE; - case 0: return VALUE_NOT_SET; - default: return null; + case 2: + return INT_VALUE; + case 3: + return DOUBLE_VALUE; + case 4: + return STRING_VALUE; + case 0: + return VALUE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -248,29 +307,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
      * Required. Metric name, e.g., "nodes total", "percent done".
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -280,11 +339,14 @@ public java.lang.String getName() { public static final int INT_VALUE_FIELD_NUMBER = 2; /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ @java.lang.Override @@ -292,11 +354,14 @@ public boolean hasIntValue() { return valueCase_ == 2; } /** + * + * *
      * For metrics with integer value.
      * 
* * int64 int_value = 2; + * * @return The intValue. */ @java.lang.Override @@ -309,11 +374,14 @@ public long getIntValue() { public static final int DOUBLE_VALUE_FIELD_NUMBER = 3; /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ @java.lang.Override @@ -321,11 +389,14 @@ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
      * For metrics with floating point value.
      * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -338,22 +409,28 @@ public double getDoubleValue() { public static final int STRING_VALUE_FIELD_NUMBER = 4; /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -364,8 +441,7 @@ public java.lang.String getStringValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -374,23 +450,24 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * For metrics with custom values (ratios, visual progress, etc.).
      * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -401,6 +478,7 @@ public java.lang.String getStringValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -412,18 +490,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (valueCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) value_)); + output.writeInt64(2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - output.writeDouble( - 3, (double)((java.lang.Double) value_)); + output.writeDouble(3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, value_); @@ -441,14 +516,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (valueCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) value_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) value_)); } if (valueCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize( - 3, (double)((java.lang.Double) value_)); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 3, (double) ((java.lang.Double) value_)); } if (valueCase_ == 4) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, value_); @@ -461,29 +536,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.OperationProgress.Metric)) { return super.equals(obj); } - com.google.container.v1beta1.OperationProgress.Metric other = (com.google.container.v1beta1.OperationProgress.Metric) obj; + com.google.container.v1beta1.OperationProgress.Metric other = + (com.google.container.v1beta1.OperationProgress.Metric) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getValueCase().equals(other.getValueCase())) return false; switch (valueCase_) { case 2: - if (getIntValue() - != other.getIntValue()) return false; + if (getIntValue() != other.getIntValue()) return false; break; case 3: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 4: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 0: default: @@ -504,13 +576,14 @@ public int hashCode() { switch (valueCase_) { case 2: hash = (37 * hash) + INT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getIntValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIntValue()); break; case 3: hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getDoubleValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleValue())); break; case 4: hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER; @@ -525,87 +598,94 @@ public int hashCode() { } public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress.Metric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( 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.OperationProgress.Metric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.OperationProgress.Metric parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.OperationProgress.Metric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.OperationProgress.Metric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.OperationProgress.Metric parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.OperationProgress.Metric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.OperationProgress.Metric prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.OperationProgress.Metric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -615,39 +695,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Progress metric is (string, int|float|string) pair.
      * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress.Metric} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.OperationProgress.Metric) com.google.container.v1beta1.OperationProgress.MetricOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.Metric.class, com.google.container.v1beta1.OperationProgress.Metric.Builder.class); + com.google.container.v1beta1.OperationProgress.Metric.class, + com.google.container.v1beta1.OperationProgress.Metric.Builder.class); } // Construct using com.google.container.v1beta1.OperationProgress.Metric.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -659,9 +741,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; } @java.lang.Override @@ -680,7 +762,8 @@ public com.google.container.v1beta1.OperationProgress.Metric build() { @java.lang.Override public com.google.container.v1beta1.OperationProgress.Metric buildPartial() { - com.google.container.v1beta1.OperationProgress.Metric result = new com.google.container.v1beta1.OperationProgress.Metric(this); + com.google.container.v1beta1.OperationProgress.Metric result = + new com.google.container.v1beta1.OperationProgress.Metric(this); result.name_ = name_; if (valueCase_ == 2) { result.value_ = value_; @@ -700,38 +783,41 @@ public com.google.container.v1beta1.OperationProgress.Metric buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.OperationProgress.Metric) { - return mergeFrom((com.google.container.v1beta1.OperationProgress.Metric)other); + return mergeFrom((com.google.container.v1beta1.OperationProgress.Metric) other); } else { super.mergeFrom(other); return this; @@ -739,29 +825,34 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.OperationProgress.Metric other) { - if (other == com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } switch (other.getValueCase()) { - case INT_VALUE: { - setIntValue(other.getIntValue()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case STRING_VALUE: { - valueCase_ = 4; - value_ = other.value_; - onChanged(); - break; - } - case VALUE_NOT_SET: { - break; - } + case INT_VALUE: + { + setIntValue(other.getIntValue()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case STRING_VALUE: + { + valueCase_ = 4; + value_ = other.value_; + onChanged(); + break; + } + case VALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -789,33 +880,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - value_ = input.readInt64(); - valueCase_ = 2; - break; - } // case 16 - case 25: { - value_ = input.readDouble(); - valueCase_ = 3; - break; - } // case 25 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - valueCase_ = 4; - value_ = s; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + value_ = input.readInt64(); + valueCase_ = 2; + break; + } // case 16 + case 25: + { + value_ = input.readDouble(); + valueCase_ = 3; + break; + } // case 25 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + valueCase_ = 4; + value_ = s; + 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) { @@ -825,12 +921,12 @@ public Builder mergeFrom( } // finally return this; } + private int valueCase_ = 0; private java.lang.Object value_; - public ValueCase - getValueCase() { - return ValueCase.forNumber( - valueCase_); + + public ValueCase getValueCase() { + return ValueCase.forNumber(valueCase_); } public Builder clearValue() { @@ -840,21 +936,22 @@ public Builder clearValue() { return this; } - private java.lang.Object name_ = ""; /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -863,20 +960,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -884,76 +982,89 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
        * Required. Metric name, e.g., "nodes total", "percent done".
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @return Whether the intValue field is set. */ public boolean hasIntValue() { return valueCase_ == 2; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @return The intValue. */ public long getIntValue() { @@ -963,11 +1074,14 @@ public long getIntValue() { return 0L; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @param value The intValue to set. * @return This builder for chaining. */ @@ -978,11 +1092,14 @@ public Builder setIntValue(long value) { return this; } /** + * + * *
        * For metrics with integer value.
        * 
* * int64 int_value = 2; + * * @return This builder for chaining. */ public Builder clearIntValue() { @@ -995,22 +1112,28 @@ public Builder clearIntValue() { } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @return Whether the doubleValue field is set. */ public boolean hasDoubleValue() { return valueCase_ == 3; } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @return The doubleValue. */ public double getDoubleValue() { @@ -1020,11 +1143,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1035,11 +1161,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
        * For metrics with floating point value.
        * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1052,11 +1181,14 @@ public Builder clearDoubleValue() { } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1064,11 +1196,14 @@ public boolean hasStringValue() { return valueCase_ == 4; } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return The stringValue. */ @java.lang.Override @@ -1078,8 +1213,7 @@ public java.lang.String getStringValue() { ref = value_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valueCase_ == 4) { value_ = s; @@ -1090,24 +1224,25 @@ public java.lang.String getStringValue() { } } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return The bytes for stringValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getStringValueBytes() { + public com.google.protobuf.ByteString getStringValueBytes() { java.lang.Object ref = ""; if (valueCase_ == 4) { ref = value_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (valueCase_ == 4) { value_ = b; } @@ -1117,30 +1252,35 @@ public java.lang.String getStringValue() { } } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { + public Builder setStringValue(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valueCase_ = 4; + throw new NullPointerException(); + } + valueCase_ = 4; value_ = value; onChanged(); return this; } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -1152,25 +1292,28 @@ public Builder clearStringValue() { return this; } /** + * + * *
        * For metrics with custom values (ratios, visual progress, etc.).
        * 
* * string string_value = 4; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valueCase_ = 4; value_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1183,12 +1326,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.OperationProgress.Metric) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.OperationProgress.Metric) private static final com.google.container.v1beta1.OperationProgress.Metric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.OperationProgress.Metric(); } @@ -1197,27 +1340,28 @@ public static com.google.container.v1beta1.OperationProgress.Metric getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Metric parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Metric parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1232,18 +1376,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.OperationProgress.Metric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1252,30 +1398,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1286,35 +1432,46 @@ public java.lang.String getName() { public static final int STATUS_FIELD_NUMBER = 2; private int status_; /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @return The status. */ - @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { + @java.lang.Override + public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = + com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } public static final int METRICS_FIELD_NUMBER = 3; private java.util.List metrics_; /** + * + * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1331,6 +1488,8 @@ public java.util.List get
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1343,11 +1502,13 @@ public java.util.List get
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMetricsOrBuilderList() {
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1364,6 +1525,8 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1380,6 +1543,8 @@ public com.google.container.v1beta1.OperationProgress.Metric getMetrics(int inde
     return metrics_.get(index);
   }
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -1400,6 +1565,8 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
   public static final int STAGES_FIELD_NUMBER = 4;
   private java.util.List stages_;
   /**
+   *
+   *
    * 
    * Substages of an operation or a stage.
    * 
@@ -1411,6 +1578,8 @@ public java.util.List getStagesL return stages_; } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1418,11 +1587,13 @@ public java.util.List getStagesL * repeated .google.container.v1beta1.OperationProgress stages = 4; */ @java.lang.Override - public java.util.List + public java.util.List getStagesOrBuilderList() { return stages_; } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1434,6 +1605,8 @@ public int getStagesCount() { return stages_.size(); } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1445,6 +1618,8 @@ public com.google.container.v1beta1.OperationProgress getStages(int index) { return stages_.get(index); } /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -1452,12 +1627,12 @@ public com.google.container.v1beta1.OperationProgress getStages(int index) { * repeated .google.container.v1beta1.OperationProgress stages = 4; */ @java.lang.Override - public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder( - int index) { + public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder(int index) { return stages_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1469,8 +1644,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1496,16 +1670,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (status_ != com.google.container.v1beta1.Operation.Status.STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, status_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, status_); } for (int i = 0; i < metrics_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, metrics_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, metrics_.get(i)); } for (int i = 0; i < stages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, stages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, stages_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1515,20 +1686,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.OperationProgress)) { return super.equals(obj); } - com.google.container.v1beta1.OperationProgress other = (com.google.container.v1beta1.OperationProgress) obj; + com.google.container.v1beta1.OperationProgress other = + (com.google.container.v1beta1.OperationProgress) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (status_ != other.status_) return false; - if (!getMetricsList() - .equals(other.getMetricsList())) return false; - if (!getStagesList() - .equals(other.getStagesList())) return false; + if (!getMetricsList().equals(other.getMetricsList())) return false; + if (!getStagesList().equals(other.getStagesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1557,130 +1726,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.OperationProgress parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.OperationProgress parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.OperationProgress parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.OperationProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.OperationProgress parseFrom( 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.OperationProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.OperationProgress parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.OperationProgress parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.OperationProgress parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.OperationProgress parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.OperationProgress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.OperationProgress parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.OperationProgress parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.OperationProgress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.OperationProgress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Information about operation (or operation stage) progress.
    * 
* * Protobuf type {@code google.container.v1beta1.OperationProgress} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.OperationProgress) com.google.container.v1beta1.OperationProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.OperationProgress.class, com.google.container.v1beta1.OperationProgress.Builder.class); + com.google.container.v1beta1.OperationProgress.class, + com.google.container.v1beta1.OperationProgress.Builder.class); } // Construct using com.google.container.v1beta1.OperationProgress.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1706,9 +1881,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_OperationProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_OperationProgress_descriptor; } @java.lang.Override @@ -1727,7 +1902,8 @@ public com.google.container.v1beta1.OperationProgress build() { @java.lang.Override public com.google.container.v1beta1.OperationProgress buildPartial() { - com.google.container.v1beta1.OperationProgress result = new com.google.container.v1beta1.OperationProgress(this); + com.google.container.v1beta1.OperationProgress result = + new com.google.container.v1beta1.OperationProgress(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.status_ = status_; @@ -1757,38 +1933,39 @@ public com.google.container.v1beta1.OperationProgress buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.OperationProgress) { - return mergeFrom((com.google.container.v1beta1.OperationProgress)other); + return mergeFrom((com.google.container.v1beta1.OperationProgress) other); } else { super.mergeFrom(other); return this; @@ -1822,9 +1999,10 @@ public Builder mergeFrom(com.google.container.v1beta1.OperationProgress other) { metricsBuilder_ = null; metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000001); - metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMetricsFieldBuilder() : null; + metricsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() + : null; } else { metricsBuilder_.addAllMessages(other.metrics_); } @@ -1848,9 +2026,10 @@ public Builder mergeFrom(com.google.container.v1beta1.OperationProgress other) { stagesBuilder_ = null; stages_ = other.stages_; bitField0_ = (bitField0_ & ~0x00000002); - stagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStagesFieldBuilder() : null; + stagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStagesFieldBuilder() + : null; } else { stagesBuilder_.addAllMessages(other.stages_); } @@ -1882,48 +2061,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - status_ = input.readEnum(); + break; + } // case 10 + case 16: + { + status_ = input.readEnum(); - break; - } // case 16 - case 26: { - com.google.container.v1beta1.OperationProgress.Metric m = - input.readMessage( - com.google.container.v1beta1.OperationProgress.Metric.parser(), - extensionRegistry); - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(m); - } else { - metricsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - com.google.container.v1beta1.OperationProgress m = - input.readMessage( - com.google.container.v1beta1.OperationProgress.parser(), - extensionRegistry); - if (stagesBuilder_ == null) { - ensureStagesIsMutable(); - stages_.add(m); - } else { - stagesBuilder_.addMessage(m); - } - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 16 + case 26: + { + com.google.container.v1beta1.OperationProgress.Metric m = + input.readMessage( + com.google.container.v1beta1.OperationProgress.Metric.parser(), + extensionRegistry); + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(m); + } else { + metricsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + com.google.container.v1beta1.OperationProgress m = + input.readMessage( + com.google.container.v1beta1.OperationProgress.parser(), extensionRegistry); + if (stagesBuilder_ == null) { + ensureStagesIsMutable(); + stages_.add(m); + } else { + stagesBuilder_.addMessage(m); + } + 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) { @@ -1933,23 +2116,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1958,21 +2144,22 @@ public java.lang.String getName() { } } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1980,57 +2167,64 @@ public java.lang.String getName() { } } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A non-parameterized string describing an operation stage.
      * Unset for single-stage operations.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2038,55 +2232,69 @@ public Builder setNameBytes( private int status_ = 0; /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.Operation.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.Operation.Status result = com.google.container.v1beta1.Operation.Status.valueOf(status_); + com.google.container.v1beta1.Operation.Status result = + com.google.container.v1beta1.Operation.Status.valueOf(status_); return result == null ? com.google.container.v1beta1.Operation.Status.UNRECOGNIZED : result; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @param value The status to set. * @return This builder for chaining. */ @@ -2094,40 +2302,51 @@ public Builder setStatus(com.google.container.v1beta1.Operation.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Status of an operation stage.
      * Unset for single-stage operations.
      * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } private java.util.List metrics_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMetricsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - metrics_ = new java.util.ArrayList(metrics_); + metrics_ = + new java.util.ArrayList( + metrics_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.OperationProgress.Metric, com.google.container.v1beta1.OperationProgress.Metric.Builder, com.google.container.v1beta1.OperationProgress.MetricOrBuilder> metricsBuilder_; + com.google.container.v1beta1.OperationProgress.Metric, + com.google.container.v1beta1.OperationProgress.Metric.Builder, + com.google.container.v1beta1.OperationProgress.MetricOrBuilder> + metricsBuilder_; /** + * + * *
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2147,6 +2366,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2166,6 +2387,8 @@ public int getMetricsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2185,6 +2408,8 @@ public com.google.container.v1beta1.OperationProgress.Metric getMetrics(int inde
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2211,6 +2436,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2234,6 +2461,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2259,6 +2488,8 @@ public Builder addMetrics(com.google.container.v1beta1.OperationProgress.Metric
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2285,6 +2516,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2308,6 +2541,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2331,6 +2566,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2343,11 +2580,11 @@ public Builder addMetrics(
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
     public Builder addAllMetrics(
-        java.lang.Iterable values) {
+        java.lang.Iterable
+            values) {
       if (metricsBuilder_ == null) {
         ensureMetricsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metrics_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metrics_);
         onChanged();
       } else {
         metricsBuilder_.addAllMessages(values);
@@ -2355,6 +2592,8 @@ public Builder addAllMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2377,6 +2616,8 @@ public Builder clearMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2399,6 +2640,8 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2415,6 +2658,8 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder getMetricsB
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2429,11 +2674,14 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder getMetricsB
     public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
         int index) {
       if (metricsBuilder_ == null) {
-        return metrics_.get(index);  } else {
+        return metrics_.get(index);
+      } else {
         return metricsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2445,8 +2693,8 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
      *
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsOrBuilderList() {
+    public java.util.List
+        getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2454,6 +2702,8 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
       }
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2466,10 +2716,12 @@ public com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetrics
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
     public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder().addBuilder(
-          com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder()
+          .addBuilder(com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2483,10 +2735,13 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsB
      */
     public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsBuilder(
         int index) {
-      return getMetricsFieldBuilder().addBuilder(
-          index, com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
+      return getMetricsFieldBuilder()
+          .addBuilder(
+              index, com.google.container.v1beta1.OperationProgress.Metric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Progress metric bundle, for example:
      *   metrics: [{name: "nodes done",     int_value: 15},
@@ -2498,38 +2753,47 @@ public com.google.container.v1beta1.OperationProgress.Metric.Builder addMetricsB
      *
      * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
      */
-    public java.util.List 
-         getMetricsBuilderList() {
+    public java.util.List
+        getMetricsBuilderList() {
       return getMetricsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.OperationProgress.Metric, com.google.container.v1beta1.OperationProgress.Metric.Builder, com.google.container.v1beta1.OperationProgress.MetricOrBuilder> 
+            com.google.container.v1beta1.OperationProgress.Metric,
+            com.google.container.v1beta1.OperationProgress.Metric.Builder,
+            com.google.container.v1beta1.OperationProgress.MetricOrBuilder>
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.container.v1beta1.OperationProgress.Metric, com.google.container.v1beta1.OperationProgress.Metric.Builder, com.google.container.v1beta1.OperationProgress.MetricOrBuilder>(
-                metrics_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        metricsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.container.v1beta1.OperationProgress.Metric,
+                com.google.container.v1beta1.OperationProgress.Metric.Builder,
+                com.google.container.v1beta1.OperationProgress.MetricOrBuilder>(
+                metrics_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         metrics_ = null;
       }
       return metricsBuilder_;
     }
 
     private java.util.List stages_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureStagesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         stages_ = new java.util.ArrayList(stages_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> stagesBuilder_;
+            com.google.container.v1beta1.OperationProgress,
+            com.google.container.v1beta1.OperationProgress.Builder,
+            com.google.container.v1beta1.OperationProgressOrBuilder>
+        stagesBuilder_;
 
     /**
+     *
+     *
      * 
      * Substages of an operation or a stage.
      * 
@@ -2544,6 +2808,8 @@ public java.util.List getStagesL } } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2558,6 +2824,8 @@ public int getStagesCount() { } } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2572,14 +2840,15 @@ public com.google.container.v1beta1.OperationProgress getStages(int index) { } } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public Builder setStages( - int index, com.google.container.v1beta1.OperationProgress value) { + public Builder setStages(int index, com.google.container.v1beta1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2593,6 +2862,8 @@ public Builder setStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2611,6 +2882,8 @@ public Builder setStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2631,14 +2904,15 @@ public Builder addStages(com.google.container.v1beta1.OperationProgress value) { return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public Builder addStages( - int index, com.google.container.v1beta1.OperationProgress value) { + public Builder addStages(int index, com.google.container.v1beta1.OperationProgress value) { if (stagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2652,6 +2926,8 @@ public Builder addStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2670,6 +2946,8 @@ public Builder addStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2688,6 +2966,8 @@ public Builder addStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2698,8 +2978,7 @@ public Builder addAllStages( java.lang.Iterable values) { if (stagesBuilder_ == null) { ensureStagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, stages_); onChanged(); } else { stagesBuilder_.addAllMessages(values); @@ -2707,6 +2986,8 @@ public Builder addAllStages( return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2724,6 +3005,8 @@ public Builder clearStages() { return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2741,39 +3024,44 @@ public Builder removeStages(int index) { return this; } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public com.google.container.v1beta1.OperationProgress.Builder getStagesBuilder( - int index) { + public com.google.container.v1beta1.OperationProgress.Builder getStagesBuilder(int index) { return getStagesFieldBuilder().getBuilder(index); } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder( - int index) { + public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder(int index) { if (stagesBuilder_ == null) { - return stages_.get(index); } else { + return stages_.get(index); + } else { return stagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public java.util.List - getStagesOrBuilderList() { + public java.util.List + getStagesOrBuilderList() { if (stagesBuilder_ != null) { return stagesBuilder_.getMessageOrBuilderList(); } else { @@ -2781,6 +3069,8 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilde } } /** + * + * *
      * Substages of an operation or a stage.
      * 
@@ -2788,49 +3078,55 @@ public com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilde * repeated .google.container.v1beta1.OperationProgress stages = 4; */ public com.google.container.v1beta1.OperationProgress.Builder addStagesBuilder() { - return getStagesFieldBuilder().addBuilder( - com.google.container.v1beta1.OperationProgress.getDefaultInstance()); + return getStagesFieldBuilder() + .addBuilder(com.google.container.v1beta1.OperationProgress.getDefaultInstance()); } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public com.google.container.v1beta1.OperationProgress.Builder addStagesBuilder( - int index) { - return getStagesFieldBuilder().addBuilder( - index, com.google.container.v1beta1.OperationProgress.getDefaultInstance()); + public com.google.container.v1beta1.OperationProgress.Builder addStagesBuilder(int index) { + return getStagesFieldBuilder() + .addBuilder(index, com.google.container.v1beta1.OperationProgress.getDefaultInstance()); } /** + * + * *
      * Substages of an operation or a stage.
      * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - public java.util.List - getStagesBuilderList() { + public java.util.List + getStagesBuilderList() { return getStagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder> + com.google.container.v1beta1.OperationProgress, + com.google.container.v1beta1.OperationProgress.Builder, + com.google.container.v1beta1.OperationProgressOrBuilder> getStagesFieldBuilder() { if (stagesBuilder_ == null) { - stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.OperationProgress, com.google.container.v1beta1.OperationProgress.Builder, com.google.container.v1beta1.OperationProgressOrBuilder>( - stages_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + stagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.OperationProgress, + com.google.container.v1beta1.OperationProgress.Builder, + com.google.container.v1beta1.OperationProgressOrBuilder>( + stages_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); stages_ = null; } return stagesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2840,12 +3136,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.OperationProgress) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.OperationProgress) private static final com.google.container.v1beta1.OperationProgress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.OperationProgress(); } @@ -2854,27 +3150,27 @@ public static com.google.container.v1beta1.OperationProgress getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2889,6 +3185,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.OperationProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java similarity index 82% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java index 41b9a60e5cec..e8750c66636d 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/OperationProgressOrBuilder.java @@ -1,56 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface OperationProgressOrBuilder extends +public interface OperationProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.OperationProgress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A non-parameterized string describing an operation stage.
    * Unset for single-stage operations.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * Status of an operation stage.
    * Unset for single-stage operations.
    * 
* * .google.container.v1beta1.Operation.Status status = 2; + * * @return The status. */ com.google.container.v1beta1.Operation.Status getStatus(); /** + * + * *
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -62,9 +91,10 @@ public interface OperationProgressOrBuilder extends
    *
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List 
-      getMetricsList();
+  java.util.List getMetricsList();
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -78,6 +108,8 @@ public interface OperationProgressOrBuilder extends
    */
   com.google.container.v1beta1.OperationProgress.Metric getMetrics(int index);
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -91,6 +123,8 @@ public interface OperationProgressOrBuilder extends
    */
   int getMetricsCount();
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -102,9 +136,11 @@ public interface OperationProgressOrBuilder extends
    *
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
-  java.util.List 
+  java.util.List
       getMetricsOrBuilderList();
   /**
+   *
+   *
    * 
    * Progress metric bundle, for example:
    *   metrics: [{name: "nodes done",     int_value: 15},
@@ -116,19 +152,21 @@ public interface OperationProgressOrBuilder extends
    *
    * repeated .google.container.v1beta1.OperationProgress.Metric metrics = 3;
    */
-  com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(
-      int index);
+  com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - java.util.List - getStagesList(); + java.util.List getStagesList(); /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -137,6 +175,8 @@ com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuild */ com.google.container.v1beta1.OperationProgress getStages(int index); /** + * + * *
    * Substages of an operation or a stage.
    * 
@@ -145,21 +185,24 @@ com.google.container.v1beta1.OperationProgress.MetricOrBuilder getMetricsOrBuild */ int getStagesCount(); /** + * + * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - java.util.List + java.util.List getStagesOrBuilderList(); /** + * + * *
    * Substages of an operation or a stage.
    * 
* * repeated .google.container.v1beta1.OperationProgress stages = 4; */ - com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder( - int index); + com.google.container.v1beta1.OperationProgressOrBuilder getStagesOrBuilder(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java index 68e19360b2b7..61cedb6b7225 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfig.java @@ -1,61 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for the PodSecurityPolicy feature.
  * 
* * Protobuf type {@code google.container.v1beta1.PodSecurityPolicyConfig} */ -public final class PodSecurityPolicyConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PodSecurityPolicyConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.PodSecurityPolicyConfig) PodSecurityPolicyConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PodSecurityPolicyConfig.newBuilder() to construct. private PodSecurityPolicyConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PodSecurityPolicyConfig() { - } + + private PodSecurityPolicyConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PodSecurityPolicyConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PodSecurityPolicyConfig.class, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); + com.google.container.v1beta1.PodSecurityPolicyConfig.class, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
    * must be valid under a PodSecurityPolicy to be created.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -64,6 +85,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -90,8 +111,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -101,15 +121,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.PodSecurityPolicyConfig)) { return super.equals(obj); } - com.google.container.v1beta1.PodSecurityPolicyConfig other = (com.google.container.v1beta1.PodSecurityPolicyConfig) obj; + com.google.container.v1beta1.PodSecurityPolicyConfig other = + (com.google.container.v1beta1.PodSecurityPolicyConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -122,137 +142,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PodSecurityPolicyConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( 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.PodSecurityPolicyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.PodSecurityPolicyConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PodSecurityPolicyConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.PodSecurityPolicyConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the PodSecurityPolicy feature.
    * 
* * Protobuf type {@code google.container.v1beta1.PodSecurityPolicyConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.PodSecurityPolicyConfig) com.google.container.v1beta1.PodSecurityPolicyConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PodSecurityPolicyConfig.class, com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); + com.google.container.v1beta1.PodSecurityPolicyConfig.class, + com.google.container.v1beta1.PodSecurityPolicyConfig.Builder.class); } // Construct using com.google.container.v1beta1.PodSecurityPolicyConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -262,9 +287,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; } @java.lang.Override @@ -283,7 +308,8 @@ public com.google.container.v1beta1.PodSecurityPolicyConfig build() { @java.lang.Override public com.google.container.v1beta1.PodSecurityPolicyConfig buildPartial() { - com.google.container.v1beta1.PodSecurityPolicyConfig result = new com.google.container.v1beta1.PodSecurityPolicyConfig(this); + com.google.container.v1beta1.PodSecurityPolicyConfig result = + new com.google.container.v1beta1.PodSecurityPolicyConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -293,38 +319,39 @@ public com.google.container.v1beta1.PodSecurityPolicyConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.PodSecurityPolicyConfig) { - return mergeFrom((com.google.container.v1beta1.PodSecurityPolicyConfig)other); + return mergeFrom((com.google.container.v1beta1.PodSecurityPolicyConfig) other); } else { super.mergeFrom(other); return this; @@ -332,7 +359,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.PodSecurityPolicyConfig other) { - if (other == com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.PodSecurityPolicyConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -362,17 +390,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -383,14 +413,17 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
      * must be valid under a PodSecurityPolicy to be created.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -398,39 +431,45 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
      * must be valid under a PodSecurityPolicy to be created.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
      * must be valid under a PodSecurityPolicy to be created.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -440,12 +479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.PodSecurityPolicyConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.PodSecurityPolicyConfig) private static final com.google.container.v1beta1.PodSecurityPolicyConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.PodSecurityPolicyConfig(); } @@ -454,27 +493,27 @@ public static com.google.container.v1beta1.PodSecurityPolicyConfig getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PodSecurityPolicyConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PodSecurityPolicyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -489,6 +528,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.PodSecurityPolicyConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java new file mode 100644 index 000000000000..ce6bf7f032ad --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface PodSecurityPolicyConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PodSecurityPolicyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
+   * must be valid under a PodSecurityPolicy to be created.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java index 67b7307c7bb1..0a2d07288686 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration options for private clusters.
  * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterConfig} */ -public final class PrivateClusterConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrivateClusterConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.PrivateClusterConfig) PrivateClusterConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrivateClusterConfig.newBuilder() to construct. private PrivateClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PrivateClusterConfig() { masterIpv4CidrBlock_ = ""; privateEndpoint_ = ""; @@ -29,32 +47,35 @@ private PrivateClusterConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrivateClusterConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterConfig.class, com.google.container.v1beta1.PrivateClusterConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterConfig.class, + com.google.container.v1beta1.PrivateClusterConfig.Builder.class); } public static final int ENABLE_PRIVATE_NODES_FIELD_NUMBER = 1; private boolean enablePrivateNodes_; /** + * + * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * bool enable_private_nodes = 1; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -72,11 +94,14 @@ public boolean getEnablePrivateNodes() { public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER = 2; private boolean enablePrivateEndpoint_; /** + * + * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -87,6 +112,8 @@ public boolean getEnablePrivateEndpoint() { public static final int MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object masterIpv4CidrBlock_; /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -95,6 +122,7 @@ public boolean getEnablePrivateEndpoint() {
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The masterIpv4CidrBlock. */ @java.lang.Override @@ -103,14 +131,15 @@ public java.lang.String getMasterIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; } } /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -119,16 +148,15 @@ public java.lang.String getMasterIpv4CidrBlock() {
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The bytes for masterIpv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -139,11 +167,14 @@ public java.lang.String getMasterIpv4CidrBlock() { public static final int PRIVATE_ENDPOINT_FIELD_NUMBER = 4; private volatile java.lang.Object privateEndpoint_; /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The privateEndpoint. */ @java.lang.Override @@ -152,29 +183,29 @@ public java.lang.String getPrivateEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; } } /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The bytes for privateEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrivateEndpointBytes() { + public com.google.protobuf.ByteString getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -185,11 +216,14 @@ public java.lang.String getPrivateEndpoint() { public static final int PUBLIC_ENDPOINT_FIELD_NUMBER = 5; private volatile java.lang.Object publicEndpoint_; /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The publicEndpoint. */ @java.lang.Override @@ -198,29 +232,29 @@ public java.lang.String getPublicEndpoint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; } } /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The bytes for publicEndpoint. */ @java.lang.Override - public com.google.protobuf.ByteString - getPublicEndpointBytes() { + public com.google.protobuf.ByteString getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -231,11 +265,14 @@ public java.lang.String getPublicEndpoint() { public static final int PEERING_NAME_FIELD_NUMBER = 7; private volatile java.lang.Object peeringName_; /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The peeringName. */ @java.lang.Override @@ -244,29 +281,29 @@ public java.lang.String getPeeringName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; } } /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The bytes for peeringName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPeeringNameBytes() { + public com.google.protobuf.ByteString getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peeringName_ = b; return b; } else { @@ -275,13 +312,19 @@ public java.lang.String getPeeringName() { } public static final int MASTER_GLOBAL_ACCESS_CONFIG_FIELD_NUMBER = 8; - private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; + private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + masterGlobalAccessConfig_; /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return Whether the masterGlobalAccessConfig field is set. */ @java.lang.Override @@ -289,38 +332,54 @@ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfig_ != null; } /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return The masterGlobalAccessConfig. */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { - return masterGlobalAccessConfig_ == null ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + getMasterGlobalAccessConfig() { + return masterGlobalAccessConfig_ == null + ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() + : masterGlobalAccessConfig_; } /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder + getMasterGlobalAccessConfigOrBuilder() { return getMasterGlobalAccessConfig(); } public static final int PRIVATE_ENDPOINT_SUBNETWORK_FIELD_NUMBER = 10; private volatile java.lang.Object privateEndpointSubnetwork_; /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The privateEndpointSubnetwork. */ @java.lang.Override @@ -329,30 +388,30 @@ public java.lang.String getPrivateEndpointSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; } } /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The bytes for privateEndpointSubnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -361,6 +420,7 @@ public java.lang.String getPrivateEndpointSubnetwork() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -372,8 +432,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enablePrivateNodes_ != false) { output.writeBool(1, enablePrivateNodes_); } @@ -408,12 +467,10 @@ public int getSerializedSize() { size = 0; if (enablePrivateNodes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enablePrivateNodes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enablePrivateNodes_); } if (enablePrivateEndpoint_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enablePrivateEndpoint_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enablePrivateEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(masterIpv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, masterIpv4CidrBlock_); @@ -428,11 +485,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, peeringName_); } if (masterGlobalAccessConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getMasterGlobalAccessConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 8, getMasterGlobalAccessConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(privateEndpointSubnetwork_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(10, privateEndpointSubnetwork_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -442,32 +501,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.PrivateClusterConfig)) { return super.equals(obj); } - com.google.container.v1beta1.PrivateClusterConfig other = (com.google.container.v1beta1.PrivateClusterConfig) obj; - - if (getEnablePrivateNodes() - != other.getEnablePrivateNodes()) return false; - if (getEnablePrivateEndpoint() - != other.getEnablePrivateEndpoint()) return false; - if (!getMasterIpv4CidrBlock() - .equals(other.getMasterIpv4CidrBlock())) return false; - if (!getPrivateEndpoint() - .equals(other.getPrivateEndpoint())) return false; - if (!getPublicEndpoint() - .equals(other.getPublicEndpoint())) return false; - if (!getPeeringName() - .equals(other.getPeeringName())) return false; + com.google.container.v1beta1.PrivateClusterConfig other = + (com.google.container.v1beta1.PrivateClusterConfig) obj; + + if (getEnablePrivateNodes() != other.getEnablePrivateNodes()) return false; + if (getEnablePrivateEndpoint() != other.getEnablePrivateEndpoint()) return false; + if (!getMasterIpv4CidrBlock().equals(other.getMasterIpv4CidrBlock())) return false; + if (!getPrivateEndpoint().equals(other.getPrivateEndpoint())) return false; + if (!getPublicEndpoint().equals(other.getPublicEndpoint())) return false; + if (!getPeeringName().equals(other.getPeeringName())) return false; if (hasMasterGlobalAccessConfig() != other.hasMasterGlobalAccessConfig()) return false; if (hasMasterGlobalAccessConfig()) { - if (!getMasterGlobalAccessConfig() - .equals(other.getMasterGlobalAccessConfig())) return false; + if (!getMasterGlobalAccessConfig().equals(other.getMasterGlobalAccessConfig())) return false; } - if (!getPrivateEndpointSubnetwork() - .equals(other.getPrivateEndpointSubnetwork())) return false; + if (!getPrivateEndpointSubnetwork().equals(other.getPrivateEndpointSubnetwork())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -480,11 +532,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_PRIVATE_NODES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateNodes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateNodes()); hash = (37 * hash) + ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnablePrivateEndpoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePrivateEndpoint()); hash = (37 * hash) + MASTER_IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getMasterIpv4CidrBlock().hashCode(); hash = (37 * hash) + PRIVATE_ENDPOINT_FIELD_NUMBER; @@ -505,129 +555,135 @@ public int hashCode() { } public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( 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.PrivateClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.PrivateClusterConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.PrivateClusterConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.PrivateClusterConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PrivateClusterConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PrivateClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.PrivateClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration options for private clusters.
    * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.PrivateClusterConfig) com.google.container.v1beta1.PrivateClusterConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterConfig.class, com.google.container.v1beta1.PrivateClusterConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterConfig.class, + com.google.container.v1beta1.PrivateClusterConfig.Builder.class); } // Construct using com.google.container.v1beta1.PrivateClusterConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -655,9 +711,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; } @java.lang.Override @@ -676,7 +732,8 @@ public com.google.container.v1beta1.PrivateClusterConfig build() { @java.lang.Override public com.google.container.v1beta1.PrivateClusterConfig buildPartial() { - com.google.container.v1beta1.PrivateClusterConfig result = new com.google.container.v1beta1.PrivateClusterConfig(this); + com.google.container.v1beta1.PrivateClusterConfig result = + new com.google.container.v1beta1.PrivateClusterConfig(this); result.enablePrivateNodes_ = enablePrivateNodes_; result.enablePrivateEndpoint_ = enablePrivateEndpoint_; result.masterIpv4CidrBlock_ = masterIpv4CidrBlock_; @@ -697,38 +754,39 @@ public com.google.container.v1beta1.PrivateClusterConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.PrivateClusterConfig) { - return mergeFrom((com.google.container.v1beta1.PrivateClusterConfig)other); + return mergeFrom((com.google.container.v1beta1.PrivateClusterConfig) other); } else { super.mergeFrom(other); return this; @@ -736,7 +794,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.PrivateClusterConfig other) { - if (other == com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.PrivateClusterConfig.getDefaultInstance()) + return this; if (other.getEnablePrivateNodes() != false) { setEnablePrivateNodes(other.getEnablePrivateNodes()); } @@ -792,54 +851,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enablePrivateNodes_ = input.readBool(); - - break; - } // case 8 - case 16: { - enablePrivateEndpoint_ = input.readBool(); - - break; - } // case 16 - case 26: { - masterIpv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - privateEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - publicEndpoint_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 58: { - peeringName_ = input.readStringRequireUtf8(); - - break; - } // case 58 - case 66: { - input.readMessage( - getMasterGlobalAccessConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 66 - case 82: { - privateEndpointSubnetwork_ = input.readStringRequireUtf8(); - - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enablePrivateNodes_ = input.readBool(); + + break; + } // case 8 + case 16: + { + enablePrivateEndpoint_ = input.readBool(); + + break; + } // case 16 + case 26: + { + masterIpv4CidrBlock_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + privateEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + publicEndpoint_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 58: + { + peeringName_ = input.readStringRequireUtf8(); + + break; + } // case 58 + case 66: + { + input.readMessage( + getMasterGlobalAccessConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 66 + case 82: + { + privateEndpointSubnetwork_ = input.readStringRequireUtf8(); + + 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) { @@ -850,8 +917,10 @@ public Builder mergeFrom( return this; } - private boolean enablePrivateNodes_ ; + private boolean enablePrivateNodes_; /** + * + * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -859,6 +928,7 @@ public Builder mergeFrom(
      * 
* * bool enable_private_nodes = 1; + * * @return The enablePrivateNodes. */ @java.lang.Override @@ -866,6 +936,8 @@ public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } /** + * + * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -873,16 +945,19 @@ public boolean getEnablePrivateNodes() {
      * 
* * bool enable_private_nodes = 1; + * * @param value The enablePrivateNodes to set. * @return This builder for chaining. */ public Builder setEnablePrivateNodes(boolean value) { - + enablePrivateNodes_ = value; onChanged(); return this; } /** + * + * *
      * Whether nodes have internal IP addresses only. If enabled, all nodes are
      * given only RFC 1918 private addresses and communicate with the master via
@@ -890,22 +965,26 @@ public Builder setEnablePrivateNodes(boolean value) {
      * 
* * bool enable_private_nodes = 1; + * * @return This builder for chaining. */ public Builder clearEnablePrivateNodes() { - + enablePrivateNodes_ = false; onChanged(); return this; } - private boolean enablePrivateEndpoint_ ; + private boolean enablePrivateEndpoint_; /** + * + * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; + * * @return The enablePrivateEndpoint. */ @java.lang.Override @@ -913,30 +992,36 @@ public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } /** + * + * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; + * * @param value The enablePrivateEndpoint to set. * @return This builder for chaining. */ public Builder setEnablePrivateEndpoint(boolean value) { - + enablePrivateEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Whether the master's internal IP address is used as the cluster endpoint.
      * 
* * bool enable_private_endpoint = 2; + * * @return This builder for chaining. */ public Builder clearEnablePrivateEndpoint() { - + enablePrivateEndpoint_ = false; onChanged(); return this; @@ -944,6 +1029,8 @@ public Builder clearEnablePrivateEndpoint() { private java.lang.Object masterIpv4CidrBlock_ = ""; /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -952,13 +1039,13 @@ public Builder clearEnablePrivateEndpoint() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @return The masterIpv4CidrBlock. */ public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterIpv4CidrBlock_ = s; return s; @@ -967,6 +1054,8 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -975,15 +1064,14 @@ public java.lang.String getMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @return The bytes for masterIpv4CidrBlock. */ - public com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterIpv4CidrBlock_ = b; return b; } else { @@ -991,6 +1079,8 @@ public java.lang.String getMasterIpv4CidrBlock() { } } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -999,20 +1089,22 @@ public java.lang.String getMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @param value The masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlock( - java.lang.String value) { + public Builder setMasterIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterIpv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1021,15 +1113,18 @@ public Builder setMasterIpv4CidrBlock(
      * 
* * string master_ipv4_cidr_block = 3; + * * @return This builder for chaining. */ public Builder clearMasterIpv4CidrBlock() { - + masterIpv4CidrBlock_ = getDefaultInstance().getMasterIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * The IP range in CIDR notation to use for the hosted master network. This
      * range will be used for assigning internal IP addresses to the master or
@@ -1038,16 +1133,16 @@ public Builder clearMasterIpv4CidrBlock() {
      * 
* * string master_ipv4_cidr_block = 3; + * * @param value The bytes for masterIpv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setMasterIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterIpv4CidrBlock_ = value; onChanged(); return this; @@ -1055,18 +1150,20 @@ public Builder setMasterIpv4CidrBlockBytes( private java.lang.Object privateEndpoint_ = ""; /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @return The privateEndpoint. */ public java.lang.String getPrivateEndpoint() { java.lang.Object ref = privateEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpoint_ = s; return s; @@ -1075,20 +1172,21 @@ public java.lang.String getPrivateEndpoint() { } } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @return The bytes for privateEndpoint. */ - public com.google.protobuf.ByteString - getPrivateEndpointBytes() { + public com.google.protobuf.ByteString getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpoint_ = b; return b; } else { @@ -1096,54 +1194,61 @@ public java.lang.String getPrivateEndpoint() { } } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @param value The privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpoint( - java.lang.String value) { + public Builder setPrivateEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @return This builder for chaining. */ public Builder clearPrivateEndpoint() { - + privateEndpoint_ = getDefaultInstance().getPrivateEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. The internal IP address of this cluster's master endpoint.
      * 
* * string private_endpoint = 4; + * * @param value The bytes for privateEndpoint to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpoint_ = value; onChanged(); return this; @@ -1151,18 +1256,20 @@ public Builder setPrivateEndpointBytes( private java.lang.Object publicEndpoint_ = ""; /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @return The publicEndpoint. */ public java.lang.String getPublicEndpoint() { java.lang.Object ref = publicEndpoint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); publicEndpoint_ = s; return s; @@ -1171,20 +1278,21 @@ public java.lang.String getPublicEndpoint() { } } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @return The bytes for publicEndpoint. */ - public com.google.protobuf.ByteString - getPublicEndpointBytes() { + public com.google.protobuf.ByteString getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); publicEndpoint_ = b; return b; } else { @@ -1192,54 +1300,61 @@ public java.lang.String getPublicEndpoint() { } } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @param value The publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpoint( - java.lang.String value) { + public Builder setPublicEndpoint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + publicEndpoint_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @return This builder for chaining. */ public Builder clearPublicEndpoint() { - + publicEndpoint_ = getDefaultInstance().getPublicEndpoint(); onChanged(); return this; } /** + * + * *
      * Output only. The external IP address of this cluster's master endpoint.
      * 
* * string public_endpoint = 5; + * * @param value The bytes for publicEndpoint to set. * @return This builder for chaining. */ - public Builder setPublicEndpointBytes( - com.google.protobuf.ByteString value) { + public Builder setPublicEndpointBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + publicEndpoint_ = value; onChanged(); return this; @@ -1247,18 +1362,20 @@ public Builder setPublicEndpointBytes( private java.lang.Object peeringName_ = ""; /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @return The peeringName. */ public java.lang.String getPeeringName() { java.lang.Object ref = peeringName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); peeringName_ = s; return s; @@ -1267,20 +1384,21 @@ public java.lang.String getPeeringName() { } } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @return The bytes for peeringName. */ - public com.google.protobuf.ByteString - getPeeringNameBytes() { + public com.google.protobuf.ByteString getPeeringNameBytes() { java.lang.Object ref = peeringName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); peeringName_ = b; return b; } else { @@ -1288,96 +1406,126 @@ public java.lang.String getPeeringName() { } } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @param value The peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringName( - java.lang.String value) { + public Builder setPeeringName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + peeringName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @return This builder for chaining. */ public Builder clearPeeringName() { - + peeringName_ = getDefaultInstance().getPeeringName(); onChanged(); return this; } /** + * + * *
      * Output only. The peering name in the customer VPC used by this cluster.
      * 
* * string peering_name = 7; + * * @param value The bytes for peeringName to set. * @return This builder for chaining. */ - public Builder setPeeringNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPeeringNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + peeringName_ = value; onChanged(); return this; } - private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig masterGlobalAccessConfig_; + private com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + masterGlobalAccessConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> masterGlobalAccessConfigBuilder_; + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> + masterGlobalAccessConfigBuilder_; /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return Whether the masterGlobalAccessConfig field is set. */ public boolean hasMasterGlobalAccessConfig() { return masterGlobalAccessConfigBuilder_ != null || masterGlobalAccessConfig_ != null; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return The masterGlobalAccessConfig. */ - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + getMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { - return masterGlobalAccessConfig_ == null ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null + ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + .getDefaultInstance() + : masterGlobalAccessConfig_; } else { return masterGlobalAccessConfigBuilder_.getMessage(); } } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public Builder setMasterGlobalAccessConfig(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder setMasterGlobalAccessConfig( + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1391,14 +1539,19 @@ public Builder setMasterGlobalAccessConfig(com.google.container.v1beta1.PrivateC return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ public Builder setMasterGlobalAccessConfig( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder builderForValue) { + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder + builderForValue) { if (masterGlobalAccessConfigBuilder_ == null) { masterGlobalAccessConfig_ = builderForValue.build(); onChanged(); @@ -1409,17 +1562,25 @@ public Builder setMasterGlobalAccessConfig( return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public Builder mergeMasterGlobalAccessConfig(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { + public Builder mergeMasterGlobalAccessConfig( + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig value) { if (masterGlobalAccessConfigBuilder_ == null) { if (masterGlobalAccessConfig_ != null) { masterGlobalAccessConfig_ = - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder(masterGlobalAccessConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder( + masterGlobalAccessConfig_) + .mergeFrom(value) + .buildPartial(); } else { masterGlobalAccessConfig_ = value; } @@ -1431,11 +1592,15 @@ public Builder mergeMasterGlobalAccessConfig(com.google.container.v1beta1.Privat return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ public Builder clearMasterGlobalAccessConfig() { if (masterGlobalAccessConfigBuilder_ == null) { @@ -1449,48 +1614,67 @@ public Builder clearMasterGlobalAccessConfig() { return this; } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder getMasterGlobalAccessConfigBuilder() { - + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder + getMasterGlobalAccessConfigBuilder() { + onChanged(); return getMasterGlobalAccessConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder + getMasterGlobalAccessConfigOrBuilder() { if (masterGlobalAccessConfigBuilder_ != null) { return masterGlobalAccessConfigBuilder_.getMessageOrBuilder(); } else { - return masterGlobalAccessConfig_ == null ? - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance() : masterGlobalAccessConfig_; + return masterGlobalAccessConfig_ == null + ? com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + .getDefaultInstance() + : masterGlobalAccessConfig_; } } /** + * + * *
      * Controls master global access settings.
      * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder> getMasterGlobalAccessConfigFieldBuilder() { if (masterGlobalAccessConfigBuilder_ == null) { - masterGlobalAccessConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( - getMasterGlobalAccessConfig(), - getParentForChildren(), - isClean()); + masterGlobalAccessConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder>( + getMasterGlobalAccessConfig(), getParentForChildren(), isClean()); masterGlobalAccessConfig_ = null; } return masterGlobalAccessConfigBuilder_; @@ -1498,19 +1682,21 @@ public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuil private java.lang.Object privateEndpointSubnetwork_ = ""; /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @return The privateEndpointSubnetwork. */ public java.lang.String getPrivateEndpointSubnetwork() { java.lang.Object ref = privateEndpointSubnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); privateEndpointSubnetwork_ = s; return s; @@ -1519,21 +1705,22 @@ public java.lang.String getPrivateEndpointSubnetwork() { } } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @return The bytes for privateEndpointSubnetwork. */ - public com.google.protobuf.ByteString - getPrivateEndpointSubnetworkBytes() { + public com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes() { java.lang.Object ref = privateEndpointSubnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); privateEndpointSubnetwork_ = b; return b; } else { @@ -1541,64 +1728,71 @@ public java.lang.String getPrivateEndpointSubnetwork() { } } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @param value The privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetwork( - java.lang.String value) { + public Builder setPrivateEndpointSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + privateEndpointSubnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @return This builder for chaining. */ public Builder clearPrivateEndpointSubnetwork() { - + privateEndpointSubnetwork_ = getDefaultInstance().getPrivateEndpointSubnetwork(); onChanged(); return this; } /** + * + * *
      * Subnet to provision the master's private endpoint during cluster creation.
      * Specified in projects/*/regions/*/subnetworks/* format.
      * 
* * string private_endpoint_subnetwork = 10; + * * @param value The bytes for privateEndpointSubnetwork to set. * @return This builder for chaining. */ - public Builder setPrivateEndpointSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setPrivateEndpointSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + privateEndpointSubnetwork_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1608,12 +1802,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.PrivateClusterConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.PrivateClusterConfig) private static final com.google.container.v1beta1.PrivateClusterConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.PrivateClusterConfig(); } @@ -1622,27 +1816,27 @@ public static com.google.container.v1beta1.PrivateClusterConfig getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1657,6 +1851,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.PrivateClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java index a3fa6c4d2b32..543dcd1264dd 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface PrivateClusterConfigOrBuilder extends +public interface PrivateClusterConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PrivateClusterConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether nodes have internal IP addresses only. If enabled, all nodes are
    * given only RFC 1918 private addresses and communicate with the master via
@@ -15,21 +33,27 @@ public interface PrivateClusterConfigOrBuilder extends
    * 
* * bool enable_private_nodes = 1; + * * @return The enablePrivateNodes. */ boolean getEnablePrivateNodes(); /** + * + * *
    * Whether the master's internal IP address is used as the cluster endpoint.
    * 
* * bool enable_private_endpoint = 2; + * * @return The enablePrivateEndpoint. */ boolean getEnablePrivateEndpoint(); /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -38,10 +62,13 @@ public interface PrivateClusterConfigOrBuilder extends
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The masterIpv4CidrBlock. */ java.lang.String getMasterIpv4CidrBlock(); /** + * + * *
    * The IP range in CIDR notation to use for the hosted master network. This
    * range will be used for assigning internal IP addresses to the master or
@@ -50,117 +77,152 @@ public interface PrivateClusterConfigOrBuilder extends
    * 
* * string master_ipv4_cidr_block = 3; + * * @return The bytes for masterIpv4CidrBlock. */ - com.google.protobuf.ByteString - getMasterIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes(); /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The privateEndpoint. */ java.lang.String getPrivateEndpoint(); /** + * + * *
    * Output only. The internal IP address of this cluster's master endpoint.
    * 
* * string private_endpoint = 4; + * * @return The bytes for privateEndpoint. */ - com.google.protobuf.ByteString - getPrivateEndpointBytes(); + com.google.protobuf.ByteString getPrivateEndpointBytes(); /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The publicEndpoint. */ java.lang.String getPublicEndpoint(); /** + * + * *
    * Output only. The external IP address of this cluster's master endpoint.
    * 
* * string public_endpoint = 5; + * * @return The bytes for publicEndpoint. */ - com.google.protobuf.ByteString - getPublicEndpointBytes(); + com.google.protobuf.ByteString getPublicEndpointBytes(); /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The peeringName. */ java.lang.String getPeeringName(); /** + * + * *
    * Output only. The peering name in the customer VPC used by this cluster.
    * 
* * string peering_name = 7; + * * @return The bytes for peeringName. */ - com.google.protobuf.ByteString - getPeeringNameBytes(); + com.google.protobuf.ByteString getPeeringNameBytes(); /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return Whether the masterGlobalAccessConfig field is set. */ boolean hasMasterGlobalAccessConfig(); /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * * @return The masterGlobalAccessConfig. */ com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getMasterGlobalAccessConfig(); /** + * + * *
    * Controls master global access settings.
    * 
* - * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * + * .google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig master_global_access_config = 8; + * */ - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder getMasterGlobalAccessConfigOrBuilder(); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder + getMasterGlobalAccessConfigOrBuilder(); /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The privateEndpointSubnetwork. */ java.lang.String getPrivateEndpointSubnetwork(); /** + * + * *
    * Subnet to provision the master's private endpoint during cluster creation.
    * Specified in projects/*/regions/*/subnetworks/* format.
    * 
* * string private_endpoint_subnetwork = 10; + * * @return The bytes for privateEndpointSubnetwork. */ - com.google.protobuf.ByteString - getPrivateEndpointSubnetworkBytes(); + com.google.protobuf.ByteString getPrivateEndpointSubnetworkBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java similarity index 58% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java index 637e5e6e56d3..3fd0fbadeda5 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfig.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for controlling master global access settings.
  * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig} */ -public final class PrivateClusterMasterGlobalAccessConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PrivateClusterMasterGlobalAccessConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) PrivateClusterMasterGlobalAccessConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrivateClusterMasterGlobalAccessConfig.newBuilder() to construct. - private PrivateClusterMasterGlobalAccessConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private PrivateClusterMasterGlobalAccessConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrivateClusterMasterGlobalAccessConfig() { - } + + private PrivateClusterMasterGlobalAccessConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrivateClusterMasterGlobalAccessConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whenever master is accessible globally or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +86,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +112,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig)) { return super.equals(obj); } - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other = (com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) obj; + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other = + (com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +143,145 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( 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.PrivateClusterMasterGlobalAccessConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig 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.PrivateClusterMasterGlobalAccessConfig + 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.PrivateClusterMasterGlobalAccessConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for controlling master global access settings.
    * 
* * Protobuf type {@code google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.class, + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.Builder.class); } - // Construct using com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder() - private Builder() { + // Construct using + // com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,14 +291,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { - return com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance(); + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + getDefaultInstanceForType() { + return com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + .getDefaultInstance(); } @java.lang.Override @@ -282,7 +314,8 @@ public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig build @java.lang.Override public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig buildPartial() { - com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig result = new com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig(this); + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig result = + new com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,46 +325,51 @@ public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.PrivateClusterMasterGlobalAccessConfig) { - return mergeFrom((com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig)other); + return mergeFrom( + (com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other) { - if (other == com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig other) { + if (other + == com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + .getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +399,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +422,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +439,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whenever master is accessible globally or not.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,41 +485,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) - private static final com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig(); } - public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getDefaultInstance() { + public static com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrivateClusterMasterGlobalAccessConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -482,9 +533,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig getDefaultInstanceForType() { + public com.google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java new file mode 100644 index 000000000000..e1eeb7fc6248 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface PrivateClusterMasterGlobalAccessConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whenever master is accessible globally or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java similarity index 71% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java index d669d06097d5..9145e97b9494 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateIPv6GoogleAccess.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * PrivateIPv6GoogleAccess controls whether and how the pods can communicate
  * with Google Services through gRPC over IPv6.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.container.v1beta1.PrivateIPv6GoogleAccess}
  */
-public enum PrivateIPv6GoogleAccess
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum PrivateIPv6GoogleAccess implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. Same as DISABLED
    * 
@@ -22,6 +40,8 @@ public enum PrivateIPv6GoogleAccess */ PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED(0), /** + * + * *
    * No private access to or from Google Services
    * 
@@ -30,6 +50,8 @@ public enum PrivateIPv6GoogleAccess */ PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED(1), /** + * + * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -38,6 +60,8 @@ public enum PrivateIPv6GoogleAccess */ PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE(2), /** + * + * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -49,6 +73,8 @@ public enum PrivateIPv6GoogleAccess ; /** + * + * *
    * Default value. Same as DISABLED
    * 
@@ -57,6 +83,8 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE = 0; /** + * + * *
    * No private access to or from Google Services
    * 
@@ -65,6 +93,8 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED_VALUE = 1; /** + * + * *
    * Enables private IPv6 access to Google Services from GKE
    * 
@@ -73,6 +103,8 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE_VALUE = 2; /** + * + * *
    * Enables priate IPv6 access to and from Google Services
    * 
@@ -81,7 +113,6 @@ public enum PrivateIPv6GoogleAccess */ public static final int PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,11 +137,16 @@ public static PrivateIPv6GoogleAccess valueOf(int value) { */ public static PrivateIPv6GoogleAccess forNumber(int value) { switch (value) { - case 0: return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; - case 1: return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; - case 2: return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; - case 3: return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; - default: return null; + case 0: + return PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED; + case 1: + return PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED; + case 2: + return PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE; + case 3: + return PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL; + default: + return null; } } @@ -118,28 +154,28 @@ public static PrivateIPv6GoogleAccess forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - PrivateIPv6GoogleAccess> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PrivateIPv6GoogleAccess findValueByNumber(int number) { - return PrivateIPv6GoogleAccess.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PrivateIPv6GoogleAccess findValueByNumber(int number) { + return PrivateIPv6GoogleAccess.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(0); } @@ -148,8 +184,7 @@ public PrivateIPv6GoogleAccess findValueByNumber(int number) { public static PrivateIPv6GoogleAccess valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -165,4 +200,3 @@ private PrivateIPv6GoogleAccess(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1beta1.PrivateIPv6GoogleAccess) } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java index 9371dacf3a03..12f11866e894 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfig.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ProtectConfig defines the flags needed to enable/disable features for the
  * Protect API.
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.container.v1beta1.ProtectConfig}
  */
-public final class ProtectConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ProtectConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ProtectConfig)
     ProtectConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ProtectConfig.newBuilder() to construct.
   private ProtectConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ProtectConfig() {
     workloadVulnerabilityMode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ProtectConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ProtectConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ProtectConfig.class, com.google.container.v1beta1.ProtectConfig.Builder.class);
+            com.google.container.v1beta1.ProtectConfig.class,
+            com.google.container.v1beta1.ProtectConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * WorkloadVulnerabilityMode defines mode to perform vulnerability scanning.
    * 
* * Protobuf enum {@code google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode} */ - public enum WorkloadVulnerabilityMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum WorkloadVulnerabilityMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value not specified.
      * 
@@ -67,6 +89,8 @@ public enum WorkloadVulnerabilityMode */ WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED(0), /** + * + * *
      * Disables Workload Vulnerability Scanning feature on the cluster.
      * 
@@ -75,6 +99,8 @@ public enum WorkloadVulnerabilityMode */ DISABLED(1), /** + * + * *
      * Applies basic vulnerability scanning settings for cluster workloads.
      * 
@@ -86,6 +112,8 @@ public enum WorkloadVulnerabilityMode ; /** + * + * *
      * Default value not specified.
      * 
@@ -94,6 +122,8 @@ public enum WorkloadVulnerabilityMode */ public static final int WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Disables Workload Vulnerability Scanning feature on the cluster.
      * 
@@ -102,6 +132,8 @@ public enum WorkloadVulnerabilityMode */ public static final int DISABLED_VALUE = 1; /** + * + * *
      * Applies basic vulnerability scanning settings for cluster workloads.
      * 
@@ -110,7 +142,6 @@ public enum WorkloadVulnerabilityMode */ public static final int BASIC_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -135,10 +166,14 @@ public static WorkloadVulnerabilityMode valueOf(int value) { */ public static WorkloadVulnerabilityMode forNumber(int value) { switch (value) { - case 0: return WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED; - case 1: return DISABLED; - case 2: return BASIC; - default: return null; + case 0: + return WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED; + case 1: + return DISABLED; + case 2: + return BASIC; + default: + return null; } } @@ -146,28 +181,28 @@ public static WorkloadVulnerabilityMode forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - WorkloadVulnerabilityMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public WorkloadVulnerabilityMode findValueByNumber(int number) { - return WorkloadVulnerabilityMode.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WorkloadVulnerabilityMode findValueByNumber(int number) { + return WorkloadVulnerabilityMode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.ProtectConfig.getDescriptor().getEnumTypes().get(0); } @@ -176,8 +211,7 @@ public WorkloadVulnerabilityMode findValueByNumber(int number) { public static WorkloadVulnerabilityMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -198,12 +232,15 @@ private WorkloadVulnerabilityMode(int value) { public static final int WORKLOAD_CONFIG_FIELD_NUMBER = 1; private com.google.container.v1beta1.WorkloadConfig workloadConfig_; /** + * + * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * * @return Whether the workloadConfig field is set. */ @java.lang.Override @@ -211,19 +248,26 @@ public boolean hasWorkloadConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * * @return The workloadConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() { - return workloadConfig_ == null ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_; + return workloadConfig_ == null + ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() + : workloadConfig_; } /** + * + * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
@@ -233,48 +277,74 @@ public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() {
    */
   @java.lang.Override
   public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrBuilder() {
-    return workloadConfig_ == null ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_;
+    return workloadConfig_ == null
+        ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()
+        : workloadConfig_;
   }
 
   public static final int WORKLOAD_VULNERABILITY_MODE_FIELD_NUMBER = 2;
   private int workloadVulnerabilityMode_;
   /**
+   *
+   *
    * 
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return Whether the workloadVulnerabilityMode field is set. */ - @java.lang.Override public boolean hasWorkloadVulnerabilityMode() { + @java.lang.Override + public boolean hasWorkloadVulnerabilityMode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return The enum numeric value on the wire for workloadVulnerabilityMode. */ - @java.lang.Override public int getWorkloadVulnerabilityModeValue() { + @java.lang.Override + public int getWorkloadVulnerabilityModeValue() { return workloadVulnerabilityMode_; } /** + * + * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return The workloadVulnerabilityMode. */ - @java.lang.Override public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode getWorkloadVulnerabilityMode() { + @java.lang.Override + public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode + getWorkloadVulnerabilityMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf(workloadVulnerabilityMode_); - return result == null ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED : result; + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf( + workloadVulnerabilityMode_); + return result == null + ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,8 +356,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getWorkloadConfig()); } @@ -304,12 +373,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWorkloadConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWorkloadConfig()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, workloadVulnerabilityMode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, workloadVulnerabilityMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -319,17 +386,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ProtectConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ProtectConfig other = (com.google.container.v1beta1.ProtectConfig) obj; + com.google.container.v1beta1.ProtectConfig other = + (com.google.container.v1beta1.ProtectConfig) obj; if (hasWorkloadConfig() != other.hasWorkloadConfig()) return false; if (hasWorkloadConfig()) { - if (!getWorkloadConfig() - .equals(other.getWorkloadConfig())) return false; + if (!getWorkloadConfig().equals(other.getWorkloadConfig())) return false; } if (hasWorkloadVulnerabilityMode() != other.hasWorkloadVulnerabilityMode()) return false; if (hasWorkloadVulnerabilityMode()) { @@ -359,97 +426,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ProtectConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ProtectConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ProtectConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ProtectConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ProtectConfig parseFrom( 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.ProtectConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ProtectConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ProtectConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ProtectConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ProtectConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ProtectConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ProtectConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ProtectConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ProtectConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ProtectConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ProtectConfig defines the flags needed to enable/disable features for the
    * Protect API.
@@ -457,21 +531,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ProtectConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ProtectConfig)
       com.google.container.v1beta1.ProtectConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ProtectConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ProtectConfig.class, com.google.container.v1beta1.ProtectConfig.Builder.class);
+              com.google.container.v1beta1.ProtectConfig.class,
+              com.google.container.v1beta1.ProtectConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ProtectConfig.newBuilder()
@@ -479,17 +555,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getWorkloadConfigFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -505,9 +581,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ProtectConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ProtectConfig_descriptor;
     }
 
     @java.lang.Override
@@ -526,7 +602,8 @@ public com.google.container.v1beta1.ProtectConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ProtectConfig buildPartial() {
-      com.google.container.v1beta1.ProtectConfig result = new com.google.container.v1beta1.ProtectConfig(this);
+      com.google.container.v1beta1.ProtectConfig result =
+          new com.google.container.v1beta1.ProtectConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -550,38 +627,39 @@ public com.google.container.v1beta1.ProtectConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ProtectConfig) {
-        return mergeFrom((com.google.container.v1beta1.ProtectConfig)other);
+        return mergeFrom((com.google.container.v1beta1.ProtectConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -622,24 +700,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getWorkloadConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              workloadVulnerabilityMode_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getWorkloadConfigFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                workloadVulnerabilityMode_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -649,40 +728,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.container.v1beta1.WorkloadConfig workloadConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.WorkloadConfig, com.google.container.v1beta1.WorkloadConfig.Builder, com.google.container.v1beta1.WorkloadConfigOrBuilder> workloadConfigBuilder_;
+            com.google.container.v1beta1.WorkloadConfig,
+            com.google.container.v1beta1.WorkloadConfig.Builder,
+            com.google.container.v1beta1.WorkloadConfigOrBuilder>
+        workloadConfigBuilder_;
     /**
+     *
+     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
      * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * * @return Whether the workloadConfig field is set. */ public boolean hasWorkloadConfig() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
      * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * * @return The workloadConfig. */ public com.google.container.v1beta1.WorkloadConfig getWorkloadConfig() { if (workloadConfigBuilder_ == null) { - return workloadConfig_ == null ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_; + return workloadConfig_ == null + ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() + : workloadConfig_; } else { return workloadConfigBuilder_.getMessage(); } } /** + * + * *
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -704,6 +797,8 @@ public Builder setWorkloadConfig(com.google.container.v1beta1.WorkloadConfig val
       return this;
     }
     /**
+     *
+     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -723,6 +818,8 @@ public Builder setWorkloadConfig(
       return this;
     }
     /**
+     *
+     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -732,11 +829,14 @@ public Builder setWorkloadConfig(
      */
     public Builder mergeWorkloadConfig(com.google.container.v1beta1.WorkloadConfig value) {
       if (workloadConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-            workloadConfig_ != null &&
-            workloadConfig_ != com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && workloadConfig_ != null
+            && workloadConfig_
+                != com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()) {
           workloadConfig_ =
-            com.google.container.v1beta1.WorkloadConfig.newBuilder(workloadConfig_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.WorkloadConfig.newBuilder(workloadConfig_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           workloadConfig_ = value;
         }
@@ -748,6 +848,8 @@ public Builder mergeWorkloadConfig(com.google.container.v1beta1.WorkloadConfig v
       return this;
     }
     /**
+     *
+     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -766,6 +868,8 @@ public Builder clearWorkloadConfig() {
       return this;
     }
     /**
+     *
+     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -779,6 +883,8 @@ public com.google.container.v1beta1.WorkloadConfig.Builder getWorkloadConfigBuil
       return getWorkloadConfigFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -790,11 +896,14 @@ public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrB
       if (workloadConfigBuilder_ != null) {
         return workloadConfigBuilder_.getMessageOrBuilder();
       } else {
-        return workloadConfig_ == null ?
-            com.google.container.v1beta1.WorkloadConfig.getDefaultInstance() : workloadConfig_;
+        return workloadConfig_ == null
+            ? com.google.container.v1beta1.WorkloadConfig.getDefaultInstance()
+            : workloadConfig_;
       }
     }
     /**
+     *
+     *
      * 
      * WorkloadConfig defines which actions are enabled for a cluster's workload
      * configurations.
@@ -803,14 +912,17 @@ public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrB
      * optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.WorkloadConfig, com.google.container.v1beta1.WorkloadConfig.Builder, com.google.container.v1beta1.WorkloadConfigOrBuilder> 
+            com.google.container.v1beta1.WorkloadConfig,
+            com.google.container.v1beta1.WorkloadConfig.Builder,
+            com.google.container.v1beta1.WorkloadConfigOrBuilder>
         getWorkloadConfigFieldBuilder() {
       if (workloadConfigBuilder_ == null) {
-        workloadConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.WorkloadConfig, com.google.container.v1beta1.WorkloadConfig.Builder, com.google.container.v1beta1.WorkloadConfigOrBuilder>(
-                getWorkloadConfig(),
-                getParentForChildren(),
-                isClean());
+        workloadConfigBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.WorkloadConfig,
+                com.google.container.v1beta1.WorkloadConfig.Builder,
+                com.google.container.v1beta1.WorkloadConfigOrBuilder>(
+                getWorkloadConfig(), getParentForChildren(), isClean());
         workloadConfig_ = null;
       }
       return workloadConfigBuilder_;
@@ -818,33 +930,50 @@ public com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrB
 
     private int workloadVulnerabilityMode_ = 0;
     /**
+     *
+     *
      * 
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return Whether the workloadVulnerabilityMode field is set. */ - @java.lang.Override public boolean hasWorkloadVulnerabilityMode() { + @java.lang.Override + public boolean hasWorkloadVulnerabilityMode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return The enum numeric value on the wire for workloadVulnerabilityMode. */ - @java.lang.Override public int getWorkloadVulnerabilityModeValue() { + @java.lang.Override + public int getWorkloadVulnerabilityModeValue() { return workloadVulnerabilityMode_; } /** + * + * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @param value The enum numeric value on the wire for workloadVulnerabilityMode to set. * @return This builder for chaining. */ @@ -855,29 +984,45 @@ public Builder setWorkloadVulnerabilityModeValue(int value) { return this; } /** + * + * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return The workloadVulnerabilityMode. */ @java.lang.Override - public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode getWorkloadVulnerabilityMode() { + public com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode + getWorkloadVulnerabilityMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf(workloadVulnerabilityMode_); - return result == null ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED : result; + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode result = + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.valueOf( + workloadVulnerabilityMode_); + return result == null + ? com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode.UNRECOGNIZED + : result; } /** + * + * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @param value The workloadVulnerabilityMode to set. * @return This builder for chaining. */ - public Builder setWorkloadVulnerabilityMode(com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode value) { + public Builder setWorkloadVulnerabilityMode( + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode value) { if (value == null) { throw new NullPointerException(); } @@ -887,11 +1032,16 @@ public Builder setWorkloadVulnerabilityMode(com.google.container.v1beta1.Protect return this; } /** + * + * *
      * Sets which mode to use for Protect workload vulnerability scanning feature.
      * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return This builder for chaining. */ public Builder clearWorkloadVulnerabilityMode() { @@ -900,9 +1050,9 @@ public Builder clearWorkloadVulnerabilityMode() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,12 +1062,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ProtectConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ProtectConfig) private static final com.google.container.v1beta1.ProtectConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ProtectConfig(); } @@ -926,27 +1076,27 @@ public static com.google.container.v1beta1.ProtectConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProtectConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProtectConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,6 +1111,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ProtectConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java index 4391f3115f90..4c61f3a51870 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ProtectConfigOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ProtectConfigOrBuilder extends +public interface ProtectConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ProtectConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * * @return Whether the workloadConfig field is set. */ boolean hasWorkloadConfig(); /** + * + * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
    * 
* * optional .google.container.v1beta1.WorkloadConfig workload_config = 1; + * * @return The workloadConfig. */ com.google.container.v1beta1.WorkloadConfig getWorkloadConfig(); /** + * + * *
    * WorkloadConfig defines which actions are enabled for a cluster's workload
    * configurations.
@@ -38,30 +62,46 @@ public interface ProtectConfigOrBuilder extends
   com.google.container.v1beta1.WorkloadConfigOrBuilder getWorkloadConfigOrBuilder();
 
   /**
+   *
+   *
    * 
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return Whether the workloadVulnerabilityMode field is set. */ boolean hasWorkloadVulnerabilityMode(); /** + * + * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return The enum numeric value on the wire for workloadVulnerabilityMode. */ int getWorkloadVulnerabilityModeValue(); /** + * + * *
    * Sets which mode to use for Protect workload vulnerability scanning feature.
    * 
* - * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2; + * + * * @return The workloadVulnerabilityMode. */ - com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode getWorkloadVulnerabilityMode(); + com.google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode + getWorkloadVulnerabilityMode(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java similarity index 75% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java index 5c819ef79951..688cf2ad46c1 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindow.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Represents an arbitrary window of time that recurs.
  * 
* * Protobuf type {@code google.container.v1beta1.RecurringTimeWindow} */ -public final class RecurringTimeWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RecurringTimeWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.RecurringTimeWindow) RecurringTimeWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RecurringTimeWindow.newBuilder() to construct. private RecurringTimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RecurringTimeWindow() { recurrence_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RecurringTimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.RecurringTimeWindow.class, com.google.container.v1beta1.RecurringTimeWindow.Builder.class); + com.google.container.v1beta1.RecurringTimeWindow.class, + com.google.container.v1beta1.RecurringTimeWindow.Builder.class); } public static final int WINDOW_FIELD_NUMBER = 1; private com.google.container.v1beta1.TimeWindow window_; /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; + * * @return Whether the window field is set. */ @java.lang.Override @@ -63,11 +85,14 @@ public boolean hasWindow() { return window_ != null; } /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; + * * @return The window. */ @java.lang.Override @@ -75,6 +100,8 @@ public com.google.container.v1beta1.TimeWindow getWindow() { return window_ == null ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() : window_; } /** + * + * *
    * The window of the first recurrence.
    * 
@@ -89,6 +116,8 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { public static final int RECURRENCE_FIELD_NUMBER = 2; private volatile java.lang.Object recurrence_; /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -119,6 +148,7 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() {
    * 
* * string recurrence = 2; + * * @return The recurrence. */ @java.lang.Override @@ -127,14 +157,15 @@ public java.lang.String getRecurrence() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; } } /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -165,16 +196,15 @@ public java.lang.String getRecurrence() {
    * 
* * string recurrence = 2; + * * @return The bytes for recurrence. */ @java.lang.Override - public com.google.protobuf.ByteString - getRecurrenceBytes() { + public com.google.protobuf.ByteString getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recurrence_ = b; return b; } else { @@ -183,6 +213,7 @@ public java.lang.String getRecurrence() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,8 +225,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (window_ != null) { output.writeMessage(1, getWindow()); } @@ -212,8 +242,7 @@ public int getSerializedSize() { size = 0; if (window_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getWindow()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getWindow()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(recurrence_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, recurrence_); @@ -226,20 +255,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.RecurringTimeWindow)) { return super.equals(obj); } - com.google.container.v1beta1.RecurringTimeWindow other = (com.google.container.v1beta1.RecurringTimeWindow) obj; + com.google.container.v1beta1.RecurringTimeWindow other = + (com.google.container.v1beta1.RecurringTimeWindow) obj; if (hasWindow() != other.hasWindow()) return false; if (hasWindow()) { - if (!getWindow() - .equals(other.getWindow())) return false; + if (!getWindow().equals(other.getWindow())) return false; } - if (!getRecurrence() - .equals(other.getRecurrence())) return false; + if (!getRecurrence().equals(other.getRecurrence())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,130 +290,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RecurringTimeWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( 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.RecurringTimeWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.RecurringTimeWindow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.RecurringTimeWindow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.RecurringTimeWindow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.RecurringTimeWindow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.RecurringTimeWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.RecurringTimeWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents an arbitrary window of time that recurs.
    * 
* * Protobuf type {@code google.container.v1beta1.RecurringTimeWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.RecurringTimeWindow) com.google.container.v1beta1.RecurringTimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.RecurringTimeWindow.class, com.google.container.v1beta1.RecurringTimeWindow.Builder.class); + com.google.container.v1beta1.RecurringTimeWindow.class, + com.google.container.v1beta1.RecurringTimeWindow.Builder.class); } // Construct using com.google.container.v1beta1.RecurringTimeWindow.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -401,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; } @java.lang.Override @@ -422,7 +456,8 @@ public com.google.container.v1beta1.RecurringTimeWindow build() { @java.lang.Override public com.google.container.v1beta1.RecurringTimeWindow buildPartial() { - com.google.container.v1beta1.RecurringTimeWindow result = new com.google.container.v1beta1.RecurringTimeWindow(this); + com.google.container.v1beta1.RecurringTimeWindow result = + new com.google.container.v1beta1.RecurringTimeWindow(this); if (windowBuilder_ == null) { result.window_ = window_; } else { @@ -437,38 +472,39 @@ public com.google.container.v1beta1.RecurringTimeWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.RecurringTimeWindow) { - return mergeFrom((com.google.container.v1beta1.RecurringTimeWindow)other); + return mergeFrom((com.google.container.v1beta1.RecurringTimeWindow) other); } else { super.mergeFrom(other); return this; @@ -476,7 +512,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.RecurringTimeWindow other) { - if (other == com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.RecurringTimeWindow.getDefaultInstance()) + return this; if (other.hasWindow()) { mergeWindow(other.getWindow()); } @@ -510,24 +547,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getWindowFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getWindowFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - recurrence_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + recurrence_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -540,34 +578,47 @@ public Builder mergeFrom( private com.google.container.v1beta1.TimeWindow window_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TimeWindow, com.google.container.v1beta1.TimeWindow.Builder, com.google.container.v1beta1.TimeWindowOrBuilder> windowBuilder_; + com.google.container.v1beta1.TimeWindow, + com.google.container.v1beta1.TimeWindow.Builder, + com.google.container.v1beta1.TimeWindowOrBuilder> + windowBuilder_; /** + * + * *
      * The window of the first recurrence.
      * 
* * .google.container.v1beta1.TimeWindow window = 1; + * * @return Whether the window field is set. */ public boolean hasWindow() { return windowBuilder_ != null || window_ != null; } /** + * + * *
      * The window of the first recurrence.
      * 
* * .google.container.v1beta1.TimeWindow window = 1; + * * @return The window. */ public com.google.container.v1beta1.TimeWindow getWindow() { if (windowBuilder_ == null) { - return window_ == null ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() + : window_; } else { return windowBuilder_.getMessage(); } } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -588,14 +639,15 @@ public Builder setWindow(com.google.container.v1beta1.TimeWindow value) { return this; } /** + * + * *
      * The window of the first recurrence.
      * 
* * .google.container.v1beta1.TimeWindow window = 1; */ - public Builder setWindow( - com.google.container.v1beta1.TimeWindow.Builder builderForValue) { + public Builder setWindow(com.google.container.v1beta1.TimeWindow.Builder builderForValue) { if (windowBuilder_ == null) { window_ = builderForValue.build(); onChanged(); @@ -606,6 +658,8 @@ public Builder setWindow( return this; } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -616,7 +670,9 @@ public Builder mergeWindow(com.google.container.v1beta1.TimeWindow value) { if (windowBuilder_ == null) { if (window_ != null) { window_ = - com.google.container.v1beta1.TimeWindow.newBuilder(window_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.TimeWindow.newBuilder(window_) + .mergeFrom(value) + .buildPartial(); } else { window_ = value; } @@ -628,6 +684,8 @@ public Builder mergeWindow(com.google.container.v1beta1.TimeWindow value) { return this; } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -646,6 +704,8 @@ public Builder clearWindow() { return this; } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -653,11 +713,13 @@ public Builder clearWindow() { * .google.container.v1beta1.TimeWindow window = 1; */ public com.google.container.v1beta1.TimeWindow.Builder getWindowBuilder() { - + onChanged(); return getWindowFieldBuilder().getBuilder(); } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -668,11 +730,14 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { if (windowBuilder_ != null) { return windowBuilder_.getMessageOrBuilder(); } else { - return window_ == null ? - com.google.container.v1beta1.TimeWindow.getDefaultInstance() : window_; + return window_ == null + ? com.google.container.v1beta1.TimeWindow.getDefaultInstance() + : window_; } } /** + * + * *
      * The window of the first recurrence.
      * 
@@ -680,14 +745,17 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { * .google.container.v1beta1.TimeWindow window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TimeWindow, com.google.container.v1beta1.TimeWindow.Builder, com.google.container.v1beta1.TimeWindowOrBuilder> + com.google.container.v1beta1.TimeWindow, + com.google.container.v1beta1.TimeWindow.Builder, + com.google.container.v1beta1.TimeWindowOrBuilder> getWindowFieldBuilder() { if (windowBuilder_ == null) { - windowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.TimeWindow, com.google.container.v1beta1.TimeWindow.Builder, com.google.container.v1beta1.TimeWindowOrBuilder>( - getWindow(), - getParentForChildren(), - isClean()); + windowBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.TimeWindow, + com.google.container.v1beta1.TimeWindow.Builder, + com.google.container.v1beta1.TimeWindowOrBuilder>( + getWindow(), getParentForChildren(), isClean()); window_ = null; } return windowBuilder_; @@ -695,6 +763,8 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() { private java.lang.Object recurrence_ = ""; /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -725,13 +795,13 @@ public com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder() {
      * 
* * string recurrence = 2; + * * @return The recurrence. */ public java.lang.String getRecurrence() { java.lang.Object ref = recurrence_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recurrence_ = s; return s; @@ -740,6 +810,8 @@ public java.lang.String getRecurrence() { } } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -770,15 +842,14 @@ public java.lang.String getRecurrence() {
      * 
* * string recurrence = 2; + * * @return The bytes for recurrence. */ - public com.google.protobuf.ByteString - getRecurrenceBytes() { + public com.google.protobuf.ByteString getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); recurrence_ = b; return b; } else { @@ -786,6 +857,8 @@ public java.lang.String getRecurrence() { } } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -816,20 +889,22 @@ public java.lang.String getRecurrence() {
      * 
* * string recurrence = 2; + * * @param value The recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrence( - java.lang.String value) { + public Builder setRecurrence(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + recurrence_ = value; onChanged(); return this; } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -860,15 +935,18 @@ public Builder setRecurrence(
      * 
* * string recurrence = 2; + * * @return This builder for chaining. */ public Builder clearRecurrence() { - + recurrence_ = getDefaultInstance().getRecurrence(); onChanged(); return this; } /** + * + * *
      * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
      * this window reccurs. They go on for the span of time between the start and
@@ -899,23 +977,23 @@ public Builder clearRecurrence() {
      * 
* * string recurrence = 2; + * * @param value The bytes for recurrence to set. * @return This builder for chaining. */ - public Builder setRecurrenceBytes( - com.google.protobuf.ByteString value) { + public Builder setRecurrenceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + recurrence_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -925,12 +1003,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.RecurringTimeWindow) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.RecurringTimeWindow) private static final com.google.container.v1beta1.RecurringTimeWindow DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.RecurringTimeWindow(); } @@ -939,27 +1017,27 @@ public static com.google.container.v1beta1.RecurringTimeWindow getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RecurringTimeWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecurringTimeWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,6 +1052,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.RecurringTimeWindow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java similarity index 82% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java index ae5469cba867..6c78341937d0 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RecurringTimeWindowOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface RecurringTimeWindowOrBuilder extends +public interface RecurringTimeWindowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.RecurringTimeWindow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; + * * @return Whether the window field is set. */ boolean hasWindow(); /** + * + * *
    * The window of the first recurrence.
    * 
* * .google.container.v1beta1.TimeWindow window = 1; + * * @return The window. */ com.google.container.v1beta1.TimeWindow getWindow(); /** + * + * *
    * The window of the first recurrence.
    * 
@@ -35,6 +59,8 @@ public interface RecurringTimeWindowOrBuilder extends com.google.container.v1beta1.TimeWindowOrBuilder getWindowOrBuilder(); /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -65,10 +91,13 @@ public interface RecurringTimeWindowOrBuilder extends
    * 
* * string recurrence = 2; + * * @return The recurrence. */ java.lang.String getRecurrence(); /** + * + * *
    * An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
    * this window reccurs. They go on for the span of time between the start and
@@ -99,8 +128,8 @@ public interface RecurringTimeWindowOrBuilder extends
    * 
* * string recurrence = 2; + * * @return The bytes for recurrence. */ - com.google.protobuf.ByteString - getRecurrenceBytes(); + com.google.protobuf.ByteString getRecurrenceBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java index e175fc42804c..6f5ae866726f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannel.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * ReleaseChannel indicates which release channel a cluster is
  * subscribed to. Release channels are arranged in order of risk.
@@ -14,54 +31,59 @@
  *
  * Protobuf type {@code google.container.v1beta1.ReleaseChannel}
  */
-public final class ReleaseChannel extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReleaseChannel extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ReleaseChannel)
     ReleaseChannelOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReleaseChannel.newBuilder() to construct.
   private ReleaseChannel(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReleaseChannel() {
     channel_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReleaseChannel();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ReleaseChannel.class, com.google.container.v1beta1.ReleaseChannel.Builder.class);
+            com.google.container.v1beta1.ReleaseChannel.class,
+            com.google.container.v1beta1.ReleaseChannel.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Possible values for 'channel'.
    * 
* * Protobuf enum {@code google.container.v1beta1.ReleaseChannel.Channel} */ - public enum Channel - implements com.google.protobuf.ProtocolMessageEnum { + public enum Channel implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No channel specified.
      * 
@@ -70,6 +92,8 @@ public enum Channel */ UNSPECIFIED(0), /** + * + * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -82,6 +106,8 @@ public enum Channel
      */
     RAPID(1),
     /**
+     *
+     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -92,6 +118,8 @@ public enum Channel
      */
     REGULAR(2),
     /**
+     *
+     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -104,6 +132,8 @@ public enum Channel
     ;
 
     /**
+     *
+     *
      * 
      * No channel specified.
      * 
@@ -112,6 +142,8 @@ public enum Channel */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * RAPID channel is offered on an early access basis for customers who want
      * to test new releases.
@@ -124,6 +156,8 @@ public enum Channel
      */
     public static final int RAPID_VALUE = 1;
     /**
+     *
+     *
      * 
      * Clusters subscribed to REGULAR receive versions that are considered GA
      * quality. REGULAR is intended for production users who want to take
@@ -134,6 +168,8 @@ public enum Channel
      */
     public static final int REGULAR_VALUE = 2;
     /**
+     *
+     *
      * 
      * Clusters subscribed to STABLE receive versions that are known to be
      * stable and reliable in production.
@@ -143,7 +179,6 @@ public enum Channel
      */
     public static final int STABLE_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,50 +203,51 @@ public static Channel valueOf(int value) {
      */
     public static Channel forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return RAPID;
-        case 2: return REGULAR;
-        case 3: return STABLE;
-        default: return null;
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return RAPID;
+        case 2:
+          return REGULAR;
+        case 3:
+          return STABLE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Channel> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Channel findValueByNumber(int number) {
-              return Channel.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Channel findValueByNumber(int number) {
+            return Channel.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.ReleaseChannel.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Channel[] VALUES = values();
 
-    public static Channel valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Channel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -231,31 +267,43 @@ private Channel(int value) {
   public static final int CHANNEL_FIELD_NUMBER = 1;
   private int channel_;
   /**
+   *
+   *
    * 
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ - @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { + @java.lang.Override + public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = + com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,8 +315,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -282,8 +329,7 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -293,12 +339,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ReleaseChannel)) { return super.equals(obj); } - com.google.container.v1beta1.ReleaseChannel other = (com.google.container.v1beta1.ReleaseChannel) obj; + com.google.container.v1beta1.ReleaseChannel other = + (com.google.container.v1beta1.ReleaseChannel) obj; if (channel_ != other.channel_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -319,97 +366,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ReleaseChannel parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ReleaseChannel parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ReleaseChannel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReleaseChannel parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ReleaseChannel parseFrom( 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.ReleaseChannel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ReleaseChannel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ReleaseChannel parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ReleaseChannel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ReleaseChannel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ReleaseChannel parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ReleaseChannel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ReleaseChannel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ReleaseChannel parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ReleaseChannel prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * ReleaseChannel indicates which release channel a cluster is
    * subscribed to. Release channels are arranged in order of risk.
@@ -420,33 +474,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ReleaseChannel}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ReleaseChannel)
       com.google.container.v1beta1.ReleaseChannelOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ReleaseChannel.class, com.google.container.v1beta1.ReleaseChannel.Builder.class);
+              com.google.container.v1beta1.ReleaseChannel.class,
+              com.google.container.v1beta1.ReleaseChannel.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ReleaseChannel.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +509,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ReleaseChannel_descriptor;
     }
 
     @java.lang.Override
@@ -477,7 +530,8 @@ public com.google.container.v1beta1.ReleaseChannel build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ReleaseChannel buildPartial() {
-      com.google.container.v1beta1.ReleaseChannel result = new com.google.container.v1beta1.ReleaseChannel(this);
+      com.google.container.v1beta1.ReleaseChannel result =
+          new com.google.container.v1beta1.ReleaseChannel(this);
       result.channel_ = channel_;
       onBuilt();
       return result;
@@ -487,38 +541,39 @@ public com.google.container.v1beta1.ReleaseChannel buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ReleaseChannel) {
-        return mergeFrom((com.google.container.v1beta1.ReleaseChannel)other);
+        return mergeFrom((com.google.container.v1beta1.ReleaseChannel) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,17 +611,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              channel_ = input.readEnum();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                channel_ = input.readEnum();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,51 +636,67 @@ public Builder mergeFrom(
 
     private int channel_ = 0;
     /**
+     *
+     *
      * 
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = + com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED + : result; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @param value The channel to set. * @return This builder for chaining. */ @@ -631,28 +704,31 @@ public Builder setChannel(com.google.container.v1beta1.ReleaseChannel.Channel va if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * channel specifies which release channel the cluster is subscribed to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -662,12 +738,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ReleaseChannel) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ReleaseChannel) private static final com.google.container.v1beta1.ReleaseChannel DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ReleaseChannel(); } @@ -676,27 +752,27 @@ public static com.google.container.v1beta1.ReleaseChannel getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,6 +787,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ReleaseChannel getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java similarity index 56% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java index 5e51c768b5d3..c86f79ef70fd 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReleaseChannelOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ReleaseChannelOrBuilder extends +public interface ReleaseChannelOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ReleaseChannel) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** + * + * *
    * channel specifies which release channel the cluster is subscribed to.
    * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ com.google.container.v1beta1.ReleaseChannel.Channel getChannel(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java similarity index 71% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java index 10518734002d..db62e35de21d 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinity.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
  * is the configuration of desired reservation which instances could take
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.ReservationAffinity}
  */
-public final class ReservationAffinity extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReservationAffinity extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ReservationAffinity)
     ReservationAffinityOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReservationAffinity.newBuilder() to construct.
   private ReservationAffinity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReservationAffinity() {
     consumeReservationType_ = 0;
     key_ = "";
@@ -29,39 +47,43 @@ private ReservationAffinity() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReservationAffinity();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ReservationAffinity.class, com.google.container.v1beta1.ReservationAffinity.Builder.class);
+            com.google.container.v1beta1.ReservationAffinity.class,
+            com.google.container.v1beta1.ReservationAffinity.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Indicates whether to consume capacity from a reservation or not.
    * 
* * Protobuf enum {@code google.container.v1beta1.ReservationAffinity.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This should not be used.
      * 
@@ -70,6 +92,8 @@ public enum Type */ UNSPECIFIED(0), /** + * + * *
      * Do not consume from any reserved capacity.
      * 
@@ -78,6 +102,8 @@ public enum Type */ NO_RESERVATION(1), /** + * + * *
      * Consume any reservation available.
      * 
@@ -86,6 +112,8 @@ public enum Type */ ANY_RESERVATION(2), /** + * + * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -98,6 +126,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This should not be used.
      * 
@@ -106,6 +136,8 @@ public enum Type */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * Do not consume from any reserved capacity.
      * 
@@ -114,6 +146,8 @@ public enum Type */ public static final int NO_RESERVATION_VALUE = 1; /** + * + * *
      * Consume any reservation available.
      * 
@@ -122,6 +156,8 @@ public enum Type */ public static final int ANY_RESERVATION_VALUE = 2; /** + * + * *
      * Must consume from a specific reservation. Must specify key value fields
      * for specifying the reservations.
@@ -131,7 +167,6 @@ public enum Type
      */
     public static final int SPECIFIC_RESERVATION_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -156,50 +191,51 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return NO_RESERVATION;
-        case 2: return ANY_RESERVATION;
-        case 3: return SPECIFIC_RESERVATION;
-        default: return null;
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return NO_RESERVATION;
+        case 2:
+          return ANY_RESERVATION;
+        case 3:
+          return SPECIFIC_RESERVATION;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Type> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Type findValueByNumber(int number) {
-              return Type.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.ReservationAffinity.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -219,33 +255,46 @@ private Type(int value) {
   public static final int CONSUME_RESERVATION_TYPE_FIELD_NUMBER = 1;
   private int consumeReservationType_;
   /**
+   *
+   *
    * 
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override public int getConsumeReservationTypeValue() { + @java.lang.Override + public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** + * + * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The consumeReservationType. */ - @java.lang.Override public com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType() { + @java.lang.Override + public com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReservationAffinity.Type result = com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); - return result == null ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED : result; + com.google.container.v1beta1.ReservationAffinity.Type result = + com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); + return result == null + ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED + : result; } public static final int KEY_FIELD_NUMBER = 2; private volatile java.lang.Object key_; /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -254,6 +303,7 @@ private Type(int value) {
    * 
* * string key = 2; + * * @return The key. */ @java.lang.Override @@ -262,14 +312,15 @@ public java.lang.String getKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; } } /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -278,16 +329,15 @@ public java.lang.String getKey() {
    * 
* * string key = 2; + * * @return The bytes for key. */ @java.lang.Override - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -298,34 +348,42 @@ public java.lang.String getKey() { public static final int VALUES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList values_; /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_; } /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -333,20 +391,23 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,9 +419,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (consumeReservationType_ != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (consumeReservationType_ + != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { output.writeEnum(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { @@ -378,9 +439,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (consumeReservationType_ != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, consumeReservationType_); + if (consumeReservationType_ + != com.google.container.v1beta1.ReservationAffinity.Type.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, consumeReservationType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(key_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_); @@ -401,18 +462,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ReservationAffinity)) { return super.equals(obj); } - com.google.container.v1beta1.ReservationAffinity other = (com.google.container.v1beta1.ReservationAffinity) obj; + com.google.container.v1beta1.ReservationAffinity other = + (com.google.container.v1beta1.ReservationAffinity) obj; if (consumeReservationType_ != other.consumeReservationType_) return false; - if (!getKey() - .equals(other.getKey())) return false; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getKey().equals(other.getKey())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -437,97 +497,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ReservationAffinity parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ReservationAffinity parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ReservationAffinity parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ReservationAffinity parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ReservationAffinity parseFrom( 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.ReservationAffinity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ReservationAffinity parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ReservationAffinity parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ReservationAffinity parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ReservationAffinity parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ReservationAffinity parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ReservationAffinity parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ReservationAffinity parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ReservationAffinity parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ReservationAffinity parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ReservationAffinity prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
    * is the configuration of desired reservation which instances could take
@@ -536,33 +603,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ReservationAffinity}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ReservationAffinity)
       com.google.container.v1beta1.ReservationAffinityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ReservationAffinity.class, com.google.container.v1beta1.ReservationAffinity.Builder.class);
+              com.google.container.v1beta1.ReservationAffinity.class,
+              com.google.container.v1beta1.ReservationAffinity.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ReservationAffinity.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -576,9 +642,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ReservationAffinity_descriptor;
     }
 
     @java.lang.Override
@@ -597,7 +663,8 @@ public com.google.container.v1beta1.ReservationAffinity build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ReservationAffinity buildPartial() {
-      com.google.container.v1beta1.ReservationAffinity result = new com.google.container.v1beta1.ReservationAffinity(this);
+      com.google.container.v1beta1.ReservationAffinity result =
+          new com.google.container.v1beta1.ReservationAffinity(this);
       int from_bitField0_ = bitField0_;
       result.consumeReservationType_ = consumeReservationType_;
       result.key_ = key_;
@@ -614,38 +681,39 @@ public com.google.container.v1beta1.ReservationAffinity buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ReservationAffinity) {
-        return mergeFrom((com.google.container.v1beta1.ReservationAffinity)other);
+        return mergeFrom((com.google.container.v1beta1.ReservationAffinity) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -653,7 +721,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.ReservationAffinity other) {
-      if (other == com.google.container.v1beta1.ReservationAffinity.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.ReservationAffinity.getDefaultInstance())
+        return this;
       if (other.consumeReservationType_ != 0) {
         setConsumeReservationTypeValue(other.getConsumeReservationTypeValue());
       }
@@ -697,28 +766,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              consumeReservationType_ = input.readEnum();
+            case 8:
+              {
+                consumeReservationType_ = input.readEnum();
 
-              break;
-            } // case 8
-            case 18: {
-              key_ = input.readStringRequireUtf8();
+                break;
+              } // case 8
+            case 18:
+              {
+                key_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureValuesIsMutable();
-              values_.add(s);
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureValuesIsMutable();
+                values_.add(s);
+                break;
+              } // case 26
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -728,77 +801,98 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int consumeReservationType_ = 0;
     /**
+     *
+     *
      * 
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The enum numeric value on the wire for consumeReservationType. */ - @java.lang.Override public int getConsumeReservationTypeValue() { + @java.lang.Override + public int getConsumeReservationTypeValue() { return consumeReservationType_; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @param value The enum numeric value on the wire for consumeReservationType to set. * @return This builder for chaining. */ public Builder setConsumeReservationTypeValue(int value) { - + consumeReservationType_ = value; onChanged(); return this; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The consumeReservationType. */ @java.lang.Override public com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReservationAffinity.Type result = com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); - return result == null ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED : result; + com.google.container.v1beta1.ReservationAffinity.Type result = + com.google.container.v1beta1.ReservationAffinity.Type.valueOf(consumeReservationType_); + return result == null + ? com.google.container.v1beta1.ReservationAffinity.Type.UNRECOGNIZED + : result; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @param value The consumeReservationType to set. * @return This builder for chaining. */ - public Builder setConsumeReservationType(com.google.container.v1beta1.ReservationAffinity.Type value) { + public Builder setConsumeReservationType( + com.google.container.v1beta1.ReservationAffinity.Type value) { if (value == null) { throw new NullPointerException(); } - + consumeReservationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Corresponds to the type of reservation consumption.
      * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return This builder for chaining. */ public Builder clearConsumeReservationType() { - + consumeReservationType_ = 0; onChanged(); return this; @@ -806,6 +900,8 @@ public Builder clearConsumeReservationType() { private java.lang.Object key_ = ""; /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -814,13 +910,13 @@ public Builder clearConsumeReservationType() {
      * 
* * string key = 2; + * * @return The key. */ public java.lang.String getKey() { java.lang.Object ref = key_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); key_ = s; return s; @@ -829,6 +925,8 @@ public java.lang.String getKey() { } } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -837,15 +935,14 @@ public java.lang.String getKey() {
      * 
* * string key = 2; + * * @return The bytes for key. */ - public com.google.protobuf.ByteString - getKeyBytes() { + public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); key_ = b; return b; } else { @@ -853,6 +950,8 @@ public java.lang.String getKey() { } } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -861,20 +960,22 @@ public java.lang.String getKey() {
      * 
* * string key = 2; + * * @param value The key to set. * @return This builder for chaining. */ - public Builder setKey( - java.lang.String value) { + public Builder setKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -883,15 +984,18 @@ public Builder setKey(
      * 
* * string key = 2; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } /** + * + * *
      * Corresponds to the label key of a reservation resource. To target a
      * SPECIFIC_RESERVATION by name, specify
@@ -900,57 +1004,67 @@ public Builder clearKey() {
      * 
* * string key = 2; + * * @param value The bytes for key to set. * @return This builder for chaining. */ - public Builder setKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + key_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList values_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new com.google.protobuf.LazyStringArrayList(values_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @return A list containing the values. */ - public com.google.protobuf.ProtocolStringList - getValuesList() { + public com.google.protobuf.ProtocolStringList getValuesList() { return values_.getUnmodifiableView(); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @return The count of values. */ public int getValuesCount() { return values_.size(); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ @@ -958,80 +1072,90 @@ public java.lang.String getValues(int index) { return values_.get(index); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - public com.google.protobuf.ByteString - getValuesBytes(int index) { + public com.google.protobuf.ByteString getValuesBytes(int index) { return values_.getByteString(index); } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param index The index to set the value at. * @param value The values to set. * @return This builder for chaining. */ - public Builder setValues( - int index, java.lang.String value) { + public Builder setValues(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.set(index, value); onChanged(); return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param value The values to add. * @return This builder for chaining. */ - public Builder addValues( - java.lang.String value) { + public Builder addValues(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValuesIsMutable(); + throw new NullPointerException(); + } + ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param values The values to add. * @return This builder for chaining. */ - public Builder addAllValues( - java.lang.Iterable values) { + public Builder addAllValues(java.lang.Iterable values) { ensureValuesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, values_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_); onChanged(); return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @return This builder for chaining. */ public Builder clearValues() { @@ -1041,28 +1165,30 @@ public Builder clearValues() { return this; } /** + * + * *
      * Corresponds to the label value(s) of reservation resource(s).
      * 
* * repeated string values = 3; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { + public Builder addValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1072,12 +1198,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ReservationAffinity) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ReservationAffinity) private static final com.google.container.v1beta1.ReservationAffinity DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ReservationAffinity(); } @@ -1086,27 +1212,27 @@ public static com.google.container.v1beta1.ReservationAffinity getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReservationAffinity parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReservationAffinity parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1121,6 +1247,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ReservationAffinity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java index d896b46050e3..fb758d4f16a5 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ReservationAffinityOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ReservationAffinityOrBuilder extends +public interface ReservationAffinityOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ReservationAffinity) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The enum numeric value on the wire for consumeReservationType. */ int getConsumeReservationTypeValue(); /** + * + * *
    * Corresponds to the type of reservation consumption.
    * 
* * .google.container.v1beta1.ReservationAffinity.Type consume_reservation_type = 1; + * * @return The consumeReservationType. */ com.google.container.v1beta1.ReservationAffinity.Type getConsumeReservationType(); /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -35,10 +59,13 @@ public interface ReservationAffinityOrBuilder extends
    * 
* * string key = 2; + * * @return The key. */ java.lang.String getKey(); /** + * + * *
    * Corresponds to the label key of a reservation resource. To target a
    * SPECIFIC_RESERVATION by name, specify
@@ -47,49 +74,59 @@ public interface ReservationAffinityOrBuilder extends
    * 
* * string key = 2; + * * @return The bytes for key. */ - com.google.protobuf.ByteString - getKeyBytes(); + com.google.protobuf.ByteString getKeyBytes(); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return A list containing the values. */ - java.util.List - getValuesList(); + java.util.List getValuesList(); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @return The count of values. */ int getValuesCount(); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the element to return. * @return The values at the given index. */ java.lang.String getValues(int index); /** + * + * *
    * Corresponds to the label value(s) of reservation resource(s).
    * 
* * repeated string values = 3; + * * @param index The index of the value to return. * @return The bytes of the values at the given index. */ - com.google.protobuf.ByteString - getValuesBytes(int index); + com.google.protobuf.ByteString getValuesBytes(int index); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java similarity index 57% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java index 5e438f7528dd..c1f9382bc3f1 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabels.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Collection of [GCP
  * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -11,74 +28,73 @@
  *
  * Protobuf type {@code google.container.v1beta1.ResourceLabels}
  */
-public final class ResourceLabels extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ResourceLabels extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceLabels)
     ResourceLabelsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ResourceLabels.newBuilder() to construct.
   private ResourceLabels(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ResourceLabels() {
-  }
+
+  private ResourceLabels() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceLabels();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ResourceLabels_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 1:
         return internalGetLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ResourceLabels.class, com.google.container.v1beta1.ResourceLabels.Builder.class);
+            com.google.container.v1beta1.ResourceLabels.class,
+            com.google.container.v1beta1.ResourceLabels.Builder.class);
   }
 
   public static final int LABELS_FIELD_NUMBER = 1;
+
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, java.lang.String> defaultEntry =
-            com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "");
-  }
-  private com.google.protobuf.MapField<
-      java.lang.String, java.lang.String> labels_;
-  private com.google.protobuf.MapField
-  internalGetLabels() {
+    static final com.google.protobuf.MapEntry defaultEntry =
+        com.google.protobuf.MapEntry.newDefaultInstance(
+            com.google.container.v1beta1.ClusterServiceProto
+                .internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor,
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "",
+            com.google.protobuf.WireFormat.FieldType.STRING,
+            "");
+  }
+
+  private com.google.protobuf.MapField labels_;
+
+  private com.google.protobuf.MapField internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -87,28 +103,30 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
+   *
+   *
    * 
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -116,11 +134,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -128,16 +147,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -145,12 +164,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -158,6 +176,7 @@ public java.lang.String getLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -169,14 +188,9 @@ public final boolean isInitialized() { } @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); + 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); } @@ -186,15 +200,15 @@ public int getSerializedSize() { 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__); + 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; @@ -204,15 +218,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ResourceLabels)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceLabels other = (com.google.container.v1beta1.ResourceLabels) obj; + com.google.container.v1beta1.ResourceLabels other = + (com.google.container.v1beta1.ResourceLabels) obj; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -233,97 +247,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ResourceLabels parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ResourceLabels parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceLabels parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLabels parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceLabels parseFrom( 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.ResourceLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceLabels parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ResourceLabels parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceLabels parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ResourceLabels parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceLabels parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceLabels parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ResourceLabels parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceLabels parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ResourceLabels prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Collection of [GCP
    * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
@@ -331,55 +352,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ResourceLabels}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceLabels)
       com.google.container.v1beta1.ResourceLabelsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ResourceLabels_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 1:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ResourceLabels.class, com.google.container.v1beta1.ResourceLabels.Builder.class);
+              com.google.container.v1beta1.ResourceLabels.class,
+              com.google.container.v1beta1.ResourceLabels.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ResourceLabels.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +406,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLabels_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ResourceLabels_descriptor;
     }
 
     @java.lang.Override
@@ -409,7 +427,8 @@ public com.google.container.v1beta1.ResourceLabels build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ResourceLabels buildPartial() {
-      com.google.container.v1beta1.ResourceLabels result = new com.google.container.v1beta1.ResourceLabels(this);
+      com.google.container.v1beta1.ResourceLabels result =
+          new com.google.container.v1beta1.ResourceLabels(this);
       int from_bitField0_ = bitField0_;
       result.labels_ = internalGetLabels();
       result.labels_.makeImmutable();
@@ -421,38 +440,39 @@ public com.google.container.v1beta1.ResourceLabels buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ResourceLabels) {
-        return mergeFrom((com.google.container.v1beta1.ResourceLabels)other);
+        return mergeFrom((com.google.container.v1beta1.ResourceLabels) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,8 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.container.v1beta1.ResourceLabels other) {
       if (other == com.google.container.v1beta1.ResourceLabels.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
       return this;
@@ -489,20 +508,24 @@ public Builder mergeFrom(
             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());
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                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) {
@@ -512,24 +535,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private com.google.protobuf.MapField<
-        java.lang.String, java.lang.String> labels_;
-    private com.google.protobuf.MapField
-    internalGetLabels() {
+    private com.google.protobuf.MapField labels_;
+
+    private com.google.protobuf.MapField internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
+
     private com.google.protobuf.MapField
-    internalGetMutableLabels() {
-      onChanged();;
+        internalGetMutableLabels() {
+      onChanged();
+      ;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(
-            LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -541,28 +564,30 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
+     *
+     *
      * 
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -570,11 +595,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -582,16 +608,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Map of node label keys and node label values.
      * 
@@ -599,12 +626,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -612,69 +638,66 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Map of node label keys and node label values.
      * 
* * map<string, string> labels = 1; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceLabels) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceLabels) private static final com.google.container.v1beta1.ResourceLabels DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceLabels(); } @@ -698,27 +721,27 @@ public static com.google.container.v1beta1.ResourceLabels getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLabels parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLabels parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,6 +756,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ResourceLabels getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java similarity index 51% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java index 2ed02c6eef6e..e717a05652a9 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLabelsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ResourceLabelsOrBuilder extends +public interface ResourceLabelsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceLabels) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -16,30 +34,31 @@ public interface ResourceLabelsOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels( - java.lang.String key); - /** - * Use {@link #getLabelsMap()} instead. - */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getLabels(); + java.util.Map getLabels(); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Map of node label keys and node label values.
    * 
@@ -48,18 +67,18 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Map of node label keys and node label values.
    * 
* * map<string, string> labels = 1; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java index 6b3e3bb619d1..440f718c8664 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimit.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Contains information about amount of some resource in the cluster.
  * For memory, value should be in GB.
@@ -11,52 +28,57 @@
  *
  * Protobuf type {@code google.container.v1beta1.ResourceLimit}
  */
-public final class ResourceLimit extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ResourceLimit extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceLimit)
     ResourceLimitOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ResourceLimit.newBuilder() to construct.
   private ResourceLimit(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ResourceLimit() {
     resourceType_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResourceLimit();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ResourceLimit_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.ResourceLimit.class, com.google.container.v1beta1.ResourceLimit.Builder.class);
+            com.google.container.v1beta1.ResourceLimit.class,
+            com.google.container.v1beta1.ResourceLimit.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceType_;
   /**
+   *
+   *
    * 
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The resourceType. */ @java.lang.Override @@ -65,29 +87,29 @@ public java.lang.String getResourceType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; } } /** + * + * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The bytes for resourceType. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceTypeBytes() { + public com.google.protobuf.ByteString getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceType_ = b; return b; } else { @@ -98,11 +120,14 @@ public java.lang.String getResourceType() { public static final int MINIMUM_FIELD_NUMBER = 2; private long minimum_; /** + * + * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; + * * @return The minimum. */ @java.lang.Override @@ -113,11 +138,14 @@ public long getMinimum() { public static final int MAXIMUM_FIELD_NUMBER = 3; private long maximum_; /** + * + * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; + * * @return The maximum. */ @java.lang.Override @@ -126,6 +154,7 @@ public long getMaximum() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +166,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceType_); } @@ -161,12 +189,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceType_); } if (minimum_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, minimum_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, minimum_); } if (maximum_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, maximum_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, maximum_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -176,19 +202,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ResourceLimit)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceLimit other = (com.google.container.v1beta1.ResourceLimit) obj; + com.google.container.v1beta1.ResourceLimit other = + (com.google.container.v1beta1.ResourceLimit) obj; - if (!getResourceType() - .equals(other.getResourceType())) return false; - if (getMinimum() - != other.getMinimum()) return false; - if (getMaximum() - != other.getMaximum()) return false; + if (!getResourceType().equals(other.getResourceType())) return false; + if (getMinimum() != other.getMinimum()) return false; + if (getMaximum() != other.getMaximum()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -203,107 +227,112 @@ public int hashCode() { hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getResourceType().hashCode(); hash = (37 * hash) + MINIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMinimum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinimum()); hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaximum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaximum()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ResourceLimit parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ResourceLimit parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceLimit parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceLimit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceLimit parseFrom( 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.ResourceLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceLimit parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ResourceLimit parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceLimit parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ResourceLimit parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceLimit parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceLimit parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ResourceLimit parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceLimit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ResourceLimit prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Contains information about amount of some resource in the cluster.
    * For memory, value should be in GB.
@@ -311,33 +340,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.ResourceLimit}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceLimit)
       com.google.container.v1beta1.ResourceLimitOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.ResourceLimit.class, com.google.container.v1beta1.ResourceLimit.Builder.class);
+              com.google.container.v1beta1.ResourceLimit.class,
+              com.google.container.v1beta1.ResourceLimit.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.ResourceLimit.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -351,9 +379,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceLimit_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_ResourceLimit_descriptor;
     }
 
     @java.lang.Override
@@ -372,7 +400,8 @@ public com.google.container.v1beta1.ResourceLimit build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.ResourceLimit buildPartial() {
-      com.google.container.v1beta1.ResourceLimit result = new com.google.container.v1beta1.ResourceLimit(this);
+      com.google.container.v1beta1.ResourceLimit result =
+          new com.google.container.v1beta1.ResourceLimit(this);
       result.resourceType_ = resourceType_;
       result.minimum_ = minimum_;
       result.maximum_ = maximum_;
@@ -384,38 +413,39 @@ public com.google.container.v1beta1.ResourceLimit buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.ResourceLimit) {
-        return mergeFrom((com.google.container.v1beta1.ResourceLimit)other);
+        return mergeFrom((com.google.container.v1beta1.ResourceLimit) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,27 +490,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              resourceType_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              minimum_ = input.readInt64();
-
-              break;
-            } // case 16
-            case 24: {
-              maximum_ = input.readInt64();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                resourceType_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                minimum_ = input.readInt64();
+
+                break;
+              } // case 16
+            case 24:
+              {
+                maximum_ = input.readInt64();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -493,18 +527,20 @@ public Builder mergeFrom(
 
     private java.lang.Object resourceType_ = "";
     /**
+     *
+     *
      * 
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @return The resourceType. */ public java.lang.String getResourceType() { java.lang.Object ref = resourceType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceType_ = s; return s; @@ -513,20 +549,21 @@ public java.lang.String getResourceType() { } } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @return The bytes for resourceType. */ - public com.google.protobuf.ByteString - getResourceTypeBytes() { + public com.google.protobuf.ByteString getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceType_ = b; return b; } else { @@ -534,66 +571,76 @@ public java.lang.String getResourceType() { } } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @param value The resourceType to set. * @return This builder for chaining. */ - public Builder setResourceType( - java.lang.String value) { + public Builder setResourceType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceType_ = value; onChanged(); return this; } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = getDefaultInstance().getResourceType(); onChanged(); return this; } /** + * + * *
      * Resource name "cpu", "memory" or gpu-specific string.
      * 
* * string resource_type = 1; + * * @param value The bytes for resourceType to set. * @return This builder for chaining. */ - public Builder setResourceTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceType_ = value; onChanged(); return this; } - private long minimum_ ; + private long minimum_; /** + * + * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; + * * @return The minimum. */ @java.lang.Override @@ -601,42 +648,51 @@ public long getMinimum() { return minimum_; } /** + * + * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; + * * @param value The minimum to set. * @return This builder for chaining. */ public Builder setMinimum(long value) { - + minimum_ = value; onChanged(); return this; } /** + * + * *
      * Minimum amount of the resource in the cluster.
      * 
* * int64 minimum = 2; + * * @return This builder for chaining. */ public Builder clearMinimum() { - + minimum_ = 0L; onChanged(); return this; } - private long maximum_ ; + private long maximum_; /** + * + * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; + * * @return The maximum. */ @java.lang.Override @@ -644,37 +700,43 @@ public long getMaximum() { return maximum_; } /** + * + * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; + * * @param value The maximum to set. * @return This builder for chaining. */ public Builder setMaximum(long value) { - + maximum_ = value; onChanged(); return this; } /** + * + * *
      * Maximum amount of the resource in the cluster.
      * 
* * int64 maximum = 3; + * * @return This builder for chaining. */ public Builder clearMaximum() { - + maximum_ = 0L; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -684,12 +746,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceLimit) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceLimit) private static final com.google.container.v1beta1.ResourceLimit DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceLimit(); } @@ -698,27 +760,27 @@ public static com.google.container.v1beta1.ResourceLimit getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceLimit parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceLimit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,6 +795,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ResourceLimit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java similarity index 57% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java index 151d3f922cc5..d20ff61beab0 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceLimitOrBuilder.java @@ -1,48 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface ResourceLimitOrBuilder extends +public interface ResourceLimitOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceLimit) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The resourceType. */ java.lang.String getResourceType(); /** + * + * *
    * Resource name "cpu", "memory" or gpu-specific string.
    * 
* * string resource_type = 1; + * * @return The bytes for resourceType. */ - com.google.protobuf.ByteString - getResourceTypeBytes(); + com.google.protobuf.ByteString getResourceTypeBytes(); /** + * + * *
    * Minimum amount of the resource in the cluster.
    * 
* * int64 minimum = 2; + * * @return The minimum. */ long getMinimum(); /** + * + * *
    * Maximum amount of the resource in the cluster.
    * 
* * int64 maximum = 3; + * * @return The maximum. */ long getMaximum(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java similarity index 58% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java index 713f12b6a6c4..8722d3b3810f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfig.java @@ -1,129 +1,161 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for exporting cluster resource usages.
  * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig} */ -public final class ResourceUsageExportConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResourceUsageExportConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceUsageExportConfig) ResourceUsageExportConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResourceUsageExportConfig.newBuilder() to construct. private ResourceUsageExportConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResourceUsageExportConfig() { - } + + private ResourceUsageExportConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResourceUsageExportConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.class, + com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); } - public interface BigQueryDestinationOrBuilder extends + public interface BigQueryDestinationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The datasetId. */ java.lang.String getDatasetId(); /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ - com.google.protobuf.ByteString - getDatasetIdBytes(); + com.google.protobuf.ByteString getDatasetIdBytes(); } /** + * + * *
    * Parameters for using BigQuery as the destination of resource usage export.
    * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class BigQueryDestination extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryDestination extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) BigQueryDestinationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryDestination.newBuilder() to construct. private BigQueryDestination(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryDestination() { datasetId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryDestination(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder + .class); } public static final int DATASET_ID_FIELD_NUMBER = 1; private volatile java.lang.Object datasetId_; /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The datasetId. */ @java.lang.Override @@ -132,29 +164,29 @@ public java.lang.String getDatasetId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; } } /** + * + * *
      * The ID of a BigQuery Dataset.
      * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -163,6 +195,7 @@ public java.lang.String getDatasetId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +207,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); } @@ -199,15 +231,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination)) { + if (!(obj + instanceof com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other = (com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) obj; + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other = + (com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) obj; - if (!getDatasetId() - .equals(other.getDatasetId())) return false; + if (!getDatasetId().equals(other.getDatasetId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -226,88 +259,101 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + 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.ResourceUsageExportConfig.BigQueryDestination parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom( + 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.ResourceUsageExportConfig.BigQueryDestination parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination 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.ResourceUsageExportConfig.BigQueryDestination + 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.ResourceUsageExportConfig.BigQueryDestination parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination 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.ResourceUsageExportConfig.BigQueryDestination + 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.ResourceUsageExportConfig.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -317,39 +363,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Parameters for using BigQuery as the destination of resource usage export.
      * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.class, + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder + .class); } - // Construct using com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -359,19 +409,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { - return com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance(); + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + getDefaultInstanceForType() { + return com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance(); } @java.lang.Override public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination build() { - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -379,8 +432,10 @@ public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinatio } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination buildPartial() { - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(this); + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + buildPartial() { + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination result = + new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(this); result.datasetId_ = datasetId_; onBuilt(); return result; @@ -390,46 +445,54 @@ public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinatio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ResourceUsageExportConfig.BigQueryDestination) { - return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination)other); + if (other + instanceof com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) { + return mergeFrom( + (com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other) { - if (other == com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination other) { + if (other + == com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance()) return this; if (!other.getDatasetId().isEmpty()) { datasetId_ = other.datasetId_; onChanged(); @@ -460,17 +523,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - datasetId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + datasetId_ = input.readStringRequireUtf8(); + + 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) { @@ -483,18 +548,20 @@ public Builder mergeFrom( private java.lang.Object datasetId_ = ""; /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @return The datasetId. */ public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); datasetId_ = s; return s; @@ -503,20 +570,21 @@ public java.lang.String getDatasetId() { } } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @return The bytes for datasetId. */ - public com.google.protobuf.ByteString - getDatasetIdBytes() { + public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); datasetId_ = b; return b; } else { @@ -524,58 +592,66 @@ public java.lang.String getDatasetId() { } } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @param value The datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetId( - java.lang.String value) { + public Builder setDatasetId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + datasetId_ = value; onChanged(); return this; } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @return This builder for chaining. */ public Builder clearDatasetId() { - + datasetId_ = getDefaultInstance().getDatasetId(); onChanged(); return this; } /** + * + * *
        * The ID of a BigQuery Dataset.
        * 
* * string dataset_id = 1; + * * @param value The bytes for datasetId to set. * @return This builder for chaining. */ - public Builder setDatasetIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + datasetId_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -588,41 +664,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination) - private static final com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(); + DEFAULT_INSTANCE = + new com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination(); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstance() { + public static com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryDestination parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryDestination parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -634,17 +714,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getDefaultInstanceForType() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ConsumptionMeteringConfigOrBuilder extends + public interface ConsumptionMeteringConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -652,57 +735,66 @@ public interface ConsumptionMeteringConfigOrBuilder extends
      * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); } /** + * + * *
    * Parameters for controlling consumption metering.
    * 
* - * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} + * Protobuf type {@code + * google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class ConsumptionMeteringConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ConsumptionMeteringConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) ConsumptionMeteringConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConsumptionMeteringConfig.newBuilder() to construct. private ConsumptionMeteringConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConsumptionMeteringConfig() { - } + + private ConsumptionMeteringConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConsumptionMeteringConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .class, + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
      * Whether to enable consumption metering for this cluster. If enabled, a
      * second BigQuery table will be created to hold resource consumption
@@ -710,6 +802,7 @@ protected java.lang.Object newInstance(
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -718,6 +811,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -729,8 +823,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -744,8 +837,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -755,15 +847,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { + if (!(obj + instanceof + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = (com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other = + (com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -776,95 +870,108 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom( + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig 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.ResourceUsageExportConfig.ConsumptionMeteringConfig + 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.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -874,39 +981,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Parameters for controlling consumption metering.
      * 
* - * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} + * Protobuf type {@code + * google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .class, + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .Builder.class); } - // Construct using com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() - private Builder() { + // Construct using + // com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -916,19 +1029,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { - return com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance(); + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getDefaultInstanceForType() { + return com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance(); } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig build() { - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = buildPartial(); + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + build() { + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -936,8 +1053,11 @@ public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeterin } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig buildPartial() { - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig(this); + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + buildPartial() { + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig result = + new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig( + this); result.enabled_ = enabled_; onBuilt(); return result; @@ -947,46 +1067,56 @@ public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeterin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ResourceUsageExportConfig.ConsumptionMeteringConfig) { - return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig)other); + if (other + instanceof + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) { + return mergeFrom( + (com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { - if (other == com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig other) { + if (other + == com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance()) return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -1016,17 +1146,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1037,8 +1169,10 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1046,6 +1180,7 @@ public Builder mergeFrom(
        * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -1053,6 +1188,8 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1060,16 +1197,19 @@ public boolean getEnabled() {
        * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether to enable consumption metering for this cluster. If enabled, a
        * second BigQuery table will be created to hold resource consumption
@@ -1077,14 +1217,16 @@ public Builder setEnabled(boolean value) {
        * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1097,41 +1239,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig) - private static final com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.ResourceUsageExportConfig + .ConsumptionMeteringConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); + DEFAULT_INSTANCE = + new com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig(); } - public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstance() { + public static com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConsumptionMeteringConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConsumptionMeteringConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,20 +1290,26 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int BIGQUERY_DESTINATION_FIELD_NUMBER = 1; - private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; + private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + bigqueryDestination_; /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ @java.lang.Override @@ -1164,38 +1317,55 @@ public boolean hasBigqueryDestination() { return bigqueryDestination_ != null; } /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { - return bigqueryDestination_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + getBigqueryDestination() { + return bigqueryDestination_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance() + : bigqueryDestination_; } /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { return getBigqueryDestination(); } public static final int ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER = 2; private boolean enableNetworkEgressMetering_; /** + * + * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; + * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -1204,13 +1374,19 @@ public boolean getEnableNetworkEgressMetering() { } public static final int CONSUMPTION_METERING_CONFIG_FIELD_NUMBER = 3; - private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; + private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + consumptionMeteringConfig_; /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return Whether the consumptionMeteringConfig field is set. */ @java.lang.Override @@ -1218,30 +1394,45 @@ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfig_ != null; } /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return The consumptionMeteringConfig. */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { - return consumptionMeteringConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getConsumptionMeteringConfig() { + return consumptionMeteringConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance() + : consumptionMeteringConfig_; } /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ @java.lang.Override - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder + getConsumptionMeteringConfigOrBuilder() { return getConsumptionMeteringConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1253,8 +1444,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (bigqueryDestination_ != null) { output.writeMessage(1, getBigqueryDestination()); } @@ -1274,16 +1464,16 @@ public int getSerializedSize() { size = 0; if (bigqueryDestination_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getBigqueryDestination()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBigqueryDestination()); } if (enableNetworkEgressMetering_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enableNetworkEgressMetering_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableNetworkEgressMetering_); } if (consumptionMeteringConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getConsumptionMeteringConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getConsumptionMeteringConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1293,24 +1483,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ResourceUsageExportConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ResourceUsageExportConfig other = (com.google.container.v1beta1.ResourceUsageExportConfig) obj; + com.google.container.v1beta1.ResourceUsageExportConfig other = + (com.google.container.v1beta1.ResourceUsageExportConfig) obj; if (hasBigqueryDestination() != other.hasBigqueryDestination()) return false; if (hasBigqueryDestination()) { - if (!getBigqueryDestination() - .equals(other.getBigqueryDestination())) return false; + if (!getBigqueryDestination().equals(other.getBigqueryDestination())) return false; } - if (getEnableNetworkEgressMetering() - != other.getEnableNetworkEgressMetering()) return false; + if (getEnableNetworkEgressMetering() != other.getEnableNetworkEgressMetering()) return false; if (hasConsumptionMeteringConfig() != other.hasConsumptionMeteringConfig()) return false; if (hasConsumptionMeteringConfig()) { - if (!getConsumptionMeteringConfig() - .equals(other.getConsumptionMeteringConfig())) return false; + if (!getConsumptionMeteringConfig().equals(other.getConsumptionMeteringConfig())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1328,8 +1517,7 @@ public int hashCode() { hash = (53 * hash) + getBigqueryDestination().hashCode(); } hash = (37 * hash) + ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableNetworkEgressMetering()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableNetworkEgressMetering()); if (hasConsumptionMeteringConfig()) { hash = (37 * hash) + CONSUMPTION_METERING_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConsumptionMeteringConfig().hashCode(); @@ -1340,129 +1528,136 @@ public int hashCode() { } public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ResourceUsageExportConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( 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.ResourceUsageExportConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ResourceUsageExportConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ResourceUsageExportConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceUsageExportConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ResourceUsageExportConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ResourceUsageExportConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ResourceUsageExportConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for exporting cluster resource usages.
    * 
* * Protobuf type {@code google.container.v1beta1.ResourceUsageExportConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ResourceUsageExportConfig) com.google.container.v1beta1.ResourceUsageExportConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ResourceUsageExportConfig.class, com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); + com.google.container.v1beta1.ResourceUsageExportConfig.class, + com.google.container.v1beta1.ResourceUsageExportConfig.Builder.class); } // Construct using com.google.container.v1beta1.ResourceUsageExportConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1484,9 +1679,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; } @java.lang.Override @@ -1505,7 +1700,8 @@ public com.google.container.v1beta1.ResourceUsageExportConfig build() { @java.lang.Override public com.google.container.v1beta1.ResourceUsageExportConfig buildPartial() { - com.google.container.v1beta1.ResourceUsageExportConfig result = new com.google.container.v1beta1.ResourceUsageExportConfig(this); + com.google.container.v1beta1.ResourceUsageExportConfig result = + new com.google.container.v1beta1.ResourceUsageExportConfig(this); if (bigqueryDestinationBuilder_ == null) { result.bigqueryDestination_ = bigqueryDestination_; } else { @@ -1525,38 +1721,39 @@ public com.google.container.v1beta1.ResourceUsageExportConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ResourceUsageExportConfig) { - return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig)other); + return mergeFrom((com.google.container.v1beta1.ResourceUsageExportConfig) other); } else { super.mergeFrom(other); return this; @@ -1564,7 +1761,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ResourceUsageExportConfig other) { - if (other == com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ResourceUsageExportConfig.getDefaultInstance()) + return this; if (other.hasBigqueryDestination()) { mergeBigqueryDestination(other.getBigqueryDestination()); } @@ -1600,31 +1798,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBigqueryDestinationFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage( + getBigqueryDestinationFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 16: { - enableNetworkEgressMetering_ = input.readBool(); + break; + } // case 10 + case 16: + { + enableNetworkEgressMetering_ = input.readBool(); - break; - } // case 16 - case 26: { - input.readMessage( - getConsumptionMeteringConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 16 + case 26: + { + input.readMessage( + getConsumptionMeteringConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1635,43 +1835,66 @@ public Builder mergeFrom( return this; } - private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigqueryDestination_; + private com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + bigqueryDestination_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> bigqueryDestinationBuilder_; + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> + bigqueryDestinationBuilder_; /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ public boolean hasBigqueryDestination() { return bigqueryDestinationBuilder_ != null || bigqueryDestination_ != null; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + getBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { - return bigqueryDestination_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + return bigqueryDestination_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance() + : bigqueryDestination_; } else { return bigqueryDestinationBuilder_.getMessage(); } } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public Builder setBigqueryDestination(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder setBigqueryDestination( + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1685,14 +1908,19 @@ public Builder setBigqueryDestination(com.google.container.v1beta1.ResourceUsage return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ public Builder setBigqueryDestination( - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder builderForValue) { + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder + builderForValue) { if (bigqueryDestinationBuilder_ == null) { bigqueryDestination_ = builderForValue.build(); onChanged(); @@ -1703,17 +1931,25 @@ public Builder setBigqueryDestination( return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public Builder mergeBigqueryDestination(com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { + public Builder mergeBigqueryDestination( + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination value) { if (bigqueryDestinationBuilder_ == null) { if (bigqueryDestination_ != null) { bigqueryDestination_ = - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder(bigqueryDestination_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.newBuilder( + bigqueryDestination_) + .mergeFrom(value) + .buildPartial(); } else { bigqueryDestination_ = value; } @@ -1725,11 +1961,15 @@ public Builder mergeBigqueryDestination(com.google.container.v1beta1.ResourceUsa return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ public Builder clearBigqueryDestination() { if (bigqueryDestinationBuilder_ == null) { @@ -1743,61 +1983,84 @@ public Builder clearBigqueryDestination() { return this; } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder + getBigqueryDestinationBuilder() { + onChanged(); return getBigqueryDestinationFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder() { if (bigqueryDestinationBuilder_ != null) { return bigqueryDestinationBuilder_.getMessageOrBuilder(); } else { - return bigqueryDestination_ == null ? - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.getDefaultInstance() : bigqueryDestination_; + return bigqueryDestination_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + .getDefaultInstance() + : bigqueryDestination_; } } /** + * + * *
      * Configuration to use BigQuery as usage export destination.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder> getBigqueryDestinationFieldBuilder() { if (bigqueryDestinationBuilder_ == null) { - bigqueryDestinationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder>( - getBigqueryDestination(), - getParentForChildren(), - isClean()); + bigqueryDestinationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination, + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination.Builder, + com.google.container.v1beta1.ResourceUsageExportConfig + .BigQueryDestinationOrBuilder>( + getBigqueryDestination(), getParentForChildren(), isClean()); bigqueryDestination_ = null; } return bigqueryDestinationBuilder_; } - private boolean enableNetworkEgressMetering_ ; + private boolean enableNetworkEgressMetering_; /** + * + * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; + * * @return The enableNetworkEgressMetering. */ @java.lang.Override @@ -1805,74 +2068,105 @@ public boolean getEnableNetworkEgressMetering() { return enableNetworkEgressMetering_; } /** + * + * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; + * * @param value The enableNetworkEgressMetering to set. * @return This builder for chaining. */ public Builder setEnableNetworkEgressMetering(boolean value) { - + enableNetworkEgressMetering_ = value; onChanged(); return this; } /** + * + * *
      * Whether to enable network egress metering for this cluster. If enabled, a
      * daemonset will be created in the cluster to meter network egress traffic.
      * 
* * bool enable_network_egress_metering = 2; + * * @return This builder for chaining. */ public Builder clearEnableNetworkEgressMetering() { - + enableNetworkEgressMetering_ = false; onChanged(); return this; } - private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumptionMeteringConfig_; + private com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + consumptionMeteringConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> consumptionMeteringConfigBuilder_; + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .Builder, + com.google.container.v1beta1.ResourceUsageExportConfig + .ConsumptionMeteringConfigOrBuilder> + consumptionMeteringConfigBuilder_; /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return Whether the consumptionMeteringConfig field is set. */ public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfigBuilder_ != null || consumptionMeteringConfig_ != null; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return The consumptionMeteringConfig. */ - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { - return consumptionMeteringConfig_ == null ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance() + : consumptionMeteringConfig_; } else { return consumptionMeteringConfigBuilder_.getMessage(); } } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public Builder setConsumptionMeteringConfig(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder setConsumptionMeteringConfig( + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1886,14 +2180,19 @@ public Builder setConsumptionMeteringConfig(com.google.container.v1beta1.Resourc return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ public Builder setConsumptionMeteringConfig( - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder builderForValue) { + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder + builderForValue) { if (consumptionMeteringConfigBuilder_ == null) { consumptionMeteringConfig_ = builderForValue.build(); onChanged(); @@ -1904,17 +2203,25 @@ public Builder setConsumptionMeteringConfig( return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public Builder mergeConsumptionMeteringConfig(com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { + public Builder mergeConsumptionMeteringConfig( + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig value) { if (consumptionMeteringConfigBuilder_ == null) { if (consumptionMeteringConfig_ != null) { consumptionMeteringConfig_ = - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.newBuilder(consumptionMeteringConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .newBuilder(consumptionMeteringConfig_) + .mergeFrom(value) + .buildPartial(); } else { consumptionMeteringConfig_ = value; } @@ -1926,11 +2233,15 @@ public Builder mergeConsumptionMeteringConfig(com.google.container.v1beta1.Resou return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ public Builder clearConsumptionMeteringConfig() { if (consumptionMeteringConfigBuilder_ == null) { @@ -1944,55 +2255,78 @@ public Builder clearConsumptionMeteringConfig() { return this; } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder getConsumptionMeteringConfigBuilder() { - + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder + getConsumptionMeteringConfigBuilder() { + onChanged(); return getConsumptionMeteringConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { + public com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder + getConsumptionMeteringConfigOrBuilder() { if (consumptionMeteringConfigBuilder_ != null) { return consumptionMeteringConfigBuilder_.getMessageOrBuilder(); } else { - return consumptionMeteringConfig_ == null ? - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.getDefaultInstance() : consumptionMeteringConfig_; + return consumptionMeteringConfig_ == null + ? com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .getDefaultInstance() + : consumptionMeteringConfig_; } } /** + * + * *
      * Configuration to enable resource consumption metering.
      * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder> + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .Builder, + com.google.container.v1beta1.ResourceUsageExportConfig + .ConsumptionMeteringConfigOrBuilder> getConsumptionMeteringConfigFieldBuilder() { if (consumptionMeteringConfigBuilder_ == null) { - consumptionMeteringConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder, com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder>( - getConsumptionMeteringConfig(), - getParentForChildren(), - isClean()); + consumptionMeteringConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig, + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + .Builder, + com.google.container.v1beta1.ResourceUsageExportConfig + .ConsumptionMeteringConfigOrBuilder>( + getConsumptionMeteringConfig(), getParentForChildren(), isClean()); consumptionMeteringConfig_ = null; } return consumptionMeteringConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2002,12 +2336,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ResourceUsageExportConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ResourceUsageExportConfig) private static final com.google.container.v1beta1.ResourceUsageExportConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ResourceUsageExportConfig(); } @@ -2016,27 +2350,27 @@ public static com.google.container.v1beta1.ResourceUsageExportConfig getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceUsageExportConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceUsageExportConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2051,6 +2385,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.container.v1beta1.ResourceUsageExportConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java similarity index 50% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java index 6891208e4ec2..0fa24e5714f8 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ResourceUsageExportConfigOrBuilder.java @@ -1,74 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface ResourceUsageExportConfigOrBuilder extends +public interface ResourceUsageExportConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ResourceUsageExportConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return Whether the bigqueryDestination field is set. */ boolean hasBigqueryDestination(); /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * * @return The bigqueryDestination. */ - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination + getBigqueryDestination(); /** + * + * *
    * Configuration to use BigQuery as usage export destination.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * + * .google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; + * */ - com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder + getBigqueryDestinationOrBuilder(); /** + * + * *
    * Whether to enable network egress metering for this cluster. If enabled, a
    * daemonset will be created in the cluster to meter network egress traffic.
    * 
* * bool enable_network_egress_metering = 2; + * * @return The enableNetworkEgressMetering. */ boolean getEnableNetworkEgressMetering(); /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return Whether the consumptionMeteringConfig field is set. */ boolean hasConsumptionMeteringConfig(); /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * * @return The consumptionMeteringConfig. */ - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig(); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig + getConsumptionMeteringConfig(); /** + * + * *
    * Configuration to enable resource consumption metering.
    * 
* - * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * + * .google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; + * */ - com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder(); + com.google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder + getConsumptionMeteringConfigOrBuilder(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequest.java index 9d7aa22d9ac8..3864e3a6aa7c 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
  * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -12,15 +29,17 @@
  *
  * Protobuf type {@code google.container.v1beta1.RollbackNodePoolUpgradeRequest}
  */
-public final class RollbackNodePoolUpgradeRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RollbackNodePoolUpgradeRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.RollbackNodePoolUpgradeRequest)
     RollbackNodePoolUpgradeRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RollbackNodePoolUpgradeRequest.newBuilder() to construct.
-  private RollbackNodePoolUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private RollbackNodePoolUpgradeRequest(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RollbackNodePoolUpgradeRequest() {
     projectId_ = "";
     zone_ = "";
@@ -31,76 +50,84 @@ private RollbackNodePoolUpgradeRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RollbackNodePoolUpgradeRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
+            com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class,
+            com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -111,6 +138,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -119,24 +148,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -145,18 +177,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -167,48 +199,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -219,48 +258,55 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -271,6 +317,8 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -278,6 +326,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -286,14 +335,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -301,16 +351,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -321,12 +370,15 @@ public java.lang.String getName() { public static final int RESPECT_PDB_FIELD_NUMBER = 7; private boolean respectPdb_; /** + * + * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; + * * @return The respectPdb. */ @java.lang.Override @@ -335,6 +387,7 @@ public boolean getRespectPdb() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -346,8 +399,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -391,8 +443,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (respectPdb_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, respectPdb_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, respectPdb_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -402,25 +453,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.RollbackNodePoolUpgradeRequest)) { return super.equals(obj); } - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest other = (com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (getRespectPdb() - != other.getRespectPdb()) return false; + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest other = + (com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (!getName().equals(other.getName())) return false; + if (getRespectPdb() != other.getRespectPdb()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -443,104 +489,111 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + RESPECT_PDB_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRespectPdb()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRespectPdb()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( 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.RollbackNodePoolUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.RollbackNodePoolUpgradeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
    * NodePool upgrade. This will be an no-op if the last upgrade successfully
@@ -549,33 +602,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.RollbackNodePoolUpgradeRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.RollbackNodePoolUpgradeRequest)
       com.google.container.v1beta1.RollbackNodePoolUpgradeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
+              com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class,
+              com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -595,9 +647,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -616,7 +668,8 @@ public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest buildPartial() {
-      com.google.container.v1beta1.RollbackNodePoolUpgradeRequest result = new com.google.container.v1beta1.RollbackNodePoolUpgradeRequest(this);
+      com.google.container.v1beta1.RollbackNodePoolUpgradeRequest result =
+          new com.google.container.v1beta1.RollbackNodePoolUpgradeRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -631,38 +684,39 @@ public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest buildPartial(
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) {
-        return mergeFrom((com.google.container.v1beta1.RollbackNodePoolUpgradeRequest)other);
+        return mergeFrom((com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -670,7 +724,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest other) {
-      if (other == com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -720,42 +775,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              nodePoolId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 50: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 56: {
-              respectPdb_ = input.readBool();
-
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                nodePoolId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 50:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 56:
+              {
+                respectPdb_ = input.readBool();
+
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -768,22 +830,26 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -792,24 +858,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -817,66 +886,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -884,6 +966,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -892,15 +976,16 @@ public Builder mergeFrom(
      * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -909,6 +994,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -917,17 +1004,17 @@ public Builder mergeFrom(
      * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -935,6 +1022,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -943,22 +1032,25 @@ public Builder mergeFrom(
      * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -967,17 +1059,21 @@ public Builder mergeFrom(
      * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -986,18 +1082,19 @@ public Builder mergeFrom(
      * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1005,21 +1102,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1028,23 +1129,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1052,63 +1156,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1116,21 +1233,25 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3821 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3821 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1139,23 +1260,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3821 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3821 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1163,63 +1287,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3821 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3821 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3821 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3821 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to rollback.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3821 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=3821 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1227,6 +1364,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1234,13 +1373,13 @@ public Builder mergeFrom(
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1249,6 +1388,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1256,15 +1397,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1272,6 +1412,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1279,20 +1421,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1300,15 +1444,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node poll to
      * rollback upgrade.
@@ -1316,29 +1463,32 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean respectPdb_ ; + private boolean respectPdb_; /** + * + * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; + * * @return The respectPdb. */ @java.lang.Override @@ -1346,39 +1496,45 @@ public boolean getRespectPdb() { return respectPdb_; } /** + * + * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; + * * @param value The respectPdb to set. * @return This builder for chaining. */ public Builder setRespectPdb(boolean value) { - + respectPdb_ = value; onChanged(); return this; } /** + * + * *
      * Option for rollback to ignore the PodDisruptionBudget.
      * Default value is false.
      * 
* * bool respect_pdb = 7; + * * @return This builder for chaining. */ public Builder clearRespectPdb() { - + respectPdb_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1388,12 +1544,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.RollbackNodePoolUpgradeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.RollbackNodePoolUpgradeRequest) private static final com.google.container.v1beta1.RollbackNodePoolUpgradeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.RollbackNodePoolUpgradeRequest(); } @@ -1402,27 +1558,27 @@ public static com.google.container.v1beta1.RollbackNodePoolUpgradeRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollbackNodePoolUpgradeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollbackNodePoolUpgradeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1437,6 +1593,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.RollbackNodePoolUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/RollbackNodePoolUpgradeRequestOrBuilder.java index a253ac1c12e1..cbdce21b576b 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface RollbackNodePoolUpgradeRequestOrBuilder extends +public interface RollbackNodePoolUpgradeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.RollbackNodePoolUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3798 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +89,87 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * 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=3807 + * + * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3807 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3814 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Required. Deprecated. The name of the node pool to rollback.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.RollbackNodePoolUpgradeRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3821 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -125,10 +177,13 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node poll to
    * rollback upgrade.
@@ -136,18 +191,21 @@ public interface RollbackNodePoolUpgradeRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Option for rollback to ignore the PodDisruptionBudget.
    * Default value is false.
    * 
* * bool respect_pdb = 7; + * * @return The respectPdb. */ boolean getRespectPdb(); diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfig.java index 260ec3d458c0..687248b2adca 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SandboxConfig contains configurations of the sandbox to use for the node.
  * 
* * Protobuf type {@code google.container.v1beta1.SandboxConfig} */ -public final class SandboxConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SandboxConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SandboxConfig) SandboxConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SandboxConfig.newBuilder() to construct. private SandboxConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SandboxConfig() { sandboxType_ = ""; type_ = 0; @@ -26,39 +44,43 @@ private SandboxConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SandboxConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SandboxConfig.class, com.google.container.v1beta1.SandboxConfig.Builder.class); + com.google.container.v1beta1.SandboxConfig.class, + com.google.container.v1beta1.SandboxConfig.Builder.class); } /** + * + * *
    * Possible types of sandboxes.
    * 
* * Protobuf enum {@code google.container.v1beta1.SandboxConfig.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This should not be used.
      * 
@@ -67,6 +89,8 @@ public enum Type */ UNSPECIFIED(0), /** + * + * *
      * Run sandbox using gvisor.
      * 
@@ -78,6 +102,8 @@ public enum Type ; /** + * + * *
      * Default value. This should not be used.
      * 
@@ -86,6 +112,8 @@ public enum Type */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * Run sandbox using gvisor.
      * 
@@ -94,7 +122,6 @@ public enum Type */ public static final int GVISOR_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,48 +146,47 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return UNSPECIFIED; - case 1: return GVISOR; - default: return null; + case 0: + return UNSPECIFIED; + case 1: + return GVISOR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Type> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public 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() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.SandboxConfig.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + 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."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -180,46 +206,51 @@ private Type(int value) { public static final int SANDBOX_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object sandboxType_; /** + * + * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @return The sandboxType. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getSandboxType() { + @java.lang.Deprecated + public java.lang.String getSandboxType() { java.lang.Object ref = sandboxType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sandboxType_ = s; return s; } } /** + * + * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @return The bytes for sandboxType. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getSandboxTypeBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getSandboxTypeBytes() { java.lang.Object ref = sandboxType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sandboxType_ = b; return b; } else { @@ -230,31 +261,41 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @return The type. */ - @java.lang.Override public com.google.container.v1beta1.SandboxConfig.Type getType() { + @java.lang.Override + public com.google.container.v1beta1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SandboxConfig.Type result = com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1beta1.SandboxConfig.Type result = + com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1beta1.SandboxConfig.Type.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,8 +307,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sandboxType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sandboxType_); } @@ -287,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sandboxType_); } if (type_ != com.google.container.v1beta1.SandboxConfig.Type.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,15 +337,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SandboxConfig)) { return super.equals(obj); } - com.google.container.v1beta1.SandboxConfig other = (com.google.container.v1beta1.SandboxConfig) obj; + com.google.container.v1beta1.SandboxConfig other = + (com.google.container.v1beta1.SandboxConfig) obj; - if (!getSandboxType() - .equals(other.getSandboxType())) return false; + if (!getSandboxType().equals(other.getSandboxType())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -328,130 +367,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.SandboxConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.SandboxConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SandboxConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SandboxConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SandboxConfig parseFrom( 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.SandboxConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SandboxConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.SandboxConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SandboxConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SandboxConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SandboxConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SandboxConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SandboxConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SandboxConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SandboxConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SandboxConfig contains configurations of the sandbox to use for the node.
    * 
* * Protobuf type {@code google.container.v1beta1.SandboxConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SandboxConfig) com.google.container.v1beta1.SandboxConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SandboxConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SandboxConfig.class, com.google.container.v1beta1.SandboxConfig.Builder.class); + com.google.container.v1beta1.SandboxConfig.class, + com.google.container.v1beta1.SandboxConfig.Builder.class); } // Construct using com.google.container.v1beta1.SandboxConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,9 +508,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SandboxConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SandboxConfig_descriptor; } @java.lang.Override @@ -484,7 +529,8 @@ public com.google.container.v1beta1.SandboxConfig build() { @java.lang.Override public com.google.container.v1beta1.SandboxConfig buildPartial() { - com.google.container.v1beta1.SandboxConfig result = new com.google.container.v1beta1.SandboxConfig(this); + com.google.container.v1beta1.SandboxConfig result = + new com.google.container.v1beta1.SandboxConfig(this); result.sandboxType_ = sandboxType_; result.type_ = type_; onBuilt(); @@ -495,38 +541,39 @@ public com.google.container.v1beta1.SandboxConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SandboxConfig) { - return mergeFrom((com.google.container.v1beta1.SandboxConfig)other); + return mergeFrom((com.google.container.v1beta1.SandboxConfig) other); } else { super.mergeFrom(other); return this; @@ -568,22 +615,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - sandboxType_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + sandboxType_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -596,20 +646,23 @@ public Builder mergeFrom( private java.lang.Object sandboxType_ = ""; /** + * + * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @return The sandboxType. */ - @java.lang.Deprecated public java.lang.String getSandboxType() { + @java.lang.Deprecated + public java.lang.String getSandboxType() { java.lang.Object ref = sandboxType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sandboxType_ = s; return s; @@ -618,22 +671,24 @@ public Builder mergeFrom( } } /** + * + * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @return The bytes for sandboxType. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getSandboxTypeBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getSandboxTypeBytes() { java.lang.Object ref = sandboxType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sandboxType_ = b; return b; } else { @@ -641,60 +696,70 @@ public Builder mergeFrom( } } /** + * + * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @param value The sandboxType to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setSandboxType( - java.lang.String value) { + @java.lang.Deprecated + public Builder setSandboxType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sandboxType_ = value; onChanged(); return this; } /** + * + * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearSandboxType() { - + @java.lang.Deprecated + public Builder clearSandboxType() { + sandboxType_ = getDefaultInstance().getSandboxType(); onChanged(); return this; } /** + * + * *
      * Type of the sandbox to use for the node (e.g. 'gvisor')
      * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @param value The bytes for sandboxType to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setSandboxTypeBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setSandboxTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sandboxType_ = value; onChanged(); return this; @@ -702,51 +767,65 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @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; onChanged(); return this; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @return The type. */ @java.lang.Override public com.google.container.v1beta1.SandboxConfig.Type getType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SandboxConfig.Type result = com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); + com.google.container.v1beta1.SandboxConfig.Type result = + com.google.container.v1beta1.SandboxConfig.Type.valueOf(type_); return result == null ? com.google.container.v1beta1.SandboxConfig.Type.UNRECOGNIZED : result; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @param value The type to set. * @return This builder for chaining. */ @@ -754,28 +833,31 @@ public Builder setType(com.google.container.v1beta1.SandboxConfig.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Type of the sandbox to use for the node.
      * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SandboxConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SandboxConfig) private static final com.google.container.v1beta1.SandboxConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SandboxConfig(); } @@ -799,27 +881,27 @@ public static com.google.container.v1beta1.SandboxConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SandboxConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SandboxConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,6 +916,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SandboxConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 56% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SandboxConfigOrBuilder.java index 293588a6e342..e5349ef847dc 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SandboxConfigOrBuilder extends +public interface SandboxConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SandboxConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @return The sandboxType. */ - @java.lang.Deprecated java.lang.String getSandboxType(); + @java.lang.Deprecated + java.lang.String getSandboxType(); /** + * + * *
    * Type of the sandbox to use for the node (e.g. 'gvisor')
    * 
* * string sandbox_type = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=875 + * + * @deprecated google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=875 * @return The bytes for sandboxType. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getSandboxTypeBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getSandboxTypeBytes(); /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * Type of the sandbox to use for the node.
    * 
* * .google.container.v1beta1.SandboxConfig.Type type = 2; + * * @return The type. */ com.google.container.v1beta1.SandboxConfig.Type getType(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java similarity index 75% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java index 14875a34d1f3..73daf62c9564 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SecurityBulletinEvent is a notification sent to customers when a security
  * bulletin has been posted that they are vulnerable to.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.SecurityBulletinEvent}
  */
-public final class SecurityBulletinEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SecurityBulletinEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SecurityBulletinEvent)
     SecurityBulletinEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SecurityBulletinEvent.newBuilder() to construct.
   private SecurityBulletinEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SecurityBulletinEvent() {
     resourceTypeAffected_ = "";
     bulletinId_ = "";
@@ -34,32 +52,35 @@ private SecurityBulletinEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SecurityBulletinEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SecurityBulletinEvent.class, com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
+            com.google.container.v1beta1.SecurityBulletinEvent.class,
+            com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_AFFECTED_FIELD_NUMBER = 1;
   private volatile java.lang.Object resourceTypeAffected_;
   /**
+   *
+   *
    * 
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -67,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string resource_type_affected = 1; + * * @return The resourceTypeAffected. */ @java.lang.Override @@ -75,14 +97,15 @@ public java.lang.String getResourceTypeAffected() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; } } /** + * + * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -90,16 +113,15 @@ public java.lang.String getResourceTypeAffected() {
    * 
* * string resource_type_affected = 1; + * * @return The bytes for resourceTypeAffected. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -110,11 +132,14 @@ public java.lang.String getResourceTypeAffected() { public static final int BULLETIN_ID_FIELD_NUMBER = 2; private volatile java.lang.Object bulletinId_; /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bulletinId. */ @java.lang.Override @@ -123,29 +148,29 @@ public java.lang.String getBulletinId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; } } /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bytes for bulletinId. */ @java.lang.Override - public com.google.protobuf.ByteString - getBulletinIdBytes() { + public com.google.protobuf.ByteString getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -156,34 +181,42 @@ public java.lang.String getBulletinId() { public static final int CVE_IDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList cveIds_; /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList - getCveIdsList() { + public com.google.protobuf.ProtocolStringList getCveIdsList() { return cveIds_; } /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -191,27 +224,32 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString - getCveIdsBytes(int index) { + public com.google.protobuf.ByteString getCveIdsBytes(int index) { return cveIds_.getByteString(index); } public static final int SEVERITY_FIELD_NUMBER = 4; private volatile java.lang.Object severity_; /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The severity. */ @java.lang.Override @@ -220,29 +258,29 @@ public java.lang.String getSeverity() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; } } /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The bytes for severity. */ @java.lang.Override - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -253,11 +291,14 @@ public java.lang.String getSeverity() { public static final int BULLETIN_URI_FIELD_NUMBER = 5; private volatile java.lang.Object bulletinUri_; /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bulletinUri. */ @java.lang.Override @@ -266,29 +307,29 @@ public java.lang.String getBulletinUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; } } /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bytes for bulletinUri. */ @java.lang.Override - public com.google.protobuf.ByteString - getBulletinUriBytes() { + public com.google.protobuf.ByteString getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -299,12 +340,15 @@ public java.lang.String getBulletinUri() { public static final int BRIEF_DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object briefDescription_; /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The briefDescription. */ @java.lang.Override @@ -313,30 +357,30 @@ public java.lang.String getBriefDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; } } /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The bytes for briefDescription. */ @java.lang.Override - public com.google.protobuf.ByteString - getBriefDescriptionBytes() { + public com.google.protobuf.ByteString getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -347,34 +391,42 @@ public java.lang.String getBriefDescription() { public static final int AFFECTED_SUPPORTED_MINORS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList affectedSupportedMinors_; /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList - getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { return affectedSupportedMinors_; } /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -382,50 +434,60 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString - getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } public static final int PATCHED_VERSIONS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList patchedVersions_; /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList - getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { return patchedVersions_; } /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -433,22 +495,26 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString - getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } public static final int SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER = 9; private volatile java.lang.Object suggestedUpgradeTarget_; /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -458,6 +524,7 @@ public java.lang.String getPatchedVersions(int index) {
    * 
* * string suggested_upgrade_target = 9; + * * @return The suggestedUpgradeTarget. */ @java.lang.Override @@ -466,14 +533,15 @@ public java.lang.String getSuggestedUpgradeTarget() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; } } /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -483,16 +551,15 @@ public java.lang.String getSuggestedUpgradeTarget() {
    * 
* * string suggested_upgrade_target = 9; + * * @return The bytes for suggestedUpgradeTarget. */ @java.lang.Override - public com.google.protobuf.ByteString - getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -503,12 +570,15 @@ public java.lang.String getSuggestedUpgradeTarget() { public static final int MANUAL_STEPS_REQUIRED_FIELD_NUMBER = 10; private boolean manualStepsRequired_; /** + * + * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; + * * @return The manualStepsRequired. */ @java.lang.Override @@ -517,6 +587,7 @@ public boolean getManualStepsRequired() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -528,8 +599,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceTypeAffected_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceTypeAffected_); } @@ -549,7 +619,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 6, briefDescription_); } for (int i = 0; i < affectedSupportedMinors_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, affectedSupportedMinors_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 7, affectedSupportedMinors_.getRaw(i)); } for (int i = 0; i < patchedVersions_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, patchedVersions_.getRaw(i)); @@ -612,8 +683,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, suggestedUpgradeTarget_); } if (manualStepsRequired_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(10, manualStepsRequired_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, manualStepsRequired_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -623,33 +693,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SecurityBulletinEvent)) { return super.equals(obj); } - com.google.container.v1beta1.SecurityBulletinEvent other = (com.google.container.v1beta1.SecurityBulletinEvent) obj; - - if (!getResourceTypeAffected() - .equals(other.getResourceTypeAffected())) return false; - if (!getBulletinId() - .equals(other.getBulletinId())) return false; - if (!getCveIdsList() - .equals(other.getCveIdsList())) return false; - if (!getSeverity() - .equals(other.getSeverity())) return false; - if (!getBulletinUri() - .equals(other.getBulletinUri())) return false; - if (!getBriefDescription() - .equals(other.getBriefDescription())) return false; - if (!getAffectedSupportedMinorsList() - .equals(other.getAffectedSupportedMinorsList())) return false; - if (!getPatchedVersionsList() - .equals(other.getPatchedVersionsList())) return false; - if (!getSuggestedUpgradeTarget() - .equals(other.getSuggestedUpgradeTarget())) return false; - if (getManualStepsRequired() - != other.getManualStepsRequired()) return false; + com.google.container.v1beta1.SecurityBulletinEvent other = + (com.google.container.v1beta1.SecurityBulletinEvent) obj; + + if (!getResourceTypeAffected().equals(other.getResourceTypeAffected())) return false; + if (!getBulletinId().equals(other.getBulletinId())) return false; + if (!getCveIdsList().equals(other.getCveIdsList())) return false; + if (!getSeverity().equals(other.getSeverity())) return false; + if (!getBulletinUri().equals(other.getBulletinUri())) return false; + if (!getBriefDescription().equals(other.getBriefDescription())) return false; + if (!getAffectedSupportedMinorsList().equals(other.getAffectedSupportedMinorsList())) + return false; + if (!getPatchedVersionsList().equals(other.getPatchedVersionsList())) return false; + if (!getSuggestedUpgradeTarget().equals(other.getSuggestedUpgradeTarget())) return false; + if (getManualStepsRequired() != other.getManualStepsRequired()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -686,104 +748,110 @@ public int hashCode() { hash = (37 * hash) + SUGGESTED_UPGRADE_TARGET_FIELD_NUMBER; hash = (53 * hash) + getSuggestedUpgradeTarget().hashCode(); hash = (37 * hash) + MANUAL_STEPS_REQUIRED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getManualStepsRequired()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getManualStepsRequired()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SecurityBulletinEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( 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.SecurityBulletinEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SecurityBulletinEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SecurityBulletinEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SecurityBulletinEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SecurityBulletinEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SecurityBulletinEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SecurityBulletinEvent is a notification sent to customers when a security
    * bulletin has been posted that they are vulnerable to.
@@ -791,33 +859,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.SecurityBulletinEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SecurityBulletinEvent)
       com.google.container.v1beta1.SecurityBulletinEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SecurityBulletinEvent.class, com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
+              com.google.container.v1beta1.SecurityBulletinEvent.class,
+              com.google.container.v1beta1.SecurityBulletinEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SecurityBulletinEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -845,9 +912,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor;
     }
 
     @java.lang.Override
@@ -866,7 +933,8 @@ public com.google.container.v1beta1.SecurityBulletinEvent build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SecurityBulletinEvent buildPartial() {
-      com.google.container.v1beta1.SecurityBulletinEvent result = new com.google.container.v1beta1.SecurityBulletinEvent(this);
+      com.google.container.v1beta1.SecurityBulletinEvent result =
+          new com.google.container.v1beta1.SecurityBulletinEvent(this);
       int from_bitField0_ = bitField0_;
       result.resourceTypeAffected_ = resourceTypeAffected_;
       result.bulletinId_ = bulletinId_;
@@ -898,38 +966,39 @@ public com.google.container.v1beta1.SecurityBulletinEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SecurityBulletinEvent) {
-        return mergeFrom((com.google.container.v1beta1.SecurityBulletinEvent)other);
+        return mergeFrom((com.google.container.v1beta1.SecurityBulletinEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -937,7 +1006,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.SecurityBulletinEvent other) {
-      if (other == com.google.container.v1beta1.SecurityBulletinEvent.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.SecurityBulletinEvent.getDefaultInstance())
+        return this;
       if (!other.getResourceTypeAffected().isEmpty()) {
         resourceTypeAffected_ = other.resourceTypeAffected_;
         onChanged();
@@ -1021,65 +1091,76 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              resourceTypeAffected_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              bulletinId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureCveIdsIsMutable();
-              cveIds_.add(s);
-              break;
-            } // case 26
-            case 34: {
-              severity_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              bulletinUri_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              briefDescription_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 58: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureAffectedSupportedMinorsIsMutable();
-              affectedSupportedMinors_.add(s);
-              break;
-            } // case 58
-            case 66: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensurePatchedVersionsIsMutable();
-              patchedVersions_.add(s);
-              break;
-            } // case 66
-            case 74: {
-              suggestedUpgradeTarget_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 74
-            case 80: {
-              manualStepsRequired_ = input.readBool();
-
-              break;
-            } // case 80
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                resourceTypeAffected_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                bulletinId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureCveIdsIsMutable();
+                cveIds_.add(s);
+                break;
+              } // case 26
+            case 34:
+              {
+                severity_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                bulletinUri_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                briefDescription_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 58:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureAffectedSupportedMinorsIsMutable();
+                affectedSupportedMinors_.add(s);
+                break;
+              } // case 58
+            case 66:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensurePatchedVersionsIsMutable();
+                patchedVersions_.add(s);
+                break;
+              } // case 66
+            case 74:
+              {
+                suggestedUpgradeTarget_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 74
+            case 80:
+              {
+                manualStepsRequired_ = input.readBool();
+
+                break;
+              } // case 80
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1089,10 +1170,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object resourceTypeAffected_ = "";
     /**
+     *
+     *
      * 
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1100,13 +1184,13 @@ public Builder mergeFrom(
      * 
* * string resource_type_affected = 1; + * * @return The resourceTypeAffected. */ public java.lang.String getResourceTypeAffected() { java.lang.Object ref = resourceTypeAffected_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceTypeAffected_ = s; return s; @@ -1115,6 +1199,8 @@ public java.lang.String getResourceTypeAffected() { } } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1122,15 +1208,14 @@ public java.lang.String getResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; + * * @return The bytes for resourceTypeAffected. */ - public com.google.protobuf.ByteString - getResourceTypeAffectedBytes() { + public com.google.protobuf.ByteString getResourceTypeAffectedBytes() { java.lang.Object ref = resourceTypeAffected_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resourceTypeAffected_ = b; return b; } else { @@ -1138,6 +1223,8 @@ public java.lang.String getResourceTypeAffected() { } } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1145,20 +1232,22 @@ public java.lang.String getResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; + * * @param value The resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffected( - java.lang.String value) { + public Builder setResourceTypeAffected(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resourceTypeAffected_ = value; onChanged(); return this; } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1166,15 +1255,18 @@ public Builder setResourceTypeAffected(
      * 
* * string resource_type_affected = 1; + * * @return This builder for chaining. */ public Builder clearResourceTypeAffected() { - + resourceTypeAffected_ = getDefaultInstance().getResourceTypeAffected(); onChanged(); return this; } /** + * + * *
      * The resource type (node/control plane) that has the vulnerability. Multiple
      * notifications (1 notification per resource type) will be sent for a
@@ -1182,16 +1274,16 @@ public Builder clearResourceTypeAffected() {
      * 
* * string resource_type_affected = 1; + * * @param value The bytes for resourceTypeAffected to set. * @return This builder for chaining. */ - public Builder setResourceTypeAffectedBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceTypeAffectedBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resourceTypeAffected_ = value; onChanged(); return this; @@ -1199,18 +1291,20 @@ public Builder setResourceTypeAffectedBytes( private java.lang.Object bulletinId_ = ""; /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @return The bulletinId. */ public java.lang.String getBulletinId() { java.lang.Object ref = bulletinId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinId_ = s; return s; @@ -1219,20 +1313,21 @@ public java.lang.String getBulletinId() { } } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @return The bytes for bulletinId. */ - public com.google.protobuf.ByteString - getBulletinIdBytes() { + public com.google.protobuf.ByteString getBulletinIdBytes() { java.lang.Object ref = bulletinId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinId_ = b; return b; } else { @@ -1240,95 +1335,112 @@ public java.lang.String getBulletinId() { } } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @param value The bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinId( - java.lang.String value) { + public Builder setBulletinId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinId_ = value; onChanged(); return this; } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @return This builder for chaining. */ public Builder clearBulletinId() { - + bulletinId_ = getDefaultInstance().getBulletinId(); onChanged(); return this; } /** + * + * *
      * The ID of the bulletin corresponding to the vulnerability.
      * 
* * string bulletin_id = 2; + * * @param value The bytes for bulletinId to set. * @return This builder for chaining. */ - public Builder setBulletinIdBytes( - com.google.protobuf.ByteString value) { + public Builder setBulletinIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList cveIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList cveIds_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCveIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { cveIds_ = new com.google.protobuf.LazyStringArrayList(cveIds_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @return A list containing the cveIds. */ - public com.google.protobuf.ProtocolStringList - getCveIdsList() { + public com.google.protobuf.ProtocolStringList getCveIdsList() { return cveIds_.getUnmodifiableView(); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @return The count of cveIds. */ public int getCveIdsCount() { return cveIds_.size(); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param index The index of the element to return. * @return The cveIds at the given index. */ @@ -1336,80 +1448,90 @@ public java.lang.String getCveIds(int index) { return cveIds_.get(index); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - public com.google.protobuf.ByteString - getCveIdsBytes(int index) { + public com.google.protobuf.ByteString getCveIdsBytes(int index) { return cveIds_.getByteString(index); } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param index The index to set the value at. * @param value The cveIds to set. * @return This builder for chaining. */ - public Builder setCveIds( - int index, java.lang.String value) { + public Builder setCveIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.set(index, value); onChanged(); return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param value The cveIds to add. * @return This builder for chaining. */ - public Builder addCveIds( - java.lang.String value) { + public Builder addCveIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCveIdsIsMutable(); + throw new NullPointerException(); + } + ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param values The cveIds to add. * @return This builder for chaining. */ - public Builder addAllCveIds( - java.lang.Iterable values) { + public Builder addAllCveIds(java.lang.Iterable values) { ensureCveIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, cveIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cveIds_); onChanged(); return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @return This builder for chaining. */ public Builder clearCveIds() { @@ -1419,20 +1541,22 @@ public Builder clearCveIds() { return this; } /** + * + * *
      * The CVEs associated with this bulletin.
      * 
* * repeated string cve_ids = 3; + * * @param value The bytes of the cveIds to add. * @return This builder for chaining. */ - public Builder addCveIdsBytes( - com.google.protobuf.ByteString value) { + public Builder addCveIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCveIdsIsMutable(); cveIds_.add(value); onChanged(); @@ -1441,18 +1565,20 @@ public Builder addCveIdsBytes( private java.lang.Object severity_ = ""; /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @return The severity. */ public java.lang.String getSeverity() { java.lang.Object ref = severity_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); severity_ = s; return s; @@ -1461,20 +1587,21 @@ public java.lang.String getSeverity() { } } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @return The bytes for severity. */ - public com.google.protobuf.ByteString - getSeverityBytes() { + public com.google.protobuf.ByteString getSeverityBytes() { java.lang.Object ref = severity_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); severity_ = b; return b; } else { @@ -1482,54 +1609,61 @@ public java.lang.String getSeverity() { } } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @param value The severity to set. * @return This builder for chaining. */ - public Builder setSeverity( - java.lang.String value) { + public Builder setSeverity(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + severity_ = value; onChanged(); return this; } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = getDefaultInstance().getSeverity(); onChanged(); return this; } /** + * + * *
      * The severity of this bulletin as it relates to GKE.
      * 
* * string severity = 4; + * * @param value The bytes for severity to set. * @return This builder for chaining. */ - public Builder setSeverityBytes( - com.google.protobuf.ByteString value) { + public Builder setSeverityBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + severity_ = value; onChanged(); return this; @@ -1537,18 +1671,20 @@ public Builder setSeverityBytes( private java.lang.Object bulletinUri_ = ""; /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @return The bulletinUri. */ public java.lang.String getBulletinUri() { java.lang.Object ref = bulletinUri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); bulletinUri_ = s; return s; @@ -1557,20 +1693,21 @@ public java.lang.String getBulletinUri() { } } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @return The bytes for bulletinUri. */ - public com.google.protobuf.ByteString - getBulletinUriBytes() { + public com.google.protobuf.ByteString getBulletinUriBytes() { java.lang.Object ref = bulletinUri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); bulletinUri_ = b; return b; } else { @@ -1578,54 +1715,61 @@ public java.lang.String getBulletinUri() { } } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @param value The bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUri( - java.lang.String value) { + public Builder setBulletinUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + bulletinUri_ = value; onChanged(); return this; } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @return This builder for chaining. */ public Builder clearBulletinUri() { - + bulletinUri_ = getDefaultInstance().getBulletinUri(); onChanged(); return this; } /** + * + * *
      * The URI link to the bulletin on the website for more information.
      * 
* * string bulletin_uri = 5; + * * @param value The bytes for bulletinUri to set. * @return This builder for chaining. */ - public Builder setBulletinUriBytes( - com.google.protobuf.ByteString value) { + public Builder setBulletinUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bulletinUri_ = value; onChanged(); return this; @@ -1633,19 +1777,21 @@ public Builder setBulletinUriBytes( private java.lang.Object briefDescription_ = ""; /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @return The briefDescription. */ public java.lang.String getBriefDescription() { java.lang.Object ref = briefDescription_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); briefDescription_ = s; return s; @@ -1654,21 +1800,22 @@ public java.lang.String getBriefDescription() { } } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @return The bytes for briefDescription. */ - public com.google.protobuf.ByteString - getBriefDescriptionBytes() { + public com.google.protobuf.ByteString getBriefDescriptionBytes() { java.lang.Object ref = briefDescription_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); briefDescription_ = b; return b; } else { @@ -1676,98 +1823,116 @@ public java.lang.String getBriefDescription() { } } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @param value The briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescription( - java.lang.String value) { + public Builder setBriefDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + briefDescription_ = value; onChanged(); return this; } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @return This builder for chaining. */ public Builder clearBriefDescription() { - + briefDescription_ = getDefaultInstance().getBriefDescription(); onChanged(); return this; } /** + * + * *
      * A brief description of the bulletin. See the bulletin pointed to by the
      * bulletin_uri field for an expanded description.
      * 
* * string brief_description = 6; + * * @param value The bytes for briefDescription to set. * @return This builder for chaining. */ - public Builder setBriefDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setBriefDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + briefDescription_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList affectedSupportedMinors_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList affectedSupportedMinors_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureAffectedSupportedMinorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - affectedSupportedMinors_ = new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); + affectedSupportedMinors_ = + new com.google.protobuf.LazyStringArrayList(affectedSupportedMinors_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @return A list containing the affectedSupportedMinors. */ - public com.google.protobuf.ProtocolStringList - getAffectedSupportedMinorsList() { + public com.google.protobuf.ProtocolStringList getAffectedSupportedMinorsList() { return affectedSupportedMinors_.getUnmodifiableView(); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @return The count of affectedSupportedMinors. */ public int getAffectedSupportedMinorsCount() { return affectedSupportedMinors_.size(); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ @@ -1775,80 +1940,90 @@ public java.lang.String getAffectedSupportedMinors(int index) { return affectedSupportedMinors_.get(index); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - public com.google.protobuf.ByteString - getAffectedSupportedMinorsBytes(int index) { + public com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index) { return affectedSupportedMinors_.getByteString(index); } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param index The index to set the value at. * @param value The affectedSupportedMinors to set. * @return This builder for chaining. */ - public Builder setAffectedSupportedMinors( - int index, java.lang.String value) { + public Builder setAffectedSupportedMinors(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.set(index, value); onChanged(); return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param value The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinors( - java.lang.String value) { + public Builder addAffectedSupportedMinors(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureAffectedSupportedMinorsIsMutable(); + throw new NullPointerException(); + } + ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param values The affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAllAffectedSupportedMinors( - java.lang.Iterable values) { + public Builder addAllAffectedSupportedMinors(java.lang.Iterable values) { ensureAffectedSupportedMinorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, affectedSupportedMinors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, affectedSupportedMinors_); onChanged(); return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @return This builder for chaining. */ public Builder clearAffectedSupportedMinors() { @@ -1858,62 +2033,74 @@ public Builder clearAffectedSupportedMinors() { return this; } /** + * + * *
      * The GKE minor versions affected by this vulnerability.
      * 
* * repeated string affected_supported_minors = 7; + * * @param value The bytes of the affectedSupportedMinors to add. * @return This builder for chaining. */ - public Builder addAffectedSupportedMinorsBytes( - com.google.protobuf.ByteString value) { + public Builder addAffectedSupportedMinorsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureAffectedSupportedMinorsIsMutable(); affectedSupportedMinors_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList patchedVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList patchedVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePatchedVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { patchedVersions_ = new com.google.protobuf.LazyStringArrayList(patchedVersions_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @return A list containing the patchedVersions. */ - public com.google.protobuf.ProtocolStringList - getPatchedVersionsList() { + public com.google.protobuf.ProtocolStringList getPatchedVersionsList() { return patchedVersions_.getUnmodifiableView(); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @return The count of patchedVersions. */ public int getPatchedVersionsCount() { return patchedVersions_.size(); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ @@ -1921,80 +2108,90 @@ public java.lang.String getPatchedVersions(int index) { return patchedVersions_.get(index); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - public com.google.protobuf.ByteString - getPatchedVersionsBytes(int index) { + public com.google.protobuf.ByteString getPatchedVersionsBytes(int index) { return patchedVersions_.getByteString(index); } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param index The index to set the value at. * @param value The patchedVersions to set. * @return This builder for chaining. */ - public Builder setPatchedVersions( - int index, java.lang.String value) { + public Builder setPatchedVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param value The patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersions( - java.lang.String value) { + public Builder addPatchedVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePatchedVersionsIsMutable(); + throw new NullPointerException(); + } + ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param values The patchedVersions to add. * @return This builder for chaining. */ - public Builder addAllPatchedVersions( - java.lang.Iterable values) { + public Builder addAllPatchedVersions(java.lang.Iterable values) { ensurePatchedVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, patchedVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, patchedVersions_); onChanged(); return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @return This builder for chaining. */ public Builder clearPatchedVersions() { @@ -2004,20 +2201,22 @@ public Builder clearPatchedVersions() { return this; } /** + * + * *
      * The GKE versions where this vulnerability is patched.
      * 
* * repeated string patched_versions = 8; + * * @param value The bytes of the patchedVersions to add. * @return This builder for chaining. */ - public Builder addPatchedVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addPatchedVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePatchedVersionsIsMutable(); patchedVersions_.add(value); onChanged(); @@ -2026,6 +2225,8 @@ public Builder addPatchedVersionsBytes( private java.lang.Object suggestedUpgradeTarget_ = ""; /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2035,13 +2236,13 @@ public Builder addPatchedVersionsBytes(
      * 
* * string suggested_upgrade_target = 9; + * * @return The suggestedUpgradeTarget. */ public java.lang.String getSuggestedUpgradeTarget() { java.lang.Object ref = suggestedUpgradeTarget_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suggestedUpgradeTarget_ = s; return s; @@ -2050,6 +2251,8 @@ public java.lang.String getSuggestedUpgradeTarget() { } } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2059,15 +2262,14 @@ public java.lang.String getSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; + * * @return The bytes for suggestedUpgradeTarget. */ - public com.google.protobuf.ByteString - getSuggestedUpgradeTargetBytes() { + public com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes() { java.lang.Object ref = suggestedUpgradeTarget_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); suggestedUpgradeTarget_ = b; return b; } else { @@ -2075,6 +2277,8 @@ public java.lang.String getSuggestedUpgradeTarget() { } } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2084,20 +2288,22 @@ public java.lang.String getSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; + * * @param value The suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTarget( - java.lang.String value) { + public Builder setSuggestedUpgradeTarget(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + suggestedUpgradeTarget_ = value; onChanged(); return this; } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2107,15 +2313,18 @@ public Builder setSuggestedUpgradeTarget(
      * 
* * string suggested_upgrade_target = 9; + * * @return This builder for chaining. */ public Builder clearSuggestedUpgradeTarget() { - + suggestedUpgradeTarget_ = getDefaultInstance().getSuggestedUpgradeTarget(); onChanged(); return this; } /** + * + * *
      * This represents a version selected from the patched_versions field that
      * the cluster receiving this notification should most likely want to upgrade
@@ -2125,29 +2334,32 @@ public Builder clearSuggestedUpgradeTarget() {
      * 
* * string suggested_upgrade_target = 9; + * * @param value The bytes for suggestedUpgradeTarget to set. * @return This builder for chaining. */ - public Builder setSuggestedUpgradeTargetBytes( - com.google.protobuf.ByteString value) { + public Builder setSuggestedUpgradeTargetBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + suggestedUpgradeTarget_ = value; onChanged(); return this; } - private boolean manualStepsRequired_ ; + private boolean manualStepsRequired_; /** + * + * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; + * * @return The manualStepsRequired. */ @java.lang.Override @@ -2155,39 +2367,45 @@ public boolean getManualStepsRequired() { return manualStepsRequired_; } /** + * + * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; + * * @param value The manualStepsRequired to set. * @return This builder for chaining. */ public Builder setManualStepsRequired(boolean value) { - + manualStepsRequired_ = value; onChanged(); return this; } /** + * + * *
      * If this field is specified, it means there are manual steps that the user
      * must take to make their clusters safe.
      * 
* * bool manual_steps_required = 10; + * * @return This builder for chaining. */ public Builder clearManualStepsRequired() { - + manualStepsRequired_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2197,12 +2415,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SecurityBulletinEvent) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SecurityBulletinEvent) private static final com.google.container.v1beta1.SecurityBulletinEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SecurityBulletinEvent(); } @@ -2211,27 +2429,27 @@ public static com.google.container.v1beta1.SecurityBulletinEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecurityBulletinEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityBulletinEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2246,6 +2464,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SecurityBulletinEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java similarity index 80% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java index 3d2f8a24ed91..dfb6c6ceb713 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SecurityBulletinEventOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SecurityBulletinEventOrBuilder extends +public interface SecurityBulletinEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SecurityBulletinEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -15,10 +33,13 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string resource_type_affected = 1; + * * @return The resourceTypeAffected. */ java.lang.String getResourceTypeAffected(); /** + * + * *
    * The resource type (node/control plane) that has the vulnerability. Multiple
    * notifications (1 notification per resource type) will be sent for a
@@ -26,217 +47,269 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string resource_type_affected = 1; + * * @return The bytes for resourceTypeAffected. */ - com.google.protobuf.ByteString - getResourceTypeAffectedBytes(); + com.google.protobuf.ByteString getResourceTypeAffectedBytes(); /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bulletinId. */ java.lang.String getBulletinId(); /** + * + * *
    * The ID of the bulletin corresponding to the vulnerability.
    * 
* * string bulletin_id = 2; + * * @return The bytes for bulletinId. */ - com.google.protobuf.ByteString - getBulletinIdBytes(); + com.google.protobuf.ByteString getBulletinIdBytes(); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return A list containing the cveIds. */ - java.util.List - getCveIdsList(); + java.util.List getCveIdsList(); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @return The count of cveIds. */ int getCveIdsCount(); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the element to return. * @return The cveIds at the given index. */ java.lang.String getCveIds(int index); /** + * + * *
    * The CVEs associated with this bulletin.
    * 
* * repeated string cve_ids = 3; + * * @param index The index of the value to return. * @return The bytes of the cveIds at the given index. */ - com.google.protobuf.ByteString - getCveIdsBytes(int index); + com.google.protobuf.ByteString getCveIdsBytes(int index); /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The severity. */ java.lang.String getSeverity(); /** + * + * *
    * The severity of this bulletin as it relates to GKE.
    * 
* * string severity = 4; + * * @return The bytes for severity. */ - com.google.protobuf.ByteString - getSeverityBytes(); + com.google.protobuf.ByteString getSeverityBytes(); /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bulletinUri. */ java.lang.String getBulletinUri(); /** + * + * *
    * The URI link to the bulletin on the website for more information.
    * 
* * string bulletin_uri = 5; + * * @return The bytes for bulletinUri. */ - com.google.protobuf.ByteString - getBulletinUriBytes(); + com.google.protobuf.ByteString getBulletinUriBytes(); /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The briefDescription. */ java.lang.String getBriefDescription(); /** + * + * *
    * A brief description of the bulletin. See the bulletin pointed to by the
    * bulletin_uri field for an expanded description.
    * 
* * string brief_description = 6; + * * @return The bytes for briefDescription. */ - com.google.protobuf.ByteString - getBriefDescriptionBytes(); + com.google.protobuf.ByteString getBriefDescriptionBytes(); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return A list containing the affectedSupportedMinors. */ - java.util.List - getAffectedSupportedMinorsList(); + java.util.List getAffectedSupportedMinorsList(); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @return The count of affectedSupportedMinors. */ int getAffectedSupportedMinorsCount(); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the element to return. * @return The affectedSupportedMinors at the given index. */ java.lang.String getAffectedSupportedMinors(int index); /** + * + * *
    * The GKE minor versions affected by this vulnerability.
    * 
* * repeated string affected_supported_minors = 7; + * * @param index The index of the value to return. * @return The bytes of the affectedSupportedMinors at the given index. */ - com.google.protobuf.ByteString - getAffectedSupportedMinorsBytes(int index); + com.google.protobuf.ByteString getAffectedSupportedMinorsBytes(int index); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return A list containing the patchedVersions. */ - java.util.List - getPatchedVersionsList(); + java.util.List getPatchedVersionsList(); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @return The count of patchedVersions. */ int getPatchedVersionsCount(); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the element to return. * @return The patchedVersions at the given index. */ java.lang.String getPatchedVersions(int index); /** + * + * *
    * The GKE versions where this vulnerability is patched.
    * 
* * repeated string patched_versions = 8; + * * @param index The index of the value to return. * @return The bytes of the patchedVersions at the given index. */ - com.google.protobuf.ByteString - getPatchedVersionsBytes(int index); + com.google.protobuf.ByteString getPatchedVersionsBytes(int index); /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -246,10 +319,13 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string suggested_upgrade_target = 9; + * * @return The suggestedUpgradeTarget. */ java.lang.String getSuggestedUpgradeTarget(); /** + * + * *
    * This represents a version selected from the patched_versions field that
    * the cluster receiving this notification should most likely want to upgrade
@@ -259,18 +335,21 @@ public interface SecurityBulletinEventOrBuilder extends
    * 
* * string suggested_upgrade_target = 9; + * * @return The bytes for suggestedUpgradeTarget. */ - com.google.protobuf.ByteString - getSuggestedUpgradeTargetBytes(); + com.google.protobuf.ByteString getSuggestedUpgradeTargetBytes(); /** + * + * *
    * If this field is specified, it means there are manual steps that the user
    * must take to make their clusters safe.
    * 
* * bool manual_steps_required = 10; + * * @return The manualStepsRequired. */ boolean getManualStepsRequired(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java index 5b61d5bdf2c6..322d4ef0618f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfig.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Kubernetes Engine service configuration.
  * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig} */ -public final class ServerConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ServerConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServerConfig) ServerConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ServerConfig.newBuilder() to construct. private ServerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ServerConfig() { defaultClusterVersion_ = ""; validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -30,195 +48,249 @@ private ServerConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServerConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 10: return internalGetWindowsVersionMaps(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.class, com.google.container.v1beta1.ServerConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.class, + com.google.container.v1beta1.ServerConfig.Builder.class); } - public interface ReleaseChannelConfigOrBuilder extends + public interface ReleaseChannelConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ int getChannelValue(); /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ com.google.container.v1beta1.ReleaseChannel.Channel getChannel(); /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The defaultVersion. */ java.lang.String getDefaultVersion(); /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The bytes for defaultVersion. */ - com.google.protobuf.ByteString - getDefaultVersionBytes(); + com.google.protobuf.ByteString getDefaultVersionBytes(); /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List getAvailableVersionsList(); /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index); + @java.lang.Deprecated + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + getAvailableVersions(int index); /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated int getAvailableVersionsCount(); + @java.lang.Deprecated + int getAvailableVersionsCount(); /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated java.util.List + @java.lang.Deprecated + java.util.List< + ? extends + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersionOrBuilder> getAvailableVersionsOrBuilderList(); /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder( - int index); + @java.lang.Deprecated + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder + getAvailableVersionsOrBuilder(int index); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return A list containing the validVersions. */ - java.util.List - getValidVersionsList(); + java.util.List getValidVersionsList(); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return The count of validVersions. */ int getValidVersionsCount(); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the element to return. * @return The validVersions at the given index. */ java.lang.String getValidVersions(int index); /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - com.google.protobuf.ByteString - getValidVersionsBytes(int index); + com.google.protobuf.ByteString getValidVersionsBytes(int index); } /** + * + * *
    * ReleaseChannelConfig exposes configuration for a release channel.
    * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig} */ - public static final class ReleaseChannelConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ReleaseChannelConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) ReleaseChannelConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReleaseChannelConfig.newBuilder() to construct. private ReleaseChannelConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReleaseChannelConfig() { channel_ = 0; defaultVersion_ = ""; @@ -228,89 +300,107 @@ private ReleaseChannelConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReleaseChannelConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); } - @java.lang.Deprecated public interface AvailableVersionOrBuilder extends + @java.lang.Deprecated + public interface AvailableVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Kubernetes version.
        * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
        * Kubernetes version.
        * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
        * Reason for availability.
        * 
* * string reason = 2; + * * @return The reason. */ java.lang.String getReason(); /** + * + * *
        * Reason for availability.
        * 
* * string reason = 2; + * * @return The bytes for reason. */ - com.google.protobuf.ByteString - getReasonBytes(); + com.google.protobuf.ByteString getReasonBytes(); } /** + * + * *
      * Deprecated.
      * 
* - * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} + * Protobuf type {@code + * google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} */ - @java.lang.Deprecated public static final class AvailableVersion extends - com.google.protobuf.GeneratedMessageV3 implements + @java.lang.Deprecated + public static final class AvailableVersion extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) AvailableVersionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AvailableVersion.newBuilder() to construct. private AvailableVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AvailableVersion() { version_ = ""; reason_ = ""; @@ -318,37 +408,43 @@ private AvailableVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AvailableVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .class, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .Builder.class); } public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** + * + * *
        * Kubernetes version.
        * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -357,29 +453,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
        * Kubernetes version.
        * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -390,11 +486,14 @@ public java.lang.String getVersion() { public static final int REASON_FIELD_NUMBER = 2; private volatile java.lang.Object reason_; /** + * + * *
        * Reason for availability.
        * 
* * string reason = 2; + * * @return The reason. */ @java.lang.Override @@ -403,29 +502,29 @@ public java.lang.String getReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; } } /** + * + * *
        * Reason for availability.
        * 
* * string reason = 2; + * * @return The bytes for reason. */ @java.lang.Override - public com.google.protobuf.ByteString - getReasonBytes() { + public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { @@ -434,6 +533,7 @@ public java.lang.String getReason() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -445,8 +545,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } @@ -476,17 +575,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion)) { + if (!(obj + instanceof + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion)) { return super.equals(obj); } - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other = (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) obj; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other = + (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) obj; - if (!getVersion() - .equals(other.getVersion())) return false; - if (!getReason() - .equals(other.getReason())) return false; + if (!getVersion().equals(other.getVersion())) return false; + if (!getReason().equals(other.getReason())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -507,88 +607,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + 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.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom( + 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.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion 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.ServerConfig.ReleaseChannelConfig.AvailableVersion + 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.ServerConfig.ReleaseChannelConfig.AvailableVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion 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.ServerConfig.ReleaseChannelConfig.AvailableVersion + 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.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -598,39 +714,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Deprecated.
        * 
* - * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} + * Protobuf type {@code + * google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .class, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .Builder.class); } - // Construct using com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.newBuilder() - private Builder() { - - } + // Construct using + // com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -642,19 +764,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getDefaultInstanceForType() { - return com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance(); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + getDefaultInstanceForType() { + return com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .getDefaultInstance(); } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion build() { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = buildPartial(); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + build() { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -662,8 +788,11 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableV } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion buildPartial() { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion(this); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + buildPartial() { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion result = + new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion( + this); result.version_ = version_; result.reason_ = reason_; onBuilt(); @@ -674,46 +803,56 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableV public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ServerConfig.ReleaseChannelConfig.AvailableVersion) { - return mergeFrom((com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion)other); + if (other + instanceof + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) { + return mergeFrom( + (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other) { - if (other == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion other) { + if (other + == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .getDefaultInstance()) return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); @@ -748,22 +887,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - version_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - reason_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + version_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + reason_ = input.readStringRequireUtf8(); + + 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) { @@ -776,18 +918,20 @@ public Builder mergeFrom( private java.lang.Object version_ = ""; /** + * + * *
          * Kubernetes version.
          * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -796,20 +940,21 @@ public java.lang.String getVersion() { } } /** + * + * *
          * Kubernetes version.
          * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -817,54 +962,61 @@ public java.lang.String getVersion() { } } /** + * + * *
          * Kubernetes version.
          * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
          * Kubernetes version.
          * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
          * Kubernetes version.
          * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -872,18 +1024,20 @@ public Builder setVersionBytes( private java.lang.Object reason_ = ""; /** + * + * *
          * Reason for availability.
          * 
* * string reason = 2; + * * @return The reason. */ public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reason_ = s; return s; @@ -892,20 +1046,21 @@ public java.lang.String getReason() { } } /** + * + * *
          * Reason for availability.
          * 
* * string reason = 2; + * * @return The bytes for reason. */ - public com.google.protobuf.ByteString - getReasonBytes() { + public com.google.protobuf.ByteString getReasonBytes() { java.lang.Object ref = reason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reason_ = b; return b; } else { @@ -913,58 +1068,66 @@ public java.lang.String getReason() { } } /** + * + * *
          * Reason for availability.
          * 
* * string reason = 2; + * * @param value The reason to set. * @return This builder for chaining. */ - public Builder setReason( - java.lang.String value) { + public Builder setReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + reason_ = value; onChanged(); return this; } /** + * + * *
          * Reason for availability.
          * 
* * string reason = 2; + * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /** + * + * *
          * Reason for availability.
          * 
* * string reason = 2; + * * @param value The bytes for reason to set. * @return This builder for chaining. */ - public Builder setReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + reason_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -977,41 +1140,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion) - private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersion + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion(); + DEFAULT_INSTANCE = + new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion(); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getDefaultInstance() { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AvailableVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvailableVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1023,47 +1191,61 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getDefaultInstanceForType() { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CHANNEL_FIELD_NUMBER = 1; private int channel_; /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
      * The release channel this configuration applies to.
      * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ - @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { + @java.lang.Override + public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = + com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED + : result; } public static final int DEFAULT_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object defaultVersion_; /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The defaultVersion. */ @java.lang.Override @@ -1072,29 +1254,29 @@ public java.lang.String getDefaultVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; } } /** + * + * *
      * The default version for newly created clusters on the channel.
      * 
* * string default_version = 2; + * * @return The bytes for defaultVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -1103,106 +1285,147 @@ public java.lang.String getDefaultVersion() { } public static final int AVAILABLE_VERSIONS_FIELD_NUMBER = 3; - private java.util.List availableVersions_; + private java.util.List< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> + availableVersions_; /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List getAvailableVersionsList() { + @java.lang.Deprecated + public java.util.List< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> + getAvailableVersionsList() { return availableVersions_; } /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public java.util.List + @java.lang.Deprecated + public java.util.List< + ? extends + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersionOrBuilder> getAvailableVersionsOrBuilderList() { return availableVersions_; } /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public int getAvailableVersionsCount() { + @java.lang.Deprecated + public int getAvailableVersionsCount() { return availableVersions_.size(); } /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + getAvailableVersions(int index) { return availableVersions_.get(index); } /** + * + * *
      * Deprecated.
      * This field has been deprecated and replaced with the valid_versions
      * field.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder( - int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder + getAvailableVersionsOrBuilder(int index) { return availableVersions_.get(index); } public static final int VALID_VERSIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList validVersions_; /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList - getValidVersionsList() { + public com.google.protobuf.ProtocolStringList getValidVersionsList() { return validVersions_; } /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -1210,20 +1433,23 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** + * + * *
      * List of valid versions for the channel.
      * 
* * repeated string valid_versions = 4; + * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString - getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1235,8 +1461,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { output.writeEnum(1, channel_); } @@ -1259,15 +1484,14 @@ public int getSerializedSize() { size = 0; if (channel_ != com.google.container.v1beta1.ReleaseChannel.Channel.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, channel_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, channel_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultVersion_); } for (int i = 0; i < availableVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, availableVersions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, availableVersions_.get(i)); } { int dataSize = 0; @@ -1285,20 +1509,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other = (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig) obj; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other = + (com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig) obj; if (channel_ != other.channel_) return false; - if (!getDefaultVersion() - .equals(other.getDefaultVersion())) return false; - if (!getAvailableVersionsList() - .equals(other.getAvailableVersionsList())) return false; - if (!getValidVersionsList() - .equals(other.getValidVersionsList())) return false; + if (!getDefaultVersion().equals(other.getDefaultVersion())) return false; + if (!getAvailableVersionsList().equals(other.getAvailableVersionsList())) return false; + if (!getValidVersionsList().equals(other.getValidVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1328,87 +1550,94 @@ public int hashCode() { } public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( 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.ServerConfig.ReleaseChannelConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1418,39 +1647,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * ReleaseChannelConfig exposes configuration for a release channel.
      * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig.ReleaseChannelConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.class, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder.class); } // Construct using com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1471,13 +1702,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getDefaultInstanceForType() { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + getDefaultInstanceForType() { return com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance(); } @@ -1492,7 +1724,8 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig build() { @java.lang.Override public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig buildPartial() { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig result = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig(this); + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig result = + new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig(this); int from_bitField0_ = bitField0_; result.channel_ = channel_; result.defaultVersion_ = defaultVersion_; @@ -1518,46 +1751,52 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.ServerConfig.ReleaseChannelConfig) { - return mergeFrom((com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig)other); + return mergeFrom((com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other) { - if (other == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig other) { + if (other + == com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()) + return this; if (other.channel_ != 0) { setChannelValue(other.getChannelValue()); } @@ -1583,9 +1822,10 @@ public Builder mergeFrom(com.google.container.v1beta1.ServerConfig.ReleaseChanne availableVersionsBuilder_ = null; availableVersions_ = other.availableVersions_; bitField0_ = (bitField0_ & ~0x00000001); - availableVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAvailableVersionsFieldBuilder() : null; + availableVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAvailableVersionsFieldBuilder() + : null; } else { availableVersionsBuilder_.addAllMessages(other.availableVersions_); } @@ -1627,41 +1867,48 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - channel_ = input.readEnum(); + case 8: + { + channel_ = input.readEnum(); - break; - } // case 8 - case 18: { - defaultVersion_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: + { + defaultVersion_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion m = - input.readMessage( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.parser(), - extensionRegistry); - if (availableVersionsBuilder_ == null) { - ensureAvailableVersionsIsMutable(); - availableVersions_.add(m); - } else { - availableVersionsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidVersionsIsMutable(); - validVersions_.add(s); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + m = + input.readMessage( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersion.parser(), + extensionRegistry); + if (availableVersionsBuilder_ == null) { + ensureAvailableVersionsIsMutable(); + availableVersions_.add(m); + } else { + availableVersionsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidVersionsIsMutable(); + validVersions_.add(s); + 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) { @@ -1671,55 +1918,72 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int channel_ = 0; /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The enum numeric value on the wire for channel. */ - @java.lang.Override public int getChannelValue() { + @java.lang.Override + public int getChannelValue() { return channel_; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @param value The enum numeric value on the wire for channel to set. * @return This builder for chaining. */ public Builder setChannelValue(int value) { - + channel_ = value; onChanged(); return this; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return The channel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel.Channel getChannel() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.ReleaseChannel.Channel result = com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); - return result == null ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED : result; + com.google.container.v1beta1.ReleaseChannel.Channel result = + com.google.container.v1beta1.ReleaseChannel.Channel.valueOf(channel_); + return result == null + ? com.google.container.v1beta1.ReleaseChannel.Channel.UNRECOGNIZED + : result; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @param value The channel to set. * @return This builder for chaining. */ @@ -1727,21 +1991,24 @@ public Builder setChannel(com.google.container.v1beta1.ReleaseChannel.Channel va if (value == null) { throw new NullPointerException(); } - + channel_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The release channel this configuration applies to.
        * 
* * .google.container.v1beta1.ReleaseChannel.Channel channel = 1; + * * @return This builder for chaining. */ public Builder clearChannel() { - + channel_ = 0; onChanged(); return this; @@ -1749,18 +2016,20 @@ public Builder clearChannel() { private java.lang.Object defaultVersion_ = ""; /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultVersion_ = s; return s; @@ -1769,20 +2038,21 @@ public java.lang.String getDefaultVersion() { } } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @return The bytes for defaultVersion. */ - public com.google.protobuf.ByteString - getDefaultVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultVersion_ = b; return b; } else { @@ -1790,81 +2060,105 @@ public java.lang.String getDefaultVersion() { } } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @param value The defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersion( - java.lang.String value) { + public Builder setDefaultVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultVersion_ = value; onChanged(); return this; } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @return This builder for chaining. */ public Builder clearDefaultVersion() { - + defaultVersion_ = getDefaultInstance().getDefaultVersion(); onChanged(); return this; } /** + * + * *
        * The default version for newly created clusters on the channel.
        * 
* * string default_version = 2; + * * @param value The bytes for defaultVersion to set. * @return This builder for chaining. */ - public Builder setDefaultVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultVersion_ = value; onChanged(); return this; } - private java.util.List availableVersions_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> + availableVersions_ = java.util.Collections.emptyList(); + private void ensureAvailableVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - availableVersions_ = new java.util.ArrayList(availableVersions_); + availableVersions_ = + new java.util.ArrayList< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion>( + availableVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder> availableVersionsBuilder_; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .Builder, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersionOrBuilder> + availableVersionsBuilder_; /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List getAvailableVersionsList() { + @java.lang.Deprecated + public java.util.List< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion> + getAvailableVersionsList() { if (availableVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(availableVersions_); } else { @@ -1872,15 +2166,20 @@ private void ensureAvailableVersionsIsMutable() { } } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public int getAvailableVersionsCount() { + @java.lang.Deprecated + public int getAvailableVersionsCount() { if (availableVersionsBuilder_ == null) { return availableVersions_.size(); } else { @@ -1888,15 +2187,21 @@ private void ensureAvailableVersionsIsMutable() { } } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion getAvailableVersions(int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + getAvailableVersions(int index) { if (availableVersionsBuilder_ == null) { return availableVersions_.get(index); } else { @@ -1904,16 +2209,22 @@ private void ensureAvailableVersionsIsMutable() { } } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setAvailableVersions( - int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { + @java.lang.Deprecated + public Builder setAvailableVersions( + int index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1927,16 +2238,23 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder setAvailableVersions( - int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) { + @java.lang.Deprecated + public Builder setAvailableVersions( + int index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder + builderForValue) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.set(index, builderForValue.build()); @@ -1947,15 +2265,21 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAvailableVersions(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { + @java.lang.Deprecated + public Builder addAvailableVersions( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1969,16 +2293,22 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAvailableVersions( - int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { + @java.lang.Deprecated + public Builder addAvailableVersions( + int index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion value) { if (availableVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1992,16 +2322,22 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAvailableVersions( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) { + @java.lang.Deprecated + public Builder addAvailableVersions( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder + builderForValue) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.add(builderForValue.build()); @@ -2012,16 +2348,23 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAvailableVersions( - int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder builderForValue) { + @java.lang.Deprecated + public Builder addAvailableVersions( + int index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder + builderForValue) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.add(index, builderForValue.build()); @@ -2032,20 +2375,28 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder addAllAvailableVersions( - java.lang.Iterable values) { + @java.lang.Deprecated + public Builder addAllAvailableVersions( + java.lang.Iterable< + ? extends + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersion> + values) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, availableVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, availableVersions_); onChanged(); } else { availableVersionsBuilder_.addAllMessages(values); @@ -2053,15 +2404,20 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder clearAvailableVersions() { + @java.lang.Deprecated + public Builder clearAvailableVersions() { if (availableVersionsBuilder_ == null) { availableVersions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); @@ -2072,15 +2428,20 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public Builder removeAvailableVersions(int index) { + @java.lang.Deprecated + public Builder removeAvailableVersions(int index) { if (availableVersionsBuilder_ == null) { ensureAvailableVersionsIsMutable(); availableVersions_.remove(index); @@ -2091,45 +2452,65 @@ private void ensureAvailableVersionsIsMutable() { return this; } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder getAvailableVersionsBuilder( - int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder + getAvailableVersionsBuilder(int index) { return getAvailableVersionsFieldBuilder().getBuilder(index); } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder getAvailableVersionsOrBuilder( - int index) { + @java.lang.Deprecated + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersionOrBuilder + getAvailableVersionsOrBuilder(int index) { if (availableVersionsBuilder_ == null) { - return availableVersions_.get(index); } else { + return availableVersions_.get(index); + } else { return availableVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getAvailableVersionsOrBuilderList() { + @java.lang.Deprecated + public java.util.List< + ? extends + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersionOrBuilder> + getAvailableVersionsOrBuilderList() { if (availableVersionsBuilder_ != null) { return availableVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -2137,51 +2518,84 @@ private void ensureAvailableVersionsIsMutable() { } } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder addAvailableVersionsBuilder() { - return getAvailableVersionsFieldBuilder().addBuilder( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder + addAvailableVersionsBuilder() { + return getAvailableVersionsFieldBuilder() + .addBuilder( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .getDefaultInstance()); } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder addAvailableVersionsBuilder( - int index) { - return getAvailableVersionsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.getDefaultInstance()); + @java.lang.Deprecated + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder + addAvailableVersionsBuilder(int index) { + return getAvailableVersionsFieldBuilder() + .addBuilder( + index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .getDefaultInstance()); } /** + * + * *
        * Deprecated.
        * This field has been deprecated and replaced with the valid_versions
        * field.
        * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion available_versions = 3 [deprecated = true]; + * */ - @java.lang.Deprecated public java.util.List - getAvailableVersionsBuilderList() { + @java.lang.Deprecated + public java.util.List< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .Builder> + getAvailableVersionsBuilderList() { return getAvailableVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder> + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .Builder, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersionOrBuilder> getAvailableVersionsFieldBuilder() { if (availableVersionsBuilder_ == null) { - availableVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersionOrBuilder>( + availableVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.AvailableVersion + .Builder, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + .AvailableVersionOrBuilder>( availableVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2191,42 +2605,52 @@ private void ensureAvailableVersionsIsMutable() { return availableVersionsBuilder_; } - private com.google.protobuf.LazyStringList validVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidVersionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validVersions_ = new com.google.protobuf.LazyStringArrayList(validVersions_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @return A list containing the validVersions. */ - public com.google.protobuf.ProtocolStringList - getValidVersionsList() { + public com.google.protobuf.ProtocolStringList getValidVersionsList() { return validVersions_.getUnmodifiableView(); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @return The count of validVersions. */ public int getValidVersionsCount() { return validVersions_.size(); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param index The index of the element to return. * @return The validVersions at the given index. */ @@ -2234,80 +2658,90 @@ public java.lang.String getValidVersions(int index) { return validVersions_.get(index); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param index The index of the value to return. * @return The bytes of the validVersions at the given index. */ - public com.google.protobuf.ByteString - getValidVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidVersionsBytes(int index) { return validVersions_.getByteString(index); } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param index The index to set the value at. * @param value The validVersions to set. * @return This builder for chaining. */ - public Builder setValidVersions( - int index, java.lang.String value) { + public Builder setValidVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.set(index, value); onChanged(); return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param value The validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersions( - java.lang.String value) { + public Builder addValidVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param values The validVersions to add. * @return This builder for chaining. */ - public Builder addAllValidVersions( - java.lang.Iterable values) { + public Builder addAllValidVersions(java.lang.Iterable values) { ensureValidVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validVersions_); onChanged(); return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @return This builder for chaining. */ public Builder clearValidVersions() { @@ -2317,25 +2751,28 @@ public Builder clearValidVersions() { return this; } /** + * + * *
        * List of valid versions for the channel.
        * 
* * repeated string valid_versions = 4; + * * @param value The bytes of the validVersions to add. * @return This builder for chaining. */ - public Builder addValidVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addValidVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidVersionsIsMutable(); validVersions_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2348,41 +2785,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServerConfig.ReleaseChannelConfig) - private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig(); } - public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getDefaultInstance() { + public static com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReleaseChannelConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReleaseChannelConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2394,20 +2834,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getDefaultInstanceForType() { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DEFAULT_CLUSTER_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object defaultClusterVersion_; /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The defaultClusterVersion. */ @java.lang.Override @@ -2416,29 +2859,29 @@ public java.lang.String getDefaultClusterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; } } /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The bytes for defaultClusterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -2449,34 +2892,42 @@ public java.lang.String getDefaultClusterVersion() { public static final int VALID_NODE_VERSIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList validNodeVersions_; /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList - getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { return validNodeVersions_; } /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -2484,27 +2935,32 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString - getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } public static final int DEFAULT_IMAGE_TYPE_FIELD_NUMBER = 4; private volatile java.lang.Object defaultImageType_; /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The defaultImageType. */ @java.lang.Override @@ -2513,29 +2969,29 @@ public java.lang.String getDefaultImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; } } /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The bytes for defaultImageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -2546,34 +3002,42 @@ public java.lang.String getDefaultImageType() { public static final int VALID_IMAGE_TYPES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList validImageTypes_; /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList - getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList getValidImageTypesList() { return validImageTypes_; } /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -2581,50 +3045,60 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString - getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } public static final int VALID_MASTER_VERSIONS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList validMasterVersions_; /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList - getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { return validMasterVersions_; } /** - *
+   *
+   *
+   * 
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -2632,22 +3106,26 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString - getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } public static final int CHANNELS_FIELD_NUMBER = 9; private java.util.List channels_; /** + * + * *
    * List of release channel configurations.
    * 
@@ -2655,10 +3133,13 @@ public java.lang.String getValidMasterVersions(int index) { * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List getChannelsList() { + public java.util.List + getChannelsList() { return channels_; } /** + * + * *
    * List of release channel configurations.
    * 
@@ -2666,11 +3147,14 @@ public java.util.Listrepeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsOrBuilderList() { return channels_; } /** + * + * *
    * List of release channel configurations.
    * 
@@ -2682,6 +3166,8 @@ public int getChannelsCount() { return channels_.size(); } /** + * + * *
    * List of release channel configurations.
    * 
@@ -2693,6 +3179,8 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannel return channels_.get(index); } /** + * + * *
    * List of release channel configurations.
    * 
@@ -2700,27 +3188,34 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannel * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ @java.lang.Override - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder( - int index) { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder + getChannelsOrBuilder(int index) { return channels_.get(index); } public static final int WINDOWS_VERSION_MAPS_FIELD_NUMBER = 10; + private static final class WindowsVersionMapsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.container.v1beta1.WindowsVersions> defaultEntry = + java.lang.String, com.google.container.v1beta1.WindowsVersions> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.container.v1beta1.WindowsVersions.getDefaultInstance()); + .newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.container.v1beta1.WindowsVersions.getDefaultInstance()); } + private com.google.protobuf.MapField< - java.lang.String, com.google.container.v1beta1.WindowsVersions> windowsVersionMaps_; - private com.google.protobuf.MapField - internalGetWindowsVersionMaps() { + java.lang.String, com.google.container.v1beta1.WindowsVersions> + windowsVersionMaps_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.container.v1beta1.WindowsVersions> + internalGetWindowsVersionMaps() { if (windowsVersionMaps_ == null) { return com.google.protobuf.MapField.emptyMapField( WindowsVersionMapsDefaultEntryHolder.defaultEntry); @@ -2732,68 +3227,80 @@ public int getWindowsVersionMapsCount() { return internalGetWindowsVersionMaps().getMap().size(); } /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ - @java.lang.Override - public boolean containsWindowsVersionMaps( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsWindowsVersionMaps(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetWindowsVersionMaps().getMap().containsKey(key); } - /** - * Use {@link #getWindowsVersionMapsMap()} instead. - */ + /** Use {@link #getWindowsVersionMapsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getWindowsVersionMaps() { + public java.util.Map + getWindowsVersionMaps() { return getWindowsVersionMapsMap(); } /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ @java.lang.Override - - public java.util.Map getWindowsVersionMapsMap() { + public java.util.Map + getWindowsVersionMapsMap() { return internalGetWindowsVersionMaps().getMap(); } /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ @java.lang.Override - public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( - java.lang.String key, - com.google.container.v1beta1.WindowsVersions defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.container.v1beta1.WindowsVersions defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetWindowsVersionMaps().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ @java.lang.Override - public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetWindowsVersionMaps().getMap(); if (!map.containsKey(key)) { @@ -2803,6 +3310,7 @@ public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2814,8 +3322,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultClusterVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultClusterVersion_); } @@ -2834,8 +3341,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < channels_.size(); i++) { output.writeMessage(9, channels_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetWindowsVersionMaps(), WindowsVersionMapsDefaultEntryHolder.defaultEntry, @@ -2880,18 +3386,18 @@ public int getSerializedSize() { size += 1 * getValidMasterVersionsList().size(); } for (int i = 0; i < channels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, channels_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, channels_.get(i)); } - for (java.util.Map.Entry entry - : internalGetWindowsVersionMaps().getMap().entrySet()) { + for (java.util.Map.Entry entry : + internalGetWindowsVersionMaps().getMap().entrySet()) { com.google.protobuf.MapEntry - windowsVersionMaps__ = WindowsVersionMapsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, windowsVersionMaps__); + windowsVersionMaps__ = + WindowsVersionMapsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, windowsVersionMaps__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2901,27 +3407,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ServerConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ServerConfig other = (com.google.container.v1beta1.ServerConfig) obj; - - if (!getDefaultClusterVersion() - .equals(other.getDefaultClusterVersion())) return false; - if (!getValidNodeVersionsList() - .equals(other.getValidNodeVersionsList())) return false; - if (!getDefaultImageType() - .equals(other.getDefaultImageType())) return false; - if (!getValidImageTypesList() - .equals(other.getValidImageTypesList())) return false; - if (!getValidMasterVersionsList() - .equals(other.getValidMasterVersionsList())) return false; - if (!getChannelsList() - .equals(other.getChannelsList())) return false; - if (!internalGetWindowsVersionMaps().equals( - other.internalGetWindowsVersionMaps())) return false; + com.google.container.v1beta1.ServerConfig other = + (com.google.container.v1beta1.ServerConfig) obj; + + if (!getDefaultClusterVersion().equals(other.getDefaultClusterVersion())) return false; + if (!getValidNodeVersionsList().equals(other.getValidNodeVersionsList())) return false; + if (!getDefaultImageType().equals(other.getDefaultImageType())) return false; + if (!getValidImageTypesList().equals(other.getValidImageTypesList())) return false; + if (!getValidMasterVersionsList().equals(other.getValidMasterVersionsList())) return false; + if (!getChannelsList().equals(other.getChannelsList())) return false; + if (!internalGetWindowsVersionMaps().equals(other.internalGetWindowsVersionMaps())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2962,152 +3463,156 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.ServerConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ServerConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServerConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.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.container.v1beta1.ServerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServerConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ServerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServerConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ServerConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServerConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServerConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ServerConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.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); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ServerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Kubernetes Engine service configuration.
    * 
* * Protobuf type {@code google.container.v1beta1.ServerConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServerConfig) com.google.container.v1beta1.ServerConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 10: return internalGetWindowsVersionMaps(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 10: return internalGetMutableWindowsVersionMaps(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServerConfig.class, com.google.container.v1beta1.ServerConfig.Builder.class); + com.google.container.v1beta1.ServerConfig.class, + com.google.container.v1beta1.ServerConfig.Builder.class); } // Construct using com.google.container.v1beta1.ServerConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3133,9 +3638,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServerConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServerConfig_descriptor; } @java.lang.Override @@ -3154,7 +3659,8 @@ public com.google.container.v1beta1.ServerConfig build() { @java.lang.Override public com.google.container.v1beta1.ServerConfig buildPartial() { - com.google.container.v1beta1.ServerConfig result = new com.google.container.v1beta1.ServerConfig(this); + com.google.container.v1beta1.ServerConfig result = + new com.google.container.v1beta1.ServerConfig(this); int from_bitField0_ = bitField0_; result.defaultClusterVersion_ = defaultClusterVersion_; if (((bitField0_ & 0x00000001) != 0)) { @@ -3192,38 +3698,39 @@ public com.google.container.v1beta1.ServerConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ServerConfig) { - return mergeFrom((com.google.container.v1beta1.ServerConfig)other); + return mergeFrom((com.google.container.v1beta1.ServerConfig) other); } else { super.mergeFrom(other); return this; @@ -3288,16 +3795,16 @@ public Builder mergeFrom(com.google.container.v1beta1.ServerConfig other) { channelsBuilder_ = null; channels_ = other.channels_; bitField0_ = (bitField0_ & ~0x00000008); - channelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChannelsFieldBuilder() : null; + channelsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChannelsFieldBuilder() + : null; } else { channelsBuilder_.addAllMessages(other.channels_); } } } - internalGetMutableWindowsVersionMaps().mergeFrom( - other.internalGetWindowsVersionMaps()); + internalGetMutableWindowsVersionMaps().mergeFrom(other.internalGetWindowsVersionMaps()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3324,61 +3831,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - defaultClusterVersion_ = input.readStringRequireUtf8(); + case 10: + { + defaultClusterVersion_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidNodeVersionsIsMutable(); - validNodeVersions_.add(s); - break; - } // case 26 - case 34: { - defaultImageType_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidNodeVersionsIsMutable(); + validNodeVersions_.add(s); + break; + } // case 26 + case 34: + { + defaultImageType_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidImageTypesIsMutable(); - validImageTypes_.add(s); - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureValidMasterVersionsIsMutable(); - validMasterVersions_.add(s); - break; - } // case 50 - case 74: { - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig m = - input.readMessage( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.parser(), - extensionRegistry); - if (channelsBuilder_ == null) { - ensureChannelsIsMutable(); - channels_.add(m); - } else { - channelsBuilder_.addMessage(m); - } - break; - } // case 74 - case 82: { - com.google.protobuf.MapEntry - windowsVersionMaps__ = input.readMessage( - WindowsVersionMapsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableWindowsVersionMaps().getMutableMap().put( - windowsVersionMaps__.getKey(), windowsVersionMaps__.getValue()); - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidImageTypesIsMutable(); + validImageTypes_.add(s); + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureValidMasterVersionsIsMutable(); + validMasterVersions_.add(s); + break; + } // case 50 + case 74: + { + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig m = + input.readMessage( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.parser(), + extensionRegistry); + if (channelsBuilder_ == null) { + ensureChannelsIsMutable(); + channels_.add(m); + } else { + channelsBuilder_.addMessage(m); + } + break; + } // case 74 + case 82: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.container.v1beta1.WindowsVersions> + windowsVersionMaps__ = + input.readMessage( + WindowsVersionMapsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableWindowsVersionMaps() + .getMutableMap() + .put(windowsVersionMaps__.getKey(), windowsVersionMaps__.getValue()); + 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) { @@ -3388,22 +3907,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object defaultClusterVersion_ = ""; /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @return The defaultClusterVersion. */ public java.lang.String getDefaultClusterVersion() { java.lang.Object ref = defaultClusterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultClusterVersion_ = s; return s; @@ -3412,20 +3934,21 @@ public java.lang.String getDefaultClusterVersion() { } } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @return The bytes for defaultClusterVersion. */ - public com.google.protobuf.ByteString - getDefaultClusterVersionBytes() { + public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultClusterVersion_ = b; return b; } else { @@ -3433,95 +3956,112 @@ public java.lang.String getDefaultClusterVersion() { } } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @param value The defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersion( - java.lang.String value) { + public Builder setDefaultClusterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultClusterVersion_ = value; onChanged(); return this; } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @return This builder for chaining. */ public Builder clearDefaultClusterVersion() { - + defaultClusterVersion_ = getDefaultInstance().getDefaultClusterVersion(); onChanged(); return this; } /** + * + * *
      * Version of Kubernetes the service deploys by default.
      * 
* * string default_cluster_version = 1; + * * @param value The bytes for defaultClusterVersion to set. * @return This builder for chaining. */ - public Builder setDefaultClusterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultClusterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultClusterVersion_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validNodeVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validNodeVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidNodeVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { validNodeVersions_ = new com.google.protobuf.LazyStringArrayList(validNodeVersions_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @return A list containing the validNodeVersions. */ - public com.google.protobuf.ProtocolStringList - getValidNodeVersionsList() { + public com.google.protobuf.ProtocolStringList getValidNodeVersionsList() { return validNodeVersions_.getUnmodifiableView(); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @return The count of validNodeVersions. */ public int getValidNodeVersionsCount() { return validNodeVersions_.size(); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ @@ -3529,80 +4069,90 @@ public java.lang.String getValidNodeVersions(int index) { return validNodeVersions_.get(index); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - public com.google.protobuf.ByteString - getValidNodeVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { return validNodeVersions_.getByteString(index); } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param index The index to set the value at. * @param value The validNodeVersions to set. * @return This builder for chaining. */ - public Builder setValidNodeVersions( - int index, java.lang.String value) { + public Builder setValidNodeVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param value The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersions( - java.lang.String value) { + public Builder addValidNodeVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidNodeVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param values The validNodeVersions to add. * @return This builder for chaining. */ - public Builder addAllValidNodeVersions( - java.lang.Iterable values) { + public Builder addAllValidNodeVersions(java.lang.Iterable values) { ensureValidNodeVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validNodeVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validNodeVersions_); onChanged(); return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @return This builder for chaining. */ public Builder clearValidNodeVersions() { @@ -3612,20 +4162,22 @@ public Builder clearValidNodeVersions() { return this; } /** + * + * *
      * List of valid node upgrade target versions, in descending order.
      * 
* * repeated string valid_node_versions = 3; + * * @param value The bytes of the validNodeVersions to add. * @return This builder for chaining. */ - public Builder addValidNodeVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addValidNodeVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidNodeVersionsIsMutable(); validNodeVersions_.add(value); onChanged(); @@ -3634,18 +4186,20 @@ public Builder addValidNodeVersionsBytes( private java.lang.Object defaultImageType_ = ""; /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @return The defaultImageType. */ public java.lang.String getDefaultImageType() { java.lang.Object ref = defaultImageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultImageType_ = s; return s; @@ -3654,20 +4208,21 @@ public java.lang.String getDefaultImageType() { } } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @return The bytes for defaultImageType. */ - public com.google.protobuf.ByteString - getDefaultImageTypeBytes() { + public com.google.protobuf.ByteString getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultImageType_ = b; return b; } else { @@ -3675,95 +4230,112 @@ public java.lang.String getDefaultImageType() { } } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @param value The defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageType( - java.lang.String value) { + public Builder setDefaultImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultImageType_ = value; onChanged(); return this; } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @return This builder for chaining. */ public Builder clearDefaultImageType() { - + defaultImageType_ = getDefaultInstance().getDefaultImageType(); onChanged(); return this; } /** + * + * *
      * Default image type.
      * 
* * string default_image_type = 4; + * * @param value The bytes for defaultImageType to set. * @return This builder for chaining. */ - public Builder setDefaultImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultImageType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList validImageTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validImageTypes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidImageTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { validImageTypes_ = new com.google.protobuf.LazyStringArrayList(validImageTypes_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @return A list containing the validImageTypes. */ - public com.google.protobuf.ProtocolStringList - getValidImageTypesList() { + public com.google.protobuf.ProtocolStringList getValidImageTypesList() { return validImageTypes_.getUnmodifiableView(); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @return The count of validImageTypes. */ public int getValidImageTypesCount() { return validImageTypes_.size(); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ @@ -3771,80 +4343,90 @@ public java.lang.String getValidImageTypes(int index) { return validImageTypes_.get(index); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - public com.google.protobuf.ByteString - getValidImageTypesBytes(int index) { + public com.google.protobuf.ByteString getValidImageTypesBytes(int index) { return validImageTypes_.getByteString(index); } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param index The index to set the value at. * @param value The validImageTypes to set. * @return This builder for chaining. */ - public Builder setValidImageTypes( - int index, java.lang.String value) { + public Builder setValidImageTypes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param value The validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypes( - java.lang.String value) { + public Builder addValidImageTypes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidImageTypesIsMutable(); + throw new NullPointerException(); + } + ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param values The validImageTypes to add. * @return This builder for chaining. */ - public Builder addAllValidImageTypes( - java.lang.Iterable values) { + public Builder addAllValidImageTypes(java.lang.Iterable values) { ensureValidImageTypesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validImageTypes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validImageTypes_); onChanged(); return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @return This builder for chaining. */ public Builder clearValidImageTypes() { @@ -3854,62 +4436,74 @@ public Builder clearValidImageTypes() { return this; } /** + * + * *
      * List of valid image types.
      * 
* * repeated string valid_image_types = 5; + * * @param value The bytes of the validImageTypes to add. * @return This builder for chaining. */ - public Builder addValidImageTypesBytes( - com.google.protobuf.ByteString value) { + public Builder addValidImageTypesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidImageTypesIsMutable(); validImageTypes_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList validMasterVersions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList validMasterVersions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureValidMasterVersionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { validMasterVersions_ = new com.google.protobuf.LazyStringArrayList(validMasterVersions_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @return A list containing the validMasterVersions. */ - public com.google.protobuf.ProtocolStringList - getValidMasterVersionsList() { + public com.google.protobuf.ProtocolStringList getValidMasterVersionsList() { return validMasterVersions_.getUnmodifiableView(); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @return The count of validMasterVersions. */ public int getValidMasterVersionsCount() { return validMasterVersions_.size(); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ @@ -3917,80 +4511,90 @@ public java.lang.String getValidMasterVersions(int index) { return validMasterVersions_.get(index); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - public com.google.protobuf.ByteString - getValidMasterVersionsBytes(int index) { + public com.google.protobuf.ByteString getValidMasterVersionsBytes(int index) { return validMasterVersions_.getByteString(index); } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param index The index to set the value at. * @param value The validMasterVersions to set. * @return This builder for chaining. */ - public Builder setValidMasterVersions( - int index, java.lang.String value) { + public Builder setValidMasterVersions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.set(index, value); onChanged(); return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param value The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersions( - java.lang.String value) { + public Builder addValidMasterVersions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureValidMasterVersionsIsMutable(); + throw new NullPointerException(); + } + ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param values The validMasterVersions to add. * @return This builder for chaining. */ - public Builder addAllValidMasterVersions( - java.lang.Iterable values) { + public Builder addAllValidMasterVersions(java.lang.Iterable values) { ensureValidMasterVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, validMasterVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, validMasterVersions_); onChanged(); return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @return This builder for chaining. */ public Builder clearValidMasterVersions() { @@ -4000,46 +4604,58 @@ public Builder clearValidMasterVersions() { return this; } /** + * + * *
      * List of valid master versions, in descending order.
      * 
* * repeated string valid_master_versions = 6; + * * @param value The bytes of the validMasterVersions to add. * @return This builder for chaining. */ - public Builder addValidMasterVersionsBytes( - com.google.protobuf.ByteString value) { + public Builder addValidMasterVersionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureValidMasterVersionsIsMutable(); validMasterVersions_.add(value); onChanged(); return this; } - private java.util.List channels_ = - java.util.Collections.emptyList(); + private java.util.List + channels_ = java.util.Collections.emptyList(); + private void ensureChannelsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - channels_ = new java.util.ArrayList(channels_); + channels_ = + new java.util.ArrayList( + channels_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> channelsBuilder_; + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> + channelsBuilder_; /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public java.util.List getChannelsList() { + public java.util.List + getChannelsList() { if (channelsBuilder_ == null) { return java.util.Collections.unmodifiableList(channels_); } else { @@ -4047,11 +4663,14 @@ public java.util.List * List of release channel configurations. *
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public int getChannelsCount() { if (channelsBuilder_ == null) { @@ -4061,11 +4680,14 @@ public int getChannelsCount() { } } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannels(int index) { if (channelsBuilder_ == null) { @@ -4075,11 +4697,14 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannel } } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder setChannels( int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { @@ -4096,14 +4721,18 @@ public Builder setChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder setChannels( - int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.set(index, builderForValue.build()); @@ -4114,13 +4743,17 @@ public Builder setChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public Builder addChannels(com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { + public Builder addChannels( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { if (channelsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4134,11 +4767,14 @@ public Builder addChannels(com.google.container.v1beta1.ServerConfig.ReleaseChan return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder addChannels( int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig value) { @@ -4155,11 +4791,14 @@ public Builder addChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder addChannels( com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { @@ -4173,14 +4812,18 @@ public Builder addChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder addChannels( - int index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { + int index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder builderForValue) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); channels_.add(index, builderForValue.build()); @@ -4191,18 +4834,21 @@ public Builder addChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder addAllChannels( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (channelsBuilder_ == null) { ensureChannelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, channels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channels_); onChanged(); } else { channelsBuilder_.addAllMessages(values); @@ -4210,11 +4856,14 @@ public Builder addAllChannels( return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder clearChannels() { if (channelsBuilder_ == null) { @@ -4227,11 +4876,14 @@ public Builder clearChannels() { return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ public Builder removeChannels(int index) { if (channelsBuilder_ == null) { @@ -4244,39 +4896,50 @@ public Builder removeChannels(int index) { return this; } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder getChannelsBuilder( - int index) { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder + getChannelsBuilder(int index) { return getChannelsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder getChannelsOrBuilder( - int index) { + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder + getChannelsOrBuilder(int index) { if (channelsBuilder_ == null) { - return channels_.get(index); } else { + return channels_.get(index); + } else { return channelsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public java.util.List - getChannelsOrBuilderList() { + public java.util.List< + ? extends com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> + getChannelsOrBuilderList() { if (channelsBuilder_ != null) { return channelsBuilder_.getMessageOrBuilderList(); } else { @@ -4284,70 +4947,93 @@ public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder g } } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder() { - return getChannelsFieldBuilder().addBuilder( - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder + addChannelsBuilder() { + return getChannelsFieldBuilder() + .addBuilder( + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder addChannelsBuilder( - int index) { - return getChannelsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); + public com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder + addChannelsBuilder(int index) { + return getChannelsFieldBuilder() + .addBuilder( + index, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.getDefaultInstance()); } /** + * + * *
      * List of release channel configurations.
      * 
* - * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; + * */ - public java.util.List - getChannelsBuilderList() { + public java.util.List + getChannelsBuilderList() { return getChannelsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder> getChannelsFieldBuilder() { if (channelsBuilder_ == null) { - channelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder>( - channels_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + channelsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig.Builder, + com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder>( + channels_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); channels_ = null; } return channelsBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.container.v1beta1.WindowsVersions> windowsVersionMaps_; - private com.google.protobuf.MapField - internalGetWindowsVersionMaps() { + java.lang.String, com.google.container.v1beta1.WindowsVersions> + windowsVersionMaps_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.container.v1beta1.WindowsVersions> + internalGetWindowsVersionMaps() { if (windowsVersionMaps_ == null) { return com.google.protobuf.MapField.emptyMapField( WindowsVersionMapsDefaultEntryHolder.defaultEntry); } return windowsVersionMaps_; } - private com.google.protobuf.MapField - internalGetMutableWindowsVersionMaps() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.container.v1beta1.WindowsVersions> + internalGetMutableWindowsVersionMaps() { + onChanged(); + ; if (windowsVersionMaps_ == null) { - windowsVersionMaps_ = com.google.protobuf.MapField.newMapField( - WindowsVersionMapsDefaultEntryHolder.defaultEntry); + windowsVersionMaps_ = + com.google.protobuf.MapField.newMapField( + WindowsVersionMapsDefaultEntryHolder.defaultEntry); } if (!windowsVersionMaps_.isMutable()) { windowsVersionMaps_ = windowsVersionMaps_.copy(); @@ -4359,68 +5045,80 @@ public int getWindowsVersionMapsCount() { return internalGetWindowsVersionMaps().getMap().size(); } /** + * + * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ - @java.lang.Override - public boolean containsWindowsVersionMaps( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsWindowsVersionMaps(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetWindowsVersionMaps().getMap().containsKey(key); } - /** - * Use {@link #getWindowsVersionMapsMap()} instead. - */ + /** Use {@link #getWindowsVersionMapsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getWindowsVersionMaps() { + public java.util.Map + getWindowsVersionMaps() { return getWindowsVersionMapsMap(); } /** + * + * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ @java.lang.Override - - public java.util.Map getWindowsVersionMapsMap() { + public java.util.Map + getWindowsVersionMapsMap() { return internalGetWindowsVersionMaps().getMap(); } /** + * + * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ @java.lang.Override - public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( - java.lang.String key, - com.google.container.v1beta1.WindowsVersions defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.container.v1beta1.WindowsVersions defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetWindowsVersionMaps().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ @java.lang.Override - public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow( java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + if (key == null) { + throw new NullPointerException("map key"); + } java.util.Map map = internalGetWindowsVersionMaps().getMap(); if (!map.containsKey(key)) { @@ -4430,69 +5128,72 @@ public com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow } public Builder clearWindowsVersionMaps() { - internalGetMutableWindowsVersionMaps().getMutableMap() - .clear(); + internalGetMutableWindowsVersionMaps().getMutableMap().clear(); return this; } /** + * + * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ - - public Builder removeWindowsVersionMaps( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableWindowsVersionMaps().getMutableMap() - .remove(key); + public Builder removeWindowsVersionMaps(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableWindowsVersionMaps().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map - getMutableWindowsVersionMaps() { + getMutableWindowsVersionMaps() { return internalGetMutableWindowsVersionMaps().getMutableMap(); } /** + * + * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ public Builder putWindowsVersionMaps( - java.lang.String key, - com.google.container.v1beta1.WindowsVersions value) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String key, com.google.container.v1beta1.WindowsVersions value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableWindowsVersionMaps().getMutableMap() - .put(key, value); + internalGetMutableWindowsVersionMaps().getMutableMap().put(key, value); return this; } /** + * + * *
      * Maps of Kubernetes version and supported Windows server versions.
      * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ - public Builder putAllWindowsVersionMaps( java.util.Map values) { - internalGetMutableWindowsVersionMaps().getMutableMap() - .putAll(values); + internalGetMutableWindowsVersionMaps().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4502,12 +5203,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServerConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServerConfig) private static final com.google.container.v1beta1.ServerConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ServerConfig(); } @@ -4516,27 +5217,27 @@ public static com.google.container.v1beta1.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(); - } - }; + 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; @@ -4551,6 +5252,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ServerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java similarity index 75% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java index d4d2bb3436d9..dfc602dce554 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServerConfigOrBuilder.java @@ -1,185 +1,244 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface ServerConfigOrBuilder extends +public interface ServerConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServerConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The defaultClusterVersion. */ java.lang.String getDefaultClusterVersion(); /** + * + * *
    * Version of Kubernetes the service deploys by default.
    * 
* * string default_cluster_version = 1; + * * @return The bytes for defaultClusterVersion. */ - com.google.protobuf.ByteString - getDefaultClusterVersionBytes(); + com.google.protobuf.ByteString getDefaultClusterVersionBytes(); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return A list containing the validNodeVersions. */ - java.util.List - getValidNodeVersionsList(); + java.util.List getValidNodeVersionsList(); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @return The count of validNodeVersions. */ int getValidNodeVersionsCount(); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the element to return. * @return The validNodeVersions at the given index. */ java.lang.String getValidNodeVersions(int index); /** + * + * *
    * List of valid node upgrade target versions, in descending order.
    * 
* * repeated string valid_node_versions = 3; + * * @param index The index of the value to return. * @return The bytes of the validNodeVersions at the given index. */ - com.google.protobuf.ByteString - getValidNodeVersionsBytes(int index); + com.google.protobuf.ByteString getValidNodeVersionsBytes(int index); /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The defaultImageType. */ java.lang.String getDefaultImageType(); /** + * + * *
    * Default image type.
    * 
* * string default_image_type = 4; + * * @return The bytes for defaultImageType. */ - com.google.protobuf.ByteString - getDefaultImageTypeBytes(); + com.google.protobuf.ByteString getDefaultImageTypeBytes(); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return A list containing the validImageTypes. */ - java.util.List - getValidImageTypesList(); + java.util.List getValidImageTypesList(); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @return The count of validImageTypes. */ int getValidImageTypesCount(); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the element to return. * @return The validImageTypes at the given index. */ java.lang.String getValidImageTypes(int index); /** + * + * *
    * List of valid image types.
    * 
* * repeated string valid_image_types = 5; + * * @param index The index of the value to return. * @return The bytes of the validImageTypes at the given index. */ - com.google.protobuf.ByteString - getValidImageTypesBytes(int index); + com.google.protobuf.ByteString getValidImageTypesBytes(int index); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return A list containing the validMasterVersions. */ - java.util.List - getValidMasterVersionsList(); + java.util.List getValidMasterVersionsList(); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @return The count of validMasterVersions. */ int getValidMasterVersionsCount(); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the element to return. * @return The validMasterVersions at the given index. */ java.lang.String getValidMasterVersions(int index); /** + * + * *
    * List of valid master versions, in descending order.
    * 
* * repeated string valid_master_versions = 6; + * * @param index The index of the value to return. * @return The bytes of the validMasterVersions at the given index. */ - com.google.protobuf.ByteString - getValidMasterVersionsBytes(int index); + com.google.protobuf.ByteString getValidMasterVersionsBytes(int index); /** + * + * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List - getChannelsList(); + java.util.List getChannelsList(); /** + * + * *
    * List of release channel configurations.
    * 
@@ -188,6 +247,8 @@ public interface ServerConfigOrBuilder extends */ com.google.container.v1beta1.ServerConfig.ReleaseChannelConfig getChannels(int index); /** + * + * *
    * List of release channel configurations.
    * 
@@ -196,15 +257,19 @@ public interface ServerConfigOrBuilder extends */ int getChannelsCount(); /** + * + * *
    * List of release channel configurations.
    * 
* * repeated .google.container.v1beta1.ServerConfig.ReleaseChannelConfig channels = 9; */ - java.util.List + java.util.List getChannelsOrBuilderList(); /** + * + * *
    * List of release channel configurations.
    * 
@@ -215,58 +280,68 @@ com.google.container.v1beta1.ServerConfig.ReleaseChannelConfigOrBuilder getChann int index); /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ int getWindowsVersionMapsCount(); /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; - */ - boolean containsWindowsVersionMaps( - java.lang.String key); - /** - * Use {@link #getWindowsVersionMapsMap()} instead. + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ + boolean containsWindowsVersionMaps(java.lang.String key); + /** Use {@link #getWindowsVersionMapsMap()} instead. */ @java.lang.Deprecated java.util.Map - getWindowsVersionMaps(); + getWindowsVersionMaps(); /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ java.util.Map - getWindowsVersionMapsMap(); + getWindowsVersionMapsMap(); /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ /* nullable */ -com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( + com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrDefault( java.lang.String key, /* nullable */ -com.google.container.v1beta1.WindowsVersions defaultValue); + com.google.container.v1beta1.WindowsVersions defaultValue); /** + * + * *
    * Maps of Kubernetes version and supported Windows server versions.
    * 
* - * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * map<string, .google.container.v1beta1.WindowsVersions> windows_version_maps = 10; + * */ - - com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow( - java.lang.String key); + com.google.container.v1beta1.WindowsVersions getWindowsVersionMapsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java index 9d8725cd2935..fb710d4fe909 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfig.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Config to block services with externalIPs field.
  * 
* * Protobuf type {@code google.container.v1beta1.ServiceExternalIPsConfig} */ -public final class ServiceExternalIPsConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ServiceExternalIPsConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ServiceExternalIPsConfig) ServiceExternalIPsConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ServiceExternalIPsConfig.newBuilder() to construct. private ServiceExternalIPsConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ServiceExternalIPsConfig() { - } + + private ServiceExternalIPsConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServiceExternalIPsConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServiceExternalIPsConfig.class, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1beta1.ServiceExternalIPsConfig.class, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Services with ExternalIPs field are allowed or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ServiceExternalIPsConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ServiceExternalIPsConfig other = (com.google.container.v1beta1.ServiceExternalIPsConfig) obj; + com.google.container.v1beta1.ServiceExternalIPsConfig other = + (com.google.container.v1beta1.ServiceExternalIPsConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,143 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ServiceExternalIPsConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( 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.ServiceExternalIPsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ServiceExternalIPsConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ServiceExternalIPsConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.ServiceExternalIPsConfig prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.ServiceExternalIPsConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Config to block services with externalIPs field.
    * 
* * Protobuf type {@code google.container.v1beta1.ServiceExternalIPsConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ServiceExternalIPsConfig) com.google.container.v1beta1.ServiceExternalIPsConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ServiceExternalIPsConfig.class, com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); + com.google.container.v1beta1.ServiceExternalIPsConfig.class, + com.google.container.v1beta1.ServiceExternalIPsConfig.Builder.class); } // Construct using com.google.container.v1beta1.ServiceExternalIPsConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +287,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; } @java.lang.Override @@ -282,7 +308,8 @@ public com.google.container.v1beta1.ServiceExternalIPsConfig build() { @java.lang.Override public com.google.container.v1beta1.ServiceExternalIPsConfig buildPartial() { - com.google.container.v1beta1.ServiceExternalIPsConfig result = new com.google.container.v1beta1.ServiceExternalIPsConfig(this); + com.google.container.v1beta1.ServiceExternalIPsConfig result = + new com.google.container.v1beta1.ServiceExternalIPsConfig(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +319,39 @@ public com.google.container.v1beta1.ServiceExternalIPsConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ServiceExternalIPsConfig) { - return mergeFrom((com.google.container.v1beta1.ServiceExternalIPsConfig)other); + return mergeFrom((com.google.container.v1beta1.ServiceExternalIPsConfig) other); } else { super.mergeFrom(other); return this; @@ -331,7 +359,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ServiceExternalIPsConfig other) { - if (other == com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ServiceExternalIPsConfig.getDefaultInstance()) + return this; if (other.getEnabled() != false) { setEnabled(other.getEnabled()); } @@ -361,17 +390,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +413,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +430,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Services with ExternalIPs field are allowed or not.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +476,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ServiceExternalIPsConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ServiceExternalIPsConfig) private static final com.google.container.v1beta1.ServiceExternalIPsConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ServiceExternalIPsConfig(); } @@ -450,27 +490,27 @@ public static com.google.container.v1beta1.ServiceExternalIPsConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ServiceExternalIPsConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ServiceExternalIPsConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +525,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ServiceExternalIPsConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java new file mode 100644 index 000000000000..49036833d6d7 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ServiceExternalIPsConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServiceExternalIPsConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Services with ExternalIPs field are allowed or not.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequest.java index 6ff09a6058d5..400860352915 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetAddonsRequest sets the addons associated with the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetAddonsConfigRequest} */ -public final class SetAddonsConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetAddonsConfigRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetAddonsConfigRequest) SetAddonsConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetAddonsConfigRequest.newBuilder() to construct. private SetAddonsConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetAddonsConfigRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private SetAddonsConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetAddonsConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetAddonsConfigRequest.class, com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1beta1.SetAddonsConfigRequest.class, + com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,12 +254,17 @@ protected java.lang.Object newInstance( public static final int ADDONS_CONFIG_FIELD_NUMBER = 4; private com.google.container.v1beta1.AddonsConfig addonsConfig_; /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the addonsConfig field is set. */ @java.lang.Override @@ -229,25 +272,36 @@ public boolean hasAddonsConfig() { return addonsConfig_ != null; } /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The addonsConfig. */ @java.lang.Override public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { - return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { @@ -257,12 +311,15 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -271,30 +328,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -303,6 +360,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -314,8 +372,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -350,8 +407,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (addonsConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAddonsConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAddonsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -364,26 +420,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetAddonsConfigRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetAddonsConfigRequest other = (com.google.container.v1beta1.SetAddonsConfigRequest) obj; + com.google.container.v1beta1.SetAddonsConfigRequest other = + (com.google.container.v1beta1.SetAddonsConfigRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasAddonsConfig() != other.hasAddonsConfig()) return false; if (hasAddonsConfig()) { - if (!getAddonsConfig() - .equals(other.getAddonsConfig())) return false; + if (!getAddonsConfig().equals(other.getAddonsConfig())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -413,129 +465,135 @@ public int hashCode() { } public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetAddonsConfigRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( 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.SetAddonsConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetAddonsConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetAddonsConfigRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetAddonsConfigRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetAddonsConfigRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SetAddonsConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetAddonsRequest sets the addons associated with the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetAddonsConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetAddonsConfigRequest) com.google.container.v1beta1.SetAddonsConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetAddonsConfigRequest.class, com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); + com.google.container.v1beta1.SetAddonsConfigRequest.class, + com.google.container.v1beta1.SetAddonsConfigRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetAddonsConfigRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +615,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; } @java.lang.Override @@ -578,7 +636,8 @@ public com.google.container.v1beta1.SetAddonsConfigRequest build() { @java.lang.Override public com.google.container.v1beta1.SetAddonsConfigRequest buildPartial() { - com.google.container.v1beta1.SetAddonsConfigRequest result = new com.google.container.v1beta1.SetAddonsConfigRequest(this); + com.google.container.v1beta1.SetAddonsConfigRequest result = + new com.google.container.v1beta1.SetAddonsConfigRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -596,38 +655,39 @@ public com.google.container.v1beta1.SetAddonsConfigRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetAddonsConfigRequest) { - return mergeFrom((com.google.container.v1beta1.SetAddonsConfigRequest)other); + return mergeFrom((com.google.container.v1beta1.SetAddonsConfigRequest) other); } else { super.mergeFrom(other); return this; @@ -635,7 +695,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetAddonsConfigRequest other) { - if (other == com.google.container.v1beta1.SetAddonsConfigRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetAddonsConfigRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -681,39 +742,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getAddonsConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getAddonsConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -726,22 +791,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -750,24 +819,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -775,66 +847,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -842,6 +927,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -850,15 +937,16 @@ public Builder mergeFrom(
      * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -867,6 +955,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -875,17 +965,17 @@ public Builder mergeFrom(
      * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -893,6 +983,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -901,22 +993,25 @@ public Builder mergeFrom(
      * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -925,17 +1020,21 @@ public Builder mergeFrom(
      * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -944,18 +1043,19 @@ public Builder mergeFrom(
      * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -963,21 +1063,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -986,23 +1090,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1010,63 +1117,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1074,42 +1194,61 @@ public Builder mergeFrom( private com.google.container.v1beta1.AddonsConfig addonsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> addonsConfigBuilder_; + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder> + addonsConfigBuilder_; /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the addonsConfig field is set. */ public boolean hasAddonsConfig() { return addonsConfigBuilder_ != null || addonsConfig_ != null; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The addonsConfig. */ public com.google.container.v1beta1.AddonsConfig getAddonsConfig() { if (addonsConfigBuilder_ == null) { - return addonsConfig_ == null ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } else { return addonsConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAddonsConfig(com.google.container.v1beta1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { @@ -1125,12 +1264,16 @@ public Builder setAddonsConfig(com.google.container.v1beta1.AddonsConfig value) return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAddonsConfig( com.google.container.v1beta1.AddonsConfig.Builder builderForValue) { @@ -1144,18 +1287,24 @@ public Builder setAddonsConfig( return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value) { if (addonsConfigBuilder_ == null) { if (addonsConfig_ != null) { addonsConfig_ = - com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.AddonsConfig.newBuilder(addonsConfig_) + .mergeFrom(value) + .buildPartial(); } else { addonsConfig_ = value; } @@ -1167,12 +1316,16 @@ public Builder mergeAddonsConfig(com.google.container.v1beta1.AddonsConfig value return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAddonsConfig() { if (addonsConfigBuilder_ == null) { @@ -1186,51 +1339,67 @@ public Builder clearAddonsConfig() { return this; } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.AddonsConfig.Builder getAddonsConfigBuilder() { - + onChanged(); return getAddonsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { if (addonsConfigBuilder_ != null) { return addonsConfigBuilder_.getMessageOrBuilder(); } else { - return addonsConfig_ == null ? - com.google.container.v1beta1.AddonsConfig.getDefaultInstance() : addonsConfig_; + return addonsConfig_ == null + ? com.google.container.v1beta1.AddonsConfig.getDefaultInstance() + : addonsConfig_; } } /** + * + * *
      * Required. The desired configurations for the various addons available to run in the
      * cluster.
      * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder> + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder> getAddonsConfigFieldBuilder() { if (addonsConfigBuilder_ == null) { - addonsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.AddonsConfig, com.google.container.v1beta1.AddonsConfig.Builder, com.google.container.v1beta1.AddonsConfigOrBuilder>( - getAddonsConfig(), - getParentForChildren(), - isClean()); + addonsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.AddonsConfig, + com.google.container.v1beta1.AddonsConfig.Builder, + com.google.container.v1beta1.AddonsConfigOrBuilder>( + getAddonsConfig(), getParentForChildren(), isClean()); addonsConfig_ = null; } return addonsConfigBuilder_; @@ -1238,19 +1407,21 @@ public com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuild private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1259,21 +1430,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1281,64 +1453,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set addons.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1348,12 +1527,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetAddonsConfigRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetAddonsConfigRequest) private static final com.google.container.v1beta1.SetAddonsConfigRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetAddonsConfigRequest(); } @@ -1362,27 +1541,27 @@ public static com.google.container.v1beta1.SetAddonsConfigRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetAddonsConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetAddonsConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1397,6 +1576,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetAddonsConfigRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetAddonsConfigRequestOrBuilder.java index 68cbd1f6fe33..7016ee8c6207 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetAddonsConfigRequestOrBuilder extends +public interface SetAddonsConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetAddonsConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2698 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2698 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetAddonsConfigRequestOrBuilder extends
    * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,88 +89,117 @@ public interface SetAddonsConfigRequestOrBuilder extends
    * 
* * 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=2707 + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2707 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2714 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetAddonsConfigRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2714 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the addonsConfig field is set. */ boolean hasAddonsConfig(); /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The addonsConfig. */ com.google.container.v1beta1.AddonsConfig getAddonsConfig(); /** + * + * *
    * Required. The desired configurations for the various addons available to run in the
    * cluster.
    * 
* - * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.AddonsConfigOrBuilder getAddonsConfigOrBuilder(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set addons.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequest.java index 515cae3ca565..28d46f6e5d82 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
  * Engine cluster, which will in turn set them for Google Compute Engine
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.SetLabelsRequest}
  */
-public final class SetLabelsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SetLabelsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLabelsRequest)
     SetLabelsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SetLabelsRequest.newBuilder() to construct.
   private SetLabelsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SetLabelsRequest() {
     projectId_ = "";
     zone_ = "";
@@ -31,88 +49,95 @@ private SetLabelsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SetLabelsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 4:
         return internalGetResourceLabels();
       default:
-        throw new RuntimeException(
-            "Invalid map field number: " + number);
+        throw new RuntimeException("Invalid map field number: " + number);
     }
   }
+
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SetLabelsRequest.class, com.google.container.v1beta1.SetLabelsRequest.Builder.class);
+            com.google.container.v1beta1.SetLabelsRequest.class,
+            com.google.container.v1beta1.SetLabelsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -123,6 +148,8 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -131,24 +158,27 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -157,18 +187,18 @@ protected com.google.protobuf.MapField internalGetMapField(
    * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -179,48 +209,55 @@ protected com.google.protobuf.MapField internalGetMapField( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -229,21 +266,22 @@ protected com.google.protobuf.MapField internalGetMapField( } public static final int RESOURCE_LABELS_FIELD_NUMBER = 4; + private static final class ResourceLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); @@ -255,70 +293,77 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - @java.lang.Override - public boolean containsResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetResourceLabels().getMap().containsKey(key); } - /** - * Use {@link #getResourceLabelsMap()} instead. - */ + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - - public java.lang.String getResourceLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -328,6 +373,8 @@ public java.lang.String getResourceLabelsOrThrow( public static final int LABEL_FINGERPRINT_FIELD_NUMBER = 5; private volatile java.lang.Object labelFingerprint_; /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -338,6 +385,7 @@ public java.lang.String getResourceLabelsOrThrow(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The labelFingerprint. */ @java.lang.Override @@ -346,14 +394,15 @@ public java.lang.String getLabelFingerprint() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; } } /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -364,16 +413,15 @@ public java.lang.String getLabelFingerprint() {
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for labelFingerprint. */ @java.lang.Override - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -384,12 +432,15 @@ public java.lang.String getLabelFingerprint() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -398,30 +449,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -430,6 +481,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -441,8 +493,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -452,12 +503,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterId_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetResourceLabels(), - ResourceLabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetResourceLabels(), ResourceLabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, labelFingerprint_); } @@ -482,15 +529,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } - for (java.util.Map.Entry entry - : internalGetResourceLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - resourceLabels__ = ResourceLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, resourceLabels__); + for (java.util.Map.Entry entry : + internalGetResourceLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry resourceLabels__ = + ResourceLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, resourceLabels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(labelFingerprint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, labelFingerprint_); @@ -506,25 +553,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLabelsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLabelsRequest other = (com.google.container.v1beta1.SetLabelsRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!internalGetResourceLabels().equals( - other.internalGetResourceLabels())) return false; - if (!getLabelFingerprint() - .equals(other.getLabelFingerprint())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.SetLabelsRequest other = + (com.google.container.v1beta1.SetLabelsRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!internalGetResourceLabels().equals(other.internalGetResourceLabels())) return false; + if (!getLabelFingerprint().equals(other.getLabelFingerprint())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -555,97 +597,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.SetLabelsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLabelsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLabelsRequest parseFrom( 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.SetLabelsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.SetLabelsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLabelsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetLabelsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLabelsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetLabelsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLabelsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SetLabelsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
    * Engine cluster, which will in turn set them for Google Compute Engine
@@ -654,55 +703,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.SetLabelsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLabelsRequest)
       com.google.container.v1beta1.SetLabelsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           return internalGetResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
       switch (number) {
         case 4:
           return internalGetMutableResourceLabels();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SetLabelsRequest.class, com.google.container.v1beta1.SetLabelsRequest.Builder.class);
+              com.google.container.v1beta1.SetLabelsRequest.class,
+              com.google.container.v1beta1.SetLabelsRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SetLabelsRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -721,9 +767,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetLabelsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -742,7 +788,8 @@ public com.google.container.v1beta1.SetLabelsRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SetLabelsRequest buildPartial() {
-      com.google.container.v1beta1.SetLabelsRequest result = new com.google.container.v1beta1.SetLabelsRequest(this);
+      com.google.container.v1beta1.SetLabelsRequest result =
+          new com.google.container.v1beta1.SetLabelsRequest(this);
       int from_bitField0_ = bitField0_;
       result.projectId_ = projectId_;
       result.zone_ = zone_;
@@ -759,38 +806,39 @@ public com.google.container.v1beta1.SetLabelsRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SetLabelsRequest) {
-        return mergeFrom((com.google.container.v1beta1.SetLabelsRequest)other);
+        return mergeFrom((com.google.container.v1beta1.SetLabelsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -811,8 +859,7 @@ public Builder mergeFrom(com.google.container.v1beta1.SetLabelsRequest other) {
         clusterId_ = other.clusterId_;
         onChanged();
       }
-      internalGetMutableResourceLabels().mergeFrom(
-          other.internalGetResourceLabels());
+      internalGetMutableResourceLabels().mergeFrom(other.internalGetResourceLabels());
       if (!other.getLabelFingerprint().isEmpty()) {
         labelFingerprint_ = other.labelFingerprint_;
         onChanged();
@@ -847,45 +894,54 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              resourceLabels__ = input.readMessage(
-                  ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableResourceLabels().getMutableMap().put(
-                  resourceLabels__.getKey(), resourceLabels__.getValue());
-              break;
-            } // case 34
-            case 42: {
-              labelFingerprint_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 58: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry resourceLabels__ =
+                    input.readMessage(
+                        ResourceLabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableResourceLabels()
+                    .getMutableMap()
+                    .put(resourceLabels__.getKey(), resourceLabels__.getValue());
+                break;
+              } // case 34
+            case 42:
+              {
+                labelFingerprint_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 58:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -895,26 +951,31 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -923,24 +984,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -948,66 +1012,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1015,6 +1092,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1023,15 +1102,16 @@ public Builder mergeFrom(
      * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1040,6 +1120,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1048,17 +1130,17 @@ public Builder mergeFrom(
      * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -1066,6 +1148,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1074,22 +1158,25 @@ public Builder mergeFrom(
      * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1098,17 +1185,21 @@ public Builder mergeFrom(
      * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1117,18 +1208,19 @@ public Builder mergeFrom(
      * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1136,21 +1228,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1159,23 +1255,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1183,84 +1282,99 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> resourceLabels_; + private com.google.protobuf.MapField resourceLabels_; + private com.google.protobuf.MapField - internalGetResourceLabels() { + internalGetResourceLabels() { if (resourceLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( ResourceLabelsDefaultEntryHolder.defaultEntry); } return resourceLabels_; } + private com.google.protobuf.MapField - internalGetMutableResourceLabels() { - onChanged();; + internalGetMutableResourceLabels() { + onChanged(); + ; if (resourceLabels_ == null) { - resourceLabels_ = com.google.protobuf.MapField.newMapField( - ResourceLabelsDefaultEntryHolder.defaultEntry); + resourceLabels_ = + com.google.protobuf.MapField.newMapField(ResourceLabelsDefaultEntryHolder.defaultEntry); } if (!resourceLabels_.isMutable()) { resourceLabels_ = resourceLabels_.copy(); @@ -1272,70 +1386,81 @@ public int getResourceLabelsCount() { return internalGetResourceLabels().getMap().size(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - @java.lang.Override - public boolean containsResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetResourceLabels().getMap().containsKey(key); } - /** - * Use {@link #getResourceLabelsMap()} instead. - */ + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.lang.String getResourceLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - - public java.lang.String getResourceLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetResourceLabels().getMap(); + public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetResourceLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1343,69 +1468,74 @@ public java.lang.String getResourceLabelsOrThrow( } public Builder clearResourceLabels() { - internalGetMutableResourceLabels().getMutableMap() - .clear(); + internalGetMutableResourceLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - - public Builder removeResourceLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableResourceLabels().getMutableMap() - .remove(key); + public Builder removeResourceLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableResourceLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableResourceLabels() { + public java.util.Map getMutableResourceLabels() { return internalGetMutableResourceLabels().getMutableMap(); } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder putResourceLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putResourceLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableResourceLabels().getMutableMap() - .put(key, value); + internalGetMutableResourceLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Required. The labels to set for that cluster.
      * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - - public Builder putAllResourceLabels( - java.util.Map values) { - internalGetMutableResourceLabels().getMutableMap() - .putAll(values); + public Builder putAllResourceLabels(java.util.Map values) { + internalGetMutableResourceLabels().getMutableMap().putAll(values); return this; } private java.lang.Object labelFingerprint_ = ""; /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1416,13 +1546,13 @@ public Builder putAllResourceLabels(
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The labelFingerprint. */ public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); labelFingerprint_ = s; return s; @@ -1431,6 +1561,8 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1441,15 +1573,14 @@ public java.lang.String getLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for labelFingerprint. */ - public com.google.protobuf.ByteString - getLabelFingerprintBytes() { + public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); labelFingerprint_ = b; return b; } else { @@ -1457,6 +1588,8 @@ public java.lang.String getLabelFingerprint() { } } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1467,20 +1600,22 @@ public java.lang.String getLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprint( - java.lang.String value) { + public Builder setLabelFingerprint(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + labelFingerprint_ = value; onChanged(); return this; } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1491,15 +1626,18 @@ public Builder setLabelFingerprint(
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLabelFingerprint() { - + labelFingerprint_ = getDefaultInstance().getLabelFingerprint(); onChanged(); return this; } /** + * + * *
      * Required. The fingerprint of the previous set of labels for this resource,
      * used to detect conflicts. The fingerprint is initially generated by
@@ -1510,16 +1648,16 @@ public Builder clearLabelFingerprint() {
      * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for labelFingerprint to set. * @return This builder for chaining. */ - public Builder setLabelFingerprintBytes( - com.google.protobuf.ByteString value) { + public Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + labelFingerprint_ = value; onChanged(); return this; @@ -1527,19 +1665,21 @@ public Builder setLabelFingerprintBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1548,21 +1688,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1570,64 +1711,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set labels.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1637,12 +1785,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLabelsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLabelsRequest) private static final com.google.container.v1beta1.SetLabelsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLabelsRequest(); } @@ -1651,27 +1799,27 @@ public static com.google.container.v1beta1.SetLabelsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLabelsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLabelsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1686,6 +1834,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLabelsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLabelsRequestOrBuilder.java index fff5b6abbd35..3483d13f11cf 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetLabelsRequestOrBuilder extends +public interface SetLabelsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLabelsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4019 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4019 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetLabelsRequestOrBuilder extends
    * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,96 +89,116 @@ public interface SetLabelsRequestOrBuilder extends
    * 
* * 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=4028 + * + * @deprecated google.container.v1beta1.SetLabelsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4028 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4035 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLabelsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4035 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getResourceLabelsCount(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - boolean containsResourceLabels( - java.lang.String key); - /** - * Use {@link #getResourceLabelsMap()} instead. + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ + boolean containsResourceLabels(java.lang.String key); + /** Use {@link #getResourceLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getResourceLabels(); + java.util.Map getResourceLabels(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.Map - getResourceLabelsMap(); + java.util.Map getResourceLabelsMap(); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ /* nullable */ -java.lang.String getResourceLabelsOrDefault( + java.lang.String getResourceLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Required. The labels to set for that cluster.
    * 
* - * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - - java.lang.String getResourceLabelsOrThrow( - java.lang.String key); + java.lang.String getResourceLabelsOrThrow(java.lang.String key); /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -158,10 +209,13 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The labelFingerprint. */ java.lang.String getLabelFingerprint(); /** + * + * *
    * Required. The fingerprint of the previous set of labels for this resource,
    * used to detect conflicts. The fingerprint is initially generated by
@@ -172,30 +226,35 @@ java.lang.String getResourceLabelsOrThrow(
    * 
* * string label_fingerprint = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for labelFingerprint. */ - com.google.protobuf.ByteString - getLabelFingerprintBytes(); + com.google.protobuf.ByteString getLabelFingerprintBytes(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set labels.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequest.java index b5ea8d83ce4e..1f1046c485bf 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
  * a cluster.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.SetLegacyAbacRequest}
  */
-public final class SetLegacyAbacRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SetLegacyAbacRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLegacyAbacRequest)
     SetLegacyAbacRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SetLegacyAbacRequest.newBuilder() to construct.
   private SetLegacyAbacRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SetLegacyAbacRequest() {
     projectId_ = "";
     zone_ = "";
@@ -29,76 +47,84 @@ private SetLegacyAbacRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SetLegacyAbacRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SetLegacyAbacRequest.class, com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
+            com.google.container.v1beta1.SetLegacyAbacRequest.class,
+            com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,11 +255,14 @@ protected java.lang.Object newInstance( public static final int ENABLED_FIELD_NUMBER = 4; private boolean enabled_; /** + * + * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ @java.lang.Override @@ -232,12 +273,15 @@ public boolean getEnabled() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -246,30 +290,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -278,6 +322,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +334,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -325,8 +369,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, enabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -339,23 +382,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLegacyAbacRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLegacyAbacRequest other = (com.google.container.v1beta1.SetLegacyAbacRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (getEnabled() - != other.getEnabled()) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.SetLegacyAbacRequest other = + (com.google.container.v1beta1.SetLegacyAbacRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,8 +413,7 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -384,96 +422,103 @@ public int hashCode() { } public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLegacyAbacRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( 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.SetLegacyAbacRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLegacyAbacRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetLegacyAbacRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLegacyAbacRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLegacyAbacRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SetLegacyAbacRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
    * a cluster.
@@ -481,33 +526,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.SetLegacyAbacRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLegacyAbacRequest)
       com.google.container.v1beta1.SetLegacyAbacRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SetLegacyAbacRequest.class, com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
+              com.google.container.v1beta1.SetLegacyAbacRequest.class,
+              com.google.container.v1beta1.SetLegacyAbacRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SetLegacyAbacRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -525,9 +569,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor;
     }
 
     @java.lang.Override
@@ -546,7 +590,8 @@ public com.google.container.v1beta1.SetLegacyAbacRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SetLegacyAbacRequest buildPartial() {
-      com.google.container.v1beta1.SetLegacyAbacRequest result = new com.google.container.v1beta1.SetLegacyAbacRequest(this);
+      com.google.container.v1beta1.SetLegacyAbacRequest result =
+          new com.google.container.v1beta1.SetLegacyAbacRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -560,38 +605,39 @@ public com.google.container.v1beta1.SetLegacyAbacRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SetLegacyAbacRequest) {
-        return mergeFrom((com.google.container.v1beta1.SetLegacyAbacRequest)other);
+        return mergeFrom((com.google.container.v1beta1.SetLegacyAbacRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.SetLegacyAbacRequest other) {
-      if (other == com.google.container.v1beta1.SetLegacyAbacRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.SetLegacyAbacRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -645,37 +692,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              enabled_ = input.readBool();
+                break;
+              } // case 26
+            case 32:
+              {
+                enabled_ = input.readBool();
 
-              break;
-            } // case 32
-            case 50: {
-              name_ = input.readStringRequireUtf8();
+                break;
+              } // case 32
+            case 50:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -688,22 +741,26 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -712,24 +769,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -737,66 +797,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -804,6 +877,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -812,15 +887,16 @@ public Builder mergeFrom(
      * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -829,6 +905,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -837,17 +915,17 @@ public Builder mergeFrom(
      * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -855,6 +933,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -863,22 +943,25 @@ public Builder mergeFrom(
      * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -887,17 +970,21 @@ public Builder mergeFrom(
      * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -906,18 +993,19 @@ public Builder mergeFrom(
      * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -925,21 +1013,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -948,23 +1040,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -972,75 +1067,91 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ @java.lang.Override @@ -1048,30 +1159,36 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Required. Whether ABAC authorization will be enabled in the cluster.
      * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; @@ -1079,19 +1196,21 @@ public Builder clearEnabled() { private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1100,21 +1219,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1122,64 +1242,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set legacy
      * abac. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1316,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLegacyAbacRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLegacyAbacRequest) private static final com.google.container.v1beta1.SetLegacyAbacRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLegacyAbacRequest(); } @@ -1203,27 +1330,27 @@ public static com.google.container.v1beta1.SetLegacyAbacRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLegacyAbacRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLegacyAbacRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,6 +1365,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLegacyAbacRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLegacyAbacRequestOrBuilder.java index 0a7ebc0a908c..95223aa91787 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetLegacyAbacRequestOrBuilder extends +public interface SetLegacyAbacRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLegacyAbacRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4062 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4062 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetLegacyAbacRequestOrBuilder extends
    * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,68 +89,86 @@ public interface SetLegacyAbacRequestOrBuilder extends
    * 
* * 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=4071 + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4071 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4078 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLegacyAbacRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4078 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Whether ABAC authorization will be enabled in the cluster.
    * 
* * bool enabled = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set legacy
    * abac. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 71% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequest.java index ddebc04affa7..32aab5a6ec41 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetLocationsRequest sets the locations of the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetLocationsRequest} */ -public final class SetLocationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetLocationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLocationsRequest) SetLocationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetLocationsRequest.newBuilder() to construct. private SetLocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetLocationsRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private SetLocationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetLocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLocationsRequest.class, com.google.container.v1beta1.SetLocationsRequest.Builder.class); + com.google.container.v1beta1.SetLocationsRequest.class, + com.google.container.v1beta1.SetLocationsRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +255,8 @@ protected java.lang.Object newInstance( public static final int LOCATIONS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList locations_; /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -227,13 +267,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -244,12 +286,15 @@ protected java.lang.Object newInstance(
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -260,6 +305,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -267,6 +313,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -277,23 +325,26 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -302,30 +353,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -334,6 +385,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,8 +397,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -399,23 +450,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLocationsRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLocationsRequest other = (com.google.container.v1beta1.SetLocationsRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getLocationsList() - .equals(other.getLocationsList())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.SetLocationsRequest other = + (com.google.container.v1beta1.SetLocationsRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getLocationsList().equals(other.getLocationsList())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -444,130 +491,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.SetLocationsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( 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.SetLocationsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetLocationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLocationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetLocationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLocationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SetLocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLocationsRequest sets the locations of the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetLocationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLocationsRequest) com.google.container.v1beta1.SetLocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLocationsRequest.class, com.google.container.v1beta1.SetLocationsRequest.Builder.class); + com.google.container.v1beta1.SetLocationsRequest.class, + com.google.container.v1beta1.SetLocationsRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetLocationsRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +638,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; } @java.lang.Override @@ -606,7 +659,8 @@ public com.google.container.v1beta1.SetLocationsRequest build() { @java.lang.Override public com.google.container.v1beta1.SetLocationsRequest buildPartial() { - com.google.container.v1beta1.SetLocationsRequest result = new com.google.container.v1beta1.SetLocationsRequest(this); + com.google.container.v1beta1.SetLocationsRequest result = + new com.google.container.v1beta1.SetLocationsRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -625,38 +679,39 @@ public com.google.container.v1beta1.SetLocationsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetLocationsRequest) { - return mergeFrom((com.google.container.v1beta1.SetLocationsRequest)other); + return mergeFrom((com.google.container.v1beta1.SetLocationsRequest) other); } else { super.mergeFrom(other); return this; @@ -664,7 +719,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetLocationsRequest other) { - if (other == com.google.container.v1beta1.SetLocationsRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetLocationsRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -717,38 +773,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -758,26 +820,31 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -786,24 +853,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -811,66 +881,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -878,6 +961,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -886,15 +971,16 @@ public Builder mergeFrom(
      * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -903,6 +989,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -911,17 +999,17 @@ public Builder mergeFrom(
      * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -929,6 +1017,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -937,22 +1027,25 @@ public Builder mergeFrom(
      * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -961,17 +1054,21 @@ public Builder mergeFrom(
      * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -980,18 +1077,19 @@ public Builder mergeFrom(
      * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -999,21 +1097,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1022,23 +1124,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1046,76 +1151,93 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList locations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1126,13 +1248,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1143,12 +1267,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1159,6 +1286,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -1166,6 +1294,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1176,14 +1306,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1194,21 +1326,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1219,20 +1353,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1243,18 +1379,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1265,6 +1402,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -1274,6 +1412,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * Required. The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1284,15 +1424,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -1301,19 +1441,21 @@ public Builder addLocationsBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1322,21 +1464,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1344,64 +1487,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set locations.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1411,12 +1561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLocationsRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLocationsRequest) private static final com.google.container.v1beta1.SetLocationsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLocationsRequest(); } @@ -1425,27 +1575,27 @@ public static com.google.container.v1beta1.SetLocationsRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1460,6 +1610,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLocationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 73% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLocationsRequestOrBuilder.java index 67fe769f31c3..2226988dfa1f 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetLocationsRequestOrBuilder extends +public interface SetLocationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLocationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2733 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2733 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +89,52 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * 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=2742 + * + * @deprecated google.container.v1beta1.SetLocationsRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2742 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2749 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLocationsRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2749 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -102,11 +145,13 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,10 +162,13 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -131,11 +179,14 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * Required. The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,31 +197,36 @@ public interface SetLocationsRequestOrBuilder extends
    * 
* * repeated string locations = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set locations.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequest.java index 41909116317f..cb4cf5f1fbde 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetLoggingServiceRequest sets the logging service of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetLoggingServiceRequest} */ -public final class SetLoggingServiceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetLoggingServiceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetLoggingServiceRequest) SetLoggingServiceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetLoggingServiceRequest.newBuilder() to construct. private SetLoggingServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetLoggingServiceRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private SetLoggingServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetLoggingServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLoggingServiceRequest.class, com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1beta1.SetLoggingServiceRequest.class, + com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +255,8 @@ protected java.lang.Object newInstance( public static final int LOGGING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object loggingService_; /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -230,6 +270,7 @@ protected java.lang.Object newInstance(
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The loggingService. */ @java.lang.Override @@ -238,14 +279,15 @@ public java.lang.String getLoggingService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; } } /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -259,16 +301,15 @@ public java.lang.String getLoggingService() {
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for loggingService. */ @java.lang.Override - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -279,12 +320,15 @@ public java.lang.String getLoggingService() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -293,30 +337,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -325,6 +369,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +381,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -385,23 +429,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetLoggingServiceRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetLoggingServiceRequest other = (com.google.container.v1beta1.SetLoggingServiceRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getLoggingService() - .equals(other.getLoggingService())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.SetLoggingServiceRequest other = + (com.google.container.v1beta1.SetLoggingServiceRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getLoggingService().equals(other.getLoggingService())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -429,129 +469,136 @@ public int hashCode() { } public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetLoggingServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( 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.SetLoggingServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetLoggingServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetLoggingServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLoggingServiceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetLoggingServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetLoggingServiceRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.SetLoggingServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetLoggingServiceRequest sets the logging service of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetLoggingServiceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetLoggingServiceRequest) com.google.container.v1beta1.SetLoggingServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetLoggingServiceRequest.class, com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); + com.google.container.v1beta1.SetLoggingServiceRequest.class, + com.google.container.v1beta1.SetLoggingServiceRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetLoggingServiceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +616,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; } @java.lang.Override @@ -590,7 +637,8 @@ public com.google.container.v1beta1.SetLoggingServiceRequest build() { @java.lang.Override public com.google.container.v1beta1.SetLoggingServiceRequest buildPartial() { - com.google.container.v1beta1.SetLoggingServiceRequest result = new com.google.container.v1beta1.SetLoggingServiceRequest(this); + com.google.container.v1beta1.SetLoggingServiceRequest result = + new com.google.container.v1beta1.SetLoggingServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -604,38 +652,39 @@ public com.google.container.v1beta1.SetLoggingServiceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetLoggingServiceRequest) { - return mergeFrom((com.google.container.v1beta1.SetLoggingServiceRequest)other); + return mergeFrom((com.google.container.v1beta1.SetLoggingServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -643,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetLoggingServiceRequest other) { - if (other == com.google.container.v1beta1.SetLoggingServiceRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetLoggingServiceRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -690,37 +740,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - loggingService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + loggingService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -733,22 +789,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -757,24 +817,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -782,66 +845,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -849,6 +925,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -857,15 +935,16 @@ public Builder mergeFrom(
      * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -874,6 +953,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -882,17 +963,17 @@ public Builder mergeFrom(
      * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -900,6 +981,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -908,22 +991,25 @@ public Builder mergeFrom(
      * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -932,17 +1018,21 @@ public Builder mergeFrom(
      * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -951,18 +1041,19 @@ public Builder mergeFrom(
      * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -970,21 +1061,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -993,23 +1088,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1017,63 +1115,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1081,6 +1192,8 @@ public Builder mergeFrom( private java.lang.Object loggingService_ = ""; /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1094,13 +1207,13 @@ public Builder mergeFrom(
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The loggingService. */ public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); loggingService_ = s; return s; @@ -1109,6 +1222,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1122,15 +1237,14 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for loggingService. */ - public com.google.protobuf.ByteString - getLoggingServiceBytes() { + public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); loggingService_ = b; return b; } else { @@ -1138,6 +1252,8 @@ public java.lang.String getLoggingService() { } } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1151,20 +1267,22 @@ public java.lang.String getLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingService( - java.lang.String value) { + public Builder setLoggingService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + loggingService_ = value; onChanged(); return this; } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1178,15 +1296,18 @@ public Builder setLoggingService(
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLoggingService() { - + loggingService_ = getDefaultInstance().getLoggingService(); onChanged(); return this; } /** + * + * *
      * Required. The logging service the cluster should use to write logs.
      * Currently available options:
@@ -1200,16 +1321,16 @@ public Builder clearLoggingService() {
      * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for loggingService to set. * @return This builder for chaining. */ - public Builder setLoggingServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setLoggingServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + loggingService_ = value; onChanged(); return this; @@ -1217,19 +1338,21 @@ public Builder setLoggingServiceBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1238,21 +1361,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1260,64 +1384,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set logging.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1327,12 +1458,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetLoggingServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetLoggingServiceRequest) private static final com.google.container.v1beta1.SetLoggingServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetLoggingServiceRequest(); } @@ -1341,27 +1472,27 @@ public static com.google.container.v1beta1.SetLoggingServiceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetLoggingServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetLoggingServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1376,6 +1507,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetLoggingServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetLoggingServiceRequestOrBuilder.java index a89b6433adfd..e2b0469653d6 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetLoggingServiceRequestOrBuilder extends +public interface SetLoggingServiceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetLoggingServiceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2610 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2610 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +89,52 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * 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=2619 + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2619 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2626 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetLoggingServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2626 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -105,10 +148,13 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The loggingService. */ java.lang.String getLoggingService(); /** + * + * *
    * Required. The logging service the cluster should use to write logs.
    * Currently available options:
@@ -122,30 +168,35 @@ public interface SetLoggingServiceRequestOrBuilder extends
    * 
* * string logging_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for loggingService. */ - com.google.protobuf.ByteString - getLoggingServiceBytes(); + com.google.protobuf.ByteString getLoggingServiceBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set logging.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java index 8cac4b5040ef..893a73ea6184 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetMaintenancePolicyRequest} */ -public final class SetMaintenancePolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetMaintenancePolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetMaintenancePolicyRequest) SetMaintenancePolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetMaintenancePolicyRequest.newBuilder() to construct. private SetMaintenancePolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetMaintenancePolicyRequest() { projectId_ = ""; zone_ = ""; @@ -28,38 +46,42 @@ private SetMaintenancePolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetMaintenancePolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMaintenancePolicyRequest.class, com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1beta1.SetMaintenancePolicyRequest.class, + com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -68,30 +90,30 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -102,6 +124,8 @@ public java.lang.String getProjectId() { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -109,6 +133,7 @@ public java.lang.String getProjectId() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ @java.lang.Override @@ -117,14 +142,15 @@ public java.lang.String getZone() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -132,16 +158,15 @@ public java.lang.String getZone() {
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ @java.lang.Override - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -152,11 +177,14 @@ public java.lang.String getZone() { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -165,29 +193,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -198,12 +226,17 @@ public java.lang.String getClusterId() { public static final int MAINTENANCE_POLICY_FIELD_NUMBER = 4; private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maintenancePolicy field is set. */ @java.lang.Override @@ -211,25 +244,36 @@ public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maintenancePolicy. */ @java.lang.Override public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { - return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { @@ -239,6 +283,8 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -246,6 +292,7 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -254,14 +301,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -269,16 +317,15 @@ public java.lang.String getName() {
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -287,6 +334,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,8 +346,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -334,8 +381,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (maintenancePolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getMaintenancePolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getMaintenancePolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -348,26 +394,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetMaintenancePolicyRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetMaintenancePolicyRequest other = (com.google.container.v1beta1.SetMaintenancePolicyRequest) obj; + com.google.container.v1beta1.SetMaintenancePolicyRequest other = + (com.google.container.v1beta1.SetMaintenancePolicyRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasMaintenancePolicy() != other.hasMaintenancePolicy()) return false; if (hasMaintenancePolicy()) { - if (!getMaintenancePolicy() - .equals(other.getMaintenancePolicy())) return false; + if (!getMaintenancePolicy().equals(other.getMaintenancePolicy())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -397,129 +439,136 @@ public int hashCode() { } public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( 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.SetMaintenancePolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMaintenancePolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetMaintenancePolicyRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.SetMaintenancePolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetMaintenancePolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetMaintenancePolicyRequest) com.google.container.v1beta1.SetMaintenancePolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMaintenancePolicyRequest.class, com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); + com.google.container.v1beta1.SetMaintenancePolicyRequest.class, + com.google.container.v1beta1.SetMaintenancePolicyRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetMaintenancePolicyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -541,9 +590,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; } @java.lang.Override @@ -562,7 +611,8 @@ public com.google.container.v1beta1.SetMaintenancePolicyRequest build() { @java.lang.Override public com.google.container.v1beta1.SetMaintenancePolicyRequest buildPartial() { - com.google.container.v1beta1.SetMaintenancePolicyRequest result = new com.google.container.v1beta1.SetMaintenancePolicyRequest(this); + com.google.container.v1beta1.SetMaintenancePolicyRequest result = + new com.google.container.v1beta1.SetMaintenancePolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -580,38 +630,39 @@ public com.google.container.v1beta1.SetMaintenancePolicyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetMaintenancePolicyRequest) { - return mergeFrom((com.google.container.v1beta1.SetMaintenancePolicyRequest)other); + return mergeFrom((com.google.container.v1beta1.SetMaintenancePolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -619,7 +670,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetMaintenancePolicyRequest other) { - if (other == com.google.container.v1beta1.SetMaintenancePolicyRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetMaintenancePolicyRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -665,39 +717,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getMaintenancePolicyFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage( + getMaintenancePolicyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -710,19 +767,21 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -731,21 +790,22 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -753,57 +813,64 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { - + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -811,6 +878,8 @@ public Builder setProjectIdBytes( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -818,13 +887,13 @@ public Builder setProjectIdBytes(
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -833,6 +902,8 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -840,15 +911,14 @@ public java.lang.String getZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ - public com.google.protobuf.ByteString - getZoneBytes() { + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -856,6 +926,8 @@ public java.lang.String getZone() { } } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -863,20 +935,22 @@ public java.lang.String getZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The zone to set. * @return This builder for chaining. */ - public Builder setZone( - java.lang.String value) { + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -884,15 +958,18 @@ public Builder setZone(
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearZone() { - + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -900,16 +977,16 @@ public Builder clearZone() {
      * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for zone to set. * @return This builder for chaining. */ - public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -917,18 +994,20 @@ public Builder setZoneBytes( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -937,20 +1016,21 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString - getClusterIdBytes() { + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -958,54 +1038,61 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId( - java.lang.String value) { + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. The name of the cluster to update.
      * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1013,42 +1100,61 @@ public Builder setClusterIdBytes( private com.google.container.v1beta1.MaintenancePolicy maintenancePolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> maintenancePolicyBuilder_; + com.google.container.v1beta1.MaintenancePolicy, + com.google.container.v1beta1.MaintenancePolicy.Builder, + com.google.container.v1beta1.MaintenancePolicyOrBuilder> + maintenancePolicyBuilder_; /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maintenancePolicy field is set. */ public boolean hasMaintenancePolicy() { return maintenancePolicyBuilder_ != null || maintenancePolicy_ != null; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maintenancePolicy. */ public com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { - return maintenancePolicy_ == null ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } else { return maintenancePolicyBuilder_.getMessage(); } } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaintenancePolicy(com.google.container.v1beta1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { @@ -1064,12 +1170,16 @@ public Builder setMaintenancePolicy(com.google.container.v1beta1.MaintenancePoli return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setMaintenancePolicy( com.google.container.v1beta1.MaintenancePolicy.Builder builderForValue) { @@ -1083,18 +1193,24 @@ public Builder setMaintenancePolicy( return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePolicy value) { if (maintenancePolicyBuilder_ == null) { if (maintenancePolicy_ != null) { maintenancePolicy_ = - com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MaintenancePolicy.newBuilder(maintenancePolicy_) + .mergeFrom(value) + .buildPartial(); } else { maintenancePolicy_ = value; } @@ -1106,12 +1222,16 @@ public Builder mergeMaintenancePolicy(com.google.container.v1beta1.MaintenancePo return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearMaintenancePolicy() { if (maintenancePolicyBuilder_ == null) { @@ -1125,51 +1245,67 @@ public Builder clearMaintenancePolicy() { return this; } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.MaintenancePolicy.Builder getMaintenancePolicyBuilder() { - + onChanged(); return getMaintenancePolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { if (maintenancePolicyBuilder_ != null) { return maintenancePolicyBuilder_.getMessageOrBuilder(); } else { - return maintenancePolicy_ == null ? - com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() : maintenancePolicy_; + return maintenancePolicy_ == null + ? com.google.container.v1beta1.MaintenancePolicy.getDefaultInstance() + : maintenancePolicy_; } } /** + * + * *
      * Required. The maintenance policy to be set for the cluster. An empty field
      * clears the existing maintenance policy.
      * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder> + com.google.container.v1beta1.MaintenancePolicy, + com.google.container.v1beta1.MaintenancePolicy.Builder, + com.google.container.v1beta1.MaintenancePolicyOrBuilder> getMaintenancePolicyFieldBuilder() { if (maintenancePolicyBuilder_ == null) { - maintenancePolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenancePolicy, com.google.container.v1beta1.MaintenancePolicy.Builder, com.google.container.v1beta1.MaintenancePolicyOrBuilder>( - getMaintenancePolicy(), - getParentForChildren(), - isClean()); + maintenancePolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenancePolicy, + com.google.container.v1beta1.MaintenancePolicy.Builder, + com.google.container.v1beta1.MaintenancePolicyOrBuilder>( + getMaintenancePolicy(), getParentForChildren(), isClean()); maintenancePolicy_ = null; } return maintenancePolicyBuilder_; @@ -1177,6 +1313,8 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1184,13 +1322,13 @@ public com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePol
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1199,6 +1337,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1206,15 +1346,14 @@ public java.lang.String getName() {
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1222,6 +1361,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1229,20 +1370,22 @@ public java.lang.String getName() {
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1250,15 +1393,18 @@ public Builder setName(
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set
      * maintenance policy.
@@ -1266,23 +1412,23 @@ public Builder clearName() {
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1292,12 +1438,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetMaintenancePolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMaintenancePolicyRequest) private static final com.google.container.v1beta1.SetMaintenancePolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetMaintenancePolicyRequest(); } @@ -1306,27 +1452,27 @@ public static com.google.container.v1beta1.SetMaintenancePolicyRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMaintenancePolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMaintenancePolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1341,6 +1487,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.SetMaintenancePolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java index 82de8903fe2f..58bf29feaf88 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMaintenancePolicyRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface SetMaintenancePolicyRequestOrBuilder extends +public interface SetMaintenancePolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetMaintenancePolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -37,10 +60,13 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The zone. */ java.lang.String getZone(); /** + * + * *
    * Required. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -48,62 +74,83 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string zone = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for zone. */ - com.google.protobuf.ByteString - getZoneBytes(); + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ java.lang.String getClusterId(); /** + * + * *
    * Required. The name of the cluster to update.
    * 
* * string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString - getClusterIdBytes(); + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the maintenancePolicy field is set. */ boolean hasMaintenancePolicy(); /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The maintenancePolicy. */ com.google.container.v1beta1.MaintenancePolicy getMaintenancePolicy(); /** + * + * *
    * Required. The maintenance policy to be set for the cluster. An empty field
    * clears the existing maintenance policy.
    * 
* - * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -111,10 +158,13 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set
    * maintenance policy.
@@ -122,8 +172,8 @@ public interface SetMaintenancePolicyRequestOrBuilder extends
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequest.java index 06a2d9321ac6..767a1d31904c 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetMasterAuthRequest updates the admin password of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetMasterAuthRequest} */ -public final class SetMasterAuthRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetMasterAuthRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetMasterAuthRequest) SetMasterAuthRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetMasterAuthRequest.newBuilder() to construct. private SetMasterAuthRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetMasterAuthRequest() { projectId_ = ""; zone_ = ""; @@ -29,39 +47,43 @@ private SetMasterAuthRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetMasterAuthRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMasterAuthRequest.class, com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); + com.google.container.v1beta1.SetMasterAuthRequest.class, + com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); } /** + * + * *
    * Operation type: what type update to perform.
    * 
* * Protobuf enum {@code google.container.v1beta1.SetMasterAuthRequest.Action} */ - public enum Action - implements com.google.protobuf.ProtocolMessageEnum { + public enum Action implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Operation is unknown and will error out.
      * 
@@ -70,6 +92,8 @@ public enum Action */ UNKNOWN(0), /** + * + * *
      * Set the password to a user generated value.
      * 
@@ -78,6 +102,8 @@ public enum Action */ SET_PASSWORD(1), /** + * + * *
      * Generate a new password and set it to that.
      * 
@@ -86,6 +112,8 @@ public enum Action */ GENERATE_PASSWORD(2), /** + * + * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -100,6 +128,8 @@ public enum Action
     ;
 
     /**
+     *
+     *
      * 
      * Operation is unknown and will error out.
      * 
@@ -108,6 +138,8 @@ public enum Action */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * Set the password to a user generated value.
      * 
@@ -116,6 +148,8 @@ public enum Action */ public static final int SET_PASSWORD_VALUE = 1; /** + * + * *
      * Generate a new password and set it to that.
      * 
@@ -124,6 +158,8 @@ public enum Action */ public static final int GENERATE_PASSWORD_VALUE = 2; /** + * + * *
      * Set the username.  If an empty username is provided, basic authentication
      * is disabled for the cluster.  If a non-empty username is provided, basic
@@ -135,7 +171,6 @@ public enum Action
      */
     public static final int SET_USERNAME_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -160,50 +195,53 @@ public static Action valueOf(int value) {
      */
     public static Action forNumber(int value) {
       switch (value) {
-        case 0: return UNKNOWN;
-        case 1: return SET_PASSWORD;
-        case 2: return GENERATE_PASSWORD;
-        case 3: return SET_USERNAME;
-        default: return null;
+        case 0:
+          return UNKNOWN;
+        case 1:
+          return SET_PASSWORD;
+        case 2:
+          return GENERATE_PASSWORD;
+        case 3:
+          return SET_USERNAME;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Action> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Action findValueByNumber(int number) {
-              return Action.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Action findValueByNumber(int number) {
+            return Action.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.SetMasterAuthRequest.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.container.v1beta1.SetMasterAuthRequest.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Action[] VALUES = values();
 
-    public static Action valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -223,50 +261,57 @@ private Action(int value) {
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -277,6 +322,8 @@ private Action(int value) { public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -285,24 +332,27 @@ private Action(int 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -311,18 +361,18 @@ private Action(int 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -333,48 +383,55 @@ private Action(int value) { public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -385,38 +442,58 @@ private Action(int value) { public static final int ACTION_FIELD_NUMBER = 4; private int action_; /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The action. */ - @java.lang.Override public com.google.container.v1beta1.SetMasterAuthRequest.Action getAction() { + @java.lang.Override + public com.google.container.v1beta1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SetMasterAuthRequest.Action result = com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; + com.google.container.v1beta1.SetMasterAuthRequest.Action result = + com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null + ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED + : result; } public static final int UPDATE_FIELD_NUMBER = 5; private com.google.container.v1beta1.MasterAuth update_; /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ @java.lang.Override @@ -424,11 +501,16 @@ public boolean hasUpdate() { return update_ != null; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ @java.lang.Override @@ -436,11 +518,15 @@ public com.google.container.v1beta1.MasterAuth getUpdate() { return update_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : update_; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { @@ -450,12 +536,15 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -464,30 +553,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -496,6 +585,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,8 +597,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -546,12 +635,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (action_ != com.google.container.v1beta1.SetMasterAuthRequest.Action.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, action_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, action_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -564,27 +651,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetMasterAuthRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetMasterAuthRequest other = (com.google.container.v1beta1.SetMasterAuthRequest) obj; + com.google.container.v1beta1.SetMasterAuthRequest other = + (com.google.container.v1beta1.SetMasterAuthRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (action_ != other.action_) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate() - .equals(other.getUpdate())) return false; + if (!getUpdate().equals(other.getUpdate())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -616,129 +699,135 @@ public int hashCode() { } public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMasterAuthRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( 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.SetMasterAuthRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetMasterAuthRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetMasterAuthRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMasterAuthRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMasterAuthRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SetMasterAuthRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetMasterAuthRequest updates the admin password of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetMasterAuthRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetMasterAuthRequest) com.google.container.v1beta1.SetMasterAuthRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMasterAuthRequest.class, com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); + com.google.container.v1beta1.SetMasterAuthRequest.class, + com.google.container.v1beta1.SetMasterAuthRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetMasterAuthRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -762,9 +851,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; } @java.lang.Override @@ -783,7 +872,8 @@ public com.google.container.v1beta1.SetMasterAuthRequest build() { @java.lang.Override public com.google.container.v1beta1.SetMasterAuthRequest buildPartial() { - com.google.container.v1beta1.SetMasterAuthRequest result = new com.google.container.v1beta1.SetMasterAuthRequest(this); + com.google.container.v1beta1.SetMasterAuthRequest result = + new com.google.container.v1beta1.SetMasterAuthRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -802,38 +892,39 @@ public com.google.container.v1beta1.SetMasterAuthRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetMasterAuthRequest) { - return mergeFrom((com.google.container.v1beta1.SetMasterAuthRequest)other); + return mergeFrom((com.google.container.v1beta1.SetMasterAuthRequest) other); } else { super.mergeFrom(other); return this; @@ -841,7 +932,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetMasterAuthRequest other) { - if (other == com.google.container.v1beta1.SetMasterAuthRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetMasterAuthRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -890,44 +982,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: { - action_ = input.readEnum(); - - break; - } // case 32 - case 42: { - input.readMessage( - getUpdateFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 58: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: + { + action_ = input.readEnum(); + + break; + } // case 32 + case 42: + { + input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 58: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -940,22 +1037,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -964,24 +1065,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -989,66 +1093,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -1056,6 +1173,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1064,15 +1183,16 @@ public Builder mergeFrom(
      * 
* * 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -1081,6 +1201,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1089,17 +1211,17 @@ public Builder mergeFrom(
      * 
* * 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -1107,6 +1229,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1115,22 +1239,25 @@ public Builder mergeFrom(
      * 
* * 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1139,17 +1266,21 @@ public Builder mergeFrom(
      * 
* * 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1158,18 +1289,19 @@ public Builder mergeFrom(
      * 
* * 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1177,21 +1309,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1200,23 +1336,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1224,63 +1363,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1288,51 +1440,75 @@ public Builder mergeFrom( private int action_ = 0; /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for action. */ - @java.lang.Override public int getActionValue() { + @java.lang.Override + public int getActionValue() { return action_; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for action to set. * @return This builder for chaining. */ public Builder setActionValue(int value) { - + action_ = value; onChanged(); return this; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The action. */ @java.lang.Override public com.google.container.v1beta1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.SetMasterAuthRequest.Action result = com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); - return result == null ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED : result; + com.google.container.v1beta1.SetMasterAuthRequest.Action result = + com.google.container.v1beta1.SetMasterAuthRequest.Action.valueOf(action_); + return result == null + ? com.google.container.v1beta1.SetMasterAuthRequest.Action.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The action to set. * @return This builder for chaining. */ @@ -1340,21 +1516,26 @@ public Builder setAction(com.google.container.v1beta1.SetMasterAuthRequest.Actio if (value == null) { throw new NullPointerException(); } - + action_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The exact form of action to be taken on the master auth.
      * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearAction() { - + action_ = 0; onChanged(); return this; @@ -1362,39 +1543,58 @@ public Builder clearAction() { private com.google.container.v1beta1.MasterAuth update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> updateBuilder_; + com.google.container.v1beta1.MasterAuth, + com.google.container.v1beta1.MasterAuth.Builder, + com.google.container.v1beta1.MasterAuthOrBuilder> + updateBuilder_; /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ public com.google.container.v1beta1.MasterAuth getUpdate() { if (updateBuilder_ == null) { - return update_ == null ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() : update_; + return update_ == null + ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() + : update_; } else { return updateBuilder_.getMessage(); } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdate(com.google.container.v1beta1.MasterAuth value) { if (updateBuilder_ == null) { @@ -1410,14 +1610,17 @@ public Builder setUpdate(com.google.container.v1beta1.MasterAuth value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdate( - com.google.container.v1beta1.MasterAuth.Builder builderForValue) { + public Builder setUpdate(com.google.container.v1beta1.MasterAuth.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1428,17 +1631,23 @@ public Builder setUpdate( return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdate(com.google.container.v1beta1.MasterAuth value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1beta1.MasterAuth.newBuilder(update_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.MasterAuth.newBuilder(update_) + .mergeFrom(value) + .buildPartial(); } else { update_ = value; } @@ -1450,11 +1659,15 @@ public Builder mergeUpdate(com.google.container.v1beta1.MasterAuth value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1468,48 +1681,64 @@ public Builder clearUpdate() { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.MasterAuth.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null ? - com.google.container.v1beta1.MasterAuth.getDefaultInstance() : update_; + return update_ == null + ? com.google.container.v1beta1.MasterAuth.getDefaultInstance() + : update_; } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder> + com.google.container.v1beta1.MasterAuth, + com.google.container.v1beta1.MasterAuth.Builder, + com.google.container.v1beta1.MasterAuthOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MasterAuth, com.google.container.v1beta1.MasterAuth.Builder, com.google.container.v1beta1.MasterAuthOrBuilder>( - getUpdate(), - getParentForChildren(), - isClean()); + updateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MasterAuth, + com.google.container.v1beta1.MasterAuth.Builder, + com.google.container.v1beta1.MasterAuthOrBuilder>( + getUpdate(), getParentForChildren(), isClean()); update_ = null; } return updateBuilder_; @@ -1517,19 +1746,21 @@ public com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1538,21 +1769,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1560,64 +1792,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set auth.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1627,12 +1866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetMasterAuthRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMasterAuthRequest) private static final com.google.container.v1beta1.SetMasterAuthRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetMasterAuthRequest(); } @@ -1641,27 +1880,27 @@ public static com.google.container.v1beta1.SetMasterAuthRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMasterAuthRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMasterAuthRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1676,6 +1915,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetMasterAuthRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMasterAuthRequestOrBuilder.java index 5d1612224e62..15b82207e79d 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetMasterAuthRequestOrBuilder extends +public interface SetMasterAuthRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetMasterAuthRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2834 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2834 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetMasterAuthRequestOrBuilder extends
    * 
* * 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,104 +89,143 @@ public interface SetMasterAuthRequestOrBuilder extends
    * 
* * 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=2843 + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2843 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2850 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2850 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for action. */ int getActionValue(); /** + * + * *
    * Required. The exact form of action to be taken on the master auth.
    * 
* - * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The action. */ com.google.container.v1beta1.SetMasterAuthRequest.Action getAction(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ com.google.container.v1beta1.MasterAuth getUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.MasterAuthOrBuilder getUpdateOrBuilder(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set auth.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 72% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequest.java index 01e46bd97fd1..d19ccaa4ae63 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetMonitoringServiceRequest sets the monitoring service of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetMonitoringServiceRequest} */ -public final class SetMonitoringServiceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetMonitoringServiceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetMonitoringServiceRequest) SetMonitoringServiceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetMonitoringServiceRequest.newBuilder() to construct. private SetMonitoringServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetMonitoringServiceRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private SetMonitoringServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetMonitoringServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMonitoringServiceRequest.class, com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1beta1.SetMonitoringServiceRequest.class, + com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2654 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2654 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2654 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2670 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2670 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2670 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2670 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +255,8 @@ protected java.lang.Object newInstance( public static final int MONITORING_SERVICE_FIELD_NUMBER = 4; private volatile java.lang.Object monitoringService_; /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -230,6 +270,7 @@ protected java.lang.Object newInstance(
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monitoringService. */ @java.lang.Override @@ -238,14 +279,15 @@ public java.lang.String getMonitoringService() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; } } /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -259,16 +301,15 @@ public java.lang.String getMonitoringService() {
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for monitoringService. */ @java.lang.Override - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -279,12 +320,15 @@ public java.lang.String getMonitoringService() { public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -293,30 +337,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -325,6 +369,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,8 +381,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -385,23 +429,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetMonitoringServiceRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetMonitoringServiceRequest other = (com.google.container.v1beta1.SetMonitoringServiceRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getMonitoringService() - .equals(other.getMonitoringService())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.SetMonitoringServiceRequest other = + (com.google.container.v1beta1.SetMonitoringServiceRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getMonitoringService().equals(other.getMonitoringService())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -429,129 +469,136 @@ public int hashCode() { } public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetMonitoringServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( 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.SetMonitoringServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetMonitoringServiceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetMonitoringServiceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetMonitoringServiceRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.SetMonitoringServiceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetMonitoringServiceRequest sets the monitoring service of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetMonitoringServiceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetMonitoringServiceRequest) com.google.container.v1beta1.SetMonitoringServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetMonitoringServiceRequest.class, com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); + com.google.container.v1beta1.SetMonitoringServiceRequest.class, + com.google.container.v1beta1.SetMonitoringServiceRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetMonitoringServiceRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -569,9 +616,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; } @java.lang.Override @@ -590,7 +637,8 @@ public com.google.container.v1beta1.SetMonitoringServiceRequest build() { @java.lang.Override public com.google.container.v1beta1.SetMonitoringServiceRequest buildPartial() { - com.google.container.v1beta1.SetMonitoringServiceRequest result = new com.google.container.v1beta1.SetMonitoringServiceRequest(this); + com.google.container.v1beta1.SetMonitoringServiceRequest result = + new com.google.container.v1beta1.SetMonitoringServiceRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -604,38 +652,39 @@ public com.google.container.v1beta1.SetMonitoringServiceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetMonitoringServiceRequest) { - return mergeFrom((com.google.container.v1beta1.SetMonitoringServiceRequest)other); + return mergeFrom((com.google.container.v1beta1.SetMonitoringServiceRequest) other); } else { super.mergeFrom(other); return this; @@ -643,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetMonitoringServiceRequest other) { - if (other == com.google.container.v1beta1.SetMonitoringServiceRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetMonitoringServiceRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -690,37 +740,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - monitoringService_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + monitoringService_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -733,22 +789,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -757,24 +817,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -782,66 +845,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2654 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2654 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -849,6 +925,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -857,15 +935,16 @@ public Builder mergeFrom(
      * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -874,6 +953,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -882,17 +963,17 @@ public Builder mergeFrom(
      * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -900,6 +981,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -908,22 +991,25 @@ public Builder mergeFrom(
      * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -932,17 +1018,21 @@ public Builder mergeFrom(
      * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -951,18 +1041,19 @@ public Builder mergeFrom(
      * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -970,21 +1061,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -993,23 +1088,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2670 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1017,63 +1115,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2670 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2670 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2670 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1081,6 +1192,8 @@ public Builder mergeFrom( private java.lang.Object monitoringService_ = ""; /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1094,13 +1207,13 @@ public Builder mergeFrom(
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monitoringService. */ public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); monitoringService_ = s; return s; @@ -1109,6 +1222,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1122,15 +1237,14 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for monitoringService. */ - public com.google.protobuf.ByteString - getMonitoringServiceBytes() { + public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); monitoringService_ = b; return b; } else { @@ -1138,6 +1252,8 @@ public java.lang.String getMonitoringService() { } } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1151,20 +1267,22 @@ public java.lang.String getMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringService( - java.lang.String value) { + public Builder setMonitoringService(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + monitoringService_ = value; onChanged(); return this; } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1178,15 +1296,18 @@ public Builder setMonitoringService(
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMonitoringService() { - + monitoringService_ = getDefaultInstance().getMonitoringService(); onChanged(); return this; } /** + * + * *
      * Required. The monitoring service the cluster should use to write metrics.
      * Currently available options:
@@ -1200,16 +1321,16 @@ public Builder clearMonitoringService() {
      * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for monitoringService to set. * @return This builder for chaining. */ - public Builder setMonitoringServiceBytes( - com.google.protobuf.ByteString value) { + public Builder setMonitoringServiceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + monitoringService_ = value; onChanged(); return this; @@ -1217,19 +1338,21 @@ public Builder setMonitoringServiceBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1238,21 +1361,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1260,64 +1384,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to set monitoring.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1327,12 +1458,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetMonitoringServiceRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetMonitoringServiceRequest) private static final com.google.container.v1beta1.SetMonitoringServiceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetMonitoringServiceRequest(); } @@ -1341,27 +1472,27 @@ public static com.google.container.v1beta1.SetMonitoringServiceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetMonitoringServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetMonitoringServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1376,6 +1507,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.container.v1beta1.SetMonitoringServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetMonitoringServiceRequestOrBuilder.java index a228101c1c78..72ab1fb9450d 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetMonitoringServiceRequestOrBuilder extends +public interface SetMonitoringServiceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetMonitoringServiceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2654 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2654 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2654 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2654 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +89,52 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * 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=2663 + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2663 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2670 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2670 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2670 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetMonitoringServiceRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2670 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -105,10 +148,13 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The monitoringService. */ java.lang.String getMonitoringService(); /** + * + * *
    * Required. The monitoring service the cluster should use to write metrics.
    * Currently available options:
@@ -122,30 +168,35 @@ public interface SetMonitoringServiceRequestOrBuilder extends
    * 
* * string monitoring_service = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for monitoringService. */ - com.google.protobuf.ByteString - getMonitoringServiceBytes(); + com.google.protobuf.ByteString getMonitoringServiceBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to set monitoring.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequest.java index 3e6fa5bc0ae1..7862847b3c12 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetNetworkPolicyRequest enables/disables network policy for a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.SetNetworkPolicyRequest} */ -public final class SetNetworkPolicyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetNetworkPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNetworkPolicyRequest) SetNetworkPolicyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetNetworkPolicyRequest.newBuilder() to construct. private SetNetworkPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetNetworkPolicyRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private SetNetworkPolicyRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetNetworkPolicyRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNetworkPolicyRequest.class, com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1beta1.SetNetworkPolicyRequest.class, + com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,11 +254,16 @@ protected java.lang.Object newInstance( public static final int NETWORK_POLICY_FIELD_NUMBER = 4; private com.google.container.v1beta1.NetworkPolicy networkPolicy_; /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networkPolicy field is set. */ @java.lang.Override @@ -228,23 +271,34 @@ public boolean hasNetworkPolicy() { return networkPolicy_ != null; } /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networkPolicy. */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { - return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { @@ -254,12 +308,15 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -268,30 +325,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -300,6 +357,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +369,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -347,8 +404,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (networkPolicy_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getNetworkPolicy()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getNetworkPolicy()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -361,26 +417,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNetworkPolicyRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNetworkPolicyRequest other = (com.google.container.v1beta1.SetNetworkPolicyRequest) obj; + com.google.container.v1beta1.SetNetworkPolicyRequest other = + (com.google.container.v1beta1.SetNetworkPolicyRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasNetworkPolicy() != other.hasNetworkPolicy()) return false; if (hasNetworkPolicy()) { - if (!getNetworkPolicy() - .equals(other.getNetworkPolicy())) return false; + if (!getNetworkPolicy().equals(other.getNetworkPolicy())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -410,129 +462,135 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNetworkPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( 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.SetNetworkPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNetworkPolicyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNetworkPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SetNetworkPolicyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNetworkPolicyRequest enables/disables network policy for a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.SetNetworkPolicyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNetworkPolicyRequest) com.google.container.v1beta1.SetNetworkPolicyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNetworkPolicyRequest.class, com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); + com.google.container.v1beta1.SetNetworkPolicyRequest.class, + com.google.container.v1beta1.SetNetworkPolicyRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetNetworkPolicyRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +612,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; } @java.lang.Override @@ -575,7 +633,8 @@ public com.google.container.v1beta1.SetNetworkPolicyRequest build() { @java.lang.Override public com.google.container.v1beta1.SetNetworkPolicyRequest buildPartial() { - com.google.container.v1beta1.SetNetworkPolicyRequest result = new com.google.container.v1beta1.SetNetworkPolicyRequest(this); + com.google.container.v1beta1.SetNetworkPolicyRequest result = + new com.google.container.v1beta1.SetNetworkPolicyRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -593,38 +652,39 @@ public com.google.container.v1beta1.SetNetworkPolicyRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetNetworkPolicyRequest) { - return mergeFrom((com.google.container.v1beta1.SetNetworkPolicyRequest)other); + return mergeFrom((com.google.container.v1beta1.SetNetworkPolicyRequest) other); } else { super.mergeFrom(other); return this; @@ -632,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetNetworkPolicyRequest other) { - if (other == com.google.container.v1beta1.SetNetworkPolicyRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetNetworkPolicyRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -678,39 +739,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getNetworkPolicyFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getNetworkPolicyFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 50: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 50: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -723,22 +788,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -747,24 +816,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -772,66 +844,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -839,6 +924,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,15 +934,16 @@ public Builder mergeFrom(
      * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,6 +952,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -872,17 +962,17 @@ public Builder mergeFrom(
      * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -890,6 +980,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -898,22 +990,25 @@ public Builder mergeFrom(
      * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -922,17 +1017,21 @@ public Builder mergeFrom(
      * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -941,18 +1040,19 @@ public Builder mergeFrom(
      * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -960,21 +1060,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -983,23 +1087,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1007,63 +1114,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1071,39 +1191,58 @@ public Builder mergeFrom( private com.google.container.v1beta1.NetworkPolicy networkPolicy_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> networkPolicyBuilder_; + com.google.container.v1beta1.NetworkPolicy, + com.google.container.v1beta1.NetworkPolicy.Builder, + com.google.container.v1beta1.NetworkPolicyOrBuilder> + networkPolicyBuilder_; /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networkPolicy field is set. */ public boolean hasNetworkPolicy() { return networkPolicyBuilder_ != null || networkPolicy_ != null; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networkPolicy. */ public com.google.container.v1beta1.NetworkPolicy getNetworkPolicy() { if (networkPolicyBuilder_ == null) { - return networkPolicy_ == null ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } else { return networkPolicyBuilder_.getMessage(); } } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { @@ -1119,11 +1258,15 @@ public Builder setNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setNetworkPolicy( com.google.container.v1beta1.NetworkPolicy.Builder builderForValue) { @@ -1137,17 +1280,23 @@ public Builder setNetworkPolicy( return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy value) { if (networkPolicyBuilder_ == null) { if (networkPolicy_ != null) { networkPolicy_ = - com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NetworkPolicy.newBuilder(networkPolicy_) + .mergeFrom(value) + .buildPartial(); } else { networkPolicy_ = value; } @@ -1159,11 +1308,15 @@ public Builder mergeNetworkPolicy(com.google.container.v1beta1.NetworkPolicy val return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearNetworkPolicy() { if (networkPolicyBuilder_ == null) { @@ -1177,48 +1330,64 @@ public Builder clearNetworkPolicy() { return this; } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NetworkPolicy.Builder getNetworkPolicyBuilder() { - + onChanged(); return getNetworkPolicyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { if (networkPolicyBuilder_ != null) { return networkPolicyBuilder_.getMessageOrBuilder(); } else { - return networkPolicy_ == null ? - com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() : networkPolicy_; + return networkPolicy_ == null + ? com.google.container.v1beta1.NetworkPolicy.getDefaultInstance() + : networkPolicy_; } } /** + * + * *
      * Required. Configuration options for the NetworkPolicy feature.
      * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder> + com.google.container.v1beta1.NetworkPolicy, + com.google.container.v1beta1.NetworkPolicy.Builder, + com.google.container.v1beta1.NetworkPolicyOrBuilder> getNetworkPolicyFieldBuilder() { if (networkPolicyBuilder_ == null) { - networkPolicyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkPolicy, com.google.container.v1beta1.NetworkPolicy.Builder, com.google.container.v1beta1.NetworkPolicyOrBuilder>( - getNetworkPolicy(), - getParentForChildren(), - isClean()); + networkPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NetworkPolicy, + com.google.container.v1beta1.NetworkPolicy.Builder, + com.google.container.v1beta1.NetworkPolicyOrBuilder>( + getNetworkPolicy(), getParentForChildren(), isClean()); networkPolicy_ = null; } return networkPolicyBuilder_; @@ -1226,19 +1395,21 @@ public com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBui private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1247,21 +1418,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1269,64 +1441,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to set networking
      * policy. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1336,12 +1515,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNetworkPolicyRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNetworkPolicyRequest) private static final com.google.container.v1beta1.SetNetworkPolicyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNetworkPolicyRequest(); } @@ -1350,27 +1529,27 @@ public static com.google.container.v1beta1.SetNetworkPolicyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNetworkPolicyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNetworkPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1385,6 +1564,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetNetworkPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNetworkPolicyRequestOrBuilder.java index 6d1146ee0a93..080a63519e7c 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetNetworkPolicyRequestOrBuilder extends +public interface SetNetworkPolicyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNetworkPolicyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4265 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4265 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetNetworkPolicyRequestOrBuilder extends
    * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,85 +89,114 @@ public interface SetNetworkPolicyRequestOrBuilder extends
    * 
* * 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=4274 + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4274 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4281 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNetworkPolicyRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4281 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the networkPolicy field is set. */ boolean hasNetworkPolicy(); /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The networkPolicy. */ com.google.container.v1beta1.NetworkPolicy getNetworkPolicy(); /** + * + * *
    * Required. Configuration options for the NetworkPolicy feature.
    * 
* - * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to set networking
    * policy. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequest.java index 0e4b741d7a58..a36ce101340a 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
  * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolAutoscalingRequest} */ -public final class SetNodePoolAutoscalingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetNodePoolAutoscalingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNodePoolAutoscalingRequest) SetNodePoolAutoscalingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetNodePoolAutoscalingRequest.newBuilder() to construct. private SetNodePoolAutoscalingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetNodePoolAutoscalingRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private SetNodePoolAutoscalingRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetNodePoolAutoscalingRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, + com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +255,55 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,11 +314,16 @@ protected java.lang.Object newInstance( public static final int AUTOSCALING_FIELD_NUMBER = 5; private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ @java.lang.Override @@ -281,23 +331,34 @@ public boolean hasAutoscaling() { return autoscaling_ != null; } /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { - return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { @@ -307,6 +368,8 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -314,6 +377,7 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -322,14 +386,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -337,16 +402,15 @@ public java.lang.String getName() {
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -355,6 +419,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -366,8 +431,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -408,8 +472,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (autoscaling_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getAutoscaling()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getAutoscaling()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); @@ -422,28 +485,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNodePoolAutoscalingRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNodePoolAutoscalingRequest other = (com.google.container.v1beta1.SetNodePoolAutoscalingRequest) obj; + com.google.container.v1beta1.SetNodePoolAutoscalingRequest other = + (com.google.container.v1beta1.SetNodePoolAutoscalingRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; if (hasAutoscaling() != other.hasAutoscaling()) return false; if (hasAutoscaling()) { - if (!getAutoscaling() - .equals(other.getAutoscaling())) return false; + if (!getAutoscaling().equals(other.getAutoscaling())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -475,129 +533,136 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( 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.SetNodePoolAutoscalingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetNodePoolAutoscalingRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.SetNodePoolAutoscalingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolAutoscalingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNodePoolAutoscalingRequest) com.google.container.v1beta1.SetNodePoolAutoscalingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, + com.google.container.v1beta1.SetNodePoolAutoscalingRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetNodePoolAutoscalingRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +686,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; } @java.lang.Override @@ -642,7 +707,8 @@ public com.google.container.v1beta1.SetNodePoolAutoscalingRequest build() { @java.lang.Override public com.google.container.v1beta1.SetNodePoolAutoscalingRequest buildPartial() { - com.google.container.v1beta1.SetNodePoolAutoscalingRequest result = new com.google.container.v1beta1.SetNodePoolAutoscalingRequest(this); + com.google.container.v1beta1.SetNodePoolAutoscalingRequest result = + new com.google.container.v1beta1.SetNodePoolAutoscalingRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -661,38 +727,39 @@ public com.google.container.v1beta1.SetNodePoolAutoscalingRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetNodePoolAutoscalingRequest) { - return mergeFrom((com.google.container.v1beta1.SetNodePoolAutoscalingRequest)other); + return mergeFrom((com.google.container.v1beta1.SetNodePoolAutoscalingRequest) other); } else { super.mergeFrom(other); return this; @@ -700,7 +767,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetNodePoolAutoscalingRequest other) { - if (other == com.google.container.v1beta1.SetNodePoolAutoscalingRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetNodePoolAutoscalingRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -750,44 +818,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - input.readMessage( - getAutoscalingFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 50: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + input.readMessage(getAutoscalingFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 50: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -800,22 +873,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -824,24 +901,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -849,66 +929,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -916,6 +1009,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -924,15 +1019,16 @@ public Builder mergeFrom(
      * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -941,6 +1037,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -949,17 +1047,17 @@ public Builder mergeFrom(
      * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -967,6 +1065,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -975,22 +1075,25 @@ public Builder mergeFrom(
      * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -999,17 +1102,21 @@ public Builder mergeFrom(
      * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1018,18 +1125,19 @@ public Builder mergeFrom(
      * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1037,21 +1145,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1060,23 +1172,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1084,63 +1199,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1148,21 +1276,25 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2591 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2591 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1171,23 +1303,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2591 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2591 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1195,63 +1330,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2591 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2591 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2591 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2591 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2591 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is + * deprecated. See google/container/v1beta1/cluster_service.proto;l=2591 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1259,39 +1407,58 @@ public Builder mergeFrom( private com.google.container.v1beta1.NodePoolAutoscaling autoscaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> autoscalingBuilder_; + com.google.container.v1beta1.NodePoolAutoscaling, + com.google.container.v1beta1.NodePoolAutoscaling.Builder, + com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> + autoscalingBuilder_; /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ public boolean hasAutoscaling() { return autoscalingBuilder_ != null || autoscaling_ != null; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ public com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling() { if (autoscalingBuilder_ == null) { - return autoscaling_ == null ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } else { return autoscalingBuilder_.getMessage(); } } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { @@ -1307,11 +1474,15 @@ public Builder setAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling v return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAutoscaling( com.google.container.v1beta1.NodePoolAutoscaling.Builder builderForValue) { @@ -1325,17 +1496,23 @@ public Builder setAutoscaling( return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling value) { if (autoscalingBuilder_ == null) { if (autoscaling_ != null) { autoscaling_ = - com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePoolAutoscaling.newBuilder(autoscaling_) + .mergeFrom(value) + .buildPartial(); } else { autoscaling_ = value; } @@ -1347,11 +1524,15 @@ public Builder mergeAutoscaling(com.google.container.v1beta1.NodePoolAutoscaling return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAutoscaling() { if (autoscalingBuilder_ == null) { @@ -1365,48 +1546,64 @@ public Builder clearAutoscaling() { return this; } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NodePoolAutoscaling.Builder getAutoscalingBuilder() { - + onChanged(); return getAutoscalingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { if (autoscalingBuilder_ != null) { return autoscalingBuilder_.getMessageOrBuilder(); } else { - return autoscaling_ == null ? - com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() : autoscaling_; + return autoscaling_ == null + ? com.google.container.v1beta1.NodePoolAutoscaling.getDefaultInstance() + : autoscaling_; } } /** + * + * *
      * Required. Autoscaling configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> + com.google.container.v1beta1.NodePoolAutoscaling, + com.google.container.v1beta1.NodePoolAutoscaling.Builder, + com.google.container.v1beta1.NodePoolAutoscalingOrBuilder> getAutoscalingFieldBuilder() { if (autoscalingBuilder_ == null) { - autoscalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolAutoscaling, com.google.container.v1beta1.NodePoolAutoscaling.Builder, com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>( - getAutoscaling(), - getParentForChildren(), - isClean()); + autoscalingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolAutoscaling, + com.google.container.v1beta1.NodePoolAutoscaling.Builder, + com.google.container.v1beta1.NodePoolAutoscalingOrBuilder>( + getAutoscaling(), getParentForChildren(), isClean()); autoscaling_ = null; } return autoscalingBuilder_; @@ -1414,6 +1611,8 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1421,13 +1620,13 @@ public com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingO
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1436,6 +1635,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1443,15 +1644,14 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1459,6 +1659,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1466,20 +1668,22 @@ public java.lang.String getName() {
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1487,15 +1691,18 @@ public Builder setName(
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to set
      * autoscaler settings. Specified in the format
@@ -1503,23 +1710,23 @@ public Builder clearName() {
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1529,12 +1736,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNodePoolAutoscalingRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolAutoscalingRequest) private static final com.google.container.v1beta1.SetNodePoolAutoscalingRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNodePoolAutoscalingRequest(); } @@ -1543,27 +1750,27 @@ public static com.google.container.v1beta1.SetNodePoolAutoscalingRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolAutoscalingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolAutoscalingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1578,6 +1785,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.container.v1beta1.SetNodePoolAutoscalingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolAutoscalingRequestOrBuilder.java index c71470ce63cd..5058e1f0371a 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetNodePoolAutoscalingRequestOrBuilder extends +public interface SetNodePoolAutoscalingRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNodePoolAutoscalingRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2568 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,93 +89,128 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * 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=2577 + * + * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2577 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2584 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolAutoscalingRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=2591 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the autoscaling field is set. */ boolean hasAutoscaling(); /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The autoscaling. */ com.google.container.v1beta1.NodePoolAutoscaling getAutoscaling(); /** + * + * *
    * Required. Autoscaling configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -152,10 +218,13 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to set
    * autoscaler settings. Specified in the format
@@ -163,8 +232,8 @@ public interface SetNodePoolAutoscalingRequestOrBuilder extends
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequest.java index 8664c4ce84d3..7e13ca49bfe6 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetNodePoolManagementRequest sets the node management properties of a node
  * pool.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.SetNodePoolManagementRequest}
  */
-public final class SetNodePoolManagementRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SetNodePoolManagementRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNodePoolManagementRequest)
     SetNodePoolManagementRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SetNodePoolManagementRequest.newBuilder() to construct.
   private SetNodePoolManagementRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SetNodePoolManagementRequest() {
     projectId_ = "";
     zone_ = "";
@@ -30,76 +48,84 @@ private SetNodePoolManagementRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SetNodePoolManagementRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.SetNodePoolManagementRequest.class, com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
+            com.google.container.v1beta1.SetNodePoolManagementRequest.class,
+            com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3703 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3703 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3703 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3703 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -110,6 +136,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -118,24 +146,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -144,18 +175,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -166,48 +197,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3719 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3719 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3719 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3719 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -218,48 +256,55 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -270,11 +315,16 @@ protected java.lang.Object newInstance( public static final int MANAGEMENT_FIELD_NUMBER = 5; private com.google.container.v1beta1.NodeManagement management_; /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the management field is set. */ @java.lang.Override @@ -282,23 +332,34 @@ public boolean hasManagement() { return management_ != null; } /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The management. */ @java.lang.Override public com.google.container.v1beta1.NodeManagement getManagement() { - return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder() { @@ -308,6 +369,8 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -315,6 +378,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -323,14 +387,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -338,16 +403,15 @@ public java.lang.String getName() {
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -356,6 +420,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,8 +432,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -409,8 +473,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (management_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getManagement()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getManagement()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -423,28 +486,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNodePoolManagementRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNodePoolManagementRequest other = (com.google.container.v1beta1.SetNodePoolManagementRequest) obj; + com.google.container.v1beta1.SetNodePoolManagementRequest other = + (com.google.container.v1beta1.SetNodePoolManagementRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; if (hasManagement() != other.hasManagement()) return false; if (hasManagement()) { - if (!getManagement() - .equals(other.getManagement())) return false; + if (!getManagement().equals(other.getManagement())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -476,96 +534,104 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolManagementRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( 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.SetNodePoolManagementRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolManagementRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolManagementRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.SetNodePoolManagementRequest prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.SetNodePoolManagementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNodePoolManagementRequest sets the node management properties of a node
    * pool.
@@ -573,33 +639,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.SetNodePoolManagementRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNodePoolManagementRequest)
       com.google.container.v1beta1.SetNodePoolManagementRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.SetNodePoolManagementRequest.class, com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
+              com.google.container.v1beta1.SetNodePoolManagementRequest.class,
+              com.google.container.v1beta1.SetNodePoolManagementRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.SetNodePoolManagementRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -623,9 +688,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor;
     }
 
     @java.lang.Override
@@ -644,7 +709,8 @@ public com.google.container.v1beta1.SetNodePoolManagementRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.SetNodePoolManagementRequest buildPartial() {
-      com.google.container.v1beta1.SetNodePoolManagementRequest result = new com.google.container.v1beta1.SetNodePoolManagementRequest(this);
+      com.google.container.v1beta1.SetNodePoolManagementRequest result =
+          new com.google.container.v1beta1.SetNodePoolManagementRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -663,38 +729,39 @@ public com.google.container.v1beta1.SetNodePoolManagementRequest buildPartial()
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.SetNodePoolManagementRequest) {
-        return mergeFrom((com.google.container.v1beta1.SetNodePoolManagementRequest)other);
+        return mergeFrom((com.google.container.v1beta1.SetNodePoolManagementRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -702,7 +769,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.SetNodePoolManagementRequest other) {
-      if (other == com.google.container.v1beta1.SetNodePoolManagementRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.SetNodePoolManagementRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -752,44 +820,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            case 34: {
-              nodePoolId_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getManagementFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 58: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 26
+            case 34:
+              {
+                nodePoolId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getManagementFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 58:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 58
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -802,22 +875,26 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -826,24 +903,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3703 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -851,66 +931,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3703 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3703 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3703 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -918,6 +1011,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -926,15 +1021,16 @@ public Builder mergeFrom(
      * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -943,6 +1039,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -951,17 +1049,17 @@ public Builder mergeFrom(
      * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -969,6 +1067,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -977,22 +1077,25 @@ public Builder mergeFrom(
      * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1001,17 +1104,21 @@ public Builder mergeFrom(
      * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -1020,18 +1127,19 @@ public Builder mergeFrom(
      * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -1039,21 +1147,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1062,23 +1174,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3719 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1086,63 +1201,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3719 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3719 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3719 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1150,21 +1278,25 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1173,23 +1305,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1197,63 +1332,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -1261,39 +1409,58 @@ public Builder mergeFrom( private com.google.container.v1beta1.NodeManagement management_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> managementBuilder_; + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder> + managementBuilder_; /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the management field is set. */ public boolean hasManagement() { return managementBuilder_ != null || management_ != null; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The management. */ public com.google.container.v1beta1.NodeManagement getManagement() { if (managementBuilder_ == null) { - return management_ == null ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } else { return managementBuilder_.getMessage(); } } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) { if (managementBuilder_ == null) { @@ -1309,11 +1476,15 @@ public Builder setManagement(com.google.container.v1beta1.NodeManagement value) return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setManagement( com.google.container.v1beta1.NodeManagement.Builder builderForValue) { @@ -1327,17 +1498,23 @@ public Builder setManagement( return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value) { if (managementBuilder_ == null) { if (management_ != null) { management_ = - com.google.container.v1beta1.NodeManagement.newBuilder(management_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeManagement.newBuilder(management_) + .mergeFrom(value) + .buildPartial(); } else { management_ = value; } @@ -1349,11 +1526,15 @@ public Builder mergeManagement(com.google.container.v1beta1.NodeManagement value return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearManagement() { if (managementBuilder_ == null) { @@ -1367,48 +1548,64 @@ public Builder clearManagement() { return this; } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NodeManagement.Builder getManagementBuilder() { - + onChanged(); return getManagementFieldBuilder().getBuilder(); } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder() { if (managementBuilder_ != null) { return managementBuilder_.getMessageOrBuilder(); } else { - return management_ == null ? - com.google.container.v1beta1.NodeManagement.getDefaultInstance() : management_; + return management_ == null + ? com.google.container.v1beta1.NodeManagement.getDefaultInstance() + : management_; } } /** + * + * *
      * Required. NodeManagement configuration for the node pool.
      * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder> + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder> getManagementFieldBuilder() { if (managementBuilder_ == null) { - managementBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeManagement, com.google.container.v1beta1.NodeManagement.Builder, com.google.container.v1beta1.NodeManagementOrBuilder>( - getManagement(), - getParentForChildren(), - isClean()); + managementBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeManagement, + com.google.container.v1beta1.NodeManagement.Builder, + com.google.container.v1beta1.NodeManagementOrBuilder>( + getManagement(), getParentForChildren(), isClean()); management_ = null; } return managementBuilder_; @@ -1416,6 +1613,8 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1423,13 +1622,13 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1438,6 +1637,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1445,15 +1646,14 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1461,6 +1661,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1468,20 +1670,22 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1489,15 +1693,18 @@ public Builder setName(
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * management properties. Specified in the format
@@ -1505,23 +1712,23 @@ public Builder clearName() {
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1531,12 +1738,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNodePoolManagementRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolManagementRequest) private static final com.google.container.v1beta1.SetNodePoolManagementRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNodePoolManagementRequest(); } @@ -1545,27 +1752,27 @@ public static com.google.container.v1beta1.SetNodePoolManagementRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolManagementRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolManagementRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1580,6 +1787,4 @@ public com.google.protobuf.Parser getParserForType public com.google.container.v1beta1.SetNodePoolManagementRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolManagementRequestOrBuilder.java index dd32c38e2a37..f5be82b42e85 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetNodePoolManagementRequestOrBuilder extends +public interface SetNodePoolManagementRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNodePoolManagementRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3703 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3703 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3703 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3703 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,93 +89,128 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * 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=3712 + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3712 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3719 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3719 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3719 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3719 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * * @deprecated google.container.v1beta1.SetNodePoolManagementRequest.node_pool_id is deprecated. * See google/container/v1beta1/cluster_service.proto;l=3726 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the management field is set. */ boolean hasManagement(); /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The management. */ com.google.container.v1beta1.NodeManagement getManagement(); /** + * + * *
    * Required. NodeManagement configuration for the node pool.
    * 
* - * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuilder(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -152,10 +218,13 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * management properties. Specified in the format
@@ -163,8 +232,8 @@ public interface SetNodePoolManagementRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequest.java index f8b4346fe0c7..f7b690ba4b06 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetNodePoolSizeRequest sets the size of a node pool.
  * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolSizeRequest} */ -public final class SetNodePoolSizeRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SetNodePoolSizeRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.SetNodePoolSizeRequest) SetNodePoolSizeRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetNodePoolSizeRequest.newBuilder() to construct. private SetNodePoolSizeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SetNodePoolSizeRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private SetNodePoolSizeRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetNodePoolSizeRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolSizeRequest.class, com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolSizeRequest.class, + com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,48 +255,55 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -269,11 +314,14 @@ protected java.lang.Object newInstance( public static final int NODE_COUNT_FIELD_NUMBER = 5; private int nodeCount_; /** + * + * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeCount. */ @java.lang.Override @@ -284,6 +332,8 @@ public int getNodeCount() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -291,6 +341,7 @@ public int getNodeCount() {
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -299,14 +350,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -314,16 +366,15 @@ public java.lang.String getName() {
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -332,6 +383,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -343,8 +395,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -385,8 +436,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, nodePoolId_); } if (nodeCount_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, nodeCount_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, nodeCount_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, name_); @@ -399,25 +449,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.SetNodePoolSizeRequest)) { return super.equals(obj); } - com.google.container.v1beta1.SetNodePoolSizeRequest other = (com.google.container.v1beta1.SetNodePoolSizeRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getNodePoolId() - .equals(other.getNodePoolId())) return false; - if (getNodeCount() - != other.getNodeCount()) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.SetNodePoolSizeRequest other = + (com.google.container.v1beta1.SetNodePoolSizeRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getNodePoolId().equals(other.getNodePoolId())) return false; + if (getNodeCount() != other.getNodeCount()) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -447,129 +492,135 @@ public int hashCode() { } public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.SetNodePoolSizeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( 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.SetNodePoolSizeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.SetNodePoolSizeRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.SetNodePoolSizeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.SetNodePoolSizeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SetNodePoolSizeRequest sets the size of a node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.SetNodePoolSizeRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.SetNodePoolSizeRequest) com.google.container.v1beta1.SetNodePoolSizeRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.SetNodePoolSizeRequest.class, com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); + com.google.container.v1beta1.SetNodePoolSizeRequest.class, + com.google.container.v1beta1.SetNodePoolSizeRequest.Builder.class); } // Construct using com.google.container.v1beta1.SetNodePoolSizeRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +640,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; } @java.lang.Override @@ -610,7 +661,8 @@ public com.google.container.v1beta1.SetNodePoolSizeRequest build() { @java.lang.Override public com.google.container.v1beta1.SetNodePoolSizeRequest buildPartial() { - com.google.container.v1beta1.SetNodePoolSizeRequest result = new com.google.container.v1beta1.SetNodePoolSizeRequest(this); + com.google.container.v1beta1.SetNodePoolSizeRequest result = + new com.google.container.v1beta1.SetNodePoolSizeRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -625,38 +677,39 @@ public com.google.container.v1beta1.SetNodePoolSizeRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.SetNodePoolSizeRequest) { - return mergeFrom((com.google.container.v1beta1.SetNodePoolSizeRequest)other); + return mergeFrom((com.google.container.v1beta1.SetNodePoolSizeRequest) other); } else { super.mergeFrom(other); return this; @@ -664,7 +717,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.SetNodePoolSizeRequest other) { - if (other == com.google.container.v1beta1.SetNodePoolSizeRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.SetNodePoolSizeRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -714,42 +768,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 40: { - nodeCount_ = input.readInt32(); - - break; - } // case 40 - case 58: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 40: + { + nodeCount_ = input.readInt32(); + + break; + } // case 40 + case 58: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -762,22 +823,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -786,24 +851,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -811,66 +879,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -878,6 +959,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -886,15 +969,16 @@ public Builder mergeFrom(
      * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -903,6 +987,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -911,17 +997,17 @@ public Builder mergeFrom(
      * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -929,6 +1015,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -937,22 +1025,25 @@ public Builder mergeFrom(
      * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -961,17 +1052,21 @@ public Builder mergeFrom(
      * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -980,18 +1075,19 @@ public Builder mergeFrom(
      * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -999,21 +1095,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1022,23 +1122,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1046,63 +1149,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1110,21 +1226,25 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -1133,23 +1253,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -1157,75 +1280,91 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to update.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; } - private int nodeCount_ ; + private int nodeCount_; /** + * + * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeCount. */ @java.lang.Override @@ -1233,30 +1372,36 @@ public int getNodeCount() { return nodeCount_; } /** + * + * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The nodeCount to set. * @return This builder for chaining. */ public Builder setNodeCount(int value) { - + nodeCount_ = value; onChanged(); return this; } /** + * + * *
      * Required. The desired node count for the pool.
      * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNodeCount() { - + nodeCount_ = 0; onChanged(); return this; @@ -1264,6 +1409,8 @@ public Builder clearNodeCount() { private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1271,13 +1418,13 @@ public Builder clearNodeCount() {
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1286,6 +1433,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1293,15 +1442,14 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1309,6 +1457,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1316,20 +1466,22 @@ public java.lang.String getName() {
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1337,15 +1489,18 @@ public Builder setName(
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool id) of the node pool to set
      * size.
@@ -1353,23 +1508,23 @@ public Builder clearName() {
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1379,12 +1534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.SetNodePoolSizeRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.SetNodePoolSizeRequest) private static final com.google.container.v1beta1.SetNodePoolSizeRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.SetNodePoolSizeRequest(); } @@ -1393,27 +1548,27 @@ public static com.google.container.v1beta1.SetNodePoolSizeRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetNodePoolSizeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetNodePoolSizeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1428,6 +1583,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.SetNodePoolSizeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/SetNodePoolSizeRequestOrBuilder.java index 880efc27f372..193213300659 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface SetNodePoolSizeRequestOrBuilder extends +public interface SetNodePoolSizeRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.SetNodePoolSizeRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3745 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3745 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,76 +89,100 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * 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=3754 + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3754 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3761 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3761 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Required. Deprecated. The name of the node pool to update.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=3768 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.SetNodePoolSizeRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=3768 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. The desired node count for the pool.
    * 
* * int32 node_count = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeCount. */ int getNodeCount(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -135,10 +190,13 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool id) of the node pool to set
    * size.
@@ -146,8 +204,8 @@ public interface SetNodePoolSizeRequestOrBuilder extends
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java index 6fa2162970c9..9892d1c3aa75 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfig.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * A set of Shielded Instance options.
  * 
* * Protobuf type {@code google.container.v1beta1.ShieldedInstanceConfig} */ -public final class ShieldedInstanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShieldedInstanceConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ShieldedInstanceConfig) ShieldedInstanceConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShieldedInstanceConfig.newBuilder() to construct. private ShieldedInstanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShieldedInstanceConfig() { - } + + private ShieldedInstanceConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShieldedInstanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedInstanceConfig.class, com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1beta1.ShieldedInstanceConfig.class, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); } public static final int ENABLE_SECURE_BOOT_FIELD_NUMBER = 1; private boolean enableSecureBoot_; /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * bool enable_secure_boot = 1; + * * @return The enableSecureBoot. */ @java.lang.Override @@ -68,6 +89,8 @@ public boolean getEnableSecureBoot() { public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER = 2; private boolean enableIntegrityMonitoring_; /** + * + * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -77,6 +100,7 @@ public boolean getEnableSecureBoot() {
    * 
* * bool enable_integrity_monitoring = 2; + * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -85,6 +109,7 @@ public boolean getEnableIntegrityMonitoring() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,8 +121,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableSecureBoot_ != false) { output.writeBool(1, enableSecureBoot_); } @@ -114,12 +138,10 @@ public int getSerializedSize() { size = 0; if (enableSecureBoot_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enableSecureBoot_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enableSecureBoot_); } if (enableIntegrityMonitoring_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, enableIntegrityMonitoring_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, enableIntegrityMonitoring_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -129,17 +151,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ShieldedInstanceConfig)) { return super.equals(obj); } - com.google.container.v1beta1.ShieldedInstanceConfig other = (com.google.container.v1beta1.ShieldedInstanceConfig) obj; + com.google.container.v1beta1.ShieldedInstanceConfig other = + (com.google.container.v1beta1.ShieldedInstanceConfig) obj; - if (getEnableSecureBoot() - != other.getEnableSecureBoot()) return false; - if (getEnableIntegrityMonitoring() - != other.getEnableIntegrityMonitoring()) return false; + if (getEnableSecureBoot() != other.getEnableSecureBoot()) return false; + if (getEnableIntegrityMonitoring() != other.getEnableIntegrityMonitoring()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -152,140 +173,144 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_SECURE_BOOT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableSecureBoot()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSecureBoot()); hash = (37 * hash) + ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnableIntegrityMonitoring()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableIntegrityMonitoring()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedInstanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( 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.ShieldedInstanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ShieldedInstanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ShieldedInstanceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ShieldedInstanceConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ShieldedInstanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ShieldedInstanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A set of Shielded Instance options.
    * 
* * Protobuf type {@code google.container.v1beta1.ShieldedInstanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ShieldedInstanceConfig) com.google.container.v1beta1.ShieldedInstanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedInstanceConfig.class, com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); + com.google.container.v1beta1.ShieldedInstanceConfig.class, + com.google.container.v1beta1.ShieldedInstanceConfig.Builder.class); } // Construct using com.google.container.v1beta1.ShieldedInstanceConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; } @java.lang.Override @@ -318,7 +343,8 @@ public com.google.container.v1beta1.ShieldedInstanceConfig build() { @java.lang.Override public com.google.container.v1beta1.ShieldedInstanceConfig buildPartial() { - com.google.container.v1beta1.ShieldedInstanceConfig result = new com.google.container.v1beta1.ShieldedInstanceConfig(this); + com.google.container.v1beta1.ShieldedInstanceConfig result = + new com.google.container.v1beta1.ShieldedInstanceConfig(this); result.enableSecureBoot_ = enableSecureBoot_; result.enableIntegrityMonitoring_ = enableIntegrityMonitoring_; onBuilt(); @@ -329,38 +355,39 @@ public com.google.container.v1beta1.ShieldedInstanceConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ShieldedInstanceConfig) { - return mergeFrom((com.google.container.v1beta1.ShieldedInstanceConfig)other); + return mergeFrom((com.google.container.v1beta1.ShieldedInstanceConfig) other); } else { super.mergeFrom(other); return this; @@ -368,7 +395,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.ShieldedInstanceConfig other) { - if (other == com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.ShieldedInstanceConfig.getDefaultInstance()) + return this; if (other.getEnableSecureBoot() != false) { setEnableSecureBoot(other.getEnableSecureBoot()); } @@ -401,22 +429,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enableSecureBoot_ = input.readBool(); - - break; - } // case 8 - case 16: { - enableIntegrityMonitoring_ = input.readBool(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enableSecureBoot_ = input.readBool(); + + break; + } // case 8 + case 16: + { + enableIntegrityMonitoring_ = input.readBool(); + + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,8 +458,10 @@ public Builder mergeFrom( return this; } - private boolean enableSecureBoot_ ; + private boolean enableSecureBoot_; /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -437,6 +470,7 @@ public Builder mergeFrom(
      * 
* * bool enable_secure_boot = 1; + * * @return The enableSecureBoot. */ @java.lang.Override @@ -444,6 +478,8 @@ public boolean getEnableSecureBoot() { return enableSecureBoot_; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -452,16 +488,19 @@ public boolean getEnableSecureBoot() {
      * 
* * bool enable_secure_boot = 1; + * * @param value The enableSecureBoot to set. * @return This builder for chaining. */ public Builder setEnableSecureBoot(boolean value) { - + enableSecureBoot_ = value; onChanged(); return this; } /** + * + * *
      * Defines whether the instance has Secure Boot enabled.
      * Secure Boot helps ensure that the system only runs authentic software by
@@ -470,17 +509,20 @@ public Builder setEnableSecureBoot(boolean value) {
      * 
* * bool enable_secure_boot = 1; + * * @return This builder for chaining. */ public Builder clearEnableSecureBoot() { - + enableSecureBoot_ = false; onChanged(); return this; } - private boolean enableIntegrityMonitoring_ ; + private boolean enableIntegrityMonitoring_; /** + * + * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -490,6 +532,7 @@ public Builder clearEnableSecureBoot() {
      * 
* * bool enable_integrity_monitoring = 2; + * * @return The enableIntegrityMonitoring. */ @java.lang.Override @@ -497,6 +540,8 @@ public boolean getEnableIntegrityMonitoring() { return enableIntegrityMonitoring_; } /** + * + * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -506,16 +551,19 @@ public boolean getEnableIntegrityMonitoring() {
      * 
* * bool enable_integrity_monitoring = 2; + * * @param value The enableIntegrityMonitoring to set. * @return This builder for chaining. */ public Builder setEnableIntegrityMonitoring(boolean value) { - + enableIntegrityMonitoring_ = value; onChanged(); return this; } /** + * + * *
      * Defines whether the instance has integrity monitoring enabled.
      * Enables monitoring and attestation of the boot integrity of the instance.
@@ -525,17 +573,18 @@ public Builder setEnableIntegrityMonitoring(boolean value) {
      * 
* * bool enable_integrity_monitoring = 2; + * * @return This builder for chaining. */ public Builder clearEnableIntegrityMonitoring() { - + enableIntegrityMonitoring_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -545,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ShieldedInstanceConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ShieldedInstanceConfig) private static final com.google.container.v1beta1.ShieldedInstanceConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ShieldedInstanceConfig(); } @@ -559,27 +608,27 @@ public static com.google.container.v1beta1.ShieldedInstanceConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedInstanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedInstanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ShieldedInstanceConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java index aceea33a6383..2ed7d031a6e0 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedInstanceConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface ShieldedInstanceConfigOrBuilder extends +public interface ShieldedInstanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ShieldedInstanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Defines whether the instance has Secure Boot enabled.
    * Secure Boot helps ensure that the system only runs authentic software by
@@ -16,11 +34,14 @@ public interface ShieldedInstanceConfigOrBuilder extends
    * 
* * bool enable_secure_boot = 1; + * * @return The enableSecureBoot. */ boolean getEnableSecureBoot(); /** + * + * *
    * Defines whether the instance has integrity monitoring enabled.
    * Enables monitoring and attestation of the boot integrity of the instance.
@@ -30,6 +51,7 @@ public interface ShieldedInstanceConfigOrBuilder extends
    * 
* * bool enable_integrity_monitoring = 2; + * * @return The enableIntegrityMonitoring. */ boolean getEnableIntegrityMonitoring(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java index 49339fa218f9..bdde06d53925 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodes.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration of Shielded Nodes feature.
  * 
* * Protobuf type {@code google.container.v1beta1.ShieldedNodes} */ -public final class ShieldedNodes extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ShieldedNodes extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.ShieldedNodes) ShieldedNodesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ShieldedNodes.newBuilder() to construct. private ShieldedNodes(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ShieldedNodes() { - } + + private ShieldedNodes() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ShieldedNodes(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedNodes.class, com.google.container.v1beta1.ShieldedNodes.Builder.class); + com.google.container.v1beta1.ShieldedNodes.class, + com.google.container.v1beta1.ShieldedNodes.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Shielded Nodes features are enabled on all nodes in this cluster.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.ShieldedNodes)) { return super.equals(obj); } - com.google.container.v1beta1.ShieldedNodes other = (com.google.container.v1beta1.ShieldedNodes) obj; + com.google.container.v1beta1.ShieldedNodes other = + (com.google.container.v1beta1.ShieldedNodes) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +141,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.ShieldedNodes parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.ShieldedNodes parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ShieldedNodes parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.ShieldedNodes parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ShieldedNodes parseFrom( 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.ShieldedNodes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.ShieldedNodes parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.ShieldedNodes parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ShieldedNodes parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.ShieldedNodes parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.ShieldedNodes parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ShieldedNodes parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.ShieldedNodes parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.ShieldedNodes parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.ShieldedNodes prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of Shielded Nodes feature.
    * 
* * Protobuf type {@code google.container.v1beta1.ShieldedNodes} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.ShieldedNodes) com.google.container.v1beta1.ShieldedNodesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedNodes_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.ShieldedNodes.class, com.google.container.v1beta1.ShieldedNodes.Builder.class); + com.google.container.v1beta1.ShieldedNodes.class, + com.google.container.v1beta1.ShieldedNodes.Builder.class); } // Construct using com.google.container.v1beta1.ShieldedNodes.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_ShieldedNodes_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_ShieldedNodes_descriptor; } @java.lang.Override @@ -282,7 +307,8 @@ public com.google.container.v1beta1.ShieldedNodes build() { @java.lang.Override public com.google.container.v1beta1.ShieldedNodes buildPartial() { - com.google.container.v1beta1.ShieldedNodes result = new com.google.container.v1beta1.ShieldedNodes(this); + com.google.container.v1beta1.ShieldedNodes result = + new com.google.container.v1beta1.ShieldedNodes(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +318,39 @@ public com.google.container.v1beta1.ShieldedNodes buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.ShieldedNodes) { - return mergeFrom((com.google.container.v1beta1.ShieldedNodes)other); + return mergeFrom((com.google.container.v1beta1.ShieldedNodes) other); } else { super.mergeFrom(other); return this; @@ -361,17 +388,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +411,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +428,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Shielded Nodes features are enabled on all nodes in this cluster.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +474,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.ShieldedNodes) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.ShieldedNodes) private static final com.google.container.v1beta1.ShieldedNodes DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.ShieldedNodes(); } @@ -450,27 +488,27 @@ public static com.google.container.v1beta1.ShieldedNodes getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ShieldedNodes parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShieldedNodes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +523,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.ShieldedNodes getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java new file mode 100644 index 000000000000..9342c124cffd --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface ShieldedNodesOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ShieldedNodes) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequest.java index 249cb94b5b0e..ca23348579bd 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * StartIPRotationRequest creates a new IP for the cluster and then performs
  * a node upgrade on each node pool to point to the new IP.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.StartIPRotationRequest}
  */
-public final class StartIPRotationRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StartIPRotationRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.StartIPRotationRequest)
     StartIPRotationRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StartIPRotationRequest.newBuilder() to construct.
   private StartIPRotationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StartIPRotationRequest() {
     projectId_ = "";
     zone_ = "";
@@ -29,76 +47,84 @@ private StartIPRotationRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StartIPRotationRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.StartIPRotationRequest.class, com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
+            com.google.container.v1beta1.StartIPRotationRequest.class,
+            com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
   private volatile java.lang.Object projectId_;
   /**
+   *
+   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,12 +255,15 @@ protected java.lang.Object newInstance( public static final int NAME_FIELD_NUMBER = 6; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ @java.lang.Override @@ -231,30 +272,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -265,11 +306,14 @@ public java.lang.String getName() { public static final int ROTATE_CREDENTIALS_FIELD_NUMBER = 7; private boolean rotateCredentials_; /** + * + * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; + * * @return The rotateCredentials. */ @java.lang.Override @@ -278,6 +322,7 @@ public boolean getRotateCredentials() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +334,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -328,8 +372,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, name_); } if (rotateCredentials_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, rotateCredentials_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, rotateCredentials_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,23 +382,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.StartIPRotationRequest)) { return super.equals(obj); } - com.google.container.v1beta1.StartIPRotationRequest other = (com.google.container.v1beta1.StartIPRotationRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (getRotateCredentials() - != other.getRotateCredentials()) return false; + com.google.container.v1beta1.StartIPRotationRequest other = + (com.google.container.v1beta1.StartIPRotationRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getName().equals(other.getName())) return false; + if (getRotateCredentials() != other.getRotateCredentials()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -376,104 +415,110 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + ROTATE_CREDENTIALS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRotateCredentials()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRotateCredentials()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StartIPRotationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( 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.StartIPRotationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.StartIPRotationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.StartIPRotationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.StartIPRotationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.StartIPRotationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.StartIPRotationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.StartIPRotationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * StartIPRotationRequest creates a new IP for the cluster and then performs
    * a node upgrade on each node pool to point to the new IP.
@@ -481,33 +526,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.StartIPRotationRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.StartIPRotationRequest)
       com.google.container.v1beta1.StartIPRotationRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.StartIPRotationRequest.class, com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
+              com.google.container.v1beta1.StartIPRotationRequest.class,
+              com.google.container.v1beta1.StartIPRotationRequest.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.StartIPRotationRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -525,9 +569,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor;
     }
 
     @java.lang.Override
@@ -546,7 +590,8 @@ public com.google.container.v1beta1.StartIPRotationRequest build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.StartIPRotationRequest buildPartial() {
-      com.google.container.v1beta1.StartIPRotationRequest result = new com.google.container.v1beta1.StartIPRotationRequest(this);
+      com.google.container.v1beta1.StartIPRotationRequest result =
+          new com.google.container.v1beta1.StartIPRotationRequest(this);
       result.projectId_ = projectId_;
       result.zone_ = zone_;
       result.clusterId_ = clusterId_;
@@ -560,38 +605,39 @@ public com.google.container.v1beta1.StartIPRotationRequest buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.StartIPRotationRequest) {
-        return mergeFrom((com.google.container.v1beta1.StartIPRotationRequest)other);
+        return mergeFrom((com.google.container.v1beta1.StartIPRotationRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,7 +645,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.StartIPRotationRequest other) {
-      if (other == com.google.container.v1beta1.StartIPRotationRequest.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.StartIPRotationRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         onChanged();
@@ -645,37 +692,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              zone_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                zone_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              clusterId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                clusterId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 50: {
-              name_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 50:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 50
-            case 56: {
-              rotateCredentials_ = input.readBool();
+                break;
+              } // case 50
+            case 56:
+              {
+                rotateCredentials_ = input.readBool();
 
-              break;
-            } // case 56
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 56
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -688,22 +741,26 @@ public Builder mergeFrom(
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -712,24 +769,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -737,66 +797,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -804,6 +877,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -812,15 +887,16 @@ public Builder mergeFrom(
      * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -829,6 +905,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -837,17 +915,17 @@ public Builder mergeFrom(
      * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -855,6 +933,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -863,22 +943,25 @@ public Builder mergeFrom(
      * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -887,17 +970,21 @@ public Builder mergeFrom(
      * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -906,18 +993,19 @@ public Builder mergeFrom(
      * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -925,21 +1013,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -948,23 +1040,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -972,63 +1067,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1036,19 +1144,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1057,21 +1167,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1079,69 +1190,79 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster name) of the cluster to start IP
      * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 6; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean rotateCredentials_ ; + private boolean rotateCredentials_; /** + * + * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; + * * @return The rotateCredentials. */ @java.lang.Override @@ -1149,37 +1270,43 @@ public boolean getRotateCredentials() { return rotateCredentials_; } /** + * + * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; + * * @param value The rotateCredentials to set. * @return This builder for chaining. */ public Builder setRotateCredentials(boolean value) { - + rotateCredentials_ = value; onChanged(); return this; } /** + * + * *
      * Whether to rotate credentials during IP rotation.
      * 
* * bool rotate_credentials = 7; + * * @return This builder for chaining. */ public Builder clearRotateCredentials() { - + rotateCredentials_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1316,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.StartIPRotationRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.StartIPRotationRequest) private static final com.google.container.v1beta1.StartIPRotationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.StartIPRotationRequest(); } @@ -1203,27 +1330,27 @@ public static com.google.container.v1beta1.StartIPRotationRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StartIPRotationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartIPRotationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,6 +1365,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.StartIPRotationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StartIPRotationRequestOrBuilder.java index 61a18867df7d..1966812bf29f 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface StartIPRotationRequestOrBuilder extends +public interface StartIPRotationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.StartIPRotationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4097 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4097 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface StartIPRotationRequestOrBuilder extends
    * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,67 +89,85 @@ public interface StartIPRotationRequestOrBuilder extends
    * 
* * 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=4106 + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4106 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4113 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.StartIPRotationRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4113 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster name) of the cluster to start IP
    * rotation. Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 6; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Whether to rotate credentials during IP rotation.
    * 
* * bool rotate_credentials = 7; + * * @return The rotateCredentials. */ boolean getRotateCredentials(); diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusCondition.java index 2db212b3a2d3..269bce8dc18e 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * StatusCondition describes why a cluster or a node pool has a certain status
  * (e.g., ERROR or DEGRADED).
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.StatusCondition}
  */
-public final class StatusCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class StatusCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.StatusCondition)
     StatusConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use StatusCondition.newBuilder() to construct.
   private StatusCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private StatusCondition() {
     code_ = 0;
     message_ = "";
@@ -28,39 +46,44 @@ private StatusCondition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new StatusCondition();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_StatusCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.StatusCondition.class, com.google.container.v1beta1.StatusCondition.Builder.class);
+            com.google.container.v1beta1.StatusCondition.class,
+            com.google.container.v1beta1.StatusCondition.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Code for each condition
    * 
* * Protobuf enum {@code google.container.v1beta1.StatusCondition.Code} */ - @java.lang.Deprecated public enum Code - implements com.google.protobuf.ProtocolMessageEnum { + @java.lang.Deprecated + public enum Code implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * UNKNOWN indicates a generic condition.
      * 
@@ -69,6 +92,8 @@ protected java.lang.Object newInstance( */ UNKNOWN(0), /** + * + * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -78,6 +103,8 @@ protected java.lang.Object newInstance(
      */
     GCE_STOCKOUT(1),
     /**
+     *
+     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -87,6 +114,8 @@ protected java.lang.Object newInstance(
      */
     GKE_SERVICE_ACCOUNT_DELETED(2),
     /**
+     *
+     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -95,6 +124,8 @@ protected java.lang.Object newInstance( */ GCE_QUOTA_EXCEEDED(3), /** + * + * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -103,6 +134,8 @@ protected java.lang.Object newInstance( */ SET_BY_OPERATOR(4), /** + * + * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -112,6 +145,8 @@ protected java.lang.Object newInstance(
      */
     CLOUD_KMS_KEY_ERROR(7),
     /**
+     *
+     *
      * 
      * Cluster CA is expiring soon.
      * More codes TBA
@@ -124,6 +159,8 @@ protected java.lang.Object newInstance(
     ;
 
     /**
+     *
+     *
      * 
      * UNKNOWN indicates a generic condition.
      * 
@@ -132,6 +169,8 @@ protected java.lang.Object newInstance( */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * GCE_STOCKOUT indicates that Google Compute Engine resources are
      * temporarily unavailable.
@@ -141,6 +180,8 @@ protected java.lang.Object newInstance(
      */
     public static final int GCE_STOCKOUT_VALUE = 1;
     /**
+     *
+     *
      * 
      * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
      * service account.
@@ -150,6 +191,8 @@ protected java.lang.Object newInstance(
      */
     public static final int GKE_SERVICE_ACCOUNT_DELETED_VALUE = 2;
     /**
+     *
+     *
      * 
      * Google Compute Engine quota was exceeded.
      * 
@@ -158,6 +201,8 @@ protected java.lang.Object newInstance( */ public static final int GCE_QUOTA_EXCEEDED_VALUE = 3; /** + * + * *
      * Cluster state was manually changed by an SRE due to a system logic error.
      * 
@@ -166,6 +211,8 @@ protected java.lang.Object newInstance( */ public static final int SET_BY_OPERATOR_VALUE = 4; /** + * + * *
      * Unable to perform an encrypt operation against the CloudKMS key used for
      * etcd level encryption.
@@ -175,6 +222,8 @@ protected java.lang.Object newInstance(
      */
     public static final int CLOUD_KMS_KEY_ERROR_VALUE = 7;
     /**
+     *
+     *
      * 
      * Cluster CA is expiring soon.
      * More codes TBA
@@ -184,7 +233,6 @@ protected java.lang.Object newInstance(
      */
     public static final int CA_EXPIRING_VALUE = 9;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -209,53 +257,57 @@ public static Code valueOf(int value) {
      */
     public static Code forNumber(int value) {
       switch (value) {
-        case 0: return UNKNOWN;
-        case 1: return GCE_STOCKOUT;
-        case 2: return GKE_SERVICE_ACCOUNT_DELETED;
-        case 3: return GCE_QUOTA_EXCEEDED;
-        case 4: return SET_BY_OPERATOR;
-        case 7: return CLOUD_KMS_KEY_ERROR;
-        case 9: return CA_EXPIRING;
-        default: return null;
+        case 0:
+          return UNKNOWN;
+        case 1:
+          return GCE_STOCKOUT;
+        case 2:
+          return GKE_SERVICE_ACCOUNT_DELETED;
+        case 3:
+          return GCE_QUOTA_EXCEEDED;
+        case 4:
+          return SET_BY_OPERATOR;
+        case 7:
+          return CLOUD_KMS_KEY_ERROR;
+        case 9:
+          return CA_EXPIRING;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Code> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Code findValueByNumber(int number) {
-              return Code.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public Code findValueByNumber(int number) {
+            return Code.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.StatusCondition.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Code[] VALUES = values();
 
-    public static Code valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -275,44 +327,58 @@ private Code(int value) {
   public static final int CODE_FIELD_NUMBER = 1;
   private int code_;
   /**
+   *
+   *
    * 
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @return The enum numeric value on the wire for code. */ - @java.lang.Override @java.lang.Deprecated public int getCodeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getCodeValue() { return code_; } /** + * + * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @return The code. */ - @java.lang.Override @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Code getCode() { + @java.lang.Override + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.StatusCondition.Code result = com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); + com.google.container.v1beta1.StatusCondition.Code result = + com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); return result == null ? com.google.container.v1beta1.StatusCondition.Code.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The message. */ @java.lang.Override @@ -321,29 +387,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -354,31 +420,40 @@ public java.lang.String getMessage() { public static final int CANONICAL_CODE_FIELD_NUMBER = 3; private int canonicalCode_; /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override public int getCanonicalCodeValue() { + @java.lang.Override + public int getCanonicalCodeValue() { return canonicalCode_; } /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The canonicalCode. */ - @java.lang.Override public com.google.rpc.Code getCanonicalCode() { + @java.lang.Override + public com.google.rpc.Code getCanonicalCode() { @SuppressWarnings("deprecation") com.google.rpc.Code result = com.google.rpc.Code.valueOf(canonicalCode_); return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +465,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (code_ != com.google.container.v1beta1.StatusCondition.Code.UNKNOWN.getNumber()) { output.writeEnum(1, code_); } @@ -411,15 +485,13 @@ public int getSerializedSize() { size = 0; if (code_ != com.google.container.v1beta1.StatusCondition.Code.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, code_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (canonicalCode_ != com.google.rpc.Code.OK.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, canonicalCode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, canonicalCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -429,16 +501,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.StatusCondition)) { return super.equals(obj); } - com.google.container.v1beta1.StatusCondition other = (com.google.container.v1beta1.StatusCondition) obj; + com.google.container.v1beta1.StatusCondition other = + (com.google.container.v1beta1.StatusCondition) obj; if (code_ != other.code_) return false; - if (!getMessage() - .equals(other.getMessage())) return false; + if (!getMessage().equals(other.getMessage())) return false; if (canonicalCode_ != other.canonicalCode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -462,97 +534,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.StatusCondition parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.StatusCondition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.StatusCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.StatusCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.StatusCondition parseFrom( 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.StatusCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.StatusCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.StatusCondition parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.StatusCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.StatusCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.StatusCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.StatusCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.StatusCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.StatusCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.StatusCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * StatusCondition describes why a cluster or a node pool has a certain status
    * (e.g., ERROR or DEGRADED).
@@ -560,33 +639,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.StatusCondition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.StatusCondition)
       com.google.container.v1beta1.StatusConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.StatusCondition.class, com.google.container.v1beta1.StatusCondition.Builder.class);
+              com.google.container.v1beta1.StatusCondition.class,
+              com.google.container.v1beta1.StatusCondition.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.StatusCondition.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -600,9 +678,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_StatusCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_StatusCondition_descriptor;
     }
 
     @java.lang.Override
@@ -621,7 +699,8 @@ public com.google.container.v1beta1.StatusCondition build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.StatusCondition buildPartial() {
-      com.google.container.v1beta1.StatusCondition result = new com.google.container.v1beta1.StatusCondition(this);
+      com.google.container.v1beta1.StatusCondition result =
+          new com.google.container.v1beta1.StatusCondition(this);
       result.code_ = code_;
       result.message_ = message_;
       result.canonicalCode_ = canonicalCode_;
@@ -633,38 +712,39 @@ public com.google.container.v1beta1.StatusCondition buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.StatusCondition) {
-        return mergeFrom((com.google.container.v1beta1.StatusCondition)other);
+        return mergeFrom((com.google.container.v1beta1.StatusCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -709,27 +789,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              code_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              message_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              canonicalCode_ = input.readEnum();
-
-              break;
-            } // case 24
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                code_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                message_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                canonicalCode_ = input.readEnum();
+
+                break;
+              } // case 24
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -742,88 +826,112 @@ public Builder mergeFrom(
 
     private int code_ = 0;
     /**
+     *
+     *
      * 
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @return The enum numeric value on the wire for code. */ - @java.lang.Override @java.lang.Deprecated public int getCodeValue() { + @java.lang.Override + @java.lang.Deprecated + public int getCodeValue() { return code_; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCodeValue(int value) { - + @java.lang.Deprecated + public Builder setCodeValue(int value) { + code_ = value; onChanged(); return this; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @return The code. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.StatusCondition.Code getCode() { + @java.lang.Deprecated + public com.google.container.v1beta1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.StatusCondition.Code result = com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); - return result == null ? com.google.container.v1beta1.StatusCondition.Code.UNRECOGNIZED : result; + com.google.container.v1beta1.StatusCondition.Code result = + com.google.container.v1beta1.StatusCondition.Code.valueOf(code_); + return result == null + ? com.google.container.v1beta1.StatusCondition.Code.UNRECOGNIZED + : result; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @param value The code to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) { + @java.lang.Deprecated + public Builder setCode(com.google.container.v1beta1.StatusCondition.Code value) { if (value == null) { throw new NullPointerException(); } - + code_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Machine-friendly representation of the condition
      * Deprecated. Use canonical_code instead.
      * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearCode() { - + @java.lang.Deprecated + public Builder clearCode() { + code_ = 0; onChanged(); return this; @@ -831,18 +939,20 @@ public Builder mergeFrom( private java.lang.Object message_ = ""; /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -851,20 +961,21 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -872,54 +983,61 @@ public java.lang.String getMessage() { } } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { + public Builder setMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** + * + * *
      * Human-friendly representation of the condition
      * 
* * string message = 2; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -927,37 +1045,47 @@ public Builder setMessageBytes( private int canonicalCode_ = 0; /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @return The enum numeric value on the wire for canonicalCode. */ - @java.lang.Override public int getCanonicalCodeValue() { + @java.lang.Override + public int getCanonicalCodeValue() { return canonicalCode_; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @param value The enum numeric value on the wire for canonicalCode to set. * @return This builder for chaining. */ public Builder setCanonicalCodeValue(int value) { - + canonicalCode_ = value; onChanged(); return this; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @return The canonicalCode. */ @java.lang.Override @@ -967,11 +1095,14 @@ public com.google.rpc.Code getCanonicalCode() { return result == null ? com.google.rpc.Code.UNRECOGNIZED : result; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @param value The canonicalCode to set. * @return This builder for chaining. */ @@ -979,28 +1110,31 @@ public Builder setCanonicalCode(com.google.rpc.Code value) { if (value == null) { throw new NullPointerException(); } - + canonicalCode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Canonical code of the condition.
      * 
* * .google.rpc.Code canonical_code = 3; + * * @return This builder for chaining. */ public Builder clearCanonicalCode() { - + canonicalCode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1010,12 +1144,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.StatusCondition) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.StatusCondition) private static final com.google.container.v1beta1.StatusCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.StatusCondition(); } @@ -1024,27 +1158,27 @@ public static com.google.container.v1beta1.StatusCondition getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StatusCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatusCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,6 +1193,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.StatusCondition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/StatusConditionOrBuilder.java index 0cebeea1392a..3a7e7806d916 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,72 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface StatusConditionOrBuilder extends +public interface StatusConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.StatusCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @return The enum numeric value on the wire for code. */ - @java.lang.Deprecated int getCodeValue(); + @java.lang.Deprecated + int getCodeValue(); /** + * + * *
    * Machine-friendly representation of the condition
    * Deprecated. Use canonical_code instead.
    * 
* * .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=4400 + * + * @deprecated google.container.v1beta1.StatusCondition.code is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4400 * @return The code. */ - @java.lang.Deprecated com.google.container.v1beta1.StatusCondition.Code getCode(); + @java.lang.Deprecated + com.google.container.v1beta1.StatusCondition.Code getCode(); /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
    * Human-friendly representation of the condition
    * 
* * string message = 2; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The enum numeric value on the wire for canonicalCode. */ int getCanonicalCodeValue(); /** + * + * *
    * Canonical code of the condition.
    * 
* * .google.rpc.Code canonical_code = 3; + * * @return The canonicalCode. */ com.google.rpc.Code getCanonicalCode(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java index 74a61e1b6179..b6d2e7b2eb4f 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindow.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Represents an arbitrary window of time.
  * 
* * Protobuf type {@code google.container.v1beta1.TimeWindow} */ -public final class TimeWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TimeWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.TimeWindow) TimeWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TimeWindow.newBuilder() to construct. private TimeWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TimeWindow() { - } + + private TimeWindow() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TimeWindow(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TimeWindow.class, com.google.container.v1beta1.TimeWindow.Builder.class); + com.google.container.v1beta1.TimeWindow.class, + com.google.container.v1beta1.TimeWindow.Builder.class); } private int optionsCase_ = 0; private java.lang.Object options_; + public enum OptionsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAINTENANCE_EXCLUSION_OPTIONS(3), OPTIONS_NOT_SET(0); private final int value; + private OptionsCase(int value) { this.value = value; } @@ -70,30 +91,36 @@ public static OptionsCase valueOf(int value) { public static OptionsCase forNumber(int value) { switch (value) { - case 3: return MAINTENANCE_EXCLUSION_OPTIONS; - case 0: return OPTIONS_NOT_SET; - default: return null; + case 3: + return MAINTENANCE_EXCLUSION_OPTIONS; + case 0: + return OPTIONS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public OptionsCase - getOptionsCase() { - return OptionsCase.forNumber( - optionsCase_); + public OptionsCase getOptionsCase() { + return OptionsCase.forNumber(optionsCase_); } public static final int MAINTENANCE_EXCLUSION_OPTIONS_FIELD_NUMBER = 3; /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -101,33 +128,41 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return The maintenanceExclusionOptions. */ @java.lang.Override public com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceExclusionOptions() { if (optionsCase_ == 3) { - return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; } return com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance(); } /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ @java.lang.Override - public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder + getMaintenanceExclusionOptionsOrBuilder() { if (optionsCase_ == 3) { - return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; + return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; } return com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance(); } @@ -135,11 +170,14 @@ public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMain public static final int START_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -147,11 +185,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -159,6 +200,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time that the window first starts.
    * 
@@ -173,12 +216,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -186,12 +232,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -199,6 +248,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
@@ -212,6 +263,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -223,8 +275,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (startTime_ != null) {
       output.writeMessage(1, getStartTime());
     }
@@ -244,16 +295,15 @@ public int getSerializedSize() {
 
     size = 0;
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getStartTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEndTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
     }
     if (optionsCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.container.v1beta1.MaintenanceExclusionOptions) options_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.container.v1beta1.MaintenanceExclusionOptions) options_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -263,7 +313,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.TimeWindow)) {
       return super.equals(obj);
@@ -272,19 +322,17 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime()
-          .equals(other.getStartTime())) return false;
+      if (!getStartTime().equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime()
-          .equals(other.getEndTime())) return false;
+      if (!getEndTime().equals(other.getEndTime())) return false;
     }
     if (!getOptionsCase().equals(other.getOptionsCase())) return false;
     switch (optionsCase_) {
       case 3:
-        if (!getMaintenanceExclusionOptions()
-            .equals(other.getMaintenanceExclusionOptions())) return false;
+        if (!getMaintenanceExclusionOptions().equals(other.getMaintenanceExclusionOptions()))
+          return false;
         break;
       case 0:
       default:
@@ -321,130 +369,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.TimeWindow parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.TimeWindow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseFrom(
       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.TimeWindow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.TimeWindow parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.TimeWindow parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.TimeWindow parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.TimeWindow prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Represents an arbitrary window of time.
    * 
* * Protobuf type {@code google.container.v1beta1.TimeWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.TimeWindow) com.google.container.v1beta1.TimeWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TimeWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TimeWindow.class, com.google.container.v1beta1.TimeWindow.Builder.class); + com.google.container.v1beta1.TimeWindow.class, + com.google.container.v1beta1.TimeWindow.Builder.class); } // Construct using com.google.container.v1beta1.TimeWindow.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -469,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TimeWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TimeWindow_descriptor; } @java.lang.Override @@ -490,7 +544,8 @@ public com.google.container.v1beta1.TimeWindow build() { @java.lang.Override public com.google.container.v1beta1.TimeWindow buildPartial() { - com.google.container.v1beta1.TimeWindow result = new com.google.container.v1beta1.TimeWindow(this); + com.google.container.v1beta1.TimeWindow result = + new com.google.container.v1beta1.TimeWindow(this); if (optionsCase_ == 3) { if (maintenanceExclusionOptionsBuilder_ == null) { result.options_ = options_; @@ -517,38 +572,39 @@ public com.google.container.v1beta1.TimeWindow buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.TimeWindow) { - return mergeFrom((com.google.container.v1beta1.TimeWindow)other); + return mergeFrom((com.google.container.v1beta1.TimeWindow) other); } else { super.mergeFrom(other); return this; @@ -564,13 +620,15 @@ public Builder mergeFrom(com.google.container.v1beta1.TimeWindow other) { mergeEndTime(other.getEndTime()); } switch (other.getOptionsCase()) { - case MAINTENANCE_EXCLUSION_OPTIONS: { - mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); - break; - } - case OPTIONS_NOT_SET: { - break; - } + case MAINTENANCE_EXCLUSION_OPTIONS: + { + mergeMaintenanceExclusionOptions(other.getMaintenanceExclusionOptions()); + break; + } + case OPTIONS_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -598,33 +656,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), - extensionRegistry); - optionsCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + input.readMessage( + getMaintenanceExclusionOptionsFieldBuilder().getBuilder(), extensionRegistry); + optionsCase_ = 3; + 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) { @@ -634,12 +691,12 @@ public Builder mergeFrom( } // finally return this; } + private int optionsCase_ = 0; private java.lang.Object options_; - public OptionsCase - getOptionsCase() { - return OptionsCase.forNumber( - optionsCase_); + + public OptionsCase getOptionsCase() { + return OptionsCase.forNumber(optionsCase_); } public Builder clearOptions() { @@ -649,16 +706,23 @@ public Builder clearOptions() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceExclusionOptions, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> maintenanceExclusionOptionsBuilder_; + com.google.container.v1beta1.MaintenanceExclusionOptions, + com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, + com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> + maintenanceExclusionOptionsBuilder_; /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return Whether the maintenanceExclusionOptions field is set. */ @java.lang.Override @@ -666,16 +730,22 @@ public boolean hasMaintenanceExclusionOptions() { return optionsCase_ == 3; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return The maintenanceExclusionOptions. */ @java.lang.Override - public com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceExclusionOptions() { + public com.google.container.v1beta1.MaintenanceExclusionOptions + getMaintenanceExclusionOptions() { if (maintenanceExclusionOptionsBuilder_ == null) { if (optionsCase_ == 3) { return (com.google.container.v1beta1.MaintenanceExclusionOptions) options_; @@ -689,14 +759,19 @@ public com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceEx } } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - public Builder setMaintenanceExclusionOptions(com.google.container.v1beta1.MaintenanceExclusionOptions value) { + public Builder setMaintenanceExclusionOptions( + com.google.container.v1beta1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -710,12 +785,16 @@ public Builder setMaintenanceExclusionOptions(com.google.container.v1beta1.Maint return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ public Builder setMaintenanceExclusionOptions( com.google.container.v1beta1.MaintenanceExclusionOptions.Builder builderForValue) { @@ -729,19 +808,28 @@ public Builder setMaintenanceExclusionOptions( return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - public Builder mergeMaintenanceExclusionOptions(com.google.container.v1beta1.MaintenanceExclusionOptions value) { + public Builder mergeMaintenanceExclusionOptions( + com.google.container.v1beta1.MaintenanceExclusionOptions value) { if (maintenanceExclusionOptionsBuilder_ == null) { - if (optionsCase_ == 3 && - options_ != com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) { - options_ = com.google.container.v1beta1.MaintenanceExclusionOptions.newBuilder((com.google.container.v1beta1.MaintenanceExclusionOptions) options_) - .mergeFrom(value).buildPartial(); + if (optionsCase_ == 3 + && options_ + != com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance()) { + options_ = + com.google.container.v1beta1.MaintenanceExclusionOptions.newBuilder( + (com.google.container.v1beta1.MaintenanceExclusionOptions) options_) + .mergeFrom(value) + .buildPartial(); } else { options_ = value; } @@ -757,12 +845,16 @@ public Builder mergeMaintenanceExclusionOptions(com.google.container.v1beta1.Mai return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ public Builder clearMaintenanceExclusionOptions() { if (maintenanceExclusionOptionsBuilder_ == null) { @@ -781,26 +873,36 @@ public Builder clearMaintenanceExclusionOptions() { return this; } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - public com.google.container.v1beta1.MaintenanceExclusionOptions.Builder getMaintenanceExclusionOptionsBuilder() { + public com.google.container.v1beta1.MaintenanceExclusionOptions.Builder + getMaintenanceExclusionOptionsBuilder() { return getMaintenanceExclusionOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ @java.lang.Override - public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder() { + public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder + getMaintenanceExclusionOptionsOrBuilder() { if ((optionsCase_ == 3) && (maintenanceExclusionOptionsBuilder_ != null)) { return maintenanceExclusionOptionsBuilder_.getMessageOrBuilder(); } else { @@ -811,52 +913,71 @@ public com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMain } } /** + * + * *
      * MaintenanceExclusionOptions provides maintenance exclusion related
      * options.
      * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceExclusionOptions, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> + com.google.container.v1beta1.MaintenanceExclusionOptions, + com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, + com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder> getMaintenanceExclusionOptionsFieldBuilder() { if (maintenanceExclusionOptionsBuilder_ == null) { if (!(optionsCase_ == 3)) { options_ = com.google.container.v1beta1.MaintenanceExclusionOptions.getDefaultInstance(); } - maintenanceExclusionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.MaintenanceExclusionOptions, com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder>( + maintenanceExclusionOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.MaintenanceExclusionOptions, + com.google.container.v1beta1.MaintenanceExclusionOptions.Builder, + com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder>( (com.google.container.v1beta1.MaintenanceExclusionOptions) options_, getParentForChildren(), isClean()); options_ = null; } optionsCase_ = 3; - onChanged();; + onChanged(); + ; return maintenanceExclusionOptionsBuilder_; } 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_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -867,6 +988,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time that the window first starts.
      * 
@@ -887,14 +1010,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that the window first starts.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -905,6 +1029,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time that the window first starts.
      * 
@@ -915,7 +1041,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -927,6 +1053,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that the window first starts.
      * 
@@ -945,6 +1073,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time that the window first starts.
      * 
@@ -952,11 +1082,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 1; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time that the window first starts.
      * 
@@ -967,11 +1099,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * The time that the window first starts.
      * 
@@ -979,14 +1112,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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()); + 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_; @@ -994,26 +1130,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The time that the window ends. The end time should take place after the
      * start time.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1024,6 +1169,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1045,6 +1192,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1052,8 +1201,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 2;
      */
-    public Builder setEndTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
         onChanged();
@@ -1064,6 +1212,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1075,7 +1225,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -1087,6 +1237,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1106,6 +1258,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1114,11 +1268,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1130,11 +1286,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time that the window ends. The end time should take place after the
      * start time.
@@ -1143,21 +1300,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(),
-                getParentForChildren(),
-                isClean());
+        endTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(), getParentForChildren(), isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1167,12 +1327,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.TimeWindow)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.TimeWindow)
   private static final com.google.container.v1beta1.TimeWindow DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.TimeWindow();
   }
@@ -1181,27 +1341,27 @@ public static com.google.container.v1beta1.TimeWindow getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public TimeWindow parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public TimeWindow parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1216,6 +1376,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.TimeWindow getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
similarity index 73%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
index 027625858ec7..5c908f22e495 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TimeWindowOrBuilder.java
@@ -1,61 +1,97 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
 
 package com.google.container.v1beta1;
 
-public interface TimeWindowOrBuilder extends
+public interface TimeWindowOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.TimeWindow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return Whether the maintenanceExclusionOptions field is set. */ boolean hasMaintenanceExclusionOptions(); /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * + * * @return The maintenanceExclusionOptions. */ com.google.container.v1beta1.MaintenanceExclusionOptions getMaintenanceExclusionOptions(); /** + * + * *
    * MaintenanceExclusionOptions provides maintenance exclusion related
    * options.
    * 
* - * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * .google.container.v1beta1.MaintenanceExclusionOptions maintenance_exclusion_options = 3; + * */ - com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder getMaintenanceExclusionOptionsOrBuilder(); + com.google.container.v1beta1.MaintenanceExclusionOptionsOrBuilder + getMaintenanceExclusionOptionsOrBuilder(); /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time that the window first starts.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time that the window first starts.
    * 
@@ -65,26 +101,34 @@ public interface TimeWindowOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time that the window ends. The end time should take place after the
    * start time.
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
similarity index 68%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
index 9efc9b914a88..fba03a119c1f 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfig.java
@@ -1,61 +1,83 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * Configuration for Cloud TPU.
  * 
* * Protobuf type {@code google.container.v1beta1.TpuConfig} */ -public final class TpuConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class TpuConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.TpuConfig) TpuConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TpuConfig.newBuilder() to construct. private TpuConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private TpuConfig() { ipv4CidrBlock_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TpuConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TpuConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TpuConfig.class, com.google.container.v1beta1.TpuConfig.Builder.class); + com.google.container.v1beta1.TpuConfig.class, + com.google.container.v1beta1.TpuConfig.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether Cloud TPU integration is enabled or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -66,11 +88,14 @@ public boolean getEnabled() { public static final int USE_SERVICE_NETWORKING_FIELD_NUMBER = 2; private boolean useServiceNetworking_; /** + * + * *
    * Whether to use service networking for Cloud TPU or not.
    * 
* * bool use_service_networking = 2; + * * @return The useServiceNetworking. */ @java.lang.Override @@ -81,11 +106,14 @@ public boolean getUseServiceNetworking() { public static final int IPV4_CIDR_BLOCK_FIELD_NUMBER = 3; private volatile java.lang.Object ipv4CidrBlock_; /** + * + * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; + * * @return The ipv4CidrBlock. */ @java.lang.Override @@ -94,29 +122,29 @@ public java.lang.String getIpv4CidrBlock() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv4CidrBlock_ = s; return s; } } /** + * + * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; + * * @return The bytes for ipv4CidrBlock. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getIpv4CidrBlockBytes() { java.lang.Object ref = ipv4CidrBlock_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipv4CidrBlock_ = b; return b; } else { @@ -125,6 +153,7 @@ public java.lang.String getIpv4CidrBlock() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,8 +165,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -157,12 +185,10 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } if (useServiceNetworking_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useServiceNetworking_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useServiceNetworking_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipv4CidrBlock_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipv4CidrBlock_); @@ -175,19 +201,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.TpuConfig)) { return super.equals(obj); } com.google.container.v1beta1.TpuConfig other = (com.google.container.v1beta1.TpuConfig) obj; - if (getEnabled() - != other.getEnabled()) return false; - if (getUseServiceNetworking() - != other.getUseServiceNetworking()) return false; - if (!getIpv4CidrBlock() - .equals(other.getIpv4CidrBlock())) return false; + if (getEnabled() != other.getEnabled()) return false; + if (getUseServiceNetworking() != other.getUseServiceNetworking()) return false; + if (!getIpv4CidrBlock().equals(other.getIpv4CidrBlock())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -200,11 +223,9 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (37 * hash) + USE_SERVICE_NETWORKING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseServiceNetworking()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseServiceNetworking()); hash = (37 * hash) + IPV4_CIDR_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getIpv4CidrBlock().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -212,130 +233,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.TpuConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.TpuConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.TpuConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.TpuConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.TpuConfig parseFrom( 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.TpuConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.TpuConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.TpuConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.TpuConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.TpuConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.TpuConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.TpuConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.TpuConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.TpuConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for Cloud TPU.
    * 
* * Protobuf type {@code google.container.v1beta1.TpuConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.TpuConfig) com.google.container.v1beta1.TpuConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TpuConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.TpuConfig.class, com.google.container.v1beta1.TpuConfig.Builder.class); + com.google.container.v1beta1.TpuConfig.class, + com.google.container.v1beta1.TpuConfig.Builder.class); } // Construct using com.google.container.v1beta1.TpuConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +376,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_TpuConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_TpuConfig_descriptor; } @java.lang.Override @@ -370,7 +397,8 @@ public com.google.container.v1beta1.TpuConfig build() { @java.lang.Override public com.google.container.v1beta1.TpuConfig buildPartial() { - com.google.container.v1beta1.TpuConfig result = new com.google.container.v1beta1.TpuConfig(this); + com.google.container.v1beta1.TpuConfig result = + new com.google.container.v1beta1.TpuConfig(this); result.enabled_ = enabled_; result.useServiceNetworking_ = useServiceNetworking_; result.ipv4CidrBlock_ = ipv4CidrBlock_; @@ -382,38 +410,39 @@ public com.google.container.v1beta1.TpuConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.TpuConfig) { - return mergeFrom((com.google.container.v1beta1.TpuConfig)other); + return mergeFrom((com.google.container.v1beta1.TpuConfig) other); } else { super.mergeFrom(other); return this; @@ -458,27 +487,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - case 16: { - useServiceNetworking_ = input.readBool(); - - break; - } // case 16 - case 26: { - ipv4CidrBlock_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + case 16: + { + useServiceNetworking_ = input.readBool(); + + break; + } // case 16 + case 26: + { + ipv4CidrBlock_ = input.readStringRequireUtf8(); + + 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) { @@ -489,13 +522,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether Cloud TPU integration is enabled or not.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -503,42 +539,51 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether Cloud TPU integration is enabled or not.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether Cloud TPU integration is enabled or not.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } - private boolean useServiceNetworking_ ; + private boolean useServiceNetworking_; /** + * + * *
      * Whether to use service networking for Cloud TPU or not.
      * 
* * bool use_service_networking = 2; + * * @return The useServiceNetworking. */ @java.lang.Override @@ -546,30 +591,36 @@ public boolean getUseServiceNetworking() { return useServiceNetworking_; } /** + * + * *
      * Whether to use service networking for Cloud TPU or not.
      * 
* * bool use_service_networking = 2; + * * @param value The useServiceNetworking to set. * @return This builder for chaining. */ public Builder setUseServiceNetworking(boolean value) { - + useServiceNetworking_ = value; onChanged(); return this; } /** + * + * *
      * Whether to use service networking for Cloud TPU or not.
      * 
* * bool use_service_networking = 2; + * * @return This builder for chaining. */ public Builder clearUseServiceNetworking() { - + useServiceNetworking_ = false; onChanged(); return this; @@ -577,18 +628,20 @@ public Builder clearUseServiceNetworking() { private java.lang.Object ipv4CidrBlock_ = ""; /** + * + * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; + * * @return The ipv4CidrBlock. */ public java.lang.String getIpv4CidrBlock() { java.lang.Object ref = ipv4CidrBlock_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipv4CidrBlock_ = s; return s; @@ -597,20 +650,21 @@ public java.lang.String getIpv4CidrBlock() { } } /** + * + * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; + * * @return The bytes for ipv4CidrBlock. */ - public com.google.protobuf.ByteString - getIpv4CidrBlockBytes() { + public com.google.protobuf.ByteString getIpv4CidrBlockBytes() { java.lang.Object ref = ipv4CidrBlock_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipv4CidrBlock_ = b; return b; } else { @@ -618,61 +672,68 @@ public java.lang.String getIpv4CidrBlock() { } } /** + * + * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; + * * @param value The ipv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setIpv4CidrBlock( - java.lang.String value) { + public Builder setIpv4CidrBlock(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipv4CidrBlock_ = value; onChanged(); return this; } /** + * + * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; + * * @return This builder for chaining. */ public Builder clearIpv4CidrBlock() { - + ipv4CidrBlock_ = getDefaultInstance().getIpv4CidrBlock(); onChanged(); return this; } /** + * + * *
      * IPv4 CIDR block reserved for Cloud TPU in the VPC.
      * 
* * string ipv4_cidr_block = 3; + * * @param value The bytes for ipv4CidrBlock to set. * @return This builder for chaining. */ - public Builder setIpv4CidrBlockBytes( - com.google.protobuf.ByteString value) { + public Builder setIpv4CidrBlockBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipv4CidrBlock_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -682,12 +743,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.TpuConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.TpuConfig) private static final com.google.container.v1beta1.TpuConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.TpuConfig(); } @@ -696,27 +757,27 @@ public static com.google.container.v1beta1.TpuConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TpuConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TpuConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -731,6 +792,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.TpuConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java similarity index 59% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java index 133b341921a8..3ad14a486a12 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/TpuConfigOrBuilder.java @@ -1,49 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface TpuConfigOrBuilder extends +public interface TpuConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.TpuConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Whether Cloud TPU integration is enabled or not.
    * 
* * bool enabled = 1; + * * @return The enabled. */ boolean getEnabled(); /** + * + * *
    * Whether to use service networking for Cloud TPU or not.
    * 
* * bool use_service_networking = 2; + * * @return The useServiceNetworking. */ boolean getUseServiceNetworking(); /** + * + * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; + * * @return The ipv4CidrBlock. */ java.lang.String getIpv4CidrBlock(); /** + * + * *
    * IPv4 CIDR block reserved for Cloud TPU in the VPC.
    * 
* * string ipv4_cidr_block = 3; + * * @return The bytes for ipv4CidrBlock. */ - com.google.protobuf.ByteString - getIpv4CidrBlockBytes(); + com.google.protobuf.ByteString getIpv4CidrBlockBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequest.java index 3b6164ed52eb..c6ea2a364305 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * UpdateClusterRequest updates the settings of a cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.UpdateClusterRequest} */ -public final class UpdateClusterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpdateClusterRequest) UpdateClusterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateClusterRequest.newBuilder() to construct. private UpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateClusterRequest() { projectId_ = ""; zone_ = ""; @@ -28,76 +46,84 @@ private UpdateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateClusterRequest.class, com.google.container.v1beta1.UpdateClusterRequest.Builder.class); + com.google.container.v1beta1.UpdateClusterRequest.class, + com.google.container.v1beta1.UpdateClusterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -108,6 +134,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -116,24 +144,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -142,18 +173,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -164,48 +195,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -216,11 +254,16 @@ protected java.lang.Object newInstance( public static final int UPDATE_FIELD_NUMBER = 4; private com.google.container.v1beta1.ClusterUpdate update_; /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ @java.lang.Override @@ -228,23 +271,34 @@ public boolean hasUpdate() { return update_ != null; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ @java.lang.Override public com.google.container.v1beta1.ClusterUpdate getUpdate() { - return update_ == null ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() : update_; + return update_ == null + ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() + : update_; } /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() { @@ -254,12 +308,15 @@ public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ @java.lang.Override @@ -268,30 +325,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -300,6 +357,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +369,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -347,8 +404,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_); } if (update_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getUpdate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdate()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); @@ -361,26 +417,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpdateClusterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.UpdateClusterRequest other = (com.google.container.v1beta1.UpdateClusterRequest) obj; + com.google.container.v1beta1.UpdateClusterRequest other = + (com.google.container.v1beta1.UpdateClusterRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; if (hasUpdate() != other.hasUpdate()) return false; if (hasUpdate()) { - if (!getUpdate() - .equals(other.getUpdate())) return false; + if (!getUpdate().equals(other.getUpdate())) return false; } - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -410,129 +462,135 @@ public int hashCode() { } public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( 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.UpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.UpdateClusterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UpdateClusterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.UpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpdateClusterRequest updates the settings of a cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.UpdateClusterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpdateClusterRequest) com.google.container.v1beta1.UpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateClusterRequest.class, com.google.container.v1beta1.UpdateClusterRequest.Builder.class); + com.google.container.v1beta1.UpdateClusterRequest.class, + com.google.container.v1beta1.UpdateClusterRequest.Builder.class); } // Construct using com.google.container.v1beta1.UpdateClusterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -554,9 +612,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; } @java.lang.Override @@ -575,7 +633,8 @@ public com.google.container.v1beta1.UpdateClusterRequest build() { @java.lang.Override public com.google.container.v1beta1.UpdateClusterRequest buildPartial() { - com.google.container.v1beta1.UpdateClusterRequest result = new com.google.container.v1beta1.UpdateClusterRequest(this); + com.google.container.v1beta1.UpdateClusterRequest result = + new com.google.container.v1beta1.UpdateClusterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -593,38 +652,39 @@ public com.google.container.v1beta1.UpdateClusterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UpdateClusterRequest) { - return mergeFrom((com.google.container.v1beta1.UpdateClusterRequest)other); + return mergeFrom((com.google.container.v1beta1.UpdateClusterRequest) other); } else { super.mergeFrom(other); return this; @@ -632,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UpdateClusterRequest other) { - if (other == com.google.container.v1beta1.UpdateClusterRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.UpdateClusterRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -678,39 +739,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - input.readMessage( - getUpdateFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 34 - case 42: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -723,22 +788,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -747,24 +816,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -772,66 +844,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -839,6 +924,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -847,15 +934,16 @@ public Builder mergeFrom(
      * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -864,6 +952,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -872,17 +962,17 @@ public Builder mergeFrom(
      * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -890,6 +980,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -898,22 +990,25 @@ public Builder mergeFrom(
      * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -922,17 +1017,21 @@ public Builder mergeFrom(
      * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -941,18 +1040,19 @@ public Builder mergeFrom(
      * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -960,21 +1060,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -983,23 +1087,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1007,63 +1114,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1071,39 +1191,58 @@ public Builder mergeFrom( private com.google.container.v1beta1.ClusterUpdate update_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterUpdate, com.google.container.v1beta1.ClusterUpdate.Builder, com.google.container.v1beta1.ClusterUpdateOrBuilder> updateBuilder_; + com.google.container.v1beta1.ClusterUpdate, + com.google.container.v1beta1.ClusterUpdate.Builder, + com.google.container.v1beta1.ClusterUpdateOrBuilder> + updateBuilder_; /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ public boolean hasUpdate() { return updateBuilder_ != null || update_ != null; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ public com.google.container.v1beta1.ClusterUpdate getUpdate() { if (updateBuilder_ == null) { - return update_ == null ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() : update_; + return update_ == null + ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() + : update_; } else { return updateBuilder_.getMessage(); } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdate(com.google.container.v1beta1.ClusterUpdate value) { if (updateBuilder_ == null) { @@ -1119,14 +1258,17 @@ public Builder setUpdate(com.google.container.v1beta1.ClusterUpdate value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setUpdate( - com.google.container.v1beta1.ClusterUpdate.Builder builderForValue) { + public Builder setUpdate(com.google.container.v1beta1.ClusterUpdate.Builder builderForValue) { if (updateBuilder_ == null) { update_ = builderForValue.build(); onChanged(); @@ -1137,17 +1279,23 @@ public Builder setUpdate( return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdate(com.google.container.v1beta1.ClusterUpdate value) { if (updateBuilder_ == null) { if (update_ != null) { update_ = - com.google.container.v1beta1.ClusterUpdate.newBuilder(update_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.ClusterUpdate.newBuilder(update_) + .mergeFrom(value) + .buildPartial(); } else { update_ = value; } @@ -1159,11 +1307,15 @@ public Builder mergeUpdate(com.google.container.v1beta1.ClusterUpdate value) { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdate() { if (updateBuilder_ == null) { @@ -1177,48 +1329,64 @@ public Builder clearUpdate() { return this; } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.ClusterUpdate.Builder getUpdateBuilder() { - + onChanged(); return getUpdateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() { if (updateBuilder_ != null) { return updateBuilder_.getMessageOrBuilder(); } else { - return update_ == null ? - com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() : update_; + return update_ == null + ? com.google.container.v1beta1.ClusterUpdate.getDefaultInstance() + : update_; } } /** + * + * *
      * Required. A description of the update.
      * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterUpdate, com.google.container.v1beta1.ClusterUpdate.Builder, com.google.container.v1beta1.ClusterUpdateOrBuilder> + com.google.container.v1beta1.ClusterUpdate, + com.google.container.v1beta1.ClusterUpdate.Builder, + com.google.container.v1beta1.ClusterUpdateOrBuilder> getUpdateFieldBuilder() { if (updateBuilder_ == null) { - updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ClusterUpdate, com.google.container.v1beta1.ClusterUpdate.Builder, com.google.container.v1beta1.ClusterUpdateOrBuilder>( - getUpdate(), - getParentForChildren(), - isClean()); + updateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.ClusterUpdate, + com.google.container.v1beta1.ClusterUpdate.Builder, + com.google.container.v1beta1.ClusterUpdateOrBuilder>( + getUpdate(), getParentForChildren(), isClean()); update_ = null; } return updateBuilder_; @@ -1226,19 +1394,21 @@ public com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder() private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1247,21 +1417,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1269,64 +1440,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 5; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1336,12 +1514,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateClusterRequest) private static final com.google.container.v1beta1.UpdateClusterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpdateClusterRequest(); } @@ -1350,27 +1528,27 @@ public static com.google.container.v1beta1.UpdateClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1385,6 +1563,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 61% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateClusterRequestOrBuilder.java index 5baa191beb33..9a556bd54eab 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface UpdateClusterRequestOrBuilder extends +public interface UpdateClusterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2422 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2422 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,85 +89,114 @@ public interface UpdateClusterRequestOrBuilder extends
    * 
* * 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=2431 + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2431 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2438 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateClusterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2438 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The update. */ com.google.container.v1beta1.ClusterUpdate getUpdate(); /** + * + * *
    * Required. A description of the update.
    * 
* - * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.container.v1beta1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.container.v1beta1.ClusterUpdateOrBuilder getUpdateOrBuilder(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 5; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequest.java index 570ea7de031d..64a8c9a2f805 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * UpdateMasterRequest updates the master of the cluster.
  * 
* * Protobuf type {@code google.container.v1beta1.UpdateMasterRequest} */ -public final class UpdateMasterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateMasterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpdateMasterRequest) UpdateMasterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateMasterRequest.newBuilder() to construct. private UpdateMasterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateMasterRequest() { projectId_ = ""; zone_ = ""; @@ -29,76 +47,84 @@ private UpdateMasterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateMasterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateMasterRequest.class, com.google.container.v1beta1.UpdateMasterRequest.Builder.class); + com.google.container.v1beta1.UpdateMasterRequest.class, + com.google.container.v1beta1.UpdateMasterRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -109,6 +135,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -117,24 +145,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -143,18 +174,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -165,48 +196,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -217,6 +255,8 @@ protected java.lang.Object newInstance( public static final int MASTER_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object masterVersion_; /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -229,6 +269,7 @@ protected java.lang.Object newInstance(
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The masterVersion. */ @java.lang.Override @@ -237,14 +278,15 @@ public java.lang.String getMasterVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -257,16 +299,15 @@ public java.lang.String getMasterVersion() {
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for masterVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getMasterVersionBytes() { + public com.google.protobuf.ByteString getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -277,12 +318,15 @@ public java.lang.String getMasterVersion() { public static final int NAME_FIELD_NUMBER = 7; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ @java.lang.Override @@ -291,30 +335,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -323,6 +367,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +379,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -383,23 +427,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpdateMasterRequest)) { return super.equals(obj); } - com.google.container.v1beta1.UpdateMasterRequest other = (com.google.container.v1beta1.UpdateMasterRequest) obj; - - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getZone() - .equals(other.getZone())) return false; - if (!getClusterId() - .equals(other.getClusterId())) return false; - if (!getMasterVersion() - .equals(other.getMasterVersion())) return false; - if (!getName() - .equals(other.getName())) return false; + com.google.container.v1beta1.UpdateMasterRequest other = + (com.google.container.v1beta1.UpdateMasterRequest) obj; + + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getZone().equals(other.getZone())) return false; + if (!getClusterId().equals(other.getClusterId())) return false; + if (!getMasterVersion().equals(other.getMasterVersion())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -426,130 +466,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpdateMasterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( 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.UpdateMasterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.UpdateMasterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpdateMasterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UpdateMasterRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpdateMasterRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpdateMasterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.UpdateMasterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpdateMasterRequest updates the master of the cluster.
    * 
* * Protobuf type {@code google.container.v1beta1.UpdateMasterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpdateMasterRequest) com.google.container.v1beta1.UpdateMasterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateMasterRequest.class, com.google.container.v1beta1.UpdateMasterRequest.Builder.class); + com.google.container.v1beta1.UpdateMasterRequest.class, + com.google.container.v1beta1.UpdateMasterRequest.Builder.class); } // Construct using com.google.container.v1beta1.UpdateMasterRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +613,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; } @java.lang.Override @@ -588,7 +634,8 @@ public com.google.container.v1beta1.UpdateMasterRequest build() { @java.lang.Override public com.google.container.v1beta1.UpdateMasterRequest buildPartial() { - com.google.container.v1beta1.UpdateMasterRequest result = new com.google.container.v1beta1.UpdateMasterRequest(this); + com.google.container.v1beta1.UpdateMasterRequest result = + new com.google.container.v1beta1.UpdateMasterRequest(this); result.projectId_ = projectId_; result.zone_ = zone_; result.clusterId_ = clusterId_; @@ -602,38 +649,39 @@ public com.google.container.v1beta1.UpdateMasterRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UpdateMasterRequest) { - return mergeFrom((com.google.container.v1beta1.UpdateMasterRequest)other); + return mergeFrom((com.google.container.v1beta1.UpdateMasterRequest) other); } else { super.mergeFrom(other); return this; @@ -641,7 +689,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UpdateMasterRequest other) { - if (other == com.google.container.v1beta1.UpdateMasterRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.UpdateMasterRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -688,37 +737,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); + case 10: + { + projectId_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - masterVersion_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + masterVersion_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 58: { - name_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 58: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,22 +786,26 @@ public Builder mergeFrom( private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -755,24 +814,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -780,66 +842,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -847,6 +922,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -855,15 +932,16 @@ public Builder mergeFrom(
      * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -872,6 +950,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -880,17 +960,17 @@ public Builder mergeFrom(
      * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -898,6 +978,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -906,22 +988,25 @@ public Builder mergeFrom(
      * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -930,17 +1015,21 @@ public Builder mergeFrom(
      * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -949,18 +1038,19 @@ public Builder mergeFrom(
      * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -968,21 +1058,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -991,23 +1085,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1015,63 +1112,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -1079,6 +1189,8 @@ public Builder mergeFrom( private java.lang.Object masterVersion_ = ""; /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1091,13 +1203,13 @@ public Builder mergeFrom(
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The masterVersion. */ public java.lang.String getMasterVersion() { java.lang.Object ref = masterVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); masterVersion_ = s; return s; @@ -1106,6 +1218,8 @@ public java.lang.String getMasterVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1118,15 +1232,14 @@ public java.lang.String getMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for masterVersion. */ - public com.google.protobuf.ByteString - getMasterVersionBytes() { + public com.google.protobuf.ByteString getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); masterVersion_ = b; return b; } else { @@ -1134,6 +1247,8 @@ public java.lang.String getMasterVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1146,20 +1261,22 @@ public java.lang.String getMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersion( - java.lang.String value) { + public Builder setMasterVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + masterVersion_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1172,15 +1289,18 @@ public Builder setMasterVersion(
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearMasterVersion() { - + masterVersion_ = getDefaultInstance().getMasterVersion(); onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the master to.
      * Users may specify either explicit versions offered by
@@ -1193,16 +1313,16 @@ public Builder clearMasterVersion() {
      * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for masterVersion to set. * @return This builder for chaining. */ - public Builder setMasterVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setMasterVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + masterVersion_ = value; onChanged(); return this; @@ -1210,19 +1330,21 @@ public Builder setMasterVersionBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1231,21 +1353,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1253,64 +1376,71 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster) of the cluster to update.
      * Specified in the format `projects/*/locations/*/clusters/*`.
      * 
* * string name = 7; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1320,12 +1450,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpdateMasterRequest) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateMasterRequest) private static final com.google.container.v1beta1.UpdateMasterRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpdateMasterRequest(); } @@ -1334,27 +1464,27 @@ public static com.google.container.v1beta1.UpdateMasterRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateMasterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateMasterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1369,6 +1499,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpdateMasterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateMasterRequestOrBuilder.java index 9cfad40645a9..0e42492c6dd7 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,41 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface UpdateMasterRequestOrBuilder extends +public interface UpdateMasterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpdateMasterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2773 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2773 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,40 +89,52 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * 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=2782 + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2782 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2789 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateMasterRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2789 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -104,10 +147,13 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The masterVersion. */ java.lang.String getMasterVersion(); /** + * + * *
    * Required. The Kubernetes version to change the master to.
    * Users may specify either explicit versions offered by
@@ -120,30 +166,35 @@ public interface UpdateMasterRequestOrBuilder extends
    * 
* * string master_version = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for masterVersion. */ - com.google.protobuf.ByteString - getMasterVersionBytes(); + com.google.protobuf.ByteString getMasterVersionBytes(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster) of the cluster to update.
    * Specified in the format `projects/*/locations/*/clusters/*`.
    * 
* * string name = 7; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 75% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequest.java index c97cb5197322..84dcbf65b8a7 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * SetNodePoolVersionRequest updates the version of a node pool.
  * 
* * Protobuf type {@code google.container.v1beta1.UpdateNodePoolRequest} */ -public final class UpdateNodePoolRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateNodePoolRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpdateNodePoolRequest) UpdateNodePoolRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateNodePoolRequest.newBuilder() to construct. private UpdateNodePoolRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UpdateNodePoolRequest() { projectId_ = ""; zone_ = ""; @@ -32,76 +50,84 @@ private UpdateNodePoolRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateNodePoolRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateNodePoolRequest.class, com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1beta1.UpdateNodePoolRequest.class, + com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object projectId_; /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -112,6 +138,8 @@ protected java.lang.Object newInstance( public static final int ZONE_FIELD_NUMBER = 2; private volatile java.lang.Object zone_; /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -120,24 +148,27 @@ protected java.lang.Object newInstance(
    * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @return The zone. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -146,18 +177,18 @@ protected java.lang.Object newInstance(
    * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @return The bytes for zone. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -168,48 +199,55 @@ protected java.lang.Object newInstance( public static final int CLUSTER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object clusterId_; /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The clusterId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for clusterId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -220,48 +258,55 @@ protected java.lang.Object newInstance( public static final int NODE_POOL_ID_FIELD_NUMBER = 4; private volatile java.lang.Object nodePoolId_; /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; } } /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for nodePoolId. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -272,6 +317,8 @@ protected java.lang.Object newInstance( public static final int NODE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object nodeVersion_; /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -285,6 +332,7 @@ protected java.lang.Object newInstance(
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeVersion. */ @java.lang.Override @@ -293,14 +341,15 @@ public java.lang.String getNodeVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; } } /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -314,16 +363,15 @@ public java.lang.String getNodeVersion() {
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for nodeVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -334,11 +382,14 @@ public java.lang.String getNodeVersion() { public static final int IMAGE_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object imageType_; /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageType. */ @java.lang.Override @@ -347,29 +398,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -380,6 +431,8 @@ public java.lang.String getImageType() { public static final int LOCATIONS_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList locations_; /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -389,13 +442,15 @@ public java.lang.String getImageType() {
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -405,12 +460,15 @@ public java.lang.String getImageType() {
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -420,6 +478,7 @@ public int getLocationsCount() {
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -427,6 +486,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -436,22 +497,25 @@ public java.lang.String getLocations(int index) {
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } public static final int WORKLOAD_METADATA_CONFIG_FIELD_NUMBER = 14; private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ @java.lang.Override @@ -459,18 +523,25 @@ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfig_ != null; } /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { - return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
@@ -478,13 +549,16 @@ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataCo * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ @java.lang.Override - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { return getWorkloadMetadataConfig(); } public static final int NAME_FIELD_NUMBER = 8; private volatile java.lang.Object name_; /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -492,6 +566,7 @@ public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadM
    * 
* * string name = 8; + * * @return The name. */ @java.lang.Override @@ -500,14 +575,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -515,16 +591,15 @@ public java.lang.String getName() {
    * 
* * string name = 8; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -535,11 +610,14 @@ public java.lang.String getName() { public static final int UPGRADE_SETTINGS_FIELD_NUMBER = 15; private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return Whether the upgradeSettings field is set. */ @java.lang.Override @@ -547,18 +625,25 @@ public boolean hasUpgradeSettings() { return upgradeSettings_ != null; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return The upgradeSettings. */ @java.lang.Override public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { - return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -566,13 +651,16 @@ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings( * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ @java.lang.Override - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder + getUpgradeSettingsOrBuilder() { return getUpgradeSettings(); } public static final int TAGS_FIELD_NUMBER = 16; private com.google.container.v1beta1.NetworkTags tags_; /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -580,6 +668,7 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; + * * @return Whether the tags field is set. */ @java.lang.Override @@ -587,6 +676,8 @@ public boolean hasTags() { return tags_ != null; } /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -594,6 +685,7 @@ public boolean hasTags() {
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; + * * @return The tags. */ @java.lang.Override @@ -601,6 +693,8 @@ public com.google.container.v1beta1.NetworkTags getTags() { return tags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : tags_; } /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -617,6 +711,8 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
   public static final int TAINTS_FIELD_NUMBER = 17;
   private com.google.container.v1beta1.NodeTaints taints_;
   /**
+   *
+   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -624,6 +720,7 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; + * * @return Whether the taints field is set. */ @java.lang.Override @@ -631,6 +728,8 @@ public boolean hasTaints() { return taints_ != null; } /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -638,6 +737,7 @@ public boolean hasTaints() {
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; + * * @return The taints. */ @java.lang.Override @@ -645,6 +745,8 @@ public com.google.container.v1beta1.NodeTaints getTaints() { return taints_ == null ? com.google.container.v1beta1.NodeTaints.getDefaultInstance() : taints_; } /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -661,6 +763,8 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
   public static final int LABELS_FIELD_NUMBER = 18;
   private com.google.container.v1beta1.NodeLabels labels_;
   /**
+   *
+   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -668,6 +772,7 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; + * * @return Whether the labels field is set. */ @java.lang.Override @@ -675,6 +780,8 @@ public boolean hasLabels() { return labels_ != null; } /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -682,6 +789,7 @@ public boolean hasLabels() {
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; + * * @return The labels. */ @java.lang.Override @@ -689,6 +797,8 @@ public com.google.container.v1beta1.NodeLabels getLabels() { return labels_ == null ? com.google.container.v1beta1.NodeLabels.getDefaultInstance() : labels_; } /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -705,11 +815,14 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
   public static final int LINUX_NODE_CONFIG_FIELD_NUMBER = 19;
   private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_;
   /**
+   *
+   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; + * * @return Whether the linuxNodeConfig field is set. */ @java.lang.Override @@ -717,18 +830,25 @@ public boolean hasLinuxNodeConfig() { return linuxNodeConfig_ != null; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; + * * @return The linuxNodeConfig. */ @java.lang.Override public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { - return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -743,11 +863,14 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO public static final int KUBELET_CONFIG_FIELD_NUMBER = 20; private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; + * * @return Whether the kubeletConfig field is set. */ @java.lang.Override @@ -755,18 +878,25 @@ public boolean hasKubeletConfig() { return kubeletConfig_ != null; } /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; + * * @return The kubeletConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { - return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } /** + * + * *
    * Node kubelet configs.
    * 
@@ -781,11 +911,14 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO public static final int NODE_NETWORK_CONFIG_FIELD_NUMBER = 21; private com.google.container.v1beta1.NodeNetworkConfig nodeNetworkConfig_; /** + * + * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * * @return Whether the nodeNetworkConfig field is set. */ @java.lang.Override @@ -793,18 +926,25 @@ public boolean hasNodeNetworkConfig() { return nodeNetworkConfig_ != null; } /** + * + * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * * @return The nodeNetworkConfig. */ @java.lang.Override public com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig() { - return nodeNetworkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; + return nodeNetworkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; } /** + * + * *
    * Node network config.
    * 
@@ -819,11 +959,14 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon public static final int GCFS_CONFIG_FIELD_NUMBER = 22; private com.google.container.v1beta1.GcfsConfig gcfsConfig_; /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; + * * @return Whether the gcfsConfig field is set. */ @java.lang.Override @@ -831,18 +974,25 @@ public boolean hasGcfsConfig() { return gcfsConfig_ != null; } /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; + * * @return The gcfsConfig. */ @java.lang.Override public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { - return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } /** + * + * *
    * GCFS config.
    * 
@@ -857,12 +1007,15 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() public static final int CONFIDENTIAL_NODES_FIELD_NUMBER = 23; private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * * @return Whether the confidentialNodes field is set. */ @java.lang.Override @@ -870,19 +1023,26 @@ public boolean hasConfidentialNodes() { return confidentialNodes_ != null; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * * @return The confidentialNodes. */ @java.lang.Override public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { - return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -898,11 +1058,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
   public static final int GVNIC_FIELD_NUMBER = 29;
   private com.google.container.v1beta1.VirtualNIC gvnic_;
   /**
+   *
+   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ @java.lang.Override @@ -910,11 +1073,14 @@ public boolean hasGvnic() { return gvnic_ != null; } /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ @java.lang.Override @@ -922,6 +1088,8 @@ public com.google.container.v1beta1.VirtualNIC getGvnic() { return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; } /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -936,11 +1104,14 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { public static final int FAST_SOCKET_FIELD_NUMBER = 31; private com.google.container.v1beta1.FastSocket fastSocket_; /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1beta1.FastSocket fast_socket = 31; + * * @return Whether the fastSocket field is set. */ @java.lang.Override @@ -948,18 +1119,25 @@ public boolean hasFastSocket() { return fastSocket_ != null; } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1beta1.FastSocket fast_socket = 31; + * * @return The fastSocket. */ @java.lang.Override public com.google.container.v1beta1.FastSocket getFastSocket() { - return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1beta1.FastSocket.getDefaultInstance() + : fastSocket_; } /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -974,11 +1152,14 @@ public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() public static final int LOGGING_CONFIG_FIELD_NUMBER = 32; private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; + * * @return Whether the loggingConfig field is set. */ @java.lang.Override @@ -986,18 +1167,25 @@ public boolean hasLoggingConfig() { return loggingConfig_ != null; } /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; + * * @return The loggingConfig. */ @java.lang.Override public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { - return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } /** + * + * *
    * Logging configuration.
    * 
@@ -1012,12 +1200,15 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon public static final int RESOURCE_LABELS_FIELD_NUMBER = 33; private com.google.container.v1beta1.ResourceLabels resourceLabels_; /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; + * * @return Whether the resourceLabels field is set. */ @java.lang.Override @@ -1025,19 +1216,26 @@ public boolean hasResourceLabels() { return resourceLabels_ != null; } /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; + * * @return The resourceLabels. */ @java.lang.Override public com.google.container.v1beta1.ResourceLabels getResourceLabels() { - return resourceLabels_ == null ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() : resourceLabels_; + return resourceLabels_ == null + ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() + : resourceLabels_; } /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
@@ -1051,6 +1249,7 @@ public com.google.container.v1beta1.ResourceLabelsOrBuilder getResourceLabelsOrB
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1062,8 +1261,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
@@ -1169,60 +1367,47 @@ public int getSerializedSize() {
       size += 1 * getLocationsList().size();
     }
     if (workloadMetadataConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(14, getWorkloadMetadataConfig());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(14, getWorkloadMetadataConfig());
     }
     if (upgradeSettings_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(15, getUpgradeSettings());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getUpgradeSettings());
     }
     if (tags_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(16, getTags());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getTags());
     }
     if (taints_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(17, getTaints());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getTaints());
     }
     if (labels_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(18, getLabels());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getLabels());
     }
     if (linuxNodeConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(19, getLinuxNodeConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, getLinuxNodeConfig());
     }
     if (kubeletConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(20, getKubeletConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(20, getKubeletConfig());
     }
     if (nodeNetworkConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(21, getNodeNetworkConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(21, getNodeNetworkConfig());
     }
     if (gcfsConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(22, getGcfsConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getGcfsConfig());
     }
     if (confidentialNodes_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(23, getConfidentialNodes());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getConfidentialNodes());
     }
     if (gvnic_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(29, getGvnic());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getGvnic());
     }
     if (fastSocket_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(31, getFastSocket());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(31, getFastSocket());
     }
     if (loggingConfig_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(32, getLoggingConfig());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, getLoggingConfig());
     }
     if (resourceLabels_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(33, getResourceLabels());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(33, getResourceLabels());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1232,98 +1417,77 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.UpdateNodePoolRequest)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.UpdateNodePoolRequest other = (com.google.container.v1beta1.UpdateNodePoolRequest) obj;
-
-    if (!getProjectId()
-        .equals(other.getProjectId())) return false;
-    if (!getZone()
-        .equals(other.getZone())) return false;
-    if (!getClusterId()
-        .equals(other.getClusterId())) return false;
-    if (!getNodePoolId()
-        .equals(other.getNodePoolId())) return false;
-    if (!getNodeVersion()
-        .equals(other.getNodeVersion())) return false;
-    if (!getImageType()
-        .equals(other.getImageType())) return false;
-    if (!getLocationsList()
-        .equals(other.getLocationsList())) return false;
+    com.google.container.v1beta1.UpdateNodePoolRequest other =
+        (com.google.container.v1beta1.UpdateNodePoolRequest) obj;
+
+    if (!getProjectId().equals(other.getProjectId())) return false;
+    if (!getZone().equals(other.getZone())) return false;
+    if (!getClusterId().equals(other.getClusterId())) return false;
+    if (!getNodePoolId().equals(other.getNodePoolId())) return false;
+    if (!getNodeVersion().equals(other.getNodeVersion())) return false;
+    if (!getImageType().equals(other.getImageType())) return false;
+    if (!getLocationsList().equals(other.getLocationsList())) return false;
     if (hasWorkloadMetadataConfig() != other.hasWorkloadMetadataConfig()) return false;
     if (hasWorkloadMetadataConfig()) {
-      if (!getWorkloadMetadataConfig()
-          .equals(other.getWorkloadMetadataConfig())) return false;
+      if (!getWorkloadMetadataConfig().equals(other.getWorkloadMetadataConfig())) return false;
     }
-    if (!getName()
-        .equals(other.getName())) return false;
+    if (!getName().equals(other.getName())) return false;
     if (hasUpgradeSettings() != other.hasUpgradeSettings()) return false;
     if (hasUpgradeSettings()) {
-      if (!getUpgradeSettings()
-          .equals(other.getUpgradeSettings())) return false;
+      if (!getUpgradeSettings().equals(other.getUpgradeSettings())) return false;
     }
     if (hasTags() != other.hasTags()) return false;
     if (hasTags()) {
-      if (!getTags()
-          .equals(other.getTags())) return false;
+      if (!getTags().equals(other.getTags())) return false;
     }
     if (hasTaints() != other.hasTaints()) return false;
     if (hasTaints()) {
-      if (!getTaints()
-          .equals(other.getTaints())) return false;
+      if (!getTaints().equals(other.getTaints())) return false;
     }
     if (hasLabels() != other.hasLabels()) return false;
     if (hasLabels()) {
-      if (!getLabels()
-          .equals(other.getLabels())) return false;
+      if (!getLabels().equals(other.getLabels())) return false;
     }
     if (hasLinuxNodeConfig() != other.hasLinuxNodeConfig()) return false;
     if (hasLinuxNodeConfig()) {
-      if (!getLinuxNodeConfig()
-          .equals(other.getLinuxNodeConfig())) return false;
+      if (!getLinuxNodeConfig().equals(other.getLinuxNodeConfig())) return false;
     }
     if (hasKubeletConfig() != other.hasKubeletConfig()) return false;
     if (hasKubeletConfig()) {
-      if (!getKubeletConfig()
-          .equals(other.getKubeletConfig())) return false;
+      if (!getKubeletConfig().equals(other.getKubeletConfig())) return false;
     }
     if (hasNodeNetworkConfig() != other.hasNodeNetworkConfig()) return false;
     if (hasNodeNetworkConfig()) {
-      if (!getNodeNetworkConfig()
-          .equals(other.getNodeNetworkConfig())) return false;
+      if (!getNodeNetworkConfig().equals(other.getNodeNetworkConfig())) return false;
     }
     if (hasGcfsConfig() != other.hasGcfsConfig()) return false;
     if (hasGcfsConfig()) {
-      if (!getGcfsConfig()
-          .equals(other.getGcfsConfig())) return false;
+      if (!getGcfsConfig().equals(other.getGcfsConfig())) return false;
     }
     if (hasConfidentialNodes() != other.hasConfidentialNodes()) return false;
     if (hasConfidentialNodes()) {
-      if (!getConfidentialNodes()
-          .equals(other.getConfidentialNodes())) return false;
+      if (!getConfidentialNodes().equals(other.getConfidentialNodes())) return false;
     }
     if (hasGvnic() != other.hasGvnic()) return false;
     if (hasGvnic()) {
-      if (!getGvnic()
-          .equals(other.getGvnic())) return false;
+      if (!getGvnic().equals(other.getGvnic())) return false;
     }
     if (hasFastSocket() != other.hasFastSocket()) return false;
     if (hasFastSocket()) {
-      if (!getFastSocket()
-          .equals(other.getFastSocket())) return false;
+      if (!getFastSocket().equals(other.getFastSocket())) return false;
     }
     if (hasLoggingConfig() != other.hasLoggingConfig()) return false;
     if (hasLoggingConfig()) {
-      if (!getLoggingConfig()
-          .equals(other.getLoggingConfig())) return false;
+      if (!getLoggingConfig().equals(other.getLoggingConfig())) return false;
     }
     if (hasResourceLabels() != other.hasResourceLabels()) return false;
     if (hasResourceLabels()) {
-      if (!getResourceLabels()
-          .equals(other.getResourceLabels())) return false;
+      if (!getResourceLabels().equals(other.getResourceLabels())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1416,129 +1580,135 @@ public int hashCode() {
   }
 
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
       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.UpdateNodePoolRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.UpdateNodePoolRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.UpdateNodePoolRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.UpdateNodePoolRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.UpdateNodePoolRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * SetNodePoolVersionRequest updates the version of a node pool.
    * 
* * Protobuf type {@code google.container.v1beta1.UpdateNodePoolRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpdateNodePoolRequest) com.google.container.v1beta1.UpdateNodePoolRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UpdateNodePoolRequest.class, com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); + com.google.container.v1beta1.UpdateNodePoolRequest.class, + com.google.container.v1beta1.UpdateNodePoolRequest.Builder.class); } // Construct using com.google.container.v1beta1.UpdateNodePoolRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1646,9 +1816,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; } @java.lang.Override @@ -1667,7 +1837,8 @@ public com.google.container.v1beta1.UpdateNodePoolRequest build() { @java.lang.Override public com.google.container.v1beta1.UpdateNodePoolRequest buildPartial() { - com.google.container.v1beta1.UpdateNodePoolRequest result = new com.google.container.v1beta1.UpdateNodePoolRequest(this); + com.google.container.v1beta1.UpdateNodePoolRequest result = + new com.google.container.v1beta1.UpdateNodePoolRequest(this); int from_bitField0_ = bitField0_; result.projectId_ = projectId_; result.zone_ = zone_; @@ -1759,38 +1930,39 @@ public com.google.container.v1beta1.UpdateNodePoolRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UpdateNodePoolRequest) { - return mergeFrom((com.google.container.v1beta1.UpdateNodePoolRequest)other); + return mergeFrom((com.google.container.v1beta1.UpdateNodePoolRequest) other); } else { super.mergeFrom(other); return this; @@ -1798,7 +1970,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UpdateNodePoolRequest other) { - if (other == com.google.container.v1beta1.UpdateNodePoolRequest.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.UpdateNodePoolRequest.getDefaultInstance()) + return this; if (!other.getProjectId().isEmpty()) { projectId_ = other.projectId_; onChanged(); @@ -1905,151 +2078,149 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - zone_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - clusterId_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - nodePoolId_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - nodeVersion_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 50: { - imageType_ = input.readStringRequireUtf8(); - - break; - } // case 50 - case 66: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 66 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureLocationsIsMutable(); - locations_.add(s); - break; - } // case 106 - case 114: { - input.readMessage( - getWorkloadMetadataConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 114 - case 122: { - input.readMessage( - getUpgradeSettingsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 122 - case 130: { - input.readMessage( - getTagsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 130 - case 138: { - input.readMessage( - getTaintsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 138 - case 146: { - input.readMessage( - getLabelsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 146 - case 154: { - input.readMessage( - getLinuxNodeConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 154 - case 162: { - input.readMessage( - getKubeletConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 162 - case 170: { - input.readMessage( - getNodeNetworkConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 170 - case 178: { - input.readMessage( - getGcfsConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 178 - case 186: { - input.readMessage( - getConfidentialNodesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 186 - case 234: { - input.readMessage( - getGvnicFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 234 - case 250: { - input.readMessage( - getFastSocketFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 250 - case 258: { - input.readMessage( - getLoggingConfigFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 258 - case 266: { - input.readMessage( - getResourceLabelsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 266 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + zone_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + clusterId_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + nodePoolId_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + nodeVersion_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 50: + { + imageType_ = input.readStringRequireUtf8(); + + break; + } // case 50 + case 66: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 66 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureLocationsIsMutable(); + locations_.add(s); + break; + } // case 106 + case 114: + { + input.readMessage( + getWorkloadMetadataConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 114 + case 122: + { + input.readMessage(getUpgradeSettingsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 122 + case 130: + { + input.readMessage(getTagsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 130 + case 138: + { + input.readMessage(getTaintsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 138 + case 146: + { + input.readMessage(getLabelsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 146 + case 154: + { + input.readMessage(getLinuxNodeConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 154 + case 162: + { + input.readMessage(getKubeletConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 162 + case 170: + { + input.readMessage( + getNodeNetworkConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 170 + case 178: + { + input.readMessage(getGcfsConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 178 + case 186: + { + input.readMessage( + getConfidentialNodesFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 186 + case 234: + { + input.readMessage(getGvnicFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 234 + case 250: + { + input.readMessage(getFastSocketFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 250 + case 258: + { + input.readMessage(getLoggingConfigFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 258 + case 266: + { + input.readMessage(getResourceLabelsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 266 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2059,26 +2230,31 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ - @java.lang.Deprecated public java.lang.String getProjectId() { + @java.lang.Deprecated + public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2087,24 +2263,27 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getProjectIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -2112,66 +2291,79 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @param value The projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setProjectId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + projectId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearProjectId() { - + @java.lang.Deprecated + public Builder clearProjectId() { + projectId_ = getDefaultInstance().getProjectId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The Google Developers Console [project ID or project
      * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
      * This field has been deprecated and replaced by the name field.
      * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @param value The bytes for projectId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + projectId_ = value; onChanged(); return this; @@ -2179,6 +2371,8 @@ public Builder mergeFrom( private java.lang.Object zone_ = ""; /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2187,15 +2381,16 @@ public Builder mergeFrom(
      * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @return The zone. */ - @java.lang.Deprecated public java.lang.String getZone() { + @java.lang.Deprecated + public java.lang.String getZone() { java.lang.Object ref = zone_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zone_ = s; return s; @@ -2204,6 +2399,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2212,17 +2409,17 @@ public Builder mergeFrom(
      * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @return The bytes for zone. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getZoneBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); zone_ = b; return b; } else { @@ -2230,6 +2427,8 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2238,22 +2437,25 @@ public Builder mergeFrom(
      * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @param value The zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZone( - java.lang.String value) { + @java.lang.Deprecated + public Builder setZone(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + zone_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2262,17 +2464,21 @@ public Builder mergeFrom(
      * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearZone() { - + @java.lang.Deprecated + public Builder clearZone() { + zone_ = getDefaultInstance().getZone(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the Google Compute Engine
      * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2281,18 +2487,19 @@ public Builder mergeFrom(
      * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @param value The bytes for zone to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setZoneBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + zone_ = value; onChanged(); return this; @@ -2300,21 +2507,25 @@ public Builder mergeFrom( private java.lang.Object clusterId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The clusterId. */ - @java.lang.Deprecated public java.lang.String getClusterId() { + @java.lang.Deprecated + public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -2323,23 +2534,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for clusterId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getClusterIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); clusterId_ = b; return b; } else { @@ -2347,63 +2561,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @param value The clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearClusterId() { - + @java.lang.Deprecated + public Builder clearClusterId() { + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the cluster to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setClusterIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -2411,21 +2638,25 @@ public Builder mergeFrom( private java.lang.Object nodePoolId_ = ""; /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The nodePoolId. */ - @java.lang.Deprecated public java.lang.String getNodePoolId() { + @java.lang.Deprecated + public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodePoolId_ = s; return s; @@ -2434,23 +2665,26 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getNodePoolIdBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodePoolId_ = b; return b; } else { @@ -2458,63 +2692,76 @@ public Builder mergeFrom( } } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @param value The nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolId( - java.lang.String value) { + @java.lang.Deprecated + public Builder setNodePoolId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodePoolId_ = value; onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodePoolId() { - + @java.lang.Deprecated + public Builder clearNodePoolId() { + nodePoolId_ = getDefaultInstance().getNodePoolId(); onChanged(); return this; } /** + * + * *
      * Required. Deprecated. The name of the node pool to upgrade.
      * This field has been deprecated and replaced by the name field.
      * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @param value The bytes for nodePoolId to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodePoolIdBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodePoolId_ = value; onChanged(); return this; @@ -2522,6 +2769,8 @@ public Builder mergeFrom( private java.lang.Object nodeVersion_ = ""; /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2535,13 +2784,13 @@ public Builder mergeFrom(
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nodeVersion_ = s; return s; @@ -2550,6 +2799,8 @@ public java.lang.String getNodeVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2563,15 +2814,14 @@ public java.lang.String getNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for nodeVersion. */ - public com.google.protobuf.ByteString - getNodeVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nodeVersion_ = b; return b; } else { @@ -2579,6 +2829,8 @@ public java.lang.String getNodeVersion() { } } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2592,20 +2844,22 @@ public java.lang.String getNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersion( - java.lang.String value) { + public Builder setNodeVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nodeVersion_ = value; onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2619,15 +2873,18 @@ public Builder setNodeVersion(
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNodeVersion() { - + nodeVersion_ = getDefaultInstance().getNodeVersion(); onChanged(); return this; } /** + * + * *
      * Required. The Kubernetes version to change the nodes to (typically an
      * upgrade).
@@ -2641,16 +2898,16 @@ public Builder clearNodeVersion() {
      * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for nodeVersion to set. * @return This builder for chaining. */ - public Builder setNodeVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setNodeVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nodeVersion_ = value; onChanged(); return this; @@ -2658,18 +2915,20 @@ public Builder setNodeVersionBytes( private java.lang.Object imageType_ = ""; /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -2678,20 +2937,21 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -2699,67 +2959,78 @@ public java.lang.String getImageType() { } } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** + * + * *
      * Required. The desired image type for the node pool.
      * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList locations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { locations_ = new com.google.protobuf.LazyStringArrayList(locations_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2769,13 +3040,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - public com.google.protobuf.ProtocolStringList - getLocationsList() { + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_.getUnmodifiableView(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2785,12 +3058,15 @@ private void ensureLocationsIsMutable() {
      * 
* * repeated string locations = 13; + * * @return The count of locations. */ public int getLocationsCount() { return locations_.size(); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2800,6 +3076,7 @@ public int getLocationsCount() {
      * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ @@ -2807,6 +3084,8 @@ public java.lang.String getLocations(int index) { return locations_.get(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2816,14 +3095,16 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - public com.google.protobuf.ByteString - getLocationsBytes(int index) { + public com.google.protobuf.ByteString getLocationsBytes(int index) { return locations_.getByteString(index); } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2833,21 +3114,23 @@ public java.lang.String getLocations(int index) {
      * 
* * repeated string locations = 13; + * * @param index The index to set the value at. * @param value The locations to set. * @return This builder for chaining. */ - public Builder setLocations( - int index, java.lang.String value) { + public Builder setLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.set(index, value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2857,20 +3140,22 @@ public Builder setLocations(
      * 
* * repeated string locations = 13; + * * @param value The locations to add. * @return This builder for chaining. */ - public Builder addLocations( - java.lang.String value) { + public Builder addLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLocationsIsMutable(); + throw new NullPointerException(); + } + ensureLocationsIsMutable(); locations_.add(value); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2880,18 +3165,19 @@ public Builder addLocations(
      * 
* * repeated string locations = 13; + * * @param values The locations to add. * @return This builder for chaining. */ - public Builder addAllLocations( - java.lang.Iterable values) { + public Builder addAllLocations(java.lang.Iterable values) { ensureLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, locations_); onChanged(); return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2901,6 +3187,7 @@ public Builder addAllLocations(
      * 
* * repeated string locations = 13; + * * @return This builder for chaining. */ public Builder clearLocations() { @@ -2910,6 +3197,8 @@ public Builder clearLocations() { return this; } /** + * + * *
      * The desired list of Google Compute Engine
      * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -2919,15 +3208,15 @@ public Builder clearLocations() {
      * 
* * repeated string locations = 13; + * * @param value The bytes of the locations to add. * @return This builder for chaining. */ - public Builder addLocationsBytes( - com.google.protobuf.ByteString value) { + public Builder addLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLocationsIsMutable(); locations_.add(value); onChanged(); @@ -2936,41 +3225,55 @@ public Builder addLocationsBytes( private com.google.container.v1beta1.WorkloadMetadataConfig workloadMetadataConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> workloadMetadataConfigBuilder_; + com.google.container.v1beta1.WorkloadMetadataConfig, + com.google.container.v1beta1.WorkloadMetadataConfig.Builder, + com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> + workloadMetadataConfigBuilder_; /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ public boolean hasWorkloadMetadataConfig() { return workloadMetadataConfigBuilder_ != null || workloadMetadataConfig_ != null; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ public com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig() { if (workloadMetadataConfigBuilder_ == null) { - return workloadMetadataConfig_ == null ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } else { return workloadMetadataConfigBuilder_.getMessage(); } } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder setWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder setWorkloadMetadataConfig( + com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2984,6 +3287,8 @@ public Builder setWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMe return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3002,17 +3307,23 @@ public Builder setWorkloadMetadataConfig( return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public Builder mergeWorkloadMetadataConfig(com.google.container.v1beta1.WorkloadMetadataConfig value) { + public Builder mergeWorkloadMetadataConfig( + com.google.container.v1beta1.WorkloadMetadataConfig value) { if (workloadMetadataConfigBuilder_ == null) { if (workloadMetadataConfig_ != null) { workloadMetadataConfig_ = - com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder(workloadMetadataConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder( + workloadMetadataConfig_) + .mergeFrom(value) + .buildPartial(); } else { workloadMetadataConfig_ = value; } @@ -3024,6 +3335,8 @@ public Builder mergeWorkloadMetadataConfig(com.google.container.v1beta1.Workload return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3042,33 +3355,42 @@ public Builder clearWorkloadMetadataConfig() { return this; } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfig.Builder getWorkloadMetadataConfigBuilder() { - + public com.google.container.v1beta1.WorkloadMetadataConfig.Builder + getWorkloadMetadataConfigBuilder() { + onChanged(); return getWorkloadMetadataConfigFieldBuilder().getBuilder(); } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ - public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder() { + public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder + getWorkloadMetadataConfigOrBuilder() { if (workloadMetadataConfigBuilder_ != null) { return workloadMetadataConfigBuilder_.getMessageOrBuilder(); } else { - return workloadMetadataConfig_ == null ? - com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() : workloadMetadataConfig_; + return workloadMetadataConfig_ == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance() + : workloadMetadataConfig_; } } /** + * + * *
      * The desired workload metadata config for the node pool.
      * 
@@ -3076,14 +3398,17 @@ public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadM * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> + com.google.container.v1beta1.WorkloadMetadataConfig, + com.google.container.v1beta1.WorkloadMetadataConfig.Builder, + com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder> getWorkloadMetadataConfigFieldBuilder() { if (workloadMetadataConfigBuilder_ == null) { - workloadMetadataConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WorkloadMetadataConfig, com.google.container.v1beta1.WorkloadMetadataConfig.Builder, com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( - getWorkloadMetadataConfig(), - getParentForChildren(), - isClean()); + workloadMetadataConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WorkloadMetadataConfig, + com.google.container.v1beta1.WorkloadMetadataConfig.Builder, + com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder>( + getWorkloadMetadataConfig(), getParentForChildren(), isClean()); workloadMetadataConfig_ = null; } return workloadMetadataConfigBuilder_; @@ -3091,6 +3416,8 @@ public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadM private java.lang.Object name_ = ""; /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3098,13 +3425,13 @@ public com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadM
      * 
* * string name = 8; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3113,6 +3440,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3120,15 +3449,14 @@ public java.lang.String getName() {
      * 
* * string name = 8; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3136,6 +3464,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3143,20 +3473,22 @@ public java.lang.String getName() {
      * 
* * string name = 8; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3164,15 +3496,18 @@ public Builder setName(
      * 
* * string name = 8; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name (project, location, cluster, node pool) of the node pool to
      * update. Specified in the format
@@ -3180,16 +3515,16 @@ public Builder clearName() {
      * 
* * string name = 8; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3197,34 +3532,47 @@ public Builder setNameBytes( private com.google.container.v1beta1.NodePool.UpgradeSettings upgradeSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> upgradeSettingsBuilder_; + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + upgradeSettingsBuilder_; /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return Whether the upgradeSettings field is set. */ public boolean hasUpgradeSettings() { return upgradeSettingsBuilder_ != null || upgradeSettings_ != null; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return The upgradeSettings. */ public com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings() { if (upgradeSettingsBuilder_ == null) { - return upgradeSettings_ == null ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } else { return upgradeSettingsBuilder_.getMessage(); } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3245,6 +3593,8 @@ public Builder setUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeS return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3263,17 +3613,22 @@ public Builder setUpgradeSettings( return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ - public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.UpgradeSettings value) { + public Builder mergeUpgradeSettings( + com.google.container.v1beta1.NodePool.UpgradeSettings value) { if (upgradeSettingsBuilder_ == null) { if (upgradeSettings_ != null) { upgradeSettings_ = - com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePool.UpgradeSettings.newBuilder(upgradeSettings_) + .mergeFrom(value) + .buildPartial(); } else { upgradeSettings_ = value; } @@ -3285,6 +3640,8 @@ public Builder mergeUpgradeSettings(com.google.container.v1beta1.NodePool.Upgrad return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3303,33 +3660,42 @@ public Builder clearUpgradeSettings() { return this; } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ - public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder getUpgradeSettingsBuilder() { - + public com.google.container.v1beta1.NodePool.UpgradeSettings.Builder + getUpgradeSettingsBuilder() { + onChanged(); return getUpgradeSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ - public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder() { + public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder + getUpgradeSettingsOrBuilder() { if (upgradeSettingsBuilder_ != null) { return upgradeSettingsBuilder_.getMessageOrBuilder(); } else { - return upgradeSettings_ == null ? - com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() : upgradeSettings_; + return upgradeSettings_ == null + ? com.google.container.v1beta1.NodePool.UpgradeSettings.getDefaultInstance() + : upgradeSettings_; } } /** + * + * *
      * Upgrade settings control disruption and speed of the upgrade.
      * 
@@ -3337,14 +3703,17 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder> getUpgradeSettingsFieldBuilder() { if (upgradeSettingsBuilder_ == null) { - upgradeSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePool.UpgradeSettings, com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( - getUpgradeSettings(), - getParentForChildren(), - isClean()); + upgradeSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePool.UpgradeSettings, + com.google.container.v1beta1.NodePool.UpgradeSettings.Builder, + com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder>( + getUpgradeSettings(), getParentForChildren(), isClean()); upgradeSettings_ = null; } return upgradeSettingsBuilder_; @@ -3352,8 +3721,13 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade private com.google.container.v1beta1.NetworkTags tags_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> tagsBuilder_; + com.google.container.v1beta1.NetworkTags, + com.google.container.v1beta1.NetworkTags.Builder, + com.google.container.v1beta1.NetworkTagsOrBuilder> + tagsBuilder_; /** + * + * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3361,12 +3735,15 @@ public com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgrade
      * 
* * .google.container.v1beta1.NetworkTags tags = 16; + * * @return Whether the tags field is set. */ public boolean hasTags() { return tagsBuilder_ != null || tags_ != null; } /** + * + * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3374,16 +3751,21 @@ public boolean hasTags() {
      * 
* * .google.container.v1beta1.NetworkTags tags = 16; + * * @return The tags. */ public com.google.container.v1beta1.NetworkTags getTags() { if (tagsBuilder_ == null) { - return tags_ == null ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() : tags_; + return tags_ == null + ? com.google.container.v1beta1.NetworkTags.getDefaultInstance() + : tags_; } else { return tagsBuilder_.getMessage(); } } /** + * + * *
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3406,6 +3788,8 @@ public Builder setTags(com.google.container.v1beta1.NetworkTags value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3414,8 +3798,7 @@ public Builder setTags(com.google.container.v1beta1.NetworkTags value) {
      *
      * .google.container.v1beta1.NetworkTags tags = 16;
      */
-    public Builder setTags(
-        com.google.container.v1beta1.NetworkTags.Builder builderForValue) {
+    public Builder setTags(com.google.container.v1beta1.NetworkTags.Builder builderForValue) {
       if (tagsBuilder_ == null) {
         tags_ = builderForValue.build();
         onChanged();
@@ -3426,6 +3809,8 @@ public Builder setTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3438,7 +3823,9 @@ public Builder mergeTags(com.google.container.v1beta1.NetworkTags value) {
       if (tagsBuilder_ == null) {
         if (tags_ != null) {
           tags_ =
-            com.google.container.v1beta1.NetworkTags.newBuilder(tags_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NetworkTags.newBuilder(tags_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           tags_ = value;
         }
@@ -3450,6 +3837,8 @@ public Builder mergeTags(com.google.container.v1beta1.NetworkTags value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3470,6 +3859,8 @@ public Builder clearTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3479,11 +3870,13 @@ public Builder clearTags() {
      * .google.container.v1beta1.NetworkTags tags = 16;
      */
     public com.google.container.v1beta1.NetworkTags.Builder getTagsBuilder() {
-      
+
       onChanged();
       return getTagsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3496,11 +3889,14 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
       if (tagsBuilder_ != null) {
         return tagsBuilder_.getMessageOrBuilder();
       } else {
-        return tags_ == null ?
-            com.google.container.v1beta1.NetworkTags.getDefaultInstance() : tags_;
+        return tags_ == null
+            ? com.google.container.v1beta1.NetworkTags.getDefaultInstance()
+            : tags_;
       }
     }
     /**
+     *
+     *
      * 
      * The desired network tags to be applied to all nodes in the node pool.
      * If this field is not present, the tags will not be changed. Otherwise,
@@ -3510,14 +3906,17 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * .google.container.v1beta1.NetworkTags tags = 16;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder> 
+            com.google.container.v1beta1.NetworkTags,
+            com.google.container.v1beta1.NetworkTags.Builder,
+            com.google.container.v1beta1.NetworkTagsOrBuilder>
         getTagsFieldBuilder() {
       if (tagsBuilder_ == null) {
-        tagsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NetworkTags, com.google.container.v1beta1.NetworkTags.Builder, com.google.container.v1beta1.NetworkTagsOrBuilder>(
-                getTags(),
-                getParentForChildren(),
-                isClean());
+        tagsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NetworkTags,
+                com.google.container.v1beta1.NetworkTags.Builder,
+                com.google.container.v1beta1.NetworkTagsOrBuilder>(
+                getTags(), getParentForChildren(), isClean());
         tags_ = null;
       }
       return tagsBuilder_;
@@ -3525,8 +3924,13 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
 
     private com.google.container.v1beta1.NodeTaints taints_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodeTaints, com.google.container.v1beta1.NodeTaints.Builder, com.google.container.v1beta1.NodeTaintsOrBuilder> taintsBuilder_;
+            com.google.container.v1beta1.NodeTaints,
+            com.google.container.v1beta1.NodeTaints.Builder,
+            com.google.container.v1beta1.NodeTaintsOrBuilder>
+        taintsBuilder_;
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3534,12 +3938,15 @@ public com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder() {
      * 
* * .google.container.v1beta1.NodeTaints taints = 17; + * * @return Whether the taints field is set. */ public boolean hasTaints() { return taintsBuilder_ != null || taints_ != null; } /** + * + * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3547,16 +3954,21 @@ public boolean hasTaints() {
      * 
* * .google.container.v1beta1.NodeTaints taints = 17; + * * @return The taints. */ public com.google.container.v1beta1.NodeTaints getTaints() { if (taintsBuilder_ == null) { - return taints_ == null ? com.google.container.v1beta1.NodeTaints.getDefaultInstance() : taints_; + return taints_ == null + ? com.google.container.v1beta1.NodeTaints.getDefaultInstance() + : taints_; } else { return taintsBuilder_.getMessage(); } } /** + * + * *
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3579,6 +3991,8 @@ public Builder setTaints(com.google.container.v1beta1.NodeTaints value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3587,8 +4001,7 @@ public Builder setTaints(com.google.container.v1beta1.NodeTaints value) {
      *
      * .google.container.v1beta1.NodeTaints taints = 17;
      */
-    public Builder setTaints(
-        com.google.container.v1beta1.NodeTaints.Builder builderForValue) {
+    public Builder setTaints(com.google.container.v1beta1.NodeTaints.Builder builderForValue) {
       if (taintsBuilder_ == null) {
         taints_ = builderForValue.build();
         onChanged();
@@ -3599,6 +4012,8 @@ public Builder setTaints(
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3611,7 +4026,9 @@ public Builder mergeTaints(com.google.container.v1beta1.NodeTaints value) {
       if (taintsBuilder_ == null) {
         if (taints_ != null) {
           taints_ =
-            com.google.container.v1beta1.NodeTaints.newBuilder(taints_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodeTaints.newBuilder(taints_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           taints_ = value;
         }
@@ -3623,6 +4040,8 @@ public Builder mergeTaints(com.google.container.v1beta1.NodeTaints value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3643,6 +4062,8 @@ public Builder clearTaints() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3652,11 +4073,13 @@ public Builder clearTaints() {
      * .google.container.v1beta1.NodeTaints taints = 17;
      */
     public com.google.container.v1beta1.NodeTaints.Builder getTaintsBuilder() {
-      
+
       onChanged();
       return getTaintsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3669,11 +4092,14 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
       if (taintsBuilder_ != null) {
         return taintsBuilder_.getMessageOrBuilder();
       } else {
-        return taints_ == null ?
-            com.google.container.v1beta1.NodeTaints.getDefaultInstance() : taints_;
+        return taints_ == null
+            ? com.google.container.v1beta1.NodeTaints.getDefaultInstance()
+            : taints_;
       }
     }
     /**
+     *
+     *
      * 
      * The desired node taints to be applied to all nodes in the node pool.
      * If this field is not present, the taints will not be changed. Otherwise,
@@ -3683,14 +4109,17 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * .google.container.v1beta1.NodeTaints taints = 17;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodeTaints, com.google.container.v1beta1.NodeTaints.Builder, com.google.container.v1beta1.NodeTaintsOrBuilder> 
+            com.google.container.v1beta1.NodeTaints,
+            com.google.container.v1beta1.NodeTaints.Builder,
+            com.google.container.v1beta1.NodeTaintsOrBuilder>
         getTaintsFieldBuilder() {
       if (taintsBuilder_ == null) {
-        taintsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeTaints, com.google.container.v1beta1.NodeTaints.Builder, com.google.container.v1beta1.NodeTaintsOrBuilder>(
-                getTaints(),
-                getParentForChildren(),
-                isClean());
+        taintsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodeTaints,
+                com.google.container.v1beta1.NodeTaints.Builder,
+                com.google.container.v1beta1.NodeTaintsOrBuilder>(
+                getTaints(), getParentForChildren(), isClean());
         taints_ = null;
       }
       return taintsBuilder_;
@@ -3698,8 +4127,13 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
 
     private com.google.container.v1beta1.NodeLabels labels_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodeLabels, com.google.container.v1beta1.NodeLabels.Builder, com.google.container.v1beta1.NodeLabelsOrBuilder> labelsBuilder_;
+            com.google.container.v1beta1.NodeLabels,
+            com.google.container.v1beta1.NodeLabels.Builder,
+            com.google.container.v1beta1.NodeLabelsOrBuilder>
+        labelsBuilder_;
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3707,12 +4141,15 @@ public com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder() {
      * 
* * .google.container.v1beta1.NodeLabels labels = 18; + * * @return Whether the labels field is set. */ public boolean hasLabels() { return labelsBuilder_ != null || labels_ != null; } /** + * + * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3720,16 +4157,21 @@ public boolean hasLabels() {
      * 
* * .google.container.v1beta1.NodeLabels labels = 18; + * * @return The labels. */ public com.google.container.v1beta1.NodeLabels getLabels() { if (labelsBuilder_ == null) { - return labels_ == null ? com.google.container.v1beta1.NodeLabels.getDefaultInstance() : labels_; + return labels_ == null + ? com.google.container.v1beta1.NodeLabels.getDefaultInstance() + : labels_; } else { return labelsBuilder_.getMessage(); } } /** + * + * *
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3752,6 +4194,8 @@ public Builder setLabels(com.google.container.v1beta1.NodeLabels value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3760,8 +4204,7 @@ public Builder setLabels(com.google.container.v1beta1.NodeLabels value) {
      *
      * .google.container.v1beta1.NodeLabels labels = 18;
      */
-    public Builder setLabels(
-        com.google.container.v1beta1.NodeLabels.Builder builderForValue) {
+    public Builder setLabels(com.google.container.v1beta1.NodeLabels.Builder builderForValue) {
       if (labelsBuilder_ == null) {
         labels_ = builderForValue.build();
         onChanged();
@@ -3772,6 +4215,8 @@ public Builder setLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3784,7 +4229,9 @@ public Builder mergeLabels(com.google.container.v1beta1.NodeLabels value) {
       if (labelsBuilder_ == null) {
         if (labels_ != null) {
           labels_ =
-            com.google.container.v1beta1.NodeLabels.newBuilder(labels_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.NodeLabels.newBuilder(labels_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           labels_ = value;
         }
@@ -3796,6 +4243,8 @@ public Builder mergeLabels(com.google.container.v1beta1.NodeLabels value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3816,6 +4265,8 @@ public Builder clearLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3825,11 +4276,13 @@ public Builder clearLabels() {
      * .google.container.v1beta1.NodeLabels labels = 18;
      */
     public com.google.container.v1beta1.NodeLabels.Builder getLabelsBuilder() {
-      
+
       onChanged();
       return getLabelsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3842,11 +4295,14 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
       if (labelsBuilder_ != null) {
         return labelsBuilder_.getMessageOrBuilder();
       } else {
-        return labels_ == null ?
-            com.google.container.v1beta1.NodeLabels.getDefaultInstance() : labels_;
+        return labels_ == null
+            ? com.google.container.v1beta1.NodeLabels.getDefaultInstance()
+            : labels_;
       }
     }
     /**
+     *
+     *
      * 
      * The desired node labels to be applied to all nodes in the node pool.
      * If this field is not present, the labels will not be changed. Otherwise,
@@ -3856,14 +4312,17 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
      * .google.container.v1beta1.NodeLabels labels = 18;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.NodeLabels, com.google.container.v1beta1.NodeLabels.Builder, com.google.container.v1beta1.NodeLabelsOrBuilder> 
+            com.google.container.v1beta1.NodeLabels,
+            com.google.container.v1beta1.NodeLabels.Builder,
+            com.google.container.v1beta1.NodeLabelsOrBuilder>
         getLabelsFieldBuilder() {
       if (labelsBuilder_ == null) {
-        labelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.NodeLabels, com.google.container.v1beta1.NodeLabels.Builder, com.google.container.v1beta1.NodeLabelsOrBuilder>(
-                getLabels(),
-                getParentForChildren(),
-                isClean());
+        labelsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.NodeLabels,
+                com.google.container.v1beta1.NodeLabels.Builder,
+                com.google.container.v1beta1.NodeLabelsOrBuilder>(
+                getLabels(), getParentForChildren(), isClean());
         labels_ = null;
       }
       return labelsBuilder_;
@@ -3871,34 +4330,47 @@ public com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder() {
 
     private com.google.container.v1beta1.LinuxNodeConfig linuxNodeConfig_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> linuxNodeConfigBuilder_;
+            com.google.container.v1beta1.LinuxNodeConfig,
+            com.google.container.v1beta1.LinuxNodeConfig.Builder,
+            com.google.container.v1beta1.LinuxNodeConfigOrBuilder>
+        linuxNodeConfigBuilder_;
     /**
+     *
+     *
      * 
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; + * * @return Whether the linuxNodeConfig field is set. */ public boolean hasLinuxNodeConfig() { return linuxNodeConfigBuilder_ != null || linuxNodeConfig_ != null; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; + * * @return The linuxNodeConfig. */ public com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig() { if (linuxNodeConfigBuilder_ == null) { - return linuxNodeConfig_ == null ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } else { return linuxNodeConfigBuilder_.getMessage(); } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3919,6 +4391,8 @@ public Builder setLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig v return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3937,6 +4411,8 @@ public Builder setLinuxNodeConfig( return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3947,7 +4423,9 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig if (linuxNodeConfigBuilder_ == null) { if (linuxNodeConfig_ != null) { linuxNodeConfig_ = - com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.LinuxNodeConfig.newBuilder(linuxNodeConfig_) + .mergeFrom(value) + .buildPartial(); } else { linuxNodeConfig_ = value; } @@ -3959,6 +4437,8 @@ public Builder mergeLinuxNodeConfig(com.google.container.v1beta1.LinuxNodeConfig return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3977,6 +4457,8 @@ public Builder clearLinuxNodeConfig() { return this; } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3984,11 +4466,13 @@ public Builder clearLinuxNodeConfig() { * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; */ public com.google.container.v1beta1.LinuxNodeConfig.Builder getLinuxNodeConfigBuilder() { - + onChanged(); return getLinuxNodeConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -3999,11 +4483,14 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO if (linuxNodeConfigBuilder_ != null) { return linuxNodeConfigBuilder_.getMessageOrBuilder(); } else { - return linuxNodeConfig_ == null ? - com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() : linuxNodeConfig_; + return linuxNodeConfig_ == null + ? com.google.container.v1beta1.LinuxNodeConfig.getDefaultInstance() + : linuxNodeConfig_; } } /** + * + * *
      * Parameters that can be configured on Linux nodes.
      * 
@@ -4011,14 +4498,17 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder> + com.google.container.v1beta1.LinuxNodeConfig, + com.google.container.v1beta1.LinuxNodeConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfigOrBuilder> getLinuxNodeConfigFieldBuilder() { if (linuxNodeConfigBuilder_ == null) { - linuxNodeConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.LinuxNodeConfig, com.google.container.v1beta1.LinuxNodeConfig.Builder, com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( - getLinuxNodeConfig(), - getParentForChildren(), - isClean()); + linuxNodeConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.LinuxNodeConfig, + com.google.container.v1beta1.LinuxNodeConfig.Builder, + com.google.container.v1beta1.LinuxNodeConfigOrBuilder>( + getLinuxNodeConfig(), getParentForChildren(), isClean()); linuxNodeConfig_ = null; } return linuxNodeConfigBuilder_; @@ -4026,34 +4516,47 @@ public com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigO private com.google.container.v1beta1.NodeKubeletConfig kubeletConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> kubeletConfigBuilder_; + com.google.container.v1beta1.NodeKubeletConfig, + com.google.container.v1beta1.NodeKubeletConfig.Builder, + com.google.container.v1beta1.NodeKubeletConfigOrBuilder> + kubeletConfigBuilder_; /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; + * * @return Whether the kubeletConfig field is set. */ public boolean hasKubeletConfig() { return kubeletConfigBuilder_ != null || kubeletConfig_ != null; } /** + * + * *
      * Node kubelet configs.
      * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; + * * @return The kubeletConfig. */ public com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig() { if (kubeletConfigBuilder_ == null) { - return kubeletConfig_ == null ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } else { return kubeletConfigBuilder_.getMessage(); } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4074,6 +4577,8 @@ public Builder setKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig v return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4092,6 +4597,8 @@ public Builder setKubeletConfig( return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4102,7 +4609,9 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig if (kubeletConfigBuilder_ == null) { if (kubeletConfig_ != null) { kubeletConfig_ = - com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeKubeletConfig.newBuilder(kubeletConfig_) + .mergeFrom(value) + .buildPartial(); } else { kubeletConfig_ = value; } @@ -4114,6 +4623,8 @@ public Builder mergeKubeletConfig(com.google.container.v1beta1.NodeKubeletConfig return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4132,6 +4643,8 @@ public Builder clearKubeletConfig() { return this; } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4139,11 +4652,13 @@ public Builder clearKubeletConfig() { * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; */ public com.google.container.v1beta1.NodeKubeletConfig.Builder getKubeletConfigBuilder() { - + onChanged(); return getKubeletConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4154,11 +4669,14 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO if (kubeletConfigBuilder_ != null) { return kubeletConfigBuilder_.getMessageOrBuilder(); } else { - return kubeletConfig_ == null ? - com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() : kubeletConfig_; + return kubeletConfig_ == null + ? com.google.container.v1beta1.NodeKubeletConfig.getDefaultInstance() + : kubeletConfig_; } } /** + * + * *
      * Node kubelet configs.
      * 
@@ -4166,14 +4684,17 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder> + com.google.container.v1beta1.NodeKubeletConfig, + com.google.container.v1beta1.NodeKubeletConfig.Builder, + com.google.container.v1beta1.NodeKubeletConfigOrBuilder> getKubeletConfigFieldBuilder() { if (kubeletConfigBuilder_ == null) { - kubeletConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeKubeletConfig, com.google.container.v1beta1.NodeKubeletConfig.Builder, com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( - getKubeletConfig(), - getParentForChildren(), - isClean()); + kubeletConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeKubeletConfig, + com.google.container.v1beta1.NodeKubeletConfig.Builder, + com.google.container.v1beta1.NodeKubeletConfigOrBuilder>( + getKubeletConfig(), getParentForChildren(), isClean()); kubeletConfig_ = null; } return kubeletConfigBuilder_; @@ -4181,34 +4702,47 @@ public com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigO private com.google.container.v1beta1.NodeNetworkConfig nodeNetworkConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> nodeNetworkConfigBuilder_; + com.google.container.v1beta1.NodeNetworkConfig, + com.google.container.v1beta1.NodeNetworkConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfigOrBuilder> + nodeNetworkConfigBuilder_; /** + * + * *
      * Node network config.
      * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * * @return Whether the nodeNetworkConfig field is set. */ public boolean hasNodeNetworkConfig() { return nodeNetworkConfigBuilder_ != null || nodeNetworkConfig_ != null; } /** + * + * *
      * Node network config.
      * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * * @return The nodeNetworkConfig. */ public com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig() { if (nodeNetworkConfigBuilder_ == null) { - return nodeNetworkConfig_ == null ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; + return nodeNetworkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; } else { return nodeNetworkConfigBuilder_.getMessage(); } } /** + * + * *
      * Node network config.
      * 
@@ -4229,6 +4763,8 @@ public Builder setNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkConf return this; } /** + * + * *
      * Node network config.
      * 
@@ -4247,6 +4783,8 @@ public Builder setNodeNetworkConfig( return this; } /** + * + * *
      * Node network config.
      * 
@@ -4257,7 +4795,9 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkCo if (nodeNetworkConfigBuilder_ == null) { if (nodeNetworkConfig_ != null) { nodeNetworkConfig_ = - com.google.container.v1beta1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodeNetworkConfig.newBuilder(nodeNetworkConfig_) + .mergeFrom(value) + .buildPartial(); } else { nodeNetworkConfig_ = value; } @@ -4269,6 +4809,8 @@ public Builder mergeNodeNetworkConfig(com.google.container.v1beta1.NodeNetworkCo return this; } /** + * + * *
      * Node network config.
      * 
@@ -4287,6 +4829,8 @@ public Builder clearNodeNetworkConfig() { return this; } /** + * + * *
      * Node network config.
      * 
@@ -4294,11 +4838,13 @@ public Builder clearNodeNetworkConfig() { * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; */ public com.google.container.v1beta1.NodeNetworkConfig.Builder getNodeNetworkConfigBuilder() { - + onChanged(); return getNodeNetworkConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Node network config.
      * 
@@ -4309,11 +4855,14 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon if (nodeNetworkConfigBuilder_ != null) { return nodeNetworkConfigBuilder_.getMessageOrBuilder(); } else { - return nodeNetworkConfig_ == null ? - com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() : nodeNetworkConfig_; + return nodeNetworkConfig_ == null + ? com.google.container.v1beta1.NodeNetworkConfig.getDefaultInstance() + : nodeNetworkConfig_; } } /** + * + * *
      * Node network config.
      * 
@@ -4321,14 +4870,17 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder> + com.google.container.v1beta1.NodeNetworkConfig, + com.google.container.v1beta1.NodeNetworkConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfigOrBuilder> getNodeNetworkConfigFieldBuilder() { if (nodeNetworkConfigBuilder_ == null) { - nodeNetworkConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodeNetworkConfig, com.google.container.v1beta1.NodeNetworkConfig.Builder, com.google.container.v1beta1.NodeNetworkConfigOrBuilder>( - getNodeNetworkConfig(), - getParentForChildren(), - isClean()); + nodeNetworkConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodeNetworkConfig, + com.google.container.v1beta1.NodeNetworkConfig.Builder, + com.google.container.v1beta1.NodeNetworkConfigOrBuilder>( + getNodeNetworkConfig(), getParentForChildren(), isClean()); nodeNetworkConfig_ = null; } return nodeNetworkConfigBuilder_; @@ -4336,34 +4888,47 @@ public com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkCon private com.google.container.v1beta1.GcfsConfig gcfsConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> gcfsConfigBuilder_; + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder> + gcfsConfigBuilder_; /** + * + * *
      * GCFS config.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; + * * @return Whether the gcfsConfig field is set. */ public boolean hasGcfsConfig() { return gcfsConfigBuilder_ != null || gcfsConfig_ != null; } /** + * + * *
      * GCFS config.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; + * * @return The gcfsConfig. */ public com.google.container.v1beta1.GcfsConfig getGcfsConfig() { if (gcfsConfigBuilder_ == null) { - return gcfsConfig_ == null ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } else { return gcfsConfigBuilder_.getMessage(); } } /** + * + * *
      * GCFS config.
      * 
@@ -4384,14 +4949,15 @@ public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS config.
      * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; */ - public Builder setGcfsConfig( - com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { + public Builder setGcfsConfig(com.google.container.v1beta1.GcfsConfig.Builder builderForValue) { if (gcfsConfigBuilder_ == null) { gcfsConfig_ = builderForValue.build(); onChanged(); @@ -4402,6 +4968,8 @@ public Builder setGcfsConfig( return this; } /** + * + * *
      * GCFS config.
      * 
@@ -4412,7 +4980,9 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { if (gcfsConfigBuilder_ == null) { if (gcfsConfig_ != null) { gcfsConfig_ = - com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.GcfsConfig.newBuilder(gcfsConfig_) + .mergeFrom(value) + .buildPartial(); } else { gcfsConfig_ = value; } @@ -4424,6 +4994,8 @@ public Builder mergeGcfsConfig(com.google.container.v1beta1.GcfsConfig value) { return this; } /** + * + * *
      * GCFS config.
      * 
@@ -4442,6 +5014,8 @@ public Builder clearGcfsConfig() { return this; } /** + * + * *
      * GCFS config.
      * 
@@ -4449,11 +5023,13 @@ public Builder clearGcfsConfig() { * .google.container.v1beta1.GcfsConfig gcfs_config = 22; */ public com.google.container.v1beta1.GcfsConfig.Builder getGcfsConfigBuilder() { - + onChanged(); return getGcfsConfigFieldBuilder().getBuilder(); } /** + * + * *
      * GCFS config.
      * 
@@ -4464,11 +5040,14 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() if (gcfsConfigBuilder_ != null) { return gcfsConfigBuilder_.getMessageOrBuilder(); } else { - return gcfsConfig_ == null ? - com.google.container.v1beta1.GcfsConfig.getDefaultInstance() : gcfsConfig_; + return gcfsConfig_ == null + ? com.google.container.v1beta1.GcfsConfig.getDefaultInstance() + : gcfsConfig_; } } /** + * + * *
      * GCFS config.
      * 
@@ -4476,14 +5055,17 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() * .google.container.v1beta1.GcfsConfig gcfs_config = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder> + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder> getGcfsConfigFieldBuilder() { if (gcfsConfigBuilder_ == null) { - gcfsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.GcfsConfig, com.google.container.v1beta1.GcfsConfig.Builder, com.google.container.v1beta1.GcfsConfigOrBuilder>( - getGcfsConfig(), - getParentForChildren(), - isClean()); + gcfsConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.GcfsConfig, + com.google.container.v1beta1.GcfsConfig.Builder, + com.google.container.v1beta1.GcfsConfigOrBuilder>( + getGcfsConfig(), getParentForChildren(), isClean()); gcfsConfig_ = null; } return gcfsConfigBuilder_; @@ -4491,36 +5073,49 @@ public com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder() private com.google.container.v1beta1.ConfidentialNodes confidentialNodes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> confidentialNodesBuilder_; + com.google.container.v1beta1.ConfidentialNodes, + com.google.container.v1beta1.ConfidentialNodes.Builder, + com.google.container.v1beta1.ConfidentialNodesOrBuilder> + confidentialNodesBuilder_; /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * * @return Whether the confidentialNodes field is set. */ public boolean hasConfidentialNodes() { return confidentialNodesBuilder_ != null || confidentialNodes_ != null; } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
      * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * * @return The confidentialNodes. */ public com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes() { if (confidentialNodesBuilder_ == null) { - return confidentialNodes_ == null ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_; + return confidentialNodes_ == null + ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() + : confidentialNodes_; } else { return confidentialNodesBuilder_.getMessage(); } } /** + * + * *
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4542,6 +5137,8 @@ public Builder setConfidentialNodes(com.google.container.v1beta1.ConfidentialNod
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4561,6 +5158,8 @@ public Builder setConfidentialNodes(
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4572,7 +5171,9 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       if (confidentialNodesBuilder_ == null) {
         if (confidentialNodes_ != null) {
           confidentialNodes_ =
-            com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ConfidentialNodes.newBuilder(confidentialNodes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           confidentialNodes_ = value;
         }
@@ -4584,6 +5185,8 @@ public Builder mergeConfidentialNodes(com.google.container.v1beta1.ConfidentialN
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4603,6 +5206,8 @@ public Builder clearConfidentialNodes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4611,11 +5216,13 @@ public Builder clearConfidentialNodes() {
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;
      */
     public com.google.container.v1beta1.ConfidentialNodes.Builder getConfidentialNodesBuilder() {
-      
+
       onChanged();
       return getConfidentialNodesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4627,11 +5234,14 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
       if (confidentialNodesBuilder_ != null) {
         return confidentialNodesBuilder_.getMessageOrBuilder();
       } else {
-        return confidentialNodes_ == null ?
-            com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance() : confidentialNodes_;
+        return confidentialNodes_ == null
+            ? com.google.container.v1beta1.ConfidentialNodes.getDefaultInstance()
+            : confidentialNodes_;
       }
     }
     /**
+     *
+     *
      * 
      * Confidential nodes config.
      * All the nodes in the node pool will be Confidential VM once enabled.
@@ -4640,14 +5250,17 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
      * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder> 
+            com.google.container.v1beta1.ConfidentialNodes,
+            com.google.container.v1beta1.ConfidentialNodes.Builder,
+            com.google.container.v1beta1.ConfidentialNodesOrBuilder>
         getConfidentialNodesFieldBuilder() {
       if (confidentialNodesBuilder_ == null) {
-        confidentialNodesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ConfidentialNodes, com.google.container.v1beta1.ConfidentialNodes.Builder, com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
-                getConfidentialNodes(),
-                getParentForChildren(),
-                isClean());
+        confidentialNodesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ConfidentialNodes,
+                com.google.container.v1beta1.ConfidentialNodes.Builder,
+                com.google.container.v1beta1.ConfidentialNodesOrBuilder>(
+                getConfidentialNodes(), getParentForChildren(), isClean());
         confidentialNodes_ = null;
       }
       return confidentialNodesBuilder_;
@@ -4655,34 +5268,47 @@ public com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNo
 
     private com.google.container.v1beta1.VirtualNIC gvnic_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> gvnicBuilder_;
+            com.google.container.v1beta1.VirtualNIC,
+            com.google.container.v1beta1.VirtualNIC.Builder,
+            com.google.container.v1beta1.VirtualNICOrBuilder>
+        gvnicBuilder_;
     /**
+     *
+     *
      * 
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ public boolean hasGvnic() { return gvnicBuilder_ != null || gvnic_ != null; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ public com.google.container.v1beta1.VirtualNIC getGvnic() { if (gvnicBuilder_ == null) { - return gvnic_ == null ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null + ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() + : gvnic_; } else { return gvnicBuilder_.getMessage(); } } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4703,14 +5329,15 @@ public Builder setGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; */ - public Builder setGvnic( - com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { + public Builder setGvnic(com.google.container.v1beta1.VirtualNIC.Builder builderForValue) { if (gvnicBuilder_ == null) { gvnic_ = builderForValue.build(); onChanged(); @@ -4721,6 +5348,8 @@ public Builder setGvnic( return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4731,7 +5360,9 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { if (gvnicBuilder_ == null) { if (gvnic_ != null) { gvnic_ = - com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.VirtualNIC.newBuilder(gvnic_) + .mergeFrom(value) + .buildPartial(); } else { gvnic_ = value; } @@ -4743,6 +5374,8 @@ public Builder mergeGvnic(com.google.container.v1beta1.VirtualNIC value) { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4761,6 +5394,8 @@ public Builder clearGvnic() { return this; } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4768,11 +5403,13 @@ public Builder clearGvnic() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ public com.google.container.v1beta1.VirtualNIC.Builder getGvnicBuilder() { - + onChanged(); return getGvnicFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4783,11 +5420,14 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { if (gvnicBuilder_ != null) { return gvnicBuilder_.getMessageOrBuilder(); } else { - return gvnic_ == null ? - com.google.container.v1beta1.VirtualNIC.getDefaultInstance() : gvnic_; + return gvnic_ == null + ? com.google.container.v1beta1.VirtualNIC.getDefaultInstance() + : gvnic_; } } /** + * + * *
      * Enable or disable gvnic on the node pool.
      * 
@@ -4795,14 +5435,17 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { * .google.container.v1beta1.VirtualNIC gvnic = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder> + com.google.container.v1beta1.VirtualNIC, + com.google.container.v1beta1.VirtualNIC.Builder, + com.google.container.v1beta1.VirtualNICOrBuilder> getGvnicFieldBuilder() { if (gvnicBuilder_ == null) { - gvnicBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.VirtualNIC, com.google.container.v1beta1.VirtualNIC.Builder, com.google.container.v1beta1.VirtualNICOrBuilder>( - getGvnic(), - getParentForChildren(), - isClean()); + gvnicBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.VirtualNIC, + com.google.container.v1beta1.VirtualNIC.Builder, + com.google.container.v1beta1.VirtualNICOrBuilder>( + getGvnic(), getParentForChildren(), isClean()); gvnic_ = null; } return gvnicBuilder_; @@ -4810,34 +5453,47 @@ public com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder() { private com.google.container.v1beta1.FastSocket fastSocket_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> fastSocketBuilder_; + com.google.container.v1beta1.FastSocket, + com.google.container.v1beta1.FastSocket.Builder, + com.google.container.v1beta1.FastSocketOrBuilder> + fastSocketBuilder_; /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1beta1.FastSocket fast_socket = 31; + * * @return Whether the fastSocket field is set. */ public boolean hasFastSocket() { return fastSocketBuilder_ != null || fastSocket_ != null; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1beta1.FastSocket fast_socket = 31; + * * @return The fastSocket. */ public com.google.container.v1beta1.FastSocket getFastSocket() { if (fastSocketBuilder_ == null) { - return fastSocket_ == null ? com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1beta1.FastSocket.getDefaultInstance() + : fastSocket_; } else { return fastSocketBuilder_.getMessage(); } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4858,14 +5514,15 @@ public Builder setFastSocket(com.google.container.v1beta1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
* * .google.container.v1beta1.FastSocket fast_socket = 31; */ - public Builder setFastSocket( - com.google.container.v1beta1.FastSocket.Builder builderForValue) { + public Builder setFastSocket(com.google.container.v1beta1.FastSocket.Builder builderForValue) { if (fastSocketBuilder_ == null) { fastSocket_ = builderForValue.build(); onChanged(); @@ -4876,6 +5533,8 @@ public Builder setFastSocket( return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4886,7 +5545,9 @@ public Builder mergeFastSocket(com.google.container.v1beta1.FastSocket value) { if (fastSocketBuilder_ == null) { if (fastSocket_ != null) { fastSocket_ = - com.google.container.v1beta1.FastSocket.newBuilder(fastSocket_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.FastSocket.newBuilder(fastSocket_) + .mergeFrom(value) + .buildPartial(); } else { fastSocket_ = value; } @@ -4898,6 +5559,8 @@ public Builder mergeFastSocket(com.google.container.v1beta1.FastSocket value) { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4916,6 +5579,8 @@ public Builder clearFastSocket() { return this; } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4923,11 +5588,13 @@ public Builder clearFastSocket() { * .google.container.v1beta1.FastSocket fast_socket = 31; */ public com.google.container.v1beta1.FastSocket.Builder getFastSocketBuilder() { - + onChanged(); return getFastSocketFieldBuilder().getBuilder(); } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4938,11 +5605,14 @@ public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() if (fastSocketBuilder_ != null) { return fastSocketBuilder_.getMessageOrBuilder(); } else { - return fastSocket_ == null ? - com.google.container.v1beta1.FastSocket.getDefaultInstance() : fastSocket_; + return fastSocket_ == null + ? com.google.container.v1beta1.FastSocket.getDefaultInstance() + : fastSocket_; } } /** + * + * *
      * Enable or disable NCCL fast socket for the node pool.
      * 
@@ -4950,14 +5620,17 @@ public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() * .google.container.v1beta1.FastSocket fast_socket = 31; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder> + com.google.container.v1beta1.FastSocket, + com.google.container.v1beta1.FastSocket.Builder, + com.google.container.v1beta1.FastSocketOrBuilder> getFastSocketFieldBuilder() { if (fastSocketBuilder_ == null) { - fastSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.FastSocket, com.google.container.v1beta1.FastSocket.Builder, com.google.container.v1beta1.FastSocketOrBuilder>( - getFastSocket(), - getParentForChildren(), - isClean()); + fastSocketBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.FastSocket, + com.google.container.v1beta1.FastSocket.Builder, + com.google.container.v1beta1.FastSocketOrBuilder>( + getFastSocket(), getParentForChildren(), isClean()); fastSocket_ = null; } return fastSocketBuilder_; @@ -4965,34 +5638,47 @@ public com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder() private com.google.container.v1beta1.NodePoolLoggingConfig loggingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> loggingConfigBuilder_; + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + loggingConfigBuilder_; /** + * + * *
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; + * * @return Whether the loggingConfig field is set. */ public boolean hasLoggingConfig() { return loggingConfigBuilder_ != null || loggingConfig_ != null; } /** + * + * *
      * Logging configuration.
      * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; + * * @return The loggingConfig. */ public com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig() { if (loggingConfigBuilder_ == null) { - return loggingConfig_ == null ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } else { return loggingConfigBuilder_.getMessage(); } } /** + * + * *
      * Logging configuration.
      * 
@@ -5013,6 +5699,8 @@ public Builder setLoggingConfig(com.google.container.v1beta1.NodePoolLoggingConf return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5031,6 +5719,8 @@ public Builder setLoggingConfig( return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5041,7 +5731,9 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo if (loggingConfigBuilder_ == null) { if (loggingConfig_ != null) { loggingConfig_ = - com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.NodePoolLoggingConfig.newBuilder(loggingConfig_) + .mergeFrom(value) + .buildPartial(); } else { loggingConfig_ = value; } @@ -5053,6 +5745,8 @@ public Builder mergeLoggingConfig(com.google.container.v1beta1.NodePoolLoggingCo return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5071,6 +5765,8 @@ public Builder clearLoggingConfig() { return this; } /** + * + * *
      * Logging configuration.
      * 
@@ -5078,11 +5774,13 @@ public Builder clearLoggingConfig() { * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; */ public com.google.container.v1beta1.NodePoolLoggingConfig.Builder getLoggingConfigBuilder() { - + onChanged(); return getLoggingConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Logging configuration.
      * 
@@ -5093,11 +5791,14 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon if (loggingConfigBuilder_ != null) { return loggingConfigBuilder_.getMessageOrBuilder(); } else { - return loggingConfig_ == null ? - com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() : loggingConfig_; + return loggingConfig_ == null + ? com.google.container.v1beta1.NodePoolLoggingConfig.getDefaultInstance() + : loggingConfig_; } } /** + * + * *
      * Logging configuration.
      * 
@@ -5105,14 +5806,17 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder> getLoggingConfigFieldBuilder() { if (loggingConfigBuilder_ == null) { - loggingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.NodePoolLoggingConfig, com.google.container.v1beta1.NodePoolLoggingConfig.Builder, com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( - getLoggingConfig(), - getParentForChildren(), - isClean()); + loggingConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.NodePoolLoggingConfig, + com.google.container.v1beta1.NodePoolLoggingConfig.Builder, + com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder>( + getLoggingConfig(), getParentForChildren(), isClean()); loggingConfig_ = null; } return loggingConfigBuilder_; @@ -5120,36 +5824,49 @@ public com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingCon private com.google.container.v1beta1.ResourceLabels resourceLabels_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ResourceLabels, com.google.container.v1beta1.ResourceLabels.Builder, com.google.container.v1beta1.ResourceLabelsOrBuilder> resourceLabelsBuilder_; + com.google.container.v1beta1.ResourceLabels, + com.google.container.v1beta1.ResourceLabels.Builder, + com.google.container.v1beta1.ResourceLabelsOrBuilder> + resourceLabelsBuilder_; /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; + * * @return Whether the resourceLabels field is set. */ public boolean hasResourceLabels() { return resourceLabelsBuilder_ != null || resourceLabels_ != null; } /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
      * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; + * * @return The resourceLabels. */ public com.google.container.v1beta1.ResourceLabels getResourceLabels() { if (resourceLabelsBuilder_ == null) { - return resourceLabels_ == null ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() : resourceLabels_; + return resourceLabels_ == null + ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance() + : resourceLabels_; } else { return resourceLabelsBuilder_.getMessage(); } } /** + * + * *
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5171,6 +5888,8 @@ public Builder setResourceLabels(com.google.container.v1beta1.ResourceLabels val
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5190,6 +5909,8 @@ public Builder setResourceLabels(
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5201,7 +5922,9 @@ public Builder mergeResourceLabels(com.google.container.v1beta1.ResourceLabels v
       if (resourceLabelsBuilder_ == null) {
         if (resourceLabels_ != null) {
           resourceLabels_ =
-            com.google.container.v1beta1.ResourceLabels.newBuilder(resourceLabels_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ResourceLabels.newBuilder(resourceLabels_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           resourceLabels_ = value;
         }
@@ -5213,6 +5936,8 @@ public Builder mergeResourceLabels(com.google.container.v1beta1.ResourceLabels v
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5232,6 +5957,8 @@ public Builder clearResourceLabels() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5240,11 +5967,13 @@ public Builder clearResourceLabels() {
      * .google.container.v1beta1.ResourceLabels resource_labels = 33;
      */
     public com.google.container.v1beta1.ResourceLabels.Builder getResourceLabelsBuilder() {
-      
+
       onChanged();
       return getResourceLabelsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5256,11 +5985,14 @@ public com.google.container.v1beta1.ResourceLabelsOrBuilder getResourceLabelsOrB
       if (resourceLabelsBuilder_ != null) {
         return resourceLabelsBuilder_.getMessageOrBuilder();
       } else {
-        return resourceLabels_ == null ?
-            com.google.container.v1beta1.ResourceLabels.getDefaultInstance() : resourceLabels_;
+        return resourceLabels_ == null
+            ? com.google.container.v1beta1.ResourceLabels.getDefaultInstance()
+            : resourceLabels_;
       }
     }
     /**
+     *
+     *
      * 
      * The resource labels for the node pool to use to annotate any related
      * Google Compute Engine resources.
@@ -5269,21 +6001,24 @@ public com.google.container.v1beta1.ResourceLabelsOrBuilder getResourceLabelsOrB
      * .google.container.v1beta1.ResourceLabels resource_labels = 33;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ResourceLabels, com.google.container.v1beta1.ResourceLabels.Builder, com.google.container.v1beta1.ResourceLabelsOrBuilder> 
+            com.google.container.v1beta1.ResourceLabels,
+            com.google.container.v1beta1.ResourceLabels.Builder,
+            com.google.container.v1beta1.ResourceLabelsOrBuilder>
         getResourceLabelsFieldBuilder() {
       if (resourceLabelsBuilder_ == null) {
-        resourceLabelsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ResourceLabels, com.google.container.v1beta1.ResourceLabels.Builder, com.google.container.v1beta1.ResourceLabelsOrBuilder>(
-                getResourceLabels(),
-                getParentForChildren(),
-                isClean());
+        resourceLabelsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ResourceLabels,
+                com.google.container.v1beta1.ResourceLabels.Builder,
+                com.google.container.v1beta1.ResourceLabelsOrBuilder>(
+                getResourceLabels(), getParentForChildren(), isClean());
         resourceLabels_ = null;
       }
       return resourceLabelsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -5293,12 +6028,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpdateNodePoolRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpdateNodePoolRequest)
   private static final com.google.container.v1beta1.UpdateNodePoolRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.UpdateNodePoolRequest();
   }
@@ -5307,27 +6042,27 @@ public static com.google.container.v1beta1.UpdateNodePoolRequest getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateNodePoolRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateNodePoolRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -5342,6 +6077,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.UpdateNodePoolRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/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
similarity index 86%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpdateNodePoolRequestOrBuilder.java
index 03b5d13c4df5..491c0c7d2c54 100644
--- a/owl-bot-staging/java-container/v1beta1/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
@@ -1,41 +1,68 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
 
 package com.google.container.v1beta1;
 
-public interface UpdateNodePoolRequestOrBuilder extends
+public interface UpdateNodePoolRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpdateNodePoolRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The projectId. */ - @java.lang.Deprecated java.lang.String getProjectId(); + @java.lang.Deprecated + java.lang.String getProjectId(); /** + * + * *
    * Required. Deprecated. The Google Developers Console [project ID or project
    * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
    * This field has been deprecated and replaced by the name field.
    * 
* - * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2456 + * string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.project_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2456 * @return The bytes for projectId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getProjectIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -44,12 +71,16 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @return The zone. */ - @java.lang.Deprecated java.lang.String getZone(); + @java.lang.Deprecated + java.lang.String getZone(); /** + * + * *
    * Required. Deprecated. The name of the Google Compute Engine
    * [zone](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -58,66 +89,87 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * 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=2465 + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.zone is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2465 * @return The bytes for zone. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getZoneBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getZoneBytes(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The clusterId. */ - @java.lang.Deprecated java.lang.String getClusterId(); + @java.lang.Deprecated + java.lang.String getClusterId(); /** + * + * *
    * Required. Deprecated. The name of the cluster to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2472 + * string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.cluster_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2472 * @return The bytes for clusterId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getClusterIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getClusterIdBytes(); /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The nodePoolId. */ - @java.lang.Deprecated java.lang.String getNodePoolId(); + @java.lang.Deprecated + java.lang.String getNodePoolId(); /** + * + * *
    * Required. Deprecated. The name of the node pool to upgrade.
    * This field has been deprecated and replaced by the name field.
    * 
* - * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; - * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=2479 + * string node_pool_id = 4 [deprecated = true, (.google.api.field_behavior) = REQUIRED]; + * + * + * @deprecated google.container.v1beta1.UpdateNodePoolRequest.node_pool_id is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=2479 * @return The bytes for nodePoolId. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getNodePoolIdBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getNodePoolIdBytes(); /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -131,10 +183,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The nodeVersion. */ java.lang.String getNodeVersion(); /** + * + * *
    * Required. The Kubernetes version to change the nodes to (typically an
    * upgrade).
@@ -148,32 +203,39 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string node_version = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for nodeVersion. */ - com.google.protobuf.ByteString - getNodeVersionBytes(); + com.google.protobuf.ByteString getNodeVersionBytes(); /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
    * Required. The desired image type for the node pool.
    * 
* * string image_type = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -183,11 +245,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return A list containing the locations. */ - java.util.List - getLocationsList(); + java.util.List getLocationsList(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -197,10 +261,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @return The count of locations. */ int getLocationsCount(); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -210,11 +277,14 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the element to return. * @return The locations at the given index. */ java.lang.String getLocations(int index); /** + * + * *
    * The desired list of Google Compute Engine
    * [zones](https://cloud.google.com/compute/docs/zones#available) in which the
@@ -224,31 +294,39 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * repeated string locations = 13; + * * @param index The index of the value to return. * @return The bytes of the locations at the given index. */ - com.google.protobuf.ByteString - getLocationsBytes(int index); + com.google.protobuf.ByteString getLocationsBytes(int index); /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return Whether the workloadMetadataConfig field is set. */ boolean hasWorkloadMetadataConfig(); /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig workload_metadata_config = 14; + * * @return The workloadMetadataConfig. */ com.google.container.v1beta1.WorkloadMetadataConfig getWorkloadMetadataConfig(); /** + * + * *
    * The desired workload metadata config for the node pool.
    * 
@@ -258,6 +336,8 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder getWorkloadMetadataConfigOrBuilder(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -265,10 +345,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string name = 8; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name (project, location, cluster, node pool) of the node pool to
    * update. Specified in the format
@@ -276,30 +359,38 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * string name = 8; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return Whether the upgradeSettings field is set. */ boolean hasUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
* * .google.container.v1beta1.NodePool.UpgradeSettings upgrade_settings = 15; + * * @return The upgradeSettings. */ com.google.container.v1beta1.NodePool.UpgradeSettings getUpgradeSettings(); /** + * + * *
    * Upgrade settings control disruption and speed of the upgrade.
    * 
@@ -309,6 +400,8 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder(); /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -316,10 +409,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; + * * @return Whether the tags field is set. */ boolean hasTags(); /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -327,10 +423,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1beta1.NetworkTags tags = 16; + * * @return The tags. */ com.google.container.v1beta1.NetworkTags getTags(); /** + * + * *
    * The desired network tags to be applied to all nodes in the node pool.
    * If this field is not present, the tags will not be changed. Otherwise,
@@ -342,6 +441,8 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1beta1.NetworkTagsOrBuilder getTagsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -349,10 +450,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; + * * @return Whether the taints field is set. */ boolean hasTaints(); /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -360,10 +464,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1beta1.NodeTaints taints = 17; + * * @return The taints. */ com.google.container.v1beta1.NodeTaints getTaints(); /** + * + * *
    * The desired node taints to be applied to all nodes in the node pool.
    * If this field is not present, the taints will not be changed. Otherwise,
@@ -375,6 +482,8 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1beta1.NodeTaintsOrBuilder getTaintsOrBuilder();
 
   /**
+   *
+   *
    * 
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -382,10 +491,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; + * * @return Whether the labels field is set. */ boolean hasLabels(); /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -393,10 +505,13 @@ public interface UpdateNodePoolRequestOrBuilder extends
    * 
* * .google.container.v1beta1.NodeLabels labels = 18; + * * @return The labels. */ com.google.container.v1beta1.NodeLabels getLabels(); /** + * + * *
    * The desired node labels to be applied to all nodes in the node pool.
    * If this field is not present, the labels will not be changed. Otherwise,
@@ -408,24 +523,32 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1beta1.NodeLabelsOrBuilder getLabelsOrBuilder();
 
   /**
+   *
+   *
    * 
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; + * * @return Whether the linuxNodeConfig field is set. */ boolean hasLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
* * .google.container.v1beta1.LinuxNodeConfig linux_node_config = 19; + * * @return The linuxNodeConfig. */ com.google.container.v1beta1.LinuxNodeConfig getLinuxNodeConfig(); /** + * + * *
    * Parameters that can be configured on Linux nodes.
    * 
@@ -435,24 +558,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.LinuxNodeConfigOrBuilder getLinuxNodeConfigOrBuilder(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; + * * @return Whether the kubeletConfig field is set. */ boolean hasKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
* * .google.container.v1beta1.NodeKubeletConfig kubelet_config = 20; + * * @return The kubeletConfig. */ com.google.container.v1beta1.NodeKubeletConfig getKubeletConfig(); /** + * + * *
    * Node kubelet configs.
    * 
@@ -462,24 +593,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.NodeKubeletConfigOrBuilder getKubeletConfigOrBuilder(); /** + * + * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * * @return Whether the nodeNetworkConfig field is set. */ boolean hasNodeNetworkConfig(); /** + * + * *
    * Node network config.
    * 
* * .google.container.v1beta1.NodeNetworkConfig node_network_config = 21; + * * @return The nodeNetworkConfig. */ com.google.container.v1beta1.NodeNetworkConfig getNodeNetworkConfig(); /** + * + * *
    * Node network config.
    * 
@@ -489,24 +628,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.NodeNetworkConfigOrBuilder getNodeNetworkConfigOrBuilder(); /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; + * * @return Whether the gcfsConfig field is set. */ boolean hasGcfsConfig(); /** + * + * *
    * GCFS config.
    * 
* * .google.container.v1beta1.GcfsConfig gcfs_config = 22; + * * @return The gcfsConfig. */ com.google.container.v1beta1.GcfsConfig getGcfsConfig(); /** + * + * *
    * GCFS config.
    * 
@@ -516,26 +663,34 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.GcfsConfigOrBuilder getGcfsConfigOrBuilder(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * * @return Whether the confidentialNodes field is set. */ boolean hasConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
    * 
* * .google.container.v1beta1.ConfidentialNodes confidential_nodes = 23; + * * @return The confidentialNodes. */ com.google.container.v1beta1.ConfidentialNodes getConfidentialNodes(); /** + * + * *
    * Confidential nodes config.
    * All the nodes in the node pool will be Confidential VM once enabled.
@@ -546,24 +701,32 @@ public interface UpdateNodePoolRequestOrBuilder extends
   com.google.container.v1beta1.ConfidentialNodesOrBuilder getConfidentialNodesOrBuilder();
 
   /**
+   *
+   *
    * 
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return Whether the gvnic field is set. */ boolean hasGvnic(); /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
* * .google.container.v1beta1.VirtualNIC gvnic = 29; + * * @return The gvnic. */ com.google.container.v1beta1.VirtualNIC getGvnic(); /** + * + * *
    * Enable or disable gvnic on the node pool.
    * 
@@ -573,24 +736,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.VirtualNICOrBuilder getGvnicOrBuilder(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1beta1.FastSocket fast_socket = 31; + * * @return Whether the fastSocket field is set. */ boolean hasFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
* * .google.container.v1beta1.FastSocket fast_socket = 31; + * * @return The fastSocket. */ com.google.container.v1beta1.FastSocket getFastSocket(); /** + * + * *
    * Enable or disable NCCL fast socket for the node pool.
    * 
@@ -600,24 +771,32 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.FastSocketOrBuilder getFastSocketOrBuilder(); /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; + * * @return Whether the loggingConfig field is set. */ boolean hasLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
* * .google.container.v1beta1.NodePoolLoggingConfig logging_config = 32; + * * @return The loggingConfig. */ com.google.container.v1beta1.NodePoolLoggingConfig getLoggingConfig(); /** + * + * *
    * Logging configuration.
    * 
@@ -627,26 +806,34 @@ public interface UpdateNodePoolRequestOrBuilder extends com.google.container.v1beta1.NodePoolLoggingConfigOrBuilder getLoggingConfigOrBuilder(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; + * * @return Whether the resourceLabels field is set. */ boolean hasResourceLabels(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
    * 
* * .google.container.v1beta1.ResourceLabels resource_labels = 33; + * * @return The resourceLabels. */ com.google.container.v1beta1.ResourceLabels getResourceLabels(); /** + * + * *
    * The resource labels for the node pool to use to annotate any related
    * Google Compute Engine resources.
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
similarity index 71%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
index 3642e9ecfe02..640eafbf815e 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEvent.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * UpgradeAvailableEvent is a notification sent to customers when a new
  * available version is released.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.UpgradeAvailableEvent}
  */
-public final class UpgradeAvailableEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpgradeAvailableEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpgradeAvailableEvent)
     UpgradeAvailableEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpgradeAvailableEvent.newBuilder() to construct.
   private UpgradeAvailableEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpgradeAvailableEvent() {
     version_ = "";
     resourceType_ = 0;
@@ -28,37 +46,41 @@ private UpgradeAvailableEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpgradeAvailableEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.UpgradeAvailableEvent.class, com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
+            com.google.container.v1beta1.UpgradeAvailableEvent.class,
+            com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
   }
 
   public static final int VERSION_FIELD_NUMBER = 1;
   private volatile java.lang.Object version_;
   /**
+   *
+   *
    * 
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The version. */ @java.lang.Override @@ -67,29 +89,29 @@ public java.lang.String getVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; } } /** + * + * *
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The bytes for version. */ @java.lang.Override - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -100,39 +122,51 @@ public java.lang.String getVersion() { public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private int resourceType_; /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @return The resourceType. */ - @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { + @java.lang.Override + public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1beta1.UpgradeResourceType result = + com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int RELEASE_CHANNEL_FIELD_NUMBER = 3; private com.google.container.v1beta1.ReleaseChannel releaseChannel_; /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; + * * @return Whether the releaseChannel field is set. */ @java.lang.Override @@ -140,19 +174,26 @@ public boolean hasReleaseChannel() { return releaseChannel_ != null; } /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; + * * @return The releaseChannel. */ @java.lang.Override public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { - return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -168,12 +209,15 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
   public static final int RESOURCE_FIELD_NUMBER = 4;
   private volatile java.lang.Object resource_;
   /**
+   *
+   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The resource. */ @java.lang.Override @@ -182,30 +226,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -216,11 +260,14 @@ public java.lang.String getResource() { public static final int WINDOWS_VERSIONS_FIELD_NUMBER = 5; private com.google.container.v1beta1.WindowsVersions windowsVersions_; /** + * + * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; + * * @return Whether the windowsVersions field is set. */ @java.lang.Override @@ -228,18 +275,25 @@ public boolean hasWindowsVersions() { return windowsVersions_ != null; } /** + * + * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; + * * @return The windowsVersions. */ @java.lang.Override public com.google.container.v1beta1.WindowsVersions getWindowsVersions() { - return windowsVersions_ == null ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() : windowsVersions_; + return windowsVersions_ == null + ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() + : windowsVersions_; } /** + * + * *
    * Windows node versions info.
    * 
@@ -252,6 +306,7 @@ public com.google.container.v1beta1.WindowsVersionsOrBuilder getWindowsVersionsO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,12 +318,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } - if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + if (resourceType_ + != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, resourceType_); } if (releaseChannel_ != null) { @@ -292,20 +348,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } - if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, resourceType_); + if (resourceType_ + != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, resourceType_); } if (releaseChannel_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getReleaseChannel()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReleaseChannel()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resource_); } if (windowsVersions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getWindowsVersions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getWindowsVersions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -315,27 +370,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpgradeAvailableEvent)) { return super.equals(obj); } - com.google.container.v1beta1.UpgradeAvailableEvent other = (com.google.container.v1beta1.UpgradeAvailableEvent) obj; + com.google.container.v1beta1.UpgradeAvailableEvent other = + (com.google.container.v1beta1.UpgradeAvailableEvent) obj; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (resourceType_ != other.resourceType_) return false; if (hasReleaseChannel() != other.hasReleaseChannel()) return false; if (hasReleaseChannel()) { - if (!getReleaseChannel() - .equals(other.getReleaseChannel())) return false; + if (!getReleaseChannel().equals(other.getReleaseChannel())) return false; } - if (!getResource() - .equals(other.getResource())) return false; + if (!getResource().equals(other.getResource())) return false; if (hasWindowsVersions() != other.hasWindowsVersions()) return false; if (hasWindowsVersions()) { - if (!getWindowsVersions() - .equals(other.getWindowsVersions())) return false; + if (!getWindowsVersions().equals(other.getWindowsVersions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -368,96 +420,103 @@ public int hashCode() { } public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeAvailableEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( 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.UpgradeAvailableEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpgradeAvailableEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UpgradeAvailableEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpgradeAvailableEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpgradeAvailableEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.UpgradeAvailableEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpgradeAvailableEvent is a notification sent to customers when a new
    * available version is released.
@@ -465,33 +524,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.UpgradeAvailableEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpgradeAvailableEvent)
       com.google.container.v1beta1.UpgradeAvailableEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.UpgradeAvailableEvent.class, com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
+              com.google.container.v1beta1.UpgradeAvailableEvent.class,
+              com.google.container.v1beta1.UpgradeAvailableEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.UpgradeAvailableEvent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -517,9 +575,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor;
     }
 
     @java.lang.Override
@@ -538,7 +596,8 @@ public com.google.container.v1beta1.UpgradeAvailableEvent build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.UpgradeAvailableEvent buildPartial() {
-      com.google.container.v1beta1.UpgradeAvailableEvent result = new com.google.container.v1beta1.UpgradeAvailableEvent(this);
+      com.google.container.v1beta1.UpgradeAvailableEvent result =
+          new com.google.container.v1beta1.UpgradeAvailableEvent(this);
       result.version_ = version_;
       result.resourceType_ = resourceType_;
       if (releaseChannelBuilder_ == null) {
@@ -560,38 +619,39 @@ public com.google.container.v1beta1.UpgradeAvailableEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.UpgradeAvailableEvent) {
-        return mergeFrom((com.google.container.v1beta1.UpgradeAvailableEvent)other);
+        return mergeFrom((com.google.container.v1beta1.UpgradeAvailableEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,7 +659,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.UpgradeAvailableEvent other) {
-      if (other == com.google.container.v1beta1.UpgradeAvailableEvent.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.UpgradeAvailableEvent.getDefaultInstance())
+        return this;
       if (!other.getVersion().isEmpty()) {
         version_ = other.version_;
         onChanged();
@@ -643,41 +704,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              version_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              resourceType_ = input.readEnum();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getReleaseChannelFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              resource_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getWindowsVersionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                version_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                resourceType_ = input.readEnum();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getReleaseChannelFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                resource_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getWindowsVersionsFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -690,18 +753,20 @@ public Builder mergeFrom(
 
     private java.lang.Object version_ = "";
     /**
+     *
+     *
      * 
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @return The version. */ public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); version_ = s; return s; @@ -710,20 +775,21 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @return The bytes for version. */ - public com.google.protobuf.ByteString - getVersionBytes() { + public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); version_ = b; return b; } else { @@ -731,54 +797,61 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The release version available for upgrade.
      * 
* * string version = 1; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; @@ -786,51 +859,67 @@ public Builder setVersionBytes( private int resourceType_ = 0; /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @return The resourceType. */ @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); - return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; + com.google.container.v1beta1.UpgradeResourceType result = + com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + return result == null + ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED + : result; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -838,21 +927,24 @@ public Builder setResourceType(com.google.container.v1beta1.UpgradeResourceType if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The resource type of the release version.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -860,36 +952,49 @@ public Builder clearResourceType() { private com.google.container.v1beta1.ReleaseChannel releaseChannel_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> releaseChannelBuilder_; + com.google.container.v1beta1.ReleaseChannel, + com.google.container.v1beta1.ReleaseChannel.Builder, + com.google.container.v1beta1.ReleaseChannelOrBuilder> + releaseChannelBuilder_; /** + * + * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; + * * @return Whether the releaseChannel field is set. */ public boolean hasReleaseChannel() { return releaseChannelBuilder_ != null || releaseChannel_ != null; } /** + * + * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
      * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; + * * @return The releaseChannel. */ public com.google.container.v1beta1.ReleaseChannel getReleaseChannel() { if (releaseChannelBuilder_ == null) { - return releaseChannel_ == null ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_; + return releaseChannel_ == null + ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() + : releaseChannel_; } else { return releaseChannelBuilder_.getMessage(); } } /** + * + * *
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -911,6 +1016,8 @@ public Builder setReleaseChannel(com.google.container.v1beta1.ReleaseChannel val
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -930,6 +1037,8 @@ public Builder setReleaseChannel(
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -941,7 +1050,9 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v
       if (releaseChannelBuilder_ == null) {
         if (releaseChannel_ != null) {
           releaseChannel_ =
-            com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_).mergeFrom(value).buildPartial();
+              com.google.container.v1beta1.ReleaseChannel.newBuilder(releaseChannel_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           releaseChannel_ = value;
         }
@@ -953,6 +1064,8 @@ public Builder mergeReleaseChannel(com.google.container.v1beta1.ReleaseChannel v
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -972,6 +1085,8 @@ public Builder clearReleaseChannel() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -980,11 +1095,13 @@ public Builder clearReleaseChannel() {
      * .google.container.v1beta1.ReleaseChannel release_channel = 3;
      */
     public com.google.container.v1beta1.ReleaseChannel.Builder getReleaseChannelBuilder() {
-      
+
       onChanged();
       return getReleaseChannelFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -996,11 +1113,14 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
       if (releaseChannelBuilder_ != null) {
         return releaseChannelBuilder_.getMessageOrBuilder();
       } else {
-        return releaseChannel_ == null ?
-            com.google.container.v1beta1.ReleaseChannel.getDefaultInstance() : releaseChannel_;
+        return releaseChannel_ == null
+            ? com.google.container.v1beta1.ReleaseChannel.getDefaultInstance()
+            : releaseChannel_;
       }
     }
     /**
+     *
+     *
      * 
      * The release channel of the version. If empty, it means a non-channel
      * release.
@@ -1009,14 +1129,17 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
      * .google.container.v1beta1.ReleaseChannel release_channel = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder> 
+            com.google.container.v1beta1.ReleaseChannel,
+            com.google.container.v1beta1.ReleaseChannel.Builder,
+            com.google.container.v1beta1.ReleaseChannelOrBuilder>
         getReleaseChannelFieldBuilder() {
       if (releaseChannelBuilder_ == null) {
-        releaseChannelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.container.v1beta1.ReleaseChannel, com.google.container.v1beta1.ReleaseChannel.Builder, com.google.container.v1beta1.ReleaseChannelOrBuilder>(
-                getReleaseChannel(),
-                getParentForChildren(),
-                isClean());
+        releaseChannelBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.container.v1beta1.ReleaseChannel,
+                com.google.container.v1beta1.ReleaseChannel.Builder,
+                com.google.container.v1beta1.ReleaseChannelOrBuilder>(
+                getReleaseChannel(), getParentForChildren(), isClean());
         releaseChannel_ = null;
       }
       return releaseChannelBuilder_;
@@ -1024,19 +1147,21 @@ public com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrB
 
     private java.lang.Object resource_ = "";
     /**
+     *
+     *
      * 
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1045,21 +1170,22 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -1067,57 +1193,64 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example, the relative path of
      * the node pool.
      * 
* * string resource = 4; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; @@ -1125,34 +1258,47 @@ public Builder setResourceBytes( private com.google.container.v1beta1.WindowsVersions windowsVersions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions, com.google.container.v1beta1.WindowsVersions.Builder, com.google.container.v1beta1.WindowsVersionsOrBuilder> windowsVersionsBuilder_; + com.google.container.v1beta1.WindowsVersions, + com.google.container.v1beta1.WindowsVersions.Builder, + com.google.container.v1beta1.WindowsVersionsOrBuilder> + windowsVersionsBuilder_; /** + * + * *
      * Windows node versions info.
      * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; + * * @return Whether the windowsVersions field is set. */ public boolean hasWindowsVersions() { return windowsVersionsBuilder_ != null || windowsVersions_ != null; } /** + * + * *
      * Windows node versions info.
      * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; + * * @return The windowsVersions. */ public com.google.container.v1beta1.WindowsVersions getWindowsVersions() { if (windowsVersionsBuilder_ == null) { - return windowsVersions_ == null ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() : windowsVersions_; + return windowsVersions_ == null + ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() + : windowsVersions_; } else { return windowsVersionsBuilder_.getMessage(); } } /** + * + * *
      * Windows node versions info.
      * 
@@ -1173,6 +1319,8 @@ public Builder setWindowsVersions(com.google.container.v1beta1.WindowsVersions v return this; } /** + * + * *
      * Windows node versions info.
      * 
@@ -1191,6 +1339,8 @@ public Builder setWindowsVersions( return this; } /** + * + * *
      * Windows node versions info.
      * 
@@ -1201,7 +1351,9 @@ public Builder mergeWindowsVersions(com.google.container.v1beta1.WindowsVersions if (windowsVersionsBuilder_ == null) { if (windowsVersions_ != null) { windowsVersions_ = - com.google.container.v1beta1.WindowsVersions.newBuilder(windowsVersions_).mergeFrom(value).buildPartial(); + com.google.container.v1beta1.WindowsVersions.newBuilder(windowsVersions_) + .mergeFrom(value) + .buildPartial(); } else { windowsVersions_ = value; } @@ -1213,6 +1365,8 @@ public Builder mergeWindowsVersions(com.google.container.v1beta1.WindowsVersions return this; } /** + * + * *
      * Windows node versions info.
      * 
@@ -1231,6 +1385,8 @@ public Builder clearWindowsVersions() { return this; } /** + * + * *
      * Windows node versions info.
      * 
@@ -1238,11 +1394,13 @@ public Builder clearWindowsVersions() { * .google.container.v1beta1.WindowsVersions windows_versions = 5; */ public com.google.container.v1beta1.WindowsVersions.Builder getWindowsVersionsBuilder() { - + onChanged(); return getWindowsVersionsFieldBuilder().getBuilder(); } /** + * + * *
      * Windows node versions info.
      * 
@@ -1253,11 +1411,14 @@ public com.google.container.v1beta1.WindowsVersionsOrBuilder getWindowsVersionsO if (windowsVersionsBuilder_ != null) { return windowsVersionsBuilder_.getMessageOrBuilder(); } else { - return windowsVersions_ == null ? - com.google.container.v1beta1.WindowsVersions.getDefaultInstance() : windowsVersions_; + return windowsVersions_ == null + ? com.google.container.v1beta1.WindowsVersions.getDefaultInstance() + : windowsVersions_; } } /** + * + * *
      * Windows node versions info.
      * 
@@ -1265,21 +1426,24 @@ public com.google.container.v1beta1.WindowsVersionsOrBuilder getWindowsVersionsO * .google.container.v1beta1.WindowsVersions windows_versions = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions, com.google.container.v1beta1.WindowsVersions.Builder, com.google.container.v1beta1.WindowsVersionsOrBuilder> + com.google.container.v1beta1.WindowsVersions, + com.google.container.v1beta1.WindowsVersions.Builder, + com.google.container.v1beta1.WindowsVersionsOrBuilder> getWindowsVersionsFieldBuilder() { if (windowsVersionsBuilder_ == null) { - windowsVersionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions, com.google.container.v1beta1.WindowsVersions.Builder, com.google.container.v1beta1.WindowsVersionsOrBuilder>( - getWindowsVersions(), - getParentForChildren(), - isClean()); + windowsVersionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.container.v1beta1.WindowsVersions, + com.google.container.v1beta1.WindowsVersions.Builder, + com.google.container.v1beta1.WindowsVersionsOrBuilder>( + getWindowsVersions(), getParentForChildren(), isClean()); windowsVersions_ = null; } return windowsVersionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1289,12 +1453,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpgradeAvailableEvent) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpgradeAvailableEvent) private static final com.google.container.v1beta1.UpgradeAvailableEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpgradeAvailableEvent(); } @@ -1303,27 +1467,27 @@ public static com.google.container.v1beta1.UpgradeAvailableEvent getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeAvailableEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeAvailableEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1338,6 +1502,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpgradeAvailableEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java similarity index 77% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java index d82a31892276..25095b9b3422 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeAvailableEventOrBuilder.java @@ -1,72 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface UpgradeAvailableEventOrBuilder extends +public interface UpgradeAvailableEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpgradeAvailableEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The release version available for upgrade.
    * 
* * string version = 1; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** + * + * *
    * The resource type of the release version.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 2; + * * @return The resourceType. */ com.google.container.v1beta1.UpgradeResourceType getResourceType(); /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; + * * @return Whether the releaseChannel field is set. */ boolean hasReleaseChannel(); /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
    * 
* * .google.container.v1beta1.ReleaseChannel release_channel = 3; + * * @return The releaseChannel. */ com.google.container.v1beta1.ReleaseChannel getReleaseChannel(); /** + * + * *
    * The release channel of the version. If empty, it means a non-channel
    * release.
@@ -77,46 +112,59 @@ public interface UpgradeAvailableEventOrBuilder extends
   com.google.container.v1beta1.ReleaseChannelOrBuilder getReleaseChannelOrBuilder();
 
   /**
+   *
+   *
    * 
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Optional relative path to the resource. For example, the relative path of
    * the node pool.
    * 
* * string resource = 4; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); /** + * + * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; + * * @return Whether the windowsVersions field is set. */ boolean hasWindowsVersions(); /** + * + * *
    * Windows node versions info.
    * 
* * .google.container.v1beta1.WindowsVersions windows_versions = 5; + * * @return The windowsVersions. */ com.google.container.v1beta1.WindowsVersions getWindowsVersions(); /** + * + * *
    * Windows node versions info.
    * 
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java index b2d42dc7d09f..ec33f5370883 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEvent.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * UpgradeEvent is a notification sent to customers by the cluster server when
  * a resource is upgrading.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.UpgradeEvent}
  */
-public final class UpgradeEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UpgradeEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.UpgradeEvent)
     UpgradeEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UpgradeEvent.newBuilder() to construct.
   private UpgradeEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UpgradeEvent() {
     resourceType_ = 0;
     operation_ = "";
@@ -30,64 +48,77 @@ private UpgradeEvent() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UpgradeEvent();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.UpgradeEvent.class, com.google.container.v1beta1.UpgradeEvent.Builder.class);
+            com.google.container.v1beta1.UpgradeEvent.class,
+            com.google.container.v1beta1.UpgradeEvent.Builder.class);
   }
 
   public static final int RESOURCE_TYPE_FIELD_NUMBER = 1;
   private int resourceType_;
   /**
+   *
+   *
    * 
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @return The resourceType. */ - @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { + @java.lang.Override + public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + com.google.container.v1beta1.UpgradeResourceType result = + com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; } public static final int OPERATION_FIELD_NUMBER = 2; private volatile java.lang.Object operation_; /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The operation. */ @java.lang.Override @@ -96,29 +127,29 @@ public java.lang.String getOperation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; } } /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The bytes for operation. */ @java.lang.Override - public com.google.protobuf.ByteString - getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { @@ -129,11 +160,14 @@ public java.lang.String getOperation() { public static final int OPERATION_START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp operationStartTime_; /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return Whether the operationStartTime field is set. */ @java.lang.Override @@ -141,18 +175,25 @@ public boolean hasOperationStartTime() { return operationStartTime_ != null; } /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return The operationStartTime. */ @java.lang.Override public com.google.protobuf.Timestamp getOperationStartTime() { - return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; + return operationStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : operationStartTime_; } /** + * + * *
    * The time when the operation was started.
    * 
@@ -167,11 +208,14 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { public static final int CURRENT_VERSION_FIELD_NUMBER = 4; private volatile java.lang.Object currentVersion_; /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The currentVersion. */ @java.lang.Override @@ -180,29 +224,29 @@ public java.lang.String getCurrentVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; } } /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The bytes for currentVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getCurrentVersionBytes() { + public com.google.protobuf.ByteString getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -213,11 +257,14 @@ public java.lang.String getCurrentVersion() { public static final int TARGET_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object targetVersion_; /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The targetVersion. */ @java.lang.Override @@ -226,29 +273,29 @@ public java.lang.String getTargetVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; } } /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The bytes for targetVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -259,12 +306,15 @@ public java.lang.String getTargetVersion() { public static final int RESOURCE_FIELD_NUMBER = 6; private volatile java.lang.Object resource_; /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The resource. */ @java.lang.Override @@ -273,30 +323,30 @@ public java.lang.String getResource() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; } } /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The bytes for resource. */ @java.lang.Override - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -305,6 +355,7 @@ public java.lang.String getResource() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,9 +367,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (resourceType_ + != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { @@ -345,16 +397,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (resourceType_ != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, resourceType_); + if (resourceType_ + != com.google.container.v1beta1.UpgradeResourceType.UPGRADE_RESOURCE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, operation_); } if (operationStartTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getOperationStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOperationStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, currentVersion_); @@ -373,27 +425,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UpgradeEvent)) { return super.equals(obj); } - com.google.container.v1beta1.UpgradeEvent other = (com.google.container.v1beta1.UpgradeEvent) obj; + com.google.container.v1beta1.UpgradeEvent other = + (com.google.container.v1beta1.UpgradeEvent) obj; if (resourceType_ != other.resourceType_) return false; - if (!getOperation() - .equals(other.getOperation())) return false; + if (!getOperation().equals(other.getOperation())) return false; if (hasOperationStartTime() != other.hasOperationStartTime()) return false; if (hasOperationStartTime()) { - if (!getOperationStartTime() - .equals(other.getOperationStartTime())) return false; - } - if (!getCurrentVersion() - .equals(other.getCurrentVersion())) return false; - if (!getTargetVersion() - .equals(other.getTargetVersion())) return false; - if (!getResource() - .equals(other.getResource())) return false; + if (!getOperationStartTime().equals(other.getOperationStartTime())) return false; + } + if (!getCurrentVersion().equals(other.getCurrentVersion())) return false; + if (!getTargetVersion().equals(other.getTargetVersion())) return false; + if (!getResource().equals(other.getResource())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -424,97 +472,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.UpgradeEvent parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.UpgradeEvent parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpgradeEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UpgradeEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpgradeEvent parseFrom( 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.UpgradeEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UpgradeEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.UpgradeEvent parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpgradeEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UpgradeEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UpgradeEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpgradeEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.UpgradeEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UpgradeEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.UpgradeEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UpgradeEvent is a notification sent to customers by the cluster server when
    * a resource is upgrading.
@@ -522,33 +577,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.UpgradeEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UpgradeEvent)
       com.google.container.v1beta1.UpgradeEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.UpgradeEvent.class, com.google.container.v1beta1.UpgradeEvent.Builder.class);
+              com.google.container.v1beta1.UpgradeEvent.class,
+              com.google.container.v1beta1.UpgradeEvent.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.UpgradeEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -572,9 +626,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UpgradeEvent_descriptor;
     }
 
     @java.lang.Override
@@ -593,7 +647,8 @@ public com.google.container.v1beta1.UpgradeEvent build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.UpgradeEvent buildPartial() {
-      com.google.container.v1beta1.UpgradeEvent result = new com.google.container.v1beta1.UpgradeEvent(this);
+      com.google.container.v1beta1.UpgradeEvent result =
+          new com.google.container.v1beta1.UpgradeEvent(this);
       result.resourceType_ = resourceType_;
       result.operation_ = operation_;
       if (operationStartTimeBuilder_ == null) {
@@ -612,38 +667,39 @@ public com.google.container.v1beta1.UpgradeEvent buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.UpgradeEvent) {
-        return mergeFrom((com.google.container.v1beta1.UpgradeEvent)other);
+        return mergeFrom((com.google.container.v1beta1.UpgradeEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -700,44 +756,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              resourceType_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 18: {
-              operation_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getOperationStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              currentVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              targetVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              resource_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                resourceType_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 18:
+              {
+                operation_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getOperationStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                currentVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                targetVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                resource_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -750,51 +812,67 @@ public Builder mergeFrom(
 
     private int resourceType_ = 0;
     /**
+     *
+     *
      * 
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ - @java.lang.Override public int getResourceTypeValue() { + @java.lang.Override + public int getResourceTypeValue() { return resourceType_; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @param value The enum numeric value on the wire for resourceType to set. * @return This builder for chaining. */ public Builder setResourceTypeValue(int value) { - + resourceType_ = value; onChanged(); return this; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @return The resourceType. */ @java.lang.Override public com.google.container.v1beta1.UpgradeResourceType getResourceType() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UpgradeResourceType result = com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); - return result == null ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED : result; + com.google.container.v1beta1.UpgradeResourceType result = + com.google.container.v1beta1.UpgradeResourceType.valueOf(resourceType_); + return result == null + ? com.google.container.v1beta1.UpgradeResourceType.UNRECOGNIZED + : result; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @param value The resourceType to set. * @return This builder for chaining. */ @@ -802,21 +880,24 @@ public Builder setResourceType(com.google.container.v1beta1.UpgradeResourceType if (value == null) { throw new NullPointerException(); } - + resourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The resource type that is upgrading.
      * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @return This builder for chaining. */ public Builder clearResourceType() { - + resourceType_ = 0; onChanged(); return this; @@ -824,18 +905,20 @@ public Builder clearResourceType() { private java.lang.Object operation_ = ""; /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); operation_ = s; return s; @@ -844,20 +927,21 @@ public java.lang.String getOperation() { } } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @return The bytes for operation. */ - public com.google.protobuf.ByteString - getOperationBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); operation_ = b; return b; } else { @@ -865,54 +949,61 @@ public java.lang.String getOperation() { } } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation( - java.lang.String value) { + public Builder setOperation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + operation_ = value; onChanged(); return this; } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @return This builder for chaining. */ public Builder clearOperation() { - + operation_ = getDefaultInstance().getOperation(); onChanged(); return this; } /** + * + * *
      * The operation associated with this upgrade.
      * 
* * string operation = 2; + * * @param value The bytes for operation to set. * @return This builder for chaining. */ - public Builder setOperationBytes( - com.google.protobuf.ByteString value) { + public Builder setOperationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + operation_ = value; onChanged(); return this; @@ -920,34 +1011,47 @@ public Builder setOperationBytes( private com.google.protobuf.Timestamp operationStartTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> operationStartTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + operationStartTimeBuilder_; /** + * + * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return Whether the operationStartTime field is set. */ public boolean hasOperationStartTime() { return operationStartTimeBuilder_ != null || operationStartTime_ != null; } /** + * + * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return The operationStartTime. */ public com.google.protobuf.Timestamp getOperationStartTime() { if (operationStartTimeBuilder_ == null) { - return operationStartTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; + return operationStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : operationStartTime_; } else { return operationStartTimeBuilder_.getMessage(); } } /** + * + * *
      * The time when the operation was started.
      * 
@@ -968,14 +1072,15 @@ public Builder setOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the operation was started.
      * 
* * .google.protobuf.Timestamp operation_start_time = 3; */ - public Builder setOperationStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setOperationStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (operationStartTimeBuilder_ == null) { operationStartTime_ = builderForValue.build(); onChanged(); @@ -986,6 +1091,8 @@ public Builder setOperationStartTime( return this; } /** + * + * *
      * The time when the operation was started.
      * 
@@ -996,7 +1103,9 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { if (operationStartTimeBuilder_ == null) { if (operationStartTime_ != null) { operationStartTime_ = - com.google.protobuf.Timestamp.newBuilder(operationStartTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(operationStartTime_) + .mergeFrom(value) + .buildPartial(); } else { operationStartTime_ = value; } @@ -1008,6 +1117,8 @@ public Builder mergeOperationStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1026,6 +1137,8 @@ public Builder clearOperationStartTime() { return this; } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1033,11 +1146,13 @@ public Builder clearOperationStartTime() { * .google.protobuf.Timestamp operation_start_time = 3; */ public com.google.protobuf.Timestamp.Builder getOperationStartTimeBuilder() { - + onChanged(); return getOperationStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1048,11 +1163,14 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { if (operationStartTimeBuilder_ != null) { return operationStartTimeBuilder_.getMessageOrBuilder(); } else { - return operationStartTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : operationStartTime_; + return operationStartTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : operationStartTime_; } } /** + * + * *
      * The time when the operation was started.
      * 
@@ -1060,14 +1178,17 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { * .google.protobuf.Timestamp operation_start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> getOperationStartTimeFieldBuilder() { if (operationStartTimeBuilder_ == null) { - operationStartTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getOperationStartTime(), - getParentForChildren(), - isClean()); + operationStartTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getOperationStartTime(), getParentForChildren(), isClean()); operationStartTime_ = null; } return operationStartTimeBuilder_; @@ -1075,18 +1196,20 @@ public com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder() { private java.lang.Object currentVersion_ = ""; /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @return The currentVersion. */ public java.lang.String getCurrentVersion() { java.lang.Object ref = currentVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; @@ -1095,20 +1218,21 @@ public java.lang.String getCurrentVersion() { } } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @return The bytes for currentVersion. */ - public com.google.protobuf.ByteString - getCurrentVersionBytes() { + public com.google.protobuf.ByteString getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); currentVersion_ = b; return b; } else { @@ -1116,54 +1240,61 @@ public java.lang.String getCurrentVersion() { } } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @param value The currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersion( - java.lang.String value) { + public Builder setCurrentVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + currentVersion_ = value; onChanged(); return this; } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @return This builder for chaining. */ public Builder clearCurrentVersion() { - + currentVersion_ = getDefaultInstance().getCurrentVersion(); onChanged(); return this; } /** + * + * *
      * The current version before the upgrade.
      * 
* * string current_version = 4; + * * @param value The bytes for currentVersion to set. * @return This builder for chaining. */ - public Builder setCurrentVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setCurrentVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + currentVersion_ = value; onChanged(); return this; @@ -1171,18 +1302,20 @@ public Builder setCurrentVersionBytes( private java.lang.Object targetVersion_ = ""; /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @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; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; @@ -1191,20 +1324,21 @@ public java.lang.String getTargetVersion() { } } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @return The bytes for targetVersion. */ - public com.google.protobuf.ByteString - getTargetVersionBytes() { + 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); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); targetVersion_ = b; return b; } else { @@ -1212,54 +1346,61 @@ public java.lang.String getTargetVersion() { } } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @param value The targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersion( - java.lang.String value) { + public Builder setTargetVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + targetVersion_ = value; onChanged(); return this; } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @return This builder for chaining. */ public Builder clearTargetVersion() { - + targetVersion_ = getDefaultInstance().getTargetVersion(); onChanged(); return this; } /** + * + * *
      * The target version for the upgrade.
      * 
* * string target_version = 5; + * * @param value The bytes for targetVersion to set. * @return This builder for chaining. */ - public Builder setTargetVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + targetVersion_ = value; onChanged(); return this; @@ -1267,19 +1408,21 @@ public Builder setTargetVersionBytes( private java.lang.Object resource_ = ""; /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @return The resource. */ public java.lang.String getResource() { java.lang.Object ref = resource_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resource_ = s; return s; @@ -1288,21 +1431,22 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @return The bytes for resource. */ - public com.google.protobuf.ByteString - getResourceBytes() { + public com.google.protobuf.ByteString getResourceBytes() { java.lang.Object ref = resource_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); resource_ = b; return b; } else { @@ -1310,64 +1454,71 @@ public java.lang.String getResource() { } } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @param value The resource to set. * @return This builder for chaining. */ - public Builder setResource( - java.lang.String value) { + public Builder setResource(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + resource_ = value; onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @return This builder for chaining. */ public Builder clearResource() { - + resource_ = getDefaultInstance().getResource(); onChanged(); return this; } /** + * + * *
      * Optional relative path to the resource. For example in node pool upgrades,
      * the relative path of the node pool.
      * 
* * string resource = 6; + * * @param value The bytes for resource to set. * @return This builder for chaining. */ - public Builder setResourceBytes( - com.google.protobuf.ByteString value) { + public Builder setResourceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + resource_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1377,12 +1528,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UpgradeEvent) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UpgradeEvent) private static final com.google.container.v1beta1.UpgradeEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UpgradeEvent(); } @@ -1391,27 +1542,27 @@ public static com.google.container.v1beta1.UpgradeEvent getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpgradeEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpgradeEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1426,6 +1577,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UpgradeEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java similarity index 74% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java index b8a4dda87565..c6ae8da3fe12 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeEventOrBuilder.java @@ -1,70 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface UpgradeEventOrBuilder extends +public interface UpgradeEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UpgradeEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @return The enum numeric value on the wire for resourceType. */ int getResourceTypeValue(); /** + * + * *
    * The resource type that is upgrading.
    * 
* * .google.container.v1beta1.UpgradeResourceType resource_type = 1; + * * @return The resourceType. */ com.google.container.v1beta1.UpgradeResourceType getResourceType(); /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The operation. */ java.lang.String getOperation(); /** + * + * *
    * The operation associated with this upgrade.
    * 
* * string operation = 2; + * * @return The bytes for operation. */ - com.google.protobuf.ByteString - getOperationBytes(); + com.google.protobuf.ByteString getOperationBytes(); /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return Whether the operationStartTime field is set. */ boolean hasOperationStartTime(); /** + * + * *
    * The time when the operation was started.
    * 
* * .google.protobuf.Timestamp operation_start_time = 3; + * * @return The operationStartTime. */ com.google.protobuf.Timestamp getOperationStartTime(); /** + * + * *
    * The time when the operation was started.
    * 
@@ -74,64 +109,79 @@ public interface UpgradeEventOrBuilder extends com.google.protobuf.TimestampOrBuilder getOperationStartTimeOrBuilder(); /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The currentVersion. */ java.lang.String getCurrentVersion(); /** + * + * *
    * The current version before the upgrade.
    * 
* * string current_version = 4; + * * @return The bytes for currentVersion. */ - com.google.protobuf.ByteString - getCurrentVersionBytes(); + com.google.protobuf.ByteString getCurrentVersionBytes(); /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The targetVersion. */ java.lang.String getTargetVersion(); /** + * + * *
    * The target version for the upgrade.
    * 
* * string target_version = 5; + * * @return The bytes for targetVersion. */ - com.google.protobuf.ByteString - getTargetVersionBytes(); + com.google.protobuf.ByteString getTargetVersionBytes(); /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The resource. */ java.lang.String getResource(); /** + * + * *
    * Optional relative path to the resource. For example in node pool upgrades,
    * the relative path of the node pool.
    * 
* * string resource = 6; + * * @return The bytes for resource. */ - com.google.protobuf.ByteString - getResourceBytes(); + com.google.protobuf.ByteString getResourceBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java index 30127a2e676d..317f441b67c3 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UpgradeResourceType.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * UpgradeResourceType is the resource type that is upgrading. It is used
  * in upgrade notifications.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.container.v1beta1.UpgradeResourceType}
  */
-public enum UpgradeResourceType
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum UpgradeResourceType implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Default value. This shouldn't be used.
    * 
@@ -22,6 +40,8 @@ public enum UpgradeResourceType */ UPGRADE_RESOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Master / control plane
    * 
@@ -30,6 +50,8 @@ public enum UpgradeResourceType */ MASTER(1), /** + * + * *
    * Node pool
    * 
@@ -41,6 +63,8 @@ public enum UpgradeResourceType ; /** + * + * *
    * Default value. This shouldn't be used.
    * 
@@ -49,6 +73,8 @@ public enum UpgradeResourceType */ public static final int UPGRADE_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Master / control plane
    * 
@@ -57,6 +83,8 @@ public enum UpgradeResourceType */ public static final int MASTER_VALUE = 1; /** + * + * *
    * Node pool
    * 
@@ -65,7 +93,6 @@ public enum UpgradeResourceType */ public static final int NODE_POOL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -90,10 +117,14 @@ public static UpgradeResourceType valueOf(int value) { */ public static UpgradeResourceType forNumber(int value) { switch (value) { - case 0: return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; - case 1: return MASTER; - case 2: return NODE_POOL; - default: return null; + case 0: + return UPGRADE_RESOURCE_TYPE_UNSPECIFIED; + case 1: + return MASTER; + case 2: + return NODE_POOL; + default: + return null; } } @@ -101,28 +132,28 @@ public static UpgradeResourceType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - UpgradeResourceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public UpgradeResourceType findValueByNumber(int number) { - return UpgradeResourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public UpgradeResourceType findValueByNumber(int number) { + return UpgradeResourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.container.v1beta1.ClusterServiceProto.getDescriptor().getEnumTypes().get(1); } @@ -131,8 +162,7 @@ public UpgradeResourceType findValueByNumber(int number) { public static UpgradeResourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -148,4 +178,3 @@ private UpgradeResourceType(int value) { // @@protoc_insertion_point(enum_scope:google.container.v1beta1.UpgradeResourceType) } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java similarity index 67% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java index 41f06f126761..6dd934bd0b8a 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetwork.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * UsableSubnetwork resource returns the subnetwork name, its associated network
  * and the primary CIDR range.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.UsableSubnetwork}
  */
-public final class UsableSubnetwork extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UsableSubnetwork extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.UsableSubnetwork)
     UsableSubnetworkOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UsableSubnetwork.newBuilder() to construct.
   private UsableSubnetwork(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UsableSubnetwork() {
     subnetwork_ = "";
     network_ = "";
@@ -30,38 +48,42 @@ private UsableSubnetwork() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UsableSubnetwork();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.UsableSubnetwork.class, com.google.container.v1beta1.UsableSubnetwork.Builder.class);
+            com.google.container.v1beta1.UsableSubnetwork.class,
+            com.google.container.v1beta1.UsableSubnetwork.Builder.class);
   }
 
   public static final int SUBNETWORK_FIELD_NUMBER = 1;
   private volatile java.lang.Object subnetwork_;
   /**
+   *
+   *
    * 
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The subnetwork. */ @java.lang.Override @@ -70,30 +92,30 @@ public java.lang.String getSubnetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; } } /** + * + * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The bytes for subnetwork. */ @java.lang.Override - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -104,12 +126,15 @@ public java.lang.String getSubnetwork() { public static final int NETWORK_FIELD_NUMBER = 2; private volatile java.lang.Object network_; /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The network. */ @java.lang.Override @@ -118,30 +143,30 @@ public java.lang.String getNetwork() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; } } /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The bytes for network. */ @java.lang.Override - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -152,11 +177,14 @@ public java.lang.String getNetwork() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 3; private volatile java.lang.Object ipCidrRange_; /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The ipCidrRange. */ @java.lang.Override @@ -165,29 +193,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -196,68 +224,94 @@ public java.lang.String getIpCidrRange() { } public static final int SECONDARY_IP_RANGES_FIELD_NUMBER = 4; - private java.util.List secondaryIpRanges_; + private java.util.List + secondaryIpRanges_; /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override - public java.util.List getSecondaryIpRangesList() { + public java.util.List + getSecondaryIpRangesList() { return secondaryIpRanges_; } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList() { return secondaryIpRanges_; } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override public int getSecondaryIpRangesCount() { return secondaryIpRanges_.size(); } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges( + int index) { return secondaryIpRanges_.get(index); } /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ @java.lang.Override - public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( - int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder + getSecondaryIpRangesOrBuilder(int index) { return secondaryIpRanges_.get(index); } public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -266,6 +320,7 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getS
    * 
* * string status_message = 5; + * * @return The statusMessage. */ @java.lang.Override @@ -274,14 +329,15 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -290,16 +346,15 @@ public java.lang.String getStatusMessage() {
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -308,6 +363,7 @@ public java.lang.String getStatusMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,8 +375,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnetwork_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subnetwork_); } @@ -355,8 +410,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ipCidrRange_); } for (int i = 0; i < secondaryIpRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, secondaryIpRanges_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, secondaryIpRanges_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); @@ -369,23 +424,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UsableSubnetwork)) { return super.equals(obj); } - com.google.container.v1beta1.UsableSubnetwork other = (com.google.container.v1beta1.UsableSubnetwork) obj; - - if (!getSubnetwork() - .equals(other.getSubnetwork())) return false; - if (!getNetwork() - .equals(other.getNetwork())) return false; - if (!getIpCidrRange() - .equals(other.getIpCidrRange())) return false; - if (!getSecondaryIpRangesList() - .equals(other.getSecondaryIpRangesList())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; + com.google.container.v1beta1.UsableSubnetwork other = + (com.google.container.v1beta1.UsableSubnetwork) obj; + + if (!getSubnetwork().equals(other.getSubnetwork())) return false; + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; + if (!getSecondaryIpRangesList().equals(other.getSecondaryIpRangesList())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -414,97 +465,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.UsableSubnetwork parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetwork parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UsableSubnetwork parseFrom( 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.UsableSubnetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.UsableSubnetwork parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UsableSubnetwork parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UsableSubnetwork parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UsableSubnetwork parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.UsableSubnetwork parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UsableSubnetwork parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.UsableSubnetwork prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * UsableSubnetwork resource returns the subnetwork name, its associated network
    * and the primary CIDR range.
@@ -512,33 +570,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.UsableSubnetwork}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UsableSubnetwork)
       com.google.container.v1beta1.UsableSubnetworkOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.UsableSubnetwork.class, com.google.container.v1beta1.UsableSubnetwork.Builder.class);
+              com.google.container.v1beta1.UsableSubnetwork.class,
+              com.google.container.v1beta1.UsableSubnetwork.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.UsableSubnetwork.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -561,9 +618,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_UsableSubnetwork_descriptor;
     }
 
     @java.lang.Override
@@ -582,7 +639,8 @@ public com.google.container.v1beta1.UsableSubnetwork build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.UsableSubnetwork buildPartial() {
-      com.google.container.v1beta1.UsableSubnetwork result = new com.google.container.v1beta1.UsableSubnetwork(this);
+      com.google.container.v1beta1.UsableSubnetwork result =
+          new com.google.container.v1beta1.UsableSubnetwork(this);
       int from_bitField0_ = bitField0_;
       result.subnetwork_ = subnetwork_;
       result.network_ = network_;
@@ -605,38 +663,39 @@ public com.google.container.v1beta1.UsableSubnetwork buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.UsableSubnetwork) {
-        return mergeFrom((com.google.container.v1beta1.UsableSubnetwork)other);
+        return mergeFrom((com.google.container.v1beta1.UsableSubnetwork) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -675,9 +734,10 @@ public Builder mergeFrom(com.google.container.v1beta1.UsableSubnetwork other) {
             secondaryIpRangesBuilder_ = null;
             secondaryIpRanges_ = other.secondaryIpRanges_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            secondaryIpRangesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getSecondaryIpRangesFieldBuilder() : null;
+            secondaryIpRangesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getSecondaryIpRangesFieldBuilder()
+                    : null;
           } else {
             secondaryIpRangesBuilder_.addAllMessages(other.secondaryIpRanges_);
           }
@@ -713,45 +773,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              subnetwork_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                subnetwork_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              network_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                network_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              ipCidrRange_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                ipCidrRange_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              com.google.container.v1beta1.UsableSubnetworkSecondaryRange m =
-                  input.readMessage(
-                      com.google.container.v1beta1.UsableSubnetworkSecondaryRange.parser(),
-                      extensionRegistry);
-              if (secondaryIpRangesBuilder_ == null) {
-                ensureSecondaryIpRangesIsMutable();
-                secondaryIpRanges_.add(m);
-              } else {
-                secondaryIpRangesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            case 42: {
-              statusMessage_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.container.v1beta1.UsableSubnetworkSecondaryRange m =
+                    input.readMessage(
+                        com.google.container.v1beta1.UsableSubnetworkSecondaryRange.parser(),
+                        extensionRegistry);
+                if (secondaryIpRangesBuilder_ == null) {
+                  ensureSecondaryIpRangesIsMutable();
+                  secondaryIpRanges_.add(m);
+                } else {
+                  secondaryIpRangesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            case 42:
+              {
+                statusMessage_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 42
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -761,23 +827,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object subnetwork_ = "";
     /**
+     *
+     *
      * 
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @return The subnetwork. */ public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); subnetwork_ = s; return s; @@ -786,21 +855,22 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @return The bytes for subnetwork. */ - public com.google.protobuf.ByteString - getSubnetworkBytes() { + public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); subnetwork_ = b; return b; } else { @@ -808,57 +878,64 @@ public java.lang.String getSubnetwork() { } } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @param value The subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetwork( - java.lang.String value) { + public Builder setSubnetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + subnetwork_ = value; onChanged(); return this; } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @return This builder for chaining. */ public Builder clearSubnetwork() { - + subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; } /** + * + * *
      * Subnetwork Name.
      * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
      * 
* * string subnetwork = 1; + * * @param value The bytes for subnetwork to set. * @return This builder for chaining. */ - public Builder setSubnetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + subnetwork_ = value; onChanged(); return this; @@ -866,19 +943,21 @@ public Builder setSubnetworkBytes( private java.lang.Object network_ = ""; /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @return The network. */ public java.lang.String getNetwork() { java.lang.Object ref = network_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); network_ = s; return s; @@ -887,21 +966,22 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @return The bytes for network. */ - public com.google.protobuf.ByteString - getNetworkBytes() { + public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); network_ = b; return b; } else { @@ -909,57 +989,64 @@ public java.lang.String getNetwork() { } } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @param value The network to set. * @return This builder for chaining. */ - public Builder setNetwork( - java.lang.String value) { + public Builder setNetwork(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + network_ = value; onChanged(); return this; } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @return This builder for chaining. */ public Builder clearNetwork() { - + network_ = getDefaultInstance().getNetwork(); onChanged(); return this; } /** + * + * *
      * Network Name.
      * Example: projects/my-project/global/networks/my-network
      * 
* * string network = 2; + * * @param value The bytes for network to set. * @return This builder for chaining. */ - public Builder setNetworkBytes( - com.google.protobuf.ByteString value) { + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + network_ = value; onChanged(); return this; @@ -967,18 +1054,20 @@ public Builder setNetworkBytes( private java.lang.Object ipCidrRange_ = ""; /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -987,20 +1076,21 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -1008,79 +1098,97 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange( - java.lang.String value) { + public Builder setIpCidrRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** + * + * *
      * The range of internal addresses that are owned by this subnetwork.
      * 
* * string ip_cidr_range = 3; + * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; } - private java.util.List secondaryIpRanges_ = - java.util.Collections.emptyList(); + private java.util.List + secondaryIpRanges_ = java.util.Collections.emptyList(); + private void ensureSecondaryIpRangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - secondaryIpRanges_ = new java.util.ArrayList(secondaryIpRanges_); + secondaryIpRanges_ = + new java.util.ArrayList( + secondaryIpRanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetworkSecondaryRange, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> secondaryIpRangesBuilder_; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, + com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> + secondaryIpRangesBuilder_; /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public java.util.List getSecondaryIpRangesList() { + public java.util.List + getSecondaryIpRangesList() { if (secondaryIpRangesBuilder_ == null) { return java.util.Collections.unmodifiableList(secondaryIpRanges_); } else { @@ -1088,11 +1196,15 @@ public java.util.List * Secondary IP ranges. *
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public int getSecondaryIpRangesCount() { if (secondaryIpRangesBuilder_ == null) { @@ -1102,13 +1214,18 @@ public int getSecondaryIpRangesCount() { } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges( + int index) { if (secondaryIpRangesBuilder_ == null) { return secondaryIpRanges_.get(index); } else { @@ -1116,11 +1233,15 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryI } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder setSecondaryIpRanges( int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { @@ -1137,14 +1258,19 @@ public Builder setSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder setSecondaryIpRanges( - int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { + int index, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); secondaryIpRanges_.set(index, builderForValue.build()); @@ -1155,13 +1281,18 @@ public Builder setSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public Builder addSecondaryIpRanges(com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { + public Builder addSecondaryIpRanges( + com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { if (secondaryIpRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1175,11 +1306,15 @@ public Builder addSecondaryIpRanges(com.google.container.v1beta1.UsableSubnetwor return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addSecondaryIpRanges( int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange value) { @@ -1196,11 +1331,15 @@ public Builder addSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addSecondaryIpRanges( com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { @@ -1214,14 +1353,19 @@ public Builder addSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addSecondaryIpRanges( - int index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { + int index, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder builderForValue) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); secondaryIpRanges_.add(index, builderForValue.build()); @@ -1232,18 +1376,22 @@ public Builder addSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder addAllSecondaryIpRanges( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (secondaryIpRangesBuilder_ == null) { ensureSecondaryIpRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, secondaryIpRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, secondaryIpRanges_); onChanged(); } else { secondaryIpRangesBuilder_.addAllMessages(values); @@ -1251,11 +1399,15 @@ public Builder addAllSecondaryIpRanges( return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder clearSecondaryIpRanges() { if (secondaryIpRangesBuilder_ == null) { @@ -1268,11 +1420,15 @@ public Builder clearSecondaryIpRanges() { return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ public Builder removeSecondaryIpRanges(int index) { if (secondaryIpRangesBuilder_ == null) { @@ -1285,39 +1441,53 @@ public Builder removeSecondaryIpRanges(int index) { return this; } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder getSecondaryIpRangesBuilder( - int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder + getSecondaryIpRangesBuilder(int index) { return getSecondaryIpRangesFieldBuilder().getBuilder(index); } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( - int index) { + public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder + getSecondaryIpRangesOrBuilder(int index) { if (secondaryIpRangesBuilder_ == null) { - return secondaryIpRanges_.get(index); } else { + return secondaryIpRanges_.get(index); + } else { return secondaryIpRangesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public java.util.List - getSecondaryIpRangesOrBuilderList() { + public java.util.List< + ? extends com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> + getSecondaryIpRangesOrBuilderList() { if (secondaryIpRangesBuilder_ != null) { return secondaryIpRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1325,45 +1495,67 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getS } } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder() { - return getSecondaryIpRangesFieldBuilder().addBuilder( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder + addSecondaryIpRangesBuilder() { + return getSecondaryIpRangesFieldBuilder() + .addBuilder( + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder addSecondaryIpRangesBuilder( - int index) { - return getSecondaryIpRangesFieldBuilder().addBuilder( - index, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder + addSecondaryIpRangesBuilder(int index) { + return getSecondaryIpRangesFieldBuilder() + .addBuilder( + index, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()); } /** + * + * *
      * Secondary IP ranges.
      * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - public java.util.List - getSecondaryIpRangesBuilderList() { + public java.util.List + getSecondaryIpRangesBuilderList() { return getSecondaryIpRangesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetworkSecondaryRange, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> + com.google.container.v1beta1.UsableSubnetworkSecondaryRange, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, + com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesFieldBuilder() { if (secondaryIpRangesBuilder_ == null) { - secondaryIpRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.UsableSubnetworkSecondaryRange, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder>( + secondaryIpRangesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.UsableSubnetworkSecondaryRange, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder, + com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder>( secondaryIpRanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1375,6 +1567,8 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder addSe private java.lang.Object statusMessage_ = ""; /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1383,13 +1577,13 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder addSe
      * 
* * string status_message = 5; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1398,6 +1592,8 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1406,15 +1602,14 @@ public java.lang.String getStatusMessage() {
      * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1422,6 +1617,8 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1430,20 +1627,22 @@ public java.lang.String getStatusMessage() {
      * 
* * string status_message = 5; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1452,15 +1651,18 @@ public Builder setStatusMessage(
      * 
* * string status_message = 5; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * A human readable status message representing the reasons for cases where
      * the caller cannot use the secondary ranges under the subnet. For example if
@@ -1469,23 +1671,23 @@ public Builder clearStatusMessage() {
      * 
* * string status_message = 5; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1495,12 +1697,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UsableSubnetwork) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UsableSubnetwork) private static final com.google.container.v1beta1.UsableSubnetwork DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UsableSubnetwork(); } @@ -1509,27 +1711,27 @@ public static com.google.container.v1beta1.UsableSubnetwork getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetwork parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetwork parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1544,6 +1746,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.UsableSubnetwork getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java index 7bf2490099a5..70038b7a206e 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkOrBuilder.java @@ -1,121 +1,174 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; -public interface UsableSubnetworkOrBuilder extends +public interface UsableSubnetworkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UsableSubnetwork) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The subnetwork. */ java.lang.String getSubnetwork(); /** + * + * *
    * Subnetwork Name.
    * Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
    * 
* * string subnetwork = 1; + * * @return The bytes for subnetwork. */ - com.google.protobuf.ByteString - getSubnetworkBytes(); + com.google.protobuf.ByteString getSubnetworkBytes(); /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The network. */ java.lang.String getNetwork(); /** + * + * *
    * Network Name.
    * Example: projects/my-project/global/networks/my-network
    * 
* * string network = 2; + * * @return The bytes for network. */ - com.google.protobuf.ByteString - getNetworkBytes(); + com.google.protobuf.ByteString getNetworkBytes(); /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** + * + * *
    * The range of internal addresses that are owned by this subnetwork.
    * 
* * string ip_cidr_range = 3; + * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString - getIpCidrRangeBytes(); + com.google.protobuf.ByteString getIpCidrRangeBytes(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - java.util.List + java.util.List getSecondaryIpRangesList(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ com.google.container.v1beta1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ int getSecondaryIpRangesCount(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - java.util.List + java.util.List getSecondaryIpRangesOrBuilderList(); /** + * + * *
    * Secondary IP ranges.
    * 
* - * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * + * repeated .google.container.v1beta1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; + * */ - com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder( - int index); + com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder + getSecondaryIpRangesOrBuilder(int index); /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -124,10 +177,13 @@ com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondar
    * 
* * string status_message = 5; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * A human readable status message representing the reasons for cases where
    * the caller cannot use the secondary ranges under the subnet. For example if
@@ -136,8 +192,8 @@ com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder getSecondar
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java index 728cbcedacd9..b2ac95d05bbc 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRange.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Secondary IP range of a usable subnetwork.
  * 
* * Protobuf type {@code google.container.v1beta1.UsableSubnetworkSecondaryRange} */ -public final class UsableSubnetworkSecondaryRange extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UsableSubnetworkSecondaryRange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.UsableSubnetworkSecondaryRange) UsableSubnetworkSecondaryRangeOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UsableSubnetworkSecondaryRange.newBuilder() to construct. - private UsableSubnetworkSecondaryRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UsableSubnetworkSecondaryRange( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UsableSubnetworkSecondaryRange() { rangeName_ = ""; ipCidrRange_ = ""; @@ -27,39 +46,43 @@ private UsableSubnetworkSecondaryRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UsableSubnetworkSecondaryRange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); } /** + * + * *
    * Status shows the current usage of a secondary IP range.
    * 
* * Protobuf enum {@code google.container.v1beta1.UsableSubnetworkSecondaryRange.Status} */ - public enum Status - implements com.google.protobuf.ProtocolMessageEnum { + public enum Status implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -68,6 +91,8 @@ public enum Status */ UNKNOWN(0), /** + * + * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -76,6 +101,8 @@ public enum Status */ UNUSED(1), /** + * + * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -85,6 +112,8 @@ public enum Status
      */
     IN_USE_SERVICE(2),
     /**
+     *
+     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -95,6 +124,8 @@ public enum Status
      */
     IN_USE_SHAREABLE_POD(3),
     /**
+     *
+     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -107,6 +138,8 @@ public enum Status
     ;
 
     /**
+     *
+     *
      * 
      * UNKNOWN is the zero value of the Status enum. It's not a valid status.
      * 
@@ -115,6 +148,8 @@ public enum Status */ public static final int UNKNOWN_VALUE = 0; /** + * + * *
      * UNUSED denotes that this range is unclaimed by any cluster.
      * 
@@ -123,6 +158,8 @@ public enum Status */ public static final int UNUSED_VALUE = 1; /** + * + * *
      * IN_USE_SERVICE denotes that this range is claimed by a cluster for
      * services. It cannot be used for other clusters.
@@ -132,6 +169,8 @@ public enum Status
      */
     public static final int IN_USE_SERVICE_VALUE = 2;
     /**
+     *
+     *
      * 
      * IN_USE_SHAREABLE_POD denotes this range was created by the network admin
      * and is currently claimed by a cluster for pods. It can only be used by
@@ -142,6 +181,8 @@ public enum Status
      */
     public static final int IN_USE_SHAREABLE_POD_VALUE = 3;
     /**
+     *
+     *
      * 
      * IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
      * for pods. It cannot be used for other clusters.
@@ -151,7 +192,6 @@ public enum Status
      */
     public static final int IN_USE_MANAGED_POD_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -176,51 +216,55 @@ public static Status valueOf(int value) {
      */
     public static Status forNumber(int value) {
       switch (value) {
-        case 0: return UNKNOWN;
-        case 1: return UNUSED;
-        case 2: return IN_USE_SERVICE;
-        case 3: return IN_USE_SHAREABLE_POD;
-        case 4: return IN_USE_MANAGED_POD;
-        default: return null;
+        case 0:
+          return UNKNOWN;
+        case 1:
+          return UNUSED;
+        case 2:
+          return IN_USE_SERVICE;
+        case 3:
+          return IN_USE_SHAREABLE_POD;
+        case 4:
+          return IN_USE_MANAGED_POD;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Status> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Status findValueByNumber(int number) {
-              return Status.forNumber(number);
-            }
-          };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Status[] VALUES = values();
 
-    public static Status valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -240,12 +284,15 @@ private Status(int value) {
   public static final int RANGE_NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object rangeName_;
   /**
+   *
+   *
    * 
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The rangeName. */ @java.lang.Override @@ -254,30 +301,30 @@ public java.lang.String getRangeName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; } } /** + * + * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The bytes for rangeName. */ @java.lang.Override - public com.google.protobuf.ByteString - getRangeNameBytes() { + public com.google.protobuf.ByteString getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rangeName_ = b; return b; } else { @@ -288,11 +335,14 @@ public java.lang.String getRangeName() { public static final int IP_CIDR_RANGE_FIELD_NUMBER = 2; private volatile java.lang.Object ipCidrRange_; /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The ipCidrRange. */ @java.lang.Override @@ -301,29 +351,29 @@ public java.lang.String getIpCidrRange() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; } } /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The bytes for ipCidrRange. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -334,31 +384,43 @@ public java.lang.String getIpCidrRange() { public static final int STATUS_FIELD_NUMBER = 3; private int status_; /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The status. */ - @java.lang.Override public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus() { + @java.lang.Override + public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null + ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -370,15 +432,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(rangeName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, rangeName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ipCidrRange_); } - if (status_ != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + if (status_ + != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { output.writeEnum(3, status_); } getUnknownFields().writeTo(output); @@ -396,9 +458,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipCidrRange_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ipCidrRange_); } - if (status_ != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, status_); + if (status_ + != com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNKNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, status_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -408,17 +470,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.UsableSubnetworkSecondaryRange)) { return super.equals(obj); } - com.google.container.v1beta1.UsableSubnetworkSecondaryRange other = (com.google.container.v1beta1.UsableSubnetworkSecondaryRange) obj; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange other = + (com.google.container.v1beta1.UsableSubnetworkSecondaryRange) obj; - if (!getRangeName() - .equals(other.getRangeName())) return false; - if (!getIpCidrRange() - .equals(other.getIpCidrRange())) return false; + if (!getRangeName().equals(other.getRangeName())) return false; + if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; if (status_ != other.status_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -443,129 +504,136 @@ public int hashCode() { } public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( 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.UsableSubnetworkSecondaryRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.UsableSubnetworkSecondaryRange prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.UsableSubnetworkSecondaryRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Secondary IP range of a usable subnetwork.
    * 
* * Protobuf type {@code google.container.v1beta1.UsableSubnetworkSecondaryRange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.UsableSubnetworkSecondaryRange) com.google.container.v1beta1.UsableSubnetworkSecondaryRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.class, + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Builder.class); } // Construct using com.google.container.v1beta1.UsableSubnetworkSecondaryRange.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -579,9 +647,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; } @java.lang.Override @@ -600,7 +668,8 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange build() { @java.lang.Override public com.google.container.v1beta1.UsableSubnetworkSecondaryRange buildPartial() { - com.google.container.v1beta1.UsableSubnetworkSecondaryRange result = new com.google.container.v1beta1.UsableSubnetworkSecondaryRange(this); + com.google.container.v1beta1.UsableSubnetworkSecondaryRange result = + new com.google.container.v1beta1.UsableSubnetworkSecondaryRange(this); result.rangeName_ = rangeName_; result.ipCidrRange_ = ipCidrRange_; result.status_ = status_; @@ -612,38 +681,39 @@ public com.google.container.v1beta1.UsableSubnetworkSecondaryRange buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.UsableSubnetworkSecondaryRange) { - return mergeFrom((com.google.container.v1beta1.UsableSubnetworkSecondaryRange)other); + return mergeFrom((com.google.container.v1beta1.UsableSubnetworkSecondaryRange) other); } else { super.mergeFrom(other); return this; @@ -651,7 +721,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.UsableSubnetworkSecondaryRange other) { - if (other == com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.UsableSubnetworkSecondaryRange.getDefaultInstance()) + return this; if (!other.getRangeName().isEmpty()) { rangeName_ = other.rangeName_; onChanged(); @@ -689,27 +760,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rangeName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - ipCidrRange_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - status_ = input.readEnum(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rangeName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + ipCidrRange_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + status_ = input.readEnum(); + + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -722,19 +797,21 @@ public Builder mergeFrom( private java.lang.Object rangeName_ = ""; /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @return The rangeName. */ public java.lang.String getRangeName() { java.lang.Object ref = rangeName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); rangeName_ = s; return s; @@ -743,21 +820,22 @@ public java.lang.String getRangeName() { } } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @return The bytes for rangeName. */ - public com.google.protobuf.ByteString - getRangeNameBytes() { + public com.google.protobuf.ByteString getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); rangeName_ = b; return b; } else { @@ -765,57 +843,64 @@ public java.lang.String getRangeName() { } } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @param value The rangeName to set. * @return This builder for chaining. */ - public Builder setRangeName( - java.lang.String value) { + public Builder setRangeName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + rangeName_ = value; onChanged(); return this; } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @return This builder for chaining. */ public Builder clearRangeName() { - + rangeName_ = getDefaultInstance().getRangeName(); onChanged(); return this; } /** + * + * *
      * The name associated with this subnetwork secondary range, used when adding
      * an alias IP range to a VM instance.
      * 
* * string range_name = 1; + * * @param value The bytes for rangeName to set. * @return This builder for chaining. */ - public Builder setRangeNameBytes( - com.google.protobuf.ByteString value) { + public Builder setRangeNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + rangeName_ = value; onChanged(); return this; @@ -823,18 +908,20 @@ public Builder setRangeNameBytes( private java.lang.Object ipCidrRange_ = ""; /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @return The ipCidrRange. */ public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipCidrRange_ = s; return s; @@ -843,20 +930,21 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @return The bytes for ipCidrRange. */ - public com.google.protobuf.ByteString - getIpCidrRangeBytes() { + public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipCidrRange_ = b; return b; } else { @@ -864,54 +952,61 @@ public java.lang.String getIpCidrRange() { } } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @param value The ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRange( - java.lang.String value) { + public Builder setIpCidrRange(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipCidrRange_ = value; onChanged(); return this; } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @return This builder for chaining. */ public Builder clearIpCidrRange() { - + ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; } /** + * + * *
      * The range of IP addresses belonging to this subnetwork secondary range.
      * 
* * string ip_cidr_range = 2; + * * @param value The bytes for ipCidrRange to set. * @return This builder for chaining. */ - public Builder setIpCidrRangeBytes( - com.google.protobuf.ByteString value) { + public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipCidrRange_ = value; onChanged(); return this; @@ -919,80 +1014,100 @@ public Builder setIpCidrRangeBytes( private int status_ = 0; /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The enum numeric value on the wire for status. */ - @java.lang.Override public int getStatusValue() { + @java.lang.Override + public int getStatusValue() { return status_; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { - + status_ = value; onChanged(); return this; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The status. */ @java.lang.Override public com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); - return result == null ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED : result; + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status result = + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.valueOf(status_); + return result == null + ? com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status.UNRECOGNIZED + : result; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @param value The status to set. * @return This builder for chaining. */ - public Builder setStatus(com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status value) { + public Builder setStatus( + com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status value) { if (value == null) { throw new NullPointerException(); } - + status_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * This field is to determine the status of the secondary range programmably.
      * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return This builder for chaining. */ public Builder clearStatus() { - + status_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1117,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.UsableSubnetworkSecondaryRange) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.UsableSubnetworkSecondaryRange) private static final com.google.container.v1beta1.UsableSubnetworkSecondaryRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.UsableSubnetworkSecondaryRange(); } @@ -1016,27 +1131,27 @@ public static com.google.container.v1beta1.UsableSubnetworkSecondaryRange getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UsableSubnetworkSecondaryRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UsableSubnetworkSecondaryRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1051,6 +1166,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.container.v1beta1.UsableSubnetworkSecondaryRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java similarity index 68% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java index 9ef6f7566751..60b50a74e684 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/UsableSubnetworkSecondaryRangeOrBuilder.java @@ -1,69 +1,101 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface UsableSubnetworkSecondaryRangeOrBuilder extends +public interface UsableSubnetworkSecondaryRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.UsableSubnetworkSecondaryRange) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The rangeName. */ java.lang.String getRangeName(); /** + * + * *
    * The name associated with this subnetwork secondary range, used when adding
    * an alias IP range to a VM instance.
    * 
* * string range_name = 1; + * * @return The bytes for rangeName. */ - com.google.protobuf.ByteString - getRangeNameBytes(); + com.google.protobuf.ByteString getRangeNameBytes(); /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The ipCidrRange. */ java.lang.String getIpCidrRange(); /** + * + * *
    * The range of IP addresses belonging to this subnetwork secondary range.
    * 
* * string ip_cidr_range = 2; + * * @return The bytes for ipCidrRange. */ - com.google.protobuf.ByteString - getIpCidrRangeBytes(); + com.google.protobuf.ByteString getIpCidrRangeBytes(); /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** + * + * *
    * This field is to determine the status of the secondary range programmably.
    * 
* * .google.container.v1beta1.UsableSubnetworkSecondaryRange.Status status = 3; + * * @return The status. */ com.google.container.v1beta1.UsableSubnetworkSecondaryRange.Status getStatus(); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java similarity index 64% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java index 81c372292690..6252b0dc4bd1 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscaling.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * VerticalPodAutoscaling contains global, per-cluster information
  * required by Vertical Pod Autoscaler to automatically adjust
@@ -12,51 +29,55 @@
  *
  * Protobuf type {@code google.container.v1beta1.VerticalPodAutoscaling}
  */
-public final class VerticalPodAutoscaling extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class VerticalPodAutoscaling extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.VerticalPodAutoscaling)
     VerticalPodAutoscalingOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use VerticalPodAutoscaling.newBuilder() to construct.
   private VerticalPodAutoscaling(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private VerticalPodAutoscaling() {
-  }
+
+  private VerticalPodAutoscaling() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new VerticalPodAutoscaling();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.VerticalPodAutoscaling.class, com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
+            com.google.container.v1beta1.VerticalPodAutoscaling.class,
+            com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
   }
 
   public static final int ENABLED_FIELD_NUMBER = 1;
   private boolean enabled_;
   /**
+   *
+   *
    * 
    * Enables vertical pod autoscaling.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -65,6 +86,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -91,8 +112,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -102,15 +122,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.VerticalPodAutoscaling)) { return super.equals(obj); } - com.google.container.v1beta1.VerticalPodAutoscaling other = (com.google.container.v1beta1.VerticalPodAutoscaling) obj; + com.google.container.v1beta1.VerticalPodAutoscaling other = + (com.google.container.v1beta1.VerticalPodAutoscaling) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -123,104 +143,110 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VerticalPodAutoscaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( 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.VerticalPodAutoscaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.VerticalPodAutoscaling parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.VerticalPodAutoscaling parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.VerticalPodAutoscaling parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.VerticalPodAutoscaling parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.VerticalPodAutoscaling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * VerticalPodAutoscaling contains global, per-cluster information
    * required by Vertical Pod Autoscaler to automatically adjust
@@ -229,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.VerticalPodAutoscaling}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.VerticalPodAutoscaling)
       com.google.container.v1beta1.VerticalPodAutoscalingOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.VerticalPodAutoscaling.class, com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
+              com.google.container.v1beta1.VerticalPodAutoscaling.class,
+              com.google.container.v1beta1.VerticalPodAutoscaling.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.VerticalPodAutoscaling.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -265,9 +290,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor;
     }
 
     @java.lang.Override
@@ -286,7 +311,8 @@ public com.google.container.v1beta1.VerticalPodAutoscaling build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.VerticalPodAutoscaling buildPartial() {
-      com.google.container.v1beta1.VerticalPodAutoscaling result = new com.google.container.v1beta1.VerticalPodAutoscaling(this);
+      com.google.container.v1beta1.VerticalPodAutoscaling result =
+          new com.google.container.v1beta1.VerticalPodAutoscaling(this);
       result.enabled_ = enabled_;
       onBuilt();
       return result;
@@ -296,38 +322,39 @@ public com.google.container.v1beta1.VerticalPodAutoscaling buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.VerticalPodAutoscaling) {
-        return mergeFrom((com.google.container.v1beta1.VerticalPodAutoscaling)other);
+        return mergeFrom((com.google.container.v1beta1.VerticalPodAutoscaling) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -335,7 +362,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.VerticalPodAutoscaling other) {
-      if (other == com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.VerticalPodAutoscaling.getDefaultInstance())
+        return this;
       if (other.getEnabled() != false) {
         setEnabled(other.getEnabled());
       }
@@ -365,17 +393,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              enabled_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                enabled_ = input.readBool();
+
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -386,13 +416,16 @@ public Builder mergeFrom(
       return this;
     }
 
-    private boolean enabled_ ;
+    private boolean enabled_;
     /**
+     *
+     *
      * 
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -400,37 +433,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Enables vertical pod autoscaling.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -440,12 +479,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.VerticalPodAutoscaling) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.VerticalPodAutoscaling) private static final com.google.container.v1beta1.VerticalPodAutoscaling DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.VerticalPodAutoscaling(); } @@ -454,27 +493,27 @@ public static com.google.container.v1beta1.VerticalPodAutoscaling getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VerticalPodAutoscaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VerticalPodAutoscaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -489,6 +528,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.VerticalPodAutoscaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java new file mode 100644 index 000000000000..bf8c72e0854d --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface VerticalPodAutoscalingOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VerticalPodAutoscaling) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Enables vertical pod autoscaling.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java similarity index 63% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java index c3320314399d..e19f4cc4e3cf 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNIC.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration of gVNIC feature.
  * 
* * Protobuf type {@code google.container.v1beta1.VirtualNIC} */ -public final class VirtualNIC extends - com.google.protobuf.GeneratedMessageV3 implements +public final class VirtualNIC extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.VirtualNIC) VirtualNICOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use VirtualNIC.newBuilder() to construct. private VirtualNIC(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VirtualNIC() { - } + + private VirtualNIC() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new VirtualNIC(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.VirtualNIC.class, com.google.container.v1beta1.VirtualNIC.Builder.class); + com.google.container.v1beta1.VirtualNIC.class, + com.google.container.v1beta1.VirtualNIC.Builder.class); } public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** + * + * *
    * Whether gVNIC features are enabled in the node pool.
    * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -63,6 +84,7 @@ public boolean getEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -74,8 +96,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enabled_ != false) { output.writeBool(1, enabled_); } @@ -89,8 +110,7 @@ public int getSerializedSize() { size = 0; if (enabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, enabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, enabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -100,15 +120,14 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.VirtualNIC)) { return super.equals(obj); } com.google.container.v1beta1.VirtualNIC other = (com.google.container.v1beta1.VirtualNIC) obj; - if (getEnabled() - != other.getEnabled()) return false; + if (getEnabled() != other.getEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -121,137 +140,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.container.v1beta1.VirtualNIC parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.VirtualNIC parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.VirtualNIC parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.VirtualNIC parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.VirtualNIC parseFrom( 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.VirtualNIC parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.VirtualNIC parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.VirtualNIC parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.VirtualNIC parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.VirtualNIC parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.VirtualNIC parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.VirtualNIC parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.VirtualNIC parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.VirtualNIC parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.VirtualNIC prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration of gVNIC feature.
    * 
* * Protobuf type {@code google.container.v1beta1.VirtualNIC} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.VirtualNIC) com.google.container.v1beta1.VirtualNICOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_VirtualNIC_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.VirtualNIC.class, com.google.container.v1beta1.VirtualNIC.Builder.class); + com.google.container.v1beta1.VirtualNIC.class, + com.google.container.v1beta1.VirtualNIC.Builder.class); } // Construct using com.google.container.v1beta1.VirtualNIC.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -261,9 +285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_VirtualNIC_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_VirtualNIC_descriptor; } @java.lang.Override @@ -282,7 +306,8 @@ public com.google.container.v1beta1.VirtualNIC build() { @java.lang.Override public com.google.container.v1beta1.VirtualNIC buildPartial() { - com.google.container.v1beta1.VirtualNIC result = new com.google.container.v1beta1.VirtualNIC(this); + com.google.container.v1beta1.VirtualNIC result = + new com.google.container.v1beta1.VirtualNIC(this); result.enabled_ = enabled_; onBuilt(); return result; @@ -292,38 +317,39 @@ public com.google.container.v1beta1.VirtualNIC buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.VirtualNIC) { - return mergeFrom((com.google.container.v1beta1.VirtualNIC)other); + return mergeFrom((com.google.container.v1beta1.VirtualNIC) other); } else { super.mergeFrom(other); return this; @@ -361,17 +387,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - enabled_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + enabled_ = input.readBool(); + + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -382,13 +410,16 @@ public Builder mergeFrom( return this; } - private boolean enabled_ ; + private boolean enabled_; /** + * + * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return The enabled. */ @java.lang.Override @@ -396,37 +427,43 @@ public boolean getEnabled() { return enabled_; } /** + * + * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @param value The enabled to set. * @return This builder for chaining. */ public Builder setEnabled(boolean value) { - + enabled_ = value; onChanged(); return this; } /** + * + * *
      * Whether gVNIC features are enabled in the node pool.
      * 
* * bool enabled = 1; + * * @return This builder for chaining. */ public Builder clearEnabled() { - + enabled_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -436,12 +473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.VirtualNIC) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.VirtualNIC) private static final com.google.container.v1beta1.VirtualNIC DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.VirtualNIC(); } @@ -450,27 +487,27 @@ public static com.google.container.v1beta1.VirtualNIC getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VirtualNIC parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VirtualNIC parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -485,6 +522,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.VirtualNIC getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java new file mode 100644 index 000000000000..1482a7848dc7 --- /dev/null +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/container/v1beta1/cluster_service.proto + +package com.google.container.v1beta1; + +public interface VirtualNICOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VirtualNIC) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Whether gVNIC features are enabled in the node pool.
+   * 
+ * + * bool enabled = 1; + * + * @return The enabled. + */ + boolean getEnabled(); +} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java index 95fe00b0faa3..f88d46d82381 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersions.java @@ -1,116 +1,154 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Windows server versions.
  * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions} */ -public final class WindowsVersions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WindowsVersions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WindowsVersions) WindowsVersionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsVersions.newBuilder() to construct. private WindowsVersions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WindowsVersions() { windowsVersions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WindowsVersions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.class, com.google.container.v1beta1.WindowsVersions.Builder.class); + com.google.container.v1beta1.WindowsVersions.class, + com.google.container.v1beta1.WindowsVersions.Builder.class); } - public interface WindowsVersionOrBuilder extends + public interface WindowsVersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WindowsVersions.WindowsVersion) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Windows server image type
      * 
* * string image_type = 1; + * * @return The imageType. */ java.lang.String getImageType(); /** + * + * *
      * Windows server image type
      * 
* * string image_type = 1; + * * @return The bytes for imageType. */ - com.google.protobuf.ByteString - getImageTypeBytes(); + com.google.protobuf.ByteString getImageTypeBytes(); /** + * + * *
      * Windows server build number
      * 
* * string os_version = 2; + * * @return The osVersion. */ java.lang.String getOsVersion(); /** + * + * *
      * Windows server build number
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - com.google.protobuf.ByteString - getOsVersionBytes(); + com.google.protobuf.ByteString getOsVersionBytes(); /** + * + * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; + * * @return Whether the supportEndDate field is set. */ boolean hasSupportEndDate(); /** + * + * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; + * * @return The supportEndDate. */ com.google.type.Date getSupportEndDate(); /** + * + * *
      * Mainstream support end date
      * 
@@ -120,21 +158,24 @@ public interface WindowsVersionOrBuilder extends com.google.type.DateOrBuilder getSupportEndDateOrBuilder(); } /** + * + * *
    * Windows server version.
    * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions.WindowsVersion} */ - public static final class WindowsVersion extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class WindowsVersion extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WindowsVersions.WindowsVersion) WindowsVersionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WindowsVersion.newBuilder() to construct. private WindowsVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WindowsVersion() { imageType_ = ""; osVersion_ = ""; @@ -142,37 +183,41 @@ private WindowsVersion() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WindowsVersion(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); + com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); } public static final int IMAGE_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object imageType_; /** + * + * *
      * Windows server image type
      * 
* * string image_type = 1; + * * @return The imageType. */ @java.lang.Override @@ -181,29 +226,29 @@ public java.lang.String getImageType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; } } /** + * + * *
      * Windows server image type
      * 
* * string image_type = 1; + * * @return The bytes for imageType. */ @java.lang.Override - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -214,11 +259,14 @@ public java.lang.String getImageType() { public static final int OS_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object osVersion_; /** + * + * *
      * Windows server build number
      * 
* * string os_version = 2; + * * @return The osVersion. */ @java.lang.Override @@ -227,29 +275,29 @@ public java.lang.String getOsVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; } } /** + * + * *
      * Windows server build number
      * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -260,11 +308,14 @@ public java.lang.String getOsVersion() { public static final int SUPPORT_END_DATE_FIELD_NUMBER = 3; private com.google.type.Date supportEndDate_; /** + * + * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; + * * @return Whether the supportEndDate field is set. */ @java.lang.Override @@ -272,11 +323,14 @@ public boolean hasSupportEndDate() { return supportEndDate_ != null; } /** + * + * *
      * Mainstream support end date
      * 
* * .google.type.Date support_end_date = 3; + * * @return The supportEndDate. */ @java.lang.Override @@ -284,6 +338,8 @@ public com.google.type.Date getSupportEndDate() { return supportEndDate_ == null ? com.google.type.Date.getDefaultInstance() : supportEndDate_; } /** + * + * *
      * Mainstream support end date
      * 
@@ -296,6 +352,7 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,8 +364,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(imageType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, imageType_); } @@ -334,8 +390,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, osVersion_); } if (supportEndDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSupportEndDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSupportEndDate()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -345,21 +400,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WindowsVersions.WindowsVersion)) { return super.equals(obj); } - com.google.container.v1beta1.WindowsVersions.WindowsVersion other = (com.google.container.v1beta1.WindowsVersions.WindowsVersion) obj; + com.google.container.v1beta1.WindowsVersions.WindowsVersion other = + (com.google.container.v1beta1.WindowsVersions.WindowsVersion) obj; - if (!getImageType() - .equals(other.getImageType())) return false; - if (!getOsVersion() - .equals(other.getOsVersion())) return false; + if (!getImageType().equals(other.getImageType())) return false; + if (!getOsVersion().equals(other.getOsVersion())) return false; if (hasSupportEndDate() != other.hasSupportEndDate()) return false; if (hasSupportEndDate()) { - if (!getSupportEndDate() - .equals(other.getSupportEndDate())) return false; + if (!getSupportEndDate().equals(other.getSupportEndDate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -386,87 +439,94 @@ public int hashCode() { } public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WindowsVersions.WindowsVersion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( 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.WindowsVersions.WindowsVersion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WindowsVersions.WindowsVersion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.container.v1beta1.WindowsVersions.WindowsVersion prototype) { + + public static Builder newBuilder( + com.google.container.v1beta1.WindowsVersions.WindowsVersion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -476,39 +536,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Windows server version.
      * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions.WindowsVersion} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WindowsVersions.WindowsVersion) com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); + com.google.container.v1beta1.WindowsVersions.WindowsVersion.class, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder.class); } // Construct using com.google.container.v1beta1.WindowsVersions.WindowsVersion.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -526,13 +588,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; } @java.lang.Override - public com.google.container.v1beta1.WindowsVersions.WindowsVersion getDefaultInstanceForType() { + public com.google.container.v1beta1.WindowsVersions.WindowsVersion + getDefaultInstanceForType() { return com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance(); } @@ -547,7 +610,8 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersion build() { @java.lang.Override public com.google.container.v1beta1.WindowsVersions.WindowsVersion buildPartial() { - com.google.container.v1beta1.WindowsVersions.WindowsVersion result = new com.google.container.v1beta1.WindowsVersions.WindowsVersion(this); + com.google.container.v1beta1.WindowsVersions.WindowsVersion result = + new com.google.container.v1beta1.WindowsVersions.WindowsVersion(this); result.imageType_ = imageType_; result.osVersion_ = osVersion_; if (supportEndDateBuilder_ == null) { @@ -563,38 +627,41 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersion buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.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.WindowsVersions.WindowsVersion) { - return mergeFrom((com.google.container.v1beta1.WindowsVersions.WindowsVersion)other); + return mergeFrom((com.google.container.v1beta1.WindowsVersions.WindowsVersion) other); } else { super.mergeFrom(other); return this; @@ -602,7 +669,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.WindowsVersions.WindowsVersion other) { - if (other == com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()) return this; + if (other + == com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()) + return this; if (!other.getImageType().isEmpty()) { imageType_ = other.imageType_; onChanged(); @@ -640,29 +709,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - imageType_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - osVersion_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getSupportEndDateFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + imageType_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + osVersion_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage( + getSupportEndDateFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -675,18 +747,20 @@ public Builder mergeFrom( private java.lang.Object imageType_ = ""; /** + * + * *
        * Windows server image type
        * 
* * string image_type = 1; + * * @return The imageType. */ public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imageType_ = s; return s; @@ -695,20 +769,21 @@ public java.lang.String getImageType() { } } /** + * + * *
        * Windows server image type
        * 
* * string image_type = 1; + * * @return The bytes for imageType. */ - public com.google.protobuf.ByteString - getImageTypeBytes() { + public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); imageType_ = b; return b; } else { @@ -716,54 +791,61 @@ public java.lang.String getImageType() { } } /** + * + * *
        * Windows server image type
        * 
* * string image_type = 1; + * * @param value The imageType to set. * @return This builder for chaining. */ - public Builder setImageType( - java.lang.String value) { + public Builder setImageType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + imageType_ = value; onChanged(); return this; } /** + * + * *
        * Windows server image type
        * 
* * string image_type = 1; + * * @return This builder for chaining. */ public Builder clearImageType() { - + imageType_ = getDefaultInstance().getImageType(); onChanged(); return this; } /** + * + * *
        * Windows server image type
        * 
* * string image_type = 1; + * * @param value The bytes for imageType to set. * @return This builder for chaining. */ - public Builder setImageTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setImageTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + imageType_ = value; onChanged(); return this; @@ -771,18 +853,20 @@ public Builder setImageTypeBytes( private java.lang.Object osVersion_ = ""; /** + * + * *
        * Windows server build number
        * 
* * string os_version = 2; + * * @return The osVersion. */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); osVersion_ = s; return s; @@ -791,20 +875,21 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * Windows server build number
        * 
* * string os_version = 2; + * * @return The bytes for osVersion. */ - public com.google.protobuf.ByteString - getOsVersionBytes() { + public com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); osVersion_ = b; return b; } else { @@ -812,54 +897,61 @@ public java.lang.String getOsVersion() { } } /** + * + * *
        * Windows server build number
        * 
* * string os_version = 2; + * * @param value The osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersion( - java.lang.String value) { + public Builder setOsVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + osVersion_ = value; onChanged(); return this; } /** + * + * *
        * Windows server build number
        * 
* * string os_version = 2; + * * @return This builder for chaining. */ public Builder clearOsVersion() { - + osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** + * + * *
        * Windows server build number
        * 
* * string os_version = 2; + * * @param value The bytes for osVersion to set. * @return This builder for chaining. */ - public Builder setOsVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setOsVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + osVersion_ = value; onChanged(); return this; @@ -867,34 +959,45 @@ public Builder setOsVersionBytes( private com.google.type.Date supportEndDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> supportEndDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + supportEndDateBuilder_; /** + * + * *
        * Mainstream support end date
        * 
* * .google.type.Date support_end_date = 3; + * * @return Whether the supportEndDate field is set. */ public boolean hasSupportEndDate() { return supportEndDateBuilder_ != null || supportEndDate_ != null; } /** + * + * *
        * Mainstream support end date
        * 
* * .google.type.Date support_end_date = 3; + * * @return The supportEndDate. */ public com.google.type.Date getSupportEndDate() { if (supportEndDateBuilder_ == null) { - return supportEndDate_ == null ? com.google.type.Date.getDefaultInstance() : supportEndDate_; + return supportEndDate_ == null + ? com.google.type.Date.getDefaultInstance() + : supportEndDate_; } else { return supportEndDateBuilder_.getMessage(); } } /** + * + * *
        * Mainstream support end date
        * 
@@ -915,14 +1018,15 @@ public Builder setSupportEndDate(com.google.type.Date value) { return this; } /** + * + * *
        * Mainstream support end date
        * 
* * .google.type.Date support_end_date = 3; */ - public Builder setSupportEndDate( - com.google.type.Date.Builder builderForValue) { + public Builder setSupportEndDate(com.google.type.Date.Builder builderForValue) { if (supportEndDateBuilder_ == null) { supportEndDate_ = builderForValue.build(); onChanged(); @@ -933,6 +1037,8 @@ public Builder setSupportEndDate( return this; } /** + * + * *
        * Mainstream support end date
        * 
@@ -943,7 +1049,7 @@ public Builder mergeSupportEndDate(com.google.type.Date value) { if (supportEndDateBuilder_ == null) { if (supportEndDate_ != null) { supportEndDate_ = - com.google.type.Date.newBuilder(supportEndDate_).mergeFrom(value).buildPartial(); + com.google.type.Date.newBuilder(supportEndDate_).mergeFrom(value).buildPartial(); } else { supportEndDate_ = value; } @@ -955,6 +1061,8 @@ public Builder mergeSupportEndDate(com.google.type.Date value) { return this; } /** + * + * *
        * Mainstream support end date
        * 
@@ -973,6 +1081,8 @@ public Builder clearSupportEndDate() { return this; } /** + * + * *
        * Mainstream support end date
        * 
@@ -980,11 +1090,13 @@ public Builder clearSupportEndDate() { * .google.type.Date support_end_date = 3; */ public com.google.type.Date.Builder getSupportEndDateBuilder() { - + onChanged(); return getSupportEndDateFieldBuilder().getBuilder(); } /** + * + * *
        * Mainstream support end date
        * 
@@ -995,11 +1107,14 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { if (supportEndDateBuilder_ != null) { return supportEndDateBuilder_.getMessageOrBuilder(); } else { - return supportEndDate_ == null ? - com.google.type.Date.getDefaultInstance() : supportEndDate_; + return supportEndDate_ == null + ? com.google.type.Date.getDefaultInstance() + : supportEndDate_; } } /** + * + * *
        * Mainstream support end date
        * 
@@ -1007,18 +1122,20 @@ public com.google.type.DateOrBuilder getSupportEndDateOrBuilder() { * .google.type.Date support_end_date = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getSupportEndDateFieldBuilder() { if (supportEndDateBuilder_ == null) { - supportEndDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getSupportEndDate(), - getParentForChildren(), - isClean()); + supportEndDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, + com.google.type.Date.Builder, + com.google.type.DateOrBuilder>( + getSupportEndDate(), getParentForChildren(), isClean()); supportEndDate_ = null; } return supportEndDateBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1031,12 +1148,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WindowsVersions.WindowsVersion) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WindowsVersions.WindowsVersion) - private static final com.google.container.v1beta1.WindowsVersions.WindowsVersion DEFAULT_INSTANCE; + private static final com.google.container.v1beta1.WindowsVersions.WindowsVersion + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WindowsVersions.WindowsVersion(); } @@ -1045,27 +1163,28 @@ public static com.google.container.v1beta1.WindowsVersions.WindowsVersion getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsVersion parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1080,70 +1199,88 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WindowsVersions.WindowsVersion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int WINDOWS_VERSIONS_FIELD_NUMBER = 1; - private java.util.List windowsVersions_; + private java.util.List + windowsVersions_; /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ @java.lang.Override - public java.util.List getWindowsVersionsList() { + public java.util.List + getWindowsVersionsList() { return windowsVersions_; } /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> getWindowsVersionsOrBuilderList() { return windowsVersions_; } /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ @java.lang.Override public int getWindowsVersionsCount() { return windowsVersions_.size(); } /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ @java.lang.Override public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions(int index) { return windowsVersions_.get(index); } /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ @java.lang.Override - public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder getWindowsVersionsOrBuilder( - int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder + getWindowsVersionsOrBuilder(int index) { return windowsVersions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1155,8 +1292,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < windowsVersions_.size(); i++) { output.writeMessage(1, windowsVersions_.get(i)); } @@ -1170,8 +1306,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < windowsVersions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, windowsVersions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, windowsVersions_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1181,15 +1316,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WindowsVersions)) { return super.equals(obj); } - com.google.container.v1beta1.WindowsVersions other = (com.google.container.v1beta1.WindowsVersions) obj; + com.google.container.v1beta1.WindowsVersions other = + (com.google.container.v1beta1.WindowsVersions) obj; - if (!getWindowsVersionsList() - .equals(other.getWindowsVersionsList())) return false; + if (!getWindowsVersionsList().equals(other.getWindowsVersionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1210,130 +1345,136 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.WindowsVersions parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.WindowsVersions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WindowsVersions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WindowsVersions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WindowsVersions parseFrom( 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.WindowsVersions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WindowsVersions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.WindowsVersions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WindowsVersions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WindowsVersions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WindowsVersions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WindowsVersions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.WindowsVersions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WindowsVersions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.WindowsVersions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Windows server versions.
    * 
* * Protobuf type {@code google.container.v1beta1.WindowsVersions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WindowsVersions) com.google.container.v1beta1.WindowsVersionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WindowsVersions.class, com.google.container.v1beta1.WindowsVersions.Builder.class); + com.google.container.v1beta1.WindowsVersions.class, + com.google.container.v1beta1.WindowsVersions.Builder.class); } // Construct using com.google.container.v1beta1.WindowsVersions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1348,9 +1489,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WindowsVersions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WindowsVersions_descriptor; } @java.lang.Override @@ -1369,7 +1510,8 @@ public com.google.container.v1beta1.WindowsVersions build() { @java.lang.Override public com.google.container.v1beta1.WindowsVersions buildPartial() { - com.google.container.v1beta1.WindowsVersions result = new com.google.container.v1beta1.WindowsVersions(this); + com.google.container.v1beta1.WindowsVersions result = + new com.google.container.v1beta1.WindowsVersions(this); int from_bitField0_ = bitField0_; if (windowsVersionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1388,38 +1530,39 @@ public com.google.container.v1beta1.WindowsVersions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.WindowsVersions) { - return mergeFrom((com.google.container.v1beta1.WindowsVersions)other); + return mergeFrom((com.google.container.v1beta1.WindowsVersions) other); } else { super.mergeFrom(other); return this; @@ -1446,9 +1589,10 @@ public Builder mergeFrom(com.google.container.v1beta1.WindowsVersions other) { windowsVersionsBuilder_ = null; windowsVersions_ = other.windowsVersions_; bitField0_ = (bitField0_ & ~0x00000001); - windowsVersionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWindowsVersionsFieldBuilder() : null; + windowsVersionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWindowsVersionsFieldBuilder() + : null; } else { windowsVersionsBuilder_.addAllMessages(other.windowsVersions_); } @@ -1480,25 +1624,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.container.v1beta1.WindowsVersions.WindowsVersion m = - input.readMessage( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.parser(), - extensionRegistry); - if (windowsVersionsBuilder_ == null) { - ensureWindowsVersionsIsMutable(); - windowsVersions_.add(m); - } else { - windowsVersionsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.container.v1beta1.WindowsVersions.WindowsVersion m = + input.readMessage( + com.google.container.v1beta1.WindowsVersions.WindowsVersion.parser(), + extensionRegistry); + if (windowsVersionsBuilder_ == null) { + ensureWindowsVersionsIsMutable(); + windowsVersions_.add(m); + } else { + windowsVersionsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1508,28 +1654,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List windowsVersions_ = - java.util.Collections.emptyList(); + private java.util.List + windowsVersions_ = java.util.Collections.emptyList(); + private void ensureWindowsVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - windowsVersions_ = new java.util.ArrayList(windowsVersions_); + windowsVersions_ = + new java.util.ArrayList( + windowsVersions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions.WindowsVersion, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> windowsVersionsBuilder_; + com.google.container.v1beta1.WindowsVersions.WindowsVersion, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, + com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> + windowsVersionsBuilder_; /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public java.util.List getWindowsVersionsList() { + public java.util.List + getWindowsVersionsList() { if (windowsVersionsBuilder_ == null) { return java.util.Collections.unmodifiableList(windowsVersions_); } else { @@ -1537,11 +1694,14 @@ public java.util.List * List of Windows server versions. *
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public int getWindowsVersionsCount() { if (windowsVersionsBuilder_ == null) { @@ -1551,13 +1711,17 @@ public int getWindowsVersionsCount() { } } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions(int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions( + int index) { if (windowsVersionsBuilder_ == null) { return windowsVersions_.get(index); } else { @@ -1565,11 +1729,14 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVer } } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder setWindowsVersions( int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { @@ -1586,14 +1753,18 @@ public Builder setWindowsVersions( return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder setWindowsVersions( - int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { + int index, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { if (windowsVersionsBuilder_ == null) { ensureWindowsVersionsIsMutable(); windowsVersions_.set(index, builderForValue.build()); @@ -1604,13 +1775,17 @@ public Builder setWindowsVersions( return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public Builder addWindowsVersions(com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { + public Builder addWindowsVersions( + com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { if (windowsVersionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1624,11 +1799,14 @@ public Builder addWindowsVersions(com.google.container.v1beta1.WindowsVersions.W return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder addWindowsVersions( int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion value) { @@ -1645,11 +1823,14 @@ public Builder addWindowsVersions( return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder addWindowsVersions( com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { @@ -1663,14 +1844,18 @@ public Builder addWindowsVersions( return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder addWindowsVersions( - int index, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { + int index, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder builderForValue) { if (windowsVersionsBuilder_ == null) { ensureWindowsVersionsIsMutable(); windowsVersions_.add(index, builderForValue.build()); @@ -1681,18 +1866,21 @@ public Builder addWindowsVersions( return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder addAllWindowsVersions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (windowsVersionsBuilder_ == null) { ensureWindowsVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, windowsVersions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, windowsVersions_); onChanged(); } else { windowsVersionsBuilder_.addAllMessages(values); @@ -1700,11 +1888,14 @@ public Builder addAllWindowsVersions( return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder clearWindowsVersions() { if (windowsVersionsBuilder_ == null) { @@ -1717,11 +1908,14 @@ public Builder clearWindowsVersions() { return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ public Builder removeWindowsVersions(int index) { if (windowsVersionsBuilder_ == null) { @@ -1734,39 +1928,50 @@ public Builder removeWindowsVersions(int index) { return this; } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder getWindowsVersionsBuilder( - int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder + getWindowsVersionsBuilder(int index) { return getWindowsVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder getWindowsVersionsOrBuilder( - int index) { + public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder + getWindowsVersionsOrBuilder(int index) { if (windowsVersionsBuilder_ == null) { - return windowsVersions_.get(index); } else { + return windowsVersions_.get(index); + } else { return windowsVersionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public java.util.List - getWindowsVersionsOrBuilderList() { + public java.util.List< + ? extends com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> + getWindowsVersionsOrBuilderList() { if (windowsVersionsBuilder_ != null) { return windowsVersionsBuilder_.getMessageOrBuilderList(); } else { @@ -1774,45 +1979,64 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder getW } } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder addWindowsVersionsBuilder() { - return getWindowsVersionsFieldBuilder().addBuilder( - com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); + public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder + addWindowsVersionsBuilder() { + return getWindowsVersionsFieldBuilder() + .addBuilder( + com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder addWindowsVersionsBuilder( - int index) { - return getWindowsVersionsFieldBuilder().addBuilder( - index, com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); + public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder + addWindowsVersionsBuilder(int index) { + return getWindowsVersionsFieldBuilder() + .addBuilder( + index, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.getDefaultInstance()); } /** + * + * *
      * List of Windows server versions.
      * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - public java.util.List - getWindowsVersionsBuilderList() { + public java.util.List + getWindowsVersionsBuilderList() { return getWindowsVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions.WindowsVersion, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> + com.google.container.v1beta1.WindowsVersions.WindowsVersion, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, + com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder> getWindowsVersionsFieldBuilder() { if (windowsVersionsBuilder_ == null) { - windowsVersionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.container.v1beta1.WindowsVersions.WindowsVersion, com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder>( + windowsVersionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.container.v1beta1.WindowsVersions.WindowsVersion, + com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder, + com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder>( windowsVersions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1821,9 +2045,9 @@ public com.google.container.v1beta1.WindowsVersions.WindowsVersion.Builder addWi } return windowsVersionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1833,12 +2057,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WindowsVersions) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WindowsVersions) private static final com.google.container.v1beta1.WindowsVersions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WindowsVersions(); } @@ -1847,27 +2071,27 @@ public static com.google.container.v1beta1.WindowsVersions getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WindowsVersions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WindowsVersions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1882,6 +2106,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WindowsVersions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java similarity index 59% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java index 8c6097ec96fa..eb0618d7a875 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WindowsVersionsOrBuilder.java @@ -1,52 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface WindowsVersionsOrBuilder extends +public interface WindowsVersionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WindowsVersions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - java.util.List + java.util.List getWindowsVersionsList(); /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ com.google.container.v1beta1.WindowsVersions.WindowsVersion getWindowsVersions(int index); /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ int getWindowsVersionsCount(); /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ - java.util.List + java.util.List getWindowsVersionsOrBuilderList(); /** + * + * *
    * List of Windows server versions.
    * 
* - * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * repeated .google.container.v1beta1.WindowsVersions.WindowsVersion windows_versions = 1; + * */ com.google.container.v1beta1.WindowsVersions.WindowsVersionOrBuilder getWindowsVersionsOrBuilder( int index); diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java similarity index 70% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java index f6b4c4133753..6a1cab542b46 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfig.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; /** + * + * *
  * Configuration for direct-path (via ALTS) with workload identity.
  * 
* * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} */ -public final class WorkloadALTSConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WorkloadALTSConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadALTSConfig) WorkloadALTSConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkloadALTSConfig.newBuilder() to construct. private WorkloadALTSConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WorkloadALTSConfig() { - } + + private WorkloadALTSConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkloadALTSConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadALTSConfig.class, com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); + com.google.container.v1beta1.WorkloadALTSConfig.class, + com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); } public static final int ENABLE_ALTS_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableAlts_; /** + * + * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.BoolValue enable_alts = 1; + * * @return Whether the enableAlts field is set. */ @java.lang.Override @@ -66,6 +87,8 @@ public boolean hasEnableAlts() { return enableAlts_ != null; } /** + * + * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -75,6 +98,7 @@ public boolean hasEnableAlts() {
    * 
* * .google.protobuf.BoolValue enable_alts = 1; + * * @return The enableAlts. */ @java.lang.Override @@ -82,6 +106,8 @@ public com.google.protobuf.BoolValue getEnableAlts() { return enableAlts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableAlts_; } /** + * + * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -98,6 +124,7 @@ public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -109,8 +136,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (enableAlts_ != null) {
       output.writeMessage(1, getEnableAlts());
     }
@@ -124,8 +150,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableAlts_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEnableAlts());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableAlts());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -135,17 +160,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.WorkloadALTSConfig)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.WorkloadALTSConfig other = (com.google.container.v1beta1.WorkloadALTSConfig) obj;
+    com.google.container.v1beta1.WorkloadALTSConfig other =
+        (com.google.container.v1beta1.WorkloadALTSConfig) obj;
 
     if (hasEnableAlts() != other.hasEnableAlts()) return false;
     if (hasEnableAlts()) {
-      if (!getEnableAlts()
-          .equals(other.getEnableAlts())) return false;
+      if (!getEnableAlts().equals(other.getEnableAlts())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -167,130 +192,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.WorkloadALTSConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
       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.WorkloadALTSConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.WorkloadALTSConfig parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.WorkloadALTSConfig parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.WorkloadALTSConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.WorkloadALTSConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for direct-path (via ALTS) with workload identity.
    * 
* * Protobuf type {@code google.container.v1beta1.WorkloadALTSConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadALTSConfig) com.google.container.v1beta1.WorkloadALTSConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadALTSConfig.class, com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); + com.google.container.v1beta1.WorkloadALTSConfig.class, + com.google.container.v1beta1.WorkloadALTSConfig.Builder.class); } // Construct using com.google.container.v1beta1.WorkloadALTSConfig.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +335,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; } @java.lang.Override @@ -325,7 +356,8 @@ public com.google.container.v1beta1.WorkloadALTSConfig build() { @java.lang.Override public com.google.container.v1beta1.WorkloadALTSConfig buildPartial() { - com.google.container.v1beta1.WorkloadALTSConfig result = new com.google.container.v1beta1.WorkloadALTSConfig(this); + com.google.container.v1beta1.WorkloadALTSConfig result = + new com.google.container.v1beta1.WorkloadALTSConfig(this); if (enableAltsBuilder_ == null) { result.enableAlts_ = enableAlts_; } else { @@ -339,38 +371,39 @@ public com.google.container.v1beta1.WorkloadALTSConfig buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.WorkloadALTSConfig) { - return mergeFrom((com.google.container.v1beta1.WorkloadALTSConfig)other); + return mergeFrom((com.google.container.v1beta1.WorkloadALTSConfig) other); } else { super.mergeFrom(other); return this; @@ -378,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.WorkloadALTSConfig other) { - if (other == com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.WorkloadALTSConfig.getDefaultInstance()) + return this; if (other.hasEnableAlts()) { mergeEnableAlts(other.getEnableAlts()); } @@ -408,19 +442,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEnableAltsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getEnableAltsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -433,8 +467,13 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableAlts_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableAltsBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enableAltsBuilder_; /** + * + * *
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -444,12 +483,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_alts = 1; + * * @return Whether the enableAlts field is set. */ public boolean hasEnableAlts() { return enableAltsBuilder_ != null || enableAlts_ != null; } /** + * + * *
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -459,16 +501,21 @@ public boolean hasEnableAlts() {
      * 
* * .google.protobuf.BoolValue enable_alts = 1; + * * @return The enableAlts. */ public com.google.protobuf.BoolValue getEnableAlts() { if (enableAltsBuilder_ == null) { - return enableAlts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableAlts_; + return enableAlts_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableAlts_; } else { return enableAltsBuilder_.getMessage(); } } /** + * + * *
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -493,6 +540,8 @@ public Builder setEnableAlts(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -503,8 +552,7 @@ public Builder setEnableAlts(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_alts = 1;
      */
-    public Builder setEnableAlts(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableAlts(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableAltsBuilder_ == null) {
         enableAlts_ = builderForValue.build();
         onChanged();
@@ -515,6 +563,8 @@ public Builder setEnableAlts(
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -529,7 +579,7 @@ public Builder mergeEnableAlts(com.google.protobuf.BoolValue value) {
       if (enableAltsBuilder_ == null) {
         if (enableAlts_ != null) {
           enableAlts_ =
-            com.google.protobuf.BoolValue.newBuilder(enableAlts_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(enableAlts_).mergeFrom(value).buildPartial();
         } else {
           enableAlts_ = value;
         }
@@ -541,6 +591,8 @@ public Builder mergeEnableAlts(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -563,6 +615,8 @@ public Builder clearEnableAlts() {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -574,11 +628,13 @@ public Builder clearEnableAlts() {
      * .google.protobuf.BoolValue enable_alts = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableAltsBuilder() {
-      
+
       onChanged();
       return getEnableAltsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -593,11 +649,14 @@ public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() {
       if (enableAltsBuilder_ != null) {
         return enableAltsBuilder_.getMessageOrBuilder();
       } else {
-        return enableAlts_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : enableAlts_;
+        return enableAlts_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : enableAlts_;
       }
     }
     /**
+     *
+     *
      * 
      * enable_alts controls whether the alts handshaker should be enabled or not
      * for direct-path.
@@ -609,21 +668,24 @@ public com.google.protobuf.BoolValueOrBuilder getEnableAltsOrBuilder() {
      * .google.protobuf.BoolValue enable_alts = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getEnableAltsFieldBuilder() {
       if (enableAltsBuilder_ == null) {
-        enableAltsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getEnableAlts(),
-                getParentForChildren(),
-                isClean());
+        enableAltsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getEnableAlts(), getParentForChildren(), isClean());
         enableAlts_ = null;
       }
       return enableAltsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -633,12 +695,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadALTSConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadALTSConfig)
   private static final com.google.container.v1beta1.WorkloadALTSConfig DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadALTSConfig();
   }
@@ -647,27 +709,27 @@ public static com.google.container.v1beta1.WorkloadALTSConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public WorkloadALTSConfig parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public WorkloadALTSConfig parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -682,6 +744,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.WorkloadALTSConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
similarity index 69%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
index 44f95119b3ec..82f752254d6f 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadALTSConfigOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface WorkloadALTSConfigOrBuilder extends
+public interface WorkloadALTSConfigOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadALTSConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -17,10 +35,13 @@ public interface WorkloadALTSConfigOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_alts = 1; + * * @return Whether the enableAlts field is set. */ boolean hasEnableAlts(); /** + * + * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
@@ -30,10 +51,13 @@ public interface WorkloadALTSConfigOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_alts = 1; + * * @return The enableAlts. */ com.google.protobuf.BoolValue getEnableAlts(); /** + * + * *
    * enable_alts controls whether the alts handshaker should be enabled or not
    * for direct-path.
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
similarity index 72%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
index ab49487cd4c6..5d35d20940d8 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificates.java
@@ -1,55 +1,75 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See 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
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
  * 
* * Protobuf type {@code google.container.v1beta1.WorkloadCertificates} */ -public final class WorkloadCertificates extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WorkloadCertificates extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadCertificates) WorkloadCertificatesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkloadCertificates.newBuilder() to construct. private WorkloadCertificates(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WorkloadCertificates() { - } + + private WorkloadCertificates() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkloadCertificates(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadCertificates.class, com.google.container.v1beta1.WorkloadCertificates.Builder.class); + com.google.container.v1beta1.WorkloadCertificates.class, + com.google.container.v1beta1.WorkloadCertificates.Builder.class); } public static final int ENABLE_CERTIFICATES_FIELD_NUMBER = 1; private com.google.protobuf.BoolValue enableCertificates_; /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -61,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ @java.lang.Override @@ -68,6 +89,8 @@ public boolean hasEnableCertificates() { return enableCertificates_ != null; } /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -79,13 +102,18 @@ public boolean hasEnableCertificates() {
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ @java.lang.Override public com.google.protobuf.BoolValue getEnableCertificates() { - return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; + return enableCertificates_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableCertificates_; } /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -104,6 +132,7 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -115,8 +144,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (enableCertificates_ != null) {
       output.writeMessage(1, getEnableCertificates());
     }
@@ -130,8 +158,7 @@ public int getSerializedSize() {
 
     size = 0;
     if (enableCertificates_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getEnableCertificates());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEnableCertificates());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -141,17 +168,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.container.v1beta1.WorkloadCertificates)) {
       return super.equals(obj);
     }
-    com.google.container.v1beta1.WorkloadCertificates other = (com.google.container.v1beta1.WorkloadCertificates) obj;
+    com.google.container.v1beta1.WorkloadCertificates other =
+        (com.google.container.v1beta1.WorkloadCertificates) obj;
 
     if (hasEnableCertificates() != other.hasEnableCertificates()) return false;
     if (hasEnableCertificates()) {
-      if (!getEnableCertificates()
-          .equals(other.getEnableCertificates())) return false;
+      if (!getEnableCertificates().equals(other.getEnableCertificates())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -174,129 +201,135 @@ public int hashCode() {
   }
 
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      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.WorkloadCertificates parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
       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.WorkloadCertificates parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.container.v1beta1.WorkloadCertificates parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.container.v1beta1.WorkloadCertificates parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.container.v1beta1.WorkloadCertificates parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.WorkloadCertificates parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.container.v1beta1.WorkloadCertificates parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.container.v1beta1.WorkloadCertificates prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
    * 
* * Protobuf type {@code google.container.v1beta1.WorkloadCertificates} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadCertificates) com.google.container.v1beta1.WorkloadCertificatesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.container.v1beta1.WorkloadCertificates.class, com.google.container.v1beta1.WorkloadCertificates.Builder.class); + com.google.container.v1beta1.WorkloadCertificates.class, + com.google.container.v1beta1.WorkloadCertificates.Builder.class); } // Construct using com.google.container.v1beta1.WorkloadCertificates.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.container.v1beta1.ClusterServiceProto + .internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; } @java.lang.Override @@ -331,7 +364,8 @@ public com.google.container.v1beta1.WorkloadCertificates build() { @java.lang.Override public com.google.container.v1beta1.WorkloadCertificates buildPartial() { - com.google.container.v1beta1.WorkloadCertificates result = new com.google.container.v1beta1.WorkloadCertificates(this); + com.google.container.v1beta1.WorkloadCertificates result = + new com.google.container.v1beta1.WorkloadCertificates(this); if (enableCertificatesBuilder_ == null) { result.enableCertificates_ = enableCertificates_; } else { @@ -345,38 +379,39 @@ public com.google.container.v1beta1.WorkloadCertificates buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.container.v1beta1.WorkloadCertificates) { - return mergeFrom((com.google.container.v1beta1.WorkloadCertificates)other); + return mergeFrom((com.google.container.v1beta1.WorkloadCertificates) other); } else { super.mergeFrom(other); return this; @@ -384,7 +419,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.container.v1beta1.WorkloadCertificates other) { - if (other == com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance()) return this; + if (other == com.google.container.v1beta1.WorkloadCertificates.getDefaultInstance()) + return this; if (other.hasEnableCertificates()) { mergeEnableCertificates(other.getEnableCertificates()); } @@ -414,19 +450,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEnableCertificatesFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getEnableCertificatesFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -439,8 +476,13 @@ public Builder mergeFrom( private com.google.protobuf.BoolValue enableCertificates_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableCertificatesBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enableCertificatesBuilder_; /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -452,12 +494,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ public boolean hasEnableCertificates() { return enableCertificatesBuilder_ != null || enableCertificates_ != null; } /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -469,16 +514,21 @@ public boolean hasEnableCertificates() {
      * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ public com.google.protobuf.BoolValue getEnableCertificates() { if (enableCertificatesBuilder_ == null) { - return enableCertificates_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_; + return enableCertificates_ == null + ? com.google.protobuf.BoolValue.getDefaultInstance() + : enableCertificates_; } else { return enableCertificatesBuilder_.getMessage(); } } /** + * + * *
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -505,6 +555,8 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -517,8 +569,7 @@ public Builder setEnableCertificates(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
-    public Builder setEnableCertificates(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnableCertificates(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enableCertificatesBuilder_ == null) {
         enableCertificates_ = builderForValue.build();
         onChanged();
@@ -529,6 +580,8 @@ public Builder setEnableCertificates(
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -545,7 +598,9 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       if (enableCertificatesBuilder_ == null) {
         if (enableCertificates_ != null) {
           enableCertificates_ =
-            com.google.protobuf.BoolValue.newBuilder(enableCertificates_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(enableCertificates_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           enableCertificates_ = value;
         }
@@ -557,6 +612,8 @@ public Builder mergeEnableCertificates(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -581,6 +638,8 @@ public Builder clearEnableCertificates() {
       return this;
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -594,11 +653,13 @@ public Builder clearEnableCertificates() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     public com.google.protobuf.BoolValue.Builder getEnableCertificatesBuilder() {
-      
+
       onChanged();
       return getEnableCertificatesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -615,11 +676,14 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
       if (enableCertificatesBuilder_ != null) {
         return enableCertificatesBuilder_.getMessageOrBuilder();
       } else {
-        return enableCertificates_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : enableCertificates_;
+        return enableCertificates_ == null
+            ? com.google.protobuf.BoolValue.getDefaultInstance()
+            : enableCertificates_;
       }
     }
     /**
+     *
+     *
      * 
      * enable_certificates controls issuance of workload mTLS certificates.
      * If set, the GKE Workload Identity Certificates controller and node agent
@@ -633,21 +697,24 @@ public com.google.protobuf.BoolValueOrBuilder getEnableCertificatesOrBuilder() {
      * .google.protobuf.BoolValue enable_certificates = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getEnableCertificatesFieldBuilder() {
       if (enableCertificatesBuilder_ == null) {
-        enableCertificatesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getEnableCertificates(),
-                getParentForChildren(),
-                isClean());
+        enableCertificatesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getEnableCertificates(), getParentForChildren(), isClean());
         enableCertificates_ = null;
       }
       return enableCertificatesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -657,12 +724,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadCertificates)
   }
 
   // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadCertificates)
   private static final com.google.container.v1beta1.WorkloadCertificates DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadCertificates();
   }
@@ -671,27 +738,27 @@ public static com.google.container.v1beta1.WorkloadCertificates getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public WorkloadCertificates parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public WorkloadCertificates parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -706,6 +773,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.container.v1beta1.WorkloadCertificates getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
similarity index 75%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
index e8007686ee2a..bad25d28e8a3 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadCertificatesOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
-public interface WorkloadCertificatesOrBuilder extends
+public interface WorkloadCertificatesOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadCertificates)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -19,10 +37,13 @@ public interface WorkloadCertificatesOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return Whether the enableCertificates field is set. */ boolean hasEnableCertificates(); /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
@@ -34,10 +55,13 @@ public interface WorkloadCertificatesOrBuilder extends
    * 
* * .google.protobuf.BoolValue enable_certificates = 1; + * * @return The enableCertificates. */ com.google.protobuf.BoolValue getEnableCertificates(); /** + * + * *
    * enable_certificates controls issuance of workload mTLS certificates.
    * If set, the GKE Workload Identity Certificates controller and node agent
diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
similarity index 69%
rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
index 0a44b29baadc..1496b3a539f9 100644
--- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
+++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfig.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/container/v1beta1/cluster_service.proto
 
 package com.google.container.v1beta1;
 
 /**
+ *
+ *
  * 
  * WorkloadConfig defines the flags to enable or disable the
  * workload configurations for the cluster.
@@ -11,54 +28,59 @@
  *
  * Protobuf type {@code google.container.v1beta1.WorkloadConfig}
  */
-public final class WorkloadConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WorkloadConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadConfig)
     WorkloadConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WorkloadConfig.newBuilder() to construct.
   private WorkloadConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WorkloadConfig() {
     auditMode_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WorkloadConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.WorkloadConfig.class, com.google.container.v1beta1.WorkloadConfig.Builder.class);
+            com.google.container.v1beta1.WorkloadConfig.class,
+            com.google.container.v1beta1.WorkloadConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Mode defines how to audit the workload configs.
    * 
* * Protobuf enum {@code google.container.v1beta1.WorkloadConfig.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value meaning that no mode has been specified.
      * 
@@ -67,6 +89,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * This disables Workload Configuration auditing on the cluster,
      * meaning that nothing is surfaced.
@@ -76,6 +100,8 @@ public enum Mode
      */
     DISABLED(1),
     /**
+     *
+     *
      * 
      * Applies the default set of policy auditing to a cluster's workloads.
      * 
@@ -84,6 +110,8 @@ public enum Mode */ BASIC(4), /** + * + * *
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Baseline policy.
@@ -94,6 +122,8 @@ public enum Mode
     @java.lang.Deprecated
     BASELINE(2),
     /**
+     *
+     *
      * 
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Restricted policy.
@@ -107,6 +137,8 @@ public enum Mode
     ;
 
     /**
+     *
+     *
      * 
      * Default value meaning that no mode has been specified.
      * 
@@ -115,6 +147,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This disables Workload Configuration auditing on the cluster,
      * meaning that nothing is surfaced.
@@ -124,6 +158,8 @@ public enum Mode
      */
     public static final int DISABLED_VALUE = 1;
     /**
+     *
+     *
      * 
      * Applies the default set of policy auditing to a cluster's workloads.
      * 
@@ -132,6 +168,8 @@ public enum Mode */ public static final int BASIC_VALUE = 4; /** + * + * *
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Baseline policy.
@@ -141,6 +179,8 @@ public enum Mode
      */
     @java.lang.Deprecated public static final int BASELINE_VALUE = 2;
     /**
+     *
+     *
      * 
      * Surfaces configurations that are not in line with the
      * Pod Security Standard Restricted policy.
@@ -150,7 +190,6 @@ public enum Mode
      */
     @java.lang.Deprecated public static final int RESTRICTED_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -175,51 +214,53 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0: return MODE_UNSPECIFIED;
-        case 1: return DISABLED;
-        case 4: return BASIC;
-        case 2: return BASELINE;
-        case 3: return RESTRICTED;
-        default: return null;
+        case 0:
+          return MODE_UNSPECIFIED;
+        case 1:
+          return DISABLED;
+        case 4:
+          return BASIC;
+        case 2:
+          return BASELINE;
+        case 3:
+          return RESTRICTED;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Mode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Mode findValueByNumber(int number) {
-              return Mode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.container.v1beta1.WorkloadConfig.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -240,42 +281,56 @@ private Mode(int value) {
   public static final int AUDIT_MODE_FIELD_NUMBER = 1;
   private int auditMode_;
   /**
+   *
+   *
    * 
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return Whether the auditMode field is set. */ - @java.lang.Override public boolean hasAuditMode() { + @java.lang.Override + public boolean hasAuditMode() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return The enum numeric value on the wire for auditMode. */ - @java.lang.Override public int getAuditModeValue() { + @java.lang.Override + public int getAuditModeValue() { return auditMode_; } /** + * + * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return The auditMode. */ - @java.lang.Override public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { + @java.lang.Override + public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadConfig.Mode result = com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); + com.google.container.v1beta1.WorkloadConfig.Mode result = + com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); return result == null ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +342,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, auditMode_); } @@ -302,8 +356,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, auditMode_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, auditMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,12 +366,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WorkloadConfig)) { return super.equals(obj); } - com.google.container.v1beta1.WorkloadConfig other = (com.google.container.v1beta1.WorkloadConfig) obj; + com.google.container.v1beta1.WorkloadConfig other = + (com.google.container.v1beta1.WorkloadConfig) obj; if (hasAuditMode() != other.hasAuditMode()) return false; if (hasAuditMode()) { @@ -344,97 +398,104 @@ public int hashCode() { return hash; } - public static com.google.container.v1beta1.WorkloadConfig parseFrom( - java.nio.ByteBuffer data) + public static com.google.container.v1beta1.WorkloadConfig parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WorkloadConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadConfig parseFrom( 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.WorkloadConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.WorkloadConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WorkloadConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.WorkloadConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.WorkloadConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * WorkloadConfig defines the flags to enable or disable the
    * workload configurations for the cluster.
@@ -442,33 +503,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.WorkloadConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadConfig)
       com.google.container.v1beta1.WorkloadConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.WorkloadConfig.class, com.google.container.v1beta1.WorkloadConfig.Builder.class);
+              com.google.container.v1beta1.WorkloadConfig.class,
+              com.google.container.v1beta1.WorkloadConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.WorkloadConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,9 +538,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadConfig_descriptor;
     }
 
     @java.lang.Override
@@ -499,7 +559,8 @@ public com.google.container.v1beta1.WorkloadConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.WorkloadConfig buildPartial() {
-      com.google.container.v1beta1.WorkloadConfig result = new com.google.container.v1beta1.WorkloadConfig(this);
+      com.google.container.v1beta1.WorkloadConfig result =
+          new com.google.container.v1beta1.WorkloadConfig(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -515,38 +576,39 @@ public com.google.container.v1beta1.WorkloadConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.WorkloadConfig) {
-        return mergeFrom((com.google.container.v1beta1.WorkloadConfig)other);
+        return mergeFrom((com.google.container.v1beta1.WorkloadConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -584,17 +646,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              auditMode_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                auditMode_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -604,37 +668,49 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int auditMode_ = 0;
     /**
+     *
+     *
      * 
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return Whether the auditMode field is set. */ - @java.lang.Override public boolean hasAuditMode() { + @java.lang.Override + public boolean hasAuditMode() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return The enum numeric value on the wire for auditMode. */ - @java.lang.Override public int getAuditModeValue() { + @java.lang.Override + public int getAuditModeValue() { return auditMode_; } /** + * + * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @param value The enum numeric value on the wire for auditMode to set. * @return This builder for chaining. */ @@ -645,25 +721,34 @@ public Builder setAuditModeValue(int value) { return this; } /** + * + * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return The auditMode. */ @java.lang.Override public com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadConfig.Mode result = com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); - return result == null ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED : result; + com.google.container.v1beta1.WorkloadConfig.Mode result = + com.google.container.v1beta1.WorkloadConfig.Mode.valueOf(auditMode_); + return result == null + ? com.google.container.v1beta1.WorkloadConfig.Mode.UNRECOGNIZED + : result; } /** + * + * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @param value The auditMode to set. * @return This builder for chaining. */ @@ -677,11 +762,14 @@ public Builder setAuditMode(com.google.container.v1beta1.WorkloadConfig.Mode val return this; } /** + * + * *
      * Sets which mode of auditing should be used for the cluster's workloads.
      * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return This builder for chaining. */ public Builder clearAuditMode() { @@ -690,9 +778,9 @@ public Builder clearAuditMode() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -702,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadConfig) private static final com.google.container.v1beta1.WorkloadConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadConfig(); } @@ -716,27 +804,27 @@ public static com.google.container.v1beta1.WorkloadConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -751,6 +839,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WorkloadConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java similarity index 62% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java index e8ad8c377514..2814009d86c3 100644 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java +++ b/java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadConfigOrBuilder.java @@ -1,36 +1,61 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface WorkloadConfigOrBuilder extends +public interface WorkloadConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return Whether the auditMode field is set. */ boolean hasAuditMode(); /** + * + * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return The enum numeric value on the wire for auditMode. */ int getAuditModeValue(); /** + * + * *
    * Sets which mode of auditing should be used for the cluster's workloads.
    * 
* * optional .google.container.v1beta1.WorkloadConfig.Mode audit_mode = 1; + * * @return The auditMode. */ com.google.container.v1beta1.WorkloadConfig.Mode getAuditMode(); diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 69% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfig.java index 53c2556d9a8b..0815fd9d5289 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * Configuration for the use of Kubernetes Service Accounts in GCP IAM
  * policies.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.WorkloadIdentityConfig}
  */
-public final class WorkloadIdentityConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WorkloadIdentityConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadIdentityConfig)
     WorkloadIdentityConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WorkloadIdentityConfig.newBuilder() to construct.
   private WorkloadIdentityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WorkloadIdentityConfig() {
     identityNamespace_ = "";
     workloadPool_ = "";
@@ -28,72 +46,78 @@ private WorkloadIdentityConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WorkloadIdentityConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.WorkloadIdentityConfig.class, com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
+            com.google.container.v1beta1.WorkloadIdentityConfig.class,
+            com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
   }
 
   public static final int IDENTITY_NAMESPACE_FIELD_NUMBER = 1;
   private volatile java.lang.Object identityNamespace_;
   /**
+   *
+   *
    * 
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The identityNamespace. */ @java.lang.Override - @java.lang.Deprecated public java.lang.String getIdentityNamespace() { + @java.lang.Deprecated + public java.lang.String getIdentityNamespace() { java.lang.Object ref = identityNamespace_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityNamespace_ = s; return s; } } /** + * + * *
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The bytes for identityNamespace. */ @java.lang.Override - @java.lang.Deprecated public com.google.protobuf.ByteString - getIdentityNamespaceBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getIdentityNamespaceBytes() { java.lang.Object ref = identityNamespace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identityNamespace_ = b; return b; } else { @@ -104,11 +128,14 @@ protected java.lang.Object newInstance( public static final int WORKLOAD_POOL_FIELD_NUMBER = 2; private volatile java.lang.Object workloadPool_; /** + * + * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; + * * @return The workloadPool. */ @java.lang.Override @@ -117,29 +144,29 @@ public java.lang.String getWorkloadPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; } } /** + * + * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkloadPoolBytes() { + public com.google.protobuf.ByteString getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -150,11 +177,14 @@ public java.lang.String getWorkloadPool() { public static final int IDENTITY_PROVIDER_FIELD_NUMBER = 3; private volatile java.lang.Object identityProvider_; /** + * + * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; + * * @return The identityProvider. */ @java.lang.Override @@ -163,29 +193,29 @@ public java.lang.String getIdentityProvider() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; } } /** + * + * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; + * * @return The bytes for identityProvider. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdentityProviderBytes() { + public com.google.protobuf.ByteString getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -194,6 +224,7 @@ public java.lang.String getIdentityProvider() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(identityNamespace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, identityNamespace_); } @@ -242,19 +272,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WorkloadIdentityConfig)) { return super.equals(obj); } - com.google.container.v1beta1.WorkloadIdentityConfig other = (com.google.container.v1beta1.WorkloadIdentityConfig) obj; + com.google.container.v1beta1.WorkloadIdentityConfig other = + (com.google.container.v1beta1.WorkloadIdentityConfig) obj; - if (!getIdentityNamespace() - .equals(other.getIdentityNamespace())) return false; - if (!getWorkloadPool() - .equals(other.getWorkloadPool())) return false; - if (!getIdentityProvider() - .equals(other.getIdentityProvider())) return false; + if (!getIdentityNamespace().equals(other.getIdentityNamespace())) return false; + if (!getWorkloadPool().equals(other.getWorkloadPool())) return false; + if (!getIdentityProvider().equals(other.getIdentityProvider())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -278,96 +306,103 @@ public int hashCode() { } public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadIdentityConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WorkloadIdentityConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadIdentityConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.WorkloadIdentityConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for the use of Kubernetes Service Accounts in GCP IAM
    * policies.
@@ -375,33 +410,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.WorkloadIdentityConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadIdentityConfig)
       com.google.container.v1beta1.WorkloadIdentityConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.WorkloadIdentityConfig.class, com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
+              com.google.container.v1beta1.WorkloadIdentityConfig.class,
+              com.google.container.v1beta1.WorkloadIdentityConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.WorkloadIdentityConfig.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -415,9 +449,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor;
     }
 
     @java.lang.Override
@@ -436,7 +470,8 @@ public com.google.container.v1beta1.WorkloadIdentityConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.WorkloadIdentityConfig buildPartial() {
-      com.google.container.v1beta1.WorkloadIdentityConfig result = new com.google.container.v1beta1.WorkloadIdentityConfig(this);
+      com.google.container.v1beta1.WorkloadIdentityConfig result =
+          new com.google.container.v1beta1.WorkloadIdentityConfig(this);
       result.identityNamespace_ = identityNamespace_;
       result.workloadPool_ = workloadPool_;
       result.identityProvider_ = identityProvider_;
@@ -448,38 +483,39 @@ public com.google.container.v1beta1.WorkloadIdentityConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.WorkloadIdentityConfig) {
-        return mergeFrom((com.google.container.v1beta1.WorkloadIdentityConfig)other);
+        return mergeFrom((com.google.container.v1beta1.WorkloadIdentityConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,7 +523,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.WorkloadIdentityConfig other) {
-      if (other == com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.WorkloadIdentityConfig.getDefaultInstance())
+        return this;
       if (!other.getIdentityNamespace().isEmpty()) {
         identityNamespace_ = other.identityNamespace_;
         onChanged();
@@ -526,27 +563,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              identityNamespace_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              workloadPool_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              identityProvider_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                identityNamespace_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                workloadPool_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                identityProvider_ = input.readStringRequireUtf8();
+
+                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) {
@@ -559,20 +600,23 @@ public Builder mergeFrom(
 
     private java.lang.Object identityNamespace_ = "";
     /**
+     *
+     *
      * 
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The identityNamespace. */ - @java.lang.Deprecated public java.lang.String getIdentityNamespace() { + @java.lang.Deprecated + public java.lang.String getIdentityNamespace() { java.lang.Object ref = identityNamespace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityNamespace_ = s; return s; @@ -581,22 +625,24 @@ public Builder mergeFrom( } } /** + * + * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The bytes for identityNamespace. */ - @java.lang.Deprecated public com.google.protobuf.ByteString - getIdentityNamespaceBytes() { + @java.lang.Deprecated + public com.google.protobuf.ByteString getIdentityNamespaceBytes() { java.lang.Object ref = identityNamespace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identityNamespace_ = b; return b; } else { @@ -604,60 +650,70 @@ public Builder mergeFrom( } } /** + * + * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @param value The identityNamespace to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setIdentityNamespace( - java.lang.String value) { + @java.lang.Deprecated + public Builder setIdentityNamespace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identityNamespace_ = value; onChanged(); return this; } /** + * + * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearIdentityNamespace() { - + @java.lang.Deprecated + public Builder clearIdentityNamespace() { + identityNamespace_ = getDefaultInstance().getIdentityNamespace(); onChanged(); return this; } /** + * + * *
      * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
      * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @param value The bytes for identityNamespace to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setIdentityNamespaceBytes( - com.google.protobuf.ByteString value) { + @java.lang.Deprecated + public Builder setIdentityNamespaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identityNamespace_ = value; onChanged(); return this; @@ -665,18 +721,20 @@ public Builder mergeFrom( private java.lang.Object workloadPool_ = ""; /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @return The workloadPool. */ public java.lang.String getWorkloadPool() { java.lang.Object ref = workloadPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workloadPool_ = s; return s; @@ -685,20 +743,21 @@ public java.lang.String getWorkloadPool() { } } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ - public com.google.protobuf.ByteString - getWorkloadPoolBytes() { + public com.google.protobuf.ByteString getWorkloadPoolBytes() { java.lang.Object ref = workloadPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workloadPool_ = b; return b; } else { @@ -706,54 +765,61 @@ public java.lang.String getWorkloadPool() { } } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @param value The workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPool( - java.lang.String value) { + public Builder setWorkloadPool(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workloadPool_ = value; onChanged(); return this; } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @return This builder for chaining. */ public Builder clearWorkloadPool() { - + workloadPool_ = getDefaultInstance().getWorkloadPool(); onChanged(); return this; } /** + * + * *
      * The workload pool to attach all Kubernetes service accounts to.
      * 
* * string workload_pool = 2; + * * @param value The bytes for workloadPool to set. * @return This builder for chaining. */ - public Builder setWorkloadPoolBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkloadPoolBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workloadPool_ = value; onChanged(); return this; @@ -761,18 +827,20 @@ public Builder setWorkloadPoolBytes( private java.lang.Object identityProvider_ = ""; /** + * + * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; + * * @return The identityProvider. */ public java.lang.String getIdentityProvider() { java.lang.Object ref = identityProvider_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); identityProvider_ = s; return s; @@ -781,20 +849,21 @@ public java.lang.String getIdentityProvider() { } } /** + * + * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; + * * @return The bytes for identityProvider. */ - public com.google.protobuf.ByteString - getIdentityProviderBytes() { + public com.google.protobuf.ByteString getIdentityProviderBytes() { java.lang.Object ref = identityProvider_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); identityProvider_ = b; return b; } else { @@ -802,61 +871,68 @@ public java.lang.String getIdentityProvider() { } } /** + * + * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; + * * @param value The identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProvider( - java.lang.String value) { + public Builder setIdentityProvider(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + identityProvider_ = value; onChanged(); return this; } /** + * + * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; + * * @return This builder for chaining. */ public Builder clearIdentityProvider() { - + identityProvider_ = getDefaultInstance().getIdentityProvider(); onChanged(); return this; } /** + * + * *
      * identity provider is the third party identity provider.
      * 
* * string identity_provider = 3; + * * @param value The bytes for identityProvider to set. * @return This builder for chaining. */ - public Builder setIdentityProviderBytes( - com.google.protobuf.ByteString value) { + public Builder setIdentityProviderBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + identityProvider_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +942,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadIdentityConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadIdentityConfig) private static final com.google.container.v1beta1.WorkloadIdentityConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadIdentityConfig(); } @@ -880,27 +956,27 @@ public static com.google.container.v1beta1.WorkloadIdentityConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadIdentityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadIdentityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -915,6 +991,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WorkloadIdentityConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 65% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadIdentityConfigOrBuilder.java index e5c0cee75c41..a2e454ab86c2 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,73 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface WorkloadIdentityConfigOrBuilder extends +public interface WorkloadIdentityConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadIdentityConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The identityNamespace. */ - @java.lang.Deprecated java.lang.String getIdentityNamespace(); + @java.lang.Deprecated + java.lang.String getIdentityNamespace(); /** + * + * *
    * IAM Identity Namespace to attach all Kubernetes Service Accounts to.
    * 
* * string identity_namespace = 1 [deprecated = true]; + * * @deprecated google.container.v1beta1.WorkloadIdentityConfig.identity_namespace is deprecated. * See google/container/v1beta1/cluster_service.proto;l=4656 * @return The bytes for identityNamespace. */ - @java.lang.Deprecated com.google.protobuf.ByteString - getIdentityNamespaceBytes(); + @java.lang.Deprecated + com.google.protobuf.ByteString getIdentityNamespaceBytes(); /** + * + * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; + * * @return The workloadPool. */ java.lang.String getWorkloadPool(); /** + * + * *
    * The workload pool to attach all Kubernetes service accounts to.
    * 
* * string workload_pool = 2; + * * @return The bytes for workloadPool. */ - com.google.protobuf.ByteString - getWorkloadPoolBytes(); + com.google.protobuf.ByteString getWorkloadPoolBytes(); /** + * + * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; + * * @return The identityProvider. */ java.lang.String getIdentityProvider(); /** + * + * *
    * identity provider is the third party identity provider.
    * 
* * string identity_provider = 3; + * * @return The bytes for identityProvider. */ - com.google.protobuf.ByteString - getIdentityProviderBytes(); + com.google.protobuf.ByteString getIdentityProviderBytes(); } diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 66% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfig.java index c960253b5250..ffa086ffcea5 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1beta1/cluster_service.proto package com.google.container.v1beta1; /** + * + * *
  * WorkloadMetadataConfig defines the metadata configuration to expose to
  * workloads on the node pool.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.container.v1beta1.WorkloadMetadataConfig}
  */
-public final class WorkloadMetadataConfig extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class WorkloadMetadataConfig extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.container.v1beta1.WorkloadMetadataConfig)
     WorkloadMetadataConfigOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use WorkloadMetadataConfig.newBuilder() to construct.
   private WorkloadMetadataConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private WorkloadMetadataConfig() {
     nodeMetadata_ = 0;
     mode_ = 0;
@@ -27,30 +45,33 @@ private WorkloadMetadataConfig() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new WorkloadMetadataConfig();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
+    return com.google.container.v1beta1.ClusterServiceProto
+        .internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.container.v1beta1.WorkloadMetadataConfig.class, com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
+            com.google.container.v1beta1.WorkloadMetadataConfig.class,
+            com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * NodeMetadata is the configuration for if and how to expose the node
    * metadata to the workload running on the node.
@@ -58,9 +79,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata}
    */
-  public enum NodeMetadata
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum NodeMetadata implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -69,6 +91,8 @@ public enum NodeMetadata */ UNSPECIFIED(0), /** + * + * *
      * Prevent workloads not in hostNetwork from accessing certain VM metadata,
      * specifically kube-env, which contains Kubelet credentials, and the
@@ -83,6 +107,8 @@ public enum NodeMetadata
      */
     SECURE(1),
     /**
+     *
+     *
      * 
      * Expose all VM metadata to pods.
      * 
@@ -91,6 +117,8 @@ public enum NodeMetadata */ EXPOSE(2), /** + * + * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -106,6 +134,8 @@ public enum NodeMetadata
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -114,6 +144,8 @@ public enum NodeMetadata */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * Prevent workloads not in hostNetwork from accessing certain VM metadata,
      * specifically kube-env, which contains Kubelet credentials, and the
@@ -128,6 +160,8 @@ public enum NodeMetadata
      */
     public static final int SECURE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Expose all VM metadata to pods.
      * 
@@ -136,6 +170,8 @@ public enum NodeMetadata */ public static final int EXPOSE_VALUE = 2; /** + * + * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -148,7 +184,6 @@ public enum NodeMetadata
      */
     public static final int GKE_METADATA_SERVER_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -173,50 +208,53 @@ public static NodeMetadata valueOf(int value) {
      */
     public static NodeMetadata forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return SECURE;
-        case 2: return EXPOSE;
-        case 3: return GKE_METADATA_SERVER;
-        default: return null;
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return SECURE;
+        case 2:
+          return EXPOSE;
+        case 3:
+          return GKE_METADATA_SERVER;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        NodeMetadata> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public NodeMetadata findValueByNumber(int number) {
-              return NodeMetadata.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public NodeMetadata findValueByNumber(int number) {
+            return NodeMetadata.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final NodeMetadata[] VALUES = values();
 
-    public static NodeMetadata valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static NodeMetadata valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -234,6 +272,8 @@ private NodeMetadata(int value) {
   }
 
   /**
+   *
+   *
    * 
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node.
@@ -241,9 +281,10 @@ private NodeMetadata(int value) {
    *
    * Protobuf enum {@code google.container.v1beta1.WorkloadMetadataConfig.Mode}
    */
-  public enum Mode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -252,6 +293,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -260,6 +303,8 @@ public enum Mode */ GCE_METADATA(1), /** + * + * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -275,6 +320,8 @@ public enum Mode
     ;
 
     /**
+     *
+     *
      * 
      * Not set.
      * 
@@ -283,6 +330,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Expose all Compute Engine metadata to pods.
      * 
@@ -291,6 +340,8 @@ public enum Mode */ public static final int GCE_METADATA_VALUE = 1; /** + * + * *
      * Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
      * a metadata API to workloads that is compatible with the V1 Compute
@@ -303,7 +354,6 @@ public enum Mode
      */
     public static final int GKE_METADATA_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -328,49 +378,51 @@ public static Mode valueOf(int value) {
      */
     public static Mode forNumber(int value) {
       switch (value) {
-        case 0: return MODE_UNSPECIFIED;
-        case 1: return GCE_METADATA;
-        case 2: return GKE_METADATA;
-        default: return null;
+        case 0:
+          return MODE_UNSPECIFIED;
+        case 1:
+          return GCE_METADATA;
+        case 2:
+          return GKE_METADATA;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Mode> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Mode findValueByNumber(int number) {
-              return Mode.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public 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() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor().getEnumTypes().get(1);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.container.v1beta1.WorkloadMetadataConfig.getDescriptor()
+          .getEnumTypes()
+          .get(1);
     }
 
     private static final Mode[] VALUES = values();
 
-    public static Mode valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    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.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -390,66 +442,95 @@ private Mode(int value) {
   public static final int NODE_METADATA_FIELD_NUMBER = 1;
   private int nodeMetadata_;
   /**
+   *
+   *
    * 
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @return The enum numeric value on the wire for nodeMetadata. */ - @java.lang.Override @java.lang.Deprecated public int getNodeMetadataValue() { + @java.lang.Override + @java.lang.Deprecated + public int getNodeMetadataValue() { return nodeMetadata_; } /** + * + * *
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @return The nodeMetadata. */ - @java.lang.Override @java.lang.Deprecated public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { + @java.lang.Override + @java.lang.Deprecated + public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); - return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED : result; + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); + return result == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED + : result; } public static final int MODE_FIELD_NUMBER = 2; private int mode_; /** + * + * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The mode. */ - @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode() { + @java.lang.Override + public com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; + com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = + com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -461,12 +542,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (nodeMetadata_ != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (nodeMetadata_ + != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED + .getNumber()) { output.writeEnum(1, nodeMetadata_); } - if (mode_ != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { + if (mode_ + != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(2, mode_); } getUnknownFields().writeTo(output); @@ -478,13 +561,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (nodeMetadata_ != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, nodeMetadata_); + if (nodeMetadata_ + != com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, nodeMetadata_); } - if (mode_ != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, mode_); + if (mode_ + != com.google.container.v1beta1.WorkloadMetadataConfig.Mode.MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -494,12 +578,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.container.v1beta1.WorkloadMetadataConfig)) { return super.equals(obj); } - com.google.container.v1beta1.WorkloadMetadataConfig other = (com.google.container.v1beta1.WorkloadMetadataConfig) obj; + com.google.container.v1beta1.WorkloadMetadataConfig other = + (com.google.container.v1beta1.WorkloadMetadataConfig) obj; if (nodeMetadata_ != other.nodeMetadata_) return false; if (mode_ != other.mode_) return false; @@ -524,96 +609,103 @@ public int hashCode() { } public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + 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.WorkloadMetadataConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( 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.WorkloadMetadataConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.container.v1beta1.WorkloadMetadataConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.container.v1beta1.WorkloadMetadataConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadMetadataConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.container.v1beta1.WorkloadMetadataConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.container.v1beta1.WorkloadMetadataConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * WorkloadMetadataConfig defines the metadata configuration to expose to
    * workloads on the node pool.
@@ -621,33 +713,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.container.v1beta1.WorkloadMetadataConfig}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.container.v1beta1.WorkloadMetadataConfig)
       com.google.container.v1beta1.WorkloadMetadataConfigOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.container.v1beta1.WorkloadMetadataConfig.class, com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
+              com.google.container.v1beta1.WorkloadMetadataConfig.class,
+              com.google.container.v1beta1.WorkloadMetadataConfig.Builder.class);
     }
 
     // Construct using com.google.container.v1beta1.WorkloadMetadataConfig.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -659,9 +750,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.container.v1beta1.ClusterServiceProto.internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.container.v1beta1.ClusterServiceProto
+          .internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor;
     }
 
     @java.lang.Override
@@ -680,7 +771,8 @@ public com.google.container.v1beta1.WorkloadMetadataConfig build() {
 
     @java.lang.Override
     public com.google.container.v1beta1.WorkloadMetadataConfig buildPartial() {
-      com.google.container.v1beta1.WorkloadMetadataConfig result = new com.google.container.v1beta1.WorkloadMetadataConfig(this);
+      com.google.container.v1beta1.WorkloadMetadataConfig result =
+          new com.google.container.v1beta1.WorkloadMetadataConfig(this);
       result.nodeMetadata_ = nodeMetadata_;
       result.mode_ = mode_;
       onBuilt();
@@ -691,38 +783,39 @@ public com.google.container.v1beta1.WorkloadMetadataConfig buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.container.v1beta1.WorkloadMetadataConfig) {
-        return mergeFrom((com.google.container.v1beta1.WorkloadMetadataConfig)other);
+        return mergeFrom((com.google.container.v1beta1.WorkloadMetadataConfig) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -730,7 +823,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.container.v1beta1.WorkloadMetadataConfig other) {
-      if (other == com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance()) return this;
+      if (other == com.google.container.v1beta1.WorkloadMetadataConfig.getDefaultInstance())
+        return this;
       if (other.nodeMetadata_ != 0) {
         setNodeMetadataValue(other.getNodeMetadataValue());
       }
@@ -763,22 +857,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              nodeMetadata_ = input.readEnum();
-
-              break;
-            } // case 8
-            case 16: {
-              mode_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                nodeMetadata_ = input.readEnum();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                mode_ = input.readEnum();
+
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -791,88 +888,123 @@ public Builder mergeFrom(
 
     private int nodeMetadata_ = 0;
     /**
+     *
+     *
      * 
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @return The enum numeric value on the wire for nodeMetadata. */ - @java.lang.Override @java.lang.Deprecated public int getNodeMetadataValue() { + @java.lang.Override + @java.lang.Deprecated + public int getNodeMetadataValue() { return nodeMetadata_; } /** + * + * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @param value The enum numeric value on the wire for nodeMetadata to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodeMetadataValue(int value) { - + @java.lang.Deprecated + public Builder setNodeMetadataValue(int value) { + nodeMetadata_ = value; onChanged(); return this; } /** + * + * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @return The nodeMetadata. */ @java.lang.Override - @java.lang.Deprecated public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { + @java.lang.Deprecated + public com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); - return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED : result; + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata result = + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.valueOf(nodeMetadata_); + return result == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata.UNRECOGNIZED + : result; } /** + * + * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @param value The nodeMetadata to set. * @return This builder for chaining. */ - @java.lang.Deprecated public Builder setNodeMetadata(com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata value) { + @java.lang.Deprecated + public Builder setNodeMetadata( + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata value) { if (value == null) { throw new NullPointerException(); } - + nodeMetadata_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * NodeMetadata is the configuration for how to expose metadata to the
      * workloads running on the node.
      * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @return This builder for chaining. */ - @java.lang.Deprecated public Builder clearNodeMetadata() { - + @java.lang.Deprecated + public Builder clearNodeMetadata() { + nodeMetadata_ = 0; onChanged(); return this; @@ -880,55 +1012,71 @@ public Builder mergeFrom( private int mode_ = 0; /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @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; onChanged(); return this; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The mode. */ @java.lang.Override public com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode() { @SuppressWarnings("deprecation") - com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); - return result == null ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED : result; + com.google.container.v1beta1.WorkloadMetadataConfig.Mode result = + com.google.container.v1beta1.WorkloadMetadataConfig.Mode.valueOf(mode_); + return result == null + ? com.google.container.v1beta1.WorkloadMetadataConfig.Mode.UNRECOGNIZED + : result; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -936,29 +1084,32 @@ public Builder setMode(com.google.container.v1beta1.WorkloadMetadataConfig.Mode if (value == null) { throw new NullPointerException(); } - + mode_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Mode is the configuration for how to expose metadata to workloads running
      * on the node pool.
      * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,12 +1119,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.container.v1beta1.WorkloadMetadataConfig) } // @@protoc_insertion_point(class_scope:google.container.v1beta1.WorkloadMetadataConfig) private static final com.google.container.v1beta1.WorkloadMetadataConfig DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.container.v1beta1.WorkloadMetadataConfig(); } @@ -982,27 +1133,27 @@ public static com.google.container.v1beta1.WorkloadMetadataConfig getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkloadMetadataConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkloadMetadataConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1017,6 +1168,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.container.v1beta1.WorkloadMetadataConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 52% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java rename to java-container/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/WorkloadMetadataConfigOrBuilder.java index 9898a2b5c530..d01aa3fbe4e8 100644 --- a/owl-bot-staging/java-container/v1beta1/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 @@ -1,54 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See 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 package com.google.container.v1beta1; -public interface WorkloadMetadataConfigOrBuilder extends +public interface WorkloadMetadataConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.container.v1beta1.WorkloadMetadataConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @return The enum numeric value on the wire for nodeMetadata. */ - @java.lang.Deprecated int getNodeMetadataValue(); + @java.lang.Deprecated + int getNodeMetadataValue(); /** + * + * *
    * NodeMetadata is the configuration for how to expose metadata to the
    * workloads running on the node.
    * 
* - * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=4253 + * + * .google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata node_metadata = 1 [deprecated = true]; + * + * + * @deprecated google.container.v1beta1.WorkloadMetadataConfig.node_metadata is deprecated. See + * google/container/v1beta1/cluster_service.proto;l=4253 * @return The nodeMetadata. */ - @java.lang.Deprecated com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata(); + @java.lang.Deprecated + com.google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata getNodeMetadata(); /** + * + * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * Mode is the configuration for how to expose metadata to workloads running
    * on the node pool.
    * 
* * .google.container.v1beta1.WorkloadMetadataConfig.Mode mode = 2; + * * @return The mode. */ com.google.container.v1beta1.WorkloadMetadataConfig.Mode getMode(); diff --git a/owl-bot-staging/java-container/v1beta1/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 similarity index 100% rename from owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto rename to java-container/proto-google-cloud-container-v1beta1/src/main/proto/google/container/v1beta1/cluster_service.proto diff --git a/owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java b/owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java deleted file mode 100644 index b40809697a30..000000000000 --- a/owl-bot-staging/java-container/v1/grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java +++ /dev/null @@ -1,3175 +0,0 @@ -package com.google.container.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Google Kubernetes Engine Cluster Manager v1
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/container/v1/cluster_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ClusterManagerGrpc { - - private ClusterManagerGrpc() {} - - public static final String SERVICE_NAME = "google.container.v1.ClusterManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.container.v1.ListClustersRequest.class, - responseType = com.google.container.v1.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListClustersMethod() { - io.grpc.MethodDescriptor getListClustersMethod; - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - ClusterManagerGrpc.getListClustersMethod = getListClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.container.v1.GetClusterRequest.class, - responseType = com.google.container.v1.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetClusterMethod() { - io.grpc.MethodDescriptor getGetClusterMethod; - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - ClusterManagerGrpc.getGetClusterMethod = getGetClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.container.v1.CreateClusterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClusterMethod() { - io.grpc.MethodDescriptor getCreateClusterMethod; - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - ClusterManagerGrpc.getCreateClusterMethod = getCreateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CreateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.container.v1.UpdateClusterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateClusterMethod() { - io.grpc.MethodDescriptor getUpdateClusterMethod; - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - ClusterManagerGrpc.getUpdateClusterMethod = getUpdateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.UpdateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", - requestType = com.google.container.v1.UpdateNodePoolRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateNodePoolMethod() { - io.grpc.MethodDescriptor getUpdateNodePoolMethod; - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - ClusterManagerGrpc.getUpdateNodePoolMethod = getUpdateNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.UpdateNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) - .build(); - } - } - } - return getUpdateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", - requestType = com.google.container.v1.SetNodePoolAutoscalingRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod() { - io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { - ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = getSetNodePoolAutoscalingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNodePoolAutoscalingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) - .build(); - } - } - } - return getSetNodePoolAutoscalingMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLoggingServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", - requestType = com.google.container.v1.SetLoggingServiceRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLoggingServiceMethod() { - io.grpc.MethodDescriptor getSetLoggingServiceMethod; - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - ClusterManagerGrpc.getSetLoggingServiceMethod = getSetLoggingServiceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLoggingServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) - .build(); - } - } - } - return getSetLoggingServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetMonitoringServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", - requestType = com.google.container.v1.SetMonitoringServiceRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetMonitoringServiceMethod() { - io.grpc.MethodDescriptor getSetMonitoringServiceMethod; - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { - ClusterManagerGrpc.getSetMonitoringServiceMethod = getSetMonitoringServiceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetMonitoringServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) - .build(); - } - } - } - return getSetMonitoringServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetAddonsConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", - requestType = com.google.container.v1.SetAddonsConfigRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetAddonsConfigMethod() { - io.grpc.MethodDescriptor getSetAddonsConfigMethod; - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - ClusterManagerGrpc.getSetAddonsConfigMethod = getSetAddonsConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetAddonsConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) - .build(); - } - } - } - return getSetAddonsConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLocations", - requestType = com.google.container.v1.SetLocationsRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLocationsMethod() { - io.grpc.MethodDescriptor getSetLocationsMethod; - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - ClusterManagerGrpc.getSetLocationsMethod = getSetLocationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLocationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLocations")) - .build(); - } - } - } - return getSetLocationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateMasterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", - requestType = com.google.container.v1.UpdateMasterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateMasterMethod() { - io.grpc.MethodDescriptor getUpdateMasterMethod; - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - ClusterManagerGrpc.getUpdateMasterMethod = getUpdateMasterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.UpdateMasterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) - .build(); - } - } - } - return getUpdateMasterMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetMasterAuthMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", - requestType = com.google.container.v1.SetMasterAuthRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetMasterAuthMethod() { - io.grpc.MethodDescriptor getSetMasterAuthMethod; - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - ClusterManagerGrpc.getSetMasterAuthMethod = getSetMasterAuthMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetMasterAuthRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) - .build(); - } - } - } - return getSetMasterAuthMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.container.v1.DeleteClusterRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteClusterMethod() { - io.grpc.MethodDescriptor getDeleteClusterMethod; - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - ClusterManagerGrpc.getDeleteClusterMethod = getDeleteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.DeleteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOperationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOperations", - requestType = com.google.container.v1.ListOperationsRequest.class, - responseType = com.google.container.v1.ListOperationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOperationsMethod() { - io.grpc.MethodDescriptor getListOperationsMethod; - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - ClusterManagerGrpc.getListOperationsMethod = getListOperationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListOperationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListOperationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListOperations")) - .build(); - } - } - } - return getListOperationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOperation", - requestType = com.google.container.v1.GetOperationRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetOperationMethod() { - io.grpc.MethodDescriptor getGetOperationMethod; - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - ClusterManagerGrpc.getGetOperationMethod = getGetOperationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetOperationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetOperation")) - .build(); - } - } - } - return getGetOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelOperation", - requestType = com.google.container.v1.CancelOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelOperationMethod() { - io.grpc.MethodDescriptor getCancelOperationMethod; - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - ClusterManagerGrpc.getCancelOperationMethod = getCancelOperationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CancelOperationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CancelOperation")) - .build(); - } - } - } - return getCancelOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", - requestType = com.google.container.v1.GetServerConfigRequest.class, - responseType = com.google.container.v1.ServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetServerConfigMethod() { - io.grpc.MethodDescriptor getGetServerConfigMethod; - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - ClusterManagerGrpc.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.container.v1.GetServerConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ServerConfig.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) - .build(); - } - } - } - return getGetServerConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetJSONWebKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", - requestType = com.google.container.v1.GetJSONWebKeysRequest.class, - responseType = com.google.container.v1.GetJSONWebKeysResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJSONWebKeysMethod() { - io.grpc.MethodDescriptor getGetJSONWebKeysMethod; - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - ClusterManagerGrpc.getGetJSONWebKeysMethod = getGetJSONWebKeysMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetJSONWebKeysRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetJSONWebKeysResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) - .build(); - } - } - } - return getGetJSONWebKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor getListNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNodePools", - requestType = com.google.container.v1.ListNodePoolsRequest.class, - responseType = com.google.container.v1.ListNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListNodePoolsMethod() { - io.grpc.MethodDescriptor getListNodePoolsMethod; - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - ClusterManagerGrpc.getListNodePoolsMethod = getListNodePoolsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListNodePoolsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListNodePoolsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListNodePools")) - .build(); - } - } - } - return getListNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNodePool", - requestType = com.google.container.v1.GetNodePoolRequest.class, - responseType = com.google.container.v1.NodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetNodePoolMethod() { - io.grpc.MethodDescriptor getGetNodePoolMethod; - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - ClusterManagerGrpc.getGetNodePoolMethod = getGetNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.GetNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.NodePool.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetNodePool")) - .build(); - } - } - } - return getGetNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", - requestType = com.google.container.v1.CreateNodePoolRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateNodePoolMethod() { - io.grpc.MethodDescriptor getCreateNodePoolMethod; - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - ClusterManagerGrpc.getCreateNodePoolMethod = getCreateNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CreateNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) - .build(); - } - } - } - return getCreateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", - requestType = com.google.container.v1.DeleteNodePoolRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteNodePoolMethod() { - io.grpc.MethodDescriptor getDeleteNodePoolMethod; - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - ClusterManagerGrpc.getDeleteNodePoolMethod = getDeleteNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.DeleteNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) - .build(); - } - } - } - return getDeleteNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", - requestType = com.google.container.v1.CompleteNodePoolUpgradeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { - ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = getCompleteNodePoolUpgradeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CompleteNodePoolUpgradeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) - .build(); - } - } - } - return getCompleteNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", - requestType = com.google.container.v1.RollbackNodePoolUpgradeRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { - ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = getRollbackNodePoolUpgradeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.RollbackNodePoolUpgradeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) - .build(); - } - } - } - return getRollbackNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNodePoolManagementMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", - requestType = com.google.container.v1.SetNodePoolManagementRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNodePoolManagementMethod() { - io.grpc.MethodDescriptor getSetNodePoolManagementMethod; - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { - ClusterManagerGrpc.getSetNodePoolManagementMethod = getSetNodePoolManagementMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNodePoolManagementRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) - .build(); - } - } - } - return getSetNodePoolManagementMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLabelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLabels", - requestType = com.google.container.v1.SetLabelsRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLabelsMethod() { - io.grpc.MethodDescriptor getSetLabelsMethod; - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - ClusterManagerGrpc.getSetLabelsMethod = getSetLabelsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLabelsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) - .build(); - } - } - } - return getSetLabelsMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLegacyAbacMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", - requestType = com.google.container.v1.SetLegacyAbacRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLegacyAbacMethod() { - io.grpc.MethodDescriptor getSetLegacyAbacMethod; - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - ClusterManagerGrpc.getSetLegacyAbacMethod = getSetLegacyAbacMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetLegacyAbacRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) - .build(); - } - } - } - return getSetLegacyAbacMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", - requestType = com.google.container.v1.StartIPRotationRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartIPRotationMethod() { - io.grpc.MethodDescriptor getStartIPRotationMethod; - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - ClusterManagerGrpc.getStartIPRotationMethod = getStartIPRotationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.StartIPRotationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) - .build(); - } - } - } - return getStartIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCompleteIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", - requestType = com.google.container.v1.CompleteIPRotationRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteIPRotationMethod() { - io.grpc.MethodDescriptor getCompleteIPRotationMethod; - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { - ClusterManagerGrpc.getCompleteIPRotationMethod = getCompleteIPRotationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.CompleteIPRotationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) - .build(); - } - } - } - return getCompleteIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNodePoolSizeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", - requestType = com.google.container.v1.SetNodePoolSizeRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNodePoolSizeMethod() { - io.grpc.MethodDescriptor getSetNodePoolSizeMethod; - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - ClusterManagerGrpc.getSetNodePoolSizeMethod = getSetNodePoolSizeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNodePoolSizeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) - .build(); - } - } - } - return getSetNodePoolSizeMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNetworkPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", - requestType = com.google.container.v1.SetNetworkPolicyRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNetworkPolicyMethod() { - io.grpc.MethodDescriptor getSetNetworkPolicyMethod; - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - ClusterManagerGrpc.getSetNetworkPolicyMethod = getSetNetworkPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetNetworkPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) - .build(); - } - } - } - return getSetNetworkPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", - requestType = com.google.container.v1.SetMaintenancePolicyRequest.class, - responseType = com.google.container.v1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetMaintenancePolicyMethod() { - io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { - ClusterManagerGrpc.getSetMaintenancePolicyMethod = getSetMaintenancePolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.SetMaintenancePolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) - .build(); - } - } - } - return getSetMaintenancePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUsableSubnetworksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", - requestType = com.google.container.v1.ListUsableSubnetworksRequest.class, - responseType = com.google.container.v1.ListUsableSubnetworksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUsableSubnetworksMethod() { - io.grpc.MethodDescriptor getListUsableSubnetworksMethod; - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { - ClusterManagerGrpc.getListUsableSubnetworksMethod = getListUsableSubnetworksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListUsableSubnetworksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1.ListUsableSubnetworksResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) - .build(); - } - } - } - return getListUsableSubnetworksMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ClusterManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - }; - return ClusterManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ClusterManagerBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - }; - return ClusterManagerBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ClusterManagerFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - }; - return ClusterManagerFutureStub.newStub(factory, channel); - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public static abstract class ClusterManagerImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters(com.google.container.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); - } - - /** - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public void getCluster(com.google.container.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster(com.google.container.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); - } - - /** - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public void updateCluster(com.google.container.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); - } - - /** - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public void updateNodePool(com.google.container.v1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNodePoolMethod(), responseObserver); - } - - /** - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public void setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolAutoscalingMethod(), responseObserver); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService(com.google.container.v1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLoggingServiceMethod(), responseObserver); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMonitoringServiceMethod(), responseObserver); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetAddonsConfigMethod(), responseObserver); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations(com.google.container.v1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLocationsMethod(), responseObserver); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster(com.google.container.v1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMasterMethod(), responseObserver); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth(com.google.container.v1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMasterAuthMethod(), responseObserver); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster(com.google.container.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); - } - - /** - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public void listOperations(com.google.container.v1.ListOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation(com.google.container.v1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOperationMethod(), responseObserver); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation(com.google.container.v1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelOperationMethod(), responseObserver); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig(com.google.container.v1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServerConfigMethod(), responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJSONWebKeysMethod(), responseObserver); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools(com.google.container.v1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNodePoolsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool(com.google.container.v1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNodePoolMethod(), responseObserver); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool(com.google.container.v1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNodePoolMethod(), responseObserver); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNodePoolMethod(), responseObserver); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteNodePoolUpgradeMethod(), responseObserver); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackNodePoolUpgradeMethod(), responseObserver); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolManagementMethod(), responseObserver); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels(com.google.container.v1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLegacyAbacMethod(), responseObserver); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation(com.google.container.v1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartIPRotationMethod(), responseObserver); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteIPRotationMethod(), responseObserver); - } - - /** - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolSizeMethod(), responseObserver); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNetworkPolicyMethod(), responseObserver); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMaintenancePolicyMethod(), responseObserver); - } - - /** - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsableSubnetworksMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListClustersRequest, - com.google.container.v1.ListClustersResponse>( - this, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetClusterRequest, - com.google.container.v1.Cluster>( - this, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CreateClusterRequest, - com.google.container.v1.Operation>( - this, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.UpdateClusterRequest, - com.google.container.v1.Operation>( - this, METHODID_UPDATE_CLUSTER))) - .addMethod( - getUpdateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.UpdateNodePoolRequest, - com.google.container.v1.Operation>( - this, METHODID_UPDATE_NODE_POOL))) - .addMethod( - getSetNodePoolAutoscalingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNodePoolAutoscalingRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_NODE_POOL_AUTOSCALING))) - .addMethod( - getSetLoggingServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLoggingServiceRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_LOGGING_SERVICE))) - .addMethod( - getSetMonitoringServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetMonitoringServiceRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_MONITORING_SERVICE))) - .addMethod( - getSetAddonsConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetAddonsConfigRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_ADDONS_CONFIG))) - .addMethod( - getSetLocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLocationsRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_LOCATIONS))) - .addMethod( - getUpdateMasterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.UpdateMasterRequest, - com.google.container.v1.Operation>( - this, METHODID_UPDATE_MASTER))) - .addMethod( - getSetMasterAuthMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetMasterAuthRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_MASTER_AUTH))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.DeleteClusterRequest, - com.google.container.v1.Operation>( - this, METHODID_DELETE_CLUSTER))) - .addMethod( - getListOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListOperationsRequest, - com.google.container.v1.ListOperationsResponse>( - this, METHODID_LIST_OPERATIONS))) - .addMethod( - getGetOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetOperationRequest, - com.google.container.v1.Operation>( - this, METHODID_GET_OPERATION))) - .addMethod( - getCancelOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CancelOperationRequest, - com.google.protobuf.Empty>( - this, METHODID_CANCEL_OPERATION))) - .addMethod( - getGetServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetServerConfigRequest, - com.google.container.v1.ServerConfig>( - this, METHODID_GET_SERVER_CONFIG))) - .addMethod( - getGetJSONWebKeysMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetJSONWebKeysRequest, - com.google.container.v1.GetJSONWebKeysResponse>( - this, METHODID_GET_JSONWEB_KEYS))) - .addMethod( - getListNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListNodePoolsRequest, - com.google.container.v1.ListNodePoolsResponse>( - this, METHODID_LIST_NODE_POOLS))) - .addMethod( - getGetNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.GetNodePoolRequest, - com.google.container.v1.NodePool>( - this, METHODID_GET_NODE_POOL))) - .addMethod( - getCreateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CreateNodePoolRequest, - com.google.container.v1.Operation>( - this, METHODID_CREATE_NODE_POOL))) - .addMethod( - getDeleteNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.DeleteNodePoolRequest, - com.google.container.v1.Operation>( - this, METHODID_DELETE_NODE_POOL))) - .addMethod( - getCompleteNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CompleteNodePoolUpgradeRequest, - com.google.protobuf.Empty>( - this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) - .addMethod( - getRollbackNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.RollbackNodePoolUpgradeRequest, - com.google.container.v1.Operation>( - this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) - .addMethod( - getSetNodePoolManagementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNodePoolManagementRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_NODE_POOL_MANAGEMENT))) - .addMethod( - getSetLabelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLabelsRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_LABELS))) - .addMethod( - getSetLegacyAbacMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetLegacyAbacRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_LEGACY_ABAC))) - .addMethod( - getStartIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.StartIPRotationRequest, - com.google.container.v1.Operation>( - this, METHODID_START_IPROTATION))) - .addMethod( - getCompleteIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.CompleteIPRotationRequest, - com.google.container.v1.Operation>( - this, METHODID_COMPLETE_IPROTATION))) - .addMethod( - getSetNodePoolSizeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNodePoolSizeRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_NODE_POOL_SIZE))) - .addMethod( - getSetNetworkPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetNetworkPolicyRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_NETWORK_POLICY))) - .addMethod( - getSetMaintenancePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.SetMaintenancePolicyRequest, - com.google.container.v1.Operation>( - this, METHODID_SET_MAINTENANCE_POLICY))) - .addMethod( - getListUsableSubnetworksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1.ListUsableSubnetworksRequest, - com.google.container.v1.ListUsableSubnetworksResponse>( - this, METHODID_LIST_USABLE_SUBNETWORKS))) - .build(); - } - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public static final class ClusterManagerStub extends io.grpc.stub.AbstractAsyncStub { - private ClusterManagerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters(com.google.container.v1.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public void getCluster(com.google.container.v1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster(com.google.container.v1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public void updateCluster(com.google.container.v1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public void updateNodePool(com.google.container.v1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public void setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService(com.google.container.v1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations(com.google.container.v1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster(com.google.container.v1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth(com.google.container.v1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster(com.google.container.v1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public void listOperations(com.google.container.v1.ListOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation(com.google.container.v1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation(com.google.container.v1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig(com.google.container.v1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools(com.google.container.v1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool(com.google.container.v1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool(com.google.container.v1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels(com.google.container.v1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation(com.google.container.v1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public static final class ClusterManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ClusterManagerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.container.v1.ListClustersResponse listClusters(com.google.container.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public com.google.container.v1.Cluster getCluster(com.google.container.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.container.v1.Operation createCluster(com.google.container.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation updateCluster(com.google.container.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public com.google.container.v1.Operation updateNodePool(com.google.container.v1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public com.google.container.v1.Operation setNodePoolAutoscaling(com.google.container.v1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation setLoggingService(com.google.container.v1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation setMonitoringService(com.google.container.v1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation setAddonsConfig(com.google.container.v1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.container.v1.Operation setLocations(com.google.container.v1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLocationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.container.v1.Operation updateMaster(com.google.container.v1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMasterMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.container.v1.Operation setMasterAuth(com.google.container.v1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.container.v1.Operation deleteCluster(com.google.container.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public com.google.container.v1.ListOperationsResponse listOperations(com.google.container.v1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOperationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.container.v1.Operation getOperation(com.google.container.v1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOperationMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.protobuf.Empty cancelOperation(com.google.container.v1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelOperationMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.container.v1.ServerConfig getServerConfig(com.google.container.v1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServerConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.container.v1.GetJSONWebKeysResponse getJSONWebKeys(com.google.container.v1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.container.v1.ListNodePoolsResponse listNodePools(com.google.container.v1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNodePoolsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.container.v1.NodePool getNodePool(com.google.container.v1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.container.v1.Operation createNodePool(com.google.container.v1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.container.v1.Operation deleteNodePool(com.google.container.v1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.protobuf.Empty completeNodePoolUpgrade(com.google.container.v1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.container.v1.Operation rollbackNodePoolUpgrade(com.google.container.v1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.container.v1.Operation setNodePoolManagement(com.google.container.v1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.container.v1.Operation setLabels(com.google.container.v1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLabelsMethod(), getCallOptions(), request); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.container.v1.Operation setLegacyAbac(com.google.container.v1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.container.v1.Operation startIPRotation(com.google.container.v1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartIPRotationMethod(), getCallOptions(), request); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.container.v1.Operation completeIPRotation(com.google.container.v1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public com.google.container.v1.Operation setNodePoolSize(com.google.container.v1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.container.v1.Operation setNetworkPolicy(com.google.container.v1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.container.v1.Operation setMaintenancePolicy(com.google.container.v1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public com.google.container.v1.ListUsableSubnetworksResponse listUsableSubnetworks(com.google.container.v1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1
-   * 
- */ - public static final class ClusterManagerFutureStub extends io.grpc.stub.AbstractFutureStub { - private ClusterManagerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listClusters( - com.google.container.v1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the details of a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCluster( - com.google.container.v1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCluster( - com.google.container.v1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the settings of a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCluster( - com.google.container.v1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the version and/or image type for the specified node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateNodePool( - com.google.container.v1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the autoscaling settings for the specified node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNodePoolAutoscaling( - com.google.container.v1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setLoggingService( - com.google.container.v1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setMonitoringService( - com.google.container.v1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setAddonsConfig( - com.google.container.v1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture setLocations( - com.google.container.v1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateMaster( - com.google.container.v1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setMasterAuth( - com.google.container.v1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCluster( - com.google.container.v1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all operations in a project in a specific zone or all zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOperations( - com.google.container.v1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getOperation( - com.google.container.v1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelOperation( - com.google.container.v1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getServerConfig( - com.google.container.v1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJSONWebKeys( - com.google.container.v1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listNodePools( - com.google.container.v1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getNodePool( - com.google.container.v1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createNodePool( - com.google.container.v1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteNodePool( - com.google.container.v1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture completeNodePoolUpgrade( - com.google.container.v1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollbackNodePoolUpgrade( - com.google.container.v1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNodePoolManagement( - com.google.container.v1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setLabels( - com.google.container.v1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setLegacyAbac( - com.google.container.v1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startIPRotation( - com.google.container.v1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture completeIPRotation( - com.google.container.v1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the size for a specific node pool. The new size will be used for all
-     * replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1.NodePool.locations].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNodePoolSize( - com.google.container.v1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNetworkPolicy( - com.google.container.v1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setMaintenancePolicy( - com.google.container.v1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists subnetworks that are usable for creating clusters in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUsableSubnetworks( - com.google.container.v1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), 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_UPDATE_NODE_POOL = 4; - private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; - private static final int METHODID_SET_LOGGING_SERVICE = 6; - private static final int METHODID_SET_MONITORING_SERVICE = 7; - private static final int METHODID_SET_ADDONS_CONFIG = 8; - private static final int METHODID_SET_LOCATIONS = 9; - private static final int METHODID_UPDATE_MASTER = 10; - private static final int METHODID_SET_MASTER_AUTH = 11; - private static final int METHODID_DELETE_CLUSTER = 12; - private static final int METHODID_LIST_OPERATIONS = 13; - private static final int METHODID_GET_OPERATION = 14; - private static final int METHODID_CANCEL_OPERATION = 15; - private static final int METHODID_GET_SERVER_CONFIG = 16; - private static final int METHODID_GET_JSONWEB_KEYS = 17; - private static final int METHODID_LIST_NODE_POOLS = 18; - private static final int METHODID_GET_NODE_POOL = 19; - private static final int METHODID_CREATE_NODE_POOL = 20; - private static final int METHODID_DELETE_NODE_POOL = 21; - private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; - private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; - private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; - private static final int METHODID_SET_LABELS = 25; - private static final int METHODID_SET_LEGACY_ABAC = 26; - private static final int METHODID_START_IPROTATION = 27; - private static final int METHODID_COMPLETE_IPROTATION = 28; - private static final int METHODID_SET_NODE_POOL_SIZE = 29; - private static final int METHODID_SET_NETWORK_POLICY = 30; - private static final int METHODID_SET_MAINTENANCE_POLICY = 31; - private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final ClusterManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters((com.google.container.v1.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster((com.google.container.v1.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster((com.google.container.v1.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster((com.google.container.v1.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_NODE_POOL: - serviceImpl.updateNodePool((com.google.container.v1.UpdateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_AUTOSCALING: - serviceImpl.setNodePoolAutoscaling((com.google.container.v1.SetNodePoolAutoscalingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LOGGING_SERVICE: - serviceImpl.setLoggingService((com.google.container.v1.SetLoggingServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MONITORING_SERVICE: - serviceImpl.setMonitoringService((com.google.container.v1.SetMonitoringServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_ADDONS_CONFIG: - serviceImpl.setAddonsConfig((com.google.container.v1.SetAddonsConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LOCATIONS: - serviceImpl.setLocations((com.google.container.v1.SetLocationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MASTER: - serviceImpl.updateMaster((com.google.container.v1.UpdateMasterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MASTER_AUTH: - serviceImpl.setMasterAuth((com.google.container.v1.SetMasterAuthRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster((com.google.container.v1.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OPERATIONS: - serviceImpl.listOperations((com.google.container.v1.ListOperationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OPERATION: - serviceImpl.getOperation((com.google.container.v1.GetOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_OPERATION: - serviceImpl.cancelOperation((com.google.container.v1.CancelOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVER_CONFIG: - serviceImpl.getServerConfig((com.google.container.v1.GetServerConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JSONWEB_KEYS: - serviceImpl.getJSONWebKeys((com.google.container.v1.GetJSONWebKeysRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_NODE_POOLS: - serviceImpl.listNodePools((com.google.container.v1.ListNodePoolsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NODE_POOL: - serviceImpl.getNodePool((com.google.container.v1.GetNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_NODE_POOL: - serviceImpl.createNodePool((com.google.container.v1.CreateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_NODE_POOL: - serviceImpl.deleteNodePool((com.google.container.v1.DeleteNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMPLETE_NODE_POOL_UPGRADE: - serviceImpl.completeNodePoolUpgrade((com.google.container.v1.CompleteNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_NODE_POOL_UPGRADE: - serviceImpl.rollbackNodePoolUpgrade((com.google.container.v1.RollbackNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_MANAGEMENT: - serviceImpl.setNodePoolManagement((com.google.container.v1.SetNodePoolManagementRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LABELS: - serviceImpl.setLabels((com.google.container.v1.SetLabelsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LEGACY_ABAC: - serviceImpl.setLegacyAbac((com.google.container.v1.SetLegacyAbacRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_IPROTATION: - serviceImpl.startIPRotation((com.google.container.v1.StartIPRotationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMPLETE_IPROTATION: - serviceImpl.completeIPRotation((com.google.container.v1.CompleteIPRotationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_SIZE: - serviceImpl.setNodePoolSize((com.google.container.v1.SetNodePoolSizeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NETWORK_POLICY: - serviceImpl.setNetworkPolicy((com.google.container.v1.SetNetworkPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MAINTENANCE_POLICY: - serviceImpl.setMaintenancePolicy((com.google.container.v1.SetMaintenancePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USABLE_SUBNETWORKS: - serviceImpl.listUsableSubnetworks((com.google.container.v1.ListUsableSubnetworksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ClusterManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.container.v1.ClusterServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ClusterManager"); - } - } - - private static final class ClusterManagerFileDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier { - ClusterManagerFileDescriptorSupplier() {} - } - - private static final class ClusterManagerMethodDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ClusterManagerMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ClusterManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getUpdateNodePoolMethod()) - .addMethod(getSetNodePoolAutoscalingMethod()) - .addMethod(getSetLoggingServiceMethod()) - .addMethod(getSetMonitoringServiceMethod()) - .addMethod(getSetAddonsConfigMethod()) - .addMethod(getSetLocationsMethod()) - .addMethod(getUpdateMasterMethod()) - .addMethod(getSetMasterAuthMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getListOperationsMethod()) - .addMethod(getGetOperationMethod()) - .addMethod(getCancelOperationMethod()) - .addMethod(getGetServerConfigMethod()) - .addMethod(getGetJSONWebKeysMethod()) - .addMethod(getListNodePoolsMethod()) - .addMethod(getGetNodePoolMethod()) - .addMethod(getCreateNodePoolMethod()) - .addMethod(getDeleteNodePoolMethod()) - .addMethod(getCompleteNodePoolUpgradeMethod()) - .addMethod(getRollbackNodePoolUpgradeMethod()) - .addMethod(getSetNodePoolManagementMethod()) - .addMethod(getSetLabelsMethod()) - .addMethod(getSetLegacyAbacMethod()) - .addMethod(getStartIPRotationMethod()) - .addMethod(getCompleteIPRotationMethod()) - .addMethod(getSetNodePoolSizeMethod()) - .addMethod(getSetNetworkPolicyMethod()) - .addMethod(getSetMaintenancePolicyMethod()) - .addMethod(getListUsableSubnetworksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java deleted file mode 100644 index 226b8506a2ed..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutopilotOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface AutopilotOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.Autopilot) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enable Autopilot
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java deleted file mode 100644 index fd8b4826c1a8..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ClientCertificateConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ClientCertificateConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Issue a client certificate.
-   * 
- * - * bool issue_client_certificate = 1; - * @return The issueClientCertificate. - */ - boolean getIssueClientCertificate(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java deleted file mode 100644 index d0ca3cde3161..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java +++ /dev/null @@ -1,2860 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public final class ClusterServiceProto { - private ClusterServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LinuxNodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LinuxNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeKubeletConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeKubeletConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AdvancedMachineFeatures_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AdvancedMachineFeatures_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeNetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeNetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ShieldedInstanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ShieldedInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SandboxConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SandboxConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GcfsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GcfsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ReservationAffinity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ReservationAffinity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeTaint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeTaint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeTaints_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeTaints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeLabels_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeLabels_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceLabels_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceLabels_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkTags_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkTags_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MasterAuth_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MasterAuth_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ClientCertificateConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ClientCertificateConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AddonsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AddonsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_HttpLoadBalancing_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_HttpLoadBalancing_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_HorizontalPodAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_HorizontalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_KubernetesDashboard_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_KubernetesDashboard_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkPolicyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkPolicyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DnsCacheConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DnsCacheConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_PrivateClusterConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AuthenticatorGroupsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AuthenticatorGroupsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CloudRunConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CloudRunConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ConfigConnectorConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ConfigConnectorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GcpFilestoreCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GkeBackupAgentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GkeBackupAgentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LegacyAbac_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LegacyAbac_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_BinaryAuthorization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_BinaryAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_IPAllocationPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Cluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Cluster_ResourceLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Cluster_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolAutoConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolAutoConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolDefaults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeConfigDefaults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeConfigDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ClusterUpdate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ClusterUpdate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Operation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Operation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_OperationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_OperationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_OperationProgress_Metric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_OperationProgress_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CreateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpdateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpdateNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpdateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNodePoolAutoscalingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNodePoolAutoscalingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLoggingServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLoggingServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetMonitoringServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetMonitoringServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetAddonsConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetAddonsConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLocationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpdateMasterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpdateMasterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetMasterAuthRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetMasterAuthRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DeleteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListClustersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListClustersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetOperationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListOperationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CancelOperationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CancelOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListOperationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetServerConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ServerConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CreateNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CreateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DeleteNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DeleteNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListNodePoolsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_BlueGreenSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_BlueGreenSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_UpgradeSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_UpgradeSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_UpdateInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_UpdateInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePool_PlacementPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePool_PlacementPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodeManagement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodeManagement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AutoUpgradeOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AutoUpgradeOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenancePolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenancePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenanceWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_TimeWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaintenanceExclusionOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaintenanceExclusionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_RecurringTimeWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_RecurringTimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DailyMaintenanceWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DailyMaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNodePoolManagementRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNodePoolManagementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNodePoolSizeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNodePoolSizeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_RollbackNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListNodePoolsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ClusterAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ClusterAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AutoprovisioningNodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceLimit_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceLimit_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLabelsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLabelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetLegacyAbacRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetLegacyAbacRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_StartIPRotationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_StartIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CompleteIPRotationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CompleteIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_AcceleratorConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_AcceleratorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GPUSharingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GPUSharingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_WorkloadMetadataConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_WorkloadMetadataConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetNetworkPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetNetworkPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SetMaintenancePolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SetMaintenancePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_StatusCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_StatusCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GatewayAPIConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GatewayAPIConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ServiceExternalIPsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ServiceExternalIPsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetOpenIDConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetOpenIDConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetOpenIDConfigResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetOpenIDConfigResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetJSONWebKeysRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetJSONWebKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Jwk_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Jwk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_GetJSONWebKeysResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_GetJSONWebKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ReleaseChannel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ReleaseChannel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_CostManagementConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_CostManagementConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_IntraNodeVisibilityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_IntraNodeVisibilityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ILBSubsettingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ILBSubsettingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DNSConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DNSConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MaxPodsConstraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MaxPodsConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_WorkloadIdentityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_WorkloadIdentityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_IdentityServiceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_IdentityServiceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MeshCertificates_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MeshCertificates_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DatabaseEncryption_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListUsableSubnetworksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListUsableSubnetworksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ListUsableSubnetworksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ListUsableSubnetworksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UsableSubnetworkSecondaryRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UsableSubnetwork_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UsableSubnetwork_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceUsageExportConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceUsageExportConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_VerticalPodAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_VerticalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_DefaultSnatStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_DefaultSnatStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ShieldedNodes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ShieldedNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_VirtualNIC_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_VirtualNIC_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_FastSocket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_FastSocket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NotificationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NotificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NotificationConfig_PubSub_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NotificationConfig_PubSub_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NotificationConfig_Filter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NotificationConfig_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ConfidentialNodes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ConfidentialNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpgradeEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpgradeEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_UpgradeAvailableEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_UpgradeAvailableEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_SecurityBulletinEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_SecurityBulletinEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_Autopilot_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_Autopilot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LoggingComponentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LoggingComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MonitoringConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MonitoringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_NodePoolLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_NodePoolLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_LoggingVariantConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_LoggingVariantConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_MonitoringComponentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_MonitoringComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1_ManagedPrometheusConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1_ManagedPrometheusConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n)google/container/v1/cluster_service.pr" + - "oto\022\023google.container.v1\032\034google/api/ann" + - "otations.proto\032\027google/api/client.proto\032" + - "\037google/api/field_behavior.proto\032\031google" + - "/api/resource.proto\032\036google/protobuf/dur" + - "ation.proto\032\033google/protobuf/empty.proto" + - "\032\037google/protobuf/timestamp.proto\032\036googl" + - "e/protobuf/wrappers.proto\032\025google/rpc/co" + - "de.proto\032\027google/rpc/status.proto\"\236\002\n\017Li" + - "nuxNodeConfig\022B\n\007sysctls\030\001 \003(\01321.google." + - "container.v1.LinuxNodeConfig.SysctlsEntr" + - "y\022D\n\013cgroup_mode\030\002 \001(\0162/.google.containe" + - "r.v1.LinuxNodeConfig.CgroupMode\032.\n\014Sysct" + - "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + - "Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECIFIED" + - "\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MODE_V2" + - "\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_manager_" + - "policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132\032.go" + - "ogle.protobuf.BoolValue\022\034\n\024cpu_cfs_quota" + - "_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(\003\"\237\014" + - "\n\nNodeConfig\022\024\n\014machine_type\030\001 \001(\t\022\024\n\014di" + - "sk_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(" + - "\0132-.google.container.v1.NodeConfig.Metad" + - "ataEntry\022\022\n\nimage_type\030\005 \001(\t\022;\n\006labels\030\006" + - " \003(\0132+.google.container.v1.NodeConfig.La" + - "belsEntry\022\027\n\017local_ssd_count\030\007 \001(\005\022\014\n\004ta" + - "gs\030\010 \003(\t\022\023\n\013preemptible\030\n \001(\010\022<\n\014acceler" + - "ators\030\013 \003(\0132&.google.container.v1.Accele" + - "ratorConfig\022\021\n\tdisk_type\030\014 \001(\t\022\030\n\020min_cp" + - "u_platform\030\r \001(\t\022M\n\030workload_metadata_co" + - "nfig\030\016 \001(\0132+.google.container.v1.Workloa" + - "dMetadataConfig\022.\n\006taints\030\017 \003(\0132\036.google" + - ".container.v1.NodeTaint\022:\n\016sandbox_confi" + - "g\030\021 \001(\0132\".google.container.v1.SandboxCon" + - "fig\022\022\n\nnode_group\030\022 \001(\t\022F\n\024reservation_a" + - "ffinity\030\023 \001(\0132(.google.container.v1.Rese" + - "rvationAffinity\022M\n\030shielded_instance_con" + - "fig\030\024 \001(\0132+.google.container.v1.Shielded" + - "InstanceConfig\022?\n\021linux_node_config\030\025 \001(" + - "\0132$.google.container.v1.LinuxNodeConfig\022" + - ">\n\016kubelet_config\030\026 \001(\0132&.google.contain" + - "er.v1.NodeKubeletConfig\022\031\n\021boot_disk_kms" + - "_key\030\027 \001(\t\0224\n\013gcfs_config\030\031 \001(\0132\037.google" + - ".container.v1.GcfsConfig\022O\n\031advanced_mac" + - "hine_features\030\032 \001(\0132,.google.container.v" + - "1.AdvancedMachineFeatures\022.\n\005gvnic\030\035 \001(\013" + - "2\037.google.container.v1.VirtualNIC\022\014\n\004spo" + - "t\030 \001(\010\022B\n\022confidential_nodes\030# \001(\0132&.go" + - "ogle.container.v1.ConfidentialNodes\0229\n\013f" + - "ast_socket\030$ \001(\0132\037.google.container.v1.F" + - "astSocketH\000\210\001\001\022L\n\017resource_labels\030% \003(\0132" + - "3.google.container.v1.NodeConfig.Resourc" + - "eLabelsEntry\022B\n\016logging_config\030& \001(\0132*.g" + - "oogle.container.v1.NodePoolLoggingConfig" + - "\032/\n\rMetadataEntry\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\020th" + - "reads_per_core\030\001 \001(\003H\000\210\001\001B\023\n\021_threads_pe" + - "r_core\"\376\003\n\021NodeNetworkConfig\022\035\n\020create_p" + - "od_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_pr" + - "ivate_nodes\030\t \001(\010H\000\210\001\001\022h\n\032network_perfor" + - "mance_config\030\013 \001(\0132?.google.container.v1" + - ".NodeNetworkConfig.NetworkPerformanceCon" + - "figH\001\210\001\001\032\324\001\n\030NetworkPerformanceConfig\022n\n" + - "\033total_egress_bandwidth_tier\030\001 \001(\0162D.goo" + - "gle.container.v1.NodeNetworkConfig.Netwo" + - "rkPerformanceConfig.TierH\000\210\001\001\"(\n\004Tier\022\024\n" + - "\020TIER_UNSPECIFIED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_tota" + - "l_egress_bandwidth_tierB\027\n\025_enable_priva" + - "te_nodesB\035\n\033_network_performance_config\"" + - "Y\n\026ShieldedInstanceConfig\022\032\n\022enable_secu" + - "re_boot\030\001 \001(\010\022#\n\033enable_integrity_monito" + - "ring\030\002 \001(\010\"k\n\rSandboxConfig\0225\n\004type\030\002 \001(" + - "\0162\'.google.container.v1.SandboxConfig.Ty" + - "pe\"#\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\023Reser" + - "vationAffinity\022O\n\030consume_reservation_ty" + - "pe\030\001 \001(\0162-.google.container.v1.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\"\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%.goo" + - "gle.container.v1.NodeTaint.Effect\"Y\n\006Eff" + - "ect\022\026\n\022EFFECT_UNSPECIFIED\020\000\022\017\n\013NO_SCHEDU" + - "LE\020\001\022\026\n\022PREFER_NO_SCHEDULE\020\002\022\016\n\nNO_EXECU" + - "TE\020\003\"<\n\nNodeTaints\022.\n\006taints\030\001 \003(\0132\036.goo" + - "gle.container.v1.NodeTaint\"x\n\nNodeLabels" + - "\022;\n\006labels\030\001 \003(\0132+.google.container.v1.N" + - "odeLabels.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\016Resourc" + - "eLabels\022?\n\006labels\030\001 \003(\0132/.google.contain" + - "er.v1.ResourceLabels.LabelsEntry\032-\n\013Labe" + - "lsEntry\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\"\331\001\n\nMasterA" + - "uth\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.ClientCertifica" + - "teConfig\022\036\n\026cluster_ca_certificate\030d \001(\t" + - "\022\032\n\022client_certificate\030e \001(\t\022\022\n\nclient_k" + - "ey\030f \001(\t\";\n\027ClientCertificateConfig\022 \n\030i" + - "ssue_client_certificate\030\001 \001(\010\"\223\006\n\014Addons" + - "Config\022C\n\023http_load_balancing\030\001 \001(\0132&.go" + - "ogle.container.v1.HttpLoadBalancing\022Q\n\032h" + - "orizontal_pod_autoscaling\030\002 \001(\0132-.google" + - ".container.v1.HorizontalPodAutoscaling\022J" + - "\n\024kubernetes_dashboard\030\003 \001(\0132(.google.co" + - "ntainer.v1.KubernetesDashboardB\002\030\001\022G\n\025ne" + - "twork_policy_config\030\004 \001(\0132(.google.conta" + - "iner.v1.NetworkPolicyConfig\022=\n\020cloud_run" + - "_config\030\007 \001(\0132#.google.container.v1.Clou" + - "dRunConfig\022=\n\020dns_cache_config\030\010 \001(\0132#.g" + - "oogle.container.v1.DnsCacheConfig\022K\n\027con" + - "fig_connector_config\030\n \001(\0132*.google.cont" + - "ainer.v1.ConfigConnectorConfig\022d\n%gce_pe" + - "rsistent_disk_csi_driver_config\030\013 \001(\01325." + - "google.container.v1.GcePersistentDiskCsi" + - "DriverConfig\022Y\n\037gcp_filestore_csi_driver" + - "_config\030\016 \001(\01320.google.container.v1.GcpF" + - "ilestoreCsiDriverConfig\022J\n\027gke_backup_ag" + - "ent_config\030\020 \001(\0132).google.container.v1.G" + - "keBackupAgentConfig\"%\n\021HttpLoadBalancing" + - "\022\020\n\010disabled\030\001 \001(\010\",\n\030HorizontalPodAutos" + - "caling\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDa" + - "shboard\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPoli" + - "cyConfig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheCo" + - "nfig\022\017\n\007enabled\030\001 \001(\010\"9\n&PrivateClusterM" + - "asterGlobalAccessConfig\022\017\n\007enabled\030\001 \001(\010" + - "\"\305\002\n\024PrivateClusterConfig\022\034\n\024enable_priv" + - "ate_nodes\030\001 \001(\010\022\037\n\027enable_private_endpoi" + - "nt\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_end" + - "point\030\005 \001(\t\022\024\n\014peering_name\030\007 \001(\t\022`\n\033mas" + - "ter_global_access_config\030\010 \001(\0132;.google." + - "container.v1.PrivateClusterMasterGlobalA" + - "ccessConfig\022#\n\033private_endpoint_subnetwo" + - "rk\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\016CloudRunConfig\022\020\n\010disabled\030\001 \001(\010\022P\n\022l" + - "oad_balancer_type\030\003 \001(\01624.google.contain" + - "er.v1.CloudRunConfig.LoadBalancerType\"x\n" + - "\020LoadBalancerType\022\"\n\036LOAD_BALANCER_TYPE_" + - "UNSPECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTE" + - "RNAL\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"" + - "(\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\024GkeBackupAgent" + - "Config\022\017\n\007enabled\030\001 \001(\010\"\216\002\n\036MasterAuthor" + - "izedNetworksConfig\022\017\n\007enabled\030\001 \001(\010\022R\n\013c" + - "idr_blocks\030\002 \003(\0132=.google.container.v1.M" + - "asterAuthorizedNetworksConfig.CidrBlock\022" + - ",\n\037gcp_public_cidrs_access_enabled\030\003 \001(\010" + - "H\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_cidr" + - "s_access_enabled\"\035\n\nLegacyAbac\022\017\n\007enable" + - "d\030\001 \001(\010\"\221\001\n\rNetworkPolicy\022=\n\010provider\030\001 " + - "\001(\0162+.google.container.v1.NetworkPolicy." + - "Provider\022\017\n\007enabled\030\002 \001(\010\"0\n\010Provider\022\030\n" + - "\024PROVIDER_UNSPECIFIED\020\000\022\n\n\006CALICO\020\001\"\343\001\n\023" + - "BinaryAuthorization\022\023\n\007enabled\030\001 \001(\010B\002\030\001" + - "\022P\n\017evaluation_mode\030\002 \001(\01627.google.conta" + - "iner.v1.BinaryAuthorization.EvaluationMo" + - "de\"e\n\016EvaluationMode\022\037\n\033EVALUATION_MODE_" + - "UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022$\n PROJECT_S" + - "INGLETON_POLICY_ENFORCE\020\002\"\215\004\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\023tpu_ipv" + - "4_cidr_block\030\r \001(\t\022\022\n\nuse_routes\030\017 \001(\010\0222" + - "\n\nstack_type\030\020 \001(\0162\036.google.container.v1" + - ".StackType\022=\n\020ipv6_access_type\030\021 \001(\0162#.g" + - "oogle.container.v1.IPv6AccessType\"\207\031\n\007Cl" + - "uster\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\0228\n\013node" + - "_config\030\004 \001(\0132\037.google.container.v1.Node" + - "ConfigB\002\030\001\0224\n\013master_auth\030\005 \001(\0132\037.google" + - ".container.v1.MasterAuth\022\027\n\017logging_serv" + - "ice\030\006 \001(\t\022\032\n\022monitoring_service\030\007 \001(\t\022\017\n" + - "\007network\030\010 \001(\t\022\031\n\021cluster_ipv4_cidr\030\t \001(" + - "\t\0228\n\raddons_config\030\n \001(\0132!.google.contai" + - "ner.v1.AddonsConfig\022\022\n\nsubnetwork\030\013 \001(\t\022" + - "1\n\nnode_pools\030\014 \003(\0132\035.google.container.v" + - "1.NodePool\022\021\n\tlocations\030\r \003(\t\022\037\n\027enable_" + - "kubernetes_alpha\030\016 \001(\010\022I\n\017resource_label" + - "s\030\017 \003(\01320.google.container.v1.Cluster.Re" + - "sourceLabelsEntry\022\031\n\021label_fingerprint\030\020" + - " \001(\t\0224\n\013legacy_abac\030\022 \001(\0132\037.google.conta" + - "iner.v1.LegacyAbac\022:\n\016network_policy\030\023 \001" + - "(\0132\".google.container.v1.NetworkPolicy\022E" + - "\n\024ip_allocation_policy\030\024 \001(\0132\'.google.co" + - "ntainer.v1.IPAllocationPolicy\022^\n!master_" + - "authorized_networks_config\030\026 \001(\01323.googl" + - "e.container.v1.MasterAuthorizedNetworksC" + - "onfig\022B\n\022maintenance_policy\030\027 \001(\0132&.goog" + - "le.container.v1.MaintenancePolicy\022F\n\024bin" + - "ary_authorization\030\030 \001(\0132(.google.contain" + - "er.v1.BinaryAuthorization\022<\n\013autoscaling" + - "\030\032 \001(\0132\'.google.container.v1.ClusterAuto" + - "scaling\022:\n\016network_config\030\033 \001(\0132\".google" + - ".container.v1.NetworkConfig\022K\n\033default_m" + - "ax_pods_constraint\030\036 \001(\0132&.google.contai" + - "ner.v1.MaxPodsConstraint\022T\n\034resource_usa" + - "ge_export_config\030! \001(\0132..google.containe" + - "r.v1.ResourceUsageExportConfig\022S\n\033authen" + - "ticator_groups_config\030\" \001(\0132..google.con" + - "tainer.v1.AuthenticatorGroupsConfig\022I\n\026p" + - "rivate_cluster_config\030% \001(\0132).google.con" + - "tainer.v1.PrivateClusterConfig\022D\n\023databa" + - "se_encryption\030& \001(\0132\'.google.container.v" + - "1.DatabaseEncryption\022M\n\030vertical_pod_aut" + - "oscaling\030\' \001(\0132+.google.container.v1.Ver" + - "ticalPodAutoscaling\022:\n\016shielded_nodes\030( " + - "\001(\0132\".google.container.v1.ShieldedNodes\022" + - "<\n\017release_channel\030) \001(\0132#.google.contai" + - "ner.v1.ReleaseChannel\022M\n\030workload_identi" + - "ty_config\030+ \001(\0132+.google.container.v1.Wo" + - "rkloadIdentityConfig\022@\n\021mesh_certificate" + - "s\030C \001(\0132%.google.container.v1.MeshCertif" + - "icates\022I\n\026cost_management_config\030- \001(\0132)" + - ".google.container.v1.CostManagementConfi" + - "g\022D\n\023notification_config\0301 \001(\0132\'.google." + - "container.v1.NotificationConfig\022B\n\022confi" + - "dential_nodes\0302 \001(\0132&.google.container.v" + - "1.ConfidentialNodes\022K\n\027identity_service_" + - "config\0306 \001(\0132*.google.container.v1.Ident" + - "ityServiceConfig\022\021\n\tself_link\030d \001(\t\022\020\n\004z" + - "one\030e \001(\tB\002\030\001\022\020\n\010endpoint\030f \001(\t\022\037\n\027initi" + - "al_cluster_version\030g \001(\t\022\036\n\026current_mast" + - "er_version\030h \001(\t\022 \n\024current_node_version" + - "\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\0223\n\006statu" + - "s\030k \001(\0162#.google.container.v1.Cluster.St" + - "atus\022\032\n\016status_message\030l \001(\tB\002\030\001\022\033\n\023node" + - "_ipv4_cidr_size\030m \001(\005\022\032\n\022services_ipv4_c" + - "idr\030n \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\013ex" + - "pire_time\030q \001(\t\022\020\n\010location\030r \001(\t\022\022\n\nena" + - "ble_tpu\030s \001(\010\022\033\n\023tpu_ipv4_cidr_block\030t \001" + - "(\t\0228\n\nconditions\030v \003(\0132$.google.containe" + - "r.v1.StatusCondition\0222\n\tautopilot\030\200\001 \001(\013" + - "2\036.google.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" + - "%.google.container.v1.NodePoolDefaultsH\000" + - "\210\001\001\022;\n\016logging_config\030\204\001 \001(\0132\".google.co" + - "ntainer.v1.LoggingConfig\022A\n\021monitoring_c" + - "onfig\030\205\001 \001(\0132%.google.container.v1.Monit" + - "oringConfig\022G\n\025node_pool_auto_config\030\210\001 " + - "\001(\0132\'.google.container.v1.NodePoolAutoCo" + - "nfig\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_" + - "UNSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNI" + - "NG\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005E" + - "RROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defau" + - "lts\"L\n\022NodePoolAutoConfig\0226\n\014network_tag" + - "s\030\001 \001(\0132 .google.container.v1.NetworkTag" + - "s\"Y\n\020NodePoolDefaults\022E\n\024node_config_def" + - "aults\030\001 \001(\0132\'.google.container.v1.NodeCo" + - "nfigDefaults\"\216\001\n\022NodeConfigDefaults\0224\n\013g" + - "cfs_config\030\001 \001(\0132\037.google.container.v1.G" + - "cfsConfig\022B\n\016logging_config\030\003 \001(\0132*.goog" + - "le.container.v1.NodePoolLoggingConfig\"\243\025" + - "\n\rClusterUpdate\022\034\n\024desired_node_version\030" + - "\004 \001(\t\022\"\n\032desired_monitoring_service\030\005 \001(" + - "\t\022@\n\025desired_addons_config\030\006 \001(\0132!.googl" + - "e.container.v1.AddonsConfig\022\034\n\024desired_n" + - "ode_pool_id\030\007 \001(\t\022\032\n\022desired_image_type\030" + - "\010 \001(\t\022L\n\033desired_database_encryption\030. \001" + - "(\0132\'.google.container.v1.DatabaseEncrypt" + - "ion\022U\n desired_workload_identity_config\030" + - "/ \001(\0132+.google.container.v1.WorkloadIden" + - "tityConfig\022H\n\031desired_mesh_certificates\030" + - "C \001(\0132%.google.container.v1.MeshCertific" + - "ates\022B\n\026desired_shielded_nodes\0300 \001(\0132\".g" + - "oogle.container.v1.ShieldedNodes\022Q\n\036desi" + - "red_cost_management_config\0301 \001(\0132).googl" + - "e.container.v1.CostManagementConfig\022:\n\022d" + - "esired_dns_config\0305 \001(\0132\036.google.contain" + - "er.v1.DNSConfig\022O\n\035desired_node_pool_aut" + - "oscaling\030\t \001(\0132(.google.container.v1.Nod" + - "ePoolAutoscaling\022\031\n\021desired_locations\030\n " + - "\003(\t\022f\n)desired_master_authorized_network" + - "s_config\030\014 \001(\01323.google.container.v1.Mas" + - "terAuthorizedNetworksConfig\022L\n\033desired_c" + - "luster_autoscaling\030\017 \001(\0132\'.google.contai" + - "ner.v1.ClusterAutoscaling\022N\n\034desired_bin" + - "ary_authorization\030\020 \001(\0132(.google.contain" + - "er.v1.BinaryAuthorization\022\037\n\027desired_log" + - "ging_service\030\023 \001(\t\022\\\n$desired_resource_u" + - "sage_export_config\030\025 \001(\0132..google.contai" + - "ner.v1.ResourceUsageExportConfig\022U\n desi" + - "red_vertical_pod_autoscaling\030\026 \001(\0132+.goo" + - "gle.container.v1.VerticalPodAutoscaling\022" + - "Q\n\036desired_private_cluster_config\030\031 \001(\0132" + - ").google.container.v1.PrivateClusterConf" + - "ig\022\\\n$desired_intra_node_visibility_conf" + - "ig\030\032 \001(\0132..google.container.v1.IntraNode" + - "VisibilityConfig\022K\n\033desired_default_snat" + - "_status\030\034 \001(\0132&.google.container.v1.Defa" + - "ultSnatStatus\022D\n\027desired_release_channel" + - "\030\037 \001(\0132#.google.container.v1.ReleaseChan" + - "nel\022Q\n\037desired_l4ilb_subsetting_config\030\'" + - " \001(\0132(.google.container.v1.ILBSubsetting" + - "Config\022H\n\031desired_datapath_provider\0302 \001(" + - "\0162%.google.container.v1.DatapathProvider" + - "\022X\n\"desired_private_ipv6_google_access\0303" + - " \001(\0162,.google.container.v1.PrivateIPv6Go" + - "ogleAccess\022L\n\033desired_notification_confi" + - "g\0307 \001(\0132\'.google.container.v1.Notificati" + - "onConfig\022[\n#desired_authenticator_groups" + - "_config\030? \001(\0132..google.container.v1.Auth" + - "enticatorGroupsConfig\022B\n\026desired_logging" + - "_config\030@ \001(\0132\".google.container.v1.Logg" + - "ingConfig\022H\n\031desired_monitoring_config\030A" + - " \001(\0132%.google.container.v1.MonitoringCon" + - "fig\022S\n\037desired_identity_service_config\030B" + - " \001(\0132*.google.container.v1.IdentityServi" + - "ceConfig\022Z\n#desired_service_external_ips" + - "_config\030< \001(\0132-.google.container.v1.Serv" + - "iceExternalIPsConfig\022,\n\037desired_enable_p" + - "rivate_endpoint\030G \001(\010H\000\210\001\001\022\036\n\026desired_ma" + - "ster_version\030d \001(\t\022<\n\023desired_gcfs_confi" + - "g\030m \001(\0132\037.google.container.v1.GcfsConfig" + - "\022T\n*desired_node_pool_auto_config_networ" + - "k_tags\030n \001(\0132 .google.container.v1.Netwo" + - "rkTags\022I\n\032desired_gateway_api_config\030r \001" + - "(\0132%.google.container.v1.GatewayAPIConfi" + - "g\022T\n desired_node_pool_logging_config\030t " + - "\001(\0132*.google.container.v1.NodePoolLoggin" + - "gConfigB\"\n _desired_enable_private_endpo" + - "int\"\361\007\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#.goog" + - "le.container.v1.Operation.Type\0225\n\006status" + - "\030\004 \001(\0162%.google.container.v1.Operation.S" + - "tatus\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\013targe" + - "t_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\010progress" + - "\030\014 \001(\0132&.google.container.v1.OperationPr" + - "ogressB\003\340A\003\022D\n\022cluster_conditions\030\r \003(\0132" + - "$.google.container.v1.StatusConditionB\002\030" + - "\001\022E\n\023nodepool_conditions\030\016 \003(\0132$.google." + - "container.v1.StatusConditionB\002\030\001\022!\n\005erro" + - "r\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\007RU" + - "NNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABORTING\020\004\"\375\002\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\016UPGRADE_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_POO" + - "L\020\007\022\024\n\020DELETE_NODE_POOL\020\010\022\034\n\030SET_NODE_PO" + - "OL_MANAGEMENT\020\t\022\025\n\021AUTO_REPAIR_NODES\020\n\022\026" + - "\n\022AUTO_UPGRADE_NODES\020\013\022\016\n\nSET_LABELS\020\014\022\023" + - "\n\017SET_MASTER_AUTH\020\r\022\026\n\022SET_NODE_POOL_SIZ" + - "E\020\016\022\026\n\022SET_NETWORK_POLICY\020\017\022\032\n\026SET_MAINT" + - "ENANCE_POLICY\020\020\"\273\002\n\021OperationProgress\022\014\n" + - "\004name\030\001 \001(\t\0225\n\006status\030\002 \001(\0162%.google.con" + - "tainer.v1.Operation.Status\022>\n\007metrics\030\003 " + - "\003(\0132-.google.container.v1.OperationProgr" + - "ess.Metric\0226\n\006stages\030\004 \003(\0132&.google.cont" + - "ainer.v1.OperationProgress\032i\n\006Metric\022\021\n\004" + - "name\030\001 \001(\tB\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014" + - "double_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\nproject_id\030\001 \001(\tB\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\006parent\030\005 \001(\t\"c\n\021GetClust" + - "erRequest\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\014\n\004n" + - "ame\030\005 \001(\t\"\237\001\n\024UpdateClusterRequest\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\0227\n\006update\030\004 \001(\0132\".g" + - "oogle.container.v1.ClusterUpdateB\003\340A\002\022\014\n" + - "\004name\030\005 \001(\t\"\232\010\n\025UpdateNodePoolRequest\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\031\n\014node_version\030\005 \001(\tB\003\340A\002\022\027\n\n" + - "image_type\030\006 \001(\tB\003\340A\002\022\014\n\004name\030\010 \001(\t\022\021\n\tl" + - "ocations\030\r \003(\t\022M\n\030workload_metadata_conf" + - "ig\030\016 \001(\0132+.google.container.v1.WorkloadM" + - "etadataConfig\022G\n\020upgrade_settings\030\017 \001(\0132" + - "-.google.container.v1.NodePool.UpgradeSe" + - "ttings\022.\n\004tags\030\020 \001(\0132 .google.container." + - "v1.NetworkTags\022/\n\006taints\030\021 \001(\0132\037.google." + - "container.v1.NodeTaints\022/\n\006labels\030\022 \001(\0132" + - "\037.google.container.v1.NodeLabels\022?\n\021linu" + - "x_node_config\030\023 \001(\0132$.google.container.v" + - "1.LinuxNodeConfig\022>\n\016kubelet_config\030\024 \001(" + - "\0132&.google.container.v1.NodeKubeletConfi" + - "g\022C\n\023node_network_config\030\025 \001(\0132&.google." + - "container.v1.NodeNetworkConfig\0224\n\013gcfs_c", - "onfig\030\026 \001(\0132\037.google.container.v1.GcfsCo" + - "nfig\022B\n\022confidential_nodes\030\027 \001(\0132&.googl" + - "e.container.v1.ConfidentialNodes\022.\n\005gvni" + - "c\030\035 \001(\0132\037.google.container.v1.VirtualNIC" + - "\0224\n\013fast_socket\030\037 \001(\0132\037.google.container" + - ".v1.FastSocket\022B\n\016logging_config\030 \001(\0132*" + - ".google.container.v1.NodePoolLoggingConf" + - "ig\022<\n\017resource_labels\030! \001(\0132#.google.con" + - "tainer.v1.ResourceLabels\"\315\001\n\035SetNodePool" + - "AutoscalingRequest\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\030\n\014node_pool_id\030\004 \001(\tB\002\030\001\022B\n\013autosc" + - "aling\030\005 \001(\0132(.google.container.v1.NodePo" + - "olAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\210\001\n\030Set" + - "LoggingServiceRequest\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\034\n\017logging_service\030\004 \001(\tB\003\340A\002\022\014\n" + - "\004name\030\005 \001(\t\"\216\001\n\033SetMonitoringServiceRequ" + - "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\037\n\022monitor" + - "ing_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_config\030\004 \001(\0132!.googl" + - "e.container.v1.AddonsConfigB\003\340A\002\022\014\n\004name" + - "\030\006 \001(\t\"}\n\023SetLocationsRequest\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\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_id\030\003 \001(\tB\002\030\001\022\033\n\016master_versio" + - "n\030\004 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\"\265\002\n\024SetMaster" + - "AuthRequest\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\022E\n" + - "\006action\030\004 \001(\01620.google.container.v1.SetM" + - "asterAuthRequest.ActionB\003\340A\002\0224\n\006update\030\005" + - " \001(\0132\037.google.container.v1.MasterAuthB\003\340" + - "A\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\"f\n\024DeleteClusterReque" + - "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" + - "B\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\024ListClustersResponse\022.\n\010clusters\030" + - "\001 \003(\0132\034.google.container.v1.Cluster\022\025\n\rm" + - "issing_zones\030\002 \003(\t\"g\n\023GetOperationReques" + - "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\030\n\014operation_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\005 " + - "\001(\t\"Q\n\025ListOperationsRequest\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\026CancelOperationRequest\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\030\n\014op" + - "eration_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\004 \001(\t\"c\n\026Li" + - "stOperationsResponse\0222\n\noperations\030\001 \003(\013" + - "2\036.google.container.v1.Operation\022\025\n\rmiss" + - "ing_zones\030\002 \003(\t\"P\n\026GetServerConfigReques" + - "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\014\n\004name\030\004 \001(\t\"\364\002\n\014ServerConfig\022\037\n\027de" + - "fault_cluster_version\030\001 \001(\t\022\033\n\023valid_nod" + - "e_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" + - "_master_versions\030\006 \003(\t\022H\n\010channels\030\t \003(\013" + - "26.google.container.v1.ServerConfig.Rele" + - "aseChannelConfig\032\205\001\n\024ReleaseChannelConfi" + - "g\022<\n\007channel\030\001 \001(\0162+.google.container.v1" + - ".ReleaseChannel.Channel\022\027\n\017default_versi" + - "on\030\002 \001(\t\022\026\n\016valid_versions\030\004 \003(\t\"\240\001\n\025Cre" + - "ateNodePoolRequest\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\0225\n\tnode_pool\030\004 \001(\0132\035.google.contain" + - "er.v1.NodePoolB\003\340A\002\022\016\n\006parent\030\006 \001(\t\"\201\001\n\025" + - "DeleteNodePoolRequest\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\004nam" + - "e\030\006 \001(\t\"h\n\024ListNodePoolsRequest\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\016\n\006parent\030\005 \001(\t\"~\n\022Get" + - "NodePoolRequest\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\004name\030\006 \001(" + - "\t\"\237\003\n\021BlueGreenSettings\022_\n\027standard_roll" + - "out_policy\030\001 \001(\0132<.google.container.v1.B" + - "lueGreenSettings.StandardRolloutPolicyH\000" + - "\022?\n\027node_pool_soak_duration\030\002 \001(\0132\031.goog" + - "le.protobuf.DurationH\001\210\001\001\032\271\001\n\025StandardRo" + - "lloutPolicy\022\032\n\020batch_percentage\030\001 \001(\002H\000\022" + - "\032\n\020batch_node_count\030\002 \001(\005H\000\022;\n\023batch_soa" + - "k_duration\030\003 \001(\0132\031.google.protobuf.Durat" + - "ionH\001\210\001\001B\023\n\021update_batch_sizeB\026\n\024_batch_" + - "soak_durationB\020\n\016rollout_policyB\032\n\030_node" + - "_pool_soak_duration\"\266\016\n\010NodePool\022\014\n\004name" + - "\030\001 \001(\t\022/\n\006config\030\002 \001(\0132\037.google.containe" + - "r.v1.NodeConfig\022\032\n\022initial_node_count\030\003 " + - "\001(\005\022\021\n\tlocations\030\r \003(\t\022>\n\016network_config" + - "\030\016 \001(\0132&.google.container.v1.NodeNetwork" + - "Config\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\006statu" + - "s\030g \001(\0162$.google.container.v1.NodePool.S" + - "tatus\022\032\n\016status_message\030h \001(\tB\002\030\001\022=\n\013aut" + - "oscaling\030\004 \001(\0132(.google.container.v1.Nod" + - "ePoolAutoscaling\0227\n\nmanagement\030\005 \001(\0132#.g" + - "oogle.container.v1.NodeManagement\022C\n\023max" + - "_pods_constraint\030\006 \001(\0132&.google.containe" + - "r.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.container.v1.Nod" + - "ePool.UpgradeSettings\022G\n\020placement_polic" + - "y\030l \001(\0132-.google.container.v1.NodePool.P" + - "lacementPolicy\022B\n\013update_info\030m \001(\0132(.go" + - "ogle.container.v1.NodePool.UpdateInfoB\003\340" + - "A\003\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~\n\017PlacementPolicy\022@\n\004type\030\001 \001(" + - "\01622.google.container.v1.NodePool.Placeme" + - "ntPolicy.Type\")\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + - "D\020\000\022\013\n\007COMPACT\020\001\"\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\"}\n\016NodeMana" + - "gement\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_rep" + - "air\030\002 \001(\010\022@\n\017upgrade_options\030\n \001(\0132\'.goo" + - "gle.container.v1.AutoUpgradeOptions\"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\"\230\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\"H\n\rResou" + - "rceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minim" + - "um\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\307\002\n\023NodePoolAu" + - "toscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_c" + - "ount\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017au" + - "toprovisioned\030\004 \001(\010\022P\n\017location_policy\030\005" + - " \001(\01627.google.container.v1.NodePoolAutos" + - "caling.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\033LOCATION_POLICY_U" + - "NSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"\222\002\n\020" + - "SetLabelsRequest\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.con" + - "tainer.v1.SetLabelsRequest.ResourceLabel" + - "sEntryB\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\"|\n\024SetL" + - "egacyAbacRequest\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\ncluster_i" + - "d\030\003 \001(\tB\002\030\001\022\014\n\004name\030\006 \001(\t\022\032\n\022rotate_cred" + - "entials\030\007 \001(\010\"k\n\031CompleteIPRotationReque" + - "st\022\026\n\nproject_id\030\001 \001(\tB\002\030\001\022\020\n\004zone\030\002 \001(\t" + - "B\002\030\001\022\026\n\ncluster_id\030\003 \001(\tB\002\030\001\022\014\n\004name\030\007 \001" + - "(\t\"\303\001\n\021AcceleratorConfig\022\031\n\021accelerator_" + - "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_sharing" + - "_config\030\005 \001(\0132%.google.container.v1.GPUS" + - "haringConfigH\000\210\001\001B\025\n\023_gpu_sharing_config" + - "\"\372\001\n\020GPUSharingConfig\022\"\n\032max_shared_clie" + - "nts_per_gpu\030\001 \001(\003\022[\n\024gpu_sharing_strateg" + - "y\030\002 \001(\01628.google.container.v1.GPUSharing" + - "Config.GPUSharingStrategyH\000\210\001\001\"L\n\022GPUSha" + - "ringStrategy\022$\n GPU_SHARING_STRATEGY_UNS" + - "PECIFIED\020\000\022\020\n\014TIME_SHARING\020\001B\027\n\025_gpu_sha" + - "ring_strategy\"\232\001\n\026WorkloadMetadataConfig" + - "\022>\n\004mode\030\002 \001(\01620.google.container.v1.Wor" + - "kloadMetadataConfig.Mode\"@\n\004Mode\022\024\n\020MODE" + - "_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GKE_" + - "METADATA\020\002\"\252\001\n\027SetNetworkPolicyRequest\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\016network_poli" + - "cy\030\004 \001(\0132\".google.container.v1.NetworkPo" + - "licyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\271\001\n\033SetMaintenan" + - "cePolicyRequest\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&.googl" + - "e.container.v1.MaintenancePolicyB\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.StatusCondit" + - "ion.CodeB\002\030\001\022\017\n\007message\030\002 \001(\t\022(\n\016canonic" + - "al_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_S" + - "ERVICE_ACCOUNT_DELETED\020\002\022\026\n\022GCE_QUOTA_EX" + - "CEEDED\020\003\022\023\n\017SET_BY_OPERATOR\020\004\022\027\n\023CLOUD_K" + - "MS_KEY_ERROR\020\007\022\017\n\013CA_EXPIRING\020\t\"\237\004\n\rNetw" + - "orkConfig\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&.goog" + - "le.container.v1.DefaultSnatStatus\022\037\n\027ena" + - "ble_l4ilb_subsetting\030\n \001(\010\022@\n\021datapath_p" + - "rovider\030\013 \001(\0162%.google.container.v1.Data" + - "pathProvider\022P\n\032private_ipv6_google_acce" + - "ss\030\014 \001(\0162,.google.container.v1.PrivateIP" + - "v6GoogleAccess\0222\n\ndns_config\030\r \001(\0132\036.goo" + - "gle.container.v1.DNSConfig\022R\n\033service_ex" + - "ternal_ips_config\030\017 \001(\0132-.google.contain" + - "er.v1.ServiceExternalIPsConfig\022A\n\022gatewa" + - "y_api_config\030\020 \001(\0132%.google.container.v1" + - ".GatewayAPIConfig\"\274\001\n\020GatewayAPIConfig\022>" + - "\n\007channel\030\001 \001(\0162-.google.container.v1.Ga" + - "tewayAPIConfig.Channel\"h\n\007Channel\022\027\n\023CHA" + - "NNEL_UNSPECIFIED\020\000\022\024\n\020CHANNEL_DISABLED\020\001" + - "\022\030\n\024CHANNEL_EXPERIMENTAL\020\003\022\024\n\020CHANNEL_ST" + - "ANDARD\020\004\"+\n\030ServiceExternalIPsConfig\022\017\n\007" + - "enabled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022" + - "\016\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRespo" + - "nse\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n" + - "\030response_types_supported\030\003 \003(\t\022\037\n\027subje" + - "ct_types_supported\030\004 \003(\t\022-\n%id_token_sig" + - "ning_alg_values_supported\030\005 \003(\t\022\030\n\020claim" + - "s_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\003crv\030\t \001(\t\"@\n\026G" + - "etJSONWebKeysResponse\022&\n\004keys\030\001 \003(\0132\030.go" + - "ogle.container.v1.Jwk\"\216\001\n\016ReleaseChannel" + - "\022<\n\007channel\030\001 \001(\0162+.google.container.v1." + - "ReleaseChannel.Channel\">\n\007Channel\022\017\n\013UNS" + - "PECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULAR\020\002\022\n\n\006ST" + - "ABLE\020\003\"\'\n\024CostManagementConfig\022\017\n\007enable" + - "d\030\001 \001(\010\",\n\031IntraNodeVisibilityConfig\022\017\n\007" + - "enabled\030\001 \001(\010\"&\n\023ILBSubsettingConfig\022\017\n\007" + - "enabled\030\001 \001(\010\"\252\002\n\tDNSConfig\022<\n\013cluster_d" + - "ns\030\001 \001(\0162\'.google.container.v1.DNSConfig" + - ".Provider\022B\n\021cluster_dns_scope\030\002 \001(\0162\'.g" + - "oogle.container.v1.DNSConfig.DNSScope\022\032\n" + - "\022cluster_dns_domain\030\003 \001(\t\"I\n\010Provider\022\030\n" + - "\024PROVIDER_UNSPECIFIED\020\000\022\024\n\020PLATFORM_DEFA" + - "ULT\020\001\022\r\n\tCLOUD_DNS\020\002\"4\n\010DNSScope\022\031\n\025DNS_" + - "SCOPE_UNSPECIFIED\020\000\022\r\n\tVPC_SCOPE\020\002\".\n\021Ma" + - "xPodsConstraint\022\031\n\021max_pods_per_node\030\001 \001" + - "(\003\"/\n\026WorkloadIdentityConfig\022\025\n\rworkload" + - "_pool\030\002 \001(\t\"(\n\025IdentityServiceConfig\022\017\n\007" + - "enabled\030\001 \001(\010\"K\n\020MeshCertificates\0227\n\023ena" + - "ble_certificates\030\001 \001(\0132\032.google.protobuf" + - ".BoolValue\"\230\001\n\022DatabaseEncryption\022<\n\005sta" + - "te\030\002 \001(\0162-.google.container.v1.DatabaseE" + - "ncryption.State\022\020\n\010key_name\030\001 \001(\t\"2\n\005Sta" + - "te\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTED\020\001\022\r\n\tDECRYP" + - "TED\020\002\"e\n\034ListUsableSubnetworksRequest\022\016\n" + - "\006parent\030\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si" + - "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"t\n\035ListUsab" + - "leSubnetworksResponse\022:\n\013subnetworks\030\001 \003" + - "(\0132%.google.container.v1.UsableSubnetwor" + - "k\022\027\n\017next_page_token\030\002 \001(\t\"\200\002\n\036UsableSub" + - "networkSecondaryRange\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(\016" + - "2:.google.container.v1.UsableSubnetworkS" + - "econdaryRange.Status\"g\n\006Status\022\013\n\007UNKNOW" + - "N\020\000\022\n\n\006UNUSED\020\001\022\022\n\016IN_USE_SERVICE\020\002\022\030\n\024I" + - "N_USE_SHAREABLE_POD\020\003\022\026\n\022IN_USE_MANAGED_" + - "POD\020\004\"\270\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\022P\n\023secondary_ip_ranges\030\004 \003(\01323.go" + - "ogle.container.v1.UsableSubnetworkSecond" + - "aryRange\022\026\n\016status_message\030\005 \001(\t\"\355\002\n\031Res" + - "ourceUsageExportConfig\022`\n\024bigquery_desti" + - "nation\030\001 \001(\0132B.google.container.v1.Resou" + - "rceUsageExportConfig.BigQueryDestination" + - "\022&\n\036enable_network_egress_metering\030\002 \001(\010" + - "\022m\n\033consumption_metering_config\030\003 \001(\0132H." + - "google.container.v1.ResourceUsageExportC" + - "onfig.ConsumptionMeteringConfig\032)\n\023BigQu" + - "eryDestination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Co" + - "nsumptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010" + - "\")\n\026VerticalPodAutoscaling\022\017\n\007enabled\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\n" + - "VirtualNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocke" + - "t\022\017\n\007enabled\030\001 \001(\010\"\250\003\n\022NotificationConfi" + - "g\022>\n\006pubsub\030\001 \001(\0132..google.container.v1." + - "NotificationConfig.PubSub\032\212\001\n\006PubSub\022\017\n\007" + - "enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB \372A\035\n\033pubsu" + - "b.googleapis.com/Topic\022>\n\006filter\030\003 \001(\0132." + - ".google.container.v1.NotificationConfig." + - "Filter\032O\n\006Filter\022E\n\nevent_type\030\001 \003(\01621.g" + - "oogle.container.v1.NotificationConfig.Ev" + - "entType\"t\n\tEventType\022\032\n\026EVENT_TYPE_UNSPE" + - "CIFIED\020\000\022\033\n\027UPGRADE_AVAILABLE_EVENT\020\001\022\021\n" + - "\rUPGRADE_EVENT\020\002\022\033\n\027SECURITY_BULLETIN_EV" + - "ENT\020\003\"$\n\021ConfidentialNodes\022\017\n\007enabled\030\001 " + - "\001(\010\"\337\001\n\014UpgradeEvent\022?\n\rresource_type\030\001 " + - "\001(\0162(.google.container.v1.UpgradeResourc" + - "eType\022\021\n\toperation\030\002 \001(\t\0228\n\024operation_st" + - "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" + - "mp\022\027\n\017current_version\030\004 \001(\t\022\026\n\016target_ve" + - "rsion\030\005 \001(\t\022\020\n\010resource\030\006 \001(\t\"\271\001\n\025Upgrad" + - "eAvailableEvent\022\017\n\007version\030\001 \001(\t\022?\n\rreso" + - "urce_type\030\002 \001(\0162(.google.container.v1.Up" + - "gradeResourceType\022<\n\017release_channel\030\003 \001" + - "(\0132#.google.container.v1.ReleaseChannel\022" + - "\020\n\010resource\030\004 \001(\t\"\236\002\n\025SecurityBulletinEv" + - "ent\022\036\n\026resource_type_affected\030\001 \001(\t\022\023\n\013b" + - "ulletin_id\030\002 \001(\t\022\017\n\007cve_ids\030\003 \003(\t\022\020\n\010sev" + - "erity\030\004 \001(\t\022\024\n\014bulletin_uri\030\005 \001(\t\022\031\n\021bri" + - "ef_description\030\006 \001(\t\022!\n\031affected_support" + - "ed_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\025m" + - "anual_steps_required\030\n \001(\010\"\034\n\tAutopilot\022" + - "\017\n\007enabled\030\001 \001(\010\"V\n\rLoggingConfig\022E\n\020com" + - "ponent_config\030\001 \001(\0132+.google.container.v" + - "1.LoggingComponentConfig\"\357\001\n\026LoggingComp" + - "onentConfig\022P\n\021enable_components\030\001 \003(\01625" + - ".google.container.v1.LoggingComponentCon" + - "fig.Component\"\202\001\n\tComponent\022\031\n\025COMPONENT" + - "_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\tSCHEDULER" + - "\020\004\022\026\n\022CONTROLLER_MANAGER\020\005\"\255\001\n\020Monitorin" + - "gConfig\022H\n\020component_config\030\001 \001(\0132..goog" + - "le.container.v1.MonitoringComponentConfi" + - "g\022O\n\031managed_prometheus_config\030\002 \001(\0132,.g" + - "oogle.container.v1.ManagedPrometheusConf" + - "ig\"Z\n\025NodePoolLoggingConfig\022A\n\016variant_c" + - "onfig\030\001 \001(\0132).google.container.v1.Loggin" + - "gVariantConfig\"\237\001\n\024LoggingVariantConfig\022" + - "B\n\007variant\030\001 \001(\01621.google.container.v1.L" + - "oggingVariantConfig.Variant\"C\n\007Variant\022\027" + - "\n\023VARIANT_UNSPECIFIED\020\000\022\013\n\007DEFAULT\020\001\022\022\n\016" + - "MAX_THROUGHPUT\020\002\"\345\001\n\031MonitoringComponent" + - "Config\022S\n\021enable_components\030\001 \003(\01628.goog", - "le.container.v1.MonitoringComponentConfi" + - "g.Component\"s\n\tComponent\022\031\n\025COMPONENT_UN" + - "SPECIFIED\020\000\022\025\n\021SYSTEM_COMPONENTS\020\001\022\r\n\tAP" + - "ISERVER\020\003\022\r\n\tSCHEDULER\020\004\022\026\n\022CONTROLLER_M" + - "ANAGER\020\005\"*\n\027ManagedPrometheusConfig\022\017\n\007e" + - "nabled\030\001 \001(\010*\306\001\n\027PrivateIPv6GoogleAccess" + - "\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFI" + - "ED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCESS_DISAB" + - "LED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCESS_TO_G" + - "OOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_ACCESS_BI" + - "DIRECTIONAL\020\003*W\n\023UpgradeResourceType\022%\n!" + - "UPGRADE_RESOURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006M" + - "ASTER\020\001\022\r\n\tNODE_POOL\020\002*a\n\020DatapathProvid" + - "er\022!\n\035DATAPATH_PROVIDER_UNSPECIFIED\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_G" + - "REEN\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_IPV" + - "6\020\002*N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TYP" + - "E_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERNA" + - "L\020\0022\303G\n\016ClusterManager\022\350\001\n\014ListClusters\022" + - "(.google.container.v1.ListClustersReques" + - "t\032).google.container.v1.ListClustersResp" + - "onse\"\202\001\202\323\344\223\002a\022,/v1/{parent=projects/*/lo" + - "cations/*}/clustersZ1\022//v1/projects/{pro" + - "ject_id}/zones/{zone}/clusters\332A\017project" + - "_id,zone\332A\006parent\022\355\001\n\nGetCluster\022&.googl" + - "e.container.v1.GetClusterRequest\032\034.googl" + - "e.container.v1.Cluster\"\230\001\202\323\344\223\002n\022,/v1/{na" + - "me=projects/*/locations/*/clusters/*}Z>\022" + - "*/v1/{name=proje" + - "cts/*/locations/*/clusters/*}:setResourc" + - "eLabels:\001*ZP\"K/v1/projects/{project_id}/" + - "zones/{zone}/clusters/{cluster_id}/resou" + - "rceLabels:\001*\022\245\002\n\rSetLegacyAbac\022).google." + - "container.v1.SetLegacyAbacRequest\032\036.goog" + - "le.container.v1.Operation\"\310\001\202\323\344\223\002\215\001\":/v1" + - "/{name=projects/*/locations/*/clusters/*" + - "}:setLegacyAbac:\001*ZL\"G/v1/projects/{proj" + - "ect_id}/zones/{zone}/clusters/{cluster_i" + - "d}/legacyAbac:\001*\332A\"project_id,zone,clust" + - "er_id,enabled\332A\014name,enabled\022\240\002\n\017StartIP" + - "Rotation\022+.google.container.v1.StartIPRo" + - "tationRequest\032\036.google.container.v1.Oper" + - "ation\"\277\001\202\323\344\223\002\224\001\" - * Whether Confidential Nodes feature is enabled. - *
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java deleted file mode 100644 index 895ef561f6c6..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ConfigConnectorConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ConfigConnectorConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ConfigConnectorConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Cloud Connector is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java deleted file mode 100644 index c8f4e47cd289..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CostManagementConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface CostManagementConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.CostManagementConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the feature is enabled or not.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java deleted file mode 100644 index f0e89de1a17b..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DefaultSnatStatusOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface DefaultSnatStatusOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.DefaultSnatStatus) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Disables cluster default sNAT rules.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java deleted file mode 100644 index 8acfad5ddae9..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DnsCacheConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface DnsCacheConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.DnsCacheConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether NodeLocal DNSCache is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java deleted file mode 100644 index 0c7c51a0219c..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/FastSocketOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface FastSocketOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.FastSocket) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Fast Socket features are enabled in the node pool.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java deleted file mode 100644 index c2d5188e850b..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcePersistentDiskCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GcePersistentDiskCsiDriverConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GcePersistentDiskCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java deleted file mode 100644 index 6e8550f61df3..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcfsConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GcfsConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GcfsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether to use GCFS.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java deleted file mode 100644 index 5e164058f180..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GcpFilestoreCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GcpFilestoreCsiDriverConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GcpFilestoreCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the GCP Filestore CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java deleted file mode 100644 index ca9068a13417..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GkeBackupAgentConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface GkeBackupAgentConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.GkeBackupAgentConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Backup for GKE agent is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java deleted file mode 100644 index c3d6f5670b00..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface HorizontalPodAutoscalingOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.HorizontalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
-   * When enabled, it ensures that metrics are collected into Stackdriver
-   * Monitoring.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java deleted file mode 100644 index 5ea4b6a9c23a..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface HttpLoadBalancingOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.HttpLoadBalancing) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the HTTP Load Balancing controller is enabled in the cluster.
-   * When enabled, it runs a small pod in the cluster that manages the load
-   * balancers.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java deleted file mode 100644 index 65a0e12e259d..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ILBSubsettingConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ILBSubsettingConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ILBSubsettingConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enables l4 ILB subsetting for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java deleted file mode 100644 index e9a7d076cdbd..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IdentityServiceConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface IdentityServiceConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.IdentityServiceConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether to enable the Identity Service component
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java deleted file mode 100644 index 9b281fd79caa..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface IntraNodeVisibilityConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.IntraNodeVisibilityConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enables intra node visibility for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java deleted file mode 100644 index edaebef86342..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface KubernetesDashboardOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.KubernetesDashboard) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Kubernetes Dashboard is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java deleted file mode 100644 index a0fee708ab6e..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ManagedPrometheusConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ManagedPrometheusConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ManagedPrometheusConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enable Managed Collection.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index e464d2c19d29..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface MaxPodsConstraintOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.MaxPodsConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Constraint enforced on the max num of pods per node.
-   * 
- * - * int64 max_pods_per_node = 1; - * @return The maxPodsPerNode. - */ - long getMaxPodsPerNode(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java deleted file mode 100644 index 1a0d64619d28..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface NetworkPolicyConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.NetworkPolicyConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether NetworkPolicy is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java deleted file mode 100644 index 61074efec595..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface PrivateClusterMasterGlobalAccessConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.PrivateClusterMasterGlobalAccessConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whenever master is accessible globally or not.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java deleted file mode 100644 index 9448d4b20b7e..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServiceExternalIPsConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ServiceExternalIPsConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ServiceExternalIPsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Services with ExternalIPs field are allowed or not.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java deleted file mode 100644 index efa2231db7fa..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedNodesOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface ShieldedNodesOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.ShieldedNodes) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java deleted file mode 100644 index 5ff0bcd48680..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface VerticalPodAutoscalingOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.VerticalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enables vertical pod autoscaling.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java deleted file mode 100644 index c662317b6743..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VirtualNICOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface VirtualNICOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.VirtualNIC) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether gVNIC features are enabled in the node pool.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java b/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java deleted file mode 100644 index 499e602573f7..000000000000 --- a/owl-bot-staging/java-container/v1/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/WorkloadIdentityConfigOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1/cluster_service.proto - -package com.google.container.v1; - -public interface WorkloadIdentityConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1.WorkloadIdentityConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The workload pool to attach all Kubernetes service accounts to.
-   * 
- * - * string workload_pool = 2; - * @return The workloadPool. - */ - java.lang.String getWorkloadPool(); - /** - *
-   * The workload pool to attach all Kubernetes service accounts to.
-   * 
- * - * string workload_pool = 2; - * @return The bytes for workloadPool. - */ - com.google.protobuf.ByteString - getWorkloadPoolBytes(); -} diff --git a/owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java b/owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java deleted file mode 100644 index 0251a0b314c5..000000000000 --- a/owl-bot-staging/java-container/v1beta1/grpc-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterManagerGrpc.java +++ /dev/null @@ -1,3261 +0,0 @@ -package com.google.container.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Google Kubernetes Engine Cluster Manager v1beta1
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/container/v1beta1/cluster_service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ClusterManagerGrpc { - - private ClusterManagerGrpc() {} - - public static final String SERVICE_NAME = "google.container.v1beta1.ClusterManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.container.v1beta1.ListClustersRequest.class, - responseType = com.google.container.v1beta1.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListClustersMethod() { - io.grpc.MethodDescriptor getListClustersMethod; - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListClustersMethod = ClusterManagerGrpc.getListClustersMethod) == null) { - ClusterManagerGrpc.getListClustersMethod = getListClustersMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListClustersRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListClustersResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.container.v1beta1.GetClusterRequest.class, - responseType = com.google.container.v1beta1.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetClusterMethod() { - io.grpc.MethodDescriptor getGetClusterMethod; - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetClusterMethod = ClusterManagerGrpc.getGetClusterMethod) == null) { - ClusterManagerGrpc.getGetClusterMethod = getGetClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Cluster.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.container.v1beta1.CreateClusterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateClusterMethod() { - io.grpc.MethodDescriptor getCreateClusterMethod; - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateClusterMethod = ClusterManagerGrpc.getCreateClusterMethod) == null) { - ClusterManagerGrpc.getCreateClusterMethod = getCreateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CreateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.container.v1beta1.UpdateClusterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateClusterMethod() { - io.grpc.MethodDescriptor getUpdateClusterMethod; - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateClusterMethod = ClusterManagerGrpc.getUpdateClusterMethod) == null) { - ClusterManagerGrpc.getUpdateClusterMethod = getUpdateClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.UpdateClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateNodePool", - requestType = com.google.container.v1beta1.UpdateNodePoolRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateNodePoolMethod() { - io.grpc.MethodDescriptor getUpdateNodePoolMethod; - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateNodePoolMethod = ClusterManagerGrpc.getUpdateNodePoolMethod) == null) { - ClusterManagerGrpc.getUpdateNodePoolMethod = getUpdateNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.UpdateNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateNodePool")) - .build(); - } - } - } - return getUpdateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolAutoscaling", - requestType = com.google.container.v1beta1.SetNodePoolAutoscalingRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod() { - io.grpc.MethodDescriptor getSetNodePoolAutoscalingMethod; - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolAutoscalingMethod = ClusterManagerGrpc.getSetNodePoolAutoscalingMethod) == null) { - ClusterManagerGrpc.getSetNodePoolAutoscalingMethod = getSetNodePoolAutoscalingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolAutoscaling")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolAutoscaling")) - .build(); - } - } - } - return getSetNodePoolAutoscalingMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLoggingServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLoggingService", - requestType = com.google.container.v1beta1.SetLoggingServiceRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLoggingServiceMethod() { - io.grpc.MethodDescriptor getSetLoggingServiceMethod; - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLoggingServiceMethod = ClusterManagerGrpc.getSetLoggingServiceMethod) == null) { - ClusterManagerGrpc.getSetLoggingServiceMethod = getSetLoggingServiceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLoggingService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLoggingServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLoggingService")) - .build(); - } - } - } - return getSetLoggingServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetMonitoringServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMonitoringService", - requestType = com.google.container.v1beta1.SetMonitoringServiceRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetMonitoringServiceMethod() { - io.grpc.MethodDescriptor getSetMonitoringServiceMethod; - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMonitoringServiceMethod = ClusterManagerGrpc.getSetMonitoringServiceMethod) == null) { - ClusterManagerGrpc.getSetMonitoringServiceMethod = getSetMonitoringServiceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMonitoringService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetMonitoringServiceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMonitoringService")) - .build(); - } - } - } - return getSetMonitoringServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetAddonsConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetAddonsConfig", - requestType = com.google.container.v1beta1.SetAddonsConfigRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetAddonsConfigMethod() { - io.grpc.MethodDescriptor getSetAddonsConfigMethod; - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetAddonsConfigMethod = ClusterManagerGrpc.getSetAddonsConfigMethod) == null) { - ClusterManagerGrpc.getSetAddonsConfigMethod = getSetAddonsConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAddonsConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetAddonsConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetAddonsConfig")) - .build(); - } - } - } - return getSetAddonsConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLocations", - requestType = com.google.container.v1beta1.SetLocationsRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLocationsMethod() { - io.grpc.MethodDescriptor getSetLocationsMethod; - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLocationsMethod = ClusterManagerGrpc.getSetLocationsMethod) == null) { - ClusterManagerGrpc.getSetLocationsMethod = getSetLocationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLocationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLocations")) - .build(); - } - } - } - return getSetLocationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateMasterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateMaster", - requestType = com.google.container.v1beta1.UpdateMasterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateMasterMethod() { - io.grpc.MethodDescriptor getUpdateMasterMethod; - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getUpdateMasterMethod = ClusterManagerGrpc.getUpdateMasterMethod) == null) { - ClusterManagerGrpc.getUpdateMasterMethod = getUpdateMasterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateMaster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.UpdateMasterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("UpdateMaster")) - .build(); - } - } - } - return getUpdateMasterMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetMasterAuthMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMasterAuth", - requestType = com.google.container.v1beta1.SetMasterAuthRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetMasterAuthMethod() { - io.grpc.MethodDescriptor getSetMasterAuthMethod; - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMasterAuthMethod = ClusterManagerGrpc.getSetMasterAuthMethod) == null) { - ClusterManagerGrpc.getSetMasterAuthMethod = getSetMasterAuthMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMasterAuth")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetMasterAuthRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMasterAuth")) - .build(); - } - } - } - return getSetMasterAuthMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.container.v1beta1.DeleteClusterRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteClusterMethod() { - io.grpc.MethodDescriptor getDeleteClusterMethod; - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteClusterMethod = ClusterManagerGrpc.getDeleteClusterMethod) == null) { - ClusterManagerGrpc.getDeleteClusterMethod = getDeleteClusterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.DeleteClusterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor getListOperationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListOperations", - requestType = com.google.container.v1beta1.ListOperationsRequest.class, - responseType = com.google.container.v1beta1.ListOperationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListOperationsMethod() { - io.grpc.MethodDescriptor getListOperationsMethod; - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListOperationsMethod = ClusterManagerGrpc.getListOperationsMethod) == null) { - ClusterManagerGrpc.getListOperationsMethod = getListOperationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListOperationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListOperationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListOperations")) - .build(); - } - } - } - return getListOperationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetOperation", - requestType = com.google.container.v1beta1.GetOperationRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetOperationMethod() { - io.grpc.MethodDescriptor getGetOperationMethod; - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetOperationMethod = ClusterManagerGrpc.getGetOperationMethod) == null) { - ClusterManagerGrpc.getGetOperationMethod = getGetOperationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetOperationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetOperation")) - .build(); - } - } - } - return getGetOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelOperationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelOperation", - requestType = com.google.container.v1beta1.CancelOperationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelOperationMethod() { - io.grpc.MethodDescriptor getCancelOperationMethod; - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCancelOperationMethod = ClusterManagerGrpc.getCancelOperationMethod) == null) { - ClusterManagerGrpc.getCancelOperationMethod = getCancelOperationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelOperation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CancelOperationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CancelOperation")) - .build(); - } - } - } - return getCancelOperationMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetServerConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetServerConfig", - requestType = com.google.container.v1beta1.GetServerConfigRequest.class, - responseType = com.google.container.v1beta1.ServerConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetServerConfigMethod() { - io.grpc.MethodDescriptor getGetServerConfigMethod; - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetServerConfigMethod = ClusterManagerGrpc.getGetServerConfigMethod) == null) { - ClusterManagerGrpc.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.container.v1beta1.GetServerConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ServerConfig.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetServerConfig")) - .build(); - } - } - } - return getGetServerConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getListNodePoolsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListNodePools", - requestType = com.google.container.v1beta1.ListNodePoolsRequest.class, - responseType = com.google.container.v1beta1.ListNodePoolsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListNodePoolsMethod() { - io.grpc.MethodDescriptor getListNodePoolsMethod; - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListNodePoolsMethod = ClusterManagerGrpc.getListNodePoolsMethod) == null) { - ClusterManagerGrpc.getListNodePoolsMethod = getListNodePoolsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNodePools")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListNodePoolsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListNodePoolsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListNodePools")) - .build(); - } - } - } - return getListNodePoolsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetJSONWebKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJSONWebKeys", - requestType = com.google.container.v1beta1.GetJSONWebKeysRequest.class, - responseType = com.google.container.v1beta1.GetJSONWebKeysResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetJSONWebKeysMethod() { - io.grpc.MethodDescriptor getGetJSONWebKeysMethod; - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetJSONWebKeysMethod = ClusterManagerGrpc.getGetJSONWebKeysMethod) == null) { - ClusterManagerGrpc.getGetJSONWebKeysMethod = getGetJSONWebKeysMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetJSONWebKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetJSONWebKeysRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetJSONWebKeysResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetJSONWebKeys")) - .build(); - } - } - } - return getGetJSONWebKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetNodePool", - requestType = com.google.container.v1beta1.GetNodePoolRequest.class, - responseType = com.google.container.v1beta1.NodePool.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetNodePoolMethod() { - io.grpc.MethodDescriptor getGetNodePoolMethod; - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getGetNodePoolMethod = ClusterManagerGrpc.getGetNodePoolMethod) == null) { - ClusterManagerGrpc.getGetNodePoolMethod = getGetNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.GetNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.NodePool.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("GetNodePool")) - .build(); - } - } - } - return getGetNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateNodePool", - requestType = com.google.container.v1beta1.CreateNodePoolRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateNodePoolMethod() { - io.grpc.MethodDescriptor getCreateNodePoolMethod; - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCreateNodePoolMethod = ClusterManagerGrpc.getCreateNodePoolMethod) == null) { - ClusterManagerGrpc.getCreateNodePoolMethod = getCreateNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CreateNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CreateNodePool")) - .build(); - } - } - } - return getCreateNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteNodePoolMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteNodePool", - requestType = com.google.container.v1beta1.DeleteNodePoolRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteNodePoolMethod() { - io.grpc.MethodDescriptor getDeleteNodePoolMethod; - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getDeleteNodePoolMethod = ClusterManagerGrpc.getDeleteNodePoolMethod) == null) { - ClusterManagerGrpc.getDeleteNodePoolMethod = getDeleteNodePoolMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNodePool")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.DeleteNodePoolRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("DeleteNodePool")) - .build(); - } - } - } - return getDeleteNodePoolMethod; - } - - private static volatile io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteNodePoolUpgrade", - requestType = com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor getCompleteNodePoolUpgradeMethod; - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteNodePoolUpgradeMethod = ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod) == null) { - ClusterManagerGrpc.getCompleteNodePoolUpgradeMethod = getCompleteNodePoolUpgradeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteNodePoolUpgrade")) - .build(); - } - } - } - return getCompleteNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RollbackNodePoolUpgrade", - requestType = com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod() { - io.grpc.MethodDescriptor getRollbackNodePoolUpgradeMethod; - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getRollbackNodePoolUpgradeMethod = ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod) == null) { - ClusterManagerGrpc.getRollbackNodePoolUpgradeMethod = getRollbackNodePoolUpgradeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackNodePoolUpgrade")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("RollbackNodePoolUpgrade")) - .build(); - } - } - } - return getRollbackNodePoolUpgradeMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNodePoolManagementMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolManagement", - requestType = com.google.container.v1beta1.SetNodePoolManagementRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNodePoolManagementMethod() { - io.grpc.MethodDescriptor getSetNodePoolManagementMethod; - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolManagementMethod = ClusterManagerGrpc.getSetNodePoolManagementMethod) == null) { - ClusterManagerGrpc.getSetNodePoolManagementMethod = getSetNodePoolManagementMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolManagement")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNodePoolManagementRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolManagement")) - .build(); - } - } - } - return getSetNodePoolManagementMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLabelsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLabels", - requestType = com.google.container.v1beta1.SetLabelsRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLabelsMethod() { - io.grpc.MethodDescriptor getSetLabelsMethod; - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLabelsMethod = ClusterManagerGrpc.getSetLabelsMethod) == null) { - ClusterManagerGrpc.getSetLabelsMethod = getSetLabelsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLabels")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLabelsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLabels")) - .build(); - } - } - } - return getSetLabelsMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetLegacyAbacMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetLegacyAbac", - requestType = com.google.container.v1beta1.SetLegacyAbacRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetLegacyAbacMethod() { - io.grpc.MethodDescriptor getSetLegacyAbacMethod; - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetLegacyAbacMethod = ClusterManagerGrpc.getSetLegacyAbacMethod) == null) { - ClusterManagerGrpc.getSetLegacyAbacMethod = getSetLegacyAbacMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetLegacyAbac")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetLegacyAbacRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetLegacyAbac")) - .build(); - } - } - } - return getSetLegacyAbacMethod; - } - - private static volatile io.grpc.MethodDescriptor getStartIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "StartIPRotation", - requestType = com.google.container.v1beta1.StartIPRotationRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getStartIPRotationMethod() { - io.grpc.MethodDescriptor getStartIPRotationMethod; - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getStartIPRotationMethod = ClusterManagerGrpc.getStartIPRotationMethod) == null) { - ClusterManagerGrpc.getStartIPRotationMethod = getStartIPRotationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.StartIPRotationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("StartIPRotation")) - .build(); - } - } - } - return getStartIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCompleteIPRotationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CompleteIPRotation", - requestType = com.google.container.v1beta1.CompleteIPRotationRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCompleteIPRotationMethod() { - io.grpc.MethodDescriptor getCompleteIPRotationMethod; - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getCompleteIPRotationMethod = ClusterManagerGrpc.getCompleteIPRotationMethod) == null) { - ClusterManagerGrpc.getCompleteIPRotationMethod = getCompleteIPRotationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CompleteIPRotation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.CompleteIPRotationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("CompleteIPRotation")) - .build(); - } - } - } - return getCompleteIPRotationMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNodePoolSizeMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNodePoolSize", - requestType = com.google.container.v1beta1.SetNodePoolSizeRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNodePoolSizeMethod() { - io.grpc.MethodDescriptor getSetNodePoolSizeMethod; - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNodePoolSizeMethod = ClusterManagerGrpc.getSetNodePoolSizeMethod) == null) { - ClusterManagerGrpc.getSetNodePoolSizeMethod = getSetNodePoolSizeMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNodePoolSize")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNodePoolSizeRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNodePoolSize")) - .build(); - } - } - } - return getSetNodePoolSizeMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetNetworkPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetNetworkPolicy", - requestType = com.google.container.v1beta1.SetNetworkPolicyRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetNetworkPolicyMethod() { - io.grpc.MethodDescriptor getSetNetworkPolicyMethod; - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetNetworkPolicyMethod = ClusterManagerGrpc.getSetNetworkPolicyMethod) == null) { - ClusterManagerGrpc.getSetNetworkPolicyMethod = getSetNetworkPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetNetworkPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetNetworkPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetNetworkPolicy")) - .build(); - } - } - } - return getSetNetworkPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetMaintenancePolicy", - requestType = com.google.container.v1beta1.SetMaintenancePolicyRequest.class, - responseType = com.google.container.v1beta1.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetMaintenancePolicyMethod() { - io.grpc.MethodDescriptor getSetMaintenancePolicyMethod; - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getSetMaintenancePolicyMethod = ClusterManagerGrpc.getSetMaintenancePolicyMethod) == null) { - ClusterManagerGrpc.getSetMaintenancePolicyMethod = getSetMaintenancePolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetMaintenancePolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.SetMaintenancePolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("SetMaintenancePolicy")) - .build(); - } - } - } - return getSetMaintenancePolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getListUsableSubnetworksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListUsableSubnetworks", - requestType = com.google.container.v1beta1.ListUsableSubnetworksRequest.class, - responseType = com.google.container.v1beta1.ListUsableSubnetworksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListUsableSubnetworksMethod() { - io.grpc.MethodDescriptor getListUsableSubnetworksMethod; - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListUsableSubnetworksMethod = ClusterManagerGrpc.getListUsableSubnetworksMethod) == null) { - ClusterManagerGrpc.getListUsableSubnetworksMethod = getListUsableSubnetworksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListUsableSubnetworks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListUsableSubnetworksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListUsableSubnetworksResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListUsableSubnetworks")) - .build(); - } - } - } - return getListUsableSubnetworksMethod; - } - - private static volatile io.grpc.MethodDescriptor getListLocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListLocations", - requestType = com.google.container.v1beta1.ListLocationsRequest.class, - responseType = com.google.container.v1beta1.ListLocationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListLocationsMethod() { - io.grpc.MethodDescriptor getListLocationsMethod; - if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { - synchronized (ClusterManagerGrpc.class) { - if ((getListLocationsMethod = ClusterManagerGrpc.getListLocationsMethod) == null) { - ClusterManagerGrpc.getListLocationsMethod = getListLocationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListLocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListLocationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.container.v1beta1.ListLocationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ClusterManagerMethodDescriptorSupplier("ListLocations")) - .build(); - } - } - } - return getListLocationsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ClusterManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - }; - return ClusterManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ClusterManagerBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - }; - return ClusterManagerBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ClusterManagerFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ClusterManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - }; - return ClusterManagerFutureStub.newStub(factory, channel); - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public static abstract class ClusterManagerImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters(com.google.container.v1beta1.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); - } - - /** - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public void getCluster(com.google.container.v1beta1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster(com.google.container.v1beta1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); - } - - /** - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public void updateCluster(com.google.container.v1beta1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); - } - - /** - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public void updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateNodePoolMethod(), responseObserver); - } - - /** - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public void setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolAutoscalingMethod(), responseObserver); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLoggingServiceMethod(), responseObserver); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMonitoringServiceMethod(), responseObserver); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetAddonsConfigMethod(), responseObserver); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations(com.google.container.v1beta1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLocationsMethod(), responseObserver); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster(com.google.container.v1beta1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMasterMethod(), responseObserver); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMasterAuthMethod(), responseObserver); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); - } - - /** - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public void listOperations(com.google.container.v1beta1.ListOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation(com.google.container.v1beta1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetOperationMethod(), responseObserver); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation(com.google.container.v1beta1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelOperationMethod(), responseObserver); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServerConfigMethod(), responseObserver); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListNodePoolsMethod(), responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJSONWebKeysMethod(), responseObserver); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool(com.google.container.v1beta1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetNodePoolMethod(), responseObserver); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateNodePoolMethod(), responseObserver); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteNodePoolMethod(), responseObserver); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteNodePoolUpgradeMethod(), responseObserver); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackNodePoolUpgradeMethod(), responseObserver); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolManagementMethod(), responseObserver); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels(com.google.container.v1beta1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLabelsMethod(), responseObserver); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetLegacyAbacMethod(), responseObserver); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartIPRotationMethod(), responseObserver); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCompleteIPRotationMethod(), responseObserver); - } - - /** - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNodePoolSizeMethod(), responseObserver); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetNetworkPolicyMethod(), responseObserver); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetMaintenancePolicyMethod(), responseObserver); - } - - /** - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListUsableSubnetworksMethod(), responseObserver); - } - - /** - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public void listLocations(com.google.container.v1beta1.ListLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListLocationsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListClustersRequest, - com.google.container.v1beta1.ListClustersResponse>( - this, METHODID_LIST_CLUSTERS))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetClusterRequest, - com.google.container.v1beta1.Cluster>( - this, METHODID_GET_CLUSTER))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CreateClusterRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_CREATE_CLUSTER))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.UpdateClusterRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_UPDATE_CLUSTER))) - .addMethod( - getUpdateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.UpdateNodePoolRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_UPDATE_NODE_POOL))) - .addMethod( - getSetNodePoolAutoscalingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNodePoolAutoscalingRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_NODE_POOL_AUTOSCALING))) - .addMethod( - getSetLoggingServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLoggingServiceRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_LOGGING_SERVICE))) - .addMethod( - getSetMonitoringServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetMonitoringServiceRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_MONITORING_SERVICE))) - .addMethod( - getSetAddonsConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetAddonsConfigRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_ADDONS_CONFIG))) - .addMethod( - getSetLocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLocationsRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_LOCATIONS))) - .addMethod( - getUpdateMasterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.UpdateMasterRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_UPDATE_MASTER))) - .addMethod( - getSetMasterAuthMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetMasterAuthRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_MASTER_AUTH))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.DeleteClusterRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_DELETE_CLUSTER))) - .addMethod( - getListOperationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListOperationsRequest, - com.google.container.v1beta1.ListOperationsResponse>( - this, METHODID_LIST_OPERATIONS))) - .addMethod( - getGetOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetOperationRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_GET_OPERATION))) - .addMethod( - getCancelOperationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CancelOperationRequest, - com.google.protobuf.Empty>( - this, METHODID_CANCEL_OPERATION))) - .addMethod( - getGetServerConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetServerConfigRequest, - com.google.container.v1beta1.ServerConfig>( - this, METHODID_GET_SERVER_CONFIG))) - .addMethod( - getListNodePoolsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListNodePoolsRequest, - com.google.container.v1beta1.ListNodePoolsResponse>( - this, METHODID_LIST_NODE_POOLS))) - .addMethod( - getGetJSONWebKeysMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetJSONWebKeysRequest, - com.google.container.v1beta1.GetJSONWebKeysResponse>( - this, METHODID_GET_JSONWEB_KEYS))) - .addMethod( - getGetNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.GetNodePoolRequest, - com.google.container.v1beta1.NodePool>( - this, METHODID_GET_NODE_POOL))) - .addMethod( - getCreateNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CreateNodePoolRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_CREATE_NODE_POOL))) - .addMethod( - getDeleteNodePoolMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.DeleteNodePoolRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_DELETE_NODE_POOL))) - .addMethod( - getCompleteNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest, - com.google.protobuf.Empty>( - this, METHODID_COMPLETE_NODE_POOL_UPGRADE))) - .addMethod( - getRollbackNodePoolUpgradeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_ROLLBACK_NODE_POOL_UPGRADE))) - .addMethod( - getSetNodePoolManagementMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNodePoolManagementRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_NODE_POOL_MANAGEMENT))) - .addMethod( - getSetLabelsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLabelsRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_LABELS))) - .addMethod( - getSetLegacyAbacMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetLegacyAbacRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_LEGACY_ABAC))) - .addMethod( - getStartIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.StartIPRotationRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_START_IPROTATION))) - .addMethod( - getCompleteIPRotationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.CompleteIPRotationRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_COMPLETE_IPROTATION))) - .addMethod( - getSetNodePoolSizeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNodePoolSizeRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_NODE_POOL_SIZE))) - .addMethod( - getSetNetworkPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetNetworkPolicyRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_NETWORK_POLICY))) - .addMethod( - getSetMaintenancePolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.SetMaintenancePolicyRequest, - com.google.container.v1beta1.Operation>( - this, METHODID_SET_MAINTENANCE_POLICY))) - .addMethod( - getListUsableSubnetworksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListUsableSubnetworksRequest, - com.google.container.v1beta1.ListUsableSubnetworksResponse>( - this, METHODID_LIST_USABLE_SUBNETWORKS))) - .addMethod( - getListLocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.container.v1beta1.ListLocationsRequest, - com.google.container.v1beta1.ListLocationsResponse>( - this, METHODID_LIST_LOCATIONS))) - .build(); - } - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public static final class ClusterManagerStub extends io.grpc.stub.AbstractAsyncStub { - private ClusterManagerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerStub(channel, callOptions); - } - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public void listClusters(com.google.container.v1beta1.ListClustersRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public void getCluster(com.google.container.v1beta1.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public void createCluster(com.google.container.v1beta1.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public void updateCluster(com.google.container.v1beta1.UpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public void updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public void setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public void setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public void setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public void setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public void setLocations(com.google.container.v1beta1.SetLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public void updateMaster(com.google.container.v1beta1.UpdateMasterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public void setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public void deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public void listOperations(com.google.container.v1beta1.ListOperationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public void getOperation(com.google.container.v1beta1.GetOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public void cancelOperation(com.google.container.v1beta1.CancelOperationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public void getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public void listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public void getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public void getNodePool(com.google.container.v1beta1.GetNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public void createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public void deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public void completeNodePoolUpgrade(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public void rollbackNodePoolUpgrade(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public void setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public void setLabels(com.google.container.v1beta1.SetLabelsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public void setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public void startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public void completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public void setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public void setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public void setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public void listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public void listLocations(com.google.container.v1beta1.ListLocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListLocationsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public static final class ClusterManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ClusterManagerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.container.v1beta1.ListClustersResponse listClusters(com.google.container.v1beta1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Cluster getCluster(com.google.container.v1beta1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.container.v1beta1.Operation createCluster(com.google.container.v1beta1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation updateCluster(com.google.container.v1beta1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public com.google.container.v1beta1.Operation updateNodePool(com.google.container.v1beta1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public com.google.container.v1beta1.Operation setNodePoolAutoscaling(com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolAutoscalingMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setLoggingService(com.google.container.v1beta1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLoggingServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setMonitoringService(com.google.container.v1beta1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMonitoringServiceMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setAddonsConfig(com.google.container.v1beta1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetAddonsConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.container.v1beta1.Operation setLocations(com.google.container.v1beta1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLocationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation updateMaster(com.google.container.v1beta1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateMasterMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.container.v1beta1.Operation setMasterAuth(com.google.container.v1beta1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMasterAuthMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.container.v1beta1.Operation deleteCluster(com.google.container.v1beta1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public com.google.container.v1beta1.ListOperationsResponse listOperations(com.google.container.v1beta1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListOperationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.container.v1beta1.Operation getOperation(com.google.container.v1beta1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetOperationMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.protobuf.Empty cancelOperation(com.google.container.v1beta1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelOperationMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.container.v1beta1.ServerConfig getServerConfig(com.google.container.v1beta1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServerConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.container.v1beta1.ListNodePoolsResponse listNodePools(com.google.container.v1beta1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListNodePoolsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.container.v1beta1.GetJSONWebKeysResponse getJSONWebKeys(com.google.container.v1beta1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJSONWebKeysMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.container.v1beta1.NodePool getNodePool(com.google.container.v1beta1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation createNodePool(com.google.container.v1beta1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation deleteNodePool(com.google.container.v1beta1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteNodePoolMethod(), getCallOptions(), request); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.protobuf.Empty completeNodePoolUpgrade(com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.container.v1beta1.Operation rollbackNodePoolUpgrade(com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRollbackNodePoolUpgradeMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.container.v1beta1.Operation setNodePoolManagement(com.google.container.v1beta1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolManagementMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setLabels(com.google.container.v1beta1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLabelsMethod(), getCallOptions(), request); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setLegacyAbac(com.google.container.v1beta1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetLegacyAbacMethod(), getCallOptions(), request); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.container.v1beta1.Operation startIPRotation(com.google.container.v1beta1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getStartIPRotationMethod(), getCallOptions(), request); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.container.v1beta1.Operation completeIPRotation(com.google.container.v1beta1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCompleteIPRotationMethod(), getCallOptions(), request); - } - - /** - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public com.google.container.v1beta1.Operation setNodePoolSize(com.google.container.v1beta1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNodePoolSizeMethod(), getCallOptions(), request); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setNetworkPolicy(com.google.container.v1beta1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetNetworkPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.container.v1beta1.Operation setMaintenancePolicy(com.google.container.v1beta1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetMaintenancePolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public com.google.container.v1beta1.ListUsableSubnetworksResponse listUsableSubnetworks(com.google.container.v1beta1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListUsableSubnetworksMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public com.google.container.v1beta1.ListLocationsResponse listLocations(com.google.container.v1beta1.ListLocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListLocationsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Google Kubernetes Engine Cluster Manager v1beta1
-   * 
- */ - public static final class ClusterManagerFutureStub extends io.grpc.stub.AbstractFutureStub { - private ClusterManagerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ClusterManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ClusterManagerFutureStub(channel, callOptions); - } - - /** - *
-     * Lists all clusters owned by a project in either the specified zone or all
-     * zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listClusters( - com.google.container.v1beta1.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the details for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCluster( - com.google.container.v1beta1.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a cluster, consisting of the specified number and type of Google
-     * Compute Engine instances.
-     * By default, the cluster is created in the project's
-     * [default
-     * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
-     * One firewall is added for the cluster. After cluster creation,
-     * the Kubelet creates routes for each node to allow the containers
-     * on that node to communicate with all other instances in the
-     * cluster.
-     * Finally, an entry is added to the project's global metadata indicating
-     * which CIDR range the cluster is using.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCluster( - com.google.container.v1beta1.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the settings for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCluster( - com.google.container.v1beta1.UpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the version and/or image type of a specific node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateNodePool( - com.google.container.v1beta1.UpdateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the autoscaling settings of a specific node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNodePoolAutoscaling( - com.google.container.v1beta1.SetNodePoolAutoscalingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolAutoscalingMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the logging service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setLoggingService( - com.google.container.v1beta1.SetLoggingServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLoggingServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the monitoring service for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setMonitoringService( - com.google.container.v1beta1.SetMonitoringServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMonitoringServiceMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the addons for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setAddonsConfig( - com.google.container.v1beta1.SetAddonsConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetAddonsConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the locations for a specific cluster.
-     * Deprecated. Use
-     * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
-     * instead.
-     * 
- */ - @java.lang.Deprecated - public com.google.common.util.concurrent.ListenableFuture setLocations( - com.google.container.v1beta1.SetLocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLocationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the master for a specific cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateMaster( - com.google.container.v1beta1.UpdateMasterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateMasterMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets master auth materials. Currently supports changing the admin password
-     * or a specific cluster, either via password generation or explicitly setting
-     * the password.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setMasterAuth( - com.google.container.v1beta1.SetMasterAuthRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMasterAuthMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes the cluster, including the Kubernetes endpoint and all worker
-     * nodes.
-     * Firewalls and routes that were configured during cluster creation
-     * are also deleted.
-     * Other Google Compute Engine resources that might be in use by the cluster,
-     * such as load balancer resources, are not deleted if they weren't present
-     * when the cluster was initially created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCluster( - com.google.container.v1beta1.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all operations in a project in the specified zone or all zones.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listOperations( - com.google.container.v1beta1.ListOperationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getOperation( - com.google.container.v1beta1.GetOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetOperationMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels the specified operation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelOperation( - com.google.container.v1beta1.CancelOperationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns configuration info about the Google Kubernetes Engine service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getServerConfig( - com.google.container.v1beta1.GetServerConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServerConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists the node pools for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listNodePools( - com.google.container.v1beta1.ListNodePoolsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListNodePoolsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the public component of the cluster signing keys in
-     * JSON Web Key format.
-     * This API is not yet intended for general use, and is not available for all
-     * clusters.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJSONWebKeys( - com.google.container.v1beta1.GetJSONWebKeysRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJSONWebKeysMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the requested node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getNodePool( - com.google.container.v1beta1.GetNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a node pool for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createNodePool( - com.google.container.v1beta1.CreateNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a node pool from a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteNodePool( - com.google.container.v1beta1.DeleteNodePoolRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteNodePoolMethod(), getCallOptions()), request); - } - - /** - *
-     * CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
-     * complete.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture completeNodePoolUpgrade( - com.google.container.v1beta1.CompleteNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - *
-     * Rolls back a previously Aborted or Failed NodePool upgrade.
-     * This makes no changes if the last upgrade successfully completed.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture rollbackNodePoolUpgrade( - com.google.container.v1beta1.RollbackNodePoolUpgradeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRollbackNodePoolUpgradeMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the NodeManagement options for a node pool.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNodePoolManagement( - com.google.container.v1beta1.SetNodePoolManagementRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolManagementMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets labels on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setLabels( - com.google.container.v1beta1.SetLabelsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLabelsMethod(), getCallOptions()), request); - } - - /** - *
-     * Enables or disables the ABAC authorization mechanism on a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setLegacyAbac( - com.google.container.v1beta1.SetLegacyAbacRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetLegacyAbacMethod(), getCallOptions()), request); - } - - /** - *
-     * Starts master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture startIPRotation( - com.google.container.v1beta1.StartIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getStartIPRotationMethod(), getCallOptions()), request); - } - - /** - *
-     * Completes master IP rotation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture completeIPRotation( - com.google.container.v1beta1.CompleteIPRotationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCompleteIPRotationMethod(), getCallOptions()), request); - } - - /** - *
-     * SetNodePoolSizeRequest sets the size of a node pool. The new size will be
-     * used for all replicas, including future replicas created by modifying
-     * [NodePool.locations][google.container.v1beta1.NodePool.locations].
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNodePoolSize( - com.google.container.v1beta1.SetNodePoolSizeRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNodePoolSizeMethod(), getCallOptions()), request); - } - - /** - *
-     * Enables or disables Network Policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setNetworkPolicy( - com.google.container.v1beta1.SetNetworkPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetNetworkPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Sets the maintenance policy for a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setMaintenancePolicy( - com.google.container.v1beta1.SetMaintenancePolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetMaintenancePolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists subnetworks that can be used for creating clusters in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listUsableSubnetworks( - com.google.container.v1beta1.ListUsableSubnetworksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListUsableSubnetworksMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches locations that offer Google Kubernetes Engine.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listLocations( - com.google.container.v1beta1.ListLocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListLocationsMethod(), 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_UPDATE_NODE_POOL = 4; - private static final int METHODID_SET_NODE_POOL_AUTOSCALING = 5; - private static final int METHODID_SET_LOGGING_SERVICE = 6; - private static final int METHODID_SET_MONITORING_SERVICE = 7; - private static final int METHODID_SET_ADDONS_CONFIG = 8; - private static final int METHODID_SET_LOCATIONS = 9; - private static final int METHODID_UPDATE_MASTER = 10; - private static final int METHODID_SET_MASTER_AUTH = 11; - private static final int METHODID_DELETE_CLUSTER = 12; - private static final int METHODID_LIST_OPERATIONS = 13; - private static final int METHODID_GET_OPERATION = 14; - private static final int METHODID_CANCEL_OPERATION = 15; - private static final int METHODID_GET_SERVER_CONFIG = 16; - private static final int METHODID_LIST_NODE_POOLS = 17; - private static final int METHODID_GET_JSONWEB_KEYS = 18; - private static final int METHODID_GET_NODE_POOL = 19; - private static final int METHODID_CREATE_NODE_POOL = 20; - private static final int METHODID_DELETE_NODE_POOL = 21; - private static final int METHODID_COMPLETE_NODE_POOL_UPGRADE = 22; - private static final int METHODID_ROLLBACK_NODE_POOL_UPGRADE = 23; - private static final int METHODID_SET_NODE_POOL_MANAGEMENT = 24; - private static final int METHODID_SET_LABELS = 25; - private static final int METHODID_SET_LEGACY_ABAC = 26; - private static final int METHODID_START_IPROTATION = 27; - private static final int METHODID_COMPLETE_IPROTATION = 28; - private static final int METHODID_SET_NODE_POOL_SIZE = 29; - private static final int METHODID_SET_NETWORK_POLICY = 30; - private static final int METHODID_SET_MAINTENANCE_POLICY = 31; - private static final int METHODID_LIST_USABLE_SUBNETWORKS = 32; - private static final int METHODID_LIST_LOCATIONS = 33; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final ClusterManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ClusterManagerImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters((com.google.container.v1beta1.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster((com.google.container.v1beta1.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster((com.google.container.v1beta1.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster((com.google.container.v1beta1.UpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_NODE_POOL: - serviceImpl.updateNodePool((com.google.container.v1beta1.UpdateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_AUTOSCALING: - serviceImpl.setNodePoolAutoscaling((com.google.container.v1beta1.SetNodePoolAutoscalingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LOGGING_SERVICE: - serviceImpl.setLoggingService((com.google.container.v1beta1.SetLoggingServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MONITORING_SERVICE: - serviceImpl.setMonitoringService((com.google.container.v1beta1.SetMonitoringServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_ADDONS_CONFIG: - serviceImpl.setAddonsConfig((com.google.container.v1beta1.SetAddonsConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LOCATIONS: - serviceImpl.setLocations((com.google.container.v1beta1.SetLocationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_MASTER: - serviceImpl.updateMaster((com.google.container.v1beta1.UpdateMasterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MASTER_AUTH: - serviceImpl.setMasterAuth((com.google.container.v1beta1.SetMasterAuthRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster((com.google.container.v1beta1.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_OPERATIONS: - serviceImpl.listOperations((com.google.container.v1beta1.ListOperationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_OPERATION: - serviceImpl.getOperation((com.google.container.v1beta1.GetOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_OPERATION: - serviceImpl.cancelOperation((com.google.container.v1beta1.CancelOperationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVER_CONFIG: - serviceImpl.getServerConfig((com.google.container.v1beta1.GetServerConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_NODE_POOLS: - serviceImpl.listNodePools((com.google.container.v1beta1.ListNodePoolsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JSONWEB_KEYS: - serviceImpl.getJSONWebKeys((com.google.container.v1beta1.GetJSONWebKeysRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_NODE_POOL: - serviceImpl.getNodePool((com.google.container.v1beta1.GetNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_NODE_POOL: - serviceImpl.createNodePool((com.google.container.v1beta1.CreateNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_NODE_POOL: - serviceImpl.deleteNodePool((com.google.container.v1beta1.DeleteNodePoolRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMPLETE_NODE_POOL_UPGRADE: - serviceImpl.completeNodePoolUpgrade((com.google.container.v1beta1.CompleteNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_ROLLBACK_NODE_POOL_UPGRADE: - serviceImpl.rollbackNodePoolUpgrade((com.google.container.v1beta1.RollbackNodePoolUpgradeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_MANAGEMENT: - serviceImpl.setNodePoolManagement((com.google.container.v1beta1.SetNodePoolManagementRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LABELS: - serviceImpl.setLabels((com.google.container.v1beta1.SetLabelsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_LEGACY_ABAC: - serviceImpl.setLegacyAbac((com.google.container.v1beta1.SetLegacyAbacRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_START_IPROTATION: - serviceImpl.startIPRotation((com.google.container.v1beta1.StartIPRotationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMPLETE_IPROTATION: - serviceImpl.completeIPRotation((com.google.container.v1beta1.CompleteIPRotationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NODE_POOL_SIZE: - serviceImpl.setNodePoolSize((com.google.container.v1beta1.SetNodePoolSizeRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_NETWORK_POLICY: - serviceImpl.setNetworkPolicy((com.google.container.v1beta1.SetNetworkPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_MAINTENANCE_POLICY: - serviceImpl.setMaintenancePolicy((com.google.container.v1beta1.SetMaintenancePolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_USABLE_SUBNETWORKS: - serviceImpl.listUsableSubnetworks((com.google.container.v1beta1.ListUsableSubnetworksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_LOCATIONS: - serviceImpl.listLocations((com.google.container.v1beta1.ListLocationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ClusterManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.container.v1beta1.ClusterServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ClusterManager"); - } - } - - private static final class ClusterManagerFileDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier { - ClusterManagerFileDescriptorSupplier() {} - } - - private static final class ClusterManagerMethodDescriptorSupplier - extends ClusterManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ClusterManagerMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ClusterManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ClusterManagerFileDescriptorSupplier()) - .addMethod(getListClustersMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getUpdateNodePoolMethod()) - .addMethod(getSetNodePoolAutoscalingMethod()) - .addMethod(getSetLoggingServiceMethod()) - .addMethod(getSetMonitoringServiceMethod()) - .addMethod(getSetAddonsConfigMethod()) - .addMethod(getSetLocationsMethod()) - .addMethod(getUpdateMasterMethod()) - .addMethod(getSetMasterAuthMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getListOperationsMethod()) - .addMethod(getGetOperationMethod()) - .addMethod(getCancelOperationMethod()) - .addMethod(getGetServerConfigMethod()) - .addMethod(getListNodePoolsMethod()) - .addMethod(getGetJSONWebKeysMethod()) - .addMethod(getGetNodePoolMethod()) - .addMethod(getCreateNodePoolMethod()) - .addMethod(getDeleteNodePoolMethod()) - .addMethod(getCompleteNodePoolUpgradeMethod()) - .addMethod(getRollbackNodePoolUpgradeMethod()) - .addMethod(getSetNodePoolManagementMethod()) - .addMethod(getSetLabelsMethod()) - .addMethod(getSetLegacyAbacMethod()) - .addMethod(getStartIPRotationMethod()) - .addMethod(getCompleteIPRotationMethod()) - .addMethod(getSetNodePoolSizeMethod()) - .addMethod(getSetNetworkPolicyMethod()) - .addMethod(getSetMaintenancePolicyMethod()) - .addMethod(getListUsableSubnetworksMethod()) - .addMethod(getListLocationsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java deleted file mode 100644 index dd13e338bb6d..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/AutopilotOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface AutopilotOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Autopilot) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enable Autopilot
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java deleted file mode 100644 index 6c9b8b7ea37b..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClientCertificateConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ClientCertificateConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ClientCertificateConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Issue a client certificate.
-   * 
- * - * bool issue_client_certificate = 1; - * @return The issueClientCertificate. - */ - boolean getIssueClientCertificate(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java deleted file mode 100644 index 9b8adfad9efd..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ClusterServiceProto.java +++ /dev/null @@ -1,3217 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public final class ClusterServiceProto { - private ClusterServiceProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LinuxNodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LinuxNodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LinuxNodeConfig_SysctlsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeKubeletConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeKubeletConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_MetadataEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfig_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AdvancedMachineFeatures_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AdvancedMachineFeatures_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeNetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeNetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeNetworkConfig_NetworkPerformanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ShieldedInstanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ShieldedInstanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SandboxConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SandboxConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_EphemeralStorageConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_EphemeralStorageConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GcfsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GcfsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ReservationAffinity_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ReservationAffinity_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeTaint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeTaint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeTaints_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeTaints_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeLabels_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceLabels_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceLabels_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceLabels_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkTags_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkTags_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MasterAuth_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MasterAuth_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClientCertificateConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClientCertificateConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AddonsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AddonsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_HttpLoadBalancing_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_HttpLoadBalancing_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_HorizontalPodAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_HorizontalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_KubernetesDashboard_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_KubernetesDashboard_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkPolicyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkPolicyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DnsCacheConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DnsCacheConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_KalmConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_KalmConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GkeBackupAgentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GkeBackupAgentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ConfigConnectorConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ConfigConnectorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GcePersistentDiskCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GcpFilestoreCsiDriverConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_PrivateClusterMasterGlobalAccessConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_PrivateClusterConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_PrivateClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IstioConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IstioConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CloudRunConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CloudRunConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MasterAuthorizedNetworksConfig_CidrBlock_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LegacyAbac_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LegacyAbac_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IPAllocationPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IPAllocationPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_BinaryAuthorization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_BinaryAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_PodSecurityPolicyConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_PodSecurityPolicyConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AuthenticatorGroupsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClusterTelemetry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClusterTelemetry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Cluster_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Cluster_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ProtectConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ProtectConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolDefaults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeConfigDefaults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeConfigDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolAutoConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolAutoConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClusterUpdate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClusterUpdate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Operation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Operation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_OperationProgress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_OperationProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_OperationProgress_Metric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_OperationProgress_Metric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CreateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpdateClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpdateNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpdateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNodePoolAutoscalingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLoggingServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLoggingServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetMonitoringServiceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetMonitoringServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetAddonsConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetAddonsConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLocationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpdateMasterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpdateMasterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetMasterAuthRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetMasterAuthRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DeleteClusterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListClustersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListClustersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetOperationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListOperationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListOperationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CancelOperationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CancelOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListOperationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListOperationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetServerConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetServerConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_ReleaseChannelConfig_AvailableVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServerConfig_WindowsVersionMapsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WindowsVersions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WindowsVersions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WindowsVersions_WindowsVersion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CreateNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CreateNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DeleteNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DeleteNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListNodePoolsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListNodePoolsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetNodePoolRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetNodePoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_BlueGreenSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_BlueGreenSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_BlueGreenSettings_StandardRolloutPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_UpgradeSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_UpgradeSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_UpdateInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_UpdateInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_UpdateInfo_BlueGreenInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePool_PlacementPolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePool_PlacementPolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodeManagement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodeManagement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AutoUpgradeOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AutoUpgradeOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenancePolicy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenancePolicy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenanceWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenanceWindow_MaintenanceExclusionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_TimeWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_TimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaintenanceExclusionOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaintenanceExclusionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_RecurringTimeWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_RecurringTimeWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DailyMaintenanceWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DailyMaintenanceWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNodePoolManagementRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNodePoolManagementRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNodePoolSizeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNodePoolSizeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CompleteNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_RollbackNodePoolUpgradeRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListNodePoolsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListNodePoolsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ClusterAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ClusterAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AutoprovisioningNodePoolDefaults_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceLimit_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceLimit_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLabelsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLabelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLabelsRequest_ResourceLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetLegacyAbacRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetLegacyAbacRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_StartIPRotationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_StartIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CompleteIPRotationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CompleteIPRotationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_AcceleratorConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_AcceleratorConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GPUSharingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GPUSharingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ManagedPrometheusConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ManagedPrometheusConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadMetadataConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadMetadataConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetNetworkPolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetNetworkPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SetMaintenancePolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListLocationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListLocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListLocationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListLocationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Location_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Location_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_StatusCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_StatusCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NetworkConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NetworkConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GatewayAPIConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GatewayAPIConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ServiceExternalIPsConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ServiceExternalIPsConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListUsableSubnetworksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ListUsableSubnetworksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UsableSubnetworkSecondaryRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UsableSubnetwork_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UsableSubnetwork_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_VerticalPodAutoscaling_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_VerticalPodAutoscaling_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DefaultSnatStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DefaultSnatStatus_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IntraNodeVisibilityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ILBSubsettingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ILBSubsettingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DNSConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DNSConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MaxPodsConstraint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MaxPodsConstraint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadIdentityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadIdentityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadALTSConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadALTSConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_WorkloadCertificates_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_WorkloadCertificates_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MeshCertificates_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MeshCertificates_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_DatabaseEncryption_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_DatabaseEncryption_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceUsageExportConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceUsageExportConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceUsageExportConfig_BigQueryDestination_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ResourceUsageExportConfig_ConsumptionMeteringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ShieldedNodes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ShieldedNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_VirtualNIC_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_VirtualNIC_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_FastSocket_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_FastSocket_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetOpenIDConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetOpenIDConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetOpenIDConfigResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetOpenIDConfigResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetJSONWebKeysRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetJSONWebKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Jwk_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Jwk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_GetJSONWebKeysResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_GetJSONWebKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ReleaseChannel_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ReleaseChannel_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_CostManagementConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_CostManagementConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_TpuConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_TpuConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Master_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Master_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_Autopilot_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_Autopilot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NotificationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NotificationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NotificationConfig_PubSub_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NotificationConfig_PubSub_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NotificationConfig_Filter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NotificationConfig_Filter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_ConfidentialNodes_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_ConfidentialNodes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpgradeEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpgradeEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_UpgradeAvailableEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_UpgradeAvailableEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_SecurityBulletinEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_SecurityBulletinEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_IdentityServiceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_IdentityServiceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LoggingComponentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LoggingComponentConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MonitoringConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MonitoringConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_NodePoolLoggingConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_NodePoolLoggingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_LoggingVariantConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_LoggingVariantConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_container_v1beta1_MonitoringComponentConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_container_v1beta1_MonitoringComponentConfig_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/container/v1beta1/cluster_servi" + - "ce.proto\022\030google.container.v1beta1\032\034goog" + - "le/api/annotations.proto\032\027google/api/cli" + - "ent.proto\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032\036google/pr" + - "otobuf/duration.proto\032\033google/protobuf/e" + - "mpty.proto\032\037google/protobuf/timestamp.pr" + - "oto\032\036google/protobuf/wrappers.proto\032\025goo" + - "gle/rpc/code.proto\032\027google/rpc/status.pr" + - "oto\032\026google/type/date.proto\"\250\002\n\017LinuxNod" + - "eConfig\022G\n\007sysctls\030\001 \003(\01326.google.contai" + - "ner.v1beta1.LinuxNodeConfig.SysctlsEntry" + - "\022I\n\013cgroup_mode\030\002 \001(\01624.google.container" + - ".v1beta1.LinuxNodeConfig.CgroupMode\032.\n\014S" + - "ysctlsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"Q\n\nCgroupMode\022\033\n\027CGROUP_MODE_UNSPECI" + - "FIED\020\000\022\022\n\016CGROUP_MODE_V1\020\001\022\022\n\016CGROUP_MOD" + - "E_V2\020\002\"\230\001\n\021NodeKubeletConfig\022\032\n\022cpu_mana" + - "ger_policy\030\001 \001(\t\0221\n\rcpu_cfs_quota\030\002 \001(\0132" + - "\032.google.protobuf.BoolValue\022\034\n\024cpu_cfs_q" + - "uota_period\030\003 \001(\t\022\026\n\016pod_pids_limit\030\004 \001(" + - "\003\"\310\r\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\010metadata\030" + - "\004 \003(\01322.google.container.v1beta1.NodeCon" + - "fig.MetadataEntry\022\022\n\nimage_type\030\005 \001(\t\022@\n" + - "\006labels\030\006 \003(\01320.google.container.v1beta1" + - ".NodeConfig.LabelsEntry\022\027\n\017local_ssd_cou" + - "nt\030\007 \001(\005\022\014\n\004tags\030\010 \003(\t\022\023\n\013preemptible\030\n " + - "\001(\010\022A\n\014accelerators\030\013 \003(\0132+.google.conta" + - "iner.v1beta1.AcceleratorConfig\022?\n\016sandbo" + - "x_config\030\021 \001(\0132\'.google.container.v1beta" + - "1.SandboxConfig\022\022\n\nnode_group\030\022 \001(\t\022K\n\024r" + - "eservation_affinity\030\023 \001(\0132-.google.conta" + - "iner.v1beta1.ReservationAffinity\022\021\n\tdisk" + - "_type\030\014 \001(\t\022\030\n\020min_cpu_platform\030\r \001(\t\022R\n" + - "\030workload_metadata_config\030\016 \001(\01320.google" + - ".container.v1beta1.WorkloadMetadataConfi" + - "g\0223\n\006taints\030\017 \003(\0132#.google.container.v1b" + - "eta1.NodeTaint\022\031\n\021boot_disk_kms_key\030\027 \001(" + - "\t\022R\n\030shielded_instance_config\030\024 \001(\01320.go" + - "ogle.container.v1beta1.ShieldedInstanceC" + - "onfig\022D\n\021linux_node_config\030\025 \001(\0132).googl" + - "e.container.v1beta1.LinuxNodeConfig\022C\n\016k" + - "ubelet_config\030\026 \001(\0132+.google.container.v" + - "1beta1.NodeKubeletConfig\022R\n\030ephemeral_st" + - "orage_config\030\030 \001(\01320.google.container.v1" + - "beta1.EphemeralStorageConfig\0229\n\013gcfs_con" + - "fig\030\031 \001(\0132$.google.container.v1beta1.Gcf" + - "sConfig\022T\n\031advanced_machine_features\030\032 \001" + - "(\01321.google.container.v1beta1.AdvancedMa" + - "chineFeatures\0223\n\005gvnic\030\035 \001(\0132$.google.co" + - "ntainer.v1beta1.VirtualNIC\022\014\n\004spot\030 \001(\010" + - "\022G\n\022confidential_nodes\030# \001(\0132+.google.co" + - "ntainer.v1beta1.ConfidentialNodes\022>\n\013fas" + - "t_socket\030$ \001(\0132$.google.container.v1beta" + - "1.FastSocketH\000\210\001\001\022Q\n\017resource_labels\030% \003" + - "(\01328.google.container.v1beta1.NodeConfig" + - ".ResourceLabelsEntry\022G\n\016logging_config\030&" + - " \001(\0132/.google.container.v1beta1.NodePool" + - "LoggingConfig\032/\n\rMetadataEntry\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\023Resourc" + - "eLabelsEntry\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\027AdvancedMachineF" + - "eatures\022\035\n\020threads_per_core\030\001 \001(\003H\000\210\001\001B\023" + - "\n\021_threads_per_core\"\251\005\n\021NodeNetworkConfi" + - "g\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\032n" + - "etwork_performance_config\030\013 \001(\0132D.google" + - ".container.v1beta1.NodeNetworkConfig.Net" + - "workPerformanceConfigH\001\210\001\001\032\372\002\n\030NetworkPe" + - "rformanceConfig\022s\n\033total_egress_bandwidt" + - "h_tier\030\001 \001(\0162I.google.container.v1beta1." + - "NodeNetworkConfig.NetworkPerformanceConf" + - "ig.TierH\000\210\001\001\022y\n!external_ip_egress_bandw" + - "idth_tier\030\002 \001(\0162I.google.container.v1bet" + - "a1.NodeNetworkConfig.NetworkPerformanceC" + - "onfig.TierH\001\210\001\001\"(\n\004Tier\022\024\n\020TIER_UNSPECIF" + - "IED\020\000\022\n\n\006TIER_1\020\001B\036\n\034_total_egress_bandw" + - "idth_tierB$\n\"_external_ip_egress_bandwid" + - "th_tierB\027\n\025_enable_private_nodesB\035\n\033_net" + - "work_performance_config\"Y\n\026ShieldedInsta" + - "nceConfig\022\032\n\022enable_secure_boot\030\001 \001(\010\022#\n" + - "\033enable_integrity_monitoring\030\002 \001(\010\"\212\001\n\rS" + - "andboxConfig\022\030\n\014sandbox_type\030\001 \001(\tB\002\030\001\022:" + - "\n\004type\030\002 \001(\0162,.google.container.v1beta1." + - "SandboxConfig.Type\"#\n\004Type\022\017\n\013UNSPECIFIE" + - "D\020\000\022\n\n\006GVISOR\020\001\"1\n\026EphemeralStorageConfi" + - "g\022\027\n\017local_ssd_count\030\001 \001(\005\"\035\n\nGcfsConfig" + - "\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\023ReservationAffinit" + - "y\022T\n\030consume_reservation_type\030\001 \001(\01622.go" + - "ogle.container.v1beta1.ReservationAffini" + - "ty.Type\022\013\n\003key\030\002 \001(\t\022\016\n\006values\030\003 \003(\t\"Z\n\004" + - "Type\022\017\n\013UNSPECIFIED\020\000\022\022\n\016NO_RESERVATION\020" + - "\001\022\023\n\017ANY_RESERVATION\020\002\022\030\n\024SPECIFIC_RESER" + - "VATION\020\003\"\276\001\n\tNodeTaint\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t\022:\n\006effect\030\003 \001(\0162*.google.cont" + - "ainer.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" + - ".container.v1beta1.NodeTaint\"}\n\nNodeLabe" + - "ls\022@\n\006labels\030\001 \003(\01320.google.container.v1" + - "beta1.NodeLabels.LabelsEntry\032-\n\013LabelsEn" + - "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\001\n\016" + - "ResourceLabels\022D\n\006labels\030\001 \003(\01324.google." + - "container.v1beta1.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" + - "\"\336\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\022T\n\031client_certificat" + - "e_config\030\003 \001(\01321.google.container.v1beta" + - "1.ClientCertificateConfig\022\036\n\026cluster_ca_" + - "certificate\030d \001(\t\022\032\n\022client_certificate\030" + - "e \001(\t\022\022\n\nclient_key\030f \001(\t\";\n\027ClientCerti" + - "ficateConfig\022 \n\030issue_client_certificate" + - "\030\001 \001(\010\"\305\007\n\014AddonsConfig\022H\n\023http_load_bal" + - "ancing\030\001 \001(\0132+.google.container.v1beta1." + - "HttpLoadBalancing\022V\n\032horizontal_pod_auto" + - "scaling\030\002 \001(\01322.google.container.v1beta1" + - ".HorizontalPodAutoscaling\022O\n\024kubernetes_" + - "dashboard\030\003 \001(\0132-.google.container.v1bet" + - "a1.KubernetesDashboardB\002\030\001\022L\n\025network_po" + - "licy_config\030\004 \001(\0132-.google.container.v1b" + - "eta1.NetworkPolicyConfig\022?\n\014istio_config" + - "\030\005 \001(\0132%.google.container.v1beta1.IstioC" + - "onfigB\002\030\001\022B\n\020cloud_run_config\030\007 \001(\0132(.go" + - "ogle.container.v1beta1.CloudRunConfig\022B\n" + - "\020dns_cache_config\030\010 \001(\0132(.google.contain" + - "er.v1beta1.DnsCacheConfig\022P\n\027config_conn" + - "ector_config\030\n \001(\0132/.google.container.v1" + - "beta1.ConfigConnectorConfig\022i\n%gce_persi" + - "stent_disk_csi_driver_config\030\013 \001(\0132:.goo" + - "gle.container.v1beta1.GcePersistentDiskC" + - "siDriverConfig\022=\n\013kalm_config\030\014 \001(\0132$.go" + - "ogle.container.v1beta1.KalmConfigB\002\030\001\022^\n" + - "\037gcp_filestore_csi_driver_config\030\016 \001(\01325" + - ".google.container.v1beta1.GcpFilestoreCs" + - "iDriverConfig\022O\n\027gke_backup_agent_config" + - "\030\020 \001(\0132..google.container.v1beta1.GkeBac" + - "kupAgentConfig\"%\n\021HttpLoadBalancing\022\020\n\010d" + - "isabled\030\001 \001(\010\",\n\030HorizontalPodAutoscalin" + - "g\022\020\n\010disabled\030\001 \001(\010\"\'\n\023KubernetesDashboa" + - "rd\022\020\n\010disabled\030\001 \001(\010\"\'\n\023NetworkPolicyCon" + - "fig\022\020\n\010disabled\030\001 \001(\010\"!\n\016DnsCacheConfig\022" + - "\017\n\007enabled\030\001 \001(\010\"!\n\nKalmConfig\022\023\n\007enable" + - "d\030\001 \001(\010B\002\030\001\"\'\n\024GkeBackupAgentConfig\022\017\n\007e" + - "nabled\030\001 \001(\010\"(\n\025ConfigConnectorConfig\022\017\n" + - "\007enabled\030\001 \001(\010\"3\n GcePersistentDiskCsiDr" + - "iverConfig\022\017\n\007enabled\030\001 \001(\010\".\n\033GcpFilest" + - "oreCsiDriverConfig\022\017\n\007enabled\030\001 \001(\010\"9\n&P" + - "rivateClusterMasterGlobalAccessConfig\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_ci" + - "dr_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_nam" + - "e\030\007 \001(\t\022e\n\033master_global_access_config\030\010" + - " \001(\0132@.google.container.v1beta1.PrivateC" + - "lusterMasterGlobalAccessConfig\022#\n\033privat" + - "e_endpoint_subnetwork\030\n \001(\t\"\237\001\n\013IstioCon" + - "fig\022\024\n\010disabled\030\001 \001(\010B\002\030\001\022E\n\004auth\030\002 \001(\0162" + - "3.google.container.v1beta1.IstioConfig.I" + - "stioAuthModeB\002\030\001\"3\n\rIstioAuthMode\022\r\n\tAUT" + - "H_NONE\020\000\022\023\n\017AUTH_MUTUAL_TLS\020\001\"\363\001\n\016CloudR" + - "unConfig\022\020\n\010disabled\030\001 \001(\010\022U\n\022load_balan" + - "cer_type\030\003 \001(\01629.google.container.v1beta" + - "1.CloudRunConfig.LoadBalancerType\"x\n\020Loa" + - "dBalancerType\022\"\n\036LOAD_BALANCER_TYPE_UNSP" + - "ECIFIED\020\000\022\037\n\033LOAD_BALANCER_TYPE_EXTERNAL" + - "\020\001\022\037\n\033LOAD_BALANCER_TYPE_INTERNAL\020\002\"\223\002\n\036" + - "MasterAuthorizedNetworksConfig\022\017\n\007enable" + - "d\030\001 \001(\010\022W\n\013cidr_blocks\030\002 \003(\0132B.google.co" + - "ntainer.v1beta1.MasterAuthorizedNetworks" + - "Config.CidrBlock\022,\n\037gcp_public_cidrs_acc" + - "ess_enabled\030\003 \001(\010H\000\210\001\001\0325\n\tCidrBlock\022\024\n\014d" + - "isplay_name\030\001 \001(\t\022\022\n\ncidr_block\030\002 \001(\tB\"\n" + - " _gcp_public_cidrs_access_enabled\"\035\n\nLeg" + - "acyAbac\022\017\n\007enabled\030\001 \001(\010\"\226\001\n\rNetworkPoli" + - "cy\022B\n\010provider\030\001 \001(\01620.google.container." + - "v1beta1.NetworkPolicy.Provider\022\017\n\007enable" + - "d\030\002 \001(\010\"0\n\010Provider\022\030\n\024PROVIDER_UNSPECIF" + - "IED\020\000\022\n\n\006CALICO\020\001\"\270\006\n\022IPAllocationPolicy" + - "\022\026\n\016use_ip_aliases\030\001 \001(\010\022\031\n\021create_subne" + - "twork\030\002 \001(\010\022\027\n\017subnetwork_name\030\003 \001(\t\022\035\n\021" + - "cluster_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_cidr\030\006 " + - "\001(\tB\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" + - "\024node_ipv4_cidr_block\030\n \001(\t\022 \n\030services_" + - "ipv4_cidr_block\030\013 \001(\t\022\033\n\023allow_route_ove" + - "rlap\030\014 \001(\010\022\033\n\023tpu_ipv4_cidr_block\030\r \001(\t\022" + - "\022\n\nuse_routes\030\017 \001(\010\022J\n\nstack_type\030\020 \001(\0162" + - "6.google.container.v1beta1.IPAllocationP" + - "olicy.StackType\022U\n\020ipv6_access_type\030\021 \001(" + - "\0162;.google.container.v1beta1.IPAllocatio" + - "nPolicy.IPv6AccessType\022#\n\026subnet_ipv6_ci" + - "dr_block\030\026 \001(\tB\003\340A\003\022%\n\030services_ipv6_cid" + - "r_block\030\027 \001(\tB\003\340A\003\"@\n\tStackType\022\032\n\026STACK" + - "_TYPE_UNSPECIFIED\020\000\022\010\n\004IPV4\020\001\022\r\n\tIPV4_IP" + - "V6\020\002\"N\n\016IPv6AccessType\022 \n\034IPV6_ACCESS_TY" + - "PE_UNSPECIFIED\020\000\022\014\n\010INTERNAL\020\001\022\014\n\010EXTERN" + - "AL\020\002\"\350\001\n\023BinaryAuthorization\022\023\n\007enabled\030" + - "\001 \001(\010B\002\030\001\022U\n\017evaluation_mode\030\002 \001(\0162<.goo" + - "gle.container.v1beta1.BinaryAuthorizatio" + - "n.EvaluationMode\"e\n\016EvaluationMode\022\037\n\033EV" + - "ALUATION_MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020" + - "\001\022$\n PROJECT_SINGLETON_POLICY_ENFORCE\020\002\"" + - "*\n\027PodSecurityPolicyConfig\022\017\n\007enabled\030\001 " + - "\001(\010\"D\n\031AuthenticatorGroupsConfig\022\017\n\007enab" + - "led\030\001 \001(\010\022\026\n\016security_group\030\002 \001(\t\"\226\001\n\020Cl" + - "usterTelemetry\022=\n\004type\030\001 \001(\0162/.google.co" + - "ntainer.v1beta1.ClusterTelemetry.Type\"C\n" + - "\004Type\022\017\n\013UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\013\n\007" + - "ENABLED\020\002\022\017\n\013SYSTEM_ONLY\020\003\"\360\036\n\007Cluster\022\014" + - "\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\036\n\022ini" + - "tial_node_count\030\003 \001(\005B\002\030\001\022=\n\013node_config" + - "\030\004 \001(\0132$.google.container.v1beta1.NodeCo" + - "nfigB\002\030\001\0229\n\013master_auth\030\005 \001(\0132$.google.c" + - "ontainer.v1beta1.MasterAuth\022\027\n\017logging_s" + - "ervice\030\006 \001(\t\022\032\n\022monitoring_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_config\030\n \001(\0132&.google.con" + - "tainer.v1beta1.AddonsConfig\022\022\n\nsubnetwor" + - "k\030\013 \001(\t\0226\n\nnode_pools\030\014 \003(\0132\".google.con" + - "tainer.v1beta1.NodePool\022\021\n\tlocations\030\r \003" + - "(\t\022\037\n\027enable_kubernetes_alpha\030\016 \001(\010\022N\n\017r" + - "esource_labels\030\017 \003(\01325.google.container." + - "v1beta1.Cluster.ResourceLabelsEntry\022\031\n\021l" + - "abel_fingerprint\030\020 \001(\t\0229\n\013legacy_abac\030\022 " + - "\001(\0132$.google.container.v1beta1.LegacyAba" + - "c\022?\n\016network_policy\030\023 \001(\0132\'.google.conta" + - "iner.v1beta1.NetworkPolicy\022J\n\024ip_allocat" + - "ion_policy\030\024 \001(\0132,.google.container.v1be" + - "ta1.IPAllocationPolicy\022c\n!master_authori" + - "zed_networks_config\030\026 \001(\01328.google.conta" + - "iner.v1beta1.MasterAuthorizedNetworksCon" + - "fig\022G\n\022maintenance_policy\030\027 \001(\0132+.google" + - ".container.v1beta1.MaintenancePolicy\022K\n\024" + - "binary_authorization\030\030 \001(\0132-.google.cont" + - "ainer.v1beta1.BinaryAuthorization\022U\n\032pod" + - "_security_policy_config\030\031 \001(\01321.google.c" + - "ontainer.v1beta1.PodSecurityPolicyConfig" + - "\022A\n\013autoscaling\030\032 \001(\0132,.google.container" + - ".v1beta1.ClusterAutoscaling\022?\n\016network_c" + - "onfig\030\033 \001(\0132\'.google.container.v1beta1.N" + - "etworkConfig\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(\0132+.goo" + - "gle.container.v1beta1.MaxPodsConstraint\022" + - "Y\n\034resource_usage_export_config\030! \001(\01323." + - "google.container.v1beta1.ResourceUsageEx" + - "portConfig\022X\n\033authenticator_groups_confi" + - "g\030\" \001(\01323.google.container.v1beta1.Authe" + - "nticatorGroupsConfig\022N\n\026private_cluster_" + - "config\030% \001(\0132..google.container.v1beta1." + - "PrivateClusterConfig\022R\n\030vertical_pod_aut" + - "oscaling\030\' \001(\01320.google.container.v1beta" + - "1.VerticalPodAutoscaling\022?\n\016shielded_nod" + - "es\030( \001(\0132\'.google.container.v1beta1.Shie" + - "ldedNodes\022A\n\017release_channel\030) \001(\0132(.goo" + - "gle.container.v1beta1.ReleaseChannel\022R\n\030" + - "workload_identity_config\030+ \001(\01320.google." + - "container.v1beta1.WorkloadIdentityConfig" + - "\022M\n\025workload_certificates\0304 \001(\0132..google" + - ".container.v1beta1.WorkloadCertificates\022" + - "E\n\021mesh_certificates\030C \001(\0132*.google.cont" + - "ainer.v1beta1.MeshCertificates\022J\n\024worklo" + - "ad_alts_config\0305 \001(\0132,.google.container." + - "v1beta1.WorkloadALTSConfig\022N\n\026cost_manag" + - "ement_config\030- \001(\0132..google.container.v1" + - "beta1.CostManagementConfig\022E\n\021cluster_te" + - "lemetry\030. \001(\0132*.google.container.v1beta1" + - ".ClusterTelemetry\0227\n\ntpu_config\030/ \001(\0132#." + - "google.container.v1beta1.TpuConfig\022I\n\023no" + - "tification_config\0301 \001(\0132,.google.contain" + - "er.v1beta1.NotificationConfig\022G\n\022confide" + - "ntial_nodes\0302 \001(\0132+.google.container.v1b" + - "eta1.ConfidentialNodes\022P\n\027identity_servi" + - "ce_config\0306 \001(\0132/.google.container.v1bet" + - "a1.IdentityServiceConfig\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_version\030g \001(\t\022\036\n\026curr" + - "ent_master_version\030h \001(\t\022 \n\024current_node" + - "_version\030i \001(\tB\002\030\001\022\023\n\013create_time\030j \001(\t\022" + - "8\n\006status\030k \001(\0162(.google.container.v1bet" + - "a1.Cluster.Status\022\032\n\016status_message\030l \001(" + - "\tB\002\030\001\022\033\n\023node_ipv4_cidr_size\030m \001(\005\022\032\n\022se" + - "rvices_ipv4_cidr\030n \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_c" + - "idr_block\030t \001(\t\022I\n\023database_encryption\030&" + - " \001(\0132,.google.container.v1beta1.Database" + - "Encryption\022=\n\nconditions\030v \003(\0132).google." + - "container.v1beta1.StatusCondition\0220\n\006mas" + - "ter\030| \001(\0132 .google.container.v1beta1.Mas" + - "ter\0227\n\tautopilot\030\200\001 \001(\0132#.google.contain" + - "er.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.con" + - "tainer.v1beta1.NodePoolDefaultsH\000\210\001\001\022@\n\016" + - "logging_config\030\204\001 \001(\0132\'.google.container" + - ".v1beta1.LoggingConfig\022F\n\021monitoring_con" + - "fig\030\205\001 \001(\0132*.google.container.v1beta1.Mo" + - "nitoringConfig\022L\n\025node_pool_auto_config\030" + - "\210\001 \001(\0132,.google.container.v1beta1.NodePo" + - "olAutoConfig\022E\n\016protect_config\030\211\001 \001(\0132\'." + - "google.container.v1beta1.ProtectConfigH\001" + - "\210\001\001\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_U" + - "NSPECIFIED\020\000\022\020\n\014PROVISIONING\020\001\022\013\n\007RUNNIN" + - "G\020\002\022\017\n\013RECONCILING\020\003\022\014\n\010STOPPING\020\004\022\t\n\005ER" + - "ROR\020\005\022\014\n\010DEGRADED\020\006B\025\n\023_node_pool_defaul" + - "tsB\021\n\017_protect_config\"\304\001\n\016WorkloadConfig" + - "\022F\n\naudit_mode\030\001 \001(\0162-.google.container." + - "v1beta1.WorkloadConfig.ModeH\000\210\001\001\"[\n\004Mode" + - "\022\024\n\020MODE_UNSPECIFIED\020\000\022\014\n\010DISABLED\020\001\022\t\n\005" + - "BASIC\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.contain" + - "er.v1beta1.WorkloadConfigH\000\210\001\001\022k\n\033worklo" + - "ad_vulnerability_mode\030\002 \001(\0162A.google.con" + - "tainer.v1beta1.ProtectConfig.WorkloadVul" + - "nerabilityModeH\001\210\001\001\"a\n\031WorkloadVulnerabi" + - "lityMode\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_vulnerab" + - "ility_mode\"^\n\020NodePoolDefaults\022J\n\024node_c" + - "onfig_defaults\030\001 \001(\0132,.google.container." + - "v1beta1.NodeConfigDefaults\"\230\001\n\022NodeConfi" + - "gDefaults\0229\n\013gcfs_config\030\001 \001(\0132$.google." + - "container.v1beta1.GcfsConfig\022G\n\016logging_" + - "config\030\003 \001(\0132/.google.container.v1beta1." + - "NodePoolLoggingConfig\"Q\n\022NodePoolAutoCon" + - "fig\022;\n\014network_tags\030\001 \001(\0132%.google.conta" + - "iner.v1beta1.NetworkTags\"\366\032\n\rClusterUpda" + - "te\022\034\n\024desired_node_version\030\004 \001(\t\022\"\n\032desi" + - "red_monitoring_service\030\005 \001(\t\022E\n\025desired_" + - "addons_config\030\006 \001(\0132&.google.container.v" + - "1beta1.AddonsConfig\022\034\n\024desired_node_pool" + - "_id\030\007 \001(\t\022\032\n\022desired_image_type\030\010 \001(\t\022T\n" + - "\035desired_node_pool_autoscaling\030\t \001(\0132-.g" + - "oogle.container.v1beta1.NodePoolAutoscal" + - "ing\022\031\n\021desired_locations\030\n \003(\t\022k\n)desire" + - "d_master_authorized_networks_config\030\014 \001(" + - "\01328.google.container.v1beta1.MasterAutho" + - "rizedNetworksConfig\022]\n\"desired_pod_secur" + - "ity_policy_config\030\016 \001(\01321.google.contain" + - "er.v1beta1.PodSecurityPolicyConfig\022Q\n\033de" + - "sired_cluster_autoscaling\030\017 \001(\0132,.google" + - ".container.v1beta1.ClusterAutoscaling\022S\n" + - "\034desired_binary_authorization\030\020 \001(\0132-.go" + - "ogle.container.v1beta1.BinaryAuthorizati" + - "on\022\037\n\027desired_logging_service\030\023 \001(\t\022a\n$d" + - "esired_resource_usage_export_config\030\025 \001(" + - "\01323.google.container.v1beta1.ResourceUsa" + - "geExportConfig\022Z\n desired_vertical_pod_a" + - "utoscaling\030\026 \001(\01320.google.container.v1be" + - "ta1.VerticalPodAutoscaling\022V\n\036desired_pr" + - "ivate_cluster_config\030\031 \001(\0132..google.cont" + - "ainer.v1beta1.PrivateClusterConfig\022a\n$de" + - "sired_intra_node_visibility_config\030\032 \001(\013" + - "23.google.container.v1beta1.IntraNodeVis" + - "ibilityConfig\022P\n\033desired_default_snat_st" + - "atus\030\034 \001(\0132+.google.container.v1beta1.De" + - "faultSnatStatus\022M\n\031desired_cluster_telem" + - "etry\030\036 \001(\0132*.google.container.v1beta1.Cl" + - "usterTelemetry\022I\n\027desired_release_channe" + - "l\030\037 \001(\0132(.google.container.v1beta1.Relea" + - "seChannel\022?\n\022desired_tpu_config\030& \001(\0132#." + - "google.container.v1beta1.TpuConfig\022V\n\037de" + - "sired_l4ilb_subsetting_config\030\' \001(\0132-.go" + - "ogle.container.v1beta1.ILBSubsettingConf" + - "ig\022M\n\031desired_datapath_provider\0302 \001(\0162*." + - "google.container.v1beta1.DatapathProvide" + - "r\022]\n\"desired_private_ipv6_google_access\030" + - "3 \001(\01621.google.container.v1beta1.Private" + - "IPv6GoogleAccess\022Q\n\033desired_notification" + - "_config\0307 \001(\0132,.google.container.v1beta1" + - ".NotificationConfig\022\036\n\026desired_master_ve" + - "rsion\030d \001(\t\022A\n\023desired_gcfs_config\030m \001(\013" + - "2$.google.container.v1beta1.GcfsConfig\022Q" + - "\n\033desired_database_encryption\030. \001(\0132,.go" + - "ogle.container.v1beta1.DatabaseEncryptio" + - "n\022Z\n desired_workload_identity_config\030/ " + - "\001(\01320.google.container.v1beta1.WorkloadI" + - "dentityConfig\022U\n\035desired_workload_certif" + - "icates\030= \001(\0132..google.container.v1beta1." + - "WorkloadCertificates\022M\n\031desired_mesh_cer" + - "tificates\030C \001(\0132*.google.container.v1bet" + - "a1.MeshCertificates\022R\n\034desired_workload_" + - "alts_config\030> \001(\0132,.google.container.v1b" + - "eta1.WorkloadALTSConfig\022G\n\026desired_shiel" + - "ded_nodes\0300 \001(\0132\'.google.container.v1bet" + - "a1.ShieldedNodes\022V\n\036desired_cost_managem" + - "ent_config\0301 \001(\0132..google.container.v1be" + - "ta1.CostManagementConfig\0228\n\016desired_mast", - "er\0304 \001(\0132 .google.container.v1beta1.Mast" + - "er\022?\n\022desired_dns_config\0305 \001(\0132#.google." + - "container.v1beta1.DNSConfig\022_\n#desired_s" + - "ervice_external_ips_config\030< \001(\01322.googl" + - "e.container.v1beta1.ServiceExternalIPsCo" + - "nfig\022`\n#desired_authenticator_groups_con" + - "fig\030? \001(\01323.google.container.v1beta1.Aut" + - "henticatorGroupsConfig\022G\n\026desired_loggin" + - "g_config\030@ \001(\0132\'.google.container.v1beta" + - "1.LoggingConfig\022M\n\031desired_monitoring_co" + - "nfig\030A \001(\0132*.google.container.v1beta1.Mo" + - "nitoringConfig\022X\n\037desired_identity_servi" + - "ce_config\030B \001(\0132/.google.container.v1bet" + - "a1.IdentityServiceConfig\022,\n\037desired_enab" + - "le_private_endpoint\030G \001(\010H\000\210\001\001\022Y\n*desire" + - "d_node_pool_auto_config_network_tags\030n \001" + - "(\0132%.google.container.v1beta1.NetworkTag" + - "s\022L\n\026desired_protect_config\030p \001(\0132\'.goog" + - "le.container.v1beta1.ProtectConfigH\001\210\001\001\022" + - "N\n\032desired_gateway_api_config\030r \001(\0132*.go" + - "ogle.container.v1beta1.GatewayAPIConfig\022" + - "Y\n desired_node_pool_logging_config\030t \001(" + - "\0132/.google.container.v1beta1.NodePoolLog" + - "gingConfigB\"\n _desired_enable_private_en" + - "dpointB\031\n\027_desired_protect_config\"\212\010\n\tOp" + - "eration\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.contain" + - "er.v1beta1.Operation.Type\022:\n\006status\030\004 \001(" + - "\0162*.google.container.v1beta1.Operation.S" + - "tatus\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\013targe" + - "t_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+.google.container.v1beta1.Operat" + - "ionProgressB\003\340A\003\022I\n\022cluster_conditions\030\r" + - " \003(\0132).google.container.v1beta1.StatusCo" + - "nditionB\002\030\001\022J\n\023nodepool_conditions\030\016 \003(\013" + - "2).google.container.v1beta1.StatusCondit" + - "ionB\002\030\001\022!\n\005error\030\017 \001(\0132\022.google.rpc.Stat" + - "us\"R\n\006Status\022\026\n\022STATUS_UNSPECIFIED\020\000\022\013\n\007" + - "PENDING\020\001\022\013\n\007RUNNING\020\002\022\010\n\004DONE\020\003\022\014\n\010ABOR" + - "TING\020\004\"\375\002\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" + - "\016UPGRADE_MASTER\020\003\022\021\n\rUPGRADE_NODES\020\004\022\022\n\016" + - "REPAIR_CLUSTER\020\005\022\022\n\016UPDATE_CLUSTER\020\006\022\024\n\020" + - "CREATE_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_R" + - "EPAIR_NODES\020\n\022\026\n\022AUTO_UPGRADE_NODES\020\013\022\016\n" + - "\nSET_LABELS\020\014\022\023\n\017SET_MASTER_AUTH\020\r\022\026\n\022SE" + - "T_NODE_POOL_SIZE\020\016\022\026\n\022SET_NETWORK_POLICY" + - "\020\017\022\032\n\026SET_MAINTENANCE_POLICY\020\020\"\312\002\n\021Opera" + - "tionProgress\022\014\n\004name\030\001 \001(\t\022:\n\006status\030\002 \001" + - "(\0162*.google.container.v1beta1.Operation." + - "Status\022C\n\007metrics\030\003 \003(\01322.google.contain" + - "er.v1beta1.OperationProgress.Metric\022;\n\006s" + - "tages\030\004 \003(\0132+.google.container.v1beta1.O" + - "perationProgress\032i\n\006Metric\022\021\n\004name\030\001 \001(\t" + - "B\003\340A\002\022\023\n\tint_value\030\002 \001(\003H\000\022\026\n\014double_val" + - "ue\030\003 \001(\001H\000\022\026\n\014string_value\030\004 \001(\tH\000B\007\n\005va" + - "lue\"\217\001\n\024CreateClusterRequest\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\007" + - "cluster\030\003 \001(\0132!.google.container.v1beta1" + - ".ClusterB\003\340A\002\022\016\n\006parent\030\005 \001(\t\"l\n\021GetClus" + - "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\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\024UpdateClusterReq" + - "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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" + - "<\n\006update\030\004 \001(\0132\'.google.container.v1bet" + - "a1.ClusterUpdateB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\354\010\n\025" + - "UpdateNodePoolRequest\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_version\030\005 \001(\tB\003\340A\002\022\027\n\nimag" + - "e_type\030\006 \001(\tB\003\340A\002\022\021\n\tlocations\030\r \003(\t\022R\n\030" + - "workload_metadata_config\030\016 \001(\01320.google." + - "container.v1beta1.WorkloadMetadataConfig" + - "\022\014\n\004name\030\010 \001(\t\022L\n\020upgrade_settings\030\017 \001(\013" + - "22.google.container.v1beta1.NodePool.Upg" + - "radeSettings\0223\n\004tags\030\020 \001(\0132%.google.cont" + - "ainer.v1beta1.NetworkTags\0224\n\006taints\030\021 \001(" + - "\0132$.google.container.v1beta1.NodeTaints\022" + - "4\n\006labels\030\022 \001(\0132$.google.container.v1bet" + - "a1.NodeLabels\022D\n\021linux_node_config\030\023 \001(\013" + - "2).google.container.v1beta1.LinuxNodeCon" + - "fig\022C\n\016kubelet_config\030\024 \001(\0132+.google.con" + - "tainer.v1beta1.NodeKubeletConfig\022H\n\023node" + - "_network_config\030\025 \001(\0132+.google.container" + - ".v1beta1.NodeNetworkConfig\0229\n\013gcfs_confi" + - "g\030\026 \001(\0132$.google.container.v1beta1.GcfsC" + - "onfig\022G\n\022confidential_nodes\030\027 \001(\0132+.goog" + - "le.container.v1beta1.ConfidentialNodes\0223" + - "\n\005gvnic\030\035 \001(\0132$.google.container.v1beta1" + - ".VirtualNIC\0229\n\013fast_socket\030\037 \001(\0132$.googl" + - "e.container.v1beta1.FastSocket\022G\n\016loggin" + - "g_config\030 \001(\0132/.google.container.v1beta" + - "1.NodePoolLoggingConfig\022A\n\017resource_labe" + - "ls\030! \001(\0132(.google.container.v1beta1.Reso" + - "urceLabels\"\336\001\n\035SetNodePoolAutoscalingReq" + - "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\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\022G\n\013autoscal" + - "ing\030\005 \001(\0132-.google.container.v1beta1.Nod" + - "ePoolAutoscalingB\003\340A\002\022\014\n\004name\030\006 \001(\t\"\221\001\n\030" + - "SetLoggingServiceRequest\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\034\n\017logging_service\030\004" + - " \001(\tB\003\340A\002\022\014\n\004name\030\005 \001(\t\"\227\001\n\033SetMonitorin" + - "gServiceRequest\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\037\n\022monitoring_service\030\004 \001(\tB\003" + - "\340A\002\022\014\n\004name\030\006 \001(\t\"\265\001\n\026SetAddonsConfigReq" + - "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\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022" + - "B\n\raddons_config\030\004 \001(\0132&.google.containe" + - "r.v1beta1.AddonsConfigB\003\340A\002\022\014\n\004name\030\006 \001(" + - "\t\"\206\001\n\023SetLocationsRequest\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\026\n\tlocations\030\004 \003(\tB" + - "\003\340A\002\022\014\n\004name\030\006 \001(\t\"\213\001\n\023UpdateMasterReque" + - "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\031\n\ncluster_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\024SetMasterAuthRequest\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\022J\n\006action\030\004 \001(\01625.g" + - "oogle.container.v1beta1.SetMasterAuthReq" + - "uest.ActionB\003\340A\002\0229\n\006update\030\005 \001(\0132$.googl" + - "e.container.v1beta1.MasterAuthB\003\340A\002\022\014\n\004n" + - "ame\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\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\014\n\004name\030\004" + - " \001(\t\"U\n\023ListClustersRequest\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\016\n\006p" + - "arent\030\004 \001(\t\"b\n\024ListClustersResponse\0223\n\010c" + - "lusters\030\001 \003(\0132!.google.container.v1beta1" + - ".Cluster\022\025\n\rmissing_zones\030\002 \003(\t\"p\n\023GetOp" + - "erationRequest\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\025ListOperati" + - "onsRequest\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\026Ca" + - "ncelOperationRequest\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\033\n\014operatio" + - "n_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\004 \001(\t\"h\n\026ListO" + - "perationsResponse\0227\n\noperations\030\001 \003(\0132#." + - "google.container.v1beta1.Operation\022\025\n\rmi" + - "ssing_zones\030\002 \003(\t\"V\n\026GetServerConfigRequ" + - "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\014\n\004name\030\004 \001(\t\"\351\005\n\014ServerConf" + - "ig\022\037\n\027default_cluster_version\030\001 \001(\t\022\033\n\023v" + - "alid_node_versions\030\003 \003(\t\022\032\n\022default_imag" + - "e_type\030\004 \001(\t\022\031\n\021valid_image_types\030\005 \003(\t\022" + - "\035\n\025valid_master_versions\030\006 \003(\t\022M\n\010channe" + - "ls\030\t \003(\0132;.google.container.v1beta1.Serv" + - "erConfig.ReleaseChannelConfig\022\\\n\024windows" + - "_version_maps\030\n \003(\0132>.google.container.v" + - "1beta1.ServerConfig.WindowsVersionMapsEn" + - "try\032\261\002\n\024ReleaseChannelConfig\022A\n\007channel\030" + - "\001 \001(\01620.google.container.v1beta1.Release" + - "Channel.Channel\022\027\n\017default_version\030\002 \001(\t" + - "\022l\n\022available_versions\030\003 \003(\0132L.google.co" + - "ntainer.v1beta1.ServerConfig.ReleaseChan" + - "nelConfig.AvailableVersionB\002\030\001\022\026\n\016valid_" + - "versions\030\004 \003(\t\0327\n\020AvailableVersion\022\017\n\007ve" + - "rsion\030\001 \001(\t\022\016\n\006reason\030\002 \001(\t:\002\030\001\032d\n\027Windo" + - "wsVersionMapsEntry\022\013\n\003key\030\001 \001(\t\0228\n\005value" + - "\030\002 \001(\0132).google.container.v1beta1.Window" + - "sVersions:\0028\001\"\314\001\n\017WindowsVersions\022R\n\020win" + - "dows_versions\030\001 \003(\01328.google.container.v" + - "1beta1.WindowsVersions.WindowsVersion\032e\n" + - "\016WindowsVersion\022\022\n\nimage_type\030\001 \001(\t\022\022\n\no" + - "s_version\030\002 \001(\t\022+\n\020support_end_date\030\003 \001(" + - "\0132\021.google.type.Date\"\256\001\n\025CreateNodePoolR" + - "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:\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\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\nclust" + - "er_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014node_pool_id\030\004 \001(\t" + - "B\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"q\n\024ListNodePoolsRe" + - "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\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(\t" + - "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\033\n\014no" + - "de_pool_id\030\004 \001(\tB\005\030\001\340A\002\022\014\n\004name\030\006 \001(\t\"\244\003" + - "\n\021BlueGreenSettings\022d\n\027standard_rollout_" + - "policy\030\001 \001(\0132A.google.container.v1beta1." + - "BlueGreenSettings.StandardRolloutPolicyH" + - "\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_durationB\020\n\016rollout_policyB\032\n\030_nod" + - "e_pool_soak_duration\"\202\017\n\010NodePool\022\014\n\004nam" + - "e\030\001 \001(\t\0224\n\006config\030\002 \001(\0132$.google.contain" + - "er.v1beta1.NodeConfig\022\032\n\022initial_node_co" + - "unt\030\003 \001(\005\022\021\n\tlocations\030\r \003(\t\022C\n\016network_" + - "config\030\016 \001(\0132+.google.container.v1beta1." + - "NodeNetworkConfig\022\021\n\tself_link\030d \001(\t\022\017\n\007" + - "version\030e \001(\t\022\033\n\023instance_group_urls\030f \003" + - "(\t\0229\n\006status\030g \001(\0162).google.container.v1" + - "beta1.NodePool.Status\022\032\n\016status_message\030" + - "h \001(\tB\002\030\001\022B\n\013autoscaling\030\004 \001(\0132-.google." + - "container.v1beta1.NodePoolAutoscaling\022<\n" + - "\nmanagement\030\005 \001(\0132(.google.container.v1b" + - "eta1.NodeManagement\022H\n\023max_pods_constrai" + - "nt\030\006 \001(\0132+.google.container.v1beta1.MaxP" + - "odsConstraint\022=\n\nconditions\030i \003(\0132).goog" + - "le.container.v1beta1.StatusCondition\022\032\n\022" + - "pod_ipv4_cidr_size\030\007 \001(\005\022L\n\020upgrade_sett" + - "ings\030k \001(\01322.google.container.v1beta1.No" + - "dePool.UpgradeSettings\022L\n\020placement_poli" + - "cy\030l \001(\01322.google.container.v1beta1.Node" + - "Pool.PlacementPolicy\022G\n\013update_info\030m \001(" + - "\0132-.google.container.v1beta1.NodePool.Up" + - "dateInfoB\003\340A\003\032\372\001\n\017UpgradeSettings\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.container.v1bet" + - "a1.NodePoolUpdateStrategyH\000\210\001\001\022M\n\023blue_g" + - "reen_settings\030\004 \001(\0132+.google.container.v" + - "1beta1.BlueGreenSettingsH\001\210\001\001B\013\n\t_strate" + - "gyB\026\n\024_blue_green_settings\032\222\004\n\nUpdateInf" + - "o\022T\n\017blue_green_info\030\001 \001(\0132;.google.cont" + - "ainer.v1beta1.NodePool.UpdateInfo.BlueGr" + - "eenInfo\032\255\003\n\rBlueGreenInfo\022P\n\005phase\030\001 \001(\016" + - "2A.google.container.v1beta1.NodePool.Upd" + - "ateInfo.BlueGreenInfo.Phase\022 \n\030blue_inst" + - "ance_group_urls\030\002 \003(\t\022!\n\031green_instance_" + - "group_urls\030\003 \003(\t\022%\n\035blue_pool_deletion_s" + - "tart_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\016" + - "UPDATE_STARTED\020\001\022\027\n\023CREATING_GREEN_POOL\020" + - "\002\022\027\n\023CORDONING_BLUE_POOL\020\003\022\026\n\022DRAINING_B" + - "LUE_POOL\020\004\022\025\n\021NODE_POOL_SOAKING\020\005\022\026\n\022DEL" + - "ETING_BLUE_POOL\020\006\022\024\n\020ROLLBACK_STARTED\020\007\032" + - "\203\001\n\017PlacementPolicy\022E\n\004type\030\001 \001(\01627.goog" + - "le.container.v1beta1.NodePool.PlacementP" + - "olicy.Type\")\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000" + - "\022\013\n\007COMPACT\020\001\"\201\001\n\006Status\022\026\n\022STATUS_UNSPE" + - "CIFIED\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\"\202\001\n\016NodeManage" + - "ment\022\024\n\014auto_upgrade\030\001 \001(\010\022\023\n\013auto_repai" + - "r\030\002 \001(\010\022E\n\017upgrade_options\030\n \001(\0132,.googl" + - "e.container.v1beta1.AutoUpgradeOptions\"J" + - "\n\022AutoUpgradeOptions\022\037\n\027auto_upgrade_sta" + - "rt_time\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\"j\n\021Ma" + - "intenancePolicy\022;\n\006window\030\001 \001(\0132+.google" + - ".container.v1beta1.MaintenanceWindow\022\030\n\020" + - "resource_version\030\003 \001(\t\"\212\003\n\021MaintenanceWi" + - "ndow\022T\n\030daily_maintenance_window\030\002 \001(\01320" + - ".google.container.v1beta1.DailyMaintenan" + - "ceWindowH\000\022I\n\020recurring_window\030\003 \001(\0132-.g" + - "oogle.container.v1beta1.RecurringTimeWin" + - "dowH\000\022f\n\026maintenance_exclusions\030\004 \003(\0132F." + - "google.container.v1beta1.MaintenanceWind" + - "ow.MaintenanceExclusionsEntry\032b\n\032Mainten" + - "anceExclusionsEntry\022\013\n\003key\030\001 \001(\t\0223\n\005valu" + - "e\030\002 \001(\0132$.google.container.v1beta1.TimeW" + - "indow:\0028\001B\010\n\006policy\"\325\001\n\nTimeWindow\022^\n\035ma" + - "intenance_exclusion_options\030\003 \001(\01325.goog" + - "le.container.v1beta1.MaintenanceExclusio" + - "nOptionsH\000\022.\n\nstart_time\030\001 \001(\0132\032.google." + - "protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.g" + - "oogle.protobuf.TimestampB\t\n\007options\"\271\001\n\033" + - "MaintenanceExclusionOptions\022J\n\005scope\030\001 \001" + - "(\0162;.google.container.v1beta1.Maintenanc" + - "eExclusionOptions.Scope\"N\n\005Scope\022\017\n\013NO_U" + - "PGRADES\020\000\022\025\n\021NO_MINOR_UPGRADES\020\001\022\035\n\031NO_M" + - "INOR_OR_NODE_UPGRADES\020\002\"_\n\023RecurringTime" + - "Window\0224\n\006window\030\001 \001(\0132$.google.containe" + - "r.v1beta1.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\"\327\001\n\034SetNodePool" + - "ManagementRequest\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\022A\n\nmanagement\030\005 \001(\0132(.google.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\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\036CompleteNodePoolUpgradeR" + - "equest\022\014\n\004name\030\001 \001(\t\"\253\001\n\036RollbackNodePoo" + - "lUpgradeRequest\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\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\025Li" + - "stNodePoolsResponse\0226\n\nnode_pools\030\001 \003(\0132" + - "\".google.container.v1beta1.NodePool\"\276\003\n\022" + - "ClusterAutoscaling\022$\n\034enable_node_autopr" + - "ovisioning\030\001 \001(\010\022@\n\017resource_limits\030\002 \003(" + - "\0132\'.google.container.v1beta1.ResourceLim" + - "it\022\\\n\023autoscaling_profile\030\003 \001(\0162?.google" + - ".container.v1beta1.ClusterAutoscaling.Au" + - "toscalingProfile\022g\n#autoprovisioning_nod" + - "e_pool_defaults\030\004 \001(\0132:.google.container" + - ".v1beta1.AutoprovisioningNodePoolDefault" + - "s\022\"\n\032autoprovisioning_locations\030\005 \003(\t\"U\n" + - "\022AutoscalingProfile\022\027\n\023PROFILE_UNSPECIFI" + - "ED\020\000\022\030\n\024OPTIMIZE_UTILIZATION\020\001\022\014\n\010BALANC" + - "ED\020\002\"\247\003\n AutoprovisioningNodePoolDefault" + - "s\022\024\n\014oauth_scopes\030\001 \003(\t\022\027\n\017service_accou" + - "nt\030\002 \001(\t\022L\n\020upgrade_settings\030\003 \001(\01322.goo" + - "gle.container.v1beta1.NodePool.UpgradeSe" + - "ttings\022<\n\nmanagement\030\004 \001(\0132(.google.cont" + - "ainer.v1beta1.NodeManagement\022\034\n\020min_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\022R\n\030shielded_instance" + - "_config\030\010 \001(\01320.google.container.v1beta1" + - ".ShieldedInstanceConfig\022\031\n\021boot_disk_kms" + - "_key\030\t \001(\t\022\022\n\nimage_type\030\n \001(\t\"H\n\rResour" + - "ceLimit\022\025\n\rresource_type\030\001 \001(\t\022\017\n\007minimu" + - "m\030\002 \001(\003\022\017\n\007maximum\030\003 \001(\003\"\314\002\n\023NodePoolAut" + - "oscaling\022\017\n\007enabled\030\001 \001(\010\022\026\n\016min_node_co" + - "unt\030\002 \001(\005\022\026\n\016max_node_count\030\003 \001(\005\022\027\n\017aut" + - "oprovisioned\030\004 \001(\010\022U\n\017location_policy\030\005 " + - "\001(\0162<.google.container.v1beta1.NodePoolA" + - "utoscaling.LocationPolicy\022\034\n\024total_min_n" + - "ode_count\030\006 \001(\005\022\034\n\024total_max_node_count\030" + - "\007 \001(\005\"H\n\016LocationPolicy\022\037\n\033LOCATION_POLI" + - "CY_UNSPECIFIED\020\000\022\014\n\010BALANCED\020\001\022\007\n\003ANY\020\002\"" + - "\240\002\n\020SetLabelsRequest\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\017resource_labels\030\004 \003(\013" + - "2>.google.container.v1beta1.SetLabelsReq" + - "uest.ResourceLabelsEntryB\003\340A\002\022\036\n\021label_f" + - "ingerprint\030\005 \001(\tB\003\340A\002\022\014\n\004name\030\007 \001(\t\0325\n\023R" + - "esourceLabelsEntry\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\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\024\n\007enable" + - "d\030\004 \001(\010B\003\340A\002\022\014\n\004name\030\006 \001(\t\"\215\001\n\026StartIPRo" + - "tationRequest\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\006 \001(\t\022\032\n\022rotate_credent" + - "ials\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(\t" + - "B\005\030\001\340A\002\022\031\n\ncluster_id\030\003 \001(\tB\005\030\001\340A\002\022\014\n\004na" + - "me\030\007 \001(\t\"\365\001\n\021AcceleratorConfig\022\031\n\021accele" + - "rator_count\030\001 \001(\003\022\030\n\020accelerator_type\030\002 " + - "\001(\t\022\032\n\022gpu_partition_size\030\003 \001(\t\022+\n\037max_t" + - "ime_shared_clients_per_gpu\030\004 \001(\003B\002\030\001\022K\n\022" + - "gpu_sharing_config\030\005 \001(\0132*.google.contai" + - "ner.v1beta1.GPUSharingConfigH\000\210\001\001B\025\n\023_gp" + - "u_sharing_config\"\377\001\n\020GPUSharingConfig\022\"\n" + - "\032max_shared_clients_per_gpu\030\001 \001(\003\022`\n\024gpu" + - "_sharing_strategy\030\002 \001(\0162=.google.contain" + - "er.v1beta1.GPUSharingConfig.GPUSharingSt" + - "rategyH\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\"*\n\027Ma" + - "nagedPrometheusConfig\022\017\n\007enabled\030\001 \001(\010\"\313" + - "\002\n\026WorkloadMetadataConfig\022X\n\rnode_metada" + - "ta\030\001 \001(\0162=.google.container.v1beta1.Work" + - "loadMetadataConfig.NodeMetadataB\002\030\001\022C\n\004m" + - "ode\030\002 \001(\01625.google.container.v1beta1.Wor" + - "kloadMetadataConfig.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\020MO" + - "DE_UNSPECIFIED\020\000\022\020\n\014GCE_METADATA\020\001\022\020\n\014GK" + - "E_METADATA\020\002\"\270\001\n\027SetNetworkPolicyRequest" + - "\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\022D\n\016n" + - "etwork_policy\030\004 \001(\0132\'.google.container.v" + - "1beta1.NetworkPolicyB\003\340A\002\022\014\n\004name\030\006 \001(\t\"" + - "\276\001\n\033SetMaintenancePolicyRequest\022\027\n\nproje" + - "ct_id\030\001 \001(\tB\003\340A\002\022\021\n\004zone\030\002 \001(\tB\003\340A\002\022\027\n\nc" + - "luster_id\030\003 \001(\tB\003\340A\002\022L\n\022maintenance_poli" + - "cy\030\004 \001(\0132+.google.container.v1beta1.Main" + - "tenancePolicyB\003\340A\002\022\014\n\004name\030\005 \001(\t\"+\n\024List" + - "LocationsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\"g\n" + - "\025ListLocationsResponse\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\004t" + - "ype\030\001 \001(\0162/.google.container.v1beta1.Loc" + - "ation.LocationType\022\014\n\004name\030\002 \001(\t\022\023\n\013reco" + - "mmended\030\003 \001(\010\"C\n\014LocationType\022\035\n\031LOCATIO" + - "N_TYPE_UNSPECIFIED\020\000\022\010\n\004ZONE\020\001\022\n\n\006REGION" + - "\020\002\"\262\002\n\017StatusCondition\022@\n\004code\030\001 \001(\0162..g" + - "oogle.container.v1beta1.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\"\241\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\032\002\030\001\"\275\004\n\rNetw" + - "orkConfig\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\022H\n\023default_snat_status\030\007 \001(\0132+.goog" + - "le.container.v1beta1.DefaultSnatStatus\022\037" + - "\n\027enable_l4ilb_subsetting\030\n \001(\010\022E\n\021datap", - "ath_provider\030\013 \001(\0162*.google.container.v1" + - "beta1.DatapathProvider\022U\n\032private_ipv6_g" + - "oogle_access\030\014 \001(\01621.google.container.v1" + - "beta1.PrivateIPv6GoogleAccess\0227\n\ndns_con" + - "fig\030\r \001(\0132#.google.container.v1beta1.DNS" + - "Config\022W\n\033service_external_ips_config\030\017 " + - "\001(\01322.google.container.v1beta1.ServiceEx" + - "ternalIPsConfig\022F\n\022gateway_api_config\030\020 " + - "\001(\0132*.google.container.v1beta1.GatewayAP" + - "IConfig\"\301\001\n\020GatewayAPIConfig\022C\n\007channel\030" + - "\001 \001(\01622.google.container.v1beta1.Gateway" + - "APIConfig.Channel\"h\n\007Channel\022\027\n\023CHANNEL_" + - "UNSPECIFIED\020\000\022\024\n\020CHANNEL_DISABLED\020\001\022\030\n\024C" + - "HANNEL_EXPERIMENTAL\020\003\022\024\n\020CHANNEL_STANDAR" + - "D\020\004\"+\n\030ServiceExternalIPsConfig\022\017\n\007enabl" + - "ed\030\001 \001(\010\"j\n\034ListUsableSubnetworksRequest" + - "\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\035" + - "ListUsableSubnetworksResponse\022?\n\013subnetw" + - "orks\030\001 \003(\0132*.google.container.v1beta1.Us" + - "ableSubnetwork\022\027\n\017next_page_token\030\002 \001(\t\"" + - "\205\002\n\036UsableSubnetworkSecondaryRange\022\022\n\nra" + - "nge_name\030\001 \001(\t\022\025\n\rip_cidr_range\030\002 \001(\t\022O\n" + - "\006status\030\003 \001(\0162?.google.container.v1beta1" + - ".UsableSubnetworkSecondaryRange.Status\"g" + - "\n\006Status\022\013\n\007UNKNOWN\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_MANAGED_POD\020\004\"\275\001\n\020UsableSubnet" + - "work\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\022U\n\023secondary_ip" + - "_ranges\030\004 \003(\01328.google.container.v1beta1" + - ".UsableSubnetworkSecondaryRange\022\026\n\016statu" + - "s_message\030\005 \001(\t\")\n\026VerticalPodAutoscalin" + - "g\022\017\n\007enabled\030\001 \001(\010\"%\n\021DefaultSnatStatus\022" + - "\020\n\010disabled\030\001 \001(\010\",\n\031IntraNodeVisibility" + - "Config\022\017\n\007enabled\030\001 \001(\010\"&\n\023ILBSubsetting" + - "Config\022\017\n\007enabled\030\001 \001(\010\"\307\002\n\tDNSConfig\022A\n" + - "\013cluster_dns\030\001 \001(\0162,.google.container.v1" + - "beta1.DNSConfig.Provider\022G\n\021cluster_dns_" + - "scope\030\002 \001(\0162,.google.container.v1beta1.D" + - "NSConfig.DNSScope\022\032\n\022cluster_dns_domain\030" + - "\003 \001(\t\"I\n\010Provider\022\030\n\024PROVIDER_UNSPECIFIE" + - "D\020\000\022\024\n\020PLATFORM_DEFAULT\020\001\022\r\n\tCLOUD_DNS\020\002" + - "\"G\n\010DNSScope\022\031\n\025DNS_SCOPE_UNSPECIFIED\020\000\022" + - "\021\n\rCLUSTER_SCOPE\020\001\022\r\n\tVPC_SCOPE\020\002\".\n\021Max" + - "PodsConstraint\022\031\n\021max_pods_per_node\030\001 \001(" + - "\003\"j\n\026WorkloadIdentityConfig\022\036\n\022identity_" + - "namespace\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\022Workloa" + - "dALTSConfig\022/\n\013enable_alts\030\001 \001(\0132\032.googl" + - "e.protobuf.BoolValue\"O\n\024WorkloadCertific" + - "ates\0227\n\023enable_certificates\030\001 \001(\0132\032.goog" + - "le.protobuf.BoolValue\"K\n\020MeshCertificate" + - "s\0227\n\023enable_certificates\030\001 \001(\0132\032.google." + - "protobuf.BoolValue\"\235\001\n\022DatabaseEncryptio" + - "n\022A\n\005state\030\002 \001(\01622.google.container.v1be" + - "ta1.DatabaseEncryption.State\022\020\n\010key_name" + - "\030\001 \001(\t\"2\n\005State\022\013\n\007UNKNOWN\020\000\022\r\n\tENCRYPTE" + - "D\020\001\022\r\n\tDECRYPTED\020\002\"\367\002\n\031ResourceUsageExpo" + - "rtConfig\022e\n\024bigquery_destination\030\001 \001(\0132G" + - ".google.container.v1beta1.ResourceUsageE" + - "xportConfig.BigQueryDestination\022&\n\036enabl" + - "e_network_egress_metering\030\002 \001(\010\022r\n\033consu" + - "mption_metering_config\030\003 \001(\0132M.google.co" + - "ntainer.v1beta1.ResourceUsageExportConfi" + - "g.ConsumptionMeteringConfig\032)\n\023BigQueryD" + - "estination\022\022\n\ndataset_id\030\001 \001(\t\032,\n\031Consum" + - "ptionMeteringConfig\022\017\n\007enabled\030\001 \001(\010\" \n\r" + - "ShieldedNodes\022\017\n\007enabled\030\001 \001(\010\"\035\n\nVirtua" + - "lNIC\022\017\n\007enabled\030\001 \001(\010\"\035\n\nFastSocket\022\017\n\007e" + - "nabled\030\001 \001(\010\"(\n\026GetOpenIDConfigRequest\022\016" + - "\n\006parent\030\001 \001(\t\"\334\001\n\027GetOpenIDConfigRespon" + - "se\022\016\n\006issuer\030\001 \001(\t\022\020\n\010jwks_uri\030\002 \001(\t\022 \n\030" + - "response_types_supported\030\003 \003(\t\022\037\n\027subjec" + - "t_types_supported\030\004 \003(\t\022-\n%id_token_sign" + - "ing_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\003crv\030\t \001(\t\"E\n\026Ge" + - "tJSONWebKeysResponse\022+\n\004keys\030\001 \003(\0132\035.goo" + - "gle.container.v1beta1.Jwk\"\223\001\n\016ReleaseCha" + - "nnel\022A\n\007channel\030\001 \001(\01620.google.container" + - ".v1beta1.ReleaseChannel.Channel\">\n\007Chann" + - "el\022\017\n\013UNSPECIFIED\020\000\022\t\n\005RAPID\020\001\022\013\n\007REGULA" + - "R\020\002\022\n\n\006STABLE\020\003\"\'\n\024CostManagementConfig\022" + - "\017\n\007enabled\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\017ipv4_cidr_block\030\003 \001(\t\"\010\n\006Master\"\034\n\tAut" + - "opilot\022\017\n\007enabled\030\001 \001(\010\"\267\003\n\022Notification" + - "Config\022C\n\006pubsub\030\001 \001(\01323.google.containe" + - "r.v1beta1.NotificationConfig.PubSub\032\217\001\n\006" + - "PubSub\022\017\n\007enabled\030\001 \001(\010\022/\n\005topic\030\002 \001(\tB " + - "\372A\035\n\033pubsub.googleapis.com/Topic\022C\n\006filt" + - "er\030\003 \001(\01323.google.container.v1beta1.Noti" + - "ficationConfig.Filter\032T\n\006Filter\022J\n\nevent" + - "_type\030\001 \003(\01626.google.container.v1beta1.N" + - "otificationConfig.EventType\"t\n\tEventType" + - "\022\032\n\026EVENT_TYPE_UNSPECIFIED\020\000\022\033\n\027UPGRADE_" + - "AVAILABLE_EVENT\020\001\022\021\n\rUPGRADE_EVENT\020\002\022\033\n\027" + - "SECURITY_BULLETIN_EVENT\020\003\"$\n\021Confidentia" + - "lNodes\022\017\n\007enabled\030\001 \001(\010\"\344\001\n\014UpgradeEvent" + - "\022D\n\rresource_type\030\001 \001(\0162-.google.contain" + - "er.v1beta1.UpgradeResourceType\022\021\n\toperat" + - "ion\030\002 \001(\t\0228\n\024operation_start_time\030\003 \001(\0132" + - "\032.google.protobuf.Timestamp\022\027\n\017current_v" + - "ersion\030\004 \001(\t\022\026\n\016target_version\030\005 \001(\t\022\020\n\010" + - "resource\030\006 \001(\t\"\210\002\n\025UpgradeAvailableEvent" + - "\022\017\n\007version\030\001 \001(\t\022D\n\rresource_type\030\002 \001(\016" + - "2-.google.container.v1beta1.UpgradeResou" + - "rceType\022A\n\017release_channel\030\003 \001(\0132(.googl" + - "e.container.v1beta1.ReleaseChannel\022\020\n\010re" + - "source\030\004 \001(\t\022C\n\020windows_versions\030\005 \001(\0132)" + - ".google.container.v1beta1.WindowsVersion" + - "s\"\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\007cve_ids\030\003 \003(\t\022\020\n\010severity\030\004 \001(\t\022\024\n\014b" + - "ulletin_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\020patched_versions\030\010 \003(\t\022 \n\030suggested_u" + - "pgrade_target\030\t \001(\t\022\035\n\025manual_steps_requ" + - "ired\030\n \001(\010\"(\n\025IdentityServiceConfig\022\017\n\007e" + - "nabled\030\001 \001(\010\"[\n\rLoggingConfig\022J\n\020compone" + - "nt_config\030\001 \001(\01320.google.container.v1bet" + - "a1.LoggingComponentConfig\"\364\001\n\026LoggingCom" + - "ponentConfig\022U\n\021enable_components\030\001 \003(\0162" + - ":.google.container.v1beta1.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\"\267\001\n\020Mon" + - "itoringConfig\022M\n\020component_config\030\001 \001(\0132" + - "3.google.container.v1beta1.MonitoringCom" + - "ponentConfig\022T\n\031managed_prometheus_confi" + - "g\030\002 \001(\01321.google.container.v1beta1.Manag" + - "edPrometheusConfig\"_\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\"\376\001\n\031MonitoringComponentConfig\022X\n\021enab" + - "le_components\030\001 \003(\0162=.google.container.v" + - "1beta1.MonitoringComponentConfig.Compone" + - "nt\"\206\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*\306\001\n\027PrivateIPv6Googl" + - "eAccess\022*\n&PRIVATE_IPV6_GOOGLE_ACCESS_UN" + - "SPECIFIED\020\000\022\'\n#PRIVATE_IPV6_GOOGLE_ACCES" + - "S_DISABLED\020\001\022(\n$PRIVATE_IPV6_GOOGLE_ACCE" + - "SS_TO_GOOGLE\020\002\022,\n(PRIVATE_IPV6_GOOGLE_AC" + - "CESS_BIDIRECTIONAL\020\003*W\n\023UpgradeResourceT" + - "ype\022%\n!UPGRADE_RESOURCE_TYPE_UNSPECIFIED" + - "\020\000\022\n\n\006MASTER\020\001\022\r\n\tNODE_POOL\020\002*^\n\026NodePoo" + - "lUpdateStrategy\022)\n%NODE_POOL_UPDATE_STRA" + - "TEGY_UNSPECIFIED\020\000\022\016\n\nBLUE_GREEN\020\002\022\t\n\005SU" + - "RGE\020\003*a\n\020DatapathProvider\022!\n\035DATAPATH_PR" + - "OVIDER_UNSPECIFIED\020\000\022\023\n\017LEGACY_DATAPATH\020" + - "\001\022\025\n\021ADVANCED_DATAPATH\020\0022\262L\n\016ClusterMana" + - "ger\022\363\001\n\014ListClusters\022-.google.container." + - "v1beta1.ListClustersRequest\032..google.con" + - "tainer.v1beta1.ListClustersResponse\"\203\001\202\323" + - "\344\223\002k\0221/v1beta1/{parent=projects/*/locati" + - "ons/*}/clustersZ6\0224/v1beta1/projects/{pr" + - "oject_id}/zones/{zone}/clusters\332A\017projec" + - "t_id,zone\022\372\001\n\nGetCluster\022+.google.contai" + - "ner.v1beta1.GetClusterRequest\032!.google.c" + - "ontainer.v1beta1.Cluster\"\233\001\202\323\344\223\002x\0221/v1be" + - "ta1/{name=projects/*/locations/*/cluster" + - "s/*}ZC\022A/v1beta1/projects/{project_id}/z" + - "ones/{zone}/clusters/{cluster_id}\332A\032proj" + - "ect_id,zone,cluster_id\022\370\001\n\rCreateCluster" + - "\022..google.container.v1beta1.CreateCluste" + - "rRequest\032#.google.container.v1beta1.Oper" + - "ation\"\221\001\202\323\344\223\002q\"1/v1beta1/{parent=project" + - "s/*/locations/*}/clusters:\001*Z9\"4/v1beta1" + - "/projects/{project_id}/zones/{zone}/clus" + - "ters:\001*\332A\027project_id,zone,cluster\022\217\002\n\rUp" + - "dateCluster\022..google.container.v1beta1.U" + - "pdateClusterRequest\032#.google.container.v" + - "1beta1.Operation\"\250\001\202\323\344\223\002~\0321/v1beta1/{nam" + - "e=projects/*/locations/*/clusters/*}:\001*Z" + - "F\032A/v1beta1/projects/{project_id}/zones/" + - "{zone}/clusters/{cluster_id}:\001*\332A!projec" + - "t_id,zone,cluster_id,update\022\232\002\n\016UpdateNo" + - "dePool\022/.google.container.v1beta1.Update" + - "NodePoolRequest\032#.google.container.v1bet" + - "a1.Operation\"\261\001\202\323\344\223\002\252\001\032=/v1beta1/{name=p" + - "rojects/*/locations/*/clusters/*/nodePoo" + - "ls/*}:\001*Zf\"a/v1beta1/projects/{project_i" + - "d}/zones/{zone}/clusters/{cluster_id}/no" + - "dePools/{node_pool_id}/update:\001*\022\276\002\n\026Set" + - "NodePoolAutoscaling\0227.google.container.v" + - "1beta1.SetNodePoolAutoscalingRequest\032#.g" + - "oogle.container.v1beta1.Operation\"\305\001\202\323\344\223" + - "\002\276\001\"L/v1beta1/{name=projects/*/locations" + - "/*/clusters/*/nodePools/*}:setAutoscalin" + - "g:\001*Zk\"f/v1beta1/projects/{project_id}/z" + - "ones/{zone}/clusters/{cluster_id}/nodePo" + - "ols/{node_pool_id}/autoscaling:\001*\022\264\002\n\021Se" + - "tLoggingService\0222.google.container.v1bet" + - "a1.SetLoggingServiceRequest\032#.google.con" + - "tainer.v1beta1.Operation\"\305\001\202\323\344\223\002\221\001\"/v1beta1/{name=projects/*/locat" + - "ions/*/clusters/*}:setLocations:\001*ZP\"K/v" + - "1beta1/projects/{project_id}/zones/{zone" + - "}/clusters/{cluster_id}/locations:\001*\332A$p" + - "roject_id,zone,cluster_id,locations\022\252\002\n\014" + - "UpdateMaster\022-.google.container.v1beta1." + - "UpdateMasterRequest\032#.google.container.v" + - "1beta1.Operation\"\305\001\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*\332A)project_id,zone,cluster_i" + - "d,master_version\022\210\002\n\rSetMasterAuth\022..goo" + - "gle.container.v1beta1.SetMasterAuthReque" + - "st\032#.google.container.v1beta1.Operation\"" + - "\241\001\202\323\344\223\002\232\001\"?/v1beta1/{name=projects/*/loc" + - "ations/*/clusters/*}:setMasterAuth:\001*ZT\"" + - "O/v1beta1/projects/{project_id}/zones/{z" + - "one}/clusters/{cluster_id}:setMasterAuth" + - ":\001*\022\202\002\n\rDeleteCluster\022..google.container" + - ".v1beta1.DeleteClusterRequest\032#.google.c" + - "ontainer.v1beta1.Operation\"\233\001\202\323\344\223\002x*1/v1" + - "beta1/{name=projects/*/locations/*/clust" + - "ers/*}ZC*A/v1beta1/projects/{project_id}" + - "/zones/{zone}/clusters/{cluster_id}\332A\032pr" + - "oject_id,zone,cluster_id\022\375\001\n\016ListOperati" + - "ons\022/.google.container.v1beta1.ListOpera" + - "tionsRequest\0320.google.container.v1beta1." + - "ListOperationsResponse\"\207\001\202\323\344\223\002o\0223/v1beta" + - "1/{parent=projects/*/locations/*}/operat" + - "ionsZ8\0226/v1beta1/projects/{project_id}/z" + - "ones/{zone}/operations\332A\017project_id,zone" + - "\022\210\002\n\014GetOperation\022-.google.container.v1b" + - "eta1.GetOperationRequest\032#.google.contai" + - "ner.v1beta1.Operation\"\243\001\202\323\344\223\002~\0223/v1beta1" + - "/{name=projects/*/locations/*/operations" + - "/*}ZG\022E/v1beta1/projects/{project_id}/zo" + - "nes/{zone}/operations/{operation_id}\332A\034p" + - "roject_id,zone,operation_id\022\226\002\n\017CancelOp" + - "eration\0220.google.container.v1beta1.Cance" + - "lOperationRequest\032\026.google.protobuf.Empt" + - "y\"\270\001\202\323\344\223\002\222\001\":/v1beta1/{name=projects/*/l" + - "ocations/*/operations/*}:cancel:\001*ZQ\"L/v" + - "1beta1/projects/{project_id}/zones/{zone" + - "}/operations/{operation_id}:cancel:\001*\332A\034" + - "project_id,zone,operation_id\022\367\001\n\017GetServ" + - "erConfig\0220.google.container.v1beta1.GetS" + - "erverConfigRequest\032&.google.container.v1" + - "beta1.ServerConfig\"\211\001\202\323\344\223\002q\0223/v1beta1/{n" + - "ame=projects/*/locations/*}/serverConfig" + - "Z:\0228/v1beta1/projects/{project_id}/zones" + - "/{zone}/serverconfig\332A\017project_id,zone\022\245" + - "\002\n\rListNodePools\022..google.container.v1be" + - "ta1.ListNodePoolsRequest\032/.google.contai" + - "ner.v1beta1.ListNodePoolsResponse\"\262\001\202\323\344\223" + - "\002\216\001\022=/v1beta1/{parent=projects/*/locatio" + - "ns/*/clusters/*}/nodePoolsZM\022K/v1beta1/p" + - "rojects/{project_id}/zones/{zone}/cluste" + - "rs/{cluster_id}/nodePools\332A\032project_id,z" + - "one,cluster_id\022\265\001\n\016GetJSONWebKeys\022/.goog" + - "le.container.v1beta1.GetJSONWebKeysReque" + - "st\0320.google.container.v1beta1.GetJSONWeb" + - "KeysResponse\"@\202\323\344\223\002:\0228/v1beta1/{parent=p" + - "rojects/*/locations/*/clusters/*}/jwks\022\260" + - "\002\n\013GetNodePool\022,.google.container.v1beta" + - "1.GetNodePoolRequest\032\".google.container." + - "v1beta1.NodePool\"\316\001\202\323\344\223\002\235\001\022=/v1beta1/{na" + - "me=projects/*/locations/*/clusters/*/nod" + - "ePools/*}Z\\\022Z/v1beta1/projects/{project_" + - "id}/zones/{zone}/clusters/{cluster_id}/n" + - "odePools/{node_pool_id}\332A\'project_id,zon" + - "e,cluster_id,node_pool_id\022\253\002\n\016CreateNode" + - "Pool\022/.google.container.v1beta1.CreateNo" + - "dePoolRequest\032#.google.container.v1beta1" + - ".Operation\"\302\001\202\323\344\223\002\224\001\"=/v1beta1/{parent=p" + - "rojects/*/locations/*/clusters/*}/nodePo" + - "ols:\001*ZP\"K/v1beta1/projects/{project_id}" + - "/zones/{zone}/clusters/{cluster_id}/node" + - "Pools:\001*\332A$project_id,zone,cluster_id,no" + - "de_pool\022\267\002\n\016DeleteNodePool\022/.google.cont" + - "ainer.v1beta1.DeleteNodePoolRequest\032#.go" + - "ogle.container.v1beta1.Operation\"\316\001\202\323\344\223\002" + - "\235\001*=/v1beta1/{name=projects/*/locations/" + - "*/clusters/*/nodePools/*}Z\\*Z/v1beta1/pr" + - "ojects/{project_id}/zones/{zone}/cluster" + - "s/{cluster_id}/nodePools/{node_pool_id}\332" + - "A\'project_id,zone,cluster_id,node_pool_i" + - "d\022\305\001\n\027CompleteNodePoolUpgrade\0228.google.c" + - "ontainer.v1beta1.CompleteNodePoolUpgrade" + - "Request\032\026.google.protobuf.Empty\"X\202\323\344\223\002R\"" + - "M/v1beta1/{name=projects/*/locations/*/c" + - "lusters/*/nodePools/*}:completeUpgrade:\001" + - "*\022\341\002\n\027RollbackNodePoolUpgrade\0228.google.c" + - "ontainer.v1beta1.RollbackNodePoolUpgrade" + - "Request\032#.google.container.v1beta1.Opera" + - "tion\"\346\001\202\323\344\223\002\265\001\"F/v1beta1/{name=projects/" + - "*/locations/*/clusters/*/nodePools/*}:ro" + - "llback:\001*Zh\"c/v1beta1/projects/{project_" + - "id}/zones/{zone}/clusters/{cluster_id}/n" + - "odePools/{node_pool_id}:rollback:\001*\332A\'pr" + - "oject_id,zone,cluster_id,node_pool_id\022\362\002" + - "\n\025SetNodePoolManagement\0226.google.contain" + - "er.v1beta1.SetNodePoolManagementRequest\032" + - "#.google.container.v1beta1.Operation\"\373\001\202" + - "\323\344\223\002\277\001\"K/v1beta1/{name=projects/*/locati" + - "ons/*/clusters/*/nodePools/*}:setManagem" + - "ent:\001*Zm\"h/v1beta1/projects/{project_id}" + - "/zones/{zone}/clusters/{cluster_id}/node" + - "Pools/{node_pool_id}/setManagement:\001*\332A2" + - "project_id,zone,cluster_id,node_pool_id," + - "management\022\304\002\n\tSetLabels\022*.google.contai" + - "ner.v1beta1.SetLabelsRequest\032#.google.co" + - "ntainer.v1beta1.Operation\"\345\001\202\323\344\223\002\237\001\"C/v1" + - "beta1/{name=projects/*/locations/*/clust" + - "ers/*}:setResourceLabels:\001*ZU\"P/v1beta1/" + - "projects/{project_id}/zones/{zone}/clust" + - "ers/{cluster_id}/resourceLabels:\001*\332A - * Whether Confidential Nodes feature is enabled. - *
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java deleted file mode 100644 index c731dede7cd0..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ConfigConnectorConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ConfigConnectorConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ConfigConnectorConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Cloud Connector is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java deleted file mode 100644 index 3edefb9a590d..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/CostManagementConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface CostManagementConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.CostManagementConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the feature is enabled or not.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java deleted file mode 100644 index 80737b787dda..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DefaultSnatStatusOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface DefaultSnatStatusOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DefaultSnatStatus) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Disables cluster default sNAT rules.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java deleted file mode 100644 index 17c54b189158..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/DnsCacheConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface DnsCacheConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.DnsCacheConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether NodeLocal DNSCache is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java deleted file mode 100644 index 6f9d10a0d325..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/EphemeralStorageConfigOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface EphemeralStorageConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.EphemeralStorageConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Number of local SSDs to use to back ephemeral storage. Uses NVMe
-   * interfaces. Each local SSD is 375 GB in size.
-   * If zero, it means to disable using local SSDs as ephemeral storage.
-   * 
- * - * int32 local_ssd_count = 1; - * @return The localSsdCount. - */ - int getLocalSsdCount(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java deleted file mode 100644 index c49308791b8c..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/FastSocketOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface FastSocketOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.FastSocket) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Fast Socket features are enabled in the node pool.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java deleted file mode 100644 index 09297cae7f84..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcePersistentDiskCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GcePersistentDiskCsiDriverConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcePersistentDiskCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Compute Engine PD CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java deleted file mode 100644 index 89bd1c15ef8b..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcfsConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GcfsConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcfsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether to use GCFS.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java deleted file mode 100644 index eb246b42e7f4..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GcpFilestoreCsiDriverConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GcpFilestoreCsiDriverConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GcpFilestoreCsiDriverConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the GCP Filestore CSI driver is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java deleted file mode 100644 index 60da35fabd9b..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/GkeBackupAgentConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface GkeBackupAgentConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.GkeBackupAgentConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Backup for GKE agent is enabled for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java deleted file mode 100644 index 07be7fd0cafd..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HorizontalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface HorizontalPodAutoscalingOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HorizontalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
-   * When enabled, it ensures that metrics are collected into Stackdriver
-   * Monitoring.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java deleted file mode 100644 index ab941b3c7a59..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/HttpLoadBalancingOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface HttpLoadBalancingOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.HttpLoadBalancing) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the HTTP Load Balancing controller is enabled in the cluster.
-   * When enabled, it runs a small pod in the cluster that manages the load
-   * balancers.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java deleted file mode 100644 index 2564abfed2d4..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ILBSubsettingConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ILBSubsettingConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ILBSubsettingConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enables l4 ILB subsetting for this cluster
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java deleted file mode 100644 index 65f8cf47c6f7..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IdentityServiceConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface IdentityServiceConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IdentityServiceConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether to enable the Identity Service component
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java deleted file mode 100644 index ad14187eed67..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/IntraNodeVisibilityConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface IntraNodeVisibilityConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.IntraNodeVisibilityConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enables intra node visibility for this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java deleted file mode 100644 index 58cf5d5f98a5..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KalmConfigOrBuilder.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface KalmConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KalmConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether KALM is enabled for this cluster.
-   * 
- * - * bool enabled = 1 [deprecated = true]; - * @deprecated google.container.v1beta1.KalmConfig.enabled is deprecated. - * See google/container/v1beta1/cluster_service.proto;l=1133 - * @return The enabled. - */ - @java.lang.Deprecated boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java deleted file mode 100644 index 119fb93516bf..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/KubernetesDashboardOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface KubernetesDashboardOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.KubernetesDashboard) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether the Kubernetes Dashboard is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java deleted file mode 100644 index 3145ed29cbde..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ManagedPrometheusConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ManagedPrometheusConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ManagedPrometheusConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enable Managed Collection.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java deleted file mode 100644 index 3f0b2a408ab9..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MasterOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface MasterOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.Master) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java deleted file mode 100644 index e0c933709000..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/MaxPodsConstraintOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface MaxPodsConstraintOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.MaxPodsConstraint) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Constraint enforced on the max num of pods per node.
-   * 
- * - * int64 max_pods_per_node = 1; - * @return The maxPodsPerNode. - */ - long getMaxPodsPerNode(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java deleted file mode 100644 index 1dc4722cf9a1..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/NetworkPolicyConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface NetworkPolicyConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.NetworkPolicyConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether NetworkPolicy is enabled for this cluster.
-   * 
- * - * bool disabled = 1; - * @return The disabled. - */ - boolean getDisabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java deleted file mode 100644 index e0ccdfc96eda..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PodSecurityPolicyConfigOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface PodSecurityPolicyConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PodSecurityPolicyConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
-   * must be valid under a PodSecurityPolicy to be created.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java deleted file mode 100644 index 44f44d9c8e79..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/PrivateClusterMasterGlobalAccessConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface PrivateClusterMasterGlobalAccessConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.PrivateClusterMasterGlobalAccessConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whenever master is accessible globally or not.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java deleted file mode 100644 index 4c00e676b77f..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ServiceExternalIPsConfigOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ServiceExternalIPsConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ServiceExternalIPsConfig) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Services with ExternalIPs field are allowed or not.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java deleted file mode 100644 index 3d24876a5811..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/ShieldedNodesOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface ShieldedNodesOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.ShieldedNodes) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether Shielded Nodes features are enabled on all nodes in this cluster.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java deleted file mode 100644 index 782a7a5c0619..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VerticalPodAutoscalingOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface VerticalPodAutoscalingOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VerticalPodAutoscaling) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Enables vertical pod autoscaling.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -} diff --git a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java b/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java deleted file mode 100644 index 2d3fd0171f3f..000000000000 --- a/owl-bot-staging/java-container/v1beta1/proto-google-cloud-container-v1beta1/src/main/java/com/google/container/v1beta1/VirtualNICOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/container/v1beta1/cluster_service.proto - -package com.google.container.v1beta1; - -public interface VirtualNICOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.container.v1beta1.VirtualNIC) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Whether gVNIC features are enabled in the node pool.
-   * 
- * - * bool enabled = 1; - * @return The enabled. - */ - boolean getEnabled(); -}